bonuspluscomponents 0.0.48 → 0.0.49

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.
@@ -1,15 +1,15 @@
1
- import St, { createContext as _t, useState as Q, useEffect as lt } from "react";
1
+ import vt, { createContext as St, useState as Q, useEffect as Rr } from "react";
2
2
  var Ne = { exports: {} }, z = {};
3
3
  /*
4
4
  object-assign
5
5
  (c) Sindre Sorhus
6
6
  @license MIT
7
7
  */
8
- var Te, ft;
9
- function Tt() {
10
- if (ft)
11
- return Te;
12
- ft = 1;
8
+ var Ae, lt;
9
+ function _t() {
10
+ if (lt)
11
+ return Ae;
12
+ lt = 1;
13
13
  var e = Object.getOwnPropertySymbols, t = Object.prototype.hasOwnProperty, r = Object.prototype.propertyIsEnumerable;
14
14
  function n(i) {
15
15
  if (i == null)
@@ -38,19 +38,19 @@ function Tt() {
38
38
  return !1;
39
39
  }
40
40
  }
41
- return Te = s() ? Object.assign : function(i, a) {
41
+ return Ae = s() ? Object.assign : function(i, a) {
42
42
  for (var c, h = n(i), l, d = 1; d < arguments.length; d++) {
43
43
  c = Object(arguments[d]);
44
- for (var E in c)
45
- t.call(c, E) && (h[E] = c[E]);
44
+ for (var m in c)
45
+ t.call(c, m) && (h[m] = c[m]);
46
46
  if (e) {
47
47
  l = e(c);
48
- for (var w = 0; w < l.length; w++)
49
- r.call(c, l[w]) && (h[l[w]] = c[l[w]]);
48
+ for (var R = 0; R < l.length; R++)
49
+ r.call(c, l[R]) && (h[l[R]] = c[l[R]]);
50
50
  }
51
51
  }
52
52
  return h;
53
- }, Te;
53
+ }, Ae;
54
54
  }
55
55
  /** @license React v17.0.2
56
56
  * react-jsx-runtime.production.min.js
@@ -60,30 +60,30 @@ function Tt() {
60
60
  * This source code is licensed under the MIT license found in the
61
61
  * LICENSE file in the root directory of this source tree.
62
62
  */
63
- var dt;
63
+ var ft;
64
64
  function wr() {
65
- if (dt)
65
+ if (ft)
66
66
  return z;
67
- dt = 1, Tt();
68
- var e = St, t = 60103;
67
+ ft = 1, _t();
68
+ var e = vt, t = 60103;
69
69
  if (z.Fragment = 60107, typeof Symbol == "function" && Symbol.for) {
70
70
  var r = Symbol.for;
71
71
  t = r("react.element"), z.Fragment = r("react.fragment");
72
72
  }
73
73
  var n = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, s = Object.prototype.hasOwnProperty, i = { key: !0, ref: !0, __self: !0, __source: !0 };
74
74
  function a(c, h, l) {
75
- var d, E = {}, w = null, O = null;
76
- l !== void 0 && (w = "" + l), h.key !== void 0 && (w = "" + h.key), h.ref !== void 0 && (O = h.ref);
75
+ var d, m = {}, R = null, O = null;
76
+ l !== void 0 && (R = "" + l), h.key !== void 0 && (R = "" + h.key), h.ref !== void 0 && (O = h.ref);
77
77
  for (d in h)
78
- s.call(h, d) && !i.hasOwnProperty(d) && (E[d] = h[d]);
78
+ s.call(h, d) && !i.hasOwnProperty(d) && (m[d] = h[d]);
79
79
  if (c && c.defaultProps)
80
80
  for (d in h = c.defaultProps, h)
81
- E[d] === void 0 && (E[d] = h[d]);
82
- return { $$typeof: t, type: c, key: w, ref: O, props: E, _owner: n.current };
81
+ m[d] === void 0 && (m[d] = h[d]);
82
+ return { $$typeof: t, type: c, key: R, ref: O, props: m, _owner: n.current };
83
83
  }
84
84
  return z.jsx = a, z.jsxs = a, z;
85
85
  }
86
- var Ae = {};
86
+ var Te = {};
87
87
  /** @license React v17.0.2
88
88
  * react-jsx-runtime.development.js
89
89
  *
@@ -92,22 +92,22 @@ var Ae = {};
92
92
  * This source code is licensed under the MIT license found in the
93
93
  * LICENSE file in the root directory of this source tree.
94
94
  */
95
- var pt;
95
+ var dt;
96
96
  function Or() {
97
- return pt || (pt = 1, function(e) {
97
+ return dt || (dt = 1, function(e) {
98
98
  process.env.NODE_ENV !== "production" && function() {
99
- var t = St, r = Tt(), n = 60103, s = 60106;
99
+ var t = vt, r = _t(), n = 60103, s = 60106;
100
100
  e.Fragment = 60107;
101
- var i = 60108, a = 60114, c = 60109, h = 60110, l = 60112, d = 60113, E = 60120, w = 60115, O = 60116, m = 60121, b = 60122, D = 60117, j = 60129, B = 60131;
101
+ var i = 60108, a = 60114, c = 60109, h = 60110, l = 60112, d = 60113, m = 60120, R = 60115, O = 60116, E = 60121, b = 60122, D = 60117, j = 60129, B = 60131;
102
102
  if (typeof Symbol == "function" && Symbol.for) {
103
- var T = Symbol.for;
104
- n = T("react.element"), s = T("react.portal"), e.Fragment = T("react.fragment"), i = T("react.strict_mode"), a = T("react.profiler"), c = T("react.provider"), h = T("react.context"), l = T("react.forward_ref"), d = T("react.suspense"), E = T("react.suspense_list"), w = T("react.memo"), O = T("react.lazy"), m = T("react.block"), b = T("react.server.block"), D = T("react.fundamental"), T("react.scope"), T("react.opaque.id"), j = T("react.debug_trace_mode"), T("react.offscreen"), B = T("react.legacy_hidden");
103
+ var A = Symbol.for;
104
+ n = A("react.element"), s = A("react.portal"), e.Fragment = A("react.fragment"), i = A("react.strict_mode"), a = A("react.profiler"), c = A("react.provider"), h = A("react.context"), l = A("react.forward_ref"), d = A("react.suspense"), m = A("react.suspense_list"), R = A("react.memo"), O = A("react.lazy"), E = A("react.block"), b = A("react.server.block"), D = A("react.fundamental"), A("react.scope"), A("react.opaque.id"), j = A("react.debug_trace_mode"), A("react.offscreen"), B = A("react.legacy_hidden");
105
105
  }
106
- var re = typeof Symbol == "function" && Symbol.iterator, Jt = "@@iterator";
107
- function Yt(o) {
106
+ var re = typeof Symbol == "function" && Symbol.iterator, zt = "@@iterator";
107
+ function Jt(o) {
108
108
  if (o === null || typeof o != "object")
109
109
  return null;
110
- var f = re && o[re] || o[Jt];
110
+ var f = re && o[re] || o[zt];
111
111
  return typeof f == "function" ? f : null;
112
112
  }
113
113
  var H = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
@@ -115,10 +115,10 @@ function Or() {
115
115
  {
116
116
  for (var f = arguments.length, p = new Array(f > 1 ? f - 1 : 0), y = 1; y < f; y++)
117
117
  p[y - 1] = arguments[y];
118
- Kt("error", o, p);
118
+ Yt("error", o, p);
119
119
  }
120
120
  }
121
- function Kt(o, f, p) {
121
+ function Yt(o, f, p) {
122
122
  {
123
123
  var y = H.ReactDebugCurrentFrame, S = y.getStackAddendum();
124
124
  S !== "" && (f += "%s", p = p.concat([S]));
@@ -128,11 +128,11 @@ function Or() {
128
128
  _.unshift("Warning: " + f), Function.prototype.apply.call(console[o], console, _);
129
129
  }
130
130
  }
131
- var Gt = !1;
132
- function Xt(o) {
133
- return !!(typeof o == "string" || typeof o == "function" || o === e.Fragment || o === a || o === j || o === i || o === d || o === E || o === B || Gt || typeof o == "object" && o !== null && (o.$$typeof === O || o.$$typeof === w || o.$$typeof === c || o.$$typeof === h || o.$$typeof === l || o.$$typeof === D || o.$$typeof === m || o[0] === b));
131
+ var Kt = !1;
132
+ function Gt(o) {
133
+ return !!(typeof o == "string" || typeof o == "function" || o === e.Fragment || o === a || o === j || o === i || o === d || o === m || o === B || Kt || typeof o == "object" && o !== null && (o.$$typeof === O || o.$$typeof === R || o.$$typeof === c || o.$$typeof === h || o.$$typeof === l || o.$$typeof === D || o.$$typeof === E || o[0] === b));
134
134
  }
135
- function Qt(o, f, p) {
135
+ function Xt(o, f, p) {
136
136
  var y = f.displayName || f.name || "";
137
137
  return o.displayName || (y !== "" ? p + "(" + y + ")" : p);
138
138
  }
@@ -157,7 +157,7 @@ function Or() {
157
157
  return "StrictMode";
158
158
  case d:
159
159
  return "Suspense";
160
- case E:
160
+ case m:
161
161
  return "SuspenseList";
162
162
  }
163
163
  if (typeof o == "object")
@@ -169,10 +169,10 @@ function Or() {
169
169
  var p = o;
170
170
  return qe(p._context) + ".Provider";
171
171
  case l:
172
- return Qt(o, o.render, "ForwardRef");
173
- case w:
172
+ return Xt(o, o.render, "ForwardRef");
173
+ case R:
174
174
  return F(o.type);
175
- case m:
175
+ case E:
176
176
  return F(o._render);
177
177
  case O: {
178
178
  var y = o, S = y._payload, _ = y._init;
@@ -189,7 +189,7 @@ function Or() {
189
189
  function Ge() {
190
190
  }
191
191
  Ge.__reactDisabledLog = !0;
192
- function Zt() {
192
+ function Qt() {
193
193
  {
194
194
  if (K === 0) {
195
195
  He = console.log, We = console.info, Ve = console.warn, ze = console.error, Je = console.group, Ye = console.groupCollapsed, Ke = console.groupEnd;
@@ -212,7 +212,7 @@ function Or() {
212
212
  K++;
213
213
  }
214
214
  }
215
- function er() {
215
+ function Zt() {
216
216
  {
217
217
  if (K--, K === 0) {
218
218
  var o = {
@@ -263,8 +263,8 @@ function Or() {
263
263
  }
264
264
  var we = !1, oe;
265
265
  {
266
- var tr = typeof WeakMap == "function" ? WeakMap : Map;
267
- oe = new tr();
266
+ var er = typeof WeakMap == "function" ? WeakMap : Map;
267
+ oe = new er();
268
268
  }
269
269
  function Xe(o, f) {
270
270
  if (!o || we)
@@ -279,7 +279,7 @@ function Or() {
279
279
  var S = Error.prepareStackTrace;
280
280
  Error.prepareStackTrace = void 0;
281
281
  var _;
282
- _ = be.current, be.current = null, Zt();
282
+ _ = be.current, be.current = null, Qt();
283
283
  try {
284
284
  if (f) {
285
285
  var g = function() {
@@ -314,25 +314,25 @@ function Or() {
314
314
  }
315
315
  } catch (M) {
316
316
  if (M && y && typeof M.stack == "string") {
317
- for (var R = M.stack.split(`
317
+ for (var w = M.stack.split(`
318
318
  `), C = y.stack.split(`
319
- `), A = R.length - 1, P = C.length - 1; A >= 1 && P >= 0 && R[A] !== C[P]; )
319
+ `), T = w.length - 1, P = C.length - 1; T >= 1 && P >= 0 && w[T] !== C[P]; )
320
320
  P--;
321
- for (; A >= 1 && P >= 0; A--, P--)
322
- if (R[A] !== C[P]) {
323
- if (A !== 1 || P !== 1)
321
+ for (; T >= 1 && P >= 0; T--, P--)
322
+ if (w[T] !== C[P]) {
323
+ if (T !== 1 || P !== 1)
324
324
  do
325
- if (A--, P--, P < 0 || R[A] !== C[P]) {
325
+ if (T--, P--, P < 0 || w[T] !== C[P]) {
326
326
  var I = `
327
- ` + R[A].replace(" at new ", " at ");
327
+ ` + w[T].replace(" at new ", " at ");
328
328
  return typeof o == "function" && oe.set(o, I), I;
329
329
  }
330
- while (A >= 1 && P >= 0);
330
+ while (T >= 1 && P >= 0);
331
331
  break;
332
332
  }
333
333
  }
334
334
  } finally {
335
- we = !1, be.current = _, er(), Error.prepareStackTrace = S;
335
+ we = !1, be.current = _, Zt(), Error.prepareStackTrace = S;
336
336
  }
337
337
  var V = o ? o.displayName || o.name : "", ct = V ? ne(V) : "";
338
338
  return typeof o == "function" && oe.set(o, ct), ct;
@@ -340,7 +340,7 @@ function Or() {
340
340
  function Qe(o, f, p) {
341
341
  return Xe(o, !1);
342
342
  }
343
- function rr(o) {
343
+ function tr(o) {
344
344
  var f = o.prototype;
345
345
  return !!(f && f.isReactComponent);
346
346
  }
@@ -348,22 +348,22 @@ function Or() {
348
348
  if (o == null)
349
349
  return "";
350
350
  if (typeof o == "function")
351
- return Xe(o, rr(o));
351
+ return Xe(o, tr(o));
352
352
  if (typeof o == "string")
353
353
  return ne(o);
354
354
  switch (o) {
355
355
  case d:
356
356
  return ne("Suspense");
357
- case E:
357
+ case m:
358
358
  return ne("SuspenseList");
359
359
  }
360
360
  if (typeof o == "object")
361
361
  switch (o.$$typeof) {
362
362
  case l:
363
363
  return Qe(o.render);
364
- case w:
364
+ case R:
365
365
  return se(o.type, f, p);
366
- case m:
366
+ case E:
367
367
  return Qe(o._render);
368
368
  case O: {
369
369
  var y = o, S = y._payload, _ = y._init;
@@ -383,33 +383,33 @@ function Or() {
383
383
  } else
384
384
  et.setExtraStackFrame(null);
385
385
  }
386
- function nr(o, f, p, y, S) {
386
+ function rr(o, f, p, y, S) {
387
387
  {
388
388
  var _ = Function.call.bind(Object.prototype.hasOwnProperty);
389
389
  for (var g in o)
390
390
  if (_(o, g)) {
391
- var R = void 0;
391
+ var w = void 0;
392
392
  try {
393
393
  if (typeof o[g] != "function") {
394
394
  var C = Error((y || "React class") + ": " + p + " type `" + g + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof o[g] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
395
395
  throw C.name = "Invariant Violation", C;
396
396
  }
397
- R = o[g](f, g, y, p, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
398
- } catch (A) {
399
- R = A;
397
+ w = o[g](f, g, y, p, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
398
+ } catch (T) {
399
+ w = T;
400
400
  }
401
- R && !(R instanceof Error) && (ie(S), N("%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).", y || "React class", p, g, typeof R), ie(null)), R instanceof Error && !(R.message in Ze) && (Ze[R.message] = !0, ie(S), N("Failed %s type: %s", p, R.message), ie(null));
401
+ w && !(w instanceof Error) && (ie(S), N("%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).", y || "React class", p, g, typeof w), ie(null)), w instanceof Error && !(w.message in Ze) && (Ze[w.message] = !0, ie(S), N("Failed %s type: %s", p, w.message), ie(null));
402
402
  }
403
403
  }
404
404
  }
405
- var G = H.ReactCurrentOwner, Oe = Object.prototype.hasOwnProperty, or = {
405
+ var G = H.ReactCurrentOwner, Oe = Object.prototype.hasOwnProperty, nr = {
406
406
  key: !0,
407
407
  ref: !0,
408
408
  __self: !0,
409
409
  __source: !0
410
410
  }, tt, rt, ge;
411
411
  ge = {};
412
- function sr(o) {
412
+ function or(o) {
413
413
  if (Oe.call(o, "ref")) {
414
414
  var f = Object.getOwnPropertyDescriptor(o, "ref").get;
415
415
  if (f && f.isReactWarning)
@@ -417,7 +417,7 @@ function Or() {
417
417
  }
418
418
  return o.ref !== void 0;
419
419
  }
420
- function ir(o) {
420
+ function sr(o) {
421
421
  if (Oe.call(o, "key")) {
422
422
  var f = Object.getOwnPropertyDescriptor(o, "key").get;
423
423
  if (f && f.isReactWarning)
@@ -425,13 +425,13 @@ function Or() {
425
425
  }
426
426
  return o.key !== void 0;
427
427
  }
428
- function ar(o, f) {
428
+ function ir(o, f) {
429
429
  if (typeof o.ref == "string" && G.current && f && G.current.stateNode !== f) {
430
430
  var p = F(G.current.type);
431
431
  ge[p] || (N('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', F(G.current.type), o.ref), ge[p] = !0);
432
432
  }
433
433
  }
434
- function ur(o, f) {
434
+ function ar(o, f) {
435
435
  {
436
436
  var p = function() {
437
437
  tt || (tt = !0, N("%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)", f));
@@ -442,7 +442,7 @@ function Or() {
442
442
  });
443
443
  }
444
444
  }
445
- function cr(o, f) {
445
+ function ur(o, f) {
446
446
  {
447
447
  var p = function() {
448
448
  rt || (rt = !0, N("%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)", f));
@@ -453,8 +453,8 @@ function Or() {
453
453
  });
454
454
  }
455
455
  }
456
- var lr = function(o, f, p, y, S, _, g) {
457
- var R = {
456
+ var cr = function(o, f, p, y, S, _, g) {
457
+ var w = {
458
458
  // This tag allows us to uniquely identify this as a React Element
459
459
  $$typeof: n,
460
460
  // Built-in properties that belong on the element
@@ -465,39 +465,39 @@ function Or() {
465
465
  // Record the component responsible for creating this element.
466
466
  _owner: _
467
467
  };
468
- return R._store = {}, Object.defineProperty(R._store, "validated", {
468
+ return w._store = {}, Object.defineProperty(w._store, "validated", {
469
469
  configurable: !1,
470
470
  enumerable: !1,
471
471
  writable: !0,
472
472
  value: !1
473
- }), Object.defineProperty(R, "_self", {
473
+ }), Object.defineProperty(w, "_self", {
474
474
  configurable: !1,
475
475
  enumerable: !1,
476
476
  writable: !1,
477
477
  value: y
478
- }), Object.defineProperty(R, "_source", {
478
+ }), Object.defineProperty(w, "_source", {
479
479
  configurable: !1,
480
480
  enumerable: !1,
481
481
  writable: !1,
482
482
  value: S
483
- }), Object.freeze && (Object.freeze(R.props), Object.freeze(R)), R;
483
+ }), Object.freeze && (Object.freeze(w.props), Object.freeze(w)), w;
484
484
  };
485
- function fr(o, f, p, y, S) {
485
+ function lr(o, f, p, y, S) {
486
486
  {
487
- var _, g = {}, R = null, C = null;
488
- p !== void 0 && (R = "" + p), ir(f) && (R = "" + f.key), sr(f) && (C = f.ref, ar(f, S));
487
+ var _, g = {}, w = null, C = null;
488
+ p !== void 0 && (w = "" + p), sr(f) && (w = "" + f.key), or(f) && (C = f.ref, ir(f, S));
489
489
  for (_ in f)
490
- Oe.call(f, _) && !or.hasOwnProperty(_) && (g[_] = f[_]);
490
+ Oe.call(f, _) && !nr.hasOwnProperty(_) && (g[_] = f[_]);
491
491
  if (o && o.defaultProps) {
492
- var A = o.defaultProps;
493
- for (_ in A)
494
- g[_] === void 0 && (g[_] = A[_]);
492
+ var T = o.defaultProps;
493
+ for (_ in T)
494
+ g[_] === void 0 && (g[_] = T[_]);
495
495
  }
496
- if (R || C) {
496
+ if (w || C) {
497
497
  var P = typeof o == "function" ? o.displayName || o.name || "Unknown" : o;
498
- R && ur(g, P), C && cr(g, P);
498
+ w && ar(g, P), C && ur(g, P);
499
499
  }
500
- return lr(o, R, C, S, y, G.current, g);
500
+ return cr(o, w, C, S, y, G.current, g);
501
501
  }
502
502
  }
503
503
  var ve = H.ReactCurrentOwner, nt = H.ReactDebugCurrentFrame;
@@ -525,7 +525,7 @@ Check the render method of \`` + o + "`.";
525
525
  return "";
526
526
  }
527
527
  }
528
- function dr(o) {
528
+ function fr(o) {
529
529
  {
530
530
  if (o !== void 0) {
531
531
  var f = o.fileName.replace(/^.*[\\\/]/, ""), p = o.lineNumber;
@@ -537,7 +537,7 @@ Check your code at ` + f + ":" + p + ".";
537
537
  }
538
538
  }
539
539
  var st = {};
540
- function pr(o) {
540
+ function dr(o) {
541
541
  {
542
542
  var f = ot();
543
543
  if (!f) {
@@ -554,7 +554,7 @@ Check the top-level render call using <` + p + ">.");
554
554
  if (!o._store || o._store.validated || o.key != null)
555
555
  return;
556
556
  o._store.validated = !0;
557
- var p = pr(f);
557
+ var p = dr(f);
558
558
  if (st[p])
559
559
  return;
560
560
  st[p] = !0;
@@ -574,14 +574,14 @@ Check the top-level render call using <` + p + ">.");
574
574
  else if (_e(o))
575
575
  o._store && (o._store.validated = !0);
576
576
  else if (o) {
577
- var S = Yt(o);
577
+ var S = Jt(o);
578
578
  if (typeof S == "function" && S !== o.entries)
579
579
  for (var _ = S.call(o), g; !(g = _.next()).done; )
580
580
  _e(g.value) && it(g.value, f);
581
581
  }
582
582
  }
583
583
  }
584
- function hr(o) {
584
+ function pr(o) {
585
585
  {
586
586
  var f = o.type;
587
587
  if (f == null || typeof f == "string")
@@ -591,13 +591,13 @@ Check the top-level render call using <` + p + ">.");
591
591
  p = f.propTypes;
592
592
  else if (typeof f == "object" && (f.$$typeof === l || // Note: Memo only checks outer props here.
593
593
  // Inner props are checked in the reconciler.
594
- f.$$typeof === w))
594
+ f.$$typeof === R))
595
595
  p = f.propTypes;
596
596
  else
597
597
  return;
598
598
  if (p) {
599
599
  var y = F(f);
600
- nr(p, o.props, "prop", y, o);
600
+ rr(p, o.props, "prop", y, o);
601
601
  } else if (f.PropTypes !== void 0 && !Se) {
602
602
  Se = !0;
603
603
  var S = F(f);
@@ -606,7 +606,7 @@ Check the top-level render call using <` + p + ">.");
606
606
  typeof f.getDefaultProps == "function" && !f.getDefaultProps.isReactClassApproved && N("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
607
607
  }
608
608
  }
609
- function mr(o) {
609
+ function hr(o) {
610
610
  {
611
611
  for (var f = Object.keys(o.props), p = 0; p < f.length; p++) {
612
612
  var y = f[p];
@@ -620,16 +620,16 @@ Check the top-level render call using <` + p + ">.");
620
620
  }
621
621
  function ut(o, f, p, y, S, _) {
622
622
  {
623
- var g = Xt(o);
623
+ var g = Gt(o);
624
624
  if (!g) {
625
- var R = "";
626
- (o === void 0 || typeof o == "object" && o !== null && Object.keys(o).length === 0) && (R += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
627
- var C = dr(S);
628
- C ? R += C : R += ot();
629
- var A;
630
- o === null ? A = "null" : Array.isArray(o) ? A = "array" : o !== void 0 && o.$$typeof === n ? (A = "<" + (F(o.type) || "Unknown") + " />", R = " Did you accidentally export a JSX literal instead of a component?") : A = typeof o, N("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", A, R);
625
+ var w = "";
626
+ (o === void 0 || typeof o == "object" && o !== null && Object.keys(o).length === 0) && (w += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
627
+ var C = fr(S);
628
+ C ? w += C : w += ot();
629
+ var T;
630
+ o === null ? T = "null" : Array.isArray(o) ? T = "array" : o !== void 0 && o.$$typeof === n ? (T = "<" + (F(o.type) || "Unknown") + " />", w = " Did you accidentally export a JSX literal instead of a component?") : T = typeof o, N("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", T, w);
631
631
  }
632
- var P = fr(o, f, p, S, _);
632
+ var P = lr(o, f, p, S, _);
633
633
  if (P == null)
634
634
  return P;
635
635
  if (g) {
@@ -645,25 +645,25 @@ Check the top-level render call using <` + p + ">.");
645
645
  else
646
646
  at(I, o);
647
647
  }
648
- return o === e.Fragment ? mr(P) : hr(P), P;
648
+ return o === e.Fragment ? hr(P) : pr(P), P;
649
649
  }
650
650
  }
651
- function Er(o, f, p) {
651
+ function mr(o, f, p) {
652
652
  return ut(o, f, p, !0);
653
653
  }
654
- function yr(o, f, p) {
654
+ function Er(o, f, p) {
655
655
  return ut(o, f, p, !1);
656
656
  }
657
- var br = yr, Rr = Er;
658
- e.jsx = br, e.jsxs = Rr;
657
+ var yr = Er, br = mr;
658
+ e.jsx = yr, e.jsxs = br;
659
659
  }();
660
- }(Ae)), Ae;
660
+ }(Te)), Te;
661
661
  }
662
662
  process.env.NODE_ENV === "production" ? Ne.exports = wr() : Ne.exports = Or();
663
663
  var At = Ne.exports;
664
664
  const gr = {
665
665
  popups: []
666
- }, vr = _t(gr), Sr = () => {
666
+ }, vr = St(gr), Sr = () => {
667
667
  const [e, t] = Q([]);
668
668
  return {
669
669
  popups: e
@@ -672,7 +672,7 @@ const gr = {
672
672
  const t = Sr();
673
673
  return /* @__PURE__ */ At.jsx(vr.Provider, { value: t, children: e });
674
674
  };
675
- function Pt(e, t) {
675
+ function Tt(e, t) {
676
676
  return function() {
677
677
  return e.apply(t, arguments);
678
678
  };
@@ -681,15 +681,15 @@ const { toString: _r } = Object.prototype, { getPrototypeOf: Ue } = Object, de =
681
681
  const r = _r.call(t);
682
682
  return e[r] || (e[r] = r.slice(8, -1).toLowerCase());
683
683
  })(/* @__PURE__ */ Object.create(null)), U = (e) => (e = e.toLowerCase(), (t) => de(t) === e), pe = (e) => (t) => typeof t === e, { isArray: Y } = Array, Z = pe("undefined");
684
- function Tr(e) {
684
+ function Ar(e) {
685
685
  return e !== null && !Z(e) && e.constructor !== null && !Z(e.constructor) && k(e.constructor.isBuffer) && e.constructor.isBuffer(e);
686
686
  }
687
- const xt = U("ArrayBuffer");
688
- function Ar(e) {
687
+ const Pt = U("ArrayBuffer");
688
+ function Tr(e) {
689
689
  let t;
690
- return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && xt(e.buffer), t;
690
+ return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && Pt(e.buffer), t;
691
691
  }
692
- const Pr = pe("string"), k = pe("function"), Ct = pe("number"), he = (e) => e !== null && typeof e == "object", xr = (e) => e === !0 || e === !1, ae = (e) => {
692
+ const Pr = pe("string"), k = pe("function"), xt = pe("number"), he = (e) => e !== null && typeof e == "object", xr = (e) => e === !0 || e === !1, ae = (e) => {
693
693
  if (de(e) !== "object")
694
694
  return !1;
695
695
  const t = Ue(e);
@@ -713,7 +713,7 @@ function ee(e, t, { allOwnKeys: r = !1 } = {}) {
713
713
  c = i[n], t.call(null, e[c], c, e);
714
714
  }
715
715
  }
716
- function jt(e, t) {
716
+ function Ct(e, t) {
717
717
  t = t.toLowerCase();
718
718
  const r = Object.keys(e);
719
719
  let n = r.length, s;
@@ -722,10 +722,10 @@ function jt(e, t) {
722
722
  return s;
723
723
  return null;
724
724
  }
725
- const Nt = (() => typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global)(), Dt = (e) => !Z(e) && e !== Nt;
725
+ const jt = (() => typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global)(), Nt = (e) => !Z(e) && e !== jt;
726
726
  function De() {
727
- const { caseless: e } = Dt(this) && this || {}, t = {}, r = (n, s) => {
728
- const i = e && jt(t, s) || s;
727
+ const { caseless: e } = Nt(this) && this || {}, t = {}, r = (n, s) => {
728
+ const i = e && Ct(t, s) || s;
729
729
  ae(t[i]) && ae(n) ? t[i] = De(t[i], n) : ae(n) ? t[i] = De({}, n) : Y(n) ? t[i] = n.slice() : t[i] = n;
730
730
  };
731
731
  for (let n = 0, s = arguments.length; n < s; n++)
@@ -733,7 +733,7 @@ function De() {
733
733
  return t;
734
734
  }
735
735
  const Br = (e, t, r, { allOwnKeys: n } = {}) => (ee(t, (s, i) => {
736
- r && k(s) ? e[i] = Pt(s, r) : e[i] = s;
736
+ r && k(s) ? e[i] = Tt(s, r) : e[i] = s;
737
737
  }, { allOwnKeys: n }), e), Ir = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), Mr = (e, t, r, n) => {
738
738
  e.prototype = Object.create(t.prototype, n), e.prototype.constructor = e, Object.defineProperty(e, "super", {
739
739
  value: t.prototype
@@ -759,7 +759,7 @@ const Br = (e, t, r, { allOwnKeys: n } = {}) => (ee(t, (s, i) => {
759
759
  if (Y(e))
760
760
  return e;
761
761
  let t = e.length;
762
- if (!Ct(t))
762
+ if (!xt(t))
763
763
  return null;
764
764
  const r = new Array(t);
765
765
  for (; t-- > 0; )
@@ -783,13 +783,13 @@ const Br = (e, t, r, { allOwnKeys: n } = {}) => (ee(t, (s, i) => {
783
783
  function(r, n, s) {
784
784
  return n.toUpperCase() + s;
785
785
  }
786
- ), ht = (({ hasOwnProperty: e }) => (t, r) => e.call(t, r))(Object.prototype), Kr = U("RegExp"), kt = (e, t) => {
786
+ ), pt = (({ hasOwnProperty: e }) => (t, r) => e.call(t, r))(Object.prototype), Kr = U("RegExp"), Dt = (e, t) => {
787
787
  const r = Object.getOwnPropertyDescriptors(e), n = {};
788
788
  ee(r, (s, i) => {
789
789
  t(s, i, e) !== !1 && (n[i] = s);
790
790
  }), Object.defineProperties(e, n);
791
791
  }, Gr = (e) => {
792
- kt(e, (t, r) => {
792
+ Dt(e, (t, r) => {
793
793
  if (k(e) && ["arguments", "caller", "callee"].indexOf(r) !== -1)
794
794
  return !1;
795
795
  const n = e[r];
@@ -811,11 +811,11 @@ const Br = (e, t, r, { allOwnKeys: n } = {}) => (ee(t, (s, i) => {
811
811
  };
812
812
  return Y(e) ? n(e) : n(String(e).split(t)), r;
813
813
  }, Qr = () => {
814
- }, Zr = (e, t) => (e = +e, Number.isFinite(e) ? e : t), Pe = "abcdefghijklmnopqrstuvwxyz", mt = "0123456789", Ft = {
815
- DIGIT: mt,
814
+ }, Zr = (e, t) => (e = +e, Number.isFinite(e) ? e : t), Pe = "abcdefghijklmnopqrstuvwxyz", ht = "0123456789", kt = {
815
+ DIGIT: ht,
816
816
  ALPHA: Pe,
817
- ALPHA_DIGIT: Pe + Pe.toUpperCase() + mt
818
- }, en = (e = 16, t = Ft.ALPHA_DIGIT) => {
817
+ ALPHA_DIGIT: Pe + Pe.toUpperCase() + ht
818
+ }, en = (e = 16, t = kt.ALPHA_DIGIT) => {
819
819
  let r = "";
820
820
  const { length: n } = t;
821
821
  for (; e--; )
@@ -844,12 +844,12 @@ const rn = (e) => {
844
844
  return r(e, 0);
845
845
  }, nn = U("AsyncFunction"), on = (e) => e && (he(e) || k(e)) && k(e.then) && k(e.catch), u = {
846
846
  isArray: Y,
847
- isArrayBuffer: xt,
848
- isBuffer: Tr,
847
+ isArrayBuffer: Pt,
848
+ isBuffer: Ar,
849
849
  isFormData: Fr,
850
- isArrayBufferView: Ar,
850
+ isArrayBufferView: Tr,
851
851
  isString: Pr,
852
- isNumber: Ct,
852
+ isNumber: xt,
853
853
  isBoolean: xr,
854
854
  isObject: he,
855
855
  isPlainObject: ae,
@@ -877,19 +877,19 @@ const rn = (e) => {
877
877
  forEachEntry: Vr,
878
878
  matchAll: zr,
879
879
  isHTMLForm: Jr,
880
- hasOwnProperty: ht,
881
- hasOwnProp: ht,
880
+ hasOwnProperty: pt,
881
+ hasOwnProp: pt,
882
882
  // an alias to avoid ESLint no-prototype-builtins detection
883
- reduceDescriptors: kt,
883
+ reduceDescriptors: Dt,
884
884
  freezeMethods: Gr,
885
885
  toObjectSet: Xr,
886
886
  toCamelCase: Yr,
887
887
  noop: Qr,
888
888
  toFiniteNumber: Zr,
889
- findKey: jt,
890
- global: Nt,
891
- isContextDefined: Dt,
892
- ALPHABET: Ft,
889
+ findKey: Ct,
890
+ global: jt,
891
+ isContextDefined: Nt,
892
+ ALPHABET: kt,
893
893
  generateString: en,
894
894
  isSpecCompliantForm: tn,
895
895
  toJSONObject: rn,
@@ -920,7 +920,7 @@ u.inherits(v, Error, {
920
920
  };
921
921
  }
922
922
  });
923
- const Lt = v.prototype, Ut = {};
923
+ const Ft = v.prototype, Lt = {};
924
924
  [
925
925
  "ERR_BAD_OPTION_VALUE",
926
926
  "ERR_BAD_OPTION",
@@ -936,12 +936,12 @@ const Lt = v.prototype, Ut = {};
936
936
  "ERR_INVALID_URL"
937
937
  // eslint-disable-next-line func-names
938
938
  ].forEach((e) => {
939
- Ut[e] = { value: e };
939
+ Lt[e] = { value: e };
940
940
  });
941
- Object.defineProperties(v, Ut);
942
- Object.defineProperty(Lt, "isAxiosError", { value: !0 });
941
+ Object.defineProperties(v, Lt);
942
+ Object.defineProperty(Ft, "isAxiosError", { value: !0 });
943
943
  v.from = (e, t, r, n, s, i) => {
944
- const a = Object.create(Lt);
944
+ const a = Object.create(Ft);
945
945
  return u.toFlatObject(e, a, function(h) {
946
946
  return h !== Error.prototype;
947
947
  }, (c) => c !== "isAxiosError"), v.call(a, e.message, t, r, n, s), a.cause = e, a.name = e.name, i && Object.assign(a, i), a;
@@ -950,12 +950,12 @@ const sn = null;
950
950
  function ke(e) {
951
951
  return u.isPlainObject(e) || u.isArray(e);
952
952
  }
953
- function Bt(e) {
953
+ function Ut(e) {
954
954
  return u.endsWith(e, "[]") ? e.slice(0, -2) : e;
955
955
  }
956
- function Et(e, t, r) {
956
+ function mt(e, t, r) {
957
957
  return e ? e.concat(t).map(function(s, i) {
958
- return s = Bt(s), !r && i ? "[" + s + "]" : s;
958
+ return s = Ut(s), !r && i ? "[" + s + "]" : s;
959
959
  }).join(r ? "." : "") : t;
960
960
  }
961
961
  function an(e) {
@@ -977,56 +977,56 @@ function me(e, t, r) {
977
977
  const n = r.metaTokens, s = r.visitor || d, i = r.dots, a = r.indexes, h = (r.Blob || typeof Blob < "u" && Blob) && u.isSpecCompliantForm(t);
978
978
  if (!u.isFunction(s))
979
979
  throw new TypeError("visitor must be a function");
980
- function l(m) {
981
- if (m === null)
980
+ function l(E) {
981
+ if (E === null)
982
982
  return "";
983
- if (u.isDate(m))
984
- return m.toISOString();
985
- if (!h && u.isBlob(m))
983
+ if (u.isDate(E))
984
+ return E.toISOString();
985
+ if (!h && u.isBlob(E))
986
986
  throw new v("Blob is not supported. Use a Buffer instead.");
987
- return u.isArrayBuffer(m) || u.isTypedArray(m) ? h && typeof Blob == "function" ? new Blob([m]) : Buffer.from(m) : m;
987
+ return u.isArrayBuffer(E) || u.isTypedArray(E) ? h && typeof Blob == "function" ? new Blob([E]) : Buffer.from(E) : E;
988
988
  }
989
- function d(m, b, D) {
990
- let j = m;
991
- if (m && !D && typeof m == "object") {
989
+ function d(E, b, D) {
990
+ let j = E;
991
+ if (E && !D && typeof E == "object") {
992
992
  if (u.endsWith(b, "{}"))
993
- b = n ? b : b.slice(0, -2), m = JSON.stringify(m);
994
- else if (u.isArray(m) && an(m) || (u.isFileList(m) || u.endsWith(b, "[]")) && (j = u.toArray(m)))
995
- return b = Bt(b), j.forEach(function(T, re) {
996
- !(u.isUndefined(T) || T === null) && t.append(
993
+ b = n ? b : b.slice(0, -2), E = JSON.stringify(E);
994
+ else if (u.isArray(E) && an(E) || (u.isFileList(E) || u.endsWith(b, "[]")) && (j = u.toArray(E)))
995
+ return b = Ut(b), j.forEach(function(A, re) {
996
+ !(u.isUndefined(A) || A === null) && t.append(
997
997
  // eslint-disable-next-line no-nested-ternary
998
- a === !0 ? Et([b], re, i) : a === null ? b : b + "[]",
999
- l(T)
998
+ a === !0 ? mt([b], re, i) : a === null ? b : b + "[]",
999
+ l(A)
1000
1000
  );
1001
1001
  }), !1;
1002
1002
  }
1003
- return ke(m) ? !0 : (t.append(Et(D, b, i), l(m)), !1);
1003
+ return ke(E) ? !0 : (t.append(mt(D, b, i), l(E)), !1);
1004
1004
  }
1005
- const E = [], w = Object.assign(un, {
1005
+ const m = [], R = Object.assign(un, {
1006
1006
  defaultVisitor: d,
1007
1007
  convertValue: l,
1008
1008
  isVisitable: ke
1009
1009
  });
1010
- function O(m, b) {
1011
- if (!u.isUndefined(m)) {
1012
- if (E.indexOf(m) !== -1)
1010
+ function O(E, b) {
1011
+ if (!u.isUndefined(E)) {
1012
+ if (m.indexOf(E) !== -1)
1013
1013
  throw Error("Circular reference detected in " + b.join("."));
1014
- E.push(m), u.forEach(m, function(j, B) {
1014
+ m.push(E), u.forEach(E, function(j, B) {
1015
1015
  (!(u.isUndefined(j) || j === null) && s.call(
1016
1016
  t,
1017
1017
  j,
1018
1018
  u.isString(B) ? B.trim() : B,
1019
1019
  b,
1020
- w
1020
+ R
1021
1021
  )) === !0 && O(j, b ? b.concat(B) : [B]);
1022
- }), E.pop();
1022
+ }), m.pop();
1023
1023
  }
1024
1024
  }
1025
1025
  if (!u.isObject(e))
1026
1026
  throw new TypeError("data must be an object");
1027
1027
  return O(e), t;
1028
1028
  }
1029
- function yt(e) {
1029
+ function Et(e) {
1030
1030
  const t = {
1031
1031
  "!": "%21",
1032
1032
  "'": "%27",
@@ -1043,14 +1043,14 @@ function yt(e) {
1043
1043
  function Be(e, t) {
1044
1044
  this._pairs = [], e && me(e, this, t);
1045
1045
  }
1046
- const It = Be.prototype;
1047
- It.append = function(t, r) {
1046
+ const Bt = Be.prototype;
1047
+ Bt.append = function(t, r) {
1048
1048
  this._pairs.push([t, r]);
1049
1049
  };
1050
- It.toString = function(t) {
1050
+ Bt.toString = function(t) {
1051
1051
  const r = t ? function(n) {
1052
- return t.call(this, n, yt);
1053
- } : yt;
1052
+ return t.call(this, n, Et);
1053
+ } : Et;
1054
1054
  return this._pairs.map(function(s) {
1055
1055
  return r(s[0]) + "=" + r(s[1]);
1056
1056
  }, "").join("&");
@@ -1058,7 +1058,7 @@ It.toString = function(t) {
1058
1058
  function cn(e) {
1059
1059
  return encodeURIComponent(e).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+").replace(/%5B/gi, "[").replace(/%5D/gi, "]");
1060
1060
  }
1061
- function Mt(e, t, r) {
1061
+ function It(e, t, r) {
1062
1062
  if (!t)
1063
1063
  return e;
1064
1064
  const n = r && r.encode || cn, s = r && r.serialize;
@@ -1123,7 +1123,7 @@ class ln {
1123
1123
  });
1124
1124
  }
1125
1125
  }
1126
- const bt = ln, $t = {
1126
+ const yt = ln, Mt = {
1127
1127
  silentJSONParsing: !0,
1128
1128
  forcedJSONParsing: !0,
1129
1129
  clarifyTimeoutError: !1
@@ -1161,7 +1161,7 @@ function bn(e) {
1161
1161
  i = r[n], t[i] = e[i];
1162
1162
  return t;
1163
1163
  }
1164
- function qt(e) {
1164
+ function $t(e) {
1165
1165
  function t(r, n, s, i) {
1166
1166
  let a = r[i++];
1167
1167
  const c = Number.isFinite(+a), h = i >= r.length;
@@ -1189,12 +1189,12 @@ function wn(e, t, r) {
1189
1189
  return (r || JSON.stringify)(e);
1190
1190
  }
1191
1191
  const Ee = {
1192
- transitional: $t,
1192
+ transitional: Mt,
1193
1193
  adapter: ["xhr", "http"],
1194
1194
  transformRequest: [function(t, r) {
1195
1195
  const n = r.getContentType() || "", s = n.indexOf("application/json") > -1, i = u.isObject(t);
1196
1196
  if (i && u.isHTMLForm(t) && (t = new FormData(t)), u.isFormData(t))
1197
- return s && s ? JSON.stringify(qt(t)) : t;
1197
+ return s && s ? JSON.stringify($t(t)) : t;
1198
1198
  if (u.isArrayBuffer(t) || u.isBuffer(t) || u.isStream(t) || u.isFile(t) || u.isBlob(t))
1199
1199
  return t;
1200
1200
  if (u.isArrayBufferView(t))
@@ -1282,7 +1282,7 @@ const Ie = Ee, On = u.toObjectSet([
1282
1282
  `).forEach(function(a) {
1283
1283
  s = a.indexOf(":"), r = a.substring(0, s).trim().toLowerCase(), n = a.substring(s + 1).trim(), !(!r || t[r] && On[r]) && (r === "set-cookie" ? t[r] ? t[r].push(n) : t[r] = [n] : t[r] = t[r] ? t[r] + ", " + n : n);
1284
1284
  }), t;
1285
- }, Rt = Symbol("internals");
1285
+ }, bt = Symbol("internals");
1286
1286
  function X(e) {
1287
1287
  return e && String(e).trim().toLowerCase();
1288
1288
  }
@@ -1310,7 +1310,7 @@ function xe(e, t, r, n, s) {
1310
1310
  function _n(e) {
1311
1311
  return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (t, r, n) => r.toUpperCase() + n);
1312
1312
  }
1313
- function Tn(e, t) {
1313
+ function An(e, t) {
1314
1314
  const r = u.toCamelCase(" " + t);
1315
1315
  ["get", "set", "has"].forEach((n) => {
1316
1316
  Object.defineProperty(e, n + r, {
@@ -1331,8 +1331,8 @@ class ye {
1331
1331
  const d = X(h);
1332
1332
  if (!d)
1333
1333
  throw new Error("header name must be a non-empty string");
1334
- const E = u.findKey(s, d);
1335
- (!E || s[E] === void 0 || l === !0 || l === void 0 && s[E] !== !1) && (s[E || h] = ue(c));
1334
+ const m = u.findKey(s, d);
1335
+ (!m || s[m] === void 0 || l === !0 || l === void 0 && s[m] !== !1) && (s[m || h] = ue(c));
1336
1336
  }
1337
1337
  const a = (c, h) => u.forEach(c, (l, d) => i(l, d, h));
1338
1338
  return u.isPlainObject(t) || t instanceof this.constructor ? a(t, r) : u.isString(t) && (t = t.trim()) && !Sn(t) ? a(gn(t), r) : t != null && i(r, t, n), this;
@@ -1420,12 +1420,12 @@ class ye {
1420
1420
  return r.forEach((s) => n.set(s)), n;
1421
1421
  }
1422
1422
  static accessor(t) {
1423
- const n = (this[Rt] = this[Rt] = {
1423
+ const n = (this[bt] = this[bt] = {
1424
1424
  accessors: {}
1425
1425
  }).accessors, s = this.prototype;
1426
1426
  function i(a) {
1427
1427
  const c = X(a);
1428
- n[c] || (Tn(s, a), n[c] = !0);
1428
+ n[c] || (An(s, a), n[c] = !0);
1429
1429
  }
1430
1430
  return u.isArray(t) ? t.forEach(i) : i(t), this;
1431
1431
  }
@@ -1441,7 +1441,7 @@ function Ce(e, t) {
1441
1441
  i = c.call(r, i, s.normalize(), t ? t.status : void 0);
1442
1442
  }), s.normalize(), i;
1443
1443
  }
1444
- function Ht(e) {
1444
+ function qt(e) {
1445
1445
  return !!(e && e.__CANCEL__);
1446
1446
  }
1447
1447
  function te(e, t, r) {
@@ -1450,7 +1450,7 @@ function te(e, t, r) {
1450
1450
  u.inherits(te, v, {
1451
1451
  __CANCEL__: !0
1452
1452
  });
1453
- function An(e, t, r) {
1453
+ function Tn(e, t, r) {
1454
1454
  const n = r.config.validateStatus;
1455
1455
  !r.status || !n || n(r.status) ? e(r) : t(new v(
1456
1456
  "Request failed with status code " + r.status,
@@ -1497,7 +1497,7 @@ function xn(e) {
1497
1497
  function Cn(e, t) {
1498
1498
  return t ? e.replace(/\/+$/, "") + "/" + t.replace(/^\/+/, "") : e;
1499
1499
  }
1500
- function Wt(e, t) {
1500
+ function Ht(e, t) {
1501
1501
  return e && !xn(t) ? Cn(e, t) : t;
1502
1502
  }
1503
1503
  const jn = L.isStandardBrowserEnv ? (
@@ -1543,16 +1543,16 @@ function Dn(e, t) {
1543
1543
  return t = t !== void 0 ? t : 1e3, function(h) {
1544
1544
  const l = Date.now(), d = n[i];
1545
1545
  a || (a = l), r[s] = h, n[s] = l;
1546
- let E = i, w = 0;
1547
- for (; E !== s; )
1548
- w += r[E++], E = E % e;
1546
+ let m = i, R = 0;
1547
+ for (; m !== s; )
1548
+ R += r[m++], m = m % e;
1549
1549
  if (s = (s + 1) % e, s === i && (i = (i + 1) % e), l - a < t)
1550
1550
  return;
1551
1551
  const O = d && l - d;
1552
- return O ? Math.round(w * 1e3 / O) : void 0;
1552
+ return O ? Math.round(R * 1e3 / O) : void 0;
1553
1553
  };
1554
1554
  }
1555
- function wt(e, t) {
1555
+ function Rt(e, t) {
1556
1556
  let r = 0;
1557
1557
  const n = Dn(50, 250);
1558
1558
  return (s) => {
@@ -1581,12 +1581,12 @@ const kn = typeof XMLHttpRequest < "u", Fn = kn && function(e) {
1581
1581
  u.isFormData(s) && (L.isStandardBrowserEnv || L.isStandardBrowserWebWorkerEnv ? i.setContentType(!1) : i.setContentType("multipart/form-data;", !1));
1582
1582
  let l = new XMLHttpRequest();
1583
1583
  if (e.auth) {
1584
- const O = e.auth.username || "", m = e.auth.password ? unescape(encodeURIComponent(e.auth.password)) : "";
1585
- i.set("Authorization", "Basic " + btoa(O + ":" + m));
1584
+ const O = e.auth.username || "", E = e.auth.password ? unescape(encodeURIComponent(e.auth.password)) : "";
1585
+ i.set("Authorization", "Basic " + btoa(O + ":" + E));
1586
1586
  }
1587
- const d = Wt(e.baseURL, e.url);
1588
- l.open(e.method.toUpperCase(), Mt(d, e.params, e.paramsSerializer), !0), l.timeout = e.timeout;
1589
- function E() {
1587
+ const d = Ht(e.baseURL, e.url);
1588
+ l.open(e.method.toUpperCase(), It(d, e.params, e.paramsSerializer), !0), l.timeout = e.timeout;
1589
+ function m() {
1590
1590
  if (!l)
1591
1591
  return;
1592
1592
  const O = $.from(
@@ -1599,23 +1599,23 @@ const kn = typeof XMLHttpRequest < "u", Fn = kn && function(e) {
1599
1599
  config: e,
1600
1600
  request: l
1601
1601
  };
1602
- An(function(j) {
1602
+ Tn(function(j) {
1603
1603
  r(j), h();
1604
1604
  }, function(j) {
1605
1605
  n(j), h();
1606
1606
  }, b), l = null;
1607
1607
  }
1608
- if ("onloadend" in l ? l.onloadend = E : l.onreadystatechange = function() {
1609
- !l || l.readyState !== 4 || l.status === 0 && !(l.responseURL && l.responseURL.indexOf("file:") === 0) || setTimeout(E);
1608
+ if ("onloadend" in l ? l.onloadend = m : l.onreadystatechange = function() {
1609
+ !l || l.readyState !== 4 || l.status === 0 && !(l.responseURL && l.responseURL.indexOf("file:") === 0) || setTimeout(m);
1610
1610
  }, l.onabort = function() {
1611
1611
  l && (n(new v("Request aborted", v.ECONNABORTED, e, l)), l = null);
1612
1612
  }, l.onerror = function() {
1613
1613
  n(new v("Network Error", v.ERR_NETWORK, e, l)), l = null;
1614
1614
  }, l.ontimeout = function() {
1615
- let m = e.timeout ? "timeout of " + e.timeout + "ms exceeded" : "timeout exceeded";
1616
- const b = e.transitional || $t;
1617
- e.timeoutErrorMessage && (m = e.timeoutErrorMessage), n(new v(
1618
- m,
1615
+ let E = e.timeout ? "timeout of " + e.timeout + "ms exceeded" : "timeout exceeded";
1616
+ const b = e.transitional || Mt;
1617
+ e.timeoutErrorMessage && (E = e.timeoutErrorMessage), n(new v(
1618
+ E,
1619
1619
  b.clarifyTimeoutError ? v.ETIMEDOUT : v.ECONNABORTED,
1620
1620
  e,
1621
1621
  l
@@ -1624,14 +1624,14 @@ const kn = typeof XMLHttpRequest < "u", Fn = kn && function(e) {
1624
1624
  const O = (e.withCredentials || jn(d)) && e.xsrfCookieName && Pn.read(e.xsrfCookieName);
1625
1625
  O && i.set(e.xsrfHeaderName, O);
1626
1626
  }
1627
- s === void 0 && i.setContentType(null), "setRequestHeader" in l && u.forEach(i.toJSON(), function(m, b) {
1628
- l.setRequestHeader(b, m);
1629
- }), u.isUndefined(e.withCredentials) || (l.withCredentials = !!e.withCredentials), a && a !== "json" && (l.responseType = e.responseType), typeof e.onDownloadProgress == "function" && l.addEventListener("progress", wt(e.onDownloadProgress, !0)), typeof e.onUploadProgress == "function" && l.upload && l.upload.addEventListener("progress", wt(e.onUploadProgress)), (e.cancelToken || e.signal) && (c = (O) => {
1627
+ s === void 0 && i.setContentType(null), "setRequestHeader" in l && u.forEach(i.toJSON(), function(E, b) {
1628
+ l.setRequestHeader(b, E);
1629
+ }), u.isUndefined(e.withCredentials) || (l.withCredentials = !!e.withCredentials), a && a !== "json" && (l.responseType = e.responseType), typeof e.onDownloadProgress == "function" && l.addEventListener("progress", Rt(e.onDownloadProgress, !0)), typeof e.onUploadProgress == "function" && l.upload && l.upload.addEventListener("progress", Rt(e.onUploadProgress)), (e.cancelToken || e.signal) && (c = (O) => {
1630
1630
  l && (n(!O || O.type ? new te(null, e, l) : O), l.abort(), l = null);
1631
1631
  }, e.cancelToken && e.cancelToken.subscribe(c), e.signal && (e.signal.aborted ? c() : e.signal.addEventListener("abort", c)));
1632
- const w = Nn(d);
1633
- if (w && L.protocols.indexOf(w) === -1) {
1634
- n(new v("Unsupported protocol " + w + ":", v.ERR_BAD_REQUEST, e));
1632
+ const R = Nn(d);
1633
+ if (R && L.protocols.indexOf(R) === -1) {
1634
+ n(new v("Unsupported protocol " + R + ":", v.ERR_BAD_REQUEST, e));
1635
1635
  return;
1636
1636
  }
1637
1637
  l.send(s || null);
@@ -1673,7 +1673,7 @@ function je(e) {
1673
1673
  if (e.cancelToken && e.cancelToken.throwIfRequested(), e.signal && e.signal.aborted)
1674
1674
  throw new te(null, e);
1675
1675
  }
1676
- function Ot(e) {
1676
+ function wt(e) {
1677
1677
  return je(e), e.headers = $.from(e.headers), e.data = Ce.call(
1678
1678
  e,
1679
1679
  e.transformRequest
@@ -1684,26 +1684,26 @@ function Ot(e) {
1684
1684
  n
1685
1685
  ), n.headers = $.from(n.headers), n;
1686
1686
  }, function(n) {
1687
- return Ht(n) || (je(e), n && n.response && (n.response.data = Ce.call(
1687
+ return qt(n) || (je(e), n && n.response && (n.response.data = Ce.call(
1688
1688
  e,
1689
1689
  e.transformResponse,
1690
1690
  n.response
1691
1691
  ), n.response.headers = $.from(n.response.headers))), Promise.reject(n);
1692
1692
  });
1693
1693
  }
1694
- const gt = (e) => e instanceof $ ? e.toJSON() : e;
1694
+ const Ot = (e) => e instanceof $ ? e.toJSON() : e;
1695
1695
  function J(e, t) {
1696
1696
  t = t || {};
1697
1697
  const r = {};
1698
- function n(l, d, E) {
1699
- return u.isPlainObject(l) && u.isPlainObject(d) ? u.merge.call({ caseless: E }, l, d) : u.isPlainObject(d) ? u.merge({}, d) : u.isArray(d) ? d.slice() : d;
1698
+ function n(l, d, m) {
1699
+ return u.isPlainObject(l) && u.isPlainObject(d) ? u.merge.call({ caseless: m }, l, d) : u.isPlainObject(d) ? u.merge({}, d) : u.isArray(d) ? d.slice() : d;
1700
1700
  }
1701
- function s(l, d, E) {
1701
+ function s(l, d, m) {
1702
1702
  if (u.isUndefined(d)) {
1703
1703
  if (!u.isUndefined(l))
1704
- return n(void 0, l, E);
1704
+ return n(void 0, l, m);
1705
1705
  } else
1706
- return n(l, d, E);
1706
+ return n(l, d, m);
1707
1707
  }
1708
1708
  function i(l, d) {
1709
1709
  if (!u.isUndefined(d))
@@ -1716,10 +1716,10 @@ function J(e, t) {
1716
1716
  } else
1717
1717
  return n(void 0, d);
1718
1718
  }
1719
- function c(l, d, E) {
1720
- if (E in t)
1719
+ function c(l, d, m) {
1720
+ if (m in t)
1721
1721
  return n(l, d);
1722
- if (E in e)
1722
+ if (m in e)
1723
1723
  return n(void 0, l);
1724
1724
  }
1725
1725
  const h = {
@@ -1750,23 +1750,23 @@ function J(e, t) {
1750
1750
  socketPath: a,
1751
1751
  responseEncoding: a,
1752
1752
  validateStatus: c,
1753
- headers: (l, d) => s(gt(l), gt(d), !0)
1753
+ headers: (l, d) => s(Ot(l), Ot(d), !0)
1754
1754
  };
1755
1755
  return u.forEach(Object.keys(Object.assign({}, e, t)), function(d) {
1756
- const E = h[d] || s, w = E(e[d], t[d], d);
1757
- u.isUndefined(w) && E !== c || (r[d] = w);
1756
+ const m = h[d] || s, R = m(e[d], t[d], d);
1757
+ u.isUndefined(R) && m !== c || (r[d] = R);
1758
1758
  }), r;
1759
1759
  }
1760
- const Vt = "1.4.0", Me = {};
1760
+ const Wt = "1.4.0", Me = {};
1761
1761
  ["object", "boolean", "number", "function", "string", "symbol"].forEach((e, t) => {
1762
1762
  Me[e] = function(n) {
1763
1763
  return typeof n === e || "a" + (t < 1 ? "n " : " ") + e;
1764
1764
  };
1765
1765
  });
1766
- const vt = {};
1766
+ const gt = {};
1767
1767
  Me.transitional = function(t, r, n) {
1768
1768
  function s(i, a) {
1769
- return "[Axios v" + Vt + "] Transitional option '" + i + "'" + a + (n ? ". " + n : "");
1769
+ return "[Axios v" + Wt + "] Transitional option '" + i + "'" + a + (n ? ". " + n : "");
1770
1770
  }
1771
1771
  return (i, a, c) => {
1772
1772
  if (t === !1)
@@ -1774,7 +1774,7 @@ Me.transitional = function(t, r, n) {
1774
1774
  s(a, " has been removed" + (r ? " in " + r : "")),
1775
1775
  v.ERR_DEPRECATED
1776
1776
  );
1777
- return r && !vt[a] && (vt[a] = !0, console.warn(
1777
+ return r && !gt[a] && (gt[a] = !0, console.warn(
1778
1778
  s(
1779
1779
  a,
1780
1780
  " has been deprecated since v" + r + " and will be removed in the near future"
@@ -1806,8 +1806,8 @@ const Fe = {
1806
1806
  let fe = class {
1807
1807
  constructor(t) {
1808
1808
  this.defaults = t, this.interceptors = {
1809
- request: new bt(),
1810
- response: new bt()
1809
+ request: new yt(),
1810
+ response: new yt()
1811
1811
  };
1812
1812
  }
1813
1813
  /**
@@ -1837,8 +1837,8 @@ let fe = class {
1837
1837
  i[r.method]
1838
1838
  ), a && u.forEach(
1839
1839
  ["delete", "get", "head", "post", "put", "patch", "common"],
1840
- (m) => {
1841
- delete i[m];
1840
+ (E) => {
1841
+ delete i[E];
1842
1842
  }
1843
1843
  ), r.headers = $.concat(a, i);
1844
1844
  const c = [];
@@ -1850,37 +1850,37 @@ let fe = class {
1850
1850
  this.interceptors.response.forEach(function(b) {
1851
1851
  l.push(b.fulfilled, b.rejected);
1852
1852
  });
1853
- let d, E = 0, w;
1853
+ let d, m = 0, R;
1854
1854
  if (!h) {
1855
- const m = [Ot.bind(this), void 0];
1856
- for (m.unshift.apply(m, c), m.push.apply(m, l), w = m.length, d = Promise.resolve(r); E < w; )
1857
- d = d.then(m[E++], m[E++]);
1855
+ const E = [wt.bind(this), void 0];
1856
+ for (E.unshift.apply(E, c), E.push.apply(E, l), R = E.length, d = Promise.resolve(r); m < R; )
1857
+ d = d.then(E[m++], E[m++]);
1858
1858
  return d;
1859
1859
  }
1860
- w = c.length;
1860
+ R = c.length;
1861
1861
  let O = r;
1862
- for (E = 0; E < w; ) {
1863
- const m = c[E++], b = c[E++];
1862
+ for (m = 0; m < R; ) {
1863
+ const E = c[m++], b = c[m++];
1864
1864
  try {
1865
- O = m(O);
1865
+ O = E(O);
1866
1866
  } catch (D) {
1867
1867
  b.call(this, D);
1868
1868
  break;
1869
1869
  }
1870
1870
  }
1871
1871
  try {
1872
- d = Ot.call(this, O);
1873
- } catch (m) {
1874
- return Promise.reject(m);
1872
+ d = wt.call(this, O);
1873
+ } catch (E) {
1874
+ return Promise.reject(E);
1875
1875
  }
1876
- for (E = 0, w = l.length; E < w; )
1877
- d = d.then(l[E++], l[E++]);
1876
+ for (m = 0, R = l.length; m < R; )
1877
+ d = d.then(l[m++], l[m++]);
1878
1878
  return d;
1879
1879
  }
1880
1880
  getUri(t) {
1881
1881
  t = J(this.defaults, t);
1882
- const r = Wt(t.baseURL, t.url);
1883
- return Mt(r, t.params, t.paramsSerializer);
1882
+ const r = Ht(t.baseURL, t.url);
1883
+ return It(r, t.params, t.paramsSerializer);
1884
1884
  }
1885
1885
  };
1886
1886
  u.forEach(["delete", "get", "head", "options"], function(t) {
@@ -2054,18 +2054,18 @@ Object.entries(Le).forEach(([e, t]) => {
2054
2054
  Le[t] = e;
2055
2055
  });
2056
2056
  const $n = Le;
2057
- function zt(e) {
2058
- const t = new le(e), r = Pt(le.prototype.request, t);
2057
+ function Vt(e) {
2058
+ const t = new le(e), r = Tt(le.prototype.request, t);
2059
2059
  return u.extend(r, le.prototype, t, { allOwnKeys: !0 }), u.extend(r, t, null, { allOwnKeys: !0 }), r.create = function(s) {
2060
- return zt(J(e, s));
2060
+ return Vt(J(e, s));
2061
2061
  }, r;
2062
2062
  }
2063
- const x = zt(Ie);
2063
+ const x = Vt(Ie);
2064
2064
  x.Axios = le;
2065
2065
  x.CanceledError = te;
2066
2066
  x.CancelToken = Bn;
2067
- x.isCancel = Ht;
2068
- x.VERSION = Vt;
2067
+ x.isCancel = qt;
2068
+ x.VERSION = Wt;
2069
2069
  x.toFormData = me;
2070
2070
  x.AxiosError = v;
2071
2071
  x.Cancel = x.CanceledError;
@@ -2076,7 +2076,7 @@ x.spread = In;
2076
2076
  x.isAxiosError = Mn;
2077
2077
  x.mergeConfig = J;
2078
2078
  x.AxiosHeaders = $;
2079
- x.formToJSON = (e) => qt(u.isHTMLForm(e) ? new FormData(e) : e);
2079
+ x.formToJSON = (e) => $t(u.isHTMLForm(e) ? new FormData(e) : e);
2080
2080
  x.HttpStatusCode = $n;
2081
2081
  x.default = x;
2082
2082
  const qn = x, Hn = {
@@ -2087,28 +2087,21 @@ const qn = x, Hn = {
2087
2087
  setPhoneNumber: null,
2088
2088
  cabinetSettings: null,
2089
2089
  authToken: null,
2090
- setAuthToken: null
2091
- }, Wn = _t(Hn), Vn = ({ cabinetType: e }) => {
2090
+ setAuthToken: null,
2091
+ createAxios: null
2092
+ }, Wn = St(Hn), Vn = ({ cabinetType: e }) => {
2092
2093
  const [t, r] = Q(null), [n, s] = Q(null), [i, a] = Q(null), [c, h] = Q(null);
2093
- return lt(() => {
2094
+ return Rr(() => {
2094
2095
  (async () => {
2095
2096
  if (!i || !t || !e)
2096
2097
  return;
2097
- const d = await i.post("/externalCustomerCabinet/cabinetInfo", {
2098
+ const m = await i.post("/externalCustomerCabinet/cabinetInfo", {
2098
2099
  phoneNumber: t,
2099
2100
  cabinetType: e
2100
2101
  });
2101
- h(d.data);
2102
+ h(m.data);
2102
2103
  })();
2103
- }, [t, i]), lt(() => {
2104
- n && a(qn.create({
2105
- headers: {
2106
- common: {
2107
- Authorization: n
2108
- }
2109
- }
2110
- }));
2111
- }, [n]), {
2104
+ }, [t, i]), {
2112
2105
  cabinetType: e,
2113
2106
  apiAxios: null,
2114
2107
  cabinetIsLoading: !1,
@@ -2116,7 +2109,17 @@ const qn = x, Hn = {
2116
2109
  phoneNumber: t,
2117
2110
  setPhoneNumber: r,
2118
2111
  authToken: n,
2119
- setAuthToken: s
2112
+ setAuthToken: s,
2113
+ createAxios: (d, m) => {
2114
+ const R = qn.create({
2115
+ headers: {
2116
+ common: {
2117
+ Authorization: d
2118
+ }
2119
+ }
2120
+ });
2121
+ R.defaults.baseURL = m, a(R);
2122
+ }
2120
2123
  };
2121
2124
  }, Kn = ({ children: e, cabinetType: t }) => {
2122
2125
  const r = Vn({ cabinetType: t });