@gravitee/graphene-core 2.39.2-renovate-all-devdependencies-minor-patch.1271b71 → 2.40.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (30) hide show
  1. package/dist/__stories__/fixtures/index.d.ts +1 -1
  2. package/dist/__stories__/fixtures/index.d.ts.map +1 -1
  3. package/dist/__stories__/fixtures/json-schema-form/dependencies.fixture.d.ts +3 -0
  4. package/dist/__stories__/fixtures/json-schema-form/dependencies.fixture.d.ts.map +1 -0
  5. package/dist/__stories__/fixtures/json-schema-form/index.d.ts +1 -0
  6. package/dist/__stories__/fixtures/json-schema-form/index.d.ts.map +1 -1
  7. package/dist/composed/JsonSchemaForm/SchemaField.d.ts.map +1 -1
  8. package/dist/composed/JsonSchemaForm/conditional/concretizeCondition.d.ts +11 -0
  9. package/dist/composed/JsonSchemaForm/conditional/concretizeCondition.d.ts.map +1 -0
  10. package/dist/composed/JsonSchemaForm/conditional/concretizePath.d.ts +11 -0
  11. package/dist/composed/JsonSchemaForm/conditional/concretizePath.d.ts.map +1 -0
  12. package/dist/composed/JsonSchemaForm/fields/object/ObjectField.d.ts.map +1 -1
  13. package/dist/composed/JsonSchemaForm/fields/oneOf/OneOfField.d.ts.map +1 -1
  14. package/dist/composed/JsonSchemaForm/form-bindings/resolveAt.d.ts +7 -10
  15. package/dist/composed/JsonSchemaForm/form-bindings/resolveAt.d.ts.map +1 -1
  16. package/dist/composed/JsonSchemaForm/schema/buildIndex.d.ts.map +1 -1
  17. package/dist/composed/JsonSchemaForm/schema/preprocess/liftRequired.d.ts.map +1 -1
  18. package/dist/composed/JsonSchemaForm/schema/preprocess/mergeAllOf.d.ts.map +1 -1
  19. package/dist/composed/JsonSchemaForm/schema/preprocess/relaxDeprecated.d.ts.map +1 -1
  20. package/dist/composed/JsonSchemaForm/schema/preprocess/resolveRefs.d.ts.map +1 -1
  21. package/dist/composed/JsonSchemaForm/schema/preprocess/walkDependencies.d.ts +11 -0
  22. package/dist/composed/JsonSchemaForm/schema/preprocess/walkDependencies.d.ts.map +1 -0
  23. package/dist/composed/JsonSchemaForm/schema/types.d.ts +28 -4
  24. package/dist/composed/JsonSchemaForm/schema/types.d.ts.map +1 -1
  25. package/dist/icons/index.js +1 -1
  26. package/dist/index.js +815 -738
  27. package/dist/testing/index.js +1 -1
  28. package/package.json +5 -6
  29. /package/dist/{ThemeProvider-D0l3ICGl.js → ThemeProvider-C_Ea8dI-.js} +0 -0
  30. /package/dist/{icons-DdCWtjqd.js → icons-D_4R9XrW.js} +0 -0
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
- import { $ as e, A as t, At as n, D as r, Kt as i, M as a, Nt as o, O as s, P as c, Pt as l, Q as u, Qt as d, T as f, W as p, Z as m, bn as h, c as g, f as _, j as v, k as y, ln as b, p as x, pt as S, sn as C, tt as w, xt as T, zt as E } from "./icons-DdCWtjqd.js";
2
- import { n as D, t as O } from "./ThemeProvider-D0l3ICGl.js";
1
+ import { $ as e, A as t, At as n, D as r, Kt as i, M as a, Nt as o, O as s, P as c, Pt as l, Q as u, Qt as d, T as f, W as p, Z as m, bn as h, c as g, f as _, j as v, k as y, ln as b, p as x, pt as S, sn as C, tt as w, xt as T, zt as E } from "./icons-D_4R9XrW.js";
2
+ import { n as D, t as O } from "./ThemeProvider-C_Ea8dI-.js";
3
3
  import * as k from "react";
4
4
  import A, { Fragment as j, createContext as M, createElement as N, forwardRef as P, useCallback as F, useContext as I, useDebugValue as L, useEffect as R, useId as ee, useImperativeHandle as te, useLayoutEffect as z, useMemo as B, useReducer as ne, useRef as re, useState as V, useSyncExternalStore as ie, useSyncExternalStore as ae } from "react";
5
5
  import { Fragment as oe, jsx as H, jsxs as U } from "react/jsx-runtime";
@@ -276,7 +276,7 @@ var De = (e, t) => {
276
276
  }, Ut = (e, t, n = !1) => {
277
277
  let r = ct.exec(e);
278
278
  return r ? r[1] ? t(r[1]) : n : !1;
279
- }, Wt = (e) => e === "position" || e === "percentage", Gt = (e) => e === "image" || e === "url", Kt = (e) => e === "length" || e === "size" || e === "bg-size", qt = (e) => e === "length", Jt = (e) => e === "number", Yt = (e) => e === "family-name", Xt = (e) => e === "number" || e === "weight", Zt = (e) => e === "shadow", Qt = /*#__PURE__*/ it(() => {
279
+ }, Wt = (e) => e === "position" || e === "percentage", Gt = (e) => e === "image" || e === "url", Kt = (e) => e === "length" || e === "size" || e === "bg-size", qt = (e) => e === "length", Jt = (e) => e === "number", Yt = (e) => e === "family-name", Xt = (e) => e === "number" || e === "weight", Zt = (e) => e === "shadow", Qt = /* @__PURE__ */ it(() => {
280
280
  let e = ot("color"), t = ot("font"), n = ot("text"), r = ot("font-weight"), i = ot("tracking"), a = ot("leading"), o = ot("breakpoint"), s = ot("container"), c = ot("spacing"), l = ot("radius"), u = ot("shadow"), d = ot("inset-shadow"), f = ot("text-shadow"), p = ot("drop-shadow"), m = ot("blur"), h = ot("perspective"), g = ot("aspect"), _ = ot("ease"), v = ot("animate"), y = () => [
281
281
  "auto",
282
282
  "avoid",
@@ -1801,7 +1801,7 @@ function an(...e) {
1801
1801
  }
1802
1802
  //#endregion
1803
1803
  //#region ../../node_modules/@radix-ui/react-slot/dist/index.mjs
1804
- // @__NO_SIDE_EFFECTS__
1804
+ /* @__NO_SIDE_EFFECTS__ */
1805
1805
  function on(e) {
1806
1806
  let t = /* @__PURE__ */ cn(e), n = k.forwardRef((e, n) => {
1807
1807
  let { children: r, ...i } = e, a = k.Children.toArray(r), o = a.find(dn);
@@ -1822,7 +1822,7 @@ function on(e) {
1822
1822
  return n.displayName = `${e}.Slot`, n;
1823
1823
  }
1824
1824
  var sn = /* @__PURE__ */ on("Slot");
1825
- // @__NO_SIDE_EFFECTS__
1825
+ /* @__NO_SIDE_EFFECTS__ */
1826
1826
  function cn(e) {
1827
1827
  let t = k.forwardRef((e, t) => {
1828
1828
  let { children: n, ...r } = e;
@@ -1835,7 +1835,7 @@ function cn(e) {
1835
1835
  return t.displayName = `${e}.SlotClone`, t;
1836
1836
  }
1837
1837
  var ln = Symbol("radix.slottable");
1838
- // @__NO_SIDE_EFFECTS__
1838
+ /* @__NO_SIDE_EFFECTS__ */
1839
1839
  function un(e) {
1840
1840
  let t = ({ children: e }) => /* @__PURE__ */ H(oe, { children: e });
1841
1841
  return t.displayName = `${e}.Slottable`, t.__radixId = ln, t;
@@ -4082,7 +4082,7 @@ var Bs = function(e) {
4082
4082
  }
4083
4083
  }
4084
4084
  };
4085
- }, Vs = /*#__PURE__*/ new Set(["left", "top"]);
4085
+ }, Vs = /* @__PURE__ */ new Set(["left", "top"]);
4086
4086
  async function Hs(e, t) {
4087
4087
  let { placement: n, platform: r, elements: i } = e, a = await (r.isRTL == null ? void 0 : r.isRTL(i.floating)), o = ps(n), s = ms(n), c = _s(n) === "y", l = Vs.has(o) ? -1 : 1, u = a && c ? -1 : 1, d = fs(t, e), { mainAxis: f, crossAxis: p, alignmentAxis: m } = typeof d == "number" ? {
4088
4088
  mainAxis: d,
@@ -4329,7 +4329,7 @@ function bc(e) {
4329
4329
  y: s
4330
4330
  };
4331
4331
  }
4332
- var xc = /*#__PURE__*/ ls(0);
4332
+ var xc = /* @__PURE__ */ ls(0);
4333
4333
  function Sc(e) {
4334
4334
  let t = Ys(e);
4335
4335
  return !uc() || !t.visualViewport ? xc : {
@@ -12158,7 +12158,7 @@ function iT(...e) {
12158
12158
  }
12159
12159
  //#endregion
12160
12160
  //#region ../../node_modules/@base-ui/react/esm/internals/composite/list/CompositeListContext.js
12161
- var aT = /*#__PURE__*/ k.createContext({
12161
+ var aT = /* @__PURE__ */ k.createContext({
12162
12162
  register: () => {},
12163
12163
  unregister: () => {},
12164
12164
  subscribeMapChange: () => () => {},
@@ -12233,7 +12233,7 @@ function sT(e) {
12233
12233
  r,
12234
12234
  o
12235
12235
  ]);
12236
- return /*#__PURE__*/ H(aT.Provider, {
12236
+ return /* @__PURE__ */ H(aT.Provider, {
12237
12237
  value: g,
12238
12238
  children: t
12239
12239
  });
@@ -12250,7 +12250,7 @@ function uT(e, t) {
12250
12250
  }
12251
12251
  //#endregion
12252
12252
  //#region ../../node_modules/@base-ui/react/esm/internals/direction-context/DirectionContext.js
12253
- var dT = /*#__PURE__*/ k.createContext(void 0);
12253
+ var dT = /* @__PURE__ */ k.createContext(void 0);
12254
12254
  process.env.NODE_ENV !== "production" && (dT.displayName = "DirectionContext");
12255
12255
  function fT() {
12256
12256
  return k.useContext(dT)?.direction ?? "ltr";
@@ -12342,7 +12342,7 @@ function ST(e) {
12342
12342
  //#endregion
12343
12343
  //#region ../../node_modules/@base-ui/utils/esm/getReactElementRef.js
12344
12344
  function CT(e) {
12345
- if (!/*#__PURE__*/ k.isValidElement(e)) return null;
12345
+ if (!/* @__PURE__ */ k.isValidElement(e)) return null;
12346
12346
  let t = e, n = t.props;
12347
12347
  return (ST(19) ? n?.ref : t.ref) ?? null;
12348
12348
  }
@@ -12494,12 +12494,12 @@ function QT(e, t, n, r) {
12494
12494
  let e = MT(n, t.props);
12495
12495
  e.ref = n.ref;
12496
12496
  let i = t;
12497
- if (i?.$$typeof === YT && (i = k.Children.toArray(t)[0]), process.env.NODE_ENV !== "production" && !/*#__PURE__*/ k.isValidElement(i)) throw Error([
12497
+ if (i?.$$typeof === YT && (i = k.Children.toArray(t)[0]), process.env.NODE_ENV !== "production" && !/* @__PURE__ */ k.isValidElement(i)) throw Error([
12498
12498
  "Base UI: The `render` prop was provided an invalid React element as `React.isValidElement(render)` is `false`.",
12499
12499
  "A valid React element must be provided to the `render` prop because it is cloned with props to replace the default element.",
12500
12500
  "https://base-ui.com/r/invalid-render-prop"
12501
12501
  ].join("\n"));
12502
- return /*#__PURE__*/ k.cloneElement(i, e);
12502
+ return /* @__PURE__ */ k.cloneElement(i, e);
12503
12503
  }
12504
12504
  if (e && typeof e == "string") return eE(e, n);
12505
12505
  throw Error(process.env.NODE_ENV === "production" ? mT(8) : "Base UI: Render element or function are not defined.");
@@ -12509,15 +12509,15 @@ function $T(e) {
12509
12509
  t.length !== 0 && XT.test(t) && ZT.test(t) && iT(`The \`render\` prop received a function named \`${t}\` that starts with an uppercase letter.`, "This usually means a React component was passed directly as `render={Component}`.", "Base UI calls `render` as a plain function, which can break the Rules of Hooks during reconciliation.", "If this is an intentional render callback, rename it to start with a lowercase letter.", "Use `render={<Component />}` or `render={(props) => <Component {...props} />}` instead.", "https://base-ui.com/r/invalid-render-prop");
12510
12510
  }
12511
12511
  function eE(e, t) {
12512
- return e === "button" ? /*#__PURE__*/ N("button", {
12512
+ return e === "button" ? /* @__PURE__ */ N("button", {
12513
12513
  type: "button",
12514
12514
  ...t,
12515
12515
  key: t.key
12516
- }) : e === "img" ? /*#__PURE__*/ N("img", {
12516
+ }) : e === "img" ? /* @__PURE__ */ N("img", {
12517
12517
  alt: "",
12518
12518
  ...t,
12519
12519
  key: t.key
12520
- }) : /*#__PURE__*/ k.createElement(e, t);
12520
+ }) : /* @__PURE__ */ k.createElement(e, t);
12521
12521
  }
12522
12522
  //#endregion
12523
12523
  //#region ../../node_modules/@base-ui/react/esm/internals/reason-parts.js
@@ -12636,7 +12636,7 @@ function kE(e) {
12636
12636
  }
12637
12637
  //#endregion
12638
12638
  //#region ../../node_modules/@base-ui/react/esm/internals/stateAttributesMapping.js
12639
- var AE = /*#__PURE__*/ function(e) {
12639
+ var AE = /* @__PURE__ */ function(e) {
12640
12640
  return e.startingStyle = "data-starting-style", e.endingStyle = "data-ending-style", e;
12641
12641
  }({}), jE = { [AE.startingStyle]: "" }, ME = { [AE.endingStyle]: "" }, NE = { transitionStatus(e) {
12642
12642
  return e === "starting" ? jE : e === "ending" ? ME : null;
@@ -12734,7 +12734,7 @@ function FE(e, t = !1, n = !1) {
12734
12734
  }
12735
12735
  //#endregion
12736
12736
  //#region ../../node_modules/@base-ui/react/esm/internals/composite/list/useCompositeListItem.js
12737
- var IE = /*#__PURE__*/ function(e) {
12737
+ var IE = /* @__PURE__ */ function(e) {
12738
12738
  return e[e.None = 0] = "None", e[e.GuessFromOrder = 1] = "GuessFromOrder", e;
12739
12739
  }({});
12740
12740
  function LE(e = {}) {
@@ -12783,7 +12783,7 @@ function LE(e = {}) {
12783
12783
  }
12784
12784
  //#endregion
12785
12785
  //#region ../../node_modules/@base-ui/react/esm/internals/composite/root/CompositeRootContext.js
12786
- var RE = /*#__PURE__*/ k.createContext(void 0);
12786
+ var RE = /* @__PURE__ */ k.createContext(void 0);
12787
12787
  process.env.NODE_ENV !== "production" && (RE.displayName = "CompositeRootContext");
12788
12788
  function zE(e = !1) {
12789
12789
  let t = k.useContext(RE);
@@ -13499,7 +13499,7 @@ var TO = {
13499
13499
  }, DO = {
13500
13500
  ...TO,
13501
13501
  position: "absolute"
13502
- }, OO = /*#__PURE__*/ k.forwardRef(function(e, t) {
13502
+ }, OO = /* @__PURE__ */ k.forwardRef(function(e, t) {
13503
13503
  let [n, r] = k.useState();
13504
13504
  Z(() => {
13505
13505
  ZE && r("button");
@@ -13508,7 +13508,7 @@ var TO = {
13508
13508
  tabIndex: 0,
13509
13509
  role: n
13510
13510
  };
13511
- return /*#__PURE__*/ H("span", {
13511
+ return /* @__PURE__ */ H("span", {
13512
13512
  ...e,
13513
13513
  ref: t,
13514
13514
  style: EO,
@@ -13607,7 +13607,7 @@ var WO = { style: { transition: "none" } }, GO = { fallbackAxisSide: "none" }, K
13607
13607
  position: "fixed",
13608
13608
  top: 0,
13609
13609
  left: 0
13610
- }, qO = /*#__PURE__*/ k.createContext(null);
13610
+ }, qO = /* @__PURE__ */ k.createContext(null);
13611
13611
  process.env.NODE_ENV !== "production" && (qO.displayName = "PortalContext");
13612
13612
  var JO = () => k.useContext(qO), YO = kO("portal");
13613
13613
  function XO(e = {}) {
@@ -13640,10 +13640,10 @@ function XO(e = {}) {
13640
13640
  });
13641
13641
  return {
13642
13642
  portalNode: l,
13643
- portalSubtree: s && p ? /*#__PURE__*/ se.createPortal(p, s) : null
13643
+ portalSubtree: s && p ? /* @__PURE__ */ se.createPortal(p, s) : null
13644
13644
  };
13645
13645
  }
13646
- var ZO = /*#__PURE__*/ k.forwardRef(function(e, t) {
13646
+ var ZO = /* @__PURE__ */ k.forwardRef(function(e, t) {
13647
13647
  let { children: n, container: r, className: i, render: a, renderGuards: o, style: s, ...c } = e, { portalNode: l, portalSubtree: u } = XO({
13648
13648
  container: r,
13649
13649
  ref: t,
@@ -13667,22 +13667,22 @@ var ZO = /*#__PURE__*/ k.forwardRef(function(e, t) {
13667
13667
  portalNode: l,
13668
13668
  setFocusManagerState: g
13669
13669
  }), [l]);
13670
- return /*#__PURE__*/ U(k.Fragment, { children: [u, /*#__PURE__*/ U(qO.Provider, {
13670
+ return /* @__PURE__ */ U(k.Fragment, { children: [u, /* @__PURE__ */ U(qO.Provider, {
13671
13671
  value: x,
13672
13672
  children: [
13673
- b && l && /*#__PURE__*/ H(OO, {
13673
+ b && l && /* @__PURE__ */ H(OO, {
13674
13674
  "data-type": "outside",
13675
13675
  ref: d,
13676
13676
  onFocus: (e) => {
13677
13677
  iO(e, l) ? p.current?.focus() : rO(h ? h.domReference : null)?.focus();
13678
13678
  }
13679
13679
  }),
13680
- b && l && /*#__PURE__*/ H("span", {
13680
+ b && l && /* @__PURE__ */ H("span", {
13681
13681
  "aria-owns": l.id,
13682
13682
  style: KO
13683
13683
  }),
13684
- l && /*#__PURE__*/ se.createPortal(n, l),
13685
- b && l && /*#__PURE__*/ H(OO, {
13684
+ l && /* @__PURE__ */ se.createPortal(n, l),
13685
+ b && l && /* @__PURE__ */ H(OO, {
13686
13686
  "data-type": "outside",
13687
13687
  ref: f,
13688
13688
  onFocus: (e) => {
@@ -13711,9 +13711,9 @@ function QO() {
13711
13711
  }
13712
13712
  //#endregion
13713
13713
  //#region ../../node_modules/@base-ui/react/esm/floating-ui-react/components/FloatingTree.js
13714
- var $O = /*#__PURE__*/ k.createContext(null);
13714
+ var $O = /* @__PURE__ */ k.createContext(null);
13715
13715
  process.env.NODE_ENV !== "production" && ($O.displayName = "FloatingNodeContext");
13716
- var ek = /*#__PURE__*/ k.createContext(null);
13716
+ var ek = /* @__PURE__ */ k.createContext(null);
13717
13717
  process.env.NODE_ENV !== "production" && (ek.displayName = "FloatingTreeContext");
13718
13718
  var tk = () => k.useContext($O)?.id || null, nk = (e) => {
13719
13719
  let t = k.useContext(ek);
@@ -13730,7 +13730,7 @@ function ok() {
13730
13730
  ak = ak.filter((e) => e.deref()?.isConnected);
13731
13731
  }
13732
13732
  function sk(e) {
13733
- ok(), e && Js(e) !== "body" && (ak.push(new WeakRef(e)), ak.length > ik && (ak = ak.slice(-20)));
13733
+ ok(), e && Js(e) !== "body" && (ak.push(new WeakRef(e)), ak.length > ik && (ak = ak.slice(-ik)));
13734
13734
  }
13735
13735
  function ck() {
13736
13736
  return ok(), ak[ak.length - 1]?.deref();
@@ -13983,8 +13983,8 @@ function dk(e) {
13983
13983
  w
13984
13984
  ]);
13985
13985
  let oe = !r && (s ? !C : !0) && (re || s);
13986
- return /*#__PURE__*/ U(k.Fragment, { children: [
13987
- oe && /*#__PURE__*/ H(OO, {
13986
+ return /* @__PURE__ */ U(k.Fragment, { children: [
13987
+ oe && /* @__PURE__ */ H(OO, {
13988
13988
  "data-type": "inside",
13989
13989
  ref: ee,
13990
13990
  onFocus: (e) => {
@@ -13995,7 +13995,7 @@ function dk(e) {
13995
13995
  }
13996
13996
  }),
13997
13997
  n,
13998
- oe && /*#__PURE__*/ H(OO, {
13998
+ oe && /* @__PURE__ */ H(OO, {
13999
13999
  "data-type": "inside",
14000
14000
  ref: te,
14001
14001
  onFocus: (e) => {
@@ -15146,7 +15146,7 @@ function qk(e) {
15146
15146
  //#region ../../node_modules/@base-ui/react/esm/utils/popupStateMapping.js
15147
15147
  var Jk = function(e) {
15148
15148
  return e.open = "data-open", e.closed = "data-closed", e[e.startingStyle = AE.startingStyle] = "startingStyle", e[e.endingStyle = AE.endingStyle] = "endingStyle", e.anchorHidden = "data-anchor-hidden", e.side = "data-side", e.align = "data-align", e;
15149
- }({}), Yk = /*#__PURE__*/ function(e) {
15149
+ }({}), Yk = /* @__PURE__ */ function(e) {
15150
15150
  return e.popupOpen = "data-popup-open", e.pressed = "data-pressed", e;
15151
15151
  }({}), Xk = { [Yk.popupOpen]: "" }, Zk = {
15152
15152
  [Yk.popupOpen]: "",
@@ -15170,13 +15170,13 @@ function iA(e) {
15170
15170
  }
15171
15171
  //#endregion
15172
15172
  //#region ../../node_modules/@base-ui/react/esm/utils/InternalBackdrop.js
15173
- var aA = /*#__PURE__*/ k.forwardRef(function(e, t) {
15173
+ var aA = /* @__PURE__ */ k.forwardRef(function(e, t) {
15174
15174
  let { cutout: n, ...r } = e, i;
15175
15175
  if (n) {
15176
15176
  let e = n.getBoundingClientRect();
15177
15177
  i = `polygon(0% 0%,100% 0%,100% 100%,0% 100%,0% 0%,${e.left}px ${e.top}px,${e.left}px ${e.bottom}px,${e.right}px ${e.bottom}px,${e.right}px ${e.top}px,${e.left}px ${e.top}px)`;
15178
15178
  }
15179
- return /*#__PURE__*/ H("div", {
15179
+ return /* @__PURE__ */ H("div", {
15180
15180
  ref: t,
15181
15181
  role: "presentation",
15182
15182
  "data-base-ui-inert": "",
@@ -15193,13 +15193,13 @@ var aA = /*#__PURE__*/ k.forwardRef(function(e, t) {
15193
15193
  process.env.NODE_ENV !== "production" && (aA.displayName = "InternalBackdrop");
15194
15194
  //#endregion
15195
15195
  //#region ../../node_modules/@base-ui/react/esm/combobox/root/ComboboxRootContext.js
15196
- var oA = /*#__PURE__*/ k.createContext(void 0);
15196
+ var oA = /* @__PURE__ */ k.createContext(void 0);
15197
15197
  process.env.NODE_ENV !== "production" && (oA.displayName = "ComboboxRootContext");
15198
- var sA = /*#__PURE__*/ k.createContext(void 0);
15198
+ var sA = /* @__PURE__ */ k.createContext(void 0);
15199
15199
  process.env.NODE_ENV !== "production" && (sA.displayName = "ComboboxFloatingContext");
15200
- var cA = /*#__PURE__*/ k.createContext(void 0);
15200
+ var cA = /* @__PURE__ */ k.createContext(void 0);
15201
15201
  process.env.NODE_ENV !== "production" && (cA.displayName = "ComboboxDerivedItemsContext");
15202
- var lA = /*#__PURE__*/ k.createContext("");
15202
+ var lA = /* @__PURE__ */ k.createContext("");
15203
15203
  process.env.NODE_ENV !== "production" && (lA.displayName = "ComboboxInputValueContext");
15204
15204
  function uA() {
15205
15205
  let e = k.useContext(oA);
@@ -15292,7 +15292,7 @@ function wA(e, t, n) {
15292
15292
  return r();
15293
15293
  }
15294
15294
  function TA(e, t, n) {
15295
- return e.reduce((e, r, i) => (i > 0 && e.push(", "), e.push(/*#__PURE__*/ H(k.Fragment, { children: wA(r, t, n) }, i)), e), []);
15295
+ return e.reduce((e, r, i) => (i > 0 && e.push(", "), e.push(/* @__PURE__ */ H(k.Fragment, { children: wA(r, t, n) }, i)), e), []);
15296
15296
  }
15297
15297
  //#endregion
15298
15298
  //#region ../../node_modules/@base-ui/react/esm/combobox/store.js
@@ -15347,7 +15347,7 @@ var $ = {
15347
15347
  modal: _k((e) => e.modal),
15348
15348
  autoHighlight: _k((e) => e.autoHighlight),
15349
15349
  submitOnItemClick: _k((e) => e.submitOnItemClick)
15350
- }, EA = /*#__PURE__*/ function(e) {
15350
+ }, EA = /* @__PURE__ */ function(e) {
15351
15351
  return e.disabled = "data-disabled", e.valid = "data-valid", e.invalid = "data-invalid", e.touched = "data-touched", e.dirty = "data-dirty", e.filled = "data-filled", e.focused = "data-focused", e;
15352
15352
  }({}), DA = {
15353
15353
  badInput: !1,
@@ -15372,7 +15372,7 @@ var $ = {
15372
15372
  ...OA
15373
15373
  }, AA = { valid(e) {
15374
15374
  return e === null ? null : e ? { [EA.valid]: "" } : { [EA.invalid]: "" };
15375
- } }, jA = /*#__PURE__*/ k.createContext({
15375
+ } }, jA = /* @__PURE__ */ k.createContext({
15376
15376
  invalid: void 0,
15377
15377
  name: void 0,
15378
15378
  validityData: {
@@ -15437,7 +15437,7 @@ function NA(e, t) {
15437
15437
  }
15438
15438
  //#endregion
15439
15439
  //#region ../../node_modules/@base-ui/react/esm/internals/form-context/FormContext.js
15440
- var PA = /*#__PURE__*/ k.createContext({
15440
+ var PA = /* @__PURE__ */ k.createContext({
15441
15441
  formRef: { current: { fields: /* @__PURE__ */ new Map() } },
15442
15442
  errors: {},
15443
15443
  clearErrors: TT,
@@ -15450,7 +15450,7 @@ function FA() {
15450
15450
  }
15451
15451
  //#endregion
15452
15452
  //#region ../../node_modules/@base-ui/react/esm/internals/labelable-provider/LabelableContext.js
15453
- var IA = /*#__PURE__*/ k.createContext({
15453
+ var IA = /* @__PURE__ */ k.createContext({
15454
15454
  controlId: void 0,
15455
15455
  registerControlId: TT,
15456
15456
  labelId: void 0,
@@ -16017,7 +16017,7 @@ function qA(e) {
16017
16017
  et
16018
16018
  ]), Rt = k.useMemo(() => Array.isArray(nt) ? "" : CA(nt, O), [nt, O]), zt = Me && Array.isArray(Re) && Re.length > 0, Bt = Me || u === "none" ? void 0 : je, Vt = k.useMemo(() => !Me || !Array.isArray(Re) || !je ? null : Re.map((e) => {
16019
16019
  let t = CA(e, O);
16020
- return /*#__PURE__*/ H("input", {
16020
+ return /* @__PURE__ */ H("input", {
16021
16021
  type: "hidden",
16022
16022
  form: p,
16023
16023
  name: je,
@@ -16029,9 +16029,9 @@ function qA(e) {
16029
16029
  p,
16030
16030
  je,
16031
16031
  O
16032
- ]), Ht = /*#__PURE__*/ U(k.Fragment, { children: [
16032
+ ]), Ht = /* @__PURE__ */ U(k.Fragment, { children: [
16033
16033
  e.children,
16034
- /*#__PURE__*/ H("input", {
16034
+ /* @__PURE__ */ H("input", {
16035
16035
  ...ce.getInputValidationProps({
16036
16036
  onFocus() {
16037
16037
  if (mt) {
@@ -16071,13 +16071,13 @@ function qA(e) {
16071
16071
  }),
16072
16072
  Vt
16073
16073
  ] });
16074
- return /*#__PURE__*/ H(oA.Provider, {
16074
+ return /* @__PURE__ */ H(oA.Provider, {
16075
16075
  value: tt,
16076
- children: /*#__PURE__*/ H(sA.Provider, {
16076
+ children: /* @__PURE__ */ H(sA.Provider, {
16077
16077
  value: jt,
16078
- children: /*#__PURE__*/ H(cA.Provider, {
16078
+ children: /* @__PURE__ */ H(cA.Provider, {
16079
16079
  value: Lt,
16080
- children: /*#__PURE__*/ H(lA.Provider, {
16080
+ children: /* @__PURE__ */ H(lA.Provider, {
16081
16081
  value: He,
16082
16082
  children: Ht
16083
16083
  })
@@ -16115,7 +16115,7 @@ function XA(e, t) {
16115
16115
  }
16116
16116
  //#endregion
16117
16117
  //#region ../../node_modules/@base-ui/react/esm/combobox/trigger/ComboboxTrigger.js
16118
- var ZA = 2, QA = /*#__PURE__*/ k.forwardRef(function(e, t) {
16118
+ var ZA = 2, QA = /* @__PURE__ */ k.forwardRef(function(e, t) {
16119
16119
  let { render: n, className: r, nativeButton: i = !0, disabled: a = !1, id: o, style: s, ...c } = e, { state: l, disabled: u, setTouched: d, setFocused: f, validationMode: p, validation: m } = MA(), { labelId: h } = LA(), g = uA(), { filteredItems: _ } = fA(), v = Q(g, $.selectionMode), y = Q(g, $.disabled), b = Q(g, $.readOnly), x = Q(g, $.required), S = Q(g, $.mounted), C = Q(g, $.popupSide), w = Q(g, $.positionerElement), T = Q(g, $.listElement), E = Q(g, $.triggerProps), D = Q(g, $.triggerElement), O = Q(g, $.inputInsidePopup), A = Q(g, $.id), j = Q(g, $.labelId), M = Q(g, $.open), N = Q(g, $.selectedValue), P = Q(g, $.activeIndex), F = Q(g, $.selectedIndex), I = Q(g, $.hasSelectedValue), L = dA(), R = pA(), ee = fO(), te = u || y || a, z = _.length === 0, B = S && w ? C : null;
16120
16120
  RA({ id: O ? o : void 0 });
16121
16121
  let ne = O ? o ?? A : o, re = XA(h, j), V = k.useRef("");
@@ -16212,14 +16212,14 @@ var ZA = 2, QA = /*#__PURE__*/ k.forwardRef(function(e, t) {
16212
16212
  process.env.NODE_ENV !== "production" && (QA.displayName = "ComboboxTrigger");
16213
16213
  //#endregion
16214
16214
  //#region ../../node_modules/@base-ui/react/esm/combobox/chips/ComboboxChipsContext.js
16215
- var $A = /*#__PURE__*/ k.createContext(void 0);
16215
+ var $A = /* @__PURE__ */ k.createContext(void 0);
16216
16216
  process.env.NODE_ENV !== "production" && ($A.displayName = "ComboboxChipsContext");
16217
16217
  function ej() {
16218
16218
  return k.useContext($A);
16219
16219
  }
16220
16220
  //#endregion
16221
16221
  //#region ../../node_modules/@base-ui/react/esm/combobox/positioner/ComboboxPositionerContext.js
16222
- var tj = /*#__PURE__*/ k.createContext(void 0);
16222
+ var tj = /* @__PURE__ */ k.createContext(void 0);
16223
16223
  process.env.NODE_ENV !== "production" && (tj.displayName = "ComboboxPositionerContext");
16224
16224
  function nj(e) {
16225
16225
  let t = k.useContext(tj);
@@ -16228,9 +16228,9 @@ function nj(e) {
16228
16228
  }
16229
16229
  //#endregion
16230
16230
  //#region ../../node_modules/@base-ui/react/esm/combobox/utils/ComboboxInternalDismissButton.js
16231
- var rj = /*#__PURE__*/ k.forwardRef(function(e, t) {
16231
+ var rj = /* @__PURE__ */ k.forwardRef(function(e, t) {
16232
16232
  let n = uA(), { buttonRef: r, getButtonProps: i } = VE({ native: !1 });
16233
- return /*#__PURE__*/ H("span", {
16233
+ return /* @__PURE__ */ H("span", {
16234
16234
  ref: hT(t, r),
16235
16235
  ...i({ onClick: eT((e) => {
16236
16236
  n.state.setOpen(!1, mE(aE, e.nativeEvent, e.currentTarget));
@@ -16243,7 +16243,7 @@ var rj = /*#__PURE__*/ k.forwardRef(function(e, t) {
16243
16243
  process.env.NODE_ENV !== "production" && (rj.displayName = "ComboboxInternalDismissButton");
16244
16244
  //#endregion
16245
16245
  //#region ../../node_modules/@base-ui/react/esm/combobox/input/ComboboxInput.js
16246
- var ij = /*#__PURE__*/ k.forwardRef(function(e, t) {
16246
+ var ij = /* @__PURE__ */ k.forwardRef(function(e, t) {
16247
16247
  let { render: n, className: r, disabled: i = !1, id: a, style: o, ...s } = e, { state: c, disabled: l, setTouched: u, setFocused: d, validationMode: f, validation: p } = MA(), { labelId: m } = LA(), h = ej(), g = !!nj(!0), _ = uA(), { filteredItems: v } = fA(), y = pA(), b = fT(), x = Q(_, $.required), S = Q(_, $.disabled), C = Q(_, $.readOnly), w = Q(_, $.name), T = Q(_, $.form), E = Q(_, $.selectionMode), D = Q(_, $.autoHighlight), O = Q(_, $.inputProps), A = Q(_, $.triggerProps), j = Q(_, $.open), M = Q(_, $.mounted), N = Q(_, $.selectedValue), P = Q(_, $.popupSide), F = Q(_, $.positionerElement), I = Q(_, $.id), L = Q(_, $.inline), R = Q(_, $.modal), ee = !!D, te = M && F ? P : null, z = l || S || i, B = v.length === 0, ne = g || L, re = !ne || R, V = xE(a ?? (ne ? void 0 : I)), ie = XA(m, void 0), ae = g ? OA : c, [oe, se] = k.useState(null), ce = k.useRef(!1), le = k.useRef(null), ue = k.useRef(!1), de = eT((e) => {
16248
16248
  let t = g || _.state.inline;
16249
16249
  t && !_.state.hasInputValue && _.state.setInputValue("", mE(tE)), _.update({
@@ -16410,7 +16410,7 @@ var ij = /*#__PURE__*/ k.forwardRef(function(e, t) {
16410
16410
  ],
16411
16411
  stateAttributesMapping: JA
16412
16412
  });
16413
- return /*#__PURE__*/ U(k.Fragment, { children: [j && re && /*#__PURE__*/ H(rj, { ref: _.state.startDismissRef }), he] });
16413
+ return /* @__PURE__ */ U(k.Fragment, { children: [j && re && /* @__PURE__ */ H(rj, { ref: _.state.startDismissRef }), he] });
16414
16414
  });
16415
16415
  process.env.NODE_ENV !== "production" && (ij.displayName = "ComboboxInput");
16416
16416
  //#endregion
@@ -16425,7 +16425,7 @@ function aj(e, t, n, r, i) {
16425
16425
  var oj = {
16426
16426
  ...NE,
16427
16427
  ...tA
16428
- }, sj = /*#__PURE__*/ k.forwardRef(function(e, t) {
16428
+ }, sj = /* @__PURE__ */ k.forwardRef(function(e, t) {
16429
16429
  let { render: n, className: r, disabled: i = !1, nativeButton: a = !0, keepMounted: o = !1, style: s, ...c } = e, { disabled: l } = MA(), u = uA(), d = Q(u, $.selectionMode), f = Q(u, $.disabled), p = Q(u, $.readOnly), m = Q(u, $.open), h = Q(u, $.selectedValue), g = Q(u, $.hasSelectionChips), _ = pA(), v = !1;
16430
16430
  v = d === "none" ? _ !== "" : d === "single" ? h != null : g;
16431
16431
  let y = l || f || i, { buttonRef: b, getButtonProps: x } = VE({
@@ -16480,14 +16480,14 @@ var oj = {
16480
16480
  process.env.NODE_ENV !== "production" && (sj.displayName = "ComboboxClear");
16481
16481
  //#endregion
16482
16482
  //#region ../../node_modules/@base-ui/react/esm/combobox/collection/GroupCollectionContext.js
16483
- var cj = /*#__PURE__*/ k.createContext(null);
16483
+ var cj = /* @__PURE__ */ k.createContext(null);
16484
16484
  process.env.NODE_ENV !== "production" && (cj.displayName = "GroupCollectionContext");
16485
16485
  function lj() {
16486
16486
  return k.useContext(cj);
16487
16487
  }
16488
16488
  function uj(e) {
16489
16489
  let { children: t, items: n } = e, r = k.useMemo(() => ({ items: n }), [n]);
16490
- return /*#__PURE__*/ H(cj.Provider, {
16490
+ return /* @__PURE__ */ H(cj.Provider, {
16491
16491
  value: r,
16492
16492
  children: t
16493
16493
  });
@@ -16496,17 +16496,17 @@ function uj(e) {
16496
16496
  //#region ../../node_modules/@base-ui/react/esm/combobox/collection/ComboboxCollection.js
16497
16497
  function dj(e) {
16498
16498
  let { children: t } = e, { filteredItems: n } = fA(), r = lj(), i = r ? r.items : n;
16499
- return i ? /*#__PURE__*/ H(k.Fragment, { children: i.map(t) }) : null;
16499
+ return i ? /* @__PURE__ */ H(k.Fragment, { children: i.map(t) }) : null;
16500
16500
  }
16501
16501
  //#endregion
16502
16502
  //#region ../../node_modules/@base-ui/react/esm/combobox/list/ComboboxList.js
16503
- var fj = /*#__PURE__*/ k.forwardRef(function(e, t) {
16503
+ var fj = /* @__PURE__ */ k.forwardRef(function(e, t) {
16504
16504
  var n;
16505
16505
  let { render: r, className: i, style: a, children: o, ...s } = e, c = uA(), l = dA(), u = !!nj(!0), { filteredItems: d, hasItems: f } = fA(), p = Q(c, $.selectionMode), m = Q(c, $.grid), h = Q(c, $.popupProps), g = Q(c, $.virtualized), _ = p === "multiple", v = d.length === 0, y = eT((e) => {
16506
16506
  c.set("positionerElement", e);
16507
16507
  }), b = eT((e) => {
16508
16508
  c.set("listElement", e);
16509
- }), x = k.useMemo(() => typeof o == "function" ? n ||= /*#__PURE__*/ H(dj, { children: o }) : o, [o]), S = { empty: v }, C = l.useState("floatingId"), w = KT("div", e, {
16509
+ }), x = k.useMemo(() => typeof o == "function" ? n ||= /* @__PURE__ */ H(dj, { children: o }) : o, [o]), S = { empty: v }, C = l.useState("floatingId"), w = KT("div", e, {
16510
16510
  state: S,
16511
16511
  ref: [
16512
16512
  t,
@@ -16540,7 +16540,7 @@ var fj = /*#__PURE__*/ k.forwardRef(function(e, t) {
16540
16540
  s
16541
16541
  ]
16542
16542
  });
16543
- return g ? w : /*#__PURE__*/ H(sT, {
16543
+ return g ? w : /* @__PURE__ */ H(sT, {
16544
16544
  elementsRef: c.state.listRef,
16545
16545
  labelsRef: f ? void 0 : c.state.labelsRef,
16546
16546
  children: w
@@ -16576,7 +16576,7 @@ function hj() {
16576
16576
  }
16577
16577
  //#endregion
16578
16578
  //#region ../../node_modules/@base-ui/react/esm/combobox/portal/ComboboxPortalContext.js
16579
- var gj = /*#__PURE__*/ k.createContext(void 0);
16579
+ var gj = /* @__PURE__ */ k.createContext(void 0);
16580
16580
  process.env.NODE_ENV !== "production" && (gj.displayName = "ComboboxPortalContext");
16581
16581
  function _j() {
16582
16582
  let e = k.useContext(gj);
@@ -16585,11 +16585,11 @@ function _j() {
16585
16585
  }
16586
16586
  //#endregion
16587
16587
  //#region ../../node_modules/@base-ui/react/esm/combobox/portal/ComboboxPortal.js
16588
- var vj = /*#__PURE__*/ k.forwardRef(function(e, t) {
16588
+ var vj = /* @__PURE__ */ k.forwardRef(function(e, t) {
16589
16589
  let { keepMounted: n = !1, ...r } = e, i = uA(), a = Q(i, $.mounted), o = Q(i, $.forceMounted);
16590
- return a || n || o ? /*#__PURE__*/ H(gj.Provider, {
16590
+ return a || n || o ? /* @__PURE__ */ H(gj.Provider, {
16591
16591
  value: n,
16592
- children: /*#__PURE__*/ H(ZO, {
16592
+ children: /* @__PURE__ */ H(ZO, {
16593
16593
  ref: t,
16594
16594
  ...r
16595
16595
  })
@@ -16912,7 +16912,7 @@ function Aj(e, t, n, r) {
16912
16912
  }
16913
16913
  //#endregion
16914
16914
  //#region ../../node_modules/@base-ui/react/esm/combobox/positioner/ComboboxPositioner.js
16915
- var jj = /*#__PURE__*/ k.forwardRef(function(e, t) {
16915
+ var jj = /* @__PURE__ */ k.forwardRef(function(e, t) {
16916
16916
  let { render: n, className: r, anchor: i, positionMethod: a = "absolute", side: o = "bottom", align: s = "center", sideOffset: c = 0, alignOffset: l = 0, collisionBoundary: u = "clipping-ancestors", collisionPadding: d = 5, arrowPadding: f = 5, sticky: p = !1, disableAnchorTracking: m = !1, collisionAvoidance: h = GO, style: g, ..._ } = e, v = uA(), { filteredItems: y } = fA(), b = dA(), x = _j(), S = Q(v, $.modal), C = Q(v, $.open), w = Q(v, $.mounted), T = Q(v, $.openMethod), E = Q(v, $.positionerElement), D = Q(v, $.triggerElement), O = Q(v, $.inputElement), k = Q(v, $.inputGroupElement), A = Q(v, $.inputInsidePopup), j = Q(v, $.transitionStatus), M = y.length === 0, N = Tj({
16917
16917
  anchor: i ?? (A ? D : k ?? O),
16918
16918
  floatingRootContext: b,
@@ -16952,9 +16952,9 @@ var jj = /*#__PURE__*/ k.forwardRef(function(e, t) {
16952
16952
  hidden: !w,
16953
16953
  inert: !C
16954
16954
  });
16955
- return /*#__PURE__*/ U(tj.Provider, {
16955
+ return /* @__PURE__ */ U(tj.Provider, {
16956
16956
  value: N,
16957
- children: [w && S && /*#__PURE__*/ H(aA, {
16957
+ children: [w && S && /* @__PURE__ */ H(aA, {
16958
16958
  inert: iA(!C),
16959
16959
  cutout: k ?? O ?? D
16960
16960
  }), I]
@@ -16966,7 +16966,7 @@ process.env.NODE_ENV !== "production" && (jj.displayName = "ComboboxPositioner")
16966
16966
  var Mj = {
16967
16967
  ...rA,
16968
16968
  ...NE
16969
- }, Nj = /*#__PURE__*/ k.forwardRef(function(e, t) {
16969
+ }, Nj = /* @__PURE__ */ k.forwardRef(function(e, t) {
16970
16970
  let { render: n, className: r, style: i, initialFocus: a, finalFocus: o, ...s } = e, c = uA(), l = nj(), u = dA(), { filteredItems: d } = fA(), f = Q(c, $.mounted), p = Q(c, $.open), m = Q(c, $.openMethod), h = Q(c, $.transitionStatus), g = Q(c, $.inputInsidePopup), _ = Q(c, $.inputElement), v = Q(c, $.modal), y = d.length === 0;
16971
16971
  cO({
16972
16972
  open: p,
@@ -17001,7 +17001,7 @@ var Mj = {
17001
17001
  }), x = a === void 0 ? g ? (e) => e === "touch" ? c.state.popupRef.current : _ : !1 : a, S;
17002
17002
  S = o ?? (g ? void 0 : !1);
17003
17003
  let C = !g || v;
17004
- return /*#__PURE__*/ H(dk, {
17004
+ return /* @__PURE__ */ H(dk, {
17005
17005
  context: u,
17006
17006
  disabled: !f,
17007
17007
  modal: C,
@@ -17009,13 +17009,13 @@ var Mj = {
17009
17009
  initialFocus: x,
17010
17010
  returnFocus: S,
17011
17011
  getInsideElements: () => [c.state.startDismissRef.current, c.state.endDismissRef.current],
17012
- children: /*#__PURE__*/ U(k.Fragment, { children: [b, C && /*#__PURE__*/ H(rj, { ref: c.state.endDismissRef })] })
17012
+ children: /* @__PURE__ */ U(k.Fragment, { children: [b, C && /* @__PURE__ */ H(rj, { ref: c.state.endDismissRef })] })
17013
17013
  });
17014
17014
  });
17015
17015
  process.env.NODE_ENV !== "production" && (Nj.displayName = "ComboboxPopup");
17016
17016
  //#endregion
17017
17017
  //#region ../../node_modules/@base-ui/react/esm/combobox/group/ComboboxGroupContext.js
17018
- var Pj = /*#__PURE__*/ k.createContext(void 0);
17018
+ var Pj = /* @__PURE__ */ k.createContext(void 0);
17019
17019
  process.env.NODE_ENV !== "production" && (Pj.displayName = "ComboboxGroupContext");
17020
17020
  function Fj() {
17021
17021
  let e = k.useContext(Pj);
@@ -17024,7 +17024,7 @@ function Fj() {
17024
17024
  }
17025
17025
  //#endregion
17026
17026
  //#region ../../node_modules/@base-ui/react/esm/combobox/group/ComboboxGroup.js
17027
- var Ij = /*#__PURE__*/ k.forwardRef(function(e, t) {
17027
+ var Ij = /* @__PURE__ */ k.forwardRef(function(e, t) {
17028
17028
  let { render: n, className: r, style: i, items: a, ...o } = e, [s, c] = k.useState(), l = k.useMemo(() => ({
17029
17029
  labelId: s,
17030
17030
  setLabelId: c,
@@ -17039,11 +17039,11 @@ var Ij = /*#__PURE__*/ k.forwardRef(function(e, t) {
17039
17039
  role: "group",
17040
17040
  "aria-labelledby": s
17041
17041
  }, o]
17042
- }), d = /*#__PURE__*/ H(Pj.Provider, {
17042
+ }), d = /* @__PURE__ */ H(Pj.Provider, {
17043
17043
  value: l,
17044
17044
  children: u
17045
17045
  });
17046
- return a ? /*#__PURE__*/ H(uj, {
17046
+ return a ? /* @__PURE__ */ H(uj, {
17047
17047
  items: a,
17048
17048
  children: d
17049
17049
  }) : d;
@@ -17051,7 +17051,7 @@ var Ij = /*#__PURE__*/ k.forwardRef(function(e, t) {
17051
17051
  process.env.NODE_ENV !== "production" && (Ij.displayName = "ComboboxGroup");
17052
17052
  //#endregion
17053
17053
  //#region ../../node_modules/@base-ui/react/esm/combobox/group-label/ComboboxGroupLabel.js
17054
- var Lj = /*#__PURE__*/ k.forwardRef(function(e, t) {
17054
+ var Lj = /* @__PURE__ */ k.forwardRef(function(e, t) {
17055
17055
  let { render: n, className: r, style: i, id: a, ...o } = e, { setLabelId: s } = Fj(), c = xE(a);
17056
17056
  return Z(() => (s(c), () => {
17057
17057
  s(void 0);
@@ -17063,7 +17063,7 @@ var Lj = /*#__PURE__*/ k.forwardRef(function(e, t) {
17063
17063
  process.env.NODE_ENV !== "production" && (Lj.displayName = "ComboboxGroupLabel");
17064
17064
  //#endregion
17065
17065
  //#region ../../node_modules/@base-ui/react/esm/combobox/item/ComboboxItemContext.js
17066
- var Rj = /*#__PURE__*/ k.createContext(void 0);
17066
+ var Rj = /* @__PURE__ */ k.createContext(void 0);
17067
17067
  process.env.NODE_ENV !== "production" && (Rj.displayName = "ComboboxItemContext");
17068
17068
  function zj() {
17069
17069
  let e = k.useContext(Rj);
@@ -17072,14 +17072,14 @@ function zj() {
17072
17072
  }
17073
17073
  //#endregion
17074
17074
  //#region ../../node_modules/@base-ui/react/esm/combobox/row/ComboboxRowContext.js
17075
- var Bj = /*#__PURE__*/ k.createContext(!1);
17075
+ var Bj = /* @__PURE__ */ k.createContext(!1);
17076
17076
  process.env.NODE_ENV !== "production" && (Bj.displayName = "ComboboxRowContext");
17077
17077
  function Vj() {
17078
17078
  return k.useContext(Bj);
17079
17079
  }
17080
17080
  //#endregion
17081
17081
  //#region ../../node_modules/@base-ui/react/esm/combobox/item/ComboboxItem.js
17082
- var Hj = /*#__PURE__*/ k.memo(/*#__PURE__*/ k.forwardRef(function(e, t) {
17082
+ var Hj = /* @__PURE__ */ k.memo(/* @__PURE__ */ k.forwardRef(function(e, t) {
17083
17083
  let { render: n, className: r, value: i = null, index: a, disabled: o = !1, nativeButton: s = !1, style: c, ...l } = e, u = k.useRef(!1), d = k.useRef(null), f = LE({
17084
17084
  index: a,
17085
17085
  textRef: d,
@@ -17184,7 +17184,7 @@ var Hj = /*#__PURE__*/ k.memo(/*#__PURE__*/ k.forwardRef(function(e, t) {
17184
17184
  selected: M,
17185
17185
  textRef: d
17186
17186
  }), [M, d]);
17187
- return /*#__PURE__*/ H(Rj.Provider, {
17187
+ return /* @__PURE__ */ H(Rj.Provider, {
17188
17188
  value: te,
17189
17189
  children: ee
17190
17190
  });
@@ -17192,7 +17192,7 @@ var Hj = /*#__PURE__*/ k.memo(/*#__PURE__*/ k.forwardRef(function(e, t) {
17192
17192
  process.env.NODE_ENV !== "production" && (Hj.displayName = "ComboboxItem");
17193
17193
  //#endregion
17194
17194
  //#region ../../node_modules/@base-ui/react/esm/combobox/empty/ComboboxEmpty.js
17195
- var Uj = /*#__PURE__*/ k.forwardRef(function(e, t) {
17195
+ var Uj = /* @__PURE__ */ k.forwardRef(function(e, t) {
17196
17196
  let { render: n, className: r, style: i, children: a, ...o } = e, { filteredItems: s } = fA(), c = uA(), l = hj(), u = s.length === 0 ? a : null;
17197
17197
  return KT("div", e, {
17198
17198
  ref: [
@@ -17211,7 +17211,7 @@ var Uj = /*#__PURE__*/ k.forwardRef(function(e, t) {
17211
17211
  process.env.NODE_ENV !== "production" && (Uj.displayName = "ComboboxEmpty");
17212
17212
  //#endregion
17213
17213
  //#region ../../node_modules/@base-ui/react/esm/separator/Separator.js
17214
- var Wj = /*#__PURE__*/ k.forwardRef(function(e, t) {
17214
+ var Wj = /* @__PURE__ */ k.forwardRef(function(e, t) {
17215
17215
  let { className: n, render: r, orientation: i = "horizontal", style: a, ...o } = e;
17216
17216
  return KT("div", e, {
17217
17217
  state: { orientation: i },
@@ -17227,7 +17227,7 @@ process.env.NODE_ENV !== "production" && (Wj.displayName = "Separator");
17227
17227
  //#region ../../node_modules/@base-ui/react/esm/combobox/root/ComboboxRoot.js
17228
17228
  function Gj(e) {
17229
17229
  let { multiple: t = !1, defaultValue: n, value: r, onValueChange: i, autoComplete: a, ...o } = e;
17230
- return /*#__PURE__*/ H(qA, {
17230
+ return /* @__PURE__ */ H(qA, {
17231
17231
  ...o,
17232
17232
  selectionMode: t ? "multiple" : "single",
17233
17233
  selectedValue: r,
@@ -17240,19 +17240,19 @@ function Gj(e) {
17240
17240
  //#region ../../node_modules/@base-ui/react/esm/combobox/value/ComboboxValue.js
17241
17241
  function Kj(e) {
17242
17242
  let { children: t, placeholder: n } = e, r = uA(), i = Q(r, $.itemToStringLabel), a = Q(r, $.selectedValue), o = Q(r, $.items), s = Q(r, $.selectionMode) === "multiple", c = Q(r, $.hasSelectedValue), l = !c && n != null && t == null, u = Q(r, $.hasNullItemLabel, l), d = null;
17243
- return d = typeof t == "function" ? t(a) : t ?? (!c && n != null && !u ? n : s && Array.isArray(a) ? TA(a, o, i) : wA(a, o, i)), /*#__PURE__*/ H(k.Fragment, { children: d });
17243
+ return d = typeof t == "function" ? t(a) : t ?? (!c && n != null && !u ? n : s && Array.isArray(a) ? TA(a, o, i) : wA(a, o, i)), /* @__PURE__ */ H(k.Fragment, { children: d });
17244
17244
  }
17245
17245
  //#endregion
17246
17246
  //#region ../../node_modules/@base-ui/react/esm/combobox/item-indicator/ComboboxItemIndicator.js
17247
- var qj = /*#__PURE__*/ k.forwardRef(function(e, t) {
17247
+ var qj = /* @__PURE__ */ k.forwardRef(function(e, t) {
17248
17248
  let n = e.keepMounted ?? !1, { selected: r } = zj();
17249
- return n || r ? /*#__PURE__*/ H(Jj, {
17249
+ return n || r ? /* @__PURE__ */ H(Jj, {
17250
17250
  ...e,
17251
17251
  ref: t
17252
17252
  }) : null;
17253
17253
  });
17254
17254
  process.env.NODE_ENV !== "production" && (qj.displayName = "ComboboxItemIndicator");
17255
- var Jj = /*#__PURE__*/ k.memo(/*#__PURE__*/ k.forwardRef((e, t) => {
17255
+ var Jj = /* @__PURE__ */ k.memo(/* @__PURE__ */ k.forwardRef((e, t) => {
17256
17256
  let { render: n, className: r, style: i, keepMounted: a, ...o } = e, { selected: s } = zj(), c = k.useRef(null), { transitionStatus: l, setMounted: u } = FE(s), d = KT("span", e, {
17257
17257
  ref: [t, c],
17258
17258
  state: {
@@ -17276,7 +17276,7 @@ var Jj = /*#__PURE__*/ k.memo(/*#__PURE__*/ k.forwardRef((e, t) => {
17276
17276
  process.env.NODE_ENV !== "production" && (Jj.displayName = "Inner");
17277
17277
  //#endregion
17278
17278
  //#region ../../node_modules/@base-ui/react/esm/combobox/chips/ComboboxChips.js
17279
- var Yj = /*#__PURE__*/ k.forwardRef(function(e, t) {
17279
+ var Yj = /* @__PURE__ */ k.forwardRef(function(e, t) {
17280
17280
  let { render: n, className: r, style: i, ...a } = e, o = uA(), s = Q(o, $.open), c = Q(o, $.hasSelectionChips), [l, u] = k.useState(void 0);
17281
17281
  s && l !== void 0 && u(void 0);
17282
17282
  let d = k.useRef([]), f = KT("div", e, {
@@ -17297,9 +17297,9 @@ var Yj = /*#__PURE__*/ k.forwardRef(function(e, t) {
17297
17297
  u,
17298
17298
  d
17299
17299
  ]);
17300
- return /*#__PURE__*/ H($A.Provider, {
17300
+ return /* @__PURE__ */ H($A.Provider, {
17301
17301
  value: p,
17302
- children: /*#__PURE__*/ H(sT, {
17302
+ children: /* @__PURE__ */ H(sT, {
17303
17303
  elementsRef: d,
17304
17304
  children: f
17305
17305
  })
@@ -17308,7 +17308,7 @@ var Yj = /*#__PURE__*/ k.forwardRef(function(e, t) {
17308
17308
  process.env.NODE_ENV !== "production" && (Yj.displayName = "ComboboxChips");
17309
17309
  //#endregion
17310
17310
  //#region ../../node_modules/@base-ui/react/esm/combobox/chip/ComboboxChipContext.js
17311
- var Xj = /*#__PURE__*/ k.createContext(void 0);
17311
+ var Xj = /* @__PURE__ */ k.createContext(void 0);
17312
17312
  process.env.NODE_ENV !== "production" && (Xj.displayName = "ComboboxChipContext");
17313
17313
  function Zj() {
17314
17314
  let e = k.useContext(Xj);
@@ -17317,7 +17317,7 @@ function Zj() {
17317
17317
  }
17318
17318
  //#endregion
17319
17319
  //#region ../../node_modules/@base-ui/react/esm/combobox/chip/ComboboxChip.js
17320
- var Qj = /*#__PURE__*/ k.forwardRef(function(e, t) {
17320
+ var Qj = /* @__PURE__ */ k.forwardRef(function(e, t) {
17321
17321
  let { render: n, className: r, style: i, ...a } = e, o = uA(), { setHighlightedChipIndex: s, chipsRef: c } = ej(), l = Q(o, $.disabled), u = Q(o, $.readOnly), d = Q(o, $.selectedValue), { ref: f, index: p } = LE();
17322
17322
  function m(e) {
17323
17323
  let t = p;
@@ -17349,7 +17349,7 @@ var Qj = /*#__PURE__*/ k.forwardRef(function(e, t) {
17349
17349
  }
17350
17350
  }, a]
17351
17351
  }), g = k.useMemo(() => ({ index: p }), [p]);
17352
- return /*#__PURE__*/ H(Xj.Provider, {
17352
+ return /* @__PURE__ */ H(Xj.Provider, {
17353
17353
  value: g,
17354
17354
  children: h
17355
17355
  });
@@ -17357,7 +17357,7 @@ var Qj = /*#__PURE__*/ k.forwardRef(function(e, t) {
17357
17357
  process.env.NODE_ENV !== "production" && (Qj.displayName = "ComboboxChip");
17358
17358
  //#endregion
17359
17359
  //#region ../../node_modules/@base-ui/react/esm/combobox/chip-remove/ComboboxChipRemove.js
17360
- var $j = /*#__PURE__*/ k.forwardRef(function(e, t) {
17360
+ var $j = /* @__PURE__ */ k.forwardRef(function(e, t) {
17361
17361
  let { render: n, className: r, disabled: i = !1, nativeButton: a = !0, style: o, ...s } = e, c = uA(), { index: l } = Zj(), u = Q(c, $.disabled), d = Q(c, $.readOnly), f = Q(c, $.selectedValue), p = Q(c, $.isItemEqualToValue), m = u || i, { buttonRef: h, getButtonProps: g } = VE({
17362
17362
  native: a,
17363
17363
  disabled: m || d,
@@ -17694,7 +17694,7 @@ function WM(e) {
17694
17694
  function GM(e) {
17695
17695
  return typeof e == "object" && !!e && "$$typeof" in e && e.$$typeof === HM && "_payload" in e && WM(e._payload);
17696
17696
  }
17697
- // @__NO_SIDE_EFFECTS__
17697
+ /* @__NO_SIDE_EFFECTS__ */
17698
17698
  function KM(e) {
17699
17699
  let t = /* @__PURE__ */ qM(e), n = k.forwardRef((e, n) => {
17700
17700
  let { children: r, ...i } = e;
@@ -17716,7 +17716,7 @@ function KM(e) {
17716
17716
  });
17717
17717
  return n.displayName = `${e}.Slot`, n;
17718
17718
  }
17719
- // @__NO_SIDE_EFFECTS__
17719
+ /* @__NO_SIDE_EFFECTS__ */
17720
17720
  function qM(e) {
17721
17721
  let t = k.forwardRef((e, t) => {
17722
17722
  let { children: n, ...r } = e;
@@ -19171,7 +19171,7 @@ function lF({ open: e, onOpenChange: t, children: n, onDrag: r, onRelease: i, sn
19171
19171
  UP(document.documentElement, "scrollBehavior");
19172
19172
  }), [k]);
19173
19173
  function Te(e) {
19174
- let t = e ? (window.innerWidth - $P) / window.innerWidth : 1, n = e ? -16 : 0;
19174
+ let t = e ? (window.innerWidth - $P) / window.innerWidth : 1, n = e ? -$P : 0;
19175
19175
  re.current && window.clearTimeout(re.current), HP(H.current, {
19176
19176
  transition: `transform ${JP.DURATION}s cubic-bezier(${JP.EASE.join(",")})`,
19177
19177
  transform: WP(b) ? `scale(${t}) translate3d(0, ${n}px, 0)` : `scale(${t}) translate3d(${n}px, 0, 0)`
@@ -19185,14 +19185,14 @@ function lF({ open: e, onOpenChange: t, children: n, onDrag: r, onRelease: i, sn
19185
19185
  }
19186
19186
  function Ee(e, t) {
19187
19187
  if (t < 0) return;
19188
- let n = (window.innerWidth - $P) / window.innerWidth, r = n + t * (1 - n), i = -16 + t * $P;
19188
+ let n = (window.innerWidth - $P) / window.innerWidth, r = n + t * (1 - n), i = -$P + t * $P;
19189
19189
  HP(H.current, {
19190
19190
  transform: WP(b) ? `scale(${r}) translate3d(0, ${i}px, 0)` : `scale(${r}) translate3d(${i}px, 0, 0)`,
19191
19191
  transition: "none"
19192
19192
  });
19193
19193
  }
19194
19194
  function De(e, t) {
19195
- let n = WP(b) ? window.innerHeight : window.innerWidth, r = t ? (n - $P) / n : 1, i = t ? -16 : 0;
19195
+ let n = WP(b) ? window.innerHeight : window.innerWidth, r = t ? (n - $P) / n : 1, i = t ? -$P : 0;
19196
19196
  t && HP(H.current, {
19197
19197
  transition: `transform ${JP.DURATION}s cubic-bezier(${JP.EASE.join(",")})`,
19198
19198
  transform: WP(b) ? `scale(${r}) translate3d(0, ${i}px, 0)` : `scale(${r}) translate3d(${i}px, 0, 0)`
@@ -19202,13 +19202,13 @@ function lF({ open: e, onOpenChange: t, children: n, onDrag: r, onRelease: i, sn
19202
19202
  g || window.requestAnimationFrame(() => {
19203
19203
  document.body.style.pointerEvents = "auto";
19204
19204
  });
19205
- }, [g]), /*#__PURE__*/ A.createElement(ho, {
19205
+ }, [g]), /* @__PURE__ */ A.createElement(ho, {
19206
19206
  defaultOpen: x,
19207
19207
  onOpenChange: (e) => {
19208
19208
  !u && !e || (e ? N(!0) : xe(!0), j(e));
19209
19209
  },
19210
19210
  open: k
19211
- }, /*#__PURE__*/ A.createElement(mP.Provider, { value: {
19211
+ }, /* @__PURE__ */ A.createElement(mP.Provider, { value: {
19212
19212
  activeSnapPoint: le,
19213
19213
  snapPoints: a,
19214
19214
  setActiveSnapPoint: de,
@@ -19240,11 +19240,11 @@ function lF({ open: e, onOpenChange: t, children: n, onDrag: r, onRelease: i, sn
19240
19240
  autoFocus: O
19241
19241
  } }, n));
19242
19242
  }
19243
- var uF = /*#__PURE__*/ A.forwardRef(function({ ...e }, t) {
19243
+ var uF = /* @__PURE__ */ A.forwardRef(function({ ...e }, t) {
19244
19244
  let { overlayRef: n, snapPoints: r, onRelease: i, shouldFade: a, isOpen: o, modal: s, shouldAnimate: c } = hP(), l = BP(t, n), u = r && r.length > 0;
19245
19245
  if (!s) return null;
19246
19246
  let d = A.useCallback((e) => i(e), [i]);
19247
- return /*#__PURE__*/ A.createElement(vo, {
19247
+ return /* @__PURE__ */ A.createElement(vo, {
19248
19248
  onMouseUp: d,
19249
19249
  ref: l,
19250
19250
  "data-vaul-overlay": "",
@@ -19255,7 +19255,7 @@ var uF = /*#__PURE__*/ A.forwardRef(function({ ...e }, t) {
19255
19255
  });
19256
19256
  });
19257
19257
  uF.displayName = "Drawer.Overlay";
19258
- var dF = /*#__PURE__*/ A.forwardRef(function({ onPointerDownOutside: e, style: t, onOpenAutoFocus: n, ...r }, i) {
19258
+ var dF = /* @__PURE__ */ A.forwardRef(function({ onPointerDownOutside: e, style: t, onOpenAutoFocus: n, ...r }, i) {
19259
19259
  let { drawerRef: a, onPress: o, onRelease: s, onDrag: c, keyboardIsOpen: l, snapPointsOffset: u, activeSnapPointIndex: d, modal: f, isOpen: p, direction: m, snapPoints: h, container: g, handleOnly: _, shouldAnimate: v, autoFocus: y } = hP(), [b, x] = A.useState(!1), S = BP(i, a), C = A.useRef(null), w = A.useRef(null), T = A.useRef(!1), E = h && h.length > 0;
19260
19260
  oF();
19261
19261
  let D = (e, t, n = 0) => {
@@ -19274,7 +19274,7 @@ var dF = /*#__PURE__*/ A.forwardRef(function({ onPointerDownOutside: e, style: t
19274
19274
  function O(e) {
19275
19275
  C.current = null, T.current = !1, s(e);
19276
19276
  }
19277
- return /*#__PURE__*/ A.createElement(yo, {
19277
+ return /* @__PURE__ */ A.createElement(yo, {
19278
19278
  "data-vaul-drawer-direction": m,
19279
19279
  "data-vaul-drawer": "",
19280
19280
  "data-vaul-delayed-snap-points": b ? "true" : "false",
@@ -19329,7 +19329,7 @@ var dF = /*#__PURE__*/ A.forwardRef(function({ onPointerDownOutside: e, style: t
19329
19329
  });
19330
19330
  });
19331
19331
  dF.displayName = "Drawer.Content";
19332
- var fF = 250, pF = 120, mF = /*#__PURE__*/ A.forwardRef(function({ preventCycle: e = !1, children: t, ...n }, r) {
19332
+ var fF = 250, pF = 120, mF = /* @__PURE__ */ A.forwardRef(function({ preventCycle: e = !1, children: t, ...n }, r) {
19333
19333
  let { closeDrawer: i, isDragging: a, snapPoints: o, activeSnapPoint: s, setActiveSnapPoint: c, dismissible: l, handleOnly: u, isOpen: d, onPress: f, onDrag: p } = hP(), m = A.useRef(null), h = A.useRef(!1);
19334
19334
  function g() {
19335
19335
  if (h.current) {
@@ -19366,7 +19366,7 @@ var fF = 250, pF = 120, mF = /*#__PURE__*/ A.forwardRef(function({ preventCycle:
19366
19366
  function y() {
19367
19367
  m.current && window.clearTimeout(m.current), h.current = !1;
19368
19368
  }
19369
- return /*#__PURE__*/ A.createElement("div", {
19369
+ return /* @__PURE__ */ A.createElement("div", {
19370
19370
  onClick: g,
19371
19371
  onPointerCancel: y,
19372
19372
  onPointerDown: (e) => {
@@ -19380,7 +19380,7 @@ var fF = 250, pF = 120, mF = /*#__PURE__*/ A.forwardRef(function({ preventCycle:
19380
19380
  "data-vaul-handle": "",
19381
19381
  "aria-hidden": "true",
19382
19382
  ...n
19383
- }, /*#__PURE__*/ A.createElement("span", {
19383
+ }, /* @__PURE__ */ A.createElement("span", {
19384
19384
  "data-vaul-handle-hitarea": "",
19385
19385
  "aria-hidden": "true"
19386
19386
  }, t));
@@ -19389,7 +19389,7 @@ mF.displayName = "Drawer.Handle";
19389
19389
  function hF({ onDrag: e, onOpenChange: t, open: n, ...r }) {
19390
19390
  let { onNestedDrag: i, onNestedOpenChange: a, onNestedRelease: o } = hP();
19391
19391
  if (!i) throw Error("Drawer.NestedRoot must be placed in another drawer");
19392
- return /*#__PURE__*/ A.createElement(lF, {
19392
+ return /* @__PURE__ */ A.createElement(lF, {
19393
19393
  nested: !0,
19394
19394
  open: n,
19395
19395
  onClose: () => {
@@ -19407,7 +19407,7 @@ function hF({ onDrag: e, onOpenChange: t, open: n, ...r }) {
19407
19407
  }
19408
19408
  function gF(e) {
19409
19409
  let t = hP(), { container: n = t.container, ...r } = e;
19410
- return /*#__PURE__*/ A.createElement(_o, {
19410
+ return /* @__PURE__ */ A.createElement(_o, {
19411
19411
  container: n,
19412
19412
  ...r
19413
19413
  });
@@ -21974,11 +21974,11 @@ function KL(e, t) {
21974
21974
  for (a = 0; a < r.length; a++) i = r[a], !(t.indexOf(i) >= 0) && (n[i] = e[i]);
21975
21975
  return n;
21976
21976
  }
21977
- var qL = /*#__PURE__*/ P(function(e, t) {
21977
+ var qL = /* @__PURE__ */ P(function(e, t) {
21978
21978
  var n = e.children, r = XL(GL(e, OL)), i = r.open, a = GL(r, kL);
21979
21979
  return te(t, function() {
21980
21980
  return { open: i };
21981
- }, [i]), /*#__PURE__*/ A.createElement(j, null, n(UL(UL({}, a), {}, { open: i })));
21981
+ }, [i]), /* @__PURE__ */ A.createElement(j, null, n(UL(UL({}, a), {}, { open: i })));
21982
21982
  });
21983
21983
  qL.displayName = "Dropzone";
21984
21984
  var JL = {
@@ -24939,53 +24939,53 @@ var JV = (e) => {
24939
24939
  case "error": return eH;
24940
24940
  default: return null;
24941
24941
  }
24942
- }, YV = Array(12).fill(0), XV = ({ visible: e, className: t }) => /*#__PURE__*/ A.createElement("div", {
24942
+ }, YV = Array(12).fill(0), XV = ({ visible: e, className: t }) => /* @__PURE__ */ A.createElement("div", {
24943
24943
  className: ["sonner-loading-wrapper", t].filter(Boolean).join(" "),
24944
24944
  "data-visible": e
24945
- }, /*#__PURE__*/ A.createElement("div", { className: "sonner-spinner" }, YV.map((e, t) => /*#__PURE__*/ A.createElement("div", {
24945
+ }, /* @__PURE__ */ A.createElement("div", { className: "sonner-spinner" }, YV.map((e, t) => /* @__PURE__ */ A.createElement("div", {
24946
24946
  className: "sonner-loading-bar",
24947
24947
  key: `spinner-bar-${t}`
24948
- })))), ZV = /*#__PURE__*/ A.createElement("svg", {
24948
+ })))), ZV = /* @__PURE__ */ A.createElement("svg", {
24949
24949
  xmlns: "http://www.w3.org/2000/svg",
24950
24950
  viewBox: "0 0 20 20",
24951
24951
  fill: "currentColor",
24952
24952
  height: "20",
24953
24953
  width: "20"
24954
- }, /*#__PURE__*/ A.createElement("path", {
24954
+ }, /* @__PURE__ */ A.createElement("path", {
24955
24955
  fillRule: "evenodd",
24956
24956
  d: "M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",
24957
24957
  clipRule: "evenodd"
24958
- })), QV = /*#__PURE__*/ A.createElement("svg", {
24958
+ })), QV = /* @__PURE__ */ A.createElement("svg", {
24959
24959
  xmlns: "http://www.w3.org/2000/svg",
24960
24960
  viewBox: "0 0 24 24",
24961
24961
  fill: "currentColor",
24962
24962
  height: "20",
24963
24963
  width: "20"
24964
- }, /*#__PURE__*/ A.createElement("path", {
24964
+ }, /* @__PURE__ */ A.createElement("path", {
24965
24965
  fillRule: "evenodd",
24966
24966
  d: "M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",
24967
24967
  clipRule: "evenodd"
24968
- })), $V = /*#__PURE__*/ A.createElement("svg", {
24968
+ })), $V = /* @__PURE__ */ A.createElement("svg", {
24969
24969
  xmlns: "http://www.w3.org/2000/svg",
24970
24970
  viewBox: "0 0 20 20",
24971
24971
  fill: "currentColor",
24972
24972
  height: "20",
24973
24973
  width: "20"
24974
- }, /*#__PURE__*/ A.createElement("path", {
24974
+ }, /* @__PURE__ */ A.createElement("path", {
24975
24975
  fillRule: "evenodd",
24976
24976
  d: "M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",
24977
24977
  clipRule: "evenodd"
24978
- })), eH = /*#__PURE__*/ A.createElement("svg", {
24978
+ })), eH = /* @__PURE__ */ A.createElement("svg", {
24979
24979
  xmlns: "http://www.w3.org/2000/svg",
24980
24980
  viewBox: "0 0 20 20",
24981
24981
  fill: "currentColor",
24982
24982
  height: "20",
24983
24983
  width: "20"
24984
- }, /*#__PURE__*/ A.createElement("path", {
24984
+ }, /* @__PURE__ */ A.createElement("path", {
24985
24985
  fillRule: "evenodd",
24986
24986
  d: "M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",
24987
24987
  clipRule: "evenodd"
24988
- })), tH = /*#__PURE__*/ A.createElement("svg", {
24988
+ })), tH = /* @__PURE__ */ A.createElement("svg", {
24989
24989
  xmlns: "http://www.w3.org/2000/svg",
24990
24990
  width: "12",
24991
24991
  height: "12",
@@ -24995,12 +24995,12 @@ var JV = (e) => {
24995
24995
  strokeWidth: "1.5",
24996
24996
  strokeLinecap: "round",
24997
24997
  strokeLinejoin: "round"
24998
- }, /*#__PURE__*/ A.createElement("line", {
24998
+ }, /* @__PURE__ */ A.createElement("line", {
24999
24999
  x1: "18",
25000
25000
  y1: "6",
25001
25001
  x2: "6",
25002
25002
  y2: "18"
25003
- }), /*#__PURE__*/ A.createElement("line", {
25003
+ }), /* @__PURE__ */ A.createElement("line", {
25004
25004
  x1: "6",
25005
25005
  y1: "6",
25006
25006
  x2: "18",
@@ -25245,16 +25245,16 @@ var yH = (e) => {
25245
25245
  n.delete && (Se(), n.onDismiss == null || n.onDismiss.call(n, n));
25246
25246
  }, [Se, n.delete]);
25247
25247
  function Ce() {
25248
- return w?.loading ? /*#__PURE__*/ A.createElement("div", {
25248
+ return w?.loading ? /* @__PURE__ */ A.createElement("div", {
25249
25249
  className: _H(C?.loader, n?.classNames?.loader, "sonner-loader"),
25250
25250
  "data-visible": U === "loading"
25251
- }, w.loading) : /*#__PURE__*/ A.createElement(XV, {
25251
+ }, w.loading) : /* @__PURE__ */ A.createElement(XV, {
25252
25252
  className: _H(C?.loader, n?.classNames?.loader),
25253
25253
  visible: U === "loading"
25254
25254
  });
25255
25255
  }
25256
25256
  let we = n.icon || w?.[U] || JV(U);
25257
- return /*#__PURE__*/ A.createElement("li", {
25257
+ return /* @__PURE__ */ A.createElement("li", {
25258
25258
  tabIndex: 0,
25259
25259
  ref: ae,
25260
25260
  className: _H(_, ce, C?.toast, n?.classNames?.toast, C?.default, C?.[U], n?.classNames?.[U]),
@@ -25331,7 +25331,7 @@ var yH = (e) => {
25331
25331
  }
25332
25332
  (Math.abs(s.x) > 0 || Math.abs(s.y) > 0) && te(!0), (n = ae.current) == null || n.style.setProperty("--swipe-amount-x", `${s.x}px`), (r = ae.current) == null || r.style.setProperty("--swipe-amount-y", `${s.y}px`);
25333
25333
  }
25334
- }, de && !n.jsx && U !== "loading" ? /*#__PURE__*/ A.createElement("button", {
25334
+ }, de && !n.jsx && U !== "loading" ? /* @__PURE__ */ A.createElement("button", {
25335
25335
  "aria-label": T,
25336
25336
  "data-disabled": xe,
25337
25337
  "data-close-button": !0,
@@ -25339,19 +25339,19 @@ var yH = (e) => {
25339
25339
  Se(), n.onDismiss == null || n.onDismiss.call(n, n);
25340
25340
  },
25341
25341
  className: _H(C?.closeButton, n?.classNames?.closeButton)
25342
- }, w?.close ?? tH) : null, (U || n.icon || n.promise) && n.icon !== null && (w?.[U] !== null || n.icon) ? /*#__PURE__*/ A.createElement("div", {
25342
+ }, w?.close ?? tH) : null, (U || n.icon || n.promise) && n.icon !== null && (w?.[U] !== null || n.icon) ? /* @__PURE__ */ A.createElement("div", {
25343
25343
  "data-icon": "",
25344
25344
  className: _H(C?.icon, n?.classNames?.icon)
25345
- }, n.promise || n.type === "loading" && !n.icon ? n.icon || Ce() : null, n.type === "loading" ? null : we) : null, /*#__PURE__*/ A.createElement("div", {
25345
+ }, n.promise || n.type === "loading" && !n.icon ? n.icon || Ce() : null, n.type === "loading" ? null : we) : null, /* @__PURE__ */ A.createElement("div", {
25346
25346
  "data-content": "",
25347
25347
  className: _H(C?.content, n?.classNames?.content)
25348
- }, /*#__PURE__*/ A.createElement("div", {
25348
+ }, /* @__PURE__ */ A.createElement("div", {
25349
25349
  "data-title": "",
25350
25350
  className: _H(C?.title, n?.classNames?.title)
25351
- }, n.jsx ? n.jsx : typeof n.title == "function" ? n.title() : n.title), n.description ? /*#__PURE__*/ A.createElement("div", {
25351
+ }, n.jsx ? n.jsx : typeof n.title == "function" ? n.title() : n.title), n.description ? /* @__PURE__ */ A.createElement("div", {
25352
25352
  "data-description": "",
25353
25353
  className: _H(v, le, C?.description, n?.classNames?.description)
25354
- }, typeof n.description == "function" ? n.description() : n.description) : null), /*#__PURE__*/ A.isValidElement(n.cancel) ? n.cancel : n.cancel && cH(n.cancel) ? /*#__PURE__*/ A.createElement("button", {
25354
+ }, typeof n.description == "function" ? n.description() : n.description) : null), /* @__PURE__ */ A.isValidElement(n.cancel) ? n.cancel : n.cancel && cH(n.cancel) ? /* @__PURE__ */ A.createElement("button", {
25355
25355
  "data-button": !0,
25356
25356
  "data-cancel": !0,
25357
25357
  style: n.cancelButtonStyle || h,
@@ -25359,7 +25359,7 @@ var yH = (e) => {
25359
25359
  cH(n.cancel) && se && (n.cancel.onClick == null || n.cancel.onClick.call(n.cancel, e), Se());
25360
25360
  },
25361
25361
  className: _H(C?.cancelButton, n?.classNames?.cancelButton)
25362
- }, n.cancel.label) : null, /*#__PURE__*/ A.isValidElement(n.action) ? n.action : n.action && cH(n.action) ? /*#__PURE__*/ A.createElement("button", {
25362
+ }, n.cancel.label) : null, /* @__PURE__ */ A.isValidElement(n.action) ? n.action : n.action && cH(n.action) ? /* @__PURE__ */ A.createElement("button", {
25363
25363
  "data-button": !0,
25364
25364
  "data-action": !0,
25365
25365
  style: n.actionButtonStyle || g,
@@ -25398,7 +25398,7 @@ function xH(e, t) {
25398
25398
  }) : o(a);
25399
25399
  }), n;
25400
25400
  }
25401
- var SH = /*#__PURE__*/ A.forwardRef(function(e, t) {
25401
+ var SH = /* @__PURE__ */ A.forwardRef(function(e, t) {
25402
25402
  let { id: n, invert: r, position: i = "bottom-right", hotkey: a = ["altKey", "KeyT"], expand: o, closeButton: s, className: c, offset: l, mobileOffset: u, theme: d = "light", richColors: f, duration: p, style: m, visibleToasts: h = lH, toastOptions: g, dir: _ = bH(), gap: v = mH, icons: y, containerAriaLabel: b = "Notifications" } = e, [x, S] = A.useState([]), C = A.useMemo(() => n ? x.filter((e) => e.toasterId === n) : x.filter((e) => !e.toasterId), [x, n]), w = A.useMemo(() => Array.from(new Set([i].concat(C.filter((e) => e.position).map((e) => e.position)))), [C, i]), [T, E] = A.useState([]), [D, O] = A.useState(!1), [k, j] = A.useState(!1), [M, N] = A.useState(d === "system" ? typeof window < "u" && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : d), P = A.useRef(null), F = a.join("+").replace(/Key/g, "").replace(/Digit/g, ""), I = A.useRef(null), L = A.useRef(!1), R = A.useCallback((e) => {
25403
25403
  S((t) => (t.find((t) => t.id === e.id)?.delete || iH.dismiss(e.id), t.filter(({ id: t }) => t !== e.id)));
25404
25404
  }, []);
@@ -25462,7 +25462,7 @@ var SH = /*#__PURE__*/ A.forwardRef(function(e, t) {
25462
25462
  if (P.current) return () => {
25463
25463
  I.current && (I.current.focus({ preventScroll: !0 }), I.current = null, L.current = !1);
25464
25464
  };
25465
- }, [P.current]), /*#__PURE__*/ A.createElement("section", {
25465
+ }, [P.current]), /* @__PURE__ */ A.createElement("section", {
25466
25466
  ref: t,
25467
25467
  "aria-label": `${b} ${F}`,
25468
25468
  tabIndex: -1,
@@ -25472,7 +25472,7 @@ var SH = /*#__PURE__*/ A.forwardRef(function(e, t) {
25472
25472
  suppressHydrationWarning: !0
25473
25473
  }, w.map((t, n) => {
25474
25474
  let [i, a] = t.split("-");
25475
- return C.length ? /*#__PURE__*/ A.createElement("ol", {
25475
+ return C.length ? /* @__PURE__ */ A.createElement("ol", {
25476
25476
  key: t,
25477
25477
  dir: _ === "auto" ? bH() : _,
25478
25478
  tabIndex: -1,
@@ -25505,7 +25505,7 @@ var SH = /*#__PURE__*/ A.forwardRef(function(e, t) {
25505
25505
  e.target instanceof HTMLElement && e.target.dataset.dismissible === "false" || j(!0);
25506
25506
  },
25507
25507
  onPointerUp: () => j(!1)
25508
- }, C.filter((e) => !e.position && n === 0 || e.position === t).map((n, i) => /*#__PURE__*/ A.createElement(yH, {
25508
+ }, C.filter((e) => !e.position && n === 0 || e.position === t).map((n, i) => /* @__PURE__ */ A.createElement(yH, {
25509
25509
  key: n.id,
25510
25510
  icons: y,
25511
25511
  index: i,
@@ -27769,7 +27769,7 @@ function IW() {
27769
27769
  //#endregion
27770
27770
  //#region ../../node_modules/@tanstack/react-table/build/lib/index.mjs
27771
27771
  function LW(e, t) {
27772
- return e ? RW(e) ? /*#__PURE__*/ k.createElement(e, t) : e : null;
27772
+ return e ? RW(e) ? /* @__PURE__ */ k.createElement(e, t) : e : null;
27773
27773
  }
27774
27774
  function RW(e) {
27775
27775
  return zW(e) || typeof e == "function" || BW(e);
@@ -29630,20 +29630,35 @@ function OK(e) {
29630
29630
  for (let t in e) Object.prototype.hasOwnProperty.call(e, t) && (r[t] = OK(e[t]));
29631
29631
  return r;
29632
29632
  }
29633
- var kK = {
29633
+ var kK = (e) => /^\w*$/.test(e), AK = (e) => e === void 0, jK = (e) => Array.isArray(e) ? e.filter(Boolean) : [], MK = (e) => jK(e.replace(/["|']|\]/g, "").split(/\.|\[/)), NK = (e, t, n) => {
29634
+ if (!t || !CK(e)) return n;
29635
+ let r = (kK(t) ? [t] : MK(t)).reduce((e, t) => xK(e) ? void 0 : e[t], e);
29636
+ return AK(r) || r === e ? AK(e[t]) ? n : e[t] : r;
29637
+ }, PK = (e) => typeof e == "boolean", FK = (e) => typeof e == "function", IK = (e, t, n) => {
29638
+ let r = -1, i = kK(t) ? [t] : MK(t), a = i.length, o = a - 1;
29639
+ for (; ++r < a;) {
29640
+ let t = i[r], a = n;
29641
+ if (r !== o) {
29642
+ let n = e[t];
29643
+ a = CK(n) || Array.isArray(n) ? n : isNaN(+i[r + 1]) ? {} : [];
29644
+ }
29645
+ if (t === "__proto__" || t === "constructor" || t === "prototype") return;
29646
+ e[t] = a, e = e[t];
29647
+ }
29648
+ }, LK = {
29634
29649
  BLUR: "blur",
29635
29650
  FOCUS_OUT: "focusout",
29636
29651
  CHANGE: "change",
29637
29652
  SUBMIT: "submit",
29638
29653
  TRIGGER: "trigger",
29639
29654
  VALID: "valid"
29640
- }, AK = {
29655
+ }, RK = {
29641
29656
  onBlur: "onBlur",
29642
29657
  onChange: "onChange",
29643
29658
  onSubmit: "onSubmit",
29644
29659
  onTouched: "onTouched",
29645
29660
  all: "all"
29646
- }, jK = {
29661
+ }, zK = {
29647
29662
  max: "max",
29648
29663
  min: "min",
29649
29664
  maxLength: "maxLength",
@@ -29651,37 +29666,16 @@ var kK = {
29651
29666
  pattern: "pattern",
29652
29667
  required: "required",
29653
29668
  validate: "validate"
29654
- }, MK = "root", NK = [
29655
- "__proto__",
29656
- "constructor",
29657
- "prototype"
29658
- ], PK = (e) => /^\w*$/.test(e), FK = (e) => e === void 0, IK = (e) => e.split(/[.[\]'"]/g).filter(Boolean), LK = (e, t, n) => {
29659
- if (!t || !CK(e)) return n;
29660
- let r = PK(t) ? [t] : IK(t);
29661
- if (r.some((e) => NK.includes(e))) return n;
29662
- let i = r.reduce((e, t) => xK(e) ? void 0 : e[t], e);
29663
- return FK(i) || i === e ? FK(e[t]) ? n : e[t] : i;
29664
- }, RK = (e) => typeof e == "boolean", zK = (e) => typeof e == "function", BK = (e, t, n) => {
29665
- let r = -1, i = PK(t) ? [t] : IK(t), a = i.length, o = a - 1;
29666
- for (; ++r < a;) {
29667
- let t = i[r], a = n;
29668
- if (r !== o) {
29669
- let n = e[t];
29670
- a = CK(n) || Array.isArray(n) ? n : isNaN(+i[r + 1]) ? {} : [];
29671
- }
29672
- if (NK.includes(t)) return;
29673
- e[t] = a, e = e[t];
29674
- }
29675
- }, VK = A.createContext(null);
29669
+ }, BK = "root", VK = A.createContext(null);
29676
29670
  VK.displayName = "HookFormControlContext";
29677
29671
  var HK = () => A.useContext(VK), UK = (e, t, n, r = !0) => {
29678
29672
  let i = {};
29679
29673
  for (let a in e) Object.defineProperty(i, a, { get: () => {
29680
29674
  let i = a;
29681
- return t._proxyFormState[i] !== AK.all && (t._proxyFormState[i] = !r || AK.all), n && (n[i] = !0), e[i];
29675
+ return t._proxyFormState[i] !== RK.all && (t._proxyFormState[i] = !r || RK.all), n && (n[i] = !0), e[i];
29682
29676
  } });
29683
29677
  return i;
29684
- }, WK = DK ? A.useLayoutEffect : A.useEffect;
29678
+ }, WK = typeof window < "u" ? A.useLayoutEffect : A.useEffect;
29685
29679
  function GK(e) {
29686
29680
  let t = HK(), { control: n = t, disabled: r, name: i, exact: a } = e || {}, [o, s] = A.useState(() => ({
29687
29681
  ...n._formState,
@@ -29715,14 +29709,13 @@ function GK(e) {
29715
29709
  c.current.isValid && n._setValid(!0);
29716
29710
  }, [n]), A.useMemo(() => UK(o, n, c.current, !1), [o, n]);
29717
29711
  }
29718
- var KK = (e) => typeof e == "string", qK = (e, t, n, r, i) => KK(e) ? (r && t.watch.add(e), LK(n, e, i)) : Array.isArray(e) ? e.map((e) => (r && t.watch.add(e), LK(n, e))) : (r && (t.watchAll = !0), n), JK = (e) => xK(e) || !SK(e), YK = (e, t) => t.length === 0 && !Array.isArray(e) && !EK(e);
29719
- function XK(e, t, n = /* @__PURE__ */ new WeakSet()) {
29712
+ var KK = (e) => typeof e == "string", qK = (e, t, n, r, i) => KK(e) ? (r && t.watch.add(e), NK(n, e, i)) : Array.isArray(e) ? e.map((e) => (r && t.watch.add(e), NK(n, e))) : (r && (t.watchAll = !0), n), JK = (e) => xK(e) || !SK(e);
29713
+ function YK(e, t, n = /* @__PURE__ */ new WeakSet()) {
29720
29714
  if (e === t) return !0;
29721
29715
  if (JK(e) || JK(t)) return Object.is(e, t);
29722
29716
  if (bK(e) && bK(t)) return Object.is(e.getTime(), t.getTime());
29723
29717
  let r = Object.keys(e), i = Object.keys(t);
29724
29718
  if (r.length !== i.length) return !1;
29725
- if (YK(e, r) || YK(t, i)) return Object.is(e, t);
29726
29719
  if (n.has(e) || n.has(t)) return !0;
29727
29720
  n.add(e), n.add(t);
29728
29721
  for (let i of r) {
@@ -29730,12 +29723,12 @@ function XK(e, t, n = /* @__PURE__ */ new WeakSet()) {
29730
29723
  if (!(i in t)) return !1;
29731
29724
  if (i !== "ref") {
29732
29725
  let e = t[i];
29733
- if (bK(r) && bK(e) || (CK(r) || Array.isArray(r)) && (CK(e) || Array.isArray(e)) ? !XK(r, e, n) : !Object.is(r, e)) return !1;
29726
+ if (bK(r) && bK(e) || (CK(r) || Array.isArray(r)) && (CK(e) || Array.isArray(e)) ? !YK(r, e, n) : !Object.is(r, e)) return !1;
29734
29727
  }
29735
29728
  }
29736
29729
  return !0;
29737
29730
  }
29738
- function ZK(e) {
29731
+ function XK(e) {
29739
29732
  let t = HK(), { control: n = t, name: r, defaultValue: i, disabled: a, exact: o, compute: s } = e || {}, c = A.useRef(i), l = A.useRef(s), u = A.useRef(void 0), d = A.useRef(n), f = A.useRef(r);
29740
29733
  l.current = s;
29741
29734
  let [p, m] = A.useState(() => {
@@ -29753,7 +29746,7 @@ function ZK(e) {
29753
29746
  let t = qK(r, n._names, e || n._formValues, !1, c.current);
29754
29747
  if (l.current) {
29755
29748
  let e = l.current(t);
29756
- XK(e, u.current) || (m(e), u.current = e);
29749
+ YK(e, u.current) || (m(e), u.current = e);
29757
29750
  } else m(t);
29758
29751
  }
29759
29752
  }, [
@@ -29762,7 +29755,7 @@ function ZK(e) {
29762
29755
  a,
29763
29756
  r
29764
29757
  ]);
29765
- WK(() => ((d.current !== n || !XK(f.current, r)) && (d.current = n, f.current = r, g()), n._subscribe({
29758
+ WK(() => ((d.current !== n || !YK(f.current, r)) && (d.current = n, f.current = r, g()), n._subscribe({
29766
29759
  name: r,
29767
29760
  formState: { values: !0 },
29768
29761
  exact: o,
@@ -29777,7 +29770,7 @@ function ZK(e) {
29777
29770
  ]), A.useEffect(() => n._removeUnmounted());
29778
29771
  let _ = d.current !== n, v = f.current, y = A.useMemo(() => {
29779
29772
  if (a) return null;
29780
- let e = !_ && !XK(v, r);
29773
+ let e = !_ && !YK(v, r);
29781
29774
  return _ || e ? h() : null;
29782
29775
  }, [
29783
29776
  a,
@@ -29788,11 +29781,11 @@ function ZK(e) {
29788
29781
  ]);
29789
29782
  return y === null ? p : y;
29790
29783
  }
29791
- function QK(e) {
29792
- let t = HK(), { name: n, disabled: r, control: i = t, shouldUnregister: a, defaultValue: o, exact: s = !0 } = e, c = TK(i._names.array, n), l = ZK({
29784
+ function ZK(e) {
29785
+ let t = HK(), { name: n, disabled: r, control: i = t, shouldUnregister: a, defaultValue: o, exact: s = !0 } = e, c = TK(i._names.array, n), l = XK({
29793
29786
  control: i,
29794
29787
  name: n,
29795
- defaultValue: A.useMemo(() => LK(i._formValues, n, LK(i._defaultValues, n, o)), [
29788
+ defaultValue: A.useMemo(() => NK(i._formValues, n, NK(i._defaultValues, n, o)), [
29796
29789
  i,
29797
29790
  n,
29798
29791
  o
@@ -29805,60 +29798,54 @@ function QK(e) {
29805
29798
  }), d = A.useRef(e), f = A.useRef(i.register(n, {
29806
29799
  ...e.rules,
29807
29800
  value: l,
29808
- ...RK(e.disabled) ? { disabled: e.disabled } : {}
29801
+ ...PK(e.disabled) ? { disabled: e.disabled } : {}
29809
29802
  }));
29810
29803
  d.current = e;
29811
29804
  let p = A.useMemo(() => Object.defineProperties({}, {
29812
29805
  invalid: {
29813
29806
  enumerable: !0,
29814
- get: () => !!LK(u.errors, n)
29807
+ get: () => !!NK(u.errors, n)
29815
29808
  },
29816
29809
  isDirty: {
29817
29810
  enumerable: !0,
29818
- get: () => !!LK(u.dirtyFields, n)
29811
+ get: () => !!NK(u.dirtyFields, n)
29819
29812
  },
29820
29813
  isTouched: {
29821
29814
  enumerable: !0,
29822
- get: () => !!LK(u.touchedFields, n)
29815
+ get: () => !!NK(u.touchedFields, n)
29823
29816
  },
29824
29817
  isValidating: {
29825
29818
  enumerable: !0,
29826
- get: () => !!LK(u.validatingFields, n)
29819
+ get: () => !!NK(u.validatingFields, n)
29827
29820
  },
29828
29821
  error: {
29829
29822
  enumerable: !0,
29830
- get: () => LK(u.errors, n)
29823
+ get: () => NK(u.errors, n)
29831
29824
  }
29832
- }), [u, n]), m = A.useCallback((e) => {
29833
- let t = wK(e);
29834
- LK(i._fields, n) || (f.current = i.register(n, {
29835
- ...d.current.rules,
29836
- value: t
29837
- })), f.current.onChange({
29838
- target: {
29839
- value: wK(e),
29840
- name: n
29841
- },
29842
- type: kK.CHANGE
29843
- });
29844
- }, [n, i]), h = A.useCallback(() => f.current.onBlur({
29825
+ }), [u, n]), m = A.useCallback((e) => f.current.onChange({
29826
+ target: {
29827
+ value: wK(e),
29828
+ name: n
29829
+ },
29830
+ type: LK.CHANGE
29831
+ }), [n]), h = A.useCallback(() => f.current.onBlur({
29845
29832
  target: {
29846
- value: LK(i._formValues, n),
29833
+ value: NK(i._formValues, n),
29847
29834
  name: n
29848
29835
  },
29849
- type: kK.BLUR
29836
+ type: LK.BLUR
29850
29837
  }), [n, i._formValues]), g = A.useCallback((e) => {
29851
- let t = LK(i._fields, n);
29838
+ let t = NK(i._fields, n);
29852
29839
  t && t._f && e && (t._f.ref = {
29853
- focus: () => zK(e.focus) && e.focus(),
29854
- select: () => zK(e.select) && e.select(),
29855
- setCustomValidity: (t) => zK(e.setCustomValidity) && e.setCustomValidity(t),
29856
- reportValidity: () => zK(e.reportValidity) && e.reportValidity()
29840
+ focus: () => FK(e.focus) && e.focus(),
29841
+ select: () => FK(e.select) && e.select(),
29842
+ setCustomValidity: (t) => FK(e.setCustomValidity) && e.setCustomValidity(t),
29843
+ reportValidity: () => FK(e.reportValidity) && e.reportValidity()
29857
29844
  });
29858
29845
  }, [i._fields, n]), _ = A.useMemo(() => ({
29859
29846
  name: n,
29860
29847
  value: l,
29861
- ...RK(r) || u.disabled ? { disabled: u.disabled || r } : {},
29848
+ ...PK(r) || u.disabled ? { disabled: u.disabled || r } : {},
29862
29849
  onChange: m,
29863
29850
  onBlur: h,
29864
29851
  ref: g
@@ -29875,15 +29862,15 @@ function QK(e) {
29875
29862
  let e = i._options.shouldUnregister || a;
29876
29863
  i.register(n, {
29877
29864
  ...d.current.rules,
29878
- ...RK(d.current.disabled) ? { disabled: d.current.disabled } : {}
29865
+ ...PK(d.current.disabled) ? { disabled: d.current.disabled } : {}
29879
29866
  });
29880
29867
  let t = (e, t) => {
29881
- let n = LK(i._fields, e);
29868
+ let n = NK(i._fields, e);
29882
29869
  n && n._f && (n._f.mount = t);
29883
29870
  };
29884
29871
  if (t(n, !0), e) {
29885
- let e = OK(LK(a ? i._defaultValues : i._options.values || i._defaultValues, n, LK(i._options.defaultValues, n, d.current.defaultValue)));
29886
- BK(i._defaultValues, n, e), FK(LK(i._formValues, n)) && BK(i._formValues, n, e);
29872
+ let e = OK(NK(i._options.defaultValues, n, d.current.defaultValue));
29873
+ IK(i._defaultValues, n, e), AK(NK(i._formValues, n)) && IK(i._formValues, n, e);
29887
29874
  }
29888
29875
  return !c && i.register(n), () => {
29889
29876
  (c ? e && !i._state.action : e) ? i.unregister(n) : t(n, !1);
@@ -29912,20 +29899,20 @@ function QK(e) {
29912
29899
  p
29913
29900
  ]);
29914
29901
  }
29915
- var $K = A.createContext(null);
29916
- $K.displayName = "HookFormContext";
29917
- var eq = (e, t, n, r, i) => t ? {
29902
+ var QK = A.createContext(null);
29903
+ QK.displayName = "HookFormContext";
29904
+ var $K = (e, t, n, r, i) => t ? {
29918
29905
  ...n[e],
29919
29906
  types: {
29920
29907
  ...n[e] && n[e].types ? n[e].types : {},
29921
29908
  [r]: i || !0
29922
29909
  }
29923
- } : {}, tq = (e) => Array.isArray(e) ? e.filter(Boolean) : [], nq = (e) => Array.isArray(e) ? e : [e], rq = (e) => CK(e) && !Object.keys(e).length, iq = (e) => e.type === "file", aq = (e) => {
29910
+ } : {}, eq = (e) => Array.isArray(e) ? e : [e], tq = (e) => CK(e) && !Object.keys(e).length, nq = (e) => e.type === "file", rq = (e) => {
29924
29911
  if (!DK) return !1;
29925
29912
  let t = e ? e.ownerDocument : 0;
29926
29913
  return e instanceof (t && t.defaultView ? t.defaultView.HTMLElement : HTMLElement);
29927
- }, oq = (e) => e.type === "radio";
29928
- function sq(e, t) {
29914
+ }, iq = (e) => e.type === "radio";
29915
+ function aq(e, t) {
29929
29916
  let n = t.slice(0, -1).length, r = 0;
29930
29917
  for (; r < n;) {
29931
29918
  if (xK(e)) {
@@ -29936,22 +29923,22 @@ function sq(e, t) {
29936
29923
  }
29937
29924
  return e;
29938
29925
  }
29939
- function cq(e) {
29940
- for (let t in e) if (e.hasOwnProperty(t) && !FK(e[t])) return !1;
29926
+ function oq(e) {
29927
+ for (let t in e) if (e.hasOwnProperty(t) && !AK(e[t])) return !1;
29941
29928
  return !0;
29942
29929
  }
29943
- function lq(e, t) {
29930
+ function sq(e, t) {
29944
29931
  if (KK(t) && Object.prototype.hasOwnProperty.call(e, t)) return delete e[t], e;
29945
- let n = Array.isArray(t) ? t : PK(t) ? [t] : IK(t), r = n.length === 1 ? e : sq(e, n), i = n.length - 1, a = n[i];
29946
- return r && delete r[a], i !== 0 && (CK(r) && rq(r) || Array.isArray(r) && cq(r)) && lq(e, n.slice(0, -1)), e;
29932
+ let n = Array.isArray(t) ? t : kK(t) ? [t] : MK(t), r = n.length === 1 ? e : aq(e, n), i = n.length - 1, a = n[i];
29933
+ return r && delete r[a], i !== 0 && (CK(r) && tq(r) || Array.isArray(r) && oq(r)) && sq(e, n.slice(0, -1)), e;
29947
29934
  }
29948
- var uq = {
29935
+ var cq = {
29949
29936
  value: !1,
29950
29937
  isValid: !1
29951
- }, dq = {
29938
+ }, lq = {
29952
29939
  value: !0,
29953
29940
  isValid: !0
29954
- }, fq = (e) => {
29941
+ }, uq = (e) => {
29955
29942
  if (Array.isArray(e)) {
29956
29943
  if (e.length > 1) {
29957
29944
  let t = e.filter((e) => e && e.checked && !e.disabled).map((e) => e.value);
@@ -29960,55 +29947,55 @@ var uq = {
29960
29947
  isValid: !!t.length
29961
29948
  };
29962
29949
  }
29963
- return e[0].checked && !e[0].disabled ? e[0].attributes && !FK(e[0].attributes.value) ? FK(e[0].value) || e[0].value === "" ? dq : {
29950
+ return e[0].checked && !e[0].disabled ? e[0].attributes && !AK(e[0].attributes.value) ? AK(e[0].value) || e[0].value === "" ? lq : {
29964
29951
  value: e[0].value,
29965
29952
  isValid: !0
29966
- } : dq : uq;
29953
+ } : lq : cq;
29967
29954
  }
29968
- return uq;
29969
- }, pq = {
29955
+ return cq;
29956
+ }, dq = {
29970
29957
  isValid: !1,
29971
29958
  value: null
29972
- }, mq = (e) => Array.isArray(e) ? e.reduce((e, t) => t && t.checked && !t.disabled ? {
29959
+ }, fq = (e) => Array.isArray(e) ? e.reduce((e, t) => t && t.checked && !t.disabled ? {
29973
29960
  isValid: !0,
29974
29961
  value: t.value
29975
- } : e, pq) : pq, hq = (e) => e instanceof RegExp, gq = (e) => ({
29976
- isOnSubmit: !e || e === AK.onSubmit,
29977
- isOnBlur: e === AK.onBlur,
29978
- isOnChange: e === AK.onChange,
29979
- isOnAll: e === AK.all,
29980
- isOnTouch: e === AK.onTouched
29981
- }), _q = (e, t, n) => !n && (t.watchAll || t.watch.has(e) || [...t.watch].some((t) => e.startsWith(`${t}.`))), vq = (e, t, n, r) => {
29962
+ } : e, dq) : dq, pq = (e) => e instanceof RegExp, mq = (e) => ({
29963
+ isOnSubmit: !e || e === RK.onSubmit,
29964
+ isOnBlur: e === RK.onBlur,
29965
+ isOnChange: e === RK.onChange,
29966
+ isOnAll: e === RK.all,
29967
+ isOnTouch: e === RK.onTouched
29968
+ }), hq = (e, t, n) => !n && (t.watchAll || t.watch.has(e) || [...t.watch].some((t) => e.startsWith(t) && /^\.\w+/.test(e.slice(t.length)))), gq = (e, t, n, r) => {
29982
29969
  for (let i of n || Object.keys(e)) {
29983
- let n = LK(e, i);
29970
+ let n = NK(e, i);
29984
29971
  if (n) {
29985
29972
  let { _f: e, ...a } = n;
29986
29973
  if (e) {
29987
29974
  if (e.refs && e.refs[0] && t(e.refs[0], i) && !r || e.ref && t(e.ref, e.name) && !r) return !0;
29988
- if (vq(a, t)) break;
29989
- } else if (CK(a) && vq(a, t)) break;
29975
+ if (gq(a, t)) break;
29976
+ } else if (CK(a) && gq(a, t)) break;
29990
29977
  }
29991
29978
  }
29992
- }, yq = (e, t, n) => {
29993
- let r = LK(e, n), i = Array.isArray(r) ? r : [];
29994
- return BK(i, MK, t[n]), BK(e, n, i), e;
29979
+ }, _q = (e, t, n) => {
29980
+ let r = eq(NK(e, n));
29981
+ return IK(r, BK, t[n]), IK(e, n, r), e;
29995
29982
  };
29996
- function bq(e, t, n = "validate") {
29997
- if (KK(e) || Array.isArray(e) && e.every(KK) || RK(e) && !e) return {
29983
+ function vq(e, t, n = "validate") {
29984
+ if (KK(e) || Array.isArray(e) && e.every(KK) || PK(e) && !e) return {
29998
29985
  type: n,
29999
29986
  message: KK(e) ? e : "",
30000
29987
  ref: t
30001
29988
  };
30002
29989
  }
30003
- var xq = (e) => CK(e) && !hq(e) ? e : {
29990
+ var yq = (e) => CK(e) && !pq(e) ? e : {
30004
29991
  value: e,
30005
29992
  message: ""
30006
- }, Sq = async (e, t, n, r, i, a) => {
30007
- let { ref: o, refs: s, required: c, maxLength: l, minLength: u, min: d, max: f, pattern: p, validate: m, name: h, valueAsNumber: g, mount: _ } = e._f, v = LK(n, h);
29993
+ }, bq = async (e, t, n, r, i, a) => {
29994
+ let { ref: o, refs: s, required: c, maxLength: l, minLength: u, min: d, max: f, pattern: p, validate: m, name: h, valueAsNumber: g, mount: _ } = e._f, v = NK(n, h);
30008
29995
  if (!_ || t.has(h)) return {};
30009
29996
  let y = s ? s[0] : o, b = (e) => {
30010
- i && y.reportValidity && (y.setCustomValidity(RK(e) ? "" : e || ""), y.reportValidity());
30011
- }, x = {}, S = oq(o), C = yK(o), w = S || C, T = (g || iq(o)) && FK(o.value) && FK(v) || aq(o) && o.value === "" || v === "" || Array.isArray(v) && !v.length, E = eq.bind(null, h, r, x), D = (e, t, n, r = jK.maxLength, i = jK.minLength) => {
29997
+ i && y.reportValidity && (y.setCustomValidity(PK(e) ? "" : e || ""), y.reportValidity());
29998
+ }, x = {}, S = iq(o), C = yK(o), w = S || C, T = (g || nq(o)) && AK(o.value) && AK(v) || rq(o) && o.value === "" || v === "" || Array.isArray(v) && !v.length || g && typeof v == "number" && isNaN(v), E = $K.bind(null, h, r, x), D = (e, t, n, r = zK.maxLength, i = zK.minLength) => {
30012
29999
  let a = e ? t : n;
30013
30000
  x[h] = {
30014
30001
  type: e ? r : i,
@@ -30017,20 +30004,20 @@ var xq = (e) => CK(e) && !hq(e) ? e : {
30017
30004
  ...E(e ? r : i, a)
30018
30005
  };
30019
30006
  };
30020
- if (a ? !Array.isArray(v) || !v.length : c && (!w && (T || xK(v)) || RK(v) && !v || C && !fq(s).isValid || S && !mq(s).isValid)) {
30007
+ if (a ? !Array.isArray(v) || !v.length : c && (!w && (T || xK(v)) || PK(v) && !v || C && !uq(s).isValid || S && !fq(s).isValid)) {
30021
30008
  let { value: e, message: t } = KK(c) ? {
30022
30009
  value: !!c,
30023
30010
  message: c
30024
- } : xq(c);
30011
+ } : yq(c);
30025
30012
  if (e && (x[h] = {
30026
- type: jK.required,
30013
+ type: zK.required,
30027
30014
  message: t,
30028
30015
  ref: y,
30029
- ...E(jK.required, t)
30016
+ ...E(zK.required, t)
30030
30017
  }, !r)) return b(t), x;
30031
30018
  }
30032
30019
  if (!T && (!xK(d) || !xK(f))) {
30033
- let e, t, n = xq(f), i = xq(d);
30020
+ let e, t, n = yq(f), i = yq(d);
30034
30021
  if (!xK(v) && !isNaN(v)) {
30035
30022
  let r = o.valueAsNumber || v && +v;
30036
30023
  xK(n.value) || (e = r > n.value), xK(i.value) || (t = r < i.value);
@@ -30038,39 +30025,39 @@ var xq = (e) => CK(e) && !hq(e) ? e : {
30038
30025
  let r = o.valueAsDate || new Date(v), a = (e) => /* @__PURE__ */ new Date((/* @__PURE__ */ new Date()).toDateString() + " " + e), s = o.type == "time", c = o.type == "week";
30039
30026
  KK(n.value) && v && (e = s ? a(v) > a(n.value) : c ? v > n.value : r > new Date(n.value)), KK(i.value) && v && (t = s ? a(v) < a(i.value) : c ? v < i.value : r < new Date(i.value));
30040
30027
  }
30041
- if ((e || t) && (D(!!e, n.message, i.message, jK.max, jK.min), !r)) return b(x[h].message), x;
30028
+ if ((e || t) && (D(!!e, n.message, i.message, zK.max, zK.min), !r)) return b(x[h].message), x;
30042
30029
  }
30043
30030
  if ((l || u) && !T && (KK(v) || a && Array.isArray(v))) {
30044
- let e = xq(l), t = xq(u), n = !xK(e.value) && v.length > +e.value, i = !xK(t.value) && v.length < +t.value;
30031
+ let e = yq(l), t = yq(u), n = !xK(e.value) && v.length > +e.value, i = !xK(t.value) && v.length < +t.value;
30045
30032
  if ((n || i) && (D(n, e.message, t.message), !r)) return b(x[h].message), x;
30046
30033
  }
30047
30034
  if (p && !T && KK(v)) {
30048
- let { value: e, message: t } = xq(p);
30049
- if (hq(e) && !v.match(e) && (x[h] = {
30050
- type: jK.pattern,
30035
+ let { value: e, message: t } = yq(p);
30036
+ if (pq(e) && !v.match(e) && (x[h] = {
30037
+ type: zK.pattern,
30051
30038
  message: t,
30052
30039
  ref: o,
30053
- ...E(jK.pattern, t)
30040
+ ...E(zK.pattern, t)
30054
30041
  }, !r)) return b(t), x;
30055
30042
  }
30056
30043
  if (m) {
30057
- if (zK(m)) {
30058
- let e = bq(await m(v, n), y);
30044
+ if (FK(m)) {
30045
+ let e = vq(await m(v, n), y);
30059
30046
  if (e && (x[h] = {
30060
30047
  ...e,
30061
- ...E(jK.validate, e.message)
30048
+ ...E(zK.validate, e.message)
30062
30049
  }, !r)) return b(e.message), x;
30063
30050
  } else if (CK(m)) {
30064
30051
  let e = {};
30065
30052
  for (let t in m) {
30066
- if (!rq(e) && !r) break;
30067
- let i = bq(await m[t](v, n), y, t);
30053
+ if (!tq(e) && !r) break;
30054
+ let i = vq(await m[t](v, n), y, t);
30068
30055
  i && (e = {
30069
30056
  ...i,
30070
30057
  ...E(t, i.message)
30071
30058
  }, b(i.message), r && (x[h] = e));
30072
30059
  }
30073
- if (!rq(e) && (x[h] = {
30060
+ if (!tq(e) && (x[h] = {
30074
30061
  ref: y,
30075
30062
  ...e
30076
30063
  }, !r)) return x;
@@ -30078,33 +30065,33 @@ var xq = (e) => CK(e) && !hq(e) ? e : {
30078
30065
  }
30079
30066
  return b(!0), x;
30080
30067
  };
30081
- AK.onSubmit, AK.onChange;
30082
- var Cq = () => {
30068
+ RK.onSubmit, RK.onChange;
30069
+ var xq = () => {
30083
30070
  if (typeof crypto < "u" && crypto.randomUUID) return crypto.randomUUID();
30084
30071
  let e = typeof performance > "u" ? Date.now() : performance.now() * 1e3;
30085
30072
  return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, (t) => {
30086
30073
  let n = (Math.random() * 16 + e) % 16 | 0;
30087
30074
  return (t == "x" ? n : n & 3 | 8).toString(16);
30088
30075
  });
30089
- }, wq = (e, t, n = {}) => n.shouldFocus || FK(n.shouldFocus) ? n.focusName || `${e}.${FK(n.focusIndex) ? t : n.focusIndex}.` : "", Tq = (e, t) => [...e, ...nq(t)], Eq = (e) => Array.isArray(e) ? e.map(() => void 0) : void 0;
30090
- function Dq(e, t, n) {
30076
+ }, Sq = (e, t, n = {}) => n.shouldFocus || AK(n.shouldFocus) ? n.focusName || `${e}.${AK(n.focusIndex) ? t : n.focusIndex}.` : "", Cq = (e, t) => [...e, ...eq(t)], wq = (e) => Array.isArray(e) ? e.map(() => void 0) : void 0;
30077
+ function Tq(e, t, n) {
30091
30078
  return [
30092
30079
  ...e.slice(0, t),
30093
- ...nq(n),
30080
+ ...eq(n),
30094
30081
  ...e.slice(t)
30095
30082
  ];
30096
30083
  }
30097
- var Oq = (e, t, n) => Array.isArray(e) ? (FK(e[n]) && (e[n] = void 0), e.splice(n, 0, e.splice(t, 1)[0]), e) : [], kq = (e, t) => [...nq(t), ...nq(e)];
30098
- function Aq(e, t) {
30084
+ var Eq = (e, t, n) => Array.isArray(e) ? (AK(e[n]) && (e[n] = void 0), e.splice(n, 0, e.splice(t, 1)[0]), e) : [], Dq = (e, t) => [...eq(t), ...eq(e)];
30085
+ function Oq(e, t) {
30099
30086
  let n = 0, r = [...e];
30100
30087
  for (let e of t) r.splice(e - n, 1), n++;
30101
- return tq(r).length ? r : [];
30088
+ return jK(r).length ? r : [];
30102
30089
  }
30103
- var jq = (e, t) => FK(t) ? [] : Aq(e, nq(t).sort((e, t) => e - t)), Mq = (e, t, n) => {
30090
+ var kq = (e, t) => AK(t) ? [] : Oq(e, eq(t).sort((e, t) => e - t)), Aq = (e, t, n) => {
30104
30091
  [e[t], e[n]] = [e[n], e[t]];
30105
- }, Nq = (e, t, n) => (e[t] = n, e);
30106
- function Pq(e) {
30107
- let t = HK(), { control: n = t, name: r, keyName: i = "id", shouldUnregister: a, rules: o } = e, [s, c] = A.useState(n._getFieldArray(r)), l = A.useRef(n._getFieldArray(r).map(Cq)), u = A.useRef(!1);
30092
+ }, jq = (e, t, n) => (e[t] = n, e);
30093
+ function Mq(e) {
30094
+ let t = HK(), { control: n = t, name: r, keyName: i = "id", shouldUnregister: a, rules: o } = e, [s, c] = A.useState(n._getFieldArray(r)), l = A.useRef(n._getFieldArray(r).map(xq)), u = A.useRef(!1);
30108
30095
  n._names.array.add(r), A.useMemo(() => o && s.length >= 0 && n.register(r, o), [
30109
30096
  n,
30110
30097
  r,
@@ -30112,42 +30099,42 @@ function Pq(e) {
30112
30099
  o
30113
30100
  ]), WK(() => n._subjects.array.subscribe({ next: ({ values: e, name: t }) => {
30114
30101
  if (t === r || !t) {
30115
- let n = LK(e, r);
30116
- Array.isArray(n) ? (c(n), l.current = n.map(Cq)) : t || (c([]), l.current = []);
30102
+ let t = NK(e, r);
30103
+ Array.isArray(t) && (c(t), l.current = t.map(xq));
30117
30104
  }
30118
30105
  } }).unsubscribe, [n, r]);
30119
30106
  let d = A.useCallback((e) => {
30120
30107
  u.current = !0, n._setFieldArray(r, e);
30121
30108
  }, [n, r]);
30122
30109
  return A.useEffect(() => {
30123
- n._state.action = !1, _q(r, n._names) && n._subjects.state.next({ ...n._formState });
30124
- let e = gq(n._options.mode);
30125
- if (u.current && (!e.isOnSubmit || n._formState.isSubmitted) && !gq(n._options.reValidateMode).isOnSubmit && !e.isOnBlur) if (n._options.resolver) n._runSchema([r]).then((e) => {
30110
+ n._state.action = !1, hq(r, n._names) && n._subjects.state.next({ ...n._formState });
30111
+ let e = mq(n._options.mode);
30112
+ if (u.current && (!e.isOnSubmit || n._formState.isSubmitted) && !mq(n._options.reValidateMode).isOnSubmit && !e.isOnBlur) if (n._options.resolver) n._runSchema([r]).then((e) => {
30126
30113
  n._updateIsValidating([r]);
30127
- let t = LK(e.errors, r), i = LK(n._formState.errors, r);
30128
- (i ? !t && i.type || t && (i.type !== t.type || i.message !== t.message) : t && t.type) && (t ? BK(n._formState.errors, r, t) : lq(n._formState.errors, r), n._subjects.state.next({ errors: n._formState.errors }));
30114
+ let t = NK(e.errors, r), i = NK(n._formState.errors, r);
30115
+ (i ? !t && i.type || t && (i.type !== t.type || i.message !== t.message) : t && t.type) && (t ? IK(n._formState.errors, r, t) : sq(n._formState.errors, r), n._subjects.state.next({ errors: n._formState.errors }));
30129
30116
  });
30130
30117
  else {
30131
- let e = LK(n._fields, r);
30132
- e && e._f && !(gq(n._options.reValidateMode).isOnSubmit && gq(n._options.mode).isOnSubmit) && Sq(e, n._names.disabled, n._formValues, n._options.criteriaMode === AK.all, n._options.shouldUseNativeValidation, !0).then((e) => !rq(e) && n._subjects.state.next({ errors: yq(n._formState.errors, e, r) }));
30118
+ let e = NK(n._fields, r);
30119
+ e && e._f && !(mq(n._options.reValidateMode).isOnSubmit && mq(n._options.mode).isOnSubmit) && bq(e, n._names.disabled, n._formValues, n._options.criteriaMode === RK.all, n._options.shouldUseNativeValidation, !0).then((e) => !tq(e) && n._subjects.state.next({ errors: _q(n._formState.errors, e, r) }));
30133
30120
  }
30134
30121
  n._subjects.state.next({
30135
30122
  name: r,
30136
30123
  values: OK(n._formValues)
30137
- }), n._names.focus && vq(n._fields, (e, t) => {
30124
+ }), n._names.focus && gq(n._fields, (e, t) => {
30138
30125
  if (n._names.focus && t.startsWith(n._names.focus) && e.focus) return e.focus(), 1;
30139
30126
  }), n._names.focus = "", n._setValid(), u.current = !1;
30140
30127
  }, [
30141
30128
  s,
30142
30129
  r,
30143
30130
  n
30144
- ]), A.useEffect(() => (!LK(n._formValues, r) && n._setFieldArray(r), () => {
30131
+ ]), A.useEffect(() => (!NK(n._formValues, r) && n._setFieldArray(r), () => {
30145
30132
  let e = !(n._options.shouldUnregister || a);
30146
30133
  u.current && e && n._subjects.state.next({
30147
30134
  name: r,
30148
30135
  values: OK(n._formValues)
30149
30136
  }), e ? ((e, t) => {
30150
- let r = LK(n._fields, e);
30137
+ let r = NK(n._fields, e);
30151
30138
  r && r._f && (r._f.mount = t);
30152
30139
  })(r, !1) : n.unregister(r);
30153
30140
  }), [
@@ -30158,7 +30145,7 @@ function Pq(e) {
30158
30145
  ]), {
30159
30146
  swap: A.useCallback((e, t) => {
30160
30147
  let i = n._getFieldArray(r);
30161
- Mq(i, e, t), Mq(l.current, e, t), d(i), c(i), n._setFieldArray(r, i, Mq, {
30148
+ Aq(i, e, t), Aq(l.current, e, t), d(i), c(i), n._setFieldArray(r, i, Aq, {
30162
30149
  argA: e,
30163
30150
  argB: t
30164
30151
  }, !1);
@@ -30169,7 +30156,7 @@ function Pq(e) {
30169
30156
  ]),
30170
30157
  move: A.useCallback((e, t) => {
30171
30158
  let i = n._getFieldArray(r);
30172
- Oq(i, e, t), Oq(l.current, e, t), d(i), c(i), n._setFieldArray(r, i, Oq, {
30159
+ Eq(i, e, t), Eq(l.current, e, t), d(i), c(i), n._setFieldArray(r, i, Eq, {
30173
30160
  argA: e,
30174
30161
  argB: t
30175
30162
  }, !1);
@@ -30179,34 +30166,34 @@ function Pq(e) {
30179
30166
  n
30180
30167
  ]),
30181
30168
  prepend: A.useCallback((e, t) => {
30182
- let i = nq(OK(e)), a = kq(n._getFieldArray(r), i);
30183
- n._names.focus = wq(r, 0, t), l.current = kq(l.current, i.map(Cq)), d(a), c(a), n._setFieldArray(r, a, kq, { argA: Eq(e) });
30169
+ let i = eq(OK(e)), a = Dq(n._getFieldArray(r), i);
30170
+ n._names.focus = Sq(r, 0, t), l.current = Dq(l.current, i.map(xq)), d(a), c(a), n._setFieldArray(r, a, Dq, { argA: wq(e) });
30184
30171
  }, [
30185
30172
  d,
30186
30173
  r,
30187
30174
  n
30188
30175
  ]),
30189
30176
  append: A.useCallback((e, t) => {
30190
- let i = nq(OK(e)), a = Tq(n._getFieldArray(r), i);
30191
- n._names.focus = wq(r, a.length - 1, t), l.current = Tq(l.current, i.map(Cq)), d(a), c(a), n._setFieldArray(r, a, Tq, { argA: Eq(e) });
30177
+ let i = eq(OK(e)), a = Cq(n._getFieldArray(r), i);
30178
+ n._names.focus = Sq(r, a.length - 1, t), l.current = Cq(l.current, i.map(xq)), d(a), c(a), n._setFieldArray(r, a, Cq, { argA: wq(e) });
30192
30179
  }, [
30193
30180
  d,
30194
30181
  r,
30195
30182
  n
30196
30183
  ]),
30197
30184
  remove: A.useCallback((e) => {
30198
- let t = jq(n._getFieldArray(r), e);
30199
- l.current = jq(l.current, e), d(t), c(t), !Array.isArray(LK(n._fields, r)) && BK(n._fields, r, void 0), n._setFieldArray(r, t, jq, { argA: e });
30185
+ let t = kq(n._getFieldArray(r), e);
30186
+ l.current = kq(l.current, e), d(t), c(t), !Array.isArray(NK(n._fields, r)) && IK(n._fields, r, void 0), n._setFieldArray(r, t, kq, { argA: e });
30200
30187
  }, [
30201
30188
  d,
30202
30189
  r,
30203
30190
  n
30204
30191
  ]),
30205
30192
  insert: A.useCallback((e, t, i) => {
30206
- let a = nq(OK(t)), o = Dq(n._getFieldArray(r), e, a);
30207
- n._names.focus = wq(r, e, i), l.current = Dq(l.current, e, a.map(Cq)), d(o), c(o), n._setFieldArray(r, o, Dq, {
30193
+ let a = eq(OK(t)), o = Tq(n._getFieldArray(r), e, a);
30194
+ n._names.focus = Sq(r, e, i), l.current = Tq(l.current, e, a.map(xq)), d(o), c(o), n._setFieldArray(r, o, Tq, {
30208
30195
  argA: e,
30209
- argB: Eq(t)
30196
+ argB: wq(t)
30210
30197
  });
30211
30198
  }, [
30212
30199
  d,
@@ -30214,8 +30201,8 @@ function Pq(e) {
30214
30201
  n
30215
30202
  ]),
30216
30203
  update: A.useCallback((e, t) => {
30217
- let i = OK(t), a = Nq(n._getFieldArray(r), e, i);
30218
- l.current = [...a].map((t, n) => !t || n === e ? Cq() : l.current[n]), d(a), c([...a]), n._setFieldArray(r, a, Nq, {
30204
+ let i = OK(t), a = jq(n._getFieldArray(r), e, i);
30205
+ l.current = [...a].map((t, n) => !t || n === e ? xq() : l.current[n]), d(a), c([...a]), n._setFieldArray(r, a, jq, {
30219
30206
  argA: e,
30220
30207
  argB: i
30221
30208
  }, !0, !1);
@@ -30225,8 +30212,8 @@ function Pq(e) {
30225
30212
  n
30226
30213
  ]),
30227
30214
  replace: A.useCallback((e) => {
30228
- let t = nq(OK(e));
30229
- l.current = t.map(Cq), d([...t]), c([...t]), n._setFieldArray(r, [...t], (e) => e, {}, !0, !1);
30215
+ let t = eq(OK(e));
30216
+ l.current = t.map(xq), d([...t]), c([...t]), n._setFieldArray(r, [...t], (e) => e, {}, !0, !1);
30230
30217
  }, [
30231
30218
  d,
30232
30219
  r,
@@ -30234,21 +30221,21 @@ function Pq(e) {
30234
30221
  ]),
30235
30222
  fields: A.useMemo(() => s.map((e, t) => ({
30236
30223
  ...e,
30237
- [i]: l.current[t] || Cq()
30224
+ [i]: l.current[t] || xq()
30238
30225
  })), [s, i])
30239
30226
  };
30240
30227
  }
30241
30228
  //#endregion
30242
30229
  //#region src/composed/JsonSchemaForm/models/JsonSchemaFormContext.ts
30243
- var Fq = M(null);
30244
- function Iq() {
30245
- let e = I(Fq);
30230
+ var Nq = M(null);
30231
+ function Pq() {
30232
+ let e = I(Nq);
30246
30233
  if (e === null) throw Error("useJsonSchemaFormContext must be used within a <JsonSchemaForm>");
30247
30234
  return e;
30248
30235
  }
30249
30236
  //#endregion
30250
30237
  //#region src/composed/JsonSchemaForm/conditional/evalCondition.ts
30251
- function Lq(e, t) {
30238
+ function Fq(e, t) {
30252
30239
  if (e.$eq.size === 0) return !0;
30253
30240
  for (let [n, r] of e.$eq) {
30254
30241
  let e = t.get(n);
@@ -30258,11 +30245,11 @@ function Lq(e, t) {
30258
30245
  }
30259
30246
  //#endregion
30260
30247
  //#region src/composed/JsonSchemaForm/conditional/ConditionalGate.tsx
30261
- function Rq({ condition: e, unregisterOnHide: t, children: n }) {
30262
- let { control: r } = Iq(), i = B(() => Array.from(e.$eq.keys()), [e]), a = ZK({
30248
+ function Iq({ condition: e, unregisterOnHide: t, children: n }) {
30249
+ let { control: r } = Pq(), i = B(() => Array.from(e.$eq.keys()), [e]), a = XK({
30263
30250
  control: r,
30264
30251
  name: i
30265
- }), o = Lq(e, B(() => {
30252
+ }), o = Fq(e, B(() => {
30266
30253
  let e = /* @__PURE__ */ new Map();
30267
30254
  if (i.length === 0) return e;
30268
30255
  let t = Array.isArray(a) ? a : [a];
@@ -30277,53 +30264,75 @@ function Rq({ condition: e, unregisterOnHide: t, children: n }) {
30277
30264
  ]), o ? /* @__PURE__ */ H(oe, { children: n }) : null;
30278
30265
  }
30279
30266
  //#endregion
30280
- //#region src/composed/JsonSchemaForm/schema/preprocess/mergeAllOf.ts
30281
- function zq(e) {
30282
- return Bq(e);
30267
+ //#region src/composed/JsonSchemaForm/conditional/concretizePath.ts
30268
+ function Lq(e, t) {
30269
+ return e.split(".").map((e, n) => {
30270
+ let r = t[n];
30271
+ return e === "*" && r !== void 0 && /^\d+$/.test(r) ? r : e;
30272
+ }).join(".");
30273
+ }
30274
+ //#endregion
30275
+ //#region src/composed/JsonSchemaForm/conditional/concretizeCondition.ts
30276
+ function Rq(e, t) {
30277
+ let n = t === "" ? [] : t.split(".");
30278
+ return { $eq: new Map([...e.$eq].map(([e, t]) => [Lq(e, n), t])) };
30279
+ }
30280
+ //#endregion
30281
+ //#region src/composed/JsonSchemaForm/schema/preprocess/walkDependencies.ts
30282
+ function zq(e, t) {
30283
+ if (!e) return e;
30284
+ let n = {};
30285
+ for (let [r, i] of Object.entries(e)) n[r] = Array.isArray(i) ? i : t(i);
30286
+ return n;
30283
30287
  }
30288
+ //#endregion
30289
+ //#region src/composed/JsonSchemaForm/schema/preprocess/mergeAllOf.ts
30284
30290
  function Bq(e) {
30285
- return Hq(Vq({ ...e }));
30291
+ return Vq(e);
30286
30292
  }
30287
30293
  function Vq(e) {
30294
+ return Uq(Hq({ ...e }));
30295
+ }
30296
+ function Hq(e) {
30288
30297
  if (!Array.isArray(e.allOf) || e.allOf.length === 0) return e;
30289
- let t = { ...e.properties ?? {} }, n = new Set(e.required ?? []), r = e.gioConfig ? { ...e.gioConfig } : void 0;
30290
- for (let i of e.allOf) {
30291
- let e = Bq(i);
30298
+ let t = { ...e.properties ?? {} }, n = new Set(e.required ?? []), r = e.gioConfig ? { ...e.gioConfig } : void 0, i = { ...e.dependencies ?? {} };
30299
+ for (let a of e.allOf) {
30300
+ let e = Vq(a);
30292
30301
  Object.assign(t, e.properties ?? {}), e.required?.forEach((e) => n.add(e)), e.gioConfig && (r = {
30293
30302
  ...r,
30294
30303
  ...e.gioConfig
30295
- });
30304
+ }), Object.assign(i, e.dependencies ?? {});
30296
30305
  }
30297
- let i = { ...e };
30298
- return Object.keys(t).length > 0 && (i.properties = t), n.size > 0 && (i.required = Array.from(n)), r !== void 0 && (i.gioConfig = r), delete i.allOf, i;
30306
+ let a = { ...e };
30307
+ return Object.keys(t).length > 0 && (a.properties = t), n.size > 0 && (a.required = Array.from(n)), r !== void 0 && (a.gioConfig = r), Object.keys(i).length > 0 && (a.dependencies = i), delete a.allOf, a;
30299
30308
  }
30300
- function Hq(e) {
30301
- return e.properties &&= Uq(e.properties, Bq), e.items &&= Array.isArray(e.items) ? e.items.map(Bq) : Bq(e.items), e.oneOf &&= e.oneOf.map(Bq), e.anyOf &&= e.anyOf.map(Bq), e;
30309
+ function Uq(e) {
30310
+ return e.properties &&= Wq(e.properties, Vq), e.items &&= Array.isArray(e.items) ? e.items.map(Vq) : Vq(e.items), e.oneOf &&= e.oneOf.map(Vq), e.anyOf &&= e.anyOf.map(Vq), e.dependencies &&= zq(e.dependencies, Vq), e;
30302
30311
  }
30303
- function Uq(e, t) {
30312
+ function Wq(e, t) {
30304
30313
  let n = {};
30305
30314
  for (let [r, i] of Object.entries(e)) n[r] = t(i);
30306
30315
  return n;
30307
30316
  }
30308
30317
  //#endregion
30309
30318
  //#region src/composed/JsonSchemaForm/utils/jsonPointer.ts
30310
- function Wq(e) {
30319
+ function Gq(e) {
30311
30320
  return e.replace(/~/g, "~0").replace(/\//g, "~1");
30312
30321
  }
30313
- function Gq(e) {
30322
+ function Kq(e) {
30314
30323
  return e.replace(/~1/g, "/").replace(/~0/g, "~");
30315
30324
  }
30316
30325
  //#endregion
30317
30326
  //#region src/composed/JsonSchemaForm/schema/preprocess/resolveRefs.ts
30318
- function Kq(e) {
30319
- return qq(e, e, []);
30327
+ function qq(e) {
30328
+ return Jq(e, e, []);
30320
30329
  }
30321
- function qq(e, t, n) {
30330
+ function Jq(e, t, n) {
30322
30331
  if (typeof e.$ref == "string") {
30323
30332
  if (n.includes(e.$ref)) throw Error(`Cyclic $ref: ${[...n, e.$ref].join(" → ")}`);
30324
- let r = Jq(t, e.$ref);
30333
+ let r = Yq(t, e.$ref);
30325
30334
  if (r === void 0) throw Error(`Unresolved $ref: ${e.$ref}`);
30326
- let i = qq(r, t, [...n, e.$ref]), { $ref: a, gioConfig: o, ...s } = e, c = {
30335
+ let i = Jq(r, t, [...n, e.$ref]), { $ref: a, gioConfig: o, ...s } = e, c = {
30327
30336
  ...i,
30328
30337
  ...s
30329
30338
  };
@@ -30335,25 +30344,25 @@ function qq(e, t, n) {
30335
30344
  let r = { ...e };
30336
30345
  if (r.properties) {
30337
30346
  let e = {};
30338
- for (let [i, a] of Object.entries(r.properties)) e[i] = qq(a, t, n);
30347
+ for (let [i, a] of Object.entries(r.properties)) e[i] = Jq(a, t, n);
30339
30348
  r.properties = e;
30340
30349
  }
30341
- if (r.items &&= Array.isArray(r.items) ? r.items.map((e) => qq(e, t, n)) : qq(r.items, t, n), r.oneOf &&= r.oneOf.map((e) => qq(e, t, n)), r.anyOf &&= r.anyOf.map((e) => qq(e, t, n)), r.allOf &&= r.allOf.map((e) => qq(e, t, n)), r.definitions) {
30350
+ if (r.items &&= Array.isArray(r.items) ? r.items.map((e) => Jq(e, t, n)) : Jq(r.items, t, n), r.oneOf &&= r.oneOf.map((e) => Jq(e, t, n)), r.anyOf &&= r.anyOf.map((e) => Jq(e, t, n)), r.allOf &&= r.allOf.map((e) => Jq(e, t, n)), r.dependencies &&= zq(r.dependencies, (e) => Jq(e, t, n)), r.definitions) {
30342
30351
  let e = {};
30343
- for (let [i, a] of Object.entries(r.definitions)) e[i] = qq(a, t, n);
30352
+ for (let [i, a] of Object.entries(r.definitions)) e[i] = Jq(a, t, n);
30344
30353
  r.definitions = e;
30345
30354
  }
30346
30355
  if (r.$defs) {
30347
30356
  let e = {};
30348
- for (let [i, a] of Object.entries(r.$defs)) e[i] = qq(a, t, n);
30357
+ for (let [i, a] of Object.entries(r.$defs)) e[i] = Jq(a, t, n);
30349
30358
  r.$defs = e;
30350
30359
  }
30351
30360
  return r;
30352
30361
  }
30353
- function Jq(e, t) {
30362
+ function Yq(e, t) {
30354
30363
  if (t === "#") return e;
30355
30364
  if (!t.startsWith("#/")) throw Error(`Unsupported $ref format (only local JSON Pointers are supported): ${t}`);
30356
- let n = t.slice(2).split("/").map(Gq), r = e;
30365
+ let n = t.slice(2).split("/").map(Kq), r = e;
30357
30366
  for (let e of n) {
30358
30367
  if (typeof r != "object" || !r) return;
30359
30368
  r = r[e];
@@ -30362,28 +30371,28 @@ function Jq(e, t) {
30362
30371
  }
30363
30372
  //#endregion
30364
30373
  //#region src/composed/JsonSchemaForm/form-bindings/extractDefaults.ts
30365
- function Yq(e) {
30374
+ function Xq(e) {
30366
30375
  let t;
30367
30376
  try {
30368
- t = zq(Kq(e));
30377
+ t = Bq(qq(e));
30369
30378
  } catch {
30370
30379
  return;
30371
30380
  }
30372
- return Xq(t);
30381
+ return Zq(t);
30373
30382
  }
30374
- function Xq(e) {
30383
+ function Zq(e) {
30375
30384
  if (e.deprecated === !0) return;
30376
30385
  if (Object.prototype.hasOwnProperty.call(e, "default")) return e.default;
30377
30386
  let t = {};
30378
30387
  if (e.properties) for (let [n, r] of Object.entries(e.properties)) {
30379
- let e = Xq(r);
30388
+ let e = Zq(r);
30380
30389
  e !== void 0 && (t[n] = e);
30381
30390
  }
30382
30391
  let n = (e.oneOf ?? e.anyOf)?.find((e) => e.deprecated !== !0);
30383
30392
  if (n?.properties) {
30384
30393
  for (let [e, r] of Object.entries(n.properties)) if (r.const !== void 0) t[e] = r.const;
30385
30394
  else if (!(e in t)) {
30386
- let n = Xq(r);
30395
+ let n = Zq(r);
30387
30396
  n !== void 0 && (t[e] = n);
30388
30397
  }
30389
30398
  }
@@ -30391,23 +30400,23 @@ function Xq(e) {
30391
30400
  }
30392
30401
  //#endregion
30393
30402
  //#region src/composed/JsonSchemaForm/utils/fieldErrors.ts
30394
- function Zq(e) {
30403
+ function Qq(e) {
30395
30404
  return e ? e.types ? Object.values(e.types).flat().filter((e) => typeof e == "string").map((e) => ({ message: e })) : [{ message: e.message }] : [];
30396
30405
  }
30397
30406
  //#endregion
30398
30407
  //#region src/composed/JsonSchemaForm/utils/labelOf.ts
30399
- function Qq(e) {
30408
+ function $q(e) {
30400
30409
  return e ? e.charAt(0).toUpperCase() + e.slice(1) : "Field";
30401
30410
  }
30402
- function $q(e) {
30403
- return Qq(e.split(".").pop());
30411
+ function eJ(e) {
30412
+ return $q(e.split(".").pop());
30404
30413
  }
30405
- function eJ(e, t) {
30406
- return typeof e.title == "string" && e.title.length > 0 ? e.title : Qq(t);
30414
+ function tJ(e, t) {
30415
+ return typeof e.title == "string" && e.title.length > 0 ? e.title : $q(t);
30407
30416
  }
30408
30417
  //#endregion
30409
30418
  //#region src/composed/JsonSchemaForm/fields/array/buildDefaultForType.ts
30410
- function tJ(e) {
30419
+ function nJ(e) {
30411
30420
  if (e.default !== void 0) return e.default;
30412
30421
  switch (e.type) {
30413
30422
  case "string": return "";
@@ -30422,11 +30431,11 @@ function tJ(e) {
30422
30431
  }
30423
30432
  //#endregion
30424
30433
  //#region src/composed/JsonSchemaForm/fields/array/use-array-field.ts
30425
- function nJ(e, t) {
30426
- let n = Iq(), r = t ? n.basePath ? `${n.basePath}.${t}` : t : n.basePath, { fields: i, append: a, remove: o } = Pq({
30434
+ function rJ(e, t) {
30435
+ let n = Pq(), r = t ? n.basePath ? `${n.basePath}.${t}` : t : n.basePath, { fields: i, append: a, remove: o } = Mq({
30427
30436
  control: n.control,
30428
30437
  name: r
30429
- }), { fieldState: s } = QK({
30438
+ }), { fieldState: s } = ZK({
30430
30439
  control: n.control,
30431
30440
  name: r
30432
30441
  }), c = n.disabled || e.readOnly === !0, l = typeof e.minItems == "number" ? e.minItems : 0, u = typeof e.maxItems == "number" ? e.maxItems : Infinity;
@@ -30444,10 +30453,10 @@ function nJ(e, t) {
30444
30453
  }
30445
30454
  //#endregion
30446
30455
  //#region src/composed/JsonSchemaForm/fields/array/ArrayField.tsx
30447
- function rJ({ node: e, name: t, depth: n }) {
30448
- let { schema: r } = e, { ctx: i, path: a, fields: o, append: s, remove: c, fieldState: l, isDisabled: u, atMin: d, atMax: f } = nJ(r, t), p = r.items, m = e.items, h = eJ(r, t), g = r.gioConfig?.uiBorder === "full";
30456
+ function iJ({ node: e, name: t, depth: n }) {
30457
+ let { schema: r } = e, { ctx: i, path: a, fields: o, append: s, remove: c, fieldState: l, isDisabled: u, atMin: d, atMax: f } = rJ(r, t), p = r.items, m = e.items, h = tJ(r, t), g = r.gioConfig?.uiBorder === "full";
30449
30458
  function _() {
30450
- s(aJ(p), { shouldFocus: !1 });
30459
+ s(oJ(p), { shouldFocus: !1 });
30451
30460
  }
30452
30461
  return /* @__PURE__ */ U(ZF, {
30453
30462
  "aria-required": r.isRequired || void 0,
@@ -30461,7 +30470,7 @@ function rJ({ node: e, name: t, depth: n }) {
30461
30470
  r.description && /* @__PURE__ */ H(aI, { children: r.description }),
30462
30471
  /* @__PURE__ */ H("div", {
30463
30472
  className: "flex flex-col",
30464
- children: o.map((e, t) => /* @__PURE__ */ H(iJ, {
30473
+ children: o.map((e, t) => /* @__PURE__ */ H(aJ, {
30465
30474
  index: t,
30466
30475
  path: a,
30467
30476
  itemsNode: m,
@@ -30483,11 +30492,11 @@ function rJ({ node: e, name: t, depth: n }) {
30483
30492
  children: [/* @__PURE__ */ H(E, { "aria-hidden": "true" }), "Add"]
30484
30493
  })
30485
30494
  }),
30486
- /* @__PURE__ */ H(sI, { errors: Zq(l.error) })
30495
+ /* @__PURE__ */ H(sI, { errors: Qq(l.error) })
30487
30496
  ]
30488
30497
  });
30489
30498
  }
30490
- function iJ({ index: e, path: t, itemsNode: n, depth: r, disabled: i, canRemove: a, onRemove: o, ctx: c }) {
30499
+ function aJ({ index: e, path: t, itemsNode: n, depth: r, disabled: i, canRemove: a, onRemove: o, ctx: c }) {
30491
30500
  let l = `${t}.${e}`;
30492
30501
  return /* @__PURE__ */ U(Uw, {
30493
30502
  defaultOpen: !0,
@@ -30516,13 +30525,13 @@ function iJ({ index: e, path: t, itemsNode: n, depth: r, disabled: i, canRemove:
30516
30525
  })]
30517
30526
  }), /* @__PURE__ */ H(Gw, { children: /* @__PURE__ */ H("div", {
30518
30527
  className: "pt-2 pb-4 pl-6",
30519
- children: n && /* @__PURE__ */ H(Fq.Provider, {
30528
+ children: n && /* @__PURE__ */ H(Nq.Provider, {
30520
30529
  value: {
30521
30530
  ...c,
30522
30531
  basePath: l,
30523
30532
  disabled: i
30524
30533
  },
30525
- children: /* @__PURE__ */ H(IJ, {
30534
+ children: /* @__PURE__ */ H(LJ, {
30526
30535
  node: n,
30527
30536
  name: "",
30528
30537
  depth: r + 1
@@ -30531,17 +30540,17 @@ function iJ({ index: e, path: t, itemsNode: n, depth: r, disabled: i, canRemove:
30531
30540
  }) })]
30532
30541
  });
30533
30542
  }
30534
- function aJ(e) {
30535
- let t = Yq(e);
30536
- return t === void 0 ? tJ(e) : t;
30543
+ function oJ(e) {
30544
+ let t = Xq(e);
30545
+ return t === void 0 ? nJ(e) : t;
30537
30546
  }
30538
30547
  //#endregion
30539
30548
  //#region src/composed/JsonSchemaForm/fields/array/HeadersArrayField.tsx
30540
- function oJ({ node: e, name: t }) {
30541
- let { schema: n } = e, { path: r, fields: i, append: a, remove: o, fieldState: s, isDisabled: c, atMin: l, atMax: u } = nJ(n, t), d = n.items, f = d && !Array.isArray(d) ? d.properties ?? {} : {}, p = Object.keys(f), m = eJ(n, t);
30549
+ function sJ({ node: e, name: t }) {
30550
+ let { schema: n } = e, { path: r, fields: i, append: a, remove: o, fieldState: s, isDisabled: c, atMin: l, atMax: u } = rJ(n, t), d = n.items, f = d && !Array.isArray(d) ? d.properties ?? {} : {}, p = Object.keys(f), m = tJ(n, t);
30542
30551
  function h() {
30543
30552
  let e = {};
30544
- for (let t of p) e[t] = tJ(f[t]);
30553
+ for (let t of p) e[t] = nJ(f[t]);
30545
30554
  a(e, { shouldFocus: !1 });
30546
30555
  }
30547
30556
  return /* @__PURE__ */ U(ZF, {
@@ -30557,11 +30566,11 @@ function oJ({ node: e, name: t }) {
30557
30566
  className: "overflow-hidden rounded-lg border",
30558
30567
  children: /* @__PURE__ */ U(EH, { children: [/* @__PURE__ */ H(DH, { children: /* @__PURE__ */ U(AH, { children: [p.map((e) => /* @__PURE__ */ H(jH, {
30559
30568
  scope: "col",
30560
- children: lJ(f[e], e)
30569
+ children: uJ(f[e], e)
30561
30570
  }, e)), /* @__PURE__ */ H(jH, {
30562
30571
  "aria-hidden": "true",
30563
30572
  className: "w-px"
30564
- })] }) }), /* @__PURE__ */ H(OH, { children: i.map((e, t) => /* @__PURE__ */ H(sJ, {
30573
+ })] }) }), /* @__PURE__ */ H(OH, { children: i.map((e, t) => /* @__PURE__ */ H(cJ, {
30565
30574
  rowIndex: t,
30566
30575
  rowPath: `${r}.${t}`,
30567
30576
  columnKeys: p,
@@ -30579,12 +30588,12 @@ function oJ({ node: e, name: t }) {
30579
30588
  onClick: h,
30580
30589
  children: [/* @__PURE__ */ H(E, { "aria-hidden": "true" }), "Add"]
30581
30590
  }) }),
30582
- /* @__PURE__ */ H(sI, { errors: Zq(s.error) })
30591
+ /* @__PURE__ */ H(sI, { errors: Qq(s.error) })
30583
30592
  ]
30584
30593
  });
30585
30594
  }
30586
- function sJ({ rowIndex: e, rowPath: t, columnKeys: n, itemProperties: r, disabled: i, canRemove: a, onRemove: o }) {
30587
- return /* @__PURE__ */ U(AH, { children: [n.map((n) => /* @__PURE__ */ H(cJ, {
30595
+ function cJ({ rowIndex: e, rowPath: t, columnKeys: n, itemProperties: r, disabled: i, canRemove: a, onRemove: o }) {
30596
+ return /* @__PURE__ */ U(AH, { children: [n.map((n) => /* @__PURE__ */ H(lJ, {
30588
30597
  columnKey: n,
30589
30598
  cellPath: `${t}.${n}`,
30590
30599
  propSchema: r[n],
@@ -30603,8 +30612,8 @@ function sJ({ rowIndex: e, rowPath: t, columnKeys: n, itemProperties: r, disable
30603
30612
  })
30604
30613
  })] });
30605
30614
  }
30606
- function cJ({ columnKey: e, cellPath: t, propSchema: n, rowIndex: r, disabled: i }) {
30607
- let { control: a } = Iq(), { field: o, fieldState: s } = QK({
30615
+ function lJ({ columnKey: e, cellPath: t, propSchema: n, rowIndex: r, disabled: i }) {
30616
+ let { control: a } = Pq(), { field: o, fieldState: s } = ZK({
30608
30617
  control: a,
30609
30618
  name: t
30610
30619
  }), { ref: c, onBlur: l, onChange: u, value: d } = o;
@@ -30616,21 +30625,21 @@ function cJ({ columnKey: e, cellPath: t, propSchema: n, rowIndex: r, disabled: i
30616
30625
  onBlur: l,
30617
30626
  disabled: i,
30618
30627
  "aria-invalid": s.invalid,
30619
- "aria-label": `${lJ(n, e)} for row ${r + 1}`,
30628
+ "aria-label": `${uJ(n, e)} for row ${r + 1}`,
30620
30629
  placeholder: typeof n.title == "string" ? n.title : void 0
30621
30630
  }) });
30622
30631
  }
30623
- function lJ(e, t) {
30632
+ function uJ(e, t) {
30624
30633
  return typeof e.title == "string" ? e.title : t.charAt(0).toUpperCase() + t.slice(1);
30625
30634
  }
30626
30635
  //#endregion
30627
30636
  //#region src/composed/JsonSchemaForm/fields/boolean/BooleanField.tsx
30628
- function uJ({ node: e, name: t }) {
30629
- let { control: n, basePath: r, disabled: i } = Iq(), { schema: a } = e, o = t ? r ? `${r}.${t}` : t : r, { field: s, fieldState: c } = QK({
30637
+ function dJ({ node: e, name: t }) {
30638
+ let { control: n, basePath: r, disabled: i } = Pq(), { schema: a } = e, o = t ? r ? `${r}.${t}` : t : r, { field: s, fieldState: c } = ZK({
30630
30639
  control: n,
30631
30640
  name: o,
30632
30641
  defaultValue: typeof a.default == "boolean" ? a.default : !1
30633
- }), l = eJ(a, t), u = i || a.readOnly === !0;
30642
+ }), l = tJ(a, t), u = i || a.readOnly === !0;
30634
30643
  return /* @__PURE__ */ U(tI, {
30635
30644
  orientation: "horizontal",
30636
30645
  "data-invalid": c.invalid,
@@ -30647,41 +30656,41 @@ function uJ({ node: e, name: t }) {
30647
30656
  children: l
30648
30657
  }),
30649
30658
  a.description && /* @__PURE__ */ H(aI, { children: a.description }),
30650
- /* @__PURE__ */ H(sI, { errors: Zq(c.error) })
30659
+ /* @__PURE__ */ H(sI, { errors: Qq(c.error) })
30651
30660
  ] })]
30652
30661
  });
30653
30662
  }
30654
30663
  //#endregion
30655
30664
  //#region src/composed/JsonSchemaForm/utils/schemaShape.ts
30656
- function dJ(e) {
30657
- return Array.isArray(e.oneOf) && e.oneOf.length > 0 && e.oneOf.every((e) => e.const !== void 0);
30658
- }
30659
30665
  function fJ(e) {
30660
- return e.type !== "array" || e.uniqueItems !== !0 || !e.items || Array.isArray(e.items) ? !1 : Array.isArray(e.items.enum) && e.items.enum.length > 0;
30666
+ return Array.isArray(e.oneOf) && e.oneOf.length > 0 && e.oneOf.every((e) => e.const !== void 0);
30661
30667
  }
30662
30668
  function pJ(e) {
30663
- return e.type === "array" && e.gioConfig?.uiType === "gio-headers-array";
30669
+ return e.type !== "array" || e.uniqueItems !== !0 || !e.items || Array.isArray(e.items) ? !1 : Array.isArray(e.items.enum) && e.items.enum.length > 0;
30664
30670
  }
30665
30671
  function mJ(e) {
30666
- return Array.isArray(e.oneOf) && e.oneOf.length > 0 && e.oneOf.some((e) => e.properties !== void 0) && !dJ(e);
30672
+ return e.type === "array" && e.gioConfig?.uiType === "gio-headers-array";
30667
30673
  }
30668
30674
  function hJ(e) {
30675
+ return Array.isArray(e.oneOf) && e.oneOf.length > 0 && e.oneOf.some((e) => e.properties !== void 0) && !fJ(e);
30676
+ }
30677
+ function gJ(e) {
30669
30678
  return Array.isArray(e.anyOf) && e.anyOf.length > 0 && e.anyOf.some((e) => e.properties !== void 0);
30670
30679
  }
30671
30680
  //#endregion
30672
30681
  //#region src/composed/JsonSchemaForm/fields/enum/enumOptions.ts
30673
- function gJ(e, t) {
30682
+ function _J(e, t) {
30674
30683
  let n = t?.[String(e)];
30675
30684
  return n === void 0 ? e === null ? "—" : String(e) : n;
30676
30685
  }
30677
- function _J(e, t) {
30686
+ function vJ(e, t) {
30678
30687
  return e.map((e, n) => ({
30679
30688
  raw: e,
30680
30689
  key: String(n),
30681
- label: gJ(e, t)
30690
+ label: _J(e, t)
30682
30691
  }));
30683
30692
  }
30684
- function vJ(e) {
30693
+ function yJ(e) {
30685
30694
  return e.map((e, t) => ({
30686
30695
  raw: e.const,
30687
30696
  key: String(t),
@@ -30690,12 +30699,12 @@ function vJ(e) {
30690
30699
  }
30691
30700
  //#endregion
30692
30701
  //#region src/composed/JsonSchemaForm/fields/enum/EnumField.tsx
30693
- function yJ({ node: e, name: t }) {
30694
- let { control: n, basePath: r, disabled: i } = Iq(), { schema: a } = e, o = t ? r ? `${r}.${t}` : t : r, { field: s, fieldState: c } = QK({
30702
+ function bJ({ node: e, name: t }) {
30703
+ let { control: n, basePath: r, disabled: i } = Pq(), { schema: a } = e, o = t ? r ? `${r}.${t}` : t : r, { field: s, fieldState: c } = ZK({
30695
30704
  control: n,
30696
30705
  name: o,
30697
30706
  defaultValue: a.default
30698
- }), { ref: l, onBlur: u } = s, d = eJ(a, t), f = i || a.readOnly === !0, p = bJ(a), m = p.find((e) => Object.is(e.raw, s.value))?.key ?? "", h = (e) => p.find((t) => t.key === e)?.raw;
30707
+ }), { ref: l, onBlur: u } = s, d = tJ(a, t), f = i || a.readOnly === !0, p = xJ(a), m = p.find((e) => Object.is(e.raw, s.value))?.key ?? "", h = (e) => p.find((t) => t.key === e)?.raw;
30699
30708
  return /* @__PURE__ */ U(tI, {
30700
30709
  "data-invalid": c.invalid,
30701
30710
  children: [
@@ -30721,22 +30730,22 @@ function yJ({ node: e, name: t }) {
30721
30730
  }, e.key)) })]
30722
30731
  }),
30723
30732
  a.description && /* @__PURE__ */ H(aI, { children: a.description }),
30724
- /* @__PURE__ */ H(sI, { errors: Zq(c.error) })
30733
+ /* @__PURE__ */ H(sI, { errors: Qq(c.error) })
30725
30734
  ]
30726
30735
  });
30727
30736
  }
30728
- function bJ(e) {
30729
- return dJ(e) ? vJ(e.oneOf ?? []) : _J(e.enum ?? [], e.gioConfig?.enumLabelMap);
30737
+ function xJ(e) {
30738
+ return fJ(e) ? yJ(e.oneOf ?? []) : vJ(e.enum ?? [], e.gioConfig?.enumLabelMap);
30730
30739
  }
30731
30740
  //#endregion
30732
30741
  //#region src/composed/JsonSchemaForm/fields/enum/MultiSelectField.tsx
30733
- function xJ({ node: e, name: t }) {
30734
- let { control: n, basePath: r, disabled: i } = Iq(), { schema: a } = e, o = t ? r ? `${r}.${t}` : t : r, { field: s, fieldState: c } = QK({
30742
+ function SJ({ node: e, name: t }) {
30743
+ let { control: n, basePath: r, disabled: i } = Pq(), { schema: a } = e, o = t ? r ? `${r}.${t}` : t : r, { field: s, fieldState: c } = ZK({
30735
30744
  control: n,
30736
30745
  name: o,
30737
30746
  defaultValue: Array.isArray(a.default) ? a.default : []
30738
- }), { ref: l, onBlur: u, onChange: d, value: f } = s, p = EM(), m = eJ(a, t), h = i || a.readOnly === !0, g = a.items, _ = _J(g.enum ?? [], g.gioConfig?.enumLabelMap), v = _.map((e) => e.label), y = (e) => _.find((t) => t.label === e)?.raw, b = (e) => _.find((t) => Object.is(t.raw, e))?.label, x = (Array.isArray(s.value) ? s.value : []).map((e) => b(e)).filter((e) => e !== void 0);
30739
- return SJ({
30747
+ }), { ref: l, onBlur: u, onChange: d, value: f } = s, p = EM(), m = tJ(a, t), h = i || a.readOnly === !0, g = a.items, _ = vJ(g.enum ?? [], g.gioConfig?.enumLabelMap), v = _.map((e) => e.label), y = (e) => _.find((t) => t.label === e)?.raw, b = (e) => _.find((t) => Object.is(t.raw, e))?.label, x = (Array.isArray(s.value) ? s.value : []).map((e) => b(e)).filter((e) => e !== void 0);
30748
+ return CJ({
30740
30749
  schema: a,
30741
30750
  options: _,
30742
30751
  value: f,
@@ -30781,27 +30790,27 @@ function xJ({ node: e, name: t }) {
30781
30790
  })]
30782
30791
  }),
30783
30792
  a.description && /* @__PURE__ */ H(aI, { children: a.description }),
30784
- /* @__PURE__ */ H(sI, { errors: Zq(c.error) })
30793
+ /* @__PURE__ */ H(sI, { errors: Qq(c.error) })
30785
30794
  ]
30786
30795
  });
30787
30796
  }
30788
- function SJ({ schema: e, options: t, value: n, onReset: r }) {
30797
+ function CJ({ schema: e, options: t, value: n, onReset: r }) {
30789
30798
  R(() => {
30790
30799
  (Array.isArray(n) ? n : []).every((e) => t.some((t) => Object.is(t.raw, e))) || r(Array.isArray(e.default) ? e.default : []);
30791
30800
  }, [e]);
30792
30801
  }
30793
30802
  //#endregion
30794
30803
  //#region src/composed/JsonSchemaForm/fields/null/NullField.tsx
30795
- function CJ() {
30804
+ function wJ() {
30796
30805
  return null;
30797
30806
  }
30798
30807
  //#endregion
30799
30808
  //#region src/composed/JsonSchemaForm/fields/number/NumberField.tsx
30800
- function wJ({ node: e, name: t }) {
30801
- let { control: n, basePath: r, disabled: i } = Iq(), { schema: a } = e, o = t ? r ? `${r}.${t}` : t : r, { field: s, fieldState: c } = QK({
30809
+ function TJ({ node: e, name: t }) {
30810
+ let { control: n, basePath: r, disabled: i } = Pq(), { schema: a } = e, o = t ? r ? `${r}.${t}` : t : r, { field: s, fieldState: c } = ZK({
30802
30811
  control: n,
30803
30812
  name: o
30804
- }), l = eJ(a, t), u = i || a.readOnly === !0, d = (e) => {
30813
+ }), l = tJ(a, t), u = i || a.readOnly === !0, d = (e) => {
30805
30814
  let t = e.target.value;
30806
30815
  if (t === "") {
30807
30816
  s.onChange(null);
@@ -30832,21 +30841,21 @@ function wJ({ node: e, name: t }) {
30832
30841
  step: f
30833
30842
  }),
30834
30843
  a.description && /* @__PURE__ */ H(aI, { children: a.description }),
30835
- /* @__PURE__ */ H(sI, { errors: Zq(c.error) })
30844
+ /* @__PURE__ */ H(sI, { errors: Qq(c.error) })
30836
30845
  ]
30837
30846
  });
30838
30847
  }
30839
30848
  //#endregion
30840
30849
  //#region src/composed/JsonSchemaForm/utils/pickActiveVariant.ts
30841
- function TJ(e, t, n, r) {
30850
+ function EJ(e, t, n, r) {
30842
30851
  if (e.length === 0) return -1;
30843
30852
  let i = n?.get(t);
30844
- return EJ(i, e) && DJ(e[i], r) ? i : OJ(e, r);
30853
+ return DJ(i, e) && OJ(e[i], r) ? i : kJ(e, r);
30845
30854
  }
30846
- function EJ(e, t) {
30855
+ function DJ(e, t) {
30847
30856
  return typeof e == "number" && Number.isInteger(e) && t[e] !== void 0;
30848
30857
  }
30849
- function DJ(e, t) {
30858
+ function OJ(e, t) {
30850
30859
  return Object.entries(e.properties ?? {}).every(([e, n]) => {
30851
30860
  if (n.const !== void 0) return t(e) === n.const;
30852
30861
  if (typeof n.pattern == "string") {
@@ -30856,18 +30865,18 @@ function DJ(e, t) {
30856
30865
  return !0;
30857
30866
  });
30858
30867
  }
30859
- function OJ(e, t) {
30868
+ function kJ(e, t) {
30860
30869
  let n = 0, r = {
30861
30870
  viable: !1,
30862
30871
  matches: -1
30863
30872
  };
30864
30873
  return e.forEach((e, i) => {
30865
- let a = kJ(e, t);
30866
- AJ(a, r) > 0 && (n = i, r = a);
30874
+ let a = AJ(e, t);
30875
+ jJ(a, r) > 0 && (n = i, r = a);
30867
30876
  }), n;
30868
30877
  }
30869
- function kJ(e, t) {
30870
- return DJ(e, t) ? {
30878
+ function AJ(e, t) {
30879
+ return OJ(e, t) ? {
30871
30880
  viable: (e.required ?? []).every((e) => t(e) !== void 0),
30872
30881
  matches: Object.keys(e.properties ?? {}).filter((e) => t(e) !== void 0).length
30873
30882
  } : {
@@ -30875,33 +30884,36 @@ function kJ(e, t) {
30875
30884
  matches: -1
30876
30885
  };
30877
30886
  }
30878
- function AJ(e, t) {
30887
+ function jJ(e, t) {
30879
30888
  return e.viable === t.viable ? e.matches - t.matches : e.viable ? 1 : -1;
30880
30889
  }
30881
30890
  //#endregion
30882
30891
  //#region src/composed/JsonSchemaForm/fields/oneOf/OneOfField.tsx
30883
- function jJ({ node: e, depth: t }) {
30884
- let n = Iq(), { control: r, index: i, basePath: a } = n, { schema: o } = e, s = i.variantIndices, c = e.variants ?? [], [l, u] = V(() => TJ(c.map((e) => e.raw), a, s, (e) => r._getWatch(a ? `${a}.${e}` : e)));
30892
+ function MJ({ node: e, depth: t }) {
30893
+ let n = Pq(), { control: r, index: i, basePath: a } = n, { schema: o } = e, s = i.variantIndices, c = B(() => e.variants ?? [], [e.variants]), [l, u] = V(() => EJ(c.map((e) => e.raw), a, s, (e) => r._getWatch(a ? `${a}.${e}` : e))), d = B(() => c.map((e) => (e.dependencyBranches ?? []).map((e) => Array.from(e.properties.keys()).map((e) => a ? `${a}.${e}` : e))), [c, a]);
30885
30894
  if (c.length === 0) return null;
30886
- let d = c[l] ?? c[0], f = n.disabled || o.readOnly === !0, p = `${a || "root"}-variant`, m = (e) => {
30895
+ let f = c[l] ?? c[0], p = f.dependencyBranches ?? [], m = n.disabled || o.readOnly === !0, h = `${a || "root"}-variant`, g = (e) => {
30887
30896
  if (e === l) return;
30888
30897
  let t = c[l];
30889
- if (t) for (let e of t.properties.keys()) r.unregister(a ? `${a}.${e}` : e);
30898
+ if (t) {
30899
+ for (let e of t.properties.keys()) r.unregister(a ? `${a}.${e}` : e);
30900
+ for (let e of t.dependencyBranches ?? []) for (let t of e.properties.keys()) r.unregister(a ? `${a}.${t}` : t);
30901
+ }
30890
30902
  s.set(a, e), u(e);
30891
- }, h = t === 0 ? o.title || "Variant" : null;
30903
+ }, _ = t === 0 ? o.title || "Variant" : null;
30892
30904
  return /* @__PURE__ */ U(oe, { children: [
30893
30905
  /* @__PURE__ */ U(tI, { children: [
30894
- h !== null && /* @__PURE__ */ H(rI, {
30895
- htmlFor: p,
30896
- children: h
30906
+ _ !== null && /* @__PURE__ */ H(rI, {
30907
+ htmlFor: h,
30908
+ children: _
30897
30909
  }),
30898
30910
  /* @__PURE__ */ U(zB, {
30899
30911
  value: String(l),
30900
- onValueChange: (e) => m(Number(e)),
30901
- disabled: f,
30912
+ onValueChange: (e) => g(Number(e)),
30913
+ disabled: m,
30902
30914
  children: [/* @__PURE__ */ H(HB, {
30903
- id: p,
30904
- "aria-label": h === null ? "Variant" : void 0,
30915
+ id: h,
30916
+ "aria-label": _ === null ? "Variant" : void 0,
30905
30917
  children: /* @__PURE__ */ H(VB, { placeholder: "Select a variant…" })
30906
30918
  }), /* @__PURE__ */ H(UB, { children: c.map((e, t) => /* @__PURE__ */ H(GB, {
30907
30919
  value: String(t),
@@ -30910,19 +30922,28 @@ function jJ({ node: e, depth: t }) {
30910
30922
  }),
30911
30923
  t === 0 && o.description && /* @__PURE__ */ H(aI, { children: o.description })
30912
30924
  ] }),
30913
- d.consts.map(({ key: e, value: t }) => /* @__PURE__ */ H(MJ, {
30925
+ f.consts.map(({ key: e, value: t }) => /* @__PURE__ */ H(NJ, {
30914
30926
  path: a ? `${a}.${e}` : e,
30915
30927
  value: t
30916
30928
  }, e)),
30917
- Array.from(d.properties).filter(([, e]) => e.schema.const === void 0).map(([e, n]) => /* @__PURE__ */ H(IJ, {
30929
+ Array.from(f.properties).filter(([, e]) => e.schema.const === void 0).map(([e, n]) => /* @__PURE__ */ H(LJ, {
30918
30930
  node: n,
30919
30931
  name: e,
30920
30932
  depth: t + 1
30921
- }, `${l}-${e}`))
30933
+ }, `${l}-${e}`)),
30934
+ p.map((e, n) => /* @__PURE__ */ H(Iq, {
30935
+ condition: Rq(e.showIf, a),
30936
+ unregisterOnHide: d[l]?.[n],
30937
+ children: Array.from(e.properties).map(([e, n]) => /* @__PURE__ */ H(LJ, {
30938
+ node: n,
30939
+ name: e,
30940
+ depth: t + 1
30941
+ }, e))
30942
+ }, `${l}-var-dep-${n}`))
30922
30943
  ] });
30923
30944
  }
30924
- function MJ({ path: e, value: t }) {
30925
- let { control: n } = Iq(), { field: r } = QK({
30945
+ function NJ({ path: e, value: t }) {
30946
+ let { control: n } = Pq(), { field: r } = ZK({
30926
30947
  control: n,
30927
30948
  name: e
30928
30949
  }), { onChange: i } = r;
@@ -30932,37 +30953,49 @@ function MJ({ path: e, value: t }) {
30932
30953
  }
30933
30954
  //#endregion
30934
30955
  //#region src/composed/JsonSchemaForm/fields/object/ObjectField.tsx
30935
- function NJ({ node: e, name: t, depth: n }) {
30936
- let r = Iq(), { schema: i } = e, a = t ? r.basePath ? `${r.basePath}.${t}` : t : r.basePath, o = mJ(i) || hJ(i), s = (e.properties || o) && /* @__PURE__ */ H(Fq.Provider, {
30956
+ function PJ({ node: e, name: t, depth: n }) {
30957
+ let r = Pq(), { schema: i } = e, a = t ? r.basePath ? `${r.basePath}.${t}` : t : r.basePath, o = hJ(i) || gJ(i), s = B(() => e.dependencyBranches ?? [], [e.dependencyBranches]), c = s.length > 0, l = B(() => s.map((e) => Array.from(e.properties.keys()).map((e) => a ? `${a}.${e}` : e)), [s, a]), u = (e.properties || o || c) && /* @__PURE__ */ H(Nq.Provider, {
30937
30958
  value: {
30938
30959
  ...r,
30939
30960
  basePath: a
30940
30961
  },
30941
- children: /* @__PURE__ */ U($F, { children: [e.properties && Array.from(e.properties).map(([e, t]) => /* @__PURE__ */ H(IJ, {
30942
- node: t,
30943
- name: e,
30944
- depth: n + 1
30945
- }, e)), o && /* @__PURE__ */ H(jJ, {
30946
- node: e,
30947
- depth: n
30948
- })] })
30949
- }), c = typeof i.title == "string" && i.title.length > 0 || t !== void 0 && t.length > 0, l = i.gioConfig?.uiBorder === "full";
30950
- return n === 0 || !c ? /* @__PURE__ */ H(oe, { children: s }) : /* @__PURE__ */ U(ZF, {
30951
- className: l ? "rounded-lg border border-border px-5 pt-2 pb-5" : void 0,
30962
+ children: /* @__PURE__ */ U($F, { children: [
30963
+ e.properties && Array.from(e.properties).map(([e, t]) => /* @__PURE__ */ H(LJ, {
30964
+ node: t,
30965
+ name: e,
30966
+ depth: n + 1
30967
+ }, e)),
30968
+ s.map((e, t) => /* @__PURE__ */ H(Iq, {
30969
+ condition: Rq(e.showIf, a),
30970
+ unregisterOnHide: l[t],
30971
+ children: Array.from(e.properties).map(([e, t]) => /* @__PURE__ */ H(LJ, {
30972
+ node: t,
30973
+ name: e,
30974
+ depth: n + 1
30975
+ }, e))
30976
+ }, `dep-${t}`)),
30977
+ o && /* @__PURE__ */ H(MJ, {
30978
+ node: e,
30979
+ depth: n
30980
+ })
30981
+ ] })
30982
+ }), d = typeof i.title == "string" && i.title.length > 0 || t !== void 0 && t.length > 0, f = i.gioConfig?.uiBorder === "full";
30983
+ return n === 0 || !d ? /* @__PURE__ */ H(oe, { children: u }) : /* @__PURE__ */ U(ZF, {
30984
+ className: f ? "rounded-lg border border-border px-5 pt-2 pb-5" : void 0,
30952
30985
  children: [
30953
30986
  /* @__PURE__ */ H(QF, {
30954
- className: l ? "px-2 text-base font-semibold" : "text-base font-semibold",
30987
+ className: f ? "px-2 text-base font-semibold" : "text-base font-semibold",
30955
30988
  required: i.isRequired,
30956
- children: eJ(i, t)
30989
+ children: tJ(i, t)
30957
30990
  }),
30958
30991
  i.description && /* @__PURE__ */ H(aI, { children: i.description }),
30959
- s
30992
+ u
30960
30993
  ]
30961
30994
  });
30962
30995
  }
30963
30996
  //#endregion
30964
30997
  //#region src/composed/PasswordInput/PasswordInput.tsx
30965
- function PJ({ groupClassName: e, showLabel: t = "Show password", hideLabel: n = "Hide password", hideToggle: r = !1, className: i, disabled: a, ...o }) {
30998
+ function FJ({ groupClassName: e, showLabel: t = "Show password", hideLabel: n = "Hide password", hideToggle: r = !1, className: i, disabled: a, ...o }) {
30966
30999
  let [s, c] = V(!1);
30967
31000
  return /* @__PURE__ */ U(nM, {
30968
31001
  className: e,
@@ -30988,14 +31021,14 @@ function PJ({ groupClassName: e, showLabel: t = "Show password", hideLabel: n =
30988
31021
  })]
30989
31022
  });
30990
31023
  }
30991
- PJ.displayName = "PasswordInput";
31024
+ FJ.displayName = "PasswordInput";
30992
31025
  //#endregion
30993
31026
  //#region src/composed/JsonSchemaForm/fields/string/StringField.tsx
30994
- function FJ({ node: e, name: t }) {
30995
- let { control: n, basePath: r, disabled: i } = Iq(), { schema: a } = e, o = t ? r ? `${r}.${t}` : t : r, { field: s, fieldState: c } = QK({
31027
+ function IJ({ node: e, name: t }) {
31028
+ let { control: n, basePath: r, disabled: i } = Pq(), { schema: a } = e, o = t ? r ? `${r}.${t}` : t : r, { field: s, fieldState: c } = ZK({
30996
31029
  control: n,
30997
31030
  name: o
30998
- }), l = eJ(a, t), u = i || a.readOnly === !0, d = c.invalid, f = {
31031
+ }), l = tJ(a, t), u = i || a.readOnly === !0, d = c.invalid, f = {
30999
31032
  id: o,
31000
31033
  value: typeof s.value == "string" ? s.value : "",
31001
31034
  onChange: s.onChange,
@@ -31014,7 +31047,7 @@ function FJ({ node: e, name: t }) {
31014
31047
  required: a.isRequired,
31015
31048
  children: l
31016
31049
  }),
31017
- a.format === "text" ? /* @__PURE__ */ H(tM, { ...f }) : a.format === "password" ? /* @__PURE__ */ H(PJ, {
31050
+ a.format === "text" ? /* @__PURE__ */ H(tM, { ...f }) : a.format === "password" ? /* @__PURE__ */ H(FJ, {
31018
31051
  ...f,
31019
31052
  pattern: a.pattern
31020
31053
  }) : /* @__PURE__ */ H(eM, {
@@ -31023,55 +31056,47 @@ function FJ({ node: e, name: t }) {
31023
31056
  pattern: a.pattern
31024
31057
  }),
31025
31058
  a.description && /* @__PURE__ */ H(aI, { children: a.description }),
31026
- /* @__PURE__ */ H(sI, { errors: Zq(c.error) })
31059
+ /* @__PURE__ */ H(sI, { errors: Qq(c.error) })
31027
31060
  ]
31028
31061
  });
31029
31062
  }
31030
31063
  //#endregion
31031
31064
  //#region src/composed/JsonSchemaForm/SchemaField.tsx
31032
- function IJ({ node: e, name: t, depth: n = 0 }) {
31033
- let { basePath: r } = Iq(), { schema: i } = e, a = t ?? "", o = t ? r ? `${r}.${t}` : t : r, s = B(() => [o], [o]), c = B(() => e.displayIf ? LJ(e.displayIf, r) : void 0, [e.displayIf, r]);
31065
+ function LJ({ node: e, name: t, depth: n = 0 }) {
31066
+ let { basePath: r } = Pq(), { schema: i } = e, a = t ?? "", o = t ? r ? `${r}.${t}` : t : r, s = B(() => [o], [o]), c = B(() => e.displayIf ? Rq(e.displayIf, r) : void 0, [e.displayIf, r]);
31034
31067
  if (i.deprecated === !0) return null;
31035
31068
  let l = RJ(e, a, t, n);
31036
- return l === null ? null : c ? /* @__PURE__ */ H(Rq, {
31069
+ return l === null ? null : c ? /* @__PURE__ */ H(Iq, {
31037
31070
  condition: c,
31038
31071
  unregisterOnHide: s,
31039
31072
  children: l
31040
31073
  }) : l;
31041
31074
  }
31042
- function LJ(e, t) {
31043
- let n = t === "" ? [] : t.split("."), r = /* @__PURE__ */ new Map();
31044
- for (let [t, i] of e.$eq) {
31045
- let e = t.split(".").map((e, t) => e === "*" && n[t] !== void 0 && /^\d+$/.test(n[t]) ? n[t] : e).join(".");
31046
- r.set(e, i);
31047
- }
31048
- return { $eq: r };
31049
- }
31050
31075
  function RJ(e, t, n, r) {
31051
31076
  let { schema: i } = e, a = zJ(i.type);
31052
- return Array.isArray(i.enum) && i.enum.length > 0 || dJ(i) ? /* @__PURE__ */ H(yJ, {
31077
+ return Array.isArray(i.enum) && i.enum.length > 0 || fJ(i) ? /* @__PURE__ */ H(bJ, {
31053
31078
  node: e,
31054
31079
  name: t
31055
- }) : fJ(i) ? /* @__PURE__ */ H(xJ, {
31080
+ }) : pJ(i) ? /* @__PURE__ */ H(SJ, {
31056
31081
  node: e,
31057
31082
  name: t
31058
- }) : pJ(i) ? /* @__PURE__ */ H(oJ, {
31083
+ }) : mJ(i) ? /* @__PURE__ */ H(sJ, {
31059
31084
  node: e,
31060
31085
  name: t
31061
- }) : a === "null" ? /* @__PURE__ */ H(CJ, {}) : a === "boolean" ? /* @__PURE__ */ H(uJ, {
31086
+ }) : a === "null" ? /* @__PURE__ */ H(wJ, {}) : a === "boolean" ? /* @__PURE__ */ H(dJ, {
31062
31087
  node: e,
31063
31088
  name: t
31064
- }) : a === "integer" || a === "number" ? /* @__PURE__ */ H(wJ, {
31089
+ }) : a === "integer" || a === "number" ? /* @__PURE__ */ H(TJ, {
31065
31090
  node: e,
31066
31091
  name: t
31067
- }) : a === "string" ? /* @__PURE__ */ H(FJ, {
31092
+ }) : a === "string" ? /* @__PURE__ */ H(IJ, {
31068
31093
  node: e,
31069
31094
  name: t
31070
- }) : i.properties || a === "object" || mJ(i) || hJ(i) ? /* @__PURE__ */ H(NJ, {
31095
+ }) : i.properties || a === "object" || hJ(i) || gJ(i) ? /* @__PURE__ */ H(PJ, {
31071
31096
  node: e,
31072
31097
  name: n,
31073
31098
  depth: r
31074
- }) : a === "array" && i.items && !Array.isArray(i.items) ? /* @__PURE__ */ H(rJ, {
31099
+ }) : a === "array" && i.items && !Array.isArray(i.items) ? /* @__PURE__ */ H(iJ, {
31075
31100
  node: e,
31076
31101
  name: n,
31077
31102
  depth: r
@@ -31098,7 +31123,7 @@ function HJ(e) {
31098
31123
  }
31099
31124
  t.properties = n;
31100
31125
  }
31101
- return t.items &&= Array.isArray(t.items) ? t.items.map(HJ) : HJ(t.items), t.oneOf &&= t.oneOf.map(HJ), t.anyOf &&= t.anyOf.map(HJ), t.allOf &&= t.allOf.map(HJ), t;
31126
+ return t.items &&= Array.isArray(t.items) ? t.items.map(HJ) : HJ(t.items), t.oneOf &&= t.oneOf.map(HJ), t.anyOf &&= t.anyOf.map(HJ), t.allOf &&= t.allOf.map(HJ), t.dependencies &&= zq(t.dependencies, HJ), t;
31102
31127
  }
31103
31128
  //#endregion
31104
31129
  //#region src/composed/JsonSchemaForm/schema/preprocess/relaxDeprecated.ts
@@ -31111,12 +31136,12 @@ function UJ(e) {
31111
31136
  for (let [r, i] of Object.entries(e.properties)) i.deprecated === !0 && n.push(r), t.properties[r] = UJ(i);
31112
31137
  n.length > 0 && e.required && (t.required = e.required.filter((e) => !n.includes(e)));
31113
31138
  }
31114
- return e.items && !Array.isArray(e.items) && (t.items = UJ(e.items)), e.oneOf && (t.oneOf = e.oneOf.filter((e) => e.deprecated !== !0).map(UJ)), e.anyOf && (t.anyOf = e.anyOf.filter((e) => e.deprecated !== !0).map(UJ)), t;
31139
+ return e.items && !Array.isArray(e.items) && (t.items = UJ(e.items)), e.oneOf && (t.oneOf = e.oneOf.filter((e) => e.deprecated !== !0).map(UJ)), e.anyOf && (t.anyOf = e.anyOf.filter((e) => e.deprecated !== !0).map(UJ)), e.dependencies && (t.dependencies = zq(e.dependencies, UJ)), t;
31115
31140
  }
31116
31141
  //#endregion
31117
31142
  //#region src/composed/JsonSchemaForm/schema/buildIndex.ts
31118
31143
  function WJ(e, t = "") {
31119
- let n = VJ(UJ(zq(Kq(e)))), r = /* @__PURE__ */ new Map();
31144
+ let n = VJ(UJ(Bq(qq(e)))), r = /* @__PURE__ */ new Map();
31120
31145
  return {
31121
31146
  root: GJ(n, "", !1, r, "", t),
31122
31147
  nodeByPath: r,
@@ -31129,7 +31154,7 @@ function GJ(e, t, n, r, i = "", a = "") {
31129
31154
  schema: e,
31130
31155
  isRequired: n
31131
31156
  };
31132
- if (e.gioConfig?.displayIf && (o.displayIf = YJ(e.gioConfig.displayIf, i, a)), e.properties) {
31157
+ if (e.gioConfig?.displayIf && (o.displayIf = XJ(e.gioConfig.displayIf, i, a)), e.properties) {
31133
31158
  let n = new Set(e.required ?? []), i = /* @__PURE__ */ new Map();
31134
31159
  for (let [o, s] of Object.entries(e.properties)) {
31135
31160
  let e = t ? `${t}.${o}` : o;
@@ -31142,7 +31167,11 @@ function GJ(e, t, n, r, i = "", a = "") {
31142
31167
  o.items = GJ(e.items, n, !1, r, t, a);
31143
31168
  }
31144
31169
  let s = e.oneOf ?? e.anyOf;
31145
- return Array.isArray(s) && s.length > 0 && (o.variants = KJ(s).map((e) => qJ(e, t, a))), r.set(t, o), o;
31170
+ if (Array.isArray(s) && s.length > 0 && (o.variants = KJ(s).map((e) => qJ(e, t, a))), e.dependencies) {
31171
+ let n = QJ(e.dependencies, t, a);
31172
+ n.length > 0 && (o.dependencyBranches = n);
31173
+ }
31174
+ return r.set(t, o), o;
31146
31175
  }
31147
31176
  function KJ(e) {
31148
31177
  let t = /* @__PURE__ */ new Set();
@@ -31151,27 +31180,38 @@ function KJ(e) {
31151
31180
  function qJ(e, t, n) {
31152
31181
  let r = new Set(e.required ?? []), i = /* @__PURE__ */ new Map(), a = [];
31153
31182
  for (let [o, s] of Object.entries(e.properties ?? {})) {
31154
- s.const !== void 0 && a.push({
31183
+ let e = JJ(s);
31184
+ e && a.push({
31155
31185
  key: o,
31156
- value: s.const
31186
+ value: e.value
31157
31187
  });
31158
- let e = t ? `${t}.${o}` : o;
31159
- i.set(o, JJ(s, e, r.has(o), t, n));
31188
+ let c = t ? `${t}.${o}` : o;
31189
+ i.set(o, YJ(s, c, r.has(o), t, n));
31190
+ }
31191
+ let o;
31192
+ if (e.dependencies) {
31193
+ let r = QJ(e.dependencies, t, n);
31194
+ r.length > 0 && (o = r);
31160
31195
  }
31161
31196
  return {
31162
31197
  title: typeof e.title == "string" ? e.title : void 0,
31163
31198
  consts: a,
31164
31199
  properties: i,
31200
+ dependencyBranches: o,
31165
31201
  raw: e
31166
31202
  };
31167
31203
  }
31168
- function JJ(e, t, n, r, i) {
31204
+ function JJ(e) {
31205
+ if (e.const !== void 0) return { value: e.const };
31206
+ if (Array.isArray(e.enum) && e.enum.length === 1) return { value: e.enum[0] };
31207
+ }
31208
+ function YJ(e, t, n, r, i) {
31169
31209
  return GJ(e, t, n, /* @__PURE__ */ new Map(), r, i);
31170
31210
  }
31171
- function YJ(e, t, n) {
31211
+ function XJ(e, t, n) {
31172
31212
  let r = /* @__PURE__ */ new Map();
31173
31213
  for (let [i, a] of Object.entries(e.$eq)) {
31174
- let e = XJ(i, t, n);
31214
+ let e = ZJ(i, t, n);
31175
31215
  if (e === null) {
31176
31216
  console.warn(`[JsonSchemaForm] gioConfig path "${i}" is unsupported (expected value.X / ./X / ../X).`);
31177
31217
  continue;
@@ -31180,7 +31220,7 @@ function YJ(e, t, n) {
31180
31220
  }
31181
31221
  return { $eq: r };
31182
31222
  }
31183
- function XJ(e, t, n) {
31223
+ function ZJ(e, t, n) {
31184
31224
  let r = null;
31185
31225
  if (e.startsWith("value.")) r = e.slice(6);
31186
31226
  else if (e.startsWith("./")) {
@@ -31194,9 +31234,35 @@ function XJ(e, t, n) {
31194
31234
  }
31195
31235
  return r === null ? null : n ? `${n}.${r}` : r;
31196
31236
  }
31237
+ function QJ(e, t, n) {
31238
+ return Object.entries(e).flatMap(([e, r]) => {
31239
+ let i = $J(e, r);
31240
+ if (!i) return [];
31241
+ let a = t ? `${t}.${e}` : e;
31242
+ return i.map((r) => eY(r, e, a, t, n));
31243
+ });
31244
+ }
31245
+ function $J(e, t) {
31246
+ let n = typeof t == "object" && t && !Array.isArray(t) ? t : null;
31247
+ return n?.oneOf?.length ? n.oneOf.every((t) => t.properties?.[e] !== void 0 && JJ(t.properties[e]) !== void 0) ? n.oneOf : (console.warn(`[JsonSchemaForm] dependencies."${e}".oneOf has at least one variant missing a \`const\` (or single-value \`enum\`) discriminator on "${e}". Skipping the whole dependency (no partial unfold).`), null) : (console.warn(`[JsonSchemaForm] dependencies."${e}" is not a discriminator-oneOf shape (only \`{ oneOf: [...] }\` with const discriminators is supported). Skipping.`), null);
31248
+ }
31249
+ function eY(e, t, n, r, i) {
31250
+ let a = JJ(e.properties[t]).value, o = new Set((e.required ?? []).filter((e) => e !== t)), s = /* @__PURE__ */ new Map();
31251
+ for (let [n, a] of Object.entries(e.properties ?? {})) {
31252
+ if (n === t) continue;
31253
+ let e = r ? `${r}.${n}` : n;
31254
+ s.set(n, YJ(a, e, o.has(n), r, i));
31255
+ }
31256
+ let c = i ? `${i}.${n}` : n;
31257
+ return {
31258
+ showIf: { $eq: new Map([[c, a]]) },
31259
+ required: Array.from(o),
31260
+ properties: s
31261
+ };
31262
+ }
31197
31263
  //#endregion
31198
31264
  //#region src/composed/JsonSchemaForm/JsonSchemaForm.tsx
31199
- function ZJ({ schema: e, control: t, name: n = "", disabled: r = !1, context: i }) {
31265
+ function tY({ schema: e, control: t, name: n = "", disabled: r = !1, context: i }) {
31200
31266
  let a = B(() => {
31201
31267
  try {
31202
31268
  let a = WJ(e, n);
@@ -31224,9 +31290,9 @@ function ZJ({ schema: e, control: t, name: n = "", disabled: r = !1, context: i
31224
31290
  r,
31225
31291
  i
31226
31292
  ]);
31227
- return a.ok ? /* @__PURE__ */ H(Fq.Provider, {
31293
+ return a.ok ? /* @__PURE__ */ H(Nq.Provider, {
31228
31294
  value: a.contextValue,
31229
- children: /* @__PURE__ */ H(IJ, { node: a.root })
31295
+ children: /* @__PURE__ */ H(LJ, { node: a.root })
31230
31296
  }) : /* @__PURE__ */ U("p", {
31231
31297
  role: "alert",
31232
31298
  className: "text-sm text-destructive",
@@ -31235,7 +31301,7 @@ function ZJ({ schema: e, control: t, name: n = "", disabled: r = !1, context: i
31235
31301
  }
31236
31302
  //#endregion
31237
31303
  //#region src/composed/JsonSchemaForm/form-bindings/composeResolvers.ts
31238
- function QJ(...e) {
31304
+ function nY(...e) {
31239
31305
  return async (t, n, r) => {
31240
31306
  let i = await Promise.all(e.map((e) => e(t, n, r))), a = {};
31241
31307
  for (let e of i) Object.assign(a, e.errors);
@@ -31250,7 +31316,7 @@ function QJ(...e) {
31250
31316
  }
31251
31317
  //#endregion
31252
31318
  //#region ../../node_modules/ajv/dist/compile/codegen/code.js
31253
- var $J = /* @__PURE__ */ W(((e) => {
31319
+ var rY = /* @__PURE__ */ W(((e) => {
31254
31320
  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;
31255
31321
  var t = class {};
31256
31322
  e._CodeOrName = t, e.IDENTIFIER = /^[a-z$_][a-z$_0-9]*$/i;
@@ -31355,9 +31421,9 @@ var $J = /* @__PURE__ */ W(((e) => {
31355
31421
  return new r(e.toString());
31356
31422
  }
31357
31423
  e.regexpCode = g;
31358
- })), eY = /* @__PURE__ */ W(((e) => {
31424
+ })), iY = /* @__PURE__ */ W(((e) => {
31359
31425
  Object.defineProperty(e, "__esModule", { value: !0 }), e.ValueScope = e.ValueScopeName = e.Scope = e.varKinds = e.UsedValueState = void 0;
31360
- var t = $J(), n = class extends Error {
31426
+ var t = rY(), n = class extends Error {
31361
31427
  constructor(e) {
31362
31428
  super(`CodeGen: "code" for ${e} not defined`), this.value = e.value;
31363
31429
  }
@@ -31466,9 +31532,9 @@ var $J = /* @__PURE__ */ W(((e) => {
31466
31532
  return c;
31467
31533
  }
31468
31534
  };
31469
- })), tY = /* @__PURE__ */ W(((e) => {
31535
+ })), aY = /* @__PURE__ */ W(((e) => {
31470
31536
  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;
31471
- var t = $J(), n = eY(), r = $J();
31537
+ var t = rY(), n = iY(), r = rY();
31472
31538
  Object.defineProperty(e, "_", {
31473
31539
  enumerable: !0,
31474
31540
  get: function() {
@@ -31510,7 +31576,7 @@ var $J = /* @__PURE__ */ W(((e) => {
31510
31576
  return r.Name;
31511
31577
  }
31512
31578
  });
31513
- var i = eY();
31579
+ var i = iY();
31514
31580
  Object.defineProperty(e, "Scope", {
31515
31581
  enumerable: !0,
31516
31582
  get: function() {
@@ -31981,9 +32047,9 @@ var $J = /* @__PURE__ */ W(((e) => {
31981
32047
  function L(e) {
31982
32048
  return e instanceof t.Name ? e : (0, t._)`(${e})`;
31983
32049
  }
31984
- })), nY = /* @__PURE__ */ W(((e) => {
32050
+ })), oY = /* @__PURE__ */ W(((e) => {
31985
32051
  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;
31986
- var t = tY(), n = $J();
32052
+ var t = aY(), n = rY();
31987
32053
  function r(e) {
31988
32054
  let t = {};
31989
32055
  for (let n of e) t[n] = !0;
@@ -32106,9 +32172,9 @@ var $J = /* @__PURE__ */ W(((e) => {
32106
32172
  }
32107
32173
  }
32108
32174
  e.checkStrictMode = x;
32109
- })), rY = /* @__PURE__ */ W(((e) => {
32175
+ })), sY = /* @__PURE__ */ W(((e) => {
32110
32176
  Object.defineProperty(e, "__esModule", { value: !0 });
32111
- var t = tY();
32177
+ var t = aY();
32112
32178
  e.default = {
32113
32179
  data: new t.Name("data"),
32114
32180
  valCxt: new t.Name("valCxt"),
@@ -32127,9 +32193,9 @@ var $J = /* @__PURE__ */ W(((e) => {
32127
32193
  jsonLen: new t.Name("jsonLen"),
32128
32194
  jsonPart: new t.Name("jsonPart")
32129
32195
  };
32130
- })), iY = /* @__PURE__ */ W(((e) => {
32196
+ })), cY = /* @__PURE__ */ W(((e) => {
32131
32197
  Object.defineProperty(e, "__esModule", { value: !0 }), e.extendErrors = e.resetErrorsCount = e.reportExtraError = e.reportError = e.keyword$DataError = e.keywordError = void 0;
32132
- var t = tY(), n = nY(), r = rY();
32198
+ var t = aY(), n = oY(), r = sY();
32133
32199
  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)` };
32134
32200
  function i(n, r = e.keywordError, i, a) {
32135
32201
  let { it: o } = n, { gen: s, compositeRule: u, allErrors: f } = o, p = d(n, r, i);
@@ -32191,9 +32257,9 @@ var $J = /* @__PURE__ */ W(((e) => {
32191
32257
  let { keyword: o, data: s, schemaValue: c, it: l } = e, { opts: d, propertyName: f, topSchemaRef: p, schemaPath: m } = l;
32192
32258
  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]);
32193
32259
  }
32194
- })), aY = /* @__PURE__ */ W(((e) => {
32260
+ })), lY = /* @__PURE__ */ W(((e) => {
32195
32261
  Object.defineProperty(e, "__esModule", { value: !0 }), e.boolOrEmptySchema = e.topBoolOrEmptySchema = void 0;
32196
- var t = iY(), n = tY(), r = rY(), i = { message: "boolean schema is false" };
32262
+ var t = cY(), n = aY(), r = sY(), i = { message: "boolean schema is false" };
32197
32263
  function a(e) {
32198
32264
  let { gen: t, schema: i, validateName: a } = e;
32199
32265
  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));
@@ -32217,7 +32283,7 @@ var $J = /* @__PURE__ */ W(((e) => {
32217
32283
  };
32218
32284
  (0, t.reportError)(o, i, void 0, n);
32219
32285
  }
32220
- })), oY = /* @__PURE__ */ W(((e) => {
32286
+ })), uY = /* @__PURE__ */ W(((e) => {
32221
32287
  Object.defineProperty(e, "__esModule", { value: !0 }), e.getRules = e.isJSONType = void 0;
32222
32288
  var t = new Set([
32223
32289
  "string",
@@ -32271,7 +32337,7 @@ var $J = /* @__PURE__ */ W(((e) => {
32271
32337
  };
32272
32338
  }
32273
32339
  e.getRules = r;
32274
- })), sY = /* @__PURE__ */ W(((e) => {
32340
+ })), dY = /* @__PURE__ */ W(((e) => {
32275
32341
  Object.defineProperty(e, "__esModule", { value: !0 }), e.shouldUseRule = e.shouldUseGroup = e.schemaHasRulesForType = void 0;
32276
32342
  function t({ schema: e, self: t }, r) {
32277
32343
  let i = t.RULES.types[r];
@@ -32286,9 +32352,9 @@ var $J = /* @__PURE__ */ W(((e) => {
32286
32352
  return e[t.keyword] !== void 0 || t.definition.implements?.some((t) => e[t] !== void 0);
32287
32353
  }
32288
32354
  e.shouldUseRule = r;
32289
- })), cY = /* @__PURE__ */ W(((e) => {
32355
+ })), fY = /* @__PURE__ */ W(((e) => {
32290
32356
  Object.defineProperty(e, "__esModule", { value: !0 }), e.reportTypeError = e.checkDataTypes = e.checkDataType = e.coerceAndCheckDataType = e.getJSONTypes = e.getSchemaTypes = e.DataType = void 0;
32291
- var t = oY(), n = sY(), r = iY(), i = tY(), a = nY(), o;
32357
+ var t = uY(), n = dY(), r = cY(), i = aY(), a = oY(), o;
32292
32358
  (function(e) {
32293
32359
  e[e.Correct = 0] = "Correct", e[e.Wrong = 1] = "Wrong";
32294
32360
  })(o || (e.DataType = o = {}));
@@ -32423,9 +32489,9 @@ var $J = /* @__PURE__ */ W(((e) => {
32423
32489
  it: e
32424
32490
  };
32425
32491
  }
32426
- })), lY = /* @__PURE__ */ W(((e) => {
32492
+ })), pY = /* @__PURE__ */ W(((e) => {
32427
32493
  Object.defineProperty(e, "__esModule", { value: !0 }), e.assignDefaults = void 0;
32428
- var t = tY(), n = nY();
32494
+ var t = aY(), n = oY();
32429
32495
  function r(e, t) {
32430
32496
  let { properties: n, items: r } = e.schema;
32431
32497
  if (t === "object" && n) for (let t in n) i(e, t, n[t].default);
@@ -32443,9 +32509,9 @@ var $J = /* @__PURE__ */ W(((e) => {
32443
32509
  let u = (0, t._)`${l} === undefined`;
32444
32510
  c.useDefaults === "empty" && (u = (0, t._)`${u} || ${l} === null || ${l} === ""`), a.if(u, (0, t._)`${l} = ${(0, t.stringify)(i)}`);
32445
32511
  }
32446
- })), uY = /* @__PURE__ */ W(((e) => {
32512
+ })), mY = /* @__PURE__ */ W(((e) => {
32447
32513
  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;
32448
- var t = tY(), n = nY(), r = rY(), i = nY();
32514
+ var t = aY(), n = oY(), r = sY(), i = oY();
32449
32515
  function a(e, n) {
32450
32516
  let { gen: r, data: i, it: a } = e;
32451
32517
  r.if(d(r, i, n, a.opts.ownProperties), () => {
@@ -32547,9 +32613,9 @@ var $J = /* @__PURE__ */ W(((e) => {
32547
32613
  })), e.result(s, () => e.reset(), () => e.error(!0));
32548
32614
  }
32549
32615
  e.validateUnion = v;
32550
- })), dY = /* @__PURE__ */ W(((e) => {
32616
+ })), hY = /* @__PURE__ */ W(((e) => {
32551
32617
  Object.defineProperty(e, "__esModule", { value: !0 }), e.validateKeywordUsage = e.validSchemaType = e.funcKeywordCode = e.macroKeywordCode = void 0;
32552
- var t = tY(), n = rY(), r = uY(), i = iY();
32618
+ var t = aY(), n = sY(), r = mY(), i = cY();
32553
32619
  function a(e, n) {
32554
32620
  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);
32555
32621
  s.opts.validateSchema !== !1 && s.self.validateSchema(c, !0);
@@ -32628,9 +32694,9 @@ var $J = /* @__PURE__ */ W(((e) => {
32628
32694
  }
32629
32695
  }
32630
32696
  e.validateKeywordUsage = f;
32631
- })), fY = /* @__PURE__ */ W(((e) => {
32697
+ })), gY = /* @__PURE__ */ W(((e) => {
32632
32698
  Object.defineProperty(e, "__esModule", { value: !0 }), e.extendSubschemaMode = e.extendSubschemaData = e.getSubschema = void 0;
32633
- var t = tY(), n = nY();
32699
+ var t = aY(), n = oY();
32634
32700
  function r(e, { keyword: r, schemaProp: i, schema: a, schemaPath: o, errSchemaPath: s, topSchemaRef: c }) {
32635
32701
  if (r !== void 0 && a !== void 0) throw Error("both \"keyword\" and \"schema\" passed, only one allowed");
32636
32702
  if (r !== void 0) {
@@ -32674,7 +32740,7 @@ var $J = /* @__PURE__ */ W(((e) => {
32674
32740
  r !== void 0 && (e.compositeRule = r), i !== void 0 && (e.createErrors = i), a !== void 0 && (e.allErrors = a), e.jtdDiscriminator = t, e.jtdMetadata = n;
32675
32741
  }
32676
32742
  e.extendSubschemaMode = a;
32677
- })), pY = /* @__PURE__ */ W(((e, t) => {
32743
+ })), _Y = /* @__PURE__ */ W(((e, t) => {
32678
32744
  t.exports = function e(t, n) {
32679
32745
  if (t === n) return !0;
32680
32746
  if (t && n && typeof t == "object" && typeof n == "object") {
@@ -32698,7 +32764,7 @@ var $J = /* @__PURE__ */ W(((e) => {
32698
32764
  }
32699
32765
  return t !== t && n !== n;
32700
32766
  };
32701
- })), mY = /* @__PURE__ */ W(((e, t) => {
32767
+ })), vY = /* @__PURE__ */ W(((e, t) => {
32702
32768
  var n = t.exports = function(e, t, n) {
32703
32769
  typeof t == "function" && (n = t, t = {}), n = t.cb || n;
32704
32770
  var i = typeof n == "function" ? n : n.pre || function() {}, a = n.post || function() {};
@@ -32761,9 +32827,9 @@ var $J = /* @__PURE__ */ W(((e) => {
32761
32827
  function i(e) {
32762
32828
  return e.replace(/~/g, "~0").replace(/\//g, "~1");
32763
32829
  }
32764
- })), hY = /* @__PURE__ */ W(((e) => {
32830
+ })), yY = /* @__PURE__ */ W(((e) => {
32765
32831
  Object.defineProperty(e, "__esModule", { value: !0 }), e.getSchemaRefs = e.resolveUrl = e.normalizeId = e._getFullPath = e.getFullPath = e.inlineRef = void 0;
32766
- var t = nY(), n = pY(), r = mY(), i = new Set([
32832
+ var t = oY(), n = _Y(), r = vY(), i = new Set([
32767
32833
  "type",
32768
32834
  "format",
32769
32835
  "pattern",
@@ -32852,9 +32918,9 @@ var $J = /* @__PURE__ */ W(((e) => {
32852
32918
  }
32853
32919
  }
32854
32920
  e.getSchemaRefs = h;
32855
- })), gY = /* @__PURE__ */ W(((e) => {
32921
+ })), bY = /* @__PURE__ */ W(((e) => {
32856
32922
  Object.defineProperty(e, "__esModule", { value: !0 }), e.getData = e.KeywordCxt = e.validateFunctionCode = void 0;
32857
- var t = aY(), n = cY(), r = sY(), i = cY(), a = lY(), o = dY(), s = fY(), c = tY(), l = rY(), u = hY(), d = nY(), f = iY();
32923
+ var t = lY(), n = fY(), r = dY(), i = fY(), a = pY(), o = hY(), s = gY(), c = aY(), l = sY(), u = yY(), d = oY(), f = cY();
32858
32924
  function p(e) {
32859
32925
  if (S(e) && (w(e), x(e))) {
32860
32926
  _(e);
@@ -33144,23 +33210,23 @@ var $J = /* @__PURE__ */ W(((e) => {
33144
33210
  }
33145
33211
  }
33146
33212
  e.getData = ae;
33147
- })), _Y = /* @__PURE__ */ W(((e) => {
33213
+ })), xY = /* @__PURE__ */ W(((e) => {
33148
33214
  Object.defineProperty(e, "__esModule", { value: !0 }), e.default = class extends Error {
33149
33215
  constructor(e) {
33150
33216
  super("validation failed"), this.errors = e, this.ajv = this.validation = !0;
33151
33217
  }
33152
33218
  };
33153
- })), vY = /* @__PURE__ */ W(((e) => {
33219
+ })), SY = /* @__PURE__ */ W(((e) => {
33154
33220
  Object.defineProperty(e, "__esModule", { value: !0 });
33155
- var t = hY();
33221
+ var t = yY();
33156
33222
  e.default = class extends Error {
33157
33223
  constructor(e, n, r, i) {
33158
33224
  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));
33159
33225
  }
33160
33226
  };
33161
- })), yY = /* @__PURE__ */ W(((e) => {
33227
+ })), CY = /* @__PURE__ */ W(((e) => {
33162
33228
  Object.defineProperty(e, "__esModule", { value: !0 }), e.resolveSchema = e.getCompilingSchema = e.resolveRef = e.compileSchema = e.SchemaEnv = void 0;
33163
- var t = tY(), n = _Y(), r = rY(), i = hY(), a = nY(), o = gY(), s = class {
33229
+ var t = aY(), n = xY(), r = sY(), i = yY(), a = oY(), o = bY(), s = class {
33164
33230
  constructor(e) {
33165
33231
  this.refs = {}, this.dynamicAnchors = {};
33166
33232
  let t;
@@ -33319,27 +33385,27 @@ var $J = /* @__PURE__ */ W(((e) => {
33319
33385
  baseId: t
33320
33386
  }), o.schema !== o.root.schema) return o;
33321
33387
  }
33322
- })), bY = /* @__PURE__ */ xe({
33323
- $id: () => xY,
33388
+ })), wY = /* @__PURE__ */ xe({
33389
+ $id: () => TY,
33324
33390
  additionalProperties: () => !1,
33325
- default: () => EY,
33326
- description: () => SY,
33327
- properties: () => TY,
33328
- required: () => wY,
33329
- type: () => CY
33330
- }), xY, SY, CY, wY, TY, EY, DY = be((() => {
33331
- xY = "https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#", SY = "Meta-schema for $data reference (JSON AnySchema extension proposal)", CY = "object", wY = ["$data"], TY = { $data: {
33391
+ default: () => AY,
33392
+ description: () => EY,
33393
+ properties: () => kY,
33394
+ required: () => OY,
33395
+ type: () => DY
33396
+ }), TY, EY, DY, OY, kY, AY, jY = be((() => {
33397
+ TY = "https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#", EY = "Meta-schema for $data reference (JSON AnySchema extension proposal)", DY = "object", OY = ["$data"], kY = { $data: {
33332
33398
  type: "string",
33333
33399
  anyOf: [{ format: "relative-json-pointer" }, { format: "json-pointer" }]
33334
- } }, EY = {
33335
- $id: xY,
33336
- description: SY,
33337
- type: CY,
33338
- required: wY,
33339
- properties: TY,
33400
+ } }, AY = {
33401
+ $id: TY,
33402
+ description: EY,
33403
+ type: DY,
33404
+ required: OY,
33405
+ properties: kY,
33340
33406
  additionalProperties: !1
33341
33407
  };
33342
- })), OY = /* @__PURE__ */ W(((e, t) => {
33408
+ })), MY = /* @__PURE__ */ W(((e, t) => {
33343
33409
  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(/^[\da-f]{2}$/iu), a = RegExp.prototype.test.bind(/^[\da-z\-._~]$/iu), o = RegExp.prototype.test.bind(/^[\da-z\-._~!$&'()*+,;=:@/]$/iu);
33344
33410
  function s(e) {
33345
33411
  let t = "", n = 0, r = 0;
@@ -33551,8 +33617,8 @@ var $J = /* @__PURE__ */ W(((e) => {
33551
33617
  normalizeIPv6: f,
33552
33618
  stringArrayToHexStripped: s
33553
33619
  };
33554
- })), kY = /* @__PURE__ */ W(((e, t) => {
33555
- var { isUUID: n } = OY(), r = /([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-.:;=@]|%[\da-f]{2})+)/iu, i = [
33620
+ })), NY = /* @__PURE__ */ W(((e, t) => {
33621
+ var { isUUID: n } = MY(), r = /([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-.:;=@]|%[\da-f]{2})+)/iu, i = [
33556
33622
  "http",
33557
33623
  "https",
33558
33624
  "ws",
@@ -33657,8 +33723,8 @@ var $J = /* @__PURE__ */ W(((e) => {
33657
33723
  isValidSchemeName: a,
33658
33724
  getSchemeHandler: y
33659
33725
  };
33660
- })), AY = /* @__PURE__ */ W(((e, t) => {
33661
- var { normalizeIPv6: n, removeDotSegments: r, recomposeAuthority: i, normalizePercentEncoding: a, normalizePathEncoding: o, escapePreservingEscapes: s, reescapeHostDelimiters: c, isIPv4: l, nonSimpleDomain: u } = OY(), { SCHEMES: d, getSchemeHandler: f } = kY();
33726
+ })), PY = /* @__PURE__ */ W(((e, t) => {
33727
+ var { normalizeIPv6: n, removeDotSegments: r, recomposeAuthority: i, normalizePercentEncoding: a, normalizePathEncoding: o, escapePreservingEscapes: s, reescapeHostDelimiters: c, isIPv4: l, nonSimpleDomain: u } = MY(), { SCHEMES: d, getSchemeHandler: f } = NY();
33662
33728
  function p(e, t) {
33663
33729
  return typeof e == "string" ? e = S(e, t) : typeof e == "object" && (e = x(_(e, t), t)), e;
33664
33730
  }
@@ -33772,20 +33838,20 @@ var $J = /* @__PURE__ */ W(((e) => {
33772
33838
  parse: x
33773
33839
  };
33774
33840
  t.exports = T, t.exports.default = T, t.exports.fastUri = T;
33775
- })), jY = /* @__PURE__ */ W(((e) => {
33841
+ })), FY = /* @__PURE__ */ W(((e) => {
33776
33842
  Object.defineProperty(e, "__esModule", { value: !0 });
33777
- var t = AY();
33843
+ var t = PY();
33778
33844
  t.code = "require(\"ajv/dist/runtime/uri\").default", e.default = t;
33779
- })), MY = /* @__PURE__ */ W(((e) => {
33845
+ })), IY = /* @__PURE__ */ W(((e) => {
33780
33846
  Object.defineProperty(e, "__esModule", { value: !0 }), e.CodeGen = e.Name = e.nil = e.stringify = e.str = e._ = e.KeywordCxt = void 0;
33781
- var t = gY();
33847
+ var t = bY();
33782
33848
  Object.defineProperty(e, "KeywordCxt", {
33783
33849
  enumerable: !0,
33784
33850
  get: function() {
33785
33851
  return t.KeywordCxt;
33786
33852
  }
33787
33853
  });
33788
- var n = tY();
33854
+ var n = aY();
33789
33855
  Object.defineProperty(e, "_", {
33790
33856
  enumerable: !0,
33791
33857
  get: function() {
@@ -33817,7 +33883,7 @@ var $J = /* @__PURE__ */ W(((e) => {
33817
33883
  return n.CodeGen;
33818
33884
  }
33819
33885
  });
33820
- var r = _Y(), i = vY(), a = oY(), o = yY(), s = tY(), c = hY(), l = cY(), u = nY(), d = (DY(), we(bY).default), f = jY(), p = (e, t) => new RegExp(e, t);
33886
+ var r = xY(), i = SY(), a = uY(), o = CY(), s = aY(), c = yY(), l = fY(), u = oY(), d = (jY(), we(wY).default), f = FY(), p = (e, t) => new RegExp(e, t);
33821
33887
  p.code = "new RegExp";
33822
33888
  var m = [
33823
33889
  "removeAdditional",
@@ -34203,16 +34269,16 @@ var $J = /* @__PURE__ */ W(((e) => {
34203
34269
  function F(e) {
34204
34270
  return { anyOf: [e, P] };
34205
34271
  }
34206
- })), NY = /* @__PURE__ */ W(((e) => {
34272
+ })), LY = /* @__PURE__ */ W(((e) => {
34207
34273
  Object.defineProperty(e, "__esModule", { value: !0 }), e.default = {
34208
34274
  keyword: "id",
34209
34275
  code() {
34210
34276
  throw Error("NOT SUPPORTED: keyword \"id\", use \"$id\" for schema ID");
34211
34277
  }
34212
34278
  };
34213
- })), PY = /* @__PURE__ */ W(((e) => {
34279
+ })), RY = /* @__PURE__ */ W(((e) => {
34214
34280
  Object.defineProperty(e, "__esModule", { value: !0 }), e.callRef = e.getValidate = void 0;
34215
- var t = vY(), n = uY(), r = tY(), i = rY(), a = yY(), o = nY(), s = {
34281
+ var t = SY(), n = mY(), r = aY(), i = sY(), a = CY(), o = oY(), s = {
34216
34282
  keyword: "$ref",
34217
34283
  schemaType: "string",
34218
34284
  code(e) {
@@ -34285,9 +34351,9 @@ var $J = /* @__PURE__ */ W(((e) => {
34285
34351
  }
34286
34352
  }
34287
34353
  e.callRef = l, e.default = s;
34288
- })), FY = /* @__PURE__ */ W(((e) => {
34354
+ })), zY = /* @__PURE__ */ W(((e) => {
34289
34355
  Object.defineProperty(e, "__esModule", { value: !0 });
34290
- var t = NY(), n = PY();
34356
+ var t = LY(), n = RY();
34291
34357
  e.default = [
34292
34358
  "$schema",
34293
34359
  "$id",
@@ -34298,9 +34364,9 @@ var $J = /* @__PURE__ */ W(((e) => {
34298
34364
  t.default,
34299
34365
  n.default
34300
34366
  ];
34301
- })), IY = /* @__PURE__ */ W(((e) => {
34367
+ })), BY = /* @__PURE__ */ W(((e) => {
34302
34368
  Object.defineProperty(e, "__esModule", { value: !0 });
34303
- var t = tY(), n = t.operators, r = {
34369
+ var t = aY(), n = t.operators, r = {
34304
34370
  maximum: {
34305
34371
  okStr: "<=",
34306
34372
  ok: n.LTE,
@@ -34336,9 +34402,9 @@ var $J = /* @__PURE__ */ W(((e) => {
34336
34402
  e.fail$data((0, t._)`${i} ${r[n].fail} ${a} || isNaN(${i})`);
34337
34403
  }
34338
34404
  };
34339
- })), LY = /* @__PURE__ */ W(((e) => {
34405
+ })), VY = /* @__PURE__ */ W(((e) => {
34340
34406
  Object.defineProperty(e, "__esModule", { value: !0 });
34341
- var t = tY();
34407
+ var t = aY();
34342
34408
  e.default = {
34343
34409
  keyword: "multipleOf",
34344
34410
  type: "number",
@@ -34353,7 +34419,7 @@ var $J = /* @__PURE__ */ W(((e) => {
34353
34419
  e.fail$data((0, t._)`(${i} === 0 || (${s} = ${r}/${i}, ${c}))`);
34354
34420
  }
34355
34421
  };
34356
- })), RY = /* @__PURE__ */ W(((e) => {
34422
+ })), HY = /* @__PURE__ */ W(((e) => {
34357
34423
  Object.defineProperty(e, "__esModule", { value: !0 });
34358
34424
  function t(e) {
34359
34425
  let t = e.length, n = 0, r = 0, i;
@@ -34361,9 +34427,9 @@ var $J = /* @__PURE__ */ W(((e) => {
34361
34427
  return n;
34362
34428
  }
34363
34429
  e.default = t, t.code = "require(\"ajv/dist/runtime/ucs2length\").default";
34364
- })), zY = /* @__PURE__ */ W(((e) => {
34430
+ })), UY = /* @__PURE__ */ W(((e) => {
34365
34431
  Object.defineProperty(e, "__esModule", { value: !0 });
34366
- var t = tY(), n = nY(), r = RY();
34432
+ var t = aY(), n = oY(), r = HY();
34367
34433
  e.default = {
34368
34434
  keyword: ["maxLength", "minLength"],
34369
34435
  type: "string",
@@ -34381,9 +34447,9 @@ var $J = /* @__PURE__ */ W(((e) => {
34381
34447
  e.fail$data((0, t._)`${l} ${c} ${o}`);
34382
34448
  }
34383
34449
  };
34384
- })), BY = /* @__PURE__ */ W(((e) => {
34450
+ })), WY = /* @__PURE__ */ W(((e) => {
34385
34451
  Object.defineProperty(e, "__esModule", { value: !0 });
34386
- var t = uY(), n = nY(), r = tY();
34452
+ var t = mY(), n = oY(), r = aY();
34387
34453
  e.default = {
34388
34454
  keyword: "pattern",
34389
34455
  type: "string",
@@ -34404,9 +34470,9 @@ var $J = /* @__PURE__ */ W(((e) => {
34404
34470
  }
34405
34471
  }
34406
34472
  };
34407
- })), VY = /* @__PURE__ */ W(((e) => {
34473
+ })), GY = /* @__PURE__ */ W(((e) => {
34408
34474
  Object.defineProperty(e, "__esModule", { value: !0 });
34409
- var t = tY();
34475
+ var t = aY();
34410
34476
  e.default = {
34411
34477
  keyword: ["maxProperties", "minProperties"],
34412
34478
  type: "object",
@@ -34424,9 +34490,9 @@ var $J = /* @__PURE__ */ W(((e) => {
34424
34490
  e.fail$data((0, t._)`Object.keys(${r}).length ${a} ${i}`);
34425
34491
  }
34426
34492
  };
34427
- })), HY = /* @__PURE__ */ W(((e) => {
34493
+ })), KY = /* @__PURE__ */ W(((e) => {
34428
34494
  Object.defineProperty(e, "__esModule", { value: !0 });
34429
- var t = uY(), n = tY(), r = nY();
34495
+ var t = mY(), n = aY(), r = oY();
34430
34496
  e.default = {
34431
34497
  keyword: "required",
34432
34498
  type: "object",
@@ -34472,9 +34538,9 @@ var $J = /* @__PURE__ */ W(((e) => {
34472
34538
  }
34473
34539
  }
34474
34540
  };
34475
- })), UY = /* @__PURE__ */ W(((e) => {
34541
+ })), qY = /* @__PURE__ */ W(((e) => {
34476
34542
  Object.defineProperty(e, "__esModule", { value: !0 });
34477
- var t = tY();
34543
+ var t = aY();
34478
34544
  e.default = {
34479
34545
  keyword: ["maxItems", "minItems"],
34480
34546
  type: "array",
@@ -34492,13 +34558,13 @@ var $J = /* @__PURE__ */ W(((e) => {
34492
34558
  e.fail$data((0, t._)`${r}.length ${a} ${i}`);
34493
34559
  }
34494
34560
  };
34495
- })), WY = /* @__PURE__ */ W(((e) => {
34561
+ })), JY = /* @__PURE__ */ W(((e) => {
34496
34562
  Object.defineProperty(e, "__esModule", { value: !0 });
34497
- var t = pY();
34563
+ var t = _Y();
34498
34564
  t.code = "require(\"ajv/dist/runtime/equal\").default", e.default = t;
34499
- })), GY = /* @__PURE__ */ W(((e) => {
34565
+ })), YY = /* @__PURE__ */ W(((e) => {
34500
34566
  Object.defineProperty(e, "__esModule", { value: !0 });
34501
- var t = cY(), n = tY(), r = nY(), i = WY();
34567
+ var t = fY(), n = aY(), r = oY(), i = JY();
34502
34568
  e.default = {
34503
34569
  keyword: "uniqueItems",
34504
34570
  type: "array",
@@ -34539,9 +34605,9 @@ var $J = /* @__PURE__ */ W(((e) => {
34539
34605
  }
34540
34606
  }
34541
34607
  };
34542
- })), KY = /* @__PURE__ */ W(((e) => {
34608
+ })), XY = /* @__PURE__ */ W(((e) => {
34543
34609
  Object.defineProperty(e, "__esModule", { value: !0 });
34544
- var t = tY(), n = nY(), r = WY();
34610
+ var t = aY(), n = oY(), r = JY();
34545
34611
  e.default = {
34546
34612
  keyword: "const",
34547
34613
  $data: !0,
@@ -34554,9 +34620,9 @@ var $J = /* @__PURE__ */ W(((e) => {
34554
34620
  o || c && typeof c == "object" ? e.fail$data((0, t._)`!${(0, n.useFunc)(i, r.default)}(${a}, ${s})`) : e.fail((0, t._)`${c} !== ${a}`);
34555
34621
  }
34556
34622
  };
34557
- })), qY = /* @__PURE__ */ W(((e) => {
34623
+ })), ZY = /* @__PURE__ */ W(((e) => {
34558
34624
  Object.defineProperty(e, "__esModule", { value: !0 });
34559
- var t = tY(), n = nY(), r = WY();
34625
+ var t = aY(), n = oY(), r = JY();
34560
34626
  e.default = {
34561
34627
  keyword: "enum",
34562
34628
  schemaType: "array",
@@ -34586,9 +34652,9 @@ var $J = /* @__PURE__ */ W(((e) => {
34586
34652
  }
34587
34653
  }
34588
34654
  };
34589
- })), JY = /* @__PURE__ */ W(((e) => {
34655
+ })), QY = /* @__PURE__ */ W(((e) => {
34590
34656
  Object.defineProperty(e, "__esModule", { value: !0 });
34591
- var t = IY(), n = LY(), r = zY(), i = BY(), a = VY(), o = HY(), s = UY(), c = GY(), l = KY(), u = qY();
34657
+ var t = BY(), n = VY(), r = UY(), i = WY(), a = GY(), o = KY(), s = qY(), c = YY(), l = XY(), u = ZY();
34592
34658
  e.default = [
34593
34659
  t.default,
34594
34660
  n.default,
@@ -34609,9 +34675,9 @@ var $J = /* @__PURE__ */ W(((e) => {
34609
34675
  l.default,
34610
34676
  u.default
34611
34677
  ];
34612
- })), YY = /* @__PURE__ */ W(((e) => {
34678
+ })), $Y = /* @__PURE__ */ W(((e) => {
34613
34679
  Object.defineProperty(e, "__esModule", { value: !0 }), e.validateAdditionalItems = void 0;
34614
- var t = tY(), n = nY(), r = {
34680
+ var t = aY(), n = oY(), r = {
34615
34681
  keyword: "additionalItems",
34616
34682
  type: "array",
34617
34683
  schemaType: ["boolean", "object"],
@@ -34649,9 +34715,9 @@ var $J = /* @__PURE__ */ W(((e) => {
34649
34715
  }
34650
34716
  }
34651
34717
  e.validateAdditionalItems = i, e.default = r;
34652
- })), XY = /* @__PURE__ */ W(((e) => {
34718
+ })), eX = /* @__PURE__ */ W(((e) => {
34653
34719
  Object.defineProperty(e, "__esModule", { value: !0 }), e.validateTuple = void 0;
34654
- var t = tY(), n = nY(), r = uY(), i = {
34720
+ var t = aY(), n = oY(), r = mY(), i = {
34655
34721
  keyword: "items",
34656
34722
  type: "array",
34657
34723
  schemaType: [
@@ -34686,9 +34752,9 @@ var $J = /* @__PURE__ */ W(((e) => {
34686
34752
  }
34687
34753
  }
34688
34754
  e.validateTuple = a, e.default = i;
34689
- })), ZY = /* @__PURE__ */ W(((e) => {
34755
+ })), tX = /* @__PURE__ */ W(((e) => {
34690
34756
  Object.defineProperty(e, "__esModule", { value: !0 });
34691
- var t = XY();
34757
+ var t = eX();
34692
34758
  e.default = {
34693
34759
  keyword: "prefixItems",
34694
34760
  type: "array",
@@ -34696,9 +34762,9 @@ var $J = /* @__PURE__ */ W(((e) => {
34696
34762
  before: "uniqueItems",
34697
34763
  code: (e) => (0, t.validateTuple)(e, "items")
34698
34764
  };
34699
- })), QY = /* @__PURE__ */ W(((e) => {
34765
+ })), nX = /* @__PURE__ */ W(((e) => {
34700
34766
  Object.defineProperty(e, "__esModule", { value: !0 });
34701
- var t = tY(), n = nY(), r = uY(), i = YY();
34767
+ var t = aY(), n = oY(), r = mY(), i = $Y();
34702
34768
  e.default = {
34703
34769
  keyword: "items",
34704
34770
  type: "array",
@@ -34713,9 +34779,9 @@ var $J = /* @__PURE__ */ W(((e) => {
34713
34779
  o.items = !0, !(0, n.alwaysValidSchema)(o, t) && (s ? (0, i.validateAdditionalItems)(e, s) : e.ok((0, r.validateArray)(e)));
34714
34780
  }
34715
34781
  };
34716
- })), $Y = /* @__PURE__ */ W(((e) => {
34782
+ })), rX = /* @__PURE__ */ W(((e) => {
34717
34783
  Object.defineProperty(e, "__esModule", { value: !0 });
34718
- var t = tY(), n = nY();
34784
+ var t = aY(), n = oY();
34719
34785
  e.default = {
34720
34786
  keyword: "contains",
34721
34787
  type: "array",
@@ -34768,9 +34834,9 @@ var $J = /* @__PURE__ */ W(((e) => {
34768
34834
  }
34769
34835
  }
34770
34836
  };
34771
- })), eX = /* @__PURE__ */ W(((e) => {
34837
+ })), iX = /* @__PURE__ */ W(((e) => {
34772
34838
  Object.defineProperty(e, "__esModule", { value: !0 }), e.validateSchemaDeps = e.validatePropertyDeps = e.error = void 0;
34773
- var t = tY(), n = nY(), r = uY();
34839
+ var t = aY(), n = oY(), r = mY();
34774
34840
  e.error = {
34775
34841
  message: ({ params: { property: e, depsCount: n, deps: r } }) => {
34776
34842
  let i = n === 1 ? "property" : "properties";
@@ -34829,9 +34895,9 @@ var $J = /* @__PURE__ */ W(((e) => {
34829
34895
  }, () => i.var(c, !0)), e.ok(c));
34830
34896
  }
34831
34897
  e.validateSchemaDeps = s, e.default = i;
34832
- })), tX = /* @__PURE__ */ W(((e) => {
34898
+ })), aX = /* @__PURE__ */ W(((e) => {
34833
34899
  Object.defineProperty(e, "__esModule", { value: !0 });
34834
- var t = tY(), n = nY();
34900
+ var t = aY(), n = oY();
34835
34901
  e.default = {
34836
34902
  keyword: "propertyNames",
34837
34903
  type: "object",
@@ -34857,9 +34923,9 @@ var $J = /* @__PURE__ */ W(((e) => {
34857
34923
  }), e.ok(s);
34858
34924
  }
34859
34925
  };
34860
- })), nX = /* @__PURE__ */ W(((e) => {
34926
+ })), oX = /* @__PURE__ */ W(((e) => {
34861
34927
  Object.defineProperty(e, "__esModule", { value: !0 });
34862
- var t = uY(), n = tY(), r = rY(), i = nY();
34928
+ var t = mY(), n = aY(), r = sY(), i = oY();
34863
34929
  e.default = {
34864
34930
  keyword: "additionalProperties",
34865
34931
  type: ["object"],
@@ -34924,9 +34990,9 @@ var $J = /* @__PURE__ */ W(((e) => {
34924
34990
  }
34925
34991
  }
34926
34992
  };
34927
- })), rX = /* @__PURE__ */ W(((e) => {
34993
+ })), sX = /* @__PURE__ */ W(((e) => {
34928
34994
  Object.defineProperty(e, "__esModule", { value: !0 });
34929
- var t = gY(), n = uY(), r = nY(), i = nX();
34995
+ var t = bY(), n = mY(), r = oY(), i = oX();
34930
34996
  e.default = {
34931
34997
  keyword: "properties",
34932
34998
  type: "object",
@@ -34953,9 +35019,9 @@ var $J = /* @__PURE__ */ W(((e) => {
34953
35019
  }
34954
35020
  }
34955
35021
  };
34956
- })), iX = /* @__PURE__ */ W(((e) => {
35022
+ })), cX = /* @__PURE__ */ W(((e) => {
34957
35023
  Object.defineProperty(e, "__esModule", { value: !0 });
34958
- var t = uY(), n = tY(), r = nY(), i = nY();
35024
+ var t = mY(), n = aY(), r = oY(), i = oY();
34959
35025
  e.default = {
34960
35026
  keyword: "patternProperties",
34961
35027
  type: "object",
@@ -34988,9 +35054,9 @@ var $J = /* @__PURE__ */ W(((e) => {
34988
35054
  }
34989
35055
  }
34990
35056
  };
34991
- })), aX = /* @__PURE__ */ W(((e) => {
35057
+ })), lX = /* @__PURE__ */ W(((e) => {
34992
35058
  Object.defineProperty(e, "__esModule", { value: !0 });
34993
- var t = nY();
35059
+ var t = oY();
34994
35060
  e.default = {
34995
35061
  keyword: "not",
34996
35062
  schemaType: ["object", "boolean"],
@@ -35011,17 +35077,17 @@ var $J = /* @__PURE__ */ W(((e) => {
35011
35077
  },
35012
35078
  error: { message: "must NOT be valid" }
35013
35079
  };
35014
- })), oX = /* @__PURE__ */ W(((e) => {
35080
+ })), uX = /* @__PURE__ */ W(((e) => {
35015
35081
  Object.defineProperty(e, "__esModule", { value: !0 }), e.default = {
35016
35082
  keyword: "anyOf",
35017
35083
  schemaType: "array",
35018
35084
  trackErrors: !0,
35019
- code: uY().validateUnion,
35085
+ code: mY().validateUnion,
35020
35086
  error: { message: "must match a schema in anyOf" }
35021
35087
  };
35022
- })), sX = /* @__PURE__ */ W(((e) => {
35088
+ })), dX = /* @__PURE__ */ W(((e) => {
35023
35089
  Object.defineProperty(e, "__esModule", { value: !0 });
35024
- var t = tY(), n = nY();
35090
+ var t = aY(), n = oY();
35025
35091
  e.default = {
35026
35092
  keyword: "oneOf",
35027
35093
  schemaType: "array",
@@ -35051,9 +35117,9 @@ var $J = /* @__PURE__ */ W(((e) => {
35051
35117
  }
35052
35118
  }
35053
35119
  };
35054
- })), cX = /* @__PURE__ */ W(((e) => {
35120
+ })), fX = /* @__PURE__ */ W(((e) => {
35055
35121
  Object.defineProperty(e, "__esModule", { value: !0 });
35056
- var t = nY();
35122
+ var t = oY();
35057
35123
  e.default = {
35058
35124
  keyword: "allOf",
35059
35125
  schemaType: "array",
@@ -35072,9 +35138,9 @@ var $J = /* @__PURE__ */ W(((e) => {
35072
35138
  });
35073
35139
  }
35074
35140
  };
35075
- })), lX = /* @__PURE__ */ W(((e) => {
35141
+ })), pX = /* @__PURE__ */ W(((e) => {
35076
35142
  Object.defineProperty(e, "__esModule", { value: !0 });
35077
- var t = tY(), n = nY(), r = {
35143
+ var t = aY(), n = oY(), r = {
35078
35144
  keyword: "if",
35079
35145
  schemaType: ["object", "boolean"],
35080
35146
  trackErrors: !0,
@@ -35115,9 +35181,9 @@ var $J = /* @__PURE__ */ W(((e) => {
35115
35181
  return r !== void 0 && !(0, n.alwaysValidSchema)(e, r);
35116
35182
  }
35117
35183
  e.default = r;
35118
- })), uX = /* @__PURE__ */ W(((e) => {
35184
+ })), mX = /* @__PURE__ */ W(((e) => {
35119
35185
  Object.defineProperty(e, "__esModule", { value: !0 });
35120
- var t = nY();
35186
+ var t = oY();
35121
35187
  e.default = {
35122
35188
  keyword: ["then", "else"],
35123
35189
  schemaType: ["object", "boolean"],
@@ -35125,9 +35191,9 @@ var $J = /* @__PURE__ */ W(((e) => {
35125
35191
  n.if === void 0 && (0, t.checkStrictMode)(r, `"${e}" without "if" is ignored`);
35126
35192
  }
35127
35193
  };
35128
- })), dX = /* @__PURE__ */ W(((e) => {
35194
+ })), hX = /* @__PURE__ */ W(((e) => {
35129
35195
  Object.defineProperty(e, "__esModule", { value: !0 });
35130
- var t = YY(), n = ZY(), r = XY(), i = QY(), a = $Y(), o = eX(), s = tX(), c = nX(), l = rX(), u = iX(), d = aX(), f = oX(), p = sX(), m = cX(), h = lX(), g = uX();
35196
+ var t = $Y(), n = tX(), r = eX(), i = nX(), a = rX(), o = iX(), s = aX(), c = oX(), l = sX(), u = cX(), d = lX(), f = uX(), p = dX(), m = fX(), h = pX(), g = mX();
35131
35197
  function _(e = !1) {
35132
35198
  let _ = [
35133
35199
  d.default,
@@ -35145,9 +35211,9 @@ var $J = /* @__PURE__ */ W(((e) => {
35145
35211
  return e ? _.push(n.default, i.default) : _.push(t.default, r.default), _.push(a.default), _;
35146
35212
  }
35147
35213
  e.default = _;
35148
- })), fX = /* @__PURE__ */ W(((e) => {
35214
+ })), gX = /* @__PURE__ */ W(((e) => {
35149
35215
  Object.defineProperty(e, "__esModule", { value: !0 });
35150
- var t = tY();
35216
+ var t = aY();
35151
35217
  e.default = {
35152
35218
  keyword: "format",
35153
35219
  type: ["number", "string"],
@@ -35220,9 +35286,9 @@ var $J = /* @__PURE__ */ W(((e) => {
35220
35286
  }
35221
35287
  }
35222
35288
  };
35223
- })), pX = /* @__PURE__ */ W(((e) => {
35224
- Object.defineProperty(e, "__esModule", { value: !0 }), e.default = [fX().default];
35225
- })), mX = /* @__PURE__ */ W(((e) => {
35289
+ })), _X = /* @__PURE__ */ W(((e) => {
35290
+ Object.defineProperty(e, "__esModule", { value: !0 }), e.default = [gX().default];
35291
+ })), vX = /* @__PURE__ */ W(((e) => {
35226
35292
  Object.defineProperty(e, "__esModule", { value: !0 }), e.contentVocabulary = e.metadataVocabulary = void 0, e.metadataVocabulary = [
35227
35293
  "title",
35228
35294
  "description",
@@ -35236,9 +35302,9 @@ var $J = /* @__PURE__ */ W(((e) => {
35236
35302
  "contentEncoding",
35237
35303
  "contentSchema"
35238
35304
  ];
35239
- })), hX = /* @__PURE__ */ W(((e) => {
35305
+ })), yX = /* @__PURE__ */ W(((e) => {
35240
35306
  Object.defineProperty(e, "__esModule", { value: !0 });
35241
- var t = FY(), n = JY(), r = dX(), i = pX(), a = mX();
35307
+ var t = zY(), n = QY(), r = hX(), i = _X(), a = vX();
35242
35308
  e.default = [
35243
35309
  t.default,
35244
35310
  n.default,
@@ -35247,15 +35313,15 @@ var $J = /* @__PURE__ */ W(((e) => {
35247
35313
  a.metadataVocabulary,
35248
35314
  a.contentVocabulary
35249
35315
  ];
35250
- })), gX = /* @__PURE__ */ W(((e) => {
35316
+ })), bX = /* @__PURE__ */ W(((e) => {
35251
35317
  Object.defineProperty(e, "__esModule", { value: !0 }), e.DiscrError = void 0;
35252
35318
  var t;
35253
35319
  (function(e) {
35254
35320
  e.Tag = "tag", e.Mapping = "mapping";
35255
35321
  })(t || (e.DiscrError = t = {}));
35256
- })), _X = /* @__PURE__ */ W(((e) => {
35322
+ })), xX = /* @__PURE__ */ W(((e) => {
35257
35323
  Object.defineProperty(e, "__esModule", { value: !0 });
35258
- var t = tY(), n = gX(), r = yY(), i = vY(), a = nY();
35324
+ var t = aY(), n = bX(), r = CY(), i = SY(), a = oY();
35259
35325
  e.default = {
35260
35326
  keyword: "discriminator",
35261
35327
  type: "object",
@@ -35323,16 +35389,16 @@ var $J = /* @__PURE__ */ W(((e) => {
35323
35389
  }
35324
35390
  }
35325
35391
  };
35326
- })), vX = /* @__PURE__ */ xe({
35327
- $id: () => bX,
35328
- $schema: () => yX,
35329
- default: () => TX,
35330
- definitions: () => SX,
35331
- properties: () => wX,
35332
- title: () => xX,
35333
- type: () => CX
35334
- }), yX, bX, xX, SX, CX, wX, TX, EX = be((() => {
35335
- yX = "http://json-schema.org/draft-07/schema#", bX = "http://json-schema.org/draft-07/schema#", xX = "Core schema meta-schema", SX = {
35392
+ })), SX = /* @__PURE__ */ xe({
35393
+ $id: () => wX,
35394
+ $schema: () => CX,
35395
+ default: () => kX,
35396
+ definitions: () => EX,
35397
+ properties: () => OX,
35398
+ title: () => TX,
35399
+ type: () => DX
35400
+ }), CX, wX, TX, EX, DX, OX, kX, AX = be((() => {
35401
+ CX = "http://json-schema.org/draft-07/schema#", wX = "http://json-schema.org/draft-07/schema#", TX = "Core schema meta-schema", EX = {
35336
35402
  schemaArray: {
35337
35403
  type: "array",
35338
35404
  minItems: 1,
@@ -35358,7 +35424,7 @@ var $J = /* @__PURE__ */ W(((e) => {
35358
35424
  uniqueItems: !0,
35359
35425
  default: []
35360
35426
  }
35361
- }, CX = ["object", "boolean"], wX = {
35427
+ }, DX = ["object", "boolean"], OX = {
35362
35428
  $id: {
35363
35429
  type: "string",
35364
35430
  format: "uri-reference"
@@ -35457,18 +35523,18 @@ var $J = /* @__PURE__ */ W(((e) => {
35457
35523
  anyOf: { $ref: "#/definitions/schemaArray" },
35458
35524
  oneOf: { $ref: "#/definitions/schemaArray" },
35459
35525
  not: { $ref: "#" }
35460
- }, TX = {
35461
- $schema: yX,
35462
- $id: bX,
35463
- title: xX,
35464
- definitions: SX,
35465
- type: CX,
35466
- properties: wX,
35526
+ }, kX = {
35527
+ $schema: CX,
35528
+ $id: wX,
35529
+ title: TX,
35530
+ definitions: EX,
35531
+ type: DX,
35532
+ properties: OX,
35467
35533
  default: !0
35468
35534
  };
35469
- })), DX = /* @__PURE__ */ W(((e, t) => {
35535
+ })), jX = /* @__PURE__ */ W(((e, t) => {
35470
35536
  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;
35471
- var n = MY(), r = hX(), i = _X(), a = (EX(), we(vX).default), o = ["/properties"], s = "http://json-schema.org/draft-07/schema", c = class extends n.default {
35537
+ var n = IY(), r = yX(), i = xX(), a = (AX(), we(SX).default), o = ["/properties"], s = "http://json-schema.org/draft-07/schema", c = class extends n.default {
35472
35538
  _addVocabularies() {
35473
35539
  super._addVocabularies(), r.default.forEach((e) => this.addVocabulary(e)), this.opts.discriminator && this.addKeyword(i.default);
35474
35540
  }
@@ -35482,14 +35548,14 @@ var $J = /* @__PURE__ */ W(((e) => {
35482
35548
  }
35483
35549
  };
35484
35550
  e.Ajv = c, t.exports = e = c, t.exports.Ajv = c, Object.defineProperty(e, "__esModule", { value: !0 }), e.default = c;
35485
- var l = gY();
35551
+ var l = bY();
35486
35552
  Object.defineProperty(e, "KeywordCxt", {
35487
35553
  enumerable: !0,
35488
35554
  get: function() {
35489
35555
  return l.KeywordCxt;
35490
35556
  }
35491
35557
  });
35492
- var u = tY();
35558
+ var u = aY();
35493
35559
  Object.defineProperty(e, "_", {
35494
35560
  enumerable: !0,
35495
35561
  get: function() {
@@ -35521,21 +35587,21 @@ var $J = /* @__PURE__ */ W(((e) => {
35521
35587
  return u.CodeGen;
35522
35588
  }
35523
35589
  });
35524
- var d = _Y();
35590
+ var d = xY();
35525
35591
  Object.defineProperty(e, "ValidationError", {
35526
35592
  enumerable: !0,
35527
35593
  get: function() {
35528
35594
  return d.default;
35529
35595
  }
35530
35596
  });
35531
- var f = vY();
35597
+ var f = SY();
35532
35598
  Object.defineProperty(e, "MissingRefError", {
35533
35599
  enumerable: !0,
35534
35600
  get: function() {
35535
35601
  return f.default;
35536
35602
  }
35537
35603
  });
35538
- })), OX = /* @__PURE__ */ W(((e) => {
35604
+ })), MX = /* @__PURE__ */ W(((e) => {
35539
35605
  Object.defineProperty(e, "__esModule", { value: !0 }), e.formatNames = e.fastFormats = e.fullFormats = void 0;
35540
35606
  function t(e, t) {
35541
35607
  return {
@@ -35687,9 +35753,9 @@ var $J = /* @__PURE__ */ W(((e) => {
35687
35753
  return !1;
35688
35754
  }
35689
35755
  }
35690
- })), kX = /* @__PURE__ */ W(((e) => {
35756
+ })), NX = /* @__PURE__ */ W(((e) => {
35691
35757
  Object.defineProperty(e, "__esModule", { value: !0 }), e.formatLimitDefinition = void 0;
35692
- var t = DX(), n = tY(), r = n.operators, i = {
35758
+ var t = jX(), n = aY(), r = n.operators, i = {
35693
35759
  formatMaximum: {
35694
35760
  okStr: "<=",
35695
35761
  ok: r.LTE,
@@ -35749,9 +35815,9 @@ var $J = /* @__PURE__ */ W(((e) => {
35749
35815
  },
35750
35816
  dependencies: ["format"]
35751
35817
  }, e.default = (t) => (t.addKeyword(e.formatLimitDefinition), t);
35752
- })), AX = /* @__PURE__ */ W(((e, t) => {
35818
+ })), PX = /* @__PURE__ */ W(((e, t) => {
35753
35819
  Object.defineProperty(e, "__esModule", { value: !0 });
35754
- var n = OX(), r = kX(), i = tY(), a = new i.Name("fullFormats"), o = new i.Name("fastFormats"), s = (e, t = { keywords: !0 }) => {
35820
+ var n = MX(), r = NX(), i = aY(), a = new i.Name("fullFormats"), o = new i.Name("fastFormats"), s = (e, t = { keywords: !0 }) => {
35755
35821
  if (Array.isArray(t)) return c(e, t, n.fullFormats, a), e;
35756
35822
  let [i, s] = t.mode === "fast" ? [n.fastFormats, o] : [n.fullFormats, a];
35757
35823
  return c(e, t.formats || n.formatNames, i, s), t.keywords && (0, r.default)(e), e;
@@ -35767,9 +35833,9 @@ var $J = /* @__PURE__ */ W(((e) => {
35767
35833
  for (let r of t) e.addFormat(r, n[r]);
35768
35834
  }
35769
35835
  t.exports = e = s, Object.defineProperty(e, "__esModule", { value: !0 }), e.default = s;
35770
- })), jX = /* @__PURE__ */ Ce(DX(), 1), MX = /* @__PURE__ */ Ce(AX(), 1), NX = {
35836
+ })), FX = /* @__PURE__ */ Ce(jX(), 1), IX = /* @__PURE__ */ Ce(PX(), 1), LX = {
35771
35837
  required: () => "This field is required",
35772
- type: (e) => `Should be "${FX(e)}".`,
35838
+ type: (e) => `Should be "${zX(e)}".`,
35773
35839
  minLength: (e) => e.params.limit === 1 ? "This field must not be empty" : `Should NOT be shorter than ${e.params.limit} characters`,
35774
35840
  maxLength: (e) => `Should NOT be longer than ${e.params.limit} characters`,
35775
35841
  minimum: (e) => `Should be >= ${e.params.limit}`,
@@ -35781,75 +35847,86 @@ var $J = /* @__PURE__ */ W(((e) => {
35781
35847
  maxItems: (e) => `Should NOT have more than ${e.params.limit} items`,
35782
35848
  uniqueItems: () => "Should NOT have duplicate items",
35783
35849
  const: (e) => `Should be equal to constant "${e.params.allowedValue}"`,
35784
- pattern: (e, t) => `${$q(t)} value does not respect the pattern: ${e.params.pattern}`,
35850
+ pattern: (e, t) => `${eJ(t)} value does not respect the pattern: ${e.params.pattern}`,
35785
35851
  format: (e) => `Should be a valid ${e.params.format}`,
35786
35852
  uniqueItemProperties: (e) => `${e.params.propertyName ?? "This field"} must be unique`
35787
35853
  };
35788
- function PX(e, t) {
35789
- let n = NX[e.keyword];
35854
+ function RX(e, t) {
35855
+ let n = LX[e.keyword];
35790
35856
  return n ? n(e, t) : e.message ?? "Invalid value";
35791
35857
  }
35792
- function FX(e) {
35858
+ function zX(e) {
35793
35859
  let t = e.params.type;
35794
35860
  return String(Array.isArray(t) ? t[0] : t);
35795
35861
  }
35796
35862
  //#endregion
35797
35863
  //#region src/composed/JsonSchemaForm/form-bindings/resolveAt.ts
35798
- function IX(e, t, n) {
35799
- let r = t === "" ? [] : t.split("."), i = e.root, a = n;
35864
+ function BX(e, t, n) {
35865
+ let r = t === "" ? [] : t.split("."), i = e.root, a = n, o = [];
35800
35866
  for (let e of r) {
35801
35867
  if (!i) return {
35802
35868
  node: void 0,
35803
35869
  value: void 0
35804
35870
  };
35805
- i = LX(i, a), /^\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);
35871
+ i = VX(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);
35806
35872
  }
35807
35873
  return i ? {
35808
- node: RX(LX(i, a), t),
35874
+ node: HX(VX(i, a, n, r), r),
35809
35875
  value: a
35810
35876
  } : {
35811
35877
  node: void 0,
35812
35878
  value: a
35813
35879
  };
35814
35880
  }
35815
- function LX(e, t) {
35816
- if (!e.variants) return e;
35817
- let n = BX(e.variants, t);
35818
- if (!n) return e;
35819
- let r = new Map(e.properties);
35820
- for (let [e, t] of n.properties) r.set(e, t);
35821
- return {
35881
+ function VX(e, t, n, r) {
35882
+ let i = new Map(e.properties), a = e.variants ? GX(e.variants, t) : void 0;
35883
+ if (a) for (let [e, t] of a.properties) i.set(e, t);
35884
+ let o = [...e.dependencyBranches ?? [], ...a?.dependencyBranches ?? []];
35885
+ if (o.length > 0) {
35886
+ for (let e of o) if (UX(e.showIf.$eq, n, r)) for (let [t, n] of e.properties) i.set(t, n);
35887
+ }
35888
+ return i.size > (e.properties?.size ?? 0) ? {
35822
35889
  ...e,
35823
- properties: r
35824
- };
35890
+ properties: i
35891
+ } : e;
35825
35892
  }
35826
- function RX(e, t) {
35827
- if (!e.displayIf) return e;
35828
- let n = t === "" ? [] : t.split("."), r = { $eq: new Map([...e.displayIf.$eq].map(([e, t]) => [zX(e, n), t])) };
35829
- return {
35893
+ function HX(e, t) {
35894
+ return e.displayIf ? {
35830
35895
  ...e,
35831
- displayIf: r
35832
- };
35896
+ displayIf: { $eq: new Map([...e.displayIf.$eq].map(([e, n]) => [Lq(e, t), n])) }
35897
+ } : e;
35833
35898
  }
35834
- function zX(e, t) {
35835
- return e.split(".").map((e, n) => e === "*" && t[n] !== void 0 ? t[n] : e).join(".");
35899
+ function UX(e, t, n) {
35900
+ for (let [r, i] of e) {
35901
+ let e = WX(t, Lq(r, n).split("."));
35902
+ if (!(Array.isArray(i) ? i : [i]).includes(e)) return !1;
35903
+ }
35904
+ return !0;
35836
35905
  }
35837
- function BX(e, t) {
35906
+ function WX(e, t) {
35907
+ let n = e;
35908
+ for (let e of t) {
35909
+ if (typeof n != "object" || !n) return;
35910
+ n = n[e];
35911
+ }
35912
+ return n;
35913
+ }
35914
+ function GX(e, t) {
35838
35915
  if (typeof t != "object" || !t) return;
35839
35916
  let n = t;
35840
35917
  return e.find((e) => e.consts.length > 0 && e.consts.every((e) => Object.is(n[e.key], e.value)));
35841
35918
  }
35842
35919
  //#endregion
35843
35920
  //#region src/composed/JsonSchemaForm/form-bindings/jsonSchemaResolver.ts
35844
- var VX = new jX.default({
35921
+ var KX = new FX.default({
35845
35922
  strict: !1,
35846
35923
  allErrors: !0
35847
35924
  });
35848
- (0, MX.default)(VX), VX.removeKeyword("id"), VX.addKeyword({
35925
+ (0, IX.default)(KX), KX.removeKeyword("id"), KX.addKeyword({
35849
35926
  keyword: "id",
35850
35927
  validate: () => !0
35851
35928
  });
35852
- function HX(e, t = {}) {
35929
+ function qX(e, t = {}) {
35853
35930
  let n;
35854
35931
  try {
35855
35932
  n = WJ(e);
@@ -35865,7 +35942,7 @@ function HX(e, t = {}) {
35865
35942
  }
35866
35943
  let r = n.root.schema, i = n.variantIndices, a;
35867
35944
  try {
35868
- a = VX.compile(r);
35945
+ a = KX.compile(r);
35869
35946
  } catch (e) {
35870
35947
  let t = e instanceof Error ? e.message : "Invalid JSON Schema";
35871
35948
  return () => ({
@@ -35876,15 +35953,15 @@ function HX(e, t = {}) {
35876
35953
  } }
35877
35954
  });
35878
35955
  }
35879
- VX.removeSchema(r);
35956
+ KX.removeSchema(r);
35880
35957
  let o = async (e, t, r) => {
35881
- let o = a(e) ? [] : a.errors ?? [], s = YX(n.root, e, "", i), c = [...o, ...s];
35958
+ let o = a(e) ? [] : a.errors ?? [], s = eZ(n.root, e, "", i), c = [...o, ...s];
35882
35959
  return c.length === 0 ? {
35883
35960
  values: e,
35884
35961
  errors: {}
35885
35962
  } : {
35886
35963
  values: {},
35887
- errors: KX(GX(c.filter((t) => !UX(t, n, e))), r.criteriaMode ?? "firstError")
35964
+ errors: ZX(XX(c.filter((t) => !JX(t, n, e))), r.criteriaMode ?? "firstError")
35888
35965
  };
35889
35966
  };
35890
35967
  if (!t.basePath) return o;
@@ -35900,12 +35977,12 @@ function HX(e, t = {}) {
35900
35977
  };
35901
35978
  };
35902
35979
  }
35903
- function UX(e, t, n) {
35904
- let { node: r, value: i } = IX(t, (e.instancePath ? e.instancePath.slice(1).split("/").map(Gq) : []).join("."), n);
35980
+ function JX(e, t, n) {
35981
+ let { node: r, value: i } = BX(t, (e.instancePath ? e.instancePath.slice(1).split("/").map(Kq) : []).join("."), n);
35905
35982
  if (!r) return !1;
35906
35983
  switch (e.keyword) {
35907
35984
  case "const":
35908
- case "enum": return WX(r.schema, i);
35985
+ case "enum": return YX(r.schema, i);
35909
35986
  case "required": {
35910
35987
  let t = e.params.missingProperty;
35911
35988
  return typeof t == "string" && !!r.properties && !r.properties.has(t);
@@ -35913,46 +35990,46 @@ function UX(e, t, n) {
35913
35990
  default: return !1;
35914
35991
  }
35915
35992
  }
35916
- function WX(e, t) {
35993
+ function YX(e, t) {
35917
35994
  return e.const === void 0 ? Array.isArray(e.enum) ? e.enum.includes(t) : !1 : Object.is(e.const, t);
35918
35995
  }
35919
- function GX(e) {
35996
+ function XX(e) {
35920
35997
  return e.filter((t) => {
35921
35998
  if (t.keyword !== "oneOf" && t.keyword !== "anyOf") return !0;
35922
- let n = qX(t), r = n === "" ? "" : `${n}.`;
35999
+ let n = QX(t), r = n === "" ? "" : `${n}.`;
35923
36000
  return !e.some((e) => {
35924
36001
  if (e === t) return !1;
35925
- let i = qX(e);
36002
+ let i = QX(e);
35926
36003
  return n === "" ? i !== "" : i.startsWith(r);
35927
36004
  });
35928
36005
  });
35929
36006
  }
35930
- function KX(e, t) {
36007
+ function ZX(e, t) {
35931
36008
  let n = /* @__PURE__ */ new Map();
35932
36009
  for (let t of e) {
35933
- let e = qX(t), r = n.get(e) ?? [];
36010
+ let e = QX(t), r = n.get(e) ?? [];
35934
36011
  r.push(t), n.set(e, r);
35935
36012
  }
35936
36013
  let r = {};
35937
36014
  for (let [e, i] of n) {
35938
36015
  let n = {
35939
36016
  type: i[0].keyword,
35940
- message: PX(i[0], e)
36017
+ message: RX(i[0], e)
35941
36018
  };
35942
36019
  if (t === "all" && i.length > 0) {
35943
36020
  let t = {};
35944
- for (let n of i) t[n.keyword] = PX(n, e);
36021
+ for (let n of i) t[n.keyword] = RX(n, e);
35945
36022
  n.types = t;
35946
36023
  }
35947
- JX(r, e === "" ? "root" : e, n);
36024
+ $X(r, e === "" ? "root" : e, n);
35948
36025
  }
35949
36026
  return r;
35950
36027
  }
35951
- function qX(e) {
35952
- let t = e.instancePath ? e.instancePath.slice(1).split("/").map(Gq) : [];
36028
+ function QX(e) {
36029
+ let t = e.instancePath ? e.instancePath.slice(1).split("/").map(Kq) : [];
35953
36030
  return e.keyword === "required" && typeof e.params.missingProperty == "string" && t.push(e.params.missingProperty), t.join(".");
35954
36031
  }
35955
- function JX(e, t, n) {
36032
+ function $X(e, t, n) {
35956
36033
  let r = t.split("."), i = e;
35957
36034
  for (let e = 0; e < r.length - 1; e++) {
35958
36035
  let t = r[e];
@@ -35960,7 +36037,7 @@ function JX(e, t, n) {
35960
36037
  }
35961
36038
  i[r[r.length - 1]] = n;
35962
36039
  }
35963
- function YX(e, t, n, r) {
36040
+ function eZ(e, t, n, r) {
35964
36041
  if (!e) return [];
35965
36042
  let i = [];
35966
36043
  if (e.schema.gioConfig?.uniqueItemProperties && Array.isArray(t)) for (let r of e.schema.gioConfig.uniqueItemProperties) {
@@ -35977,18 +36054,18 @@ function YX(e, t, n, r) {
35977
36054
  }
35978
36055
  }
35979
36056
  let a = typeof t == "object" && !!t && !Array.isArray(t);
35980
- if (e.properties && a) for (let [a, o] of e.properties) i.push(...YX(o, t[a], `${n}/${Wq(a)}`, r));
36057
+ if (e.properties && a) for (let [a, o] of e.properties) i.push(...eZ(o, t[a], `${n}/${Gq(a)}`, r));
35981
36058
  if (e.variants && e.variants.length > 0 && a) {
35982
- let a = t, o = TJ(e.variants.map((e) => e.raw), e.rhfPath, r, (e) => a[e]), s = e.variants[o];
35983
- if (s) for (let [e, t] of s.properties) i.push(...YX(t, a[e], `${n}/${Wq(e)}`, r));
36059
+ let a = t, o = EJ(e.variants.map((e) => e.raw), e.rhfPath, r, (e) => a[e]), s = e.variants[o];
36060
+ if (s) for (let [e, t] of s.properties) i.push(...eZ(t, a[e], `${n}/${Gq(e)}`, r));
35984
36061
  }
35985
36062
  return e.items && Array.isArray(t) && t.forEach((t, a) => {
35986
- i.push(...YX(e.items, t, `${n}/${a}`, r));
36063
+ i.push(...eZ(e.items, t, `${n}/${a}`, r));
35987
36064
  }), i;
35988
36065
  }
35989
36066
  //#endregion
35990
36067
  //#region src/composed/LayoutSlots/LayoutSlotsContext.tsx
35991
- var XX = {
36068
+ var tZ = {
35992
36069
  navigation: null,
35993
36070
  contextSidebar: null,
35994
36071
  breadcrumbs: [],
@@ -35996,9 +36073,9 @@ var XX = {
35996
36073
  viewMode: "global",
35997
36074
  contextExpanded: !0,
35998
36075
  contentVariant: "default"
35999
- }, ZX = M(null);
36000
- function QX({ children: e }) {
36001
- let [t, n] = V(XX), r = F((e, t) => {
36076
+ }, nZ = M(null);
36077
+ function rZ({ children: e }) {
36078
+ let [t, n] = V(tZ), r = F((e, t) => {
36002
36079
  n((n) => ({
36003
36080
  ...n,
36004
36081
  [e]: t
@@ -36010,7 +36087,7 @@ function QX({ children: e }) {
36010
36087
  }));
36011
36088
  }, []), a = F((e) => {
36012
36089
  n((t) => {
36013
- let n = Object.fromEntries(e.map((e) => [e, XX[e]]));
36090
+ let n = Object.fromEntries(e.map((e) => [e, tZ[e]]));
36014
36091
  return {
36015
36092
  ...t,
36016
36093
  ...n
@@ -36027,20 +36104,20 @@ function QX({ children: e }) {
36027
36104
  i,
36028
36105
  a
36029
36106
  ]);
36030
- return /* @__PURE__ */ H(ZX.Provider, {
36107
+ return /* @__PURE__ */ H(nZ.Provider, {
36031
36108
  value: o,
36032
36109
  children: e
36033
36110
  });
36034
36111
  }
36035
- function $X() {
36036
- let e = I(ZX);
36112
+ function iZ() {
36113
+ let e = I(nZ);
36037
36114
  if (!e) throw Error("useLayoutSlots must be used within a LayoutSlotsProvider.");
36038
36115
  return e;
36039
36116
  }
36040
36117
  //#endregion
36041
36118
  //#region src/composed/LayoutSlots/use-layout-config.ts
36042
- function eZ(e, t = []) {
36043
- let { setSlots: n, resetSlots: r } = $X();
36119
+ function aZ(e, t = []) {
36120
+ let { setSlots: n, resetSlots: r } = iZ();
36044
36121
  R(() => {
36045
36122
  n(e);
36046
36123
  let t = Object.keys(e);
@@ -36055,7 +36132,7 @@ function eZ(e, t = []) {
36055
36132
  }
36056
36133
  //#endregion
36057
36134
  //#region src/composed/TopNavUser/TopNavUser.tsx
36058
- var tZ = [
36135
+ var oZ = [
36059
36136
  {
36060
36137
  value: "light",
36061
36138
  label: "Light"
@@ -36069,7 +36146,7 @@ var tZ = [
36069
36146
  label: "System"
36070
36147
  }
36071
36148
  ];
36072
- function nZ({ name: e, email: t, avatarUrl: n, initials: r, className: i, onSignOut: a }) {
36149
+ function sZ({ name: e, email: t, avatarUrl: n, initials: r, className: i, onSignOut: a }) {
36073
36150
  let o = r ?? e.slice(0, 2).toUpperCase(), { mode: s, setMode: c } = D();
36074
36151
  return /* @__PURE__ */ U(OF, { children: [/* @__PURE__ */ H(AF, {
36075
36152
  asChild: !0,
@@ -36098,7 +36175,7 @@ function nZ({ name: e, email: t, avatarUrl: n, initials: r, className: i, onSign
36098
36175
  /* @__PURE__ */ H(FF, {
36099
36176
  value: s,
36100
36177
  onValueChange: (e) => c(e),
36101
- children: tZ.map((e) => /* @__PURE__ */ H(IF, {
36178
+ children: oZ.map((e) => /* @__PURE__ */ H(IF, {
36102
36179
  value: e.value,
36103
36180
  children: e.label
36104
36181
  }, e.value))
@@ -36111,6 +36188,6 @@ function nZ({ name: e, email: t, avatarUrl: n, initials: r, className: i, onSign
36111
36188
  ]
36112
36189
  })] });
36113
36190
  }
36114
- nZ.displayName = "TopNavUser";
36191
+ sZ.displayName = "TopNavUser";
36115
36192
  //#endregion
36116
- export { Vy as Accordion, Wy as AccordionContent, Hy as AccordionItem, Uy as AccordionTrigger, Yy as Alert, Qy as AlertAction, Zy as AlertDescription, Xy as AlertTitle, qH as AppContextBar, rU as AppLayout, sU as AppSidebar, WH as AppSwitcher, $y as Avatar, nb as AvatarBadge, tb as AvatarFallback, rb as AvatarGroup, ib as AvatarGroupCount, eb as AvatarImage, ob as Badge, sb as Breadcrumb, pb as BreadcrumbEllipsis, lb as BreadcrumbItem, ub as BreadcrumbLink, cb as BreadcrumbList, db as BreadcrumbPage, fb as BreadcrumbSeparator, hb as Button, vb as ButtonGroup, bb as ButtonGroupSeparator, yb as ButtonGroupText, Nw as Calendar, Pw as CalendarDayButton, Fw as Card, zw as CardAction, Bw as CardContent, Rw as CardDescription, Vw as CardFooter, Iw as CardHeader, Lw as CardTitle, Hw as Checkbox, Uw as Collapsible, Gw as CollapsibleContent, Ww as CollapsibleTrigger, uM as Combobox, wM as ComboboxChip, CM as ComboboxChips, TM as ComboboxChipsInput, bM as ComboboxCollection, hM as ComboboxContent, xM as ComboboxEmpty, vM as ComboboxGroup, mM as ComboboxInput, _M as ComboboxItem, yM as ComboboxLabel, gM as ComboboxList, SM as ComboboxSeparator, fM as ComboboxTrigger, dM as ComboboxValue, UN as Command, WN as CommandDialog, qN as CommandEmpty, JN as CommandGroup, GN as CommandInput, XN as CommandItem, KN as CommandList, YN as CommandSeparator, ZN as CommandShortcut, fU as ContentHeader, QN as ContextMenu, cP as ContextMenuCheckboxItem, iP as ContextMenuContent, eP as ContextMenuGroup, aP as ContextMenuItem, uP as ContextMenuLabel, tP as ContextMenuPortal, rP as ContextMenuRadioGroup, lP as ContextMenuRadioItem, dP as ContextMenuSeparator, fP as ContextMenuShortcut, nP as ContextMenuSub, sP as ContextMenuSubContent, oP as ContextMenuSubTrigger, $N as ContextMenuTrigger, lU as ContextSidebar, uU as ContextToggleButton, pU as CopyableText, XX as DEFAULT_SLOTS, JW as DataTable, YW as DataTableColumnHeader, XW as DataTablePagination, HW as DataTableViewOptions, aK as DatePicker, oK as DateRangePicker, lK as DateTimePicker, fK as DateTimeRangePicker, NN as Dialog, IN as DialogClose, RN as DialogContent, HN as DialogDescription, BN as DialogFooter, zN as DialogHeader, LN as DialogOverlay, FN as DialogPortal, VN as DialogTitle, PN as DialogTrigger, vF as Drawer, xF as DrawerClose, CF as DrawerContent, DF as DrawerDescription, TF as DrawerFooter, wF as DrawerHeader, SF as DrawerOverlay, bF as DrawerPortal, EF as DrawerTitle, yF as DrawerTrigger, OF as DropdownMenu, PF as DropdownMenuCheckboxItem, jF as DropdownMenuContent, MF as DropdownMenuGroup, NF as DropdownMenuItem, LF as DropdownMenuLabel, kF as DropdownMenuPortal, FF as DropdownMenuRadioGroup, IF as DropdownMenuRadioItem, RF as DropdownMenuSeparator, zF as DropdownMenuShortcut, BF as DropdownMenuSub, HF as DropdownMenuSubContent, VF as DropdownMenuSubTrigger, AF as DropdownMenuTrigger, UF as Empty, YF as EmptyContent, JF as EmptyDescription, WF as EmptyHeader, KF as EmptyMedia, qF as EmptyTitle, pK as FacetedFilter, tI as Field, nI as FieldContent, aI as FieldDescription, sI as FieldError, $F as FieldGroup, rI as FieldLabel, QF as FieldLegend, oI as FieldSeparator, ZF as FieldSet, iI as FieldTitle, vK as FileUpload, tR as FileUploadInput, _K as FileUploadItem, nR as HoverCard, iR as HoverCardContent, sR as HoverCardDescription, aR as HoverCardHeader, oR as HoverCardTitle, rR as HoverCardTrigger, eM as Input, nM as InputGroup, iM as InputGroupAddon, oM as InputGroupButton, cM as InputGroupInput, sM as InputGroupText, lM as InputGroupTextarea, dR as Item, _R as ItemActions, mR as ItemContent, gR as ItemDescription, yR as ItemFooter, cR as ItemGroup, vR as ItemHeader, pR as ItemMedia, lR as ItemSeparator, hR as ItemTitle, ZJ as JsonSchemaForm, bR as Kbd, xR as KbdGroup, XF as Label, QX as LayoutSlotsProvider, SR as Pagination, CR as PaginationContent, OR as PaginationEllipsis, wR as PaginationItem, TR as PaginationLink, DR as PaginationNext, ER as PaginationPrevious, PJ as PasswordInput, kR as Popover, MR as PopoverAnchor, jR as PopoverContent, FR as PopoverDescription, NR as PopoverHeader, PR as PopoverTitle, AR as PopoverTrigger, en as PortalContainerProvider, IR as Progress, RR as Prose, zR as RadioGroup, BR as RadioGroupItem, IB as ResizableHandle, FB as ResizablePanel, PB as ResizablePanelGroup, LB as ScrollArea, RB as ScrollBar, zB as Select, UB as SelectContent, BB as SelectGroup, GB as SelectItem, WB as SelectLabel, JB as SelectScrollDownButton, qB as SelectScrollUpButton, KB as SelectSeparator, HB as SelectTrigger, VB as SelectValue, GH as SelectorDropdown, KH as SelectorTriggerButton, gb as Separator, YB as Sheet, ZB as SheetClose, eV as SheetContent, iV as SheetDescription, nV as SheetFooter, tV as SheetHeader, rV as SheetTitle, XB as SheetTrigger, wV as Sidebar, MV as SidebarContent, AV as SidebarFooter, NV as SidebarGroup, FV as SidebarGroupAction, IV as SidebarGroupContent, PV as SidebarGroupLabel, kV as SidebarHeader, OV as SidebarInput, DV as SidebarInset, LV as SidebarMenu, VV as SidebarMenuAction, HV as SidebarMenuBadge, BV as SidebarMenuButton, RV as SidebarMenuItem, UV as SidebarMenuSkeleton, WV as SidebarMenuSub, KV as SidebarMenuSubButton, GV as SidebarMenuSubItem, tU as SidebarModeControl, $H as SidebarModeProvider, cU as SidebarNavigation, CV as SidebarProvider, EV as SidebarRail, jV as SidebarSeparator, TV as SidebarTrigger, aV as Skeleton, wH as Spinner, TH as Switch, EH as Table, OH as TableBody, NH as TableCaption, MH as TableCell, kH as TableFooter, jH as TableHead, DH as TableHeader, AH as TableRow, PH as Tabs, RH as TabsContent, IH as TabsList, LH as TabsTrigger, tM as Textarea, O as ThemeProvider, CH as Toaster, BH as Toggle, HH as ToggleGroup, UH as ToggleGroupItem, sV as Tooltip, lV as TooltipContent, oV as TooltipProvider, cV as TooltipTrigger, nZ as TopNavUser, Jy as alertVariants, ab as badgeVariants, mU as buildLinearBreadcrumbs, _b as buttonGroupVariants, mb as buttonVariants, q as cn, QJ as composeResolvers, Yq as extractDefaults, HX as jsonSchemaResolver, FH as tabsListVariants, sH as toast, zH as toggleVariants, EM as useComboboxAnchor, eZ as useLayoutConfig, $X as useLayoutSlots, tn as usePortalContainer, SV as useSidebar, XH as useSidebarMode, D as useTheme };
36193
+ export { Vy as Accordion, Wy as AccordionContent, Hy as AccordionItem, Uy as AccordionTrigger, Yy as Alert, Qy as AlertAction, Zy as AlertDescription, Xy as AlertTitle, qH as AppContextBar, rU as AppLayout, sU as AppSidebar, WH as AppSwitcher, $y as Avatar, nb as AvatarBadge, tb as AvatarFallback, rb as AvatarGroup, ib as AvatarGroupCount, eb as AvatarImage, ob as Badge, sb as Breadcrumb, pb as BreadcrumbEllipsis, lb as BreadcrumbItem, ub as BreadcrumbLink, cb as BreadcrumbList, db as BreadcrumbPage, fb as BreadcrumbSeparator, hb as Button, vb as ButtonGroup, bb as ButtonGroupSeparator, yb as ButtonGroupText, Nw as Calendar, Pw as CalendarDayButton, Fw as Card, zw as CardAction, Bw as CardContent, Rw as CardDescription, Vw as CardFooter, Iw as CardHeader, Lw as CardTitle, Hw as Checkbox, Uw as Collapsible, Gw as CollapsibleContent, Ww as CollapsibleTrigger, uM as Combobox, wM as ComboboxChip, CM as ComboboxChips, TM as ComboboxChipsInput, bM as ComboboxCollection, hM as ComboboxContent, xM as ComboboxEmpty, vM as ComboboxGroup, mM as ComboboxInput, _M as ComboboxItem, yM as ComboboxLabel, gM as ComboboxList, SM as ComboboxSeparator, fM as ComboboxTrigger, dM as ComboboxValue, UN as Command, WN as CommandDialog, qN as CommandEmpty, JN as CommandGroup, GN as CommandInput, XN as CommandItem, KN as CommandList, YN as CommandSeparator, ZN as CommandShortcut, fU as ContentHeader, QN as ContextMenu, cP as ContextMenuCheckboxItem, iP as ContextMenuContent, eP as ContextMenuGroup, aP as ContextMenuItem, uP as ContextMenuLabel, tP as ContextMenuPortal, rP as ContextMenuRadioGroup, lP as ContextMenuRadioItem, dP as ContextMenuSeparator, fP as ContextMenuShortcut, nP as ContextMenuSub, sP as ContextMenuSubContent, oP as ContextMenuSubTrigger, $N as ContextMenuTrigger, lU as ContextSidebar, uU as ContextToggleButton, pU as CopyableText, tZ as DEFAULT_SLOTS, JW as DataTable, YW as DataTableColumnHeader, XW as DataTablePagination, HW as DataTableViewOptions, aK as DatePicker, oK as DateRangePicker, lK as DateTimePicker, fK as DateTimeRangePicker, NN as Dialog, IN as DialogClose, RN as DialogContent, HN as DialogDescription, BN as DialogFooter, zN as DialogHeader, LN as DialogOverlay, FN as DialogPortal, VN as DialogTitle, PN as DialogTrigger, vF as Drawer, xF as DrawerClose, CF as DrawerContent, DF as DrawerDescription, TF as DrawerFooter, wF as DrawerHeader, SF as DrawerOverlay, bF as DrawerPortal, EF as DrawerTitle, yF as DrawerTrigger, OF as DropdownMenu, PF as DropdownMenuCheckboxItem, jF as DropdownMenuContent, MF as DropdownMenuGroup, NF as DropdownMenuItem, LF as DropdownMenuLabel, kF as DropdownMenuPortal, FF as DropdownMenuRadioGroup, IF as DropdownMenuRadioItem, RF as DropdownMenuSeparator, zF as DropdownMenuShortcut, BF as DropdownMenuSub, HF as DropdownMenuSubContent, VF as DropdownMenuSubTrigger, AF as DropdownMenuTrigger, UF as Empty, YF as EmptyContent, JF as EmptyDescription, WF as EmptyHeader, KF as EmptyMedia, qF as EmptyTitle, pK as FacetedFilter, tI as Field, nI as FieldContent, aI as FieldDescription, sI as FieldError, $F as FieldGroup, rI as FieldLabel, QF as FieldLegend, oI as FieldSeparator, ZF as FieldSet, iI as FieldTitle, vK as FileUpload, tR as FileUploadInput, _K as FileUploadItem, nR as HoverCard, iR as HoverCardContent, sR as HoverCardDescription, aR as HoverCardHeader, oR as HoverCardTitle, rR as HoverCardTrigger, eM as Input, nM as InputGroup, iM as InputGroupAddon, oM as InputGroupButton, cM as InputGroupInput, sM as InputGroupText, lM as InputGroupTextarea, dR as Item, _R as ItemActions, mR as ItemContent, gR as ItemDescription, yR as ItemFooter, cR as ItemGroup, vR as ItemHeader, pR as ItemMedia, lR as ItemSeparator, hR as ItemTitle, tY as JsonSchemaForm, bR as Kbd, xR as KbdGroup, XF as Label, rZ as LayoutSlotsProvider, SR as Pagination, CR as PaginationContent, OR as PaginationEllipsis, wR as PaginationItem, TR as PaginationLink, DR as PaginationNext, ER as PaginationPrevious, FJ as PasswordInput, kR as Popover, MR as PopoverAnchor, jR as PopoverContent, FR as PopoverDescription, NR as PopoverHeader, PR as PopoverTitle, AR as PopoverTrigger, en as PortalContainerProvider, IR as Progress, RR as Prose, zR as RadioGroup, BR as RadioGroupItem, IB as ResizableHandle, FB as ResizablePanel, PB as ResizablePanelGroup, LB as ScrollArea, RB as ScrollBar, zB as Select, UB as SelectContent, BB as SelectGroup, GB as SelectItem, WB as SelectLabel, JB as SelectScrollDownButton, qB as SelectScrollUpButton, KB as SelectSeparator, HB as SelectTrigger, VB as SelectValue, GH as SelectorDropdown, KH as SelectorTriggerButton, gb as Separator, YB as Sheet, ZB as SheetClose, eV as SheetContent, iV as SheetDescription, nV as SheetFooter, tV as SheetHeader, rV as SheetTitle, XB as SheetTrigger, wV as Sidebar, MV as SidebarContent, AV as SidebarFooter, NV as SidebarGroup, FV as SidebarGroupAction, IV as SidebarGroupContent, PV as SidebarGroupLabel, kV as SidebarHeader, OV as SidebarInput, DV as SidebarInset, LV as SidebarMenu, VV as SidebarMenuAction, HV as SidebarMenuBadge, BV as SidebarMenuButton, RV as SidebarMenuItem, UV as SidebarMenuSkeleton, WV as SidebarMenuSub, KV as SidebarMenuSubButton, GV as SidebarMenuSubItem, tU as SidebarModeControl, $H as SidebarModeProvider, cU as SidebarNavigation, CV as SidebarProvider, EV as SidebarRail, jV as SidebarSeparator, TV as SidebarTrigger, aV as Skeleton, wH as Spinner, TH as Switch, EH as Table, OH as TableBody, NH as TableCaption, MH as TableCell, kH as TableFooter, jH as TableHead, DH as TableHeader, AH as TableRow, PH as Tabs, RH as TabsContent, IH as TabsList, LH as TabsTrigger, tM as Textarea, O as ThemeProvider, CH as Toaster, BH as Toggle, HH as ToggleGroup, UH as ToggleGroupItem, sV as Tooltip, lV as TooltipContent, oV as TooltipProvider, cV as TooltipTrigger, sZ as TopNavUser, Jy as alertVariants, ab as badgeVariants, mU as buildLinearBreadcrumbs, _b as buttonGroupVariants, mb as buttonVariants, q as cn, nY as composeResolvers, Xq as extractDefaults, qX as jsonSchemaResolver, FH as tabsListVariants, sH as toast, zH as toggleVariants, EM as useComboboxAnchor, aZ as useLayoutConfig, iZ as useLayoutSlots, tn as usePortalContainer, SV as useSidebar, XH as useSidebarMode, D as useTheme };