@elcrm/telegram 0.0.128 → 0.0.129
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.es.js +440 -436
- package/dist/index.umd.js +18 -18
- package/dist/src/lib/Sidebar/Sidebar.d.ts +1 -1
- package/dist/src/lib/index.d.ts +1 -0
- package/dist/test/main.d.ts +0 -0
- package/dist/test/pages/Load/index.d.ts +2 -0
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import J, { useState as
|
|
2
|
-
import { createPortal as
|
|
3
|
-
import './index.css';var
|
|
1
|
+
import J, { useState as T, useEffect as D } from "react";
|
|
2
|
+
import { createPortal as pr } from "react-dom";
|
|
3
|
+
import './index.css';var Wt = { exports: {} }, Je = {};
|
|
4
4
|
/**
|
|
5
5
|
* @license React
|
|
6
6
|
* react-jsx-runtime.production.min.js
|
|
@@ -10,10 +10,10 @@ import './index.css';var Ft = { exports: {} }, Je = {};
|
|
|
10
10
|
* This source code is licensed under the MIT license found in the
|
|
11
11
|
* LICENSE file in the root directory of this source tree.
|
|
12
12
|
*/
|
|
13
|
-
var
|
|
14
|
-
function
|
|
15
|
-
if (
|
|
16
|
-
|
|
13
|
+
var Jt;
|
|
14
|
+
function vr() {
|
|
15
|
+
if (Jt) return Je;
|
|
16
|
+
Jt = 1;
|
|
17
17
|
var t = J, n = Symbol.for("react.element"), o = Symbol.for("react.fragment"), i = Object.prototype.hasOwnProperty, s = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, c = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
18
18
|
function p(v, f, b) {
|
|
19
19
|
var h, g = {}, _ = null, x = null;
|
|
@@ -34,14 +34,14 @@ var He = {};
|
|
|
34
34
|
* This source code is licensed under the MIT license found in the
|
|
35
35
|
* LICENSE file in the root directory of this source tree.
|
|
36
36
|
*/
|
|
37
|
-
var
|
|
38
|
-
function
|
|
39
|
-
return
|
|
40
|
-
var t = J, n = Symbol.for("react.element"), o = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), s = Symbol.for("react.strict_mode"), c = Symbol.for("react.profiler"), p = Symbol.for("react.provider"), v = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"), b = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), g = Symbol.for("react.memo"), _ = Symbol.for("react.lazy"), x = Symbol.for("react.offscreen"),
|
|
41
|
-
function
|
|
37
|
+
var Ht;
|
|
38
|
+
function hr() {
|
|
39
|
+
return Ht || (Ht = 1, process.env.NODE_ENV !== "production" && function() {
|
|
40
|
+
var t = J, n = Symbol.for("react.element"), o = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), s = Symbol.for("react.strict_mode"), c = Symbol.for("react.profiler"), p = Symbol.for("react.provider"), v = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"), b = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), g = Symbol.for("react.memo"), _ = Symbol.for("react.lazy"), x = Symbol.for("react.offscreen"), P = Symbol.iterator, ot = "@@iterator";
|
|
41
|
+
function at(e) {
|
|
42
42
|
if (e === null || typeof e != "object")
|
|
43
43
|
return null;
|
|
44
|
-
var r =
|
|
44
|
+
var r = P && e[P] || e[ot];
|
|
45
45
|
return typeof r == "function" ? r : null;
|
|
46
46
|
}
|
|
47
47
|
var U = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
@@ -49,10 +49,10 @@ function vr() {
|
|
|
49
49
|
{
|
|
50
50
|
for (var r = arguments.length, a = new Array(r > 1 ? r - 1 : 0), u = 1; u < r; u++)
|
|
51
51
|
a[u - 1] = arguments[u];
|
|
52
|
-
|
|
52
|
+
st("error", e, a);
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
|
-
function
|
|
55
|
+
function st(e, r, a) {
|
|
56
56
|
{
|
|
57
57
|
var u = U.ReactDebugCurrentFrame, y = u.getStackAddendum();
|
|
58
58
|
y !== "" && (r += "%s", a = a.concat([y]));
|
|
@@ -62,23 +62,23 @@ function vr() {
|
|
|
62
62
|
R.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, R);
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
|
-
var
|
|
66
|
-
|
|
67
|
-
function
|
|
68
|
-
return !!(typeof e == "string" || typeof e == "function" || e === i || e === c ||
|
|
65
|
+
var it = !1, ct = !1, lt = !1, ut = !1, ft = !1, Se;
|
|
66
|
+
Se = Symbol.for("react.module.reference");
|
|
67
|
+
function dt(e) {
|
|
68
|
+
return !!(typeof e == "string" || typeof e == "function" || e === i || e === c || ft || e === s || e === b || e === h || ut || e === x || it || ct || lt || typeof e == "object" && e !== null && (e.$$typeof === _ || e.$$typeof === g || e.$$typeof === p || e.$$typeof === v || 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
|
-
e.$$typeof ===
|
|
72
|
+
e.$$typeof === Se || e.getModuleId !== void 0));
|
|
73
73
|
}
|
|
74
|
-
function
|
|
74
|
+
function pt(e, r, a) {
|
|
75
75
|
var u = e.displayName;
|
|
76
76
|
if (u)
|
|
77
77
|
return u;
|
|
78
78
|
var y = r.displayName || r.name || "";
|
|
79
79
|
return y !== "" ? a + "(" + y + ")" : a;
|
|
80
80
|
}
|
|
81
|
-
function
|
|
81
|
+
function Ee(e) {
|
|
82
82
|
return e.displayName || "Context";
|
|
83
83
|
}
|
|
84
84
|
function $(e) {
|
|
@@ -106,12 +106,12 @@ function vr() {
|
|
|
106
106
|
switch (e.$$typeof) {
|
|
107
107
|
case v:
|
|
108
108
|
var r = e;
|
|
109
|
-
return
|
|
109
|
+
return Ee(r) + ".Consumer";
|
|
110
110
|
case p:
|
|
111
111
|
var a = e;
|
|
112
|
-
return
|
|
112
|
+
return Ee(a._context) + ".Provider";
|
|
113
113
|
case f:
|
|
114
|
-
return
|
|
114
|
+
return pt(e, e.render, "ForwardRef");
|
|
115
115
|
case g:
|
|
116
116
|
var u = e.displayName || null;
|
|
117
117
|
return u !== null ? u : $(e.type) || "Memo";
|
|
@@ -127,17 +127,17 @@ function vr() {
|
|
|
127
127
|
return null;
|
|
128
128
|
}
|
|
129
129
|
var N = Object.assign, q = 0, xe, Ae, je, ke, Oe, Pe, we;
|
|
130
|
-
function
|
|
130
|
+
function Ce() {
|
|
131
131
|
}
|
|
132
|
-
|
|
133
|
-
function
|
|
132
|
+
Ce.__reactDisabledLog = !0;
|
|
133
|
+
function vt() {
|
|
134
134
|
{
|
|
135
135
|
if (q === 0) {
|
|
136
136
|
xe = console.log, Ae = console.info, je = console.warn, ke = console.error, Oe = console.group, Pe = console.groupCollapsed, we = console.groupEnd;
|
|
137
137
|
var e = {
|
|
138
138
|
configurable: !0,
|
|
139
139
|
enumerable: !0,
|
|
140
|
-
value:
|
|
140
|
+
value: Ce,
|
|
141
141
|
writable: !0
|
|
142
142
|
};
|
|
143
143
|
Object.defineProperties(console, {
|
|
@@ -153,7 +153,7 @@ function vr() {
|
|
|
153
153
|
q++;
|
|
154
154
|
}
|
|
155
155
|
}
|
|
156
|
-
function
|
|
156
|
+
function ht() {
|
|
157
157
|
{
|
|
158
158
|
if (q--, q === 0) {
|
|
159
159
|
var e = {
|
|
@@ -204,10 +204,10 @@ function vr() {
|
|
|
204
204
|
}
|
|
205
205
|
var ce = !1, X;
|
|
206
206
|
{
|
|
207
|
-
var
|
|
208
|
-
X = new
|
|
207
|
+
var mt = typeof WeakMap == "function" ? WeakMap : Map;
|
|
208
|
+
X = new mt();
|
|
209
209
|
}
|
|
210
|
-
function
|
|
210
|
+
function Te(e, r) {
|
|
211
211
|
if (!e || ce)
|
|
212
212
|
return "";
|
|
213
213
|
{
|
|
@@ -220,7 +220,7 @@ function vr() {
|
|
|
220
220
|
var y = Error.prepareStackTrace;
|
|
221
221
|
Error.prepareStackTrace = void 0;
|
|
222
222
|
var R;
|
|
223
|
-
R = se.current, se.current = null,
|
|
223
|
+
R = se.current, se.current = null, vt();
|
|
224
224
|
try {
|
|
225
225
|
if (r) {
|
|
226
226
|
var m = function() {
|
|
@@ -257,31 +257,31 @@ function vr() {
|
|
|
257
257
|
if (O && u && typeof O.stack == "string") {
|
|
258
258
|
for (var d = O.stack.split(`
|
|
259
259
|
`), k = u.stack.split(`
|
|
260
|
-
`),
|
|
261
|
-
|
|
262
|
-
for (;
|
|
263
|
-
if (d[
|
|
264
|
-
if (
|
|
260
|
+
`), S = d.length - 1, E = k.length - 1; S >= 1 && E >= 0 && d[S] !== k[E]; )
|
|
261
|
+
E--;
|
|
262
|
+
for (; S >= 1 && E >= 0; S--, E--)
|
|
263
|
+
if (d[S] !== k[E]) {
|
|
264
|
+
if (S !== 1 || E !== 1)
|
|
265
265
|
do
|
|
266
|
-
if (
|
|
267
|
-
var
|
|
268
|
-
` + d[
|
|
269
|
-
return e.displayName &&
|
|
266
|
+
if (S--, E--, E < 0 || d[S] !== k[E]) {
|
|
267
|
+
var w = `
|
|
268
|
+
` + d[S].replace(" at new ", " at ");
|
|
269
|
+
return e.displayName && w.includes("<anonymous>") && (w = w.replace("<anonymous>", e.displayName)), typeof e == "function" && X.set(e, w), w;
|
|
270
270
|
}
|
|
271
|
-
while (
|
|
271
|
+
while (S >= 1 && E >= 0);
|
|
272
272
|
break;
|
|
273
273
|
}
|
|
274
274
|
}
|
|
275
275
|
} finally {
|
|
276
|
-
ce = !1, se.current = R,
|
|
276
|
+
ce = !1, se.current = R, ht(), Error.prepareStackTrace = y;
|
|
277
277
|
}
|
|
278
278
|
var W = e ? e.displayName || e.name : "", I = W ? G(W) : "";
|
|
279
279
|
return typeof e == "function" && X.set(e, I), I;
|
|
280
280
|
}
|
|
281
|
-
function
|
|
282
|
-
return
|
|
281
|
+
function gt(e, r, a) {
|
|
282
|
+
return Te(e, !1);
|
|
283
283
|
}
|
|
284
|
-
function
|
|
284
|
+
function bt(e) {
|
|
285
285
|
var r = e.prototype;
|
|
286
286
|
return !!(r && r.isReactComponent);
|
|
287
287
|
}
|
|
@@ -289,7 +289,7 @@ function vr() {
|
|
|
289
289
|
if (e == null)
|
|
290
290
|
return "";
|
|
291
291
|
if (typeof e == "function")
|
|
292
|
-
return
|
|
292
|
+
return Te(e, bt(e));
|
|
293
293
|
if (typeof e == "string")
|
|
294
294
|
return G(e);
|
|
295
295
|
switch (e) {
|
|
@@ -301,7 +301,7 @@ function vr() {
|
|
|
301
301
|
if (typeof e == "object")
|
|
302
302
|
switch (e.$$typeof) {
|
|
303
303
|
case f:
|
|
304
|
-
return
|
|
304
|
+
return gt(e.render);
|
|
305
305
|
case g:
|
|
306
306
|
return Z(e.type, r, a);
|
|
307
307
|
case _: {
|
|
@@ -322,7 +322,7 @@ function vr() {
|
|
|
322
322
|
} else
|
|
323
323
|
Ne.setExtraStackFrame(null);
|
|
324
324
|
}
|
|
325
|
-
function
|
|
325
|
+
function yt(e, r, a, u, y) {
|
|
326
326
|
{
|
|
327
327
|
var R = Function.call.bind(z);
|
|
328
328
|
for (var m in e)
|
|
@@ -334,24 +334,24 @@ function vr() {
|
|
|
334
334
|
throw k.name = "Invariant Violation", k;
|
|
335
335
|
}
|
|
336
336
|
d = e[m](r, m, u, a, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
337
|
-
} catch (
|
|
338
|
-
d =
|
|
337
|
+
} catch (S) {
|
|
338
|
+
d = S;
|
|
339
339
|
}
|
|
340
340
|
d && !(d instanceof Error) && (Q(y), j("%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 d), Q(null)), d instanceof Error && !(d.message in $e) && ($e[d.message] = !0, Q(y), j("Failed %s type: %s", a, d.message), Q(null));
|
|
341
341
|
}
|
|
342
342
|
}
|
|
343
343
|
}
|
|
344
|
-
var
|
|
344
|
+
var _t = Array.isArray;
|
|
345
345
|
function le(e) {
|
|
346
|
-
return
|
|
346
|
+
return _t(e);
|
|
347
347
|
}
|
|
348
|
-
function
|
|
348
|
+
function Rt(e) {
|
|
349
349
|
{
|
|
350
350
|
var r = typeof Symbol == "function" && Symbol.toStringTag, a = r && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
351
351
|
return a;
|
|
352
352
|
}
|
|
353
353
|
}
|
|
354
|
-
function
|
|
354
|
+
function St(e) {
|
|
355
355
|
try {
|
|
356
356
|
return Ie(e), !1;
|
|
357
357
|
} catch {
|
|
@@ -362,8 +362,8 @@ function vr() {
|
|
|
362
362
|
return "" + e;
|
|
363
363
|
}
|
|
364
364
|
function Me(e) {
|
|
365
|
-
if (
|
|
366
|
-
return j("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",
|
|
365
|
+
if (St(e))
|
|
366
|
+
return j("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Rt(e)), Ie(e);
|
|
367
367
|
}
|
|
368
368
|
var Be = U.ReactCurrentOwner, Et = {
|
|
369
369
|
key: !0,
|
|
@@ -371,7 +371,7 @@ function vr() {
|
|
|
371
371
|
__self: !0,
|
|
372
372
|
__source: !0
|
|
373
373
|
}, Le, De;
|
|
374
|
-
function
|
|
374
|
+
function xt(e) {
|
|
375
375
|
if (z.call(e, "ref")) {
|
|
376
376
|
var r = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
377
377
|
if (r && r.isReactWarning)
|
|
@@ -379,7 +379,7 @@ function vr() {
|
|
|
379
379
|
}
|
|
380
380
|
return e.ref !== void 0;
|
|
381
381
|
}
|
|
382
|
-
function
|
|
382
|
+
function At(e) {
|
|
383
383
|
if (z.call(e, "key")) {
|
|
384
384
|
var r = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
385
385
|
if (r && r.isReactWarning)
|
|
@@ -387,10 +387,10 @@ function vr() {
|
|
|
387
387
|
}
|
|
388
388
|
return e.key !== void 0;
|
|
389
389
|
}
|
|
390
|
-
function
|
|
390
|
+
function jt(e, r) {
|
|
391
391
|
typeof e.ref == "string" && Be.current;
|
|
392
392
|
}
|
|
393
|
-
function
|
|
393
|
+
function kt(e, r) {
|
|
394
394
|
{
|
|
395
395
|
var a = function() {
|
|
396
396
|
Le || (Le = !0, j("%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)", r));
|
|
@@ -401,7 +401,7 @@ function vr() {
|
|
|
401
401
|
});
|
|
402
402
|
}
|
|
403
403
|
}
|
|
404
|
-
function
|
|
404
|
+
function Ot(e, r) {
|
|
405
405
|
{
|
|
406
406
|
var a = function() {
|
|
407
407
|
De || (De = !0, j("%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)", r));
|
|
@@ -412,7 +412,7 @@ function vr() {
|
|
|
412
412
|
});
|
|
413
413
|
}
|
|
414
414
|
}
|
|
415
|
-
var
|
|
415
|
+
var Pt = function(e, r, a, u, y, R, m) {
|
|
416
416
|
var d = {
|
|
417
417
|
// This tag allows us to uniquely identify this as a React Element
|
|
418
418
|
$$typeof: n,
|
|
@@ -441,22 +441,22 @@ function vr() {
|
|
|
441
441
|
value: y
|
|
442
442
|
}), Object.freeze && (Object.freeze(d.props), Object.freeze(d)), d;
|
|
443
443
|
};
|
|
444
|
-
function
|
|
444
|
+
function wt(e, r, a, u, y) {
|
|
445
445
|
{
|
|
446
446
|
var R, m = {}, d = null, k = null;
|
|
447
|
-
a !== void 0 && (Me(a), d = "" + a),
|
|
447
|
+
a !== void 0 && (Me(a), d = "" + a), At(r) && (Me(r.key), d = "" + r.key), xt(r) && (k = r.ref, jt(r, y));
|
|
448
448
|
for (R in r)
|
|
449
449
|
z.call(r, R) && !Et.hasOwnProperty(R) && (m[R] = r[R]);
|
|
450
450
|
if (e && e.defaultProps) {
|
|
451
|
-
var
|
|
452
|
-
for (R in
|
|
453
|
-
m[R] === void 0 && (m[R] =
|
|
451
|
+
var S = e.defaultProps;
|
|
452
|
+
for (R in S)
|
|
453
|
+
m[R] === void 0 && (m[R] = S[R]);
|
|
454
454
|
}
|
|
455
455
|
if (d || k) {
|
|
456
|
-
var
|
|
457
|
-
d &&
|
|
456
|
+
var E = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
457
|
+
d && kt(m, E), k && Ot(m, E);
|
|
458
458
|
}
|
|
459
|
-
return
|
|
459
|
+
return Pt(e, d, k, y, u, Be.current, m);
|
|
460
460
|
}
|
|
461
461
|
}
|
|
462
462
|
var ue = U.ReactCurrentOwner, Ue = U.ReactDebugCurrentFrame;
|
|
@@ -484,7 +484,7 @@ Check the render method of \`` + e + "`.";
|
|
|
484
484
|
return "";
|
|
485
485
|
}
|
|
486
486
|
}
|
|
487
|
-
function
|
|
487
|
+
function Ct(e) {
|
|
488
488
|
return "";
|
|
489
489
|
}
|
|
490
490
|
var We = {};
|
|
@@ -525,14 +525,14 @@ Check the top-level render call using <` + a + ">.");
|
|
|
525
525
|
else if (de(e))
|
|
526
526
|
e._store && (e._store.validated = !0);
|
|
527
527
|
else if (e) {
|
|
528
|
-
var y =
|
|
528
|
+
var y = at(e);
|
|
529
529
|
if (typeof y == "function" && y !== e.entries)
|
|
530
530
|
for (var R = y.call(e), m; !(m = R.next()).done; )
|
|
531
531
|
de(m.value) && Ye(m.value, r);
|
|
532
532
|
}
|
|
533
533
|
}
|
|
534
534
|
}
|
|
535
|
-
function
|
|
535
|
+
function $t(e) {
|
|
536
536
|
{
|
|
537
537
|
var r = e.type;
|
|
538
538
|
if (r == null || typeof r == "string")
|
|
@@ -548,7 +548,7 @@ Check the top-level render call using <` + a + ">.");
|
|
|
548
548
|
return;
|
|
549
549
|
if (a) {
|
|
550
550
|
var u = $(r);
|
|
551
|
-
|
|
551
|
+
yt(a, e.props, "prop", u, e);
|
|
552
552
|
} else if (r.PropTypes !== void 0 && !fe) {
|
|
553
553
|
fe = !0;
|
|
554
554
|
var y = $(r);
|
|
@@ -557,7 +557,7 @@ Check the top-level render call using <` + a + ">.");
|
|
|
557
557
|
typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && j("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
558
558
|
}
|
|
559
559
|
}
|
|
560
|
-
function
|
|
560
|
+
function Nt(e) {
|
|
561
561
|
{
|
|
562
562
|
for (var r = Object.keys(e.props), a = 0; a < r.length; a++) {
|
|
563
563
|
var u = r[a];
|
|
@@ -572,68 +572,68 @@ Check the top-level render call using <` + a + ">.");
|
|
|
572
572
|
var ze = {};
|
|
573
573
|
function Ve(e, r, a, u, y, R) {
|
|
574
574
|
{
|
|
575
|
-
var m =
|
|
575
|
+
var m = dt(e);
|
|
576
576
|
if (!m) {
|
|
577
577
|
var d = "";
|
|
578
578
|
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (d += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
579
|
-
var k =
|
|
579
|
+
var k = Ct();
|
|
580
580
|
k ? d += k : d += Fe();
|
|
581
|
-
var
|
|
582
|
-
e === null ?
|
|
581
|
+
var S;
|
|
582
|
+
e === null ? S = "null" : le(e) ? S = "array" : e !== void 0 && e.$$typeof === n ? (S = "<" + ($(e.type) || "Unknown") + " />", d = " Did you accidentally export a JSX literal instead of a component?") : S = typeof e, j("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", S, d);
|
|
583
583
|
}
|
|
584
|
-
var
|
|
585
|
-
if (
|
|
586
|
-
return
|
|
584
|
+
var E = wt(e, r, a, y, R);
|
|
585
|
+
if (E == null)
|
|
586
|
+
return E;
|
|
587
587
|
if (m) {
|
|
588
|
-
var
|
|
589
|
-
if (
|
|
588
|
+
var w = r.children;
|
|
589
|
+
if (w !== void 0)
|
|
590
590
|
if (u)
|
|
591
|
-
if (le(
|
|
592
|
-
for (var W = 0; W <
|
|
593
|
-
qe(
|
|
594
|
-
Object.freeze && Object.freeze(
|
|
591
|
+
if (le(w)) {
|
|
592
|
+
for (var W = 0; W < w.length; W++)
|
|
593
|
+
qe(w[W], e);
|
|
594
|
+
Object.freeze && Object.freeze(w);
|
|
595
595
|
} else
|
|
596
596
|
j("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
|
-
qe(
|
|
598
|
+
qe(w, e);
|
|
599
599
|
}
|
|
600
600
|
if (z.call(r, "key")) {
|
|
601
|
-
var I = $(e), O = Object.keys(r).filter(function(
|
|
602
|
-
return
|
|
601
|
+
var I = $(e), O = Object.keys(r).filter(function(Ut) {
|
|
602
|
+
return Ut !== "key";
|
|
603
603
|
}), pe = O.length > 0 ? "{key: someKey, " + O.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
604
604
|
if (!ze[I + pe]) {
|
|
605
|
-
var
|
|
605
|
+
var Dt = O.length > 0 ? "{" + O.join(": ..., ") + ": ...}" : "{}";
|
|
606
606
|
j(`A props object containing a "key" prop is being spread into JSX:
|
|
607
607
|
let props = %s;
|
|
608
608
|
<%s {...props} />
|
|
609
609
|
React keys must be passed directly to JSX without using spread:
|
|
610
610
|
let props = %s;
|
|
611
|
-
<%s key={someKey} {...props} />`, pe, I,
|
|
611
|
+
<%s key={someKey} {...props} />`, pe, I, Dt, I), ze[I + pe] = !0;
|
|
612
612
|
}
|
|
613
613
|
}
|
|
614
|
-
return e === i ?
|
|
614
|
+
return e === i ? Nt(E) : $t(E), E;
|
|
615
615
|
}
|
|
616
616
|
}
|
|
617
|
-
function
|
|
617
|
+
function It(e, r, a) {
|
|
618
618
|
return Ve(e, r, a, !0);
|
|
619
619
|
}
|
|
620
|
-
function
|
|
620
|
+
function Mt(e, r, a) {
|
|
621
621
|
return Ve(e, r, a, !1);
|
|
622
622
|
}
|
|
623
|
-
var
|
|
624
|
-
He.Fragment = i, He.jsx =
|
|
623
|
+
var Bt = Mt, Lt = It;
|
|
624
|
+
He.Fragment = i, He.jsx = Bt, He.jsxs = Lt;
|
|
625
625
|
}()), He;
|
|
626
626
|
}
|
|
627
|
-
process.env.NODE_ENV === "production" ?
|
|
628
|
-
var l =
|
|
629
|
-
const
|
|
630
|
-
o:
|
|
631
|
-
x:
|
|
632
|
-
p:
|
|
633
|
-
m:
|
|
627
|
+
process.env.NODE_ENV === "production" ? Wt.exports = vr() : Wt.exports = hr();
|
|
628
|
+
var l = Wt.exports;
|
|
629
|
+
const mr = "_o_1apbm_11", gr = "_x_1apbm_24", br = "_p_1apbm_28", yr = "_m_1apbm_45", ye = {
|
|
630
|
+
o: mr,
|
|
631
|
+
x: gr,
|
|
632
|
+
p: br,
|
|
633
|
+
m: yr
|
|
634
634
|
};
|
|
635
635
|
let Y = {};
|
|
636
|
-
var
|
|
636
|
+
var Yt;
|
|
637
637
|
((t) => {
|
|
638
638
|
function n({
|
|
639
639
|
children: v,
|
|
@@ -641,13 +641,13 @@ var Wt;
|
|
|
641
641
|
nameModal: b,
|
|
642
642
|
offsetTop: h
|
|
643
643
|
}) {
|
|
644
|
-
const [g, _] =
|
|
644
|
+
const [g, _] = T(!1), [x, P] = T(!1);
|
|
645
645
|
if (Y[b].onClose = () => {
|
|
646
|
-
|
|
647
|
-
_(!1),
|
|
646
|
+
C.BackButton(!1), P(!0), setTimeout(() => {
|
|
647
|
+
_(!1), P(!1), f == null || f(), Y.x(b);
|
|
648
648
|
}, 300);
|
|
649
649
|
}, D(() => {
|
|
650
|
-
g ? Y[b].onClose() : (
|
|
650
|
+
g ? Y[b].onClose() : (C.BackButton({
|
|
651
651
|
callback: () => Y[b].onClose()
|
|
652
652
|
}), _(!0));
|
|
653
653
|
}, []), !!g)
|
|
@@ -667,7 +667,7 @@ var Wt;
|
|
|
667
667
|
function o({
|
|
668
668
|
import_modules: v
|
|
669
669
|
}) {
|
|
670
|
-
let [f, b] =
|
|
670
|
+
let [f, b] = T([]);
|
|
671
671
|
return Y.x = (h) => {
|
|
672
672
|
b(h ? f.filter((g) => g.key !== h) : []);
|
|
673
673
|
}, D(() => {
|
|
@@ -702,8 +702,8 @@ var Wt;
|
|
|
702
702
|
{
|
|
703
703
|
..._,
|
|
704
704
|
onCallbackModal: (x) => {
|
|
705
|
-
var
|
|
706
|
-
(
|
|
705
|
+
var P;
|
|
706
|
+
(P = _.callback) == null || P.call(_, x);
|
|
707
707
|
},
|
|
708
708
|
nameModal: f
|
|
709
709
|
},
|
|
@@ -727,23 +727,23 @@ var Wt;
|
|
|
727
727
|
}));
|
|
728
728
|
}
|
|
729
729
|
t.Open = p;
|
|
730
|
-
})(
|
|
731
|
-
function
|
|
730
|
+
})(Yt || (Yt = {}));
|
|
731
|
+
function or() {
|
|
732
732
|
return typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof self < "u" ? self : typeof global < "u" ? global : {};
|
|
733
733
|
}
|
|
734
|
-
const
|
|
734
|
+
const ar = {
|
|
735
735
|
key: "Y0zt37HgOx-BY7SQjYVmrqhPkO41Ii2Jcb9yydUDPf6",
|
|
736
736
|
iterations: 7,
|
|
737
737
|
saltLength: 16
|
|
738
738
|
};
|
|
739
|
-
function
|
|
740
|
-
const n =
|
|
741
|
-
n.CRYPTO_PARAMS ? n.CRYPTO_PARAMS = { ...n.CRYPTO_PARAMS, ...t } : n.CRYPTO_PARAMS = { ...
|
|
739
|
+
function Kt(t) {
|
|
740
|
+
const n = or();
|
|
741
|
+
n.CRYPTO_PARAMS ? n.CRYPTO_PARAMS = { ...n.CRYPTO_PARAMS, ...t } : n.CRYPTO_PARAMS = { ...ar, ...t };
|
|
742
742
|
}
|
|
743
|
-
function
|
|
744
|
-
return
|
|
743
|
+
function tt() {
|
|
744
|
+
return or().CRYPTO_PARAMS || ar;
|
|
745
745
|
}
|
|
746
|
-
const
|
|
746
|
+
const rt = (t) => {
|
|
747
747
|
let n = 0;
|
|
748
748
|
for (let i = 0; i < t.length; i++) {
|
|
749
749
|
const s = t.charCodeAt(i);
|
|
@@ -756,15 +756,15 @@ const tt = (t) => {
|
|
|
756
756
|
o += s.toString(16).padStart(2, "0");
|
|
757
757
|
}
|
|
758
758
|
return o;
|
|
759
|
-
},
|
|
759
|
+
}, sr = (t, n) => {
|
|
760
760
|
let o = t + n;
|
|
761
|
-
for (let s = 0; s <
|
|
762
|
-
o =
|
|
761
|
+
for (let s = 0; s < tt().iterations; s++)
|
|
762
|
+
o = rt(o);
|
|
763
763
|
const i = new Uint8Array(32);
|
|
764
764
|
for (let s = 0; s < 32; s++)
|
|
765
765
|
i[s] = parseInt(o.substring(s * 2, s * 2 + 2), 16);
|
|
766
766
|
return i;
|
|
767
|
-
},
|
|
767
|
+
}, ir = (t, n) => {
|
|
768
768
|
const o = new Uint8Array(t.length), i = new Uint8Array(t.length);
|
|
769
769
|
let s = 0;
|
|
770
770
|
for (let c = 0; c < t.length; c++) {
|
|
@@ -774,7 +774,7 @@ const tt = (t) => {
|
|
|
774
774
|
for (let c = 0; c < t.length; c++)
|
|
775
775
|
o[c] = t[c] ^ i[c];
|
|
776
776
|
return o;
|
|
777
|
-
},
|
|
777
|
+
}, _r = (t) => new TextEncoder().encode(t), Rr = (t) => new TextDecoder().decode(t), Sr = (t) => {
|
|
778
778
|
let n = "";
|
|
779
779
|
for (let o = 0; o < t.length; o += 8192) {
|
|
780
780
|
const i = t.slice(o, Math.min(o + 8192, t.length));
|
|
@@ -786,22 +786,22 @@ const tt = (t) => {
|
|
|
786
786
|
for (let i = 0; i < n.length; i++)
|
|
787
787
|
o[i] = n.charCodeAt(i);
|
|
788
788
|
return o;
|
|
789
|
-
},
|
|
789
|
+
}, xr = (t) => {
|
|
790
790
|
try {
|
|
791
|
-
const n =
|
|
791
|
+
const n = rt(
|
|
792
792
|
Date.now().toString() + Math.random()
|
|
793
|
-
).substring(0,
|
|
793
|
+
).substring(0, tt().saltLength * 2), o = rt(t + n).substring(0, 8), i = sr(tt().key, n), s = _r(t), c = ir(s, i), p = Sr(c);
|
|
794
794
|
return `${n}.${p}.${o}`;
|
|
795
795
|
} catch {
|
|
796
796
|
throw new Error("Не удалось зашифровать данные");
|
|
797
797
|
}
|
|
798
|
-
},
|
|
798
|
+
}, Ar = (t) => {
|
|
799
799
|
try {
|
|
800
800
|
const n = t.split(".");
|
|
801
801
|
if (n.length !== 3)
|
|
802
802
|
throw new Error("Неверный формат зашифрованных данных");
|
|
803
|
-
const o = n[0], i = n[1], s = n[2], c =
|
|
804
|
-
if (
|
|
803
|
+
const o = n[0], i = n[1], s = n[2], c = sr(tt().key, o), p = Er(i), v = ir(p, c), f = Rr(v);
|
|
804
|
+
if (rt(f + o).substring(
|
|
805
805
|
0,
|
|
806
806
|
8
|
|
807
807
|
) !== s)
|
|
@@ -814,11 +814,11 @@ const tt = (t) => {
|
|
|
814
814
|
var ae;
|
|
815
815
|
((t) => {
|
|
816
816
|
t.setKey = (n) => {
|
|
817
|
-
|
|
817
|
+
Kt({ key: n });
|
|
818
818
|
}, t.enCode = (n) => {
|
|
819
819
|
try {
|
|
820
820
|
const o = JSON.stringify(n);
|
|
821
|
-
return
|
|
821
|
+
return xr(o);
|
|
822
822
|
} catch {
|
|
823
823
|
throw new Error("Не удалось зашифровать объект");
|
|
824
824
|
}
|
|
@@ -826,13 +826,13 @@ var ae;
|
|
|
826
826
|
try {
|
|
827
827
|
if (!n || n.length < 10)
|
|
828
828
|
return !1;
|
|
829
|
-
const o =
|
|
829
|
+
const o = Ar(n);
|
|
830
830
|
return o && JSON.parse(o) || !1;
|
|
831
831
|
} catch {
|
|
832
832
|
return !1;
|
|
833
833
|
}
|
|
834
834
|
}, t.setSecurityParams = (n, o) => {
|
|
835
|
-
|
|
835
|
+
Kt({ iterations: n, saltLength: o });
|
|
836
836
|
};
|
|
837
837
|
})(ae || (ae = {}));
|
|
838
838
|
var Ke = {};
|
|
@@ -845,10 +845,10 @@ var Ke = {};
|
|
|
845
845
|
* This source code is licensed under the MIT license found in the
|
|
846
846
|
* LICENSE file in the root directory of this source tree.
|
|
847
847
|
*/
|
|
848
|
-
var
|
|
849
|
-
function
|
|
850
|
-
if (
|
|
851
|
-
|
|
848
|
+
var Gt;
|
|
849
|
+
function jr() {
|
|
850
|
+
if (Gt) return Ke;
|
|
851
|
+
Gt = 1;
|
|
852
852
|
var t = J, n = Symbol.for("react.element"), o = Symbol.for("react.fragment"), i = Object.prototype.hasOwnProperty, s = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, c = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
853
853
|
function p(v, f, b) {
|
|
854
854
|
var h, g = {}, _ = null, x = null;
|
|
@@ -869,14 +869,14 @@ var Xe = {};
|
|
|
869
869
|
* This source code is licensed under the MIT license found in the
|
|
870
870
|
* LICENSE file in the root directory of this source tree.
|
|
871
871
|
*/
|
|
872
|
-
var
|
|
873
|
-
function
|
|
874
|
-
return
|
|
875
|
-
var t = J, n = Symbol.for("react.element"), o = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), s = Symbol.for("react.strict_mode"), c = Symbol.for("react.profiler"), p = Symbol.for("react.provider"), v = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"), b = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), g = Symbol.for("react.memo"), _ = Symbol.for("react.lazy"), x = Symbol.for("react.offscreen"),
|
|
876
|
-
function
|
|
872
|
+
var Xt;
|
|
873
|
+
function kr() {
|
|
874
|
+
return Xt || (Xt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
875
|
+
var t = J, n = Symbol.for("react.element"), o = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), s = Symbol.for("react.strict_mode"), c = Symbol.for("react.profiler"), p = Symbol.for("react.provider"), v = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"), b = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), g = Symbol.for("react.memo"), _ = Symbol.for("react.lazy"), x = Symbol.for("react.offscreen"), P = Symbol.iterator, ot = "@@iterator";
|
|
876
|
+
function at(e) {
|
|
877
877
|
if (e === null || typeof e != "object")
|
|
878
878
|
return null;
|
|
879
|
-
var r =
|
|
879
|
+
var r = P && e[P] || e[ot];
|
|
880
880
|
return typeof r == "function" ? r : null;
|
|
881
881
|
}
|
|
882
882
|
var U = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
@@ -884,10 +884,10 @@ function jr() {
|
|
|
884
884
|
{
|
|
885
885
|
for (var r = arguments.length, a = new Array(r > 1 ? r - 1 : 0), u = 1; u < r; u++)
|
|
886
886
|
a[u - 1] = arguments[u];
|
|
887
|
-
|
|
887
|
+
st("error", e, a);
|
|
888
888
|
}
|
|
889
889
|
}
|
|
890
|
-
function
|
|
890
|
+
function st(e, r, a) {
|
|
891
891
|
{
|
|
892
892
|
var u = U.ReactDebugCurrentFrame, y = u.getStackAddendum();
|
|
893
893
|
y !== "" && (r += "%s", a = a.concat([y]));
|
|
@@ -897,23 +897,23 @@ function jr() {
|
|
|
897
897
|
R.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, R);
|
|
898
898
|
}
|
|
899
899
|
}
|
|
900
|
-
var
|
|
901
|
-
|
|
902
|
-
function
|
|
903
|
-
return !!(typeof e == "string" || typeof e == "function" || e === i || e === c ||
|
|
900
|
+
var it = !1, ct = !1, lt = !1, ut = !1, ft = !1, Se;
|
|
901
|
+
Se = Symbol.for("react.module.reference");
|
|
902
|
+
function dt(e) {
|
|
903
|
+
return !!(typeof e == "string" || typeof e == "function" || e === i || e === c || ft || e === s || e === b || e === h || ut || e === x || it || ct || lt || typeof e == "object" && e !== null && (e.$$typeof === _ || e.$$typeof === g || e.$$typeof === p || e.$$typeof === v || 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
|
-
e.$$typeof ===
|
|
907
|
+
e.$$typeof === Se || e.getModuleId !== void 0));
|
|
908
908
|
}
|
|
909
|
-
function
|
|
909
|
+
function pt(e, r, a) {
|
|
910
910
|
var u = e.displayName;
|
|
911
911
|
if (u)
|
|
912
912
|
return u;
|
|
913
913
|
var y = r.displayName || r.name || "";
|
|
914
914
|
return y !== "" ? a + "(" + y + ")" : a;
|
|
915
915
|
}
|
|
916
|
-
function
|
|
916
|
+
function Ee(e) {
|
|
917
917
|
return e.displayName || "Context";
|
|
918
918
|
}
|
|
919
919
|
function $(e) {
|
|
@@ -941,12 +941,12 @@ function jr() {
|
|
|
941
941
|
switch (e.$$typeof) {
|
|
942
942
|
case v:
|
|
943
943
|
var r = e;
|
|
944
|
-
return
|
|
944
|
+
return Ee(r) + ".Consumer";
|
|
945
945
|
case p:
|
|
946
946
|
var a = e;
|
|
947
|
-
return
|
|
947
|
+
return Ee(a._context) + ".Provider";
|
|
948
948
|
case f:
|
|
949
|
-
return
|
|
949
|
+
return pt(e, e.render, "ForwardRef");
|
|
950
950
|
case g:
|
|
951
951
|
var u = e.displayName || null;
|
|
952
952
|
return u !== null ? u : $(e.type) || "Memo";
|
|
@@ -962,17 +962,17 @@ function jr() {
|
|
|
962
962
|
return null;
|
|
963
963
|
}
|
|
964
964
|
var N = Object.assign, q = 0, xe, Ae, je, ke, Oe, Pe, we;
|
|
965
|
-
function
|
|
965
|
+
function Ce() {
|
|
966
966
|
}
|
|
967
|
-
|
|
968
|
-
function
|
|
967
|
+
Ce.__reactDisabledLog = !0;
|
|
968
|
+
function vt() {
|
|
969
969
|
{
|
|
970
970
|
if (q === 0) {
|
|
971
971
|
xe = console.log, Ae = console.info, je = console.warn, ke = console.error, Oe = console.group, Pe = console.groupCollapsed, we = console.groupEnd;
|
|
972
972
|
var e = {
|
|
973
973
|
configurable: !0,
|
|
974
974
|
enumerable: !0,
|
|
975
|
-
value:
|
|
975
|
+
value: Ce,
|
|
976
976
|
writable: !0
|
|
977
977
|
};
|
|
978
978
|
Object.defineProperties(console, {
|
|
@@ -988,7 +988,7 @@ function jr() {
|
|
|
988
988
|
q++;
|
|
989
989
|
}
|
|
990
990
|
}
|
|
991
|
-
function
|
|
991
|
+
function ht() {
|
|
992
992
|
{
|
|
993
993
|
if (q--, q === 0) {
|
|
994
994
|
var e = {
|
|
@@ -1039,10 +1039,10 @@ function jr() {
|
|
|
1039
1039
|
}
|
|
1040
1040
|
var ce = !1, X;
|
|
1041
1041
|
{
|
|
1042
|
-
var
|
|
1043
|
-
X = new
|
|
1042
|
+
var mt = typeof WeakMap == "function" ? WeakMap : Map;
|
|
1043
|
+
X = new mt();
|
|
1044
1044
|
}
|
|
1045
|
-
function
|
|
1045
|
+
function Te(e, r) {
|
|
1046
1046
|
if (!e || ce)
|
|
1047
1047
|
return "";
|
|
1048
1048
|
{
|
|
@@ -1055,7 +1055,7 @@ function jr() {
|
|
|
1055
1055
|
var y = Error.prepareStackTrace;
|
|
1056
1056
|
Error.prepareStackTrace = void 0;
|
|
1057
1057
|
var R;
|
|
1058
|
-
R = se.current, se.current = null,
|
|
1058
|
+
R = se.current, se.current = null, vt();
|
|
1059
1059
|
try {
|
|
1060
1060
|
if (r) {
|
|
1061
1061
|
var m = function() {
|
|
@@ -1092,31 +1092,31 @@ function jr() {
|
|
|
1092
1092
|
if (O && u && typeof O.stack == "string") {
|
|
1093
1093
|
for (var d = O.stack.split(`
|
|
1094
1094
|
`), k = u.stack.split(`
|
|
1095
|
-
`),
|
|
1096
|
-
|
|
1097
|
-
for (;
|
|
1098
|
-
if (d[
|
|
1099
|
-
if (
|
|
1095
|
+
`), S = d.length - 1, E = k.length - 1; S >= 1 && E >= 0 && d[S] !== k[E]; )
|
|
1096
|
+
E--;
|
|
1097
|
+
for (; S >= 1 && E >= 0; S--, E--)
|
|
1098
|
+
if (d[S] !== k[E]) {
|
|
1099
|
+
if (S !== 1 || E !== 1)
|
|
1100
1100
|
do
|
|
1101
|
-
if (
|
|
1102
|
-
var
|
|
1103
|
-
` + d[
|
|
1104
|
-
return e.displayName &&
|
|
1101
|
+
if (S--, E--, E < 0 || d[S] !== k[E]) {
|
|
1102
|
+
var w = `
|
|
1103
|
+
` + d[S].replace(" at new ", " at ");
|
|
1104
|
+
return e.displayName && w.includes("<anonymous>") && (w = w.replace("<anonymous>", e.displayName)), typeof e == "function" && X.set(e, w), w;
|
|
1105
1105
|
}
|
|
1106
|
-
while (
|
|
1106
|
+
while (S >= 1 && E >= 0);
|
|
1107
1107
|
break;
|
|
1108
1108
|
}
|
|
1109
1109
|
}
|
|
1110
1110
|
} finally {
|
|
1111
|
-
ce = !1, se.current = R,
|
|
1111
|
+
ce = !1, se.current = R, ht(), Error.prepareStackTrace = y;
|
|
1112
1112
|
}
|
|
1113
1113
|
var W = e ? e.displayName || e.name : "", I = W ? G(W) : "";
|
|
1114
1114
|
return typeof e == "function" && X.set(e, I), I;
|
|
1115
1115
|
}
|
|
1116
|
-
function
|
|
1117
|
-
return
|
|
1116
|
+
function gt(e, r, a) {
|
|
1117
|
+
return Te(e, !1);
|
|
1118
1118
|
}
|
|
1119
|
-
function
|
|
1119
|
+
function bt(e) {
|
|
1120
1120
|
var r = e.prototype;
|
|
1121
1121
|
return !!(r && r.isReactComponent);
|
|
1122
1122
|
}
|
|
@@ -1124,7 +1124,7 @@ function jr() {
|
|
|
1124
1124
|
if (e == null)
|
|
1125
1125
|
return "";
|
|
1126
1126
|
if (typeof e == "function")
|
|
1127
|
-
return
|
|
1127
|
+
return Te(e, bt(e));
|
|
1128
1128
|
if (typeof e == "string")
|
|
1129
1129
|
return G(e);
|
|
1130
1130
|
switch (e) {
|
|
@@ -1136,7 +1136,7 @@ function jr() {
|
|
|
1136
1136
|
if (typeof e == "object")
|
|
1137
1137
|
switch (e.$$typeof) {
|
|
1138
1138
|
case f:
|
|
1139
|
-
return
|
|
1139
|
+
return gt(e.render);
|
|
1140
1140
|
case g:
|
|
1141
1141
|
return Z(e.type, r, a);
|
|
1142
1142
|
case _: {
|
|
@@ -1157,7 +1157,7 @@ function jr() {
|
|
|
1157
1157
|
} else
|
|
1158
1158
|
Ne.setExtraStackFrame(null);
|
|
1159
1159
|
}
|
|
1160
|
-
function
|
|
1160
|
+
function yt(e, r, a, u, y) {
|
|
1161
1161
|
{
|
|
1162
1162
|
var R = Function.call.bind(z);
|
|
1163
1163
|
for (var m in e)
|
|
@@ -1169,24 +1169,24 @@ function jr() {
|
|
|
1169
1169
|
throw k.name = "Invariant Violation", k;
|
|
1170
1170
|
}
|
|
1171
1171
|
d = e[m](r, m, u, a, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
1172
|
-
} catch (
|
|
1173
|
-
d =
|
|
1172
|
+
} catch (S) {
|
|
1173
|
+
d = S;
|
|
1174
1174
|
}
|
|
1175
1175
|
d && !(d instanceof Error) && (Q(y), j("%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 d), Q(null)), d instanceof Error && !(d.message in $e) && ($e[d.message] = !0, Q(y), j("Failed %s type: %s", a, d.message), Q(null));
|
|
1176
1176
|
}
|
|
1177
1177
|
}
|
|
1178
1178
|
}
|
|
1179
|
-
var
|
|
1179
|
+
var _t = Array.isArray;
|
|
1180
1180
|
function le(e) {
|
|
1181
|
-
return
|
|
1181
|
+
return _t(e);
|
|
1182
1182
|
}
|
|
1183
|
-
function
|
|
1183
|
+
function Rt(e) {
|
|
1184
1184
|
{
|
|
1185
1185
|
var r = typeof Symbol == "function" && Symbol.toStringTag, a = r && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
1186
1186
|
return a;
|
|
1187
1187
|
}
|
|
1188
1188
|
}
|
|
1189
|
-
function
|
|
1189
|
+
function St(e) {
|
|
1190
1190
|
try {
|
|
1191
1191
|
return Ie(e), !1;
|
|
1192
1192
|
} catch {
|
|
@@ -1197,8 +1197,8 @@ function jr() {
|
|
|
1197
1197
|
return "" + e;
|
|
1198
1198
|
}
|
|
1199
1199
|
function Me(e) {
|
|
1200
|
-
if (
|
|
1201
|
-
return j("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",
|
|
1200
|
+
if (St(e))
|
|
1201
|
+
return j("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Rt(e)), Ie(e);
|
|
1202
1202
|
}
|
|
1203
1203
|
var Be = U.ReactCurrentOwner, Et = {
|
|
1204
1204
|
key: !0,
|
|
@@ -1206,7 +1206,7 @@ function jr() {
|
|
|
1206
1206
|
__self: !0,
|
|
1207
1207
|
__source: !0
|
|
1208
1208
|
}, Le, De;
|
|
1209
|
-
function
|
|
1209
|
+
function xt(e) {
|
|
1210
1210
|
if (z.call(e, "ref")) {
|
|
1211
1211
|
var r = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
1212
1212
|
if (r && r.isReactWarning)
|
|
@@ -1214,7 +1214,7 @@ function jr() {
|
|
|
1214
1214
|
}
|
|
1215
1215
|
return e.ref !== void 0;
|
|
1216
1216
|
}
|
|
1217
|
-
function
|
|
1217
|
+
function At(e) {
|
|
1218
1218
|
if (z.call(e, "key")) {
|
|
1219
1219
|
var r = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
1220
1220
|
if (r && r.isReactWarning)
|
|
@@ -1222,10 +1222,10 @@ function jr() {
|
|
|
1222
1222
|
}
|
|
1223
1223
|
return e.key !== void 0;
|
|
1224
1224
|
}
|
|
1225
|
-
function
|
|
1225
|
+
function jt(e, r) {
|
|
1226
1226
|
typeof e.ref == "string" && Be.current;
|
|
1227
1227
|
}
|
|
1228
|
-
function
|
|
1228
|
+
function kt(e, r) {
|
|
1229
1229
|
{
|
|
1230
1230
|
var a = function() {
|
|
1231
1231
|
Le || (Le = !0, j("%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)", r));
|
|
@@ -1236,7 +1236,7 @@ function jr() {
|
|
|
1236
1236
|
});
|
|
1237
1237
|
}
|
|
1238
1238
|
}
|
|
1239
|
-
function
|
|
1239
|
+
function Ot(e, r) {
|
|
1240
1240
|
{
|
|
1241
1241
|
var a = function() {
|
|
1242
1242
|
De || (De = !0, j("%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)", r));
|
|
@@ -1247,7 +1247,7 @@ function jr() {
|
|
|
1247
1247
|
});
|
|
1248
1248
|
}
|
|
1249
1249
|
}
|
|
1250
|
-
var
|
|
1250
|
+
var Pt = function(e, r, a, u, y, R, m) {
|
|
1251
1251
|
var d = {
|
|
1252
1252
|
// This tag allows us to uniquely identify this as a React Element
|
|
1253
1253
|
$$typeof: n,
|
|
@@ -1276,22 +1276,22 @@ function jr() {
|
|
|
1276
1276
|
value: y
|
|
1277
1277
|
}), Object.freeze && (Object.freeze(d.props), Object.freeze(d)), d;
|
|
1278
1278
|
};
|
|
1279
|
-
function
|
|
1279
|
+
function wt(e, r, a, u, y) {
|
|
1280
1280
|
{
|
|
1281
1281
|
var R, m = {}, d = null, k = null;
|
|
1282
|
-
a !== void 0 && (Me(a), d = "" + a),
|
|
1282
|
+
a !== void 0 && (Me(a), d = "" + a), At(r) && (Me(r.key), d = "" + r.key), xt(r) && (k = r.ref, jt(r));
|
|
1283
1283
|
for (R in r)
|
|
1284
1284
|
z.call(r, R) && !Et.hasOwnProperty(R) && (m[R] = r[R]);
|
|
1285
1285
|
if (e && e.defaultProps) {
|
|
1286
|
-
var
|
|
1287
|
-
for (R in
|
|
1288
|
-
m[R] === void 0 && (m[R] =
|
|
1286
|
+
var S = e.defaultProps;
|
|
1287
|
+
for (R in S)
|
|
1288
|
+
m[R] === void 0 && (m[R] = S[R]);
|
|
1289
1289
|
}
|
|
1290
1290
|
if (d || k) {
|
|
1291
|
-
var
|
|
1292
|
-
d &&
|
|
1291
|
+
var E = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
1292
|
+
d && kt(m, E), k && Ot(m, E);
|
|
1293
1293
|
}
|
|
1294
|
-
return
|
|
1294
|
+
return Pt(e, d, k, y, u, Be.current, m);
|
|
1295
1295
|
}
|
|
1296
1296
|
}
|
|
1297
1297
|
var ue = U.ReactCurrentOwner, Ue = U.ReactDebugCurrentFrame;
|
|
@@ -1319,7 +1319,7 @@ Check the render method of \`` + e + "`.";
|
|
|
1319
1319
|
return "";
|
|
1320
1320
|
}
|
|
1321
1321
|
}
|
|
1322
|
-
function
|
|
1322
|
+
function Ct(e) {
|
|
1323
1323
|
return "";
|
|
1324
1324
|
}
|
|
1325
1325
|
var We = {};
|
|
@@ -1360,14 +1360,14 @@ Check the top-level render call using <` + a + ">.");
|
|
|
1360
1360
|
else if (de(e))
|
|
1361
1361
|
e._store && (e._store.validated = !0);
|
|
1362
1362
|
else if (e) {
|
|
1363
|
-
var y =
|
|
1363
|
+
var y = at(e);
|
|
1364
1364
|
if (typeof y == "function" && y !== e.entries)
|
|
1365
1365
|
for (var R = y.call(e), m; !(m = R.next()).done; )
|
|
1366
1366
|
de(m.value) && Ye(m.value, r);
|
|
1367
1367
|
}
|
|
1368
1368
|
}
|
|
1369
1369
|
}
|
|
1370
|
-
function
|
|
1370
|
+
function $t(e) {
|
|
1371
1371
|
{
|
|
1372
1372
|
var r = e.type;
|
|
1373
1373
|
if (r == null || typeof r == "string")
|
|
@@ -1383,7 +1383,7 @@ Check the top-level render call using <` + a + ">.");
|
|
|
1383
1383
|
return;
|
|
1384
1384
|
if (a) {
|
|
1385
1385
|
var u = $(r);
|
|
1386
|
-
|
|
1386
|
+
yt(a, e.props, "prop", u, e);
|
|
1387
1387
|
} else if (r.PropTypes !== void 0 && !fe) {
|
|
1388
1388
|
fe = !0;
|
|
1389
1389
|
var y = $(r);
|
|
@@ -1392,7 +1392,7 @@ Check the top-level render call using <` + a + ">.");
|
|
|
1392
1392
|
typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && j("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
1393
1393
|
}
|
|
1394
1394
|
}
|
|
1395
|
-
function
|
|
1395
|
+
function Nt(e) {
|
|
1396
1396
|
{
|
|
1397
1397
|
for (var r = Object.keys(e.props), a = 0; a < r.length; a++) {
|
|
1398
1398
|
var u = r[a];
|
|
@@ -1407,64 +1407,64 @@ Check the top-level render call using <` + a + ">.");
|
|
|
1407
1407
|
var ze = {};
|
|
1408
1408
|
function Ve(e, r, a, u, y, R) {
|
|
1409
1409
|
{
|
|
1410
|
-
var m =
|
|
1410
|
+
var m = dt(e);
|
|
1411
1411
|
if (!m) {
|
|
1412
1412
|
var d = "";
|
|
1413
1413
|
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (d += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
1414
|
-
var k =
|
|
1414
|
+
var k = Ct();
|
|
1415
1415
|
k ? d += k : d += Fe();
|
|
1416
|
-
var
|
|
1417
|
-
e === null ?
|
|
1416
|
+
var S;
|
|
1417
|
+
e === null ? S = "null" : le(e) ? S = "array" : e !== void 0 && e.$$typeof === n ? (S = "<" + ($(e.type) || "Unknown") + " />", d = " Did you accidentally export a JSX literal instead of a component?") : S = typeof e, j("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", S, d);
|
|
1418
1418
|
}
|
|
1419
|
-
var
|
|
1420
|
-
if (
|
|
1421
|
-
return
|
|
1419
|
+
var E = wt(e, r, a, y, R);
|
|
1420
|
+
if (E == null)
|
|
1421
|
+
return E;
|
|
1422
1422
|
if (m) {
|
|
1423
|
-
var
|
|
1424
|
-
if (
|
|
1423
|
+
var w = r.children;
|
|
1424
|
+
if (w !== void 0)
|
|
1425
1425
|
if (u)
|
|
1426
|
-
if (le(
|
|
1427
|
-
for (var W = 0; W <
|
|
1428
|
-
qe(
|
|
1429
|
-
Object.freeze && Object.freeze(
|
|
1426
|
+
if (le(w)) {
|
|
1427
|
+
for (var W = 0; W < w.length; W++)
|
|
1428
|
+
qe(w[W], e);
|
|
1429
|
+
Object.freeze && Object.freeze(w);
|
|
1430
1430
|
} else
|
|
1431
1431
|
j("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
|
-
qe(
|
|
1433
|
+
qe(w, e);
|
|
1434
1434
|
}
|
|
1435
1435
|
if (z.call(r, "key")) {
|
|
1436
|
-
var I = $(e), O = Object.keys(r).filter(function(
|
|
1437
|
-
return
|
|
1436
|
+
var I = $(e), O = Object.keys(r).filter(function(Ut) {
|
|
1437
|
+
return Ut !== "key";
|
|
1438
1438
|
}), pe = O.length > 0 ? "{key: someKey, " + O.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
1439
1439
|
if (!ze[I + pe]) {
|
|
1440
|
-
var
|
|
1440
|
+
var Dt = O.length > 0 ? "{" + O.join(": ..., ") + ": ...}" : "{}";
|
|
1441
1441
|
j(`A props object containing a "key" prop is being spread into JSX:
|
|
1442
1442
|
let props = %s;
|
|
1443
1443
|
<%s {...props} />
|
|
1444
1444
|
React keys must be passed directly to JSX without using spread:
|
|
1445
1445
|
let props = %s;
|
|
1446
|
-
<%s key={someKey} {...props} />`, pe, I,
|
|
1446
|
+
<%s key={someKey} {...props} />`, pe, I, Dt, I), ze[I + pe] = !0;
|
|
1447
1447
|
}
|
|
1448
1448
|
}
|
|
1449
|
-
return e === i ?
|
|
1449
|
+
return e === i ? Nt(E) : $t(E), E;
|
|
1450
1450
|
}
|
|
1451
1451
|
}
|
|
1452
|
-
function
|
|
1452
|
+
function It(e, r, a) {
|
|
1453
1453
|
return Ve(e, r, a, !0);
|
|
1454
1454
|
}
|
|
1455
|
-
function
|
|
1455
|
+
function Mt(e, r, a) {
|
|
1456
1456
|
return Ve(e, r, a, !1);
|
|
1457
1457
|
}
|
|
1458
|
-
var
|
|
1459
|
-
Xe.Fragment = i, Xe.jsx =
|
|
1458
|
+
var Bt = Mt, Lt = It;
|
|
1459
|
+
Xe.Fragment = i, Xe.jsx = Bt, Xe.jsxs = Lt;
|
|
1460
1460
|
}()), Xe;
|
|
1461
1461
|
}
|
|
1462
|
-
process.env.NODE_ENV === "production" ?
|
|
1463
|
-
const
|
|
1464
|
-
version:
|
|
1462
|
+
process.env.NODE_ENV === "production" ? jr() : kr();
|
|
1463
|
+
const Or = "0.0.46", cr = {
|
|
1464
|
+
version: Or
|
|
1465
1465
|
}, te = {}, L = {
|
|
1466
1466
|
module: "",
|
|
1467
|
-
v:
|
|
1467
|
+
v: cr.version,
|
|
1468
1468
|
page: "Main",
|
|
1469
1469
|
auth: "Auth",
|
|
1470
1470
|
STORAGE: "f",
|
|
@@ -1486,7 +1486,7 @@ function H() {
|
|
|
1486
1486
|
return typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof self < "u" ? self : typeof global < "u" ? global : {};
|
|
1487
1487
|
}
|
|
1488
1488
|
H().elcrm || (H().elcrm = {});
|
|
1489
|
-
Object.assign(H().elcrm, { router:
|
|
1489
|
+
Object.assign(H().elcrm, { router: cr.version });
|
|
1490
1490
|
function K(t) {
|
|
1491
1491
|
var n, o, i, s;
|
|
1492
1492
|
const c = H();
|
|
@@ -1546,14 +1546,14 @@ function V() {
|
|
|
1546
1546
|
}
|
|
1547
1547
|
});
|
|
1548
1548
|
}
|
|
1549
|
-
function
|
|
1549
|
+
function Zt(t, n) {
|
|
1550
1550
|
const o = t.replace(/^\.\//, "").replace(/\.(tsx|ts|jsx|js)$/, "");
|
|
1551
1551
|
for (const [i, s] of Object.entries(n))
|
|
1552
1552
|
if (i.replace(/^\.\//, "").replace(/\.(tsx|ts|jsx|js)$/, "") === o)
|
|
1553
1553
|
return s;
|
|
1554
1554
|
return null;
|
|
1555
1555
|
}
|
|
1556
|
-
function
|
|
1556
|
+
function qt(t) {
|
|
1557
1557
|
const {
|
|
1558
1558
|
basePath: n = ".",
|
|
1559
1559
|
devExtensions: o = [".tsx", ".ts", ".jsx", ".js"],
|
|
@@ -1575,16 +1575,16 @@ function Yt(t) {
|
|
|
1575
1575
|
}
|
|
1576
1576
|
};
|
|
1577
1577
|
}
|
|
1578
|
-
function
|
|
1578
|
+
function Pr(t) {
|
|
1579
1579
|
const { basePath: n = ".", modules: o, pages: i } = t || {};
|
|
1580
1580
|
return (s) => {
|
|
1581
1581
|
if (o) {
|
|
1582
|
-
const p =
|
|
1582
|
+
const p = Zt(s, o);
|
|
1583
1583
|
if (p)
|
|
1584
1584
|
return p();
|
|
1585
1585
|
}
|
|
1586
1586
|
if (i) {
|
|
1587
|
-
const p =
|
|
1587
|
+
const p = Zt(s, i);
|
|
1588
1588
|
if (p)
|
|
1589
1589
|
return p();
|
|
1590
1590
|
}
|
|
@@ -1603,14 +1603,14 @@ function Or(t) {
|
|
|
1603
1603
|
}
|
|
1604
1604
|
};
|
|
1605
1605
|
}
|
|
1606
|
-
function
|
|
1607
|
-
return n || o ?
|
|
1606
|
+
function Qt(t = ".", n, o) {
|
|
1607
|
+
return n || o ? Pr({
|
|
1608
1608
|
basePath: t,
|
|
1609
1609
|
modules: n,
|
|
1610
1610
|
pages: o
|
|
1611
|
-
}) :
|
|
1611
|
+
}) : qt({ basePath: t });
|
|
1612
1612
|
}
|
|
1613
|
-
function
|
|
1613
|
+
function wr() {
|
|
1614
1614
|
var t;
|
|
1615
1615
|
let n = sessionStorage.getItem("f");
|
|
1616
1616
|
if (n) {
|
|
@@ -1633,22 +1633,22 @@ function Pr() {
|
|
|
1633
1633
|
});
|
|
1634
1634
|
return !0;
|
|
1635
1635
|
}
|
|
1636
|
-
function
|
|
1636
|
+
function lr() {
|
|
1637
1637
|
return A().page;
|
|
1638
1638
|
}
|
|
1639
|
-
function
|
|
1639
|
+
function ur() {
|
|
1640
1640
|
return A().module || "";
|
|
1641
1641
|
}
|
|
1642
|
-
function
|
|
1642
|
+
function Vt() {
|
|
1643
1643
|
return A().tab;
|
|
1644
1644
|
}
|
|
1645
|
-
function
|
|
1645
|
+
function fr() {
|
|
1646
1646
|
return A().id;
|
|
1647
1647
|
}
|
|
1648
|
-
function
|
|
1648
|
+
function Cr(t) {
|
|
1649
1649
|
let n = (s) => (K({ page: s }), s);
|
|
1650
|
-
const [o, i] =
|
|
1651
|
-
|
|
1650
|
+
const [o, i] = T(
|
|
1651
|
+
lr() || t && n(t) || A().page
|
|
1652
1652
|
);
|
|
1653
1653
|
return D(() => {
|
|
1654
1654
|
const s = (c) => {
|
|
@@ -1673,43 +1673,43 @@ function Tr(t, n = !0, o = {}) {
|
|
|
1673
1673
|
ae.enCode(A())
|
|
1674
1674
|
), n && V().page(t);
|
|
1675
1675
|
}
|
|
1676
|
-
function
|
|
1676
|
+
function $r(t) {
|
|
1677
1677
|
return A().page === t;
|
|
1678
1678
|
}
|
|
1679
|
-
function
|
|
1679
|
+
function Nr() {
|
|
1680
1680
|
return A().prev;
|
|
1681
1681
|
}
|
|
1682
|
-
function
|
|
1683
|
-
const [o, i] =
|
|
1684
|
-
|
|
1682
|
+
function Ir(t, n) {
|
|
1683
|
+
const [o, i] = T(
|
|
1684
|
+
ur() || t || A().module
|
|
1685
1685
|
);
|
|
1686
1686
|
return D(() => (ge({ module: i }), () => {
|
|
1687
1687
|
const s = V();
|
|
1688
1688
|
s.module === i && delete s.module;
|
|
1689
1689
|
}), []), o;
|
|
1690
1690
|
}
|
|
1691
|
-
function
|
|
1691
|
+
function Mr(t, n = !0) {
|
|
1692
1692
|
K({ module: t }), sessionStorage.setItem(
|
|
1693
1693
|
A().STORAGE,
|
|
1694
1694
|
ae.enCode(A())
|
|
1695
1695
|
), n && V().module(t);
|
|
1696
1696
|
}
|
|
1697
|
-
function
|
|
1697
|
+
function Br(t) {
|
|
1698
1698
|
return A().module === t;
|
|
1699
1699
|
}
|
|
1700
|
-
function
|
|
1700
|
+
function Lr(t, n) {
|
|
1701
1701
|
if (typeof t != "function") {
|
|
1702
|
-
const [o, i] =
|
|
1702
|
+
const [o, i] = T(!n), [s, c] = T(t || Vt());
|
|
1703
1703
|
return ge({ tabs: c }), n && D(() => {
|
|
1704
1704
|
i(!0);
|
|
1705
1705
|
}, []), [s, o];
|
|
1706
1706
|
} else
|
|
1707
1707
|
ge({ tabs: t });
|
|
1708
1708
|
}
|
|
1709
|
-
function
|
|
1709
|
+
function Dr(t) {
|
|
1710
1710
|
let n = (s) => (K({ tab: s }), s);
|
|
1711
|
-
const [o, i] =
|
|
1712
|
-
|
|
1711
|
+
const [o, i] = T(
|
|
1712
|
+
Vt() || t && n(t) || A().tab
|
|
1713
1713
|
);
|
|
1714
1714
|
return D(() => {
|
|
1715
1715
|
const s = (c) => {
|
|
@@ -1728,18 +1728,18 @@ function Lr(t) {
|
|
|
1728
1728
|
};
|
|
1729
1729
|
}, []), o;
|
|
1730
1730
|
}
|
|
1731
|
-
async function
|
|
1731
|
+
async function Ur(t, n = !0) {
|
|
1732
1732
|
K({ tab: t }), sessionStorage.setItem(
|
|
1733
1733
|
A().STORAGE,
|
|
1734
1734
|
ae.enCode(A())
|
|
1735
1735
|
), n && (V().tabs && V().tabs(t));
|
|
1736
1736
|
}
|
|
1737
|
-
function
|
|
1737
|
+
function Fr(t) {
|
|
1738
1738
|
return A().tab === t;
|
|
1739
1739
|
}
|
|
1740
|
-
function
|
|
1740
|
+
function Wr(t) {
|
|
1741
1741
|
if (typeof t != "function") {
|
|
1742
|
-
const [n, o] =
|
|
1742
|
+
const [n, o] = T(t || fr());
|
|
1743
1743
|
return D(() => {
|
|
1744
1744
|
const i = (s) => {
|
|
1745
1745
|
o(s);
|
|
@@ -1762,18 +1762,18 @@ function Fr(t) {
|
|
|
1762
1762
|
}
|
|
1763
1763
|
}), [t]);
|
|
1764
1764
|
}
|
|
1765
|
-
function
|
|
1765
|
+
function Yr(t) {
|
|
1766
1766
|
}
|
|
1767
|
-
async function
|
|
1767
|
+
async function qr(t, n = !0) {
|
|
1768
1768
|
K({ id: t }), sessionStorage.setItem(
|
|
1769
1769
|
A().STORAGE,
|
|
1770
1770
|
ae.enCode(A())
|
|
1771
1771
|
), n && V().id(t);
|
|
1772
1772
|
}
|
|
1773
|
-
function
|
|
1773
|
+
function zr(t) {
|
|
1774
1774
|
return Number(A().id) === t;
|
|
1775
1775
|
}
|
|
1776
|
-
async function
|
|
1776
|
+
async function Vr(t) {
|
|
1777
1777
|
var n, o, i, s, c, p, v, f;
|
|
1778
1778
|
const { page: b, module: h, tab: g, id: _ } = t;
|
|
1779
1779
|
b !== void 0 && (te.page = b), h !== void 0 && (te.module = h), g !== void 0 && (te.tab = g), _ !== void 0 && (te.id = _), K({ ...te }), _ !== void 0 && ((o = (n = V()).id) == null || o.call(n, _)), g !== void 0 && ((s = (i = V()).tabs) == null || s.call(i, g)), h !== void 0 && ((p = (c = V()).module) == null || p.call(c, h)), b !== void 0 && ((f = (v = V()).page) == null || f.call(v, b)), sessionStorage.setItem(
|
|
@@ -1798,77 +1798,77 @@ const Re = {
|
|
|
1798
1798
|
// Поддержка единого glob объекта для упрощения
|
|
1799
1799
|
}) {
|
|
1800
1800
|
let b = c, h = p, g = v;
|
|
1801
|
-
f ? (h = typeof p == "object" ? p : f, g = typeof v == "object" ? v : f) : (h = h || f, g = g || f), !b && (h || g) ? !f && (typeof h == "string" || typeof g == "string") ? b =
|
|
1801
|
+
f ? (h = typeof p == "object" ? p : f, g = typeof v == "object" ? v : f) : (h = h || f, g = g || f), !b && (h || g) ? !f && (typeof h == "string" || typeof g == "string") ? b = qt({ basePath: s }) : b = Qt(
|
|
1802
1802
|
s,
|
|
1803
1803
|
h,
|
|
1804
1804
|
g
|
|
1805
|
-
) : b || (b =
|
|
1805
|
+
) : b || (b = qt({ basePath: s })), K({
|
|
1806
1806
|
page: n,
|
|
1807
1807
|
module: t,
|
|
1808
1808
|
auth: o,
|
|
1809
1809
|
debug: i,
|
|
1810
1810
|
dir: s,
|
|
1811
1811
|
importModules: b
|
|
1812
|
-
}),
|
|
1812
|
+
}), wr();
|
|
1813
1813
|
},
|
|
1814
1814
|
// Упрощенная функция для создания importModules
|
|
1815
|
-
createImportModules:
|
|
1815
|
+
createImportModules: Qt,
|
|
1816
1816
|
getImportModules: () => A().importModules,
|
|
1817
1817
|
// Методы страниц
|
|
1818
|
-
usePage:
|
|
1818
|
+
usePage: Cr,
|
|
1819
1819
|
setPage: Tr,
|
|
1820
|
-
getPage:
|
|
1821
|
-
isPage:
|
|
1822
|
-
getBack:
|
|
1820
|
+
getPage: lr,
|
|
1821
|
+
isPage: $r,
|
|
1822
|
+
getBack: Nr,
|
|
1823
1823
|
// Методы модулей
|
|
1824
|
-
useModule:
|
|
1825
|
-
setModule:
|
|
1826
|
-
getModule:
|
|
1827
|
-
isModule:
|
|
1824
|
+
useModule: Ir,
|
|
1825
|
+
setModule: Mr,
|
|
1826
|
+
getModule: ur,
|
|
1827
|
+
isModule: Br,
|
|
1828
1828
|
// Методы вкладок
|
|
1829
|
-
useTabs:
|
|
1830
|
-
useTab:
|
|
1831
|
-
setTabs:
|
|
1832
|
-
getTabs:
|
|
1833
|
-
isTabs:
|
|
1829
|
+
useTabs: Lr,
|
|
1830
|
+
useTab: Dr,
|
|
1831
|
+
setTabs: Ur,
|
|
1832
|
+
getTabs: Vt,
|
|
1833
|
+
isTabs: Fr,
|
|
1834
1834
|
// Методы ID
|
|
1835
|
-
useId:
|
|
1836
|
-
subId:
|
|
1837
|
-
setId:
|
|
1838
|
-
getId:
|
|
1839
|
-
isId:
|
|
1835
|
+
useId: Wr,
|
|
1836
|
+
subId: Yr,
|
|
1837
|
+
setId: qr,
|
|
1838
|
+
getId: fr,
|
|
1839
|
+
isId: zr,
|
|
1840
1840
|
// Навигация
|
|
1841
|
-
navigate:
|
|
1842
|
-
},
|
|
1843
|
-
n:
|
|
1844
|
-
i:
|
|
1845
|
-
t:
|
|
1846
|
-
e:
|
|
1847
|
-
s:
|
|
1848
|
-
w:
|
|
1849
|
-
h:
|
|
1841
|
+
navigate: Vr
|
|
1842
|
+
}, Jr = "_n_zlj3m_1", Hr = "_i_zlj3m_10", Kr = "_t_zlj3m_28", Gr = "_e_zlj3m_32", Xr = "_s_zlj3m_35", Zr = "_w_zlj3m_38", Qr = "_h_zlj3m_41", he = {
|
|
1843
|
+
n: Jr,
|
|
1844
|
+
i: Hr,
|
|
1845
|
+
t: Kr,
|
|
1846
|
+
e: Gr,
|
|
1847
|
+
s: Xr,
|
|
1848
|
+
w: Zr,
|
|
1849
|
+
h: Qr
|
|
1850
1850
|
};
|
|
1851
|
-
let
|
|
1852
|
-
function
|
|
1851
|
+
let nt = {};
|
|
1852
|
+
function en() {
|
|
1853
1853
|
const [t, n] = J.useState([]);
|
|
1854
|
-
return
|
|
1854
|
+
return nt.set = (o) => {
|
|
1855
1855
|
n([...t, o]);
|
|
1856
|
-
},
|
|
1856
|
+
}, nt.del = (o) => {
|
|
1857
1857
|
t.forEach((i, s) => {
|
|
1858
1858
|
i.key === o && t.splice(s, 1);
|
|
1859
1859
|
}), n(t);
|
|
1860
1860
|
}, t.length === 0 ? /* @__PURE__ */ l.jsx(l.Fragment, {}) : /* @__PURE__ */ l.jsx("div", { className: he.n, children: t.map((o) => o.item) });
|
|
1861
1861
|
}
|
|
1862
|
-
function
|
|
1862
|
+
function tn(t) {
|
|
1863
1863
|
let n = (/* @__PURE__ */ new Date()).getTime();
|
|
1864
|
-
t.key = n,
|
|
1864
|
+
t.key = n, nt.set({ item: /* @__PURE__ */ l.jsx(rn, { data: t }, n), key: n });
|
|
1865
1865
|
}
|
|
1866
|
-
function
|
|
1866
|
+
function rn(t) {
|
|
1867
1867
|
const n = t.data;
|
|
1868
1868
|
let [o] = J.useState("show"), [i, s] = J.useState(!1);
|
|
1869
1869
|
J.useEffect(() => {
|
|
1870
1870
|
setTimeout(function() {
|
|
1871
|
-
s(!0),
|
|
1871
|
+
s(!0), nt.del(n.key);
|
|
1872
1872
|
}, 5e3);
|
|
1873
1873
|
}, [n.key]);
|
|
1874
1874
|
let c;
|
|
@@ -1916,17 +1916,17 @@ function tn(t) {
|
|
|
1916
1916
|
) });
|
|
1917
1917
|
}
|
|
1918
1918
|
let me = {
|
|
1919
|
-
Send:
|
|
1920
|
-
Init:
|
|
1919
|
+
Send: tn,
|
|
1920
|
+
Init: en
|
|
1921
1921
|
};
|
|
1922
|
-
const
|
|
1923
|
-
d:
|
|
1924
|
-
b:
|
|
1925
|
-
o:
|
|
1926
|
-
m:
|
|
1927
|
-
t:
|
|
1928
|
-
a:
|
|
1929
|
-
v:
|
|
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", re = {
|
|
1923
|
+
d: nn,
|
|
1924
|
+
b: on,
|
|
1925
|
+
o: an,
|
|
1926
|
+
m: sn,
|
|
1927
|
+
t: cn,
|
|
1928
|
+
a: ln,
|
|
1929
|
+
v: un
|
|
1930
1930
|
}, oe = {
|
|
1931
1931
|
is: !1,
|
|
1932
1932
|
MainButton: {},
|
|
@@ -1979,9 +1979,9 @@ M.users = {
|
|
|
1979
1979
|
"--tg-theme-button-text-color": "#000000",
|
|
1980
1980
|
"--tg-theme-secondary-bg-color": "#000000"
|
|
1981
1981
|
};
|
|
1982
|
-
const
|
|
1982
|
+
const fn = () => {
|
|
1983
1983
|
if (location.hostname === "localhost") {
|
|
1984
|
-
let [t, n] =
|
|
1984
|
+
let [t, n] = T(!1), [o, i] = T(!1), [s, c] = T("dark"), [p, v] = T(!1), [f, b] = T(!1);
|
|
1985
1985
|
oe.is = !0, oe.MainButton.set = n, oe.BackButton.set = i, D(() => {
|
|
1986
1986
|
var _;
|
|
1987
1987
|
M[s]["--tg-theme-bg-color-alpha"] = M[s]["--tg-theme-bg-color"] + "b3", M[s]["--tg-theme-secondary-bg-color-alpha"] = M[s]["--tg-theme-secondary-bg-color"] + "d3", M[s]["--tg-theme-bg-color-alpha-25"] = M[s]["--tg-theme-bg-color"] + "40", M[s]["--tg-theme-secondary-bg-color-alpha-25"] = M[s]["--tg-theme-secondary-bg-color"] + "40";
|
|
@@ -2075,7 +2075,7 @@ const un = () => {
|
|
|
2075
2075
|
/* @__PURE__ */ l.jsx("li", { children: /* @__PURE__ */ l.jsx("button", { onClick: () => v(!p), children: "Closed" }) })
|
|
2076
2076
|
] })
|
|
2077
2077
|
] }) : "",
|
|
2078
|
-
f ? /* @__PURE__ */ l.jsx(
|
|
2078
|
+
f ? /* @__PURE__ */ l.jsx(dn, { setAuthorization: b }) : ""
|
|
2079
2079
|
] });
|
|
2080
2080
|
} else
|
|
2081
2081
|
return D(() => {
|
|
@@ -2094,7 +2094,7 @@ const un = () => {
|
|
|
2094
2094
|
"16px"
|
|
2095
2095
|
);
|
|
2096
2096
|
}, []), /* @__PURE__ */ l.jsx(l.Fragment, { children: /* @__PURE__ */ l.jsx(me.Init, {}) });
|
|
2097
|
-
},
|
|
2097
|
+
}, dn = ({ setAuthorization: t }) => {
|
|
2098
2098
|
let n = {}, o = () => {
|
|
2099
2099
|
localStorage.setItem("auth", n);
|
|
2100
2100
|
};
|
|
@@ -2102,32 +2102,32 @@ const un = () => {
|
|
|
2102
2102
|
/* @__PURE__ */ l.jsx("fieldset", {}),
|
|
2103
2103
|
/* @__PURE__ */ l.jsx("div", { onClick: o, children: " Сохранить " })
|
|
2104
2104
|
] }) });
|
|
2105
|
-
},
|
|
2106
|
-
p:
|
|
2107
|
-
s:
|
|
2108
|
-
},
|
|
2105
|
+
}, pn = "_p_1axqy_1", vn = "_s_1axqy_17", er = {
|
|
2106
|
+
p: pn,
|
|
2107
|
+
s: vn
|
|
2108
|
+
}, hn = ({ className: t, children: n, isScroll: o = !0 }) => /* @__PURE__ */ l.jsx(
|
|
2109
2109
|
"div",
|
|
2110
2110
|
{
|
|
2111
|
-
className: [
|
|
2111
|
+
className: [er.p, o && er.s, t].filter((i) => i !== void 0).join(" "),
|
|
2112
2112
|
children: n
|
|
2113
2113
|
}
|
|
2114
|
-
),
|
|
2115
|
-
l:
|
|
2116
|
-
},
|
|
2114
|
+
), mn = "_l_gfyud_1", gn = {
|
|
2115
|
+
l: mn
|
|
2116
|
+
}, bn = ({ children: t, className: n }) => /* @__PURE__ */ l.jsx(
|
|
2117
2117
|
"div",
|
|
2118
2118
|
{
|
|
2119
|
-
className: [
|
|
2119
|
+
className: [gn.l, n].filter((o) => o !== void 0).join(" "),
|
|
2120
2120
|
children: t
|
|
2121
2121
|
}
|
|
2122
|
-
),
|
|
2123
|
-
m:
|
|
2124
|
-
g:
|
|
2125
|
-
i:
|
|
2126
|
-
c:
|
|
2122
|
+
), yn = "_m_ppm7n_2", _n = "_g_ppm7n_10", Rn = "_i_ppm7n_18", Sn = "_c_ppm7n_35", En = "_l_ppm7n_42", xn = "_a_ppm7n_57", An = "_n_ppm7n_62", ve = {
|
|
2123
|
+
m: yn,
|
|
2124
|
+
g: _n,
|
|
2125
|
+
i: Rn,
|
|
2126
|
+
c: Sn,
|
|
2127
2127
|
l: En,
|
|
2128
|
-
a:
|
|
2129
|
-
n:
|
|
2130
|
-
},
|
|
2128
|
+
a: xn,
|
|
2129
|
+
n: An
|
|
2130
|
+
}, jn = ({ items: t }) => {
|
|
2131
2131
|
const n = (i) => {
|
|
2132
2132
|
Re.setPage(i);
|
|
2133
2133
|
}, o = (i) => {
|
|
@@ -2158,17 +2158,17 @@ const un = () => {
|
|
|
2158
2158
|
},
|
|
2159
2159
|
c
|
|
2160
2160
|
)) }, i.id)) });
|
|
2161
|
-
},
|
|
2162
|
-
o:
|
|
2163
|
-
m:
|
|
2164
|
-
l:
|
|
2165
|
-
r:
|
|
2166
|
-
x:
|
|
2161
|
+
}, kn = "_o_8ho2f_3", On = "_m_8ho2f_14", Pn = "_l_8ho2f_28", wn = "_r_8ho2f_33", Cn = "_x_8ho2f_38", Tn = "_h_8ho2f_42", $n = "_c_8ho2f_57", Nn = "_u_8ho2f_72", ee = {
|
|
2162
|
+
o: kn,
|
|
2163
|
+
m: On,
|
|
2164
|
+
l: Pn,
|
|
2165
|
+
r: wn,
|
|
2166
|
+
x: Cn,
|
|
2167
2167
|
h: Tn,
|
|
2168
|
-
c:
|
|
2169
|
-
u:
|
|
2170
|
-
};
|
|
2171
|
-
function
|
|
2168
|
+
c: $n,
|
|
2169
|
+
u: Nn
|
|
2170
|
+
}, et = {};
|
|
2171
|
+
function In({
|
|
2172
2172
|
children: t,
|
|
2173
2173
|
icon: n,
|
|
2174
2174
|
iconBadge: o = 0,
|
|
@@ -2178,12 +2178,12 @@ function Nn({
|
|
|
2178
2178
|
position: p = "left",
|
|
2179
2179
|
name: v = "default"
|
|
2180
2180
|
}) {
|
|
2181
|
-
const [f, b] =
|
|
2181
|
+
const [f, b] = T(!1), [h, g] = T(
|
|
2182
2182
|
null
|
|
2183
2183
|
);
|
|
2184
2184
|
D(() => {
|
|
2185
2185
|
let x = document.querySelector(".p_sb");
|
|
2186
|
-
return x || (x = document.createElement("div"), x.className = "_p_sb", document.body.appendChild(x)), g(x), () => {
|
|
2186
|
+
return x || (x = document.createElement("div"), x.className = "_p_sb", document.body.appendChild(x)), g(x), et[v] = (P) => b(P), () => {
|
|
2187
2187
|
x && x.parentNode && x.parentNode.removeChild(x);
|
|
2188
2188
|
};
|
|
2189
2189
|
}, []);
|
|
@@ -2237,12 +2237,16 @@ function Nn({
|
|
|
2237
2237
|
children: n
|
|
2238
2238
|
}
|
|
2239
2239
|
),
|
|
2240
|
-
h &&
|
|
2240
|
+
h && pr(_, h)
|
|
2241
2241
|
] });
|
|
2242
2242
|
}
|
|
2243
|
+
const Mn = (t, n) => {
|
|
2244
|
+
var o;
|
|
2245
|
+
(o = et[t]) == null || o.call(et, n);
|
|
2246
|
+
};
|
|
2243
2247
|
let Ge = () => {
|
|
2244
2248
|
};
|
|
2245
|
-
const
|
|
2249
|
+
const dr = ({
|
|
2246
2250
|
children: t,
|
|
2247
2251
|
title: n,
|
|
2248
2252
|
isOverlay: o = !0,
|
|
@@ -2284,20 +2288,20 @@ const fr = ({
|
|
|
2284
2288
|
)
|
|
2285
2289
|
}
|
|
2286
2290
|
);
|
|
2287
|
-
},
|
|
2288
|
-
h:
|
|
2289
|
-
r:
|
|
2290
|
-
c:
|
|
2291
|
-
x:
|
|
2292
|
-
},
|
|
2293
|
-
b:
|
|
2294
|
-
},
|
|
2291
|
+
}, Bn = "_h_4aije_1", Ln = "_r_4aije_23", Dn = "_c_4aije_26", Un = "_x_4aije_29", Ze = {
|
|
2292
|
+
h: Bn,
|
|
2293
|
+
r: Ln,
|
|
2294
|
+
c: Dn,
|
|
2295
|
+
x: Un
|
|
2296
|
+
}, Fn = "_b_r6m8n_1", Wn = {
|
|
2297
|
+
b: Fn
|
|
2298
|
+
}, Yn = ({ className: t, value: n }) => /* @__PURE__ */ l.jsx(
|
|
2295
2299
|
"div",
|
|
2296
2300
|
{
|
|
2297
|
-
className: [
|
|
2301
|
+
className: [Wn.b, t].filter((o) => o !== void 0).join(" "),
|
|
2298
2302
|
children: n
|
|
2299
2303
|
}
|
|
2300
|
-
), _e = [],
|
|
2304
|
+
), _e = [], tr = (t, n) => t.findIndex((o) => (o == null ? void 0 : o.page) === n), qn = ({
|
|
2301
2305
|
actions: t,
|
|
2302
2306
|
children: n,
|
|
2303
2307
|
className: o,
|
|
@@ -2307,25 +2311,25 @@ const fr = ({
|
|
|
2307
2311
|
direction: p = "row"
|
|
2308
2312
|
}) => {
|
|
2309
2313
|
const [v, f] = J.useState(null), [b, h] = J.useState(
|
|
2310
|
-
s ?
|
|
2314
|
+
s ? tr(t || [], s) : 0
|
|
2311
2315
|
);
|
|
2312
2316
|
return _e.onClose = () => {
|
|
2313
|
-
f(null), h(s ?
|
|
2317
|
+
f(null), h(s ? tr(t || [], s) : 0);
|
|
2314
2318
|
}, D(() => {
|
|
2315
2319
|
if (!i)
|
|
2316
2320
|
return;
|
|
2317
2321
|
const g = document.querySelectorAll("[contenteditable]"), _ = () => {
|
|
2318
|
-
const
|
|
2319
|
-
|
|
2322
|
+
const P = document.querySelector("footer");
|
|
2323
|
+
P && P.classList.remove(Ze.x);
|
|
2320
2324
|
}, x = () => {
|
|
2321
|
-
const
|
|
2322
|
-
|
|
2325
|
+
const P = document.querySelector("footer");
|
|
2326
|
+
P && P.classList.add(Ze.x);
|
|
2323
2327
|
};
|
|
2324
|
-
return g.forEach((
|
|
2325
|
-
|
|
2328
|
+
return g.forEach((P) => {
|
|
2329
|
+
P.addEventListener("focus", x, !0), P.addEventListener("blur", _, !0);
|
|
2326
2330
|
}), () => {
|
|
2327
|
-
g.forEach((
|
|
2328
|
-
|
|
2331
|
+
g.forEach((P) => {
|
|
2332
|
+
P.removeEventListener("focus", x, !0), P.removeEventListener("blur", _, !0);
|
|
2329
2333
|
});
|
|
2330
2334
|
};
|
|
2331
2335
|
}, []), /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
|
|
@@ -2350,7 +2354,7 @@ const fr = ({
|
|
|
2350
2354
|
children: [
|
|
2351
2355
|
g.icon,
|
|
2352
2356
|
g.title && /* @__PURE__ */ l.jsx("span", { children: g.title }),
|
|
2353
|
-
g.badge && /* @__PURE__ */ l.jsx(
|
|
2357
|
+
g.badge && /* @__PURE__ */ l.jsx(Yn, { value: g.badge })
|
|
2354
2358
|
]
|
|
2355
2359
|
},
|
|
2356
2360
|
_
|
|
@@ -2359,13 +2363,13 @@ const fr = ({
|
|
|
2359
2363
|
}
|
|
2360
2364
|
)
|
|
2361
2365
|
] });
|
|
2362
|
-
},
|
|
2363
|
-
w:
|
|
2364
|
-
v:
|
|
2365
|
-
s:
|
|
2366
|
-
n:
|
|
2367
|
-
},
|
|
2368
|
-
function
|
|
2366
|
+
}, zn = "_w_yx04q_3", Vn = "_v_yx04q_24", Jn = "_s_yx04q_34", Hn = "_n_yx04q_38", Qe = {
|
|
2367
|
+
w: zn,
|
|
2368
|
+
v: Vn,
|
|
2369
|
+
s: Jn,
|
|
2370
|
+
n: Hn
|
|
2371
|
+
}, zt = {};
|
|
2372
|
+
function Kn({
|
|
2369
2373
|
children: t,
|
|
2370
2374
|
name: n,
|
|
2371
2375
|
onClose: o,
|
|
@@ -2373,20 +2377,20 @@ function Jn({
|
|
|
2373
2377
|
isScroll: s = !0,
|
|
2374
2378
|
nextBackButton: c
|
|
2375
2379
|
}) {
|
|
2376
|
-
const [p, v] =
|
|
2380
|
+
const [p, v] = T(!1);
|
|
2377
2381
|
return D(() => {
|
|
2378
2382
|
if (!i) return;
|
|
2379
|
-
const f = c === void 0 ?
|
|
2383
|
+
const f = c === void 0 ? oo().pop() : c, b = () => {
|
|
2380
2384
|
v(!1), setTimeout(() => {
|
|
2381
|
-
|
|
2385
|
+
nr(f || !1), o == null || o();
|
|
2382
2386
|
}, 300);
|
|
2383
2387
|
};
|
|
2384
|
-
|
|
2388
|
+
zt[n] = {
|
|
2385
2389
|
onClose: b,
|
|
2386
2390
|
onOpen: () => {
|
|
2387
2391
|
v(!0);
|
|
2388
2392
|
}
|
|
2389
|
-
},
|
|
2393
|
+
}, nr({
|
|
2390
2394
|
callback: b
|
|
2391
2395
|
});
|
|
2392
2396
|
const h = setTimeout(() => {
|
|
@@ -2410,14 +2414,14 @@ function Jn({
|
|
|
2410
2414
|
}
|
|
2411
2415
|
) : "";
|
|
2412
2416
|
}
|
|
2413
|
-
const
|
|
2417
|
+
const Gn = (t, n) => {
|
|
2414
2418
|
var o, i;
|
|
2415
|
-
n ? (o =
|
|
2416
|
-
},
|
|
2417
|
-
s:
|
|
2418
|
-
n:
|
|
2419
|
+
n ? (o = zt[t]) == null || o.onOpen() : (i = zt[t]) == null || i.onClose();
|
|
2420
|
+
}, Xn = "_s_ezoxx_3", Zn = "_n_ezoxx_14", rr = {
|
|
2421
|
+
s: Xn,
|
|
2422
|
+
n: Zn
|
|
2419
2423
|
};
|
|
2420
|
-
function
|
|
2424
|
+
function Qn({
|
|
2421
2425
|
className: t,
|
|
2422
2426
|
children: n,
|
|
2423
2427
|
onScrollEnd: o,
|
|
@@ -2425,7 +2429,7 @@ function Xn({
|
|
|
2425
2429
|
isLoading: s,
|
|
2426
2430
|
isScrollBar: c = !1
|
|
2427
2431
|
}) {
|
|
2428
|
-
const [p, v] =
|
|
2432
|
+
const [p, v] = T(s || !1);
|
|
2429
2433
|
D(() => {
|
|
2430
2434
|
v(s || !1);
|
|
2431
2435
|
}, [s]);
|
|
@@ -2439,24 +2443,24 @@ function Xn({
|
|
|
2439
2443
|
"div",
|
|
2440
2444
|
{
|
|
2441
2445
|
...f,
|
|
2442
|
-
className: be(
|
|
2446
|
+
className: be(rr.s, !c && rr.n, t),
|
|
2443
2447
|
children: n
|
|
2444
2448
|
}
|
|
2445
2449
|
);
|
|
2446
2450
|
}
|
|
2447
|
-
const
|
|
2448
|
-
a:
|
|
2449
|
-
l:
|
|
2450
|
-
r:
|
|
2451
|
+
const eo = "_a_ohhaz_1", to = "_l_ohhaz_12", ro = "_r_ohhaz_15", Ft = {
|
|
2452
|
+
a: eo,
|
|
2453
|
+
l: to,
|
|
2454
|
+
r: ro
|
|
2451
2455
|
};
|
|
2452
|
-
function
|
|
2456
|
+
function no({
|
|
2453
2457
|
children: t,
|
|
2454
2458
|
className: n,
|
|
2455
2459
|
position: o = "center",
|
|
2456
2460
|
title: i
|
|
2457
2461
|
}) {
|
|
2458
2462
|
let s = "";
|
|
2459
|
-
return o === "left" ? s =
|
|
2463
|
+
return o === "left" ? s = Ft.l : o === "right" && (s = Ft.r), /* @__PURE__ */ l.jsxs("div", { className: be(Ft.a, s, n), children: [
|
|
2460
2464
|
t,
|
|
2461
2465
|
i && /* @__PURE__ */ l.jsx("b", { children: i })
|
|
2462
2466
|
] });
|
|
@@ -2466,14 +2470,14 @@ const B = {
|
|
|
2466
2470
|
listen: [],
|
|
2467
2471
|
prev: {},
|
|
2468
2472
|
router: (t) => {
|
|
2469
|
-
t === !1 ? (
|
|
2473
|
+
t === !1 ? (C.WebApp.BackButton.isVisible = !1, C.WebApp.BackButton.offClick(B.listen[0]), B.listen.shift(), B.state.length !== 1 && B.state.pop()) : (C.WebApp.BackButton.isVisible = !0, C.WebApp.BackButton.offClick(B.listen[0]), B.listen.shift(), B.listen.push(() => {
|
|
2470
2474
|
var o;
|
|
2471
2475
|
let n = B.state.pop();
|
|
2472
2476
|
B.prev = Re.getPage(), n.page !== void 0 ? Re.setPage(n.page) : (o = n.callback) == null || o.call(n);
|
|
2473
2477
|
}), ne.BackButton.onClick(B.listen[0]));
|
|
2474
2478
|
}
|
|
2475
2479
|
}, be = (...t) => t.filter((n) => n !== void 0 && n !== !1 && n !== null && n !== "").join(" ");
|
|
2476
|
-
var
|
|
2480
|
+
var C;
|
|
2477
2481
|
((t) => {
|
|
2478
2482
|
var n;
|
|
2479
2483
|
t.WebApp = typeof window < "u" && ((n = window.Telegram) == null ? void 0 : n.WebApp) || {}, t.getUser = () => {
|
|
@@ -2511,7 +2515,7 @@ var T;
|
|
|
2511
2515
|
var i;
|
|
2512
2516
|
me.Send({ type: "warning", text: o }), (i = t.WebApp.HapticFeedback) == null || i.notificationOccurred("warning");
|
|
2513
2517
|
}
|
|
2514
|
-
}, t.Header =
|
|
2518
|
+
}, t.Header = fn, t.TabBar = qn, t.BottomSheet = dr, t.toggleBottomSheet = Ge, t.SafeArea = hn, t.Loading = bn, t.Sidebar = In, t.SidePanel = Kn, t.AppBar = no, t.SideBarController = Mn, t.SidePanelController = Gn, t.Scroll = Qn, t.Modal = Yt, t.Menu = jn, t.MainButton = {
|
|
2515
2519
|
callback: [],
|
|
2516
2520
|
set: (o) => {
|
|
2517
2521
|
oe.is ? oe.MainButton.set(o) : (t.WebApp.MainButton.callback.forEach((i) => {
|
|
@@ -2528,30 +2532,30 @@ var T;
|
|
|
2528
2532
|
}, t.BackButtonState = () => B.state, t.BackButton = (o) => {
|
|
2529
2533
|
oe.is ? oe.BackButton.set(o) : (B.state.push(o), B.router(o));
|
|
2530
2534
|
};
|
|
2531
|
-
})(
|
|
2532
|
-
const
|
|
2535
|
+
})(C || (C = {}));
|
|
2536
|
+
const io = C.TabBar, co = dr, nr = C.BackButton, lo = C.BackButtonPrev, oo = C.BackButtonState, uo = C.Notice, fo = C.SafeArea, po = C.Loading, vo = C.Menu, ho = C.SidePanel, mo = C.Scroll, go = C.AppBar, bo = C.Sidebar, yo = C.Location, _o = C.SidePanelController, { Header: Ro, toggleBottomSheet: So, Modal: Eo, MainButton: xo, WebApp: ne, getUser: Ao } = C;
|
|
2533
2537
|
export {
|
|
2534
|
-
|
|
2535
|
-
|
|
2536
|
-
|
|
2537
|
-
|
|
2538
|
-
|
|
2539
|
-
|
|
2540
|
-
|
|
2541
|
-
|
|
2542
|
-
|
|
2543
|
-
|
|
2544
|
-
|
|
2545
|
-
|
|
2546
|
-
|
|
2547
|
-
|
|
2548
|
-
|
|
2549
|
-
|
|
2550
|
-
|
|
2551
|
-
|
|
2538
|
+
go as AppBar,
|
|
2539
|
+
nr as BackButton,
|
|
2540
|
+
lo as BackButtonPrev,
|
|
2541
|
+
oo as BackButtonState,
|
|
2542
|
+
co as BottomSheet,
|
|
2543
|
+
Ro as Header,
|
|
2544
|
+
po as Loading,
|
|
2545
|
+
yo as Location,
|
|
2546
|
+
xo as MainButton,
|
|
2547
|
+
vo as Menu,
|
|
2548
|
+
Eo as Modal,
|
|
2549
|
+
uo as Notice,
|
|
2550
|
+
fo as SafeArea,
|
|
2551
|
+
mo as Scroll,
|
|
2552
|
+
ho as SidePanel,
|
|
2553
|
+
_o as SidePanelController,
|
|
2554
|
+
bo as Sidebar,
|
|
2555
|
+
io as TabBar,
|
|
2552
2556
|
ne as WebApp,
|
|
2553
2557
|
be as clsx,
|
|
2554
|
-
|
|
2555
|
-
|
|
2556
|
-
|
|
2558
|
+
C as default,
|
|
2559
|
+
Ao as getUser,
|
|
2560
|
+
So as toggleBottomSheet
|
|
2557
2561
|
};
|