@elcrm/telegram 0.0.127 → 0.0.129

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
@@ -1,6 +1,6 @@
1
- import J, { useState as C, useEffect as D } from "react";
2
- import { createPortal as dr } from "react-dom";
3
- import './index.css';var Ft = { exports: {} }, Je = {};
1
+ import J, { useState as T, useEffect as D } from "react";
2
+ import { createPortal as pr } from "react-dom";
3
+ import './index.css';var Wt = { exports: {} }, Je = {};
4
4
  /**
5
5
  * @license React
6
6
  * react-jsx-runtime.production.min.js
@@ -10,19 +10,19 @@ import './index.css';var Ft = { exports: {} }, Je = {};
10
10
  * This source code is licensed under the MIT license found in the
11
11
  * LICENSE file in the root directory of this source tree.
12
12
  */
13
- var Vt;
14
- function pr() {
15
- if (Vt) return Je;
16
- Vt = 1;
13
+ var Jt;
14
+ function vr() {
15
+ if (Jt) return Je;
16
+ Jt = 1;
17
17
  var t = J, n = Symbol.for("react.element"), o = Symbol.for("react.fragment"), i = Object.prototype.hasOwnProperty, s = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, c = { key: !0, ref: !0, __self: !0, __source: !0 };
18
- function v(p, f, b) {
19
- var m, g = {}, y = null, P = null;
20
- b !== void 0 && (y = "" + b), f.key !== void 0 && (y = "" + f.key), f.ref !== void 0 && (P = f.ref);
21
- for (m in f) i.call(f, m) && !c.hasOwnProperty(m) && (g[m] = f[m]);
22
- if (p && p.defaultProps) for (m in f = p.defaultProps, f) g[m] === void 0 && (g[m] = f[m]);
23
- return { $$typeof: n, type: p, key: y, ref: P, props: g, _owner: s.current };
18
+ function p(v, f, b) {
19
+ var h, g = {}, _ = null, x = null;
20
+ b !== void 0 && (_ = "" + b), f.key !== void 0 && (_ = "" + f.key), f.ref !== void 0 && (x = f.ref);
21
+ for (h in f) i.call(f, h) && !c.hasOwnProperty(h) && (g[h] = f[h]);
22
+ if (v && v.defaultProps) for (h in f = v.defaultProps, f) g[h] === void 0 && (g[h] = f[h]);
23
+ return { $$typeof: n, type: v, key: _, ref: x, props: g, _owner: s.current };
24
24
  }
25
- return Je.Fragment = o, Je.jsx = v, Je.jsxs = v, Je;
25
+ return Je.Fragment = o, Je.jsx = p, Je.jsxs = p, Je;
26
26
  }
27
27
  var He = {};
28
28
  /**
@@ -34,57 +34,57 @@ var He = {};
34
34
  * This source code is licensed under the MIT license found in the
35
35
  * LICENSE file in the root directory of this source tree.
36
36
  */
37
- var Jt;
38
- function vr() {
39
- return Jt || (Jt = 1, process.env.NODE_ENV !== "production" && function() {
40
- var t = J, n = Symbol.for("react.element"), o = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), s = Symbol.for("react.strict_mode"), c = Symbol.for("react.profiler"), v = Symbol.for("react.provider"), p = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"), b = Symbol.for("react.suspense"), m = Symbol.for("react.suspense_list"), g = Symbol.for("react.memo"), y = Symbol.for("react.lazy"), P = Symbol.for("react.offscreen"), w = Symbol.iterator, nt = "@@iterator";
41
- function ot(e) {
37
+ var Ht;
38
+ function hr() {
39
+ return Ht || (Ht = 1, process.env.NODE_ENV !== "production" && function() {
40
+ var t = J, n = Symbol.for("react.element"), o = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), s = Symbol.for("react.strict_mode"), c = Symbol.for("react.profiler"), p = Symbol.for("react.provider"), v = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"), b = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), g = Symbol.for("react.memo"), _ = Symbol.for("react.lazy"), x = Symbol.for("react.offscreen"), P = Symbol.iterator, ot = "@@iterator";
41
+ function at(e) {
42
42
  if (e === null || typeof e != "object")
43
43
  return null;
44
- var r = w && e[w] || e[nt];
44
+ var r = P && e[P] || e[ot];
45
45
  return typeof r == "function" ? r : null;
46
46
  }
47
47
  var U = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
48
- function A(e) {
48
+ function j(e) {
49
49
  {
50
50
  for (var r = arguments.length, a = new Array(r > 1 ? r - 1 : 0), u = 1; u < r; u++)
51
51
  a[u - 1] = arguments[u];
52
- at("error", e, a);
52
+ st("error", e, a);
53
53
  }
54
54
  }
55
- function at(e, r, a) {
55
+ function st(e, r, a) {
56
56
  {
57
- var u = U.ReactDebugCurrentFrame, _ = u.getStackAddendum();
58
- _ !== "" && (r += "%s", a = a.concat([_]));
59
- var R = a.map(function(h) {
60
- return String(h);
57
+ var u = U.ReactDebugCurrentFrame, y = u.getStackAddendum();
58
+ y !== "" && (r += "%s", a = a.concat([y]));
59
+ var R = a.map(function(m) {
60
+ return String(m);
61
61
  });
62
62
  R.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, R);
63
63
  }
64
64
  }
65
- var st = !1, it = !1, ct = !1, lt = !1, ut = !1, Ee;
66
- Ee = Symbol.for("react.module.reference");
67
- function ft(e) {
68
- return !!(typeof e == "string" || typeof e == "function" || e === i || e === c || ut || e === s || e === b || e === m || lt || e === P || st || it || ct || typeof e == "object" && e !== null && (e.$$typeof === y || e.$$typeof === g || e.$$typeof === v || e.$$typeof === p || e.$$typeof === f || // This needs to include all possible module reference object
65
+ var it = !1, ct = !1, lt = !1, ut = !1, ft = !1, Se;
66
+ Se = Symbol.for("react.module.reference");
67
+ function dt(e) {
68
+ return !!(typeof e == "string" || typeof e == "function" || e === i || e === c || ft || e === s || e === b || e === h || ut || e === x || it || ct || lt || typeof e == "object" && e !== null && (e.$$typeof === _ || e.$$typeof === g || e.$$typeof === p || e.$$typeof === v || e.$$typeof === f || // This needs to include all possible module reference object
69
69
  // types supported by any Flight configuration anywhere since
70
70
  // we don't know which Flight build this will end up being used
71
71
  // with.
72
- e.$$typeof === Ee || e.getModuleId !== void 0));
72
+ e.$$typeof === Se || e.getModuleId !== void 0));
73
73
  }
74
- function dt(e, r, a) {
74
+ function pt(e, r, a) {
75
75
  var u = e.displayName;
76
76
  if (u)
77
77
  return u;
78
- var _ = r.displayName || r.name || "";
79
- return _ !== "" ? a + "(" + _ + ")" : a;
78
+ var y = r.displayName || r.name || "";
79
+ return y !== "" ? a + "(" + y + ")" : a;
80
80
  }
81
- function Se(e) {
81
+ function Ee(e) {
82
82
  return e.displayName || "Context";
83
83
  }
84
84
  function $(e) {
85
85
  if (e == null)
86
86
  return null;
87
- if (typeof e.tag == "number" && A("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
87
+ if (typeof e.tag == "number" && j("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
88
88
  return e.displayName || e.name || null;
89
89
  if (typeof e == "string")
90
90
  return e;
@@ -99,26 +99,26 @@ function vr() {
99
99
  return "StrictMode";
100
100
  case b:
101
101
  return "Suspense";
102
- case m:
102
+ case h:
103
103
  return "SuspenseList";
104
104
  }
105
105
  if (typeof e == "object")
106
106
  switch (e.$$typeof) {
107
- case p:
108
- var r = e;
109
- return Se(r) + ".Consumer";
110
107
  case v:
108
+ var r = e;
109
+ return Ee(r) + ".Consumer";
110
+ case p:
111
111
  var a = e;
112
- return Se(a._context) + ".Provider";
112
+ return Ee(a._context) + ".Provider";
113
113
  case f:
114
- return dt(e, e.render, "ForwardRef");
114
+ return pt(e, e.render, "ForwardRef");
115
115
  case g:
116
116
  var u = e.displayName || null;
117
117
  return u !== null ? u : $(e.type) || "Memo";
118
- case y: {
119
- var _ = e, R = _._payload, h = _._init;
118
+ case _: {
119
+ var y = e, R = y._payload, m = y._init;
120
120
  try {
121
- return $(h(R));
121
+ return $(m(R));
122
122
  } catch {
123
123
  return null;
124
124
  }
@@ -127,17 +127,17 @@ function vr() {
127
127
  return null;
128
128
  }
129
129
  var N = Object.assign, q = 0, xe, Ae, je, ke, Oe, Pe, we;
130
- function Te() {
130
+ function Ce() {
131
131
  }
132
- Te.__reactDisabledLog = !0;
133
- function pt() {
132
+ Ce.__reactDisabledLog = !0;
133
+ function vt() {
134
134
  {
135
135
  if (q === 0) {
136
136
  xe = console.log, Ae = console.info, je = console.warn, ke = console.error, Oe = console.group, Pe = console.groupCollapsed, we = console.groupEnd;
137
137
  var e = {
138
138
  configurable: !0,
139
139
  enumerable: !0,
140
- value: Te,
140
+ value: Ce,
141
141
  writable: !0
142
142
  };
143
143
  Object.defineProperties(console, {
@@ -153,7 +153,7 @@ function vr() {
153
153
  q++;
154
154
  }
155
155
  }
156
- function vt() {
156
+ function ht() {
157
157
  {
158
158
  if (q--, q === 0) {
159
159
  var e = {
@@ -185,7 +185,7 @@ function vr() {
185
185
  })
186
186
  });
187
187
  }
188
- q < 0 && A("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
188
+ q < 0 && j("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
189
189
  }
190
190
  }
191
191
  var se = U.ReactCurrentDispatcher, ie;
@@ -194,8 +194,8 @@ function vr() {
194
194
  if (ie === void 0)
195
195
  try {
196
196
  throw Error();
197
- } catch (_) {
198
- var u = _.stack.trim().match(/\n( *(at )?)/);
197
+ } catch (y) {
198
+ var u = y.stack.trim().match(/\n( *(at )?)/);
199
199
  ie = u && u[1] || "";
200
200
  }
201
201
  return `
@@ -204,10 +204,10 @@ function vr() {
204
204
  }
205
205
  var ce = !1, X;
206
206
  {
207
- var ht = typeof WeakMap == "function" ? WeakMap : Map;
208
- X = new ht();
207
+ var mt = typeof WeakMap == "function" ? WeakMap : Map;
208
+ X = new mt();
209
209
  }
210
- function Ce(e, r) {
210
+ function Te(e, r) {
211
211
  if (!e || ce)
212
212
  return "";
213
213
  {
@@ -217,71 +217,71 @@ function vr() {
217
217
  }
218
218
  var u;
219
219
  ce = !0;
220
- var _ = Error.prepareStackTrace;
220
+ var y = Error.prepareStackTrace;
221
221
  Error.prepareStackTrace = void 0;
222
222
  var R;
223
- R = se.current, se.current = null, pt();
223
+ R = se.current, se.current = null, vt();
224
224
  try {
225
225
  if (r) {
226
- var h = function() {
226
+ var m = function() {
227
227
  throw Error();
228
228
  };
229
- if (Object.defineProperty(h.prototype, "props", {
229
+ if (Object.defineProperty(m.prototype, "props", {
230
230
  set: function() {
231
231
  throw Error();
232
232
  }
233
233
  }), typeof Reflect == "object" && Reflect.construct) {
234
234
  try {
235
- Reflect.construct(h, []);
236
- } catch (k) {
237
- u = k;
235
+ Reflect.construct(m, []);
236
+ } catch (O) {
237
+ u = O;
238
238
  }
239
- Reflect.construct(e, [], h);
239
+ Reflect.construct(e, [], m);
240
240
  } else {
241
241
  try {
242
- h.call();
243
- } catch (k) {
244
- u = k;
242
+ m.call();
243
+ } catch (O) {
244
+ u = O;
245
245
  }
246
- e.call(h.prototype);
246
+ e.call(m.prototype);
247
247
  }
248
248
  } else {
249
249
  try {
250
250
  throw Error();
251
- } catch (k) {
252
- u = k;
251
+ } catch (O) {
252
+ u = O;
253
253
  }
254
254
  e();
255
255
  }
256
- } catch (k) {
257
- if (k && u && typeof k.stack == "string") {
258
- for (var d = k.stack.split(`
259
- `), j = u.stack.split(`
260
- `), E = d.length - 1, S = j.length - 1; E >= 1 && S >= 0 && d[E] !== j[S]; )
261
- S--;
262
- for (; E >= 1 && S >= 0; E--, S--)
263
- if (d[E] !== j[S]) {
264
- if (E !== 1 || S !== 1)
256
+ } catch (O) {
257
+ if (O && u && typeof O.stack == "string") {
258
+ for (var d = O.stack.split(`
259
+ `), k = u.stack.split(`
260
+ `), S = d.length - 1, E = k.length - 1; S >= 1 && E >= 0 && d[S] !== k[E]; )
261
+ E--;
262
+ for (; S >= 1 && E >= 0; S--, E--)
263
+ if (d[S] !== k[E]) {
264
+ if (S !== 1 || E !== 1)
265
265
  do
266
- if (E--, S--, S < 0 || d[E] !== j[S]) {
267
- var O = `
268
- ` + d[E].replace(" at new ", " at ");
269
- return e.displayName && O.includes("<anonymous>") && (O = O.replace("<anonymous>", e.displayName)), typeof e == "function" && X.set(e, O), O;
266
+ if (S--, E--, E < 0 || d[S] !== k[E]) {
267
+ var w = `
268
+ ` + d[S].replace(" at new ", " at ");
269
+ return e.displayName && w.includes("<anonymous>") && (w = w.replace("<anonymous>", e.displayName)), typeof e == "function" && X.set(e, w), w;
270
270
  }
271
- while (E >= 1 && S >= 0);
271
+ while (S >= 1 && E >= 0);
272
272
  break;
273
273
  }
274
274
  }
275
275
  } finally {
276
- ce = !1, se.current = R, vt(), Error.prepareStackTrace = _;
276
+ ce = !1, se.current = R, ht(), Error.prepareStackTrace = y;
277
277
  }
278
278
  var W = e ? e.displayName || e.name : "", I = W ? G(W) : "";
279
279
  return typeof e == "function" && X.set(e, I), I;
280
280
  }
281
- function mt(e, r, a) {
282
- return Ce(e, !1);
281
+ function gt(e, r, a) {
282
+ return Te(e, !1);
283
283
  }
284
- function gt(e) {
284
+ function bt(e) {
285
285
  var r = e.prototype;
286
286
  return !!(r && r.isReactComponent);
287
287
  }
@@ -289,25 +289,25 @@ function vr() {
289
289
  if (e == null)
290
290
  return "";
291
291
  if (typeof e == "function")
292
- return Ce(e, gt(e));
292
+ return Te(e, bt(e));
293
293
  if (typeof e == "string")
294
294
  return G(e);
295
295
  switch (e) {
296
296
  case b:
297
297
  return G("Suspense");
298
- case m:
298
+ case h:
299
299
  return G("SuspenseList");
300
300
  }
301
301
  if (typeof e == "object")
302
302
  switch (e.$$typeof) {
303
303
  case f:
304
- return mt(e.render);
304
+ return gt(e.render);
305
305
  case g:
306
306
  return Z(e.type, r, a);
307
- case y: {
308
- var u = e, _ = u._payload, R = u._init;
307
+ case _: {
308
+ var u = e, y = u._payload, R = u._init;
309
309
  try {
310
- return Z(R(_), r, a);
310
+ return Z(R(y), r, a);
311
311
  } catch {
312
312
  }
313
313
  }
@@ -322,36 +322,36 @@ function vr() {
322
322
  } else
323
323
  Ne.setExtraStackFrame(null);
324
324
  }
325
- function bt(e, r, a, u, _) {
325
+ function yt(e, r, a, u, y) {
326
326
  {
327
327
  var R = Function.call.bind(z);
328
- for (var h in e)
329
- if (R(e, h)) {
328
+ for (var m in e)
329
+ if (R(e, m)) {
330
330
  var d = void 0;
331
331
  try {
332
- if (typeof e[h] != "function") {
333
- var j = Error((u || "React class") + ": " + a + " type `" + h + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[h] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
334
- throw j.name = "Invariant Violation", j;
332
+ if (typeof e[m] != "function") {
333
+ var k = Error((u || "React class") + ": " + a + " type `" + m + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[m] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
334
+ throw k.name = "Invariant Violation", k;
335
335
  }
336
- d = e[h](r, h, u, a, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
337
- } catch (E) {
338
- d = E;
336
+ d = e[m](r, m, u, a, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
337
+ } catch (S) {
338
+ d = S;
339
339
  }
340
- d && !(d instanceof Error) && (Q(_), A("%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).", u || "React class", a, h, typeof d), Q(null)), d instanceof Error && !(d.message in $e) && ($e[d.message] = !0, Q(_), A("Failed %s type: %s", a, d.message), Q(null));
340
+ d && !(d instanceof Error) && (Q(y), j("%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).", u || "React class", a, m, typeof d), Q(null)), d instanceof Error && !(d.message in $e) && ($e[d.message] = !0, Q(y), j("Failed %s type: %s", a, d.message), Q(null));
341
341
  }
342
342
  }
343
343
  }
344
- var yt = Array.isArray;
344
+ var _t = Array.isArray;
345
345
  function le(e) {
346
- return yt(e);
346
+ return _t(e);
347
347
  }
348
- function _t(e) {
348
+ function Rt(e) {
349
349
  {
350
350
  var r = typeof Symbol == "function" && Symbol.toStringTag, a = r && e[Symbol.toStringTag] || e.constructor.name || "Object";
351
351
  return a;
352
352
  }
353
353
  }
354
- function Rt(e) {
354
+ function St(e) {
355
355
  try {
356
356
  return Ie(e), !1;
357
357
  } catch {
@@ -362,8 +362,8 @@ function vr() {
362
362
  return "" + e;
363
363
  }
364
364
  function Me(e) {
365
- if (Rt(e))
366
- return A("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", _t(e)), Ie(e);
365
+ if (St(e))
366
+ return j("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Rt(e)), Ie(e);
367
367
  }
368
368
  var Be = U.ReactCurrentOwner, Et = {
369
369
  key: !0,
@@ -371,7 +371,7 @@ function vr() {
371
371
  __self: !0,
372
372
  __source: !0
373
373
  }, Le, De;
374
- function St(e) {
374
+ function xt(e) {
375
375
  if (z.call(e, "ref")) {
376
376
  var r = Object.getOwnPropertyDescriptor(e, "ref").get;
377
377
  if (r && r.isReactWarning)
@@ -379,7 +379,7 @@ function vr() {
379
379
  }
380
380
  return e.ref !== void 0;
381
381
  }
382
- function xt(e) {
382
+ function At(e) {
383
383
  if (z.call(e, "key")) {
384
384
  var r = Object.getOwnPropertyDescriptor(e, "key").get;
385
385
  if (r && r.isReactWarning)
@@ -387,13 +387,13 @@ function vr() {
387
387
  }
388
388
  return e.key !== void 0;
389
389
  }
390
- function At(e, r) {
390
+ function jt(e, r) {
391
391
  typeof e.ref == "string" && Be.current;
392
392
  }
393
- function jt(e, r) {
393
+ function kt(e, r) {
394
394
  {
395
395
  var a = function() {
396
- Le || (Le = !0, A("%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));
396
+ Le || (Le = !0, j("%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));
397
397
  };
398
398
  a.isReactWarning = !0, Object.defineProperty(e, "key", {
399
399
  get: a,
@@ -401,10 +401,10 @@ function vr() {
401
401
  });
402
402
  }
403
403
  }
404
- function kt(e, r) {
404
+ function Ot(e, r) {
405
405
  {
406
406
  var a = function() {
407
- De || (De = !0, A("%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));
407
+ De || (De = !0, j("%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));
408
408
  };
409
409
  a.isReactWarning = !0, Object.defineProperty(e, "ref", {
410
410
  get: a,
@@ -412,7 +412,7 @@ function vr() {
412
412
  });
413
413
  }
414
414
  }
415
- var Ot = function(e, r, a, u, _, R, h) {
415
+ var Pt = function(e, r, a, u, y, R, m) {
416
416
  var d = {
417
417
  // This tag allows us to uniquely identify this as a React Element
418
418
  $$typeof: n,
@@ -420,7 +420,7 @@ function vr() {
420
420
  type: e,
421
421
  key: r,
422
422
  ref: a,
423
- props: h,
423
+ props: m,
424
424
  // Record the component responsible for creating this element.
425
425
  _owner: R
426
426
  };
@@ -438,25 +438,25 @@ function vr() {
438
438
  configurable: !1,
439
439
  enumerable: !1,
440
440
  writable: !1,
441
- value: _
441
+ value: y
442
442
  }), Object.freeze && (Object.freeze(d.props), Object.freeze(d)), d;
443
443
  };
444
- function Pt(e, r, a, u, _) {
444
+ function wt(e, r, a, u, y) {
445
445
  {
446
- var R, h = {}, d = null, j = null;
447
- a !== void 0 && (Me(a), d = "" + a), xt(r) && (Me(r.key), d = "" + r.key), St(r) && (j = r.ref, At(r, _));
446
+ var R, m = {}, d = null, k = null;
447
+ a !== void 0 && (Me(a), d = "" + a), At(r) && (Me(r.key), d = "" + r.key), xt(r) && (k = r.ref, jt(r, y));
448
448
  for (R in r)
449
- z.call(r, R) && !Et.hasOwnProperty(R) && (h[R] = r[R]);
449
+ z.call(r, R) && !Et.hasOwnProperty(R) && (m[R] = r[R]);
450
450
  if (e && e.defaultProps) {
451
- var E = e.defaultProps;
452
- for (R in E)
453
- h[R] === void 0 && (h[R] = E[R]);
451
+ var S = e.defaultProps;
452
+ for (R in S)
453
+ m[R] === void 0 && (m[R] = S[R]);
454
454
  }
455
- if (d || j) {
456
- var S = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
457
- d && jt(h, S), j && kt(h, S);
455
+ if (d || k) {
456
+ var E = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
457
+ d && kt(m, E), k && Ot(m, E);
458
458
  }
459
- return Ot(e, d, j, _, u, Be.current, h);
459
+ return Pt(e, d, k, y, u, Be.current, m);
460
460
  }
461
461
  }
462
462
  var ue = U.ReactCurrentOwner, Ue = U.ReactDebugCurrentFrame;
@@ -484,7 +484,7 @@ Check the render method of \`` + e + "`.";
484
484
  return "";
485
485
  }
486
486
  }
487
- function wt(e) {
487
+ function Ct(e) {
488
488
  return "";
489
489
  }
490
490
  var We = {};
@@ -510,7 +510,7 @@ Check the top-level render call using <` + a + ">.");
510
510
  return;
511
511
  We[a] = !0;
512
512
  var u = "";
513
- e && e._owner && e._owner !== ue.current && (u = " It was passed a child from " + $(e._owner.type) + "."), F(e), A('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', a, u), F(null);
513
+ e && e._owner && e._owner !== ue.current && (u = " It was passed a child from " + $(e._owner.type) + "."), F(e), j('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', a, u), F(null);
514
514
  }
515
515
  }
516
516
  function qe(e, r) {
@@ -525,14 +525,14 @@ Check the top-level render call using <` + a + ">.");
525
525
  else if (de(e))
526
526
  e._store && (e._store.validated = !0);
527
527
  else if (e) {
528
- var _ = ot(e);
529
- if (typeof _ == "function" && _ !== e.entries)
530
- for (var R = _.call(e), h; !(h = R.next()).done; )
531
- de(h.value) && Ye(h.value, r);
528
+ var y = at(e);
529
+ if (typeof y == "function" && y !== e.entries)
530
+ for (var R = y.call(e), m; !(m = R.next()).done; )
531
+ de(m.value) && Ye(m.value, r);
532
532
  }
533
533
  }
534
534
  }
535
- function Ct(e) {
535
+ function $t(e) {
536
536
  {
537
537
  var r = e.type;
538
538
  if (r == null || typeof r == "string")
@@ -548,136 +548,136 @@ Check the top-level render call using <` + a + ">.");
548
548
  return;
549
549
  if (a) {
550
550
  var u = $(r);
551
- bt(a, e.props, "prop", u, e);
551
+ yt(a, e.props, "prop", u, e);
552
552
  } else if (r.PropTypes !== void 0 && !fe) {
553
553
  fe = !0;
554
- var _ = $(r);
555
- A("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", _ || "Unknown");
554
+ var y = $(r);
555
+ j("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", y || "Unknown");
556
556
  }
557
- typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && A("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
557
+ typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && j("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
558
558
  }
559
559
  }
560
- function $t(e) {
560
+ function Nt(e) {
561
561
  {
562
562
  for (var r = Object.keys(e.props), a = 0; a < r.length; a++) {
563
563
  var u = r[a];
564
564
  if (u !== "children" && u !== "key") {
565
- F(e), A("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", u), F(null);
565
+ F(e), j("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", u), F(null);
566
566
  break;
567
567
  }
568
568
  }
569
- e.ref !== null && (F(e), A("Invalid attribute `ref` supplied to `React.Fragment`."), F(null));
569
+ e.ref !== null && (F(e), j("Invalid attribute `ref` supplied to `React.Fragment`."), F(null));
570
570
  }
571
571
  }
572
572
  var ze = {};
573
- function Ve(e, r, a, u, _, R) {
573
+ function Ve(e, r, a, u, y, R) {
574
574
  {
575
- var h = ft(e);
576
- if (!h) {
575
+ var m = dt(e);
576
+ if (!m) {
577
577
  var d = "";
578
578
  (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (d += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
579
- var j = wt();
580
- j ? d += j : d += Fe();
581
- var E;
582
- e === null ? E = "null" : le(e) ? E = "array" : e !== void 0 && e.$$typeof === n ? (E = "<" + ($(e.type) || "Unknown") + " />", d = " Did you accidentally export a JSX literal instead of a component?") : E = typeof e, A("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", E, d);
579
+ var k = Ct();
580
+ k ? d += k : d += Fe();
581
+ var S;
582
+ e === null ? S = "null" : le(e) ? S = "array" : e !== void 0 && e.$$typeof === n ? (S = "<" + ($(e.type) || "Unknown") + " />", d = " Did you accidentally export a JSX literal instead of a component?") : S = typeof e, j("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", S, d);
583
583
  }
584
- var S = Pt(e, r, a, _, R);
585
- if (S == null)
586
- return S;
587
- if (h) {
588
- var O = r.children;
589
- if (O !== void 0)
584
+ var E = wt(e, r, a, y, R);
585
+ if (E == null)
586
+ return E;
587
+ if (m) {
588
+ var w = r.children;
589
+ if (w !== void 0)
590
590
  if (u)
591
- if (le(O)) {
592
- for (var W = 0; W < O.length; W++)
593
- qe(O[W], e);
594
- Object.freeze && Object.freeze(O);
591
+ if (le(w)) {
592
+ for (var W = 0; W < w.length; W++)
593
+ qe(w[W], e);
594
+ Object.freeze && Object.freeze(w);
595
595
  } else
596
- A("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
596
+ j("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
597
597
  else
598
- qe(O, e);
598
+ qe(w, e);
599
599
  }
600
600
  if (z.call(r, "key")) {
601
- var I = $(e), k = Object.keys(r).filter(function(Dt) {
602
- return Dt !== "key";
603
- }), pe = k.length > 0 ? "{key: someKey, " + k.join(": ..., ") + ": ...}" : "{key: someKey}";
601
+ var I = $(e), O = Object.keys(r).filter(function(Ut) {
602
+ return Ut !== "key";
603
+ }), pe = O.length > 0 ? "{key: someKey, " + O.join(": ..., ") + ": ...}" : "{key: someKey}";
604
604
  if (!ze[I + pe]) {
605
- var Lt = k.length > 0 ? "{" + k.join(": ..., ") + ": ...}" : "{}";
606
- A(`A props object containing a "key" prop is being spread into JSX:
605
+ var Dt = O.length > 0 ? "{" + O.join(": ..., ") + ": ...}" : "{}";
606
+ j(`A props object containing a "key" prop is being spread into JSX:
607
607
  let props = %s;
608
608
  <%s {...props} />
609
609
  React keys must be passed directly to JSX without using spread:
610
610
  let props = %s;
611
- <%s key={someKey} {...props} />`, pe, I, Lt, I), ze[I + pe] = !0;
611
+ <%s key={someKey} {...props} />`, pe, I, Dt, I), ze[I + pe] = !0;
612
612
  }
613
613
  }
614
- return e === i ? $t(S) : Ct(S), S;
614
+ return e === i ? Nt(E) : $t(E), E;
615
615
  }
616
616
  }
617
- function Nt(e, r, a) {
617
+ function It(e, r, a) {
618
618
  return Ve(e, r, a, !0);
619
619
  }
620
- function It(e, r, a) {
620
+ function Mt(e, r, a) {
621
621
  return Ve(e, r, a, !1);
622
622
  }
623
- var Mt = It, Bt = Nt;
624
- He.Fragment = i, He.jsx = Mt, He.jsxs = Bt;
623
+ var Bt = Mt, Lt = It;
624
+ He.Fragment = i, He.jsx = Bt, He.jsxs = Lt;
625
625
  }()), He;
626
626
  }
627
- process.env.NODE_ENV === "production" ? Ft.exports = pr() : Ft.exports = vr();
628
- var l = Ft.exports;
629
- const hr = "_o_1apbm_11", mr = "_x_1apbm_24", gr = "_p_1apbm_28", br = "_m_1apbm_45", ye = {
630
- o: hr,
631
- x: mr,
632
- p: gr,
633
- m: br
627
+ process.env.NODE_ENV === "production" ? Wt.exports = vr() : Wt.exports = hr();
628
+ var l = Wt.exports;
629
+ const mr = "_o_1apbm_11", gr = "_x_1apbm_24", br = "_p_1apbm_28", yr = "_m_1apbm_45", ye = {
630
+ o: mr,
631
+ x: gr,
632
+ p: br,
633
+ m: yr
634
634
  };
635
635
  let Y = {};
636
- var Wt;
636
+ var Yt;
637
637
  ((t) => {
638
638
  function n({
639
- children: p,
639
+ children: v,
640
640
  onCallbackModal: f,
641
641
  nameModal: b,
642
- offsetTop: m
642
+ offsetTop: h
643
643
  }) {
644
- const [g, y] = C(!1), [P, w] = C(!1);
644
+ const [g, _] = T(!1), [x, P] = T(!1);
645
645
  if (Y[b].onClose = () => {
646
- T.BackButton(!1), w(!0), setTimeout(() => {
647
- y(!1), w(!1), f == null || f(), Y.x(b);
646
+ C.BackButton(!1), P(!0), setTimeout(() => {
647
+ _(!1), P(!1), f == null || f(), Y.x(b);
648
648
  }, 300);
649
649
  }, D(() => {
650
- g ? Y[b].onClose() : (T.BackButton({
650
+ g ? Y[b].onClose() : (C.BackButton({
651
651
  callback: () => Y[b].onClose()
652
- }), y(!0));
652
+ }), _(!0));
653
653
  }, []), !!g)
654
- return /* @__PURE__ */ l.jsx("div", { className: be(ye.o, P && ye.x), children: /* @__PURE__ */ l.jsx(
654
+ return /* @__PURE__ */ l.jsx("div", { className: be(ye.o, x && ye.x), children: /* @__PURE__ */ l.jsx(
655
655
  "div",
656
656
  {
657
657
  className: be(
658
658
  ye.p,
659
- P && ye.x,
660
- m ? ye.o : ye.m
659
+ x && ye.x,
660
+ h ? ye.o : ye.m
661
661
  ),
662
- children: p
662
+ children: v
663
663
  }
664
664
  ) });
665
665
  }
666
666
  t.Content = n;
667
667
  function o({
668
- import_modules: p
668
+ import_modules: v
669
669
  }) {
670
- let [f, b] = C([]);
671
- return Y.x = (m) => {
672
- b(m ? f.filter((g) => g.key !== m) : []);
670
+ let [f, b] = T([]);
671
+ return Y.x = (h) => {
672
+ b(h ? f.filter((g) => g.key !== h) : []);
673
673
  }, D(() => {
674
- p && (Y.i = p);
675
- }, []), Y.add = (m, g = Date.now()) => {
676
- b([...f, { key: g, item: m }]);
677
- }, /* @__PURE__ */ l.jsx(l.Fragment, { children: f.map((m) => m.item) });
674
+ v && (Y.i = v);
675
+ }, []), Y.add = (h, g = Date.now()) => {
676
+ b([...f, { key: g, item: h }]);
677
+ }, /* @__PURE__ */ l.jsx(l.Fragment, { children: f.map((h) => h.item) });
678
678
  }
679
679
  t.Init = o;
680
- function i(p, f, b) {
680
+ function i(v, f, b) {
681
681
  Y.add(
682
682
  /* @__PURE__ */ l.jsx(
683
683
  n,
@@ -685,7 +685,7 @@ var Wt;
685
685
  onCallbackModal: Y["callback_modal" + f],
686
686
  nameModal: f || "",
687
687
  offsetTop: b,
688
- children: p
688
+ children: v
689
689
  },
690
690
  String(Date.now())
691
691
  ),
@@ -693,17 +693,17 @@ var Wt;
693
693
  );
694
694
  }
695
695
  t.Add = i;
696
- function s(p, f = Date.now().toString(), b) {
696
+ function s(v, f = Date.now().toString(), b) {
697
697
  return Y[f] = {}, {
698
- Open: (y) => {
698
+ Open: (_) => {
699
699
  t.Add(
700
700
  /* @__PURE__ */ l.jsx(
701
- p,
701
+ v,
702
702
  {
703
- ...y,
704
- onCallbackModal: (P) => {
705
- var w;
706
- (w = y.callback) == null || w.call(y, P);
703
+ ..._,
704
+ onCallbackModal: (x) => {
705
+ var P;
706
+ (P = _.callback) == null || P.call(_, x);
707
707
  },
708
708
  nameModal: f
709
709
  },
@@ -716,34 +716,34 @@ var Wt;
716
716
  };
717
717
  }
718
718
  t.Create = s;
719
- function c(p) {
720
- Y[p].onClose();
719
+ function c(v) {
720
+ Y[v].onClose();
721
721
  }
722
722
  t.Close = c;
723
- function v(p, f, b, m) {
724
- Y.i && (m && (b.callback = m), Y.i(`${p}/modals/${f}.tsx`).then((g) => {
725
- var y;
726
- g.Open ? g.Open(b) : (y = g.default) != null && y.Open ? g.default.Open(b) : g.default && g.default(b);
723
+ function p(v, f, b, h) {
724
+ Y.i && (h && (b.callback = h), Y.i(`${v}/modals/${f}.tsx`).then((g) => {
725
+ var _;
726
+ g.Open ? g.Open(b) : (_ = g.default) != null && _.Open ? g.default.Open(b) : g.default && g.default(b);
727
727
  }));
728
728
  }
729
- t.Open = v;
730
- })(Wt || (Wt = {}));
731
- function nr() {
729
+ t.Open = p;
730
+ })(Yt || (Yt = {}));
731
+ function or() {
732
732
  return typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof self < "u" ? self : typeof global < "u" ? global : {};
733
733
  }
734
- const or = {
734
+ const ar = {
735
735
  key: "Y0zt37HgOx-BY7SQjYVmrqhPkO41Ii2Jcb9yydUDPf6",
736
736
  iterations: 7,
737
737
  saltLength: 16
738
738
  };
739
- function Ht(t) {
740
- const n = nr();
741
- n.CRYPTO_PARAMS ? n.CRYPTO_PARAMS = { ...n.CRYPTO_PARAMS, ...t } : n.CRYPTO_PARAMS = { ...or, ...t };
739
+ function Kt(t) {
740
+ const n = or();
741
+ n.CRYPTO_PARAMS ? n.CRYPTO_PARAMS = { ...n.CRYPTO_PARAMS, ...t } : n.CRYPTO_PARAMS = { ...ar, ...t };
742
742
  }
743
- function et() {
744
- return nr().CRYPTO_PARAMS || or;
743
+ function tt() {
744
+ return or().CRYPTO_PARAMS || ar;
745
745
  }
746
- const tt = (t) => {
746
+ const rt = (t) => {
747
747
  let n = 0;
748
748
  for (let i = 0; i < t.length; i++) {
749
749
  const s = t.charCodeAt(i);
@@ -756,25 +756,25 @@ const tt = (t) => {
756
756
  o += s.toString(16).padStart(2, "0");
757
757
  }
758
758
  return o;
759
- }, ar = (t, n) => {
759
+ }, sr = (t, n) => {
760
760
  let o = t + n;
761
- for (let s = 0; s < et().iterations; s++)
762
- o = tt(o);
761
+ for (let s = 0; s < tt().iterations; s++)
762
+ o = rt(o);
763
763
  const i = new Uint8Array(32);
764
764
  for (let s = 0; s < 32; s++)
765
765
  i[s] = parseInt(o.substring(s * 2, s * 2 + 2), 16);
766
766
  return i;
767
- }, sr = (t, n) => {
767
+ }, ir = (t, n) => {
768
768
  const o = new Uint8Array(t.length), i = new Uint8Array(t.length);
769
769
  let s = 0;
770
770
  for (let c = 0; c < t.length; c++) {
771
- const v = c % n.length;
772
- s = n[v] + c + s & 255, i[c] = s;
771
+ const p = c % n.length;
772
+ s = n[p] + c + s & 255, i[c] = s;
773
773
  }
774
774
  for (let c = 0; c < t.length; c++)
775
775
  o[c] = t[c] ^ i[c];
776
776
  return o;
777
- }, yr = (t) => new TextEncoder().encode(t), _r = (t) => new TextDecoder().decode(t), Rr = (t) => {
777
+ }, _r = (t) => new TextEncoder().encode(t), Rr = (t) => new TextDecoder().decode(t), Sr = (t) => {
778
778
  let n = "";
779
779
  for (let o = 0; o < t.length; o += 8192) {
780
780
  const i = t.slice(o, Math.min(o + 8192, t.length));
@@ -786,22 +786,22 @@ const tt = (t) => {
786
786
  for (let i = 0; i < n.length; i++)
787
787
  o[i] = n.charCodeAt(i);
788
788
  return o;
789
- }, Sr = (t) => {
789
+ }, xr = (t) => {
790
790
  try {
791
- const n = tt(
791
+ const n = rt(
792
792
  Date.now().toString() + Math.random()
793
- ).substring(0, et().saltLength * 2), o = tt(t + n).substring(0, 8), i = ar(et().key, n), s = yr(t), c = sr(s, i), v = Rr(c);
794
- return `${n}.${v}.${o}`;
793
+ ).substring(0, tt().saltLength * 2), o = rt(t + n).substring(0, 8), i = sr(tt().key, n), s = _r(t), c = ir(s, i), p = Sr(c);
794
+ return `${n}.${p}.${o}`;
795
795
  } catch {
796
796
  throw new Error("Не удалось зашифровать данные");
797
797
  }
798
- }, xr = (t) => {
798
+ }, Ar = (t) => {
799
799
  try {
800
800
  const n = t.split(".");
801
801
  if (n.length !== 3)
802
802
  throw new Error("Неверный формат зашифрованных данных");
803
- const o = n[0], i = n[1], s = n[2], c = ar(et().key, o), v = Er(i), p = sr(v, c), f = _r(p);
804
- if (tt(f + o).substring(
803
+ const o = n[0], i = n[1], s = n[2], c = sr(tt().key, o), p = Er(i), v = ir(p, c), f = Rr(v);
804
+ if (rt(f + o).substring(
805
805
  0,
806
806
  8
807
807
  ) !== s)
@@ -814,11 +814,11 @@ const tt = (t) => {
814
814
  var ae;
815
815
  ((t) => {
816
816
  t.setKey = (n) => {
817
- Ht({ key: n });
817
+ Kt({ key: n });
818
818
  }, t.enCode = (n) => {
819
819
  try {
820
820
  const o = JSON.stringify(n);
821
- return Sr(o);
821
+ return xr(o);
822
822
  } catch {
823
823
  throw new Error("Не удалось зашифровать объект");
824
824
  }
@@ -826,13 +826,13 @@ var ae;
826
826
  try {
827
827
  if (!n || n.length < 10)
828
828
  return !1;
829
- const o = xr(n);
829
+ const o = Ar(n);
830
830
  return o && JSON.parse(o) || !1;
831
831
  } catch {
832
832
  return !1;
833
833
  }
834
834
  }, t.setSecurityParams = (n, o) => {
835
- Ht({ iterations: n, saltLength: o });
835
+ Kt({ iterations: n, saltLength: o });
836
836
  };
837
837
  })(ae || (ae = {}));
838
838
  var Ke = {};
@@ -845,19 +845,19 @@ var Ke = {};
845
845
  * This source code is licensed under the MIT license found in the
846
846
  * LICENSE file in the root directory of this source tree.
847
847
  */
848
- var Kt;
849
- function Ar() {
850
- if (Kt) return Ke;
851
- Kt = 1;
848
+ var Gt;
849
+ function jr() {
850
+ if (Gt) return Ke;
851
+ Gt = 1;
852
852
  var t = J, n = Symbol.for("react.element"), o = Symbol.for("react.fragment"), i = Object.prototype.hasOwnProperty, s = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, c = { key: !0, ref: !0, __self: !0, __source: !0 };
853
- function v(p, f, b) {
854
- var m, g = {}, y = null, P = null;
855
- b !== void 0 && (y = "" + b), f.key !== void 0 && (y = "" + f.key), f.ref !== void 0 && (P = f.ref);
856
- for (m in f) i.call(f, m) && !c.hasOwnProperty(m) && (g[m] = f[m]);
857
- if (p && p.defaultProps) for (m in f = p.defaultProps, f) g[m] === void 0 && (g[m] = f[m]);
858
- return { $$typeof: n, type: p, key: y, ref: P, props: g, _owner: s.current };
853
+ function p(v, f, b) {
854
+ var h, g = {}, _ = null, x = null;
855
+ b !== void 0 && (_ = "" + b), f.key !== void 0 && (_ = "" + f.key), f.ref !== void 0 && (x = f.ref);
856
+ for (h in f) i.call(f, h) && !c.hasOwnProperty(h) && (g[h] = f[h]);
857
+ if (v && v.defaultProps) for (h in f = v.defaultProps, f) g[h] === void 0 && (g[h] = f[h]);
858
+ return { $$typeof: n, type: v, key: _, ref: x, props: g, _owner: s.current };
859
859
  }
860
- return Ke.Fragment = o, Ke.jsx = v, Ke.jsxs = v, Ke;
860
+ return Ke.Fragment = o, Ke.jsx = p, Ke.jsxs = p, Ke;
861
861
  }
862
862
  var Xe = {};
863
863
  /**
@@ -869,57 +869,57 @@ var Xe = {};
869
869
  * This source code is licensed under the MIT license found in the
870
870
  * LICENSE file in the root directory of this source tree.
871
871
  */
872
- var Gt;
873
- function jr() {
874
- return Gt || (Gt = 1, process.env.NODE_ENV !== "production" && function() {
875
- var t = J, n = Symbol.for("react.element"), o = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), s = Symbol.for("react.strict_mode"), c = Symbol.for("react.profiler"), v = Symbol.for("react.provider"), p = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"), b = Symbol.for("react.suspense"), m = Symbol.for("react.suspense_list"), g = Symbol.for("react.memo"), y = Symbol.for("react.lazy"), P = Symbol.for("react.offscreen"), w = Symbol.iterator, nt = "@@iterator";
876
- function ot(e) {
872
+ var Xt;
873
+ function kr() {
874
+ return Xt || (Xt = 1, process.env.NODE_ENV !== "production" && function() {
875
+ var t = J, n = Symbol.for("react.element"), o = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), s = Symbol.for("react.strict_mode"), c = Symbol.for("react.profiler"), p = Symbol.for("react.provider"), v = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"), b = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), g = Symbol.for("react.memo"), _ = Symbol.for("react.lazy"), x = Symbol.for("react.offscreen"), P = Symbol.iterator, ot = "@@iterator";
876
+ function at(e) {
877
877
  if (e === null || typeof e != "object")
878
878
  return null;
879
- var r = w && e[w] || e[nt];
879
+ var r = P && e[P] || e[ot];
880
880
  return typeof r == "function" ? r : null;
881
881
  }
882
882
  var U = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
883
- function A(e) {
883
+ function j(e) {
884
884
  {
885
885
  for (var r = arguments.length, a = new Array(r > 1 ? r - 1 : 0), u = 1; u < r; u++)
886
886
  a[u - 1] = arguments[u];
887
- at("error", e, a);
887
+ st("error", e, a);
888
888
  }
889
889
  }
890
- function at(e, r, a) {
890
+ function st(e, r, a) {
891
891
  {
892
- var u = U.ReactDebugCurrentFrame, _ = u.getStackAddendum();
893
- _ !== "" && (r += "%s", a = a.concat([_]));
894
- var R = a.map(function(h) {
895
- return String(h);
892
+ var u = U.ReactDebugCurrentFrame, y = u.getStackAddendum();
893
+ y !== "" && (r += "%s", a = a.concat([y]));
894
+ var R = a.map(function(m) {
895
+ return String(m);
896
896
  });
897
897
  R.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, R);
898
898
  }
899
899
  }
900
- var st = !1, it = !1, ct = !1, lt = !1, ut = !1, Ee;
901
- Ee = Symbol.for("react.module.reference");
902
- function ft(e) {
903
- return !!(typeof e == "string" || typeof e == "function" || e === i || e === c || ut || e === s || e === b || e === m || lt || e === P || st || it || ct || typeof e == "object" && e !== null && (e.$$typeof === y || e.$$typeof === g || e.$$typeof === v || e.$$typeof === p || e.$$typeof === f || // This needs to include all possible module reference object
900
+ var it = !1, ct = !1, lt = !1, ut = !1, ft = !1, Se;
901
+ Se = Symbol.for("react.module.reference");
902
+ function dt(e) {
903
+ return !!(typeof e == "string" || typeof e == "function" || e === i || e === c || ft || e === s || e === b || e === h || ut || e === x || it || ct || lt || typeof e == "object" && e !== null && (e.$$typeof === _ || e.$$typeof === g || e.$$typeof === p || e.$$typeof === v || e.$$typeof === f || // This needs to include all possible module reference object
904
904
  // types supported by any Flight configuration anywhere since
905
905
  // we don't know which Flight build this will end up being used
906
906
  // with.
907
- e.$$typeof === Ee || e.getModuleId !== void 0));
907
+ e.$$typeof === Se || e.getModuleId !== void 0));
908
908
  }
909
- function dt(e, r, a) {
909
+ function pt(e, r, a) {
910
910
  var u = e.displayName;
911
911
  if (u)
912
912
  return u;
913
- var _ = r.displayName || r.name || "";
914
- return _ !== "" ? a + "(" + _ + ")" : a;
913
+ var y = r.displayName || r.name || "";
914
+ return y !== "" ? a + "(" + y + ")" : a;
915
915
  }
916
- function Se(e) {
916
+ function Ee(e) {
917
917
  return e.displayName || "Context";
918
918
  }
919
919
  function $(e) {
920
920
  if (e == null)
921
921
  return null;
922
- if (typeof e.tag == "number" && A("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
922
+ if (typeof e.tag == "number" && j("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
923
923
  return e.displayName || e.name || null;
924
924
  if (typeof e == "string")
925
925
  return e;
@@ -934,26 +934,26 @@ function jr() {
934
934
  return "StrictMode";
935
935
  case b:
936
936
  return "Suspense";
937
- case m:
937
+ case h:
938
938
  return "SuspenseList";
939
939
  }
940
940
  if (typeof e == "object")
941
941
  switch (e.$$typeof) {
942
- case p:
943
- var r = e;
944
- return Se(r) + ".Consumer";
945
942
  case v:
943
+ var r = e;
944
+ return Ee(r) + ".Consumer";
945
+ case p:
946
946
  var a = e;
947
- return Se(a._context) + ".Provider";
947
+ return Ee(a._context) + ".Provider";
948
948
  case f:
949
- return dt(e, e.render, "ForwardRef");
949
+ return pt(e, e.render, "ForwardRef");
950
950
  case g:
951
951
  var u = e.displayName || null;
952
952
  return u !== null ? u : $(e.type) || "Memo";
953
- case y: {
954
- var _ = e, R = _._payload, h = _._init;
953
+ case _: {
954
+ var y = e, R = y._payload, m = y._init;
955
955
  try {
956
- return $(h(R));
956
+ return $(m(R));
957
957
  } catch {
958
958
  return null;
959
959
  }
@@ -962,17 +962,17 @@ function jr() {
962
962
  return null;
963
963
  }
964
964
  var N = Object.assign, q = 0, xe, Ae, je, ke, Oe, Pe, we;
965
- function Te() {
965
+ function Ce() {
966
966
  }
967
- Te.__reactDisabledLog = !0;
968
- function pt() {
967
+ Ce.__reactDisabledLog = !0;
968
+ function vt() {
969
969
  {
970
970
  if (q === 0) {
971
971
  xe = console.log, Ae = console.info, je = console.warn, ke = console.error, Oe = console.group, Pe = console.groupCollapsed, we = console.groupEnd;
972
972
  var e = {
973
973
  configurable: !0,
974
974
  enumerable: !0,
975
- value: Te,
975
+ value: Ce,
976
976
  writable: !0
977
977
  };
978
978
  Object.defineProperties(console, {
@@ -988,7 +988,7 @@ function jr() {
988
988
  q++;
989
989
  }
990
990
  }
991
- function vt() {
991
+ function ht() {
992
992
  {
993
993
  if (q--, q === 0) {
994
994
  var e = {
@@ -1020,7 +1020,7 @@ function jr() {
1020
1020
  })
1021
1021
  });
1022
1022
  }
1023
- q < 0 && A("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
1023
+ q < 0 && j("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
1024
1024
  }
1025
1025
  }
1026
1026
  var se = U.ReactCurrentDispatcher, ie;
@@ -1029,8 +1029,8 @@ function jr() {
1029
1029
  if (ie === void 0)
1030
1030
  try {
1031
1031
  throw Error();
1032
- } catch (_) {
1033
- var u = _.stack.trim().match(/\n( *(at )?)/);
1032
+ } catch (y) {
1033
+ var u = y.stack.trim().match(/\n( *(at )?)/);
1034
1034
  ie = u && u[1] || "";
1035
1035
  }
1036
1036
  return `
@@ -1039,10 +1039,10 @@ function jr() {
1039
1039
  }
1040
1040
  var ce = !1, X;
1041
1041
  {
1042
- var ht = typeof WeakMap == "function" ? WeakMap : Map;
1043
- X = new ht();
1042
+ var mt = typeof WeakMap == "function" ? WeakMap : Map;
1043
+ X = new mt();
1044
1044
  }
1045
- function Ce(e, r) {
1045
+ function Te(e, r) {
1046
1046
  if (!e || ce)
1047
1047
  return "";
1048
1048
  {
@@ -1052,71 +1052,71 @@ function jr() {
1052
1052
  }
1053
1053
  var u;
1054
1054
  ce = !0;
1055
- var _ = Error.prepareStackTrace;
1055
+ var y = Error.prepareStackTrace;
1056
1056
  Error.prepareStackTrace = void 0;
1057
1057
  var R;
1058
- R = se.current, se.current = null, pt();
1058
+ R = se.current, se.current = null, vt();
1059
1059
  try {
1060
1060
  if (r) {
1061
- var h = function() {
1061
+ var m = function() {
1062
1062
  throw Error();
1063
1063
  };
1064
- if (Object.defineProperty(h.prototype, "props", {
1064
+ if (Object.defineProperty(m.prototype, "props", {
1065
1065
  set: function() {
1066
1066
  throw Error();
1067
1067
  }
1068
1068
  }), typeof Reflect == "object" && Reflect.construct) {
1069
1069
  try {
1070
- Reflect.construct(h, []);
1071
- } catch (k) {
1072
- u = k;
1070
+ Reflect.construct(m, []);
1071
+ } catch (O) {
1072
+ u = O;
1073
1073
  }
1074
- Reflect.construct(e, [], h);
1074
+ Reflect.construct(e, [], m);
1075
1075
  } else {
1076
1076
  try {
1077
- h.call();
1078
- } catch (k) {
1079
- u = k;
1077
+ m.call();
1078
+ } catch (O) {
1079
+ u = O;
1080
1080
  }
1081
- e.call(h.prototype);
1081
+ e.call(m.prototype);
1082
1082
  }
1083
1083
  } else {
1084
1084
  try {
1085
1085
  throw Error();
1086
- } catch (k) {
1087
- u = k;
1086
+ } catch (O) {
1087
+ u = O;
1088
1088
  }
1089
1089
  e();
1090
1090
  }
1091
- } catch (k) {
1092
- if (k && u && typeof k.stack == "string") {
1093
- for (var d = k.stack.split(`
1094
- `), j = u.stack.split(`
1095
- `), E = d.length - 1, S = j.length - 1; E >= 1 && S >= 0 && d[E] !== j[S]; )
1096
- S--;
1097
- for (; E >= 1 && S >= 0; E--, S--)
1098
- if (d[E] !== j[S]) {
1099
- if (E !== 1 || S !== 1)
1091
+ } catch (O) {
1092
+ if (O && u && typeof O.stack == "string") {
1093
+ for (var d = O.stack.split(`
1094
+ `), k = u.stack.split(`
1095
+ `), S = d.length - 1, E = k.length - 1; S >= 1 && E >= 0 && d[S] !== k[E]; )
1096
+ E--;
1097
+ for (; S >= 1 && E >= 0; S--, E--)
1098
+ if (d[S] !== k[E]) {
1099
+ if (S !== 1 || E !== 1)
1100
1100
  do
1101
- if (E--, S--, S < 0 || d[E] !== j[S]) {
1102
- var O = `
1103
- ` + d[E].replace(" at new ", " at ");
1104
- return e.displayName && O.includes("<anonymous>") && (O = O.replace("<anonymous>", e.displayName)), typeof e == "function" && X.set(e, O), O;
1101
+ if (S--, E--, E < 0 || d[S] !== k[E]) {
1102
+ var w = `
1103
+ ` + d[S].replace(" at new ", " at ");
1104
+ return e.displayName && w.includes("<anonymous>") && (w = w.replace("<anonymous>", e.displayName)), typeof e == "function" && X.set(e, w), w;
1105
1105
  }
1106
- while (E >= 1 && S >= 0);
1106
+ while (S >= 1 && E >= 0);
1107
1107
  break;
1108
1108
  }
1109
1109
  }
1110
1110
  } finally {
1111
- ce = !1, se.current = R, vt(), Error.prepareStackTrace = _;
1111
+ ce = !1, se.current = R, ht(), Error.prepareStackTrace = y;
1112
1112
  }
1113
1113
  var W = e ? e.displayName || e.name : "", I = W ? G(W) : "";
1114
1114
  return typeof e == "function" && X.set(e, I), I;
1115
1115
  }
1116
- function mt(e, r, a) {
1117
- return Ce(e, !1);
1116
+ function gt(e, r, a) {
1117
+ return Te(e, !1);
1118
1118
  }
1119
- function gt(e) {
1119
+ function bt(e) {
1120
1120
  var r = e.prototype;
1121
1121
  return !!(r && r.isReactComponent);
1122
1122
  }
@@ -1124,25 +1124,25 @@ function jr() {
1124
1124
  if (e == null)
1125
1125
  return "";
1126
1126
  if (typeof e == "function")
1127
- return Ce(e, gt(e));
1127
+ return Te(e, bt(e));
1128
1128
  if (typeof e == "string")
1129
1129
  return G(e);
1130
1130
  switch (e) {
1131
1131
  case b:
1132
1132
  return G("Suspense");
1133
- case m:
1133
+ case h:
1134
1134
  return G("SuspenseList");
1135
1135
  }
1136
1136
  if (typeof e == "object")
1137
1137
  switch (e.$$typeof) {
1138
1138
  case f:
1139
- return mt(e.render);
1139
+ return gt(e.render);
1140
1140
  case g:
1141
1141
  return Z(e.type, r, a);
1142
- case y: {
1143
- var u = e, _ = u._payload, R = u._init;
1142
+ case _: {
1143
+ var u = e, y = u._payload, R = u._init;
1144
1144
  try {
1145
- return Z(R(_), r, a);
1145
+ return Z(R(y), r, a);
1146
1146
  } catch {
1147
1147
  }
1148
1148
  }
@@ -1157,36 +1157,36 @@ function jr() {
1157
1157
  } else
1158
1158
  Ne.setExtraStackFrame(null);
1159
1159
  }
1160
- function bt(e, r, a, u, _) {
1160
+ function yt(e, r, a, u, y) {
1161
1161
  {
1162
1162
  var R = Function.call.bind(z);
1163
- for (var h in e)
1164
- if (R(e, h)) {
1163
+ for (var m in e)
1164
+ if (R(e, m)) {
1165
1165
  var d = void 0;
1166
1166
  try {
1167
- if (typeof e[h] != "function") {
1168
- var j = Error((u || "React class") + ": " + a + " type `" + h + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[h] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
1169
- throw j.name = "Invariant Violation", j;
1167
+ if (typeof e[m] != "function") {
1168
+ var k = Error((u || "React class") + ": " + a + " type `" + m + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[m] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
1169
+ throw k.name = "Invariant Violation", k;
1170
1170
  }
1171
- d = e[h](r, h, u, a, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
1172
- } catch (E) {
1173
- d = E;
1171
+ d = e[m](r, m, u, a, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
1172
+ } catch (S) {
1173
+ d = S;
1174
1174
  }
1175
- d && !(d instanceof Error) && (Q(_), A("%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).", u || "React class", a, h, typeof d), Q(null)), d instanceof Error && !(d.message in $e) && ($e[d.message] = !0, Q(_), A("Failed %s type: %s", a, d.message), Q(null));
1175
+ d && !(d instanceof Error) && (Q(y), j("%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).", u || "React class", a, m, typeof d), Q(null)), d instanceof Error && !(d.message in $e) && ($e[d.message] = !0, Q(y), j("Failed %s type: %s", a, d.message), Q(null));
1176
1176
  }
1177
1177
  }
1178
1178
  }
1179
- var yt = Array.isArray;
1179
+ var _t = Array.isArray;
1180
1180
  function le(e) {
1181
- return yt(e);
1181
+ return _t(e);
1182
1182
  }
1183
- function _t(e) {
1183
+ function Rt(e) {
1184
1184
  {
1185
1185
  var r = typeof Symbol == "function" && Symbol.toStringTag, a = r && e[Symbol.toStringTag] || e.constructor.name || "Object";
1186
1186
  return a;
1187
1187
  }
1188
1188
  }
1189
- function Rt(e) {
1189
+ function St(e) {
1190
1190
  try {
1191
1191
  return Ie(e), !1;
1192
1192
  } catch {
@@ -1197,8 +1197,8 @@ function jr() {
1197
1197
  return "" + e;
1198
1198
  }
1199
1199
  function Me(e) {
1200
- if (Rt(e))
1201
- return A("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", _t(e)), Ie(e);
1200
+ if (St(e))
1201
+ return j("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Rt(e)), Ie(e);
1202
1202
  }
1203
1203
  var Be = U.ReactCurrentOwner, Et = {
1204
1204
  key: !0,
@@ -1206,7 +1206,7 @@ function jr() {
1206
1206
  __self: !0,
1207
1207
  __source: !0
1208
1208
  }, Le, De;
1209
- function St(e) {
1209
+ function xt(e) {
1210
1210
  if (z.call(e, "ref")) {
1211
1211
  var r = Object.getOwnPropertyDescriptor(e, "ref").get;
1212
1212
  if (r && r.isReactWarning)
@@ -1214,7 +1214,7 @@ function jr() {
1214
1214
  }
1215
1215
  return e.ref !== void 0;
1216
1216
  }
1217
- function xt(e) {
1217
+ function At(e) {
1218
1218
  if (z.call(e, "key")) {
1219
1219
  var r = Object.getOwnPropertyDescriptor(e, "key").get;
1220
1220
  if (r && r.isReactWarning)
@@ -1222,13 +1222,13 @@ function jr() {
1222
1222
  }
1223
1223
  return e.key !== void 0;
1224
1224
  }
1225
- function At(e, r) {
1225
+ function jt(e, r) {
1226
1226
  typeof e.ref == "string" && Be.current;
1227
1227
  }
1228
- function jt(e, r) {
1228
+ function kt(e, r) {
1229
1229
  {
1230
1230
  var a = function() {
1231
- Le || (Le = !0, A("%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));
1231
+ Le || (Le = !0, j("%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));
1232
1232
  };
1233
1233
  a.isReactWarning = !0, Object.defineProperty(e, "key", {
1234
1234
  get: a,
@@ -1236,10 +1236,10 @@ function jr() {
1236
1236
  });
1237
1237
  }
1238
1238
  }
1239
- function kt(e, r) {
1239
+ function Ot(e, r) {
1240
1240
  {
1241
1241
  var a = function() {
1242
- De || (De = !0, A("%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));
1242
+ De || (De = !0, j("%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));
1243
1243
  };
1244
1244
  a.isReactWarning = !0, Object.defineProperty(e, "ref", {
1245
1245
  get: a,
@@ -1247,7 +1247,7 @@ function jr() {
1247
1247
  });
1248
1248
  }
1249
1249
  }
1250
- var Ot = function(e, r, a, u, _, R, h) {
1250
+ var Pt = function(e, r, a, u, y, R, m) {
1251
1251
  var d = {
1252
1252
  // This tag allows us to uniquely identify this as a React Element
1253
1253
  $$typeof: n,
@@ -1255,7 +1255,7 @@ function jr() {
1255
1255
  type: e,
1256
1256
  key: r,
1257
1257
  ref: a,
1258
- props: h,
1258
+ props: m,
1259
1259
  // Record the component responsible for creating this element.
1260
1260
  _owner: R
1261
1261
  };
@@ -1273,25 +1273,25 @@ function jr() {
1273
1273
  configurable: !1,
1274
1274
  enumerable: !1,
1275
1275
  writable: !1,
1276
- value: _
1276
+ value: y
1277
1277
  }), Object.freeze && (Object.freeze(d.props), Object.freeze(d)), d;
1278
1278
  };
1279
- function Pt(e, r, a, u, _) {
1279
+ function wt(e, r, a, u, y) {
1280
1280
  {
1281
- var R, h = {}, d = null, j = null;
1282
- a !== void 0 && (Me(a), d = "" + a), xt(r) && (Me(r.key), d = "" + r.key), St(r) && (j = r.ref, At(r));
1281
+ var R, m = {}, d = null, k = null;
1282
+ a !== void 0 && (Me(a), d = "" + a), At(r) && (Me(r.key), d = "" + r.key), xt(r) && (k = r.ref, jt(r));
1283
1283
  for (R in r)
1284
- z.call(r, R) && !Et.hasOwnProperty(R) && (h[R] = r[R]);
1284
+ z.call(r, R) && !Et.hasOwnProperty(R) && (m[R] = r[R]);
1285
1285
  if (e && e.defaultProps) {
1286
- var E = e.defaultProps;
1287
- for (R in E)
1288
- h[R] === void 0 && (h[R] = E[R]);
1286
+ var S = e.defaultProps;
1287
+ for (R in S)
1288
+ m[R] === void 0 && (m[R] = S[R]);
1289
1289
  }
1290
- if (d || j) {
1291
- var S = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
1292
- d && jt(h, S), j && kt(h, S);
1290
+ if (d || k) {
1291
+ var E = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
1292
+ d && kt(m, E), k && Ot(m, E);
1293
1293
  }
1294
- return Ot(e, d, j, _, u, Be.current, h);
1294
+ return Pt(e, d, k, y, u, Be.current, m);
1295
1295
  }
1296
1296
  }
1297
1297
  var ue = U.ReactCurrentOwner, Ue = U.ReactDebugCurrentFrame;
@@ -1319,7 +1319,7 @@ Check the render method of \`` + e + "`.";
1319
1319
  return "";
1320
1320
  }
1321
1321
  }
1322
- function wt(e) {
1322
+ function Ct(e) {
1323
1323
  return "";
1324
1324
  }
1325
1325
  var We = {};
@@ -1345,7 +1345,7 @@ Check the top-level render call using <` + a + ">.");
1345
1345
  return;
1346
1346
  We[a] = !0;
1347
1347
  var u = "";
1348
- e && e._owner && e._owner !== ue.current && (u = " It was passed a child from " + $(e._owner.type) + "."), F(e), A('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', a, u), F(null);
1348
+ e && e._owner && e._owner !== ue.current && (u = " It was passed a child from " + $(e._owner.type) + "."), F(e), j('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', a, u), F(null);
1349
1349
  }
1350
1350
  }
1351
1351
  function qe(e, r) {
@@ -1360,14 +1360,14 @@ Check the top-level render call using <` + a + ">.");
1360
1360
  else if (de(e))
1361
1361
  e._store && (e._store.validated = !0);
1362
1362
  else if (e) {
1363
- var _ = ot(e);
1364
- if (typeof _ == "function" && _ !== e.entries)
1365
- for (var R = _.call(e), h; !(h = R.next()).done; )
1366
- de(h.value) && Ye(h.value, r);
1363
+ var y = at(e);
1364
+ if (typeof y == "function" && y !== e.entries)
1365
+ for (var R = y.call(e), m; !(m = R.next()).done; )
1366
+ de(m.value) && Ye(m.value, r);
1367
1367
  }
1368
1368
  }
1369
1369
  }
1370
- function Ct(e) {
1370
+ function $t(e) {
1371
1371
  {
1372
1372
  var r = e.type;
1373
1373
  if (r == null || typeof r == "string")
@@ -1383,88 +1383,88 @@ Check the top-level render call using <` + a + ">.");
1383
1383
  return;
1384
1384
  if (a) {
1385
1385
  var u = $(r);
1386
- bt(a, e.props, "prop", u, e);
1386
+ yt(a, e.props, "prop", u, e);
1387
1387
  } else if (r.PropTypes !== void 0 && !fe) {
1388
1388
  fe = !0;
1389
- var _ = $(r);
1390
- A("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", _ || "Unknown");
1389
+ var y = $(r);
1390
+ j("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", y || "Unknown");
1391
1391
  }
1392
- typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && A("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
1392
+ typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && j("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
1393
1393
  }
1394
1394
  }
1395
- function $t(e) {
1395
+ function Nt(e) {
1396
1396
  {
1397
1397
  for (var r = Object.keys(e.props), a = 0; a < r.length; a++) {
1398
1398
  var u = r[a];
1399
1399
  if (u !== "children" && u !== "key") {
1400
- F(e), A("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", u), F(null);
1400
+ F(e), j("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", u), F(null);
1401
1401
  break;
1402
1402
  }
1403
1403
  }
1404
- e.ref !== null && (F(e), A("Invalid attribute `ref` supplied to `React.Fragment`."), F(null));
1404
+ e.ref !== null && (F(e), j("Invalid attribute `ref` supplied to `React.Fragment`."), F(null));
1405
1405
  }
1406
1406
  }
1407
1407
  var ze = {};
1408
- function Ve(e, r, a, u, _, R) {
1408
+ function Ve(e, r, a, u, y, R) {
1409
1409
  {
1410
- var h = ft(e);
1411
- if (!h) {
1410
+ var m = dt(e);
1411
+ if (!m) {
1412
1412
  var d = "";
1413
1413
  (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (d += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
1414
- var j = wt();
1415
- j ? d += j : d += Fe();
1416
- var E;
1417
- e === null ? E = "null" : le(e) ? E = "array" : e !== void 0 && e.$$typeof === n ? (E = "<" + ($(e.type) || "Unknown") + " />", d = " Did you accidentally export a JSX literal instead of a component?") : E = typeof e, A("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", E, d);
1414
+ var k = Ct();
1415
+ k ? d += k : d += Fe();
1416
+ var S;
1417
+ e === null ? S = "null" : le(e) ? S = "array" : e !== void 0 && e.$$typeof === n ? (S = "<" + ($(e.type) || "Unknown") + " />", d = " Did you accidentally export a JSX literal instead of a component?") : S = typeof e, j("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", S, d);
1418
1418
  }
1419
- var S = Pt(e, r, a, _, R);
1420
- if (S == null)
1421
- return S;
1422
- if (h) {
1423
- var O = r.children;
1424
- if (O !== void 0)
1419
+ var E = wt(e, r, a, y, R);
1420
+ if (E == null)
1421
+ return E;
1422
+ if (m) {
1423
+ var w = r.children;
1424
+ if (w !== void 0)
1425
1425
  if (u)
1426
- if (le(O)) {
1427
- for (var W = 0; W < O.length; W++)
1428
- qe(O[W], e);
1429
- Object.freeze && Object.freeze(O);
1426
+ if (le(w)) {
1427
+ for (var W = 0; W < w.length; W++)
1428
+ qe(w[W], e);
1429
+ Object.freeze && Object.freeze(w);
1430
1430
  } else
1431
- A("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
1431
+ j("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
1432
1432
  else
1433
- qe(O, e);
1433
+ qe(w, e);
1434
1434
  }
1435
1435
  if (z.call(r, "key")) {
1436
- var I = $(e), k = Object.keys(r).filter(function(Dt) {
1437
- return Dt !== "key";
1438
- }), pe = k.length > 0 ? "{key: someKey, " + k.join(": ..., ") + ": ...}" : "{key: someKey}";
1436
+ var I = $(e), O = Object.keys(r).filter(function(Ut) {
1437
+ return Ut !== "key";
1438
+ }), pe = O.length > 0 ? "{key: someKey, " + O.join(": ..., ") + ": ...}" : "{key: someKey}";
1439
1439
  if (!ze[I + pe]) {
1440
- var Lt = k.length > 0 ? "{" + k.join(": ..., ") + ": ...}" : "{}";
1441
- A(`A props object containing a "key" prop is being spread into JSX:
1440
+ var Dt = O.length > 0 ? "{" + O.join(": ..., ") + ": ...}" : "{}";
1441
+ j(`A props object containing a "key" prop is being spread into JSX:
1442
1442
  let props = %s;
1443
1443
  <%s {...props} />
1444
1444
  React keys must be passed directly to JSX without using spread:
1445
1445
  let props = %s;
1446
- <%s key={someKey} {...props} />`, pe, I, Lt, I), ze[I + pe] = !0;
1446
+ <%s key={someKey} {...props} />`, pe, I, Dt, I), ze[I + pe] = !0;
1447
1447
  }
1448
1448
  }
1449
- return e === i ? $t(S) : Ct(S), S;
1449
+ return e === i ? Nt(E) : $t(E), E;
1450
1450
  }
1451
1451
  }
1452
- function Nt(e, r, a) {
1452
+ function It(e, r, a) {
1453
1453
  return Ve(e, r, a, !0);
1454
1454
  }
1455
- function It(e, r, a) {
1455
+ function Mt(e, r, a) {
1456
1456
  return Ve(e, r, a, !1);
1457
1457
  }
1458
- var Mt = It, Bt = Nt;
1459
- Xe.Fragment = i, Xe.jsx = Mt, Xe.jsxs = Bt;
1458
+ var Bt = Mt, Lt = It;
1459
+ Xe.Fragment = i, Xe.jsx = Bt, Xe.jsxs = Lt;
1460
1460
  }()), Xe;
1461
1461
  }
1462
- process.env.NODE_ENV === "production" ? Ar() : jr();
1463
- const kr = "0.0.46", ir = {
1464
- version: kr
1462
+ process.env.NODE_ENV === "production" ? jr() : kr();
1463
+ const Or = "0.0.46", cr = {
1464
+ version: Or
1465
1465
  }, te = {}, L = {
1466
1466
  module: "",
1467
- v: ir.version,
1467
+ v: cr.version,
1468
1468
  page: "Main",
1469
1469
  auth: "Auth",
1470
1470
  STORAGE: "f",
@@ -1486,13 +1486,13 @@ function H() {
1486
1486
  return typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof self < "u" ? self : typeof global < "u" ? global : {};
1487
1487
  }
1488
1488
  H().elcrm || (H().elcrm = {});
1489
- Object.assign(H().elcrm, { router: ir.version });
1489
+ Object.assign(H().elcrm, { router: cr.version });
1490
1490
  function K(t) {
1491
1491
  var n, o, i, s;
1492
1492
  const c = H();
1493
1493
  if (c.ROUTER_PARAMS) {
1494
1494
  t.debug || c.ROUTER_PARAMS.debug;
1495
- const v = {
1495
+ const p = {
1496
1496
  page: (n = c.ROUTER_PARAMS) == null ? void 0 : n.page,
1497
1497
  module: (o = c.ROUTER_PARAMS) == null ? void 0 : o.module,
1498
1498
  tab: (i = c.ROUTER_PARAMS) == null ? void 0 : i.tab,
@@ -1501,20 +1501,20 @@ function K(t) {
1501
1501
  c.ROUTER_PARAMS = {
1502
1502
  ...c.ROUTER_PARAMS,
1503
1503
  ...t,
1504
- prev: v
1504
+ prev: p
1505
1505
  };
1506
1506
  } else {
1507
1507
  t.debug || L.debug;
1508
- const v = {
1508
+ const p = {
1509
1509
  page: L == null ? void 0 : L.page,
1510
1510
  module: L == null ? void 0 : L.module,
1511
1511
  tab: L == null ? void 0 : L.tab,
1512
1512
  id: L == null ? void 0 : L.id
1513
1513
  };
1514
- c.ROUTER_PARAMS = { ...L, ...t, prev: v };
1514
+ c.ROUTER_PARAMS = { ...L, ...t, prev: p };
1515
1515
  }
1516
1516
  }
1517
- function x() {
1517
+ function A() {
1518
1518
  return H().ROUTER_PARAMS || L;
1519
1519
  }
1520
1520
  function ge(t) {
@@ -1532,11 +1532,11 @@ function V() {
1532
1532
  return o || (o = {}, n.ROUTER_PARAMS ? n.ROUTER_PARAMS.LISTENER = o : L.LISTENER = o), new Proxy(o, {
1533
1533
  get(i, s) {
1534
1534
  const c = i[s];
1535
- return Array.isArray(c) && c.length > 0 ? (...v) => {
1536
- c.forEach((p) => {
1537
- if (typeof p == "function")
1535
+ return Array.isArray(c) && c.length > 0 ? (...p) => {
1536
+ c.forEach((v) => {
1537
+ if (typeof v == "function")
1538
1538
  try {
1539
- p(...v);
1539
+ v(...p);
1540
1540
  } catch {
1541
1541
  }
1542
1542
  });
@@ -1546,14 +1546,14 @@ function V() {
1546
1546
  }
1547
1547
  });
1548
1548
  }
1549
- function Xt(t, n) {
1549
+ function Zt(t, n) {
1550
1550
  const o = t.replace(/^\.\//, "").replace(/\.(tsx|ts|jsx|js)$/, "");
1551
1551
  for (const [i, s] of Object.entries(n))
1552
1552
  if (i.replace(/^\.\//, "").replace(/\.(tsx|ts|jsx|js)$/, "") === o)
1553
1553
  return s;
1554
1554
  return null;
1555
1555
  }
1556
- function Yt(t) {
1556
+ function qt(t) {
1557
1557
  const {
1558
1558
  basePath: n = ".",
1559
1559
  devExtensions: o = [".tsx", ".ts", ".jsx", ".js"],
@@ -1567,26 +1567,26 @@ function Yt(t) {
1567
1567
  `./${c.replace(/^\.\//, "").replace(/\/+/g, "/")}.js`
1568
1568
  );
1569
1569
  {
1570
- const v = n.replace(/^\.\//, "").replace(/\/+$/, ""), p = c.replace(/^\.\//, "").replace(/\/+/g, "/");
1570
+ const p = n.replace(/^\.\//, "").replace(/\/+$/, ""), v = c.replace(/^\.\//, "").replace(/\/+/g, "/");
1571
1571
  return import(
1572
1572
  /* @vite-ignore */
1573
- `./${v}/${p}.js`
1573
+ `./${p}/${v}.js`
1574
1574
  );
1575
1575
  }
1576
1576
  };
1577
1577
  }
1578
- function Or(t) {
1578
+ function Pr(t) {
1579
1579
  const { basePath: n = ".", modules: o, pages: i } = t || {};
1580
1580
  return (s) => {
1581
1581
  if (o) {
1582
- const v = Xt(s, o);
1583
- if (v)
1584
- return v();
1582
+ const p = Zt(s, o);
1583
+ if (p)
1584
+ return p();
1585
1585
  }
1586
1586
  if (i) {
1587
- const v = Xt(s, i);
1588
- if (v)
1589
- return v();
1587
+ const p = Zt(s, i);
1588
+ if (p)
1589
+ return p();
1590
1590
  }
1591
1591
  const c = s.replace(/\.(tsx|ts|jsx|js)$/, "");
1592
1592
  if (n === ".")
@@ -1595,22 +1595,22 @@ function Or(t) {
1595
1595
  `./${c.replace(/^\.\//, "").replace(/\/+/g, "/")}.js`
1596
1596
  );
1597
1597
  {
1598
- const v = n.replace(/^\.\//, "").replace(/\/+$/, ""), p = c.replace(/^\.\//, "").replace(/\/+/g, "/");
1598
+ const p = n.replace(/^\.\//, "").replace(/\/+$/, ""), v = c.replace(/^\.\//, "").replace(/\/+/g, "/");
1599
1599
  return import(
1600
1600
  /* @vite-ignore */
1601
- `./${v}/${p}.js`
1601
+ `./${p}/${v}.js`
1602
1602
  );
1603
1603
  }
1604
1604
  };
1605
1605
  }
1606
- function Zt(t = ".", n, o) {
1607
- return n || o ? Or({
1606
+ function Qt(t = ".", n, o) {
1607
+ return n || o ? Pr({
1608
1608
  basePath: t,
1609
1609
  modules: n,
1610
1610
  pages: o
1611
- }) : Yt({ basePath: t });
1611
+ }) : qt({ basePath: t });
1612
1612
  }
1613
- function Pr() {
1613
+ function wr() {
1614
1614
  var t;
1615
1615
  let n = sessionStorage.getItem("f");
1616
1616
  if (n) {
@@ -1628,37 +1628,37 @@ function Pr() {
1628
1628
  K({
1629
1629
  id: 0,
1630
1630
  tab: "",
1631
- page: (t = localStorage.getItem("d")) != null && t.length ? x().page : x().auth,
1632
- module: x().module
1631
+ page: (t = localStorage.getItem("d")) != null && t.length ? A().page : A().auth,
1632
+ module: A().module
1633
1633
  });
1634
1634
  return !0;
1635
1635
  }
1636
- function cr() {
1637
- return x().page;
1638
- }
1639
1636
  function lr() {
1640
- return x().module || "";
1641
- }
1642
- function zt() {
1643
- return x().tab;
1637
+ return A().page;
1644
1638
  }
1645
1639
  function ur() {
1646
- return x().id;
1640
+ return A().module || "";
1647
1641
  }
1648
- function wr(t) {
1642
+ function Vt() {
1643
+ return A().tab;
1644
+ }
1645
+ function fr() {
1646
+ return A().id;
1647
+ }
1648
+ function Cr(t) {
1649
1649
  let n = (s) => (K({ page: s }), s);
1650
- const [o, i] = C(
1651
- cr() || t && n(t) || x().page
1650
+ const [o, i] = T(
1651
+ lr() || t && n(t) || A().page
1652
1652
  );
1653
1653
  return D(() => {
1654
1654
  const s = (c) => {
1655
1655
  i(c);
1656
1656
  };
1657
1657
  return ge({ page: s }), () => {
1658
- var c, v;
1659
- const p = H();
1660
- if ((v = (c = p.ROUTER_PARAMS) == null ? void 0 : c.LISTENER) != null && v.page) {
1661
- const f = p.ROUTER_PARAMS.LISTENER.page;
1658
+ var c, p;
1659
+ const v = H();
1660
+ if ((p = (c = v.ROUTER_PARAMS) == null ? void 0 : c.LISTENER) != null && p.page) {
1661
+ const f = v.ROUTER_PARAMS.LISTENER.page;
1662
1662
  if (Array.isArray(f)) {
1663
1663
  const b = f.indexOf(s);
1664
1664
  b > -1 && f.splice(b, 1);
@@ -1669,57 +1669,57 @@ function wr(t) {
1669
1669
  }
1670
1670
  function Tr(t, n = !0, o = {}) {
1671
1671
  K({ page: t, ...o }), sessionStorage.setItem(
1672
- x().STORAGE,
1673
- ae.enCode(x())
1672
+ A().STORAGE,
1673
+ ae.enCode(A())
1674
1674
  ), n && V().page(t);
1675
1675
  }
1676
- function Cr(t) {
1677
- return x().page === t;
1676
+ function $r(t) {
1677
+ return A().page === t;
1678
1678
  }
1679
- function $r() {
1680
- return x().prev;
1679
+ function Nr() {
1680
+ return A().prev;
1681
1681
  }
1682
- function Nr(t, n) {
1683
- const [o, i] = C(
1684
- lr() || t || x().module
1682
+ function Ir(t, n) {
1683
+ const [o, i] = T(
1684
+ ur() || t || A().module
1685
1685
  );
1686
1686
  return D(() => (ge({ module: i }), () => {
1687
1687
  const s = V();
1688
1688
  s.module === i && delete s.module;
1689
1689
  }), []), o;
1690
1690
  }
1691
- function Ir(t, n = !0) {
1691
+ function Mr(t, n = !0) {
1692
1692
  K({ module: t }), sessionStorage.setItem(
1693
- x().STORAGE,
1694
- ae.enCode(x())
1693
+ A().STORAGE,
1694
+ ae.enCode(A())
1695
1695
  ), n && V().module(t);
1696
1696
  }
1697
- function Mr(t) {
1698
- return x().module === t;
1697
+ function Br(t) {
1698
+ return A().module === t;
1699
1699
  }
1700
- function Br(t, n) {
1700
+ function Lr(t, n) {
1701
1701
  if (typeof t != "function") {
1702
- const [o, i] = C(!n), [s, c] = C(t || zt());
1702
+ const [o, i] = T(!n), [s, c] = T(t || Vt());
1703
1703
  return ge({ tabs: c }), n && D(() => {
1704
1704
  i(!0);
1705
1705
  }, []), [s, o];
1706
1706
  } else
1707
1707
  ge({ tabs: t });
1708
1708
  }
1709
- function Lr(t) {
1709
+ function Dr(t) {
1710
1710
  let n = (s) => (K({ tab: s }), s);
1711
- const [o, i] = C(
1712
- zt() || t && n(t) || x().tab
1711
+ const [o, i] = T(
1712
+ Vt() || t && n(t) || A().tab
1713
1713
  );
1714
1714
  return D(() => {
1715
1715
  const s = (c) => {
1716
1716
  i(c);
1717
1717
  };
1718
1718
  return ge({ tabs: s }), () => {
1719
- var c, v;
1720
- const p = H();
1721
- if ((v = (c = p.ROUTER_PARAMS) == null ? void 0 : c.LISTENER) != null && v.tabs) {
1722
- const f = p.ROUTER_PARAMS.LISTENER.tabs;
1719
+ var c, p;
1720
+ const v = H();
1721
+ if ((p = (c = v.ROUTER_PARAMS) == null ? void 0 : c.LISTENER) != null && p.tabs) {
1722
+ const f = v.ROUTER_PARAMS.LISTENER.tabs;
1723
1723
  if (Array.isArray(f)) {
1724
1724
  const b = f.indexOf(s);
1725
1725
  b > -1 && f.splice(b, 1);
@@ -1728,18 +1728,18 @@ function Lr(t) {
1728
1728
  };
1729
1729
  }, []), o;
1730
1730
  }
1731
- async function Dr(t, n = !0) {
1731
+ async function Ur(t, n = !0) {
1732
1732
  K({ tab: t }), sessionStorage.setItem(
1733
- x().STORAGE,
1734
- ae.enCode(x())
1733
+ A().STORAGE,
1734
+ ae.enCode(A())
1735
1735
  ), n && (V().tabs && V().tabs(t));
1736
1736
  }
1737
- function Ur(t) {
1738
- return x().tab === t;
1739
- }
1740
1737
  function Fr(t) {
1738
+ return A().tab === t;
1739
+ }
1740
+ function Wr(t) {
1741
1741
  if (typeof t != "function") {
1742
- const [n, o] = C(t || ur());
1742
+ const [n, o] = T(t || fr());
1743
1743
  return D(() => {
1744
1744
  const i = (s) => {
1745
1745
  o(s);
@@ -1762,113 +1762,113 @@ function Fr(t) {
1762
1762
  }
1763
1763
  }), [t]);
1764
1764
  }
1765
- function Wr(t) {
1765
+ function Yr(t) {
1766
1766
  }
1767
- async function Yr(t, n = !0) {
1767
+ async function qr(t, n = !0) {
1768
1768
  K({ id: t }), sessionStorage.setItem(
1769
- x().STORAGE,
1770
- ae.enCode(x())
1769
+ A().STORAGE,
1770
+ ae.enCode(A())
1771
1771
  ), n && V().id(t);
1772
1772
  }
1773
- function qr(t) {
1774
- return Number(x().id) === t;
1773
+ function zr(t) {
1774
+ return Number(A().id) === t;
1775
1775
  }
1776
- async function zr(t) {
1777
- var n, o, i, s, c, v, p, f;
1778
- const { page: b, module: m, tab: g, id: y } = t;
1779
- b !== void 0 && (te.page = b), m !== void 0 && (te.module = m), g !== void 0 && (te.tab = g), y !== void 0 && (te.id = y), K({ ...te }), y !== void 0 && ((o = (n = V()).id) == null || o.call(n, y)), g !== void 0 && ((s = (i = V()).tabs) == null || s.call(i, g)), m !== void 0 && ((v = (c = V()).module) == null || v.call(c, m)), b !== void 0 && ((f = (p = V()).page) == null || f.call(p, b)), sessionStorage.setItem(
1780
- x().STORAGE,
1781
- ae.enCode(x())
1776
+ async function Vr(t) {
1777
+ var n, o, i, s, c, p, v, f;
1778
+ const { page: b, module: h, tab: g, id: _ } = t;
1779
+ b !== void 0 && (te.page = b), h !== void 0 && (te.module = h), g !== void 0 && (te.tab = g), _ !== void 0 && (te.id = _), K({ ...te }), _ !== void 0 && ((o = (n = V()).id) == null || o.call(n, _)), g !== void 0 && ((s = (i = V()).tabs) == null || s.call(i, g)), h !== void 0 && ((p = (c = V()).module) == null || p.call(c, h)), b !== void 0 && ((f = (v = V()).page) == null || f.call(v, b)), sessionStorage.setItem(
1780
+ A().STORAGE,
1781
+ ae.enCode(A())
1782
1782
  );
1783
1783
  }
1784
1784
  const Re = {
1785
1785
  Reset() {
1786
- te.id = 0, te.tab = "", te.page = x().page, te.module = x().module;
1786
+ te.id = 0, te.tab = "", te.page = A().page, te.module = A().module;
1787
1787
  },
1788
1788
  Default({
1789
- module: t = x().module,
1790
- page: n = x().page,
1791
- auth: o = x().auth,
1792
- debug: i = x().debug,
1793
- dir: s = x().dir || ".",
1789
+ module: t = A().module,
1790
+ page: n = A().page,
1791
+ auth: o = A().auth,
1792
+ debug: i = A().debug,
1793
+ dir: s = A().dir || ".",
1794
1794
  importModules: c,
1795
- modules: v,
1796
- pages: p,
1795
+ modules: p,
1796
+ pages: v,
1797
1797
  glob: f
1798
1798
  // Поддержка единого glob объекта для упрощения
1799
1799
  }) {
1800
- let b = c, m = v, g = p;
1801
- f ? (m = typeof v == "object" ? v : f, g = typeof p == "object" ? p : f) : (m = m || f, g = g || f), !b && (m || g) ? !f && (typeof m == "string" || typeof g == "string") ? b = Yt({ basePath: s }) : b = Zt(
1800
+ let b = c, h = p, g = v;
1801
+ f ? (h = typeof p == "object" ? p : f, g = typeof v == "object" ? v : f) : (h = h || f, g = g || f), !b && (h || g) ? !f && (typeof h == "string" || typeof g == "string") ? b = qt({ basePath: s }) : b = Qt(
1802
1802
  s,
1803
- m,
1803
+ h,
1804
1804
  g
1805
- ) : b || (b = Yt({ basePath: s })), K({
1805
+ ) : b || (b = qt({ basePath: s })), K({
1806
1806
  page: n,
1807
1807
  module: t,
1808
1808
  auth: o,
1809
1809
  debug: i,
1810
1810
  dir: s,
1811
1811
  importModules: b
1812
- }), Pr();
1812
+ }), wr();
1813
1813
  },
1814
1814
  // Упрощенная функция для создания importModules
1815
- createImportModules: Zt,
1816
- getImportModules: () => x().importModules,
1815
+ createImportModules: Qt,
1816
+ getImportModules: () => A().importModules,
1817
1817
  // Методы страниц
1818
- usePage: wr,
1818
+ usePage: Cr,
1819
1819
  setPage: Tr,
1820
- getPage: cr,
1821
- isPage: Cr,
1822
- getBack: $r,
1820
+ getPage: lr,
1821
+ isPage: $r,
1822
+ getBack: Nr,
1823
1823
  // Методы модулей
1824
- useModule: Nr,
1825
- setModule: Ir,
1826
- getModule: lr,
1827
- isModule: Mr,
1824
+ useModule: Ir,
1825
+ setModule: Mr,
1826
+ getModule: ur,
1827
+ isModule: Br,
1828
1828
  // Методы вкладок
1829
- useTabs: Br,
1830
- useTab: Lr,
1831
- setTabs: Dr,
1832
- getTabs: zt,
1833
- isTabs: Ur,
1829
+ useTabs: Lr,
1830
+ useTab: Dr,
1831
+ setTabs: Ur,
1832
+ getTabs: Vt,
1833
+ isTabs: Fr,
1834
1834
  // Методы ID
1835
- useId: Fr,
1836
- subId: Wr,
1837
- setId: Yr,
1838
- getId: ur,
1839
- isId: qr,
1835
+ useId: Wr,
1836
+ subId: Yr,
1837
+ setId: qr,
1838
+ getId: fr,
1839
+ isId: zr,
1840
1840
  // Навигация
1841
- navigate: zr
1842
- }, Vr = "_n_zlj3m_1", Jr = "_i_zlj3m_10", Hr = "_t_zlj3m_28", Kr = "_e_zlj3m_32", Gr = "_s_zlj3m_35", Xr = "_w_zlj3m_38", Zr = "_h_zlj3m_41", he = {
1843
- n: Vr,
1844
- i: Jr,
1845
- t: Hr,
1846
- e: Kr,
1847
- s: Gr,
1848
- w: Xr,
1849
- h: Zr
1841
+ navigate: Vr
1842
+ }, Jr = "_n_zlj3m_1", Hr = "_i_zlj3m_10", Kr = "_t_zlj3m_28", Gr = "_e_zlj3m_32", Xr = "_s_zlj3m_35", Zr = "_w_zlj3m_38", Qr = "_h_zlj3m_41", he = {
1843
+ n: Jr,
1844
+ i: Hr,
1845
+ t: Kr,
1846
+ e: Gr,
1847
+ s: Xr,
1848
+ w: Zr,
1849
+ h: Qr
1850
1850
  };
1851
- let rt = {};
1852
- function Qr() {
1851
+ let nt = {};
1852
+ function en() {
1853
1853
  const [t, n] = J.useState([]);
1854
- return rt.set = (o) => {
1854
+ return nt.set = (o) => {
1855
1855
  n([...t, o]);
1856
- }, rt.del = (o) => {
1856
+ }, nt.del = (o) => {
1857
1857
  t.forEach((i, s) => {
1858
1858
  i.key === o && t.splice(s, 1);
1859
1859
  }), n(t);
1860
1860
  }, t.length === 0 ? /* @__PURE__ */ l.jsx(l.Fragment, {}) : /* @__PURE__ */ l.jsx("div", { className: he.n, children: t.map((o) => o.item) });
1861
1861
  }
1862
- function en(t) {
1862
+ function tn(t) {
1863
1863
  let n = (/* @__PURE__ */ new Date()).getTime();
1864
- t.key = n, rt.set({ item: /* @__PURE__ */ l.jsx(tn, { data: t }, n), key: n });
1864
+ t.key = n, nt.set({ item: /* @__PURE__ */ l.jsx(rn, { data: t }, n), key: n });
1865
1865
  }
1866
- function tn(t) {
1866
+ function rn(t) {
1867
1867
  const n = t.data;
1868
1868
  let [o] = J.useState("show"), [i, s] = J.useState(!1);
1869
1869
  J.useEffect(() => {
1870
1870
  setTimeout(function() {
1871
- s(!0), rt.del(n.key);
1871
+ s(!0), nt.del(n.key);
1872
1872
  }, 5e3);
1873
1873
  }, [n.key]);
1874
1874
  let c;
@@ -1886,7 +1886,7 @@ function tn(t) {
1886
1886
  c = "icon fa fa-exclamation-circle";
1887
1887
  break;
1888
1888
  }
1889
- const v = {
1889
+ const p = {
1890
1890
  error: he.e,
1891
1891
  success: he.s,
1892
1892
  warning: he.w
@@ -1894,7 +1894,7 @@ function tn(t) {
1894
1894
  return /* @__PURE__ */ l.jsx(l.Fragment, { children: i ? /* @__PURE__ */ l.jsx(l.Fragment, {}) : /* @__PURE__ */ l.jsxs(
1895
1895
  "div",
1896
1896
  {
1897
- className: he.i + v[n.type] + ` ${n.thema !== void 0 ? he.h : ""}`,
1897
+ className: he.i + p[n.type] + ` ${n.thema !== void 0 ? he.h : ""}`,
1898
1898
  "data-status": o,
1899
1899
  children: [
1900
1900
  /* @__PURE__ */ l.jsx(
@@ -1916,17 +1916,17 @@ function tn(t) {
1916
1916
  ) });
1917
1917
  }
1918
1918
  let me = {
1919
- Send: en,
1920
- Init: Qr
1919
+ Send: tn,
1920
+ Init: en
1921
1921
  };
1922
- const rn = "_d_1u25q_1", nn = "_b_1u25q_21", on = "_o_1u25q_25", an = "_m_1u25q_30", sn = "_t_1u25q_41", cn = "_a_1u25q_108", ln = "_v_1u25q_118", re = {
1923
- d: rn,
1924
- b: nn,
1925
- o: on,
1926
- m: an,
1927
- t: sn,
1928
- a: cn,
1929
- v: ln
1922
+ const nn = "_d_1u25q_1", on = "_b_1u25q_21", an = "_o_1u25q_25", sn = "_m_1u25q_30", cn = "_t_1u25q_41", ln = "_a_1u25q_108", un = "_v_1u25q_118", re = {
1923
+ d: nn,
1924
+ b: on,
1925
+ o: an,
1926
+ m: sn,
1927
+ t: cn,
1928
+ a: ln,
1929
+ v: un
1930
1930
  }, oe = {
1931
1931
  is: !1,
1932
1932
  MainButton: {},
@@ -1979,18 +1979,18 @@ M.users = {
1979
1979
  "--tg-theme-button-text-color": "#000000",
1980
1980
  "--tg-theme-secondary-bg-color": "#000000"
1981
1981
  };
1982
- const un = () => {
1982
+ const fn = () => {
1983
1983
  if (location.hostname === "localhost") {
1984
- let [t, n] = C(!1), [o, i] = C(!1), [s, c] = C("dark"), [v, p] = C(!1), [f, b] = C(!1);
1984
+ let [t, n] = T(!1), [o, i] = T(!1), [s, c] = T("dark"), [p, v] = T(!1), [f, b] = T(!1);
1985
1985
  oe.is = !0, oe.MainButton.set = n, oe.BackButton.set = i, D(() => {
1986
- var y;
1986
+ var _;
1987
1987
  M[s]["--tg-theme-bg-color-alpha"] = M[s]["--tg-theme-bg-color"] + "b3", M[s]["--tg-theme-secondary-bg-color-alpha"] = M[s]["--tg-theme-secondary-bg-color"] + "d3", M[s]["--tg-theme-bg-color-alpha-25"] = M[s]["--tg-theme-bg-color"] + "40", M[s]["--tg-theme-secondary-bg-color-alpha-25"] = M[s]["--tg-theme-secondary-bg-color"] + "40";
1988
- for (let P in M[s])
1988
+ for (let x in M[s])
1989
1989
  document.documentElement.style.setProperty(
1990
- P,
1991
- M[s][P]
1990
+ x,
1991
+ M[s][x]
1992
1992
  );
1993
- ((y = ne.safeAreaInset) == null ? void 0 : y.bottom) === 0 ? document.documentElement.style.setProperty(
1993
+ ((_ = ne.safeAreaInset) == null ? void 0 : _.bottom) === 0 ? document.documentElement.style.setProperty(
1994
1994
  "--tg-safe-area-inset-bottom",
1995
1995
  "16px"
1996
1996
  ) : ne.safeAreaInset || document.documentElement.style.setProperty(
@@ -1998,15 +1998,15 @@ const un = () => {
1998
1998
  "16px"
1999
1999
  );
2000
2000
  }, []);
2001
- let m = (y) => {
2002
- for (let P in M[y])
2003
- document.documentElement.style.setProperty(P, M[y][P]), document.documentElement.setAttribute(
2001
+ let h = (_) => {
2002
+ for (let x in M[_])
2003
+ document.documentElement.style.setProperty(x, M[_][x]), document.documentElement.setAttribute(
2004
2004
  "data-color-scheme",
2005
- y
2005
+ _
2006
2006
  );
2007
- c(y), p(!1);
2007
+ c(_), v(!1);
2008
2008
  }, g = () => {
2009
- p(!1), b(!0);
2009
+ v(!1), b(!0);
2010
2010
  };
2011
2011
  return /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
2012
2012
  /* @__PURE__ */ l.jsxs("div", { className: re.d, children: [
@@ -2014,8 +2014,8 @@ const un = () => {
2014
2014
  "div",
2015
2015
  {
2016
2016
  onClick: () => {
2017
- var y;
2018
- o.page === void 0 ? (y = o.callback) == null || y.call(o) : Re.setPage(o.page);
2017
+ var _;
2018
+ o.page === void 0 ? (_ = o.callback) == null || _.call(o) : Re.setPage(o.page);
2019
2019
  },
2020
2020
  className: re.b,
2021
2021
  children: "Назад"
@@ -2025,7 +2025,7 @@ const un = () => {
2025
2025
  "div",
2026
2026
  {
2027
2027
  className: re.o,
2028
- onClick: () => p(!v),
2028
+ onClick: () => v(!p),
2029
2029
  children: "Меню"
2030
2030
  }
2031
2031
  )
@@ -2040,7 +2040,7 @@ const un = () => {
2040
2040
  children: t.text
2041
2041
  }
2042
2042
  ) }),
2043
- v ? /* @__PURE__ */ l.jsxs("div", { className: re.t, children: [
2043
+ p ? /* @__PURE__ */ l.jsxs("div", { className: re.t, children: [
2044
2044
  /* @__PURE__ */ l.jsxs("ul", { children: [
2045
2045
  /* @__PURE__ */ l.jsx("li", { children: /* @__PURE__ */ l.jsx("button", { onClick: g, children: "Authorization" }) }),
2046
2046
  /* @__PURE__ */ l.jsx("li", {})
@@ -2052,30 +2052,30 @@ const un = () => {
2052
2052
  /* @__PURE__ */ l.jsx("li", { children: /* @__PURE__ */ l.jsx(
2053
2053
  "button",
2054
2054
  {
2055
- onClick: () => m("dark"),
2055
+ onClick: () => h("dark"),
2056
2056
  children: "Dark"
2057
2057
  }
2058
2058
  ) }),
2059
2059
  /* @__PURE__ */ l.jsx("li", { children: /* @__PURE__ */ l.jsx(
2060
2060
  "button",
2061
2061
  {
2062
- onClick: () => m("light"),
2062
+ onClick: () => h("light"),
2063
2063
  children: "Light"
2064
2064
  }
2065
2065
  ) }),
2066
2066
  /* @__PURE__ */ l.jsx("li", { children: /* @__PURE__ */ l.jsx(
2067
2067
  "button",
2068
2068
  {
2069
- onClick: () => m("users"),
2069
+ onClick: () => h("users"),
2070
2070
  children: "Users"
2071
2071
  }
2072
2072
  ) })
2073
2073
  ] })
2074
2074
  ] }),
2075
- /* @__PURE__ */ l.jsx("li", { children: /* @__PURE__ */ l.jsx("button", { onClick: () => p(!v), children: "Closed" }) })
2075
+ /* @__PURE__ */ l.jsx("li", { children: /* @__PURE__ */ l.jsx("button", { onClick: () => v(!p), children: "Closed" }) })
2076
2076
  ] })
2077
2077
  ] }) : "",
2078
- f ? /* @__PURE__ */ l.jsx(fn, { setAuthorization: b }) : ""
2078
+ f ? /* @__PURE__ */ l.jsx(dn, { setAuthorization: b }) : ""
2079
2079
  ] });
2080
2080
  } else
2081
2081
  return D(() => {
@@ -2094,7 +2094,7 @@ const un = () => {
2094
2094
  "16px"
2095
2095
  );
2096
2096
  }, []), /* @__PURE__ */ l.jsx(l.Fragment, { children: /* @__PURE__ */ l.jsx(me.Init, {}) });
2097
- }, fn = ({ setAuthorization: t }) => {
2097
+ }, dn = ({ setAuthorization: t }) => {
2098
2098
  let n = {}, o = () => {
2099
2099
  localStorage.setItem("auth", n);
2100
2100
  };
@@ -2102,32 +2102,32 @@ const un = () => {
2102
2102
  /* @__PURE__ */ l.jsx("fieldset", {}),
2103
2103
  /* @__PURE__ */ l.jsx("div", { onClick: o, children: " Сохранить " })
2104
2104
  ] }) });
2105
- }, dn = "_p_1axqy_1", pn = "_s_1axqy_17", Qt = {
2106
- p: dn,
2107
- s: pn
2108
- }, vn = ({ className: t, children: n, isScroll: o = !0 }) => /* @__PURE__ */ l.jsx(
2105
+ }, pn = "_p_1axqy_1", vn = "_s_1axqy_17", er = {
2106
+ p: pn,
2107
+ s: vn
2108
+ }, hn = ({ className: t, children: n, isScroll: o = !0 }) => /* @__PURE__ */ l.jsx(
2109
2109
  "div",
2110
2110
  {
2111
- className: [Qt.p, o && Qt.s, t].filter((i) => i !== void 0).join(" "),
2111
+ className: [er.p, o && er.s, t].filter((i) => i !== void 0).join(" "),
2112
2112
  children: n
2113
2113
  }
2114
- ), hn = "_l_gfyud_1", mn = {
2115
- l: hn
2116
- }, gn = ({ children: t, className: n }) => /* @__PURE__ */ l.jsx(
2114
+ ), mn = "_l_gfyud_1", gn = {
2115
+ l: mn
2116
+ }, bn = ({ children: t, className: n }) => /* @__PURE__ */ l.jsx(
2117
2117
  "div",
2118
2118
  {
2119
- className: [mn.l, n].filter((o) => o !== void 0).join(" "),
2119
+ className: [gn.l, n].filter((o) => o !== void 0).join(" "),
2120
2120
  children: t
2121
2121
  }
2122
- ), bn = "_m_ppm7n_2", yn = "_g_ppm7n_10", _n = "_i_ppm7n_18", Rn = "_c_ppm7n_35", En = "_l_ppm7n_42", Sn = "_a_ppm7n_57", xn = "_n_ppm7n_62", ve = {
2123
- m: bn,
2124
- g: yn,
2125
- i: _n,
2126
- c: Rn,
2122
+ ), yn = "_m_ppm7n_2", _n = "_g_ppm7n_10", Rn = "_i_ppm7n_18", Sn = "_c_ppm7n_35", En = "_l_ppm7n_42", xn = "_a_ppm7n_57", An = "_n_ppm7n_62", ve = {
2123
+ m: yn,
2124
+ g: _n,
2125
+ i: Rn,
2126
+ c: Sn,
2127
2127
  l: En,
2128
- a: Sn,
2129
- n: xn
2130
- }, An = ({ items: t }) => {
2128
+ a: xn,
2129
+ n: An
2130
+ }, jn = ({ items: t }) => {
2131
2131
  const n = (i) => {
2132
2132
  Re.setPage(i);
2133
2133
  }, o = (i) => {
@@ -2158,43 +2158,44 @@ const un = () => {
2158
2158
  },
2159
2159
  c
2160
2160
  )) }, i.id)) });
2161
- }, jn = "_o_8ho2f_3", kn = "_m_8ho2f_14", On = "_l_8ho2f_28", Pn = "_r_8ho2f_33", wn = "_x_8ho2f_38", Tn = "_h_8ho2f_42", Cn = "_c_8ho2f_57", $n = "_u_8ho2f_72", ee = {
2162
- o: jn,
2163
- m: kn,
2164
- l: On,
2165
- r: Pn,
2166
- x: wn,
2161
+ }, kn = "_o_8ho2f_3", On = "_m_8ho2f_14", Pn = "_l_8ho2f_28", wn = "_r_8ho2f_33", Cn = "_x_8ho2f_38", Tn = "_h_8ho2f_42", $n = "_c_8ho2f_57", Nn = "_u_8ho2f_72", ee = {
2162
+ o: kn,
2163
+ m: On,
2164
+ l: Pn,
2165
+ r: wn,
2166
+ x: Cn,
2167
2167
  h: Tn,
2168
- c: Cn,
2169
- u: $n
2170
- };
2171
- function Nn({
2168
+ c: $n,
2169
+ u: Nn
2170
+ }, et = {};
2171
+ function In({
2172
2172
  children: t,
2173
2173
  icon: n,
2174
2174
  iconBadge: o = 0,
2175
2175
  title: i,
2176
2176
  className: s,
2177
2177
  view: c = "list",
2178
- position: v = "left"
2178
+ position: p = "left",
2179
+ name: v = "default"
2179
2180
  }) {
2180
- const [p, f] = C(!1), [b, m] = C(
2181
+ const [f, b] = T(!1), [h, g] = T(
2181
2182
  null
2182
2183
  );
2183
2184
  D(() => {
2184
- let y = document.querySelector(".p_sb");
2185
- return y || (y = document.createElement("div"), y.className = "_p_sb", document.body.appendChild(y)), m(y), () => {
2186
- y && y.parentNode && y.parentNode.removeChild(y);
2185
+ let x = document.querySelector(".p_sb");
2186
+ return x || (x = document.createElement("div"), x.className = "_p_sb", document.body.appendChild(x)), g(x), et[v] = (P) => b(P), () => {
2187
+ x && x.parentNode && x.parentNode.removeChild(x);
2187
2188
  };
2188
2189
  }, []);
2189
- const g = /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
2190
- p && /* @__PURE__ */ l.jsx("div", { className: ee.o, onClick: () => f(!1) }),
2190
+ const _ = /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
2191
+ f && /* @__PURE__ */ l.jsx("div", { className: ee.o, onClick: () => b(!1) }),
2191
2192
  /* @__PURE__ */ l.jsxs(
2192
2193
  "div",
2193
2194
  {
2194
2195
  className: be(
2195
2196
  ee.m,
2196
- v === "left" ? ee.l : ee.r,
2197
- p && ee.x,
2197
+ p === "left" ? ee.l : ee.r,
2198
+ f && ee.x,
2198
2199
  s
2199
2200
  ),
2200
2201
  children: [
@@ -2203,7 +2204,7 @@ function Nn({
2203
2204
  /* @__PURE__ */ l.jsxs(
2204
2205
  "svg",
2205
2206
  {
2206
- onClick: () => f(!1),
2207
+ onClick: () => b(!1),
2207
2208
  fill: "none",
2208
2209
  stroke: "currentColor",
2209
2210
  strokeLinecap: "round",
@@ -2230,18 +2231,22 @@ function Nn({
2230
2231
  n && /* @__PURE__ */ l.jsx(
2231
2232
  "div",
2232
2233
  {
2233
- onClick: () => f(!0),
2234
+ onClick: () => b(!0),
2234
2235
  className: "bage",
2235
2236
  "data-count": o,
2236
2237
  children: n
2237
2238
  }
2238
2239
  ),
2239
- b && dr(g, b)
2240
+ h && pr(_, h)
2240
2241
  ] });
2241
2242
  }
2243
+ const Mn = (t, n) => {
2244
+ var o;
2245
+ (o = et[t]) == null || o.call(et, n);
2246
+ };
2242
2247
  let Ge = () => {
2243
2248
  };
2244
- const fr = ({
2249
+ const dr = ({
2245
2250
  children: t,
2246
2251
  title: n,
2247
2252
  isOverlay: o = !0,
@@ -2249,21 +2254,21 @@ const fr = ({
2249
2254
  className: s,
2250
2255
  onOpen: c
2251
2256
  }) => {
2252
- const [v, p] = J.useState(!1);
2257
+ const [p, v] = J.useState(!1);
2253
2258
  return Ge = () => {
2254
- p(!0), setTimeout(() => {
2259
+ v(!0), setTimeout(() => {
2255
2260
  var f;
2256
2261
  c == null || c(!1), (f = _e == null ? void 0 : _e.onClose) == null || f.call(_e);
2257
2262
  }, 300);
2258
2263
  }, /* @__PURE__ */ l.jsx(
2259
2264
  "div",
2260
2265
  {
2261
- className: `footer-menu-overlay ${o ? "is-overlay" : ""} ${v ? "closing" : ""} `,
2266
+ className: `footer-menu-overlay ${o ? "is-overlay" : ""} ${p ? "closing" : ""} `,
2262
2267
  onClick: Ge,
2263
2268
  children: /* @__PURE__ */ l.jsxs(
2264
2269
  "div",
2265
2270
  {
2266
- className: `footer-menu-popup-book ${v ? "closing" : ""} ${s || ""} ${i ? "footer" : ""}`,
2271
+ className: `footer-menu-popup-book ${p ? "closing" : ""} ${s || ""} ${i ? "footer" : ""}`,
2267
2272
  onClick: (f) => f.stopPropagation(),
2268
2273
  children: [
2269
2274
  /* @__PURE__ */ l.jsxs("div", { className: "footer-menu-header", children: [
@@ -2283,88 +2288,88 @@ const fr = ({
2283
2288
  )
2284
2289
  }
2285
2290
  );
2286
- }, In = "_h_4aije_1", Mn = "_r_4aije_23", Bn = "_c_4aije_26", Ln = "_x_4aije_29", Ze = {
2287
- h: In,
2288
- r: Mn,
2289
- c: Bn,
2290
- x: Ln
2291
- }, Dn = "_b_r6m8n_1", Un = {
2292
- b: Dn
2293
- }, Fn = ({ className: t, value: n }) => /* @__PURE__ */ l.jsx(
2291
+ }, Bn = "_h_4aije_1", Ln = "_r_4aije_23", Dn = "_c_4aije_26", Un = "_x_4aije_29", Ze = {
2292
+ h: Bn,
2293
+ r: Ln,
2294
+ c: Dn,
2295
+ x: Un
2296
+ }, Fn = "_b_r6m8n_1", Wn = {
2297
+ b: Fn
2298
+ }, Yn = ({ className: t, value: n }) => /* @__PURE__ */ l.jsx(
2294
2299
  "div",
2295
2300
  {
2296
- className: [Un.b, t].filter((o) => o !== void 0).join(" "),
2301
+ className: [Wn.b, t].filter((o) => o !== void 0).join(" "),
2297
2302
  children: n
2298
2303
  }
2299
- ), _e = [], er = (t, n) => t.findIndex((o) => (o == null ? void 0 : o.page) === n), Wn = ({
2304
+ ), _e = [], tr = (t, n) => t.findIndex((o) => (o == null ? void 0 : o.page) === n), qn = ({
2300
2305
  actions: t,
2301
2306
  children: n,
2302
2307
  className: o,
2303
2308
  toHide: i = !1,
2304
2309
  page: s,
2305
2310
  onPageChange: c,
2306
- direction: v = "row"
2311
+ direction: p = "row"
2307
2312
  }) => {
2308
- const [p, f] = J.useState(null), [b, m] = J.useState(
2309
- s ? er(t || [], s) : 0
2313
+ const [v, f] = J.useState(null), [b, h] = J.useState(
2314
+ s ? tr(t || [], s) : 0
2310
2315
  );
2311
2316
  return _e.onClose = () => {
2312
- f(null), m(s ? er(t || [], s) : 0);
2317
+ f(null), h(s ? tr(t || [], s) : 0);
2313
2318
  }, D(() => {
2314
2319
  if (!i)
2315
2320
  return;
2316
- const g = document.querySelectorAll("[contenteditable]"), y = () => {
2317
- const w = document.querySelector("footer");
2318
- w && w.classList.remove(Ze.x);
2319
- }, P = () => {
2320
- const w = document.querySelector("footer");
2321
- w && w.classList.add(Ze.x);
2321
+ const g = document.querySelectorAll("[contenteditable]"), _ = () => {
2322
+ const P = document.querySelector("footer");
2323
+ P && P.classList.remove(Ze.x);
2324
+ }, x = () => {
2325
+ const P = document.querySelector("footer");
2326
+ P && P.classList.add(Ze.x);
2322
2327
  };
2323
- return g.forEach((w) => {
2324
- w.addEventListener("focus", P, !0), w.addEventListener("blur", y, !0);
2328
+ return g.forEach((P) => {
2329
+ P.addEventListener("focus", x, !0), P.addEventListener("blur", _, !0);
2325
2330
  }), () => {
2326
- g.forEach((w) => {
2327
- w.removeEventListener("focus", P, !0), w.removeEventListener("blur", y, !0);
2331
+ g.forEach((P) => {
2332
+ P.removeEventListener("focus", x, !0), P.removeEventListener("blur", _, !0);
2328
2333
  });
2329
2334
  };
2330
2335
  }, []), /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
2331
- p,
2336
+ v,
2332
2337
  /* @__PURE__ */ l.jsxs(
2333
2338
  "footer",
2334
2339
  {
2335
2340
  className: be(
2336
2341
  Ze.h,
2337
- Ze[v === "row" ? "r" : "c"],
2342
+ Ze[p === "row" ? "r" : "c"],
2338
2343
  o
2339
2344
  ),
2340
2345
  children: [
2341
2346
  n,
2342
- t && t.map((g, y) => /* @__PURE__ */ l.jsxs(
2347
+ t && t.map((g, _) => /* @__PURE__ */ l.jsxs(
2343
2348
  "div",
2344
2349
  {
2345
- "data-active": b === y ? "true" : "false",
2350
+ "data-active": b === _ ? "true" : "false",
2346
2351
  onClick: () => {
2347
- g.page && (m(y), c == null || c(g.page)), g.onClick && g.onClick(() => m(y)), g.component && (b === y ? Ge() : (f(g.component), m(y)));
2352
+ g.page && (h(_), c == null || c(g.page)), g.onClick && g.onClick(() => h(_)), g.component && (b === _ ? Ge() : (f(g.component), h(_)));
2348
2353
  },
2349
2354
  children: [
2350
2355
  g.icon,
2351
2356
  g.title && /* @__PURE__ */ l.jsx("span", { children: g.title }),
2352
- g.badge && /* @__PURE__ */ l.jsx(Fn, { value: g.badge })
2357
+ g.badge && /* @__PURE__ */ l.jsx(Yn, { value: g.badge })
2353
2358
  ]
2354
2359
  },
2355
- y
2360
+ _
2356
2361
  ))
2357
2362
  ]
2358
2363
  }
2359
2364
  )
2360
2365
  ] });
2361
- }, Yn = "_w_yx04q_3", qn = "_v_yx04q_24", zn = "_s_yx04q_34", Vn = "_n_yx04q_38", Qe = {
2362
- w: Yn,
2363
- v: qn,
2364
- s: zn,
2365
- n: Vn
2366
- }, qt = {};
2367
- function Jn({
2366
+ }, zn = "_w_yx04q_3", Vn = "_v_yx04q_24", Jn = "_s_yx04q_34", Hn = "_n_yx04q_38", Qe = {
2367
+ w: zn,
2368
+ v: Vn,
2369
+ s: Jn,
2370
+ n: Hn
2371
+ }, zt = {};
2372
+ function Kn({
2368
2373
  children: t,
2369
2374
  name: n,
2370
2375
  onClose: o,
@@ -2372,34 +2377,34 @@ function Jn({
2372
2377
  isScroll: s = !0,
2373
2378
  nextBackButton: c
2374
2379
  }) {
2375
- const [v, p] = C(!1);
2380
+ const [p, v] = T(!1);
2376
2381
  return D(() => {
2377
2382
  if (!i) return;
2378
- const f = c === void 0 ? ro().pop() : c, b = () => {
2379
- p(!1), setTimeout(() => {
2380
- rr(f || !1), o == null || o();
2383
+ const f = c === void 0 ? oo().pop() : c, b = () => {
2384
+ v(!1), setTimeout(() => {
2385
+ nr(f || !1), o == null || o();
2381
2386
  }, 300);
2382
2387
  };
2383
- qt[n] = {
2388
+ zt[n] = {
2384
2389
  onClose: b,
2385
2390
  onOpen: () => {
2386
- p(!0);
2391
+ v(!0);
2387
2392
  }
2388
- }, rr({
2393
+ }, nr({
2389
2394
  callback: b
2390
2395
  });
2391
- const m = setTimeout(() => {
2392
- p(!0);
2396
+ const h = setTimeout(() => {
2397
+ v(!0);
2393
2398
  }, 10);
2394
2399
  return () => {
2395
- clearTimeout(m);
2400
+ clearTimeout(h);
2396
2401
  };
2397
2402
  }, [i]), i ? /* @__PURE__ */ l.jsxs(
2398
2403
  "div",
2399
2404
  {
2400
2405
  className: be(
2401
2406
  Qe.w,
2402
- v && Qe.v,
2407
+ p && Qe.v,
2403
2408
  s && Qe.s
2404
2409
  ),
2405
2410
  children: [
@@ -2409,14 +2414,14 @@ function Jn({
2409
2414
  }
2410
2415
  ) : "";
2411
2416
  }
2412
- const Hn = (t, n) => {
2417
+ const Gn = (t, n) => {
2413
2418
  var o, i;
2414
- n ? (o = qt[t]) == null || o.onOpen() : (i = qt[t]) == null || i.onClose();
2415
- }, Kn = "_s_ezoxx_3", Gn = "_n_ezoxx_14", tr = {
2416
- s: Kn,
2417
- n: Gn
2419
+ n ? (o = zt[t]) == null || o.onOpen() : (i = zt[t]) == null || i.onClose();
2420
+ }, Xn = "_s_ezoxx_3", Zn = "_n_ezoxx_14", rr = {
2421
+ s: Xn,
2422
+ n: Zn
2418
2423
  };
2419
- function Xn({
2424
+ function Qn({
2420
2425
  className: t,
2421
2426
  children: n,
2422
2427
  onScrollEnd: o,
@@ -2424,38 +2429,38 @@ function Xn({
2424
2429
  isLoading: s,
2425
2430
  isScrollBar: c = !1
2426
2431
  }) {
2427
- const [v, p] = C(s || !1);
2432
+ const [p, v] = T(s || !1);
2428
2433
  D(() => {
2429
- p(s || !1);
2434
+ v(s || !1);
2430
2435
  }, [s]);
2431
2436
  let f = {
2432
2437
  onScroll: (b) => {
2433
- const { scrollTop: m, scrollHeight: g, clientHeight: y } = b.currentTarget;
2434
- m + y >= g - i && !v && (p(!0), o == null || o());
2438
+ const { scrollTop: h, scrollHeight: g, clientHeight: _ } = b.currentTarget;
2439
+ h + _ >= g - i && !p && (v(!0), o == null || o());
2435
2440
  }
2436
2441
  };
2437
2442
  return /* @__PURE__ */ l.jsx(
2438
2443
  "div",
2439
2444
  {
2440
2445
  ...f,
2441
- className: be(tr.s, !c && tr.n, t),
2446
+ className: be(rr.s, !c && rr.n, t),
2442
2447
  children: n
2443
2448
  }
2444
2449
  );
2445
2450
  }
2446
- const Zn = "_a_ohhaz_1", Qn = "_l_ohhaz_12", eo = "_r_ohhaz_15", Ut = {
2447
- a: Zn,
2448
- l: Qn,
2449
- r: eo
2451
+ const eo = "_a_ohhaz_1", to = "_l_ohhaz_12", ro = "_r_ohhaz_15", Ft = {
2452
+ a: eo,
2453
+ l: to,
2454
+ r: ro
2450
2455
  };
2451
- function to({
2456
+ function no({
2452
2457
  children: t,
2453
2458
  className: n,
2454
2459
  position: o = "center",
2455
2460
  title: i
2456
2461
  }) {
2457
2462
  let s = "";
2458
- return o === "left" ? s = Ut.l : o === "right" && (s = Ut.r), /* @__PURE__ */ l.jsxs("div", { className: be(Ut.a, s, n), children: [
2463
+ return o === "left" ? s = Ft.l : o === "right" && (s = Ft.r), /* @__PURE__ */ l.jsxs("div", { className: be(Ft.a, s, n), children: [
2459
2464
  t,
2460
2465
  i && /* @__PURE__ */ l.jsx("b", { children: i })
2461
2466
  ] });
@@ -2465,14 +2470,14 @@ const B = {
2465
2470
  listen: [],
2466
2471
  prev: {},
2467
2472
  router: (t) => {
2468
- t === !1 ? (T.WebApp.BackButton.isVisible = !1, T.WebApp.BackButton.offClick(B.listen[0]), B.listen.shift(), B.state.length !== 1 && B.state.pop()) : (T.WebApp.BackButton.isVisible = !0, T.WebApp.BackButton.offClick(B.listen[0]), B.listen.shift(), B.listen.push(() => {
2473
+ t === !1 ? (C.WebApp.BackButton.isVisible = !1, C.WebApp.BackButton.offClick(B.listen[0]), B.listen.shift(), B.state.length !== 1 && B.state.pop()) : (C.WebApp.BackButton.isVisible = !0, C.WebApp.BackButton.offClick(B.listen[0]), B.listen.shift(), B.listen.push(() => {
2469
2474
  var o;
2470
2475
  let n = B.state.pop();
2471
2476
  B.prev = Re.getPage(), n.page !== void 0 ? Re.setPage(n.page) : (o = n.callback) == null || o.call(n);
2472
2477
  }), ne.BackButton.onClick(B.listen[0]));
2473
2478
  }
2474
2479
  }, be = (...t) => t.filter((n) => n !== void 0 && n !== !1 && n !== null && n !== "").join(" ");
2475
- var T;
2480
+ var C;
2476
2481
  ((t) => {
2477
2482
  var n;
2478
2483
  t.WebApp = typeof window < "u" && ((n = window.Telegram) == null ? void 0 : n.WebApp) || {}, t.getUser = () => {
@@ -2495,8 +2500,8 @@ var T;
2495
2500
  }) : i();
2496
2501
  }, t.Notice = {
2497
2502
  Send: (o, i, s) => {
2498
- var c, v;
2499
- i !== void 0 ? (me.Send({ type: o, text: i, thema: s }), (c = t.WebApp.HapticFeedback) == null || c.notificationOccurred(o)) : (me.Send(o), (v = t.WebApp.HapticFeedback) == null || v.notificationOccurred(o.type));
2503
+ var c, p;
2504
+ i !== void 0 ? (me.Send({ type: o, text: i, thema: s }), (c = t.WebApp.HapticFeedback) == null || c.notificationOccurred(o)) : (me.Send(o), (p = t.WebApp.HapticFeedback) == null || p.notificationOccurred(o.type));
2500
2505
  },
2501
2506
  Error: (o) => {
2502
2507
  var i;
@@ -2510,7 +2515,7 @@ var T;
2510
2515
  var i;
2511
2516
  me.Send({ type: "warning", text: o }), (i = t.WebApp.HapticFeedback) == null || i.notificationOccurred("warning");
2512
2517
  }
2513
- }, t.Header = un, t.TabBar = Wn, t.BottomSheet = fr, t.toggleBottomSheet = Ge, t.SafeArea = vn, t.Loading = gn, t.Sidebar = Nn, t.SidePanel = Jn, t.AppBar = to, t.SidePanelController = Hn, t.Scroll = Xn, t.Modal = Wt, t.Menu = An, t.MainButton = {
2518
+ }, t.Header = fn, t.TabBar = qn, t.BottomSheet = dr, t.toggleBottomSheet = Ge, t.SafeArea = hn, t.Loading = bn, t.Sidebar = In, t.SidePanel = Kn, t.AppBar = no, t.SideBarController = Mn, t.SidePanelController = Gn, t.Scroll = Qn, t.Modal = Yt, t.Menu = jn, t.MainButton = {
2514
2519
  callback: [],
2515
2520
  set: (o) => {
2516
2521
  oe.is ? oe.MainButton.set(o) : (t.WebApp.MainButton.callback.forEach((i) => {
@@ -2527,30 +2532,30 @@ var T;
2527
2532
  }, t.BackButtonState = () => B.state, t.BackButton = (o) => {
2528
2533
  oe.is ? oe.BackButton.set(o) : (B.state.push(o), B.router(o));
2529
2534
  };
2530
- })(T || (T = {}));
2531
- const ao = T.TabBar, so = fr, rr = T.BackButton, io = T.BackButtonPrev, ro = T.BackButtonState, co = T.Notice, lo = T.SafeArea, uo = T.Loading, fo = T.Menu, po = T.SidePanel, vo = T.Scroll, ho = T.AppBar, mo = T.Sidebar, go = T.Location, bo = T.SidePanelController, { Header: yo, toggleBottomSheet: _o, Modal: Ro, MainButton: Eo, WebApp: ne, getUser: So } = T;
2535
+ })(C || (C = {}));
2536
+ const io = C.TabBar, co = dr, nr = C.BackButton, lo = C.BackButtonPrev, oo = C.BackButtonState, uo = C.Notice, fo = C.SafeArea, po = C.Loading, vo = C.Menu, ho = C.SidePanel, mo = C.Scroll, go = C.AppBar, bo = C.Sidebar, yo = C.Location, _o = C.SidePanelController, { Header: Ro, toggleBottomSheet: So, Modal: Eo, MainButton: xo, WebApp: ne, getUser: Ao } = C;
2532
2537
  export {
2533
- ho as AppBar,
2534
- rr as BackButton,
2535
- io as BackButtonPrev,
2536
- ro as BackButtonState,
2537
- so as BottomSheet,
2538
- yo as Header,
2539
- uo as Loading,
2540
- go as Location,
2541
- Eo as MainButton,
2542
- fo as Menu,
2543
- Ro as Modal,
2544
- co as Notice,
2545
- lo as SafeArea,
2546
- vo as Scroll,
2547
- po as SidePanel,
2548
- bo as SidePanelController,
2549
- mo as Sidebar,
2550
- ao as TabBar,
2538
+ go as AppBar,
2539
+ nr as BackButton,
2540
+ lo as BackButtonPrev,
2541
+ oo as BackButtonState,
2542
+ co as BottomSheet,
2543
+ Ro as Header,
2544
+ po as Loading,
2545
+ yo as Location,
2546
+ xo as MainButton,
2547
+ vo as Menu,
2548
+ Eo as Modal,
2549
+ uo as Notice,
2550
+ fo as SafeArea,
2551
+ mo as Scroll,
2552
+ ho as SidePanel,
2553
+ _o as SidePanelController,
2554
+ bo as Sidebar,
2555
+ io as TabBar,
2551
2556
  ne as WebApp,
2552
2557
  be as clsx,
2553
- T as default,
2554
- So as getUser,
2555
- _o as toggleBottomSheet
2558
+ C as default,
2559
+ Ao as getUser,
2560
+ So as toggleBottomSheet
2556
2561
  };