@elcrm/telegram 0.0.150 → 0.0.152
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/Title/Title.d.ts +5 -0
- package/dist/index.css +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/index.es.js +490 -473
- package/dist/index.umd.js +17 -17
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -14,15 +14,15 @@ var Ht;
|
|
|
14
14
|
function vr() {
|
|
15
15
|
if (Ht) return nt;
|
|
16
16
|
Ht = 1;
|
|
17
|
-
var t = C, r = Symbol.for("react.element"),
|
|
17
|
+
var t = C, r = Symbol.for("react.element"), n = 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
18
|
function d(p, f, g) {
|
|
19
|
-
var h, b = {},
|
|
20
|
-
g !== void 0 && (
|
|
19
|
+
var h, b = {}, y = null, A = null;
|
|
20
|
+
g !== void 0 && (y = "" + g), f.key !== void 0 && (y = "" + f.key), f.ref !== void 0 && (A = f.ref);
|
|
21
21
|
for (h in f) s.call(f, h) && !c.hasOwnProperty(h) && (b[h] = f[h]);
|
|
22
22
|
if (p && p.defaultProps) for (h in f = p.defaultProps, f) b[h] === void 0 && (b[h] = f[h]);
|
|
23
|
-
return { $$typeof: r, type: p, key:
|
|
23
|
+
return { $$typeof: r, type: p, key: y, ref: A, props: b, _owner: i.current };
|
|
24
24
|
}
|
|
25
|
-
return nt.Fragment =
|
|
25
|
+
return nt.Fragment = n, nt.jsx = d, nt.jsxs = d, nt;
|
|
26
26
|
}
|
|
27
27
|
var ot = {};
|
|
28
28
|
/**
|
|
@@ -37,46 +37,46 @@ var ot = {};
|
|
|
37
37
|
var Kt;
|
|
38
38
|
function hr() {
|
|
39
39
|
return Kt || (Kt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
40
|
-
var t = C, r = Symbol.for("react.element"),
|
|
40
|
+
var t = C, r = Symbol.for("react.element"), n = 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"), g = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), b = Symbol.for("react.memo"), y = Symbol.for("react.lazy"), A = Symbol.for("react.offscreen"), B = Symbol.iterator, ee = "@@iterator";
|
|
41
41
|
function Te(e) {
|
|
42
42
|
if (e === null || typeof e != "object")
|
|
43
43
|
return null;
|
|
44
|
-
var
|
|
45
|
-
return typeof
|
|
44
|
+
var o = B && e[B] || e[ee];
|
|
45
|
+
return typeof o == "function" ? o : null;
|
|
46
46
|
}
|
|
47
47
|
var M = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
48
48
|
function x(e) {
|
|
49
49
|
{
|
|
50
|
-
for (var
|
|
50
|
+
for (var o = arguments.length, a = new Array(o > 1 ? o - 1 : 0), u = 1; u < o; u++)
|
|
51
51
|
a[u - 1] = arguments[u];
|
|
52
52
|
Ae("error", e, a);
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
|
-
function Ae(e,
|
|
55
|
+
function Ae(e, o, a) {
|
|
56
56
|
{
|
|
57
|
-
var u = M.ReactDebugCurrentFrame,
|
|
58
|
-
|
|
57
|
+
var u = M.ReactDebugCurrentFrame, _ = u.getStackAddendum();
|
|
58
|
+
_ !== "" && (o += "%s", a = a.concat([_]));
|
|
59
59
|
var R = a.map(function(m) {
|
|
60
60
|
return String(m);
|
|
61
61
|
});
|
|
62
|
-
R.unshift("Warning: " +
|
|
62
|
+
R.unshift("Warning: " + o), Function.prototype.apply.call(console[e], console, R);
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
65
|
var je = !1, te = !1, V = !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 === g || e === h || ke || e === A || je || te || V || typeof e == "object" && e !== null && (e.$$typeof ===
|
|
68
|
+
return !!(typeof e == "string" || typeof e == "function" || e === s || e === c || we || e === i || e === g || e === h || ke || e === A || je || te || V || typeof e == "object" && e !== null && (e.$$typeof === y || 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.
|
|
72
72
|
e.$$typeof === $ || e.getModuleId !== void 0));
|
|
73
73
|
}
|
|
74
|
-
function ht(e,
|
|
74
|
+
function ht(e, o, a) {
|
|
75
75
|
var u = e.displayName;
|
|
76
76
|
if (u)
|
|
77
77
|
return u;
|
|
78
|
-
var
|
|
79
|
-
return
|
|
78
|
+
var _ = o.displayName || o.name || "";
|
|
79
|
+
return _ !== "" ? a + "(" + _ + ")" : a;
|
|
80
80
|
}
|
|
81
81
|
function $e(e) {
|
|
82
82
|
return e.displayName || "Context";
|
|
@@ -91,7 +91,7 @@ function hr() {
|
|
|
91
91
|
switch (e) {
|
|
92
92
|
case s:
|
|
93
93
|
return "Fragment";
|
|
94
|
-
case
|
|
94
|
+
case n:
|
|
95
95
|
return "Portal";
|
|
96
96
|
case c:
|
|
97
97
|
return "Profiler";
|
|
@@ -105,8 +105,8 @@ function hr() {
|
|
|
105
105
|
if (typeof e == "object")
|
|
106
106
|
switch (e.$$typeof) {
|
|
107
107
|
case p:
|
|
108
|
-
var
|
|
109
|
-
return $e(
|
|
108
|
+
var o = e;
|
|
109
|
+
return $e(o) + ".Consumer";
|
|
110
110
|
case d:
|
|
111
111
|
var a = e;
|
|
112
112
|
return $e(a._context) + ".Provider";
|
|
@@ -115,8 +115,8 @@ function hr() {
|
|
|
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
|
|
118
|
+
case y: {
|
|
119
|
+
var _ = e, R = _._payload, m = _._init;
|
|
120
120
|
try {
|
|
121
121
|
return N(m(R));
|
|
122
122
|
} catch {
|
|
@@ -189,13 +189,13 @@ function hr() {
|
|
|
189
189
|
}
|
|
190
190
|
}
|
|
191
191
|
var ve = M.ReactCurrentDispatcher, he;
|
|
192
|
-
function re(e,
|
|
192
|
+
function re(e, o, a) {
|
|
193
193
|
{
|
|
194
194
|
if (he === void 0)
|
|
195
195
|
try {
|
|
196
196
|
throw Error();
|
|
197
|
-
} catch (
|
|
198
|
-
var u =
|
|
197
|
+
} catch (_) {
|
|
198
|
+
var u = _.stack.trim().match(/\n( *(at )?)/);
|
|
199
199
|
he = u && u[1] || "";
|
|
200
200
|
}
|
|
201
201
|
return `
|
|
@@ -207,7 +207,7 @@ function hr() {
|
|
|
207
207
|
var bt = typeof WeakMap == "function" ? WeakMap : Map;
|
|
208
208
|
ne = new bt();
|
|
209
209
|
}
|
|
210
|
-
function We(e,
|
|
210
|
+
function We(e, o) {
|
|
211
211
|
if (!e || ge)
|
|
212
212
|
return "";
|
|
213
213
|
{
|
|
@@ -217,12 +217,12 @@ function hr() {
|
|
|
217
217
|
}
|
|
218
218
|
var u;
|
|
219
219
|
ge = !0;
|
|
220
|
-
var
|
|
220
|
+
var _ = Error.prepareStackTrace;
|
|
221
221
|
Error.prepareStackTrace = void 0;
|
|
222
222
|
var R;
|
|
223
223
|
R = ve.current, ve.current = null, gt();
|
|
224
224
|
try {
|
|
225
|
-
if (
|
|
225
|
+
if (o) {
|
|
226
226
|
var m = function() {
|
|
227
227
|
throw Error();
|
|
228
228
|
};
|
|
@@ -264,28 +264,28 @@ function hr() {
|
|
|
264
264
|
if (S !== 1 || E !== 1)
|
|
265
265
|
do
|
|
266
266
|
if (S--, E--, E < 0 || v[S] !== k[E]) {
|
|
267
|
-
var
|
|
267
|
+
var P = `
|
|
268
268
|
` + v[S].replace(" at new ", " at ");
|
|
269
|
-
return e.displayName &&
|
|
269
|
+
return e.displayName && P.includes("<anonymous>") && (P = P.replace("<anonymous>", e.displayName)), typeof e == "function" && ne.set(e, P), P;
|
|
270
270
|
}
|
|
271
271
|
while (S >= 1 && E >= 0);
|
|
272
272
|
break;
|
|
273
273
|
}
|
|
274
274
|
}
|
|
275
275
|
} finally {
|
|
276
|
-
ge = !1, ve.current = R, mt(), Error.prepareStackTrace =
|
|
276
|
+
ge = !1, ve.current = R, mt(), Error.prepareStackTrace = _;
|
|
277
277
|
}
|
|
278
278
|
var Y = e ? e.displayName || e.name : "", L = Y ? re(Y) : "";
|
|
279
279
|
return typeof e == "function" && ne.set(e, L), L;
|
|
280
280
|
}
|
|
281
|
-
function yt(e,
|
|
281
|
+
function yt(e, o, a) {
|
|
282
282
|
return We(e, !1);
|
|
283
283
|
}
|
|
284
284
|
function _t(e) {
|
|
285
|
-
var
|
|
286
|
-
return !!(
|
|
285
|
+
var o = e.prototype;
|
|
286
|
+
return !!(o && o.isReactComponent);
|
|
287
287
|
}
|
|
288
|
-
function oe(e,
|
|
288
|
+
function oe(e, o, a) {
|
|
289
289
|
if (e == null)
|
|
290
290
|
return "";
|
|
291
291
|
if (typeof e == "function")
|
|
@@ -303,11 +303,11 @@ function hr() {
|
|
|
303
303
|
case f:
|
|
304
304
|
return yt(e.render);
|
|
305
305
|
case b:
|
|
306
|
-
return oe(e.type,
|
|
307
|
-
case
|
|
308
|
-
var u = e,
|
|
306
|
+
return oe(e.type, o, a);
|
|
307
|
+
case y: {
|
|
308
|
+
var u = e, _ = u._payload, R = u._init;
|
|
309
309
|
try {
|
|
310
|
-
return oe(R(
|
|
310
|
+
return oe(R(_), o, a);
|
|
311
311
|
} catch {
|
|
312
312
|
}
|
|
313
313
|
}
|
|
@@ -317,12 +317,12 @@ function hr() {
|
|
|
317
317
|
var H = Object.prototype.hasOwnProperty, qe = {}, Ye = M.ReactDebugCurrentFrame;
|
|
318
318
|
function ae(e) {
|
|
319
319
|
if (e) {
|
|
320
|
-
var
|
|
320
|
+
var o = e._owner, a = oe(e.type, e._source, o ? o.type : null);
|
|
321
321
|
Ye.setExtraStackFrame(a);
|
|
322
322
|
} else
|
|
323
323
|
Ye.setExtraStackFrame(null);
|
|
324
324
|
}
|
|
325
|
-
function Rt(e,
|
|
325
|
+
function Rt(e, o, a, u, _) {
|
|
326
326
|
{
|
|
327
327
|
var R = Function.call.bind(H);
|
|
328
328
|
for (var m in e)
|
|
@@ -333,11 +333,11 @@ function hr() {
|
|
|
333
333
|
var k = Error((u || "React class") + ": " + a + " type `" + m + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[m] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
334
334
|
throw k.name = "Invariant Violation", k;
|
|
335
335
|
}
|
|
336
|
-
v = e[m](
|
|
336
|
+
v = e[m](o, m, u, a, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
337
337
|
} catch (S) {
|
|
338
338
|
v = S;
|
|
339
339
|
}
|
|
340
|
-
v && !(v instanceof Error) && (ae(
|
|
340
|
+
v && !(v instanceof Error) && (ae(_), x("%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).", u || "React class", a, m, typeof v), ae(null)), v instanceof Error && !(v.message in qe) && (qe[v.message] = !0, ae(_), x("Failed %s type: %s", a, v.message), ae(null));
|
|
341
341
|
}
|
|
342
342
|
}
|
|
343
343
|
}
|
|
@@ -347,7 +347,7 @@ function hr() {
|
|
|
347
347
|
}
|
|
348
348
|
function Et(e) {
|
|
349
349
|
{
|
|
350
|
-
var
|
|
350
|
+
var o = typeof Symbol == "function" && Symbol.toStringTag, a = o && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
351
351
|
return a;
|
|
352
352
|
}
|
|
353
353
|
}
|
|
@@ -373,27 +373,27 @@ function hr() {
|
|
|
373
373
|
}, He, Ke;
|
|
374
374
|
function jt(e) {
|
|
375
375
|
if (H.call(e, "ref")) {
|
|
376
|
-
var
|
|
377
|
-
if (
|
|
376
|
+
var o = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
377
|
+
if (o && o.isReactWarning)
|
|
378
378
|
return !1;
|
|
379
379
|
}
|
|
380
380
|
return e.ref !== void 0;
|
|
381
381
|
}
|
|
382
382
|
function kt(e) {
|
|
383
383
|
if (H.call(e, "key")) {
|
|
384
|
-
var
|
|
385
|
-
if (
|
|
384
|
+
var o = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
385
|
+
if (o && o.isReactWarning)
|
|
386
386
|
return !1;
|
|
387
387
|
}
|
|
388
388
|
return e.key !== void 0;
|
|
389
389
|
}
|
|
390
|
-
function wt(e,
|
|
390
|
+
function wt(e, o) {
|
|
391
391
|
typeof e.ref == "string" && Je.current;
|
|
392
392
|
}
|
|
393
|
-
function Ot(e,
|
|
393
|
+
function Ot(e, o) {
|
|
394
394
|
{
|
|
395
395
|
var a = function() {
|
|
396
|
-
He || (He = !0, x("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",
|
|
396
|
+
He || (He = !0, x("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", o));
|
|
397
397
|
};
|
|
398
398
|
a.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
399
399
|
get: a,
|
|
@@ -401,10 +401,10 @@ function hr() {
|
|
|
401
401
|
});
|
|
402
402
|
}
|
|
403
403
|
}
|
|
404
|
-
function Pt(e,
|
|
404
|
+
function Pt(e, o) {
|
|
405
405
|
{
|
|
406
406
|
var a = function() {
|
|
407
|
-
Ke || (Ke = !0, x("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",
|
|
407
|
+
Ke || (Ke = !0, x("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", o));
|
|
408
408
|
};
|
|
409
409
|
a.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
410
410
|
get: a,
|
|
@@ -412,13 +412,13 @@ function hr() {
|
|
|
412
412
|
});
|
|
413
413
|
}
|
|
414
414
|
}
|
|
415
|
-
var Ct = function(e,
|
|
415
|
+
var Ct = function(e, o, a, u, _, R, m) {
|
|
416
416
|
var v = {
|
|
417
417
|
// This tag allows us to uniquely identify this as a React Element
|
|
418
418
|
$$typeof: r,
|
|
419
419
|
// Built-in properties that belong on the element
|
|
420
420
|
type: e,
|
|
421
|
-
key:
|
|
421
|
+
key: o,
|
|
422
422
|
ref: a,
|
|
423
423
|
props: m,
|
|
424
424
|
// Record the component responsible for creating this element.
|
|
@@ -438,15 +438,15 @@ function hr() {
|
|
|
438
438
|
configurable: !1,
|
|
439
439
|
enumerable: !1,
|
|
440
440
|
writable: !1,
|
|
441
|
-
value:
|
|
441
|
+
value: _
|
|
442
442
|
}), Object.freeze && (Object.freeze(v.props), Object.freeze(v)), v;
|
|
443
443
|
};
|
|
444
|
-
function Tt(e,
|
|
444
|
+
function Tt(e, o, a, u, _) {
|
|
445
445
|
{
|
|
446
446
|
var R, m = {}, v = null, k = null;
|
|
447
|
-
a !== void 0 && (Ve(a), v = "" + a), kt(
|
|
448
|
-
for (R in
|
|
449
|
-
H.call(
|
|
447
|
+
a !== void 0 && (Ve(a), v = "" + a), kt(o) && (Ve(o.key), v = "" + o.key), jt(o) && (k = o.ref, wt(o, _));
|
|
448
|
+
for (R in o)
|
|
449
|
+
H.call(o, R) && !At.hasOwnProperty(R) && (m[R] = o[R]);
|
|
450
450
|
if (e && e.defaultProps) {
|
|
451
451
|
var S = e.defaultProps;
|
|
452
452
|
for (R in S)
|
|
@@ -456,13 +456,13 @@ function hr() {
|
|
|
456
456
|
var E = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
457
457
|
v && Ot(m, E), k && Pt(m, E);
|
|
458
458
|
}
|
|
459
|
-
return Ct(e, v, k,
|
|
459
|
+
return Ct(e, v, k, _, u, Je.current, m);
|
|
460
460
|
}
|
|
461
461
|
}
|
|
462
462
|
var be = M.ReactCurrentOwner, Ge = M.ReactDebugCurrentFrame;
|
|
463
463
|
function q(e) {
|
|
464
464
|
if (e) {
|
|
465
|
-
var
|
|
465
|
+
var o = e._owner, a = oe(e.type, e._source, o ? o.type : null);
|
|
466
466
|
Ge.setExtraStackFrame(a);
|
|
467
467
|
} else
|
|
468
468
|
Ge.setExtraStackFrame(null);
|
|
@@ -490,22 +490,22 @@ Check the render method of \`` + e + "`.";
|
|
|
490
490
|
var Ze = {};
|
|
491
491
|
function Nt(e) {
|
|
492
492
|
{
|
|
493
|
-
var
|
|
494
|
-
if (!
|
|
493
|
+
var o = Xe();
|
|
494
|
+
if (!o) {
|
|
495
495
|
var a = typeof e == "string" ? e : e.displayName || e.name;
|
|
496
|
-
a && (
|
|
496
|
+
a && (o = `
|
|
497
497
|
|
|
498
498
|
Check the top-level render call using <` + a + ">.");
|
|
499
499
|
}
|
|
500
|
-
return
|
|
500
|
+
return o;
|
|
501
501
|
}
|
|
502
502
|
}
|
|
503
|
-
function Qe(e,
|
|
503
|
+
function Qe(e, o) {
|
|
504
504
|
{
|
|
505
505
|
if (!e._store || e._store.validated || e.key != null)
|
|
506
506
|
return;
|
|
507
507
|
e._store.validated = !0;
|
|
508
|
-
var a = Nt(
|
|
508
|
+
var a = Nt(o);
|
|
509
509
|
if (Ze[a])
|
|
510
510
|
return;
|
|
511
511
|
Ze[a] = !0;
|
|
@@ -513,54 +513,54 @@ Check the top-level render call using <` + a + ">.");
|
|
|
513
513
|
e && e._owner && e._owner !== be.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
|
-
function et(e,
|
|
516
|
+
function et(e, o) {
|
|
517
517
|
{
|
|
518
518
|
if (typeof e != "object")
|
|
519
519
|
return;
|
|
520
520
|
if (me(e))
|
|
521
521
|
for (var a = 0; a < e.length; a++) {
|
|
522
522
|
var u = e[a];
|
|
523
|
-
_e(u) && Qe(u,
|
|
523
|
+
_e(u) && Qe(u, o);
|
|
524
524
|
}
|
|
525
525
|
else if (_e(e))
|
|
526
526
|
e._store && (e._store.validated = !0);
|
|
527
527
|
else if (e) {
|
|
528
|
-
var
|
|
529
|
-
if (typeof
|
|
530
|
-
for (var R =
|
|
531
|
-
_e(m.value) && Qe(m.value,
|
|
528
|
+
var _ = Te(e);
|
|
529
|
+
if (typeof _ == "function" && _ !== e.entries)
|
|
530
|
+
for (var R = _.call(e), m; !(m = R.next()).done; )
|
|
531
|
+
_e(m.value) && Qe(m.value, o);
|
|
532
532
|
}
|
|
533
533
|
}
|
|
534
534
|
}
|
|
535
535
|
function Mt(e) {
|
|
536
536
|
{
|
|
537
|
-
var
|
|
538
|
-
if (
|
|
537
|
+
var o = e.type;
|
|
538
|
+
if (o == null || typeof o == "string")
|
|
539
539
|
return;
|
|
540
540
|
var a;
|
|
541
|
-
if (typeof
|
|
542
|
-
a =
|
|
543
|
-
else if (typeof
|
|
541
|
+
if (typeof o == "function")
|
|
542
|
+
a = o.propTypes;
|
|
543
|
+
else if (typeof o == "object" && (o.$$typeof === f || // Note: Memo only checks outer props here.
|
|
544
544
|
// Inner props are checked in the reconciler.
|
|
545
|
-
|
|
546
|
-
a =
|
|
545
|
+
o.$$typeof === b))
|
|
546
|
+
a = o.propTypes;
|
|
547
547
|
else
|
|
548
548
|
return;
|
|
549
549
|
if (a) {
|
|
550
|
-
var u = N(
|
|
550
|
+
var u = N(o);
|
|
551
551
|
Rt(a, e.props, "prop", u, e);
|
|
552
|
-
} else if (
|
|
552
|
+
} else if (o.PropTypes !== void 0 && !ye) {
|
|
553
553
|
ye = !0;
|
|
554
|
-
var
|
|
555
|
-
x("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",
|
|
554
|
+
var _ = N(o);
|
|
555
|
+
x("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", _ || "Unknown");
|
|
556
556
|
}
|
|
557
|
-
typeof
|
|
557
|
+
typeof o.getDefaultProps == "function" && !o.getDefaultProps.isReactClassApproved && x("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
558
558
|
}
|
|
559
559
|
}
|
|
560
560
|
function Bt(e) {
|
|
561
561
|
{
|
|
562
|
-
for (var
|
|
563
|
-
var u =
|
|
562
|
+
for (var o = Object.keys(e.props), a = 0; a < o.length; a++) {
|
|
563
|
+
var u = o[a];
|
|
564
564
|
if (u !== "children" && u !== "key") {
|
|
565
565
|
q(e), x("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", u), q(null);
|
|
566
566
|
break;
|
|
@@ -570,7 +570,7 @@ Check the top-level render call using <` + a + ">.");
|
|
|
570
570
|
}
|
|
571
571
|
}
|
|
572
572
|
var tt = {};
|
|
573
|
-
function rt(e,
|
|
573
|
+
function rt(e, o, a, u, _, R) {
|
|
574
574
|
{
|
|
575
575
|
var m = vt(e);
|
|
576
576
|
if (!m) {
|
|
@@ -581,24 +581,24 @@ Check the top-level render call using <` + a + ">.");
|
|
|
581
581
|
var S;
|
|
582
582
|
e === null ? S = "null" : me(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,
|
|
584
|
+
var E = Tt(e, o, a, _, R);
|
|
585
585
|
if (E == null)
|
|
586
586
|
return E;
|
|
587
587
|
if (m) {
|
|
588
|
-
var
|
|
589
|
-
if (
|
|
588
|
+
var P = o.children;
|
|
589
|
+
if (P !== void 0)
|
|
590
590
|
if (u)
|
|
591
|
-
if (me(
|
|
592
|
-
for (var Y = 0; Y <
|
|
593
|
-
et(
|
|
594
|
-
Object.freeze && Object.freeze(
|
|
591
|
+
if (me(P)) {
|
|
592
|
+
for (var Y = 0; Y < P.length; Y++)
|
|
593
|
+
et(P[Y], e);
|
|
594
|
+
Object.freeze && Object.freeze(P);
|
|
595
595
|
} else
|
|
596
596
|
x("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
597
597
|
else
|
|
598
|
-
et(
|
|
598
|
+
et(P, e);
|
|
599
599
|
}
|
|
600
|
-
if (H.call(
|
|
601
|
-
var L = N(e), w = Object.keys(
|
|
600
|
+
if (H.call(o, "key")) {
|
|
601
|
+
var L = N(e), w = Object.keys(o).filter(function(Wt) {
|
|
602
602
|
return Wt !== "key";
|
|
603
603
|
}), Re = w.length > 0 ? "{key: someKey, " + w.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
604
604
|
if (!tt[L + Re]) {
|
|
@@ -614,11 +614,11 @@ React keys must be passed directly to JSX without using spread:
|
|
|
614
614
|
return e === s ? Bt(E) : Mt(E), E;
|
|
615
615
|
}
|
|
616
616
|
}
|
|
617
|
-
function It(e,
|
|
618
|
-
return rt(e,
|
|
617
|
+
function It(e, o, a) {
|
|
618
|
+
return rt(e, o, a, !0);
|
|
619
619
|
}
|
|
620
|
-
function Lt(e,
|
|
621
|
-
return rt(e,
|
|
620
|
+
function Lt(e, o, a) {
|
|
621
|
+
return rt(e, o, a, !1);
|
|
622
622
|
}
|
|
623
623
|
var Dt = Lt, Ut = It;
|
|
624
624
|
ot.Fragment = s, ot.jsx = Dt, ot.jsxs = Ut;
|
|
@@ -641,20 +641,20 @@ var Yt;
|
|
|
641
641
|
nameModal: g,
|
|
642
642
|
offsetTop: h
|
|
643
643
|
}) {
|
|
644
|
-
const [b,
|
|
644
|
+
const [b, y] = T(!1), [A, B] = T(!1);
|
|
645
645
|
if (z[g].onClose = () => {
|
|
646
|
-
|
|
647
|
-
|
|
646
|
+
O.BackButton(!1), B(!0), setTimeout(() => {
|
|
647
|
+
y(!1), B(!1), f == null || f(), z.x(g);
|
|
648
648
|
}, 300);
|
|
649
649
|
}, W(() => {
|
|
650
|
-
b ? z[g].onClose() : (
|
|
650
|
+
b ? z[g].onClose() : (O.BackButton({
|
|
651
651
|
callback: () => z[g].onClose()
|
|
652
|
-
}),
|
|
652
|
+
}), y(!0));
|
|
653
653
|
}, []), !!b)
|
|
654
|
-
return /* @__PURE__ */ l.jsx("div", { className:
|
|
654
|
+
return /* @__PURE__ */ l.jsx("div", { className: G(Oe.o, A && Oe.x), children: /* @__PURE__ */ l.jsx(
|
|
655
655
|
"div",
|
|
656
656
|
{
|
|
657
|
-
className:
|
|
657
|
+
className: G(
|
|
658
658
|
Oe.p,
|
|
659
659
|
A && Oe.x,
|
|
660
660
|
h ? Oe.o : Oe.m
|
|
@@ -664,7 +664,7 @@ var Yt;
|
|
|
664
664
|
) });
|
|
665
665
|
}
|
|
666
666
|
t.Content = r;
|
|
667
|
-
function
|
|
667
|
+
function n({
|
|
668
668
|
import_modules: p
|
|
669
669
|
}) {
|
|
670
670
|
let [f, g] = T([]);
|
|
@@ -676,7 +676,7 @@ var Yt;
|
|
|
676
676
|
g([...f, { key: b, item: h }]);
|
|
677
677
|
}, /* @__PURE__ */ l.jsx(l.Fragment, { children: f.map((h) => h.item) });
|
|
678
678
|
}
|
|
679
|
-
t.Init =
|
|
679
|
+
t.Init = n;
|
|
680
680
|
function s(p, f, g) {
|
|
681
681
|
z.add(
|
|
682
682
|
/* @__PURE__ */ l.jsx(
|
|
@@ -695,15 +695,15 @@ var Yt;
|
|
|
695
695
|
t.Add = s;
|
|
696
696
|
function i(p, f = Date.now().toString(), g) {
|
|
697
697
|
return z[f] = {}, {
|
|
698
|
-
Open: (
|
|
698
|
+
Open: (y) => {
|
|
699
699
|
t.Add(
|
|
700
700
|
/* @__PURE__ */ l.jsx(
|
|
701
701
|
p,
|
|
702
702
|
{
|
|
703
|
-
...
|
|
703
|
+
...y,
|
|
704
704
|
onCallbackModal: (A) => {
|
|
705
705
|
var B;
|
|
706
|
-
(B =
|
|
706
|
+
(B = y.callback) == null || B.call(y, A);
|
|
707
707
|
},
|
|
708
708
|
nameModal: f
|
|
709
709
|
},
|
|
@@ -722,8 +722,8 @@ var Yt;
|
|
|
722
722
|
t.Close = c;
|
|
723
723
|
function d(p, f, g, h) {
|
|
724
724
|
z.i && (h && (g.callback = h), z.i(`${p}/modals/${f}.tsx`).then((b) => {
|
|
725
|
-
var
|
|
726
|
-
b.Open ? b.Open(g) : (
|
|
725
|
+
var y;
|
|
726
|
+
b.Open ? b.Open(g) : (y = b.default) != null && y.Open ? b.default.Open(g) : b.default && b.default(g);
|
|
727
727
|
}));
|
|
728
728
|
}
|
|
729
729
|
t.Open = d;
|
|
@@ -750,48 +750,48 @@ const dt = (t) => {
|
|
|
750
750
|
r = (r << 5) - r + i, r = r & r;
|
|
751
751
|
}
|
|
752
752
|
r = Math.abs(r);
|
|
753
|
-
let
|
|
753
|
+
let n = "";
|
|
754
754
|
for (let s = 0; s < 64; s++) {
|
|
755
755
|
const i = (r ^ s * 197) & 255;
|
|
756
|
-
|
|
756
|
+
n += i.toString(16).padStart(2, "0");
|
|
757
757
|
}
|
|
758
|
-
return
|
|
758
|
+
return n;
|
|
759
759
|
}, sr = (t, r) => {
|
|
760
|
-
let
|
|
760
|
+
let n = t + r;
|
|
761
761
|
for (let i = 0; i < ft().iterations; i++)
|
|
762
|
-
|
|
762
|
+
n = dt(n);
|
|
763
763
|
const s = new Uint8Array(32);
|
|
764
764
|
for (let i = 0; i < 32; i++)
|
|
765
|
-
s[i] = parseInt(
|
|
765
|
+
s[i] = parseInt(n.substring(i * 2, i * 2 + 2), 16);
|
|
766
766
|
return s;
|
|
767
767
|
}, ir = (t, r) => {
|
|
768
|
-
const
|
|
768
|
+
const n = 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
771
|
const d = c % r.length;
|
|
772
772
|
i = r[d] + c + i & 255, s[c] = i;
|
|
773
773
|
}
|
|
774
774
|
for (let c = 0; c < t.length; c++)
|
|
775
|
-
|
|
776
|
-
return
|
|
775
|
+
n[c] = t[c] ^ s[c];
|
|
776
|
+
return n;
|
|
777
777
|
}, _r = (t) => new TextEncoder().encode(t), Rr = (t) => new TextDecoder().decode(t), Sr = (t) => {
|
|
778
778
|
let r = "";
|
|
779
|
-
for (let
|
|
780
|
-
const s = t.slice(
|
|
779
|
+
for (let n = 0; n < t.length; n += 8192) {
|
|
780
|
+
const s = t.slice(n, Math.min(n + 8192, t.length));
|
|
781
781
|
r += String.fromCharCode.apply(null, Array.from(s));
|
|
782
782
|
}
|
|
783
783
|
return btoa(r);
|
|
784
784
|
}, Er = (t) => {
|
|
785
|
-
const r = atob(t),
|
|
785
|
+
const r = atob(t), n = new Uint8Array(r.length);
|
|
786
786
|
for (let s = 0; s < r.length; s++)
|
|
787
|
-
|
|
788
|
-
return
|
|
787
|
+
n[s] = r.charCodeAt(s);
|
|
788
|
+
return n;
|
|
789
789
|
}, xr = (t) => {
|
|
790
790
|
try {
|
|
791
791
|
const r = dt(
|
|
792
792
|
Date.now().toString() + Math.random()
|
|
793
|
-
).substring(0, ft().saltLength * 2),
|
|
794
|
-
return `${r}.${d}.${
|
|
793
|
+
).substring(0, ft().saltLength * 2), n = dt(t + r).substring(0, 8), s = sr(ft().key, r), i = _r(t), c = ir(i, s), d = Sr(c);
|
|
794
|
+
return `${r}.${d}.${n}`;
|
|
795
795
|
} catch {
|
|
796
796
|
throw new Error("Не удалось зашифровать данные");
|
|
797
797
|
}
|
|
@@ -800,8 +800,8 @@ const dt = (t) => {
|
|
|
800
800
|
const r = t.split(".");
|
|
801
801
|
if (r.length !== 3)
|
|
802
802
|
throw new Error("Неверный формат зашифрованных данных");
|
|
803
|
-
const
|
|
804
|
-
if (dt(f +
|
|
803
|
+
const n = r[0], s = r[1], i = r[2], c = sr(ft().key, n), d = Er(s), p = ir(d, c), f = Rr(p);
|
|
804
|
+
if (dt(f + n).substring(
|
|
805
805
|
0,
|
|
806
806
|
8
|
|
807
807
|
) !== i)
|
|
@@ -817,8 +817,8 @@ var pe;
|
|
|
817
817
|
Gt({ key: r });
|
|
818
818
|
}, t.enCode = (r) => {
|
|
819
819
|
try {
|
|
820
|
-
const
|
|
821
|
-
return xr(
|
|
820
|
+
const n = JSON.stringify(r);
|
|
821
|
+
return xr(n);
|
|
822
822
|
} catch {
|
|
823
823
|
throw new Error("Не удалось зашифровать объект");
|
|
824
824
|
}
|
|
@@ -826,13 +826,13 @@ var pe;
|
|
|
826
826
|
try {
|
|
827
827
|
if (!r || r.length < 10)
|
|
828
828
|
return !1;
|
|
829
|
-
const
|
|
830
|
-
return
|
|
829
|
+
const n = Ar(r);
|
|
830
|
+
return n && JSON.parse(n) || !1;
|
|
831
831
|
} catch {
|
|
832
832
|
return !1;
|
|
833
833
|
}
|
|
834
|
-
}, t.setSecurityParams = (r,
|
|
835
|
-
Gt({ iterations: r, saltLength:
|
|
834
|
+
}, t.setSecurityParams = (r, n) => {
|
|
835
|
+
Gt({ iterations: r, saltLength: n });
|
|
836
836
|
};
|
|
837
837
|
})(pe || (pe = {}));
|
|
838
838
|
var at = {};
|
|
@@ -849,15 +849,15 @@ var Xt;
|
|
|
849
849
|
function jr() {
|
|
850
850
|
if (Xt) return at;
|
|
851
851
|
Xt = 1;
|
|
852
|
-
var t = C, r = Symbol.for("react.element"),
|
|
852
|
+
var t = C, r = Symbol.for("react.element"), n = 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
853
|
function d(p, f, g) {
|
|
854
|
-
var h, b = {},
|
|
855
|
-
g !== void 0 && (
|
|
854
|
+
var h, b = {}, y = null, A = null;
|
|
855
|
+
g !== void 0 && (y = "" + g), f.key !== void 0 && (y = "" + f.key), f.ref !== void 0 && (A = f.ref);
|
|
856
856
|
for (h in f) s.call(f, h) && !c.hasOwnProperty(h) && (b[h] = f[h]);
|
|
857
857
|
if (p && p.defaultProps) for (h in f = p.defaultProps, f) b[h] === void 0 && (b[h] = f[h]);
|
|
858
|
-
return { $$typeof: r, type: p, key:
|
|
858
|
+
return { $$typeof: r, type: p, key: y, ref: A, props: b, _owner: i.current };
|
|
859
859
|
}
|
|
860
|
-
return at.Fragment =
|
|
860
|
+
return at.Fragment = n, at.jsx = d, at.jsxs = d, at;
|
|
861
861
|
}
|
|
862
862
|
var st = {};
|
|
863
863
|
/**
|
|
@@ -872,46 +872,46 @@ var st = {};
|
|
|
872
872
|
var Zt;
|
|
873
873
|
function kr() {
|
|
874
874
|
return Zt || (Zt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
875
|
-
var t = C, r = Symbol.for("react.element"),
|
|
875
|
+
var t = C, r = Symbol.for("react.element"), n = 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"), g = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), b = Symbol.for("react.memo"), y = Symbol.for("react.lazy"), A = Symbol.for("react.offscreen"), B = Symbol.iterator, ee = "@@iterator";
|
|
876
876
|
function Te(e) {
|
|
877
877
|
if (e === null || typeof e != "object")
|
|
878
878
|
return null;
|
|
879
|
-
var
|
|
880
|
-
return typeof
|
|
879
|
+
var o = B && e[B] || e[ee];
|
|
880
|
+
return typeof o == "function" ? o : null;
|
|
881
881
|
}
|
|
882
882
|
var M = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
883
883
|
function x(e) {
|
|
884
884
|
{
|
|
885
|
-
for (var
|
|
885
|
+
for (var o = arguments.length, a = new Array(o > 1 ? o - 1 : 0), u = 1; u < o; u++)
|
|
886
886
|
a[u - 1] = arguments[u];
|
|
887
887
|
Ae("error", e, a);
|
|
888
888
|
}
|
|
889
889
|
}
|
|
890
|
-
function Ae(e,
|
|
890
|
+
function Ae(e, o, a) {
|
|
891
891
|
{
|
|
892
|
-
var u = M.ReactDebugCurrentFrame,
|
|
893
|
-
|
|
892
|
+
var u = M.ReactDebugCurrentFrame, _ = u.getStackAddendum();
|
|
893
|
+
_ !== "" && (o += "%s", a = a.concat([_]));
|
|
894
894
|
var R = a.map(function(m) {
|
|
895
895
|
return String(m);
|
|
896
896
|
});
|
|
897
|
-
R.unshift("Warning: " +
|
|
897
|
+
R.unshift("Warning: " + o), Function.prototype.apply.call(console[e], console, R);
|
|
898
898
|
}
|
|
899
899
|
}
|
|
900
900
|
var je = !1, te = !1, V = !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 === g || e === h || ke || e === A || je || te || V || typeof e == "object" && e !== null && (e.$$typeof ===
|
|
903
|
+
return !!(typeof e == "string" || typeof e == "function" || e === s || e === c || we || e === i || e === g || e === h || ke || e === A || je || te || V || typeof e == "object" && e !== null && (e.$$typeof === y || 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.
|
|
907
907
|
e.$$typeof === $ || e.getModuleId !== void 0));
|
|
908
908
|
}
|
|
909
|
-
function ht(e,
|
|
909
|
+
function ht(e, o, a) {
|
|
910
910
|
var u = e.displayName;
|
|
911
911
|
if (u)
|
|
912
912
|
return u;
|
|
913
|
-
var
|
|
914
|
-
return
|
|
913
|
+
var _ = o.displayName || o.name || "";
|
|
914
|
+
return _ !== "" ? a + "(" + _ + ")" : a;
|
|
915
915
|
}
|
|
916
916
|
function $e(e) {
|
|
917
917
|
return e.displayName || "Context";
|
|
@@ -926,7 +926,7 @@ function kr() {
|
|
|
926
926
|
switch (e) {
|
|
927
927
|
case s:
|
|
928
928
|
return "Fragment";
|
|
929
|
-
case
|
|
929
|
+
case n:
|
|
930
930
|
return "Portal";
|
|
931
931
|
case c:
|
|
932
932
|
return "Profiler";
|
|
@@ -940,8 +940,8 @@ function kr() {
|
|
|
940
940
|
if (typeof e == "object")
|
|
941
941
|
switch (e.$$typeof) {
|
|
942
942
|
case p:
|
|
943
|
-
var
|
|
944
|
-
return $e(
|
|
943
|
+
var o = e;
|
|
944
|
+
return $e(o) + ".Consumer";
|
|
945
945
|
case d:
|
|
946
946
|
var a = e;
|
|
947
947
|
return $e(a._context) + ".Provider";
|
|
@@ -950,8 +950,8 @@ function kr() {
|
|
|
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
|
|
953
|
+
case y: {
|
|
954
|
+
var _ = e, R = _._payload, m = _._init;
|
|
955
955
|
try {
|
|
956
956
|
return N(m(R));
|
|
957
957
|
} catch {
|
|
@@ -1024,13 +1024,13 @@ function kr() {
|
|
|
1024
1024
|
}
|
|
1025
1025
|
}
|
|
1026
1026
|
var ve = M.ReactCurrentDispatcher, he;
|
|
1027
|
-
function re(e,
|
|
1027
|
+
function re(e, o, a) {
|
|
1028
1028
|
{
|
|
1029
1029
|
if (he === void 0)
|
|
1030
1030
|
try {
|
|
1031
1031
|
throw Error();
|
|
1032
|
-
} catch (
|
|
1033
|
-
var u =
|
|
1032
|
+
} catch (_) {
|
|
1033
|
+
var u = _.stack.trim().match(/\n( *(at )?)/);
|
|
1034
1034
|
he = u && u[1] || "";
|
|
1035
1035
|
}
|
|
1036
1036
|
return `
|
|
@@ -1042,7 +1042,7 @@ function kr() {
|
|
|
1042
1042
|
var bt = typeof WeakMap == "function" ? WeakMap : Map;
|
|
1043
1043
|
ne = new bt();
|
|
1044
1044
|
}
|
|
1045
|
-
function We(e,
|
|
1045
|
+
function We(e, o) {
|
|
1046
1046
|
if (!e || ge)
|
|
1047
1047
|
return "";
|
|
1048
1048
|
{
|
|
@@ -1052,12 +1052,12 @@ function kr() {
|
|
|
1052
1052
|
}
|
|
1053
1053
|
var u;
|
|
1054
1054
|
ge = !0;
|
|
1055
|
-
var
|
|
1055
|
+
var _ = Error.prepareStackTrace;
|
|
1056
1056
|
Error.prepareStackTrace = void 0;
|
|
1057
1057
|
var R;
|
|
1058
1058
|
R = ve.current, ve.current = null, gt();
|
|
1059
1059
|
try {
|
|
1060
|
-
if (
|
|
1060
|
+
if (o) {
|
|
1061
1061
|
var m = function() {
|
|
1062
1062
|
throw Error();
|
|
1063
1063
|
};
|
|
@@ -1099,28 +1099,28 @@ function kr() {
|
|
|
1099
1099
|
if (S !== 1 || E !== 1)
|
|
1100
1100
|
do
|
|
1101
1101
|
if (S--, E--, E < 0 || v[S] !== k[E]) {
|
|
1102
|
-
var
|
|
1102
|
+
var P = `
|
|
1103
1103
|
` + v[S].replace(" at new ", " at ");
|
|
1104
|
-
return e.displayName &&
|
|
1104
|
+
return e.displayName && P.includes("<anonymous>") && (P = P.replace("<anonymous>", e.displayName)), typeof e == "function" && ne.set(e, P), P;
|
|
1105
1105
|
}
|
|
1106
1106
|
while (S >= 1 && E >= 0);
|
|
1107
1107
|
break;
|
|
1108
1108
|
}
|
|
1109
1109
|
}
|
|
1110
1110
|
} finally {
|
|
1111
|
-
ge = !1, ve.current = R, mt(), Error.prepareStackTrace =
|
|
1111
|
+
ge = !1, ve.current = R, mt(), Error.prepareStackTrace = _;
|
|
1112
1112
|
}
|
|
1113
1113
|
var Y = e ? e.displayName || e.name : "", L = Y ? re(Y) : "";
|
|
1114
1114
|
return typeof e == "function" && ne.set(e, L), L;
|
|
1115
1115
|
}
|
|
1116
|
-
function yt(e,
|
|
1116
|
+
function yt(e, o, a) {
|
|
1117
1117
|
return We(e, !1);
|
|
1118
1118
|
}
|
|
1119
1119
|
function _t(e) {
|
|
1120
|
-
var
|
|
1121
|
-
return !!(
|
|
1120
|
+
var o = e.prototype;
|
|
1121
|
+
return !!(o && o.isReactComponent);
|
|
1122
1122
|
}
|
|
1123
|
-
function oe(e,
|
|
1123
|
+
function oe(e, o, a) {
|
|
1124
1124
|
if (e == null)
|
|
1125
1125
|
return "";
|
|
1126
1126
|
if (typeof e == "function")
|
|
@@ -1138,11 +1138,11 @@ function kr() {
|
|
|
1138
1138
|
case f:
|
|
1139
1139
|
return yt(e.render);
|
|
1140
1140
|
case b:
|
|
1141
|
-
return oe(e.type,
|
|
1142
|
-
case
|
|
1143
|
-
var u = e,
|
|
1141
|
+
return oe(e.type, o, a);
|
|
1142
|
+
case y: {
|
|
1143
|
+
var u = e, _ = u._payload, R = u._init;
|
|
1144
1144
|
try {
|
|
1145
|
-
return oe(R(
|
|
1145
|
+
return oe(R(_), o, a);
|
|
1146
1146
|
} catch {
|
|
1147
1147
|
}
|
|
1148
1148
|
}
|
|
@@ -1152,12 +1152,12 @@ function kr() {
|
|
|
1152
1152
|
var H = Object.prototype.hasOwnProperty, qe = {}, Ye = M.ReactDebugCurrentFrame;
|
|
1153
1153
|
function ae(e) {
|
|
1154
1154
|
if (e) {
|
|
1155
|
-
var
|
|
1155
|
+
var o = e._owner, a = oe(e.type, e._source, o ? o.type : null);
|
|
1156
1156
|
Ye.setExtraStackFrame(a);
|
|
1157
1157
|
} else
|
|
1158
1158
|
Ye.setExtraStackFrame(null);
|
|
1159
1159
|
}
|
|
1160
|
-
function Rt(e,
|
|
1160
|
+
function Rt(e, o, a, u, _) {
|
|
1161
1161
|
{
|
|
1162
1162
|
var R = Function.call.bind(H);
|
|
1163
1163
|
for (var m in e)
|
|
@@ -1168,11 +1168,11 @@ function kr() {
|
|
|
1168
1168
|
var k = Error((u || "React class") + ": " + a + " type `" + m + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[m] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
1169
1169
|
throw k.name = "Invariant Violation", k;
|
|
1170
1170
|
}
|
|
1171
|
-
v = e[m](
|
|
1171
|
+
v = e[m](o, m, u, a, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
1172
1172
|
} catch (S) {
|
|
1173
1173
|
v = S;
|
|
1174
1174
|
}
|
|
1175
|
-
v && !(v instanceof Error) && (ae(
|
|
1175
|
+
v && !(v instanceof Error) && (ae(_), x("%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).", u || "React class", a, m, typeof v), ae(null)), v instanceof Error && !(v.message in qe) && (qe[v.message] = !0, ae(_), x("Failed %s type: %s", a, v.message), ae(null));
|
|
1176
1176
|
}
|
|
1177
1177
|
}
|
|
1178
1178
|
}
|
|
@@ -1182,7 +1182,7 @@ function kr() {
|
|
|
1182
1182
|
}
|
|
1183
1183
|
function Et(e) {
|
|
1184
1184
|
{
|
|
1185
|
-
var
|
|
1185
|
+
var o = typeof Symbol == "function" && Symbol.toStringTag, a = o && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
1186
1186
|
return a;
|
|
1187
1187
|
}
|
|
1188
1188
|
}
|
|
@@ -1208,27 +1208,27 @@ function kr() {
|
|
|
1208
1208
|
}, He, Ke;
|
|
1209
1209
|
function jt(e) {
|
|
1210
1210
|
if (H.call(e, "ref")) {
|
|
1211
|
-
var
|
|
1212
|
-
if (
|
|
1211
|
+
var o = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
1212
|
+
if (o && o.isReactWarning)
|
|
1213
1213
|
return !1;
|
|
1214
1214
|
}
|
|
1215
1215
|
return e.ref !== void 0;
|
|
1216
1216
|
}
|
|
1217
1217
|
function kt(e) {
|
|
1218
1218
|
if (H.call(e, "key")) {
|
|
1219
|
-
var
|
|
1220
|
-
if (
|
|
1219
|
+
var o = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
1220
|
+
if (o && o.isReactWarning)
|
|
1221
1221
|
return !1;
|
|
1222
1222
|
}
|
|
1223
1223
|
return e.key !== void 0;
|
|
1224
1224
|
}
|
|
1225
|
-
function wt(e,
|
|
1225
|
+
function wt(e, o) {
|
|
1226
1226
|
typeof e.ref == "string" && Je.current;
|
|
1227
1227
|
}
|
|
1228
|
-
function Ot(e,
|
|
1228
|
+
function Ot(e, o) {
|
|
1229
1229
|
{
|
|
1230
1230
|
var a = function() {
|
|
1231
|
-
He || (He = !0, x("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",
|
|
1231
|
+
He || (He = !0, x("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", o));
|
|
1232
1232
|
};
|
|
1233
1233
|
a.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
1234
1234
|
get: a,
|
|
@@ -1236,10 +1236,10 @@ function kr() {
|
|
|
1236
1236
|
});
|
|
1237
1237
|
}
|
|
1238
1238
|
}
|
|
1239
|
-
function Pt(e,
|
|
1239
|
+
function Pt(e, o) {
|
|
1240
1240
|
{
|
|
1241
1241
|
var a = function() {
|
|
1242
|
-
Ke || (Ke = !0, x("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",
|
|
1242
|
+
Ke || (Ke = !0, x("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", o));
|
|
1243
1243
|
};
|
|
1244
1244
|
a.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
1245
1245
|
get: a,
|
|
@@ -1247,13 +1247,13 @@ function kr() {
|
|
|
1247
1247
|
});
|
|
1248
1248
|
}
|
|
1249
1249
|
}
|
|
1250
|
-
var Ct = function(e,
|
|
1250
|
+
var Ct = function(e, o, a, u, _, R, m) {
|
|
1251
1251
|
var v = {
|
|
1252
1252
|
// This tag allows us to uniquely identify this as a React Element
|
|
1253
1253
|
$$typeof: r,
|
|
1254
1254
|
// Built-in properties that belong on the element
|
|
1255
1255
|
type: e,
|
|
1256
|
-
key:
|
|
1256
|
+
key: o,
|
|
1257
1257
|
ref: a,
|
|
1258
1258
|
props: m,
|
|
1259
1259
|
// Record the component responsible for creating this element.
|
|
@@ -1273,15 +1273,15 @@ function kr() {
|
|
|
1273
1273
|
configurable: !1,
|
|
1274
1274
|
enumerable: !1,
|
|
1275
1275
|
writable: !1,
|
|
1276
|
-
value:
|
|
1276
|
+
value: _
|
|
1277
1277
|
}), Object.freeze && (Object.freeze(v.props), Object.freeze(v)), v;
|
|
1278
1278
|
};
|
|
1279
|
-
function Tt(e,
|
|
1279
|
+
function Tt(e, o, a, u, _) {
|
|
1280
1280
|
{
|
|
1281
1281
|
var R, m = {}, v = null, k = null;
|
|
1282
|
-
a !== void 0 && (Ve(a), v = "" + a), kt(
|
|
1283
|
-
for (R in
|
|
1284
|
-
H.call(
|
|
1282
|
+
a !== void 0 && (Ve(a), v = "" + a), kt(o) && (Ve(o.key), v = "" + o.key), jt(o) && (k = o.ref, wt(o));
|
|
1283
|
+
for (R in o)
|
|
1284
|
+
H.call(o, R) && !At.hasOwnProperty(R) && (m[R] = o[R]);
|
|
1285
1285
|
if (e && e.defaultProps) {
|
|
1286
1286
|
var S = e.defaultProps;
|
|
1287
1287
|
for (R in S)
|
|
@@ -1291,13 +1291,13 @@ function kr() {
|
|
|
1291
1291
|
var E = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
1292
1292
|
v && Ot(m, E), k && Pt(m, E);
|
|
1293
1293
|
}
|
|
1294
|
-
return Ct(e, v, k,
|
|
1294
|
+
return Ct(e, v, k, _, u, Je.current, m);
|
|
1295
1295
|
}
|
|
1296
1296
|
}
|
|
1297
1297
|
var be = M.ReactCurrentOwner, Ge = M.ReactDebugCurrentFrame;
|
|
1298
1298
|
function q(e) {
|
|
1299
1299
|
if (e) {
|
|
1300
|
-
var
|
|
1300
|
+
var o = e._owner, a = oe(e.type, e._source, o ? o.type : null);
|
|
1301
1301
|
Ge.setExtraStackFrame(a);
|
|
1302
1302
|
} else
|
|
1303
1303
|
Ge.setExtraStackFrame(null);
|
|
@@ -1325,22 +1325,22 @@ Check the render method of \`` + e + "`.";
|
|
|
1325
1325
|
var Ze = {};
|
|
1326
1326
|
function Nt(e) {
|
|
1327
1327
|
{
|
|
1328
|
-
var
|
|
1329
|
-
if (!
|
|
1328
|
+
var o = Xe();
|
|
1329
|
+
if (!o) {
|
|
1330
1330
|
var a = typeof e == "string" ? e : e.displayName || e.name;
|
|
1331
|
-
a && (
|
|
1331
|
+
a && (o = `
|
|
1332
1332
|
|
|
1333
1333
|
Check the top-level render call using <` + a + ">.");
|
|
1334
1334
|
}
|
|
1335
|
-
return
|
|
1335
|
+
return o;
|
|
1336
1336
|
}
|
|
1337
1337
|
}
|
|
1338
|
-
function Qe(e,
|
|
1338
|
+
function Qe(e, o) {
|
|
1339
1339
|
{
|
|
1340
1340
|
if (!e._store || e._store.validated || e.key != null)
|
|
1341
1341
|
return;
|
|
1342
1342
|
e._store.validated = !0;
|
|
1343
|
-
var a = Nt(
|
|
1343
|
+
var a = Nt(o);
|
|
1344
1344
|
if (Ze[a])
|
|
1345
1345
|
return;
|
|
1346
1346
|
Ze[a] = !0;
|
|
@@ -1348,54 +1348,54 @@ Check the top-level render call using <` + a + ">.");
|
|
|
1348
1348
|
e && e._owner && e._owner !== be.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
|
-
function et(e,
|
|
1351
|
+
function et(e, o) {
|
|
1352
1352
|
{
|
|
1353
1353
|
if (typeof e != "object")
|
|
1354
1354
|
return;
|
|
1355
1355
|
if (me(e))
|
|
1356
1356
|
for (var a = 0; a < e.length; a++) {
|
|
1357
1357
|
var u = e[a];
|
|
1358
|
-
_e(u) && Qe(u,
|
|
1358
|
+
_e(u) && Qe(u, o);
|
|
1359
1359
|
}
|
|
1360
1360
|
else if (_e(e))
|
|
1361
1361
|
e._store && (e._store.validated = !0);
|
|
1362
1362
|
else if (e) {
|
|
1363
|
-
var
|
|
1364
|
-
if (typeof
|
|
1365
|
-
for (var R =
|
|
1366
|
-
_e(m.value) && Qe(m.value,
|
|
1363
|
+
var _ = Te(e);
|
|
1364
|
+
if (typeof _ == "function" && _ !== e.entries)
|
|
1365
|
+
for (var R = _.call(e), m; !(m = R.next()).done; )
|
|
1366
|
+
_e(m.value) && Qe(m.value, o);
|
|
1367
1367
|
}
|
|
1368
1368
|
}
|
|
1369
1369
|
}
|
|
1370
1370
|
function Mt(e) {
|
|
1371
1371
|
{
|
|
1372
|
-
var
|
|
1373
|
-
if (
|
|
1372
|
+
var o = e.type;
|
|
1373
|
+
if (o == null || typeof o == "string")
|
|
1374
1374
|
return;
|
|
1375
1375
|
var a;
|
|
1376
|
-
if (typeof
|
|
1377
|
-
a =
|
|
1378
|
-
else if (typeof
|
|
1376
|
+
if (typeof o == "function")
|
|
1377
|
+
a = o.propTypes;
|
|
1378
|
+
else if (typeof o == "object" && (o.$$typeof === f || // Note: Memo only checks outer props here.
|
|
1379
1379
|
// Inner props are checked in the reconciler.
|
|
1380
|
-
|
|
1381
|
-
a =
|
|
1380
|
+
o.$$typeof === b))
|
|
1381
|
+
a = o.propTypes;
|
|
1382
1382
|
else
|
|
1383
1383
|
return;
|
|
1384
1384
|
if (a) {
|
|
1385
|
-
var u = N(
|
|
1385
|
+
var u = N(o);
|
|
1386
1386
|
Rt(a, e.props, "prop", u, e);
|
|
1387
|
-
} else if (
|
|
1387
|
+
} else if (o.PropTypes !== void 0 && !ye) {
|
|
1388
1388
|
ye = !0;
|
|
1389
|
-
var
|
|
1390
|
-
x("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",
|
|
1389
|
+
var _ = N(o);
|
|
1390
|
+
x("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", _ || "Unknown");
|
|
1391
1391
|
}
|
|
1392
|
-
typeof
|
|
1392
|
+
typeof o.getDefaultProps == "function" && !o.getDefaultProps.isReactClassApproved && x("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
1393
1393
|
}
|
|
1394
1394
|
}
|
|
1395
1395
|
function Bt(e) {
|
|
1396
1396
|
{
|
|
1397
|
-
for (var
|
|
1398
|
-
var u =
|
|
1397
|
+
for (var o = Object.keys(e.props), a = 0; a < o.length; a++) {
|
|
1398
|
+
var u = o[a];
|
|
1399
1399
|
if (u !== "children" && u !== "key") {
|
|
1400
1400
|
q(e), x("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", u), q(null);
|
|
1401
1401
|
break;
|
|
@@ -1405,7 +1405,7 @@ Check the top-level render call using <` + a + ">.");
|
|
|
1405
1405
|
}
|
|
1406
1406
|
}
|
|
1407
1407
|
var tt = {};
|
|
1408
|
-
function rt(e,
|
|
1408
|
+
function rt(e, o, a, u, _, R) {
|
|
1409
1409
|
{
|
|
1410
1410
|
var m = vt(e);
|
|
1411
1411
|
if (!m) {
|
|
@@ -1416,24 +1416,24 @@ Check the top-level render call using <` + a + ">.");
|
|
|
1416
1416
|
var S;
|
|
1417
1417
|
e === null ? S = "null" : me(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,
|
|
1419
|
+
var E = Tt(e, o, a, _, R);
|
|
1420
1420
|
if (E == null)
|
|
1421
1421
|
return E;
|
|
1422
1422
|
if (m) {
|
|
1423
|
-
var
|
|
1424
|
-
if (
|
|
1423
|
+
var P = o.children;
|
|
1424
|
+
if (P !== void 0)
|
|
1425
1425
|
if (u)
|
|
1426
|
-
if (me(
|
|
1427
|
-
for (var Y = 0; Y <
|
|
1428
|
-
et(
|
|
1429
|
-
Object.freeze && Object.freeze(
|
|
1426
|
+
if (me(P)) {
|
|
1427
|
+
for (var Y = 0; Y < P.length; Y++)
|
|
1428
|
+
et(P[Y], e);
|
|
1429
|
+
Object.freeze && Object.freeze(P);
|
|
1430
1430
|
} else
|
|
1431
1431
|
x("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
1432
1432
|
else
|
|
1433
|
-
et(
|
|
1433
|
+
et(P, e);
|
|
1434
1434
|
}
|
|
1435
|
-
if (H.call(
|
|
1436
|
-
var L = N(e), w = Object.keys(
|
|
1435
|
+
if (H.call(o, "key")) {
|
|
1436
|
+
var L = N(e), w = Object.keys(o).filter(function(Wt) {
|
|
1437
1437
|
return Wt !== "key";
|
|
1438
1438
|
}), Re = w.length > 0 ? "{key: someKey, " + w.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
1439
1439
|
if (!tt[L + Re]) {
|
|
@@ -1449,11 +1449,11 @@ React keys must be passed directly to JSX without using spread:
|
|
|
1449
1449
|
return e === s ? Bt(E) : Mt(E), E;
|
|
1450
1450
|
}
|
|
1451
1451
|
}
|
|
1452
|
-
function It(e,
|
|
1453
|
-
return rt(e,
|
|
1452
|
+
function It(e, o, a) {
|
|
1453
|
+
return rt(e, o, a, !0);
|
|
1454
1454
|
}
|
|
1455
|
-
function Lt(e,
|
|
1456
|
-
return rt(e,
|
|
1455
|
+
function Lt(e, o, a) {
|
|
1456
|
+
return rt(e, o, a, !1);
|
|
1457
1457
|
}
|
|
1458
1458
|
var Dt = Lt, Ut = It;
|
|
1459
1459
|
st.Fragment = s, st.jsx = Dt, st.jsxs = Ut;
|
|
@@ -1462,7 +1462,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
1462
1462
|
process.env.NODE_ENV === "production" ? jr() : kr();
|
|
1463
1463
|
const wr = "0.0.46", cr = {
|
|
1464
1464
|
version: wr
|
|
1465
|
-
},
|
|
1465
|
+
}, le = {}, F = {
|
|
1466
1466
|
module: "",
|
|
1467
1467
|
v: cr.version,
|
|
1468
1468
|
page: "Main",
|
|
@@ -1482,19 +1482,19 @@ const wr = "0.0.46", cr = {
|
|
|
1482
1482
|
id: 0
|
|
1483
1483
|
}
|
|
1484
1484
|
};
|
|
1485
|
-
function
|
|
1485
|
+
function Z() {
|
|
1486
1486
|
return typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof self < "u" ? self : typeof global < "u" ? global : {};
|
|
1487
1487
|
}
|
|
1488
|
-
|
|
1489
|
-
Object.assign(
|
|
1490
|
-
function
|
|
1491
|
-
var r,
|
|
1492
|
-
const c =
|
|
1488
|
+
Z().elcrm || (Z().elcrm = {});
|
|
1489
|
+
Object.assign(Z().elcrm, { router: cr.version });
|
|
1490
|
+
function Q(t) {
|
|
1491
|
+
var r, n, s, i;
|
|
1492
|
+
const c = Z();
|
|
1493
1493
|
if (c.ROUTER_PARAMS) {
|
|
1494
1494
|
t.debug || c.ROUTER_PARAMS.debug;
|
|
1495
1495
|
const d = {
|
|
1496
1496
|
page: (r = c.ROUTER_PARAMS) == null ? void 0 : r.page,
|
|
1497
|
-
module: (
|
|
1497
|
+
module: (n = c.ROUTER_PARAMS) == null ? void 0 : n.module,
|
|
1498
1498
|
tab: (s = c.ROUTER_PARAMS) == null ? void 0 : s.tab,
|
|
1499
1499
|
id: (i = c.ROUTER_PARAMS) == null ? void 0 : i.id
|
|
1500
1500
|
};
|
|
@@ -1515,21 +1515,21 @@ function Z(t) {
|
|
|
1515
1515
|
}
|
|
1516
1516
|
}
|
|
1517
1517
|
function j() {
|
|
1518
|
-
return
|
|
1518
|
+
return Z().ROUTER_PARAMS || F;
|
|
1519
1519
|
}
|
|
1520
1520
|
function xe(t) {
|
|
1521
|
-
const r =
|
|
1522
|
-
r.ROUTER_PARAMS || (r.ROUTER_PARAMS = { ...F }), r.ROUTER_PARAMS.LISTENER || (r.ROUTER_PARAMS.LISTENER = {}), Object.keys(t).forEach((
|
|
1523
|
-
r.ROUTER_PARAMS.LISTENER[
|
|
1524
|
-
r.ROUTER_PARAMS.LISTENER[
|
|
1525
|
-
]), r.ROUTER_PARAMS.LISTENER[
|
|
1521
|
+
const r = Z();
|
|
1522
|
+
r.ROUTER_PARAMS || (r.ROUTER_PARAMS = { ...F }), r.ROUTER_PARAMS.LISTENER || (r.ROUTER_PARAMS.LISTENER = {}), Object.keys(t).forEach((n) => {
|
|
1523
|
+
r.ROUTER_PARAMS.LISTENER[n] || (r.ROUTER_PARAMS.LISTENER[n] = []), Array.isArray(r.ROUTER_PARAMS.LISTENER[n]) || (r.ROUTER_PARAMS.LISTENER[n] = [
|
|
1524
|
+
r.ROUTER_PARAMS.LISTENER[n]
|
|
1525
|
+
]), r.ROUTER_PARAMS.LISTENER[n].includes(t[n]) || r.ROUTER_PARAMS.LISTENER[n].push(t[n]);
|
|
1526
1526
|
});
|
|
1527
1527
|
}
|
|
1528
1528
|
function K() {
|
|
1529
1529
|
var t;
|
|
1530
|
-
const r =
|
|
1531
|
-
let
|
|
1532
|
-
return
|
|
1530
|
+
const r = Z();
|
|
1531
|
+
let n = ((t = r.ROUTER_PARAMS) == null ? void 0 : t.LISTENER) || F.LISTENER;
|
|
1532
|
+
return n || (n = {}, r.ROUTER_PARAMS ? r.ROUTER_PARAMS.LISTENER = n : F.LISTENER = n), new Proxy(n, {
|
|
1533
1533
|
get(s, i) {
|
|
1534
1534
|
const c = s[i];
|
|
1535
1535
|
return Array.isArray(c) && c.length > 0 ? (...d) => {
|
|
@@ -1547,16 +1547,16 @@ function K() {
|
|
|
1547
1547
|
});
|
|
1548
1548
|
}
|
|
1549
1549
|
function Qt(t, r) {
|
|
1550
|
-
const
|
|
1550
|
+
const n = t.replace(/^\.\//, "").replace(/\.(tsx|ts|jsx|js)$/, "");
|
|
1551
1551
|
for (const [s, i] of Object.entries(r))
|
|
1552
|
-
if (s.replace(/^\.\//, "").replace(/\.(tsx|ts|jsx|js)$/, "") ===
|
|
1552
|
+
if (s.replace(/^\.\//, "").replace(/\.(tsx|ts|jsx|js)$/, "") === n)
|
|
1553
1553
|
return i;
|
|
1554
1554
|
return null;
|
|
1555
1555
|
}
|
|
1556
1556
|
function zt(t) {
|
|
1557
1557
|
const {
|
|
1558
1558
|
basePath: r = ".",
|
|
1559
|
-
devExtensions:
|
|
1559
|
+
devExtensions: n = [".tsx", ".ts", ".jsx", ".js"],
|
|
1560
1560
|
prodExtension: s = ".js"
|
|
1561
1561
|
} = t || {};
|
|
1562
1562
|
return (i) => {
|
|
@@ -1576,10 +1576,10 @@ function zt(t) {
|
|
|
1576
1576
|
};
|
|
1577
1577
|
}
|
|
1578
1578
|
function Or(t) {
|
|
1579
|
-
const { basePath: r = ".", modules:
|
|
1579
|
+
const { basePath: r = ".", modules: n, pages: s } = t || {};
|
|
1580
1580
|
return (i) => {
|
|
1581
|
-
if (
|
|
1582
|
-
const d = Qt(i,
|
|
1581
|
+
if (n) {
|
|
1582
|
+
const d = Qt(i, n);
|
|
1583
1583
|
if (d)
|
|
1584
1584
|
return d();
|
|
1585
1585
|
}
|
|
@@ -1603,11 +1603,11 @@ function Or(t) {
|
|
|
1603
1603
|
}
|
|
1604
1604
|
};
|
|
1605
1605
|
}
|
|
1606
|
-
function er(t = ".", r,
|
|
1607
|
-
return r ||
|
|
1606
|
+
function er(t = ".", r, n) {
|
|
1607
|
+
return r || n ? Or({
|
|
1608
1608
|
basePath: t,
|
|
1609
1609
|
modules: r,
|
|
1610
|
-
pages:
|
|
1610
|
+
pages: n
|
|
1611
1611
|
}) : zt({ basePath: t });
|
|
1612
1612
|
}
|
|
1613
1613
|
function Pr() {
|
|
@@ -1615,7 +1615,7 @@ function Pr() {
|
|
|
1615
1615
|
let r = sessionStorage.getItem("f");
|
|
1616
1616
|
if (r) {
|
|
1617
1617
|
if (r = pe.deCode(r), !r) return !1;
|
|
1618
|
-
|
|
1618
|
+
Q({
|
|
1619
1619
|
id: r.id,
|
|
1620
1620
|
tab: r.tab,
|
|
1621
1621
|
page: r.page,
|
|
@@ -1625,7 +1625,7 @@ function Pr() {
|
|
|
1625
1625
|
module_admin: r.module_admin
|
|
1626
1626
|
});
|
|
1627
1627
|
} else
|
|
1628
|
-
|
|
1628
|
+
Q({
|
|
1629
1629
|
id: 0,
|
|
1630
1630
|
tab: "",
|
|
1631
1631
|
page: (t = localStorage.getItem("d")) != null && t.length ? j().page : j().auth,
|
|
@@ -1646,8 +1646,8 @@ function fr() {
|
|
|
1646
1646
|
return j().id;
|
|
1647
1647
|
}
|
|
1648
1648
|
function Cr(t) {
|
|
1649
|
-
let r = (i) => (
|
|
1650
|
-
const [
|
|
1649
|
+
let r = (i) => (Q({ page: i }), i);
|
|
1650
|
+
const [n, s] = T(
|
|
1651
1651
|
lr() || t && r(t) || j().page
|
|
1652
1652
|
);
|
|
1653
1653
|
return W(() => {
|
|
@@ -1656,7 +1656,7 @@ function Cr(t) {
|
|
|
1656
1656
|
};
|
|
1657
1657
|
return xe({ page: i }), () => {
|
|
1658
1658
|
var c, d;
|
|
1659
|
-
const p =
|
|
1659
|
+
const p = Z();
|
|
1660
1660
|
if ((d = (c = p.ROUTER_PARAMS) == null ? void 0 : c.LISTENER) != null && d.page) {
|
|
1661
1661
|
const f = p.ROUTER_PARAMS.LISTENER.page;
|
|
1662
1662
|
if (Array.isArray(f)) {
|
|
@@ -1665,10 +1665,10 @@ function Cr(t) {
|
|
|
1665
1665
|
}
|
|
1666
1666
|
}
|
|
1667
1667
|
};
|
|
1668
|
-
}, []),
|
|
1668
|
+
}, []), n;
|
|
1669
1669
|
}
|
|
1670
|
-
function Tr(t, r = !0,
|
|
1671
|
-
|
|
1670
|
+
function Tr(t, r = !0, n = {}) {
|
|
1671
|
+
Q({ page: t, ...n }), sessionStorage.setItem(
|
|
1672
1672
|
j().STORAGE,
|
|
1673
1673
|
pe.enCode(j())
|
|
1674
1674
|
), r && K().page(t);
|
|
@@ -1680,16 +1680,16 @@ function Nr() {
|
|
|
1680
1680
|
return j().prev;
|
|
1681
1681
|
}
|
|
1682
1682
|
function Mr(t, r) {
|
|
1683
|
-
const [
|
|
1683
|
+
const [n, s] = T(
|
|
1684
1684
|
ur() || t || j().module
|
|
1685
1685
|
);
|
|
1686
1686
|
return W(() => (xe({ module: s }), () => {
|
|
1687
1687
|
const i = K();
|
|
1688
1688
|
i.module === s && delete i.module;
|
|
1689
|
-
}), []),
|
|
1689
|
+
}), []), n;
|
|
1690
1690
|
}
|
|
1691
1691
|
function Br(t, r = !0) {
|
|
1692
|
-
|
|
1692
|
+
Q({ module: t }), sessionStorage.setItem(
|
|
1693
1693
|
j().STORAGE,
|
|
1694
1694
|
pe.enCode(j())
|
|
1695
1695
|
), r && K().module(t);
|
|
@@ -1699,16 +1699,16 @@ function Ir(t) {
|
|
|
1699
1699
|
}
|
|
1700
1700
|
function Lr(t, r) {
|
|
1701
1701
|
if (typeof t != "function") {
|
|
1702
|
-
const [
|
|
1702
|
+
const [n, s] = T(!r), [i, c] = T(t || Jt());
|
|
1703
1703
|
return xe({ tabs: c }), r && W(() => {
|
|
1704
1704
|
s(!0);
|
|
1705
|
-
}, []), [i,
|
|
1705
|
+
}, []), [i, n];
|
|
1706
1706
|
} else
|
|
1707
1707
|
xe({ tabs: t });
|
|
1708
1708
|
}
|
|
1709
1709
|
function Dr(t) {
|
|
1710
|
-
let r = (i) => (
|
|
1711
|
-
const [
|
|
1710
|
+
let r = (i) => (Q({ tab: i }), i);
|
|
1711
|
+
const [n, s] = T(
|
|
1712
1712
|
Jt() || t && r(t) || j().tab
|
|
1713
1713
|
);
|
|
1714
1714
|
return W(() => {
|
|
@@ -1717,7 +1717,7 @@ function Dr(t) {
|
|
|
1717
1717
|
};
|
|
1718
1718
|
return xe({ tabs: i }), () => {
|
|
1719
1719
|
var c, d;
|
|
1720
|
-
const p =
|
|
1720
|
+
const p = Z();
|
|
1721
1721
|
if ((d = (c = p.ROUTER_PARAMS) == null ? void 0 : c.LISTENER) != null && d.tabs) {
|
|
1722
1722
|
const f = p.ROUTER_PARAMS.LISTENER.tabs;
|
|
1723
1723
|
if (Array.isArray(f)) {
|
|
@@ -1726,10 +1726,10 @@ function Dr(t) {
|
|
|
1726
1726
|
}
|
|
1727
1727
|
}
|
|
1728
1728
|
};
|
|
1729
|
-
}, []),
|
|
1729
|
+
}, []), n;
|
|
1730
1730
|
}
|
|
1731
1731
|
async function Ur(t, r = !0) {
|
|
1732
|
-
|
|
1732
|
+
Q({ tab: t }), sessionStorage.setItem(
|
|
1733
1733
|
j().STORAGE,
|
|
1734
1734
|
pe.enCode(j())
|
|
1735
1735
|
), r && (K().tabs && K().tabs(t));
|
|
@@ -1739,10 +1739,10 @@ function Fr(t) {
|
|
|
1739
1739
|
}
|
|
1740
1740
|
function Wr(t) {
|
|
1741
1741
|
if (typeof t != "function") {
|
|
1742
|
-
const [r,
|
|
1742
|
+
const [r, n] = T(t || fr());
|
|
1743
1743
|
return W(() => {
|
|
1744
1744
|
const s = (i) => {
|
|
1745
|
-
|
|
1745
|
+
n(i);
|
|
1746
1746
|
};
|
|
1747
1747
|
return xe({ id: s }), () => {
|
|
1748
1748
|
const i = K();
|
|
@@ -1751,9 +1751,9 @@ function Wr(t) {
|
|
|
1751
1751
|
}, []), r;
|
|
1752
1752
|
} else
|
|
1753
1753
|
W(() => (xe({ id: t }), () => {
|
|
1754
|
-
var r,
|
|
1755
|
-
const s =
|
|
1756
|
-
if ((
|
|
1754
|
+
var r, n;
|
|
1755
|
+
const s = Z();
|
|
1756
|
+
if ((n = (r = s.ROUTER_PARAMS) == null ? void 0 : r.LISTENER) != null && n.id) {
|
|
1757
1757
|
const i = s.ROUTER_PARAMS.LISTENER.id;
|
|
1758
1758
|
if (Array.isArray(i)) {
|
|
1759
1759
|
const c = i.indexOf(t);
|
|
@@ -1765,7 +1765,7 @@ function Wr(t) {
|
|
|
1765
1765
|
function qr(t) {
|
|
1766
1766
|
}
|
|
1767
1767
|
async function Yr(t, r = !0) {
|
|
1768
|
-
|
|
1768
|
+
Q({ id: t }), sessionStorage.setItem(
|
|
1769
1769
|
j().STORAGE,
|
|
1770
1770
|
pe.enCode(j())
|
|
1771
1771
|
), r && K().id(t);
|
|
@@ -1774,21 +1774,21 @@ function zr(t) {
|
|
|
1774
1774
|
return Number(j().id) === t;
|
|
1775
1775
|
}
|
|
1776
1776
|
async function Vr(t) {
|
|
1777
|
-
var r,
|
|
1778
|
-
const { page: g, module: h, tab: b, id:
|
|
1779
|
-
g !== void 0 && (
|
|
1777
|
+
var r, n, s, i, c, d, p, f;
|
|
1778
|
+
const { page: g, module: h, tab: b, id: y } = t;
|
|
1779
|
+
g !== void 0 && (le.page = g), h !== void 0 && (le.module = h), b !== void 0 && (le.tab = b), y !== void 0 && (le.id = y), Q({ ...le }), y !== void 0 && ((n = (r = K()).id) == null || n.call(r, y)), b !== void 0 && ((i = (s = K()).tabs) == null || i.call(s, b)), h !== void 0 && ((d = (c = K()).module) == null || d.call(c, h)), g !== void 0 && ((f = (p = K()).page) == null || f.call(p, g)), sessionStorage.setItem(
|
|
1780
1780
|
j().STORAGE,
|
|
1781
1781
|
pe.enCode(j())
|
|
1782
1782
|
);
|
|
1783
1783
|
}
|
|
1784
1784
|
const Ce = {
|
|
1785
1785
|
Reset() {
|
|
1786
|
-
|
|
1786
|
+
le.id = 0, le.tab = "", le.page = j().page, le.module = j().module;
|
|
1787
1787
|
},
|
|
1788
1788
|
Default({
|
|
1789
1789
|
module: t = j().module,
|
|
1790
1790
|
page: r = j().page,
|
|
1791
|
-
auth:
|
|
1791
|
+
auth: n = j().auth,
|
|
1792
1792
|
debug: s = j().debug,
|
|
1793
1793
|
dir: i = j().dir || ".",
|
|
1794
1794
|
importModules: c,
|
|
@@ -1802,10 +1802,10 @@ const Ce = {
|
|
|
1802
1802
|
i,
|
|
1803
1803
|
h,
|
|
1804
1804
|
b
|
|
1805
|
-
) : g || (g = zt({ basePath: i })),
|
|
1805
|
+
) : g || (g = zt({ basePath: i })), Q({
|
|
1806
1806
|
page: r,
|
|
1807
1807
|
module: t,
|
|
1808
|
-
auth:
|
|
1808
|
+
auth: n,
|
|
1809
1809
|
debug: s,
|
|
1810
1810
|
dir: i,
|
|
1811
1811
|
importModules: g
|
|
@@ -1851,13 +1851,13 @@ const Ce = {
|
|
|
1851
1851
|
let pt = {};
|
|
1852
1852
|
function en() {
|
|
1853
1853
|
const [t, r] = C.useState([]);
|
|
1854
|
-
return pt.set = (
|
|
1855
|
-
r([...t,
|
|
1856
|
-
}, pt.del = (
|
|
1854
|
+
return pt.set = (n) => {
|
|
1855
|
+
r([...t, n]);
|
|
1856
|
+
}, pt.del = (n) => {
|
|
1857
1857
|
t.forEach((s, i) => {
|
|
1858
|
-
s.key ===
|
|
1858
|
+
s.key === n && t.splice(i, 1);
|
|
1859
1859
|
}), r(t);
|
|
1860
|
-
}, t.length === 0 ? /* @__PURE__ */ l.jsx(l.Fragment, {}) : /* @__PURE__ */ l.jsx("div", { className: Se.n, children: t.map((
|
|
1860
|
+
}, t.length === 0 ? /* @__PURE__ */ l.jsx(l.Fragment, {}) : /* @__PURE__ */ l.jsx("div", { className: Se.n, children: t.map((n) => n.item) });
|
|
1861
1861
|
}
|
|
1862
1862
|
function tn(t) {
|
|
1863
1863
|
let r = (/* @__PURE__ */ new Date()).getTime();
|
|
@@ -1865,7 +1865,7 @@ function tn(t) {
|
|
|
1865
1865
|
}
|
|
1866
1866
|
function rn(t) {
|
|
1867
1867
|
const r = t.data;
|
|
1868
|
-
let [
|
|
1868
|
+
let [n] = C.useState("show"), [s, i] = C.useState(!1);
|
|
1869
1869
|
C.useEffect(() => {
|
|
1870
1870
|
setTimeout(function() {
|
|
1871
1871
|
i(!0), pt.del(r.key);
|
|
@@ -1895,7 +1895,7 @@ function rn(t) {
|
|
|
1895
1895
|
"div",
|
|
1896
1896
|
{
|
|
1897
1897
|
className: Se.i + d[r.type] + ` ${r.thema !== void 0 ? Se.h : ""}`,
|
|
1898
|
-
"data-status":
|
|
1898
|
+
"data-status": n,
|
|
1899
1899
|
children: [
|
|
1900
1900
|
/* @__PURE__ */ l.jsx(
|
|
1901
1901
|
"svg",
|
|
@@ -1919,7 +1919,7 @@ let Ee = {
|
|
|
1919
1919
|
Send: tn,
|
|
1920
1920
|
Init: en
|
|
1921
1921
|
};
|
|
1922
|
-
const nn = "_d_1u25q_1", on = "_b_1u25q_21", an = "_o_1u25q_25", sn = "_m_1u25q_30", cn = "_t_1u25q_41", ln = "_a_1u25q_108", un = "_v_1u25q_118",
|
|
1922
|
+
const nn = "_d_1u25q_1", on = "_b_1u25q_21", an = "_o_1u25q_25", sn = "_m_1u25q_30", cn = "_t_1u25q_41", ln = "_a_1u25q_108", un = "_v_1u25q_118", fe = {
|
|
1923
1923
|
d: nn,
|
|
1924
1924
|
b: on,
|
|
1925
1925
|
o: an,
|
|
@@ -1981,57 +1981,60 @@ D.users = {
|
|
|
1981
1981
|
};
|
|
1982
1982
|
const fn = () => {
|
|
1983
1983
|
if (location.hostname === "localhost") {
|
|
1984
|
-
let [t, r] = T(!1), [
|
|
1984
|
+
let [t, r] = T(!1), [n, s] = T(!1), [i, c] = T("dark"), [d, p] = T(!1), [f, g] = T(!1);
|
|
1985
1985
|
de.is = !0, de.MainButton.set = r, de.BackButton.set = s, W(() => {
|
|
1986
|
-
var
|
|
1986
|
+
var y;
|
|
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
|
+
document.documentElement.style.setProperty(
|
|
1994
|
+
"--tg-content-safe-area-inset-top",
|
|
1995
|
+
"0px"
|
|
1996
|
+
), ((y = ce.safeAreaInset) == null ? void 0 : y.bottom) === 0 ? document.documentElement.style.setProperty(
|
|
1994
1997
|
"--tg-safe-area-inset-bottom",
|
|
1995
1998
|
"16px"
|
|
1996
|
-
) :
|
|
1999
|
+
) : ce.safeAreaInset || document.documentElement.style.setProperty(
|
|
1997
2000
|
"--tg-safe-area-inset-bottom",
|
|
1998
2001
|
"16px"
|
|
1999
2002
|
);
|
|
2000
2003
|
}, []);
|
|
2001
|
-
let h = (
|
|
2002
|
-
for (let A in D[
|
|
2003
|
-
document.documentElement.style.setProperty(A, D[
|
|
2004
|
+
let h = (y) => {
|
|
2005
|
+
for (let A in D[y])
|
|
2006
|
+
document.documentElement.style.setProperty(A, D[y][A]), document.documentElement.setAttribute(
|
|
2004
2007
|
"data-color-scheme",
|
|
2005
|
-
|
|
2008
|
+
y
|
|
2006
2009
|
);
|
|
2007
|
-
c(
|
|
2010
|
+
document.body.setAttribute("data-color-scheme", y), c(y), p(!1);
|
|
2008
2011
|
}, b = () => {
|
|
2009
2012
|
p(!1), g(!0);
|
|
2010
2013
|
};
|
|
2011
2014
|
return /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
|
|
2012
|
-
/* @__PURE__ */ l.jsxs("div", { className:
|
|
2013
|
-
|
|
2015
|
+
/* @__PURE__ */ l.jsxs("div", { className: fe.d, children: [
|
|
2016
|
+
n === !1 ? /* @__PURE__ */ l.jsx("div", { className: fe.b, children: "Отмена" }) : /* @__PURE__ */ l.jsx(
|
|
2014
2017
|
"div",
|
|
2015
2018
|
{
|
|
2016
2019
|
onClick: () => {
|
|
2017
|
-
var
|
|
2018
|
-
|
|
2020
|
+
var y;
|
|
2021
|
+
n.page === void 0 ? (y = n.callback) == null || y.call(n) : Ce.setPage(n.page);
|
|
2019
2022
|
},
|
|
2020
|
-
className:
|
|
2023
|
+
className: fe.b,
|
|
2021
2024
|
children: "Назад"
|
|
2022
2025
|
}
|
|
2023
2026
|
),
|
|
2024
2027
|
/* @__PURE__ */ l.jsx(
|
|
2025
2028
|
"div",
|
|
2026
2029
|
{
|
|
2027
|
-
className:
|
|
2030
|
+
className: fe.o,
|
|
2028
2031
|
onClick: () => p(!d),
|
|
2029
2032
|
children: "Меню"
|
|
2030
2033
|
}
|
|
2031
2034
|
)
|
|
2032
2035
|
] }),
|
|
2033
2036
|
/* @__PURE__ */ l.jsx(Ee.Init, {}),
|
|
2034
|
-
t && /* @__PURE__ */ l.jsx("div", { className:
|
|
2037
|
+
t && /* @__PURE__ */ l.jsx("div", { className: fe.m, children: /* @__PURE__ */ l.jsx(
|
|
2035
2038
|
"button",
|
|
2036
2039
|
{
|
|
2037
2040
|
onClick: () => {
|
|
@@ -2040,7 +2043,7 @@ const fn = () => {
|
|
|
2040
2043
|
children: t.text
|
|
2041
2044
|
}
|
|
2042
2045
|
) }),
|
|
2043
|
-
d ? /* @__PURE__ */ l.jsxs("div", { className:
|
|
2046
|
+
d ? /* @__PURE__ */ l.jsxs("div", { className: fe.t, children: [
|
|
2044
2047
|
/* @__PURE__ */ l.jsxs("ul", { children: [
|
|
2045
2048
|
/* @__PURE__ */ l.jsx("li", { children: /* @__PURE__ */ l.jsx("button", { onClick: b, children: "Authorization" }) }),
|
|
2046
2049
|
/* @__PURE__ */ l.jsx("li", {})
|
|
@@ -2082,33 +2085,33 @@ const fn = () => {
|
|
|
2082
2085
|
var t;
|
|
2083
2086
|
document.documentElement.style.setProperty(
|
|
2084
2087
|
"--tg-theme-secondary-bg-color-alpha",
|
|
2085
|
-
|
|
2088
|
+
ce.themeParams.secondary_bg_color + "d3"
|
|
2086
2089
|
), document.documentElement.style.setProperty(
|
|
2087
2090
|
"--tg-theme-bg-color-alpha",
|
|
2088
|
-
|
|
2089
|
-
), ((t =
|
|
2091
|
+
ce.themeParams.bg_color + "b3"
|
|
2092
|
+
), ((t = ce.safeAreaInset) == null ? void 0 : t.bottom) === 0 ? document.documentElement.style.setProperty(
|
|
2090
2093
|
"--tg-safe-area-inset-bottom",
|
|
2091
2094
|
"16px"
|
|
2092
|
-
) :
|
|
2095
|
+
) : ce.safeAreaInset || document.documentElement.style.setProperty(
|
|
2093
2096
|
"--tg-safe-area-inset-bottom",
|
|
2094
2097
|
"16px"
|
|
2095
|
-
);
|
|
2098
|
+
), document.body.setAttribute("data-color-scheme", ce.colorScheme);
|
|
2096
2099
|
}, []), /* @__PURE__ */ l.jsx(l.Fragment, { children: /* @__PURE__ */ l.jsx(Ee.Init, {}) });
|
|
2097
2100
|
}, dn = ({ setAuthorization: t }) => {
|
|
2098
|
-
let r = {},
|
|
2101
|
+
let r = {}, n = () => {
|
|
2099
2102
|
localStorage.setItem("auth", r);
|
|
2100
2103
|
};
|
|
2101
|
-
return /* @__PURE__ */ l.jsx("div", { className:
|
|
2104
|
+
return /* @__PURE__ */ l.jsx("div", { className: fe.a, children: /* @__PURE__ */ l.jsxs("div", { className: fe.v, children: [
|
|
2102
2105
|
/* @__PURE__ */ l.jsx("fieldset", {}),
|
|
2103
|
-
/* @__PURE__ */ l.jsx("div", { onClick:
|
|
2106
|
+
/* @__PURE__ */ l.jsx("div", { onClick: n, children: " Сохранить " })
|
|
2104
2107
|
] }) });
|
|
2105
2108
|
}, pn = "_p_1axqy_1", vn = "_s_1axqy_17", tr = {
|
|
2106
2109
|
p: pn,
|
|
2107
2110
|
s: vn
|
|
2108
|
-
}, hn = ({ className: t, children: r, isScroll:
|
|
2111
|
+
}, hn = ({ className: t, children: r, isScroll: n = !0 }) => /* @__PURE__ */ l.jsx(
|
|
2109
2112
|
"div",
|
|
2110
2113
|
{
|
|
2111
|
-
className: [tr.p,
|
|
2114
|
+
className: [tr.p, n && tr.s, t].filter((s) => s !== void 0).join(" "),
|
|
2112
2115
|
children: r
|
|
2113
2116
|
}
|
|
2114
2117
|
), gn = "_l_gfyud_1", mn = {
|
|
@@ -2116,10 +2119,10 @@ const fn = () => {
|
|
|
2116
2119
|
}, bn = ({ children: t, className: r }) => /* @__PURE__ */ l.jsx(
|
|
2117
2120
|
"div",
|
|
2118
2121
|
{
|
|
2119
|
-
className: [mn.l, r].filter((
|
|
2122
|
+
className: [mn.l, r].filter((n) => n !== void 0).join(" "),
|
|
2120
2123
|
children: t
|
|
2121
2124
|
}
|
|
2122
|
-
), yn = "_q_z5mg9_2", _n = "_m_z5mg9_8", Rn = "_g_z5mg9_15", Sn = "_i_z5mg9_23", En = "_c_z5mg9_40", xn = "_l_z5mg9_47", An = "_a_z5mg9_62", jn = "_n_z5mg9_68",
|
|
2125
|
+
), yn = "_q_z5mg9_2", _n = "_m_z5mg9_8", Rn = "_g_z5mg9_15", Sn = "_i_z5mg9_23", En = "_c_z5mg9_40", xn = "_l_z5mg9_47", An = "_a_z5mg9_62", jn = "_n_z5mg9_68", ue = {
|
|
2123
2126
|
q: yn,
|
|
2124
2127
|
m: _n,
|
|
2125
2128
|
g: Rn,
|
|
@@ -2129,39 +2132,39 @@ const fn = () => {
|
|
|
2129
2132
|
a: An,
|
|
2130
2133
|
n: jn
|
|
2131
2134
|
}, kn = ({ items: t, style: r }) => {
|
|
2132
|
-
const
|
|
2135
|
+
const n = (i) => {
|
|
2133
2136
|
Ce.setPage(i);
|
|
2134
2137
|
}, s = (i) => {
|
|
2135
|
-
|
|
2138
|
+
ce.openTelegramLink(i);
|
|
2136
2139
|
};
|
|
2137
2140
|
return /* @__PURE__ */ l.jsx(
|
|
2138
2141
|
"div",
|
|
2139
2142
|
{
|
|
2140
|
-
className:
|
|
2141
|
-
|
|
2142
|
-
|
|
2143
|
+
className: G(
|
|
2144
|
+
ue[r === "liquid-glass" ? "q" : ""],
|
|
2145
|
+
ue.m
|
|
2143
2146
|
),
|
|
2144
|
-
children: t.map((i) => /* @__PURE__ */ l.jsx("div", { className:
|
|
2147
|
+
children: t.map((i) => /* @__PURE__ */ l.jsx("div", { className: ue.g, children: i.items.map((c, d) => /* @__PURE__ */ l.jsxs(
|
|
2145
2148
|
"div",
|
|
2146
2149
|
{
|
|
2147
|
-
className:
|
|
2150
|
+
className: ue.i,
|
|
2148
2151
|
onClick: () => {
|
|
2149
|
-
c.link && s(c.link), c.page &&
|
|
2152
|
+
c.link && s(c.link), c.page && n(c.page), c.callback && c.callback();
|
|
2150
2153
|
},
|
|
2151
2154
|
children: [
|
|
2152
|
-
/* @__PURE__ */ l.jsxs("div", { className:
|
|
2155
|
+
/* @__PURE__ */ l.jsxs("div", { className: ue.c, children: [
|
|
2153
2156
|
/* @__PURE__ */ l.jsx(
|
|
2154
2157
|
"span",
|
|
2155
2158
|
{
|
|
2156
|
-
className:
|
|
2159
|
+
className: ue.l,
|
|
2157
2160
|
style: { background: c.color },
|
|
2158
2161
|
children: c.icon
|
|
2159
2162
|
}
|
|
2160
2163
|
),
|
|
2161
2164
|
c.title,
|
|
2162
|
-
c.count && /* @__PURE__ */ l.jsx("span", { className:
|
|
2165
|
+
c.count && /* @__PURE__ */ l.jsx("span", { className: ue.n, children: c.count })
|
|
2163
2166
|
] }),
|
|
2164
|
-
/* @__PURE__ */ l.jsx("span", { className:
|
|
2167
|
+
/* @__PURE__ */ l.jsx("span", { className: ue.a, children: "›" })
|
|
2165
2168
|
]
|
|
2166
2169
|
},
|
|
2167
2170
|
d
|
|
@@ -2181,7 +2184,7 @@ const fn = () => {
|
|
|
2181
2184
|
function Bn({
|
|
2182
2185
|
children: t,
|
|
2183
2186
|
icon: r,
|
|
2184
|
-
iconBadge:
|
|
2187
|
+
iconBadge: n = 0,
|
|
2185
2188
|
title: s,
|
|
2186
2189
|
className: i,
|
|
2187
2190
|
view: c = "list",
|
|
@@ -2197,12 +2200,12 @@ function Bn({
|
|
|
2197
2200
|
A && A.parentNode && A.parentNode.removeChild(A);
|
|
2198
2201
|
};
|
|
2199
2202
|
}, []);
|
|
2200
|
-
const
|
|
2203
|
+
const y = /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
|
|
2201
2204
|
f && /* @__PURE__ */ l.jsx("div", { className: se.o, onClick: () => g(!1) }),
|
|
2202
2205
|
/* @__PURE__ */ l.jsxs(
|
|
2203
2206
|
"div",
|
|
2204
2207
|
{
|
|
2205
|
-
className:
|
|
2208
|
+
className: G(
|
|
2206
2209
|
se.m,
|
|
2207
2210
|
d === "left" ? se.l : se.r,
|
|
2208
2211
|
f && se.x,
|
|
@@ -2243,16 +2246,16 @@ function Bn({
|
|
|
2243
2246
|
{
|
|
2244
2247
|
onClick: () => g(!0),
|
|
2245
2248
|
className: "bage",
|
|
2246
|
-
"data-count":
|
|
2249
|
+
"data-count": n,
|
|
2247
2250
|
children: r
|
|
2248
2251
|
}
|
|
2249
2252
|
),
|
|
2250
|
-
h && pr(
|
|
2253
|
+
h && pr(y, h)
|
|
2251
2254
|
] });
|
|
2252
2255
|
}
|
|
2253
2256
|
const In = (t, r) => {
|
|
2254
|
-
var
|
|
2255
|
-
(
|
|
2257
|
+
var n;
|
|
2258
|
+
(n = ut[t]) == null || n.call(ut, r);
|
|
2256
2259
|
}, Ln = "_h_1l02r_2", Dn = "_r_1l02r_59", Un = "_c_1l02r_62", Fn = "_x_1l02r_65", Wn = "_b_1l02r_69", qn = "_a_1l02r_107", Yn = "_draw_1l02r_1", zn = "_scaleToggleVar_1l02r_1", Pe = {
|
|
2257
2260
|
h: Ln,
|
|
2258
2261
|
r: Dn,
|
|
@@ -2267,13 +2270,13 @@ const In = (t, r) => {
|
|
|
2267
2270
|
}, Hn = ({ className: t, value: r }) => /* @__PURE__ */ l.jsx(
|
|
2268
2271
|
"div",
|
|
2269
2272
|
{
|
|
2270
|
-
className: [Jn.b, t].filter((
|
|
2273
|
+
className: [Jn.b, t].filter((n) => n !== void 0).join(" "),
|
|
2271
2274
|
children: r
|
|
2272
2275
|
}
|
|
2273
|
-
), rr = (t, r) => t.findIndex((
|
|
2276
|
+
), rr = (t, r) => t.findIndex((n) => (n == null ? void 0 : n.page) === r), Kn = ({
|
|
2274
2277
|
actions: t,
|
|
2275
2278
|
children: r,
|
|
2276
|
-
className:
|
|
2279
|
+
className: n,
|
|
2277
2280
|
actual: s,
|
|
2278
2281
|
toHide: i = !1,
|
|
2279
2282
|
page: c,
|
|
@@ -2281,7 +2284,7 @@ const In = (t, r) => {
|
|
|
2281
2284
|
onPageChange: p,
|
|
2282
2285
|
direction: f = "row"
|
|
2283
2286
|
}) => {
|
|
2284
|
-
const [g, h] = C.useState(null), [b,
|
|
2287
|
+
const [g, h] = C.useState(null), [b, y] = C.useState(
|
|
2285
2288
|
c ? rr(t || [], c) : 0
|
|
2286
2289
|
), [A, B] = C.useState(
|
|
2287
2290
|
"right"
|
|
@@ -2289,7 +2292,7 @@ const In = (t, r) => {
|
|
|
2289
2292
|
C.useEffect(() => {
|
|
2290
2293
|
if (c) {
|
|
2291
2294
|
const V = rr(t || [], c);
|
|
2292
|
-
V !== -1 && V !== ee.current && (ee.current = V,
|
|
2295
|
+
V !== -1 && V !== ee.current && (ee.current = V, y(V));
|
|
2293
2296
|
}
|
|
2294
2297
|
}, [c, t]), C.useEffect(() => {
|
|
2295
2298
|
ee.current !== b && (B(
|
|
@@ -2335,10 +2338,10 @@ const In = (t, r) => {
|
|
|
2335
2338
|
"data-style": d,
|
|
2336
2339
|
"data-scale": Te ? "true" : "false",
|
|
2337
2340
|
...te,
|
|
2338
|
-
className:
|
|
2341
|
+
className: G(
|
|
2339
2342
|
Pe.h,
|
|
2340
2343
|
Pe[f === "row" ? "r" : "c"],
|
|
2341
|
-
|
|
2344
|
+
n
|
|
2342
2345
|
),
|
|
2343
2346
|
children: [
|
|
2344
2347
|
r,
|
|
@@ -2347,7 +2350,7 @@ const In = (t, r) => {
|
|
|
2347
2350
|
{
|
|
2348
2351
|
actions: t,
|
|
2349
2352
|
activeIndex: b,
|
|
2350
|
-
setActiveIndex:
|
|
2353
|
+
setActiveIndex: y,
|
|
2351
2354
|
onPageChange: p,
|
|
2352
2355
|
setComponent: h,
|
|
2353
2356
|
actual: s
|
|
@@ -2360,7 +2363,7 @@ const In = (t, r) => {
|
|
|
2360
2363
|
}, Gn = ({
|
|
2361
2364
|
actions: t,
|
|
2362
2365
|
activeIndex: r,
|
|
2363
|
-
setActiveIndex:
|
|
2366
|
+
setActiveIndex: n,
|
|
2364
2367
|
onPageChange: s,
|
|
2365
2368
|
setComponent: i,
|
|
2366
2369
|
actual: c
|
|
@@ -2370,7 +2373,7 @@ const In = (t, r) => {
|
|
|
2370
2373
|
{
|
|
2371
2374
|
"data-active": r === p ? "true" : "false",
|
|
2372
2375
|
onClick: () => {
|
|
2373
|
-
d.page && (
|
|
2376
|
+
d.page && (n(p), s == null || s(d.page)), d.onClick && d.onClick(() => n(p)), d.component && (r === p || (i(d.component), n(p)));
|
|
2374
2377
|
},
|
|
2375
2378
|
children: [
|
|
2376
2379
|
d.icon,
|
|
@@ -2390,16 +2393,29 @@ const In = (t, r) => {
|
|
|
2390
2393
|
}
|
|
2391
2394
|
}
|
|
2392
2395
|
)
|
|
2393
|
-
] }), Xn = "
|
|
2394
|
-
|
|
2395
|
-
|
|
2396
|
-
|
|
2397
|
-
|
|
2396
|
+
] }), Xn = "_a_15zsz_1", Zn = {
|
|
2397
|
+
a: Xn
|
|
2398
|
+
};
|
|
2399
|
+
function Qn({
|
|
2400
|
+
children: t,
|
|
2401
|
+
className: r,
|
|
2402
|
+
text: n
|
|
2403
|
+
}) {
|
|
2404
|
+
return /* @__PURE__ */ l.jsxs("div", { className: G(Zn.a, r), children: [
|
|
2405
|
+
t,
|
|
2406
|
+
n && /* @__PURE__ */ l.jsx("b", { children: n })
|
|
2407
|
+
] });
|
|
2408
|
+
}
|
|
2409
|
+
const eo = "_w_yx04q_3", to = "_v_yx04q_24", ro = "_s_yx04q_34", no = "_n_yx04q_38", it = {
|
|
2410
|
+
w: eo,
|
|
2411
|
+
v: to,
|
|
2412
|
+
s: ro,
|
|
2413
|
+
n: no
|
|
2398
2414
|
}, Vt = {};
|
|
2399
|
-
function
|
|
2415
|
+
function oo({
|
|
2400
2416
|
children: t,
|
|
2401
2417
|
name: r,
|
|
2402
|
-
onClose:
|
|
2418
|
+
onClose: n,
|
|
2403
2419
|
isOpen: s,
|
|
2404
2420
|
isScroll: i = !0,
|
|
2405
2421
|
nextBackButton: c
|
|
@@ -2407,9 +2423,9 @@ function to({
|
|
|
2407
2423
|
const [d, p] = T(!1);
|
|
2408
2424
|
return W(() => {
|
|
2409
2425
|
if (!s) return;
|
|
2410
|
-
const f = c === void 0 ?
|
|
2426
|
+
const f = c === void 0 ? jo().pop() : c, g = () => {
|
|
2411
2427
|
p(!1), setTimeout(() => {
|
|
2412
|
-
nr(f || !1),
|
|
2428
|
+
nr(f || !1), n == null || n();
|
|
2413
2429
|
}, 300);
|
|
2414
2430
|
};
|
|
2415
2431
|
Vt[r] = {
|
|
@@ -2429,7 +2445,7 @@ function to({
|
|
|
2429
2445
|
}, [s]), s ? /* @__PURE__ */ l.jsxs(
|
|
2430
2446
|
"div",
|
|
2431
2447
|
{
|
|
2432
|
-
className:
|
|
2448
|
+
className: G(
|
|
2433
2449
|
it.w,
|
|
2434
2450
|
d && it.v,
|
|
2435
2451
|
i && it.s
|
|
@@ -2441,19 +2457,19 @@ function to({
|
|
|
2441
2457
|
}
|
|
2442
2458
|
) : "";
|
|
2443
2459
|
}
|
|
2444
|
-
const
|
|
2445
|
-
var
|
|
2446
|
-
r ? (
|
|
2447
|
-
},
|
|
2448
|
-
s:
|
|
2449
|
-
n:
|
|
2450
|
-
b:
|
|
2451
|
-
f:
|
|
2460
|
+
const ao = (t, r) => {
|
|
2461
|
+
var n, s;
|
|
2462
|
+
r ? (n = Vt[t]) == null || n.onOpen() : (s = Vt[t]) == null || s.onClose();
|
|
2463
|
+
}, so = "_s_q79m4_3", io = "_n_q79m4_14", co = "_b_q79m4_19", lo = "_f_q79m4_29", ct = {
|
|
2464
|
+
s: so,
|
|
2465
|
+
n: io,
|
|
2466
|
+
b: co,
|
|
2467
|
+
f: lo
|
|
2452
2468
|
};
|
|
2453
|
-
function
|
|
2469
|
+
function uo({
|
|
2454
2470
|
className: t,
|
|
2455
2471
|
children: r,
|
|
2456
|
-
onScrollEnd:
|
|
2472
|
+
onScrollEnd: n,
|
|
2457
2473
|
offset: s = 100,
|
|
2458
2474
|
isLoading: i,
|
|
2459
2475
|
fullscreen: c = !1,
|
|
@@ -2465,8 +2481,8 @@ function io({
|
|
|
2465
2481
|
}, [i]);
|
|
2466
2482
|
let g = {
|
|
2467
2483
|
onScroll: (h) => {
|
|
2468
|
-
const { scrollTop: b, scrollHeight:
|
|
2469
|
-
b + A >=
|
|
2484
|
+
const { scrollTop: b, scrollHeight: y, clientHeight: A } = h.currentTarget;
|
|
2485
|
+
b + A >= y - s && !p && (f(!0), n == null || n());
|
|
2470
2486
|
}
|
|
2471
2487
|
};
|
|
2472
2488
|
return /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
|
|
@@ -2475,7 +2491,7 @@ function io({
|
|
|
2475
2491
|
"div",
|
|
2476
2492
|
{
|
|
2477
2493
|
...g,
|
|
2478
|
-
className:
|
|
2494
|
+
className: G(
|
|
2479
2495
|
ct.s,
|
|
2480
2496
|
!d && ct.n,
|
|
2481
2497
|
c && ct.f,
|
|
@@ -2486,37 +2502,37 @@ function io({
|
|
|
2486
2502
|
)
|
|
2487
2503
|
] });
|
|
2488
2504
|
}
|
|
2489
|
-
const
|
|
2490
|
-
a:
|
|
2491
|
-
l:
|
|
2492
|
-
r:
|
|
2493
|
-
b:
|
|
2505
|
+
const fo = "_a_prp23_1", po = "_l_prp23_13", vo = "_r_prp23_16", ho = "_b_prp23_19", lt = {
|
|
2506
|
+
a: fo,
|
|
2507
|
+
l: po,
|
|
2508
|
+
r: vo,
|
|
2509
|
+
b: ho
|
|
2494
2510
|
};
|
|
2495
|
-
function
|
|
2511
|
+
function go({
|
|
2496
2512
|
children: t,
|
|
2497
2513
|
className: r,
|
|
2498
|
-
position:
|
|
2514
|
+
position: n = "center",
|
|
2499
2515
|
title: s
|
|
2500
2516
|
}) {
|
|
2501
2517
|
let i = "";
|
|
2502
|
-
return
|
|
2518
|
+
return n === "left" ? i = lt.l : n === "right" ? i = lt.r : n === "between" && (i = lt.b), /* @__PURE__ */ l.jsxs("div", { className: G(lt.a, i, r), children: [
|
|
2503
2519
|
t,
|
|
2504
2520
|
s && /* @__PURE__ */ l.jsx("b", { children: s })
|
|
2505
2521
|
] });
|
|
2506
2522
|
}
|
|
2507
|
-
const
|
|
2508
|
-
q:
|
|
2509
|
-
o:
|
|
2510
|
-
x:
|
|
2511
|
-
c:
|
|
2512
|
-
p:
|
|
2513
|
-
f:
|
|
2514
|
-
h:
|
|
2515
|
-
b:
|
|
2516
|
-
},
|
|
2523
|
+
const mo = "_q_1wgf4_2", bo = "_o_1wgf4_11", yo = "_x_1wgf4_25", _o = "_c_1wgf4_29", Ro = "_p_1wgf4_34", So = "_f_1wgf4_50", Eo = "_h_1wgf4_58", xo = "_b_1wgf4_75", ie = {
|
|
2524
|
+
q: mo,
|
|
2525
|
+
o: bo,
|
|
2526
|
+
x: yo,
|
|
2527
|
+
c: _o,
|
|
2528
|
+
p: Ro,
|
|
2529
|
+
f: So,
|
|
2530
|
+
h: Eo,
|
|
2531
|
+
b: xo
|
|
2532
|
+
}, X = {}, dr = ({
|
|
2517
2533
|
children: t,
|
|
2518
2534
|
title: r,
|
|
2519
|
-
isOverlay:
|
|
2535
|
+
isOverlay: n = !0,
|
|
2520
2536
|
footer: s = !0,
|
|
2521
2537
|
className: i,
|
|
2522
2538
|
name: c,
|
|
@@ -2525,34 +2541,34 @@ const vo = "_q_1wgf4_2", ho = "_o_1wgf4_11", go = "_x_1wgf4_25", mo = "_c_1wgf4_
|
|
|
2525
2541
|
}) => {
|
|
2526
2542
|
const [f, g] = C.useState(!1), [h, b] = C.useState(!1);
|
|
2527
2543
|
return C.useEffect(() => {
|
|
2528
|
-
|
|
2529
|
-
|
|
2544
|
+
X[c] = (y) => {
|
|
2545
|
+
y ? (b(!1), g(!0), p == null || p(!0)) : (b(!0), p == null || p(!1), setTimeout(() => {
|
|
2530
2546
|
g(!1), b(!1);
|
|
2531
2547
|
}, 300));
|
|
2532
2548
|
};
|
|
2533
2549
|
}, [c, p]), !f && !h ? null : /* @__PURE__ */ l.jsx(
|
|
2534
2550
|
"div",
|
|
2535
2551
|
{
|
|
2536
|
-
className:
|
|
2552
|
+
className: G(
|
|
2537
2553
|
d === "liquid-glass" && ie.q,
|
|
2538
2554
|
ie.o,
|
|
2539
|
-
|
|
2555
|
+
n && ie.x,
|
|
2540
2556
|
h && ie.c
|
|
2541
2557
|
),
|
|
2542
2558
|
onClick: () => {
|
|
2543
|
-
var
|
|
2544
|
-
return (
|
|
2559
|
+
var y;
|
|
2560
|
+
return (y = X[c]) == null ? void 0 : y.call(X, !1);
|
|
2545
2561
|
},
|
|
2546
2562
|
children: /* @__PURE__ */ l.jsxs(
|
|
2547
2563
|
"div",
|
|
2548
2564
|
{
|
|
2549
|
-
className:
|
|
2565
|
+
className: G(
|
|
2550
2566
|
ie.p,
|
|
2551
2567
|
h && ie.c,
|
|
2552
2568
|
s && ie.f,
|
|
2553
2569
|
i
|
|
2554
2570
|
),
|
|
2555
|
-
onClick: (
|
|
2571
|
+
onClick: (y) => y.stopPropagation(),
|
|
2556
2572
|
children: [
|
|
2557
2573
|
r && /* @__PURE__ */ l.jsxs("div", { className: ie.h, children: [
|
|
2558
2574
|
/* @__PURE__ */ l.jsx("h3", { children: r }),
|
|
@@ -2561,8 +2577,8 @@ const vo = "_q_1wgf4_2", ho = "_o_1wgf4_11", go = "_x_1wgf4_25", mo = "_c_1wgf4_
|
|
|
2561
2577
|
{
|
|
2562
2578
|
className: ie.b,
|
|
2563
2579
|
onClick: () => {
|
|
2564
|
-
var
|
|
2565
|
-
return (
|
|
2580
|
+
var y;
|
|
2581
|
+
return (y = X[c]) == null ? void 0 : y.call(X, !1);
|
|
2566
2582
|
},
|
|
2567
2583
|
children: "✕"
|
|
2568
2584
|
}
|
|
@@ -2574,101 +2590,102 @@ const vo = "_q_1wgf4_2", ho = "_o_1wgf4_11", go = "_x_1wgf4_25", mo = "_c_1wgf4_
|
|
|
2574
2590
|
)
|
|
2575
2591
|
}
|
|
2576
2592
|
);
|
|
2577
|
-
},
|
|
2578
|
-
var
|
|
2579
|
-
(
|
|
2593
|
+
}, Ao = (t, r) => {
|
|
2594
|
+
var n;
|
|
2595
|
+
(n = X[t]) == null || n.call(X, r);
|
|
2580
2596
|
}, U = {
|
|
2581
2597
|
state: [!1],
|
|
2582
2598
|
listen: [],
|
|
2583
2599
|
prev: {},
|
|
2584
2600
|
router: (t) => {
|
|
2585
|
-
t === !1 ? (
|
|
2586
|
-
var
|
|
2601
|
+
t === !1 ? (O.WebApp.BackButton.isVisible = !1, O.WebApp.BackButton.offClick(U.listen[0]), U.listen.shift(), U.state.length !== 1 && U.state.pop()) : (O.WebApp.BackButton.isVisible = !0, O.WebApp.BackButton.offClick(U.listen[0]), U.listen.shift(), U.listen.push(() => {
|
|
2602
|
+
var n;
|
|
2587
2603
|
let r = U.state.pop();
|
|
2588
|
-
U.prev = Ce.getPage(), r.page !== void 0 ? Ce.setPage(r.page) : (
|
|
2589
|
-
}),
|
|
2604
|
+
U.prev = Ce.getPage(), r.page !== void 0 ? Ce.setPage(r.page) : (n = r.callback) == null || n.call(r);
|
|
2605
|
+
}), ce.BackButton.onClick(U.listen[0]));
|
|
2590
2606
|
}
|
|
2591
|
-
},
|
|
2592
|
-
var
|
|
2607
|
+
}, G = (...t) => t.filter((r) => r !== void 0 && r !== !1 && r !== null && r !== "").join(" ");
|
|
2608
|
+
var O;
|
|
2593
2609
|
((t) => {
|
|
2594
2610
|
var r;
|
|
2595
2611
|
t.WebApp = typeof window < "u" && ((r = window.Telegram) == null ? void 0 : r.WebApp) || {}, t.getUser = () => {
|
|
2596
|
-
var
|
|
2597
|
-
return ((
|
|
2598
|
-
}, t.Location = (
|
|
2612
|
+
var n;
|
|
2613
|
+
return ((n = t.WebApp.initDataUnsafe) == null ? void 0 : n.user) === void 0 ? {} : t.WebApp.initDataUnsafe;
|
|
2614
|
+
}, t.Location = (n) => {
|
|
2599
2615
|
if (de.is)
|
|
2600
|
-
return
|
|
2616
|
+
return n({ latitude: 55.752555, longitude: 37.623123 });
|
|
2601
2617
|
let s = () => {
|
|
2602
2618
|
t.WebApp.LocationManager.getLocation(async (i) => {
|
|
2603
2619
|
if (!i) {
|
|
2604
2620
|
t.WebApp.LocationManager.isAccessRequested || t.WebApp.LocationManager.openSettings();
|
|
2605
2621
|
return;
|
|
2606
2622
|
}
|
|
2607
|
-
|
|
2623
|
+
n(i);
|
|
2608
2624
|
});
|
|
2609
2625
|
};
|
|
2610
2626
|
!t.WebApp.LocationManager || !t.WebApp.LocationManager.isInited ? t.WebApp.LocationManager.init(() => {
|
|
2611
2627
|
s();
|
|
2612
2628
|
}) : s();
|
|
2613
2629
|
}, t.Notice = {
|
|
2614
|
-
Send: (
|
|
2630
|
+
Send: (n, s, i) => {
|
|
2615
2631
|
var c, d;
|
|
2616
|
-
s !== void 0 ? (Ee.Send({ type:
|
|
2632
|
+
s !== void 0 ? (Ee.Send({ type: n, text: s, thema: i }), (c = t.WebApp.HapticFeedback) == null || c.notificationOccurred(n)) : (Ee.Send(n), (d = t.WebApp.HapticFeedback) == null || d.notificationOccurred(n.type));
|
|
2617
2633
|
},
|
|
2618
|
-
Error: (
|
|
2634
|
+
Error: (n) => {
|
|
2619
2635
|
var s;
|
|
2620
|
-
Ee.Send({ type: "error", text:
|
|
2636
|
+
Ee.Send({ type: "error", text: n }), (s = t.WebApp.HapticFeedback) == null || s.notificationOccurred("error");
|
|
2621
2637
|
},
|
|
2622
|
-
Success: (
|
|
2638
|
+
Success: (n) => {
|
|
2623
2639
|
var s;
|
|
2624
|
-
Ee.Send({ type: "success", text:
|
|
2640
|
+
Ee.Send({ type: "success", text: n }), (s = t.WebApp.HapticFeedback) == null || s.notificationOccurred("success");
|
|
2625
2641
|
},
|
|
2626
|
-
Warning: (
|
|
2642
|
+
Warning: (n) => {
|
|
2627
2643
|
var s;
|
|
2628
|
-
Ee.Send({ type: "warning", text:
|
|
2644
|
+
Ee.Send({ type: "warning", text: n }), (s = t.WebApp.HapticFeedback) == null || s.notificationOccurred("warning");
|
|
2629
2645
|
}
|
|
2630
|
-
}, t.Header = fn, t.TabBar = Kn, t.BottomSheet = dr, t.BottomSheetControllerSheet =
|
|
2646
|
+
}, t.Header = fn, t.TabBar = Kn, t.Title = Qn, t.BottomSheet = dr, t.BottomSheetControllerSheet = Ao, t.SafeArea = hn, t.Loading = bn, t.Sidebar = Bn, t.SidePanel = oo, t.AppBar = go, t.SideBarController = In, t.SidePanelController = ao, t.Scroll = uo, t.Modal = Yt, t.Menu = kn, t.MainButton = {
|
|
2631
2647
|
callback: [],
|
|
2632
|
-
set: (
|
|
2633
|
-
de.is ? de.MainButton.set(
|
|
2648
|
+
set: (n) => {
|
|
2649
|
+
de.is ? de.MainButton.set(n) : (t.WebApp.MainButton.callback.forEach((s) => {
|
|
2634
2650
|
t.WebApp.MainButton.offClick(s);
|
|
2635
|
-
}), t.WebApp.MainButton.callback = [], typeof
|
|
2651
|
+
}), t.WebApp.MainButton.callback = [], typeof n == "boolean" ? t.WebApp.MainButton.isVisible = !1 : (t.WebApp.MainButton.text = n.text, n.color && (t.WebApp.MainButton.color = n.color), n.textColor && (t.WebApp.MainButton.textColor = n.textColor), t.WebApp.MainButton.isVisible = !0, t.WebApp.MainButton.isActive = n.isActive === void 0 ? !0 : n.isActive, t.WebApp.MainButton.callback.push(() => {
|
|
2636
2652
|
var s;
|
|
2637
|
-
|
|
2653
|
+
n.page === void 0 ? (s = n.callback) == null || s.call(n) : Ce.setPage(n.page);
|
|
2638
2654
|
}), t.WebApp.MainButton.onClick(
|
|
2639
2655
|
t.WebApp.MainButton.callback[0]
|
|
2640
2656
|
)));
|
|
2641
2657
|
}
|
|
2642
2658
|
}, t.BackButtonPrev = () => {
|
|
2643
2659
|
U.prev && (0, t.BackButton)(U.prev);
|
|
2644
|
-
}, t.BackButtonState = () => U.state, t.BackButton = (
|
|
2645
|
-
de.is ? de.BackButton.set(
|
|
2660
|
+
}, t.BackButtonState = () => U.state, t.BackButton = (n) => {
|
|
2661
|
+
de.is ? de.BackButton.set(n) : (U.state.push(n), U.router(n));
|
|
2646
2662
|
};
|
|
2647
|
-
})(
|
|
2648
|
-
const
|
|
2663
|
+
})(O || (O = {}));
|
|
2664
|
+
const Oo = O.TabBar, Po = dr, nr = O.BackButton, Co = O.BackButtonPrev, jo = O.BackButtonState, To = O.Notice, $o = O.SafeArea, No = O.Loading, Mo = O.Menu, Bo = O.SidePanel, Io = O.Scroll, Lo = O.AppBar, Do = O.Title, Uo = O.Sidebar, Fo = O.Location, Wo = O.SidePanelController, qo = O.SideBarController, Yo = O.BottomSheetControllerSheet, { Header: zo, Modal: Vo, MainButton: Jo, WebApp: ce, getUser: Ho } = O;
|
|
2649
2665
|
export {
|
|
2650
|
-
|
|
2666
|
+
Lo as AppBar,
|
|
2651
2667
|
nr as BackButton,
|
|
2652
|
-
|
|
2653
|
-
|
|
2654
|
-
|
|
2655
|
-
|
|
2656
|
-
|
|
2657
|
-
|
|
2658
|
-
|
|
2659
|
-
|
|
2660
|
-
|
|
2661
|
-
|
|
2662
|
-
|
|
2663
|
-
|
|
2664
|
-
|
|
2665
|
-
|
|
2666
|
-
|
|
2667
|
-
|
|
2668
|
-
|
|
2669
|
-
|
|
2670
|
-
|
|
2671
|
-
|
|
2672
|
-
|
|
2673
|
-
|
|
2668
|
+
Co as BackButtonPrev,
|
|
2669
|
+
jo as BackButtonState,
|
|
2670
|
+
Po as BottomSheet,
|
|
2671
|
+
Yo as BottomSheetControllerSheet,
|
|
2672
|
+
zo as Header,
|
|
2673
|
+
No as Loading,
|
|
2674
|
+
Fo as Location,
|
|
2675
|
+
Jo as MainButton,
|
|
2676
|
+
Mo as Menu,
|
|
2677
|
+
Vo as Modal,
|
|
2678
|
+
To as Notice,
|
|
2679
|
+
$o as SafeArea,
|
|
2680
|
+
Io as Scroll,
|
|
2681
|
+
qo as SideBarController,
|
|
2682
|
+
Bo as SidePanel,
|
|
2683
|
+
Wo as SidePanelController,
|
|
2684
|
+
Uo as Sidebar,
|
|
2685
|
+
Oo as TabBar,
|
|
2686
|
+
Do as Title,
|
|
2687
|
+
ce as WebApp,
|
|
2688
|
+
G as clsx,
|
|
2689
|
+
O as default,
|
|
2690
|
+
Ho as getUser
|
|
2674
2691
|
};
|