@isettingkit/business-rules 3.2.5 → 3.2.6

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,4 +1,4 @@
1
- import { jsx as i, jsxs as y, Fragment as j } from "react/jsx-runtime";
1
+ import { jsx as i, jsxs as b, Fragment as j } from "react/jsx-runtime";
2
2
  import { MdOutlineDelete as Yt, MdOutlinePercent as wr, MdOutlineChevronRight as na, MdOutlineError as ra, MdClear as wt, MdOutlineFilterAltOff as Sr, MdOutlineLockClock as nt, MdAdd as St, MdOutlineCreate as aa, MdExpandLess as oa, MdExpandMore as un, MdInfo as ia, MdCached as la, MdOutlineInfo as sa, MdClose as da, MdOutlineFilterAlt as xr, MdChevronRight as Mn, MdArrowRight as ca, MdOutlineArrowCircleLeft as ua, MdOutlineArrowCircleRight as pa, MdKeyboardArrowUp as ha, MdKeyboardArrowDown as ga, MdOutlineArrowBack as fa } from "react-icons/md";
3
3
  import { inube as k, Stack as v, Divider as K, Icon as B, Textfield as mt, Moneyfield as Cr, Date as Oe, Numberfield as xn, Text as D, Tag as we, Checkpicker as Cn, Grid as Fe, Select as Ae, Label as ma, OptionItem as Dr, Box as Nr, useMediaQuery as Se, Blanket as xt, Button as Z, SkeletonLine as fe, Toggle as rt, Checkbox as Er, Tabs as Ar, SkeletonIcon as ba, Fieldset as Qe, OptionList as ya } from "@inubekit/inubekit";
4
4
  import $, { ThemeContext as Dn, keyframes as Nn } from "styled-components";
@@ -46,9 +46,9 @@ $.div`
46
46
  `;
47
47
  const Nt = (e) => {
48
48
  const { children: t, controls: n = !0, handleDelete: r, id: a } = e;
49
- return /* @__PURE__ */ i(Da, { children: /* @__PURE__ */ y(v, { direction: "column", gap: "16px", padding: "12px 16px", children: [
49
+ return /* @__PURE__ */ i(Da, { children: /* @__PURE__ */ b(v, { direction: "column", gap: "16px", padding: "12px 16px", children: [
50
50
  t,
51
- n && /* @__PURE__ */ y(j, { children: [
51
+ n && /* @__PURE__ */ b(j, { children: [
52
52
  /* @__PURE__ */ i(K, {}),
53
53
  /* @__PURE__ */ i(v, { gap: "16px", justifyContent: "end", children: /* @__PURE__ */ i(
54
54
  B,
@@ -294,15 +294,15 @@ const Oa = {
294
294
  onChange: d,
295
295
  size: p = "wide"
296
296
  } = e, u = typeof l == "string" ? l.split(",").filter(Boolean) : [], h = a.filter(
297
- (b) => u.includes(b.id)
298
- ), g = (b, m) => {
299
- d(b, m);
300
- }, f = (b) => {
301
- const m = u.filter((T) => T !== b).join(",");
297
+ (y) => u.includes(y.id)
298
+ ), g = (y, m) => {
299
+ d(y, m);
300
+ }, f = (y) => {
301
+ const m = u.filter((T) => T !== y).join(",");
302
302
  d(t, m);
303
303
  };
304
- return /* @__PURE__ */ y(Fa, { children: [
305
- h.length > 0 && /* @__PURE__ */ y(j, { children: [
304
+ return /* @__PURE__ */ b(Fa, { children: [
305
+ h.length > 0 && /* @__PURE__ */ b(j, { children: [
306
306
  /* @__PURE__ */ i(
307
307
  D,
308
308
  {
@@ -314,16 +314,16 @@ const Oa = {
314
314
  children: r
315
315
  }
316
316
  ),
317
- /* @__PURE__ */ i(Va, { children: h.map((b) => /* @__PURE__ */ i(
317
+ /* @__PURE__ */ i(Va, { children: h.map((y) => /* @__PURE__ */ i(
318
318
  we,
319
319
  {
320
320
  appearance: "gray",
321
- label: b.label,
321
+ label: y.label,
322
322
  removable: !0,
323
- onClose: () => f(b.value),
323
+ onClose: () => f(y.value),
324
324
  displayIcon: !1
325
325
  },
326
- b.id
326
+ y.id
327
327
  )) })
328
328
  ] }),
329
329
  /* @__PURE__ */ i(
@@ -385,17 +385,17 @@ const Oa = {
385
385
  statusFrom: u,
386
386
  statusTo: h,
387
387
  onBlur: g
388
- } = e, [f, b] = Y(c), [m, T] = Y(l), S = (N) => {
388
+ } = e, [f, y] = Y(c), [m, T] = Y(l), S = (N) => {
389
389
  let A;
390
- a === "currency" ? A = Ut(N.target.value) : a === "date" ? A = new Date(N.target.value) : A = Number(N.target.value), b(A), t(A);
390
+ a === "currency" ? A = Ut(N.target.value) : a === "date" ? A = new Date(N.target.value) : A = Number(N.target.value), y(A), t(A);
391
391
  }, E = (N) => {
392
392
  let A;
393
393
  a === "currency" ? A = Ut(N.target.value) : a === "date" ? A = new Date(N.target.value) : A = Number(N.target.value), T(A), n(A);
394
394
  }, C = (N, A) => A === "currency" ? vt(N) : A === "date" && N instanceof Date ? N.toISOString().split("T")[0] : Number(N);
395
- return /* @__PURE__ */ y(v, { direction: "column", children: [
395
+ return /* @__PURE__ */ b(v, { direction: "column", children: [
396
396
  /* @__PURE__ */ i(D, { type: "label", weight: "bold", size: "large", appearance: "dark", children: o }),
397
- /* @__PURE__ */ y(Fe, { templateColumns: "repeat(2, 1fr)", margin: "10px 0", gap: "12px", children: [
398
- /* @__PURE__ */ y(v, { alignItems: "baseline", gap: "8px", children: [
397
+ /* @__PURE__ */ b(Fe, { templateColumns: "repeat(2, 1fr)", margin: "10px 0", gap: "12px", children: [
398
+ /* @__PURE__ */ b(v, { alignItems: "baseline", gap: "8px", children: [
399
399
  /* @__PURE__ */ i(D, { type: "body", size: "large", appearance: "dark", children: "De" }),
400
400
  a === "date" ? /* @__PURE__ */ i(
401
401
  Oe,
@@ -425,7 +425,7 @@ const Oa = {
425
425
  }
426
426
  )
427
427
  ] }),
428
- /* @__PURE__ */ y(v, { alignItems: "baseline", gap: "8px", children: [
428
+ /* @__PURE__ */ b(v, { alignItems: "baseline", gap: "8px", children: [
429
429
  /* @__PURE__ */ i(D, { type: "body", size: "large", appearance: "dark", children: "a" }),
430
430
  a === "date" ? /* @__PURE__ */ i(
431
431
  Oe,
@@ -536,7 +536,7 @@ const Oa = {
536
536
  condition: e,
537
537
  formik: t
538
538
  }) => {
539
- var n, r, a, o, s, c, l, d, p, u, h, g, f, b;
539
+ var n, r, a, o, s, c, l, d, p, u, h, g, f, y;
540
540
  return /* @__PURE__ */ i(
541
541
  Or,
542
542
  {
@@ -555,7 +555,7 @@ const Oa = {
555
555
  messageFrom: (o = (a = t.errors.conditionsThatEstablishesTheDecision) == null ? void 0 : a[e.conditionName]) == null ? void 0 : o.from,
556
556
  messageTo: (c = (s = t.errors.conditionsThatEstablishesTheDecision) == null ? void 0 : s[e.conditionName]) == null ? void 0 : c.to,
557
557
  statusFrom: (d = (l = t.touched.conditionsThatEstablishesTheDecision) == null ? void 0 : l[e.conditionName]) != null && d.from ? (u = (p = t.errors.conditionsThatEstablishesTheDecision) == null ? void 0 : p[e.conditionName]) != null && u.from ? "invalid" : "valid" : "pending",
558
- statusTo: (g = (h = t.touched.conditionsThatEstablishesTheDecision) == null ? void 0 : h[e.conditionName]) != null && g.to ? (b = (f = t.errors.conditionsThatEstablishesTheDecision) == null ? void 0 : f[e.conditionName]) != null && b.to ? "invalid" : "valid" : "pending",
558
+ statusTo: (g = (h = t.touched.conditionsThatEstablishesTheDecision) == null ? void 0 : h[e.conditionName]) != null && g.to ? (y = (f = t.errors.conditionsThatEstablishesTheDecision) == null ? void 0 : f[e.conditionName]) != null && y.to ? "invalid" : "valid" : "pending",
559
559
  onBlur: t.handleBlur,
560
560
  typeInput: e.conditionDataType.toLowerCase(),
561
561
  placeholderFrom: e.placeholderFrom,
@@ -668,7 +668,7 @@ const Oa = {
668
668
  onBlur: l,
669
669
  condition: d,
670
670
  listOfPossibleValues: p
671
- }) => /* @__PURE__ */ y(
671
+ }) => /* @__PURE__ */ b(
672
672
  v,
673
673
  {
674
674
  alignItems: c === "invalid" ? "baseline" : "center",
@@ -730,7 +730,7 @@ const Oa = {
730
730
  onBlur: l,
731
731
  placeholder: d,
732
732
  listOfPossibleValues: p
733
- }) => /* @__PURE__ */ y(
733
+ }) => /* @__PURE__ */ b(
734
734
  v,
735
735
  {
736
736
  alignItems: c === "invalid" ? "baseline" : "center",
@@ -795,7 +795,7 @@ const Oa = {
795
795
  onBlur: l,
796
796
  listOfPossibleValues: d,
797
797
  placeholder: p
798
- }) => /* @__PURE__ */ y(
798
+ }) => /* @__PURE__ */ b(
799
799
  v,
800
800
  {
801
801
  alignItems: c === "invalid" ? "baseline" : "center",
@@ -855,7 +855,7 @@ const Oa = {
855
855
  onBlur: l,
856
856
  listOfPossibleValues: d,
857
857
  placeholder: p
858
- }) => /* @__PURE__ */ y(
858
+ }) => /* @__PURE__ */ b(
859
859
  v,
860
860
  {
861
861
  alignItems: c === "invalid" ? "baseline" : "center",
@@ -918,7 +918,7 @@ const Oa = {
918
918
  placeholder: p
919
919
  }) => {
920
920
  const u = r == null ? "" : String(r);
921
- return /* @__PURE__ */ y(
921
+ return /* @__PURE__ */ b(
922
922
  v,
923
923
  {
924
924
  alignItems: c === "invalid" ? "baseline" : "center",
@@ -1263,7 +1263,7 @@ function zn(e, t) {
1263
1263
  const lo = (e) => {
1264
1264
  var a, o;
1265
1265
  const { message: t } = e, n = En(Dn), r = ((o = (a = n == null ? void 0 : n.input) == null ? void 0 : a.message) == null ? void 0 : o.appearance) || Ie.message.appearance;
1266
- return /* @__PURE__ */ y(v, { alignItems: "center", gap: "4px", margin: "4px 0 0 16px", children: [
1266
+ return /* @__PURE__ */ b(v, { alignItems: "center", gap: "4px", margin: "4px 0 0 16px", children: [
1267
1267
  /* @__PURE__ */ i(
1268
1268
  B,
1269
1269
  {
@@ -1299,7 +1299,7 @@ const lo = (e) => {
1299
1299
  options: h,
1300
1300
  placeholder: g,
1301
1301
  required: f,
1302
- size: b,
1302
+ size: y,
1303
1303
  value: m,
1304
1304
  picker: T,
1305
1305
  showChevron: S,
@@ -1322,8 +1322,8 @@ const lo = (e) => {
1322
1322
  target: { checked: !1, value: W }
1323
1323
  });
1324
1324
  };
1325
- return /* @__PURE__ */ y(to, { $fullwidth: o, $disabled: r, ref: t, children: [
1326
- l && /* @__PURE__ */ y(
1325
+ return /* @__PURE__ */ b(to, { $fullwidth: o, $disabled: r, ref: t, children: [
1326
+ l && /* @__PURE__ */ b(
1327
1327
  no,
1328
1328
  {
1329
1329
  $alignItems: "center",
@@ -1337,7 +1337,7 @@ const lo = (e) => {
1337
1337
  focused: a,
1338
1338
  invalid: c,
1339
1339
  margin: "0px 0px 0px 16px",
1340
- size: io(b),
1340
+ size: io(y),
1341
1341
  disabled: r,
1342
1342
  children: l
1343
1343
  }
@@ -1346,7 +1346,7 @@ const lo = (e) => {
1346
1346
  ]
1347
1347
  }
1348
1348
  ),
1349
- /* @__PURE__ */ y(
1349
+ /* @__PURE__ */ b(
1350
1350
  ro,
1351
1351
  {
1352
1352
  $disabled: r,
@@ -1354,7 +1354,7 @@ const lo = (e) => {
1354
1354
  $invalid: c,
1355
1355
  onClick: C ? void 0 : G,
1356
1356
  $value: m,
1357
- $size: b,
1357
+ $size: y,
1358
1358
  children: [
1359
1359
  /* @__PURE__ */ i(
1360
1360
  ao,
@@ -1367,7 +1367,7 @@ const lo = (e) => {
1367
1367
  placeholder: g,
1368
1368
  $disabled: r,
1369
1369
  required: f,
1370
- $size: b,
1370
+ $size: y,
1371
1371
  $fullwidth: o,
1372
1372
  $focused: a,
1373
1373
  readOnly: !C,
@@ -1378,7 +1378,7 @@ const lo = (e) => {
1378
1378
  onKeyUp: A
1379
1379
  }
1380
1380
  ),
1381
- /* @__PURE__ */ y(
1381
+ /* @__PURE__ */ b(
1382
1382
  v,
1383
1383
  {
1384
1384
  direction: "row",
@@ -1460,7 +1460,7 @@ const lo = (e) => {
1460
1460
  onFocus: h,
1461
1461
  onKeyUp: g,
1462
1462
  options: f,
1463
- placeholder: b,
1463
+ placeholder: y,
1464
1464
  required: m = !1,
1465
1465
  size: T = "wide",
1466
1466
  value: S,
@@ -1541,7 +1541,7 @@ const lo = (e) => {
1541
1541
  message: c,
1542
1542
  name: l,
1543
1543
  options: Q,
1544
- placeholder: b,
1544
+ placeholder: y,
1545
1545
  required: m,
1546
1546
  size: T,
1547
1547
  value: S,
@@ -1603,7 +1603,7 @@ const lo = (e) => {
1603
1603
  }) => {
1604
1604
  var a;
1605
1605
  const n = Array.isArray(t.values.value) && t.values.value.length > 0 ? t.values.value.join(",") : "", r = e.placeholder ?? "Seleccione una opción";
1606
- return /* @__PURE__ */ y(v, { alignItems: "center", gap: "16px", width: "100%", children: [
1606
+ return /* @__PURE__ */ b(v, { alignItems: "center", gap: "16px", width: "100%", children: [
1607
1607
  /* @__PURE__ */ i(
1608
1608
  D,
1609
1609
  {
@@ -1644,7 +1644,7 @@ const lo = (e) => {
1644
1644
  statusFrom: h,
1645
1645
  statusTo: g,
1646
1646
  onBlur: f,
1647
- onBlurFrom: b,
1647
+ onBlurFrom: y,
1648
1648
  onBlurTo: m,
1649
1649
  listOfPossibleValues: T,
1650
1650
  placeholderFrom: S,
@@ -1675,8 +1675,8 @@ const lo = (e) => {
1675
1675
  O(M), r(M);
1676
1676
  }, te = (L, M) => {
1677
1677
  L === `${a}SelectFrom` && (N(M), n(M)), L === `${a}SelectTo` && (O(M), r(M));
1678
- }, ie = (L, M) => M === "date" && L instanceof Date ? L.toISOString().split("T")[0] : typeof L == "number" ? L : L ?? "", ce = b ?? f, re = m ?? f;
1679
- return /* @__PURE__ */ y(
1678
+ }, ie = (L, M) => M === "date" && L instanceof Date ? L.toISOString().split("T")[0] : typeof L == "number" ? L : L ?? "", ce = y ?? f, re = m ?? f;
1679
+ return /* @__PURE__ */ b(
1680
1680
  v,
1681
1681
  {
1682
1682
  alignItems: p ? "baseline" : "center",
@@ -1693,8 +1693,8 @@ const lo = (e) => {
1693
1693
  children: s
1694
1694
  }
1695
1695
  ),
1696
- /* @__PURE__ */ y(v, { gap: "16px", alignItems: p ? "baseline" : "center", children: [
1697
- /* @__PURE__ */ y(
1696
+ /* @__PURE__ */ b(v, { gap: "16px", alignItems: p ? "baseline" : "center", children: [
1697
+ /* @__PURE__ */ b(
1698
1698
  v,
1699
1699
  {
1700
1700
  alignItems: p || u ? "baseline" : "center",
@@ -1802,8 +1802,8 @@ const lo = (e) => {
1802
1802
  condition: e,
1803
1803
  formik: t
1804
1804
  }) => {
1805
- var p, u, h, g, f, b, m, T, S, E, C, N;
1806
- const n = "value.from", r = "value.to", a = !!((p = t.touched.value) != null && p.from || (u = t.touched) != null && u.from), o = !!((h = t.touched.value) != null && h.to || (g = t.touched) != null && g.to), s = t.submitCount > 0 || a, c = t.submitCount > 0 || o, l = ((f = t.errors.value) == null ? void 0 : f.from) || ((b = t.errors) == null ? void 0 : b.from), d = ((m = t.errors.value) == null ? void 0 : m.to) || ((T = t.errors) == null ? void 0 : T.to);
1805
+ var p, u, h, g, f, y, m, T, S, E, C, N;
1806
+ const n = "value.from", r = "value.to", a = !!((p = t.touched.value) != null && p.from || (u = t.touched) != null && u.from), o = !!((h = t.touched.value) != null && h.to || (g = t.touched) != null && g.to), s = t.submitCount > 0 || a, c = t.submitCount > 0 || o, l = ((f = t.errors.value) == null ? void 0 : f.from) || ((y = t.errors) == null ? void 0 : y.from), d = ((m = t.errors.value) == null ? void 0 : m.to) || ((T = t.errors) == null ? void 0 : T.to);
1807
1807
  return /* @__PURE__ */ i(kn, { children: /* @__PURE__ */ i(
1808
1808
  Lr,
1809
1809
  {
@@ -1833,7 +1833,7 @@ const lo = (e) => {
1833
1833
  const n = (o, s) => {
1834
1834
  t.setFieldValue("value", s);
1835
1835
  }, r = e.placeholder ?? `Seleccione una opción para ${e.labelName}`;
1836
- return /* @__PURE__ */ i(kn, { children: /* @__PURE__ */ y(v, { gap: "16px", alignItems: "center", children: [
1836
+ return /* @__PURE__ */ i(kn, { children: /* @__PURE__ */ b(v, { gap: "16px", alignItems: "center", children: [
1837
1837
  /* @__PURE__ */ i(D, { type: "title", weight: "bold", size: "medium", appearance: "primary", children: e == null ? void 0 : e.labelName }),
1838
1838
  /* @__PURE__ */ i(
1839
1839
  Ae,
@@ -1858,7 +1858,7 @@ const lo = (e) => {
1858
1858
  const n = e.groupKey || "group-primary", r = e.conditionName, a = `conditionsThatEstablishesTheDecision.${n}.${r}`, o = ((m = t.values.conditionsThatEstablishesTheDecision) == null ? void 0 : m[n]) || {}, s = ((T = t.errors.conditionsThatEstablishesTheDecision) == null ? void 0 : T[n]) || {}, c = ((S = t.touched.conditionsThatEstablishesTheDecision) == null ? void 0 : S[n]) || {}, l = o[r];
1859
1859
  let d = "";
1860
1860
  l != null ? typeof l == "object" && !Array.isArray(l) && "value" in l ? d = l.value ?? "" : d = l : e.value !== void 0 && (d = e.value);
1861
- const p = s[r], u = c[r], h = typeof p == "string" ? p : p && typeof p == "object" && typeof p.value == "string" ? p.value : "", g = u && typeof u == "object" ? !!u.value : !!u, f = g && h ? "invalid" : g ? "valid" : void 0, b = (N, A) => {
1861
+ const p = s[r], u = c[r], h = typeof p == "string" ? p : p && typeof p == "object" && typeof p.value == "string" ? p.value : "", g = u && typeof u == "object" ? !!u.value : !!u, f = g && h ? "invalid" : g ? "valid" : void 0, y = (N, A) => {
1862
1862
  const O = o[r];
1863
1863
  O && typeof O == "object" && !Array.isArray(O) ? t.setFieldValue(`${a}.value`, A) : t.setFieldValue(a, {
1864
1864
  ...O && typeof O == "object" ? O : {},
@@ -1874,7 +1874,7 @@ const lo = (e) => {
1874
1874
  label: e.labelName,
1875
1875
  placeholder: e.placeholder,
1876
1876
  value: d,
1877
- onChange: b,
1877
+ onChange: y,
1878
1878
  messageValidate: h,
1879
1879
  statusValidate: f,
1880
1880
  onBlur: t.handleBlur,
@@ -1885,8 +1885,8 @@ const lo = (e) => {
1885
1885
  condition: e,
1886
1886
  formik: t
1887
1887
  }) => {
1888
- var u, h, g, f, b, m, T, S, E, C, N, A;
1889
- const n = e.groupKey || "group-primary", r = (h = (u = t.values.conditionsThatEstablishesTheDecision) == null ? void 0 : u[n]) == null ? void 0 : h[e.conditionName], a = (r == null ? void 0 : r.value) ?? r ?? {}, o = ((f = (g = t.errors.conditionsThatEstablishesTheDecision) == null ? void 0 : g[n]) == null ? void 0 : f[e.conditionName]) || {}, s = ((m = (b = t.touched.conditionsThatEstablishesTheDecision) == null ? void 0 : b[n]) == null ? void 0 : m[e.conditionName]) || {}, c = ((T = o == null ? void 0 : o.value) == null ? void 0 : T.from) || (o == null ? void 0 : o.from), l = ((S = o == null ? void 0 : o.value) == null ? void 0 : S.to) || (o == null ? void 0 : o.to), d = (E = s == null ? void 0 : s.value) != null && E.from || s != null && s.from ? c ? "invalid" : "valid" : "pending", p = (C = s == null ? void 0 : s.value) != null && C.to || s != null && s.to ? l ? "invalid" : "valid" : "pending";
1888
+ var u, h, g, f, y, m, T, S, E, C, N, A;
1889
+ const n = e.groupKey || "group-primary", r = (h = (u = t.values.conditionsThatEstablishesTheDecision) == null ? void 0 : u[n]) == null ? void 0 : h[e.conditionName], a = (r == null ? void 0 : r.value) ?? r ?? {}, o = ((f = (g = t.errors.conditionsThatEstablishesTheDecision) == null ? void 0 : g[n]) == null ? void 0 : f[e.conditionName]) || {}, s = ((m = (y = t.touched.conditionsThatEstablishesTheDecision) == null ? void 0 : y[n]) == null ? void 0 : m[e.conditionName]) || {}, c = ((T = o == null ? void 0 : o.value) == null ? void 0 : T.from) || (o == null ? void 0 : o.from), l = ((S = o == null ? void 0 : o.value) == null ? void 0 : S.to) || (o == null ? void 0 : o.to), d = (E = s == null ? void 0 : s.value) != null && E.from || s != null && s.from ? c ? "invalid" : "valid" : "pending", p = (C = s == null ? void 0 : s.value) != null && C.to || s != null && s.to ? l ? "invalid" : "valid" : "pending";
1890
1890
  return /* @__PURE__ */ i(
1891
1891
  Lr,
1892
1892
  {
@@ -1920,7 +1920,7 @@ const lo = (e) => {
1920
1920
  }) => {
1921
1921
  var c, l, d;
1922
1922
  const n = e.groupKey || "group-primary", r = (l = (c = t.values.conditionsThatEstablishesTheDecision) == null ? void 0 : c[n]) == null ? void 0 : l[e.conditionName], a = (r == null ? void 0 : r.value) ?? r, o = Array.isArray(a) ? a : [], s = o.length > 0 ? o.join(",") : "";
1923
- return /* @__PURE__ */ y(v, { alignItems: "center", gap: "16px", width: "100%", children: [
1923
+ return /* @__PURE__ */ b(v, { alignItems: "center", gap: "16px", width: "100%", children: [
1924
1924
  /* @__PURE__ */ i(D, { type: "body", weight: "normal", size: "medium", appearance: "dark", children: e.labelName }),
1925
1925
  /* @__PURE__ */ i(
1926
1926
  Rr,
@@ -1944,8 +1944,8 @@ const lo = (e) => {
1944
1944
  condition: e,
1945
1945
  formik: t
1946
1946
  }) => {
1947
- var u, h, g, f, b, m, T;
1948
- const n = e.groupKey || "group-primary", r = (h = (u = t.values.conditionsThatEstablishesTheDecision) == null ? void 0 : u[n]) == null ? void 0 : h[e.conditionName], a = (r == null ? void 0 : r.value) ?? "", o = (f = (g = t.errors.conditionsThatEstablishesTheDecision) == null ? void 0 : g[n]) == null ? void 0 : f[e.conditionName], s = (m = (b = t.touched.conditionsThatEstablishesTheDecision) == null ? void 0 : b[n]) == null ? void 0 : m[e.conditionName], l = ((S) => {
1947
+ var u, h, g, f, y, m, T;
1948
+ const n = e.groupKey || "group-primary", r = (h = (u = t.values.conditionsThatEstablishesTheDecision) == null ? void 0 : u[n]) == null ? void 0 : h[e.conditionName], a = (r == null ? void 0 : r.value) ?? "", o = (f = (g = t.errors.conditionsThatEstablishesTheDecision) == null ? void 0 : g[n]) == null ? void 0 : f[e.conditionName], s = (m = (y = t.touched.conditionsThatEstablishesTheDecision) == null ? void 0 : y[n]) == null ? void 0 : m[e.conditionName], l = ((S) => {
1949
1949
  if (S) {
1950
1950
  if (typeof S == "string") return S;
1951
1951
  if (typeof S == "object" && typeof S.value == "string")
@@ -1957,7 +1957,7 @@ const lo = (e) => {
1957
1957
  E
1958
1958
  );
1959
1959
  };
1960
- return /* @__PURE__ */ y(v, { gap: "16px", alignItems: "center", children: [
1960
+ return /* @__PURE__ */ b(v, { gap: "16px", alignItems: "center", children: [
1961
1961
  /* @__PURE__ */ i(D, { type: "body", weight: "normal", size: "medium", appearance: "dark", children: e == null ? void 0 : e.labelName }),
1962
1962
  /* @__PURE__ */ i(
1963
1963
  Ae,
@@ -2022,12 +2022,12 @@ const lo = (e) => {
2022
2022
  (m) => h.includes(m.id)
2023
2023
  ), f = (m, T) => {
2024
2024
  p(m, T);
2025
- }, b = (m) => {
2025
+ }, y = (m) => {
2026
2026
  const T = h.filter((S) => S !== m).join(",");
2027
2027
  p(n, T);
2028
2028
  };
2029
- return /* @__PURE__ */ y(v, { direction: "column", padding: "0", gap: "16px", children: [
2030
- g.length > 0 && /* @__PURE__ */ y(v, { gap: "16px", alignItems: "center", children: [
2029
+ return /* @__PURE__ */ b(v, { direction: "column", padding: "0", gap: "16px", children: [
2030
+ g.length > 0 && /* @__PURE__ */ b(v, { gap: "16px", alignItems: "center", children: [
2031
2031
  /* @__PURE__ */ i(
2032
2032
  D,
2033
2033
  {
@@ -2044,13 +2044,13 @@ const lo = (e) => {
2044
2044
  appearance: "gray",
2045
2045
  label: m.label,
2046
2046
  removable: !0,
2047
- onClose: () => b(m.value),
2047
+ onClose: () => y(m.value),
2048
2048
  displayIcon: !1
2049
2049
  },
2050
2050
  m.id
2051
2051
  )) }) })
2052
2052
  ] }),
2053
- /* @__PURE__ */ y(v, { gap: "16px", alignItems: "center", children: [
2053
+ /* @__PURE__ */ b(v, { gap: "16px", alignItems: "center", children: [
2054
2054
  /* @__PURE__ */ i(
2055
2055
  D,
2056
2056
  {
@@ -2158,7 +2158,7 @@ const Ao = {
2158
2158
  }
2159
2159
  `, $o = (e) => {
2160
2160
  const { label: t, labelType: n = "condition", type: r, valueInput: a } = e;
2161
- return /* @__PURE__ */ y(
2161
+ return /* @__PURE__ */ b(
2162
2162
  v,
2163
2163
  {
2164
2164
  direction: "column",
@@ -2194,7 +2194,7 @@ const Ao = {
2194
2194
  }
2195
2195
  ), ko = (e) => {
2196
2196
  const { id: t, label: n, options: r } = e;
2197
- return /* @__PURE__ */ y(v, { direction: "column", gap: "2px", children: [
2197
+ return /* @__PURE__ */ b(v, { direction: "column", gap: "2px", children: [
2198
2198
  /* @__PURE__ */ i(D, { type: "label", weight: "bold", size: "medium", appearance: "dark", children: n }),
2199
2199
  /* @__PURE__ */ i(v, { wrap: "wrap", gap: "8px", children: r.map((a) => /* @__PURE__ */ i(v, { width: "fit-content", children: /* @__PURE__ */ i(
2200
2200
  we,
@@ -2225,7 +2225,7 @@ const Ao = {
2225
2225
  valueFrom: a = 0,
2226
2226
  valueTo: o = 0
2227
2227
  } = e;
2228
- return /* @__PURE__ */ y(
2228
+ return /* @__PURE__ */ b(
2229
2229
  v,
2230
2230
  {
2231
2231
  direction: "column",
@@ -2250,7 +2250,7 @@ const Ao = {
2250
2250
  weight: n === "condition" ? "normal" : "bold",
2251
2251
  size: n === "condition" ? "medium" : "large",
2252
2252
  appearance: "gray",
2253
- children: /* @__PURE__ */ y(v, { gap: "4px", children: [
2253
+ children: /* @__PURE__ */ b(v, { gap: "4px", children: [
2254
2254
  "De",
2255
2255
  /* @__PURE__ */ i(
2256
2256
  D,
@@ -2371,7 +2371,7 @@ const Ao = {
2371
2371
  buttonAppearance: h = "primary",
2372
2372
  withIconTitle: g = !1,
2373
2373
  icon: f
2374
- } = e, b = Se("(max-width: 768px)"), m = document.getElementById(c);
2374
+ } = e, y = Se("(max-width: 768px)"), m = document.getElementById(c);
2375
2375
  if (!m)
2376
2376
  throw new Error(
2377
2377
  "The portal node is not defined. This can occur when the specific node used to render the portal has not been defined correctly."
@@ -2381,14 +2381,14 @@ const Ao = {
2381
2381
  Mo,
2382
2382
  {
2383
2383
  onClick: (T) => T.stopPropagation(),
2384
- children: /* @__PURE__ */ i(xt, { children: /* @__PURE__ */ y(_o, { $smallScreen: b, children: [
2385
- /* @__PURE__ */ y(v, { direction: "column", gap: "16px", children: [
2386
- /* @__PURE__ */ y(v, { alignContent: "center", justifyContent: "space-between", children: [
2387
- /* @__PURE__ */ y(v, { gap: "8px", children: [
2384
+ children: /* @__PURE__ */ i(xt, { children: /* @__PURE__ */ b(_o, { $smallScreen: y, children: [
2385
+ /* @__PURE__ */ b(v, { direction: "column", gap: "16px", children: [
2386
+ /* @__PURE__ */ b(v, { alignContent: "center", justifyContent: "space-between", children: [
2387
+ /* @__PURE__ */ b(v, { gap: "8px", children: [
2388
2388
  g && /* @__PURE__ */ i(B, { appearance: h, icon: f }),
2389
2389
  /* @__PURE__ */ i(D, { appearance: "dark", size: "small", type: "headline", children: l })
2390
2390
  ] }),
2391
- /* @__PURE__ */ y(v, { alignItems: "center", children: [
2391
+ /* @__PURE__ */ b(v, { alignItems: "center", children: [
2392
2392
  d && /* @__PURE__ */ i(D, { children: "Cerrar" }),
2393
2393
  /* @__PURE__ */ i(
2394
2394
  B,
@@ -2406,7 +2406,7 @@ const Ao = {
2406
2406
  p && /* @__PURE__ */ i(K, {})
2407
2407
  ] }),
2408
2408
  r,
2409
- /* @__PURE__ */ y(v, { gap: "20px", justifyContent: "flex-end", children: [
2409
+ /* @__PURE__ */ b(v, { gap: "20px", justifyContent: "flex-end", children: [
2410
2410
  u && /* @__PURE__ */ i(
2411
2411
  Z,
2412
2412
  {
@@ -2448,7 +2448,7 @@ const Ao = {
2448
2448
  showModal: c,
2449
2449
  validDate: l
2450
2450
  } = e;
2451
- return /* @__PURE__ */ y(v, { justifyContent: "space-between", alignItems: "center", width: "100%", children: [
2451
+ return /* @__PURE__ */ b(v, { justifyContent: "space-between", alignItems: "center", width: "100%", children: [
2452
2452
  /* @__PURE__ */ i(
2453
2453
  D,
2454
2454
  {
@@ -2494,7 +2494,7 @@ const Ao = {
2494
2494
  buttonAppearance: "help",
2495
2495
  withIconTitle: !0,
2496
2496
  icon: /* @__PURE__ */ i(nt, {}),
2497
- children: /* @__PURE__ */ y(v, { direction: "row", gap: "4px", wrap: "wrap", children: [
2497
+ children: /* @__PURE__ */ b(v, { direction: "row", gap: "4px", wrap: "wrap", children: [
2498
2498
  /* @__PURE__ */ i(D, { type: "title", size: "medium", weight: "normal", appearance: "gray", children: t }),
2499
2499
  /* @__PURE__ */ i(D, { type: "title", size: "medium", appearance: "dark", weight: "bold", children: Ue(a, r) }),
2500
2500
  /* @__PURE__ */ i(D, { type: "title", size: "medium", weight: "normal", appearance: "gray", children: "estará vigente hasta" }),
@@ -2535,7 +2535,7 @@ const Ao = {
2535
2535
  showModal: s,
2536
2536
  validDate: c
2537
2537
  } = e;
2538
- return /* @__PURE__ */ y(v, { justifyContent: "space-between", alignItems: "center", width: "100%", children: [
2538
+ return /* @__PURE__ */ b(v, { justifyContent: "space-between", alignItems: "center", width: "100%", children: [
2539
2539
  /* @__PURE__ */ i(D, { type: "label", weight: "bold", size: "medium", appearance: "gray", children: n }),
2540
2540
  /* @__PURE__ */ i(v, { wrap: "wrap", gap: "8px", children: r.map((l) => /* @__PURE__ */ i(v, { width: "fit-content", children: /* @__PURE__ */ i(
2541
2541
  we,
@@ -2572,7 +2572,7 @@ const Ao = {
2572
2572
  buttonAppearance: "help",
2573
2573
  withIconTitle: !0,
2574
2574
  icon: /* @__PURE__ */ i(nt, {}),
2575
- children: /* @__PURE__ */ y(v, { direction: "row", gap: "4px", wrap: "wrap", children: [
2575
+ children: /* @__PURE__ */ b(v, { direction: "row", gap: "4px", wrap: "wrap", children: [
2576
2576
  /* @__PURE__ */ i(D, { type: "title", size: "medium", weight: "normal", appearance: "gray", children: n }),
2577
2577
  r.map((l) => /* @__PURE__ */ i(
2578
2578
  we,
@@ -2626,7 +2626,7 @@ const Ao = {
2626
2626
  showModal: l,
2627
2627
  validDate: d
2628
2628
  } = e, p = `De ${Ue(a, r)} a ${Ue(o, r)}`;
2629
- return /* @__PURE__ */ y(
2629
+ return /* @__PURE__ */ b(
2630
2630
  v,
2631
2631
  {
2632
2632
  gap: "8px",
@@ -2680,7 +2680,7 @@ const Ao = {
2680
2680
  buttonAppearance: "help",
2681
2681
  withIconTitle: !0,
2682
2682
  icon: /* @__PURE__ */ i(nt, {}),
2683
- children: /* @__PURE__ */ y(v, { direction: "row", gap: "4px", wrap: "wrap", children: [
2683
+ children: /* @__PURE__ */ b(v, { direction: "row", gap: "4px", wrap: "wrap", children: [
2684
2684
  /* @__PURE__ */ i(D, { type: "title", size: "medium", weight: "normal", appearance: "gray", children: t }),
2685
2685
  /* @__PURE__ */ i(D, { type: "title", size: "medium", appearance: "dark", weight: "bold", children: p }),
2686
2686
  /* @__PURE__ */ i(D, { type: "title", size: "medium", weight: "normal", appearance: "gray", children: "estará vigente hasta" }),
@@ -2770,7 +2770,7 @@ const Ao = {
2770
2770
  textValues: l,
2771
2771
  visibleConditions: d
2772
2772
  } = e;
2773
- return o ? /* @__PURE__ */ y(v, { direction: "column", gap: "12px", children: [
2773
+ return o ? /* @__PURE__ */ b(v, { direction: "column", gap: "12px", children: [
2774
2774
  /* @__PURE__ */ i(v, { direction: "column", alignItems: "center", children: /* @__PURE__ */ i(
2775
2775
  et,
2776
2776
  {
@@ -2782,7 +2782,7 @@ const Ao = {
2782
2782
  }
2783
2783
  ) }, n.ruleName),
2784
2784
  /* @__PURE__ */ i(K, { dashed: !0 }),
2785
- /* @__PURE__ */ i(Gn, { children: /* @__PURE__ */ y(
2785
+ /* @__PURE__ */ i(Gn, { children: /* @__PURE__ */ b(
2786
2786
  v,
2787
2787
  {
2788
2788
  direction: "column",
@@ -2823,12 +2823,12 @@ const Ao = {
2823
2823
  ]
2824
2824
  }
2825
2825
  ) })
2826
- ] }) : /* @__PURE__ */ y(v, { direction: "column", gap: "12px", children: [
2827
- /* @__PURE__ */ y(v, { direction: "column", alignItems: "center", gap: "4px", children: [
2826
+ ] }) : /* @__PURE__ */ b(v, { direction: "column", gap: "12px", children: [
2827
+ /* @__PURE__ */ b(v, { direction: "column", alignItems: "center", gap: "4px", children: [
2828
2828
  /* @__PURE__ */ i(fe, { animated: !0, width: "180px" }),
2829
2829
  /* @__PURE__ */ i(fe, { animated: !0, width: "85px" })
2830
2830
  ] }, "loading"),
2831
- /* @__PURE__ */ y(v, { direction: "column", gap: "12px", alignItems: "center", children: [
2831
+ /* @__PURE__ */ b(v, { direction: "column", gap: "12px", alignItems: "center", children: [
2832
2832
  /* @__PURE__ */ i(K, { dashed: !0 }),
2833
2833
  /* @__PURE__ */ i(fe, { animated: !0, width: "150px" })
2834
2834
  ] }),
@@ -2839,7 +2839,7 @@ const Ao = {
2839
2839
  gap: "12px",
2840
2840
  justifyContent: "space-between",
2841
2841
  height: "203px",
2842
- children: s.map((p, u) => /* @__PURE__ */ i(jn, { children: /* @__PURE__ */ y(
2842
+ children: s.map((p, u) => /* @__PURE__ */ i(jn, { children: /* @__PURE__ */ b(
2843
2843
  v,
2844
2844
  {
2845
2845
  direction: "column",
@@ -2952,8 +2952,8 @@ const Ao = {
2952
2952
  );
2953
2953
  const s = Se("(max-width: 400px)");
2954
2954
  return Dt(
2955
- /* @__PURE__ */ i(Wo, { smallScreen: s, children: /* @__PURE__ */ i(xt, { children: /* @__PURE__ */ i(Qo, { children: /* @__PURE__ */ y(v, { direction: "column", gap: "24px", children: [
2956
- /* @__PURE__ */ i(v, { direction: "column", gap: "24px", children: /* @__PURE__ */ y(v, { alignItems: "center", justifyContent: "space-between", children: [
2955
+ /* @__PURE__ */ i(Wo, { smallScreen: s, children: /* @__PURE__ */ i(xt, { children: /* @__PURE__ */ i(Qo, { children: /* @__PURE__ */ b(v, { direction: "column", gap: "24px", children: [
2956
+ /* @__PURE__ */ i(v, { direction: "column", gap: "24px", children: /* @__PURE__ */ b(v, { alignItems: "center", justifyContent: "space-between", children: [
2957
2957
  /* @__PURE__ */ i(D, { type: "title", size: "large", appearance: "dark", weight: "bold", children: a }),
2958
2958
  /* @__PURE__ */ i(wt, { size: "24px", cursor: "pointer", onClick: r })
2959
2959
  ] }) }),
@@ -3055,7 +3055,7 @@ const Fr = $.div`
3055
3055
  );
3056
3056
  }, ti = (e) => {
3057
3057
  const { decision: t, controls: n, handleOpenModal: r, handleDelete: a, textValues: o } = e;
3058
- return t ? /* @__PURE__ */ i(Et, { children: /* @__PURE__ */ y(v, { direction: "column", gap: "4px", width: "100%", padding: "0 0 12px 0", children: [
3058
+ return t ? /* @__PURE__ */ i(Et, { children: /* @__PURE__ */ b(v, { direction: "column", gap: "4px", width: "100%", padding: "0 0 12px 0", children: [
3059
3059
  /* @__PURE__ */ i(D, { type: "title", size: "medium", appearance: "gray", weight: "bold", children: t.decisionId }),
3060
3060
  /* @__PURE__ */ i(
3061
3061
  Nt,
@@ -3075,7 +3075,7 @@ const Fr = $.div`
3075
3075
  handleOpenModal: r,
3076
3076
  shouldRenderEmptyMessage: a
3077
3077
  } = e, o = t || "Agregar decisión";
3078
- return /* @__PURE__ */ i(Et, { children: a ? null : /* @__PURE__ */ y(v, { direction: "column", gap: "4px", width: "100%", height: "100%", children: [
3078
+ return /* @__PURE__ */ i(Et, { children: a ? null : /* @__PURE__ */ b(v, { direction: "column", gap: "4px", width: "100%", height: "100%", children: [
3079
3079
  /* @__PURE__ */ i(D, { type: "title", size: "medium", appearance: "gray", weight: "bold", children: "Nueva decisión" }),
3080
3080
  /* @__PURE__ */ i(
3081
3081
  Fr,
@@ -3089,7 +3089,7 @@ const Fr = $.div`
3089
3089
  },
3090
3090
  handleView: () => r ? r() : null,
3091
3091
  controls: !1,
3092
- children: /* @__PURE__ */ y(v, { direction: "column", gap: "12px", alignItems: "center", children: [
3092
+ children: /* @__PURE__ */ b(v, { direction: "column", gap: "12px", alignItems: "center", children: [
3093
3093
  /* @__PURE__ */ i(B, { appearance: "gray", icon: /* @__PURE__ */ i(St, {}), size: "35px" }),
3094
3094
  /* @__PURE__ */ i(D, { appearance: "gray", type: "body", size: "large", children: o })
3095
3095
  ] })
@@ -3154,7 +3154,7 @@ const Fr = $.div`
3154
3154
  handleSubmitForm: h,
3155
3155
  handleDelete: g,
3156
3156
  terms: f = !0
3157
- } = e, b = Se("(max-width: 681px)"), m = Se("(max-width: 400px)"), { renderedCards: T, shouldRenderAddCard: S } = ai({
3157
+ } = e, y = Se("(max-width: 681px)"), m = Se("(max-width: 400px)"), { renderedCards: T, shouldRenderAddCard: S } = ai({
3158
3158
  controls: t,
3159
3159
  customTitleContentAddCard: n,
3160
3160
  decisions: a,
@@ -3163,20 +3163,20 @@ const Fr = $.div`
3163
3163
  handleDelete: g,
3164
3164
  textValues: o
3165
3165
  }), E = (a == null ? void 0 : a.length) === 0 && !d;
3166
- return /* @__PURE__ */ y(j, { children: [
3167
- /* @__PURE__ */ i(Zo, { children: /* @__PURE__ */ i(Ko, { children: /* @__PURE__ */ i(v, { direction: "column", gap: "16px", padding: "6px", children: E ? /* @__PURE__ */ y(
3166
+ return /* @__PURE__ */ b(j, { children: [
3167
+ /* @__PURE__ */ i(Zo, { children: /* @__PURE__ */ i(Ko, { children: /* @__PURE__ */ i(v, { direction: "column", gap: "16px", padding: "6px", children: E ? /* @__PURE__ */ b(
3168
3168
  v,
3169
3169
  {
3170
3170
  direction: "column",
3171
3171
  gap: "28px",
3172
3172
  width: "100%",
3173
- height: b ? "auto" : "435px",
3173
+ height: y ? "auto" : "435px",
3174
3174
  justifyContent: "center",
3175
3175
  alignItems: "center",
3176
3176
  children: [
3177
- /* @__PURE__ */ i(D, { as: "span", type: "label", size: "large", appearance: "gray", children: r || /* @__PURE__ */ y(j, { children: [
3177
+ /* @__PURE__ */ i(D, { as: "span", type: "label", size: "large", appearance: "gray", children: r || /* @__PURE__ */ b(j, { children: [
3178
3178
  "Aún NO tienes definidas tasas de interés efectivas . Presiona",
3179
- /* @__PURE__ */ y(
3179
+ /* @__PURE__ */ b(
3180
3180
  D,
3181
3181
  {
3182
3182
  as: "span",
@@ -3203,7 +3203,7 @@ const Fr = $.div`
3203
3203
  )
3204
3204
  ]
3205
3205
  }
3206
- ) : /* @__PURE__ */ y(
3206
+ ) : /* @__PURE__ */ b(
3207
3207
  Fe,
3208
3208
  {
3209
3209
  templateColumns: m ? "repeat(auto-fill, minmax(200px, 1fr))" : "repeat(auto-fill, minmax(300px, 1fr))",
@@ -3214,7 +3214,7 @@ const Fr = $.div`
3214
3214
  autoRows: "1fr",
3215
3215
  justifyItems: "center",
3216
3216
  padding: "6px",
3217
- height: b ? "auto" : "484px",
3217
+ height: y ? "auto" : "484px",
3218
3218
  children: [
3219
3219
  T,
3220
3220
  S && pn({
@@ -3296,8 +3296,8 @@ const Fr = $.div`
3296
3296
  );
3297
3297
  const s = Se("(max-width: 400px)");
3298
3298
  return Dt(
3299
- /* @__PURE__ */ i(oi, { $smallScreen: s, children: /* @__PURE__ */ i(xt, { children: /* @__PURE__ */ i(ii, { children: /* @__PURE__ */ y(v, { direction: "column", gap: "24px", children: [
3300
- /* @__PURE__ */ i(v, { direction: "column", gap: "24px", children: /* @__PURE__ */ y(v, { alignItems: "center", justifyContent: "space-between", children: [
3299
+ /* @__PURE__ */ i(oi, { $smallScreen: s, children: /* @__PURE__ */ i(xt, { children: /* @__PURE__ */ i(ii, { children: /* @__PURE__ */ b(v, { direction: "column", gap: "24px", children: [
3300
+ /* @__PURE__ */ i(v, { direction: "column", gap: "24px", children: /* @__PURE__ */ b(v, { alignItems: "center", justifyContent: "space-between", children: [
3301
3301
  /* @__PURE__ */ i(D, { type: "title", size: "large", appearance: "dark", weight: "bold", children: a }),
3302
3302
  /* @__PURE__ */ i(wt, { size: "24px", cursor: "pointer", onClick: r })
3303
3303
  ] }) }),
@@ -3460,7 +3460,7 @@ const di = $.div`
3460
3460
  textValues: l,
3461
3461
  visibleConditions: d
3462
3462
  } = e;
3463
- return o ? /* @__PURE__ */ y(v, { direction: "column", gap: "12px", children: [
3463
+ return o ? /* @__PURE__ */ b(v, { direction: "column", gap: "12px", children: [
3464
3464
  /* @__PURE__ */ i(v, { direction: "column", alignItems: "center", children: /* @__PURE__ */ i(
3465
3465
  et,
3466
3466
  {
@@ -3472,7 +3472,7 @@ const di = $.div`
3472
3472
  }
3473
3473
  ) }, n.ruleName),
3474
3474
  /* @__PURE__ */ i(K, { dashed: !0 }),
3475
- /* @__PURE__ */ i(Hn, { children: /* @__PURE__ */ y(
3475
+ /* @__PURE__ */ i(Hn, { children: /* @__PURE__ */ b(
3476
3476
  v,
3477
3477
  {
3478
3478
  direction: "column",
@@ -3513,12 +3513,12 @@ const di = $.div`
3513
3513
  ]
3514
3514
  }
3515
3515
  ) })
3516
- ] }) : /* @__PURE__ */ y(v, { direction: "column", gap: "12px", children: [
3517
- /* @__PURE__ */ y(v, { direction: "column", alignItems: "center", gap: "4px", children: [
3516
+ ] }) : /* @__PURE__ */ b(v, { direction: "column", gap: "12px", children: [
3517
+ /* @__PURE__ */ b(v, { direction: "column", alignItems: "center", gap: "4px", children: [
3518
3518
  /* @__PURE__ */ i(fe, { animated: !0, width: "180px" }),
3519
3519
  /* @__PURE__ */ i(fe, { animated: !0, width: "85px" })
3520
3520
  ] }, "loading"),
3521
- /* @__PURE__ */ y(v, { direction: "column", gap: "12px", alignItems: "center", children: [
3521
+ /* @__PURE__ */ b(v, { direction: "column", gap: "12px", alignItems: "center", children: [
3522
3522
  /* @__PURE__ */ i(K, { dashed: !0 }),
3523
3523
  /* @__PURE__ */ i(fe, { animated: !0, width: "150px" })
3524
3524
  ] }),
@@ -3529,7 +3529,7 @@ const di = $.div`
3529
3529
  gap: "12px",
3530
3530
  justifyContent: "space-between",
3531
3531
  height: "203px",
3532
- children: s.map((p, u) => /* @__PURE__ */ i(Bn, { children: /* @__PURE__ */ y(
3532
+ children: s.map((p, u) => /* @__PURE__ */ i(Bn, { children: /* @__PURE__ */ b(
3533
3533
  v,
3534
3534
  {
3535
3535
  direction: "column",
@@ -3637,9 +3637,9 @@ $.div`
3637
3637
  `;
3638
3638
  const Ni = (e) => {
3639
3639
  const { children: t, controls: n = !0, handleDelete: r, id: a } = e;
3640
- return /* @__PURE__ */ i(Di, { children: /* @__PURE__ */ y(v, { direction: "column", gap: "16px", padding: "12px 16px", children: [
3640
+ return /* @__PURE__ */ i(Di, { children: /* @__PURE__ */ b(v, { direction: "column", gap: "16px", padding: "12px 16px", children: [
3641
3641
  t,
3642
- n && /* @__PURE__ */ y(j, { children: [
3642
+ n && /* @__PURE__ */ b(j, { children: [
3643
3643
  /* @__PURE__ */ i(K, {}),
3644
3644
  /* @__PURE__ */ i(v, { gap: "16px", justifyContent: "end", children: /* @__PURE__ */ i(
3645
3645
  B,
@@ -3659,7 +3659,7 @@ const Ni = (e) => {
3659
3659
  const { decision: t, controls: n, handleOpenModal: r, handleDelete: a, textValues: o, index: s } = e;
3660
3660
  if (!t) return null;
3661
3661
  const c = typeof s == "number" ? `Decisión ${s + 1}` : t.decisionId;
3662
- return /* @__PURE__ */ i(Et, { children: /* @__PURE__ */ y(v, { direction: "column", gap: "4px", width: "100%", padding: "0 0 12px 0", children: [
3662
+ return /* @__PURE__ */ i(Et, { children: /* @__PURE__ */ b(v, { direction: "column", gap: "4px", width: "100%", padding: "0 0 12px 0", children: [
3663
3663
  /* @__PURE__ */ i(D, { type: "title", size: "medium", appearance: "gray", weight: "bold", children: c }),
3664
3664
  /* @__PURE__ */ i(
3665
3665
  Ni,
@@ -3685,7 +3685,7 @@ const Ni = (e) => {
3685
3685
  handleOpenModal: r,
3686
3686
  shouldRenderEmptyMessage: a
3687
3687
  } = e, o = t || "Agregar decisión";
3688
- return /* @__PURE__ */ i(Et, { children: a ? null : /* @__PURE__ */ y(v, { direction: "column", gap: "4px", width: "100%", height: "100%", children: [
3688
+ return /* @__PURE__ */ i(Et, { children: a ? null : /* @__PURE__ */ b(v, { direction: "column", gap: "4px", width: "100%", height: "100%", children: [
3689
3689
  /* @__PURE__ */ i(D, { type: "title", size: "medium", appearance: "gray", weight: "bold", children: "Nueva decisión" }),
3690
3690
  /* @__PURE__ */ i(
3691
3691
  Fr,
@@ -3699,7 +3699,7 @@ const Ni = (e) => {
3699
3699
  },
3700
3700
  handleView: () => r ? r() : null,
3701
3701
  controls: !1,
3702
- children: /* @__PURE__ */ y(v, { direction: "column", gap: "12px", alignItems: "center", children: [
3702
+ children: /* @__PURE__ */ b(v, { direction: "column", gap: "12px", alignItems: "center", children: [
3703
3703
  /* @__PURE__ */ i(B, { appearance: "gray", icon: /* @__PURE__ */ i(St, {}), size: "35px" }),
3704
3704
  /* @__PURE__ */ i(D, { appearance: "gray", type: "body", size: "large", children: o })
3705
3705
  ] })
@@ -3830,7 +3830,7 @@ function Vi({
3830
3830
  "La fecha de inicio es requerida"
3831
3831
  ), l.validUntil = yt().when(
3832
3832
  "checkClosed",
3833
- (g, f, { parent: b }) => (b == null ? void 0 : b.checkClosed) ? f.required("La fecha de finalización es requerida").test(
3833
+ (g, f, { parent: y }) => (y == null ? void 0 : y.checkClosed) ? f.required("La fecha de finalización es requerida").test(
3834
3834
  "is-after-startDate",
3835
3835
  "La fecha de finalización debe ser mayor o igual a la fecha de inicio",
3836
3836
  function(T) {
@@ -3846,8 +3846,8 @@ function Vi({
3846
3846
  validate: (g) => {
3847
3847
  const f = {};
3848
3848
  if (!g.toggleNone) {
3849
- const b = g.conditionsThatEstablishesTheDecision || {}, m = Object.keys(b).filter(
3850
- (T) => b[T] !== void 0
3849
+ const y = g.conditionsThatEstablishesTheDecision || {}, m = Object.keys(y).filter(
3850
+ (T) => y[T] !== void 0
3851
3851
  );
3852
3852
  if (m.length > 0) {
3853
3853
  const T = qn(
@@ -3866,7 +3866,7 @@ function Vi({
3866
3866
  validateOnBlur: !0,
3867
3867
  onSubmit: (g) => {
3868
3868
  var T;
3869
- const f = ((T = e.conditionGroups) == null ? void 0 : T.ConditionGroupId) ?? "group-primary", b = g.toggleNone ? [] : qn(g, r), m = {
3869
+ const f = ((T = e.conditionGroups) == null ? void 0 : T.ConditionGroupId) ?? "group-primary", y = g.toggleNone ? [] : qn(g, r), m = {
3870
3870
  ...e,
3871
3871
  ruleName: g.ruleName,
3872
3872
  decisionDataType: g.decisionDataType,
@@ -3876,7 +3876,7 @@ function Vi({
3876
3876
  validUntil: g.validUntil,
3877
3877
  conditionGroups: {
3878
3878
  ConditionGroupId: f,
3879
- conditionsThatEstablishesTheDecision: b
3879
+ conditionsThatEstablishesTheDecision: y
3880
3880
  }
3881
3881
  };
3882
3882
  t(m);
@@ -3928,7 +3928,7 @@ const _i = $.div`
3928
3928
  } = e, [l, d] = Y(t);
3929
3929
  return Pe(() => {
3930
3930
  d(t);
3931
- }, [t]), /* @__PURE__ */ y(j, { children: [
3931
+ }, [t]), /* @__PURE__ */ b(j, { children: [
3932
3932
  /* @__PURE__ */ i(v, { children: /* @__PURE__ */ i(
3933
3933
  rt,
3934
3934
  {
@@ -3960,15 +3960,15 @@ const _i = $.div`
3960
3960
  messageEnd: u = "",
3961
3961
  statusStart: h = "pending",
3962
3962
  statusEnd: g = "pending"
3963
- } = e, [f, b] = Y(s), [m, T] = Y(l), [S, E] = Y(d), C = ({ target: V }) => {
3964
- b(V.checked), r && r(V.checked);
3963
+ } = e, [f, y] = Y(s), [m, T] = Y(l), [S, E] = Y(d), C = ({ target: V }) => {
3964
+ y(V.checked), r && r(V.checked);
3965
3965
  }, N = (V) => {
3966
3966
  T(V.target.value), t(V);
3967
3967
  }, A = (V) => {
3968
3968
  E(V.target.value), n(V);
3969
3969
  }, O = Se("(max-width: 400px)");
3970
- return /* @__PURE__ */ y(j, { children: [
3971
- /* @__PURE__ */ y(v, { direction: "row", justifyContent: "space-between", margin: "10px 0", children: [
3970
+ return /* @__PURE__ */ b(j, { children: [
3971
+ /* @__PURE__ */ b(v, { direction: "row", justifyContent: "space-between", margin: "10px 0", children: [
3972
3972
  /* @__PURE__ */ i(
3973
3973
  D,
3974
3974
  {
@@ -3999,7 +3999,7 @@ const _i = $.div`
3999
3999
  }
4000
4000
  )
4001
4001
  ] }),
4002
- /* @__PURE__ */ y(
4002
+ /* @__PURE__ */ b(
4003
4003
  v,
4004
4004
  {
4005
4005
  direction: O ? "column" : "row",
@@ -4051,14 +4051,14 @@ const Ui = (e) => {
4051
4051
  termStartStatus: d,
4052
4052
  termEndStatus: p
4053
4053
  } = e;
4054
- return /* @__PURE__ */ i("form", { onSubmit: t.handleSubmit, children: /* @__PURE__ */ y(v, { direction: "column", gap: "24px", children: [
4054
+ return /* @__PURE__ */ i("form", { onSubmit: t.handleSubmit, children: /* @__PURE__ */ b(v, { direction: "column", gap: "24px", children: [
4055
4055
  Gt({
4056
4056
  condition: o,
4057
4057
  formik: t,
4058
4058
  isDecision: !0
4059
4059
  }),
4060
4060
  /* @__PURE__ */ i(K, { dashed: !0 }),
4061
- /* @__PURE__ */ i(_i, { children: /* @__PURE__ */ i(Mi, { children: /* @__PURE__ */ y(
4061
+ /* @__PURE__ */ i(_i, { children: /* @__PURE__ */ i(Mi, { children: /* @__PURE__ */ b(
4062
4062
  v,
4063
4063
  {
4064
4064
  direction: "column",
@@ -4066,7 +4066,7 @@ const Ui = (e) => {
4066
4066
  gap: "16px",
4067
4067
  height: "272px",
4068
4068
  children: [
4069
- /* @__PURE__ */ y(
4069
+ /* @__PURE__ */ b(
4070
4070
  v,
4071
4071
  {
4072
4072
  justifyContent: "space-between",
@@ -4108,7 +4108,7 @@ const Ui = (e) => {
4108
4108
  ]
4109
4109
  }
4110
4110
  ) }) }),
4111
- n.terms && /* @__PURE__ */ y(j, { children: [
4111
+ n.terms && /* @__PURE__ */ b(j, { children: [
4112
4112
  /* @__PURE__ */ i(K, { dashed: !0 }),
4113
4113
  /* @__PURE__ */ i(
4114
4114
  zi,
@@ -4132,7 +4132,7 @@ const Ui = (e) => {
4132
4132
  ] }),
4133
4133
  /* @__PURE__ */ i(K, {}),
4134
4134
  l && /* @__PURE__ */ i(D, { type: "label", size: "medium", appearance: "danger", children: typeof t.errors.conditionsThatEstablishesTheDecision == "string" ? t.errors.conditionsThatEstablishesTheDecision : "Existen errores en el formulario, por favor revísalos." }),
4135
- /* @__PURE__ */ y(v, { direction: "row", justifyContent: "end", gap: "16px", children: [
4135
+ /* @__PURE__ */ b(v, { direction: "row", justifyContent: "end", gap: "16px", children: [
4136
4136
  /* @__PURE__ */ i(Z, { appearance: "gray", onClick: r, children: n.cancel }),
4137
4137
  /* @__PURE__ */ i(Z, { type: "submit", children: n.confirm })
4138
4138
  ] })
@@ -4150,7 +4150,7 @@ const Ui = (e) => {
4150
4150
  decisionDataType: t.decisionDataType,
4151
4151
  listOfPossibleValues: t.listOfPossibleValues
4152
4152
  }, l = ((f = (g = t.conditionGroups[0]) == null ? void 0 : g.conditionsThatEstablishesTheDecision) == null ? void 0 : f.filter(
4153
- (b) => !b.hidden
4153
+ (y) => !y.hidden
4154
4154
  )) || [], d = !!o.errors.conditionsThatEstablishesTheDecision && o.submitCount > 0, p = o.touched.effectiveFrom ? o.errors.effectiveFrom ? "invalid" : "valid" : void 0, u = o.touched.validUntil ? o.errors.validUntil ? "invalid" : "valid" : void 0;
4155
4155
  return /* @__PURE__ */ i(
4156
4156
  Ui,
@@ -4162,19 +4162,19 @@ const Ui = (e) => {
4162
4162
  visibleConditions: l,
4163
4163
  normalizedDecision: c,
4164
4164
  handleToggleNoneChange: s,
4165
- handleConditionToggleChange: (b, m) => (T) => {
4165
+ handleConditionToggleChange: (y, m) => (T) => {
4166
4166
  if (T) {
4167
4167
  const S = m ? [] : "";
4168
4168
  s(!1), o.setFieldValue(
4169
- `conditionsThatEstablishesTheDecision.${b}`,
4169
+ `conditionsThatEstablishesTheDecision.${y}`,
4170
4170
  S
4171
4171
  );
4172
4172
  } else {
4173
4173
  o.setFieldValue(
4174
- `conditionsThatEstablishesTheDecision.${b}`,
4174
+ `conditionsThatEstablishesTheDecision.${y}`,
4175
4175
  void 0
4176
4176
  ), o.setFieldTouched(
4177
- `conditionsThatEstablishesTheDecision.${b}`,
4177
+ `conditionsThatEstablishesTheDecision.${y}`,
4178
4178
  !1,
4179
4179
  !1
4180
4180
  );
@@ -4239,7 +4239,7 @@ const Ui = (e) => {
4239
4239
  handleSubmitForm: h,
4240
4240
  handleDelete: g,
4241
4241
  terms: f = !0
4242
- } = e, b = Se("(max-width: 681px)"), m = Se("(max-width: 400px)"), { renderedCards: T, shouldRenderAddCard: S } = Gi({
4242
+ } = e, y = Se("(max-width: 681px)"), m = Se("(max-width: 400px)"), { renderedCards: T, shouldRenderAddCard: S } = Gi({
4243
4243
  controls: t,
4244
4244
  customTitleContentAddCard: n,
4245
4245
  decisions: a,
@@ -4248,20 +4248,20 @@ const Ui = (e) => {
4248
4248
  handleDelete: g,
4249
4249
  textValues: o
4250
4250
  }), E = (a == null ? void 0 : a.length) === 0 && !d;
4251
- return /* @__PURE__ */ y(j, { children: [
4252
- /* @__PURE__ */ i(di, { children: /* @__PURE__ */ i(ci, { children: /* @__PURE__ */ i(v, { direction: "column", gap: "16px", padding: "6px", children: E ? /* @__PURE__ */ y(
4251
+ return /* @__PURE__ */ b(j, { children: [
4252
+ /* @__PURE__ */ i(di, { children: /* @__PURE__ */ i(ci, { children: /* @__PURE__ */ i(v, { direction: "column", gap: "16px", padding: "6px", children: E ? /* @__PURE__ */ b(
4253
4253
  v,
4254
4254
  {
4255
4255
  direction: "column",
4256
4256
  gap: "28px",
4257
4257
  width: "100%",
4258
- height: b ? "auto" : "435px",
4258
+ height: y ? "auto" : "435px",
4259
4259
  justifyContent: "center",
4260
4260
  alignItems: "center",
4261
4261
  children: [
4262
- /* @__PURE__ */ i(D, { as: "span", type: "label", size: "large", appearance: "gray", children: r || /* @__PURE__ */ y(j, { children: [
4262
+ /* @__PURE__ */ i(D, { as: "span", type: "label", size: "large", appearance: "gray", children: r || /* @__PURE__ */ b(j, { children: [
4263
4263
  "Aún NO tienes definidas tasas de interés efectivas . Presiona",
4264
- /* @__PURE__ */ y(
4264
+ /* @__PURE__ */ b(
4265
4265
  D,
4266
4266
  {
4267
4267
  as: "span",
@@ -4288,7 +4288,7 @@ const Ui = (e) => {
4288
4288
  )
4289
4289
  ]
4290
4290
  }
4291
- ) : /* @__PURE__ */ y(
4291
+ ) : /* @__PURE__ */ b(
4292
4292
  Fe,
4293
4293
  {
4294
4294
  templateColumns: m ? "repeat(auto-fill, minmax(200px, 1fr))" : "repeat(auto-fill, minmax(300px, 1fr))",
@@ -4299,7 +4299,7 @@ const Ui = (e) => {
4299
4299
  autoRows: "1fr",
4300
4300
  justifyItems: "center",
4301
4301
  padding: "6px",
4302
- height: b ? "auto" : "484px",
4302
+ height: y ? "auto" : "484px",
4303
4303
  children: [
4304
4304
  T,
4305
4305
  S && hn({
@@ -4407,7 +4407,7 @@ const Ui = (e) => {
4407
4407
  borderRadius: h,
4408
4408
  border: g,
4409
4409
  margin: f = "0px",
4410
- padding: b = "0px",
4410
+ padding: y = "0px",
4411
4411
  boxSizing: m,
4412
4412
  scroll: T = !1
4413
4413
  } = e;
@@ -4426,7 +4426,7 @@ const Ui = (e) => {
4426
4426
  $background: u,
4427
4427
  $border: g,
4428
4428
  $margin: f,
4429
- $padding: b,
4429
+ $padding: y,
4430
4430
  $borderRadius: h,
4431
4431
  $boxSizing: m,
4432
4432
  $scroll: T,
@@ -4494,7 +4494,7 @@ const nl = (e) => {
4494
4494
  validUntilRenderer: h,
4495
4495
  onEdit: g,
4496
4496
  onDelete: f,
4497
- tabs: b,
4497
+ tabs: y,
4498
4498
  selectedTab: m,
4499
4499
  onTabChange: T,
4500
4500
  currentConditions: S,
@@ -4502,14 +4502,14 @@ const nl = (e) => {
4502
4502
  editionMode: C = "versioned",
4503
4503
  withEditOption: N = "false"
4504
4504
  } = e;
4505
- return o ? /* @__PURE__ */ y(v, { direction: "column", gap: "16px", children: [
4506
- /* @__PURE__ */ i(Ki, { onClick: l, children: /* @__PURE__ */ y(
4505
+ return o ? /* @__PURE__ */ b(v, { direction: "column", gap: "16px", children: [
4506
+ /* @__PURE__ */ i(Ki, { onClick: l, children: /* @__PURE__ */ b(
4507
4507
  v,
4508
4508
  {
4509
4509
  alignItems: "start",
4510
4510
  justifyContent: "space-between",
4511
4511
  children: [
4512
- /* @__PURE__ */ y(v, { gap: "12px", children: [
4512
+ /* @__PURE__ */ b(v, { gap: "12px", children: [
4513
4513
  /* @__PURE__ */ i(el, { children: /* @__PURE__ */ i(
4514
4514
  we,
4515
4515
  {
@@ -4531,8 +4531,8 @@ const nl = (e) => {
4531
4531
  }
4532
4532
  ) })
4533
4533
  ] }),
4534
- /* @__PURE__ */ y(v, { gap: "12px", children: [
4535
- t && /* @__PURE__ */ y(j, { children: [
4534
+ /* @__PURE__ */ b(v, { gap: "12px", children: [
4535
+ t && /* @__PURE__ */ b(j, { children: [
4536
4536
  N && /* @__PURE__ */ i(
4537
4537
  B,
4538
4538
  {
@@ -4572,12 +4572,12 @@ const nl = (e) => {
4572
4572
  },
4573
4573
  r.ruleName
4574
4574
  ) }),
4575
- c && /* @__PURE__ */ y(j, { children: [
4575
+ c && /* @__PURE__ */ b(j, { children: [
4576
4576
  /* @__PURE__ */ i(K, { dashed: !0 }),
4577
4577
  E ? /* @__PURE__ */ i(
4578
4578
  Ar,
4579
4579
  {
4580
- tabs: b,
4580
+ tabs: y,
4581
4581
  selectedTab: m,
4582
4582
  onChange: T
4583
4583
  }
@@ -4593,7 +4593,7 @@ const nl = (e) => {
4593
4593
  children: "Condiciones que lo determinan"
4594
4594
  }
4595
4595
  ),
4596
- /* @__PURE__ */ i(v, { direction: "column", gap: "20px", children: /* @__PURE__ */ y(
4596
+ /* @__PURE__ */ i(v, { direction: "column", gap: "20px", children: /* @__PURE__ */ b(
4597
4597
  v,
4598
4598
  {
4599
4599
  direction: "column",
@@ -4664,12 +4664,12 @@ const nl = (e) => {
4664
4664
  }
4665
4665
  ) })
4666
4666
  ] })
4667
- ] }) : /* @__PURE__ */ y(v, { justifyContent: "space-between", children: [
4668
- /* @__PURE__ */ y(v, { alignItems: "center", gap: "8px", children: [
4667
+ ] }) : /* @__PURE__ */ b(v, { justifyContent: "space-between", children: [
4668
+ /* @__PURE__ */ b(v, { alignItems: "center", gap: "8px", children: [
4669
4669
  /* @__PURE__ */ i(fe, { animated: !0, width: "150px" }),
4670
4670
  /* @__PURE__ */ i(fe, { animated: !0, width: "70px" })
4671
4671
  ] }),
4672
- /* @__PURE__ */ y(v, { alignItems: "center", gap: "8px", children: [
4672
+ /* @__PURE__ */ b(v, { alignItems: "center", gap: "8px", children: [
4673
4673
  /* @__PURE__ */ i(fe, { animated: !0, width: "50px" }),
4674
4674
  /* @__PURE__ */ i(ba, { animated: !0 })
4675
4675
  ] })
@@ -4795,7 +4795,7 @@ const nl = (e) => {
4795
4795
  ...n,
4796
4796
  i18nValue: `De ${X}% a ${be}%`
4797
4797
  };
4798
- }, [n]) ?? n, f = !!(g != null && g.effectiveFrom), b = !!(g != null && g.validUntil), m = f ? {
4798
+ }, [n]) ?? n, f = !!(g != null && g.effectiveFrom), y = !!(g != null && g.validUntil), m = f ? {
4799
4799
  element: {
4800
4800
  labelName: "Vigencia desde:",
4801
4801
  value: Lt(g.effectiveFrom),
@@ -4807,7 +4807,7 @@ const nl = (e) => {
4807
4807
  howToSetTheDecision: z.EQUAL,
4808
4808
  decisionDataType: q.DATE
4809
4809
  })
4810
- } : null, T = b ? {
4810
+ } : null, T = y ? {
4811
4811
  element: {
4812
4812
  labelName: "Vigencia hasta:",
4813
4813
  value: Lt(g.validUntil),
@@ -4938,7 +4938,7 @@ const nl = (e) => {
4938
4938
  isOpen: o,
4939
4939
  onToggle: s,
4940
4940
  hasEffectiveFrom: f,
4941
- hasValidUntil: b,
4941
+ hasValidUntil: y,
4942
4942
  effectiveFromRenderer: m,
4943
4943
  validUntilRenderer: T,
4944
4944
  onEdit: c,
@@ -5173,10 +5173,10 @@ const ll = $.div`
5173
5173
  "The portal node is not defined. This can occur when the specific node used to render the portal has not been defined correctly."
5174
5174
  );
5175
5175
  return Dt(
5176
- /* @__PURE__ */ i(zr, { children: /* @__PURE__ */ i(xt, { children: /* @__PURE__ */ i(hl, { $size: s, children: /* @__PURE__ */ y(v, { direction: "column", gap: "24px", children: [
5177
- /* @__PURE__ */ y(v, { direction: "column", gap: "24px", children: [
5178
- /* @__PURE__ */ y(v, { alignItems: "center", justifyContent: "space-between", children: [
5179
- /* @__PURE__ */ y(v, { direction: "column", gap: "8px", children: [
5176
+ /* @__PURE__ */ i(zr, { children: /* @__PURE__ */ i(xt, { children: /* @__PURE__ */ i(hl, { $size: s, children: /* @__PURE__ */ b(v, { direction: "column", gap: "24px", children: [
5177
+ /* @__PURE__ */ b(v, { direction: "column", gap: "24px", children: [
5178
+ /* @__PURE__ */ b(v, { alignItems: "center", justifyContent: "space-between", children: [
5179
+ /* @__PURE__ */ b(v, { direction: "column", gap: "8px", children: [
5180
5180
  /* @__PURE__ */ i(
5181
5181
  D,
5182
5182
  {
@@ -5344,17 +5344,17 @@ function Sl({
5344
5344
  ), o = Object.fromEntries(
5345
5345
  Object.entries(r).map(([h, g]) => {
5346
5346
  const f = {};
5347
- return g.forEach((b) => {
5348
- const m = b.conditionName, T = b.value !== void 0 && b.value !== null && b.value !== "", S = b.howToSetTheCondition === ge.LIST_OF_VALUES_MULTI ? [] : "";
5347
+ return g.forEach((y) => {
5348
+ const m = y.conditionName, T = y.value !== void 0 && y.value !== null && y.value !== "", S = y.howToSetTheCondition === ge.LIST_OF_VALUES_MULTI ? [] : "";
5349
5349
  f[m] = {
5350
- ...b,
5351
- value: T ? b.value : S
5350
+ ...y,
5351
+ value: T ? y.value : S
5352
5352
  };
5353
5353
  }), [h, f];
5354
5354
  })
5355
5355
  ), s = Object.entries(r).map(
5356
5356
  ([h, g]) => {
5357
- const f = o[h] || {}, b = g.map((m) => {
5357
+ const f = o[h] || {}, y = g.map((m) => {
5358
5358
  const T = m.conditionName, S = f[T], E = S && typeof S == "object" && "value" in S ? S.value : m.value;
5359
5359
  return {
5360
5360
  ...m,
@@ -5363,7 +5363,7 @@ function Sl({
5363
5363
  });
5364
5364
  return {
5365
5365
  ConditionGroupId: h,
5366
- conditionsThatEstablishesTheDecision: b
5366
+ conditionsThatEstablishesTheDecision: y
5367
5367
  };
5368
5368
  }
5369
5369
  ), c = {
@@ -5391,9 +5391,9 @@ function Sl({
5391
5391
  conditionsThatEstablishesTheDecision: bt((h, { parent: g }) => {
5392
5392
  const f = Me(e) || {};
5393
5393
  if (Object.keys(f).length === 0) return ne().shape({});
5394
- const b = g == null ? void 0 : g.conditionsThatEstablishesTheDecision, m = !!(g != null && g.toggleNone);
5394
+ const y = g == null ? void 0 : g.conditionsThatEstablishesTheDecision, m = !!(g != null && g.toggleNone);
5395
5395
  let T = !1;
5396
- if (b && typeof b == "object" && (T = Object.values(b).some(
5396
+ if (y && typeof y == "object" && (T = Object.values(y).some(
5397
5397
  (E) => E && typeof E == "object" && Object.values(E).some(
5398
5398
  (C) => on(C)
5399
5399
  )
@@ -5401,7 +5401,7 @@ function Sl({
5401
5401
  if (!T) return ne().shape({});
5402
5402
  const S = {};
5403
5403
  for (const [E, C] of Object.entries(f)) {
5404
- const N = b == null ? void 0 : b[E], A = {};
5404
+ const N = y == null ? void 0 : y[E], A = {};
5405
5405
  C.forEach((O) => {
5406
5406
  const V = N == null ? void 0 : N[O.conditionName];
5407
5407
  if (!on(V)) return;
@@ -5427,16 +5427,16 @@ function Sl({
5427
5427
  validateOnBlur: !0,
5428
5428
  onSubmit: (h) => {
5429
5429
  const g = Object.fromEntries(
5430
- Object.entries(r).map(([b, m]) => {
5430
+ Object.entries(r).map(([y, m]) => {
5431
5431
  var E;
5432
- const T = ((E = h.conditionsThatEstablishesTheDecision) == null ? void 0 : E[b]) || {}, S = m.map((C) => {
5432
+ const T = ((E = h.conditionsThatEstablishesTheDecision) == null ? void 0 : E[y]) || {}, S = m.map((C) => {
5433
5433
  const N = C.conditionName, A = T[N], O = yn(A);
5434
5434
  return {
5435
5435
  ...C,
5436
5436
  value: O
5437
5437
  };
5438
5438
  }).filter((C) => on(C.value));
5439
- return [b, S];
5439
+ return [y, S];
5440
5440
  })
5441
5441
  ), f = {
5442
5442
  ...e,
@@ -5452,13 +5452,13 @@ function Sl({
5452
5452
  }
5453
5453
  }), { formik: l, handleToggleNoneChange: (h) => {
5454
5454
  l.setFieldValue("toggleNone", h), a().forEach(({ group: g, cond: f }) => {
5455
- const b = `conditionsThatEstablishesTheDecision.${g}.${f.conditionName}`;
5455
+ const y = `conditionsThatEstablishesTheDecision.${g}.${f.conditionName}`;
5456
5456
  if (h)
5457
- l.setFieldValue(b, void 0);
5457
+ l.setFieldValue(y, void 0);
5458
5458
  else {
5459
5459
  const m = f.howToSetTheCondition === ge.LIST_OF_VALUES_MULTI ? [] : "";
5460
5460
  l.setFieldValue(
5461
- b,
5461
+ y,
5462
5462
  {
5463
5463
  ...f,
5464
5464
  value: m
@@ -5519,12 +5519,12 @@ const xl = $.div`
5519
5519
  messageEnd: l = "",
5520
5520
  statusStart: d = "pending",
5521
5521
  statusEnd: p = "pending"
5522
- } = e, [u, h] = Y(o), [g, f] = Y(s), b = (S) => {
5522
+ } = e, [u, h] = Y(o), [g, f] = Y(s), y = (S) => {
5523
5523
  h(S.target.value), t(S);
5524
5524
  }, m = (S) => {
5525
5525
  f(S.target.value), n(S);
5526
5526
  }, T = Se("(max-width: 400px)");
5527
- return /* @__PURE__ */ i(v, { direction: "column", width: "100%", gap: "20px", children: /* @__PURE__ */ y(
5527
+ return /* @__PURE__ */ i(v, { direction: "column", width: "100%", gap: "20px", children: /* @__PURE__ */ b(
5528
5528
  v,
5529
5529
  {
5530
5530
  direction: T ? "column" : "row",
@@ -5536,7 +5536,7 @@ const xl = $.div`
5536
5536
  {
5537
5537
  id: "dateStart",
5538
5538
  label: r,
5539
- onChange: b,
5539
+ onChange: y,
5540
5540
  value: u,
5541
5541
  required: !0,
5542
5542
  size: "compact",
@@ -5579,15 +5579,15 @@ const xl = $.div`
5579
5579
  portalId: h,
5580
5580
  showRedefineConfirm: g,
5581
5581
  onOpenRedefineConfirm: f,
5582
- onCloseRedefineConfirm: b,
5582
+ onCloseRedefineConfirm: y,
5583
5583
  onConfirmRedefine: m,
5584
5584
  withTerm: T,
5585
5585
  decisionNumber: S
5586
5586
  } = e;
5587
- return /* @__PURE__ */ y(j, { children: [
5588
- /* @__PURE__ */ i("form", { onSubmit: r.handleSubmit, autoComplete: "off", children: /* @__PURE__ */ y(v, { direction: "column", gap: "24px", width: "100%", children: [
5589
- /* @__PURE__ */ i(Qe, { legend: `Decisión N° ${S}`, spacing: "wide", children: /* @__PURE__ */ y(v, { direction: "column", width: "100%", gap: "16px", children: [
5590
- /* @__PURE__ */ y(
5587
+ return /* @__PURE__ */ b(j, { children: [
5588
+ /* @__PURE__ */ i("form", { onSubmit: r.handleSubmit, autoComplete: "off", children: /* @__PURE__ */ b(v, { direction: "column", gap: "24px", width: "100%", children: [
5589
+ /* @__PURE__ */ i(Qe, { legend: `Decisión N° ${S}`, spacing: "wide", children: /* @__PURE__ */ b(v, { direction: "column", width: "100%", gap: "16px", children: [
5590
+ /* @__PURE__ */ b(
5591
5591
  v,
5592
5592
  {
5593
5593
  justifyContent: "center",
@@ -5619,7 +5619,7 @@ const xl = $.div`
5619
5619
  }
5620
5620
  ) })
5621
5621
  ] }) }),
5622
- n && n.length > 0 && /* @__PURE__ */ i(Qe, { legend: "Condiciones a evaluar", spacing: "wide", children: /* @__PURE__ */ y(v, { direction: "column", gap: "20px", width: "100%", children: [
5622
+ n && n.length > 0 && /* @__PURE__ */ i(Qe, { legend: "Condiciones a evaluar", spacing: "wide", children: /* @__PURE__ */ b(v, { direction: "column", gap: "20px", width: "100%", children: [
5623
5623
  /* @__PURE__ */ i(
5624
5624
  Ar,
5625
5625
  {
@@ -5628,7 +5628,7 @@ const xl = $.div`
5628
5628
  selectedTab: t
5629
5629
  }
5630
5630
  ),
5631
- /* @__PURE__ */ y(v, { justifyContent: "flex-end", alignItems: "center", children: [
5631
+ /* @__PURE__ */ b(v, { justifyContent: "flex-end", alignItems: "center", children: [
5632
5632
  /* @__PURE__ */ i(
5633
5633
  B,
5634
5634
  {
@@ -5653,8 +5653,8 @@ const xl = $.div`
5653
5653
  ] }),
5654
5654
  /* @__PURE__ */ i(v, { direction: "column", gap: "20px", children: n == null ? void 0 : n.map((E) => {
5655
5655
  const C = E.__scopedName ?? `${E.groupKey}.${E.conditionName}`;
5656
- return /* @__PURE__ */ y(v, { gap: "16px", alignItems: "center", children: [
5657
- /* @__PURE__ */ y(xl, { children: [
5656
+ return /* @__PURE__ */ b(v, { gap: "16px", alignItems: "center", children: [
5657
+ /* @__PURE__ */ b(xl, { children: [
5658
5658
  /* @__PURE__ */ i(
5659
5659
  Un,
5660
5660
  {
@@ -5677,7 +5677,7 @@ const xl = $.div`
5677
5677
  }) }),
5678
5678
  l && /* @__PURE__ */ i(D, { type: "label", size: "medium", appearance: "danger", children: "Existen errores en el formulario, por favor revísalos." })
5679
5679
  ] }) }),
5680
- /* @__PURE__ */ y(v, { direction: "row", justifyContent: "end", gap: "16px", children: [
5680
+ /* @__PURE__ */ b(v, { direction: "row", justifyContent: "end", gap: "16px", children: [
5681
5681
  /* @__PURE__ */ i(Z, { appearance: "gray", onClick: o, variant: "outlined", children: "Cancelar" }),
5682
5682
  /* @__PURE__ */ i(Z, { type: "submit", children: "Confirmar" })
5683
5683
  ] })
@@ -5687,18 +5687,18 @@ const xl = $.div`
5687
5687
  {
5688
5688
  portalId: h,
5689
5689
  title: "Redefinir la condición",
5690
- onCloseModal: b,
5690
+ onCloseModal: y,
5691
5691
  size: "600px",
5692
- children: /* @__PURE__ */ y(v, { direction: "column", gap: "16px", children: [
5692
+ children: /* @__PURE__ */ b(v, { direction: "column", gap: "16px", children: [
5693
5693
  /* @__PURE__ */ i(D, { type: "body", size: "large", appearance: "gray", children: "¿Estás seguro? Se perderá todo lo que tienes actualmente definido y deberás reescribir completamente la condición, de esta manera podrás usar las últimas variables condicionales que están definidas en la actualidad para esta decisión ." }),
5694
- /* @__PURE__ */ y(v, { justifyContent: "end", gap: "12px", children: [
5694
+ /* @__PURE__ */ b(v, { justifyContent: "end", gap: "12px", children: [
5695
5695
  /* @__PURE__ */ i(
5696
5696
  Z,
5697
5697
  {
5698
5698
  type: "button",
5699
5699
  appearance: "gray",
5700
5700
  variant: "outlined",
5701
- onClick: b,
5701
+ onClick: y,
5702
5702
  cursorHover: !0,
5703
5703
  children: "Cancelar"
5704
5704
  }
@@ -5818,9 +5818,9 @@ const ut = (e) => {
5818
5818
  }), u = s ?? t, h = Me(u), g = Me(t), f = Mr(
5819
5819
  g,
5820
5820
  (I) => !I.hidden
5821
- ), b = Object.keys(f), m = b.includes("group-primary") && b.length > 0 ? "group-primary" : b[0], T = m != null ? [
5822
- ...b.filter((I) => I === m),
5823
- ...b.filter((I) => I !== m)
5821
+ ), y = Object.keys(f), m = y.includes("group-primary") && y.length > 0 ? "group-primary" : y[0], T = m != null ? [
5822
+ ...y.filter((I) => I === m),
5823
+ ...y.filter((I) => I !== m)
5824
5824
  ] : [], S = {};
5825
5825
  let E = 1;
5826
5826
  const C = T.map((I) => {
@@ -6047,14 +6047,14 @@ const ut = (e) => {
6047
6047
  r(a);
6048
6048
  }, [a]);
6049
6049
  const o = (p) => {
6050
- a.some((h) => h.id === p) || r((h) => {
6051
- if (h.some((b) => b.id === p))
6052
- return h.filter((b) => b.id !== p);
6053
- const f = t.find((b) => b.id === p);
6054
- return f ? [...h, f] : h;
6050
+ r((u) => {
6051
+ if (u.some((f) => f.id === p))
6052
+ return u.filter((f) => f.id !== p);
6053
+ const g = t.find((f) => f.id === p);
6054
+ return g ? [...u, g] : u;
6055
6055
  });
6056
6056
  }, s = () => {
6057
- r(a);
6057
+ r([]);
6058
6058
  }, c = () => {
6059
6059
  r(t);
6060
6060
  }, l = n.length === 0, d = n.length === t.length;
@@ -6081,10 +6081,10 @@ const ut = (e) => {
6081
6081
  handleCheckboxChange: u
6082
6082
  } = Ul({ options: t });
6083
6083
  return Dt(
6084
- /* @__PURE__ */ i(zr, { children: /* @__PURE__ */ i(xt, { children: /* @__PURE__ */ i(Pl, { children: /* @__PURE__ */ y(v, { direction: "column", gap: "24px", children: [
6085
- /* @__PURE__ */ y(v, { direction: "column", gap: "24px", children: [
6086
- /* @__PURE__ */ y(v, { alignItems: "center", justifyContent: "space-between", children: [
6087
- /* @__PURE__ */ y(v, { direction: "column", gap: "8px", children: [
6084
+ /* @__PURE__ */ i(zr, { children: /* @__PURE__ */ i(xt, { children: /* @__PURE__ */ i(Pl, { children: /* @__PURE__ */ b(v, { direction: "column", gap: "24px", children: [
6085
+ /* @__PURE__ */ b(v, { direction: "column", gap: "24px", children: [
6086
+ /* @__PURE__ */ b(v, { alignItems: "center", justifyContent: "space-between", children: [
6087
+ /* @__PURE__ */ b(v, { direction: "column", gap: "8px", children: [
6088
6088
  /* @__PURE__ */ i(
6089
6089
  D,
6090
6090
  {
@@ -6101,9 +6101,9 @@ const ut = (e) => {
6101
6101
  ] }),
6102
6102
  /* @__PURE__ */ i(K, { dashed: !0 })
6103
6103
  ] }),
6104
- /* @__PURE__ */ i(Ml, { children: /* @__PURE__ */ y(v, { direction: "column", gap: "20px", children: [
6104
+ /* @__PURE__ */ i(Ml, { children: /* @__PURE__ */ b(v, { direction: "column", gap: "20px", children: [
6105
6105
  /* @__PURE__ */ i(D, { type: "title", size: "medium", weight: "normal", children: " ¿Qué condiciones determinan la decisión?" }),
6106
- /* @__PURE__ */ y(v, { justifyContent: "space-between", children: [
6106
+ /* @__PURE__ */ b(v, { justifyContent: "space-between", children: [
6107
6107
  /* @__PURE__ */ i(
6108
6108
  rt,
6109
6109
  {
@@ -6133,7 +6133,7 @@ const ut = (e) => {
6133
6133
  h.id
6134
6134
  )) }) })
6135
6135
  ] }) }),
6136
- /* @__PURE__ */ y(v, { justifyContent: "flex-end", gap: "12px", children: [
6136
+ /* @__PURE__ */ b(v, { justifyContent: "flex-end", gap: "12px", children: [
6137
6137
  /* @__PURE__ */ i(Z, { appearance: "gray", onClick: r, children: "Cancelar" }),
6138
6138
  /* @__PURE__ */ i(Z, { onClick: () => a(p), children: "Continuar" })
6139
6139
  ] })
@@ -6157,7 +6157,7 @@ const ut = (e) => {
6157
6157
  handleCloseModal: h,
6158
6158
  handleSubmitForm: g,
6159
6159
  handleDelete: f,
6160
- onRemoveCondition: b,
6160
+ onRemoveCondition: y,
6161
6161
  onRestoreConditions: m,
6162
6162
  handleOpenRulesModal: T = () => {
6163
6163
  },
@@ -6182,8 +6182,8 @@ const ut = (e) => {
6182
6182
  editionMode: c,
6183
6183
  withEditOption: C
6184
6184
  }), ce = ((o == null ? void 0 : o.length) || 0) + 1, re = (o == null ? void 0 : o.length) === 0 && !p;
6185
- return /* @__PURE__ */ y(j, { children: [
6186
- /* @__PURE__ */ y(v, { justifyContent: "space-between", padding: "6px", children: [
6185
+ return /* @__PURE__ */ b(j, { children: [
6186
+ /* @__PURE__ */ b(v, { justifyContent: "space-between", padding: "6px", children: [
6187
6187
  /* @__PURE__ */ i(D, { type: "title", weight: "bold", size: "medium", appearance: "gray", children: "Consulta de las decisiones definidas" }),
6188
6188
  /* @__PURE__ */ i(
6189
6189
  Z,
@@ -6196,7 +6196,7 @@ const ut = (e) => {
6196
6196
  }
6197
6197
  )
6198
6198
  ] }),
6199
- /* @__PURE__ */ i(ll, { children: /* @__PURE__ */ i(sl, { children: /* @__PURE__ */ i(v, { direction: "column", gap: "16px", padding: "6px", children: E && (re ? /* @__PURE__ */ i(Qe, { legend: "Decisiones", children: /* @__PURE__ */ y(
6199
+ /* @__PURE__ */ i(ll, { children: /* @__PURE__ */ i(sl, { children: /* @__PURE__ */ i(v, { direction: "column", gap: "16px", padding: "6px", children: E && (re ? /* @__PURE__ */ i(Qe, { legend: "Decisiones", children: /* @__PURE__ */ b(
6200
6200
  v,
6201
6201
  {
6202
6202
  direction: "column",
@@ -6223,7 +6223,7 @@ const ut = (e) => {
6223
6223
  children: "Sin decisiones"
6224
6224
  }
6225
6225
  ),
6226
- /* @__PURE__ */ i(D, { as: "span", size: "medium", appearance: "gray", children: a || /* @__PURE__ */ y(j, { children: [
6226
+ /* @__PURE__ */ i(D, { as: "span", size: "medium", appearance: "gray", children: a || /* @__PURE__ */ b(j, { children: [
6227
6227
  "Aun no tienes decisiones definidas, para empezar haz clic en",
6228
6228
  r || ' "Agregar decisión"'
6229
6229
  ] }) })
@@ -6267,7 +6267,7 @@ const ut = (e) => {
6267
6267
  onSubmitEvent: g,
6268
6268
  onCancel: () => V ? V() : () => {
6269
6269
  },
6270
- onRemoveCondition: b,
6270
+ onRemoveCondition: y,
6271
6271
  onRestoreConditions: m,
6272
6272
  withTerm: N,
6273
6273
  decisionNumber: ce
@@ -6323,12 +6323,12 @@ const ql = (e, t) => {
6323
6323
  var E;
6324
6324
  const g = d.clientWidth, f = Array.from(
6325
6325
  p.querySelectorAll('[data-filter-tag="true"]')
6326
- ), b = 48;
6326
+ ), y = 48;
6327
6327
  let m = 0;
6328
6328
  const T = [], S = [];
6329
6329
  for (let C = 0; C < t.length; C++) {
6330
6330
  const N = ((E = f[C]) == null ? void 0 : E.offsetWidth) ?? 0;
6331
- m + N + b <= g ? (T.push(t[C]), m += N) : S.push(t[C]);
6331
+ m + N + y <= g ? (T.push(t[C]), m += N) : S.push(t[C]);
6332
6332
  }
6333
6333
  r(T), o(S), c(S.length > 0);
6334
6334
  }, h = new ResizeObserver(() => {
@@ -6411,8 +6411,8 @@ const Yl = $.div`
6411
6411
  }};
6412
6412
  }
6413
6413
  `, Jl = (e) => {
6414
- var h, g, f, b, m, T;
6415
- const { id: t, label: n, leadingIcon: r, onClose: a } = e, [o, s] = Y(!1), c = () => s(!0), l = () => s(!1), d = En(Dn), p = ((f = (g = (h = d == null ? void 0 : d.input) == null ? void 0 : h.option) == null ? void 0 : g.appearance) == null ? void 0 : f.hover) ?? vn.option.appearance.hover, u = ((T = (m = (b = d == null ? void 0 : d.input) == null ? void 0 : b.option) == null ? void 0 : m.appearance) == null ? void 0 : T.regular) ?? vn.option.appearance.regular;
6414
+ var h, g, f, y, m, T;
6415
+ const { id: t, label: n, leadingIcon: r, onClose: a } = e, [o, s] = Y(!1), c = () => s(!0), l = () => s(!1), d = En(Dn), p = ((f = (g = (h = d == null ? void 0 : d.input) == null ? void 0 : h.option) == null ? void 0 : g.appearance) == null ? void 0 : f.hover) ?? vn.option.appearance.hover, u = ((T = (m = (y = d == null ? void 0 : d.input) == null ? void 0 : y.option) == null ? void 0 : m.appearance) == null ? void 0 : T.regular) ?? vn.option.appearance.regular;
6416
6416
  return /* @__PURE__ */ i(
6417
6417
  Xl,
6418
6418
  {
@@ -6422,7 +6422,7 @@ const Yl = $.div`
6422
6422
  onClick: (S) => {
6423
6423
  S.stopPropagation();
6424
6424
  },
6425
- children: /* @__PURE__ */ y(
6425
+ children: /* @__PURE__ */ b(
6426
6426
  Fe,
6427
6427
  {
6428
6428
  alignItems: "center",
@@ -6477,14 +6477,14 @@ const Yl = $.div`
6477
6477
  hidden: u,
6478
6478
  showOverflowIndicator: h,
6479
6479
  measurementRef: g
6480
- } = ql(c, t), [f, b] = Y(!1), m = (N) => {
6481
- N.stopPropagation(), b((A) => !A);
6480
+ } = ql(c, t), [f, y] = Y(!1), m = (N) => {
6481
+ N.stopPropagation(), y((A) => !A);
6482
6482
  };
6483
6483
  Pe(() => {
6484
6484
  const N = (A) => {
6485
6485
  var G, te;
6486
6486
  const O = A.target;
6487
- !((G = l.current) != null && G.contains(O)) && !((te = d.current) != null && te.contains(O)) && b(!1);
6487
+ !((G = l.current) != null && G.contains(O)) && !((te = d.current) != null && te.contains(O)) && y(!1);
6488
6488
  };
6489
6489
  return f && window.addEventListener("mousedown", N), () => window.removeEventListener("mousedown", N);
6490
6490
  }, [f]);
@@ -6495,9 +6495,9 @@ const Yl = $.div`
6495
6495
  icon: N.icon
6496
6496
  })), C = (N) => {
6497
6497
  var A, O;
6498
- (O = (A = u.find((V) => V.label === N)) == null ? void 0 : A.onClose) == null || O.call(A), b(!1);
6498
+ (O = (A = u.find((V) => V.label === N)) == null ? void 0 : A.onClose) == null || O.call(A), y(!1);
6499
6499
  };
6500
- return /* @__PURE__ */ y(Hl, { borderRadius: "8px", width: "100%", children: [
6500
+ return /* @__PURE__ */ b(Hl, { borderRadius: "8px", width: "100%", children: [
6501
6501
  /* @__PURE__ */ i(Wl, { ref: g, children: t.map((N) => /* @__PURE__ */ i("div", { "data-filter-tag": "true", children: /* @__PURE__ */ i(
6502
6502
  we,
6503
6503
  {
@@ -6509,7 +6509,7 @@ const Yl = $.div`
6509
6509
  onClose: N.onClose
6510
6510
  }
6511
6511
  ) }, N.label)) }),
6512
- /* @__PURE__ */ y(Fe, { gap: "12px", templateColumns: "1fr auto auto", width: "100%", children: [
6512
+ /* @__PURE__ */ b(Fe, { gap: "12px", templateColumns: "1fr auto auto", width: "100%", children: [
6513
6513
  /* @__PURE__ */ i(
6514
6514
  Ee,
6515
6515
  {
@@ -6522,7 +6522,7 @@ const Yl = $.div`
6522
6522
  alignItems: "center",
6523
6523
  padding: "0px 8px",
6524
6524
  border: !0,
6525
- children: T ? /* @__PURE__ */ i(D, { size: "small", type: "label", appearance: "gray", children: a }) : /* @__PURE__ */ y(j, { children: [
6525
+ children: T ? /* @__PURE__ */ i(D, { size: "small", type: "label", appearance: "gray", children: a }) : /* @__PURE__ */ b(j, { children: [
6526
6526
  p.map((N) => /* @__PURE__ */ i(
6527
6527
  we,
6528
6528
  {
@@ -6536,7 +6536,7 @@ const Yl = $.div`
6536
6536
  },
6537
6537
  N.label
6538
6538
  )),
6539
- h && /* @__PURE__ */ y(
6539
+ h && /* @__PURE__ */ b(
6540
6540
  "div",
6541
6541
  {
6542
6542
  ref: d,
@@ -6562,7 +6562,7 @@ const Yl = $.div`
6562
6562
  leadingIcon: N.icon,
6563
6563
  onClose: () => {
6564
6564
  var A;
6565
- (A = N.onClose) == null || A.call(N), b(!1);
6565
+ (A = N.onClose) == null || A.call(N), y(!1);
6566
6566
  }
6567
6567
  },
6568
6568
  N.label
@@ -6600,9 +6600,9 @@ const Yl = $.div`
6600
6600
  ] });
6601
6601
  }, xc = (e) => {
6602
6602
  const { appliedFilters: t, fields: n, onChange: r, noFiltersLabel: a } = e, o = Se("(max-width: 768px)"), s = !t || t.length === 0;
6603
- return /* @__PURE__ */ y(v, { direction: "column", gap: "16px", children: [
6604
- o && /* @__PURE__ */ y(j, { children: [
6605
- /* @__PURE__ */ y(v, { gap: "6px", width: "100%", alignItems: "center", children: [
6603
+ return /* @__PURE__ */ b(v, { direction: "column", gap: "16px", children: [
6604
+ o && /* @__PURE__ */ b(j, { children: [
6605
+ /* @__PURE__ */ b(v, { gap: "6px", width: "100%", alignItems: "center", children: [
6606
6606
  /* @__PURE__ */ i(B, { appearance: "gray", icon: /* @__PURE__ */ i(xr, {}) }),
6607
6607
  /* @__PURE__ */ i(
6608
6608
  Ee,
@@ -6633,7 +6633,7 @@ const Yl = $.div`
6633
6633
  ] }),
6634
6634
  /* @__PURE__ */ i(K, { dashed: !0 })
6635
6635
  ] }),
6636
- n.map((c) => /* @__PURE__ */ y(v, { gap: "6px", alignItems: "center", children: [
6636
+ n.map((c) => /* @__PURE__ */ b(v, { gap: "6px", alignItems: "center", children: [
6637
6637
  /* @__PURE__ */ i(v, { padding: "22px 0 0 0", children: /* @__PURE__ */ i(B, { appearance: "primary", icon: c.icon }) }),
6638
6638
  /* @__PURE__ */ i(
6639
6639
  Cn,
@@ -6957,7 +6957,7 @@ const os = $.div`
6957
6957
  };
6958
6958
  return Pe(() => {
6959
6959
  d(t);
6960
- }, [t]), /* @__PURE__ */ y(j, { children: [
6960
+ }, [t]), /* @__PURE__ */ b(j, { children: [
6961
6961
  /* @__PURE__ */ i(v, { children: /* @__PURE__ */ i(
6962
6962
  rt,
6963
6963
  {
@@ -6987,15 +6987,15 @@ const os = $.div`
6987
6987
  messageEnd: u = "",
6988
6988
  statusStart: h = "pending",
6989
6989
  statusEnd: g = "pending"
6990
- } = e, [f, b] = Y(s), [m, T] = Y(l), [S, E] = Y(d), C = ({ target: V }) => {
6991
- b(V.checked), r && r(V.checked);
6990
+ } = e, [f, y] = Y(s), [m, T] = Y(l), [S, E] = Y(d), C = ({ target: V }) => {
6991
+ y(V.checked), r && r(V.checked);
6992
6992
  }, N = (V) => {
6993
6993
  T(V.target.value), t(V);
6994
6994
  }, A = (V) => {
6995
6995
  E(V.target.value), n(V);
6996
6996
  }, O = Se("(max-width: 400px)");
6997
- return /* @__PURE__ */ y(j, { children: [
6998
- /* @__PURE__ */ y(v, { direction: "row", justifyContent: "space-between", margin: "10px 0", children: [
6997
+ return /* @__PURE__ */ b(j, { children: [
6998
+ /* @__PURE__ */ b(v, { direction: "row", justifyContent: "space-between", margin: "10px 0", children: [
6999
6999
  /* @__PURE__ */ i(
7000
7000
  D,
7001
7001
  {
@@ -7026,7 +7026,7 @@ const os = $.div`
7026
7026
  }
7027
7027
  )
7028
7028
  ] }),
7029
- /* @__PURE__ */ y(
7029
+ /* @__PURE__ */ b(
7030
7030
  v,
7031
7031
  {
7032
7032
  direction: O ? "column" : "row",
@@ -7076,14 +7076,14 @@ const os = $.div`
7076
7076
  termStartStatus: d,
7077
7077
  termEndStatus: p
7078
7078
  } = e;
7079
- return /* @__PURE__ */ i("form", { onSubmit: t.handleSubmit, children: /* @__PURE__ */ y(v, { direction: "column", gap: "24px", children: [
7079
+ return /* @__PURE__ */ i("form", { onSubmit: t.handleSubmit, children: /* @__PURE__ */ b(v, { direction: "column", gap: "24px", children: [
7080
7080
  Gt({
7081
7081
  condition: o,
7082
7082
  formik: t,
7083
7083
  isDecision: !0
7084
7084
  }),
7085
7085
  /* @__PURE__ */ i(K, { dashed: !0 }),
7086
- /* @__PURE__ */ i(os, { children: /* @__PURE__ */ i(is, { children: /* @__PURE__ */ y(
7086
+ /* @__PURE__ */ i(os, { children: /* @__PURE__ */ i(is, { children: /* @__PURE__ */ b(
7087
7087
  v,
7088
7088
  {
7089
7089
  direction: "column",
@@ -7091,7 +7091,7 @@ const os = $.div`
7091
7091
  gap: "16px",
7092
7092
  height: "272px",
7093
7093
  children: [
7094
- /* @__PURE__ */ y(
7094
+ /* @__PURE__ */ b(
7095
7095
  v,
7096
7096
  {
7097
7097
  justifyContent: "space-between",
@@ -7130,7 +7130,7 @@ const os = $.div`
7130
7130
  ]
7131
7131
  }
7132
7132
  ) }) }),
7133
- n.terms && /* @__PURE__ */ y(j, { children: [
7133
+ n.terms && /* @__PURE__ */ b(j, { children: [
7134
7134
  /* @__PURE__ */ i(K, { dashed: !0 }),
7135
7135
  /* @__PURE__ */ i(
7136
7136
  ss,
@@ -7154,7 +7154,7 @@ const os = $.div`
7154
7154
  ] }),
7155
7155
  /* @__PURE__ */ i(K, {}),
7156
7156
  l && /* @__PURE__ */ i(D, { type: "label", size: "medium", appearance: "danger", children: typeof t.errors.conditionsThatEstablishesTheDecision == "string" ? t.errors.conditionsThatEstablishesTheDecision : "Existen errores en el formulario, por favor revísalos." }),
7157
- /* @__PURE__ */ y(v, { direction: "row", justifyContent: "end", gap: "16px", children: [
7157
+ /* @__PURE__ */ b(v, { direction: "row", justifyContent: "end", gap: "16px", children: [
7158
7158
  /* @__PURE__ */ i(Z, { appearance: "gray", onClick: r, children: n.cancel }),
7159
7159
  /* @__PURE__ */ i(Z, { type: "submit", children: n.confirm })
7160
7160
  ] })
@@ -7184,7 +7184,7 @@ const os = $.div`
7184
7184
  visibleConditions: l,
7185
7185
  normalizedDecision: c,
7186
7186
  handleToggleNoneChange: s,
7187
- handleConditionToggleChange: (f, b) => (m) => {
7187
+ handleConditionToggleChange: (f, y) => (m) => {
7188
7188
  if (!m)
7189
7189
  o.setFieldValue(
7190
7190
  `conditionsThatEstablishesTheDecision.${f}`,
@@ -7195,7 +7195,7 @@ const os = $.div`
7195
7195
  !1
7196
7196
  );
7197
7197
  else {
7198
- const T = b ? [] : "";
7198
+ const T = y ? [] : "";
7199
7199
  o.setFieldValue(
7200
7200
  `conditionsThatEstablishesTheDecision.${f}`,
7201
7201
  T
@@ -7341,8 +7341,8 @@ const os = $.div`
7341
7341
  l && !await l(T, S) || d(T);
7342
7342
  },
7343
7343
  [d, l]
7344
- ), f = t || c ? "primary" : "dark", b = t || c ? "bold" : "normal", m = U.useId();
7345
- return /* @__PURE__ */ i(us, { $active: t, children: /* @__PURE__ */ y(Ee, { border: !0, borderRadius: "8px", width: "100%", children: [
7344
+ ), f = t || c ? "primary" : "dark", y = t || c ? "bold" : "normal", m = U.useId();
7345
+ return /* @__PURE__ */ i(us, { $active: t, children: /* @__PURE__ */ b(Ee, { border: !0, borderRadius: "8px", width: "100%", children: [
7346
7346
  /* @__PURE__ */ i(
7347
7347
  fs,
7348
7348
  {
@@ -7357,7 +7357,7 @@ const os = $.div`
7357
7357
  path: s,
7358
7358
  label: a
7359
7359
  });
7360
- }, children: /* @__PURE__ */ y(
7360
+ }, children: /* @__PURE__ */ b(
7361
7361
  Ee,
7362
7362
  {
7363
7363
  alignItems: "center",
@@ -7381,13 +7381,13 @@ const os = $.div`
7381
7381
  cursorHover: !0,
7382
7382
  size: "small",
7383
7383
  type: "title",
7384
- weight: b,
7384
+ weight: y,
7385
7385
  children: a
7386
7386
  }
7387
7387
  ) })
7388
7388
  ]
7389
7389
  }
7390
- ) }) : /* @__PURE__ */ y(
7390
+ ) }) : /* @__PURE__ */ b(
7391
7391
  Ee,
7392
7392
  {
7393
7393
  alignItems: "center",
@@ -7418,7 +7418,7 @@ const os = $.div`
7418
7418
  cursorHover: !0,
7419
7419
  size: "small",
7420
7420
  type: "title",
7421
- weight: b,
7421
+ weight: y,
7422
7422
  onClick: r,
7423
7423
  children: a
7424
7424
  }
@@ -7434,7 +7434,7 @@ const os = $.div`
7434
7434
  const S = T.id === o;
7435
7435
  return /* @__PURE__ */ i(gs, { to: T.path, onClick: async (E) => {
7436
7436
  E.preventDefault(), E.stopPropagation(), await g(T.path, T);
7437
- }, children: /* @__PURE__ */ i(jr, { $active: S, children: /* @__PURE__ */ y(
7437
+ }, children: /* @__PURE__ */ i(jr, { $active: S, children: /* @__PURE__ */ b(
7438
7438
  v,
7439
7439
  {
7440
7440
  alignItems: "center",
@@ -8383,7 +8383,7 @@ function ed(e, t) {
8383
8383
  function td(e) {
8384
8384
  var p, u, h, g, f;
8385
8385
  e.draggedNode && (e.draggedNode.el.draggable = !0);
8386
- const t = e.draggedNodes.map((b) => b.el), n = e.initialParent.data, r = me(e), a = (p = oe.get(e.initialParent.el)) == null ? void 0 : p.config, o = r ? a == null ? void 0 : a.synthDropZoneClass : a == null ? void 0 : a.dropZoneClass, s = (u = n == null ? void 0 : n.config) == null ? void 0 : u.longPressClass, c = r ? (h = n == null ? void 0 : n.config) == null ? void 0 : h.synthDragPlaceholderClass : (g = n == null ? void 0 : n.config) == null ? void 0 : g.dragPlaceholderClass, l = e.originalZIndex;
8386
+ const t = e.draggedNodes.map((y) => y.el), n = e.initialParent.data, r = me(e), a = (p = oe.get(e.initialParent.el)) == null ? void 0 : p.config, o = r ? a == null ? void 0 : a.synthDropZoneClass : a == null ? void 0 : a.dropZoneClass, s = (u = n == null ? void 0 : n.config) == null ? void 0 : u.longPressClass, c = r ? (h = n == null ? void 0 : n.config) == null ? void 0 : h.synthDragPlaceholderClass : (g = n == null ? void 0 : n.config) == null ? void 0 : g.dragPlaceholderClass, l = e.originalZIndex;
8387
8387
  me(e) && (e.clonedDraggedNode && e.clonedDraggedNode.remove(), e.longPressTimeout && clearTimeout(e.longPressTimeout)), wn(e), e.lastScrollDirectionX = void 0, e.lastScrollDirectionY = void 0, e.preventEnter = !1, e.scrollDebounceTimeout && (clearTimeout(e.scrollDebounceTimeout), e.scrollDebounceTimeout = void 0), l !== void 0 && e.draggedNode && (e.draggedNode.el.style.zIndex = l), requestAnimationFrame(() => {
8388
8388
  Be(t, o), Be(t, s), Be(t, c);
8389
8389
  }), Xe(e.draggedNodes, e.currentParent, e), Je(e.currentParent, void 0, e);
@@ -8408,7 +8408,7 @@ function nd(e, t) {
8408
8408
  ), de(t) && n.handleEnd(t);
8409
8409
  }
8410
8410
  function rd(e, t, n, r, a, o) {
8411
- var f, b;
8411
+ var f, y;
8412
8412
  const s = t.data.config;
8413
8413
  let c, l;
8414
8414
  const d = [
@@ -8476,7 +8476,7 @@ function rd(e, t, n, r, a, o) {
8476
8476
  synthDragScrolling: !1,
8477
8477
  synthDragging: !0,
8478
8478
  rootScrollWidth: (f = document.scrollingElement) == null ? void 0 : f.scrollWidth,
8479
- rootScrollHeight: (b = document.scrollingElement) == null ? void 0 : b.scrollHeight
8479
+ rootScrollHeight: (y = document.scrollingElement) == null ? void 0 : y.scrollHeight
8480
8480
  };
8481
8481
  return Wr({
8482
8482
  ...Qr(
@@ -8738,7 +8738,7 @@ function Be(e, t) {
8738
8738
  function ur(e, t, n, r, a) {
8739
8739
  const s = a.axis === "x", c = e === document.scrollingElement, l = s ? "scrollLeft" : "scrollTop", d = s ? "clientWidth" : "clientHeight", p = s ? "offsetWidth" : "offsetHeight", u = s ? "scrollWidth" : "scrollHeight", h = s ? t.clientX : t.clientY, g = s ? r.left : r.top, f = s ? n.overflowX : n.overflowY;
8740
8740
  if (c) {
8741
- const b = e[l], m = e[d], T = b > 0, S = b + m < (s ? a.state.rootScrollWidth || 0 : e[u]);
8741
+ const y = e[l], m = e[d], T = y > 0, S = y + m < (s ? a.state.rootScrollWidth || 0 : e[u]);
8742
8742
  return s ? {
8743
8743
  left: T && h < m * 0.075,
8744
8744
  right: S && h > m * (1 - 0.075)
@@ -8748,7 +8748,7 @@ function ur(e, t, n, r, a) {
8748
8748
  };
8749
8749
  }
8750
8750
  if ((f === "auto" || f === "scroll") && e !== document.body && e !== document.documentElement) {
8751
- const b = e[u], m = e[p], T = e[l], S = T > 0, E = T < b - m;
8751
+ const y = e[u], m = e[p], T = e[l], S = T > 0, E = T < y - m;
8752
8752
  return s ? {
8753
8753
  left: S && h < g + m * 0.075,
8754
8754
  right: E && h > g + m * (1 - 0.075)
@@ -8770,8 +8770,8 @@ function hd(e, t, n, r) {
8770
8770
  n[l] !== void 0 && (cancelAnimationFrame(n[l]), n[l] = void 0);
8771
8771
  return;
8772
8772
  }
8773
- const p = a ? "scrollLeft" : "scrollTop", u = a ? "clientWidth" : "clientHeight", h = a ? "scrollWidth" : "scrollHeight", g = e[p], f = e[u], b = e[h];
8774
- if (!(o > 0 ? g + f < b : g > 0)) {
8773
+ const p = a ? "scrollLeft" : "scrollTop", u = a ? "clientWidth" : "clientHeight", h = a ? "scrollWidth" : "scrollHeight", g = e[p], f = e[u], y = e[h];
8774
+ if (!(o > 0 ? g + f < y : g > 0)) {
8775
8775
  n[l] = void 0, n[c] = void 0;
8776
8776
  return;
8777
8777
  }
@@ -8943,7 +8943,7 @@ const gr = {
8943
8943
  { group: r }
8944
8944
  ), [u, h] = l ? [d, o] : p, [g, f] = U.useState(
8945
8945
  null
8946
- ), b = U.useRef(o);
8946
+ ), y = U.useRef(o);
8947
8947
  U.useEffect(() => {
8948
8948
  if (l) return;
8949
8949
  const C = (N) => {
@@ -8975,7 +8975,7 @@ const gr = {
8975
8975
  };
8976
8976
  }, [S, l]), U.useEffect(() => {
8977
8977
  if (l) return;
8978
- const C = b.current;
8978
+ const C = y.current;
8979
8979
  if (h.length !== C.length && h.length === C.length + 1) {
8980
8980
  const N = new Set(C), A = h.find((O) => !N.has(O)) || null;
8981
8981
  if (A) {
@@ -8983,7 +8983,7 @@ const gr = {
8983
8983
  c == null || c({ item: A, from: O, to: n });
8984
8984
  }
8985
8985
  }
8986
- b.current = h;
8986
+ y.current = h;
8987
8987
  }, [h, n, c, l]);
8988
8988
  const E = h.length === 0;
8989
8989
  return /* @__PURE__ */ i(
@@ -9046,7 +9046,7 @@ const gr = {
9046
9046
  const { group: t = "clients", left: n, right: r, onMove: a, locked: o = !1 } = e, s = (c) => {
9047
9047
  o || a == null || a(c);
9048
9048
  };
9049
- return /* @__PURE__ */ y(
9049
+ return /* @__PURE__ */ b(
9050
9050
  v,
9051
9051
  {
9052
9052
  justifyContent: "space-between",
@@ -9132,7 +9132,7 @@ const gr = {
9132
9132
  }
9133
9133
  `, Rc = (e) => {
9134
9134
  const { handleBack: t, handleNext: n, disabledBack: r, disabledNext: a, textValues: o } = e;
9135
- return /* @__PURE__ */ y(Cd, { children: [
9135
+ return /* @__PURE__ */ b(Cd, { children: [
9136
9136
  /* @__PURE__ */ i(
9137
9137
  Z,
9138
9138
  {
@@ -9263,7 +9263,7 @@ const Ld = {
9263
9263
  var xe = /* @__PURE__ */ ((e) => (e.DANGER = "danger", e.DARK = "dark", e.GRAY = "gray", e.HELP = "help", e.LIGHT = "light", e.PRIMARY = "primary", e.SUCCESS = "success", e.WARNING = "warning", e))(xe || {});
9264
9264
  const Md = (e) => {
9265
9265
  const { onClick: t, icon: n, value: r } = e;
9266
- return /* @__PURE__ */ y(_d, { onClick: t, children: [
9266
+ return /* @__PURE__ */ b(_d, { onClick: t, children: [
9267
9267
  n && /* @__PURE__ */ i(
9268
9268
  v,
9269
9269
  {
@@ -9434,7 +9434,7 @@ const Ud = (e) => {
9434
9434
  padding: h = "0px",
9435
9435
  backgroundColor: g = xe.LIGHT,
9436
9436
  boxSizing: f,
9437
- borderColor: b = xe.LIGHT,
9437
+ borderColor: y = xe.LIGHT,
9438
9438
  overflowY: m,
9439
9439
  overflowX: T,
9440
9440
  boxShadow: S,
@@ -9458,7 +9458,7 @@ const Ud = (e) => {
9458
9458
  $padding: h,
9459
9459
  $backgroundColor: g,
9460
9460
  $boxSizing: f,
9461
- $borderColor: b,
9461
+ $borderColor: y,
9462
9462
  $borderRadius: d,
9463
9463
  $overflowY: m,
9464
9464
  $overflowX: T,
@@ -9490,7 +9490,7 @@ const Ud = (e) => {
9490
9490
  padding: p ? "8px" : "6px 16px",
9491
9491
  boxSizing: "border-box",
9492
9492
  backgroundColor: xe.GRAY,
9493
- children: /* @__PURE__ */ y(
9493
+ children: /* @__PURE__ */ b(
9494
9494
  Fe,
9495
9495
  {
9496
9496
  templateColumns: s === "column" ? "1fr" : "auto 1fr",
@@ -9653,8 +9653,8 @@ function Qd(e, t) {
9653
9653
  for (const [g, f] of h) {
9654
9654
  if (!ke(f) && !Array.isArray(f) && c(f))
9655
9655
  continue;
9656
- const b = n.has(g) ? p : Wd(p, g);
9657
- ke(f) || Array.isArray(f) ? l(f, b, u + 1) : s(b || g, f);
9656
+ const y = n.has(g) ? p : Wd(p, g);
9657
+ ke(f) || Array.isArray(f) ? l(f, y, u + 1) : s(y || g, f);
9658
9658
  }
9659
9659
  return;
9660
9660
  }
@@ -9785,8 +9785,8 @@ const tc = $.div`
9785
9785
  cursor: pointer;
9786
9786
  `, rc = (e) => {
9787
9787
  const { title: t, defaultOpen: n = !0, children: r } = e, [a, o] = Y(n);
9788
- return /* @__PURE__ */ y(tc, { children: [
9789
- /* @__PURE__ */ y(nc, { onClick: () => {
9788
+ return /* @__PURE__ */ b(tc, { children: [
9789
+ /* @__PURE__ */ b(nc, { onClick: () => {
9790
9790
  o(!a);
9791
9791
  }, children: [
9792
9792
  /* @__PURE__ */ i(
@@ -9811,7 +9811,7 @@ const tc = $.div`
9811
9811
  }
9812
9812
  )
9813
9813
  ] }),
9814
- a && /* @__PURE__ */ y(j, { children: [
9814
+ a && /* @__PURE__ */ b(j, { children: [
9815
9815
  /* @__PURE__ */ i(K, { dashed: !0 }),
9816
9816
  r
9817
9817
  ] })
@@ -9930,8 +9930,8 @@ function ac(e) {
9930
9930
  id: `${a}[${p}].${g}`,
9931
9931
  label: he(g),
9932
9932
  value: (f) => {
9933
- var b, m;
9934
- return (m = (b = f == null ? void 0 : f[a]) == null ? void 0 : b[p]) == null ? void 0 : m[g];
9933
+ var y, m;
9934
+ return (m = (y = f == null ? void 0 : f[a]) == null ? void 0 : y[p]) == null ? void 0 : m[g];
9935
9935
  },
9936
9936
  render: (f) => Te(f)
9937
9937
  }))
@@ -9985,12 +9985,12 @@ function ac(e) {
9985
9985
  variant: "lightCard",
9986
9986
  columns: { mobile: "1fr", desktop: "repeat(2, 1fr)" }
9987
9987
  },
9988
- items: f.map((b) => ({
9989
- id: `${a}.values[${h}].${b}`,
9990
- label: he(b),
9988
+ items: f.map((y) => ({
9989
+ id: `${a}.values[${h}].${y}`,
9990
+ label: he(y),
9991
9991
  value: (m) => {
9992
9992
  var T, S, E;
9993
- return (E = (S = (T = m == null ? void 0 : m[a]) == null ? void 0 : T.values) == null ? void 0 : S[h]) == null ? void 0 : E[b];
9993
+ return (E = (S = (T = m == null ? void 0 : m[a]) == null ? void 0 : T.values) == null ? void 0 : S[h]) == null ? void 0 : E[y];
9994
9994
  },
9995
9995
  render: (m) => Te(m)
9996
9996
  }))
@@ -10091,7 +10091,7 @@ function _c(e) {
10091
10091
  renderedNodes: u
10092
10092
  };
10093
10093
  }).filter((p) => p.renderedNodes.length > 0);
10094
- return /* @__PURE__ */ i(v, { direction: "column", width: "100%", gap: "24px", children: d.map((p) => /* @__PURE__ */ i(rc, { title: p.name, children: /* @__PURE__ */ y(
10094
+ return /* @__PURE__ */ i(v, { direction: "column", width: "100%", gap: "24px", children: d.map((p) => /* @__PURE__ */ i(rc, { title: p.name, children: /* @__PURE__ */ b(
10095
10095
  v,
10096
10096
  {
10097
10097
  direction: "column",