bonuspluscomponents 0.0.53 → 0.0.55

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,57 +1,57 @@
1
- import we, { createContext as Ae, useState as Y, useEffect as or } from "react";
2
- import ur from "axios";
3
- var Z = { exports: {} }, D = {};
1
+ import Ae, { createContext as Se, useState as F, useEffect as ur } from "react";
2
+ import sr from "axios";
3
+ var Q = { exports: {} }, D = {};
4
4
  /*
5
5
  object-assign
6
6
  (c) Sindre Sorhus
7
7
  @license MIT
8
8
  */
9
- var H, je;
10
- function Se() {
11
- if (je)
12
- return H;
13
- je = 1;
14
- var f = Object.getOwnPropertySymbols, E = Object.prototype.hasOwnProperty, R = Object.prototype.propertyIsEnumerable;
15
- function x(g) {
16
- if (g == null)
9
+ var X, Ce;
10
+ function ke() {
11
+ if (Ce)
12
+ return X;
13
+ Ce = 1;
14
+ var f = Object.getOwnPropertySymbols, _ = Object.prototype.hasOwnProperty, h = Object.prototype.propertyIsEnumerable;
15
+ function y(E) {
16
+ if (E == null)
17
17
  throw new TypeError("Object.assign cannot be called with null or undefined");
18
- return Object(g);
18
+ return Object(E);
19
19
  }
20
20
  function T() {
21
21
  try {
22
22
  if (!Object.assign)
23
23
  return !1;
24
- var g = new String("abc");
25
- if (g[5] = "de", Object.getOwnPropertyNames(g)[0] === "5")
24
+ var E = new String("abc");
25
+ if (E[5] = "de", Object.getOwnPropertyNames(E)[0] === "5")
26
26
  return !1;
27
- for (var P = {}, c = 0; c < 10; c++)
28
- P["_" + String.fromCharCode(c)] = c;
29
- var l = Object.getOwnPropertyNames(P).map(function(o) {
30
- return P[o];
27
+ for (var O = {}, l = 0; l < 10; l++)
28
+ O["_" + String.fromCharCode(l)] = l;
29
+ var c = Object.getOwnPropertyNames(O).map(function(s) {
30
+ return O[s];
31
31
  });
32
- if (l.join("") !== "0123456789")
32
+ if (c.join("") !== "0123456789")
33
33
  return !1;
34
- var h = {};
35
- return "abcdefghijklmnopqrst".split("").forEach(function(o) {
36
- h[o] = o;
37
- }), Object.keys(Object.assign({}, h)).join("") === "abcdefghijklmnopqrst";
34
+ var d = {};
35
+ return "abcdefghijklmnopqrst".split("").forEach(function(s) {
36
+ d[s] = s;
37
+ }), Object.keys(Object.assign({}, d)).join("") === "abcdefghijklmnopqrst";
38
38
  } catch {
39
39
  return !1;
40
40
  }
41
41
  }
42
- return H = T() ? Object.assign : function(g, P) {
43
- for (var c, l = x(g), h, o = 1; o < arguments.length; o++) {
44
- c = Object(arguments[o]);
45
- for (var b in c)
46
- E.call(c, b) && (l[b] = c[b]);
42
+ return X = T() ? Object.assign : function(E, O) {
43
+ for (var l, c = y(E), d, s = 1; s < arguments.length; s++) {
44
+ l = Object(arguments[s]);
45
+ for (var P in l)
46
+ _.call(l, P) && (c[P] = l[P]);
47
47
  if (f) {
48
- h = f(c);
49
- for (var _ = 0; _ < h.length; _++)
50
- R.call(c, h[_]) && (l[h[_]] = c[h[_]]);
48
+ d = f(l);
49
+ for (var b = 0; b < d.length; b++)
50
+ h.call(l, d[b]) && (c[d[b]] = l[d[b]]);
51
51
  }
52
52
  }
53
- return l;
54
- }, H;
53
+ return c;
54
+ }, X;
55
55
  }
56
56
  /** @license React v17.0.2
57
57
  * react-jsx-runtime.production.min.js
@@ -61,30 +61,30 @@ function Se() {
61
61
  * This source code is licensed under the MIT license found in the
62
62
  * LICENSE file in the root directory of this source tree.
63
63
  */
64
- var Ce;
65
- function sr() {
66
- if (Ce)
64
+ var Te;
65
+ function cr() {
66
+ if (Te)
67
67
  return D;
68
- Ce = 1, Se();
69
- var f = we, E = 60103;
68
+ Te = 1, ke();
69
+ var f = Ae, _ = 60103;
70
70
  if (D.Fragment = 60107, typeof Symbol == "function" && Symbol.for) {
71
- var R = Symbol.for;
72
- E = R("react.element"), D.Fragment = R("react.fragment");
71
+ var h = Symbol.for;
72
+ _ = h("react.element"), D.Fragment = h("react.fragment");
73
73
  }
74
- var x = f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, T = Object.prototype.hasOwnProperty, g = { key: !0, ref: !0, __self: !0, __source: !0 };
75
- function P(c, l, h) {
76
- var o, b = {}, _ = null, w = null;
77
- h !== void 0 && (_ = "" + h), l.key !== void 0 && (_ = "" + l.key), l.ref !== void 0 && (w = l.ref);
78
- for (o in l)
79
- T.call(l, o) && !g.hasOwnProperty(o) && (b[o] = l[o]);
80
- if (c && c.defaultProps)
81
- for (o in l = c.defaultProps, l)
82
- b[o] === void 0 && (b[o] = l[o]);
83
- return { $$typeof: E, type: c, key: _, ref: w, props: b, _owner: x.current };
74
+ var y = f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, T = Object.prototype.hasOwnProperty, E = { key: !0, ref: !0, __self: !0, __source: !0 };
75
+ function O(l, c, d) {
76
+ var s, P = {}, b = null, w = null;
77
+ d !== void 0 && (b = "" + d), c.key !== void 0 && (b = "" + c.key), c.ref !== void 0 && (w = c.ref);
78
+ for (s in c)
79
+ T.call(c, s) && !E.hasOwnProperty(s) && (P[s] = c[s]);
80
+ if (l && l.defaultProps)
81
+ for (s in c = l.defaultProps, c)
82
+ P[s] === void 0 && (P[s] = c[s]);
83
+ return { $$typeof: _, type: l, key: b, ref: w, props: P, _owner: y.current };
84
84
  }
85
- return D.jsx = P, D.jsxs = P, D;
85
+ return D.jsx = O, D.jsxs = O, D;
86
86
  }
87
- var X = {};
87
+ var Z = {};
88
88
  /** @license React v17.0.2
89
89
  * react-jsx-runtime.development.js
90
90
  *
@@ -93,57 +93,57 @@ var X = {};
93
93
  * This source code is licensed under the MIT license found in the
94
94
  * LICENSE file in the root directory of this source tree.
95
95
  */
96
- var Te;
97
- function cr() {
98
- return Te || (Te = 1, function(f) {
96
+ var we;
97
+ function fr() {
98
+ return we || (we = 1, function(f) {
99
99
  process.env.NODE_ENV !== "production" && function() {
100
- var E = we, R = Se(), x = 60103, T = 60106;
100
+ var _ = Ae, h = ke(), y = 60103, T = 60106;
101
101
  f.Fragment = 60107;
102
- var g = 60108, P = 60114, c = 60109, l = 60110, h = 60112, o = 60113, b = 60120, _ = 60115, w = 60116, W = 60121, Q = 60122, ee = 60117, re = 60129, te = 60131;
102
+ var E = 60108, O = 60114, l = 60109, c = 60110, d = 60112, s = 60113, P = 60120, b = 60115, w = 60116, W = 60121, ee = 60122, re = 60117, te = 60129, ne = 60131;
103
103
  if (typeof Symbol == "function" && Symbol.for) {
104
- var v = Symbol.for;
105
- x = v("react.element"), T = v("react.portal"), f.Fragment = v("react.fragment"), g = v("react.strict_mode"), P = v("react.profiler"), c = v("react.provider"), l = v("react.context"), h = v("react.forward_ref"), o = v("react.suspense"), b = v("react.suspense_list"), _ = v("react.memo"), w = v("react.lazy"), W = v("react.block"), Q = v("react.server.block"), ee = v("react.fundamental"), v("react.scope"), v("react.opaque.id"), re = v("react.debug_trace_mode"), v("react.offscreen"), te = v("react.legacy_hidden");
104
+ var p = Symbol.for;
105
+ y = p("react.element"), T = p("react.portal"), f.Fragment = p("react.fragment"), E = p("react.strict_mode"), O = p("react.profiler"), l = p("react.provider"), c = p("react.context"), d = p("react.forward_ref"), s = p("react.suspense"), P = p("react.suspense_list"), b = p("react.memo"), w = p("react.lazy"), W = p("react.block"), ee = p("react.server.block"), re = p("react.fundamental"), p("react.scope"), p("react.opaque.id"), te = p("react.debug_trace_mode"), p("react.offscreen"), ne = p("react.legacy_hidden");
106
106
  }
107
- var ne = typeof Symbol == "function" && Symbol.iterator, De = "@@iterator";
108
- function Ie(e) {
107
+ var ae = typeof Symbol == "function" && Symbol.iterator, Ie = "@@iterator";
108
+ function $e(e) {
109
109
  if (e === null || typeof e != "object")
110
110
  return null;
111
- var r = ne && e[ne] || e[De];
111
+ var r = ae && e[ae] || e[Ie];
112
112
  return typeof r == "function" ? r : null;
113
113
  }
114
- var A = E.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
115
- function O(e) {
114
+ var A = _.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
115
+ function m(e) {
116
116
  {
117
117
  for (var r = arguments.length, t = new Array(r > 1 ? r - 1 : 0), n = 1; n < r; n++)
118
118
  t[n - 1] = arguments[n];
119
- $e("error", e, t);
119
+ Ye("error", e, t);
120
120
  }
121
121
  }
122
- function $e(e, r, t) {
122
+ function Ye(e, r, t) {
123
123
  {
124
- var n = A.ReactDebugCurrentFrame, u = n.getStackAddendum();
125
- u !== "" && (r += "%s", t = t.concat([u]));
126
- var s = t.map(function(i) {
124
+ var n = A.ReactDebugCurrentFrame, o = n.getStackAddendum();
125
+ o !== "" && (r += "%s", t = t.concat([o]));
126
+ var u = t.map(function(i) {
127
127
  return "" + i;
128
128
  });
129
- s.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, s);
129
+ u.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, u);
130
130
  }
131
131
  }
132
- var Ye = !1;
133
- function We(e) {
134
- return !!(typeof e == "string" || typeof e == "function" || e === f.Fragment || e === P || e === re || e === g || e === o || e === b || e === te || Ye || typeof e == "object" && e !== null && (e.$$typeof === w || e.$$typeof === _ || e.$$typeof === c || e.$$typeof === l || e.$$typeof === h || e.$$typeof === ee || e.$$typeof === W || e[0] === Q));
132
+ var We = !1;
133
+ function Le(e) {
134
+ return !!(typeof e == "string" || typeof e == "function" || e === f.Fragment || e === O || e === te || e === E || e === s || e === P || e === ne || We || typeof e == "object" && e !== null && (e.$$typeof === w || e.$$typeof === b || e.$$typeof === l || e.$$typeof === c || e.$$typeof === d || e.$$typeof === re || e.$$typeof === W || e[0] === ee));
135
135
  }
136
- function Le(e, r, t) {
136
+ function Ne(e, r, t) {
137
137
  var n = r.displayName || r.name || "";
138
138
  return e.displayName || (n !== "" ? t + "(" + n + ")" : t);
139
139
  }
140
- function ae(e) {
140
+ function ie(e) {
141
141
  return e.displayName || "Context";
142
142
  }
143
- function y(e) {
143
+ function x(e) {
144
144
  if (e == null)
145
145
  return null;
146
- if (typeof e.tag == "number" && O("Received an unexpected object in getComponentName(). This is likely a bug in React. Please file an issue."), typeof e == "function")
146
+ if (typeof e.tag == "number" && m("Received an unexpected object in getComponentName(). This is likely a bug in React. Please file an issue."), typeof e == "function")
147
147
  return e.displayName || e.name || null;
148
148
  if (typeof e == "string")
149
149
  return e;
@@ -152,33 +152,33 @@ function cr() {
152
152
  return "Fragment";
153
153
  case T:
154
154
  return "Portal";
155
- case P:
155
+ case O:
156
156
  return "Profiler";
157
- case g:
157
+ case E:
158
158
  return "StrictMode";
159
- case o:
159
+ case s:
160
160
  return "Suspense";
161
- case b:
161
+ case P:
162
162
  return "SuspenseList";
163
163
  }
164
164
  if (typeof e == "object")
165
165
  switch (e.$$typeof) {
166
- case l:
167
- var r = e;
168
- return ae(r) + ".Consumer";
169
166
  case c:
167
+ var r = e;
168
+ return ie(r) + ".Consumer";
169
+ case l:
170
170
  var t = e;
171
- return ae(t._context) + ".Provider";
172
- case h:
173
- return Le(e, e.render, "ForwardRef");
174
- case _:
175
- return y(e.type);
171
+ return ie(t._context) + ".Provider";
172
+ case d:
173
+ return Ne(e, e.render, "ForwardRef");
174
+ case b:
175
+ return x(e.type);
176
176
  case W:
177
- return y(e._render);
177
+ return x(e._render);
178
178
  case w: {
179
- var n = e, u = n._payload, s = n._init;
179
+ var n = e, o = n._payload, u = n._init;
180
180
  try {
181
- return y(s(u));
181
+ return x(u(o));
182
182
  } catch {
183
183
  return null;
184
184
  }
@@ -186,18 +186,18 @@ function cr() {
186
186
  }
187
187
  return null;
188
188
  }
189
- var I = 0, ie, oe, ue, se, ce, fe, le;
190
- function de() {
189
+ var $ = 0, oe, ue, se, ce, fe, le, de;
190
+ function ve() {
191
191
  }
192
- de.__reactDisabledLog = !0;
193
- function Ne() {
192
+ ve.__reactDisabledLog = !0;
193
+ function Ue() {
194
194
  {
195
- if (I === 0) {
196
- ie = console.log, oe = console.info, ue = console.warn, se = console.error, ce = console.group, fe = console.groupCollapsed, le = console.groupEnd;
195
+ if ($ === 0) {
196
+ oe = console.log, ue = console.info, se = console.warn, ce = console.error, fe = console.group, le = console.groupCollapsed, de = console.groupEnd;
197
197
  var e = {
198
198
  configurable: !0,
199
199
  enumerable: !0,
200
- value: de,
200
+ value: ve,
201
201
  writable: !0
202
202
  };
203
203
  Object.defineProperties(console, {
@@ -210,65 +210,65 @@ function cr() {
210
210
  groupEnd: e
211
211
  });
212
212
  }
213
- I++;
213
+ $++;
214
214
  }
215
215
  }
216
- function Ue() {
216
+ function Ve() {
217
217
  {
218
- if (I--, I === 0) {
218
+ if ($--, $ === 0) {
219
219
  var e = {
220
220
  configurable: !0,
221
221
  enumerable: !0,
222
222
  writable: !0
223
223
  };
224
224
  Object.defineProperties(console, {
225
- log: R({}, e, {
226
- value: ie
227
- }),
228
- info: R({}, e, {
225
+ log: h({}, e, {
229
226
  value: oe
230
227
  }),
231
- warn: R({}, e, {
228
+ info: h({}, e, {
232
229
  value: ue
233
230
  }),
234
- error: R({}, e, {
231
+ warn: h({}, e, {
235
232
  value: se
236
233
  }),
237
- group: R({}, e, {
234
+ error: h({}, e, {
238
235
  value: ce
239
236
  }),
240
- groupCollapsed: R({}, e, {
237
+ group: h({}, e, {
241
238
  value: fe
242
239
  }),
243
- groupEnd: R({}, e, {
240
+ groupCollapsed: h({}, e, {
244
241
  value: le
242
+ }),
243
+ groupEnd: h({}, e, {
244
+ value: de
245
245
  })
246
246
  });
247
247
  }
248
- I < 0 && O("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
248
+ $ < 0 && m("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
249
249
  }
250
250
  }
251
- var F = A.ReactCurrentDispatcher, M;
251
+ var M = A.ReactCurrentDispatcher, q;
252
252
  function L(e, r, t) {
253
253
  {
254
- if (M === void 0)
254
+ if (q === void 0)
255
255
  try {
256
256
  throw Error();
257
- } catch (u) {
258
- var n = u.stack.trim().match(/\n( *(at )?)/);
259
- M = n && n[1] || "";
257
+ } catch (o) {
258
+ var n = o.stack.trim().match(/\n( *(at )?)/);
259
+ q = n && n[1] || "";
260
260
  }
261
261
  return `
262
- ` + M + e;
262
+ ` + q + e;
263
263
  }
264
264
  }
265
- var q = !1, N;
265
+ var B = !1, N;
266
266
  {
267
- var Ve = typeof WeakMap == "function" ? WeakMap : Map;
268
- N = new Ve();
267
+ var Fe = typeof WeakMap == "function" ? WeakMap : Map;
268
+ N = new Fe();
269
269
  }
270
- function ve(e, r) {
271
- if (!e || q)
270
+ function pe(e, r) {
271
+ if (!e || B)
272
272
  return "";
273
273
  {
274
274
  var t = N.get(e);
@@ -276,11 +276,11 @@ function cr() {
276
276
  return t;
277
277
  }
278
278
  var n;
279
- q = !0;
280
- var u = Error.prepareStackTrace;
279
+ B = !0;
280
+ var o = Error.prepareStackTrace;
281
281
  Error.prepareStackTrace = void 0;
282
- var s;
283
- s = F.current, F.current = null, Ne();
282
+ var u;
283
+ u = M.current, M.current = null, Ue();
284
284
  try {
285
285
  if (r) {
286
286
  var i = function() {
@@ -316,32 +316,32 @@ function cr() {
316
316
  } catch (C) {
317
317
  if (C && n && typeof C.stack == "string") {
318
318
  for (var a = C.stack.split(`
319
- `), m = n.stack.split(`
320
- `), d = a.length - 1, p = m.length - 1; d >= 1 && p >= 0 && a[d] !== m[p]; )
321
- p--;
322
- for (; d >= 1 && p >= 0; d--, p--)
323
- if (a[d] !== m[p]) {
324
- if (d !== 1 || p !== 1)
319
+ `), R = n.stack.split(`
320
+ `), v = a.length - 1, g = R.length - 1; v >= 1 && g >= 0 && a[v] !== R[g]; )
321
+ g--;
322
+ for (; v >= 1 && g >= 0; v--, g--)
323
+ if (a[v] !== R[g]) {
324
+ if (v !== 1 || g !== 1)
325
325
  do
326
- if (d--, p--, p < 0 || a[d] !== m[p]) {
326
+ if (v--, g--, g < 0 || a[v] !== R[g]) {
327
327
  var j = `
328
- ` + a[d].replace(" at new ", " at ");
328
+ ` + a[v].replace(" at new ", " at ");
329
329
  return typeof e == "function" && N.set(e, j), j;
330
330
  }
331
- while (d >= 1 && p >= 0);
331
+ while (v >= 1 && g >= 0);
332
332
  break;
333
333
  }
334
334
  }
335
335
  } finally {
336
- q = !1, F.current = s, Ue(), Error.prepareStackTrace = u;
336
+ B = !1, M.current = u, Ve(), Error.prepareStackTrace = o;
337
337
  }
338
- var k = e ? e.displayName || e.name : "", ye = k ? L(k) : "";
339
- return typeof e == "function" && N.set(e, ye), ye;
338
+ var k = e ? e.displayName || e.name : "", je = k ? L(k) : "";
339
+ return typeof e == "function" && N.set(e, je), je;
340
340
  }
341
- function pe(e, r, t) {
342
- return ve(e, !1);
341
+ function ge(e, r, t) {
342
+ return pe(e, !1);
343
343
  }
344
- function Fe(e) {
344
+ function Me(e) {
345
345
  var r = e.prototype;
346
346
  return !!(r && r.isReactComponent);
347
347
  }
@@ -349,93 +349,93 @@ function cr() {
349
349
  if (e == null)
350
350
  return "";
351
351
  if (typeof e == "function")
352
- return ve(e, Fe(e));
352
+ return pe(e, Me(e));
353
353
  if (typeof e == "string")
354
354
  return L(e);
355
355
  switch (e) {
356
- case o:
356
+ case s:
357
357
  return L("Suspense");
358
- case b:
358
+ case P:
359
359
  return L("SuspenseList");
360
360
  }
361
361
  if (typeof e == "object")
362
362
  switch (e.$$typeof) {
363
- case h:
364
- return pe(e.render);
365
- case _:
363
+ case d:
364
+ return ge(e.render);
365
+ case b:
366
366
  return U(e.type, r, t);
367
367
  case W:
368
- return pe(e._render);
368
+ return ge(e._render);
369
369
  case w: {
370
- var n = e, u = n._payload, s = n._init;
370
+ var n = e, o = n._payload, u = n._init;
371
371
  try {
372
- return U(s(u), r, t);
372
+ return U(u(o), r, t);
373
373
  } catch {
374
374
  }
375
375
  }
376
376
  }
377
377
  return "";
378
378
  }
379
- var ge = {}, _e = A.ReactDebugCurrentFrame;
379
+ var _e = {}, he = A.ReactDebugCurrentFrame;
380
380
  function V(e) {
381
381
  if (e) {
382
382
  var r = e._owner, t = U(e.type, e._source, r ? r.type : null);
383
- _e.setExtraStackFrame(t);
383
+ he.setExtraStackFrame(t);
384
384
  } else
385
- _e.setExtraStackFrame(null);
385
+ he.setExtraStackFrame(null);
386
386
  }
387
- function Me(e, r, t, n, u) {
387
+ function qe(e, r, t, n, o) {
388
388
  {
389
- var s = Function.call.bind(Object.prototype.hasOwnProperty);
389
+ var u = Function.call.bind(Object.prototype.hasOwnProperty);
390
390
  for (var i in e)
391
- if (s(e, i)) {
391
+ if (u(e, i)) {
392
392
  var a = void 0;
393
393
  try {
394
394
  if (typeof e[i] != "function") {
395
- var m = Error((n || "React class") + ": " + t + " type `" + i + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[i] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
396
- throw m.name = "Invariant Violation", m;
395
+ var R = Error((n || "React class") + ": " + t + " type `" + i + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[i] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
396
+ throw R.name = "Invariant Violation", R;
397
397
  }
398
398
  a = e[i](r, i, n, t, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
399
- } catch (d) {
400
- a = d;
399
+ } catch (v) {
400
+ a = v;
401
401
  }
402
- a && !(a instanceof Error) && (V(u), O("%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).", n || "React class", t, i, typeof a), V(null)), a instanceof Error && !(a.message in ge) && (ge[a.message] = !0, V(u), O("Failed %s type: %s", t, a.message), V(null));
402
+ a && !(a instanceof Error) && (V(o), m("%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).", n || "React class", t, i, typeof a), V(null)), a instanceof Error && !(a.message in _e) && (_e[a.message] = !0, V(o), m("Failed %s type: %s", t, a.message), V(null));
403
403
  }
404
404
  }
405
405
  }
406
- var $ = A.ReactCurrentOwner, B = Object.prototype.hasOwnProperty, qe = {
406
+ var Y = A.ReactCurrentOwner, G = Object.prototype.hasOwnProperty, Be = {
407
407
  key: !0,
408
408
  ref: !0,
409
409
  __self: !0,
410
410
  __source: !0
411
- }, he, Ee, G;
412
- G = {};
413
- function Be(e) {
414
- if (B.call(e, "ref")) {
411
+ }, Ee, be, J;
412
+ J = {};
413
+ function Ge(e) {
414
+ if (G.call(e, "ref")) {
415
415
  var r = Object.getOwnPropertyDescriptor(e, "ref").get;
416
416
  if (r && r.isReactWarning)
417
417
  return !1;
418
418
  }
419
419
  return e.ref !== void 0;
420
420
  }
421
- function Ge(e) {
422
- if (B.call(e, "key")) {
421
+ function Je(e) {
422
+ if (G.call(e, "key")) {
423
423
  var r = Object.getOwnPropertyDescriptor(e, "key").get;
424
424
  if (r && r.isReactWarning)
425
425
  return !1;
426
426
  }
427
427
  return e.key !== void 0;
428
428
  }
429
- function Je(e, r) {
430
- if (typeof e.ref == "string" && $.current && r && $.current.stateNode !== r) {
431
- var t = y($.current.type);
432
- G[t] || (O('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', y($.current.type), e.ref), G[t] = !0);
429
+ function ze(e, r) {
430
+ if (typeof e.ref == "string" && Y.current && r && Y.current.stateNode !== r) {
431
+ var t = x(Y.current.type);
432
+ J[t] || (m('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', x(Y.current.type), e.ref), J[t] = !0);
433
433
  }
434
434
  }
435
- function ze(e, r) {
435
+ function Ke(e, r) {
436
436
  {
437
437
  var t = function() {
438
- he || (he = !0, O("%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)", r));
438
+ Ee || (Ee = !0, m("%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)", r));
439
439
  };
440
440
  t.isReactWarning = !0, Object.defineProperty(e, "key", {
441
441
  get: t,
@@ -443,10 +443,10 @@ function cr() {
443
443
  });
444
444
  }
445
445
  }
446
- function Ke(e, r) {
446
+ function He(e, r) {
447
447
  {
448
448
  var t = function() {
449
- Ee || (Ee = !0, O("%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)", r));
449
+ be || (be = !0, m("%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)", r));
450
450
  };
451
451
  t.isReactWarning = !0, Object.defineProperty(e, "ref", {
452
452
  get: t,
@@ -454,17 +454,17 @@ function cr() {
454
454
  });
455
455
  }
456
456
  }
457
- var He = function(e, r, t, n, u, s, i) {
457
+ var Xe = function(e, r, t, n, o, u, i) {
458
458
  var a = {
459
459
  // This tag allows us to uniquely identify this as a React Element
460
- $$typeof: x,
460
+ $$typeof: y,
461
461
  // Built-in properties that belong on the element
462
462
  type: e,
463
463
  key: r,
464
464
  ref: t,
465
465
  props: i,
466
466
  // Record the component responsible for creating this element.
467
- _owner: s
467
+ _owner: u
468
468
  };
469
469
  return a._store = {}, Object.defineProperty(a._store, "validated", {
470
470
  configurable: !1,
@@ -480,44 +480,44 @@ function cr() {
480
480
  configurable: !1,
481
481
  enumerable: !1,
482
482
  writable: !1,
483
- value: u
483
+ value: o
484
484
  }), Object.freeze && (Object.freeze(a.props), Object.freeze(a)), a;
485
485
  };
486
- function Xe(e, r, t, n, u) {
486
+ function Ze(e, r, t, n, o) {
487
487
  {
488
- var s, i = {}, a = null, m = null;
489
- t !== void 0 && (a = "" + t), Ge(r) && (a = "" + r.key), Be(r) && (m = r.ref, Je(r, u));
490
- for (s in r)
491
- B.call(r, s) && !qe.hasOwnProperty(s) && (i[s] = r[s]);
488
+ var u, i = {}, a = null, R = null;
489
+ t !== void 0 && (a = "" + t), Je(r) && (a = "" + r.key), Ge(r) && (R = r.ref, ze(r, o));
490
+ for (u in r)
491
+ G.call(r, u) && !Be.hasOwnProperty(u) && (i[u] = r[u]);
492
492
  if (e && e.defaultProps) {
493
- var d = e.defaultProps;
494
- for (s in d)
495
- i[s] === void 0 && (i[s] = d[s]);
493
+ var v = e.defaultProps;
494
+ for (u in v)
495
+ i[u] === void 0 && (i[u] = v[u]);
496
496
  }
497
- if (a || m) {
498
- var p = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
499
- a && ze(i, p), m && Ke(i, p);
497
+ if (a || R) {
498
+ var g = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
499
+ a && Ke(i, g), R && He(i, g);
500
500
  }
501
- return He(e, a, m, u, n, $.current, i);
501
+ return Xe(e, a, R, o, n, Y.current, i);
502
502
  }
503
503
  }
504
- var J = A.ReactCurrentOwner, be = A.ReactDebugCurrentFrame;
504
+ var z = A.ReactCurrentOwner, Re = A.ReactDebugCurrentFrame;
505
505
  function S(e) {
506
506
  if (e) {
507
507
  var r = e._owner, t = U(e.type, e._source, r ? r.type : null);
508
- be.setExtraStackFrame(t);
508
+ Re.setExtraStackFrame(t);
509
509
  } else
510
- be.setExtraStackFrame(null);
510
+ Re.setExtraStackFrame(null);
511
511
  }
512
- var z;
513
- z = !1;
514
- function K(e) {
515
- return typeof e == "object" && e !== null && e.$$typeof === x;
512
+ var K;
513
+ K = !1;
514
+ function H(e) {
515
+ return typeof e == "object" && e !== null && e.$$typeof === y;
516
516
  }
517
- function Re() {
517
+ function me() {
518
518
  {
519
- if (J.current) {
520
- var e = y(J.current.type);
519
+ if (z.current) {
520
+ var e = x(z.current.type);
521
521
  if (e)
522
522
  return `
523
523
 
@@ -526,7 +526,7 @@ Check the render method of \`` + e + "`.";
526
526
  return "";
527
527
  }
528
528
  }
529
- function Ze(e) {
529
+ function Qe(e) {
530
530
  {
531
531
  if (e !== void 0) {
532
532
  var r = e.fileName.replace(/^.*[\\\/]/, ""), t = e.lineNumber;
@@ -537,10 +537,10 @@ Check your code at ` + r + ":" + t + ".";
537
537
  return "";
538
538
  }
539
539
  }
540
- var me = {};
541
- function Qe(e) {
540
+ var Oe = {};
541
+ function er(e) {
542
542
  {
543
- var r = Re();
543
+ var r = me();
544
544
  if (!r) {
545
545
  var t = typeof e == "string" ? e : e.displayName || e.name;
546
546
  t && (r = `
@@ -550,39 +550,39 @@ Check the top-level render call using <` + t + ">.");
550
550
  return r;
551
551
  }
552
552
  }
553
- function Oe(e, r) {
553
+ function Pe(e, r) {
554
554
  {
555
555
  if (!e._store || e._store.validated || e.key != null)
556
556
  return;
557
557
  e._store.validated = !0;
558
- var t = Qe(r);
559
- if (me[t])
558
+ var t = er(r);
559
+ if (Oe[t])
560
560
  return;
561
- me[t] = !0;
561
+ Oe[t] = !0;
562
562
  var n = "";
563
- e && e._owner && e._owner !== J.current && (n = " It was passed a child from " + y(e._owner.type) + "."), S(e), O('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', t, n), S(null);
563
+ e && e._owner && e._owner !== z.current && (n = " It was passed a child from " + x(e._owner.type) + "."), S(e), m('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', t, n), S(null);
564
564
  }
565
565
  }
566
- function Pe(e, r) {
566
+ function ye(e, r) {
567
567
  {
568
568
  if (typeof e != "object")
569
569
  return;
570
570
  if (Array.isArray(e))
571
571
  for (var t = 0; t < e.length; t++) {
572
572
  var n = e[t];
573
- K(n) && Oe(n, r);
573
+ H(n) && Pe(n, r);
574
574
  }
575
- else if (K(e))
575
+ else if (H(e))
576
576
  e._store && (e._store.validated = !0);
577
577
  else if (e) {
578
- var u = Ie(e);
579
- if (typeof u == "function" && u !== e.entries)
580
- for (var s = u.call(e), i; !(i = s.next()).done; )
581
- K(i.value) && Oe(i.value, r);
578
+ var o = $e(e);
579
+ if (typeof o == "function" && o !== e.entries)
580
+ for (var u = o.call(e), i; !(i = u.next()).done; )
581
+ H(i.value) && Pe(i.value, r);
582
582
  }
583
583
  }
584
584
  }
585
- function er(e) {
585
+ function rr(e) {
586
586
  {
587
587
  var r = e.type;
588
588
  if (r == null || typeof r == "string")
@@ -590,89 +590,89 @@ Check the top-level render call using <` + t + ">.");
590
590
  var t;
591
591
  if (typeof r == "function")
592
592
  t = r.propTypes;
593
- else if (typeof r == "object" && (r.$$typeof === h || // Note: Memo only checks outer props here.
593
+ else if (typeof r == "object" && (r.$$typeof === d || // Note: Memo only checks outer props here.
594
594
  // Inner props are checked in the reconciler.
595
- r.$$typeof === _))
595
+ r.$$typeof === b))
596
596
  t = r.propTypes;
597
597
  else
598
598
  return;
599
599
  if (t) {
600
- var n = y(r);
601
- Me(t, e.props, "prop", n, e);
602
- } else if (r.PropTypes !== void 0 && !z) {
603
- z = !0;
604
- var u = y(r);
605
- O("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", u || "Unknown");
600
+ var n = x(r);
601
+ qe(t, e.props, "prop", n, e);
602
+ } else if (r.PropTypes !== void 0 && !K) {
603
+ K = !0;
604
+ var o = x(r);
605
+ m("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", o || "Unknown");
606
606
  }
607
- typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && O("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
607
+ typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && m("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
608
608
  }
609
609
  }
610
- function rr(e) {
610
+ function tr(e) {
611
611
  {
612
612
  for (var r = Object.keys(e.props), t = 0; t < r.length; t++) {
613
613
  var n = r[t];
614
614
  if (n !== "children" && n !== "key") {
615
- S(e), O("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", n), S(null);
615
+ S(e), m("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", n), S(null);
616
616
  break;
617
617
  }
618
618
  }
619
- e.ref !== null && (S(e), O("Invalid attribute `ref` supplied to `React.Fragment`."), S(null));
619
+ e.ref !== null && (S(e), m("Invalid attribute `ref` supplied to `React.Fragment`."), S(null));
620
620
  }
621
621
  }
622
- function xe(e, r, t, n, u, s) {
622
+ function xe(e, r, t, n, o, u) {
623
623
  {
624
- var i = We(e);
624
+ var i = Le(e);
625
625
  if (!i) {
626
626
  var a = "";
627
627
  (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (a += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
628
- var m = Ze(u);
629
- m ? a += m : a += Re();
630
- var d;
631
- e === null ? d = "null" : Array.isArray(e) ? d = "array" : e !== void 0 && e.$$typeof === x ? (d = "<" + (y(e.type) || "Unknown") + " />", a = " Did you accidentally export a JSX literal instead of a component?") : d = typeof e, O("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", d, a);
628
+ var R = Qe(o);
629
+ R ? a += R : a += me();
630
+ var v;
631
+ e === null ? v = "null" : Array.isArray(e) ? v = "array" : e !== void 0 && e.$$typeof === y ? (v = "<" + (x(e.type) || "Unknown") + " />", a = " Did you accidentally export a JSX literal instead of a component?") : v = typeof e, m("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", v, a);
632
632
  }
633
- var p = Xe(e, r, t, u, s);
634
- if (p == null)
635
- return p;
633
+ var g = Ze(e, r, t, o, u);
634
+ if (g == null)
635
+ return g;
636
636
  if (i) {
637
637
  var j = r.children;
638
638
  if (j !== void 0)
639
639
  if (n)
640
640
  if (Array.isArray(j)) {
641
641
  for (var k = 0; k < j.length; k++)
642
- Pe(j[k], e);
642
+ ye(j[k], e);
643
643
  Object.freeze && Object.freeze(j);
644
644
  } else
645
- O("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
645
+ m("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
646
646
  else
647
- Pe(j, e);
647
+ ye(j, e);
648
648
  }
649
- return e === f.Fragment ? rr(p) : er(p), p;
649
+ return e === f.Fragment ? tr(g) : rr(g), g;
650
650
  }
651
651
  }
652
- function tr(e, r, t) {
652
+ function nr(e, r, t) {
653
653
  return xe(e, r, t, !0);
654
654
  }
655
- function nr(e, r, t) {
655
+ function ar(e, r, t) {
656
656
  return xe(e, r, t, !1);
657
657
  }
658
- var ar = nr, ir = tr;
659
- f.jsx = ar, f.jsxs = ir;
658
+ var ir = ar, or = nr;
659
+ f.jsx = ir, f.jsxs = or;
660
660
  }();
661
- }(X)), X;
661
+ }(Z)), Z;
662
662
  }
663
- process.env.NODE_ENV === "production" ? Z.exports = sr() : Z.exports = cr();
664
- var ke = Z.exports;
665
- const fr = {
663
+ process.env.NODE_ENV === "production" ? Q.exports = cr() : Q.exports = fr();
664
+ var De = Q.exports;
665
+ const lr = {
666
666
  popups: []
667
- }, lr = Ae(fr), dr = () => {
668
- const [f, E] = Y([]);
667
+ }, dr = Se(lr), vr = () => {
668
+ const [f, _] = F([]);
669
669
  return {
670
670
  popups: f
671
671
  };
672
- }, Er = ({ children: f }) => {
673
- const E = dr();
674
- return /* @__PURE__ */ ke.jsx(lr.Provider, { value: E, children: f });
675
- }, vr = {
672
+ }, br = ({ children: f }) => {
673
+ const _ = vr();
674
+ return /* @__PURE__ */ De.jsx(dr.Provider, { value: _, children: f });
675
+ }, I = sr.create(), pr = {
676
676
  cabinetType: null,
677
677
  cabinetIsLoading: !0,
678
678
  apiAxios: null,
@@ -682,38 +682,37 @@ const fr = {
682
682
  authToken: null,
683
683
  setAuthToken: null,
684
684
  createAxios: null
685
- }, pr = Ae(vr), gr = ({ cabinetType: f }) => {
686
- const [E, R] = Y(null), [x, T] = Y(null), [g, P] = Y(null), [c, l] = Y(null);
687
- return or(() => {
685
+ }, gr = Se(pr), _r = ({ cabinetType: f }) => {
686
+ const [_, h] = F(null), [y, T] = F(null), [E, O] = F(null);
687
+ return ur(() => {
688
688
  (async () => {
689
- if (!g || !E || f === null)
689
+ if (!I || !_ || f === null)
690
690
  return;
691
- const b = await g.post("/externalCustomerCabinet/cabinetInfo", {
692
- phoneNumber: E,
691
+ const d = await I.post("/externalCustomerCabinet/cabinetInfo", {
692
+ phoneNumber: _,
693
693
  cabinetType: f
694
694
  });
695
- l(b.data);
695
+ O(d.data);
696
696
  })();
697
- }, [E, g]), {
697
+ }, [_, I]), {
698
698
  cabinetType: f,
699
- apiAxios: g,
699
+ apiAxios: I,
700
700
  cabinetIsLoading: !1,
701
- cabinetSettings: c,
702
- phoneNumber: E,
703
- setPhoneNumber: R,
704
- authToken: x,
701
+ cabinetSettings: E,
702
+ phoneNumber: _,
703
+ setPhoneNumber: h,
704
+ authToken: y,
705
705
  setAuthToken: T,
706
- createAxios: (o, b) => {
707
- const _ = ur.create();
708
- _.defaults.baseURL = b, _.defaults.headers.common.Authorization = o, P(_);
706
+ createAxios: (c, d) => {
707
+ I.defaults.baseURL = d, I.defaults.headers.common.Authorization = c;
709
708
  }
710
709
  };
711
- }, br = ({ children: f, cabinetType: E }) => {
712
- const R = gr({ cabinetType: E });
713
- return /* @__PURE__ */ ke.jsx(pr.Provider, { value: { ...R, cabinetType: E }, children: f });
710
+ }, Rr = ({ children: f, cabinetType: _ }) => {
711
+ const h = _r({ cabinetType: _ });
712
+ return /* @__PURE__ */ De.jsx(gr.Provider, { value: { ...h, cabinetType: _ }, children: f });
714
713
  };
715
714
  export {
716
- pr as AppContext,
717
- br as AppProvider,
718
- Er as PopupProvider
715
+ gr as AppContext,
716
+ Rr as AppProvider,
717
+ br as PopupProvider
719
718
  };