@foris/avocado-not-front 5.2.5 → 5.2.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,21 +1,21 @@
1
1
  import X from "axios";
2
- import { create as ve } from "zustand";
3
- import Ee, { useMemo as O, useState as $, useCallback as L, Fragment as k, useEffect as U, useRef as ut, cloneElement as ke } from "react";
4
- import { Heading as se, Text as re, Accordion as Se, ThemeStore as ht, Box as Te, RadioButton as Ae, Stepper as Oe, ProgressBar as $e, Breadcrumbs as Re, Button as De, CardAccordion as Ie, Card as qe, CardNotification as xt, SkeletonBase as ae, Checkbox as Le, PreviewerMarkdown as oe, DataCard as Ke, Divider as Be, Drawer as Me, DropdownButton as He, Link as Ge, Menu as Ue, Modal as Ve, Pill as St, RoundButton as ze, SelectPagination as Xe, Select as Je, Switch as We, Table as Bt, Pager as Ct, Tabs as Ye, Textarea as Qe, TextField as Ze, toast as lt, Tooltip as Fe, Loading as Pe, Toaster as tn } from "@foris/avocado-suite";
5
- import { ChatPanel as en, PromptCodeEditor as nn, SummaryCard as sn } from "@foris/ai-agent";
2
+ import { create as Ee } from "zustand";
3
+ import ke, { useMemo as O, useState as $, useCallback as L, Fragment as k, useEffect as U, useRef as ut, cloneElement as Se } from "react";
4
+ import { Heading as re, Text as ae, Accordion as Te, ThemeStore as ht, Box as Ae, RadioButton as Oe, Stepper as $e, ProgressBar as Re, Breadcrumbs as De, Button as qe, CardAccordion as Ie, Card as Le, CardNotification as xt, SkeletonBase as oe, Checkbox as Ke, PreviewerMarkdown as ce, DataCard as Be, Divider as Me, Drawer as He, DropdownButton as Ge, Link as Ue, Menu as Ve, Modal as ze, Pill as St, RoundButton as Xe, SelectPagination as Je, Select as We, Switch as Ye, Table as Bt, Pager as Ct, Tabs as Qe, Textarea as Ze, TextField as Fe, toast as lt, Tooltip as Pe, Loading as tn, Toaster as en } from "@foris/avocado-suite";
5
+ import { ChatPanel as nn, PromptCodeEditor as sn, SummaryCard as rn } from "@foris/ai-agent";
6
6
  import B from "jsonpath";
7
- import { ResponsiveContainer as Ot, Legend as rn, Tooltip as an, XAxis as on, YAxis as cn, AreaChart as ln, CartesianGrid as st, Area as ce, BarChart as $t, Bar as gt, ComposedChart as dn, Line as ie, PieChart as le, Pie as de, Cell as _e, Sector as Mt, LineChart as _n } from "recharts";
8
- import un from "@uiw/react-codemirror";
7
+ import { ResponsiveContainer as Ot, Legend as an, Tooltip as on, XAxis as cn, YAxis as ln, AreaChart as dn, CartesianGrid as st, Area as ie, BarChart as $t, Bar as gt, ComposedChart as _n, Line as le, PieChart as de, Pie as _e, Cell as ue, Sector as Mt, LineChart as un } from "recharts";
8
+ import hn from "@uiw/react-codemirror";
9
9
  import { json as Ht } from "@codemirror/lang-json";
10
- import { markdown as hn } from "@codemirror/lang-markdown";
11
- import { sql as fn } from "@codemirror/lang-sql";
12
- import { yaml as yn } from "@codemirror/lang-yaml";
10
+ import { markdown as fn } from "@codemirror/lang-markdown";
11
+ import { sql as yn } from "@codemirror/lang-sql";
12
+ import { yaml as xn } from "@codemirror/lang-yaml";
13
13
  import { Icon as Gt } from "@foris/avocado-icons";
14
- const Rt = "sessionId", xn = () => sessionStorage.getItem(Rt), Dt = (t) => {
14
+ const Rt = "sessionId", mn = () => sessionStorage.getItem(Rt), Dt = (t) => {
15
15
  t && sessionStorage.setItem(Rt, t);
16
- }, Ta = () => {
16
+ }, Aa = () => {
17
17
  sessionStorage.removeItem(Rt);
18
- }, v = ve(() => ({})), yt = (t, e, s, r, c) => {
18
+ }, v = Ee(() => ({})), yt = (t, e, s, r, c) => {
19
19
  Dt(c);
20
20
  const l = s == null ? void 0 : s.hash, i = r && Object.keys(r).length > 0 ? { ...r } : {};
21
21
  v.setState((n) => {
@@ -40,16 +40,16 @@ const Rt = "sessionId", xn = () => sessionStorage.getItem(Rt), Dt = (t) => {
40
40
  }
41
41
  };
42
42
  });
43
- }, ue = (t, e, s) => {
43
+ }, he = (t, e, s) => {
44
44
  const r = s && Object.keys(s).length > 0 ? { ...t, ...s } : t;
45
45
  return e.length === 0 ? t : Object.fromEntries(
46
46
  Object.entries(r).filter(
47
47
  ([c]) => !e.includes(c)
48
48
  )
49
49
  );
50
- }, mn = (t, e, s, r, c) => {
50
+ }, gn = (t, e, s, r, c) => {
51
51
  Dt(s), v.setState((l) => {
52
- const i = l[t] ?? {}, n = i.entries ?? {}, d = ue(
52
+ const i = l[t] ?? {}, n = i.entries ?? {}, d = he(
53
53
  n,
54
54
  r,
55
55
  c
@@ -71,10 +71,10 @@ const Rt = "sessionId", xn = () => sessionStorage.getItem(Rt), Dt = (t) => {
71
71
  }
72
72
  };
73
73
  });
74
- }, gn = (t, e, s, r) => {
74
+ }, pn = (t, e, s, r) => {
75
75
  v.setState((c) => {
76
76
  var a;
77
- const l = c[t] ?? {}, i = l.entries ?? {}, n = ue(
77
+ const l = c[t] ?? {}, i = l.entries ?? {}, n = he(
78
78
  i,
79
79
  s,
80
80
  r
@@ -93,7 +93,7 @@ const Rt = "sessionId", xn = () => sessionStorage.getItem(Rt), Dt = (t) => {
93
93
  }
94
94
  };
95
95
  });
96
- }, It = (t) => {
96
+ }, qt = (t) => {
97
97
  v.setState((e) => ({
98
98
  ...e,
99
99
  [t]: {
@@ -101,7 +101,7 @@ const Rt = "sessionId", xn = () => sessionStorage.getItem(Rt), Dt = (t) => {
101
101
  overlay: null
102
102
  }
103
103
  }));
104
- }, pn = (t) => {
104
+ }, bn = (t) => {
105
105
  var s;
106
106
  return ((s = v.getState()[t]) == null ? void 0 : s.overlay) ?? null;
107
107
  }, K = (t, e) => {
@@ -111,19 +111,19 @@ const Rt = "sessionId", xn = () => sessionStorage.getItem(Rt), Dt = (t) => {
111
111
  deprecatedStateKeys: c = [],
112
112
  sessionState: l
113
113
  } = e;
114
- s.type !== "page" && s.type !== "overlay" || (s.type === "page" ? mn(
114
+ s.type !== "page" && s.type !== "overlay" || (s.type === "page" ? gn(
115
115
  t,
116
116
  s,
117
117
  r,
118
118
  c,
119
119
  l
120
- ) : gn(
120
+ ) : pn(
121
121
  t,
122
122
  s,
123
123
  c,
124
124
  l
125
125
  ));
126
- }, q = (t, e) => {
126
+ }, I = (t, e) => {
127
127
  v.setState((s) => {
128
128
  var r;
129
129
  return {
@@ -138,7 +138,7 @@ const Rt = "sessionId", xn = () => sessionStorage.getItem(Rt), Dt = (t) => {
138
138
  }
139
139
  };
140
140
  });
141
- }, bn = (t, e) => {
141
+ }, jn = (t, e) => {
142
142
  v.setState((s) => {
143
143
  const r = s[t];
144
144
  if (!r)
@@ -163,7 +163,7 @@ const Rt = "sessionId", xn = () => sessionStorage.getItem(Rt), Dt = (t) => {
163
163
  isLoading: e
164
164
  }
165
165
  }));
166
- }, qt = (t, e) => {
166
+ }, It = (t, e) => {
167
167
  v.setState((s) => ({
168
168
  ...s,
169
169
  [t]: {
@@ -194,26 +194,26 @@ const Rt = "sessionId", xn = () => sessionStorage.getItem(Rt), Dt = (t) => {
194
194
  } : s;
195
195
  });
196
196
  };
197
- let wt = !1, mt = [], Vt = !1;
198
- const jn = (t) => t._userFlow || null, zt = (t) => {
197
+ let Nt = !1, mt = [], Vt = !1;
198
+ const Cn = (t) => t._userFlow || null, zt = (t) => {
199
199
  mt.forEach(({ resolve: e, reject: s }) => {
200
200
  t ? s(t) : e(void 0);
201
201
  }), mt = [];
202
- }, Cn = async (t) => {
202
+ }, Nn = async (t) => {
203
203
  var r, c;
204
204
  const e = t == null ? void 0 : t.config;
205
205
  if (((r = t == null ? void 0 : t.response) == null ? void 0 : r.status) === 401 && !e._retry) {
206
- const l = jn(e);
206
+ const l = Cn(e);
207
207
  if (l) {
208
208
  const n = (c = v.getState()[l]) == null ? void 0 : c.apiConfig;
209
209
  if (!n)
210
210
  return Promise.reject(t);
211
211
  if (n.onAuthenticationError || typeof n.headers == "function") {
212
- if (wt)
212
+ if (Nt)
213
213
  return new Promise((a, _) => {
214
214
  mt.push({ resolve: a, reject: _ });
215
215
  }).then(() => X(e)).catch((a) => (console.error("[axiosInterceptors] Queued request failed:", a), Promise.reject(a)));
216
- e._retry = !0, wt = !0;
216
+ e._retry = !0, Nt = !0;
217
217
  try {
218
218
  let a;
219
219
  if (n.onAuthenticationError)
@@ -232,7 +232,7 @@ const jn = (t) => t._userFlow || null, zt = (t) => {
232
232
  mt.length
233
233
  ), zt(a), Promise.reject(a);
234
234
  } finally {
235
- wt = !1;
235
+ Nt = !1;
236
236
  }
237
237
  } else
238
238
  console.warn(
@@ -252,13 +252,13 @@ const jn = (t) => t._userFlow || null, zt = (t) => {
252
252
  );
253
253
  return;
254
254
  }
255
- console.debug("[axiosInterceptors] Initializing interceptors..."), X.interceptors.response.use(void 0, Cn), console.debug("[axiosInterceptors] Response error interceptor registered"), Vt = !0, console.debug("[axiosInterceptors] Interceptors initialized successfully");
255
+ console.debug("[axiosInterceptors] Initializing interceptors..."), X.interceptors.response.use(void 0, Nn), console.debug("[axiosInterceptors] Response error interceptor registered"), Vt = !0, console.debug("[axiosInterceptors] Interceptors initialized successfully");
256
256
  };
257
257
  wn();
258
- function Nn(t) {
258
+ function vn(t) {
259
259
  return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
260
260
  }
261
- var Nt = { exports: {} }, dt = {};
261
+ var wt = { exports: {} }, dt = {};
262
262
  /**
263
263
  * @license React
264
264
  * react-jsx-runtime.production.min.js
@@ -269,10 +269,10 @@ var Nt = { exports: {} }, dt = {};
269
269
  * LICENSE file in the root directory of this source tree.
270
270
  */
271
271
  var Xt;
272
- function vn() {
272
+ function En() {
273
273
  if (Xt) return dt;
274
274
  Xt = 1;
275
- var t = Ee, e = Symbol.for("react.element"), s = Symbol.for("react.fragment"), r = Object.prototype.hasOwnProperty, c = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, l = { key: !0, ref: !0, __self: !0, __source: !0 };
275
+ var t = ke, e = Symbol.for("react.element"), s = Symbol.for("react.fragment"), r = Object.prototype.hasOwnProperty, c = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, l = { key: !0, ref: !0, __self: !0, __source: !0 };
276
276
  function i(n, d, a) {
277
277
  var _, u = {}, h = null, f = null;
278
278
  a !== void 0 && (h = "" + a), d.key !== void 0 && (h = "" + d.key), d.ref !== void 0 && (f = d.ref);
@@ -283,31 +283,31 @@ function vn() {
283
283
  return dt.Fragment = s, dt.jsx = i, dt.jsxs = i, dt;
284
284
  }
285
285
  var Jt;
286
- function En() {
287
- return Jt || (Jt = 1, Nt.exports = vn()), Nt.exports;
286
+ function kn() {
287
+ return Jt || (Jt = 1, wt.exports = En()), wt.exports;
288
288
  }
289
- var o = En();
290
- const kn = (t) => {
289
+ var o = kn();
290
+ const Sn = (t) => {
291
291
  if (!(t != null && t.content)) return null;
292
292
  const e = {
293
293
  ...t,
294
294
  children: t.content,
295
295
  type: t.variant
296
296
  };
297
- return /* @__PURE__ */ o.jsx(se, { ...e });
298
- }, Sn = (t) => {
297
+ return /* @__PURE__ */ o.jsx(re, { ...e });
298
+ }, Tn = (t) => {
299
299
  if (!t) return null;
300
300
  const e = {
301
301
  ...t,
302
302
  children: t.content
303
303
  };
304
- return /* @__PURE__ */ o.jsx(re, { ...e });
304
+ return /* @__PURE__ */ o.jsx(ae, { ...e });
305
305
  }, E = (t, e, s, r) => {
306
306
  var i;
307
307
  const c = {
308
- accordion: (n) => /* @__PURE__ */ o.jsx(Ln, { ...n, userFlow: t, pageId: e }),
308
+ accordion: (n) => /* @__PURE__ */ o.jsx(Kn, { ...n, userFlow: t, pageId: e }),
309
309
  aiChatPanel: (n) => /* @__PURE__ */ o.jsx(
310
- Kn,
310
+ Bn,
311
311
  {
312
312
  ...n,
313
313
  userFlow: t,
@@ -316,7 +316,7 @@ const kn = (t) => {
316
316
  }
317
317
  ),
318
318
  aiSummaryCard: (n) => /* @__PURE__ */ o.jsx(
319
- Vn,
319
+ zn,
320
320
  {
321
321
  ...n,
322
322
  userFlow: t,
@@ -324,57 +324,57 @@ const kn = (t) => {
324
324
  onResolveProps: r == null ? void 0 : r.aiSummaryCard
325
325
  }
326
326
  ),
327
- aiPromptCodeEditor: (n) => /* @__PURE__ */ o.jsx(Hn, { ...n, userFlow: t, pageId: e }),
328
- box: (n) => /* @__PURE__ */ o.jsx(Qn, { ...n, userFlow: t, pageId: e }),
329
- breadcrumbs: (n) => /* @__PURE__ */ o.jsx(is, { ...n, userFlow: t, pageId: e }),
330
- tooltip: (n) => /* @__PURE__ */ o.jsx(da, { ...n, userFlow: t, pageId: e }),
331
- textarea: (n) => /* @__PURE__ */ o.jsx(sa, { ...n, userFlow: t, pageId: e }),
332
- card: (n) => /* @__PURE__ */ o.jsx(fs, { ...n, userFlow: t, pageId: e }),
333
- dropdownButton: (n) => /* @__PURE__ */ o.jsx(ir, { ...n, userFlow: t, pageId: e }),
334
- menu: (n) => /* @__PURE__ */ o.jsx(hr, { ...n, userFlow: t, pageId: e }),
335
- radioGroup: (n) => /* @__PURE__ */ o.jsx(as, { ...n, userFlow: t, pageId: e }),
336
- stepper: (n) => /* @__PURE__ */ o.jsx(os, { ...n, userFlow: t, pageId: e }),
337
- progressBar: (n) => /* @__PURE__ */ o.jsx(cs, { ...n, userFlow: t, pageId: e }),
338
- button: (n) => /* @__PURE__ */ o.jsx(ls, { ...n, userFlow: t, pageId: e }),
339
- cardAccordion: (n) => /* @__PURE__ */ o.jsx(_s, { ...n, userFlow: t, pageId: e }),
340
- cardNotification: (n) => /* @__PURE__ */ o.jsx(ys, { ...n, userFlow: t, pageId: e }),
341
- chart: (n) => /* @__PURE__ */ o.jsx(Vs, { ...n, userFlow: t }),
342
- dataCard: (n) => /* @__PURE__ */ o.jsx(tr, { ...n, userFlow: t, pageId: e }),
343
- checkbox: (n) => /* @__PURE__ */ o.jsx(zs, { ...n, userFlow: t, pageId: e }),
344
- code: (n) => /* @__PURE__ */ o.jsx(Fs, { ...n, userFlow: t, pageId: e }),
345
- divider: (n) => /* @__PURE__ */ o.jsx(sr, { ...n }),
346
- drawer: (n) => /* @__PURE__ */ o.jsx(cr, { ...n, userFlow: t, pageId: e }),
347
- heading: (n) => kn(n),
348
- link: (n) => /* @__PURE__ */ o.jsx(ur, { ...n, userFlow: t, pageId: e }),
349
- pill: (n) => /* @__PURE__ */ o.jsx(jr, { ...n }),
350
- previewerMarkdown: (n) => /* @__PURE__ */ o.jsx(Cr, { ...n }),
351
- modal: (n) => /* @__PURE__ */ o.jsx(xr, { ...n, userFlow: t, pageId: e }),
327
+ aiPromptCodeEditor: (n) => /* @__PURE__ */ o.jsx(Gn, { ...n, userFlow: t, pageId: e }),
328
+ box: (n) => /* @__PURE__ */ o.jsx(Zn, { ...n, userFlow: t, pageId: e }),
329
+ breadcrumbs: (n) => /* @__PURE__ */ o.jsx(ls, { ...n, userFlow: t, pageId: e }),
330
+ tooltip: (n) => /* @__PURE__ */ o.jsx(_a, { ...n, userFlow: t, pageId: e }),
331
+ textarea: (n) => /* @__PURE__ */ o.jsx(ra, { ...n, userFlow: t, pageId: e }),
332
+ card: (n) => /* @__PURE__ */ o.jsx(ys, { ...n, userFlow: t, pageId: e }),
333
+ dropdownButton: (n) => /* @__PURE__ */ o.jsx(lr, { ...n, userFlow: t, pageId: e }),
334
+ menu: (n) => /* @__PURE__ */ o.jsx(fr, { ...n, userFlow: t, pageId: e }),
335
+ radioGroup: (n) => /* @__PURE__ */ o.jsx(os, { ...n, userFlow: t, pageId: e }),
336
+ stepper: (n) => /* @__PURE__ */ o.jsx(cs, { ...n, userFlow: t, pageId: e }),
337
+ progressBar: (n) => /* @__PURE__ */ o.jsx(is, { ...n, userFlow: t, pageId: e }),
338
+ button: (n) => /* @__PURE__ */ o.jsx(ds, { ...n, userFlow: t, pageId: e }),
339
+ cardAccordion: (n) => /* @__PURE__ */ o.jsx(us, { ...n, userFlow: t, pageId: e }),
340
+ cardNotification: (n) => /* @__PURE__ */ o.jsx(xs, { ...n, userFlow: t, pageId: e }),
341
+ chart: (n) => /* @__PURE__ */ o.jsx(zs, { ...n, userFlow: t }),
342
+ dataCard: (n) => /* @__PURE__ */ o.jsx(er, { ...n, userFlow: t, pageId: e }),
343
+ checkbox: (n) => /* @__PURE__ */ o.jsx(Xs, { ...n, userFlow: t, pageId: e }),
344
+ code: (n) => /* @__PURE__ */ o.jsx(Ps, { ...n, userFlow: t, pageId: e }),
345
+ divider: (n) => /* @__PURE__ */ o.jsx(rr, { ...n }),
346
+ drawer: (n) => /* @__PURE__ */ o.jsx(ir, { ...n, userFlow: t, pageId: e }),
347
+ heading: (n) => Sn(n),
348
+ link: (n) => /* @__PURE__ */ o.jsx(hr, { ...n, userFlow: t, pageId: e }),
349
+ pill: (n) => /* @__PURE__ */ o.jsx(Cr, { ...n }),
350
+ previewerMarkdown: (n) => /* @__PURE__ */ o.jsx(Nr, { ...n }),
351
+ modal: (n) => /* @__PURE__ */ o.jsx(mr, { ...n, userFlow: t, pageId: e }),
352
352
  roundButton: (n) => /* @__PURE__ */ o.jsx(wr, { ...n, userFlow: t, pageId: e }),
353
- row: (n) => /* @__PURE__ */ o.jsx(Er, { ...n, userFlow: t, pageId: e }),
354
- select: (n) => /* @__PURE__ */ o.jsx(Dr, { ...n, userFlow: t, pageId: e }),
355
- switch: (n) => /* @__PURE__ */ o.jsx(zr, { ...n, userFlow: t, pageId: e }),
356
- spacing: (n) => /* @__PURE__ */ o.jsx(Vr, { ...n, userFlow: t, pageId: e }),
357
- table: (n) => /* @__PURE__ */ o.jsx(Fr, { ...n, userFlow: t, pageId: e }),
358
- tabs: (n) => /* @__PURE__ */ o.jsx(na, { ...n, userFlow: t, pageId: e }),
359
- text: (n) => Sn(n),
360
- textField: (n) => /* @__PURE__ */ o.jsx(oa, { ...n, userFlow: t, pageId: e }),
361
- toast: (n) => /* @__PURE__ */ o.jsx(ca, { ...n, userFlow: t, pageId: e })
353
+ row: (n) => /* @__PURE__ */ o.jsx(kr, { ...n, userFlow: t, pageId: e }),
354
+ select: (n) => /* @__PURE__ */ o.jsx(qr, { ...n, userFlow: t, pageId: e }),
355
+ switch: (n) => /* @__PURE__ */ o.jsx(Xr, { ...n, userFlow: t, pageId: e }),
356
+ spacing: (n) => /* @__PURE__ */ o.jsx(zr, { ...n, userFlow: t, pageId: e }),
357
+ table: (n) => /* @__PURE__ */ o.jsx(Pr, { ...n, userFlow: t, pageId: e }),
358
+ tabs: (n) => /* @__PURE__ */ o.jsx(sa, { ...n, userFlow: t, pageId: e }),
359
+ text: (n) => Tn(n),
360
+ textField: (n) => /* @__PURE__ */ o.jsx(ca, { ...n, userFlow: t, pageId: e }),
361
+ toast: (n) => /* @__PURE__ */ o.jsx(ia, { ...n, userFlow: t, pageId: e })
362
362
  };
363
363
  return (i = s == null ? void 0 : s.filter(Boolean)) == null ? void 0 : i.map((n) => {
364
364
  const d = c[n.component];
365
365
  return d ? d({ ...n, userFlow: t, pageId: e }) : null;
366
366
  });
367
367
  };
368
- function Tn(t) {
368
+ function An(t) {
369
369
  return !!(t == null || typeof t == "string" && t.trim() === "" || Array.isArray(t) && t.length === 0);
370
370
  }
371
- function he(t, e) {
371
+ function fe(t, e) {
372
372
  if (!(e != null && e.length))
373
373
  return !1;
374
374
  for (const s of e)
375
375
  if (s.when === "empty") {
376
376
  const r = t == null ? void 0 : t[s.key];
377
- if (Tn(r))
377
+ if (An(r))
378
378
  return !0;
379
379
  }
380
380
  return !1;
@@ -386,7 +386,7 @@ function M(t, e) {
386
386
  });
387
387
  return O(
388
388
  () => ({
389
- disabled: he(s, e)
389
+ disabled: fe(s, e)
390
390
  }),
391
391
  [e, s]
392
392
  );
@@ -403,7 +403,7 @@ const rt = (t) => {
403
403
  return { "content-type": "application/json", Authorization: t };
404
404
  }
405
405
  return t;
406
- }, ft = () => new AbortController(), An = (t, e = {}, s = {}, r = !1, c) => {
406
+ }, ft = () => new AbortController(), On = (t, e = {}, s = {}, r = !1, c) => {
407
407
  const l = ft();
408
408
  r && l.abort();
409
409
  const i = rt(e);
@@ -433,7 +433,7 @@ const rt = (t) => {
433
433
  }),
434
434
  controller: i
435
435
  };
436
- }, On = (t, e = {}, s = {}, r = {}, c = !1, l) => {
436
+ }, $n = (t, e = {}, s = {}, r = {}, c = !1, l) => {
437
437
  const i = ft();
438
438
  c && i.abort();
439
439
  const n = rt(e);
@@ -448,7 +448,7 @@ const rt = (t) => {
448
448
  }),
449
449
  controller: i
450
450
  };
451
- }, $n = (t, e = {}, s = {}, r = {}, c = !1, l) => {
451
+ }, Rn = (t, e = {}, s = {}, r = {}, c = !1, l) => {
452
452
  const i = ft();
453
453
  c && i.abort();
454
454
  const n = rt(e);
@@ -463,7 +463,7 @@ const rt = (t) => {
463
463
  }),
464
464
  controller: i
465
465
  };
466
- }, Rn = (t, e = {}, s = {}, r = {}, c = !1, l) => {
466
+ }, Dn = (t, e = {}, s = {}, r = {}, c = !1, l) => {
467
467
  const i = ft();
468
468
  c && i.abort();
469
469
  const n = rt(e);
@@ -479,7 +479,7 @@ const rt = (t) => {
479
479
  }),
480
480
  controller: i
481
481
  };
482
- }, fe = () => {
482
+ }, ye = () => {
483
483
  let t;
484
484
  return { callEndpoint: async (r) => {
485
485
  r.controller && (t = r.controller);
@@ -493,9 +493,9 @@ const rt = (t) => {
493
493
  }, cancelEndpoint: () => {
494
494
  t && t.abort();
495
495
  } };
496
- }, ye = async (t, e, s = "", r = {}, c = {}) => {
496
+ }, xe = async (t, e, s = "", r = {}, c = {}) => {
497
497
  try {
498
- const { callEndpoint: l } = fe(), { api: i, headers: n } = t, d = xn(), a = new URLSearchParams({ session_name: e });
498
+ const { callEndpoint: l } = ye(), { api: i, headers: n } = t, d = mn(), a = new URLSearchParams({ session_name: e });
499
499
  s && a.append("hash_code", s), d && a.append("sessionId", d);
500
500
  const _ = `${i}/not-front/next-ui/?${a.toString()}`, u = rt(n), h = Tt(
501
501
  _,
@@ -509,7 +509,7 @@ const rt = (t) => {
509
509
  } catch (l) {
510
510
  return console.error(l), Promise.reject(l);
511
511
  }
512
- }, xe = (t) => {
512
+ }, me = (t) => {
513
513
  const e = t == null ? void 0 : t.toLowerCase();
514
514
  switch (e) {
515
515
  case "post":
@@ -521,7 +521,7 @@ const rt = (t) => {
521
521
  default:
522
522
  return "get";
523
523
  }
524
- }, Dn = (t, e, s) => {
524
+ }, qn = (t, e, s) => {
525
525
  const { url: r, paginationKeys: c, params: l } = t, i = [], n = (c == null ? void 0 : c.page) ?? "page";
526
526
  if (i.push(`${n}=${e}`), typeof s == "string") {
527
527
  const _ = (c == null ? void 0 : c.text) ?? "text";
@@ -538,11 +538,11 @@ const rt = (t) => {
538
538
  }, Lt = (t, e, s, r) => {
539
539
  const { type: c, url: l, method: i, headers: n } = t;
540
540
  if (c === "rest") {
541
- const d = Dn(t, e, s), _ = { ...(t == null ? void 0 : t.data) ?? {}, ...r ?? {} };
541
+ const d = qn(t, e, s), _ = { ...(t == null ? void 0 : t.data) ?? {}, ...r ?? {} };
542
542
  return {
543
543
  type: "rest",
544
544
  url: d,
545
- method: xe(i),
545
+ method: me(i),
546
546
  headers: n,
547
547
  data: _
548
548
  };
@@ -560,14 +560,14 @@ const rt = (t) => {
560
560
  }
561
561
  };
562
562
  }, G = () => {
563
- const t = v((n) => n), { callEndpoint: e } = fe(), s = async (n, d, a, _, u = !0) => {
563
+ const t = v((n) => n), { callEndpoint: e } = ye(), s = async (n, d, a, _, u = !0) => {
564
564
  var h;
565
565
  try {
566
566
  const f = (h = t[n]) == null ? void 0 : h.apiConfig, x = {
567
567
  state: { ...a },
568
568
  triggerKey: _
569
569
  };
570
- return u && F(n, !0), await ye(
570
+ return u && F(n, !0), await xe(
571
571
  f,
572
572
  n,
573
573
  d,
@@ -578,18 +578,18 @@ const rt = (t) => {
578
578
  }
579
579
  }, r = (n, d) => {
580
580
  const { url: a, headers: _, data: u, params: h } = n;
581
- switch (xe(n.method)) {
581
+ switch (me(n.method)) {
582
582
  case "post":
583
583
  return Tt(a, _, u, {}, !1, d);
584
584
  case "put":
585
- return On(a, _, u, {}, !1, d);
586
- case "patch":
587
585
  return $n(a, _, u, {}, !1, d);
586
+ case "patch":
587
+ return Rn(a, _, u, {}, !1, d);
588
588
  case "delete":
589
- return Rn(a, _, u, h, !1, d);
589
+ return Dn(a, _, u, h, !1, d);
590
590
  case "get":
591
591
  default:
592
- return An(a, _, h, !1, d);
592
+ return On(a, _, h, !1, d);
593
593
  }
594
594
  }, c = (n, d) => {
595
595
  const { url: a, headers: _ } = n, u = {
@@ -662,10 +662,10 @@ const rt = (t) => {
662
662
  }
663
663
  }
664
664
  };
665
- }, In = "_accordion_1ri2t_1", qn = "_accordionBody_1ri2t_8", Wt = {
665
+ }, In = "_accordion_1ri2t_1", Ln = "_accordionBody_1ri2t_8", Wt = {
666
666
  accordion: In,
667
- accordionBody: qn
668
- }, Ln = (t) => {
667
+ accordionBody: Ln
668
+ }, Kn = (t) => {
669
669
  const {
670
670
  userFlow: e,
671
671
  pageId: s,
@@ -686,18 +686,18 @@ const rt = (t) => {
686
686
  try {
687
687
  const j = p.target.checked;
688
688
  u(j);
689
- const w = {
689
+ const N = {
690
690
  ...(C = v.getState()[e]) == null ? void 0 : C.entries,
691
691
  [r]: j
692
692
  };
693
- if (q(e, w), d.actionType === "GO_TO_NEXT_UI") {
694
- const N = await a(
693
+ if (I(e, N), d.actionType === "GO_TO_NEXT_UI") {
694
+ const w = await a(
695
695
  e,
696
696
  s,
697
- w,
697
+ N,
698
698
  r
699
699
  );
700
- N != null && N.data && K(e, N == null ? void 0 : N.data);
700
+ w != null && w.data && K(e, w == null ? void 0 : w.data);
701
701
  }
702
702
  } catch (j) {
703
703
  console.error("Error in accordion checkbox action:", j), alert(JSON.stringify(j));
@@ -714,8 +714,8 @@ const rt = (t) => {
714
714
  customContent: b ? /* @__PURE__ */ o.jsx(o.Fragment, { children: b.map((p, C) => /* @__PURE__ */ o.jsx(k, { children: p }, `accordion-custom-${C}`)) }) : void 0,
715
715
  children: f ? /* @__PURE__ */ o.jsx("section", { className: Wt.accordionBody, children: f.map((p, C) => /* @__PURE__ */ o.jsx(k, { children: p }, `accordion-child-${C}`)) }) : void 0
716
716
  };
717
- return /* @__PURE__ */ o.jsx(Se, { ...m });
718
- }, Kn = (t) => {
717
+ return /* @__PURE__ */ o.jsx(Te, { ...m });
718
+ }, Bn = (t) => {
719
719
  const e = ht.useThemeStore((i) => i.theme.mode), s = t.dataSource, r = O(() => ({
720
720
  url: t.dataSource.url,
721
721
  method: t.dataSource.method,
@@ -748,7 +748,7 @@ const rt = (t) => {
748
748
  t.initialSuggestions,
749
749
  e
750
750
  ]), t.onResolveProps ? null : /* @__PURE__ */ o.jsx(
751
- en,
751
+ nn,
752
752
  {
753
753
  dataSource: r,
754
754
  locale: c,
@@ -757,9 +757,9 @@ const rt = (t) => {
757
757
  theme: e
758
758
  }
759
759
  );
760
- }, Bn = "_promptCodeEditor_1d57s_1", Mn = {
761
- promptCodeEditor: Bn
762
- }, Hn = (t) => {
760
+ }, Mn = "_promptCodeEditor_1d57s_1", Hn = {
761
+ promptCodeEditor: Mn
762
+ }, Gn = (t) => {
763
763
  const {
764
764
  userFlow: e,
765
765
  responseKey: s,
@@ -786,12 +786,12 @@ const rt = (t) => {
786
786
  const C = {
787
787
  [s]: p
788
788
  };
789
- q(e, C);
789
+ I(e, C);
790
790
  };
791
791
  return U(() => {
792
792
  r !== void 0 && r !== h && f(r);
793
- }, [r]), /* @__PURE__ */ o.jsx("section", { className: Mn.promptCodeEditor, children: /* @__PURE__ */ o.jsx(
794
- nn,
793
+ }, [r]), /* @__PURE__ */ o.jsx("section", { className: Hn.promptCodeEditor, children: /* @__PURE__ */ o.jsx(
794
+ sn,
795
795
  {
796
796
  themeMode: u,
797
797
  requestConfig: y,
@@ -804,9 +804,9 @@ const rt = (t) => {
804
804
  onCodeChange: m
805
805
  }
806
806
  ) });
807
- }, Gn = "_summaryCard_jva4h_1", Un = {
808
- summaryCard: Gn
809
- }, Vn = (t) => {
807
+ }, Un = "_summaryCard_jva4h_1", Vn = {
808
+ summaryCard: Un
809
+ }, zn = (t) => {
810
810
  const e = t.dataSource, s = O(() => ({
811
811
  url: t.dataSource.url,
812
812
  method: t.dataSource.method,
@@ -829,20 +829,21 @@ const rt = (t) => {
829
829
  locale: r,
830
830
  translations: c
831
831
  });
832
- }, [t.onResolveProps, s, r, c]), t.onResolveProps ? null : /* @__PURE__ */ o.jsx("section", { className: Un.summaryCard, children: /* @__PURE__ */ o.jsx(
833
- sn,
832
+ }, [t.onResolveProps, s, r, c]), t.onResolveProps ? null : /* @__PURE__ */ o.jsx("section", { className: Vn.summaryCard, children: /* @__PURE__ */ o.jsx(
833
+ rn,
834
834
  {
835
835
  dataSource: s,
836
836
  locale: r,
837
837
  translations: c
838
838
  }
839
839
  ) });
840
- }, zn = "_body_14tsv_1", Xn = "_body_content_14tsv_5", Yt = {
841
- body: zn,
842
- body_content: Xn
843
- }, Jn = ({ inputs: t }) => /* @__PURE__ */ o.jsx("section", { className: Yt.body, children: /* @__PURE__ */ o.jsx("div", { className: Yt.body_content, children: t.map((e, s) => /* @__PURE__ */ o.jsx(k, { children: e }, s)) }) }), Wn = "_slotStack_1b4wy_1", Yn = {
844
- slotStack: Wn
845
- }, Qn = (t) => {
840
+ }, Xn = "_body_14tsv_1", Jn = "_body_content_14tsv_5", Yt = {
841
+ body: Xn,
842
+ body_content: Jn
843
+ }, Wn = ({ inputs: t }) => /* @__PURE__ */ o.jsx("section", { className: Yt.body, children: /* @__PURE__ */ o.jsx("div", { className: Yt.body_content, children: t.map((e, s) => /* @__PURE__ */ o.jsx(k, { children: e }, s)) }) }), Yn = "_boxNotFront_67q2e_1", Qn = "_slotStack_67q2e_5", Qt = {
844
+ boxNotFront: Yn,
845
+ slotStack: Qn
846
+ }, Zn = (t) => {
846
847
  const {
847
848
  userFlow: e,
848
849
  pageId: s,
@@ -854,8 +855,8 @@ const rt = (t) => {
854
855
  e,
855
856
  s,
856
857
  i != null && i.length ? i : null
857
- ), a = d && d.length > 0 ? /* @__PURE__ */ o.jsx("div", { className: Yn.slotStack, children: d.map((_, u) => /* @__PURE__ */ o.jsx(k, { children: _ }, `box-${c}-${u}`)) }) : null;
858
- return /* @__PURE__ */ o.jsx(Te, { darkMode: n, children: a });
858
+ ), a = d && d.length > 0 ? /* @__PURE__ */ o.jsx("div", { className: Qt.slotStack, children: d.map((_, u) => /* @__PURE__ */ o.jsx(k, { children: _ }, `box-${c}-${u}`)) }) : null;
859
+ return /* @__PURE__ */ o.jsx(Ae, { className: Qt.boxNotFront, darkMode: n, children: a });
859
860
  };
860
861
  var vt = { exports: {} };
861
862
  /*!
@@ -863,9 +864,9 @@ var vt = { exports: {} };
863
864
  Licensed under the MIT License (MIT), see
864
865
  http://jedwatson.github.io/classnames
865
866
  */
866
- var Qt;
867
- function Zn() {
868
- return Qt || (Qt = 1, (function(t) {
867
+ var Zt;
868
+ function Fn() {
869
+ return Zt || (Zt = 1, (function(t) {
869
870
  (function() {
870
871
  var e = {}.hasOwnProperty;
871
872
  function s() {
@@ -896,15 +897,15 @@ function Zn() {
896
897
  })();
897
898
  })(vt)), vt.exports;
898
899
  }
899
- var Fn = Zn();
900
- const et = /* @__PURE__ */ Nn(Fn), Pn = "_fieldset_1xrth_1", ts = "_fieldsetColumn_1xrth_8", es = "_legend_1xrth_14", ns = "_options_1xrth_20", ss = "_optionsRow_1xrth_25", rs = "_optionsColumn_1xrth_36", P = {
901
- fieldset: Pn,
902
- fieldsetColumn: ts,
903
- legend: es,
904
- options: ns,
905
- optionsRow: ss,
906
- optionsColumn: rs
907
- }, as = (t) => {
900
+ var Pn = Fn();
901
+ const et = /* @__PURE__ */ vn(Pn), ts = "_fieldset_1xrth_1", es = "_fieldsetColumn_1xrth_8", ns = "_legend_1xrth_14", ss = "_options_1xrth_20", rs = "_optionsRow_1xrth_25", as = "_optionsColumn_1xrth_36", P = {
902
+ fieldset: ts,
903
+ fieldsetColumn: es,
904
+ legend: ns,
905
+ options: ss,
906
+ optionsRow: rs,
907
+ optionsColumn: as
908
+ }, os = (t) => {
908
909
  const {
909
910
  userFlow: e,
910
911
  pageId: s,
@@ -933,7 +934,7 @@ const et = /* @__PURE__ */ Nn(Fn), Pn = "_fieldset_1xrth_1", ts = "_fieldsetColu
933
934
  ...(C = v.getState()[e]) == null ? void 0 : C.entries,
934
935
  [r]: p
935
936
  };
936
- if (q(e, j), n === "GO_TO_NEXT_UI" || n === "GO_TO_NEXT_UI_WITHOUT_LOADING") {
937
+ if (I(e, j), n === "GO_TO_NEXT_UI" || n === "GO_TO_NEXT_UI_WITHOUT_LOADING") {
937
938
  const S = await h(
938
939
  e,
939
940
  s,
@@ -973,7 +974,7 @@ const et = /* @__PURE__ */ Nn(Fn), Pn = "_fieldset_1xrth_1", ts = "_fieldsetColu
973
974
  u === "column" ? P.optionsColumn : P.optionsRow
974
975
  ),
975
976
  children: _.map((p) => /* @__PURE__ */ o.jsx(
976
- Ae,
977
+ Oe,
977
978
  {
978
979
  name: r,
979
980
  value: p.value,
@@ -991,7 +992,7 @@ const et = /* @__PURE__ */ Nn(Fn), Pn = "_fieldset_1xrth_1", ts = "_fieldsetColu
991
992
  ]
992
993
  }
993
994
  );
994
- }, os = ({
995
+ }, cs = ({
995
996
  userFlow: t,
996
997
  pageId: e,
997
998
  component: s,
@@ -1000,7 +1001,7 @@ const et = /* @__PURE__ */ Nn(Fn), Pn = "_fieldset_1xrth_1", ts = "_fieldsetColu
1000
1001
  items: l,
1001
1002
  itemActive: i,
1002
1003
  darkMode: n
1003
- }) => /* @__PURE__ */ o.jsx(Oe, { items: l, itemActive: i, darkMode: n }), cs = ({
1004
+ }) => /* @__PURE__ */ o.jsx($e, { items: l, itemActive: i, darkMode: n }), is = ({
1004
1005
  userFlow: t,
1005
1006
  pageId: e,
1006
1007
  component: s,
@@ -1009,7 +1010,7 @@ const et = /* @__PURE__ */ Nn(Fn), Pn = "_fieldset_1xrth_1", ts = "_fieldsetColu
1009
1010
  total: l,
1010
1011
  done: i,
1011
1012
  inProgress: n
1012
- }) => /* @__PURE__ */ o.jsx($e, { total: l, done: i, inProgress: n }), is = ({
1013
+ }) => /* @__PURE__ */ o.jsx(Re, { total: l, done: i, inProgress: n }), ls = ({
1013
1014
  userFlow: t,
1014
1015
  items: e,
1015
1016
  responseKey: s
@@ -1044,7 +1045,7 @@ const et = /* @__PURE__ */ Nn(Fn), Pn = "_fieldset_1xrth_1", ts = "_fieldsetColu
1044
1045
  title: i == null ? void 0 : i.title,
1045
1046
  component: /* @__PURE__ */ o.jsx("div", { onClick: () => c(i) })
1046
1047
  })), []);
1047
- return /* @__PURE__ */ o.jsx(Re, { items: l });
1048
+ return /* @__PURE__ */ o.jsx(De, { items: l });
1048
1049
  };
1049
1050
  function pt(t, e) {
1050
1051
  const { getNextUI: s, fetchDataSource: r, fetchAndGetNextUI: c } = G();
@@ -1052,15 +1053,15 @@ function pt(t, e) {
1052
1053
  async (l) => {
1053
1054
  var h, f, x, b;
1054
1055
  const { responseKey: i, actionType: n, dataSource: d, redirectUrl: a, dependencies: _ } = l, u = (h = v.getState()[t]) == null ? void 0 : h.entries;
1055
- if (!he(u, _))
1056
+ if (!fe(u, _))
1056
1057
  try {
1057
1058
  const g = {
1058
1059
  ...(f = v.getState()[t]) == null ? void 0 : f.entries,
1059
1060
  [i]: { status: 200 }
1060
1061
  };
1061
- switch (q(t, g), n) {
1062
+ switch (I(t, g), n) {
1062
1063
  case "CLOSE_MODAL":
1063
- qt(t, !1);
1064
+ It(t, !1);
1064
1065
  break;
1065
1066
  case "CLOSE_DRAWER":
1066
1067
  _t(t, !1);
@@ -1095,7 +1096,7 @@ function pt(t, e) {
1095
1096
  t,
1096
1097
  !1
1097
1098
  );
1098
- q(t, {
1099
+ I(t, {
1099
1100
  [i]: {
1100
1101
  status: y == null ? void 0 : y.status,
1101
1102
  content: y == null ? void 0 : y.data
@@ -1119,14 +1120,14 @@ function pt(t, e) {
1119
1120
  content: C == null ? void 0 : C.data
1120
1121
  }
1121
1122
  };
1122
- q(t, j);
1123
- const w = await s(
1123
+ I(t, j);
1124
+ const N = await s(
1124
1125
  t,
1125
1126
  e,
1126
1127
  j,
1127
1128
  i
1128
1129
  );
1129
- w != null && w.data && K(t, w == null ? void 0 : w.data);
1130
+ N != null && N.data && K(t, N == null ? void 0 : N.data);
1130
1131
  break;
1131
1132
  }
1132
1133
  case "REDIRECT":
@@ -1148,7 +1149,7 @@ function pt(t, e) {
1148
1149
  ]
1149
1150
  );
1150
1151
  }
1151
- const ls = (t) => {
1152
+ const ds = (t) => {
1152
1153
  const {
1153
1154
  userFlow: e,
1154
1155
  pageId: s,
@@ -1194,7 +1195,7 @@ const ls = (t) => {
1194
1195
  h
1195
1196
  ]);
1196
1197
  return /* @__PURE__ */ o.jsx(
1197
- De,
1198
+ qe,
1198
1199
  {
1199
1200
  ...x,
1200
1201
  loading: x.loading || g,
@@ -1202,9 +1203,9 @@ const ls = (t) => {
1202
1203
  onClick: () => !b && !g && (_ ?? p)()
1203
1204
  }
1204
1205
  );
1205
- }, ds = "_slotStack_12u4t_5", At = {
1206
- slotStack: ds
1207
- }, _s = (t) => {
1206
+ }, _s = "_slotStack_12u4t_5", At = {
1207
+ slotStack: _s
1208
+ }, us = (t) => {
1208
1209
  const {
1209
1210
  userFlow: e,
1210
1211
  pageId: s,
@@ -1236,9 +1237,9 @@ const ls = (t) => {
1236
1237
  children: f ?? null
1237
1238
  }
1238
1239
  );
1239
- }, us = "_slotStack_ivk5b_1", hs = {
1240
- slotStack: us
1241
- }, fs = (t) => {
1240
+ }, hs = "_slotStack_ivk5b_1", fs = {
1241
+ slotStack: hs
1242
+ }, ys = (t) => {
1242
1243
  const {
1243
1244
  userFlow: e,
1244
1245
  pageId: s,
@@ -1259,17 +1260,17 @@ const ls = (t) => {
1259
1260
  e,
1260
1261
  s,
1261
1262
  i && i.length > 0 ? i : null
1262
- ), p = m && m.length > 0 ? /* @__PURE__ */ o.jsx("div", { className: hs.slotStack, children: m.map((j, w) => /* @__PURE__ */ o.jsx(k, { children: j }, `card-body-${c}-${w}`)) }) : null, C = L(async () => {
1263
- var j, w, N;
1263
+ ), p = m && m.length > 0 ? /* @__PURE__ */ o.jsx("div", { className: fs.slotStack, children: m.map((j, N) => /* @__PURE__ */ o.jsx(k, { children: j }, `card-body-${c}-${N}`)) }) : null, C = L(async () => {
1264
+ var j, N, w;
1264
1265
  if (!(!a || y))
1265
1266
  try {
1266
1267
  const S = {
1267
1268
  ...(j = v.getState()[e]) == null ? void 0 : j.entries,
1268
1269
  [l]: { status: 200 }
1269
1270
  };
1270
- switch (q(e, S), a) {
1271
+ switch (I(e, S), a) {
1271
1272
  case "CLOSE_MODAL":
1272
- qt(e, !1);
1273
+ It(e, !1);
1273
1274
  break;
1274
1275
  case "CLOSE_DRAWER":
1275
1276
  _t(e, !1);
@@ -1279,14 +1280,14 @@ const ls = (t) => {
1279
1280
  break;
1280
1281
  case "GO_TO_NEXT_UI":
1281
1282
  case "GO_TO_NEXT_UI_WITHOUT_LOADING": {
1282
- const I = await f(
1283
+ const q = await f(
1283
1284
  e,
1284
1285
  s,
1285
1286
  S,
1286
1287
  l,
1287
1288
  a === "GO_TO_NEXT_UI"
1288
1289
  );
1289
- I != null && I.data && K(e, I == null ? void 0 : I.data);
1290
+ q != null && q.data && K(e, q == null ? void 0 : q.data);
1290
1291
  break;
1291
1292
  }
1292
1293
  case "FETCH_AND_GO_TO_NEXT_UI": {
@@ -1306,17 +1307,17 @@ const ls = (t) => {
1306
1307
  s,
1307
1308
  S,
1308
1309
  l
1309
- ), I = (w = D == null ? void 0 : D.data) == null ? void 0 : w.content;
1310
- if ((I == null ? void 0 : I.type) !== "fetch")
1310
+ ), q = (N = D == null ? void 0 : D.data) == null ? void 0 : N.content;
1311
+ if ((q == null ? void 0 : q.type) !== "fetch")
1311
1312
  break;
1312
- const Q = I == null ? void 0 : I.dataSource, V = await x(Q, e, !1), T = {
1313
- ...(N = v.getState()[e]) == null ? void 0 : N.entries,
1313
+ const Q = q == null ? void 0 : q.dataSource, V = await x(Q, e, !1), T = {
1314
+ ...(w = v.getState()[e]) == null ? void 0 : w.entries,
1314
1315
  [l]: {
1315
1316
  status: V == null ? void 0 : V.status,
1316
1317
  content: V == null ? void 0 : V.data
1317
1318
  }
1318
1319
  };
1319
- q(e, T);
1320
+ I(e, T);
1320
1321
  const H = await f(
1321
1322
  e,
1322
1323
  s,
@@ -1348,7 +1349,7 @@ const ls = (t) => {
1348
1349
  e
1349
1350
  ]);
1350
1351
  return /* @__PURE__ */ o.jsx(
1351
- qe,
1352
+ Le,
1352
1353
  {
1353
1354
  colorId: n,
1354
1355
  disabled: y,
@@ -1356,7 +1357,7 @@ const ls = (t) => {
1356
1357
  children: p
1357
1358
  }
1358
1359
  );
1359
- }, ys = (t) => {
1360
+ }, xs = (t) => {
1360
1361
  const {
1361
1362
  userFlow: e,
1362
1363
  pageId: s,
@@ -1373,10 +1374,10 @@ const ls = (t) => {
1373
1374
  );
1374
1375
  let u;
1375
1376
  return _ && _.length > 0 ? u = /* @__PURE__ */ o.jsxs("div", { className: At.slotStack, children: [
1376
- n ? /* @__PURE__ */ o.jsx(re, { type: "sm", children: n }) : null,
1377
+ n ? /* @__PURE__ */ o.jsx(ae, { type: "sm", children: n }) : null,
1377
1378
  _.map((h, f) => /* @__PURE__ */ o.jsx(k, { children: h }, `card-notification-body-${c}-${f}`))
1378
1379
  ] }) : u = (typeof i == "string" ? i : void 0) ?? n, /* @__PURE__ */ o.jsx(xt, { ...d, children: u });
1379
- }, Et = (t) => Array.isArray(t) ? t : typeof t == "object" ? JSON.stringify(t) : t, xs = (t, e) => {
1380
+ }, Et = (t) => Array.isArray(t) ? t : typeof t == "object" ? JSON.stringify(t) : t, ms = (t, e) => {
1380
1381
  if (!e || t == null)
1381
1382
  return null;
1382
1383
  const { extractionJsonPath: s, injectionJsonPath: r } = e, c = B.value(t, s);
@@ -1392,7 +1393,7 @@ const ls = (t) => {
1392
1393
  l
1393
1394
  ), null;
1394
1395
  }
1395
- }, me = (t, e, s, r) => {
1396
+ }, ge = (t, e, s, r) => {
1396
1397
  const c = B.query(t, e), l = c == null ? void 0 : c.map((_) => {
1397
1398
  var u, h;
1398
1399
  if (s) {
@@ -1433,7 +1434,7 @@ const ls = (t) => {
1433
1434
  }, J = ({ withPadding: t = !1 }) => {
1434
1435
  const e = (s) => /* @__PURE__ */ o.jsx("span", { style: { color: A.labelColor }, children: s });
1435
1436
  return /* @__PURE__ */ o.jsx(
1436
- rn,
1437
+ an,
1437
1438
  {
1438
1439
  formatter: e,
1439
1440
  wrapperStyle: {
@@ -1443,7 +1444,7 @@ const ls = (t) => {
1443
1444
  }
1444
1445
  }
1445
1446
  );
1446
- }, ms = ({
1447
+ }, gs = ({
1447
1448
  active: t,
1448
1449
  payload: e,
1449
1450
  label: s,
@@ -1479,12 +1480,12 @@ const ls = (t) => {
1479
1480
  defaultIndex: s,
1480
1481
  hideContent: r = !1
1481
1482
  } = {}) => /* @__PURE__ */ o.jsx(
1482
- an,
1483
+ on,
1483
1484
  {
1484
1485
  defaultIndex: s,
1485
1486
  cursor: r ? !1 : void 0,
1486
1487
  content: r ? () => null : (c) => /* @__PURE__ */ o.jsx(
1487
- ms,
1488
+ gs,
1488
1489
  {
1489
1490
  ...c,
1490
1491
  tooltipKey: t,
@@ -1493,7 +1494,7 @@ const ls = (t) => {
1493
1494
  )
1494
1495
  }
1495
1496
  ), ot = ({ dataKey: t, hide: e = !1, type: s }) => /* @__PURE__ */ o.jsx(
1496
- on,
1497
+ cn,
1497
1498
  {
1498
1499
  ...t ? { dataKey: t } : {},
1499
1500
  ...s ? { type: s } : {},
@@ -1510,7 +1511,7 @@ const ls = (t) => {
1510
1511
  yAxisId: r,
1511
1512
  orientation: c
1512
1513
  } = {}) => /* @__PURE__ */ o.jsx(
1513
- cn,
1514
+ ln,
1514
1515
  {
1515
1516
  ...t ? { type: t } : {},
1516
1517
  ...e ? { dataKey: e } : {},
@@ -1523,16 +1524,16 @@ const ls = (t) => {
1523
1524
  },
1524
1525
  tickMargin: 4
1525
1526
  }
1526
- ), gs = (t) => {
1527
+ ), ps = (t) => {
1527
1528
  const { data: e, xKey: s, yKeys: r, tooltipKey: c, width: l } = t;
1528
- return /* @__PURE__ */ o.jsxs(at, { width: l, data: e, Chart: ln, children: [
1529
+ return /* @__PURE__ */ o.jsxs(at, { width: l, data: e, Chart: dn, children: [
1529
1530
  /* @__PURE__ */ o.jsx(st, { strokeDasharray: "3 3" }),
1530
1531
  /* @__PURE__ */ o.jsx(ot, { dataKey: s }),
1531
1532
  /* @__PURE__ */ o.jsx(Y, {}),
1532
1533
  /* @__PURE__ */ o.jsx(W, { tooltipKey: c }),
1533
1534
  /* @__PURE__ */ o.jsx(J, {}),
1534
1535
  r.map((i, n) => /* @__PURE__ */ o.jsx(
1535
- ce,
1536
+ ie,
1536
1537
  {
1537
1538
  type: "monotone",
1538
1539
  dataKey: i,
@@ -1542,7 +1543,7 @@ const ls = (t) => {
1542
1543
  i
1543
1544
  ))
1544
1545
  ] });
1545
- }, ps = (t) => {
1546
+ }, bs = (t) => {
1546
1547
  const { data: e, yKeys: s, xKey: r, tooltipKey: c, width: l } = t;
1547
1548
  return /* @__PURE__ */ o.jsxs(at, { width: l, data: e, Chart: $t, children: [
1548
1549
  /* @__PURE__ */ o.jsx(st, { strokeDasharray: "3 3" }),
@@ -1560,8 +1561,8 @@ const ls = (t) => {
1560
1561
  ))
1561
1562
  ] });
1562
1563
  };
1563
- var ge = { NODE_ENV: "production" };
1564
- const bs = (t, e) => {
1564
+ var pe = { NODE_ENV: "production" };
1565
+ const js = (t, e) => {
1565
1566
  if (e != null && e.length)
1566
1567
  return e;
1567
1568
  const s = [
@@ -1571,13 +1572,13 @@ const bs = (t, e) => {
1571
1572
  id: r,
1572
1573
  orientation: c === 1 ? "right" : "left"
1573
1574
  }));
1574
- }, js = (t, e) => {
1575
- !t.type && ge.NODE_ENV;
1575
+ }, Cs = (t, e) => {
1576
+ !t.type && pe.NODE_ENV;
1576
1577
  const s = t.color ?? R[e % R.length], r = t.label ?? t.key, c = t.yAxisId ? { yAxisId: t.yAxisId } : {};
1577
1578
  switch (t.type) {
1578
1579
  case "area":
1579
1580
  return /* @__PURE__ */ o.jsx(
1580
- ce,
1581
+ ie,
1581
1582
  {
1582
1583
  dataKey: t.key,
1583
1584
  name: r,
@@ -1591,7 +1592,7 @@ const bs = (t, e) => {
1591
1592
  );
1592
1593
  case "line":
1593
1594
  return /* @__PURE__ */ o.jsx(
1594
- ie,
1595
+ le,
1595
1596
  {
1596
1597
  dataKey: t.key,
1597
1598
  name: r,
@@ -1619,7 +1620,7 @@ const bs = (t, e) => {
1619
1620
  default:
1620
1621
  return null;
1621
1622
  }
1622
- }, Cs = (t) => {
1623
+ }, Ns = (t) => {
1623
1624
  const {
1624
1625
  data: e,
1625
1626
  xKey: s,
@@ -1629,9 +1630,9 @@ const bs = (t, e) => {
1629
1630
  showLegend: i = !0,
1630
1631
  yAxes: n
1631
1632
  } = t;
1632
- !r.length && ge.NODE_ENV;
1633
- const d = bs(r, n);
1634
- return /* @__PURE__ */ o.jsxs(at, { width: l, data: e, Chart: dn, children: [
1633
+ !r.length && pe.NODE_ENV;
1634
+ const d = js(r, n);
1635
+ return /* @__PURE__ */ o.jsxs(at, { width: l, data: e, Chart: _n, children: [
1635
1636
  /* @__PURE__ */ o.jsx(st, { strokeDasharray: "3 3" }),
1636
1637
  /* @__PURE__ */ o.jsx(ot, { dataKey: s }),
1637
1638
  d.length > 0 ? d.map((a) => /* @__PURE__ */ o.jsx(
@@ -1644,9 +1645,9 @@ const bs = (t, e) => {
1644
1645
  )) : /* @__PURE__ */ o.jsx(Y, {}),
1645
1646
  /* @__PURE__ */ o.jsx(W, { tooltipKey: c }),
1646
1647
  i && /* @__PURE__ */ o.jsx(J, {}),
1647
- r.map((a, _) => js(a, _))
1648
+ r.map((a, _) => Cs(a, _))
1648
1649
  ] });
1649
- }, ws = "55%", Ns = 120, vs = (t) => (e) => {
1650
+ }, ws = "55%", vs = 120, Es = (t) => (e) => {
1650
1651
  const s = Math.PI / 180, {
1651
1652
  cx: r = 0,
1652
1653
  cy: c = 0,
@@ -1659,7 +1660,7 @@ const bs = (t, e) => {
1659
1660
  payload: u,
1660
1661
  percent: h = 0,
1661
1662
  value: f = 0
1662
- } = e, x = Math.sin(-s * l), b = Math.cos(-s * l), g = r + (n + 10) * b, y = c + (n + 10) * x, m = r + (n + 30) * b, p = c + (n + 30) * x, C = m + (b >= 0 ? 1 : -1) * 22, j = p, w = b >= 0 ? "start" : "end", N = u, S = String((N == null ? void 0 : N[t]) ?? "");
1663
+ } = e, x = Math.sin(-s * l), b = Math.cos(-s * l), g = r + (n + 10) * b, y = c + (n + 10) * x, m = r + (n + 30) * b, p = c + (n + 30) * x, C = m + (b >= 0 ? 1 : -1) * 22, j = p, N = b >= 0 ? "start" : "end", w = u, S = String((w == null ? void 0 : w[t]) ?? "");
1663
1664
  return /* @__PURE__ */ o.jsxs("g", { children: [
1664
1665
  /* @__PURE__ */ o.jsx(
1665
1666
  "text",
@@ -1712,7 +1713,7 @@ const bs = (t, e) => {
1712
1713
  {
1713
1714
  x: C + (b >= 0 ? 1 : -1) * 12,
1714
1715
  y: j,
1715
- textAnchor: w,
1716
+ textAnchor: N,
1716
1717
  fill: A.labelColor,
1717
1718
  fontSize: A.fontSize + 2,
1718
1719
  fontFamily: A.fontFamily,
@@ -1725,7 +1726,7 @@ const bs = (t, e) => {
1725
1726
  x: C + (b >= 0 ? 1 : -1) * 12,
1726
1727
  y: j,
1727
1728
  dy: 18,
1728
- textAnchor: w,
1729
+ textAnchor: N,
1729
1730
  fill: A.labelColorMuted,
1730
1731
  fontSize: A.fontSize,
1731
1732
  fontFamily: A.fontFamily,
@@ -1733,19 +1734,19 @@ const bs = (t, e) => {
1733
1734
  }
1734
1735
  )
1735
1736
  ] });
1736
- }, Es = (t) => {
1737
+ }, ks = (t) => {
1737
1738
  const {
1738
1739
  data: e,
1739
1740
  xKey: s,
1740
1741
  yKeys: r,
1741
1742
  tooltipKey: c,
1742
1743
  innerRadius: l = ws,
1743
- outerRadius: i = Ns,
1744
+ outerRadius: i = vs,
1744
1745
  activeShape: n = !0,
1745
1746
  defaultIndex: d,
1746
1747
  showLegend: a = !0
1747
1748
  } = t, _ = r[0];
1748
- return /* @__PURE__ */ o.jsx(Ot, { width: "100%", height: nt, children: /* @__PURE__ */ o.jsxs(le, { children: [
1749
+ return /* @__PURE__ */ o.jsx(Ot, { width: "100%", height: nt, children: /* @__PURE__ */ o.jsxs(de, { children: [
1749
1750
  /* @__PURE__ */ o.jsx(
1750
1751
  W,
1751
1752
  {
@@ -1756,7 +1757,7 @@ const bs = (t, e) => {
1756
1757
  ),
1757
1758
  a && /* @__PURE__ */ o.jsx(J, {}),
1758
1759
  /* @__PURE__ */ o.jsx(
1759
- de,
1760
+ _e,
1760
1761
  {
1761
1762
  data: e,
1762
1763
  dataKey: _,
@@ -1765,9 +1766,9 @@ const bs = (t, e) => {
1765
1766
  cy: "50%",
1766
1767
  innerRadius: l,
1767
1768
  outerRadius: i,
1768
- activeShape: n ? vs(s) : void 0,
1769
+ activeShape: n ? Es(s) : void 0,
1769
1770
  children: e.map((u, h) => /* @__PURE__ */ o.jsx(
1770
- _e,
1771
+ ue,
1771
1772
  {
1772
1773
  fill: R[h % R.length]
1773
1774
  },
@@ -1777,13 +1778,13 @@ const bs = (t, e) => {
1777
1778
  )
1778
1779
  ] }) });
1779
1780
  };
1780
- function ks(t, e, s = pe) {
1781
+ function Ss(t, e, s = be) {
1781
1782
  return t <= 0 ? 0 : e <= 0 ? t : Math.max(t, e * s);
1782
1783
  }
1783
- function Ss(t, e = Is, s) {
1784
+ function Ts(t, e = Is, s) {
1784
1785
  return s !== void 0 ? s : t <= 0 ? nt : Math.max(nt, t * e);
1785
1786
  }
1786
- function Ts(t, e, s) {
1787
+ function As(t, e, s) {
1787
1788
  if (s !== void 0)
1788
1789
  return s;
1789
1790
  const r = t.reduce((c, l) => {
@@ -1791,11 +1792,11 @@ function Ts(t, e, s) {
1791
1792
  return Math.max(c, i.length);
1792
1793
  }, 0);
1793
1794
  return Math.max(
1794
- qs,
1795
- r * Ls
1795
+ Ls,
1796
+ r * Ks
1796
1797
  );
1797
1798
  }
1798
- const As = (t) => {
1799
+ const Os = (t) => {
1799
1800
  const {
1800
1801
  data: e,
1801
1802
  yKeys: s,
@@ -1807,11 +1808,11 @@ const As = (t) => {
1807
1808
  showLegend: d = !0,
1808
1809
  yKeyLabels: a,
1809
1810
  yAxisWidth: _
1810
- } = t, u = Ss(
1811
+ } = t, u = Ts(
1811
1812
  e.length,
1812
1813
  l,
1813
1814
  i
1814
- ), h = Ts(e, r, _);
1815
+ ), h = As(e, r, _);
1815
1816
  return /* @__PURE__ */ o.jsxs(
1816
1817
  at,
1817
1818
  {
@@ -1837,16 +1838,16 @@ const As = (t) => {
1837
1838
  ]
1838
1839
  }
1839
1840
  );
1840
- }, Os = (t) => {
1841
+ }, $s = (t) => {
1841
1842
  const { data: e, xKey: s, yKeys: r, tooltipKey: c, width: l } = t;
1842
- return /* @__PURE__ */ o.jsxs(at, { width: l, data: e, Chart: _n, children: [
1843
+ return /* @__PURE__ */ o.jsxs(at, { width: l, data: e, Chart: un, children: [
1843
1844
  /* @__PURE__ */ o.jsx(st, { strokeDasharray: "3 3" }),
1844
1845
  /* @__PURE__ */ o.jsx(ot, { dataKey: s }),
1845
1846
  /* @__PURE__ */ o.jsx(Y, {}),
1846
1847
  /* @__PURE__ */ o.jsx(W, { tooltipKey: c }),
1847
1848
  /* @__PURE__ */ o.jsx(J, {}),
1848
1849
  r.map((i, n) => /* @__PURE__ */ o.jsx(
1849
- ie,
1850
+ le,
1850
1851
  {
1851
1852
  type: "monotone",
1852
1853
  dataKey: i,
@@ -1858,10 +1859,10 @@ const As = (t) => {
1858
1859
  ))
1859
1860
  ] });
1860
1861
  };
1861
- var $s = { NODE_ENV: "production" };
1862
- const Rs = (t) => {
1862
+ var Rs = { NODE_ENV: "production" };
1863
+ const Ds = (t) => {
1863
1864
  const { data: e, xKey: s, series: r = [], tooltipKey: c, width: l } = t;
1864
- return !r.length && $s.NODE_ENV, /* @__PURE__ */ o.jsxs(at, { width: l, data: e, Chart: $t, children: [
1865
+ return !r.length && Rs.NODE_ENV, /* @__PURE__ */ o.jsxs(at, { width: l, data: e, Chart: $t, children: [
1865
1866
  /* @__PURE__ */ o.jsx(st, { strokeDasharray: "3 3" }),
1866
1867
  /* @__PURE__ */ o.jsx(ot, { dataKey: s }),
1867
1868
  /* @__PURE__ */ o.jsx(Y, {}),
@@ -1878,7 +1879,7 @@ const Rs = (t) => {
1878
1879
  i.key
1879
1880
  ))
1880
1881
  ] });
1881
- }, Ds = (t) => {
1882
+ }, qs = (t) => {
1882
1883
  const { data: e, xKey: s, yKeys: r, tooltipKey: c } = t, l = ({
1883
1884
  cx: i,
1884
1885
  cy: n,
@@ -1901,11 +1902,11 @@ const Rs = (t) => {
1901
1902
  }
1902
1903
  );
1903
1904
  };
1904
- return /* @__PURE__ */ o.jsx(Ot, { width: "100%", height: nt, children: /* @__PURE__ */ o.jsxs(le, { children: [
1905
+ return /* @__PURE__ */ o.jsx(Ot, { width: "100%", height: nt, children: /* @__PURE__ */ o.jsxs(de, { children: [
1905
1906
  /* @__PURE__ */ o.jsx(W, { tooltipKey: c }),
1906
1907
  /* @__PURE__ */ o.jsx(J, {}),
1907
1908
  /* @__PURE__ */ o.jsx(
1908
- de,
1909
+ _e,
1909
1910
  {
1910
1911
  data: e,
1911
1912
  dataKey: r[0],
@@ -1913,7 +1914,7 @@ const Rs = (t) => {
1913
1914
  label: l,
1914
1915
  outerRadius: 120,
1915
1916
  children: e.map((i, n) => /* @__PURE__ */ o.jsx(
1916
- _e,
1917
+ ue,
1917
1918
  {
1918
1919
  fill: R[n % R.length]
1919
1920
  },
@@ -1922,21 +1923,21 @@ const Rs = (t) => {
1922
1923
  }
1923
1924
  )
1924
1925
  ] }) });
1925
- }, nt = 400, pe = 56, Is = 28, qs = 100, Ls = 8, Ks = /* @__PURE__ */ new Set([
1926
+ }, nt = 400, be = 56, Is = 28, Ls = 100, Ks = 8, Bs = /* @__PURE__ */ new Set([
1926
1927
  "bar",
1927
1928
  "line",
1928
1929
  "area",
1929
1930
  "mixBar",
1930
1931
  "composed"
1931
- ]), Bs = {
1932
- area: gs,
1933
- bar: ps,
1934
- composed: Cs,
1935
- donut: Es,
1936
- horizontalBar: As,
1937
- line: Os,
1938
- mixBar: Rs,
1939
- pie: Ds
1932
+ ]), Ms = {
1933
+ area: ps,
1934
+ bar: bs,
1935
+ composed: Ns,
1936
+ donut: ks,
1937
+ horizontalBar: Os,
1938
+ line: $s,
1939
+ mixBar: Ds,
1940
+ pie: qs
1940
1941
  }, R = [
1941
1942
  "var(--color-primitive-palette-1-50)",
1942
1943
  "var(--color-primitive-palette-2-50)",
@@ -1963,15 +1964,15 @@ const Rs = (t) => {
1963
1964
  tooltipBg: "#fff",
1964
1965
  tooltipColor: "#000",
1965
1966
  tooltipBorderRadius: "4px"
1966
- }, Ms = "_chartScrollViewport_sm5hx_1", Hs = "_chartScrollViewport_track_sm5hx_29", Zt = {
1967
- chartScrollViewport: Ms,
1968
- chartScrollViewport_track: Hs
1969
- }, Gs = "Scrollable chart area", Us = ({
1967
+ }, Hs = "_chartScrollViewport_sm5hx_1", Gs = "_chartScrollViewport_track_sm5hx_29", Ft = {
1968
+ chartScrollViewport: Hs,
1969
+ chartScrollViewport_track: Gs
1970
+ }, Us = "Scrollable chart area", Vs = ({
1970
1971
  dataLength: t,
1971
1972
  minCategoryWidth: e,
1972
1973
  children: s
1973
1974
  }) => {
1974
- const r = ut(null), [c, l] = $(0), i = e ?? pe;
1975
+ const r = ut(null), [c, l] = $(0), i = e ?? be;
1975
1976
  U(() => {
1976
1977
  const _ = r.current;
1977
1978
  if (!_)
@@ -1983,7 +1984,7 @@ const Rs = (t) => {
1983
1984
  const h = new ResizeObserver(u);
1984
1985
  return h.observe(_), () => h.disconnect();
1985
1986
  }, []);
1986
- const n = ks(
1987
+ const n = Ss(
1987
1988
  c,
1988
1989
  t,
1989
1990
  i
@@ -2012,23 +2013,23 @@ const Rs = (t) => {
2012
2013
  "div",
2013
2014
  {
2014
2015
  ref: r,
2015
- className: Zt.chartScrollViewport,
2016
+ className: Ft.chartScrollViewport,
2016
2017
  role: d ? "region" : void 0,
2017
2018
  tabIndex: d ? 0 : void 0,
2018
- "aria-label": d ? Gs : void 0,
2019
+ "aria-label": d ? Us : void 0,
2019
2020
  onKeyDown: d ? a : void 0,
2020
2021
  children: /* @__PURE__ */ o.jsx(
2021
2022
  "div",
2022
2023
  {
2023
- className: Zt.chartScrollViewport_track,
2024
+ className: Ft.chartScrollViewport_track,
2024
2025
  style: { width: n, height: nt },
2025
2026
  children: c > 0 ? s(n) : null
2026
2027
  }
2027
2028
  )
2028
2029
  }
2029
2030
  );
2030
- }, Vs = (t) => {
2031
- const { component: e, userFlow: s, hash: r, responseKey: c, dataSource: l, ...i } = t, n = Bs[i.type], { fetchDataSource: d } = G(), [a, _] = $(!1), [u, h] = $([]), f = async () => {
2031
+ }, zs = (t) => {
2032
+ const { component: e, userFlow: s, hash: r, responseKey: c, dataSource: l, ...i } = t, n = Ms[i.type], { fetchDataSource: d } = G(), [a, _] = $(!1), [u, h] = $([]), f = async () => {
2032
2033
  var g, y;
2033
2034
  try {
2034
2035
  _(!0);
@@ -2039,8 +2040,8 @@ const Rs = (t) => {
2039
2040
  C,
2040
2041
  s,
2041
2042
  !1
2042
- ), w = m ? (g = me(j == null ? void 0 : j.data, m, p)) == null ? void 0 : g.items : (y = j == null ? void 0 : j.data) == null ? void 0 : y.data;
2043
- h(w), _(!1);
2043
+ ), N = m ? (g = ge(j == null ? void 0 : j.data, m, p)) == null ? void 0 : g.items : (y = j == null ? void 0 : j.data) == null ? void 0 : y.data;
2044
+ h(N), _(!1);
2044
2045
  } catch (m) {
2045
2046
  alert(JSON.stringify(m)), _(!1);
2046
2047
  }
@@ -2053,15 +2054,15 @@ const Rs = (t) => {
2053
2054
  ...i,
2054
2055
  data: u
2055
2056
  };
2056
- return a ? /* @__PURE__ */ o.jsx(ae, { height: 400 }) : u.length === 0 ? /* @__PURE__ */ o.jsx(xt, { state: "info", title: "Sin registros", children: "No hay datos disponibles para mostrar en este momento" }) : Ks.has(i.type) ? /* @__PURE__ */ o.jsx(
2057
- Us,
2057
+ return a ? /* @__PURE__ */ o.jsx(oe, { height: 400 }) : u.length === 0 ? /* @__PURE__ */ o.jsx(xt, { state: "info", title: "Sin registros", children: "No hay datos disponibles para mostrar en este momento" }) : Bs.has(i.type) ? /* @__PURE__ */ o.jsx(
2058
+ Vs,
2058
2059
  {
2059
2060
  dataLength: u.length,
2060
2061
  minCategoryWidth: i.minCategoryWidth,
2061
2062
  children: (g) => /* @__PURE__ */ o.jsx(n, { ...x, width: g })
2062
2063
  }
2063
2064
  ) : /* @__PURE__ */ o.jsx(n, { ...x });
2064
- }, zs = (t) => {
2065
+ }, Xs = (t) => {
2065
2066
  const {
2066
2067
  userFlow: e,
2067
2068
  pageId: s,
@@ -2086,17 +2087,17 @@ const Rs = (t) => {
2086
2087
  ...(m = v.getState()[e]) == null ? void 0 : m.entries,
2087
2088
  [r]: p
2088
2089
  };
2089
- switch (q(e, C), c) {
2090
+ switch (I(e, C), c) {
2090
2091
  case "GO_TO_NEXT_UI":
2091
2092
  case "GO_TO_NEXT_UI_WITHOUT_LOADING": {
2092
- const w = await u(
2093
+ const N = await u(
2093
2094
  e,
2094
2095
  s,
2095
2096
  C,
2096
2097
  r,
2097
2098
  c === "GO_TO_NEXT_UI"
2098
2099
  );
2099
- w != null && w.data && K(e, w == null ? void 0 : w.data);
2100
+ N != null && N.data && K(e, N == null ? void 0 : N.data);
2100
2101
  break;
2101
2102
  }
2102
2103
  default:
@@ -2107,7 +2108,7 @@ const Rs = (t) => {
2107
2108
  }
2108
2109
  }, [e, s, r, c, h]), y = (_ == null ? void 0 : _.disabled) ?? x;
2109
2110
  return /* @__PURE__ */ o.jsx(
2110
- Le,
2111
+ Ke,
2111
2112
  {
2112
2113
  ..._,
2113
2114
  labelRight: b,
@@ -2118,14 +2119,14 @@ const Rs = (t) => {
2118
2119
  }
2119
2120
  }
2120
2121
  );
2121
- }, Xs = "_codeEditor_1wi2p_1", Js = "_codeEditor_label_1wi2p_4", Ws = "_codeEditor_wrapper_1wi2p_13", Ys = "_input_1wi2p_17", Qs = "_preview_1wi2p_18", Zs = "_preview_inner_1wi2p_33", tt = {
2122
- codeEditor: Xs,
2123
- codeEditor_label: Js,
2124
- codeEditor_wrapper: Ws,
2125
- input: Ys,
2126
- preview: Qs,
2127
- preview_inner: Zs
2128
- }, Fs = (t) => {
2122
+ }, Js = "_codeEditor_1wi2p_1", Ws = "_codeEditor_label_1wi2p_4", Ys = "_codeEditor_wrapper_1wi2p_13", Qs = "_input_1wi2p_17", Zs = "_preview_1wi2p_18", Fs = "_preview_inner_1wi2p_33", tt = {
2123
+ codeEditor: Js,
2124
+ codeEditor_label: Ws,
2125
+ codeEditor_wrapper: Ys,
2126
+ input: Qs,
2127
+ preview: Zs,
2128
+ preview_inner: Fs
2129
+ }, Ps = (t) => {
2129
2130
  const {
2130
2131
  userFlow: e,
2131
2132
  responseKey: s,
@@ -2143,21 +2144,21 @@ const Rs = (t) => {
2143
2144
  d
2144
2145
  ), g = a ?? b, y = {
2145
2146
  json: Ht(),
2146
- markdown: hn(),
2147
- sql: fn(),
2148
- yaml: yn()
2147
+ markdown: fn(),
2148
+ sql: yn(),
2149
+ yaml: xn()
2149
2150
  }, m = O(() => n && r ? `${r} *` : r ?? "", [r, n]), p = (C) => {
2150
2151
  f(C);
2151
2152
  const j = {
2152
2153
  [s]: C
2153
2154
  };
2154
- q(e, j);
2155
+ I(e, j);
2155
2156
  };
2156
2157
  return /* @__PURE__ */ o.jsxs("div", { className: tt.codeEditor, children: [
2157
2158
  m && m !== "" && /* @__PURE__ */ o.jsx("label", { className: tt.codeEditor_label, children: m }),
2158
2159
  /* @__PURE__ */ o.jsxs("div", { className: tt.codeEditor_wrapper, children: [
2159
2160
  /* @__PURE__ */ o.jsx(
2160
- un,
2161
+ hn,
2161
2162
  {
2162
2163
  className: tt.input,
2163
2164
  value: h,
@@ -2169,12 +2170,12 @@ const Rs = (t) => {
2169
2170
  editable: !g
2170
2171
  }
2171
2172
  ),
2172
- c === "markdown" && _ && /* @__PURE__ */ o.jsx("div", { className: tt.preview, style: { height: u }, children: /* @__PURE__ */ o.jsx(oe, { className: tt.preview_inner, children: h }) })
2173
+ c === "markdown" && _ && /* @__PURE__ */ o.jsx("div", { className: tt.preview, style: { height: u }, children: /* @__PURE__ */ o.jsx(ce, { className: tt.preview_inner, children: h }) })
2173
2174
  ] })
2174
2175
  ] });
2175
- }, Ps = "_slotStack_6n2wy_5", Ft = {
2176
- slotStack: Ps
2177
- }, tr = (t) => {
2176
+ }, tr = "_slotStack_6n2wy_5", Pt = {
2177
+ slotStack: tr
2178
+ }, er = (t) => {
2178
2179
  const {
2179
2180
  userFlow: e,
2180
2181
  pageId: s,
@@ -2194,9 +2195,9 @@ const Rs = (t) => {
2194
2195
  e,
2195
2196
  s,
2196
2197
  n && n.length > 0 ? n : null
2197
- ), x = h && h.length > 0 ? /* @__PURE__ */ o.jsx("div", { className: Ft.slotStack, children: h.map((g, y) => /* @__PURE__ */ o.jsx(k, { children: g }, `data-card-body-${c}-${y}`)) }) : void 0, b = f && f.length > 0 ? /* @__PURE__ */ o.jsx("div", { className: Ft.slotStack, children: f.map((g, y) => /* @__PURE__ */ o.jsx(k, { children: g }, `data-card-top-${c}-${y}`)) }) : void 0;
2198
+ ), x = h && h.length > 0 ? /* @__PURE__ */ o.jsx("div", { className: Pt.slotStack, children: h.map((g, y) => /* @__PURE__ */ o.jsx(k, { children: g }, `data-card-body-${c}-${y}`)) }) : void 0, b = f && f.length > 0 ? /* @__PURE__ */ o.jsx("div", { className: Pt.slotStack, children: f.map((g, y) => /* @__PURE__ */ o.jsx(k, { children: g }, `data-card-top-${c}-${y}`)) }) : void 0;
2198
2199
  return /* @__PURE__ */ o.jsx(
2199
- Ke,
2200
+ Be,
2200
2201
  {
2201
2202
  ..._,
2202
2203
  icon: d,
@@ -2205,13 +2206,13 @@ const Rs = (t) => {
2205
2206
  children: x
2206
2207
  }
2207
2208
  );
2208
- }, er = "_dividerNotFront_tze3j_1", nr = {
2209
- dividerNotFront: er
2210
- }, sr = (t) => /* @__PURE__ */ o.jsx(Be, { ...t, className: nr.dividerNotFront }), rr = "_drawer_13pxo_1", ar = "_drawerBody_13pxo_5", or = "_drawerFooter_13pxo_11", kt = {
2211
- drawer: rr,
2212
- drawerBody: ar,
2213
- drawerFooter: or
2214
- }, cr = ({
2209
+ }, nr = "_dividerNotFront_tze3j_1", sr = {
2210
+ dividerNotFront: nr
2211
+ }, rr = (t) => /* @__PURE__ */ o.jsx(Me, { ...t, className: sr.dividerNotFront }), ar = "_drawer_13pxo_1", or = "_drawerBody_13pxo_5", cr = "_drawerFooter_13pxo_11", kt = {
2212
+ drawer: ar,
2213
+ drawerBody: or,
2214
+ drawerFooter: cr
2215
+ }, ir = ({
2215
2216
  userFlow: t,
2216
2217
  pageId: e,
2217
2218
  responseKey: s,
@@ -2231,10 +2232,10 @@ const Rs = (t) => {
2231
2232
  isOpen: a,
2232
2233
  children: null
2233
2234
  }, u = L(() => {
2234
- It(t), _t(t, !1);
2235
- }, [t]), h = Array.isArray(r) ? E(t, e, r) : r ? /* @__PURE__ */ o.jsx(se, { type: "h2", children: r }) : void 0, f = E(t, e, c), x = l ? E(t, e, l) : void 0;
2235
+ qt(t), _t(t, !1);
2236
+ }, [t]), h = Array.isArray(r) ? E(t, e, r) : r ? /* @__PURE__ */ o.jsx(re, { type: "h2", children: r }) : void 0, f = E(t, e, c), x = l ? E(t, e, l) : void 0;
2236
2237
  return /* @__PURE__ */ o.jsx(
2237
- Me,
2238
+ He,
2238
2239
  {
2239
2240
  ..._,
2240
2241
  className: kt.drawer,
@@ -2246,7 +2247,7 @@ const Rs = (t) => {
2246
2247
  footer: x ? /* @__PURE__ */ o.jsx("div", { className: kt.drawerFooter, children: x.map((g, y) => /* @__PURE__ */ o.jsx(k, { children: g }, `drawer-footer-${y}`)) }) : void 0
2247
2248
  }
2248
2249
  );
2249
- }, ir = (t) => {
2250
+ }, lr = (t) => {
2250
2251
  const {
2251
2252
  userFlow: e,
2252
2253
  pageId: s,
@@ -2275,7 +2276,7 @@ const Rs = (t) => {
2275
2276
  [n, h]
2276
2277
  );
2277
2278
  return /* @__PURE__ */ o.jsx(
2278
- He,
2279
+ Ge,
2279
2280
  {
2280
2281
  disabled: d,
2281
2282
  variant: a,
@@ -2301,10 +2302,10 @@ const Rs = (t) => {
2301
2302
  ] })
2302
2303
  }
2303
2304
  );
2304
- }, lr = "_header_g1eri_1", dr = "_header_content_g1eri_5", Pt = {
2305
- header: lr,
2306
- header_content: dr
2307
- }, _r = ({ components: t = [] }) => /* @__PURE__ */ o.jsx("section", { className: et(Pt.header, "avocado-dark-theme"), children: /* @__PURE__ */ o.jsx("div", { className: Pt.header_content, children: t.map((e, s) => /* @__PURE__ */ o.jsx(k, { children: e }, s)) }) }), ur = (t) => {
2305
+ }, dr = "_header_g1eri_1", _r = "_header_content_g1eri_5", te = {
2306
+ header: dr,
2307
+ header_content: _r
2308
+ }, ur = ({ components: t = [] }) => /* @__PURE__ */ o.jsx("section", { className: et(te.header, "avocado-dark-theme"), children: /* @__PURE__ */ o.jsx("div", { className: te.header_content, children: t.map((e, s) => /* @__PURE__ */ o.jsx(k, { children: e }, s)) }) }), hr = (t) => {
2308
2309
  const {
2309
2310
  userFlow: e,
2310
2311
  pageId: s,
@@ -2331,7 +2332,7 @@ const Rs = (t) => {
2331
2332
  ...(y = v.getState()[e]) == null ? void 0 : y.entries,
2332
2333
  [r]: { status: 200 }
2333
2334
  };
2334
- switch (q(e, m), c) {
2335
+ switch (I(e, m), c) {
2335
2336
  case "GO_TO_NEXT_UI": {
2336
2337
  const p = await h(
2337
2338
  e,
@@ -2358,7 +2359,7 @@ const Rs = (t) => {
2358
2359
  }
2359
2360
  }, [c, h, s, i, r, n, e]), g = x.disabled ?? f;
2360
2361
  return /* @__PURE__ */ o.jsx(
2361
- Ge,
2362
+ Ue,
2362
2363
  {
2363
2364
  ...x,
2364
2365
  disabled: g,
@@ -2366,7 +2367,7 @@ const Rs = (t) => {
2366
2367
  children: l
2367
2368
  }
2368
2369
  );
2369
- }, hr = (t) => {
2370
+ }, fr = (t) => {
2370
2371
  const {
2371
2372
  userFlow: e,
2372
2373
  pageId: s,
@@ -2397,7 +2398,7 @@ const Rs = (t) => {
2397
2398
  [i, h]
2398
2399
  );
2399
2400
  return /* @__PURE__ */ o.jsx(
2400
- Ue,
2401
+ Ve,
2401
2402
  {
2402
2403
  items: f,
2403
2404
  closeOnClick: n,
@@ -2407,9 +2408,9 @@ const Rs = (t) => {
2407
2408
  variant: u
2408
2409
  }
2409
2410
  );
2410
- }, fr = "_modalContent_p06ci_1", yr = {
2411
- modalContent: fr
2412
- }, xr = ({
2411
+ }, yr = "_modalContent_p06ci_1", xr = {
2412
+ modalContent: yr
2413
+ }, mr = ({
2413
2414
  userFlow: t,
2414
2415
  pageId: e,
2415
2416
  responseKey: s,
@@ -2428,23 +2429,23 @@ const Rs = (t) => {
2428
2429
  }), _ = d && !a, u = {
2429
2430
  ...n
2430
2431
  }, h = (u == null ? void 0 : u.headerStatusColor) ?? i, f = L(() => {
2431
- It(t), qt(t, !1);
2432
+ qt(t), It(t, !1);
2432
2433
  }, [t, s]), x = Array.isArray(r) ? E(t, e, r) : r, b = E(t, e, c), g = E(t, e, l);
2433
2434
  return /* @__PURE__ */ o.jsx(
2434
- Ve,
2435
+ ze,
2435
2436
  {
2436
2437
  ...u,
2437
2438
  headerStatusColor: h,
2438
2439
  header: typeof x == "string" ? x : /* @__PURE__ */ o.jsx(o.Fragment, { children: x.map((y, m) => /* @__PURE__ */ o.jsx(k, { children: y }, `modal-header-${m}`)) }),
2439
- children: /* @__PURE__ */ o.jsx("section", { className: yr.modalContent, children: b.map((y, m) => /* @__PURE__ */ o.jsx(k, { children: y }, `modal-body-${m}`)) }),
2440
+ children: /* @__PURE__ */ o.jsx("section", { className: xr.modalContent, children: b.map((y, m) => /* @__PURE__ */ o.jsx(k, { children: y }, `modal-body-${m}`)) }),
2440
2441
  actions: /* @__PURE__ */ o.jsx(o.Fragment, { children: g.map((y, m) => /* @__PURE__ */ o.jsx(k, { children: y }, `modal-footer-${m}`)) }),
2441
2442
  open: _,
2442
2443
  onClose: f
2443
2444
  }
2444
2445
  );
2445
- }, mr = ({ userFlow: t, pageId: e }) => {
2446
+ }, gr = ({ userFlow: t, pageId: e }) => {
2446
2447
  var l, i;
2447
- const s = pn(t);
2448
+ const s = bn(t);
2448
2449
  if (!s)
2449
2450
  return null;
2450
2451
  const r = [
@@ -2460,13 +2461,13 @@ const Rs = (t) => {
2460
2461
  const a = `overlay-${d}-${s == null ? void 0 : s.hash}`;
2461
2462
  return /* @__PURE__ */ o.jsx(k, { children: n }, a);
2462
2463
  }) });
2463
- }, gr = [
2464
+ }, pr = [
2464
2465
  "success",
2465
2466
  "warning",
2466
2467
  "error",
2467
2468
  "info",
2468
2469
  "neutral"
2469
- ], be = {
2470
+ ], je = {
2470
2471
  success: {
2471
2472
  color: "success-opacity",
2472
2473
  textColor: "success-60",
@@ -2492,11 +2493,11 @@ const Rs = (t) => {
2492
2493
  textColor: "neutral-70",
2493
2494
  iconColor: "neutral-70"
2494
2495
  }
2495
- }, pr = (t) => typeof t == "string" && gr.includes(t), br = (t) => t != null && t.length ? t.length === 2 && pr(t[1]) ? [{ label: String(t[0]), variant: t[1] }] : t.map((e) => ({
2496
+ }, br = (t) => typeof t == "string" && pr.includes(t), jr = (t) => t != null && t.length ? t.length === 2 && br(t[1]) ? [{ label: String(t[0]), variant: t[1] }] : t.map((e) => ({
2496
2497
  label: String(e),
2497
2498
  variant: "neutral"
2498
- })) : [], jr = (t) => {
2499
- const { content: e, variant: s = "neutral", ...r } = t, c = be[s], l = {
2499
+ })) : [], Cr = (t) => {
2500
+ const { content: e, variant: s = "neutral", ...r } = t, c = je[s], l = {
2500
2501
  ...r,
2501
2502
  children: e,
2502
2503
  color: (r == null ? void 0 : r.color) ?? c.color,
@@ -2504,9 +2505,9 @@ const Rs = (t) => {
2504
2505
  iconColor: (r == null ? void 0 : r.iconColor) ?? c.iconColor
2505
2506
  };
2506
2507
  return /* @__PURE__ */ o.jsx(St, { ...l });
2507
- }, Cr = (t) => {
2508
+ }, Nr = (t) => {
2508
2509
  const { content: e } = t;
2509
- return /* @__PURE__ */ o.jsx(oe, { children: e });
2510
+ return /* @__PURE__ */ o.jsx(ce, { children: e });
2510
2511
  }, wr = (t) => {
2511
2512
  const {
2512
2513
  userFlow: e,
@@ -2541,7 +2542,7 @@ const Rs = (t) => {
2541
2542
  }
2542
2543
  }, [c, l, i, r, a]);
2543
2544
  return /* @__PURE__ */ o.jsx(
2544
- ze,
2545
+ Xe,
2545
2546
  {
2546
2547
  ...u,
2547
2548
  loading: u.loading || f,
@@ -2549,8 +2550,8 @@ const Rs = (t) => {
2549
2550
  onClick: () => !h && !f && (n ?? g)()
2550
2551
  }
2551
2552
  );
2552
- }, Nr = "_row_1bqj4_1", vr = "_row_column_1bqj4_65", z = {
2553
- row: Nr,
2553
+ }, vr = "_row_1bqj4_1", Er = "_row_column_1bqj4_65", z = {
2554
+ row: vr,
2554
2555
  "row__gap-none": "_row__gap-none_1bqj4_5",
2555
2556
  "row__gap-xxs": "_row__gap-xxs_1bqj4_8",
2556
2557
  "row__gap-xs": "_row__gap-xs_1bqj4_11",
@@ -2571,7 +2572,7 @@ const Rs = (t) => {
2571
2572
  "row__align-center": "_row__align-center_1bqj4_56",
2572
2573
  "row__align-stretch": "_row__align-stretch_1bqj4_59",
2573
2574
  "row__align-baseline": "_row__align-baseline_1bqj4_62",
2574
- row_column: vr,
2575
+ row_column: Er,
2575
2576
  "row_column__gap-none": "_row_column__gap-none_1bqj4_72",
2576
2577
  "row_column__gap-xxs": "_row_column__gap-xxs_1bqj4_75",
2577
2578
  "row_column__gap-xs": "_row_column__gap-xs_1bqj4_78",
@@ -2592,7 +2593,7 @@ const Rs = (t) => {
2592
2593
  "row_column__align-center": "_row_column__align-center_1bqj4_123",
2593
2594
  "row_column__align-stretch": "_row_column__align-stretch_1bqj4_126",
2594
2595
  "row_column__align-baseline": "_row_column__align-baseline_1bqj4_129"
2595
- }, Er = (t) => {
2596
+ }, kr = (t) => {
2596
2597
  const {
2597
2598
  userFlow: e,
2598
2599
  pageId: s,
@@ -2651,7 +2652,7 @@ const Rs = (t) => {
2651
2652
  }
2652
2653
  );
2653
2654
  };
2654
- function je({
2655
+ function Ce({
2655
2656
  userFlow: t,
2656
2657
  pageId: e,
2657
2658
  responseKey: s,
@@ -2670,7 +2671,7 @@ function je({
2670
2671
  const u = {
2671
2672
  ...(f = v.getState()[t]) == null ? void 0 : f.entries
2672
2673
  };
2673
- if (_ ? (u[s] = _, q(t, u)) : (delete u[s], bn(t, s)), r && (r === "GO_TO_NEXT_UI" || r === "GO_TO_NEXT_UI_WITHOUT_LOADING"))
2674
+ if (_ ? (u[s] = _, I(t, u)) : (delete u[s], jn(t, s)), r && (r === "GO_TO_NEXT_UI" || r === "GO_TO_NEXT_UI_WITHOUT_LOADING"))
2674
2675
  try {
2675
2676
  const b = await c(
2676
2677
  t,
@@ -2703,21 +2704,21 @@ function je({
2703
2704
  [l, i, d]
2704
2705
  );
2705
2706
  }
2706
- const kr = /\{([^}]+)\}/g, Sr = (t, e) => {
2707
+ const Sr = /\{([^}]+)\}/g, Tr = (t, e) => {
2707
2708
  var s;
2708
- return e.includes("{") ? e.replace(kr, (r, c) => {
2709
+ return e.includes("{") ? e.replace(Sr, (r, c) => {
2709
2710
  var i;
2710
2711
  const l = (i = B.query(t, c.trim())) == null ? void 0 : i[0];
2711
2712
  return l != null ? String(l) : "";
2712
2713
  }) : (s = B.query(t, e)) == null ? void 0 : s[0];
2713
- }, Tr = (t, e, s, r) => {
2714
+ }, Ar = (t, e, s, r) => {
2714
2715
  const c = B.query(t, e);
2715
2716
  return (c == null ? void 0 : c.map((l) => {
2716
2717
  var d;
2717
- const i = Sr(l, s), n = r ? (d = B.query(l, r)) == null ? void 0 : d[0] : l;
2718
+ const i = Tr(l, s), n = r ? (d = B.query(l, r)) == null ? void 0 : d[0] : l;
2718
2719
  return { label: i, value: n };
2719
2720
  })) ?? [];
2720
- }, Ar = (t, e, s, r = 10) => {
2721
+ }, Or = (t, e, s, r = 10) => {
2721
2722
  var n, d;
2722
2723
  let c, l;
2723
2724
  if (s) {
@@ -2733,9 +2734,9 @@ const kr = /\{([^}]+)\}/g, Sr = (t, e) => {
2733
2734
  total: l,
2734
2735
  hasMore: i
2735
2736
  };
2736
- }, Or = "_selectNotFront_ch3v5_1", Ce = {
2737
- selectNotFront: Or
2738
- }, $r = ({
2737
+ }, $r = "_selectNotFront_ch3v5_1", Ne = {
2738
+ selectNotFront: $r
2739
+ }, Rr = ({
2739
2740
  userFlow: t,
2740
2741
  pageId: e,
2741
2742
  responseKey: s,
@@ -2752,13 +2753,13 @@ const kr = /\{([^}]+)\}/g, Sr = (t, e) => {
2752
2753
  t,
2753
2754
  i
2754
2755
  ), b = (a == null ? void 0 : a.disabled) ?? x, g = O(() => r && (a != null && a.label) ? `${a == null ? void 0 : a.label} *` : (a == null ? void 0 : a.label) ?? "", [a == null ? void 0 : a.label, r]), y = O(() => {
2755
- const j = a != null && a.isMulti ? h : [h], w = {};
2756
- return Array.isArray(j) && j.forEach((N) => {
2757
- if (!N) return;
2758
- const S = JSON.stringify(N.value), D = JSON.stringify(N.label);
2759
- w[S] = N, D in w || (w[D] = N);
2760
- }), w;
2761
- }, [h]), m = je({
2756
+ const j = a != null && a.isMulti ? h : [h], N = {};
2757
+ return Array.isArray(j) && j.forEach((w) => {
2758
+ if (!w) return;
2759
+ const S = JSON.stringify(w.value), D = JSON.stringify(w.label);
2760
+ N[S] = w, D in N || (N[D] = w);
2761
+ }), N;
2762
+ }, [h]), m = Ce({
2762
2763
  userFlow: t,
2763
2764
  pageId: e,
2764
2765
  responseKey: s,
@@ -2768,43 +2769,43 @@ const kr = /\{([^}]+)\}/g, Sr = (t, e) => {
2768
2769
  debounceMs: n
2769
2770
  }), p = (j) => {
2770
2771
  f(j), m(j);
2771
- }, C = async (j, w, { page: N }) => {
2772
+ }, C = async (j, N, { page: w }) => {
2772
2773
  const {
2773
2774
  jsonPathLabel: S,
2774
2775
  jsonPathOptions: D,
2775
- jsonPathValue: I,
2776
+ jsonPathValue: q,
2776
2777
  jsonPathPagination: Q
2777
2778
  } = c, V = Lt(
2778
2779
  c,
2779
- N,
2780
+ w,
2780
2781
  j
2781
2782
  ), T = await u(
2782
2783
  V,
2783
2784
  t,
2784
2785
  !1
2785
- ), H = T == null ? void 0 : T.data, ct = H ? Tr(
2786
+ ), H = T == null ? void 0 : T.data, ct = H ? Ar(
2786
2787
  H,
2787
2788
  D,
2788
2789
  S,
2789
- I
2790
- ) : [], { hasMore: bt } = Ar(
2790
+ q
2791
+ ) : [], { hasMore: bt } = Or(
2791
2792
  H,
2792
- N,
2793
+ w,
2793
2794
  Q
2794
2795
  );
2795
2796
  return {
2796
2797
  options: ct,
2797
2798
  hasMore: bt,
2798
2799
  additional: {
2799
- page: N + 1
2800
+ page: w + 1
2800
2801
  }
2801
2802
  };
2802
2803
  };
2803
2804
  return /* @__PURE__ */ o.jsx(
2804
- Xe,
2805
+ Je,
2805
2806
  {
2806
2807
  ...a,
2807
- className: Ce.selectNotFront,
2808
+ className: Ne.selectNotFront,
2808
2809
  label: g,
2809
2810
  value: h,
2810
2811
  disabled: b,
@@ -2813,13 +2814,13 @@ const kr = /\{([^}]+)\}/g, Sr = (t, e) => {
2813
2814
  loadOptions: C,
2814
2815
  additional: { page: 1 },
2815
2816
  isOptionDisabled: (j) => {
2816
- const w = JSON.stringify(j == null ? void 0 : j.value), N = JSON.stringify(j == null ? void 0 : j.label);
2817
- return !!(y != null && y[w]) || !!(y != null && y[N]);
2817
+ const N = JSON.stringify(j == null ? void 0 : j.value), w = JSON.stringify(j == null ? void 0 : j.label);
2818
+ return !!(y != null && y[N]) || !!(y != null && y[w]);
2818
2819
  },
2819
2820
  debounceTimeout: 350
2820
2821
  }
2821
2822
  );
2822
- }, Rr = ({
2823
+ }, Dr = ({
2823
2824
  userFlow: t,
2824
2825
  pageId: e,
2825
2826
  responseKey: s,
@@ -2835,7 +2836,7 @@ const kr = /\{([^}]+)\}/g, Sr = (t, e) => {
2835
2836
  }, { getNextUI: _ } = G(), [u, h] = $(a.value || ""), { disabled: f } = M(
2836
2837
  t,
2837
2838
  i
2838
- ), x = (a == null ? void 0 : a.disabled) ?? f, b = O(() => c && (a != null && a.label) ? `${a == null ? void 0 : a.label} *` : (a == null ? void 0 : a.label) ?? "", [a == null ? void 0 : a.label, c]), g = je({
2839
+ ), x = (a == null ? void 0 : a.disabled) ?? f, b = O(() => c && (a != null && a.label) ? `${a == null ? void 0 : a.label} *` : (a == null ? void 0 : a.label) ?? "", [a == null ? void 0 : a.label, c]), g = Ce({
2839
2840
  userFlow: t,
2840
2841
  pageId: e,
2841
2842
  responseKey: s,
@@ -2847,33 +2848,33 @@ const kr = /\{([^}]+)\}/g, Sr = (t, e) => {
2847
2848
  h(m), g(m);
2848
2849
  };
2849
2850
  return /* @__PURE__ */ o.jsx(
2850
- Je,
2851
+ We,
2851
2852
  {
2852
2853
  ...a,
2853
- className: Ce.selectNotFront,
2854
+ className: Ne.selectNotFront,
2854
2855
  label: b,
2855
2856
  value: u,
2856
2857
  disabled: x,
2857
2858
  onChange: (m) => !x && y(m)
2858
2859
  }
2859
2860
  );
2860
- }, Dr = (t) => {
2861
+ }, qr = (t) => {
2861
2862
  const { dataSource: e } = t;
2862
- return e ? /* @__PURE__ */ o.jsx($r, { ...t }) : /* @__PURE__ */ o.jsx(Rr, { ...t });
2863
- }, Ir = "_spacing_19hqa_1", qr = "_spacing__xxs_19hqa_1", Lr = "_spacing__xs_19hqa_4", Kr = "_spacing__sm_19hqa_7", Br = "_spacing__md_19hqa_10", Mr = "_spacing__lg_19hqa_13", Hr = "_spacing__xl_19hqa_16", Gr = "_spacing__xxl_19hqa_19", Ur = "_spacing__xxxl_19hqa_22", te = {
2863
+ return e ? /* @__PURE__ */ o.jsx(Rr, { ...t }) : /* @__PURE__ */ o.jsx(Dr, { ...t });
2864
+ }, Ir = "_spacing_19hqa_1", Lr = "_spacing__xxs_19hqa_1", Kr = "_spacing__xs_19hqa_4", Br = "_spacing__sm_19hqa_7", Mr = "_spacing__md_19hqa_10", Hr = "_spacing__lg_19hqa_13", Gr = "_spacing__xl_19hqa_16", Ur = "_spacing__xxl_19hqa_19", Vr = "_spacing__xxxl_19hqa_22", ee = {
2864
2865
  spacing: Ir,
2865
- spacing__xxs: qr,
2866
- spacing__xs: Lr,
2867
- spacing__sm: Kr,
2868
- spacing__md: Br,
2869
- spacing__lg: Mr,
2870
- spacing__xl: Hr,
2871
- spacing__xxl: Gr,
2872
- spacing__xxxl: Ur
2873
- }, Vr = (t) => {
2874
- const { size: e } = t, s = et(te.spacing, te[`spacing__${e}`]);
2875
- return /* @__PURE__ */ o.jsx("div", { className: s });
2866
+ spacing__xxs: Lr,
2867
+ spacing__xs: Kr,
2868
+ spacing__sm: Br,
2869
+ spacing__md: Mr,
2870
+ spacing__lg: Hr,
2871
+ spacing__xl: Gr,
2872
+ spacing__xxl: Ur,
2873
+ spacing__xxxl: Vr
2876
2874
  }, zr = (t) => {
2875
+ const { size: e } = t, s = et(ee.spacing, ee[`spacing__${e}`]);
2876
+ return /* @__PURE__ */ o.jsx("div", { className: s });
2877
+ }, Xr = (t) => {
2877
2878
  const {
2878
2879
  userFlow: e,
2879
2880
  pageId: s,
@@ -2898,17 +2899,17 @@ const kr = /\{([^}]+)\}/g, Sr = (t, e) => {
2898
2899
  ...(m = v.getState()[e]) == null ? void 0 : m.entries,
2899
2900
  [r]: p
2900
2901
  };
2901
- switch (q(e, C), c) {
2902
+ switch (I(e, C), c) {
2902
2903
  case "GO_TO_NEXT_UI":
2903
2904
  case "GO_TO_NEXT_UI_WITHOUT_LOADING": {
2904
- const w = await u(
2905
+ const N = await u(
2905
2906
  e,
2906
2907
  s,
2907
2908
  C,
2908
2909
  r,
2909
2910
  c === "GO_TO_NEXT_UI"
2910
2911
  );
2911
- w != null && w.data && K(e, w == null ? void 0 : w.data);
2912
+ N != null && N.data && K(e, N == null ? void 0 : N.data);
2912
2913
  break;
2913
2914
  }
2914
2915
  default:
@@ -2919,7 +2920,7 @@ const kr = /\{([^}]+)\}/g, Sr = (t, e) => {
2919
2920
  }
2920
2921
  }, [e, s, r, c, h]);
2921
2922
  return /* @__PURE__ */ o.jsx(
2922
- We,
2923
+ Ye,
2923
2924
  {
2924
2925
  ..._,
2925
2926
  label: g,
@@ -2928,14 +2929,14 @@ const kr = /\{([^}]+)\}/g, Sr = (t, e) => {
2928
2929
  onChange: () => !b && y()
2929
2930
  }
2930
2931
  );
2931
- }, Xr = "_tableSkeleton_3nr9n_1", Jr = "_tableArrayPills_3nr9n_7", we = {
2932
- tableSkeleton: Xr,
2933
- tableArrayPills: Jr
2934
- }, Wr = ({ values: t }) => {
2935
- const s = br(t ?? []), r = s.slice(0, 4), c = s.length - 4;
2932
+ }, Jr = "_tableSkeleton_3nr9n_1", Wr = "_tableArrayPills_3nr9n_7", we = {
2933
+ tableSkeleton: Jr,
2934
+ tableArrayPills: Wr
2935
+ }, Yr = ({ values: t }) => {
2936
+ const s = jr(t ?? []), r = s.slice(0, 4), c = s.length - 4;
2936
2937
  return /* @__PURE__ */ o.jsxs("div", { className: we.tableArrayPills, children: [
2937
2938
  r.map((l, i) => {
2938
- const n = be[l.variant];
2939
+ const n = je[l.variant];
2939
2940
  return /* @__PURE__ */ o.jsx(
2940
2941
  St,
2941
2942
  {
@@ -2952,7 +2953,7 @@ const kr = /\{([^}]+)\}/g, Sr = (t, e) => {
2952
2953
  c
2953
2954
  ] })
2954
2955
  ] });
2955
- }, Yr = ({
2956
+ }, Qr = ({
2956
2957
  userFlow: t,
2957
2958
  pageId: e,
2958
2959
  tableResponseKey: s,
@@ -2975,7 +2976,7 @@ const kr = /\{([^}]+)\}/g, Sr = (t, e) => {
2975
2976
  [u]: { status: 200 },
2976
2977
  [s]: [{ ...c }]
2977
2978
  };
2978
- switch (q(t, y), _) {
2979
+ switch (I(t, y), _) {
2979
2980
  case "GO_TO_NEXT_UI": {
2980
2981
  const m = await l(
2981
2982
  t,
@@ -3010,21 +3011,21 @@ const kr = /\{([^}]+)\}/g, Sr = (t, e) => {
3010
3011
  t,
3011
3012
  // Avoid to handle loading state until all the requests are done
3012
3013
  !1
3013
- ), w = {
3014
+ ), N = {
3014
3015
  ...(g = v.getState()[t]) == null ? void 0 : g.entries,
3015
3016
  [u]: {
3016
3017
  status: j == null ? void 0 : j.status,
3017
3018
  content: j == null ? void 0 : j.data
3018
3019
  }
3019
3020
  };
3020
- q(t, w);
3021
- const N = await l(
3021
+ I(t, N);
3022
+ const w = await l(
3022
3023
  t,
3023
3024
  e,
3024
- w,
3025
+ N,
3025
3026
  u
3026
3027
  );
3027
- N != null && N.data && K(t, N == null ? void 0 : N.data);
3028
+ w != null && w.data && K(t, w == null ? void 0 : w.data);
3028
3029
  break;
3029
3030
  }
3030
3031
  default:
@@ -3035,18 +3036,18 @@ const kr = /\{([^}]+)\}/g, Sr = (t, e) => {
3035
3036
  alert(JSON.stringify(y));
3036
3037
  }
3037
3038
  }, [_, h, e, u, t]);
3038
- return ke(a, {
3039
+ return Se(a, {
3039
3040
  onClick: f
3040
3041
  });
3041
- }, Qr = () => /* @__PURE__ */ o.jsx("div", { className: we.tableSkeleton, children: [...Array(10)].map((t, e) => /* @__PURE__ */ o.jsx(
3042
- ae,
3042
+ }, Zr = () => /* @__PURE__ */ o.jsx("div", { className: we.tableSkeleton, children: [...Array(10)].map((t, e) => /* @__PURE__ */ o.jsx(
3043
+ oe,
3043
3044
  {
3044
3045
  maxWidth: "100%",
3045
3046
  height: 42,
3046
3047
  radius: 8
3047
3048
  },
3048
3049
  `tableSkeletonBase${e}`
3049
- )) }), Zr = (t, e) => !(e != null && e.length) || !t ? t : t.map((s) => e.some(
3050
+ )) }), Fr = (t, e) => !(e != null && e.length) || !t ? t : t.map((s) => e.some(
3050
3051
  (c) => Array.isArray(
3051
3052
  s != null && s.accessor ? c[s == null ? void 0 : s.accessor] : void 0
3052
3053
  )
@@ -3054,9 +3055,9 @@ const kr = /\{([^}]+)\}/g, Sr = (t, e) => {
3054
3055
  ...s,
3055
3056
  renderCell: (c) => {
3056
3057
  const l = s.accessor ? c[s.accessor] : void 0;
3057
- return Array.isArray(l) ? /* @__PURE__ */ o.jsx(Wr, { values: l }) : l ?? "";
3058
+ return Array.isArray(l) ? /* @__PURE__ */ o.jsx(Yr, { values: l }) : l ?? "";
3058
3059
  }
3059
- } : s), Fr = ({
3060
+ } : s), Pr = ({
3060
3061
  userFlow: t,
3061
3062
  pageId: e,
3062
3063
  responseKey: s,
@@ -3074,7 +3075,7 @@ const kr = /\{([^}]+)\}/g, Sr = (t, e) => {
3074
3075
  if (l != null && l.length)
3075
3076
  return l.map((T, H) => ({
3076
3077
  renderContent: (ct) => /* @__PURE__ */ o.jsx(
3077
- Yr,
3078
+ Qr,
3078
3079
  {
3079
3080
  userFlow: t,
3080
3081
  pageId: e,
@@ -3101,25 +3102,25 @@ const kr = /\{([^}]+)\}/g, Sr = (t, e) => {
3101
3102
  it && T === 1 && (m.current = /* @__PURE__ */ new Map([[1, null]]));
3102
3103
  try {
3103
3104
  u(!0);
3104
- const jt = it ? m.current.get(T) ?? null : null, Ne = Lt(
3105
+ const jt = it ? m.current.get(T) ?? null : null, ve = Lt(
3105
3106
  c,
3106
3107
  T,
3107
3108
  void 0,
3108
3109
  jt
3109
3110
  ), Z = await a(
3110
- Ne,
3111
+ ve,
3111
3112
  t,
3112
3113
  !1
3113
3114
  );
3114
3115
  if (b(
3115
- me(
3116
+ ge(
3116
3117
  Z == null ? void 0 : Z.data,
3117
3118
  ct,
3118
3119
  H,
3119
3120
  bt
3120
3121
  )
3121
3122
  ), it) {
3122
- const Kt = xs(
3123
+ const Kt = ms(
3123
3124
  Z == null ? void 0 : Z.data,
3124
3125
  it
3125
3126
  );
@@ -3135,32 +3136,32 @@ const kr = /\{([^}]+)\}/g, Sr = (t, e) => {
3135
3136
  U(() => {
3136
3137
  g || C();
3137
3138
  }, []);
3138
- const w = g ? i : x == null ? void 0 : x.items, N = g && !!n && ((i == null ? void 0 : i.length) ?? 0) > n, S = O(() => {
3139
- if (!N || !i || !n)
3140
- return w ?? [];
3139
+ const N = g ? i : x == null ? void 0 : x.items, w = g && !!n && ((i == null ? void 0 : i.length) ?? 0) > n, S = O(() => {
3140
+ if (!w || !i || !n)
3141
+ return N ?? [];
3141
3142
  const T = (h - 1) * n;
3142
3143
  return i.slice(T, T + n);
3143
3144
  }, [
3144
- N,
3145
+ w,
3145
3146
  i,
3146
3147
  n,
3147
3148
  h,
3148
- w
3149
+ N
3149
3150
  ]), D = O(
3150
- () => Zr(
3151
+ () => Fr(
3151
3152
  d.columns,
3152
- w
3153
+ N
3153
3154
  ),
3154
- [w, d.columns]
3155
- ), I = {
3155
+ [N, d.columns]
3156
+ ), q = {
3156
3157
  ...d,
3157
3158
  data: S,
3158
3159
  columns: D ?? [],
3159
3160
  rightActions: p
3160
3161
  };
3161
- return g ? !w || w.length === 0 ? /* @__PURE__ */ o.jsx(xt, { state: "info", title: "Sin registros", children: "No hay datos disponibles para mostrar en este momento" }) : /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
3162
- /* @__PURE__ */ o.jsx(Bt, { ...I }),
3163
- N && n && i && /* @__PURE__ */ o.jsx(
3162
+ return g ? !N || N.length === 0 ? /* @__PURE__ */ o.jsx(xt, { state: "info", title: "Sin registros", children: "No hay datos disponibles para mostrar en este momento" }) : /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
3163
+ /* @__PURE__ */ o.jsx(Bt, { ...q }),
3164
+ w && n && i && /* @__PURE__ */ o.jsx(
3164
3165
  Ct,
3165
3166
  {
3166
3167
  classname: { global: "row__end" },
@@ -3170,8 +3171,8 @@ const kr = /\{([^}]+)\}/g, Sr = (t, e) => {
3170
3171
  onChange: f
3171
3172
  }
3172
3173
  )
3173
- ] }) : /* @__PURE__ */ o.jsx(o.Fragment, { children: _ ? /* @__PURE__ */ o.jsx(Qr, {}) : x && ((V = x == null ? void 0 : x.items) == null ? void 0 : V.length) > 0 ? /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
3174
- /* @__PURE__ */ o.jsx(Bt, { ...I }),
3174
+ ] }) : /* @__PURE__ */ o.jsx(o.Fragment, { children: _ ? /* @__PURE__ */ o.jsx(Zr, {}) : x && ((V = x == null ? void 0 : x.items) == null ? void 0 : V.length) > 0 ? /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
3175
+ /* @__PURE__ */ o.jsx(Bt, { ...q }),
3175
3176
  !y && (x == null ? void 0 : x.pagination) && x.pagination.totalPages > 1 && /* @__PURE__ */ o.jsx(
3176
3177
  Ct,
3177
3178
  {
@@ -3193,12 +3194,12 @@ const kr = /\{([^}]+)\}/g, Sr = (t, e) => {
3193
3194
  }
3194
3195
  )
3195
3196
  ] }) : /* @__PURE__ */ o.jsx(xt, { state: "info", title: "Sin registros", children: "No hay datos disponibles para mostrar en este momento" }) });
3196
- }, Pr = "_tabsPanel_kvslb_1", ta = {
3197
- tabsPanel: Pr
3198
- }, ea = ({ userFlow: t, pageId: e, components: s }) => {
3197
+ }, ta = "_tabsPanel_kvslb_1", ea = {
3198
+ tabsPanel: ta
3199
+ }, na = ({ userFlow: t, pageId: e, components: s }) => {
3199
3200
  const r = E(t, e, s);
3200
- return r != null && r.length ? /* @__PURE__ */ o.jsx("section", { className: ta.tabsPanel, children: r.map((c, l) => /* @__PURE__ */ o.jsx(k, { children: c }, `tabs-panel-${l}`)) }) : null;
3201
- }, na = ({
3201
+ return r != null && r.length ? /* @__PURE__ */ o.jsx("section", { className: ea.tabsPanel, children: r.map((c, l) => /* @__PURE__ */ o.jsx(k, { children: c }, `tabs-panel-${l}`)) }) : null;
3202
+ }, sa = ({
3202
3203
  userFlow: t,
3203
3204
  pageId: e,
3204
3205
  hash: s,
@@ -3211,7 +3212,7 @@ const kr = /\{([^}]+)\}/g, Sr = (t, e) => {
3211
3212
  label: a.label,
3212
3213
  disabled: a.disabled,
3213
3214
  children: /* @__PURE__ */ o.jsx(
3214
- ea,
3215
+ na,
3215
3216
  {
3216
3217
  userFlow: t,
3217
3218
  pageId: e,
@@ -3225,10 +3226,10 @@ const kr = /\{([^}]+)\}/g, Sr = (t, e) => {
3225
3226
  ...(u = v.getState()[t]) == null ? void 0 : u.entries,
3226
3227
  [i]: a
3227
3228
  };
3228
- q(t, _);
3229
+ I(t, _);
3229
3230
  };
3230
3231
  return /* @__PURE__ */ o.jsx(
3231
- Ye,
3232
+ Qe,
3232
3233
  {
3233
3234
  className: l,
3234
3235
  activeIndex: c,
@@ -3236,7 +3237,7 @@ const kr = /\{([^}]+)\}/g, Sr = (t, e) => {
3236
3237
  onClick: d
3237
3238
  }
3238
3239
  );
3239
- }, sa = (t) => {
3240
+ }, ra = (t) => {
3240
3241
  const {
3241
3242
  userFlow: e,
3242
3243
  pageId: s,
@@ -3254,12 +3255,12 @@ const kr = /\{([^}]+)\}/g, Sr = (t, e) => {
3254
3255
  ), f = (a == null ? void 0 : a.disabled) ?? h, x = O(() => i && (a != null && a.label) ? `${a.label} *` : (a == null ? void 0 : a.label) ?? "", [a == null ? void 0 : a.label, i]), b = (g) => {
3255
3256
  var m;
3256
3257
  const y = (m = g == null ? void 0 : g.target) == null ? void 0 : m.value;
3257
- u(y), q(e, { [l]: y });
3258
+ u(y), I(e, { [l]: y });
3258
3259
  };
3259
3260
  return U(() => {
3260
3261
  u((a == null ? void 0 : a.value) ?? "");
3261
3262
  }, [a == null ? void 0 : a.value]), /* @__PURE__ */ o.jsx(
3262
- Qe,
3263
+ Ze,
3263
3264
  {
3264
3265
  ...a,
3265
3266
  label: x,
@@ -3268,9 +3269,9 @@ const kr = /\{([^}]+)\}/g, Sr = (t, e) => {
3268
3269
  onChange: (g) => !f && b(g)
3269
3270
  }
3270
3271
  );
3271
- }, ra = "_textFieldNotFront_1n8fy_1", aa = {
3272
- textFieldNotFront: ra
3273
- }, oa = (t) => {
3272
+ }, aa = "_textFieldNotFront_1n8fy_1", oa = {
3273
+ textFieldNotFront: aa
3274
+ }, ca = (t) => {
3274
3275
  const {
3275
3276
  userFlow: e,
3276
3277
  pageId: s,
@@ -3292,15 +3293,15 @@ const kr = /\{([^}]+)\}/g, Sr = (t, e) => {
3292
3293
  const m = {
3293
3294
  [l]: y
3294
3295
  };
3295
- q(e, m);
3296
+ I(e, m);
3296
3297
  };
3297
3298
  return U(() => {
3298
3299
  u((a == null ? void 0 : a.value) ?? "");
3299
3300
  }, [a == null ? void 0 : a.value]), /* @__PURE__ */ o.jsx(
3300
- Ze,
3301
+ Fe,
3301
3302
  {
3302
3303
  ...a,
3303
- className: aa.textFieldNotFront,
3304
+ className: oa.textFieldNotFront,
3304
3305
  allowClear: !1,
3305
3306
  label: x,
3306
3307
  value: _,
@@ -3308,7 +3309,7 @@ const kr = /\{([^}]+)\}/g, Sr = (t, e) => {
3308
3309
  onChange: (g) => !f && b(g)
3309
3310
  }
3310
3311
  );
3311
- }, ca = ({
3312
+ }, ia = ({
3312
3313
  userFlow: t,
3313
3314
  pageId: e,
3314
3315
  responseKey: s,
@@ -3318,7 +3319,7 @@ const kr = /\{([^}]+)\}/g, Sr = (t, e) => {
3318
3319
  redirectUrl: i
3319
3320
  }) => {
3320
3321
  const n = L(async () => {
3321
- It(t);
3322
+ qt(t);
3322
3323
  try {
3323
3324
  switch (l) {
3324
3325
  case "AUTOCLOSE_AND_REDIRECT":
@@ -3344,10 +3345,10 @@ const kr = /\{([^}]+)\}/g, Sr = (t, e) => {
3344
3345
  onClose: n
3345
3346
  });
3346
3347
  }, [n, t]), null;
3347
- }, ia = "_tooltipNotFront_106iw_1", la = "_tooltipNotFront_content_106iw_5", ee = {
3348
- tooltipNotFront: ia,
3349
- tooltipNotFront_content: la
3350
- }, da = (t) => {
3348
+ }, la = "_tooltipNotFront_106iw_1", da = "_tooltipNotFront_content_106iw_5", ne = {
3349
+ tooltipNotFront: la,
3350
+ tooltipNotFront_content: da
3351
+ }, _a = (t) => {
3351
3352
  const {
3352
3353
  userFlow: e,
3353
3354
  pageId: s,
@@ -3363,11 +3364,11 @@ const kr = /\{([^}]+)\}/g, Sr = (t, e) => {
3363
3364
  e,
3364
3365
  s,
3365
3366
  i != null && i.length ? i : null
3366
- ), h = u && u.length > 0 ? /* @__PURE__ */ o.jsx("div", { className: ee.tooltipNotFront_content, children: u.map((f, x) => /* @__PURE__ */ o.jsx(k, { children: f }, `tooltip-${c}-${x}`)) }) : null;
3367
+ ), h = u && u.length > 0 ? /* @__PURE__ */ o.jsx("div", { className: ne.tooltipNotFront_content, children: u.map((f, x) => /* @__PURE__ */ o.jsx(k, { children: f }, `tooltip-${c}-${x}`)) }) : null;
3367
3368
  return /* @__PURE__ */ o.jsx(
3368
- Fe,
3369
+ Pe,
3369
3370
  {
3370
- className: ee.tooltipNotFront,
3371
+ className: ne.tooltipNotFront,
3371
3372
  label: n,
3372
3373
  placement: d,
3373
3374
  notShowArrow: a,
@@ -3376,13 +3377,13 @@ const kr = /\{([^}]+)\}/g, Sr = (t, e) => {
3376
3377
  }
3377
3378
  );
3378
3379
  };
3379
- function Aa({
3380
+ function Oa({
3380
3381
  sessionName: t,
3381
3382
  apiConfig: e,
3382
3383
  onResolveComponentProps: s,
3383
3384
  children: r
3384
3385
  }) {
3385
- const c = ya(
3386
+ const c = xa(
3386
3387
  t,
3387
3388
  e,
3388
3389
  null,
@@ -3393,7 +3394,7 @@ function Aa({
3393
3394
  r
3394
3395
  ] });
3395
3396
  }
3396
- const _a = { api: "", headers: {} }, ua = ({
3397
+ const ua = { api: "", headers: {} }, ha = ({
3397
3398
  userFlow: t,
3398
3399
  components: e,
3399
3400
  hash: s,
@@ -3402,7 +3403,7 @@ const _a = { api: "", headers: {} }, ua = ({
3402
3403
  const c = s ?? `${t}-page`;
3403
3404
  $(() => {
3404
3405
  var d, a;
3405
- return (a = (d = v.getState()[t]) == null ? void 0 : d.pages) != null && a[c] || yt(t, r ?? _a, {
3406
+ return (a = (d = v.getState()[t]) == null ? void 0 : d.pages) != null && a[c] || yt(t, r ?? ua, {
3406
3407
  type: "page",
3407
3408
  hash: c,
3408
3409
  body: { components: e }
@@ -3411,21 +3412,21 @@ const _a = { api: "", headers: {} }, ua = ({
3411
3412
  const l = E(t, c, e);
3412
3413
  return /* @__PURE__ */ o.jsx(o.Fragment, { children: l });
3413
3414
  };
3414
- function ha(t) {
3415
+ function fa(t) {
3415
3416
  if (t == null || typeof t != "object" || !("components" in t) || !Array.isArray(t.components))
3416
3417
  throw new Error(
3417
3418
  "[renderNotFront] payload.display must be an object with a `components` array"
3418
3419
  );
3419
3420
  return t.components;
3420
3421
  }
3421
- const fa = ({ payload: t, userFlow: e }) => {
3422
- const s = ha(t.display), r = ua({
3422
+ const ya = ({ payload: t, userFlow: e }) => {
3423
+ const s = fa(t.display), r = ha({
3423
3424
  userFlow: e,
3424
3425
  hash: t.id,
3425
3426
  components: s
3426
3427
  });
3427
3428
  return /* @__PURE__ */ o.jsx(o.Fragment, { children: r });
3428
- }, Oa = fa, ne = (t, e, s, r, c) => {
3429
+ }, $a = ya, se = (t, e, s, r, c) => {
3429
3430
  const l = E(
3430
3431
  t,
3431
3432
  e,
@@ -3435,7 +3436,7 @@ const fa = ({ payload: t, userFlow: e }) => {
3435
3436
  switch (s) {
3436
3437
  case "body":
3437
3438
  return /* @__PURE__ */ o.jsx(
3438
- Jn,
3439
+ Wn,
3439
3440
  {
3440
3441
  ...r,
3441
3442
  inputs: l || []
@@ -3444,7 +3445,7 @@ const fa = ({ payload: t, userFlow: e }) => {
3444
3445
  );
3445
3446
  case "header":
3446
3447
  return /* @__PURE__ */ o.jsx(
3447
- _r,
3448
+ ur,
3448
3449
  {
3449
3450
  ...r,
3450
3451
  components: l || []
@@ -3454,7 +3455,7 @@ const fa = ({ payload: t, userFlow: e }) => {
3454
3455
  default:
3455
3456
  return null;
3456
3457
  }
3457
- }, ya = (t, e, s, r) => {
3458
+ }, xa = (t, e, s, r) => {
3458
3459
  var g, y;
3459
3460
  const [c, l] = $(!1), i = !!(e != null && e.api && !s && t), [n, d] = $(i), a = v((m) => m[t]), _ = a == null ? void 0 : a.currentPageId, u = (a == null ? void 0 : a.isLoading) ?? !1, h = n || u;
3460
3461
  U(() => {
@@ -3462,13 +3463,13 @@ const fa = ({ payload: t, userFlow: e }) => {
3462
3463
  const m = new URL(window.location.href), p = m.searchParams.get("sessionId");
3463
3464
  p && (Dt(p), m.searchParams.delete("sessionId"), window.history.replaceState({}, "", m.toString()));
3464
3465
  }, []);
3465
- const f = _ ? ne(
3466
+ const f = _ ? se(
3466
3467
  t,
3467
3468
  _,
3468
3469
  "header",
3469
3470
  ((g = a == null ? void 0 : a.pages[_].page) == null ? void 0 : g.header) || null,
3470
3471
  r
3471
- ) : null, x = _ ? ne(
3472
+ ) : null, x = _ ? se(
3472
3473
  t,
3473
3474
  _,
3474
3475
  "body",
@@ -3476,7 +3477,7 @@ const fa = ({ payload: t, userFlow: e }) => {
3476
3477
  r
3477
3478
  ) : null, b = async () => {
3478
3479
  try {
3479
- const m = await ye(
3480
+ const m = await xe(
3480
3481
  e,
3481
3482
  t
3482
3483
  ), p = m == null ? void 0 : m.data, C = p == null ? void 0 : p.content;
@@ -3507,23 +3508,23 @@ const fa = ({ payload: t, userFlow: e }) => {
3507
3508
  window.removeEventListener(m, p);
3508
3509
  };
3509
3510
  }, []), c && console.error("[not-page]: No render page"), /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
3510
- h && /* @__PURE__ */ o.jsx(Pe, {}),
3511
+ h && /* @__PURE__ */ o.jsx(tn, {}),
3511
3512
  f,
3512
3513
  x,
3513
- _ && /* @__PURE__ */ o.jsx(mr, { userFlow: t, pageId: _ }),
3514
- a && /* @__PURE__ */ o.jsx(tn, {})
3514
+ _ && /* @__PURE__ */ o.jsx(gr, { userFlow: t, pageId: _ }),
3515
+ a && /* @__PURE__ */ o.jsx(en, {})
3515
3516
  ] });
3516
3517
  };
3517
3518
  export {
3518
- Vs as Chart,
3519
- Aa as NotFrontPage,
3520
- fa as RenderNotFront,
3521
- Er as Row,
3522
- Ta as clearSessionId,
3523
- ha as extractNotFrontComponents,
3524
- kn as heading,
3525
- Oa as renderNotFront,
3526
- Sn as text,
3527
- ua as useNotFrontFragment,
3528
- ya as usePage
3519
+ zs as Chart,
3520
+ Oa as NotFrontPage,
3521
+ ya as RenderNotFront,
3522
+ kr as Row,
3523
+ Aa as clearSessionId,
3524
+ fa as extractNotFrontComponents,
3525
+ Sn as heading,
3526
+ $a as renderNotFront,
3527
+ Tn as text,
3528
+ ha as useNotFrontFragment,
3529
+ xa as usePage
3529
3530
  };