react-luminus-components 2.0.35 → 2.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. package/dist/.vite/manifest.json +42 -42
  2. package/dist/{FormDisabledProvider-DoGy2C4j.cjs → FormDisabledProvider-BmGT82vd.cjs} +1 -1
  3. package/dist/{FormDisabledProvider-CknAF8EI.js → FormDisabledProvider-faatkj2d.js} +4 -4
  4. package/dist/components/Documents/Documents.d.ts +4 -1
  5. package/dist/components/Documents/components/DocumentsModals/DocumentsModals.d.ts +4 -1
  6. package/dist/components/Documents/components/DocumentsModals/components/EditFileModal/EditFileModal.d.ts +2 -1
  7. package/dist/components/Documents/components/DocumentsModals/components/EditFileModal/EditFileModalInner.d.ts +2 -1
  8. package/dist/components/Documents/components/DocumentsModals/components/EditFileModal/components/HookFormRecipient.d.ts +12 -0
  9. package/dist/components/Documents/components/DocumentsModals/components/EditFileModal/components/index.d.ts +1 -0
  10. package/dist/components/Documents/components/DocumentsModals/components/EditFileModal/hooks/useEditFileForm.d.ts +15 -0
  11. package/dist/components/Documents/utils/documentsConstants.d.ts +3 -0
  12. package/dist/contexts.cjs.js +1 -1
  13. package/dist/contexts.es.js +134 -136
  14. package/dist/hooks/useAxios/useAxios.d.ts +3 -5
  15. package/dist/hooks/useGetDataBound/useGetDataBound.d.ts +1 -1
  16. package/dist/hooks.cjs.js +1 -1
  17. package/dist/hooks.es.js +53 -55
  18. package/dist/layout.cjs.js +1 -1
  19. package/dist/layout.es.js +92 -92
  20. package/dist/localStorageUtils-CmHKDfSh.cjs +1 -0
  21. package/dist/{localStorageUtils-CZ4HDRzi.js → localStorageUtils-Dm59KUwC.js} +10 -29
  22. package/dist/main.cjs.js +7 -15
  23. package/dist/main.es.js +7121 -8038
  24. package/dist/models/api/documents/DocumentFileModel.d.ts +8 -0
  25. package/dist/models/api/employee/EmployeeLookupModel.d.ts +18 -0
  26. package/dist/models/texts/DocumentsTexts.d.ts +8 -0
  27. package/dist/nivo-bar-CYwXuVs2.cjs +293 -0
  28. package/dist/{nivo-bar-wBsr2P1t.js → nivo-bar-Dvo_C4bb.js} +15304 -14133
  29. package/dist/{useIsFormDirty-Cb4GEBID.cjs → useIsFormDirty-C53Kh2XN.cjs} +1 -1
  30. package/dist/{useIsFormDirty-CTuj9_Nd.js → useIsFormDirty-DrM6JmtY.js} +1 -1
  31. package/dist/useLocalStorageState-CzdQutCi.js +25 -0
  32. package/dist/useLocalStorageState-hUZJI1T5.cjs +1 -0
  33. package/dist/utils.cjs.js +1 -1
  34. package/dist/utils.es.js +55 -55
  35. package/package.json +1 -1
  36. package/dist/localStorageUtils-CkZslzIU.cjs +0 -1
  37. package/dist/nivo-bar-BkpPCncR.cjs +0 -285
  38. package/dist/useLocalStorageState-DBd2vOH1.js +0 -95
  39. package/dist/useLocalStorageState-gKbms6va.cjs +0 -1
@@ -1,16 +1,16 @@
1
- import { t as re, bR as Ne, c as N, bS as Oe, R as ae, an as He, bT as Ae, a5 as H, ak as Ue, S as ie, bU as We, ar as je, ap as Fe, bd as pe, by as De, bf as J, aq as Be, bV as ze, aF as we, bW as Ge, bX as Ve, bY as R, bZ as Xe, b_ as U, b$ as l, c0 as _e, c1 as Ie, c2 as V, c3 as E, c4 as q, c5 as ce, c6 as Re, c7 as Ke, c8 as Se, c9 as Je, ca as Qe, cb as Ye, cc as qe, cd as be, ce as G, cf as Le, cg as Ce, ch as Ze, ci as fe, cj as Me, ao as et, b8 as tt, a6 as nt } from "./nivo-bar-wBsr2P1t.js";
2
- import { ck as pn, ah as _n } from "./nivo-bar-wBsr2P1t.js";
3
- import { jsxs as L, jsx as y } from "react/jsx-runtime";
4
- import { useState as I, useContext as z, useEffect as B, useRef as Q, useMemo as F, useCallback as Y, useSyncExternalStore as ot } from "react";
5
- import { EventType as ge, InteractionStatus as st, InteractionRequiredAuthError as rt } from "@azure/msal-browser";
6
- import { MsalProvider as it, useMsal as ct } from "@azure/msal-react";
1
+ import { t as re, b$ as Ne, c as N, c0 as Oe, R as ae, an as He, c1 as Ae, a5 as H, al as Ue, S as ie, c2 as We, ar as je, ap as Fe, bi as pe, bD as De, bk as J, aq as Be, c3 as ze, aG as we, av as Ge, c4 as Ve, c5 as Xe, c6 as L, c7 as Ke, c8 as U, c9 as l, ca as _e, cb as Ie, cc as V, cd as E, ce as Y, cf as ce, cg as Le, ch as Je, ci as Se, cj as Qe, ck as qe, cl as Ye, cm as Ze, cn as be, co as G, cp as Re, cq as Ce, cr as et, cs as fe, ct as Me, ao as tt, bd as nt, a6 as ot } from "./nivo-bar-Dvo_C4bb.js";
2
+ import { cu as pn, ae as _n } from "./nivo-bar-Dvo_C4bb.js";
3
+ import { jsxs as R, jsx as y } from "react/jsx-runtime";
4
+ import { useState as I, useContext as z, useEffect as B, useRef as Q, useMemo as F, useCallback as q, useSyncExternalStore as st } from "react";
5
+ import { EventType as ge, InteractionStatus as rt, InteractionRequiredAuthError as it } from "@azure/msal-browser";
6
+ import { MsalProvider as ct, useMsal as at } from "@azure/msal-react";
7
7
  import "react-router";
8
8
  import "react-dom";
9
9
  import "react-hook-form";
10
10
  import "react-flexmonster";
11
- import { L as at, b as lt } from "./FormDisabledProvider-CknAF8EI.js";
12
- import { F as wn } from "./FormDisabledProvider-CknAF8EI.js";
13
- import { a as ht, u as ut } from "./useLocalStorageState-DBd2vOH1.js";
11
+ import { L as lt, b as ht } from "./FormDisabledProvider-faatkj2d.js";
12
+ import { F as wn } from "./FormDisabledProvider-faatkj2d.js";
13
+ import { u as ut } from "./useLocalStorageState-CzdQutCi.js";
14
14
  import { u as dt } from "./useIsBrowserOnline-RAirIO4c.js";
15
15
  function ft(t) {
16
16
  const e = re(t);
@@ -38,11 +38,11 @@ const mt = (t) => {
38
38
  o(!0), r(S), a(p);
39
39
  }, e[0] = h) : h = e[0];
40
40
  const u = h;
41
- let w;
42
- e[1] === Symbol.for("react.memo_cache_sentinel") ? (w = () => {
41
+ let m;
42
+ e[1] === Symbol.for("react.memo_cache_sentinel") ? (m = () => {
43
43
  o(!1);
44
- }, e[1] = w) : w = e[1];
45
- const f = w;
44
+ }, e[1] = m) : m = e[1];
45
+ const f = m;
46
46
  let g;
47
47
  e[2] !== s || e[3] !== i || e[4] !== c ? (g = {
48
48
  show: s,
@@ -51,14 +51,14 @@ const mt = (t) => {
51
51
  hideConfirm: f,
52
52
  textSm: c
53
53
  }, e[2] = s, e[3] = i, e[4] = c, e[5] = g) : g = e[5];
54
- const m = g;
54
+ const w = g;
55
55
  let b;
56
56
  e[6] === Symbol.for("react.memo_cache_sentinel") ? (b = /* @__PURE__ */ y(zt, {}), e[6] = b) : b = e[6];
57
57
  let d;
58
- return e[7] !== n || e[8] !== m ? (d = /* @__PURE__ */ L(Oe.Provider, { value: m, children: [
58
+ return e[7] !== n || e[8] !== w ? (d = /* @__PURE__ */ R(Oe.Provider, { value: w, children: [
59
59
  b,
60
60
  n
61
- ] }), e[7] = n, e[8] = m, e[9] = d) : d = e[9], d;
61
+ ] }), e[7] = n, e[8] = w, e[9] = d) : d = e[9], d;
62
62
  }, wt = () => {
63
63
  const t = N.c(43), {
64
64
  texts: e
@@ -76,22 +76,22 @@ const mt = (t) => {
76
76
  i(null);
77
77
  }, t[0] = i, t[1] = h) : h = t[1];
78
78
  const u = h;
79
- let w;
80
- t[2] !== i || t[3] !== r.required || t[4] !== c ? (w = (j) => {
79
+ let m;
80
+ t[2] !== i || t[3] !== r.required || t[4] !== c ? (m = (j) => {
81
81
  j.preventDefault(), !(r.required && !c) && (i(c), a(""));
82
- }, t[2] = i, t[3] = r.required, t[4] = c, t[5] = w) : w = t[5];
83
- const f = w;
82
+ }, t[2] = i, t[3] = r.required, t[4] = c, t[5] = m) : m = t[5];
83
+ const f = m;
84
84
  let g;
85
85
  t[6] === Symbol.for("react.memo_cache_sentinel") ? (g = (j) => a(j.currentTarget.value), t[6] = g) : g = t[6];
86
- let m;
87
- t[7] !== c ? (m = {
86
+ let w;
87
+ t[7] !== c ? (w = {
88
88
  value: c,
89
89
  onChange: g,
90
90
  className: "w-100",
91
91
  autoFocus: !0,
92
92
  tabIndex: 0
93
- }, t[7] = c, t[8] = m) : m = t[8];
94
- const b = m;
93
+ }, t[7] = c, t[8] = w) : w = t[8];
94
+ const b = w;
95
95
  let d, S;
96
96
  t[9] !== s || t[10] !== r.defaultValue ? (d = () => {
97
97
  s === !0 && a(r.defaultValue ?? "");
@@ -103,7 +103,7 @@ const mt = (t) => {
103
103
  let _;
104
104
  t[18] !== b || t[19] !== r.input || t[20] !== r.type ? (_ = r.input === "input" ? /* @__PURE__ */ y(Ue, { ...b, type: r.type }) : void 0, t[18] = b, t[19] = r.input, t[20] = r.type, t[21] = _) : _ = t[21];
105
105
  let v;
106
- t[22] !== C || t[23] !== _ ? (v = /* @__PURE__ */ L(H.Body, { children: [
106
+ t[22] !== C || t[23] !== _ ? (v = /* @__PURE__ */ R(H.Body, { children: [
107
107
  C,
108
108
  _
109
109
  ] }), t[22] = C, t[23] = _, t[24] = v) : v = t[24];
@@ -113,17 +113,17 @@ const mt = (t) => {
113
113
  let P;
114
114
  t[28] !== n.confirm || t[29] !== W ? (P = /* @__PURE__ */ y(ie, { color: "primary", disabled: W, type: "submit", className: "flex-grow-1", children: n.confirm }), t[28] = n.confirm, t[29] = W, t[30] = P) : P = t[30];
115
115
  let M;
116
- t[31] !== k || t[32] !== P ? (M = /* @__PURE__ */ L(H.Footer, { className: "w-100 d-flex gap-5", children: [
116
+ t[31] !== k || t[32] !== P ? (M = /* @__PURE__ */ R(H.Footer, { className: "w-100 d-flex gap-5", children: [
117
117
  k,
118
118
  P
119
119
  ] }), t[31] = k, t[32] = P, t[33] = M) : M = t[33];
120
120
  let x;
121
- t[34] !== f || t[35] !== v || t[36] !== M ? (x = /* @__PURE__ */ L("form", { onSubmit: f, onKeyDown: St, children: [
121
+ t[34] !== f || t[35] !== v || t[36] !== M ? (x = /* @__PURE__ */ R("form", { onSubmit: f, onKeyDown: St, children: [
122
122
  v,
123
123
  M
124
124
  ] }), t[34] = f, t[35] = v, t[36] = M, t[37] = x) : x = t[37];
125
125
  let O;
126
- return t[38] !== s || t[39] !== u || t[40] !== x || t[41] !== p ? (O = /* @__PURE__ */ L(H, { show: s, size: "sm", centered: !0, onHide: u, children: [
126
+ return t[38] !== s || t[39] !== u || t[40] !== x || t[41] !== p ? (O = /* @__PURE__ */ R(H, { show: s, size: "sm", centered: !0, onHide: u, children: [
127
127
  p,
128
128
  x
129
129
  ] }), t[38] = s, t[39] = u, t[40] = x, t[41] = p, t[42] = O) : O = t[42], O;
@@ -141,22 +141,22 @@ const bt = (t) => {
141
141
  type: "text"
142
142
  }, e[0] = c) : c = e[0];
143
143
  const [a, h] = I(c), u = Q(Ct);
144
- let w;
145
- e[1] === Symbol.for("react.memo_cache_sentinel") ? (w = (C) => {
144
+ let m;
145
+ e[1] === Symbol.for("react.memo_cache_sentinel") ? (m = (C) => {
146
146
  r(C), o(!0);
147
- }, e[1] = w) : w = e[1];
148
- const f = w;
147
+ }, e[1] = m) : m = e[1];
148
+ const f = m;
149
149
  let g;
150
150
  e[2] === Symbol.for("react.memo_cache_sentinel") ? (g = () => {
151
151
  o(!1);
152
152
  }, e[2] = g) : g = e[2];
153
- const m = g;
153
+ const w = g;
154
154
  let b;
155
155
  e[3] !== s || e[4] !== a || e[5] !== i ? (b = {
156
156
  isShown: s,
157
157
  text: i,
158
158
  showPrompt: f,
159
- hidePrompt: m,
159
+ hidePrompt: w,
160
160
  resolveRef: u,
161
161
  options: a,
162
162
  setOptions: h
@@ -165,7 +165,7 @@ const bt = (t) => {
165
165
  let S;
166
166
  e[7] === Symbol.for("react.memo_cache_sentinel") ? (S = /* @__PURE__ */ y(wt, {}), e[7] = S) : S = e[7];
167
167
  let p;
168
- return e[8] !== n || e[9] !== d ? (p = /* @__PURE__ */ L(Ae.Provider, { value: d, children: [
168
+ return e[8] !== n || e[9] !== d ? (p = /* @__PURE__ */ R(Ae.Provider, { value: d, children: [
169
169
  n,
170
170
  S
171
171
  ] }), e[8] = n, e[9] = d, e[10] = p) : p = e[10], p;
@@ -193,16 +193,16 @@ const on = (t) => {
193
193
  localizationContext: c,
194
194
  chartColorPalette: a
195
195
  }, e[0] = r, e[1] = s, e[2] = a, e[3] = n, e[4] = o, e[5] = c, e[6] = i, e[7] = u) : u = e[7];
196
- const w = u;
196
+ const m = u;
197
197
  let f;
198
198
  e[8] === Symbol.for("react.memo_cache_sentinel") ? (f = /* @__PURE__ */ y(We, {}), e[8] = f) : f = e[8];
199
199
  let g;
200
- e[9] !== h ? (g = /* @__PURE__ */ y(mt, { children: /* @__PURE__ */ L(bt, { children: [
200
+ e[9] !== h ? (g = /* @__PURE__ */ y(mt, { children: /* @__PURE__ */ R(bt, { children: [
201
201
  f,
202
202
  h
203
203
  ] }) }), e[9] = h, e[10] = g) : g = e[10];
204
- let m;
205
- return e[11] !== w || e[12] !== g ? (m = /* @__PURE__ */ y(ae.Provider, { value: w, children: g }), e[11] = w, e[12] = g, e[13] = m) : m = e[13], m;
204
+ let w;
205
+ return e[11] !== m || e[12] !== g ? (w = /* @__PURE__ */ y(ae.Provider, { value: m, children: g }), e[11] = m, e[12] = g, e[13] = w) : w = e[13], w;
206
206
  }, sn = (t) => {
207
207
  const e = N.c(15), {
208
208
  children: n
@@ -220,20 +220,20 @@ const on = (t) => {
220
220
  r.delete(b), r.size === 0 && o(!1);
221
221
  }, e[3] = r, e[4] = h) : h = e[4];
222
222
  const u = h;
223
- let w;
224
- e[5] !== s || e[6] !== a || e[7] !== u ? (w = {
223
+ let m;
224
+ e[5] !== s || e[6] !== a || e[7] !== u ? (m = {
225
225
  isLoading: s,
226
226
  startLoading: a,
227
227
  stopLoading: u
228
- }, e[5] = s, e[6] = a, e[7] = u, e[8] = w) : w = e[8];
229
- const f = w;
228
+ }, e[5] = s, e[6] = a, e[7] = u, e[8] = m) : m = e[8];
229
+ const f = m;
230
230
  let g;
231
- e[9] !== s ? (g = s && /* @__PURE__ */ y(at, {}), e[9] = s, e[10] = g) : g = e[10];
232
- let m;
233
- return e[11] !== n || e[12] !== f || e[13] !== g ? (m = /* @__PURE__ */ L(je.Provider, { value: f, children: [
231
+ e[9] !== s ? (g = s && /* @__PURE__ */ y(lt, {}), e[9] = s, e[10] = g) : g = e[10];
232
+ let w;
233
+ return e[11] !== n || e[12] !== f || e[13] !== g ? (w = /* @__PURE__ */ R(je.Provider, { value: f, children: [
234
234
  g,
235
235
  n
236
- ] }), e[11] = n, e[12] = f, e[13] = g, e[14] = m) : m = e[14], m;
236
+ ] }), e[11] = n, e[12] = f, e[13] = g, e[14] = w) : w = e[14], w;
237
237
  }, rn = (t) => {
238
238
  const e = N.c(39), {
239
239
  children: n
@@ -245,17 +245,17 @@ const on = (t) => {
245
245
  setDelegation: c,
246
246
  setAvailableDelegations: a,
247
247
  refreshAvailableDelegations: h
248
- } = z(De), [u, w] = I(null);
248
+ } = z(De), [u, m] = I(null);
249
249
  let f;
250
250
  e[0] !== i ? (f = async () => {
251
251
  const A = await i();
252
- A && w(A.token);
252
+ A && m(A.token);
253
253
  }, e[0] = i, e[1] = f) : f = e[1];
254
254
  const g = f;
255
- let m, b;
256
- e[2] !== g ? (m = () => {
255
+ let w, b;
256
+ e[2] !== g ? (w = () => {
257
257
  g();
258
- }, b = [g], e[2] = g, e[3] = m, e[4] = b) : (m = e[3], b = e[4]), B(m, b);
258
+ }, b = [g], e[2] = g, e[3] = w, e[4] = b) : (w = e[3], b = e[4]), B(w, b);
259
259
  let d;
260
260
  if (e[5] === Symbol.for("react.memo_cache_sentinel")) {
261
261
  e: {
@@ -320,7 +320,7 @@ const on = (t) => {
320
320
  const A = o.addEventCallback(($) => {
321
321
  if ($.eventType === ge.LOGIN_SUCCESS && $.payload) {
322
322
  const de = $.payload;
323
- w(de.accessToken);
323
+ m(de.accessToken);
324
324
  }
325
325
  });
326
326
  return () => {
@@ -363,9 +363,9 @@ const vt = () => {
363
363
  let e;
364
364
  t[0] === Symbol.for("react.memo_cache_sentinel") ? (e = /* @__PURE__ */ y("p", { children: "Redirecting..." }), t[0] = e) : e = t[0];
365
365
  let n;
366
- return t[1] === Symbol.for("react.memo_cache_sentinel") ? (n = /* @__PURE__ */ L("div", { children: [
366
+ return t[1] === Symbol.for("react.memo_cache_sentinel") ? (n = /* @__PURE__ */ R("div", { children: [
367
367
  e,
368
- /* @__PURE__ */ L("p", { children: [
368
+ /* @__PURE__ */ R("p", { children: [
369
369
  "If you are not redirected within 10 seconds, please click",
370
370
  " ",
371
371
  /* @__PURE__ */ y("a", { href: window.location.href.replace("/blank", "/"), children: "here" })
@@ -383,7 +383,7 @@ const vt = () => {
383
383
  }) => {
384
384
  const {
385
385
  inProgress: e
386
- } = ct(), {
386
+ } = at(), {
387
387
  cookieDomain: n
388
388
  } = z(ae), [, s] = ze(["Authorization"]), o = F(
389
389
  () => t.useMsal ? t.msalInstance : null,
@@ -397,13 +397,13 @@ const vt = () => {
397
397
  () => t.useMsal ? t.msalExtraScopes : [],
398
398
  // eslint-disable-next-line react-hooks/exhaustive-deps
399
399
  [t.useMsal, t.useMsal ? t.msalExtraScopes : null]
400
- ), c = Q(null), a = Q(!1), h = Y(() => {
400
+ ), c = Q(null), a = Q(!1), h = q(() => {
401
401
  const d = localStorage.getItem("token");
402
402
  return d ? {
403
403
  token: d,
404
- expiresOn: lt(new Date(Date.now()), 1)
404
+ expiresOn: ht(new Date(Date.now()), 1)
405
405
  } : null;
406
- }, []), u = Y(async () => {
406
+ }, []), u = q(async () => {
407
407
  if (console.log("getTokenMsal"), o == null)
408
408
  throw console.log("getTokenMsal throwing error because msalInstance is null"), new Error("getTokenMsal: msalInstance is null");
409
409
  if (c.current)
@@ -428,7 +428,7 @@ const vt = () => {
428
428
  expiresOn: k.expiresOn ?? new Date(Date.now())
429
429
  });
430
430
  }).catch((k) => {
431
- console.error("Error acquiring token", k), k instanceof rt && (console.log("Silent token acquisition failed. Acquiring token using redirect"), o == null || o.acquireTokenRedirect({
431
+ console.error("Error acquiring token", k), k instanceof it && (console.log("Silent token acquisition failed. Acquiring token using redirect"), o == null || o.acquireTokenRedirect({
432
432
  scopes: i,
433
433
  extraScopesToConsent: r
434
434
  }), _(), S(null)), _(), p(k);
@@ -452,22 +452,20 @@ const vt = () => {
452
452
  });
453
453
  });
454
454
  return c.current = d, d;
455
- }, [r, o, i, t.msalSilentRedirectUri, t.useMsal]), w = Y(async () => t.useMsal ? u() : h(), [h, u, t.useMsal]), f = Y((d) => t.useMsal ? () => {
455
+ }, [r, o, i, t.msalSilentRedirectUri, t.useMsal]), m = q(async () => t.useMsal ? u() : h(), [h, u, t.useMsal]), f = q((d) => t.useMsal ? () => {
456
456
  } : (window.addEventListener("storage", d), window.addEventListener("dev-auth-change", d), () => {
457
457
  window.removeEventListener("storage", d), window.removeEventListener("dev-auth-change", d);
458
- }), [t.useMsal]), g = ot(f, () => localStorage.getItem("token") !== null ? "AUTH_OK" : "NO_AUTH"), m = F(() => {
458
+ }), [t.useMsal]), g = st(f, () => localStorage.getItem("token") !== null ? "AUTH_OK" : "NO_AUTH"), w = F(() => {
459
459
  var d;
460
- return t.useMsal ? e !== st.None ? "AUTH_IN_PROGRESS" : (o == null ? void 0 : o.getActiveAccount()) ?? ((d = o == null ? void 0 : o.getAllAccounts()) == null ? void 0 : d[0]) ?? null ? "AUTH_OK" : "NO_AUTH" : g;
461
- }, [g, e, o, t.useMsal]);
462
- console.log("authState", m);
463
- const b = F(() => ({
460
+ return t.useMsal ? e !== rt.None ? "AUTH_IN_PROGRESS" : (o == null ? void 0 : o.getActiveAccount()) ?? ((d = o == null ? void 0 : o.getAllAccounts()) == null ? void 0 : d[0]) ?? null ? "AUTH_OK" : "NO_AUTH" : g;
461
+ }, [g, e, o, t.useMsal]), b = F(() => ({
464
462
  useMsal: t.useMsal ?? !1,
465
463
  msalInstance: o,
466
464
  msalScopes: i,
467
465
  msalExtraScopes: r,
468
- getToken: w,
469
- authState: m
470
- }), [t.useMsal, o, i, r, w, m]);
466
+ getToken: m,
467
+ authState: w
468
+ }), [t.useMsal, o, i, r, m, w]);
471
469
  return B(() => {
472
470
  if (t.useMsal && o) {
473
471
  const d = o.addEventCallback((S) => {
@@ -501,7 +499,7 @@ const vt = () => {
501
499
  let o;
502
500
  e[2] !== n ? (o = /* @__PURE__ */ y(ye, { ...n }), e[2] = n, e[3] = o) : o = e[3];
503
501
  let i;
504
- return e[4] !== n.msalInstance || e[5] !== o ? (i = /* @__PURE__ */ y(it, { instance: n.msalInstance, children: o }), e[4] = n.msalInstance, e[5] = o, e[6] = i) : i = e[6], i;
502
+ return e[4] !== n.msalInstance || e[5] !== o ? (i = /* @__PURE__ */ y(ct, { instance: n.msalInstance, children: o }), e[4] = n.msalInstance, e[5] = o, e[6] = i) : i = e[6], i;
505
503
  }
506
504
  let s;
507
505
  return e[7] !== n ? (s = /* @__PURE__ */ y(ye, { ...n }), e[7] = n, e[8] = s) : s = e[8], s;
@@ -509,7 +507,7 @@ const vt = () => {
509
507
  const e = N.c(18), {
510
508
  children: n,
511
509
  relativeEndpoint: s
512
- } = t, [o, i, r] = ht("user-delegation", null);
510
+ } = t, [o, i, r] = ut("user-delegation", null);
513
511
  let c;
514
512
  e: {
515
513
  if (!o) {
@@ -534,18 +532,18 @@ const vt = () => {
534
532
  }, e[0] = h) : h = e[0];
535
533
  const {
536
534
  data: u,
537
- setData: w,
535
+ setData: m,
538
536
  reloadData: f
539
- } = ut(s, h), g = Q(null);
540
- let m, b;
541
- e[1] !== f ? (m = () => {
537
+ } = Ge(s, h), g = Q(null);
538
+ let w, b;
539
+ e[1] !== f ? (w = () => {
542
540
  const v = () => {
543
- f(), g.current = window.setTimeout(v, Ge() + 5e3);
541
+ f(), g.current = window.setTimeout(v, Ve() + 5e3);
544
542
  };
545
543
  return v(), () => {
546
544
  g.current !== null && window.clearTimeout(g.current);
547
545
  };
548
- }, b = [f], e[1] = f, e[2] = m, e[3] = b) : (m = e[2], b = e[3]), B(m, b);
546
+ }, b = [f], e[1] = f, e[2] = w, e[3] = b) : (w = e[2], b = e[3]), B(w, b);
549
547
  let d;
550
548
  e[4] !== r ? (d = () => {
551
549
  const v = () => {
@@ -558,13 +556,13 @@ const vt = () => {
558
556
  let S;
559
557
  e[6] !== r || e[7] !== f ? (S = [r, f], e[6] = r, e[7] = f, e[8] = S) : S = e[8], B(d, S);
560
558
  let p;
561
- e[9] !== u || e[10] !== f || e[11] !== w || e[12] !== i || e[13] !== a ? (p = {
559
+ e[9] !== u || e[10] !== f || e[11] !== m || e[12] !== i || e[13] !== a ? (p = {
562
560
  delegation: a,
563
561
  setDelegation: i,
564
562
  availableDelegations: u,
565
- setAvailableDelegations: w,
563
+ setAvailableDelegations: m,
566
564
  refreshAvailableDelegations: f
567
- }, e[9] = u, e[10] = f, e[11] = w, e[12] = i, e[13] = a, e[14] = p) : p = e[14];
565
+ }, e[9] = u, e[10] = f, e[11] = m, e[12] = i, e[13] = a, e[14] = p) : p = e[14];
568
566
  const C = p;
569
567
  let _;
570
568
  return e[15] !== n || e[16] !== C ? (_ = /* @__PURE__ */ y(De.Provider, { value: C, children: n }), e[15] = n, e[16] = C, e[17] = _) : _ = e[17], _;
@@ -583,25 +581,25 @@ const vt = () => {
583
581
  e[5] !== o ? (u = (_) => {
584
582
  h((v) => [...v, ve(o ?? "", _)]);
585
583
  }, e[5] = o, e[6] = u) : u = e[6];
586
- const w = u;
584
+ const m = u;
587
585
  let f;
588
586
  e[7] === Symbol.for("react.memo_cache_sentinel") ? (f = () => {
589
587
  h(Tt);
590
588
  }, e[7] = f) : f = e[7];
591
589
  const g = f;
592
- let m;
593
- e[8] !== a ? (m = a.at(-1) ?? "", e[8] = a, e[9] = m) : m = e[9];
594
- const b = m;
590
+ let w;
591
+ e[8] !== a ? (w = a.at(-1) ?? "", e[8] = a, e[9] = w) : w = e[9];
592
+ const b = w;
595
593
  let d;
596
- e[10] !== w ? (d = {
597
- addHelmet: w,
594
+ e[10] !== m ? (d = {
595
+ addHelmet: m,
598
596
  removeHelmet: g
599
- }, e[10] = w, e[11] = d) : d = e[11];
597
+ }, e[10] = m, e[11] = d) : d = e[11];
600
598
  const S = d;
601
599
  let p;
602
600
  e[12] !== b ? (p = /* @__PURE__ */ y("title", { children: b }), e[12] = b, e[13] = p) : p = e[13];
603
601
  let C;
604
- return e[14] !== s || e[15] !== S || e[16] !== p ? (C = /* @__PURE__ */ L(Ve.Provider, { value: S, children: [
602
+ return e[14] !== s || e[15] !== S || e[16] !== p ? (C = /* @__PURE__ */ R(Xe.Provider, { value: S, children: [
605
603
  p,
606
604
  s
607
605
  ] }), e[14] = s, e[15] = S, e[16] = p, e[17] = C) : C = e[17], C;
@@ -648,11 +646,11 @@ class le {
648
646
  }
649
647
  class Et extends le {
650
648
  constructor(e) {
651
- if (super(), this._logger = e, typeof fetch > "u" || R.isNode) {
649
+ if (super(), this._logger = e, typeof fetch > "u" || L.isNode) {
652
650
  const n = typeof __webpack_require__ == "function" ? __non_webpack_require__ : require;
653
651
  this._jar = new (n("tough-cookie")).CookieJar(), typeof fetch > "u" ? this._fetchType = n("node-fetch") : this._fetchType = fetch, this._fetchType = n("fetch-cookie")(this._fetchType, this._jar);
654
652
  } else
655
- this._fetchType = fetch.bind(Xe());
653
+ this._fetchType = fetch.bind(Ke());
656
654
  if (typeof AbortController > "u") {
657
655
  const n = typeof __webpack_require__ == "function" ? __non_webpack_require__ : require;
658
656
  this._abortControllerType = n("abort-controller");
@@ -709,7 +707,7 @@ class Et extends le {
709
707
  }
710
708
  getCookieString(e) {
711
709
  let n = "";
712
- return R.isNode && this._jar && this._jar.getCookies(e, (s, o) => n = o.join("; ")), n;
710
+ return L.isNode && this._jar && this._jar.getCookies(e, (s, o) => n = o.join("; ")), n;
713
711
  }
714
712
  }
715
713
  function ke(t, e) {
@@ -758,7 +756,7 @@ class Pt extends le {
758
756
  class xt extends le {
759
757
  /** Creates a new instance of the {@link @microsoft/signalr.DefaultHttpClient}, using the provided {@link @microsoft/signalr.ILogger} to log messages. */
760
758
  constructor(e) {
761
- if (super(), typeof fetch < "u" || R.isNode)
759
+ if (super(), typeof fetch < "u" || L.isNode)
762
760
  this._httpClient = new Et(e);
763
761
  else if (typeof XMLHttpRequest < "u")
764
762
  this._httpClient = new Pt(e);
@@ -836,7 +834,7 @@ class Ee {
836
834
  async connect(e, n) {
837
835
  if (E.isRequired(e, "url"), E.isRequired(n, "transferFormat"), E.isIn(n, D, "transferFormat"), this._url = e, this._logger.log(l.Trace, "(LongPolling transport) Connecting."), n === D.Binary && typeof XMLHttpRequest < "u" && typeof new XMLHttpRequest().responseType != "string")
838
836
  throw new Error("Binary protocols over XmlHttpRequest not implementing advanced features are not supported.");
839
- const [s, o] = q(), i = { [s]: o, ...this._options.headers }, r = {
837
+ const [s, o] = Y(), i = { [s]: o, ...this._options.headers }, r = {
840
838
  abortSignal: this._pollAbort.signal,
841
839
  headers: i,
842
840
  timeout: 1e5,
@@ -864,13 +862,13 @@ class Ee {
864
862
  }
865
863
  }
866
864
  async send(e) {
867
- return this._running ? Re(this._logger, "LongPolling", this._httpClient, this._url, e, this._options) : Promise.reject(new Error("Cannot send until the transport is connected"));
865
+ return this._running ? Le(this._logger, "LongPolling", this._httpClient, this._url, e, this._options) : Promise.reject(new Error("Cannot send until the transport is connected"));
868
866
  }
869
867
  async stop() {
870
868
  this._logger.log(l.Trace, "(LongPolling transport) Stopping polling."), this._running = !1, this._pollAbort.abort();
871
869
  try {
872
870
  await this._receiving, this._logger.log(l.Trace, `(LongPolling transport) sending DELETE request to ${this._url}.`);
873
- const e = {}, [n, s] = q();
871
+ const e = {}, [n, s] = Y();
874
872
  e[n] = s;
875
873
  const o = {
876
874
  headers: { ...e, ...this._options.headers },
@@ -895,7 +893,7 @@ class Ee {
895
893
  }
896
894
  }
897
895
  }
898
- class Rt {
896
+ class Lt {
899
897
  constructor(e, n, s, o) {
900
898
  this._httpClient = e, this._accessToken = n, this._logger = s, this._options = o, this.onreceive = null, this.onclose = null;
901
899
  }
@@ -907,12 +905,12 @@ class Rt {
907
905
  return;
908
906
  }
909
907
  let r;
910
- if (R.isBrowser || R.isWebWorker)
908
+ if (L.isBrowser || L.isWebWorker)
911
909
  r = new this._options.EventSource(e, { withCredentials: this._options.withCredentials });
912
910
  else {
913
911
  const c = this._httpClient.getCookieString(e), a = {};
914
912
  a.Cookie = c;
915
- const [h, u] = q();
913
+ const [h, u] = Y();
916
914
  a[h] = u, r = new this._options.EventSource(e, { withCredentials: this._options.withCredentials, headers: { ...a, ...this._options.headers } });
917
915
  }
918
916
  try {
@@ -936,7 +934,7 @@ class Rt {
936
934
  });
937
935
  }
938
936
  async send(e) {
939
- return this._eventSource ? Re(this._logger, "SSE", this._httpClient, this._url, e, this._options) : Promise.reject(new Error("Cannot send until the transport is connected"));
937
+ return this._eventSource ? Le(this._logger, "SSE", this._httpClient, this._url, e, this._options) : Promise.reject(new Error("Cannot send until the transport is connected"));
940
938
  }
941
939
  stop() {
942
940
  return this._close(), Promise.resolve();
@@ -945,7 +943,7 @@ class Rt {
945
943
  this._eventSource && (this._eventSource.close(), this._eventSource = void 0, this.onclose && this.onclose(e));
946
944
  }
947
945
  }
948
- class Lt {
946
+ class Rt {
949
947
  constructor(e, n, s, o, i, r) {
950
948
  this._logger = s, this._accessTokenFactory = n, this._logMessageContent = o, this._webSocketConstructor = i, this._httpClient = e, this.onreceive = null, this.onclose = null, this._headers = r;
951
949
  }
@@ -957,9 +955,9 @@ class Lt {
957
955
  let r;
958
956
  const c = this._httpClient.getCookieString(e);
959
957
  let a = !1;
960
- if (R.isNode || R.isReactNative) {
961
- const h = {}, [u, w] = q();
962
- h[u] = w, s && (h[X.Authorization] = `Bearer ${s}`), c && (h[X.Cookie] = c), r = new this._webSocketConstructor(e, void 0, {
958
+ if (L.isNode || L.isReactNative) {
959
+ const h = {}, [u, m] = Y();
960
+ h[u] = m, s && (h[X.Authorization] = `Bearer ${s}`), c && (h[X.Cookie] = c), r = new this._webSocketConstructor(e, void 0, {
963
961
  headers: { ...h, ...this._headers }
964
962
  });
965
963
  } else
@@ -1007,17 +1005,17 @@ const Pe = 100;
1007
1005
  class Mt {
1008
1006
  constructor(e, n = {}) {
1009
1007
  if (this._stopPromiseResolver = () => {
1010
- }, this.features = {}, this._negotiateVersion = 1, E.isRequired(e, "url"), this._logger = Ke(n.logger), this.baseUrl = this._resolveUrl(e), n = n || {}, n.logMessageContent = n.logMessageContent === void 0 ? !1 : n.logMessageContent, typeof n.withCredentials == "boolean" || n.withCredentials === void 0)
1008
+ }, this.features = {}, this._negotiateVersion = 1, E.isRequired(e, "url"), this._logger = Je(n.logger), this.baseUrl = this._resolveUrl(e), n = n || {}, n.logMessageContent = n.logMessageContent === void 0 ? !1 : n.logMessageContent, typeof n.withCredentials == "boolean" || n.withCredentials === void 0)
1011
1009
  n.withCredentials = n.withCredentials === void 0 ? !0 : n.withCredentials;
1012
1010
  else
1013
1011
  throw new Error("withCredentials option was not a 'boolean' or 'undefined' value");
1014
1012
  n.timeout = n.timeout === void 0 ? 100 * 1e3 : n.timeout;
1015
1013
  let s = null, o = null;
1016
- if (R.isNode && typeof require < "u") {
1014
+ if (L.isNode && typeof require < "u") {
1017
1015
  const i = typeof __webpack_require__ == "function" ? __non_webpack_require__ : require;
1018
1016
  s = i("ws"), o = i("eventsource");
1019
1017
  }
1020
- !R.isNode && typeof WebSocket < "u" && !n.WebSocket ? n.WebSocket = WebSocket : R.isNode && !n.WebSocket && s && (n.WebSocket = s), !R.isNode && typeof EventSource < "u" && !n.EventSource ? n.EventSource = EventSource : R.isNode && !n.EventSource && typeof o < "u" && (n.EventSource = o), this._httpClient = new Dt(n.httpClient || new xt(this._logger), n.accessTokenFactory), this._connectionState = "Disconnected", this._connectionStarted = !1, this._options = n, this.onreceive = null, this.onclose = null;
1018
+ !L.isNode && typeof WebSocket < "u" && !n.WebSocket ? n.WebSocket = WebSocket : L.isNode && !n.WebSocket && s && (n.WebSocket = s), !L.isNode && typeof EventSource < "u" && !n.EventSource ? n.EventSource = EventSource : L.isNode && !n.EventSource && typeof o < "u" && (n.EventSource = o), this._httpClient = new Dt(n.httpClient || new xt(this._logger), n.accessTokenFactory), this._connectionState = "Disconnected", this._connectionStarted = !1, this._options = n, this.onreceive = null, this.onclose = null;
1021
1019
  }
1022
1020
  async start(e) {
1023
1021
  if (e = e || D.Binary, E.isIn(e, D, "transferFormat"), this._logger.log(l.Debug, `Starting connection with transfer format '${D[e]}'.`), this._connectionState !== "Disconnected")
@@ -1093,7 +1091,7 @@ class Mt {
1093
1091
  }
1094
1092
  }
1095
1093
  async _getNegotiationResponse(e) {
1096
- const n = {}, [s, o] = q();
1094
+ const n = {}, [s, o] = Y();
1097
1095
  n[s] = o;
1098
1096
  const i = this._resolveNegotiateUrl(e);
1099
1097
  this._logger.log(l.Debug, `Sending negotiation request: ${i}.`);
@@ -1132,34 +1130,34 @@ class Mt {
1132
1130
  if (this.transport = u, !a) {
1133
1131
  try {
1134
1132
  a = await this._getNegotiationResponse(e);
1135
- } catch (w) {
1136
- return Promise.reject(w);
1133
+ } catch (m) {
1134
+ return Promise.reject(m);
1137
1135
  }
1138
1136
  i = this._createConnectUrl(e, a.connectionToken);
1139
1137
  }
1140
1138
  try {
1141
1139
  await this._startTransport(i, o), this.connectionId = a.connectionId;
1142
1140
  return;
1143
- } catch (w) {
1144
- if (this._logger.log(l.Error, `Failed to start the transport '${h.transport}': ${w}`), a = void 0, r.push(new Je(`${h.transport} failed: ${w}`, T[h.transport])), this._connectionState !== "Connecting") {
1141
+ } catch (m) {
1142
+ if (this._logger.log(l.Error, `Failed to start the transport '${h.transport}': ${m}`), a = void 0, r.push(new Qe(`${h.transport} failed: ${m}`, T[h.transport])), this._connectionState !== "Connecting") {
1145
1143
  const f = "Failed to select transport before stop() was called.";
1146
1144
  return this._logger.log(l.Debug, f), Promise.reject(new U(f));
1147
1145
  }
1148
1146
  }
1149
1147
  }
1150
1148
  }
1151
- return r.length > 0 ? Promise.reject(new Qe(`Unable to connect to the server with any of the available transports. ${r.join(" ")}`, r)) : Promise.reject(new Error("None of the transports supported by the client are supported by the server."));
1149
+ return r.length > 0 ? Promise.reject(new qe(`Unable to connect to the server with any of the available transports. ${r.join(" ")}`, r)) : Promise.reject(new Error("None of the transports supported by the client are supported by the server."));
1152
1150
  }
1153
1151
  _constructTransport(e) {
1154
1152
  switch (e) {
1155
1153
  case T.WebSockets:
1156
1154
  if (!this._options.WebSocket)
1157
1155
  throw new Error("'WebSocket' is not supported in your environment.");
1158
- return new Lt(this._httpClient, this._accessTokenFactory, this._logger, this._options.logMessageContent, this._options.WebSocket, this._options.headers || {});
1156
+ return new Rt(this._httpClient, this._accessTokenFactory, this._logger, this._options.logMessageContent, this._options.WebSocket, this._options.headers || {});
1159
1157
  case T.ServerSentEvents:
1160
1158
  if (!this._options.EventSource)
1161
1159
  throw new Error("'EventSource' is not supported in your environment.");
1162
- return new Rt(this._httpClient, this._httpClient._accessToken, this._logger, this._options);
1160
+ return new Lt(this._httpClient, this._httpClient._accessToken, this._logger, this._options);
1163
1161
  case T.LongPolling:
1164
1162
  return new Ee(this._httpClient, this._logger, this._options);
1165
1163
  default:
@@ -1199,7 +1197,7 @@ class Mt {
1199
1197
  } else
1200
1198
  return this._logger.log(l.Debug, `Skipping transport '${T[i]}' because it does not support the requested transfer format '${D[s]}'.`), new Error(`'${T[i]}' does not support ${D[s]}.`);
1201
1199
  else
1202
- return this._logger.log(l.Debug, `Skipping transport '${T[i]}' because it was disabled by the client.`), new qe(`'${T[i]}' is disabled by the client.`, i);
1200
+ return this._logger.log(l.Debug, `Skipping transport '${T[i]}' because it was disabled by the client.`), new Ze(`'${T[i]}' is disabled by the client.`, i);
1203
1201
  }
1204
1202
  _isITransport(e) {
1205
1203
  return e && typeof e == "object" && "connect" in e;
@@ -1225,7 +1223,7 @@ class Mt {
1225
1223
  _resolveUrl(e) {
1226
1224
  if (e.lastIndexOf("https://", 0) === 0 || e.lastIndexOf("http://", 0) === 0)
1227
1225
  return e;
1228
- if (!R.isBrowser)
1226
+ if (!L.isBrowser)
1229
1227
  throw new Error(`Cannot resolve '${e}'.`);
1230
1228
  const n = window.document.createElement("a");
1231
1229
  return n.href = e, this._logger.log(l.Information, `Normalizing '${e}' to '${n.href}'.`), n.href;
@@ -1307,7 +1305,7 @@ class Ot {
1307
1305
  throw new Error("Invalid input for JSON hub protocol. Expected a string.");
1308
1306
  if (!e)
1309
1307
  return [];
1310
- n === null && (n = Le.instance);
1308
+ n === null && (n = Re.instance);
1311
1309
  const s = be.parse(e), o = [];
1312
1310
  for (const i of s) {
1313
1311
  const r = JSON.parse(i);
@@ -1450,7 +1448,7 @@ class Wt {
1450
1448
  if (e.logger === void 0 && (e.logger = this.logger), !this.url)
1451
1449
  throw new Error("The 'HubConnectionBuilder.withUrl' method must be called before building the connection.");
1452
1450
  const n = new Mt(this.url, e);
1453
- return Ze.create(n, this.logger || Le.instance, this.protocol || new Ot(), this.reconnectPolicy, this._serverTimeoutInMilliseconds, this._keepAliveIntervalInMilliseconds, this._statefulReconnectBufferSize);
1451
+ return et.create(n, this.logger || Re.instance, this.protocol || new Ot(), this.reconnectPolicy, this._serverTimeoutInMilliseconds, this._keepAliveIntervalInMilliseconds, this._statefulReconnectBufferSize);
1454
1452
  }
1455
1453
  }
1456
1454
  function jt(t) {
@@ -1464,18 +1462,18 @@ const Ft = 10 * 1e3, Bt = 15 * 1e3, un = ({
1464
1462
  const {
1465
1463
  authState: s,
1466
1464
  getToken: o
1467
- } = z(pe), i = dt(), [r, c] = I(fe.Disconnected), [a, h] = I(!1), u = Q(null), w = Q(o);
1468
- w.current = o;
1469
- const f = Y(() => {
1465
+ } = z(pe), i = dt(), [r, c] = I(fe.Disconnected), [a, h] = I(!1), u = Q(null), m = Q(o);
1466
+ m.current = o;
1467
+ const f = q(() => {
1470
1468
  var d;
1471
1469
  return c(((d = u.current) == null ? void 0 : d.state) ?? fe.Disconnected);
1472
1470
  }, []);
1473
1471
  B(() => {
1474
- if (console.log("useEffect apiwebsocket authState", s), s !== "AUTH_OK" || !i)
1472
+ if (s !== "AUTH_OK" || !i)
1475
1473
  return;
1476
1474
  let d = !1, S = null;
1477
1475
  const p = new Wt().withUrl(`${e}/${n}`, {
1478
- accessTokenFactory: () => w.current().then((_) => (_ == null ? void 0 : _.token) ?? "")
1476
+ accessTokenFactory: () => m.current().then((_) => (_ == null ? void 0 : _.token) ?? "")
1479
1477
  }).withAutomaticReconnect({
1480
1478
  nextRetryDelayInMilliseconds: (_) => Math.min(1e3 * 2 ** _.previousRetryCount, Bt)
1481
1479
  }).build();
@@ -1507,12 +1505,12 @@ const Ft = 10 * 1e3, Bt = 15 * 1e3, un = ({
1507
1505
  });
1508
1506
  };
1509
1507
  }, [e, s, n, f, i]);
1510
- const g = F(() => r === fe.Connected, [r]), m = F(() => s === "AUTH_OK", [s]), b = F(() => ({
1508
+ const g = F(() => r === fe.Connected, [r]), w = F(() => s === "AUTH_OK", [s]), b = F(() => ({
1511
1509
  isAlive: g,
1512
- shouldBeAlive: m,
1510
+ shouldBeAlive: w,
1513
1511
  connectionState: r,
1514
1512
  hasLastConnectionEnded: a
1515
- }), [g, m, r, a]);
1513
+ }), [g, w, r, a]);
1516
1514
  return /* @__PURE__ */ y(Me.Provider, { value: b, children: t });
1517
1515
  }, dn = () => {
1518
1516
  const t = z(Me);
@@ -1530,7 +1528,7 @@ const Ft = 10 * 1e3, Bt = 15 * 1e3, un = ({
1530
1528
  text: i,
1531
1529
  show: r,
1532
1530
  textSm: c
1533
- } = et(), a = c === void 0 ? i.length > xe : c, h = i.length > xe;
1531
+ } = tt(), a = c === void 0 ? i.length > xe : c, h = i.length > xe;
1534
1532
  let u;
1535
1533
  t[0] !== o || t[1] !== s || t[2] !== r ? (u = (p) => {
1536
1534
  if (r)
@@ -1544,21 +1542,21 @@ const Ft = 10 * 1e3, Bt = 15 * 1e3, un = ({
1544
1542
  break e;
1545
1543
  }
1546
1544
  }
1547
- }, t[0] = o, t[1] = s, t[2] = r, t[3] = u) : u = t[3], tt(u);
1545
+ }, t[0] = o, t[1] = s, t[2] = r, t[3] = u) : u = t[3], nt(u);
1548
1546
  const f = h ? void 0 : "sm";
1549
1547
  let g;
1550
- t[4] !== a || t[5] !== i ? (g = /* @__PURE__ */ y(H.Header, { className: "justify-content-center", children: a ? /* @__PURE__ */ y(nt, { variant: "body", children: i }) : /* @__PURE__ */ y(H.Title, { children: i }) }), t[4] = a, t[5] = i, t[6] = g) : g = t[6];
1551
- let m;
1552
- t[7] !== n.no || t[8] !== o ? (m = /* @__PURE__ */ y(ie, { type: "button", variant: "outlined", color: "secondary", className: "w-100", onClick: o, children: n.no }), t[7] = n.no, t[8] = o, t[9] = m) : m = t[9];
1548
+ t[4] !== a || t[5] !== i ? (g = /* @__PURE__ */ y(H.Header, { className: "justify-content-center", children: a ? /* @__PURE__ */ y(ot, { variant: "body", children: i }) : /* @__PURE__ */ y(H.Title, { children: i }) }), t[4] = a, t[5] = i, t[6] = g) : g = t[6];
1549
+ let w;
1550
+ t[7] !== n.no || t[8] !== o ? (w = /* @__PURE__ */ y(ie, { type: "button", variant: "outlined", color: "secondary", className: "w-100", onClick: o, children: n.no }), t[7] = n.no, t[8] = o, t[9] = w) : w = t[9];
1553
1551
  let b;
1554
1552
  t[10] !== n.yes || t[11] !== s ? (b = /* @__PURE__ */ y(ie, { type: "button", color: "primary", onClick: s, className: "w-100 ml", children: n.yes }), t[10] = n.yes, t[11] = s, t[12] = b) : b = t[12];
1555
1553
  let d;
1556
- t[13] !== m || t[14] !== b ? (d = /* @__PURE__ */ y(H.Body, { children: /* @__PURE__ */ L("div", { className: "w-100 d-flex gap-5", children: [
1557
- m,
1554
+ t[13] !== w || t[14] !== b ? (d = /* @__PURE__ */ y(H.Body, { children: /* @__PURE__ */ R("div", { className: "w-100 d-flex gap-5", children: [
1555
+ w,
1558
1556
  b
1559
- ] }) }), t[13] = m, t[14] = b, t[15] = d) : d = t[15];
1557
+ ] }) }), t[13] = w, t[14] = b, t[15] = d) : d = t[15];
1560
1558
  let S;
1561
- return t[16] !== o || t[17] !== r || t[18] !== f || t[19] !== g || t[20] !== d ? (S = /* @__PURE__ */ L(H, { show: r, size: f, centered: !0, onHide: o, children: [
1559
+ return t[16] !== o || t[17] !== r || t[18] !== f || t[19] !== g || t[20] !== d ? (S = /* @__PURE__ */ R(H, { show: r, size: f, centered: !0, onHide: o, children: [
1562
1560
  g,
1563
1561
  d
1564
1562
  ] }), t[16] = o, t[17] = r, t[18] = f, t[19] = g, t[20] = d, t[21] = S) : S = t[21], S;
@@ -1572,7 +1570,7 @@ export {
1572
1570
  an as DelegationProvider,
1573
1571
  pn as FormDisabledContext,
1574
1572
  wn as FormDisabledProvider,
1575
- Ve as HelmetContext,
1573
+ Xe as HelmetContext,
1576
1574
  ln as HelmetProvider,
1577
1575
  je as LoadingContext,
1578
1576
  sn as LoadingProvider,