@elcrm/telegram 0.0.23 → 0.0.24
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 +100 -98
- package/dist/index.umd.js +2 -2
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -98,10 +98,10 @@ function Ta(e, t = !0) {
|
|
|
98
98
|
function rn() {
|
|
99
99
|
return j.module;
|
|
100
100
|
}
|
|
101
|
-
function
|
|
101
|
+
function Ba(e) {
|
|
102
102
|
return j.module === e;
|
|
103
103
|
}
|
|
104
|
-
function
|
|
104
|
+
function Ra(e) {
|
|
105
105
|
if (typeof e != "function") {
|
|
106
106
|
const [t, a] = b.useState(e || Ze()), [r, i] = b.useState(!1);
|
|
107
107
|
return b.useEffect(() => {
|
|
@@ -401,7 +401,7 @@ async function fr(e, t = {}) {
|
|
|
401
401
|
}
|
|
402
402
|
}
|
|
403
403
|
const _l = { audio: cr, fetch: Ue, modules: _r, remoute: ur, url: lr, telegram: fr, use: dr };
|
|
404
|
-
var _t = { exports: {} },
|
|
404
|
+
var _t = { exports: {} }, Re = {};
|
|
405
405
|
/**
|
|
406
406
|
* @license React
|
|
407
407
|
* react-jsx-runtime.production.min.js
|
|
@@ -414,7 +414,7 @@ var _t = { exports: {} }, Be = {};
|
|
|
414
414
|
var Ut;
|
|
415
415
|
function mr() {
|
|
416
416
|
if (Ut)
|
|
417
|
-
return
|
|
417
|
+
return Re;
|
|
418
418
|
Ut = 1;
|
|
419
419
|
var e = b, t = Symbol.for("react.element"), a = Symbol.for("react.fragment"), r = Object.prototype.hasOwnProperty, i = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, o = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
420
420
|
function l(c, d, _) {
|
|
@@ -427,7 +427,7 @@ function mr() {
|
|
|
427
427
|
f[u] === void 0 && (f[u] = d[u]);
|
|
428
428
|
return { $$typeof: t, type: c, key: x, ref: m, props: f, _owner: i.current };
|
|
429
429
|
}
|
|
430
|
-
return
|
|
430
|
+
return Re.Fragment = a, Re.jsx = l, Re.jsxs = l, Re;
|
|
431
431
|
}
|
|
432
432
|
var Ie = {};
|
|
433
433
|
/**
|
|
@@ -467,10 +467,10 @@ function hr() {
|
|
|
467
467
|
F.unshift("Warning: " + h), Function.prototype.apply.call(console[s], console, F);
|
|
468
468
|
}
|
|
469
469
|
}
|
|
470
|
-
var
|
|
470
|
+
var B = !1, P = !1, O = !1, K = !1, oe = !1, z;
|
|
471
471
|
z = Symbol.for("react.module.reference");
|
|
472
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 ||
|
|
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
|
|
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.
|
|
@@ -531,18 +531,18 @@ function hr() {
|
|
|
531
531
|
}
|
|
532
532
|
return null;
|
|
533
533
|
}
|
|
534
|
-
var Z = Object.assign, Y = 0, $e, te, Ee, Ve, Le, Tt,
|
|
535
|
-
function
|
|
534
|
+
var Z = Object.assign, Y = 0, $e, te, Ee, Ve, Le, Tt, Bt;
|
|
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,
|
|
541
|
+
$e = console.log, te = console.info, Ee = console.warn, Ve = console.error, Le = console.group, Tt = console.groupCollapsed, Bt = console.groupEnd;
|
|
542
542
|
var s = {
|
|
543
543
|
configurable: !0,
|
|
544
544
|
enumerable: !0,
|
|
545
|
-
value:
|
|
545
|
+
value: Rt,
|
|
546
546
|
writable: !0
|
|
547
547
|
};
|
|
548
548
|
Object.defineProperties(console, {
|
|
@@ -586,7 +586,7 @@ function hr() {
|
|
|
586
586
|
value: Tt
|
|
587
587
|
}),
|
|
588
588
|
groupEnd: Z({}, s, {
|
|
589
|
-
value:
|
|
589
|
+
value: Bt
|
|
590
590
|
})
|
|
591
591
|
});
|
|
592
592
|
}
|
|
@@ -660,17 +660,17 @@ function hr() {
|
|
|
660
660
|
}
|
|
661
661
|
} catch (q) {
|
|
662
662
|
if (q && w && typeof q.stack == "string") {
|
|
663
|
-
for (var
|
|
663
|
+
for (var R = q.stack.split(`
|
|
664
664
|
`), V = w.stack.split(`
|
|
665
|
-
`), L =
|
|
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--)
|
|
668
|
-
if (
|
|
668
|
+
if (R[L] !== V[G]) {
|
|
669
669
|
if (L !== 1 || G !== 1)
|
|
670
670
|
do
|
|
671
|
-
if (L--, G--, G < 0 ||
|
|
671
|
+
if (L--, G--, G < 0 || R[L] !== V[G]) {
|
|
672
672
|
var Q = `
|
|
673
|
-
` +
|
|
673
|
+
` + R[L].replace(" at new ", " at ");
|
|
674
674
|
return s.displayName && Q.includes("<anonymous>") && (Q = Q.replace("<anonymous>", s.displayName)), typeof s == "function" && Oe.set(s, Q), Q;
|
|
675
675
|
}
|
|
676
676
|
while (L >= 1 && G >= 0);
|
|
@@ -732,17 +732,17 @@ function hr() {
|
|
|
732
732
|
var F = Function.call.bind(Te);
|
|
733
733
|
for (var M in s)
|
|
734
734
|
if (F(s, M)) {
|
|
735
|
-
var
|
|
735
|
+
var R = void 0;
|
|
736
736
|
try {
|
|
737
737
|
if (typeof s[M] != "function") {
|
|
738
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`.");
|
|
739
739
|
throw V.name = "Invariant Violation", V;
|
|
740
740
|
}
|
|
741
|
-
|
|
741
|
+
R = s[M](h, M, w, k, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
742
742
|
} catch (L) {
|
|
743
|
-
|
|
743
|
+
R = L;
|
|
744
744
|
}
|
|
745
|
-
|
|
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));
|
|
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
|
|
773
|
+
var Be = C.ReactCurrentOwner, Un = {
|
|
774
774
|
key: !0,
|
|
775
775
|
ref: !0,
|
|
776
776
|
__self: !0,
|
|
@@ -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" &&
|
|
798
|
-
var k = E(
|
|
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(
|
|
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);
|
|
800
800
|
}
|
|
801
801
|
}
|
|
802
802
|
function qn(s, h) {
|
|
@@ -822,7 +822,7 @@ function hr() {
|
|
|
822
822
|
}
|
|
823
823
|
}
|
|
824
824
|
var Xn = function(s, h, k, w, D, F, M) {
|
|
825
|
-
var
|
|
825
|
+
var R = {
|
|
826
826
|
// This tag allows us to uniquely identify this as a React Element
|
|
827
827
|
$$typeof: t,
|
|
828
828
|
// Built-in properties that belong on the element
|
|
@@ -833,27 +833,27 @@ function hr() {
|
|
|
833
833
|
// Record the component responsible for creating this element.
|
|
834
834
|
_owner: F
|
|
835
835
|
};
|
|
836
|
-
return
|
|
836
|
+
return R._store = {}, Object.defineProperty(R._store, "validated", {
|
|
837
837
|
configurable: !1,
|
|
838
838
|
enumerable: !1,
|
|
839
839
|
writable: !0,
|
|
840
840
|
value: !1
|
|
841
|
-
}), Object.defineProperty(
|
|
841
|
+
}), Object.defineProperty(R, "_self", {
|
|
842
842
|
configurable: !1,
|
|
843
843
|
enumerable: !1,
|
|
844
844
|
writable: !1,
|
|
845
845
|
value: w
|
|
846
|
-
}), Object.defineProperty(
|
|
846
|
+
}), Object.defineProperty(R, "_source", {
|
|
847
847
|
configurable: !1,
|
|
848
848
|
enumerable: !1,
|
|
849
849
|
writable: !1,
|
|
850
850
|
value: D
|
|
851
|
-
}), Object.freeze && (Object.freeze(
|
|
851
|
+
}), Object.freeze && (Object.freeze(R.props), Object.freeze(R)), R;
|
|
852
852
|
};
|
|
853
853
|
function Qn(s, h, k, w, D) {
|
|
854
854
|
{
|
|
855
|
-
var F, M = {},
|
|
856
|
-
k !== void 0 && (Pt(k),
|
|
855
|
+
var F, M = {}, R = null, V = null;
|
|
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
858
|
Te.call(h, F) && !Un.hasOwnProperty(F) && (M[F] = h[F]);
|
|
859
859
|
if (s && s.defaultProps) {
|
|
@@ -861,11 +861,11 @@ function hr() {
|
|
|
861
861
|
for (F in L)
|
|
862
862
|
M[F] === void 0 && (M[F] = L[F]);
|
|
863
863
|
}
|
|
864
|
-
if (
|
|
864
|
+
if (R || V) {
|
|
865
865
|
var G = typeof s == "function" ? s.displayName || s.name || "Unknown" : s;
|
|
866
|
-
|
|
866
|
+
R && qn(M, G), V && Jn(M, G);
|
|
867
867
|
}
|
|
868
|
-
return Xn(s,
|
|
868
|
+
return Xn(s, R, V, D, w, Be.current, M);
|
|
869
869
|
}
|
|
870
870
|
}
|
|
871
871
|
var tt = C.ReactCurrentOwner, Lt = C.ReactDebugCurrentFrame;
|
|
@@ -983,12 +983,12 @@ Check the top-level render call using <` + k + ">.");
|
|
|
983
983
|
{
|
|
984
984
|
var M = I(s);
|
|
985
985
|
if (!M) {
|
|
986
|
-
var
|
|
987
|
-
(s === void 0 || typeof s == "object" && s !== null && Object.keys(s).length === 0) && (
|
|
986
|
+
var R = "";
|
|
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();
|
|
989
|
-
V ?
|
|
989
|
+
V ? R += V : R += At();
|
|
990
990
|
var L;
|
|
991
|
-
s === null ? L = "null" : Qe(s) ? L = "array" : s !== void 0 && s.$$typeof === t ? (L = "<" + (E(s.type) || "Unknown") + " />",
|
|
991
|
+
s === null ? L = "null" : Qe(s) ? L = "array" : s !== void 0 && s.$$typeof === t ? (L = "<" + (E(s.type) || "Unknown") + " />", R = " Did you accidentally export a JSX literal instead of a component?") : L = typeof s, y("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", L, R);
|
|
992
992
|
}
|
|
993
993
|
var G = Qn(s, h, k, D, F);
|
|
994
994
|
if (G == null)
|
|
@@ -1139,10 +1139,10 @@ ge.success = () => /* @__PURE__ */ n.jsxs("svg", { viewBox: "0 0 24 24", fill: "
|
|
|
1139
1139
|
}
|
|
1140
1140
|
)
|
|
1141
1141
|
] });
|
|
1142
|
-
const Tr = "_alerts_1pds5_1",
|
|
1142
|
+
const Tr = "_alerts_1pds5_1", Br = "_menuAnimation_1pds5_1", Rr = "_menuItemAnimation_1pds5_1", Ir = "_allert_1pds5_111", Mr = "_al_1pds5_1", dt = {
|
|
1143
1143
|
alerts: Tr,
|
|
1144
|
-
menuAnimation:
|
|
1145
|
-
menuItemAnimation:
|
|
1144
|
+
menuAnimation: Br,
|
|
1145
|
+
menuItemAnimation: Rr,
|
|
1146
1146
|
"--body": "_--body_1pds5_103",
|
|
1147
1147
|
allert: Ir,
|
|
1148
1148
|
"--form": "_--form_1pds5_111",
|
|
@@ -1383,10 +1383,10 @@ const ce = {
|
|
|
1383
1383
|
setModule: Ta,
|
|
1384
1384
|
getModule: rn,
|
|
1385
1385
|
useModule: Ea,
|
|
1386
|
-
isModule:
|
|
1386
|
+
isModule: Ba,
|
|
1387
1387
|
setTabs: Ia,
|
|
1388
1388
|
getTabs: Ze,
|
|
1389
|
-
useTabs:
|
|
1389
|
+
useTabs: Ra,
|
|
1390
1390
|
isTabs: Ma,
|
|
1391
1391
|
useId: Na,
|
|
1392
1392
|
setId: Pa,
|
|
@@ -1754,7 +1754,7 @@ function Ti({ 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
|
|
1757
|
+
function Bi({ children: e }) {
|
|
1758
1758
|
return /* @__PURE__ */ n.jsx("div", { className: ne.c, children: e });
|
|
1759
1759
|
}
|
|
1760
1760
|
const Cn = {
|
|
@@ -1766,7 +1766,7 @@ const Cn = {
|
|
|
1766
1766
|
Open: xi,
|
|
1767
1767
|
Shake: gi,
|
|
1768
1768
|
Form: Ti,
|
|
1769
|
-
Center:
|
|
1769
|
+
Center: Bi,
|
|
1770
1770
|
Close: vi
|
|
1771
1771
|
};
|
|
1772
1772
|
function kt({
|
|
@@ -1803,13 +1803,13 @@ function kt({
|
|
|
1803
1803
|
};
|
|
1804
1804
|
const T = {};
|
|
1805
1805
|
T.field = "input", v && (T.className = v);
|
|
1806
|
-
const
|
|
1807
|
-
return r && (
|
|
1806
|
+
const B = {};
|
|
1807
|
+
return r && (B.placeholder = r), l ? /* @__PURE__ */ n.jsx(n.Fragment, {}) : /* @__PURE__ */ n.jsxs("dl", { ...T, children: [
|
|
1808
1808
|
i && /* @__PURE__ */ n.jsx("dt", { children: i }),
|
|
1809
1809
|
/* @__PURE__ */ n.jsx(
|
|
1810
1810
|
"dd",
|
|
1811
1811
|
{
|
|
1812
|
-
...
|
|
1812
|
+
...B,
|
|
1813
1813
|
onClick: y,
|
|
1814
1814
|
edit: (c && _) + "",
|
|
1815
1815
|
"data-after": u,
|
|
@@ -1819,7 +1819,7 @@ function kt({
|
|
|
1819
1819
|
o && /* @__PURE__ */ n.jsx("em", { children: o })
|
|
1820
1820
|
] });
|
|
1821
1821
|
}
|
|
1822
|
-
function
|
|
1822
|
+
function Ri(e, t) {
|
|
1823
1823
|
t === void 0 ? (t = e, e = /* @__PURE__ */ new Date()) : e = new Date(e);
|
|
1824
1824
|
let a = {
|
|
1825
1825
|
yyyy: e.getFullYear(),
|
|
@@ -1857,16 +1857,16 @@ function Ii(e) {
|
|
|
1857
1857
|
};
|
|
1858
1858
|
}
|
|
1859
1859
|
const Mi = (e) => {
|
|
1860
|
-
function t(T,
|
|
1860
|
+
function t(T, B) {
|
|
1861
1861
|
var P, K, O;
|
|
1862
|
-
T = T ?? "",
|
|
1862
|
+
T = T ?? "", B = B ?? 1;
|
|
1863
1863
|
for (var P = [], O = 0, K = T.length; O < K; )
|
|
1864
|
-
P.push(T.slice(O, O +=
|
|
1864
|
+
P.push(T.slice(O, O += B));
|
|
1865
1865
|
return P;
|
|
1866
1866
|
}
|
|
1867
|
-
function a(T,
|
|
1867
|
+
function a(T, B) {
|
|
1868
1868
|
var P = [2, 0, 1, 1, 1, 2];
|
|
1869
|
-
return
|
|
1869
|
+
return B[T > 4 && T < 20 ? 2 : P[Math.min(T, 5)]];
|
|
1870
1870
|
}
|
|
1871
1871
|
var r = {
|
|
1872
1872
|
null: "ноль",
|
|
@@ -2243,7 +2243,7 @@ function Zi(e) {
|
|
|
2243
2243
|
}
|
|
2244
2244
|
const ye = {
|
|
2245
2245
|
Age: Zi,
|
|
2246
|
-
Date:
|
|
2246
|
+
Date: Ri,
|
|
2247
2247
|
MoneyString: Mi,
|
|
2248
2248
|
DateSort: Ii,
|
|
2249
2249
|
Size: Ni,
|
|
@@ -3960,7 +3960,7 @@ function jt({
|
|
|
3960
3960
|
window.document.execCommand("insertText", !1, E);
|
|
3961
3961
|
}).catch((E) => {
|
|
3962
3962
|
});
|
|
3963
|
-
},
|
|
3963
|
+
}, B = ($) => {
|
|
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 =
|
|
3989
|
-
let E =
|
|
3988
|
+
}, O = B(e), K = ($) => {
|
|
3989
|
+
let E = B($.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();
|
|
@@ -4073,13 +4073,13 @@ function yt({
|
|
|
4073
4073
|
}, p = (T) => {
|
|
4074
4074
|
if (!(a && r))
|
|
4075
4075
|
return;
|
|
4076
|
-
const
|
|
4076
|
+
const B = T.target.getBoundingClientRect();
|
|
4077
4077
|
He.setListener(
|
|
4078
4078
|
"form",
|
|
4079
4079
|
/* @__PURE__ */ n.jsx(
|
|
4080
4080
|
Vi,
|
|
4081
4081
|
{
|
|
4082
|
-
parent:
|
|
4082
|
+
parent: B,
|
|
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 = (
|
|
4155
|
-
t == null || t({ value:
|
|
4156
|
-
}, C = (
|
|
4157
|
-
|
|
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) => {
|
|
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 = (
|
|
4166
|
-
|
|
4165
|
+
}, y = (B) => {
|
|
4166
|
+
B.preventDefault(), navigator.clipboard.writeText(B.target.value).then(
|
|
4167
4167
|
function() {
|
|
4168
4168
|
Ke.Copy("Данные в буфер обмене");
|
|
4169
4169
|
},
|
|
@@ -4455,12 +4455,12 @@ 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 = (
|
|
4459
|
-
t && t({ value:
|
|
4460
|
-
}, C = (
|
|
4461
|
-
m && m({ value:
|
|
4462
|
-
}, y = (
|
|
4463
|
-
|
|
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) => {
|
|
4464
4464
|
window.document.execCommand("insertText", !1, P);
|
|
4465
4465
|
}).catch((P) => {
|
|
4466
4466
|
});
|
|
@@ -4503,7 +4503,7 @@ 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)),
|
|
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(
|
|
4507
4507
|
p,
|
|
4508
4508
|
(W) => (I[0] === W || C.has(W)) && I.shift() || W
|
|
4509
4509
|
)), O = (I) => {
|
|
@@ -4535,7 +4535,7 @@ function Tn({
|
|
|
4535
4535
|
o ? /* @__PURE__ */ n.jsx("em", { children: o }) : ""
|
|
4536
4536
|
] }) });
|
|
4537
4537
|
}
|
|
4538
|
-
function
|
|
4538
|
+
function Bn({
|
|
4539
4539
|
onValue: e,
|
|
4540
4540
|
label: t,
|
|
4541
4541
|
value: a,
|
|
@@ -4555,7 +4555,7 @@ function Rn({
|
|
|
4555
4555
|
/* @__PURE__ */ n.jsx("dd", { ...u, onClick: d })
|
|
4556
4556
|
] });
|
|
4557
4557
|
}
|
|
4558
|
-
const
|
|
4558
|
+
const Rn = ({ onValue: e, value: t, name: a, item: r }) => {
|
|
4559
4559
|
const [i, o] = b.useState(!!t);
|
|
4560
4560
|
b.useEffect(() => {
|
|
4561
4561
|
o(!!t);
|
|
@@ -4600,7 +4600,7 @@ 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)),
|
|
4603
|
+
}, T = !!(l && (e === "" || e === void 0)), B = (z) => {
|
|
4604
4604
|
};
|
|
4605
4605
|
if (!(c && d) && !u || !(c && d) && T)
|
|
4606
4606
|
return "";
|
|
@@ -4642,7 +4642,7 @@ function In({
|
|
|
4642
4642
|
edit: "true",
|
|
4643
4643
|
name: a,
|
|
4644
4644
|
placeholder: r,
|
|
4645
|
-
onPaste:
|
|
4645
|
+
onPaste: B,
|
|
4646
4646
|
contentEditable: !0,
|
|
4647
4647
|
onKeyDown: oe,
|
|
4648
4648
|
onBlur: O,
|
|
@@ -4712,8 +4712,8 @@ function Mn({
|
|
|
4712
4712
|
});
|
|
4713
4713
|
}, T = {};
|
|
4714
4714
|
T.field = "group", v && (T.className = v);
|
|
4715
|
-
const
|
|
4716
|
-
return r && (
|
|
4715
|
+
const B = {};
|
|
4716
|
+
return r && (B.placeholder = r), l ? /* @__PURE__ */ n.jsx(n.Fragment, {}) : /* @__PURE__ */ n.jsxs("dl", { ...T, 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
|
-
...
|
|
4740
|
+
...B,
|
|
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:
|
|
4757
|
+
Check: Bn,
|
|
4758
4758
|
Switch: hn,
|
|
4759
4759
|
Button: gn,
|
|
4760
4760
|
Message: pn,
|
|
@@ -4774,7 +4774,7 @@ const Xi = {
|
|
|
4774
4774
|
Time: Tn,
|
|
4775
4775
|
Users: St,
|
|
4776
4776
|
String: wt,
|
|
4777
|
-
Toogle:
|
|
4777
|
+
Toogle: Rn,
|
|
4778
4778
|
Group: In,
|
|
4779
4779
|
Options: Mn
|
|
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 = {
|
|
@@ -4824,13 +4824,15 @@ S.getUser = () => {
|
|
|
4824
4824
|
var e;
|
|
4825
4825
|
return ((e = S.initDataUnsafe) == null ? void 0 : e.user) === void 0 ? {} : S.initDataUnsafe;
|
|
4826
4826
|
};
|
|
4827
|
+
S.MainButton.callback = null;
|
|
4827
4828
|
S.MainButton.set = (e) => {
|
|
4828
|
-
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.
|
|
4829
|
+
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 = () => {
|
|
4829
4830
|
var t;
|
|
4830
|
-
(t = e.callback) == null
|
|
4831
|
-
}
|
|
4832
|
-
|
|
4833
|
-
|
|
4831
|
+
return (t = e.callback) == null ? void 0 : t.call(e);
|
|
4832
|
+
} : S.MainButton.callback = () => ce.setPage(e.page), S.WebApp.onEvent(
|
|
4833
|
+
"mainButtonClicked",
|
|
4834
|
+
S.MainButton.callback
|
|
4835
|
+
));
|
|
4834
4836
|
};
|
|
4835
4837
|
S.BackButton.state = [!1];
|
|
4836
4838
|
S.BackButton.listen = [];
|
|
@@ -5074,14 +5076,14 @@ function Dn({ text: e, type: t, button: a }) {
|
|
|
5074
5076
|
a && /* @__PURE__ */ n.jsx("button", { onClick: l, children: a.label })
|
|
5075
5077
|
] });
|
|
5076
5078
|
}
|
|
5077
|
-
const yo = "_h_1usnu_1", wo = "_g_1usnu_11", So = "_hr_1usnu_16", Eo = "_hl_1usnu_28", To = "_t_1usnu_40",
|
|
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
5080
|
h: yo,
|
|
5079
5081
|
g: wo,
|
|
5080
5082
|
hr: So,
|
|
5081
5083
|
hl: Eo,
|
|
5082
5084
|
t: To,
|
|
5083
|
-
s:
|
|
5084
|
-
u:
|
|
5085
|
+
s: Bo,
|
|
5086
|
+
u: Ro,
|
|
5085
5087
|
o: Io,
|
|
5086
5088
|
l: Mo,
|
|
5087
5089
|
hh: No,
|
|
@@ -5678,7 +5680,7 @@ const Se = () => (st || (st = new us()), st), ue = (e, t, a = Se()) => a._withID
|
|
|
5678
5680
|
function Ts({ children: e }) {
|
|
5679
5681
|
return /* @__PURE__ */ n.jsx("ul", { className: J.ul, children: e });
|
|
5680
5682
|
}
|
|
5681
|
-
function
|
|
5683
|
+
function Bs(e, t) {
|
|
5682
5684
|
switch (t.type) {
|
|
5683
5685
|
case "load":
|
|
5684
5686
|
return {
|
|
@@ -5717,7 +5719,7 @@ function xl({
|
|
|
5717
5719
|
className: a,
|
|
5718
5720
|
...r
|
|
5719
5721
|
}) {
|
|
5720
|
-
const i = b.useRef(null), [o, l] = b.useReducer(
|
|
5722
|
+
const i = b.useRef(null), [o, l] = b.useReducer(Bs, {
|
|
5721
5723
|
load: !1,
|
|
5722
5724
|
list: [],
|
|
5723
5725
|
data: {},
|
|
@@ -5745,7 +5747,7 @@ function xl({
|
|
|
5745
5747
|
}
|
|
5746
5748
|
);
|
|
5747
5749
|
}
|
|
5748
|
-
const
|
|
5750
|
+
const Rs = ({ label: e, onValue: t, value: a, name: r, item: i }) => {
|
|
5749
5751
|
const [o, l] = b.useState(!!a);
|
|
5750
5752
|
b.useEffect(() => {
|
|
5751
5753
|
l(!!a);
|
|
@@ -5781,7 +5783,7 @@ const vl = {
|
|
|
5781
5783
|
Color: bn,
|
|
5782
5784
|
Date: vt,
|
|
5783
5785
|
Code: kn,
|
|
5784
|
-
Check:
|
|
5786
|
+
Check: Bn,
|
|
5785
5787
|
Switch: hn,
|
|
5786
5788
|
Button: gn,
|
|
5787
5789
|
Message: pn,
|
|
@@ -5805,8 +5807,8 @@ const vl = {
|
|
|
5805
5807
|
runReload: Ns,
|
|
5806
5808
|
useData: Is,
|
|
5807
5809
|
setValue: Ms,
|
|
5808
|
-
Palette:
|
|
5809
|
-
Toogle:
|
|
5810
|
+
Palette: Rs,
|
|
5811
|
+
Toogle: Rn,
|
|
5810
5812
|
Group: In,
|
|
5811
5813
|
Options: Mn
|
|
5812
5814
|
}, Ds = "_spinner_1ul0m_1", Ps = "_l_1ul0m_75", Fs = "_loadingB_1ul0m_1", Pn = {
|