@elcrm/telegram 0.0.127 → 0.0.128

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
@@ -15,14 +15,14 @@ function pr() {
15
15
  if (Vt) return Je;
16
16
  Vt = 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
  /**
@@ -37,7 +37,7 @@ var He = {};
37
37
  var Jt;
38
38
  function vr() {
39
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";
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"), w = Symbol.iterator, nt = "@@iterator";
41
41
  function ot(e) {
42
42
  if (e === null || typeof e != "object")
43
43
  return null;
@@ -45,7 +45,7 @@ function vr() {
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];
@@ -54,10 +54,10 @@ function vr() {
54
54
  }
55
55
  function at(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
  }
@@ -65,7 +65,7 @@ function vr() {
65
65
  var st = !1, it = !1, ct = !1, lt = !1, ut = !1, Ee;
66
66
  Ee = Symbol.for("react.module.reference");
67
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
68
+ return !!(typeof e == "string" || typeof e == "function" || e === i || e === c || ut || e === s || e === b || e === h || lt || e === x || st || it || ct || 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.
@@ -75,8 +75,8 @@ function vr() {
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
81
  function Se(e) {
82
82
  return e.displayName || "Context";
@@ -84,7 +84,7 @@ function vr() {
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,15 +99,15 @@ 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:
107
+ case v:
108
108
  var r = e;
109
109
  return Se(r) + ".Consumer";
110
- case v:
110
+ case p:
111
111
  var a = e;
112
112
  return Se(a._context) + ".Provider";
113
113
  case f:
@@ -115,10 +115,10 @@ function vr() {
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
  }
@@ -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 `
@@ -217,63 +217,63 @@ 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
223
  R = se.current, se.current = null, pt();
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]; )
256
+ } catch (O) {
257
+ if (O && u && typeof O.stack == "string") {
258
+ for (var d = O.stack.split(`
259
+ `), k = u.stack.split(`
260
+ `), E = d.length - 1, S = k.length - 1; E >= 1 && S >= 0 && d[E] !== k[S]; )
261
261
  S--;
262
262
  for (; E >= 1 && S >= 0; E--, S--)
263
- if (d[E] !== j[S]) {
263
+ if (d[E] !== k[S]) {
264
264
  if (E !== 1 || S !== 1)
265
265
  do
266
- if (E--, S--, S < 0 || d[E] !== j[S]) {
267
- var O = `
266
+ if (E--, S--, S < 0 || d[E] !== k[S]) {
267
+ var P = `
268
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;
269
+ return e.displayName && P.includes("<anonymous>") && (P = P.replace("<anonymous>", e.displayName)), typeof e == "function" && X.set(e, P), P;
270
270
  }
271
271
  while (E >= 1 && S >= 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, vt(), 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;
@@ -295,7 +295,7 @@ function vr() {
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")
@@ -304,10 +304,10 @@ function vr() {
304
304
  return mt(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,22 +322,22 @@ function vr() {
322
322
  } else
323
323
  Ne.setExtraStackFrame(null);
324
324
  }
325
- function bt(e, r, a, u, _) {
325
+ function bt(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");
336
+ d = e[m](r, m, u, a, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
337
337
  } catch (E) {
338
338
  d = E;
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
  }
@@ -363,7 +363,7 @@ function vr() {
363
363
  }
364
364
  function Me(e) {
365
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);
366
+ return j("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);
367
367
  }
368
368
  var Be = U.ReactCurrentOwner, Et = {
369
369
  key: !0,
@@ -393,7 +393,7 @@ function vr() {
393
393
  function jt(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,
@@ -404,7 +404,7 @@ function vr() {
404
404
  function kt(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 Ot = 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 Pt(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), xt(r) && (Me(r.key), d = "" + r.key), St(r) && (k = r.ref, At(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
451
  var E = e.defaultProps;
452
452
  for (R in E)
453
- h[R] === void 0 && (h[R] = E[R]);
453
+ m[R] === void 0 && (m[R] = E[R]);
454
454
  }
455
- if (d || j) {
455
+ if (d || k) {
456
456
  var S = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
457
- d && jt(h, S), j && kt(h, S);
457
+ d && jt(m, S), k && kt(m, S);
458
458
  }
459
- return Ot(e, d, j, _, u, Be.current, h);
459
+ return Ot(e, d, k, y, u, Be.current, m);
460
460
  }
461
461
  }
462
462
  var ue = U.ReactCurrentOwner, Ue = U.ReactDebugCurrentFrame;
@@ -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,10 +525,10 @@ 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 = ot(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
  }
@@ -551,10 +551,10 @@ Check the top-level render call using <` + a + ">.");
551
551
  bt(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
560
  function $t(e) {
@@ -562,48 +562,48 @@ Check the top-level render call using <` + a + ">.");
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 = ft(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();
579
+ var k = wt();
580
+ k ? d += k : d += Fe();
581
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);
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, j("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);
583
583
  }
584
- var S = Pt(e, r, a, _, R);
584
+ var S = Pt(e, r, a, y, R);
585
585
  if (S == null)
586
586
  return S;
587
- if (h) {
588
- var O = r.children;
589
- if (O !== void 0)
587
+ if (m) {
588
+ var P = r.children;
589
+ if (P !== 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(P)) {
592
+ for (var W = 0; W < P.length; W++)
593
+ qe(P[W], e);
594
+ Object.freeze && Object.freeze(P);
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(P, e);
599
599
  }
600
600
  if (z.call(r, "key")) {
601
- var I = $(e), k = Object.keys(r).filter(function(Dt) {
601
+ var I = $(e), O = Object.keys(r).filter(function(Dt) {
602
602
  return Dt !== "key";
603
- }), pe = k.length > 0 ? "{key: someKey, " + k.join(": ..., ") + ": ...}" : "{key: someKey}";
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 Lt = 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:
@@ -636,48 +636,48 @@ let Y = {};
636
636
  var Wt;
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, _] = C(!1), [x, w] = C(!1);
645
645
  if (Y[b].onClose = () => {
646
646
  T.BackButton(!1), w(!0), setTimeout(() => {
647
- y(!1), w(!1), f == null || f(), Y.x(b);
647
+ _(!1), w(!1), f == null || f(), Y.x(b);
648
648
  }, 300);
649
649
  }, D(() => {
650
650
  g ? Y[b].onClose() : (T.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
670
  let [f, b] = C([]);
671
- return Y.x = (m) => {
672
- b(m ? f.filter((g) => g.key !== m) : []);
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) => {
703
+ ..._,
704
+ onCallbackModal: (x) => {
705
705
  var w;
706
- (w = y.callback) == null || w.call(y, P);
706
+ (w = _.callback) == null || w.call(_, x);
707
707
  },
708
708
  nameModal: f
709
709
  },
@@ -716,17 +716,17 @@ 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;
729
+ t.Open = p;
730
730
  })(Wt || (Wt = {}));
731
731
  function nr() {
732
732
  return typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof self < "u" ? self : typeof global < "u" ? global : {};
@@ -768,8 +768,8 @@ const tt = (t) => {
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];
@@ -790,8 +790,8 @@ const tt = (t) => {
790
790
  try {
791
791
  const n = tt(
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, et().saltLength * 2), o = tt(t + n).substring(0, 8), i = ar(et().key, n), s = yr(t), c = sr(s, i), p = Rr(c);
794
+ return `${n}.${p}.${o}`;
795
795
  } catch {
796
796
  throw new Error("Не удалось зашифровать данные");
797
797
  }
@@ -800,7 +800,7 @@ const tt = (t) => {
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);
803
+ const o = n[0], i = n[1], s = n[2], c = ar(et().key, o), p = Er(i), v = sr(p, c), f = _r(v);
804
804
  if (tt(f + o).substring(
805
805
  0,
806
806
  8
@@ -850,14 +850,14 @@ function Ar() {
850
850
  if (Kt) return Ke;
851
851
  Kt = 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
  /**
@@ -872,7 +872,7 @@ var Xe = {};
872
872
  var Gt;
873
873
  function jr() {
874
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";
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"), w = Symbol.iterator, nt = "@@iterator";
876
876
  function ot(e) {
877
877
  if (e === null || typeof e != "object")
878
878
  return null;
@@ -880,7 +880,7 @@ function jr() {
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];
@@ -889,10 +889,10 @@ function jr() {
889
889
  }
890
890
  function at(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
  }
@@ -900,7 +900,7 @@ function jr() {
900
900
  var st = !1, it = !1, ct = !1, lt = !1, ut = !1, Ee;
901
901
  Ee = Symbol.for("react.module.reference");
902
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
903
+ return !!(typeof e == "string" || typeof e == "function" || e === i || e === c || ut || e === s || e === b || e === h || lt || e === x || st || it || ct || 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.
@@ -910,8 +910,8 @@ function jr() {
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
916
  function Se(e) {
917
917
  return e.displayName || "Context";
@@ -919,7 +919,7 @@ function jr() {
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,15 +934,15 @@ 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:
942
+ case v:
943
943
  var r = e;
944
944
  return Se(r) + ".Consumer";
945
- case v:
945
+ case p:
946
946
  var a = e;
947
947
  return Se(a._context) + ".Provider";
948
948
  case f:
@@ -950,10 +950,10 @@ function jr() {
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
  }
@@ -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 `
@@ -1052,63 +1052,63 @@ 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
1058
  R = se.current, se.current = null, pt();
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]; )
1091
+ } catch (O) {
1092
+ if (O && u && typeof O.stack == "string") {
1093
+ for (var d = O.stack.split(`
1094
+ `), k = u.stack.split(`
1095
+ `), E = d.length - 1, S = k.length - 1; E >= 1 && S >= 0 && d[E] !== k[S]; )
1096
1096
  S--;
1097
1097
  for (; E >= 1 && S >= 0; E--, S--)
1098
- if (d[E] !== j[S]) {
1098
+ if (d[E] !== k[S]) {
1099
1099
  if (E !== 1 || S !== 1)
1100
1100
  do
1101
- if (E--, S--, S < 0 || d[E] !== j[S]) {
1102
- var O = `
1101
+ if (E--, S--, S < 0 || d[E] !== k[S]) {
1102
+ var P = `
1103
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;
1104
+ return e.displayName && P.includes("<anonymous>") && (P = P.replace("<anonymous>", e.displayName)), typeof e == "function" && X.set(e, P), P;
1105
1105
  }
1106
1106
  while (E >= 1 && S >= 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, vt(), 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;
@@ -1130,7 +1130,7 @@ function jr() {
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")
@@ -1139,10 +1139,10 @@ function jr() {
1139
1139
  return mt(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,22 +1157,22 @@ function jr() {
1157
1157
  } else
1158
1158
  Ne.setExtraStackFrame(null);
1159
1159
  }
1160
- function bt(e, r, a, u, _) {
1160
+ function bt(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");
1171
+ d = e[m](r, m, u, a, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
1172
1172
  } catch (E) {
1173
1173
  d = E;
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
  }
@@ -1198,7 +1198,7 @@ function jr() {
1198
1198
  }
1199
1199
  function Me(e) {
1200
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);
1201
+ return j("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);
1202
1202
  }
1203
1203
  var Be = U.ReactCurrentOwner, Et = {
1204
1204
  key: !0,
@@ -1228,7 +1228,7 @@ function jr() {
1228
1228
  function jt(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,
@@ -1239,7 +1239,7 @@ function jr() {
1239
1239
  function kt(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 Ot = 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 Pt(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), xt(r) && (Me(r.key), d = "" + r.key), St(r) && (k = r.ref, At(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
1286
  var E = e.defaultProps;
1287
1287
  for (R in E)
1288
- h[R] === void 0 && (h[R] = E[R]);
1288
+ m[R] === void 0 && (m[R] = E[R]);
1289
1289
  }
1290
- if (d || j) {
1290
+ if (d || k) {
1291
1291
  var S = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
1292
- d && jt(h, S), j && kt(h, S);
1292
+ d && jt(m, S), k && kt(m, S);
1293
1293
  }
1294
- return Ot(e, d, j, _, u, Be.current, h);
1294
+ return Ot(e, d, k, y, u, Be.current, m);
1295
1295
  }
1296
1296
  }
1297
1297
  var ue = U.ReactCurrentOwner, Ue = U.ReactDebugCurrentFrame;
@@ -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,10 +1360,10 @@ 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 = ot(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
  }
@@ -1386,10 +1386,10 @@ Check the top-level render call using <` + a + ">.");
1386
1386
  bt(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
1395
  function $t(e) {
@@ -1397,48 +1397,48 @@ Check the top-level render call using <` + a + ">.");
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 = ft(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();
1414
+ var k = wt();
1415
+ k ? d += k : d += Fe();
1416
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);
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, j("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);
1418
1418
  }
1419
- var S = Pt(e, r, a, _, R);
1419
+ var S = Pt(e, r, a, y, R);
1420
1420
  if (S == null)
1421
1421
  return S;
1422
- if (h) {
1423
- var O = r.children;
1424
- if (O !== void 0)
1422
+ if (m) {
1423
+ var P = r.children;
1424
+ if (P !== 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(P)) {
1427
+ for (var W = 0; W < P.length; W++)
1428
+ qe(P[W], e);
1429
+ Object.freeze && Object.freeze(P);
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(P, e);
1434
1434
  }
1435
1435
  if (z.call(r, "key")) {
1436
- var I = $(e), k = Object.keys(r).filter(function(Dt) {
1436
+ var I = $(e), O = Object.keys(r).filter(function(Dt) {
1437
1437
  return Dt !== "key";
1438
- }), pe = k.length > 0 ? "{key: someKey, " + k.join(": ..., ") + ": ...}" : "{key: someKey}";
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 Lt = 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:
@@ -1492,7 +1492,7 @@ function K(t) {
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
  });
@@ -1567,10 +1567,10 @@ 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
  };
@@ -1579,14 +1579,14 @@ function Or(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 = Xt(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 = Xt(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,10 +1595,10 @@ 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
  };
@@ -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
1636
  function cr() {
1637
- return x().page;
1637
+ return A().page;
1638
1638
  }
1639
1639
  function lr() {
1640
- return x().module || "";
1640
+ return A().module || "";
1641
1641
  }
1642
1642
  function zt() {
1643
- return x().tab;
1643
+ return A().tab;
1644
1644
  }
1645
1645
  function ur() {
1646
- return x().id;
1646
+ return A().id;
1647
1647
  }
1648
1648
  function wr(t) {
1649
1649
  let n = (s) => (K({ page: s }), s);
1650
1650
  const [o, i] = C(
1651
- cr() || t && n(t) || x().page
1651
+ cr() || 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,19 +1669,19 @@ 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
1676
  function Cr(t) {
1677
- return x().page === t;
1677
+ return A().page === t;
1678
1678
  }
1679
1679
  function $r() {
1680
- return x().prev;
1680
+ return A().prev;
1681
1681
  }
1682
1682
  function Nr(t, n) {
1683
1683
  const [o, i] = C(
1684
- lr() || t || x().module
1684
+ lr() || t || A().module
1685
1685
  );
1686
1686
  return D(() => (ge({ module: i }), () => {
1687
1687
  const s = V();
@@ -1690,12 +1690,12 @@ function Nr(t, n) {
1690
1690
  }
1691
1691
  function Ir(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
1697
  function Mr(t) {
1698
- return x().module === t;
1698
+ return A().module === t;
1699
1699
  }
1700
1700
  function Br(t, n) {
1701
1701
  if (typeof t != "function") {
@@ -1709,17 +1709,17 @@ function Br(t, n) {
1709
1709
  function Lr(t) {
1710
1710
  let n = (s) => (K({ tab: s }), s);
1711
1711
  const [o, i] = C(
1712
- zt() || t && n(t) || x().tab
1712
+ zt() || 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);
@@ -1730,12 +1730,12 @@ function Lr(t) {
1730
1730
  }
1731
1731
  async function Dr(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
1737
  function Ur(t) {
1738
- return x().tab === t;
1738
+ return A().tab === t;
1739
1739
  }
1740
1740
  function Fr(t) {
1741
1741
  if (typeof t != "function") {
@@ -1766,41 +1766,41 @@ function Wr(t) {
1766
1766
  }
1767
1767
  async function Yr(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
1773
  function qr(t) {
1774
- return Number(x().id) === t;
1774
+ return Number(A().id) === t;
1775
1775
  }
1776
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())
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 = Yt({ basePath: s }) : b = Zt(
1802
1802
  s,
1803
- m,
1803
+ h,
1804
1804
  g
1805
1805
  ) : b || (b = Yt({ basePath: s })), K({
1806
1806
  page: n,
@@ -1813,7 +1813,7 @@ const Re = {
1813
1813
  },
1814
1814
  // Упрощенная функция для создания importModules
1815
1815
  createImportModules: Zt,
1816
- getImportModules: () => x().importModules,
1816
+ getImportModules: () => A().importModules,
1817
1817
  // Методы страниц
1818
1818
  usePage: wr,
1819
1819
  setPage: Tr,
@@ -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(
@@ -1981,16 +1981,16 @@ M.users = {
1981
1981
  };
1982
1982
  const un = () => {
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] = C(!1), [o, i] = C(!1), [s, c] = C("dark"), [p, v] = C(!1), [f, b] = C(!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,27 +2052,27 @@ 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
2078
  f ? /* @__PURE__ */ l.jsx(fn, { setAuthorization: b }) : ""
@@ -2175,26 +2175,27 @@ function Nn({
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] = C(!1), [h, g] = C(
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), () => {
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,13 +2231,13 @@ 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 && dr(_, h)
2240
2241
  ] });
2241
2242
  }
2242
2243
  let Ge = () => {
@@ -2249,21 +2250,21 @@ const fr = ({
2249
2250
  className: s,
2250
2251
  onOpen: c
2251
2252
  }) => {
2252
- const [v, p] = J.useState(!1);
2253
+ const [p, v] = J.useState(!1);
2253
2254
  return Ge = () => {
2254
- p(!0), setTimeout(() => {
2255
+ v(!0), setTimeout(() => {
2255
2256
  var f;
2256
2257
  c == null || c(!1), (f = _e == null ? void 0 : _e.onClose) == null || f.call(_e);
2257
2258
  }, 300);
2258
2259
  }, /* @__PURE__ */ l.jsx(
2259
2260
  "div",
2260
2261
  {
2261
- className: `footer-menu-overlay ${o ? "is-overlay" : ""} ${v ? "closing" : ""} `,
2262
+ className: `footer-menu-overlay ${o ? "is-overlay" : ""} ${p ? "closing" : ""} `,
2262
2263
  onClick: Ge,
2263
2264
  children: /* @__PURE__ */ l.jsxs(
2264
2265
  "div",
2265
2266
  {
2266
- className: `footer-menu-popup-book ${v ? "closing" : ""} ${s || ""} ${i ? "footer" : ""}`,
2267
+ className: `footer-menu-popup-book ${p ? "closing" : ""} ${s || ""} ${i ? "footer" : ""}`,
2267
2268
  onClick: (f) => f.stopPropagation(),
2268
2269
  children: [
2269
2270
  /* @__PURE__ */ l.jsxs("div", { className: "footer-menu-header", children: [
@@ -2303,48 +2304,48 @@ const fr = ({
2303
2304
  toHide: i = !1,
2304
2305
  page: s,
2305
2306
  onPageChange: c,
2306
- direction: v = "row"
2307
+ direction: p = "row"
2307
2308
  }) => {
2308
- const [p, f] = J.useState(null), [b, m] = J.useState(
2309
+ const [v, f] = J.useState(null), [b, h] = J.useState(
2309
2310
  s ? er(t || [], s) : 0
2310
2311
  );
2311
2312
  return _e.onClose = () => {
2312
- f(null), m(s ? er(t || [], s) : 0);
2313
+ f(null), h(s ? er(t || [], s) : 0);
2313
2314
  }, D(() => {
2314
2315
  if (!i)
2315
2316
  return;
2316
- const g = document.querySelectorAll("[contenteditable]"), y = () => {
2317
+ const g = document.querySelectorAll("[contenteditable]"), _ = () => {
2317
2318
  const w = document.querySelector("footer");
2318
2319
  w && w.classList.remove(Ze.x);
2319
- }, P = () => {
2320
+ }, x = () => {
2320
2321
  const w = document.querySelector("footer");
2321
2322
  w && w.classList.add(Ze.x);
2322
2323
  };
2323
2324
  return g.forEach((w) => {
2324
- w.addEventListener("focus", P, !0), w.addEventListener("blur", y, !0);
2325
+ w.addEventListener("focus", x, !0), w.addEventListener("blur", _, !0);
2325
2326
  }), () => {
2326
2327
  g.forEach((w) => {
2327
- w.removeEventListener("focus", P, !0), w.removeEventListener("blur", y, !0);
2328
+ w.removeEventListener("focus", x, !0), w.removeEventListener("blur", _, !0);
2328
2329
  });
2329
2330
  };
2330
2331
  }, []), /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
2331
- p,
2332
+ v,
2332
2333
  /* @__PURE__ */ l.jsxs(
2333
2334
  "footer",
2334
2335
  {
2335
2336
  className: be(
2336
2337
  Ze.h,
2337
- Ze[v === "row" ? "r" : "c"],
2338
+ Ze[p === "row" ? "r" : "c"],
2338
2339
  o
2339
2340
  ),
2340
2341
  children: [
2341
2342
  n,
2342
- t && t.map((g, y) => /* @__PURE__ */ l.jsxs(
2343
+ t && t.map((g, _) => /* @__PURE__ */ l.jsxs(
2343
2344
  "div",
2344
2345
  {
2345
- "data-active": b === y ? "true" : "false",
2346
+ "data-active": b === _ ? "true" : "false",
2346
2347
  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)));
2348
+ g.page && (h(_), c == null || c(g.page)), g.onClick && g.onClick(() => h(_)), g.component && (b === _ ? Ge() : (f(g.component), h(_)));
2348
2349
  },
2349
2350
  children: [
2350
2351
  g.icon,
@@ -2352,7 +2353,7 @@ const fr = ({
2352
2353
  g.badge && /* @__PURE__ */ l.jsx(Fn, { value: g.badge })
2353
2354
  ]
2354
2355
  },
2355
- y
2356
+ _
2356
2357
  ))
2357
2358
  ]
2358
2359
  }
@@ -2372,34 +2373,34 @@ function Jn({
2372
2373
  isScroll: s = !0,
2373
2374
  nextBackButton: c
2374
2375
  }) {
2375
- const [v, p] = C(!1);
2376
+ const [p, v] = C(!1);
2376
2377
  return D(() => {
2377
2378
  if (!i) return;
2378
2379
  const f = c === void 0 ? ro().pop() : c, b = () => {
2379
- p(!1), setTimeout(() => {
2380
+ v(!1), setTimeout(() => {
2380
2381
  rr(f || !1), o == null || o();
2381
2382
  }, 300);
2382
2383
  };
2383
2384
  qt[n] = {
2384
2385
  onClose: b,
2385
2386
  onOpen: () => {
2386
- p(!0);
2387
+ v(!0);
2387
2388
  }
2388
2389
  }, rr({
2389
2390
  callback: b
2390
2391
  });
2391
- const m = setTimeout(() => {
2392
- p(!0);
2392
+ const h = setTimeout(() => {
2393
+ v(!0);
2393
2394
  }, 10);
2394
2395
  return () => {
2395
- clearTimeout(m);
2396
+ clearTimeout(h);
2396
2397
  };
2397
2398
  }, [i]), i ? /* @__PURE__ */ l.jsxs(
2398
2399
  "div",
2399
2400
  {
2400
2401
  className: be(
2401
2402
  Qe.w,
2402
- v && Qe.v,
2403
+ p && Qe.v,
2403
2404
  s && Qe.s
2404
2405
  ),
2405
2406
  children: [
@@ -2424,14 +2425,14 @@ function Xn({
2424
2425
  isLoading: s,
2425
2426
  isScrollBar: c = !1
2426
2427
  }) {
2427
- const [v, p] = C(s || !1);
2428
+ const [p, v] = C(s || !1);
2428
2429
  D(() => {
2429
- p(s || !1);
2430
+ v(s || !1);
2430
2431
  }, [s]);
2431
2432
  let f = {
2432
2433
  onScroll: (b) => {
2433
- const { scrollTop: m, scrollHeight: g, clientHeight: y } = b.currentTarget;
2434
- m + y >= g - i && !v && (p(!0), o == null || o());
2434
+ const { scrollTop: h, scrollHeight: g, clientHeight: _ } = b.currentTarget;
2435
+ h + _ >= g - i && !p && (v(!0), o == null || o());
2435
2436
  }
2436
2437
  };
2437
2438
  return /* @__PURE__ */ l.jsx(
@@ -2495,8 +2496,8 @@ var T;
2495
2496
  }) : i();
2496
2497
  }, t.Notice = {
2497
2498
  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));
2499
+ var c, p;
2500
+ 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
2501
  },
2501
2502
  Error: (o) => {
2502
2503
  var i;