react-luminus-components 1.1.20 → 1.1.22

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 (42) hide show
  1. package/README.md +2 -0
  2. package/dist/.vite/manifest.json +43 -43
  3. package/dist/{DataKey-Chc9JWBN.js → DataKey-B7CWQXvv.js} +1 -1
  4. package/dist/{DataKey-dhQX8cMa.cjs → DataKey-DVMbPWFY.cjs} +1 -1
  5. package/dist/{SimpleTooltip-CfoOF2bC.cjs → SimpleTooltip-D91sCKFo.cjs} +1 -1
  6. package/dist/{SimpleTooltip-Cs6KsWMk.js → SimpleTooltip-Dk1A5Tpg.js} +2 -2
  7. package/dist/components/Buttons/ContextButton/FileUploadContextButton.d.ts +12 -0
  8. package/dist/components/Buttons/index.d.ts +1 -0
  9. package/dist/components/Dropdown/comps/DropdownDivider/DropdownDivider.d.ts +6 -0
  10. package/dist/components/Dropdown/comps/DropdownItem/FileUploadDropdownItem.d.ts +12 -0
  11. package/dist/components/Dropdown/comps/index.d.ts +2 -0
  12. package/dist/components/Dropdown/index.d.ts +1 -1
  13. package/dist/components/Form/TextInput/TextInput.d.ts +2 -1
  14. package/dist/components/common/Collapse/Collapse.d.ts +14 -2
  15. package/dist/components/common/PromptDialog/PromptDialog.d.ts +3 -0
  16. package/dist/components/common/SimplePicker/SimplePicker.d.ts +2 -1
  17. package/dist/components/common/Typography/Typography.d.ts +1 -1
  18. package/dist/contexts/prompt/PromptContext.d.ts +10 -0
  19. package/dist/contexts/prompt/PromptProvider.d.ts +6 -0
  20. package/dist/contexts.cjs.js +1 -1
  21. package/dist/contexts.es.js +405 -368
  22. package/dist/{hasClass-D2q3Otcv.js → hasClass-DIHyDa4e.js} +237 -233
  23. package/dist/hasClass-DjB0wTmj.cjs +20 -0
  24. package/dist/hooks/index.d.ts +1 -0
  25. package/dist/hooks/usePrompt/usePrompt.d.ts +7 -0
  26. package/dist/hooks.cjs.js +1 -1
  27. package/dist/hooks.es.js +6 -5
  28. package/dist/layout.cjs.js +1 -1
  29. package/dist/layout.es.js +3 -3
  30. package/dist/main.cjs.js +1 -1
  31. package/dist/main.d.ts +2 -2
  32. package/dist/main.es.js +1161 -1119
  33. package/dist/models/texts/ConfirmTexts.d.ts +2 -0
  34. package/dist/style.css +1 -1
  35. package/dist/{useAxios-Ce32mjz9.cjs → useAxios-B4X7zKtj.cjs} +36 -36
  36. package/dist/{useAxios-D-fCu46c.js → useAxios-CHbKHRpj.js} +195 -181
  37. package/dist/useConfirm-CrTJszXF.cjs +1 -0
  38. package/dist/useConfirm-CyietOP-.js +27 -0
  39. package/package.json +1 -1
  40. package/dist/hasClass-Dg19NteG.cjs +0 -20
  41. package/dist/useConfirm-BM62r8mq.cjs +0 -1
  42. package/dist/useConfirm-CTpbtdnu.js +0 -18
@@ -1,5 +1,5 @@
1
1
  import * as N from "react";
2
- import q, { createContext as De, useEffect as lt, useCallback as ne, useState as fn, useContext as or } from "react";
2
+ import q, { createContext as he, useEffect as lt, useCallback as ne, useState as fn, useContext as or } from "react";
3
3
  import { t as dn, e as pn } from "./textUtils-Bd2QCbzF.js";
4
4
  function hn(e) {
5
5
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
@@ -197,7 +197,7 @@ function gn() {
197
197
  }
198
198
  }
199
199
  var He = _.ReactCurrentDispatcher, $e;
200
- function ye(a, d, m) {
200
+ function be(a, d, m) {
201
201
  {
202
202
  if ($e === void 0)
203
203
  try {
@@ -210,16 +210,16 @@ function gn() {
210
210
  ` + $e + a;
211
211
  }
212
212
  }
213
- var Ve = !1, be;
213
+ var Ve = !1, ve;
214
214
  {
215
215
  var Ir = typeof WeakMap == "function" ? WeakMap : Map;
216
- be = new Ir();
216
+ ve = new Ir();
217
217
  }
218
218
  function Tt(a, d) {
219
219
  if (!a || Ve)
220
220
  return "";
221
221
  {
222
- var m = be.get(a);
222
+ var m = ve.get(a);
223
223
  if (m !== void 0)
224
224
  return m;
225
225
  }
@@ -265,26 +265,26 @@ function gn() {
265
265
  if ($ && b && typeof $.stack == "string") {
266
266
  for (var w = $.stack.split(`
267
267
  `), F = b.stack.split(`
268
- `), P = w.length - 1, A = F.length - 1; P >= 1 && A >= 0 && w[P] !== F[A]; )
268
+ `), C = w.length - 1, A = F.length - 1; C >= 1 && A >= 0 && w[C] !== F[A]; )
269
269
  A--;
270
- for (; P >= 1 && A >= 0; P--, A--)
271
- if (w[P] !== F[A]) {
272
- if (P !== 1 || A !== 1)
270
+ for (; C >= 1 && A >= 0; C--, A--)
271
+ if (w[C] !== F[A]) {
272
+ if (C !== 1 || A !== 1)
273
273
  do
274
- if (P--, A--, A < 0 || w[P] !== F[A]) {
274
+ if (C--, A--, A < 0 || w[C] !== F[A]) {
275
275
  var L = `
276
- ` + w[P].replace(" at new ", " at ");
277
- return a.displayName && L.includes("<anonymous>") && (L = L.replace("<anonymous>", a.displayName)), typeof a == "function" && be.set(a, L), L;
276
+ ` + w[C].replace(" at new ", " at ");
277
+ return a.displayName && L.includes("<anonymous>") && (L = L.replace("<anonymous>", a.displayName)), typeof a == "function" && ve.set(a, L), L;
278
278
  }
279
- while (P >= 1 && A >= 0);
279
+ while (C >= 1 && A >= 0);
280
280
  break;
281
281
  }
282
282
  }
283
283
  } finally {
284
284
  Ve = !1, He.current = S, Br(), Error.prepareStackTrace = O;
285
285
  }
286
- var te = a ? a.displayName || a.name : "", Ut = te ? ye(te) : "";
287
- return typeof a == "function" && be.set(a, Ut), Ut;
286
+ var te = a ? a.displayName || a.name : "", Ut = te ? be(te) : "";
287
+ return typeof a == "function" && ve.set(a, Ut), Ut;
288
288
  }
289
289
  function Hr(a, d, m) {
290
290
  return Tt(a, !1);
@@ -293,46 +293,46 @@ function gn() {
293
293
  var d = a.prototype;
294
294
  return !!(d && d.isReactComponent);
295
295
  }
296
- function ve(a, d, m) {
296
+ function we(a, d, m) {
297
297
  if (a == null)
298
298
  return "";
299
299
  if (typeof a == "function")
300
300
  return Tt(a, $r(a));
301
301
  if (typeof a == "string")
302
- return ye(a);
302
+ return be(a);
303
303
  switch (a) {
304
304
  case h:
305
- return ye("Suspense");
305
+ return be("Suspense");
306
306
  case p:
307
- return ye("SuspenseList");
307
+ return be("SuspenseList");
308
308
  }
309
309
  if (typeof a == "object")
310
310
  switch (a.$$typeof) {
311
311
  case l:
312
312
  return Hr(a.render);
313
313
  case f:
314
- return ve(a.type, d, m);
314
+ return we(a.type, d, m);
315
315
  case v: {
316
316
  var b = a, O = b._payload, S = b._init;
317
317
  try {
318
- return ve(S(O), d, m);
318
+ return we(S(O), d, m);
319
319
  } catch {
320
320
  }
321
321
  }
322
322
  }
323
323
  return "";
324
324
  }
325
- var we = Object.prototype.hasOwnProperty, _t = {}, Ct = _.ReactDebugCurrentFrame;
326
- function Ee(a) {
325
+ var Ee = Object.prototype.hasOwnProperty, _t = {}, Pt = _.ReactDebugCurrentFrame;
326
+ function xe(a) {
327
327
  if (a) {
328
- var d = a._owner, m = ve(a.type, a._source, d ? d.type : null);
329
- Ct.setExtraStackFrame(m);
328
+ var d = a._owner, m = we(a.type, a._source, d ? d.type : null);
329
+ Pt.setExtraStackFrame(m);
330
330
  } else
331
- Ct.setExtraStackFrame(null);
331
+ Pt.setExtraStackFrame(null);
332
332
  }
333
333
  function Vr(a, d, m, b, O) {
334
334
  {
335
- var S = Function.call.bind(we);
335
+ var S = Function.call.bind(Ee);
336
336
  for (var E in a)
337
337
  if (S(a, E)) {
338
338
  var w = void 0;
@@ -342,10 +342,10 @@ function gn() {
342
342
  throw F.name = "Invariant Violation", F;
343
343
  }
344
344
  w = a[E](d, E, b, m, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
345
- } catch (P) {
346
- w = P;
345
+ } catch (C) {
346
+ w = C;
347
347
  }
348
- w && !(w instanceof Error) && (Ee(O), T("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", b || "React class", m, E, typeof w), Ee(null)), w instanceof Error && !(w.message in _t) && (_t[w.message] = !0, Ee(O), T("Failed %s type: %s", m, w.message), Ee(null));
348
+ w && !(w instanceof Error) && (xe(O), T("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", b || "React class", m, E, typeof w), xe(null)), w instanceof Error && !(w.message in _t) && (_t[w.message] = !0, xe(O), T("Failed %s type: %s", m, w.message), xe(null));
349
349
  }
350
350
  }
351
351
  }
@@ -361,17 +361,17 @@ function gn() {
361
361
  }
362
362
  function Jr(a) {
363
363
  try {
364
- return Pt(a), !1;
364
+ return Ct(a), !1;
365
365
  } catch {
366
366
  return !0;
367
367
  }
368
368
  }
369
- function Pt(a) {
369
+ function Ct(a) {
370
370
  return "" + a;
371
371
  }
372
372
  function At(a) {
373
373
  if (Jr(a))
374
- return T("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Wr(a)), Pt(a);
374
+ return T("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Wr(a)), Ct(a);
375
375
  }
376
376
  var ae = _.ReactCurrentOwner, Yr = {
377
377
  key: !0,
@@ -381,7 +381,7 @@ function gn() {
381
381
  }, jt, Nt, We;
382
382
  We = {};
383
383
  function Kr(a) {
384
- if (we.call(a, "ref")) {
384
+ if (Ee.call(a, "ref")) {
385
385
  var d = Object.getOwnPropertyDescriptor(a, "ref").get;
386
386
  if (d && d.isReactWarning)
387
387
  return !1;
@@ -389,7 +389,7 @@ function gn() {
389
389
  return a.ref !== void 0;
390
390
  }
391
391
  function Gr(a) {
392
- if (we.call(a, "key")) {
392
+ if (Ee.call(a, "key")) {
393
393
  var d = Object.getOwnPropertyDescriptor(a, "key").get;
394
394
  if (d && d.isReactWarning)
395
395
  return !1;
@@ -458,11 +458,11 @@ function gn() {
458
458
  var S, E = {}, w = null, F = null;
459
459
  m !== void 0 && (At(m), w = "" + m), Gr(d) && (At(d.key), w = "" + d.key), Kr(d) && (F = d.ref, Xr(d, O));
460
460
  for (S in d)
461
- we.call(d, S) && !Yr.hasOwnProperty(S) && (E[S] = d[S]);
461
+ Ee.call(d, S) && !Yr.hasOwnProperty(S) && (E[S] = d[S]);
462
462
  if (a && a.defaultProps) {
463
- var P = a.defaultProps;
464
- for (S in P)
465
- E[S] === void 0 && (E[S] = P[S]);
463
+ var C = a.defaultProps;
464
+ for (S in C)
465
+ E[S] === void 0 && (E[S] = C[S]);
466
466
  }
467
467
  if (w || F) {
468
468
  var A = typeof a == "function" ? a.displayName || a.name || "Unknown" : a;
@@ -474,7 +474,7 @@ function gn() {
474
474
  var Je = _.ReactCurrentOwner, kt = _.ReactDebugCurrentFrame;
475
475
  function ee(a) {
476
476
  if (a) {
477
- var d = a._owner, m = ve(a.type, a._source, d ? d.type : null);
477
+ var d = a._owner, m = we(a.type, a._source, d ? d.type : null);
478
478
  kt.setExtraStackFrame(m);
479
479
  } else
480
480
  kt.setExtraStackFrame(null);
@@ -597,8 +597,8 @@ Check the top-level render call using <` + m + ">.");
597
597
  (a === void 0 || typeof a == "object" && a !== null && Object.keys(a).length === 0) && (w += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
598
598
  var F = rn(O);
599
599
  F ? w += F : w += Dt();
600
- var P;
601
- a === null ? P = "null" : qe(a) ? P = "array" : a !== void 0 && a.$$typeof === t ? (P = "<" + (H(a.type) || "Unknown") + " />", w = " Did you accidentally export a JSX literal instead of a component?") : P = typeof a, T("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", P, w);
600
+ var C;
601
+ a === null ? C = "null" : qe(a) ? C = "array" : a !== void 0 && a.$$typeof === t ? (C = "<" + (H(a.type) || "Unknown") + " />", w = " Did you accidentally export a JSX literal instead of a component?") : C = typeof a, T("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", C, w);
602
602
  }
603
603
  var A = tn(a, d, m, O, S);
604
604
  if (A == null)
@@ -694,15 +694,15 @@ function wn(e, t) {
694
694
  s = n[o], !(t.indexOf(s) >= 0) && (r[s] = e[s]);
695
695
  return r;
696
696
  }
697
- function Ae() {
698
- return Ae = Object.assign ? Object.assign.bind() : function(e) {
697
+ function je() {
698
+ return je = Object.assign ? Object.assign.bind() : function(e) {
699
699
  for (var t = 1; t < arguments.length; t++) {
700
700
  var r = arguments[t];
701
701
  for (var n in r)
702
702
  Object.prototype.hasOwnProperty.call(r, n) && (e[n] = r[n]);
703
703
  }
704
704
  return e;
705
- }, Ae.apply(this, arguments);
705
+ }, je.apply(this, arguments);
706
706
  }
707
707
  function $t(e, t) {
708
708
  var r = Object.keys(e);
@@ -714,7 +714,7 @@ function $t(e, t) {
714
714
  }
715
715
  return r;
716
716
  }
717
- function je(e) {
717
+ function Ne(e) {
718
718
  for (var t = 1; t < arguments.length; t++) {
719
719
  var r = arguments[t] != null ? arguments[t] : {};
720
720
  t % 2 ? $t(Object(r), !0).forEach(function(n) {
@@ -745,13 +745,13 @@ function On(e, t) {
745
745
  return (t === "string" ? String : Number)(e);
746
746
  }
747
747
  function ar(e) {
748
- return e && e.map((t, r) => /* @__PURE__ */ q.createElement(t.tag, je({
748
+ return e && e.map((t, r) => /* @__PURE__ */ q.createElement(t.tag, Ne({
749
749
  key: r
750
750
  }, t.attr), ar(t.child)));
751
751
  }
752
- function D(e) {
753
- return (t) => /* @__PURE__ */ q.createElement(Rn, Ae({
754
- attr: je({}, e.attr)
752
+ function k(e) {
753
+ return (t) => /* @__PURE__ */ q.createElement(Rn, je({
754
+ attr: Ne({}, e.attr)
755
755
  }, t), ar(e.child));
756
756
  }
757
757
  function Rn(e) {
@@ -761,13 +761,13 @@ function Rn(e) {
761
761
  size: s,
762
762
  title: o
763
763
  } = e, i = vn(e, bn), c = s || r.size || "1em", l;
764
- return r.className && (l = r.className), e.className && (l = (l ? l + " " : "") + e.className), /* @__PURE__ */ q.createElement("svg", Ae({
764
+ return r.className && (l = r.className), e.className && (l = (l ? l + " " : "") + e.className), /* @__PURE__ */ q.createElement("svg", je({
765
765
  stroke: "currentColor",
766
766
  fill: "currentColor",
767
767
  strokeWidth: "0"
768
768
  }, r.attr, n, i, {
769
769
  className: l,
770
- style: je(je({
770
+ style: Ne(Ne({
771
771
  color: e.color || r.color
772
772
  }, r.style), e.style),
773
773
  height: c,
@@ -778,57 +778,60 @@ function Rn(e) {
778
778
  return Ht !== void 0 ? /* @__PURE__ */ q.createElement(Ht.Consumer, null, (r) => t(r)) : t(ir);
779
779
  }
780
780
  function Ys(e) {
781
- return D({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0z" }, child: [] }, { tag: "path", attr: { d: "M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z" }, child: [] }] })(e);
781
+ return k({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0z" }, child: [] }, { tag: "path", attr: { d: "M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z" }, child: [] }] })(e);
782
782
  }
783
783
  function Ks(e) {
784
- return D({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0z" }, child: [] }, { tag: "path", attr: { d: "M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z" }, child: [] }] })(e);
784
+ return k({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0z" }, child: [] }, { tag: "path", attr: { d: "M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z" }, child: [] }] })(e);
785
785
  }
786
786
  function Gs(e) {
787
- return D({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0z" }, child: [] }, { tag: "path", attr: { d: "M6 6v2h8.59L5 17.59 6.41 19 16 9.41V18h2V6z" }, child: [] }] })(e);
787
+ return k({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0z" }, child: [] }, { tag: "path", attr: { d: "M6 6v2h8.59L5 17.59 6.41 19 16 9.41V18h2V6z" }, child: [] }] })(e);
788
788
  }
789
789
  function Sn(e) {
790
- return D({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0V0z" }, child: [] }, { tag: "path", attr: { d: "M20 8h-2.81a5.985 5.985 0 0 0-1.82-1.96L17 4.41 15.59 3l-2.17 2.17C12.96 5.06 12.49 5 12 5s-.96.06-1.41.17L8.41 3 7 4.41l1.62 1.63C7.88 6.55 7.26 7.22 6.81 8H4v2h2.09c-.05.33-.09.66-.09 1v1H4v2h2v1c0 .34.04.67.09 1H4v2h2.81c1.04 1.79 2.97 3 5.19 3s4.15-1.21 5.19-3H20v-2h-2.09c.05-.33.09-.66.09-1v-1h2v-2h-2v-1c0-.34-.04-.67-.09-1H20V8zm-4 4v3c0 .22-.03.47-.07.7l-.1.65-.37.65c-.72 1.24-2.04 2-3.46 2s-2.74-.77-3.46-2l-.37-.64-.1-.65A4.27 4.27 0 0 1 8 15v-4c0-.23.03-.48.07-.7l.1-.65.37-.65c.3-.52.72-.97 1.21-1.31l.57-.39.74-.18a3.787 3.787 0 0 1 1.89 0l.68.16.61.42c.5.34.91.78 1.21 1.31l.38.65.1.65c.04.22.07.47.07.69v1zm-6 2h4v2h-4zm0-4h4v2h-4z" }, child: [] }] })(e);
790
+ return k({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0V0z" }, child: [] }, { tag: "path", attr: { d: "M20 8h-2.81a5.985 5.985 0 0 0-1.82-1.96L17 4.41 15.59 3l-2.17 2.17C12.96 5.06 12.49 5 12 5s-.96.06-1.41.17L8.41 3 7 4.41l1.62 1.63C7.88 6.55 7.26 7.22 6.81 8H4v2h2.09c-.05.33-.09.66-.09 1v1H4v2h2v1c0 .34.04.67.09 1H4v2h2.81c1.04 1.79 2.97 3 5.19 3s4.15-1.21 5.19-3H20v-2h-2.09c.05-.33.09-.66.09-1v-1h2v-2h-2v-1c0-.34-.04-.67-.09-1H20V8zm-4 4v3c0 .22-.03.47-.07.7l-.1.65-.37.65c-.72 1.24-2.04 2-3.46 2s-2.74-.77-3.46-2l-.37-.64-.1-.65A4.27 4.27 0 0 1 8 15v-4c0-.23.03-.48.07-.7l.1-.65.37-.65c.3-.52.72-.97 1.21-1.31l.57-.39.74-.18a3.787 3.787 0 0 1 1.89 0l.68.16.61.42c.5.34.91.78 1.21 1.31l.38.65.1.65c.04.22.07.47.07.69v1zm-6 2h4v2h-4zm0-4h4v2h-4z" }, child: [] }] })(e);
791
791
  }
792
792
  function Xs(e) {
793
- return D({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0V0z" }, child: [] }, { tag: "path", attr: { d: "M16 9v10H8V9h8m-1.5-6h-5l-1 1H5v2h14V4h-3.5l-1-1zM18 7H6v12c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7z" }, child: [] }] })(e);
793
+ return k({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0V0z" }, child: [] }, { tag: "path", attr: { d: "M16 9v10H8V9h8m-1.5-6h-5l-1 1H5v2h14V4h-3.5l-1-1zM18 7H6v12c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7z" }, child: [] }] })(e);
794
794
  }
795
795
  function Qs(e) {
796
- return D({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0V0z" }, child: [] }, { tag: "path", attr: { d: "M4 20h16v2H4zM4 2h16v2H4zM9.41 13.59 8 15l4 4 4-4-1.41-1.41L13 15.17V8.83l1.59 1.58L16 9l-4-4-4 4 1.41 1.41L11 8.83v6.34z" }, child: [] }] })(e);
796
+ return k({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0V0z" }, child: [] }, { tag: "path", attr: { d: "M4 20h16v2H4zM4 2h16v2H4zM9.41 13.59 8 15l4 4 4-4-1.41-1.41L13 15.17V8.83l1.59 1.58L16 9l-4-4-4 4 1.41 1.41L11 8.83v6.34z" }, child: [] }] })(e);
797
797
  }
798
798
  function Tn(e) {
799
- return D({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0z" }, child: [] }, { tag: "path", attr: { d: "M11.07 12.85c.77-1.39 2.25-2.21 3.11-3.44.91-1.29.4-3.7-2.18-3.7-1.69 0-2.52 1.28-2.87 2.34L6.54 6.96C7.25 4.83 9.18 3 11.99 3c2.35 0 3.96 1.07 4.78 2.41.7 1.15 1.11 3.3.03 4.9-1.2 1.77-2.35 2.31-2.97 3.45-.25.46-.35.76-.35 2.24h-2.89c-.01-.78-.13-2.05.48-3.15zM14 20c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2z" }, child: [] }] })(e);
799
+ return k({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0z" }, child: [] }, { tag: "path", attr: { d: "M11.07 12.85c.77-1.39 2.25-2.21 3.11-3.44.91-1.29.4-3.7-2.18-3.7-1.69 0-2.52 1.28-2.87 2.34L6.54 6.96C7.25 4.83 9.18 3 11.99 3c2.35 0 3.96 1.07 4.78 2.41.7 1.15 1.11 3.3.03 4.9-1.2 1.77-2.35 2.31-2.97 3.45-.25.46-.35.76-.35 2.24h-2.89c-.01-.78-.13-2.05.48-3.15zM14 20c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2z" }, child: [] }] })(e);
800
800
  }
801
801
  function _n(e) {
802
- return D({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0z" }, child: [] }, { tag: "path", attr: { d: "M20 4H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16c1.1 0 2-.9 2-2V6a2 2 0 0 0-2-2zm0 14H4V8h16v10zm-2-1h-6v-2h6v2zM7.5 17l-1.41-1.41L8.67 13l-2.59-2.59L7.5 9l4 4-4 4z" }, child: [] }] })(e);
802
+ return k({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0z" }, child: [] }, { tag: "path", attr: { d: "M20 4H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16c1.1 0 2-.9 2-2V6a2 2 0 0 0-2-2zm0 14H4V8h16v10zm-2-1h-6v-2h6v2zM7.5 17l-1.41-1.41L8.67 13l-2.59-2.59L7.5 9l4 4-4 4z" }, child: [] }] })(e);
803
803
  }
804
- function Cn(e) {
805
- return D({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z" }, child: [] }] })(e);
804
+ function Pn(e) {
805
+ return k({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z" }, child: [] }] })(e);
806
806
  }
807
807
  function Zs(e) {
808
- return D({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0V0z" }, child: [] }, { tag: "path", attr: { d: "M13 7h-2v4H7v2h4v4h2v-4h4v-2h-4V7zm-1-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z" }, child: [] }] })(e);
808
+ return k({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0V0z" }, child: [] }, { tag: "path", attr: { d: "M13 7h-2v4H7v2h4v4h2v-4h4v-2h-4V7zm-1-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z" }, child: [] }] })(e);
809
809
  }
810
810
  function ei(e) {
811
- return D({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0V0z" }, child: [] }, { tag: "path", attr: { d: "M15.41 16.59 10.83 12l4.58-4.59L14 6l-6 6 6 6 1.41-1.41z" }, child: [] }] })(e);
811
+ return k({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0z" }, child: [] }, { tag: "path", attr: { d: "M18 15v3H6v-3H4v3c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2v-3h-2zM7 9l1.41 1.41L11 7.83V16h2V7.83l2.59 2.58L17 9l-5-5-5 5z" }, child: [] }] })(e);
812
812
  }
813
813
  function ti(e) {
814
- return D({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0V0z" }, child: [] }, { tag: "path", attr: { d: "M8.59 16.59 13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z" }, child: [] }] })(e);
814
+ return k({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0V0z" }, child: [] }, { tag: "path", attr: { d: "M15.41 16.59 10.83 12l4.58-4.59L14 6l-6 6 6 6 1.41-1.41z" }, child: [] }] })(e);
815
815
  }
816
816
  function ri(e) {
817
- return D({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0V0z" }, child: [] }, { tag: "path", attr: { d: "m14.06 9.02.92.92L5.92 19H5v-.92l9.06-9.06M17.66 3c-.25 0-.51.1-.7.29l-1.83 1.83 3.75 3.75 1.83-1.83a.996.996 0 0 0 0-1.41l-2.34-2.34c-.2-.2-.45-.29-.71-.29zm-3.6 3.19L3 17.25V21h3.75L17.81 9.94l-3.75-3.75z" }, child: [] }] })(e);
818
- }
819
- function Pn(e) {
820
- return D({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0V0z" }, child: [] }, { tag: "path", attr: { d: "M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z" }, child: [] }] })(e);
817
+ return k({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0V0z" }, child: [] }, { tag: "path", attr: { d: "M8.59 16.59 13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z" }, child: [] }] })(e);
821
818
  }
822
819
  function ni(e) {
823
- return D({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0V0z" }, child: [] }, { tag: "path", attr: { d: "M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6-6-6z" }, child: [] }] })(e);
820
+ return k({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0V0z" }, child: [] }, { tag: "path", attr: { d: "m14.06 9.02.92.92L5.92 19H5v-.92l9.06-9.06M17.66 3c-.25 0-.51.1-.7.29l-1.83 1.83 3.75 3.75 1.83-1.83a.996.996 0 0 0 0-1.41l-2.34-2.34c-.2-.2-.45-.29-.71-.29zm-3.6 3.19L3 17.25V21h3.75L17.81 9.94l-3.75-3.75z" }, child: [] }] })(e);
824
821
  }
825
- function An(e) {
826
- return D({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0V0z" }, child: [] }, { tag: "path", attr: { d: "M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z" }, child: [] }] })(e);
822
+ function Cn(e) {
823
+ return k({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0V0z" }, child: [] }, { tag: "path", attr: { d: "M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z" }, child: [] }] })(e);
827
824
  }
828
825
  function oi(e) {
829
- return D({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0V0z" }, child: [] }, { tag: "path", attr: { d: "M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z" }, child: [] }] })(e);
826
+ return k({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0V0z" }, child: [] }, { tag: "path", attr: { d: "M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6-6-6z" }, child: [] }] })(e);
827
+ }
828
+ function An(e) {
829
+ return k({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0V0z" }, child: [] }, { tag: "path", attr: { d: "M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z" }, child: [] }] })(e);
830
830
  }
831
- const cr = De({
831
+ function si(e) {
832
+ return k({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0V0z" }, child: [] }, { tag: "path", attr: { d: "M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z" }, child: [] }] })(e);
833
+ }
834
+ const cr = he({
832
835
  axiosInstance: {},
833
836
  LinkComponent: {},
834
837
  language: "",
@@ -904,7 +907,7 @@ function X(e, t) {
904
907
  return t ? t(s) : s;
905
908
  };
906
909
  }
907
- var zn = (e) => typeof e == "function", Ne = (e, t) => zn(e) ? e(t) : e, Un = /* @__PURE__ */ (() => {
910
+ var zn = (e) => typeof e == "function", ke = (e, t) => zn(e) ? e(t) : e, Un = /* @__PURE__ */ (() => {
908
911
  let e = 0;
909
912
  return () => (++e).toString();
910
913
  })(), fr = /* @__PURE__ */ (() => {
@@ -916,15 +919,15 @@ var zn = (e) => typeof e == "function", Ne = (e, t) => zn(e) ? e(t) : e, Un = /*
916
919
  }
917
920
  return e;
918
921
  };
919
- })(), Bn = 20, Re = /* @__PURE__ */ new Map(), In = 1e3, qt = (e) => {
920
- if (Re.has(e))
922
+ })(), Bn = 20, Se = /* @__PURE__ */ new Map(), In = 1e3, qt = (e) => {
923
+ if (Se.has(e))
921
924
  return;
922
925
  let t = setTimeout(() => {
923
- Re.delete(e), Z({ type: 4, toastId: e });
926
+ Se.delete(e), Z({ type: 4, toastId: e });
924
927
  }, In);
925
- Re.set(e, t);
928
+ Se.set(e, t);
926
929
  }, Hn = (e) => {
927
- let t = Re.get(e);
930
+ let t = Se.get(e);
928
931
  t && clearTimeout(t);
929
932
  }, nt = (e, t) => {
930
933
  switch (t.type) {
@@ -948,37 +951,37 @@ var zn = (e) => typeof e == "function", Ne = (e, t) => zn(e) ? e(t) : e, Un = /*
948
951
  let s = t.time - (e.pausedAt || 0);
949
952
  return { ...e, pausedAt: void 0, toasts: e.toasts.map((o) => ({ ...o, pauseDuration: o.pauseDuration + s })) };
950
953
  }
951
- }, Se = [], Te = { toasts: [], pausedAt: void 0 }, Z = (e) => {
952
- Te = nt(Te, e), Se.forEach((t) => {
953
- t(Te);
954
+ }, Te = [], _e = { toasts: [], pausedAt: void 0 }, Z = (e) => {
955
+ _e = nt(_e, e), Te.forEach((t) => {
956
+ t(_e);
954
957
  });
955
958
  }, $n = { blank: 4e3, error: 4e3, success: 2e3, loading: 1 / 0, custom: 4e3 }, Vn = (e = {}) => {
956
- let [t, r] = fn(Te);
957
- lt(() => (Se.push(r), () => {
958
- let s = Se.indexOf(r);
959
- s > -1 && Se.splice(s, 1);
959
+ let [t, r] = fn(_e);
960
+ lt(() => (Te.push(r), () => {
961
+ let s = Te.indexOf(r);
962
+ s > -1 && Te.splice(s, 1);
960
963
  }), [t]);
961
964
  let n = t.toasts.map((s) => {
962
965
  var o, i;
963
966
  return { ...e, ...e[s.type], ...s, duration: s.duration || ((o = e[s.type]) == null ? void 0 : o.duration) || (e == null ? void 0 : e.duration) || $n[s.type], style: { ...e.style, ...(i = e[s.type]) == null ? void 0 : i.style, ...s.style } };
964
967
  });
965
968
  return { ...t, toasts: n };
966
- }, qn = (e, t = "blank", r) => ({ createdAt: Date.now(), visible: !0, type: t, ariaProps: { role: "status", "aria-live": "polite" }, message: e, pauseDuration: 0, ...r, id: (r == null ? void 0 : r.id) || Un() }), he = (e) => (t, r) => {
969
+ }, qn = (e, t = "blank", r) => ({ createdAt: Date.now(), visible: !0, type: t, ariaProps: { role: "status", "aria-live": "polite" }, message: e, pauseDuration: 0, ...r, id: (r == null ? void 0 : r.id) || Un() }), me = (e) => (t, r) => {
967
970
  let n = qn(t, e, r);
968
971
  return Z({ type: 2, toast: n }), n.id;
969
- }, M = (e, t) => he("blank")(e, t);
970
- M.error = he("error");
971
- M.success = he("success");
972
- M.loading = he("loading");
973
- M.custom = he("custom");
972
+ }, M = (e, t) => me("blank")(e, t);
973
+ M.error = me("error");
974
+ M.success = me("success");
975
+ M.loading = me("loading");
976
+ M.custom = me("custom");
974
977
  M.dismiss = (e) => {
975
978
  Z({ type: 3, toastId: e });
976
979
  };
977
980
  M.remove = (e) => Z({ type: 4, toastId: e });
978
981
  M.promise = (e, t, r) => {
979
982
  let n = M.loading(t.loading, { ...r, ...r == null ? void 0 : r.loading });
980
- return e.then((s) => (M.success(Ne(t.success, s), { id: n, ...r, ...r == null ? void 0 : r.success }), s)).catch((s) => {
981
- M.error(Ne(t.error, s), { id: n, ...r, ...r == null ? void 0 : r.error });
983
+ return e.then((s) => (M.success(ke(t.success, s), { id: n, ...r, ...r == null ? void 0 : r.success }), s)).catch((s) => {
984
+ M.error(ke(t.error, s), { id: n, ...r, ...r == null ? void 0 : r.error });
982
985
  }), e;
983
986
  };
984
987
  var Wn = (e, t) => {
@@ -1189,7 +1192,7 @@ to {
1189
1192
  let r = e.includes("top") ? 1 : -1, [n, s] = fr() ? [fo, po] : [lo(r), uo(r)];
1190
1193
  return { animation: t ? `${J(n)} 0.35s cubic-bezier(.21,1.02,.73,1) forwards` : `${J(s)} 0.4s forwards cubic-bezier(.06,.71,.55,1)` };
1191
1194
  }, yo = N.memo(({ toast: e, position: t, style: r, children: n }) => {
1192
- let s = e.height ? go(e.position || t || "top-center", e.visible) : { opacity: 0 }, o = N.createElement(co, { toast: e }), i = N.createElement(mo, { ...e.ariaProps }, Ne(e.message, e));
1195
+ let s = e.height ? go(e.position || t || "top-center", e.visible) : { opacity: 0 }, o = N.createElement(co, { toast: e }), i = N.createElement(mo, { ...e.ariaProps }, ke(e.message, e));
1193
1196
  return N.createElement(ho, { className: e.className, style: { ...s, ...r, ...e.style } }, typeof n == "function" ? n({ icon: o, message: i }) : N.createElement(N.Fragment, null, o, i));
1194
1197
  });
1195
1198
  Ln(N.createElement);
@@ -1212,14 +1215,23 @@ var bo = ({ id: e, className: t, style: r, onHeightUpdate: n, children: s }) =>
1212
1215
  > * {
1213
1216
  pointer-events: auto;
1214
1217
  }
1215
- `, xe = 16, si = ({ reverseOrder: e, position: t = "top-center", toastOptions: r, gutter: n, children: s, containerStyle: o, containerClassName: i }) => {
1218
+ `, Oe = 16, ii = ({ reverseOrder: e, position: t = "top-center", toastOptions: r, gutter: n, children: s, containerStyle: o, containerClassName: i }) => {
1216
1219
  let { toasts: c, handlers: l } = Yn(r);
1217
- return N.createElement("div", { style: { position: "fixed", zIndex: 9999, top: xe, left: xe, right: xe, bottom: xe, pointerEvents: "none", ...o }, className: i, onMouseEnter: l.startPause, onMouseLeave: l.endPause }, c.map((h) => {
1220
+ return N.createElement("div", { style: { position: "fixed", zIndex: 9999, top: Oe, left: Oe, right: Oe, bottom: Oe, pointerEvents: "none", ...o }, className: i, onMouseEnter: l.startPause, onMouseLeave: l.endPause }, c.map((h) => {
1218
1221
  let p = h.position || t, f = l.calculateOffset(h, { reverseOrder: e, gutter: n, defaultPosition: t }), v = vo(p, f);
1219
- return N.createElement(bo, { id: h.id, key: h.id, onHeightUpdate: l.updateHeight, className: h.visible ? wo : "", style: v }, h.type === "custom" ? Ne(h.message, h) : s ? s(h) : N.createElement(yo, { toast: h, position: p }));
1222
+ return N.createElement(bo, { id: h.id, key: h.id, onHeightUpdate: l.updateHeight, className: h.visible ? wo : "", style: v }, h.type === "custom" ? ke(h.message, h) : s ? s(h) : N.createElement(yo, { toast: h, position: p }));
1220
1223
  }));
1221
1224
  }, re = M;
1222
- const ii = De({
1225
+ const ai = he({
1226
+ isShown: !1,
1227
+ text: "",
1228
+ hidePrompt: () => {
1229
+ },
1230
+ showPrompt: () => {
1231
+ },
1232
+ resolveRef: { current: () => {
1233
+ } }
1234
+ }), ci = he({
1223
1235
  show: !1,
1224
1236
  text: "",
1225
1237
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
@@ -1227,7 +1239,7 @@ const ii = De({
1227
1239
  },
1228
1240
  hideConfirm: () => {
1229
1241
  }
1230
- }), ai = De({
1242
+ }), li = he({
1231
1243
  isLoading: !1,
1232
1244
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
1233
1245
  startLoading: (e) => {
@@ -1235,7 +1247,7 @@ const ii = De({
1235
1247
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
1236
1248
  stopLoading: (e) => {
1237
1249
  }
1238
- }), ci = De({
1250
+ }), ui = he({
1239
1251
  user: null,
1240
1252
  loginUser: () => Promise.resolve(!0),
1241
1253
  logoutUser: () => {
@@ -1261,18 +1273,18 @@ const ii = De({
1261
1273
  logout: s
1262
1274
  };
1263
1275
  };
1264
- let Oe;
1276
+ let Re;
1265
1277
  const xo = new Uint8Array(16);
1266
1278
  function Oo() {
1267
- if (!Oe && (Oe = typeof crypto < "u" && crypto.getRandomValues && crypto.getRandomValues.bind(crypto), !Oe))
1279
+ if (!Re && (Re = typeof crypto < "u" && crypto.getRandomValues && crypto.getRandomValues.bind(crypto), !Re))
1268
1280
  throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
1269
- return Oe(xo);
1281
+ return Re(xo);
1270
1282
  }
1271
- const k = [];
1283
+ const D = [];
1272
1284
  for (let e = 0; e < 256; ++e)
1273
- k.push((e + 256).toString(16).slice(1));
1285
+ D.push((e + 256).toString(16).slice(1));
1274
1286
  function Ro(e, t = 0) {
1275
- return k[e[t + 0]] + k[e[t + 1]] + k[e[t + 2]] + k[e[t + 3]] + "-" + k[e[t + 4]] + k[e[t + 5]] + "-" + k[e[t + 6]] + k[e[t + 7]] + "-" + k[e[t + 8]] + k[e[t + 9]] + "-" + k[e[t + 10]] + k[e[t + 11]] + k[e[t + 12]] + k[e[t + 13]] + k[e[t + 14]] + k[e[t + 15]];
1287
+ return D[e[t + 0]] + D[e[t + 1]] + D[e[t + 2]] + D[e[t + 3]] + "-" + D[e[t + 4]] + D[e[t + 5]] + "-" + D[e[t + 6]] + D[e[t + 7]] + "-" + D[e[t + 8]] + D[e[t + 9]] + "-" + D[e[t + 10]] + D[e[t + 11]] + D[e[t + 12]] + D[e[t + 13]] + D[e[t + 14]] + D[e[t + 15]];
1276
1288
  }
1277
1289
  const So = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), Wt = {
1278
1290
  randomUUID: So
@@ -1292,7 +1304,7 @@ function To(e, t, r) {
1292
1304
  }
1293
1305
  const _o = "_toast_1s57i_1", fe = {
1294
1306
  toast: _o
1295
- }, Co = (e) => {
1307
+ }, Po = (e) => {
1296
1308
  switch (e) {
1297
1309
  case "success":
1298
1310
  return 5e3;
@@ -1307,8 +1319,8 @@ const _o = "_toast_1s57i_1", fe = {
1307
1319
  default:
1308
1320
  return 5e3;
1309
1321
  }
1310
- }, Po = () => ({ addNotification: (t, r) => {
1311
- const n = To(), s = dn(t), o = Co(r), i = /* @__PURE__ */ Y.jsxs(Y.Fragment, { children: [
1322
+ }, Co = () => ({ addNotification: (t, r) => {
1323
+ const n = To(), s = dn(t), o = Po(r), i = /* @__PURE__ */ Y.jsxs(Y.Fragment, { children: [
1312
1324
  s,
1313
1325
  /* @__PURE__ */ Y.jsx(An, { onClick: () => re.dismiss(n), type: "button", style: {
1314
1326
  position: "absolute",
@@ -1323,7 +1335,7 @@ const _o = "_toast_1s57i_1", fe = {
1323
1335
  id: n,
1324
1336
  duration: o,
1325
1337
  position: "top-center",
1326
- icon: /* @__PURE__ */ Y.jsx(Pn, { size: 12 }),
1338
+ icon: /* @__PURE__ */ Y.jsx(Cn, { size: 12 }),
1327
1339
  className: ue("luminus-toast-success rounded shadow bg-success", fe.toast)
1328
1340
  });
1329
1341
  break;
@@ -1333,7 +1345,7 @@ const _o = "_toast_1s57i_1", fe = {
1333
1345
  id: n,
1334
1346
  duration: o,
1335
1347
  position: "top-center",
1336
- icon: /* @__PURE__ */ Y.jsx(Cn, { size: 12 }),
1348
+ icon: /* @__PURE__ */ Y.jsx(Pn, { size: 12 }),
1337
1349
  className: ue("luminus-toast-danger rounded shadow bg-danger", fe.toast)
1338
1350
  });
1339
1351
  break;
@@ -1387,7 +1399,7 @@ function No(e) {
1387
1399
  let t;
1388
1400
  return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && pr(e.buffer), t;
1389
1401
  }
1390
- const ko = Le("string"), z = Le("function"), hr = Le("number"), ze = (e) => e !== null && typeof e == "object", Do = (e) => e === !0 || e === !1, _e = (e) => {
1402
+ const ko = Le("string"), z = Le("function"), hr = Le("number"), ze = (e) => e !== null && typeof e == "object", Do = (e) => e === !0 || e === !1, Pe = (e) => {
1391
1403
  if (Me(e) !== "object")
1392
1404
  return !1;
1393
1405
  const t = ut(e);
@@ -1397,7 +1409,7 @@ const ko = Le("string"), z = Le("function"), hr = Le("number"), ze = (e) => e !=
1397
1409
  return e && (typeof FormData == "function" && e instanceof FormData || z(e.append) && ((t = Me(e)) === "formdata" || // detect form-data instance
1398
1410
  t === "object" && z(e.toString) && e.toString() === "[object FormData]"));
1399
1411
  }, Io = I("URLSearchParams"), Ho = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
1400
- function me(e, t, { allOwnKeys: r = !1 } = {}) {
1412
+ function ge(e, t, { allOwnKeys: r = !1 } = {}) {
1401
1413
  if (e === null || typeof e > "u")
1402
1414
  return;
1403
1415
  let n, s;
@@ -1424,13 +1436,13 @@ const gr = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typ
1424
1436
  function ot() {
1425
1437
  const { caseless: e } = yr(this) && this || {}, t = {}, r = (n, s) => {
1426
1438
  const o = e && mr(t, s) || s;
1427
- _e(t[o]) && _e(n) ? t[o] = ot(t[o], n) : _e(n) ? t[o] = ot({}, n) : se(n) ? t[o] = n.slice() : t[o] = n;
1439
+ Pe(t[o]) && Pe(n) ? t[o] = ot(t[o], n) : Pe(n) ? t[o] = ot({}, n) : se(n) ? t[o] = n.slice() : t[o] = n;
1428
1440
  };
1429
1441
  for (let n = 0, s = arguments.length; n < s; n++)
1430
- arguments[n] && me(arguments[n], r);
1442
+ arguments[n] && ge(arguments[n], r);
1431
1443
  return t;
1432
1444
  }
1433
- const $o = (e, t, r, { allOwnKeys: n } = {}) => (me(t, (s, o) => {
1445
+ const $o = (e, t, r, { allOwnKeys: n } = {}) => (ge(t, (s, o) => {
1434
1446
  r && z(s) ? e[o] = dr(s, r) : e[o] = s;
1435
1447
  }, { allOwnKeys: n }), e), Vo = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), qo = (e, t, r, n) => {
1436
1448
  e.prototype = Object.create(t.prototype, n), e.prototype.constructor = e, Object.defineProperty(e, "super", {
@@ -1483,7 +1495,7 @@ const $o = (e, t, r, { allOwnKeys: n } = {}) => (me(t, (s, o) => {
1483
1495
  }
1484
1496
  ), Jt = (({ hasOwnProperty: e }) => (t, r) => e.call(t, r))(Object.prototype), es = I("RegExp"), br = (e, t) => {
1485
1497
  const r = Object.getOwnPropertyDescriptors(e), n = {};
1486
- me(r, (s, o) => {
1498
+ ge(r, (s, o) => {
1487
1499
  let i;
1488
1500
  (i = t(s, o, e)) !== !1 && (n[o] = i || s);
1489
1501
  }), Object.defineProperties(e, n);
@@ -1532,7 +1544,7 @@ const as = (e) => {
1532
1544
  if (!("toJSON" in n)) {
1533
1545
  t[s] = n;
1534
1546
  const o = se(n) ? [] : {};
1535
- return me(n, (i, c) => {
1547
+ return ge(n, (i, c) => {
1536
1548
  const l = r(i, s + 1);
1537
1549
  !pe(l) && (o[c] = l);
1538
1550
  }), t[s] = void 0, o;
@@ -1551,7 +1563,7 @@ const as = (e) => {
1551
1563
  isNumber: hr,
1552
1564
  isBoolean: Do,
1553
1565
  isObject: ze,
1554
- isPlainObject: _e,
1566
+ isPlainObject: Pe,
1555
1567
  isUndefined: pe,
1556
1568
  isDate: Fo,
1557
1569
  isFile: Mo,
@@ -1562,7 +1574,7 @@ const as = (e) => {
1562
1574
  isURLSearchParams: Io,
1563
1575
  isTypedArray: Ko,
1564
1576
  isFileList: zo,
1565
- forEach: me,
1577
+ forEach: ge,
1566
1578
  merge: ot,
1567
1579
  extend: $o,
1568
1580
  trim: Ho,
@@ -1995,7 +2007,7 @@ function _s(e) {
1995
2007
  t[n[1]] = n[2];
1996
2008
  return t;
1997
2009
  }
1998
- const Cs = (e) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());
2010
+ const Ps = (e) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());
1999
2011
  function Xe(e, t, r, n, s) {
2000
2012
  if (u.isFunction(n))
2001
2013
  return n.call(this, t, r);
@@ -2006,7 +2018,7 @@ function Xe(e, t, r, n, s) {
2006
2018
  return n.test(t);
2007
2019
  }
2008
2020
  }
2009
- function Ps(e) {
2021
+ function Cs(e) {
2010
2022
  return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (t, r, n) => r.toUpperCase() + n);
2011
2023
  }
2012
2024
  function As(e, t) {
@@ -2034,7 +2046,7 @@ class Be {
2034
2046
  (!f || s[f] === void 0 || h === !0 || h === void 0 && s[f] !== !1) && (s[f || l] = Ce(c));
2035
2047
  }
2036
2048
  const i = (c, l) => u.forEach(c, (h, p) => o(h, p, l));
2037
- return u.isPlainObject(t) || t instanceof this.constructor ? i(t, r) : u.isString(t) && (t = t.trim()) && !Cs(t) ? i(Ts(t), r) : t != null && o(r, t, n), this;
2049
+ return u.isPlainObject(t) || t instanceof this.constructor ? i(t, r) : u.isString(t) && (t = t.trim()) && !Ps(t) ? i(Ts(t), r) : t != null && o(r, t, n), this;
2038
2050
  }
2039
2051
  get(t, r) {
2040
2052
  if (t = de(t), t) {
@@ -2088,7 +2100,7 @@ class Be {
2088
2100
  r[i] = Ce(s), delete r[o];
2089
2101
  return;
2090
2102
  }
2091
- const c = t ? Ps(o) : String(o).trim();
2103
+ const c = t ? Cs(o) : String(o).trim();
2092
2104
  c !== o && delete r[o], r[c] = Ce(s), n[c] = !0;
2093
2105
  }), this;
2094
2106
  }
@@ -2148,13 +2160,13 @@ function Qe(e, t) {
2148
2160
  o = c.call(r, o, s.normalize(), t ? t.status : void 0);
2149
2161
  }), s.normalize(), o;
2150
2162
  }
2151
- function Cr(e) {
2163
+ function Pr(e) {
2152
2164
  return !!(e && e.__CANCEL__);
2153
2165
  }
2154
- function ge(e, t, r) {
2166
+ function ye(e, t, r) {
2155
2167
  x.call(this, e ?? "canceled", x.ERR_CANCELED, t, r), this.name = "CanceledError";
2156
2168
  }
2157
- u.inherits(ge, x, {
2169
+ u.inherits(ye, x, {
2158
2170
  __CANCEL__: !0
2159
2171
  });
2160
2172
  function js(e, t, r) {
@@ -2200,7 +2212,7 @@ function ks(e) {
2200
2212
  function Ds(e, t) {
2201
2213
  return t ? e.replace(/\/?\/$/, "") + "/" + t.replace(/^\/+/, "") : e;
2202
2214
  }
2203
- function Pr(e, t) {
2215
+ function Cr(e, t) {
2204
2216
  return e && !ks(t) ? Ds(e, t) : t;
2205
2217
  }
2206
2218
  const Fs = B.hasStandardBrowserEnv ? (
@@ -2295,7 +2307,7 @@ const zs = typeof XMLHttpRequest < "u", Us = zs && function(e) {
2295
2307
  const y = e.auth.username || "", j = e.auth.password ? unescape(encodeURIComponent(e.auth.password)) : "";
2296
2308
  o.set("Authorization", "Basic " + btoa(y + ":" + j));
2297
2309
  }
2298
- const v = Pr(e.baseURL, e.url);
2310
+ const v = Cr(e.baseURL, e.url);
2299
2311
  f.open(e.method.toUpperCase(), Rr(v, e.params, e.paramsSerializer), !0), f.timeout = e.timeout;
2300
2312
  function R() {
2301
2313
  if (!f)
@@ -2338,7 +2350,7 @@ const zs = typeof XMLHttpRequest < "u", Us = zs && function(e) {
2338
2350
  s === void 0 && o.setContentType(null), "setRequestHeader" in f && u.forEach(o.toJSON(), function(j, _) {
2339
2351
  f.setRequestHeader(_, j);
2340
2352
  }), u.isUndefined(e.withCredentials) || (f.withCredentials = !!e.withCredentials), i && i !== "json" && (f.responseType = e.responseType), typeof e.onDownloadProgress == "function" && f.addEventListener("progress", Zt(e.onDownloadProgress, !0)), typeof e.onUploadProgress == "function" && f.upload && f.upload.addEventListener("progress", Zt(e.onUploadProgress)), (e.cancelToken || e.signal) && (l = (y) => {
2341
- f && (n(!y || y.type ? new ge(null, e, f) : y), f.abort(), f = null);
2353
+ f && (n(!y || y.type ? new ye(null, e, f) : y), f.abort(), f = null);
2342
2354
  }, e.cancelToken && e.cancelToken.subscribe(l), e.signal && (e.signal.aborted ? l() : e.signal.addEventListener("abort", l)));
2343
2355
  const g = Ms(v);
2344
2356
  if (g && B.protocols.indexOf(g) === -1) {
@@ -2393,7 +2405,7 @@ const er = (e) => `- ${e}`, Bs = (e) => u.isFunction(e) || e === null || e === !
2393
2405
  };
2394
2406
  function Ze(e) {
2395
2407
  if (e.cancelToken && e.cancelToken.throwIfRequested(), e.signal && e.signal.aborted)
2396
- throw new ge(null, e);
2408
+ throw new ye(null, e);
2397
2409
  }
2398
2410
  function tr(e) {
2399
2411
  return Ze(e), e.headers = W.from(e.headers), e.data = Qe.call(
@@ -2406,7 +2418,7 @@ function tr(e) {
2406
2418
  n
2407
2419
  ), n.headers = W.from(n.headers), n;
2408
2420
  }, function(n) {
2409
- return Cr(n) || (Ze(e), n && n.response && (n.response.data = Qe.call(
2421
+ return Pr(n) || (Ze(e), n && n.response && (n.response.data = Qe.call(
2410
2422
  e,
2411
2423
  e.transformResponse,
2412
2424
  n.response
@@ -2526,7 +2538,7 @@ const at = {
2526
2538
  assertOptions: Is,
2527
2539
  validators: ht
2528
2540
  }, K = at.validators;
2529
- class ke {
2541
+ class De {
2530
2542
  constructor(t) {
2531
2543
  this.defaults = t, this.interceptors = {
2532
2544
  request: new Xt(),
@@ -2616,12 +2628,12 @@ class ke {
2616
2628
  }
2617
2629
  getUri(t) {
2618
2630
  t = oe(this.defaults, t);
2619
- const r = Pr(t.baseURL, t.url);
2631
+ const r = Cr(t.baseURL, t.url);
2620
2632
  return Rr(r, t.params, t.paramsSerializer);
2621
2633
  }
2622
2634
  }
2623
2635
  u.forEach(["delete", "get", "head", "options"], function(t) {
2624
- ke.prototype[t] = function(r, n) {
2636
+ De.prototype[t] = function(r, n) {
2625
2637
  return this.request(oe(n || {}, {
2626
2638
  method: t,
2627
2639
  url: r,
@@ -2642,9 +2654,9 @@ u.forEach(["post", "put", "patch"], function(t) {
2642
2654
  }));
2643
2655
  };
2644
2656
  }
2645
- ke.prototype[t] = r(), ke.prototype[t + "Form"] = r(!0);
2657
+ De.prototype[t] = r(), De.prototype[t + "Form"] = r(!0);
2646
2658
  });
2647
- const Pe = ke;
2659
+ const Ae = De;
2648
2660
  class mt {
2649
2661
  constructor(t) {
2650
2662
  if (typeof t != "function")
@@ -2670,7 +2682,7 @@ class mt {
2670
2682
  n.unsubscribe(o);
2671
2683
  }, i;
2672
2684
  }, t(function(o, i, c) {
2673
- n.reason || (n.reason = new ge(o, i, c), r(n.reason));
2685
+ n.reason || (n.reason = new ye(o, i, c), r(n.reason));
2674
2686
  });
2675
2687
  }
2676
2688
  /**
@@ -2792,47 +2804,47 @@ Object.entries(ct).forEach(([e, t]) => {
2792
2804
  });
2793
2805
  const qs = ct;
2794
2806
  function Nr(e) {
2795
- const t = new Pe(e), r = dr(Pe.prototype.request, t);
2796
- return u.extend(r, Pe.prototype, t, { allOwnKeys: !0 }), u.extend(r, t, null, { allOwnKeys: !0 }), r.create = function(s) {
2807
+ const t = new Ae(e), r = dr(Ae.prototype.request, t);
2808
+ return u.extend(r, Ae.prototype, t, { allOwnKeys: !0 }), u.extend(r, t, null, { allOwnKeys: !0 }), r.create = function(s) {
2797
2809
  return Nr(oe(e, s));
2798
2810
  }, r;
2799
2811
  }
2800
- const C = Nr(pt);
2801
- C.Axios = Pe;
2802
- C.CanceledError = ge;
2803
- C.CancelToken = Hs;
2804
- C.isCancel = Cr;
2805
- C.VERSION = jr;
2806
- C.toFormData = Ue;
2807
- C.AxiosError = x;
2808
- C.Cancel = C.CanceledError;
2809
- C.all = function(t) {
2812
+ const P = Nr(pt);
2813
+ P.Axios = Ae;
2814
+ P.CanceledError = ye;
2815
+ P.CancelToken = Hs;
2816
+ P.isCancel = Pr;
2817
+ P.VERSION = jr;
2818
+ P.toFormData = Ue;
2819
+ P.AxiosError = x;
2820
+ P.Cancel = P.CanceledError;
2821
+ P.all = function(t) {
2810
2822
  return Promise.all(t);
2811
2823
  };
2812
- C.spread = $s;
2813
- C.isAxiosError = Vs;
2814
- C.mergeConfig = oe;
2815
- C.AxiosHeaders = W;
2816
- C.formToJSON = (e) => _r(u.isHTMLForm(e) ? new FormData(e) : e);
2817
- C.getAdapter = Ar.getAdapter;
2818
- C.HttpStatusCode = qs;
2819
- C.default = C;
2820
- const li = C.CancelToken, ui = (e = !0) => {
2821
- const { axiosInstance: t, language: r, axiosTexts: n } = or(cr), { addNotification: s } = Po(), { getToken: o } = Eo();
2824
+ P.spread = $s;
2825
+ P.isAxiosError = Vs;
2826
+ P.mergeConfig = oe;
2827
+ P.AxiosHeaders = W;
2828
+ P.formToJSON = (e) => _r(u.isHTMLForm(e) ? new FormData(e) : e);
2829
+ P.getAdapter = Ar.getAdapter;
2830
+ P.HttpStatusCode = qs;
2831
+ P.default = P;
2832
+ const fi = P.CancelToken, di = (e = !0) => {
2833
+ const { axiosInstance: t, language: r, axiosTexts: n } = or(cr), { addNotification: s } = Co(), { getToken: o } = Eo();
2822
2834
  return lt(() => {
2823
2835
  t.interceptors.request.clear(), t.interceptors.response.clear();
2824
2836
  const i = t.interceptors.request.use((l) => {
2825
2837
  var h, p, f;
2826
2838
  return e && !l.headers.Authorization && (l.headers.Authorization = `Bearer ${o()}`), (h = l.url) != null && h.includes("culture=") ? l.url = (p = l.url) == null ? void 0 : p.replace(/culture=[a-z]{2}/, `culture=${r}`) : l.url = `${l.url}${(f = l.url) != null && f.includes("?") ? "&" : "?"}culture=${r}`, l;
2827
2839
  }, (l) => Promise.reject(l)), c = t.interceptors.response.use((l) => l, (l) => {
2828
- if (C.isCancel(l))
2840
+ if (P.isCancel(l))
2829
2841
  return Promise.reject(l);
2830
2842
  const h = pn(l);
2831
2843
  if (h.length > 0) {
2832
2844
  const p = h.find((f) => f.name.toLowerCase() === "others");
2833
2845
  return p ? (s(p.errors, "danger"), Promise.reject(l)) : (s(n.validationError, "warning"), Promise.reject(l));
2834
2846
  }
2835
- return l.message && l.message === "Network Error" ? (s(n.networkError, "danger"), Promise.reject(l)) : (C.isCancel(l) || s(n.unexpectedError, "danger"), Promise.reject(l));
2847
+ return l.message && l.message === "Network Error" ? (s(n.networkError, "danger"), Promise.reject(l)) : (P.isCancel(l) || s(n.unexpectedError, "danger"), Promise.reject(l));
2836
2848
  });
2837
2849
  return () => {
2838
2850
  t.interceptors.request.eject(i), t.interceptors.response.eject(c);
@@ -2840,30 +2852,32 @@ const li = C.CancelToken, ui = (e = !0) => {
2840
2852
  }, [t, s, r, o, e, n]), t;
2841
2853
  };
2842
2854
  export {
2843
- ii as C,
2844
- D as G,
2845
- si as I,
2855
+ ci as C,
2856
+ k as G,
2857
+ ii as I,
2846
2858
  cr as L,
2847
- ti as M,
2848
- ci as U,
2849
- Po as a,
2850
- ui as b,
2851
- li as c,
2859
+ ri as M,
2860
+ ai as P,
2861
+ ui as U,
2862
+ Co as a,
2863
+ di as b,
2864
+ fi as c,
2852
2865
  ue as d,
2853
- ai as e,
2854
- ei as f,
2866
+ li as e,
2867
+ ti as f,
2855
2868
  hn as g,
2856
2869
  Ks as h,
2857
2870
  An as i,
2858
2871
  Y as j,
2859
2872
  Gs as k,
2860
- Zs as l,
2861
- Xs as m,
2862
- Qs as n,
2863
- Pn as o,
2864
- ri as p,
2873
+ ei as l,
2874
+ Zs as m,
2875
+ Xs as n,
2876
+ Qs as o,
2877
+ Cn as p,
2865
2878
  ni as q,
2866
- Ys as r,
2867
- oi as s,
2879
+ oi as r,
2880
+ Ys as s,
2881
+ si as t,
2868
2882
  Eo as u
2869
2883
  };