@socotra/ec-react-components 2.23.0-next.0 → 2.23.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -1,9 +1,9 @@
1
1
  var CK = Object.defineProperty;
2
2
  var AK = (e, t, a) => t in e ? CK(e, t, { enumerable: !0, configurable: !0, writable: !0, value: a }) : e[t] = a;
3
3
  var o3 = (e, t, a) => AK(e, typeof t != "symbol" ? t + "" : t, a);
4
- import { jsx as ae, jsxs as gt, Fragment as _K } from "react/jsx-runtime";
4
+ import { jsx as ae, jsxs as vt, Fragment as _K } from "react/jsx-runtime";
5
5
  import * as re from "react";
6
- import le, { useMemo as ye, Component as qL, useContext as pa, useRef as Qe, useState as Be, useEffect as mt, useReducer as i3, useCallback as ht, forwardRef as ka, createElement as u4, useLayoutEffect as EK, createContext as sa, Fragment as d4, cloneElement as wK, useImperativeHandle as TK } from "react";
6
+ import le, { useMemo as ye, Component as qL, useContext as pa, useRef as Qe, useState as Be, useEffect as ht, useReducer as i3, useCallback as gt, forwardRef as ka, createElement as u4, useLayoutEffect as EK, createContext as sa, Fragment as d4, cloneElement as wK, useImperativeHandle as TK } from "react";
7
7
  import * as DK from "react-dom";
8
8
  import SK, { createPortal as PK, flushSync as IK } from "react-dom";
9
9
  import { useFloating as NK, offset as LK, shift as RK, flip as kK, size as OK, arrow as BK, hide as FK, limitShift as MK, autoUpdate as jK } from "@floating-ui/react-dom";
@@ -801,7 +801,7 @@ function tse(e) {
801
801
  return !0;
802
802
  }
803
803
  var ase = tse;
804
- const vt = /* @__PURE__ */ Ht(ase);
804
+ const pt = /* @__PURE__ */ Ht(ase);
805
805
  function rse(e, t, a, r) {
806
806
  var n = -1, o = e == null ? 0 : e.length;
807
807
  for (r && o && (a = e[++n]); ++n < o; )
@@ -3957,14 +3957,14 @@ xC.default = bk;
3957
3957
  unicode: '"minLength"/"maxLength" account for unicode characters by default.'
3958
3958
  }, D = 200;
3959
3959
  function I(de) {
3960
- var q, J, Y, B, W, Q, he, ie, be, Le, qe, Ee, pt, Lt, ma, Qa, ja, Wa, ee, ga, nt, it, ta, Fr, fr;
3960
+ var q, J, Y, B, W, Q, he, ie, be, Le, qe, Ee, mt, Lt, ma, Qa, ja, Wa, ee, ga, nt, it, ta, Fr, fr;
3961
3961
  const Mr = de.strict, Gt = (q = de.code) === null || q === void 0 ? void 0 : q.optimize, xa = Gt === !0 || Gt === void 0 ? 1 : Gt || 0, jr = (Y = (J = de.code) === null || J === void 0 ? void 0 : J.regExp) !== null && Y !== void 0 ? Y : _, pr = (B = de.uriResolver) !== null && B !== void 0 ? B : x.default;
3962
3962
  return {
3963
3963
  strictSchema: (Q = (W = de.strictSchema) !== null && W !== void 0 ? W : Mr) !== null && Q !== void 0 ? Q : !0,
3964
3964
  strictNumbers: (ie = (he = de.strictNumbers) !== null && he !== void 0 ? he : Mr) !== null && ie !== void 0 ? ie : !0,
3965
3965
  strictTypes: (Le = (be = de.strictTypes) !== null && be !== void 0 ? be : Mr) !== null && Le !== void 0 ? Le : "log",
3966
3966
  strictTuples: (Ee = (qe = de.strictTuples) !== null && qe !== void 0 ? qe : Mr) !== null && Ee !== void 0 ? Ee : "log",
3967
- strictRequired: (Lt = (pt = de.strictRequired) !== null && pt !== void 0 ? pt : Mr) !== null && Lt !== void 0 ? Lt : !1,
3967
+ strictRequired: (Lt = (mt = de.strictRequired) !== null && mt !== void 0 ? mt : Mr) !== null && Lt !== void 0 ? Lt : !1,
3968
3968
  code: de.code ? { ...de.code, optimize: xa, regExp: jr } : { optimize: xa, regExp: jr },
3969
3969
  loopRequired: (ma = de.loopRequired) !== null && ma !== void 0 ? ma : D,
3970
3970
  loopEnum: (Qa = de.loopEnum) !== null && Qa !== void 0 ? Qa : D,
@@ -7022,8 +7022,8 @@ function w4(e, t, a, r) {
7022
7022
  function U(W, Q) {
7023
7023
  Q = te(Q);
7024
7024
  for (var he = -1, ie = Q.length, be = ie - 1, Le = C(Object(W)), qe = Le; qe != null && ++he < ie; ) {
7025
- var Ee = Q[he], pt = qe[Ee];
7026
- pt != null && !(N(pt) || I(pt) || R(pt)) && (qe[Ee] = C(he == be ? pt : Object(pt))), qe = qe[Ee];
7025
+ var Ee = Q[he], mt = qe[Ee];
7026
+ mt != null && !(N(mt) || I(mt) || R(mt)) && (qe[Ee] = C(he == be ? mt : Object(mt))), qe = qe[Ee];
7027
7027
  }
7028
7028
  return Le;
7029
7029
  }
@@ -7033,8 +7033,8 @@ function w4(e, t, a, r) {
7033
7033
  function De(W, Q) {
7034
7034
  var he = lr.aliasToReal[W] || W, ie = lr.remap[he] || he, be = r;
7035
7035
  return function(Le) {
7036
- var qe = n ? b : x, Ee = n ? b[ie] : Q, pt = E(E({}, be), Le);
7037
- return w4(qe, he, Ee, pt);
7036
+ var qe = n ? b : x, Ee = n ? b[ie] : Q, mt = E(E({}, be), Le);
7037
+ return w4(qe, he, Ee, mt);
7038
7038
  };
7039
7039
  }
7040
7040
  function Fe(W, Q) {
@@ -7062,8 +7062,8 @@ function w4(e, t, a, r) {
7062
7062
  function J(W, Q, he) {
7063
7063
  var ie, be = lr.aliasToReal[W] || W, Le = Q, qe = L[be];
7064
7064
  return qe ? Le = qe(Q) : i.immutable && (lr.mutate.array[be] ? Le = O1(Q, WS) : lr.mutate.object[be] ? Le = O1(Q, Zye(Q)) : lr.mutate.set[be] && (Le = O1(Q, U))), w(ne, function(Ee) {
7065
- return w(lr.aryMethod[Ee], function(pt) {
7066
- if (be == pt) {
7065
+ return w(lr.aryMethod[Ee], function(mt) {
7066
+ if (be == mt) {
7067
7067
  var Lt = lr.methodSpread[be], ma = Lt && Lt.afterRearg;
7068
7068
  return ie = ma ? pe(be, xe(be, Le, Ee), Ee) : xe(be, pe(be, Le, Ee), Ee), ie = oe(be, ie), ie = ge(be, ie, Ee), !1;
7069
7069
  }
@@ -7728,7 +7728,7 @@ const h5 = (e, t = {}) => {
7728
7728
  return bA.add(a), a;
7729
7729
  }, A2 = (e) => bA.delete(e), my = (e, t) => {
7730
7730
  let a = e;
7731
- return !vt(e) && !vt(t) && !t.startsWith("[") && (a = e + "."), vt(a) ? t : vt(t) ? a : `${a}${t}`;
7731
+ return !pt(e) && !pt(t) && !t.startsWith("[") && (a = e + "."), pt(a) ? t : pt(t) ? a : `${a}${t}`;
7732
7732
  }, v5 = (e) => {
7733
7733
  const r = e.replace(/(anyOf|allOf|oneOf)\/[\d]+\//g, "").replace(/(then|else)\//g, "").split("/").map(kp), o = r[0] === "#" || r[0] === "" ? 2 : 1;
7734
7734
  return uC(o, r.length, 2).map((i) => r[i]);
@@ -7754,7 +7754,7 @@ const h5 = (e, t = {}) => {
7754
7754
  }, $h = (e, t) => ({
7755
7755
  text: e,
7756
7756
  show: t
7757
- }), ng = (e, t) => vt(t) ? e : t.split(".").reduce((r, n) => {
7757
+ }), ng = (e, t) => pt(t) ? e : t.split(".").reduce((r, n) => {
7758
7758
  if (!(!r || !Object.prototype.hasOwnProperty.call(r, n)))
7759
7759
  return r[n];
7760
7760
  }, e), g4e = (e) => e === "#" || e === void 0 || e === "", un = (e, t, a) => {
@@ -7763,7 +7763,7 @@ const h5 = (e, t = {}) => {
7763
7763
  }, og = (e, t, a) => {
7764
7764
  if (typeof (e == null ? void 0 : e.$ref) == "string" && (e = un(a, e.$ref, a)), !t || t.length === 0)
7765
7765
  return e;
7766
- if (vt(e))
7766
+ if (pt(e))
7767
7767
  return;
7768
7768
  const [r, ...n] = t;
7769
7769
  if (g4e(r))
@@ -7788,7 +7788,7 @@ const b5 = (e, t) => {
7788
7788
  if (!$4e(e))
7789
7789
  return t ?? "";
7790
7790
  const a = v5(e.scope);
7791
- return vt(a) ? t ?? "" : my(t, a.join("."));
7791
+ return pt(a) ? t ?? "" : my(t, a.join("."));
7792
7792
  }, $5 = (e) => typeof e == "object" && e !== null && typeof e.i18n == "string", v4e = (e) => e.type === "Group", y4e = (e) => e.elements !== void 0, b4e = (e) => !!e && typeof e == "object", $4e = (e) => b4e(e) && typeof e.scope == "string", x4e = (e) => !!e && typeof e == "object", C4e = (e) => e.type === "OR", A4e = (e) => e.type === "AND", _4e = (e) => e.type === "LEAF", E4e = (e) => DR(e, "schema"), w4e = (e) => DR(e, "validate") && typeof e.validate == "function", K1 = (e, t) => b5(e, t), D4 = (e, t, a, r, n) => {
7793
7793
  if (A4e(a))
7794
7794
  return a.conditions.reduce((o, i) => o && D4(e, t, i, r, n), !0);
@@ -7836,23 +7836,23 @@ const b5 = (e, t) => {
7836
7836
  const a = e.toISOString();
7837
7837
  return t === "date-time" ? a : t === "date" ? a.split("T")[0] : t === "time" ? a.split("T")[1].split(".")[0] : a;
7838
7838
  }, C5 = (e) => e.replace("#", "root").replace(new RegExp("/", "g"), "_"), Ar = (e, t) => IR(wl(e), t), wl = (e) => {
7839
- if (vt(e))
7839
+ if (pt(e))
7840
7840
  return [];
7841
- if (!vt(e.type) && typeof e.type == "string")
7841
+ if (!pt(e.type) && typeof e.type == "string")
7842
7842
  return [e.type];
7843
7843
  if (QL(e.type))
7844
7844
  return e.type;
7845
- if (!vt(e.properties) || !vt(e.additionalProperties))
7845
+ if (!pt(e.properties) || !pt(e.additionalProperties))
7846
7846
  return ["object"];
7847
- if (!vt(e.items))
7847
+ if (!pt(e.items))
7848
7848
  return ["array"];
7849
- if (!vt(e.enum)) {
7849
+ if (!pt(e.enum)) {
7850
7850
  const t = /* @__PURE__ */ new Set();
7851
7851
  return e.enum.forEach((a) => {
7852
7852
  typeof a == "string" ? t.add("string") : wl(a).forEach((r) => t.add(r));
7853
7853
  }), Array.from(t);
7854
7854
  }
7855
- if (!vt(e.allOf)) {
7855
+ if (!pt(e.allOf)) {
7856
7856
  const t = Ele(e.allOf, (a) => wl(a).length !== 0);
7857
7857
  if (t)
7858
7858
  return wl(t);
@@ -7914,13 +7914,13 @@ const b5 = (e, t) => {
7914
7914
  type: "Control",
7915
7915
  scope: e
7916
7916
  }), j4e = (e, t) => {
7917
- if (!vt(e) && !y4e(e)) {
7917
+ if (!pt(e) && !y4e(e)) {
7918
7918
  const a = A5(t);
7919
7919
  return a.elements.push(e), a;
7920
7920
  }
7921
7921
  return e;
7922
7922
  }, V4e = (e, t) => {
7923
- if (!vt(t)) {
7923
+ if (!pt(t)) {
7924
7924
  const a = _R(t);
7925
7925
  if (v4e(e))
7926
7926
  e.label = a;
@@ -7932,8 +7932,8 @@ const b5 = (e, t) => {
7932
7932
  e.elements.push(r);
7933
7933
  }
7934
7934
  }
7935
- }, G4e = (e) => !vt(e) && (!vt(e.oneOf) || !vt(e.anyOf) || !vt(e.allOf)), S4 = (e, t, a, r, n, o) => {
7936
- if (!vt(e) && e.$ref !== void 0)
7935
+ }, G4e = (e) => !pt(e) && (!pt(e.oneOf) || !pt(e.anyOf) || !pt(e.allOf)), S4 = (e, t, a, r, n, o) => {
7936
+ if (!pt(e) && e.$ref !== void 0)
7937
7937
  return S4(un(o, e.$ref, o), t, a, r, n, o);
7938
7938
  if (G4e(e)) {
7939
7939
  const s = ig(a);
@@ -7948,7 +7948,7 @@ const b5 = (e, t) => {
7948
7948
  }
7949
7949
  if (a === "#" && i[0] === "object") {
7950
7950
  const s = A5(n);
7951
- if (t.push(s), e.properties && mne(e.properties).length > 1 && V4e(s, r), !vt(e.properties)) {
7951
+ if (t.push(s), e.properties && mne(e.properties).length > 1 && V4e(s, r), !pt(e.properties)) {
7952
7952
  const p = a + "/properties";
7953
7953
  Object.keys(e.properties).map((h) => {
7954
7954
  let g = e.properties[h];
@@ -8353,35 +8353,35 @@ const LA = (e, t) => $5(t) ? t.i18n : (e == null ? void 0 : e.i18n) ?? void 0, g
8353
8353
  default:
8354
8354
  return e;
8355
8355
  }
8356
- }, ru = -1, Bi = (e) => !vt(e) && e.scope !== void 0, Yr = (e) => (t, a, r) => {
8357
- if (vt(t) || !Bi(t) || vt(a))
8356
+ }, ru = -1, Bi = (e) => !pt(e) && e.scope !== void 0, Yr = (e) => (t, a, r) => {
8357
+ if (pt(t) || !Bi(t) || pt(a))
8358
8358
  return !1;
8359
8359
  const n = t.scope;
8360
- if (vt(n))
8360
+ if (pt(n))
8361
8361
  return !1;
8362
8362
  let o = a;
8363
8363
  return Ar(a, "object") && (o = un(a, n, r == null ? void 0 : r.rootSchema)), o === void 0 ? !1 : e(o, r == null ? void 0 : r.rootSchema);
8364
8364
  }, gy = (e, t) => (a, r, n) => {
8365
- if (vt(a) || !Bi(a))
8365
+ if (pt(a) || !Bi(a))
8366
8366
  return !1;
8367
8367
  const o = a.scope;
8368
8368
  let i = r;
8369
8369
  return Ar(r, "object") && (i = un(r, o, n == null ? void 0 : n.rootSchema)), i = Ea(i, e), i === void 0 ? !1 : t(i, n == null ? void 0 : n.rootSchema);
8370
- }, ji = (e) => Yr((t) => !vt(t) && Ar(t, e)), vy = (e) => Yr((t) => !vt(t) && t.format === e && Ar(t, "string")), $a = (e) => (t) => !vt(t) && t.type === e, Xi = (e, t) => (a) => {
8371
- if (vt(a))
8370
+ }, ji = (e) => Yr((t) => !pt(t) && Ar(t, e)), vy = (e) => Yr((t) => !pt(t) && t.format === e && Ar(t, "string")), $a = (e) => (t) => !pt(t) && t.type === e, Xi = (e, t) => (a) => {
8371
+ if (pt(a))
8372
8372
  return !1;
8373
8373
  const r = a.options;
8374
- return !vt(r) && r[e] === t;
8374
+ return !pt(r) && r[e] === t;
8375
8375
  }, xxe = (e) => (t) => {
8376
- if (vt(t))
8376
+ if (pt(t))
8377
8377
  return !1;
8378
8378
  const a = t.options;
8379
- return !vt(a) && !f4e(a[e]);
8380
- }, Cxe = (e) => (t) => vt(e) || !Bi(t) ? !1 : O$e(t.scope, e), Axe = (e) => (t) => {
8381
- if (vt(e) || !Bi(t))
8379
+ return !pt(a) && !f4e(a[e]);
8380
+ }, Cxe = (e) => (t) => pt(e) || !Bi(t) ? !1 : O$e(t.scope, e), Axe = (e) => (t) => {
8381
+ if (pt(e) || !Bi(t))
8382
8382
  return !1;
8383
8383
  const a = t.scope;
8384
- return !vt(a) && m$e(a.split("/")) === e;
8384
+ return !pt(a) && m$e(a.split("/")) === e;
8385
8385
  }, va = (...e) => (t, a, r) => e.reduce((n, o) => n && o(t, a, r), !0), Gu = (...e) => (t, a, r) => e.reduce((n, o) => n || o(t, a, r), !1), Kt = (e, t) => (a, r, n) => t(a, r, n) ? e : ru, _xe = (e, t) => (a, r, n) => {
8386
8386
  const o = t(a, r, n);
8387
8387
  return o === ru ? ru : o + e;
@@ -8422,7 +8422,7 @@ const LA = (e, t) => $5(t) ? t.i18n : (e == null ? void 0 : e.i18n) ?? void 0, g
8422
8422
  ), gy("items", (e, t) => {
8423
8423
  const a = e.$ref ? un(t, e.$ref, t) : e, r = wl(a);
8424
8424
  return r.length === 1 && IR(["integer", "number", "boolean", "string"], r[0]);
8425
- })), V5 = va($a("Control"), Gu(ji("number"), ji("integer")), Yr((e) => Object.prototype.hasOwnProperty.call(e, "maximum") && Object.prototype.hasOwnProperty.call(e, "minimum") && Object.prototype.hasOwnProperty.call(e, "default")), Xi("slider", !0)), Sxe = va($a("Control"), ji("integer"), Xi("format", !0)), G5 = (e) => e.type === "Categorization", z5 = (e) => e.type === "Category", GA = (e) => vt(e.elements) ? !1 : e.elements.map((t) => G5(t) ? GA(t) : z5(t)).reduce((t, a) => t && a, !0), Pxe = (e) => GA(e), Ixe = (e) => (t, a, r) => !e(t, a, r);
8425
+ })), V5 = va($a("Control"), Gu(ji("number"), ji("integer")), Yr((e) => Object.prototype.hasOwnProperty.call(e, "maximum") && Object.prototype.hasOwnProperty.call(e, "minimum") && Object.prototype.hasOwnProperty.call(e, "default")), Xi("slider", !0)), Sxe = va($a("Control"), ji("integer"), Xi("format", !0)), G5 = (e) => e.type === "Categorization", z5 = (e) => e.type === "Category", GA = (e) => pt(e.elements) ? !1 : e.elements.map((t) => G5(t) ? GA(t) : z5(t)).reduce((t, a) => t && a, !0), Pxe = (e) => GA(e), Ixe = (e) => (t, a, r) => !e(t, a, r);
8426
8426
  var W5 = /* @__PURE__ */ Object.freeze({
8427
8427
  __proto__: null,
8428
8428
  NOT_APPLICABLE: ru,
@@ -8717,7 +8717,7 @@ const Nxe = (e) => (t, a, r) => {
8717
8717
  const { id: a, schema: r, path: n, uischema: o, renderers: i, cells: s } = t, p = $y(e), h = t.visible !== void 0 ? t.visible : Op(o, p, void 0, zu(e)), g = Bg(e), b = Il(e);
8718
8718
  let x;
8719
8719
  e.jsonforms.readonly === !0 ? x = !1 : typeof t.enabled == "boolean" ? x = t.enabled : x = qA(e, t, o, r || g, p, b);
8720
- const _ = Yo()(e), E = R5()(e), C = N5(q5(n, r)(e), E, _, r, o, n), A = vt(C);
8720
+ const _ = Yo()(e), E = R5()(e), C = N5(q5(n, r)(e), E, _, r, o, n), A = pt(C);
8721
8721
  return {
8722
8722
  data: po.data(p, n),
8723
8723
  visible: h,
@@ -8854,7 +8854,7 @@ const vCe = {
8854
8854
  renderers: []
8855
8855
  }), yCe = (e, t) => {
8856
8856
  const a = Qe(!0);
8857
- mt(() => {
8857
+ ht(() => {
8858
8858
  if (a.current) {
8859
8859
  a.current = !1;
8860
8860
  return;
@@ -8870,7 +8870,7 @@ const vCe = {
8870
8870
  validationMode: p,
8871
8871
  additionalErrors: h
8872
8872
  }), Q1));
8873
- mt(() => x((X) => g.current(X, Ec.updateCore(n, o, i, {
8873
+ ht(() => x((X) => g.current(X, Ec.updateCore(n, o, i, {
8874
8874
  ajv: s,
8875
8875
  validationMode: p,
8876
8876
  additionalErrors: h
@@ -8883,7 +8883,7 @@ const vCe = {
8883
8883
  var X, te, ne;
8884
8884
  return S2(t.i18n, Ec.updateI18n((X = t.i18n) == null ? void 0 : X.locale, (te = t.i18n) == null ? void 0 : te.translate, (ne = t.i18n) == null ? void 0 : ne.translateError));
8885
8885
  });
8886
- mt(() => {
8886
+ ht(() => {
8887
8887
  var X, te, ne;
8888
8888
  A(Ec.updateI18n((X = t.i18n) == null ? void 0 : X.locale, (te = t.i18n) == null ? void 0 : te.translate, (ne = t.i18n) == null ? void 0 : ne.translateError));
8889
8889
  }, [
@@ -8891,7 +8891,7 @@ const vCe = {
8891
8891
  (K = t.i18n) == null ? void 0 : K.translate,
8892
8892
  (H = t.i18n) == null ? void 0 : H.translateError
8893
8893
  ]);
8894
- const w = ht((X) => {
8894
+ const w = gt((X) => {
8895
8895
  x((te) => g.current(te, X, Q1));
8896
8896
  }, []), D = ye(() => ({
8897
8897
  core: b,
@@ -8911,14 +8911,14 @@ const vCe = {
8911
8911
  t.readonly,
8912
8912
  C
8913
8913
  ]), I = Qe(a);
8914
- mt(() => {
8914
+ ht(() => {
8915
8915
  I.current = a;
8916
8916
  }, [a]);
8917
- const N = ht(mCe((...X) => {
8917
+ const N = gt(mCe((...X) => {
8918
8918
  var te;
8919
8919
  return (te = I.current) == null ? void 0 : te.call(I, ...X);
8920
8920
  }, 10), []);
8921
- return mt(() => {
8921
+ return ht(() => {
8922
8922
  N({ data: b.data, errors: b.errors });
8923
8923
  }, [b.data, b.errors]), le.createElement(Q5.Provider, { value: D }, e);
8924
8924
  }, Wu = () => pa(Q5), $Ce = (e, t) => Xxe({ jsonforms: { ...e } }, t), xCe = (e, t) => Qxe({ jsonforms: { ...e } }, t), CCe = (e, t) => Fp({ jsonforms: { ...e } }, t), ACe = (e, t) => {
@@ -9316,9 +9316,9 @@ const cO = /* @__PURE__ */ Ht(xAe), _y = {
9316
9316
  return e;
9317
9317
  }, En = (e) => function(a) {
9318
9318
  const r = Wu(), n = KA(), o = a.uischema, i = r.config, s = i && i.trim, p = ye(() => If(n)("control"), [n]);
9319
- let h = vt(o.scope) ? [""] : p.concat([`${C5(o.scope)}`]);
9319
+ let h = pt(o.scope) ? [""] : p.concat([`${C5(o.scope)}`]);
9320
9320
  s && (h = h.concat(If(n)("control.trim")));
9321
- const g = vt(a.errors), b = ye(() => co(n)("control.label"), [n]), x = ye(() => co(n)("input.description"), [n]), _ = ye(() => co(n)("control.validation"), [n]), E = ye(() => co(n)("control.validation.error"), [n]), C = ["validate"].concat(g ? "valid" : "invalid"), A = ye(() => co(n), [n]), w = ye(() => If(n), [n]), D = h.join(" "), I = C.join(" "), N = ye(() => ({
9321
+ const g = pt(a.errors), b = ye(() => co(n)("control.label"), [n]), x = ye(() => co(n)("input.description"), [n]), _ = ye(() => co(n)("control.validation"), [n]), E = ye(() => co(n)("control.validation.error"), [n]), C = ["validate"].concat(g ? "valid" : "invalid"), A = ye(() => co(n), [n]), w = ye(() => If(n), [n]), D = h.join(" "), I = C.join(" "), N = ye(() => ({
9322
9322
  wrapper: D,
9323
9323
  input: I,
9324
9324
  label: b,
@@ -9433,7 +9433,7 @@ const { convertToValidClassName: RAe } = Ls, kAe = ({ classNames: e, data: t, la
9433
9433
  };
9434
9434
  var BAe = En(Cy(ai(Ay(OAe))));
9435
9435
  const FAe = Kt(4, VA), fO = (e) => e.type === "Categorization", MAe = Kt(1, va($a("Categorization"), (e) => {
9436
- const t = (a) => vt(a.elements) ? !1 : a.elements.map((r) => fO(r) ? t(r) : r.type === "Category").reduce((r, n) => r && n, !0);
9436
+ const t = (a) => pt(a.elements) ? !1 : a.elements.map((r) => fO(r) ? t(r) : r.type === "Category").reduce((r, n) => r && n, !0);
9437
9437
  return t(e);
9438
9438
  })), jAe = (e, t) => t === e ? "selected" : "", pO = ({ selectedCategory: e, elements: t, data: a, depth: r, onSelect: n, subcategoriesClassName: o, groupClassName: i, t: s, ajv: p }) => {
9439
9439
  const h = ye(() => t.filter((b) => Op(b, a, void 0, p)), [t, a, p]), g = ye(() => h.map((b) => L5(b, s)), [h, s]);
@@ -9627,7 +9627,7 @@ const R_e = (e) => {
9627
9627
  }, O_e = Kt(2, M5);
9628
9628
  var B_e = Sr(Jr(k_e));
9629
9629
  const e_ = (e, t, a, r, n) => {
9630
- if (vt(e.elements))
9630
+ if (pt(e.elements))
9631
9631
  return [];
9632
9632
  const { renderers: o, cells: i } = Wu();
9633
9633
  return e.elements.map((s, p) => le.createElement(
@@ -9643,7 +9643,7 @@ const e_ = (e, t, a, r, n) => {
9643
9643
  return le.createElement(
9644
9644
  "fieldset",
9645
9645
  { className: b, hidden: o == null ? !1 : !o },
9646
- vt(i) ? "" : le.createElement("legend", { className: p("group.label") }, i),
9646
+ pt(i) ? "" : le.createElement("legend", { className: p("group.label") }, i),
9647
9647
  e_(h, t, x, r, n)
9648
9648
  );
9649
9649
  });
@@ -25531,9 +25531,9 @@ const Ra = /* @__PURE__ */ Kn(B9), F9 = (e) => {
25531
25531
  }).map(([X, te]) => {
25532
25532
  var ne, L, oe, ge, pe, xe, U, $e, De, Fe, de, q, J, Y, B, W, Q, he;
25533
25533
  let ie = !1, be = !1, Le = !1, qe = !1;
25534
- const Ee = te.displayName ?? X, pt = (ne = te.type) == null ? void 0 : ne.slice(-1), Lt = te.maxLength, ma = te.minLength, Qa = te.max, ja = te.min, Wa = te.constraint, ee = te.regex, ga = te.precision, nt = te.tag ?? [];
25534
+ const Ee = te.displayName ?? X, mt = (ne = te.type) == null ? void 0 : ne.slice(-1), Lt = te.maxLength, ma = te.minLength, Qa = te.max, ja = te.min, Wa = te.constraint, ee = te.regex, ga = te.precision, nt = te.tag ?? [];
25535
25535
  let it = te.type ?? "", ta, Fr = !1;
25536
- switch (pt) {
25536
+ switch (mt) {
25537
25537
  case "*":
25538
25538
  be = !0, ie = !0, it = it == null ? void 0 : it.split("*")[0];
25539
25539
  break;
@@ -40536,14 +40536,14 @@ var hx = { exports: {} };
40536
40536
  qe(B, N.items), D.assign(ie, a.str`items`);
40537
40537
  }, () => {
40538
40538
  qe(Y, N.properties), D.assign(ie, a.str`properties`);
40539
- }), be = a._`[${ie}]`) : B ? (D.if(Q), qe(B, N.items), be = a._`.items`) : Y && (D.if(r.and(W, r.not(Q))), qe(Y, N.properties), be = a._`.properties`), D.forOf("err", s.default.vErrors, (Ee) => $e(Ee, he, (pt) => D.code(a._`${he}[${pt}].push(${Ee})`).assign(a._`${Ee}.${h}`, !0))), D.forIn("key", he, (Ee) => D.if(a._`${he}[${Ee}].length`, () => {
40539
+ }), be = a._`[${ie}]`) : B ? (D.if(Q), qe(B, N.items), be = a._`.items`) : Y && (D.if(r.and(W, r.not(Q))), qe(Y, N.properties), be = a._`.properties`), D.forOf("err", s.default.vErrors, (Ee) => $e(Ee, he, (mt) => D.code(a._`${he}[${mt}].push(${Ee})`).assign(a._`${Ee}.${h}`, !0))), D.forIn("key", he, (Ee) => D.if(a._`${he}[${Ee}].length`, () => {
40540
40540
  i.reportError(w, {
40541
40541
  message: a._`${Ee} in ${Le} ? ${Le}[${Ee}]() : ${R}${be}[${Ee}]`,
40542
40542
  params: a._`{errors: ${he}[${Ee}]}`
40543
40543
  }), D.assign(a._`${s.default.vErrors}[${s.default.errors}-1].instancePath`, a._`${X} + "/" + ${Ee}.replace(/~/g, "~0").replace(/\\//g, "~1")`);
40544
40544
  })), D.endIf();
40545
- function qe(Ee, pt) {
40546
- D.assign(he, a.stringify(Ee)), D.assign(Le, Fe(Ee, pt));
40545
+ function qe(Ee, mt) {
40546
+ D.assign(he, a.stringify(Ee)), D.assign(Le, Fe(Ee, mt));
40547
40547
  }
40548
40548
  }
40549
40549
  function pe(J) {
@@ -43810,7 +43810,7 @@ var DE = "Radio", [VHe, RM] = al(DE), [GHe, zHe] = VHe(DE), kM = re.forwardRef(
43810
43810
  form: h,
43811
43811
  ...g
43812
43812
  } = e, [b, x] = re.useState(null), _ = Br(t, (A) => x(A)), E = re.useRef(!1), C = b ? h || !!b.closest("form") : !0;
43813
- return /* @__PURE__ */ gt(GHe, { scope: a, checked: n, disabled: i, children: [
43813
+ return /* @__PURE__ */ vt(GHe, { scope: a, checked: n, disabled: i, children: [
43814
43814
  /* @__PURE__ */ ae(
43815
43815
  Ka.button,
43816
43816
  {
@@ -44210,15 +44210,15 @@ const oXe = (e) => {
44210
44210
  disabled: !o,
44211
44211
  id: n,
44212
44212
  autoFocus: i.options && i.options.focus,
44213
- children: a.boolean ? a.boolean.map(({ value: h, label: g }) => /* @__PURE__ */ gt("div", { className: "flex items-center space-x-2", children: [
44213
+ children: a.boolean ? a.boolean.map(({ value: h, label: g }) => /* @__PURE__ */ vt("div", { className: "flex items-center space-x-2", children: [
44214
44214
  /* @__PURE__ */ ae(Lf, { value: h }),
44215
44215
  /* @__PURE__ */ ae(Nf, { htmlFor: "option-one", children: g })
44216
- ] }, h)) : /* @__PURE__ */ gt(_K, { children: [
44217
- /* @__PURE__ */ gt("div", { className: "flex items-center space-x-2", children: [
44216
+ ] }, h)) : /* @__PURE__ */ vt(_K, { children: [
44217
+ /* @__PURE__ */ vt("div", { className: "flex items-center space-x-2", children: [
44218
44218
  /* @__PURE__ */ ae(Lf, { value: "true" }),
44219
44219
  /* @__PURE__ */ ae(Nf, { htmlFor: "option-one", children: "True" })
44220
44220
  ] }),
44221
- /* @__PURE__ */ gt("div", { className: "flex items-center space-x-2", children: [
44221
+ /* @__PURE__ */ vt("div", { className: "flex items-center space-x-2", children: [
44222
44222
  /* @__PURE__ */ ae(Lf, { value: "false" }),
44223
44223
  /* @__PURE__ */ ae(Nf, { htmlFor: "option-one", children: "False" })
44224
44224
  ] })
@@ -44340,14 +44340,14 @@ function ci(e, t) {
44340
44340
  }
44341
44341
  var pXe = ["defaultInputValue", "defaultMenuIsOpen", "defaultValue", "inputValue", "menuIsOpen", "onChange", "onInputChange", "onMenuClose", "onMenuOpen", "value"];
44342
44342
  function QM(e) {
44343
- var t = e.defaultInputValue, a = t === void 0 ? "" : t, r = e.defaultMenuIsOpen, n = r === void 0 ? !1 : r, o = e.defaultValue, i = o === void 0 ? null : o, s = e.inputValue, p = e.menuIsOpen, h = e.onChange, g = e.onInputChange, b = e.onMenuClose, x = e.onMenuOpen, _ = e.value, E = ci(e, pXe), C = Be(s !== void 0 ? s : a), A = gr(C, 2), w = A[0], D = A[1], I = Be(p !== void 0 ? p : n), N = gr(I, 2), R = N[0], K = N[1], H = Be(_ !== void 0 ? _ : i), X = gr(H, 2), te = X[0], ne = X[1], L = ht(function(De, Fe) {
44343
+ var t = e.defaultInputValue, a = t === void 0 ? "" : t, r = e.defaultMenuIsOpen, n = r === void 0 ? !1 : r, o = e.defaultValue, i = o === void 0 ? null : o, s = e.inputValue, p = e.menuIsOpen, h = e.onChange, g = e.onInputChange, b = e.onMenuClose, x = e.onMenuOpen, _ = e.value, E = ci(e, pXe), C = Be(s !== void 0 ? s : a), A = gr(C, 2), w = A[0], D = A[1], I = Be(p !== void 0 ? p : n), N = gr(I, 2), R = N[0], K = N[1], H = Be(_ !== void 0 ? _ : i), X = gr(H, 2), te = X[0], ne = X[1], L = gt(function(De, Fe) {
44344
44344
  typeof h == "function" && h(De, Fe), ne(De);
44345
- }, [h]), oe = ht(function(De, Fe) {
44345
+ }, [h]), oe = gt(function(De, Fe) {
44346
44346
  var de;
44347
44347
  typeof g == "function" && (de = g(De, Fe)), D(de !== void 0 ? de : De);
44348
- }, [g]), ge = ht(function() {
44348
+ }, [g]), ge = gt(function() {
44349
44349
  typeof x == "function" && x(), K(!0);
44350
- }, [x]), pe = ht(function() {
44350
+ }, [x]), pe = gt(function() {
44351
44351
  typeof b == "function" && b(), K(!1);
44352
44352
  }, [b]), xe = s !== void 0 ? s : w, U = p !== void 0 ? p : R, $e = _ !== void 0 ? _ : te;
44353
44353
  return ot(ot({}, E), {}, {
@@ -45099,8 +45099,8 @@ function eYe() {
45099
45099
  }
45100
45100
  function N(Ee) {
45101
45101
  if (typeof Ee == "object" && Ee !== null) {
45102
- var pt = Ee.$$typeof;
45103
- switch (pt) {
45102
+ var mt = Ee.$$typeof;
45103
+ switch (mt) {
45104
45104
  case t:
45105
45105
  var Lt = Ee.type;
45106
45106
  switch (Lt) {
@@ -45121,11 +45121,11 @@ function eYe() {
45121
45121
  case i:
45122
45122
  return ma;
45123
45123
  default:
45124
- return pt;
45124
+ return mt;
45125
45125
  }
45126
45126
  }
45127
45127
  case a:
45128
- return pt;
45128
+ return mt;
45129
45129
  }
45130
45130
  }
45131
45131
  }
@@ -46040,7 +46040,7 @@ var A7 = function(t) {
46040
46040
  return {
46041
46041
  setPortalPlacement: _
46042
46042
  };
46043
- }, []), C = Be(null), A = gr(C, 2), w = A[0], D = A[1], I = ht(function() {
46043
+ }, []), C = Be(null), A = gr(C, 2), w = A[0], D = A[1], I = gt(function() {
46044
46044
  if (n) {
46045
46045
  var H = ZYe(n), X = s === "fixed" ? 0 : window.pageYOffset, te = H[x] + X;
46046
46046
  (te !== (w == null ? void 0 : w.offset) || H.left !== (w == null ? void 0 : w.rect.left) || H.width !== (w == null ? void 0 : w.rect.width)) && D({
@@ -46052,7 +46052,7 @@ var A7 = function(t) {
46052
46052
  wx(function() {
46053
46053
  I();
46054
46054
  }, [I]);
46055
- var N = ht(function() {
46055
+ var N = gt(function() {
46056
46056
  typeof h.current == "function" && (h.current(), h.current = null), n && p.current && (h.current = BYe(n, p.current, I, {
46057
46057
  elementResize: "ResizeObserver" in window
46058
46058
  }));
@@ -46060,7 +46060,7 @@ var A7 = function(t) {
46060
46060
  wx(function() {
46061
46061
  N();
46062
46062
  }, [N]);
46063
- var R = ht(function(H) {
46063
+ var R = gt(function(H) {
46064
46064
  p.current = H, N();
46065
46065
  }, [N]);
46066
46066
  if (!a && s !== "fixed" || !w) return null;
@@ -47030,29 +47030,29 @@ var TKe = function(t) {
47030
47030
  t.cancelable && t.preventDefault(), t.stopPropagation();
47031
47031
  };
47032
47032
  function DKe(e) {
47033
- var t = e.isEnabled, a = e.onBottomArrive, r = e.onBottomLeave, n = e.onTopArrive, o = e.onTopLeave, i = Qe(!1), s = Qe(!1), p = Qe(0), h = Qe(null), g = ht(function(A, w) {
47033
+ var t = e.isEnabled, a = e.onBottomArrive, r = e.onBottomLeave, n = e.onTopArrive, o = e.onTopLeave, i = Qe(!1), s = Qe(!1), p = Qe(0), h = Qe(null), g = gt(function(A, w) {
47034
47034
  if (h.current !== null) {
47035
47035
  var D = h.current, I = D.scrollTop, N = D.scrollHeight, R = D.clientHeight, K = h.current, H = w > 0, X = N - R - I, te = !1;
47036
47036
  X > w && i.current && (r && r(A), i.current = !1), H && s.current && (o && o(A), s.current = !1), H && w > X ? (a && !i.current && a(A), K.scrollTop = N, te = !0, i.current = !0) : !H && -w > I && (n && !s.current && n(A), K.scrollTop = 0, te = !0, s.current = !0), te && TKe(A);
47037
47037
  }
47038
- }, [a, r, n, o]), b = ht(function(A) {
47038
+ }, [a, r, n, o]), b = gt(function(A) {
47039
47039
  g(A, A.deltaY);
47040
- }, [g]), x = ht(function(A) {
47040
+ }, [g]), x = gt(function(A) {
47041
47041
  p.current = A.changedTouches[0].clientY;
47042
- }, []), _ = ht(function(A) {
47042
+ }, []), _ = gt(function(A) {
47043
47043
  var w = p.current - A.changedTouches[0].clientY;
47044
47044
  g(A, w);
47045
- }, [g]), E = ht(function(A) {
47045
+ }, [g]), E = gt(function(A) {
47046
47046
  if (A) {
47047
47047
  var w = HYe ? {
47048
47048
  passive: !1
47049
47049
  } : !1;
47050
47050
  A.addEventListener("wheel", b, w), A.addEventListener("touchstart", x, w), A.addEventListener("touchmove", _, w);
47051
47051
  }
47052
- }, [_, x, b]), C = ht(function(A) {
47052
+ }, [_, x, b]), C = gt(function(A) {
47053
47053
  A && (A.removeEventListener("wheel", b, !1), A.removeEventListener("touchstart", x, !1), A.removeEventListener("touchmove", _, !1));
47054
47054
  }, [_, x, b]);
47055
- return mt(function() {
47055
+ return ht(function() {
47056
47056
  if (t) {
47057
47057
  var A = h.current;
47058
47058
  return E(A), function() {
@@ -47088,7 +47088,7 @@ var wN = !!(typeof window < "u" && window.document && window.document.createElem
47088
47088
  passive: !1
47089
47089
  };
47090
47090
  function SKe(e) {
47091
- var t = e.isEnabled, a = e.accountForScrollbars, r = a === void 0 ? !0 : a, n = Qe({}), o = Qe(null), i = ht(function(p) {
47091
+ var t = e.isEnabled, a = e.accountForScrollbars, r = a === void 0 ? !0 : a, n = Qe({}), o = Qe(null), i = gt(function(p) {
47092
47092
  if (wN) {
47093
47093
  var h = document.body, g = h && h.style;
47094
47094
  if (r && $N.forEach(function(E) {
@@ -47103,7 +47103,7 @@ function SKe(e) {
47103
47103
  }
47104
47104
  h && EN() && (h.addEventListener("touchmove", CN, wc), p && (p.addEventListener("touchstart", _N, wc), p.addEventListener("touchmove", AN, wc))), df += 1;
47105
47105
  }
47106
- }, [r]), s = ht(function(p) {
47106
+ }, [r]), s = gt(function(p) {
47107
47107
  if (wN) {
47108
47108
  var h = document.body, g = h && h.style;
47109
47109
  df = Math.max(df - 1, 0), r && df < 1 && $N.forEach(function(b) {
@@ -47112,7 +47112,7 @@ function SKe(e) {
47112
47112
  }), h && EN() && (h.removeEventListener("touchmove", CN, wc), p && (p.removeEventListener("touchstart", _N, wc), p.removeEventListener("touchmove", AN, wc)));
47113
47113
  }
47114
47114
  }, [r]);
47115
- return mt(function() {
47115
+ return ht(function() {
47116
47116
  if (t) {
47117
47117
  var p = o.current;
47118
47118
  return i(p), function() {
@@ -48101,11 +48101,11 @@ var j7 = function(t) {
48101
48101
  var U = function(Y, B) {
48102
48102
  var W = Y.type, Q = Y.data, he = Y.isDisabled, ie = Y.isSelected, be = Y.label, Le = Y.value, qe = C === Q, Ee = he ? void 0 : function() {
48103
48103
  return n.onOptionHover(Q);
48104
- }, pt = he ? void 0 : function() {
48104
+ }, mt = he ? void 0 : function() {
48105
48105
  return n.selectOption(Q);
48106
48106
  }, Lt = "".concat(n.getElementId("option"), "-").concat(B), ma = {
48107
48107
  id: Lt,
48108
- onClick: pt,
48108
+ onClick: mt,
48109
48109
  onMouseMove: Ee,
48110
48110
  onMouseOver: Ee,
48111
48111
  tabIndex: -1,
@@ -48361,7 +48361,7 @@ function iQe({ className: e, variant: t, ...a }) {
48361
48361
  );
48362
48362
  }
48363
48363
  function V7(e) {
48364
- return /* @__PURE__ */ gt(as.DropdownIndicator, { ...e, children: [
48364
+ return /* @__PURE__ */ vt(as.DropdownIndicator, { ...e, children: [
48365
48365
  /* @__PURE__ */ ae(
48366
48366
  SE,
48367
48367
  {
@@ -48373,7 +48373,7 @@ function V7(e) {
48373
48373
  ] });
48374
48374
  }
48375
48375
  function G7(e) {
48376
- return /* @__PURE__ */ gt(as.ClearIndicator, { ...e, children: [
48376
+ return /* @__PURE__ */ vt(as.ClearIndicator, { ...e, children: [
48377
48377
  /* @__PURE__ */ ae(YM, { className: "size-4 opacity-50", "aria-label": "clear dropdown" }),
48378
48378
  /* @__PURE__ */ ae("span", { className: "sr-only", children: "clear dropdown" })
48379
48379
  ] });
@@ -48386,7 +48386,7 @@ function z7(e) {
48386
48386
  "aria-label": t()
48387
48387
  }
48388
48388
  };
48389
- return /* @__PURE__ */ gt(as.MultiValueRemove, { ...a, children: [
48389
+ return /* @__PURE__ */ vt(as.MultiValueRemove, { ...a, children: [
48390
48390
  /* @__PURE__ */ ae(YM, { className: "ml-2 size-4 text-black dark:text-white" }),
48391
48391
  /* @__PURE__ */ ae("span", { className: "sr-only", children: t() })
48392
48392
  ] });
@@ -48455,7 +48455,7 @@ const sQe = (e) => {
48455
48455
  const { data: t, className: a, id: r, enabled: n, path: o, handleChange: i, options: s } = e, p = Qe(null), [h, g] = Be(
48456
48456
  (s == null ? void 0 : s.find((b) => b.value === t)) || null
48457
48457
  );
48458
- return mt(() => {
48458
+ return ht(() => {
48459
48459
  const b = s == null ? void 0 : s.find((x) => x.value === t);
48460
48460
  g(b || null);
48461
48461
  }, [s, o, i, t]), /* @__PURE__ */ ae(
@@ -48502,7 +48502,7 @@ function vr(e) {
48502
48502
  t.current = e;
48503
48503
  }, [
48504
48504
  e
48505
- ]), ht((...a) => {
48505
+ ]), gt((...a) => {
48506
48506
  const r = t.current;
48507
48507
  return r == null ? void 0 : r(...a);
48508
48508
  }, []);
@@ -48592,7 +48592,7 @@ function bn(e) {
48592
48592
  };
48593
48593
  }, [
48594
48594
  n
48595
- ]), mt(() => {
48595
+ ]), ht(() => {
48596
48596
  let i = r.current;
48597
48597
  return i && a(i), () => {
48598
48598
  i && (r.current = null);
@@ -48608,7 +48608,7 @@ function xQe(e, t) {
48608
48608
  return r ? (r.forEach((n) => n.current = e), e) : t;
48609
48609
  }
48610
48610
  function Pv(e = []) {
48611
- let t = bn(), [a, r] = uQe(t), n = ht(() => {
48611
+ let t = bn(), [a, r] = uQe(t), n = gt(() => {
48612
48612
  r(function* () {
48613
48613
  yield t, yield document.getElementById(t) ? t : void 0;
48614
48614
  });
@@ -48971,7 +48971,7 @@ function Q7(e) {
48971
48971
  });
48972
48972
  }
48973
48973
  function Db() {
48974
- let e = Qe(/* @__PURE__ */ new Map()), t = ht((n, o, i, s) => {
48974
+ let e = Qe(/* @__PURE__ */ new Map()), t = gt((n, o, i, s) => {
48975
48975
  let p = s != null && s.once ? (...h) => {
48976
48976
  e.current.delete(i), i(...h);
48977
48977
  } : i;
@@ -48981,18 +48981,18 @@ function Db() {
48981
48981
  fn: p,
48982
48982
  options: s
48983
48983
  }), n.addEventListener(o, p, s);
48984
- }, []), a = ht((n, o, i, s) => {
48984
+ }, []), a = gt((n, o, i, s) => {
48985
48985
  var p;
48986
48986
  let h = ((p = e.current.get(i)) === null || p === void 0 ? void 0 : p.fn) || i;
48987
48987
  n.removeEventListener(o, h, s), e.current.delete(i);
48988
- }, []), r = ht(() => {
48988
+ }, []), r = gt(() => {
48989
48989
  e.current.forEach((n, o) => {
48990
48990
  a(n.eventTarget, n.type, o, n.options);
48991
48991
  });
48992
48992
  }, [
48993
48993
  a
48994
48994
  ]);
48995
- return mt(() => r, [
48995
+ return ht(() => r, [
48996
48996
  r
48997
48997
  ]), {
48998
48998
  addGlobalListener: t,
@@ -49014,7 +49014,7 @@ function Sb(e, t) {
49014
49014
  };
49015
49015
  }
49016
49016
  function ej(e) {
49017
- const t = Qe(null), a = Qe(void 0), r = ht((n) => {
49017
+ const t = Qe(null), a = Qe(void 0), r = gt((n) => {
49018
49018
  if (typeof e == "function") {
49019
49019
  const o = e, i = o(n);
49020
49020
  return () => {
@@ -49040,9 +49040,9 @@ function ej(e) {
49040
49040
  }
49041
49041
  function LN(e, t) {
49042
49042
  const a = Qe(!0), r = Qe(null);
49043
- mt(() => (a.current = !0, () => {
49043
+ ht(() => (a.current = !0, () => {
49044
49044
  a.current = !1;
49045
- }), []), mt(() => {
49045
+ }), []), ht(() => {
49046
49046
  let n = r.current;
49047
49047
  a.current ? a.current = !1 : (!n || t.some((o, i) => !Object.is(o, n[i]))) && e(), r.current = t;
49048
49048
  }, t);
@@ -49052,7 +49052,7 @@ function MQe() {
49052
49052
  }
49053
49053
  function jQe(e) {
49054
49054
  const { ref: t, box: a, onResize: r } = e;
49055
- mt(() => {
49055
+ ht(() => {
49056
49056
  let n = t == null ? void 0 : t.current;
49057
49057
  if (n)
49058
49058
  if (MQe()) {
@@ -49127,7 +49127,7 @@ function UE(e) {
49127
49127
  }
49128
49128
  function gg(e, t, a, r) {
49129
49129
  let n = vr(a), o = a == null;
49130
- mt(() => {
49130
+ ht(() => {
49131
49131
  if (o || !e.current) return;
49132
49132
  let i = e.current;
49133
49133
  return i.addEventListener(t, n, r), () => {
@@ -49196,7 +49196,7 @@ function HE(e, t, a) {
49196
49196
  let r = Qe(t), n = vr(() => {
49197
49197
  a && a(r.current);
49198
49198
  });
49199
- mt(() => {
49199
+ ht(() => {
49200
49200
  var o;
49201
49201
  let i = e == null || (o = e.current) === null || o === void 0 ? void 0 : o.form;
49202
49202
  return i == null || i.addEventListener("reset", n), () => {
@@ -49232,13 +49232,13 @@ function UQe(e) {
49232
49232
  }
49233
49233
  function Hl(e, t, a) {
49234
49234
  let [r, n] = Be(e || t), o = Qe(e !== void 0), i = e !== void 0;
49235
- mt(() => {
49235
+ ht(() => {
49236
49236
  let h = o.current;
49237
49237
  h !== i && process.env.NODE_ENV !== "production" && console.warn(`WARN: A component changed from ${h ? "controlled" : "uncontrolled"} to ${i ? "controlled" : "uncontrolled"}.`), o.current = i;
49238
49238
  }, [
49239
49239
  i
49240
49240
  ]);
49241
- let s = i ? e : r, p = ht((h, ...g) => {
49241
+ let s = i ? e : r, p = gt((h, ...g) => {
49242
49242
  let b = (x, ..._) => {
49243
49243
  a && (Object.is(s, x) || a(x, ..._)), i || (s = x);
49244
49244
  };
@@ -49355,7 +49355,7 @@ function os(e, t, a) {
49355
49355
  ];
49356
49356
  }
49357
49357
  function ij(e = !0) {
49358
- let [t, a] = Be(e), r = Qe(!1), n = ht((o) => {
49358
+ let [t, a] = Be(e), r = Qe(!1), n = gt((o) => {
49359
49359
  r.current = !0, a(!!o);
49360
49360
  }, []);
49361
49361
  return Eo(() => {
@@ -49412,7 +49412,7 @@ function uj(e) {
49412
49412
  let a = vr((r) => {
49413
49413
  e == null || e(r);
49414
49414
  });
49415
- return ht((r) => {
49415
+ return gt((r) => {
49416
49416
  if (r.target instanceof HTMLButtonElement || r.target instanceof HTMLInputElement || r.target instanceof HTMLTextAreaElement || r.target instanceof HTMLSelectElement) {
49417
49417
  t.current.isFocused = !0;
49418
49418
  let n = r.target, o = (i) => {
@@ -49794,7 +49794,7 @@ function JE(e) {
49794
49794
  X,
49795
49795
  te
49796
49796
  ]);
49797
- return mt(() => {
49797
+ return ht(() => {
49798
49798
  if (!x || process.env.NODE_ENV === "test") return;
49799
49799
  const L = ur(x.current);
49800
49800
  if (!L || !L.head || L.getElementById(MN)) return;
@@ -49808,7 +49808,7 @@ function JE(e) {
49808
49808
  `.trim(), L.head.prepend(oe);
49809
49809
  }, [
49810
49810
  x
49811
- ]), mt(() => {
49811
+ ]), ht(() => {
49812
49812
  let L = A.current;
49813
49813
  return () => {
49814
49814
  var oe;
@@ -49983,7 +49983,7 @@ function det(e, t, a) {
49983
49983
  return e = e || r.activeElement instanceof n && !uet.has(r.activeElement.type) || r.activeElement instanceof o || r.activeElement instanceof i && r.activeElement.isContentEditable, !(e && t === "keyboard" && a instanceof s && !oet[a.key]);
49984
49984
  }
49985
49985
  function fet(e, t, a) {
49986
- kx(), mt(() => {
49986
+ kx(), ht(() => {
49987
49987
  let r = (n, o) => {
49988
49988
  det(!!(a != null && a.isTextInput), n, o) && e(yj());
49989
49989
  };
@@ -50003,13 +50003,13 @@ function Lv(e) {
50003
50003
  }
50004
50004
  function QE(e) {
50005
50005
  let { isDisabled: t, onFocus: a, onBlur: r, onFocusChange: n } = e;
50006
- const o = ht((p) => {
50006
+ const o = gt((p) => {
50007
50007
  if (p.target === p.currentTarget)
50008
50008
  return r && r(p), n && n(!1), !0;
50009
50009
  }, [
50010
50010
  r,
50011
50011
  n
50012
- ]), i = uj(o), s = ht((p) => {
50012
+ ]), i = uj(o), s = gt((p) => {
50013
50013
  const h = ur(p.target), g = h ? Zl(h) : Zl();
50014
50014
  p.target === p.currentTarget && g === Sa(p.nativeEvent) && (a && a(p), n && n(!0), i(p));
50015
50015
  }, [
@@ -50066,7 +50066,7 @@ function het(e) {
50066
50066
  }
50067
50067
  function $j(e, t) {
50068
50068
  let { focusProps: a } = QE(e), { keyboardProps: r } = pet(e), n = ba(a, r), o = het(t), i = e.isDisabled ? {} : o, s = Qe(e.autoFocus);
50069
- mt(() => {
50069
+ ht(() => {
50070
50070
  s.current && t.current && Lv(t.current), s.current = !1;
50071
50071
  }, [
50072
50072
  t
@@ -50082,14 +50082,14 @@ function $j(e, t) {
50082
50082
  function hm(e) {
50083
50083
  let { isDisabled: t, onBlurWithin: a, onFocusWithin: r, onFocusWithinChange: n } = e, o = Qe({
50084
50084
  isFocusWithin: !1
50085
- }), { addGlobalListener: i, removeAllGlobalListeners: s } = Db(), p = ht((b) => {
50085
+ }), { addGlobalListener: i, removeAllGlobalListeners: s } = Db(), p = gt((b) => {
50086
50086
  b.currentTarget.contains(b.target) && o.current.isFocusWithin && !b.currentTarget.contains(b.relatedTarget) && (o.current.isFocusWithin = !1, s(), a && a(b), n && n(!1));
50087
50087
  }, [
50088
50088
  a,
50089
50089
  n,
50090
50090
  o,
50091
50091
  s
50092
- ]), h = uj(p), g = ht((b) => {
50092
+ ]), h = uj(p), g = gt((b) => {
50093
50093
  if (!b.currentTarget.contains(b.target)) return;
50094
50094
  const x = ur(b.target), _ = Zl(x);
50095
50095
  if (!o.current.isFocusWithin && _ === Sa(b.nativeEvent)) {
@@ -50150,7 +50150,7 @@ function gm(e) {
50150
50150
  pointerType: "",
50151
50151
  target: null
50152
50152
  }).current;
50153
- mt(get, []);
50153
+ ht(get, []);
50154
50154
  let { addGlobalListener: p, removeAllGlobalListeners: h } = Db(), { hoverProps: g, triggerHoverEnd: b } = ye(() => {
50155
50155
  let x = (C, A) => {
50156
50156
  if (s.pointerType = A, n || A === "touch" || s.isHovered || !C.currentTarget.contains(C.target)) return;
@@ -50196,7 +50196,7 @@ function gm(e) {
50196
50196
  p,
50197
50197
  h
50198
50198
  ]);
50199
- return mt(() => {
50199
+ return ht(() => {
50200
50200
  n && b({
50201
50201
  currentTarget: s.target
50202
50202
  }, s.pointerType);
@@ -50208,7 +50208,7 @@ function gm(e) {
50208
50208
  };
50209
50209
  }
50210
50210
  function vet(e, t) {
50211
- let { onScroll: a, isDisabled: r } = e, n = ht((o) => {
50211
+ let { onScroll: a, isDisabled: r } = e, n = gt((o) => {
50212
50212
  o.ctrlKey || (o.preventDefault(), o.stopPropagation(), a && a({
50213
50213
  deltaX: o.deltaX,
50214
50214
  deltaY: o.deltaY
@@ -50281,7 +50281,7 @@ function qN() {
50281
50281
  }
50282
50282
  function Cet() {
50283
50283
  let e = Y7(), [t, a] = Be(Bx);
50284
- return mt(() => (Af.size === 0 && window.addEventListener("languagechange", qN), Af.add(a), () => {
50284
+ return ht(() => (Af.size === 0 && window.addEventListener("languagechange", qN), Af.add(a), () => {
50285
50285
  Af.delete(a), Af.size === 0 && window.removeEventListener("languagechange", qN);
50286
50286
  }), []), e ? {
50287
50287
  locale: "en-US",
@@ -52242,11 +52242,11 @@ function Mtt(e) {
52242
52242
  let t = Ftt({
52243
52243
  usage: "search",
52244
52244
  ...e
52245
- }), a = ht((o, i) => i.length === 0 ? !0 : (o = o.normalize("NFC"), i = i.normalize("NFC"), t.compare(o.slice(0, i.length), i) === 0), [
52245
+ }), a = gt((o, i) => i.length === 0 ? !0 : (o = o.normalize("NFC"), i = i.normalize("NFC"), t.compare(o.slice(0, i.length), i) === 0), [
52246
52246
  t
52247
- ]), r = ht((o, i) => i.length === 0 ? !0 : (o = o.normalize("NFC"), i = i.normalize("NFC"), t.compare(o.slice(-i.length), i) === 0), [
52247
+ ]), r = gt((o, i) => i.length === 0 ? !0 : (o = o.normalize("NFC"), i = i.normalize("NFC"), t.compare(o.slice(-i.length), i) === 0), [
52248
52248
  t
52249
- ]), n = ht((o, i) => {
52249
+ ]), n = gt((o, i) => {
52250
52250
  if (i.length === 0) return !0;
52251
52251
  o = o.normalize("NFC"), i = i.normalize("NFC");
52252
52252
  let s = 0, p = i.length;
@@ -52470,7 +52470,7 @@ function gd(e = {}) {
52470
52470
  let { autoFocus: t = !1, isTextInput: a, within: r } = e, n = Qe({
52471
52471
  isFocused: !1,
52472
52472
  isFocusVisible: t || yj()
52473
- }), [o, i] = Be(!1), [s, p] = Be(() => n.current.isFocused && n.current.isFocusVisible), h = ht(() => p(n.current.isFocused && n.current.isFocusVisible), []), g = ht((_) => {
52473
+ }), [o, i] = Be(!1), [s, p] = Be(() => n.current.isFocused && n.current.isFocusVisible), h = gt(() => p(n.current.isFocused && n.current.isFocusVisible), []), g = gt((_) => {
52474
52474
  n.current.isFocused = _, i(_), h();
52475
52475
  }, [
52476
52476
  h
@@ -53408,7 +53408,7 @@ function Jtt(e, t, a) {
53408
53408
  } else L.pointerType === "virtual" && (t.selectDate(r), t.setFocusedDate(r));
53409
53409
  }
53410
53410
  }), X;
53411
- n || (X = Ua(r, t.focusedDate) ? 0 : -1), mt(() => {
53411
+ n || (X = Ua(r, t.focusedDate) ? 0 : -1), ht(() => {
53412
53412
  g && a.current && (ql(a.current), bj() !== "pointer" && document.activeElement === a.current && rj(a.current, {
53413
53413
  containingElement: aj(a.current)
53414
53414
  }));
@@ -53528,7 +53528,7 @@ function Qtt(e) {
53528
53528
  let ne = h || o || w.current;
53529
53529
  Q$(ne, N.current) || (N.current = ne, I(ne));
53530
53530
  }, [K, H] = Be(!1);
53531
- return mt(R), {
53531
+ return ht(R), {
53532
53532
  realtimeValidation: p || A || h || o || hf,
53533
53533
  displayValidation: s === "native" ? p || A || D : p || A || h || o || D,
53534
53534
  updateValidation(ne) {
@@ -53587,7 +53587,7 @@ function GV(e, t, a) {
53587
53587
  }), s = vr(() => {
53588
53588
  t.commitValidation();
53589
53589
  });
53590
- mt(() => {
53590
+ ht(() => {
53591
53591
  let p = a == null ? void 0 : a.current;
53592
53592
  if (!p) return;
53593
53593
  let h = p.form;
@@ -53700,7 +53700,7 @@ function oat(e) {
53700
53700
  A
53701
53701
  ]), D = ye(() => w.resolvedOptions(), [
53702
53702
  w
53703
- ]), I = ht((J) => isNaN(J) || J === null ? "" : w.format(J), [
53703
+ ]), I = gt((J) => isNaN(J) || J === null ? "" : w.format(J), [
53704
53704
  w
53705
53705
  ]), N = Ob({
53706
53706
  ...e,
@@ -53831,7 +53831,7 @@ function sat(e, t) {
53831
53831
  type: i,
53832
53832
  pattern: e.pattern
53833
53833
  };
53834
- return HE(t, p, h), GV(e, b, t), mt(() => {
53834
+ return HE(t, p, h), GV(e, b, t), ht(() => {
53835
53835
  if (t.current instanceof vn(t.current).HTMLTextAreaElement) {
53836
53836
  let R = t.current;
53837
53837
  Object.defineProperty(R, "defaultValue", {
@@ -53926,7 +53926,7 @@ function lat(e, t, a) {
53926
53926
  }
53927
53927
  (_ == null || !t.validate(_)) && b.preventDefault();
53928
53928
  });
53929
- mt(() => {
53929
+ ht(() => {
53930
53930
  if (!AL() || !a.current) return;
53931
53931
  let b = a.current;
53932
53932
  return b.addEventListener("beforeinput", r, !1), () => {
@@ -54144,7 +54144,7 @@ function _8(e) {
54144
54144
  const t = Qe(void 0);
54145
54145
  let { value: a, textValue: r, minValue: n, maxValue: o, isDisabled: i, isReadOnly: s, isRequired: p, onIncrement: h, onIncrementPage: g, onDecrement: b, onDecrementPage: x, onDecrementToMin: _, onIncrementToMax: E } = e;
54146
54146
  const C = rl(cat(A8), "@react-aria/spinbutton"), A = () => clearTimeout(t.current);
54147
- mt(() => () => A(), []);
54147
+ ht(() => () => A(), []);
54148
54148
  let w = (L) => {
54149
54149
  if (!(L.ctrlKey || L.metaKey || L.shiftKey || L.altKey || s))
54150
54150
  switch (L.key) {
@@ -54178,7 +54178,7 @@ function _8(e) {
54178
54178
  }, N = () => {
54179
54179
  D.current = !1;
54180
54180
  }, R = r === "" ? C.format("Empty") : (r || `${a}`).replace("-", "−");
54181
- mt(() => {
54181
+ ht(() => {
54182
54182
  D.current && (Wtt("assertive"), pp(R, "assertive"));
54183
54183
  }, [
54184
54184
  R
@@ -54506,7 +54506,7 @@ function dat(e, t, a) {
54506
54506
  }), [W, Q] = Be(!1), { focusWithinProps: he } = hm({
54507
54507
  isDisabled: i,
54508
54508
  onFocusWithinChange: Q
54509
- }), ie = ht((mr) => {
54509
+ }), ie = gt((mr) => {
54510
54510
  Math.abs(mr.deltaY) <= Math.abs(mr.deltaX) || (mr.deltaY > 0 ? H() : mr.deltaY < 0 && te());
54511
54511
  }, [
54512
54512
  te,
@@ -54517,11 +54517,11 @@ function dat(e, t, a) {
54517
54517
  isDisabled: R || i || s || !W
54518
54518
  }, a);
54519
54519
  var Le;
54520
- let qe = ((Le = Fe.maximumFractionDigits) !== null && Le !== void 0 ? Le : 0) > 0, Ee = t.minValue === void 0 || isNaN(t.minValue) || t.minValue < 0, pt = "numeric";
54521
- J7() ? Ee ? pt = "text" : qe && (pt = "decimal") : qE() && (Ee ? pt = "numeric" : qe && (pt = "decimal"));
54520
+ let qe = ((Le = Fe.maximumFractionDigits) !== null && Le !== void 0 ? Le : 0) > 0, Ee = t.minValue === void 0 || isNaN(t.minValue) || t.minValue < 0, mt = "numeric";
54521
+ J7() ? Ee ? mt = "text" : qe && (mt = "decimal") : qE() && (Ee ? mt = "numeric" : qe && (mt = "decimal"));
54522
54522
  let Lt = (mr) => {
54523
54523
  t.validate(mr) && t.setInputValue(mr);
54524
- }, ma = Pr(e), Qa = ht((mr) => {
54524
+ }, ma = Pr(e), Qa = gt((mr) => {
54525
54525
  mr.key === "Enter" ? (ge(), pe()) : mr.continuePropagation();
54526
54526
  }, [
54527
54527
  ge,
@@ -54544,7 +54544,7 @@ function dat(e, t, a) {
54544
54544
  "aria-labelledby": e["aria-labelledby"] || void 0,
54545
54545
  id: U,
54546
54546
  type: "text",
54547
- inputMode: pt,
54547
+ inputMode: mt,
54548
54548
  onChange: Lt,
54549
54549
  onBlur: E,
54550
54550
  onFocus: C,
@@ -55425,7 +55425,7 @@ function gat(e, t, a) {
55425
55425
  role: "group",
55426
55426
  "aria-disabled": e.isDisabled || void 0,
55427
55427
  "aria-describedby": D
55428
- }), mt(() => {
55428
+ }), ht(() => {
55429
55429
  K.current && N.focusFirst(), K.current = !1;
55430
55430
  }, [
55431
55431
  N
@@ -55856,7 +55856,7 @@ function _at(e, t) {
55856
55856
  let { role: a = "dialog" } = e, r = Pv();
55857
55857
  r = e["aria-label"] ? void 0 : r;
55858
55858
  let n = Qe(!1);
55859
- return mt(() => {
55859
+ return ht(() => {
55860
55860
  if (t.current && !t.current.contains(document.activeElement)) {
55861
55861
  Lv(t.current);
55862
55862
  let o = setTimeout(() => {
@@ -55947,7 +55947,7 @@ const GG = /* @__PURE__ */ lj(function(t, a) {
55947
55947
  }), E = bn(o.id), C = bn(), A = o["aria-labelledby"];
55948
55948
  n && (A ? A = `${A} ${C}` : o["aria-label"] && (A = `${E} ${C}`));
55949
55949
  let w = Qe(n);
55950
- return mt(() => {
55950
+ return ht(() => {
55951
55951
  let D = {
55952
55952
  "aria-labelledby": A || E
55953
55953
  };
@@ -56252,15 +56252,15 @@ function a4(e) {
56252
56252
  }
56253
56253
  function Iat(e) {
56254
56254
  let [t, a] = Hl(e.isOpen, e.defaultOpen || !1, e.onOpenChange);
56255
- const r = ht(() => {
56255
+ const r = gt(() => {
56256
56256
  a(!0);
56257
56257
  }, [
56258
56258
  a
56259
- ]), n = ht(() => {
56259
+ ]), n = gt(() => {
56260
56260
  a(!1);
56261
56261
  }, [
56262
56262
  a
56263
- ]), o = ht(() => {
56263
+ ]), o = gt(() => {
56264
56264
  a(!t);
56265
56265
  }, [
56266
56266
  a,
@@ -57166,7 +57166,7 @@ function jat(e) {
57166
57166
  ]), [ge, pe] = Be(() => e.value || e.defaultValue ? {
57167
57167
  ...oe
57168
57168
  } : {}), xe = Qe(null), U = Qe(C);
57169
- mt(() => {
57169
+ ht(() => {
57170
57170
  Lb(C, U.current) || (U.current = C, R((ie) => Object.keys(ge).length > 0 ? Ba(ie, C) : gf(e.placeholderValue, b, C, x)));
57171
57171
  }, [
57172
57172
  C,
@@ -57827,7 +57827,7 @@ const Nz = /* @__PURE__ */ ka(Xat), Yat = /* @__PURE__ */ ka(function({ date: t,
57827
57827
  ...sj(t),
57828
57828
  label: g,
57829
57829
  validationBehavior: i
57830
- }, s, p), [N, R] = Be(null), K = ht(() => {
57830
+ }, s, p), [N, R] = Be(null), K = gt(() => {
57831
57831
  p.current && R(p.current.offsetWidth + "px");
57832
57832
  }, []);
57833
57833
  jQe({
@@ -58117,7 +58117,7 @@ function jz({
58117
58117
  className: e,
58118
58118
  ...t
58119
58119
  }) {
58120
- return /* @__PURE__ */ gt(
58120
+ return /* @__PURE__ */ vt(
58121
58121
  "div",
58122
58122
  {
58123
58123
  className: qt(
@@ -58165,7 +58165,7 @@ const prt = (e) => {
58165
58165
  signDisplay: "auto",
58166
58166
  maximumFractionDigits: p
58167
58167
  },
58168
- children: /* @__PURE__ */ gt(Bz, { className: "relative", children: [
58168
+ children: /* @__PURE__ */ vt(Bz, { className: "relative", children: [
58169
58169
  /* @__PURE__ */ ae(Mz, {}),
58170
58170
  /* @__PURE__ */ ae(jz, {})
58171
58171
  ] })
@@ -58176,7 +58176,7 @@ const prt = (e) => {
58176
58176
  va(
58177
58177
  yy,
58178
58178
  Yr(
58179
- (e) => !vt(e) && Object.prototype.hasOwnProperty.call(e, "currency")
58179
+ (e) => !pt(e) && Object.prototype.hasOwnProperty.call(e, "currency")
58180
58180
  )
58181
58181
  )
58182
58182
  ), hrt = Sr(Jr(prt));
@@ -58495,7 +58495,7 @@ var Cw = "PopperContent", [krt, Ort] = Uz(Cw), Qz = re.forwardRef(
58495
58495
  updatePositionStrategy: _ = "optimized",
58496
58496
  onPlaced: E,
58497
58497
  ...C
58498
- } = e, A = Xz(Cw, a), [w, D] = re.useState(null), I = Br(t, (pt) => D(pt)), [N, R] = re.useState(null), K = LM(N), H = (K == null ? void 0 : K.width) ?? 0, X = (K == null ? void 0 : K.height) ?? 0, te = r + (o !== "center" ? "-" + o : ""), ne = typeof g == "number" ? g : { top: 0, right: 0, bottom: 0, left: 0, ...g }, L = Array.isArray(h) ? h : [h], oe = L.length > 0, ge = {
58498
+ } = e, A = Xz(Cw, a), [w, D] = re.useState(null), I = Br(t, (mt) => D(mt)), [N, R] = re.useState(null), K = LM(N), H = (K == null ? void 0 : K.width) ?? 0, X = (K == null ? void 0 : K.height) ?? 0, te = r + (o !== "center" ? "-" + o : ""), ne = typeof g == "number" ? g : { top: 0, right: 0, bottom: 0, left: 0, ...g }, L = Array.isArray(h) ? h : [h], oe = L.length > 0, ge = {
58499
58499
  padding: ne,
58500
58500
  boundary: L.filter(Frt),
58501
58501
  // with `strategy: 'fixed'`, this is the only way to get it to respect boundaries
@@ -58504,7 +58504,7 @@ var Cw = "PopperContent", [krt, Ort] = Uz(Cw), Qz = re.forwardRef(
58504
58504
  // default to `fixed` strategy so users don't have to pick and we also avoid focus scroll issues
58505
58505
  strategy: "fixed",
58506
58506
  placement: te,
58507
- whileElementsMounted: (...pt) => jK(...pt, {
58507
+ whileElementsMounted: (...mt) => jK(...mt, {
58508
58508
  animationFrame: _ === "always"
58509
58509
  }),
58510
58510
  elements: {
@@ -58521,8 +58521,8 @@ var Cw = "PopperContent", [krt, Ort] = Uz(Cw), Qz = re.forwardRef(
58521
58521
  p && kK({ ...ge }),
58522
58522
  OK({
58523
58523
  ...ge,
58524
- apply: ({ elements: pt, rects: Lt, availableWidth: ma, availableHeight: Qa }) => {
58525
- const { width: ja, height: Wa } = Lt.reference, ee = pt.floating.style;
58524
+ apply: ({ elements: mt, rects: Lt, availableWidth: ma, availableHeight: Qa }) => {
58525
+ const { width: ja, height: Wa } = Lt.reference, ee = mt.floating.style;
58526
58526
  ee.setProperty("--radix-popper-available-width", `${ma}px`), ee.setProperty("--radix-popper-available-height", `${Qa}px`), ee.setProperty("--radix-popper-anchor-width", `${ja}px`), ee.setProperty("--radix-popper-anchor-height", `${Wa}px`);
58527
58527
  }
58528
58528
  }),
@@ -59433,14 +59433,14 @@ function wW({
59433
59433
  className: t,
59434
59434
  ...a
59435
59435
  }) {
59436
- return /* @__PURE__ */ ae(Gnt, { children: /* @__PURE__ */ gt(
59436
+ return /* @__PURE__ */ ae(Gnt, { children: /* @__PURE__ */ vt(
59437
59437
  ort,
59438
59438
  {
59439
59439
  className: qt("group flex flex-col gap-1", t),
59440
59440
  ...a,
59441
59441
  isDateUnavailable: void 0,
59442
59442
  children: [
59443
- /* @__PURE__ */ gt(yw, { className: "flex flex-1 rounded-md border p-2", children: [
59443
+ /* @__PURE__ */ vt(yw, { className: "flex flex-1 rounded-md border p-2", children: [
59444
59444
  /* @__PURE__ */ ae(znt, { asChild: !0, children: /* @__PURE__ */ ae(
59445
59445
  Cg,
59446
59446
  {
@@ -59467,8 +59467,8 @@ function wW({
59467
59467
  }
59468
59468
  ) })
59469
59469
  ] }),
59470
- /* @__PURE__ */ ae(_W, { className: "w-fit border-0 p-0", children: /* @__PURE__ */ ae(Kat, { children: /* @__PURE__ */ gt(Zat, { className: "rounded-sm border p-3", children: [
59471
- /* @__PURE__ */ gt("header", { className: "flex flex-row justify-between pb-4", children: [
59470
+ /* @__PURE__ */ ae(_W, { className: "w-fit border-0 p-0", children: /* @__PURE__ */ ae(Kat, { children: /* @__PURE__ */ vt(Zat, { className: "rounded-sm border p-3", children: [
59471
+ /* @__PURE__ */ vt("header", { className: "flex flex-row justify-between pb-4", children: [
59472
59472
  /* @__PURE__ */ ae(
59473
59473
  Cg,
59474
59474
  {
@@ -59493,7 +59493,7 @@ function wW({
59493
59493
  }
59494
59494
  )
59495
59495
  ] }),
59496
- /* @__PURE__ */ gt(qat, { className: "border-separate border-spacing-1", children: [
59496
+ /* @__PURE__ */ vt(qat, { className: "border-separate border-spacing-1", children: [
59497
59497
  /* @__PURE__ */ ae(Pz, { children: (r) => /* @__PURE__ */ ae(Iz, { className: "text-xs font-semibold", children: r }) }),
59498
59498
  /* @__PURE__ */ ae(Nz, { children: (r) => /* @__PURE__ */ ae(
59499
59499
  Yat,
@@ -59625,32 +59625,32 @@ const Unt = (e) => {
59625
59625
  }, tot = Kt(3, Bp), aot = XA(
59626
59626
  ai(Ey(eot))
59627
59627
  ), rot = () => {
59628
- const [e, t] = Be(!1), a = ht(() => t(!0), []), r = ht(() => t(!1), []);
59628
+ const [e, t] = Be(!1), a = gt(() => t(!0), []), r = gt(() => t(!1), []);
59629
59629
  return [e, a, r];
59630
59630
  };
59631
59631
  var not = ["defaultOptions", "cacheOptions", "loadOptions", "options", "isLoading", "onInputChange", "filterOption"];
59632
59632
  function oot(e) {
59633
59633
  var t = e.defaultOptions, a = t === void 0 ? !1 : t, r = e.cacheOptions, n = r === void 0 ? !1 : r, o = e.loadOptions;
59634
59634
  e.options;
59635
- var i = e.isLoading, s = i === void 0 ? !1 : i, p = e.onInputChange, h = e.filterOption, g = h === void 0 ? null : h, b = ci(e, not), x = b.inputValue, _ = Qe(void 0), E = Qe(!1), C = Be(Array.isArray(a) ? a : void 0), A = gr(C, 2), w = A[0], D = A[1], I = Be(typeof x < "u" ? x : ""), N = gr(I, 2), R = N[0], K = N[1], H = Be(a === !0), X = gr(H, 2), te = X[0], ne = X[1], L = Be(void 0), oe = gr(L, 2), ge = oe[0], pe = oe[1], xe = Be([]), U = gr(xe, 2), $e = U[0], De = U[1], Fe = Be(!1), de = gr(Fe, 2), q = de[0], J = de[1], Y = Be({}), B = gr(Y, 2), W = B[0], Q = B[1], he = Be(void 0), ie = gr(he, 2), be = ie[0], Le = ie[1], qe = Be(void 0), Ee = gr(qe, 2), pt = Ee[0], Lt = Ee[1];
59636
- n !== pt && (Q({}), Lt(n)), a !== be && (D(Array.isArray(a) ? a : void 0), Le(a)), mt(function() {
59635
+ var i = e.isLoading, s = i === void 0 ? !1 : i, p = e.onInputChange, h = e.filterOption, g = h === void 0 ? null : h, b = ci(e, not), x = b.inputValue, _ = Qe(void 0), E = Qe(!1), C = Be(Array.isArray(a) ? a : void 0), A = gr(C, 2), w = A[0], D = A[1], I = Be(typeof x < "u" ? x : ""), N = gr(I, 2), R = N[0], K = N[1], H = Be(a === !0), X = gr(H, 2), te = X[0], ne = X[1], L = Be(void 0), oe = gr(L, 2), ge = oe[0], pe = oe[1], xe = Be([]), U = gr(xe, 2), $e = U[0], De = U[1], Fe = Be(!1), de = gr(Fe, 2), q = de[0], J = de[1], Y = Be({}), B = gr(Y, 2), W = B[0], Q = B[1], he = Be(void 0), ie = gr(he, 2), be = ie[0], Le = ie[1], qe = Be(void 0), Ee = gr(qe, 2), mt = Ee[0], Lt = Ee[1];
59636
+ n !== mt && (Q({}), Lt(n)), a !== be && (D(Array.isArray(a) ? a : void 0), Le(a)), ht(function() {
59637
59637
  return E.current = !0, function() {
59638
59638
  E.current = !1;
59639
59639
  };
59640
59640
  }, []);
59641
- var ma = ht(function(Wa, ee) {
59641
+ var ma = gt(function(Wa, ee) {
59642
59642
  if (!o) return ee();
59643
59643
  var ga = o(Wa, ee);
59644
59644
  ga && typeof ga.then == "function" && ga.then(ee, function() {
59645
59645
  return ee();
59646
59646
  });
59647
59647
  }, [o]);
59648
- mt(function() {
59648
+ ht(function() {
59649
59649
  a === !0 && ma(R, function(Wa) {
59650
59650
  E.current && (D(Wa || []), ne(!!_.current));
59651
59651
  });
59652
59652
  }, []);
59653
- var Qa = ht(function(Wa, ee) {
59653
+ var Qa = gt(function(Wa, ee) {
59654
59654
  var ga = VYe(Wa, ee, p);
59655
59655
  if (!ga) {
59656
59656
  _.current = void 0, K(""), pe(""), De([]), ne(!1), J(!1);
@@ -59740,8 +59740,8 @@ const cot = ({
59740
59740
  A,
59741
59741
  N.showUnfocusedDescription
59742
59742
  ), K = Qe(null);
59743
- return r ? r && /* @__PURE__ */ gt("div", { className: "control root_properties_singleSelect flex flex-col gap-2", children: [
59744
- /* @__PURE__ */ gt(
59743
+ return r ? r && /* @__PURE__ */ vt("div", { className: "control root_properties_singleSelect flex flex-col gap-2", children: [
59744
+ /* @__PURE__ */ vt(
59745
59745
  "label",
59746
59746
  {
59747
59747
  htmlFor: t,
@@ -59809,7 +59809,7 @@ const cot = ({
59809
59809
  signDisplay: "auto",
59810
59810
  maximumFractionDigits: p
59811
59811
  },
59812
- children: /* @__PURE__ */ gt(Bz, { className: "relative", children: [
59812
+ children: /* @__PURE__ */ vt(Bz, { className: "relative", children: [
59813
59813
  /* @__PURE__ */ ae(Mz, {}),
59814
59814
  /* @__PURE__ */ ae(jz, {})
59815
59815
  ] })
@@ -59867,7 +59867,7 @@ const cot = ({
59867
59867
  disabled: !o,
59868
59868
  id: n,
59869
59869
  autoFocus: i.options && i.options.focus,
59870
- children: (h = a == null ? void 0 : a.enum) == null ? void 0 : h.map((g) => /* @__PURE__ */ gt("div", { className: "flex items-center space-x-2", children: [
59870
+ children: (h = a == null ? void 0 : a.enum) == null ? void 0 : h.map((g) => /* @__PURE__ */ vt("div", { className: "flex items-center space-x-2", children: [
59871
59871
  /* @__PURE__ */ ae(Lf, { value: g, id: `${s}.${g}` }),
59872
59872
  /* @__PURE__ */ ae(Nf, { htmlFor: `${s}.${g}`, className: "cursor-pointer", children: g })
59873
59873
  ] }, g))
@@ -60250,7 +60250,7 @@ const qW = Vot, Pw = re.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ *
60250
60250
  }
60251
60251
  ));
60252
60252
  Pw.displayName = "AccordionItem";
60253
- const Iw = re.forwardRef(({ className: e, children: t, ...a }, r) => /* @__PURE__ */ ae(zot, { className: "flex", children: /* @__PURE__ */ gt(
60253
+ const Iw = re.forwardRef(({ className: e, children: t, ...a }, r) => /* @__PURE__ */ ae(zot, { className: "flex", children: /* @__PURE__ */ vt(
60254
60254
  WW,
60255
60255
  {
60256
60256
  ref: r,
@@ -60370,12 +60370,12 @@ const { convertToValidClassName: Hot } = Ls, Xot = ({
60370
60370
  }, ne = (pe) => {
60371
60371
  s && s(r, [pe])();
60372
60372
  }, L = ((ge = (oe = x.properties) == null ? void 0 : oe[r]) == null ? void 0 : ge.title) ?? a;
60373
- return /* @__PURE__ */ gt("div", { className: X, children: [
60374
- /* @__PURE__ */ gt("div", { className: "mb-4 flex items-center justify-between", children: [
60373
+ return /* @__PURE__ */ vt("div", { className: X, children: [
60374
+ /* @__PURE__ */ vt("div", { className: "mb-4 flex items-center justify-between", children: [
60375
60375
  /* @__PURE__ */ ae("span", { className: qt("text-lg font-bold", R), children: L }),
60376
60376
  /* @__PURE__ */ ae("div", { className: qt("text-destructive", I), children: o })
60377
60377
  ] }),
60378
- /* @__PURE__ */ gt(
60378
+ /* @__PURE__ */ vt(
60379
60379
  qW,
60380
60380
  {
60381
60381
  type: "multiple",
@@ -60383,13 +60383,13 @@ const { convertToValidClassName: Hot } = Ls, Xot = ({
60383
60383
  children: [
60384
60384
  (t == null ? void 0 : t.length) > 0 ? uC(0, t.length).map((pe) => {
60385
60385
  const xe = my(r, `${pe}`);
60386
- return /* @__PURE__ */ gt(
60386
+ return /* @__PURE__ */ vt(
60387
60387
  Pw,
60388
60388
  {
60389
60389
  value: `item-${pe}`,
60390
60390
  className: "rounded-lg border",
60391
60391
  children: [
60392
- /* @__PURE__ */ gt("div", { className: "flex flex-row gap-0 [&>h3]:flex-grow", children: [
60392
+ /* @__PURE__ */ vt("div", { className: "flex flex-row gap-0 [&>h3]:flex-grow", children: [
60393
60393
  /* @__PURE__ */ ae(Iw, { className: "hover:bg-muted/50 flex items-center justify-between gap-2 rounded-xl px-4 py-2 transition-colors", children: /* @__PURE__ */ ae(
60394
60394
  "div",
60395
60395
  {
@@ -60397,14 +60397,14 @@ const { convertToValidClassName: Hot } = Ls, Xot = ({
60397
60397
  "flex items-center space-x-2",
60398
60398
  K
60399
60399
  ),
60400
- children: /* @__PURE__ */ gt("span", { className: R, children: [
60400
+ children: /* @__PURE__ */ vt("span", { className: R, children: [
60401
60401
  L,
60402
60402
  " ",
60403
60403
  pe + 1
60404
60404
  ] })
60405
60405
  }
60406
60406
  ) }),
60407
- /* @__PURE__ */ gt(
60407
+ /* @__PURE__ */ vt(
60408
60408
  wr,
60409
60409
  {
60410
60410
  type: "button",
@@ -60436,7 +60436,7 @@ const { convertToValidClassName: Hot } = Ls, Xot = ({
60436
60436
  },
60437
60437
  pe
60438
60438
  );
60439
- }) : /* @__PURE__ */ ae(Lw, { className: "border-2 border-dashed", children: /* @__PURE__ */ ae(Rw, { className: "flex flex-col items-center justify-center p-8 text-center", children: /* @__PURE__ */ gt(
60439
+ }) : /* @__PURE__ */ ae(Lw, { className: "border-2 border-dashed", children: /* @__PURE__ */ ae(Rw, { className: "flex flex-col items-center justify-center p-8 text-center", children: /* @__PURE__ */ vt(
60440
60440
  wr,
60441
60441
  {
60442
60442
  type: "button",
@@ -60449,7 +60449,7 @@ const { convertToValidClassName: Hot } = Ls, Xot = ({
60449
60449
  ]
60450
60450
  }
60451
60451
  ) }) }),
60452
- (t == null ? void 0 : t.length) > 0 && /* @__PURE__ */ gt(
60452
+ (t == null ? void 0 : t.length) > 0 && /* @__PURE__ */ vt(
60453
60453
  wr,
60454
60454
  {
60455
60455
  onClick: te,
@@ -60545,7 +60545,7 @@ const { convertToValidClassName: Hot } = Ls, Xot = ({
60545
60545
  r,
60546
60546
  p.scope,
60547
60547
  o,
60548
- () => vt(o) ? au.uiSchema(r, "VerticalLayout", void 0, h) : {
60548
+ () => pt(o) ? au.uiSchema(r, "VerticalLayout", void 0, h) : {
60549
60549
  ...au.uiSchema(r, "Group", void 0, h),
60550
60550
  label: n
60551
60551
  },
@@ -60600,8 +60600,8 @@ class oit extends le.Component {
60600
60600
  }), K = h.length === 0, H = [I].concat(
60601
60601
  K ? "" : (b == null ? void 0 : b("array.table.validation.error")) || ""
60602
60602
  ).join(" ");
60603
- return /* @__PURE__ */ gt("div", { className: N, hidden: !p, children: [
60604
- s && s.length ? /* @__PURE__ */ gt("table", { className: A, children: [
60603
+ return /* @__PURE__ */ vt("div", { className: N, hidden: !p, children: [
60604
+ s && s.length ? /* @__PURE__ */ vt("table", { className: A, children: [
60605
60605
  /* @__PURE__ */ ae("thead", { children: /* @__PURE__ */ ae("tr", { children: n.properties ? jg(
60606
60606
  Vg,
60607
60607
  Fg(
@@ -60609,10 +60609,10 @@ class oit extends le.Component {
60609
60609
  ),
60610
60610
  Mg((X) => /* @__PURE__ */ ae("th", { children: n.properties && (n.properties[X].title ?? cO(X)) }, X))
60611
60611
  )(n.properties) : /* @__PURE__ */ ae("th", { className: w, children: g }) }) }),
60612
- /* @__PURE__ */ gt("tbody", { children: [
60612
+ /* @__PURE__ */ vt("tbody", { children: [
60613
60613
  !s || !Array.isArray(s) || s.length === 0 ? /* @__PURE__ */ ae("tr", { children: /* @__PURE__ */ ae("td", { children: _.noDataMessage }) }) : s.map((X, te) => {
60614
60614
  const ne = Wc.compose(i, `${te}`), L = Of(x, (xe) => Ff(xe).startsWith(ne)), oe = (b == null ? void 0 : b("array.validation")) || "", ge = (b == null ? void 0 : b("array.validation.error")) || "", pe = L ? [oe].concat(ge).join(" ") : oe;
60615
- return /* @__PURE__ */ gt("tr", { children: [
60615
+ return /* @__PURE__ */ vt("tr", { children: [
60616
60616
  n.properties ? jg(
60617
60617
  Vg,
60618
60618
  Fg(
@@ -60636,7 +60636,7 @@ class oit extends le.Component {
60636
60636
  }
60637
60637
  ) }, U);
60638
60638
  })
60639
- )(n.properties) : /* @__PURE__ */ gt("td", { children: [
60639
+ )(n.properties) : /* @__PURE__ */ vt("td", { children: [
60640
60640
  /* @__PURE__ */ ae(
60641
60641
  Vf,
60642
60642
  {
@@ -60659,7 +60659,7 @@ class oit extends le.Component {
60659
60659
  }
60660
60660
  )
60661
60661
  ] }, Wc.compose(ne, te.toString())),
60662
- /* @__PURE__ */ ae("td", { children: /* @__PURE__ */ gt(
60662
+ /* @__PURE__ */ ae("td", { children: /* @__PURE__ */ vt(
60663
60663
  wr,
60664
60664
  {
60665
60665
  type: "button",
@@ -60677,7 +60677,7 @@ class oit extends le.Component {
60677
60677
  ) })
60678
60678
  ] }, ne);
60679
60679
  }),
60680
- /* @__PURE__ */ ae("tr", { children: /* @__PURE__ */ ae("td", { children: /* @__PURE__ */ gt(
60680
+ /* @__PURE__ */ ae("tr", { children: /* @__PURE__ */ ae("td", { children: /* @__PURE__ */ vt(
60681
60681
  wr,
60682
60682
  {
60683
60683
  type: "button",
@@ -60695,7 +60695,7 @@ class oit extends le.Component {
60695
60695
  }
60696
60696
  ) }) })
60697
60697
  ] })
60698
- ] }) : /* @__PURE__ */ ae(Lw, { className: "border-2 border-dashed", children: /* @__PURE__ */ ae(Rw, { className: "flex flex-col items-center justify-center p-8 text-center", children: /* @__PURE__ */ gt(
60698
+ ] }) : /* @__PURE__ */ ae(Lw, { className: "border-2 border-dashed", children: /* @__PURE__ */ ae(Rw, { className: "flex flex-col items-center justify-center p-8 text-center", children: /* @__PURE__ */ vt(
60699
60699
  wr,
60700
60700
  {
60701
60701
  type: "button",
@@ -60732,7 +60732,7 @@ const iit = En(
60732
60732
  }
60733
60733
  ), cit = (e, t, a, r, n) => {
60734
60734
  const { renderers: o, cells: i } = Wu();
60735
- return vt(e.elements) ? [] : e.elements.map((s, p) => /* @__PURE__ */ ae("div", { className: a, children: /* @__PURE__ */ ae(
60735
+ return pt(e.elements) ? [] : e.elements.map((s, p) => /* @__PURE__ */ ae("div", { className: a, children: /* @__PURE__ */ ae(
60736
60736
  rc,
60737
60737
  {
60738
60738
  renderers: o,
@@ -60766,7 +60766,7 @@ const iit = En(
60766
60766
  type: "single",
60767
60767
  collapsible: !0,
60768
60768
  defaultValue: x ? "item-1" : void 0,
60769
- children: /* @__PURE__ */ gt(
60769
+ children: /* @__PURE__ */ vt(
60770
60770
  Pw,
60771
60771
  {
60772
60772
  value: "item-1",
@@ -61054,7 +61054,7 @@ qv.exports;
61054
61054
  for (var Ue = S + 1; Ue--; ) if (me[Ue] === Ae) return Ue;
61055
61055
  return Ue;
61056
61056
  }
61057
- function pt(me) {
61057
+ function mt(me) {
61058
61058
  return Y(me) ? Qa(me) : fq(me);
61059
61059
  }
61060
61060
  function Lt(me) {
@@ -62198,7 +62198,7 @@ qv.exports;
62198
62198
  m = m === ee ? " " : hn(m);
62199
62199
  var $ = m.length;
62200
62200
  if ($ < 2) return $ ? _0(m, u) : m;
62201
- var T = _0(m, sh(u / pt(m)));
62201
+ var T = _0(m, sh(u / mt(m)));
62202
62202
  return Y(m) ? ls(Lt(T), 0, u).join("") : T.slice(0, u);
62203
62203
  }
62204
62204
  function xU(u, m, $, T) {
@@ -62918,7 +62918,7 @@ qv.exports;
62918
62918
  }
62919
62919
  function ZH(u) {
62920
62920
  if (u == null) return 0;
62921
- if (tn(u)) return Ym(u) ? pt(u) : u.length;
62921
+ if (tn(u)) return Ym(u) ? mt(u) : u.length;
62922
62922
  var m = Nr(u);
62923
62923
  return m == ao || m == ro ? u.size : $0(u).length;
62924
62924
  }
@@ -63357,19 +63357,19 @@ qv.exports;
63357
63357
  }
63358
63358
  function JX(u, m, $) {
63359
63359
  u = ua(u), m = Rt(m);
63360
- var T = m ? pt(u) : 0;
63360
+ var T = m ? mt(u) : 0;
63361
63361
  if (!m || T >= m) return u;
63362
63362
  var P = (m - T) / 2;
63363
63363
  return jm(lh(P), $) + u + jm(sh(P), $);
63364
63364
  }
63365
63365
  function KX(u, m, $) {
63366
63366
  u = ua(u), m = Rt(m);
63367
- var T = m ? pt(u) : 0;
63367
+ var T = m ? mt(u) : 0;
63368
63368
  return m && T < m ? u + jm(m - T, $) : u;
63369
63369
  }
63370
63370
  function QX(u, m, $) {
63371
63371
  u = ua(u), m = Rt(m);
63372
- var T = m ? pt(u) : 0;
63372
+ var T = m ? mt(u) : 0;
63373
63373
  return m && T < m ? jm(m - T, $) + u : u;
63374
63374
  }
63375
63375
  function eY(u, m, $) {
@@ -63460,7 +63460,7 @@ function print() { __p += __j.call(arguments, '') }
63460
63460
  Z = se.length;
63461
63461
  }
63462
63462
  if ($ >= Z) return u;
63463
- var fe = $ - pt(T);
63463
+ var fe = $ - mt(T);
63464
63464
  if (fe < 1) return T;
63465
63465
  var ve = se ? ls(se, 0, fe).join("") : u.slice(0, fe);
63466
63466
  if (P === ee) return ve + T;
@@ -64281,7 +64281,7 @@ const bit = ({
64281
64281
  e.defaultInstallmentPlan
64282
64282
  ]), N = ye(() => s ? void 0 : yit(e, I, x), [e, I, s, x]), [R, K] = Be(!1), [H, X] = Be(h), [te, ne] = Be(
64283
64283
  T$({ accountType: t, account: h, defaultValues: I })
64284
- ), [L, oe] = Be(void 0), ge = E && C && (h == null ? void 0 : h.locator), pe = ye(
64284
+ ), [L, oe] = Be(void 0), ge = !pt(E) && !!C && (h == null ? void 0 : h.locator), pe = ye(
64285
64285
  () => ge ? bqe({
64286
64286
  data: te.data,
64287
64287
  locator: (h == null ? void 0 : h.locator) ?? "",
@@ -64289,7 +64289,7 @@ const bit = ({
64289
64289
  }) : {},
64290
64290
  [ge, te, E, h == null ? void 0 : h.locator]
64291
64291
  );
64292
- mt(() => {
64292
+ ht(() => {
64293
64293
  ge && C && !L && C(pe).then((de) => {
64294
64294
  oe(de);
64295
64295
  });
@@ -64299,7 +64299,7 @@ const bit = ({
64299
64299
  C,
64300
64300
  te,
64301
64301
  L
64302
- ]), mt(() => {
64302
+ ]), ht(() => {
64303
64303
  if (!Pl(h, H)) {
64304
64304
  X(h);
64305
64305
  const de = T$({
@@ -64309,7 +64309,7 @@ const bit = ({
64309
64309
  });
64310
64310
  ne(de);
64311
64311
  }
64312
- }, [h, t, I, H]), mt(() => {
64312
+ }, [h, t, I, H]), ht(() => {
64313
64313
  a && !o && ne(
64314
64314
  T$({ accountType: t, account: h, defaultValues: I })
64315
64315
  );
@@ -64371,7 +64371,7 @@ const bit = ({
64371
64371
  r(Y);
64372
64372
  }
64373
64373
  }, Fe = ye(() => Ao(_), [_]);
64374
- return /* @__PURE__ */ ae(Hn.Provider, { value: Fe, children: /* @__PURE__ */ gt(
64374
+ return /* @__PURE__ */ ae(Hn.Provider, { value: Fe, children: /* @__PURE__ */ vt(
64375
64375
  "form",
64376
64376
  {
64377
64377
  onSubmit: De,
@@ -64643,7 +64643,7 @@ const Kit = ka(
64643
64643
  N
64644
64644
  ),
64645
64645
  [N]
64646
- ), H = Qe({}), X = ye(() => Object.keys((A == null ? void 0 : A[e.locator ?? ""]) ?? {}), [A, e.locator]), te = ye(() => t.dataTypes ?? {}, [t]), ne = Fi(), [L, oe] = Be(void 0), ge = A && C, [pe, xe] = Be(e), U = ye(() => Ea(t.products, e.productName, void 0), [t, e.productName]), [$e, De] = Be(
64646
+ ), H = Qe({}), X = ye(() => Object.keys((A == null ? void 0 : A[e.locator ?? ""]) ?? {}), [A, e.locator]), te = ye(() => t.dataTypes ?? {}, [t]), ne = Fi(), [L, oe] = Be(void 0), ge = !pt(A) && !!C, [pe, xe] = Be(e), U = ye(() => Ea(t.products, e.productName, void 0), [t, e.productName]), [$e, De] = Be(
64647
64647
  _$(e, U ?? {}, t)
64648
64648
  ), [Fe, de] = Be(!1), q = Ea(e, "timezone", ne), J = ye(
64649
64649
  () => ge ? _E({
@@ -64653,7 +64653,7 @@ const Kit = ka(
64653
64653
  }) : {},
64654
64654
  [ge, $e, A, e.locator]
64655
64655
  );
64656
- mt(() => {
64656
+ ht(() => {
64657
64657
  (async () => {
64658
64658
  var it;
64659
64659
  if (J[e.locator] && Object.keys(J[e.locator]).length > 0 && C && !L) {
@@ -64671,9 +64671,9 @@ const Kit = ka(
64671
64671
  L,
64672
64672
  J,
64673
64673
  C
64674
- ]), mt(() => {
64674
+ ]), ht(() => {
64675
64675
  Pl(e, pe) || (xe(e), De(_$(e, U ?? {}, t)));
64676
- }, [t, pe, U, e]), mt(() => {
64676
+ }, [t, pe, U, e]), ht(() => {
64677
64677
  a && !o && De(_$(e, U ?? {}, t));
64678
64678
  }, [a, e, o, U, t]);
64679
64679
  const Y = ye(() => {
@@ -64774,7 +64774,7 @@ const Kit = ka(
64774
64774
  }
64775
64775
  }
64776
64776
  };
64777
- const be = ht(() => {
64777
+ const be = gt(() => {
64778
64778
  let nt = Uv($e, [
64779
64779
  "coverageTerms",
64780
64780
  "default",
@@ -64786,7 +64786,7 @@ const Kit = ka(
64786
64786
  L,
64787
64787
  e.locator
64788
64788
  )), nt;
64789
- }, [$e, L, e.locator, ge]), Le = ht(() => ({
64789
+ }, [$e, L, e.locator, ge]), Le = gt(() => ({
64790
64790
  ...Uv($e.default, ["installmentPlanName"]),
64791
64791
  ...$e.advanced,
64792
64792
  data: be(),
@@ -64825,7 +64825,7 @@ const Kit = ka(
64825
64825
  quote: e
64826
64826
  });
64827
64827
  return r(ta, $e.static), $e;
64828
- }, Ee = yb(ie), pt = Ee.elements.find(
64828
+ }, Ee = yb(ie), mt = Ee.elements.find(
64829
64829
  (nt) => nt.scope === "#/properties/default"
64830
64830
  ), Lt = Ee.elements.find(
64831
64831
  (nt) => nt.scope === "#/properties/advanced"
@@ -64858,12 +64858,12 @@ const Kit = ka(
64858
64858
  };
64859
64859
  Ee.elements.unshift(nt);
64860
64860
  }
64861
- pt && Ee.elements.unshift(pt), Array.isArray(U == null ? void 0 : U.coverageTerms) && (U == null ? void 0 : U.coverageTerms.length) > 0 && Qa && Ee.elements.push(Qa);
64861
+ mt && Ee.elements.unshift(mt), Array.isArray(U == null ? void 0 : U.coverageTerms) && (U == null ? void 0 : U.coverageTerms.length) > 0 && Qa && Ee.elements.push(Qa);
64862
64862
  const ja = a || n, Wa = ye(
64863
64863
  () => li(Ao(I), ja),
64864
64864
  [ja, I]
64865
64865
  );
64866
- return /* @__PURE__ */ ae(Hn.Provider, { value: Wa, children: /* @__PURE__ */ gt(
64866
+ return /* @__PURE__ */ ae(Hn.Provider, { value: Wa, children: /* @__PURE__ */ vt(
64867
64867
  "form",
64868
64868
  {
64869
64869
  onSubmit: qe,
@@ -64946,7 +64946,7 @@ const Qit = ({
64946
64946
  i
64947
64947
  )
64948
64948
  );
64949
- mt(() => {
64949
+ ht(() => {
64950
64950
  (!Pl(g, R) || !Pl(i, H)) && (K(g), X(i), xe(
64951
64951
  BP(
64952
64952
  g,
@@ -64961,12 +64961,12 @@ const Qit = ({
64961
64961
  H,
64962
64962
  e.coverageTerms
64963
64963
  ]);
64964
- const U = D && !!w, $e = ye(() => U ? _E({
64964
+ const U = !pt(D) && !!w, $e = ye(() => U ? _E({
64965
64965
  data: pe,
64966
64966
  locator: R.locator,
64967
64967
  dependencyMap: D
64968
64968
  }) : {}, [U, pe, D, R.locator]);
64969
- mt(() => {
64969
+ ht(() => {
64970
64970
  (async () => {
64971
64971
  if ($e[R.locator] && Object.keys($e[R.locator]).length > 0 && w && !L) {
64972
64972
  const Q = await w(
@@ -64983,7 +64983,7 @@ const Qit = ({
64983
64983
  L,
64984
64984
  $e,
64985
64985
  w
64986
- ]), mt(() => {
64986
+ ]), ht(() => {
64987
64987
  a && !p && xe(
64988
64988
  g ? { ...g.data, coverageTerms: g.coverageTerms } : {}
64989
64989
  );
@@ -65060,7 +65060,7 @@ const Qit = ({
65060
65060
  () => li(Ao(N), Y),
65061
65061
  [N, Y]
65062
65062
  );
65063
- return /* @__PURE__ */ ae(Hn.Provider, { value: B, children: /* @__PURE__ */ gt(
65063
+ return /* @__PURE__ */ ae(Hn.Provider, { value: B, children: /* @__PURE__ */ vt(
65064
65064
  "form",
65065
65065
  {
65066
65066
  onSubmit: de,
@@ -65340,7 +65340,7 @@ const rst = ({
65340
65340
  };
65341
65341
  return s(ne), A;
65342
65342
  };
65343
- return /* @__PURE__ */ ae(Hn.Provider, { value: K, children: /* @__PURE__ */ gt(
65343
+ return /* @__PURE__ */ ae(Hn.Provider, { value: K, children: /* @__PURE__ */ vt(
65344
65344
  "form",
65345
65345
  {
65346
65346
  id: g,
@@ -65510,7 +65510,7 @@ const lst = (e) => ({
65510
65510
  };
65511
65511
  return i(oe), w;
65512
65512
  };
65513
- return /* @__PURE__ */ ae(Hn.Provider, { value: X, children: /* @__PURE__ */ gt(
65513
+ return /* @__PURE__ */ ae(Hn.Provider, { value: X, children: /* @__PURE__ */ vt(
65514
65514
  "form",
65515
65515
  {
65516
65516
  id: g,
@@ -65619,7 +65619,7 @@ const ust = ({
65619
65619
  };
65620
65620
  return i(te), E;
65621
65621
  };
65622
- return /* @__PURE__ */ ae(Hn.Provider, { value: R, children: /* @__PURE__ */ gt(
65622
+ return /* @__PURE__ */ ae(Hn.Provider, { value: R, children: /* @__PURE__ */ vt(
65623
65623
  "form",
65624
65624
  {
65625
65625
  id: h,
@@ -65691,7 +65691,7 @@ const dst = ({
65691
65691
  defaultOpen: !0
65692
65692
  }
65693
65693
  }) => {
65694
- const [N, R] = Be(t), [K, H] = Be(void 0), X = w && A, te = ye(() => Object.keys(
65694
+ const [N, R] = Be(t), [K, H] = Be(void 0), X = !pt(w) && !!A, te = ye(() => Object.keys(
65695
65695
  (w == null ? void 0 : w[t.staticLocator ?? ""]) ?? {}
65696
65696
  ), [w, t.staticLocator]), ne = ye(
65697
65697
  () => Hi({ readonly: !0, defaultOpen: !1 }, I),
@@ -65711,7 +65711,7 @@ const dst = ({
65711
65711
  }) : {},
65712
65712
  [X, L, w, t.staticLocator]
65713
65713
  );
65714
- mt(() => {
65714
+ ht(() => {
65715
65715
  (async () => {
65716
65716
  const Q = t;
65717
65717
  if (ge[Q.staticLocator] && Object.keys(ge[Q.staticLocator]).length > 0 && A && !K) {
@@ -65728,7 +65728,7 @@ const dst = ({
65728
65728
  K,
65729
65729
  ge,
65730
65730
  A
65731
- ]), mt(() => {
65731
+ ]), ht(() => {
65732
65732
  Pl(t, N) || (R(t), oe(
65733
65733
  y$({
65734
65734
  elementResponse: t,
@@ -65743,7 +65743,7 @@ const dst = ({
65743
65743
  N,
65744
65744
  x.coverageTerms,
65745
65745
  e
65746
- ]), mt(() => {
65746
+ ]), ht(() => {
65747
65747
  o && !n && oe(
65748
65748
  y$({
65749
65749
  elementResponse: t,
@@ -65766,6 +65766,7 @@ const dst = ({
65766
65766
  data: x.data ?? {},
65767
65767
  dataTypes: b,
65768
65768
  scope: ["P"],
65769
+ ignoreConstraints: !X,
65769
65770
  evaluatedConstraints: K,
65770
65771
  transactionElement: t,
65771
65772
  rootDisplayName: x.displayName ?? (C == null ? void 0 : C.formTitle) ?? "Transaction",
@@ -65790,19 +65791,20 @@ const dst = ({
65790
65791
  staticDataSchema: Q
65791
65792
  };
65792
65793
  }, [
65794
+ x.data,
65795
+ x.displayName,
65796
+ x.staticData,
65793
65797
  b,
65794
- t,
65795
65798
  w,
65799
+ X,
65796
65800
  K,
65797
- $e,
65798
- x.data,
65799
- x.staticData,
65800
- x.displayName,
65801
- _,
65802
- e,
65801
+ t,
65803
65802
  C == null ? void 0 : C.formTitle,
65804
65803
  C == null ? void 0 : C.truthyLabel,
65805
- C == null ? void 0 : C.falsyLabel
65804
+ C == null ? void 0 : C.falsyLabel,
65805
+ _,
65806
+ $e,
65807
+ e
65806
65808
  ]), de = xm(
65807
65809
  x.coverageTerms ?? [],
65808
65810
  E ?? {},
@@ -65843,7 +65845,7 @@ const dst = ({
65843
65845
  });
65844
65846
  return a(ie), L;
65845
65847
  };
65846
- return /* @__PURE__ */ ae(Hn.Provider, { value: Y, children: /* @__PURE__ */ gt(
65848
+ return /* @__PURE__ */ ae(Hn.Provider, { value: Y, children: /* @__PURE__ */ vt(
65847
65849
  "form",
65848
65850
  {
65849
65851
  id: g,
@@ -65937,7 +65939,7 @@ const pst = ({
65937
65939
  timezone: x.defaultTimeZone ?? "UTC"
65938
65940
  })
65939
65941
  );
65940
- mt(() => {
65942
+ ht(() => {
65941
65943
  w(
65942
65944
  v$({
65943
65945
  paramsChangeInstruction: a,
@@ -65955,7 +65957,7 @@ const pst = ({
65955
65957
  e,
65956
65958
  x.coverageTerms,
65957
65959
  x.defaultTimeZone
65958
- ]), mt(() => {
65960
+ ]), ht(() => {
65959
65961
  o && !n && w(
65960
65962
  v$({
65961
65963
  paramsChangeInstruction: a,
@@ -66046,7 +66048,7 @@ const pst = ({
66046
66048
  pe
66047
66049
  ]), A;
66048
66050
  };
66049
- return /* @__PURE__ */ ae(Hn.Provider, { value: te, children: /* @__PURE__ */ gt(
66051
+ return /* @__PURE__ */ ae(Hn.Provider, { value: te, children: /* @__PURE__ */ vt(
66050
66052
  "form",
66051
66053
  {
66052
66054
  id: g,
@@ -66204,7 +66206,7 @@ const hst = () => ({
66204
66206
  };
66205
66207
  return i(L), A;
66206
66208
  };
66207
- return /* @__PURE__ */ ae(Hn.Provider, { value: H, children: /* @__PURE__ */ gt(
66209
+ return /* @__PURE__ */ ae(Hn.Provider, { value: H, children: /* @__PURE__ */ vt(
66208
66210
  "form",
66209
66211
  {
66210
66212
  id: g,
@@ -66303,7 +66305,7 @@ const vst = ({
66303
66305
  if (!(h && !ne))
66304
66306
  return o(A.data), A;
66305
66307
  }, X = b || s || i;
66306
- return /* @__PURE__ */ ae(Hn.Provider, { value: K, children: /* @__PURE__ */ gt(
66308
+ return /* @__PURE__ */ ae(Hn.Provider, { value: K, children: /* @__PURE__ */ vt(
66307
66309
  "form",
66308
66310
  {
66309
66311
  id: a,