@elcrm/telegram 0.0.148 → 0.0.149
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/BottomSheet/index.d.ts +2 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.es.js +350 -347
- package/dist/index.umd.js +15 -15
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -15,14 +15,14 @@ function pr() {
|
|
|
15
15
|
if (Ht) return nt;
|
|
16
16
|
Ht = 1;
|
|
17
17
|
var t = C, r = Symbol.for("react.element"), o = Symbol.for("react.fragment"), s = Object.prototype.hasOwnProperty, i = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, c = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
18
|
-
function
|
|
19
|
-
var
|
|
20
|
-
|
|
21
|
-
for (
|
|
22
|
-
if (p && p.defaultProps) for (
|
|
23
|
-
return { $$typeof: r, type: p, key:
|
|
18
|
+
function d(p, f, h) {
|
|
19
|
+
var g, b = {}, _ = null, A = null;
|
|
20
|
+
h !== void 0 && (_ = "" + h), f.key !== void 0 && (_ = "" + f.key), f.ref !== void 0 && (A = f.ref);
|
|
21
|
+
for (g in f) s.call(f, g) && !c.hasOwnProperty(g) && (b[g] = f[g]);
|
|
22
|
+
if (p && p.defaultProps) for (g in f = p.defaultProps, f) b[g] === void 0 && (b[g] = f[g]);
|
|
23
|
+
return { $$typeof: r, type: p, key: _, ref: A, props: b, _owner: i.current };
|
|
24
24
|
}
|
|
25
|
-
return nt.Fragment = o, nt.jsx =
|
|
25
|
+
return nt.Fragment = o, nt.jsx = d, nt.jsxs = d, nt;
|
|
26
26
|
}
|
|
27
27
|
var ot = {};
|
|
28
28
|
/**
|
|
@@ -37,7 +37,7 @@ var ot = {};
|
|
|
37
37
|
var Kt;
|
|
38
38
|
function vr() {
|
|
39
39
|
return Kt || (Kt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
40
|
-
var t = C, r = Symbol.for("react.element"), o = Symbol.for("react.portal"), s = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), c = Symbol.for("react.profiler"),
|
|
40
|
+
var t = C, r = Symbol.for("react.element"), o = Symbol.for("react.portal"), s = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), c = Symbol.for("react.profiler"), d = Symbol.for("react.provider"), p = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"), h = Symbol.for("react.suspense"), g = Symbol.for("react.suspense_list"), b = Symbol.for("react.memo"), _ = Symbol.for("react.lazy"), A = Symbol.for("react.offscreen"), B = Symbol.iterator, de = "@@iterator";
|
|
41
41
|
function Te(e) {
|
|
42
42
|
if (e === null || typeof e != "object")
|
|
43
43
|
return null;
|
|
@@ -56,16 +56,16 @@ function vr() {
|
|
|
56
56
|
{
|
|
57
57
|
var u = M.ReactDebugCurrentFrame, y = u.getStackAddendum();
|
|
58
58
|
y !== "" && (n += "%s", a = a.concat([y]));
|
|
59
|
-
var
|
|
59
|
+
var R = a.map(function(m) {
|
|
60
60
|
return String(m);
|
|
61
61
|
});
|
|
62
|
-
|
|
62
|
+
R.unshift("Warning: " + n), Function.prototype.apply.call(console[e], console, R);
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
65
|
var Ae = !1, Q = !1, je = !1, ke = !1, we = !1, $;
|
|
66
66
|
$ = Symbol.for("react.module.reference");
|
|
67
67
|
function vt(e) {
|
|
68
|
-
return !!(typeof e == "string" || typeof e == "function" || e === s || e === c || we || e === i || e ===
|
|
68
|
+
return !!(typeof e == "string" || typeof e == "function" || e === s || e === c || we || e === i || e === h || e === g || ke || e === A || Ae || Q || je || typeof e == "object" && e !== null && (e.$$typeof === _ || e.$$typeof === b || e.$$typeof === d || e.$$typeof === p || e.$$typeof === f || // This needs to include all possible module reference object
|
|
69
69
|
// types supported by any Flight configuration anywhere since
|
|
70
70
|
// we don't know which Flight build this will end up being used
|
|
71
71
|
// with.
|
|
@@ -97,9 +97,9 @@ function vr() {
|
|
|
97
97
|
return "Profiler";
|
|
98
98
|
case i:
|
|
99
99
|
return "StrictMode";
|
|
100
|
-
case g:
|
|
101
|
-
return "Suspense";
|
|
102
100
|
case h:
|
|
101
|
+
return "Suspense";
|
|
102
|
+
case g:
|
|
103
103
|
return "SuspenseList";
|
|
104
104
|
}
|
|
105
105
|
if (typeof e == "object")
|
|
@@ -107,18 +107,18 @@ function vr() {
|
|
|
107
107
|
case p:
|
|
108
108
|
var n = e;
|
|
109
109
|
return $e(n) + ".Consumer";
|
|
110
|
-
case
|
|
110
|
+
case d:
|
|
111
111
|
var a = e;
|
|
112
112
|
return $e(a._context) + ".Provider";
|
|
113
|
-
case
|
|
113
|
+
case f:
|
|
114
114
|
return gt(e, e.render, "ForwardRef");
|
|
115
115
|
case b:
|
|
116
116
|
var u = e.displayName || null;
|
|
117
117
|
return u !== null ? u : N(e.type) || "Memo";
|
|
118
|
-
case
|
|
119
|
-
var y = e,
|
|
118
|
+
case _: {
|
|
119
|
+
var y = e, R = y._payload, m = y._init;
|
|
120
120
|
try {
|
|
121
|
-
return N(m(
|
|
121
|
+
return N(m(R));
|
|
122
122
|
} catch {
|
|
123
123
|
return null;
|
|
124
124
|
}
|
|
@@ -126,13 +126,13 @@ function vr() {
|
|
|
126
126
|
}
|
|
127
127
|
return null;
|
|
128
128
|
}
|
|
129
|
-
var I = Object.assign,
|
|
129
|
+
var I = Object.assign, V = 0, Ne, Me, Be, Ie, Le, De, Ue;
|
|
130
130
|
function Fe() {
|
|
131
131
|
}
|
|
132
132
|
Fe.__reactDisabledLog = !0;
|
|
133
133
|
function ht() {
|
|
134
134
|
{
|
|
135
|
-
if (
|
|
135
|
+
if (V === 0) {
|
|
136
136
|
Ne = console.log, Me = console.info, Be = console.warn, Ie = console.error, Le = console.group, De = console.groupCollapsed, Ue = console.groupEnd;
|
|
137
137
|
var e = {
|
|
138
138
|
configurable: !0,
|
|
@@ -150,12 +150,12 @@ function vr() {
|
|
|
150
150
|
groupEnd: e
|
|
151
151
|
});
|
|
152
152
|
}
|
|
153
|
-
|
|
153
|
+
V++;
|
|
154
154
|
}
|
|
155
155
|
}
|
|
156
|
-
function
|
|
156
|
+
function mt() {
|
|
157
157
|
{
|
|
158
|
-
if (
|
|
158
|
+
if (V--, V === 0) {
|
|
159
159
|
var e = {
|
|
160
160
|
configurable: !0,
|
|
161
161
|
enumerable: !0,
|
|
@@ -185,7 +185,7 @@ function vr() {
|
|
|
185
185
|
})
|
|
186
186
|
});
|
|
187
187
|
}
|
|
188
|
-
|
|
188
|
+
V < 0 && x("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
189
189
|
}
|
|
190
190
|
}
|
|
191
191
|
var pe = M.ReactCurrentDispatcher, ve;
|
|
@@ -204,8 +204,8 @@ function vr() {
|
|
|
204
204
|
}
|
|
205
205
|
var ge = !1, te;
|
|
206
206
|
{
|
|
207
|
-
var
|
|
208
|
-
te = new
|
|
207
|
+
var bt = typeof WeakMap == "function" ? WeakMap : Map;
|
|
208
|
+
te = new bt();
|
|
209
209
|
}
|
|
210
210
|
function We(e, n) {
|
|
211
211
|
if (!e || ge)
|
|
@@ -219,8 +219,8 @@ function vr() {
|
|
|
219
219
|
ge = !0;
|
|
220
220
|
var y = Error.prepareStackTrace;
|
|
221
221
|
Error.prepareStackTrace = void 0;
|
|
222
|
-
var
|
|
223
|
-
|
|
222
|
+
var R;
|
|
223
|
+
R = pe.current, pe.current = null, ht();
|
|
224
224
|
try {
|
|
225
225
|
if (n) {
|
|
226
226
|
var m = function() {
|
|
@@ -273,7 +273,7 @@ function vr() {
|
|
|
273
273
|
}
|
|
274
274
|
}
|
|
275
275
|
} finally {
|
|
276
|
-
ge = !1, pe.current =
|
|
276
|
+
ge = !1, pe.current = R, mt(), Error.prepareStackTrace = y;
|
|
277
277
|
}
|
|
278
278
|
var Y = e ? e.displayName || e.name : "", L = Y ? ee(Y) : "";
|
|
279
279
|
return typeof e == "function" && te.set(e, L), L;
|
|
@@ -293,21 +293,21 @@ function vr() {
|
|
|
293
293
|
if (typeof e == "string")
|
|
294
294
|
return ee(e);
|
|
295
295
|
switch (e) {
|
|
296
|
-
case g:
|
|
297
|
-
return ee("Suspense");
|
|
298
296
|
case h:
|
|
297
|
+
return ee("Suspense");
|
|
298
|
+
case g:
|
|
299
299
|
return ee("SuspenseList");
|
|
300
300
|
}
|
|
301
301
|
if (typeof e == "object")
|
|
302
302
|
switch (e.$$typeof) {
|
|
303
|
-
case
|
|
303
|
+
case f:
|
|
304
304
|
return yt(e.render);
|
|
305
305
|
case b:
|
|
306
306
|
return re(e.type, n, a);
|
|
307
|
-
case
|
|
308
|
-
var u = e, y = u._payload,
|
|
307
|
+
case _: {
|
|
308
|
+
var u = e, y = u._payload, R = u._init;
|
|
309
309
|
try {
|
|
310
|
-
return re(
|
|
310
|
+
return re(R(y), n, a);
|
|
311
311
|
} catch {
|
|
312
312
|
}
|
|
313
313
|
}
|
|
@@ -324,9 +324,9 @@ function vr() {
|
|
|
324
324
|
}
|
|
325
325
|
function Rt(e, n, a, u, y) {
|
|
326
326
|
{
|
|
327
|
-
var
|
|
327
|
+
var R = Function.call.bind(J);
|
|
328
328
|
for (var m in e)
|
|
329
|
-
if (
|
|
329
|
+
if (R(e, m)) {
|
|
330
330
|
var v = void 0;
|
|
331
331
|
try {
|
|
332
332
|
if (typeof e[m] != "function") {
|
|
@@ -353,17 +353,17 @@ function vr() {
|
|
|
353
353
|
}
|
|
354
354
|
function xt(e) {
|
|
355
355
|
try {
|
|
356
|
-
return
|
|
356
|
+
return ze(e), !1;
|
|
357
357
|
} catch {
|
|
358
358
|
return !0;
|
|
359
359
|
}
|
|
360
360
|
}
|
|
361
|
-
function
|
|
361
|
+
function ze(e) {
|
|
362
362
|
return "" + e;
|
|
363
363
|
}
|
|
364
|
-
function
|
|
364
|
+
function Ve(e) {
|
|
365
365
|
if (xt(e))
|
|
366
|
-
return x("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Et(e)),
|
|
366
|
+
return x("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Et(e)), ze(e);
|
|
367
367
|
}
|
|
368
368
|
var Je = M.ReactCurrentOwner, At = {
|
|
369
369
|
key: !0,
|
|
@@ -412,7 +412,7 @@ function vr() {
|
|
|
412
412
|
});
|
|
413
413
|
}
|
|
414
414
|
}
|
|
415
|
-
var Ct = function(e, n, a, u, y,
|
|
415
|
+
var Ct = function(e, n, a, u, y, R, m) {
|
|
416
416
|
var v = {
|
|
417
417
|
// This tag allows us to uniquely identify this as a React Element
|
|
418
418
|
$$typeof: r,
|
|
@@ -422,7 +422,7 @@ function vr() {
|
|
|
422
422
|
ref: a,
|
|
423
423
|
props: m,
|
|
424
424
|
// Record the component responsible for creating this element.
|
|
425
|
-
_owner:
|
|
425
|
+
_owner: R
|
|
426
426
|
};
|
|
427
427
|
return v._store = {}, Object.defineProperty(v._store, "validated", {
|
|
428
428
|
configurable: !1,
|
|
@@ -443,14 +443,14 @@ function vr() {
|
|
|
443
443
|
};
|
|
444
444
|
function Tt(e, n, a, u, y) {
|
|
445
445
|
{
|
|
446
|
-
var
|
|
447
|
-
a !== void 0 && (
|
|
448
|
-
for (
|
|
449
|
-
J.call(n,
|
|
446
|
+
var R, m = {}, v = null, k = null;
|
|
447
|
+
a !== void 0 && (Ve(a), v = "" + a), kt(n) && (Ve(n.key), v = "" + n.key), jt(n) && (k = n.ref, wt(n, y));
|
|
448
|
+
for (R in n)
|
|
449
|
+
J.call(n, R) && !At.hasOwnProperty(R) && (m[R] = n[R]);
|
|
450
450
|
if (e && e.defaultProps) {
|
|
451
451
|
var S = e.defaultProps;
|
|
452
|
-
for (
|
|
453
|
-
m[
|
|
452
|
+
for (R in S)
|
|
453
|
+
m[R] === void 0 && (m[R] = S[R]);
|
|
454
454
|
}
|
|
455
455
|
if (v || k) {
|
|
456
456
|
var E = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
@@ -459,7 +459,7 @@ function vr() {
|
|
|
459
459
|
return Ct(e, v, k, y, u, Je.current, m);
|
|
460
460
|
}
|
|
461
461
|
}
|
|
462
|
-
var
|
|
462
|
+
var me = M.ReactCurrentOwner, Ge = M.ReactDebugCurrentFrame;
|
|
463
463
|
function q(e) {
|
|
464
464
|
if (e) {
|
|
465
465
|
var n = e._owner, a = re(e.type, e._source, n ? n.type : null);
|
|
@@ -467,15 +467,15 @@ function vr() {
|
|
|
467
467
|
} else
|
|
468
468
|
Ge.setExtraStackFrame(null);
|
|
469
469
|
}
|
|
470
|
-
var
|
|
471
|
-
|
|
470
|
+
var be;
|
|
471
|
+
be = !1;
|
|
472
472
|
function ye(e) {
|
|
473
473
|
return typeof e == "object" && e !== null && e.$$typeof === r;
|
|
474
474
|
}
|
|
475
475
|
function Xe() {
|
|
476
476
|
{
|
|
477
|
-
if (
|
|
478
|
-
var e = N(
|
|
477
|
+
if (me.current) {
|
|
478
|
+
var e = N(me.current.type);
|
|
479
479
|
if (e)
|
|
480
480
|
return `
|
|
481
481
|
|
|
@@ -510,7 +510,7 @@ Check the top-level render call using <` + a + ">.");
|
|
|
510
510
|
return;
|
|
511
511
|
Ze[a] = !0;
|
|
512
512
|
var u = "";
|
|
513
|
-
e && e._owner && e._owner !==
|
|
513
|
+
e && e._owner && e._owner !== me.current && (u = " It was passed a child from " + N(e._owner.type) + "."), q(e), x('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', a, u), q(null);
|
|
514
514
|
}
|
|
515
515
|
}
|
|
516
516
|
function et(e, n) {
|
|
@@ -527,7 +527,7 @@ Check the top-level render call using <` + a + ">.");
|
|
|
527
527
|
else if (e) {
|
|
528
528
|
var y = Te(e);
|
|
529
529
|
if (typeof y == "function" && y !== e.entries)
|
|
530
|
-
for (var
|
|
530
|
+
for (var R = y.call(e), m; !(m = R.next()).done; )
|
|
531
531
|
ye(m.value) && Qe(m.value, n);
|
|
532
532
|
}
|
|
533
533
|
}
|
|
@@ -540,7 +540,7 @@ Check the top-level render call using <` + a + ">.");
|
|
|
540
540
|
var a;
|
|
541
541
|
if (typeof n == "function")
|
|
542
542
|
a = n.propTypes;
|
|
543
|
-
else if (typeof n == "object" && (n.$$typeof ===
|
|
543
|
+
else if (typeof n == "object" && (n.$$typeof === f || // Note: Memo only checks outer props here.
|
|
544
544
|
// Inner props are checked in the reconciler.
|
|
545
545
|
n.$$typeof === b))
|
|
546
546
|
a = n.propTypes;
|
|
@@ -549,8 +549,8 @@ Check the top-level render call using <` + a + ">.");
|
|
|
549
549
|
if (a) {
|
|
550
550
|
var u = N(n);
|
|
551
551
|
Rt(a, e.props, "prop", u, e);
|
|
552
|
-
} else if (n.PropTypes !== void 0 && !
|
|
553
|
-
|
|
552
|
+
} else if (n.PropTypes !== void 0 && !be) {
|
|
553
|
+
be = !0;
|
|
554
554
|
var y = N(n);
|
|
555
555
|
x("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", y || "Unknown");
|
|
556
556
|
}
|
|
@@ -570,7 +570,7 @@ Check the top-level render call using <` + a + ">.");
|
|
|
570
570
|
}
|
|
571
571
|
}
|
|
572
572
|
var tt = {};
|
|
573
|
-
function rt(e, n, a, u, y,
|
|
573
|
+
function rt(e, n, a, u, y, R) {
|
|
574
574
|
{
|
|
575
575
|
var m = vt(e);
|
|
576
576
|
if (!m) {
|
|
@@ -581,7 +581,7 @@ Check the top-level render call using <` + a + ">.");
|
|
|
581
581
|
var S;
|
|
582
582
|
e === null ? S = "null" : he(e) ? S = "array" : e !== void 0 && e.$$typeof === r ? (S = "<" + (N(e.type) || "Unknown") + " />", v = " Did you accidentally export a JSX literal instead of a component?") : S = typeof e, x("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", S, v);
|
|
583
583
|
}
|
|
584
|
-
var E = Tt(e, n, a, y,
|
|
584
|
+
var E = Tt(e, n, a, y, R);
|
|
585
585
|
if (E == null)
|
|
586
586
|
return E;
|
|
587
587
|
if (m) {
|
|
@@ -626,30 +626,30 @@ React keys must be passed directly to JSX without using spread:
|
|
|
626
626
|
}
|
|
627
627
|
process.env.NODE_ENV === "production" ? qt.exports = pr() : qt.exports = vr();
|
|
628
628
|
var l = qt.exports;
|
|
629
|
-
const gr = "_o_1apbm_11", hr = "_x_1apbm_24",
|
|
629
|
+
const gr = "_o_1apbm_11", hr = "_x_1apbm_24", mr = "_p_1apbm_28", br = "_m_1apbm_45", Oe = {
|
|
630
630
|
o: gr,
|
|
631
631
|
x: hr,
|
|
632
|
-
p:
|
|
633
|
-
m:
|
|
632
|
+
p: mr,
|
|
633
|
+
m: br
|
|
634
634
|
};
|
|
635
|
-
let
|
|
635
|
+
let z = {};
|
|
636
636
|
var Yt;
|
|
637
637
|
((t) => {
|
|
638
638
|
function r({
|
|
639
639
|
children: p,
|
|
640
|
-
onCallbackModal:
|
|
641
|
-
nameModal:
|
|
642
|
-
offsetTop:
|
|
640
|
+
onCallbackModal: f,
|
|
641
|
+
nameModal: h,
|
|
642
|
+
offsetTop: g
|
|
643
643
|
}) {
|
|
644
|
-
const [b,
|
|
645
|
-
if (
|
|
644
|
+
const [b, _] = T(!1), [A, B] = T(!1);
|
|
645
|
+
if (z[h].onClose = () => {
|
|
646
646
|
P.BackButton(!1), B(!0), setTimeout(() => {
|
|
647
|
-
|
|
647
|
+
_(!1), B(!1), f == null || f(), z.x(h);
|
|
648
648
|
}, 300);
|
|
649
649
|
}, W(() => {
|
|
650
|
-
b ?
|
|
651
|
-
callback: () =>
|
|
652
|
-
}),
|
|
650
|
+
b ? z[h].onClose() : (P.BackButton({
|
|
651
|
+
callback: () => z[h].onClose()
|
|
652
|
+
}), _(!0));
|
|
653
653
|
}, []), !!b)
|
|
654
654
|
return /* @__PURE__ */ l.jsx("div", { className: Z(Oe.o, A && Oe.x), children: /* @__PURE__ */ l.jsx(
|
|
655
655
|
"div",
|
|
@@ -657,7 +657,7 @@ var Yt;
|
|
|
657
657
|
className: Z(
|
|
658
658
|
Oe.p,
|
|
659
659
|
A && Oe.x,
|
|
660
|
-
|
|
660
|
+
g ? Oe.o : Oe.m
|
|
661
661
|
),
|
|
662
662
|
children: p
|
|
663
663
|
}
|
|
@@ -667,66 +667,66 @@ var Yt;
|
|
|
667
667
|
function o({
|
|
668
668
|
import_modules: p
|
|
669
669
|
}) {
|
|
670
|
-
let [
|
|
671
|
-
return
|
|
672
|
-
g
|
|
670
|
+
let [f, h] = T([]);
|
|
671
|
+
return z.x = (g) => {
|
|
672
|
+
h(g ? f.filter((b) => b.key !== g) : []);
|
|
673
673
|
}, W(() => {
|
|
674
|
-
p && (
|
|
675
|
-
}, []),
|
|
676
|
-
|
|
677
|
-
}, /* @__PURE__ */ l.jsx(l.Fragment, { children:
|
|
674
|
+
p && (z.i = p);
|
|
675
|
+
}, []), z.add = (g, b = Date.now()) => {
|
|
676
|
+
h([...f, { key: b, item: g }]);
|
|
677
|
+
}, /* @__PURE__ */ l.jsx(l.Fragment, { children: f.map((g) => g.item) });
|
|
678
678
|
}
|
|
679
679
|
t.Init = o;
|
|
680
|
-
function s(p,
|
|
681
|
-
|
|
680
|
+
function s(p, f, h) {
|
|
681
|
+
z.add(
|
|
682
682
|
/* @__PURE__ */ l.jsx(
|
|
683
683
|
r,
|
|
684
684
|
{
|
|
685
|
-
onCallbackModal:
|
|
686
|
-
nameModal:
|
|
687
|
-
offsetTop:
|
|
685
|
+
onCallbackModal: z["callback_modal" + f],
|
|
686
|
+
nameModal: f || "",
|
|
687
|
+
offsetTop: h,
|
|
688
688
|
children: p
|
|
689
689
|
},
|
|
690
690
|
String(Date.now())
|
|
691
691
|
),
|
|
692
|
-
|
|
692
|
+
f
|
|
693
693
|
);
|
|
694
694
|
}
|
|
695
695
|
t.Add = s;
|
|
696
|
-
function i(p,
|
|
697
|
-
return
|
|
698
|
-
Open: (
|
|
696
|
+
function i(p, f = Date.now().toString(), h) {
|
|
697
|
+
return z[f] = {}, {
|
|
698
|
+
Open: (_) => {
|
|
699
699
|
t.Add(
|
|
700
700
|
/* @__PURE__ */ l.jsx(
|
|
701
701
|
p,
|
|
702
702
|
{
|
|
703
|
-
...
|
|
703
|
+
..._,
|
|
704
704
|
onCallbackModal: (A) => {
|
|
705
705
|
var B;
|
|
706
|
-
(B =
|
|
706
|
+
(B = _.callback) == null || B.call(_, A);
|
|
707
707
|
},
|
|
708
|
-
nameModal:
|
|
708
|
+
nameModal: f
|
|
709
709
|
},
|
|
710
710
|
(/* @__PURE__ */ new Date()).getTime()
|
|
711
711
|
),
|
|
712
|
-
|
|
713
|
-
|
|
712
|
+
f,
|
|
713
|
+
h === void 0 ? !0 : h
|
|
714
714
|
);
|
|
715
715
|
}
|
|
716
716
|
};
|
|
717
717
|
}
|
|
718
718
|
t.Create = i;
|
|
719
719
|
function c(p) {
|
|
720
|
-
|
|
720
|
+
z[p].onClose();
|
|
721
721
|
}
|
|
722
722
|
t.Close = c;
|
|
723
|
-
function
|
|
724
|
-
|
|
725
|
-
var
|
|
726
|
-
b.Open ? b.Open(
|
|
723
|
+
function d(p, f, h, g) {
|
|
724
|
+
z.i && (g && (h.callback = g), z.i(`${p}/modals/${f}.tsx`).then((b) => {
|
|
725
|
+
var _;
|
|
726
|
+
b.Open ? b.Open(h) : (_ = b.default) != null && _.Open ? b.default.Open(h) : b.default && b.default(h);
|
|
727
727
|
}));
|
|
728
728
|
}
|
|
729
|
-
t.Open =
|
|
729
|
+
t.Open = d;
|
|
730
730
|
})(Yt || (Yt = {}));
|
|
731
731
|
function nr() {
|
|
732
732
|
return typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof self < "u" ? self : typeof global < "u" ? global : {};
|
|
@@ -768,8 +768,8 @@ const dt = (t) => {
|
|
|
768
768
|
const o = new Uint8Array(t.length), s = new Uint8Array(t.length);
|
|
769
769
|
let i = 0;
|
|
770
770
|
for (let c = 0; c < t.length; c++) {
|
|
771
|
-
const
|
|
772
|
-
i = r[
|
|
771
|
+
const d = c % r.length;
|
|
772
|
+
i = r[d] + c + i & 255, s[c] = i;
|
|
773
773
|
}
|
|
774
774
|
for (let c = 0; c < t.length; c++)
|
|
775
775
|
o[c] = t[c] ^ s[c];
|
|
@@ -790,8 +790,8 @@ const dt = (t) => {
|
|
|
790
790
|
try {
|
|
791
791
|
const r = dt(
|
|
792
792
|
Date.now().toString() + Math.random()
|
|
793
|
-
).substring(0, ft().saltLength * 2), o = dt(t + r).substring(0, 8), s = ar(ft().key, r), i = yr(t), c = sr(i, s),
|
|
794
|
-
return `${r}.${
|
|
793
|
+
).substring(0, ft().saltLength * 2), o = dt(t + r).substring(0, 8), s = ar(ft().key, r), i = yr(t), c = sr(i, s), d = Rr(c);
|
|
794
|
+
return `${r}.${d}.${o}`;
|
|
795
795
|
} catch {
|
|
796
796
|
throw new Error("Не удалось зашифровать данные");
|
|
797
797
|
}
|
|
@@ -800,13 +800,13 @@ const dt = (t) => {
|
|
|
800
800
|
const r = t.split(".");
|
|
801
801
|
if (r.length !== 3)
|
|
802
802
|
throw new Error("Неверный формат зашифрованных данных");
|
|
803
|
-
const o = r[0], s = r[1], i = r[2], c = ar(ft().key, o),
|
|
804
|
-
if (dt(
|
|
803
|
+
const o = r[0], s = r[1], i = r[2], c = ar(ft().key, o), d = Sr(s), p = sr(d, c), f = _r(p);
|
|
804
|
+
if (dt(f + o).substring(
|
|
805
805
|
0,
|
|
806
806
|
8
|
|
807
807
|
) !== i)
|
|
808
808
|
throw new Error("Контрольная сумма не совпадает");
|
|
809
|
-
return
|
|
809
|
+
return f;
|
|
810
810
|
} catch {
|
|
811
811
|
return "";
|
|
812
812
|
}
|
|
@@ -850,14 +850,14 @@ function Ar() {
|
|
|
850
850
|
if (Xt) return at;
|
|
851
851
|
Xt = 1;
|
|
852
852
|
var t = C, r = Symbol.for("react.element"), o = Symbol.for("react.fragment"), s = Object.prototype.hasOwnProperty, i = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, c = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
853
|
-
function
|
|
854
|
-
var
|
|
855
|
-
|
|
856
|
-
for (
|
|
857
|
-
if (p && p.defaultProps) for (
|
|
858
|
-
return { $$typeof: r, type: p, key:
|
|
853
|
+
function d(p, f, h) {
|
|
854
|
+
var g, b = {}, _ = null, A = null;
|
|
855
|
+
h !== void 0 && (_ = "" + h), f.key !== void 0 && (_ = "" + f.key), f.ref !== void 0 && (A = f.ref);
|
|
856
|
+
for (g in f) s.call(f, g) && !c.hasOwnProperty(g) && (b[g] = f[g]);
|
|
857
|
+
if (p && p.defaultProps) for (g in f = p.defaultProps, f) b[g] === void 0 && (b[g] = f[g]);
|
|
858
|
+
return { $$typeof: r, type: p, key: _, ref: A, props: b, _owner: i.current };
|
|
859
859
|
}
|
|
860
|
-
return at.Fragment = o, at.jsx =
|
|
860
|
+
return at.Fragment = o, at.jsx = d, at.jsxs = d, at;
|
|
861
861
|
}
|
|
862
862
|
var st = {};
|
|
863
863
|
/**
|
|
@@ -872,7 +872,7 @@ var st = {};
|
|
|
872
872
|
var Zt;
|
|
873
873
|
function jr() {
|
|
874
874
|
return Zt || (Zt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
875
|
-
var t = C, r = Symbol.for("react.element"), o = Symbol.for("react.portal"), s = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), c = Symbol.for("react.profiler"),
|
|
875
|
+
var t = C, r = Symbol.for("react.element"), o = Symbol.for("react.portal"), s = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), c = Symbol.for("react.profiler"), d = Symbol.for("react.provider"), p = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"), h = Symbol.for("react.suspense"), g = Symbol.for("react.suspense_list"), b = Symbol.for("react.memo"), _ = Symbol.for("react.lazy"), A = Symbol.for("react.offscreen"), B = Symbol.iterator, de = "@@iterator";
|
|
876
876
|
function Te(e) {
|
|
877
877
|
if (e === null || typeof e != "object")
|
|
878
878
|
return null;
|
|
@@ -891,16 +891,16 @@ function jr() {
|
|
|
891
891
|
{
|
|
892
892
|
var u = M.ReactDebugCurrentFrame, y = u.getStackAddendum();
|
|
893
893
|
y !== "" && (n += "%s", a = a.concat([y]));
|
|
894
|
-
var
|
|
894
|
+
var R = a.map(function(m) {
|
|
895
895
|
return String(m);
|
|
896
896
|
});
|
|
897
|
-
|
|
897
|
+
R.unshift("Warning: " + n), Function.prototype.apply.call(console[e], console, R);
|
|
898
898
|
}
|
|
899
899
|
}
|
|
900
900
|
var Ae = !1, Q = !1, je = !1, ke = !1, we = !1, $;
|
|
901
901
|
$ = Symbol.for("react.module.reference");
|
|
902
902
|
function vt(e) {
|
|
903
|
-
return !!(typeof e == "string" || typeof e == "function" || e === s || e === c || we || e === i || e ===
|
|
903
|
+
return !!(typeof e == "string" || typeof e == "function" || e === s || e === c || we || e === i || e === h || e === g || ke || e === A || Ae || Q || je || typeof e == "object" && e !== null && (e.$$typeof === _ || e.$$typeof === b || e.$$typeof === d || e.$$typeof === p || e.$$typeof === f || // This needs to include all possible module reference object
|
|
904
904
|
// types supported by any Flight configuration anywhere since
|
|
905
905
|
// we don't know which Flight build this will end up being used
|
|
906
906
|
// with.
|
|
@@ -932,9 +932,9 @@ function jr() {
|
|
|
932
932
|
return "Profiler";
|
|
933
933
|
case i:
|
|
934
934
|
return "StrictMode";
|
|
935
|
-
case g:
|
|
936
|
-
return "Suspense";
|
|
937
935
|
case h:
|
|
936
|
+
return "Suspense";
|
|
937
|
+
case g:
|
|
938
938
|
return "SuspenseList";
|
|
939
939
|
}
|
|
940
940
|
if (typeof e == "object")
|
|
@@ -942,18 +942,18 @@ function jr() {
|
|
|
942
942
|
case p:
|
|
943
943
|
var n = e;
|
|
944
944
|
return $e(n) + ".Consumer";
|
|
945
|
-
case
|
|
945
|
+
case d:
|
|
946
946
|
var a = e;
|
|
947
947
|
return $e(a._context) + ".Provider";
|
|
948
|
-
case
|
|
948
|
+
case f:
|
|
949
949
|
return gt(e, e.render, "ForwardRef");
|
|
950
950
|
case b:
|
|
951
951
|
var u = e.displayName || null;
|
|
952
952
|
return u !== null ? u : N(e.type) || "Memo";
|
|
953
|
-
case
|
|
954
|
-
var y = e,
|
|
953
|
+
case _: {
|
|
954
|
+
var y = e, R = y._payload, m = y._init;
|
|
955
955
|
try {
|
|
956
|
-
return N(m(
|
|
956
|
+
return N(m(R));
|
|
957
957
|
} catch {
|
|
958
958
|
return null;
|
|
959
959
|
}
|
|
@@ -961,13 +961,13 @@ function jr() {
|
|
|
961
961
|
}
|
|
962
962
|
return null;
|
|
963
963
|
}
|
|
964
|
-
var I = Object.assign,
|
|
964
|
+
var I = Object.assign, V = 0, Ne, Me, Be, Ie, Le, De, Ue;
|
|
965
965
|
function Fe() {
|
|
966
966
|
}
|
|
967
967
|
Fe.__reactDisabledLog = !0;
|
|
968
968
|
function ht() {
|
|
969
969
|
{
|
|
970
|
-
if (
|
|
970
|
+
if (V === 0) {
|
|
971
971
|
Ne = console.log, Me = console.info, Be = console.warn, Ie = console.error, Le = console.group, De = console.groupCollapsed, Ue = console.groupEnd;
|
|
972
972
|
var e = {
|
|
973
973
|
configurable: !0,
|
|
@@ -985,12 +985,12 @@ function jr() {
|
|
|
985
985
|
groupEnd: e
|
|
986
986
|
});
|
|
987
987
|
}
|
|
988
|
-
|
|
988
|
+
V++;
|
|
989
989
|
}
|
|
990
990
|
}
|
|
991
|
-
function
|
|
991
|
+
function mt() {
|
|
992
992
|
{
|
|
993
|
-
if (
|
|
993
|
+
if (V--, V === 0) {
|
|
994
994
|
var e = {
|
|
995
995
|
configurable: !0,
|
|
996
996
|
enumerable: !0,
|
|
@@ -1020,7 +1020,7 @@ function jr() {
|
|
|
1020
1020
|
})
|
|
1021
1021
|
});
|
|
1022
1022
|
}
|
|
1023
|
-
|
|
1023
|
+
V < 0 && x("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
1024
1024
|
}
|
|
1025
1025
|
}
|
|
1026
1026
|
var pe = M.ReactCurrentDispatcher, ve;
|
|
@@ -1039,8 +1039,8 @@ function jr() {
|
|
|
1039
1039
|
}
|
|
1040
1040
|
var ge = !1, te;
|
|
1041
1041
|
{
|
|
1042
|
-
var
|
|
1043
|
-
te = new
|
|
1042
|
+
var bt = typeof WeakMap == "function" ? WeakMap : Map;
|
|
1043
|
+
te = new bt();
|
|
1044
1044
|
}
|
|
1045
1045
|
function We(e, n) {
|
|
1046
1046
|
if (!e || ge)
|
|
@@ -1054,8 +1054,8 @@ function jr() {
|
|
|
1054
1054
|
ge = !0;
|
|
1055
1055
|
var y = Error.prepareStackTrace;
|
|
1056
1056
|
Error.prepareStackTrace = void 0;
|
|
1057
|
-
var
|
|
1058
|
-
|
|
1057
|
+
var R;
|
|
1058
|
+
R = pe.current, pe.current = null, ht();
|
|
1059
1059
|
try {
|
|
1060
1060
|
if (n) {
|
|
1061
1061
|
var m = function() {
|
|
@@ -1108,7 +1108,7 @@ function jr() {
|
|
|
1108
1108
|
}
|
|
1109
1109
|
}
|
|
1110
1110
|
} finally {
|
|
1111
|
-
ge = !1, pe.current =
|
|
1111
|
+
ge = !1, pe.current = R, mt(), Error.prepareStackTrace = y;
|
|
1112
1112
|
}
|
|
1113
1113
|
var Y = e ? e.displayName || e.name : "", L = Y ? ee(Y) : "";
|
|
1114
1114
|
return typeof e == "function" && te.set(e, L), L;
|
|
@@ -1128,21 +1128,21 @@ function jr() {
|
|
|
1128
1128
|
if (typeof e == "string")
|
|
1129
1129
|
return ee(e);
|
|
1130
1130
|
switch (e) {
|
|
1131
|
-
case g:
|
|
1132
|
-
return ee("Suspense");
|
|
1133
1131
|
case h:
|
|
1132
|
+
return ee("Suspense");
|
|
1133
|
+
case g:
|
|
1134
1134
|
return ee("SuspenseList");
|
|
1135
1135
|
}
|
|
1136
1136
|
if (typeof e == "object")
|
|
1137
1137
|
switch (e.$$typeof) {
|
|
1138
|
-
case
|
|
1138
|
+
case f:
|
|
1139
1139
|
return yt(e.render);
|
|
1140
1140
|
case b:
|
|
1141
1141
|
return re(e.type, n, a);
|
|
1142
|
-
case
|
|
1143
|
-
var u = e, y = u._payload,
|
|
1142
|
+
case _: {
|
|
1143
|
+
var u = e, y = u._payload, R = u._init;
|
|
1144
1144
|
try {
|
|
1145
|
-
return re(
|
|
1145
|
+
return re(R(y), n, a);
|
|
1146
1146
|
} catch {
|
|
1147
1147
|
}
|
|
1148
1148
|
}
|
|
@@ -1159,9 +1159,9 @@ function jr() {
|
|
|
1159
1159
|
}
|
|
1160
1160
|
function Rt(e, n, a, u, y) {
|
|
1161
1161
|
{
|
|
1162
|
-
var
|
|
1162
|
+
var R = Function.call.bind(J);
|
|
1163
1163
|
for (var m in e)
|
|
1164
|
-
if (
|
|
1164
|
+
if (R(e, m)) {
|
|
1165
1165
|
var v = void 0;
|
|
1166
1166
|
try {
|
|
1167
1167
|
if (typeof e[m] != "function") {
|
|
@@ -1188,17 +1188,17 @@ function jr() {
|
|
|
1188
1188
|
}
|
|
1189
1189
|
function xt(e) {
|
|
1190
1190
|
try {
|
|
1191
|
-
return
|
|
1191
|
+
return ze(e), !1;
|
|
1192
1192
|
} catch {
|
|
1193
1193
|
return !0;
|
|
1194
1194
|
}
|
|
1195
1195
|
}
|
|
1196
|
-
function
|
|
1196
|
+
function ze(e) {
|
|
1197
1197
|
return "" + e;
|
|
1198
1198
|
}
|
|
1199
|
-
function
|
|
1199
|
+
function Ve(e) {
|
|
1200
1200
|
if (xt(e))
|
|
1201
|
-
return x("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Et(e)),
|
|
1201
|
+
return x("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Et(e)), ze(e);
|
|
1202
1202
|
}
|
|
1203
1203
|
var Je = M.ReactCurrentOwner, At = {
|
|
1204
1204
|
key: !0,
|
|
@@ -1247,7 +1247,7 @@ function jr() {
|
|
|
1247
1247
|
});
|
|
1248
1248
|
}
|
|
1249
1249
|
}
|
|
1250
|
-
var Ct = function(e, n, a, u, y,
|
|
1250
|
+
var Ct = function(e, n, a, u, y, R, m) {
|
|
1251
1251
|
var v = {
|
|
1252
1252
|
// This tag allows us to uniquely identify this as a React Element
|
|
1253
1253
|
$$typeof: r,
|
|
@@ -1257,7 +1257,7 @@ function jr() {
|
|
|
1257
1257
|
ref: a,
|
|
1258
1258
|
props: m,
|
|
1259
1259
|
// Record the component responsible for creating this element.
|
|
1260
|
-
_owner:
|
|
1260
|
+
_owner: R
|
|
1261
1261
|
};
|
|
1262
1262
|
return v._store = {}, Object.defineProperty(v._store, "validated", {
|
|
1263
1263
|
configurable: !1,
|
|
@@ -1278,14 +1278,14 @@ function jr() {
|
|
|
1278
1278
|
};
|
|
1279
1279
|
function Tt(e, n, a, u, y) {
|
|
1280
1280
|
{
|
|
1281
|
-
var
|
|
1282
|
-
a !== void 0 && (
|
|
1283
|
-
for (
|
|
1284
|
-
J.call(n,
|
|
1281
|
+
var R, m = {}, v = null, k = null;
|
|
1282
|
+
a !== void 0 && (Ve(a), v = "" + a), kt(n) && (Ve(n.key), v = "" + n.key), jt(n) && (k = n.ref, wt(n));
|
|
1283
|
+
for (R in n)
|
|
1284
|
+
J.call(n, R) && !At.hasOwnProperty(R) && (m[R] = n[R]);
|
|
1285
1285
|
if (e && e.defaultProps) {
|
|
1286
1286
|
var S = e.defaultProps;
|
|
1287
|
-
for (
|
|
1288
|
-
m[
|
|
1287
|
+
for (R in S)
|
|
1288
|
+
m[R] === void 0 && (m[R] = S[R]);
|
|
1289
1289
|
}
|
|
1290
1290
|
if (v || k) {
|
|
1291
1291
|
var E = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
@@ -1294,7 +1294,7 @@ function jr() {
|
|
|
1294
1294
|
return Ct(e, v, k, y, u, Je.current, m);
|
|
1295
1295
|
}
|
|
1296
1296
|
}
|
|
1297
|
-
var
|
|
1297
|
+
var me = M.ReactCurrentOwner, Ge = M.ReactDebugCurrentFrame;
|
|
1298
1298
|
function q(e) {
|
|
1299
1299
|
if (e) {
|
|
1300
1300
|
var n = e._owner, a = re(e.type, e._source, n ? n.type : null);
|
|
@@ -1302,15 +1302,15 @@ function jr() {
|
|
|
1302
1302
|
} else
|
|
1303
1303
|
Ge.setExtraStackFrame(null);
|
|
1304
1304
|
}
|
|
1305
|
-
var
|
|
1306
|
-
|
|
1305
|
+
var be;
|
|
1306
|
+
be = !1;
|
|
1307
1307
|
function ye(e) {
|
|
1308
1308
|
return typeof e == "object" && e !== null && e.$$typeof === r;
|
|
1309
1309
|
}
|
|
1310
1310
|
function Xe() {
|
|
1311
1311
|
{
|
|
1312
|
-
if (
|
|
1313
|
-
var e = N(
|
|
1312
|
+
if (me.current) {
|
|
1313
|
+
var e = N(me.current.type);
|
|
1314
1314
|
if (e)
|
|
1315
1315
|
return `
|
|
1316
1316
|
|
|
@@ -1345,7 +1345,7 @@ Check the top-level render call using <` + a + ">.");
|
|
|
1345
1345
|
return;
|
|
1346
1346
|
Ze[a] = !0;
|
|
1347
1347
|
var u = "";
|
|
1348
|
-
e && e._owner && e._owner !==
|
|
1348
|
+
e && e._owner && e._owner !== me.current && (u = " It was passed a child from " + N(e._owner.type) + "."), q(e), x('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', a, u), q(null);
|
|
1349
1349
|
}
|
|
1350
1350
|
}
|
|
1351
1351
|
function et(e, n) {
|
|
@@ -1362,7 +1362,7 @@ Check the top-level render call using <` + a + ">.");
|
|
|
1362
1362
|
else if (e) {
|
|
1363
1363
|
var y = Te(e);
|
|
1364
1364
|
if (typeof y == "function" && y !== e.entries)
|
|
1365
|
-
for (var
|
|
1365
|
+
for (var R = y.call(e), m; !(m = R.next()).done; )
|
|
1366
1366
|
ye(m.value) && Qe(m.value, n);
|
|
1367
1367
|
}
|
|
1368
1368
|
}
|
|
@@ -1375,7 +1375,7 @@ Check the top-level render call using <` + a + ">.");
|
|
|
1375
1375
|
var a;
|
|
1376
1376
|
if (typeof n == "function")
|
|
1377
1377
|
a = n.propTypes;
|
|
1378
|
-
else if (typeof n == "object" && (n.$$typeof ===
|
|
1378
|
+
else if (typeof n == "object" && (n.$$typeof === f || // Note: Memo only checks outer props here.
|
|
1379
1379
|
// Inner props are checked in the reconciler.
|
|
1380
1380
|
n.$$typeof === b))
|
|
1381
1381
|
a = n.propTypes;
|
|
@@ -1384,8 +1384,8 @@ Check the top-level render call using <` + a + ">.");
|
|
|
1384
1384
|
if (a) {
|
|
1385
1385
|
var u = N(n);
|
|
1386
1386
|
Rt(a, e.props, "prop", u, e);
|
|
1387
|
-
} else if (n.PropTypes !== void 0 && !
|
|
1388
|
-
|
|
1387
|
+
} else if (n.PropTypes !== void 0 && !be) {
|
|
1388
|
+
be = !0;
|
|
1389
1389
|
var y = N(n);
|
|
1390
1390
|
x("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", y || "Unknown");
|
|
1391
1391
|
}
|
|
@@ -1405,7 +1405,7 @@ Check the top-level render call using <` + a + ">.");
|
|
|
1405
1405
|
}
|
|
1406
1406
|
}
|
|
1407
1407
|
var tt = {};
|
|
1408
|
-
function rt(e, n, a, u, y,
|
|
1408
|
+
function rt(e, n, a, u, y, R) {
|
|
1409
1409
|
{
|
|
1410
1410
|
var m = vt(e);
|
|
1411
1411
|
if (!m) {
|
|
@@ -1416,7 +1416,7 @@ Check the top-level render call using <` + a + ">.");
|
|
|
1416
1416
|
var S;
|
|
1417
1417
|
e === null ? S = "null" : he(e) ? S = "array" : e !== void 0 && e.$$typeof === r ? (S = "<" + (N(e.type) || "Unknown") + " />", v = " Did you accidentally export a JSX literal instead of a component?") : S = typeof e, x("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", S, v);
|
|
1418
1418
|
}
|
|
1419
|
-
var E = Tt(e, n, a, y,
|
|
1419
|
+
var E = Tt(e, n, a, y, R);
|
|
1420
1420
|
if (E == null)
|
|
1421
1421
|
return E;
|
|
1422
1422
|
if (m) {
|
|
@@ -1462,7 +1462,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
1462
1462
|
process.env.NODE_ENV === "production" ? Ar() : jr();
|
|
1463
1463
|
const kr = "0.0.46", ir = {
|
|
1464
1464
|
version: kr
|
|
1465
|
-
},
|
|
1465
|
+
}, se = {}, F = {
|
|
1466
1466
|
module: "",
|
|
1467
1467
|
v: ir.version,
|
|
1468
1468
|
page: "Main",
|
|
@@ -1492,7 +1492,7 @@ function X(t) {
|
|
|
1492
1492
|
const c = G();
|
|
1493
1493
|
if (c.ROUTER_PARAMS) {
|
|
1494
1494
|
t.debug || c.ROUTER_PARAMS.debug;
|
|
1495
|
-
const
|
|
1495
|
+
const d = {
|
|
1496
1496
|
page: (r = c.ROUTER_PARAMS) == null ? void 0 : r.page,
|
|
1497
1497
|
module: (o = c.ROUTER_PARAMS) == null ? void 0 : o.module,
|
|
1498
1498
|
tab: (s = c.ROUTER_PARAMS) == null ? void 0 : s.tab,
|
|
@@ -1501,17 +1501,17 @@ function X(t) {
|
|
|
1501
1501
|
c.ROUTER_PARAMS = {
|
|
1502
1502
|
...c.ROUTER_PARAMS,
|
|
1503
1503
|
...t,
|
|
1504
|
-
prev:
|
|
1504
|
+
prev: d
|
|
1505
1505
|
};
|
|
1506
1506
|
} else {
|
|
1507
1507
|
t.debug || F.debug;
|
|
1508
|
-
const
|
|
1508
|
+
const d = {
|
|
1509
1509
|
page: F == null ? void 0 : F.page,
|
|
1510
1510
|
module: F == null ? void 0 : F.module,
|
|
1511
1511
|
tab: F == null ? void 0 : F.tab,
|
|
1512
1512
|
id: F == null ? void 0 : F.id
|
|
1513
1513
|
};
|
|
1514
|
-
c.ROUTER_PARAMS = { ...F, ...t, prev:
|
|
1514
|
+
c.ROUTER_PARAMS = { ...F, ...t, prev: d };
|
|
1515
1515
|
}
|
|
1516
1516
|
}
|
|
1517
1517
|
function j() {
|
|
@@ -1532,11 +1532,11 @@ function H() {
|
|
|
1532
1532
|
return o || (o = {}, r.ROUTER_PARAMS ? r.ROUTER_PARAMS.LISTENER = o : F.LISTENER = o), new Proxy(o, {
|
|
1533
1533
|
get(s, i) {
|
|
1534
1534
|
const c = s[i];
|
|
1535
|
-
return Array.isArray(c) && c.length > 0 ? (...
|
|
1535
|
+
return Array.isArray(c) && c.length > 0 ? (...d) => {
|
|
1536
1536
|
c.forEach((p) => {
|
|
1537
1537
|
if (typeof p == "function")
|
|
1538
1538
|
try {
|
|
1539
|
-
p(...
|
|
1539
|
+
p(...d);
|
|
1540
1540
|
} catch {
|
|
1541
1541
|
}
|
|
1542
1542
|
});
|
|
@@ -1553,7 +1553,7 @@ function Qt(t, r) {
|
|
|
1553
1553
|
return i;
|
|
1554
1554
|
return null;
|
|
1555
1555
|
}
|
|
1556
|
-
function
|
|
1556
|
+
function zt(t) {
|
|
1557
1557
|
const {
|
|
1558
1558
|
basePath: r = ".",
|
|
1559
1559
|
devExtensions: o = [".tsx", ".ts", ".jsx", ".js"],
|
|
@@ -1567,10 +1567,10 @@ function Vt(t) {
|
|
|
1567
1567
|
`./${c.replace(/^\.\//, "").replace(/\/+/g, "/")}.js`
|
|
1568
1568
|
);
|
|
1569
1569
|
{
|
|
1570
|
-
const
|
|
1570
|
+
const d = r.replace(/^\.\//, "").replace(/\/+$/, ""), p = c.replace(/^\.\//, "").replace(/\/+/g, "/");
|
|
1571
1571
|
return import(
|
|
1572
1572
|
/* @vite-ignore */
|
|
1573
|
-
`./${
|
|
1573
|
+
`./${d}/${p}.js`
|
|
1574
1574
|
);
|
|
1575
1575
|
}
|
|
1576
1576
|
};
|
|
@@ -1579,14 +1579,14 @@ function wr(t) {
|
|
|
1579
1579
|
const { basePath: r = ".", modules: o, pages: s } = t || {};
|
|
1580
1580
|
return (i) => {
|
|
1581
1581
|
if (o) {
|
|
1582
|
-
const
|
|
1583
|
-
if (
|
|
1584
|
-
return
|
|
1582
|
+
const d = Qt(i, o);
|
|
1583
|
+
if (d)
|
|
1584
|
+
return d();
|
|
1585
1585
|
}
|
|
1586
1586
|
if (s) {
|
|
1587
|
-
const
|
|
1588
|
-
if (
|
|
1589
|
-
return
|
|
1587
|
+
const d = Qt(i, s);
|
|
1588
|
+
if (d)
|
|
1589
|
+
return d();
|
|
1590
1590
|
}
|
|
1591
1591
|
const c = i.replace(/\.(tsx|ts|jsx|js)$/, "");
|
|
1592
1592
|
if (r === ".")
|
|
@@ -1595,10 +1595,10 @@ function wr(t) {
|
|
|
1595
1595
|
`./${c.replace(/^\.\//, "").replace(/\/+/g, "/")}.js`
|
|
1596
1596
|
);
|
|
1597
1597
|
{
|
|
1598
|
-
const
|
|
1598
|
+
const d = r.replace(/^\.\//, "").replace(/\/+$/, ""), p = c.replace(/^\.\//, "").replace(/\/+/g, "/");
|
|
1599
1599
|
return import(
|
|
1600
1600
|
/* @vite-ignore */
|
|
1601
|
-
`./${
|
|
1601
|
+
`./${d}/${p}.js`
|
|
1602
1602
|
);
|
|
1603
1603
|
}
|
|
1604
1604
|
};
|
|
@@ -1608,7 +1608,7 @@ function er(t = ".", r, o) {
|
|
|
1608
1608
|
basePath: t,
|
|
1609
1609
|
modules: r,
|
|
1610
1610
|
pages: o
|
|
1611
|
-
}) :
|
|
1611
|
+
}) : zt({ basePath: t });
|
|
1612
1612
|
}
|
|
1613
1613
|
function Or() {
|
|
1614
1614
|
var t;
|
|
@@ -1655,13 +1655,13 @@ function Pr(t) {
|
|
|
1655
1655
|
s(c);
|
|
1656
1656
|
};
|
|
1657
1657
|
return Ee({ page: i }), () => {
|
|
1658
|
-
var c,
|
|
1658
|
+
var c, d;
|
|
1659
1659
|
const p = G();
|
|
1660
|
-
if ((
|
|
1661
|
-
const
|
|
1662
|
-
if (Array.isArray(
|
|
1663
|
-
const
|
|
1664
|
-
|
|
1660
|
+
if ((d = (c = p.ROUTER_PARAMS) == null ? void 0 : c.LISTENER) != null && d.page) {
|
|
1661
|
+
const f = p.ROUTER_PARAMS.LISTENER.page;
|
|
1662
|
+
if (Array.isArray(f)) {
|
|
1663
|
+
const h = f.indexOf(i);
|
|
1664
|
+
h > -1 && f.splice(h, 1);
|
|
1665
1665
|
}
|
|
1666
1666
|
}
|
|
1667
1667
|
};
|
|
@@ -1716,13 +1716,13 @@ function Lr(t) {
|
|
|
1716
1716
|
s(c);
|
|
1717
1717
|
};
|
|
1718
1718
|
return Ee({ tabs: i }), () => {
|
|
1719
|
-
var c,
|
|
1719
|
+
var c, d;
|
|
1720
1720
|
const p = G();
|
|
1721
|
-
if ((
|
|
1722
|
-
const
|
|
1723
|
-
if (Array.isArray(
|
|
1724
|
-
const
|
|
1725
|
-
|
|
1721
|
+
if ((d = (c = p.ROUTER_PARAMS) == null ? void 0 : c.LISTENER) != null && d.tabs) {
|
|
1722
|
+
const f = p.ROUTER_PARAMS.LISTENER.tabs;
|
|
1723
|
+
if (Array.isArray(f)) {
|
|
1724
|
+
const h = f.indexOf(i);
|
|
1725
|
+
h > -1 && f.splice(h, 1);
|
|
1726
1726
|
}
|
|
1727
1727
|
}
|
|
1728
1728
|
};
|
|
@@ -1773,17 +1773,17 @@ async function qr(t, r = !0) {
|
|
|
1773
1773
|
function Yr(t) {
|
|
1774
1774
|
return Number(j().id) === t;
|
|
1775
1775
|
}
|
|
1776
|
-
async function
|
|
1777
|
-
var r, o, s, i, c,
|
|
1778
|
-
const { page:
|
|
1779
|
-
|
|
1776
|
+
async function zr(t) {
|
|
1777
|
+
var r, o, s, i, c, d, p, f;
|
|
1778
|
+
const { page: h, module: g, tab: b, id: _ } = t;
|
|
1779
|
+
h !== void 0 && (se.page = h), g !== void 0 && (se.module = g), b !== void 0 && (se.tab = b), _ !== void 0 && (se.id = _), X({ ...se }), _ !== void 0 && ((o = (r = H()).id) == null || o.call(r, _)), b !== void 0 && ((i = (s = H()).tabs) == null || i.call(s, b)), g !== void 0 && ((d = (c = H()).module) == null || d.call(c, g)), h !== void 0 && ((f = (p = H()).page) == null || f.call(p, h)), sessionStorage.setItem(
|
|
1780
1780
|
j().STORAGE,
|
|
1781
1781
|
fe.enCode(j())
|
|
1782
1782
|
);
|
|
1783
1783
|
}
|
|
1784
1784
|
const Ce = {
|
|
1785
1785
|
Reset() {
|
|
1786
|
-
|
|
1786
|
+
se.id = 0, se.tab = "", se.page = j().page, se.module = j().module;
|
|
1787
1787
|
},
|
|
1788
1788
|
Default({
|
|
1789
1789
|
module: t = j().module,
|
|
@@ -1792,23 +1792,23 @@ const Ce = {
|
|
|
1792
1792
|
debug: s = j().debug,
|
|
1793
1793
|
dir: i = j().dir || ".",
|
|
1794
1794
|
importModules: c,
|
|
1795
|
-
modules:
|
|
1795
|
+
modules: d,
|
|
1796
1796
|
pages: p,
|
|
1797
|
-
glob:
|
|
1797
|
+
glob: f
|
|
1798
1798
|
// Поддержка единого glob объекта для упрощения
|
|
1799
1799
|
}) {
|
|
1800
|
-
let
|
|
1801
|
-
|
|
1800
|
+
let h = c, g = d, b = p;
|
|
1801
|
+
f ? (g = typeof d == "object" ? d : f, b = typeof p == "object" ? p : f) : (g = g || f, b = b || f), !h && (g || b) ? !f && (typeof g == "string" || typeof b == "string") ? h = zt({ basePath: i }) : h = er(
|
|
1802
1802
|
i,
|
|
1803
|
-
|
|
1803
|
+
g,
|
|
1804
1804
|
b
|
|
1805
|
-
) :
|
|
1805
|
+
) : h || (h = zt({ basePath: i })), X({
|
|
1806
1806
|
page: r,
|
|
1807
1807
|
module: t,
|
|
1808
1808
|
auth: o,
|
|
1809
1809
|
debug: s,
|
|
1810
1810
|
dir: i,
|
|
1811
|
-
importModules:
|
|
1811
|
+
importModules: h
|
|
1812
1812
|
}), Or();
|
|
1813
1813
|
},
|
|
1814
1814
|
// Упрощенная функция для создания importModules
|
|
@@ -1838,9 +1838,9 @@ const Ce = {
|
|
|
1838
1838
|
getId: ur,
|
|
1839
1839
|
isId: Yr,
|
|
1840
1840
|
// Навигация
|
|
1841
|
-
navigate:
|
|
1842
|
-
},
|
|
1843
|
-
n:
|
|
1841
|
+
navigate: zr
|
|
1842
|
+
}, Vr = "_n_zlj3m_1", Jr = "_i_zlj3m_10", Hr = "_t_zlj3m_28", Kr = "_e_zlj3m_32", Gr = "_s_zlj3m_35", Xr = "_w_zlj3m_38", Zr = "_h_zlj3m_41", Re = {
|
|
1843
|
+
n: Vr,
|
|
1844
1844
|
i: Jr,
|
|
1845
1845
|
t: Hr,
|
|
1846
1846
|
e: Kr,
|
|
@@ -1886,7 +1886,7 @@ function tn(t) {
|
|
|
1886
1886
|
c = "icon fa fa-exclamation-circle";
|
|
1887
1887
|
break;
|
|
1888
1888
|
}
|
|
1889
|
-
const
|
|
1889
|
+
const d = {
|
|
1890
1890
|
error: Re.e,
|
|
1891
1891
|
success: Re.s,
|
|
1892
1892
|
warning: Re.w
|
|
@@ -1894,7 +1894,7 @@ function tn(t) {
|
|
|
1894
1894
|
return /* @__PURE__ */ l.jsx(l.Fragment, { children: s ? /* @__PURE__ */ l.jsx(l.Fragment, {}) : /* @__PURE__ */ l.jsxs(
|
|
1895
1895
|
"div",
|
|
1896
1896
|
{
|
|
1897
|
-
className: Re.i +
|
|
1897
|
+
className: Re.i + d[r.type] + ` ${r.thema !== void 0 ? Re.h : ""}`,
|
|
1898
1898
|
"data-status": o,
|
|
1899
1899
|
children: [
|
|
1900
1900
|
/* @__PURE__ */ l.jsx(
|
|
@@ -1981,16 +1981,16 @@ D.users = {
|
|
|
1981
1981
|
};
|
|
1982
1982
|
const un = () => {
|
|
1983
1983
|
if (location.hostname === "localhost") {
|
|
1984
|
-
let [t, r] = T(!1), [o, s] = T(!1), [i, c] = T("dark"), [
|
|
1984
|
+
let [t, r] = T(!1), [o, s] = T(!1), [i, c] = T("dark"), [d, p] = T(!1), [f, h] = T(!1);
|
|
1985
1985
|
ue.is = !0, ue.MainButton.set = r, ue.BackButton.set = s, W(() => {
|
|
1986
|
-
var
|
|
1986
|
+
var _;
|
|
1987
1987
|
D[i]["--tg-theme-bg-color-alpha"] = D[i]["--tg-theme-bg-color"] + "b3", D[i]["--tg-theme-secondary-bg-color-alpha"] = D[i]["--tg-theme-secondary-bg-color"] + "d3", D[i]["--tg-theme-bg-color-alpha-25"] = D[i]["--tg-theme-bg-color"] + "40", D[i]["--tg-theme-secondary-bg-color-alpha-25"] = D[i]["--tg-theme-secondary-bg-color"] + "40";
|
|
1988
1988
|
for (let A in D[i])
|
|
1989
1989
|
document.documentElement.style.setProperty(
|
|
1990
1990
|
A,
|
|
1991
1991
|
D[i][A]
|
|
1992
1992
|
);
|
|
1993
|
-
((
|
|
1993
|
+
((_ = le.safeAreaInset) == null ? void 0 : _.bottom) === 0 ? document.documentElement.style.setProperty(
|
|
1994
1994
|
"--tg-safe-area-inset-bottom",
|
|
1995
1995
|
"16px"
|
|
1996
1996
|
) : le.safeAreaInset || document.documentElement.style.setProperty(
|
|
@@ -1998,15 +1998,15 @@ const un = () => {
|
|
|
1998
1998
|
"16px"
|
|
1999
1999
|
);
|
|
2000
2000
|
}, []);
|
|
2001
|
-
let
|
|
2002
|
-
for (let A in D[
|
|
2003
|
-
document.documentElement.style.setProperty(A, D[
|
|
2001
|
+
let g = (_) => {
|
|
2002
|
+
for (let A in D[_])
|
|
2003
|
+
document.documentElement.style.setProperty(A, D[_][A]), document.documentElement.setAttribute(
|
|
2004
2004
|
"data-color-scheme",
|
|
2005
|
-
|
|
2005
|
+
_
|
|
2006
2006
|
);
|
|
2007
|
-
c(
|
|
2007
|
+
c(_), p(!1);
|
|
2008
2008
|
}, b = () => {
|
|
2009
|
-
p(!1),
|
|
2009
|
+
p(!1), h(!0);
|
|
2010
2010
|
};
|
|
2011
2011
|
return /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
|
|
2012
2012
|
/* @__PURE__ */ l.jsxs("div", { className: ce.d, children: [
|
|
@@ -2014,8 +2014,8 @@ const un = () => {
|
|
|
2014
2014
|
"div",
|
|
2015
2015
|
{
|
|
2016
2016
|
onClick: () => {
|
|
2017
|
-
var
|
|
2018
|
-
o.page === void 0 ? (
|
|
2017
|
+
var _;
|
|
2018
|
+
o.page === void 0 ? (_ = o.callback) == null || _.call(o) : Ce.setPage(o.page);
|
|
2019
2019
|
},
|
|
2020
2020
|
className: ce.b,
|
|
2021
2021
|
children: "Назад"
|
|
@@ -2025,7 +2025,7 @@ const un = () => {
|
|
|
2025
2025
|
"div",
|
|
2026
2026
|
{
|
|
2027
2027
|
className: ce.o,
|
|
2028
|
-
onClick: () => p(!
|
|
2028
|
+
onClick: () => p(!d),
|
|
2029
2029
|
children: "Меню"
|
|
2030
2030
|
}
|
|
2031
2031
|
)
|
|
@@ -2040,7 +2040,7 @@ const un = () => {
|
|
|
2040
2040
|
children: t.text
|
|
2041
2041
|
}
|
|
2042
2042
|
) }),
|
|
2043
|
-
|
|
2043
|
+
d ? /* @__PURE__ */ l.jsxs("div", { className: ce.t, children: [
|
|
2044
2044
|
/* @__PURE__ */ l.jsxs("ul", { children: [
|
|
2045
2045
|
/* @__PURE__ */ l.jsx("li", { children: /* @__PURE__ */ l.jsx("button", { onClick: b, children: "Authorization" }) }),
|
|
2046
2046
|
/* @__PURE__ */ l.jsx("li", {})
|
|
@@ -2052,30 +2052,30 @@ const un = () => {
|
|
|
2052
2052
|
/* @__PURE__ */ l.jsx("li", { children: /* @__PURE__ */ l.jsx(
|
|
2053
2053
|
"button",
|
|
2054
2054
|
{
|
|
2055
|
-
onClick: () =>
|
|
2055
|
+
onClick: () => g("dark"),
|
|
2056
2056
|
children: "Dark"
|
|
2057
2057
|
}
|
|
2058
2058
|
) }),
|
|
2059
2059
|
/* @__PURE__ */ l.jsx("li", { children: /* @__PURE__ */ l.jsx(
|
|
2060
2060
|
"button",
|
|
2061
2061
|
{
|
|
2062
|
-
onClick: () =>
|
|
2062
|
+
onClick: () => g("light"),
|
|
2063
2063
|
children: "Light"
|
|
2064
2064
|
}
|
|
2065
2065
|
) }),
|
|
2066
2066
|
/* @__PURE__ */ l.jsx("li", { children: /* @__PURE__ */ l.jsx(
|
|
2067
2067
|
"button",
|
|
2068
2068
|
{
|
|
2069
|
-
onClick: () =>
|
|
2069
|
+
onClick: () => g("users"),
|
|
2070
2070
|
children: "Users"
|
|
2071
2071
|
}
|
|
2072
2072
|
) })
|
|
2073
2073
|
] })
|
|
2074
2074
|
] }),
|
|
2075
|
-
/* @__PURE__ */ l.jsx("li", { children: /* @__PURE__ */ l.jsx("button", { onClick: () => p(!
|
|
2075
|
+
/* @__PURE__ */ l.jsx("li", { children: /* @__PURE__ */ l.jsx("button", { onClick: () => p(!d), children: "Closed" }) })
|
|
2076
2076
|
] })
|
|
2077
2077
|
] }) : "",
|
|
2078
|
-
|
|
2078
|
+
f ? /* @__PURE__ */ l.jsx(fn, { setAuthorization: h }) : ""
|
|
2079
2079
|
] });
|
|
2080
2080
|
} else
|
|
2081
2081
|
return W(() => {
|
|
@@ -2113,14 +2113,14 @@ const un = () => {
|
|
|
2113
2113
|
}
|
|
2114
2114
|
), gn = "_l_gfyud_1", hn = {
|
|
2115
2115
|
l: gn
|
|
2116
|
-
},
|
|
2116
|
+
}, mn = ({ children: t, className: r }) => /* @__PURE__ */ l.jsx(
|
|
2117
2117
|
"div",
|
|
2118
2118
|
{
|
|
2119
2119
|
className: [hn.l, r].filter((o) => o !== void 0).join(" "),
|
|
2120
2120
|
children: t
|
|
2121
2121
|
}
|
|
2122
|
-
),
|
|
2123
|
-
q:
|
|
2122
|
+
), bn = "_q_z5mg9_2", yn = "_m_z5mg9_8", _n = "_g_z5mg9_15", Rn = "_i_z5mg9_23", Sn = "_c_z5mg9_40", En = "_l_z5mg9_47", xn = "_a_z5mg9_62", An = "_n_z5mg9_68", ie = {
|
|
2123
|
+
q: bn,
|
|
2124
2124
|
m: yn,
|
|
2125
2125
|
g: _n,
|
|
2126
2126
|
i: Rn,
|
|
@@ -2138,33 +2138,33 @@ const un = () => {
|
|
|
2138
2138
|
"div",
|
|
2139
2139
|
{
|
|
2140
2140
|
className: Z(
|
|
2141
|
-
|
|
2142
|
-
|
|
2141
|
+
ie[r === "liquid-glass" ? "q" : ""],
|
|
2142
|
+
ie.m
|
|
2143
2143
|
),
|
|
2144
|
-
children: t.map((i) => /* @__PURE__ */ l.jsx("div", { className:
|
|
2144
|
+
children: t.map((i) => /* @__PURE__ */ l.jsx("div", { className: ie.g, children: i.items.map((c, d) => /* @__PURE__ */ l.jsxs(
|
|
2145
2145
|
"div",
|
|
2146
2146
|
{
|
|
2147
|
-
className:
|
|
2147
|
+
className: ie.i,
|
|
2148
2148
|
onClick: () => {
|
|
2149
2149
|
c.link && s(c.link), c.page && o(c.page), c.callback && c.callback();
|
|
2150
2150
|
},
|
|
2151
2151
|
children: [
|
|
2152
|
-
/* @__PURE__ */ l.jsxs("div", { className:
|
|
2152
|
+
/* @__PURE__ */ l.jsxs("div", { className: ie.c, children: [
|
|
2153
2153
|
/* @__PURE__ */ l.jsx(
|
|
2154
2154
|
"span",
|
|
2155
2155
|
{
|
|
2156
|
-
className:
|
|
2156
|
+
className: ie.l,
|
|
2157
2157
|
style: { background: c.color },
|
|
2158
2158
|
children: c.icon
|
|
2159
2159
|
}
|
|
2160
2160
|
),
|
|
2161
2161
|
c.title,
|
|
2162
|
-
c.count && /* @__PURE__ */ l.jsx("span", { className:
|
|
2162
|
+
c.count && /* @__PURE__ */ l.jsx("span", { className: ie.n, children: c.count })
|
|
2163
2163
|
] }),
|
|
2164
|
-
/* @__PURE__ */ l.jsx("span", { className:
|
|
2164
|
+
/* @__PURE__ */ l.jsx("span", { className: ie.a, children: "›" })
|
|
2165
2165
|
]
|
|
2166
2166
|
},
|
|
2167
|
-
|
|
2167
|
+
d
|
|
2168
2168
|
)) }, i.id))
|
|
2169
2169
|
}
|
|
2170
2170
|
);
|
|
@@ -2185,27 +2185,27 @@ function Mn({
|
|
|
2185
2185
|
title: s,
|
|
2186
2186
|
className: i,
|
|
2187
2187
|
view: c = "list",
|
|
2188
|
-
position:
|
|
2188
|
+
position: d = "left",
|
|
2189
2189
|
name: p = "default"
|
|
2190
2190
|
}) {
|
|
2191
|
-
const [
|
|
2191
|
+
const [f, h] = T(!1), [g, b] = T(
|
|
2192
2192
|
null
|
|
2193
2193
|
);
|
|
2194
2194
|
W(() => {
|
|
2195
2195
|
let A = document.querySelector(".p_sb");
|
|
2196
|
-
return A || (A = document.createElement("div"), A.className = "_p_sb", document.body.appendChild(A)), b(A), ut[p] = (B) =>
|
|
2196
|
+
return A || (A = document.createElement("div"), A.className = "_p_sb", document.body.appendChild(A)), b(A), ut[p] = (B) => h(B), () => {
|
|
2197
2197
|
A && A.parentNode && A.parentNode.removeChild(A);
|
|
2198
2198
|
};
|
|
2199
2199
|
}, []);
|
|
2200
|
-
const
|
|
2201
|
-
|
|
2200
|
+
const _ = /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
|
|
2201
|
+
f && /* @__PURE__ */ l.jsx("div", { className: oe.o, onClick: () => h(!1) }),
|
|
2202
2202
|
/* @__PURE__ */ l.jsxs(
|
|
2203
2203
|
"div",
|
|
2204
2204
|
{
|
|
2205
2205
|
className: Z(
|
|
2206
2206
|
oe.m,
|
|
2207
|
-
|
|
2208
|
-
|
|
2207
|
+
d === "left" ? oe.l : oe.r,
|
|
2208
|
+
f && oe.x,
|
|
2209
2209
|
i
|
|
2210
2210
|
),
|
|
2211
2211
|
children: [
|
|
@@ -2214,7 +2214,7 @@ function Mn({
|
|
|
2214
2214
|
/* @__PURE__ */ l.jsxs(
|
|
2215
2215
|
"svg",
|
|
2216
2216
|
{
|
|
2217
|
-
onClick: () =>
|
|
2217
|
+
onClick: () => h(!1),
|
|
2218
2218
|
fill: "none",
|
|
2219
2219
|
stroke: "currentColor",
|
|
2220
2220
|
strokeLinecap: "round",
|
|
@@ -2241,13 +2241,13 @@ function Mn({
|
|
|
2241
2241
|
r && /* @__PURE__ */ l.jsx(
|
|
2242
2242
|
"div",
|
|
2243
2243
|
{
|
|
2244
|
-
onClick: () =>
|
|
2244
|
+
onClick: () => h(!0),
|
|
2245
2245
|
className: "bage",
|
|
2246
2246
|
"data-count": o,
|
|
2247
2247
|
children: r
|
|
2248
2248
|
}
|
|
2249
2249
|
),
|
|
2250
|
-
|
|
2250
|
+
g && dr(_, g)
|
|
2251
2251
|
] });
|
|
2252
2252
|
}
|
|
2253
2253
|
const Bn = (t, r) => {
|
|
@@ -2262,12 +2262,12 @@ const Bn = (t, r) => {
|
|
|
2262
2262
|
a: Wn,
|
|
2263
2263
|
draw: qn,
|
|
2264
2264
|
scaleToggleVar: Yn
|
|
2265
|
-
},
|
|
2266
|
-
b:
|
|
2265
|
+
}, zn = "_b_r6m8n_1", Vn = {
|
|
2266
|
+
b: zn
|
|
2267
2267
|
}, Jn = ({ className: t, value: r }) => /* @__PURE__ */ l.jsx(
|
|
2268
2268
|
"div",
|
|
2269
2269
|
{
|
|
2270
|
-
className: [
|
|
2270
|
+
className: [Vn.b, t].filter((o) => o !== void 0).join(" "),
|
|
2271
2271
|
children: r
|
|
2272
2272
|
}
|
|
2273
2273
|
), Hn = (t, r) => t.findIndex((o) => (o == null ? void 0 : o.page) === r), Kn = ({
|
|
@@ -2277,11 +2277,11 @@ const Bn = (t, r) => {
|
|
|
2277
2277
|
actual: s,
|
|
2278
2278
|
toHide: i = !1,
|
|
2279
2279
|
page: c,
|
|
2280
|
-
style:
|
|
2280
|
+
style: d = "default",
|
|
2281
2281
|
onPageChange: p,
|
|
2282
|
-
direction:
|
|
2282
|
+
direction: f = "row"
|
|
2283
2283
|
}) => {
|
|
2284
|
-
const [
|
|
2284
|
+
const [h, g] = C.useState(null), [b, _] = C.useState(
|
|
2285
2285
|
c ? Hn(t || [], c) : 0
|
|
2286
2286
|
), [A, B] = C.useState(
|
|
2287
2287
|
"right"
|
|
@@ -2321,18 +2321,18 @@ const Bn = (t, r) => {
|
|
|
2321
2321
|
x.current && clearTimeout(x.current);
|
|
2322
2322
|
}, []);
|
|
2323
2323
|
const Q = {};
|
|
2324
|
-
return
|
|
2325
|
-
|
|
2324
|
+
return d === "liquid-glass" && (Q.onMouseDown = xe, Q.onMouseUp = Ae, Q.onTouchStart = xe, Q.onTouchEnd = Ae), /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
|
|
2325
|
+
h,
|
|
2326
2326
|
/* @__PURE__ */ l.jsxs(
|
|
2327
2327
|
"footer",
|
|
2328
2328
|
{
|
|
2329
2329
|
"data-direction": A,
|
|
2330
|
-
"data-style":
|
|
2330
|
+
"data-style": d,
|
|
2331
2331
|
"data-scale": Te ? "true" : "false",
|
|
2332
2332
|
...Q,
|
|
2333
2333
|
className: Z(
|
|
2334
2334
|
Pe.h,
|
|
2335
|
-
Pe[
|
|
2335
|
+
Pe[f === "row" ? "r" : "c"],
|
|
2336
2336
|
o
|
|
2337
2337
|
),
|
|
2338
2338
|
children: [
|
|
@@ -2342,9 +2342,9 @@ const Bn = (t, r) => {
|
|
|
2342
2342
|
{
|
|
2343
2343
|
actions: t,
|
|
2344
2344
|
activeIndex: b,
|
|
2345
|
-
setActiveIndex:
|
|
2345
|
+
setActiveIndex: _,
|
|
2346
2346
|
onPageChange: p,
|
|
2347
|
-
setComponent:
|
|
2347
|
+
setComponent: g,
|
|
2348
2348
|
actual: s
|
|
2349
2349
|
}
|
|
2350
2350
|
)
|
|
@@ -2360,17 +2360,17 @@ const Bn = (t, r) => {
|
|
|
2360
2360
|
setComponent: i,
|
|
2361
2361
|
actual: c
|
|
2362
2362
|
}) => /* @__PURE__ */ l.jsxs("div", { className: Pe.b, children: [
|
|
2363
|
-
t.map((
|
|
2363
|
+
t.map((d, p) => /* @__PURE__ */ l.jsxs(
|
|
2364
2364
|
"div",
|
|
2365
2365
|
{
|
|
2366
2366
|
"data-active": r === p ? "true" : "false",
|
|
2367
2367
|
onClick: () => {
|
|
2368
|
-
|
|
2368
|
+
d.page && (o(p), s == null || s(d.page)), d.onClick && d.onClick(() => o(p)), d.component && (r === p || (i(d.component), o(p)));
|
|
2369
2369
|
},
|
|
2370
2370
|
children: [
|
|
2371
|
-
|
|
2372
|
-
|
|
2373
|
-
|
|
2371
|
+
d.icon,
|
|
2372
|
+
d.title && /* @__PURE__ */ l.jsx("span", { children: d.title }),
|
|
2373
|
+
d.badge && /* @__PURE__ */ l.jsx(Jn, { value: d.badge })
|
|
2374
2374
|
]
|
|
2375
2375
|
},
|
|
2376
2376
|
p
|
|
@@ -2390,7 +2390,7 @@ const Bn = (t, r) => {
|
|
|
2390
2390
|
v: Zn,
|
|
2391
2391
|
s: Qn,
|
|
2392
2392
|
n: eo
|
|
2393
|
-
},
|
|
2393
|
+
}, Vt = {};
|
|
2394
2394
|
function to({
|
|
2395
2395
|
children: t,
|
|
2396
2396
|
name: r,
|
|
@@ -2399,34 +2399,34 @@ function to({
|
|
|
2399
2399
|
isScroll: i = !0,
|
|
2400
2400
|
nextBackButton: c
|
|
2401
2401
|
}) {
|
|
2402
|
-
const [
|
|
2402
|
+
const [d, p] = T(!1);
|
|
2403
2403
|
return W(() => {
|
|
2404
2404
|
if (!s) return;
|
|
2405
|
-
const
|
|
2405
|
+
const f = c === void 0 ? Eo().pop() : c, h = () => {
|
|
2406
2406
|
p(!1), setTimeout(() => {
|
|
2407
|
-
rr(
|
|
2407
|
+
rr(f || !1), o == null || o();
|
|
2408
2408
|
}, 300);
|
|
2409
2409
|
};
|
|
2410
|
-
|
|
2411
|
-
onClose:
|
|
2410
|
+
Vt[r] = {
|
|
2411
|
+
onClose: h,
|
|
2412
2412
|
onOpen: () => {
|
|
2413
2413
|
p(!0);
|
|
2414
2414
|
}
|
|
2415
2415
|
}, rr({
|
|
2416
|
-
callback:
|
|
2416
|
+
callback: h
|
|
2417
2417
|
});
|
|
2418
|
-
const
|
|
2418
|
+
const g = setTimeout(() => {
|
|
2419
2419
|
p(!0);
|
|
2420
2420
|
}, 10);
|
|
2421
2421
|
return () => {
|
|
2422
|
-
clearTimeout(
|
|
2422
|
+
clearTimeout(g);
|
|
2423
2423
|
};
|
|
2424
2424
|
}, [s]), s ? /* @__PURE__ */ l.jsxs(
|
|
2425
2425
|
"div",
|
|
2426
2426
|
{
|
|
2427
2427
|
className: Z(
|
|
2428
2428
|
it.w,
|
|
2429
|
-
|
|
2429
|
+
d && it.v,
|
|
2430
2430
|
i && it.s
|
|
2431
2431
|
),
|
|
2432
2432
|
children: [
|
|
@@ -2438,7 +2438,7 @@ function to({
|
|
|
2438
2438
|
}
|
|
2439
2439
|
const ro = (t, r) => {
|
|
2440
2440
|
var o, s;
|
|
2441
|
-
r ? (o =
|
|
2441
|
+
r ? (o = Vt[t]) == null || o.onOpen() : (s = Vt[t]) == null || s.onClose();
|
|
2442
2442
|
}, no = "_s_q79m4_3", oo = "_n_q79m4_14", ao = "_b_q79m4_19", so = "_f_q79m4_29", ct = {
|
|
2443
2443
|
s: no,
|
|
2444
2444
|
n: oo,
|
|
@@ -2452,27 +2452,27 @@ function io({
|
|
|
2452
2452
|
offset: s = 100,
|
|
2453
2453
|
isLoading: i,
|
|
2454
2454
|
fullscreen: c = !1,
|
|
2455
|
-
isScrollBar:
|
|
2455
|
+
isScrollBar: d = !1
|
|
2456
2456
|
}) {
|
|
2457
|
-
const [p,
|
|
2457
|
+
const [p, f] = T(i || !1);
|
|
2458
2458
|
W(() => {
|
|
2459
|
-
|
|
2459
|
+
f(i || !1);
|
|
2460
2460
|
}, [i]);
|
|
2461
|
-
let
|
|
2462
|
-
onScroll: (
|
|
2463
|
-
const { scrollTop: b, scrollHeight:
|
|
2464
|
-
b + A >=
|
|
2461
|
+
let h = {
|
|
2462
|
+
onScroll: (g) => {
|
|
2463
|
+
const { scrollTop: b, scrollHeight: _, clientHeight: A } = g.currentTarget;
|
|
2464
|
+
b + A >= _ - s && !p && (f(!0), o == null || o());
|
|
2465
2465
|
}
|
|
2466
2466
|
};
|
|
2467
2467
|
return /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
|
|
2468
|
-
!
|
|
2468
|
+
!d && /* @__PURE__ */ l.jsx("div", { className: ct.b }),
|
|
2469
2469
|
/* @__PURE__ */ l.jsx(
|
|
2470
2470
|
"div",
|
|
2471
2471
|
{
|
|
2472
|
-
...
|
|
2472
|
+
...h,
|
|
2473
2473
|
className: Z(
|
|
2474
2474
|
ct.s,
|
|
2475
|
-
!
|
|
2475
|
+
!d && ct.n,
|
|
2476
2476
|
c && ct.f,
|
|
2477
2477
|
t
|
|
2478
2478
|
),
|
|
@@ -2499,14 +2499,15 @@ function po({
|
|
|
2499
2499
|
s && /* @__PURE__ */ l.jsx("b", { children: s })
|
|
2500
2500
|
] });
|
|
2501
2501
|
}
|
|
2502
|
-
const vo = "
|
|
2503
|
-
|
|
2504
|
-
|
|
2505
|
-
|
|
2502
|
+
const vo = "_q_1wgf4_2", go = "_o_1wgf4_11", ho = "_x_1wgf4_25", mo = "_c_1wgf4_29", bo = "_p_1wgf4_34", yo = "_f_1wgf4_50", _o = "_h_1wgf4_58", Ro = "_b_1wgf4_75", ae = {
|
|
2503
|
+
q: vo,
|
|
2504
|
+
o: go,
|
|
2505
|
+
x: ho,
|
|
2506
|
+
c: mo,
|
|
2506
2507
|
p: bo,
|
|
2507
|
-
f:
|
|
2508
|
-
h:
|
|
2509
|
-
|
|
2508
|
+
f: yo,
|
|
2509
|
+
h: _o,
|
|
2510
|
+
b: Ro
|
|
2510
2511
|
}, K = {}, fr = ({
|
|
2511
2512
|
children: t,
|
|
2512
2513
|
title: r,
|
|
@@ -2514,47 +2515,49 @@ const vo = "_o_mg6bb_2", go = "_x_mg6bb_16", ho = "_c_mg6bb_20", bo = "_p_mg6bb_
|
|
|
2514
2515
|
footer: s = !0,
|
|
2515
2516
|
className: i,
|
|
2516
2517
|
name: c,
|
|
2517
|
-
|
|
2518
|
+
style: d = "default",
|
|
2519
|
+
onOpen: p
|
|
2518
2520
|
}) => {
|
|
2519
|
-
const [
|
|
2521
|
+
const [f, h] = C.useState(!1), [g, b] = C.useState(!1);
|
|
2520
2522
|
return C.useEffect(() => {
|
|
2521
|
-
K[c] = (
|
|
2522
|
-
|
|
2523
|
-
|
|
2523
|
+
K[c] = (_) => {
|
|
2524
|
+
_ ? (b(!1), h(!0), p == null || p(!0)) : (b(!0), p == null || p(!1), setTimeout(() => {
|
|
2525
|
+
h(!1), b(!1);
|
|
2524
2526
|
}, 300));
|
|
2525
2527
|
};
|
|
2526
|
-
}, [c,
|
|
2528
|
+
}, [c, p]), !f && !g ? null : /* @__PURE__ */ l.jsx(
|
|
2527
2529
|
"div",
|
|
2528
2530
|
{
|
|
2529
2531
|
className: Z(
|
|
2530
|
-
|
|
2531
|
-
o
|
|
2532
|
-
|
|
2532
|
+
d === "liquid-glass" && ae.q,
|
|
2533
|
+
ae.o,
|
|
2534
|
+
o && ae.x,
|
|
2535
|
+
g && ae.c
|
|
2533
2536
|
),
|
|
2534
2537
|
onClick: () => {
|
|
2535
|
-
var
|
|
2536
|
-
return (
|
|
2538
|
+
var _;
|
|
2539
|
+
return (_ = K[c]) == null ? void 0 : _.call(K, !1);
|
|
2537
2540
|
},
|
|
2538
2541
|
children: /* @__PURE__ */ l.jsxs(
|
|
2539
2542
|
"div",
|
|
2540
2543
|
{
|
|
2541
2544
|
className: Z(
|
|
2542
|
-
|
|
2543
|
-
g &&
|
|
2544
|
-
s &&
|
|
2545
|
+
ae.p,
|
|
2546
|
+
g && ae.c,
|
|
2547
|
+
s && ae.f,
|
|
2545
2548
|
i
|
|
2546
2549
|
),
|
|
2547
|
-
onClick: (
|
|
2550
|
+
onClick: (_) => _.stopPropagation(),
|
|
2548
2551
|
children: [
|
|
2549
|
-
r && /* @__PURE__ */ l.jsxs("div", { className:
|
|
2552
|
+
r && /* @__PURE__ */ l.jsxs("div", { className: ae.h, children: [
|
|
2550
2553
|
/* @__PURE__ */ l.jsx("h3", { children: r }),
|
|
2551
2554
|
/* @__PURE__ */ l.jsx(
|
|
2552
2555
|
"button",
|
|
2553
2556
|
{
|
|
2554
|
-
className:
|
|
2557
|
+
className: ae.b,
|
|
2555
2558
|
onClick: () => {
|
|
2556
|
-
var
|
|
2557
|
-
return (
|
|
2559
|
+
var _;
|
|
2560
|
+
return (_ = K[c]) == null ? void 0 : _.call(K, !1);
|
|
2558
2561
|
},
|
|
2559
2562
|
children: "✕"
|
|
2560
2563
|
}
|
|
@@ -2566,7 +2569,7 @@ const vo = "_o_mg6bb_2", go = "_x_mg6bb_16", ho = "_c_mg6bb_20", bo = "_p_mg6bb_
|
|
|
2566
2569
|
)
|
|
2567
2570
|
}
|
|
2568
2571
|
);
|
|
2569
|
-
},
|
|
2572
|
+
}, So = (t, r) => {
|
|
2570
2573
|
var o;
|
|
2571
2574
|
(o = K[t]) == null || o.call(K, r);
|
|
2572
2575
|
}, U = {
|
|
@@ -2604,8 +2607,8 @@ var P;
|
|
|
2604
2607
|
}) : s();
|
|
2605
2608
|
}, t.Notice = {
|
|
2606
2609
|
Send: (o, s, i) => {
|
|
2607
|
-
var c,
|
|
2608
|
-
s !== void 0 ? (Se.Send({ type: o, text: s, thema: i }), (c = t.WebApp.HapticFeedback) == null || c.notificationOccurred(o)) : (Se.Send(o), (
|
|
2610
|
+
var c, d;
|
|
2611
|
+
s !== void 0 ? (Se.Send({ type: o, text: s, thema: i }), (c = t.WebApp.HapticFeedback) == null || c.notificationOccurred(o)) : (Se.Send(o), (d = t.WebApp.HapticFeedback) == null || d.notificationOccurred(o.type));
|
|
2609
2612
|
},
|
|
2610
2613
|
Error: (o) => {
|
|
2611
2614
|
var s;
|
|
@@ -2619,7 +2622,7 @@ var P;
|
|
|
2619
2622
|
var s;
|
|
2620
2623
|
Se.Send({ type: "warning", text: o }), (s = t.WebApp.HapticFeedback) == null || s.notificationOccurred("warning");
|
|
2621
2624
|
}
|
|
2622
|
-
}, t.Header = un, t.TabBar = Kn, t.BottomSheet = fr, t.BottomSheetControllerSheet =
|
|
2625
|
+
}, t.Header = un, t.TabBar = Kn, t.BottomSheet = fr, t.BottomSheetControllerSheet = So, t.SafeArea = vn, t.Loading = mn, t.Sidebar = Mn, t.SidePanel = to, t.AppBar = po, t.SideBarController = Bn, t.SidePanelController = ro, t.Scroll = io, t.Modal = Yt, t.Menu = jn, t.MainButton = {
|
|
2623
2626
|
callback: [],
|
|
2624
2627
|
set: (o) => {
|
|
2625
2628
|
ue.is ? ue.MainButton.set(o) : (t.WebApp.MainButton.callback.forEach((s) => {
|
|
@@ -2637,30 +2640,30 @@ var P;
|
|
|
2637
2640
|
ue.is ? ue.BackButton.set(o) : (U.state.push(o), U.router(o));
|
|
2638
2641
|
};
|
|
2639
2642
|
})(P || (P = {}));
|
|
2640
|
-
const
|
|
2643
|
+
const jo = P.TabBar, ko = fr, rr = P.BackButton, wo = P.BackButtonPrev, Eo = P.BackButtonState, Oo = P.Notice, Po = P.SafeArea, Co = P.Loading, To = P.Menu, $o = P.SidePanel, No = P.Scroll, Mo = P.AppBar, Bo = P.Sidebar, Io = P.Location, Lo = P.SidePanelController, Do = P.SideBarController, Uo = P.BottomSheetControllerSheet, { Header: Fo, Modal: Wo, MainButton: qo, WebApp: le, getUser: Yo } = P;
|
|
2641
2644
|
export {
|
|
2642
|
-
|
|
2645
|
+
Mo as AppBar,
|
|
2643
2646
|
rr as BackButton,
|
|
2644
|
-
|
|
2645
|
-
|
|
2646
|
-
|
|
2647
|
-
|
|
2648
|
-
|
|
2649
|
-
|
|
2650
|
-
|
|
2651
|
-
|
|
2652
|
-
|
|
2653
|
-
|
|
2654
|
-
|
|
2655
|
-
|
|
2656
|
-
|
|
2657
|
-
|
|
2658
|
-
|
|
2659
|
-
|
|
2660
|
-
|
|
2661
|
-
|
|
2647
|
+
wo as BackButtonPrev,
|
|
2648
|
+
Eo as BackButtonState,
|
|
2649
|
+
ko as BottomSheet,
|
|
2650
|
+
Uo as BottomSheetControllerSheet,
|
|
2651
|
+
Fo as Header,
|
|
2652
|
+
Co as Loading,
|
|
2653
|
+
Io as Location,
|
|
2654
|
+
qo as MainButton,
|
|
2655
|
+
To as Menu,
|
|
2656
|
+
Wo as Modal,
|
|
2657
|
+
Oo as Notice,
|
|
2658
|
+
Po as SafeArea,
|
|
2659
|
+
No as Scroll,
|
|
2660
|
+
Do as SideBarController,
|
|
2661
|
+
$o as SidePanel,
|
|
2662
|
+
Lo as SidePanelController,
|
|
2663
|
+
Bo as Sidebar,
|
|
2664
|
+
jo as TabBar,
|
|
2662
2665
|
le as WebApp,
|
|
2663
2666
|
Z as clsx,
|
|
2664
2667
|
P as default,
|
|
2665
|
-
|
|
2668
|
+
Yo as getUser
|
|
2666
2669
|
};
|