code7-leia 1.0.23 → 1.0.24

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.es.js CHANGED
@@ -52,38 +52,38 @@ function Pc() {
52
52
  var x = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
53
53
  function T(m) {
54
54
  {
55
- for (var A = arguments.length, M = new Array(A > 1 ? A - 1 : 0), X = 1; X < A; X++)
56
- M[X - 1] = arguments[X];
57
- C("error", m, M);
55
+ for (var A = arguments.length, $ = new Array(A > 1 ? A - 1 : 0), Q = 1; Q < A; Q++)
56
+ $[Q - 1] = arguments[Q];
57
+ C("error", m, $);
58
58
  }
59
59
  }
60
- function C(m, A, M) {
60
+ function C(m, A, $) {
61
61
  {
62
- var X = x.ReactDebugCurrentFrame, le = X.getStackAddendum();
63
- le !== "" && (A += "%s", M = M.concat([le]));
64
- var xe = M.map(function(oe) {
62
+ var Q = x.ReactDebugCurrentFrame, le = Q.getStackAddendum();
63
+ le !== "" && (A += "%s", $ = $.concat([le]));
64
+ var xe = $.map(function(oe) {
65
65
  return String(oe);
66
66
  });
67
67
  xe.unshift("Warning: " + A), Function.prototype.apply.call(console[m], console, xe);
68
68
  }
69
69
  }
70
- var b = !1, p = !1, k = !1, N = !1, _ = !1, q;
71
- q = Symbol.for("react.module.reference");
70
+ var b = !1, p = !1, k = !1, N = !1, _ = !1, U;
71
+ U = Symbol.for("react.module.reference");
72
72
  function H(m) {
73
73
  return !!(typeof m == "string" || typeof m == "function" || m === r || m === a || _ || m === i || m === u || m === l || N || m === w || b || p || k || typeof m == "object" && m !== null && (m.$$typeof === y || m.$$typeof === f || m.$$typeof === o || m.$$typeof === s || m.$$typeof === c || // This needs to include all possible module reference object
74
74
  // types supported by any Flight configuration anywhere since
75
75
  // we don't know which Flight build this will end up being used
76
76
  // with.
77
- m.$$typeof === q || m.getModuleId !== void 0));
77
+ m.$$typeof === U || m.getModuleId !== void 0));
78
78
  }
79
- function U(m, A, M) {
80
- var X = m.displayName;
81
- if (X)
82
- return X;
79
+ function F(m, A, $) {
80
+ var Q = m.displayName;
81
+ if (Q)
82
+ return Q;
83
83
  var le = A.displayName || A.name || "";
84
- return le !== "" ? M + "(" + le + ")" : M;
84
+ return le !== "" ? $ + "(" + le + ")" : $;
85
85
  }
86
- function V(m) {
86
+ function ne(m) {
87
87
  return m.displayName || "Context";
88
88
  }
89
89
  function R(m) {
@@ -111,15 +111,15 @@ function Pc() {
111
111
  switch (m.$$typeof) {
112
112
  case s:
113
113
  var A = m;
114
- return V(A) + ".Consumer";
114
+ return ne(A) + ".Consumer";
115
115
  case o:
116
- var M = m;
117
- return V(M._context) + ".Provider";
116
+ var $ = m;
117
+ return ne($._context) + ".Provider";
118
118
  case c:
119
- return U(m, m.render, "ForwardRef");
119
+ return F(m, m.render, "ForwardRef");
120
120
  case f:
121
- var X = m.displayName || null;
122
- return X !== null ? X : R(m.type) || "Memo";
121
+ var Q = m.displayName || null;
122
+ return Q !== null ? Q : R(m.type) || "Memo";
123
123
  case y: {
124
124
  var le = m, xe = le._payload, oe = le._init;
125
125
  try {
@@ -131,14 +131,14 @@ function Pc() {
131
131
  }
132
132
  return null;
133
133
  }
134
- var z = Object.assign, ee = 0, K, ce, re, ae, O, P, D;
134
+ var M = Object.assign, Z = 0, Y, ce, re, ae, O, P, D;
135
135
  function j() {
136
136
  }
137
137
  j.__reactDisabledLog = !0;
138
- function $() {
138
+ function q() {
139
139
  {
140
- if (ee === 0) {
141
- K = console.log, ce = console.info, re = console.warn, ae = console.error, O = console.group, P = console.groupCollapsed, D = console.groupEnd;
140
+ if (Z === 0) {
141
+ Y = console.log, ce = console.info, re = console.warn, ae = console.error, O = console.group, P = console.groupCollapsed, D = console.groupEnd;
142
142
  var m = {
143
143
  configurable: !0,
144
144
  enumerable: !0,
@@ -155,77 +155,77 @@ function Pc() {
155
155
  groupEnd: m
156
156
  });
157
157
  }
158
- ee++;
158
+ Z++;
159
159
  }
160
160
  }
161
- function J() {
161
+ function G() {
162
162
  {
163
- if (ee--, ee === 0) {
163
+ if (Z--, Z === 0) {
164
164
  var m = {
165
165
  configurable: !0,
166
166
  enumerable: !0,
167
167
  writable: !0
168
168
  };
169
169
  Object.defineProperties(console, {
170
- log: z({}, m, {
171
- value: K
170
+ log: M({}, m, {
171
+ value: Y
172
172
  }),
173
- info: z({}, m, {
173
+ info: M({}, m, {
174
174
  value: ce
175
175
  }),
176
- warn: z({}, m, {
176
+ warn: M({}, m, {
177
177
  value: re
178
178
  }),
179
- error: z({}, m, {
179
+ error: M({}, m, {
180
180
  value: ae
181
181
  }),
182
- group: z({}, m, {
182
+ group: M({}, m, {
183
183
  value: O
184
184
  }),
185
- groupCollapsed: z({}, m, {
185
+ groupCollapsed: M({}, m, {
186
186
  value: P
187
187
  }),
188
- groupEnd: z({}, m, {
188
+ groupEnd: M({}, m, {
189
189
  value: D
190
190
  })
191
191
  });
192
192
  }
193
- ee < 0 && T("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
193
+ Z < 0 && T("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
194
194
  }
195
195
  }
196
- var W = x.ReactCurrentDispatcher, G;
197
- function Z(m, A, M) {
196
+ var V = x.ReactCurrentDispatcher, K;
197
+ function X(m, A, $) {
198
198
  {
199
- if (G === void 0)
199
+ if (K === void 0)
200
200
  try {
201
201
  throw Error();
202
202
  } catch (le) {
203
- var X = le.stack.trim().match(/\n( *(at )?)/);
204
- G = X && X[1] || "";
203
+ var Q = le.stack.trim().match(/\n( *(at )?)/);
204
+ K = Q && Q[1] || "";
205
205
  }
206
206
  return `
207
- ` + G + m;
207
+ ` + K + m;
208
208
  }
209
209
  }
210
- var ne = !1, Q;
210
+ var te = !1, J;
211
211
  {
212
- var I = typeof WeakMap == "function" ? WeakMap : Map;
213
- Q = new I();
212
+ var L = typeof WeakMap == "function" ? WeakMap : Map;
213
+ J = new L();
214
214
  }
215
215
  function S(m, A) {
216
- if (!m || ne)
216
+ if (!m || te)
217
217
  return "";
218
218
  {
219
- var M = Q.get(m);
220
- if (M !== void 0)
221
- return M;
219
+ var $ = J.get(m);
220
+ if ($ !== void 0)
221
+ return $;
222
222
  }
223
- var X;
224
- ne = !0;
223
+ var Q;
224
+ te = !0;
225
225
  var le = Error.prepareStackTrace;
226
226
  Error.prepareStackTrace = void 0;
227
227
  var xe;
228
- xe = W.current, W.current = null, $();
228
+ xe = V.current, V.current = null, q();
229
229
  try {
230
230
  if (A) {
231
231
  var oe = function() {
@@ -239,14 +239,14 @@ function Pc() {
239
239
  try {
240
240
  Reflect.construct(oe, []);
241
241
  } catch (ot) {
242
- X = ot;
242
+ Q = ot;
243
243
  }
244
244
  Reflect.construct(m, [], oe);
245
245
  } else {
246
246
  try {
247
247
  oe.call();
248
248
  } catch (ot) {
249
- X = ot;
249
+ Q = ot;
250
250
  }
251
251
  m.call(oe.prototype);
252
252
  }
@@ -254,14 +254,14 @@ function Pc() {
254
254
  try {
255
255
  throw Error();
256
256
  } catch (ot) {
257
- X = ot;
257
+ Q = ot;
258
258
  }
259
259
  m();
260
260
  }
261
261
  } catch (ot) {
262
- if (ot && X && typeof ot.stack == "string") {
262
+ if (ot && Q && typeof ot.stack == "string") {
263
263
  for (var ie = ot.stack.split(`
264
- `), Ie = X.stack.split(`
264
+ `), Ie = Q.stack.split(`
265
265
  `), _e = ie.length - 1, je = Ie.length - 1; _e >= 1 && je >= 0 && ie[_e] !== Ie[je]; )
266
266
  je--;
267
267
  for (; _e >= 1 && je >= 0; _e--, je--)
@@ -271,48 +271,48 @@ function Pc() {
271
271
  if (_e--, je--, je < 0 || ie[_e] !== Ie[je]) {
272
272
  var Ke = `
273
273
  ` + ie[_e].replace(" at new ", " at ");
274
- return m.displayName && Ke.includes("<anonymous>") && (Ke = Ke.replace("<anonymous>", m.displayName)), typeof m == "function" && Q.set(m, Ke), Ke;
274
+ return m.displayName && Ke.includes("<anonymous>") && (Ke = Ke.replace("<anonymous>", m.displayName)), typeof m == "function" && J.set(m, Ke), Ke;
275
275
  }
276
276
  while (_e >= 1 && je >= 0);
277
277
  break;
278
278
  }
279
279
  }
280
280
  } finally {
281
- ne = !1, W.current = xe, J(), Error.prepareStackTrace = le;
281
+ te = !1, V.current = xe, G(), Error.prepareStackTrace = le;
282
282
  }
283
- var Pt = m ? m.displayName || m.name : "", zi = Pt ? Z(Pt) : "";
284
- return typeof m == "function" && Q.set(m, zi), zi;
283
+ var Pt = m ? m.displayName || m.name : "", zi = Pt ? X(Pt) : "";
284
+ return typeof m == "function" && J.set(m, zi), zi;
285
285
  }
286
- function Ee(m, A, M) {
286
+ function Ee(m, A, $) {
287
287
  return S(m, !1);
288
288
  }
289
289
  function ke(m) {
290
290
  var A = m.prototype;
291
291
  return !!(A && A.isReactComponent);
292
292
  }
293
- function Ve(m, A, M) {
293
+ function Ve(m, A, $) {
294
294
  if (m == null)
295
295
  return "";
296
296
  if (typeof m == "function")
297
297
  return S(m, ke(m));
298
298
  if (typeof m == "string")
299
- return Z(m);
299
+ return X(m);
300
300
  switch (m) {
301
301
  case u:
302
- return Z("Suspense");
302
+ return X("Suspense");
303
303
  case l:
304
- return Z("SuspenseList");
304
+ return X("SuspenseList");
305
305
  }
306
306
  if (typeof m == "object")
307
307
  switch (m.$$typeof) {
308
308
  case c:
309
309
  return Ee(m.render);
310
310
  case f:
311
- return Ve(m.type, A, M);
311
+ return Ve(m.type, A, $);
312
312
  case y: {
313
- var X = m, le = X._payload, xe = X._init;
313
+ var Q = m, le = Q._payload, xe = Q._init;
314
314
  try {
315
- return Ve(xe(le), A, M);
315
+ return Ve(xe(le), A, $);
316
316
  } catch {
317
317
  }
318
318
  }
@@ -322,12 +322,12 @@ function Pc() {
322
322
  var vt = Object.prototype.hasOwnProperty, rt = {}, jt = x.ReactDebugCurrentFrame;
323
323
  function it(m) {
324
324
  if (m) {
325
- var A = m._owner, M = Ve(m.type, m._source, A ? A.type : null);
326
- jt.setExtraStackFrame(M);
325
+ var A = m._owner, $ = Ve(m.type, m._source, A ? A.type : null);
326
+ jt.setExtraStackFrame($);
327
327
  } else
328
328
  jt.setExtraStackFrame(null);
329
329
  }
330
- function Rt(m, A, M, X, le) {
330
+ function Rt(m, A, $, Q, le) {
331
331
  {
332
332
  var xe = Function.call.bind(vt);
333
333
  for (var oe in m)
@@ -335,14 +335,14 @@ function Pc() {
335
335
  var ie = void 0;
336
336
  try {
337
337
  if (typeof m[oe] != "function") {
338
- var Ie = Error((X || "React class") + ": " + M + " type `" + oe + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof m[oe] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
338
+ var Ie = Error((Q || "React class") + ": " + $ + " type `" + oe + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof m[oe] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
339
339
  throw Ie.name = "Invariant Violation", Ie;
340
340
  }
341
- ie = m[oe](A, oe, X, M, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
341
+ ie = m[oe](A, oe, Q, $, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
342
342
  } catch (_e) {
343
343
  ie = _e;
344
344
  }
345
- ie && !(ie instanceof Error) && (it(le), T("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", X || "React class", M, oe, typeof ie), it(null)), ie instanceof Error && !(ie.message in rt) && (rt[ie.message] = !0, it(le), T("Failed %s type: %s", M, ie.message), it(null));
345
+ ie && !(ie instanceof Error) && (it(le), T("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", Q || "React class", $, oe, typeof ie), it(null)), ie instanceof Error && !(ie.message in rt) && (rt[ie.message] = !0, it(le), T("Failed %s type: %s", $, ie.message), it(null));
346
346
  }
347
347
  }
348
348
  }
@@ -352,23 +352,23 @@ function Pc() {
352
352
  }
353
353
  function wr(m) {
354
354
  {
355
- var A = typeof Symbol == "function" && Symbol.toStringTag, M = A && m[Symbol.toStringTag] || m.constructor.name || "Object";
356
- return M;
355
+ var A = typeof Symbol == "function" && Symbol.toStringTag, $ = A && m[Symbol.toStringTag] || m.constructor.name || "Object";
356
+ return $;
357
357
  }
358
358
  }
359
- function L(m) {
359
+ function z(m) {
360
360
  try {
361
- return Y(m), !1;
361
+ return W(m), !1;
362
362
  } catch {
363
363
  return !0;
364
364
  }
365
365
  }
366
- function Y(m) {
366
+ function W(m) {
367
367
  return "" + m;
368
368
  }
369
369
  function we(m) {
370
- if (L(m))
371
- return T("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", wr(m)), Y(m);
370
+ if (z(m))
371
+ return T("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", wr(m)), W(m);
372
372
  }
373
373
  var Te = x.ReactCurrentOwner, Fe = {
374
374
  key: !0,
@@ -397,34 +397,34 @@ function Pc() {
397
397
  }
398
398
  function At(m, A) {
399
399
  {
400
- var M = function() {
400
+ var $ = function() {
401
401
  pt || (pt = !0, T("%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)", A));
402
402
  };
403
- M.isReactWarning = !0, Object.defineProperty(m, "key", {
404
- get: M,
403
+ $.isReactWarning = !0, Object.defineProperty(m, "key", {
404
+ get: $,
405
405
  configurable: !0
406
406
  });
407
407
  }
408
408
  }
409
409
  function Jt(m, A) {
410
410
  {
411
- var M = function() {
411
+ var $ = function() {
412
412
  at || (at = !0, T("%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)", A));
413
413
  };
414
- M.isReactWarning = !0, Object.defineProperty(m, "ref", {
415
- get: M,
414
+ $.isReactWarning = !0, Object.defineProperty(m, "ref", {
415
+ get: $,
416
416
  configurable: !0
417
417
  });
418
418
  }
419
419
  }
420
- var Qt = function(m, A, M, X, le, xe, oe) {
420
+ var Qt = function(m, A, $, Q, le, xe, oe) {
421
421
  var ie = {
422
422
  // This tag allows us to uniquely identify this as a React Element
423
423
  $$typeof: t,
424
424
  // Built-in properties that belong on the element
425
425
  type: m,
426
426
  key: A,
427
- ref: M,
427
+ ref: $,
428
428
  props: oe,
429
429
  // Record the component responsible for creating this element.
430
430
  _owner: xe
@@ -438,7 +438,7 @@ function Pc() {
438
438
  configurable: !1,
439
439
  enumerable: !1,
440
440
  writable: !1,
441
- value: X
441
+ value: Q
442
442
  }), Object.defineProperty(ie, "_source", {
443
443
  configurable: !1,
444
444
  enumerable: !1,
@@ -446,10 +446,10 @@ function Pc() {
446
446
  value: le
447
447
  }), Object.freeze && (Object.freeze(ie.props), Object.freeze(ie)), ie;
448
448
  };
449
- function Xt(m, A, M, X, le) {
449
+ function Xt(m, A, $, Q, le) {
450
450
  {
451
451
  var xe, oe = {}, ie = null, Ie = null;
452
- M !== void 0 && (we(M), ie = "" + M), Kt(A) && (we(A.key), ie = "" + A.key), Yt(A) && (Ie = A.ref, Gt(A, le));
452
+ $ !== void 0 && (we($), ie = "" + $), Kt(A) && (we(A.key), ie = "" + A.key), Yt(A) && (Ie = A.ref, Gt(A, le));
453
453
  for (xe in A)
454
454
  vt.call(A, xe) && !Fe.hasOwnProperty(xe) && (oe[xe] = A[xe]);
455
455
  if (m && m.defaultProps) {
@@ -461,14 +461,14 @@ function Pc() {
461
461
  var je = typeof m == "function" ? m.displayName || m.name || "Unknown" : m;
462
462
  ie && At(oe, je), Ie && Jt(oe, je);
463
463
  }
464
- return Qt(m, ie, Ie, le, X, Te.current, oe);
464
+ return Qt(m, ie, Ie, le, Q, Te.current, oe);
465
465
  }
466
466
  }
467
467
  var ht = x.ReactCurrentOwner, _n = x.ReactDebugCurrentFrame;
468
468
  function kt(m) {
469
469
  if (m) {
470
- var A = m._owner, M = Ve(m.type, m._source, A ? A.type : null);
471
- _n.setExtraStackFrame(M);
470
+ var A = m._owner, $ = Ve(m.type, m._source, A ? A.type : null);
471
+ _n.setExtraStackFrame($);
472
472
  } else
473
473
  _n.setExtraStackFrame(null);
474
474
  }
@@ -497,10 +497,10 @@ Check the render method of \`` + m + "`.";
497
497
  {
498
498
  var A = Ni();
499
499
  if (!A) {
500
- var M = typeof m == "string" ? m : m.displayName || m.name;
501
- M && (A = `
500
+ var $ = typeof m == "string" ? m : m.displayName || m.name;
501
+ $ && (A = `
502
502
 
503
- Check the top-level render call using <` + M + ">.");
503
+ Check the top-level render call using <` + $ + ">.");
504
504
  }
505
505
  return A;
506
506
  }
@@ -510,12 +510,12 @@ Check the top-level render call using <` + M + ">.");
510
510
  if (!m._store || m._store.validated || m.key != null)
511
511
  return;
512
512
  m._store.validated = !0;
513
- var M = xc(A);
514
- if (Di[M])
513
+ var $ = xc(A);
514
+ if (Di[$])
515
515
  return;
516
- Di[M] = !0;
517
- var X = "";
518
- m && m._owner && m._owner !== ht.current && (X = " It was passed a child from " + R(m._owner.type) + "."), kt(m), T('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', M, X), kt(null);
516
+ Di[$] = !0;
517
+ var Q = "";
518
+ m && m._owner && m._owner !== ht.current && (Q = " It was passed a child from " + R(m._owner.type) + "."), kt(m), T('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', $, Q), kt(null);
519
519
  }
520
520
  }
521
521
  function Ii(m, A) {
@@ -523,9 +523,9 @@ Check the top-level render call using <` + M + ">.");
523
523
  if (typeof m != "object")
524
524
  return;
525
525
  if (Wt(m))
526
- for (var M = 0; M < m.length; M++) {
527
- var X = m[M];
528
- Tr(X) && Fi(X, A);
526
+ for (var $ = 0; $ < m.length; $++) {
527
+ var Q = m[$];
528
+ Tr(Q) && Fi(Q, A);
529
529
  }
530
530
  else if (Tr(m))
531
531
  m._store && (m._store.validated = !0);
@@ -542,18 +542,18 @@ Check the top-level render call using <` + M + ">.");
542
542
  var A = m.type;
543
543
  if (A == null || typeof A == "string")
544
544
  return;
545
- var M;
545
+ var $;
546
546
  if (typeof A == "function")
547
- M = A.propTypes;
547
+ $ = A.propTypes;
548
548
  else if (typeof A == "object" && (A.$$typeof === c || // Note: Memo only checks outer props here.
549
549
  // Inner props are checked in the reconciler.
550
550
  A.$$typeof === f))
551
- M = A.propTypes;
551
+ $ = A.propTypes;
552
552
  else
553
553
  return;
554
- if (M) {
555
- var X = R(A);
556
- Rt(M, m.props, "prop", X, m);
554
+ if ($) {
555
+ var Q = R(A);
556
+ Rt($, m.props, "prop", Q, m);
557
557
  } else if (A.PropTypes !== void 0 && !Sr) {
558
558
  Sr = !0;
559
559
  var le = R(A);
@@ -564,17 +564,17 @@ Check the top-level render call using <` + M + ">.");
564
564
  }
565
565
  function bc(m) {
566
566
  {
567
- for (var A = Object.keys(m.props), M = 0; M < A.length; M++) {
568
- var X = A[M];
569
- if (X !== "children" && X !== "key") {
570
- kt(m), T("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", X), kt(null);
567
+ for (var A = Object.keys(m.props), $ = 0; $ < A.length; $++) {
568
+ var Q = A[$];
569
+ if (Q !== "children" && Q !== "key") {
570
+ kt(m), T("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", Q), kt(null);
571
571
  break;
572
572
  }
573
573
  }
574
574
  m.ref !== null && (kt(m), T("Invalid attribute `ref` supplied to `React.Fragment`."), kt(null));
575
575
  }
576
576
  }
577
- function Li(m, A, M, X, le, xe) {
577
+ function Li(m, A, $, Q, le, xe) {
578
578
  {
579
579
  var oe = H(m);
580
580
  if (!oe) {
@@ -585,13 +585,13 @@ Check the top-level render call using <` + M + ">.");
585
585
  var _e;
586
586
  m === null ? _e = "null" : Wt(m) ? _e = "array" : m !== void 0 && m.$$typeof === t ? (_e = "<" + (R(m.type) || "Unknown") + " />", ie = " Did you accidentally export a JSX literal instead of a component?") : _e = typeof m, T("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", _e, ie);
587
587
  }
588
- var je = Xt(m, A, M, le, xe);
588
+ var je = Xt(m, A, $, le, xe);
589
589
  if (je == null)
590
590
  return je;
591
591
  if (oe) {
592
592
  var Ke = A.children;
593
593
  if (Ke !== void 0)
594
- if (X)
594
+ if (Q)
595
595
  if (Wt(Ke)) {
596
596
  for (var Pt = 0; Pt < Ke.length; Pt++)
597
597
  Ii(Ke[Pt], m);
@@ -604,11 +604,11 @@ Check the top-level render call using <` + M + ">.");
604
604
  return m === r ? bc(je) : yc(je), je;
605
605
  }
606
606
  }
607
- function Ec(m, A, M) {
608
- return Li(m, A, M, !0);
607
+ function Ec(m, A, $) {
608
+ return Li(m, A, $, !0);
609
609
  }
610
- function wc(m, A, M) {
611
- return Li(m, A, M, !1);
610
+ function wc(m, A, $) {
611
+ return Li(m, A, $, !1);
612
612
  }
613
613
  var Sc = wc, Tc = Ec;
614
614
  en.Fragment = r, en.jsx = Sc, en.jsxs = Tc;
@@ -742,7 +742,7 @@ function Fc() {
742
742
  }
743
743
  }
744
744
  }
745
- var p = c, k = u, N = s, _ = o, q = t, H = l, U = r, V = v, R = w, z = n, ee = a, K = i, ce = f, re = !1;
745
+ var p = c, k = u, N = s, _ = o, U = t, H = l, F = r, ne = v, R = w, M = n, Z = a, Y = i, ce = f, re = !1;
746
746
  function ae(S) {
747
747
  return re || (re = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), O(S) || b(S) === c;
748
748
  }
@@ -758,31 +758,31 @@ function Fc() {
758
758
  function j(S) {
759
759
  return typeof S == "object" && S !== null && S.$$typeof === t;
760
760
  }
761
- function $(S) {
761
+ function q(S) {
762
762
  return b(S) === l;
763
763
  }
764
- function J(S) {
764
+ function G(S) {
765
765
  return b(S) === r;
766
766
  }
767
- function W(S) {
767
+ function V(S) {
768
768
  return b(S) === v;
769
769
  }
770
- function G(S) {
770
+ function K(S) {
771
771
  return b(S) === w;
772
772
  }
773
- function Z(S) {
773
+ function X(S) {
774
774
  return b(S) === n;
775
775
  }
776
- function ne(S) {
776
+ function te(S) {
777
777
  return b(S) === a;
778
778
  }
779
- function Q(S) {
779
+ function J(S) {
780
780
  return b(S) === i;
781
781
  }
782
- function I(S) {
782
+ function L(S) {
783
783
  return b(S) === f;
784
784
  }
785
- pe.AsyncMode = p, pe.ConcurrentMode = k, pe.ContextConsumer = N, pe.ContextProvider = _, pe.Element = q, pe.ForwardRef = H, pe.Fragment = U, pe.Lazy = V, pe.Memo = R, pe.Portal = z, pe.Profiler = ee, pe.StrictMode = K, pe.Suspense = ce, pe.isAsyncMode = ae, pe.isConcurrentMode = O, pe.isContextConsumer = P, pe.isContextProvider = D, pe.isElement = j, pe.isForwardRef = $, pe.isFragment = J, pe.isLazy = W, pe.isMemo = G, pe.isPortal = Z, pe.isProfiler = ne, pe.isStrictMode = Q, pe.isSuspense = I, pe.isValidElementType = C, pe.typeOf = b;
785
+ pe.AsyncMode = p, pe.ConcurrentMode = k, pe.ContextConsumer = N, pe.ContextProvider = _, pe.Element = U, pe.ForwardRef = H, pe.Fragment = F, pe.Lazy = ne, pe.Memo = R, pe.Portal = M, pe.Profiler = Z, pe.StrictMode = Y, pe.Suspense = ce, pe.isAsyncMode = ae, pe.isConcurrentMode = O, pe.isContextConsumer = P, pe.isContextProvider = D, pe.isElement = j, pe.isForwardRef = q, pe.isFragment = G, pe.isLazy = V, pe.isMemo = K, pe.isPortal = X, pe.isProfiler = te, pe.isStrictMode = J, pe.isSuspense = L, pe.isValidElementType = C, pe.typeOf = b;
786
786
  })()), pe;
787
787
  }
788
788
  var Vi;
@@ -941,8 +941,8 @@ function zc() {
941
941
  node: H(),
942
942
  objectOf: _,
943
943
  oneOf: N,
944
- oneOfType: q,
945
- shape: V,
944
+ oneOfType: U,
945
+ shape: ne,
946
946
  exact: R
947
947
  };
948
948
  function v(O, P) {
@@ -955,33 +955,33 @@ function zc() {
955
955
  function h(O) {
956
956
  if (process.env.NODE_ENV !== "production")
957
957
  var P = {}, D = 0;
958
- function j(J, W, G, Z, ne, Q, I) {
959
- if (Z = Z || y, Q = Q || G, I !== n) {
958
+ function j(G, V, K, X, te, J, L) {
959
+ if (X = X || y, J = J || K, L !== n) {
960
960
  if (c) {
961
961
  var S = new Error(
962
962
  "Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
963
963
  );
964
964
  throw S.name = "Invariant Violation", S;
965
965
  } else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
966
- var Ee = Z + ":" + G;
966
+ var Ee = X + ":" + K;
967
967
  !P[Ee] && // Avoid spamming the console because they are often not actionable except for lib authors
968
968
  D < 3 && (a(
969
- "You are manually calling a React.PropTypes validation function for the `" + Q + "` prop on `" + Z + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
969
+ "You are manually calling a React.PropTypes validation function for the `" + J + "` prop on `" + X + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
970
970
  ), P[Ee] = !0, D++);
971
971
  }
972
972
  }
973
- return W[G] == null ? J ? W[G] === null ? new g("The " + ne + " `" + Q + "` is marked as required " + ("in `" + Z + "`, but its value is `null`.")) : new g("The " + ne + " `" + Q + "` is marked as required in " + ("`" + Z + "`, but its value is `undefined`.")) : null : O(W, G, Z, ne, Q);
973
+ return V[K] == null ? G ? V[K] === null ? new g("The " + te + " `" + J + "` is marked as required " + ("in `" + X + "`, but its value is `null`.")) : new g("The " + te + " `" + J + "` is marked as required in " + ("`" + X + "`, but its value is `undefined`.")) : null : O(V, K, X, te, J);
974
974
  }
975
- var $ = j.bind(null, !1);
976
- return $.isRequired = j.bind(null, !0), $;
975
+ var q = j.bind(null, !1);
976
+ return q.isRequired = j.bind(null, !0), q;
977
977
  }
978
978
  function x(O) {
979
- function P(D, j, $, J, W, G) {
980
- var Z = D[j], ne = K(Z);
981
- if (ne !== O) {
982
- var Q = ce(Z);
979
+ function P(D, j, q, G, V, K) {
980
+ var X = D[j], te = Y(X);
981
+ if (te !== O) {
982
+ var J = ce(X);
983
983
  return new g(
984
- "Invalid " + J + " `" + W + "` of type " + ("`" + Q + "` supplied to `" + $ + "`, expected ") + ("`" + O + "`."),
984
+ "Invalid " + G + " `" + V + "` of type " + ("`" + J + "` supplied to `" + q + "`, expected ") + ("`" + O + "`."),
985
985
  { expectedType: O }
986
986
  );
987
987
  }
@@ -993,50 +993,50 @@ function zc() {
993
993
  return h(o);
994
994
  }
995
995
  function C(O) {
996
- function P(D, j, $, J, W) {
996
+ function P(D, j, q, G, V) {
997
997
  if (typeof O != "function")
998
- return new g("Property `" + W + "` of component `" + $ + "` has invalid PropType notation inside arrayOf.");
999
- var G = D[j];
1000
- if (!Array.isArray(G)) {
1001
- var Z = K(G);
1002
- return new g("Invalid " + J + " `" + W + "` of type " + ("`" + Z + "` supplied to `" + $ + "`, expected an array."));
998
+ return new g("Property `" + V + "` of component `" + q + "` has invalid PropType notation inside arrayOf.");
999
+ var K = D[j];
1000
+ if (!Array.isArray(K)) {
1001
+ var X = Y(K);
1002
+ return new g("Invalid " + G + " `" + V + "` of type " + ("`" + X + "` supplied to `" + q + "`, expected an array."));
1003
1003
  }
1004
- for (var ne = 0; ne < G.length; ne++) {
1005
- var Q = O(G, ne, $, J, W + "[" + ne + "]", n);
1006
- if (Q instanceof Error)
1007
- return Q;
1004
+ for (var te = 0; te < K.length; te++) {
1005
+ var J = O(K, te, q, G, V + "[" + te + "]", n);
1006
+ if (J instanceof Error)
1007
+ return J;
1008
1008
  }
1009
1009
  return null;
1010
1010
  }
1011
1011
  return h(P);
1012
1012
  }
1013
1013
  function b() {
1014
- function O(P, D, j, $, J) {
1015
- var W = P[D];
1016
- if (!s(W)) {
1017
- var G = K(W);
1018
- return new g("Invalid " + $ + " `" + J + "` of type " + ("`" + G + "` supplied to `" + j + "`, expected a single ReactElement."));
1014
+ function O(P, D, j, q, G) {
1015
+ var V = P[D];
1016
+ if (!s(V)) {
1017
+ var K = Y(V);
1018
+ return new g("Invalid " + q + " `" + G + "` of type " + ("`" + K + "` supplied to `" + j + "`, expected a single ReactElement."));
1019
1019
  }
1020
1020
  return null;
1021
1021
  }
1022
1022
  return h(O);
1023
1023
  }
1024
1024
  function p() {
1025
- function O(P, D, j, $, J) {
1026
- var W = P[D];
1027
- if (!e.isValidElementType(W)) {
1028
- var G = K(W);
1029
- return new g("Invalid " + $ + " `" + J + "` of type " + ("`" + G + "` supplied to `" + j + "`, expected a single ReactElement type."));
1025
+ function O(P, D, j, q, G) {
1026
+ var V = P[D];
1027
+ if (!e.isValidElementType(V)) {
1028
+ var K = Y(V);
1029
+ return new g("Invalid " + q + " `" + G + "` of type " + ("`" + K + "` supplied to `" + j + "`, expected a single ReactElement type."));
1030
1030
  }
1031
1031
  return null;
1032
1032
  }
1033
1033
  return h(O);
1034
1034
  }
1035
1035
  function k(O) {
1036
- function P(D, j, $, J, W) {
1036
+ function P(D, j, q, G, V) {
1037
1037
  if (!(D[j] instanceof O)) {
1038
- var G = O.name || y, Z = ae(D[j]);
1039
- return new g("Invalid " + J + " `" + W + "` of type " + ("`" + Z + "` supplied to `" + $ + "`, expected ") + ("instance of `" + G + "`."));
1038
+ var K = O.name || y, X = ae(D[j]);
1039
+ return new g("Invalid " + G + " `" + V + "` of type " + ("`" + X + "` supplied to `" + q + "`, expected ") + ("instance of `" + K + "`."));
1040
1040
  }
1041
1041
  return null;
1042
1042
  }
@@ -1047,36 +1047,36 @@ function zc() {
1047
1047
  return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? a(
1048
1048
  "Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
1049
1049
  ) : a("Invalid argument supplied to oneOf, expected an array.")), o;
1050
- function P(D, j, $, J, W) {
1051
- for (var G = D[j], Z = 0; Z < O.length; Z++)
1052
- if (v(G, O[Z]))
1050
+ function P(D, j, q, G, V) {
1051
+ for (var K = D[j], X = 0; X < O.length; X++)
1052
+ if (v(K, O[X]))
1053
1053
  return null;
1054
- var ne = JSON.stringify(O, function(I, S) {
1054
+ var te = JSON.stringify(O, function(L, S) {
1055
1055
  var Ee = ce(S);
1056
1056
  return Ee === "symbol" ? String(S) : S;
1057
1057
  });
1058
- return new g("Invalid " + J + " `" + W + "` of value `" + String(G) + "` " + ("supplied to `" + $ + "`, expected one of " + ne + "."));
1058
+ return new g("Invalid " + G + " `" + V + "` of value `" + String(K) + "` " + ("supplied to `" + q + "`, expected one of " + te + "."));
1059
1059
  }
1060
1060
  return h(P);
1061
1061
  }
1062
1062
  function _(O) {
1063
- function P(D, j, $, J, W) {
1063
+ function P(D, j, q, G, V) {
1064
1064
  if (typeof O != "function")
1065
- return new g("Property `" + W + "` of component `" + $ + "` has invalid PropType notation inside objectOf.");
1066
- var G = D[j], Z = K(G);
1067
- if (Z !== "object")
1068
- return new g("Invalid " + J + " `" + W + "` of type " + ("`" + Z + "` supplied to `" + $ + "`, expected an object."));
1069
- for (var ne in G)
1070
- if (r(G, ne)) {
1071
- var Q = O(G, ne, $, J, W + "." + ne, n);
1072
- if (Q instanceof Error)
1073
- return Q;
1065
+ return new g("Property `" + V + "` of component `" + q + "` has invalid PropType notation inside objectOf.");
1066
+ var K = D[j], X = Y(K);
1067
+ if (X !== "object")
1068
+ return new g("Invalid " + G + " `" + V + "` of type " + ("`" + X + "` supplied to `" + q + "`, expected an object."));
1069
+ for (var te in K)
1070
+ if (r(K, te)) {
1071
+ var J = O(K, te, q, G, V + "." + te, n);
1072
+ if (J instanceof Error)
1073
+ return J;
1074
1074
  }
1075
1075
  return null;
1076
1076
  }
1077
1077
  return h(P);
1078
1078
  }
1079
- function q(O) {
1079
+ function U(O) {
1080
1080
  if (!Array.isArray(O))
1081
1081
  return process.env.NODE_ENV !== "production" && a("Invalid argument supplied to oneOfType, expected an instance of array."), o;
1082
1082
  for (var P = 0; P < O.length; P++) {
@@ -1086,62 +1086,62 @@ function zc() {
1086
1086
  "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + re(D) + " at index " + P + "."
1087
1087
  ), o;
1088
1088
  }
1089
- function j($, J, W, G, Z) {
1090
- for (var ne = [], Q = 0; Q < O.length; Q++) {
1091
- var I = O[Q], S = I($, J, W, G, Z, n);
1089
+ function j(q, G, V, K, X) {
1090
+ for (var te = [], J = 0; J < O.length; J++) {
1091
+ var L = O[J], S = L(q, G, V, K, X, n);
1092
1092
  if (S == null)
1093
1093
  return null;
1094
- S.data && r(S.data, "expectedType") && ne.push(S.data.expectedType);
1094
+ S.data && r(S.data, "expectedType") && te.push(S.data.expectedType);
1095
1095
  }
1096
- var Ee = ne.length > 0 ? ", expected one of type [" + ne.join(", ") + "]" : "";
1097
- return new g("Invalid " + G + " `" + Z + "` supplied to " + ("`" + W + "`" + Ee + "."));
1096
+ var Ee = te.length > 0 ? ", expected one of type [" + te.join(", ") + "]" : "";
1097
+ return new g("Invalid " + K + " `" + X + "` supplied to " + ("`" + V + "`" + Ee + "."));
1098
1098
  }
1099
1099
  return h(j);
1100
1100
  }
1101
1101
  function H() {
1102
- function O(P, D, j, $, J) {
1103
- return z(P[D]) ? null : new g("Invalid " + $ + " `" + J + "` supplied to " + ("`" + j + "`, expected a ReactNode."));
1102
+ function O(P, D, j, q, G) {
1103
+ return M(P[D]) ? null : new g("Invalid " + q + " `" + G + "` supplied to " + ("`" + j + "`, expected a ReactNode."));
1104
1104
  }
1105
1105
  return h(O);
1106
1106
  }
1107
- function U(O, P, D, j, $) {
1107
+ function F(O, P, D, j, q) {
1108
1108
  return new g(
1109
- (O || "React class") + ": " + P + " type `" + D + "." + j + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + $ + "`."
1109
+ (O || "React class") + ": " + P + " type `" + D + "." + j + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + q + "`."
1110
1110
  );
1111
1111
  }
1112
- function V(O) {
1113
- function P(D, j, $, J, W) {
1114
- var G = D[j], Z = K(G);
1115
- if (Z !== "object")
1116
- return new g("Invalid " + J + " `" + W + "` of type `" + Z + "` " + ("supplied to `" + $ + "`, expected `object`."));
1117
- for (var ne in O) {
1118
- var Q = O[ne];
1119
- if (typeof Q != "function")
1120
- return U($, J, W, ne, ce(Q));
1121
- var I = Q(G, ne, $, J, W + "." + ne, n);
1122
- if (I)
1123
- return I;
1112
+ function ne(O) {
1113
+ function P(D, j, q, G, V) {
1114
+ var K = D[j], X = Y(K);
1115
+ if (X !== "object")
1116
+ return new g("Invalid " + G + " `" + V + "` of type `" + X + "` " + ("supplied to `" + q + "`, expected `object`."));
1117
+ for (var te in O) {
1118
+ var J = O[te];
1119
+ if (typeof J != "function")
1120
+ return F(q, G, V, te, ce(J));
1121
+ var L = J(K, te, q, G, V + "." + te, n);
1122
+ if (L)
1123
+ return L;
1124
1124
  }
1125
1125
  return null;
1126
1126
  }
1127
1127
  return h(P);
1128
1128
  }
1129
1129
  function R(O) {
1130
- function P(D, j, $, J, W) {
1131
- var G = D[j], Z = K(G);
1132
- if (Z !== "object")
1133
- return new g("Invalid " + J + " `" + W + "` of type `" + Z + "` " + ("supplied to `" + $ + "`, expected `object`."));
1134
- var ne = t({}, D[j], O);
1135
- for (var Q in ne) {
1136
- var I = O[Q];
1137
- if (r(O, Q) && typeof I != "function")
1138
- return U($, J, W, Q, ce(I));
1139
- if (!I)
1130
+ function P(D, j, q, G, V) {
1131
+ var K = D[j], X = Y(K);
1132
+ if (X !== "object")
1133
+ return new g("Invalid " + G + " `" + V + "` of type `" + X + "` " + ("supplied to `" + q + "`, expected `object`."));
1134
+ var te = t({}, D[j], O);
1135
+ for (var J in te) {
1136
+ var L = O[J];
1137
+ if (r(O, J) && typeof L != "function")
1138
+ return F(q, G, V, J, ce(L));
1139
+ if (!L)
1140
1140
  return new g(
1141
- "Invalid " + J + " `" + W + "` key `" + Q + "` supplied to `" + $ + "`.\nBad object: " + JSON.stringify(D[j], null, " ") + `
1141
+ "Invalid " + G + " `" + V + "` key `" + J + "` supplied to `" + q + "`.\nBad object: " + JSON.stringify(D[j], null, " ") + `
1142
1142
  Valid keys: ` + JSON.stringify(Object.keys(O), null, " ")
1143
1143
  );
1144
- var S = I(G, Q, $, J, W + "." + Q, n);
1144
+ var S = L(K, J, q, G, V + "." + J, n);
1145
1145
  if (S)
1146
1146
  return S;
1147
1147
  }
@@ -1149,7 +1149,7 @@ Valid keys: ` + JSON.stringify(Object.keys(O), null, " ")
1149
1149
  }
1150
1150
  return h(P);
1151
1151
  }
1152
- function z(O) {
1152
+ function M(O) {
1153
1153
  switch (typeof O) {
1154
1154
  case "number":
1155
1155
  case "string":
@@ -1159,7 +1159,7 @@ Valid keys: ` + JSON.stringify(Object.keys(O), null, " ")
1159
1159
  return !O;
1160
1160
  case "object":
1161
1161
  if (Array.isArray(O))
1162
- return O.every(z);
1162
+ return O.every(M);
1163
1163
  if (O === null || s(O))
1164
1164
  return !0;
1165
1165
  var P = f(O);
@@ -1167,12 +1167,12 @@ Valid keys: ` + JSON.stringify(Object.keys(O), null, " ")
1167
1167
  var D = P.call(O), j;
1168
1168
  if (P !== O.entries) {
1169
1169
  for (; !(j = D.next()).done; )
1170
- if (!z(j.value))
1170
+ if (!M(j.value))
1171
1171
  return !1;
1172
1172
  } else
1173
1173
  for (; !(j = D.next()).done; ) {
1174
- var $ = j.value;
1175
- if ($ && !z($[1]))
1174
+ var q = j.value;
1175
+ if (q && !M(q[1]))
1176
1176
  return !1;
1177
1177
  }
1178
1178
  } else
@@ -1182,17 +1182,17 @@ Valid keys: ` + JSON.stringify(Object.keys(O), null, " ")
1182
1182
  return !1;
1183
1183
  }
1184
1184
  }
1185
- function ee(O, P) {
1185
+ function Z(O, P) {
1186
1186
  return O === "symbol" ? !0 : P ? P["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && P instanceof Symbol : !1;
1187
1187
  }
1188
- function K(O) {
1188
+ function Y(O) {
1189
1189
  var P = typeof O;
1190
- return Array.isArray(O) ? "array" : O instanceof RegExp ? "object" : ee(P, O) ? "symbol" : P;
1190
+ return Array.isArray(O) ? "array" : O instanceof RegExp ? "object" : Z(P, O) ? "symbol" : P;
1191
1191
  }
1192
1192
  function ce(O) {
1193
1193
  if (typeof O > "u" || O === null)
1194
1194
  return "" + O;
1195
- var P = K(O);
1195
+ var P = Y(O);
1196
1196
  if (P === "object") {
1197
1197
  if (O instanceof Date)
1198
1198
  return "date";
@@ -1280,7 +1280,7 @@ function $c() {
1280
1280
  return On.exports;
1281
1281
  }
1282
1282
  var qc = /* @__PURE__ */ $c();
1283
- const F = /* @__PURE__ */ yo(qc);
1283
+ const I = /* @__PURE__ */ yo(qc);
1284
1284
  var lt = /* @__PURE__ */ qe.createContext(null);
1285
1285
  process.env.NODE_ENV !== "production" && (lt.displayName = "ReactRedux");
1286
1286
  function Uc(e) {
@@ -1383,13 +1383,13 @@ function To(e) {
1383
1383
  }, r);
1384
1384
  }
1385
1385
  process.env.NODE_ENV !== "production" && (To.propTypes = {
1386
- store: F.shape({
1387
- subscribe: F.func.isRequired,
1388
- dispatch: F.func.isRequired,
1389
- getState: F.func.isRequired
1386
+ store: I.shape({
1387
+ subscribe: I.func.isRequired,
1388
+ dispatch: I.func.isRequired,
1389
+ getState: I.func.isRequired
1390
1390
  }),
1391
- context: F.object,
1392
- children: F.any
1391
+ context: I.object,
1392
+ children: I.any
1393
1393
  });
1394
1394
  function Vn() {
1395
1395
  return Vn = Object.assign ? Object.assign.bind() : function(e) {
@@ -1533,7 +1533,7 @@ function Kc() {
1533
1533
  }
1534
1534
  }
1535
1535
  }
1536
- var p = c, k = u, N = s, _ = o, q = t, H = l, U = r, V = v, R = w, z = n, ee = a, K = i, ce = f, re = !1;
1536
+ var p = c, k = u, N = s, _ = o, U = t, H = l, F = r, ne = v, R = w, M = n, Z = a, Y = i, ce = f, re = !1;
1537
1537
  function ae(S) {
1538
1538
  return re || (re = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), O(S) || b(S) === c;
1539
1539
  }
@@ -1549,31 +1549,31 @@ function Kc() {
1549
1549
  function j(S) {
1550
1550
  return typeof S == "object" && S !== null && S.$$typeof === t;
1551
1551
  }
1552
- function $(S) {
1552
+ function q(S) {
1553
1553
  return b(S) === l;
1554
1554
  }
1555
- function J(S) {
1555
+ function G(S) {
1556
1556
  return b(S) === r;
1557
1557
  }
1558
- function W(S) {
1558
+ function V(S) {
1559
1559
  return b(S) === v;
1560
1560
  }
1561
- function G(S) {
1561
+ function K(S) {
1562
1562
  return b(S) === w;
1563
1563
  }
1564
- function Z(S) {
1564
+ function X(S) {
1565
1565
  return b(S) === n;
1566
1566
  }
1567
- function ne(S) {
1567
+ function te(S) {
1568
1568
  return b(S) === a;
1569
1569
  }
1570
- function Q(S) {
1570
+ function J(S) {
1571
1571
  return b(S) === i;
1572
1572
  }
1573
- function I(S) {
1573
+ function L(S) {
1574
1574
  return b(S) === f;
1575
1575
  }
1576
- fe.AsyncMode = p, fe.ConcurrentMode = k, fe.ContextConsumer = N, fe.ContextProvider = _, fe.Element = q, fe.ForwardRef = H, fe.Fragment = U, fe.Lazy = V, fe.Memo = R, fe.Portal = z, fe.Profiler = ee, fe.StrictMode = K, fe.Suspense = ce, fe.isAsyncMode = ae, fe.isConcurrentMode = O, fe.isContextConsumer = P, fe.isContextProvider = D, fe.isElement = j, fe.isForwardRef = $, fe.isFragment = J, fe.isLazy = W, fe.isMemo = G, fe.isPortal = Z, fe.isProfiler = ne, fe.isStrictMode = Q, fe.isSuspense = I, fe.isValidElementType = C, fe.typeOf = b;
1576
+ fe.AsyncMode = p, fe.ConcurrentMode = k, fe.ContextConsumer = N, fe.ContextProvider = _, fe.Element = U, fe.ForwardRef = H, fe.Fragment = F, fe.Lazy = ne, fe.Memo = R, fe.Portal = M, fe.Profiler = Z, fe.StrictMode = Y, fe.Suspense = ce, fe.isAsyncMode = ae, fe.isConcurrentMode = O, fe.isContextConsumer = P, fe.isContextProvider = D, fe.isElement = j, fe.isForwardRef = q, fe.isFragment = G, fe.isLazy = V, fe.isMemo = K, fe.isPortal = X, fe.isProfiler = te, fe.isStrictMode = J, fe.isSuspense = L, fe.isValidElementType = C, fe.typeOf = b;
1577
1577
  })()), fe;
1578
1578
  }
1579
1579
  var na;
@@ -1667,8 +1667,8 @@ function Qc() {
1667
1667
  }
1668
1668
  function T(R) {
1669
1669
  if (typeof R == "object" && R !== null) {
1670
- var z = R.$$typeof;
1671
- switch (z) {
1670
+ var M = R.$$typeof;
1671
+ switch (M) {
1672
1672
  case e:
1673
1673
  switch (R = R.type, R) {
1674
1674
  case n:
@@ -1686,16 +1686,16 @@ function Qc() {
1686
1686
  case a:
1687
1687
  return R;
1688
1688
  default:
1689
- return z;
1689
+ return M;
1690
1690
  }
1691
1691
  }
1692
1692
  case t:
1693
- return z;
1693
+ return M;
1694
1694
  }
1695
1695
  }
1696
1696
  }
1697
- var C = a, b = e, p = s, k = n, N = f, _ = l, q = t, H = i, U = r, V = c;
1698
- return ve.ContextConsumer = o, ve.ContextProvider = C, ve.Element = b, ve.ForwardRef = p, ve.Fragment = k, ve.Lazy = N, ve.Memo = _, ve.Portal = q, ve.Profiler = H, ve.StrictMode = U, ve.Suspense = V, ve.isAsyncMode = function() {
1697
+ var C = a, b = e, p = s, k = n, N = f, _ = l, U = t, H = i, F = r, ne = c;
1698
+ return ve.ContextConsumer = o, ve.ContextProvider = C, ve.Element = b, ve.ForwardRef = p, ve.Fragment = k, ve.Lazy = N, ve.Memo = _, ve.Portal = U, ve.Profiler = H, ve.StrictMode = F, ve.Suspense = ne, ve.isAsyncMode = function() {
1699
1699
  return !1;
1700
1700
  }, ve.isConcurrentMode = function() {
1701
1701
  return !1;
@@ -1743,15 +1743,15 @@ function Xc() {
1743
1743
  e = x("react.element"), t = x("react.portal"), n = x("react.fragment"), r = x("react.strict_mode"), i = x("react.profiler"), a = x("react.provider"), o = x("react.context"), s = x("react.forward_ref"), c = x("react.suspense"), u = x("react.suspense_list"), l = x("react.memo"), f = x("react.lazy"), y = x("react.block"), w = x("react.server.block"), v = x("react.fundamental"), x("react.scope"), x("react.opaque.id"), g = x("react.debug_trace_mode"), x("react.offscreen"), h = x("react.legacy_hidden");
1744
1744
  }
1745
1745
  var T = !1;
1746
- function C(I) {
1747
- return !!(typeof I == "string" || typeof I == "function" || I === n || I === i || I === g || I === r || I === c || I === u || I === h || T || typeof I == "object" && I !== null && (I.$$typeof === f || I.$$typeof === l || I.$$typeof === a || I.$$typeof === o || I.$$typeof === s || I.$$typeof === v || I.$$typeof === y || I[0] === w));
1746
+ function C(L) {
1747
+ return !!(typeof L == "string" || typeof L == "function" || L === n || L === i || L === g || L === r || L === c || L === u || L === h || T || typeof L == "object" && L !== null && (L.$$typeof === f || L.$$typeof === l || L.$$typeof === a || L.$$typeof === o || L.$$typeof === s || L.$$typeof === v || L.$$typeof === y || L[0] === w));
1748
1748
  }
1749
- function b(I) {
1750
- if (typeof I == "object" && I !== null) {
1751
- var S = I.$$typeof;
1749
+ function b(L) {
1750
+ if (typeof L == "object" && L !== null) {
1751
+ var S = L.$$typeof;
1752
1752
  switch (S) {
1753
1753
  case e:
1754
- var Ee = I.type;
1754
+ var Ee = L.type;
1755
1755
  switch (Ee) {
1756
1756
  case n:
1757
1757
  case i:
@@ -1777,47 +1777,47 @@ function Xc() {
1777
1777
  }
1778
1778
  }
1779
1779
  }
1780
- var p = o, k = a, N = e, _ = s, q = n, H = f, U = l, V = t, R = i, z = r, ee = c, K = !1, ce = !1;
1781
- function re(I) {
1782
- return K || (K = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1;
1780
+ var p = o, k = a, N = e, _ = s, U = n, H = f, F = l, ne = t, R = i, M = r, Z = c, Y = !1, ce = !1;
1781
+ function re(L) {
1782
+ return Y || (Y = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1;
1783
1783
  }
1784
- function ae(I) {
1784
+ function ae(L) {
1785
1785
  return ce || (ce = !0, console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")), !1;
1786
1786
  }
1787
- function O(I) {
1788
- return b(I) === o;
1787
+ function O(L) {
1788
+ return b(L) === o;
1789
1789
  }
1790
- function P(I) {
1791
- return b(I) === a;
1790
+ function P(L) {
1791
+ return b(L) === a;
1792
1792
  }
1793
- function D(I) {
1794
- return typeof I == "object" && I !== null && I.$$typeof === e;
1793
+ function D(L) {
1794
+ return typeof L == "object" && L !== null && L.$$typeof === e;
1795
1795
  }
1796
- function j(I) {
1797
- return b(I) === s;
1796
+ function j(L) {
1797
+ return b(L) === s;
1798
1798
  }
1799
- function $(I) {
1800
- return b(I) === n;
1799
+ function q(L) {
1800
+ return b(L) === n;
1801
1801
  }
1802
- function J(I) {
1803
- return b(I) === f;
1802
+ function G(L) {
1803
+ return b(L) === f;
1804
1804
  }
1805
- function W(I) {
1806
- return b(I) === l;
1805
+ function V(L) {
1806
+ return b(L) === l;
1807
1807
  }
1808
- function G(I) {
1809
- return b(I) === t;
1808
+ function K(L) {
1809
+ return b(L) === t;
1810
1810
  }
1811
- function Z(I) {
1812
- return b(I) === i;
1811
+ function X(L) {
1812
+ return b(L) === i;
1813
1813
  }
1814
- function ne(I) {
1815
- return b(I) === r;
1814
+ function te(L) {
1815
+ return b(L) === r;
1816
1816
  }
1817
- function Q(I) {
1818
- return b(I) === c;
1817
+ function J(L) {
1818
+ return b(L) === c;
1819
1819
  }
1820
- he.ContextConsumer = p, he.ContextProvider = k, he.Element = N, he.ForwardRef = _, he.Fragment = q, he.Lazy = H, he.Memo = U, he.Portal = V, he.Profiler = R, he.StrictMode = z, he.Suspense = ee, he.isAsyncMode = re, he.isConcurrentMode = ae, he.isContextConsumer = O, he.isContextProvider = P, he.isElement = D, he.isForwardRef = j, he.isFragment = $, he.isLazy = J, he.isMemo = W, he.isPortal = G, he.isProfiler = Z, he.isStrictMode = ne, he.isSuspense = Q, he.isValidElementType = C, he.typeOf = b;
1820
+ he.ContextConsumer = p, he.ContextProvider = k, he.Element = N, he.ForwardRef = _, he.Fragment = U, he.Lazy = H, he.Memo = F, he.Portal = ne, he.Profiler = R, he.StrictMode = M, he.Suspense = Z, he.isAsyncMode = re, he.isConcurrentMode = ae, he.isContextConsumer = O, he.isContextProvider = P, he.isElement = D, he.isForwardRef = j, he.isFragment = q, he.isLazy = G, he.isMemo = V, he.isPortal = K, he.isProfiler = X, he.isStrictMode = te, he.isSuspense = J, he.isValidElementType = C, he.typeOf = b;
1821
1821
  })()), he;
1822
1822
  }
1823
1823
  var oa;
@@ -2004,21 +2004,21 @@ function cl(e) {
2004
2004
  h || (w ? _() : N());
2005
2005
  }, [h]);
2006
2006
  function p() {
2007
- var q = g.current;
2008
- C.current = q.className, q.className += " " + x, q.addEventListener("animationend", k);
2007
+ var U = g.current;
2008
+ C.current = U.className, U.className += " " + x, U.addEventListener("animationend", k);
2009
2009
  }
2010
2010
  function k() {
2011
- var q = g.current;
2012
- q.removeEventListener("animationend", k), b.current === 0 && (q.className = C.current);
2011
+ var U = g.current;
2012
+ U.removeEventListener("animationend", k), b.current === 0 && (U.className = C.current);
2013
2013
  }
2014
2014
  function N() {
2015
2015
  b.current = 1;
2016
- var q = g.current;
2017
- q.className += " " + T, q.addEventListener("animationend", _);
2016
+ var U = g.current;
2017
+ U.className += " " + T, U.addEventListener("animationend", _);
2018
2018
  }
2019
2019
  function _() {
2020
- var q = g.current;
2021
- q.removeEventListener("animationend", _), o ? sl(q, v, c) : v();
2020
+ var U = g.current;
2021
+ U.removeEventListener("animationend", _), o ? sl(U, v, c) : v();
2022
2022
  }
2023
2023
  return qe.createElement(qe.Fragment, null, f);
2024
2024
  };
@@ -2150,59 +2150,59 @@ function ul(e) {
2150
2150
  function h(b, p) {
2151
2151
  var k = p.delay, N = p.staleId, _ = al(p, ["delay", "staleId"]);
2152
2152
  if (!(!Pr(b) || g(_))) {
2153
- var q = _.toastId, H = _.updateId, U = l.props, V = function() {
2154
- return w(q);
2153
+ var U = _.toastId, H = _.updateId, F = l.props, ne = function() {
2154
+ return w(U);
2155
2155
  }, R = _.updateId == null;
2156
2156
  R && s++;
2157
- var z = {
2158
- toastId: q,
2157
+ var M = {
2158
+ toastId: U,
2159
2159
  updateId: H,
2160
2160
  isIn: !1,
2161
2161
  key: _.key || l.toastKey++,
2162
2162
  type: _.type,
2163
- closeToast: V,
2163
+ closeToast: ne,
2164
2164
  closeButton: _.closeButton,
2165
- rtl: U.rtl,
2166
- position: _.position || U.position,
2167
- transition: _.transition || U.transition,
2168
- className: In(_.className || U.toastClassName),
2169
- bodyClassName: In(_.bodyClassName || U.bodyClassName),
2170
- style: _.style || U.toastStyle,
2171
- bodyStyle: _.bodyStyle || U.bodyStyle,
2172
- onClick: _.onClick || U.onClick,
2173
- pauseOnHover: tn(_.pauseOnHover) ? _.pauseOnHover : U.pauseOnHover,
2174
- pauseOnFocusLoss: tn(_.pauseOnFocusLoss) ? _.pauseOnFocusLoss : U.pauseOnFocusLoss,
2175
- draggable: tn(_.draggable) ? _.draggable : U.draggable,
2176
- draggablePercent: ln(_.draggablePercent) ? _.draggablePercent : U.draggablePercent,
2177
- draggableDirection: _.draggableDirection || U.draggableDirection,
2178
- closeOnClick: tn(_.closeOnClick) ? _.closeOnClick : U.closeOnClick,
2179
- progressClassName: In(_.progressClassName || U.progressClassName),
2180
- progressStyle: _.progressStyle || U.progressStyle,
2181
- autoClose: ol(_.autoClose, U.autoClose),
2182
- hideProgressBar: tn(_.hideProgressBar) ? _.hideProgressBar : U.hideProgressBar,
2165
+ rtl: F.rtl,
2166
+ position: _.position || F.position,
2167
+ transition: _.transition || F.transition,
2168
+ className: In(_.className || F.toastClassName),
2169
+ bodyClassName: In(_.bodyClassName || F.bodyClassName),
2170
+ style: _.style || F.toastStyle,
2171
+ bodyStyle: _.bodyStyle || F.bodyStyle,
2172
+ onClick: _.onClick || F.onClick,
2173
+ pauseOnHover: tn(_.pauseOnHover) ? _.pauseOnHover : F.pauseOnHover,
2174
+ pauseOnFocusLoss: tn(_.pauseOnFocusLoss) ? _.pauseOnFocusLoss : F.pauseOnFocusLoss,
2175
+ draggable: tn(_.draggable) ? _.draggable : F.draggable,
2176
+ draggablePercent: ln(_.draggablePercent) ? _.draggablePercent : F.draggablePercent,
2177
+ draggableDirection: _.draggableDirection || F.draggableDirection,
2178
+ closeOnClick: tn(_.closeOnClick) ? _.closeOnClick : F.closeOnClick,
2179
+ progressClassName: In(_.progressClassName || F.progressClassName),
2180
+ progressStyle: _.progressStyle || F.progressStyle,
2181
+ autoClose: ol(_.autoClose, F.autoClose),
2182
+ hideProgressBar: tn(_.hideProgressBar) ? _.hideProgressBar : F.hideProgressBar,
2183
2183
  progress: _.progress,
2184
- role: un(_.role) ? _.role : U.role,
2184
+ role: un(_.role) ? _.role : F.role,
2185
2185
  deleteToast: function() {
2186
- T(q);
2186
+ T(U);
2187
2187
  }
2188
2188
  };
2189
- Ue(_.onOpen) && (z.onOpen = _.onOpen), Ue(_.onClose) && (z.onClose = _.onClose), z.draggableDirection === "y" && z.draggablePercent === 80 && (z.draggablePercent *= 1.5);
2190
- var ee = U.closeButton;
2191
- _.closeButton === !1 || Pr(_.closeButton) ? ee = _.closeButton : _.closeButton === !0 && (ee = Pr(U.closeButton) ? U.closeButton : !0), z.closeButton = ee;
2192
- var K = b;
2193
- cn(b) && !un(b.type) ? K = xo(b, {
2194
- closeToast: V,
2195
- toastProps: z
2196
- }) : Ue(b) && (K = b({
2197
- closeToast: V,
2198
- toastProps: z
2199
- })), U.limit && U.limit > 0 && s > U.limit && R ? c.push({
2200
- toastContent: K,
2201
- toastProps: z,
2189
+ Ue(_.onOpen) && (M.onOpen = _.onOpen), Ue(_.onClose) && (M.onClose = _.onClose), M.draggableDirection === "y" && M.draggablePercent === 80 && (M.draggablePercent *= 1.5);
2190
+ var Z = F.closeButton;
2191
+ _.closeButton === !1 || Pr(_.closeButton) ? Z = _.closeButton : _.closeButton === !0 && (Z = Pr(F.closeButton) ? F.closeButton : !0), M.closeButton = Z;
2192
+ var Y = b;
2193
+ cn(b) && !un(b.type) ? Y = xo(b, {
2194
+ closeToast: ne,
2195
+ toastProps: M
2196
+ }) : Ue(b) && (Y = b({
2197
+ closeToast: ne,
2198
+ toastProps: M
2199
+ })), F.limit && F.limit > 0 && s > F.limit && R ? c.push({
2200
+ toastContent: Y,
2201
+ toastProps: M,
2202
2202
  staleId: N
2203
2203
  }) : ln(k) && k > 0 ? setTimeout(function() {
2204
- x(K, z, N);
2205
- }, k) : x(K, z, N);
2204
+ x(Y, M, N);
2205
+ }, k) : x(Y, M, N);
2206
2206
  }
2207
2207
  }
2208
2208
  function x(b, p, k) {
@@ -2234,8 +2234,8 @@ function ul(e) {
2234
2234
  }
2235
2235
  function C(b) {
2236
2236
  for (var p = {}, k = e.newestOnTop ? Object.keys(u).reverse() : Object.keys(u), N = 0; N < k.length; N++) {
2237
- var _ = u[k[N]], q = _.props.position;
2238
- p[q] || (p[q] = []), p[q].push(_);
2237
+ var _ = u[k[N]], U = _.props.position;
2238
+ p[U] || (p[U] = []), p[U].push(_);
2239
2239
  }
2240
2240
  return Object.keys(p).map(function(H) {
2241
2241
  return b(H, p[H]);
@@ -2280,14 +2280,14 @@ function pl(e) {
2280
2280
  }, [e.pauseOnFocusLoss]);
2281
2281
  function g(H) {
2282
2282
  if (e.draggable) {
2283
- var U = s.current;
2284
- c.canCloseOnClick = !0, c.canDrag = !0, c.boundingRect = U.getBoundingClientRect(), U.style.transition = "", c.x = sa(H.nativeEvent), c.y = ca(H.nativeEvent), e.draggableDirection === "x" ? (c.start = c.x, c.removalDistance = U.offsetWidth * (e.draggablePercent / 100)) : (c.start = c.y, c.removalDistance = U.offsetHeight * (e.draggablePercent / 100));
2283
+ var F = s.current;
2284
+ c.canCloseOnClick = !0, c.canDrag = !0, c.boundingRect = F.getBoundingClientRect(), F.style.transition = "", c.x = sa(H.nativeEvent), c.y = ca(H.nativeEvent), e.draggableDirection === "x" ? (c.start = c.x, c.removalDistance = F.offsetWidth * (e.draggablePercent / 100)) : (c.start = c.y, c.removalDistance = F.offsetHeight * (e.draggablePercent / 100));
2285
2285
  }
2286
2286
  }
2287
2287
  function h() {
2288
2288
  if (c.boundingRect) {
2289
- var H = c.boundingRect, U = H.top, V = H.bottom, R = H.left, z = H.right;
2290
- e.pauseOnHover && c.x >= R && c.x <= z && c.y >= U && c.y <= V ? T() : x();
2289
+ var H = c.boundingRect, F = H.top, ne = H.bottom, R = H.left, M = H.right;
2290
+ e.pauseOnHover && c.x >= R && c.x <= M && c.y >= F && c.y <= ne ? T() : x();
2291
2291
  }
2292
2292
  }
2293
2293
  function x() {
@@ -2311,8 +2311,8 @@ function pl(e) {
2311
2311
  function N(H) {
2312
2312
  if (c.canDrag) {
2313
2313
  H.preventDefault();
2314
- var U = s.current;
2315
- n && T(), c.x = sa(H), c.y = ca(H), e.draggableDirection === "x" ? c.delta = c.x - c.start : c.delta = c.y - c.start, c.start !== c.x && (c.canCloseOnClick = !1), U.style.transform = "translate" + e.draggableDirection + "(" + c.delta + "px)", U.style.opacity = "" + (1 - Math.abs(c.delta / c.removalDistance));
2314
+ var F = s.current;
2315
+ n && T(), c.x = sa(H), c.y = ca(H), e.draggableDirection === "x" ? c.delta = c.x - c.start : c.delta = c.y - c.start, c.start !== c.x && (c.canCloseOnClick = !1), F.style.transform = "translate" + e.draggableDirection + "(" + c.delta + "px)", F.style.opacity = "" + (1 - Math.abs(c.delta / c.removalDistance));
2316
2316
  }
2317
2317
  }
2318
2318
  function _() {
@@ -2325,13 +2325,13 @@ function pl(e) {
2325
2325
  H.style.transition = "transform 0.2s, opacity 0.2s", H.style.transform = "translate" + e.draggableDirection + "(0)", H.style.opacity = "1";
2326
2326
  }
2327
2327
  }
2328
- var q = {
2328
+ var U = {
2329
2329
  onMouseDown: g,
2330
2330
  onTouchStart: g,
2331
2331
  onMouseUp: h,
2332
2332
  onTouchEnd: h
2333
2333
  };
2334
- return l && f && (q.onMouseEnter = T, q.onMouseLeave = x), v && (q.onClick = function(H) {
2334
+ return l && f && (U.onMouseEnter = T, U.onMouseLeave = x), v && (U.onClick = function(H) {
2335
2335
  w && w(H), c.canCloseOnClick && y();
2336
2336
  }), {
2337
2337
  playToast: x,
@@ -2339,7 +2339,7 @@ function pl(e) {
2339
2339
  isRunning: n,
2340
2340
  preventExitTransition: a,
2341
2341
  toastRef: s,
2342
- eventHandlers: q
2342
+ eventHandlers: U
2343
2343
  };
2344
2344
  }
2345
2345
  function ko(e) {
@@ -2386,12 +2386,12 @@ Po.defaultProps = {
2386
2386
  hide: !1
2387
2387
  };
2388
2388
  var dl = function(t) {
2389
- var n, r = pl(t), i = r.isRunning, a = r.preventExitTransition, o = r.toastRef, s = r.eventHandlers, c = t.closeButton, u = t.children, l = t.autoClose, f = t.onClick, y = t.type, w = t.hideProgressBar, v = t.closeToast, g = t.transition, h = t.position, x = t.className, T = t.style, C = t.bodyClassName, b = t.bodyStyle, p = t.progressClassName, k = t.progressStyle, N = t.updateId, _ = t.role, q = t.progress, H = t.rtl, U = t.toastId, V = t.deleteToast, R = t.isIn, z = Et("Toastify__toast", "Toastify__toast--" + y, (n = {}, n["Toastify__toast--rtl"] = H, n)), ee = Ue(x) ? x({
2389
+ var n, r = pl(t), i = r.isRunning, a = r.preventExitTransition, o = r.toastRef, s = r.eventHandlers, c = t.closeButton, u = t.children, l = t.autoClose, f = t.onClick, y = t.type, w = t.hideProgressBar, v = t.closeToast, g = t.transition, h = t.position, x = t.className, T = t.style, C = t.bodyClassName, b = t.bodyStyle, p = t.progressClassName, k = t.progressStyle, N = t.updateId, _ = t.role, U = t.progress, H = t.rtl, F = t.toastId, ne = t.deleteToast, R = t.isIn, M = Et("Toastify__toast", "Toastify__toast--" + y, (n = {}, n["Toastify__toast--rtl"] = H, n)), Z = Ue(x) ? x({
2390
2390
  rtl: H,
2391
2391
  position: h,
2392
2392
  type: y,
2393
- defaultClassName: z
2394
- }) : Et(z, x), K = !!q;
2393
+ defaultClassName: M
2394
+ }) : Et(M, x), Y = !!U;
2395
2395
  function ce(re) {
2396
2396
  if (re) {
2397
2397
  var ae = {
@@ -2404,14 +2404,14 @@ var dl = function(t) {
2404
2404
  }
2405
2405
  return Ge(g, {
2406
2406
  isIn: R,
2407
- done: V,
2407
+ done: ne,
2408
2408
  position: h,
2409
2409
  preventExitTransition: a,
2410
2410
  nodeRef: o
2411
2411
  }, Ge("div", Object.assign({
2412
- id: U,
2412
+ id: F,
2413
2413
  onClick: f,
2414
- className: ee
2414
+ className: Z
2415
2415
  }, s, {
2416
2416
  style: T,
2417
2417
  ref: o
@@ -2422,7 +2422,7 @@ var dl = function(t) {
2422
2422
  type: y
2423
2423
  }) : Et("Toastify__toast-body", C),
2424
2424
  style: b
2425
- }), u), ce(c), (l || K) && Ge(Po, Object.assign({}, N && !K ? {
2425
+ }), u), ce(c), (l || Y) && Ge(Po, Object.assign({}, N && !Y ? {
2426
2426
  key: "pb-" + N
2427
2427
  } : {}, {
2428
2428
  rtl: H,
@@ -2434,8 +2434,8 @@ var dl = function(t) {
2434
2434
  type: y,
2435
2435
  style: k,
2436
2436
  className: p,
2437
- controlledProgress: K,
2438
- progress: q
2437
+ controlledProgress: Y,
2438
+ progress: U
2439
2439
  }))));
2440
2440
  }, fl = /* @__PURE__ */ cl({
2441
2441
  enter: "Toastify--animate Toastify__bounce-enter",
@@ -2959,10 +2959,10 @@ const Zl = (e) => {
2959
2959
  asap: nu,
2960
2960
  isIterable: ru
2961
2961
  };
2962
- function te(e, t, n, r, i) {
2962
+ function ee(e, t, n, r, i) {
2963
2963
  Error.call(this), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack, this.message = e, this.name = "AxiosError", t && (this.code = t), n && (this.config = n), r && (this.request = r), i && (this.response = i, this.status = i.status ? i.status : null);
2964
2964
  }
2965
- E.inherits(te, Error, {
2965
+ E.inherits(ee, Error, {
2966
2966
  toJSON: function() {
2967
2967
  return {
2968
2968
  // Standard
@@ -2983,7 +2983,7 @@ E.inherits(te, Error, {
2983
2983
  };
2984
2984
  }
2985
2985
  });
2986
- const Ho = te.prototype, Vo = {};
2986
+ const Ho = ee.prototype, Vo = {};
2987
2987
  [
2988
2988
  "ERR_BAD_OPTION_VALUE",
2989
2989
  "ERR_BAD_OPTION",
@@ -3001,15 +3001,15 @@ const Ho = te.prototype, Vo = {};
3001
3001
  ].forEach((e) => {
3002
3002
  Vo[e] = { value: e };
3003
3003
  });
3004
- Object.defineProperties(te, Vo);
3004
+ Object.defineProperties(ee, Vo);
3005
3005
  Object.defineProperty(Ho, "isAxiosError", { value: !0 });
3006
- te.from = (e, t, n, r, i, a) => {
3006
+ ee.from = (e, t, n, r, i, a) => {
3007
3007
  const o = Object.create(Ho);
3008
3008
  E.toFlatObject(e, o, function(l) {
3009
3009
  return l !== Error.prototype;
3010
3010
  }, (u) => u !== "isAxiosError");
3011
3011
  const s = e && e.message ? e.message : "Error", c = t == null && e ? e.code : t;
3012
- return te.call(o, s, c, n, r, i), e && o.cause == null && Object.defineProperty(o, "cause", { value: e, configurable: !0 }), o.name = e && e.name || "Error", a && Object.assign(o, a), o;
3012
+ return ee.call(o, s, c, n, r, i), e && o.cause == null && Object.defineProperty(o, "cause", { value: e, configurable: !0 }), o.name = e && e.name || "Error", a && Object.assign(o, a), o;
3013
3013
  };
3014
3014
  const iu = null;
3015
3015
  function Gr(e) {
@@ -3049,7 +3049,7 @@ function lr(e, t, n) {
3049
3049
  if (E.isBoolean(v))
3050
3050
  return v.toString();
3051
3051
  if (!c && E.isBlob(v))
3052
- throw new te("Blob is not supported. Use a Buffer instead.");
3052
+ throw new ee("Blob is not supported. Use a Buffer instead.");
3053
3053
  return E.isArrayBuffer(v) || E.isTypedArray(v) ? c && typeof Blob == "function" ? new Blob([v]) : Buffer.from(v) : v;
3054
3054
  }
3055
3055
  function l(v, g, h) {
@@ -3300,7 +3300,7 @@ const yn = {
3300
3300
  return JSON.parse(t, this.parseReviver);
3301
3301
  } catch (s) {
3302
3302
  if (o)
3303
- throw s.name === "SyntaxError" ? te.from(s, te.ERR_BAD_RESPONSE, this, null, this.response) : s;
3303
+ throw s.name === "SyntaxError" ? ee.from(s, ee.ERR_BAD_RESPONSE, this, null, this.response) : s;
3304
3304
  }
3305
3305
  }
3306
3306
  return t;
@@ -3543,16 +3543,16 @@ function Qo(e) {
3543
3543
  return !!(e && e.__CANCEL__);
3544
3544
  }
3545
3545
  function Ht(e, t, n) {
3546
- te.call(this, e ?? "canceled", te.ERR_CANCELED, t, n), this.name = "CanceledError";
3546
+ ee.call(this, e ?? "canceled", ee.ERR_CANCELED, t, n), this.name = "CanceledError";
3547
3547
  }
3548
- E.inherits(Ht, te, {
3548
+ E.inherits(Ht, ee, {
3549
3549
  __CANCEL__: !0
3550
3550
  });
3551
3551
  function Xo(e, t, n) {
3552
3552
  const r = n.config.validateStatus;
3553
- !n.status || !r || r(n.status) ? e(n) : t(new te(
3553
+ !n.status || !r || r(n.status) ? e(n) : t(new ee(
3554
3554
  "Request failed with status code " + n.status,
3555
- [te.ERR_BAD_REQUEST, te.ERR_BAD_RESPONSE][Math.floor(n.status / 100) - 4],
3555
+ [ee.ERR_BAD_REQUEST, ee.ERR_BAD_RESPONSE][Math.floor(n.status / 100) - 4],
3556
3556
  n.config,
3557
3557
  n.request,
3558
3558
  n
@@ -3775,16 +3775,16 @@ const es = (e) => {
3775
3775
  "onloadend" in h ? h.onloadend = x : h.onreadystatechange = function() {
3776
3776
  !h || h.readyState !== 4 || h.status === 0 && !(h.responseURL && h.responseURL.indexOf("file:") === 0) || setTimeout(x);
3777
3777
  }, h.onabort = function() {
3778
- h && (r(new te("Request aborted", te.ECONNABORTED, e, h)), h = null);
3778
+ h && (r(new ee("Request aborted", ee.ECONNABORTED, e, h)), h = null);
3779
3779
  }, h.onerror = function(b) {
3780
- const p = b && b.message ? b.message : "Network Error", k = new te(p, te.ERR_NETWORK, e, h);
3780
+ const p = b && b.message ? b.message : "Network Error", k = new ee(p, ee.ERR_NETWORK, e, h);
3781
3781
  k.event = b || null, r(k), h = null;
3782
3782
  }, h.ontimeout = function() {
3783
3783
  let b = i.timeout ? "timeout of " + i.timeout + "ms exceeded" : "timeout exceeded";
3784
3784
  const p = i.transitional || Go;
3785
- i.timeoutErrorMessage && (b = i.timeoutErrorMessage), r(new te(
3785
+ i.timeoutErrorMessage && (b = i.timeoutErrorMessage), r(new ee(
3786
3786
  b,
3787
- p.clarifyTimeoutError ? te.ETIMEDOUT : te.ECONNABORTED,
3787
+ p.clarifyTimeoutError ? ee.ETIMEDOUT : ee.ECONNABORTED,
3788
3788
  e,
3789
3789
  h
3790
3790
  )), h = null;
@@ -3795,7 +3795,7 @@ const es = (e) => {
3795
3795
  }, i.cancelToken && i.cancelToken.subscribe(l), i.signal && (i.signal.aborted ? l() : i.signal.addEventListener("abort", l)));
3796
3796
  const T = Cu(i.url);
3797
3797
  if (T && De.protocols.indexOf(T) === -1) {
3798
- r(new te("Unsupported protocol " + T + ":", te.ERR_BAD_REQUEST, e));
3798
+ r(new ee("Unsupported protocol " + T + ":", ee.ERR_BAD_REQUEST, e));
3799
3799
  return;
3800
3800
  }
3801
3801
  h.send(a || null);
@@ -3808,11 +3808,11 @@ const es = (e) => {
3808
3808
  if (!i) {
3809
3809
  i = !0, s();
3810
3810
  const l = u instanceof Error ? u : this.reason;
3811
- r.abort(l instanceof te ? l : new Ht(l instanceof Error ? l.message : l));
3811
+ r.abort(l instanceof ee ? l : new Ht(l instanceof Error ? l.message : l));
3812
3812
  }
3813
3813
  };
3814
3814
  let o = t && setTimeout(() => {
3815
- o = null, a(new te(`timeout ${t} of ms exceeded`, te.ETIMEDOUT));
3815
+ o = null, a(new ee(`timeout ${t} of ms exceeded`, ee.ETIMEDOUT));
3816
3816
  }, t);
3817
3817
  const s = () => {
3818
3818
  e && (o && clearTimeout(o), o = null, e.forEach((u) => {
@@ -3917,7 +3917,7 @@ const es = (e) => {
3917
3917
  let x = g && g[v];
3918
3918
  if (x)
3919
3919
  return x.call(g);
3920
- throw new te(`Response type '${v}' is not supported`, te.ERR_NOT_SUPPORT, h);
3920
+ throw new ee(`Response type '${v}' is not supported`, ee.ERR_NOT_SUPPORT, h);
3921
3921
  });
3922
3922
  });
3923
3923
  const y = async (v) => {
@@ -3950,62 +3950,62 @@ const es = (e) => {
3950
3950
  onUploadProgress: k,
3951
3951
  responseType: N,
3952
3952
  headers: _,
3953
- withCredentials: q = "same-origin",
3953
+ withCredentials: U = "same-origin",
3954
3954
  fetchOptions: H
3955
- } = es(v), U = t || fetch;
3955
+ } = es(v), F = t || fetch;
3956
3956
  N = N ? (N + "").toLowerCase() : "text";
3957
- let V = Fu([T, C && C.toAbortSignal()], b), R = null;
3958
- const z = V && V.unsubscribe && (() => {
3959
- V.unsubscribe();
3957
+ let ne = Fu([T, C && C.toAbortSignal()], b), R = null;
3958
+ const M = ne && ne.unsubscribe && (() => {
3959
+ ne.unsubscribe();
3960
3960
  });
3961
- let ee;
3961
+ let Z;
3962
3962
  try {
3963
- if (k && u && h !== "get" && h !== "head" && (ee = await w(_, x)) !== 0) {
3963
+ if (k && u && h !== "get" && h !== "head" && (Z = await w(_, x)) !== 0) {
3964
3964
  let P = new n(g, {
3965
3965
  method: "POST",
3966
3966
  body: x,
3967
3967
  duplex: "half"
3968
3968
  }), D;
3969
3969
  if (E.isFormData(x) && (D = P.headers.get("content-type")) && _.setContentType(D), P.body) {
3970
- const [j, $] = ma(
3971
- ee,
3970
+ const [j, q] = ma(
3971
+ Z,
3972
3972
  Kn(va(k))
3973
3973
  );
3974
- x = ga(P.body, xa, j, $);
3974
+ x = ga(P.body, xa, j, q);
3975
3975
  }
3976
3976
  }
3977
- E.isString(q) || (q = q ? "include" : "omit");
3978
- const K = a && "credentials" in n.prototype, ce = {
3977
+ E.isString(U) || (U = U ? "include" : "omit");
3978
+ const Y = a && "credentials" in n.prototype, ce = {
3979
3979
  ...H,
3980
- signal: V,
3980
+ signal: ne,
3981
3981
  method: h.toUpperCase(),
3982
3982
  headers: _.normalize().toJSON(),
3983
3983
  body: x,
3984
3984
  duplex: "half",
3985
- credentials: K ? q : void 0
3985
+ credentials: Y ? U : void 0
3986
3986
  };
3987
3987
  R = a && new n(g, ce);
3988
- let re = await (a ? U(R, H) : U(g, ce));
3988
+ let re = await (a ? F(R, H) : F(g, ce));
3989
3989
  const ae = l && (N === "stream" || N === "response");
3990
- if (l && (p || ae && z)) {
3990
+ if (l && (p || ae && M)) {
3991
3991
  const P = {};
3992
- ["status", "statusText", "headers"].forEach((J) => {
3993
- P[J] = re[J];
3992
+ ["status", "statusText", "headers"].forEach((G) => {
3993
+ P[G] = re[G];
3994
3994
  });
3995
- const D = E.toFiniteNumber(re.headers.get("content-length")), [j, $] = p && ma(
3995
+ const D = E.toFiniteNumber(re.headers.get("content-length")), [j, q] = p && ma(
3996
3996
  D,
3997
3997
  Kn(va(p), !0)
3998
3998
  ) || [];
3999
3999
  re = new r(
4000
4000
  ga(re.body, xa, j, () => {
4001
- $ && $(), z && z();
4001
+ q && q(), M && M();
4002
4002
  }),
4003
4003
  P
4004
4004
  );
4005
4005
  }
4006
4006
  N = N || "text";
4007
4007
  let O = await f[E.findKey(f, N) || "text"](re, v);
4008
- return !ae && z && z(), await new Promise((P, D) => {
4008
+ return !ae && M && M(), await new Promise((P, D) => {
4009
4009
  Xo(P, D, {
4010
4010
  data: O,
4011
4011
  headers: He.from(re.headers),
@@ -4015,13 +4015,13 @@ const es = (e) => {
4015
4015
  request: R
4016
4016
  });
4017
4017
  });
4018
- } catch (K) {
4019
- throw z && z(), K && K.name === "TypeError" && /Load failed|fetch/i.test(K.message) ? Object.assign(
4020
- new te("Network Error", te.ERR_NETWORK, v, R),
4018
+ } catch (Y) {
4019
+ throw M && M(), Y && Y.name === "TypeError" && /Load failed|fetch/i.test(Y.message) ? Object.assign(
4020
+ new ee("Network Error", ee.ERR_NETWORK, v, R),
4021
4021
  {
4022
- cause: K.cause || K
4022
+ cause: Y.cause || Y
4023
4023
  }
4024
- ) : te.from(K, K && K.code, v, R);
4024
+ ) : ee.from(Y, Y && Y.code, v, R);
4025
4025
  }
4026
4026
  };
4027
4027
  }, qu = /* @__PURE__ */ new Map(), ts = (e) => {
@@ -4063,7 +4063,7 @@ const wa = (e) => `- ${e}`, Uu = (e) => E.isFunction(e) || e === null || e === !
4063
4063
  r = e[o];
4064
4064
  let s;
4065
4065
  if (i = r, !Uu(r) && (i = Qr[(s = String(r)).toLowerCase()], i === void 0))
4066
- throw new te(`Unknown adapter '${s}'`);
4066
+ throw new ee(`Unknown adapter '${s}'`);
4067
4067
  if (i && (E.isFunction(i) || (i = i.get(t))))
4068
4068
  break;
4069
4069
  a[s || "#" + o] = i;
@@ -4075,7 +4075,7 @@ const wa = (e) => `- ${e}`, Uu = (e) => E.isFunction(e) || e === null || e === !
4075
4075
  let s = n ? o.length > 1 ? `since :
4076
4076
  ` + o.map(wa).join(`
4077
4077
  `) : " " + wa(o[0]) : "as no adapter specified";
4078
- throw new te(
4078
+ throw new ee(
4079
4079
  "There is no suitable adapter to dispatch the request " + s,
4080
4080
  "ERR_NOT_SUPPORT"
4081
4081
  );
@@ -4119,9 +4119,9 @@ ur.transitional = function(t, n, r) {
4119
4119
  }
4120
4120
  return (a, o, s) => {
4121
4121
  if (t === !1)
4122
- throw new te(
4122
+ throw new ee(
4123
4123
  i(o, " has been removed" + (n ? " in " + n : "")),
4124
- te.ERR_DEPRECATED
4124
+ ee.ERR_DEPRECATED
4125
4125
  );
4126
4126
  return n && !Ta[o] && (Ta[o] = !0, console.warn(
4127
4127
  i(
@@ -4136,7 +4136,7 @@ ur.spelling = function(t) {
4136
4136
  };
4137
4137
  function Bu(e, t, n) {
4138
4138
  if (typeof e != "object")
4139
- throw new te("options must be an object", te.ERR_BAD_OPTION_VALUE);
4139
+ throw new ee("options must be an object", ee.ERR_BAD_OPTION_VALUE);
4140
4140
  const r = Object.keys(e);
4141
4141
  let i = r.length;
4142
4142
  for (; i-- > 0; ) {
@@ -4144,11 +4144,11 @@ function Bu(e, t, n) {
4144
4144
  if (o) {
4145
4145
  const s = e[a], c = s === void 0 || o(s, a, e);
4146
4146
  if (c !== !0)
4147
- throw new te("option " + a + " must be " + c, te.ERR_BAD_OPTION_VALUE);
4147
+ throw new ee("option " + a + " must be " + c, ee.ERR_BAD_OPTION_VALUE);
4148
4148
  continue;
4149
4149
  }
4150
4150
  if (n !== !0)
4151
- throw new te("Unknown option " + a, te.ERR_BAD_OPTION);
4151
+ throw new ee("Unknown option " + a, ee.ERR_BAD_OPTION);
4152
4152
  }
4153
4153
  }
4154
4154
  const Mn = {
@@ -4441,7 +4441,7 @@ ye.CancelToken = Hu;
4441
4441
  ye.isCancel = Qo;
4442
4442
  ye.VERSION = rs;
4443
4443
  ye.toFormData = lr;
4444
- ye.AxiosError = te;
4444
+ ye.AxiosError = ee;
4445
4445
  ye.Cancel = ye.CanceledError;
4446
4446
  ye.all = function(t) {
4447
4447
  return Promise.all(t);
@@ -5618,9 +5618,9 @@ function _d(e, t) {
5618
5618
  if (u) {
5619
5619
  var C = _p.apply(void 0, u);
5620
5620
  T = function(k) {
5621
- return function(N, _, q) {
5622
- var H = function(V) {
5623
- return k(V, _, q);
5621
+ return function(N, _, U) {
5622
+ var H = function(ne) {
5623
+ return k(ne, _, U);
5624
5624
  };
5625
5625
  return C(H)(N);
5626
5626
  };
@@ -7246,10 +7246,10 @@ const jf = B.div`
7246
7246
  ] })
7247
7247
  );
7248
7248
  rc.propTypes = {
7249
- children: F.node.isRequired,
7250
- className: F.string,
7251
- size: F.oneOf(["small", "medium", "large"]),
7252
- isloading: F.bool
7249
+ children: I.node.isRequired,
7250
+ className: I.string,
7251
+ size: I.oneOf(["small", "medium", "large"]),
7252
+ isloading: I.bool
7253
7253
  };
7254
7254
  const Nf = B.div`
7255
7255
  position: relative;
@@ -7383,17 +7383,17 @@ const zf = B.div`
7383
7383
  gap: var(--spacement-medium);
7384
7384
  `, Un = ({ children: e, ...t }) => /* @__PURE__ */ d.jsx(Vf, { ...t, children: e });
7385
7385
  Un.propTypes = {
7386
- children: F.node.isRequired
7386
+ children: I.node.isRequired
7387
7387
  };
7388
7388
  const Bn = ({ children: e, maxheight: t = "max-content", overflowy: n = "initial", ...r }) => /* @__PURE__ */ d.jsx(Hf, { maxheight: t, overflowy: n, ...r, children: e });
7389
7389
  Bn.propTypes = {
7390
- children: F.node.isRequired,
7391
- maxheight: F.string,
7392
- overflowy: F.string
7390
+ children: I.node.isRequired,
7391
+ maxheight: I.string,
7392
+ overflowy: I.string
7393
7393
  };
7394
- F.node.isRequired;
7395
- F.node.isRequired;
7396
- F.node;
7394
+ I.node.isRequired;
7395
+ I.node.isRequired;
7396
+ I.node;
7397
7397
  const sn = ({
7398
7398
  isopen: e,
7399
7399
  style: t,
@@ -7435,21 +7435,21 @@ const sn = ({
7435
7435
  ] }) }) });
7436
7436
  };
7437
7437
  sn.propTypes = {
7438
- isopen: F.bool.isRequired,
7439
- title: F.oneOfType([
7440
- F.element,
7441
- F.string,
7442
- F.func
7438
+ isopen: I.bool.isRequired,
7439
+ title: I.oneOfType([
7440
+ I.element,
7441
+ I.string,
7442
+ I.func
7443
7443
  ]),
7444
- children: F.node.isRequired,
7445
- onClose: F.func,
7446
- style: F.objectOf(F.any),
7447
- contentStyle: F.objectOf(F.any),
7448
- className: F.string,
7449
- maxwidth: F.string,
7450
- maxheight: F.string,
7451
- isfixed: F.bool,
7452
- zindex: F.number
7444
+ children: I.node.isRequired,
7445
+ onClose: I.func,
7446
+ style: I.objectOf(I.any),
7447
+ contentStyle: I.objectOf(I.any),
7448
+ className: I.string,
7449
+ maxwidth: I.string,
7450
+ maxheight: I.string,
7451
+ isfixed: I.bool,
7452
+ zindex: I.number
7453
7453
  };
7454
7454
  sn.defaultProps = {
7455
7455
  title: "",
@@ -7576,17 +7576,17 @@ const br = ({
7576
7576
  }
7577
7577
  );
7578
7578
  br.propTypes = {
7579
- icon: F.oneOfType([F.string, F.element]),
7580
- title: F.string,
7581
- description: F.string,
7582
- activeButton: F.bool,
7583
- iconButton: F.element,
7584
- descriptionButton: F.string,
7585
- widthButton: F.string,
7586
- button: F.element,
7587
- backgroundIcon: F.string,
7588
- backgroundColor: F.string,
7589
- hasborder: F.bool
7579
+ icon: I.oneOfType([I.string, I.element]),
7580
+ title: I.string,
7581
+ description: I.string,
7582
+ activeButton: I.bool,
7583
+ iconButton: I.element,
7584
+ descriptionButton: I.string,
7585
+ widthButton: I.string,
7586
+ button: I.element,
7587
+ backgroundIcon: I.string,
7588
+ backgroundColor: I.string,
7589
+ hasborder: I.bool
7590
7590
  };
7591
7591
  br.defaultProps = {
7592
7592
  icon: "",
@@ -9455,7 +9455,7 @@ ki.propTypes = {
9455
9455
  * @param {File[]} params.acceptedFiles Accepted files
9456
9456
  * @param {FileRejection[]} params.fileRejections Rejected files and why they were rejected
9457
9457
  */
9458
- children: F.func,
9458
+ children: I.func,
9459
9459
  /**
9460
9460
  * Set accepted file types.
9461
9461
  * Checkout https://developer.mozilla.org/en-US/docs/Web/API/window/showOpenFilePicker types option for more information.
@@ -9463,90 +9463,90 @@ ki.propTypes = {
9463
9463
  * for example, are reported as text/plain under macOS but as application/vnd.ms-excel under
9464
9464
  * Windows. In some cases there might not be a mime type set at all (https://github.com/react-dropzone/react-dropzone/issues/276).
9465
9465
  */
9466
- accept: F.objectOf(F.arrayOf(F.string)),
9466
+ accept: I.objectOf(I.arrayOf(I.string)),
9467
9467
  /**
9468
9468
  * Allow drag 'n' drop (or selection from the file dialog) of multiple files
9469
9469
  */
9470
- multiple: F.bool,
9470
+ multiple: I.bool,
9471
9471
  /**
9472
9472
  * If false, allow dropped items to take over the current browser window
9473
9473
  */
9474
- preventDropOnDocument: F.bool,
9474
+ preventDropOnDocument: I.bool,
9475
9475
  /**
9476
9476
  * If true, disables click to open the native file selection dialog
9477
9477
  */
9478
- noClick: F.bool,
9478
+ noClick: I.bool,
9479
9479
  /**
9480
9480
  * If true, disables SPACE/ENTER to open the native file selection dialog.
9481
9481
  * Note that it also stops tracking the focus state.
9482
9482
  */
9483
- noKeyboard: F.bool,
9483
+ noKeyboard: I.bool,
9484
9484
  /**
9485
9485
  * If true, disables drag 'n' drop
9486
9486
  */
9487
- noDrag: F.bool,
9487
+ noDrag: I.bool,
9488
9488
  /**
9489
9489
  * If true, stops drag event propagation to parents
9490
9490
  */
9491
- noDragEventsBubbling: F.bool,
9491
+ noDragEventsBubbling: I.bool,
9492
9492
  /**
9493
9493
  * Minimum file size (in bytes)
9494
9494
  */
9495
- minSize: F.number,
9495
+ minSize: I.number,
9496
9496
  /**
9497
9497
  * Maximum file size (in bytes)
9498
9498
  */
9499
- maxSize: F.number,
9499
+ maxSize: I.number,
9500
9500
  /**
9501
9501
  * Maximum accepted number of files
9502
9502
  * The default value is 0 which means there is no limitation to how many files are accepted.
9503
9503
  */
9504
- maxFiles: F.number,
9504
+ maxFiles: I.number,
9505
9505
  /**
9506
9506
  * Enable/disable the dropzone
9507
9507
  */
9508
- disabled: F.bool,
9508
+ disabled: I.bool,
9509
9509
  /**
9510
9510
  * Use this to provide a custom file aggregator
9511
9511
  *
9512
9512
  * @param {(DragEvent|Event|Array<FileSystemFileHandle>)} event A drag event or input change event (if files were selected via the file dialog)
9513
9513
  */
9514
- getFilesFromEvent: F.func,
9514
+ getFilesFromEvent: I.func,
9515
9515
  /**
9516
9516
  * Cb for when closing the file dialog with no selection
9517
9517
  */
9518
- onFileDialogCancel: F.func,
9518
+ onFileDialogCancel: I.func,
9519
9519
  /**
9520
9520
  * Cb for when opening the file dialog
9521
9521
  */
9522
- onFileDialogOpen: F.func,
9522
+ onFileDialogOpen: I.func,
9523
9523
  /**
9524
9524
  * Set to true to use the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API
9525
9525
  * to open the file picker instead of using an `<input type="file">` click event.
9526
9526
  */
9527
- useFsAccessApi: F.bool,
9527
+ useFsAccessApi: I.bool,
9528
9528
  /**
9529
9529
  * Set to true to focus the root element on render
9530
9530
  */
9531
- autoFocus: F.bool,
9531
+ autoFocus: I.bool,
9532
9532
  /**
9533
9533
  * Cb for when the `dragenter` event occurs.
9534
9534
  *
9535
9535
  * @param {DragEvent} event
9536
9536
  */
9537
- onDragEnter: F.func,
9537
+ onDragEnter: I.func,
9538
9538
  /**
9539
9539
  * Cb for when the `dragleave` event occurs
9540
9540
  *
9541
9541
  * @param {DragEvent} event
9542
9542
  */
9543
- onDragLeave: F.func,
9543
+ onDragLeave: I.func,
9544
9544
  /**
9545
9545
  * Cb for when the `dragover` event occurs
9546
9546
  *
9547
9547
  * @param {DragEvent} event
9548
9548
  */
9549
- onDragOver: F.func,
9549
+ onDragOver: I.func,
9550
9550
  /**
9551
9551
  * Cb for when the `drop` event occurs.
9552
9552
  * Note that this callback is invoked after the `getFilesFromEvent` callback is done.
@@ -9577,7 +9577,7 @@ ki.propTypes = {
9577
9577
  * @param {FileRejection[]} fileRejections
9578
9578
  * @param {(DragEvent|Event)} event A drag event or input change event (if files were selected via the file dialog)
9579
9579
  */
9580
- onDrop: F.func,
9580
+ onDrop: I.func,
9581
9581
  /**
9582
9582
  * Cb for when the `drop` event occurs.
9583
9583
  * Note that if no files are accepted, this callback is not invoked.
@@ -9585,7 +9585,7 @@ ki.propTypes = {
9585
9585
  * @param {File[]} files
9586
9586
  * @param {(DragEvent|Event)} event
9587
9587
  */
9588
- onDropAccepted: F.func,
9588
+ onDropAccepted: I.func,
9589
9589
  /**
9590
9590
  * Cb for when the `drop` event occurs.
9591
9591
  * Note that if no files are rejected, this callback is not invoked.
@@ -9593,19 +9593,19 @@ ki.propTypes = {
9593
9593
  * @param {FileRejection[]} fileRejections
9594
9594
  * @param {(DragEvent|Event)} event
9595
9595
  */
9596
- onDropRejected: F.func,
9596
+ onDropRejected: I.func,
9597
9597
  /**
9598
9598
  * Cb for when there's some error from any of the promises.
9599
9599
  *
9600
9600
  * @param {Error} error
9601
9601
  */
9602
- onError: F.func,
9602
+ onError: I.func,
9603
9603
  /**
9604
9604
  * Custom validation function. It must return null if there's no errors.
9605
9605
  * @param {File} file
9606
9606
  * @returns {FileError|FileError[]|null}
9607
9607
  */
9608
- validator: F.func
9608
+ validator: I.func
9609
9609
  };
9610
9610
  var pi = {
9611
9611
  isFocused: !1,
@@ -9617,19 +9617,19 @@ var pi = {
9617
9617
  fileRejections: []
9618
9618
  };
9619
9619
  function vc() {
9620
- var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = Se(Se({}, mc), e), n = t.accept, r = t.disabled, i = t.getFilesFromEvent, a = t.maxSize, o = t.minSize, s = t.multiple, c = t.maxFiles, u = t.onDragEnter, l = t.onDragLeave, f = t.onDragOver, y = t.onDrop, w = t.onDropAccepted, v = t.onDropRejected, g = t.onFileDialogCancel, h = t.onFileDialogOpen, x = t.useFsAccessApi, T = t.autoFocus, C = t.preventDropOnDocument, b = t.noClick, p = t.noKeyboard, k = t.noDrag, N = t.noDragEventsBubbling, _ = t.onError, q = t.validator, H = st(function() {
9620
+ var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = Se(Se({}, mc), e), n = t.accept, r = t.disabled, i = t.getFilesFromEvent, a = t.maxSize, o = t.minSize, s = t.multiple, c = t.maxFiles, u = t.onDragEnter, l = t.onDragLeave, f = t.onDragOver, y = t.onDrop, w = t.onDropAccepted, v = t.onDropRejected, g = t.onFileDialogCancel, h = t.onFileDialogOpen, x = t.useFsAccessApi, T = t.autoFocus, C = t.preventDropOnDocument, b = t.noClick, p = t.noKeyboard, k = t.noDrag, N = t.noDragEventsBubbling, _ = t.onError, U = t.validator, H = st(function() {
9621
9621
  return Nm(n);
9622
- }, [n]), U = st(function() {
9622
+ }, [n]), F = st(function() {
9623
9623
  return Pm(n);
9624
- }, [n]), V = st(function() {
9624
+ }, [n]), ne = st(function() {
9625
9625
  return typeof h == "function" ? h : lo;
9626
9626
  }, [h]), R = st(function() {
9627
9627
  return typeof g == "function" ? g : lo;
9628
- }, [g]), z = $e(null), ee = $e(null), K = Hn(Km, pi), ce = Ur(K, 2), re = ce[0], ae = ce[1], O = re.isFocused, P = re.isFileDialogActive, D = $e(typeof window < "u" && window.isSecureContext && x && km()), j = function() {
9628
+ }, [g]), M = $e(null), Z = $e(null), Y = Hn(Km, pi), ce = Ur(Y, 2), re = ce[0], ae = ce[1], O = re.isFocused, P = re.isFileDialogActive, D = $e(typeof window < "u" && window.isSecureContext && x && km()), j = function() {
9629
9629
  !D.current && P && setTimeout(function() {
9630
- if (ee.current) {
9631
- var Y = ee.current.files;
9632
- Y.length || (ae({
9630
+ if (Z.current) {
9631
+ var W = Z.current.files;
9632
+ W.length || (ae({
9633
9633
  type: "closeDialog"
9634
9634
  }), R());
9635
9635
  }
@@ -9639,66 +9639,66 @@ function vc() {
9639
9639
  return window.addEventListener("focus", j, !1), function() {
9640
9640
  window.removeEventListener("focus", j, !1);
9641
9641
  };
9642
- }, [ee, P, R, D]);
9643
- var $ = $e([]), J = function(Y) {
9644
- z.current && z.current.contains(Y.target) || (Y.preventDefault(), $.current = []);
9642
+ }, [Z, P, R, D]);
9643
+ var q = $e([]), G = function(W) {
9644
+ M.current && M.current.contains(W.target) || (W.preventDefault(), q.current = []);
9645
9645
  };
9646
9646
  Ce(function() {
9647
- return C && (document.addEventListener("dragover", so, !1), document.addEventListener("drop", J, !1)), function() {
9648
- C && (document.removeEventListener("dragover", so), document.removeEventListener("drop", J));
9647
+ return C && (document.addEventListener("dragover", so, !1), document.addEventListener("drop", G, !1)), function() {
9648
+ C && (document.removeEventListener("dragover", so), document.removeEventListener("drop", G));
9649
9649
  };
9650
- }, [z, C]), Ce(function() {
9651
- return !r && T && z.current && z.current.focus(), function() {
9650
+ }, [M, C]), Ce(function() {
9651
+ return !r && T && M.current && M.current.focus(), function() {
9652
9652
  };
9653
- }, [z, T, r]);
9654
- var W = Le(function(L) {
9655
- _ ? _(L) : console.error(L);
9656
- }, [_]), G = Le(function(L) {
9657
- L.preventDefault(), L.persist(), Rt(L), $.current = [].concat($m($.current), [L.target]), Fn(L) && Promise.resolve(i(L)).then(function(Y) {
9658
- if (!(rr(L) && !N)) {
9659
- var we = Y.length, Te = we > 0 && Om({
9660
- files: Y,
9653
+ }, [M, T, r]);
9654
+ var V = Le(function(z) {
9655
+ _ ? _(z) : console.error(z);
9656
+ }, [_]), K = Le(function(z) {
9657
+ z.preventDefault(), z.persist(), Rt(z), q.current = [].concat($m(q.current), [z.target]), Fn(z) && Promise.resolve(i(z)).then(function(W) {
9658
+ if (!(rr(z) && !N)) {
9659
+ var we = W.length, Te = we > 0 && Om({
9660
+ files: W,
9661
9661
  accept: H,
9662
9662
  minSize: o,
9663
9663
  maxSize: a,
9664
9664
  multiple: s,
9665
9665
  maxFiles: c,
9666
- validator: q
9666
+ validator: U
9667
9667
  }), Fe = we > 0 && !Te;
9668
9668
  ae({
9669
9669
  isDragAccept: Te,
9670
9670
  isDragReject: Fe,
9671
9671
  isDragActive: !0,
9672
9672
  type: "setDraggedFiles"
9673
- }), u && u(L);
9673
+ }), u && u(z);
9674
9674
  }
9675
- }).catch(function(Y) {
9676
- return W(Y);
9675
+ }).catch(function(W) {
9676
+ return V(W);
9677
9677
  });
9678
- }, [i, u, W, N, H, o, a, s, c, q]), Z = Le(function(L) {
9679
- L.preventDefault(), L.persist(), Rt(L);
9680
- var Y = Fn(L);
9681
- if (Y && L.dataTransfer)
9678
+ }, [i, u, V, N, H, o, a, s, c, U]), X = Le(function(z) {
9679
+ z.preventDefault(), z.persist(), Rt(z);
9680
+ var W = Fn(z);
9681
+ if (W && z.dataTransfer)
9682
9682
  try {
9683
- L.dataTransfer.dropEffect = "copy";
9683
+ z.dataTransfer.dropEffect = "copy";
9684
9684
  } catch {
9685
9685
  }
9686
- return Y && f && f(L), !1;
9687
- }, [f, N]), ne = Le(function(L) {
9688
- L.preventDefault(), L.persist(), Rt(L);
9689
- var Y = $.current.filter(function(Te) {
9690
- return z.current && z.current.contains(Te);
9691
- }), we = Y.indexOf(L.target);
9692
- we !== -1 && Y.splice(we, 1), $.current = Y, !(Y.length > 0) && (ae({
9686
+ return W && f && f(z), !1;
9687
+ }, [f, N]), te = Le(function(z) {
9688
+ z.preventDefault(), z.persist(), Rt(z);
9689
+ var W = q.current.filter(function(Te) {
9690
+ return M.current && M.current.contains(Te);
9691
+ }), we = W.indexOf(z.target);
9692
+ we !== -1 && W.splice(we, 1), q.current = W, !(W.length > 0) && (ae({
9693
9693
  type: "setDraggedFiles",
9694
9694
  isDragActive: !1,
9695
9695
  isDragAccept: !1,
9696
9696
  isDragReject: !1
9697
- }), Fn(L) && l && l(L));
9698
- }, [z, l, N]), Q = Le(function(L, Y) {
9697
+ }), Fn(z) && l && l(z));
9698
+ }, [M, l, N]), J = Le(function(z, W) {
9699
9699
  var we = [], Te = [];
9700
- L.forEach(function(Fe) {
9701
- var pt = lc(Fe, H), at = Ur(pt, 2), Yt = at[0], Kt = at[1], Gt = uc(Fe, o, a), At = Ur(Gt, 2), Jt = At[0], Qt = At[1], Xt = q ? q(Fe) : null;
9700
+ z.forEach(function(Fe) {
9701
+ var pt = lc(Fe, H), at = Ur(pt, 2), Yt = at[0], Kt = at[1], Gt = uc(Fe, o, a), At = Ur(Gt, 2), Jt = At[0], Qt = At[1], Xt = U ? U(Fe) : null;
9702
9702
  if (Yt && Jt && !Xt)
9703
9703
  we.push(Fe);
9704
9704
  else {
@@ -9720,43 +9720,43 @@ function vc() {
9720
9720
  fileRejections: Te,
9721
9721
  isDragReject: Te.length > 0,
9722
9722
  type: "setFiles"
9723
- }), y && y(we, Te, Y), Te.length > 0 && v && v(Te, Y), we.length > 0 && w && w(we, Y);
9724
- }, [ae, s, H, o, a, c, y, w, v, q]), I = Le(function(L) {
9725
- L.preventDefault(), L.persist(), Rt(L), $.current = [], Fn(L) && Promise.resolve(i(L)).then(function(Y) {
9726
- rr(L) && !N || Q(Y, L);
9727
- }).catch(function(Y) {
9728
- return W(Y);
9723
+ }), y && y(we, Te, W), Te.length > 0 && v && v(Te, W), we.length > 0 && w && w(we, W);
9724
+ }, [ae, s, H, o, a, c, y, w, v, U]), L = Le(function(z) {
9725
+ z.preventDefault(), z.persist(), Rt(z), q.current = [], Fn(z) && Promise.resolve(i(z)).then(function(W) {
9726
+ rr(z) && !N || J(W, z);
9727
+ }).catch(function(W) {
9728
+ return V(W);
9729
9729
  }), ae({
9730
9730
  type: "reset"
9731
9731
  });
9732
- }, [i, Q, W, N]), S = Le(function() {
9732
+ }, [i, J, V, N]), S = Le(function() {
9733
9733
  if (D.current) {
9734
9734
  ae({
9735
9735
  type: "openDialog"
9736
- }), V();
9737
- var L = {
9736
+ }), ne();
9737
+ var z = {
9738
9738
  multiple: s,
9739
- types: U
9739
+ types: F
9740
9740
  };
9741
- window.showOpenFilePicker(L).then(function(Y) {
9742
- return i(Y);
9743
- }).then(function(Y) {
9744
- Q(Y, null), ae({
9741
+ window.showOpenFilePicker(z).then(function(W) {
9742
+ return i(W);
9743
+ }).then(function(W) {
9744
+ J(W, null), ae({
9745
9745
  type: "closeDialog"
9746
9746
  });
9747
- }).catch(function(Y) {
9748
- Dm(Y) ? (R(Y), ae({
9747
+ }).catch(function(W) {
9748
+ Dm(W) ? (R(W), ae({
9749
9749
  type: "closeDialog"
9750
- })) : Fm(Y) ? (D.current = !1, ee.current ? (ee.current.value = null, ee.current.click()) : W(new Error("Cannot open the file picker because the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API is not supported and no <input> was provided."))) : W(Y);
9750
+ })) : Fm(W) ? (D.current = !1, Z.current ? (Z.current.value = null, Z.current.click()) : V(new Error("Cannot open the file picker because the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API is not supported and no <input> was provided."))) : V(W);
9751
9751
  });
9752
9752
  return;
9753
9753
  }
9754
- ee.current && (ae({
9754
+ Z.current && (ae({
9755
9755
  type: "openDialog"
9756
- }), V(), ee.current.value = null, ee.current.click());
9757
- }, [ae, V, R, x, Q, W, U, s]), Ee = Le(function(L) {
9758
- !z.current || !z.current.isEqualNode(L.target) || (L.key === " " || L.key === "Enter" || L.keyCode === 32 || L.keyCode === 13) && (L.preventDefault(), S());
9759
- }, [z, S]), ke = Le(function() {
9756
+ }), ne(), Z.current.value = null, Z.current.click());
9757
+ }, [ae, ne, R, x, J, V, F, s]), Ee = Le(function(z) {
9758
+ !M.current || !M.current.isEqualNode(z.target) || (z.key === " " || z.key === "Enter" || z.keyCode === 32 || z.keyCode === 13) && (z.preventDefault(), S());
9759
+ }, [M, S]), ke = Le(function() {
9760
9760
  ae({
9761
9761
  type: "focus"
9762
9762
  });
@@ -9766,36 +9766,36 @@ function vc() {
9766
9766
  });
9767
9767
  }, []), vt = Le(function() {
9768
9768
  b || (Am() ? setTimeout(S, 0) : S());
9769
- }, [b, S]), rt = function(Y) {
9770
- return r ? null : Y;
9771
- }, jt = function(Y) {
9772
- return p ? null : rt(Y);
9773
- }, it = function(Y) {
9774
- return k ? null : rt(Y);
9775
- }, Rt = function(Y) {
9776
- N && Y.stopPropagation();
9769
+ }, [b, S]), rt = function(W) {
9770
+ return r ? null : W;
9771
+ }, jt = function(W) {
9772
+ return p ? null : rt(W);
9773
+ }, it = function(W) {
9774
+ return k ? null : rt(W);
9775
+ }, Rt = function(W) {
9776
+ N && W.stopPropagation();
9777
9777
  }, Er = st(function() {
9778
9778
  return function() {
9779
- var L = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, Y = L.refKey, we = Y === void 0 ? "ref" : Y, Te = L.role, Fe = L.onKeyDown, pt = L.onFocus, at = L.onBlur, Yt = L.onClick, Kt = L.onDragEnter, Gt = L.onDragOver, At = L.onDragLeave, Jt = L.onDrop, Qt = ir(L, zm);
9779
+ var z = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, W = z.refKey, we = W === void 0 ? "ref" : W, Te = z.role, Fe = z.onKeyDown, pt = z.onFocus, at = z.onBlur, Yt = z.onClick, Kt = z.onDragEnter, Gt = z.onDragOver, At = z.onDragLeave, Jt = z.onDrop, Qt = ir(z, zm);
9780
9780
  return Se(Se(ui({
9781
9781
  onKeyDown: jt(tt(Fe, Ee)),
9782
9782
  onFocus: jt(tt(pt, ke)),
9783
9783
  onBlur: jt(tt(at, Ve)),
9784
9784
  onClick: rt(tt(Yt, vt)),
9785
- onDragEnter: it(tt(Kt, G)),
9786
- onDragOver: it(tt(Gt, Z)),
9787
- onDragLeave: it(tt(At, ne)),
9788
- onDrop: it(tt(Jt, I)),
9785
+ onDragEnter: it(tt(Kt, K)),
9786
+ onDragOver: it(tt(Gt, X)),
9787
+ onDragLeave: it(tt(At, te)),
9788
+ onDrop: it(tt(Jt, L)),
9789
9789
  role: typeof Te == "string" && Te !== "" ? Te : "presentation"
9790
- }, we, z), !r && !p ? {
9790
+ }, we, M), !r && !p ? {
9791
9791
  tabIndex: 0
9792
9792
  } : {}), Qt);
9793
9793
  };
9794
- }, [z, Ee, ke, Ve, vt, G, Z, ne, I, p, k, r]), Wt = Le(function(L) {
9795
- L.stopPropagation();
9794
+ }, [M, Ee, ke, Ve, vt, K, X, te, L, p, k, r]), Wt = Le(function(z) {
9795
+ z.stopPropagation();
9796
9796
  }, []), wr = st(function() {
9797
9797
  return function() {
9798
- var L = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, Y = L.refKey, we = Y === void 0 ? "ref" : Y, Te = L.onChange, Fe = L.onClick, pt = ir(L, Mm), at = ui({
9798
+ var z = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, W = z.refKey, we = W === void 0 ? "ref" : W, Te = z.onChange, Fe = z.onClick, pt = ir(z, Mm), at = ui({
9799
9799
  accept: H,
9800
9800
  multiple: s,
9801
9801
  type: "file",
@@ -9811,19 +9811,19 @@ function vc() {
9811
9811
  width: "1px",
9812
9812
  whiteSpace: "nowrap"
9813
9813
  },
9814
- onChange: rt(tt(Te, I)),
9814
+ onChange: rt(tt(Te, L)),
9815
9815
  onClick: rt(tt(Fe, Wt)),
9816
9816
  tabIndex: -1
9817
- }, we, ee);
9817
+ }, we, Z);
9818
9818
  return Se(Se({}, at), pt);
9819
9819
  };
9820
- }, [ee, n, s, I, r]);
9820
+ }, [Z, n, s, L, r]);
9821
9821
  return Se(Se({}, re), {}, {
9822
9822
  isFocused: O && !r,
9823
9823
  getRootProps: Er,
9824
9824
  getInputProps: wr,
9825
- rootRef: z,
9826
- inputRef: ee,
9825
+ rootRef: M,
9826
+ inputRef: Z,
9827
9827
  open: rt(S)
9828
9828
  });
9829
9829
  }
@@ -9995,13 +9995,13 @@ const Pi = ({
9995
9995
  ) });
9996
9996
  };
9997
9997
  Pi.propTypes = {
9998
- formatFile: F.string,
9999
- multipleFile: F.bool,
10000
- initialFiles: F.arrayOf(F.object),
10001
- removeItem: F.func,
10002
- setFile: F.func,
10003
- onChange: F.func,
10004
- hasListFiles: F.bool
9998
+ formatFile: I.string,
9999
+ multipleFile: I.bool,
10000
+ initialFiles: I.arrayOf(I.object),
10001
+ removeItem: I.func,
10002
+ setFile: I.func,
10003
+ onChange: I.func,
10004
+ hasListFiles: I.bool
10005
10005
  };
10006
10006
  Pi.defaultProps = {
10007
10007
  formatFile: "application/json",
@@ -10016,17 +10016,17 @@ Pi.defaultProps = {
10016
10016
  hasListFiles: !0
10017
10017
  };
10018
10018
  const Qv = () => {
10019
- const { id: e, language: t, propTags: n, token: r, env: i, readonly: a } = Zn(), [o, s] = me([]), [c, u] = me([]), [l, f] = me(), [y, w] = me(!1), [v, g] = me(!1), [h, x] = me(!1), [T, C] = me(""), [b, p] = me([]), [k, N] = me([]), _ = mt(t), q = Oo(), H = Wn((D) => D.files), U = Wn((D) => D.isloading), V = n ? n.tags : [];
10019
+ const { id: e, language: t, propTags: n, token: r, env: i, readonly: a } = Zn(), [o, s] = me([]), [c, u] = me([]), [l, f] = me(), [y, w] = me(!1), [v, g] = me(!1), [h, x] = me(!1), [T, C] = me(""), [b, p] = me([]), [k, N] = me([]), _ = mt(t), U = Oo(), H = Wn((D) => D.files), F = Wn((D) => D.isloading), ne = n ? n.tags : [];
10020
10020
  Ce(() => {
10021
- q(Vd(e, r, i));
10021
+ U(Vd(e, r, i));
10022
10022
  }, [e]), Ce(() => {
10023
- if (V.length > 0) {
10024
- const D = V.map((j) => ({ label: j, value: j }));
10023
+ if (ne.length > 0) {
10024
+ const D = ne.map((j) => ({ label: j, value: j }));
10025
10025
  p(D);
10026
10026
  } else b.length > 0 && p([]);
10027
- }, [V]), Ce(() => {
10027
+ }, [ne]), Ce(() => {
10028
10028
  if (!y) {
10029
- const D = V.map((j) => ({ label: j, value: j }));
10029
+ const D = ne.map((j) => ({ label: j, value: j }));
10030
10030
  p(D);
10031
10031
  }
10032
10032
  }, [y]), Ce(() => {
@@ -10034,32 +10034,32 @@ const Qv = () => {
10034
10034
  }, [H]);
10035
10035
  const R = (D) => {
10036
10036
  let j = "";
10037
- return j += D.map(($) => {
10038
- const J = $.trained ? "" : Mi(/* @__PURE__ */ d.jsx(Ka, { size: 14 }));
10039
- return `<p class='tag ${$.trained ? "trained" : ""}'>${$.name} ${J}</p>`;
10037
+ return j += D.map((q) => {
10038
+ const G = q.trained ? "" : Mi(/* @__PURE__ */ d.jsx(Ka, { size: 14 }));
10039
+ return `<p class='tag ${q.trained ? "trained" : ""}'>${q.name} ${G}</p>`;
10040
10040
  }).join(""), j;
10041
- }, z = () => {
10041
+ }, M = () => {
10042
10042
  y && (f(void 0), N([])), w(!y);
10043
- }, ee = (D) => {
10043
+ }, Z = (D) => {
10044
10044
  C(D), g(!v);
10045
- }, K = (D) => {
10045
+ }, Y = (D) => {
10046
10046
  let j = [];
10047
- D == null || D.map(($) => {
10048
- $.trained || j.push($.name);
10047
+ D == null || D.map((q) => {
10048
+ q.trained || j.push(q.name);
10049
10049
  }), N(j), x(!h);
10050
10050
  }, ce = () => {
10051
- q(Yd(T, e, t, r, i)), g(!1);
10051
+ U(Yd(T, e, t, r, i)), g(!1);
10052
10052
  }, re = () => {
10053
- q(Gd(l, e, k, t, r, i)), w(!1), f(void 0), N([]);
10053
+ U(Gd(l, e, k, t, r, i)), w(!1), f(void 0), N([]);
10054
10054
  }, ae = () => {
10055
- q(Jd(e, k, t, r, i)), x(!1), N([]);
10055
+ U(Jd(e, k, t, r, i)), x(!1), N([]);
10056
10056
  }, O = (D, j) => {
10057
10057
  if (D) {
10058
- const $ = Mi(/* @__PURE__ */ d.jsx(Ef, { size: 14 }));
10059
- return `<a href='${D}' target='_blank'>${$}</a> ${j}`;
10058
+ const q = Mi(/* @__PURE__ */ d.jsx(Ef, { size: 14 }));
10059
+ return `<a href='${D}' target='_blank'>${q}</a> ${j}`;
10060
10060
  }
10061
10061
  return j;
10062
- }, P = () => /* @__PURE__ */ d.jsxs(Ga, { isloading: U, children: [
10062
+ }, P = () => /* @__PURE__ */ d.jsxs(Ga, { isloading: F, children: [
10063
10063
  /* @__PURE__ */ d.jsx("div", { id: "loading" }),
10064
10064
  /* @__PURE__ */ d.jsxs(Of, { children: [
10065
10065
  /* @__PURE__ */ d.jsxs("div", { className: "infos", children: [
@@ -10069,12 +10069,12 @@ const Qv = () => {
10069
10069
  /* @__PURE__ */ d.jsxs("div", { className: "actions", children: [
10070
10070
  /* @__PURE__ */ d.jsx(ic, { placeholder: _.fileArea.search, setFiles: s, initialFiles: c }),
10071
10071
  /* @__PURE__ */ d.jsxs("div", { children: [
10072
- /* @__PURE__ */ d.jsxs("button", { id: "button-upload", disabled: a, onClick: z, children: [
10072
+ /* @__PURE__ */ d.jsxs("button", { id: "button-upload", disabled: a, onClick: M, children: [
10073
10073
  /* @__PURE__ */ d.jsx(Ya, { size: 14 }),
10074
10074
  " ",
10075
10075
  _.fileArea.fileUpload
10076
10076
  ] }),
10077
- /* @__PURE__ */ d.jsxs("button", { disabled: a, onClick: () => K(void 0), children: [
10077
+ /* @__PURE__ */ d.jsxs("button", { disabled: a, onClick: () => Y(void 0), children: [
10078
10078
  /* @__PURE__ */ d.jsx(Cf, { size: 14 }),
10079
10079
  " ",
10080
10080
  _.fileArea.training
@@ -10088,7 +10088,7 @@ const Qv = () => {
10088
10088
  icon: /* @__PURE__ */ d.jsx(nc, {}),
10089
10089
  title: _.fileArea.emptyState.title,
10090
10090
  description: _.fileArea.emptyState.description,
10091
- iconButton: /* @__PURE__ */ d.jsxs("button", { id: "button-upload", disabled: a, onClick: z, children: [
10091
+ iconButton: /* @__PURE__ */ d.jsxs("button", { id: "button-upload", disabled: a, onClick: M, children: [
10092
10092
  /* @__PURE__ */ d.jsx(Ya, { size: 14 }),
10093
10093
  " ",
10094
10094
  _.fileArea.fileUpload
@@ -10108,8 +10108,8 @@ const Qv = () => {
10108
10108
  /* @__PURE__ */ d.jsx("td", { children: D.trained ? /* @__PURE__ */ d.jsx(gf, { size: 14, style: { color: "green" } }) : /* @__PURE__ */ d.jsx(Ka, { size: 14, style: { color: "red" } }) }),
10109
10109
  /* @__PURE__ */ d.jsx("td", { className: "tags", dangerouslySetInnerHTML: { __html: R(D.tags) } }),
10110
10110
  /* @__PURE__ */ d.jsx("td", { children: /* @__PURE__ */ d.jsxs("div", { className: "divDelete", children: [
10111
- /* @__PURE__ */ d.jsx("button", { className: "buttonTraining", disabled: a, onClick: () => K(D.tags), children: _.buttons.training }),
10112
- /* @__PURE__ */ d.jsx("button", { className: "buttonDelete", disabled: a, onClick: () => ee(D.name), children: _.buttons.delete })
10111
+ /* @__PURE__ */ d.jsx("button", { className: "buttonTraining", disabled: a, onClick: () => Y(D.tags), children: _.buttons.training }),
10112
+ /* @__PURE__ */ d.jsx("button", { className: "buttonDelete", disabled: a, onClick: () => Z(D.name), children: _.buttons.delete })
10113
10113
  ] }) })
10114
10114
  ] })) })
10115
10115
  ] }),
@@ -10119,7 +10119,7 @@ const Qv = () => {
10119
10119
  isopen: y,
10120
10120
  maxwidth: "600px",
10121
10121
  maxheight: "max-content",
10122
- onClose: z,
10122
+ onClose: M,
10123
10123
  title: _.fileArea.modal.uploadFile,
10124
10124
  children: [
10125
10125
  /* @__PURE__ */ d.jsxs(Bn, { children: [
@@ -10136,7 +10136,7 @@ const Qv = () => {
10136
10136
  ] })
10137
10137
  ] }),
10138
10138
  /* @__PURE__ */ d.jsxs(Un, { children: [
10139
- /* @__PURE__ */ d.jsx("button", { className: "button cancel", onClick: z, children: _.buttons.cancel }),
10139
+ /* @__PURE__ */ d.jsx("button", { className: "button cancel", onClick: M, children: _.buttons.cancel }),
10140
10140
  /* @__PURE__ */ d.jsx("button", { onClick: () => re(), className: "button send", type: "submit", form: "form-tts", children: _.buttons.send })
10141
10141
  ] })
10142
10142
  ]
@@ -10148,12 +10148,12 @@ const Qv = () => {
10148
10148
  isopen: v,
10149
10149
  maxwidth: "600px",
10150
10150
  maxheight: "max-content",
10151
- onClose: () => ee(""),
10151
+ onClose: () => Z(""),
10152
10152
  title: _.fileArea.modal.deleteFileTitle,
10153
10153
  children: [
10154
10154
  /* @__PURE__ */ d.jsx(Bn, { children: /* @__PURE__ */ d.jsx("p", { id: "warning", children: _.fileArea.modal.deleteFile }) }),
10155
10155
  /* @__PURE__ */ d.jsxs(Un, { children: [
10156
- /* @__PURE__ */ d.jsx("button", { className: "button cancel", onClick: () => ee(""), children: _.buttons.cancel }),
10156
+ /* @__PURE__ */ d.jsx("button", { className: "button cancel", onClick: () => Z(""), children: _.buttons.cancel }),
10157
10157
  /* @__PURE__ */ d.jsx("button", { className: "button delete", type: "submit", form: "form-tts", onClick: ce, children: _.buttons.delete })
10158
10158
  ] })
10159
10159
  ]
@@ -10165,7 +10165,7 @@ const Qv = () => {
10165
10165
  isopen: h,
10166
10166
  maxwidth: "600px",
10167
10167
  maxheight: "max-content",
10168
- onClose: () => K(void 0),
10168
+ onClose: () => Y(void 0),
10169
10169
  title: _.fileArea.modal.trainingTitle,
10170
10170
  children: [
10171
10171
  /* @__PURE__ */ d.jsxs(Bn, { children: [
@@ -10176,7 +10176,7 @@ const Qv = () => {
10176
10176
  ] })
10177
10177
  ] }),
10178
10178
  /* @__PURE__ */ d.jsxs(Un, { children: [
10179
- /* @__PURE__ */ d.jsx("button", { className: "button cancel", onClick: () => K(void 0), children: _.buttons.cancel }),
10179
+ /* @__PURE__ */ d.jsx("button", { className: "button cancel", onClick: () => Y(void 0), children: _.buttons.cancel }),
10180
10180
  /* @__PURE__ */ d.jsx("button", { onClick: () => ae(), className: "button send", type: "submit", form: "form-tts", children: _.buttons.send })
10181
10181
  ] })
10182
10182
  ]
@@ -10293,12 +10293,25 @@ const Qv = () => {
10293
10293
  .selected-option {
10294
10294
  padding: 12px;
10295
10295
  border-radius: 4px;
10296
- border: 1px solid #979AA5;
10296
+ border: 1px solid var(--neutral-2);
10297
10297
  height: 45px;
10298
10298
  display: flex;
10299
10299
  align-items: center;
10300
10300
  justify-content: space-between;
10301
10301
  font-size: 14px;
10302
+ max-width: 220px;
10303
+ overflow: hidden;
10304
+ white-space: nowrap;
10305
+
10306
+ span:nth-child(1) {
10307
+ overflow: hidden;
10308
+ text-overflow: ellipsis;
10309
+ }
10310
+
10311
+ span:nth-child(2) {
10312
+ color: var(--neutral-3);
10313
+ margin-left: 6px;
10314
+ }
10302
10315
  }
10303
10316
 
10304
10317
  .options {
@@ -10318,6 +10331,9 @@ const Qv = () => {
10318
10331
  transition: background-color 0.1s;
10319
10332
  letter-spacing: 0.5px;
10320
10333
  font-size: 14px;
10334
+ white-space: nowrap;
10335
+ overflow: hidden;
10336
+ text-overflow: ellipsis;
10321
10337
 
10322
10338
  &:hover {
10323
10339
  background-color: #6690ff;
@@ -10338,7 +10354,7 @@ const Qv = () => {
10338
10354
  };
10339
10355
  return /* @__PURE__ */ d.jsx(Xm, { children: /* @__PURE__ */ d.jsxs("div", { className: "custom-select", onClick: () => i(!r), children: [
10340
10356
  /* @__PURE__ */ d.jsxs("div", { className: "selected-option", children: [
10341
- a || n,
10357
+ /* @__PURE__ */ d.jsx("span", { children: a || n }),
10342
10358
  /* @__PURE__ */ d.jsx("span", { className: "arrow", children: "▼" })
10343
10359
  ] }),
10344
10360
  r && /* @__PURE__ */ d.jsx("div", { className: "options", children: (c = e == null ? void 0 : e.map) == null ? void 0 : c.call(e, (u) => /* @__PURE__ */ d.jsx(
@@ -10349,6 +10365,7 @@ const Qv = () => {
10349
10365
  color: u.value === a ? "white" : void 0
10350
10366
  },
10351
10367
  className: "option",
10368
+ title: u.label,
10352
10369
  onClick: () => s(u.value),
10353
10370
  children: u.label
10354
10371
  },
@@ -10601,49 +10618,60 @@ function sv(e) {
10601
10618
  return Ae({ attr: { viewBox: "0 0 256 256", fill: "currentColor" }, child: [{ tag: "path", attr: { d: "M60,96v64a12,12,0,0,1-24,0V96a12,12,0,0,1,24,0ZM88,20A12,12,0,0,0,76,32V224a12,12,0,0,0,24,0V32A12,12,0,0,0,88,20Zm40,32a12,12,0,0,0-12,12V192a12,12,0,0,0,24,0V64A12,12,0,0,0,128,52Zm40,32a12,12,0,0,0-12,12v64a12,12,0,0,0,24,0V96A12,12,0,0,0,168,84Zm40-16a12,12,0,0,0-12,12v96a12,12,0,0,0,24,0V80A12,12,0,0,0,208,68Z" }, child: [] }] })(e);
10602
10619
  }
10603
10620
  const Xv = () => {
10604
- const { id: e, language: t, personas: n, propTags: r, token: i, env: a, readonly: o } = Zn(), s = mt(t), c = Wn((V) => V.message), u = Wn((V) => V.isloading), [l, f] = me(""), [y, w] = me(""), [v, g] = me(""), [h, x] = me(""), T = Oo(), C = r ? r.tags : [], b = n && n.map((V) => ({ label: V.name, value: V.name })), p = C.map((V) => ({ label: V, value: V })), k = (V) => {
10605
- g(V);
10606
- }, N = (V) => {
10607
- x(V);
10608
- }, _ = (V) => {
10609
- f(V);
10610
- }, q = (V) => {
10611
- w(V);
10612
- }, H = () => {
10613
- T(Qd(l, y, v, h, e, i, a));
10614
- }, U = () => /* @__PURE__ */ d.jsxs(po, { isloading: u, children: [
10621
+ const { id: e, language: t, personas: n, propTags: r, token: i, env: a } = Zn(), o = mt(t), s = Wn((F) => F.message), c = Wn((F) => F.isloading), [u, l] = me(""), [f, y] = me(""), [w, v] = me(""), [g, h] = me(""), x = Oo(), T = r ? r.tags : [], C = n && n.map((F) => ({ label: F.name, value: F.name })), b = T.map((F) => ({ label: F, value: F })), p = (F) => v(F), k = (F) => h(F), N = (F) => l(F), _ = (F) => y(F), U = () => {
10622
+ x(Qd(u, f, w, g, e, i, a));
10623
+ }, H = () => /* @__PURE__ */ d.jsxs(po, { isloading: c, children: [
10615
10624
  /* @__PURE__ */ d.jsx("div", { id: "loading" }),
10616
10625
  /* @__PURE__ */ d.jsx(Jm, { children: /* @__PURE__ */ d.jsxs("div", { className: "infos", children: [
10617
- /* @__PURE__ */ d.jsx("h2", { children: s.test }),
10618
- /* @__PURE__ */ d.jsx("p", { children: s.testArea.description })
10626
+ /* @__PURE__ */ d.jsx("h2", { children: o.test }),
10627
+ /* @__PURE__ */ d.jsx("p", { children: o.testArea.description })
10619
10628
  ] }) }),
10620
10629
  /* @__PURE__ */ d.jsxs(fo, { children: [
10621
- /* @__PURE__ */ d.jsx(di, { placeholder: s.testArea.typeSentence, onChange: _ }),
10622
- /* @__PURE__ */ d.jsx(mo, { placeholder: s.testArea.selectPersona, options: b, onSelect: k }),
10623
- /* @__PURE__ */ d.jsx(mo, { placeholder: s.testArea.selectPresset, options: p, onSelect: N }),
10624
- /* @__PURE__ */ d.jsxs("button", { onClick: H, children: [
10630
+ /* @__PURE__ */ d.jsx(di, { placeholder: o.testArea.typeSentence, onChange: N }),
10631
+ /* @__PURE__ */ d.jsx(
10632
+ mo,
10633
+ {
10634
+ placeholder: o.testArea.selectPersona,
10635
+ options: C,
10636
+ onSelect: p
10637
+ }
10638
+ ),
10639
+ /* @__PURE__ */ d.jsx(
10640
+ mo,
10641
+ {
10642
+ placeholder: o.testArea.selectPresset,
10643
+ options: b,
10644
+ onSelect: k
10645
+ }
10646
+ ),
10647
+ /* @__PURE__ */ d.jsxs("button", { onClick: U, children: [
10625
10648
  /* @__PURE__ */ d.jsx(sv, {}),
10626
- " ",
10627
- s.buttons.test
10649
+ o.buttons.test
10628
10650
  ] })
10629
10651
  ] }),
10630
- /* @__PURE__ */ d.jsx(fo, { children: v === "Custom" && /* @__PURE__ */ d.jsx(hc, { className: "textarea-message", placeholder: s.testArea.typePrompt, value: y, onChange: (V) => {
10631
- q(V.target.value);
10632
- } }) }),
10633
- c ? /* @__PURE__ */ d.jsxs(Qm, { children: [
10652
+ /* @__PURE__ */ d.jsx(fo, { children: w === "Custom" && /* @__PURE__ */ d.jsx(
10653
+ hc,
10654
+ {
10655
+ className: "textarea-message",
10656
+ placeholder: o.testArea.typePrompt,
10657
+ value: f,
10658
+ onChange: (F) => _(F.target.value)
10659
+ }
10660
+ ) }),
10661
+ s ? /* @__PURE__ */ d.jsxs(Qm, { children: [
10634
10662
  /* @__PURE__ */ d.jsx("div", { className: "icon", children: /* @__PURE__ */ d.jsx(Lf, {}) }),
10635
- /* @__PURE__ */ d.jsx("div", { className: "text", children: c })
10663
+ /* @__PURE__ */ d.jsx("div", { className: "text", children: s })
10636
10664
  ] }) : /* @__PURE__ */ d.jsx(
10637
10665
  br,
10638
10666
  {
10639
10667
  icon: /* @__PURE__ */ d.jsx(nc, {}),
10640
- title: s.testArea.emptyState.title,
10641
- description: s.testArea.emptyState.description,
10668
+ title: o.testArea.emptyState.title,
10669
+ description: o.testArea.emptyState.description,
10642
10670
  activeButton: !1
10643
10671
  }
10644
10672
  )
10645
10673
  ] });
10646
- return /* @__PURE__ */ d.jsx(po, { children: U() });
10674
+ return /* @__PURE__ */ d.jsx(po, { children: H() });
10647
10675
  }, cv = B.div`
10648
10676
  position: fixed;
10649
10677
  top: 0;
@@ -10996,14 +11024,14 @@ const Cv = {
10996
11024
  ] })
10997
11025
  ] }) });
10998
11026
  }, Zv = () => {
10999
- var z, ee, K, ce, re, ae, O, P, D;
11027
+ var M, Z, Y, ce, re, ae, O, P, D;
11000
11028
  const { language: e, readonly: t } = Zn(), n = mt(e), { createPersona: r, personas: i, updatePersona: a, deletePersona: o } = Zn(), [s, c] = me(""), [u, l] = me(!1), [f, y] = me(null), [w, v] = me(!1), [g, h] = me(null), [x, T] = me([]), [C, b] = me([]), [p, k] = me({
11001
11029
  name: "",
11002
11030
  description: "",
11003
11031
  prompt: ""
11004
11032
  }), N = p.name.trim() !== "" && p.description.trim() !== "" && p.prompt.trim() !== "", _ = () => {
11005
11033
  y(null), k({ name: "", description: "", prompt: "" }), l(!0);
11006
- }, q = (j) => {
11034
+ }, U = (j) => {
11007
11035
  y(j), k({
11008
11036
  name: j.name,
11009
11037
  description: j.description,
@@ -11015,7 +11043,7 @@ const Cv = {
11015
11043
  description: j.description,
11016
11044
  prompt: j.prompt
11017
11045
  }), l(!0);
11018
- }, U = async () => {
11046
+ }, F = async () => {
11019
11047
  if (N)
11020
11048
  try {
11021
11049
  if (f)
@@ -11033,7 +11061,7 @@ const Cv = {
11033
11061
  } catch (j) {
11034
11062
  console.error("Erro ao salvar persona", j);
11035
11063
  }
11036
- }, V = (j) => {
11064
+ }, ne = (j) => {
11037
11065
  h(j), v(!0);
11038
11066
  }, R = async () => {
11039
11067
  try {
@@ -11051,13 +11079,13 @@ const Cv = {
11051
11079
  }, [i]), /* @__PURE__ */ d.jsxs(vv, { children: [
11052
11080
  /* @__PURE__ */ d.jsxs(hv, { children: [
11053
11081
  /* @__PURE__ */ d.jsxs("div", { className: "infos", children: [
11054
- /* @__PURE__ */ d.jsx("h2", { children: (z = n.personas) == null ? void 0 : z.title }),
11055
- /* @__PURE__ */ d.jsx("p", { children: (ee = n.personas) == null ? void 0 : ee.description })
11082
+ /* @__PURE__ */ d.jsx("h2", { children: (M = n.personas) == null ? void 0 : M.title }),
11083
+ /* @__PURE__ */ d.jsx("p", { children: (Z = n.personas) == null ? void 0 : Z.description })
11056
11084
  ] }),
11057
11085
  !t && /* @__PURE__ */ d.jsxs("button", { onClick: _, children: [
11058
11086
  /* @__PURE__ */ d.jsx(wf, {}),
11059
11087
  " ",
11060
- (K = n.personas) == null ? void 0 : K.add
11088
+ (Y = n.personas) == null ? void 0 : Y.add
11061
11089
  ] })
11062
11090
  ] }),
11063
11091
  /* @__PURE__ */ d.jsx(gv, { children: /* @__PURE__ */ d.jsx(
@@ -11074,7 +11102,7 @@ const Cv = {
11074
11102
  /* @__PURE__ */ d.jsx("span", { children: j.description })
11075
11103
  ] }) }),
11076
11104
  /* @__PURE__ */ d.jsx("td", { className: "td-actions", children: !t && j.created_at && /* @__PURE__ */ d.jsxs("div", { className: "actions", children: [
11077
- /* @__PURE__ */ d.jsxs("button", { onClick: () => q(j), children: [
11105
+ /* @__PURE__ */ d.jsxs("button", { onClick: () => U(j), children: [
11078
11106
  /* @__PURE__ */ d.jsx(yf, {}),
11079
11107
  " ",
11080
11108
  n.edit
@@ -11088,7 +11116,7 @@ const Cv = {
11088
11116
  "button",
11089
11117
  {
11090
11118
  className: "button-delete",
11091
- onClick: () => V(j),
11119
+ onClick: () => ne(j),
11092
11120
  children: [
11093
11121
  /* @__PURE__ */ d.jsx(_f, {}),
11094
11122
  " ",
@@ -11143,7 +11171,7 @@ const Cv = {
11143
11171
  /* @__PURE__ */ d.jsx(
11144
11172
  "button",
11145
11173
  {
11146
- onClick: U,
11174
+ onClick: F,
11147
11175
  disabled: !N,
11148
11176
  style: {
11149
11177
  opacity: N ? 1 : 0.5,