@gravitee/graphene-core 2.42.0 → 2.42.1-renovate-react.d87f7d7

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.
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-D_4R9XrW.js";
2
- import { n as D, t as O } from "./ThemeProvider-C_Ea8dI-.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-DdCWtjqd.js";
2
+ import { n as D, t as O } from "./ThemeProvider-D0l3ICGl.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;
@@ -3878,7 +3878,7 @@ var Qo = function(e) {
3878
3878
  }
3879
3879
  }
3880
3880
  };
3881
- }, $o = /* @__PURE__ */ new Set(["left", "top"]);
3881
+ }, $o = /*#__PURE__*/ new Set(["left", "top"]);
3882
3882
  async function es(e, t) {
3883
3883
  let { placement: n, platform: r, elements: i } = e, a = await (r.isRTL == null ? void 0 : r.isRTL(i.floating)), o = To(n), s = Eo(n), c = ko(n) === "y", l = $o.has(o) ? -1 : 1, u = a && c ? -1 : 1, d = wo(t, e), { mainAxis: f, crossAxis: p, alignmentAxis: m } = typeof d == "number" ? {
3884
3884
  mainAxis: d,
@@ -4125,7 +4125,7 @@ function Ms(e) {
4125
4125
  y: s
4126
4126
  };
4127
4127
  }
4128
- var Ns = /* @__PURE__ */ xo(0);
4128
+ var Ns = /*#__PURE__*/ xo(0);
4129
4129
  function Ps(e) {
4130
4130
  let t = ss(e);
4131
4131
  return !Ss() || !t.visualViewport ? Ns : {
@@ -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 && os(e) !== "body" && (ak.push(new WeakRef(e)), ak.length > ik && (ak = ak.slice(-ik)));
13733
+ ok(), e && os(e) !== "body" && (ak.push(new WeakRef(e)), ak.length > ik && (ak = ak.slice(-20)));
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,
@@ -17844,7 +17844,7 @@ function nN(e) {
17844
17844
  }
17845
17845
  //#endregion
17846
17846
  //#region ../../node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-slot/dist/index.mjs
17847
- /* @__NO_SIDE_EFFECTS__ */
17847
+ // @__NO_SIDE_EFFECTS__
17848
17848
  function rN(e) {
17849
17849
  let t = k.forwardRef((t, n) => {
17850
17850
  let { children: r, ...i } = t, a = null, o = !1, s = [];
@@ -18538,7 +18538,7 @@ function ZP(...e) {
18538
18538
  }
18539
18539
  //#endregion
18540
18540
  //#region ../../node_modules/cmdk/node_modules/@radix-ui/react-slot/dist/index.mjs
18541
- /* @__NO_SIDE_EFFECTS__ */
18541
+ // @__NO_SIDE_EFFECTS__
18542
18542
  function QP(e) {
18543
18543
  let t = k.forwardRef((t, n) => {
18544
18544
  let { children: r, ...i } = t, a = null, o = !1, s = [];
@@ -20022,7 +20022,7 @@ function TL({ open: e, onOpenChange: t, children: n, onDrag: r, onRelease: i, sn
20022
20022
  aL(document.documentElement, "scrollBehavior");
20023
20023
  }), [k]);
20024
20024
  function Te(e) {
20025
- let t = e ? (window.innerWidth - hL) / window.innerWidth : 1, n = e ? -hL : 0;
20025
+ let t = e ? (window.innerWidth - hL) / window.innerWidth : 1, n = e ? -16 : 0;
20026
20026
  re.current && window.clearTimeout(re.current), iL(H.current, {
20027
20027
  transition: `transform ${uL.DURATION}s cubic-bezier(${uL.EASE.join(",")})`,
20028
20028
  transform: oL(b) ? `scale(${t}) translate3d(0, ${n}px, 0)` : `scale(${t}) translate3d(${n}px, 0, 0)`
@@ -20036,14 +20036,14 @@ function TL({ open: e, onOpenChange: t, children: n, onDrag: r, onRelease: i, sn
20036
20036
  }
20037
20037
  function Ee(e, t) {
20038
20038
  if (t < 0) return;
20039
- let n = (window.innerWidth - hL) / window.innerWidth, r = n + t * (1 - n), i = -hL + t * hL;
20039
+ let n = (window.innerWidth - hL) / window.innerWidth, r = n + t * (1 - n), i = -16 + t * hL;
20040
20040
  iL(H.current, {
20041
20041
  transform: oL(b) ? `scale(${r}) translate3d(0, ${i}px, 0)` : `scale(${r}) translate3d(${i}px, 0, 0)`,
20042
20042
  transition: "none"
20043
20043
  });
20044
20044
  }
20045
20045
  function De(e, t) {
20046
- let n = oL(b) ? window.innerHeight : window.innerWidth, r = t ? (n - hL) / n : 1, i = t ? -hL : 0;
20046
+ let n = oL(b) ? window.innerHeight : window.innerWidth, r = t ? (n - hL) / n : 1, i = t ? -16 : 0;
20047
20047
  t && iL(H.current, {
20048
20048
  transition: `transform ${uL.DURATION}s cubic-bezier(${uL.EASE.join(",")})`,
20049
20049
  transform: oL(b) ? `scale(${r}) translate3d(0, ${i}px, 0)` : `scale(${r}) translate3d(${i}px, 0, 0)`
@@ -20053,13 +20053,13 @@ function TL({ open: e, onOpenChange: t, children: n, onDrag: r, onRelease: i, sn
20053
20053
  g || window.requestAnimationFrame(() => {
20054
20054
  document.body.style.pointerEvents = "auto";
20055
20055
  });
20056
- }, [g]), /* @__PURE__ */ A.createElement(VP, {
20056
+ }, [g]), /*#__PURE__*/ A.createElement(VP, {
20057
20057
  defaultOpen: x,
20058
20058
  onOpenChange: (e) => {
20059
20059
  !u && !e || (e ? N(!0) : xe(!0), j(e));
20060
20060
  },
20061
20061
  open: k
20062
- }, /* @__PURE__ */ A.createElement(AI.Provider, { value: {
20062
+ }, /*#__PURE__*/ A.createElement(AI.Provider, { value: {
20063
20063
  activeSnapPoint: le,
20064
20064
  snapPoints: a,
20065
20065
  setActiveSnapPoint: de,
@@ -20091,11 +20091,11 @@ function TL({ open: e, onOpenChange: t, children: n, onDrag: r, onRelease: i, sn
20091
20091
  autoFocus: O
20092
20092
  } }, n));
20093
20093
  }
20094
- var EL = /* @__PURE__ */ A.forwardRef(function({ ...e }, t) {
20094
+ var EL = /*#__PURE__*/ A.forwardRef(function({ ...e }, t) {
20095
20095
  let { overlayRef: n, snapPoints: r, onRelease: i, shouldFade: a, isOpen: o, modal: s, shouldAnimate: c } = jI(), l = nL(t, n), u = r && r.length > 0;
20096
20096
  if (!s) return null;
20097
20097
  let d = A.useCallback((e) => i(e), [i]);
20098
- return /* @__PURE__ */ A.createElement(WP, {
20098
+ return /*#__PURE__*/ A.createElement(WP, {
20099
20099
  onMouseUp: d,
20100
20100
  ref: l,
20101
20101
  "data-vaul-overlay": "",
@@ -20106,7 +20106,7 @@ var EL = /* @__PURE__ */ A.forwardRef(function({ ...e }, t) {
20106
20106
  });
20107
20107
  });
20108
20108
  EL.displayName = "Drawer.Overlay";
20109
- var DL = /* @__PURE__ */ A.forwardRef(function({ onPointerDownOutside: e, style: t, onOpenAutoFocus: n, ...r }, i) {
20109
+ var DL = /*#__PURE__*/ A.forwardRef(function({ onPointerDownOutside: e, style: t, onOpenAutoFocus: n, ...r }, i) {
20110
20110
  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 } = jI(), [b, x] = A.useState(!1), S = nL(i, a), C = A.useRef(null), w = A.useRef(null), T = A.useRef(!1), E = h && h.length > 0;
20111
20111
  SL();
20112
20112
  let D = (e, t, n = 0) => {
@@ -20125,7 +20125,7 @@ var DL = /* @__PURE__ */ A.forwardRef(function({ onPointerDownOutside: e, style:
20125
20125
  function O(e) {
20126
20126
  C.current = null, T.current = !1, s(e);
20127
20127
  }
20128
- return /* @__PURE__ */ A.createElement(GP, {
20128
+ return /*#__PURE__*/ A.createElement(GP, {
20129
20129
  "data-vaul-drawer-direction": m,
20130
20130
  "data-vaul-drawer": "",
20131
20131
  "data-vaul-delayed-snap-points": b ? "true" : "false",
@@ -20180,7 +20180,7 @@ var DL = /* @__PURE__ */ A.forwardRef(function({ onPointerDownOutside: e, style:
20180
20180
  });
20181
20181
  });
20182
20182
  DL.displayName = "Drawer.Content";
20183
- var OL = 250, kL = 120, AL = /* @__PURE__ */ A.forwardRef(function({ preventCycle: e = !1, children: t, ...n }, r) {
20183
+ var OL = 250, kL = 120, AL = /*#__PURE__*/ A.forwardRef(function({ preventCycle: e = !1, children: t, ...n }, r) {
20184
20184
  let { closeDrawer: i, isDragging: a, snapPoints: o, activeSnapPoint: s, setActiveSnapPoint: c, dismissible: l, handleOnly: u, isOpen: d, onPress: f, onDrag: p } = jI(), m = A.useRef(null), h = A.useRef(!1);
20185
20185
  function g() {
20186
20186
  if (h.current) {
@@ -20217,7 +20217,7 @@ var OL = 250, kL = 120, AL = /* @__PURE__ */ A.forwardRef(function({ preventCycl
20217
20217
  function y() {
20218
20218
  m.current && window.clearTimeout(m.current), h.current = !1;
20219
20219
  }
20220
- return /* @__PURE__ */ A.createElement("div", {
20220
+ return /*#__PURE__*/ A.createElement("div", {
20221
20221
  onClick: g,
20222
20222
  onPointerCancel: y,
20223
20223
  onPointerDown: (e) => {
@@ -20231,7 +20231,7 @@ var OL = 250, kL = 120, AL = /* @__PURE__ */ A.forwardRef(function({ preventCycl
20231
20231
  "data-vaul-handle": "",
20232
20232
  "aria-hidden": "true",
20233
20233
  ...n
20234
- }, /* @__PURE__ */ A.createElement("span", {
20234
+ }, /*#__PURE__*/ A.createElement("span", {
20235
20235
  "data-vaul-handle-hitarea": "",
20236
20236
  "aria-hidden": "true"
20237
20237
  }, t));
@@ -20240,7 +20240,7 @@ AL.displayName = "Drawer.Handle";
20240
20240
  function jL({ onDrag: e, onOpenChange: t, open: n, ...r }) {
20241
20241
  let { onNestedDrag: i, onNestedOpenChange: a, onNestedRelease: o } = jI();
20242
20242
  if (!i) throw Error("Drawer.NestedRoot must be placed in another drawer");
20243
- return /* @__PURE__ */ A.createElement(TL, {
20243
+ return /*#__PURE__*/ A.createElement(TL, {
20244
20244
  nested: !0,
20245
20245
  open: n,
20246
20246
  onClose: () => {
@@ -20258,7 +20258,7 @@ function jL({ onDrag: e, onOpenChange: t, open: n, ...r }) {
20258
20258
  }
20259
20259
  function ML(e) {
20260
20260
  let t = jI(), { container: n = t.container, ...r } = e;
20261
- return /* @__PURE__ */ A.createElement(UP, {
20261
+ return /*#__PURE__*/ A.createElement(UP, {
20262
20262
  container: n,
20263
20263
  ...r
20264
20264
  });
@@ -22825,11 +22825,11 @@ function cB(e, t) {
22825
22825
  for (a = 0; a < r.length; a++) i = r[a], !(t.indexOf(i) >= 0) && (n[i] = e[i]);
22826
22826
  return n;
22827
22827
  }
22828
- var lB = /* @__PURE__ */ P(function(e, t) {
22828
+ var lB = /*#__PURE__*/ P(function(e, t) {
22829
22829
  var n = e.children, r = fB(sB(e, Wz)), i = r.open, a = sB(r, Gz);
22830
22830
  return te(t, function() {
22831
22831
  return { open: i };
22832
- }, [i]), /* @__PURE__ */ A.createElement(j, null, n(aB(aB({}, a), {}, { open: i })));
22832
+ }, [i]), /*#__PURE__*/ A.createElement(j, null, n(aB(aB({}, a), {}, { open: i })));
22833
22833
  });
22834
22834
  lB.displayName = "Dropzone";
22835
22835
  var uB = {
@@ -25790,53 +25790,53 @@ var uW = (e) => {
25790
25790
  case "error": return gW;
25791
25791
  default: return null;
25792
25792
  }
25793
- }, dW = Array(12).fill(0), fW = ({ visible: e, className: t }) => /* @__PURE__ */ A.createElement("div", {
25793
+ }, dW = Array(12).fill(0), fW = ({ visible: e, className: t }) => /*#__PURE__*/ A.createElement("div", {
25794
25794
  className: ["sonner-loading-wrapper", t].filter(Boolean).join(" "),
25795
25795
  "data-visible": e
25796
- }, /* @__PURE__ */ A.createElement("div", { className: "sonner-spinner" }, dW.map((e, t) => /* @__PURE__ */ A.createElement("div", {
25796
+ }, /*#__PURE__*/ A.createElement("div", { className: "sonner-spinner" }, dW.map((e, t) => /*#__PURE__*/ A.createElement("div", {
25797
25797
  className: "sonner-loading-bar",
25798
25798
  key: `spinner-bar-${t}`
25799
- })))), pW = /* @__PURE__ */ A.createElement("svg", {
25799
+ })))), pW = /*#__PURE__*/ A.createElement("svg", {
25800
25800
  xmlns: "http://www.w3.org/2000/svg",
25801
25801
  viewBox: "0 0 20 20",
25802
25802
  fill: "currentColor",
25803
25803
  height: "20",
25804
25804
  width: "20"
25805
- }, /* @__PURE__ */ A.createElement("path", {
25805
+ }, /*#__PURE__*/ A.createElement("path", {
25806
25806
  fillRule: "evenodd",
25807
25807
  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",
25808
25808
  clipRule: "evenodd"
25809
- })), mW = /* @__PURE__ */ A.createElement("svg", {
25809
+ })), mW = /*#__PURE__*/ A.createElement("svg", {
25810
25810
  xmlns: "http://www.w3.org/2000/svg",
25811
25811
  viewBox: "0 0 24 24",
25812
25812
  fill: "currentColor",
25813
25813
  height: "20",
25814
25814
  width: "20"
25815
- }, /* @__PURE__ */ A.createElement("path", {
25815
+ }, /*#__PURE__*/ A.createElement("path", {
25816
25816
  fillRule: "evenodd",
25817
25817
  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",
25818
25818
  clipRule: "evenodd"
25819
- })), hW = /* @__PURE__ */ A.createElement("svg", {
25819
+ })), hW = /*#__PURE__*/ A.createElement("svg", {
25820
25820
  xmlns: "http://www.w3.org/2000/svg",
25821
25821
  viewBox: "0 0 20 20",
25822
25822
  fill: "currentColor",
25823
25823
  height: "20",
25824
25824
  width: "20"
25825
- }, /* @__PURE__ */ A.createElement("path", {
25825
+ }, /*#__PURE__*/ A.createElement("path", {
25826
25826
  fillRule: "evenodd",
25827
25827
  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",
25828
25828
  clipRule: "evenodd"
25829
- })), gW = /* @__PURE__ */ A.createElement("svg", {
25829
+ })), gW = /*#__PURE__*/ A.createElement("svg", {
25830
25830
  xmlns: "http://www.w3.org/2000/svg",
25831
25831
  viewBox: "0 0 20 20",
25832
25832
  fill: "currentColor",
25833
25833
  height: "20",
25834
25834
  width: "20"
25835
- }, /* @__PURE__ */ A.createElement("path", {
25835
+ }, /*#__PURE__*/ A.createElement("path", {
25836
25836
  fillRule: "evenodd",
25837
25837
  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",
25838
25838
  clipRule: "evenodd"
25839
- })), _W = /* @__PURE__ */ A.createElement("svg", {
25839
+ })), _W = /*#__PURE__*/ A.createElement("svg", {
25840
25840
  xmlns: "http://www.w3.org/2000/svg",
25841
25841
  width: "12",
25842
25842
  height: "12",
@@ -25846,12 +25846,12 @@ var uW = (e) => {
25846
25846
  strokeWidth: "1.5",
25847
25847
  strokeLinecap: "round",
25848
25848
  strokeLinejoin: "round"
25849
- }, /* @__PURE__ */ A.createElement("line", {
25849
+ }, /*#__PURE__*/ A.createElement("line", {
25850
25850
  x1: "18",
25851
25851
  y1: "6",
25852
25852
  x2: "6",
25853
25853
  y2: "18"
25854
- }), /* @__PURE__ */ A.createElement("line", {
25854
+ }), /*#__PURE__*/ A.createElement("line", {
25855
25855
  x1: "6",
25856
25856
  y1: "6",
25857
25857
  x2: "18",
@@ -26096,16 +26096,16 @@ var FW = (e) => {
26096
26096
  n.delete && (Se(), n.onDismiss == null || n.onDismiss.call(n, n));
26097
26097
  }, [Se, n.delete]);
26098
26098
  function Ce() {
26099
- return w?.loading ? /* @__PURE__ */ A.createElement("div", {
26099
+ return w?.loading ? /*#__PURE__*/ A.createElement("div", {
26100
26100
  className: NW(C?.loader, n?.classNames?.loader, "sonner-loader"),
26101
26101
  "data-visible": U === "loading"
26102
- }, w.loading) : /* @__PURE__ */ A.createElement(fW, {
26102
+ }, w.loading) : /*#__PURE__*/ A.createElement(fW, {
26103
26103
  className: NW(C?.loader, n?.classNames?.loader),
26104
26104
  visible: U === "loading"
26105
26105
  });
26106
26106
  }
26107
26107
  let we = n.icon || w?.[U] || uW(U);
26108
- return /* @__PURE__ */ A.createElement("li", {
26108
+ return /*#__PURE__*/ A.createElement("li", {
26109
26109
  tabIndex: 0,
26110
26110
  ref: ae,
26111
26111
  className: NW(_, ce, C?.toast, n?.classNames?.toast, C?.default, C?.[U], n?.classNames?.[U]),
@@ -26182,7 +26182,7 @@ var FW = (e) => {
26182
26182
  }
26183
26183
  (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`);
26184
26184
  }
26185
- }, de && !n.jsx && U !== "loading" ? /* @__PURE__ */ A.createElement("button", {
26185
+ }, de && !n.jsx && U !== "loading" ? /*#__PURE__*/ A.createElement("button", {
26186
26186
  "aria-label": T,
26187
26187
  "data-disabled": xe,
26188
26188
  "data-close-button": !0,
@@ -26190,19 +26190,19 @@ var FW = (e) => {
26190
26190
  Se(), n.onDismiss == null || n.onDismiss.call(n, n);
26191
26191
  },
26192
26192
  className: NW(C?.closeButton, n?.classNames?.closeButton)
26193
- }, w?.close ?? _W) : null, (U || n.icon || n.promise) && n.icon !== null && (w?.[U] !== null || n.icon) ? /* @__PURE__ */ A.createElement("div", {
26193
+ }, w?.close ?? _W) : null, (U || n.icon || n.promise) && n.icon !== null && (w?.[U] !== null || n.icon) ? /*#__PURE__*/ A.createElement("div", {
26194
26194
  "data-icon": "",
26195
26195
  className: NW(C?.icon, n?.classNames?.icon)
26196
- }, n.promise || n.type === "loading" && !n.icon ? n.icon || Ce() : null, n.type === "loading" ? null : we) : null, /* @__PURE__ */ A.createElement("div", {
26196
+ }, n.promise || n.type === "loading" && !n.icon ? n.icon || Ce() : null, n.type === "loading" ? null : we) : null, /*#__PURE__*/ A.createElement("div", {
26197
26197
  "data-content": "",
26198
26198
  className: NW(C?.content, n?.classNames?.content)
26199
- }, /* @__PURE__ */ A.createElement("div", {
26199
+ }, /*#__PURE__*/ A.createElement("div", {
26200
26200
  "data-title": "",
26201
26201
  className: NW(C?.title, n?.classNames?.title)
26202
- }, n.jsx ? n.jsx : typeof n.title == "function" ? n.title() : n.title), n.description ? /* @__PURE__ */ A.createElement("div", {
26202
+ }, n.jsx ? n.jsx : typeof n.title == "function" ? n.title() : n.title), n.description ? /*#__PURE__*/ A.createElement("div", {
26203
26203
  "data-description": "",
26204
26204
  className: NW(v, le, C?.description, n?.classNames?.description)
26205
- }, typeof n.description == "function" ? n.description() : n.description) : null), /* @__PURE__ */ A.isValidElement(n.cancel) ? n.cancel : n.cancel && wW(n.cancel) ? /* @__PURE__ */ A.createElement("button", {
26205
+ }, typeof n.description == "function" ? n.description() : n.description) : null), /*#__PURE__*/ A.isValidElement(n.cancel) ? n.cancel : n.cancel && wW(n.cancel) ? /*#__PURE__*/ A.createElement("button", {
26206
26206
  "data-button": !0,
26207
26207
  "data-cancel": !0,
26208
26208
  style: n.cancelButtonStyle || h,
@@ -26210,7 +26210,7 @@ var FW = (e) => {
26210
26210
  wW(n.cancel) && se && (n.cancel.onClick == null || n.cancel.onClick.call(n.cancel, e), Se());
26211
26211
  },
26212
26212
  className: NW(C?.cancelButton, n?.classNames?.cancelButton)
26213
- }, n.cancel.label) : null, /* @__PURE__ */ A.isValidElement(n.action) ? n.action : n.action && wW(n.action) ? /* @__PURE__ */ A.createElement("button", {
26213
+ }, n.cancel.label) : null, /*#__PURE__*/ A.isValidElement(n.action) ? n.action : n.action && wW(n.action) ? /*#__PURE__*/ A.createElement("button", {
26214
26214
  "data-button": !0,
26215
26215
  "data-action": !0,
26216
26216
  style: n.actionButtonStyle || g,
@@ -26249,7 +26249,7 @@ function LW(e, t) {
26249
26249
  }) : o(a);
26250
26250
  }), n;
26251
26251
  }
26252
- var RW = /* @__PURE__ */ A.forwardRef(function(e, t) {
26252
+ var RW = /*#__PURE__*/ A.forwardRef(function(e, t) {
26253
26253
  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 = TW, toastOptions: g, dir: _ = IW(), gap: v = AW, 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) => {
26254
26254
  S((t) => (t.find((t) => t.id === e.id)?.delete || bW.dismiss(e.id), t.filter(({ id: t }) => t !== e.id)));
26255
26255
  }, []);
@@ -26313,7 +26313,7 @@ var RW = /* @__PURE__ */ A.forwardRef(function(e, t) {
26313
26313
  if (P.current) return () => {
26314
26314
  I.current && (I.current.focus({ preventScroll: !0 }), I.current = null, L.current = !1);
26315
26315
  };
26316
- }, [P.current]), /* @__PURE__ */ A.createElement("section", {
26316
+ }, [P.current]), /*#__PURE__*/ A.createElement("section", {
26317
26317
  ref: t,
26318
26318
  "aria-label": `${b} ${F}`,
26319
26319
  tabIndex: -1,
@@ -26323,7 +26323,7 @@ var RW = /* @__PURE__ */ A.forwardRef(function(e, t) {
26323
26323
  suppressHydrationWarning: !0
26324
26324
  }, w.map((t, n) => {
26325
26325
  let [i, a] = t.split("-");
26326
- return C.length ? /* @__PURE__ */ A.createElement("ol", {
26326
+ return C.length ? /*#__PURE__*/ A.createElement("ol", {
26327
26327
  key: t,
26328
26328
  dir: _ === "auto" ? IW() : _,
26329
26329
  tabIndex: -1,
@@ -26356,7 +26356,7 @@ var RW = /* @__PURE__ */ A.forwardRef(function(e, t) {
26356
26356
  e.target instanceof HTMLElement && e.target.dataset.dismissible === "false" || j(!0);
26357
26357
  },
26358
26358
  onPointerUp: () => j(!1)
26359
- }, C.filter((e) => !e.position && n === 0 || e.position === t).map((n, i) => /* @__PURE__ */ A.createElement(FW, {
26359
+ }, C.filter((e) => !e.position && n === 0 || e.position === t).map((n, i) => /*#__PURE__*/ A.createElement(FW, {
26360
26360
  key: n.id,
26361
26361
  icons: y,
26362
26362
  index: i,
@@ -28620,7 +28620,7 @@ function QK() {
28620
28620
  //#endregion
28621
28621
  //#region ../../node_modules/@tanstack/react-table/build/lib/index.mjs
28622
28622
  function $K(e, t) {
28623
- return e ? eq(e) ? /* @__PURE__ */ k.createElement(e, t) : e : null;
28623
+ return e ? eq(e) ? /*#__PURE__*/ k.createElement(e, t) : e : null;
28624
28624
  }
28625
28625
  function eq(e) {
28626
28626
  return tq(e) || typeof e == "function" || nq(e);
@@ -30481,35 +30481,20 @@ function WJ(e) {
30481
30481
  for (let t in e) Object.prototype.hasOwnProperty.call(e, t) && (r[t] = WJ(e[t]));
30482
30482
  return r;
30483
30483
  }
30484
- var GJ = (e) => /^\w*$/.test(e), KJ = (e) => e === void 0, qJ = (e) => Array.isArray(e) ? e.filter(Boolean) : [], JJ = (e) => qJ(e.replace(/["|']|\]/g, "").split(/\.|\[/)), YJ = (e, t, n) => {
30485
- if (!t || !zJ(e)) return n;
30486
- let r = (GJ(t) ? [t] : JJ(t)).reduce((e, t) => LJ(e) ? void 0 : e[t], e);
30487
- return KJ(r) || r === e ? KJ(e[t]) ? n : e[t] : r;
30488
- }, XJ = (e) => typeof e == "boolean", ZJ = (e) => typeof e == "function", QJ = (e, t, n) => {
30489
- let r = -1, i = GJ(t) ? [t] : JJ(t), a = i.length, o = a - 1;
30490
- for (; ++r < a;) {
30491
- let t = i[r], a = n;
30492
- if (r !== o) {
30493
- let n = e[t];
30494
- a = zJ(n) || Array.isArray(n) ? n : isNaN(+i[r + 1]) ? {} : [];
30495
- }
30496
- if (t === "__proto__" || t === "constructor" || t === "prototype") return;
30497
- e[t] = a, e = e[t];
30498
- }
30499
- }, $J = {
30484
+ var GJ = {
30500
30485
  BLUR: "blur",
30501
30486
  FOCUS_OUT: "focusout",
30502
30487
  CHANGE: "change",
30503
30488
  SUBMIT: "submit",
30504
30489
  TRIGGER: "trigger",
30505
30490
  VALID: "valid"
30506
- }, eY = {
30491
+ }, KJ = {
30507
30492
  onBlur: "onBlur",
30508
30493
  onChange: "onChange",
30509
30494
  onSubmit: "onSubmit",
30510
30495
  onTouched: "onTouched",
30511
30496
  all: "all"
30512
- }, tY = {
30497
+ }, qJ = {
30513
30498
  max: "max",
30514
30499
  min: "min",
30515
30500
  maxLength: "maxLength",
@@ -30517,16 +30502,37 @@ var GJ = (e) => /^\w*$/.test(e), KJ = (e) => e === void 0, qJ = (e) => Array.isA
30517
30502
  pattern: "pattern",
30518
30503
  required: "required",
30519
30504
  validate: "validate"
30520
- }, nY = "root", rY = A.createContext(null);
30505
+ }, JJ = "root", YJ = [
30506
+ "__proto__",
30507
+ "constructor",
30508
+ "prototype"
30509
+ ], XJ = (e) => /^\w*$/.test(e), ZJ = (e) => e === void 0, QJ = (e) => e.split(/[.[\]'"]/g).filter(Boolean), $J = (e, t, n) => {
30510
+ if (!t || !zJ(e)) return n;
30511
+ let r = XJ(t) ? [t] : QJ(t);
30512
+ if (r.some((e) => YJ.includes(e))) return n;
30513
+ let i = r.reduce((e, t) => LJ(e) ? void 0 : e[t], e);
30514
+ return ZJ(i) || i === e ? ZJ(e[t]) ? n : e[t] : i;
30515
+ }, eY = (e) => typeof e == "boolean", tY = (e) => typeof e == "function", nY = (e, t, n) => {
30516
+ let r = -1, i = XJ(t) ? [t] : QJ(t), a = i.length, o = a - 1;
30517
+ for (; ++r < a;) {
30518
+ let t = i[r], a = n;
30519
+ if (r !== o) {
30520
+ let n = e[t];
30521
+ a = zJ(n) || Array.isArray(n) ? n : isNaN(+i[r + 1]) ? {} : [];
30522
+ }
30523
+ if (YJ.includes(t)) return;
30524
+ e[t] = a, e = e[t];
30525
+ }
30526
+ }, rY = A.createContext(null);
30521
30527
  rY.displayName = "HookFormControlContext";
30522
30528
  var iY = () => A.useContext(rY), aY = (e, t, n, r = !0) => {
30523
30529
  let i = {};
30524
30530
  for (let a in e) Object.defineProperty(i, a, { get: () => {
30525
30531
  let i = a;
30526
- return t._proxyFormState[i] !== eY.all && (t._proxyFormState[i] = !r || eY.all), n && (n[i] = !0), e[i];
30532
+ return t._proxyFormState[i] !== KJ.all && (t._proxyFormState[i] = !r || KJ.all), n && (n[i] = !0), e[i];
30527
30533
  } });
30528
30534
  return i;
30529
- }, oY = typeof window < "u" ? A.useLayoutEffect : A.useEffect;
30535
+ }, oY = UJ ? A.useLayoutEffect : A.useEffect;
30530
30536
  function sY(e) {
30531
30537
  let t = iY(), { control: n = t, disabled: r, name: i, exact: a } = e || {}, [o, s] = A.useState(() => ({
30532
30538
  ...n._formState,
@@ -30560,13 +30566,14 @@ function sY(e) {
30560
30566
  c.current.isValid && n._setValid(!0);
30561
30567
  }, [n]), A.useMemo(() => aY(o, n, c.current, !1), [o, n]);
30562
30568
  }
30563
- var cY = (e) => typeof e == "string", lY = (e, t, n, r, i) => cY(e) ? (r && t.watch.add(e), YJ(n, e, i)) : Array.isArray(e) ? e.map((e) => (r && t.watch.add(e), YJ(n, e))) : (r && (t.watchAll = !0), n), uY = (e) => LJ(e) || !RJ(e);
30564
- function dY(e, t, n = /* @__PURE__ */ new WeakSet()) {
30569
+ var cY = (e) => typeof e == "string", lY = (e, t, n, r, i) => cY(e) ? (r && t.watch.add(e), $J(n, e, i)) : Array.isArray(e) ? e.map((e) => (r && t.watch.add(e), $J(n, e))) : (r && (t.watchAll = !0), n), uY = (e) => LJ(e) || !RJ(e), dY = (e, t) => t.length === 0 && !Array.isArray(e) && !HJ(e);
30570
+ function fY(e, t, n = /* @__PURE__ */ new WeakSet()) {
30565
30571
  if (e === t) return !0;
30566
30572
  if (uY(e) || uY(t)) return Object.is(e, t);
30567
30573
  if (IJ(e) && IJ(t)) return Object.is(e.getTime(), t.getTime());
30568
30574
  let r = Object.keys(e), i = Object.keys(t);
30569
30575
  if (r.length !== i.length) return !1;
30576
+ if (dY(e, r) || dY(t, i)) return Object.is(e, t);
30570
30577
  if (n.has(e) || n.has(t)) return !0;
30571
30578
  n.add(e), n.add(t);
30572
30579
  for (let i of r) {
@@ -30574,12 +30581,12 @@ function dY(e, t, n = /* @__PURE__ */ new WeakSet()) {
30574
30581
  if (!(i in t)) return !1;
30575
30582
  if (i !== "ref") {
30576
30583
  let e = t[i];
30577
- if (IJ(r) && IJ(e) || (zJ(r) || Array.isArray(r)) && (zJ(e) || Array.isArray(e)) ? !dY(r, e, n) : !Object.is(r, e)) return !1;
30584
+ if (IJ(r) && IJ(e) || (zJ(r) || Array.isArray(r)) && (zJ(e) || Array.isArray(e)) ? !fY(r, e, n) : !Object.is(r, e)) return !1;
30578
30585
  }
30579
30586
  }
30580
30587
  return !0;
30581
30588
  }
30582
- function fY(e) {
30589
+ function pY(e) {
30583
30590
  let t = iY(), { 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);
30584
30591
  l.current = s;
30585
30592
  let [p, m] = A.useState(() => {
@@ -30597,7 +30604,7 @@ function fY(e) {
30597
30604
  let t = lY(r, n._names, e || n._formValues, !1, c.current);
30598
30605
  if (l.current) {
30599
30606
  let e = l.current(t);
30600
- dY(e, u.current) || (m(e), u.current = e);
30607
+ fY(e, u.current) || (m(e), u.current = e);
30601
30608
  } else m(t);
30602
30609
  }
30603
30610
  }, [
@@ -30606,7 +30613,7 @@ function fY(e) {
30606
30613
  a,
30607
30614
  r
30608
30615
  ]);
30609
- oY(() => ((d.current !== n || !dY(f.current, r)) && (d.current = n, f.current = r, g()), n._subscribe({
30616
+ oY(() => ((d.current !== n || !fY(f.current, r)) && (d.current = n, f.current = r, g()), n._subscribe({
30610
30617
  name: r,
30611
30618
  formState: { values: !0 },
30612
30619
  exact: o,
@@ -30621,7 +30628,7 @@ function fY(e) {
30621
30628
  ]), A.useEffect(() => n._removeUnmounted());
30622
30629
  let _ = d.current !== n, v = f.current, y = A.useMemo(() => {
30623
30630
  if (a) return null;
30624
- let e = !_ && !dY(v, r);
30631
+ let e = !_ && !fY(v, r);
30625
30632
  return _ || e ? h() : null;
30626
30633
  }, [
30627
30634
  a,
@@ -30632,11 +30639,11 @@ function fY(e) {
30632
30639
  ]);
30633
30640
  return y === null ? p : y;
30634
30641
  }
30635
- function pY(e) {
30636
- let t = iY(), { name: n, disabled: r, control: i = t, shouldUnregister: a, defaultValue: o, exact: s = !0 } = e, c = VJ(i._names.array, n), l = fY({
30642
+ function mY(e) {
30643
+ let t = iY(), { name: n, disabled: r, control: i = t, shouldUnregister: a, defaultValue: o, exact: s = !0 } = e, c = VJ(i._names.array, n), l = pY({
30637
30644
  control: i,
30638
30645
  name: n,
30639
- defaultValue: A.useMemo(() => YJ(i._formValues, n, YJ(i._defaultValues, n, o)), [
30646
+ defaultValue: A.useMemo(() => $J(i._formValues, n, $J(i._defaultValues, n, o)), [
30640
30647
  i,
30641
30648
  n,
30642
30649
  o
@@ -30649,54 +30656,60 @@ function pY(e) {
30649
30656
  }), d = A.useRef(e), f = A.useRef(i.register(n, {
30650
30657
  ...e.rules,
30651
30658
  value: l,
30652
- ...XJ(e.disabled) ? { disabled: e.disabled } : {}
30659
+ ...eY(e.disabled) ? { disabled: e.disabled } : {}
30653
30660
  }));
30654
30661
  d.current = e;
30655
30662
  let p = A.useMemo(() => Object.defineProperties({}, {
30656
30663
  invalid: {
30657
30664
  enumerable: !0,
30658
- get: () => !!YJ(u.errors, n)
30665
+ get: () => !!$J(u.errors, n)
30659
30666
  },
30660
30667
  isDirty: {
30661
30668
  enumerable: !0,
30662
- get: () => !!YJ(u.dirtyFields, n)
30669
+ get: () => !!$J(u.dirtyFields, n)
30663
30670
  },
30664
30671
  isTouched: {
30665
30672
  enumerable: !0,
30666
- get: () => !!YJ(u.touchedFields, n)
30673
+ get: () => !!$J(u.touchedFields, n)
30667
30674
  },
30668
30675
  isValidating: {
30669
30676
  enumerable: !0,
30670
- get: () => !!YJ(u.validatingFields, n)
30677
+ get: () => !!$J(u.validatingFields, n)
30671
30678
  },
30672
30679
  error: {
30673
30680
  enumerable: !0,
30674
- get: () => YJ(u.errors, n)
30681
+ get: () => $J(u.errors, n)
30675
30682
  }
30676
- }), [u, n]), m = A.useCallback((e) => f.current.onChange({
30677
- target: {
30678
- value: BJ(e),
30679
- name: n
30680
- },
30681
- type: $J.CHANGE
30682
- }), [n]), h = A.useCallback(() => f.current.onBlur({
30683
+ }), [u, n]), m = A.useCallback((e) => {
30684
+ let t = BJ(e);
30685
+ $J(i._fields, n) || (f.current = i.register(n, {
30686
+ ...d.current.rules,
30687
+ value: t
30688
+ })), f.current.onChange({
30689
+ target: {
30690
+ value: BJ(e),
30691
+ name: n
30692
+ },
30693
+ type: GJ.CHANGE
30694
+ });
30695
+ }, [n, i]), h = A.useCallback(() => f.current.onBlur({
30683
30696
  target: {
30684
- value: YJ(i._formValues, n),
30697
+ value: $J(i._formValues, n),
30685
30698
  name: n
30686
30699
  },
30687
- type: $J.BLUR
30700
+ type: GJ.BLUR
30688
30701
  }), [n, i._formValues]), g = A.useCallback((e) => {
30689
- let t = YJ(i._fields, n);
30702
+ let t = $J(i._fields, n);
30690
30703
  t && t._f && e && (t._f.ref = {
30691
- focus: () => ZJ(e.focus) && e.focus(),
30692
- select: () => ZJ(e.select) && e.select(),
30693
- setCustomValidity: (t) => ZJ(e.setCustomValidity) && e.setCustomValidity(t),
30694
- reportValidity: () => ZJ(e.reportValidity) && e.reportValidity()
30704
+ focus: () => tY(e.focus) && e.focus(),
30705
+ select: () => tY(e.select) && e.select(),
30706
+ setCustomValidity: (t) => tY(e.setCustomValidity) && e.setCustomValidity(t),
30707
+ reportValidity: () => tY(e.reportValidity) && e.reportValidity()
30695
30708
  });
30696
30709
  }, [i._fields, n]), _ = A.useMemo(() => ({
30697
30710
  name: n,
30698
30711
  value: l,
30699
- ...XJ(r) || u.disabled ? { disabled: u.disabled || r } : {},
30712
+ ...eY(r) || u.disabled ? { disabled: u.disabled || r } : {},
30700
30713
  onChange: m,
30701
30714
  onBlur: h,
30702
30715
  ref: g
@@ -30713,15 +30726,15 @@ function pY(e) {
30713
30726
  let e = i._options.shouldUnregister || a;
30714
30727
  i.register(n, {
30715
30728
  ...d.current.rules,
30716
- ...XJ(d.current.disabled) ? { disabled: d.current.disabled } : {}
30729
+ ...eY(d.current.disabled) ? { disabled: d.current.disabled } : {}
30717
30730
  });
30718
30731
  let t = (e, t) => {
30719
- let n = YJ(i._fields, e);
30732
+ let n = $J(i._fields, e);
30720
30733
  n && n._f && (n._f.mount = t);
30721
30734
  };
30722
30735
  if (t(n, !0), e) {
30723
- let e = WJ(YJ(i._options.defaultValues, n, d.current.defaultValue));
30724
- QJ(i._defaultValues, n, e), KJ(YJ(i._formValues, n)) && QJ(i._formValues, n, e);
30736
+ let e = WJ($J(a ? i._defaultValues : i._options.values || i._defaultValues, n, $J(i._options.defaultValues, n, d.current.defaultValue)));
30737
+ nY(i._defaultValues, n, e), ZJ($J(i._formValues, n)) && nY(i._formValues, n, e);
30725
30738
  }
30726
30739
  return !c && i.register(n), () => {
30727
30740
  (c ? e && !i._state.action : e) ? i.unregister(n) : t(n, !1);
@@ -30750,20 +30763,20 @@ function pY(e) {
30750
30763
  p
30751
30764
  ]);
30752
30765
  }
30753
- var mY = A.createContext(null);
30754
- mY.displayName = "HookFormContext";
30755
- var hY = (e, t, n, r, i) => t ? {
30766
+ var hY = A.createContext(null);
30767
+ hY.displayName = "HookFormContext";
30768
+ var gY = (e, t, n, r, i) => t ? {
30756
30769
  ...n[e],
30757
30770
  types: {
30758
30771
  ...n[e] && n[e].types ? n[e].types : {},
30759
30772
  [r]: i || !0
30760
30773
  }
30761
- } : {}, gY = (e) => Array.isArray(e) ? e : [e], _Y = (e) => zJ(e) && !Object.keys(e).length, vY = (e) => e.type === "file", yY = (e) => {
30774
+ } : {}, _Y = (e) => Array.isArray(e) ? e.filter(Boolean) : [], vY = (e) => Array.isArray(e) ? e : [e], yY = (e) => zJ(e) && !Object.keys(e).length, bY = (e) => e.type === "file", xY = (e) => {
30762
30775
  if (!UJ) return !1;
30763
30776
  let t = e ? e.ownerDocument : 0;
30764
30777
  return e instanceof (t && t.defaultView ? t.defaultView.HTMLElement : HTMLElement);
30765
- }, bY = (e) => e.type === "radio";
30766
- function xY(e, t) {
30778
+ }, SY = (e) => e.type === "radio";
30779
+ function CY(e, t) {
30767
30780
  let n = t.slice(0, -1).length, r = 0;
30768
30781
  for (; r < n;) {
30769
30782
  if (LJ(e)) {
@@ -30774,22 +30787,22 @@ function xY(e, t) {
30774
30787
  }
30775
30788
  return e;
30776
30789
  }
30777
- function SY(e) {
30778
- for (let t in e) if (e.hasOwnProperty(t) && !KJ(e[t])) return !1;
30790
+ function wY(e) {
30791
+ for (let t in e) if (e.hasOwnProperty(t) && !ZJ(e[t])) return !1;
30779
30792
  return !0;
30780
30793
  }
30781
- function CY(e, t) {
30794
+ function TY(e, t) {
30782
30795
  if (cY(t) && Object.prototype.hasOwnProperty.call(e, t)) return delete e[t], e;
30783
- let n = Array.isArray(t) ? t : GJ(t) ? [t] : JJ(t), r = n.length === 1 ? e : xY(e, n), i = n.length - 1, a = n[i];
30784
- return r && delete r[a], i !== 0 && (zJ(r) && _Y(r) || Array.isArray(r) && SY(r)) && CY(e, n.slice(0, -1)), e;
30796
+ let n = Array.isArray(t) ? t : XJ(t) ? [t] : QJ(t), r = n.length === 1 ? e : CY(e, n), i = n.length - 1, a = n[i];
30797
+ return r && delete r[a], i !== 0 && (zJ(r) && yY(r) || Array.isArray(r) && wY(r)) && TY(e, n.slice(0, -1)), e;
30785
30798
  }
30786
- var wY = {
30799
+ var EY = {
30787
30800
  value: !1,
30788
30801
  isValid: !1
30789
- }, TY = {
30802
+ }, DY = {
30790
30803
  value: !0,
30791
30804
  isValid: !0
30792
- }, EY = (e) => {
30805
+ }, OY = (e) => {
30793
30806
  if (Array.isArray(e)) {
30794
30807
  if (e.length > 1) {
30795
30808
  let t = e.filter((e) => e && e.checked && !e.disabled).map((e) => e.value);
@@ -30798,55 +30811,55 @@ var wY = {
30798
30811
  isValid: !!t.length
30799
30812
  };
30800
30813
  }
30801
- return e[0].checked && !e[0].disabled ? e[0].attributes && !KJ(e[0].attributes.value) ? KJ(e[0].value) || e[0].value === "" ? TY : {
30814
+ return e[0].checked && !e[0].disabled ? e[0].attributes && !ZJ(e[0].attributes.value) ? ZJ(e[0].value) || e[0].value === "" ? DY : {
30802
30815
  value: e[0].value,
30803
30816
  isValid: !0
30804
- } : TY : wY;
30817
+ } : DY : EY;
30805
30818
  }
30806
- return wY;
30807
- }, DY = {
30819
+ return EY;
30820
+ }, kY = {
30808
30821
  isValid: !1,
30809
30822
  value: null
30810
- }, OY = (e) => Array.isArray(e) ? e.reduce((e, t) => t && t.checked && !t.disabled ? {
30823
+ }, AY = (e) => Array.isArray(e) ? e.reduce((e, t) => t && t.checked && !t.disabled ? {
30811
30824
  isValid: !0,
30812
30825
  value: t.value
30813
- } : e, DY) : DY, kY = (e) => e instanceof RegExp, AY = (e) => ({
30814
- isOnSubmit: !e || e === eY.onSubmit,
30815
- isOnBlur: e === eY.onBlur,
30816
- isOnChange: e === eY.onChange,
30817
- isOnAll: e === eY.all,
30818
- isOnTouch: e === eY.onTouched
30819
- }), jY = (e, t, n) => !n && (t.watchAll || t.watch.has(e) || [...t.watch].some((t) => e.startsWith(t) && /^\.\w+/.test(e.slice(t.length)))), MY = (e, t, n, r) => {
30826
+ } : e, kY) : kY, jY = (e) => e instanceof RegExp, MY = (e) => ({
30827
+ isOnSubmit: !e || e === KJ.onSubmit,
30828
+ isOnBlur: e === KJ.onBlur,
30829
+ isOnChange: e === KJ.onChange,
30830
+ isOnAll: e === KJ.all,
30831
+ isOnTouch: e === KJ.onTouched
30832
+ }), NY = (e, t, n) => !n && (t.watchAll || t.watch.has(e) || [...t.watch].some((t) => e.startsWith(`${t}.`))), PY = (e, t, n, r) => {
30820
30833
  for (let i of n || Object.keys(e)) {
30821
- let n = YJ(e, i);
30834
+ let n = $J(e, i);
30822
30835
  if (n) {
30823
30836
  let { _f: e, ...a } = n;
30824
30837
  if (e) {
30825
30838
  if (e.refs && e.refs[0] && t(e.refs[0], i) && !r || e.ref && t(e.ref, e.name) && !r) return !0;
30826
- if (MY(a, t)) break;
30827
- } else if (zJ(a) && MY(a, t)) break;
30839
+ if (PY(a, t)) break;
30840
+ } else if (zJ(a) && PY(a, t)) break;
30828
30841
  }
30829
30842
  }
30830
- }, NY = (e, t, n) => {
30831
- let r = gY(YJ(e, n));
30832
- return QJ(r, nY, t[n]), QJ(e, n, r), e;
30843
+ }, FY = (e, t, n) => {
30844
+ let r = $J(e, n), i = Array.isArray(r) ? r : [];
30845
+ return nY(i, JJ, t[n]), nY(e, n, i), e;
30833
30846
  };
30834
- function PY(e, t, n = "validate") {
30835
- if (cY(e) || Array.isArray(e) && e.every(cY) || XJ(e) && !e) return {
30847
+ function IY(e, t, n = "validate") {
30848
+ if (cY(e) || Array.isArray(e) && e.every(cY) || eY(e) && !e) return {
30836
30849
  type: n,
30837
30850
  message: cY(e) ? e : "",
30838
30851
  ref: t
30839
30852
  };
30840
30853
  }
30841
- var FY = (e) => zJ(e) && !kY(e) ? e : {
30854
+ var LY = (e) => zJ(e) && !jY(e) ? e : {
30842
30855
  value: e,
30843
30856
  message: ""
30844
- }, IY = async (e, t, n, r, i, a) => {
30845
- 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 = YJ(n, h);
30857
+ }, RY = async (e, t, n, r, i, a) => {
30858
+ 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 = $J(n, h);
30846
30859
  if (!_ || t.has(h)) return {};
30847
30860
  let y = s ? s[0] : o, b = (e) => {
30848
- i && y.reportValidity && (y.setCustomValidity(XJ(e) ? "" : e || ""), y.reportValidity());
30849
- }, x = {}, S = bY(o), C = FJ(o), w = S || C, T = (g || vY(o)) && KJ(o.value) && KJ(v) || yY(o) && o.value === "" || v === "" || Array.isArray(v) && !v.length || g && typeof v == "number" && isNaN(v), E = hY.bind(null, h, r, x), D = (e, t, n, r = tY.maxLength, i = tY.minLength) => {
30861
+ i && y.reportValidity && (y.setCustomValidity(eY(e) ? "" : e || ""), y.reportValidity());
30862
+ }, x = {}, S = SY(o), C = FJ(o), w = S || C, T = (g || bY(o)) && ZJ(o.value) && ZJ(v) || xY(o) && o.value === "" || v === "" || Array.isArray(v) && !v.length, E = gY.bind(null, h, r, x), D = (e, t, n, r = qJ.maxLength, i = qJ.minLength) => {
30850
30863
  let a = e ? t : n;
30851
30864
  x[h] = {
30852
30865
  type: e ? r : i,
@@ -30855,20 +30868,20 @@ var FY = (e) => zJ(e) && !kY(e) ? e : {
30855
30868
  ...E(e ? r : i, a)
30856
30869
  };
30857
30870
  };
30858
- if (a ? !Array.isArray(v) || !v.length : c && (!w && (T || LJ(v)) || XJ(v) && !v || C && !EY(s).isValid || S && !OY(s).isValid)) {
30871
+ if (a ? !Array.isArray(v) || !v.length : c && (!w && (T || LJ(v)) || eY(v) && !v || C && !OY(s).isValid || S && !AY(s).isValid)) {
30859
30872
  let { value: e, message: t } = cY(c) ? {
30860
30873
  value: !!c,
30861
30874
  message: c
30862
- } : FY(c);
30875
+ } : LY(c);
30863
30876
  if (e && (x[h] = {
30864
- type: tY.required,
30877
+ type: qJ.required,
30865
30878
  message: t,
30866
30879
  ref: y,
30867
- ...E(tY.required, t)
30880
+ ...E(qJ.required, t)
30868
30881
  }, !r)) return b(t), x;
30869
30882
  }
30870
30883
  if (!T && (!LJ(d) || !LJ(f))) {
30871
- let e, t, n = FY(f), i = FY(d);
30884
+ let e, t, n = LY(f), i = LY(d);
30872
30885
  if (!LJ(v) && !isNaN(v)) {
30873
30886
  let r = o.valueAsNumber || v && +v;
30874
30887
  LJ(n.value) || (e = r > n.value), LJ(i.value) || (t = r < i.value);
@@ -30876,39 +30889,39 @@ var FY = (e) => zJ(e) && !kY(e) ? e : {
30876
30889
  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";
30877
30890
  cY(n.value) && v && (e = s ? a(v) > a(n.value) : c ? v > n.value : r > new Date(n.value)), cY(i.value) && v && (t = s ? a(v) < a(i.value) : c ? v < i.value : r < new Date(i.value));
30878
30891
  }
30879
- if ((e || t) && (D(!!e, n.message, i.message, tY.max, tY.min), !r)) return b(x[h].message), x;
30892
+ if ((e || t) && (D(!!e, n.message, i.message, qJ.max, qJ.min), !r)) return b(x[h].message), x;
30880
30893
  }
30881
30894
  if ((l || u) && !T && (cY(v) || a && Array.isArray(v))) {
30882
- let e = FY(l), t = FY(u), n = !LJ(e.value) && v.length > +e.value, i = !LJ(t.value) && v.length < +t.value;
30895
+ let e = LY(l), t = LY(u), n = !LJ(e.value) && v.length > +e.value, i = !LJ(t.value) && v.length < +t.value;
30883
30896
  if ((n || i) && (D(n, e.message, t.message), !r)) return b(x[h].message), x;
30884
30897
  }
30885
30898
  if (p && !T && cY(v)) {
30886
- let { value: e, message: t } = FY(p);
30887
- if (kY(e) && !v.match(e) && (x[h] = {
30888
- type: tY.pattern,
30899
+ let { value: e, message: t } = LY(p);
30900
+ if (jY(e) && !v.match(e) && (x[h] = {
30901
+ type: qJ.pattern,
30889
30902
  message: t,
30890
30903
  ref: o,
30891
- ...E(tY.pattern, t)
30904
+ ...E(qJ.pattern, t)
30892
30905
  }, !r)) return b(t), x;
30893
30906
  }
30894
30907
  if (m) {
30895
- if (ZJ(m)) {
30896
- let e = PY(await m(v, n), y);
30908
+ if (tY(m)) {
30909
+ let e = IY(await m(v, n), y);
30897
30910
  if (e && (x[h] = {
30898
30911
  ...e,
30899
- ...E(tY.validate, e.message)
30912
+ ...E(qJ.validate, e.message)
30900
30913
  }, !r)) return b(e.message), x;
30901
30914
  } else if (zJ(m)) {
30902
30915
  let e = {};
30903
30916
  for (let t in m) {
30904
- if (!_Y(e) && !r) break;
30905
- let i = PY(await m[t](v, n), y, t);
30917
+ if (!yY(e) && !r) break;
30918
+ let i = IY(await m[t](v, n), y, t);
30906
30919
  i && (e = {
30907
30920
  ...i,
30908
30921
  ...E(t, i.message)
30909
30922
  }, b(i.message), r && (x[h] = e));
30910
30923
  }
30911
- if (!_Y(e) && (x[h] = {
30924
+ if (!yY(e) && (x[h] = {
30912
30925
  ref: y,
30913
30926
  ...e
30914
30927
  }, !r)) return x;
@@ -30916,33 +30929,33 @@ var FY = (e) => zJ(e) && !kY(e) ? e : {
30916
30929
  }
30917
30930
  return b(!0), x;
30918
30931
  };
30919
- eY.onSubmit, eY.onChange;
30920
- var LY = () => {
30932
+ KJ.onSubmit, KJ.onChange;
30933
+ var zY = () => {
30921
30934
  if (typeof crypto < "u" && crypto.randomUUID) return crypto.randomUUID();
30922
30935
  let e = typeof performance > "u" ? Date.now() : performance.now() * 1e3;
30923
30936
  return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, (t) => {
30924
30937
  let n = (Math.random() * 16 + e) % 16 | 0;
30925
30938
  return (t == "x" ? n : n & 3 | 8).toString(16);
30926
30939
  });
30927
- }, RY = (e, t, n = {}) => n.shouldFocus || KJ(n.shouldFocus) ? n.focusName || `${e}.${KJ(n.focusIndex) ? t : n.focusIndex}.` : "", zY = (e, t) => [...e, ...gY(t)], BY = (e) => Array.isArray(e) ? e.map(() => void 0) : void 0;
30928
- function VY(e, t, n) {
30940
+ }, BY = (e, t, n = {}) => n.shouldFocus || ZJ(n.shouldFocus) ? n.focusName || `${e}.${ZJ(n.focusIndex) ? t : n.focusIndex}.` : "", VY = (e, t) => [...e, ...vY(t)], HY = (e) => Array.isArray(e) ? e.map(() => void 0) : void 0;
30941
+ function UY(e, t, n) {
30929
30942
  return [
30930
30943
  ...e.slice(0, t),
30931
- ...gY(n),
30944
+ ...vY(n),
30932
30945
  ...e.slice(t)
30933
30946
  ];
30934
30947
  }
30935
- var HY = (e, t, n) => Array.isArray(e) ? (KJ(e[n]) && (e[n] = void 0), e.splice(n, 0, e.splice(t, 1)[0]), e) : [], UY = (e, t) => [...gY(t), ...gY(e)];
30936
- function WY(e, t) {
30948
+ var WY = (e, t, n) => Array.isArray(e) ? (ZJ(e[n]) && (e[n] = void 0), e.splice(n, 0, e.splice(t, 1)[0]), e) : [], GY = (e, t) => [...vY(t), ...vY(e)];
30949
+ function KY(e, t) {
30937
30950
  let n = 0, r = [...e];
30938
30951
  for (let e of t) r.splice(e - n, 1), n++;
30939
- return qJ(r).length ? r : [];
30952
+ return _Y(r).length ? r : [];
30940
30953
  }
30941
- var GY = (e, t) => KJ(t) ? [] : WY(e, gY(t).sort((e, t) => e - t)), KY = (e, t, n) => {
30954
+ var qY = (e, t) => ZJ(t) ? [] : KY(e, vY(t).sort((e, t) => e - t)), JY = (e, t, n) => {
30942
30955
  [e[t], e[n]] = [e[n], e[t]];
30943
- }, qY = (e, t, n) => (e[t] = n, e);
30944
- function JY(e) {
30945
- let t = iY(), { 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(LY)), u = A.useRef(!1);
30956
+ }, YY = (e, t, n) => (e[t] = n, e);
30957
+ function XY(e) {
30958
+ let t = iY(), { 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(zY)), u = A.useRef(!1);
30946
30959
  n._names.array.add(r), A.useMemo(() => o && s.length >= 0 && n.register(r, o), [
30947
30960
  n,
30948
30961
  r,
@@ -30950,42 +30963,42 @@ function JY(e) {
30950
30963
  o
30951
30964
  ]), oY(() => n._subjects.array.subscribe({ next: ({ values: e, name: t }) => {
30952
30965
  if (t === r || !t) {
30953
- let t = YJ(e, r);
30954
- Array.isArray(t) && (c(t), l.current = t.map(LY));
30966
+ let n = $J(e, r);
30967
+ Array.isArray(n) ? (c(n), l.current = n.map(zY)) : t || (c([]), l.current = []);
30955
30968
  }
30956
30969
  } }).unsubscribe, [n, r]);
30957
30970
  let d = A.useCallback((e) => {
30958
30971
  u.current = !0, n._setFieldArray(r, e);
30959
30972
  }, [n, r]);
30960
30973
  return A.useEffect(() => {
30961
- n._state.action = !1, jY(r, n._names) && n._subjects.state.next({ ...n._formState });
30962
- let e = AY(n._options.mode);
30963
- if (u.current && (!e.isOnSubmit || n._formState.isSubmitted) && !AY(n._options.reValidateMode).isOnSubmit && !e.isOnBlur) if (n._options.resolver) n._runSchema([r]).then((e) => {
30974
+ n._state.action = !1, NY(r, n._names) && n._subjects.state.next({ ...n._formState });
30975
+ let e = MY(n._options.mode);
30976
+ if (u.current && (!e.isOnSubmit || n._formState.isSubmitted) && !MY(n._options.reValidateMode).isOnSubmit && !e.isOnBlur) if (n._options.resolver) n._runSchema([r]).then((e) => {
30964
30977
  n._updateIsValidating([r]);
30965
- let t = YJ(e.errors, r), i = YJ(n._formState.errors, r);
30966
- (i ? !t && i.type || t && (i.type !== t.type || i.message !== t.message) : t && t.type) && (t ? QJ(n._formState.errors, r, t) : CY(n._formState.errors, r), n._subjects.state.next({ errors: n._formState.errors }));
30978
+ let t = $J(e.errors, r), i = $J(n._formState.errors, r);
30979
+ (i ? !t && i.type || t && (i.type !== t.type || i.message !== t.message) : t && t.type) && (t ? nY(n._formState.errors, r, t) : TY(n._formState.errors, r), n._subjects.state.next({ errors: n._formState.errors }));
30967
30980
  });
30968
30981
  else {
30969
- let e = YJ(n._fields, r);
30970
- e && e._f && !(AY(n._options.reValidateMode).isOnSubmit && AY(n._options.mode).isOnSubmit) && IY(e, n._names.disabled, n._formValues, n._options.criteriaMode === eY.all, n._options.shouldUseNativeValidation, !0).then((e) => !_Y(e) && n._subjects.state.next({ errors: NY(n._formState.errors, e, r) }));
30982
+ let e = $J(n._fields, r);
30983
+ e && e._f && !(MY(n._options.reValidateMode).isOnSubmit && MY(n._options.mode).isOnSubmit) && RY(e, n._names.disabled, n._formValues, n._options.criteriaMode === KJ.all, n._options.shouldUseNativeValidation, !0).then((e) => !yY(e) && n._subjects.state.next({ errors: FY(n._formState.errors, e, r) }));
30971
30984
  }
30972
30985
  n._subjects.state.next({
30973
30986
  name: r,
30974
30987
  values: WJ(n._formValues)
30975
- }), n._names.focus && MY(n._fields, (e, t) => {
30988
+ }), n._names.focus && PY(n._fields, (e, t) => {
30976
30989
  if (n._names.focus && t.startsWith(n._names.focus) && e.focus) return e.focus(), 1;
30977
30990
  }), n._names.focus = "", n._setValid(), u.current = !1;
30978
30991
  }, [
30979
30992
  s,
30980
30993
  r,
30981
30994
  n
30982
- ]), A.useEffect(() => (!YJ(n._formValues, r) && n._setFieldArray(r), () => {
30995
+ ]), A.useEffect(() => (!$J(n._formValues, r) && n._setFieldArray(r), () => {
30983
30996
  let e = !(n._options.shouldUnregister || a);
30984
30997
  u.current && e && n._subjects.state.next({
30985
30998
  name: r,
30986
30999
  values: WJ(n._formValues)
30987
31000
  }), e ? ((e, t) => {
30988
- let r = YJ(n._fields, e);
31001
+ let r = $J(n._fields, e);
30989
31002
  r && r._f && (r._f.mount = t);
30990
31003
  })(r, !1) : n.unregister(r);
30991
31004
  }), [
@@ -30996,7 +31009,7 @@ function JY(e) {
30996
31009
  ]), {
30997
31010
  swap: A.useCallback((e, t) => {
30998
31011
  let i = n._getFieldArray(r);
30999
- KY(i, e, t), KY(l.current, e, t), d(i), c(i), n._setFieldArray(r, i, KY, {
31012
+ JY(i, e, t), JY(l.current, e, t), d(i), c(i), n._setFieldArray(r, i, JY, {
31000
31013
  argA: e,
31001
31014
  argB: t
31002
31015
  }, !1);
@@ -31007,7 +31020,7 @@ function JY(e) {
31007
31020
  ]),
31008
31021
  move: A.useCallback((e, t) => {
31009
31022
  let i = n._getFieldArray(r);
31010
- HY(i, e, t), HY(l.current, e, t), d(i), c(i), n._setFieldArray(r, i, HY, {
31023
+ WY(i, e, t), WY(l.current, e, t), d(i), c(i), n._setFieldArray(r, i, WY, {
31011
31024
  argA: e,
31012
31025
  argB: t
31013
31026
  }, !1);
@@ -31017,34 +31030,34 @@ function JY(e) {
31017
31030
  n
31018
31031
  ]),
31019
31032
  prepend: A.useCallback((e, t) => {
31020
- let i = gY(WJ(e)), a = UY(n._getFieldArray(r), i);
31021
- n._names.focus = RY(r, 0, t), l.current = UY(l.current, i.map(LY)), d(a), c(a), n._setFieldArray(r, a, UY, { argA: BY(e) });
31033
+ let i = vY(WJ(e)), a = GY(n._getFieldArray(r), i);
31034
+ n._names.focus = BY(r, 0, t), l.current = GY(l.current, i.map(zY)), d(a), c(a), n._setFieldArray(r, a, GY, { argA: HY(e) });
31022
31035
  }, [
31023
31036
  d,
31024
31037
  r,
31025
31038
  n
31026
31039
  ]),
31027
31040
  append: A.useCallback((e, t) => {
31028
- let i = gY(WJ(e)), a = zY(n._getFieldArray(r), i);
31029
- n._names.focus = RY(r, a.length - 1, t), l.current = zY(l.current, i.map(LY)), d(a), c(a), n._setFieldArray(r, a, zY, { argA: BY(e) });
31041
+ let i = vY(WJ(e)), a = VY(n._getFieldArray(r), i);
31042
+ n._names.focus = BY(r, a.length - 1, t), l.current = VY(l.current, i.map(zY)), d(a), c(a), n._setFieldArray(r, a, VY, { argA: HY(e) });
31030
31043
  }, [
31031
31044
  d,
31032
31045
  r,
31033
31046
  n
31034
31047
  ]),
31035
31048
  remove: A.useCallback((e) => {
31036
- let t = GY(n._getFieldArray(r), e);
31037
- l.current = GY(l.current, e), d(t), c(t), !Array.isArray(YJ(n._fields, r)) && QJ(n._fields, r, void 0), n._setFieldArray(r, t, GY, { argA: e });
31049
+ let t = qY(n._getFieldArray(r), e);
31050
+ l.current = qY(l.current, e), d(t), c(t), !Array.isArray($J(n._fields, r)) && nY(n._fields, r, void 0), n._setFieldArray(r, t, qY, { argA: e });
31038
31051
  }, [
31039
31052
  d,
31040
31053
  r,
31041
31054
  n
31042
31055
  ]),
31043
31056
  insert: A.useCallback((e, t, i) => {
31044
- let a = gY(WJ(t)), o = VY(n._getFieldArray(r), e, a);
31045
- n._names.focus = RY(r, e, i), l.current = VY(l.current, e, a.map(LY)), d(o), c(o), n._setFieldArray(r, o, VY, {
31057
+ let a = vY(WJ(t)), o = UY(n._getFieldArray(r), e, a);
31058
+ n._names.focus = BY(r, e, i), l.current = UY(l.current, e, a.map(zY)), d(o), c(o), n._setFieldArray(r, o, UY, {
31046
31059
  argA: e,
31047
- argB: BY(t)
31060
+ argB: HY(t)
31048
31061
  });
31049
31062
  }, [
31050
31063
  d,
@@ -31052,8 +31065,8 @@ function JY(e) {
31052
31065
  n
31053
31066
  ]),
31054
31067
  update: A.useCallback((e, t) => {
31055
- let i = WJ(t), a = qY(n._getFieldArray(r), e, i);
31056
- l.current = [...a].map((t, n) => !t || n === e ? LY() : l.current[n]), d(a), c([...a]), n._setFieldArray(r, a, qY, {
31068
+ let i = WJ(t), a = YY(n._getFieldArray(r), e, i);
31069
+ l.current = [...a].map((t, n) => !t || n === e ? zY() : l.current[n]), d(a), c([...a]), n._setFieldArray(r, a, YY, {
31057
31070
  argA: e,
31058
31071
  argB: i
31059
31072
  }, !0, !1);
@@ -31063,8 +31076,8 @@ function JY(e) {
31063
31076
  n
31064
31077
  ]),
31065
31078
  replace: A.useCallback((e) => {
31066
- let t = gY(WJ(e));
31067
- l.current = t.map(LY), d([...t]), c([...t]), n._setFieldArray(r, [...t], (e) => e, {}, !0, !1);
31079
+ let t = vY(WJ(e));
31080
+ l.current = t.map(zY), d([...t]), c([...t]), n._setFieldArray(r, [...t], (e) => e, {}, !0, !1);
31068
31081
  }, [
31069
31082
  d,
31070
31083
  r,
@@ -31072,21 +31085,21 @@ function JY(e) {
31072
31085
  ]),
31073
31086
  fields: A.useMemo(() => s.map((e, t) => ({
31074
31087
  ...e,
31075
- [i]: l.current[t] || LY()
31088
+ [i]: l.current[t] || zY()
31076
31089
  })), [s, i])
31077
31090
  };
31078
31091
  }
31079
31092
  //#endregion
31080
31093
  //#region src/composed/JsonSchemaForm/models/JsonSchemaFormContext.ts
31081
- var YY = M(null);
31082
- function XY() {
31083
- let e = I(YY);
31094
+ var ZY = M(null);
31095
+ function QY() {
31096
+ let e = I(ZY);
31084
31097
  if (e === null) throw Error("useJsonSchemaFormContext must be used within a <JsonSchemaForm>");
31085
31098
  return e;
31086
31099
  }
31087
31100
  //#endregion
31088
31101
  //#region src/composed/JsonSchemaForm/conditional/evalCondition.ts
31089
- function ZY(e, t) {
31102
+ function $Y(e, t) {
31090
31103
  if (e.$eq.size === 0) return !0;
31091
31104
  for (let [n, r] of e.$eq) {
31092
31105
  let e = t.get(n);
@@ -31096,11 +31109,11 @@ function ZY(e, t) {
31096
31109
  }
31097
31110
  //#endregion
31098
31111
  //#region src/composed/JsonSchemaForm/conditional/ConditionalGate.tsx
31099
- function QY({ condition: e, unregisterOnHide: t, children: n }) {
31100
- let { control: r } = XY(), i = B(() => Array.from(e.$eq.keys()), [e]), a = fY({
31112
+ function eX({ condition: e, unregisterOnHide: t, children: n }) {
31113
+ let { control: r } = QY(), i = B(() => Array.from(e.$eq.keys()), [e]), a = pY({
31101
31114
  control: r,
31102
31115
  name: i
31103
- }), o = ZY(e, B(() => {
31116
+ }), o = $Y(e, B(() => {
31104
31117
  let e = /* @__PURE__ */ new Map();
31105
31118
  if (i.length === 0) return e;
31106
31119
  let t = Array.isArray(a) ? a : [a];
@@ -31116,15 +31129,15 @@ function QY({ condition: e, unregisterOnHide: t, children: n }) {
31116
31129
  }
31117
31130
  //#endregion
31118
31131
  //#region src/composed/JsonSchemaForm/conditional/DisabledGate.tsx
31119
- function $Y({ condition: e, children: t }) {
31120
- let n = XY(), r = B(() => Array.from(e.$eq.keys()), [e]), i = fY({
31132
+ function tX({ condition: e, children: t }) {
31133
+ let n = QY(), r = B(() => Array.from(e.$eq.keys()), [e]), i = pY({
31121
31134
  control: n.control,
31122
31135
  name: r
31123
31136
  });
31124
- return ZY(e, B(() => {
31137
+ return $Y(e, B(() => {
31125
31138
  let e = /* @__PURE__ */ new Map(), t = Array.isArray(i) ? i : [i];
31126
31139
  return r.forEach((n, r) => e.set(n, t[r])), e;
31127
- }, [r, i])) ? /* @__PURE__ */ H(YY.Provider, {
31140
+ }, [r, i])) ? /* @__PURE__ */ H(ZY.Provider, {
31128
31141
  value: {
31129
31142
  ...n,
31130
31143
  disabled: !0
@@ -31134,7 +31147,7 @@ function $Y({ condition: e, children: t }) {
31134
31147
  }
31135
31148
  //#endregion
31136
31149
  //#region src/composed/JsonSchemaForm/conditional/concretizePath.ts
31137
- function eX(e, t) {
31150
+ function nX(e, t) {
31138
31151
  return e.split(".").map((e, n) => {
31139
31152
  let r = t[n];
31140
31153
  return e === "*" && r !== void 0 && /^\d+$/.test(r) ? r : e;
@@ -31142,13 +31155,13 @@ function eX(e, t) {
31142
31155
  }
31143
31156
  //#endregion
31144
31157
  //#region src/composed/JsonSchemaForm/conditional/concretizeCondition.ts
31145
- function tX(e, t) {
31158
+ function rX(e, t) {
31146
31159
  let n = t === "" ? [] : t.split(".");
31147
- return { $eq: new Map([...e.$eq].map(([e, t]) => [eX(e, n), t])) };
31160
+ return { $eq: new Map([...e.$eq].map(([e, t]) => [nX(e, n), t])) };
31148
31161
  }
31149
31162
  //#endregion
31150
31163
  //#region src/composed/JsonSchemaForm/schema/preprocess/walkDependencies.ts
31151
- function nX(e, t) {
31164
+ function iX(e, t) {
31152
31165
  if (!e) return e;
31153
31166
  let n = {};
31154
31167
  for (let [r, i] of Object.entries(e)) n[r] = Array.isArray(i) ? i : t(i);
@@ -31156,17 +31169,17 @@ function nX(e, t) {
31156
31169
  }
31157
31170
  //#endregion
31158
31171
  //#region src/composed/JsonSchemaForm/schema/preprocess/mergeAllOf.ts
31159
- function rX(e) {
31160
- return iX(e);
31172
+ function aX(e) {
31173
+ return oX(e);
31161
31174
  }
31162
- function iX(e) {
31163
- return oX(aX({ ...e }));
31175
+ function oX(e) {
31176
+ return cX(sX({ ...e }));
31164
31177
  }
31165
- function aX(e) {
31178
+ function sX(e) {
31166
31179
  if (!Array.isArray(e.allOf) || e.allOf.length === 0) return e;
31167
31180
  let t = { ...e.properties ?? {} }, n = new Set(e.required ?? []), r = e.gioConfig ? { ...e.gioConfig } : void 0, i = { ...e.dependencies ?? {} };
31168
31181
  for (let a of e.allOf) {
31169
- let e = iX(a);
31182
+ let e = oX(a);
31170
31183
  Object.assign(t, e.properties ?? {}), e.required?.forEach((e) => n.add(e)), e.gioConfig && (r = {
31171
31184
  ...r,
31172
31185
  ...e.gioConfig
@@ -31175,33 +31188,33 @@ function aX(e) {
31175
31188
  let a = { ...e };
31176
31189
  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;
31177
31190
  }
31178
- function oX(e) {
31179
- return e.properties &&= sX(e.properties, iX), e.items &&= Array.isArray(e.items) ? e.items.map(iX) : iX(e.items), e.oneOf &&= e.oneOf.map(iX), e.anyOf &&= e.anyOf.map(iX), e.dependencies &&= nX(e.dependencies, iX), e;
31191
+ function cX(e) {
31192
+ return e.properties &&= lX(e.properties, oX), e.items &&= Array.isArray(e.items) ? e.items.map(oX) : oX(e.items), e.oneOf &&= e.oneOf.map(oX), e.anyOf &&= e.anyOf.map(oX), e.dependencies &&= iX(e.dependencies, oX), e;
31180
31193
  }
31181
- function sX(e, t) {
31194
+ function lX(e, t) {
31182
31195
  let n = {};
31183
31196
  for (let [r, i] of Object.entries(e)) n[r] = t(i);
31184
31197
  return n;
31185
31198
  }
31186
31199
  //#endregion
31187
31200
  //#region src/composed/JsonSchemaForm/utils/jsonPointer.ts
31188
- function cX(e) {
31201
+ function uX(e) {
31189
31202
  return e.replace(/~/g, "~0").replace(/\//g, "~1");
31190
31203
  }
31191
- function lX(e) {
31204
+ function dX(e) {
31192
31205
  return e.replace(/~1/g, "/").replace(/~0/g, "~");
31193
31206
  }
31194
31207
  //#endregion
31195
31208
  //#region src/composed/JsonSchemaForm/schema/preprocess/resolveRefs.ts
31196
- function uX(e) {
31197
- return dX(e, e, []);
31209
+ function fX(e) {
31210
+ return pX(e, e, []);
31198
31211
  }
31199
- function dX(e, t, n) {
31212
+ function pX(e, t, n) {
31200
31213
  if (typeof e.$ref == "string") {
31201
31214
  if (n.includes(e.$ref)) throw Error(`Cyclic $ref: ${[...n, e.$ref].join(" → ")}`);
31202
- let r = fX(t, e.$ref);
31215
+ let r = mX(t, e.$ref);
31203
31216
  if (r === void 0) throw Error(`Unresolved $ref: ${e.$ref}`);
31204
- let i = dX(r, t, [...n, e.$ref]), { $ref: a, gioConfig: o, ...s } = e, c = {
31217
+ let i = pX(r, t, [...n, e.$ref]), { $ref: a, gioConfig: o, ...s } = e, c = {
31205
31218
  ...i,
31206
31219
  ...s
31207
31220
  };
@@ -31213,25 +31226,25 @@ function dX(e, t, n) {
31213
31226
  let r = { ...e };
31214
31227
  if (r.properties) {
31215
31228
  let e = {};
31216
- for (let [i, a] of Object.entries(r.properties)) e[i] = dX(a, t, n);
31229
+ for (let [i, a] of Object.entries(r.properties)) e[i] = pX(a, t, n);
31217
31230
  r.properties = e;
31218
31231
  }
31219
- if (r.items &&= Array.isArray(r.items) ? r.items.map((e) => dX(e, t, n)) : dX(r.items, t, n), r.oneOf &&= r.oneOf.map((e) => dX(e, t, n)), r.anyOf &&= r.anyOf.map((e) => dX(e, t, n)), r.allOf &&= r.allOf.map((e) => dX(e, t, n)), r.dependencies &&= nX(r.dependencies, (e) => dX(e, t, n)), r.definitions) {
31232
+ if (r.items &&= Array.isArray(r.items) ? r.items.map((e) => pX(e, t, n)) : pX(r.items, t, n), r.oneOf &&= r.oneOf.map((e) => pX(e, t, n)), r.anyOf &&= r.anyOf.map((e) => pX(e, t, n)), r.allOf &&= r.allOf.map((e) => pX(e, t, n)), r.dependencies &&= iX(r.dependencies, (e) => pX(e, t, n)), r.definitions) {
31220
31233
  let e = {};
31221
- for (let [i, a] of Object.entries(r.definitions)) e[i] = dX(a, t, n);
31234
+ for (let [i, a] of Object.entries(r.definitions)) e[i] = pX(a, t, n);
31222
31235
  r.definitions = e;
31223
31236
  }
31224
31237
  if (r.$defs) {
31225
31238
  let e = {};
31226
- for (let [i, a] of Object.entries(r.$defs)) e[i] = dX(a, t, n);
31239
+ for (let [i, a] of Object.entries(r.$defs)) e[i] = pX(a, t, n);
31227
31240
  r.$defs = e;
31228
31241
  }
31229
31242
  return r;
31230
31243
  }
31231
- function fX(e, t) {
31244
+ function mX(e, t) {
31232
31245
  if (t === "#") return e;
31233
31246
  if (!t.startsWith("#/")) throw Error(`Unsupported $ref format (only local JSON Pointers are supported): ${t}`);
31234
- let n = t.slice(2).split("/").map(lX), r = e;
31247
+ let n = t.slice(2).split("/").map(dX), r = e;
31235
31248
  for (let e of n) {
31236
31249
  if (typeof r != "object" || !r) return;
31237
31250
  r = r[e];
@@ -31240,28 +31253,28 @@ function fX(e, t) {
31240
31253
  }
31241
31254
  //#endregion
31242
31255
  //#region src/composed/JsonSchemaForm/form-bindings/extractDefaults.ts
31243
- function pX(e) {
31256
+ function hX(e) {
31244
31257
  let t;
31245
31258
  try {
31246
- t = rX(uX(e));
31259
+ t = aX(fX(e));
31247
31260
  } catch {
31248
31261
  return;
31249
31262
  }
31250
- return mX(t);
31263
+ return gX(t);
31251
31264
  }
31252
- function mX(e) {
31265
+ function gX(e) {
31253
31266
  if (e.deprecated === !0) return;
31254
31267
  if (Object.prototype.hasOwnProperty.call(e, "default")) return e.default;
31255
31268
  let t = {};
31256
31269
  if (e.properties) for (let [n, r] of Object.entries(e.properties)) {
31257
- let e = mX(r);
31270
+ let e = gX(r);
31258
31271
  e !== void 0 && (t[n] = e);
31259
31272
  }
31260
31273
  let n = (e.oneOf ?? e.anyOf)?.find((e) => e.deprecated !== !0);
31261
31274
  if (n?.properties) {
31262
31275
  for (let [e, r] of Object.entries(n.properties)) if (r.const !== void 0) t[e] = r.const;
31263
31276
  else if (!(e in t)) {
31264
- let n = mX(r);
31277
+ let n = gX(r);
31265
31278
  n !== void 0 && (t[e] = n);
31266
31279
  }
31267
31280
  }
@@ -31269,23 +31282,23 @@ function mX(e) {
31269
31282
  }
31270
31283
  //#endregion
31271
31284
  //#region src/composed/JsonSchemaForm/utils/fieldErrors.ts
31272
- function hX(e) {
31285
+ function _X(e) {
31273
31286
  return e ? e.types ? Object.values(e.types).flat().filter((e) => typeof e == "string").map((e) => ({ message: e })) : [{ message: e.message }] : [];
31274
31287
  }
31275
31288
  //#endregion
31276
31289
  //#region src/composed/JsonSchemaForm/utils/labelOf.ts
31277
- function gX(e) {
31290
+ function vX(e) {
31278
31291
  return e ? e.charAt(0).toUpperCase() + e.slice(1) : "Field";
31279
31292
  }
31280
- function _X(e) {
31281
- return gX(e.split(".").pop());
31293
+ function yX(e) {
31294
+ return vX(e.split(".").pop());
31282
31295
  }
31283
- function vX(e, t) {
31284
- return typeof e.title == "string" && e.title.length > 0 ? e.title : gX(t);
31296
+ function bX(e, t) {
31297
+ return typeof e.title == "string" && e.title.length > 0 ? e.title : vX(t);
31285
31298
  }
31286
31299
  //#endregion
31287
31300
  //#region src/composed/JsonSchemaForm/fields/banner/SchemaBanner.tsx
31288
- function yX({ banner: e }) {
31301
+ function xX({ banner: e }) {
31289
31302
  let t = "title" in e ? e.title : void 0;
31290
31303
  return /* @__PURE__ */ U(Yy, {
31291
31304
  role: "note",
@@ -31305,7 +31318,7 @@ function yX({ banner: e }) {
31305
31318
  }
31306
31319
  //#endregion
31307
31320
  //#region src/composed/JsonSchemaForm/fields/array/buildDefaultForType.ts
31308
- function bX(e) {
31321
+ function SX(e) {
31309
31322
  if (e.default !== void 0) return e.default;
31310
31323
  switch (e.type) {
31311
31324
  case "string": return "";
@@ -31320,11 +31333,11 @@ function bX(e) {
31320
31333
  }
31321
31334
  //#endregion
31322
31335
  //#region src/composed/JsonSchemaForm/fields/array/use-array-field.ts
31323
- function xX(e, t) {
31324
- let n = XY(), r = t ? n.basePath ? `${n.basePath}.${t}` : t : n.basePath, { fields: i, append: a, remove: o } = JY({
31336
+ function CX(e, t) {
31337
+ let n = QY(), r = t ? n.basePath ? `${n.basePath}.${t}` : t : n.basePath, { fields: i, append: a, remove: o } = XY({
31325
31338
  control: n.control,
31326
31339
  name: r
31327
- }), { fieldState: s } = pY({
31340
+ }), { fieldState: s } = mY({
31328
31341
  control: n.control,
31329
31342
  name: r
31330
31343
  }), c = n.disabled || e.readOnly === !0, l = typeof e.minItems == "number" ? e.minItems : 0, u = typeof e.maxItems == "number" ? e.maxItems : Infinity;
@@ -31342,10 +31355,10 @@ function xX(e, t) {
31342
31355
  }
31343
31356
  //#endregion
31344
31357
  //#region src/composed/JsonSchemaForm/fields/array/ArrayField.tsx
31345
- function SX({ node: e, name: t, depth: n }) {
31346
- let { schema: r } = e, { ctx: i, path: a, fields: o, append: s, remove: c, fieldState: l, isDisabled: u, atMin: d, atMax: f } = xX(r, t), p = r.items, m = e.items, h = vX(r, t), g = r.gioConfig?.uiBorder === "full";
31358
+ function wX({ node: e, name: t, depth: n }) {
31359
+ let { schema: r } = e, { ctx: i, path: a, fields: o, append: s, remove: c, fieldState: l, isDisabled: u, atMin: d, atMax: f } = CX(r, t), p = r.items, m = e.items, h = bX(r, t), g = r.gioConfig?.uiBorder === "full";
31347
31360
  function _() {
31348
- s(wX(p), { shouldFocus: !1 });
31361
+ s(EX(p), { shouldFocus: !1 });
31349
31362
  }
31350
31363
  return /* @__PURE__ */ U(pR, {
31351
31364
  "aria-required": r.isRequired || void 0,
@@ -31357,10 +31370,10 @@ function SX({ node: e, name: t, depth: n }) {
31357
31370
  children: h
31358
31371
  }),
31359
31372
  r.description && /* @__PURE__ */ H(xR, { children: r.description }),
31360
- r.gioConfig?.banner && /* @__PURE__ */ H(yX, { banner: r.gioConfig.banner }),
31373
+ r.gioConfig?.banner && /* @__PURE__ */ H(xX, { banner: r.gioConfig.banner }),
31361
31374
  /* @__PURE__ */ H("div", {
31362
31375
  className: "flex flex-col",
31363
- children: o.map((e, t) => /* @__PURE__ */ H(CX, {
31376
+ children: o.map((e, t) => /* @__PURE__ */ H(TX, {
31364
31377
  index: t,
31365
31378
  path: a,
31366
31379
  itemsNode: m,
@@ -31382,11 +31395,11 @@ function SX({ node: e, name: t, depth: n }) {
31382
31395
  children: [/* @__PURE__ */ H(E, { "aria-hidden": "true" }), "Add"]
31383
31396
  })
31384
31397
  }),
31385
- /* @__PURE__ */ H(CR, { errors: hX(l.error) })
31398
+ /* @__PURE__ */ H(CR, { errors: _X(l.error) })
31386
31399
  ]
31387
31400
  });
31388
31401
  }
31389
- function CX({ index: e, path: t, itemsNode: n, depth: r, disabled: i, canRemove: a, onRemove: o, ctx: c }) {
31402
+ function TX({ index: e, path: t, itemsNode: n, depth: r, disabled: i, canRemove: a, onRemove: o, ctx: c }) {
31390
31403
  let l = `${t}.${e}`;
31391
31404
  return /* @__PURE__ */ U(Uw, {
31392
31405
  defaultOpen: !0,
@@ -31415,13 +31428,13 @@ function CX({ index: e, path: t, itemsNode: n, depth: r, disabled: i, canRemove:
31415
31428
  })]
31416
31429
  }), /* @__PURE__ */ H(Gw, { children: /* @__PURE__ */ H("div", {
31417
31430
  className: "pt-2 pb-4 pl-6",
31418
- children: n && /* @__PURE__ */ H(YY.Provider, {
31431
+ children: n && /* @__PURE__ */ H(ZY.Provider, {
31419
31432
  value: {
31420
31433
  ...c,
31421
31434
  basePath: l,
31422
31435
  disabled: i
31423
31436
  },
31424
- children: /* @__PURE__ */ H(tZ, {
31437
+ children: /* @__PURE__ */ H(rZ, {
31425
31438
  node: n,
31426
31439
  name: "",
31427
31440
  depth: r + 1
@@ -31430,17 +31443,17 @@ function CX({ index: e, path: t, itemsNode: n, depth: r, disabled: i, canRemove:
31430
31443
  }) })]
31431
31444
  });
31432
31445
  }
31433
- function wX(e) {
31434
- let t = pX(e);
31435
- return t === void 0 ? bX(e) : t;
31446
+ function EX(e) {
31447
+ let t = hX(e);
31448
+ return t === void 0 ? SX(e) : t;
31436
31449
  }
31437
31450
  //#endregion
31438
31451
  //#region src/composed/JsonSchemaForm/fields/array/HeadersArrayField.tsx
31439
- function TX({ node: e, name: t }) {
31440
- let { schema: n } = e, { path: r, fields: i, append: a, remove: o, fieldState: s, isDisabled: c, atMin: l, atMax: u } = xX(n, t), d = n.items, f = d && !Array.isArray(d) ? d.properties ?? {} : {}, p = Object.keys(f), m = vX(n, t);
31452
+ function DX({ node: e, name: t }) {
31453
+ let { schema: n } = e, { path: r, fields: i, append: a, remove: o, fieldState: s, isDisabled: c, atMin: l, atMax: u } = CX(n, t), d = n.items, f = d && !Array.isArray(d) ? d.properties ?? {} : {}, p = Object.keys(f), m = bX(n, t);
31441
31454
  function h() {
31442
31455
  let e = {};
31443
- for (let t of p) e[t] = bX(f[t]);
31456
+ for (let t of p) e[t] = SX(f[t]);
31444
31457
  a(e, { shouldFocus: !1 });
31445
31458
  }
31446
31459
  return /* @__PURE__ */ U(pR, {
@@ -31452,16 +31465,16 @@ function TX({ node: e, name: t }) {
31452
31465
  children: m
31453
31466
  }),
31454
31467
  n.description && /* @__PURE__ */ H(xR, { children: n.description }),
31455
- n.gioConfig?.banner && /* @__PURE__ */ H(yX, { banner: n.gioConfig.banner }),
31468
+ n.gioConfig?.banner && /* @__PURE__ */ H(xX, { banner: n.gioConfig.banner }),
31456
31469
  /* @__PURE__ */ H("div", {
31457
31470
  className: "overflow-hidden rounded-lg border",
31458
31471
  children: /* @__PURE__ */ U(HW, { children: [/* @__PURE__ */ H(UW, { children: /* @__PURE__ */ U(KW, { children: [p.map((e) => /* @__PURE__ */ H(qW, {
31459
31472
  scope: "col",
31460
- children: OX(f[e], e)
31473
+ children: AX(f[e], e)
31461
31474
  }, e)), /* @__PURE__ */ H(qW, {
31462
31475
  "aria-hidden": "true",
31463
31476
  className: "w-px"
31464
- })] }) }), /* @__PURE__ */ H(WW, { children: i.map((e, t) => /* @__PURE__ */ H(EX, {
31477
+ })] }) }), /* @__PURE__ */ H(WW, { children: i.map((e, t) => /* @__PURE__ */ H(OX, {
31465
31478
  rowIndex: t,
31466
31479
  rowPath: `${r}.${t}`,
31467
31480
  columnKeys: p,
@@ -31479,12 +31492,12 @@ function TX({ node: e, name: t }) {
31479
31492
  onClick: h,
31480
31493
  children: [/* @__PURE__ */ H(E, { "aria-hidden": "true" }), "Add"]
31481
31494
  }) }),
31482
- /* @__PURE__ */ H(CR, { errors: hX(s.error) })
31495
+ /* @__PURE__ */ H(CR, { errors: _X(s.error) })
31483
31496
  ]
31484
31497
  });
31485
31498
  }
31486
- function EX({ rowIndex: e, rowPath: t, columnKeys: n, itemProperties: r, disabled: i, canRemove: a, onRemove: o }) {
31487
- return /* @__PURE__ */ U(KW, { children: [n.map((n) => /* @__PURE__ */ H(DX, {
31499
+ function OX({ rowIndex: e, rowPath: t, columnKeys: n, itemProperties: r, disabled: i, canRemove: a, onRemove: o }) {
31500
+ return /* @__PURE__ */ U(KW, { children: [n.map((n) => /* @__PURE__ */ H(kX, {
31488
31501
  columnKey: n,
31489
31502
  cellPath: `${t}.${n}`,
31490
31503
  propSchema: r[n],
@@ -31503,8 +31516,8 @@ function EX({ rowIndex: e, rowPath: t, columnKeys: n, itemProperties: r, disable
31503
31516
  })
31504
31517
  })] });
31505
31518
  }
31506
- function DX({ columnKey: e, cellPath: t, propSchema: n, rowIndex: r, disabled: i }) {
31507
- let { control: a } = XY(), { field: o, fieldState: s } = pY({
31519
+ function kX({ columnKey: e, cellPath: t, propSchema: n, rowIndex: r, disabled: i }) {
31520
+ let { control: a } = QY(), { field: o, fieldState: s } = mY({
31508
31521
  control: a,
31509
31522
  name: t
31510
31523
  }), { ref: c, onBlur: l, onChange: u, value: d } = o;
@@ -31516,21 +31529,21 @@ function DX({ columnKey: e, cellPath: t, propSchema: n, rowIndex: r, disabled: i
31516
31529
  onBlur: l,
31517
31530
  disabled: i,
31518
31531
  "aria-invalid": s.invalid,
31519
- "aria-label": `${OX(n, e)} for row ${r + 1}`,
31532
+ "aria-label": `${AX(n, e)} for row ${r + 1}`,
31520
31533
  placeholder: typeof n.title == "string" ? n.title : void 0
31521
31534
  }) });
31522
31535
  }
31523
- function OX(e, t) {
31536
+ function AX(e, t) {
31524
31537
  return typeof e.title == "string" ? e.title : t.charAt(0).toUpperCase() + t.slice(1);
31525
31538
  }
31526
31539
  //#endregion
31527
31540
  //#region src/composed/JsonSchemaForm/fields/boolean/BooleanField.tsx
31528
- function kX({ node: e, name: t }) {
31529
- let { control: n, basePath: r, disabled: i } = XY(), { schema: a } = e, o = t ? r ? `${r}.${t}` : t : r, { field: s, fieldState: c } = pY({
31541
+ function jX({ node: e, name: t }) {
31542
+ let { control: n, basePath: r, disabled: i } = QY(), { schema: a } = e, o = t ? r ? `${r}.${t}` : t : r, { field: s, fieldState: c } = mY({
31530
31543
  control: n,
31531
31544
  name: o,
31532
31545
  defaultValue: typeof a.default == "boolean" ? a.default : !1
31533
- }), l = vX(a, t), u = i || a.readOnly === !0;
31546
+ }), l = bX(a, t), u = i || a.readOnly === !0;
31534
31547
  return /* @__PURE__ */ U(_R, {
31535
31548
  orientation: "horizontal",
31536
31549
  "data-invalid": c.invalid,
@@ -31546,43 +31559,43 @@ function kX({ node: e, name: t }) {
31546
31559
  htmlFor: o,
31547
31560
  children: l
31548
31561
  }),
31549
- a.gioConfig?.banner && /* @__PURE__ */ H(yX, { banner: a.gioConfig.banner }),
31562
+ a.gioConfig?.banner && /* @__PURE__ */ H(xX, { banner: a.gioConfig.banner }),
31550
31563
  a.description && /* @__PURE__ */ H(xR, { children: a.description }),
31551
- /* @__PURE__ */ H(CR, { errors: hX(c.error) })
31564
+ /* @__PURE__ */ H(CR, { errors: _X(c.error) })
31552
31565
  ] })]
31553
31566
  });
31554
31567
  }
31555
31568
  //#endregion
31556
31569
  //#region src/composed/JsonSchemaForm/utils/schemaShape.ts
31557
- function AX(e) {
31570
+ function MX(e) {
31558
31571
  return Array.isArray(e.oneOf) && e.oneOf.length > 0 && e.oneOf.every((e) => e.const !== void 0);
31559
31572
  }
31560
- function jX(e) {
31573
+ function NX(e) {
31561
31574
  return e.type !== "array" || e.uniqueItems !== !0 || !e.items || Array.isArray(e.items) ? !1 : Array.isArray(e.items.enum) && e.items.enum.length > 0;
31562
31575
  }
31563
- function MX(e) {
31576
+ function PX(e) {
31564
31577
  return e.type === "array" && e.gioConfig?.uiType === "gio-headers-array";
31565
31578
  }
31566
- function NX(e) {
31567
- return Array.isArray(e.oneOf) && e.oneOf.length > 0 && e.oneOf.some((e) => e.properties !== void 0) && !AX(e);
31579
+ function FX(e) {
31580
+ return Array.isArray(e.oneOf) && e.oneOf.length > 0 && e.oneOf.some((e) => e.properties !== void 0) && !MX(e);
31568
31581
  }
31569
- function PX(e) {
31582
+ function IX(e) {
31570
31583
  return Array.isArray(e.anyOf) && e.anyOf.length > 0 && e.anyOf.some((e) => e.properties !== void 0);
31571
31584
  }
31572
31585
  //#endregion
31573
31586
  //#region src/composed/JsonSchemaForm/fields/enum/enumOptions.ts
31574
- function FX(e, t) {
31587
+ function LX(e, t) {
31575
31588
  let n = t?.[String(e)];
31576
31589
  return n === void 0 ? e === null ? "—" : String(e) : n;
31577
31590
  }
31578
- function IX(e, t) {
31591
+ function RX(e, t) {
31579
31592
  return e.map((e, n) => ({
31580
31593
  raw: e,
31581
31594
  key: String(n),
31582
- label: FX(e, t)
31595
+ label: LX(e, t)
31583
31596
  }));
31584
31597
  }
31585
- function LX(e) {
31598
+ function zX(e) {
31586
31599
  return e.map((e, t) => ({
31587
31600
  raw: e.const,
31588
31601
  key: String(t),
@@ -31591,12 +31604,12 @@ function LX(e) {
31591
31604
  }
31592
31605
  //#endregion
31593
31606
  //#region src/composed/JsonSchemaForm/fields/enum/EnumField.tsx
31594
- function RX({ node: e, name: t }) {
31595
- let { control: n, basePath: r, disabled: i } = XY(), { schema: a } = e, o = t ? r ? `${r}.${t}` : t : r, { field: s, fieldState: c } = pY({
31607
+ function BX({ node: e, name: t }) {
31608
+ let { control: n, basePath: r, disabled: i } = QY(), { schema: a } = e, o = t ? r ? `${r}.${t}` : t : r, { field: s, fieldState: c } = mY({
31596
31609
  control: n,
31597
31610
  name: o,
31598
31611
  defaultValue: a.default
31599
- }), { ref: l, onBlur: u } = s, d = vX(a, t), f = i || a.readOnly === !0, p = zX(a), m = p.find((e) => Object.is(e.raw, s.value))?.key ?? "", h = (e) => p.find((t) => t.key === e)?.raw;
31612
+ }), { ref: l, onBlur: u } = s, d = bX(a, t), f = i || a.readOnly === !0, p = VX(a), m = p.find((e) => Object.is(e.raw, s.value))?.key ?? "", h = (e) => p.find((t) => t.key === e)?.raw;
31600
31613
  return /* @__PURE__ */ U(_R, {
31601
31614
  "data-invalid": c.invalid,
31602
31615
  children: [
@@ -31605,7 +31618,7 @@ function RX({ node: e, name: t }) {
31605
31618
  required: a.isRequired,
31606
31619
  children: d
31607
31620
  }),
31608
- a.gioConfig?.banner && /* @__PURE__ */ H(yX, { banner: a.gioConfig.banner }),
31621
+ a.gioConfig?.banner && /* @__PURE__ */ H(xX, { banner: a.gioConfig.banner }),
31609
31622
  /* @__PURE__ */ U(tU, {
31610
31623
  value: m,
31611
31624
  onValueChange: (e) => s.onChange(h(e)),
@@ -31623,22 +31636,22 @@ function RX({ node: e, name: t }) {
31623
31636
  }, e.key)) })]
31624
31637
  }),
31625
31638
  a.description && /* @__PURE__ */ H(xR, { children: a.description }),
31626
- /* @__PURE__ */ H(CR, { errors: hX(c.error) })
31639
+ /* @__PURE__ */ H(CR, { errors: _X(c.error) })
31627
31640
  ]
31628
31641
  });
31629
31642
  }
31630
- function zX(e) {
31631
- return AX(e) ? LX(e.oneOf ?? []) : IX(e.enum ?? [], e.gioConfig?.enumLabelMap);
31643
+ function VX(e) {
31644
+ return MX(e) ? zX(e.oneOf ?? []) : RX(e.enum ?? [], e.gioConfig?.enumLabelMap);
31632
31645
  }
31633
31646
  //#endregion
31634
31647
  //#region src/composed/JsonSchemaForm/fields/enum/MultiSelectField.tsx
31635
- function BX({ node: e, name: t }) {
31636
- let { control: n, basePath: r, disabled: i } = XY(), { schema: a } = e, o = t ? r ? `${r}.${t}` : t : r, { field: s, fieldState: c } = pY({
31648
+ function HX({ node: e, name: t }) {
31649
+ let { control: n, basePath: r, disabled: i } = QY(), { schema: a } = e, o = t ? r ? `${r}.${t}` : t : r, { field: s, fieldState: c } = mY({
31637
31650
  control: n,
31638
31651
  name: o,
31639
31652
  defaultValue: Array.isArray(a.default) ? a.default : []
31640
- }), { ref: l, onBlur: u, onChange: d, value: f } = s, p = EM(), m = vX(a, t), h = i || a.readOnly === !0, g = a.items, _ = IX(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);
31641
- return VX({
31653
+ }), { ref: l, onBlur: u, onChange: d, value: f } = s, p = EM(), m = bX(a, t), h = i || a.readOnly === !0, g = a.items, _ = RX(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);
31654
+ return UX({
31642
31655
  schema: a,
31643
31656
  options: _,
31644
31657
  value: f,
@@ -31651,7 +31664,7 @@ function BX({ node: e, name: t }) {
31651
31664
  required: a.isRequired,
31652
31665
  children: m
31653
31666
  }),
31654
- a.gioConfig?.banner && /* @__PURE__ */ H(yX, { banner: a.gioConfig.banner }),
31667
+ a.gioConfig?.banner && /* @__PURE__ */ H(xX, { banner: a.gioConfig.banner }),
31655
31668
  /* @__PURE__ */ U(uM, {
31656
31669
  multiple: !0,
31657
31670
  autoHighlight: !0,
@@ -31684,27 +31697,27 @@ function BX({ node: e, name: t }) {
31684
31697
  })]
31685
31698
  }),
31686
31699
  a.description && /* @__PURE__ */ H(xR, { children: a.description }),
31687
- /* @__PURE__ */ H(CR, { errors: hX(c.error) })
31700
+ /* @__PURE__ */ H(CR, { errors: _X(c.error) })
31688
31701
  ]
31689
31702
  });
31690
31703
  }
31691
- function VX({ schema: e, options: t, value: n, onReset: r }) {
31704
+ function UX({ schema: e, options: t, value: n, onReset: r }) {
31692
31705
  R(() => {
31693
31706
  (Array.isArray(n) ? n : []).every((e) => t.some((t) => Object.is(t.raw, e))) || r(Array.isArray(e.default) ? e.default : []);
31694
31707
  }, [e]);
31695
31708
  }
31696
31709
  //#endregion
31697
31710
  //#region src/composed/JsonSchemaForm/fields/null/NullField.tsx
31698
- function HX() {
31711
+ function WX() {
31699
31712
  return null;
31700
31713
  }
31701
31714
  //#endregion
31702
31715
  //#region src/composed/JsonSchemaForm/fields/number/NumberField.tsx
31703
- function UX({ node: e, name: t }) {
31704
- let { control: n, basePath: r, disabled: i } = XY(), { schema: a } = e, o = t ? r ? `${r}.${t}` : t : r, { field: s, fieldState: c } = pY({
31716
+ function GX({ node: e, name: t }) {
31717
+ let { control: n, basePath: r, disabled: i } = QY(), { schema: a } = e, o = t ? r ? `${r}.${t}` : t : r, { field: s, fieldState: c } = mY({
31705
31718
  control: n,
31706
31719
  name: o
31707
- }), l = vX(a, t), u = i || a.readOnly === !0, d = (e) => {
31720
+ }), l = bX(a, t), u = i || a.readOnly === !0, d = (e) => {
31708
31721
  let t = e.target.value;
31709
31722
  if (t === "") {
31710
31723
  s.onChange(null);
@@ -31721,7 +31734,7 @@ function UX({ node: e, name: t }) {
31721
31734
  required: a.isRequired,
31722
31735
  children: l
31723
31736
  }),
31724
- a.gioConfig?.banner && /* @__PURE__ */ H(yX, { banner: a.gioConfig.banner }),
31737
+ a.gioConfig?.banner && /* @__PURE__ */ H(xX, { banner: a.gioConfig.banner }),
31725
31738
  /* @__PURE__ */ H(eM, {
31726
31739
  id: o,
31727
31740
  type: "number",
@@ -31736,21 +31749,21 @@ function UX({ node: e, name: t }) {
31736
31749
  step: f
31737
31750
  }),
31738
31751
  a.description && /* @__PURE__ */ H(xR, { children: a.description }),
31739
- /* @__PURE__ */ H(CR, { errors: hX(c.error) })
31752
+ /* @__PURE__ */ H(CR, { errors: _X(c.error) })
31740
31753
  ]
31741
31754
  });
31742
31755
  }
31743
31756
  //#endregion
31744
31757
  //#region src/composed/JsonSchemaForm/utils/pickActiveVariant.ts
31745
- function WX(e, t, n, r) {
31758
+ function KX(e, t, n, r) {
31746
31759
  if (e.length === 0) return -1;
31747
31760
  let i = n?.get(t);
31748
- return GX(i, e) && KX(e[i], r) ? i : qX(e, r);
31761
+ return qX(i, e) && JX(e[i], r) ? i : YX(e, r);
31749
31762
  }
31750
- function GX(e, t) {
31763
+ function qX(e, t) {
31751
31764
  return typeof e == "number" && Number.isInteger(e) && t[e] !== void 0;
31752
31765
  }
31753
- function KX(e, t) {
31766
+ function JX(e, t) {
31754
31767
  return Object.entries(e.properties ?? {}).every(([e, n]) => {
31755
31768
  if (n.const !== void 0) return t(e) === n.const;
31756
31769
  if (typeof n.pattern == "string") {
@@ -31760,18 +31773,18 @@ function KX(e, t) {
31760
31773
  return !0;
31761
31774
  });
31762
31775
  }
31763
- function qX(e, t) {
31776
+ function YX(e, t) {
31764
31777
  let n = 0, r = {
31765
31778
  viable: !1,
31766
31779
  matches: -1
31767
31780
  };
31768
31781
  return e.forEach((e, i) => {
31769
- let a = JX(e, t);
31770
- YX(a, r) > 0 && (n = i, r = a);
31782
+ let a = XX(e, t);
31783
+ ZX(a, r) > 0 && (n = i, r = a);
31771
31784
  }), n;
31772
31785
  }
31773
- function JX(e, t) {
31774
- return KX(e, t) ? {
31786
+ function XX(e, t) {
31787
+ return JX(e, t) ? {
31775
31788
  viable: (e.required ?? []).every((e) => t(e) !== void 0),
31776
31789
  matches: Object.keys(e.properties ?? {}).filter((e) => t(e) !== void 0).length
31777
31790
  } : {
@@ -31779,13 +31792,13 @@ function JX(e, t) {
31779
31792
  matches: -1
31780
31793
  };
31781
31794
  }
31782
- function YX(e, t) {
31795
+ function ZX(e, t) {
31783
31796
  return e.viable === t.viable ? e.matches - t.matches : e.viable ? 1 : -1;
31784
31797
  }
31785
31798
  //#endregion
31786
31799
  //#region src/composed/JsonSchemaForm/fields/oneOf/OneOfField.tsx
31787
- function XX({ node: e, depth: t }) {
31788
- let n = XY(), { control: r, index: i, basePath: a } = n, { schema: o } = e, s = i.variantIndices, c = B(() => e.variants ?? [], [e.variants]), [l, u] = V(() => WX(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]);
31800
+ function QX({ node: e, depth: t }) {
31801
+ let n = QY(), { control: r, index: i, basePath: a } = n, { schema: o } = e, s = i.variantIndices, c = B(() => e.variants ?? [], [e.variants]), [l, u] = V(() => KX(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]);
31789
31802
  if (c.length === 0) return null;
31790
31803
  let f = c[l] ?? c[0], p = f.dependencyBranches ?? [], m = n.disabled || o.readOnly === !0, h = `${a || "root"}-variant`, g = (e) => {
31791
31804
  if (e === l) return;
@@ -31816,21 +31829,21 @@ function XX({ node: e, depth: t }) {
31816
31829
  }, t)) })]
31817
31830
  }),
31818
31831
  t === 0 && o.description && /* @__PURE__ */ H(xR, { children: o.description }),
31819
- o.gioConfig?.banner && /* @__PURE__ */ H(yX, { banner: o.gioConfig.banner })
31832
+ o.gioConfig?.banner && /* @__PURE__ */ H(xX, { banner: o.gioConfig.banner })
31820
31833
  ] }),
31821
- f.consts.map(({ key: e, value: t }) => /* @__PURE__ */ H(ZX, {
31834
+ f.consts.map(({ key: e, value: t }) => /* @__PURE__ */ H($X, {
31822
31835
  path: a ? `${a}.${e}` : e,
31823
31836
  value: t
31824
31837
  }, e)),
31825
- Array.from(f.properties).filter(([, e]) => e.schema.const === void 0).map(([e, n]) => /* @__PURE__ */ H(tZ, {
31838
+ Array.from(f.properties).filter(([, e]) => e.schema.const === void 0).map(([e, n]) => /* @__PURE__ */ H(rZ, {
31826
31839
  node: n,
31827
31840
  name: e,
31828
31841
  depth: t + 1
31829
31842
  }, `${l}-${e}`)),
31830
- p.map((e, n) => /* @__PURE__ */ H(QY, {
31831
- condition: tX(e.showIf, a),
31843
+ p.map((e, n) => /* @__PURE__ */ H(eX, {
31844
+ condition: rX(e.showIf, a),
31832
31845
  unregisterOnHide: d[l]?.[n],
31833
- children: Array.from(e.properties).map(([e, n]) => /* @__PURE__ */ H(tZ, {
31846
+ children: Array.from(e.properties).map(([e, n]) => /* @__PURE__ */ H(rZ, {
31834
31847
  node: n,
31835
31848
  name: e,
31836
31849
  depth: t + 1
@@ -31838,8 +31851,8 @@ function XX({ node: e, depth: t }) {
31838
31851
  }, `${l}-var-dep-${n}`))
31839
31852
  ] });
31840
31853
  }
31841
- function ZX({ path: e, value: t }) {
31842
- let { control: n } = XY(), { field: r } = pY({
31854
+ function $X({ path: e, value: t }) {
31855
+ let { control: n } = QY(), { field: r } = mY({
31843
31856
  control: n,
31844
31857
  name: e
31845
31858
  }), { onChange: i } = r;
@@ -31849,28 +31862,28 @@ function ZX({ path: e, value: t }) {
31849
31862
  }
31850
31863
  //#endregion
31851
31864
  //#region src/composed/JsonSchemaForm/fields/object/ObjectField.tsx
31852
- function QX({ node: e, name: t, depth: n }) {
31853
- let r = XY(), { schema: i } = e, a = t ? r.basePath ? `${r.basePath}.${t}` : t : r.basePath, o = NX(i) || PX(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(YY.Provider, {
31865
+ function eZ({ node: e, name: t, depth: n }) {
31866
+ let r = QY(), { schema: i } = e, a = t ? r.basePath ? `${r.basePath}.${t}` : t : r.basePath, o = FX(i) || IX(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(ZY.Provider, {
31854
31867
  value: {
31855
31868
  ...r,
31856
31869
  basePath: a
31857
31870
  },
31858
31871
  children: /* @__PURE__ */ U(hR, { children: [
31859
- e.properties && Array.from(e.properties).map(([e, t]) => /* @__PURE__ */ H(tZ, {
31872
+ e.properties && Array.from(e.properties).map(([e, t]) => /* @__PURE__ */ H(rZ, {
31860
31873
  node: t,
31861
31874
  name: e,
31862
31875
  depth: n + 1
31863
31876
  }, e)),
31864
- s.map((e, t) => /* @__PURE__ */ H(QY, {
31865
- condition: tX(e.showIf, a),
31877
+ s.map((e, t) => /* @__PURE__ */ H(eX, {
31878
+ condition: rX(e.showIf, a),
31866
31879
  unregisterOnHide: l[t],
31867
- children: Array.from(e.properties).map(([e, t]) => /* @__PURE__ */ H(tZ, {
31880
+ children: Array.from(e.properties).map(([e, t]) => /* @__PURE__ */ H(rZ, {
31868
31881
  node: t,
31869
31882
  name: e,
31870
31883
  depth: n + 1
31871
31884
  }, e))
31872
31885
  }, `dep-${t}`)),
31873
- o && /* @__PURE__ */ H(XX, {
31886
+ o && /* @__PURE__ */ H(QX, {
31874
31887
  node: e,
31875
31888
  depth: n
31876
31889
  })
@@ -31882,17 +31895,17 @@ function QX({ node: e, name: t, depth: n }) {
31882
31895
  /* @__PURE__ */ H(mR, {
31883
31896
  className: f ? "px-2 text-base font-semibold" : "text-base font-semibold",
31884
31897
  required: i.isRequired,
31885
- children: vX(i, t)
31898
+ children: bX(i, t)
31886
31899
  }),
31887
31900
  i.description && /* @__PURE__ */ H(xR, { children: i.description }),
31888
- i.gioConfig?.banner && /* @__PURE__ */ H(yX, { banner: i.gioConfig.banner }),
31901
+ i.gioConfig?.banner && /* @__PURE__ */ H(xX, { banner: i.gioConfig.banner }),
31889
31902
  u
31890
31903
  ]
31891
31904
  });
31892
31905
  }
31893
31906
  //#endregion
31894
31907
  //#region src/composed/PasswordInput/PasswordInput.tsx
31895
- function $X({ groupClassName: e, showLabel: t = "Show password", hideLabel: n = "Hide password", hideToggle: r = !1, className: i, disabled: a, ...o }) {
31908
+ function tZ({ groupClassName: e, showLabel: t = "Show password", hideLabel: n = "Hide password", hideToggle: r = !1, className: i, disabled: a, ...o }) {
31896
31909
  let [s, c] = V(!1);
31897
31910
  return /* @__PURE__ */ U(nM, {
31898
31911
  className: e,
@@ -31918,14 +31931,14 @@ function $X({ groupClassName: e, showLabel: t = "Show password", hideLabel: n =
31918
31931
  })]
31919
31932
  });
31920
31933
  }
31921
- $X.displayName = "PasswordInput";
31934
+ tZ.displayName = "PasswordInput";
31922
31935
  //#endregion
31923
31936
  //#region src/composed/JsonSchemaForm/fields/string/StringField.tsx
31924
- function eZ({ node: e, name: t }) {
31925
- let { control: n, basePath: r, disabled: i } = XY(), { schema: a } = e, o = t ? r ? `${r}.${t}` : t : r, { field: s, fieldState: c } = pY({
31937
+ function nZ({ node: e, name: t }) {
31938
+ let { control: n, basePath: r, disabled: i } = QY(), { schema: a } = e, o = t ? r ? `${r}.${t}` : t : r, { field: s, fieldState: c } = mY({
31926
31939
  control: n,
31927
31940
  name: o
31928
- }), l = vX(a, t), u = i || a.readOnly === !0, d = c.invalid, f = {
31941
+ }), l = bX(a, t), u = i || a.readOnly === !0, d = c.invalid, f = {
31929
31942
  id: o,
31930
31943
  value: typeof s.value == "string" ? s.value : "",
31931
31944
  onChange: s.onChange,
@@ -31944,8 +31957,8 @@ function eZ({ node: e, name: t }) {
31944
31957
  required: a.isRequired,
31945
31958
  children: l
31946
31959
  }),
31947
- a.gioConfig?.banner && /* @__PURE__ */ H(yX, { banner: a.gioConfig.banner }),
31948
- a.format === "text" ? /* @__PURE__ */ H(tM, { ...f }) : a.format === "password" ? /* @__PURE__ */ H($X, {
31960
+ a.gioConfig?.banner && /* @__PURE__ */ H(xX, { banner: a.gioConfig.banner }),
31961
+ a.format === "text" ? /* @__PURE__ */ H(tM, { ...f }) : a.format === "password" ? /* @__PURE__ */ H(tZ, {
31949
31962
  ...f,
31950
31963
  pattern: a.pattern
31951
31964
  }) : /* @__PURE__ */ H(eM, {
@@ -31954,144 +31967,144 @@ function eZ({ node: e, name: t }) {
31954
31967
  pattern: a.pattern
31955
31968
  }),
31956
31969
  a.description && /* @__PURE__ */ H(xR, { children: a.description }),
31957
- /* @__PURE__ */ H(CR, { errors: hX(c.error) })
31970
+ /* @__PURE__ */ H(CR, { errors: _X(c.error) })
31958
31971
  ]
31959
31972
  });
31960
31973
  }
31961
31974
  //#endregion
31962
31975
  //#region src/composed/JsonSchemaForm/SchemaField.tsx
31963
- function tZ({ node: e, name: t, depth: n = 0 }) {
31964
- let { basePath: r } = XY(), { schema: i } = e, a = t ?? "", o = t ? r ? `${r}.${t}` : t : r, s = B(() => [o], [o]), c = B(() => e.displayIf ? tX(e.displayIf, r) : void 0, [e.displayIf, r]), l = B(() => e.disableIf ? tX(e.disableIf, r) : void 0, [e.disableIf, r]);
31976
+ function rZ({ node: e, name: t, depth: n = 0 }) {
31977
+ let { basePath: r } = QY(), { schema: i } = e, a = t ?? "", o = t ? r ? `${r}.${t}` : t : r, s = B(() => [o], [o]), c = B(() => e.displayIf ? rX(e.displayIf, r) : void 0, [e.displayIf, r]), l = B(() => e.disableIf ? rX(e.disableIf, r) : void 0, [e.disableIf, r]);
31965
31978
  if (i.deprecated === !0) return null;
31966
- let u = nZ(e, a, t, n);
31967
- return u === null ? null : (l && (u = /* @__PURE__ */ H($Y, {
31979
+ let u = iZ(e, a, t, n);
31980
+ return u === null ? null : (l && (u = /* @__PURE__ */ H(tX, {
31968
31981
  condition: l,
31969
31982
  children: u
31970
- })), c ? /* @__PURE__ */ H(QY, {
31983
+ })), c ? /* @__PURE__ */ H(eX, {
31971
31984
  condition: c,
31972
31985
  unregisterOnHide: s,
31973
31986
  children: u
31974
31987
  }) : u);
31975
31988
  }
31976
- function nZ(e, t, n, r) {
31977
- let { schema: i } = e, a = rZ(i.type);
31978
- return Array.isArray(i.enum) && i.enum.length > 0 || AX(i) ? /* @__PURE__ */ H(RX, {
31989
+ function iZ(e, t, n, r) {
31990
+ let { schema: i } = e, a = aZ(i.type);
31991
+ return Array.isArray(i.enum) && i.enum.length > 0 || MX(i) ? /* @__PURE__ */ H(BX, {
31979
31992
  node: e,
31980
31993
  name: t
31981
- }) : jX(i) ? /* @__PURE__ */ H(BX, {
31994
+ }) : NX(i) ? /* @__PURE__ */ H(HX, {
31982
31995
  node: e,
31983
31996
  name: t
31984
- }) : MX(i) ? /* @__PURE__ */ H(TX, {
31997
+ }) : PX(i) ? /* @__PURE__ */ H(DX, {
31985
31998
  node: e,
31986
31999
  name: t
31987
- }) : a === "null" ? /* @__PURE__ */ H(HX, {}) : a === "boolean" ? /* @__PURE__ */ H(kX, {
32000
+ }) : a === "null" ? /* @__PURE__ */ H(WX, {}) : a === "boolean" ? /* @__PURE__ */ H(jX, {
31988
32001
  node: e,
31989
32002
  name: t
31990
- }) : a === "integer" || a === "number" ? /* @__PURE__ */ H(UX, {
32003
+ }) : a === "integer" || a === "number" ? /* @__PURE__ */ H(GX, {
31991
32004
  node: e,
31992
32005
  name: t
31993
- }) : a === "string" ? /* @__PURE__ */ H(eZ, {
32006
+ }) : a === "string" ? /* @__PURE__ */ H(nZ, {
31994
32007
  node: e,
31995
32008
  name: t
31996
- }) : i.properties || a === "object" || NX(i) || PX(i) ? /* @__PURE__ */ H(QX, {
32009
+ }) : i.properties || a === "object" || FX(i) || IX(i) ? /* @__PURE__ */ H(eZ, {
31997
32010
  node: e,
31998
32011
  name: n,
31999
32012
  depth: r
32000
- }) : a === "array" && i.items && !Array.isArray(i.items) ? /* @__PURE__ */ H(SX, {
32013
+ }) : a === "array" && i.items && !Array.isArray(i.items) ? /* @__PURE__ */ H(wX, {
32001
32014
  node: e,
32002
32015
  name: n,
32003
32016
  depth: r
32004
- }) : (console.warn(`[JsonSchemaForm] No renderer for schema at "${n ?? "root"}" (${iZ(i)}). Field is omitted.`), null);
32017
+ }) : (console.warn(`[JsonSchemaForm] No renderer for schema at "${n ?? "root"}" (${oZ(i)}). Field is omitted.`), null);
32005
32018
  }
32006
- function rZ(e) {
32019
+ function aZ(e) {
32007
32020
  return Array.isArray(e) ? e.find((e) => e !== "null") ?? e[0] : e;
32008
32021
  }
32009
- function iZ(e) {
32022
+ function oZ(e) {
32010
32023
  return e.type ? Array.isArray(e.type) ? e.type.join("|") : e.type : e.oneOf ? "oneOf" : e.anyOf ? "anyOf" : e.allOf ? "allOf" : e.const === void 0 ? "unknown" : "const";
32011
32024
  }
32012
32025
  //#endregion
32013
32026
  //#region src/composed/JsonSchemaForm/schema/preprocess/liftRequired.ts
32014
- function aZ(e) {
32015
- return oZ(e);
32027
+ function sZ(e) {
32028
+ return cZ(e);
32016
32029
  }
32017
- function oZ(e) {
32030
+ function cZ(e) {
32018
32031
  let t = { ...e };
32019
32032
  if (t.properties) {
32020
32033
  let e = new Set(t.required ?? []), n = {};
32021
32034
  for (let [r, i] of Object.entries(t.properties)) {
32022
- let t = oZ(i);
32035
+ let t = cZ(i);
32023
32036
  e.has(r) && (t.isRequired = !0, t.type === "string" && t.minLength === void 0 && t.const === void 0 && !Array.isArray(t.enum) && !Array.isArray(t.oneOf) && !Array.isArray(t.anyOf) && (t.minLength = 1), t.type === "array" && t.minItems === void 0 && t.const === void 0 && !Array.isArray(t.enum) && (t.minItems = 1)), n[r] = t;
32024
32037
  }
32025
32038
  t.properties = n;
32026
32039
  }
32027
- return t.items &&= Array.isArray(t.items) ? t.items.map(oZ) : oZ(t.items), t.oneOf &&= t.oneOf.map(oZ), t.anyOf &&= t.anyOf.map(oZ), t.allOf &&= t.allOf.map(oZ), t.dependencies &&= nX(t.dependencies, oZ), t;
32040
+ return t.items &&= Array.isArray(t.items) ? t.items.map(cZ) : cZ(t.items), t.oneOf &&= t.oneOf.map(cZ), t.anyOf &&= t.anyOf.map(cZ), t.allOf &&= t.allOf.map(cZ), t.dependencies &&= iX(t.dependencies, cZ), t;
32028
32041
  }
32029
32042
  //#endregion
32030
32043
  //#region src/composed/JsonSchemaForm/schema/preprocess/relaxDeprecated.ts
32031
- function sZ(e) {
32044
+ function lZ(e) {
32032
32045
  if (e.deprecated === !0) return { deprecated: !0 };
32033
32046
  let t = { ...e };
32034
32047
  if (e.properties) {
32035
32048
  let n = [];
32036
32049
  t.properties = {};
32037
- for (let [r, i] of Object.entries(e.properties)) i.deprecated === !0 && n.push(r), t.properties[r] = sZ(i);
32050
+ for (let [r, i] of Object.entries(e.properties)) i.deprecated === !0 && n.push(r), t.properties[r] = lZ(i);
32038
32051
  n.length > 0 && e.required && (t.required = e.required.filter((e) => !n.includes(e)));
32039
32052
  }
32040
- return e.items && !Array.isArray(e.items) && (t.items = sZ(e.items)), e.oneOf && (t.oneOf = e.oneOf.filter((e) => e.deprecated !== !0).map(sZ)), e.anyOf && (t.anyOf = e.anyOf.filter((e) => e.deprecated !== !0).map(sZ)), e.dependencies && (t.dependencies = nX(e.dependencies, sZ)), t;
32053
+ return e.items && !Array.isArray(e.items) && (t.items = lZ(e.items)), e.oneOf && (t.oneOf = e.oneOf.filter((e) => e.deprecated !== !0).map(lZ)), e.anyOf && (t.anyOf = e.anyOf.filter((e) => e.deprecated !== !0).map(lZ)), e.dependencies && (t.dependencies = iX(e.dependencies, lZ)), t;
32041
32054
  }
32042
32055
  //#endregion
32043
32056
  //#region src/composed/JsonSchemaForm/schema/buildIndex.ts
32044
- function cZ(e, t = "") {
32045
- let n = aZ(sZ(rX(uX(e)))), r = /* @__PURE__ */ new Map();
32057
+ function uZ(e, t = "") {
32058
+ let n = sZ(lZ(aX(fX(e)))), r = /* @__PURE__ */ new Map();
32046
32059
  return {
32047
- root: lZ(n, "", !1, r, "", t),
32060
+ root: dZ(n, "", !1, r, "", t),
32048
32061
  nodeByPath: r,
32049
32062
  variantIndices: /* @__PURE__ */ new Map()
32050
32063
  };
32051
32064
  }
32052
- function lZ(e, t, n, r, i = "", a = "") {
32065
+ function dZ(e, t, n, r, i = "", a = "") {
32053
32066
  let o = {
32054
32067
  rhfPath: t,
32055
32068
  schema: e,
32056
32069
  isRequired: n
32057
32070
  };
32058
- if (e.gioConfig?.displayIf && (o.displayIf = mZ(e.gioConfig.displayIf, i, a)), e.gioConfig?.disableIf && (o.disableIf = mZ(e.gioConfig.disableIf, i, a)), e.properties) {
32071
+ if (e.gioConfig?.displayIf && (o.displayIf = gZ(e.gioConfig.displayIf, i, a)), e.gioConfig?.disableIf && (o.disableIf = gZ(e.gioConfig.disableIf, i, a)), e.properties) {
32059
32072
  let n = new Set(e.required ?? []), i = /* @__PURE__ */ new Map();
32060
32073
  for (let [o, s] of Object.entries(e.properties)) {
32061
32074
  let e = t ? `${t}.${o}` : o;
32062
- i.set(o, lZ(s, e, n.has(o), r, t, a));
32075
+ i.set(o, dZ(s, e, n.has(o), r, t, a));
32063
32076
  }
32064
32077
  o.properties = i;
32065
32078
  }
32066
32079
  if (e.items && !Array.isArray(e.items)) {
32067
32080
  let n = t ? `${t}.*` : "*";
32068
- o.items = lZ(e.items, n, !1, r, t, a);
32081
+ o.items = dZ(e.items, n, !1, r, t, a);
32069
32082
  }
32070
32083
  let s = e.oneOf ?? e.anyOf;
32071
- if (Array.isArray(s) && s.length > 0 && (o.variants = uZ(s).map((e) => dZ(e, t, a))), e.dependencies) {
32072
- let n = gZ(e.dependencies, t, a);
32084
+ if (Array.isArray(s) && s.length > 0 && (o.variants = fZ(s).map((e) => pZ(e, t, a))), e.dependencies) {
32085
+ let n = vZ(e.dependencies, t, a);
32073
32086
  n.length > 0 && (o.dependencyBranches = n);
32074
32087
  }
32075
32088
  return r.set(t, o), o;
32076
32089
  }
32077
- function uZ(e) {
32090
+ function fZ(e) {
32078
32091
  let t = /* @__PURE__ */ new Set();
32079
32092
  return e.filter((e) => typeof e.title == "string" ? t.has(e.title) ? !1 : (t.add(e.title), !0) : !0);
32080
32093
  }
32081
- function dZ(e, t, n) {
32094
+ function pZ(e, t, n) {
32082
32095
  let r = new Set(e.required ?? []), i = /* @__PURE__ */ new Map(), a = [];
32083
32096
  for (let [o, s] of Object.entries(e.properties ?? {})) {
32084
- let e = fZ(s);
32097
+ let e = mZ(s);
32085
32098
  e && a.push({
32086
32099
  key: o,
32087
32100
  value: e.value
32088
32101
  });
32089
32102
  let c = t ? `${t}.${o}` : o;
32090
- i.set(o, pZ(s, c, r.has(o), t, n));
32103
+ i.set(o, hZ(s, c, r.has(o), t, n));
32091
32104
  }
32092
32105
  let o;
32093
32106
  if (e.dependencies) {
32094
- let r = gZ(e.dependencies, t, n);
32107
+ let r = vZ(e.dependencies, t, n);
32095
32108
  r.length > 0 && (o = r);
32096
32109
  }
32097
32110
  return {
@@ -32102,17 +32115,17 @@ function dZ(e, t, n) {
32102
32115
  raw: e
32103
32116
  };
32104
32117
  }
32105
- function fZ(e) {
32118
+ function mZ(e) {
32106
32119
  if (e.const !== void 0) return { value: e.const };
32107
32120
  if (Array.isArray(e.enum) && e.enum.length === 1) return { value: e.enum[0] };
32108
32121
  }
32109
- function pZ(e, t, n, r, i) {
32110
- return lZ(e, t, n, /* @__PURE__ */ new Map(), r, i);
32122
+ function hZ(e, t, n, r, i) {
32123
+ return dZ(e, t, n, /* @__PURE__ */ new Map(), r, i);
32111
32124
  }
32112
- function mZ(e, t, n) {
32125
+ function gZ(e, t, n) {
32113
32126
  let r = /* @__PURE__ */ new Map();
32114
32127
  for (let [i, a] of Object.entries(e.$eq)) {
32115
- let e = hZ(i, t, n);
32128
+ let e = _Z(i, t, n);
32116
32129
  if (e === null) {
32117
32130
  console.warn(`[JsonSchemaForm] gioConfig path "${i}" is unsupported (expected value.X / ./X / ../X).`);
32118
32131
  continue;
@@ -32121,7 +32134,7 @@ function mZ(e, t, n) {
32121
32134
  }
32122
32135
  return { $eq: r };
32123
32136
  }
32124
- function hZ(e, t, n) {
32137
+ function _Z(e, t, n) {
32125
32138
  let r = null;
32126
32139
  if (e.startsWith("value.")) r = e.slice(6);
32127
32140
  else if (e.startsWith("./")) {
@@ -32135,24 +32148,24 @@ function hZ(e, t, n) {
32135
32148
  }
32136
32149
  return r === null ? null : n ? `${n}.${r}` : r;
32137
32150
  }
32138
- function gZ(e, t, n) {
32151
+ function vZ(e, t, n) {
32139
32152
  return Object.entries(e).flatMap(([e, r]) => {
32140
- let i = _Z(e, r);
32153
+ let i = yZ(e, r);
32141
32154
  if (!i) return [];
32142
32155
  let a = t ? `${t}.${e}` : e;
32143
- return i.map((r) => vZ(r, e, a, t, n));
32156
+ return i.map((r) => bZ(r, e, a, t, n));
32144
32157
  });
32145
32158
  }
32146
- function _Z(e, t) {
32159
+ function yZ(e, t) {
32147
32160
  let n = typeof t == "object" && t && !Array.isArray(t) ? t : null;
32148
- return n?.oneOf?.length ? n.oneOf.every((t) => t.properties?.[e] !== void 0 && fZ(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);
32161
+ return n?.oneOf?.length ? n.oneOf.every((t) => t.properties?.[e] !== void 0 && mZ(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);
32149
32162
  }
32150
- function vZ(e, t, n, r, i) {
32151
- let a = fZ(e.properties[t]).value, o = new Set((e.required ?? []).filter((e) => e !== t)), s = /* @__PURE__ */ new Map();
32163
+ function bZ(e, t, n, r, i) {
32164
+ let a = mZ(e.properties[t]).value, o = new Set((e.required ?? []).filter((e) => e !== t)), s = /* @__PURE__ */ new Map();
32152
32165
  for (let [n, a] of Object.entries(e.properties ?? {})) {
32153
32166
  if (n === t) continue;
32154
32167
  let e = r ? `${r}.${n}` : n;
32155
- s.set(n, pZ(a, e, o.has(n), r, i));
32168
+ s.set(n, hZ(a, e, o.has(n), r, i));
32156
32169
  }
32157
32170
  let c = i ? `${i}.${n}` : n;
32158
32171
  return {
@@ -32163,10 +32176,10 @@ function vZ(e, t, n, r, i) {
32163
32176
  }
32164
32177
  //#endregion
32165
32178
  //#region src/composed/JsonSchemaForm/JsonSchemaForm.tsx
32166
- function yZ({ schema: e, control: t, name: n = "", disabled: r = !1, context: i }) {
32179
+ function xZ({ schema: e, control: t, name: n = "", disabled: r = !1, context: i }) {
32167
32180
  let a = B(() => {
32168
32181
  try {
32169
- let a = cZ(e, n);
32182
+ let a = uZ(e, n);
32170
32183
  return {
32171
32184
  ok: !0,
32172
32185
  contextValue: {
@@ -32191,9 +32204,9 @@ function yZ({ schema: e, control: t, name: n = "", disabled: r = !1, context: i
32191
32204
  r,
32192
32205
  i
32193
32206
  ]);
32194
- return a.ok ? /* @__PURE__ */ H(YY.Provider, {
32207
+ return a.ok ? /* @__PURE__ */ H(ZY.Provider, {
32195
32208
  value: a.contextValue,
32196
- children: /* @__PURE__ */ H(tZ, { node: a.root })
32209
+ children: /* @__PURE__ */ H(rZ, { node: a.root })
32197
32210
  }) : /* @__PURE__ */ U("p", {
32198
32211
  role: "alert",
32199
32212
  className: "text-sm text-destructive",
@@ -32202,7 +32215,7 @@ function yZ({ schema: e, control: t, name: n = "", disabled: r = !1, context: i
32202
32215
  }
32203
32216
  //#endregion
32204
32217
  //#region src/composed/JsonSchemaForm/form-bindings/composeResolvers.ts
32205
- function bZ(...e) {
32218
+ function SZ(...e) {
32206
32219
  return async (t, n, r) => {
32207
32220
  let i = await Promise.all(e.map((e) => e(t, n, r))), a = {};
32208
32221
  for (let e of i) Object.assign(a, e.errors);
@@ -32217,7 +32230,7 @@ function bZ(...e) {
32217
32230
  }
32218
32231
  //#endregion
32219
32232
  //#region ../../node_modules/ajv/dist/compile/codegen/code.js
32220
- var xZ = /* @__PURE__ */ W(((e) => {
32233
+ var CZ = /* @__PURE__ */ W(((e) => {
32221
32234
  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;
32222
32235
  var t = class {};
32223
32236
  e._CodeOrName = t, e.IDENTIFIER = /^[a-z$_][a-z$_0-9]*$/i;
@@ -32322,9 +32335,9 @@ var xZ = /* @__PURE__ */ W(((e) => {
32322
32335
  return new r(e.toString());
32323
32336
  }
32324
32337
  e.regexpCode = g;
32325
- })), SZ = /* @__PURE__ */ W(((e) => {
32338
+ })), wZ = /* @__PURE__ */ W(((e) => {
32326
32339
  Object.defineProperty(e, "__esModule", { value: !0 }), e.ValueScope = e.ValueScopeName = e.Scope = e.varKinds = e.UsedValueState = void 0;
32327
- var t = xZ(), n = class extends Error {
32340
+ var t = CZ(), n = class extends Error {
32328
32341
  constructor(e) {
32329
32342
  super(`CodeGen: "code" for ${e} not defined`), this.value = e.value;
32330
32343
  }
@@ -32433,9 +32446,9 @@ var xZ = /* @__PURE__ */ W(((e) => {
32433
32446
  return c;
32434
32447
  }
32435
32448
  };
32436
- })), CZ = /* @__PURE__ */ W(((e) => {
32449
+ })), TZ = /* @__PURE__ */ W(((e) => {
32437
32450
  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;
32438
- var t = xZ(), n = SZ(), r = xZ();
32451
+ var t = CZ(), n = wZ(), r = CZ();
32439
32452
  Object.defineProperty(e, "_", {
32440
32453
  enumerable: !0,
32441
32454
  get: function() {
@@ -32477,7 +32490,7 @@ var xZ = /* @__PURE__ */ W(((e) => {
32477
32490
  return r.Name;
32478
32491
  }
32479
32492
  });
32480
- var i = SZ();
32493
+ var i = wZ();
32481
32494
  Object.defineProperty(e, "Scope", {
32482
32495
  enumerable: !0,
32483
32496
  get: function() {
@@ -32948,9 +32961,9 @@ var xZ = /* @__PURE__ */ W(((e) => {
32948
32961
  function L(e) {
32949
32962
  return e instanceof t.Name ? e : (0, t._)`(${e})`;
32950
32963
  }
32951
- })), wZ = /* @__PURE__ */ W(((e) => {
32964
+ })), EZ = /* @__PURE__ */ W(((e) => {
32952
32965
  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;
32953
- var t = CZ(), n = xZ();
32966
+ var t = TZ(), n = CZ();
32954
32967
  function r(e) {
32955
32968
  let t = {};
32956
32969
  for (let n of e) t[n] = !0;
@@ -33073,9 +33086,9 @@ var xZ = /* @__PURE__ */ W(((e) => {
33073
33086
  }
33074
33087
  }
33075
33088
  e.checkStrictMode = x;
33076
- })), TZ = /* @__PURE__ */ W(((e) => {
33089
+ })), DZ = /* @__PURE__ */ W(((e) => {
33077
33090
  Object.defineProperty(e, "__esModule", { value: !0 });
33078
- var t = CZ();
33091
+ var t = TZ();
33079
33092
  e.default = {
33080
33093
  data: new t.Name("data"),
33081
33094
  valCxt: new t.Name("valCxt"),
@@ -33094,9 +33107,9 @@ var xZ = /* @__PURE__ */ W(((e) => {
33094
33107
  jsonLen: new t.Name("jsonLen"),
33095
33108
  jsonPart: new t.Name("jsonPart")
33096
33109
  };
33097
- })), EZ = /* @__PURE__ */ W(((e) => {
33110
+ })), OZ = /* @__PURE__ */ W(((e) => {
33098
33111
  Object.defineProperty(e, "__esModule", { value: !0 }), e.extendErrors = e.resetErrorsCount = e.reportExtraError = e.reportError = e.keyword$DataError = e.keywordError = void 0;
33099
- var t = CZ(), n = wZ(), r = TZ();
33112
+ var t = TZ(), n = EZ(), r = DZ();
33100
33113
  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)` };
33101
33114
  function i(n, r = e.keywordError, i, a) {
33102
33115
  let { it: o } = n, { gen: s, compositeRule: u, allErrors: f } = o, p = d(n, r, i);
@@ -33158,9 +33171,9 @@ var xZ = /* @__PURE__ */ W(((e) => {
33158
33171
  let { keyword: o, data: s, schemaValue: c, it: l } = e, { opts: d, propertyName: f, topSchemaRef: p, schemaPath: m } = l;
33159
33172
  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]);
33160
33173
  }
33161
- })), DZ = /* @__PURE__ */ W(((e) => {
33174
+ })), kZ = /* @__PURE__ */ W(((e) => {
33162
33175
  Object.defineProperty(e, "__esModule", { value: !0 }), e.boolOrEmptySchema = e.topBoolOrEmptySchema = void 0;
33163
- var t = EZ(), n = CZ(), r = TZ(), i = { message: "boolean schema is false" };
33176
+ var t = OZ(), n = TZ(), r = DZ(), i = { message: "boolean schema is false" };
33164
33177
  function a(e) {
33165
33178
  let { gen: t, schema: i, validateName: a } = e;
33166
33179
  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));
@@ -33184,7 +33197,7 @@ var xZ = /* @__PURE__ */ W(((e) => {
33184
33197
  };
33185
33198
  (0, t.reportError)(o, i, void 0, n);
33186
33199
  }
33187
- })), OZ = /* @__PURE__ */ W(((e) => {
33200
+ })), AZ = /* @__PURE__ */ W(((e) => {
33188
33201
  Object.defineProperty(e, "__esModule", { value: !0 }), e.getRules = e.isJSONType = void 0;
33189
33202
  var t = new Set([
33190
33203
  "string",
@@ -33238,7 +33251,7 @@ var xZ = /* @__PURE__ */ W(((e) => {
33238
33251
  };
33239
33252
  }
33240
33253
  e.getRules = r;
33241
- })), kZ = /* @__PURE__ */ W(((e) => {
33254
+ })), jZ = /* @__PURE__ */ W(((e) => {
33242
33255
  Object.defineProperty(e, "__esModule", { value: !0 }), e.shouldUseRule = e.shouldUseGroup = e.schemaHasRulesForType = void 0;
33243
33256
  function t({ schema: e, self: t }, r) {
33244
33257
  let i = t.RULES.types[r];
@@ -33253,9 +33266,9 @@ var xZ = /* @__PURE__ */ W(((e) => {
33253
33266
  return e[t.keyword] !== void 0 || t.definition.implements?.some((t) => e[t] !== void 0);
33254
33267
  }
33255
33268
  e.shouldUseRule = r;
33256
- })), AZ = /* @__PURE__ */ W(((e) => {
33269
+ })), MZ = /* @__PURE__ */ W(((e) => {
33257
33270
  Object.defineProperty(e, "__esModule", { value: !0 }), e.reportTypeError = e.checkDataTypes = e.checkDataType = e.coerceAndCheckDataType = e.getJSONTypes = e.getSchemaTypes = e.DataType = void 0;
33258
- var t = OZ(), n = kZ(), r = EZ(), i = CZ(), a = wZ(), o;
33271
+ var t = AZ(), n = jZ(), r = OZ(), i = TZ(), a = EZ(), o;
33259
33272
  (function(e) {
33260
33273
  e[e.Correct = 0] = "Correct", e[e.Wrong = 1] = "Wrong";
33261
33274
  })(o || (e.DataType = o = {}));
@@ -33390,9 +33403,9 @@ var xZ = /* @__PURE__ */ W(((e) => {
33390
33403
  it: e
33391
33404
  };
33392
33405
  }
33393
- })), jZ = /* @__PURE__ */ W(((e) => {
33406
+ })), NZ = /* @__PURE__ */ W(((e) => {
33394
33407
  Object.defineProperty(e, "__esModule", { value: !0 }), e.assignDefaults = void 0;
33395
- var t = CZ(), n = wZ();
33408
+ var t = TZ(), n = EZ();
33396
33409
  function r(e, t) {
33397
33410
  let { properties: n, items: r } = e.schema;
33398
33411
  if (t === "object" && n) for (let t in n) i(e, t, n[t].default);
@@ -33410,9 +33423,9 @@ var xZ = /* @__PURE__ */ W(((e) => {
33410
33423
  let u = (0, t._)`${l} === undefined`;
33411
33424
  c.useDefaults === "empty" && (u = (0, t._)`${u} || ${l} === null || ${l} === ""`), a.if(u, (0, t._)`${l} = ${(0, t.stringify)(i)}`);
33412
33425
  }
33413
- })), MZ = /* @__PURE__ */ W(((e) => {
33426
+ })), PZ = /* @__PURE__ */ W(((e) => {
33414
33427
  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;
33415
- var t = CZ(), n = wZ(), r = TZ(), i = wZ();
33428
+ var t = TZ(), n = EZ(), r = DZ(), i = EZ();
33416
33429
  function a(e, n) {
33417
33430
  let { gen: r, data: i, it: a } = e;
33418
33431
  r.if(d(r, i, n, a.opts.ownProperties), () => {
@@ -33514,9 +33527,9 @@ var xZ = /* @__PURE__ */ W(((e) => {
33514
33527
  })), e.result(s, () => e.reset(), () => e.error(!0));
33515
33528
  }
33516
33529
  e.validateUnion = v;
33517
- })), NZ = /* @__PURE__ */ W(((e) => {
33530
+ })), FZ = /* @__PURE__ */ W(((e) => {
33518
33531
  Object.defineProperty(e, "__esModule", { value: !0 }), e.validateKeywordUsage = e.validSchemaType = e.funcKeywordCode = e.macroKeywordCode = void 0;
33519
- var t = CZ(), n = TZ(), r = MZ(), i = EZ();
33532
+ var t = TZ(), n = DZ(), r = PZ(), i = OZ();
33520
33533
  function a(e, n) {
33521
33534
  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);
33522
33535
  s.opts.validateSchema !== !1 && s.self.validateSchema(c, !0);
@@ -33595,9 +33608,9 @@ var xZ = /* @__PURE__ */ W(((e) => {
33595
33608
  }
33596
33609
  }
33597
33610
  e.validateKeywordUsage = f;
33598
- })), PZ = /* @__PURE__ */ W(((e) => {
33611
+ })), IZ = /* @__PURE__ */ W(((e) => {
33599
33612
  Object.defineProperty(e, "__esModule", { value: !0 }), e.extendSubschemaMode = e.extendSubschemaData = e.getSubschema = void 0;
33600
- var t = CZ(), n = wZ();
33613
+ var t = TZ(), n = EZ();
33601
33614
  function r(e, { keyword: r, schemaProp: i, schema: a, schemaPath: o, errSchemaPath: s, topSchemaRef: c }) {
33602
33615
  if (r !== void 0 && a !== void 0) throw Error("both \"keyword\" and \"schema\" passed, only one allowed");
33603
33616
  if (r !== void 0) {
@@ -33641,7 +33654,7 @@ var xZ = /* @__PURE__ */ W(((e) => {
33641
33654
  r !== void 0 && (e.compositeRule = r), i !== void 0 && (e.createErrors = i), a !== void 0 && (e.allErrors = a), e.jtdDiscriminator = t, e.jtdMetadata = n;
33642
33655
  }
33643
33656
  e.extendSubschemaMode = a;
33644
- })), FZ = /* @__PURE__ */ W(((e, t) => {
33657
+ })), LZ = /* @__PURE__ */ W(((e, t) => {
33645
33658
  t.exports = function e(t, n) {
33646
33659
  if (t === n) return !0;
33647
33660
  if (t && n && typeof t == "object" && typeof n == "object") {
@@ -33665,7 +33678,7 @@ var xZ = /* @__PURE__ */ W(((e) => {
33665
33678
  }
33666
33679
  return t !== t && n !== n;
33667
33680
  };
33668
- })), IZ = /* @__PURE__ */ W(((e, t) => {
33681
+ })), RZ = /* @__PURE__ */ W(((e, t) => {
33669
33682
  var n = t.exports = function(e, t, n) {
33670
33683
  typeof t == "function" && (n = t, t = {}), n = t.cb || n;
33671
33684
  var i = typeof n == "function" ? n : n.pre || function() {}, a = n.post || function() {};
@@ -33728,9 +33741,9 @@ var xZ = /* @__PURE__ */ W(((e) => {
33728
33741
  function i(e) {
33729
33742
  return e.replace(/~/g, "~0").replace(/\//g, "~1");
33730
33743
  }
33731
- })), LZ = /* @__PURE__ */ W(((e) => {
33744
+ })), zZ = /* @__PURE__ */ W(((e) => {
33732
33745
  Object.defineProperty(e, "__esModule", { value: !0 }), e.getSchemaRefs = e.resolveUrl = e.normalizeId = e._getFullPath = e.getFullPath = e.inlineRef = void 0;
33733
- var t = wZ(), n = FZ(), r = IZ(), i = new Set([
33746
+ var t = EZ(), n = LZ(), r = RZ(), i = new Set([
33734
33747
  "type",
33735
33748
  "format",
33736
33749
  "pattern",
@@ -33819,9 +33832,9 @@ var xZ = /* @__PURE__ */ W(((e) => {
33819
33832
  }
33820
33833
  }
33821
33834
  e.getSchemaRefs = h;
33822
- })), RZ = /* @__PURE__ */ W(((e) => {
33835
+ })), BZ = /* @__PURE__ */ W(((e) => {
33823
33836
  Object.defineProperty(e, "__esModule", { value: !0 }), e.getData = e.KeywordCxt = e.validateFunctionCode = void 0;
33824
- var t = DZ(), n = AZ(), r = kZ(), i = AZ(), a = jZ(), o = NZ(), s = PZ(), c = CZ(), l = TZ(), u = LZ(), d = wZ(), f = EZ();
33837
+ var t = kZ(), n = MZ(), r = jZ(), i = MZ(), a = NZ(), o = FZ(), s = IZ(), c = TZ(), l = DZ(), u = zZ(), d = EZ(), f = OZ();
33825
33838
  function p(e) {
33826
33839
  if (S(e) && (w(e), x(e))) {
33827
33840
  _(e);
@@ -34111,23 +34124,23 @@ var xZ = /* @__PURE__ */ W(((e) => {
34111
34124
  }
34112
34125
  }
34113
34126
  e.getData = ae;
34114
- })), zZ = /* @__PURE__ */ W(((e) => {
34127
+ })), VZ = /* @__PURE__ */ W(((e) => {
34115
34128
  Object.defineProperty(e, "__esModule", { value: !0 }), e.default = class extends Error {
34116
34129
  constructor(e) {
34117
34130
  super("validation failed"), this.errors = e, this.ajv = this.validation = !0;
34118
34131
  }
34119
34132
  };
34120
- })), BZ = /* @__PURE__ */ W(((e) => {
34133
+ })), HZ = /* @__PURE__ */ W(((e) => {
34121
34134
  Object.defineProperty(e, "__esModule", { value: !0 });
34122
- var t = LZ();
34135
+ var t = zZ();
34123
34136
  e.default = class extends Error {
34124
34137
  constructor(e, n, r, i) {
34125
34138
  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));
34126
34139
  }
34127
34140
  };
34128
- })), VZ = /* @__PURE__ */ W(((e) => {
34141
+ })), UZ = /* @__PURE__ */ W(((e) => {
34129
34142
  Object.defineProperty(e, "__esModule", { value: !0 }), e.resolveSchema = e.getCompilingSchema = e.resolveRef = e.compileSchema = e.SchemaEnv = void 0;
34130
- var t = CZ(), n = zZ(), r = TZ(), i = LZ(), a = wZ(), o = RZ(), s = class {
34143
+ var t = TZ(), n = VZ(), r = DZ(), i = zZ(), a = EZ(), o = BZ(), s = class {
34131
34144
  constructor(e) {
34132
34145
  this.refs = {}, this.dynamicAnchors = {};
34133
34146
  let t;
@@ -34286,27 +34299,27 @@ var xZ = /* @__PURE__ */ W(((e) => {
34286
34299
  baseId: t
34287
34300
  }), o.schema !== o.root.schema) return o;
34288
34301
  }
34289
- })), HZ = /* @__PURE__ */ xe({
34290
- $id: () => UZ,
34302
+ })), WZ = /* @__PURE__ */ xe({
34303
+ $id: () => GZ,
34291
34304
  additionalProperties: () => !1,
34292
- default: () => JZ,
34293
- description: () => WZ,
34294
- properties: () => qZ,
34295
- required: () => KZ,
34296
- type: () => GZ
34297
- }), UZ, WZ, GZ, KZ, qZ, JZ, YZ = be((() => {
34298
- UZ = "https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#", WZ = "Meta-schema for $data reference (JSON AnySchema extension proposal)", GZ = "object", KZ = ["$data"], qZ = { $data: {
34305
+ default: () => XZ,
34306
+ description: () => KZ,
34307
+ properties: () => YZ,
34308
+ required: () => JZ,
34309
+ type: () => qZ
34310
+ }), GZ, KZ, qZ, JZ, YZ, XZ, ZZ = be((() => {
34311
+ GZ = "https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#", KZ = "Meta-schema for $data reference (JSON AnySchema extension proposal)", qZ = "object", JZ = ["$data"], YZ = { $data: {
34299
34312
  type: "string",
34300
34313
  anyOf: [{ format: "relative-json-pointer" }, { format: "json-pointer" }]
34301
- } }, JZ = {
34302
- $id: UZ,
34303
- description: WZ,
34304
- type: GZ,
34305
- required: KZ,
34306
- properties: qZ,
34314
+ } }, XZ = {
34315
+ $id: GZ,
34316
+ description: KZ,
34317
+ type: qZ,
34318
+ required: JZ,
34319
+ properties: YZ,
34307
34320
  additionalProperties: !1
34308
34321
  };
34309
- })), XZ = /* @__PURE__ */ W(((e, t) => {
34322
+ })), QZ = /* @__PURE__ */ W(((e, t) => {
34310
34323
  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);
34311
34324
  function s(e) {
34312
34325
  let t = "", n = 0, r = 0;
@@ -34518,8 +34531,8 @@ var xZ = /* @__PURE__ */ W(((e) => {
34518
34531
  normalizeIPv6: f,
34519
34532
  stringArrayToHexStripped: s
34520
34533
  };
34521
- })), ZZ = /* @__PURE__ */ W(((e, t) => {
34522
- var { isUUID: n } = XZ(), r = /([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-.:;=@]|%[\da-f]{2})+)/iu, i = [
34534
+ })), $Z = /* @__PURE__ */ W(((e, t) => {
34535
+ var { isUUID: n } = QZ(), r = /([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-.:;=@]|%[\da-f]{2})+)/iu, i = [
34523
34536
  "http",
34524
34537
  "https",
34525
34538
  "ws",
@@ -34624,8 +34637,8 @@ var xZ = /* @__PURE__ */ W(((e) => {
34624
34637
  isValidSchemeName: a,
34625
34638
  getSchemeHandler: y
34626
34639
  };
34627
- })), QZ = /* @__PURE__ */ W(((e, t) => {
34628
- var { normalizeIPv6: n, removeDotSegments: r, recomposeAuthority: i, normalizePercentEncoding: a, normalizePathEncoding: o, escapePreservingEscapes: s, reescapeHostDelimiters: c, isIPv4: l, nonSimpleDomain: u } = XZ(), { SCHEMES: d, getSchemeHandler: f } = ZZ();
34640
+ })), eQ = /* @__PURE__ */ W(((e, t) => {
34641
+ var { normalizeIPv6: n, removeDotSegments: r, recomposeAuthority: i, normalizePercentEncoding: a, normalizePathEncoding: o, escapePreservingEscapes: s, reescapeHostDelimiters: c, isIPv4: l, nonSimpleDomain: u } = QZ(), { SCHEMES: d, getSchemeHandler: f } = $Z();
34629
34642
  function p(e, t) {
34630
34643
  return typeof e == "string" ? e = S(e, t) : typeof e == "object" && (e = x(_(e, t), t)), e;
34631
34644
  }
@@ -34739,20 +34752,20 @@ var xZ = /* @__PURE__ */ W(((e) => {
34739
34752
  parse: x
34740
34753
  };
34741
34754
  t.exports = T, t.exports.default = T, t.exports.fastUri = T;
34742
- })), $Z = /* @__PURE__ */ W(((e) => {
34755
+ })), tQ = /* @__PURE__ */ W(((e) => {
34743
34756
  Object.defineProperty(e, "__esModule", { value: !0 });
34744
- var t = QZ();
34757
+ var t = eQ();
34745
34758
  t.code = "require(\"ajv/dist/runtime/uri\").default", e.default = t;
34746
- })), eQ = /* @__PURE__ */ W(((e) => {
34759
+ })), nQ = /* @__PURE__ */ W(((e) => {
34747
34760
  Object.defineProperty(e, "__esModule", { value: !0 }), e.CodeGen = e.Name = e.nil = e.stringify = e.str = e._ = e.KeywordCxt = void 0;
34748
- var t = RZ();
34761
+ var t = BZ();
34749
34762
  Object.defineProperty(e, "KeywordCxt", {
34750
34763
  enumerable: !0,
34751
34764
  get: function() {
34752
34765
  return t.KeywordCxt;
34753
34766
  }
34754
34767
  });
34755
- var n = CZ();
34768
+ var n = TZ();
34756
34769
  Object.defineProperty(e, "_", {
34757
34770
  enumerable: !0,
34758
34771
  get: function() {
@@ -34784,7 +34797,7 @@ var xZ = /* @__PURE__ */ W(((e) => {
34784
34797
  return n.CodeGen;
34785
34798
  }
34786
34799
  });
34787
- var r = zZ(), i = BZ(), a = OZ(), o = VZ(), s = CZ(), c = LZ(), l = AZ(), u = wZ(), d = (YZ(), we(HZ).default), f = $Z(), p = (e, t) => new RegExp(e, t);
34800
+ var r = VZ(), i = HZ(), a = AZ(), o = UZ(), s = TZ(), c = zZ(), l = MZ(), u = EZ(), d = (ZZ(), we(WZ).default), f = tQ(), p = (e, t) => new RegExp(e, t);
34788
34801
  p.code = "new RegExp";
34789
34802
  var m = [
34790
34803
  "removeAdditional",
@@ -35170,16 +35183,16 @@ var xZ = /* @__PURE__ */ W(((e) => {
35170
35183
  function F(e) {
35171
35184
  return { anyOf: [e, P] };
35172
35185
  }
35173
- })), tQ = /* @__PURE__ */ W(((e) => {
35186
+ })), rQ = /* @__PURE__ */ W(((e) => {
35174
35187
  Object.defineProperty(e, "__esModule", { value: !0 }), e.default = {
35175
35188
  keyword: "id",
35176
35189
  code() {
35177
35190
  throw Error("NOT SUPPORTED: keyword \"id\", use \"$id\" for schema ID");
35178
35191
  }
35179
35192
  };
35180
- })), nQ = /* @__PURE__ */ W(((e) => {
35193
+ })), iQ = /* @__PURE__ */ W(((e) => {
35181
35194
  Object.defineProperty(e, "__esModule", { value: !0 }), e.callRef = e.getValidate = void 0;
35182
- var t = BZ(), n = MZ(), r = CZ(), i = TZ(), a = VZ(), o = wZ(), s = {
35195
+ var t = HZ(), n = PZ(), r = TZ(), i = DZ(), a = UZ(), o = EZ(), s = {
35183
35196
  keyword: "$ref",
35184
35197
  schemaType: "string",
35185
35198
  code(e) {
@@ -35252,9 +35265,9 @@ var xZ = /* @__PURE__ */ W(((e) => {
35252
35265
  }
35253
35266
  }
35254
35267
  e.callRef = l, e.default = s;
35255
- })), rQ = /* @__PURE__ */ W(((e) => {
35268
+ })), aQ = /* @__PURE__ */ W(((e) => {
35256
35269
  Object.defineProperty(e, "__esModule", { value: !0 });
35257
- var t = tQ(), n = nQ();
35270
+ var t = rQ(), n = iQ();
35258
35271
  e.default = [
35259
35272
  "$schema",
35260
35273
  "$id",
@@ -35265,9 +35278,9 @@ var xZ = /* @__PURE__ */ W(((e) => {
35265
35278
  t.default,
35266
35279
  n.default
35267
35280
  ];
35268
- })), iQ = /* @__PURE__ */ W(((e) => {
35281
+ })), oQ = /* @__PURE__ */ W(((e) => {
35269
35282
  Object.defineProperty(e, "__esModule", { value: !0 });
35270
- var t = CZ(), n = t.operators, r = {
35283
+ var t = TZ(), n = t.operators, r = {
35271
35284
  maximum: {
35272
35285
  okStr: "<=",
35273
35286
  ok: n.LTE,
@@ -35303,9 +35316,9 @@ var xZ = /* @__PURE__ */ W(((e) => {
35303
35316
  e.fail$data((0, t._)`${i} ${r[n].fail} ${a} || isNaN(${i})`);
35304
35317
  }
35305
35318
  };
35306
- })), aQ = /* @__PURE__ */ W(((e) => {
35319
+ })), sQ = /* @__PURE__ */ W(((e) => {
35307
35320
  Object.defineProperty(e, "__esModule", { value: !0 });
35308
- var t = CZ();
35321
+ var t = TZ();
35309
35322
  e.default = {
35310
35323
  keyword: "multipleOf",
35311
35324
  type: "number",
@@ -35320,7 +35333,7 @@ var xZ = /* @__PURE__ */ W(((e) => {
35320
35333
  e.fail$data((0, t._)`(${i} === 0 || (${s} = ${r}/${i}, ${c}))`);
35321
35334
  }
35322
35335
  };
35323
- })), oQ = /* @__PURE__ */ W(((e) => {
35336
+ })), cQ = /* @__PURE__ */ W(((e) => {
35324
35337
  Object.defineProperty(e, "__esModule", { value: !0 });
35325
35338
  function t(e) {
35326
35339
  let t = e.length, n = 0, r = 0, i;
@@ -35328,9 +35341,9 @@ var xZ = /* @__PURE__ */ W(((e) => {
35328
35341
  return n;
35329
35342
  }
35330
35343
  e.default = t, t.code = "require(\"ajv/dist/runtime/ucs2length\").default";
35331
- })), sQ = /* @__PURE__ */ W(((e) => {
35344
+ })), lQ = /* @__PURE__ */ W(((e) => {
35332
35345
  Object.defineProperty(e, "__esModule", { value: !0 });
35333
- var t = CZ(), n = wZ(), r = oQ();
35346
+ var t = TZ(), n = EZ(), r = cQ();
35334
35347
  e.default = {
35335
35348
  keyword: ["maxLength", "minLength"],
35336
35349
  type: "string",
@@ -35348,9 +35361,9 @@ var xZ = /* @__PURE__ */ W(((e) => {
35348
35361
  e.fail$data((0, t._)`${l} ${c} ${o}`);
35349
35362
  }
35350
35363
  };
35351
- })), cQ = /* @__PURE__ */ W(((e) => {
35364
+ })), uQ = /* @__PURE__ */ W(((e) => {
35352
35365
  Object.defineProperty(e, "__esModule", { value: !0 });
35353
- var t = MZ(), n = wZ(), r = CZ();
35366
+ var t = PZ(), n = EZ(), r = TZ();
35354
35367
  e.default = {
35355
35368
  keyword: "pattern",
35356
35369
  type: "string",
@@ -35371,9 +35384,9 @@ var xZ = /* @__PURE__ */ W(((e) => {
35371
35384
  }
35372
35385
  }
35373
35386
  };
35374
- })), lQ = /* @__PURE__ */ W(((e) => {
35387
+ })), dQ = /* @__PURE__ */ W(((e) => {
35375
35388
  Object.defineProperty(e, "__esModule", { value: !0 });
35376
- var t = CZ();
35389
+ var t = TZ();
35377
35390
  e.default = {
35378
35391
  keyword: ["maxProperties", "minProperties"],
35379
35392
  type: "object",
@@ -35391,9 +35404,9 @@ var xZ = /* @__PURE__ */ W(((e) => {
35391
35404
  e.fail$data((0, t._)`Object.keys(${r}).length ${a} ${i}`);
35392
35405
  }
35393
35406
  };
35394
- })), uQ = /* @__PURE__ */ W(((e) => {
35407
+ })), fQ = /* @__PURE__ */ W(((e) => {
35395
35408
  Object.defineProperty(e, "__esModule", { value: !0 });
35396
- var t = MZ(), n = CZ(), r = wZ();
35409
+ var t = PZ(), n = TZ(), r = EZ();
35397
35410
  e.default = {
35398
35411
  keyword: "required",
35399
35412
  type: "object",
@@ -35439,9 +35452,9 @@ var xZ = /* @__PURE__ */ W(((e) => {
35439
35452
  }
35440
35453
  }
35441
35454
  };
35442
- })), dQ = /* @__PURE__ */ W(((e) => {
35455
+ })), pQ = /* @__PURE__ */ W(((e) => {
35443
35456
  Object.defineProperty(e, "__esModule", { value: !0 });
35444
- var t = CZ();
35457
+ var t = TZ();
35445
35458
  e.default = {
35446
35459
  keyword: ["maxItems", "minItems"],
35447
35460
  type: "array",
@@ -35459,13 +35472,13 @@ var xZ = /* @__PURE__ */ W(((e) => {
35459
35472
  e.fail$data((0, t._)`${r}.length ${a} ${i}`);
35460
35473
  }
35461
35474
  };
35462
- })), fQ = /* @__PURE__ */ W(((e) => {
35475
+ })), mQ = /* @__PURE__ */ W(((e) => {
35463
35476
  Object.defineProperty(e, "__esModule", { value: !0 });
35464
- var t = FZ();
35477
+ var t = LZ();
35465
35478
  t.code = "require(\"ajv/dist/runtime/equal\").default", e.default = t;
35466
- })), pQ = /* @__PURE__ */ W(((e) => {
35479
+ })), hQ = /* @__PURE__ */ W(((e) => {
35467
35480
  Object.defineProperty(e, "__esModule", { value: !0 });
35468
- var t = AZ(), n = CZ(), r = wZ(), i = fQ();
35481
+ var t = MZ(), n = TZ(), r = EZ(), i = mQ();
35469
35482
  e.default = {
35470
35483
  keyword: "uniqueItems",
35471
35484
  type: "array",
@@ -35506,9 +35519,9 @@ var xZ = /* @__PURE__ */ W(((e) => {
35506
35519
  }
35507
35520
  }
35508
35521
  };
35509
- })), mQ = /* @__PURE__ */ W(((e) => {
35522
+ })), gQ = /* @__PURE__ */ W(((e) => {
35510
35523
  Object.defineProperty(e, "__esModule", { value: !0 });
35511
- var t = CZ(), n = wZ(), r = fQ();
35524
+ var t = TZ(), n = EZ(), r = mQ();
35512
35525
  e.default = {
35513
35526
  keyword: "const",
35514
35527
  $data: !0,
@@ -35521,9 +35534,9 @@ var xZ = /* @__PURE__ */ W(((e) => {
35521
35534
  o || c && typeof c == "object" ? e.fail$data((0, t._)`!${(0, n.useFunc)(i, r.default)}(${a}, ${s})`) : e.fail((0, t._)`${c} !== ${a}`);
35522
35535
  }
35523
35536
  };
35524
- })), hQ = /* @__PURE__ */ W(((e) => {
35537
+ })), _Q = /* @__PURE__ */ W(((e) => {
35525
35538
  Object.defineProperty(e, "__esModule", { value: !0 });
35526
- var t = CZ(), n = wZ(), r = fQ();
35539
+ var t = TZ(), n = EZ(), r = mQ();
35527
35540
  e.default = {
35528
35541
  keyword: "enum",
35529
35542
  schemaType: "array",
@@ -35553,9 +35566,9 @@ var xZ = /* @__PURE__ */ W(((e) => {
35553
35566
  }
35554
35567
  }
35555
35568
  };
35556
- })), gQ = /* @__PURE__ */ W(((e) => {
35569
+ })), vQ = /* @__PURE__ */ W(((e) => {
35557
35570
  Object.defineProperty(e, "__esModule", { value: !0 });
35558
- var t = iQ(), n = aQ(), r = sQ(), i = cQ(), a = lQ(), o = uQ(), s = dQ(), c = pQ(), l = mQ(), u = hQ();
35571
+ var t = oQ(), n = sQ(), r = lQ(), i = uQ(), a = dQ(), o = fQ(), s = pQ(), c = hQ(), l = gQ(), u = _Q();
35559
35572
  e.default = [
35560
35573
  t.default,
35561
35574
  n.default,
@@ -35576,9 +35589,9 @@ var xZ = /* @__PURE__ */ W(((e) => {
35576
35589
  l.default,
35577
35590
  u.default
35578
35591
  ];
35579
- })), _Q = /* @__PURE__ */ W(((e) => {
35592
+ })), yQ = /* @__PURE__ */ W(((e) => {
35580
35593
  Object.defineProperty(e, "__esModule", { value: !0 }), e.validateAdditionalItems = void 0;
35581
- var t = CZ(), n = wZ(), r = {
35594
+ var t = TZ(), n = EZ(), r = {
35582
35595
  keyword: "additionalItems",
35583
35596
  type: "array",
35584
35597
  schemaType: ["boolean", "object"],
@@ -35616,9 +35629,9 @@ var xZ = /* @__PURE__ */ W(((e) => {
35616
35629
  }
35617
35630
  }
35618
35631
  e.validateAdditionalItems = i, e.default = r;
35619
- })), vQ = /* @__PURE__ */ W(((e) => {
35632
+ })), bQ = /* @__PURE__ */ W(((e) => {
35620
35633
  Object.defineProperty(e, "__esModule", { value: !0 }), e.validateTuple = void 0;
35621
- var t = CZ(), n = wZ(), r = MZ(), i = {
35634
+ var t = TZ(), n = EZ(), r = PZ(), i = {
35622
35635
  keyword: "items",
35623
35636
  type: "array",
35624
35637
  schemaType: [
@@ -35653,9 +35666,9 @@ var xZ = /* @__PURE__ */ W(((e) => {
35653
35666
  }
35654
35667
  }
35655
35668
  e.validateTuple = a, e.default = i;
35656
- })), yQ = /* @__PURE__ */ W(((e) => {
35669
+ })), xQ = /* @__PURE__ */ W(((e) => {
35657
35670
  Object.defineProperty(e, "__esModule", { value: !0 });
35658
- var t = vQ();
35671
+ var t = bQ();
35659
35672
  e.default = {
35660
35673
  keyword: "prefixItems",
35661
35674
  type: "array",
@@ -35663,9 +35676,9 @@ var xZ = /* @__PURE__ */ W(((e) => {
35663
35676
  before: "uniqueItems",
35664
35677
  code: (e) => (0, t.validateTuple)(e, "items")
35665
35678
  };
35666
- })), bQ = /* @__PURE__ */ W(((e) => {
35679
+ })), SQ = /* @__PURE__ */ W(((e) => {
35667
35680
  Object.defineProperty(e, "__esModule", { value: !0 });
35668
- var t = CZ(), n = wZ(), r = MZ(), i = _Q();
35681
+ var t = TZ(), n = EZ(), r = PZ(), i = yQ();
35669
35682
  e.default = {
35670
35683
  keyword: "items",
35671
35684
  type: "array",
@@ -35680,9 +35693,9 @@ var xZ = /* @__PURE__ */ W(((e) => {
35680
35693
  o.items = !0, !(0, n.alwaysValidSchema)(o, t) && (s ? (0, i.validateAdditionalItems)(e, s) : e.ok((0, r.validateArray)(e)));
35681
35694
  }
35682
35695
  };
35683
- })), xQ = /* @__PURE__ */ W(((e) => {
35696
+ })), CQ = /* @__PURE__ */ W(((e) => {
35684
35697
  Object.defineProperty(e, "__esModule", { value: !0 });
35685
- var t = CZ(), n = wZ();
35698
+ var t = TZ(), n = EZ();
35686
35699
  e.default = {
35687
35700
  keyword: "contains",
35688
35701
  type: "array",
@@ -35735,9 +35748,9 @@ var xZ = /* @__PURE__ */ W(((e) => {
35735
35748
  }
35736
35749
  }
35737
35750
  };
35738
- })), SQ = /* @__PURE__ */ W(((e) => {
35751
+ })), wQ = /* @__PURE__ */ W(((e) => {
35739
35752
  Object.defineProperty(e, "__esModule", { value: !0 }), e.validateSchemaDeps = e.validatePropertyDeps = e.error = void 0;
35740
- var t = CZ(), n = wZ(), r = MZ();
35753
+ var t = TZ(), n = EZ(), r = PZ();
35741
35754
  e.error = {
35742
35755
  message: ({ params: { property: e, depsCount: n, deps: r } }) => {
35743
35756
  let i = n === 1 ? "property" : "properties";
@@ -35796,9 +35809,9 @@ var xZ = /* @__PURE__ */ W(((e) => {
35796
35809
  }, () => i.var(c, !0)), e.ok(c));
35797
35810
  }
35798
35811
  e.validateSchemaDeps = s, e.default = i;
35799
- })), CQ = /* @__PURE__ */ W(((e) => {
35812
+ })), TQ = /* @__PURE__ */ W(((e) => {
35800
35813
  Object.defineProperty(e, "__esModule", { value: !0 });
35801
- var t = CZ(), n = wZ();
35814
+ var t = TZ(), n = EZ();
35802
35815
  e.default = {
35803
35816
  keyword: "propertyNames",
35804
35817
  type: "object",
@@ -35824,9 +35837,9 @@ var xZ = /* @__PURE__ */ W(((e) => {
35824
35837
  }), e.ok(s);
35825
35838
  }
35826
35839
  };
35827
- })), wQ = /* @__PURE__ */ W(((e) => {
35840
+ })), EQ = /* @__PURE__ */ W(((e) => {
35828
35841
  Object.defineProperty(e, "__esModule", { value: !0 });
35829
- var t = MZ(), n = CZ(), r = TZ(), i = wZ();
35842
+ var t = PZ(), n = TZ(), r = DZ(), i = EZ();
35830
35843
  e.default = {
35831
35844
  keyword: "additionalProperties",
35832
35845
  type: ["object"],
@@ -35891,9 +35904,9 @@ var xZ = /* @__PURE__ */ W(((e) => {
35891
35904
  }
35892
35905
  }
35893
35906
  };
35894
- })), TQ = /* @__PURE__ */ W(((e) => {
35907
+ })), DQ = /* @__PURE__ */ W(((e) => {
35895
35908
  Object.defineProperty(e, "__esModule", { value: !0 });
35896
- var t = RZ(), n = MZ(), r = wZ(), i = wQ();
35909
+ var t = BZ(), n = PZ(), r = EZ(), i = EQ();
35897
35910
  e.default = {
35898
35911
  keyword: "properties",
35899
35912
  type: "object",
@@ -35920,9 +35933,9 @@ var xZ = /* @__PURE__ */ W(((e) => {
35920
35933
  }
35921
35934
  }
35922
35935
  };
35923
- })), EQ = /* @__PURE__ */ W(((e) => {
35936
+ })), OQ = /* @__PURE__ */ W(((e) => {
35924
35937
  Object.defineProperty(e, "__esModule", { value: !0 });
35925
- var t = MZ(), n = CZ(), r = wZ(), i = wZ();
35938
+ var t = PZ(), n = TZ(), r = EZ(), i = EZ();
35926
35939
  e.default = {
35927
35940
  keyword: "patternProperties",
35928
35941
  type: "object",
@@ -35955,9 +35968,9 @@ var xZ = /* @__PURE__ */ W(((e) => {
35955
35968
  }
35956
35969
  }
35957
35970
  };
35958
- })), DQ = /* @__PURE__ */ W(((e) => {
35971
+ })), kQ = /* @__PURE__ */ W(((e) => {
35959
35972
  Object.defineProperty(e, "__esModule", { value: !0 });
35960
- var t = wZ();
35973
+ var t = EZ();
35961
35974
  e.default = {
35962
35975
  keyword: "not",
35963
35976
  schemaType: ["object", "boolean"],
@@ -35978,17 +35991,17 @@ var xZ = /* @__PURE__ */ W(((e) => {
35978
35991
  },
35979
35992
  error: { message: "must NOT be valid" }
35980
35993
  };
35981
- })), OQ = /* @__PURE__ */ W(((e) => {
35994
+ })), AQ = /* @__PURE__ */ W(((e) => {
35982
35995
  Object.defineProperty(e, "__esModule", { value: !0 }), e.default = {
35983
35996
  keyword: "anyOf",
35984
35997
  schemaType: "array",
35985
35998
  trackErrors: !0,
35986
- code: MZ().validateUnion,
35999
+ code: PZ().validateUnion,
35987
36000
  error: { message: "must match a schema in anyOf" }
35988
36001
  };
35989
- })), kQ = /* @__PURE__ */ W(((e) => {
36002
+ })), jQ = /* @__PURE__ */ W(((e) => {
35990
36003
  Object.defineProperty(e, "__esModule", { value: !0 });
35991
- var t = CZ(), n = wZ();
36004
+ var t = TZ(), n = EZ();
35992
36005
  e.default = {
35993
36006
  keyword: "oneOf",
35994
36007
  schemaType: "array",
@@ -36018,9 +36031,9 @@ var xZ = /* @__PURE__ */ W(((e) => {
36018
36031
  }
36019
36032
  }
36020
36033
  };
36021
- })), AQ = /* @__PURE__ */ W(((e) => {
36034
+ })), MQ = /* @__PURE__ */ W(((e) => {
36022
36035
  Object.defineProperty(e, "__esModule", { value: !0 });
36023
- var t = wZ();
36036
+ var t = EZ();
36024
36037
  e.default = {
36025
36038
  keyword: "allOf",
36026
36039
  schemaType: "array",
@@ -36039,9 +36052,9 @@ var xZ = /* @__PURE__ */ W(((e) => {
36039
36052
  });
36040
36053
  }
36041
36054
  };
36042
- })), jQ = /* @__PURE__ */ W(((e) => {
36055
+ })), NQ = /* @__PURE__ */ W(((e) => {
36043
36056
  Object.defineProperty(e, "__esModule", { value: !0 });
36044
- var t = CZ(), n = wZ(), r = {
36057
+ var t = TZ(), n = EZ(), r = {
36045
36058
  keyword: "if",
36046
36059
  schemaType: ["object", "boolean"],
36047
36060
  trackErrors: !0,
@@ -36082,9 +36095,9 @@ var xZ = /* @__PURE__ */ W(((e) => {
36082
36095
  return r !== void 0 && !(0, n.alwaysValidSchema)(e, r);
36083
36096
  }
36084
36097
  e.default = r;
36085
- })), MQ = /* @__PURE__ */ W(((e) => {
36098
+ })), PQ = /* @__PURE__ */ W(((e) => {
36086
36099
  Object.defineProperty(e, "__esModule", { value: !0 });
36087
- var t = wZ();
36100
+ var t = EZ();
36088
36101
  e.default = {
36089
36102
  keyword: ["then", "else"],
36090
36103
  schemaType: ["object", "boolean"],
@@ -36092,9 +36105,9 @@ var xZ = /* @__PURE__ */ W(((e) => {
36092
36105
  n.if === void 0 && (0, t.checkStrictMode)(r, `"${e}" without "if" is ignored`);
36093
36106
  }
36094
36107
  };
36095
- })), NQ = /* @__PURE__ */ W(((e) => {
36108
+ })), FQ = /* @__PURE__ */ W(((e) => {
36096
36109
  Object.defineProperty(e, "__esModule", { value: !0 });
36097
- var t = _Q(), n = yQ(), r = vQ(), i = bQ(), a = xQ(), o = SQ(), s = CQ(), c = wQ(), l = TQ(), u = EQ(), d = DQ(), f = OQ(), p = kQ(), m = AQ(), h = jQ(), g = MQ();
36110
+ var t = yQ(), n = xQ(), r = bQ(), i = SQ(), a = CQ(), o = wQ(), s = TQ(), c = EQ(), l = DQ(), u = OQ(), d = kQ(), f = AQ(), p = jQ(), m = MQ(), h = NQ(), g = PQ();
36098
36111
  function _(e = !1) {
36099
36112
  let _ = [
36100
36113
  d.default,
@@ -36112,9 +36125,9 @@ var xZ = /* @__PURE__ */ W(((e) => {
36112
36125
  return e ? _.push(n.default, i.default) : _.push(t.default, r.default), _.push(a.default), _;
36113
36126
  }
36114
36127
  e.default = _;
36115
- })), PQ = /* @__PURE__ */ W(((e) => {
36128
+ })), IQ = /* @__PURE__ */ W(((e) => {
36116
36129
  Object.defineProperty(e, "__esModule", { value: !0 });
36117
- var t = CZ();
36130
+ var t = TZ();
36118
36131
  e.default = {
36119
36132
  keyword: "format",
36120
36133
  type: ["number", "string"],
@@ -36187,9 +36200,9 @@ var xZ = /* @__PURE__ */ W(((e) => {
36187
36200
  }
36188
36201
  }
36189
36202
  };
36190
- })), FQ = /* @__PURE__ */ W(((e) => {
36191
- Object.defineProperty(e, "__esModule", { value: !0 }), e.default = [PQ().default];
36192
- })), IQ = /* @__PURE__ */ W(((e) => {
36203
+ })), LQ = /* @__PURE__ */ W(((e) => {
36204
+ Object.defineProperty(e, "__esModule", { value: !0 }), e.default = [IQ().default];
36205
+ })), RQ = /* @__PURE__ */ W(((e) => {
36193
36206
  Object.defineProperty(e, "__esModule", { value: !0 }), e.contentVocabulary = e.metadataVocabulary = void 0, e.metadataVocabulary = [
36194
36207
  "title",
36195
36208
  "description",
@@ -36203,9 +36216,9 @@ var xZ = /* @__PURE__ */ W(((e) => {
36203
36216
  "contentEncoding",
36204
36217
  "contentSchema"
36205
36218
  ];
36206
- })), LQ = /* @__PURE__ */ W(((e) => {
36219
+ })), zQ = /* @__PURE__ */ W(((e) => {
36207
36220
  Object.defineProperty(e, "__esModule", { value: !0 });
36208
- var t = rQ(), n = gQ(), r = NQ(), i = FQ(), a = IQ();
36221
+ var t = aQ(), n = vQ(), r = FQ(), i = LQ(), a = RQ();
36209
36222
  e.default = [
36210
36223
  t.default,
36211
36224
  n.default,
@@ -36214,15 +36227,15 @@ var xZ = /* @__PURE__ */ W(((e) => {
36214
36227
  a.metadataVocabulary,
36215
36228
  a.contentVocabulary
36216
36229
  ];
36217
- })), RQ = /* @__PURE__ */ W(((e) => {
36230
+ })), BQ = /* @__PURE__ */ W(((e) => {
36218
36231
  Object.defineProperty(e, "__esModule", { value: !0 }), e.DiscrError = void 0;
36219
36232
  var t;
36220
36233
  (function(e) {
36221
36234
  e.Tag = "tag", e.Mapping = "mapping";
36222
36235
  })(t || (e.DiscrError = t = {}));
36223
- })), zQ = /* @__PURE__ */ W(((e) => {
36236
+ })), VQ = /* @__PURE__ */ W(((e) => {
36224
36237
  Object.defineProperty(e, "__esModule", { value: !0 });
36225
- var t = CZ(), n = RQ(), r = VZ(), i = BZ(), a = wZ();
36238
+ var t = TZ(), n = BQ(), r = UZ(), i = HZ(), a = EZ();
36226
36239
  e.default = {
36227
36240
  keyword: "discriminator",
36228
36241
  type: "object",
@@ -36290,16 +36303,16 @@ var xZ = /* @__PURE__ */ W(((e) => {
36290
36303
  }
36291
36304
  }
36292
36305
  };
36293
- })), BQ = /* @__PURE__ */ xe({
36294
- $id: () => HQ,
36295
- $schema: () => VQ,
36296
- default: () => qQ,
36297
- definitions: () => WQ,
36298
- properties: () => KQ,
36299
- title: () => UQ,
36300
- type: () => GQ
36301
- }), VQ, HQ, UQ, WQ, GQ, KQ, qQ, JQ = be((() => {
36302
- VQ = "http://json-schema.org/draft-07/schema#", HQ = "http://json-schema.org/draft-07/schema#", UQ = "Core schema meta-schema", WQ = {
36306
+ })), HQ = /* @__PURE__ */ xe({
36307
+ $id: () => WQ,
36308
+ $schema: () => UQ,
36309
+ default: () => YQ,
36310
+ definitions: () => KQ,
36311
+ properties: () => JQ,
36312
+ title: () => GQ,
36313
+ type: () => qQ
36314
+ }), UQ, WQ, GQ, KQ, qQ, JQ, YQ, XQ = be((() => {
36315
+ UQ = "http://json-schema.org/draft-07/schema#", WQ = "http://json-schema.org/draft-07/schema#", GQ = "Core schema meta-schema", KQ = {
36303
36316
  schemaArray: {
36304
36317
  type: "array",
36305
36318
  minItems: 1,
@@ -36325,7 +36338,7 @@ var xZ = /* @__PURE__ */ W(((e) => {
36325
36338
  uniqueItems: !0,
36326
36339
  default: []
36327
36340
  }
36328
- }, GQ = ["object", "boolean"], KQ = {
36341
+ }, qQ = ["object", "boolean"], JQ = {
36329
36342
  $id: {
36330
36343
  type: "string",
36331
36344
  format: "uri-reference"
@@ -36424,18 +36437,18 @@ var xZ = /* @__PURE__ */ W(((e) => {
36424
36437
  anyOf: { $ref: "#/definitions/schemaArray" },
36425
36438
  oneOf: { $ref: "#/definitions/schemaArray" },
36426
36439
  not: { $ref: "#" }
36427
- }, qQ = {
36428
- $schema: VQ,
36429
- $id: HQ,
36430
- title: UQ,
36431
- definitions: WQ,
36432
- type: GQ,
36433
- properties: KQ,
36440
+ }, YQ = {
36441
+ $schema: UQ,
36442
+ $id: WQ,
36443
+ title: GQ,
36444
+ definitions: KQ,
36445
+ type: qQ,
36446
+ properties: JQ,
36434
36447
  default: !0
36435
36448
  };
36436
- })), YQ = /* @__PURE__ */ W(((e, t) => {
36449
+ })), ZQ = /* @__PURE__ */ W(((e, t) => {
36437
36450
  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;
36438
- var n = eQ(), r = LQ(), i = zQ(), a = (JQ(), we(BQ).default), o = ["/properties"], s = "http://json-schema.org/draft-07/schema", c = class extends n.default {
36451
+ var n = nQ(), r = zQ(), i = VQ(), a = (XQ(), we(HQ).default), o = ["/properties"], s = "http://json-schema.org/draft-07/schema", c = class extends n.default {
36439
36452
  _addVocabularies() {
36440
36453
  super._addVocabularies(), r.default.forEach((e) => this.addVocabulary(e)), this.opts.discriminator && this.addKeyword(i.default);
36441
36454
  }
@@ -36449,14 +36462,14 @@ var xZ = /* @__PURE__ */ W(((e) => {
36449
36462
  }
36450
36463
  };
36451
36464
  e.Ajv = c, t.exports = e = c, t.exports.Ajv = c, Object.defineProperty(e, "__esModule", { value: !0 }), e.default = c;
36452
- var l = RZ();
36465
+ var l = BZ();
36453
36466
  Object.defineProperty(e, "KeywordCxt", {
36454
36467
  enumerable: !0,
36455
36468
  get: function() {
36456
36469
  return l.KeywordCxt;
36457
36470
  }
36458
36471
  });
36459
- var u = CZ();
36472
+ var u = TZ();
36460
36473
  Object.defineProperty(e, "_", {
36461
36474
  enumerable: !0,
36462
36475
  get: function() {
@@ -36488,21 +36501,21 @@ var xZ = /* @__PURE__ */ W(((e) => {
36488
36501
  return u.CodeGen;
36489
36502
  }
36490
36503
  });
36491
- var d = zZ();
36504
+ var d = VZ();
36492
36505
  Object.defineProperty(e, "ValidationError", {
36493
36506
  enumerable: !0,
36494
36507
  get: function() {
36495
36508
  return d.default;
36496
36509
  }
36497
36510
  });
36498
- var f = BZ();
36511
+ var f = HZ();
36499
36512
  Object.defineProperty(e, "MissingRefError", {
36500
36513
  enumerable: !0,
36501
36514
  get: function() {
36502
36515
  return f.default;
36503
36516
  }
36504
36517
  });
36505
- })), XQ = /* @__PURE__ */ W(((e) => {
36518
+ })), QQ = /* @__PURE__ */ W(((e) => {
36506
36519
  Object.defineProperty(e, "__esModule", { value: !0 }), e.formatNames = e.fastFormats = e.fullFormats = void 0;
36507
36520
  function t(e, t) {
36508
36521
  return {
@@ -36654,9 +36667,9 @@ var xZ = /* @__PURE__ */ W(((e) => {
36654
36667
  return !1;
36655
36668
  }
36656
36669
  }
36657
- })), ZQ = /* @__PURE__ */ W(((e) => {
36670
+ })), $Q = /* @__PURE__ */ W(((e) => {
36658
36671
  Object.defineProperty(e, "__esModule", { value: !0 }), e.formatLimitDefinition = void 0;
36659
- var t = YQ(), n = CZ(), r = n.operators, i = {
36672
+ var t = ZQ(), n = TZ(), r = n.operators, i = {
36660
36673
  formatMaximum: {
36661
36674
  okStr: "<=",
36662
36675
  ok: r.LTE,
@@ -36716,9 +36729,9 @@ var xZ = /* @__PURE__ */ W(((e) => {
36716
36729
  },
36717
36730
  dependencies: ["format"]
36718
36731
  }, e.default = (t) => (t.addKeyword(e.formatLimitDefinition), t);
36719
- })), QQ = /* @__PURE__ */ W(((e, t) => {
36732
+ })), e$ = /* @__PURE__ */ W(((e, t) => {
36720
36733
  Object.defineProperty(e, "__esModule", { value: !0 });
36721
- var n = XQ(), r = ZQ(), i = CZ(), a = new i.Name("fullFormats"), o = new i.Name("fastFormats"), s = (e, t = { keywords: !0 }) => {
36734
+ var n = QQ(), r = $Q(), i = TZ(), a = new i.Name("fullFormats"), o = new i.Name("fastFormats"), s = (e, t = { keywords: !0 }) => {
36722
36735
  if (Array.isArray(t)) return c(e, t, n.fullFormats, a), e;
36723
36736
  let [i, s] = t.mode === "fast" ? [n.fastFormats, o] : [n.fullFormats, a];
36724
36737
  return c(e, t.formats || n.formatNames, i, s), t.keywords && (0, r.default)(e), e;
@@ -36734,9 +36747,9 @@ var xZ = /* @__PURE__ */ W(((e) => {
36734
36747
  for (let r of t) e.addFormat(r, n[r]);
36735
36748
  }
36736
36749
  t.exports = e = s, Object.defineProperty(e, "__esModule", { value: !0 }), e.default = s;
36737
- })), $Q = /* @__PURE__ */ Ce(YQ(), 1), e$ = /* @__PURE__ */ Ce(QQ(), 1), t$ = {
36750
+ })), t$ = /* @__PURE__ */ Ce(ZQ(), 1), n$ = /* @__PURE__ */ Ce(e$(), 1), r$ = {
36738
36751
  required: () => "This field is required",
36739
- type: (e) => `Should be "${r$(e)}".`,
36752
+ type: (e) => `Should be "${a$(e)}".`,
36740
36753
  minLength: (e) => e.params.limit === 1 ? "This field must not be empty" : `Should NOT be shorter than ${e.params.limit} characters`,
36741
36754
  maxLength: (e) => `Should NOT be longer than ${e.params.limit} characters`,
36742
36755
  minimum: (e) => `Should be >= ${e.params.limit}`,
@@ -36748,63 +36761,63 @@ var xZ = /* @__PURE__ */ W(((e) => {
36748
36761
  maxItems: (e) => `Should NOT have more than ${e.params.limit} items`,
36749
36762
  uniqueItems: () => "Should NOT have duplicate items",
36750
36763
  const: (e) => `Should be equal to constant "${e.params.allowedValue}"`,
36751
- pattern: (e, t) => `${_X(t)} value does not respect the pattern: ${e.params.pattern}`,
36764
+ pattern: (e, t) => `${yX(t)} value does not respect the pattern: ${e.params.pattern}`,
36752
36765
  format: (e) => `Should be a valid ${e.params.format}`,
36753
36766
  uniqueItemProperties: (e) => `${e.params.propertyName ?? "This field"} must be unique`
36754
36767
  };
36755
- function n$(e, t) {
36756
- let n = t$[e.keyword];
36768
+ function i$(e, t) {
36769
+ let n = r$[e.keyword];
36757
36770
  return n ? n(e, t) : e.message ?? "Invalid value";
36758
36771
  }
36759
- function r$(e) {
36772
+ function a$(e) {
36760
36773
  let t = e.params.type;
36761
36774
  return String(Array.isArray(t) ? t[0] : t);
36762
36775
  }
36763
36776
  //#endregion
36764
36777
  //#region src/composed/JsonSchemaForm/form-bindings/resolveAt.ts
36765
- function i$(e, t, n) {
36778
+ function o$(e, t, n) {
36766
36779
  let r = t === "" ? [] : t.split("."), i = e.root, a = n, o = [];
36767
36780
  for (let e of r) {
36768
36781
  if (!i) return {
36769
36782
  node: void 0,
36770
36783
  value: void 0
36771
36784
  };
36772
- i = a$(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);
36785
+ i = s$(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);
36773
36786
  }
36774
36787
  return i ? {
36775
- node: o$(a$(i, a, n, r), r),
36788
+ node: c$(s$(i, a, n, r), r),
36776
36789
  value: a
36777
36790
  } : {
36778
36791
  node: void 0,
36779
36792
  value: a
36780
36793
  };
36781
36794
  }
36782
- function a$(e, t, n, r) {
36783
- let i = new Map(e.properties), a = e.variants ? l$(e.variants, t) : void 0;
36795
+ function s$(e, t, n, r) {
36796
+ let i = new Map(e.properties), a = e.variants ? d$(e.variants, t) : void 0;
36784
36797
  if (a) for (let [e, t] of a.properties) i.set(e, t);
36785
36798
  let o = [...e.dependencyBranches ?? [], ...a?.dependencyBranches ?? []];
36786
36799
  if (o.length > 0) {
36787
- for (let e of o) if (s$(e.showIf.$eq, n, r)) for (let [t, n] of e.properties) i.set(t, n);
36800
+ for (let e of o) if (l$(e.showIf.$eq, n, r)) for (let [t, n] of e.properties) i.set(t, n);
36788
36801
  }
36789
36802
  return i.size > (e.properties?.size ?? 0) ? {
36790
36803
  ...e,
36791
36804
  properties: i
36792
36805
  } : e;
36793
36806
  }
36794
- function o$(e, t) {
36807
+ function c$(e, t) {
36795
36808
  return e.displayIf ? {
36796
36809
  ...e,
36797
- displayIf: { $eq: new Map([...e.displayIf.$eq].map(([e, n]) => [eX(e, t), n])) }
36810
+ displayIf: { $eq: new Map([...e.displayIf.$eq].map(([e, n]) => [nX(e, t), n])) }
36798
36811
  } : e;
36799
36812
  }
36800
- function s$(e, t, n) {
36813
+ function l$(e, t, n) {
36801
36814
  for (let [r, i] of e) {
36802
- let e = c$(t, eX(r, n).split("."));
36815
+ let e = u$(t, nX(r, n).split("."));
36803
36816
  if (!(Array.isArray(i) ? i : [i]).includes(e)) return !1;
36804
36817
  }
36805
36818
  return !0;
36806
36819
  }
36807
- function c$(e, t) {
36820
+ function u$(e, t) {
36808
36821
  let n = e;
36809
36822
  for (let e of t) {
36810
36823
  if (typeof n != "object" || !n) return;
@@ -36812,25 +36825,25 @@ function c$(e, t) {
36812
36825
  }
36813
36826
  return n;
36814
36827
  }
36815
- function l$(e, t) {
36828
+ function d$(e, t) {
36816
36829
  if (typeof t != "object" || !t) return;
36817
36830
  let n = t;
36818
36831
  return e.find((e) => e.consts.length > 0 && e.consts.every((e) => Object.is(n[e.key], e.value)));
36819
36832
  }
36820
36833
  //#endregion
36821
36834
  //#region src/composed/JsonSchemaForm/form-bindings/jsonSchemaResolver.ts
36822
- var u$ = new $Q.default({
36835
+ var f$ = new t$.default({
36823
36836
  strict: !1,
36824
36837
  allErrors: !0
36825
36838
  });
36826
- (0, e$.default)(u$), u$.removeKeyword("id"), u$.addKeyword({
36839
+ (0, n$.default)(f$), f$.removeKeyword("id"), f$.addKeyword({
36827
36840
  keyword: "id",
36828
36841
  validate: () => !0
36829
36842
  });
36830
- function d$(e, t = {}) {
36843
+ function p$(e, t = {}) {
36831
36844
  let n;
36832
36845
  try {
36833
- n = cZ(e);
36846
+ n = uZ(e);
36834
36847
  } catch (e) {
36835
36848
  let t = e instanceof Error ? e.message : "Invalid JSON Schema";
36836
36849
  return () => ({
@@ -36843,7 +36856,7 @@ function d$(e, t = {}) {
36843
36856
  }
36844
36857
  let r = n.root.schema, i = n.variantIndices, a;
36845
36858
  try {
36846
- a = u$.compile(r);
36859
+ a = f$.compile(r);
36847
36860
  } catch (e) {
36848
36861
  let t = e instanceof Error ? e.message : "Invalid JSON Schema";
36849
36862
  return () => ({
@@ -36854,15 +36867,15 @@ function d$(e, t = {}) {
36854
36867
  } }
36855
36868
  });
36856
36869
  }
36857
- u$.removeSchema(r);
36870
+ f$.removeSchema(r);
36858
36871
  let o = async (e, t, r) => {
36859
- let o = a(e) ? [] : a.errors ?? [], s = v$(n.root, e, "", i), c = [...o, ...s];
36872
+ let o = a(e) ? [] : a.errors ?? [], s = b$(n.root, e, "", i), c = [...o, ...s];
36860
36873
  return c.length === 0 ? {
36861
36874
  values: e,
36862
36875
  errors: {}
36863
36876
  } : {
36864
36877
  values: {},
36865
- errors: h$(m$(c.filter((t) => !f$(t, n, e))), r.criteriaMode ?? "firstError")
36878
+ errors: _$(g$(c.filter((t) => !m$(t, n, e))), r.criteriaMode ?? "firstError")
36866
36879
  };
36867
36880
  };
36868
36881
  if (!t.basePath) return o;
@@ -36878,12 +36891,12 @@ function d$(e, t = {}) {
36878
36891
  };
36879
36892
  };
36880
36893
  }
36881
- function f$(e, t, n) {
36882
- let { node: r, value: i } = i$(t, (e.instancePath ? e.instancePath.slice(1).split("/").map(lX) : []).join("."), n);
36894
+ function m$(e, t, n) {
36895
+ let { node: r, value: i } = o$(t, (e.instancePath ? e.instancePath.slice(1).split("/").map(dX) : []).join("."), n);
36883
36896
  if (!r) return !1;
36884
36897
  switch (e.keyword) {
36885
36898
  case "const":
36886
- case "enum": return p$(r.schema, i);
36899
+ case "enum": return h$(r.schema, i);
36887
36900
  case "required": {
36888
36901
  let t = e.params.missingProperty;
36889
36902
  return typeof t == "string" && !!r.properties && !r.properties.has(t);
@@ -36891,46 +36904,46 @@ function f$(e, t, n) {
36891
36904
  default: return !1;
36892
36905
  }
36893
36906
  }
36894
- function p$(e, t) {
36907
+ function h$(e, t) {
36895
36908
  return e.const === void 0 ? Array.isArray(e.enum) ? e.enum.includes(t) : !1 : Object.is(e.const, t);
36896
36909
  }
36897
- function m$(e) {
36910
+ function g$(e) {
36898
36911
  return e.filter((t) => {
36899
36912
  if (t.keyword !== "oneOf" && t.keyword !== "anyOf") return !0;
36900
- let n = g$(t), r = n === "" ? "" : `${n}.`;
36913
+ let n = v$(t), r = n === "" ? "" : `${n}.`;
36901
36914
  return !e.some((e) => {
36902
36915
  if (e === t) return !1;
36903
- let i = g$(e);
36916
+ let i = v$(e);
36904
36917
  return n === "" ? i !== "" : i.startsWith(r);
36905
36918
  });
36906
36919
  });
36907
36920
  }
36908
- function h$(e, t) {
36921
+ function _$(e, t) {
36909
36922
  let n = /* @__PURE__ */ new Map();
36910
36923
  for (let t of e) {
36911
- let e = g$(t), r = n.get(e) ?? [];
36924
+ let e = v$(t), r = n.get(e) ?? [];
36912
36925
  r.push(t), n.set(e, r);
36913
36926
  }
36914
36927
  let r = {};
36915
36928
  for (let [e, i] of n) {
36916
36929
  let n = {
36917
36930
  type: i[0].keyword,
36918
- message: n$(i[0], e)
36931
+ message: i$(i[0], e)
36919
36932
  };
36920
36933
  if (t === "all" && i.length > 0) {
36921
36934
  let t = {};
36922
- for (let n of i) t[n.keyword] = n$(n, e);
36935
+ for (let n of i) t[n.keyword] = i$(n, e);
36923
36936
  n.types = t;
36924
36937
  }
36925
- _$(r, e === "" ? "root" : e, n);
36938
+ y$(r, e === "" ? "root" : e, n);
36926
36939
  }
36927
36940
  return r;
36928
36941
  }
36929
- function g$(e) {
36930
- let t = e.instancePath ? e.instancePath.slice(1).split("/").map(lX) : [];
36942
+ function v$(e) {
36943
+ let t = e.instancePath ? e.instancePath.slice(1).split("/").map(dX) : [];
36931
36944
  return e.keyword === "required" && typeof e.params.missingProperty == "string" && t.push(e.params.missingProperty), t.join(".");
36932
36945
  }
36933
- function _$(e, t, n) {
36946
+ function y$(e, t, n) {
36934
36947
  let r = t.split("."), i = e;
36935
36948
  for (let e = 0; e < r.length - 1; e++) {
36936
36949
  let t = r[e];
@@ -36938,7 +36951,7 @@ function _$(e, t, n) {
36938
36951
  }
36939
36952
  i[r[r.length - 1]] = n;
36940
36953
  }
36941
- function v$(e, t, n, r) {
36954
+ function b$(e, t, n, r) {
36942
36955
  if (!e) return [];
36943
36956
  let i = [];
36944
36957
  if (e.schema.gioConfig?.uniqueItemProperties && Array.isArray(t)) for (let r of e.schema.gioConfig.uniqueItemProperties) {
@@ -36955,18 +36968,18 @@ function v$(e, t, n, r) {
36955
36968
  }
36956
36969
  }
36957
36970
  let a = typeof t == "object" && !!t && !Array.isArray(t);
36958
- if (e.properties && a) for (let [a, o] of e.properties) i.push(...v$(o, t[a], `${n}/${cX(a)}`, r));
36971
+ if (e.properties && a) for (let [a, o] of e.properties) i.push(...b$(o, t[a], `${n}/${uX(a)}`, r));
36959
36972
  if (e.variants && e.variants.length > 0 && a) {
36960
- let a = t, o = WX(e.variants.map((e) => e.raw), e.rhfPath, r, (e) => a[e]), s = e.variants[o];
36961
- if (s) for (let [e, t] of s.properties) i.push(...v$(t, a[e], `${n}/${cX(e)}`, r));
36973
+ let a = t, o = KX(e.variants.map((e) => e.raw), e.rhfPath, r, (e) => a[e]), s = e.variants[o];
36974
+ if (s) for (let [e, t] of s.properties) i.push(...b$(t, a[e], `${n}/${uX(e)}`, r));
36962
36975
  }
36963
36976
  return e.items && Array.isArray(t) && t.forEach((t, a) => {
36964
- i.push(...v$(e.items, t, `${n}/${a}`, r));
36977
+ i.push(...b$(e.items, t, `${n}/${a}`, r));
36965
36978
  }), i;
36966
36979
  }
36967
36980
  //#endregion
36968
36981
  //#region src/composed/LayoutSlots/LayoutSlotsContext.tsx
36969
- var y$ = {
36982
+ var x$ = {
36970
36983
  navigation: null,
36971
36984
  contextSidebar: null,
36972
36985
  breadcrumbs: [],
@@ -36974,9 +36987,9 @@ var y$ = {
36974
36987
  viewMode: "global",
36975
36988
  contextExpanded: !0,
36976
36989
  contentVariant: "default"
36977
- }, b$ = M(null);
36978
- function x$({ children: e }) {
36979
- let [t, n] = V(y$), r = F((e, t) => {
36990
+ }, S$ = M(null);
36991
+ function C$({ children: e }) {
36992
+ let [t, n] = V(x$), r = F((e, t) => {
36980
36993
  n((n) => ({
36981
36994
  ...n,
36982
36995
  [e]: t
@@ -36988,7 +37001,7 @@ function x$({ children: e }) {
36988
37001
  }));
36989
37002
  }, []), a = F((e) => {
36990
37003
  n((t) => {
36991
- let n = Object.fromEntries(e.map((e) => [e, y$[e]]));
37004
+ let n = Object.fromEntries(e.map((e) => [e, x$[e]]));
36992
37005
  return {
36993
37006
  ...t,
36994
37007
  ...n
@@ -37005,20 +37018,20 @@ function x$({ children: e }) {
37005
37018
  i,
37006
37019
  a
37007
37020
  ]);
37008
- return /* @__PURE__ */ H(b$.Provider, {
37021
+ return /* @__PURE__ */ H(S$.Provider, {
37009
37022
  value: o,
37010
37023
  children: e
37011
37024
  });
37012
37025
  }
37013
- function S$() {
37014
- let e = I(b$);
37026
+ function w$() {
37027
+ let e = I(S$);
37015
37028
  if (!e) throw Error("useLayoutSlots must be used within a LayoutSlotsProvider.");
37016
37029
  return e;
37017
37030
  }
37018
37031
  //#endregion
37019
37032
  //#region src/composed/LayoutSlots/use-layout-config.ts
37020
- function C$(e, t = []) {
37021
- let { setSlots: n, resetSlots: r } = S$();
37033
+ function T$(e, t = []) {
37034
+ let { setSlots: n, resetSlots: r } = w$();
37022
37035
  R(() => {
37023
37036
  n(e);
37024
37037
  let t = Object.keys(e);
@@ -37033,7 +37046,7 @@ function C$(e, t = []) {
37033
37046
  }
37034
37047
  //#endregion
37035
37048
  //#region src/composed/TopNavUser/TopNavUser.tsx
37036
- var w$ = [
37049
+ var E$ = [
37037
37050
  {
37038
37051
  value: "light",
37039
37052
  label: "Light"
@@ -37047,7 +37060,7 @@ var w$ = [
37047
37060
  label: "System"
37048
37061
  }
37049
37062
  ];
37050
- function T$({ name: e, email: t, avatarUrl: n, initials: r, className: i, onSignOut: a }) {
37063
+ function D$({ name: e, email: t, avatarUrl: n, initials: r, className: i, onSignOut: a }) {
37051
37064
  let o = r ?? e.slice(0, 2).toUpperCase(), { mode: s, setMode: c } = D();
37052
37065
  return /* @__PURE__ */ U(WL, { children: [/* @__PURE__ */ H(KL, {
37053
37066
  asChild: !0,
@@ -37076,7 +37089,7 @@ function T$({ name: e, email: t, avatarUrl: n, initials: r, className: i, onSign
37076
37089
  /* @__PURE__ */ H(ZL, {
37077
37090
  value: s,
37078
37091
  onValueChange: (e) => c(e),
37079
- children: w$.map((e) => /* @__PURE__ */ H(QL, {
37092
+ children: E$.map((e) => /* @__PURE__ */ H(QL, {
37080
37093
  value: e.value,
37081
37094
  children: e.label
37082
37095
  }, e.value))
@@ -37089,6 +37102,6 @@ function T$({ name: e, email: t, avatarUrl: n, initials: r, className: i, onSign
37089
37102
  ]
37090
37103
  })] });
37091
37104
  }
37092
- T$.displayName = "TopNavUser";
37105
+ D$.displayName = "TopNavUser";
37093
37106
  //#endregion
37094
- 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, lG as AppContextBar, yG as AppLayout, CG as AppSidebar, oG 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, aI as Command, oI as CommandDialog, lI as CommandEmpty, uI as CommandGroup, sI as CommandInput, fI as CommandItem, cI as CommandList, dI as CommandSeparator, pI as CommandShortcut, OG as ContentHeader, mI as ContextMenu, wI as ContextMenuCheckboxItem, bI as ContextMenuContent, gI as ContextMenuGroup, xI as ContextMenuItem, EI as ContextMenuLabel, _I as ContextMenuPortal, yI as ContextMenuRadioGroup, TI as ContextMenuRadioItem, DI as ContextMenuSeparator, OI as ContextMenuShortcut, vI as ContextMenuSub, CI as ContextMenuSubContent, SI as ContextMenuSubTrigger, hI as ContextMenuTrigger, TG as ContextSidebar, EG as ContextToggleButton, kG as CopyableText, y$ as DEFAULT_SLOTS, uq as DataTable, dq as DataTableColumnHeader, fq as DataTablePagination, iq as DataTableViewOptions, xJ as DatePicker, SJ as DateRangePicker, TJ as DateTimePicker, OJ as DateTimeRangePicker, YF as Dialog, QF as DialogClose, eI as DialogContent, iI as DialogDescription, nI as DialogFooter, tI as DialogHeader, $F as DialogOverlay, ZF as DialogPortal, rI as DialogTitle, XF as DialogTrigger, PL as Drawer, LL as DrawerClose, zL as DrawerContent, UL as DrawerDescription, VL as DrawerFooter, BL as DrawerHeader, RL as DrawerOverlay, IL as DrawerPortal, HL as DrawerTitle, FL as DrawerTrigger, WL as DropdownMenu, XL as DropdownMenuCheckboxItem, qL as DropdownMenuContent, JL as DropdownMenuGroup, YL as DropdownMenuItem, $L as DropdownMenuLabel, GL as DropdownMenuPortal, ZL as DropdownMenuRadioGroup, QL as DropdownMenuRadioItem, eR as DropdownMenuSeparator, tR as DropdownMenuShortcut, nR as DropdownMenuSub, iR as DropdownMenuSubContent, rR as DropdownMenuSubTrigger, KL as DropdownMenuTrigger, aR as Empty, dR as EmptyContent, uR as EmptyDescription, oR as EmptyHeader, cR as EmptyMedia, lR as EmptyTitle, kJ as FacetedFilter, _R as Field, vR as FieldContent, xR as FieldDescription, CR as FieldError, hR as FieldGroup, yR as FieldLabel, mR as FieldLegend, SR as FieldSeparator, pR as FieldSet, bR as FieldTitle, PJ as FileUpload, _B as FileUploadInput, NJ as FileUploadItem, vB as HoverCard, bB as HoverCardContent, CB as HoverCardDescription, xB as HoverCardHeader, SB as HoverCardTitle, yB as HoverCardTrigger, eM as Input, nM as InputGroup, iM as InputGroupAddon, oM as InputGroupButton, cM as InputGroupInput, sM as InputGroupText, lM as InputGroupTextarea, DB as Item, NB as ItemActions, AB as ItemContent, MB as ItemDescription, FB as ItemFooter, wB as ItemGroup, PB as ItemHeader, kB as ItemMedia, TB as ItemSeparator, jB as ItemTitle, yZ as JsonSchemaForm, IB as Kbd, LB as KbdGroup, fR as Label, x$ as LayoutSlotsProvider, RB as Pagination, zB as PaginationContent, WB as PaginationEllipsis, BB as PaginationItem, VB as PaginationLink, UB as PaginationNext, HB as PaginationPrevious, $X as PasswordInput, GB as Popover, JB as PopoverAnchor, qB as PopoverContent, ZB as PopoverDescription, YB as PopoverHeader, XB as PopoverTitle, KB as PopoverTrigger, en as PortalContainerProvider, QB as Progress, eV as Prose, tV as RadioGroup, nV as RadioGroupItem, QH as ResizableHandle, ZH as ResizablePanel, XH as ResizablePanelGroup, $H as ScrollArea, eU as ScrollBar, tU as Select, aU as SelectContent, nU as SelectGroup, sU as SelectItem, oU as SelectLabel, uU as SelectScrollDownButton, lU as SelectScrollUpButton, cU as SelectSeparator, iU as SelectTrigger, rU as SelectValue, sG as SelectorDropdown, cG as SelectorTriggerButton, gb as Separator, dU as Sheet, pU as SheetClose, gU as SheetContent, bU as SheetDescription, vU as SheetFooter, _U as SheetHeader, yU as SheetTitle, fU as SheetTrigger, BU as Sidebar, JU as SidebarContent, KU as SidebarFooter, YU as SidebarGroup, ZU as SidebarGroupAction, QU as SidebarGroupContent, XU as SidebarGroupLabel, GU as SidebarHeader, WU as SidebarInput, UU as SidebarInset, $U as SidebarMenu, rW as SidebarMenuAction, iW as SidebarMenuBadge, nW as SidebarMenuButton, eW as SidebarMenuItem, aW as SidebarMenuSkeleton, oW as SidebarMenuSub, cW as SidebarMenuSubButton, sW as SidebarMenuSubItem, _G as SidebarModeControl, hG as SidebarModeProvider, wG as SidebarNavigation, zU as SidebarProvider, HU as SidebarRail, qU as SidebarSeparator, VU as SidebarTrigger, xU as Skeleton, BW as Spinner, VW as Switch, HW as Table, WW as TableBody, YW as TableCaption, JW as TableCell, GW as TableFooter, qW as TableHead, UW as TableHeader, KW as TableRow, XW as Tabs, eG as TabsContent, QW as TabsList, $W as TabsTrigger, tM as Textarea, O as ThemeProvider, zW as Toaster, nG as Toggle, iG as ToggleGroup, aG as ToggleGroupItem, CU as Tooltip, TU as TooltipContent, SU as TooltipProvider, wU as TooltipTrigger, T$ as TopNavUser, Jy as alertVariants, ab as badgeVariants, AG as buildLinearBreadcrumbs, _b as buttonGroupVariants, mb as buttonVariants, q as cn, bZ as composeResolvers, pX as extractDefaults, d$ as jsonSchemaResolver, ZW as tabsListVariants, CW as toast, tG as toggleVariants, EM as useComboboxAnchor, C$ as useLayoutConfig, S$ as useLayoutSlots, tn as usePortalContainer, RU as useSidebar, fG as useSidebarMode, D as useTheme };
37107
+ 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, lG as AppContextBar, yG as AppLayout, CG as AppSidebar, oG 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, aI as Command, oI as CommandDialog, lI as CommandEmpty, uI as CommandGroup, sI as CommandInput, fI as CommandItem, cI as CommandList, dI as CommandSeparator, pI as CommandShortcut, OG as ContentHeader, mI as ContextMenu, wI as ContextMenuCheckboxItem, bI as ContextMenuContent, gI as ContextMenuGroup, xI as ContextMenuItem, EI as ContextMenuLabel, _I as ContextMenuPortal, yI as ContextMenuRadioGroup, TI as ContextMenuRadioItem, DI as ContextMenuSeparator, OI as ContextMenuShortcut, vI as ContextMenuSub, CI as ContextMenuSubContent, SI as ContextMenuSubTrigger, hI as ContextMenuTrigger, TG as ContextSidebar, EG as ContextToggleButton, kG as CopyableText, x$ as DEFAULT_SLOTS, uq as DataTable, dq as DataTableColumnHeader, fq as DataTablePagination, iq as DataTableViewOptions, xJ as DatePicker, SJ as DateRangePicker, TJ as DateTimePicker, OJ as DateTimeRangePicker, YF as Dialog, QF as DialogClose, eI as DialogContent, iI as DialogDescription, nI as DialogFooter, tI as DialogHeader, $F as DialogOverlay, ZF as DialogPortal, rI as DialogTitle, XF as DialogTrigger, PL as Drawer, LL as DrawerClose, zL as DrawerContent, UL as DrawerDescription, VL as DrawerFooter, BL as DrawerHeader, RL as DrawerOverlay, IL as DrawerPortal, HL as DrawerTitle, FL as DrawerTrigger, WL as DropdownMenu, XL as DropdownMenuCheckboxItem, qL as DropdownMenuContent, JL as DropdownMenuGroup, YL as DropdownMenuItem, $L as DropdownMenuLabel, GL as DropdownMenuPortal, ZL as DropdownMenuRadioGroup, QL as DropdownMenuRadioItem, eR as DropdownMenuSeparator, tR as DropdownMenuShortcut, nR as DropdownMenuSub, iR as DropdownMenuSubContent, rR as DropdownMenuSubTrigger, KL as DropdownMenuTrigger, aR as Empty, dR as EmptyContent, uR as EmptyDescription, oR as EmptyHeader, cR as EmptyMedia, lR as EmptyTitle, kJ as FacetedFilter, _R as Field, vR as FieldContent, xR as FieldDescription, CR as FieldError, hR as FieldGroup, yR as FieldLabel, mR as FieldLegend, SR as FieldSeparator, pR as FieldSet, bR as FieldTitle, PJ as FileUpload, _B as FileUploadInput, NJ as FileUploadItem, vB as HoverCard, bB as HoverCardContent, CB as HoverCardDescription, xB as HoverCardHeader, SB as HoverCardTitle, yB as HoverCardTrigger, eM as Input, nM as InputGroup, iM as InputGroupAddon, oM as InputGroupButton, cM as InputGroupInput, sM as InputGroupText, lM as InputGroupTextarea, DB as Item, NB as ItemActions, AB as ItemContent, MB as ItemDescription, FB as ItemFooter, wB as ItemGroup, PB as ItemHeader, kB as ItemMedia, TB as ItemSeparator, jB as ItemTitle, xZ as JsonSchemaForm, IB as Kbd, LB as KbdGroup, fR as Label, C$ as LayoutSlotsProvider, RB as Pagination, zB as PaginationContent, WB as PaginationEllipsis, BB as PaginationItem, VB as PaginationLink, UB as PaginationNext, HB as PaginationPrevious, tZ as PasswordInput, GB as Popover, JB as PopoverAnchor, qB as PopoverContent, ZB as PopoverDescription, YB as PopoverHeader, XB as PopoverTitle, KB as PopoverTrigger, en as PortalContainerProvider, QB as Progress, eV as Prose, tV as RadioGroup, nV as RadioGroupItem, QH as ResizableHandle, ZH as ResizablePanel, XH as ResizablePanelGroup, $H as ScrollArea, eU as ScrollBar, tU as Select, aU as SelectContent, nU as SelectGroup, sU as SelectItem, oU as SelectLabel, uU as SelectScrollDownButton, lU as SelectScrollUpButton, cU as SelectSeparator, iU as SelectTrigger, rU as SelectValue, sG as SelectorDropdown, cG as SelectorTriggerButton, gb as Separator, dU as Sheet, pU as SheetClose, gU as SheetContent, bU as SheetDescription, vU as SheetFooter, _U as SheetHeader, yU as SheetTitle, fU as SheetTrigger, BU as Sidebar, JU as SidebarContent, KU as SidebarFooter, YU as SidebarGroup, ZU as SidebarGroupAction, QU as SidebarGroupContent, XU as SidebarGroupLabel, GU as SidebarHeader, WU as SidebarInput, UU as SidebarInset, $U as SidebarMenu, rW as SidebarMenuAction, iW as SidebarMenuBadge, nW as SidebarMenuButton, eW as SidebarMenuItem, aW as SidebarMenuSkeleton, oW as SidebarMenuSub, cW as SidebarMenuSubButton, sW as SidebarMenuSubItem, _G as SidebarModeControl, hG as SidebarModeProvider, wG as SidebarNavigation, zU as SidebarProvider, HU as SidebarRail, qU as SidebarSeparator, VU as SidebarTrigger, xU as Skeleton, BW as Spinner, VW as Switch, HW as Table, WW as TableBody, YW as TableCaption, JW as TableCell, GW as TableFooter, qW as TableHead, UW as TableHeader, KW as TableRow, XW as Tabs, eG as TabsContent, QW as TabsList, $W as TabsTrigger, tM as Textarea, O as ThemeProvider, zW as Toaster, nG as Toggle, iG as ToggleGroup, aG as ToggleGroupItem, CU as Tooltip, TU as TooltipContent, SU as TooltipProvider, wU as TooltipTrigger, D$ as TopNavUser, Jy as alertVariants, ab as badgeVariants, AG as buildLinearBreadcrumbs, _b as buttonGroupVariants, mb as buttonVariants, q as cn, SZ as composeResolvers, hX as extractDefaults, p$ as jsonSchemaResolver, ZW as tabsListVariants, CW as toast, tG as toggleVariants, EM as useComboboxAnchor, T$ as useLayoutConfig, w$ as useLayoutSlots, tn as usePortalContainer, RU as useSidebar, fG as useSidebarMode, D as useTheme };