@elcrm/telegram 0.0.119 → 0.0.121
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.css +1 -1
- package/dist/index.es.js +317 -312
- package/dist/index.umd.js +16 -16
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import F, { useState as J, useEffect as pe } from "react";
|
|
2
2
|
import { createPortal as ar } from "react-dom";
|
|
3
|
-
import './index.css';var
|
|
3
|
+
import './index.css';var Wt = { exports: {} }, nt = {};
|
|
4
4
|
/**
|
|
5
5
|
* @license React
|
|
6
6
|
* react-jsx-runtime.production.min.js
|
|
@@ -10,17 +10,17 @@ import './index.css';var Lt = { exports: {} }, nt = {};
|
|
|
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
|
|
13
|
+
var zt;
|
|
14
14
|
function sr() {
|
|
15
|
-
if (
|
|
16
|
-
|
|
15
|
+
if (zt) return nt;
|
|
16
|
+
zt = 1;
|
|
17
17
|
var r = F, n = Symbol.for("react.element"), a = Symbol.for("react.fragment"), c = Object.prototype.hasOwnProperty, l = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, p = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
18
18
|
function S(m, u, R) {
|
|
19
|
-
var h, b = {},
|
|
20
|
-
R !== void 0 && (
|
|
19
|
+
var h, b = {}, g = null, $ = null;
|
|
20
|
+
R !== void 0 && (g = "" + R), u.key !== void 0 && (g = "" + u.key), u.ref !== void 0 && ($ = u.ref);
|
|
21
21
|
for (h in u) c.call(u, h) && !p.hasOwnProperty(h) && (b[h] = u[h]);
|
|
22
22
|
if (m && m.defaultProps) for (h in u = m.defaultProps, u) b[h] === void 0 && (b[h] = u[h]);
|
|
23
|
-
return { $$typeof: n, type: m, key:
|
|
23
|
+
return { $$typeof: n, type: m, key: g, ref: $, props: b, _owner: l.current };
|
|
24
24
|
}
|
|
25
25
|
return nt.Fragment = a, nt.jsx = S, nt.jsxs = S, nt;
|
|
26
26
|
}
|
|
@@ -34,14 +34,14 @@ var ot = {};
|
|
|
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
|
|
37
|
+
var Vt;
|
|
38
38
|
function ir() {
|
|
39
|
-
return
|
|
40
|
-
var r = F, n = Symbol.for("react.element"), a = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), l = Symbol.for("react.strict_mode"), p = Symbol.for("react.profiler"), S = Symbol.for("react.provider"), m = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), R = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), b = Symbol.for("react.memo"),
|
|
39
|
+
return Vt || (Vt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
40
|
+
var r = F, n = Symbol.for("react.element"), a = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), l = Symbol.for("react.strict_mode"), p = Symbol.for("react.profiler"), S = Symbol.for("react.provider"), m = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), R = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), b = Symbol.for("react.memo"), g = Symbol.for("react.lazy"), $ = Symbol.for("react.offscreen"), P = Symbol.iterator, Ne = "@@iterator";
|
|
41
41
|
function he(e) {
|
|
42
42
|
if (e === null || typeof e != "object")
|
|
43
43
|
return null;
|
|
44
|
-
var t =
|
|
44
|
+
var t = P && e[P] || e[Ne];
|
|
45
45
|
return typeof t == "function" ? t : null;
|
|
46
46
|
}
|
|
47
47
|
var L = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
@@ -56,16 +56,16 @@ function ir() {
|
|
|
56
56
|
{
|
|
57
57
|
var s = L.ReactDebugCurrentFrame, v = s.getStackAddendum();
|
|
58
58
|
v !== "" && (t += "%s", o = o.concat([v]));
|
|
59
|
-
var
|
|
59
|
+
var y = o.map(function(d) {
|
|
60
60
|
return String(d);
|
|
61
61
|
});
|
|
62
|
-
|
|
62
|
+
y.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, y);
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
|
-
var Ie = !1,
|
|
65
|
+
var Ie = !1, Pe = !1, Me = !1, De = !1, _ = !1, E;
|
|
66
66
|
E = Symbol.for("react.module.reference");
|
|
67
67
|
function B(e) {
|
|
68
|
-
return !!(typeof e == "string" || typeof e == "function" || e === c || e === p || _ || e === l || e === R || e === h || De || e === $ || Ie ||
|
|
68
|
+
return !!(typeof e == "string" || typeof e == "function" || e === c || e === p || _ || e === l || e === R || e === h || De || e === $ || Ie || Pe || Me || typeof e == "object" && e !== null && (e.$$typeof === g || e.$$typeof === b || e.$$typeof === S || e.$$typeof === m || e.$$typeof === u || // 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.
|
|
@@ -115,10 +115,10 @@ function ir() {
|
|
|
115
115
|
case b:
|
|
116
116
|
var s = e.displayName || null;
|
|
117
117
|
return s !== null ? s : N(e.type) || "Memo";
|
|
118
|
-
case
|
|
119
|
-
var v = e,
|
|
118
|
+
case g: {
|
|
119
|
+
var v = e, y = v._payload, d = v._init;
|
|
120
120
|
try {
|
|
121
|
-
return N(d(
|
|
121
|
+
return N(d(y));
|
|
122
122
|
} catch {
|
|
123
123
|
return null;
|
|
124
124
|
}
|
|
@@ -130,7 +130,7 @@ function ir() {
|
|
|
130
130
|
function We() {
|
|
131
131
|
}
|
|
132
132
|
We.__reactDisabledLog = !0;
|
|
133
|
-
function
|
|
133
|
+
function pt() {
|
|
134
134
|
{
|
|
135
135
|
if (Y === 0) {
|
|
136
136
|
le = console.log, Z = console.info, X = console.warn, Q = console.error, ee = console.group, Fe = console.groupCollapsed, Le = console.groupEnd;
|
|
@@ -153,7 +153,7 @@ function ir() {
|
|
|
153
153
|
Y++;
|
|
154
154
|
}
|
|
155
155
|
}
|
|
156
|
-
function
|
|
156
|
+
function vt() {
|
|
157
157
|
{
|
|
158
158
|
if (Y--, Y === 0) {
|
|
159
159
|
var e = {
|
|
@@ -188,24 +188,24 @@ function ir() {
|
|
|
188
188
|
Y < 0 && j("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
189
189
|
}
|
|
190
190
|
}
|
|
191
|
-
var
|
|
191
|
+
var ge = L.ReactCurrentDispatcher, ye;
|
|
192
192
|
function re(e, t, o) {
|
|
193
193
|
{
|
|
194
|
-
if (
|
|
194
|
+
if (ye === void 0)
|
|
195
195
|
try {
|
|
196
196
|
throw Error();
|
|
197
197
|
} catch (v) {
|
|
198
198
|
var s = v.stack.trim().match(/\n( *(at )?)/);
|
|
199
|
-
|
|
199
|
+
ye = s && s[1] || "";
|
|
200
200
|
}
|
|
201
201
|
return `
|
|
202
|
-
` +
|
|
202
|
+
` + ye + e;
|
|
203
203
|
}
|
|
204
204
|
}
|
|
205
205
|
var me = !1, ne;
|
|
206
206
|
{
|
|
207
|
-
var
|
|
208
|
-
ne = new
|
|
207
|
+
var ht = typeof WeakMap == "function" ? WeakMap : Map;
|
|
208
|
+
ne = new ht();
|
|
209
209
|
}
|
|
210
210
|
function Ue(e, t) {
|
|
211
211
|
if (!e || me)
|
|
@@ -219,8 +219,8 @@ function ir() {
|
|
|
219
219
|
me = !0;
|
|
220
220
|
var v = Error.prepareStackTrace;
|
|
221
221
|
Error.prepareStackTrace = void 0;
|
|
222
|
-
var
|
|
223
|
-
|
|
222
|
+
var y;
|
|
223
|
+
y = ge.current, ge.current = null, pt();
|
|
224
224
|
try {
|
|
225
225
|
if (t) {
|
|
226
226
|
var d = function() {
|
|
@@ -264,21 +264,21 @@ function ir() {
|
|
|
264
264
|
if (x !== 1 || k !== 1)
|
|
265
265
|
do
|
|
266
266
|
if (x--, k--, k < 0 || f[x] !== A[k]) {
|
|
267
|
-
var
|
|
267
|
+
var w = `
|
|
268
268
|
` + f[x].replace(" at new ", " at ");
|
|
269
|
-
return e.displayName &&
|
|
269
|
+
return e.displayName && w.includes("<anonymous>") && (w = w.replace("<anonymous>", e.displayName)), typeof e == "function" && ne.set(e, w), w;
|
|
270
270
|
}
|
|
271
271
|
while (x >= 1 && k >= 0);
|
|
272
272
|
break;
|
|
273
273
|
}
|
|
274
274
|
}
|
|
275
275
|
} finally {
|
|
276
|
-
me = !1,
|
|
276
|
+
me = !1, ge.current = y, vt(), Error.prepareStackTrace = v;
|
|
277
277
|
}
|
|
278
278
|
var V = e ? e.displayName || e.name : "", W = V ? re(V) : "";
|
|
279
279
|
return typeof e == "function" && ne.set(e, W), W;
|
|
280
280
|
}
|
|
281
|
-
function
|
|
281
|
+
function gt(e, t, o) {
|
|
282
282
|
return Ue(e, !1);
|
|
283
283
|
}
|
|
284
284
|
function yt(e) {
|
|
@@ -301,13 +301,13 @@ function ir() {
|
|
|
301
301
|
if (typeof e == "object")
|
|
302
302
|
switch (e.$$typeof) {
|
|
303
303
|
case u:
|
|
304
|
-
return
|
|
304
|
+
return gt(e.render);
|
|
305
305
|
case b:
|
|
306
306
|
return oe(e.type, t, o);
|
|
307
|
-
case
|
|
308
|
-
var s = e, v = s._payload,
|
|
307
|
+
case g: {
|
|
308
|
+
var s = e, v = s._payload, y = s._init;
|
|
309
309
|
try {
|
|
310
|
-
return oe(
|
|
310
|
+
return oe(y(v), t, o);
|
|
311
311
|
} catch {
|
|
312
312
|
}
|
|
313
313
|
}
|
|
@@ -322,11 +322,11 @@ function ir() {
|
|
|
322
322
|
} else
|
|
323
323
|
ze.setExtraStackFrame(null);
|
|
324
324
|
}
|
|
325
|
-
function
|
|
325
|
+
function mt(e, t, o, s, v) {
|
|
326
326
|
{
|
|
327
|
-
var
|
|
327
|
+
var y = Function.call.bind(K);
|
|
328
328
|
for (var d in e)
|
|
329
|
-
if (
|
|
329
|
+
if (y(e, d)) {
|
|
330
330
|
var f = void 0;
|
|
331
331
|
try {
|
|
332
332
|
if (typeof e[d] != "function") {
|
|
@@ -341,17 +341,17 @@ function ir() {
|
|
|
341
341
|
}
|
|
342
342
|
}
|
|
343
343
|
}
|
|
344
|
-
var
|
|
344
|
+
var bt = Array.isArray;
|
|
345
345
|
function be(e) {
|
|
346
|
-
return
|
|
346
|
+
return bt(e);
|
|
347
347
|
}
|
|
348
|
-
function
|
|
348
|
+
function _t(e) {
|
|
349
349
|
{
|
|
350
350
|
var t = typeof Symbol == "function" && Symbol.toStringTag, o = t && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
351
351
|
return o;
|
|
352
352
|
}
|
|
353
353
|
}
|
|
354
|
-
function
|
|
354
|
+
function Rt(e) {
|
|
355
355
|
try {
|
|
356
356
|
return Ve(e), !1;
|
|
357
357
|
} catch {
|
|
@@ -362,16 +362,16 @@ function ir() {
|
|
|
362
362
|
return "" + e;
|
|
363
363
|
}
|
|
364
364
|
function qe(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 (Rt(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.", _t(e)), Ve(e);
|
|
367
367
|
}
|
|
368
|
-
var He = L.ReactCurrentOwner,
|
|
368
|
+
var He = L.ReactCurrentOwner, St = {
|
|
369
369
|
key: !0,
|
|
370
370
|
ref: !0,
|
|
371
371
|
__self: !0,
|
|
372
372
|
__source: !0
|
|
373
373
|
}, Je, Ke;
|
|
374
|
-
function
|
|
374
|
+
function xt(e) {
|
|
375
375
|
if (K.call(e, "ref")) {
|
|
376
376
|
var t = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
377
377
|
if (t && t.isReactWarning)
|
|
@@ -379,7 +379,7 @@ function ir() {
|
|
|
379
379
|
}
|
|
380
380
|
return e.ref !== void 0;
|
|
381
381
|
}
|
|
382
|
-
function
|
|
382
|
+
function kt(e) {
|
|
383
383
|
if (K.call(e, "key")) {
|
|
384
384
|
var t = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
385
385
|
if (t && t.isReactWarning)
|
|
@@ -387,10 +387,10 @@ function ir() {
|
|
|
387
387
|
}
|
|
388
388
|
return e.key !== void 0;
|
|
389
389
|
}
|
|
390
|
-
function
|
|
390
|
+
function Et(e, t) {
|
|
391
391
|
typeof e.ref == "string" && He.current;
|
|
392
392
|
}
|
|
393
|
-
function
|
|
393
|
+
function jt(e, t) {
|
|
394
394
|
{
|
|
395
395
|
var o = function() {
|
|
396
396
|
Je || (Je = !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)", t));
|
|
@@ -401,7 +401,7 @@ function ir() {
|
|
|
401
401
|
});
|
|
402
402
|
}
|
|
403
403
|
}
|
|
404
|
-
function
|
|
404
|
+
function At(e, t) {
|
|
405
405
|
{
|
|
406
406
|
var o = function() {
|
|
407
407
|
Ke || (Ke = !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)", t));
|
|
@@ -412,7 +412,7 @@ function ir() {
|
|
|
412
412
|
});
|
|
413
413
|
}
|
|
414
414
|
}
|
|
415
|
-
var
|
|
415
|
+
var Ot = function(e, t, o, s, v, y, d) {
|
|
416
416
|
var f = {
|
|
417
417
|
// This tag allows us to uniquely identify this as a React Element
|
|
418
418
|
$$typeof: n,
|
|
@@ -422,7 +422,7 @@ function ir() {
|
|
|
422
422
|
ref: o,
|
|
423
423
|
props: d,
|
|
424
424
|
// Record the component responsible for creating this element.
|
|
425
|
-
_owner:
|
|
425
|
+
_owner: y
|
|
426
426
|
};
|
|
427
427
|
return f._store = {}, Object.defineProperty(f._store, "validated", {
|
|
428
428
|
configurable: !1,
|
|
@@ -441,22 +441,22 @@ function ir() {
|
|
|
441
441
|
value: v
|
|
442
442
|
}), Object.freeze && (Object.freeze(f.props), Object.freeze(f)), f;
|
|
443
443
|
};
|
|
444
|
-
function
|
|
444
|
+
function Ct(e, t, o, s, v) {
|
|
445
445
|
{
|
|
446
|
-
var
|
|
447
|
-
o !== void 0 && (qe(o), f = "" + o),
|
|
448
|
-
for (
|
|
449
|
-
K.call(t,
|
|
446
|
+
var y, d = {}, f = null, A = null;
|
|
447
|
+
o !== void 0 && (qe(o), f = "" + o), kt(t) && (qe(t.key), f = "" + t.key), xt(t) && (A = t.ref, Et(t, v));
|
|
448
|
+
for (y in t)
|
|
449
|
+
K.call(t, y) && !St.hasOwnProperty(y) && (d[y] = t[y]);
|
|
450
450
|
if (e && e.defaultProps) {
|
|
451
451
|
var x = e.defaultProps;
|
|
452
|
-
for (
|
|
453
|
-
d[
|
|
452
|
+
for (y in x)
|
|
453
|
+
d[y] === void 0 && (d[y] = x[y]);
|
|
454
454
|
}
|
|
455
455
|
if (f || A) {
|
|
456
456
|
var k = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
457
|
-
f &&
|
|
457
|
+
f && jt(d, k), A && At(d, k);
|
|
458
458
|
}
|
|
459
|
-
return
|
|
459
|
+
return Ot(e, f, A, v, s, He.current, d);
|
|
460
460
|
}
|
|
461
461
|
}
|
|
462
462
|
var _e = L.ReactCurrentOwner, Ge = L.ReactDebugCurrentFrame;
|
|
@@ -484,7 +484,7 @@ Check the render method of \`` + e + "`.";
|
|
|
484
484
|
return "";
|
|
485
485
|
}
|
|
486
486
|
}
|
|
487
|
-
function
|
|
487
|
+
function Pt(e) {
|
|
488
488
|
return "";
|
|
489
489
|
}
|
|
490
490
|
var Xe = {};
|
|
@@ -527,12 +527,12 @@ Check the top-level render call using <` + o + ">.");
|
|
|
527
527
|
else if (e) {
|
|
528
528
|
var v = he(e);
|
|
529
529
|
if (typeof v == "function" && v !== e.entries)
|
|
530
|
-
for (var
|
|
530
|
+
for (var y = v.call(e), d; !(d = y.next()).done; )
|
|
531
531
|
Se(d.value) && Qe(d.value, t);
|
|
532
532
|
}
|
|
533
533
|
}
|
|
534
534
|
}
|
|
535
|
-
function
|
|
535
|
+
function Tt(e) {
|
|
536
536
|
{
|
|
537
537
|
var t = e.type;
|
|
538
538
|
if (t == null || typeof t == "string")
|
|
@@ -548,7 +548,7 @@ Check the top-level render call using <` + o + ">.");
|
|
|
548
548
|
return;
|
|
549
549
|
if (o) {
|
|
550
550
|
var s = N(t);
|
|
551
|
-
|
|
551
|
+
mt(o, e.props, "prop", s, e);
|
|
552
552
|
} else if (t.PropTypes !== void 0 && !Re) {
|
|
553
553
|
Re = !0;
|
|
554
554
|
var v = N(t);
|
|
@@ -557,7 +557,7 @@ Check the top-level render call using <` + o + ">.");
|
|
|
557
557
|
typeof t.getDefaultProps == "function" && !t.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 $t(e) {
|
|
561
561
|
{
|
|
562
562
|
for (var t = Object.keys(e.props), o = 0; o < t.length; o++) {
|
|
563
563
|
var s = t[o];
|
|
@@ -570,62 +570,62 @@ Check the top-level render call using <` + o + ">.");
|
|
|
570
570
|
}
|
|
571
571
|
}
|
|
572
572
|
var tt = {};
|
|
573
|
-
function rt(e, t, o, s, v,
|
|
573
|
+
function rt(e, t, o, s, v, y) {
|
|
574
574
|
{
|
|
575
575
|
var d = B(e);
|
|
576
576
|
if (!d) {
|
|
577
577
|
var f = "";
|
|
578
578
|
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (f += " 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 A =
|
|
579
|
+
var A = Pt();
|
|
580
580
|
A ? f += A : f += Ze();
|
|
581
581
|
var x;
|
|
582
582
|
e === null ? x = "null" : be(e) ? x = "array" : e !== void 0 && e.$$typeof === n ? (x = "<" + (N(e.type) || "Unknown") + " />", f = " Did you accidentally export a JSX literal instead of a component?") : x = 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", x, f);
|
|
583
583
|
}
|
|
584
|
-
var k =
|
|
584
|
+
var k = Ct(e, t, o, v, y);
|
|
585
585
|
if (k == null)
|
|
586
586
|
return k;
|
|
587
587
|
if (d) {
|
|
588
|
-
var
|
|
589
|
-
if (
|
|
588
|
+
var w = t.children;
|
|
589
|
+
if (w !== void 0)
|
|
590
590
|
if (s)
|
|
591
|
-
if (be(
|
|
592
|
-
for (var V = 0; V <
|
|
593
|
-
et(
|
|
594
|
-
Object.freeze && Object.freeze(
|
|
591
|
+
if (be(w)) {
|
|
592
|
+
for (var V = 0; V < w.length; V++)
|
|
593
|
+
et(w[V], 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
|
-
et(
|
|
598
|
+
et(w, e);
|
|
599
599
|
}
|
|
600
600
|
if (K.call(t, "key")) {
|
|
601
|
-
var W = N(e), C = Object.keys(t).filter(function(
|
|
602
|
-
return
|
|
601
|
+
var W = N(e), C = Object.keys(t).filter(function(Ft) {
|
|
602
|
+
return Ft !== "key";
|
|
603
603
|
}), xe = C.length > 0 ? "{key: someKey, " + C.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
604
604
|
if (!tt[W + xe]) {
|
|
605
|
-
var
|
|
605
|
+
var Dt = C.length > 0 ? "{" + C.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} />`, xe, W,
|
|
611
|
+
<%s key={someKey} {...props} />`, xe, W, Dt, W), tt[W + xe] = !0;
|
|
612
612
|
}
|
|
613
613
|
}
|
|
614
|
-
return e === c ?
|
|
614
|
+
return e === c ? $t(k) : Tt(k), k;
|
|
615
615
|
}
|
|
616
616
|
}
|
|
617
|
-
function
|
|
617
|
+
function Nt(e, t, o) {
|
|
618
618
|
return rt(e, t, o, !0);
|
|
619
619
|
}
|
|
620
|
-
function
|
|
620
|
+
function Bt(e, t, o) {
|
|
621
621
|
return rt(e, t, o, !1);
|
|
622
622
|
}
|
|
623
|
-
var
|
|
624
|
-
ot.Fragment = c, ot.jsx =
|
|
623
|
+
var It = Bt, Mt = Nt;
|
|
624
|
+
ot.Fragment = c, ot.jsx = It, ot.jsxs = Mt;
|
|
625
625
|
}()), ot;
|
|
626
626
|
}
|
|
627
|
-
process.env.NODE_ENV === "production" ?
|
|
628
|
-
var i =
|
|
627
|
+
process.env.NODE_ENV === "production" ? Wt.exports = sr() : Wt.exports = ir();
|
|
628
|
+
var i = Wt.exports;
|
|
629
629
|
const cr = "_o_1apbm_11", lr = "_x_1apbm_24", ur = "_p_1apbm_28", fr = "_m_1apbm_45", we = {
|
|
630
630
|
o: cr,
|
|
631
631
|
x: lr,
|
|
@@ -633,7 +633,7 @@ const cr = "_o_1apbm_11", lr = "_x_1apbm_24", ur = "_p_1apbm_28", fr = "_m_1apbm
|
|
|
633
633
|
m: fr
|
|
634
634
|
};
|
|
635
635
|
let q = {};
|
|
636
|
-
var
|
|
636
|
+
var Ut;
|
|
637
637
|
((r) => {
|
|
638
638
|
function n({
|
|
639
639
|
children: m,
|
|
@@ -641,20 +641,20 @@ var Wt;
|
|
|
641
641
|
nameModal: R,
|
|
642
642
|
offsetTop: h
|
|
643
643
|
}) {
|
|
644
|
-
const [b,
|
|
644
|
+
const [b, g] = J(!1), [$, P] = J(!1);
|
|
645
645
|
if (q[R].onClose = () => {
|
|
646
|
-
T.BackButton(!1),
|
|
647
|
-
|
|
646
|
+
T.BackButton(!1), P(!0), setTimeout(() => {
|
|
647
|
+
g(!1), P(!1), u == null || u(), q.x(R);
|
|
648
648
|
}, 300);
|
|
649
649
|
}, pe(() => {
|
|
650
650
|
b ? q[R].onClose() : (T.BackButton({
|
|
651
651
|
callback: () => q[R].onClose()
|
|
652
|
-
}),
|
|
652
|
+
}), g(!0));
|
|
653
653
|
}, []), !!b)
|
|
654
|
-
return /* @__PURE__ */ i.jsx("div", { className:
|
|
654
|
+
return /* @__PURE__ */ i.jsx("div", { className: Ce(we.o, $ && we.x), children: /* @__PURE__ */ i.jsx(
|
|
655
655
|
"div",
|
|
656
656
|
{
|
|
657
|
-
className:
|
|
657
|
+
className: Ce(
|
|
658
658
|
we.p,
|
|
659
659
|
$ && we.x,
|
|
660
660
|
h ? we.o : we.m
|
|
@@ -695,15 +695,15 @@ var Wt;
|
|
|
695
695
|
r.Add = c;
|
|
696
696
|
function l(m, u = Date.now().toString(), R) {
|
|
697
697
|
return q[u] = {}, {
|
|
698
|
-
Open: (
|
|
698
|
+
Open: (g) => {
|
|
699
699
|
r.Add(
|
|
700
700
|
/* @__PURE__ */ i.jsx(
|
|
701
701
|
m,
|
|
702
702
|
{
|
|
703
|
-
...
|
|
703
|
+
...g,
|
|
704
704
|
onCallbackModal: ($) => {
|
|
705
|
-
var
|
|
706
|
-
(
|
|
705
|
+
var P;
|
|
706
|
+
(P = g.callback) == null || P.call(g, $);
|
|
707
707
|
},
|
|
708
708
|
nameModal: u
|
|
709
709
|
},
|
|
@@ -726,7 +726,7 @@ var Wt;
|
|
|
726
726
|
}));
|
|
727
727
|
}
|
|
728
728
|
r.Open = S;
|
|
729
|
-
})(
|
|
729
|
+
})(Ut || (Ut = {}));
|
|
730
730
|
function Qt() {
|
|
731
731
|
return typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof self < "u" ? self : typeof global < "u" ? global : {};
|
|
732
732
|
}
|
|
@@ -735,14 +735,14 @@ const er = {
|
|
|
735
735
|
iterations: 7,
|
|
736
736
|
saltLength: 16
|
|
737
737
|
};
|
|
738
|
-
function
|
|
738
|
+
function qt(r) {
|
|
739
739
|
const n = Qt();
|
|
740
740
|
n.CRYPTO_PARAMS ? n.CRYPTO_PARAMS = { ...n.CRYPTO_PARAMS, ...r } : n.CRYPTO_PARAMS = { ...er, ...r };
|
|
741
741
|
}
|
|
742
|
-
function
|
|
742
|
+
function ut() {
|
|
743
743
|
return Qt().CRYPTO_PARAMS || er;
|
|
744
744
|
}
|
|
745
|
-
const
|
|
745
|
+
const ft = (r) => {
|
|
746
746
|
let n = 0;
|
|
747
747
|
for (let c = 0; c < r.length; c++) {
|
|
748
748
|
const l = r.charCodeAt(c);
|
|
@@ -757,8 +757,8 @@ const ut = (r) => {
|
|
|
757
757
|
return a;
|
|
758
758
|
}, tr = (r, n) => {
|
|
759
759
|
let a = r + n;
|
|
760
|
-
for (let l = 0; l <
|
|
761
|
-
a =
|
|
760
|
+
for (let l = 0; l < ut().iterations; l++)
|
|
761
|
+
a = ft(a);
|
|
762
762
|
const c = new Uint8Array(32);
|
|
763
763
|
for (let l = 0; l < 32; l++)
|
|
764
764
|
c[l] = parseInt(a.substring(l * 2, l * 2 + 2), 16);
|
|
@@ -785,22 +785,22 @@ const ut = (r) => {
|
|
|
785
785
|
for (let c = 0; c < n.length; c++)
|
|
786
786
|
a[c] = n.charCodeAt(c);
|
|
787
787
|
return a;
|
|
788
|
-
},
|
|
788
|
+
}, gr = (r) => {
|
|
789
789
|
try {
|
|
790
|
-
const n =
|
|
790
|
+
const n = ft(
|
|
791
791
|
Date.now().toString() + Math.random()
|
|
792
|
-
).substring(0,
|
|
792
|
+
).substring(0, ut().saltLength * 2), a = ft(r + n).substring(0, 8), c = tr(ut().key, n), l = dr(r), p = rr(l, c), S = vr(p);
|
|
793
793
|
return `${n}.${S}.${a}`;
|
|
794
794
|
} catch {
|
|
795
795
|
throw new Error("Не удалось зашифровать данные");
|
|
796
796
|
}
|
|
797
|
-
},
|
|
797
|
+
}, yr = (r) => {
|
|
798
798
|
try {
|
|
799
799
|
const n = r.split(".");
|
|
800
800
|
if (n.length !== 3)
|
|
801
801
|
throw new Error("Неверный формат зашифрованных данных");
|
|
802
|
-
const a = n[0], c = n[1], l = n[2], p = tr(
|
|
803
|
-
if (
|
|
802
|
+
const a = n[0], c = n[1], l = n[2], p = tr(ut().key, a), S = hr(c), m = rr(S, p), u = pr(m);
|
|
803
|
+
if (ft(u + a).substring(
|
|
804
804
|
0,
|
|
805
805
|
8
|
|
806
806
|
) !== l)
|
|
@@ -813,11 +813,11 @@ const ut = (r) => {
|
|
|
813
813
|
var ue;
|
|
814
814
|
((r) => {
|
|
815
815
|
r.setKey = (n) => {
|
|
816
|
-
|
|
816
|
+
qt({ key: n });
|
|
817
817
|
}, r.enCode = (n) => {
|
|
818
818
|
try {
|
|
819
819
|
const a = JSON.stringify(n);
|
|
820
|
-
return
|
|
820
|
+
return gr(a);
|
|
821
821
|
} catch {
|
|
822
822
|
throw new Error("Не удалось зашифровать объект");
|
|
823
823
|
}
|
|
@@ -825,13 +825,13 @@ var ue;
|
|
|
825
825
|
try {
|
|
826
826
|
if (!n || n.length < 10)
|
|
827
827
|
return !1;
|
|
828
|
-
const a =
|
|
828
|
+
const a = yr(n);
|
|
829
829
|
return a && JSON.parse(a) || !1;
|
|
830
830
|
} catch {
|
|
831
831
|
return !1;
|
|
832
832
|
}
|
|
833
833
|
}, r.setSecurityParams = (n, a) => {
|
|
834
|
-
|
|
834
|
+
qt({ iterations: n, saltLength: a });
|
|
835
835
|
};
|
|
836
836
|
})(ue || (ue = {}));
|
|
837
837
|
var at = {};
|
|
@@ -844,17 +844,17 @@ var at = {};
|
|
|
844
844
|
* This source code is licensed under the MIT license found in the
|
|
845
845
|
* LICENSE file in the root directory of this source tree.
|
|
846
846
|
*/
|
|
847
|
-
var
|
|
847
|
+
var Ht;
|
|
848
848
|
function mr() {
|
|
849
|
-
if (
|
|
850
|
-
|
|
849
|
+
if (Ht) return at;
|
|
850
|
+
Ht = 1;
|
|
851
851
|
var r = F, n = Symbol.for("react.element"), a = Symbol.for("react.fragment"), c = Object.prototype.hasOwnProperty, l = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, p = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
852
852
|
function S(m, u, R) {
|
|
853
|
-
var h, b = {},
|
|
854
|
-
R !== void 0 && (
|
|
853
|
+
var h, b = {}, g = null, $ = null;
|
|
854
|
+
R !== void 0 && (g = "" + R), u.key !== void 0 && (g = "" + u.key), u.ref !== void 0 && ($ = u.ref);
|
|
855
855
|
for (h in u) c.call(u, h) && !p.hasOwnProperty(h) && (b[h] = u[h]);
|
|
856
856
|
if (m && m.defaultProps) for (h in u = m.defaultProps, u) b[h] === void 0 && (b[h] = u[h]);
|
|
857
|
-
return { $$typeof: n, type: m, key:
|
|
857
|
+
return { $$typeof: n, type: m, key: g, ref: $, props: b, _owner: l.current };
|
|
858
858
|
}
|
|
859
859
|
return at.Fragment = a, at.jsx = S, at.jsxs = S, at;
|
|
860
860
|
}
|
|
@@ -868,14 +868,14 @@ var it = {};
|
|
|
868
868
|
* This source code is licensed under the MIT license found in the
|
|
869
869
|
* LICENSE file in the root directory of this source tree.
|
|
870
870
|
*/
|
|
871
|
-
var
|
|
871
|
+
var Jt;
|
|
872
872
|
function br() {
|
|
873
|
-
return
|
|
874
|
-
var r = F, n = Symbol.for("react.element"), a = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), l = Symbol.for("react.strict_mode"), p = Symbol.for("react.profiler"), S = Symbol.for("react.provider"), m = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), R = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), b = Symbol.for("react.memo"),
|
|
873
|
+
return Jt || (Jt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
874
|
+
var r = F, n = Symbol.for("react.element"), a = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), l = Symbol.for("react.strict_mode"), p = Symbol.for("react.profiler"), S = Symbol.for("react.provider"), m = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), R = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), b = Symbol.for("react.memo"), g = Symbol.for("react.lazy"), $ = Symbol.for("react.offscreen"), P = Symbol.iterator, Ne = "@@iterator";
|
|
875
875
|
function he(e) {
|
|
876
876
|
if (e === null || typeof e != "object")
|
|
877
877
|
return null;
|
|
878
|
-
var t =
|
|
878
|
+
var t = P && e[P] || e[Ne];
|
|
879
879
|
return typeof t == "function" ? t : null;
|
|
880
880
|
}
|
|
881
881
|
var L = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
@@ -890,16 +890,16 @@ function br() {
|
|
|
890
890
|
{
|
|
891
891
|
var s = L.ReactDebugCurrentFrame, v = s.getStackAddendum();
|
|
892
892
|
v !== "" && (t += "%s", o = o.concat([v]));
|
|
893
|
-
var
|
|
893
|
+
var y = o.map(function(d) {
|
|
894
894
|
return String(d);
|
|
895
895
|
});
|
|
896
|
-
|
|
896
|
+
y.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, y);
|
|
897
897
|
}
|
|
898
898
|
}
|
|
899
|
-
var Ie = !1,
|
|
899
|
+
var Ie = !1, Pe = !1, Me = !1, De = !1, _ = !1, E;
|
|
900
900
|
E = Symbol.for("react.module.reference");
|
|
901
901
|
function B(e) {
|
|
902
|
-
return !!(typeof e == "string" || typeof e == "function" || e === c || e === p || _ || e === l || e === R || e === h || De || e === $ || Ie ||
|
|
902
|
+
return !!(typeof e == "string" || typeof e == "function" || e === c || e === p || _ || e === l || e === R || e === h || De || e === $ || Ie || Pe || Me || typeof e == "object" && e !== null && (e.$$typeof === g || e.$$typeof === b || e.$$typeof === S || e.$$typeof === m || e.$$typeof === u || // This needs to include all possible module reference object
|
|
903
903
|
// types supported by any Flight configuration anywhere since
|
|
904
904
|
// we don't know which Flight build this will end up being used
|
|
905
905
|
// with.
|
|
@@ -949,10 +949,10 @@ function br() {
|
|
|
949
949
|
case b:
|
|
950
950
|
var s = e.displayName || null;
|
|
951
951
|
return s !== null ? s : N(e.type) || "Memo";
|
|
952
|
-
case
|
|
953
|
-
var v = e,
|
|
952
|
+
case g: {
|
|
953
|
+
var v = e, y = v._payload, d = v._init;
|
|
954
954
|
try {
|
|
955
|
-
return N(d(
|
|
955
|
+
return N(d(y));
|
|
956
956
|
} catch {
|
|
957
957
|
return null;
|
|
958
958
|
}
|
|
@@ -964,7 +964,7 @@ function br() {
|
|
|
964
964
|
function We() {
|
|
965
965
|
}
|
|
966
966
|
We.__reactDisabledLog = !0;
|
|
967
|
-
function
|
|
967
|
+
function pt() {
|
|
968
968
|
{
|
|
969
969
|
if (Y === 0) {
|
|
970
970
|
le = console.log, Z = console.info, X = console.warn, Q = console.error, ee = console.group, Fe = console.groupCollapsed, Le = console.groupEnd;
|
|
@@ -987,7 +987,7 @@ function br() {
|
|
|
987
987
|
Y++;
|
|
988
988
|
}
|
|
989
989
|
}
|
|
990
|
-
function
|
|
990
|
+
function vt() {
|
|
991
991
|
{
|
|
992
992
|
if (Y--, Y === 0) {
|
|
993
993
|
var e = {
|
|
@@ -1022,24 +1022,24 @@ function br() {
|
|
|
1022
1022
|
Y < 0 && j("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
1023
1023
|
}
|
|
1024
1024
|
}
|
|
1025
|
-
var
|
|
1025
|
+
var ge = L.ReactCurrentDispatcher, ye;
|
|
1026
1026
|
function re(e, t, o) {
|
|
1027
1027
|
{
|
|
1028
|
-
if (
|
|
1028
|
+
if (ye === void 0)
|
|
1029
1029
|
try {
|
|
1030
1030
|
throw Error();
|
|
1031
1031
|
} catch (v) {
|
|
1032
1032
|
var s = v.stack.trim().match(/\n( *(at )?)/);
|
|
1033
|
-
|
|
1033
|
+
ye = s && s[1] || "";
|
|
1034
1034
|
}
|
|
1035
1035
|
return `
|
|
1036
|
-
` +
|
|
1036
|
+
` + ye + e;
|
|
1037
1037
|
}
|
|
1038
1038
|
}
|
|
1039
1039
|
var me = !1, ne;
|
|
1040
1040
|
{
|
|
1041
|
-
var
|
|
1042
|
-
ne = new
|
|
1041
|
+
var ht = typeof WeakMap == "function" ? WeakMap : Map;
|
|
1042
|
+
ne = new ht();
|
|
1043
1043
|
}
|
|
1044
1044
|
function Ue(e, t) {
|
|
1045
1045
|
if (!e || me)
|
|
@@ -1053,8 +1053,8 @@ function br() {
|
|
|
1053
1053
|
me = !0;
|
|
1054
1054
|
var v = Error.prepareStackTrace;
|
|
1055
1055
|
Error.prepareStackTrace = void 0;
|
|
1056
|
-
var
|
|
1057
|
-
|
|
1056
|
+
var y;
|
|
1057
|
+
y = ge.current, ge.current = null, pt();
|
|
1058
1058
|
try {
|
|
1059
1059
|
if (t) {
|
|
1060
1060
|
var d = function() {
|
|
@@ -1098,21 +1098,21 @@ function br() {
|
|
|
1098
1098
|
if (x !== 1 || k !== 1)
|
|
1099
1099
|
do
|
|
1100
1100
|
if (x--, k--, k < 0 || f[x] !== A[k]) {
|
|
1101
|
-
var
|
|
1101
|
+
var w = `
|
|
1102
1102
|
` + f[x].replace(" at new ", " at ");
|
|
1103
|
-
return e.displayName &&
|
|
1103
|
+
return e.displayName && w.includes("<anonymous>") && (w = w.replace("<anonymous>", e.displayName)), typeof e == "function" && ne.set(e, w), w;
|
|
1104
1104
|
}
|
|
1105
1105
|
while (x >= 1 && k >= 0);
|
|
1106
1106
|
break;
|
|
1107
1107
|
}
|
|
1108
1108
|
}
|
|
1109
1109
|
} finally {
|
|
1110
|
-
me = !1,
|
|
1110
|
+
me = !1, ge.current = y, vt(), Error.prepareStackTrace = v;
|
|
1111
1111
|
}
|
|
1112
1112
|
var V = e ? e.displayName || e.name : "", W = V ? re(V) : "";
|
|
1113
1113
|
return typeof e == "function" && ne.set(e, W), W;
|
|
1114
1114
|
}
|
|
1115
|
-
function
|
|
1115
|
+
function gt(e, t, o) {
|
|
1116
1116
|
return Ue(e, !1);
|
|
1117
1117
|
}
|
|
1118
1118
|
function yt(e) {
|
|
@@ -1135,13 +1135,13 @@ function br() {
|
|
|
1135
1135
|
if (typeof e == "object")
|
|
1136
1136
|
switch (e.$$typeof) {
|
|
1137
1137
|
case u:
|
|
1138
|
-
return
|
|
1138
|
+
return gt(e.render);
|
|
1139
1139
|
case b:
|
|
1140
1140
|
return oe(e.type, t, o);
|
|
1141
|
-
case
|
|
1142
|
-
var s = e, v = s._payload,
|
|
1141
|
+
case g: {
|
|
1142
|
+
var s = e, v = s._payload, y = s._init;
|
|
1143
1143
|
try {
|
|
1144
|
-
return oe(
|
|
1144
|
+
return oe(y(v), t, o);
|
|
1145
1145
|
} catch {
|
|
1146
1146
|
}
|
|
1147
1147
|
}
|
|
@@ -1156,11 +1156,11 @@ function br() {
|
|
|
1156
1156
|
} else
|
|
1157
1157
|
ze.setExtraStackFrame(null);
|
|
1158
1158
|
}
|
|
1159
|
-
function
|
|
1159
|
+
function mt(e, t, o, s, v) {
|
|
1160
1160
|
{
|
|
1161
|
-
var
|
|
1161
|
+
var y = Function.call.bind(K);
|
|
1162
1162
|
for (var d in e)
|
|
1163
|
-
if (
|
|
1163
|
+
if (y(e, d)) {
|
|
1164
1164
|
var f = void 0;
|
|
1165
1165
|
try {
|
|
1166
1166
|
if (typeof e[d] != "function") {
|
|
@@ -1175,17 +1175,17 @@ function br() {
|
|
|
1175
1175
|
}
|
|
1176
1176
|
}
|
|
1177
1177
|
}
|
|
1178
|
-
var
|
|
1178
|
+
var bt = Array.isArray;
|
|
1179
1179
|
function be(e) {
|
|
1180
|
-
return
|
|
1180
|
+
return bt(e);
|
|
1181
1181
|
}
|
|
1182
|
-
function
|
|
1182
|
+
function _t(e) {
|
|
1183
1183
|
{
|
|
1184
1184
|
var t = typeof Symbol == "function" && Symbol.toStringTag, o = t && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
1185
1185
|
return o;
|
|
1186
1186
|
}
|
|
1187
1187
|
}
|
|
1188
|
-
function
|
|
1188
|
+
function Rt(e) {
|
|
1189
1189
|
try {
|
|
1190
1190
|
return Ve(e), !1;
|
|
1191
1191
|
} catch {
|
|
@@ -1196,16 +1196,16 @@ function br() {
|
|
|
1196
1196
|
return "" + e;
|
|
1197
1197
|
}
|
|
1198
1198
|
function qe(e) {
|
|
1199
|
-
if (
|
|
1200
|
-
return j("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",
|
|
1199
|
+
if (Rt(e))
|
|
1200
|
+
return j("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", _t(e)), Ve(e);
|
|
1201
1201
|
}
|
|
1202
|
-
var He = L.ReactCurrentOwner,
|
|
1202
|
+
var He = L.ReactCurrentOwner, St = {
|
|
1203
1203
|
key: !0,
|
|
1204
1204
|
ref: !0,
|
|
1205
1205
|
__self: !0,
|
|
1206
1206
|
__source: !0
|
|
1207
1207
|
}, Je, Ke;
|
|
1208
|
-
function
|
|
1208
|
+
function xt(e) {
|
|
1209
1209
|
if (K.call(e, "ref")) {
|
|
1210
1210
|
var t = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
1211
1211
|
if (t && t.isReactWarning)
|
|
@@ -1213,7 +1213,7 @@ function br() {
|
|
|
1213
1213
|
}
|
|
1214
1214
|
return e.ref !== void 0;
|
|
1215
1215
|
}
|
|
1216
|
-
function
|
|
1216
|
+
function kt(e) {
|
|
1217
1217
|
if (K.call(e, "key")) {
|
|
1218
1218
|
var t = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
1219
1219
|
if (t && t.isReactWarning)
|
|
@@ -1221,10 +1221,10 @@ function br() {
|
|
|
1221
1221
|
}
|
|
1222
1222
|
return e.key !== void 0;
|
|
1223
1223
|
}
|
|
1224
|
-
function
|
|
1224
|
+
function Et(e, t) {
|
|
1225
1225
|
typeof e.ref == "string" && He.current;
|
|
1226
1226
|
}
|
|
1227
|
-
function
|
|
1227
|
+
function jt(e, t) {
|
|
1228
1228
|
{
|
|
1229
1229
|
var o = function() {
|
|
1230
1230
|
Je || (Je = !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)", t));
|
|
@@ -1235,7 +1235,7 @@ function br() {
|
|
|
1235
1235
|
});
|
|
1236
1236
|
}
|
|
1237
1237
|
}
|
|
1238
|
-
function
|
|
1238
|
+
function At(e, t) {
|
|
1239
1239
|
{
|
|
1240
1240
|
var o = function() {
|
|
1241
1241
|
Ke || (Ke = !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)", t));
|
|
@@ -1246,7 +1246,7 @@ function br() {
|
|
|
1246
1246
|
});
|
|
1247
1247
|
}
|
|
1248
1248
|
}
|
|
1249
|
-
var
|
|
1249
|
+
var Ot = function(e, t, o, s, v, y, d) {
|
|
1250
1250
|
var f = {
|
|
1251
1251
|
// This tag allows us to uniquely identify this as a React Element
|
|
1252
1252
|
$$typeof: n,
|
|
@@ -1256,7 +1256,7 @@ function br() {
|
|
|
1256
1256
|
ref: o,
|
|
1257
1257
|
props: d,
|
|
1258
1258
|
// Record the component responsible for creating this element.
|
|
1259
|
-
_owner:
|
|
1259
|
+
_owner: y
|
|
1260
1260
|
};
|
|
1261
1261
|
return f._store = {}, Object.defineProperty(f._store, "validated", {
|
|
1262
1262
|
configurable: !1,
|
|
@@ -1275,22 +1275,22 @@ function br() {
|
|
|
1275
1275
|
value: v
|
|
1276
1276
|
}), Object.freeze && (Object.freeze(f.props), Object.freeze(f)), f;
|
|
1277
1277
|
};
|
|
1278
|
-
function
|
|
1278
|
+
function Ct(e, t, o, s, v) {
|
|
1279
1279
|
{
|
|
1280
|
-
var
|
|
1281
|
-
o !== void 0 && (qe(o), f = "" + o),
|
|
1282
|
-
for (
|
|
1283
|
-
K.call(t,
|
|
1280
|
+
var y, d = {}, f = null, A = null;
|
|
1281
|
+
o !== void 0 && (qe(o), f = "" + o), kt(t) && (qe(t.key), f = "" + t.key), xt(t) && (A = t.ref, Et(t));
|
|
1282
|
+
for (y in t)
|
|
1283
|
+
K.call(t, y) && !St.hasOwnProperty(y) && (d[y] = t[y]);
|
|
1284
1284
|
if (e && e.defaultProps) {
|
|
1285
1285
|
var x = e.defaultProps;
|
|
1286
|
-
for (
|
|
1287
|
-
d[
|
|
1286
|
+
for (y in x)
|
|
1287
|
+
d[y] === void 0 && (d[y] = x[y]);
|
|
1288
1288
|
}
|
|
1289
1289
|
if (f || A) {
|
|
1290
1290
|
var k = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
1291
|
-
f &&
|
|
1291
|
+
f && jt(d, k), A && At(d, k);
|
|
1292
1292
|
}
|
|
1293
|
-
return
|
|
1293
|
+
return Ot(e, f, A, v, s, He.current, d);
|
|
1294
1294
|
}
|
|
1295
1295
|
}
|
|
1296
1296
|
var _e = L.ReactCurrentOwner, Ge = L.ReactDebugCurrentFrame;
|
|
@@ -1318,7 +1318,7 @@ Check the render method of \`` + e + "`.";
|
|
|
1318
1318
|
return "";
|
|
1319
1319
|
}
|
|
1320
1320
|
}
|
|
1321
|
-
function
|
|
1321
|
+
function Pt(e) {
|
|
1322
1322
|
return "";
|
|
1323
1323
|
}
|
|
1324
1324
|
var Xe = {};
|
|
@@ -1361,12 +1361,12 @@ Check the top-level render call using <` + o + ">.");
|
|
|
1361
1361
|
else if (e) {
|
|
1362
1362
|
var v = he(e);
|
|
1363
1363
|
if (typeof v == "function" && v !== e.entries)
|
|
1364
|
-
for (var
|
|
1364
|
+
for (var y = v.call(e), d; !(d = y.next()).done; )
|
|
1365
1365
|
Se(d.value) && Qe(d.value, t);
|
|
1366
1366
|
}
|
|
1367
1367
|
}
|
|
1368
1368
|
}
|
|
1369
|
-
function
|
|
1369
|
+
function Tt(e) {
|
|
1370
1370
|
{
|
|
1371
1371
|
var t = e.type;
|
|
1372
1372
|
if (t == null || typeof t == "string")
|
|
@@ -1382,7 +1382,7 @@ Check the top-level render call using <` + o + ">.");
|
|
|
1382
1382
|
return;
|
|
1383
1383
|
if (o) {
|
|
1384
1384
|
var s = N(t);
|
|
1385
|
-
|
|
1385
|
+
mt(o, e.props, "prop", s, e);
|
|
1386
1386
|
} else if (t.PropTypes !== void 0 && !Re) {
|
|
1387
1387
|
Re = !0;
|
|
1388
1388
|
var v = N(t);
|
|
@@ -1391,7 +1391,7 @@ Check the top-level render call using <` + o + ">.");
|
|
|
1391
1391
|
typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && j("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
1392
1392
|
}
|
|
1393
1393
|
}
|
|
1394
|
-
function
|
|
1394
|
+
function $t(e) {
|
|
1395
1395
|
{
|
|
1396
1396
|
for (var t = Object.keys(e.props), o = 0; o < t.length; o++) {
|
|
1397
1397
|
var s = t[o];
|
|
@@ -1404,58 +1404,58 @@ Check the top-level render call using <` + o + ">.");
|
|
|
1404
1404
|
}
|
|
1405
1405
|
}
|
|
1406
1406
|
var tt = {};
|
|
1407
|
-
function rt(e, t, o, s, v,
|
|
1407
|
+
function rt(e, t, o, s, v, y) {
|
|
1408
1408
|
{
|
|
1409
1409
|
var d = B(e);
|
|
1410
1410
|
if (!d) {
|
|
1411
1411
|
var f = "";
|
|
1412
1412
|
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (f += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
1413
|
-
var A =
|
|
1413
|
+
var A = Pt();
|
|
1414
1414
|
A ? f += A : f += Ze();
|
|
1415
1415
|
var x;
|
|
1416
1416
|
e === null ? x = "null" : be(e) ? x = "array" : e !== void 0 && e.$$typeof === n ? (x = "<" + (N(e.type) || "Unknown") + " />", f = " Did you accidentally export a JSX literal instead of a component?") : x = 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", x, f);
|
|
1417
1417
|
}
|
|
1418
|
-
var k =
|
|
1418
|
+
var k = Ct(e, t, o, v, y);
|
|
1419
1419
|
if (k == null)
|
|
1420
1420
|
return k;
|
|
1421
1421
|
if (d) {
|
|
1422
|
-
var
|
|
1423
|
-
if (
|
|
1422
|
+
var w = t.children;
|
|
1423
|
+
if (w !== void 0)
|
|
1424
1424
|
if (s)
|
|
1425
|
-
if (be(
|
|
1426
|
-
for (var V = 0; V <
|
|
1427
|
-
et(
|
|
1428
|
-
Object.freeze && Object.freeze(
|
|
1425
|
+
if (be(w)) {
|
|
1426
|
+
for (var V = 0; V < w.length; V++)
|
|
1427
|
+
et(w[V], e);
|
|
1428
|
+
Object.freeze && Object.freeze(w);
|
|
1429
1429
|
} else
|
|
1430
1430
|
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.");
|
|
1431
1431
|
else
|
|
1432
|
-
et(
|
|
1432
|
+
et(w, e);
|
|
1433
1433
|
}
|
|
1434
1434
|
if (K.call(t, "key")) {
|
|
1435
|
-
var W = N(e), C = Object.keys(t).filter(function(
|
|
1436
|
-
return
|
|
1435
|
+
var W = N(e), C = Object.keys(t).filter(function(Ft) {
|
|
1436
|
+
return Ft !== "key";
|
|
1437
1437
|
}), xe = C.length > 0 ? "{key: someKey, " + C.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
1438
1438
|
if (!tt[W + xe]) {
|
|
1439
|
-
var
|
|
1439
|
+
var Dt = C.length > 0 ? "{" + C.join(": ..., ") + ": ...}" : "{}";
|
|
1440
1440
|
j(`A props object containing a "key" prop is being spread into JSX:
|
|
1441
1441
|
let props = %s;
|
|
1442
1442
|
<%s {...props} />
|
|
1443
1443
|
React keys must be passed directly to JSX without using spread:
|
|
1444
1444
|
let props = %s;
|
|
1445
|
-
<%s key={someKey} {...props} />`, xe, W,
|
|
1445
|
+
<%s key={someKey} {...props} />`, xe, W, Dt, W), tt[W + xe] = !0;
|
|
1446
1446
|
}
|
|
1447
1447
|
}
|
|
1448
|
-
return e === c ?
|
|
1448
|
+
return e === c ? $t(k) : Tt(k), k;
|
|
1449
1449
|
}
|
|
1450
1450
|
}
|
|
1451
|
-
function
|
|
1451
|
+
function Nt(e, t, o) {
|
|
1452
1452
|
return rt(e, t, o, !0);
|
|
1453
1453
|
}
|
|
1454
|
-
function
|
|
1454
|
+
function Bt(e, t, o) {
|
|
1455
1455
|
return rt(e, t, o, !1);
|
|
1456
1456
|
}
|
|
1457
|
-
var
|
|
1458
|
-
it.Fragment = c, it.jsx =
|
|
1457
|
+
var It = Bt, Mt = Nt;
|
|
1458
|
+
it.Fragment = c, it.jsx = It, it.jsxs = Mt;
|
|
1459
1459
|
}()), it;
|
|
1460
1460
|
}
|
|
1461
1461
|
process.env.NODE_ENV === "production" ? mr() : br();
|
|
@@ -1608,10 +1608,10 @@ var ve;
|
|
|
1608
1608
|
return O().module || "";
|
|
1609
1609
|
}
|
|
1610
1610
|
r.getModule = b;
|
|
1611
|
-
function
|
|
1611
|
+
function g(_) {
|
|
1612
1612
|
return O().module === _;
|
|
1613
1613
|
}
|
|
1614
|
-
r.isModule =
|
|
1614
|
+
r.isModule = g;
|
|
1615
1615
|
function $(_, E) {
|
|
1616
1616
|
if (typeof _ != "function") {
|
|
1617
1617
|
const [B, M] = F.useState(!E), [I, N] = F.useState(_ || he());
|
|
@@ -1622,7 +1622,7 @@ var ve;
|
|
|
1622
1622
|
ke({ tabs: _ });
|
|
1623
1623
|
}
|
|
1624
1624
|
r.useTabs = $;
|
|
1625
|
-
function
|
|
1625
|
+
function P(_) {
|
|
1626
1626
|
let E = (I) => (te({ tab: I }), I);
|
|
1627
1627
|
const [B, M] = F.useState(
|
|
1628
1628
|
he() || _ && E(_) || O().tab
|
|
@@ -1631,7 +1631,7 @@ var ve;
|
|
|
1631
1631
|
M(I);
|
|
1632
1632
|
} }), B;
|
|
1633
1633
|
}
|
|
1634
|
-
r.useTab =
|
|
1634
|
+
r.useTab = P;
|
|
1635
1635
|
async function Ne(_, E = !0) {
|
|
1636
1636
|
te({ tab: _ }), sessionStorage.setItem(
|
|
1637
1637
|
O().STORAGE,
|
|
@@ -1649,7 +1649,7 @@ var ve;
|
|
|
1649
1649
|
r.isTabs = L;
|
|
1650
1650
|
function j(_) {
|
|
1651
1651
|
if (typeof _ != "function") {
|
|
1652
|
-
const [E, B] = F.useState(_ ||
|
|
1652
|
+
const [E, B] = F.useState(_ || Pe());
|
|
1653
1653
|
return ke({ id: (M) => {
|
|
1654
1654
|
B(M);
|
|
1655
1655
|
} }), E;
|
|
@@ -1667,10 +1667,10 @@ var ve;
|
|
|
1667
1667
|
), E && ie().id(_);
|
|
1668
1668
|
}
|
|
1669
1669
|
r.setId = Ie;
|
|
1670
|
-
function
|
|
1670
|
+
function Pe() {
|
|
1671
1671
|
return O().id;
|
|
1672
1672
|
}
|
|
1673
|
-
r.getId =
|
|
1673
|
+
r.getId = Pe;
|
|
1674
1674
|
function Me(_) {
|
|
1675
1675
|
return Number(O().id) === _;
|
|
1676
1676
|
}
|
|
@@ -1694,12 +1694,12 @@ const Rr = "_n_zlj3m_1", Sr = "_i_zlj3m_10", xr = "_t_zlj3m_28", kr = "_e_zlj3m_
|
|
|
1694
1694
|
w: jr,
|
|
1695
1695
|
h: Ar
|
|
1696
1696
|
};
|
|
1697
|
-
let
|
|
1697
|
+
let dt = {};
|
|
1698
1698
|
function Or() {
|
|
1699
1699
|
const [r, n] = F.useState([]);
|
|
1700
|
-
return
|
|
1700
|
+
return dt.set = (a) => {
|
|
1701
1701
|
n([...r, a]);
|
|
1702
|
-
},
|
|
1702
|
+
}, dt.del = (a) => {
|
|
1703
1703
|
r.forEach((c, l) => {
|
|
1704
1704
|
c.key === a && r.splice(l, 1);
|
|
1705
1705
|
}), n(r);
|
|
@@ -1707,14 +1707,14 @@ function Or() {
|
|
|
1707
1707
|
}
|
|
1708
1708
|
function Cr(r) {
|
|
1709
1709
|
let n = (/* @__PURE__ */ new Date()).getTime();
|
|
1710
|
-
r.key = n,
|
|
1710
|
+
r.key = n, dt.set({ item: /* @__PURE__ */ i.jsx(Pr, { data: r }, n), key: n });
|
|
1711
1711
|
}
|
|
1712
|
-
function
|
|
1712
|
+
function Pr(r) {
|
|
1713
1713
|
const n = r.data;
|
|
1714
1714
|
let [a] = F.useState("show"), [c, l] = F.useState(!1);
|
|
1715
1715
|
F.useEffect(() => {
|
|
1716
1716
|
setTimeout(function() {
|
|
1717
|
-
l(!0),
|
|
1717
|
+
l(!0), dt.del(n.key);
|
|
1718
1718
|
}, 5e3);
|
|
1719
1719
|
}, [n.key]);
|
|
1720
1720
|
let p;
|
|
@@ -1765,8 +1765,8 @@ let Ae = {
|
|
|
1765
1765
|
Send: Cr,
|
|
1766
1766
|
Init: Or
|
|
1767
1767
|
};
|
|
1768
|
-
const
|
|
1769
|
-
d:
|
|
1768
|
+
const wr = "_d_1u25q_1", Tr = "_b_1u25q_21", $r = "_o_1u25q_25", Nr = "_m_1u25q_30", Br = "_t_1u25q_41", Ir = "_a_1u25q_108", Mr = "_v_1u25q_118", fe = {
|
|
1769
|
+
d: wr,
|
|
1770
1770
|
b: Tr,
|
|
1771
1771
|
o: $r,
|
|
1772
1772
|
m: Nr,
|
|
@@ -1827,20 +1827,20 @@ const Dr = () => {
|
|
|
1827
1827
|
let [r, n] = J(!1), [a, c] = J(!1), [l, p] = J("dark"), [S, m] = J(!1), [u, R] = J(!1);
|
|
1828
1828
|
de.is = !0, de.MainButton.set = n, de.BackButton.set = c, pe(() => {
|
|
1829
1829
|
G[l]["--tg-theme-bg-color-alpha"] = G[l]["--tg-theme-bg-color"] + "b3", G[l]["--tg-theme-secondary-bg-color-alpha"] = G[l]["--tg-theme-secondary-bg-color"] + "d3";
|
|
1830
|
-
for (let
|
|
1830
|
+
for (let g in G[l])
|
|
1831
1831
|
document.documentElement.style.setProperty(
|
|
1832
|
-
|
|
1833
|
-
G[l][
|
|
1832
|
+
g,
|
|
1833
|
+
G[l][g]
|
|
1834
1834
|
);
|
|
1835
|
-
|
|
1835
|
+
$e.safeAreaInset.bottom === 0 && document.documentElement.style.setProperty(
|
|
1836
1836
|
"--tg-safe-area-inset-bottom",
|
|
1837
1837
|
"16px"
|
|
1838
1838
|
);
|
|
1839
1839
|
}, []);
|
|
1840
|
-
let h = (
|
|
1841
|
-
for (let $ in G[
|
|
1842
|
-
document.documentElement.style.setProperty($, G[
|
|
1843
|
-
p(
|
|
1840
|
+
let h = (g) => {
|
|
1841
|
+
for (let $ in G[g])
|
|
1842
|
+
document.documentElement.style.setProperty($, G[g][$]);
|
|
1843
|
+
p(g), m(!1);
|
|
1844
1844
|
}, b = () => {
|
|
1845
1845
|
m(!1), R(!0);
|
|
1846
1846
|
};
|
|
@@ -1850,8 +1850,8 @@ const Dr = () => {
|
|
|
1850
1850
|
"div",
|
|
1851
1851
|
{
|
|
1852
1852
|
onClick: () => {
|
|
1853
|
-
var
|
|
1854
|
-
a.page === void 0 ? (
|
|
1853
|
+
var g;
|
|
1854
|
+
a.page === void 0 ? (g = a.callback) == null || g.call(a) : ve.setPage(a.page);
|
|
1855
1855
|
},
|
|
1856
1856
|
className: fe.b,
|
|
1857
1857
|
children: "Назад"
|
|
@@ -1917,11 +1917,11 @@ const Dr = () => {
|
|
|
1917
1917
|
return pe(() => {
|
|
1918
1918
|
document.documentElement.style.setProperty(
|
|
1919
1919
|
"--tg-theme-secondary-bg-color-alpha",
|
|
1920
|
-
|
|
1920
|
+
$e.themeParams.secondary_bg_color + "d3"
|
|
1921
1921
|
), document.documentElement.style.setProperty(
|
|
1922
1922
|
"--tg-theme-bg-color-alpha",
|
|
1923
|
-
|
|
1924
|
-
),
|
|
1923
|
+
$e.themeParams.bg_color + "b3"
|
|
1924
|
+
), $e.safeAreaInset.bottom === 0 && document.documentElement.style.setProperty(
|
|
1925
1925
|
"--tg-safe-area-inset-bottom",
|
|
1926
1926
|
"16px"
|
|
1927
1927
|
);
|
|
@@ -1934,13 +1934,13 @@ const Dr = () => {
|
|
|
1934
1934
|
/* @__PURE__ */ i.jsx("fieldset", {}),
|
|
1935
1935
|
/* @__PURE__ */ i.jsx("div", { onClick: a, children: " Сохранить " })
|
|
1936
1936
|
] }) });
|
|
1937
|
-
}, Lr = "_p_1axqy_1", Wr = "_s_1axqy_17",
|
|
1937
|
+
}, Lr = "_p_1axqy_1", Wr = "_s_1axqy_17", Kt = {
|
|
1938
1938
|
p: Lr,
|
|
1939
1939
|
s: Wr
|
|
1940
1940
|
}, Ur = ({ className: r, children: n, isScroll: a = !0 }) => /* @__PURE__ */ i.jsx(
|
|
1941
1941
|
"div",
|
|
1942
1942
|
{
|
|
1943
|
-
className: [
|
|
1943
|
+
className: [Kt.p, a && Kt.s, r].filter((c) => c !== void 0).join(" "),
|
|
1944
1944
|
children: n
|
|
1945
1945
|
}
|
|
1946
1946
|
), Yr = "_l_gfyud_1", zr = {
|
|
@@ -1963,7 +1963,7 @@ const Dr = () => {
|
|
|
1963
1963
|
const n = (c) => {
|
|
1964
1964
|
ve.setPage(c);
|
|
1965
1965
|
}, a = (c) => {
|
|
1966
|
-
|
|
1966
|
+
$e.openTelegramLink(c);
|
|
1967
1967
|
};
|
|
1968
1968
|
return /* @__PURE__ */ i.jsx("div", { className: Ee.m, children: r.map((c) => /* @__PURE__ */ i.jsx("div", { className: Ee.g, children: c.items.map((l, p) => /* @__PURE__ */ i.jsxs(
|
|
1969
1969
|
"div",
|
|
@@ -2013,9 +2013,9 @@ function ln({
|
|
|
2013
2013
|
null
|
|
2014
2014
|
);
|
|
2015
2015
|
pe(() => {
|
|
2016
|
-
let
|
|
2017
|
-
return
|
|
2018
|
-
|
|
2016
|
+
let g = document.querySelector(".p_sb");
|
|
2017
|
+
return g || (g = document.createElement("div"), g.className = "_p_sb", document.body.appendChild(g)), h(g), () => {
|
|
2018
|
+
g && g.parentNode && g.parentNode.removeChild(g);
|
|
2019
2019
|
};
|
|
2020
2020
|
}, []);
|
|
2021
2021
|
const b = /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
|
|
@@ -2023,7 +2023,7 @@ function ln({
|
|
|
2023
2023
|
/* @__PURE__ */ i.jsxs(
|
|
2024
2024
|
"div",
|
|
2025
2025
|
{
|
|
2026
|
-
className:
|
|
2026
|
+
className: Ce(
|
|
2027
2027
|
ce.m,
|
|
2028
2028
|
S === "left" ? ce.l : ce.r,
|
|
2029
2029
|
m && ce.x,
|
|
@@ -2085,7 +2085,7 @@ const or = ({
|
|
|
2085
2085
|
return st = () => {
|
|
2086
2086
|
m(!0), setTimeout(() => {
|
|
2087
2087
|
var u;
|
|
2088
|
-
p == null || p(!1), (u =
|
|
2088
|
+
p == null || p(!1), (u = Te == null ? void 0 : Te.onClose) == null || u.call(Te);
|
|
2089
2089
|
}, 300);
|
|
2090
2090
|
}, /* @__PURE__ */ i.jsx(
|
|
2091
2091
|
"div",
|
|
@@ -2115,19 +2115,20 @@ const or = ({
|
|
|
2115
2115
|
)
|
|
2116
2116
|
}
|
|
2117
2117
|
);
|
|
2118
|
-
}, un = "
|
|
2118
|
+
}, un = "_h_e1des_1", fn = "_r_e1des_22", dn = "_c_e1des_25", pn = "_x_e1des_28", ct = {
|
|
2119
2119
|
h: un,
|
|
2120
|
-
|
|
2121
|
-
|
|
2122
|
-
|
|
2123
|
-
|
|
2124
|
-
|
|
2120
|
+
r: fn,
|
|
2121
|
+
c: dn,
|
|
2122
|
+
x: pn
|
|
2123
|
+
}, vn = "_b_r6m8n_1", hn = {
|
|
2124
|
+
b: vn
|
|
2125
|
+
}, gn = ({ className: r, value: n }) => /* @__PURE__ */ i.jsx(
|
|
2125
2126
|
"div",
|
|
2126
2127
|
{
|
|
2127
|
-
className: [
|
|
2128
|
+
className: [hn.b, r].filter((a) => a !== void 0).join(" "),
|
|
2128
2129
|
children: n
|
|
2129
2130
|
}
|
|
2130
|
-
),
|
|
2131
|
+
), Te = [], Gt = (r, n) => r.findIndex((a) => (a == null ? void 0 : a.page) === n), yn = ({
|
|
2131
2132
|
actions: r,
|
|
2132
2133
|
children: n,
|
|
2133
2134
|
className: a,
|
|
@@ -2139,23 +2140,23 @@ const or = ({
|
|
|
2139
2140
|
const [m, u] = F.useState(null), [R, h] = F.useState(
|
|
2140
2141
|
l ? Gt(r || [], l) : 0
|
|
2141
2142
|
);
|
|
2142
|
-
return
|
|
2143
|
+
return Te.onClose = () => {
|
|
2143
2144
|
u(null), h(l ? Gt(r || [], l) : 0);
|
|
2144
2145
|
}, pe(() => {
|
|
2145
2146
|
if (!c)
|
|
2146
2147
|
return;
|
|
2147
|
-
const b = document.querySelectorAll("[contenteditable]"),
|
|
2148
|
-
const
|
|
2149
|
-
|
|
2148
|
+
const b = document.querySelectorAll("[contenteditable]"), g = () => {
|
|
2149
|
+
const P = document.querySelector("footer");
|
|
2150
|
+
P && P.classList.remove(ct.x);
|
|
2150
2151
|
}, $ = () => {
|
|
2151
|
-
const
|
|
2152
|
-
|
|
2152
|
+
const P = document.querySelector("footer");
|
|
2153
|
+
P && P.classList.add(ct.x);
|
|
2153
2154
|
};
|
|
2154
|
-
return b.forEach((
|
|
2155
|
-
|
|
2155
|
+
return b.forEach((P) => {
|
|
2156
|
+
P.addEventListener("focus", $, !0), P.addEventListener("blur", g, !0);
|
|
2156
2157
|
}), () => {
|
|
2157
|
-
b.forEach((
|
|
2158
|
-
|
|
2158
|
+
b.forEach((P) => {
|
|
2159
|
+
P.removeEventListener("focus", $, !0), P.removeEventListener("blur", g, !0);
|
|
2159
2160
|
});
|
|
2160
2161
|
};
|
|
2161
2162
|
}, []), /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
|
|
@@ -2163,34 +2164,38 @@ const or = ({
|
|
|
2163
2164
|
/* @__PURE__ */ i.jsxs(
|
|
2164
2165
|
"footer",
|
|
2165
2166
|
{
|
|
2166
|
-
className:
|
|
2167
|
+
className: Ce(
|
|
2168
|
+
ct.h,
|
|
2169
|
+
ct[S === "row" ? "r" : "c"],
|
|
2170
|
+
a
|
|
2171
|
+
),
|
|
2167
2172
|
children: [
|
|
2168
2173
|
n,
|
|
2169
|
-
r && r.map((b,
|
|
2174
|
+
r && r.map((b, g) => /* @__PURE__ */ i.jsxs(
|
|
2170
2175
|
"div",
|
|
2171
2176
|
{
|
|
2172
|
-
"data-active": R ===
|
|
2177
|
+
"data-active": R === g ? "true" : "false",
|
|
2173
2178
|
onClick: () => {
|
|
2174
|
-
b.page && (h(
|
|
2179
|
+
b.page && (h(g), p == null || p(b.page)), b.onClick && b.onClick(() => h(g)), b.component && (R === g ? st() : (u(b.component), h(g)));
|
|
2175
2180
|
},
|
|
2176
2181
|
children: [
|
|
2177
2182
|
b.icon,
|
|
2178
|
-
b.badge && /* @__PURE__ */ i.jsx(
|
|
2183
|
+
b.badge && /* @__PURE__ */ i.jsx(gn, { value: b.badge })
|
|
2179
2184
|
]
|
|
2180
2185
|
},
|
|
2181
|
-
|
|
2186
|
+
g
|
|
2182
2187
|
))
|
|
2183
2188
|
]
|
|
2184
2189
|
}
|
|
2185
2190
|
)
|
|
2186
2191
|
] });
|
|
2187
|
-
},
|
|
2188
|
-
w:
|
|
2189
|
-
v:
|
|
2190
|
-
s:
|
|
2191
|
-
n:
|
|
2192
|
-
},
|
|
2193
|
-
function
|
|
2192
|
+
}, mn = "_w_yx04q_3", bn = "_v_yx04q_24", _n = "_s_yx04q_34", Rn = "_n_yx04q_38", lt = {
|
|
2193
|
+
w: mn,
|
|
2194
|
+
v: bn,
|
|
2195
|
+
s: _n,
|
|
2196
|
+
n: Rn
|
|
2197
|
+
}, Yt = {};
|
|
2198
|
+
function Sn({
|
|
2194
2199
|
children: r,
|
|
2195
2200
|
name: n,
|
|
2196
2201
|
onClose: a,
|
|
@@ -2206,7 +2211,7 @@ function Rn({
|
|
|
2206
2211
|
Xt(u || !1), a == null || a();
|
|
2207
2212
|
}, 300);
|
|
2208
2213
|
};
|
|
2209
|
-
|
|
2214
|
+
Yt[n] = {
|
|
2210
2215
|
onClose: R,
|
|
2211
2216
|
onOpen: () => {
|
|
2212
2217
|
m(!0);
|
|
@@ -2223,26 +2228,26 @@ function Rn({
|
|
|
2223
2228
|
}, [c]), c ? /* @__PURE__ */ i.jsxs(
|
|
2224
2229
|
"div",
|
|
2225
2230
|
{
|
|
2226
|
-
className:
|
|
2227
|
-
|
|
2228
|
-
S &&
|
|
2229
|
-
l &&
|
|
2231
|
+
className: Ce(
|
|
2232
|
+
lt.w,
|
|
2233
|
+
S && lt.v,
|
|
2234
|
+
l && lt.s
|
|
2230
2235
|
),
|
|
2231
2236
|
children: [
|
|
2232
|
-
/* @__PURE__ */ i.jsx("div", { className:
|
|
2237
|
+
/* @__PURE__ */ i.jsx("div", { className: lt.n }),
|
|
2233
2238
|
r
|
|
2234
2239
|
]
|
|
2235
2240
|
}
|
|
2236
2241
|
) : "";
|
|
2237
2242
|
}
|
|
2238
|
-
const
|
|
2243
|
+
const xn = (r, n) => {
|
|
2239
2244
|
var a, c;
|
|
2240
|
-
n ? (a =
|
|
2241
|
-
},
|
|
2242
|
-
s:
|
|
2243
|
-
n:
|
|
2245
|
+
n ? (a = Yt[r]) == null || a.onOpen() : (c = Yt[r]) == null || c.onClose();
|
|
2246
|
+
}, kn = "_s_ezoxx_3", En = "_n_ezoxx_14", Zt = {
|
|
2247
|
+
s: kn,
|
|
2248
|
+
n: En
|
|
2244
2249
|
};
|
|
2245
|
-
function
|
|
2250
|
+
function jn({
|
|
2246
2251
|
className: r,
|
|
2247
2252
|
children: n,
|
|
2248
2253
|
onScrollEnd: a,
|
|
@@ -2256,32 +2261,32 @@ function En({
|
|
|
2256
2261
|
}, [l]);
|
|
2257
2262
|
let u = {
|
|
2258
2263
|
onScroll: (R) => {
|
|
2259
|
-
const { scrollTop: h, scrollHeight: b, clientHeight:
|
|
2260
|
-
h +
|
|
2264
|
+
const { scrollTop: h, scrollHeight: b, clientHeight: g } = R.currentTarget;
|
|
2265
|
+
h + g >= b - c && !S && (m(!0), a == null || a());
|
|
2261
2266
|
}
|
|
2262
2267
|
};
|
|
2263
2268
|
return /* @__PURE__ */ i.jsx(
|
|
2264
2269
|
"div",
|
|
2265
2270
|
{
|
|
2266
2271
|
...u,
|
|
2267
|
-
className:
|
|
2272
|
+
className: Ce(Zt.s, !p && Zt.n, r),
|
|
2268
2273
|
children: n
|
|
2269
2274
|
}
|
|
2270
2275
|
);
|
|
2271
2276
|
}
|
|
2272
|
-
const
|
|
2273
|
-
a:
|
|
2274
|
-
l:
|
|
2275
|
-
r:
|
|
2277
|
+
const An = "_a_ohhaz_1", On = "_l_ohhaz_12", Cn = "_r_ohhaz_15", Lt = {
|
|
2278
|
+
a: An,
|
|
2279
|
+
l: On,
|
|
2280
|
+
r: Cn
|
|
2276
2281
|
};
|
|
2277
|
-
function
|
|
2282
|
+
function Pn({
|
|
2278
2283
|
children: r,
|
|
2279
2284
|
className: n,
|
|
2280
2285
|
position: a = "center",
|
|
2281
2286
|
title: c
|
|
2282
2287
|
}) {
|
|
2283
2288
|
let l = "";
|
|
2284
|
-
return a === "left" ? l =
|
|
2289
|
+
return a === "left" ? l = Lt.l : a === "right" && (l = Lt.r), /* @__PURE__ */ i.jsxs("div", { className: Ce(Lt.a, l, n), children: [
|
|
2285
2290
|
r,
|
|
2286
2291
|
c && /* @__PURE__ */ i.jsx("b", { children: c })
|
|
2287
2292
|
] });
|
|
@@ -2295,9 +2300,9 @@ const U = {
|
|
|
2295
2300
|
var a;
|
|
2296
2301
|
let n = U.state.pop();
|
|
2297
2302
|
U.prev = ve.getPage(), n.page !== void 0 ? ve.setPage(n.page) : (a = n.callback) == null || a.call(n);
|
|
2298
|
-
}),
|
|
2303
|
+
}), $e.BackButton.onClick(U.listen[0]));
|
|
2299
2304
|
}
|
|
2300
|
-
},
|
|
2305
|
+
}, Ce = (...r) => r.filter((n) => n !== void 0 && n !== !1 && n !== null && n !== "").join(" ");
|
|
2301
2306
|
var T;
|
|
2302
2307
|
((r) => {
|
|
2303
2308
|
r.WebApp = window.Telegram.WebApp, r.getUser = () => {
|
|
@@ -2335,7 +2340,7 @@ var T;
|
|
|
2335
2340
|
var a;
|
|
2336
2341
|
Ae.Send({ type: "warning", text: n }), (a = r.WebApp.HapticFeedback) == null || a.notificationOccurred("warning");
|
|
2337
2342
|
}
|
|
2338
|
-
}, r.Header = Dr, r.TabBar = yn, r.BottomSheet = or, r.toggleBottomSheet = st, r.SafeArea = Ur, r.Loading = Vr, r.Sidebar = ln, r.SidePanel =
|
|
2343
|
+
}, r.Header = Dr, r.TabBar = yn, r.BottomSheet = or, r.toggleBottomSheet = st, r.SafeArea = Ur, r.Loading = Vr, r.Sidebar = ln, r.SidePanel = Sn, r.AppBar = Pn, r.SidePanelController = xn, r.Scroll = jn, r.Modal = Ut, r.Menu = Qr, r.MainButton = {
|
|
2339
2344
|
callback: [],
|
|
2340
2345
|
set: (n) => {
|
|
2341
2346
|
de.is ? de.MainButton.set(n) : (r.WebApp.MainButton.callback.forEach((a) => {
|
|
@@ -2353,29 +2358,29 @@ var T;
|
|
|
2353
2358
|
de.is ? de.BackButton.set(n) : (U.state.push(n), U.router(n));
|
|
2354
2359
|
};
|
|
2355
2360
|
})(T || (T = {}));
|
|
2356
|
-
const
|
|
2361
|
+
const Nn = T.TabBar, Bn = or, Xt = T.BackButton, In = T.BackButtonPrev, wn = T.BackButtonState, Mn = T.Notice, Dn = T.SafeArea, Fn = T.Loading, Ln = T.Menu, Wn = T.SidePanel, Un = T.Scroll, Yn = T.AppBar, zn = T.Sidebar, Vn = T.Location, qn = T.SidePanelController, { Header: Hn, toggleBottomSheet: Jn, Modal: Kn, MainButton: Gn, WebApp: $e, getUser: Zn } = T;
|
|
2357
2362
|
export {
|
|
2358
|
-
|
|
2363
|
+
Yn as AppBar,
|
|
2359
2364
|
Xt as BackButton,
|
|
2360
|
-
|
|
2365
|
+
In as BackButtonPrev,
|
|
2361
2366
|
wn as BackButtonState,
|
|
2362
|
-
|
|
2363
|
-
|
|
2364
|
-
|
|
2365
|
-
|
|
2366
|
-
|
|
2367
|
-
|
|
2368
|
-
|
|
2369
|
-
|
|
2370
|
-
|
|
2371
|
-
|
|
2372
|
-
|
|
2373
|
-
|
|
2374
|
-
|
|
2375
|
-
|
|
2376
|
-
|
|
2377
|
-
|
|
2367
|
+
Bn as BottomSheet,
|
|
2368
|
+
Hn as Header,
|
|
2369
|
+
Fn as Loading,
|
|
2370
|
+
Vn as Location,
|
|
2371
|
+
Gn as MainButton,
|
|
2372
|
+
Ln as Menu,
|
|
2373
|
+
Kn as Modal,
|
|
2374
|
+
Mn as Notice,
|
|
2375
|
+
Dn as SafeArea,
|
|
2376
|
+
Un as Scroll,
|
|
2377
|
+
Wn as SidePanel,
|
|
2378
|
+
qn as SidePanelController,
|
|
2379
|
+
zn as Sidebar,
|
|
2380
|
+
Nn as TabBar,
|
|
2381
|
+
$e as WebApp,
|
|
2382
|
+
Ce as clsx,
|
|
2378
2383
|
T as default,
|
|
2379
|
-
|
|
2380
|
-
|
|
2384
|
+
Zn as getUser,
|
|
2385
|
+
Jn as toggleBottomSheet
|
|
2381
2386
|
};
|