@elcrm/telegram 0.0.26 → 0.0.28
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 +138 -141
- package/dist/index.umd.js +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -110,7 +110,7 @@ function Ra(e) {
|
|
|
110
110
|
} else
|
|
111
111
|
U.tabs = e;
|
|
112
112
|
}
|
|
113
|
-
function
|
|
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
|
|
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
|
|
432
|
+
var Me = {};
|
|
433
433
|
/**
|
|
434
434
|
* @license React
|
|
435
435
|
* react-jsx-runtime.development.js
|
|
@@ -452,24 +452,24 @@ 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),
|
|
456
|
-
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
457
|
B("error", s, k);
|
|
458
458
|
}
|
|
459
459
|
}
|
|
460
460
|
function B(s, h, k) {
|
|
461
461
|
{
|
|
462
|
-
var
|
|
462
|
+
var S = C.ReactDebugCurrentFrame, D = S.getStackAddendum();
|
|
463
463
|
D !== "" && (h += "%s", k = k.concat([D]));
|
|
464
|
-
var F = k.map(function(
|
|
465
|
-
return String(
|
|
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
470
|
var T = !1, P = !1, O = !1, K = !1, oe = !1, z;
|
|
471
471
|
z = Symbol.for("react.module.reference");
|
|
472
|
-
function
|
|
472
|
+
function M(s) {
|
|
473
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
|
|
@@ -477,9 +477,9 @@ function hr() {
|
|
|
477
477
|
s.$$typeof === z || s.getModuleId !== void 0));
|
|
478
478
|
}
|
|
479
479
|
function W(s, h, k) {
|
|
480
|
-
var
|
|
481
|
-
if (
|
|
482
|
-
return
|
|
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
|
|
522
|
-
return
|
|
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,
|
|
524
|
+
var D = s, F = D._payload, I = D._init;
|
|
525
525
|
try {
|
|
526
|
-
return E(
|
|
526
|
+
return E(I(F));
|
|
527
527
|
} catch {
|
|
528
528
|
return null;
|
|
529
529
|
}
|
|
@@ -600,8 +600,8 @@ function hr() {
|
|
|
600
600
|
try {
|
|
601
601
|
throw Error();
|
|
602
602
|
} catch (D) {
|
|
603
|
-
var
|
|
604
|
-
Je =
|
|
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
|
|
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
|
|
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
|
|
631
|
+
var I = function() {
|
|
632
632
|
throw Error();
|
|
633
633
|
};
|
|
634
|
-
if (Object.defineProperty(
|
|
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(
|
|
640
|
+
Reflect.construct(I, []);
|
|
641
641
|
} catch (q) {
|
|
642
|
-
|
|
642
|
+
S = q;
|
|
643
643
|
}
|
|
644
|
-
Reflect.construct(s, [],
|
|
644
|
+
Reflect.construct(s, [], I);
|
|
645
645
|
} else {
|
|
646
646
|
try {
|
|
647
|
-
|
|
647
|
+
I.call();
|
|
648
648
|
} catch (q) {
|
|
649
|
-
|
|
649
|
+
S = q;
|
|
650
650
|
}
|
|
651
|
-
s.call(
|
|
651
|
+
s.call(I.prototype);
|
|
652
652
|
}
|
|
653
653
|
} else {
|
|
654
654
|
try {
|
|
655
655
|
throw Error();
|
|
656
656
|
} catch (q) {
|
|
657
|
-
|
|
657
|
+
S = q;
|
|
658
658
|
}
|
|
659
659
|
s();
|
|
660
660
|
}
|
|
661
661
|
} catch (q) {
|
|
662
|
-
if (q &&
|
|
662
|
+
if (q && S && typeof q.stack == "string") {
|
|
663
663
|
for (var R = q.stack.split(`
|
|
664
|
-
`), V =
|
|
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
|
|
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
|
|
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
|
|
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 Be = Object.prototype.hasOwnProperty,
|
|
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,
|
|
730
|
+
function zn(s, h, k, S, D) {
|
|
731
731
|
{
|
|
732
732
|
var F = Function.call.bind(Be);
|
|
733
|
-
for (var
|
|
734
|
-
if (F(s,
|
|
733
|
+
for (var I in s)
|
|
734
|
+
if (F(s, I)) {
|
|
735
735
|
var R = void 0;
|
|
736
736
|
try {
|
|
737
|
-
if (typeof s[
|
|
738
|
-
var V = Error((
|
|
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[
|
|
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).",
|
|
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
|
}
|
|
@@ -821,7 +821,7 @@ function hr() {
|
|
|
821
821
|
});
|
|
822
822
|
}
|
|
823
823
|
}
|
|
824
|
-
var Xn = function(s, h, k,
|
|
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:
|
|
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:
|
|
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,
|
|
853
|
+
function Qn(s, h, k, S, D) {
|
|
854
854
|
{
|
|
855
|
-
var F,
|
|
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
|
-
Be.call(h, F) && !Un.hasOwnProperty(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
|
-
|
|
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(
|
|
866
|
+
R && qn(I, G), V && Jn(I, G);
|
|
867
867
|
}
|
|
868
|
-
return Xn(s, R, V, D,
|
|
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
|
|
922
|
-
s && s._owner && s._owner !== tt.current && (
|
|
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
|
|
932
|
-
at(
|
|
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),
|
|
940
|
-
at(
|
|
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
|
|
960
|
-
zn(k, s.props, "prop",
|
|
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
|
|
973
|
-
if (
|
|
974
|
-
be(s), y("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",
|
|
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,
|
|
982
|
+
function Kt(s, h, k, S, D, F) {
|
|
983
983
|
{
|
|
984
|
-
var
|
|
985
|
-
if (!
|
|
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 (
|
|
996
|
+
if (I) {
|
|
997
997
|
var Q = h.children;
|
|
998
998
|
if (Q !== void 0)
|
|
999
|
-
if (
|
|
999
|
+
if (S)
|
|
1000
1000
|
if (Qe(Q)) {
|
|
1001
1001
|
for (var Ce = 0; Ce < Q.length; Ce++)
|
|
1002
1002
|
zt(Q[Ce], s);
|
|
@@ -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
|
-
|
|
1034
|
-
}()),
|
|
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 Br = "_alerts_1pds5_1", Tr = "_menuAnimation_1pds5_1", Rr = "_menuItemAnimation_1pds5_1",
|
|
1142
|
+
const Br = "_alerts_1pds5_1", Tr = "_menuAnimation_1pds5_1", Rr = "_menuItemAnimation_1pds5_1", Mr = "_allert_1pds5_111", Ir = "_al_1pds5_1", dt = {
|
|
1143
1143
|
alerts: Br,
|
|
1144
1144
|
menuAnimation: Tr,
|
|
1145
1145
|
menuItemAnimation: Rr,
|
|
1146
1146
|
"--body": "_--body_1pds5_103",
|
|
1147
|
-
allert:
|
|
1147
|
+
allert: Mr,
|
|
1148
1148
|
"--form": "_--form_1pds5_111",
|
|
1149
|
-
al:
|
|
1149
|
+
al: Ir
|
|
1150
1150
|
};
|
|
1151
1151
|
let Ne = {};
|
|
1152
1152
|
function Nr() {
|
|
@@ -1384,10 +1384,10 @@ const ce = {
|
|
|
1384
1384
|
getModule: rn,
|
|
1385
1385
|
useModule: Ea,
|
|
1386
1386
|
isModule: Ta,
|
|
1387
|
-
setTabs:
|
|
1387
|
+
setTabs: Ma,
|
|
1388
1388
|
getTabs: Ze,
|
|
1389
1389
|
useTabs: Ra,
|
|
1390
|
-
isTabs:
|
|
1390
|
+
isTabs: Ia,
|
|
1391
1391
|
useId: Na,
|
|
1392
1392
|
setId: Pa,
|
|
1393
1393
|
subId: Da,
|
|
@@ -1836,7 +1836,7 @@ function Ri(e, t) {
|
|
|
1836
1836
|
t = t.replace(r, a[r]);
|
|
1837
1837
|
return t;
|
|
1838
1838
|
}
|
|
1839
|
-
function
|
|
1839
|
+
function Mi(e) {
|
|
1840
1840
|
let t = [
|
|
1841
1841
|
"Января",
|
|
1842
1842
|
"Февраля",
|
|
@@ -1856,7 +1856,7 @@ function Ii(e) {
|
|
|
1856
1856
|
name: a.getDate() + " " + t[a.getMonth()]
|
|
1857
1857
|
};
|
|
1858
1858
|
}
|
|
1859
|
-
const
|
|
1859
|
+
const Ii = (e) => {
|
|
1860
1860
|
function t(B, T) {
|
|
1861
1861
|
var P, K, O;
|
|
1862
1862
|
B = B ?? "", T = T ?? 1;
|
|
@@ -2244,8 +2244,8 @@ function Zi(e) {
|
|
|
2244
2244
|
const ye = {
|
|
2245
2245
|
Age: Zi,
|
|
2246
2246
|
Date: Ri,
|
|
2247
|
-
MoneyString:
|
|
2248
|
-
DateSort:
|
|
2247
|
+
MoneyString: Ii,
|
|
2248
|
+
DateSort: Mi,
|
|
2249
2249
|
Size: Ni,
|
|
2250
2250
|
TypeFiles: Di,
|
|
2251
2251
|
Cases: Pi,
|
|
@@ -3996,10 +3996,10 @@ function jt({
|
|
|
3996
3996
|
value: $.target.textContent.replace(/\D/g, ""),
|
|
3997
3997
|
name: r
|
|
3998
3998
|
});
|
|
3999
|
-
},
|
|
4000
|
-
|
|
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", { ...
|
|
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",
|
|
@@ -4503,16 +4503,16 @@ function Bn({
|
|
|
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 = ((
|
|
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) => (
|
|
4509
|
-
)), O = (
|
|
4510
|
-
const [W, $] = [
|
|
4511
|
-
(E) => (E = P(
|
|
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
4513
|
), E < 0 ? y[y.length - 1] : z ? y[E - 1] || B : E)
|
|
4514
4514
|
);
|
|
4515
|
-
|
|
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,9 +4527,9 @@ function Bn({
|
|
|
4527
4527
|
placeholder: r,
|
|
4528
4528
|
onChange: O,
|
|
4529
4529
|
inputMode: "numeric",
|
|
4530
|
-
onKeyDown: (
|
|
4530
|
+
onKeyDown: (M) => z = M.key === "Backspace",
|
|
4531
4531
|
onFocus: O,
|
|
4532
|
-
onBlur: (
|
|
4532
|
+
onBlur: (M) => M.target.value === p && (M.target.value = "")
|
|
4533
4533
|
}
|
|
4534
4534
|
) }),
|
|
4535
4535
|
o ? /* @__PURE__ */ n.jsx("em", { children: o }) : ""
|
|
@@ -4573,7 +4573,7 @@ const Rn = ({ onValue: e, value: t, name: a, item: r }) => {
|
|
|
4573
4573
|
}
|
|
4574
4574
|
);
|
|
4575
4575
|
};
|
|
4576
|
-
function
|
|
4576
|
+
function Mn({
|
|
4577
4577
|
value: e,
|
|
4578
4578
|
onValue: t,
|
|
4579
4579
|
name: a,
|
|
@@ -4609,8 +4609,8 @@ function In({
|
|
|
4609
4609
|
const O = (z) => {
|
|
4610
4610
|
fe.Blur(z), m && m({ value: z.target.textContent, name: a });
|
|
4611
4611
|
};
|
|
4612
|
-
let K = (z,
|
|
4613
|
-
v[
|
|
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,11 +4634,11 @@ function In({
|
|
|
4634
4634
|
}
|
|
4635
4635
|
) })
|
|
4636
4636
|
] }),
|
|
4637
|
-
/* @__PURE__ */ n.jsx("dd", { children: v.map((z,
|
|
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,
|
|
4641
|
+
onInput: (W) => K(W, M),
|
|
4642
4642
|
edit: "true",
|
|
4643
4643
|
name: a,
|
|
4644
4644
|
placeholder: r,
|
|
@@ -4647,14 +4647,14 @@ function In({
|
|
|
4647
4647
|
onKeyDown: oe,
|
|
4648
4648
|
onBlur: O,
|
|
4649
4649
|
suppressContentEditableWarning: !0,
|
|
4650
|
-
children: v[
|
|
4650
|
+
children: v[M]
|
|
4651
4651
|
}
|
|
4652
4652
|
),
|
|
4653
4653
|
/* @__PURE__ */ n.jsx(
|
|
4654
4654
|
"i",
|
|
4655
4655
|
{
|
|
4656
4656
|
onClick: () => {
|
|
4657
|
-
y(
|
|
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
|
-
] },
|
|
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
|
|
4682
|
+
function In({
|
|
4683
4683
|
value: e,
|
|
4684
4684
|
onValue: t,
|
|
4685
4685
|
name: a,
|
|
@@ -4775,8 +4775,8 @@ const Xi = {
|
|
|
4775
4775
|
Users: St,
|
|
4776
4776
|
String: wt,
|
|
4777
4777
|
Toogle: Rn,
|
|
4778
|
-
Group:
|
|
4779
|
-
Options:
|
|
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
|
-
},
|
|
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,42 +4820,39 @@ pe.users = {
|
|
|
4820
4820
|
"--tg-theme-button-text-color": "#000000",
|
|
4821
4821
|
"--tg-theme-secondary-bg-color": "#000000"
|
|
4822
4822
|
};
|
|
4823
|
-
|
|
4823
|
+
w.getUser = () => {
|
|
4824
4824
|
var e;
|
|
4825
|
-
return ((e =
|
|
4825
|
+
return ((e = w.initDataUnsafe) == null ? void 0 : e.user) === void 0 ? {} : w.initDataUnsafe;
|
|
4826
4826
|
};
|
|
4827
|
-
|
|
4828
|
-
|
|
4829
|
-
ve.is ? ve.MainButton.set(e) : typeof e == "boolean" ?
|
|
4830
|
-
"mainButtonClicked",
|
|
4831
|
-
S.MainButton.callback
|
|
4832
|
-
), 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.MainButton.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 = () => {
|
|
4833
4830
|
var t;
|
|
4834
4831
|
(t = e.callback) == null || t.call(e);
|
|
4835
|
-
} :
|
|
4832
|
+
}, w.BackButton.onClick(w.MainButton.callback)) : (w.MainButton.callback = () => {
|
|
4836
4833
|
ce.setPage(e.page);
|
|
4837
|
-
},
|
|
4834
|
+
}, w.BackButton.onClick(w.MainButton.callback))));
|
|
4838
4835
|
};
|
|
4839
|
-
|
|
4840
|
-
|
|
4841
|
-
|
|
4842
|
-
e === !1 ? (
|
|
4843
|
-
let t =
|
|
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();
|
|
4844
4841
|
if (t.page !== void 0)
|
|
4845
4842
|
ce.setPage(t.page);
|
|
4846
4843
|
else {
|
|
4847
|
-
let a =
|
|
4848
|
-
|
|
4844
|
+
let a = w.BackButton.state[w.BackButton.state.length - 1];
|
|
4845
|
+
w.BackButton.router(a);
|
|
4849
4846
|
}
|
|
4850
|
-
}),
|
|
4847
|
+
}), w.BackButton.onClick(w.BackButton.listen[0]));
|
|
4851
4848
|
};
|
|
4852
|
-
|
|
4853
|
-
ve.is ? ve.BackButton.set(e) : (
|
|
4849
|
+
w.BackButton.set = (e) => {
|
|
4850
|
+
ve.is ? ve.BackButton.set(e) : (w.BackButton.state.push(e), w.BackButton.router(e));
|
|
4854
4851
|
};
|
|
4855
|
-
|
|
4856
|
-
t !== void 0 ? (Ke.Send({ type: e, text: t }),
|
|
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));
|
|
4857
4854
|
};
|
|
4858
|
-
|
|
4855
|
+
w.Init = ({ dev: e }) => {
|
|
4859
4856
|
if (e) {
|
|
4860
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);
|
|
4861
4858
|
ve.is = !0, ve.MainButton.set = a, ve.BackButton.set = i, b.useEffect(() => {
|
|
@@ -4954,7 +4951,7 @@ const io = ({ setAuthorization: e }) => {
|
|
|
4954
4951
|
] }) });
|
|
4955
4952
|
}, dl = ({ children: e, config: t }) => (window.location.pathname === "/clear" && (window.history.pushState({}, "", "/"), X()), N.New(t.crypto), t.defaultModule && ha(t.defaultModule), pa(
|
|
4956
4953
|
/* @__PURE__ */ n.jsxs(n.Fragment, { children: [
|
|
4957
|
-
/* @__PURE__ */ n.jsx(
|
|
4954
|
+
/* @__PURE__ */ n.jsx(w.Init, { dev: t.dev }),
|
|
4958
4955
|
/* @__PURE__ */ n.jsx(ui, { config: t.modal }),
|
|
4959
4956
|
/* @__PURE__ */ n.jsx(Cr, {}),
|
|
4960
4957
|
/* @__PURE__ */ n.jsx(Nr, {}),
|
|
@@ -5078,7 +5075,7 @@ function Dn({ text: e, type: t, button: a }) {
|
|
|
5078
5075
|
a && /* @__PURE__ */ n.jsx("button", { onClick: l, children: a.label })
|
|
5079
5076
|
] });
|
|
5080
5077
|
}
|
|
5081
|
-
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",
|
|
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 = {
|
|
5082
5079
|
h: yo,
|
|
5083
5080
|
g: wo,
|
|
5084
5081
|
hr: So,
|
|
@@ -5086,8 +5083,8 @@ const yo = "_h_1usnu_1", wo = "_g_1usnu_11", So = "_hr_1usnu_16", Eo = "_hl_1usn
|
|
|
5086
5083
|
t: Bo,
|
|
5087
5084
|
s: To,
|
|
5088
5085
|
u: Ro,
|
|
5089
|
-
o:
|
|
5090
|
-
l:
|
|
5086
|
+
o: Mo,
|
|
5087
|
+
l: Io,
|
|
5091
5088
|
hh: No,
|
|
5092
5089
|
c: Do,
|
|
5093
5090
|
loadingB: Po,
|
|
@@ -5223,7 +5220,7 @@ function Vo() {
|
|
|
5223
5220
|
const qo = "_n_euuvm_1", Jo = {
|
|
5224
5221
|
n: qo
|
|
5225
5222
|
};
|
|
5226
|
-
let Fe = {},
|
|
5223
|
+
let Fe = {}, Ie = [];
|
|
5227
5224
|
const Xo = (e, t) => {
|
|
5228
5225
|
switch (t.type) {
|
|
5229
5226
|
case "open":
|
|
@@ -5299,7 +5296,7 @@ function as() {
|
|
|
5299
5296
|
}), ns(async (r) => {
|
|
5300
5297
|
switch (r.action) {
|
|
5301
5298
|
case "add":
|
|
5302
|
-
|
|
5299
|
+
Ie.push(r.data);
|
|
5303
5300
|
break;
|
|
5304
5301
|
}
|
|
5305
5302
|
}), b.useEffect(() => {
|
|
@@ -5317,7 +5314,7 @@ function as() {
|
|
|
5317
5314
|
break;
|
|
5318
5315
|
case "M01":
|
|
5319
5316
|
r[i].forEach((o) => {
|
|
5320
|
-
|
|
5317
|
+
Ie.push({
|
|
5321
5318
|
module: "M01",
|
|
5322
5319
|
type: 1,
|
|
5323
5320
|
id: o.id,
|
|
@@ -5328,7 +5325,7 @@ function as() {
|
|
|
5328
5325
|
break;
|
|
5329
5326
|
case "M02":
|
|
5330
5327
|
r[i].forEach((o) => {
|
|
5331
|
-
|
|
5328
|
+
Ie.push({
|
|
5332
5329
|
module: "M02",
|
|
5333
5330
|
type: 117,
|
|
5334
5331
|
id: o.id,
|
|
@@ -5339,7 +5336,7 @@ function as() {
|
|
|
5339
5336
|
break;
|
|
5340
5337
|
}
|
|
5341
5338
|
})(), setInterval(() => {
|
|
5342
|
-
|
|
5339
|
+
Ie.forEach((r, i) => {
|
|
5343
5340
|
t({
|
|
5344
5341
|
type: "add",
|
|
5345
5342
|
data: {
|
|
@@ -5349,7 +5346,7 @@ function as() {
|
|
|
5349
5346
|
datetime: r.datetime,
|
|
5350
5347
|
txt: r.title
|
|
5351
5348
|
}
|
|
5352
|
-
}), r.datetime < (/* @__PURE__ */ new Date()).getTime() &&
|
|
5349
|
+
}), r.datetime < (/* @__PURE__ */ new Date()).getTime() && Ie.splice(i, 1);
|
|
5353
5350
|
});
|
|
5354
5351
|
}, 6e4);
|
|
5355
5352
|
}, []);
|
|
@@ -5767,7 +5764,7 @@ const Rs = ({ label: e, onValue: t, value: a, name: r, item: i }) => {
|
|
|
5767
5764
|
}
|
|
5768
5765
|
);
|
|
5769
5766
|
}, we = {};
|
|
5770
|
-
function
|
|
5767
|
+
function Ms(e) {
|
|
5771
5768
|
const [t, a] = b.useState({}), r = b.useRef(e);
|
|
5772
5769
|
return we.u = (i) => {
|
|
5773
5770
|
r.current = { ...r.current, [i.name]: i.value };
|
|
@@ -5775,7 +5772,7 @@ function Is(e) {
|
|
|
5775
5772
|
a(Date.now());
|
|
5776
5773
|
}, [r.current];
|
|
5777
5774
|
}
|
|
5778
|
-
function
|
|
5775
|
+
function Is(e) {
|
|
5779
5776
|
we.u(e), e.reload && we.r();
|
|
5780
5777
|
}
|
|
5781
5778
|
function Ns() {
|
|
@@ -5807,12 +5804,12 @@ const vl = {
|
|
|
5807
5804
|
String: wt,
|
|
5808
5805
|
Form: ft,
|
|
5809
5806
|
runReload: Ns,
|
|
5810
|
-
useData:
|
|
5811
|
-
setValue:
|
|
5807
|
+
useData: Ms,
|
|
5808
|
+
setValue: Is,
|
|
5812
5809
|
Palette: Rs,
|
|
5813
5810
|
Toogle: Rn,
|
|
5814
|
-
Group:
|
|
5815
|
-
Options:
|
|
5811
|
+
Group: Mn,
|
|
5812
|
+
Options: In
|
|
5816
5813
|
}, Ds = "_spinner_1ul0m_1", Ps = "_l_1ul0m_75", Fs = "_loadingB_1ul0m_1", Pn = {
|
|
5817
5814
|
spinner: Ds,
|
|
5818
5815
|
l: Ps,
|
|
@@ -6198,7 +6195,7 @@ export {
|
|
|
6198
6195
|
se as Store,
|
|
6199
6196
|
yl as Switch,
|
|
6200
6197
|
oo as Tabs,
|
|
6201
|
-
|
|
6198
|
+
w as Telegram,
|
|
6202
6199
|
wl as Triage,
|
|
6203
6200
|
pl as User
|
|
6204
6201
|
};
|