kelt-ui-kit-react 1.7.8 → 1.7.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as Le from "react";
2
- import Ae, { createContext as Ra, useRef as se, useState as F, useEffect as q, useContext as On, useCallback as A, useDebugValue as Gn, createElement as Yo, forwardRef as Ue, useId as Bo, useImperativeHandle as Dr, useMemo as Re, Children as Uo, cloneElement as zo } from "react";
2
+ import Ae, { createContext as Ra, useRef as oe, useState as F, useEffect as q, useContext as On, useCallback as R, useDebugValue as Gn, createElement as Yo, forwardRef as Ue, useId as Bo, useImperativeHandle as Dr, useMemo as Re, Children as Uo, cloneElement as zo } from "react";
3
3
  import Nn, { createPortal as Aa } from "react-dom";
4
4
  var ar = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
5
5
  function Go(e) {
@@ -21,11 +21,11 @@ function Ho() {
21
21
  Hn = 1;
22
22
  var e = Ae, t = Symbol.for("react.element"), r = Symbol.for("react.fragment"), n = Object.prototype.hasOwnProperty, a = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 };
23
23
  function s(l, c, d) {
24
- var f, v = {}, g = null, h = null;
24
+ var f, m = {}, g = null, h = null;
25
25
  d !== void 0 && (g = "" + d), c.key !== void 0 && (g = "" + c.key), c.ref !== void 0 && (h = c.ref);
26
- for (f in c) n.call(c, f) && !i.hasOwnProperty(f) && (v[f] = c[f]);
27
- if (l && l.defaultProps) for (f in c = l.defaultProps, c) v[f] === void 0 && (v[f] = c[f]);
28
- return { $$typeof: t, type: l, key: g, ref: h, props: v, _owner: a.current };
26
+ for (f in c) n.call(c, f) && !i.hasOwnProperty(f) && (m[f] = c[f]);
27
+ if (l && l.defaultProps) for (f in c = l.defaultProps, c) m[f] === void 0 && (m[f] = c[f]);
28
+ return { $$typeof: t, type: l, key: g, ref: h, props: m, _owner: a.current };
29
29
  }
30
30
  return It.Fragment = r, It.jsx = s, It.jsxs = s, It;
31
31
  }
@@ -42,46 +42,46 @@ var $t = {};
42
42
  var qn;
43
43
  function qo() {
44
44
  return qn || (qn = 1, process.env.NODE_ENV !== "production" && function() {
45
- var e = Ae, t = Symbol.for("react.element"), r = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), a = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), s = Symbol.for("react.provider"), l = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), f = Symbol.for("react.suspense_list"), v = Symbol.for("react.memo"), g = Symbol.for("react.lazy"), h = Symbol.for("react.offscreen"), p = Symbol.iterator, m = "@@iterator";
46
- function x(u) {
45
+ var e = Ae, t = Symbol.for("react.element"), r = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), a = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), s = Symbol.for("react.provider"), l = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), f = Symbol.for("react.suspense_list"), m = Symbol.for("react.memo"), g = Symbol.for("react.lazy"), h = Symbol.for("react.offscreen"), p = Symbol.iterator, v = "@@iterator";
46
+ function b(u) {
47
47
  if (u === null || typeof u != "object")
48
48
  return null;
49
- var w = p && u[p] || u[m];
49
+ var w = p && u[p] || u[v];
50
50
  return typeof w == "function" ? w : null;
51
51
  }
52
52
  var j = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
53
- function b(u) {
53
+ function x(u) {
54
54
  {
55
- for (var w = arguments.length, D = new Array(w > 1 ? w - 1 : 0), R = 1; R < w; R++)
56
- D[R - 1] = arguments[R];
57
- T("error", u, D);
55
+ for (var w = arguments.length, O = new Array(w > 1 ? w - 1 : 0), A = 1; A < w; A++)
56
+ O[A - 1] = arguments[A];
57
+ k("error", u, O);
58
58
  }
59
59
  }
60
- function T(u, w, D) {
60
+ function k(u, w, O) {
61
61
  {
62
- var R = j.ReactDebugCurrentFrame, B = R.getStackAddendum();
63
- B !== "" && (w += "%s", D = D.concat([B]));
64
- var N = D.map(function(C) {
65
- return String(C);
62
+ var A = j.ReactDebugCurrentFrame, B = A.getStackAddendum();
63
+ B !== "" && (w += "%s", O = O.concat([B]));
64
+ var E = O.map(function(P) {
65
+ return String(P);
66
66
  });
67
- N.unshift("Warning: " + w), Function.prototype.apply.call(console[u], console, N);
67
+ E.unshift("Warning: " + w), Function.prototype.apply.call(console[u], console, E);
68
68
  }
69
69
  }
70
- var S = !1, O = !1, E = !1, _ = !1, W = !1, y;
70
+ var S = !1, D = !1, N = !1, C = !1, W = !1, y;
71
71
  y = Symbol.for("react.module.reference");
72
- function k(u) {
73
- return !!(typeof u == "string" || typeof u == "function" || u === n || u === i || W || u === a || u === d || u === f || _ || u === h || S || O || E || typeof u == "object" && u !== null && (u.$$typeof === g || u.$$typeof === v || u.$$typeof === s || u.$$typeof === l || u.$$typeof === c || // This needs to include all possible module reference object
72
+ function _(u) {
73
+ return !!(typeof u == "string" || typeof u == "function" || u === n || u === i || W || u === a || u === d || u === f || C || u === h || S || D || N || typeof u == "object" && u !== null && (u.$$typeof === g || u.$$typeof === m || u.$$typeof === s || u.$$typeof === l || u.$$typeof === c || // This needs to include all possible module reference object
74
74
  // types supported by any Flight configuration anywhere since
75
75
  // we don't know which Flight build this will end up being used
76
76
  // with.
77
77
  u.$$typeof === y || u.getModuleId !== void 0));
78
78
  }
79
- function I(u, w, D) {
80
- var R = u.displayName;
81
- if (R)
82
- return R;
79
+ function I(u, w, O) {
80
+ var A = u.displayName;
81
+ if (A)
82
+ return A;
83
83
  var B = w.displayName || w.name || "";
84
- return B !== "" ? D + "(" + B + ")" : D;
84
+ return B !== "" ? O + "(" + B + ")" : O;
85
85
  }
86
86
  function M(u) {
87
87
  return u.displayName || "Context";
@@ -89,7 +89,7 @@ function qo() {
89
89
  function L(u) {
90
90
  if (u == null)
91
91
  return null;
92
- if (typeof u.tag == "number" && b("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof u == "function")
92
+ if (typeof u.tag == "number" && x("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof u == "function")
93
93
  return u.displayName || u.name || null;
94
94
  if (typeof u == "string")
95
95
  return u;
@@ -113,17 +113,17 @@ function qo() {
113
113
  var w = u;
114
114
  return M(w) + ".Consumer";
115
115
  case s:
116
- var D = u;
117
- return M(D._context) + ".Provider";
116
+ var O = u;
117
+ return M(O._context) + ".Provider";
118
118
  case c:
119
119
  return I(u, u.render, "ForwardRef");
120
- case v:
121
- var R = u.displayName || null;
122
- return R !== null ? R : L(u.type) || "Memo";
120
+ case m:
121
+ var A = u.displayName || null;
122
+ return A !== null ? A : L(u.type) || "Memo";
123
123
  case g: {
124
- var B = u, N = B._payload, C = B._init;
124
+ var B = u, E = B._payload, P = B._init;
125
125
  try {
126
- return L(C(N));
126
+ return L(P(E));
127
127
  } catch {
128
128
  return null;
129
129
  }
@@ -190,18 +190,18 @@ function qo() {
190
190
  })
191
191
  });
192
192
  }
193
- ve < 0 && b("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
193
+ ve < 0 && x("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
194
194
  }
195
195
  }
196
196
  var me = j.ReactCurrentDispatcher, pe;
197
- function le(u, w, D) {
197
+ function le(u, w, O) {
198
198
  {
199
199
  if (pe === void 0)
200
200
  try {
201
201
  throw Error();
202
202
  } catch (B) {
203
- var R = B.stack.trim().match(/\n( *(at )?)/);
204
- pe = R && R[1] || "";
203
+ var A = B.stack.trim().match(/\n( *(at )?)/);
204
+ pe = A && A[1] || "";
205
205
  }
206
206
  return `
207
207
  ` + pe + u;
@@ -216,61 +216,61 @@ function qo() {
216
216
  if (!u || ne)
217
217
  return "";
218
218
  {
219
- var D = De.get(u);
220
- if (D !== void 0)
221
- return D;
219
+ var O = De.get(u);
220
+ if (O !== void 0)
221
+ return O;
222
222
  }
223
- var R;
223
+ var A;
224
224
  ne = !0;
225
225
  var B = Error.prepareStackTrace;
226
226
  Error.prepareStackTrace = void 0;
227
- var N;
228
- N = me.current, me.current = null, Ee();
227
+ var E;
228
+ E = me.current, me.current = null, Ee();
229
229
  try {
230
230
  if (w) {
231
- var C = function() {
231
+ var P = function() {
232
232
  throw Error();
233
233
  };
234
- if (Object.defineProperty(C.prototype, "props", {
234
+ if (Object.defineProperty(P.prototype, "props", {
235
235
  set: function() {
236
236
  throw Error();
237
237
  }
238
238
  }), typeof Reflect == "object" && Reflect.construct) {
239
239
  try {
240
- Reflect.construct(C, []);
240
+ Reflect.construct(P, []);
241
241
  } catch (ye) {
242
- R = ye;
242
+ A = ye;
243
243
  }
244
- Reflect.construct(u, [], C);
244
+ Reflect.construct(u, [], P);
245
245
  } else {
246
246
  try {
247
- C.call();
247
+ P.call();
248
248
  } catch (ye) {
249
- R = ye;
249
+ A = ye;
250
250
  }
251
- u.call(C.prototype);
251
+ u.call(P.prototype);
252
252
  }
253
253
  } else {
254
254
  try {
255
255
  throw Error();
256
256
  } catch (ye) {
257
- R = ye;
257
+ A = ye;
258
258
  }
259
259
  u();
260
260
  }
261
261
  } catch (ye) {
262
- if (ye && R && typeof ye.stack == "string") {
263
- for (var P = ye.stack.split(`
264
- `), z = R.stack.split(`
265
- `), V = P.length - 1, J = z.length - 1; V >= 1 && J >= 0 && P[V] !== z[J]; )
262
+ if (ye && A && typeof ye.stack == "string") {
263
+ for (var T = ye.stack.split(`
264
+ `), z = A.stack.split(`
265
+ `), V = T.length - 1, J = z.length - 1; V >= 1 && J >= 0 && T[V] !== z[J]; )
266
266
  J--;
267
267
  for (; V >= 1 && J >= 0; V--, J--)
268
- if (P[V] !== z[J]) {
268
+ if (T[V] !== z[J]) {
269
269
  if (V !== 1 || J !== 1)
270
270
  do
271
- if (V--, J--, J < 0 || P[V] !== z[J]) {
271
+ if (V--, J--, J < 0 || T[V] !== z[J]) {
272
272
  var ge = `
273
- ` + P[V].replace(" at new ", " at ");
273
+ ` + T[V].replace(" at new ", " at ");
274
274
  return u.displayName && ge.includes("<anonymous>") && (ge = ge.replace("<anonymous>", u.displayName)), typeof u == "function" && De.set(u, ge), ge;
275
275
  }
276
276
  while (V >= 1 && J >= 0);
@@ -278,19 +278,19 @@ function qo() {
278
278
  }
279
279
  }
280
280
  } finally {
281
- ne = !1, me.current = N, ke(), Error.prepareStackTrace = B;
281
+ ne = !1, me.current = E, ke(), Error.prepareStackTrace = B;
282
282
  }
283
283
  var We = u ? u.displayName || u.name : "", Je = We ? le(We) : "";
284
284
  return typeof u == "function" && De.set(u, Je), Je;
285
285
  }
286
- function Ot(u, w, D) {
286
+ function Ot(u, w, O) {
287
287
  return fe(u, !1);
288
288
  }
289
289
  function te(u) {
290
290
  var w = u.prototype;
291
291
  return !!(w && w.isReactComponent);
292
292
  }
293
- function Ce(u, w, D) {
293
+ function Ce(u, w, O) {
294
294
  if (u == null)
295
295
  return "";
296
296
  if (typeof u == "function")
@@ -307,42 +307,42 @@ function qo() {
307
307
  switch (u.$$typeof) {
308
308
  case c:
309
309
  return Ot(u.render);
310
- case v:
311
- return Ce(u.type, w, D);
310
+ case m:
311
+ return Ce(u.type, w, O);
312
312
  case g: {
313
- var R = u, B = R._payload, N = R._init;
313
+ var A = u, B = A._payload, E = A._init;
314
314
  try {
315
- return Ce(N(B), w, D);
315
+ return Ce(E(B), w, O);
316
316
  } catch {
317
317
  }
318
318
  }
319
319
  }
320
320
  return "";
321
321
  }
322
- var oe = Object.prototype.hasOwnProperty, He = {}, Nt = j.ReactDebugCurrentFrame;
322
+ var ie = Object.prototype.hasOwnProperty, He = {}, Nt = j.ReactDebugCurrentFrame;
323
323
  function qe(u) {
324
324
  if (u) {
325
- var w = u._owner, D = Ce(u.type, u._source, w ? w.type : null);
326
- Nt.setExtraStackFrame(D);
325
+ var w = u._owner, O = Ce(u.type, u._source, w ? w.type : null);
326
+ Nt.setExtraStackFrame(O);
327
327
  } else
328
328
  Nt.setExtraStackFrame(null);
329
329
  }
330
- function Lr(u, w, D, R, B) {
330
+ function Lr(u, w, O, A, B) {
331
331
  {
332
- var N = Function.call.bind(oe);
333
- for (var C in u)
334
- if (N(u, C)) {
335
- var P = void 0;
332
+ var E = Function.call.bind(ie);
333
+ for (var P in u)
334
+ if (E(u, P)) {
335
+ var T = void 0;
336
336
  try {
337
- if (typeof u[C] != "function") {
338
- var z = Error((R || "React class") + ": " + D + " type `" + C + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof u[C] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
337
+ if (typeof u[P] != "function") {
338
+ var z = Error((A || "React class") + ": " + O + " type `" + P + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof u[P] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
339
339
  throw z.name = "Invariant Violation", z;
340
340
  }
341
- P = u[C](w, C, R, D, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
341
+ T = u[P](w, P, A, O, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
342
342
  } catch (V) {
343
- P = V;
343
+ T = V;
344
344
  }
345
- P && !(P instanceof Error) && (qe(B), b("%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).", R || "React class", D, C, typeof P), qe(null)), P instanceof Error && !(P.message in He) && (He[P.message] = !0, qe(B), b("Failed %s type: %s", D, P.message), qe(null));
345
+ T && !(T instanceof Error) && (qe(B), x("%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).", A || "React class", O, P, typeof T), qe(null)), T instanceof Error && !(T.message in He) && (He[T.message] = !0, qe(B), x("Failed %s type: %s", O, T.message), qe(null));
346
346
  }
347
347
  }
348
348
  }
@@ -352,8 +352,8 @@ function qo() {
352
352
  }
353
353
  function Ht(u) {
354
354
  {
355
- var w = typeof Symbol == "function" && Symbol.toStringTag, D = w && u[Symbol.toStringTag] || u.constructor.name || "Object";
356
- return D;
355
+ var w = typeof Symbol == "function" && Symbol.toStringTag, O = w && u[Symbol.toStringTag] || u.constructor.name || "Object";
356
+ return O;
357
357
  }
358
358
  }
359
359
  function Wr(u) {
@@ -368,7 +368,7 @@ function qo() {
368
368
  }
369
369
  function Xt(u) {
370
370
  if (Wr(u))
371
- return b("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Ht(u)), qt(u);
371
+ return x("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Ht(u)), qt(u);
372
372
  }
373
373
  var Kt = j.ReactCurrentOwner, Vr = {
374
374
  key: !0,
@@ -377,7 +377,7 @@ function qo() {
377
377
  __source: !0
378
378
  }, it, kt;
379
379
  function Jt(u) {
380
- if (oe.call(u, "ref")) {
380
+ if (ie.call(u, "ref")) {
381
381
  var w = Object.getOwnPropertyDescriptor(u, "ref").get;
382
382
  if (w && w.isReactWarning)
383
383
  return !1;
@@ -385,7 +385,7 @@ function qo() {
385
385
  return u.ref !== void 0;
386
386
  }
387
387
  function Yr(u) {
388
- if (oe.call(u, "key")) {
388
+ if (ie.call(u, "key")) {
389
389
  var w = Object.getOwnPropertyDescriptor(u, "key").get;
390
390
  if (w && w.isReactWarning)
391
391
  return !1;
@@ -397,78 +397,78 @@ function qo() {
397
397
  }
398
398
  function Qt(u, w) {
399
399
  {
400
- var D = function() {
401
- it || (it = !0, b("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", w));
400
+ var O = function() {
401
+ it || (it = !0, x("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", w));
402
402
  };
403
- D.isReactWarning = !0, Object.defineProperty(u, "key", {
404
- get: D,
403
+ O.isReactWarning = !0, Object.defineProperty(u, "key", {
404
+ get: O,
405
405
  configurable: !0
406
406
  });
407
407
  }
408
408
  }
409
409
  function Br(u, w) {
410
410
  {
411
- var D = function() {
412
- kt || (kt = !0, b("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", w));
411
+ var O = function() {
412
+ kt || (kt = !0, x("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", w));
413
413
  };
414
- D.isReactWarning = !0, Object.defineProperty(u, "ref", {
415
- get: D,
414
+ O.isReactWarning = !0, Object.defineProperty(u, "ref", {
415
+ get: O,
416
416
  configurable: !0
417
417
  });
418
418
  }
419
419
  }
420
- var Zt = function(u, w, D, R, B, N, C) {
421
- var P = {
420
+ var Zt = function(u, w, O, A, B, E, P) {
421
+ var T = {
422
422
  // This tag allows us to uniquely identify this as a React Element
423
423
  $$typeof: t,
424
424
  // Built-in properties that belong on the element
425
425
  type: u,
426
426
  key: w,
427
- ref: D,
428
- props: C,
427
+ ref: O,
428
+ props: P,
429
429
  // Record the component responsible for creating this element.
430
- _owner: N
430
+ _owner: E
431
431
  };
432
- return P._store = {}, Object.defineProperty(P._store, "validated", {
432
+ return T._store = {}, Object.defineProperty(T._store, "validated", {
433
433
  configurable: !1,
434
434
  enumerable: !1,
435
435
  writable: !0,
436
436
  value: !1
437
- }), Object.defineProperty(P, "_self", {
437
+ }), Object.defineProperty(T, "_self", {
438
438
  configurable: !1,
439
439
  enumerable: !1,
440
440
  writable: !1,
441
- value: R
442
- }), Object.defineProperty(P, "_source", {
441
+ value: A
442
+ }), Object.defineProperty(T, "_source", {
443
443
  configurable: !1,
444
444
  enumerable: !1,
445
445
  writable: !1,
446
446
  value: B
447
- }), Object.freeze && (Object.freeze(P.props), Object.freeze(P)), P;
447
+ }), Object.freeze && (Object.freeze(T.props), Object.freeze(T)), T;
448
448
  };
449
- function er(u, w, D, R, B) {
449
+ function er(u, w, O, A, B) {
450
450
  {
451
- var N, C = {}, P = null, z = null;
452
- D !== void 0 && (Xt(D), P = "" + D), Yr(w) && (Xt(w.key), P = "" + w.key), Jt(w) && (z = w.ref, st(w, B));
453
- for (N in w)
454
- oe.call(w, N) && !Vr.hasOwnProperty(N) && (C[N] = w[N]);
451
+ var E, P = {}, T = null, z = null;
452
+ O !== void 0 && (Xt(O), T = "" + O), Yr(w) && (Xt(w.key), T = "" + w.key), Jt(w) && (z = w.ref, st(w, B));
453
+ for (E in w)
454
+ ie.call(w, E) && !Vr.hasOwnProperty(E) && (P[E] = w[E]);
455
455
  if (u && u.defaultProps) {
456
456
  var V = u.defaultProps;
457
- for (N in V)
458
- C[N] === void 0 && (C[N] = V[N]);
457
+ for (E in V)
458
+ P[E] === void 0 && (P[E] = V[E]);
459
459
  }
460
- if (P || z) {
460
+ if (T || z) {
461
461
  var J = typeof u == "function" ? u.displayName || u.name || "Unknown" : u;
462
- P && Qt(C, J), z && Br(C, J);
462
+ T && Qt(P, J), z && Br(P, J);
463
463
  }
464
- return Zt(u, P, z, B, R, Kt.current, C);
464
+ return Zt(u, T, z, B, A, Kt.current, P);
465
465
  }
466
466
  }
467
467
  var Xe = j.ReactCurrentOwner, tr = j.ReactDebugCurrentFrame;
468
468
  function $e(u) {
469
469
  if (u) {
470
- var w = u._owner, D = Ce(u.type, u._source, w ? w.type : null);
471
- tr.setExtraStackFrame(D);
470
+ var w = u._owner, O = Ce(u.type, u._source, w ? w.type : null);
471
+ tr.setExtraStackFrame(O);
472
472
  } else
473
473
  tr.setExtraStackFrame(null);
474
474
  }
@@ -497,10 +497,10 @@ Check the render method of \`` + u + "`.";
497
497
  {
498
498
  var w = ue();
499
499
  if (!w) {
500
- var D = typeof u == "string" ? u : u.displayName || u.name;
501
- D && (w = `
500
+ var O = typeof u == "string" ? u : u.displayName || u.name;
501
+ O && (w = `
502
502
 
503
- Check the top-level render call using <` + D + ">.");
503
+ Check the top-level render call using <` + O + ">.");
504
504
  }
505
505
  return w;
506
506
  }
@@ -510,12 +510,12 @@ Check the top-level render call using <` + D + ">.");
510
510
  if (!u._store || u._store.validated || u.key != null)
511
511
  return;
512
512
  u._store.validated = !0;
513
- var D = G(w);
514
- if (Ke[D])
513
+ var O = G(w);
514
+ if (Ke[O])
515
515
  return;
516
- Ke[D] = !0;
517
- var R = "";
518
- u && u._owner && u._owner !== Xe.current && (R = " It was passed a child from " + L(u._owner.type) + "."), $e(u), b('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', D, R), $e(null);
516
+ Ke[O] = !0;
517
+ var A = "";
518
+ u && u._owner && u._owner !== Xe.current && (A = " It was passed a child from " + L(u._owner.type) + "."), $e(u), x('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', O, A), $e(null);
519
519
  }
520
520
  }
521
521
  function rr(u, w) {
@@ -523,17 +523,17 @@ Check the top-level render call using <` + D + ">.");
523
523
  if (typeof u != "object")
524
524
  return;
525
525
  if (Et(u))
526
- for (var D = 0; D < u.length; D++) {
527
- var R = u[D];
528
- ct(R) && we(R, w);
526
+ for (var O = 0; O < u.length; O++) {
527
+ var A = u[O];
528
+ ct(A) && we(A, w);
529
529
  }
530
530
  else if (ct(u))
531
531
  u._store && (u._store.validated = !0);
532
532
  else if (u) {
533
- var B = x(u);
533
+ var B = b(u);
534
534
  if (typeof B == "function" && B !== u.entries)
535
- for (var N = B.call(u), C; !(C = N.next()).done; )
536
- ct(C.value) && we(C.value, w);
535
+ for (var E = B.call(u), P; !(P = E.next()).done; )
536
+ ct(P.value) && we(P.value, w);
537
537
  }
538
538
  }
539
539
  }
@@ -542,73 +542,73 @@ Check the top-level render call using <` + D + ">.");
542
542
  var w = u.type;
543
543
  if (w == null || typeof w == "string")
544
544
  return;
545
- var D;
545
+ var O;
546
546
  if (typeof w == "function")
547
- D = w.propTypes;
547
+ O = w.propTypes;
548
548
  else if (typeof w == "object" && (w.$$typeof === c || // Note: Memo only checks outer props here.
549
549
  // Inner props are checked in the reconciler.
550
- w.$$typeof === v))
551
- D = w.propTypes;
550
+ w.$$typeof === m))
551
+ O = w.propTypes;
552
552
  else
553
553
  return;
554
- if (D) {
555
- var R = L(w);
556
- Lr(D, u.props, "prop", R, u);
554
+ if (O) {
555
+ var A = L(w);
556
+ Lr(O, u.props, "prop", A, u);
557
557
  } else if (w.PropTypes !== void 0 && !_t) {
558
558
  _t = !0;
559
559
  var B = L(w);
560
- b("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", B || "Unknown");
560
+ x("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", B || "Unknown");
561
561
  }
562
- typeof w.getDefaultProps == "function" && !w.getDefaultProps.isReactClassApproved && b("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
562
+ typeof w.getDefaultProps == "function" && !w.getDefaultProps.isReactClassApproved && x("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
563
563
  }
564
564
  }
565
565
  function nr(u) {
566
566
  {
567
- for (var w = Object.keys(u.props), D = 0; D < w.length; D++) {
568
- var R = w[D];
569
- if (R !== "children" && R !== "key") {
570
- $e(u), b("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", R), $e(null);
567
+ for (var w = Object.keys(u.props), O = 0; O < w.length; O++) {
568
+ var A = w[O];
569
+ if (A !== "children" && A !== "key") {
570
+ $e(u), x("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", A), $e(null);
571
571
  break;
572
572
  }
573
573
  }
574
- u.ref !== null && ($e(u), b("Invalid attribute `ref` supplied to `React.Fragment`."), $e(null));
574
+ u.ref !== null && ($e(u), x("Invalid attribute `ref` supplied to `React.Fragment`."), $e(null));
575
575
  }
576
576
  }
577
577
  var Pt = {};
578
- function lt(u, w, D, R, B, N) {
578
+ function lt(u, w, O, A, B, E) {
579
579
  {
580
- var C = k(u);
581
- if (!C) {
582
- var P = "";
583
- (u === void 0 || typeof u == "object" && u !== null && Object.keys(u).length === 0) && (P += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
580
+ var P = _(u);
581
+ if (!P) {
582
+ var T = "";
583
+ (u === void 0 || typeof u == "object" && u !== null && Object.keys(u).length === 0) && (T += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
584
584
  var z = he();
585
- z ? P += z : P += ue();
585
+ z ? T += z : T += ue();
586
586
  var V;
587
- u === null ? V = "null" : Et(u) ? V = "array" : u !== void 0 && u.$$typeof === t ? (V = "<" + (L(u.type) || "Unknown") + " />", P = " Did you accidentally export a JSX literal instead of a component?") : V = typeof u, b("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", V, P);
587
+ u === null ? V = "null" : Et(u) ? V = "array" : u !== void 0 && u.$$typeof === t ? (V = "<" + (L(u.type) || "Unknown") + " />", T = " Did you accidentally export a JSX literal instead of a component?") : V = typeof u, x("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", V, T);
588
588
  }
589
- var J = er(u, w, D, B, N);
589
+ var J = er(u, w, O, B, E);
590
590
  if (J == null)
591
591
  return J;
592
- if (C) {
592
+ if (P) {
593
593
  var ge = w.children;
594
594
  if (ge !== void 0)
595
- if (R)
595
+ if (A)
596
596
  if (Et(ge)) {
597
597
  for (var We = 0; We < ge.length; We++)
598
598
  rr(ge[We], u);
599
599
  Object.freeze && Object.freeze(ge);
600
600
  } else
601
- b("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
601
+ x("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
602
602
  else
603
603
  rr(ge, u);
604
604
  }
605
- if (oe.call(w, "key")) {
605
+ if (ie.call(w, "key")) {
606
606
  var Je = L(u), ye = Object.keys(w).filter(function(Vo) {
607
607
  return Vo !== "key";
608
608
  }), Ur = ye.length > 0 ? "{key: someKey, " + ye.join(": ..., ") + ": ...}" : "{key: someKey}";
609
609
  if (!Pt[Je + Ur]) {
610
610
  var Wo = ye.length > 0 ? "{" + ye.join(": ..., ") + ": ...}" : "{}";
611
- b(`A props object containing a "key" prop is being spread into JSX:
611
+ x(`A props object containing a "key" prop is being spread into JSX:
612
612
  let props = %s;
613
613
  <%s {...props} />
614
614
  React keys must be passed directly to JSX without using spread:
@@ -619,11 +619,11 @@ React keys must be passed directly to JSX without using spread:
619
619
  return u === n ? nr(J) : Ct(J), J;
620
620
  }
621
621
  }
622
- function ut(u, w, D) {
623
- return lt(u, w, D, !0);
622
+ function ut(u, w, O) {
623
+ return lt(u, w, O, !0);
624
624
  }
625
- function Tt(u, w, D) {
626
- return lt(u, w, D, !1);
625
+ function Tt(u, w, O) {
626
+ return lt(u, w, O, !1);
627
627
  }
628
628
  var Rt = Tt, At = ut;
629
629
  $t.Fragment = n, $t.jsx = Rt, $t.jsxs = At;
@@ -699,7 +699,7 @@ new Promise(() => {
699
699
  });
700
700
  const $a = Ra(1);
701
701
  function bl({ children: e }) {
702
- const t = ni(), r = se(1), [n, a] = F(1);
702
+ const t = ni(), r = oe(1), [n, a] = F(1);
703
703
  return q(() => {
704
704
  r.current += 1, a(r.current);
705
705
  }, [t]), /* @__PURE__ */ o.jsx($a.Provider, { value: n, children: e });
@@ -734,7 +734,7 @@ const wl = ({ imageUrl: e }) => {
734
734
  });
735
735
  };
736
736
  return n(e, t), r.toString();
737
- }, Ol = (e = "fr-FR", t = "EUR") => ({ formatCurrency: A(
737
+ }, Ol = (e = "fr-FR", t = "EUR") => ({ formatCurrency: R(
738
738
  (n) => new Intl.NumberFormat(e, {
739
739
  style: "currency",
740
740
  currency: t
@@ -765,8 +765,8 @@ function Nl(e, t) {
765
765
  "décembre"
766
766
  ];
767
767
  if (!e) return "";
768
- const a = e.getFullYear().toString(), i = String(e.getMonth() + 1).padStart(2, "0"), s = String(e.getDate()).padStart(2, "0"), l = String(e.getHours()).padStart(2, "0"), c = String(e.getMinutes()).padStart(2, "0"), d = String(e.getSeconds()).padStart(2, "0"), f = r[e.getDay()], v = n[e.getMonth()];
769
- return t.replace("dddd", f).replace("MMMM", v).replace("YYYY", a).replace("MM", i).replace("DD", s).replace("HH", l).replace("mm", c).replace("ss", d);
768
+ const a = e.getFullYear().toString(), i = String(e.getMonth() + 1).padStart(2, "0"), s = String(e.getDate()).padStart(2, "0"), l = String(e.getHours()).padStart(2, "0"), c = String(e.getMinutes()).padStart(2, "0"), d = String(e.getSeconds()).padStart(2, "0"), f = r[e.getDay()], m = n[e.getMonth()];
769
+ return t.replace("dddd", f).replace("MMMM", m).replace("YYYY", a).replace("MM", i).replace("DD", s).replace("HH", l).replace("mm", c).replace("ss", d);
770
770
  }
771
771
  function El(e) {
772
772
  const [t, r, n] = e.split("-").map(Number);
@@ -839,14 +839,14 @@ function ii(e, t) {
839
839
  throw new Mt(`Invalid token specified: invalid json for part #${r + 1} (${i.message})`);
840
840
  }
841
841
  }
842
- const Pl = () => ({ getTokenValidate: A(() => {
842
+ const Pl = () => ({ getTokenValidate: R(() => {
843
843
  const t = localStorage.getItem("token");
844
844
  if (!t)
845
845
  return null;
846
846
  const r = ii(t), n = Date.now() / 1e3;
847
847
  return !r.exp || r.exp < n ? null : t;
848
848
  }, []) }), Tl = () => ({ isValidateEmail: (n) => /^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(n), isValidateTel: (n) => /^\+?[0-9\s.-]{7,15}$/.test(n), isValidateCodePostal: (n) => /^[0-9]{5}$/.test(n) }), Rl = () => {
849
- const e = se(null);
849
+ const e = oe(null);
850
850
  return q(() => {
851
851
  if (!e.current) return;
852
852
  const t = document.createElement("script");
@@ -879,7 +879,7 @@ const Pl = () => ({ getTokenValidate: A(() => {
879
879
  sizeIcon: n,
880
880
  classIcon: a
881
881
  }) => {
882
- const i = A((s) => {
882
+ const i = R((s) => {
883
883
  s.stopPropagation(), t && t(s);
884
884
  }, []);
885
885
  return /* @__PURE__ */ o.jsxs(
@@ -948,7 +948,7 @@ const Al = ({
948
948
  children: e.item.children
949
949
  }
950
950
  ), La = (e) => {
951
- const [t, r] = F(null), n = A((i) => {
951
+ const [t, r] = F(null), n = R((i) => {
952
952
  r(i);
953
953
  }, []), a = (i) => /* @__PURE__ */ o.jsx("ul", { children: i.map((s) => /* @__PURE__ */ o.jsxs("li", { children: [
954
954
  /* @__PURE__ */ o.jsx(
@@ -1000,7 +1000,7 @@ var ui = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|def
1000
1000
  /* Z+1 */
1001
1001
  ), H = "-ms-", Wt = "-moz-", U = "-webkit-", Wa = "comm", Or = "rule", kn = "decl", fi = "@import", Va = "@keyframes", hi = "@layer", Ya = Math.abs, _n = String.fromCharCode, tn = Object.assign;
1002
1002
  function vi(e, t) {
1003
- return ie(e, 0) ^ 45 ? (((t << 2 ^ ie(e, 0)) << 2 ^ ie(e, 1)) << 2 ^ ie(e, 2)) << 2 ^ ie(e, 3) : 0;
1003
+ return se(e, 0) ^ 45 ? (((t << 2 ^ se(e, 0)) << 2 ^ se(e, 1)) << 2 ^ se(e, 2)) << 2 ^ se(e, 3) : 0;
1004
1004
  }
1005
1005
  function Ba(e) {
1006
1006
  return e.trim();
@@ -1014,7 +1014,7 @@ function $(e, t, r) {
1014
1014
  function dr(e, t, r) {
1015
1015
  return e.indexOf(t, r);
1016
1016
  }
1017
- function ie(e, t) {
1017
+ function se(e, t) {
1018
1018
  return e.charCodeAt(t) | 0;
1019
1019
  }
1020
1020
  function mt(e, t, r) {
@@ -1053,13 +1053,13 @@ function pi() {
1053
1053
  return ae;
1054
1054
  }
1055
1055
  function gi() {
1056
- return ae = Oe > 0 ? ie(wt, --Oe) : 0, pt--, ae === 10 && (pt = 1, Nr--), ae;
1056
+ return ae = Oe > 0 ? se(wt, --Oe) : 0, pt--, ae === 10 && (pt = 1, Nr--), ae;
1057
1057
  }
1058
1058
  function Ne() {
1059
- return ae = Oe < za ? ie(wt, Oe++) : 0, pt++, ae === 10 && (pt = 1, Nr++), ae;
1059
+ return ae = Oe < za ? se(wt, Oe++) : 0, pt++, ae === 10 && (pt = 1, Nr++), ae;
1060
1060
  }
1061
1061
  function et() {
1062
- return ie(wt, Oe);
1062
+ return se(wt, Oe);
1063
1063
  }
1064
1064
  function fr() {
1065
1065
  return Oe;
@@ -1151,26 +1151,26 @@ function Di(e) {
1151
1151
  return bi(hr("", null, null, null, [""], e = yi(e), 0, [0], e));
1152
1152
  }
1153
1153
  function hr(e, t, r, n, a, i, s, l, c) {
1154
- for (var d = 0, f = 0, v = s, g = 0, h = 0, p = 0, m = 1, x = 1, j = 1, b = 0, T = "", S = a, O = i, E = n, _ = T; x; )
1155
- switch (p = b, b = Ne()) {
1154
+ for (var d = 0, f = 0, m = s, g = 0, h = 0, p = 0, v = 1, b = 1, j = 1, x = 0, k = "", S = a, D = i, N = n, C = k; b; )
1155
+ switch (p = x, x = Ne()) {
1156
1156
  case 40:
1157
- if (p != 108 && ie(_, v - 1) == 58) {
1158
- dr(_ += $(zr(b), "&", "&\f"), "&\f", Ya(d ? l[d - 1] : 0)) != -1 && (j = -1);
1157
+ if (p != 108 && se(C, m - 1) == 58) {
1158
+ dr(C += $(zr(x), "&", "&\f"), "&\f", Ya(d ? l[d - 1] : 0)) != -1 && (j = -1);
1159
1159
  break;
1160
1160
  }
1161
1161
  case 34:
1162
1162
  case 39:
1163
1163
  case 91:
1164
- _ += zr(b);
1164
+ C += zr(x);
1165
1165
  break;
1166
1166
  case 9:
1167
1167
  case 10:
1168
1168
  case 13:
1169
1169
  case 32:
1170
- _ += xi(p);
1170
+ C += xi(p);
1171
1171
  break;
1172
1172
  case 92:
1173
- _ += wi(fr() - 1, 7);
1173
+ C += wi(fr() - 1, 7);
1174
1174
  continue;
1175
1175
  case 47:
1176
1176
  switch (et()) {
@@ -1179,71 +1179,71 @@ function hr(e, t, r, n, a, i, s, l, c) {
1179
1179
  Lt(Oi(ji(Ne(), fr()), t, r, c), c);
1180
1180
  break;
1181
1181
  default:
1182
- _ += "/";
1182
+ C += "/";
1183
1183
  }
1184
1184
  break;
1185
- case 123 * m:
1186
- l[d++] = Te(_) * j;
1187
- case 125 * m:
1185
+ case 123 * v:
1186
+ l[d++] = Te(C) * j;
1187
+ case 125 * v:
1188
1188
  case 59:
1189
1189
  case 0:
1190
- switch (b) {
1190
+ switch (x) {
1191
1191
  case 0:
1192
1192
  case 125:
1193
- x = 0;
1193
+ b = 0;
1194
1194
  case 59 + f:
1195
- j == -1 && (_ = $(_, /\f/g, "")), h > 0 && Te(_) - v && Lt(h > 32 ? ea(_ + ";", n, r, v - 1, c) : ea($(_, " ", "") + ";", n, r, v - 2, c), c);
1195
+ j == -1 && (C = $(C, /\f/g, "")), h > 0 && Te(C) - m && Lt(h > 32 ? ea(C + ";", n, r, m - 1, c) : ea($(C, " ", "") + ";", n, r, m - 2, c), c);
1196
1196
  break;
1197
1197
  case 59:
1198
- _ += ";";
1198
+ C += ";";
1199
1199
  default:
1200
- if (Lt(E = Zn(_, t, r, d, f, a, l, T, S = [], O = [], v, i), i), b === 123)
1200
+ if (Lt(N = Zn(C, t, r, d, f, a, l, k, S = [], D = [], m, i), i), x === 123)
1201
1201
  if (f === 0)
1202
- hr(_, t, E, E, S, i, v, l, O);
1202
+ hr(C, t, N, N, S, i, m, l, D);
1203
1203
  else
1204
- switch (g === 99 && ie(_, 3) === 110 ? 100 : g) {
1204
+ switch (g === 99 && se(C, 3) === 110 ? 100 : g) {
1205
1205
  case 100:
1206
1206
  case 108:
1207
1207
  case 109:
1208
1208
  case 115:
1209
- hr(e, E, E, n && Lt(Zn(e, E, E, 0, 0, a, l, T, a, S = [], v, O), O), a, O, v, l, n ? S : O);
1209
+ hr(e, N, N, n && Lt(Zn(e, N, N, 0, 0, a, l, k, a, S = [], m, D), D), a, D, m, l, n ? S : D);
1210
1210
  break;
1211
1211
  default:
1212
- hr(_, E, E, E, [""], O, 0, l, O);
1212
+ hr(C, N, N, N, [""], D, 0, l, D);
1213
1213
  }
1214
1214
  }
1215
- d = f = h = 0, m = j = 1, T = _ = "", v = s;
1215
+ d = f = h = 0, v = j = 1, k = C = "", m = s;
1216
1216
  break;
1217
1217
  case 58:
1218
- v = 1 + Te(_), h = p;
1218
+ m = 1 + Te(C), h = p;
1219
1219
  default:
1220
- if (m < 1) {
1221
- if (b == 123)
1222
- --m;
1223
- else if (b == 125 && m++ == 0 && gi() == 125)
1220
+ if (v < 1) {
1221
+ if (x == 123)
1222
+ --v;
1223
+ else if (x == 125 && v++ == 0 && gi() == 125)
1224
1224
  continue;
1225
1225
  }
1226
- switch (_ += _n(b), b * m) {
1226
+ switch (C += _n(x), x * v) {
1227
1227
  case 38:
1228
- j = f > 0 ? 1 : (_ += "\f", -1);
1228
+ j = f > 0 ? 1 : (C += "\f", -1);
1229
1229
  break;
1230
1230
  case 44:
1231
- l[d++] = (Te(_) - 1) * j, j = 1;
1231
+ l[d++] = (Te(C) - 1) * j, j = 1;
1232
1232
  break;
1233
1233
  case 64:
1234
- et() === 45 && (_ += zr(Ne())), g = et(), f = v = Te(T = _ += Si(fr())), b++;
1234
+ et() === 45 && (C += zr(Ne())), g = et(), f = m = Te(k = C += Si(fr())), x++;
1235
1235
  break;
1236
1236
  case 45:
1237
- p === 45 && Te(_) == 2 && (m = 0);
1237
+ p === 45 && Te(C) == 2 && (v = 0);
1238
1238
  }
1239
1239
  }
1240
1240
  return i;
1241
1241
  }
1242
- function Zn(e, t, r, n, a, i, s, l, c, d, f, v) {
1243
- for (var g = a - 1, h = a === 0 ? i : [""], p = Ua(h), m = 0, x = 0, j = 0; m < n; ++m)
1244
- for (var b = 0, T = mt(e, g + 1, g = Ya(x = s[m])), S = e; b < p; ++b)
1245
- (S = Ba(x > 0 ? h[b] + " " + T : $(T, /&\f/g, h[b]))) && (c[j++] = S);
1246
- return Er(e, t, r, a === 0 ? Or : l, c, d, f, v);
1242
+ function Zn(e, t, r, n, a, i, s, l, c, d, f, m) {
1243
+ for (var g = a - 1, h = a === 0 ? i : [""], p = Ua(h), v = 0, b = 0, j = 0; v < n; ++v)
1244
+ for (var x = 0, k = mt(e, g + 1, g = Ya(b = s[v])), S = e; x < p; ++x)
1245
+ (S = Ba(b > 0 ? h[x] + " " + k : $(k, /&\f/g, h[x]))) && (c[j++] = S);
1246
+ return Er(e, t, r, a === 0 ? Or : l, c, d, f, m);
1247
1247
  }
1248
1248
  function Oi(e, t, r, n) {
1249
1249
  return Er(e, t, r, Wa, _n(pi()), mt(e, 2, -2), 0, n);
@@ -1290,7 +1290,7 @@ function Ga(e, t, r) {
1290
1290
  case 2756:
1291
1291
  return U + e + Wt + e + H + e + e;
1292
1292
  case 5936:
1293
- switch (ie(e, t + 11)) {
1293
+ switch (se(e, t + 11)) {
1294
1294
  case 114:
1295
1295
  return U + e + H + $(e, /[svh]\w+-[tblr]{2}/, "tb") + e;
1296
1296
  case 108:
@@ -1359,12 +1359,12 @@ function Ga(e, t, r) {
1359
1359
  case 5021:
1360
1360
  case 4765:
1361
1361
  if (Te(e) - 1 - t > 6)
1362
- switch (ie(e, t + 1)) {
1362
+ switch (se(e, t + 1)) {
1363
1363
  case 109:
1364
- if (ie(e, t + 4) !== 45)
1364
+ if (se(e, t + 4) !== 45)
1365
1365
  break;
1366
1366
  case 102:
1367
- return $(e, /(.+:)(.+)-([^]+)/, "$1" + U + "$2-$3$1" + Wt + (ie(e, t + 3) == 108 ? "$3" : "$2-$3")) + e;
1367
+ return $(e, /(.+:)(.+)-([^]+)/, "$1" + U + "$2-$3$1" + Wt + (se(e, t + 3) == 108 ? "$3" : "$2-$3")) + e;
1368
1368
  case 115:
1369
1369
  return ~dr(e, "stretch", 0) ? Ga($(e, "stretch", "fill-available"), t, r) + e : e;
1370
1370
  }
@@ -1375,13 +1375,13 @@ function Ga(e, t, r) {
1375
1375
  return H + a + ":" + i + d + (s ? H + a + "-span:" + (l ? c : +c - +i) + d : "") + e;
1376
1376
  });
1377
1377
  case 4949:
1378
- if (ie(e, t + 6) === 121)
1378
+ if (se(e, t + 6) === 121)
1379
1379
  return $(e, ":", ":" + U) + e;
1380
1380
  break;
1381
1381
  case 6444:
1382
- switch (ie(e, ie(e, 14) === 45 ? 18 : 11)) {
1382
+ switch (se(e, se(e, 14) === 45 ? 18 : 11)) {
1383
1383
  case 120:
1384
- return $(e, /(.+:)([^;\s!]+)(;|(\s+)?!.+)?/, "$1" + U + (ie(e, 14) === 45 ? "inline-" : "") + "box$3$1" + U + "$2$3$1" + H + "$2box$3") + e;
1384
+ return $(e, /(.+:)([^;\s!]+)(;|(\s+)?!.+)?/, "$1" + U + (se(e, 14) === 45 ? "inline-" : "") + "box$3$1" + U + "$2$3$1" + H + "$2box$3") + e;
1385
1385
  case 100:
1386
1386
  return $(e, ":", ":" + H) + e;
1387
1387
  }
@@ -1514,7 +1514,7 @@ See https://styled-components.com/docs/basics#define-styled-components-outside-o
1514
1514
  console.error = function(s) {
1515
1515
  for (var l = [], c = 1; c < arguments.length; c++) l[c - 1] = arguments[c];
1516
1516
  ta.test(s) ? (i = !1, or.delete(n)) : a.apply(void 0, vt([s], l, !1));
1517
- }, se(), i && !or.has(n) && (console.warn(n), or.add(n));
1517
+ }, oe(), i && !or.has(n) && (console.warn(n), or.add(n));
1518
1518
  } catch (s) {
1519
1519
  ta.test(s.message) && or.delete(n);
1520
1520
  } finally {
@@ -1777,17 +1777,17 @@ var ro = function(e) {
1777
1777
  var a = this;
1778
1778
  this.options = be(be({}, os), t), this.gs = r, this.names = new Map(n), this.server = !!t.isServer, !this.server && br && la && (la = !1, ca(this)), Tn(this, function() {
1779
1779
  return function(i) {
1780
- for (var s = i.getTag(), l = s.length, c = "", d = function(v) {
1780
+ for (var s = i.getTag(), l = s.length, c = "", d = function(m) {
1781
1781
  var g = function(j) {
1782
1782
  return xr.get(j);
1783
- }(v);
1783
+ }(m);
1784
1784
  if (g === void 0) return "continue";
1785
- var h = i.names.get(g), p = s.getGroup(v);
1785
+ var h = i.names.get(g), p = s.getGroup(m);
1786
1786
  if (h === void 0 || !h.size || p.length === 0) return "continue";
1787
- var m = "".concat(nt, ".g").concat(v, '[id="').concat(g, '"]'), x = "";
1787
+ var v = "".concat(nt, ".g").concat(m, '[id="').concat(g, '"]'), b = "";
1788
1788
  h !== void 0 && h.forEach(function(j) {
1789
- j.length > 0 && (x += "".concat(j, ","));
1790
- }), c += "".concat(p).concat(m, '{content:"').concat(x, '"}').concat(Cn);
1789
+ j.length > 0 && (b += "".concat(j, ","));
1790
+ }), c += "".concat(p).concat(v, '{content:"').concat(b, '"}').concat(Cn);
1791
1791
  }, f = 0; f < l; f++) d(f);
1792
1792
  return c;
1793
1793
  }(a);
@@ -1839,18 +1839,18 @@ function cs(e) {
1839
1839
  f.push(function(g) {
1840
1840
  g.type === Or && g.value.includes("&") && (g.props[0] = g.props[0].replace(is, r).replace(n, d));
1841
1841
  }), s.prefix && f.push(_i), f.push(Ni);
1842
- var v = function(g, h, p, m) {
1843
- h === void 0 && (h = ""), p === void 0 && (p = ""), m === void 0 && (m = "&"), t = m, r = h, n = new RegExp("\\".concat(r, "\\b"), "g");
1844
- var x = g.replace(ss, ""), j = Di(p || h ? "".concat(p, " ").concat(h, " { ").concat(x, " }") : x);
1842
+ var m = function(g, h, p, v) {
1843
+ h === void 0 && (h = ""), p === void 0 && (p = ""), v === void 0 && (v = "&"), t = v, r = h, n = new RegExp("\\".concat(r, "\\b"), "g");
1844
+ var b = g.replace(ss, ""), j = Di(p || h ? "".concat(p, " ").concat(h, " { ").concat(b, " }") : b);
1845
1845
  s.namespace && (j = ao(j, s.namespace));
1846
- var b = [];
1847
- return yr(j, Ei(f.concat(ki(function(T) {
1848
- return b.push(T);
1849
- })))), b;
1846
+ var x = [];
1847
+ return yr(j, Ei(f.concat(ki(function(k) {
1848
+ return x.push(k);
1849
+ })))), x;
1850
1850
  };
1851
- return v.hash = c.length ? c.reduce(function(g, h) {
1851
+ return m.hash = c.length ? c.reduce(function(g, h) {
1852
1852
  return h.name || jt(15), Qe(g, h.name);
1853
- }, Xa).toString() : "", v;
1853
+ }, Xa).toString() : "", m;
1854
1854
  }
1855
1855
  var ls = new no(), cn = cs(), oo = Ae.createContext({ shouldForwardProp: void 0, styleSheet: ls, stylis: cn });
1856
1856
  oo.Consumer;
@@ -1930,10 +1930,10 @@ var fs = Ka(_r), hs = function() {
1930
1930
  }
1931
1931
  else {
1932
1932
  for (var c = Qe(this.baseHash, n.hash), d = "", f = 0; f < this.rules.length; f++) {
1933
- var v = this.rules[f];
1934
- if (typeof v == "string") d += v, process.env.NODE_ENV !== "production" && (c = Qe(c, v));
1935
- else if (v) {
1936
- var g = sa(tt(v, t, r, n));
1933
+ var m = this.rules[f];
1934
+ if (typeof m == "string") d += m, process.env.NODE_ENV !== "production" && (c = Qe(c, m));
1935
+ else if (m) {
1936
+ var g = sa(tt(m, t, r, n));
1937
1937
  c = Qe(c, g + f), d += g;
1938
1938
  }
1939
1939
  }
@@ -1948,60 +1948,60 @@ var fs = Ka(_r), hs = function() {
1948
1948
  co.Consumer;
1949
1949
  var qr = {}, ha = /* @__PURE__ */ new Set();
1950
1950
  function vs(e, t, r) {
1951
- var n = Pn(e), a = e, i = !Hr(e), s = t.attrs, l = s === void 0 ? Cr : s, c = t.componentId, d = c === void 0 ? function(S, O) {
1952
- var E = typeof S != "string" ? "sc" : ra(S);
1953
- qr[E] = (qr[E] || 0) + 1;
1954
- var _ = "".concat(E, "-").concat(Mi(_r + E + qr[E]));
1955
- return O ? "".concat(O, "-").concat(_) : _;
1956
- }(t.displayName, t.parentComponentId) : c, f = t.displayName, v = f === void 0 ? function(S) {
1951
+ var n = Pn(e), a = e, i = !Hr(e), s = t.attrs, l = s === void 0 ? Cr : s, c = t.componentId, d = c === void 0 ? function(S, D) {
1952
+ var N = typeof S != "string" ? "sc" : ra(S);
1953
+ qr[N] = (qr[N] || 0) + 1;
1954
+ var C = "".concat(N, "-").concat(Mi(_r + N + qr[N]));
1955
+ return D ? "".concat(D, "-").concat(C) : C;
1956
+ }(t.displayName, t.parentComponentId) : c, f = t.displayName, m = f === void 0 ? function(S) {
1957
1957
  return Hr(S) ? "styled.".concat(S) : "Styled(".concat(Ja(S), ")");
1958
1958
  }(e) : f, g = t.displayName && t.componentId ? "".concat(ra(t.displayName), "-").concat(t.componentId) : t.componentId || d, h = n && a.attrs ? a.attrs.concat(l).filter(Boolean) : l, p = t.shouldForwardProp;
1959
1959
  if (n && a.shouldForwardProp) {
1960
- var m = a.shouldForwardProp;
1960
+ var v = a.shouldForwardProp;
1961
1961
  if (t.shouldForwardProp) {
1962
- var x = t.shouldForwardProp;
1963
- p = function(S, O) {
1964
- return m(S, O) && x(S, O);
1962
+ var b = t.shouldForwardProp;
1963
+ p = function(S, D) {
1964
+ return v(S, D) && b(S, D);
1965
1965
  };
1966
- } else p = m;
1966
+ } else p = v;
1967
1967
  }
1968
1968
  var j = new hs(r, g, n ? a.componentStyle : void 0);
1969
- function b(S, O) {
1970
- return function(E, _, W) {
1971
- var y = E.attrs, k = E.componentStyle, I = E.defaultProps, M = E.foldedComponentIds, L = E.styledComponentId, X = E.target, ve = Ae.useContext(co), re = ua(), xe = E.shouldForwardProp || re.shouldForwardProp;
1969
+ function x(S, D) {
1970
+ return function(N, C, W) {
1971
+ var y = N.attrs, _ = N.componentStyle, I = N.defaultProps, M = N.foldedComponentIds, L = N.styledComponentId, X = N.target, ve = Ae.useContext(co), re = ua(), xe = N.shouldForwardProp || re.shouldForwardProp;
1972
1972
  process.env.NODE_ENV !== "production" && Gn(L);
1973
- var Ie = Ri(_, ve, I) || gt, ee = function(ke, me, pe) {
1973
+ var Ie = Ri(C, ve, I) || gt, ee = function(ke, me, pe) {
1974
1974
  for (var le, ne = be(be({}, me), { className: void 0, theme: pe }), De = 0; De < ke.length; De += 1) {
1975
1975
  var _e = yt(le = ke[De]) ? le(ne) : le;
1976
1976
  for (var fe in _e) ne[fe] = fe === "className" ? Ze(ne[fe], _e[fe]) : fe === "style" ? be(be({}, ne[fe]), _e[fe]) : _e[fe];
1977
1977
  }
1978
1978
  return me.className && (ne.className = Ze(ne.className, me.className)), ne;
1979
- }(y, _, Ie), K = ee.as || X, ce = {};
1979
+ }(y, C, Ie), K = ee.as || X, ce = {};
1980
1980
  for (var Z in ee) ee[Z] === void 0 || Z[0] === "$" || Z === "as" || Z === "theme" && ee.theme === Ie || (Z === "forwardedAs" ? ce.as = ee.forwardedAs : xe && !xe(Z, K) || (ce[Z] = ee[Z], xe || process.env.NODE_ENV !== "development" || di(Z) || ha.has(Z) || !an.has(K) || (ha.add(Z), console.warn('styled-components: it looks like an unknown prop "'.concat(Z, '" is being sent through to the DOM, which will likely trigger a React console error. If you would like automatic filtering of unknown props, you can opt-into that behavior via `<StyleSheetManager shouldForwardProp={...}>` (connect an API like `@emotion/is-prop-valid`) or consider using transient props (`$` prefix for automatic filtering.)')))));
1981
1981
  var Se = function(ke, me) {
1982
1982
  var pe = ua(), le = ke.generateAndInjectStyles(me, pe.styleSheet, pe.stylis);
1983
1983
  return process.env.NODE_ENV !== "production" && Gn(le), le;
1984
- }(k, ee);
1985
- process.env.NODE_ENV !== "production" && E.warnTooManyClasses && E.warnTooManyClasses(Se);
1984
+ }(_, ee);
1985
+ process.env.NODE_ENV !== "production" && N.warnTooManyClasses && N.warnTooManyClasses(Se);
1986
1986
  var Ee = Ze(M, L);
1987
1987
  return Se && (Ee += " " + Se), ee.className && (Ee += " " + ee.className), ce[Hr(K) && !an.has(K) ? "class" : "className"] = Ee, W && (ce.ref = W), Yo(K, ce);
1988
- }(T, S, O);
1988
+ }(k, S, D);
1989
1989
  }
1990
- b.displayName = v;
1991
- var T = Ae.forwardRef(b);
1992
- return T.attrs = h, T.componentStyle = j, T.displayName = v, T.shouldForwardProp = p, T.foldedComponentIds = n ? Ze(a.foldedComponentIds, a.styledComponentId) : "", T.styledComponentId = g, T.target = n ? a.target : e, Object.defineProperty(T, "defaultProps", { get: function() {
1990
+ x.displayName = m;
1991
+ var k = Ae.forwardRef(x);
1992
+ return k.attrs = h, k.componentStyle = j, k.displayName = m, k.shouldForwardProp = p, k.foldedComponentIds = n ? Ze(a.foldedComponentIds, a.styledComponentId) : "", k.styledComponentId = g, k.target = n ? a.target : e, Object.defineProperty(k, "defaultProps", { get: function() {
1993
1993
  return this._foldedDefaultProps;
1994
1994
  }, set: function(S) {
1995
- this._foldedDefaultProps = n ? function(O) {
1996
- for (var E = [], _ = 1; _ < arguments.length; _++) E[_ - 1] = arguments[_];
1997
- for (var W = 0, y = E; W < y.length; W++) sn(O, y[W], !0);
1998
- return O;
1995
+ this._foldedDefaultProps = n ? function(D) {
1996
+ for (var N = [], C = 1; C < arguments.length; C++) N[C - 1] = arguments[C];
1997
+ for (var W = 0, y = N; W < y.length; W++) sn(D, y[W], !0);
1998
+ return D;
1999
1999
  }({}, a.defaultProps, S) : S;
2000
- } }), process.env.NODE_ENV !== "production" && (Ti(v, g), T.warnTooManyClasses = /* @__PURE__ */ function(S, O) {
2001
- var E = {}, _ = !1;
2000
+ } }), process.env.NODE_ENV !== "production" && (Ti(m, g), k.warnTooManyClasses = /* @__PURE__ */ function(S, D) {
2001
+ var N = {}, C = !1;
2002
2002
  return function(W) {
2003
- if (!_ && (E[W] = !0, Object.keys(E).length >= 200)) {
2004
- var y = O ? ' with the id of "'.concat(O, '"') : "";
2003
+ if (!C && (N[W] = !0, Object.keys(N).length >= 200)) {
2004
+ var y = D ? ' with the id of "'.concat(D, '"') : "";
2005
2005
  console.warn("Over ".concat(200, " classes were generated for component ").concat(S).concat(y, `.
2006
2006
  `) + `Consider using the attrs method, together with a style object for frequently changed styles.
2007
2007
  Example:
@@ -2011,12 +2011,12 @@ Example:
2011
2011
  },
2012
2012
  }))\`width: 100%;\`
2013
2013
 
2014
- <Component />`), _ = !0, E = {};
2014
+ <Component />`), C = !0, N = {};
2015
2015
  }
2016
2016
  };
2017
- }(v, g)), Tn(T, function() {
2018
- return ".".concat(T.styledComponentId);
2019
- }), i && to(T, e, { attrs: !0, componentStyle: !0, displayName: !0, foldedComponentIds: !0, shouldForwardProp: !0, styledComponentId: !0, target: !0 }), T;
2017
+ }(m, g)), Tn(k, function() {
2018
+ return ".".concat(k.styledComponentId);
2019
+ }), i && to(k, e, { attrs: !0, componentStyle: !0, displayName: !0, foldedComponentIds: !0, shouldForwardProp: !0, styledComponentId: !0, target: !0 }), k;
2020
2020
  }
2021
2021
  function va(e, t) {
2022
2022
  for (var r = [e[0]], n = 0, a = t.length; n < a; n += 1) r.push(t[n], e[n + 1]);
@@ -2076,71 +2076,71 @@ const ms = Rn.div`
2076
2076
  id: i,
2077
2077
  closeOverlay: s
2078
2078
  }, l) => {
2079
- const { activeOverlayId: c, setActiveOverlay: d } = ci(), [f, v] = F(a || !1), [g, h] = F(
2079
+ const { activeOverlayId: c, setActiveOverlay: d } = ci(), [f, m] = F(a || !1), [g, h] = F(
2080
2080
  r ?? { top: 0, left: 0 }
2081
- ), p = se(null), m = Bo();
2081
+ ), p = oe(null), v = Bo();
2082
2082
  Dr(l, () => ({
2083
2083
  setCoords: h
2084
2084
  })), q(() => {
2085
- c !== m && v(!1);
2086
- }, [c, m]), q(() => {
2087
- const b = () => {
2088
- var T;
2085
+ c !== v && m(!1);
2086
+ }, [c, v]), q(() => {
2087
+ const x = () => {
2088
+ var k;
2089
2089
  if (!t && r)
2090
2090
  h(r);
2091
2091
  else if (e) {
2092
- const S = e.getBoundingClientRect(), O = (T = p.current) == null ? void 0 : T.getBoundingClientRect(), { innerWidth: E, innerHeight: _ } = window;
2093
- if (O) {
2092
+ const S = e.getBoundingClientRect(), D = (k = p.current) == null ? void 0 : k.getBoundingClientRect(), { innerWidth: N, innerHeight: C } = window;
2093
+ if (D) {
2094
2094
  let W, y;
2095
- const k = {
2095
+ const _ = {
2096
2096
  topRight: () => ({
2097
- top: S.top - O.height,
2098
- left: S.right - O.width
2097
+ top: S.top - D.height,
2098
+ left: S.right - D.width
2099
2099
  }),
2100
2100
  topLeft: () => ({
2101
- top: S.top - O.height,
2101
+ top: S.top - D.height,
2102
2102
  left: S.left
2103
2103
  }),
2104
2104
  bottomRight: () => ({
2105
2105
  top: S.bottom,
2106
- left: S.right - O.width
2106
+ left: S.right - D.width
2107
2107
  }),
2108
2108
  bottomLeft: () => ({
2109
2109
  top: S.bottom,
2110
2110
  left: S.left
2111
2111
  }),
2112
2112
  left: () => ({
2113
- top: S.top + S.height / 2 - O.height / 2,
2114
- left: S.left - O.width
2113
+ top: S.top + S.height / 2 - D.height / 2,
2114
+ left: S.left - D.width
2115
2115
  }),
2116
2116
  right: () => ({
2117
- top: S.top + S.height / 2 - O.height / 2,
2117
+ top: S.top + S.height / 2 - D.height / 2,
2118
2118
  left: S.right
2119
2119
  })
2120
2120
  };
2121
- t && k[t] ? { top: W, left: y } = k[t]() : (y = S.right, W = S.bottom, S.right + O.width > E && (y = S.left - O.width), S.bottom + O.height > _ && (W = S.top - O.height)), h({ top: W, left: y < 0 ? 0 : y });
2121
+ t && _[t] ? { top: W, left: y } = _[t]() : (y = S.right, W = S.bottom, S.right + D.width > N && (y = S.left - D.width), S.bottom + D.height > C && (W = S.top - D.height)), h({ top: W, left: y < 0 ? 0 : y });
2122
2122
  }
2123
2123
  }
2124
2124
  };
2125
- return f && (b(), window.addEventListener("resize", b)), () => window.removeEventListener("resize", b);
2125
+ return f && (x(), window.addEventListener("resize", x)), () => window.removeEventListener("resize", x);
2126
2126
  }, [e, f, t]);
2127
- const x = () => {
2128
- v(!0), d(m);
2129
- }, j = A(
2130
- (b) => {
2131
- b.stopPropagation(), v(!1), d(null), s && s(!1);
2127
+ const b = () => {
2128
+ m(!0), d(v);
2129
+ }, j = R(
2130
+ (x) => {
2131
+ x.stopPropagation(), m(!1), d(null), s && s(!1);
2132
2132
  },
2133
2133
  [s, d]
2134
2134
  );
2135
2135
  return q(() => {
2136
- const b = (T) => {
2137
- p.current && !p.current.contains(T.target) && j(T);
2136
+ const x = (k) => {
2137
+ p.current && !p.current.contains(k.target) && j(k);
2138
2138
  };
2139
- return f && document.addEventListener("mousedown", b), () => {
2140
- document.removeEventListener("mousedown", b);
2139
+ return f && document.addEventListener("mousedown", x), () => {
2140
+ document.removeEventListener("mousedown", x);
2141
2141
  };
2142
2142
  }, [f, j]), q(() => {
2143
- a && x();
2143
+ a && b();
2144
2144
  }, [a]), f ? Nn.createPortal(
2145
2145
  /* @__PURE__ */ o.jsx(ms, { ref: p, $top: g.top, $left: g.left, children: /* @__PURE__ */ o.jsxs(
2146
2146
  "div",
@@ -2174,13 +2174,13 @@ const ms = Rn.div`
2174
2174
  }) => {
2175
2175
  const l = (p) => {
2176
2176
  p.preventDefault(), t && t(p);
2177
- }, c = se(null), [d, f] = F(!1), v = A(
2177
+ }, c = oe(null), [d, f] = F(!1), m = R(
2178
2178
  (p) => {
2179
2179
  p.stopPropagation(), n && f(!d);
2180
2180
  },
2181
2181
  [d, f]
2182
- ), g = Re(() => n ? n.map((p, m) => ({
2183
- id: p.id ?? m,
2182
+ ), g = Re(() => n ? n.map((p, v) => ({
2183
+ id: p.id ?? v,
2184
2184
  icon: p.icon,
2185
2185
  name: p.label,
2186
2186
  children: /* @__PURE__ */ o.jsx(
@@ -2188,14 +2188,14 @@ const ms = Rn.div`
2188
2188
  {
2189
2189
  classIcon: p.icon,
2190
2190
  sizeIcon: je.LARGE,
2191
- onClick: (x) => {
2192
- x.stopPropagation(), h(), p.onClick && p.onClick(p);
2191
+ onClick: (b) => {
2192
+ b.stopPropagation(), h(), p.onClick && p.onClick(p);
2193
2193
  },
2194
2194
  title: p.label || ""
2195
2195
  },
2196
- m
2196
+ v
2197
2197
  )
2198
- })) : [], [n]), h = A(() => {
2198
+ })) : [], [n]), h = R(() => {
2199
2199
  f(!1);
2200
2200
  }, [f]);
2201
2201
  return /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
@@ -2214,7 +2214,7 @@ const ms = Rn.div`
2214
2214
  {
2215
2215
  className: "ml-2",
2216
2216
  ref: c,
2217
- onClick: (p) => v(p),
2217
+ onClick: (p) => m(p),
2218
2218
  children: /* @__PURE__ */ o.jsx(Y, { classIcon: "bi-chevron-up" })
2219
2219
  }
2220
2220
  )
@@ -2239,16 +2239,16 @@ const ms = Rn.div`
2239
2239
  buttonClassName: n,
2240
2240
  containerClassName: a
2241
2241
  }) => {
2242
- const i = se(null), s = (c) => {
2242
+ const i = oe(null), s = (c) => {
2243
2243
  var f;
2244
2244
  const d = (f = c.target.files) == null ? void 0 : f[0];
2245
2245
  if (d && e) {
2246
- const v = new FileReader();
2247
- v.onload = (g) => {
2246
+ const m = new FileReader();
2247
+ m.onload = (g) => {
2248
2248
  var p;
2249
2249
  const h = (p = g.target) == null ? void 0 : p.result;
2250
2250
  e(d, h);
2251
- }, v.readAsArrayBuffer(d);
2251
+ }, m.readAsArrayBuffer(d);
2252
2252
  }
2253
2253
  }, l = () => {
2254
2254
  var c;
@@ -2282,37 +2282,37 @@ const ms = Rn.div`
2282
2282
  positionOverlay: a,
2283
2283
  setOpenActions: i
2284
2284
  }) => {
2285
- const s = se(null), [l, c] = F(
2285
+ const s = oe(null), [l, c] = F(
2286
2286
  a
2287
- ), d = se(null), [f, v] = F(t ?? !1);
2287
+ ), d = oe(null), [f, m] = F(t ?? !1);
2288
2288
  q(() => {
2289
- t && v(t);
2289
+ t && m(t);
2290
2290
  }, [t]);
2291
- const g = A(
2292
- (m, x) => {
2293
- e.length !== 0 && (m.preventDefault(), c("bottomRight"), i && i(x));
2291
+ const g = R(
2292
+ (v, b) => {
2293
+ e.length !== 0 && (v.preventDefault(), c("bottomRight"), i && i(b));
2294
2294
  },
2295
2295
  [c, i]
2296
- ), h = A(() => {
2297
- c(void 0), v(!1), i && i(!1);
2298
- }, [v, c, i]), p = Re(() => e == null ? void 0 : e.filter((m) => m.type === "menu").map((m, x) => {
2299
- let j = m.label || "";
2300
- return m.setLabel && r && (j = m.setLabel(r)), {
2301
- id: x,
2302
- icon: m.icon,
2303
- name: m.label,
2296
+ ), h = R(() => {
2297
+ c(void 0), m(!1), i && i(!1);
2298
+ }, [m, c, i]), p = Re(() => e == null ? void 0 : e.filter((v) => v.type === "menu").map((v, b) => {
2299
+ let j = v.label || "";
2300
+ return v.setLabel && r && (j = v.setLabel(r)), {
2301
+ id: b,
2302
+ icon: v.icon,
2303
+ name: v.label,
2304
2304
  children: /* @__PURE__ */ o.jsx(
2305
2305
  xt,
2306
2306
  {
2307
- classIcon: m.icon,
2308
- disabled: r && m.disabled ? m.disabled(r) : !1,
2307
+ classIcon: v.icon,
2308
+ disabled: r && v.disabled ? v.disabled(r) : !1,
2309
2309
  sizeIcon: je.LARGE,
2310
- onClick: (b) => {
2311
- b.stopPropagation(), h(), m.onClick && r && m.onClick(r);
2310
+ onClick: (x) => {
2311
+ x.stopPropagation(), h(), v.onClick && r && v.onClick(r);
2312
2312
  },
2313
2313
  title: j
2314
2314
  },
2315
- x
2315
+ b
2316
2316
  )
2317
2317
  };
2318
2318
  }), [e]);
@@ -2321,8 +2321,8 @@ const ms = Rn.div`
2321
2321
  "div",
2322
2322
  {
2323
2323
  ref: d,
2324
- className: `card-action ${e.filter((m) => m.type === "menu").length ? "visible" : "hidden"}`,
2325
- onClick: (m) => g(m, !f),
2324
+ className: `card-action ${e.filter((v) => v.type === "menu").length ? "visible" : "hidden"}`,
2325
+ onClick: (v) => g(v, !f),
2326
2326
  children: [
2327
2327
  /* @__PURE__ */ o.jsx(
2328
2328
  Y,
@@ -2364,28 +2364,28 @@ const ms = Rn.div`
2364
2364
  positionOverlay: s,
2365
2365
  children: l
2366
2366
  }) => {
2367
- const [c, d] = F(!1), [f, v] = F(!1), [g, h] = F(), p = (x, j) => {
2368
- x.stopPropagation(), a && a(j);
2369
- }, m = A(
2370
- (x, j) => {
2371
- if (x.stopPropagation(), f)
2372
- return h(void 0), v(!1);
2373
- x.target.closest(".qte") || x.target.closest(".card-action-menu button") || x.target.closest(".card-actions") || (d(!c), n && x.button !== 2 ? n(j) : (h({ top: x.clientY, left: x.clientX }), v(!0)));
2367
+ const [c, d] = F(!1), [f, m] = F(!1), [g, h] = F(), p = (b, j) => {
2368
+ b.stopPropagation(), a && a(j);
2369
+ }, v = R(
2370
+ (b, j) => {
2371
+ if (b.stopPropagation(), f)
2372
+ return h(void 0), m(!1);
2373
+ b.target.closest(".qte") || b.target.closest(".card-action-menu button") || b.target.closest(".card-actions") || (d(!c), n && b.button !== 2 ? n(j) : (h({ top: b.clientY, left: b.clientX }), m(!0)));
2374
2374
  },
2375
2375
  [
2376
2376
  d,
2377
2377
  h,
2378
2378
  n,
2379
2379
  f,
2380
- v,
2380
+ m,
2381
2381
  c
2382
2382
  ]
2383
2383
  );
2384
2384
  return /* @__PURE__ */ o.jsxs(
2385
2385
  "div",
2386
2386
  {
2387
- onContextMenu: (x) => x.preventDefault(),
2388
- onMouseDown: (x) => m(x, e),
2387
+ onContextMenu: (b) => b.preventDefault(),
2388
+ onMouseDown: (b) => v(b, e),
2389
2389
  className: `card ${r ?? ""} ${c ? "card--active" : ""} `,
2390
2390
  children: [
2391
2391
  l,
@@ -2403,7 +2403,7 @@ const ms = Rn.div`
2403
2403
  "div",
2404
2404
  {
2405
2405
  className: "ml-2 cursor-pointer",
2406
- onClick: (x) => p(x, e),
2406
+ onClick: (b) => p(b, e),
2407
2407
  children: /* @__PURE__ */ o.jsx(Y, { classIcon: "bi-trash3" })
2408
2408
  }
2409
2409
  ),
@@ -2411,7 +2411,7 @@ const ms = Rn.div`
2411
2411
  ps,
2412
2412
  {
2413
2413
  openActions: f,
2414
- setOpenActions: v,
2414
+ setOpenActions: m,
2415
2415
  actions: t,
2416
2416
  item: e,
2417
2417
  positions: g,
@@ -2436,31 +2436,31 @@ const ms = Rn.div`
2436
2436
  const [a, i] = F(0), s = e.length, [l, c] = F(1);
2437
2437
  q(() => {
2438
2438
  const p = () => {
2439
- const m = window.innerWidth;
2440
- if (n.xl && m >= 1200)
2439
+ const v = window.innerWidth;
2440
+ if (n.xl && v >= 1200)
2441
2441
  return c(n.xl);
2442
- if (n.lg && m >= 992)
2442
+ if (n.lg && v >= 992)
2443
2443
  return c(n.lg);
2444
- if (n.md && m >= 768)
2444
+ if (n.md && v >= 768)
2445
2445
  return c(n.md);
2446
- if (n.sm && m >= 576)
2446
+ if (n.sm && v >= 576)
2447
2447
  return c(n.sm);
2448
2448
  };
2449
2449
  return p(), window.addEventListener("resize", p), () => window.removeEventListener("resize", p);
2450
2450
  }, [n]);
2451
- const d = A(
2451
+ const d = R(
2452
2452
  (p) => {
2453
2453
  p.preventDefault(), i(
2454
- (m) => Math.min(m + r, s - l)
2454
+ (v) => Math.min(v + r, s - l)
2455
2455
  );
2456
2456
  },
2457
2457
  [i]
2458
- ), f = A(
2458
+ ), f = R(
2459
2459
  (p) => {
2460
- p.preventDefault(), i((m) => Math.max(m - r, 0));
2460
+ p.preventDefault(), i((v) => Math.max(v - r, 0));
2461
2461
  },
2462
2462
  [i]
2463
- ), v = a + r >= s - l + 1, g = s <= l, h = a <= 0;
2463
+ ), m = a + r >= s - l + 1, g = s <= l, h = a <= 0;
2464
2464
  return /* @__PURE__ */ o.jsxs("div", { className: "carousel", children: [
2465
2465
  t && !g && /* @__PURE__ */ o.jsx(
2466
2466
  "div",
@@ -2495,7 +2495,7 @@ const ms = Rn.div`
2495
2495
  t && !g && /* @__PURE__ */ o.jsx(
2496
2496
  "div",
2497
2497
  {
2498
- className: `carousel-control next ${v && "disabled"}`,
2498
+ className: `carousel-control next ${m && "disabled"}`,
2499
2499
  onClick: d,
2500
2500
  children: /* @__PURE__ */ o.jsx(Y, { classIcon: "bi-chevron-right" })
2501
2501
  }
@@ -2518,24 +2518,24 @@ const ms = Rn.div`
2518
2518
  c(n);
2519
2519
  }, [n]);
2520
2520
  const d = Re(() => {
2521
- const v = [];
2521
+ const m = [];
2522
2522
  for (let g = 0; g < s; g++) {
2523
2523
  const h = [];
2524
2524
  for (let p = 0; p < i; p++) {
2525
- const m = p + g * i, x = r == null ? void 0 : r.find(
2526
- (j) => j.position === m + 1
2525
+ const v = p + g * i, b = r == null ? void 0 : r.find(
2526
+ (j) => j.position === v + 1
2527
2527
  );
2528
- x ? h.push(
2529
- /* @__PURE__ */ o.jsx(gs, { onClick: a, cell: x }, `${g}-${p}`)
2528
+ b ? h.push(
2529
+ /* @__PURE__ */ o.jsx(gs, { onClick: a, cell: b }, `${g}-${p}`)
2530
2530
  ) : h.push(
2531
2531
  /* @__PURE__ */ o.jsx("div", { className: "cell cell--empty" }, `${g}-${p}`)
2532
2532
  );
2533
2533
  }
2534
- v.push(
2534
+ m.push(
2535
2535
  /* @__PURE__ */ o.jsx("div", { className: "row", children: h }, g)
2536
2536
  );
2537
2537
  }
2538
- return v;
2538
+ return m;
2539
2539
  }, [i, s, l]), f = Re(
2540
2540
  () => ({ "--rows": String(s) }),
2541
2541
  [s]
@@ -2556,45 +2556,45 @@ const wr = Ue(
2556
2556
  minLength: c,
2557
2557
  maxLength: d,
2558
2558
  autoFocus: f = !1,
2559
- disabled: v = !1,
2559
+ disabled: m = !1,
2560
2560
  required: g = !1,
2561
2561
  autoComplete: h,
2562
2562
  tabIndex: p = 0,
2563
- step: m,
2564
- checked: x,
2563
+ step: v,
2564
+ checked: b,
2565
2565
  onChange: j,
2566
- onBlur: b,
2567
- onClick: T,
2566
+ onBlur: x,
2567
+ onClick: k,
2568
2568
  handleKeyDown: S
2569
- }, O) => {
2570
- const [E, _] = F(!1);
2569
+ }, D) => {
2570
+ const [N, C] = F(!1);
2571
2571
  return /* @__PURE__ */ o.jsxs("div", { className: `input-container ${`input-container-${r}`} `, children: [
2572
2572
  /* @__PURE__ */ o.jsx("input", { name: `hide-${t}`, type: "text", style: { display: "none" } }),
2573
2573
  /* @__PURE__ */ o.jsx(
2574
2574
  "input",
2575
2575
  {
2576
- ref: O,
2576
+ ref: D,
2577
2577
  id: e,
2578
2578
  name: t,
2579
2579
  inputMode: l ?? (r === "number" ? "numeric" : "text"),
2580
- type: E ? Be.TEXT : r,
2580
+ type: N ? Be.TEXT : r,
2581
2581
  spellCheck: "false",
2582
2582
  value: n,
2583
2583
  placeholder: i,
2584
- disabled: v,
2584
+ disabled: m,
2585
2585
  required: g,
2586
2586
  autoComplete: h ?? "new-password",
2587
- step: m,
2587
+ step: v,
2588
2588
  tabIndex: p,
2589
2589
  autoFocus: f,
2590
2590
  minLength: c,
2591
2591
  maxLength: d,
2592
2592
  onChange: j,
2593
- checked: x,
2593
+ checked: b,
2594
2594
  onKeyDown: S,
2595
- onBlur: b,
2595
+ onBlur: x,
2596
2596
  onClick: (W) => {
2597
- W.stopPropagation(), T && T(W);
2597
+ W.stopPropagation(), k && k(W);
2598
2598
  },
2599
2599
  className: `input-field ${s ?? ""}`,
2600
2600
  onInvalid: a
@@ -2603,9 +2603,9 @@ const wr = Ue(
2603
2603
  r === Be.PASSWORD && /* @__PURE__ */ o.jsx(
2604
2604
  "div",
2605
2605
  {
2606
- onClick: () => _(!E),
2606
+ onClick: () => C(!N),
2607
2607
  className: "input-password-icon",
2608
- children: /* @__PURE__ */ o.jsx(Y, { classIcon: E ? "bi-eye-slash" : "bi-eye" })
2608
+ children: /* @__PURE__ */ o.jsx(Y, { classIcon: N ? "bi-eye-slash" : "bi-eye" })
2609
2609
  }
2610
2610
  )
2611
2611
  ] });
@@ -2691,16 +2691,16 @@ const pa = ({ display: e, full: t, message: r }) => /* @__PURE__ */ o.jsxs(o.Fra
2691
2691
  name: c,
2692
2692
  onChange: d,
2693
2693
  onChangeMultiple: f,
2694
- value: v,
2694
+ value: m,
2695
2695
  placeholder: g
2696
2696
  }) => {
2697
- const h = se({}), p = (x) => {
2697
+ const h = oe({}), p = (b) => {
2698
2698
  let j;
2699
2699
  i ? (j = Array.from(
2700
- x.target.selectedOptions,
2701
- (b) => b.value
2702
- ), f && f(j)) : (j = x.target.value, d && d(j));
2703
- }, m = A(() => {
2700
+ b.target.selectedOptions,
2701
+ (x) => x.value
2702
+ ), f && f(j)) : (j = b.target.value, d && d(j));
2703
+ }, v = R(() => {
2704
2704
  d && d("");
2705
2705
  }, [d]);
2706
2706
  return /* @__PURE__ */ o.jsxs("div", { id: e, className: `select-container ${n || ""}`, children: [
@@ -2714,21 +2714,21 @@ const pa = ({ display: e, full: t, message: r }) => /* @__PURE__ */ o.jsxs(o.Fra
2714
2714
  disabled: a,
2715
2715
  id: `select-${e}`,
2716
2716
  className: "select-container-select",
2717
- value: v ?? l ?? (i ? [] : ""),
2717
+ value: m ?? l ?? (i ? [] : ""),
2718
2718
  onChange: p,
2719
2719
  multiple: i,
2720
- ref: (x) => h.current[e ?? "select"] = x,
2720
+ ref: (b) => h.current[e ?? "select"] = b,
2721
2721
  children: [
2722
2722
  g && !l && !i && /* @__PURE__ */ o.jsx("option", { selected: !0, disabled: !0, hidden: !0, value: "", children: g }),
2723
- r.map((x, j) => /* @__PURE__ */ o.jsx("option", { value: x.value, children: x.label }, j))
2723
+ r.map((b, j) => /* @__PURE__ */ o.jsx("option", { value: b.value, children: b.label }, j))
2724
2724
  ]
2725
2725
  }
2726
2726
  ),
2727
- v !== "" && g && /* @__PURE__ */ o.jsx(
2727
+ m !== "" && g && /* @__PURE__ */ o.jsx(
2728
2728
  "div",
2729
2729
  {
2730
2730
  className: "clear-btn",
2731
- onClick: m,
2731
+ onClick: v,
2732
2732
  "aria-label": "Réinitialiser",
2733
2733
  children: /* @__PURE__ */ o.jsx(Y, { classIcon: "bi-x" })
2734
2734
  }
@@ -2783,40 +2783,40 @@ function Vl(e) {
2783
2783
  columns: c = [],
2784
2784
  loading: d,
2785
2785
  onRowClick: f,
2786
- onColumnClick: v,
2786
+ onColumnClick: m,
2787
2787
  onLoadMore: g,
2788
2788
  emptyMessage: h,
2789
2789
  hasMore: p,
2790
- onSelectionChange: m,
2791
- hideToggleAll: x = !1,
2790
+ onSelectionChange: v,
2791
+ hideToggleAll: b = !1,
2792
2792
  limitSelect: j = void 0,
2793
- getRowId: b
2794
- } = e, T = se(null), [S, O] = F(
2793
+ getRowId: x
2794
+ } = e, k = oe(null), [S, D] = F(
2795
2795
  /* @__PURE__ */ new Set()
2796
- ), E = A(() => {
2796
+ ), N = R(() => {
2797
2797
  if (S.size === s.length)
2798
- O(/* @__PURE__ */ new Set()), m == null || m([]);
2798
+ D(/* @__PURE__ */ new Set()), v == null || v([]);
2799
2799
  else {
2800
2800
  let y = s.map(
2801
- (I) => b ? b(I) : I.id ?? I
2801
+ (I) => x ? x(I) : I.id ?? I
2802
2802
  );
2803
2803
  j && y.length > j && (y = y.slice(0, j));
2804
- const k = new Set(y);
2805
- O(k), m == null || m(
2804
+ const _ = new Set(y);
2805
+ D(_), v == null || v(
2806
2806
  s.filter(
2807
- (I) => k.has(b ? b(I) : I.id ?? I)
2807
+ (I) => _.has(x ? x(I) : I.id ?? I)
2808
2808
  )
2809
2809
  );
2810
2810
  }
2811
- }, [s, m, j, b, S.size]), _ = A(
2812
- (y, k) => {
2813
- y.stopPropagation(), f && (f == null || f(k));
2811
+ }, [s, v, j, x, S.size]), C = R(
2812
+ (y, _) => {
2813
+ y.stopPropagation(), f && (f == null || f(_));
2814
2814
  },
2815
2815
  [f]
2816
- ), W = A(
2817
- (y, k) => {
2816
+ ), W = R(
2817
+ (y, _) => {
2818
2818
  y.stopPropagation();
2819
- const I = b ? b(k) : k.id ?? k, M = new Set(S);
2819
+ const I = x ? x(_) : _.id ?? _, M = new Set(S);
2820
2820
  if (M.has(I))
2821
2821
  M.delete(I);
2822
2822
  else {
@@ -2824,19 +2824,19 @@ function Vl(e) {
2824
2824
  return;
2825
2825
  M.add(I);
2826
2826
  }
2827
- O(M);
2827
+ D(M);
2828
2828
  const L = s.filter(
2829
- (X) => M.has(b ? b(X) : X.id ?? X)
2829
+ (X) => M.has(x ? x(X) : X.id ?? X)
2830
2830
  );
2831
- m == null || m(L);
2831
+ v == null || v(L);
2832
2832
  },
2833
- [s, b, j, m, S]
2833
+ [s, x, j, v, S]
2834
2834
  );
2835
2835
  return q(() => {
2836
2836
  if (!g || !p) return;
2837
2837
  const y = new IntersectionObserver(
2838
- (k) => {
2839
- k[0].isIntersecting && g();
2838
+ (_) => {
2839
+ _[0].isIntersecting && g();
2840
2840
  },
2841
2841
  {
2842
2842
  root: null,
@@ -2844,18 +2844,18 @@ function Vl(e) {
2844
2844
  threshold: 1
2845
2845
  }
2846
2846
  );
2847
- return T.current && y.observe(T.current), () => {
2848
- T.current && y.unobserve(T.current);
2847
+ return k.current && y.observe(k.current), () => {
2848
+ k.current && y.unobserve(k.current);
2849
2849
  };
2850
2850
  }, [g, p]), /* @__PURE__ */ o.jsxs("div", { className: "data-table-container", children: [
2851
2851
  r && /* @__PURE__ */ o.jsx("h2", { className: "mb-2", children: r }),
2852
2852
  i,
2853
2853
  /* @__PURE__ */ o.jsxs("table", { className: `data-table ${n || ""}`, id: t, children: [
2854
2854
  /* @__PURE__ */ o.jsx("thead", { children: /* @__PURE__ */ o.jsxs("tr", { children: [
2855
- m && /* @__PURE__ */ o.jsx(
2855
+ v && /* @__PURE__ */ o.jsx(
2856
2856
  "th",
2857
2857
  {
2858
- className: `select-cell ${x ? "hidden" : ""}`,
2858
+ className: `select-cell ${b ? "hidden" : ""}`,
2859
2859
  style: { width: "20px", textAlign: "center" },
2860
2860
  children: /* @__PURE__ */ o.jsx(
2861
2861
  wr,
@@ -2864,19 +2864,19 @@ function Vl(e) {
2864
2864
  name: `select-th-${t}`,
2865
2865
  type: Be.CHECKBOX,
2866
2866
  checked: s.length > 0 && S.size === s.length,
2867
- onChange: E
2867
+ onChange: N
2868
2868
  }
2869
2869
  )
2870
2870
  }
2871
2871
  ),
2872
- c.map((y, k) => /* @__PURE__ */ o.jsx(
2872
+ c.map((y, _) => /* @__PURE__ */ o.jsx(
2873
2873
  bs,
2874
2874
  {
2875
2875
  column: y,
2876
- idx: k,
2877
- onColumnClick: v
2876
+ idx: _,
2877
+ onColumnClick: m
2878
2878
  },
2879
- k
2879
+ _
2880
2880
  )),
2881
2881
  l.length > 0 && /* @__PURE__ */ o.jsx(
2882
2882
  "th",
@@ -2898,18 +2898,18 @@ function Vl(e) {
2898
2898
  children: /* @__PURE__ */ o.jsx("div", { className: "mt-3", children: /* @__PURE__ */ o.jsx(pa, { display: d }) })
2899
2899
  }
2900
2900
  ) }) : /* @__PURE__ */ o.jsx(o.Fragment, {}),
2901
- !d && s.map((y, k) => /* @__PURE__ */ o.jsxs("tr", { onClick: (I) => _ == null ? void 0 : _(I, y), children: [
2902
- m && /* @__PURE__ */ o.jsx("td", { className: "select-cell", style: { textAlign: "center" }, children: /* @__PURE__ */ o.jsx(
2901
+ !d && s.map((y, _) => /* @__PURE__ */ o.jsxs("tr", { onClick: (I) => C == null ? void 0 : C(I, y), children: [
2902
+ v && /* @__PURE__ */ o.jsx("td", { className: "select-cell", style: { textAlign: "center" }, children: /* @__PURE__ */ o.jsx(
2903
2903
  wr,
2904
2904
  {
2905
- id: `select-row-${k}`,
2906
- name: `select-row-${k}`,
2905
+ id: `select-row-${_}`,
2906
+ name: `select-row-${_}`,
2907
2907
  type: Be.CHECKBOX,
2908
2908
  disabled: j !== void 0 && S.size >= j && !S.has(
2909
- b ? b(y) : y.id ?? y
2909
+ x ? x(y) : y.id ?? y
2910
2910
  ),
2911
2911
  checked: S.has(
2912
- b ? b(y) : y.id ?? y
2912
+ x ? x(y) : y.id ?? y
2913
2913
  ),
2914
2914
  onChange: (I) => W(I, y)
2915
2915
  }
@@ -2924,7 +2924,7 @@ function Vl(e) {
2924
2924
  },
2925
2925
  M
2926
2926
  )) }) })
2927
- ] }, k)),
2927
+ ] }, _)),
2928
2928
  !d && s.length === 0 && /* @__PURE__ */ o.jsx(
2929
2929
  xs,
2930
2930
  {
@@ -2936,7 +2936,7 @@ function Vl(e) {
2936
2936
  ] })
2937
2937
  ] }),
2938
2938
  a,
2939
- p && /* @__PURE__ */ o.jsx("div", { ref: T, className: "infinite-scroll-loader", children: /* @__PURE__ */ o.jsx(pa, { display: !0 }) })
2939
+ p && /* @__PURE__ */ o.jsx("div", { ref: k, className: "infinite-scroll-loader", children: /* @__PURE__ */ o.jsx(pa, { display: !0 }) })
2940
2940
  ] });
2941
2941
  }
2942
2942
  function fo(e) {
@@ -2980,24 +2980,24 @@ var Cs = _s, un = { exports: {} }, Ps = () => {
2980
2980
  };
2981
2981
  (function(e, t) {
2982
2982
  var r = ar && ar.__awaiter || function(s, l, c, d) {
2983
- return new (c || (c = Promise))(function(f, v) {
2984
- function g(m) {
2983
+ return new (c || (c = Promise))(function(f, m) {
2984
+ function g(v) {
2985
2985
  try {
2986
- p(d.next(m));
2987
- } catch (x) {
2988
- v(x);
2986
+ p(d.next(v));
2987
+ } catch (b) {
2988
+ m(b);
2989
2989
  }
2990
2990
  }
2991
- function h(m) {
2991
+ function h(v) {
2992
2992
  try {
2993
- p(d.throw(m));
2994
- } catch (x) {
2995
- v(x);
2993
+ p(d.throw(v));
2994
+ } catch (b) {
2995
+ m(b);
2996
2996
  }
2997
2997
  }
2998
- function p(m) {
2999
- m.done ? f(m.value) : new c(function(x) {
3000
- x(m.value);
2998
+ function p(v) {
2999
+ v.done ? f(v.value) : new c(function(b) {
3000
+ b(v.value);
3001
3001
  }).then(g, h);
3002
3002
  }
3003
3003
  p((d = d.apply(s, l || [])).next());
@@ -3009,34 +3009,34 @@ var Cs = _s, un = { exports: {} }, Ps = () => {
3009
3009
  const a = n(Ps);
3010
3010
  function i(s, l = "maxAge") {
3011
3011
  let c, d, f;
3012
- const v = () => r(this, void 0, void 0, function* () {
3012
+ const m = () => r(this, void 0, void 0, function* () {
3013
3013
  if (c !== void 0)
3014
3014
  return;
3015
- const p = (m) => r(this, void 0, void 0, function* () {
3015
+ const p = (v) => r(this, void 0, void 0, function* () {
3016
3016
  f = a.default();
3017
- const x = m[1][l] - Date.now();
3018
- if (x <= 0) {
3019
- s.delete(m[0]), f.resolve();
3017
+ const b = v[1][l] - Date.now();
3018
+ if (b <= 0) {
3019
+ s.delete(v[0]), f.resolve();
3020
3020
  return;
3021
3021
  }
3022
- return c = m[0], d = setTimeout(() => {
3023
- s.delete(m[0]), f && f.resolve();
3024
- }, x), typeof d.unref == "function" && d.unref(), f.promise;
3022
+ return c = v[0], d = setTimeout(() => {
3023
+ s.delete(v[0]), f && f.resolve();
3024
+ }, b), typeof d.unref == "function" && d.unref(), f.promise;
3025
3025
  });
3026
3026
  try {
3027
- for (const m of s)
3028
- yield p(m);
3027
+ for (const v of s)
3028
+ yield p(v);
3029
3029
  } catch {
3030
3030
  }
3031
3031
  c = void 0;
3032
3032
  }), g = () => {
3033
3033
  c = void 0, d !== void 0 && (clearTimeout(d), d = void 0), f !== void 0 && (f.reject(void 0), f = void 0);
3034
3034
  }, h = s.set.bind(s);
3035
- return s.set = (p, m) => {
3035
+ return s.set = (p, v) => {
3036
3036
  s.has(p) && s.delete(p);
3037
- const x = h(p, m);
3038
- return c && c === p && g(), v(), x;
3039
- }, v(), s;
3037
+ const b = h(p, v);
3038
+ return c && c === p && g(), m(), b;
3039
+ }, m(), s;
3040
3040
  }
3041
3041
  t.default = i, e.exports = i, e.exports.default = i;
3042
3042
  })(un, un.exports);
@@ -3113,8 +3113,8 @@ function Fs(e) {
3113
3113
  var t = e === void 0 ? {} : e, r = t.useFallbackLocale, n = r === void 0 ? !0 : r, a = t.fallbackLocale, i = a === void 0 ? "en-US" : a, s = [];
3114
3114
  if (typeof navigator < "u") {
3115
3115
  for (var l = navigator.languages || [], c = [], d = 0, f = l; d < f.length; d++) {
3116
- var v = f[d];
3117
- c = c.concat(ga(v));
3116
+ var m = f[d];
3117
+ c = c.concat(ga(m));
3118
3118
  }
3119
3119
  var g = navigator.language, h = g && ga(g);
3120
3120
  s = s.concat(c, h);
@@ -3479,7 +3479,7 @@ function Po(e, t) {
3479
3479
  }
3480
3480
  var Pe = "react-calendar__navigation";
3481
3481
  function Sc(e) {
3482
- var t = e.activeStartDate, r = e.drillUp, n = e.formatMonthYear, a = n === void 0 ? No : n, i = e.formatYear, s = i === void 0 ? Ir : i, l = e.locale, c = e.maxDate, d = e.minDate, f = e.navigationAriaLabel, v = f === void 0 ? "" : f, g = e.navigationAriaLive, h = e.navigationLabel, p = e.next2AriaLabel, m = p === void 0 ? "" : p, x = e.next2Label, j = x === void 0 ? "»" : x, b = e.nextAriaLabel, T = b === void 0 ? "" : b, S = e.nextLabel, O = S === void 0 ? "›" : S, E = e.prev2AriaLabel, _ = E === void 0 ? "" : E, W = e.prev2Label, y = W === void 0 ? "«" : W, k = e.prevAriaLabel, I = k === void 0 ? "" : k, M = e.prevLabel, L = M === void 0 ? "‹" : M, X = e.setActiveStartDate, ve = e.showDoubleView, re = e.view, xe = e.views, Ie = xe.indexOf(re) > 0, ee = re !== "century", K = mc(re, t), ce = ee ? pc(re, t) : void 0, Z = Eo(re, t), Se = ee ? gc(re, t) : void 0, Ee = function() {
3482
+ var t = e.activeStartDate, r = e.drillUp, n = e.formatMonthYear, a = n === void 0 ? No : n, i = e.formatYear, s = i === void 0 ? Ir : i, l = e.locale, c = e.maxDate, d = e.minDate, f = e.navigationAriaLabel, m = f === void 0 ? "" : f, g = e.navigationAriaLive, h = e.navigationLabel, p = e.next2AriaLabel, v = p === void 0 ? "" : p, b = e.next2Label, j = b === void 0 ? "»" : b, x = e.nextAriaLabel, k = x === void 0 ? "" : x, S = e.nextLabel, D = S === void 0 ? "›" : S, N = e.prev2AriaLabel, C = N === void 0 ? "" : N, W = e.prev2Label, y = W === void 0 ? "«" : W, _ = e.prevAriaLabel, I = _ === void 0 ? "" : _, M = e.prevLabel, L = M === void 0 ? "‹" : M, X = e.setActiveStartDate, ve = e.showDoubleView, re = e.view, xe = e.views, Ie = xe.indexOf(re) > 0, ee = re !== "century", K = mc(re, t), ce = ee ? pc(re, t) : void 0, Z = Eo(re, t), Se = ee ? gc(re, t) : void 0, Ee = function() {
3483
3483
  if (K.getFullYear() < 0)
3484
3484
  return !0;
3485
3485
  var te = yc(re, t);
@@ -3526,9 +3526,9 @@ function Sc(e) {
3526
3526
  }
3527
3527
  function Ot() {
3528
3528
  var te = "".concat(Pe, "__label");
3529
- return o.jsxs("button", { "aria-label": v, "aria-live": g, className: te, disabled: !Ie, onClick: r, style: { flexGrow: 1 }, type: "button", children: [o.jsx("span", { className: "".concat(te, "__labelText ").concat(te, "__labelText--from"), children: fe(t) }), ve ? o.jsxs(o.Fragment, { children: [o.jsx("span", { className: "".concat(te, "__divider"), children: " – " }), o.jsx("span", { className: "".concat(te, "__labelText ").concat(te, "__labelText--to"), children: fe(Z) })] }) : null] });
3529
+ return o.jsxs("button", { "aria-label": m, "aria-live": g, className: te, disabled: !Ie, onClick: r, style: { flexGrow: 1 }, type: "button", children: [o.jsx("span", { className: "".concat(te, "__labelText ").concat(te, "__labelText--from"), children: fe(t) }), ve ? o.jsxs(o.Fragment, { children: [o.jsx("span", { className: "".concat(te, "__divider"), children: " – " }), o.jsx("span", { className: "".concat(te, "__labelText ").concat(te, "__labelText--to"), children: fe(Z) })] }) : null] });
3530
3530
  }
3531
- return o.jsxs("div", { className: Pe, children: [y !== null && ee ? o.jsx("button", { "aria-label": _, className: "".concat(Pe, "__arrow ").concat(Pe, "__prev2-button"), disabled: ke, onClick: ne, type: "button", children: y }) : null, L !== null && o.jsx("button", { "aria-label": I, className: "".concat(Pe, "__arrow ").concat(Pe, "__prev-button"), disabled: Ee, onClick: le, type: "button", children: L }), Ot(), O !== null && o.jsx("button", { "aria-label": T, className: "".concat(Pe, "__arrow ").concat(Pe, "__next-button"), disabled: me, onClick: De, type: "button", children: O }), j !== null && ee ? o.jsx("button", { "aria-label": m, className: "".concat(Pe, "__arrow ").concat(Pe, "__next2-button"), disabled: pe, onClick: _e, type: "button", children: j }) : null] });
3531
+ return o.jsxs("div", { className: Pe, children: [y !== null && ee ? o.jsx("button", { "aria-label": C, className: "".concat(Pe, "__arrow ").concat(Pe, "__prev2-button"), disabled: ke, onClick: ne, type: "button", children: y }) : null, L !== null && o.jsx("button", { "aria-label": I, className: "".concat(Pe, "__arrow ").concat(Pe, "__prev-button"), disabled: Ee, onClick: le, type: "button", children: L }), Ot(), D !== null && o.jsx("button", { "aria-label": k, className: "".concat(Pe, "__arrow ").concat(Pe, "__next-button"), disabled: me, onClick: De, type: "button", children: D }), j !== null && ee ? o.jsx("button", { "aria-label": v, className: "".concat(Pe, "__arrow ").concat(Pe, "__next2-button"), disabled: pe, onClick: _e, type: "button", children: j }) : null] });
3532
3532
  }
3533
3533
  var ft = function() {
3534
3534
  return ft = Object.assign || function(e) {
@@ -3552,14 +3552,14 @@ function xa(e) {
3552
3552
  function Yn(e) {
3553
3553
  var t = e.children, r = e.className, n = e.count, a = e.direction, i = e.offset, s = e.style, l = e.wrap, c = Dc(e, ["children", "className", "count", "direction", "offset", "style", "wrap"]);
3554
3554
  return o.jsx("div", ft({ className: r, style: ft({ display: "flex", flexDirection: a, flexWrap: l ? "wrap" : "nowrap" }, s) }, c, { children: Uo.map(t, function(d, f) {
3555
- var v = i && f === 0 ? xa(100 * i / n) : null;
3555
+ var m = i && f === 0 ? xa(100 * i / n) : null;
3556
3556
  return zo(d, ft(ft({}, d.props), { style: {
3557
3557
  flexBasis: xa(100 / n),
3558
3558
  flexShrink: 0,
3559
3559
  flexGrow: 0,
3560
3560
  overflow: "hidden",
3561
- marginLeft: v,
3562
- marginInlineStart: v,
3561
+ marginLeft: m,
3562
+ marginInlineStart: m,
3563
3563
  marginInlineEnd: 0
3564
3564
  } }));
3565
3565
  }) }));
@@ -3617,15 +3617,15 @@ function kc(e) {
3617
3617
  i.push.apply(i, d);
3618
3618
  var f = Array.isArray(t) ? t : [t];
3619
3619
  if (n && f.length === 1) {
3620
- var v = n > c[0] ? [c[0], n] : [n, c[0]], g = wa(v, l, "".concat(a, "--hover"));
3620
+ var m = n > c[0] ? [c[0], n] : [n, c[0]], g = wa(m, l, "".concat(a, "--hover"));
3621
3621
  i.push.apply(i, g);
3622
3622
  }
3623
3623
  return i;
3624
3624
  }
3625
3625
  function $r(e) {
3626
- for (var t = e.className, r = e.count, n = r === void 0 ? 3 : r, a = e.dateTransform, i = e.dateType, s = e.end, l = e.hover, c = e.offset, d = e.renderTile, f = e.start, v = e.step, g = v === void 0 ? 1 : v, h = e.value, p = e.valueType, m = [], x = f; x <= s; x += g) {
3627
- var j = a(x);
3628
- m.push(d({
3626
+ for (var t = e.className, r = e.count, n = r === void 0 ? 3 : r, a = e.dateTransform, i = e.dateType, s = e.end, l = e.hover, c = e.offset, d = e.renderTile, f = e.start, m = e.step, g = m === void 0 ? 1 : m, h = e.value, p = e.valueType, v = [], b = f; b <= s; b += g) {
3627
+ var j = a(b);
3628
+ v.push(d({
3629
3629
  classes: kc({
3630
3630
  date: j,
3631
3631
  dateType: i,
@@ -3636,23 +3636,23 @@ function $r(e) {
3636
3636
  date: j
3637
3637
  }));
3638
3638
  }
3639
- return o.jsx(Yn, { className: t, count: n, offset: c, wrap: !0, children: m });
3639
+ return o.jsx(Yn, { className: t, count: n, offset: c, wrap: !0, children: v });
3640
3640
  }
3641
3641
  function Mr(e) {
3642
- var t = e.activeStartDate, r = e.children, n = e.classes, a = e.date, i = e.formatAbbr, s = e.locale, l = e.maxDate, c = e.maxDateTransform, d = e.minDate, f = e.minDateTransform, v = e.onClick, g = e.onMouseOver, h = e.style, p = e.tileClassName, m = e.tileContent, x = e.tileDisabled, j = e.view, b = Re(function() {
3642
+ var t = e.activeStartDate, r = e.children, n = e.classes, a = e.date, i = e.formatAbbr, s = e.locale, l = e.maxDate, c = e.maxDateTransform, d = e.minDate, f = e.minDateTransform, m = e.onClick, g = e.onMouseOver, h = e.style, p = e.tileClassName, v = e.tileContent, b = e.tileDisabled, j = e.view, x = Re(function() {
3643
3643
  var S = { activeStartDate: t, date: a, view: j };
3644
3644
  return typeof p == "function" ? p(S) : p;
3645
- }, [t, a, p, j]), T = Re(function() {
3645
+ }, [t, a, p, j]), k = Re(function() {
3646
3646
  var S = { activeStartDate: t, date: a, view: j };
3647
- return typeof m == "function" ? m(S) : m;
3648
- }, [t, a, m, j]);
3649
- return o.jsxs("button", { className: Pr(n, b), disabled: d && f(d) > a || l && c(l) < a || (x == null ? void 0 : x({ activeStartDate: t, date: a, view: j })), onClick: v ? function(S) {
3650
- return v(a, S);
3647
+ return typeof v == "function" ? v(S) : v;
3648
+ }, [t, a, v, j]);
3649
+ return o.jsxs("button", { className: Pr(n, x), disabled: d && f(d) > a || l && c(l) < a || (b == null ? void 0 : b({ activeStartDate: t, date: a, view: j })), onClick: m ? function(S) {
3650
+ return m(a, S);
3651
3651
  } : void 0, onFocus: g ? function() {
3652
3652
  return g(a);
3653
3653
  } : void 0, onMouseOver: g ? function() {
3654
3654
  return g(a);
3655
- } : void 0, style: h, type: "button", children: [i ? o.jsx("abbr", { "aria-label": i(s, a), children: r }) : r, T] });
3655
+ } : void 0, style: h, type: "button", children: [i ? o.jsx("abbr", { "aria-label": i(s, a), children: r }) : r, k] });
3656
3656
  }
3657
3657
  var hn = function() {
3658
3658
  return hn = Object.assign || function(e) {
@@ -3693,8 +3693,8 @@ var vn = function() {
3693
3693
  function Pc(e) {
3694
3694
  var t = e.activeStartDate, r = e.hover, n = e.showNeighboringCentury, a = e.value, i = e.valueType, s = Sa(e, ["activeStartDate", "hover", "showNeighboringCentury", "value", "valueType"]), l = fc(t), c = l + (n ? 119 : 99);
3695
3695
  return o.jsx($r, { className: "react-calendar__century-view__decades", dateTransform: Ge, dateType: "decade", end: c, hover: r, renderTile: function(d) {
3696
- var f = d.date, v = Sa(d, ["date"]);
3697
- return o.jsx(Cc, vn({}, s, v, { activeStartDate: t, currentCentury: l, date: f }), f.getTime());
3696
+ var f = d.date, m = Sa(d, ["date"]);
3697
+ return o.jsx(Cc, vn({}, s, m, { activeStartDate: t, currentCentury: l, date: f }), f.getTime());
3698
3698
  }, start: l, step: 10, value: a, valueType: i });
3699
3699
  }
3700
3700
  var mn = function() {
@@ -3751,8 +3751,8 @@ var gn = function() {
3751
3751
  function Ic(e) {
3752
3752
  var t = e.activeStartDate, r = e.hover, n = e.showNeighboringDecade, a = e.value, i = e.valueType, s = Oa(e, ["activeStartDate", "hover", "showNeighboringDecade", "value", "valueType"]), l = hc(t), c = l + (n ? 11 : 9);
3753
3753
  return o.jsx($r, { className: "react-calendar__decade-view__years", dateTransform: Dt, dateType: "year", end: c, hover: r, renderTile: function(d) {
3754
- var f = d.date, v = Oa(d, ["date"]);
3755
- return o.jsx(Ac, gn({}, s, v, { activeStartDate: t, currentDecade: l, date: f }), f.getTime());
3754
+ var f = d.date, m = Oa(d, ["date"]);
3755
+ return o.jsx(Ac, gn({}, s, m, { activeStartDate: t, currentDecade: l, date: f }), f.getTime());
3756
3756
  }, start: l, value: a, valueType: i });
3757
3757
  }
3758
3758
  var yn = function() {
@@ -3816,8 +3816,8 @@ function Wc(e) {
3816
3816
  var f = /* @__PURE__ */ new Date();
3817
3817
  return f.setFullYear(c, d, 1), at(f);
3818
3818
  }, dateType: "month", end: l, hover: r, renderTile: function(d) {
3819
- var f = d.date, v = Ea(d, ["date"]);
3820
- return o.jsx(Fc, xn({}, i, v, { activeStartDate: t, date: f }), f.getTime());
3819
+ var f = d.date, m = Ea(d, ["date"]);
3820
+ return o.jsx(Fc, xn({}, i, m, { activeStartDate: t, date: f }), f.getTime());
3821
3821
  }, start: s, value: n, valueType: a });
3822
3822
  }
3823
3823
  var wn = function() {
@@ -3852,8 +3852,8 @@ var jn = function() {
3852
3852
  return r;
3853
3853
  }, Jr = "react-calendar__month-view__days__day";
3854
3854
  function Bc(e) {
3855
- var t = e.calendarType, r = e.classes, n = r === void 0 ? [] : r, a = e.currentMonthIndex, i = e.formatDay, s = i === void 0 ? oc : i, l = e.formatLongDate, c = l === void 0 ? ic : l, d = Yc(e, ["calendarType", "classes", "currentMonthIndex", "formatDay", "formatLongDate"]), f = d.date, v = d.locale, g = [];
3856
- return n && g.push.apply(g, n), g.push(Jr), Po(f, t) && g.push("".concat(Jr, "--weekend")), f.getMonth() !== a && g.push("".concat(Jr, "--neighboringMonth")), o.jsx(Mr, jn({}, d, { classes: g, formatAbbr: c, maxDateTransform: Wn, minDateTransform: Gt, view: "month", children: s(v, f) }));
3855
+ var t = e.calendarType, r = e.classes, n = r === void 0 ? [] : r, a = e.currentMonthIndex, i = e.formatDay, s = i === void 0 ? oc : i, l = e.formatLongDate, c = l === void 0 ? ic : l, d = Yc(e, ["calendarType", "classes", "currentMonthIndex", "formatDay", "formatLongDate"]), f = d.date, m = d.locale, g = [];
3856
+ return n && g.push.apply(g, n), g.push(Jr), Po(f, t) && g.push("".concat(Jr, "--weekend")), f.getMonth() !== a && g.push("".concat(Jr, "--neighboringMonth")), o.jsx(Mr, jn({}, d, { classes: g, formatAbbr: c, maxDateTransform: Wn, minDateTransform: Gt, view: "month", children: s(m, f) }));
3857
3857
  }
3858
3858
  var Sn = function() {
3859
3859
  return Sn = Object.assign || function(e) {
@@ -3872,31 +3872,31 @@ var Sn = function() {
3872
3872
  return r;
3873
3873
  };
3874
3874
  function Uc(e) {
3875
- var t = e.activeStartDate, r = e.calendarType, n = e.hover, a = e.showFixedNumberOfWeeks, i = e.showNeighboringMonth, s = e.value, l = e.valueType, c = ka(e, ["activeStartDate", "calendarType", "hover", "showFixedNumberOfWeeks", "showNeighboringMonth", "value", "valueType"]), d = Q(t), f = ze(t), v = a || i, g = Vt(t, r), h = v ? 0 : g, p = (v ? -g : 0) + 1, m = function() {
3875
+ var t = e.activeStartDate, r = e.calendarType, n = e.hover, a = e.showFixedNumberOfWeeks, i = e.showNeighboringMonth, s = e.value, l = e.valueType, c = ka(e, ["activeStartDate", "calendarType", "hover", "showFixedNumberOfWeeks", "showNeighboringMonth", "value", "valueType"]), d = Q(t), f = ze(t), m = a || i, g = Vt(t, r), h = m ? 0 : g, p = (m ? -g : 0) + 1, v = function() {
3876
3876
  if (a)
3877
3877
  return p + 6 * 7 - 1;
3878
- var x = Oo(t);
3878
+ var b = Oo(t);
3879
3879
  if (i) {
3880
3880
  var j = /* @__PURE__ */ new Date();
3881
- j.setFullYear(d, f, x), j.setHours(0, 0, 0, 0);
3882
- var b = 7 - Vt(j, r) - 1;
3883
- return x + b;
3881
+ j.setFullYear(d, f, b), j.setHours(0, 0, 0, 0);
3882
+ var x = 7 - Vt(j, r) - 1;
3883
+ return b + x;
3884
3884
  }
3885
- return x;
3885
+ return b;
3886
3886
  }();
3887
- return o.jsx($r, { className: "react-calendar__month-view__days", count: 7, dateTransform: function(x) {
3887
+ return o.jsx($r, { className: "react-calendar__month-view__days", count: 7, dateTransform: function(b) {
3888
3888
  var j = /* @__PURE__ */ new Date();
3889
- return j.setFullYear(d, f, x), Gt(j);
3890
- }, dateType: "day", hover: n, end: m, renderTile: function(x) {
3891
- var j = x.date, b = ka(x, ["date"]);
3892
- return o.jsx(Bc, Sn({}, c, b, { activeStartDate: t, calendarType: r, currentMonthIndex: f, date: j }), j.getTime());
3889
+ return j.setFullYear(d, f, b), Gt(j);
3890
+ }, dateType: "day", hover: n, end: v, renderTile: function(b) {
3891
+ var j = b.date, x = ka(b, ["date"]);
3892
+ return o.jsx(Bc, Sn({}, c, x, { activeStartDate: t, calendarType: r, currentMonthIndex: f, date: j }), j.getTime());
3893
3893
  }, offset: h, start: p, value: s, valueType: l });
3894
3894
  }
3895
3895
  var Ro = "react-calendar__month-view__weekdays", Qr = "".concat(Ro, "__weekday");
3896
3896
  function zc(e) {
3897
- for (var t = e.calendarType, r = e.formatShortWeekday, n = r === void 0 ? cc : r, a = e.formatWeekday, i = a === void 0 ? lc : a, s = e.locale, l = e.onMouseLeave, c = /* @__PURE__ */ new Date(), d = at(c), f = Q(d), v = ze(d), g = [], h = 1; h <= 7; h += 1) {
3898
- var p = new Date(f, v, h - Vt(d, t)), m = i(s, p);
3899
- g.push(o.jsx("div", { className: Pr(Qr, jc(p) && "".concat(Qr, "--current"), Po(p, t) && "".concat(Qr, "--weekend")), children: o.jsx("abbr", { "aria-label": m, title: m, children: n(s, p).replace(".", "") }) }, h));
3897
+ for (var t = e.calendarType, r = e.formatShortWeekday, n = r === void 0 ? cc : r, a = e.formatWeekday, i = a === void 0 ? lc : a, s = e.locale, l = e.onMouseLeave, c = /* @__PURE__ */ new Date(), d = at(c), f = Q(d), m = ze(d), g = [], h = 1; h <= 7; h += 1) {
3898
+ var p = new Date(f, m, h - Vt(d, t)), v = i(s, p);
3899
+ g.push(o.jsx("div", { className: Pr(Qr, jc(p) && "".concat(Qr, "--current"), Po(p, t) && "".concat(Qr, "--weekend")), children: o.jsx("abbr", { "aria-label": v, title: v, children: n(s, p).replace(".", "") }) }, h));
3900
3900
  }
3901
3901
  return o.jsx(Yn, { className: Ro, count: 7, onFocus: l, onMouseOver: l, children: g });
3902
3902
  }
@@ -3933,20 +3933,20 @@ function Hc(e) {
3933
3933
  var t = e.activeStartDate, r = e.calendarType, n = e.onClickWeekNumber, a = e.onMouseLeave, i = e.showFixedNumberOfWeeks, s = function() {
3934
3934
  if (i)
3935
3935
  return 6;
3936
- var d = Oo(t), f = Vt(t, r), v = d - (7 - f);
3937
- return 1 + Math.ceil(v / 7);
3936
+ var d = Oo(t), f = Vt(t, r), m = d - (7 - f);
3937
+ return 1 + Math.ceil(m / 7);
3938
3938
  }(), l = function() {
3939
- for (var d = Q(t), f = ze(t), v = Tr(t), g = [], h = 0; h < s; h += 1)
3940
- g.push(fn(new Date(d, f, v + h * 7), r));
3939
+ for (var d = Q(t), f = ze(t), m = Tr(t), g = [], h = 0; h < s; h += 1)
3940
+ g.push(fn(new Date(d, f, m + h * 7), r));
3941
3941
  return g;
3942
3942
  }(), c = l.map(function(d) {
3943
3943
  return vc(d, r);
3944
3944
  });
3945
3945
  return o.jsx(Yn, { className: "react-calendar__month-view__weekNumbers", count: s, direction: "column", onFocus: a, onMouseOver: a, style: { flexBasis: "calc(100% * (1 / 8)", flexShrink: 0 }, children: c.map(function(d, f) {
3946
- var v = l[f];
3947
- if (!v)
3946
+ var m = l[f];
3947
+ if (!m)
3948
3948
  throw new Error("date is not defined");
3949
- return o.jsx(Gc, { date: v, onClickWeekNumber: n, weekNumber: d }, d);
3949
+ return o.jsx(Gc, { date: m, onClickWeekNumber: n, weekNumber: d }, d);
3950
3950
  }) });
3951
3951
  }
3952
3952
  var Dn = function() {
@@ -3975,7 +3975,7 @@ function Xc(e) {
3975
3975
  return de.ISO_8601;
3976
3976
  }
3977
3977
  function Kc(e) {
3978
- var t = e.activeStartDate, r = e.locale, n = e.onMouseLeave, a = e.showFixedNumberOfWeeks, i = e.calendarType, s = i === void 0 ? Xc(r) : i, l = e.formatShortWeekday, c = e.formatWeekday, d = e.onClickWeekNumber, f = e.showWeekNumbers, v = qc(e, ["calendarType", "formatShortWeekday", "formatWeekday", "onClickWeekNumber", "showWeekNumbers"]);
3978
+ var t = e.activeStartDate, r = e.locale, n = e.onMouseLeave, a = e.showFixedNumberOfWeeks, i = e.calendarType, s = i === void 0 ? Xc(r) : i, l = e.formatShortWeekday, c = e.formatWeekday, d = e.onClickWeekNumber, f = e.showWeekNumbers, m = qc(e, ["calendarType", "formatShortWeekday", "formatWeekday", "onClickWeekNumber", "showWeekNumbers"]);
3979
3979
  function g() {
3980
3980
  return o.jsx(zc, { calendarType: s, formatShortWeekday: l, formatWeekday: c, locale: r, onMouseLeave: n });
3981
3981
  }
@@ -3983,10 +3983,10 @@ function Kc(e) {
3983
3983
  return f ? o.jsx(Hc, { activeStartDate: t, calendarType: s, onClickWeekNumber: d, onMouseLeave: n, showFixedNumberOfWeeks: a }) : null;
3984
3984
  }
3985
3985
  function p() {
3986
- return o.jsx(Uc, Dn({ calendarType: s }, v));
3986
+ return o.jsx(Uc, Dn({ calendarType: s }, m));
3987
3987
  }
3988
- var m = "react-calendar__month-view";
3989
- return o.jsx("div", { className: Pr(m, f ? "".concat(m, "--weekNumbers") : ""), children: o.jsxs("div", { style: {
3988
+ var v = "react-calendar__month-view";
3989
+ return o.jsx("div", { className: Pr(v, f ? "".concat(v, "--weekNumbers") : ""), children: o.jsxs("div", { style: {
3990
3990
  display: "flex",
3991
3991
  alignItems: "flex-end"
3992
3992
  }, children: [h(), o.jsxs("div", { style: {
@@ -4067,8 +4067,8 @@ function Lo(e) {
4067
4067
  return rt(l, c);
4068
4068
  }
4069
4069
  function rl(e) {
4070
- var t = e.activeStartDate, r = e.defaultActiveStartDate, n = e.defaultValue, a = e.defaultView, i = e.maxDate, s = e.maxDetail, l = e.minDate, c = e.minDetail, d = e.value, f = e.view, v = Un(f, c, s), g = t || r;
4071
- return g ? rt(v, g) : Lo({
4070
+ var t = e.activeStartDate, r = e.defaultActiveStartDate, n = e.defaultValue, a = e.defaultView, i = e.maxDate, s = e.maxDetail, l = e.minDate, c = e.minDetail, d = e.value, f = e.view, m = Un(f, c, s), g = t || r;
4071
+ return g ? rt(m, g) : Lo({
4072
4072
  maxDate: i,
4073
4073
  maxDetail: s,
4074
4074
  minDate: l,
@@ -4084,28 +4084,28 @@ function ur(e, t) {
4084
4084
  return e instanceof Date && t instanceof Date && e.getTime() === t.getTime();
4085
4085
  }
4086
4086
  var nl = Ue(function(t, r) {
4087
- var n = t.activeStartDate, a = t.allowPartialRange, i = t.calendarType, s = t.className, l = t.defaultActiveStartDate, c = t.defaultValue, d = t.defaultView, f = t.formatDay, v = t.formatLongDate, g = t.formatMonth, h = t.formatMonthYear, p = t.formatShortWeekday, m = t.formatWeekday, x = t.formatYear, j = t.goToRangeStartOnSelect, b = j === void 0 ? !0 : j, T = t.inputRef, S = t.locale, O = t.maxDate, E = O === void 0 ? Qc : O, _ = t.maxDetail, W = _ === void 0 ? "month" : _, y = t.minDate, k = y === void 0 ? Bn : y, I = t.minDetail, M = I === void 0 ? "century" : I, L = t.navigationAriaLabel, X = t.navigationAriaLive, ve = t.navigationLabel, re = t.next2AriaLabel, xe = t.next2Label, Ie = t.nextAriaLabel, ee = t.nextLabel, K = t.onActiveStartDateChange, ce = t.onChange, Z = t.onClickDay, Se = t.onClickDecade, Ee = t.onClickMonth, ke = t.onClickWeekNumber, me = t.onClickYear, pe = t.onDrillDown, le = t.onDrillUp, ne = t.onViewChange, De = t.prev2AriaLabel, _e = t.prev2Label, fe = t.prevAriaLabel, Ot = t.prevLabel, te = t.returnValue, Ce = te === void 0 ? "start" : te, oe = t.selectRange, He = t.showDoubleView, Nt = t.showFixedNumberOfWeeks, qe = t.showNavigation, Lr = qe === void 0 ? !0 : qe, Fr = t.showNeighboringCentury, Et = t.showNeighboringDecade, Ht = t.showNeighboringMonth, Wr = Ht === void 0 ? !0 : Ht, qt = t.showWeekNumbers, Xt = t.tileClassName, Kt = t.tileContent, Vr = t.tileDisabled, it = t.value, kt = t.view, Jt = F(l), Yr = Jt[0], st = Jt[1], Qt = F(null), Br = Qt[0], Zt = Qt[1], er = F(Array.isArray(c) ? c.map(function(N) {
4088
- return N !== null ? Ft(N) : null;
4087
+ var n = t.activeStartDate, a = t.allowPartialRange, i = t.calendarType, s = t.className, l = t.defaultActiveStartDate, c = t.defaultValue, d = t.defaultView, f = t.formatDay, m = t.formatLongDate, g = t.formatMonth, h = t.formatMonthYear, p = t.formatShortWeekday, v = t.formatWeekday, b = t.formatYear, j = t.goToRangeStartOnSelect, x = j === void 0 ? !0 : j, k = t.inputRef, S = t.locale, D = t.maxDate, N = D === void 0 ? Qc : D, C = t.maxDetail, W = C === void 0 ? "month" : C, y = t.minDate, _ = y === void 0 ? Bn : y, I = t.minDetail, M = I === void 0 ? "century" : I, L = t.navigationAriaLabel, X = t.navigationAriaLive, ve = t.navigationLabel, re = t.next2AriaLabel, xe = t.next2Label, Ie = t.nextAriaLabel, ee = t.nextLabel, K = t.onActiveStartDateChange, ce = t.onChange, Z = t.onClickDay, Se = t.onClickDecade, Ee = t.onClickMonth, ke = t.onClickWeekNumber, me = t.onClickYear, pe = t.onDrillDown, le = t.onDrillUp, ne = t.onViewChange, De = t.prev2AriaLabel, _e = t.prev2Label, fe = t.prevAriaLabel, Ot = t.prevLabel, te = t.returnValue, Ce = te === void 0 ? "start" : te, ie = t.selectRange, He = t.showDoubleView, Nt = t.showFixedNumberOfWeeks, qe = t.showNavigation, Lr = qe === void 0 ? !0 : qe, Fr = t.showNeighboringCentury, Et = t.showNeighboringDecade, Ht = t.showNeighboringMonth, Wr = Ht === void 0 ? !0 : Ht, qt = t.showWeekNumbers, Xt = t.tileClassName, Kt = t.tileContent, Vr = t.tileDisabled, it = t.value, kt = t.view, Jt = F(l), Yr = Jt[0], st = Jt[1], Qt = F(null), Br = Qt[0], Zt = Qt[1], er = F(Array.isArray(c) ? c.map(function(E) {
4088
+ return E !== null ? Ft(E) : null;
4089
4089
  }) : c != null ? Ft(c) : null), Xe = er[0], tr = er[1], $e = F(d), _t = $e[0], ct = $e[1], ue = n || Yr || rl({
4090
4090
  activeStartDate: n,
4091
4091
  defaultActiveStartDate: l,
4092
4092
  defaultValue: c,
4093
4093
  defaultView: d,
4094
- maxDate: E,
4094
+ maxDate: N,
4095
4095
  maxDetail: W,
4096
- minDate: k,
4096
+ minDate: _,
4097
4097
  minDetail: M,
4098
4098
  value: it,
4099
4099
  view: kt
4100
4100
  }), he = function() {
4101
- var N = function() {
4102
- return oe && Zr(Xe) ? Xe : it !== void 0 ? it : Xe;
4101
+ var E = function() {
4102
+ return ie && Zr(Xe) ? Xe : it !== void 0 ? it : Xe;
4103
4103
  }();
4104
- return N ? Array.isArray(N) ? N.map(function(C) {
4105
- return C !== null ? Ft(C) : null;
4106
- }) : N !== null ? Ft(N) : null : null;
4107
- }(), Ke = Io(W), G = Un(kt || _t, M, W), we = Ao(M, W), rr = oe ? Br : null, Ct = we.indexOf(G) < we.length - 1, nr = we.indexOf(G) > 0, Pt = A(function(N) {
4108
- var C = function() {
4104
+ return E ? Array.isArray(E) ? E.map(function(P) {
4105
+ return P !== null ? Ft(P) : null;
4106
+ }) : E !== null ? Ft(E) : null : null;
4107
+ }(), Ke = Io(W), G = Un(kt || _t, M, W), we = Ao(M, W), rr = ie ? Br : null, Ct = we.indexOf(G) < we.length - 1, nr = we.indexOf(G) > 0, Pt = R(function(E) {
4108
+ var P = function() {
4109
4109
  switch (Ce) {
4110
4110
  case "start":
4111
4111
  return zn;
@@ -4117,23 +4117,23 @@ var nl = Ue(function(t, r) {
4117
4117
  throw new Error("Invalid returnValue.");
4118
4118
  }
4119
4119
  }();
4120
- return C({
4121
- maxDate: E,
4120
+ return P({
4121
+ maxDate: N,
4122
4122
  maxDetail: W,
4123
- minDate: k,
4124
- value: N
4123
+ minDate: _,
4124
+ value: E
4125
4125
  });
4126
- }, [E, W, k, Ce]), lt = A(function(N, C) {
4127
- st(N);
4128
- var P = {
4129
- action: C,
4130
- activeStartDate: N,
4126
+ }, [N, W, _, Ce]), lt = R(function(E, P) {
4127
+ st(E);
4128
+ var T = {
4129
+ action: P,
4130
+ activeStartDate: E,
4131
4131
  value: he,
4132
4132
  view: G
4133
4133
  };
4134
- K && !ur(ue, N) && K(P);
4135
- }, [ue, K, he, G]), ut = A(function(N, C) {
4136
- var P = function() {
4134
+ K && !ur(ue, E) && K(T);
4135
+ }, [ue, K, he, G]), ut = R(function(E, P) {
4136
+ var T = function() {
4137
4137
  switch (G) {
4138
4138
  case "century":
4139
4139
  return Se;
@@ -4147,21 +4147,21 @@ var nl = Ue(function(t, r) {
4147
4147
  throw new Error("Invalid view: ".concat(G, "."));
4148
4148
  }
4149
4149
  }();
4150
- P && P(N, C);
4151
- }, [Z, Se, Ee, me, G]), Tt = A(function(N, C) {
4150
+ T && T(E, P);
4151
+ }, [Z, Se, Ee, me, G]), Tt = R(function(E, P) {
4152
4152
  if (Ct) {
4153
- ut(N, C);
4154
- var P = we[we.indexOf(G) + 1];
4155
- if (!P)
4153
+ ut(E, P);
4154
+ var T = we[we.indexOf(G) + 1];
4155
+ if (!T)
4156
4156
  throw new Error("Attempted to drill down from the lowest view.");
4157
- st(N), ct(P);
4157
+ st(E), ct(T);
4158
4158
  var z = {
4159
4159
  action: "drillDown",
4160
- activeStartDate: N,
4160
+ activeStartDate: E,
4161
4161
  value: he,
4162
- view: P
4162
+ view: T
4163
4163
  };
4164
- K && !ur(ue, N) && K(z), ne && G !== P && ne(z), pe && pe(z);
4164
+ K && !ur(ue, E) && K(z), ne && G !== T && ne(z), pe && pe(z);
4165
4165
  }
4166
4166
  }, [
4167
4167
  ue,
@@ -4173,20 +4173,20 @@ var nl = Ue(function(t, r) {
4173
4173
  he,
4174
4174
  G,
4175
4175
  we
4176
- ]), Rt = A(function() {
4176
+ ]), Rt = R(function() {
4177
4177
  if (nr) {
4178
- var N = we[we.indexOf(G) - 1];
4179
- if (!N)
4178
+ var E = we[we.indexOf(G) - 1];
4179
+ if (!E)
4180
4180
  throw new Error("Attempted to drill up from the highest view.");
4181
- var C = rt(N, ue);
4182
- st(C), ct(N);
4183
- var P = {
4181
+ var P = rt(E, ue);
4182
+ st(P), ct(E);
4183
+ var T = {
4184
4184
  action: "drillUp",
4185
- activeStartDate: C,
4185
+ activeStartDate: P,
4186
4186
  value: he,
4187
- view: N
4187
+ view: E
4188
4188
  };
4189
- K && !ur(ue, C) && K(P), ne && G !== N && ne(P), le && le(P);
4189
+ K && !ur(ue, P) && K(T), ne && G !== E && ne(T), le && le(T);
4190
4190
  }
4191
4191
  }, [
4192
4192
  ue,
@@ -4197,36 +4197,36 @@ var nl = Ue(function(t, r) {
4197
4197
  he,
4198
4198
  G,
4199
4199
  we
4200
- ]), At = A(function(N, C) {
4201
- var P = he;
4202
- ut(N, C);
4203
- var z = oe && !Zr(P), V;
4204
- if (oe)
4200
+ ]), At = R(function(E, P) {
4201
+ var T = he;
4202
+ ut(E, P);
4203
+ var z = ie && !Zr(T), V;
4204
+ if (ie)
4205
4205
  if (z)
4206
- V = rt(Ke, N);
4206
+ V = rt(Ke, E);
4207
4207
  else {
4208
- if (!P)
4208
+ if (!T)
4209
4209
  throw new Error("previousValue is required");
4210
- if (Array.isArray(P))
4210
+ if (Array.isArray(T))
4211
4211
  throw new Error("previousValue must not be an array");
4212
- V = xc(Ke, P, N);
4212
+ V = xc(Ke, T, E);
4213
4213
  }
4214
4214
  else
4215
- V = Pt(N);
4215
+ V = Pt(E);
4216
4216
  var J = (
4217
4217
  // Range selection turned off
4218
- !oe || // Range selection turned on, first value
4218
+ !ie || // Range selection turned on, first value
4219
4219
  z || // Range selection turned on, second value, goToRangeStartOnSelect toggled on
4220
- b ? Lo({
4221
- maxDate: E,
4220
+ x ? Lo({
4221
+ maxDate: N,
4222
4222
  maxDetail: W,
4223
- minDate: k,
4223
+ minDate: _,
4224
4224
  minDetail: M,
4225
4225
  value: V,
4226
4226
  view: G
4227
4227
  }) : null
4228
4228
  );
4229
- C.persist(), st(J), tr(V);
4229
+ P.persist(), st(J), tr(V);
4230
4230
  var ge = {
4231
4231
  action: "onChange",
4232
4232
  activeStartDate: J,
@@ -4234,36 +4234,36 @@ var nl = Ue(function(t, r) {
4234
4234
  view: G
4235
4235
  };
4236
4236
  if (K && !ur(ue, J) && K(ge), ce)
4237
- if (oe) {
4237
+ if (ie) {
4238
4238
  var We = Zr(V);
4239
4239
  if (!We)
4240
- ce(V || null, C);
4240
+ ce(V || null, P);
4241
4241
  else if (a) {
4242
4242
  if (Array.isArray(V))
4243
4243
  throw new Error("value must not be an array");
4244
- ce([V || null, null], C);
4244
+ ce([V || null, null], P);
4245
4245
  }
4246
4246
  } else
4247
- ce(V || null, C);
4247
+ ce(V || null, P);
4248
4248
  }, [
4249
4249
  ue,
4250
4250
  a,
4251
4251
  Pt,
4252
- b,
4253
- E,
4252
+ x,
4253
+ N,
4254
4254
  W,
4255
- k,
4255
+ _,
4256
4256
  M,
4257
4257
  K,
4258
4258
  ce,
4259
4259
  ut,
4260
- oe,
4260
+ ie,
4261
4261
  he,
4262
4262
  Ke,
4263
4263
  G
4264
4264
  ]);
4265
- function u(N) {
4266
- Zt(N);
4265
+ function u(E) {
4266
+ Zt(E);
4267
4267
  }
4268
4268
  function w() {
4269
4269
  Zt(null);
@@ -4279,15 +4279,15 @@ var nl = Ue(function(t, r) {
4279
4279
  view: G
4280
4280
  };
4281
4281
  }, [ue, Tt, Rt, At, lt, he, G]);
4282
- function D(N) {
4283
- var C = N ? Eo(G, ue) : rt(G, ue), P = Ct ? Tt : At, z = {
4284
- activeStartDate: C,
4282
+ function O(E) {
4283
+ var P = E ? Eo(G, ue) : rt(G, ue), T = Ct ? Tt : At, z = {
4284
+ activeStartDate: P,
4285
4285
  hover: rr,
4286
4286
  locale: S,
4287
- maxDate: E,
4288
- minDate: k,
4289
- onClick: P,
4290
- onMouseOver: oe ? u : void 0,
4287
+ maxDate: N,
4288
+ minDate: _,
4289
+ onClick: T,
4290
+ onMouseOver: ie ? u : void 0,
4291
4291
  tileClassName: Xt,
4292
4292
  tileContent: Kt,
4293
4293
  tileDisabled: Vr,
@@ -4296,22 +4296,22 @@ var nl = Ue(function(t, r) {
4296
4296
  };
4297
4297
  switch (G) {
4298
4298
  case "century":
4299
- return o.jsx(Tc, ht({ formatYear: x, showNeighboringCentury: Fr }, z));
4299
+ return o.jsx(Tc, ht({ formatYear: b, showNeighboringCentury: Fr }, z));
4300
4300
  case "decade":
4301
- return o.jsx($c, ht({ formatYear: x, showNeighboringDecade: Et }, z));
4301
+ return o.jsx($c, ht({ formatYear: b, showNeighboringDecade: Et }, z));
4302
4302
  case "year":
4303
4303
  return o.jsx(Vc, ht({ formatMonth: g, formatMonthYear: h }, z));
4304
4304
  case "month":
4305
- return o.jsx(Kc, ht({ calendarType: i, formatDay: f, formatLongDate: v, formatShortWeekday: p, formatWeekday: m, onClickWeekNumber: ke, onMouseLeave: oe ? w : void 0, showFixedNumberOfWeeks: typeof Nt < "u" ? Nt : He, showNeighboringMonth: Wr, showWeekNumbers: qt }, z));
4305
+ return o.jsx(Kc, ht({ calendarType: i, formatDay: f, formatLongDate: m, formatShortWeekday: p, formatWeekday: v, onClickWeekNumber: ke, onMouseLeave: ie ? w : void 0, showFixedNumberOfWeeks: typeof Nt < "u" ? Nt : He, showNeighboringMonth: Wr, showWeekNumbers: qt }, z));
4306
4306
  default:
4307
4307
  throw new Error("Invalid view: ".concat(G, "."));
4308
4308
  }
4309
4309
  }
4310
- function R() {
4311
- return Lr ? o.jsx(Sc, { activeStartDate: ue, drillUp: Rt, formatMonthYear: h, formatYear: x, locale: S, maxDate: E, minDate: k, navigationAriaLabel: L, navigationAriaLive: X, navigationLabel: ve, next2AriaLabel: re, next2Label: xe, nextAriaLabel: Ie, nextLabel: ee, prev2AriaLabel: De, prev2Label: _e, prevAriaLabel: fe, prevLabel: Ot, setActiveStartDate: lt, showDoubleView: He, view: G, views: we }) : null;
4310
+ function A() {
4311
+ return Lr ? o.jsx(Sc, { activeStartDate: ue, drillUp: Rt, formatMonthYear: h, formatYear: b, locale: S, maxDate: N, minDate: _, navigationAriaLabel: L, navigationAriaLive: X, navigationLabel: ve, next2AriaLabel: re, next2Label: xe, nextAriaLabel: Ie, nextLabel: ee, prev2AriaLabel: De, prev2Label: _e, prevAriaLabel: fe, prevLabel: Ot, setActiveStartDate: lt, showDoubleView: He, view: G, views: we }) : null;
4312
4312
  }
4313
4313
  var B = Array.isArray(he) ? he : [he];
4314
- return o.jsxs("div", { className: Pr(lr, oe && B.length === 1 && "".concat(lr, "--selectRange"), He && "".concat(lr, "--doubleView"), s), ref: T, children: [R(), o.jsxs("div", { className: "".concat(lr, "__viewContainer"), onBlur: oe ? w : void 0, onMouseLeave: oe ? w : void 0, children: [D(), He ? D(!0) : null] })] });
4314
+ return o.jsxs("div", { className: Pr(lr, ie && B.length === 1 && "".concat(lr, "--selectRange"), He && "".concat(lr, "--doubleView"), s), ref: k, children: [A(), o.jsxs("div", { className: "".concat(lr, "__viewContainer"), onBlur: ie ? w : void 0, onMouseLeave: ie ? w : void 0, children: [O(), He ? O(!0) : null] })] });
4315
4315
  });
4316
4316
  const Yl = ({
4317
4317
  value: e,
@@ -4319,21 +4319,21 @@ const Yl = ({
4319
4319
  maxDate: r,
4320
4320
  children: n
4321
4321
  }) => {
4322
- const [a, i] = F(e ?? /* @__PURE__ */ new Date()), [s, l] = F(!1), c = se(null), d = A(
4323
- (m) => {
4324
- i(m), t && t(m), l(!1);
4322
+ const [a, i] = F(e ?? /* @__PURE__ */ new Date()), [s, l] = F(!1), c = oe(null), d = R(
4323
+ (v) => {
4324
+ i(v), t && t(v), l(!1);
4325
4325
  },
4326
4326
  [t]
4327
- ), f = () => l(!s), v = A((m) => {
4328
- c.current && !c.current.contains(m.target) && l(!1);
4327
+ ), f = () => l(!s), m = R((v) => {
4328
+ c.current && !c.current.contains(v.target) && l(!1);
4329
4329
  }, []);
4330
- q(() => (s ? document.addEventListener("mousedown", v) : document.removeEventListener("mousedown", v), () => {
4331
- document.removeEventListener("mousedown", v);
4332
- }), [s, v]);
4330
+ q(() => (s ? document.addEventListener("mousedown", m) : document.removeEventListener("mousedown", m), () => {
4331
+ document.removeEventListener("mousedown", m);
4332
+ }), [s, m]);
4333
4333
  const [g, h] = F(), p = ({
4334
- activeStartDate: m
4334
+ activeStartDate: v
4335
4335
  }) => {
4336
- h(m);
4336
+ h(v);
4337
4337
  };
4338
4338
  return /* @__PURE__ */ o.jsx("div", { children: /* @__PURE__ */ o.jsxs("div", { className: "calendar", ref: c, children: [
4339
4339
  n && /* @__PURE__ */ o.jsx("div", { onClick: f, children: n }),
@@ -4366,10 +4366,10 @@ const Yl = ({
4366
4366
  maxDate: r ?? /* @__PURE__ */ new Date(),
4367
4367
  onChange: d,
4368
4368
  value: a,
4369
- tileClassName: ({ date: m, view: x }) => {
4370
- if (x === "month" && g) {
4369
+ tileClassName: ({ date: v, view: b }) => {
4370
+ if (b === "month" && g) {
4371
4371
  const j = g;
4372
- return m.getMonth() !== (j == null ? void 0 : j.getMonth()) ? "out-of-month" : null;
4372
+ return v.getMonth() !== (j == null ? void 0 : j.getMonth()) ? "out-of-month" : null;
4373
4373
  }
4374
4374
  return null;
4375
4375
  }
@@ -4388,7 +4388,7 @@ const Yl = ({
4388
4388
  q(() => {
4389
4389
  t && e && e.id === t.id ? i || s(!0) : s(!1);
4390
4390
  }, [e, s, t]);
4391
- const l = A(
4391
+ const l = R(
4392
4392
  (c) => {
4393
4393
  c.stopPropagation(), a && a(t);
4394
4394
  },
@@ -4415,7 +4415,7 @@ const Yl = ({
4415
4415
  }
4416
4416
  );
4417
4417
  }, Bl = (e) => {
4418
- const [t, r] = F(), n = A(
4418
+ const [t, r] = F(), n = R(
4419
4419
  (a) => {
4420
4420
  e.onChange && e.onChange(a), r(a);
4421
4421
  },
@@ -4439,7 +4439,7 @@ const Yl = ({
4439
4439
  currentFil: r,
4440
4440
  title: n
4441
4441
  }) => {
4442
- const a = A(
4442
+ const a = R(
4443
4443
  (i, s) => {
4444
4444
  s != null && s.url || i.preventDefault(), t && t(s);
4445
4445
  },
@@ -4483,14 +4483,14 @@ const Yl = ({
4483
4483
  rows: d,
4484
4484
  required: f = !1
4485
4485
  }) => {
4486
- const [v, g] = F(r);
4486
+ const [m, g] = F(r);
4487
4487
  q(() => {
4488
4488
  g(r);
4489
4489
  }, [r]);
4490
- const h = A(
4490
+ const h = R(
4491
4491
  (p) => {
4492
- const m = p.target.value;
4493
- g(m), s && s(m, e);
4492
+ const v = p.target.value;
4493
+ g(v), s && s(v, e);
4494
4494
  },
4495
4495
  [s, e]
4496
4496
  );
@@ -4502,7 +4502,7 @@ const Yl = ({
4502
4502
  className: `form-control-textarea ${i ?? ""}`,
4503
4503
  name: e,
4504
4504
  disabled: n,
4505
- value: v,
4505
+ value: m,
4506
4506
  onChange: h,
4507
4507
  placeholder: l,
4508
4508
  cols: c,
@@ -4523,37 +4523,37 @@ const Yl = ({
4523
4523
  disabledSubmit: c = !1,
4524
4524
  className: d
4525
4525
  }, f) => {
4526
- const [v, g] = F(c), [h, p] = F(() => {
4526
+ const [m, g] = F(c), [h, p] = F(() => {
4527
4527
  const y = {};
4528
- return e.forEach((k) => {
4529
- y[k.name] = k.value ?? "";
4528
+ return e.forEach((_) => {
4529
+ y[_.name] = _.value ?? "";
4530
4530
  }), y;
4531
- }), m = se({}), x = A(
4532
- (y, k) => {
4531
+ }), v = oe({}), b = R(
4532
+ (y, _) => {
4533
4533
  const { name: I, type: M, checked: L, value: X } = y.target, ve = M === "checkbox" ? L : X;
4534
- k.onChange && k.onChange(ve, I), p((re) => {
4534
+ _.onChange && _.onChange(ve, I), p((re) => {
4535
4535
  const xe = { ...re, [I]: ve };
4536
4536
  return s && s(xe), xe;
4537
4537
  });
4538
4538
  },
4539
4539
  [s]
4540
- ), j = A(
4541
- (y, k, I) => {
4542
- I.onChange && I.onChange(k, y), p((M) => {
4543
- const L = { ...M, [y]: k };
4540
+ ), j = R(
4541
+ (y, _, I) => {
4542
+ I.onChange && I.onChange(_, y), p((M) => {
4543
+ const L = { ...M, [y]: _ };
4544
4544
  return s && s(L), L;
4545
4545
  });
4546
4546
  },
4547
4547
  [s]
4548
- ), b = A(
4549
- (y, k, I) => {
4550
- I.onChange && I.onChange(y, k), p((M) => {
4551
- const L = { ...M, [k]: y };
4548
+ ), x = R(
4549
+ (y, _, I) => {
4550
+ I.onChange && I.onChange(y, _), p((M) => {
4551
+ const L = { ...M, [_]: y };
4552
4552
  return s && s(L), L;
4553
4553
  });
4554
4554
  },
4555
4555
  [s]
4556
- ), T = A(
4556
+ ), k = R(
4557
4557
  (y) => {
4558
4558
  y.preventDefault(), r && r(h);
4559
4559
  },
@@ -4561,43 +4561,43 @@ const Yl = ({
4561
4561
  ), S = () => {
4562
4562
  p(() => {
4563
4563
  const y = {};
4564
- return e.forEach((k) => {
4565
- y[k.name] = k.value ?? "";
4564
+ return e.forEach((_) => {
4565
+ y[_.name] = _.value ?? "";
4566
4566
  }), y;
4567
4567
  });
4568
- }, O = A((y) => {
4569
- p((k) => ({
4570
- ...k,
4568
+ }, D = R((y) => {
4569
+ p((_) => ({
4570
+ ..._,
4571
4571
  [y]: ""
4572
4572
  }));
4573
- }, []), E = () => {
4574
- const y = e.find((k) => k.focus);
4575
- y && m.current[y.name] && setTimeout(() => {
4576
- var k;
4577
- (k = m.current[y.name]) == null || k.select();
4573
+ }, []), N = () => {
4574
+ const y = e.find((_) => _.focus);
4575
+ y && v.current[y.name] && setTimeout(() => {
4576
+ var _;
4577
+ (_ = v.current[y.name]) == null || _.select();
4578
4578
  }, 500);
4579
- }, _ = () => h, W = (y) => {
4580
- p((k) => ({
4581
- ...k,
4579
+ }, C = () => h, W = (y) => {
4580
+ p((_) => ({
4581
+ ..._,
4582
4582
  ...y
4583
4583
  }));
4584
4584
  };
4585
4585
  return Dr(f, () => ({
4586
4586
  resetForm: S,
4587
- clearInput: O,
4588
- focusInitialElement: E,
4589
- getValues: _,
4587
+ clearInput: D,
4588
+ focusInitialElement: N,
4589
+ getValues: C,
4590
4590
  updateFormValue: W,
4591
4591
  setBtnDisabledSubmit: g
4592
4592
  })), /* @__PURE__ */ o.jsxs(
4593
4593
  "form",
4594
4594
  {
4595
4595
  autoComplete: i ?? "off",
4596
- onSubmit: T,
4596
+ onSubmit: k,
4597
4597
  className: d ?? "",
4598
4598
  children: [
4599
4599
  /* @__PURE__ */ o.jsxs("div", { className: "form-content", children: [
4600
- e.map((y, k) => {
4600
+ e.map((y, _) => {
4601
4601
  const I = y.onRequired ? y.onRequired(y.value) : y.required ?? !1, M = y.onDisabled ? y.onDisabled(y.value) : y.disabled ?? !1;
4602
4602
  return /* @__PURE__ */ o.jsxs(
4603
4603
  "div",
@@ -4619,8 +4619,8 @@ const Yl = ({
4619
4619
  required: I,
4620
4620
  defaultValue: y.value,
4621
4621
  placeholder: y.placeholder,
4622
- onChangeMultiple: (L) => b(L, y.name, y),
4623
- onChange: (L) => b(L, y.name, y)
4622
+ onChangeMultiple: (L) => x(L, y.name, y),
4623
+ onChange: (L) => x(L, y.name, y)
4624
4624
  }
4625
4625
  ) : y.type === "textarea" ? /* @__PURE__ */ o.jsx(
4626
4626
  ol,
@@ -4638,7 +4638,7 @@ const Yl = ({
4638
4638
  wr,
4639
4639
  {
4640
4640
  id: y.id ?? y.name,
4641
- ref: (L) => m.current[y.name] = L,
4641
+ ref: (L) => v.current[y.name] = L,
4642
4642
  name: y.name,
4643
4643
  type: y.type,
4644
4644
  placeholder: y.placeholder ?? "",
@@ -4650,13 +4650,13 @@ const Yl = ({
4650
4650
  step: y.step ?? "0.01",
4651
4651
  value: h[y.name],
4652
4652
  checked: y.type === "checkbox" ? !!h[y.name] : void 0,
4653
- onChange: (L) => x(L, y),
4653
+ onChange: (L) => b(L, y),
4654
4654
  onInvalid: y.onInvalid ? y.onInvalid : void 0
4655
4655
  }
4656
4656
  )
4657
4657
  ]
4658
4658
  },
4659
- k
4659
+ _
4660
4660
  );
4661
4661
  }),
4662
4662
  a
@@ -4665,7 +4665,7 @@ const Yl = ({
4665
4665
  xt,
4666
4666
  {
4667
4667
  id: `button-${n}`,
4668
- disabled: v,
4668
+ disabled: m,
4669
4669
  title: t || "submit"
4670
4670
  }
4671
4671
  ) })
@@ -4686,33 +4686,33 @@ const Yl = ({
4686
4686
  maxLength: c = 10,
4687
4687
  autoComplete: d = "off",
4688
4688
  tabIndex: f = 0,
4689
- inputMode: v = "numeric",
4689
+ inputMode: m = "numeric",
4690
4690
  pattern: g,
4691
4691
  onChange: h,
4692
4692
  onBlur: p,
4693
- onClick: m,
4694
- onKeyDown: x,
4693
+ onClick: v,
4694
+ onKeyDown: b,
4695
4695
  onFocus: j
4696
- }, b) => {
4697
- const T = A(
4698
- (O) => {
4699
- let E = O.target.value.replace(",", ".");
4700
- !/^-?\d*[.,]?\d*$/.test(E) && E !== "" || c && E.length > c || h == null || h(O, E);
4696
+ }, x) => {
4697
+ const k = R(
4698
+ (D) => {
4699
+ let N = D.target.value.replace(",", ".");
4700
+ !/^-?\d*[.,]?\d*$/.test(N) && N !== "" || c && N.length > c || h == null || h(D, N);
4701
4701
  },
4702
4702
  [h, c]
4703
- ), S = (O) => {
4704
- if (x && x(O), !(/[0-9]|Backspace|Delete|ArrowLeft|ArrowRight|Tab|Enter|Home|End/.test(
4705
- O.key
4706
- ) || O.key === "." || O.key === "," || O.key === "-")) {
4707
- O.preventDefault();
4703
+ ), S = (D) => {
4704
+ if (b && b(D), !(/[0-9]|Backspace|Delete|ArrowLeft|ArrowRight|Tab|Enter|Home|End/.test(
4705
+ D.key
4706
+ ) || D.key === "." || D.key === "," || D.key === "-")) {
4707
+ D.preventDefault();
4708
4708
  return;
4709
4709
  }
4710
- O.key === "-" && ((O.target.selectionStart ?? 0) !== 0 || r.includes("-")) && O.preventDefault();
4710
+ D.key === "-" && ((D.target.selectionStart ?? 0) !== 0 || r.includes("-")) && D.preventDefault();
4711
4711
  };
4712
4712
  return /* @__PURE__ */ o.jsx("div", { className: "input-container input-container-number", children: /* @__PURE__ */ o.jsx(
4713
4713
  "input",
4714
4714
  {
4715
- ref: b,
4715
+ ref: x,
4716
4716
  id: e,
4717
4717
  name: t,
4718
4718
  type: Be.TEXT,
@@ -4724,16 +4724,16 @@ const Yl = ({
4724
4724
  autoComplete: d,
4725
4725
  pattern: g,
4726
4726
  tabIndex: f,
4727
- inputMode: v,
4727
+ inputMode: m,
4728
4728
  spellCheck: "false",
4729
4729
  className: `input-field ${a ?? ""}`,
4730
- onChange: T,
4731
- onWheel: (O) => O.currentTarget.blur(),
4730
+ onChange: k,
4731
+ onWheel: (D) => D.currentTarget.blur(),
4732
4732
  onKeyDown: S,
4733
4733
  onFocus: j,
4734
4734
  onBlur: p,
4735
- onClick: (O) => {
4736
- O.stopPropagation(), m == null || m(O);
4735
+ onClick: (D) => {
4736
+ D.stopPropagation(), v == null || v(D);
4737
4737
  }
4738
4738
  }
4739
4739
  ) });
@@ -4749,7 +4749,7 @@ const zl = Ue(
4749
4749
  onChange: a,
4750
4750
  ...i
4751
4751
  }, s) => {
4752
- const l = A(() => {
4752
+ const l = R(() => {
4753
4753
  if (a) {
4754
4754
  let c = e.replace(",", ".");
4755
4755
  a(parseFloat(c || "0").toFixed(2));
@@ -4804,7 +4804,7 @@ const zl = Ue(
4804
4804
  showBackNavigation: s,
4805
4805
  onClickBackNavigation: l
4806
4806
  }) => {
4807
- const c = se(null), [d, f] = F(!1), v = A(() => {
4807
+ const c = oe(null), [d, f] = F(!1), m = R(() => {
4808
4808
  f(!d);
4809
4809
  }, [d, f]);
4810
4810
  return /* @__PURE__ */ o.jsxs("div", { className: `header ${a ? "header--fixed" : ""}`, children: [
@@ -4828,7 +4828,7 @@ const zl = Ue(
4828
4828
  ] }),
4829
4829
  /* @__PURE__ */ o.jsxs("div", { className: "d-flex align-items-center", children: [
4830
4830
  e,
4831
- /* @__PURE__ */ o.jsx("div", { ref: c, onClick: v, children: /* @__PURE__ */ o.jsx(Y, { size: je.MEDIUM, classIcon: "bi-person-circle" }) }),
4831
+ /* @__PURE__ */ o.jsx("div", { ref: c, onClick: m, children: /* @__PURE__ */ o.jsx(Y, { size: je.MEDIUM, classIcon: "bi-person-circle" }) }),
4832
4832
  d && c.current && /* @__PURE__ */ o.jsx(
4833
4833
  An,
4834
4834
  {
@@ -4904,8 +4904,8 @@ const zl = Ue(
4904
4904
  title: i,
4905
4905
  id: s
4906
4906
  }, l) => {
4907
- const [c, d] = F(null), f = A(async () => {
4908
- const v = new Blob([e], { type: "application/pdf" }), g = URL.createObjectURL(v);
4907
+ const [c, d] = F(null), f = R(async () => {
4908
+ const m = new Blob([e], { type: "application/pdf" }), g = URL.createObjectURL(m);
4909
4909
  if (!t) {
4910
4910
  const h = `${g}#toolbar=0&navpanes=0&scrollbar=0`;
4911
4911
  d(h);
@@ -4944,12 +4944,12 @@ const zl = Ue(
4944
4944
  disabledMinus: i,
4945
4945
  pas: s
4946
4946
  }) => {
4947
- const [l, c] = F(s), d = A(
4947
+ const [l, c] = F(s), d = R(
4948
4948
  (h) => {
4949
4949
  n || (c(h), e && e(t, h));
4950
4950
  },
4951
4951
  [c, e]
4952
- ), f = A(
4952
+ ), f = R(
4953
4953
  (h) => {
4954
4954
  if (h.stopPropagation(), n || a)
4955
4955
  return;
@@ -4957,7 +4957,7 @@ const zl = Ue(
4957
4957
  d(Math.round(p * 100) / 100);
4958
4958
  },
4959
4959
  [l, d]
4960
- ), v = A(
4960
+ ), m = R(
4961
4961
  (h) => {
4962
4962
  if (h.stopPropagation(), n || i)
4963
4963
  return;
@@ -4971,7 +4971,7 @@ const zl = Ue(
4971
4971
  q(() => {
4972
4972
  t.quantity && c(t.quantity);
4973
4973
  }, [t.quantity, c]);
4974
- const g = A(
4974
+ const g = R(
4975
4975
  (h) => {
4976
4976
  h.stopPropagation(), r && r(t);
4977
4977
  },
@@ -4981,7 +4981,7 @@ const zl = Ue(
4981
4981
  /* @__PURE__ */ o.jsx(
4982
4982
  "div",
4983
4983
  {
4984
- onClick: (h) => v(h),
4984
+ onClick: (h) => m(h),
4985
4985
  className: `qte-action qte-action--minus ${n || i ? "disabled" : ""} `,
4986
4986
  children: /* @__PURE__ */ o.jsx(Y, { size: je.LARGE, classIcon: "bi bi-dash-square" })
4987
4987
  }
@@ -5008,7 +5008,7 @@ const zl = Ue(
5008
5008
  setIsVisible: l,
5009
5009
  id: c
5010
5010
  }, d) => {
5011
- const [f, v] = F(n ?? !1), g = se(null), h = se(null), p = Re(
5011
+ const [f, m] = F(n ?? !1), g = oe(null), h = oe(null), p = Re(
5012
5012
  () => [
5013
5013
  {
5014
5014
  value: "",
@@ -5025,40 +5025,40 @@ const zl = Ue(
5025
5025
  [r, a]
5026
5026
  );
5027
5027
  q(() => {
5028
- n !== void 0 && v(n);
5028
+ n !== void 0 && m(n);
5029
5029
  }, [n]);
5030
- const m = A(
5031
- (b) => {
5032
- l && l(b), v(b);
5030
+ const v = R(
5031
+ (x) => {
5032
+ l && l(x), m(x);
5033
5033
  },
5034
5034
  [l]
5035
- ), x = A(
5036
- (b) => {
5037
- if (!b || !b[t ?? "recherche"])
5038
- return m(!1);
5039
- m(!0), g.current && clearTimeout(g.current), g.current = setTimeout(() => {
5040
- s && s(b);
5035
+ ), b = R(
5036
+ (x) => {
5037
+ if (!x || !x[t ?? "recherche"])
5038
+ return v(!1);
5039
+ v(!0), g.current && clearTimeout(g.current), g.current = setTimeout(() => {
5040
+ s && s(x);
5041
5041
  }, i ?? 500);
5042
5042
  },
5043
- [m, s, i]
5044
- ), j = A(
5045
- (b) => {
5046
- console.log("Form Submitted: ", b);
5043
+ [v, s, i]
5044
+ ), j = R(
5045
+ (x) => {
5046
+ console.log("Form Submitted: ", x);
5047
5047
  },
5048
5048
  []
5049
5049
  );
5050
5050
  return Dr(d, () => ({
5051
- clearInput: (b) => {
5052
- var T;
5053
- (T = h.current) == null || T.clearInput(b);
5051
+ clearInput: (x) => {
5052
+ var k;
5053
+ (k = h.current) == null || k.clearInput(x);
5054
5054
  },
5055
5055
  resetForm: () => {
5056
- var b;
5057
- (b = h.current) == null || b.resetForm();
5056
+ var x;
5057
+ (x = h.current) == null || x.resetForm();
5058
5058
  },
5059
5059
  focusInitialElement: () => {
5060
- var b;
5061
- (b = h.current) == null || b.focusInitialElement();
5060
+ var x;
5061
+ (x = h.current) == null || x.focusInitialElement();
5062
5062
  }
5063
5063
  })), /* @__PURE__ */ o.jsxs("div", { className: "search", children: [
5064
5064
  /* @__PURE__ */ o.jsx(
@@ -5066,7 +5066,7 @@ const zl = Ue(
5066
5066
  {
5067
5067
  ref: h,
5068
5068
  onSubmit: j,
5069
- onChange: x,
5069
+ onChange: b,
5070
5070
  hideSubmit: !0,
5071
5071
  initialForm: p
5072
5072
  }
@@ -5076,7 +5076,7 @@ const zl = Ue(
5076
5076
  "button",
5077
5077
  {
5078
5078
  className: "toggle-btn",
5079
- onClick: () => m(!1),
5079
+ onClick: () => v(!1),
5080
5080
  children: /* @__PURE__ */ o.jsx(Y, { classIcon: "bi-x-lg" })
5081
5081
  }
5082
5082
  ) }),
@@ -5095,35 +5095,47 @@ const zl = Ue(
5095
5095
  closeOnClickOutside: l = !0,
5096
5096
  displayOverlay: c = !0
5097
5097
  }) => {
5098
- const [d, f] = F(e || !1), v = se(null), g = se(null);
5098
+ const [d, f] = F(e || !1), m = oe(null), g = oe(null), h = oe(0), p = oe(0);
5099
5099
  q(() => (g.current || (g.current = document.createElement("div"), g.current.id = `sidebar-root-${i || crypto.randomUUID()}`, document.body.appendChild(g.current)), () => {
5100
5100
  g.current && g.current.parentNode && (document.body.removeChild(g.current), g.current = null);
5101
5101
  }), [i]), q(() => {
5102
5102
  f(e || !1);
5103
5103
  }, [e]);
5104
- const h = A(() => {
5104
+ const v = R(() => {
5105
5105
  f(!1), n && n(!1);
5106
- }, [n]), p = A(
5107
- (m) => {
5108
- l && v.current && !v.current.contains(m.target) && h();
5106
+ }, [n]), b = R(
5107
+ (k) => {
5108
+ l && m.current && !m.current.contains(k.target) && v();
5109
+ },
5110
+ [v, l]
5111
+ ), j = R((k) => {
5112
+ const S = k.touches[0];
5113
+ h.current = S.clientX, p.current = S.clientY;
5114
+ }, []), x = R(
5115
+ (k) => {
5116
+ if (!d) return;
5117
+ const S = k.changedTouches[0], D = S.clientX - h.current, N = Math.abs(S.clientY - p.current);
5118
+ D > 60 && N < 40 && v();
5109
5119
  },
5110
- [h, l]
5120
+ [d, v]
5111
5121
  );
5112
- return q(() => (d ? document.addEventListener("mousedown", p) : document.removeEventListener("mousedown", p), () => {
5113
- document.removeEventListener("mousedown", p);
5114
- }), [d, p]), g.current ? Nn.createPortal(
5122
+ return q(() => (d ? document.addEventListener("mousedown", b) : document.removeEventListener("mousedown", b), () => {
5123
+ document.removeEventListener("mousedown", b);
5124
+ }), [d, b]), g.current ? Nn.createPortal(
5115
5125
  /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
5116
5126
  d && c && /* @__PURE__ */ o.jsx("div", { className: "overlay" }),
5117
5127
  /* @__PURE__ */ o.jsxs(
5118
5128
  "div",
5119
5129
  {
5120
- ref: v,
5130
+ ref: m,
5121
5131
  style: s ? { width: s } : {},
5122
5132
  className: `sidebar ${d ? "open" : "closed"} ${a ?? ""}`,
5133
+ onTouchStart: j,
5134
+ onTouchEnd: x,
5123
5135
  children: [
5124
5136
  /* @__PURE__ */ o.jsxs("div", { className: "sidebar-header", children: [
5125
5137
  r && /* @__PURE__ */ o.jsx("h2", { className: "flex-1", children: r }),
5126
- /* @__PURE__ */ o.jsx("button", { className: "toggle-btn", onClick: h, children: /* @__PURE__ */ o.jsx(Y, { classIcon: "bi-x-lg" }) })
5138
+ /* @__PURE__ */ o.jsx("button", { className: "toggle-btn", onClick: v, children: /* @__PURE__ */ o.jsx(Y, { classIcon: "bi-x-lg" }) })
5127
5139
  ] }),
5128
5140
  t && t
5129
5141
  ]
@@ -5145,15 +5157,15 @@ const zl = Ue(
5145
5157
  q(() => {
5146
5158
  !l && (t < 0 || t >= e.length) && d(0);
5147
5159
  }, [t, e.length, l]);
5148
- const v = se([]), g = (h) => {
5149
- var p, m;
5150
- (p = e[h]) != null && p.disabled || (l || d(h), n == null || n(h), (m = v.current[h]) == null || m.focus());
5160
+ const m = oe([]), g = (h) => {
5161
+ var p, v;
5162
+ (p = e[h]) != null && p.disabled || (l || d(h), n == null || n(h), (v = m.current[h]) == null || v.focus());
5151
5163
  };
5152
5164
  return /* @__PURE__ */ o.jsxs("div", { className: `tabs-root ${a}`, children: [
5153
5165
  /* @__PURE__ */ o.jsx("div", { role: "tablist", className: "tabs-header", children: e.map((h, p) => /* @__PURE__ */ o.jsx(
5154
5166
  "button",
5155
5167
  {
5156
- ref: (m) => v.current[p] = m,
5168
+ ref: (v) => m.current[p] = v,
5157
5169
  role: "tab",
5158
5170
  id: `tab-${h.key}`,
5159
5171
  "aria-selected": f === p,
@@ -5182,10 +5194,10 @@ const zl = Ue(
5182
5194
  }, Pa = (e) => {
5183
5195
  let t;
5184
5196
  const r = /* @__PURE__ */ new Set(), n = (d, f) => {
5185
- const v = typeof d == "function" ? d(t) : d;
5186
- if (!Object.is(v, t)) {
5197
+ const m = typeof d == "function" ? d(t) : d;
5198
+ if (!Object.is(m, t)) {
5187
5199
  const g = t;
5188
- t = f ?? (typeof v != "object" || v === null) ? v : Object.assign({}, t, v), r.forEach((h) => h(t, g));
5200
+ t = f ?? (typeof m != "object" || m === null) ? m : Object.assign({}, t, m), r.forEach((h) => h(t, g));
5189
5201
  }
5190
5202
  }, a = () => t, l = { setState: n, getState: a, getInitialState: () => c, subscribe: (d) => (r.add(d), () => r.delete(d)) }, c = t = e(n, a, l);
5191
5203
  return l;
@@ -5228,7 +5240,7 @@ const Ta = (e) => {
5228
5240
  duration: i,
5229
5241
  hideToast: s,
5230
5242
  close: l
5231
- } = pl(), c = A(() => {
5243
+ } = pl(), c = R(() => {
5232
5244
  s();
5233
5245
  }, [s]);
5234
5246
  if (q(() => {