@isettingkit/business-rules 0.1.36 → 0.1.38

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.es.js +421 -415
  2. package/package.json +2 -2
package/dist/index.es.js CHANGED
@@ -1,16 +1,16 @@
1
- import { jsxs as k, jsx as s, Fragment as he } from "react/jsx-runtime";
2
- import { ValueDataType as ne, ValueHowToSetUp as B, DecisionConditionRender as Je } from "@isettingkit/input";
3
- import v, { keyframes as de, css as He, ThemeContext as Z } from "styled-components";
4
- import * as y from "react";
5
- import oe, { createContext as Vt, forwardRef as pt, useContext as ee, useState as J, useEffect as ht } from "react";
1
+ import { jsxs as w, jsx as s, Fragment as he } from "react/jsx-runtime";
2
+ import { ValueDataType as ne, ValueHowToSetUp as B, DecisionConditionRender as Qe } from "@isettingkit/input";
3
+ import v, { keyframes as de, css as _e, ThemeContext as Z } from "styled-components";
4
+ import * as k from "react";
5
+ import oe, { createContext as Vt, forwardRef as ht, useContext as ee, useState as J, useEffect as vt } from "react";
6
6
  import { createPortal as jt } from "react-dom";
7
7
  import { inube as te } from "@inubekit/foundations";
8
8
  import { useFormik as Ht } from "formik";
9
- import { mixed as vt, object as ye, number as Pe, string as _e, lazy as Qe, date as Ze } from "yup";
9
+ import { mixed as gt, object as ye, number as Be, string as Ue, lazy as Ze, date as et } from "yup";
10
10
  import { DecisionViewConditionRenderer as me } from "@isettingkit/view";
11
11
  import { MdOutlineDelete as _t, MdClear as Ut, MdAdd as Mt } from "react-icons/md";
12
12
  /**
13
- * @remix-run/router v1.22.0
13
+ * @remix-run/router v1.23.0
14
14
  *
15
15
  * Copyright (c) Remix Software Inc.
16
16
  *
@@ -19,20 +19,20 @@ import { MdOutlineDelete as _t, MdClear as Ut, MdAdd as Mt } from "react-icons/m
19
19
  *
20
20
  * @license MIT
21
21
  */
22
- function Be() {
23
- return Be = Object.assign ? Object.assign.bind() : function(e) {
22
+ function Ie() {
23
+ return Ie = Object.assign ? Object.assign.bind() : function(e) {
24
24
  for (var t = 1; t < arguments.length; t++) {
25
25
  var l = arguments[t];
26
26
  for (var o in l)
27
27
  Object.prototype.hasOwnProperty.call(l, o) && (e[o] = l[o]);
28
28
  }
29
29
  return e;
30
- }, Be.apply(this, arguments);
30
+ }, Ie.apply(this, arguments);
31
31
  }
32
- var et;
32
+ var tt;
33
33
  (function(e) {
34
34
  e.Pop = "POP", e.Push = "PUSH", e.Replace = "REPLACE";
35
- })(et || (et = {}));
35
+ })(tt || (tt = {}));
36
36
  function z(e, t) {
37
37
  if (e === !1 || e === null || typeof e > "u")
38
38
  throw new Error(t);
@@ -46,7 +46,7 @@ function ve(e, t) {
46
46
  }
47
47
  }
48
48
  }
49
- function Ie(e) {
49
+ function Ve(e) {
50
50
  let {
51
51
  pathname: t = "/",
52
52
  search: l = "",
@@ -54,7 +54,7 @@ function Ie(e) {
54
54
  } = e;
55
55
  return l && l !== "?" && (t += l.charAt(0) === "?" ? l : "?" + l), o && o !== "#" && (t += o.charAt(0) === "#" ? o : "#" + o), t;
56
56
  }
57
- function gt(e) {
57
+ function bt(e) {
58
58
  let t = {};
59
59
  if (e) {
60
60
  let l = e.indexOf("#");
@@ -64,11 +64,11 @@ function gt(e) {
64
64
  }
65
65
  return t;
66
66
  }
67
- var tt;
67
+ var lt;
68
68
  (function(e) {
69
69
  e.data = "data", e.deferred = "deferred", e.redirect = "redirect", e.error = "error";
70
- })(tt || (tt = {}));
71
- function lt(e, t) {
70
+ })(lt || (lt = {}));
71
+ function ot(e, t) {
72
72
  typeof e == "string" && (e = {
73
73
  path: e,
74
74
  caseSensitive: !1,
@@ -118,7 +118,7 @@ function Gt(e, t) {
118
118
  pathname: l,
119
119
  search: o = "",
120
120
  hash: n = ""
121
- } = typeof e == "string" ? gt(e) : e;
121
+ } = typeof e == "string" ? bt(e) : e;
122
122
  return {
123
123
  pathname: l ? l.startsWith("/") ? l : Yt(l, t) : t,
124
124
  search: Xt(o),
@@ -131,20 +131,20 @@ function Yt(e, t) {
131
131
  n === ".." ? l.length > 1 && l.pop() : n !== "." && l.push(n);
132
132
  }), l.length > 1 ? l.join("/") : "/";
133
133
  }
134
- function Re(e, t, l, o) {
134
+ function Fe(e, t, l, o) {
135
135
  return "Cannot include a '" + e + "' character in a manually specified " + ("`to." + t + "` field [" + JSON.stringify(o) + "]. Please separate it out to the ") + ("`to." + l + "` field. Alternatively you may provide the full path as ") + 'a string in <Link to="..."> and the router will parse it for you.';
136
136
  }
137
137
  function Wt(e) {
138
138
  return e.filter((t, l) => l === 0 || t.route.path && t.route.path.length > 0);
139
139
  }
140
- function bt(e, t) {
140
+ function mt(e, t) {
141
141
  let l = Wt(e);
142
142
  return t ? l.map((o, n) => n === l.length - 1 ? o.pathname : o.pathnameBase) : l.map((o) => o.pathnameBase);
143
143
  }
144
- function mt(e, t, l, o) {
144
+ function ft(e, t, l, o) {
145
145
  o === void 0 && (o = !1);
146
146
  let n;
147
- typeof e == "string" ? n = gt(e) : (n = Be({}, e), z(!n.pathname || !n.pathname.includes("?"), Re("?", "pathname", "search", n)), z(!n.pathname || !n.pathname.includes("#"), Re("#", "pathname", "hash", n)), z(!n.search || !n.search.includes("#"), Re("#", "search", "hash", n)));
147
+ typeof e == "string" ? n = bt(e) : (n = Ie({}, e), z(!n.pathname || !n.pathname.includes("?"), Fe("?", "pathname", "search", n)), z(!n.pathname || !n.pathname.includes("#"), Fe("#", "pathname", "hash", n)), z(!n.search || !n.search.includes("#"), Fe("#", "search", "hash", n)));
148
148
  let a = e === "" || n.pathname === "", i = a ? "/" : n.pathname, d;
149
149
  if (i == null)
150
150
  d = l;
@@ -161,12 +161,12 @@ function mt(e, t, l, o) {
161
161
  let c = Gt(n, d), u = i && i !== "/" && i.endsWith("/"), h = (a || i === ".") && l.endsWith("/");
162
162
  return !c.pathname.endsWith("/") && (u || h) && (c.pathname += "/"), c;
163
163
  }
164
- const Ue = (e) => e.join("/").replace(/\/\/+/g, "/"), Xt = (e) => !e || e === "?" ? "" : e.startsWith("?") ? e : "?" + e, Kt = (e) => !e || e === "#" ? "" : e.startsWith("#") ? e : "#" + e, ft = ["post", "put", "patch", "delete"];
165
- new Set(ft);
166
- const Jt = ["get", ...ft];
164
+ const Me = (e) => e.join("/").replace(/\/\/+/g, "/"), Xt = (e) => !e || e === "?" ? "" : e.startsWith("?") ? e : "?" + e, Kt = (e) => !e || e === "#" ? "" : e.startsWith("#") ? e : "#" + e, xt = ["post", "put", "patch", "delete"];
165
+ new Set(xt);
166
+ const Jt = ["get", ...xt];
167
167
  new Set(Jt);
168
168
  /**
169
- * React Router v6.29.0
169
+ * React Router v6.30.0
170
170
  *
171
171
  * Copyright (c) Remix Software Inc.
172
172
  *
@@ -175,39 +175,39 @@ new Set(Jt);
175
175
  *
176
176
  * @license MIT
177
177
  */
178
- function Ve() {
179
- return Ve = Object.assign ? Object.assign.bind() : function(e) {
178
+ function je() {
179
+ return je = Object.assign ? Object.assign.bind() : function(e) {
180
180
  for (var t = 1; t < arguments.length; t++) {
181
181
  var l = arguments[t];
182
182
  for (var o in l)
183
183
  Object.prototype.hasOwnProperty.call(l, o) && (e[o] = l[o]);
184
184
  }
185
185
  return e;
186
- }, Ve.apply(this, arguments);
186
+ }, je.apply(this, arguments);
187
187
  }
188
- const Se = /* @__PURE__ */ y.createContext(null);
189
- process.env.NODE_ENV !== "production" && (Se.displayName = "DataRouter");
190
- const xt = /* @__PURE__ */ y.createContext(null);
191
- process.env.NODE_ENV !== "production" && (xt.displayName = "DataRouterState");
192
- const Qt = /* @__PURE__ */ y.createContext(null);
188
+ const ze = /* @__PURE__ */ k.createContext(null);
189
+ process.env.NODE_ENV !== "production" && (ze.displayName = "DataRouter");
190
+ const $t = /* @__PURE__ */ k.createContext(null);
191
+ process.env.NODE_ENV !== "production" && ($t.displayName = "DataRouterState");
192
+ const Qt = /* @__PURE__ */ k.createContext(null);
193
193
  process.env.NODE_ENV !== "production" && (Qt.displayName = "Await");
194
- const G = /* @__PURE__ */ y.createContext(null);
194
+ const G = /* @__PURE__ */ k.createContext(null);
195
195
  process.env.NODE_ENV !== "production" && (G.displayName = "Navigation");
196
- const Me = /* @__PURE__ */ y.createContext(null);
197
- process.env.NODE_ENV !== "production" && (Me.displayName = "Location");
198
- const ue = /* @__PURE__ */ y.createContext({
196
+ const qe = /* @__PURE__ */ k.createContext(null);
197
+ process.env.NODE_ENV !== "production" && (qe.displayName = "Location");
198
+ const ue = /* @__PURE__ */ k.createContext({
199
199
  outlet: null,
200
200
  matches: [],
201
201
  isDataRoute: !1
202
202
  });
203
203
  process.env.NODE_ENV !== "production" && (ue.displayName = "Route");
204
- const Zt = /* @__PURE__ */ y.createContext(null);
204
+ const Zt = /* @__PURE__ */ k.createContext(null);
205
205
  process.env.NODE_ENV !== "production" && (Zt.displayName = "RouteError");
206
206
  function el(e, t) {
207
207
  let {
208
208
  relative: l
209
209
  } = t === void 0 ? {} : t;
210
- qe() || (process.env.NODE_ENV !== "production" ? z(
210
+ Ge() || (process.env.NODE_ENV !== "production" ? z(
211
211
  !1,
212
212
  // TODO: This error is probably because they somehow have 2 versions of the
213
213
  // router loaded. We can help them understand how to avoid that.
@@ -216,66 +216,66 @@ function el(e, t) {
216
216
  let {
217
217
  basename: o,
218
218
  navigator: n
219
- } = y.useContext(G), {
219
+ } = k.useContext(G), {
220
220
  hash: a,
221
221
  pathname: i,
222
222
  search: d
223
223
  } = be(e, {
224
224
  relative: l
225
225
  }), c = i;
226
- return o !== "/" && (c = i === "/" ? o : Ue([o, i])), n.createHref({
226
+ return o !== "/" && (c = i === "/" ? o : Me([o, i])), n.createHref({
227
227
  pathname: c,
228
228
  search: d,
229
229
  hash: a
230
230
  });
231
231
  }
232
- function qe() {
233
- return y.useContext(Me) != null;
232
+ function Ge() {
233
+ return k.useContext(qe) != null;
234
234
  }
235
235
  function ge() {
236
- return qe() || (process.env.NODE_ENV !== "production" ? z(
236
+ return Ge() || (process.env.NODE_ENV !== "production" ? z(
237
237
  !1,
238
238
  // TODO: This error is probably because they somehow have 2 versions of the
239
239
  // router loaded. We can help them understand how to avoid that.
240
240
  "useLocation() may be used only in the context of a <Router> component."
241
- ) : z(!1)), y.useContext(Me).location;
241
+ ) : z(!1)), k.useContext(qe).location;
242
242
  }
243
- const $t = "You should call navigate() in a React.useEffect(), not when your component is first rendered.";
244
- function yt(e) {
245
- y.useContext(G).static || y.useLayoutEffect(e);
243
+ const yt = "You should call navigate() in a React.useEffect(), not when your component is first rendered.";
244
+ function kt(e) {
245
+ k.useContext(G).static || k.useLayoutEffect(e);
246
246
  }
247
247
  function tl() {
248
248
  let {
249
249
  isDataRoute: e
250
- } = y.useContext(ue);
250
+ } = k.useContext(ue);
251
251
  return e ? al() : ll();
252
252
  }
253
253
  function ll() {
254
- qe() || (process.env.NODE_ENV !== "production" ? z(
254
+ Ge() || (process.env.NODE_ENV !== "production" ? z(
255
255
  !1,
256
256
  // TODO: This error is probably because they somehow have 2 versions of the
257
257
  // router loaded. We can help them understand how to avoid that.
258
258
  "useNavigate() may be used only in the context of a <Router> component."
259
259
  ) : z(!1));
260
- let e = y.useContext(Se), {
260
+ let e = k.useContext(ze), {
261
261
  basename: t,
262
262
  future: l,
263
263
  navigator: o
264
- } = y.useContext(G), {
264
+ } = k.useContext(G), {
265
265
  matches: n
266
- } = y.useContext(ue), {
266
+ } = k.useContext(ue), {
267
267
  pathname: a
268
- } = ge(), i = JSON.stringify(bt(n, l.v7_relativeSplatPath)), d = y.useRef(!1);
269
- return yt(() => {
268
+ } = ge(), i = JSON.stringify(mt(n, l.v7_relativeSplatPath)), d = k.useRef(!1);
269
+ return kt(() => {
270
270
  d.current = !0;
271
- }), y.useCallback(function(u, h) {
272
- if (h === void 0 && (h = {}), process.env.NODE_ENV !== "production" && ve(d.current, $t), !d.current) return;
271
+ }), k.useCallback(function(u, h) {
272
+ if (h === void 0 && (h = {}), process.env.NODE_ENV !== "production" && ve(d.current, yt), !d.current) return;
273
273
  if (typeof u == "number") {
274
274
  o.go(u);
275
275
  return;
276
276
  }
277
- let p = mt(u, JSON.parse(i), a, h.relative === "path");
278
- e == null && t !== "/" && (p.pathname = p.pathname === "/" ? t : Ue([t, p.pathname])), (h.replace ? o.replace : o.push)(p, h.state, h);
277
+ let p = ft(u, JSON.parse(i), a, h.relative === "path");
278
+ e == null && t !== "/" && (p.pathname = p.pathname === "/" ? t : Me([t, p.pathname])), (h.replace ? o.replace : o.push)(p, h.state, h);
279
279
  }, [t, o, i, a, e]);
280
280
  }
281
281
  function be(e, t) {
@@ -283,44 +283,44 @@ function be(e, t) {
283
283
  relative: l
284
284
  } = t === void 0 ? {} : t, {
285
285
  future: o
286
- } = y.useContext(G), {
286
+ } = k.useContext(G), {
287
287
  matches: n
288
- } = y.useContext(ue), {
288
+ } = k.useContext(ue), {
289
289
  pathname: a
290
- } = ge(), i = JSON.stringify(bt(n, o.v7_relativeSplatPath));
291
- return y.useMemo(() => mt(e, JSON.parse(i), a, l === "path"), [e, i, a, l]);
290
+ } = ge(), i = JSON.stringify(mt(n, o.v7_relativeSplatPath));
291
+ return k.useMemo(() => ft(e, JSON.parse(i), a, l === "path"), [e, i, a, l]);
292
292
  }
293
- var kt = /* @__PURE__ */ function(e) {
293
+ var wt = /* @__PURE__ */ function(e) {
294
294
  return e.UseBlocker = "useBlocker", e.UseRevalidator = "useRevalidator", e.UseNavigateStable = "useNavigate", e;
295
- }(kt || {}), Ge = /* @__PURE__ */ function(e) {
295
+ }(wt || {}), Ye = /* @__PURE__ */ function(e) {
296
296
  return e.UseBlocker = "useBlocker", e.UseLoaderData = "useLoaderData", e.UseActionData = "useActionData", e.UseRouteError = "useRouteError", e.UseNavigation = "useNavigation", e.UseRouteLoaderData = "useRouteLoaderData", e.UseMatches = "useMatches", e.UseRevalidator = "useRevalidator", e.UseNavigateStable = "useNavigate", e.UseRouteId = "useRouteId", e;
297
- }(Ge || {});
298
- function wt(e) {
297
+ }(Ye || {});
298
+ function Nt(e) {
299
299
  return e + " must be used within a data router. See https://reactrouter.com/v6/routers/picking-a-router.";
300
300
  }
301
301
  function ol(e) {
302
- let t = y.useContext(Se);
303
- return t || (process.env.NODE_ENV !== "production" ? z(!1, wt(e)) : z(!1)), t;
302
+ let t = k.useContext(ze);
303
+ return t || (process.env.NODE_ENV !== "production" ? z(!1, Nt(e)) : z(!1)), t;
304
304
  }
305
305
  function rl(e) {
306
- let t = y.useContext(ue);
307
- return t || (process.env.NODE_ENV !== "production" ? z(!1, wt(e)) : z(!1)), t;
306
+ let t = k.useContext(ue);
307
+ return t || (process.env.NODE_ENV !== "production" ? z(!1, Nt(e)) : z(!1)), t;
308
308
  }
309
- function Nt(e) {
309
+ function Ct(e) {
310
310
  let t = rl(e), l = t.matches[t.matches.length - 1];
311
311
  return l.route.id || (process.env.NODE_ENV !== "production" ? z(!1, e + ' can only be used on routes that contain a unique "id"') : z(!1)), l.route.id;
312
312
  }
313
313
  function nl() {
314
- return Nt(Ge.UseRouteId);
314
+ return Ct(Ye.UseRouteId);
315
315
  }
316
316
  function al() {
317
317
  let {
318
318
  router: e
319
- } = ol(kt.UseNavigateStable), t = Nt(Ge.UseNavigateStable), l = y.useRef(!1);
320
- return yt(() => {
319
+ } = ol(wt.UseNavigateStable), t = Ct(Ye.UseNavigateStable), l = k.useRef(!1);
320
+ return kt(() => {
321
321
  l.current = !0;
322
- }), y.useCallback(function(n, a) {
323
- a === void 0 && (a = {}), process.env.NODE_ENV !== "production" && ve(l.current, $t), l.current && (typeof n == "number" ? e.navigate(n) : e.navigate(n, Ve({
322
+ }), k.useCallback(function(n, a) {
323
+ a === void 0 && (a = {}), process.env.NODE_ENV !== "production" && ve(l.current, yt), l.current && (typeof n == "number" ? e.navigate(n) : e.navigate(n, je({
324
324
  fromRouteId: t
325
325
  }, a)));
326
326
  }, [e, t]);
@@ -328,7 +328,7 @@ function al() {
328
328
  new Promise(() => {
329
329
  });
330
330
  /**
331
- * React Router DOM v6.29.0
331
+ * React Router DOM v6.30.0
332
332
  *
333
333
  * Copyright (c) Remix Software Inc.
334
334
  *
@@ -347,7 +347,7 @@ function ie() {
347
347
  return e;
348
348
  }, ie.apply(this, arguments);
349
349
  }
350
- function Ye(e, t) {
350
+ function We(e, t) {
351
351
  if (e == null) return {};
352
352
  var l = {}, o = Object.keys(e), n, a;
353
353
  for (a = 0; a < o.length; a++)
@@ -355,17 +355,17 @@ function Ye(e, t) {
355
355
  return l;
356
356
  }
357
357
  const ke = "get", we = "application/x-www-form-urlencoded";
358
- function ze(e) {
358
+ function Ae(e) {
359
359
  return e != null && typeof e.tagName == "string";
360
360
  }
361
361
  function il(e) {
362
- return ze(e) && e.tagName.toLowerCase() === "button";
362
+ return Ae(e) && e.tagName.toLowerCase() === "button";
363
363
  }
364
364
  function dl(e) {
365
- return ze(e) && e.tagName.toLowerCase() === "form";
365
+ return Ae(e) && e.tagName.toLowerCase() === "form";
366
366
  }
367
367
  function ul(e) {
368
- return ze(e) && e.tagName.toLowerCase() === "input";
368
+ return Ae(e) && e.tagName.toLowerCase() === "input";
369
369
  }
370
370
  function cl(e) {
371
371
  return !!(e.metaKey || e.altKey || e.ctrlKey || e.shiftKey);
@@ -390,20 +390,20 @@ function pl() {
390
390
  return fe;
391
391
  }
392
392
  const hl = /* @__PURE__ */ new Set(["application/x-www-form-urlencoded", "multipart/form-data", "text/plain"]);
393
- function Fe(e) {
393
+ function Oe(e) {
394
394
  return e != null && !hl.has(e) ? (process.env.NODE_ENV !== "production" && ve(!1, '"' + e + '" is not a valid `encType` for `<Form>`/`<fetcher.Form>` ' + ('and will default to "' + we + '"')), null) : e;
395
395
  }
396
396
  function vl(e, t) {
397
397
  let l, o, n, a, i;
398
398
  if (dl(e)) {
399
399
  let d = e.getAttribute("action");
400
- o = d ? ae(d, t) : null, l = e.getAttribute("method") || ke, n = Fe(e.getAttribute("enctype")) || we, a = new FormData(e);
400
+ o = d ? ae(d, t) : null, l = e.getAttribute("method") || ke, n = Oe(e.getAttribute("enctype")) || we, a = new FormData(e);
401
401
  } else if (il(e) || ul(e) && (e.type === "submit" || e.type === "image")) {
402
402
  let d = e.form;
403
403
  if (d == null)
404
404
  throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');
405
405
  let c = e.getAttribute("formaction") || d.getAttribute("action");
406
- if (o = c ? ae(c, t) : null, l = e.getAttribute("formmethod") || d.getAttribute("method") || ke, n = Fe(e.getAttribute("formenctype")) || Fe(d.getAttribute("enctype")) || we, a = new FormData(d, e), !pl()) {
406
+ if (o = c ? ae(c, t) : null, l = e.getAttribute("formmethod") || d.getAttribute("method") || ke, n = Oe(e.getAttribute("formenctype")) || Oe(d.getAttribute("enctype")) || we, a = new FormData(d, e), !pl()) {
407
407
  let {
408
408
  name: u,
409
409
  type: h,
@@ -415,7 +415,7 @@ function vl(e, t) {
415
415
  } else u && a.append(u, p);
416
416
  }
417
417
  } else {
418
- if (ze(e))
418
+ if (Ae(e))
419
419
  throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');
420
420
  l = ke, o = null, n = we, i = e;
421
421
  }
@@ -432,14 +432,14 @@ try {
432
432
  window.__reactRouterVersion = fl;
433
433
  } catch {
434
434
  }
435
- const Ct = /* @__PURE__ */ y.createContext({
435
+ const Et = /* @__PURE__ */ k.createContext({
436
436
  isTransitioning: !1
437
437
  });
438
- process.env.NODE_ENV !== "production" && (Ct.displayName = "ViewTransition");
439
- const xl = /* @__PURE__ */ y.createContext(/* @__PURE__ */ new Map());
438
+ process.env.NODE_ENV !== "production" && (Et.displayName = "ViewTransition");
439
+ const xl = /* @__PURE__ */ k.createContext(/* @__PURE__ */ new Map());
440
440
  process.env.NODE_ENV !== "production" && (xl.displayName = "Fetchers");
441
441
  process.env.NODE_ENV;
442
- const $l = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u", yl = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, Y = /* @__PURE__ */ y.forwardRef(function(t, l) {
442
+ const $l = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u", yl = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, Y = /* @__PURE__ */ k.forwardRef(function(t, l) {
443
443
  let {
444
444
  onClick: o,
445
445
  relative: n,
@@ -450,19 +450,19 @@ const $l = typeof window < "u" && typeof window.document < "u" && typeof window.
450
450
  to: u,
451
451
  preventScrollReset: h,
452
452
  viewTransition: p
453
- } = t, g = Ye(t, gl), {
453
+ } = t, g = We(t, gl), {
454
454
  basename: m
455
- } = y.useContext(G), b, f = !1;
455
+ } = k.useContext(G), b, f = !1;
456
456
  if (typeof u == "string" && yl.test(u) && (b = u, $l))
457
457
  try {
458
- let C = new URL(window.location.href), T = u.startsWith("//") ? new URL(C.protocol + u) : new URL(u), D = ae(T.pathname, m);
459
- T.origin === C.origin && D != null ? u = D + T.search + T.hash : f = !0;
458
+ let C = new URL(window.location.href), E = u.startsWith("//") ? new URL(C.protocol + u) : new URL(u), R = ae(E.pathname, m);
459
+ E.origin === C.origin && R != null ? u = R + E.search + E.hash : f = !0;
460
460
  } catch {
461
461
  process.env.NODE_ENV !== "production" && ve(!1, '<Link to="' + u + '"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.');
462
462
  }
463
463
  let x = el(u, {
464
464
  relative: n
465
- }), w = Cl(u, {
465
+ }), y = Cl(u, {
466
466
  replace: i,
467
467
  state: d,
468
468
  target: c,
@@ -471,11 +471,11 @@ const $l = typeof window < "u" && typeof window.document < "u" && typeof window.
471
471
  viewTransition: p
472
472
  });
473
473
  function $(C) {
474
- o && o(C), C.defaultPrevented || w(C);
474
+ o && o(C), C.defaultPrevented || y(C);
475
475
  }
476
476
  return (
477
477
  // eslint-disable-next-line jsx-a11y/anchor-has-content
478
- /* @__PURE__ */ y.createElement("a", ie({}, g, {
478
+ /* @__PURE__ */ k.createElement("a", ie({}, g, {
479
479
  href: b || x,
480
480
  onClick: f || a ? o : $,
481
481
  ref: l,
@@ -484,7 +484,7 @@ const $l = typeof window < "u" && typeof window.document < "u" && typeof window.
484
484
  );
485
485
  });
486
486
  process.env.NODE_ENV !== "production" && (Y.displayName = "Link");
487
- const kl = /* @__PURE__ */ y.forwardRef(function(t, l) {
487
+ const kl = /* @__PURE__ */ k.forwardRef(function(t, l) {
488
488
  let {
489
489
  "aria-current": o = "page",
490
490
  caseSensitive: n = !1,
@@ -494,34 +494,34 @@ const kl = /* @__PURE__ */ y.forwardRef(function(t, l) {
494
494
  to: c,
495
495
  viewTransition: u,
496
496
  children: h
497
- } = t, p = Ye(t, bl), g = be(c, {
497
+ } = t, p = We(t, bl), g = be(c, {
498
498
  relative: p.relative
499
- }), m = ge(), b = y.useContext(xt), {
499
+ }), m = ge(), b = k.useContext($t), {
500
500
  navigator: f,
501
501
  basename: x
502
- } = y.useContext(G), w = b != null && // Conditional usage is OK here because the usage of a data router is static
502
+ } = k.useContext(G), y = b != null && // Conditional usage is OK here because the usage of a data router is static
503
503
  // eslint-disable-next-line react-hooks/rules-of-hooks
504
- Dl(g) && u === !0, $ = f.encodeLocation ? f.encodeLocation(g).pathname : g.pathname, C = m.pathname, T = b && b.navigation && b.navigation.location ? b.navigation.location.pathname : null;
505
- n || (C = C.toLowerCase(), T = T ? T.toLowerCase() : null, $ = $.toLowerCase()), T && x && (T = ae(T, x) || T);
506
- const D = $ !== "/" && $.endsWith("/") ? $.length - 1 : $.length;
507
- let R = C === $ || !i && C.startsWith($) && C.charAt(D) === "/", S = T != null && (T === $ || !i && T.startsWith($) && T.charAt($.length) === "/"), P = {
508
- isActive: R,
509
- isPending: S,
510
- isTransitioning: w
511
- }, I = R ? o : void 0, V;
512
- typeof a == "function" ? V = a(P) : V = [a, R ? "active" : null, S ? "pending" : null, w ? "transitioning" : null].filter(Boolean).join(" ");
513
- let j = typeof d == "function" ? d(P) : d;
514
- return /* @__PURE__ */ y.createElement(Y, ie({}, p, {
504
+ Dl(g) && u === !0, $ = f.encodeLocation ? f.encodeLocation(g).pathname : g.pathname, C = m.pathname, E = b && b.navigation && b.navigation.location ? b.navigation.location.pathname : null;
505
+ n || (C = C.toLowerCase(), E = E ? E.toLowerCase() : null, $ = $.toLowerCase()), E && x && (E = ae(E, x) || E);
506
+ const R = $ !== "/" && $.endsWith("/") ? $.length - 1 : $.length;
507
+ let F = C === $ || !i && C.startsWith($) && C.charAt(R) === "/", A = E != null && (E === $ || !i && E.startsWith($) && E.charAt($.length) === "/"), S = {
508
+ isActive: F,
509
+ isPending: A,
510
+ isTransitioning: y
511
+ }, I = F ? o : void 0, V;
512
+ typeof a == "function" ? V = a(S) : V = [a, F ? "active" : null, A ? "pending" : null, y ? "transitioning" : null].filter(Boolean).join(" ");
513
+ let j = typeof d == "function" ? d(S) : d;
514
+ return /* @__PURE__ */ k.createElement(Y, ie({}, p, {
515
515
  "aria-current": I,
516
516
  className: V,
517
517
  ref: l,
518
518
  style: j,
519
519
  to: c,
520
520
  viewTransition: u
521
- }), typeof h == "function" ? h(P) : h);
521
+ }), typeof h == "function" ? h(S) : h);
522
522
  });
523
523
  process.env.NODE_ENV !== "production" && (kl.displayName = "NavLink");
524
- const wl = /* @__PURE__ */ y.forwardRef((e, t) => {
524
+ const wl = /* @__PURE__ */ k.forwardRef((e, t) => {
525
525
  let {
526
526
  fetcherKey: l,
527
527
  navigate: o,
@@ -534,15 +534,15 @@ const wl = /* @__PURE__ */ y.forwardRef((e, t) => {
534
534
  relative: h,
535
535
  preventScrollReset: p,
536
536
  viewTransition: g
537
- } = e, m = Ye(e, ml), b = zl(), f = Al(c, {
537
+ } = e, m = We(e, ml), b = zl(), f = Al(c, {
538
538
  relative: h
539
- }), x = d.toLowerCase() === "get" ? "get" : "post", w = ($) => {
539
+ }), x = d.toLowerCase() === "get" ? "get" : "post", y = ($) => {
540
540
  if (u && u($), $.defaultPrevented) return;
541
541
  $.preventDefault();
542
- let C = $.nativeEvent.submitter, T = (C == null ? void 0 : C.getAttribute("formmethod")) || d;
542
+ let C = $.nativeEvent.submitter, E = (C == null ? void 0 : C.getAttribute("formmethod")) || d;
543
543
  b(C || $.currentTarget, {
544
544
  fetcherKey: l,
545
- method: T,
545
+ method: E,
546
546
  navigate: o,
547
547
  replace: a,
548
548
  state: i,
@@ -551,11 +551,11 @@ const wl = /* @__PURE__ */ y.forwardRef((e, t) => {
551
551
  viewTransition: g
552
552
  });
553
553
  };
554
- return /* @__PURE__ */ y.createElement("form", ie({
554
+ return /* @__PURE__ */ k.createElement("form", ie({
555
555
  ref: t,
556
556
  method: x,
557
557
  action: f,
558
- onSubmit: n ? u : w
558
+ onSubmit: n ? u : y
559
559
  }, m));
560
560
  });
561
561
  process.env.NODE_ENV !== "production" && (wl.displayName = "Form");
@@ -564,15 +564,15 @@ var Ne;
564
564
  (function(e) {
565
565
  e.UseScrollRestoration = "useScrollRestoration", e.UseSubmit = "useSubmit", e.UseSubmitFetcher = "useSubmitFetcher", e.UseFetcher = "useFetcher", e.useViewTransitionState = "useViewTransitionState";
566
566
  })(Ne || (Ne = {}));
567
- var ot;
567
+ var rt;
568
568
  (function(e) {
569
569
  e.UseFetcher = "useFetcher", e.UseFetchers = "useFetchers", e.UseScrollRestoration = "useScrollRestoration";
570
- })(ot || (ot = {}));
570
+ })(rt || (rt = {}));
571
571
  function Nl(e) {
572
572
  return e + " must be used within a data router. See https://reactrouter.com/v6/routers/picking-a-router.";
573
573
  }
574
- function Et(e) {
575
- let t = y.useContext(Se);
574
+ function Tt(e) {
575
+ let t = k.useContext(ze);
576
576
  return t || (process.env.NODE_ENV !== "production" ? z(!1, Nl(e)) : z(!1)), t;
577
577
  }
578
578
  function Cl(e, t) {
@@ -586,10 +586,10 @@ function Cl(e, t) {
586
586
  } = t === void 0 ? {} : t, c = tl(), u = ge(), h = be(e, {
587
587
  relative: i
588
588
  });
589
- return y.useCallback((p) => {
589
+ return k.useCallback((p) => {
590
590
  if (sl(p, l)) {
591
591
  p.preventDefault();
592
- let g = o !== void 0 ? o : Ie(u) === Ie(h);
592
+ let g = o !== void 0 ? o : Ve(u) === Ve(h);
593
593
  c(e, {
594
594
  replace: g,
595
595
  state: n,
@@ -608,10 +608,10 @@ let Tl = 0, Sl = () => "__" + String(++Tl) + "__";
608
608
  function zl() {
609
609
  let {
610
610
  router: e
611
- } = Et(Ne.UseSubmit), {
611
+ } = Tt(Ne.UseSubmit), {
612
612
  basename: t
613
- } = y.useContext(G), l = nl();
614
- return y.useCallback(function(o, n) {
613
+ } = k.useContext(G), l = nl();
614
+ return k.useCallback(function(o, n) {
615
615
  n === void 0 && (n = {}), El();
616
616
  let {
617
617
  action: a,
@@ -650,7 +650,7 @@ function Al(e, t) {
650
650
  relative: l
651
651
  } = t === void 0 ? {} : t, {
652
652
  basename: o
653
- } = y.useContext(G), n = y.useContext(ue);
653
+ } = k.useContext(G), n = k.useContext(ue);
654
654
  n || (process.env.NODE_ENV !== "production" ? z(!1, "useFormAction must be used inside a RouteContext") : z(!1));
655
655
  let [a] = n.matches.slice(-1), i = ie({}, be(e || ".", {
656
656
  relative: l
@@ -664,21 +664,21 @@ function Al(e, t) {
664
664
  i.search = p ? "?" + p : "";
665
665
  }
666
666
  }
667
- return (!e || e === ".") && a.route.index && (i.search = i.search ? i.search.replace(/^\?/, "?index&") : "?index"), o !== "/" && (i.pathname = i.pathname === "/" ? o : Ue([o, i.pathname])), Ie(i);
667
+ return (!e || e === ".") && a.route.index && (i.search = i.search ? i.search.replace(/^\?/, "?index&") : "?index"), o !== "/" && (i.pathname = i.pathname === "/" ? o : Me([o, i.pathname])), Ve(i);
668
668
  }
669
669
  function Dl(e, t) {
670
670
  t === void 0 && (t = {});
671
- let l = y.useContext(Ct);
671
+ let l = k.useContext(Et);
672
672
  l == null && (process.env.NODE_ENV !== "production" ? z(!1, "`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?") : z(!1));
673
673
  let {
674
674
  basename: o
675
- } = Et(Ne.useViewTransitionState), n = be(e, {
675
+ } = Tt(Ne.useViewTransitionState), n = be(e, {
676
676
  relative: t.relative
677
677
  });
678
678
  if (!l.isTransitioning)
679
679
  return !1;
680
680
  let a = ae(l.currentLocation.pathname, o) || l.currentLocation.pathname, i = ae(l.nextLocation.pathname, o) || l.nextLocation.pathname;
681
- return lt(n.pathname, i) != null || lt(n.pathname, a) != null;
681
+ return ot(n.pathname, i) != null || ot(n.pathname, a) != null;
682
682
  }
683
683
  const Rl = {
684
684
  neutral: {
@@ -832,7 +832,7 @@ const Rl = {
832
832
  }, r = {
833
833
  palette: Rl,
834
834
  typography: Fl
835
- }, L = {
835
+ }, P = {
836
836
  primary: {
837
837
  content: {
838
838
  color: {
@@ -1030,8 +1030,8 @@ const Rl = {
1030
1030
  padding: ${({ $spacing: e }) => e === "wide" ? "8px" : e === "compact" ? "4px" : "0px"};
1031
1031
 
1032
1032
  color: ${({ theme: e, $variant: t, $appearance: l, $parentHover: o, disabled: n }) => {
1033
- var a, i, d, c, u, h, p, g, m, b, f, x, w, $, C, T;
1034
- return n ? ((c = (d = (i = (a = e == null ? void 0 : e.icon) == null ? void 0 : a[l]) == null ? void 0 : i.contrast) == null ? void 0 : d.color) == null ? void 0 : c.disabled) || L[l].contrast.color.disabled : t !== "filled" ? o ? ((g = (p = (h = (u = e == null ? void 0 : e.icon) == null ? void 0 : u[l]) == null ? void 0 : h.content) == null ? void 0 : p.color) == null ? void 0 : g.hover) || L[l].content.color.hover : ((x = (f = (b = (m = e == null ? void 0 : e.icon) == null ? void 0 : m[l]) == null ? void 0 : b.content) == null ? void 0 : f.color) == null ? void 0 : x.regular) || L[l].content.color.regular : ((T = (C = ($ = (w = e == null ? void 0 : e.icon) == null ? void 0 : w[l]) == null ? void 0 : $.contrast) == null ? void 0 : C.color) == null ? void 0 : T.regular) || L[l].contrast.color.regular;
1033
+ var a, i, d, c, u, h, p, g, m, b, f, x, y, $, C, E;
1034
+ return n ? ((c = (d = (i = (a = e == null ? void 0 : e.icon) == null ? void 0 : a[l]) == null ? void 0 : i.contrast) == null ? void 0 : d.color) == null ? void 0 : c.disabled) || P[l].contrast.color.disabled : t !== "filled" ? o ? ((g = (p = (h = (u = e == null ? void 0 : e.icon) == null ? void 0 : u[l]) == null ? void 0 : h.content) == null ? void 0 : p.color) == null ? void 0 : g.hover) || P[l].content.color.hover : ((x = (f = (b = (m = e == null ? void 0 : e.icon) == null ? void 0 : m[l]) == null ? void 0 : b.content) == null ? void 0 : f.color) == null ? void 0 : x.regular) || P[l].content.color.regular : ((E = (C = ($ = (y = e == null ? void 0 : e.icon) == null ? void 0 : y[l]) == null ? void 0 : $.contrast) == null ? void 0 : C.color) == null ? void 0 : E.regular) || P[l].contrast.color.regular;
1035
1035
  }};
1036
1036
 
1037
1037
  background-color: ${({
@@ -1043,7 +1043,7 @@ const Rl = {
1043
1043
  }) => {
1044
1044
  var a, i, d, c, u, h, p, g, m, b, f, x;
1045
1045
  if (t === "filled")
1046
- return n ? ((c = (d = (i = (a = e == null ? void 0 : e.icon) == null ? void 0 : a[l]) == null ? void 0 : i.background) == null ? void 0 : d.color) == null ? void 0 : c.disabled) || L[l].background.color.disabled : o ? ((g = (p = (h = (u = e == null ? void 0 : e.icon) == null ? void 0 : u[l]) == null ? void 0 : h.background) == null ? void 0 : p.color) == null ? void 0 : g.hover) || L[l].background.color.hover : ((x = (f = (b = (m = e == null ? void 0 : e.icon) == null ? void 0 : m[l]) == null ? void 0 : b.background) == null ? void 0 : f.color) == null ? void 0 : x.regular) || L[l].background.color.regular;
1046
+ return n ? ((c = (d = (i = (a = e == null ? void 0 : e.icon) == null ? void 0 : a[l]) == null ? void 0 : i.background) == null ? void 0 : d.color) == null ? void 0 : c.disabled) || P[l].background.color.disabled : o ? ((g = (p = (h = (u = e == null ? void 0 : e.icon) == null ? void 0 : u[l]) == null ? void 0 : h.background) == null ? void 0 : p.color) == null ? void 0 : g.hover) || P[l].background.color.hover : ((x = (f = (b = (m = e == null ? void 0 : e.icon) == null ? void 0 : m[l]) == null ? void 0 : b.background) == null ? void 0 : f.color) == null ? void 0 : x.regular) || P[l].background.color.regular;
1047
1047
  }};
1048
1048
 
1049
1049
  border-radius: ${({ $shape: e }) => e === "circle" ? "50%" : "8px"};
@@ -1057,7 +1057,7 @@ const Rl = {
1057
1057
  $variant: n
1058
1058
  }) => {
1059
1059
  var a, i, d, c, u, h, p, g, m, b, f, x;
1060
- return o ? ((c = (d = (i = (a = e == null ? void 0 : e.icon) == null ? void 0 : a[t]) == null ? void 0 : i.content) == null ? void 0 : d.color) == null ? void 0 : c.disabled) || L[t].content.color.disabled : l && n !== "filled" ? ((g = (p = (h = (u = e == null ? void 0 : e.icon) == null ? void 0 : u[t]) == null ? void 0 : h.content) == null ? void 0 : p.color) == null ? void 0 : g.hover) || L[t].content.color.hover : ((x = (f = (b = (m = e == null ? void 0 : e.icon) == null ? void 0 : m[t]) == null ? void 0 : b.content) == null ? void 0 : f.color) == null ? void 0 : x.regular) || L[t].content.color.regular;
1060
+ return o ? ((c = (d = (i = (a = e == null ? void 0 : e.icon) == null ? void 0 : a[t]) == null ? void 0 : i.content) == null ? void 0 : d.color) == null ? void 0 : c.disabled) || P[t].content.color.disabled : l && n !== "filled" ? ((g = (p = (h = (u = e == null ? void 0 : e.icon) == null ? void 0 : u[t]) == null ? void 0 : h.content) == null ? void 0 : p.color) == null ? void 0 : g.hover) || P[t].content.color.hover : ((x = (f = (b = (m = e == null ? void 0 : e.icon) == null ? void 0 : m[t]) == null ? void 0 : b.content) == null ? void 0 : f.color) == null ? void 0 : x.regular) || P[t].content.color.regular;
1061
1061
  }};
1062
1062
  }
1063
1063
 
@@ -1075,13 +1075,13 @@ const Rl = {
1075
1075
  }) => {
1076
1076
  var a, i, d, c;
1077
1077
  if (!o && t && n !== "filled")
1078
- return ((c = (d = (i = (a = e == null ? void 0 : e.icon) == null ? void 0 : a[l]) == null ? void 0 : i.content) == null ? void 0 : d.color) == null ? void 0 : c.hover) || L[l].content.color.hover;
1078
+ return ((c = (d = (i = (a = e == null ? void 0 : e.icon) == null ? void 0 : a[l]) == null ? void 0 : i.content) == null ? void 0 : d.color) == null ? void 0 : c.hover) || P[l].content.color.hover;
1079
1079
  }};
1080
1080
 
1081
1081
  color: ${({ theme: e, $cursorHover: t, $appearance: l, disabled: o, $variant: n }) => {
1082
1082
  var a, i, d, c;
1083
1083
  if (!o && t && n !== "filled")
1084
- return ((c = (d = (i = (a = e == null ? void 0 : e.icon) == null ? void 0 : a[l]) == null ? void 0 : i.content) == null ? void 0 : d.color) == null ? void 0 : c.hover) || L[l].content.color.hover;
1084
+ return ((c = (d = (i = (a = e == null ? void 0 : e.icon) == null ? void 0 : a[l]) == null ? void 0 : i.content) == null ? void 0 : d.color) == null ? void 0 : c.hover) || P[l].content.color.hover;
1085
1085
  }};
1086
1086
 
1087
1087
  background-color: ${({
@@ -1093,7 +1093,7 @@ const Rl = {
1093
1093
  }) => {
1094
1094
  var a, i, d, c;
1095
1095
  if (!n && t === "filled" && o)
1096
- return ((c = (d = (i = (a = e == null ? void 0 : e.icon) == null ? void 0 : a[l]) == null ? void 0 : i.background) == null ? void 0 : d.color) == null ? void 0 : c.hover) || L[l].background.color.hover;
1096
+ return ((c = (d = (i = (a = e == null ? void 0 : e.icon) == null ? void 0 : a[l]) == null ? void 0 : i.background) == null ? void 0 : d.color) == null ? void 0 : c.hover) || P[l].background.color.hover;
1097
1097
  }};
1098
1098
  }
1099
1099
  `, q = (e) => {
@@ -1232,7 +1232,7 @@ const Rl = {
1232
1232
  return !t && l && (((d = (i = (a = (n = o == null ? void 0 : o.text) == null ? void 0 : n[e]) == null ? void 0 : a.content) == null ? void 0 : i.color) == null ? void 0 : d.hover) || H[e].content.color.hover);
1233
1233
  }};
1234
1234
  }
1235
- `, A = (e) => {
1235
+ `, D = (e) => {
1236
1236
  const {
1237
1237
  children: t,
1238
1238
  appearance: l = "dark",
@@ -1253,8 +1253,8 @@ const Rl = {
1253
1253
  if (!p)
1254
1254
  try {
1255
1255
  g && g(x);
1256
- } catch (w) {
1257
- console.error(`Error when clicking over select. ${w}`);
1256
+ } catch (y) {
1257
+ console.error(`Error when clicking over select. ${y}`);
1258
1258
  }
1259
1259
  }
1260
1260
  return /* @__PURE__ */ s(
@@ -1277,13 +1277,13 @@ const Rl = {
1277
1277
  }
1278
1278
  );
1279
1279
  };
1280
- var Tt = {
1280
+ var St = {
1281
1281
  color: void 0,
1282
1282
  size: void 0,
1283
1283
  className: void 0,
1284
1284
  style: void 0,
1285
1285
  attr: void 0
1286
- }, rt = oe.createContext && /* @__PURE__ */ oe.createContext(Tt), Pl = ["attr", "size", "title"];
1286
+ }, nt = oe.createContext && /* @__PURE__ */ oe.createContext(St), Pl = ["attr", "size", "title"];
1287
1287
  function Bl(e, t) {
1288
1288
  if (e == null) return {};
1289
1289
  var l = Il(e, t), o, n;
@@ -1314,7 +1314,7 @@ function Ce() {
1314
1314
  return e;
1315
1315
  }, Ce.apply(this, arguments);
1316
1316
  }
1317
- function nt(e, t) {
1317
+ function at(e, t) {
1318
1318
  var l = Object.keys(e);
1319
1319
  if (Object.getOwnPropertySymbols) {
1320
1320
  var o = Object.getOwnPropertySymbols(e);
@@ -1327,9 +1327,9 @@ function nt(e, t) {
1327
1327
  function Ee(e) {
1328
1328
  for (var t = 1; t < arguments.length; t++) {
1329
1329
  var l = arguments[t] != null ? arguments[t] : {};
1330
- t % 2 ? nt(Object(l), !0).forEach(function(o) {
1330
+ t % 2 ? at(Object(l), !0).forEach(function(o) {
1331
1331
  Vl(e, o, l[o]);
1332
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(l)) : nt(Object(l)).forEach(function(o) {
1332
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(l)) : at(Object(l)).forEach(function(o) {
1333
1333
  Object.defineProperty(e, o, Object.getOwnPropertyDescriptor(l, o));
1334
1334
  });
1335
1335
  }
@@ -1352,15 +1352,15 @@ function Hl(e, t) {
1352
1352
  }
1353
1353
  return (t === "string" ? String : Number)(e);
1354
1354
  }
1355
- function St(e) {
1355
+ function zt(e) {
1356
1356
  return e && e.map((t, l) => /* @__PURE__ */ oe.createElement(t.tag, Ee({
1357
1357
  key: l
1358
- }, t.attr), St(t.child)));
1358
+ }, t.attr), zt(t.child)));
1359
1359
  }
1360
1360
  function W(e) {
1361
1361
  return (t) => /* @__PURE__ */ oe.createElement(_l, Ce({
1362
1362
  attr: Ee({}, e.attr)
1363
- }, t), St(e.child));
1363
+ }, t), zt(e.child));
1364
1364
  }
1365
1365
  function _l(e) {
1366
1366
  var t = (l) => {
@@ -1383,7 +1383,7 @@ function _l(e) {
1383
1383
  xmlns: "http://www.w3.org/2000/svg"
1384
1384
  }), a && /* @__PURE__ */ oe.createElement("title", null, a), e.children);
1385
1385
  };
1386
- return rt !== void 0 ? /* @__PURE__ */ oe.createElement(rt.Consumer, null, (l) => t(l)) : t(Tt);
1386
+ return nt !== void 0 ? /* @__PURE__ */ oe.createElement(nt.Consumer, null, (l) => t(l)) : t(St);
1387
1387
  }
1388
1388
  function Ul(e) {
1389
1389
  return W({ attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0z" }, child: [] }, { tag: "path", attr: { d: "M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z" }, child: [] }] })(e);
@@ -1424,7 +1424,7 @@ const Ql = v.div`
1424
1424
  gap: ${({ $gap: e }) => e};
1425
1425
  margin: ${({ $margin: e }) => e};
1426
1426
  padding: ${({ $padding: e }) => e};
1427
- `, E = (e) => {
1427
+ `, T = (e) => {
1428
1428
  const {
1429
1429
  children: t,
1430
1430
  wrap: l,
@@ -1478,7 +1478,7 @@ const Zl = v.div`
1478
1478
  padding: ${({ $padding: e }) => e};
1479
1479
  height: ${({ $height: e }) => e};
1480
1480
  width: ${({ $width: e }) => e};
1481
- `, zt = (e) => {
1481
+ `, At = (e) => {
1482
1482
  const {
1483
1483
  templateColumns: t = "auto",
1484
1484
  templateRows: l = "auto",
@@ -1516,9 +1516,9 @@ const Zl = v.div`
1516
1516
  children: f
1517
1517
  }
1518
1518
  );
1519
- }, At = (e) => {
1519
+ }, Te = (e) => {
1520
1520
  const [t, l] = J(!1), o = (n) => l(n.matches);
1521
- return ht(() => {
1521
+ return vt(() => {
1522
1522
  const n = window.matchMedia(e);
1523
1523
  return o(n), n.addEventListener(
1524
1524
  "change",
@@ -1594,7 +1594,7 @@ v.div`
1594
1594
  padding-top: 4px;
1595
1595
  }
1596
1596
  `;
1597
- const Oe = {
1597
+ const Le = {
1598
1598
  content: {
1599
1599
  color: {
1600
1600
  regular: r.palette.blue.B400,
@@ -1616,7 +1616,7 @@ v(Y)`
1616
1616
  text-align: ${({ $textAlign: e }) => e};
1617
1617
  color: ${({ theme: e }) => {
1618
1618
  var t, l, o;
1619
- return ((o = (l = (t = e == null ? void 0 : e.link) == null ? void 0 : t.content) == null ? void 0 : l.color) == null ? void 0 : o.regular) || Oe.content.color.regular;
1619
+ return ((o = (l = (t = e == null ? void 0 : e.link) == null ? void 0 : t.content) == null ? void 0 : l.color) == null ? void 0 : o.regular) || Le.content.color.regular;
1620
1620
  }};
1621
1621
  cursor: pointer;
1622
1622
  text-decoration: none;
@@ -1624,11 +1624,11 @@ v(Y)`
1624
1624
  border-bottom: 1px solid
1625
1625
  ${({ theme: e }) => {
1626
1626
  var t, l, o;
1627
- return ((o = (l = (t = e == null ? void 0 : e.link) == null ? void 0 : t.content) == null ? void 0 : l.color) == null ? void 0 : o.hover) || Oe.content.color.hover;
1627
+ return ((o = (l = (t = e == null ? void 0 : e.link) == null ? void 0 : t.content) == null ? void 0 : l.color) == null ? void 0 : o.hover) || Le.content.color.hover;
1628
1628
  }};
1629
1629
  color: ${({ theme: e }) => {
1630
1630
  var t, l, o;
1631
- return ((o = (l = (t = e == null ? void 0 : e.link) == null ? void 0 : t.content) == null ? void 0 : l.color) == null ? void 0 : o.hover) || Oe.content.color.hover;
1631
+ return ((o = (l = (t = e == null ? void 0 : e.link) == null ? void 0 : t.content) == null ? void 0 : l.color) == null ? void 0 : o.hover) || Le.content.color.hover;
1632
1632
  }};
1633
1633
  }
1634
1634
  `;
@@ -1641,7 +1641,7 @@ const lo = {
1641
1641
  invalid: "danger"
1642
1642
  }
1643
1643
  }
1644
- }, Ae = (e) => {
1644
+ }, De = (e) => {
1645
1645
  const {
1646
1646
  children: t,
1647
1647
  disabled: l = !1,
@@ -1653,7 +1653,7 @@ const lo = {
1653
1653
  size: c = "large"
1654
1654
  } = e, u = ee(Z);
1655
1655
  return /* @__PURE__ */ s("label", { htmlFor: n, children: /* @__PURE__ */ s(
1656
- A,
1656
+ D,
1657
1657
  {
1658
1658
  appearance: (() => {
1659
1659
  var h;
@@ -1776,8 +1776,8 @@ const oo = {
1776
1776
  z-index: 1;
1777
1777
  overflow-y: auto;
1778
1778
  `, no = (e) => {
1779
- const { children: t } = e, l = At("(max-width: 580px)");
1780
- return /* @__PURE__ */ s(ro, { $isSmallScreen: !l, children: /* @__PURE__ */ s(E, { alignItems: "center", justifyContent: "center", children: t }) });
1779
+ const { children: t } = e, l = Te("(max-width: 580px)");
1780
+ return /* @__PURE__ */ s(ro, { $isSmallScreen: !l, children: /* @__PURE__ */ s(T, { alignItems: "center", justifyContent: "center", children: t }) });
1781
1781
  }, xe = {
1782
1782
  primary: {
1783
1783
  solid: {
@@ -2189,7 +2189,7 @@ const oo = {
2189
2189
  }
2190
2190
  `, po = v(Y)`
2191
2191
  text-decoration: none;
2192
- `, ho = (e, t, l, o) => e === "filled" ? !1 : t && !o ? l : o, at = (e) => {
2192
+ `, ho = (e, t, l, o) => e === "filled" ? !1 : t && !o ? l : o, it = (e) => {
2193
2193
  const {
2194
2194
  children: t,
2195
2195
  appearance: l = "primary",
@@ -2204,16 +2204,16 @@ const oo = {
2204
2204
  onClick: p,
2205
2205
  cursorHover: g = !1,
2206
2206
  parentHover: m = !1
2207
- } = e, b = ee(Z), f = (R) => {
2208
- var S, P, I;
2209
- return ((I = (P = (S = b == null ? void 0 : b.button) == null ? void 0 : S[R]) == null ? void 0 : P.contrast) == null ? void 0 : I.appearance) || _[R].contrast.appearance;
2210
- }, [x, w] = J(!1), $ = () => w(!0), C = () => w(!1), T = (R) => {
2207
+ } = e, b = ee(Z), f = (F) => {
2208
+ var A, S, I;
2209
+ return ((I = (S = (A = b == null ? void 0 : b.button) == null ? void 0 : A[F]) == null ? void 0 : S.contrast) == null ? void 0 : I.appearance) || _[F].contrast.appearance;
2210
+ }, [x, y] = J(!1), $ = () => y(!0), C = () => y(!1), E = (F) => {
2211
2211
  try {
2212
- p && p(R);
2213
- } catch (S) {
2214
- console.error(S);
2212
+ p && p(F);
2213
+ } catch (A) {
2214
+ console.error(A);
2215
2215
  }
2216
- }, D = ho(
2216
+ }, R = ho(
2217
2217
  u,
2218
2218
  g,
2219
2219
  x,
@@ -2231,7 +2231,7 @@ const oo = {
2231
2231
  $spacing: c,
2232
2232
  $variant: u,
2233
2233
  $fullwidth: h,
2234
- onClick: n ? null : T,
2234
+ onClick: n ? null : E,
2235
2235
  $cursorHover: g,
2236
2236
  $parentHover: m,
2237
2237
  onMouseEnter: $,
@@ -2243,7 +2243,7 @@ const oo = {
2243
2243
  transparent: u === "filled",
2244
2244
  size: "small"
2245
2245
  }
2246
- ) : /* @__PURE__ */ k(E, { alignItems: "center", justifyContent: "center", gap: "8px", children: [
2246
+ ) : /* @__PURE__ */ w(T, { alignItems: "center", justifyContent: "center", gap: "8px", children: [
2247
2247
  a && /* @__PURE__ */ s(
2248
2248
  q,
2249
2249
  {
@@ -2251,18 +2251,18 @@ const oo = {
2251
2251
  size: "18px",
2252
2252
  appearance: u === "filled" ? f(l) : l,
2253
2253
  disabled: n,
2254
- parentHover: D
2254
+ parentHover: R
2255
2255
  }
2256
2256
  ),
2257
2257
  /* @__PURE__ */ s(
2258
- A,
2258
+ D,
2259
2259
  {
2260
2260
  type: "label",
2261
2261
  size: "large",
2262
2262
  appearance: u === "filled" ? f(l) : l,
2263
2263
  disabled: n,
2264
2264
  ellipsis: !0,
2265
- parentHover: D,
2265
+ parentHover: R,
2266
2266
  textAlign: "start",
2267
2267
  weight: "bold",
2268
2268
  children: t
@@ -2275,15 +2275,15 @@ const oo = {
2275
2275
  size: "18px",
2276
2276
  appearance: u === "filled" ? f(l) : l,
2277
2277
  disabled: n,
2278
- parentHover: D
2278
+ parentHover: R
2279
2279
  }
2280
2280
  )
2281
2281
  ] })
2282
2282
  }
2283
2283
  );
2284
- }, it = (e) => {
2284
+ }, dt = (e) => {
2285
2285
  const { type: t = "button", path: l } = e;
2286
- return t === "link" && !l && console.warn("You must provide a path to use a link button"), t === "link" ? /* @__PURE__ */ s(po, { to: l, children: /* @__PURE__ */ s(at, { ...e }) }) : /* @__PURE__ */ s(at, { ...e });
2286
+ return t === "link" && !l && console.warn("You must provide a path to use a link button"), t === "link" ? /* @__PURE__ */ s(po, { to: l, children: /* @__PURE__ */ s(it, { ...e }) }) : /* @__PURE__ */ s(it, { ...e });
2287
2287
  }, N = {
2288
2288
  border: {
2289
2289
  color: {
@@ -2420,7 +2420,7 @@ v.div`
2420
2420
  margin-top: 4px;
2421
2421
  pointer-events: none;
2422
2422
  `;
2423
- const Te = {
2423
+ const Se = {
2424
2424
  track: {
2425
2425
  color: r.palette.neutral.N30
2426
2426
  },
@@ -2441,7 +2441,7 @@ v.div`
2441
2441
  width: 100%;
2442
2442
  background-color: ${({ theme: e }) => {
2443
2443
  var t, l;
2444
- return ((l = (t = e == null ? void 0 : e.assisted) == null ? void 0 : t.track) == null ? void 0 : l.color) || Te.track.color;
2444
+ return ((l = (t = e == null ? void 0 : e.assisted) == null ? void 0 : t.track) == null ? void 0 : l.color) || Se.track.color;
2445
2445
  }};
2446
2446
 
2447
2447
  &::before {
@@ -2453,7 +2453,7 @@ v.div`
2453
2453
  width: ${({ $currentStep: e, $totalSteps: t }) => `${e / t * 100}%`};
2454
2454
  background: ${({ theme: e }) => {
2455
2455
  var t, l;
2456
- return ((l = (t = e == null ? void 0 : e.assisted) == null ? void 0 : t.bar) == null ? void 0 : l.color) || Te.bar.color;
2456
+ return ((l = (t = e == null ? void 0 : e.assisted) == null ? void 0 : t.bar) == null ? void 0 : l.color) || Se.bar.color;
2457
2457
  }};
2458
2458
  }
2459
2459
  `;
@@ -2469,7 +2469,7 @@ v.div`
2469
2469
  border-style: solid;
2470
2470
  border-color: ${({ theme: e }) => {
2471
2471
  var t, l;
2472
- return ((l = (t = e == null ? void 0 : e.assisted) == null ? void 0 : t.step) == null ? void 0 : l.color) || Te.step.color;
2472
+ return ((l = (t = e == null ? void 0 : e.assisted) == null ? void 0 : t.step) == null ? void 0 : l.color) || Se.step.color;
2473
2473
  }};
2474
2474
  `;
2475
2475
  v.div`
@@ -2477,7 +2477,7 @@ v.div`
2477
2477
  padding: ${({ $size: e }) => e === "large" ? "16px" : "12px"};
2478
2478
  background-color: ${({ theme: e }) => {
2479
2479
  var t, l;
2480
- return ((l = (t = e == null ? void 0 : e.assisted) == null ? void 0 : t.background) == null ? void 0 : l.color) || Te.background.color;
2480
+ return ((l = (t = e == null ? void 0 : e.assisted) == null ? void 0 : t.background) == null ? void 0 : l.color) || Se.background.color;
2481
2481
  }};
2482
2482
  `;
2483
2483
  const vo = {
@@ -2593,7 +2593,7 @@ v.div`
2593
2593
  return ((l = (t = e == null ? void 0 : e.skeleton) == null ? void 0 : t.background) == null ? void 0 : l.color) || K.background.color;
2594
2594
  }};
2595
2595
 
2596
- ${({ $animated: e }) => e && He`
2596
+ ${({ $animated: e }) => e && _e`
2597
2597
  &::after {
2598
2598
  content: "";
2599
2599
  position: absolute;
@@ -2630,7 +2630,7 @@ const mo = de`
2630
2630
  return ((l = (t = e == null ? void 0 : e.skeleton) == null ? void 0 : t.background) == null ? void 0 : l.color) || K.background.color;
2631
2631
  }};
2632
2632
 
2633
- ${({ $animated: e }) => e && He`
2633
+ ${({ $animated: e }) => e && _e`
2634
2634
  &::after {
2635
2635
  content: "";
2636
2636
  position: absolute;
@@ -2943,7 +2943,7 @@ v.div`
2943
2943
  cursor: ${({ $disabled: e }) => e && "not-allowed"};
2944
2944
  `;
2945
2945
  (/* @__PURE__ */ new Date()).getFullYear();
2946
- const F = {
2946
+ const O = {
2947
2947
  on: {
2948
2948
  background: {
2949
2949
  color: {
@@ -3011,13 +3011,13 @@ const ko = v.div`
3011
3011
  height: ${({ $size: e }) => e === "small" ? "12px" : "16px"};
3012
3012
  background-color: ${({ theme: e }) => {
3013
3013
  var t, l, o, n;
3014
- return ((n = (o = (l = (t = e == null ? void 0 : e.toggle) == null ? void 0 : t.on) == null ? void 0 : l.toggleBackground) == null ? void 0 : o.color) == null ? void 0 : n.regular) || F.on.toggleBackground.color.regular;
3014
+ return ((n = (o = (l = (t = e == null ? void 0 : e.toggle) == null ? void 0 : t.on) == null ? void 0 : l.toggleBackground) == null ? void 0 : o.color) == null ? void 0 : n.regular) || O.on.toggleBackground.color.regular;
3015
3015
  }};
3016
3016
  border-width: 1px;
3017
3017
  border-style: solid;
3018
3018
  border-color: ${({ $checked: e, $disabled: t, theme: l }) => {
3019
- var o, n, a, i, d, c, u, h, p, g, m, b, f, x, w, $;
3020
- return e ? t ? ((i = (a = (n = (o = l == null ? void 0 : l.toggle) == null ? void 0 : o.on) == null ? void 0 : n.toggleBorder) == null ? void 0 : a.color) == null ? void 0 : i.disabled) || F.on.toggleBorder.color.disabled : ((h = (u = (c = (d = l == null ? void 0 : l.toggle) == null ? void 0 : d.on) == null ? void 0 : c.toggleBorder) == null ? void 0 : u.color) == null ? void 0 : h.regular) || F.on.toggleBorder.color.regular : t ? ((b = (m = (g = (p = l == null ? void 0 : l.toggle) == null ? void 0 : p.off) == null ? void 0 : g.toggleBorder) == null ? void 0 : m.color) == null ? void 0 : b.disabled) || F.off.toggleBorder.color.disabled : (($ = (w = (x = (f = l == null ? void 0 : l.toggle) == null ? void 0 : f.off) == null ? void 0 : x.toggleBorder) == null ? void 0 : w.color) == null ? void 0 : $.regular) || F.off.toggleBorder.color.regular;
3019
+ var o, n, a, i, d, c, u, h, p, g, m, b, f, x, y, $;
3020
+ return e ? t ? ((i = (a = (n = (o = l == null ? void 0 : l.toggle) == null ? void 0 : o.on) == null ? void 0 : n.toggleBorder) == null ? void 0 : a.color) == null ? void 0 : i.disabled) || O.on.toggleBorder.color.disabled : ((h = (u = (c = (d = l == null ? void 0 : l.toggle) == null ? void 0 : d.on) == null ? void 0 : c.toggleBorder) == null ? void 0 : u.color) == null ? void 0 : h.regular) || O.on.toggleBorder.color.regular : t ? ((b = (m = (g = (p = l == null ? void 0 : l.toggle) == null ? void 0 : p.off) == null ? void 0 : g.toggleBorder) == null ? void 0 : m.color) == null ? void 0 : b.disabled) || O.off.toggleBorder.color.disabled : (($ = (y = (x = (f = l == null ? void 0 : l.toggle) == null ? void 0 : f.off) == null ? void 0 : x.toggleBorder) == null ? void 0 : y.color) == null ? void 0 : $.regular) || O.off.toggleBorder.color.regular;
3021
3021
  }};
3022
3022
  }
3023
3023
  `, wo = v.label`
@@ -3029,14 +3029,14 @@ const ko = v.div`
3029
3029
  cursor: ${({ $disabled: e }) => e ? "not-allowed" : "pointer"};
3030
3030
 
3031
3031
  background-color: ${({ theme: e, $disabled: t, $checked: l }) => {
3032
- var o, n, a, i, d, c, u, h, p, g, m, b, f, x, w, $;
3033
- return l ? t ? ((i = (a = (n = (o = e == null ? void 0 : e.toggle) == null ? void 0 : o.on) == null ? void 0 : n.background) == null ? void 0 : a.color) == null ? void 0 : i.disabled) || F.on.background.color.disabled : ((h = (u = (c = (d = e == null ? void 0 : e.toggle) == null ? void 0 : d.on) == null ? void 0 : c.background) == null ? void 0 : u.color) == null ? void 0 : h.regular) || F.on.background.color.regular : t ? ((b = (m = (g = (p = e == null ? void 0 : e.toggle) == null ? void 0 : p.off) == null ? void 0 : g.background) == null ? void 0 : m.color) == null ? void 0 : b.disabled) || F.off.background.color.disabled : (($ = (w = (x = (f = e == null ? void 0 : e.toggle) == null ? void 0 : f.off) == null ? void 0 : x.background) == null ? void 0 : w.color) == null ? void 0 : $.regular) || F.off.background.color.regular;
3032
+ var o, n, a, i, d, c, u, h, p, g, m, b, f, x, y, $;
3033
+ return l ? t ? ((i = (a = (n = (o = e == null ? void 0 : e.toggle) == null ? void 0 : o.on) == null ? void 0 : n.background) == null ? void 0 : a.color) == null ? void 0 : i.disabled) || O.on.background.color.disabled : ((h = (u = (c = (d = e == null ? void 0 : e.toggle) == null ? void 0 : d.on) == null ? void 0 : c.background) == null ? void 0 : u.color) == null ? void 0 : h.regular) || O.on.background.color.regular : t ? ((b = (m = (g = (p = e == null ? void 0 : e.toggle) == null ? void 0 : p.off) == null ? void 0 : g.background) == null ? void 0 : m.color) == null ? void 0 : b.disabled) || O.off.background.color.disabled : (($ = (y = (x = (f = e == null ? void 0 : e.toggle) == null ? void 0 : f.off) == null ? void 0 : x.background) == null ? void 0 : y.color) == null ? void 0 : $.regular) || O.off.background.color.regular;
3034
3034
  }};
3035
3035
 
3036
3036
  &:hover {
3037
3037
  background-color: ${({ theme: e, $disabled: t, $checked: l }) => {
3038
- var o, n, a, i, d, c, u, h, p, g, m, b, f, x, w, $;
3039
- return l ? t ? ((i = (a = (n = (o = e == null ? void 0 : e.toggle) == null ? void 0 : o.on) == null ? void 0 : n.background) == null ? void 0 : a.color) == null ? void 0 : i.disabled) || F.on.background.color.disabled : ((h = (u = (c = (d = e == null ? void 0 : e.toggle) == null ? void 0 : d.on) == null ? void 0 : c.background) == null ? void 0 : u.color) == null ? void 0 : h.hover) || F.on.background.color.hover : t ? ((b = (m = (g = (p = e == null ? void 0 : e.toggle) == null ? void 0 : p.off) == null ? void 0 : g.background) == null ? void 0 : m.color) == null ? void 0 : b.disabled) || F.off.background.color.disabled : (($ = (w = (x = (f = e == null ? void 0 : e.toggle) == null ? void 0 : f.off) == null ? void 0 : x.background) == null ? void 0 : w.color) == null ? void 0 : $.hover) || F.off.background.color.hover;
3038
+ var o, n, a, i, d, c, u, h, p, g, m, b, f, x, y, $;
3039
+ return l ? t ? ((i = (a = (n = (o = e == null ? void 0 : e.toggle) == null ? void 0 : o.on) == null ? void 0 : n.background) == null ? void 0 : a.color) == null ? void 0 : i.disabled) || O.on.background.color.disabled : ((h = (u = (c = (d = e == null ? void 0 : e.toggle) == null ? void 0 : d.on) == null ? void 0 : c.background) == null ? void 0 : u.color) == null ? void 0 : h.hover) || O.on.background.color.hover : t ? ((b = (m = (g = (p = e == null ? void 0 : e.toggle) == null ? void 0 : p.off) == null ? void 0 : g.background) == null ? void 0 : m.color) == null ? void 0 : b.disabled) || O.off.background.color.disabled : (($ = (y = (x = (f = e == null ? void 0 : e.toggle) == null ? void 0 : f.off) == null ? void 0 : x.background) == null ? void 0 : y.color) == null ? void 0 : $.hover) || O.off.background.color.hover;
3040
3040
  }};
3041
3041
  }
3042
3042
  `, No = v.input`
@@ -3066,9 +3066,9 @@ const ko = v.div`
3066
3066
  children: b,
3067
3067
  margin: f = "0px",
3068
3068
  padding: x = "0px"
3069
- } = e, w = ee(Z), $ = ((o = (l = (t = w == null ? void 0 : w.toggle) == null ? void 0 : t.on) == null ? void 0 : l.icon) == null ? void 0 : o.appereance) || F.on.icon.appereance, C = ((i = (a = (n = w == null ? void 0 : w.toggle) == null ? void 0 : n.off) == null ? void 0 : a.icon) == null ? void 0 : i.appereance) || F.off.icon.appereance;
3070
- return /* @__PURE__ */ k(
3071
- zt,
3069
+ } = e, y = ee(Z), $ = ((o = (l = (t = y == null ? void 0 : y.toggle) == null ? void 0 : t.on) == null ? void 0 : l.icon) == null ? void 0 : o.appereance) || O.on.icon.appereance, C = ((i = (a = (n = y == null ? void 0 : y.toggle) == null ? void 0 : n.off) == null ? void 0 : a.icon) == null ? void 0 : i.appereance) || O.off.icon.appereance;
3070
+ return /* @__PURE__ */ w(
3071
+ At,
3072
3072
  {
3073
3073
  templateColumns: "auto 1fr",
3074
3074
  alignItems: "center",
@@ -3076,7 +3076,7 @@ const ko = v.div`
3076
3076
  padding: x,
3077
3077
  gap: "8px",
3078
3078
  children: [
3079
- /* @__PURE__ */ k(wo, { $size: p, $checked: g, $disabled: d, children: [
3079
+ /* @__PURE__ */ w(wo, { $size: p, $checked: g, $disabled: d, children: [
3080
3080
  /* @__PURE__ */ s(
3081
3081
  No,
3082
3082
  {
@@ -3085,11 +3085,11 @@ const ko = v.div`
3085
3085
  $size: p,
3086
3086
  value: h,
3087
3087
  checked: g,
3088
- onChange: d ? () => null : (T) => {
3088
+ onChange: d ? () => null : (E) => {
3089
3089
  try {
3090
- m && m(T);
3091
- } catch (D) {
3092
- console.error(`Error when changing toggle value. ${D}`);
3090
+ m && m(E);
3091
+ } catch (R) {
3092
+ console.error(`Error when changing toggle value. ${R}`);
3093
3093
  }
3094
3094
  },
3095
3095
  $disabled: d,
@@ -3108,7 +3108,7 @@ const ko = v.div`
3108
3108
  ) })
3109
3109
  ] }),
3110
3110
  b && /* @__PURE__ */ s(
3111
- Ae,
3111
+ De,
3112
3112
  {
3113
3113
  htmlFor: c,
3114
3114
  disabled: d,
@@ -3180,7 +3180,7 @@ v.div`
3180
3180
  v.p`
3181
3181
  text-wrap: nowrap;
3182
3182
  `;
3183
- const We = {
3183
+ const Xe = {
3184
3184
  background: {
3185
3185
  color: r.palette.neutral.N10
3186
3186
  },
@@ -3205,7 +3205,7 @@ v.nav`
3205
3205
  left: 0;
3206
3206
  background-color: ${({ theme: e }) => {
3207
3207
  var t, l;
3208
- return ((l = (t = e == null ? void 0 : e.fullscreenNav) == null ? void 0 : t.background) == null ? void 0 : l.color) || We.background.color;
3208
+ return ((l = (t = e == null ? void 0 : e.fullscreenNav) == null ? void 0 : t.background) == null ? void 0 : l.color) || Xe.background.color;
3209
3209
  }};
3210
3210
  padding: 0px 16px;
3211
3211
  z-index: 2;
@@ -3222,7 +3222,7 @@ v.div`
3222
3222
  height: 1px;
3223
3223
  background-color: ${({ theme: e }) => {
3224
3224
  var t, l;
3225
- return ((l = (t = e == null ? void 0 : e.fullscreenNav) == null ? void 0 : t.divider) == null ? void 0 : l.color) || We.divider.color;
3225
+ return ((l = (t = e == null ? void 0 : e.fullscreenNav) == null ? void 0 : t.divider) == null ? void 0 : l.color) || Xe.divider.color;
3226
3226
  }};
3227
3227
  `;
3228
3228
  v.footer`
@@ -3248,7 +3248,7 @@ v.summary`
3248
3248
  cursor: pointer;
3249
3249
  background-color: ${({ theme: e }) => {
3250
3250
  var t, l;
3251
- return ((l = (t = e == null ? void 0 : e.fullscreenNav) == null ? void 0 : t.background) == null ? void 0 : l.color) || We.background.color;
3251
+ return ((l = (t = e == null ? void 0 : e.fullscreenNav) == null ? void 0 : t.background) == null ? void 0 : l.color) || Xe.background.color;
3252
3252
  }};
3253
3253
  }
3254
3254
  `;
@@ -3387,7 +3387,7 @@ v.tr`
3387
3387
  background-color: ${({ $zebra: e }) => e && "unset"};
3388
3388
  }
3389
3389
  `;
3390
- const O = {
3390
+ const L = {
3391
3391
  border: {
3392
3392
  color: {
3393
3393
  active: r.palette.neutral.N80,
@@ -3422,11 +3422,11 @@ const O = {
3422
3422
  &:checked + span {
3423
3423
  border-color: ${({ theme: e }) => {
3424
3424
  var t, l, o;
3425
- return ((o = (l = (t = e == null ? void 0 : e.checkbox) == null ? void 0 : t.border) == null ? void 0 : l.color) == null ? void 0 : o.checked) || O.border.color.checked;
3425
+ return ((o = (l = (t = e == null ? void 0 : e.checkbox) == null ? void 0 : t.border) == null ? void 0 : l.color) == null ? void 0 : o.checked) || L.border.color.checked;
3426
3426
  }};
3427
3427
  background-color: ${({ theme: e }) => {
3428
3428
  var t, l, o;
3429
- return ((o = (l = (t = e == null ? void 0 : e.checkbox) == null ? void 0 : t.background) == null ? void 0 : l.color) == null ? void 0 : o.checked) || O.background.color.checked;
3429
+ return ((o = (l = (t = e == null ? void 0 : e.checkbox) == null ? void 0 : t.background) == null ? void 0 : l.color) == null ? void 0 : o.checked) || L.background.color.checked;
3430
3430
  }};
3431
3431
  }
3432
3432
 
@@ -3434,7 +3434,7 @@ const O = {
3434
3434
  outline: 2px solid
3435
3435
  ${({ theme: e }) => {
3436
3436
  var t, l, o;
3437
- return ((o = (l = (t = e == null ? void 0 : e.checkbox) == null ? void 0 : t.outline) == null ? void 0 : l.color) == null ? void 0 : o.hover) || O.outline.color.hover;
3437
+ return ((o = (l = (t = e == null ? void 0 : e.checkbox) == null ? void 0 : t.outline) == null ? void 0 : l.color) == null ? void 0 : o.hover) || L.outline.color.hover;
3438
3438
  }};
3439
3439
  outline-offset: 2px;
3440
3440
  }
@@ -3442,11 +3442,11 @@ const O = {
3442
3442
  &:disabled + span {
3443
3443
  border-color: ${({ theme: e }) => {
3444
3444
  var t, l, o;
3445
- return ((o = (l = (t = e == null ? void 0 : e.checkbox) == null ? void 0 : t.border) == null ? void 0 : l.color) == null ? void 0 : o.disabled) || O.border.color.disabled;
3445
+ return ((o = (l = (t = e == null ? void 0 : e.checkbox) == null ? void 0 : t.border) == null ? void 0 : l.color) == null ? void 0 : o.disabled) || L.border.color.disabled;
3446
3446
  }};
3447
3447
  background-color: ${({ theme: e }) => {
3448
3448
  var t, l, o;
3449
- return ((o = (l = (t = e == null ? void 0 : e.checkbox) == null ? void 0 : t.background) == null ? void 0 : l.color) == null ? void 0 : o.disabled) || O.background.color.disabled;
3449
+ return ((o = (l = (t = e == null ? void 0 : e.checkbox) == null ? void 0 : t.background) == null ? void 0 : l.color) == null ? void 0 : o.disabled) || L.background.color.disabled;
3450
3450
  }};
3451
3451
  }
3452
3452
  `, To = v.span`
@@ -3457,11 +3457,11 @@ const O = {
3457
3457
  border: 2px solid
3458
3458
  ${({ theme: e, checked: t, $indeterminate: l }) => {
3459
3459
  var o, n, a, i, d, c;
3460
- return t || l ? ((a = (n = (o = e == null ? void 0 : e.checkbox) == null ? void 0 : o.border) == null ? void 0 : n.color) == null ? void 0 : a.checked) || O.border.color.checked : ((c = (d = (i = e == null ? void 0 : e.checkbox) == null ? void 0 : i.border) == null ? void 0 : d.color) == null ? void 0 : c.active) || O.border.color.active;
3460
+ return t || l ? ((a = (n = (o = e == null ? void 0 : e.checkbox) == null ? void 0 : o.border) == null ? void 0 : n.color) == null ? void 0 : a.checked) || L.border.color.checked : ((c = (d = (i = e == null ? void 0 : e.checkbox) == null ? void 0 : i.border) == null ? void 0 : d.color) == null ? void 0 : c.active) || L.border.color.active;
3461
3461
  }};
3462
3462
  background-color: ${({ theme: e, checked: t, $indeterminate: l }) => {
3463
3463
  var o, n, a, i, d, c;
3464
- return t || l ? ((a = (n = (o = e == null ? void 0 : e.checkbox) == null ? void 0 : o.background) == null ? void 0 : n.color) == null ? void 0 : a.checked) || O.background.color.checked : ((c = (d = (i = e == null ? void 0 : e.checkbox) == null ? void 0 : i.background) == null ? void 0 : d.color) == null ? void 0 : c.active) || O.background.color.active;
3464
+ return t || l ? ((a = (n = (o = e == null ? void 0 : e.checkbox) == null ? void 0 : o.background) == null ? void 0 : n.color) == null ? void 0 : a.checked) || L.background.color.checked : ((c = (d = (i = e == null ? void 0 : e.checkbox) == null ? void 0 : i.background) == null ? void 0 : d.color) == null ? void 0 : c.active) || L.background.color.active;
3465
3465
  }};
3466
3466
  cursor: ${({ disabled: e }) => e ? "not-allowed" : "pointer"};
3467
3467
 
@@ -3470,8 +3470,8 @@ const O = {
3470
3470
  justify-content: center;
3471
3471
 
3472
3472
  ${({ disabled: e }) => e && `
3473
- border-color: ${O.border.color.disabled};
3474
- background-color: ${O.background.color.disabled};
3473
+ border-color: ${L.border.color.disabled};
3474
+ background-color: ${L.background.color.disabled};
3475
3475
  `}
3476
3476
  `, So = v.label`
3477
3477
  display: flex;
@@ -3490,11 +3490,11 @@ const O = {
3490
3490
  indeterminate: b = !1,
3491
3491
  label: f,
3492
3492
  disabled: x = !1,
3493
- required: w = !1,
3493
+ required: y = !1,
3494
3494
  onChange: $
3495
- } = e, C = ee(Z), T = ((o = (l = (t = C == null ? void 0 : C.checkbox) == null ? void 0 : t.vector) == null ? void 0 : l.color) == null ? void 0 : o.disabled) || O.vector.color.disabled, D = ((i = (a = (n = C == null ? void 0 : C.checkbox) == null ? void 0 : n.vector) == null ? void 0 : a.color) == null ? void 0 : i.indeterminate) || O.vector.color.indeterminate, R = ((u = (c = (d = C == null ? void 0 : C.checkbox) == null ? void 0 : d.vector) == null ? void 0 : c.color) == null ? void 0 : u.checked) || O.vector.color.checked;
3496
- return /* @__PURE__ */ k(E, { direction: "row", alignItems: "center", gap: "10px", width: "fit-content", children: [
3497
- /* @__PURE__ */ k(So, { children: [
3495
+ } = e, C = ee(Z), E = ((o = (l = (t = C == null ? void 0 : C.checkbox) == null ? void 0 : t.vector) == null ? void 0 : l.color) == null ? void 0 : o.disabled) || L.vector.color.disabled, R = ((i = (a = (n = C == null ? void 0 : C.checkbox) == null ? void 0 : n.vector) == null ? void 0 : a.color) == null ? void 0 : i.indeterminate) || L.vector.color.indeterminate, F = ((u = (c = (d = C == null ? void 0 : C.checkbox) == null ? void 0 : d.vector) == null ? void 0 : c.color) == null ? void 0 : u.checked) || L.vector.color.checked;
3496
+ return /* @__PURE__ */ w(T, { direction: "row", alignItems: "center", gap: "10px", width: "fit-content", children: [
3497
+ /* @__PURE__ */ w(So, { children: [
3498
3498
  /* @__PURE__ */ s(
3499
3499
  Eo,
3500
3500
  {
@@ -3504,10 +3504,10 @@ const O = {
3504
3504
  value: g,
3505
3505
  checked: m || b,
3506
3506
  disabled: x,
3507
- required: w,
3507
+ required: y,
3508
3508
  onChange: $,
3509
- ref: (S) => {
3510
- S && (S.indeterminate = b);
3509
+ ref: (A) => {
3510
+ A && (A.indeterminate = b);
3511
3511
  }
3512
3512
  }
3513
3513
  ),
@@ -3520,20 +3520,20 @@ const O = {
3520
3520
  children: b ? /* @__PURE__ */ s(
3521
3521
  Ml,
3522
3522
  {
3523
- color: x ? T : D
3523
+ color: x ? E : R
3524
3524
  }
3525
3525
  ) : m && /* @__PURE__ */ s(
3526
3526
  Gl,
3527
3527
  {
3528
- color: x ? T : R
3528
+ color: x ? E : F
3529
3529
  }
3530
3530
  )
3531
3531
  }
3532
3532
  )
3533
3533
  ] }),
3534
- f && /* @__PURE__ */ s(zo, { children: /* @__PURE__ */ s(Ae, { htmlFor: h, disabled: x, children: /* @__PURE__ */ k(E, { direction: "row", alignItems: "center", gap: "4px", children: [
3534
+ f && /* @__PURE__ */ s(zo, { children: /* @__PURE__ */ s(De, { htmlFor: h, disabled: x, children: /* @__PURE__ */ w(T, { direction: "row", alignItems: "center", gap: "4px", children: [
3535
3535
  f,
3536
- w && /* @__PURE__ */ s(A, { type: "label", appearance: "danger", size: "small", children: "*" })
3536
+ y && /* @__PURE__ */ s(D, { type: "label", appearance: "danger", size: "small", children: "*" })
3537
3537
  ] }) }) })
3538
3538
  ] });
3539
3539
  }, Ao = v.ul`
@@ -3636,8 +3636,8 @@ const O = {
3636
3636
  picker: u = !1,
3637
3637
  onCheckboxChange: h,
3638
3638
  checked: p = !1
3639
- } = e, [g, m] = J(!1), b = () => m(!0), f = () => m(!1), x = ee(Z), w = ((o = (l = (t = x == null ? void 0 : x.input) == null ? void 0 : t.option) == null ? void 0 : l.appearance) == null ? void 0 : o.hover) || N.option.appearance.hover, $ = ((i = (a = (n = x == null ? void 0 : x.input) == null ? void 0 : n.option) == null ? void 0 : a.appearance) == null ? void 0 : i.regular) || N.option.appearance.regular;
3640
- return /* @__PURE__ */ k(
3639
+ } = e, [g, m] = J(!1), b = () => m(!0), f = () => m(!1), x = ee(Z), y = ((o = (l = (t = x == null ? void 0 : x.input) == null ? void 0 : t.option) == null ? void 0 : l.appearance) == null ? void 0 : o.hover) || N.option.appearance.hover, $ = ((i = (a = (n = x == null ? void 0 : x.input) == null ? void 0 : n.option) == null ? void 0 : a.appearance) == null ? void 0 : i.regular) || N.option.appearance.regular;
3640
+ return /* @__PURE__ */ w(
3641
3641
  Ro,
3642
3642
  {
3643
3643
  id: d,
@@ -3654,12 +3654,12 @@ const O = {
3654
3654
  }
3655
3655
  ),
3656
3656
  /* @__PURE__ */ s(
3657
- A,
3657
+ D,
3658
3658
  {
3659
3659
  margin: u ? "0 0 0 9px" : "0px",
3660
3660
  textAlign: "start",
3661
3661
  size: "medium",
3662
- appearance: g ? w : $,
3662
+ appearance: g ? y : $,
3663
3663
  children: c
3664
3664
  }
3665
3665
  )
@@ -3764,7 +3764,7 @@ function Vo(e, t) {
3764
3764
  const jo = (e) => {
3765
3765
  var t, l;
3766
3766
  const { message: o } = e, n = ee(Z), a = ((l = (t = n == null ? void 0 : n.input) == null ? void 0 : t.message) == null ? void 0 : l.appearance) || N.message.appearance;
3767
- return /* @__PURE__ */ k(E, { alignItems: "center", gap: "4px", margin: "4px 0 0 16px", children: [
3767
+ return /* @__PURE__ */ w(T, { alignItems: "center", gap: "4px", margin: "4px 0 0 16px", children: [
3768
3768
  /* @__PURE__ */ s(
3769
3769
  q,
3770
3770
  {
@@ -3774,7 +3774,7 @@ const jo = (e) => {
3774
3774
  }
3775
3775
  ),
3776
3776
  /* @__PURE__ */ s(
3777
- A,
3777
+ D,
3778
3778
  {
3779
3779
  type: "body",
3780
3780
  size: "small",
@@ -3785,7 +3785,7 @@ const jo = (e) => {
3785
3785
  )
3786
3786
  ] });
3787
3787
  };
3788
- pt((e, t) => {
3788
+ ht((e, t) => {
3789
3789
  var l, o;
3790
3790
  const {
3791
3791
  displayList: n,
@@ -3801,23 +3801,23 @@ pt((e, t) => {
3801
3801
  name: b,
3802
3802
  onBlur: f,
3803
3803
  onChange: x,
3804
- onClick: w,
3804
+ onClick: y,
3805
3805
  onFocus: $,
3806
3806
  onOptionClick: C,
3807
- options: T,
3808
- placeholder: D,
3809
- readOnly: R,
3810
- required: S,
3811
- size: P,
3807
+ options: E,
3808
+ placeholder: R,
3809
+ readOnly: F,
3810
+ required: A,
3811
+ size: S,
3812
3812
  value: I,
3813
3813
  onKeyUp: V,
3814
3814
  picker: j,
3815
- checkedItems: De,
3815
+ checkedItems: Re,
3816
3816
  onCheckboxChange: Pt
3817
- } = e, Ke = ee(Z), Bt = ((o = (l = Ke == null ? void 0 : Ke.input) == null ? void 0 : l.required) == null ? void 0 : o.appearance) || N.required.appearance, It = j ? T.filter((X) => De.includes(X.id)).map((X) => X.label).join(", ") : Vo(T, I);
3818
- return /* @__PURE__ */ k(Oo, { $fullwidth: d, disabled: a, ref: t, children: [
3819
- p && /* @__PURE__ */ k(
3820
- E,
3817
+ } = e, Je = ee(Z), Bt = ((o = (l = Je == null ? void 0 : Je.input) == null ? void 0 : l.required) == null ? void 0 : o.appearance) || N.required.appearance, It = j ? E.filter((X) => Re.includes(X.id)).map((X) => X.label).join(", ") : Vo(E, I);
3818
+ return /* @__PURE__ */ w(Oo, { $fullwidth: d, disabled: a, ref: t, children: [
3819
+ p && /* @__PURE__ */ w(
3820
+ T,
3821
3821
  {
3822
3822
  alignItems: "center",
3823
3823
  margin: "0 0 4px 0",
@@ -3825,19 +3825,19 @@ pt((e, t) => {
3825
3825
  gap: "4px",
3826
3826
  children: [
3827
3827
  /* @__PURE__ */ s(
3828
- Ae,
3828
+ De,
3829
3829
  {
3830
3830
  htmlFor: u,
3831
3831
  focused: i,
3832
3832
  invalid: h,
3833
- size: Io(P),
3833
+ size: Io(S),
3834
3834
  margin: "0px 0px 0px 2px",
3835
3835
  disabled: a,
3836
3836
  children: p
3837
3837
  }
3838
3838
  ),
3839
- S && !a && /* @__PURE__ */ s(
3840
- A,
3839
+ A && !a && /* @__PURE__ */ s(
3840
+ D,
3841
3841
  {
3842
3842
  type: "body",
3843
3843
  size: "small",
@@ -3849,15 +3849,15 @@ pt((e, t) => {
3849
3849
  ]
3850
3850
  }
3851
3851
  ),
3852
- /* @__PURE__ */ k(
3852
+ /* @__PURE__ */ w(
3853
3853
  Lo,
3854
3854
  {
3855
3855
  disabled: a,
3856
3856
  $focused: i,
3857
3857
  $invalid: h,
3858
- onClick: w,
3858
+ onClick: y,
3859
3859
  $value: I,
3860
- $size: P,
3860
+ $size: S,
3861
3861
  children: [
3862
3862
  /* @__PURE__ */ s(
3863
3863
  Po,
@@ -3866,22 +3866,22 @@ pt((e, t) => {
3866
3866
  value: It,
3867
3867
  name: b,
3868
3868
  id: u,
3869
- placeholder: D,
3869
+ placeholder: R,
3870
3870
  disabled: a,
3871
- required: S,
3872
- $size: P,
3871
+ required: A,
3872
+ $size: S,
3873
3873
  $fullwidth: d,
3874
3874
  $focused: i,
3875
3875
  onFocus: $,
3876
3876
  onBlur: f,
3877
3877
  onChange: x,
3878
- onClick: w,
3878
+ onClick: y,
3879
3879
  onKeyUp: V,
3880
- readOnly: R
3880
+ readOnly: F
3881
3881
  }
3882
3882
  ),
3883
- /* @__PURE__ */ k(E, { direction: "row", gap: "8px", alignItems: "center", children: [
3884
- (I || j && De.length > 0) && !a && /* @__PURE__ */ s(
3883
+ /* @__PURE__ */ w(T, { direction: "row", gap: "8px", alignItems: "center", children: [
3884
+ (I || j && Re.length > 0) && !a && /* @__PURE__ */ s(
3885
3885
  q,
3886
3886
  {
3887
3887
  appearance: "gray",
@@ -3909,13 +3909,13 @@ pt((e, t) => {
3909
3909
  {
3910
3910
  maxItems: g,
3911
3911
  onOptionClick: C,
3912
- options: T,
3913
- children: T.map((X) => /* @__PURE__ */ s(
3912
+ options: E,
3913
+ children: E.map((X) => /* @__PURE__ */ s(
3914
3914
  Fo,
3915
3915
  {
3916
3916
  id: X.id,
3917
3917
  label: X.label,
3918
- checked: De.includes(X.id),
3918
+ checked: Re.includes(X.id),
3919
3919
  onCheckboxChange: Pt,
3920
3920
  picker: j
3921
3921
  },
@@ -4015,7 +4015,7 @@ const Ho = v.div`
4015
4015
  height: 14px;
4016
4016
  margin-top: 8px;
4017
4017
  }
4018
- `, dt = (e) => {
4018
+ `, ut = (e) => {
4019
4019
  var t, l, o, n;
4020
4020
  const {
4021
4021
  label: a,
@@ -4030,30 +4030,30 @@ const Ho = v.div`
4030
4030
  size: b = "wide",
4031
4031
  fullwidth: f = !1,
4032
4032
  onFocus: x,
4033
- onBlur: w
4034
- } = e, [$, C] = J(!1), T = (V) => {
4033
+ onBlur: y
4034
+ } = e, [$, C] = J(!1), E = (V) => {
4035
4035
  C(!0);
4036
4036
  try {
4037
4037
  x && x(V);
4038
4038
  } catch (j) {
4039
4039
  console.error(`Error executing focus callback. ${j}`);
4040
4040
  }
4041
- }, D = (V) => {
4041
+ }, R = (V) => {
4042
4042
  C(!1);
4043
4043
  try {
4044
- w && w(V);
4044
+ y && y(V);
4045
4045
  } catch (j) {
4046
4046
  console.error(`Error executing blur callback. ${j}`);
4047
4047
  }
4048
- }, R = (V) => {
4048
+ }, F = (V) => {
4049
4049
  try {
4050
4050
  h && h(V);
4051
4051
  } catch (j) {
4052
4052
  console.error(`Error when changing value using callback. ${j}`);
4053
4053
  }
4054
- }, S = ee(Z), P = ((l = (t = S == null ? void 0 : S.input) == null ? void 0 : t.required) == null ? void 0 : l.appearance) || N.required.appearance, I = ((n = (o = S == null ? void 0 : S.input) == null ? void 0 : o.message) == null ? void 0 : n.appearance) || N.message.appearance;
4055
- return /* @__PURE__ */ k(Ho, { $fullwidth: f, $disabled: c, $size: b, children: [
4056
- /* @__PURE__ */ k(
4054
+ }, A = ee(Z), S = ((l = (t = A == null ? void 0 : A.input) == null ? void 0 : t.required) == null ? void 0 : l.appearance) || N.required.appearance, I = ((n = (o = A == null ? void 0 : A.input) == null ? void 0 : o.message) == null ? void 0 : n.appearance) || N.message.appearance;
4055
+ return /* @__PURE__ */ w(Ho, { $fullwidth: f, $disabled: c, $size: b, children: [
4056
+ /* @__PURE__ */ w(
4057
4057
  _o,
4058
4058
  {
4059
4059
  $alignItems: "center",
@@ -4062,7 +4062,7 @@ const Ho = v.div`
4062
4062
  $disabled: c,
4063
4063
  children: [
4064
4064
  a && /* @__PURE__ */ s(
4065
- Ae,
4065
+ De,
4066
4066
  {
4067
4067
  htmlFor: d,
4068
4068
  disabled: c,
@@ -4074,11 +4074,11 @@ const Ho = v.div`
4074
4074
  }
4075
4075
  ),
4076
4076
  p && !c && /* @__PURE__ */ s(
4077
- A,
4077
+ D,
4078
4078
  {
4079
4079
  type: "body",
4080
4080
  size: "small",
4081
- appearance: P,
4081
+ appearance: S,
4082
4082
  margin: "0px 0px 0px 4px",
4083
4083
  textAlign: "center",
4084
4084
  children: "(Requerido)"
@@ -4107,17 +4107,17 @@ const Ho = v.div`
4107
4107
  $status: g,
4108
4108
  $fullwidth: f,
4109
4109
  $focused: $,
4110
- onChange: R,
4111
- onFocus: T,
4112
- onBlur: D
4110
+ onChange: F,
4111
+ onFocus: E,
4112
+ onBlur: R
4113
4113
  }
4114
4114
  )
4115
4115
  }
4116
4116
  ),
4117
- g === "invalid" && !c && m && /* @__PURE__ */ k(qo, { children: [
4117
+ g === "invalid" && !c && m && /* @__PURE__ */ w(qo, { children: [
4118
4118
  /* @__PURE__ */ s(q, { appearance: I, icon: /* @__PURE__ */ s(Xl, {}) }),
4119
4119
  /* @__PURE__ */ s(
4120
- A,
4120
+ D,
4121
4121
  {
4122
4122
  type: "body",
4123
4123
  size: "small",
@@ -4261,7 +4261,7 @@ v.div`
4261
4261
 
4262
4262
  ${({ $animated: e, theme: t, $appearance: l }) => {
4263
4263
  var o, n;
4264
- return e && He`
4264
+ return e && _e`
4265
4265
  position: relative;
4266
4266
  overflow: hidden;
4267
4267
  background: ${((n = (o = t == null ? void 0 : t.progressbar) == null ? void 0 : o[l]) == null ? void 0 : n.animation.color) || se[l].animation.color};
@@ -4424,7 +4424,7 @@ const Ft = {
4424
4424
  return ((l = (t = e == null ? void 0 : e.menu) == null ? void 0 : t.background) == null ? void 0 : l.color) || Ft.background.color;
4425
4425
  }};
4426
4426
  `;
4427
- pt((e, t) => {
4427
+ ht((e, t) => {
4428
4428
  const { children: l, width: o = "fit-content" } = e;
4429
4429
  return /* @__PURE__ */ s(Yo, { ref: t, $width: o, children: l });
4430
4430
  });
@@ -4520,11 +4520,17 @@ const Xo = (e) => {
4520
4520
  messageEnd: p = "",
4521
4521
  statusStart: g = "pending",
4522
4522
  statusEnd: m = "pending"
4523
- } = e, [b, f] = J(i), [x, w] = J(c), [$, C] = J(u);
4524
- return /* @__PURE__ */ k(he, { children: [
4525
- /* @__PURE__ */ k(E, { direction: "row", justifyContent: "space-between", margin: "10px 0", children: [
4526
- /* @__PURE__ */ s(E, { children: /* @__PURE__ */ s(
4527
- A,
4523
+ } = e, [b, f] = J(i), [x, y] = J(c), [$, C] = J(u), E = ({ target: S }) => {
4524
+ f(S.checked), o && o(S.checked);
4525
+ }, R = (S) => {
4526
+ y(S.target.value), t(S);
4527
+ }, F = (S) => {
4528
+ C(S.target.value), l(S);
4529
+ }, A = Te("(max-width: 400px)");
4530
+ return /* @__PURE__ */ w(he, { children: [
4531
+ /* @__PURE__ */ w(T, { direction: "row", justifyContent: "space-between", margin: "10px 0", children: [
4532
+ /* @__PURE__ */ s(
4533
+ D,
4528
4534
  {
4529
4535
  appearance: "gray",
4530
4536
  margin: "10px 0",
@@ -4533,9 +4539,9 @@ const Xo = (e) => {
4533
4539
  weight: "bold",
4534
4540
  children: "Vigencia"
4535
4541
  }
4536
- ) }),
4542
+ ),
4537
4543
  /* @__PURE__ */ s(
4538
- E,
4544
+ T,
4539
4545
  {
4540
4546
  alignContent: "center",
4541
4547
  justifyContent: "center",
@@ -4545,9 +4551,7 @@ const Xo = (e) => {
4545
4551
  Rt,
4546
4552
  {
4547
4553
  label: "Cerrada",
4548
- onChange: ({ target: S }) => {
4549
- f(S.checked), o && o(S.checked);
4550
- },
4554
+ onChange: E,
4551
4555
  checked: b,
4552
4556
  value: ""
4553
4557
  }
@@ -4555,38 +4559,42 @@ const Xo = (e) => {
4555
4559
  }
4556
4560
  )
4557
4561
  ] }),
4558
- /* @__PURE__ */ k(E, { justifyContent: "space-between", gap: "24px", children: [
4559
- /* @__PURE__ */ s(E, { width: "189px", children: /* @__PURE__ */ s(
4560
- dt,
4561
- {
4562
- id: "dateStart",
4563
- label: n,
4564
- onChange: (S) => {
4565
- w(S.target.value), t(S);
4566
- },
4567
- value: x,
4568
- required: d,
4569
- size: "compact",
4570
- status: g,
4571
- message: h
4572
- }
4573
- ) }),
4574
- b && /* @__PURE__ */ s(E, { width: "189px", children: /* @__PURE__ */ s(
4575
- dt,
4576
- {
4577
- id: "dateEnd",
4578
- label: a,
4579
- onChange: (S) => {
4580
- C(S.target.value), l(S);
4581
- },
4582
- value: $,
4583
- required: d,
4584
- size: "compact",
4585
- status: m,
4586
- message: p
4587
- }
4588
- ) })
4589
- ] })
4562
+ /* @__PURE__ */ w(
4563
+ T,
4564
+ {
4565
+ direction: A ? "column" : "row",
4566
+ justifyContent: "space-between",
4567
+ gap: "24px",
4568
+ children: [
4569
+ /* @__PURE__ */ s(
4570
+ ut,
4571
+ {
4572
+ id: "dateStart",
4573
+ label: n,
4574
+ onChange: R,
4575
+ value: x,
4576
+ required: d,
4577
+ size: "compact",
4578
+ status: g,
4579
+ message: h
4580
+ }
4581
+ ),
4582
+ b && /* @__PURE__ */ s(
4583
+ ut,
4584
+ {
4585
+ id: "dateEnd",
4586
+ label: a,
4587
+ onChange: F,
4588
+ value: $,
4589
+ required: d,
4590
+ size: "compact",
4591
+ status: m,
4592
+ message: p
4593
+ }
4594
+ )
4595
+ ]
4596
+ }
4597
+ )
4590
4598
  ] });
4591
4599
  }, Ko = v.div`
4592
4600
  & > div {
@@ -4622,10 +4630,10 @@ const Xo = (e) => {
4622
4630
  } = e, [c, u] = J(t), h = (p) => {
4623
4631
  u(p.target.checked), o(p);
4624
4632
  };
4625
- return ht(() => {
4633
+ return vt(() => {
4626
4634
  u(t);
4627
- }, [t]), /* @__PURE__ */ k(he, { children: [
4628
- /* @__PURE__ */ s(E, { children: /* @__PURE__ */ s(
4635
+ }, [t]), /* @__PURE__ */ w(he, { children: [
4636
+ /* @__PURE__ */ s(T, { children: /* @__PURE__ */ s(
4629
4637
  Dt,
4630
4638
  {
4631
4639
  checked: c,
@@ -4634,13 +4642,13 @@ const Xo = (e) => {
4634
4642
  onChange: h,
4635
4643
  size: "small",
4636
4644
  value: d,
4637
- children: /* @__PURE__ */ s(A, { size: "medium", type: "label", weight: "bold", children: a })
4645
+ children: /* @__PURE__ */ s(D, { size: "medium", type: "label", weight: "bold", children: a })
4638
4646
  }
4639
4647
  ) }),
4640
4648
  c && /* @__PURE__ */ s(he, { children: l })
4641
4649
  ] });
4642
4650
  }, Zo = (e) => ({
4643
- schema: vt().test(
4651
+ schema: gt().test(
4644
4652
  "isArrayOrString",
4645
4653
  "Must be an array of strings/numbers or a single string",
4646
4654
  (t) => Array.isArray(t) ? t.every(
@@ -4649,7 +4657,7 @@ const Xo = (e) => {
4649
4657
  ),
4650
4658
  value: e
4651
4659
  }), er = (e) => ({
4652
- schema: vt().test(
4660
+ schema: gt().test(
4653
4661
  "isArrayOrString",
4654
4662
  "Must be an array of strings/numbers or a single string",
4655
4663
  (t) => Array.isArray(t) ? t.every(
@@ -4661,8 +4669,8 @@ const Xo = (e) => {
4661
4669
  const t = (e == null ? void 0 : e.from) ?? 0, l = (e == null ? void 0 : e.to) ?? 0;
4662
4670
  return {
4663
4671
  schema: ye({
4664
- from: Pe().required("Range From is required").max(l, "'Range From' cannot be greater than 'Range To'").min(0, "'Range From' cannot be less than 0"),
4665
- to: Pe().min(0, "To value must be greater than or equal to 0").required("To value is required").test(
4672
+ from: Be().required("Range From is required").max(l, "'Range From' cannot be greater than 'Range To'").min(0, "'Range From' cannot be less than 0"),
4673
+ to: Be().min(0, "To value must be greater than or equal to 0").required("To value is required").test(
4666
4674
  "is-greater",
4667
4675
  "To value must be greater than From value",
4668
4676
  function(o) {
@@ -4673,14 +4681,14 @@ const Xo = (e) => {
4673
4681
  }),
4674
4682
  value: { from: t, to: l }
4675
4683
  };
4676
- }, Le = (e, t) => t === ne.PERCENTAGE ? {
4677
- schema: Pe().required("Percentage is required").min(0, "Percentage cannot be less than 0").max(100, "Percentage cannot be greater than 100"),
4684
+ }, Pe = (e, t) => t === ne.PERCENTAGE ? {
4685
+ schema: Be().required("Percentage is required").min(0, "Percentage cannot be less than 0").max(100, "Percentage cannot be greater than 100"),
4678
4686
  value: e
4679
4687
  } : {
4680
- schema: _e().required("Required"),
4688
+ schema: Ue().required("Required"),
4681
4689
  value: e
4682
4690
  }, lr = (e) => ({
4683
- schema: _e().required("Required").test(
4691
+ schema: Ue().required("Required").test(
4684
4692
  "non-empty",
4685
4693
  "Value cannot be empty",
4686
4694
  (t) => t != null && t.trim() !== ""
@@ -4690,10 +4698,10 @@ const Xo = (e) => {
4690
4698
  [B.LIST_OF_VALUES]: Zo,
4691
4699
  [B.LIST_OF_VALUES_MULTI]: er,
4692
4700
  [B.RANGE]: tr,
4693
- [B.GREATER_THAN]: Le,
4694
- [B.LESS_THAN]: Le,
4695
- [B.EQUAL]: Le
4696
- }, ut = (e) => or[e] || lr;
4701
+ [B.GREATER_THAN]: Pe,
4702
+ [B.LESS_THAN]: Pe,
4703
+ [B.EQUAL]: Pe
4704
+ }, ct = (e) => or[e] || lr;
4697
4705
  function rr({ decision: e, onSubmitEvent: t }) {
4698
4706
  const l = {
4699
4707
  ruleName: e.ruleName || "",
@@ -4706,9 +4714,9 @@ function rr({ decision: e, onSubmitEvent: t }) {
4706
4714
  conditionThatEstablishesTheDecision: {},
4707
4715
  checkClosed: !1
4708
4716
  }, o = ye({
4709
- ruleName: _e().required("Name is required"),
4710
- effectiveFrom: Ze().required("effective From date is required"),
4711
- validUntil: Ze().when(
4717
+ ruleName: Ue().required("Name is required"),
4718
+ effectiveFrom: et().required("effective From date is required"),
4719
+ validUntil: et().when(
4712
4720
  "checkClosed",
4713
4721
  (i, d, { parent: c }) => (c == null ? void 0 : c.checkClosed) ? d.required("valid Until date is required").test(
4714
4722
  "is-after-startDate",
@@ -4719,17 +4727,17 @@ function rr({ decision: e, onSubmitEvent: t }) {
4719
4727
  }
4720
4728
  ) : d.notRequired()
4721
4729
  ),
4722
- value: Qe(() => ut(n.values.howToSetTheDecision)(
4730
+ value: Ze(() => ct(n.values.howToSetTheDecision)(
4723
4731
  n.values.value,
4724
4732
  n.values.decisionDataType
4725
4733
  ).schema),
4726
- conditionThatEstablishesTheDecision: Qe((i, { parent: d }) => {
4734
+ conditionThatEstablishesTheDecision: Ze((i, { parent: d }) => {
4727
4735
  var h;
4728
4736
  if ((d == null ? void 0 : d.toggleNone) && Object.keys(d.conditionThatEstablishesTheDecision || {}).length > 0) return ye().shape({});
4729
4737
  const u = (h = e.conditionThatEstablishesTheDecision) == null ? void 0 : h.reduce(
4730
4738
  (p, g) => {
4731
4739
  if (n.values.conditionThatEstablishesTheDecision[g.conditionName] !== void 0) {
4732
- const b = ut(g.howToSetTheCondition);
4740
+ const b = ct(g.howToSetTheCondition);
4733
4741
  p[g.conditionName] = b(
4734
4742
  g.value,
4735
4743
  g.conditionDataType
@@ -4802,29 +4810,29 @@ const nr = (e) => {
4802
4810
  decisionDataType: t.decisionDataType,
4803
4811
  listOfPossibleValues: t.listOfPossibleValues
4804
4812
  };
4805
- return /* @__PURE__ */ s("form", { onSubmit: a.handleSubmit, children: /* @__PURE__ */ k(E, { direction: "column", gap: "24px", children: [
4806
- Je({
4813
+ return /* @__PURE__ */ s("form", { onSubmit: a.handleSubmit, children: /* @__PURE__ */ w(T, { direction: "column", gap: "24px", children: [
4814
+ Qe({
4807
4815
  condition: d,
4808
4816
  formik: a,
4809
4817
  isDecision: !0
4810
4818
  }),
4811
4819
  /* @__PURE__ */ s(re, { dashed: !0 }),
4812
- /* @__PURE__ */ s(Ko, { children: /* @__PURE__ */ s(Jo, { children: /* @__PURE__ */ k(
4813
- E,
4820
+ /* @__PURE__ */ s(Ko, { children: /* @__PURE__ */ s(Jo, { children: /* @__PURE__ */ w(
4821
+ T,
4814
4822
  {
4815
4823
  direction: "column",
4816
4824
  padding: "6px 12px",
4817
4825
  gap: "16px",
4818
4826
  height: "272px",
4819
4827
  children: [
4820
- /* @__PURE__ */ k(
4821
- E,
4828
+ /* @__PURE__ */ w(
4829
+ T,
4822
4830
  {
4823
4831
  justifyContent: "space-between",
4824
4832
  alignItems: "center",
4825
4833
  gap: "64px",
4826
4834
  children: [
4827
- /* @__PURE__ */ s(A, { type: "title", size: "small", weight: "bold", appearance: "gray", children: o.factsThatConditionIt }),
4835
+ /* @__PURE__ */ s(D, { type: "title", size: "small", weight: "bold", appearance: "gray", children: o.factsThatConditionIt }),
4828
4836
  /* @__PURE__ */ s(
4829
4837
  Dt,
4830
4838
  {
@@ -4832,13 +4840,13 @@ const nr = (e) => {
4832
4840
  onChange: () => i(!a.values.toggleNone),
4833
4841
  checked: a.values.toggleNone,
4834
4842
  size: "small",
4835
- children: /* @__PURE__ */ s(A, { size: "medium", type: "label", weight: "bold", children: o.none })
4843
+ children: /* @__PURE__ */ s(D, { as: "span", size: "medium", type: "label", weight: "bold", children: o.none })
4836
4844
  }
4837
4845
  )
4838
4846
  ]
4839
4847
  }
4840
4848
  ),
4841
- /* @__PURE__ */ s(E, { direction: "column", gap: "20px", children: (c = t.conditionThatEstablishesTheDecision) == null ? void 0 : c.map(
4849
+ /* @__PURE__ */ s(T, { direction: "column", gap: "20px", children: (c = t.conditionThatEstablishesTheDecision) == null ? void 0 : c.map(
4842
4850
  (u) => u.hidden ? null : /* @__PURE__ */ s(
4843
4851
  Qo,
4844
4852
  {
@@ -4864,7 +4872,7 @@ const nr = (e) => {
4864
4872
  );
4865
4873
  }
4866
4874
  },
4867
- children: Je({ condition: u, formik: a })
4875
+ children: Qe({ condition: u, formik: a })
4868
4876
  },
4869
4877
  u.conditionName
4870
4878
  )
@@ -4893,18 +4901,18 @@ const nr = (e) => {
4893
4901
  }
4894
4902
  ),
4895
4903
  /* @__PURE__ */ s(re, {}),
4896
- a.errors.conditionThatEstablishesTheDecision && a.submitCount > 0 && /* @__PURE__ */ s(A, { type: "label", size: "medium", appearance: "danger", children: String(a.errors.conditionThatEstablishesTheDecision) }),
4897
- /* @__PURE__ */ k(E, { direction: "row", justifyContent: "end", gap: "16px", children: [
4898
- /* @__PURE__ */ s(it, { appearance: "gray", onClick: n, children: o.cancel }),
4899
- /* @__PURE__ */ s(it, { type: "submit", children: o.confirm })
4904
+ a.errors.conditionThatEstablishesTheDecision && a.submitCount > 0 && /* @__PURE__ */ s(D, { type: "label", size: "medium", appearance: "danger", children: String(a.errors.conditionThatEstablishesTheDecision) }),
4905
+ /* @__PURE__ */ w(T, { direction: "row", justifyContent: "end", gap: "16px", children: [
4906
+ /* @__PURE__ */ s(dt, { appearance: "gray", onClick: n, children: o.cancel }),
4907
+ /* @__PURE__ */ s(dt, { type: "submit", children: o.confirm })
4900
4908
  ] })
4901
4909
  ] }) });
4902
- }, ct = v.div`
4910
+ }, st = v.div`
4903
4911
  & > div {
4904
4912
  border-radius: 8px;
4905
4913
  border: 1px solid ${te.palette.neutral.N30};
4906
4914
  }
4907
- `, st = v.div`
4915
+ `, pt = v.div`
4908
4916
  width: 100%;
4909
4917
  height: 100%;
4910
4918
  overflow-y: auto;
@@ -4946,8 +4954,8 @@ const Ot = (e) => {
4946
4954
  value: pe(t),
4947
4955
  howToSetTheDecision: (t == null ? void 0 : t.howToSetTheDecision) || "EqualTo"
4948
4956
  };
4949
- return !l && t && o ? /* @__PURE__ */ k(E, { direction: "column", gap: "12px", children: [
4950
- t && /* @__PURE__ */ s(E, { direction: "column", alignItems: "center", children: /* @__PURE__ */ s(
4957
+ return !l && t && o ? /* @__PURE__ */ w(T, { direction: "column", gap: "12px", children: [
4958
+ t && /* @__PURE__ */ s(T, { direction: "column", alignItems: "center", children: /* @__PURE__ */ s(
4951
4959
  me,
4952
4960
  {
4953
4961
  element: n,
@@ -4956,8 +4964,8 @@ const Ot = (e) => {
4956
4964
  }
4957
4965
  ) }, t.ruleName),
4958
4966
  /* @__PURE__ */ s(re, { dashed: !0 }),
4959
- /* @__PURE__ */ s(st, { children: /* @__PURE__ */ k(
4960
- E,
4967
+ /* @__PURE__ */ s(pt, { children: /* @__PURE__ */ w(
4968
+ T,
4961
4969
  {
4962
4970
  direction: "column",
4963
4971
  gap: "12px",
@@ -4965,7 +4973,7 @@ const Ot = (e) => {
4965
4973
  height: "203px",
4966
4974
  children: [
4967
4975
  /* @__PURE__ */ s(
4968
- A,
4976
+ D,
4969
4977
  {
4970
4978
  type: "label",
4971
4979
  size: "large",
@@ -4975,7 +4983,7 @@ const Ot = (e) => {
4975
4983
  children: o.factsThatConditionIt
4976
4984
  }
4977
4985
  ),
4978
- t.conditionThatEstablishesTheDecision && t.conditionThatEstablishesTheDecision.map((a) => a.hidden ? null : /* @__PURE__ */ s(ct, { children: /* @__PURE__ */ s(E, { direction: "column", padding: "8px", children: /* @__PURE__ */ s(
4986
+ t.conditionThatEstablishesTheDecision && t.conditionThatEstablishesTheDecision.map((a) => a.hidden ? null : /* @__PURE__ */ s(st, { children: /* @__PURE__ */ s(T, { direction: "column", padding: "8px", children: /* @__PURE__ */ s(
4979
4987
  me,
4980
4988
  {
4981
4989
  element: {
@@ -4986,7 +4994,7 @@ const Ot = (e) => {
4986
4994
  }
4987
4995
  ) }) }, a.conditionName)),
4988
4996
  /* @__PURE__ */ s(re, { dashed: !0 }),
4989
- /* @__PURE__ */ k(E, { direction: "column", gap: "12px", children: [
4997
+ /* @__PURE__ */ w(T, { direction: "column", gap: "12px", children: [
4990
4998
  (t == null ? void 0 : t.effectiveFrom) && (t == null ? void 0 : t.validUntil) && /* @__PURE__ */ s(
4991
4999
  me,
4992
5000
  {
@@ -5032,24 +5040,24 @@ const Ot = (e) => {
5032
5040
  ]
5033
5041
  }
5034
5042
  ) })
5035
- ] }) : /* @__PURE__ */ k(E, { direction: "column", gap: "12px", children: [
5036
- /* @__PURE__ */ k(E, { direction: "column", alignItems: "center", gap: "4px", children: [
5043
+ ] }) : /* @__PURE__ */ w(T, { direction: "column", gap: "12px", children: [
5044
+ /* @__PURE__ */ w(T, { direction: "column", alignItems: "center", gap: "4px", children: [
5037
5045
  /* @__PURE__ */ s(ce, { animated: !0, width: "180px" }),
5038
5046
  /* @__PURE__ */ s(ce, { animated: !0, width: "85px" })
5039
5047
  ] }, "loading"),
5040
- /* @__PURE__ */ k(E, { direction: "column", gap: "12px", alignItems: "center", children: [
5048
+ /* @__PURE__ */ w(T, { direction: "column", gap: "12px", alignItems: "center", children: [
5041
5049
  /* @__PURE__ */ s(re, { dashed: !0 }),
5042
5050
  /* @__PURE__ */ s(ce, { animated: !0, width: "150px" })
5043
5051
  ] }),
5044
- /* @__PURE__ */ s(st, { children: /* @__PURE__ */ s(
5045
- E,
5052
+ /* @__PURE__ */ s(pt, { children: /* @__PURE__ */ s(
5053
+ T,
5046
5054
  {
5047
5055
  direction: "column",
5048
5056
  gap: "12px",
5049
5057
  justifyContent: "space-between",
5050
5058
  height: "203px",
5051
- children: Array.from({ length: 5 }).map((a, i) => /* @__PURE__ */ s(ct, { children: /* @__PURE__ */ k(
5052
- E,
5059
+ children: Array.from({ length: 5 }).map((a, i) => /* @__PURE__ */ s(st, { children: /* @__PURE__ */ w(
5060
+ T,
5053
5061
  {
5054
5062
  direction: "column",
5055
5063
  gap: "12px",
@@ -5095,13 +5103,13 @@ v.div`
5095
5103
  border-radius: 8px;
5096
5104
  }
5097
5105
  `;
5098
- const Xe = (e) => {
5106
+ const Ke = (e) => {
5099
5107
  const { children: t, controls: l = !0, handleDelete: o, id: n } = e;
5100
- return /* @__PURE__ */ s(vr, { children: /* @__PURE__ */ k(E, { direction: "column", gap: "16px", padding: "12px 16px", children: [
5108
+ return /* @__PURE__ */ s(vr, { children: /* @__PURE__ */ w(T, { direction: "column", gap: "16px", padding: "12px 16px", children: [
5101
5109
  t,
5102
- l && /* @__PURE__ */ k(he, { children: [
5110
+ l && /* @__PURE__ */ w(he, { children: [
5103
5111
  /* @__PURE__ */ s(re, {}),
5104
- /* @__PURE__ */ s(E, { gap: "16px", justifyContent: "end", children: /* @__PURE__ */ s(
5112
+ /* @__PURE__ */ s(T, { gap: "16px", justifyContent: "end", children: /* @__PURE__ */ s(
5105
5113
  q,
5106
5114
  {
5107
5115
  cursorHover: !0,
@@ -5158,9 +5166,9 @@ const Xe = (e) => {
5158
5166
  "The portal node is not defined. This can occur when the specific node used to render the portal has not been defined correctly."
5159
5167
  );
5160
5168
  return jt(
5161
- /* @__PURE__ */ s(gr, { children: /* @__PURE__ */ s(no, { children: /* @__PURE__ */ s(br, { children: /* @__PURE__ */ k(E, { direction: "column", gap: "24px", children: [
5162
- /* @__PURE__ */ s(E, { direction: "column", gap: "24px", children: /* @__PURE__ */ k(E, { alignItems: "center", justifyContent: "space-between", children: [
5163
- /* @__PURE__ */ s(A, { type: "title", size: "large", appearance: "dark", weight: "bold", children: n }),
5169
+ /* @__PURE__ */ s(gr, { children: /* @__PURE__ */ s(no, { children: /* @__PURE__ */ s(br, { children: /* @__PURE__ */ w(T, { direction: "column", gap: "24px", children: [
5170
+ /* @__PURE__ */ s(T, { direction: "column", gap: "24px", children: /* @__PURE__ */ w(T, { alignItems: "center", justifyContent: "space-between", children: [
5171
+ /* @__PURE__ */ s(D, { type: "title", size: "large", appearance: "dark", weight: "bold", children: n }),
5164
5172
  /* @__PURE__ */ s(Ut, { size: "24px", cursor: "pointer", onClick: o })
5165
5173
  ] }) }),
5166
5174
  t
@@ -5243,7 +5251,7 @@ function kr({
5243
5251
  handleOpenModal: t
5244
5252
  }) {
5245
5253
  return /* @__PURE__ */ s(
5246
- Xe,
5254
+ Ke,
5247
5255
  {
5248
5256
  id: `loading-card-${e}`,
5249
5257
  handleDelete: () => {
@@ -5262,10 +5270,10 @@ function wr({
5262
5270
  handleDelete: o,
5263
5271
  textValues: n
5264
5272
  }) {
5265
- return e ? /* @__PURE__ */ s(Lt, { children: /* @__PURE__ */ k(E, { direction: "column", gap: "4px", width: "100%", padding: "0 0 12px 0", children: [
5266
- /* @__PURE__ */ s(A, { type: "title", size: "medium", appearance: "gray", weight: "bold", children: e.decisionId }),
5273
+ return e ? /* @__PURE__ */ s(Lt, { children: /* @__PURE__ */ w(T, { direction: "column", gap: "4px", width: "100%", padding: "0 0 12px 0", children: [
5274
+ /* @__PURE__ */ s(D, { type: "title", size: "medium", appearance: "gray", weight: "bold", children: e.decisionId }),
5267
5275
  /* @__PURE__ */ s(
5268
- Xe,
5276
+ Ke,
5269
5277
  {
5270
5278
  id: e.decisionId,
5271
5279
  handleDelete: () => o ? o(e.decisionId) : null,
@@ -5281,23 +5289,23 @@ function Nr({
5281
5289
  handleOpenModal: t,
5282
5290
  customTitleContentAddCard: l
5283
5291
  }) {
5284
- return /* @__PURE__ */ s(Lt, { children: /* @__PURE__ */ k(E, { direction: "column", gap: "4px", width: "100%", height: "100%", children: [
5285
- /* @__PURE__ */ s(A, { type: "title", size: "medium", appearance: "gray", weight: "bold", children: "Nueva decisión" }),
5292
+ return /* @__PURE__ */ s(Lt, { children: /* @__PURE__ */ w(T, { direction: "column", gap: "4px", width: "100%", height: "100%", children: [
5293
+ /* @__PURE__ */ s(D, { type: "title", size: "medium", appearance: "gray", weight: "bold", children: "Nueva decisión" }),
5286
5294
  /* @__PURE__ */ s(
5287
5295
  yr,
5288
5296
  {
5289
5297
  onClick: () => t ? t() : null,
5290
5298
  children: /* @__PURE__ */ s(
5291
- Xe,
5299
+ Ke,
5292
5300
  {
5293
5301
  id: `add-decision-${e}`,
5294
5302
  handleDelete: () => {
5295
5303
  },
5296
5304
  handleView: () => t ? t() : null,
5297
5305
  controls: !1,
5298
- children: /* @__PURE__ */ k(E, { direction: "column", gap: "12px", alignItems: "center", children: [
5306
+ children: /* @__PURE__ */ w(T, { direction: "column", gap: "12px", alignItems: "center", children: [
5299
5307
  /* @__PURE__ */ s(q, { appearance: "gray", icon: /* @__PURE__ */ s(Mt, {}), size: "35px" }),
5300
- /* @__PURE__ */ s(A, { appearance: "gray", type: "body", size: "large", children: l || "Agregar decisión" })
5308
+ /* @__PURE__ */ s(D, { appearance: "gray", type: "body", size: "large", children: l || "Agregar decisión" })
5301
5309
  ] })
5302
5310
  }
5303
5311
  )
@@ -5310,7 +5318,7 @@ const Cr = {
5310
5318
  decision: wr,
5311
5319
  add: Nr
5312
5320
  };
5313
- function je(e) {
5321
+ function He(e) {
5314
5322
  const { type: t } = e, l = Cr[t];
5315
5323
  return l ? l(e) : null;
5316
5324
  }
@@ -5324,7 +5332,7 @@ function Er({
5324
5332
  textValues: i
5325
5333
  }) {
5326
5334
  const d = o ? Array.from({ length: 3 }).map(
5327
- (u, h) => je({
5335
+ (u, h) => He({
5328
5336
  type: "loading",
5329
5337
  index: h,
5330
5338
  controls: e,
@@ -5335,7 +5343,7 @@ function Er({
5335
5343
  textValues: i
5336
5344
  })
5337
5345
  ) : l.map(
5338
- (u) => je({
5346
+ (u) => He({
5339
5347
  type: "decision",
5340
5348
  decision: u,
5341
5349
  controls: e,
@@ -5363,7 +5371,7 @@ const Br = (e) => {
5363
5371
  handleCloseModal: p,
5364
5372
  handleSubmitForm: g,
5365
5373
  handleDelete: m
5366
- } = e, b = At("(max-width: 681px)"), { renderedCards: f, shouldRenderAddCard: x } = Er({
5374
+ } = e, b = Te("(max-width: 681px)"), f = Te("(max-width: 400px)"), { renderedCards: x, shouldRenderAddCard: y } = Er({
5367
5375
  controls: t,
5368
5376
  customTitleContentAddCard: l,
5369
5377
  decisions: n,
@@ -5372,14 +5380,13 @@ const Br = (e) => {
5372
5380
  handleDelete: m,
5373
5381
  textValues: a
5374
5382
  });
5375
- return /* @__PURE__ */ k(he, { children: [
5376
- /* @__PURE__ */ s($r, { children: /* @__PURE__ */ s(xr, { children: /* @__PURE__ */ k(E, { direction: "column", gap: "16px", padding: "6px", children: [
5377
- n.length === 0 && !u && /* @__PURE__ */ k(A, { as: "span", type: "label", size: "large", appearance: "gray", children: [
5383
+ return /* @__PURE__ */ w(he, { children: [
5384
+ /* @__PURE__ */ s($r, { children: /* @__PURE__ */ s(xr, { children: /* @__PURE__ */ w(T, { direction: "column", gap: "16px", padding: "6px", children: [
5385
+ n.length === 0 && !u && /* @__PURE__ */ w(D, { as: "span", type: "label", size: "large", appearance: "gray", children: [
5378
5386
  o || "Aún NO tienes definidas tasas de interés efectivas",
5379
5387
  ". Presiona",
5380
- " ",
5381
- /* @__PURE__ */ k(
5382
- A,
5388
+ /* @__PURE__ */ w(
5389
+ D,
5383
5390
  {
5384
5391
  as: "span",
5385
5392
  type: "label",
@@ -5393,13 +5400,12 @@ const Br = (e) => {
5393
5400
  ]
5394
5401
  }
5395
5402
  ),
5396
- " ",
5397
5403
  "para empezar."
5398
5404
  ] }),
5399
- /* @__PURE__ */ k(
5400
- zt,
5405
+ /* @__PURE__ */ w(
5406
+ At,
5401
5407
  {
5402
- templateColumns: "repeat(auto-fill, minmax(300px, 1fr))",
5408
+ templateColumns: f ? "repeat(auto-fill, minmax(200px, 1fr))" : "repeat(auto-fill, minmax(300px, 1fr))",
5403
5409
  autoFlow: "row dense",
5404
5410
  gap: "24px",
5405
5411
  alignItems: "start",
@@ -5409,8 +5415,8 @@ const Br = (e) => {
5409
5415
  padding: "6px",
5410
5416
  height: b ? "auto" : "484px",
5411
5417
  children: [
5412
- f,
5413
- x && je({
5418
+ x,
5419
+ y && He({
5414
5420
  type: "add",
5415
5421
  index: n.length,
5416
5422
  controls: t,
@@ -5509,7 +5515,7 @@ const Br = (e) => {
5509
5515
  } : t;
5510
5516
  });
5511
5517
  export {
5512
- Xe as BusinessRuleCard,
5518
+ Ke as BusinessRuleCard,
5513
5519
  Ot as BusinessRuleView,
5514
5520
  Br as BusinessRules,
5515
5521
  mr as ModalRules,