@elcrm/telegram 0.0.27 → 0.0.29

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
@@ -92,13 +92,13 @@ function Ea(e) {
92
92
  } else
93
93
  U.module = e;
94
94
  }
95
- function Ta(e, t = !0) {
95
+ function Ba(e, t = !0) {
96
96
  j.module = e, sessionStorage.setItem("f", N.enCode(j)), t && U.module(e);
97
97
  }
98
98
  function rn() {
99
99
  return j.module;
100
100
  }
101
- function Ba(e) {
101
+ function Ta(e) {
102
102
  return j.module === e;
103
103
  }
104
104
  function Ra(e) {
@@ -110,7 +110,7 @@ function Ra(e) {
110
110
  } else
111
111
  U.tabs = e;
112
112
  }
113
- function Ia(e, t = !0) {
113
+ function Ma(e, t = !0) {
114
114
  if (j.tab = e, sessionStorage.setItem("f", N.enCode(j)), !!t)
115
115
  if (U.tabs)
116
116
  U.tabs(e);
@@ -120,7 +120,7 @@ function Ia(e, t = !0) {
120
120
  function Ze() {
121
121
  return j.tab;
122
122
  }
123
- function Ma(e) {
123
+ function Ia(e) {
124
124
  return j.tab === e;
125
125
  }
126
126
  function Na(e) {
@@ -429,7 +429,7 @@ function mr() {
429
429
  }
430
430
  return Re.Fragment = a, Re.jsx = l, Re.jsxs = l, Re;
431
431
  }
432
- var Ie = {};
432
+ var Me = {};
433
433
  /**
434
434
  * @license React
435
435
  * react-jsx-runtime.development.js
@@ -452,34 +452,34 @@ function hr() {
452
452
  var C = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
453
453
  function y(s) {
454
454
  {
455
- for (var h = arguments.length, k = new Array(h > 1 ? h - 1 : 0), w = 1; w < h; w++)
456
- k[w - 1] = arguments[w];
457
- T("error", s, k);
455
+ for (var h = arguments.length, k = new Array(h > 1 ? h - 1 : 0), S = 1; S < h; S++)
456
+ k[S - 1] = arguments[S];
457
+ B("error", s, k);
458
458
  }
459
459
  }
460
- function T(s, h, k) {
460
+ function B(s, h, k) {
461
461
  {
462
- var w = C.ReactDebugCurrentFrame, D = w.getStackAddendum();
462
+ var S = C.ReactDebugCurrentFrame, D = S.getStackAddendum();
463
463
  D !== "" && (h += "%s", k = k.concat([D]));
464
- var F = k.map(function(M) {
465
- return String(M);
464
+ var F = k.map(function(I) {
465
+ return String(I);
466
466
  });
467
467
  F.unshift("Warning: " + h), Function.prototype.apply.call(console[s], console, F);
468
468
  }
469
469
  }
470
- var B = !1, P = !1, O = !1, K = !1, oe = !1, z;
470
+ var T = !1, P = !1, O = !1, K = !1, oe = !1, z;
471
471
  z = Symbol.for("react.module.reference");
472
- function I(s) {
473
- return !!(typeof s == "string" || typeof s == "function" || s === r || s === o || oe || s === i || s === _ || s === u || K || s === m || B || P || O || typeof s == "object" && s !== null && (s.$$typeof === x || s.$$typeof === f || s.$$typeof === l || s.$$typeof === c || s.$$typeof === d || // This needs to include all possible module reference object
472
+ function M(s) {
473
+ return !!(typeof s == "string" || typeof s == "function" || s === r || s === o || oe || s === i || s === _ || s === u || K || s === m || T || P || O || typeof s == "object" && s !== null && (s.$$typeof === x || s.$$typeof === f || s.$$typeof === l || s.$$typeof === c || s.$$typeof === d || // This needs to include all possible module reference object
474
474
  // types supported by any Flight configuration anywhere since
475
475
  // we don't know which Flight build this will end up being used
476
476
  // with.
477
477
  s.$$typeof === z || s.getModuleId !== void 0));
478
478
  }
479
479
  function W(s, h, k) {
480
- var w = s.displayName;
481
- if (w)
482
- return w;
480
+ var S = s.displayName;
481
+ if (S)
482
+ return S;
483
483
  var D = h.displayName || h.name || "";
484
484
  return D !== "" ? k + "(" + D + ")" : k;
485
485
  }
@@ -518,12 +518,12 @@ function hr() {
518
518
  case d:
519
519
  return W(s, s.render, "ForwardRef");
520
520
  case f:
521
- var w = s.displayName || null;
522
- return w !== null ? w : E(s.type) || "Memo";
521
+ var S = s.displayName || null;
522
+ return S !== null ? S : E(s.type) || "Memo";
523
523
  case x: {
524
- var D = s, F = D._payload, M = D._init;
524
+ var D = s, F = D._payload, I = D._init;
525
525
  try {
526
- return E(M(F));
526
+ return E(I(F));
527
527
  } catch {
528
528
  return null;
529
529
  }
@@ -531,14 +531,14 @@ function hr() {
531
531
  }
532
532
  return null;
533
533
  }
534
- var Z = Object.assign, Y = 0, $e, te, Ee, Ve, Le, Tt, Bt;
534
+ var Z = Object.assign, Y = 0, $e, te, Ee, Ve, Le, Bt, Tt;
535
535
  function Rt() {
536
536
  }
537
537
  Rt.__reactDisabledLog = !0;
538
538
  function $n() {
539
539
  {
540
540
  if (Y === 0) {
541
- $e = console.log, te = console.info, Ee = console.warn, Ve = console.error, Le = console.group, Tt = console.groupCollapsed, Bt = console.groupEnd;
541
+ $e = console.log, te = console.info, Ee = console.warn, Ve = console.error, Le = console.group, Bt = console.groupCollapsed, Tt = console.groupEnd;
542
542
  var s = {
543
543
  configurable: !0,
544
544
  enumerable: !0,
@@ -583,10 +583,10 @@ function hr() {
583
583
  value: Le
584
584
  }),
585
585
  groupCollapsed: Z({}, s, {
586
- value: Tt
586
+ value: Bt
587
587
  }),
588
588
  groupEnd: Z({}, s, {
589
- value: Bt
589
+ value: Tt
590
590
  })
591
591
  });
592
592
  }
@@ -600,8 +600,8 @@ function hr() {
600
600
  try {
601
601
  throw Error();
602
602
  } catch (D) {
603
- var w = D.stack.trim().match(/\n( *(at )?)/);
604
- Je = w && w[1] || "";
603
+ var S = D.stack.trim().match(/\n( *(at )?)/);
604
+ Je = S && S[1] || "";
605
605
  }
606
606
  return `
607
607
  ` + Je + s;
@@ -612,7 +612,7 @@ function hr() {
612
612
  var An = typeof WeakMap == "function" ? WeakMap : Map;
613
613
  Oe = new An();
614
614
  }
615
- function It(s, h) {
615
+ function Mt(s, h) {
616
616
  if (!s || Xe)
617
617
  return "";
618
618
  {
@@ -620,7 +620,7 @@ function hr() {
620
620
  if (k !== void 0)
621
621
  return k;
622
622
  }
623
- var w;
623
+ var S;
624
624
  Xe = !0;
625
625
  var D = Error.prepareStackTrace;
626
626
  Error.prepareStackTrace = void 0;
@@ -628,40 +628,40 @@ function hr() {
628
628
  F = qe.current, qe.current = null, $n();
629
629
  try {
630
630
  if (h) {
631
- var M = function() {
631
+ var I = function() {
632
632
  throw Error();
633
633
  };
634
- if (Object.defineProperty(M.prototype, "props", {
634
+ if (Object.defineProperty(I.prototype, "props", {
635
635
  set: function() {
636
636
  throw Error();
637
637
  }
638
638
  }), typeof Reflect == "object" && Reflect.construct) {
639
639
  try {
640
- Reflect.construct(M, []);
640
+ Reflect.construct(I, []);
641
641
  } catch (q) {
642
- w = q;
642
+ S = q;
643
643
  }
644
- Reflect.construct(s, [], M);
644
+ Reflect.construct(s, [], I);
645
645
  } else {
646
646
  try {
647
- M.call();
647
+ I.call();
648
648
  } catch (q) {
649
- w = q;
649
+ S = q;
650
650
  }
651
- s.call(M.prototype);
651
+ s.call(I.prototype);
652
652
  }
653
653
  } else {
654
654
  try {
655
655
  throw Error();
656
656
  } catch (q) {
657
- w = q;
657
+ S = q;
658
658
  }
659
659
  s();
660
660
  }
661
661
  } catch (q) {
662
- if (q && w && typeof q.stack == "string") {
662
+ if (q && S && typeof q.stack == "string") {
663
663
  for (var R = q.stack.split(`
664
- `), V = w.stack.split(`
664
+ `), V = S.stack.split(`
665
665
  `), L = R.length - 1, G = V.length - 1; L >= 1 && G >= 0 && R[L] !== V[G]; )
666
666
  G--;
667
667
  for (; L >= 1 && G >= 0; L--, G--)
@@ -684,7 +684,7 @@ function hr() {
684
684
  return typeof s == "function" && Oe.set(s, me), me;
685
685
  }
686
686
  function On(s, h, k) {
687
- return It(s, !1);
687
+ return Mt(s, !1);
688
688
  }
689
689
  function Gn(s) {
690
690
  var h = s.prototype;
@@ -694,7 +694,7 @@ function hr() {
694
694
  if (s == null)
695
695
  return "";
696
696
  if (typeof s == "function")
697
- return It(s, Gn(s));
697
+ return Mt(s, Gn(s));
698
698
  if (typeof s == "string")
699
699
  return Ae(s);
700
700
  switch (s) {
@@ -710,7 +710,7 @@ function hr() {
710
710
  case f:
711
711
  return Ge(s.type, h, k);
712
712
  case x: {
713
- var w = s, D = w._payload, F = w._init;
713
+ var S = s, D = S._payload, F = S._init;
714
714
  try {
715
715
  return Ge(F(D), h, k);
716
716
  } catch {
@@ -719,7 +719,7 @@ function hr() {
719
719
  }
720
720
  return "";
721
721
  }
722
- var Te = Object.prototype.hasOwnProperty, Mt = {}, Nt = C.ReactDebugCurrentFrame;
722
+ var Be = Object.prototype.hasOwnProperty, It = {}, Nt = C.ReactDebugCurrentFrame;
723
723
  function ze(s) {
724
724
  if (s) {
725
725
  var h = s._owner, k = Ge(s.type, s._source, h ? h.type : null);
@@ -727,22 +727,22 @@ function hr() {
727
727
  } else
728
728
  Nt.setExtraStackFrame(null);
729
729
  }
730
- function zn(s, h, k, w, D) {
730
+ function zn(s, h, k, S, D) {
731
731
  {
732
- var F = Function.call.bind(Te);
733
- for (var M in s)
734
- if (F(s, M)) {
732
+ var F = Function.call.bind(Be);
733
+ for (var I in s)
734
+ if (F(s, I)) {
735
735
  var R = void 0;
736
736
  try {
737
- if (typeof s[M] != "function") {
738
- var V = Error((w || "React class") + ": " + k + " type `" + M + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof s[M] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
737
+ if (typeof s[I] != "function") {
738
+ var V = Error((S || "React class") + ": " + k + " type `" + I + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof s[I] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
739
739
  throw V.name = "Invariant Violation", V;
740
740
  }
741
- R = s[M](h, M, w, k, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
741
+ R = s[I](h, I, S, k, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
742
742
  } catch (L) {
743
743
  R = L;
744
744
  }
745
- R && !(R instanceof Error) && (ze(D), y("%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).", w || "React class", k, M, typeof R), ze(null)), R instanceof Error && !(R.message in Mt) && (Mt[R.message] = !0, ze(D), y("Failed %s type: %s", k, R.message), ze(null));
745
+ R && !(R instanceof Error) && (ze(D), y("%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", k, I, typeof R), ze(null)), R instanceof Error && !(R.message in It) && (It[R.message] = !0, ze(D), y("Failed %s type: %s", k, R.message), ze(null));
746
746
  }
747
747
  }
748
748
  }
@@ -770,7 +770,7 @@ function hr() {
770
770
  if (Zn(s))
771
771
  return y("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Kn(s)), Dt(s);
772
772
  }
773
- var Be = C.ReactCurrentOwner, Un = {
773
+ var Te = C.ReactCurrentOwner, Un = {
774
774
  key: !0,
775
775
  ref: !0,
776
776
  __self: !0,
@@ -778,7 +778,7 @@ function hr() {
778
778
  }, Ft, $t, et;
779
779
  et = {};
780
780
  function Hn(s) {
781
- if (Te.call(s, "ref")) {
781
+ if (Be.call(s, "ref")) {
782
782
  var h = Object.getOwnPropertyDescriptor(s, "ref").get;
783
783
  if (h && h.isReactWarning)
784
784
  return !1;
@@ -786,7 +786,7 @@ function hr() {
786
786
  return s.ref !== void 0;
787
787
  }
788
788
  function Yn(s) {
789
- if (Te.call(s, "key")) {
789
+ if (Be.call(s, "key")) {
790
790
  var h = Object.getOwnPropertyDescriptor(s, "key").get;
791
791
  if (h && h.isReactWarning)
792
792
  return !1;
@@ -794,9 +794,9 @@ function hr() {
794
794
  return s.key !== void 0;
795
795
  }
796
796
  function Vn(s, h) {
797
- if (typeof s.ref == "string" && Be.current && h && Be.current.stateNode !== h) {
798
- var k = E(Be.current.type);
799
- et[k] || (y('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', E(Be.current.type), s.ref), et[k] = !0);
797
+ if (typeof s.ref == "string" && Te.current && h && Te.current.stateNode !== h) {
798
+ var k = E(Te.current.type);
799
+ et[k] || (y('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', E(Te.current.type), s.ref), et[k] = !0);
800
800
  }
801
801
  }
802
802
  function qn(s, h) {
@@ -821,7 +821,7 @@ function hr() {
821
821
  });
822
822
  }
823
823
  }
824
- var Xn = function(s, h, k, w, D, F, M) {
824
+ var Xn = function(s, h, k, S, D, F, I) {
825
825
  var R = {
826
826
  // This tag allows us to uniquely identify this as a React Element
827
827
  $$typeof: t,
@@ -829,7 +829,7 @@ function hr() {
829
829
  type: s,
830
830
  key: h,
831
831
  ref: k,
832
- props: M,
832
+ props: I,
833
833
  // Record the component responsible for creating this element.
834
834
  _owner: F
835
835
  };
@@ -842,7 +842,7 @@ function hr() {
842
842
  configurable: !1,
843
843
  enumerable: !1,
844
844
  writable: !1,
845
- value: w
845
+ value: S
846
846
  }), Object.defineProperty(R, "_source", {
847
847
  configurable: !1,
848
848
  enumerable: !1,
@@ -850,22 +850,22 @@ function hr() {
850
850
  value: D
851
851
  }), Object.freeze && (Object.freeze(R.props), Object.freeze(R)), R;
852
852
  };
853
- function Qn(s, h, k, w, D) {
853
+ function Qn(s, h, k, S, D) {
854
854
  {
855
- var F, M = {}, R = null, V = null;
855
+ var F, I = {}, R = null, V = null;
856
856
  k !== void 0 && (Pt(k), R = "" + k), Yn(h) && (Pt(h.key), R = "" + h.key), Hn(h) && (V = h.ref, Vn(h, D));
857
857
  for (F in h)
858
- Te.call(h, F) && !Un.hasOwnProperty(F) && (M[F] = h[F]);
858
+ Be.call(h, F) && !Un.hasOwnProperty(F) && (I[F] = h[F]);
859
859
  if (s && s.defaultProps) {
860
860
  var L = s.defaultProps;
861
861
  for (F in L)
862
- M[F] === void 0 && (M[F] = L[F]);
862
+ I[F] === void 0 && (I[F] = L[F]);
863
863
  }
864
864
  if (R || V) {
865
865
  var G = typeof s == "function" ? s.displayName || s.name || "Unknown" : s;
866
- R && qn(M, G), V && Jn(M, G);
866
+ R && qn(I, G), V && Jn(I, G);
867
867
  }
868
- return Xn(s, R, V, D, w, Be.current, M);
868
+ return Xn(s, R, V, D, S, Te.current, I);
869
869
  }
870
870
  }
871
871
  var tt = C.ReactCurrentOwner, Lt = C.ReactDebugCurrentFrame;
@@ -918,8 +918,8 @@ Check the top-level render call using <` + k + ">.");
918
918
  if (Ot[k])
919
919
  return;
920
920
  Ot[k] = !0;
921
- var w = "";
922
- s && s._owner && s._owner !== tt.current && (w = " It was passed a child from " + E(s._owner.type) + "."), be(s), y('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', k, w), be(null);
921
+ var S = "";
922
+ s && s._owner && s._owner !== tt.current && (S = " It was passed a child from " + E(s._owner.type) + "."), be(s), y('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', k, S), be(null);
923
923
  }
924
924
  }
925
925
  function zt(s, h) {
@@ -928,16 +928,16 @@ Check the top-level render call using <` + k + ">.");
928
928
  return;
929
929
  if (Qe(s))
930
930
  for (var k = 0; k < s.length; k++) {
931
- var w = s[k];
932
- at(w) && Gt(w, h);
931
+ var S = s[k];
932
+ at(S) && Gt(S, h);
933
933
  }
934
934
  else if (at(s))
935
935
  s._store && (s._store.validated = !0);
936
936
  else if (s) {
937
937
  var D = p(s);
938
938
  if (typeof D == "function" && D !== s.entries)
939
- for (var F = D.call(s), M; !(M = F.next()).done; )
940
- at(M.value) && Gt(M.value, h);
939
+ for (var F = D.call(s), I; !(I = F.next()).done; )
940
+ at(I.value) && Gt(I.value, h);
941
941
  }
942
942
  }
943
943
  }
@@ -956,8 +956,8 @@ Check the top-level render call using <` + k + ">.");
956
956
  else
957
957
  return;
958
958
  if (k) {
959
- var w = E(h);
960
- zn(k, s.props, "prop", w, s);
959
+ var S = E(h);
960
+ zn(k, s.props, "prop", S, s);
961
961
  } else if (h.PropTypes !== void 0 && !nt) {
962
962
  nt = !0;
963
963
  var D = E(h);
@@ -969,9 +969,9 @@ Check the top-level render call using <` + k + ">.");
969
969
  function aa(s) {
970
970
  {
971
971
  for (var h = Object.keys(s.props), k = 0; k < h.length; k++) {
972
- var w = h[k];
973
- if (w !== "children" && w !== "key") {
974
- be(s), y("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", w), be(null);
972
+ var S = h[k];
973
+ if (S !== "children" && S !== "key") {
974
+ be(s), y("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", S), be(null);
975
975
  break;
976
976
  }
977
977
  }
@@ -979,10 +979,10 @@ Check the top-level render call using <` + k + ">.");
979
979
  }
980
980
  }
981
981
  var Wt = {};
982
- function Kt(s, h, k, w, D, F) {
982
+ function Kt(s, h, k, S, D, F) {
983
983
  {
984
- var M = I(s);
985
- if (!M) {
984
+ var I = M(s);
985
+ if (!I) {
986
986
  var R = "";
987
987
  (s === void 0 || typeof s == "object" && s !== null && Object.keys(s).length === 0) && (R += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
988
988
  var V = ea();
@@ -993,10 +993,10 @@ Check the top-level render call using <` + k + ">.");
993
993
  var G = Qn(s, h, k, D, F);
994
994
  if (G == null)
995
995
  return G;
996
- if (M) {
996
+ if (I) {
997
997
  var Q = h.children;
998
998
  if (Q !== void 0)
999
- if (w)
999
+ if (S)
1000
1000
  if (Qe(Q)) {
1001
1001
  for (var Ce = 0; Ce < Q.length; Ce++)
1002
1002
  zt(Q[Ce], s);
@@ -1006,7 +1006,7 @@ Check the top-level render call using <` + k + ">.");
1006
1006
  else
1007
1007
  zt(Q, s);
1008
1008
  }
1009
- if (Te.call(h, "key")) {
1009
+ if (Be.call(h, "key")) {
1010
1010
  var me = E(s), q = Object.keys(h).filter(function(ca) {
1011
1011
  return ca !== "key";
1012
1012
  }), rt = q.length > 0 ? "{key: someKey, " + q.join(": ..., ") + ": ...}" : "{key: someKey}";
@@ -1030,8 +1030,8 @@ React keys must be passed directly to JSX without using spread:
1030
1030
  return Kt(s, h, k, !1);
1031
1031
  }
1032
1032
  var oa = ia, sa = ra;
1033
- Ie.Fragment = r, Ie.jsx = oa, Ie.jsxs = sa;
1034
- }()), Ie;
1033
+ Me.Fragment = r, Me.jsx = oa, Me.jsxs = sa;
1034
+ }()), Me;
1035
1035
  }
1036
1036
  process.env.NODE_ENV === "production" ? _t.exports = mr() : _t.exports = hr();
1037
1037
  var n = _t.exports;
@@ -1139,14 +1139,14 @@ ge.success = () => /* @__PURE__ */ n.jsxs("svg", { viewBox: "0 0 24 24", fill: "
1139
1139
  }
1140
1140
  )
1141
1141
  ] });
1142
- const Tr = "_alerts_1pds5_1", Br = "_menuAnimation_1pds5_1", Rr = "_menuItemAnimation_1pds5_1", Ir = "_allert_1pds5_111", Mr = "_al_1pds5_1", dt = {
1143
- alerts: Tr,
1144
- menuAnimation: Br,
1142
+ const Br = "_alerts_1pds5_1", Tr = "_menuAnimation_1pds5_1", Rr = "_menuItemAnimation_1pds5_1", Mr = "_allert_1pds5_111", Ir = "_al_1pds5_1", dt = {
1143
+ alerts: Br,
1144
+ menuAnimation: Tr,
1145
1145
  menuItemAnimation: Rr,
1146
1146
  "--body": "_--body_1pds5_103",
1147
- allert: Ir,
1147
+ allert: Mr,
1148
1148
  "--form": "_--form_1pds5_111",
1149
- al: Mr
1149
+ al: Ir
1150
1150
  };
1151
1151
  let Ne = {};
1152
1152
  function Nr() {
@@ -1380,14 +1380,14 @@ const ce = {
1380
1380
  getPage: an,
1381
1381
  usePage: ya,
1382
1382
  isPage: Sa,
1383
- setModule: Ta,
1383
+ setModule: Ba,
1384
1384
  getModule: rn,
1385
1385
  useModule: Ea,
1386
- isModule: Ba,
1387
- setTabs: Ia,
1386
+ isModule: Ta,
1387
+ setTabs: Ma,
1388
1388
  getTabs: Ze,
1389
1389
  useTabs: Ra,
1390
- isTabs: Ma,
1390
+ isTabs: Ia,
1391
1391
  useId: Na,
1392
1392
  setId: Pa,
1393
1393
  subId: Da,
@@ -1750,11 +1750,11 @@ function Si({ children: e }) {
1750
1750
  function Ei({ children: e }) {
1751
1751
  return /* @__PURE__ */ n.jsx("div", { className: ne.s, children: e });
1752
1752
  }
1753
- function Ti({ children: e, className: t }) {
1753
+ function Bi({ children: e, className: t }) {
1754
1754
  let a = {};
1755
1755
  return t && (a.className = t), /* @__PURE__ */ n.jsx("div", { "data-form": "outline", ...a, children: /* @__PURE__ */ n.jsx("ul", { children: e }) });
1756
1756
  }
1757
- function Bi({ children: e }) {
1757
+ function Ti({ children: e }) {
1758
1758
  return /* @__PURE__ */ n.jsx("div", { className: ne.c, children: e });
1759
1759
  }
1760
1760
  const Cn = {
@@ -1765,8 +1765,8 @@ const Cn = {
1765
1765
  Icon: pi,
1766
1766
  Open: xi,
1767
1767
  Shake: gi,
1768
- Form: Ti,
1769
- Center: Bi,
1768
+ Form: Bi,
1769
+ Center: Ti,
1770
1770
  Close: vi
1771
1771
  };
1772
1772
  function kt({
@@ -1801,15 +1801,15 @@ function kt({
1801
1801
  value: e
1802
1802
  });
1803
1803
  };
1804
- const T = {};
1805
- T.field = "input", v && (T.className = v);
1806
1804
  const B = {};
1807
- return r && (B.placeholder = r), l ? /* @__PURE__ */ n.jsx(n.Fragment, {}) : /* @__PURE__ */ n.jsxs("dl", { ...T, children: [
1805
+ B.field = "input", v && (B.className = v);
1806
+ const T = {};
1807
+ return r && (T.placeholder = r), l ? /* @__PURE__ */ n.jsx(n.Fragment, {}) : /* @__PURE__ */ n.jsxs("dl", { ...B, children: [
1808
1808
  i && /* @__PURE__ */ n.jsx("dt", { children: i }),
1809
1809
  /* @__PURE__ */ n.jsx(
1810
1810
  "dd",
1811
1811
  {
1812
- ...B,
1812
+ ...T,
1813
1813
  onClick: y,
1814
1814
  edit: (c && _) + "",
1815
1815
  "data-after": u,
@@ -1836,7 +1836,7 @@ function Ri(e, t) {
1836
1836
  t = t.replace(r, a[r]);
1837
1837
  return t;
1838
1838
  }
1839
- function Ii(e) {
1839
+ function Mi(e) {
1840
1840
  let t = [
1841
1841
  "Января",
1842
1842
  "Февраля",
@@ -1856,17 +1856,17 @@ function Ii(e) {
1856
1856
  name: a.getDate() + " " + t[a.getMonth()]
1857
1857
  };
1858
1858
  }
1859
- const Mi = (e) => {
1860
- function t(T, B) {
1859
+ const Ii = (e) => {
1860
+ function t(B, T) {
1861
1861
  var P, K, O;
1862
- T = T ?? "", B = B ?? 1;
1863
- for (var P = [], O = 0, K = T.length; O < K; )
1864
- P.push(T.slice(O, O += B));
1862
+ B = B ?? "", T = T ?? 1;
1863
+ for (var P = [], O = 0, K = B.length; O < K; )
1864
+ P.push(B.slice(O, O += T));
1865
1865
  return P;
1866
1866
  }
1867
- function a(T, B) {
1867
+ function a(B, T) {
1868
1868
  var P = [2, 0, 1, 1, 1, 2];
1869
- return B[T > 4 && T < 20 ? 2 : P[Math.min(T, 5)]];
1869
+ return T[B > 4 && B < 20 ? 2 : P[Math.min(B, 5)]];
1870
1870
  }
1871
1871
  var r = {
1872
1872
  null: "ноль",
@@ -2244,8 +2244,8 @@ function Zi(e) {
2244
2244
  const ye = {
2245
2245
  Age: Zi,
2246
2246
  Date: Ri,
2247
- MoneyString: Mi,
2248
- DateSort: Ii,
2247
+ MoneyString: Ii,
2248
+ DateSort: Mi,
2249
2249
  Size: Ni,
2250
2250
  TypeFiles: Di,
2251
2251
  Cases: Pi,
@@ -3955,12 +3955,12 @@ function jt({
3955
3955
  let v = "+_(___) ___-__-__", p = !0, C = 0, y = ($, E) => {
3956
3956
  let Z = document.createRange(), Y = window.getSelection();
3957
3957
  Z.setStart(E.childNodes[0], $), Z.collapse(!0), Y.removeAllRanges(), Y.addRange(Z), E.focus();
3958
- }, T = ($) => {
3958
+ }, B = ($) => {
3959
3959
  $.preventDefault(), navigator.clipboard.readText().then((E) => {
3960
3960
  window.document.execCommand("insertText", !1, E);
3961
3961
  }).catch((E) => {
3962
3962
  });
3963
- }, B = ($) => {
3963
+ }, T = ($) => {
3964
3964
  let E = 0, Z = "", Y = $.replace(/\D/g, "");
3965
3965
  Y === "" && (p = !0);
3966
3966
  let $e = Y.split(""), te = "";
@@ -3985,8 +3985,8 @@ function jt({
3985
3985
  function(E) {
3986
3986
  }
3987
3987
  );
3988
- }, O = B(e), K = ($) => {
3989
- let E = B($.target.textContent);
3988
+ }, O = T(e), K = ($) => {
3989
+ let E = T($.target.textContent);
3990
3990
  $.target.textContent = E.q, E.i = E.q.lastIndexOf(E.v.substr(-1)), E.i < E.q.length && E.q !== v ? E.i++ : E.i = E.q.indexOf("_"), y(E.i, $.target), t && t({ value: E.q.replace(/\D/g, ""), name: r });
3991
3991
  }, oe = ($) => {
3992
3992
  $.key === "Enter" && $.preventDefault();
@@ -3996,16 +3996,16 @@ function jt({
3996
3996
  value: $.target.textContent.replace(/\D/g, ""),
3997
3997
  name: r
3998
3998
  });
3999
- }, I = {};
4000
- I.field = "input", m && (I.className = m);
3999
+ }, M = {};
4000
+ M.field = "input", m && (M.className = m);
4001
4001
  let W = {};
4002
- return d && _ ? (W.edit = "true", W.contentEditable = "plaintext-only") : W.contentEditable = "false", i && (W.placeholder = i), u && (W.after = u), c ? /* @__PURE__ */ n.jsx(n.Fragment, {}) : /* @__PURE__ */ n.jsxs("dl", { ...I, children: [
4002
+ return d && _ ? (W.edit = "true", W.contentEditable = "plaintext-only") : W.contentEditable = "false", i && (W.placeholder = i), u && (W.after = u), c ? /* @__PURE__ */ n.jsx(n.Fragment, {}) : /* @__PURE__ */ n.jsxs("dl", { ...M, children: [
4003
4003
  o && /* @__PURE__ */ n.jsx("dt", { children: o }),
4004
4004
  /* @__PURE__ */ n.jsx(
4005
4005
  "dd",
4006
4006
  {
4007
4007
  ...W,
4008
- onPaste: T,
4008
+ onPaste: B,
4009
4009
  onInput: K,
4010
4010
  onKeyDown: oe,
4011
4011
  onContextMenu: P,
@@ -4068,18 +4068,18 @@ function yt({
4068
4068
  }) {
4069
4069
  const x = b.useRef();
4070
4070
  i = !!(i && (o === "" || c[o].n === void 0)) && !(a && r);
4071
- let g = o !== void 0 && o !== "" ? c[o].n : o, v = (T) => {
4072
- x.current.textContent = c[T].n, l && l({ value: T, name: _ });
4073
- }, p = (T) => {
4071
+ let g = o !== void 0 && o !== "" ? c[o].n : o, v = (B) => {
4072
+ x.current.textContent = c[B].n, l && l({ value: B, name: _ });
4073
+ }, p = (B) => {
4074
4074
  if (!(a && r))
4075
4075
  return;
4076
- const B = T.target.getBoundingClientRect();
4076
+ const T = B.target.getBoundingClientRect();
4077
4077
  He.setListener(
4078
4078
  "form",
4079
4079
  /* @__PURE__ */ n.jsx(
4080
4080
  Vi,
4081
4081
  {
4082
- parent: B,
4082
+ parent: T,
4083
4083
  onValue: v,
4084
4084
  view: f,
4085
4085
  options: c
@@ -4151,10 +4151,10 @@ function wt({
4151
4151
  onSave: m,
4152
4152
  className: g = ""
4153
4153
  }) {
4154
- let v = !!(l && (e === "" || e === void 0)), p = (B) => {
4155
- t == null || t({ value: B.target.value, name: a });
4156
- }, C = (B) => {
4157
- B.preventDefault(), navigator.clipboard.readText().then((P) => {
4154
+ let v = !!(l && (e === "" || e === void 0)), p = (T) => {
4155
+ t == null || t({ value: T.target.value, name: a });
4156
+ }, C = (T) => {
4157
+ T.preventDefault(), navigator.clipboard.readText().then((P) => {
4158
4158
  window.document.execCommand(
4159
4159
  "insertText",
4160
4160
  !1,
@@ -4162,8 +4162,8 @@ function wt({
4162
4162
  );
4163
4163
  }).catch((P) => {
4164
4164
  });
4165
- }, y = (B) => {
4166
- B.preventDefault(), navigator.clipboard.writeText(B.target.value).then(
4165
+ }, y = (T) => {
4166
+ T.preventDefault(), navigator.clipboard.writeText(T.target.value).then(
4167
4167
  function() {
4168
4168
  Ke.Copy("Данные в буфер обмене");
4169
4169
  },
@@ -4173,8 +4173,8 @@ function wt({
4173
4173
  };
4174
4174
  if (!(c && d) && !u || !(c && d) && v)
4175
4175
  return "";
4176
- const T = {};
4177
- return T.field = "input", g && (T.className = g), /* @__PURE__ */ n.jsxs("dl", { ...T, children: [
4176
+ const B = {};
4177
+ return B.field = "input", g && (B.className = g), /* @__PURE__ */ n.jsxs("dl", { ...B, children: [
4178
4178
  i ? /* @__PURE__ */ n.jsx("dt", { children: i }) : "",
4179
4179
  /* @__PURE__ */ n.jsx("dd", { children: /* @__PURE__ */ n.jsx(
4180
4180
  "input",
@@ -4455,18 +4455,18 @@ function En({
4455
4455
  let v = !!(l && (e === "" || e === void 0));
4456
4456
  if (!(c && d) && !u || !(c && d) && v)
4457
4457
  return "";
4458
- let p = (B) => {
4459
- t && t({ value: B.target.innerText, name: a });
4460
- }, C = (B) => {
4461
- m && m({ value: B.target.innerText, name: a });
4462
- }, y = (B) => {
4463
- B.preventDefault(), navigator.clipboard.readText().then((P) => {
4458
+ let p = (T) => {
4459
+ t && t({ value: T.target.innerText, name: a });
4460
+ }, C = (T) => {
4461
+ m && m({ value: T.target.innerText, name: a });
4462
+ }, y = (T) => {
4463
+ T.preventDefault(), navigator.clipboard.readText().then((P) => {
4464
4464
  window.document.execCommand("insertText", !1, P);
4465
4465
  }).catch((P) => {
4466
4466
  });
4467
4467
  };
4468
- const T = {};
4469
- return r && (T.placeholder = r), /* @__PURE__ */ n.jsxs("dl", { children: [
4468
+ const B = {};
4469
+ return r && (B.placeholder = r), /* @__PURE__ */ n.jsxs("dl", { children: [
4470
4470
  i ?? /* @__PURE__ */ n.jsx("dt", { children: i }),
4471
4471
  /* @__PURE__ */ n.jsx(
4472
4472
  "dd",
@@ -4475,7 +4475,7 @@ function En({
4475
4475
  onBlur: C,
4476
4476
  onInput: p,
4477
4477
  contentEditable: c && d ? "plaintext-only" : "false",
4478
- ...T,
4478
+ ...B,
4479
4479
  suppressContentEditableWarning: !0,
4480
4480
  children: e
4481
4481
  }
@@ -4483,7 +4483,7 @@ function En({
4483
4483
  o ?? /* @__PURE__ */ n.jsx("em", { children: o })
4484
4484
  ] });
4485
4485
  }
4486
- function Tn({
4486
+ function Bn({
4487
4487
  value: e,
4488
4488
  onValue: t,
4489
4489
  name: a,
@@ -4503,16 +4503,16 @@ function Tn({
4503
4503
  let v = !!(l && (e === "" || e === void 0));
4504
4504
  if (ye.Date(e === void 0 ? /* @__PURE__ */ new Date() : e, "HH:MM"), b.useRef(null), !(c && d) && !u || !(c && d) && v)
4505
4505
  return "";
4506
- const p = "__:__", C = new Set("_"), y = ((I) => Array.from(p, (W, $) => C.has(W) ? I = $ + 1 : I))(0), T = [...p].findIndex((I) => C.has(I)), B = new RegExp("\\d", "g"), P = (I) => (I = I.match(B) || [], Array.from(
4506
+ const p = "__:__", C = new Set("_"), y = ((M) => Array.from(p, (W, $) => C.has(W) ? M = $ + 1 : M))(0), B = [...p].findIndex((M) => C.has(M)), T = new RegExp("\\d", "g"), P = (M) => (M = M.match(T) || [], Array.from(
4507
4507
  p,
4508
- (W) => (I[0] === W || C.has(W)) && I.shift() || W
4509
- )), O = (I) => {
4510
- const [W, $] = [I.target.selectionStart, I.target.selectionEnd].map(
4511
- (E) => (E = P(I.target.value.slice(0, E)).findIndex(
4508
+ (W) => (M[0] === W || C.has(W)) && M.shift() || W
4509
+ )), O = (M) => {
4510
+ const [W, $] = [M.target.selectionStart, M.target.selectionEnd].map(
4511
+ (E) => (E = P(M.target.value.slice(0, E)).findIndex(
4512
4512
  (Z) => C.has(Z)
4513
- ), E < 0 ? y[y.length - 1] : z ? y[E - 1] || T : E)
4513
+ ), E < 0 ? y[y.length - 1] : z ? y[E - 1] || B : E)
4514
4514
  );
4515
- I.target.value = P(I.target.value).join(""), I.target.setSelectionRange(W, $), t == null || t({ name: a, value: I.target.value });
4515
+ M.target.value = P(M.target.value).join(""), M.target.setSelectionRange(W, $), t == null || t({ name: a, value: M.target.value });
4516
4516
  }, K = {};
4517
4517
  K.field = "input", g && (K.className = g);
4518
4518
  const oe = {};
@@ -4527,15 +4527,15 @@ function Tn({
4527
4527
  placeholder: r,
4528
4528
  onChange: O,
4529
4529
  inputMode: "numeric",
4530
- onKeyDown: (I) => z = I.key === "Backspace",
4530
+ onKeyDown: (M) => z = M.key === "Backspace",
4531
4531
  onFocus: O,
4532
- onBlur: (I) => I.target.value === p && (I.target.value = "")
4532
+ onBlur: (M) => M.target.value === p && (M.target.value = "")
4533
4533
  }
4534
4534
  ) }),
4535
4535
  o ? /* @__PURE__ */ n.jsx("em", { children: o }) : ""
4536
4536
  ] }) });
4537
4537
  }
4538
- function Bn({
4538
+ function Tn({
4539
4539
  onValue: e,
4540
4540
  label: t,
4541
4541
  value: a,
@@ -4573,7 +4573,7 @@ const Rn = ({ onValue: e, value: t, name: a, item: r }) => {
4573
4573
  }
4574
4574
  );
4575
4575
  };
4576
- function In({
4576
+ function Mn({
4577
4577
  value: e,
4578
4578
  onValue: t,
4579
4579
  name: a,
@@ -4600,17 +4600,17 @@ function In({
4600
4600
  p([...v, ""]);
4601
4601
  }, y = (z) => {
4602
4602
  v.splice(z, 1), v.length === 0 && v.push(""), p([...v]), x !== void 0 && x({ value: v.join(","), name: a });
4603
- }, T = !!(l && (e === "" || e === void 0)), B = (z) => {
4603
+ }, B = !!(l && (e === "" || e === void 0)), T = (z) => {
4604
4604
  };
4605
- if (!(c && d) && !u || !(c && d) && T)
4605
+ if (!(c && d) && !u || !(c && d) && B)
4606
4606
  return "";
4607
4607
  const P = {};
4608
4608
  P.field = "group", g && (P.className = g);
4609
4609
  const O = (z) => {
4610
4610
  fe.Blur(z), m && m({ value: z.target.textContent, name: a });
4611
4611
  };
4612
- let K = (z, I) => {
4613
- v[I] = z.target.textContent, t !== void 0 && t({ value: v.join(","), name: a });
4612
+ let K = (z, M) => {
4613
+ v[M] = z.target.textContent, t !== void 0 && t({ value: v.join(","), name: a });
4614
4614
  }, oe = (z) => {
4615
4615
  z.key === "Enter" && z.preventDefault();
4616
4616
  };
@@ -4634,27 +4634,27 @@ function In({
4634
4634
  }
4635
4635
  ) })
4636
4636
  ] }),
4637
- /* @__PURE__ */ n.jsx("dd", { children: v.map((z, I) => /* @__PURE__ */ n.jsxs("li", { className: "field_group_item", children: [
4637
+ /* @__PURE__ */ n.jsx("dd", { children: v.map((z, M) => /* @__PURE__ */ n.jsxs("li", { className: "field_group_item", children: [
4638
4638
  /* @__PURE__ */ n.jsx(
4639
4639
  "span",
4640
4640
  {
4641
- onInput: (W) => K(W, I),
4641
+ onInput: (W) => K(W, M),
4642
4642
  edit: "true",
4643
4643
  name: a,
4644
4644
  placeholder: r,
4645
- onPaste: B,
4645
+ onPaste: T,
4646
4646
  contentEditable: !0,
4647
4647
  onKeyDown: oe,
4648
4648
  onBlur: O,
4649
4649
  suppressContentEditableWarning: !0,
4650
- children: v[I]
4650
+ children: v[M]
4651
4651
  }
4652
4652
  ),
4653
4653
  /* @__PURE__ */ n.jsx(
4654
4654
  "i",
4655
4655
  {
4656
4656
  onClick: () => {
4657
- y(I);
4657
+ y(M);
4658
4658
  },
4659
4659
  children: /* @__PURE__ */ n.jsxs(
4660
4660
  "svg",
@@ -4674,12 +4674,12 @@ function In({
4674
4674
  )
4675
4675
  }
4676
4676
  )
4677
- ] }, I)) }),
4677
+ ] }, M)) }),
4678
4678
  o ? /* @__PURE__ */ n.jsx("em", { children: o }) : ""
4679
4679
  ] });
4680
4680
  }
4681
4681
  const Ji = (e) => (e = e !== void 0 && e !== "" ? e.split(",") : [], e.reduce((t, a) => (t[a] = !0, t), {}));
4682
- function Mn({
4682
+ function In({
4683
4683
  value: e,
4684
4684
  onValue: t,
4685
4685
  name: a,
@@ -4710,10 +4710,10 @@ function Mn({
4710
4710
  name: a,
4711
4711
  value: p
4712
4712
  });
4713
- }, T = {};
4714
- T.field = "group", v && (T.className = v);
4715
- const B = {};
4716
- return r && (B.placeholder = r), l ? /* @__PURE__ */ n.jsx(n.Fragment, {}) : /* @__PURE__ */ n.jsxs("dl", { ...T, children: [
4713
+ }, B = {};
4714
+ B.field = "group", v && (B.className = v);
4715
+ const T = {};
4716
+ return r && (T.placeholder = r), l ? /* @__PURE__ */ n.jsx(n.Fragment, {}) : /* @__PURE__ */ n.jsxs("dl", { ...B, children: [
4717
4717
  /* @__PURE__ */ n.jsxs("dt", { children: [
4718
4718
  i,
4719
4719
  /* @__PURE__ */ n.jsx("i", { onClick: y, children: /* @__PURE__ */ n.jsxs(
@@ -4737,7 +4737,7 @@ function Mn({
4737
4737
  /* @__PURE__ */ n.jsx(
4738
4738
  "dd",
4739
4739
  {
4740
- ...B,
4740
+ ...T,
4741
4741
  onClick: open,
4742
4742
  edit: (c && _) + "",
4743
4743
  "data-after": u,
@@ -4754,7 +4754,7 @@ const Xi = {
4754
4754
  Color: bn,
4755
4755
  Date: vt,
4756
4756
  Code: kn,
4757
- Check: Bn,
4757
+ Check: Tn,
4758
4758
  Switch: hn,
4759
4759
  Button: gn,
4760
4760
  Message: pn,
@@ -4771,12 +4771,12 @@ const Xi = {
4771
4771
  Select: yt,
4772
4772
  Set: ft,
4773
4773
  Textarea: En,
4774
- Time: Tn,
4774
+ Time: Bn,
4775
4775
  Users: St,
4776
4776
  String: wt,
4777
4777
  Toogle: Rn,
4778
- Group: In,
4779
- Options: Mn
4778
+ Group: Mn,
4779
+ Options: In
4780
4780
  }, Qi = "_debug_ug20b_34", eo = "_b_ug20b_46", to = "_o_ug20b_50", no = "_mb_ug20b_55", ao = "_tm_ug20b_66", ro = "_ta_ug20b_133", he = {
4781
4781
  debug: Qi,
4782
4782
  b: eo,
@@ -4785,7 +4785,7 @@ const Xi = {
4785
4785
  tm: ao,
4786
4786
  ta: ro,
4787
4787
  "--body": "_--body_ug20b_143"
4788
- }, S = window.Telegram.WebApp, ve = { is: !1, MainButton: {}, BackButton: {} };
4788
+ }, w = window.Telegram.WebApp, ve = { is: !1, MainButton: {}, BackButton: {} };
4789
4789
  let pe = {};
4790
4790
  pe.dark = {
4791
4791
  "--tg-theme-bg-color": "#212121",
@@ -4820,40 +4820,39 @@ pe.users = {
4820
4820
  "--tg-theme-button-text-color": "#000000",
4821
4821
  "--tg-theme-secondary-bg-color": "#000000"
4822
4822
  };
4823
- S.getUser = () => {
4823
+ w.getUser = () => {
4824
4824
  var e;
4825
- return ((e = S.initDataUnsafe) == null ? void 0 : e.user) === void 0 ? {} : S.initDataUnsafe;
4825
+ return ((e = w.initDataUnsafe) == null ? void 0 : e.user) === void 0 ? {} : w.initDataUnsafe;
4826
4826
  };
4827
- S.MainButton.callback = null;
4828
- S.onEvent("mainButtonClicked", S.MainButton.callback);
4829
- S.MainButton.set = (e) => {
4830
- ve.is ? ve.MainButton.set(e) : typeof e == "boolean" ? S.MainButton.isVisible = !1 : (S.MainButton.text = e.text, e.color && (S.MainButton.color = e.color), e.textColor && (S.MainButton.textColor = e.textColor), S.MainButton.isVisible = !0, S.MainButton.isActive = e.isActive === void 0 ? !0 : e.isActive, e.page === void 0 ? S.MainButton.callback = () => {
4827
+ w.MainButton.callback = null;
4828
+ w.MainButto.set = (e) => {
4829
+ ve.is ? ve.MainButton.set(e) : (w.MainButton.callback && w.MainButton.offClick(w.MainButton.callback), typeof e == "boolean" ? w.MainButton.isVisible = !1 : (w.MainButton.text = e.text, e.color && (w.MainButton.color = e.color), e.textColor && (w.MainButton.textColor = e.textColor), w.MainButton.isVisible = !0, w.MainButton.isActive = e.isActive === void 0 ? !0 : e.isActive, e.page === void 0 ? (w.MainButton.callback = () => {
4831
4830
  var t;
4832
4831
  (t = e.callback) == null || t.call(e);
4833
- } : S.MainButton.callback = () => {
4832
+ }, w.MainButton.onClick(w.MainButton.callback)) : (w.MainButton.callback = () => {
4834
4833
  ce.setPage(e.page);
4835
- });
4834
+ }, w.MainButton.onClick(w.MainButton.callback))));
4836
4835
  };
4837
- S.BackButton.state = [!1];
4838
- S.BackButton.listen = [];
4839
- S.BackButton.router = (e) => {
4840
- e === !1 ? (S.BackButton.isVisible = !1, S.BackButton.offClick(S.BackButton.listen[0]), S.BackButton.listen.shift(), S.BackButton.state.length !== 1 && S.BackButton.state.pop()) : (S.BackButton.isVisible = !0, S.BackButton.offClick(S.BackButton.listen[0]), S.BackButton.listen.shift(), S.BackButton.listen.push(() => {
4841
- let t = S.BackButton.state.pop();
4836
+ w.BackButton.state = [!1];
4837
+ w.BackButton.listen = [];
4838
+ w.BackButton.router = (e) => {
4839
+ e === !1 ? (w.BackButton.isVisible = !1, w.BackButton.offClick(w.BackButton.listen[0]), w.BackButton.listen.shift(), w.BackButton.state.length !== 1 && w.BackButton.state.pop()) : (w.BackButton.isVisible = !0, w.BackButton.offClick(w.BackButton.listen[0]), w.BackButton.listen.shift(), w.BackButton.listen.push(() => {
4840
+ let t = w.BackButton.state.pop();
4842
4841
  if (t.page !== void 0)
4843
4842
  ce.setPage(t.page);
4844
4843
  else {
4845
- let a = S.BackButton.state[S.BackButton.state.length - 1];
4846
- S.BackButton.router(a);
4844
+ let a = w.BackButton.state[w.BackButton.state.length - 1];
4845
+ w.BackButton.router(a);
4847
4846
  }
4848
- }), S.BackButton.onClick(S.BackButton.listen[0]));
4847
+ }), w.BackButton.onClick(w.BackButton.listen[0]));
4849
4848
  };
4850
- S.BackButton.set = (e) => {
4851
- ve.is ? ve.BackButton.set(e) : (S.BackButton.state.push(e), S.BackButton.router(e));
4849
+ w.BackButton.set = (e) => {
4850
+ ve.is ? ve.BackButton.set(e) : (w.BackButton.state.push(e), w.BackButton.router(e));
4852
4851
  };
4853
- S.Notice = (e, t) => {
4854
- t !== void 0 ? (Ke.Send({ type: e, text: t }), S.HapticFeedback.notificationOccurred(e)) : (Ke.Send(e), S.HapticFeedback.notificationOccurred(e.type));
4852
+ w.Notice = (e, t) => {
4853
+ t !== void 0 ? (Ke.Send({ type: e, text: t }), w.HapticFeedback.notificationOccurred(e)) : (Ke.Send(e), w.HapticFeedback.notificationOccurred(e.type));
4855
4854
  };
4856
- S.Init = ({ dev: e }) => {
4855
+ w.Init = ({ dev: e }) => {
4857
4856
  if (e) {
4858
4857
  let [t, a] = b.useState(!1), [r, i] = b.useState(!1), [o, l] = b.useState("dark"), [c, d] = b.useState(!1), [_, u] = b.useState(!1);
4859
4858
  ve.is = !0, ve.MainButton.set = a, ve.BackButton.set = i, b.useEffect(() => {
@@ -4952,7 +4951,7 @@ const io = ({ setAuthorization: e }) => {
4952
4951
  ] }) });
4953
4952
  }, dl = ({ children: e, config: t }) => (window.location.pathname === "/clear" && (window.history.pushState({}, "", "/"), X()), N.New(t.crypto), t.defaultModule && ha(t.defaultModule), pa(
4954
4953
  /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
4955
- /* @__PURE__ */ n.jsx(S.Init, { dev: t.dev }),
4954
+ /* @__PURE__ */ n.jsx(w.Init, { dev: t.dev }),
4956
4955
  /* @__PURE__ */ n.jsx(ui, { config: t.modal }),
4957
4956
  /* @__PURE__ */ n.jsx(Cr, {}),
4958
4957
  /* @__PURE__ */ n.jsx(Nr, {}),
@@ -5076,16 +5075,16 @@ function Dn({ text: e, type: t, button: a }) {
5076
5075
  a && /* @__PURE__ */ n.jsx("button", { onClick: l, children: a.label })
5077
5076
  ] });
5078
5077
  }
5079
- const yo = "_h_1usnu_1", wo = "_g_1usnu_11", So = "_hr_1usnu_16", Eo = "_hl_1usnu_28", To = "_t_1usnu_40", Bo = "_s_1usnu_60", Ro = "_u_1usnu_69", Io = "_o_1usnu_76", Mo = "_l_1usnu_105", No = "_hh_1usnu_115", Do = "_c_1usnu_128", Po = "_loadingB_1usnu_1", Fo = "_m_1usnu_180", $o = "_ul_1usnu_196", Lo = "_f_1usnu_226", J = {
5078
+ const yo = "_h_1usnu_1", wo = "_g_1usnu_11", So = "_hr_1usnu_16", Eo = "_hl_1usnu_28", Bo = "_t_1usnu_40", To = "_s_1usnu_60", Ro = "_u_1usnu_69", Mo = "_o_1usnu_76", Io = "_l_1usnu_105", No = "_hh_1usnu_115", Do = "_c_1usnu_128", Po = "_loadingB_1usnu_1", Fo = "_m_1usnu_180", $o = "_ul_1usnu_196", Lo = "_f_1usnu_226", J = {
5080
5079
  h: yo,
5081
5080
  g: wo,
5082
5081
  hr: So,
5083
5082
  hl: Eo,
5084
- t: To,
5085
- s: Bo,
5083
+ t: Bo,
5084
+ s: To,
5086
5085
  u: Ro,
5087
- o: Io,
5088
- l: Mo,
5086
+ o: Mo,
5087
+ l: Io,
5089
5088
  hh: No,
5090
5089
  c: Do,
5091
5090
  loadingB: Po,
@@ -5221,7 +5220,7 @@ function Vo() {
5221
5220
  const qo = "_n_euuvm_1", Jo = {
5222
5221
  n: qo
5223
5222
  };
5224
- let Fe = {}, Me = [];
5223
+ let Fe = {}, Ie = [];
5225
5224
  const Xo = (e, t) => {
5226
5225
  switch (t.type) {
5227
5226
  case "open":
@@ -5297,7 +5296,7 @@ function as() {
5297
5296
  }), ns(async (r) => {
5298
5297
  switch (r.action) {
5299
5298
  case "add":
5300
- Me.push(r.data);
5299
+ Ie.push(r.data);
5301
5300
  break;
5302
5301
  }
5303
5302
  }), b.useEffect(() => {
@@ -5315,7 +5314,7 @@ function as() {
5315
5314
  break;
5316
5315
  case "M01":
5317
5316
  r[i].forEach((o) => {
5318
- Me.push({
5317
+ Ie.push({
5319
5318
  module: "M01",
5320
5319
  type: 1,
5321
5320
  id: o.id,
@@ -5326,7 +5325,7 @@ function as() {
5326
5325
  break;
5327
5326
  case "M02":
5328
5327
  r[i].forEach((o) => {
5329
- Me.push({
5328
+ Ie.push({
5330
5329
  module: "M02",
5331
5330
  type: 117,
5332
5331
  id: o.id,
@@ -5337,7 +5336,7 @@ function as() {
5337
5336
  break;
5338
5337
  }
5339
5338
  })(), setInterval(() => {
5340
- Me.forEach((r, i) => {
5339
+ Ie.forEach((r, i) => {
5341
5340
  t({
5342
5341
  type: "add",
5343
5342
  data: {
@@ -5347,7 +5346,7 @@ function as() {
5347
5346
  datetime: r.datetime,
5348
5347
  txt: r.title
5349
5348
  }
5350
- }), r.datetime < (/* @__PURE__ */ new Date()).getTime() && Me.splice(i, 1);
5349
+ }), r.datetime < (/* @__PURE__ */ new Date()).getTime() && Ie.splice(i, 1);
5351
5350
  });
5352
5351
  }, 6e4);
5353
5352
  }, []);
@@ -5677,10 +5676,10 @@ const Se = () => (st || (st = new us()), st), ue = (e, t, a = Se()) => a._withID
5677
5676
  loadingB: ws,
5678
5677
  ul: Ss
5679
5678
  };
5680
- function Ts({ children: e }) {
5679
+ function Bs({ children: e }) {
5681
5680
  return /* @__PURE__ */ n.jsx("ul", { className: J.ul, children: e });
5682
5681
  }
5683
- function Bs(e, t) {
5682
+ function Ts(e, t) {
5684
5683
  switch (t.type) {
5685
5684
  case "load":
5686
5685
  return {
@@ -5719,7 +5718,7 @@ function xl({
5719
5718
  className: a,
5720
5719
  ...r
5721
5720
  }) {
5722
- const i = b.useRef(null), [o, l] = b.useReducer(Bs, {
5721
+ const i = b.useRef(null), [o, l] = b.useReducer(Ts, {
5723
5722
  load: !1,
5724
5723
  list: [],
5725
5724
  data: {},
@@ -5739,7 +5738,7 @@ function xl({
5739
5738
  className: [Es.s, a].join(" "),
5740
5739
  ref: i,
5741
5740
  onScroll: c,
5742
- children: /* @__PURE__ */ n.jsx(Ts, { "el-empty": "Данные не найдены", children: o.load && o.list !== void 0 ? o.list.map((d) => /* @__PURE__ */ n.jsx(r.item, { data: d }, d.id)) : /* @__PURE__ */ n.jsxs("div", { "data-load": "load", children: [
5741
+ children: /* @__PURE__ */ n.jsx(Bs, { "el-empty": "Данные не найдены", children: o.load && o.list !== void 0 ? o.list.map((d) => /* @__PURE__ */ n.jsx(r.item, { data: d }, d.id)) : /* @__PURE__ */ n.jsxs("div", { "data-load": "load", children: [
5743
5742
  /* @__PURE__ */ n.jsx("i", {}),
5744
5743
  /* @__PURE__ */ n.jsx("i", {}),
5745
5744
  /* @__PURE__ */ n.jsx("i", {})
@@ -5765,7 +5764,7 @@ const Rs = ({ label: e, onValue: t, value: a, name: r, item: i }) => {
5765
5764
  }
5766
5765
  );
5767
5766
  }, we = {};
5768
- function Is(e) {
5767
+ function Ms(e) {
5769
5768
  const [t, a] = b.useState({}), r = b.useRef(e);
5770
5769
  return we.u = (i) => {
5771
5770
  r.current = { ...r.current, [i.name]: i.value };
@@ -5773,7 +5772,7 @@ function Is(e) {
5773
5772
  a(Date.now());
5774
5773
  }, [r.current];
5775
5774
  }
5776
- function Ms(e) {
5775
+ function Is(e) {
5777
5776
  we.u(e), e.reload && we.r();
5778
5777
  }
5779
5778
  function Ns() {
@@ -5783,7 +5782,7 @@ const vl = {
5783
5782
  Color: bn,
5784
5783
  Date: vt,
5785
5784
  Code: kn,
5786
- Check: Bn,
5785
+ Check: Tn,
5787
5786
  Switch: hn,
5788
5787
  Button: gn,
5789
5788
  Message: pn,
@@ -5800,17 +5799,17 @@ const vl = {
5800
5799
  Select: yt,
5801
5800
  Set: ft,
5802
5801
  Textarea: En,
5803
- Time: Tn,
5802
+ Time: Bn,
5804
5803
  Users: St,
5805
5804
  String: wt,
5806
5805
  Form: ft,
5807
5806
  runReload: Ns,
5808
- useData: Is,
5809
- setValue: Ms,
5807
+ useData: Ms,
5808
+ setValue: Is,
5810
5809
  Palette: Rs,
5811
5810
  Toogle: Rn,
5812
- Group: In,
5813
- Options: Mn
5811
+ Group: Mn,
5812
+ Options: In
5814
5813
  }, Ds = "_spinner_1ul0m_1", Ps = "_l_1ul0m_75", Fs = "_loadingB_1ul0m_1", Pn = {
5815
5814
  spinner: Ds,
5816
5815
  l: Ps,
@@ -6196,7 +6195,7 @@ export {
6196
6195
  se as Store,
6197
6196
  yl as Switch,
6198
6197
  oo as Tabs,
6199
- S as Telegram,
6198
+ w as Telegram,
6200
6199
  wl as Triage,
6201
6200
  pl as User
6202
6201
  };