@elcrm/telegram 0.0.109 → 0.0.111

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 or() {
15
15
  if (Ut) return tt;
16
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(b, u, S) {
19
- var h, g = {}, m = null, P = null;
20
- S !== void 0 && (m = "" + S), u.key !== void 0 && (m = "" + u.key), u.ref !== void 0 && (P = u.ref);
21
- for (h in u) c.call(u, h) && !p.hasOwnProperty(h) && (g[h] = u[h]);
22
- if (b && b.defaultProps) for (h in u = b.defaultProps, u) g[h] === void 0 && (g[h] = u[h]);
23
- return { $$typeof: n, type: b, key: m, ref: P, props: g, _owner: l.current };
18
+ function x(m, u, R) {
19
+ var h, b = {}, g = null, T = null;
20
+ R !== void 0 && (g = "" + R), u.key !== void 0 && (g = "" + u.key), u.ref !== void 0 && (T = u.ref);
21
+ for (h in u) c.call(u, h) && !p.hasOwnProperty(h) && (b[h] = u[h]);
22
+ if (m && m.defaultProps) for (h in u = m.defaultProps, u) b[h] === void 0 && (b[h] = u[h]);
23
+ return { $$typeof: n, type: m, key: g, ref: T, props: b, _owner: l.current };
24
24
  }
25
- return tt.Fragment = a, tt.jsx = k, tt.jsxs = k, tt;
25
+ return tt.Fragment = a, tt.jsx = x, tt.jsxs = x, tt;
26
26
  }
27
27
  var rt = {};
28
28
  /**
@@ -37,11 +37,11 @@ var rt = {};
37
37
  var Yt;
38
38
  function ar() {
39
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"), k = Symbol.for("react.provider"), b = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), S = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), g = Symbol.for("react.memo"), m = Symbol.for("react.lazy"), P = Symbol.for("react.offscreen"), T = Symbol.iterator, Te = "@@iterator";
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"), g = Symbol.for("react.lazy"), T = Symbol.for("react.offscreen"), P = Symbol.iterator, Te = "@@iterator";
41
41
  function pe(e) {
42
42
  if (e === null || typeof e != "object")
43
43
  return null;
44
- var t = T && e[T] || e[Te];
44
+ var t = P && e[P] || e[Te];
45
45
  return typeof t == "function" ? t : null;
46
46
  }
47
47
  var W = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
@@ -65,7 +65,7 @@ function ar() {
65
65
  var Ne = !1, Oe = !1, Be = !1, Ie = !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 === S || e === h || Ie || e === P || Ne || Oe || Be || typeof e == "object" && e !== null && (e.$$typeof === m || e.$$typeof === g || e.$$typeof === k || e.$$typeof === b || 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 || Ie || e === T || Ne || Oe || Be || typeof e == "object" && e !== null && (e.$$typeof === g || 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.
@@ -97,25 +97,25 @@ function ar() {
97
97
  return "Profiler";
98
98
  case l:
99
99
  return "StrictMode";
100
- case S:
100
+ case R:
101
101
  return "Suspense";
102
102
  case h:
103
103
  return "SuspenseList";
104
104
  }
105
105
  if (typeof e == "object")
106
106
  switch (e.$$typeof) {
107
- case b:
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:
114
114
  return M(e, e.render, "ForwardRef");
115
- case g:
115
+ case b:
116
116
  var s = e.displayName || null;
117
117
  return s !== null ? s : $(e.type) || "Memo";
118
- case m: {
118
+ case g: {
119
119
  var v = e, y = v._payload, d = v._init;
120
120
  try {
121
121
  return $(d(y));
@@ -233,42 +233,42 @@ function ar() {
233
233
  }), typeof Reflect == "object" && Reflect.construct) {
234
234
  try {
235
235
  Reflect.construct(d, []);
236
- } catch (w) {
237
- s = w;
236
+ } catch (C) {
237
+ s = C;
238
238
  }
239
239
  Reflect.construct(e, [], d);
240
240
  } else {
241
241
  try {
242
242
  d.call();
243
- } catch (w) {
244
- s = w;
243
+ } catch (C) {
244
+ s = C;
245
245
  }
246
246
  e.call(d.prototype);
247
247
  }
248
248
  } else {
249
249
  try {
250
250
  throw Error();
251
- } catch (w) {
252
- s = w;
251
+ } catch (C) {
252
+ s = C;
253
253
  }
254
254
  e();
255
255
  }
256
- } catch (w) {
257
- if (w && s && typeof w.stack == "string") {
258
- for (var f = w.stack.split(`
256
+ } catch (C) {
257
+ if (C && s && typeof C.stack == "string") {
258
+ for (var f = C.stack.split(`
259
259
  `), O = s.stack.split(`
260
- `), R = f.length - 1, x = O.length - 1; R >= 1 && x >= 0 && f[R] !== O[x]; )
261
- x--;
262
- for (; R >= 1 && x >= 0; R--, x--)
263
- if (f[R] !== O[x]) {
264
- if (R !== 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 (R--, x--, x < 0 || f[R] !== O[x]) {
267
- var C = `
268
- ` + f[R].replace(" at new ", " at ");
269
- return e.displayName && C.includes("<anonymous>") && (C = C.replace("<anonymous>", e.displayName)), typeof e == "function" && ne.set(e, C), C;
266
+ if (S--, k--, k < 0 || f[S] !== O[k]) {
267
+ var w = `
268
+ ` + f[S].replace(" at new ", " at ");
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 (R >= 1 && x >= 0);
271
+ while (S >= 1 && k >= 0);
272
272
  break;
273
273
  }
274
274
  }
@@ -293,7 +293,7 @@ function ar() {
293
293
  if (typeof e == "string")
294
294
  return re(e);
295
295
  switch (e) {
296
- case S:
296
+ case R:
297
297
  return re("Suspense");
298
298
  case h:
299
299
  return re("SuspenseList");
@@ -302,9 +302,9 @@ function ar() {
302
302
  switch (e.$$typeof) {
303
303
  case u:
304
304
  return pt(e.render);
305
- case g:
305
+ case b:
306
306
  return oe(e.type, t, o);
307
- case m: {
307
+ case g: {
308
308
  var s = e, v = s._payload, y = s._init;
309
309
  try {
310
310
  return oe(y(v), t, o);
@@ -334,8 +334,8 @@ function ar() {
334
334
  throw O.name = "Invariant Violation", O;
335
335
  }
336
336
  f = e[d](t, d, s, o, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
337
- } catch (R) {
338
- f = R;
337
+ } catch (S) {
338
+ f = S;
339
339
  }
340
340
  f && !(f instanceof Error) && (ae(v), 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).", s || "React class", o, d, typeof f), ae(null)), f instanceof Error && !(f.message in Le) && (Le[f.message] = !0, ae(v), j("Failed %s type: %s", o, f.message), ae(null));
341
341
  }
@@ -390,7 +390,7 @@ function ar() {
390
390
  function St(e, t) {
391
391
  typeof e.ref == "string" && ze.current;
392
392
  }
393
- function kt(e, t) {
393
+ function xt(e, t) {
394
394
  {
395
395
  var o = function() {
396
396
  qe || (qe = !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));
@@ -401,7 +401,7 @@ function ar() {
401
401
  });
402
402
  }
403
403
  }
404
- function xt(e, t) {
404
+ function kt(e, t) {
405
405
  {
406
406
  var o = function() {
407
407
  He || (He = !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)", t));
@@ -448,13 +448,13 @@ function ar() {
448
448
  for (y in t)
449
449
  K.call(t, y) && !bt.hasOwnProperty(y) && (d[y] = t[y]);
450
450
  if (e && e.defaultProps) {
451
- var R = e.defaultProps;
452
- for (y in R)
453
- d[y] === void 0 && (d[y] = R[y]);
451
+ var S = e.defaultProps;
452
+ for (y in S)
453
+ d[y] === void 0 && (d[y] = S[y]);
454
454
  }
455
455
  if (f || O) {
456
- var x = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
457
- f && kt(d, x), O && xt(d, x);
456
+ var k = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
457
+ f && xt(d, k), O && kt(d, k);
458
458
  }
459
459
  return Et(e, f, O, v, s, ze.current, d);
460
460
  }
@@ -532,7 +532,7 @@ Check the top-level render call using <` + o + ">.");
532
532
  }
533
533
  }
534
534
  }
535
- function wt(e) {
535
+ function Ct(e) {
536
536
  {
537
537
  var t = e.type;
538
538
  if (t == null || typeof t == "string")
@@ -542,7 +542,7 @@ Check the top-level render call using <` + o + ">.");
542
542
  o = t.propTypes;
543
543
  else if (typeof t == "object" && (t.$$typeof === u || // Note: Memo only checks outer props here.
544
544
  // Inner props are checked in the reconciler.
545
- t.$$typeof === g))
545
+ t.$$typeof === b))
546
546
  o = t.propTypes;
547
547
  else
548
548
  return;
@@ -557,7 +557,7 @@ Check the top-level render call using <` + o + ">.");
557
557
  typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && j("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
558
558
  }
559
559
  }
560
- function Ct(e) {
560
+ function Pt(e) {
561
561
  {
562
562
  for (var t = Object.keys(e.props), o = 0; o < t.length; o++) {
563
563
  var s = t[o];
@@ -578,31 +578,31 @@ Check the top-level render call using <` + o + ">.");
578
578
  (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (f += " 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
579
  var O = Ot();
580
580
  O ? f += O : f += Ke();
581
- var R;
582
- e === null ? R = "null" : ye(e) ? R = "array" : e !== void 0 && e.$$typeof === n ? (R = "<" + ($(e.type) || "Unknown") + " />", f = " Did you accidentally export a JSX literal instead of a component?") : R = 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", R, f);
581
+ var S;
582
+ e === null ? S = "null" : ye(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 = jt(e, t, o, v, y);
585
- if (x == null)
586
- return x;
584
+ var k = jt(e, t, o, v, y);
585
+ if (k == null)
586
+ return k;
587
587
  if (d) {
588
- var C = t.children;
589
- if (C !== void 0)
588
+ var w = t.children;
589
+ if (w !== void 0)
590
590
  if (s)
591
- if (ye(C)) {
592
- for (var z = 0; z < C.length; z++)
593
- Xe(C[z], e);
594
- Object.freeze && Object.freeze(C);
591
+ if (ye(w)) {
592
+ for (var z = 0; z < w.length; z++)
593
+ Xe(w[z], e);
594
+ Object.freeze && Object.freeze(w);
595
595
  } else
596
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
- Xe(C, e);
598
+ Xe(w, e);
599
599
  }
600
600
  if (K.call(t, "key")) {
601
- var L = $(e), w = Object.keys(t).filter(function(It) {
601
+ var L = $(e), C = Object.keys(t).filter(function(It) {
602
602
  return It !== "key";
603
- }), Re = w.length > 0 ? "{key: someKey, " + w.join(": ..., ") + ": ...}" : "{key: someKey}";
603
+ }), Re = C.length > 0 ? "{key: someKey, " + C.join(": ..., ") + ": ...}" : "{key: someKey}";
604
604
  if (!Qe[L + Re]) {
605
- var Bt = w.length > 0 ? "{" + w.join(": ..., ") + ": ...}" : "{}";
605
+ var Bt = 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} />
@@ -611,22 +611,22 @@ React keys must be passed directly to JSX without using spread:
611
611
  <%s key={someKey} {...props} />`, Re, L, Bt, L), Qe[L + Re] = !0;
612
612
  }
613
613
  }
614
- return e === c ? Ct(x) : wt(x), x;
614
+ return e === c ? Pt(k) : Ct(k), k;
615
615
  }
616
616
  }
617
- function Pt(e, t, o) {
617
+ function wt(e, t, o) {
618
618
  return et(e, t, o, !0);
619
619
  }
620
620
  function Tt(e, t, o) {
621
621
  return et(e, t, o, !1);
622
622
  }
623
- var $t = Tt, Nt = Pt;
623
+ var $t = Tt, Nt = wt;
624
624
  rt.Fragment = c, rt.jsx = $t, rt.jsxs = Nt;
625
625
  }()), rt;
626
626
  }
627
627
  process.env.NODE_ENV === "production" ? Ft.exports = or() : Ft.exports = ar();
628
628
  var i = Ft.exports;
629
- const sr = "_o_w3bne_11", ir = "_x_w3bne_25", lr = "_p_w3bne_29", cr = "_m_w3bne_47", Ae = {
629
+ const sr = "_o_1xf89_11", ir = "_x_1xf89_25", lr = "_p_1xf89_29", cr = "_m_1xf89_46", Ae = {
630
630
  o: sr,
631
631
  x: ir,
632
632
  p: lr,
@@ -636,55 +636,56 @@ let q = {};
636
636
  var Wt;
637
637
  ((r) => {
638
638
  function n({
639
- children: b,
639
+ children: m,
640
640
  onCallbackModal: u,
641
- nameModal: S,
642
- offsetTop: h = !0
641
+ nameModal: R,
642
+ offsetTop: h
643
643
  }) {
644
- const [g, m] = J(!1), [P, T] = J(!1);
645
- if (q[S].onClose = () => {
646
- N.BackButton(!1), T(!0), setTimeout(() => {
647
- m(!1), T(!1), u == null || u(), q.x(S);
644
+ const [b, g] = J(!1), [T, P] = J(!1);
645
+ if (q[R].onClose = () => {
646
+ N.BackButton(!1), P(!0), setTimeout(() => {
647
+ g(!1), P(!1), u == null || u(), q.x(R);
648
648
  }, 300);
649
649
  }, fe(() => {
650
- g ? q[S].onClose() : (N.BackButton({
651
- callback: () => q[S].onClose()
652
- }), m(!0));
653
- }, []), !!g)
654
- return /* @__PURE__ */ i.jsx("div", { className: Pe(Ae.o, P && Ae.x), children: /* @__PURE__ */ i.jsx(
650
+ b ? q[R].onClose() : (N.BackButton({
651
+ callback: () => q[R].onClose()
652
+ }), g(!0));
653
+ }, []), !!b)
654
+ return /* @__PURE__ */ i.jsx("div", { className: we(Ae.o, T && Ae.x), children: /* @__PURE__ */ i.jsx(
655
655
  "div",
656
656
  {
657
- className: Pe(
657
+ className: we(
658
658
  Ae.p,
659
- P && Ae.x,
659
+ T && Ae.x,
660
660
  h ? Ae.o : Ae.m
661
661
  ),
662
- children: b
662
+ children: m
663
663
  }
664
664
  ) });
665
665
  }
666
666
  r.Content = n;
667
667
  function a({
668
- import_modules: b
668
+ import_modules: m
669
669
  }) {
670
- let [u, S] = J([]);
670
+ let [u, R] = J([]);
671
671
  return q.x = (h) => {
672
- S(h ? u.filter((g) => g.key !== h) : []);
672
+ R(h ? u.filter((b) => b.key !== h) : []);
673
673
  }, fe(() => {
674
- b && (q.i = b);
675
- }, []), q.add = (h, g = Date.now()) => {
676
- S([...u, { key: g, item: h }]);
674
+ m && (q.i = m);
675
+ }, []), q.add = (h, b = Date.now()) => {
676
+ R([...u, { key: b, item: h }]);
677
677
  }, /* @__PURE__ */ i.jsx(i.Fragment, { children: u.map((h) => h.item) });
678
678
  }
679
679
  r.Init = a;
680
- function c(b, u) {
680
+ function c(m, u, R) {
681
681
  q.add(
682
682
  /* @__PURE__ */ i.jsx(
683
683
  n,
684
684
  {
685
685
  onCallbackModal: q["callback_modal" + u],
686
686
  nameModal: u || "",
687
- children: b
687
+ offsetTop: R,
688
+ children: m
688
689
  },
689
690
  String(Date.now())
690
691
  ),
@@ -692,38 +693,39 @@ var Wt;
692
693
  );
693
694
  }
694
695
  r.Add = c;
695
- function l(b, u = Date.now().toString()) {
696
+ function l(m, u = Date.now().toString(), R) {
696
697
  return q[u] = {}, {
697
698
  Open: (g) => {
698
699
  r.Add(
699
700
  /* @__PURE__ */ i.jsx(
700
- b,
701
+ m,
701
702
  {
702
703
  ...g,
703
- onCallbackModal: (m) => {
704
+ onCallbackModal: (T) => {
704
705
  var P;
705
- (P = g.callback) == null || P.call(g, m);
706
+ (P = g.callback) == null || P.call(g, T);
706
707
  },
707
708
  nameModal: u
708
709
  },
709
710
  (/* @__PURE__ */ new Date()).getTime()
710
711
  ),
711
- u
712
+ u,
713
+ R === void 0 ? !0 : R
712
714
  );
713
715
  }
714
716
  };
715
717
  }
716
718
  r.Create = l;
717
- function p(b) {
718
- q[b].onClose();
719
+ function p(m) {
720
+ q[m].onClose();
719
721
  }
720
722
  r.Close = p;
721
- function k(b, u, S, h) {
722
- q.i && (h && (S.callback = h), q.i(`${b}/modals/${u}.tsx`).then((g) => {
723
- g.default.Open(S);
723
+ function x(m, u, R, h) {
724
+ q.i && (h && (R.callback = h), q.i(`${m}/modals/${u}.tsx`).then((b) => {
725
+ b.default.Open(R);
724
726
  }));
725
727
  }
726
- r.Open = k;
728
+ r.Open = x;
727
729
  })(Wt || (Wt = {}));
728
730
  function Zt() {
729
731
  return typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof self < "u" ? self : typeof global < "u" ? global : {};
@@ -765,8 +767,8 @@ const lt = (r) => {
765
767
  const a = new Uint8Array(r.length), c = new Uint8Array(r.length);
766
768
  let l = 0;
767
769
  for (let p = 0; p < r.length; p++) {
768
- const k = p % n.length;
769
- 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;
770
772
  }
771
773
  for (let p = 0; p < r.length; p++)
772
774
  a[p] = r[p] ^ c[p];
@@ -787,8 +789,8 @@ const lt = (r) => {
787
789
  try {
788
790
  const n = lt(
789
791
  Date.now().toString() + Math.random()
790
- ).substring(0, it().saltLength * 2), a = lt(r + n).substring(0, 8), c = Qt(it().key, n), l = ur(r), p = er(l, c), k = dr(p);
791
- return `${n}.${k}.${a}`;
792
+ ).substring(0, it().saltLength * 2), a = lt(r + n).substring(0, 8), c = Qt(it().key, n), l = ur(r), p = er(l, c), x = dr(p);
793
+ return `${n}.${x}.${a}`;
792
794
  } catch {
793
795
  throw new Error("Не удалось зашифровать данные");
794
796
  }
@@ -797,7 +799,7 @@ const lt = (r) => {
797
799
  const n = r.split(".");
798
800
  if (n.length !== 3)
799
801
  throw new Error("Неверный формат зашифрованных данных");
800
- const a = n[0], c = n[1], l = n[2], p = Qt(it().key, a), k = pr(c), b = er(k, p), u = fr(b);
802
+ const a = n[0], c = n[1], l = n[2], p = Qt(it().key, a), x = pr(c), m = er(x, p), u = fr(m);
801
803
  if (lt(u + a).substring(
802
804
  0,
803
805
  8
@@ -847,14 +849,14 @@ function gr() {
847
849
  if (zt) return nt;
848
850
  zt = 1;
849
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 };
850
- function k(b, u, S) {
851
- var h, g = {}, m = null, P = null;
852
- S !== void 0 && (m = "" + S), u.key !== void 0 && (m = "" + u.key), u.ref !== void 0 && (P = u.ref);
853
- for (h in u) c.call(u, h) && !p.hasOwnProperty(h) && (g[h] = u[h]);
854
- if (b && b.defaultProps) for (h in u = b.defaultProps, u) g[h] === void 0 && (g[h] = u[h]);
855
- return { $$typeof: n, type: b, key: m, ref: P, props: g, _owner: l.current };
852
+ function x(m, u, R) {
853
+ var h, b = {}, g = null, T = null;
854
+ R !== void 0 && (g = "" + R), u.key !== void 0 && (g = "" + u.key), u.ref !== void 0 && (T = u.ref);
855
+ for (h in u) c.call(u, h) && !p.hasOwnProperty(h) && (b[h] = u[h]);
856
+ if (m && m.defaultProps) for (h in u = m.defaultProps, u) b[h] === void 0 && (b[h] = u[h]);
857
+ return { $$typeof: n, type: m, key: g, ref: T, props: b, _owner: l.current };
856
858
  }
857
- return nt.Fragment = a, nt.jsx = k, nt.jsxs = k, nt;
859
+ return nt.Fragment = a, nt.jsx = x, nt.jsxs = x, nt;
858
860
  }
859
861
  var at = {};
860
862
  /**
@@ -869,11 +871,11 @@ var at = {};
869
871
  var qt;
870
872
  function yr() {
871
873
  return qt || (qt = 1, process.env.NODE_ENV !== "production" && function() {
872
- 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"), b = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), S = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), g = Symbol.for("react.memo"), m = Symbol.for("react.lazy"), P = Symbol.for("react.offscreen"), T = Symbol.iterator, Te = "@@iterator";
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"), g = Symbol.for("react.lazy"), T = Symbol.for("react.offscreen"), P = Symbol.iterator, Te = "@@iterator";
873
875
  function pe(e) {
874
876
  if (e === null || typeof e != "object")
875
877
  return null;
876
- var t = T && e[T] || e[Te];
878
+ var t = P && e[P] || e[Te];
877
879
  return typeof t == "function" ? t : null;
878
880
  }
879
881
  var W = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
@@ -897,7 +899,7 @@ function yr() {
897
899
  var Ne = !1, Oe = !1, Be = !1, Ie = !1, _ = !1, E;
898
900
  E = Symbol.for("react.module.reference");
899
901
  function B(e) {
900
- return !!(typeof e == "string" || typeof e == "function" || e === c || e === p || _ || e === l || e === S || e === h || Ie || e === P || Ne || Oe || Be || typeof e == "object" && e !== null && (e.$$typeof === m || e.$$typeof === g || e.$$typeof === k || e.$$typeof === b || 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 || Ie || e === T || Ne || Oe || Be || typeof e == "object" && e !== null && (e.$$typeof === g || e.$$typeof === b || e.$$typeof === x || e.$$typeof === m || e.$$typeof === u || // This needs to include all possible module reference object
901
903
  // types supported by any Flight configuration anywhere since
902
904
  // we don't know which Flight build this will end up being used
903
905
  // with.
@@ -929,25 +931,25 @@ function yr() {
929
931
  return "Profiler";
930
932
  case l:
931
933
  return "StrictMode";
932
- case S:
934
+ case R:
933
935
  return "Suspense";
934
936
  case h:
935
937
  return "SuspenseList";
936
938
  }
937
939
  if (typeof e == "object")
938
940
  switch (e.$$typeof) {
939
- case b:
941
+ case m:
940
942
  var t = e;
941
943
  return I(t) + ".Consumer";
942
- case k:
944
+ case x:
943
945
  var o = e;
944
946
  return I(o._context) + ".Provider";
945
947
  case u:
946
948
  return M(e, e.render, "ForwardRef");
947
- case g:
949
+ case b:
948
950
  var s = e.displayName || null;
949
951
  return s !== null ? s : $(e.type) || "Memo";
950
- case m: {
952
+ case g: {
951
953
  var v = e, y = v._payload, d = v._init;
952
954
  try {
953
955
  return $(d(y));
@@ -1065,42 +1067,42 @@ function yr() {
1065
1067
  }), typeof Reflect == "object" && Reflect.construct) {
1066
1068
  try {
1067
1069
  Reflect.construct(d, []);
1068
- } catch (w) {
1069
- s = w;
1070
+ } catch (C) {
1071
+ s = C;
1070
1072
  }
1071
1073
  Reflect.construct(e, [], d);
1072
1074
  } else {
1073
1075
  try {
1074
1076
  d.call();
1075
- } catch (w) {
1076
- s = w;
1077
+ } catch (C) {
1078
+ s = C;
1077
1079
  }
1078
1080
  e.call(d.prototype);
1079
1081
  }
1080
1082
  } else {
1081
1083
  try {
1082
1084
  throw Error();
1083
- } catch (w) {
1084
- s = w;
1085
+ } catch (C) {
1086
+ s = C;
1085
1087
  }
1086
1088
  e();
1087
1089
  }
1088
- } catch (w) {
1089
- if (w && s && typeof w.stack == "string") {
1090
- for (var f = w.stack.split(`
1090
+ } catch (C) {
1091
+ if (C && s && typeof C.stack == "string") {
1092
+ for (var f = C.stack.split(`
1091
1093
  `), O = s.stack.split(`
1092
- `), R = f.length - 1, x = O.length - 1; R >= 1 && x >= 0 && f[R] !== O[x]; )
1093
- x--;
1094
- for (; R >= 1 && x >= 0; R--, x--)
1095
- if (f[R] !== O[x]) {
1096
- if (R !== 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)
1097
1099
  do
1098
- if (R--, x--, x < 0 || f[R] !== O[x]) {
1099
- var C = `
1100
- ` + f[R].replace(" at new ", " at ");
1101
- return e.displayName && C.includes("<anonymous>") && (C = C.replace("<anonymous>", e.displayName)), typeof e == "function" && ne.set(e, C), C;
1100
+ if (S--, k--, k < 0 || f[S] !== O[k]) {
1101
+ var w = `
1102
+ ` + f[S].replace(" at new ", " at ");
1103
+ return e.displayName && w.includes("<anonymous>") && (w = w.replace("<anonymous>", e.displayName)), typeof e == "function" && ne.set(e, w), w;
1102
1104
  }
1103
- while (R >= 1 && x >= 0);
1105
+ while (S >= 1 && k >= 0);
1104
1106
  break;
1105
1107
  }
1106
1108
  }
@@ -1125,7 +1127,7 @@ function yr() {
1125
1127
  if (typeof e == "string")
1126
1128
  return re(e);
1127
1129
  switch (e) {
1128
- case S:
1130
+ case R:
1129
1131
  return re("Suspense");
1130
1132
  case h:
1131
1133
  return re("SuspenseList");
@@ -1134,9 +1136,9 @@ function yr() {
1134
1136
  switch (e.$$typeof) {
1135
1137
  case u:
1136
1138
  return pt(e.render);
1137
- case g:
1139
+ case b:
1138
1140
  return oe(e.type, t, o);
1139
- case m: {
1141
+ case g: {
1140
1142
  var s = e, v = s._payload, y = s._init;
1141
1143
  try {
1142
1144
  return oe(y(v), t, o);
@@ -1166,8 +1168,8 @@ function yr() {
1166
1168
  throw O.name = "Invariant Violation", O;
1167
1169
  }
1168
1170
  f = e[d](t, d, s, o, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
1169
- } catch (R) {
1170
- f = R;
1171
+ } catch (S) {
1172
+ f = S;
1171
1173
  }
1172
1174
  f && !(f instanceof Error) && (ae(v), 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).", s || "React class", o, d, typeof f), ae(null)), f instanceof Error && !(f.message in Le) && (Le[f.message] = !0, ae(v), j("Failed %s type: %s", o, f.message), ae(null));
1173
1175
  }
@@ -1222,7 +1224,7 @@ function yr() {
1222
1224
  function St(e, t) {
1223
1225
  typeof e.ref == "string" && ze.current;
1224
1226
  }
1225
- function kt(e, t) {
1227
+ function xt(e, t) {
1226
1228
  {
1227
1229
  var o = function() {
1228
1230
  qe || (qe = !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));
@@ -1233,7 +1235,7 @@ function yr() {
1233
1235
  });
1234
1236
  }
1235
1237
  }
1236
- function xt(e, t) {
1238
+ function kt(e, t) {
1237
1239
  {
1238
1240
  var o = function() {
1239
1241
  He || (He = !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)", t));
@@ -1280,13 +1282,13 @@ function yr() {
1280
1282
  for (y in t)
1281
1283
  K.call(t, y) && !bt.hasOwnProperty(y) && (d[y] = t[y]);
1282
1284
  if (e && e.defaultProps) {
1283
- var R = e.defaultProps;
1284
- for (y in R)
1285
- d[y] === void 0 && (d[y] = R[y]);
1285
+ var S = e.defaultProps;
1286
+ for (y in S)
1287
+ d[y] === void 0 && (d[y] = S[y]);
1286
1288
  }
1287
1289
  if (f || O) {
1288
- var x = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
1289
- f && kt(d, x), O && xt(d, x);
1290
+ var k = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
1291
+ f && xt(d, k), O && kt(d, k);
1290
1292
  }
1291
1293
  return Et(e, f, O, v, s, ze.current, d);
1292
1294
  }
@@ -1364,7 +1366,7 @@ Check the top-level render call using <` + o + ">.");
1364
1366
  }
1365
1367
  }
1366
1368
  }
1367
- function wt(e) {
1369
+ function Ct(e) {
1368
1370
  {
1369
1371
  var t = e.type;
1370
1372
  if (t == null || typeof t == "string")
@@ -1374,7 +1376,7 @@ Check the top-level render call using <` + o + ">.");
1374
1376
  o = t.propTypes;
1375
1377
  else if (typeof t == "object" && (t.$$typeof === u || // Note: Memo only checks outer props here.
1376
1378
  // Inner props are checked in the reconciler.
1377
- t.$$typeof === g))
1379
+ t.$$typeof === b))
1378
1380
  o = t.propTypes;
1379
1381
  else
1380
1382
  return;
@@ -1389,7 +1391,7 @@ Check the top-level render call using <` + o + ">.");
1389
1391
  typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && j("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
1390
1392
  }
1391
1393
  }
1392
- function Ct(e) {
1394
+ function Pt(e) {
1393
1395
  {
1394
1396
  for (var t = Object.keys(e.props), o = 0; o < t.length; o++) {
1395
1397
  var s = t[o];
@@ -1410,31 +1412,31 @@ Check the top-level render call using <` + o + ">.");
1410
1412
  (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (f += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
1411
1413
  var O = Ot();
1412
1414
  O ? f += O : f += Ke();
1413
- var R;
1414
- e === null ? R = "null" : ye(e) ? R = "array" : e !== void 0 && e.$$typeof === n ? (R = "<" + ($(e.type) || "Unknown") + " />", f = " Did you accidentally export a JSX literal instead of a component?") : R = 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", R, f);
1415
+ var S;
1416
+ e === null ? S = "null" : ye(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);
1415
1417
  }
1416
- var x = jt(e, t, o, v, y);
1417
- if (x == null)
1418
- return x;
1418
+ var k = jt(e, t, o, v, y);
1419
+ if (k == null)
1420
+ return k;
1419
1421
  if (d) {
1420
- var C = t.children;
1421
- if (C !== void 0)
1422
+ var w = t.children;
1423
+ if (w !== void 0)
1422
1424
  if (s)
1423
- if (ye(C)) {
1424
- for (var z = 0; z < C.length; z++)
1425
- Xe(C[z], e);
1426
- Object.freeze && Object.freeze(C);
1425
+ if (ye(w)) {
1426
+ for (var z = 0; z < w.length; z++)
1427
+ Xe(w[z], e);
1428
+ Object.freeze && Object.freeze(w);
1427
1429
  } else
1428
1430
  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.");
1429
1431
  else
1430
- Xe(C, e);
1432
+ Xe(w, e);
1431
1433
  }
1432
1434
  if (K.call(t, "key")) {
1433
- var L = $(e), w = Object.keys(t).filter(function(It) {
1435
+ var L = $(e), C = Object.keys(t).filter(function(It) {
1434
1436
  return It !== "key";
1435
- }), Re = w.length > 0 ? "{key: someKey, " + w.join(": ..., ") + ": ...}" : "{key: someKey}";
1437
+ }), Re = C.length > 0 ? "{key: someKey, " + C.join(": ..., ") + ": ...}" : "{key: someKey}";
1436
1438
  if (!Qe[L + Re]) {
1437
- var Bt = w.length > 0 ? "{" + w.join(": ..., ") + ": ...}" : "{}";
1439
+ var Bt = C.length > 0 ? "{" + C.join(": ..., ") + ": ...}" : "{}";
1438
1440
  j(`A props object containing a "key" prop is being spread into JSX:
1439
1441
  let props = %s;
1440
1442
  <%s {...props} />
@@ -1443,16 +1445,16 @@ React keys must be passed directly to JSX without using spread:
1443
1445
  <%s key={someKey} {...props} />`, Re, L, Bt, L), Qe[L + Re] = !0;
1444
1446
  }
1445
1447
  }
1446
- return e === c ? Ct(x) : wt(x), x;
1448
+ return e === c ? Pt(k) : Ct(k), k;
1447
1449
  }
1448
1450
  }
1449
- function Pt(e, t, o) {
1451
+ function wt(e, t, o) {
1450
1452
  return et(e, t, o, !0);
1451
1453
  }
1452
1454
  function Tt(e, t, o) {
1453
1455
  return et(e, t, o, !1);
1454
1456
  }
1455
- var $t = Tt, Nt = Pt;
1457
+ var $t = Tt, Nt = wt;
1456
1458
  at.Fragment = c, at.jsx = $t, at.jsxs = Nt;
1457
1459
  }()), at;
1458
1460
  }
@@ -1486,7 +1488,7 @@ function te(r) {
1486
1488
  const p = je();
1487
1489
  if (p.ROUTER_PARAMS) {
1488
1490
  r.debug || p.ROUTER_PARAMS.debug;
1489
- const k = {
1491
+ const x = {
1490
1492
  page: (n = p.ROUTER_PARAMS) == null ? void 0 : n.page,
1491
1493
  module: (a = p.ROUTER_PARAMS) == null ? void 0 : a.module,
1492
1494
  tab: (c = p.ROUTER_PARAMS) == null ? void 0 : c.tab,
@@ -1495,17 +1497,17 @@ function te(r) {
1495
1497
  p.ROUTER_PARAMS = {
1496
1498
  ...p.ROUTER_PARAMS,
1497
1499
  ...r,
1498
- prev: k
1500
+ prev: x
1499
1501
  };
1500
1502
  } else {
1501
1503
  r.debug || H.debug;
1502
- const k = {
1504
+ const x = {
1503
1505
  page: H == null ? void 0 : H.page,
1504
1506
  module: H == null ? void 0 : H.module,
1505
1507
  tab: H == null ? void 0 : H.tab,
1506
1508
  id: H == null ? void 0 : H.id
1507
1509
  };
1508
- p.ROUTER_PARAMS = { ...H, ...r, prev: k };
1510
+ p.ROUTER_PARAMS = { ...H, ...r, prev: x };
1509
1511
  }
1510
1512
  }
1511
1513
  function A() {
@@ -1562,7 +1564,7 @@ var de;
1562
1564
  function l(_) {
1563
1565
  let E = (I) => (te({ page: I }), I);
1564
1566
  const [B, M] = F.useState(
1565
- k() || _ && E(_) || A().page
1567
+ x() || _ && E(_) || A().page
1566
1568
  );
1567
1569
  return Se({ page: (I) => {
1568
1570
  M(I);
@@ -1576,25 +1578,25 @@ var de;
1576
1578
  ), E && ie().page(_);
1577
1579
  }
1578
1580
  r.setPage = p;
1579
- function k() {
1581
+ function x() {
1580
1582
  return A().page;
1581
1583
  }
1582
- r.getPage = k;
1583
- function b(_) {
1584
+ r.getPage = x;
1585
+ function m(_) {
1584
1586
  return A().page === _;
1585
1587
  }
1586
- r.isPage = b;
1588
+ r.isPage = m;
1587
1589
  function u() {
1588
1590
  return A().prev;
1589
1591
  }
1590
1592
  r.getBack = u;
1591
- function S(_, E) {
1593
+ function R(_, E) {
1592
1594
  const [B, M] = F.useState(
1593
- g() || _ || A().module
1595
+ b() || _ || A().module
1594
1596
  );
1595
1597
  return Se({ module: M }), B;
1596
1598
  }
1597
- r.useModule = S;
1599
+ r.useModule = R;
1598
1600
  function h(_, E = !0) {
1599
1601
  te({ module: _ }), sessionStorage.setItem(
1600
1602
  A().STORAGE,
@@ -1602,15 +1604,15 @@ var de;
1602
1604
  ), E && ie().module(_);
1603
1605
  }
1604
1606
  r.setModule = h;
1605
- function g() {
1607
+ function b() {
1606
1608
  return A().module || "";
1607
1609
  }
1608
- r.getModule = g;
1609
- function m(_) {
1610
+ r.getModule = b;
1611
+ function g(_) {
1610
1612
  return A().module === _;
1611
1613
  }
1612
- r.isModule = m;
1613
- function P(_, E) {
1614
+ r.isModule = g;
1615
+ function T(_, E) {
1614
1616
  if (typeof _ != "function") {
1615
1617
  const [B, M] = F.useState(!E), [I, $] = F.useState(_ || pe());
1616
1618
  return Se({ tabs: $ }), E && F.useEffect(() => {
@@ -1619,8 +1621,8 @@ var de;
1619
1621
  } else
1620
1622
  Se({ tabs: _ });
1621
1623
  }
1622
- r.useTabs = P;
1623
- function T(_) {
1624
+ r.useTabs = T;
1625
+ function P(_) {
1624
1626
  let E = (I) => (te({ tab: I }), I);
1625
1627
  const [B, M] = F.useState(
1626
1628
  pe() || _ && E(_) || A().tab
@@ -1629,7 +1631,7 @@ var de;
1629
1631
  M(I);
1630
1632
  } }), B;
1631
1633
  }
1632
- r.useTab = T;
1634
+ r.useTab = P;
1633
1635
  async function Te(_, E = !0) {
1634
1636
  te({ tab: _ }), sessionStorage.setItem(
1635
1637
  A().STORAGE,
@@ -1745,7 +1747,7 @@ function Rr(r) {
1745
1747
  }
1746
1748
  ) });
1747
1749
  }
1748
- let xe = {
1750
+ let ke = {
1749
1751
  Send: _r,
1750
1752
  Init: br
1751
1753
  };
@@ -1800,25 +1802,25 @@ G.users = {
1800
1802
  };
1801
1803
  const Sr = () => {
1802
1804
  if (location.hostname === "localhost") {
1803
- let [r, n] = J(!1), [a, c] = J(!1), [l, p] = J("dark"), [k, b] = J(!1), [u, S] = J(!1);
1805
+ let [r, n] = J(!1), [a, c] = J(!1), [l, p] = J("dark"), [x, m] = J(!1), [u, R] = J(!1);
1804
1806
  Ee.is = !0, Ee.MainButton.set = n, Ee.BackButton.set = c, fe(() => {
1805
1807
  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";
1806
- for (let m in G[l])
1808
+ for (let g in G[l])
1807
1809
  document.documentElement.style.setProperty(
1808
- m,
1809
- G[l][m]
1810
+ g,
1811
+ G[l][g]
1810
1812
  );
1811
- Ce.safeAreaInset.bottom === 0 && document.documentElement.style.setProperty(
1813
+ Pe.safeAreaInset.bottom === 0 && document.documentElement.style.setProperty(
1812
1814
  "--tg-safe-area-inset-bottom",
1813
1815
  "16px"
1814
1816
  );
1815
1817
  }, []);
1816
- let h = (m) => {
1817
- for (let P in G[m])
1818
- document.documentElement.style.setProperty(P, G[m][P]);
1819
- p(m), b(!1);
1820
- }, g = () => {
1821
- b(!1), S(!0);
1818
+ let h = (g) => {
1819
+ for (let T in G[g])
1820
+ document.documentElement.style.setProperty(T, G[g][T]);
1821
+ p(g), m(!1);
1822
+ }, b = () => {
1823
+ m(!1), R(!0);
1822
1824
  };
1823
1825
  return /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
1824
1826
  /* @__PURE__ */ i.jsxs("header", { className: "debug", children: [
@@ -1826,16 +1828,16 @@ const Sr = () => {
1826
1828
  "div",
1827
1829
  {
1828
1830
  onClick: () => {
1829
- var m;
1830
- a.page === void 0 ? (m = a.callback) == null || m.call(a) : de.setPage(a.page);
1831
+ var g;
1832
+ a.page === void 0 ? (g = a.callback) == null || g.call(a) : de.setPage(a.page);
1831
1833
  },
1832
1834
  className: "b",
1833
1835
  children: "Назад"
1834
1836
  }
1835
1837
  ),
1836
- /* @__PURE__ */ i.jsx("div", { className: "o", onClick: () => b(!k), children: "Меню" })
1838
+ /* @__PURE__ */ i.jsx("div", { className: "o", onClick: () => m(!x), children: "Меню" })
1837
1839
  ] }),
1838
- /* @__PURE__ */ i.jsx(xe.Init, {}),
1840
+ /* @__PURE__ */ i.jsx(ke.Init, {}),
1839
1841
  r && /* @__PURE__ */ i.jsx("div", { className: "mb", children: /* @__PURE__ */ i.jsx(
1840
1842
  "button",
1841
1843
  {
@@ -1845,9 +1847,9 @@ const Sr = () => {
1845
1847
  children: r.text
1846
1848
  }
1847
1849
  ) }),
1848
- k ? /* @__PURE__ */ i.jsxs("div", { className: "tm", children: [
1850
+ x ? /* @__PURE__ */ i.jsxs("div", { className: "tm", children: [
1849
1851
  /* @__PURE__ */ i.jsxs("ul", { children: [
1850
- /* @__PURE__ */ i.jsx("li", { children: /* @__PURE__ */ i.jsx("button", { onClick: g, children: "Authorization" }) }),
1852
+ /* @__PURE__ */ i.jsx("li", { children: /* @__PURE__ */ i.jsx("button", { onClick: b, children: "Authorization" }) }),
1851
1853
  /* @__PURE__ */ i.jsx("li", {})
1852
1854
  ] }),
1853
1855
  /* @__PURE__ */ i.jsxs("ul", { children: [
@@ -1877,25 +1879,25 @@ const Sr = () => {
1877
1879
  ) })
1878
1880
  ] })
1879
1881
  ] }),
1880
- /* @__PURE__ */ i.jsx("li", { children: /* @__PURE__ */ i.jsx("button", { onClick: () => b(!k), children: "Closed" }) })
1882
+ /* @__PURE__ */ i.jsx("li", { children: /* @__PURE__ */ i.jsx("button", { onClick: () => m(!x), children: "Closed" }) })
1881
1883
  ] })
1882
1884
  ] }) : "",
1883
- u ? /* @__PURE__ */ i.jsx(kr, { setAuthorization: S }) : ""
1885
+ u ? /* @__PURE__ */ i.jsx(xr, { setAuthorization: R }) : ""
1884
1886
  ] });
1885
1887
  } else
1886
1888
  return fe(() => {
1887
1889
  document.documentElement.style.setProperty(
1888
1890
  "--tg-theme-secondary-bg-color-alpha",
1889
- Ce.themeParams.secondary_bg_color + "d3"
1891
+ Pe.themeParams.secondary_bg_color + "d3"
1890
1892
  ), document.documentElement.style.setProperty(
1891
1893
  "--tg-theme-bg-color-alpha",
1892
- Ce.themeParams.bg_color + "b3"
1893
- ), Ce.safeAreaInset.bottom === 0 && document.documentElement.style.setProperty(
1894
+ Pe.themeParams.bg_color + "b3"
1895
+ ), Pe.safeAreaInset.bottom === 0 && document.documentElement.style.setProperty(
1894
1896
  "--tg-safe-area-inset-bottom",
1895
1897
  "16px"
1896
1898
  );
1897
- }, []), /* @__PURE__ */ i.jsx(i.Fragment, { children: /* @__PURE__ */ i.jsx(xe.Init, {}) });
1898
- }, kr = ({ setAuthorization: r }) => {
1899
+ }, []), /* @__PURE__ */ i.jsx(i.Fragment, { children: /* @__PURE__ */ i.jsx(ke.Init, {}) });
1900
+ }, xr = ({ setAuthorization: r }) => {
1899
1901
  let n = {}, a = () => {
1900
1902
  localStorage.setItem("auth", n);
1901
1903
  };
@@ -1903,8 +1905,8 @@ const Sr = () => {
1903
1905
  /* @__PURE__ */ i.jsx("fieldset", {}),
1904
1906
  /* @__PURE__ */ i.jsx("div", { onClick: a, children: " Сохранить " })
1905
1907
  ] }) });
1906
- }, xr = "_p_12hh1_1", Er = "_s_12hh1_17", Ht = {
1907
- p: xr,
1908
+ }, kr = "_p_12hh1_1", Er = "_s_12hh1_17", Ht = {
1909
+ p: kr,
1908
1910
  s: Er
1909
1911
  }, jr = ({ className: r, children: n, isScroll: a = !0 }) => /* @__PURE__ */ i.jsx(
1910
1912
  "div",
@@ -1914,15 +1916,15 @@ const Sr = () => {
1914
1916
  }
1915
1917
  ), Or = "_l_gfyud_1", Ar = {
1916
1918
  l: Or
1917
- }, wr = ({ children: r, className: n }) => /* @__PURE__ */ i.jsx(
1919
+ }, Cr = ({ children: r, className: n }) => /* @__PURE__ */ i.jsx(
1918
1920
  "div",
1919
1921
  {
1920
1922
  className: [Ar.l, n].filter((a) => a !== void 0).join(" "),
1921
1923
  children: r
1922
1924
  }
1923
- ), Cr = "_m_ppm7n_2", Pr = "_g_ppm7n_10", Tr = "_i_ppm7n_18", $r = "_c_ppm7n_35", Nr = "_l_ppm7n_42", Br = "_a_ppm7n_57", Ir = "_n_ppm7n_62", ke = {
1924
- m: Cr,
1925
- g: Pr,
1925
+ ), Pr = "_m_ppm7n_2", wr = "_g_ppm7n_10", Tr = "_i_ppm7n_18", $r = "_c_ppm7n_35", Nr = "_l_ppm7n_42", Br = "_a_ppm7n_57", Ir = "_n_ppm7n_62", xe = {
1926
+ m: Pr,
1927
+ g: wr,
1926
1928
  i: Tr,
1927
1929
  c: $r,
1928
1930
  l: Nr,
@@ -1932,29 +1934,29 @@ const Sr = () => {
1932
1934
  const n = (c) => {
1933
1935
  de.setPage(c);
1934
1936
  }, a = (c) => {
1935
- Ce.openTelegramLink(c);
1937
+ Pe.openTelegramLink(c);
1936
1938
  };
1937
- return /* @__PURE__ */ i.jsx("div", { className: ke.m, children: r.map((c) => /* @__PURE__ */ i.jsx("div", { className: ke.g, children: c.items.map((l, p) => /* @__PURE__ */ i.jsxs(
1939
+ return /* @__PURE__ */ i.jsx("div", { className: xe.m, children: r.map((c) => /* @__PURE__ */ i.jsx("div", { className: xe.g, children: c.items.map((l, p) => /* @__PURE__ */ i.jsxs(
1938
1940
  "div",
1939
1941
  {
1940
- className: ke.i,
1942
+ className: xe.i,
1941
1943
  onClick: () => {
1942
1944
  l.link && a(l.link), l.page && n(l.page), l.callback && l.callback();
1943
1945
  },
1944
1946
  children: [
1945
- /* @__PURE__ */ i.jsxs("div", { className: ke.c, children: [
1947
+ /* @__PURE__ */ i.jsxs("div", { className: xe.c, children: [
1946
1948
  /* @__PURE__ */ i.jsx(
1947
1949
  "span",
1948
1950
  {
1949
- className: ke.l,
1951
+ className: xe.l,
1950
1952
  style: { background: l.color },
1951
1953
  children: l.icon
1952
1954
  }
1953
1955
  ),
1954
1956
  l.title,
1955
- l.count && /* @__PURE__ */ i.jsx("span", { className: ke.n, children: l.count })
1957
+ l.count && /* @__PURE__ */ i.jsx("span", { className: xe.n, children: l.count })
1956
1958
  ] }),
1957
- /* @__PURE__ */ i.jsx("span", { className: ke.a, children: "›" })
1959
+ /* @__PURE__ */ i.jsx("span", { className: xe.a, children: "›" })
1958
1960
  ]
1959
1961
  },
1960
1962
  p
@@ -1976,26 +1978,26 @@ function qr({
1976
1978
  title: c,
1977
1979
  className: l,
1978
1980
  view: p = "list",
1979
- position: k = "left"
1981
+ position: x = "left"
1980
1982
  }) {
1981
- const [b, u] = J(!1), [S, h] = J(
1983
+ const [m, u] = J(!1), [R, h] = J(
1982
1984
  null
1983
1985
  );
1984
1986
  fe(() => {
1985
- let m = document.querySelector(".p_sb");
1986
- return m || (m = document.createElement("div"), m.className = "_p_sb", document.body.appendChild(m)), h(m), () => {
1987
- m && m.parentNode && m.parentNode.removeChild(m);
1987
+ let g = document.querySelector(".p_sb");
1988
+ return g || (g = document.createElement("div"), g.className = "_p_sb", document.body.appendChild(g)), h(g), () => {
1989
+ g && g.parentNode && g.parentNode.removeChild(g);
1988
1990
  };
1989
1991
  }, []);
1990
- const g = /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
1991
- b && /* @__PURE__ */ i.jsx("div", { className: le.o, onClick: () => u(!1) }),
1992
+ const b = /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
1993
+ m && /* @__PURE__ */ i.jsx("div", { className: le.o, onClick: () => u(!1) }),
1992
1994
  /* @__PURE__ */ i.jsxs(
1993
1995
  "div",
1994
1996
  {
1995
- className: Pe(
1997
+ className: we(
1996
1998
  le.m,
1997
- k === "left" ? le.l : le.r,
1998
- b && le.x,
1999
+ x === "left" ? le.l : le.r,
2000
+ m && le.x,
1999
2001
  l
2000
2002
  ),
2001
2003
  children: [
@@ -2037,7 +2039,7 @@ function qr({
2037
2039
  children: n
2038
2040
  }
2039
2041
  ),
2040
- S && nr(g, S)
2042
+ R && nr(b, R)
2041
2043
  ] });
2042
2044
  }
2043
2045
  let ot = () => {
@@ -2050,21 +2052,21 @@ const rr = ({
2050
2052
  className: l,
2051
2053
  onOpen: p
2052
2054
  }) => {
2053
- const [k, b] = F.useState(!1);
2055
+ const [x, m] = F.useState(!1);
2054
2056
  return ot = () => {
2055
- b(!0), setTimeout(() => {
2057
+ m(!0), setTimeout(() => {
2056
2058
  var u;
2057
- p == null || p(!1), (u = we == null ? void 0 : we.onClose) == null || u.call(we);
2059
+ p == null || p(!1), (u = Ce == null ? void 0 : Ce.onClose) == null || u.call(Ce);
2058
2060
  }, 300);
2059
2061
  }, /* @__PURE__ */ i.jsx(
2060
2062
  "div",
2061
2063
  {
2062
- className: `footer-menu-overlay ${a ? "is-overlay" : ""} ${k ? "closing" : ""} `,
2064
+ className: `footer-menu-overlay ${a ? "is-overlay" : ""} ${x ? "closing" : ""} `,
2063
2065
  onClick: ot,
2064
2066
  children: /* @__PURE__ */ i.jsxs(
2065
2067
  "div",
2066
2068
  {
2067
- className: `footer-menu-popup-book ${k ? "closing" : ""} ${l || ""} ${c ? "footer" : ""}`,
2069
+ className: `footer-menu-popup-book ${x ? "closing" : ""} ${l || ""} ${c ? "footer" : ""}`,
2068
2070
  onClick: (u) => u.stopPropagation(),
2069
2071
  children: [
2070
2072
  /* @__PURE__ */ i.jsxs("div", { className: "footer-menu-header", children: [
@@ -2089,58 +2091,58 @@ const rr = ({
2089
2091
  row: Jr,
2090
2092
  column: Kr,
2091
2093
  badge: Gr
2092
- }, we = [], Jt = (r, n) => r.findIndex((a) => (a == null ? void 0 : a.page) === n), Zr = ({
2094
+ }, Ce = [], Jt = (r, n) => r.findIndex((a) => (a == null ? void 0 : a.page) === n), Zr = ({
2093
2095
  actions: r,
2094
2096
  children: n,
2095
2097
  className: a,
2096
2098
  toHide: c = !1,
2097
2099
  page: l,
2098
2100
  onPageChange: p,
2099
- direction: k = "row"
2101
+ direction: x = "row"
2100
2102
  }) => {
2101
- const [b, u] = F.useState(null), [S, h] = F.useState(
2103
+ const [m, u] = F.useState(null), [R, h] = F.useState(
2102
2104
  l ? Jt(r || [], l) : 0
2103
2105
  );
2104
- return we.onClose = () => {
2106
+ return Ce.onClose = () => {
2105
2107
  u(null), h(l ? Jt(r || [], l) : 0);
2106
2108
  }, fe(() => {
2107
2109
  if (!c)
2108
2110
  return;
2109
- const g = document.querySelectorAll("[contenteditable]"), m = () => {
2110
- const T = document.querySelector("footer");
2111
- T && (T.style.display = "flex");
2112
- }, P = () => {
2113
- const T = document.querySelector("footer");
2114
- T && (T.style.display = "none");
2111
+ const b = document.querySelectorAll("[contenteditable]"), g = () => {
2112
+ const P = document.querySelector("footer");
2113
+ P && (P.style.display = "flex");
2114
+ }, T = () => {
2115
+ const P = document.querySelector("footer");
2116
+ P && (P.style.display = "none");
2115
2117
  };
2116
- return g.forEach((T) => {
2117
- T.addEventListener("focus", P, !0), T.addEventListener("blur", m, !0);
2118
+ return b.forEach((P) => {
2119
+ P.addEventListener("focus", T, !0), P.addEventListener("blur", g, !0);
2118
2120
  }), () => {
2119
- g.forEach((T) => {
2120
- T.removeEventListener("focus", P, !0), T.removeEventListener("blur", m, !0);
2121
+ b.forEach((P) => {
2122
+ P.removeEventListener("focus", T, !0), P.removeEventListener("blur", g, !0);
2121
2123
  });
2122
2124
  };
2123
2125
  }, []), /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
2124
- b,
2126
+ m,
2125
2127
  /* @__PURE__ */ i.jsxs(
2126
2128
  "footer",
2127
2129
  {
2128
- className: `${Mt.h} ${Mt[k]} ${a} `,
2130
+ className: `${Mt.h} ${Mt[x]} ${a} `,
2129
2131
  children: [
2130
2132
  n,
2131
- r && r.map((g, m) => /* @__PURE__ */ i.jsxs(
2133
+ r && r.map((b, g) => /* @__PURE__ */ i.jsxs(
2132
2134
  "div",
2133
2135
  {
2134
- "data-active": S === m ? "true" : "false",
2136
+ "data-active": R === g ? "true" : "false",
2135
2137
  onClick: () => {
2136
- g.page && (h(m), p == null || p(g.page)), g.callback && (g.callback(), h(m)), g.component && (S === m ? ot() : (u(g.component), h(m)));
2138
+ b.page && (h(g), p == null || p(b.page)), b.callback && (b.callback(), h(g)), b.component && (R === g ? ot() : (u(b.component), h(g)));
2137
2139
  },
2138
2140
  children: [
2139
- g.icon,
2140
- g.badge && /* @__PURE__ */ i.jsx("div", { className: Mt.badge, children: g.badge })
2141
+ b.icon,
2142
+ b.badge && /* @__PURE__ */ i.jsx("div", { className: Mt.badge, children: b.badge })
2141
2143
  ]
2142
2144
  },
2143
- m
2145
+ g
2144
2146
  ))
2145
2147
  ]
2146
2148
  }
@@ -2160,24 +2162,24 @@ function rn({
2160
2162
  isScroll: l = !0,
2161
2163
  nextBackButton: p
2162
2164
  }) {
2163
- const [k, b] = J(!1);
2165
+ const [x, m] = J(!1);
2164
2166
  return fe(() => {
2165
2167
  if (!c) return;
2166
- const u = p === void 0 ? dn().pop() : p, S = () => {
2167
- b(!1), setTimeout(() => {
2168
+ const u = p === void 0 ? dn().pop() : p, R = () => {
2169
+ m(!1), setTimeout(() => {
2168
2170
  Gt(u || !1), a == null || a();
2169
2171
  }, 300);
2170
2172
  };
2171
2173
  Lt[n] = {
2172
- onClose: S,
2174
+ onClose: R,
2173
2175
  onOpen: () => {
2174
- b(!0);
2176
+ m(!0);
2175
2177
  }
2176
2178
  }, Gt({
2177
- callback: S
2179
+ callback: R
2178
2180
  });
2179
2181
  const h = setTimeout(() => {
2180
- b(!0);
2182
+ m(!0);
2181
2183
  }, 10);
2182
2184
  return () => {
2183
2185
  clearTimeout(h);
@@ -2185,9 +2187,9 @@ function rn({
2185
2187
  }, [c]), c ? /* @__PURE__ */ i.jsxs(
2186
2188
  "div",
2187
2189
  {
2188
- className: Pe(
2190
+ className: we(
2189
2191
  st.w,
2190
- k && st.v,
2192
+ x && st.v,
2191
2193
  l && st.s
2192
2194
  ),
2193
2195
  children: [
@@ -2212,21 +2214,21 @@ function sn({
2212
2214
  isLoading: l,
2213
2215
  isScrollBar: p = !1
2214
2216
  }) {
2215
- const [k, b] = J(l || !1);
2217
+ const [x, m] = J(l || !1);
2216
2218
  fe(() => {
2217
- b(l || !1);
2219
+ m(l || !1);
2218
2220
  }, [l]);
2219
2221
  let u = {
2220
- onScroll: (S) => {
2221
- const { scrollTop: h, scrollHeight: g, clientHeight: m } = S.currentTarget;
2222
- h + m >= g - c && !k && (b(!0), a == null || a());
2222
+ onScroll: (R) => {
2223
+ const { scrollTop: h, scrollHeight: b, clientHeight: g } = R.currentTarget;
2224
+ h + g >= b - c && !x && (m(!0), a == null || a());
2223
2225
  }
2224
2226
  };
2225
2227
  return /* @__PURE__ */ i.jsx(
2226
2228
  "div",
2227
2229
  {
2228
2230
  ...u,
2229
- className: Pe(Kt.s, !p && Kt.n, r),
2231
+ className: we(Kt.s, !p && Kt.n, r),
2230
2232
  children: n
2231
2233
  }
2232
2234
  );
@@ -2243,7 +2245,7 @@ function fn({
2243
2245
  title: c
2244
2246
  }) {
2245
2247
  let l = "";
2246
- return a === "left" ? l = Dt.l : a === "right" && (l = Dt.r), /* @__PURE__ */ i.jsxs("div", { className: Pe(Dt.a, l, n), children: [
2248
+ return a === "left" ? l = Dt.l : a === "right" && (l = Dt.r), /* @__PURE__ */ i.jsxs("div", { className: we(Dt.a, l, n), children: [
2247
2249
  r,
2248
2250
  c && /* @__PURE__ */ i.jsx("b", { children: c })
2249
2251
  ] });
@@ -2257,9 +2259,9 @@ const U = {
2257
2259
  var a;
2258
2260
  let n = U.state.pop();
2259
2261
  U.prev = de.getPage(), n.page !== void 0 ? de.setPage(n.page) : (a = n.callback) == null || a.call(n);
2260
- }), Ce.BackButton.onClick(U.listen[0]));
2262
+ }), Pe.BackButton.onClick(U.listen[0]));
2261
2263
  }
2262
- }, Pe = (...r) => r.filter((n) => n !== void 0 && n !== !1 && n !== null && n !== "").join(" ");
2264
+ }, we = (...r) => r.filter((n) => n !== void 0 && n !== !1 && n !== null && n !== "").join(" ");
2263
2265
  var N;
2264
2266
  ((r) => {
2265
2267
  r.WebApp = window.Telegram.WebApp, r.getUser = () => {
@@ -2268,21 +2270,21 @@ var N;
2268
2270
  }, r.Notice = {
2269
2271
  Send: (n, a, c) => {
2270
2272
  var l, p;
2271
- 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));
2273
+ a !== void 0 ? (ke.Send({ type: n, text: a, thema: c }), (l = r.WebApp.HapticFeedback) == null || l.notificationOccurred(n)) : (ke.Send(n), (p = r.WebApp.HapticFeedback) == null || p.notificationOccurred(n.type));
2272
2274
  },
2273
2275
  Error: (n) => {
2274
2276
  var a;
2275
- xe.Send({ type: "error", text: n }), (a = r.WebApp.HapticFeedback) == null || a.notificationOccurred("error");
2277
+ ke.Send({ type: "error", text: n }), (a = r.WebApp.HapticFeedback) == null || a.notificationOccurred("error");
2276
2278
  },
2277
2279
  Success: (n) => {
2278
2280
  var a;
2279
- xe.Send({ type: "success", text: n }), (a = r.WebApp.HapticFeedback) == null || a.notificationOccurred("success");
2281
+ ke.Send({ type: "success", text: n }), (a = r.WebApp.HapticFeedback) == null || a.notificationOccurred("success");
2280
2282
  },
2281
2283
  Warning: (n) => {
2282
2284
  var a;
2283
- xe.Send({ type: "warning", text: n }), (a = r.WebApp.HapticFeedback) == null || a.notificationOccurred("warning");
2285
+ ke.Send({ type: "warning", text: n }), (a = r.WebApp.HapticFeedback) == null || a.notificationOccurred("warning");
2284
2286
  }
2285
- }, r.Header = Sr, r.TabBar = Zr, r.BottomSheet = rr, r.toggleBottomSheet = ot, r.SafeArea = jr, r.Loading = wr, r.Sidebar = qr, r.SidePanel = rn, r.AppBar = fn, r.SidePanelController = nn, r.Scroll = sn, r.Modal = Wt, r.Menu = Mr, r.MainButton = {
2287
+ }, r.Header = Sr, r.TabBar = Zr, r.BottomSheet = rr, r.toggleBottomSheet = ot, r.SafeArea = jr, r.Loading = Cr, r.Sidebar = qr, r.SidePanel = rn, r.AppBar = fn, r.SidePanelController = nn, r.Scroll = sn, r.Modal = Wt, r.Menu = Mr, r.MainButton = {
2286
2288
  callback: [],
2287
2289
  set: (n) => {
2288
2290
  Ee.is ? Ee.MainButton.set(n) : (r.WebApp.MainButton.callback.forEach((a) => {
@@ -2300,28 +2302,28 @@ var N;
2300
2302
  Ee.is ? Ee.BackButton.set(n) : (U.state.push(n), U.router(n));
2301
2303
  };
2302
2304
  })(N || (N = {}));
2303
- const hn = N.TabBar, gn = rr, Gt = N.BackButton, yn = N.BackButtonPrev, dn = N.BackButtonState, mn = N.Notice, bn = N.SafeArea, _n = N.Loading, Rn = N.Menu, Sn = N.SidePanel, kn = N.Scroll, xn = N.AppBar, En = N.Sidebar, jn = N.SidePanelController, { Header: On, toggleBottomSheet: An, Modal: wn, MainButton: Cn, WebApp: Ce, getUser: Pn } = N;
2305
+ const hn = N.TabBar, gn = rr, Gt = N.BackButton, yn = N.BackButtonPrev, dn = N.BackButtonState, mn = N.Notice, bn = N.SafeArea, _n = N.Loading, Rn = N.Menu, Sn = N.SidePanel, xn = N.Scroll, kn = N.AppBar, En = N.Sidebar, jn = N.SidePanelController, { Header: On, toggleBottomSheet: An, Modal: Cn, MainButton: Pn, WebApp: Pe, getUser: wn } = N;
2304
2306
  export {
2305
- xn as AppBar,
2307
+ kn as AppBar,
2306
2308
  Gt as BackButton,
2307
2309
  yn as BackButtonPrev,
2308
2310
  dn as BackButtonState,
2309
2311
  gn as BottomSheet,
2310
2312
  On as Header,
2311
2313
  _n as Loading,
2312
- Cn as MainButton,
2314
+ Pn as MainButton,
2313
2315
  Rn as Menu,
2314
- wn as Modal,
2316
+ Cn as Modal,
2315
2317
  mn as Notice,
2316
2318
  bn as SafeArea,
2317
- kn as Scroll,
2319
+ xn as Scroll,
2318
2320
  Sn as SidePanel,
2319
2321
  jn as SidePanelController,
2320
2322
  En as Sidebar,
2321
2323
  hn as TabBar,
2322
- Ce as WebApp,
2323
- Pe as clsx,
2324
+ Pe as WebApp,
2325
+ we as clsx,
2324
2326
  N as default,
2325
- Pn as getUser,
2327
+ wn as getUser,
2326
2328
  An as toggleBottomSheet
2327
2329
  };