@elcrm/telegram 0.0.114 → 0.0.116

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 F, { useState as J, useEffect as fe } from "react";
1
+ import F, { useState as J, useEffect as de } from "react";
2
2
  import { createPortal as or } from "react-dom";
3
- import './index.css';var Wt = { exports: {} }, rt = {};
3
+ import './index.css';var Ft = { exports: {} }, rt = {};
4
4
  /**
5
5
  * @license React
6
6
  * react-jsx-runtime.production.min.js
@@ -10,19 +10,19 @@ import './index.css';var Wt = { exports: {} }, rt = {};
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 Yt;
13
+ var Ut;
14
14
  function ar() {
15
- if (Yt) return rt;
16
- Yt = 1;
15
+ if (Ut) return rt;
16
+ Ut = 1;
17
17
  var r = F, n = Symbol.for("react.element"), a = Symbol.for("react.fragment"), c = Object.prototype.hasOwnProperty, l = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, p = { key: !0, ref: !0, __self: !0, __source: !0 };
18
- function k(m, u, R) {
18
+ function x(m, u, R) {
19
19
  var h, b = {}, y = null, T = null;
20
20
  R !== void 0 && (y = "" + R), u.key !== void 0 && (y = "" + u.key), u.ref !== void 0 && (T = u.ref);
21
21
  for (h in u) c.call(u, h) && !p.hasOwnProperty(h) && (b[h] = u[h]);
22
22
  if (m && m.defaultProps) for (h in u = m.defaultProps, u) b[h] === void 0 && (b[h] = u[h]);
23
23
  return { $$typeof: n, type: m, key: y, ref: T, props: b, _owner: l.current };
24
24
  }
25
- return rt.Fragment = a, rt.jsx = k, rt.jsxs = k, rt;
25
+ return rt.Fragment = a, rt.jsx = x, rt.jsxs = x, rt;
26
26
  }
27
27
  var nt = {};
28
28
  /**
@@ -34,11 +34,11 @@ var nt = {};
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 Vt;
37
+ var Yt;
38
38
  function sr() {
39
- return Vt || (Vt = 1, process.env.NODE_ENV !== "production" && function() {
40
- var r = F, n = Symbol.for("react.element"), a = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), l = Symbol.for("react.strict_mode"), p = Symbol.for("react.profiler"), k = Symbol.for("react.provider"), m = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), R = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), b = Symbol.for("react.memo"), y = Symbol.for("react.lazy"), T = Symbol.for("react.offscreen"), P = Symbol.iterator, $e = "@@iterator";
41
- function pe(e) {
39
+ return Yt || (Yt = 1, process.env.NODE_ENV !== "production" && function() {
40
+ var r = F, n = Symbol.for("react.element"), a = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), l = Symbol.for("react.strict_mode"), p = Symbol.for("react.profiler"), x = Symbol.for("react.provider"), m = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), R = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), b = Symbol.for("react.memo"), y = Symbol.for("react.lazy"), T = Symbol.for("react.offscreen"), P = Symbol.iterator, $e = "@@iterator";
41
+ function ve(e) {
42
42
  if (e === null || typeof e != "object")
43
43
  return null;
44
44
  var t = P && e[P] || e[$e];
@@ -65,7 +65,7 @@ function sr() {
65
65
  var Be = !1, Ae = !1, Ie = !1, Me = !1, _ = !1, E;
66
66
  E = Symbol.for("react.module.reference");
67
67
  function B(e) {
68
- return !!(typeof e == "string" || typeof e == "function" || e === c || e === p || _ || e === l || e === R || e === h || Me || e === T || Be || Ae || Ie || typeof e == "object" && e !== null && (e.$$typeof === y || e.$$typeof === b || e.$$typeof === k || e.$$typeof === m || e.$$typeof === u || // This needs to include all possible module reference object
68
+ return !!(typeof e == "string" || typeof e == "function" || e === c || e === p || _ || e === l || e === R || e === h || Me || e === T || Be || Ae || Ie || typeof e == "object" && e !== null && (e.$$typeof === y || e.$$typeof === b || e.$$typeof === x || e.$$typeof === m || e.$$typeof === u || // 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.
@@ -107,7 +107,7 @@ function sr() {
107
107
  case m:
108
108
  var t = e;
109
109
  return I(t) + ".Consumer";
110
- case k:
110
+ case x:
111
111
  var o = e;
112
112
  return I(o._context) + ".Provider";
113
113
  case u:
@@ -188,27 +188,27 @@ function sr() {
188
188
  Y < 0 && j("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
189
189
  }
190
190
  }
191
- var ve = W.ReactCurrentDispatcher, he;
191
+ var he = W.ReactCurrentDispatcher, ye;
192
192
  function re(e, t, o) {
193
193
  {
194
- if (he === void 0)
194
+ if (ye === void 0)
195
195
  try {
196
196
  throw Error();
197
197
  } catch (v) {
198
198
  var s = v.stack.trim().match(/\n( *(at )?)/);
199
- he = s && s[1] || "";
199
+ ye = s && s[1] || "";
200
200
  }
201
201
  return `
202
- ` + he + e;
202
+ ` + ye + e;
203
203
  }
204
204
  }
205
- var ye = !1, ne;
205
+ var ge = !1, ne;
206
206
  {
207
207
  var pt = typeof WeakMap == "function" ? WeakMap : Map;
208
208
  ne = new pt();
209
209
  }
210
210
  function Le(e, t) {
211
- if (!e || ye)
211
+ if (!e || ge)
212
212
  return "";
213
213
  {
214
214
  var o = ne.get(e);
@@ -216,11 +216,11 @@ function sr() {
216
216
  return o;
217
217
  }
218
218
  var s;
219
- ye = !0;
219
+ ge = !0;
220
220
  var v = Error.prepareStackTrace;
221
221
  Error.prepareStackTrace = void 0;
222
222
  var g;
223
- g = ve.current, ve.current = null, ft();
223
+ g = he.current, he.current = null, ft();
224
224
  try {
225
225
  if (t) {
226
226
  var d = function() {
@@ -257,23 +257,23 @@ function sr() {
257
257
  if (C && s && typeof C.stack == "string") {
258
258
  for (var f = C.stack.split(`
259
259
  `), O = s.stack.split(`
260
- `), S = f.length - 1, x = O.length - 1; S >= 1 && x >= 0 && f[S] !== O[x]; )
261
- x--;
262
- for (; S >= 1 && x >= 0; S--, x--)
263
- if (f[S] !== O[x]) {
264
- if (S !== 1 || x !== 1)
260
+ `), S = f.length - 1, k = O.length - 1; S >= 1 && k >= 0 && f[S] !== O[k]; )
261
+ k--;
262
+ for (; S >= 1 && k >= 0; S--, k--)
263
+ if (f[S] !== O[k]) {
264
+ if (S !== 1 || k !== 1)
265
265
  do
266
- if (S--, x--, x < 0 || f[S] !== O[x]) {
266
+ if (S--, k--, k < 0 || f[S] !== O[k]) {
267
267
  var w = `
268
268
  ` + f[S].replace(" at new ", " at ");
269
269
  return e.displayName && w.includes("<anonymous>") && (w = w.replace("<anonymous>", e.displayName)), typeof e == "function" && ne.set(e, w), w;
270
270
  }
271
- while (S >= 1 && x >= 0);
271
+ while (S >= 1 && k >= 0);
272
272
  break;
273
273
  }
274
274
  }
275
275
  } finally {
276
- ye = !1, ve.current = g, dt(), Error.prepareStackTrace = v;
276
+ ge = !1, he.current = g, dt(), Error.prepareStackTrace = v;
277
277
  }
278
278
  var z = e ? e.displayName || e.name : "", L = z ? re(z) : "";
279
279
  return typeof e == "function" && ne.set(e, L), L;
@@ -342,7 +342,7 @@ function sr() {
342
342
  }
343
343
  }
344
344
  var gt = Array.isArray;
345
- function ge(e) {
345
+ function me(e) {
346
346
  return gt(e);
347
347
  }
348
348
  function mt(e) {
@@ -387,10 +387,10 @@ function sr() {
387
387
  }
388
388
  return e.key !== void 0;
389
389
  }
390
- function kt(e, t) {
390
+ function xt(e, t) {
391
391
  typeof e.ref == "string" && qe.current;
392
392
  }
393
- function xt(e, t) {
393
+ function kt(e, t) {
394
394
  {
395
395
  var o = function() {
396
396
  He || (He = !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)", t));
@@ -444,7 +444,7 @@ function sr() {
444
444
  function Ot(e, t, o, s, v) {
445
445
  {
446
446
  var g, d = {}, f = null, O = null;
447
- o !== void 0 && (ze(o), f = "" + o), St(t) && (ze(t.key), f = "" + t.key), Rt(t) && (O = t.ref, kt(t, v));
447
+ o !== void 0 && (ze(o), f = "" + o), St(t) && (ze(t.key), f = "" + t.key), Rt(t) && (O = t.ref, xt(t, v));
448
448
  for (g in t)
449
449
  K.call(t, g) && !_t.hasOwnProperty(g) && (d[g] = t[g]);
450
450
  if (e && e.defaultProps) {
@@ -453,13 +453,13 @@ function sr() {
453
453
  d[g] === void 0 && (d[g] = S[g]);
454
454
  }
455
455
  if (f || O) {
456
- var x = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
457
- f && xt(d, x), O && Et(d, x);
456
+ var k = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
457
+ f && kt(d, k), O && Et(d, k);
458
458
  }
459
459
  return jt(e, f, O, v, s, qe.current, d);
460
460
  }
461
461
  }
462
- var me = W.ReactCurrentOwner, Ke = W.ReactDebugCurrentFrame;
462
+ var be = W.ReactCurrentOwner, Ke = W.ReactDebugCurrentFrame;
463
463
  function V(e) {
464
464
  if (e) {
465
465
  var t = e._owner, o = oe(e.type, e._source, t ? t.type : null);
@@ -467,15 +467,15 @@ function sr() {
467
467
  } else
468
468
  Ke.setExtraStackFrame(null);
469
469
  }
470
- var be;
471
- be = !1;
472
- function _e(e) {
470
+ var _e;
471
+ _e = !1;
472
+ function Re(e) {
473
473
  return typeof e == "object" && e !== null && e.$$typeof === n;
474
474
  }
475
475
  function Ge() {
476
476
  {
477
- if (me.current) {
478
- var e = $(me.current.type);
477
+ if (be.current) {
478
+ var e = $(be.current.type);
479
479
  if (e)
480
480
  return `
481
481
 
@@ -510,25 +510,25 @@ Check the top-level render call using <` + o + ">.");
510
510
  return;
511
511
  Ze[o] = !0;
512
512
  var s = "";
513
- e && e._owner && e._owner !== me.current && (s = " It was passed a child from " + $(e._owner.type) + "."), V(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.', o, s), V(null);
513
+ e && e._owner && e._owner !== be.current && (s = " It was passed a child from " + $(e._owner.type) + "."), V(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.', o, s), V(null);
514
514
  }
515
515
  }
516
516
  function Qe(e, t) {
517
517
  {
518
518
  if (typeof e != "object")
519
519
  return;
520
- if (ge(e))
520
+ if (me(e))
521
521
  for (var o = 0; o < e.length; o++) {
522
522
  var s = e[o];
523
- _e(s) && Xe(s, t);
523
+ Re(s) && Xe(s, t);
524
524
  }
525
- else if (_e(e))
525
+ else if (Re(e))
526
526
  e._store && (e._store.validated = !0);
527
527
  else if (e) {
528
- var v = pe(e);
528
+ var v = ve(e);
529
529
  if (typeof v == "function" && v !== e.entries)
530
530
  for (var g = v.call(e), d; !(d = g.next()).done; )
531
- _e(d.value) && Xe(d.value, t);
531
+ Re(d.value) && Xe(d.value, t);
532
532
  }
533
533
  }
534
534
  }
@@ -549,8 +549,8 @@ Check the top-level render call using <` + o + ">.");
549
549
  if (o) {
550
550
  var s = $(t);
551
551
  yt(o, e.props, "prop", s, e);
552
- } else if (t.PropTypes !== void 0 && !be) {
553
- be = !0;
552
+ } else if (t.PropTypes !== void 0 && !_e) {
553
+ _e = !0;
554
554
  var v = $(t);
555
555
  j("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", v || "Unknown");
556
556
  }
@@ -579,16 +579,16 @@ Check the top-level render call using <` + o + ">.");
579
579
  var O = At();
580
580
  O ? f += O : f += Ge();
581
581
  var S;
582
- e === null ? S = "null" : ge(e) ? S = "array" : e !== void 0 && e.$$typeof === n ? (S = "<" + ($(e.type) || "Unknown") + " />", f = " 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, f);
582
+ e === null ? S = "null" : me(e) ? S = "array" : e !== void 0 && e.$$typeof === n ? (S = "<" + ($(e.type) || "Unknown") + " />", f = " 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, f);
583
583
  }
584
- var x = Ot(e, t, o, v, g);
585
- if (x == null)
586
- return x;
584
+ var k = Ot(e, t, o, v, g);
585
+ if (k == null)
586
+ return k;
587
587
  if (d) {
588
588
  var w = t.children;
589
589
  if (w !== void 0)
590
590
  if (s)
591
- if (ge(w)) {
591
+ if (me(w)) {
592
592
  for (var z = 0; z < w.length; z++)
593
593
  Qe(w[z], e);
594
594
  Object.freeze && Object.freeze(w);
@@ -600,18 +600,18 @@ Check the top-level render call using <` + o + ">.");
600
600
  if (K.call(t, "key")) {
601
601
  var L = $(e), C = Object.keys(t).filter(function(Mt) {
602
602
  return Mt !== "key";
603
- }), Re = C.length > 0 ? "{key: someKey, " + C.join(": ..., ") + ": ...}" : "{key: someKey}";
604
- if (!et[L + Re]) {
603
+ }), Se = C.length > 0 ? "{key: someKey, " + C.join(": ..., ") + ": ...}" : "{key: someKey}";
604
+ if (!et[L + Se]) {
605
605
  var It = C.length > 0 ? "{" + C.join(": ..., ") + ": ...}" : "{}";
606
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} />`, Re, L, It, L), et[L + Re] = !0;
611
+ <%s key={someKey} {...props} />`, Se, L, It, L), et[L + Se] = !0;
612
612
  }
613
613
  }
614
- return e === c ? wt(x) : Pt(x), x;
614
+ return e === c ? wt(k) : Pt(k), k;
615
615
  }
616
616
  }
617
617
  function Tt(e, t, o) {
@@ -624,8 +624,8 @@ React keys must be passed directly to JSX without using spread:
624
624
  nt.Fragment = c, nt.jsx = Nt, nt.jsxs = Bt;
625
625
  }()), nt;
626
626
  }
627
- process.env.NODE_ENV === "production" ? Wt.exports = ar() : Wt.exports = sr();
628
- var i = Wt.exports;
627
+ process.env.NODE_ENV === "production" ? Ft.exports = ar() : Ft.exports = sr();
628
+ var i = Ft.exports;
629
629
  const ir = "_o_1apbm_11", lr = "_x_1apbm_24", cr = "_p_1apbm_28", ur = "_m_1apbm_45", Ce = {
630
630
  o: ir,
631
631
  x: lr,
@@ -633,7 +633,7 @@ const ir = "_o_1apbm_11", lr = "_x_1apbm_24", cr = "_p_1apbm_28", ur = "_m_1apbm
633
633
  m: ur
634
634
  };
635
635
  let q = {};
636
- var Lt;
636
+ var Wt;
637
637
  ((r) => {
638
638
  function n({
639
639
  children: m,
@@ -646,7 +646,7 @@ var Lt;
646
646
  N.BackButton(!1), P(!0), setTimeout(() => {
647
647
  y(!1), P(!1), u == null || u(), q.x(R);
648
648
  }, 300);
649
- }, fe(() => {
649
+ }, de(() => {
650
650
  b ? q[R].onClose() : (N.BackButton({
651
651
  callback: () => q[R].onClose()
652
652
  }), y(!0));
@@ -670,7 +670,7 @@ var Lt;
670
670
  let [u, R] = J([]);
671
671
  return q.x = (h) => {
672
672
  R(h ? u.filter((b) => b.key !== h) : []);
673
- }, fe(() => {
673
+ }, de(() => {
674
674
  m && (q.i = m);
675
675
  }, []), q.add = (h, b = Date.now()) => {
676
676
  R([...u, { key: b, item: h }]);
@@ -720,13 +720,13 @@ var Lt;
720
720
  q[m].onClose();
721
721
  }
722
722
  r.Close = p;
723
- function k(m, u, R, h) {
723
+ function x(m, u, R, h) {
724
724
  q.i && (h && (R.callback = h), q.i(`${m}/modals/${u}.tsx`).then((b) => {
725
725
  b.default.Open(R);
726
726
  }));
727
727
  }
728
- r.Open = k;
729
- })(Lt || (Lt = {}));
728
+ r.Open = x;
729
+ })(Wt || (Wt = {}));
730
730
  function Xt() {
731
731
  return typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof self < "u" ? self : typeof global < "u" ? global : {};
732
732
  }
@@ -735,7 +735,7 @@ const Qt = {
735
735
  iterations: 7,
736
736
  saltLength: 16
737
737
  };
738
- function zt(r) {
738
+ function Vt(r) {
739
739
  const n = Xt();
740
740
  n.CRYPTO_PARAMS ? n.CRYPTO_PARAMS = { ...n.CRYPTO_PARAMS, ...r } : n.CRYPTO_PARAMS = { ...Qt, ...r };
741
741
  }
@@ -767,8 +767,8 @@ const ct = (r) => {
767
767
  const a = new Uint8Array(r.length), c = new Uint8Array(r.length);
768
768
  let l = 0;
769
769
  for (let p = 0; p < r.length; p++) {
770
- const k = p % n.length;
771
- l = n[k] + p + l & 255, c[p] = l;
770
+ const x = p % n.length;
771
+ l = n[x] + p + l & 255, c[p] = l;
772
772
  }
773
773
  for (let p = 0; p < r.length; p++)
774
774
  a[p] = r[p] ^ c[p];
@@ -789,8 +789,8 @@ const ct = (r) => {
789
789
  try {
790
790
  const n = ct(
791
791
  Date.now().toString() + Math.random()
792
- ).substring(0, lt().saltLength * 2), a = ct(r + n).substring(0, 8), c = er(lt().key, n), l = fr(r), p = tr(l, c), k = pr(p);
793
- return `${n}.${k}.${a}`;
792
+ ).substring(0, lt().saltLength * 2), a = ct(r + n).substring(0, 8), c = er(lt().key, n), l = fr(r), p = tr(l, c), x = pr(p);
793
+ return `${n}.${x}.${a}`;
794
794
  } catch {
795
795
  throw new Error("Не удалось зашифровать данные");
796
796
  }
@@ -799,7 +799,7 @@ const ct = (r) => {
799
799
  const n = r.split(".");
800
800
  if (n.length !== 3)
801
801
  throw new Error("Неверный формат зашифрованных данных");
802
- const a = n[0], c = n[1], l = n[2], p = er(lt().key, a), k = vr(c), m = tr(k, p), u = dr(m);
802
+ const a = n[0], c = n[1], l = n[2], p = er(lt().key, a), x = vr(c), m = tr(x, p), u = dr(m);
803
803
  if (ct(u + a).substring(
804
804
  0,
805
805
  8
@@ -813,7 +813,7 @@ const ct = (r) => {
813
813
  var ue;
814
814
  ((r) => {
815
815
  r.setKey = (n) => {
816
- zt({ key: n });
816
+ Vt({ key: n });
817
817
  }, r.enCode = (n) => {
818
818
  try {
819
819
  const a = JSON.stringify(n);
@@ -831,7 +831,7 @@ var ue;
831
831
  return !1;
832
832
  }
833
833
  }, r.setSecurityParams = (n, a) => {
834
- zt({ iterations: n, saltLength: a });
834
+ Vt({ iterations: n, saltLength: a });
835
835
  };
836
836
  })(ue || (ue = {}));
837
837
  var ot = {};
@@ -844,19 +844,19 @@ var ot = {};
844
844
  * This source code is licensed under the MIT license found in the
845
845
  * LICENSE file in the root directory of this source tree.
846
846
  */
847
- var qt;
847
+ var zt;
848
848
  function gr() {
849
- if (qt) return ot;
850
- qt = 1;
849
+ if (zt) return ot;
850
+ zt = 1;
851
851
  var r = F, n = Symbol.for("react.element"), a = Symbol.for("react.fragment"), c = Object.prototype.hasOwnProperty, l = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, p = { key: !0, ref: !0, __self: !0, __source: !0 };
852
- function k(m, u, R) {
852
+ function x(m, u, R) {
853
853
  var h, b = {}, y = null, T = null;
854
854
  R !== void 0 && (y = "" + R), u.key !== void 0 && (y = "" + u.key), u.ref !== void 0 && (T = u.ref);
855
855
  for (h in u) c.call(u, h) && !p.hasOwnProperty(h) && (b[h] = u[h]);
856
856
  if (m && m.defaultProps) for (h in u = m.defaultProps, u) b[h] === void 0 && (b[h] = u[h]);
857
857
  return { $$typeof: n, type: m, key: y, ref: T, props: b, _owner: l.current };
858
858
  }
859
- return ot.Fragment = a, ot.jsx = k, ot.jsxs = k, ot;
859
+ return ot.Fragment = a, ot.jsx = x, ot.jsxs = x, ot;
860
860
  }
861
861
  var st = {};
862
862
  /**
@@ -868,11 +868,11 @@ var st = {};
868
868
  * This source code is licensed under the MIT license found in the
869
869
  * LICENSE file in the root directory of this source tree.
870
870
  */
871
- var Ht;
871
+ var qt;
872
872
  function mr() {
873
- return Ht || (Ht = 1, process.env.NODE_ENV !== "production" && function() {
874
- var r = F, n = Symbol.for("react.element"), a = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), l = Symbol.for("react.strict_mode"), p = Symbol.for("react.profiler"), k = Symbol.for("react.provider"), m = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), R = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), b = Symbol.for("react.memo"), y = Symbol.for("react.lazy"), T = Symbol.for("react.offscreen"), P = Symbol.iterator, $e = "@@iterator";
875
- function pe(e) {
873
+ return qt || (qt = 1, process.env.NODE_ENV !== "production" && function() {
874
+ var r = F, n = Symbol.for("react.element"), a = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), l = Symbol.for("react.strict_mode"), p = Symbol.for("react.profiler"), x = Symbol.for("react.provider"), m = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), R = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), b = Symbol.for("react.memo"), y = Symbol.for("react.lazy"), T = Symbol.for("react.offscreen"), P = Symbol.iterator, $e = "@@iterator";
875
+ function ve(e) {
876
876
  if (e === null || typeof e != "object")
877
877
  return null;
878
878
  var t = P && e[P] || e[$e];
@@ -899,7 +899,7 @@ function mr() {
899
899
  var Be = !1, Ae = !1, Ie = !1, Me = !1, _ = !1, E;
900
900
  E = Symbol.for("react.module.reference");
901
901
  function B(e) {
902
- return !!(typeof e == "string" || typeof e == "function" || e === c || e === p || _ || e === l || e === R || e === h || Me || e === T || Be || Ae || Ie || typeof e == "object" && e !== null && (e.$$typeof === y || e.$$typeof === b || e.$$typeof === k || e.$$typeof === m || e.$$typeof === u || // This needs to include all possible module reference object
902
+ return !!(typeof e == "string" || typeof e == "function" || e === c || e === p || _ || e === l || e === R || e === h || Me || e === T || Be || Ae || Ie || typeof e == "object" && e !== null && (e.$$typeof === y || e.$$typeof === b || e.$$typeof === x || e.$$typeof === m || e.$$typeof === u || // This needs to include all possible module reference object
903
903
  // types supported by any Flight configuration anywhere since
904
904
  // we don't know which Flight build this will end up being used
905
905
  // with.
@@ -941,7 +941,7 @@ function mr() {
941
941
  case m:
942
942
  var t = e;
943
943
  return I(t) + ".Consumer";
944
- case k:
944
+ case x:
945
945
  var o = e;
946
946
  return I(o._context) + ".Provider";
947
947
  case u:
@@ -1022,27 +1022,27 @@ function mr() {
1022
1022
  Y < 0 && j("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
1023
1023
  }
1024
1024
  }
1025
- var ve = W.ReactCurrentDispatcher, he;
1025
+ var he = W.ReactCurrentDispatcher, ye;
1026
1026
  function re(e, t, o) {
1027
1027
  {
1028
- if (he === void 0)
1028
+ if (ye === void 0)
1029
1029
  try {
1030
1030
  throw Error();
1031
1031
  } catch (v) {
1032
1032
  var s = v.stack.trim().match(/\n( *(at )?)/);
1033
- he = s && s[1] || "";
1033
+ ye = s && s[1] || "";
1034
1034
  }
1035
1035
  return `
1036
- ` + he + e;
1036
+ ` + ye + e;
1037
1037
  }
1038
1038
  }
1039
- var ye = !1, ne;
1039
+ var ge = !1, ne;
1040
1040
  {
1041
1041
  var pt = typeof WeakMap == "function" ? WeakMap : Map;
1042
1042
  ne = new pt();
1043
1043
  }
1044
1044
  function Le(e, t) {
1045
- if (!e || ye)
1045
+ if (!e || ge)
1046
1046
  return "";
1047
1047
  {
1048
1048
  var o = ne.get(e);
@@ -1050,11 +1050,11 @@ function mr() {
1050
1050
  return o;
1051
1051
  }
1052
1052
  var s;
1053
- ye = !0;
1053
+ ge = !0;
1054
1054
  var v = Error.prepareStackTrace;
1055
1055
  Error.prepareStackTrace = void 0;
1056
1056
  var g;
1057
- g = ve.current, ve.current = null, ft();
1057
+ g = he.current, he.current = null, ft();
1058
1058
  try {
1059
1059
  if (t) {
1060
1060
  var d = function() {
@@ -1091,23 +1091,23 @@ function mr() {
1091
1091
  if (C && s && typeof C.stack == "string") {
1092
1092
  for (var f = C.stack.split(`
1093
1093
  `), O = s.stack.split(`
1094
- `), S = f.length - 1, x = O.length - 1; S >= 1 && x >= 0 && f[S] !== O[x]; )
1095
- x--;
1096
- for (; S >= 1 && x >= 0; S--, x--)
1097
- if (f[S] !== O[x]) {
1098
- if (S !== 1 || x !== 1)
1094
+ `), S = f.length - 1, k = O.length - 1; S >= 1 && k >= 0 && f[S] !== O[k]; )
1095
+ k--;
1096
+ for (; S >= 1 && k >= 0; S--, k--)
1097
+ if (f[S] !== O[k]) {
1098
+ if (S !== 1 || k !== 1)
1099
1099
  do
1100
- if (S--, x--, x < 0 || f[S] !== O[x]) {
1100
+ if (S--, k--, k < 0 || f[S] !== O[k]) {
1101
1101
  var w = `
1102
1102
  ` + f[S].replace(" at new ", " at ");
1103
1103
  return e.displayName && w.includes("<anonymous>") && (w = w.replace("<anonymous>", e.displayName)), typeof e == "function" && ne.set(e, w), w;
1104
1104
  }
1105
- while (S >= 1 && x >= 0);
1105
+ while (S >= 1 && k >= 0);
1106
1106
  break;
1107
1107
  }
1108
1108
  }
1109
1109
  } finally {
1110
- ye = !1, ve.current = g, dt(), Error.prepareStackTrace = v;
1110
+ ge = !1, he.current = g, dt(), Error.prepareStackTrace = v;
1111
1111
  }
1112
1112
  var z = e ? e.displayName || e.name : "", L = z ? re(z) : "";
1113
1113
  return typeof e == "function" && ne.set(e, L), L;
@@ -1176,7 +1176,7 @@ function mr() {
1176
1176
  }
1177
1177
  }
1178
1178
  var gt = Array.isArray;
1179
- function ge(e) {
1179
+ function me(e) {
1180
1180
  return gt(e);
1181
1181
  }
1182
1182
  function mt(e) {
@@ -1221,10 +1221,10 @@ function mr() {
1221
1221
  }
1222
1222
  return e.key !== void 0;
1223
1223
  }
1224
- function kt(e, t) {
1224
+ function xt(e, t) {
1225
1225
  typeof e.ref == "string" && qe.current;
1226
1226
  }
1227
- function xt(e, t) {
1227
+ function kt(e, t) {
1228
1228
  {
1229
1229
  var o = function() {
1230
1230
  He || (He = !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)", t));
@@ -1278,7 +1278,7 @@ function mr() {
1278
1278
  function Ot(e, t, o, s, v) {
1279
1279
  {
1280
1280
  var g, d = {}, f = null, O = null;
1281
- o !== void 0 && (ze(o), f = "" + o), St(t) && (ze(t.key), f = "" + t.key), Rt(t) && (O = t.ref, kt(t));
1281
+ o !== void 0 && (ze(o), f = "" + o), St(t) && (ze(t.key), f = "" + t.key), Rt(t) && (O = t.ref, xt(t));
1282
1282
  for (g in t)
1283
1283
  K.call(t, g) && !_t.hasOwnProperty(g) && (d[g] = t[g]);
1284
1284
  if (e && e.defaultProps) {
@@ -1287,13 +1287,13 @@ function mr() {
1287
1287
  d[g] === void 0 && (d[g] = S[g]);
1288
1288
  }
1289
1289
  if (f || O) {
1290
- var x = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
1291
- f && xt(d, x), O && Et(d, x);
1290
+ var k = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
1291
+ f && kt(d, k), O && Et(d, k);
1292
1292
  }
1293
1293
  return jt(e, f, O, v, s, qe.current, d);
1294
1294
  }
1295
1295
  }
1296
- var me = W.ReactCurrentOwner, Ke = W.ReactDebugCurrentFrame;
1296
+ var be = W.ReactCurrentOwner, Ke = W.ReactDebugCurrentFrame;
1297
1297
  function V(e) {
1298
1298
  if (e) {
1299
1299
  var t = e._owner, o = oe(e.type, e._source, t ? t.type : null);
@@ -1301,15 +1301,15 @@ function mr() {
1301
1301
  } else
1302
1302
  Ke.setExtraStackFrame(null);
1303
1303
  }
1304
- var be;
1305
- be = !1;
1306
- function _e(e) {
1304
+ var _e;
1305
+ _e = !1;
1306
+ function Re(e) {
1307
1307
  return typeof e == "object" && e !== null && e.$$typeof === n;
1308
1308
  }
1309
1309
  function Ge() {
1310
1310
  {
1311
- if (me.current) {
1312
- var e = $(me.current.type);
1311
+ if (be.current) {
1312
+ var e = $(be.current.type);
1313
1313
  if (e)
1314
1314
  return `
1315
1315
 
@@ -1344,25 +1344,25 @@ Check the top-level render call using <` + o + ">.");
1344
1344
  return;
1345
1345
  Ze[o] = !0;
1346
1346
  var s = "";
1347
- e && e._owner && e._owner !== me.current && (s = " It was passed a child from " + $(e._owner.type) + "."), V(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.', o, s), V(null);
1347
+ e && e._owner && e._owner !== be.current && (s = " It was passed a child from " + $(e._owner.type) + "."), V(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.', o, s), V(null);
1348
1348
  }
1349
1349
  }
1350
1350
  function Qe(e, t) {
1351
1351
  {
1352
1352
  if (typeof e != "object")
1353
1353
  return;
1354
- if (ge(e))
1354
+ if (me(e))
1355
1355
  for (var o = 0; o < e.length; o++) {
1356
1356
  var s = e[o];
1357
- _e(s) && Xe(s, t);
1357
+ Re(s) && Xe(s, t);
1358
1358
  }
1359
- else if (_e(e))
1359
+ else if (Re(e))
1360
1360
  e._store && (e._store.validated = !0);
1361
1361
  else if (e) {
1362
- var v = pe(e);
1362
+ var v = ve(e);
1363
1363
  if (typeof v == "function" && v !== e.entries)
1364
1364
  for (var g = v.call(e), d; !(d = g.next()).done; )
1365
- _e(d.value) && Xe(d.value, t);
1365
+ Re(d.value) && Xe(d.value, t);
1366
1366
  }
1367
1367
  }
1368
1368
  }
@@ -1383,8 +1383,8 @@ Check the top-level render call using <` + o + ">.");
1383
1383
  if (o) {
1384
1384
  var s = $(t);
1385
1385
  yt(o, e.props, "prop", s, e);
1386
- } else if (t.PropTypes !== void 0 && !be) {
1387
- be = !0;
1386
+ } else if (t.PropTypes !== void 0 && !_e) {
1387
+ _e = !0;
1388
1388
  var v = $(t);
1389
1389
  j("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", v || "Unknown");
1390
1390
  }
@@ -1413,16 +1413,16 @@ Check the top-level render call using <` + o + ">.");
1413
1413
  var O = At();
1414
1414
  O ? f += O : f += Ge();
1415
1415
  var S;
1416
- e === null ? S = "null" : ge(e) ? S = "array" : e !== void 0 && e.$$typeof === n ? (S = "<" + ($(e.type) || "Unknown") + " />", f = " 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, f);
1416
+ e === null ? S = "null" : me(e) ? S = "array" : e !== void 0 && e.$$typeof === n ? (S = "<" + ($(e.type) || "Unknown") + " />", f = " 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, f);
1417
1417
  }
1418
- var x = Ot(e, t, o, v, g);
1419
- if (x == null)
1420
- return x;
1418
+ var k = Ot(e, t, o, v, g);
1419
+ if (k == null)
1420
+ return k;
1421
1421
  if (d) {
1422
1422
  var w = t.children;
1423
1423
  if (w !== void 0)
1424
1424
  if (s)
1425
- if (ge(w)) {
1425
+ if (me(w)) {
1426
1426
  for (var z = 0; z < w.length; z++)
1427
1427
  Qe(w[z], e);
1428
1428
  Object.freeze && Object.freeze(w);
@@ -1434,18 +1434,18 @@ Check the top-level render call using <` + o + ">.");
1434
1434
  if (K.call(t, "key")) {
1435
1435
  var L = $(e), C = Object.keys(t).filter(function(Mt) {
1436
1436
  return Mt !== "key";
1437
- }), Re = C.length > 0 ? "{key: someKey, " + C.join(": ..., ") + ": ...}" : "{key: someKey}";
1438
- if (!et[L + Re]) {
1437
+ }), Se = C.length > 0 ? "{key: someKey, " + C.join(": ..., ") + ": ...}" : "{key: someKey}";
1438
+ if (!et[L + Se]) {
1439
1439
  var It = C.length > 0 ? "{" + C.join(": ..., ") + ": ...}" : "{}";
1440
1440
  j(`A props object containing a "key" prop is being spread into JSX:
1441
1441
  let props = %s;
1442
1442
  <%s {...props} />
1443
1443
  React keys must be passed directly to JSX without using spread:
1444
1444
  let props = %s;
1445
- <%s key={someKey} {...props} />`, Re, L, It, L), et[L + Re] = !0;
1445
+ <%s key={someKey} {...props} />`, Se, L, It, L), et[L + Se] = !0;
1446
1446
  }
1447
1447
  }
1448
- return e === c ? wt(x) : Pt(x), x;
1448
+ return e === c ? wt(k) : Pt(k), k;
1449
1449
  }
1450
1450
  }
1451
1451
  function Tt(e, t, o) {
@@ -1488,7 +1488,7 @@ function te(r) {
1488
1488
  const p = Oe();
1489
1489
  if (p.ROUTER_PARAMS) {
1490
1490
  r.debug || p.ROUTER_PARAMS.debug;
1491
- const k = {
1491
+ const x = {
1492
1492
  page: (n = p.ROUTER_PARAMS) == null ? void 0 : n.page,
1493
1493
  module: (a = p.ROUTER_PARAMS) == null ? void 0 : a.module,
1494
1494
  tab: (c = p.ROUTER_PARAMS) == null ? void 0 : c.tab,
@@ -1497,23 +1497,23 @@ function te(r) {
1497
1497
  p.ROUTER_PARAMS = {
1498
1498
  ...p.ROUTER_PARAMS,
1499
1499
  ...r,
1500
- prev: k
1500
+ prev: x
1501
1501
  };
1502
1502
  } else {
1503
1503
  r.debug || H.debug;
1504
- const k = {
1504
+ const x = {
1505
1505
  page: H == null ? void 0 : H.page,
1506
1506
  module: H == null ? void 0 : H.module,
1507
1507
  tab: H == null ? void 0 : H.tab,
1508
1508
  id: H == null ? void 0 : H.id
1509
1509
  };
1510
- p.ROUTER_PARAMS = { ...H, ...r, prev: k };
1510
+ p.ROUTER_PARAMS = { ...H, ...r, prev: x };
1511
1511
  }
1512
1512
  }
1513
1513
  function A() {
1514
1514
  return Oe().ROUTER_PARAMS || H;
1515
1515
  }
1516
- function Se(r) {
1516
+ function xe(r) {
1517
1517
  const n = Oe();
1518
1518
  n.ROUTER_PARAMS ? n.ROUTER_PARAMS.LISTENER = {
1519
1519
  ...n.ROUTER_PARAMS.LISTENER,
@@ -1523,7 +1523,7 @@ function Se(r) {
1523
1523
  function ie() {
1524
1524
  return Oe().ROUTER_PARAMS.LISTENER || H.LISTENER;
1525
1525
  }
1526
- var de;
1526
+ var pe;
1527
1527
  ((r) => {
1528
1528
  function n() {
1529
1529
  var _;
@@ -1564,9 +1564,9 @@ var de;
1564
1564
  function l(_) {
1565
1565
  let E = (I) => (te({ page: I }), I);
1566
1566
  const [B, M] = F.useState(
1567
- k() || _ && E(_) || A().page
1567
+ x() || _ && E(_) || A().page
1568
1568
  );
1569
- return Se({ page: (I) => {
1569
+ return xe({ page: (I) => {
1570
1570
  M(I);
1571
1571
  } }), B;
1572
1572
  }
@@ -1578,10 +1578,10 @@ var de;
1578
1578
  ), E && ie().page(_);
1579
1579
  }
1580
1580
  r.setPage = p;
1581
- function k() {
1581
+ function x() {
1582
1582
  return A().page;
1583
1583
  }
1584
- r.getPage = k;
1584
+ r.getPage = x;
1585
1585
  function m(_) {
1586
1586
  return A().page === _;
1587
1587
  }
@@ -1594,7 +1594,7 @@ var de;
1594
1594
  const [B, M] = F.useState(
1595
1595
  b() || _ || A().module
1596
1596
  );
1597
- return Se({ module: M }), B;
1597
+ return xe({ module: M }), B;
1598
1598
  }
1599
1599
  r.useModule = R;
1600
1600
  function h(_, E = !0) {
@@ -1614,20 +1614,20 @@ var de;
1614
1614
  r.isModule = y;
1615
1615
  function T(_, E) {
1616
1616
  if (typeof _ != "function") {
1617
- const [B, M] = F.useState(!E), [I, $] = F.useState(_ || pe());
1618
- return Se({ tabs: $ }), E && F.useEffect(() => {
1617
+ const [B, M] = F.useState(!E), [I, $] = F.useState(_ || ve());
1618
+ return xe({ tabs: $ }), E && F.useEffect(() => {
1619
1619
  M(!0);
1620
1620
  }, []), [I, B];
1621
1621
  } else
1622
- Se({ tabs: _ });
1622
+ xe({ tabs: _ });
1623
1623
  }
1624
1624
  r.useTabs = T;
1625
1625
  function P(_) {
1626
1626
  let E = (I) => (te({ tab: I }), I);
1627
1627
  const [B, M] = F.useState(
1628
- pe() || _ && E(_) || A().tab
1628
+ ve() || _ && E(_) || A().tab
1629
1629
  );
1630
- return Se({ tabs: (I) => {
1630
+ return xe({ tabs: (I) => {
1631
1631
  M(I);
1632
1632
  } }), B;
1633
1633
  }
@@ -1639,10 +1639,10 @@ var de;
1639
1639
  ), E && (ie().tabs && ie().tabs(_));
1640
1640
  }
1641
1641
  r.setTabs = $e;
1642
- function pe() {
1642
+ function ve() {
1643
1643
  return A().tab;
1644
1644
  }
1645
- r.getTabs = pe;
1645
+ r.getTabs = ve;
1646
1646
  function W(_) {
1647
1647
  return A().tab === _;
1648
1648
  }
@@ -1650,11 +1650,11 @@ var de;
1650
1650
  function j(_) {
1651
1651
  if (typeof _ != "function") {
1652
1652
  const [E, B] = F.useState(_ || Ae());
1653
- return Se({ id: (M) => {
1653
+ return xe({ id: (M) => {
1654
1654
  B(M);
1655
1655
  } }), E;
1656
1656
  } else
1657
- Se({ id: _ });
1657
+ xe({ id: _ });
1658
1658
  }
1659
1659
  r.useId = j;
1660
1660
  function Ne(_) {
@@ -1684,7 +1684,7 @@ var de;
1684
1684
  );
1685
1685
  }
1686
1686
  r.navigate = Me;
1687
- })(de || (de = {}));
1687
+ })(pe || (pe = {}));
1688
1688
  let ut = {};
1689
1689
  function _r() {
1690
1690
  const [r, n] = F.useState([]);
@@ -1747,13 +1747,13 @@ function Sr(r) {
1747
1747
  }
1748
1748
  ) });
1749
1749
  }
1750
- let xe = {
1750
+ let Ee = {
1751
1751
  Send: Rr,
1752
1752
  Init: _r
1753
1753
  };
1754
- const kr = "_d_1u25q_1", xr = "_b_1u25q_21", Er = "_o_1u25q_25", jr = "_m_1u25q_30", Or = "_t_1u25q_41", Ar = "_a_1u25q_108", Cr = "_v_1u25q_118", Ee = {
1755
- d: kr,
1756
- b: xr,
1754
+ const xr = "_d_1u25q_1", kr = "_b_1u25q_21", Er = "_o_1u25q_25", jr = "_m_1u25q_30", Or = "_t_1u25q_41", Ar = "_a_1u25q_108", Cr = "_v_1u25q_118", fe = {
1755
+ d: xr,
1756
+ b: kr,
1757
1757
  o: Er,
1758
1758
  m: jr,
1759
1759
  t: Or,
@@ -1810,8 +1810,8 @@ G.users = {
1810
1810
  };
1811
1811
  const Pr = () => {
1812
1812
  if (location.hostname === "localhost") {
1813
- let [r, n] = J(!1), [a, c] = J(!1), [l, p] = J("dark"), [k, m] = J(!1), [u, R] = J(!1);
1814
- je.is = !0, je.MainButton.set = n, je.BackButton.set = c, fe(() => {
1813
+ let [r, n] = J(!1), [a, c] = J(!1), [l, p] = J("dark"), [x, m] = J(!1), [u, R] = J(!1);
1814
+ je.is = !0, je.MainButton.set = n, je.BackButton.set = c, de(() => {
1815
1815
  G[l]["--tg-theme-bg-color-alpha"] = G[l]["--tg-theme-bg-color"] + "b3", G[l]["--tg-theme-secondary-bg-color-alpha"] = G[l]["--tg-theme-secondary-bg-color"] + "d3";
1816
1816
  for (let y in G[l])
1817
1817
  document.documentElement.style.setProperty(
@@ -1831,38 +1831,38 @@ const Pr = () => {
1831
1831
  m(!1), R(!0);
1832
1832
  };
1833
1833
  return /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
1834
- /* @__PURE__ */ i.jsxs("header", { className: Ee.d, children: [
1835
- a === !1 ? /* @__PURE__ */ i.jsx("div", { className: "b", children: "Отмена" }) : /* @__PURE__ */ i.jsx(
1834
+ /* @__PURE__ */ i.jsxs("div", { className: fe.d, children: [
1835
+ a === !1 ? /* @__PURE__ */ i.jsx("div", { className: fe.b, children: "Отмена" }) : /* @__PURE__ */ i.jsx(
1836
1836
  "div",
1837
1837
  {
1838
1838
  onClick: () => {
1839
1839
  var y;
1840
- a.page === void 0 ? (y = a.callback) == null || y.call(a) : de.setPage(a.page);
1840
+ a.page === void 0 ? (y = a.callback) == null || y.call(a) : pe.setPage(a.page);
1841
1841
  },
1842
- className: Ee.b,
1842
+ className: fe.b,
1843
1843
  children: "Назад"
1844
1844
  }
1845
1845
  ),
1846
1846
  /* @__PURE__ */ i.jsx(
1847
1847
  "div",
1848
1848
  {
1849
- className: Ee.o,
1850
- onClick: () => m(!k),
1849
+ className: fe.o,
1850
+ onClick: () => m(!x),
1851
1851
  children: "Меню"
1852
1852
  }
1853
1853
  )
1854
1854
  ] }),
1855
- /* @__PURE__ */ i.jsx(xe.Init, {}),
1856
- r && /* @__PURE__ */ i.jsx("div", { className: Ee.m, children: /* @__PURE__ */ i.jsx(
1855
+ /* @__PURE__ */ i.jsx(Ee.Init, {}),
1856
+ r && /* @__PURE__ */ i.jsx("div", { className: fe.m, children: /* @__PURE__ */ i.jsx(
1857
1857
  "button",
1858
1858
  {
1859
1859
  onClick: () => {
1860
- r.page && de.setPage(r.page), r.callback && r.callback();
1860
+ r.page && pe.setPage(r.page), r.callback && r.callback();
1861
1861
  },
1862
1862
  children: r.text
1863
1863
  }
1864
1864
  ) }),
1865
- k ? /* @__PURE__ */ i.jsxs("div", { className: Ee.t, children: [
1865
+ x ? /* @__PURE__ */ i.jsxs("div", { className: fe.t, children: [
1866
1866
  /* @__PURE__ */ i.jsxs("ul", { children: [
1867
1867
  /* @__PURE__ */ i.jsx("li", { children: /* @__PURE__ */ i.jsx("button", { onClick: b, children: "Authorization" }) }),
1868
1868
  /* @__PURE__ */ i.jsx("li", {})
@@ -1894,13 +1894,13 @@ const Pr = () => {
1894
1894
  ) })
1895
1895
  ] })
1896
1896
  ] }),
1897
- /* @__PURE__ */ i.jsx("li", { children: /* @__PURE__ */ i.jsx("button", { onClick: () => m(!k), children: "Closed" }) })
1897
+ /* @__PURE__ */ i.jsx("li", { children: /* @__PURE__ */ i.jsx("button", { onClick: () => m(!x), children: "Closed" }) })
1898
1898
  ] })
1899
1899
  ] }) : "",
1900
1900
  u ? /* @__PURE__ */ i.jsx(wr, { setAuthorization: R }) : ""
1901
1901
  ] });
1902
1902
  } else
1903
- return fe(() => {
1903
+ return de(() => {
1904
1904
  document.documentElement.style.setProperty(
1905
1905
  "--tg-theme-secondary-bg-color-alpha",
1906
1906
  we.themeParams.secondary_bg_color + "d3"
@@ -1911,22 +1911,22 @@ const Pr = () => {
1911
1911
  "--tg-safe-area-inset-bottom",
1912
1912
  "16px"
1913
1913
  );
1914
- }, []), /* @__PURE__ */ i.jsx(i.Fragment, { children: /* @__PURE__ */ i.jsx(xe.Init, {}) });
1914
+ }, []), /* @__PURE__ */ i.jsx(i.Fragment, { children: /* @__PURE__ */ i.jsx(Ee.Init, {}) });
1915
1915
  }, wr = ({ setAuthorization: r }) => {
1916
1916
  let n = {}, a = () => {
1917
1917
  localStorage.setItem("auth", n);
1918
1918
  };
1919
- return /* @__PURE__ */ i.jsx("div", { className: Ee.a, children: /* @__PURE__ */ i.jsxs("div", { className: Ee.v, children: [
1919
+ return /* @__PURE__ */ i.jsx("div", { className: fe.a, children: /* @__PURE__ */ i.jsxs("div", { className: fe.v, children: [
1920
1920
  /* @__PURE__ */ i.jsx("fieldset", {}),
1921
1921
  /* @__PURE__ */ i.jsx("div", { onClick: a, children: " Сохранить " })
1922
1922
  ] }) });
1923
- }, Tr = "_p_1axqy_1", $r = "_s_1axqy_17", Jt = {
1923
+ }, Tr = "_p_1axqy_1", $r = "_s_1axqy_17", Ht = {
1924
1924
  p: Tr,
1925
1925
  s: $r
1926
1926
  }, Nr = ({ className: r, children: n, isScroll: a = !0 }) => /* @__PURE__ */ i.jsx(
1927
1927
  "div",
1928
1928
  {
1929
- className: [Jt.p, a && Jt.s, r].filter((c) => c !== void 0).join(" "),
1929
+ className: [Ht.p, a && Ht.s, r].filter((c) => c !== void 0).join(" "),
1930
1930
  children: n
1931
1931
  }
1932
1932
  ), Br = "_l_gfyud_1", Ir = {
@@ -1947,7 +1947,7 @@ const Pr = () => {
1947
1947
  n: Vr
1948
1948
  }, zr = ({ items: r }) => {
1949
1949
  const n = (c) => {
1950
- de.setPage(c);
1950
+ pe.setPage(c);
1951
1951
  }, a = (c) => {
1952
1952
  we.openTelegramLink(c);
1953
1953
  };
@@ -1993,12 +1993,12 @@ function en({
1993
1993
  title: c,
1994
1994
  className: l,
1995
1995
  view: p = "list",
1996
- position: k = "left"
1996
+ position: x = "left"
1997
1997
  }) {
1998
1998
  const [m, u] = J(!1), [R, h] = J(
1999
1999
  null
2000
2000
  );
2001
- fe(() => {
2001
+ de(() => {
2002
2002
  let y = document.querySelector(".p_sb");
2003
2003
  return y || (y = document.createElement("div"), y.className = "_p_sb", document.body.appendChild(y)), h(y), () => {
2004
2004
  y && y.parentNode && y.parentNode.removeChild(y);
@@ -2011,7 +2011,7 @@ function en({
2011
2011
  {
2012
2012
  className: Te(
2013
2013
  le.m,
2014
- k === "left" ? le.l : le.r,
2014
+ x === "left" ? le.l : le.r,
2015
2015
  m && le.x,
2016
2016
  l
2017
2017
  ),
@@ -2067,7 +2067,7 @@ const nr = ({
2067
2067
  className: l,
2068
2068
  onOpen: p
2069
2069
  }) => {
2070
- const [k, m] = F.useState(!1);
2070
+ const [x, m] = F.useState(!1);
2071
2071
  return at = () => {
2072
2072
  m(!0), setTimeout(() => {
2073
2073
  var u;
@@ -2076,12 +2076,12 @@ const nr = ({
2076
2076
  }, /* @__PURE__ */ i.jsx(
2077
2077
  "div",
2078
2078
  {
2079
- className: `footer-menu-overlay ${a ? "is-overlay" : ""} ${k ? "closing" : ""} `,
2079
+ className: `footer-menu-overlay ${a ? "is-overlay" : ""} ${x ? "closing" : ""} `,
2080
2080
  onClick: at,
2081
2081
  children: /* @__PURE__ */ i.jsxs(
2082
2082
  "div",
2083
2083
  {
2084
- className: `footer-menu-popup-book ${k ? "closing" : ""} ${l || ""} ${c ? "footer" : ""}`,
2084
+ className: `footer-menu-popup-book ${x ? "closing" : ""} ${l || ""} ${c ? "footer" : ""}`,
2085
2085
  onClick: (u) => u.stopPropagation(),
2086
2086
  children: [
2087
2087
  /* @__PURE__ */ i.jsxs("div", { className: "footer-menu-header", children: [
@@ -2101,26 +2101,33 @@ const nr = ({
2101
2101
  )
2102
2102
  }
2103
2103
  );
2104
- }, tn = "_h_1kcus_1", rn = "_row_1kcus_20", nn = "_column_1kcus_23", on = "_badge_1kcus_36", Dt = {
2104
+ }, tn = "_h_1gb68_1", rn = "_row_1gb68_20", nn = "_column_1gb68_23", Jt = {
2105
2105
  h: tn,
2106
2106
  row: rn,
2107
- column: nn,
2108
- badge: on
2109
- }, Pe = [], Kt = (r, n) => r.findIndex((a) => (a == null ? void 0 : a.page) === n), an = ({
2107
+ column: nn
2108
+ }, on = "_b_1ozgz_1", an = {
2109
+ b: on
2110
+ }, sn = ({ className: r, value: n }) => /* @__PURE__ */ i.jsx(
2111
+ "div",
2112
+ {
2113
+ className: [an.b, r].filter((a) => a !== void 0).join(" "),
2114
+ children: n
2115
+ }
2116
+ ), Pe = [], Kt = (r, n) => r.findIndex((a) => (a == null ? void 0 : a.page) === n), ln = ({
2110
2117
  actions: r,
2111
2118
  children: n,
2112
2119
  className: a,
2113
2120
  toHide: c = !1,
2114
2121
  page: l,
2115
2122
  onPageChange: p,
2116
- direction: k = "row"
2123
+ direction: x = "row"
2117
2124
  }) => {
2118
2125
  const [m, u] = F.useState(null), [R, h] = F.useState(
2119
2126
  l ? Kt(r || [], l) : 0
2120
2127
  );
2121
2128
  return Pe.onClose = () => {
2122
2129
  u(null), h(l ? Kt(r || [], l) : 0);
2123
- }, fe(() => {
2130
+ }, de(() => {
2124
2131
  if (!c)
2125
2132
  return;
2126
2133
  const b = document.querySelectorAll("[contenteditable]"), y = () => {
@@ -2142,7 +2149,7 @@ const nr = ({
2142
2149
  /* @__PURE__ */ i.jsxs(
2143
2150
  "footer",
2144
2151
  {
2145
- className: `${Dt.h} ${Dt[k]} ${a} `,
2152
+ className: `${Jt.h} ${Jt[x]} ${a} `,
2146
2153
  children: [
2147
2154
  n,
2148
2155
  r && r.map((b, y) => /* @__PURE__ */ i.jsxs(
@@ -2154,7 +2161,7 @@ const nr = ({
2154
2161
  },
2155
2162
  children: [
2156
2163
  b.icon,
2157
- b.badge && /* @__PURE__ */ i.jsx("div", { className: Dt.badge, children: b.badge })
2164
+ b.badge && /* @__PURE__ */ i.jsx(sn, { value: b.badge })
2158
2165
  ]
2159
2166
  },
2160
2167
  y
@@ -2163,13 +2170,13 @@ const nr = ({
2163
2170
  }
2164
2171
  )
2165
2172
  ] });
2166
- }, sn = "_w_yx04q_3", ln = "_v_yx04q_24", cn = "_s_yx04q_34", un = "_n_yx04q_38", it = {
2167
- w: sn,
2168
- v: ln,
2169
- s: cn,
2170
- n: un
2171
- }, Ut = {};
2172
- function fn({
2173
+ }, cn = "_w_yx04q_3", un = "_v_yx04q_24", fn = "_s_yx04q_34", dn = "_n_yx04q_38", it = {
2174
+ w: cn,
2175
+ v: un,
2176
+ s: fn,
2177
+ n: dn
2178
+ }, Lt = {};
2179
+ function pn({
2173
2180
  children: r,
2174
2181
  name: n,
2175
2182
  onClose: a,
@@ -2177,15 +2184,15 @@ function fn({
2177
2184
  isScroll: l = !0,
2178
2185
  nextBackButton: p
2179
2186
  }) {
2180
- const [k, m] = J(!1);
2181
- return fe(() => {
2187
+ const [x, m] = J(!1);
2188
+ return de(() => {
2182
2189
  if (!c) return;
2183
- const u = p === void 0 ? _n().pop() : p, R = () => {
2190
+ const u = p === void 0 ? Sn().pop() : p, R = () => {
2184
2191
  m(!1), setTimeout(() => {
2185
2192
  Zt(u || !1), a == null || a();
2186
2193
  }, 300);
2187
2194
  };
2188
- Ut[n] = {
2195
+ Lt[n] = {
2189
2196
  onClose: R,
2190
2197
  onOpen: () => {
2191
2198
  m(!0);
@@ -2204,7 +2211,7 @@ function fn({
2204
2211
  {
2205
2212
  className: Te(
2206
2213
  it.w,
2207
- k && it.v,
2214
+ x && it.v,
2208
2215
  l && it.s
2209
2216
  ),
2210
2217
  children: [
@@ -2214,14 +2221,14 @@ function fn({
2214
2221
  }
2215
2222
  ) : "";
2216
2223
  }
2217
- const dn = (r, n) => {
2224
+ const vn = (r, n) => {
2218
2225
  var a, c;
2219
- n ? (a = Ut[r]) == null || a.onOpen() : (c = Ut[r]) == null || c.onClose();
2220
- }, pn = "_s_ezoxx_3", vn = "_n_ezoxx_14", Gt = {
2221
- s: pn,
2222
- n: vn
2226
+ n ? (a = Lt[r]) == null || a.onOpen() : (c = Lt[r]) == null || c.onClose();
2227
+ }, hn = "_s_ezoxx_3", yn = "_n_ezoxx_14", Gt = {
2228
+ s: hn,
2229
+ n: yn
2223
2230
  };
2224
- function hn({
2231
+ function gn({
2225
2232
  className: r,
2226
2233
  children: n,
2227
2234
  onScrollEnd: a,
@@ -2229,14 +2236,14 @@ function hn({
2229
2236
  isLoading: l,
2230
2237
  isScrollBar: p = !1
2231
2238
  }) {
2232
- const [k, m] = J(l || !1);
2233
- fe(() => {
2239
+ const [x, m] = J(l || !1);
2240
+ de(() => {
2234
2241
  m(l || !1);
2235
2242
  }, [l]);
2236
2243
  let u = {
2237
2244
  onScroll: (R) => {
2238
2245
  const { scrollTop: h, scrollHeight: b, clientHeight: y } = R.currentTarget;
2239
- h + y >= b - c && !k && (m(!0), a == null || a());
2246
+ h + y >= b - c && !x && (m(!0), a == null || a());
2240
2247
  }
2241
2248
  };
2242
2249
  return /* @__PURE__ */ i.jsx(
@@ -2248,19 +2255,19 @@ function hn({
2248
2255
  }
2249
2256
  );
2250
2257
  }
2251
- const yn = "_a_ohhaz_1", gn = "_l_ohhaz_12", mn = "_r_ohhaz_15", Ft = {
2252
- a: yn,
2253
- l: gn,
2254
- r: mn
2258
+ const mn = "_a_ohhaz_1", bn = "_l_ohhaz_12", _n = "_r_ohhaz_15", Dt = {
2259
+ a: mn,
2260
+ l: bn,
2261
+ r: _n
2255
2262
  };
2256
- function bn({
2263
+ function Rn({
2257
2264
  children: r,
2258
2265
  className: n,
2259
2266
  position: a = "center",
2260
2267
  title: c
2261
2268
  }) {
2262
2269
  let l = "";
2263
- return a === "left" ? l = Ft.l : a === "right" && (l = Ft.r), /* @__PURE__ */ i.jsxs("div", { className: Te(Ft.a, l, n), children: [
2270
+ return a === "left" ? l = Dt.l : a === "right" && (l = Dt.r), /* @__PURE__ */ i.jsxs("div", { className: Te(Dt.a, l, n), children: [
2264
2271
  r,
2265
2272
  c && /* @__PURE__ */ i.jsx("b", { children: c })
2266
2273
  ] });
@@ -2273,7 +2280,7 @@ const U = {
2273
2280
  r === !1 ? (N.WebApp.BackButton.isVisible = !1, N.WebApp.BackButton.offClick(U.listen[0]), U.listen.shift(), U.state.length !== 1 && U.state.pop()) : (N.WebApp.BackButton.isVisible = !0, N.WebApp.BackButton.offClick(U.listen[0]), U.listen.shift(), U.listen.push(() => {
2274
2281
  var a;
2275
2282
  let n = U.state.pop();
2276
- U.prev = de.getPage(), n.page !== void 0 ? de.setPage(n.page) : (a = n.callback) == null || a.call(n);
2283
+ U.prev = pe.getPage(), n.page !== void 0 ? pe.setPage(n.page) : (a = n.callback) == null || a.call(n);
2277
2284
  }), we.BackButton.onClick(U.listen[0]));
2278
2285
  }
2279
2286
  }, Te = (...r) => r.filter((n) => n !== void 0 && n !== !1 && n !== null && n !== "").join(" ");
@@ -2285,28 +2292,28 @@ var N;
2285
2292
  }, r.Notice = {
2286
2293
  Send: (n, a, c) => {
2287
2294
  var l, p;
2288
- a !== void 0 ? (xe.Send({ type: n, text: a, thema: c }), (l = r.WebApp.HapticFeedback) == null || l.notificationOccurred(n)) : (xe.Send(n), (p = r.WebApp.HapticFeedback) == null || p.notificationOccurred(n.type));
2295
+ a !== void 0 ? (Ee.Send({ type: n, text: a, thema: c }), (l = r.WebApp.HapticFeedback) == null || l.notificationOccurred(n)) : (Ee.Send(n), (p = r.WebApp.HapticFeedback) == null || p.notificationOccurred(n.type));
2289
2296
  },
2290
2297
  Error: (n) => {
2291
2298
  var a;
2292
- xe.Send({ type: "error", text: n }), (a = r.WebApp.HapticFeedback) == null || a.notificationOccurred("error");
2299
+ Ee.Send({ type: "error", text: n }), (a = r.WebApp.HapticFeedback) == null || a.notificationOccurred("error");
2293
2300
  },
2294
2301
  Success: (n) => {
2295
2302
  var a;
2296
- xe.Send({ type: "success", text: n }), (a = r.WebApp.HapticFeedback) == null || a.notificationOccurred("success");
2303
+ Ee.Send({ type: "success", text: n }), (a = r.WebApp.HapticFeedback) == null || a.notificationOccurred("success");
2297
2304
  },
2298
2305
  Warning: (n) => {
2299
2306
  var a;
2300
- xe.Send({ type: "warning", text: n }), (a = r.WebApp.HapticFeedback) == null || a.notificationOccurred("warning");
2307
+ Ee.Send({ type: "warning", text: n }), (a = r.WebApp.HapticFeedback) == null || a.notificationOccurred("warning");
2301
2308
  }
2302
- }, r.Header = Pr, r.TabBar = an, r.BottomSheet = nr, r.toggleBottomSheet = at, r.SafeArea = Nr, r.Loading = Mr, r.Sidebar = en, r.SidePanel = fn, r.AppBar = bn, r.SidePanelController = dn, r.Scroll = hn, r.Modal = Lt, r.Menu = zr, r.MainButton = {
2309
+ }, r.Header = Pr, r.TabBar = ln, r.BottomSheet = nr, r.toggleBottomSheet = at, r.SafeArea = Nr, r.Loading = Mr, r.Sidebar = en, r.SidePanel = pn, r.AppBar = Rn, r.SidePanelController = vn, r.Scroll = gn, r.Modal = Wt, r.Menu = zr, r.MainButton = {
2303
2310
  callback: [],
2304
2311
  set: (n) => {
2305
2312
  je.is ? je.MainButton.set(n) : (r.WebApp.MainButton.callback.forEach((a) => {
2306
2313
  r.WebApp.MainButton.offClick(a);
2307
2314
  }), r.WebApp.MainButton.callback = [], typeof n == "boolean" ? r.WebApp.MainButton.isVisible = !1 : (r.WebApp.MainButton.text = n.text, n.color && (r.WebApp.MainButton.color = n.color), n.textColor && (r.WebApp.MainButton.textColor = n.textColor), r.WebApp.MainButton.isVisible = !0, r.WebApp.MainButton.isActive = n.isActive === void 0 ? !0 : n.isActive, r.WebApp.MainButton.callback.push(() => {
2308
2315
  var a;
2309
- n.page === void 0 ? (a = n.callback) == null || a.call(n) : de.setPage(n.page);
2316
+ n.page === void 0 ? (a = n.callback) == null || a.call(n) : pe.setPage(n.page);
2310
2317
  }), r.WebApp.MainButton.onClick(
2311
2318
  r.WebApp.MainButton.callback[0]
2312
2319
  )));
@@ -2317,28 +2324,28 @@ var N;
2317
2324
  je.is ? je.BackButton.set(n) : (U.state.push(n), U.router(n));
2318
2325
  };
2319
2326
  })(N || (N = {}));
2320
- const kn = N.TabBar, xn = nr, Zt = N.BackButton, En = N.BackButtonPrev, _n = N.BackButtonState, jn = N.Notice, On = N.SafeArea, An = N.Loading, Cn = N.Menu, Pn = N.SidePanel, wn = N.Scroll, Tn = N.AppBar, $n = N.Sidebar, Nn = N.SidePanelController, { Header: Bn, toggleBottomSheet: In, Modal: Mn, MainButton: Dn, WebApp: we, getUser: Fn } = N;
2327
+ const En = N.TabBar, jn = nr, Zt = N.BackButton, On = N.BackButtonPrev, Sn = N.BackButtonState, An = N.Notice, Cn = N.SafeArea, Pn = N.Loading, wn = N.Menu, Tn = N.SidePanel, $n = N.Scroll, Nn = N.AppBar, Bn = N.Sidebar, In = N.SidePanelController, { Header: Mn, toggleBottomSheet: Dn, Modal: Fn, MainButton: Wn, WebApp: we, getUser: Ln } = N;
2321
2328
  export {
2322
- Tn as AppBar,
2329
+ Nn as AppBar,
2323
2330
  Zt as BackButton,
2324
- En as BackButtonPrev,
2325
- _n as BackButtonState,
2326
- xn as BottomSheet,
2327
- Bn as Header,
2328
- An as Loading,
2329
- Dn as MainButton,
2330
- Cn as Menu,
2331
- Mn as Modal,
2332
- jn as Notice,
2333
- On as SafeArea,
2334
- wn as Scroll,
2335
- Pn as SidePanel,
2336
- Nn as SidePanelController,
2337
- $n as Sidebar,
2338
- kn as TabBar,
2331
+ On as BackButtonPrev,
2332
+ Sn as BackButtonState,
2333
+ jn as BottomSheet,
2334
+ Mn as Header,
2335
+ Pn as Loading,
2336
+ Wn as MainButton,
2337
+ wn as Menu,
2338
+ Fn as Modal,
2339
+ An as Notice,
2340
+ Cn as SafeArea,
2341
+ $n as Scroll,
2342
+ Tn as SidePanel,
2343
+ In as SidePanelController,
2344
+ Bn as Sidebar,
2345
+ En as TabBar,
2339
2346
  we as WebApp,
2340
2347
  Te as clsx,
2341
2348
  N as default,
2342
- Fn as getUser,
2343
- In as toggleBottomSheet
2349
+ Ln as getUser,
2350
+ Dn as toggleBottomSheet
2344
2351
  };