kelt-ui-kit-react 1.8.4 → 1.8.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 Aa, useRef as re, useState as F, useEffect as q, useContext as On, useCallback as R, useDebugValue as Gn, createElement as Bo, forwardRef as Ue, useId as Uo, useImperativeHandle as Dr, useMemo as Re, Children as zo, cloneElement as Go } from "react";
2
+ import Ae, { createContext as Aa, useRef as re, useState as W, useEffect as X, useContext as On, useCallback as I, useDebugValue as Gn, createElement as Bo, forwardRef as Ue, useId as Uo, useImperativeHandle as Dr, useMemo as Re, Children as zo, cloneElement as Go } from "react";
3
3
  import Nn, { createPortal as Ia } 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 Ho(e) {
@@ -20,12 +20,12 @@ function qo() {
20
20
  if (Hn) return It;
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
- function s(l, c, d) {
23
+ function s(c, l, d) {
24
24
  var f, v = {}, g = null, h = null;
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 };
25
+ d !== void 0 && (g = "" + d), l.key !== void 0 && (g = "" + l.key), l.ref !== void 0 && (h = l.ref);
26
+ for (f in l) n.call(l, f) && !i.hasOwnProperty(f) && (v[f] = l[f]);
27
+ if (c && c.defaultProps) for (f in l = c.defaultProps, l) v[f] === void 0 && (v[f] = l[f]);
28
+ return { $$typeof: t, type: c, key: g, ref: h, props: v, _owner: a.current };
29
29
  }
30
30
  return It.Fragment = r, It.jsx = s, It.jsxs = s, It;
31
31
  }
@@ -42,24 +42,24 @@ var $t = {};
42
42
  var qn;
43
43
  function Xo() {
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 b(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"), c = Symbol.for("react.context"), l = 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 y(u) {
47
47
  if (u === null || typeof u != "object")
48
48
  return null;
49
49
  var w = p && u[p] || u[m];
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 x(u) {
53
+ function b(u) {
54
54
  {
55
- for (var w = arguments.length, N = new Array(w > 1 ? w - 1 : 0), I = 1; I < w; I++)
56
- N[I - 1] = arguments[I];
55
+ for (var w = arguments.length, N = new Array(w > 1 ? w - 1 : 0), $ = 1; $ < w; $++)
56
+ N[$ - 1] = arguments[$];
57
57
  _("error", u, N);
58
58
  }
59
59
  }
60
60
  function _(u, w, N) {
61
61
  {
62
- var I = j.ReactDebugCurrentFrame, B = I.getStackAddendum();
62
+ var $ = j.ReactDebugCurrentFrame, B = $.getStackAddendum();
63
63
  B !== "" && (w += "%s", N = N.concat([B]));
64
64
  var k = N.map(function(P) {
65
65
  return String(P);
@@ -67,29 +67,29 @@ function Xo() {
67
67
  k.unshift("Warning: " + w), Function.prototype.apply.call(console[u], console, k);
68
68
  }
69
69
  }
70
- var S = !1, D = !1, E = !1, C = !1, W = !1, y;
71
- y = Symbol.for("react.module.reference");
72
- function O(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 || 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
70
+ var S = !1, O = !1, E = !1, C = !1, F = !1, x;
71
+ x = Symbol.for("react.module.reference");
72
+ function D(u) {
73
+ return !!(typeof u == "string" || typeof u == "function" || u === n || u === i || F || u === a || u === d || u === f || C || u === h || S || O || E || typeof u == "object" && u !== null && (u.$$typeof === g || u.$$typeof === v || u.$$typeof === s || u.$$typeof === c || u.$$typeof === l || // 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
- u.$$typeof === y || u.getModuleId !== void 0));
77
+ u.$$typeof === x || u.getModuleId !== void 0));
78
78
  }
79
- function A(u, w, N) {
80
- var I = u.displayName;
81
- if (I)
82
- return I;
79
+ function M(u, w, N) {
80
+ var $ = u.displayName;
81
+ if ($)
82
+ return $;
83
83
  var B = w.displayName || w.name || "";
84
84
  return B !== "" ? N + "(" + B + ")" : N;
85
85
  }
86
- function $(u) {
86
+ function R(u) {
87
87
  return u.displayName || "Context";
88
88
  }
89
- function L(u) {
89
+ function A(u) {
90
90
  if (u == null)
91
91
  return null;
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")
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")
93
93
  return u.displayName || u.name || null;
94
94
  if (typeof u == "string")
95
95
  return u;
@@ -109,21 +109,21 @@ function Xo() {
109
109
  }
110
110
  if (typeof u == "object")
111
111
  switch (u.$$typeof) {
112
- case l:
112
+ case c:
113
113
  var w = u;
114
- return $(w) + ".Consumer";
114
+ return R(w) + ".Consumer";
115
115
  case s:
116
116
  var N = u;
117
- return $(N._context) + ".Provider";
118
- case c:
119
- return A(u, u.render, "ForwardRef");
117
+ return R(N._context) + ".Provider";
118
+ case l:
119
+ return M(u, u.render, "ForwardRef");
120
120
  case v:
121
- var I = u.displayName || null;
122
- return I !== null ? I : L(u.type) || "Memo";
121
+ var $ = u.displayName || null;
122
+ return $ !== null ? $ : A(u.type) || "Memo";
123
123
  case g: {
124
124
  var B = u, k = B._payload, P = B._init;
125
125
  try {
126
- return L(P(k));
126
+ return A(P(k));
127
127
  } catch {
128
128
  return null;
129
129
  }
@@ -131,14 +131,14 @@ function Xo() {
131
131
  }
132
132
  return null;
133
133
  }
134
- var X = Object.assign, ve = 0, ne, xe, Ie, ee, K, ce, Z;
134
+ var G = Object.assign, ie = 0, ne, xe, Ie, ee, K, le, Z;
135
135
  function Se() {
136
136
  }
137
137
  Se.__reactDisabledLog = !0;
138
138
  function Ee() {
139
139
  {
140
- if (ve === 0) {
141
- ne = console.log, xe = console.info, Ie = console.warn, ee = console.error, K = console.group, ce = console.groupCollapsed, Z = console.groupEnd;
140
+ if (ie === 0) {
141
+ ne = console.log, xe = console.info, Ie = console.warn, ee = console.error, K = console.group, le = console.groupCollapsed, Z = console.groupEnd;
142
142
  var u = {
143
143
  configurable: !0,
144
144
  enumerable: !0,
@@ -155,53 +155,53 @@ function Xo() {
155
155
  groupEnd: u
156
156
  });
157
157
  }
158
- ve++;
158
+ ie++;
159
159
  }
160
160
  }
161
161
  function ke() {
162
162
  {
163
- if (ve--, ve === 0) {
163
+ if (ie--, ie === 0) {
164
164
  var u = {
165
165
  configurable: !0,
166
166
  enumerable: !0,
167
167
  writable: !0
168
168
  };
169
169
  Object.defineProperties(console, {
170
- log: X({}, u, {
170
+ log: G({}, u, {
171
171
  value: ne
172
172
  }),
173
- info: X({}, u, {
173
+ info: G({}, u, {
174
174
  value: xe
175
175
  }),
176
- warn: X({}, u, {
176
+ warn: G({}, u, {
177
177
  value: Ie
178
178
  }),
179
- error: X({}, u, {
179
+ error: G({}, u, {
180
180
  value: ee
181
181
  }),
182
- group: X({}, u, {
182
+ group: G({}, u, {
183
183
  value: K
184
184
  }),
185
- groupCollapsed: X({}, u, {
186
- value: ce
185
+ groupCollapsed: G({}, u, {
186
+ value: le
187
187
  }),
188
- groupEnd: X({}, u, {
188
+ groupEnd: G({}, u, {
189
189
  value: Z
190
190
  })
191
191
  });
192
192
  }
193
- ve < 0 && x("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
193
+ ie < 0 && b("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, N) {
197
+ function ue(u, w, N) {
198
198
  {
199
199
  if (pe === void 0)
200
200
  try {
201
201
  throw Error();
202
202
  } catch (B) {
203
- var I = B.stack.trim().match(/\n( *(at )?)/);
204
- pe = I && I[1] || "";
203
+ var $ = B.stack.trim().match(/\n( *(at )?)/);
204
+ pe = $ && $[1] || "";
205
205
  }
206
206
  return `
207
207
  ` + pe + u;
@@ -212,7 +212,7 @@ function Xo() {
212
212
  var _e = typeof WeakMap == "function" ? WeakMap : Map;
213
213
  De = new _e();
214
214
  }
215
- function fe(u, w) {
215
+ function he(u, w) {
216
216
  if (!u || ae)
217
217
  return "";
218
218
  {
@@ -220,7 +220,7 @@ function Xo() {
220
220
  if (N !== void 0)
221
221
  return N;
222
222
  }
223
- var I;
223
+ var $;
224
224
  ae = !0;
225
225
  var B = Error.prepareStackTrace;
226
226
  Error.prepareStackTrace = void 0;
@@ -239,14 +239,14 @@ function Xo() {
239
239
  try {
240
240
  Reflect.construct(P, []);
241
241
  } catch (ye) {
242
- I = ye;
242
+ $ = ye;
243
243
  }
244
244
  Reflect.construct(u, [], P);
245
245
  } else {
246
246
  try {
247
247
  P.call();
248
248
  } catch (ye) {
249
- I = ye;
249
+ $ = ye;
250
250
  }
251
251
  u.call(P.prototype);
252
252
  }
@@ -254,37 +254,37 @@ function Xo() {
254
254
  try {
255
255
  throw Error();
256
256
  } catch (ye) {
257
- I = ye;
257
+ $ = ye;
258
258
  }
259
259
  u();
260
260
  }
261
261
  } catch (ye) {
262
- if (ye && I && typeof ye.stack == "string") {
262
+ if (ye && $ && typeof ye.stack == "string") {
263
263
  for (var T = ye.stack.split(`
264
- `), z = I.stack.split(`
265
- `), V = T.length - 1, J = z.length - 1; V >= 1 && J >= 0 && T[V] !== z[J]; )
264
+ `), z = $.stack.split(`
265
+ `), Y = T.length - 1, J = z.length - 1; Y >= 1 && J >= 0 && T[Y] !== z[J]; )
266
266
  J--;
267
- for (; V >= 1 && J >= 0; V--, J--)
268
- if (T[V] !== z[J]) {
269
- if (V !== 1 || J !== 1)
267
+ for (; Y >= 1 && J >= 0; Y--, J--)
268
+ if (T[Y] !== z[J]) {
269
+ if (Y !== 1 || J !== 1)
270
270
  do
271
- if (V--, J--, J < 0 || T[V] !== z[J]) {
271
+ if (Y--, J--, J < 0 || T[Y] !== z[J]) {
272
272
  var ge = `
273
- ` + T[V].replace(" at new ", " at ");
273
+ ` + T[Y].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
- while (V >= 1 && J >= 0);
276
+ while (Y >= 1 && J >= 0);
277
277
  break;
278
278
  }
279
279
  }
280
280
  } finally {
281
281
  ae = !1, me.current = k, ke(), Error.prepareStackTrace = B;
282
282
  }
283
- var We = u ? u.displayName || u.name : "", Je = We ? le(We) : "";
283
+ var We = u ? u.displayName || u.name : "", Je = We ? ue(We) : "";
284
284
  return typeof u == "function" && De.set(u, Je), Je;
285
285
  }
286
286
  function Ot(u, w, N) {
287
- return fe(u, !1);
287
+ return he(u, !1);
288
288
  }
289
289
  function te(u) {
290
290
  var w = u.prototype;
@@ -294,23 +294,23 @@ function Xo() {
294
294
  if (u == null)
295
295
  return "";
296
296
  if (typeof u == "function")
297
- return fe(u, te(u));
297
+ return he(u, te(u));
298
298
  if (typeof u == "string")
299
- return le(u);
299
+ return ue(u);
300
300
  switch (u) {
301
301
  case d:
302
- return le("Suspense");
302
+ return ue("Suspense");
303
303
  case f:
304
- return le("SuspenseList");
304
+ return ue("SuspenseList");
305
305
  }
306
306
  if (typeof u == "object")
307
307
  switch (u.$$typeof) {
308
- case c:
308
+ case l:
309
309
  return Ot(u.render);
310
310
  case v:
311
311
  return Ce(u.type, w, N);
312
312
  case g: {
313
- var I = u, B = I._payload, k = I._init;
313
+ var $ = u, B = $._payload, k = $._init;
314
314
  try {
315
315
  return Ce(k(B), w, N);
316
316
  } catch {
@@ -319,7 +319,7 @@ function Xo() {
319
319
  }
320
320
  return "";
321
321
  }
322
- var ie = Object.prototype.hasOwnProperty, He = {}, Nt = j.ReactDebugCurrentFrame;
322
+ var se = Object.prototype.hasOwnProperty, He = {}, Nt = j.ReactDebugCurrentFrame;
323
323
  function qe(u) {
324
324
  if (u) {
325
325
  var w = u._owner, N = Ce(u.type, u._source, w ? w.type : null);
@@ -327,22 +327,22 @@ function Xo() {
327
327
  } else
328
328
  Nt.setExtraStackFrame(null);
329
329
  }
330
- function Lr(u, w, N, I, B) {
330
+ function Lr(u, w, N, $, B) {
331
331
  {
332
- var k = Function.call.bind(ie);
332
+ var k = Function.call.bind(se);
333
333
  for (var P in u)
334
334
  if (k(u, P)) {
335
335
  var T = void 0;
336
336
  try {
337
337
  if (typeof u[P] != "function") {
338
- var z = Error((I || "React class") + ": " + N + " 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`.");
338
+ var z = Error(($ || "React class") + ": " + N + " 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
- T = u[P](w, P, I, N, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
342
- } catch (V) {
343
- T = V;
341
+ T = u[P](w, P, $, N, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
342
+ } catch (Y) {
343
+ T = Y;
344
344
  }
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).", I || "React class", N, P, typeof T), qe(null)), T instanceof Error && !(T.message in He) && (He[T.message] = !0, qe(B), x("Failed %s type: %s", N, T.message), qe(null));
345
+ T && !(T 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).", $ || "React class", N, P, typeof T), qe(null)), T instanceof Error && !(T.message in He) && (He[T.message] = !0, qe(B), b("Failed %s type: %s", N, T.message), qe(null));
346
346
  }
347
347
  }
348
348
  }
@@ -368,7 +368,7 @@ function Xo() {
368
368
  }
369
369
  function Xt(u) {
370
370
  if (Wr(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);
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);
372
372
  }
373
373
  var Kt = j.ReactCurrentOwner, Vr = {
374
374
  key: !0,
@@ -377,7 +377,7 @@ function Xo() {
377
377
  __source: !0
378
378
  }, it, kt;
379
379
  function Jt(u) {
380
- if (ie.call(u, "ref")) {
380
+ if (se.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 Xo() {
385
385
  return u.ref !== void 0;
386
386
  }
387
387
  function Yr(u) {
388
- if (ie.call(u, "key")) {
388
+ if (se.call(u, "key")) {
389
389
  var w = Object.getOwnPropertyDescriptor(u, "key").get;
390
390
  if (w && w.isReactWarning)
391
391
  return !1;
@@ -398,7 +398,7 @@ function Xo() {
398
398
  function Qt(u, w) {
399
399
  {
400
400
  var N = 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));
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));
402
402
  };
403
403
  N.isReactWarning = !0, Object.defineProperty(u, "key", {
404
404
  get: N,
@@ -409,7 +409,7 @@ function Xo() {
409
409
  function Br(u, w) {
410
410
  {
411
411
  var N = 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));
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));
413
413
  };
414
414
  N.isReactWarning = !0, Object.defineProperty(u, "ref", {
415
415
  get: N,
@@ -417,7 +417,7 @@ function Xo() {
417
417
  });
418
418
  }
419
419
  }
420
- var Zt = function(u, w, N, I, B, k, P) {
420
+ var Zt = function(u, w, N, $, B, k, P) {
421
421
  var T = {
422
422
  // This tag allows us to uniquely identify this as a React Element
423
423
  $$typeof: t,
@@ -438,7 +438,7 @@ function Xo() {
438
438
  configurable: !1,
439
439
  enumerable: !1,
440
440
  writable: !1,
441
- value: I
441
+ value: $
442
442
  }), Object.defineProperty(T, "_source", {
443
443
  configurable: !1,
444
444
  enumerable: !1,
@@ -446,22 +446,22 @@ function Xo() {
446
446
  value: B
447
447
  }), Object.freeze && (Object.freeze(T.props), Object.freeze(T)), T;
448
448
  };
449
- function er(u, w, N, I, B) {
449
+ function er(u, w, N, $, B) {
450
450
  {
451
451
  var k, P = {}, T = null, z = null;
452
452
  N !== void 0 && (Xt(N), T = "" + N), Yr(w) && (Xt(w.key), T = "" + w.key), Jt(w) && (z = w.ref, st(w, B));
453
453
  for (k in w)
454
- ie.call(w, k) && !Vr.hasOwnProperty(k) && (P[k] = w[k]);
454
+ se.call(w, k) && !Vr.hasOwnProperty(k) && (P[k] = w[k]);
455
455
  if (u && u.defaultProps) {
456
- var V = u.defaultProps;
457
- for (k in V)
458
- P[k] === void 0 && (P[k] = V[k]);
456
+ var Y = u.defaultProps;
457
+ for (k in Y)
458
+ P[k] === void 0 && (P[k] = Y[k]);
459
459
  }
460
460
  if (T || z) {
461
461
  var J = typeof u == "function" ? u.displayName || u.name || "Unknown" : u;
462
462
  T && Qt(P, J), z && Br(P, J);
463
463
  }
464
- return Zt(u, T, z, B, I, Kt.current, P);
464
+ return Zt(u, T, z, B, $, Kt.current, P);
465
465
  }
466
466
  }
467
467
  var Xe = j.ReactCurrentOwner, tr = j.ReactDebugCurrentFrame;
@@ -477,10 +477,10 @@ function Xo() {
477
477
  function ct(u) {
478
478
  return typeof u == "object" && u !== null && u.$$typeof === t;
479
479
  }
480
- function ue() {
480
+ function de() {
481
481
  {
482
482
  if (Xe.current) {
483
- var u = L(Xe.current.type);
483
+ var u = A(Xe.current.type);
484
484
  if (u)
485
485
  return `
486
486
 
@@ -489,13 +489,13 @@ Check the render method of \`` + u + "`.";
489
489
  return "";
490
490
  }
491
491
  }
492
- function he(u) {
492
+ function ve(u) {
493
493
  return "";
494
494
  }
495
495
  var Ke = {};
496
- function G(u) {
496
+ function H(u) {
497
497
  {
498
- var w = ue();
498
+ var w = de();
499
499
  if (!w) {
500
500
  var N = typeof u == "string" ? u : u.displayName || u.name;
501
501
  N && (w = `
@@ -510,12 +510,12 @@ Check the top-level render call using <` + N + ">.");
510
510
  if (!u._store || u._store.validated || u.key != null)
511
511
  return;
512
512
  u._store.validated = !0;
513
- var N = G(w);
513
+ var N = H(w);
514
514
  if (Ke[N])
515
515
  return;
516
516
  Ke[N] = !0;
517
- var I = "";
518
- u && u._owner && u._owner !== Xe.current && (I = " 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.', N, I), $e(null);
517
+ var $ = "";
518
+ u && u._owner && u._owner !== Xe.current && ($ = " It was passed a child from " + A(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.', N, $), $e(null);
519
519
  }
520
520
  }
521
521
  function rr(u, w) {
@@ -524,13 +524,13 @@ Check the top-level render call using <` + N + ">.");
524
524
  return;
525
525
  if (Et(u))
526
526
  for (var N = 0; N < u.length; N++) {
527
- var I = u[N];
528
- ct(I) && we(I, w);
527
+ var $ = u[N];
528
+ ct($) && we($, 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 = b(u);
533
+ var B = y(u);
534
534
  if (typeof B == "function" && B !== u.entries)
535
535
  for (var k = B.call(u), P; !(P = k.next()).done; )
536
536
  ct(P.value) && we(P.value, w);
@@ -545,46 +545,46 @@ Check the top-level render call using <` + N + ">.");
545
545
  var N;
546
546
  if (typeof w == "function")
547
547
  N = w.propTypes;
548
- else if (typeof w == "object" && (w.$$typeof === c || // Note: Memo only checks outer props here.
548
+ else if (typeof w == "object" && (w.$$typeof === l || // Note: Memo only checks outer props here.
549
549
  // Inner props are checked in the reconciler.
550
550
  w.$$typeof === v))
551
551
  N = w.propTypes;
552
552
  else
553
553
  return;
554
554
  if (N) {
555
- var I = L(w);
556
- Lr(N, u.props, "prop", I, u);
555
+ var $ = A(w);
556
+ Lr(N, u.props, "prop", $, u);
557
557
  } else if (w.PropTypes !== void 0 && !_t) {
558
558
  _t = !0;
559
- var B = L(w);
560
- x("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", B || "Unknown");
559
+ var B = A(w);
560
+ b("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 && x("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
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.");
563
563
  }
564
564
  }
565
565
  function nr(u) {
566
566
  {
567
567
  for (var w = Object.keys(u.props), N = 0; N < w.length; N++) {
568
- var I = w[N];
569
- if (I !== "children" && I !== "key") {
570
- $e(u), x("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", I), $e(null);
568
+ var $ = w[N];
569
+ if ($ !== "children" && $ !== "key") {
570
+ $e(u), b("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", $), $e(null);
571
571
  break;
572
572
  }
573
573
  }
574
- u.ref !== null && ($e(u), x("Invalid attribute `ref` supplied to `React.Fragment`."), $e(null));
574
+ u.ref !== null && ($e(u), b("Invalid attribute `ref` supplied to `React.Fragment`."), $e(null));
575
575
  }
576
576
  }
577
577
  var Pt = {};
578
- function lt(u, w, N, I, B, k) {
578
+ function lt(u, w, N, $, B, k) {
579
579
  {
580
- var P = O(u);
580
+ var P = D(u);
581
581
  if (!P) {
582
582
  var T = "";
583
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
- var z = he();
585
- z ? T += z : T += ue();
586
- var V;
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);
584
+ var z = ve();
585
+ z ? T += z : T += de();
586
+ var Y;
587
+ u === null ? Y = "null" : Et(u) ? Y = "array" : u !== void 0 && u.$$typeof === t ? (Y = "<" + (A(u.type) || "Unknown") + " />", T = " Did you accidentally export a JSX literal instead of a component?") : Y = 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", Y, T);
588
588
  }
589
589
  var J = er(u, w, N, B, k);
590
590
  if (J == null)
@@ -592,23 +592,23 @@ Check the top-level render call using <` + N + ">.");
592
592
  if (P) {
593
593
  var ge = w.children;
594
594
  if (ge !== void 0)
595
- if (I)
595
+ if ($)
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
- 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.");
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.");
602
602
  else
603
603
  rr(ge, u);
604
604
  }
605
- if (ie.call(w, "key")) {
606
- var Je = L(u), ye = Object.keys(w).filter(function(Yo) {
605
+ if (se.call(w, "key")) {
606
+ var Je = A(u), ye = Object.keys(w).filter(function(Yo) {
607
607
  return Yo !== "key";
608
608
  }), Ur = ye.length > 0 ? "{key: someKey, " + ye.join(": ..., ") + ": ...}" : "{key: someKey}";
609
609
  if (!Pt[Je + Ur]) {
610
610
  var Vo = ye.length > 0 ? "{" + ye.join(": ..., ") + ": ...}" : "{}";
611
- x(`A props object containing a "key" prop is being spread into JSX:
611
+ b(`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:
@@ -699,8 +699,8 @@ new Promise(() => {
699
699
  });
700
700
  const Ma = Aa(1);
701
701
  function wl({ children: e }) {
702
- const t = ai(), r = re(1), [n, a] = F(1);
703
- return q(() => {
702
+ const t = ai(), r = re(1), [n, a] = W(1);
703
+ return X(() => {
704
704
  r.current += 1, a(r.current);
705
705
  }, [t]), /* @__PURE__ */ o.jsx(Ma.Provider, { value: n, children: e });
706
706
  }
@@ -708,7 +708,7 @@ function jl() {
708
708
  return On(Ma);
709
709
  }
710
710
  const Sl = ({ imageUrl: e }) => {
711
- const [t, r] = F(null), n = async (a) => {
711
+ const [t, r] = W(null), n = async (a) => {
712
712
  try {
713
713
  const i = await fetch(a, { method: "HEAD" });
714
714
  return console.log(i), i.ok;
@@ -716,25 +716,25 @@ const Sl = ({ imageUrl: e }) => {
716
716
  return !1;
717
717
  }
718
718
  };
719
- return q(() => {
719
+ return X(() => {
720
720
  n(e).then((a) => r(a));
721
721
  }, [e]), t === null ? /* @__PURE__ */ o.jsx("p", { children: "Vérification en cours..." }) : t ? /* @__PURE__ */ o.jsx("img", { src: e, alt: "Vérifiée" }) : /* @__PURE__ */ o.jsx("p", { children: "L'image n'existe pas." });
722
722
  }, Dl = ({ imageUrl: e }) => /* @__PURE__ */ o.jsx("img", { src: e, alt: "" }), Ol = (e) => {
723
723
  if (!/^\d{13}$/.test(e)) return !1;
724
724
  const t = e.split("").map(Number), r = t.pop(), a = (10 - t.reduce(
725
- (i, s, l) => i + s * (l % 2 === 0 ? 1 : 3),
725
+ (i, s, c) => i + s * (c % 2 === 0 ? 1 : 3),
726
726
  0
727
727
  ) % 10) % 10;
728
728
  return r === a;
729
729
  }, Nl = (e, t = "") => {
730
730
  const r = new URLSearchParams(), n = (a, i) => {
731
- Object.entries(a).forEach(([s, l]) => {
732
- const c = i ? `${i}[${s}]` : s;
733
- l != null && (typeof l == "object" && !Array.isArray(l) ? n(l, c) : Array.isArray(l) ? l.forEach((d) => r.append(c, String(d))) : r.append(c, String(l)));
731
+ Object.entries(a).forEach(([s, c]) => {
732
+ const l = i ? `${i}[${s}]` : s;
733
+ c != null && (typeof c == "object" && !Array.isArray(c) ? n(c, l) : Array.isArray(c) ? c.forEach((d) => r.append(l, String(d))) : r.append(l, String(c)));
734
734
  });
735
735
  };
736
736
  return n(e, t), r.toString();
737
- }, El = (e = "fr-FR", t = "EUR") => ({ formatCurrency: R(
737
+ }, El = (e = "fr-FR", t = "EUR") => ({ formatCurrency: I(
738
738
  (n) => new Intl.NumberFormat(e, {
739
739
  style: "currency",
740
740
  currency: t
@@ -765,8 +765,8 @@ function kl(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"), c = String(e.getHours()).padStart(2, "0"), l = 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", c).replace("mm", l).replace("ss", d);
770
770
  }
771
771
  function _l(e) {
772
772
  const [t, r, n] = e.split("-").map(Number);
@@ -781,10 +781,10 @@ function Pl(e) {
781
781
  return new Date(t, r - 1, n, 23, 59, 59, 999);
782
782
  }
783
783
  const Tl = (e = 768) => {
784
- const [t, r] = F(
784
+ const [t, r] = W(
785
785
  typeof window < "u" ? window.innerWidth <= e : !1
786
786
  );
787
- return q(() => {
787
+ return X(() => {
788
788
  const n = () => {
789
789
  r(window.innerWidth <= e);
790
790
  };
@@ -839,7 +839,7 @@ function si(e, t) {
839
839
  throw new Mt(`Invalid token specified: invalid json for part #${r + 1} (${i.message})`);
840
840
  }
841
841
  }
842
- const Rl = () => ({ getTokenValidate: R(() => {
842
+ const Rl = () => ({ getTokenValidate: I(() => {
843
843
  const t = localStorage.getItem("token");
844
844
  if (!t)
845
845
  return null;
@@ -847,7 +847,7 @@ const Rl = () => ({ getTokenValidate: R(() => {
847
847
  return !r.exp || r.exp < n ? null : t;
848
848
  }, []) }), Al = () => ({ isValidateEmail: (n) => /^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(n), isValidateTel: (n) => /^\+?[0-9\s.-]{7,15}$/.test(n), isValidateCodePostal: (n) => /^[0-9]{5}$/.test(n) }), Il = () => {
849
849
  const e = re(null);
850
- return q(() => {
850
+ return X(() => {
851
851
  if (!e.current) return;
852
852
  const t = document.createElement("script");
853
853
  return t.type = "text/javascript", t.innerHTML = `
@@ -872,14 +872,14 @@ const Rl = () => ({ getTokenValidate: R(() => {
872
872
  (r = e == null ? void 0 : e.current) == null || r.removeChild(t);
873
873
  };
874
874
  }, []), /* @__PURE__ */ o.jsx("div", { children: /* @__PURE__ */ o.jsx("div", { ref: e }) });
875
- }, Y = ({ classIcon: e, size: t }) => /* @__PURE__ */ o.jsx("i", { className: `bi ${e} ${t ?? "sm"}` }), La = ({
875
+ }, V = ({ classIcon: e, size: t }) => /* @__PURE__ */ o.jsx("i", { className: `bi ${e} ${t ?? "sm"}` }), La = ({
876
876
  className: e,
877
877
  onClick: t,
878
878
  title: r,
879
879
  sizeIcon: n,
880
880
  classIcon: a
881
881
  }) => {
882
- const i = R((s) => {
882
+ const i = I((s) => {
883
883
  s.stopPropagation(), t && t(s);
884
884
  }, []);
885
885
  return /* @__PURE__ */ o.jsxs(
@@ -888,7 +888,7 @@ const Rl = () => ({ getTokenValidate: R(() => {
888
888
  onClick: i,
889
889
  className: `badge ${e || ""}`,
890
890
  children: [
891
- a && /* @__PURE__ */ o.jsx(Y, { size: n, classIcon: a }),
891
+ a && /* @__PURE__ */ o.jsx(V, { size: n, classIcon: a }),
892
892
  /* @__PURE__ */ o.jsx("span", { children: r })
893
893
  ]
894
894
  }
@@ -907,7 +907,7 @@ const $l = ({
907
907
  };
908
908
  return /* @__PURE__ */ o.jsxs("div", { className: `action ${e}`, onClick: i, children: [
909
909
  a && /* @__PURE__ */ o.jsx(La, { ...a }),
910
- n && /* @__PURE__ */ o.jsx(Y, { classIcon: n, size: je.LARGE }),
910
+ n && /* @__PURE__ */ o.jsx(V, { classIcon: n, size: je.LARGE }),
911
911
  /* @__PURE__ */ o.jsx("small", { children: r })
912
912
  ] });
913
913
  }, xt = ({
@@ -918,8 +918,8 @@ const $l = ({
918
918
  sizeIcon: a,
919
919
  id: i,
920
920
  classIcon: s,
921
- positionicon: l = 1,
922
- disabled: c = !1
921
+ positionicon: c = 1,
922
+ disabled: l = !1
923
923
  }) => {
924
924
  const d = (f) => {
925
925
  f.stopPropagation(), t && t(f);
@@ -928,15 +928,15 @@ const $l = ({
928
928
  "button",
929
929
  {
930
930
  id: i ?? "",
931
- disabled: c,
931
+ disabled: l,
932
932
  type: "submit",
933
933
  onClick: (f) => d(f),
934
934
  className: e,
935
935
  children: [
936
936
  r && /* @__PURE__ */ o.jsx(La, { ...r }),
937
- s && l == 1 && /* @__PURE__ */ o.jsx("span", { className: `${n ? "mr-2" : ""}`, children: /* @__PURE__ */ o.jsx(Y, { size: a, classIcon: s }) }),
937
+ s && c == 1 && /* @__PURE__ */ o.jsx("span", { className: `${n ? "mr-2" : ""}`, children: /* @__PURE__ */ o.jsx(V, { size: a, classIcon: s }) }),
938
938
  /* @__PURE__ */ o.jsx("span", { children: n }),
939
- s && l == 2 && /* @__PURE__ */ o.jsx("span", { className: "ml-2", children: /* @__PURE__ */ o.jsx(Y, { classIcon: s }) })
939
+ s && c == 2 && /* @__PURE__ */ o.jsx("span", { className: "ml-2", children: /* @__PURE__ */ o.jsx(V, { classIcon: s }) })
940
940
  ]
941
941
  }
942
942
  );
@@ -948,7 +948,7 @@ const $l = ({
948
948
  children: e.item.children
949
949
  }
950
950
  ), Fa = (e) => {
951
- const [t, r] = F(null), n = R((i) => {
951
+ const [t, r] = W(null), n = I((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(
@@ -965,7 +965,7 @@ const $l = ({
965
965
  }, Wa = Aa(void 0), Ml = ({
966
966
  children: e
967
967
  }) => {
968
- const [t, r] = F(null);
968
+ const [t, r] = W(null);
969
969
  return /* @__PURE__ */ o.jsx(Wa.Provider, { value: { activeOverlayId: t, setActiveOverlay: r }, children: e });
970
970
  }, li = () => {
971
971
  const e = On(Wa);
@@ -998,9 +998,9 @@ var di = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|def
998
998
  return di.test(e) || e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && e.charCodeAt(2) < 91;
999
999
  }
1000
1000
  /* Z+1 */
1001
- ), H = "-ms-", Wt = "-moz-", U = "-webkit-", Va = "comm", Or = "rule", kn = "decl", hi = "@import", Ya = "@keyframes", vi = "@layer", Ba = Math.abs, _n = String.fromCharCode, tn = Object.assign;
1001
+ ), q = "-ms-", Wt = "-moz-", U = "-webkit-", Va = "comm", Or = "rule", kn = "decl", hi = "@import", Ya = "@keyframes", vi = "@layer", Ba = Math.abs, _n = String.fromCharCode, tn = Object.assign;
1002
1002
  function mi(e, t) {
1003
- return se(e, 0) ^ 45 ? (((t << 2 ^ se(e, 0)) << 2 ^ se(e, 1)) << 2 ^ se(e, 2)) << 2 ^ se(e, 3) : 0;
1003
+ return ce(e, 0) ^ 45 ? (((t << 2 ^ ce(e, 0)) << 2 ^ ce(e, 1)) << 2 ^ ce(e, 2)) << 2 ^ ce(e, 3) : 0;
1004
1004
  }
1005
1005
  function Ua(e) {
1006
1006
  return e.trim();
@@ -1008,13 +1008,13 @@ function Ua(e) {
1008
1008
  function Me(e, t) {
1009
1009
  return (e = t.exec(e)) ? e[0] : e;
1010
1010
  }
1011
- function M(e, t, r) {
1011
+ function L(e, t, r) {
1012
1012
  return e.replace(t, r);
1013
1013
  }
1014
1014
  function dr(e, t, r) {
1015
1015
  return e.indexOf(t, r);
1016
1016
  }
1017
- function se(e, t) {
1017
+ function ce(e, t) {
1018
1018
  return e.charCodeAt(t) | 0;
1019
1019
  }
1020
1020
  function mt(e, t, r) {
@@ -1038,8 +1038,8 @@ function Qn(e, t) {
1038
1038
  });
1039
1039
  }
1040
1040
  var Nr = 1, pt = 1, Ga = 0, Oe = 0, oe = 0, wt = "";
1041
- function Er(e, t, r, n, a, i, s, l) {
1042
- return { value: e, root: t, parent: r, type: n, props: a, children: i, line: Nr, column: pt, length: s, return: "", siblings: l };
1041
+ function Er(e, t, r, n, a, i, s, c) {
1042
+ return { value: e, root: t, parent: r, type: n, props: a, children: i, line: Nr, column: pt, length: s, return: "", siblings: c };
1043
1043
  }
1044
1044
  function Ye(e, t) {
1045
1045
  return tn(Er("", null, null, "", null, null, 0, e.siblings), e, { length: -e.length }, t);
@@ -1053,13 +1053,13 @@ function gi() {
1053
1053
  return oe;
1054
1054
  }
1055
1055
  function yi() {
1056
- return oe = Oe > 0 ? se(wt, --Oe) : 0, pt--, oe === 10 && (pt = 1, Nr--), oe;
1056
+ return oe = Oe > 0 ? ce(wt, --Oe) : 0, pt--, oe === 10 && (pt = 1, Nr--), oe;
1057
1057
  }
1058
1058
  function Ne() {
1059
- return oe = Oe < Ga ? se(wt, Oe++) : 0, pt++, oe === 10 && (pt = 1, Nr++), oe;
1059
+ return oe = Oe < Ga ? ce(wt, Oe++) : 0, pt++, oe === 10 && (pt = 1, Nr++), oe;
1060
1060
  }
1061
1061
  function et() {
1062
- return se(wt, Oe);
1062
+ return ce(wt, Oe);
1063
1063
  }
1064
1064
  function fr() {
1065
1065
  return Oe;
@@ -1150,18 +1150,18 @@ function Di(e) {
1150
1150
  function Oi(e) {
1151
1151
  return xi(hr("", null, null, null, [""], e = bi(e), 0, [0], e));
1152
1152
  }
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, b = 1, j = 1, x = 0, _ = "", S = a, D = i, E = n, C = _; b; )
1155
- switch (p = x, x = Ne()) {
1153
+ function hr(e, t, r, n, a, i, s, c, l) {
1154
+ for (var d = 0, f = 0, v = s, g = 0, h = 0, p = 0, m = 1, y = 1, j = 1, b = 0, _ = "", S = a, O = i, E = n, C = _; y; )
1155
+ switch (p = b, b = Ne()) {
1156
1156
  case 40:
1157
- if (p != 108 && se(C, v - 1) == 58) {
1158
- dr(C += M(zr(x), "&", "&\f"), "&\f", Ba(d ? l[d - 1] : 0)) != -1 && (j = -1);
1157
+ if (p != 108 && ce(C, v - 1) == 58) {
1158
+ dr(C += L(zr(b), "&", "&\f"), "&\f", Ba(d ? c[d - 1] : 0)) != -1 && (j = -1);
1159
1159
  break;
1160
1160
  }
1161
1161
  case 34:
1162
1162
  case 39:
1163
1163
  case 91:
1164
- C += zr(x);
1164
+ C += zr(b);
1165
1165
  break;
1166
1166
  case 9:
1167
1167
  case 10:
@@ -1176,40 +1176,40 @@ function hr(e, t, r, n, a, i, s, l, c) {
1176
1176
  switch (et()) {
1177
1177
  case 42:
1178
1178
  case 47:
1179
- Lt(Ni(Si(Ne(), fr()), t, r, c), c);
1179
+ Lt(Ni(Si(Ne(), fr()), t, r, l), l);
1180
1180
  break;
1181
1181
  default:
1182
1182
  C += "/";
1183
1183
  }
1184
1184
  break;
1185
1185
  case 123 * m:
1186
- l[d++] = Te(C) * j;
1186
+ c[d++] = Te(C) * j;
1187
1187
  case 125 * m:
1188
1188
  case 59:
1189
1189
  case 0:
1190
- switch (x) {
1190
+ switch (b) {
1191
1191
  case 0:
1192
1192
  case 125:
1193
- b = 0;
1193
+ y = 0;
1194
1194
  case 59 + f:
1195
- j == -1 && (C = M(C, /\f/g, "")), h > 0 && Te(C) - v && Lt(h > 32 ? ea(C + ";", n, r, v - 1, c) : ea(M(C, " ", "") + ";", n, r, v - 2, c), c);
1195
+ j == -1 && (C = L(C, /\f/g, "")), h > 0 && Te(C) - v && Lt(h > 32 ? ea(C + ";", n, r, v - 1, l) : ea(L(C, " ", "") + ";", n, r, v - 2, l), l);
1196
1196
  break;
1197
1197
  case 59:
1198
1198
  C += ";";
1199
1199
  default:
1200
- if (Lt(E = Zn(C, t, r, d, f, a, l, _, S = [], D = [], v, i), i), x === 123)
1200
+ if (Lt(E = Zn(C, t, r, d, f, a, c, _, S = [], O = [], v, i), i), b === 123)
1201
1201
  if (f === 0)
1202
- hr(C, t, E, E, S, i, v, l, D);
1202
+ hr(C, t, E, E, S, i, v, c, O);
1203
1203
  else
1204
- switch (g === 99 && se(C, 3) === 110 ? 100 : g) {
1204
+ switch (g === 99 && ce(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, _, a, S = [], v, D), D), a, D, v, l, n ? S : D);
1209
+ hr(e, E, E, n && Lt(Zn(e, E, E, 0, 0, a, c, _, a, S = [], v, O), O), a, O, v, c, n ? S : O);
1210
1210
  break;
1211
1211
  default:
1212
- hr(C, E, E, E, [""], D, 0, l, D);
1212
+ hr(C, E, E, E, [""], O, 0, c, O);
1213
1213
  }
1214
1214
  }
1215
1215
  d = f = h = 0, m = j = 1, _ = C = "", v = s;
@@ -1218,20 +1218,20 @@ function hr(e, t, r, n, a, i, s, l, c) {
1218
1218
  v = 1 + Te(C), h = p;
1219
1219
  default:
1220
1220
  if (m < 1) {
1221
- if (x == 123)
1221
+ if (b == 123)
1222
1222
  --m;
1223
- else if (x == 125 && m++ == 0 && yi() == 125)
1223
+ else if (b == 125 && m++ == 0 && yi() == 125)
1224
1224
  continue;
1225
1225
  }
1226
- switch (C += _n(x), x * m) {
1226
+ switch (C += _n(b), b * m) {
1227
1227
  case 38:
1228
1228
  j = f > 0 ? 1 : (C += "\f", -1);
1229
1229
  break;
1230
1230
  case 44:
1231
- l[d++] = (Te(C) - 1) * j, j = 1;
1231
+ c[d++] = (Te(C) - 1) * j, j = 1;
1232
1232
  break;
1233
1233
  case 64:
1234
- et() === 45 && (C += zr(Ne())), g = et(), f = v = Te(_ = C += Di(fr())), x++;
1234
+ et() === 45 && (C += zr(Ne())), g = et(), f = v = Te(_ = C += Di(fr())), b++;
1235
1235
  break;
1236
1236
  case 45:
1237
1237
  p === 45 && Te(C) == 2 && (m = 0);
@@ -1239,11 +1239,11 @@ function hr(e, t, r, n, a, i, s, l, c) {
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 = za(h), m = 0, b = 0, j = 0; m < n; ++m)
1244
- for (var x = 0, _ = mt(e, g + 1, g = Ba(b = s[m])), S = e; x < p; ++x)
1245
- (S = Ua(b > 0 ? h[x] + " " + _ : M(_, /&\f/g, h[x]))) && (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, c, l, d, f, v) {
1243
+ for (var g = a - 1, h = a === 0 ? i : [""], p = za(h), m = 0, y = 0, j = 0; m < n; ++m)
1244
+ for (var b = 0, _ = mt(e, g + 1, g = Ba(y = s[m])), S = e; b < p; ++b)
1245
+ (S = Ua(y > 0 ? h[b] + " " + _ : L(_, /&\f/g, h[b]))) && (l[j++] = S);
1246
+ return Er(e, t, r, a === 0 ? Or : c, l, d, f, v);
1247
1247
  }
1248
1248
  function Ni(e, t, r, n) {
1249
1249
  return Er(e, t, r, Va, _n(gi()), mt(e, 2, -2), 0, n);
@@ -1288,64 +1288,64 @@ function Ha(e, t, r) {
1288
1288
  case 4810:
1289
1289
  case 6968:
1290
1290
  case 2756:
1291
- return U + e + Wt + e + H + e + e;
1291
+ return U + e + Wt + e + q + e + e;
1292
1292
  case 5936:
1293
- switch (se(e, t + 11)) {
1293
+ switch (ce(e, t + 11)) {
1294
1294
  case 114:
1295
- return U + e + H + M(e, /[svh]\w+-[tblr]{2}/, "tb") + e;
1295
+ return U + e + q + L(e, /[svh]\w+-[tblr]{2}/, "tb") + e;
1296
1296
  case 108:
1297
- return U + e + H + M(e, /[svh]\w+-[tblr]{2}/, "tb-rl") + e;
1297
+ return U + e + q + L(e, /[svh]\w+-[tblr]{2}/, "tb-rl") + e;
1298
1298
  case 45:
1299
- return U + e + H + M(e, /[svh]\w+-[tblr]{2}/, "lr") + e;
1299
+ return U + e + q + L(e, /[svh]\w+-[tblr]{2}/, "lr") + e;
1300
1300
  }
1301
1301
  case 6828:
1302
1302
  case 4268:
1303
1303
  case 2903:
1304
- return U + e + H + e + e;
1304
+ return U + e + q + e + e;
1305
1305
  case 6165:
1306
- return U + e + H + "flex-" + e + e;
1306
+ return U + e + q + "flex-" + e + e;
1307
1307
  case 5187:
1308
- return U + e + M(e, /(\w+).+(:[^]+)/, U + "box-$1$2" + H + "flex-$1$2") + e;
1308
+ return U + e + L(e, /(\w+).+(:[^]+)/, U + "box-$1$2" + q + "flex-$1$2") + e;
1309
1309
  case 5443:
1310
- return U + e + H + "flex-item-" + M(e, /flex-|-self/g, "") + (Me(e, /flex-|baseline/) ? "" : H + "grid-row-" + M(e, /flex-|-self/g, "")) + e;
1310
+ return U + e + q + "flex-item-" + L(e, /flex-|-self/g, "") + (Me(e, /flex-|baseline/) ? "" : q + "grid-row-" + L(e, /flex-|-self/g, "")) + e;
1311
1311
  case 4675:
1312
- return U + e + H + "flex-line-pack" + M(e, /align-content|flex-|-self/g, "") + e;
1312
+ return U + e + q + "flex-line-pack" + L(e, /align-content|flex-|-self/g, "") + e;
1313
1313
  case 5548:
1314
- return U + e + H + M(e, "shrink", "negative") + e;
1314
+ return U + e + q + L(e, "shrink", "negative") + e;
1315
1315
  case 5292:
1316
- return U + e + H + M(e, "basis", "preferred-size") + e;
1316
+ return U + e + q + L(e, "basis", "preferred-size") + e;
1317
1317
  case 6060:
1318
- return U + "box-" + M(e, "-grow", "") + U + e + H + M(e, "grow", "positive") + e;
1318
+ return U + "box-" + L(e, "-grow", "") + U + e + q + L(e, "grow", "positive") + e;
1319
1319
  case 4554:
1320
- return U + M(e, /([^-])(transform)/g, "$1" + U + "$2") + e;
1320
+ return U + L(e, /([^-])(transform)/g, "$1" + U + "$2") + e;
1321
1321
  case 6187:
1322
- return M(M(M(e, /(zoom-|grab)/, U + "$1"), /(image-set)/, U + "$1"), e, "") + e;
1322
+ return L(L(L(e, /(zoom-|grab)/, U + "$1"), /(image-set)/, U + "$1"), e, "") + e;
1323
1323
  case 5495:
1324
1324
  case 3959:
1325
- return M(e, /(image-set\([^]*)/, U + "$1$`$1");
1325
+ return L(e, /(image-set\([^]*)/, U + "$1$`$1");
1326
1326
  case 4968:
1327
- return M(M(e, /(.+:)(flex-)?(.*)/, U + "box-pack:$3" + H + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + U + e + e;
1327
+ return L(L(e, /(.+:)(flex-)?(.*)/, U + "box-pack:$3" + q + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + U + e + e;
1328
1328
  case 4200:
1329
- if (!Me(e, /flex-|baseline/)) return H + "grid-column-align" + mt(e, t) + e;
1329
+ if (!Me(e, /flex-|baseline/)) return q + "grid-column-align" + mt(e, t) + e;
1330
1330
  break;
1331
1331
  case 2592:
1332
1332
  case 3360:
1333
- return H + M(e, "template-", "") + e;
1333
+ return q + L(e, "template-", "") + e;
1334
1334
  case 4384:
1335
1335
  case 3616:
1336
1336
  return r && r.some(function(n, a) {
1337
1337
  return t = a, Me(n.props, /grid-\w+-end/);
1338
- }) ? ~dr(e + (r = r[t].value), "span", 0) ? e : H + M(e, "-start", "") + e + H + "grid-row-span:" + (~dr(r, "span", 0) ? Me(r, /\d+/) : +Me(r, /\d+/) - +Me(e, /\d+/)) + ";" : H + M(e, "-start", "") + e;
1338
+ }) ? ~dr(e + (r = r[t].value), "span", 0) ? e : q + L(e, "-start", "") + e + q + "grid-row-span:" + (~dr(r, "span", 0) ? Me(r, /\d+/) : +Me(r, /\d+/) - +Me(e, /\d+/)) + ";" : q + L(e, "-start", "") + e;
1339
1339
  case 4896:
1340
1340
  case 4128:
1341
1341
  return r && r.some(function(n) {
1342
1342
  return Me(n.props, /grid-\w+-start/);
1343
- }) ? e : H + M(M(e, "-end", "-span"), "span ", "") + e;
1343
+ }) ? e : q + L(L(e, "-end", "-span"), "span ", "") + e;
1344
1344
  case 4095:
1345
1345
  case 3583:
1346
1346
  case 4068:
1347
1347
  case 2532:
1348
- return M(e, /(.+)-inline(.+)/, U + "$1$2") + e;
1348
+ return L(e, /(.+)-inline(.+)/, U + "$1$2") + e;
1349
1349
  case 8116:
1350
1350
  case 7059:
1351
1351
  case 5753:
@@ -1359,31 +1359,31 @@ function Ha(e, t, r) {
1359
1359
  case 5021:
1360
1360
  case 4765:
1361
1361
  if (Te(e) - 1 - t > 6)
1362
- switch (se(e, t + 1)) {
1362
+ switch (ce(e, t + 1)) {
1363
1363
  case 109:
1364
- if (se(e, t + 4) !== 45)
1364
+ if (ce(e, t + 4) !== 45)
1365
1365
  break;
1366
1366
  case 102:
1367
- return M(e, /(.+:)(.+)-([^]+)/, "$1" + U + "$2-$3$1" + Wt + (se(e, t + 3) == 108 ? "$3" : "$2-$3")) + e;
1367
+ return L(e, /(.+:)(.+)-([^]+)/, "$1" + U + "$2-$3$1" + Wt + (ce(e, t + 3) == 108 ? "$3" : "$2-$3")) + e;
1368
1368
  case 115:
1369
- return ~dr(e, "stretch", 0) ? Ha(M(e, "stretch", "fill-available"), t, r) + e : e;
1369
+ return ~dr(e, "stretch", 0) ? Ha(L(e, "stretch", "fill-available"), t, r) + e : e;
1370
1370
  }
1371
1371
  break;
1372
1372
  case 5152:
1373
1373
  case 5920:
1374
- return M(e, /(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/, function(n, a, i, s, l, c, d) {
1375
- return H + a + ":" + i + d + (s ? H + a + "-span:" + (l ? c : +c - +i) + d : "") + e;
1374
+ return L(e, /(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/, function(n, a, i, s, c, l, d) {
1375
+ return q + a + ":" + i + d + (s ? q + a + "-span:" + (c ? l : +l - +i) + d : "") + e;
1376
1376
  });
1377
1377
  case 4949:
1378
- if (se(e, t + 6) === 121)
1379
- return M(e, ":", ":" + U) + e;
1378
+ if (ce(e, t + 6) === 121)
1379
+ return L(e, ":", ":" + U) + e;
1380
1380
  break;
1381
1381
  case 6444:
1382
- switch (se(e, se(e, 14) === 45 ? 18 : 11)) {
1382
+ switch (ce(e, ce(e, 14) === 45 ? 18 : 11)) {
1383
1383
  case 120:
1384
- return M(e, /(.+:)([^;\s!]+)(;|(\s+)?!.+)?/, "$1" + U + (se(e, 14) === 45 ? "inline-" : "") + "box$3$1" + U + "$2$3$1" + H + "$2box$3") + e;
1384
+ return L(e, /(.+:)([^;\s!]+)(;|(\s+)?!.+)?/, "$1" + U + (ce(e, 14) === 45 ? "inline-" : "") + "box$3$1" + U + "$2$3$1" + q + "$2box$3") + e;
1385
1385
  case 100:
1386
- return M(e, ":", ":" + H) + e;
1386
+ return L(e, ":", ":" + q) + e;
1387
1387
  }
1388
1388
  break;
1389
1389
  case 5719:
@@ -1391,7 +1391,7 @@ function Ha(e, t, r) {
1391
1391
  case 2135:
1392
1392
  case 3927:
1393
1393
  case 2391:
1394
- return M(e, "scroll-", "scroll-snap-") + e;
1394
+ return L(e, "scroll-", "scroll-snap-") + e;
1395
1395
  }
1396
1396
  return e;
1397
1397
  }
@@ -1419,8 +1419,8 @@ function Ei(e, t, r, n) {
1419
1419
  function ki(e) {
1420
1420
  var t = za(e);
1421
1421
  return function(r, n, a, i) {
1422
- for (var s = "", l = 0; l < t; l++)
1423
- s += e[l](r, n, a, i) || "";
1422
+ for (var s = "", c = 0; c < t; c++)
1423
+ s += e[c](r, n, a, i) || "";
1424
1424
  return s;
1425
1425
  };
1426
1426
  }
@@ -1436,17 +1436,17 @@ function Ci(e, t, r, n) {
1436
1436
  e.return = Ha(e.value, e.length, r);
1437
1437
  return;
1438
1438
  case Ya:
1439
- return yr([Ye(e, { value: M(e.value, "@", "@" + U) })], n);
1439
+ return yr([Ye(e, { value: L(e.value, "@", "@" + U) })], n);
1440
1440
  case Or:
1441
1441
  if (e.length)
1442
1442
  return pi(r = e.props, function(a) {
1443
1443
  switch (Me(a, n = /(::plac\w+|:read-\w+)/)) {
1444
1444
  case ":read-only":
1445
1445
  case ":read-write":
1446
- dt(Ye(e, { props: [M(a, /:(read-\w+)/, ":" + Wt + "$1")] })), dt(Ye(e, { props: [a] })), tn(e, { props: Qn(r, n) });
1446
+ dt(Ye(e, { props: [L(a, /:(read-\w+)/, ":" + Wt + "$1")] })), dt(Ye(e, { props: [a] })), tn(e, { props: Qn(r, n) });
1447
1447
  break;
1448
1448
  case "::placeholder":
1449
- dt(Ye(e, { props: [M(a, /:(plac\w+)/, ":" + U + "input-$1")] })), dt(Ye(e, { props: [M(a, /:(plac\w+)/, ":" + Wt + "$1")] })), dt(Ye(e, { props: [M(a, /:(plac\w+)/, H + "input-$1")] })), dt(Ye(e, { props: [a] })), tn(e, { props: Qn(r, n) });
1449
+ dt(Ye(e, { props: [L(a, /:(plac\w+)/, ":" + U + "input-$1")] })), dt(Ye(e, { props: [L(a, /:(plac\w+)/, ":" + Wt + "$1")] })), dt(Ye(e, { props: [L(a, /:(plac\w+)/, q + "input-$1")] })), dt(Ye(e, { props: [a] })), tn(e, { props: Qn(r, n) });
1450
1450
  break;
1451
1451
  }
1452
1452
  return "";
@@ -1512,8 +1512,8 @@ See https://styled-components.com/docs/basics#define-styled-components-outside-o
1512
1512
  try {
1513
1513
  var i = !0;
1514
1514
  console.error = function(s) {
1515
- for (var l = [], c = 1; c < arguments.length; c++) l[c - 1] = arguments[c];
1516
- ta.test(s) ? (i = !1, or.delete(n)) : a.apply(void 0, vt([s], l, !1));
1515
+ for (var c = [], l = 1; l < arguments.length; l++) c[l - 1] = arguments[l];
1516
+ ta.test(s) ? (i = !1, or.delete(n)) : a.apply(void 0, vt([s], c, !1));
1517
1517
  }, re(), i && !or.has(n) && (console.warn(n), or.add(n));
1518
1518
  } catch (s) {
1519
1519
  ta.test(s.message) && or.delete(n);
@@ -1566,12 +1566,12 @@ function ro(e, t, r) {
1566
1566
  }
1567
1567
  var a = Ui(t);
1568
1568
  oa && (a = a.concat(oa(t)));
1569
- for (var i = aa(e), s = aa(t), l = 0; l < a.length; ++l) {
1570
- var c = a[l];
1571
- if (!(c in Vi || r && r[c] || s && c in s || i && c in i)) {
1572
- var d = zi(t, c);
1569
+ for (var i = aa(e), s = aa(t), c = 0; c < a.length; ++c) {
1570
+ var l = a[c];
1571
+ if (!(l in Vi || r && r[l] || s && l in s || i && l in i)) {
1572
+ var d = zi(t, l);
1573
1573
  try {
1574
- Bi(e, c, d);
1574
+ Bi(e, l, d);
1575
1575
  } catch {
1576
1576
  }
1577
1577
  }
@@ -1671,7 +1671,7 @@ var Xi = function() {
1671
1671
  this.groupSizes = new Uint32Array(i), this.groupSizes.set(n), this.length = i;
1672
1672
  for (var s = a; s < i; s++) this.groupSizes[s] = 0;
1673
1673
  }
1674
- for (var l = this.indexOfGroup(t + 1), c = (s = 0, r.length); s < c; s++) this.tag.insertRule(l, r[s]) && (this.groupSizes[t]++, l++);
1674
+ for (var c = this.indexOfGroup(t + 1), l = (s = 0, r.length); s < l; s++) this.tag.insertRule(c, r[s]) && (this.groupSizes[t]++, c++);
1675
1675
  }, e.prototype.clearGroup = function(t) {
1676
1676
  if (t < this.length) {
1677
1677
  var r = this.groupSizes[t], n = this.indexOfGroup(t), a = n + r;
@@ -1696,13 +1696,13 @@ var Xi = function() {
1696
1696
  for (var n, a = r.split(","), i = 0, s = a.length; i < s; i++) (n = a[i]) && e.registerName(t, n);
1697
1697
  }, ts = function(e, t) {
1698
1698
  for (var r, n = ((r = t.textContent) !== null && r !== void 0 ? r : "").split(Cn), a = [], i = 0, s = n.length; i < s; i++) {
1699
- var l = n[i].trim();
1700
- if (l) {
1701
- var c = l.match(Zi);
1702
- if (c) {
1703
- var d = 0 | parseInt(c[1], 10), f = c[2];
1704
- d !== 0 && (Ji(f, d), es(e, f, c[3]), e.getTag().insertRules(d, a)), a.length = 0;
1705
- } else a.push(l);
1699
+ var c = n[i].trim();
1700
+ if (c) {
1701
+ var l = c.match(Zi);
1702
+ if (l) {
1703
+ var d = 0 | parseInt(l[1], 10), f = l[2];
1704
+ d !== 0 && (Ji(f, d), es(e, f, l[3]), e.getTag().insertRules(d, a)), a.length = 0;
1705
+ } else a.push(c);
1706
1706
  }
1707
1707
  }
1708
1708
  }, ca = function(e) {
@@ -1715,9 +1715,9 @@ function rs() {
1715
1715
  return typeof __webpack_nonce__ < "u" ? __webpack_nonce__ : null;
1716
1716
  }
1717
1717
  var no = function(e) {
1718
- var t = document.head, r = e || t, n = document.createElement("style"), a = function(l) {
1719
- var c = Array.from(l.querySelectorAll("style[".concat(nt, "]")));
1720
- return c[c.length - 1];
1718
+ var t = document.head, r = e || t, n = document.createElement("style"), a = function(c) {
1719
+ var l = Array.from(c.querySelectorAll("style[".concat(nt, "]")));
1720
+ return l[l.length - 1];
1721
1721
  }(r), i = a !== void 0 ? a.nextSibling : null;
1722
1722
  n.setAttribute(nt, qa), n.setAttribute(Xa, _r);
1723
1723
  var s = rs();
@@ -1777,19 +1777,19 @@ var no = function(e) {
1777
1777
  var a = this;
1778
1778
  this.options = be(be({}, is), 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(), c = s.length, l = "", d = function(v) {
1781
1781
  var g = function(j) {
1782
1782
  return xr.get(j);
1783
1783
  }(v);
1784
1784
  if (g === void 0) return "continue";
1785
1785
  var h = i.names.get(g), p = s.getGroup(v);
1786
1786
  if (h === void 0 || !h.size || p.length === 0) return "continue";
1787
- var m = "".concat(nt, ".g").concat(v, '[id="').concat(g, '"]'), b = "";
1787
+ var m = "".concat(nt, ".g").concat(v, '[id="').concat(g, '"]'), y = "";
1788
1788
  h !== void 0 && h.forEach(function(j) {
1789
- j.length > 0 && (b += "".concat(j, ","));
1790
- }), c += "".concat(p).concat(m, '{content:"').concat(b, '"}').concat(Cn);
1791
- }, f = 0; f < l; f++) d(f);
1792
- return c;
1789
+ j.length > 0 && (y += "".concat(j, ","));
1790
+ }), l += "".concat(p).concat(m, '{content:"').concat(y, '"}').concat(Cn);
1791
+ }, f = 0; f < c; f++) d(f);
1792
+ return l;
1793
1793
  }(a);
1794
1794
  });
1795
1795
  }
@@ -1833,22 +1833,22 @@ function oo(e, t) {
1833
1833
  });
1834
1834
  }
1835
1835
  function ls(e) {
1836
- var t, r, n, a = gt, i = a.options, s = i === void 0 ? gt : i, l = a.plugins, c = l === void 0 ? Cr : l, d = function(g, h, p) {
1836
+ var t, r, n, a = gt, i = a.options, s = i === void 0 ? gt : i, c = a.plugins, l = c === void 0 ? Cr : c, d = function(g, h, p) {
1837
1837
  return p.startsWith(r) && p.endsWith(r) && p.replaceAll(r, "").length > 0 ? ".".concat(t) : g;
1838
- }, f = c.slice();
1838
+ }, f = l.slice();
1839
1839
  f.push(function(g) {
1840
1840
  g.type === Or && g.value.includes("&") && (g.props[0] = g.props[0].replace(ss, r).replace(n, d));
1841
1841
  }), s.prefix && f.push(Ci), f.push(Ei);
1842
1842
  var v = function(g, h, p, m) {
1843
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 b = g.replace(cs, ""), j = Oi(p || h ? "".concat(p, " ").concat(h, " { ").concat(b, " }") : b);
1844
+ var y = g.replace(cs, ""), j = Oi(p || h ? "".concat(p, " ").concat(h, " { ").concat(y, " }") : y);
1845
1845
  s.namespace && (j = oo(j, s.namespace));
1846
- var x = [];
1846
+ var b = [];
1847
1847
  return yr(j, ki(f.concat(_i(function(_) {
1848
- return x.push(_);
1849
- })))), x;
1848
+ return b.push(_);
1849
+ })))), b;
1850
1850
  };
1851
- return v.hash = c.length ? c.reduce(function(g, h) {
1851
+ return v.hash = l.length ? l.reduce(function(g, h) {
1852
1852
  return h.name || jt(15), Qe(g, h.name);
1853
1853
  }, Ka).toString() : "", v;
1854
1854
  }
@@ -1923,22 +1923,22 @@ var hs = Ja(_r), vs = function() {
1923
1923
  else {
1924
1924
  var i = sa(tt(this.rules, t, r, n)), s = on(Qe(this.baseHash, i) >>> 0);
1925
1925
  if (!r.hasNameForId(this.componentId, s)) {
1926
- var l = n(i, ".".concat(s), void 0, this.componentId);
1927
- r.insertRules(this.componentId, s, l);
1926
+ var c = n(i, ".".concat(s), void 0, this.componentId);
1927
+ r.insertRules(this.componentId, s, c);
1928
1928
  }
1929
1929
  a = Ze(a, s), this.staticRulesId = s;
1930
1930
  }
1931
1931
  else {
1932
- for (var c = Qe(this.baseHash, n.hash), d = "", f = 0; f < this.rules.length; f++) {
1932
+ for (var l = Qe(this.baseHash, n.hash), d = "", f = 0; f < this.rules.length; f++) {
1933
1933
  var v = this.rules[f];
1934
- if (typeof v == "string") d += v, process.env.NODE_ENV !== "production" && (c = Qe(c, v));
1934
+ if (typeof v == "string") d += v, process.env.NODE_ENV !== "production" && (l = Qe(l, v));
1935
1935
  else if (v) {
1936
1936
  var g = sa(tt(v, t, r, n));
1937
- c = Qe(c, g + f), d += g;
1937
+ l = Qe(l, g + f), d += g;
1938
1938
  }
1939
1939
  }
1940
1940
  if (d) {
1941
- var h = on(c >>> 0);
1941
+ var h = on(l >>> 0);
1942
1942
  r.hasNameForId(this.componentId, h) || r.insertRules(this.componentId, h, n(d, ".".concat(h), void 0, this.componentId)), a = Ze(a, h);
1943
1943
  }
1944
1944
  }
@@ -1948,61 +1948,61 @@ var hs = Ja(_r), vs = function() {
1948
1948
  lo.Consumer;
1949
1949
  var qr = {}, ha = /* @__PURE__ */ new Set();
1950
1950
  function ms(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, D) {
1951
+ var n = Pn(e), a = e, i = !Hr(e), s = t.attrs, c = s === void 0 ? Cr : s, l = t.componentId, d = l === void 0 ? function(S, O) {
1952
1952
  var E = typeof S != "string" ? "sc" : ra(S);
1953
1953
  qr[E] = (qr[E] || 0) + 1;
1954
1954
  var C = "".concat(E, "-").concat(Li(_r + E + qr[E]));
1955
- return D ? "".concat(D, "-").concat(C) : C;
1956
- }(t.displayName, t.parentComponentId) : c, f = t.displayName, v = f === void 0 ? function(S) {
1955
+ return O ? "".concat(O, "-").concat(C) : C;
1956
+ }(t.displayName, t.parentComponentId) : l, f = t.displayName, v = f === void 0 ? function(S) {
1957
1957
  return Hr(S) ? "styled.".concat(S) : "Styled(".concat(Qa(S), ")");
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;
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(c).filter(Boolean) : c, p = t.shouldForwardProp;
1959
1959
  if (n && a.shouldForwardProp) {
1960
1960
  var m = a.shouldForwardProp;
1961
1961
  if (t.shouldForwardProp) {
1962
- var b = t.shouldForwardProp;
1963
- p = function(S, D) {
1964
- return m(S, D) && b(S, D);
1962
+ var y = t.shouldForwardProp;
1963
+ p = function(S, O) {
1964
+ return m(S, O) && y(S, O);
1965
1965
  };
1966
1966
  } else p = m;
1967
1967
  }
1968
1968
  var j = new vs(r, g, n ? a.componentStyle : void 0);
1969
- function x(S, D) {
1970
- return function(E, C, W) {
1971
- var y = E.attrs, O = E.componentStyle, A = E.defaultProps, $ = E.foldedComponentIds, L = E.styledComponentId, X = E.target, ve = Ae.useContext(lo), ne = ua(), xe = E.shouldForwardProp || ne.shouldForwardProp;
1972
- process.env.NODE_ENV !== "production" && Gn(L);
1973
- var Ie = Ai(C, ve, A) || gt, ee = function(ke, me, pe) {
1974
- for (var le, ae = be(be({}, me), { className: void 0, theme: pe }), De = 0; De < ke.length; De += 1) {
1975
- var _e = yt(le = ke[De]) ? le(ae) : le;
1976
- for (var fe in _e) ae[fe] = fe === "className" ? Ze(ae[fe], _e[fe]) : fe === "style" ? be(be({}, ae[fe]), _e[fe]) : _e[fe];
1969
+ function b(S, O) {
1970
+ return function(E, C, F) {
1971
+ var x = E.attrs, D = E.componentStyle, M = E.defaultProps, R = E.foldedComponentIds, A = E.styledComponentId, G = E.target, ie = Ae.useContext(lo), ne = ua(), xe = E.shouldForwardProp || ne.shouldForwardProp;
1972
+ process.env.NODE_ENV !== "production" && Gn(A);
1973
+ var Ie = Ai(C, ie, M) || gt, ee = function(ke, me, pe) {
1974
+ for (var ue, ae = be(be({}, me), { className: void 0, theme: pe }), De = 0; De < ke.length; De += 1) {
1975
+ var _e = yt(ue = ke[De]) ? ue(ae) : ue;
1976
+ for (var he in _e) ae[he] = he === "className" ? Ze(ae[he], _e[he]) : he === "style" ? be(be({}, ae[he]), _e[he]) : _e[he];
1977
1977
  }
1978
1978
  return me.className && (ae.className = Ze(ae.className, me.className)), ae;
1979
- }(y, C, Ie), K = ee.as || X, ce = {};
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" || fi(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.)')))));
1979
+ }(x, C, Ie), K = ee.as || G, le = {};
1980
+ for (var Z in ee) ee[Z] === void 0 || Z[0] === "$" || Z === "as" || Z === "theme" && ee.theme === Ie || (Z === "forwardedAs" ? le.as = ee.forwardedAs : xe && !xe(Z, K) || (le[Z] = ee[Z], xe || process.env.NODE_ENV !== "development" || fi(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
- var pe = ua(), le = ke.generateAndInjectStyles(me, pe.styleSheet, pe.stylis);
1983
- return process.env.NODE_ENV !== "production" && Gn(le), le;
1984
- }(O, ee);
1982
+ var pe = ua(), ue = ke.generateAndInjectStyles(me, pe.styleSheet, pe.stylis);
1983
+ return process.env.NODE_ENV !== "production" && Gn(ue), ue;
1984
+ }(D, ee);
1985
1985
  process.env.NODE_ENV !== "production" && E.warnTooManyClasses && E.warnTooManyClasses(Se);
1986
- var Ee = Ze($, L);
1987
- return Se && (Ee += " " + Se), ee.className && (Ee += " " + ee.className), ce[Hr(K) && !an.has(K) ? "class" : "className"] = Ee, W && (ce.ref = W), Bo(K, ce);
1988
- }(_, S, D);
1986
+ var Ee = Ze(R, A);
1987
+ return Se && (Ee += " " + Se), ee.className && (Ee += " " + ee.className), le[Hr(K) && !an.has(K) ? "class" : "className"] = Ee, F && (le.ref = F), Bo(K, le);
1988
+ }(_, S, O);
1989
1989
  }
1990
- x.displayName = v;
1991
- var _ = Ae.forwardRef(x);
1990
+ b.displayName = v;
1991
+ var _ = Ae.forwardRef(b);
1992
1992
  return _.attrs = h, _.componentStyle = j, _.displayName = v, _.shouldForwardProp = p, _.foldedComponentIds = n ? Ze(a.foldedComponentIds, a.styledComponentId) : "", _.styledComponentId = g, _.target = n ? a.target : e, Object.defineProperty(_, "defaultProps", { get: function() {
1993
1993
  return this._foldedDefaultProps;
1994
1994
  }, set: function(S) {
1995
- this._foldedDefaultProps = n ? function(D) {
1995
+ this._foldedDefaultProps = n ? function(O) {
1996
1996
  for (var E = [], C = 1; C < arguments.length; C++) E[C - 1] = arguments[C];
1997
- for (var W = 0, y = E; W < y.length; W++) sn(D, y[W], !0);
1998
- return D;
1997
+ for (var F = 0, x = E; F < x.length; F++) sn(O, x[F], !0);
1998
+ return O;
1999
1999
  }({}, a.defaultProps, S) : S;
2000
- } }), process.env.NODE_ENV !== "production" && (Ri(v, g), _.warnTooManyClasses = /* @__PURE__ */ function(S, D) {
2000
+ } }), process.env.NODE_ENV !== "production" && (Ri(v, g), _.warnTooManyClasses = /* @__PURE__ */ function(S, O) {
2001
2001
  var E = {}, C = !1;
2002
- return function(W) {
2003
- if (!C && (E[W] = !0, Object.keys(E).length >= 200)) {
2004
- var y = D ? ' with the id of "'.concat(D, '"') : "";
2005
- console.warn("Over ".concat(200, " classes were generated for component ").concat(S).concat(y, `.
2002
+ return function(F) {
2003
+ if (!C && (E[F] = !0, Object.keys(E).length >= 200)) {
2004
+ var x = O ? ' with the id of "'.concat(O, '"') : "";
2005
+ console.warn("Over ".concat(200, " classes were generated for component ").concat(S).concat(x, `.
2006
2006
  `) + `Consider using the attrs method, together with a style object for frequently changed styles.
2007
2007
  Example:
2008
2008
  const Component = styled.div.attrs(props => ({
@@ -2075,72 +2075,72 @@ const ps = Rn.div`
2075
2075
  show: a,
2076
2076
  id: i,
2077
2077
  closeOverlay: s
2078
- }, l) => {
2079
- const { activeOverlayId: c, setActiveOverlay: d } = li(), [f, v] = F(a || !1), [g, h] = F(
2078
+ }, c) => {
2079
+ const { activeOverlayId: l, setActiveOverlay: d } = li(), [f, v] = W(a || !1), [g, h] = W(
2080
2080
  r ?? { top: 0, left: 0 }
2081
2081
  ), p = re(null), m = Uo();
2082
- Dr(l, () => ({
2082
+ Dr(c, () => ({
2083
2083
  setCoords: h
2084
- })), q(() => {
2085
- c !== m && v(!1);
2086
- }, [c, m]), q(() => {
2087
- const x = () => {
2084
+ })), X(() => {
2085
+ l !== m && v(!1);
2086
+ }, [l, m]), X(() => {
2087
+ const b = () => {
2088
2088
  var _;
2089
2089
  if (!t && r)
2090
2090
  h(r);
2091
2091
  else if (e) {
2092
- const S = e.getBoundingClientRect(), D = (_ = p.current) == null ? void 0 : _.getBoundingClientRect(), { innerWidth: E, innerHeight: C } = window;
2093
- if (D) {
2094
- let W, y;
2095
- const O = {
2092
+ const S = e.getBoundingClientRect(), O = (_ = p.current) == null ? void 0 : _.getBoundingClientRect(), { innerWidth: E, innerHeight: C } = window;
2093
+ if (O) {
2094
+ let F, x;
2095
+ const D = {
2096
2096
  topRight: () => ({
2097
- top: S.top - D.height,
2098
- left: S.right - D.width
2097
+ top: S.top - O.height,
2098
+ left: S.right - O.width
2099
2099
  }),
2100
2100
  topLeft: () => ({
2101
- top: S.top - D.height,
2101
+ top: S.top - O.height,
2102
2102
  left: S.left
2103
2103
  }),
2104
2104
  bottomRight: () => ({
2105
2105
  top: S.bottom,
2106
- left: S.right - D.width
2106
+ left: S.right - O.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 - D.height / 2,
2114
- left: S.left - D.width
2113
+ top: S.top + S.height / 2 - O.height / 2,
2114
+ left: S.left - O.width
2115
2115
  }),
2116
2116
  right: () => ({
2117
- top: S.top + S.height / 2 - D.height / 2,
2117
+ top: S.top + S.height / 2 - O.height / 2,
2118
2118
  left: S.right
2119
2119
  })
2120
2120
  };
2121
- t && O[t] ? { top: W, left: y } = O[t]() : (y = S.right, W = S.bottom, S.right + D.width > E && (y = S.left - D.width), S.bottom + D.height > C && (W = S.top - D.height)), h({ top: W, left: y < 0 ? 0 : y });
2121
+ t && D[t] ? { top: F, left: x } = D[t]() : (x = S.right, F = S.bottom, S.right + O.width > E && (x = S.left - O.width), S.bottom + O.height > C && (F = S.top - O.height)), h({ top: F, left: x < 0 ? 0 : x });
2122
2122
  }
2123
2123
  }
2124
2124
  };
2125
- return f && (x(), window.addEventListener("resize", x)), () => window.removeEventListener("resize", x);
2125
+ return f && (b(), window.addEventListener("resize", b)), () => window.removeEventListener("resize", b);
2126
2126
  }, [e, f, t]);
2127
- const b = () => {
2127
+ const y = () => {
2128
2128
  v(!0), d(m);
2129
- }, j = R(
2130
- (x) => {
2131
- x.stopPropagation(), v(!1), d(null), s && s(!1);
2129
+ }, j = I(
2130
+ (b) => {
2131
+ b.stopPropagation(), v(!1), d(null), s && s(!1);
2132
2132
  },
2133
2133
  [s, d]
2134
2134
  );
2135
- return q(() => {
2136
- const x = (_) => {
2135
+ return X(() => {
2136
+ const b = (_) => {
2137
2137
  p.current && !p.current.contains(_.target) && j(_);
2138
2138
  };
2139
- return f && document.addEventListener("mousedown", x), () => {
2140
- document.removeEventListener("mousedown", x);
2139
+ return f && document.addEventListener("mousedown", b), () => {
2140
+ document.removeEventListener("mousedown", b);
2141
2141
  };
2142
- }, [f, j]), q(() => {
2143
- a && b();
2142
+ }, [f, j]), X(() => {
2143
+ a && y();
2144
2144
  }, [a]), f ? Nn.createPortal(
2145
2145
  /* @__PURE__ */ o.jsx(ps, { ref: p, $top: g.top, $left: g.left, children: /* @__PURE__ */ o.jsxs(
2146
2146
  "div",
@@ -2153,7 +2153,7 @@ const ps = Rn.div`
2153
2153
  id: i ?? "",
2154
2154
  className: "toggle-btn",
2155
2155
  onClick: j,
2156
- children: /* @__PURE__ */ o.jsx(Y, { classIcon: "bi-x-lg" })
2156
+ children: /* @__PURE__ */ o.jsx(V, { classIcon: "bi-x-lg" })
2157
2157
  }
2158
2158
  ),
2159
2159
  n
@@ -2172,9 +2172,9 @@ const ps = Rn.div`
2172
2172
  disabled: i = !1,
2173
2173
  id: s
2174
2174
  }) => {
2175
- const l = (p) => {
2175
+ const c = (p) => {
2176
2176
  p.preventDefault(), t && t(p);
2177
- }, c = re(null), [d, f] = F(!1), v = R(
2177
+ }, l = re(null), [d, f] = W(!1), v = I(
2178
2178
  (p) => {
2179
2179
  p.stopPropagation(), n && f(!d);
2180
2180
  },
@@ -2188,14 +2188,14 @@ const ps = Rn.div`
2188
2188
  {
2189
2189
  classIcon: p.icon,
2190
2190
  sizeIcon: je.LARGE,
2191
- onClick: (b) => {
2192
- b.stopPropagation(), h(), p.onClick && p.onClick(p);
2191
+ onClick: (y) => {
2192
+ y.stopPropagation(), h(), p.onClick && p.onClick(p);
2193
2193
  },
2194
2194
  title: p.label || ""
2195
2195
  },
2196
2196
  m
2197
2197
  )
2198
- })) : [], [n]), h = R(() => {
2198
+ })) : [], [n]), h = I(() => {
2199
2199
  f(!1);
2200
2200
  }, [f]);
2201
2201
  return /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
@@ -2205,7 +2205,7 @@ const ps = Rn.div`
2205
2205
  id: s ?? "",
2206
2206
  disabled: i,
2207
2207
  type: "submit",
2208
- onClick: (p) => l(p),
2208
+ onClick: (p) => c(p),
2209
2209
  className: ` ${e} button-actions`,
2210
2210
  children: [
2211
2211
  /* @__PURE__ */ o.jsx("span", { className: "mr-2 flex-1", children: r }),
@@ -2213,21 +2213,21 @@ const ps = Rn.div`
2213
2213
  "span",
2214
2214
  {
2215
2215
  className: "ml-2",
2216
- ref: c,
2216
+ ref: l,
2217
2217
  onClick: (p) => v(p),
2218
- children: /* @__PURE__ */ o.jsx(Y, { classIcon: "bi-chevron-up" })
2218
+ children: /* @__PURE__ */ o.jsx(V, { classIcon: "bi-chevron-up" })
2219
2219
  }
2220
2220
  )
2221
2221
  ]
2222
2222
  }
2223
2223
  ),
2224
- n && d && c.current && /* @__PURE__ */ o.jsx(
2224
+ n && d && l.current && /* @__PURE__ */ o.jsx(
2225
2225
  An,
2226
2226
  {
2227
2227
  show: d,
2228
2228
  position: a,
2229
2229
  closeOverlay: f,
2230
- referenceElement: c.current,
2230
+ referenceElement: l.current,
2231
2231
  children: /* @__PURE__ */ o.jsx("div", { children: /* @__PURE__ */ o.jsx(Fa, { className: "card-action-menu", items: g }) })
2232
2232
  }
2233
2233
  )
@@ -2239,9 +2239,9 @@ const ps = Rn.div`
2239
2239
  buttonClassName: n,
2240
2240
  containerClassName: a
2241
2241
  }) => {
2242
- const i = re(null), s = (c) => {
2242
+ const i = re(null), s = (l) => {
2243
2243
  var f;
2244
- const d = (f = c.target.files) == null ? void 0 : f[0];
2244
+ const d = (f = l.target.files) == null ? void 0 : f[0];
2245
2245
  if (d && e) {
2246
2246
  const v = new FileReader();
2247
2247
  v.onload = (g) => {
@@ -2250,9 +2250,9 @@ const ps = Rn.div`
2250
2250
  e(d, h);
2251
2251
  }, v.readAsArrayBuffer(d);
2252
2252
  }
2253
- }, l = () => {
2254
- var c;
2255
- (c = i.current) == null || c.click();
2253
+ }, c = () => {
2254
+ var l;
2255
+ (l = i.current) == null || l.click();
2256
2256
  };
2257
2257
  return /* @__PURE__ */ o.jsxs("div", { className: a, children: [
2258
2258
  /* @__PURE__ */ o.jsx(
@@ -2268,7 +2268,7 @@ const ps = Rn.div`
2268
2268
  /* @__PURE__ */ o.jsx(
2269
2269
  xt,
2270
2270
  {
2271
- onClick: l,
2271
+ onClick: c,
2272
2272
  className: n || "bg-green-500 hover:bg-green-600 text-white font-medium py-3 px-6 rounded-lg transition-colors duration-200",
2273
2273
  title: r || "Choisir un fichier"
2274
2274
  }
@@ -2282,23 +2282,23 @@ const ps = Rn.div`
2282
2282
  positionOverlay: a,
2283
2283
  setOpenActions: i
2284
2284
  }) => {
2285
- const s = re(null), [l, c] = F(
2285
+ const s = re(null), [c, l] = W(
2286
2286
  a
2287
- ), d = re(null), [f, v] = F(t ?? !1);
2288
- q(() => {
2287
+ ), d = re(null), [f, v] = W(t ?? !1);
2288
+ X(() => {
2289
2289
  t && v(t);
2290
2290
  }, [t]);
2291
- const g = R(
2292
- (m, b) => {
2293
- e.length !== 0 && (m.preventDefault(), c("bottomRight"), i && i(b));
2291
+ const g = I(
2292
+ (m, y) => {
2293
+ e.length !== 0 && (m.preventDefault(), l("bottomRight"), i && i(y));
2294
2294
  },
2295
- [c, i]
2296
- ), h = R(() => {
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, b) => {
2295
+ [l, i]
2296
+ ), h = I(() => {
2297
+ l(void 0), v(!1), i && i(!1);
2298
+ }, [v, l, i]), p = Re(() => e == null ? void 0 : e.filter((m) => m.type === "menu").map((m, y) => {
2299
2299
  let j = m.label || "";
2300
2300
  return m.setLabel && r && (j = m.setLabel(r)), {
2301
- id: b,
2301
+ id: y,
2302
2302
  icon: m.icon,
2303
2303
  name: m.label,
2304
2304
  children: /* @__PURE__ */ o.jsx(
@@ -2307,12 +2307,12 @@ const ps = Rn.div`
2307
2307
  classIcon: m.icon,
2308
2308
  disabled: r && m.disabled ? m.disabled(r) : !1,
2309
2309
  sizeIcon: je.LARGE,
2310
- onClick: (x) => {
2311
- x.stopPropagation(), h(), m.onClick && r && m.onClick(r);
2310
+ onClick: (b) => {
2311
+ b.stopPropagation(), h(), m.onClick && r && m.onClick(r);
2312
2312
  },
2313
2313
  title: j
2314
2314
  },
2315
- b
2315
+ y
2316
2316
  )
2317
2317
  };
2318
2318
  }), [e]);
@@ -2325,14 +2325,14 @@ const ps = Rn.div`
2325
2325
  onClick: (m) => g(m, !f),
2326
2326
  children: [
2327
2327
  /* @__PURE__ */ o.jsx(
2328
- Y,
2328
+ V,
2329
2329
  {
2330
2330
  size: je.MEDIUM,
2331
2331
  classIcon: "bi-three-dots-vertical cursor-pointer"
2332
2332
  }
2333
2333
  ),
2334
2334
  /* @__PURE__ */ o.jsx(
2335
- Y,
2335
+ V,
2336
2336
  {
2337
2337
  size: je.MEDIUM,
2338
2338
  classIcon: "bi-three-dots cursor-pointer"
@@ -2344,7 +2344,7 @@ const ps = Rn.div`
2344
2344
  f && d.current && /* @__PURE__ */ o.jsx(
2345
2345
  An,
2346
2346
  {
2347
- position: l,
2347
+ position: c,
2348
2348
  show: f,
2349
2349
  ref: s,
2350
2350
  closeOverlay: h,
@@ -2362,15 +2362,15 @@ const ps = Rn.div`
2362
2362
  onClose: a,
2363
2363
  customAction: i,
2364
2364
  positionOverlay: s,
2365
- children: l
2365
+ children: c
2366
2366
  }) => {
2367
- const [c, d] = F(!1), [f, v] = F(!1), [g, h] = F(), p = (b, j) => {
2368
- b.stopPropagation(), a && a(j);
2369
- }, m = R(
2370
- (b, j) => {
2371
- if (b.stopPropagation(), f)
2367
+ const [l, d] = W(!1), [f, v] = W(!1), [g, h] = W(), p = (y, j) => {
2368
+ y.stopPropagation(), a && a(j);
2369
+ }, m = I(
2370
+ (y, j) => {
2371
+ if (y.stopPropagation(), f)
2372
2372
  return h(void 0), v(!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 }), v(!0)));
2373
+ y.target.closest(".qte") || y.target.closest(".card-action-menu button") || y.target.closest(".card-actions") || (d(!l), n && y.button !== 2 ? n(j) : (h({ top: y.clientY, left: y.clientX }), v(!0)));
2374
2374
  },
2375
2375
  [
2376
2376
  d,
@@ -2378,18 +2378,18 @@ const ps = Rn.div`
2378
2378
  n,
2379
2379
  f,
2380
2380
  v,
2381
- c
2381
+ l
2382
2382
  ]
2383
2383
  );
2384
2384
  return /* @__PURE__ */ o.jsxs(
2385
2385
  "div",
2386
2386
  {
2387
- onContextMenu: (b) => b.preventDefault(),
2388
- onMouseDown: (b) => m(b, e),
2389
- className: `card ${r ?? ""} ${c ? "card--active" : ""} `,
2387
+ onContextMenu: (y) => y.preventDefault(),
2388
+ onMouseDown: (y) => m(y, e),
2389
+ className: `card ${r ?? ""} ${l ? "card--active" : ""} `,
2390
2390
  children: [
2391
- l,
2392
- !l && /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
2391
+ c,
2392
+ !c && /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
2393
2393
  /* @__PURE__ */ o.jsxs("div", { className: "card-text d-flex", children: [
2394
2394
  e.image && /* @__PURE__ */ o.jsx("div", { className: "card-img", children: /* @__PURE__ */ o.jsx("img", { src: e.image, alt: "card-image" }) }),
2395
2395
  e.title && /* @__PURE__ */ o.jsx("div", { className: "card-title", children: e.title }),
@@ -2403,8 +2403,8 @@ const ps = Rn.div`
2403
2403
  "div",
2404
2404
  {
2405
2405
  className: "ml-2 cursor-pointer",
2406
- onClick: (b) => p(b, e),
2407
- children: /* @__PURE__ */ o.jsx(Y, { classIcon: "bi-trash3" })
2406
+ onClick: (y) => p(y, e),
2407
+ children: /* @__PURE__ */ o.jsx(V, { classIcon: "bi-trash3" })
2408
2408
  }
2409
2409
  ),
2410
2410
  t && /* @__PURE__ */ o.jsx(
@@ -2433,41 +2433,41 @@ const ps = Rn.div`
2433
2433
  xl: 5
2434
2434
  }
2435
2435
  }) => {
2436
- const [a, i] = F(0), s = e.length, [l, c] = F(1);
2437
- q(() => {
2436
+ const [a, i] = W(0), s = e.length, [c, l] = W(1);
2437
+ X(() => {
2438
2438
  const p = () => {
2439
2439
  const m = window.innerWidth;
2440
2440
  if (n.xl && m >= 1200)
2441
- return c(n.xl);
2441
+ return l(n.xl);
2442
2442
  if (n.lg && m >= 992)
2443
- return c(n.lg);
2443
+ return l(n.lg);
2444
2444
  if (n.md && m >= 768)
2445
- return c(n.md);
2445
+ return l(n.md);
2446
2446
  if (n.sm && m >= 576)
2447
- return c(n.sm);
2447
+ return l(n.sm);
2448
2448
  };
2449
2449
  return p(), window.addEventListener("resize", p), () => window.removeEventListener("resize", p);
2450
2450
  }, [n]);
2451
- const d = R(
2451
+ const d = I(
2452
2452
  (p) => {
2453
2453
  p.preventDefault(), i(
2454
- (m) => Math.min(m + r, s - l)
2454
+ (m) => Math.min(m + r, s - c)
2455
2455
  );
2456
2456
  },
2457
2457
  [i]
2458
- ), f = R(
2458
+ ), f = I(
2459
2459
  (p) => {
2460
2460
  p.preventDefault(), i((m) => Math.max(m - r, 0));
2461
2461
  },
2462
2462
  [i]
2463
- ), v = a + r >= s - l + 1, g = s <= l, h = a <= 0;
2463
+ ), v = a + r >= s - c + 1, g = s <= c, h = a <= 0;
2464
2464
  return /* @__PURE__ */ o.jsxs("div", { className: "carousel", children: [
2465
2465
  t && !g && /* @__PURE__ */ o.jsx(
2466
2466
  "div",
2467
2467
  {
2468
2468
  className: `carousel-control prev ${h && "disabled"}`,
2469
2469
  onClick: f,
2470
- children: /* @__PURE__ */ o.jsx(Y, { classIcon: "bi-chevron-left" })
2470
+ children: /* @__PURE__ */ o.jsx(V, { classIcon: "bi-chevron-left" })
2471
2471
  }
2472
2472
  ),
2473
2473
  /* @__PURE__ */ o.jsx("div", { className: "carousel-container", children: /* @__PURE__ */ o.jsx(
@@ -2476,7 +2476,7 @@ const ps = Rn.div`
2476
2476
  className: "carousel-slides-wrapper",
2477
2477
  style: {
2478
2478
  display: "flex",
2479
- transform: `translateX(-${a * 100 / l}%)`,
2479
+ transform: `translateX(-${a * 100 / c}%)`,
2480
2480
  transition: "transform 0.5s ease-in-out"
2481
2481
  },
2482
2482
  children: Ae.Children.map(e, (p) => /* @__PURE__ */ o.jsx(
@@ -2484,7 +2484,7 @@ const ps = Rn.div`
2484
2484
  {
2485
2485
  className: "carousel-slide",
2486
2486
  style: {
2487
- minWidth: `${100 / l}%`,
2487
+ minWidth: `${100 / c}%`,
2488
2488
  boxSizing: "border-box"
2489
2489
  },
2490
2490
  children: p
@@ -2497,7 +2497,7 @@ const ps = Rn.div`
2497
2497
  {
2498
2498
  className: `carousel-control next ${v && "disabled"}`,
2499
2499
  onClick: d,
2500
- children: /* @__PURE__ */ o.jsx(Y, { classIcon: "bi-chevron-right" })
2500
+ children: /* @__PURE__ */ o.jsx(V, { classIcon: "bi-chevron-right" })
2501
2501
  }
2502
2502
  )
2503
2503
  ] });
@@ -2513,20 +2513,20 @@ const ps = Rn.div`
2513
2513
  page: n = 1,
2514
2514
  onClick: a
2515
2515
  }) => {
2516
- const i = Re(() => e ?? 9, [e]), s = Re(() => Math.max(1, t ?? 9), [t]), [l, c] = F(1);
2517
- q(() => {
2518
- c(n);
2516
+ const i = Re(() => e ?? 9, [e]), s = Re(() => Math.max(1, t ?? 9), [t]), [c, l] = W(1);
2517
+ X(() => {
2518
+ l(n);
2519
2519
  }, [n]);
2520
2520
  const d = Re(() => {
2521
2521
  const v = [];
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, b = r == null ? void 0 : r.find(
2525
+ const m = p + g * i, y = r == null ? void 0 : r.find(
2526
2526
  (j) => j.position === m + 1
2527
2527
  );
2528
- b ? h.push(
2529
- /* @__PURE__ */ o.jsx(ys, { onClick: a, cell: b }, `${g}-${p}`)
2528
+ y ? h.push(
2529
+ /* @__PURE__ */ o.jsx(ys, { onClick: a, cell: y }, `${g}-${p}`)
2530
2530
  ) : h.push(
2531
2531
  /* @__PURE__ */ o.jsx("div", { className: "cell cell--empty" }, `${g}-${p}`)
2532
2532
  );
@@ -2536,7 +2536,7 @@ const ps = Rn.div`
2536
2536
  );
2537
2537
  }
2538
2538
  return v;
2539
- }, [i, s, l]), f = Re(
2539
+ }, [i, s, c]), f = Re(
2540
2540
  () => ({ "--rows": String(s) }),
2541
2541
  [s]
2542
2542
  );
@@ -2552,8 +2552,8 @@ const wr = Ue(
2552
2552
  onInvalid: a,
2553
2553
  placeholder: i,
2554
2554
  className: s,
2555
- inputMode: l,
2556
- minLength: c,
2555
+ inputMode: c,
2556
+ minLength: l,
2557
2557
  maxLength: d,
2558
2558
  autoFocus: f = !1,
2559
2559
  disabled: v = !1,
@@ -2561,22 +2561,22 @@ const wr = Ue(
2561
2561
  autoComplete: h,
2562
2562
  tabIndex: p = 0,
2563
2563
  step: m,
2564
- checked: b,
2564
+ checked: y,
2565
2565
  onChange: j,
2566
- onBlur: x,
2566
+ onBlur: b,
2567
2567
  onClick: _,
2568
2568
  handleKeyDown: S
2569
- }, D) => {
2570
- const [E, C] = F(!1);
2569
+ }, O) => {
2570
+ const [E, C] = W(!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: D,
2576
+ ref: O,
2577
2577
  id: e,
2578
2578
  name: t,
2579
- inputMode: l ?? (r === "number" ? "numeric" : "text"),
2579
+ inputMode: c ?? (r === "number" ? "numeric" : "text"),
2580
2580
  type: E ? Be.TEXT : r,
2581
2581
  spellCheck: "false",
2582
2582
  value: n,
@@ -2587,14 +2587,14 @@ const wr = Ue(
2587
2587
  step: m,
2588
2588
  tabIndex: p,
2589
2589
  autoFocus: f,
2590
- minLength: c,
2590
+ minLength: l,
2591
2591
  maxLength: d,
2592
2592
  onChange: j,
2593
- checked: b,
2593
+ checked: y,
2594
2594
  onKeyDown: S,
2595
- onBlur: x,
2596
- onClick: (W) => {
2597
- W.stopPropagation(), _ && _(W);
2595
+ onBlur: b,
2596
+ onClick: (F) => {
2597
+ F.stopPropagation(), _ && _(F);
2598
2598
  },
2599
2599
  className: `input-field ${s ?? ""}`,
2600
2600
  onInvalid: a
@@ -2605,7 +2605,7 @@ const wr = Ue(
2605
2605
  {
2606
2606
  onClick: () => C(!E),
2607
2607
  className: "input-password-icon",
2608
- children: /* @__PURE__ */ o.jsx(Y, { classIcon: E ? "bi-eye-slash" : "bi-eye" })
2608
+ children: /* @__PURE__ */ o.jsx(V, { classIcon: E ? "bi-eye-slash" : "bi-eye" })
2609
2609
  }
2610
2610
  )
2611
2611
  ] });
@@ -2646,7 +2646,7 @@ const pa = ({ display: e, full: t, message: r }) => /* @__PURE__ */ o.jsxs(o.Fra
2646
2646
  {
2647
2647
  className: "mr-2 ",
2648
2648
  onClick: () => e.onClick(t),
2649
- children: /* @__PURE__ */ o.jsx(Y, { classIcon: e.classIcon ?? "" }, e.id)
2649
+ children: /* @__PURE__ */ o.jsx(V, { classIcon: e.classIcon ?? "" }, e.id)
2650
2650
  },
2651
2651
  `icon-action-${e.id}-${r}`
2652
2652
  )
@@ -2687,20 +2687,20 @@ const pa = ({ display: e, full: t, message: r }) => /* @__PURE__ */ o.jsxs(o.Fra
2687
2687
  disabled: a,
2688
2688
  multiple: i = !1,
2689
2689
  required: s = !1,
2690
- defaultValue: l,
2691
- name: c,
2690
+ defaultValue: c,
2691
+ name: l,
2692
2692
  onChange: d,
2693
2693
  onChangeMultiple: f,
2694
2694
  value: v,
2695
2695
  placeholder: g
2696
2696
  }) => {
2697
- const h = re({}), p = (b) => {
2697
+ const h = re({}), p = (y) => {
2698
2698
  let j;
2699
2699
  i ? (j = Array.from(
2700
- b.target.selectedOptions,
2701
- (x) => x.value
2702
- ), f && f(j)) : (j = b.target.value, d && d(j));
2703
- }, m = R(() => {
2700
+ y.target.selectedOptions,
2701
+ (b) => b.value
2702
+ ), f && f(j)) : (j = y.target.value, d && d(j));
2703
+ }, m = I(() => {
2704
2704
  d && d("");
2705
2705
  }, [d]);
2706
2706
  return /* @__PURE__ */ o.jsxs("div", { id: e, className: `select-container ${n || ""}`, children: [
@@ -2710,17 +2710,17 @@ const pa = ({ display: e, full: t, message: r }) => /* @__PURE__ */ o.jsxs(o.Fra
2710
2710
  {
2711
2711
  defaultValue: "",
2712
2712
  required: s,
2713
- name: c,
2713
+ name: l,
2714
2714
  disabled: a,
2715
2715
  id: `select-${e}`,
2716
2716
  className: "select-container-select",
2717
- value: v ?? l ?? (i ? [] : ""),
2717
+ value: v ?? c ?? (i ? [] : ""),
2718
2718
  onChange: p,
2719
2719
  multiple: i,
2720
- ref: (b) => h.current[e ?? "select"] = b,
2720
+ ref: (y) => h.current[e ?? "select"] = y,
2721
2721
  children: [
2722
- g && !l && !i && /* @__PURE__ */ o.jsx("option", { selected: !0, disabled: !0, hidden: !0, value: "", children: g }),
2723
- r.map((b, j) => /* @__PURE__ */ o.jsx("option", { value: b.value, children: b.label }, j))
2722
+ g && !c && !i && /* @__PURE__ */ o.jsx("option", { selected: !0, disabled: !0, hidden: !0, value: "", children: g }),
2723
+ r.map((y, j) => /* @__PURE__ */ o.jsx("option", { value: y.value, children: y.label }, j))
2724
2724
  ]
2725
2725
  }
2726
2726
  ),
@@ -2730,15 +2730,17 @@ const pa = ({ display: e, full: t, message: r }) => /* @__PURE__ */ o.jsxs(o.Fra
2730
2730
  className: "clear-btn",
2731
2731
  onClick: m,
2732
2732
  "aria-label": "Réinitialiser",
2733
- children: /* @__PURE__ */ o.jsx(Y, { classIcon: "bi-x" })
2733
+ children: /* @__PURE__ */ o.jsx(V, { classIcon: "bi-x" })
2734
2734
  }
2735
2735
  )
2736
2736
  ] });
2737
2737
  }, js = ({ column: e, idx: t, row: r }) => {
2738
- const n = r[e.id], a = e.onRowStyle ? e.onRowStyle(r) : {};
2738
+ var s;
2739
+ const n = r[e.id], a = e.onRowStyle ? e.onRowStyle(r) : {}, i = ((s = e.onDisable) == null ? void 0 : s.call(e, r)) ?? !1;
2739
2740
  return /* @__PURE__ */ o.jsx(
2740
2741
  "td",
2741
2742
  {
2743
+ className: `${i ? "disabled" : ""}`,
2742
2744
  style: {
2743
2745
  minWidth: e.minWidth,
2744
2746
  textAlign: e.align || "left",
@@ -2746,13 +2748,20 @@ const pa = ({ display: e, full: t, message: r }) => /* @__PURE__ */ o.jsxs(o.Fra
2746
2748
  width: e.width,
2747
2749
  ...a
2748
2750
  },
2749
- children: e.editable ? e.type === "select" ? /* @__PURE__ */ o.jsx(
2751
+ children: e.type === "image" ? n ? /* @__PURE__ */ o.jsx(
2752
+ "img",
2753
+ {
2754
+ src: e.imageSrc ? e.imageSrc(r) : "",
2755
+ alt: e.imageAlt ? e.imageAlt(r) : "",
2756
+ style: e.imageStyle
2757
+ }
2758
+ ) : /* @__PURE__ */ o.jsx(V, { classIcon: "bi-image" }) : e.editable ? e.type === "select" ? /* @__PURE__ */ o.jsx(
2750
2759
  fo,
2751
2760
  {
2752
2761
  options: e.options ?? [],
2753
2762
  value: n,
2754
- onChange: (i) => {
2755
- e.onEdit && e.onEdit(i, r);
2763
+ onChange: (c) => {
2764
+ e.onEdit && e.onEdit(c, r);
2756
2765
  }
2757
2766
  }
2758
2767
  ) : /* @__PURE__ */ o.jsx(
@@ -2762,8 +2771,8 @@ const pa = ({ display: e, full: t, message: r }) => /* @__PURE__ */ o.jsxs(o.Fra
2762
2771
  value: n,
2763
2772
  step: "0.01",
2764
2773
  style: { textAlign: e.align || "left" },
2765
- onChange: (i) => {
2766
- e.onEdit && e.onEdit(i.target.value, r);
2774
+ onChange: (c) => {
2775
+ e.onEdit && e.onEdit(c.target.value, r);
2767
2776
  }
2768
2777
  }
2769
2778
  ) : e.format ? e.format(n) : n
@@ -2779,8 +2788,8 @@ function Bl(e) {
2779
2788
  children: a,
2780
2789
  element: i,
2781
2790
  data: s = [],
2782
- actions: l = [],
2783
- columns: c = [],
2791
+ actions: c = [],
2792
+ columns: l = [],
2784
2793
  loading: d,
2785
2794
  onRowClick: f,
2786
2795
  onColumnClick: v,
@@ -2788,55 +2797,58 @@ function Bl(e) {
2788
2797
  emptyMessage: h,
2789
2798
  hasMore: p,
2790
2799
  onSelectionChange: m,
2791
- hideToggleAll: b = !1,
2800
+ hideToggleAll: y = !1,
2792
2801
  limitSelect: j = void 0,
2793
- getRowId: x
2794
- } = e, _ = re(null), [S, D] = F(
2802
+ getRowId: b
2803
+ } = e, _ = re(null), [S, O] = W(
2795
2804
  /* @__PURE__ */ new Set()
2796
- ), E = R(() => {
2805
+ ), E = I((D) => D instanceof HTMLElement ? !!D.closest(
2806
+ "input,button,a,select,textarea,label,[role='button'],[role='checkbox'],[data-stop-row-click='true']"
2807
+ ) : !1, []), C = I(() => {
2797
2808
  if (S.size === s.length)
2798
- D(/* @__PURE__ */ new Set()), m == null || m([]);
2809
+ O(/* @__PURE__ */ new Set()), m == null || m([]);
2799
2810
  else {
2800
- let y = s.map(
2801
- (A) => x ? x(A) : A.id ?? A
2811
+ let D = s.map(
2812
+ (R) => b ? b(R) : R.id ?? R
2802
2813
  );
2803
- j && y.length > j && (y = y.slice(0, j));
2804
- const O = new Set(y);
2805
- D(O), m == null || m(
2814
+ j && D.length > j && (D = D.slice(0, j));
2815
+ const M = new Set(D);
2816
+ O(M), m == null || m(
2806
2817
  s.filter(
2807
- (A) => O.has(x ? x(A) : A.id ?? A)
2818
+ (R) => M.has(b ? b(R) : R.id ?? R)
2808
2819
  )
2809
2820
  );
2810
2821
  }
2811
- }, [s, m, j, x, S.size]), C = R(
2812
- (y, O) => {
2813
- y.stopPropagation(), f && (f == null || f(O));
2822
+ }, [s, m, j, b, S.size]), F = I(
2823
+ (D, M) => {
2824
+ var A, G;
2825
+ D.stopPropagation(), !(E(D.target) || typeof window < "u" && (G = (A = window.getSelection) == null ? void 0 : A.call(window)) != null && G.toString().trim()) && f && (f == null || f(M));
2814
2826
  },
2815
- [f]
2816
- ), W = R(
2817
- (y, O) => {
2818
- y.stopPropagation();
2819
- const A = x ? x(O) : O.id ?? O, $ = new Set(S);
2820
- if ($.has(A))
2821
- $.delete(A);
2827
+ [E, f]
2828
+ ), x = I(
2829
+ (D, M) => {
2830
+ D.stopPropagation();
2831
+ const R = b ? b(M) : M.id ?? M, A = new Set(S);
2832
+ if (A.has(R))
2833
+ A.delete(R);
2822
2834
  else {
2823
- if (j && $.size >= j)
2835
+ if (j && A.size >= j)
2824
2836
  return;
2825
- $.add(A);
2837
+ A.add(R);
2826
2838
  }
2827
- D($);
2828
- const L = s.filter(
2829
- (X) => $.has(x ? x(X) : X.id ?? X)
2839
+ O(A);
2840
+ const G = s.filter(
2841
+ (ie) => A.has(b ? b(ie) : ie.id ?? ie)
2830
2842
  );
2831
- m == null || m(L);
2843
+ m == null || m(G);
2832
2844
  },
2833
- [s, x, j, m, S]
2845
+ [s, b, j, m, S]
2834
2846
  );
2835
- return q(() => {
2847
+ return X(() => {
2836
2848
  if (!g || !p) return;
2837
- const y = new IntersectionObserver(
2838
- (O) => {
2839
- O[0].isIntersecting && g();
2849
+ const D = new IntersectionObserver(
2850
+ (M) => {
2851
+ M[0].isIntersecting && g();
2840
2852
  },
2841
2853
  {
2842
2854
  root: null,
@@ -2844,8 +2856,8 @@ function Bl(e) {
2844
2856
  threshold: 1
2845
2857
  }
2846
2858
  );
2847
- return _.current && y.observe(_.current), () => {
2848
- _.current && y.unobserve(_.current);
2859
+ return _.current && D.observe(_.current), () => {
2860
+ _.current && D.unobserve(_.current);
2849
2861
  };
2850
2862
  }, [g, p]), /* @__PURE__ */ o.jsxs("div", { className: "data-table-container", children: [
2851
2863
  r && /* @__PURE__ */ o.jsx("h2", { className: "mb-2", children: r }),
@@ -2855,7 +2867,7 @@ function Bl(e) {
2855
2867
  m && /* @__PURE__ */ o.jsx(
2856
2868
  "th",
2857
2869
  {
2858
- className: `select-cell ${b ? "hidden" : ""}`,
2870
+ className: `select-cell ${y ? "hidden" : ""}`,
2859
2871
  style: { width: "20px", textAlign: "center" },
2860
2872
  children: /* @__PURE__ */ o.jsx(
2861
2873
  wr,
@@ -2864,21 +2876,21 @@ function Bl(e) {
2864
2876
  name: `select-th-${t}`,
2865
2877
  type: Be.CHECKBOX,
2866
2878
  checked: s.length > 0 && S.size === s.length,
2867
- onChange: E
2879
+ onChange: C
2868
2880
  }
2869
2881
  )
2870
2882
  }
2871
2883
  ),
2872
- c.map((y, O) => /* @__PURE__ */ o.jsx(
2884
+ l.map((D, M) => /* @__PURE__ */ o.jsx(
2873
2885
  xs,
2874
2886
  {
2875
- column: y,
2876
- idx: O,
2887
+ column: D,
2888
+ idx: M,
2877
2889
  onColumnClick: v
2878
2890
  },
2879
- O
2891
+ M
2880
2892
  )),
2881
- l.length > 0 && /* @__PURE__ */ o.jsx(
2893
+ c.length > 0 && /* @__PURE__ */ o.jsx(
2882
2894
  "th",
2883
2895
  {
2884
2896
  style: {
@@ -2894,42 +2906,58 @@ function Bl(e) {
2894
2906
  "td",
2895
2907
  {
2896
2908
  align: "center",
2897
- colSpan: c.length + (l.length > 0 ? 1 : 0),
2909
+ colSpan: l.length + (c.length > 0 ? 1 : 0),
2898
2910
  children: /* @__PURE__ */ o.jsx("div", { className: "mt-3", children: /* @__PURE__ */ o.jsx(pa, { display: d }) })
2899
2911
  }
2900
2912
  ) }) : /* @__PURE__ */ o.jsx(o.Fragment, {}),
2901
- !d && s.map((y, O) => /* @__PURE__ */ o.jsxs("tr", { onClick: (A) => C == null ? void 0 : C(A, y), children: [
2902
- m && /* @__PURE__ */ o.jsx("td", { className: "select-cell", style: { textAlign: "center" }, children: /* @__PURE__ */ o.jsx(
2903
- wr,
2904
- {
2905
- id: `select-row-${O}`,
2906
- name: `select-row-${O}`,
2907
- type: Be.CHECKBOX,
2908
- disabled: j !== void 0 && S.size >= j && !S.has(
2909
- x ? x(y) : y.id ?? y
2910
- ),
2911
- checked: S.has(
2912
- x ? x(y) : y.id ?? y
2913
+ !d && s.map((D, M) => /* @__PURE__ */ o.jsxs(
2914
+ "tr",
2915
+ {
2916
+ className: M % 2 === 0 ? "even" : "odd",
2917
+ onClick: (R) => F == null ? void 0 : F(R, D),
2918
+ children: [
2919
+ m && /* @__PURE__ */ o.jsx(
2920
+ "td",
2921
+ {
2922
+ className: "select-cell",
2923
+ style: { textAlign: "center" },
2924
+ onClick: (R) => R.stopPropagation(),
2925
+ children: /* @__PURE__ */ o.jsx(
2926
+ wr,
2927
+ {
2928
+ id: `select-row-${M}`,
2929
+ name: `select-row-${M}`,
2930
+ type: Be.CHECKBOX,
2931
+ disabled: j !== void 0 && S.size >= j && !S.has(
2932
+ b ? b(D) : D.id ?? D
2933
+ ),
2934
+ checked: S.has(
2935
+ b ? b(D) : D.id ?? D
2936
+ ),
2937
+ onChange: (R) => x(R, D)
2938
+ }
2939
+ )
2940
+ }
2913
2941
  ),
2914
- onChange: (A) => W(A, y)
2915
- }
2916
- ) }),
2917
- c.map((A, $) => /* @__PURE__ */ o.jsx(js, { column: A, idx: $, row: y }, $)),
2918
- l.length > 0 && /* @__PURE__ */ o.jsx("td", { align: "right", children: /* @__PURE__ */ o.jsx("div", { className: "d-flex align-items-center justify-content-end", children: l.map((A, $) => /* @__PURE__ */ o.jsx(
2919
- bs,
2920
- {
2921
- action: A,
2922
- row: y,
2923
- index: $
2924
- },
2925
- $
2926
- )) }) })
2927
- ] }, O)),
2942
+ l.map((R, A) => /* @__PURE__ */ o.jsx(js, { column: R, idx: A, row: D }, A)),
2943
+ c.length > 0 && /* @__PURE__ */ o.jsx("td", { align: "right", onClick: (R) => R.stopPropagation(), children: /* @__PURE__ */ o.jsx("div", { className: "d-flex align-items-center justify-content-end", children: c.map((R, A) => /* @__PURE__ */ o.jsx(
2944
+ bs,
2945
+ {
2946
+ action: R,
2947
+ row: D,
2948
+ index: A
2949
+ },
2950
+ A
2951
+ )) }) })
2952
+ ]
2953
+ },
2954
+ M
2955
+ )),
2928
2956
  !d && s.length === 0 && /* @__PURE__ */ o.jsx(
2929
2957
  ws,
2930
2958
  {
2931
- columns: c,
2932
- actions: l,
2959
+ columns: l,
2960
+ actions: c,
2933
2961
  emptyMessage: h
2934
2962
  }
2935
2963
  )
@@ -2979,63 +3007,63 @@ var Ps = Cs, un = { exports: {} }, Ts = () => {
2979
3007
  }), e;
2980
3008
  };
2981
3009
  (function(e, t) {
2982
- var r = ar && ar.__awaiter || function(s, l, c, d) {
2983
- return new (c || (c = Promise))(function(f, v) {
3010
+ var r = ar && ar.__awaiter || function(s, c, l, d) {
3011
+ return new (l || (l = Promise))(function(f, v) {
2984
3012
  function g(m) {
2985
3013
  try {
2986
3014
  p(d.next(m));
2987
- } catch (b) {
2988
- v(b);
3015
+ } catch (y) {
3016
+ v(y);
2989
3017
  }
2990
3018
  }
2991
3019
  function h(m) {
2992
3020
  try {
2993
3021
  p(d.throw(m));
2994
- } catch (b) {
2995
- v(b);
3022
+ } catch (y) {
3023
+ v(y);
2996
3024
  }
2997
3025
  }
2998
3026
  function p(m) {
2999
- m.done ? f(m.value) : new c(function(b) {
3000
- b(m.value);
3027
+ m.done ? f(m.value) : new l(function(y) {
3028
+ y(m.value);
3001
3029
  }).then(g, h);
3002
3030
  }
3003
- p((d = d.apply(s, l || [])).next());
3031
+ p((d = d.apply(s, c || [])).next());
3004
3032
  });
3005
3033
  }, n = ar && ar.__importDefault || function(s) {
3006
3034
  return s && s.__esModule ? s : { default: s };
3007
3035
  };
3008
3036
  Object.defineProperty(t, "__esModule", { value: !0 });
3009
3037
  const a = n(Ts);
3010
- function i(s, l = "maxAge") {
3011
- let c, d, f;
3038
+ function i(s, c = "maxAge") {
3039
+ let l, d, f;
3012
3040
  const v = () => r(this, void 0, void 0, function* () {
3013
- if (c !== void 0)
3041
+ if (l !== void 0)
3014
3042
  return;
3015
3043
  const p = (m) => r(this, void 0, void 0, function* () {
3016
3044
  f = a.default();
3017
- const b = m[1][l] - Date.now();
3018
- if (b <= 0) {
3045
+ const y = m[1][c] - Date.now();
3046
+ if (y <= 0) {
3019
3047
  s.delete(m[0]), f.resolve();
3020
3048
  return;
3021
3049
  }
3022
- return c = m[0], d = setTimeout(() => {
3050
+ return l = m[0], d = setTimeout(() => {
3023
3051
  s.delete(m[0]), f && f.resolve();
3024
- }, b), typeof d.unref == "function" && d.unref(), f.promise;
3052
+ }, y), typeof d.unref == "function" && d.unref(), f.promise;
3025
3053
  });
3026
3054
  try {
3027
3055
  for (const m of s)
3028
3056
  yield p(m);
3029
3057
  } catch {
3030
3058
  }
3031
- c = void 0;
3059
+ l = void 0;
3032
3060
  }), g = () => {
3033
- c = void 0, d !== void 0 && (clearTimeout(d), d = void 0), f !== void 0 && (f.reject(void 0), f = void 0);
3061
+ l = void 0, d !== void 0 && (clearTimeout(d), d = void 0), f !== void 0 && (f.reject(void 0), f = void 0);
3034
3062
  }, h = s.set.bind(s);
3035
3063
  return s.set = (p, m) => {
3036
3064
  s.has(p) && s.delete(p);
3037
- const b = h(p, m);
3038
- return c && c === p && g(), v(), b;
3065
+ const y = h(p, m);
3066
+ return l && l === p && g(), v(), y;
3039
3067
  }, v(), s;
3040
3068
  }
3041
3069
  t.default = i, e.exports = i, e.exports.default = i;
@@ -3044,14 +3072,14 @@ var Rs = un.exports;
3044
3072
  const As = Ps, Is = Rs, Xr = /* @__PURE__ */ new WeakMap(), vo = /* @__PURE__ */ new WeakMap(), jr = (e, { cacheKey: t, cache: r = /* @__PURE__ */ new Map(), maxAge: n } = {}) => {
3045
3073
  typeof n == "number" && Is(r);
3046
3074
  const a = function(...i) {
3047
- const s = t ? t(i) : i[0], l = r.get(s);
3048
- if (l)
3049
- return l.data;
3050
- const c = e.apply(this, i);
3075
+ const s = t ? t(i) : i[0], c = r.get(s);
3076
+ if (c)
3077
+ return c.data;
3078
+ const l = e.apply(this, i);
3051
3079
  return r.set(s, {
3052
- data: c,
3080
+ data: l,
3053
3081
  maxAge: n ? Date.now() + n : Number.POSITIVE_INFINITY
3054
- }), c;
3082
+ }), l;
3055
3083
  };
3056
3084
  return As(a, e, {
3057
3085
  ignoreNonConfigurable: !0
@@ -3106,18 +3134,18 @@ function dn(e) {
3106
3134
  }
3107
3135
  if (e.indexOf("-") === -1 || !Fs(e))
3108
3136
  return e;
3109
- var a = e.split("-"), i = a[0], s = a[1], l = s === void 0 ? "" : s;
3110
- return "".concat(i, "-").concat(l.toUpperCase());
3137
+ var a = e.split("-"), i = a[0], s = a[1], c = s === void 0 ? "" : s;
3138
+ return "".concat(i, "-").concat(c.toUpperCase());
3111
3139
  }
3112
3140
  function Ws(e) {
3113
3141
  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
3142
  if (typeof navigator < "u") {
3115
- for (var l = navigator.languages || [], c = [], d = 0, f = l; d < f.length; d++) {
3143
+ for (var c = navigator.languages || [], l = [], d = 0, f = c; d < f.length; d++) {
3116
3144
  var v = f[d];
3117
- c = c.concat(ga(v));
3145
+ l = l.concat(ga(v));
3118
3146
  }
3119
3147
  var g = navigator.language, h = g && ga(g);
3120
- s = s.concat(c, h);
3148
+ s = s.concat(l, h);
3121
3149
  }
3122
3150
  return n && s.push(i), s.filter(Ms).map(dn).filter(Ls);
3123
3151
  }
@@ -3181,8 +3209,8 @@ var jo = Fe(Q, Dt, -1), Mn = Fe(Q, Dt, 1), Ar = Bt(Mn), So = Fe(Q, Ar, -1), zs =
3181
3209
  function Ln(e, t) {
3182
3210
  return function(n, a) {
3183
3211
  a === void 0 && (a = t);
3184
- var i = Q(n), s = ze(n) + a, l = /* @__PURE__ */ new Date();
3185
- return l.setFullYear(i, s, 1), l.setHours(0, 0, 0, 0), e(l);
3212
+ var i = Q(n), s = ze(n) + a, c = /* @__PURE__ */ new Date();
3213
+ return c.setFullYear(i, s, 1), c.setHours(0, 0, 0, 0), e(c);
3186
3214
  };
3187
3215
  }
3188
3216
  function at(e) {
@@ -3193,8 +3221,8 @@ var Do = Ln(at, -1), Fn = Ln(at, 1), zt = Bt(Fn), Oo = Ln(zt, -1), Gs = Ut(at, z
3193
3221
  function Hs(e, t) {
3194
3222
  return function(n, a) {
3195
3223
  a === void 0 && (a = t);
3196
- var i = Q(n), s = ze(n), l = Tr(n) + a, c = /* @__PURE__ */ new Date();
3197
- return c.setFullYear(i, s, l), c.setHours(0, 0, 0, 0), e(c);
3224
+ var i = Q(n), s = ze(n), c = Tr(n) + a, l = /* @__PURE__ */ new Date();
3225
+ return l.setFullYear(i, s, c), l.setHours(0, 0, 0, 0), e(l);
3198
3226
  };
3199
3227
  }
3200
3228
  function Gt(e) {
@@ -3205,7 +3233,7 @@ var qs = Hs(Gt, 1), Wn = Bt(qs), Xs = Ut(Gt, Wn);
3205
3233
  function No(e) {
3206
3234
  return Tr(zt(e));
3207
3235
  }
3208
- var de = {
3236
+ var fe = {
3209
3237
  GREGORY: "gregory",
3210
3238
  HEBREW: "hebrew",
3211
3239
  ISLAMIC: "islamic",
@@ -3282,15 +3310,15 @@ var Zs = { day: "numeric" }, ec = {
3282
3310
  year: "numeric"
3283
3311
  }, nc = { weekday: "short" }, ac = { weekday: "long" }, oc = { year: "numeric" }, ic = ot(Zs), sc = ot(ec), cc = ot(tc), Eo = ot(rc), lc = ot(nc), uc = ot(ac), Ir = ot(oc), dc = Vn[0], fc = Vn[5], ya = Vn[6];
3284
3312
  function Vt(e, t) {
3285
- t === void 0 && (t = de.ISO_8601);
3313
+ t === void 0 && (t = fe.ISO_8601);
3286
3314
  var r = e.getDay();
3287
3315
  switch (t) {
3288
- case de.ISO_8601:
3316
+ case fe.ISO_8601:
3289
3317
  return (r + 6) % 7;
3290
- case de.ISLAMIC:
3318
+ case fe.ISLAMIC:
3291
3319
  return (r + 1) % 7;
3292
- case de.HEBREW:
3293
- case de.GREGORY:
3320
+ case fe.HEBREW:
3321
+ case fe.GREGORY:
3294
3322
  return r;
3295
3323
  default:
3296
3324
  throw new Error("Unsupported calendar type.");
@@ -3305,15 +3333,15 @@ function vc(e) {
3305
3333
  return Q(t);
3306
3334
  }
3307
3335
  function fn(e, t) {
3308
- t === void 0 && (t = de.ISO_8601);
3336
+ t === void 0 && (t = fe.ISO_8601);
3309
3337
  var r = Q(e), n = ze(e), a = e.getDate() - Vt(e, t);
3310
3338
  return new Date(r, n, a);
3311
3339
  }
3312
3340
  function mc(e, t) {
3313
- t === void 0 && (t = de.ISO_8601);
3314
- var r = t === de.GREGORY ? de.GREGORY : de.ISO_8601, n = fn(e, t), a = Q(e) + 1, i, s;
3341
+ t === void 0 && (t = fe.ISO_8601);
3342
+ var r = t === fe.GREGORY ? fe.GREGORY : fe.ISO_8601, n = fn(e, t), a = Q(e) + 1, i, s;
3315
3343
  do
3316
- i = new Date(a, 0, r === de.ISO_8601 ? 4 : 1), s = fn(i, t), a -= 1;
3344
+ i = new Date(a, 0, r === fe.ISO_8601 ? 4 : 1), s = fn(i, t), a -= 1;
3317
3345
  while (e < s);
3318
3346
  return Math.round((n.getTime() - s.getTime()) / (864e5 * 7)) + 1;
3319
3347
  }
@@ -3464,14 +3492,14 @@ function Sc(e) {
3464
3492
  return e.getDay() === (/* @__PURE__ */ new Date()).getDay();
3465
3493
  }
3466
3494
  function To(e, t) {
3467
- t === void 0 && (t = de.ISO_8601);
3495
+ t === void 0 && (t = fe.ISO_8601);
3468
3496
  var r = e.getDay();
3469
3497
  switch (t) {
3470
- case de.ISLAMIC:
3471
- case de.HEBREW:
3498
+ case fe.ISLAMIC:
3499
+ case fe.HEBREW:
3472
3500
  return r === fc || r === ya;
3473
- case de.ISO_8601:
3474
- case de.GREGORY:
3501
+ case fe.ISO_8601:
3502
+ case fe.GREGORY:
3475
3503
  return r === ya || r === dc;
3476
3504
  default:
3477
3505
  throw new Error("Unsupported calendar type.");
@@ -3479,40 +3507,40 @@ function To(e, t) {
3479
3507
  }
3480
3508
  var Pe = "react-calendar__navigation";
3481
3509
  function Dc(e) {
3482
- var t = e.activeStartDate, r = e.drillUp, n = e.formatMonthYear, a = n === void 0 ? Eo : 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, b = e.next2Label, j = b === void 0 ? "»" : b, x = e.nextAriaLabel, _ = x === void 0 ? "" : x, S = e.nextLabel, D = S === void 0 ? "›" : S, E = e.prev2AriaLabel, C = E === void 0 ? "" : E, W = e.prev2Label, y = W === void 0 ? "«" : W, O = e.prevAriaLabel, A = O === void 0 ? "" : O, $ = e.prevLabel, L = $ === void 0 ? "‹" : $, X = e.setActiveStartDate, ve = e.showDoubleView, ne = e.view, xe = e.views, Ie = xe.indexOf(ne) > 0, ee = ne !== "century", K = pc(ne, t), ce = ee ? gc(ne, t) : void 0, Z = ko(ne, t), Se = ee ? yc(ne, t) : void 0, Ee = function() {
3510
+ var t = e.activeStartDate, r = e.drillUp, n = e.formatMonthYear, a = n === void 0 ? Eo : n, i = e.formatYear, s = i === void 0 ? Ir : i, c = e.locale, l = 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, y = e.next2Label, j = y === void 0 ? "»" : y, b = e.nextAriaLabel, _ = b === void 0 ? "" : b, S = e.nextLabel, O = S === void 0 ? "›" : S, E = e.prev2AriaLabel, C = E === void 0 ? "" : E, F = e.prev2Label, x = F === void 0 ? "«" : F, D = e.prevAriaLabel, M = D === void 0 ? "" : D, R = e.prevLabel, A = R === void 0 ? "‹" : R, G = e.setActiveStartDate, ie = e.showDoubleView, ne = e.view, xe = e.views, Ie = xe.indexOf(ne) > 0, ee = ne !== "century", K = pc(ne, t), le = ee ? gc(ne, t) : void 0, Z = ko(ne, t), Se = ee ? yc(ne, t) : void 0, Ee = function() {
3483
3511
  if (K.getFullYear() < 0)
3484
3512
  return !0;
3485
3513
  var te = bc(ne, t);
3486
3514
  return d && d >= te;
3487
3515
  }(), ke = ee && function() {
3488
- if (ce.getFullYear() < 0)
3516
+ if (le.getFullYear() < 0)
3489
3517
  return !0;
3490
3518
  var te = xc(ne, t);
3491
3519
  return d && d >= te;
3492
- }(), me = c && c < Z, pe = ee && c && c < Se;
3493
- function le() {
3494
- X(K, "prev");
3520
+ }(), me = l && l < Z, pe = ee && l && l < Se;
3521
+ function ue() {
3522
+ G(K, "prev");
3495
3523
  }
3496
3524
  function ae() {
3497
- X(ce, "prev2");
3525
+ G(le, "prev2");
3498
3526
  }
3499
3527
  function De() {
3500
- X(Z, "next");
3528
+ G(Z, "next");
3501
3529
  }
3502
3530
  function _e() {
3503
- X(Se, "next2");
3531
+ G(Se, "next2");
3504
3532
  }
3505
- function fe(te) {
3533
+ function he(te) {
3506
3534
  var Ce = function() {
3507
3535
  switch (ne) {
3508
3536
  case "century":
3509
- return jc(l, s, te);
3537
+ return jc(c, s, te);
3510
3538
  case "decade":
3511
- return Po(l, s, te);
3539
+ return Po(c, s, te);
3512
3540
  case "year":
3513
- return s(l, te);
3541
+ return s(c, te);
3514
3542
  case "month":
3515
- return a(l, te);
3543
+ return a(c, te);
3516
3544
  default:
3517
3545
  throw new Error("Invalid view: ".concat(ne, "."));
3518
3546
  }
@@ -3520,15 +3548,15 @@ function Dc(e) {
3520
3548
  return h ? h({
3521
3549
  date: te,
3522
3550
  label: Ce,
3523
- locale: l || po() || void 0,
3551
+ locale: c || po() || void 0,
3524
3552
  view: ne
3525
3553
  }) : Ce;
3526
3554
  }
3527
3555
  function Ot() {
3528
3556
  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] });
3557
+ 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: he(t) }), ie ? 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: he(Z) })] }) : null] });
3530
3558
  }
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: ae, type: "button", children: y }) : null, L !== null && o.jsx("button", { "aria-label": A, className: "".concat(Pe, "__arrow ").concat(Pe, "__prev-button"), disabled: Ee, onClick: le, type: "button", children: L }), Ot(), D !== null && o.jsx("button", { "aria-label": _, className: "".concat(Pe, "__arrow ").concat(Pe, "__next-button"), disabled: me, onClick: De, type: "button", children: D }), 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] });
3559
+ return o.jsxs("div", { className: Pe, children: [x !== null && ee ? o.jsx("button", { "aria-label": C, className: "".concat(Pe, "__arrow ").concat(Pe, "__prev2-button"), disabled: ke, onClick: ae, type: "button", children: x }) : null, A !== null && o.jsx("button", { "aria-label": M, className: "".concat(Pe, "__arrow ").concat(Pe, "__prev-button"), disabled: Ee, onClick: ue, type: "button", children: A }), Ot(), O !== null && o.jsx("button", { "aria-label": _, 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] });
3532
3560
  }
3533
3561
  var ft = function() {
3534
3562
  return ft = Object.assign || function(e) {
@@ -3550,8 +3578,8 @@ function xa(e) {
3550
3578
  return "".concat(e, "%");
3551
3579
  }
3552
3580
  function Yn(e) {
3553
- var t = e.children, r = e.className, n = e.count, a = e.direction, i = e.offset, s = e.style, l = e.wrap, c = Oc(e, ["children", "className", "count", "direction", "offset", "style", "wrap"]);
3554
- return o.jsx("div", ft({ className: r, style: ft({ display: "flex", flexDirection: a, flexWrap: l ? "wrap" : "nowrap" }, s) }, c, { children: zo.map(t, function(d, f) {
3581
+ var t = e.children, r = e.className, n = e.count, a = e.direction, i = e.offset, s = e.style, c = e.wrap, l = Oc(e, ["children", "className", "count", "direction", "offset", "style", "wrap"]);
3582
+ return o.jsx("div", ft({ className: r, style: ft({ display: "flex", flexDirection: a, flexWrap: c ? "wrap" : "nowrap" }, s) }, l, { children: zo.map(t, function(d, f) {
3555
3583
  var v = i && f === 0 ? xa(100 * i / n) : null;
3556
3584
  return Go(d, ft(ft({}, d.props), { style: {
3557
3585
  flexBasis: xa(100 / n),
@@ -3594,7 +3622,7 @@ function _c(e) {
3594
3622
  var t = e.value, r = e.date, n = e.hover, a = "react-calendar__tile", i = [a];
3595
3623
  if (!r)
3596
3624
  return i;
3597
- var s = /* @__PURE__ */ new Date(), l = function() {
3625
+ var s = /* @__PURE__ */ new Date(), c = function() {
3598
3626
  if (Array.isArray(r))
3599
3627
  return r;
3600
3628
  var h = e.dateType;
@@ -3602,9 +3630,9 @@ function _c(e) {
3602
3630
  throw new Error("dateType is required when date is not an array of two dates");
3603
3631
  return ba(h, r);
3604
3632
  }();
3605
- if (Yt(s, l) && i.push("".concat(a, "--now")), !t || !kc(t))
3633
+ if (Yt(s, c) && i.push("".concat(a, "--now")), !t || !kc(t))
3606
3634
  return i;
3607
- var c = function() {
3635
+ var l = function() {
3608
3636
  if (Array.isArray(t))
3609
3637
  return t;
3610
3638
  var h = e.valueType;
@@ -3612,41 +3640,41 @@ function _c(e) {
3612
3640
  throw new Error("valueType is required when value is not an array of two dates");
3613
3641
  return ba(h, t);
3614
3642
  }();
3615
- Ec(c, l) ? i.push("".concat(a, "--active")) : Ro(c, l) && i.push("".concat(a, "--hasActive"));
3616
- var d = wa(c, l, "".concat(a, "--range"));
3643
+ Ec(l, c) ? i.push("".concat(a, "--active")) : Ro(l, c) && i.push("".concat(a, "--hasActive"));
3644
+ var d = wa(l, c, "".concat(a, "--range"));
3617
3645
  i.push.apply(i, d);
3618
3646
  var f = Array.isArray(t) ? t : [t];
3619
3647
  if (n && f.length === 1) {
3620
- var v = n > c[0] ? [c[0], n] : [n, c[0]], g = wa(v, l, "".concat(a, "--hover"));
3648
+ var v = n > l[0] ? [l[0], n] : [n, l[0]], g = wa(v, c, "".concat(a, "--hover"));
3621
3649
  i.push.apply(i, g);
3622
3650
  }
3623
3651
  return i;
3624
3652
  }
3625
3653
  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 = [], b = f; b <= s; b += g) {
3627
- var j = a(b);
3654
+ for (var t = e.className, r = e.count, n = r === void 0 ? 3 : r, a = e.dateTransform, i = e.dateType, s = e.end, c = e.hover, l = e.offset, d = e.renderTile, f = e.start, v = e.step, g = v === void 0 ? 1 : v, h = e.value, p = e.valueType, m = [], y = f; y <= s; y += g) {
3655
+ var j = a(y);
3628
3656
  m.push(d({
3629
3657
  classes: _c({
3630
3658
  date: j,
3631
3659
  dateType: i,
3632
- hover: l,
3660
+ hover: c,
3633
3661
  value: h,
3634
3662
  valueType: p
3635
3663
  }),
3636
3664
  date: j
3637
3665
  }));
3638
3666
  }
3639
- return o.jsx(Yn, { className: t, count: n, offset: c, wrap: !0, children: m });
3667
+ return o.jsx(Yn, { className: t, count: n, offset: l, wrap: !0, children: m });
3640
3668
  }
3641
3669
  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, b = e.tileDisabled, j = e.view, x = Re(function() {
3670
+ var t = e.activeStartDate, r = e.children, n = e.classes, a = e.date, i = e.formatAbbr, s = e.locale, c = e.maxDate, l = e.maxDateTransform, d = e.minDate, f = e.minDateTransform, v = e.onClick, g = e.onMouseOver, h = e.style, p = e.tileClassName, m = e.tileContent, y = e.tileDisabled, j = e.view, b = Re(function() {
3643
3671
  var S = { activeStartDate: t, date: a, view: j };
3644
3672
  return typeof p == "function" ? p(S) : p;
3645
3673
  }, [t, a, p, j]), _ = Re(function() {
3646
3674
  var S = { activeStartDate: t, date: a, view: j };
3647
3675
  return typeof m == "function" ? m(S) : m;
3648
3676
  }, [t, a, m, 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: v ? function(S) {
3677
+ return o.jsxs("button", { className: Pr(n, b), disabled: d && f(d) > a || c && l(c) < a || (y == null ? void 0 : y({ activeStartDate: t, date: a, view: j })), onClick: v ? function(S) {
3650
3678
  return v(a, S);
3651
3679
  } : void 0, onFocus: g ? function() {
3652
3680
  return g(a);
@@ -3671,8 +3699,8 @@ var hn = function() {
3671
3699
  return r;
3672
3700
  }, ja = "react-calendar__century-view__decades__decade";
3673
3701
  function Pc(e) {
3674
- var t = e.classes, r = t === void 0 ? [] : t, n = e.currentCentury, a = e.formatYear, i = a === void 0 ? Ir : a, s = Cc(e, ["classes", "currentCentury", "formatYear"]), l = s.date, c = s.locale, d = [];
3675
- return r && d.push.apply(d, r), d.push(ja), St(l).getFullYear() !== n && d.push("".concat(ja, "--neighboringCentury")), o.jsx(Mr, hn({}, s, { classes: d, maxDateTransform: Rr, minDateTransform: Ge, view: "century", children: Po(c, i, l) }));
3702
+ var t = e.classes, r = t === void 0 ? [] : t, n = e.currentCentury, a = e.formatYear, i = a === void 0 ? Ir : a, s = Cc(e, ["classes", "currentCentury", "formatYear"]), c = s.date, l = s.locale, d = [];
3703
+ return r && d.push.apply(d, r), d.push(ja), St(c).getFullYear() !== n && d.push("".concat(ja, "--neighboringCentury")), o.jsx(Mr, hn({}, s, { classes: d, maxDateTransform: Rr, minDateTransform: Ge, view: "century", children: Po(l, i, c) }));
3676
3704
  }
3677
3705
  var vn = function() {
3678
3706
  return vn = Object.assign || function(e) {
@@ -3691,11 +3719,11 @@ var vn = function() {
3691
3719
  return r;
3692
3720
  };
3693
3721
  function Tc(e) {
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 = hc(t), c = l + (n ? 119 : 99);
3695
- return o.jsx($r, { className: "react-calendar__century-view__decades", dateTransform: Ge, dateType: "decade", end: c, hover: r, renderTile: function(d) {
3722
+ var t = e.activeStartDate, r = e.hover, n = e.showNeighboringCentury, a = e.value, i = e.valueType, s = Sa(e, ["activeStartDate", "hover", "showNeighboringCentury", "value", "valueType"]), c = hc(t), l = c + (n ? 119 : 99);
3723
+ return o.jsx($r, { className: "react-calendar__century-view__decades", dateTransform: Ge, dateType: "decade", end: l, hover: r, renderTile: function(d) {
3696
3724
  var f = d.date, v = Sa(d, ["date"]);
3697
- return o.jsx(Pc, vn({}, s, v, { activeStartDate: t, currentCentury: l, date: f }), f.getTime());
3698
- }, start: l, step: 10, value: a, valueType: i });
3725
+ return o.jsx(Pc, vn({}, s, v, { activeStartDate: t, currentCentury: c, date: f }), f.getTime());
3726
+ }, start: c, step: 10, value: a, valueType: i });
3699
3727
  }
3700
3728
  var mn = function() {
3701
3729
  return mn = Object.assign || function(e) {
@@ -3729,8 +3757,8 @@ var pn = function() {
3729
3757
  return r;
3730
3758
  }, Da = "react-calendar__decade-view__years__year";
3731
3759
  function Ic(e) {
3732
- var t = e.classes, r = t === void 0 ? [] : t, n = e.currentDecade, a = e.formatYear, i = a === void 0 ? Ir : a, s = Ac(e, ["classes", "currentDecade", "formatYear"]), l = s.date, c = s.locale, d = [];
3733
- return r && d.push.apply(d, r), d.push(Da), Ge(l).getFullYear() !== n && d.push("".concat(Da, "--neighboringDecade")), o.jsx(Mr, pn({}, s, { classes: d, maxDateTransform: Ar, minDateTransform: Dt, view: "decade", children: i(c, l) }));
3760
+ var t = e.classes, r = t === void 0 ? [] : t, n = e.currentDecade, a = e.formatYear, i = a === void 0 ? Ir : a, s = Ac(e, ["classes", "currentDecade", "formatYear"]), c = s.date, l = s.locale, d = [];
3761
+ return r && d.push.apply(d, r), d.push(Da), Ge(c).getFullYear() !== n && d.push("".concat(Da, "--neighboringDecade")), o.jsx(Mr, pn({}, s, { classes: d, maxDateTransform: Ar, minDateTransform: Dt, view: "decade", children: i(l, c) }));
3734
3762
  }
3735
3763
  var gn = function() {
3736
3764
  return gn = Object.assign || function(e) {
@@ -3749,11 +3777,11 @@ var gn = function() {
3749
3777
  return r;
3750
3778
  };
3751
3779
  function $c(e) {
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 = vc(t), c = l + (n ? 11 : 9);
3753
- return o.jsx($r, { className: "react-calendar__decade-view__years", dateTransform: Dt, dateType: "year", end: c, hover: r, renderTile: function(d) {
3780
+ var t = e.activeStartDate, r = e.hover, n = e.showNeighboringDecade, a = e.value, i = e.valueType, s = Oa(e, ["activeStartDate", "hover", "showNeighboringDecade", "value", "valueType"]), c = vc(t), l = c + (n ? 11 : 9);
3781
+ return o.jsx($r, { className: "react-calendar__decade-view__years", dateTransform: Dt, dateType: "year", end: l, hover: r, renderTile: function(d) {
3754
3782
  var f = d.date, v = Oa(d, ["date"]);
3755
- return o.jsx(Ic, gn({}, s, v, { activeStartDate: t, currentDecade: l, date: f }), f.getTime());
3756
- }, start: l, value: a, valueType: i });
3783
+ return o.jsx(Ic, gn({}, s, v, { activeStartDate: t, currentDecade: c, date: f }), f.getTime());
3784
+ }, start: c, value: a, valueType: i });
3757
3785
  }
3758
3786
  var yn = function() {
3759
3787
  return yn = Object.assign || function(e) {
@@ -3791,8 +3819,8 @@ var bn = function() {
3791
3819
  return e.concat(i || Array.prototype.slice.call(t));
3792
3820
  }, Fc = "react-calendar__year-view__months__month";
3793
3821
  function Wc(e) {
3794
- var t = e.classes, r = t === void 0 ? [] : t, n = e.formatMonth, a = n === void 0 ? cc : n, i = e.formatMonthYear, s = i === void 0 ? Eo : i, l = Lc(e, ["classes", "formatMonth", "formatMonthYear"]), c = l.date, d = l.locale;
3795
- return o.jsx(Mr, bn({}, l, { classes: Na(Na([], r, !0), [Fc], !1), formatAbbr: s, maxDateTransform: zt, minDateTransform: at, view: "year", children: a(d, c) }));
3822
+ var t = e.classes, r = t === void 0 ? [] : t, n = e.formatMonth, a = n === void 0 ? cc : n, i = e.formatMonthYear, s = i === void 0 ? Eo : i, c = Lc(e, ["classes", "formatMonth", "formatMonthYear"]), l = c.date, d = c.locale;
3823
+ return o.jsx(Mr, bn({}, c, { classes: Na(Na([], r, !0), [Fc], !1), formatAbbr: s, maxDateTransform: zt, minDateTransform: at, view: "year", children: a(d, l) }));
3796
3824
  }
3797
3825
  var xn = function() {
3798
3826
  return xn = Object.assign || function(e) {
@@ -3811,11 +3839,11 @@ var xn = function() {
3811
3839
  return r;
3812
3840
  };
3813
3841
  function Vc(e) {
3814
- var t = e.activeStartDate, r = e.hover, n = e.value, a = e.valueType, i = Ea(e, ["activeStartDate", "hover", "value", "valueType"]), s = 0, l = 11, c = Q(t);
3842
+ var t = e.activeStartDate, r = e.hover, n = e.value, a = e.valueType, i = Ea(e, ["activeStartDate", "hover", "value", "valueType"]), s = 0, c = 11, l = Q(t);
3815
3843
  return o.jsx($r, { className: "react-calendar__year-view__months", dateTransform: function(d) {
3816
3844
  var f = /* @__PURE__ */ new Date();
3817
- return f.setFullYear(c, d, 1), at(f);
3818
- }, dateType: "month", end: l, hover: r, renderTile: function(d) {
3845
+ return f.setFullYear(l, d, 1), at(f);
3846
+ }, dateType: "month", end: c, hover: r, renderTile: function(d) {
3819
3847
  var f = d.date, v = Ea(d, ["date"]);
3820
3848
  return o.jsx(Wc, xn({}, i, v, { activeStartDate: t, date: f }), f.getTime());
3821
3849
  }, start: s, value: n, valueType: a });
@@ -3852,8 +3880,8 @@ var jn = function() {
3852
3880
  return r;
3853
3881
  }, Jr = "react-calendar__month-view__days__day";
3854
3882
  function Uc(e) {
3855
- var t = e.calendarType, r = e.classes, n = r === void 0 ? [] : r, a = e.currentMonthIndex, i = e.formatDay, s = i === void 0 ? ic : i, l = e.formatLongDate, c = l === void 0 ? sc : l, d = Bc(e, ["calendarType", "classes", "currentMonthIndex", "formatDay", "formatLongDate"]), f = d.date, v = d.locale, g = [];
3856
- return n && g.push.apply(g, n), g.push(Jr), To(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) }));
3883
+ var t = e.calendarType, r = e.classes, n = r === void 0 ? [] : r, a = e.currentMonthIndex, i = e.formatDay, s = i === void 0 ? ic : i, c = e.formatLongDate, l = c === void 0 ? sc : c, d = Bc(e, ["calendarType", "classes", "currentMonthIndex", "formatDay", "formatLongDate"]), f = d.date, v = d.locale, g = [];
3884
+ return n && g.push.apply(g, n), g.push(Jr), To(f, t) && g.push("".concat(Jr, "--weekend")), f.getMonth() !== a && g.push("".concat(Jr, "--neighboringMonth")), o.jsx(Mr, jn({}, d, { classes: g, formatAbbr: l, maxDateTransform: Wn, minDateTransform: Gt, view: "month", children: s(v, f) }));
3857
3885
  }
3858
3886
  var Sn = function() {
3859
3887
  return Sn = Object.assign || function(e) {
@@ -3872,33 +3900,33 @@ var Sn = function() {
3872
3900
  return r;
3873
3901
  };
3874
3902
  function zc(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() {
3903
+ var t = e.activeStartDate, r = e.calendarType, n = e.hover, a = e.showFixedNumberOfWeeks, i = e.showNeighboringMonth, s = e.value, c = e.valueType, l = 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() {
3876
3904
  if (a)
3877
3905
  return p + 6 * 7 - 1;
3878
- var b = No(t);
3906
+ var y = No(t);
3879
3907
  if (i) {
3880
3908
  var j = /* @__PURE__ */ new Date();
3881
- j.setFullYear(d, f, b), j.setHours(0, 0, 0, 0);
3882
- var x = 7 - Vt(j, r) - 1;
3883
- return b + x;
3909
+ j.setFullYear(d, f, y), j.setHours(0, 0, 0, 0);
3910
+ var b = 7 - Vt(j, r) - 1;
3911
+ return y + b;
3884
3912
  }
3885
- return b;
3913
+ return y;
3886
3914
  }();
3887
- return o.jsx($r, { className: "react-calendar__month-view__days", count: 7, dateTransform: function(b) {
3915
+ return o.jsx($r, { className: "react-calendar__month-view__days", count: 7, dateTransform: function(y) {
3888
3916
  var j = /* @__PURE__ */ new Date();
3889
- return j.setFullYear(d, f, b), Gt(j);
3890
- }, dateType: "day", hover: n, end: m, renderTile: function(b) {
3891
- var j = b.date, x = ka(b, ["date"]);
3892
- return o.jsx(Uc, Sn({}, c, x, { activeStartDate: t, calendarType: r, currentMonthIndex: f, date: j }), j.getTime());
3893
- }, offset: h, start: p, value: s, valueType: l });
3917
+ return j.setFullYear(d, f, y), Gt(j);
3918
+ }, dateType: "day", hover: n, end: m, renderTile: function(y) {
3919
+ var j = y.date, b = ka(y, ["date"]);
3920
+ return o.jsx(Uc, Sn({}, l, b, { activeStartDate: t, calendarType: r, currentMonthIndex: f, date: j }), j.getTime());
3921
+ }, offset: h, start: p, value: s, valueType: c });
3894
3922
  }
3895
3923
  var Ao = "react-calendar__month-view__weekdays", Qr = "".concat(Ao, "__weekday");
3896
3924
  function Gc(e) {
3897
- for (var t = e.calendarType, r = e.formatShortWeekday, n = r === void 0 ? lc : r, a = e.formatWeekday, i = a === void 0 ? uc : 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) {
3925
+ for (var t = e.calendarType, r = e.formatShortWeekday, n = r === void 0 ? lc : r, a = e.formatWeekday, i = a === void 0 ? uc : a, s = e.locale, c = e.onMouseLeave, l = /* @__PURE__ */ new Date(), d = at(l), f = Q(d), v = ze(d), g = [], h = 1; h <= 7; h += 1) {
3898
3926
  var p = new Date(f, v, h - Vt(d, t)), m = i(s, p);
3899
3927
  g.push(o.jsx("div", { className: Pr(Qr, Sc(p) && "".concat(Qr, "--current"), To(p, t) && "".concat(Qr, "--weekend")), children: o.jsx("abbr", { "aria-label": m, title: m, children: n(s, p).replace(".", "") }) }, h));
3900
3928
  }
3901
- return o.jsx(Yn, { className: Ao, count: 7, onFocus: l, onMouseOver: l, children: g });
3929
+ return o.jsx(Yn, { className: Ao, count: 7, onFocus: c, onMouseOver: c, children: g });
3902
3930
  }
3903
3931
  var Sr = function() {
3904
3932
  return Sr = Object.assign || function(e) {
@@ -3919,14 +3947,14 @@ var Sr = function() {
3919
3947
  function Hc(e) {
3920
3948
  var t = e.onClickWeekNumber, r = e.weekNumber, n = o.jsx("span", { children: r });
3921
3949
  if (t) {
3922
- var a = e.date, i = e.onClickWeekNumber, s = e.weekNumber, l = _a(e, ["date", "onClickWeekNumber", "weekNumber"]);
3923
- return o.jsx("button", Sr({}, l, { className: Ca, onClick: function(c) {
3924
- return i(s, a, c);
3950
+ var a = e.date, i = e.onClickWeekNumber, s = e.weekNumber, c = _a(e, ["date", "onClickWeekNumber", "weekNumber"]);
3951
+ return o.jsx("button", Sr({}, c, { className: Ca, onClick: function(l) {
3952
+ return i(s, a, l);
3925
3953
  }, type: "button", children: n }));
3926
3954
  } else {
3927
3955
  e.date, e.onClickWeekNumber, e.weekNumber;
3928
- var l = _a(e, ["date", "onClickWeekNumber", "weekNumber"]);
3929
- return o.jsx("div", Sr({}, l, { className: Ca, children: n }));
3956
+ var c = _a(e, ["date", "onClickWeekNumber", "weekNumber"]);
3957
+ return o.jsx("div", Sr({}, c, { className: Ca, children: n }));
3930
3958
  }
3931
3959
  }
3932
3960
  function qc(e) {
@@ -3935,15 +3963,15 @@ function qc(e) {
3935
3963
  return 6;
3936
3964
  var d = No(t), f = Vt(t, r), v = d - (7 - f);
3937
3965
  return 1 + Math.ceil(v / 7);
3938
- }(), l = function() {
3966
+ }(), c = function() {
3939
3967
  for (var d = Q(t), f = ze(t), v = Tr(t), g = [], h = 0; h < s; h += 1)
3940
3968
  g.push(fn(new Date(d, f, v + h * 7), r));
3941
3969
  return g;
3942
- }(), c = l.map(function(d) {
3970
+ }(), l = c.map(function(d) {
3943
3971
  return mc(d, r);
3944
3972
  });
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];
3973
+ 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: l.map(function(d, f) {
3974
+ var v = c[f];
3947
3975
  if (!v)
3948
3976
  throw new Error("date is not defined");
3949
3977
  return o.jsx(Hc, { date: v, onClickWeekNumber: n, weekNumber: d }, d);
@@ -3972,12 +4000,12 @@ function Kc(e) {
3972
4000
  if (i.includes(e))
3973
4001
  return a;
3974
4002
  }
3975
- return de.ISO_8601;
4003
+ return fe.ISO_8601;
3976
4004
  }
3977
4005
  function Jc(e) {
3978
- var t = e.activeStartDate, r = e.locale, n = e.onMouseLeave, a = e.showFixedNumberOfWeeks, i = e.calendarType, s = i === void 0 ? Kc(r) : i, l = e.formatShortWeekday, c = e.formatWeekday, d = e.onClickWeekNumber, f = e.showWeekNumbers, v = Xc(e, ["calendarType", "formatShortWeekday", "formatWeekday", "onClickWeekNumber", "showWeekNumbers"]);
4006
+ var t = e.activeStartDate, r = e.locale, n = e.onMouseLeave, a = e.showFixedNumberOfWeeks, i = e.calendarType, s = i === void 0 ? Kc(r) : i, c = e.formatShortWeekday, l = e.formatWeekday, d = e.onClickWeekNumber, f = e.showWeekNumbers, v = Xc(e, ["calendarType", "formatShortWeekday", "formatWeekday", "onClickWeekNumber", "showWeekNumbers"]);
3979
4007
  function g() {
3980
- return o.jsx(Gc, { calendarType: s, formatShortWeekday: l, formatWeekday: c, locale: r, onMouseLeave: n });
4008
+ return o.jsx(Gc, { calendarType: s, formatShortWeekday: c, formatWeekday: l, locale: r, onMouseLeave: n });
3981
4009
  }
3982
4010
  function h() {
3983
4011
  return f ? o.jsx(qc, { activeStartDate: t, calendarType: s, onClickWeekNumber: d, onMouseLeave: n, showFixedNumberOfWeeks: a }) : null;
@@ -4036,17 +4064,17 @@ function Mo(e, t) {
4036
4064
  var r = e.value, n = e.minDate, a = e.maxDate, i = e.maxDetail, s = tl(r, t);
4037
4065
  if (!s)
4038
4066
  return null;
4039
- var l = $o(i), c = function() {
4067
+ var c = $o(i), l = function() {
4040
4068
  switch (t) {
4041
4069
  case 0:
4042
- return rt(l, s);
4070
+ return rt(c, s);
4043
4071
  case 1:
4044
- return _o(l, s);
4072
+ return _o(c, s);
4045
4073
  default:
4046
4074
  throw new Error("Invalid index value: ".concat(t));
4047
4075
  }
4048
4076
  }();
4049
- return Nc(c, n, a);
4077
+ return Nc(l, n, a);
4050
4078
  }
4051
4079
  var zn = function(e) {
4052
4080
  return Mo(e, 0);
@@ -4058,21 +4086,21 @@ var zn = function(e) {
4058
4086
  });
4059
4087
  };
4060
4088
  function Fo(e) {
4061
- var t = e.maxDate, r = e.maxDetail, n = e.minDate, a = e.minDetail, i = e.value, s = e.view, l = Un(s, a, r), c = zn({
4089
+ var t = e.maxDate, r = e.maxDetail, n = e.minDate, a = e.minDetail, i = e.value, s = e.view, c = Un(s, a, r), l = zn({
4062
4090
  value: i,
4063
4091
  minDate: n,
4064
4092
  maxDate: t,
4065
4093
  maxDetail: r
4066
4094
  }) || /* @__PURE__ */ new Date();
4067
- return rt(l, c);
4095
+ return rt(c, l);
4068
4096
  }
4069
4097
  function nl(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;
4098
+ var t = e.activeStartDate, r = e.defaultActiveStartDate, n = e.defaultValue, a = e.defaultView, i = e.maxDate, s = e.maxDetail, c = e.minDate, l = e.minDetail, d = e.value, f = e.view, v = Un(f, l, s), g = t || r;
4071
4099
  return g ? rt(v, g) : Fo({
4072
4100
  maxDate: i,
4073
4101
  maxDetail: s,
4074
- minDate: l,
4075
- minDetail: c,
4102
+ minDate: c,
4103
+ minDetail: l,
4076
4104
  value: d || n,
4077
4105
  view: f || a
4078
4106
  });
@@ -4084,27 +4112,27 @@ function ur(e, t) {
4084
4112
  return e instanceof Date && t instanceof Date && e.getTime() === t.getTime();
4085
4113
  }
4086
4114
  var al = 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, b = t.formatYear, j = t.goToRangeStartOnSelect, x = j === void 0 ? !0 : j, _ = t.inputRef, S = t.locale, D = t.maxDate, E = D === void 0 ? Zc : D, C = t.maxDetail, W = C === void 0 ? "month" : C, y = t.minDate, O = y === void 0 ? Bn : y, A = t.minDetail, $ = A === void 0 ? "century" : A, L = t.navigationAriaLabel, X = t.navigationAriaLive, ve = t.navigationLabel, ne = 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, ae = 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(k) {
4115
+ var n = t.activeStartDate, a = t.allowPartialRange, i = t.calendarType, s = t.className, c = t.defaultActiveStartDate, l = t.defaultValue, d = t.defaultView, f = t.formatDay, v = t.formatLongDate, g = t.formatMonth, h = t.formatMonthYear, p = t.formatShortWeekday, m = t.formatWeekday, y = t.formatYear, j = t.goToRangeStartOnSelect, b = j === void 0 ? !0 : j, _ = t.inputRef, S = t.locale, O = t.maxDate, E = O === void 0 ? Zc : O, C = t.maxDetail, F = C === void 0 ? "month" : C, x = t.minDate, D = x === void 0 ? Bn : x, M = t.minDetail, R = M === void 0 ? "century" : M, A = t.navigationAriaLabel, G = t.navigationAriaLive, ie = t.navigationLabel, ne = t.next2AriaLabel, xe = t.next2Label, Ie = t.nextAriaLabel, ee = t.nextLabel, K = t.onActiveStartDateChange, le = t.onChange, Z = t.onClickDay, Se = t.onClickDecade, Ee = t.onClickMonth, ke = t.onClickWeekNumber, me = t.onClickYear, pe = t.onDrillDown, ue = t.onDrillUp, ae = t.onViewChange, De = t.prev2AriaLabel, _e = t.prev2Label, he = t.prevAriaLabel, Ot = t.prevLabel, te = t.returnValue, Ce = te === void 0 ? "start" : te, se = 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 = W(c), Yr = Jt[0], st = Jt[1], Qt = W(null), Br = Qt[0], Zt = Qt[1], er = W(Array.isArray(l) ? l.map(function(k) {
4088
4116
  return k !== null ? Ft(k) : null;
4089
- }) : c != null ? Ft(c) : null), Xe = er[0], tr = er[1], $e = F(d), _t = $e[0], ct = $e[1], ue = n || Yr || nl({
4117
+ }) : l != null ? Ft(l) : null), Xe = er[0], tr = er[1], $e = W(d), _t = $e[0], ct = $e[1], de = n || Yr || nl({
4090
4118
  activeStartDate: n,
4091
- defaultActiveStartDate: l,
4092
- defaultValue: c,
4119
+ defaultActiveStartDate: c,
4120
+ defaultValue: l,
4093
4121
  defaultView: d,
4094
4122
  maxDate: E,
4095
- maxDetail: W,
4096
- minDate: O,
4097
- minDetail: $,
4123
+ maxDetail: F,
4124
+ minDate: D,
4125
+ minDetail: R,
4098
4126
  value: it,
4099
4127
  view: kt
4100
- }), he = function() {
4128
+ }), ve = function() {
4101
4129
  var k = function() {
4102
- return ie && Zr(Xe) ? Xe : it !== void 0 ? it : Xe;
4130
+ return se && Zr(Xe) ? Xe : it !== void 0 ? it : Xe;
4103
4131
  }();
4104
4132
  return k ? Array.isArray(k) ? k.map(function(P) {
4105
4133
  return P !== null ? Ft(P) : null;
4106
4134
  }) : k !== null ? Ft(k) : null : null;
4107
- }(), Ke = $o(W), G = Un(kt || _t, $, W), we = Io($, W), rr = ie ? Br : null, Ct = we.indexOf(G) < we.length - 1, nr = we.indexOf(G) > 0, Pt = R(function(k) {
4135
+ }(), Ke = $o(F), H = Un(kt || _t, R, F), we = Io(R, F), rr = se ? Br : null, Ct = we.indexOf(H) < we.length - 1, nr = we.indexOf(H) > 0, Pt = I(function(k) {
4108
4136
  var P = function() {
4109
4137
  switch (Ce) {
4110
4138
  case "start":
@@ -4119,22 +4147,22 @@ var al = Ue(function(t, r) {
4119
4147
  }();
4120
4148
  return P({
4121
4149
  maxDate: E,
4122
- maxDetail: W,
4123
- minDate: O,
4150
+ maxDetail: F,
4151
+ minDate: D,
4124
4152
  value: k
4125
4153
  });
4126
- }, [E, W, O, Ce]), lt = R(function(k, P) {
4154
+ }, [E, F, D, Ce]), lt = I(function(k, P) {
4127
4155
  st(k);
4128
4156
  var T = {
4129
4157
  action: P,
4130
4158
  activeStartDate: k,
4131
- value: he,
4132
- view: G
4159
+ value: ve,
4160
+ view: H
4133
4161
  };
4134
- K && !ur(ue, k) && K(T);
4135
- }, [ue, K, he, G]), ut = R(function(k, P) {
4162
+ K && !ur(de, k) && K(T);
4163
+ }, [de, K, ve, H]), ut = I(function(k, P) {
4136
4164
  var T = function() {
4137
- switch (G) {
4165
+ switch (H) {
4138
4166
  case "century":
4139
4167
  return Se;
4140
4168
  case "decade":
@@ -4144,123 +4172,123 @@ var al = Ue(function(t, r) {
4144
4172
  case "month":
4145
4173
  return Z;
4146
4174
  default:
4147
- throw new Error("Invalid view: ".concat(G, "."));
4175
+ throw new Error("Invalid view: ".concat(H, "."));
4148
4176
  }
4149
4177
  }();
4150
4178
  T && T(k, P);
4151
- }, [Z, Se, Ee, me, G]), Tt = R(function(k, P) {
4179
+ }, [Z, Se, Ee, me, H]), Tt = I(function(k, P) {
4152
4180
  if (Ct) {
4153
4181
  ut(k, P);
4154
- var T = we[we.indexOf(G) + 1];
4182
+ var T = we[we.indexOf(H) + 1];
4155
4183
  if (!T)
4156
4184
  throw new Error("Attempted to drill down from the lowest view.");
4157
4185
  st(k), ct(T);
4158
4186
  var z = {
4159
4187
  action: "drillDown",
4160
4188
  activeStartDate: k,
4161
- value: he,
4189
+ value: ve,
4162
4190
  view: T
4163
4191
  };
4164
- K && !ur(ue, k) && K(z), ae && G !== T && ae(z), pe && pe(z);
4192
+ K && !ur(de, k) && K(z), ae && H !== T && ae(z), pe && pe(z);
4165
4193
  }
4166
4194
  }, [
4167
- ue,
4195
+ de,
4168
4196
  Ct,
4169
4197
  K,
4170
4198
  ut,
4171
4199
  pe,
4172
4200
  ae,
4173
- he,
4174
- G,
4201
+ ve,
4202
+ H,
4175
4203
  we
4176
- ]), Rt = R(function() {
4204
+ ]), Rt = I(function() {
4177
4205
  if (nr) {
4178
- var k = we[we.indexOf(G) - 1];
4206
+ var k = we[we.indexOf(H) - 1];
4179
4207
  if (!k)
4180
4208
  throw new Error("Attempted to drill up from the highest view.");
4181
- var P = rt(k, ue);
4209
+ var P = rt(k, de);
4182
4210
  st(P), ct(k);
4183
4211
  var T = {
4184
4212
  action: "drillUp",
4185
4213
  activeStartDate: P,
4186
- value: he,
4214
+ value: ve,
4187
4215
  view: k
4188
4216
  };
4189
- K && !ur(ue, P) && K(T), ae && G !== k && ae(T), le && le(T);
4217
+ K && !ur(de, P) && K(T), ae && H !== k && ae(T), ue && ue(T);
4190
4218
  }
4191
4219
  }, [
4192
- ue,
4220
+ de,
4193
4221
  nr,
4194
4222
  K,
4195
- le,
4223
+ ue,
4196
4224
  ae,
4197
- he,
4198
- G,
4225
+ ve,
4226
+ H,
4199
4227
  we
4200
- ]), At = R(function(k, P) {
4201
- var T = he;
4228
+ ]), At = I(function(k, P) {
4229
+ var T = ve;
4202
4230
  ut(k, P);
4203
- var z = ie && !Zr(T), V;
4204
- if (ie)
4231
+ var z = se && !Zr(T), Y;
4232
+ if (se)
4205
4233
  if (z)
4206
- V = rt(Ke, k);
4234
+ Y = rt(Ke, k);
4207
4235
  else {
4208
4236
  if (!T)
4209
4237
  throw new Error("previousValue is required");
4210
4238
  if (Array.isArray(T))
4211
4239
  throw new Error("previousValue must not be an array");
4212
- V = wc(Ke, T, k);
4240
+ Y = wc(Ke, T, k);
4213
4241
  }
4214
4242
  else
4215
- V = Pt(k);
4243
+ Y = Pt(k);
4216
4244
  var J = (
4217
4245
  // Range selection turned off
4218
- !ie || // Range selection turned on, first value
4246
+ !se || // Range selection turned on, first value
4219
4247
  z || // Range selection turned on, second value, goToRangeStartOnSelect toggled on
4220
- x ? Fo({
4248
+ b ? Fo({
4221
4249
  maxDate: E,
4222
- maxDetail: W,
4223
- minDate: O,
4224
- minDetail: $,
4225
- value: V,
4226
- view: G
4250
+ maxDetail: F,
4251
+ minDate: D,
4252
+ minDetail: R,
4253
+ value: Y,
4254
+ view: H
4227
4255
  }) : null
4228
4256
  );
4229
- P.persist(), st(J), tr(V);
4257
+ P.persist(), st(J), tr(Y);
4230
4258
  var ge = {
4231
4259
  action: "onChange",
4232
4260
  activeStartDate: J,
4233
- value: V,
4234
- view: G
4261
+ value: Y,
4262
+ view: H
4235
4263
  };
4236
- if (K && !ur(ue, J) && K(ge), ce)
4237
- if (ie) {
4238
- var We = Zr(V);
4264
+ if (K && !ur(de, J) && K(ge), le)
4265
+ if (se) {
4266
+ var We = Zr(Y);
4239
4267
  if (!We)
4240
- ce(V || null, P);
4268
+ le(Y || null, P);
4241
4269
  else if (a) {
4242
- if (Array.isArray(V))
4270
+ if (Array.isArray(Y))
4243
4271
  throw new Error("value must not be an array");
4244
- ce([V || null, null], P);
4272
+ le([Y || null, null], P);
4245
4273
  }
4246
4274
  } else
4247
- ce(V || null, P);
4275
+ le(Y || null, P);
4248
4276
  }, [
4249
- ue,
4277
+ de,
4250
4278
  a,
4251
4279
  Pt,
4252
- x,
4280
+ b,
4253
4281
  E,
4254
- W,
4255
- O,
4256
- $,
4282
+ F,
4283
+ D,
4284
+ R,
4257
4285
  K,
4258
- ce,
4286
+ le,
4259
4287
  ut,
4260
- ie,
4261
- he,
4288
+ se,
4289
+ ve,
4262
4290
  Ke,
4263
- G
4291
+ H
4264
4292
  ]);
4265
4293
  function u(k) {
4266
4294
  Zt(k);
@@ -4270,48 +4298,48 @@ var al = Ue(function(t, r) {
4270
4298
  }
4271
4299
  Dr(r, function() {
4272
4300
  return {
4273
- activeStartDate: ue,
4301
+ activeStartDate: de,
4274
4302
  drillDown: Tt,
4275
4303
  drillUp: Rt,
4276
4304
  onChange: At,
4277
4305
  setActiveStartDate: lt,
4278
- value: he,
4279
- view: G
4306
+ value: ve,
4307
+ view: H
4280
4308
  };
4281
- }, [ue, Tt, Rt, At, lt, he, G]);
4309
+ }, [de, Tt, Rt, At, lt, ve, H]);
4282
4310
  function N(k) {
4283
- var P = k ? ko(G, ue) : rt(G, ue), T = Ct ? Tt : At, z = {
4311
+ var P = k ? ko(H, de) : rt(H, de), T = Ct ? Tt : At, z = {
4284
4312
  activeStartDate: P,
4285
4313
  hover: rr,
4286
4314
  locale: S,
4287
4315
  maxDate: E,
4288
- minDate: O,
4316
+ minDate: D,
4289
4317
  onClick: T,
4290
- onMouseOver: ie ? u : void 0,
4318
+ onMouseOver: se ? u : void 0,
4291
4319
  tileClassName: Xt,
4292
4320
  tileContent: Kt,
4293
4321
  tileDisabled: Vr,
4294
- value: he,
4322
+ value: ve,
4295
4323
  valueType: Ke
4296
4324
  };
4297
- switch (G) {
4325
+ switch (H) {
4298
4326
  case "century":
4299
- return o.jsx(Rc, ht({ formatYear: b, showNeighboringCentury: Fr }, z));
4327
+ return o.jsx(Rc, ht({ formatYear: y, showNeighboringCentury: Fr }, z));
4300
4328
  case "decade":
4301
- return o.jsx(Mc, ht({ formatYear: b, showNeighboringDecade: Et }, z));
4329
+ return o.jsx(Mc, ht({ formatYear: y, showNeighboringDecade: Et }, z));
4302
4330
  case "year":
4303
4331
  return o.jsx(Yc, ht({ formatMonth: g, formatMonthYear: h }, z));
4304
4332
  case "month":
4305
- return o.jsx(Jc, ht({ calendarType: i, formatDay: f, formatLongDate: v, formatShortWeekday: p, formatWeekday: m, onClickWeekNumber: ke, onMouseLeave: ie ? w : void 0, showFixedNumberOfWeeks: typeof Nt < "u" ? Nt : He, showNeighboringMonth: Wr, showWeekNumbers: qt }, z));
4333
+ return o.jsx(Jc, ht({ calendarType: i, formatDay: f, formatLongDate: v, formatShortWeekday: p, formatWeekday: m, onClickWeekNumber: ke, onMouseLeave: se ? w : void 0, showFixedNumberOfWeeks: typeof Nt < "u" ? Nt : He, showNeighboringMonth: Wr, showWeekNumbers: qt }, z));
4306
4334
  default:
4307
- throw new Error("Invalid view: ".concat(G, "."));
4335
+ throw new Error("Invalid view: ".concat(H, "."));
4308
4336
  }
4309
4337
  }
4310
- function I() {
4311
- return Lr ? o.jsx(Dc, { activeStartDate: ue, drillUp: Rt, formatMonthYear: h, formatYear: b, locale: S, maxDate: E, minDate: O, navigationAriaLabel: L, navigationAriaLive: X, navigationLabel: ve, next2AriaLabel: ne, next2Label: xe, nextAriaLabel: Ie, nextLabel: ee, prev2AriaLabel: De, prev2Label: _e, prevAriaLabel: fe, prevLabel: Ot, setActiveStartDate: lt, showDoubleView: He, view: G, views: we }) : null;
4338
+ function $() {
4339
+ return Lr ? o.jsx(Dc, { activeStartDate: de, drillUp: Rt, formatMonthYear: h, formatYear: y, locale: S, maxDate: E, minDate: D, navigationAriaLabel: A, navigationAriaLive: G, navigationLabel: ie, next2AriaLabel: ne, next2Label: xe, nextAriaLabel: Ie, nextLabel: ee, prev2AriaLabel: De, prev2Label: _e, prevAriaLabel: he, prevLabel: Ot, setActiveStartDate: lt, showDoubleView: He, view: H, views: we }) : null;
4312
4340
  }
4313
- var B = Array.isArray(he) ? he : [he];
4314
- return o.jsxs("div", { className: Pr(lr, ie && B.length === 1 && "".concat(lr, "--selectRange"), He && "".concat(lr, "--doubleView"), s), ref: _, children: [I(), o.jsxs("div", { className: "".concat(lr, "__viewContainer"), onBlur: ie ? w : void 0, onMouseLeave: ie ? w : void 0, children: [N(), He ? N(!0) : null] })] });
4341
+ var B = Array.isArray(ve) ? ve : [ve];
4342
+ return o.jsxs("div", { className: Pr(lr, se && B.length === 1 && "".concat(lr, "--selectRange"), He && "".concat(lr, "--doubleView"), s), ref: _, children: [$(), o.jsxs("div", { className: "".concat(lr, "__viewContainer"), onBlur: se ? w : void 0, onMouseLeave: se ? w : void 0, children: [N(), He ? N(!0) : null] })] });
4315
4343
  });
4316
4344
  const Ul = ({
4317
4345
  value: e,
@@ -4319,26 +4347,26 @@ const Ul = ({
4319
4347
  maxDate: r,
4320
4348
  children: n
4321
4349
  }) => {
4322
- const [a, i] = F(e ?? /* @__PURE__ */ new Date()), [s, l] = F(!1), c = re(null), d = R(
4350
+ const [a, i] = W(e ?? /* @__PURE__ */ new Date()), [s, c] = W(!1), l = re(null), d = I(
4323
4351
  (m) => {
4324
- i(m), t && t(m), l(!1);
4352
+ i(m), t && t(m), c(!1);
4325
4353
  },
4326
4354
  [t]
4327
- ), f = () => l(!s), v = R((m) => {
4328
- c.current && !c.current.contains(m.target) && l(!1);
4355
+ ), f = () => c(!s), v = I((m) => {
4356
+ l.current && !l.current.contains(m.target) && c(!1);
4329
4357
  }, []);
4330
- q(() => (s ? document.addEventListener("mousedown", v) : document.removeEventListener("mousedown", v), () => {
4358
+ X(() => (s ? document.addEventListener("mousedown", v) : document.removeEventListener("mousedown", v), () => {
4331
4359
  document.removeEventListener("mousedown", v);
4332
4360
  }), [s, v]);
4333
- const [g, h] = F(), p = ({
4361
+ const [g, h] = W(), p = ({
4334
4362
  activeStartDate: m
4335
4363
  }) => {
4336
4364
  h(m);
4337
4365
  };
4338
- return /* @__PURE__ */ o.jsx("div", { children: /* @__PURE__ */ o.jsxs("div", { className: "calendar", ref: c, children: [
4366
+ return /* @__PURE__ */ o.jsx("div", { children: /* @__PURE__ */ o.jsxs("div", { className: "calendar", ref: l, children: [
4339
4367
  n && /* @__PURE__ */ o.jsx("div", { onClick: f, children: n }),
4340
4368
  !n && /* @__PURE__ */ o.jsx("button", { className: "calendar-button", onClick: f, children: /* @__PURE__ */ o.jsx(
4341
- Y,
4369
+ V,
4342
4370
  {
4343
4371
  classIcon: " bi-calendar4-event",
4344
4372
  size: je.EXTRA_LARGE
@@ -4348,10 +4376,10 @@ const Ul = ({
4348
4376
  /* @__PURE__ */ o.jsx(
4349
4377
  "div",
4350
4378
  {
4351
- onClick: () => l(!1),
4379
+ onClick: () => c(!1),
4352
4380
  className: "calendar-popup-close",
4353
4381
  children: /* @__PURE__ */ o.jsx(
4354
- Y,
4382
+ V,
4355
4383
  {
4356
4384
  classIcon: "bi-x-lg close-icon",
4357
4385
  size: je.EXTRA_SMALL
@@ -4366,8 +4394,8 @@ const Ul = ({
4366
4394
  maxDate: r ?? /* @__PURE__ */ new Date(),
4367
4395
  onChange: d,
4368
4396
  value: a,
4369
- tileClassName: ({ date: m, view: b }) => {
4370
- if (b === "month" && g) {
4397
+ tileClassName: ({ date: m, view: y }) => {
4398
+ if (y === "month" && g) {
4371
4399
  const j = g;
4372
4400
  return m.getMonth() !== (j == null ? void 0 : j.getMonth()) ? "out-of-month" : null;
4373
4401
  }
@@ -4384,25 +4412,25 @@ const Ul = ({
4384
4412
  showArrow: n = !0,
4385
4413
  onChange: a
4386
4414
  }) => {
4387
- const [i, s] = F(!1);
4388
- q(() => {
4415
+ const [i, s] = W(!1);
4416
+ X(() => {
4389
4417
  t && e && e.id === t.id ? i || s(!0) : s(!1);
4390
4418
  }, [e, s, t]);
4391
- const l = R(
4392
- (c) => {
4393
- c.stopPropagation(), a && a(t);
4419
+ const c = I(
4420
+ (l) => {
4421
+ l.stopPropagation(), a && a(t);
4394
4422
  },
4395
4423
  [a, t]
4396
4424
  );
4397
4425
  return /* @__PURE__ */ o.jsxs(
4398
4426
  "div",
4399
4427
  {
4400
- onClick: l,
4428
+ onClick: c,
4401
4429
  className: `expand ${i ? "expand--active" : ""} ${r ?? ""}`,
4402
4430
  children: [
4403
4431
  /* @__PURE__ */ o.jsx("div", { className: "expand-header", children: /* @__PURE__ */ o.jsx("div", { className: "expand-header-content", children: /* @__PURE__ */ o.jsxs("div", { className: "expand-header-content-default", children: [
4404
- i && n && /* @__PURE__ */ o.jsx(Y, { classIcon: "bi bi-chevron-down mr-2" }),
4405
- !i && n && /* @__PURE__ */ o.jsx(Y, { classIcon: "bi bi-chevron-right mr-2" }),
4432
+ i && n && /* @__PURE__ */ o.jsx(V, { classIcon: "bi bi-chevron-down mr-2" }),
4433
+ !i && n && /* @__PURE__ */ o.jsx(V, { classIcon: "bi bi-chevron-right mr-2" }),
4406
4434
  /* @__PURE__ */ o.jsx("span", { className: "flex-1 expand-header-title-left", children: t.title }),
4407
4435
  t.description && /* @__PURE__ */ o.jsx("span", { className: "expand-header-title-right", children: t.description })
4408
4436
  ] }) }) }),
@@ -4415,13 +4443,13 @@ const Ul = ({
4415
4443
  }
4416
4444
  );
4417
4445
  }, zl = (e) => {
4418
- const [t, r] = F(), n = R(
4446
+ const [t, r] = W(), n = I(
4419
4447
  (a) => {
4420
4448
  e.onChange && e.onChange(a), r(a);
4421
4449
  },
4422
4450
  [r, e.onChange]
4423
4451
  );
4424
- return q(() => {
4452
+ return X(() => {
4425
4453
  r(e.currentItem);
4426
4454
  }, [e.currentItem, r, document.activeElement]), /* @__PURE__ */ o.jsx("div", { className: `expands ${e.className || ""}`, children: e.items.map((a) => /* @__PURE__ */ o.jsx(
4427
4455
  ol,
@@ -4439,7 +4467,7 @@ const Ul = ({
4439
4467
  currentFil: r,
4440
4468
  title: n
4441
4469
  }) => {
4442
- const a = R(
4470
+ const a = I(
4443
4471
  (i, s) => {
4444
4472
  s != null && s.url || i.preventDefault(), t && t(s);
4445
4473
  },
@@ -4460,7 +4488,7 @@ const Ul = ({
4460
4488
  "a",
4461
4489
  {
4462
4490
  href: i.url || "#",
4463
- onClick: (l) => a(l, i),
4491
+ onClick: (c) => a(c, i),
4464
4492
  children: i.title
4465
4493
  }
4466
4494
  ),
@@ -4478,16 +4506,16 @@ const Ul = ({
4478
4506
  width: a,
4479
4507
  className: i,
4480
4508
  onChange: s,
4481
- placeholder: l,
4482
- cols: c,
4509
+ placeholder: c,
4510
+ cols: l,
4483
4511
  rows: d,
4484
4512
  required: f = !1
4485
4513
  }) => {
4486
- const [v, g] = F(r);
4487
- q(() => {
4514
+ const [v, g] = W(r);
4515
+ X(() => {
4488
4516
  g(r);
4489
4517
  }, [r]);
4490
- const h = R(
4518
+ const h = I(
4491
4519
  (p) => {
4492
4520
  const m = p.target.value;
4493
4521
  g(m), s && s(m, e);
@@ -4504,8 +4532,8 @@ const Ul = ({
4504
4532
  disabled: n,
4505
4533
  value: v,
4506
4534
  onChange: h,
4507
- placeholder: l,
4508
- cols: c,
4535
+ placeholder: c,
4536
+ cols: l,
4509
4537
  rows: d,
4510
4538
  required: f
4511
4539
  }
@@ -4519,75 +4547,75 @@ const Ul = ({
4519
4547
  children: a,
4520
4548
  autoComplete: i,
4521
4549
  onChange: s,
4522
- hideSubmit: l,
4523
- disabledSubmit: c = !1,
4550
+ hideSubmit: c,
4551
+ disabledSubmit: l = !1,
4524
4552
  className: d
4525
4553
  }, f) => {
4526
- const [v, g] = F(c), [h, p] = F(() => {
4527
- const y = {};
4528
- return e.forEach((O) => {
4529
- y[O.name] = O.value ?? "";
4530
- }), y;
4531
- }), m = re({}), b = R(
4532
- (y, O) => {
4533
- const { name: A, type: $, checked: L, value: X } = y.target, ve = $ === "checkbox" ? L : X;
4534
- O.onChange && O.onChange(ve, A), p((ne) => {
4535
- const xe = { ...ne, [A]: ve };
4554
+ const [v, g] = W(l), [h, p] = W(() => {
4555
+ const x = {};
4556
+ return e.forEach((D) => {
4557
+ x[D.name] = D.value ?? "";
4558
+ }), x;
4559
+ }), m = re({}), y = I(
4560
+ (x, D) => {
4561
+ const { name: M, type: R, checked: A, value: G } = x.target, ie = R === "checkbox" ? A : G;
4562
+ D.onChange && D.onChange(ie, M), p((ne) => {
4563
+ const xe = { ...ne, [M]: ie };
4536
4564
  return s && s(xe), xe;
4537
4565
  });
4538
4566
  },
4539
4567
  [s]
4540
- ), j = R(
4541
- (y, O, A) => {
4542
- A.onChange && A.onChange(O, y), p(($) => {
4543
- const L = { ...$, [y]: O };
4544
- return s && s(L), L;
4568
+ ), j = I(
4569
+ (x, D, M) => {
4570
+ M.onChange && M.onChange(D, x), p((R) => {
4571
+ const A = { ...R, [x]: D };
4572
+ return s && s(A), A;
4545
4573
  });
4546
4574
  },
4547
4575
  [s]
4548
- ), x = R(
4549
- (y, O, A) => {
4550
- A.onChange && A.onChange(y, O), p(($) => {
4551
- const L = { ...$, [O]: y };
4552
- return s && s(L), L;
4576
+ ), b = I(
4577
+ (x, D, M) => {
4578
+ M.onChange && M.onChange(x, D), p((R) => {
4579
+ const A = { ...R, [D]: x };
4580
+ return s && s(A), A;
4553
4581
  });
4554
4582
  },
4555
4583
  [s]
4556
- ), _ = R(
4557
- (y) => {
4558
- y.preventDefault(), r && r(h);
4584
+ ), _ = I(
4585
+ (x) => {
4586
+ x.preventDefault(), r && r(h);
4559
4587
  },
4560
4588
  [r, h]
4561
4589
  ), S = () => {
4562
4590
  p(() => {
4563
- const y = {};
4564
- return e.forEach((O) => {
4565
- y[O.name] = O.value ?? "";
4566
- }), y;
4591
+ const x = {};
4592
+ return e.forEach((D) => {
4593
+ x[D.name] = D.value ?? "";
4594
+ }), x;
4567
4595
  });
4568
- }, D = R((y) => {
4569
- p((O) => ({
4570
- ...O,
4571
- [y]: ""
4596
+ }, O = I((x) => {
4597
+ p((D) => ({
4598
+ ...D,
4599
+ [x]: ""
4572
4600
  }));
4573
4601
  }, []), E = () => {
4574
- const y = e.find((O) => O.focus);
4575
- y && m.current[y.name] && setTimeout(() => {
4576
- var O;
4577
- (O = m.current[y.name]) == null || O.select();
4602
+ const x = e.find((D) => D.focus);
4603
+ x && m.current[x.name] && setTimeout(() => {
4604
+ var D;
4605
+ (D = m.current[x.name]) == null || D.select();
4578
4606
  }, 500);
4579
- }, C = () => h, W = (y) => {
4580
- p((O) => ({
4581
- ...O,
4582
- ...y
4607
+ }, C = () => h, F = (x) => {
4608
+ p((D) => ({
4609
+ ...D,
4610
+ ...x
4583
4611
  }));
4584
4612
  };
4585
4613
  return Dr(f, () => ({
4586
4614
  resetForm: S,
4587
- clearInput: D,
4615
+ clearInput: O,
4588
4616
  focusInitialElement: E,
4589
4617
  getValues: C,
4590
- updateFormValue: W,
4618
+ updateFormValue: F,
4591
4619
  setBtnDisabledSubmit: g
4592
4620
  })), /* @__PURE__ */ o.jsxs(
4593
4621
  "form",
@@ -4597,71 +4625,71 @@ const Ul = ({
4597
4625
  className: d ?? "",
4598
4626
  children: [
4599
4627
  /* @__PURE__ */ o.jsxs("div", { className: "form-content", children: [
4600
- e.map((y, O) => {
4601
- const A = y.onRequired ? y.onRequired(y.value) : y.required ?? !1, $ = y.onDisabled ? y.onDisabled(y.value) : y.disabled ?? !1;
4628
+ e.map((x, D) => {
4629
+ const M = x.onRequired ? x.onRequired(x.value) : x.required ?? !1, R = x.onDisabled ? x.onDisabled(x.value) : x.disabled ?? !1;
4602
4630
  return /* @__PURE__ */ o.jsxs(
4603
4631
  "div",
4604
4632
  {
4605
- className: `d-flex flex-column ${y.className ?? ""} form-group form-group-${y.type}`,
4633
+ className: `d-flex flex-column ${x.className ?? ""} form-group form-group-${x.type}`,
4606
4634
  children: [
4607
- y.label && /* @__PURE__ */ o.jsx("label", { children: y.label }),
4608
- y.icon && /* @__PURE__ */ o.jsx(Y, { classIcon: y.icon }),
4609
- y.type === "select" ? /* @__PURE__ */ o.jsx(
4635
+ x.label && /* @__PURE__ */ o.jsx("label", { children: x.label }),
4636
+ x.icon && /* @__PURE__ */ o.jsx(V, { classIcon: x.icon }),
4637
+ x.type === "select" ? /* @__PURE__ */ o.jsx(
4610
4638
  fo,
4611
4639
  {
4612
- id: y.id ?? y.name,
4640
+ id: x.id ?? x.name,
4613
4641
  label: void 0,
4614
- name: y.name,
4615
- options: y.options ?? [],
4616
- disabled: $,
4617
- multiple: y.multiple,
4618
- value: h[y.name],
4619
- required: A,
4620
- defaultValue: y.value,
4621
- placeholder: y.placeholder,
4622
- onChangeMultiple: (L) => x(L, y.name, y),
4623
- onChange: (L) => x(L, y.name, y)
4642
+ name: x.name,
4643
+ options: x.options ?? [],
4644
+ disabled: R,
4645
+ multiple: x.multiple,
4646
+ value: h[x.name],
4647
+ required: M,
4648
+ defaultValue: x.value,
4649
+ placeholder: x.placeholder,
4650
+ onChangeMultiple: (A) => b(A, x.name, x),
4651
+ onChange: (A) => b(A, x.name, x)
4624
4652
  }
4625
- ) : y.type === "textarea" ? /* @__PURE__ */ o.jsx(
4653
+ ) : x.type === "textarea" ? /* @__PURE__ */ o.jsx(
4626
4654
  il,
4627
4655
  {
4628
- id: y.id ?? y.name,
4629
- name: y.name,
4656
+ id: x.id ?? x.name,
4657
+ name: x.name,
4630
4658
  className: "textarea-input",
4631
- placeholder: y.placeholder ?? "",
4632
- disabled: $,
4633
- required: A,
4634
- value: h[y.name],
4635
- onChange: (L, X) => j(X, L, y)
4659
+ placeholder: x.placeholder ?? "",
4660
+ disabled: R,
4661
+ required: M,
4662
+ value: h[x.name],
4663
+ onChange: (A, G) => j(G, A, x)
4636
4664
  }
4637
4665
  ) : /* @__PURE__ */ o.jsx(
4638
4666
  wr,
4639
4667
  {
4640
- id: y.id ?? y.name,
4641
- ref: (L) => m.current[y.name] = L,
4642
- name: y.name,
4643
- type: y.type,
4644
- placeholder: y.placeholder ?? "",
4645
- autoComplete: y.autoComplete,
4668
+ id: x.id ?? x.name,
4669
+ ref: (A) => m.current[x.name] = A,
4670
+ name: x.name,
4671
+ type: x.type,
4672
+ placeholder: x.placeholder ?? "",
4673
+ autoComplete: x.autoComplete,
4646
4674
  tabIndex: 0,
4647
- disabled: $,
4648
- autoFocus: y.focus ?? !1,
4649
- required: A,
4650
- step: y.step ?? "0.01",
4651
- value: h[y.name],
4652
- checked: y.type === "checkbox" ? !!h[y.name] : void 0,
4653
- onChange: (L) => b(L, y),
4654
- onInvalid: y.onInvalid ? y.onInvalid : void 0
4675
+ disabled: R,
4676
+ autoFocus: x.focus ?? !1,
4677
+ required: M,
4678
+ step: x.step ?? "0.01",
4679
+ value: h[x.name],
4680
+ checked: x.type === "checkbox" ? !!h[x.name] : void 0,
4681
+ onChange: (A) => y(A, x),
4682
+ onInvalid: x.onInvalid ? x.onInvalid : void 0
4655
4683
  }
4656
4684
  )
4657
4685
  ]
4658
4686
  },
4659
- O
4687
+ D
4660
4688
  );
4661
4689
  }),
4662
4690
  a
4663
4691
  ] }),
4664
- /* @__PURE__ */ o.jsx("div", { className: "d-flex justify-content-end form-footer", children: !l && /* @__PURE__ */ o.jsx(
4692
+ /* @__PURE__ */ o.jsx("div", { className: "d-flex justify-content-end form-footer", children: !c && /* @__PURE__ */ o.jsx(
4665
4693
  xt,
4666
4694
  {
4667
4695
  id: `button-${n}`,
@@ -4682,8 +4710,8 @@ const Ul = ({
4682
4710
  className: a,
4683
4711
  disabled: i = !1,
4684
4712
  required: s = !1,
4685
- autoFocus: l = !1,
4686
- maxLength: c = 10,
4713
+ autoFocus: c = !1,
4714
+ maxLength: l = 10,
4687
4715
  autoComplete: d = "off",
4688
4716
  tabIndex: f = 0,
4689
4717
  inputMode: v = "numeric",
@@ -4691,28 +4719,28 @@ const Ul = ({
4691
4719
  onChange: h,
4692
4720
  onBlur: p,
4693
4721
  onClick: m,
4694
- onKeyDown: b,
4722
+ onKeyDown: y,
4695
4723
  onFocus: j
4696
- }, x) => {
4697
- const _ = R(
4698
- (D) => {
4699
- let E = D.target.value.replace(",", ".");
4700
- !/^-?\d*[.,]?\d*$/.test(E) && E !== "" || c && E.length > c || h == null || h(D, E);
4724
+ }, b) => {
4725
+ const _ = I(
4726
+ (O) => {
4727
+ let E = O.target.value.replace(",", ".");
4728
+ !/^-?\d*[.,]?\d*$/.test(E) && E !== "" || l && E.length > l || h == null || h(O, E);
4701
4729
  },
4702
- [h, c]
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();
4730
+ [h, l]
4731
+ ), S = (O) => {
4732
+ if (y && y(O), !(/[0-9]|Backspace|Delete|ArrowLeft|ArrowRight|Tab|Enter|Home|End/.test(
4733
+ O.key
4734
+ ) || O.key === "." || O.key === "," || O.key === "-")) {
4735
+ O.preventDefault();
4708
4736
  return;
4709
4737
  }
4710
- D.key === "-" && ((D.target.selectionStart ?? 0) !== 0 || r.includes("-")) && D.preventDefault();
4738
+ O.key === "-" && ((O.target.selectionStart ?? 0) !== 0 || r.includes("-")) && O.preventDefault();
4711
4739
  };
4712
4740
  return /* @__PURE__ */ o.jsx("div", { className: "input-container input-container-number", children: /* @__PURE__ */ o.jsx(
4713
4741
  "input",
4714
4742
  {
4715
- ref: x,
4743
+ ref: b,
4716
4744
  id: e,
4717
4745
  name: t,
4718
4746
  type: Be.TEXT,
@@ -4720,7 +4748,7 @@ const Ul = ({
4720
4748
  placeholder: n,
4721
4749
  disabled: i,
4722
4750
  required: s,
4723
- autoFocus: l,
4751
+ autoFocus: c,
4724
4752
  autoComplete: d,
4725
4753
  pattern: g,
4726
4754
  tabIndex: f,
@@ -4728,12 +4756,12 @@ const Ul = ({
4728
4756
  spellCheck: "false",
4729
4757
  className: `input-field ${a ?? ""}`,
4730
4758
  onChange: _,
4731
- onWheel: (D) => D.currentTarget.blur(),
4759
+ onWheel: (O) => O.currentTarget.blur(),
4732
4760
  onKeyDown: S,
4733
4761
  onFocus: j,
4734
4762
  onBlur: p,
4735
- onClick: (D) => {
4736
- D.stopPropagation(), m == null || m(D);
4763
+ onClick: (O) => {
4764
+ O.stopPropagation(), m == null || m(O);
4737
4765
  }
4738
4766
  }
4739
4767
  ) });
@@ -4749,10 +4777,10 @@ const Hl = Ue(
4749
4777
  onChange: a,
4750
4778
  ...i
4751
4779
  }, s) => {
4752
- const l = R(() => {
4780
+ const c = I(() => {
4753
4781
  if (a) {
4754
- let c = e.replace(",", ".");
4755
- a(parseFloat(c || "0").toFixed(2));
4782
+ let l = e.replace(",", ".");
4783
+ a(parseFloat(l || "0").toFixed(2));
4756
4784
  }
4757
4785
  }, [a, e]);
4758
4786
  return /* @__PURE__ */ o.jsx(
@@ -4763,8 +4791,8 @@ const Hl = Ue(
4763
4791
  pattern: "[0-9]*[.,]?[0-9]*",
4764
4792
  inputMode: "decimal",
4765
4793
  value: e ?? "",
4766
- onChange: (c) => a == null ? void 0 : a(c.target.value),
4767
- onBlur: l
4794
+ onChange: (l) => a == null ? void 0 : a(l.target.value),
4795
+ onBlur: c
4768
4796
  }
4769
4797
  );
4770
4798
  }
@@ -4802,16 +4830,16 @@ const Hl = Ue(
4802
4830
  positionFixed: a,
4803
4831
  onClickLogo: i,
4804
4832
  showBackNavigation: s,
4805
- onClickBackNavigation: l
4833
+ onClickBackNavigation: c
4806
4834
  }) => {
4807
- const c = re(null), [d, f] = F(!1), v = R(() => {
4835
+ const l = re(null), [d, f] = W(!1), v = I(() => {
4808
4836
  f(!d);
4809
4837
  }, [d, f]);
4810
4838
  return /* @__PURE__ */ o.jsxs("div", { className: `header ${a ? "header--fixed" : ""}`, children: [
4811
4839
  /* @__PURE__ */ o.jsxs("div", { className: "flex-1 d-flex align-items-center", children: [
4812
- /* @__PURE__ */ o.jsx("span", { onClick: r, children: /* @__PURE__ */ o.jsx(Y, { size: je.MEDIUM, classIcon: "bi-list" }) }),
4813
- s && /* @__PURE__ */ o.jsx("span", { className: "chevron-back", onClick: l, children: /* @__PURE__ */ o.jsx(
4814
- Y,
4840
+ /* @__PURE__ */ o.jsx("span", { onClick: r, children: /* @__PURE__ */ o.jsx(V, { size: je.MEDIUM, classIcon: "bi-list" }) }),
4841
+ s && /* @__PURE__ */ o.jsx("span", { className: "chevron-back", onClick: c, children: /* @__PURE__ */ o.jsx(
4842
+ V,
4815
4843
  {
4816
4844
  size: je.EXTRA_SMALL,
4817
4845
  classIcon: "bi-caret-left-fill"
@@ -4828,14 +4856,14 @@ const Hl = Ue(
4828
4856
  ] }),
4829
4857
  /* @__PURE__ */ o.jsxs("div", { className: "d-flex align-items-center", children: [
4830
4858
  e,
4831
- /* @__PURE__ */ o.jsx("div", { ref: c, onClick: v, children: /* @__PURE__ */ o.jsx(Y, { size: je.MEDIUM, classIcon: "bi-person-circle" }) }),
4832
- d && c.current && /* @__PURE__ */ o.jsx(
4859
+ /* @__PURE__ */ o.jsx("div", { ref: l, onClick: v, children: /* @__PURE__ */ o.jsx(V, { size: je.MEDIUM, classIcon: "bi-person-circle" }) }),
4860
+ d && l.current && /* @__PURE__ */ o.jsx(
4833
4861
  An,
4834
4862
  {
4835
4863
  position: "bottomRight",
4836
4864
  show: d,
4837
4865
  closeOverlay: f,
4838
- referenceElement: c.current,
4866
+ referenceElement: l.current,
4839
4867
  children: n
4840
4868
  }
4841
4869
  )
@@ -4857,7 +4885,7 @@ const Hl = Ue(
4857
4885
  }
4858
4886
  }, [t]);
4859
4887
  return /* @__PURE__ */ o.jsxs("div", { className: `message message--${t} ${r ?? ""}`, children: [
4860
- /* @__PURE__ */ o.jsx(Y, { classIcon: n }),
4888
+ /* @__PURE__ */ o.jsx(V, { classIcon: n }),
4861
4889
  /* @__PURE__ */ o.jsx("span", { className: "message-text", children: e })
4862
4890
  ] });
4863
4891
  }, Jl = ({
@@ -4868,24 +4896,24 @@ const Hl = Ue(
4868
4896
  titleButton: a,
4869
4897
  title: i,
4870
4898
  styleContainer: s = {},
4871
- classNameContainer: l = "",
4872
- closeOnOverlayClick: c = !0
4899
+ classNameContainer: c = "",
4900
+ closeOnOverlayClick: l = !0
4873
4901
  }) => {
4874
4902
  if (!e) return null;
4875
4903
  const d = () => {
4876
- c && t();
4904
+ l && t();
4877
4905
  };
4878
4906
  return Ia(
4879
4907
  /* @__PURE__ */ o.jsx("div", { className: "modal-overlay", onMouseDown: d, children: /* @__PURE__ */ o.jsxs(
4880
4908
  "div",
4881
4909
  {
4882
- className: `modal-container ${l}`,
4910
+ className: `modal-container ${c}`,
4883
4911
  style: s,
4884
4912
  onMouseDown: (f) => f.stopPropagation(),
4885
4913
  children: [
4886
4914
  /* @__PURE__ */ o.jsxs("div", { className: "modal-header", children: [
4887
4915
  i && /* @__PURE__ */ o.jsx("h2", { className: "modal-title", children: i }),
4888
- /* @__PURE__ */ o.jsx("div", { className: "modal-close-button", onClick: t, children: /* @__PURE__ */ o.jsx(Y, { classIcon: "bi-x-lg" }) })
4916
+ /* @__PURE__ */ o.jsx("div", { className: "modal-close-button", onClick: t, children: /* @__PURE__ */ o.jsx(V, { classIcon: "bi-x-lg" }) })
4889
4917
  ] }),
4890
4918
  /* @__PURE__ */ o.jsx("div", { className: "modal-content", children: r }),
4891
4919
  n && /* @__PURE__ */ o.jsx("div", { className: "d-flex justify-content-end", children: /* @__PURE__ */ o.jsx(xt, { onClick: n, title: a ?? "" }) })
@@ -4903,8 +4931,8 @@ const Hl = Ue(
4903
4931
  className: a,
4904
4932
  title: i,
4905
4933
  id: s
4906
- }, l) => {
4907
- const [c, d] = F(null), f = R(async () => {
4934
+ }, c) => {
4935
+ const [l, d] = W(null), f = I(async () => {
4908
4936
  const v = new Blob([e], { type: "application/pdf" }), g = URL.createObjectURL(v);
4909
4937
  if (!t) {
4910
4938
  const h = `${g}#toolbar=0&navpanes=0&scrollbar=0`;
@@ -4913,16 +4941,16 @@ const Hl = Ue(
4913
4941
  }
4914
4942
  d(g);
4915
4943
  }, [e, t, d]);
4916
- return q(() => {
4944
+ return X(() => {
4917
4945
  f();
4918
- }, [e, f]), q(() => () => {
4919
- c && URL.revokeObjectURL(c);
4920
- }, [c]), /* @__PURE__ */ o.jsx(o.Fragment, { children: c && /* @__PURE__ */ o.jsx(
4946
+ }, [e, f]), X(() => () => {
4947
+ l && URL.revokeObjectURL(l);
4948
+ }, [l]), /* @__PURE__ */ o.jsx(o.Fragment, { children: l && /* @__PURE__ */ o.jsx(
4921
4949
  "iframe",
4922
4950
  {
4923
- ref: l,
4951
+ ref: c,
4924
4952
  className: a,
4925
- src: c,
4953
+ src: l,
4926
4954
  width: n,
4927
4955
  height: r,
4928
4956
  title: i,
@@ -4944,34 +4972,34 @@ const Hl = Ue(
4944
4972
  disabledMinus: i,
4945
4973
  pas: s
4946
4974
  }) => {
4947
- const [l, c] = F(s), d = R(
4975
+ const [c, l] = W(s), d = I(
4948
4976
  (h) => {
4949
- n || (c(h), e && e(t, h));
4977
+ n || (l(h), e && e(t, h));
4950
4978
  },
4951
- [c, e]
4952
- ), f = R(
4979
+ [l, e]
4980
+ ), f = I(
4953
4981
  (h) => {
4954
4982
  if (h.stopPropagation(), n || a)
4955
4983
  return;
4956
- const p = l + s;
4984
+ const p = c + s;
4957
4985
  d(Math.round(p * 100) / 100);
4958
4986
  },
4959
- [l, d]
4960
- ), v = R(
4987
+ [c, d]
4988
+ ), v = I(
4961
4989
  (h) => {
4962
4990
  if (h.stopPropagation(), n || i)
4963
4991
  return;
4964
- if (l === 0)
4965
- return l;
4966
- const p = l - s;
4992
+ if (c === 0)
4993
+ return c;
4994
+ const p = c - s;
4967
4995
  d(Math.round(p * 100) / 100);
4968
4996
  },
4969
- [d, l]
4997
+ [d, c]
4970
4998
  );
4971
- q(() => {
4972
- t.quantity && c(t.quantity);
4973
- }, [t.quantity, c]);
4974
- const g = R(
4999
+ X(() => {
5000
+ t.quantity && l(t.quantity);
5001
+ }, [t.quantity, l]);
5002
+ const g = I(
4975
5003
  (h) => {
4976
5004
  h.stopPropagation(), r && r(t);
4977
5005
  },
@@ -4983,16 +5011,16 @@ const Hl = Ue(
4983
5011
  {
4984
5012
  onClick: (h) => v(h),
4985
5013
  className: `qte-action qte-action--minus ${n || i ? "disabled" : ""} `,
4986
- children: /* @__PURE__ */ o.jsx(Y, { size: je.LARGE, classIcon: "bi bi-dash-square" })
5014
+ children: /* @__PURE__ */ o.jsx(V, { size: je.LARGE, classIcon: "bi bi-dash-square" })
4987
5015
  }
4988
5016
  ),
4989
- /* @__PURE__ */ o.jsx("span", { onClick: (h) => g(h), className: "qte-label", children: l }),
5017
+ /* @__PURE__ */ o.jsx("span", { onClick: (h) => g(h), className: "qte-label", children: c }),
4990
5018
  /* @__PURE__ */ o.jsx(
4991
5019
  "div",
4992
5020
  {
4993
5021
  onClick: (h) => f(h),
4994
5022
  className: `qte-action qte-action--plus ${n || a ? "disabled" : ""}`,
4995
- children: /* @__PURE__ */ o.jsx(Y, { size: je.LARGE, classIcon: "bi bi-plus-square" })
5023
+ children: /* @__PURE__ */ o.jsx(V, { size: je.LARGE, classIcon: "bi bi-plus-square" })
4996
5024
  }
4997
5025
  )
4998
5026
  ] });
@@ -5005,14 +5033,14 @@ const Hl = Ue(
5005
5033
  focus: a,
5006
5034
  debounceTime: i,
5007
5035
  handleChange: s,
5008
- setIsVisible: l,
5009
- id: c
5036
+ setIsVisible: c,
5037
+ id: l
5010
5038
  }, d) => {
5011
- const [f, v] = F(n ?? !1), g = re(null), h = re(null), p = Re(
5039
+ const [f, v] = W(n ?? !1), g = re(null), h = re(null), p = Re(
5012
5040
  () => [
5013
5041
  {
5014
5042
  value: "",
5015
- id: c,
5043
+ id: l,
5016
5044
  name: t ?? "recherche",
5017
5045
  placeholder: r ?? "Recherche",
5018
5046
  type: Be.TEXT,
@@ -5024,41 +5052,41 @@ const Hl = Ue(
5024
5052
  ],
5025
5053
  [r, a]
5026
5054
  );
5027
- q(() => {
5055
+ X(() => {
5028
5056
  n !== void 0 && v(n);
5029
5057
  }, [n]);
5030
- const m = R(
5031
- (x) => {
5032
- l && l(x), v(x);
5058
+ const m = I(
5059
+ (b) => {
5060
+ c && c(b), v(b);
5033
5061
  },
5034
- [l]
5035
- ), b = R(
5036
- (x) => {
5037
- if (!x || !x[t ?? "recherche"])
5062
+ [c]
5063
+ ), y = I(
5064
+ (b) => {
5065
+ if (!b || !b[t ?? "recherche"])
5038
5066
  return m(!1);
5039
5067
  m(!0), g.current && clearTimeout(g.current), g.current = setTimeout(() => {
5040
- s && s(x);
5068
+ s && s(b);
5041
5069
  }, i ?? 500);
5042
5070
  },
5043
5071
  [m, s, i]
5044
- ), j = R(
5045
- (x) => {
5046
- console.log("Form Submitted: ", x);
5072
+ ), j = I(
5073
+ (b) => {
5074
+ console.log("Form Submitted: ", b);
5047
5075
  },
5048
5076
  []
5049
5077
  );
5050
5078
  return Dr(d, () => ({
5051
- clearInput: (x) => {
5079
+ clearInput: (b) => {
5052
5080
  var _;
5053
- (_ = h.current) == null || _.clearInput(x);
5081
+ (_ = h.current) == null || _.clearInput(b);
5054
5082
  },
5055
5083
  resetForm: () => {
5056
- var x;
5057
- (x = h.current) == null || x.resetForm();
5084
+ var b;
5085
+ (b = h.current) == null || b.resetForm();
5058
5086
  },
5059
5087
  focusInitialElement: () => {
5060
- var x;
5061
- (x = h.current) == null || x.focusInitialElement();
5088
+ var b;
5089
+ (b = h.current) == null || b.focusInitialElement();
5062
5090
  }
5063
5091
  })), /* @__PURE__ */ o.jsxs("div", { className: "search", children: [
5064
5092
  /* @__PURE__ */ o.jsx(
@@ -5066,7 +5094,7 @@ const Hl = Ue(
5066
5094
  {
5067
5095
  ref: h,
5068
5096
  onSubmit: j,
5069
- onChange: b,
5097
+ onChange: y,
5070
5098
  hideSubmit: !0,
5071
5099
  initialForm: p
5072
5100
  }
@@ -5077,7 +5105,7 @@ const Hl = Ue(
5077
5105
  {
5078
5106
  className: "toggle-btn",
5079
5107
  onClick: () => m(!1),
5080
- children: /* @__PURE__ */ o.jsx(Y, { classIcon: "bi-x-lg" })
5108
+ children: /* @__PURE__ */ o.jsx(V, { classIcon: "bi-x-lg" })
5081
5109
  }
5082
5110
  ) }),
5083
5111
  /* @__PURE__ */ o.jsx("div", { className: "search-result-content", children: e })
@@ -5092,60 +5120,60 @@ const Hl = Ue(
5092
5120
  className: a,
5093
5121
  id: i,
5094
5122
  width: s,
5095
- closeOnClickOutside: l = !0,
5096
- displayOverlay: c = !0
5123
+ closeOnClickOutside: c = !0,
5124
+ displayOverlay: l = !0
5097
5125
  }) => {
5098
- const [d, f] = F(e || !1), [v, g] = F(0), [h, p] = F(!1), m = re(null), b = re(null), j = re(0), x = re(0), _ = re(null);
5099
- q(() => (b.current || (b.current = document.createElement("div"), b.current.id = `sidebar-root-${i || crypto.randomUUID()}`, document.body.appendChild(b.current)), () => {
5100
- b.current && b.current.parentNode && (document.body.removeChild(b.current), b.current = null);
5101
- }), [i]), q(() => {
5126
+ const [d, f] = W(e || !1), [v, g] = W(0), [h, p] = W(!1), m = re(null), y = re(null), j = re(0), b = re(0), _ = re(null);
5127
+ X(() => (y.current || (y.current = document.createElement("div"), y.current.id = `sidebar-root-${i || crypto.randomUUID()}`, document.body.appendChild(y.current)), () => {
5128
+ y.current && y.current.parentNode && (document.body.removeChild(y.current), y.current = null);
5129
+ }), [i]), X(() => {
5102
5130
  f(e || !1);
5103
5131
  }, [e]);
5104
- const S = R(() => {
5132
+ const S = I(() => {
5105
5133
  f(!1), n && n(!1);
5106
- }, [n]), D = R(
5107
- (O) => {
5108
- l && m.current && !m.current.contains(O.target) && S();
5134
+ }, [n]), O = I(
5135
+ (D) => {
5136
+ c && m.current && !m.current.contains(D.target) && S();
5109
5137
  },
5110
- [S, l]
5111
- ), E = R((O) => {
5112
- const A = O.touches[0];
5113
- j.current = A.clientX, x.current = A.clientY, _.current = null, p(!1), g(0);
5114
- }, []), C = R(
5115
- (O) => {
5138
+ [S, c]
5139
+ ), E = I((D) => {
5140
+ const M = D.touches[0];
5141
+ j.current = M.clientX, b.current = M.clientY, _.current = null, p(!1), g(0);
5142
+ }, []), C = I(
5143
+ (D) => {
5116
5144
  if (!d) return;
5117
- const A = O.touches[0], $ = A.clientX - j.current, L = A.clientY - x.current;
5145
+ const M = D.touches[0], R = M.clientX - j.current, A = M.clientY - b.current;
5118
5146
  if (!_.current) {
5119
- if (Math.abs($) < Pa && Math.abs(L) < Pa)
5147
+ if (Math.abs(R) < Pa && Math.abs(A) < Pa)
5120
5148
  return;
5121
- _.current = Math.abs($) > Math.abs(L) ? "x" : "y";
5149
+ _.current = Math.abs(R) > Math.abs(A) ? "x" : "y";
5122
5150
  }
5123
- _.current === "x" && (O.preventDefault(), p(!0), g(Math.max(0, $)));
5151
+ _.current === "x" && (D.preventDefault(), p(!0), g(Math.max(0, R)));
5124
5152
  },
5125
5153
  [d]
5126
- ), W = R(
5127
- (O) => {
5128
- d && (_.current === "x" && O.changedTouches[0].clientX - j.current > fl && S(), p(!1), g(0), _.current = null);
5154
+ ), F = I(
5155
+ (D) => {
5156
+ d && (_.current === "x" && D.changedTouches[0].clientX - j.current > fl && S(), p(!1), g(0), _.current = null);
5129
5157
  },
5130
5158
  [d, S]
5131
- ), y = R(
5132
- (O) => {
5133
- O.preventDefault(), S();
5159
+ ), x = I(
5160
+ (D) => {
5161
+ D.preventDefault(), S();
5134
5162
  },
5135
5163
  [S]
5136
5164
  );
5137
- return q(() => (d ? (document.addEventListener("mousedown", D), document.addEventListener("touchstart", D, {
5165
+ return X(() => (d ? (document.addEventListener("mousedown", O), document.addEventListener("touchstart", O, {
5138
5166
  passive: !0
5139
- })) : (document.removeEventListener("mousedown", D), document.removeEventListener("touchstart", D)), () => {
5140
- document.removeEventListener("mousedown", D), document.removeEventListener("touchstart", D);
5141
- }), [d, D]), b.current ? Nn.createPortal(
5167
+ })) : (document.removeEventListener("mousedown", O), document.removeEventListener("touchstart", O)), () => {
5168
+ document.removeEventListener("mousedown", O), document.removeEventListener("touchstart", O);
5169
+ }), [d, O]), y.current ? Nn.createPortal(
5142
5170
  /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
5143
- d && c && /* @__PURE__ */ o.jsx(
5171
+ d && l && /* @__PURE__ */ o.jsx(
5144
5172
  "div",
5145
5173
  {
5146
5174
  className: "overlay",
5147
5175
  onClick: S,
5148
- onTouchEnd: y
5176
+ onTouchEnd: x
5149
5177
  }
5150
5178
  ),
5151
5179
  /* @__PURE__ */ o.jsxs(
@@ -5160,18 +5188,18 @@ const Hl = Ue(
5160
5188
  className: `sidebar ${d ? "open" : "closed"} ${a ?? ""}`,
5161
5189
  onTouchStart: E,
5162
5190
  onTouchMove: C,
5163
- onTouchEnd: W,
5191
+ onTouchEnd: F,
5164
5192
  children: [
5165
5193
  /* @__PURE__ */ o.jsxs("div", { className: "sidebar-header", children: [
5166
5194
  r && /* @__PURE__ */ o.jsx("h2", { className: "flex-1", children: r }),
5167
- /* @__PURE__ */ o.jsx("button", { className: "toggle-btn", onClick: S, children: /* @__PURE__ */ o.jsx(Y, { classIcon: "bi-x-lg" }) })
5195
+ /* @__PURE__ */ o.jsx("button", { className: "toggle-btn", onClick: S, children: /* @__PURE__ */ o.jsx(V, { classIcon: "bi-x-lg" }) })
5168
5196
  ] }),
5169
5197
  t && t
5170
5198
  ]
5171
5199
  }
5172
5200
  )
5173
5201
  ] }),
5174
- b.current
5202
+ y.current
5175
5203
  ) : /* @__PURE__ */ o.jsx(o.Fragment, {});
5176
5204
  }, tu = (e) => /* @__PURE__ */ o.jsx(hl, { ...e, className: `full sidebar-data ${e.className}`, children: e.children && /* @__PURE__ */ o.jsx("div", { className: `sidebar-data-content ${e.classNameContent} `, children: e.children }) }), ru = ({
5177
5205
  items: e,
@@ -5182,13 +5210,13 @@ const Hl = Ue(
5182
5210
  tabClassName: i = "",
5183
5211
  panelClassName: s = ""
5184
5212
  }) => {
5185
- const l = typeof r == "number", [c, d] = F(t), f = l ? r : c;
5186
- q(() => {
5187
- !l && (t < 0 || t >= e.length) && d(0);
5188
- }, [t, e.length, l]);
5213
+ const c = typeof r == "number", [l, d] = W(t), f = c ? r : l;
5214
+ X(() => {
5215
+ !c && (t < 0 || t >= e.length) && d(0);
5216
+ }, [t, e.length, c]);
5189
5217
  const v = re([]), g = (h) => {
5190
5218
  var p, m;
5191
- (p = e[h]) != null && p.disabled || (l || d(h), n == null || n(h), (m = v.current[h]) == null || m.focus());
5219
+ (p = e[h]) != null && p.disabled || (c || d(h), n == null || n(h), (m = v.current[h]) == null || m.focus());
5192
5220
  };
5193
5221
  return /* @__PURE__ */ o.jsxs("div", { className: `tabs-root ${a}`, children: [
5194
5222
  /* @__PURE__ */ o.jsx("div", { role: "tablist", className: "tabs-header", children: e.map((h, p) => /* @__PURE__ */ o.jsx(
@@ -5228,8 +5256,8 @@ const Hl = Ue(
5228
5256
  const g = t;
5229
5257
  t = f ?? (typeof v != "object" || v === null) ? v : Object.assign({}, t, v), r.forEach((h) => h(t, g));
5230
5258
  }
5231
- }, a = () => t, l = { setState: n, getState: a, getInitialState: () => c, subscribe: (d) => (r.add(d), () => r.delete(d)) }, c = t = e(n, a, l);
5232
- return l;
5259
+ }, a = () => t, c = { setState: n, getState: a, getInitialState: () => l, subscribe: (d) => (r.add(d), () => r.delete(d)) }, l = t = e(n, a, c);
5260
+ return c;
5233
5261
  }, vl = (e) => e ? Ta(e) : Ta, ml = (e) => e;
5234
5262
  function pl(e, t = ml) {
5235
5263
  const r = Ae.useSyncExternalStore(
@@ -5268,11 +5296,11 @@ const Ra = (e) => {
5268
5296
  children: a,
5269
5297
  duration: i,
5270
5298
  hideToast: s,
5271
- close: l
5272
- } = yl(), c = R(() => {
5299
+ close: c
5300
+ } = yl(), l = I(() => {
5273
5301
  s();
5274
5302
  }, [s]);
5275
- if (q(() => {
5303
+ if (X(() => {
5276
5304
  if (!n) return;
5277
5305
  const f = setTimeout(() => {
5278
5306
  s();
@@ -5282,12 +5310,12 @@ const Ra = (e) => {
5282
5310
  const d = document.getElementById("toaster-root");
5283
5311
  return d ? Nn.createPortal(
5284
5312
  /* @__PURE__ */ o.jsxs("div", { className: `toaster toaster-${r}`, children: [
5285
- l && /* @__PURE__ */ o.jsx("div", { className: "toaster--close", onClick: c, children: /* @__PURE__ */ o.jsx(Y, { classIcon: "bi-x" }) }),
5313
+ c && /* @__PURE__ */ o.jsx("div", { className: "toaster--close", onClick: l, children: /* @__PURE__ */ o.jsx(V, { classIcon: "bi-x" }) }),
5286
5314
  /* @__PURE__ */ o.jsxs("div", { children: [
5287
- r === "info" && /* @__PURE__ */ o.jsx(Y, { classIcon: "bi-info-circle" }),
5288
- r === "success" && /* @__PURE__ */ o.jsx(Y, { classIcon: "bi-check-circle" }),
5289
- r === "error" && /* @__PURE__ */ o.jsx(Y, { classIcon: "bi-x-circle" }),
5290
- r === "warning" && /* @__PURE__ */ o.jsx(Y, { classIcon: "bi-exclamation-triangle" })
5315
+ r === "info" && /* @__PURE__ */ o.jsx(V, { classIcon: "bi-info-circle" }),
5316
+ r === "success" && /* @__PURE__ */ o.jsx(V, { classIcon: "bi-check-circle" }),
5317
+ r === "error" && /* @__PURE__ */ o.jsx(V, { classIcon: "bi-x-circle" }),
5318
+ r === "warning" && /* @__PURE__ */ o.jsx(V, { classIcon: "bi-exclamation-triangle" })
5291
5319
  ] }),
5292
5320
  /* @__PURE__ */ o.jsxs("div", { children: [
5293
5321
  /* @__PURE__ */ o.jsx("div", { className: `title title-${r}`, children: e }),
@@ -5316,7 +5344,7 @@ export {
5316
5344
  ql as Grid,
5317
5345
  Xl as Header,
5318
5346
  wl as HistoryProvider,
5319
- Y as Icon,
5347
+ V as Icon,
5320
5348
  je as IconSizeEnum,
5321
5349
  Sl as ImageChecker,
5322
5350
  Dl as ImageExist,