@elcrm/telegram 0.0.113 → 0.0.114
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 +491 -476
- 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 fe } from "react";
|
|
2
|
-
import { createPortal as
|
|
3
|
-
import './index.css';var
|
|
2
|
+
import { createPortal as or } from "react-dom";
|
|
3
|
+
import './index.css';var Wt = { exports: {} }, rt = {};
|
|
4
4
|
/**
|
|
5
5
|
* @license React
|
|
6
6
|
* react-jsx-runtime.production.min.js
|
|
@@ -10,21 +10,21 @@ import './index.css';var Ft = { exports: {} }, tt = {};
|
|
|
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 Yt;
|
|
14
|
+
function ar() {
|
|
15
|
+
if (Yt) return rt;
|
|
16
|
+
Yt = 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 k(m, u, R) {
|
|
19
|
-
var h, b = {},
|
|
20
|
-
R !== void 0 && (
|
|
19
|
+
var h, b = {}, y = null, T = null;
|
|
20
|
+
R !== void 0 && (y = "" + R), u.key !== void 0 && (y = "" + u.key), u.ref !== void 0 && (T = 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: y, ref: T, props: b, _owner: l.current };
|
|
24
24
|
}
|
|
25
|
-
return
|
|
25
|
+
return rt.Fragment = a, rt.jsx = k, rt.jsxs = k, rt;
|
|
26
26
|
}
|
|
27
|
-
var
|
|
27
|
+
var nt = {};
|
|
28
28
|
/**
|
|
29
29
|
* @license React
|
|
30
30
|
* react-jsx-runtime.development.js
|
|
@@ -34,14 +34,14 @@ var rt = {};
|
|
|
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 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"), k = 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"),
|
|
37
|
+
var Vt;
|
|
38
|
+
function sr() {
|
|
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"), k = 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"), y = Symbol.for("react.lazy"), T = Symbol.for("react.offscreen"), P = Symbol.iterator, $e = "@@iterator";
|
|
41
41
|
function pe(e) {
|
|
42
42
|
if (e === null || typeof e != "object")
|
|
43
43
|
return null;
|
|
44
|
-
var t = P && e[P] || e[
|
|
44
|
+
var t = P && e[P] || e[$e];
|
|
45
45
|
return typeof t == "function" ? t : null;
|
|
46
46
|
}
|
|
47
47
|
var W = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
@@ -49,23 +49,23 @@ function ar() {
|
|
|
49
49
|
{
|
|
50
50
|
for (var t = arguments.length, o = new Array(t > 1 ? t - 1 : 0), s = 1; s < t; s++)
|
|
51
51
|
o[s - 1] = arguments[s];
|
|
52
|
-
|
|
52
|
+
Ne("error", e, o);
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
|
-
function
|
|
55
|
+
function Ne(e, t, o) {
|
|
56
56
|
{
|
|
57
57
|
var s = W.ReactDebugCurrentFrame, v = s.getStackAddendum();
|
|
58
58
|
v !== "" && (t += "%s", o = o.concat([v]));
|
|
59
|
-
var
|
|
59
|
+
var g = o.map(function(d) {
|
|
60
60
|
return String(d);
|
|
61
61
|
});
|
|
62
|
-
|
|
62
|
+
g.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, g);
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
|
-
var
|
|
65
|
+
var Be = !1, Ae = !1, Ie = !1, Me = !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 ||
|
|
68
|
+
return !!(typeof e == "string" || typeof e == "function" || e === c || e === p || _ || e === l || e === R || e === h || Me || e === T || Be || Ae || Ie || typeof e == "object" && e !== null && (e.$$typeof === y || e.$$typeof === b || e.$$typeof === k || 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 ar() {
|
|
|
115
115
|
case b:
|
|
116
116
|
var s = e.displayName || null;
|
|
117
117
|
return s !== null ? s : $(e.type) || "Memo";
|
|
118
|
-
case
|
|
119
|
-
var v = e,
|
|
118
|
+
case y: {
|
|
119
|
+
var v = e, g = v._payload, d = v._init;
|
|
120
120
|
try {
|
|
121
|
-
return $(d(
|
|
121
|
+
return $(d(g));
|
|
122
122
|
} catch {
|
|
123
123
|
return null;
|
|
124
124
|
}
|
|
@@ -126,18 +126,18 @@ function ar() {
|
|
|
126
126
|
}
|
|
127
127
|
return null;
|
|
128
128
|
}
|
|
129
|
-
var D = Object.assign, Y = 0, ce, Z, X, Q, ee,
|
|
130
|
-
function
|
|
129
|
+
var D = Object.assign, Y = 0, ce, Z, X, Q, ee, De, Fe;
|
|
130
|
+
function We() {
|
|
131
131
|
}
|
|
132
|
-
|
|
133
|
-
function
|
|
132
|
+
We.__reactDisabledLog = !0;
|
|
133
|
+
function ft() {
|
|
134
134
|
{
|
|
135
135
|
if (Y === 0) {
|
|
136
|
-
ce = console.log, Z = console.info, X = console.warn, Q = console.error, ee = console.group,
|
|
136
|
+
ce = console.log, Z = console.info, X = console.warn, Q = console.error, ee = console.group, De = console.groupCollapsed, Fe = console.groupEnd;
|
|
137
137
|
var e = {
|
|
138
138
|
configurable: !0,
|
|
139
139
|
enumerable: !0,
|
|
140
|
-
value:
|
|
140
|
+
value: We,
|
|
141
141
|
writable: !0
|
|
142
142
|
};
|
|
143
143
|
Object.defineProperties(console, {
|
|
@@ -153,7 +153,7 @@ function ar() {
|
|
|
153
153
|
Y++;
|
|
154
154
|
}
|
|
155
155
|
}
|
|
156
|
-
function
|
|
156
|
+
function dt() {
|
|
157
157
|
{
|
|
158
158
|
if (Y--, Y === 0) {
|
|
159
159
|
var e = {
|
|
@@ -178,10 +178,10 @@ function ar() {
|
|
|
178
178
|
value: ee
|
|
179
179
|
}),
|
|
180
180
|
groupCollapsed: D({}, e, {
|
|
181
|
-
value:
|
|
181
|
+
value: De
|
|
182
182
|
}),
|
|
183
183
|
groupEnd: D({}, e, {
|
|
184
|
-
value:
|
|
184
|
+
value: Fe
|
|
185
185
|
})
|
|
186
186
|
});
|
|
187
187
|
}
|
|
@@ -202,13 +202,13 @@ function ar() {
|
|
|
202
202
|
` + he + e;
|
|
203
203
|
}
|
|
204
204
|
}
|
|
205
|
-
var
|
|
205
|
+
var ye = !1, ne;
|
|
206
206
|
{
|
|
207
|
-
var
|
|
208
|
-
ne = new
|
|
207
|
+
var pt = typeof WeakMap == "function" ? WeakMap : Map;
|
|
208
|
+
ne = new pt();
|
|
209
209
|
}
|
|
210
|
-
function
|
|
211
|
-
if (!e ||
|
|
210
|
+
function Le(e, t) {
|
|
211
|
+
if (!e || ye)
|
|
212
212
|
return "";
|
|
213
213
|
{
|
|
214
214
|
var o = ne.get(e);
|
|
@@ -216,11 +216,11 @@ function ar() {
|
|
|
216
216
|
return o;
|
|
217
217
|
}
|
|
218
218
|
var s;
|
|
219
|
-
|
|
219
|
+
ye = !0;
|
|
220
220
|
var v = Error.prepareStackTrace;
|
|
221
221
|
Error.prepareStackTrace = void 0;
|
|
222
|
-
var
|
|
223
|
-
|
|
222
|
+
var g;
|
|
223
|
+
g = ve.current, ve.current = null, ft();
|
|
224
224
|
try {
|
|
225
225
|
if (t) {
|
|
226
226
|
var d = function() {
|
|
@@ -273,15 +273,15 @@ function ar() {
|
|
|
273
273
|
}
|
|
274
274
|
}
|
|
275
275
|
} finally {
|
|
276
|
-
|
|
276
|
+
ye = !1, ve.current = g, dt(), Error.prepareStackTrace = v;
|
|
277
277
|
}
|
|
278
278
|
var z = e ? e.displayName || e.name : "", L = z ? re(z) : "";
|
|
279
279
|
return typeof e == "function" && ne.set(e, L), L;
|
|
280
280
|
}
|
|
281
|
-
function
|
|
282
|
-
return
|
|
281
|
+
function vt(e, t, o) {
|
|
282
|
+
return Le(e, !1);
|
|
283
283
|
}
|
|
284
|
-
function
|
|
284
|
+
function ht(e) {
|
|
285
285
|
var t = e.prototype;
|
|
286
286
|
return !!(t && t.isReactComponent);
|
|
287
287
|
}
|
|
@@ -289,7 +289,7 @@ function ar() {
|
|
|
289
289
|
if (e == null)
|
|
290
290
|
return "";
|
|
291
291
|
if (typeof e == "function")
|
|
292
|
-
return
|
|
292
|
+
return Le(e, ht(e));
|
|
293
293
|
if (typeof e == "string")
|
|
294
294
|
return re(e);
|
|
295
295
|
switch (e) {
|
|
@@ -301,32 +301,32 @@ function ar() {
|
|
|
301
301
|
if (typeof e == "object")
|
|
302
302
|
switch (e.$$typeof) {
|
|
303
303
|
case u:
|
|
304
|
-
return
|
|
304
|
+
return vt(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 y: {
|
|
308
|
+
var s = e, v = s._payload, g = s._init;
|
|
309
309
|
try {
|
|
310
|
-
return oe(
|
|
310
|
+
return oe(g(v), t, o);
|
|
311
311
|
} catch {
|
|
312
312
|
}
|
|
313
313
|
}
|
|
314
314
|
}
|
|
315
315
|
return "";
|
|
316
316
|
}
|
|
317
|
-
var K = Object.prototype.hasOwnProperty,
|
|
317
|
+
var K = Object.prototype.hasOwnProperty, Ue = {}, Ye = W.ReactDebugCurrentFrame;
|
|
318
318
|
function ae(e) {
|
|
319
319
|
if (e) {
|
|
320
320
|
var t = e._owner, o = oe(e.type, e._source, t ? t.type : null);
|
|
321
|
-
|
|
321
|
+
Ye.setExtraStackFrame(o);
|
|
322
322
|
} else
|
|
323
|
-
|
|
323
|
+
Ye.setExtraStackFrame(null);
|
|
324
324
|
}
|
|
325
|
-
function
|
|
325
|
+
function yt(e, t, o, s, v) {
|
|
326
326
|
{
|
|
327
|
-
var
|
|
327
|
+
var g = Function.call.bind(K);
|
|
328
328
|
for (var d in e)
|
|
329
|
-
if (
|
|
329
|
+
if (g(e, d)) {
|
|
330
330
|
var f = void 0;
|
|
331
331
|
try {
|
|
332
332
|
if (typeof e[d] != "function") {
|
|
@@ -337,41 +337,41 @@ function ar() {
|
|
|
337
337
|
} catch (S) {
|
|
338
338
|
f = S;
|
|
339
339
|
}
|
|
340
|
-
f && !(f instanceof Error) && (ae(v), 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).", s || "React class", o, d, typeof f), ae(null)), f instanceof Error && !(f.message in
|
|
340
|
+
f && !(f instanceof Error) && (ae(v), 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).", s || "React class", o, d, typeof f), ae(null)), f instanceof Error && !(f.message in Ue) && (Ue[f.message] = !0, ae(v), j("Failed %s type: %s", o, f.message), ae(null));
|
|
341
341
|
}
|
|
342
342
|
}
|
|
343
343
|
}
|
|
344
344
|
var gt = Array.isArray;
|
|
345
|
-
function
|
|
345
|
+
function ge(e) {
|
|
346
346
|
return gt(e);
|
|
347
347
|
}
|
|
348
|
-
function
|
|
348
|
+
function mt(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 bt(e) {
|
|
355
355
|
try {
|
|
356
|
-
return
|
|
356
|
+
return Ve(e), !1;
|
|
357
357
|
} catch {
|
|
358
358
|
return !0;
|
|
359
359
|
}
|
|
360
360
|
}
|
|
361
|
-
function
|
|
361
|
+
function Ve(e) {
|
|
362
362
|
return "" + e;
|
|
363
363
|
}
|
|
364
|
-
function
|
|
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.",
|
|
364
|
+
function ze(e) {
|
|
365
|
+
if (bt(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.", mt(e)), Ve(e);
|
|
367
367
|
}
|
|
368
|
-
var
|
|
368
|
+
var qe = W.ReactCurrentOwner, _t = {
|
|
369
369
|
key: !0,
|
|
370
370
|
ref: !0,
|
|
371
371
|
__self: !0,
|
|
372
372
|
__source: !0
|
|
373
|
-
},
|
|
374
|
-
function
|
|
373
|
+
}, He, Je;
|
|
374
|
+
function Rt(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 ar() {
|
|
|
379
379
|
}
|
|
380
380
|
return e.ref !== void 0;
|
|
381
381
|
}
|
|
382
|
-
function
|
|
382
|
+
function St(e) {
|
|
383
383
|
if (K.call(e, "key")) {
|
|
384
384
|
var t = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
385
385
|
if (t && t.isReactWarning)
|
|
@@ -387,13 +387,13 @@ function ar() {
|
|
|
387
387
|
}
|
|
388
388
|
return e.key !== void 0;
|
|
389
389
|
}
|
|
390
|
-
function St(e, t) {
|
|
391
|
-
typeof e.ref == "string" && ze.current;
|
|
392
|
-
}
|
|
393
390
|
function kt(e, t) {
|
|
391
|
+
typeof e.ref == "string" && qe.current;
|
|
392
|
+
}
|
|
393
|
+
function xt(e, t) {
|
|
394
394
|
{
|
|
395
395
|
var o = function() {
|
|
396
|
-
|
|
396
|
+
He || (He = !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));
|
|
397
397
|
};
|
|
398
398
|
o.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
399
399
|
get: o,
|
|
@@ -401,10 +401,10 @@ function ar() {
|
|
|
401
401
|
});
|
|
402
402
|
}
|
|
403
403
|
}
|
|
404
|
-
function
|
|
404
|
+
function Et(e, t) {
|
|
405
405
|
{
|
|
406
406
|
var o = function() {
|
|
407
|
-
|
|
407
|
+
Je || (Je = !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));
|
|
408
408
|
};
|
|
409
409
|
o.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
410
410
|
get: o,
|
|
@@ -412,7 +412,7 @@ function ar() {
|
|
|
412
412
|
});
|
|
413
413
|
}
|
|
414
414
|
}
|
|
415
|
-
var
|
|
415
|
+
var jt = function(e, t, o, s, v, g, 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 ar() {
|
|
|
422
422
|
ref: o,
|
|
423
423
|
props: d,
|
|
424
424
|
// Record the component responsible for creating this element.
|
|
425
|
-
_owner:
|
|
425
|
+
_owner: g
|
|
426
426
|
};
|
|
427
427
|
return f._store = {}, Object.defineProperty(f._store, "validated", {
|
|
428
428
|
configurable: !1,
|
|
@@ -441,38 +441,38 @@ function ar() {
|
|
|
441
441
|
value: v
|
|
442
442
|
}), Object.freeze && (Object.freeze(f.props), Object.freeze(f)), f;
|
|
443
443
|
};
|
|
444
|
-
function
|
|
444
|
+
function Ot(e, t, o, s, v) {
|
|
445
445
|
{
|
|
446
|
-
var
|
|
447
|
-
o !== void 0 && (
|
|
448
|
-
for (
|
|
449
|
-
K.call(t,
|
|
446
|
+
var g, d = {}, f = null, O = null;
|
|
447
|
+
o !== void 0 && (ze(o), f = "" + o), St(t) && (ze(t.key), f = "" + t.key), Rt(t) && (O = t.ref, kt(t, v));
|
|
448
|
+
for (g in t)
|
|
449
|
+
K.call(t, g) && !_t.hasOwnProperty(g) && (d[g] = t[g]);
|
|
450
450
|
if (e && e.defaultProps) {
|
|
451
451
|
var S = e.defaultProps;
|
|
452
|
-
for (
|
|
453
|
-
d[
|
|
452
|
+
for (g in S)
|
|
453
|
+
d[g] === void 0 && (d[g] = S[g]);
|
|
454
454
|
}
|
|
455
455
|
if (f || O) {
|
|
456
456
|
var x = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
457
|
-
f &&
|
|
457
|
+
f && xt(d, x), O && Et(d, x);
|
|
458
458
|
}
|
|
459
|
-
return
|
|
459
|
+
return jt(e, f, O, v, s, qe.current, d);
|
|
460
460
|
}
|
|
461
461
|
}
|
|
462
|
-
var me = W.ReactCurrentOwner,
|
|
462
|
+
var me = W.ReactCurrentOwner, Ke = W.ReactDebugCurrentFrame;
|
|
463
463
|
function V(e) {
|
|
464
464
|
if (e) {
|
|
465
465
|
var t = e._owner, o = oe(e.type, e._source, t ? t.type : null);
|
|
466
|
-
|
|
466
|
+
Ke.setExtraStackFrame(o);
|
|
467
467
|
} else
|
|
468
|
-
|
|
468
|
+
Ke.setExtraStackFrame(null);
|
|
469
469
|
}
|
|
470
470
|
var be;
|
|
471
471
|
be = !1;
|
|
472
472
|
function _e(e) {
|
|
473
473
|
return typeof e == "object" && e !== null && e.$$typeof === n;
|
|
474
474
|
}
|
|
475
|
-
function
|
|
475
|
+
function Ge() {
|
|
476
476
|
{
|
|
477
477
|
if (me.current) {
|
|
478
478
|
var e = $(me.current.type);
|
|
@@ -484,13 +484,13 @@ Check the render method of \`` + e + "`.";
|
|
|
484
484
|
return "";
|
|
485
485
|
}
|
|
486
486
|
}
|
|
487
|
-
function
|
|
487
|
+
function At(e) {
|
|
488
488
|
return "";
|
|
489
489
|
}
|
|
490
|
-
var
|
|
491
|
-
function
|
|
490
|
+
var Ze = {};
|
|
491
|
+
function Ct(e) {
|
|
492
492
|
{
|
|
493
|
-
var t =
|
|
493
|
+
var t = Ge();
|
|
494
494
|
if (!t) {
|
|
495
495
|
var o = typeof e == "string" ? e : e.displayName || e.name;
|
|
496
496
|
o && (t = `
|
|
@@ -500,39 +500,39 @@ Check the top-level render call using <` + o + ">.");
|
|
|
500
500
|
return t;
|
|
501
501
|
}
|
|
502
502
|
}
|
|
503
|
-
function
|
|
503
|
+
function Xe(e, t) {
|
|
504
504
|
{
|
|
505
505
|
if (!e._store || e._store.validated || e.key != null)
|
|
506
506
|
return;
|
|
507
507
|
e._store.validated = !0;
|
|
508
|
-
var o =
|
|
509
|
-
if (
|
|
508
|
+
var o = Ct(t);
|
|
509
|
+
if (Ze[o])
|
|
510
510
|
return;
|
|
511
|
-
|
|
511
|
+
Ze[o] = !0;
|
|
512
512
|
var s = "";
|
|
513
513
|
e && e._owner && e._owner !== me.current && (s = " It was passed a child from " + $(e._owner.type) + "."), V(e), j('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', o, s), V(null);
|
|
514
514
|
}
|
|
515
515
|
}
|
|
516
|
-
function
|
|
516
|
+
function Qe(e, t) {
|
|
517
517
|
{
|
|
518
518
|
if (typeof e != "object")
|
|
519
519
|
return;
|
|
520
|
-
if (
|
|
520
|
+
if (ge(e))
|
|
521
521
|
for (var o = 0; o < e.length; o++) {
|
|
522
522
|
var s = e[o];
|
|
523
|
-
_e(s) &&
|
|
523
|
+
_e(s) && Xe(s, t);
|
|
524
524
|
}
|
|
525
525
|
else if (_e(e))
|
|
526
526
|
e._store && (e._store.validated = !0);
|
|
527
527
|
else if (e) {
|
|
528
528
|
var v = pe(e);
|
|
529
529
|
if (typeof v == "function" && v !== e.entries)
|
|
530
|
-
for (var
|
|
531
|
-
_e(d.value) &&
|
|
530
|
+
for (var g = v.call(e), d; !(d = g.next()).done; )
|
|
531
|
+
_e(d.value) && Xe(d.value, t);
|
|
532
532
|
}
|
|
533
533
|
}
|
|
534
534
|
}
|
|
535
|
-
function
|
|
535
|
+
function Pt(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 = $(t);
|
|
551
|
-
|
|
551
|
+
yt(o, e.props, "prop", s, e);
|
|
552
552
|
} else if (t.PropTypes !== void 0 && !be) {
|
|
553
553
|
be = !0;
|
|
554
554
|
var v = $(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 wt(e) {
|
|
561
561
|
{
|
|
562
562
|
for (var t = Object.keys(e.props), o = 0; o < t.length; o++) {
|
|
563
563
|
var s = t[o];
|
|
@@ -569,71 +569,71 @@ Check the top-level render call using <` + o + ">.");
|
|
|
569
569
|
e.ref !== null && (V(e), j("Invalid attribute `ref` supplied to `React.Fragment`."), V(null));
|
|
570
570
|
}
|
|
571
571
|
}
|
|
572
|
-
var
|
|
573
|
-
function
|
|
572
|
+
var et = {};
|
|
573
|
+
function tt(e, t, o, s, v, g) {
|
|
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 O =
|
|
580
|
-
O ? f += O : f +=
|
|
579
|
+
var O = At();
|
|
580
|
+
O ? f += O : f += Ge();
|
|
581
581
|
var S;
|
|
582
|
-
e === null ? S = "null" :
|
|
582
|
+
e === null ? S = "null" : ge(e) ? S = "array" : e !== void 0 && e.$$typeof === n ? (S = "<" + ($(e.type) || "Unknown") + " />", f = " 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, f);
|
|
583
583
|
}
|
|
584
|
-
var x =
|
|
584
|
+
var x = Ot(e, t, o, v, g);
|
|
585
585
|
if (x == null)
|
|
586
586
|
return x;
|
|
587
587
|
if (d) {
|
|
588
588
|
var w = t.children;
|
|
589
589
|
if (w !== void 0)
|
|
590
590
|
if (s)
|
|
591
|
-
if (
|
|
591
|
+
if (ge(w)) {
|
|
592
592
|
for (var z = 0; z < w.length; z++)
|
|
593
|
-
|
|
593
|
+
Qe(w[z], e);
|
|
594
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
|
-
|
|
598
|
+
Qe(w, e);
|
|
599
599
|
}
|
|
600
600
|
if (K.call(t, "key")) {
|
|
601
|
-
var L = $(e), C = Object.keys(t).filter(function(
|
|
602
|
-
return
|
|
601
|
+
var L = $(e), C = Object.keys(t).filter(function(Mt) {
|
|
602
|
+
return Mt !== "key";
|
|
603
603
|
}), Re = C.length > 0 ? "{key: someKey, " + C.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
604
|
-
if (!
|
|
605
|
-
var
|
|
604
|
+
if (!et[L + Re]) {
|
|
605
|
+
var It = 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} />`, Re, L,
|
|
611
|
+
<%s key={someKey} {...props} />`, Re, L, It, L), et[L + Re] = !0;
|
|
612
612
|
}
|
|
613
613
|
}
|
|
614
|
-
return e === c ?
|
|
614
|
+
return e === c ? wt(x) : Pt(x), x;
|
|
615
615
|
}
|
|
616
616
|
}
|
|
617
|
-
function wt(e, t, o) {
|
|
618
|
-
return et(e, t, o, !0);
|
|
619
|
-
}
|
|
620
617
|
function Tt(e, t, o) {
|
|
621
|
-
return
|
|
618
|
+
return tt(e, t, o, !0);
|
|
619
|
+
}
|
|
620
|
+
function $t(e, t, o) {
|
|
621
|
+
return tt(e, t, o, !1);
|
|
622
622
|
}
|
|
623
|
-
var
|
|
624
|
-
|
|
625
|
-
}()),
|
|
623
|
+
var Nt = $t, Bt = Tt;
|
|
624
|
+
nt.Fragment = c, nt.jsx = Nt, nt.jsxs = Bt;
|
|
625
|
+
}()), nt;
|
|
626
626
|
}
|
|
627
|
-
process.env.NODE_ENV === "production" ?
|
|
628
|
-
var i =
|
|
629
|
-
const
|
|
630
|
-
o:
|
|
631
|
-
x:
|
|
632
|
-
p:
|
|
633
|
-
m:
|
|
627
|
+
process.env.NODE_ENV === "production" ? Wt.exports = ar() : Wt.exports = sr();
|
|
628
|
+
var i = Wt.exports;
|
|
629
|
+
const ir = "_o_1apbm_11", lr = "_x_1apbm_24", cr = "_p_1apbm_28", ur = "_m_1apbm_45", Ce = {
|
|
630
|
+
o: ir,
|
|
631
|
+
x: lr,
|
|
632
|
+
p: cr,
|
|
633
|
+
m: ur
|
|
634
634
|
};
|
|
635
635
|
let q = {};
|
|
636
|
-
var
|
|
636
|
+
var Lt;
|
|
637
637
|
((r) => {
|
|
638
638
|
function n({
|
|
639
639
|
children: m,
|
|
@@ -641,23 +641,23 @@ var Wt;
|
|
|
641
641
|
nameModal: R,
|
|
642
642
|
offsetTop: h
|
|
643
643
|
}) {
|
|
644
|
-
const [b,
|
|
644
|
+
const [b, y] = J(!1), [T, P] = J(!1);
|
|
645
645
|
if (q[R].onClose = () => {
|
|
646
646
|
N.BackButton(!1), P(!0), setTimeout(() => {
|
|
647
|
-
|
|
647
|
+
y(!1), P(!1), u == null || u(), q.x(R);
|
|
648
648
|
}, 300);
|
|
649
649
|
}, fe(() => {
|
|
650
650
|
b ? q[R].onClose() : (N.BackButton({
|
|
651
651
|
callback: () => q[R].onClose()
|
|
652
|
-
}),
|
|
652
|
+
}), y(!0));
|
|
653
653
|
}, []), !!b)
|
|
654
|
-
return /* @__PURE__ */ i.jsx("div", { className:
|
|
654
|
+
return /* @__PURE__ */ i.jsx("div", { className: Te(Ce.o, T && Ce.x), children: /* @__PURE__ */ i.jsx(
|
|
655
655
|
"div",
|
|
656
656
|
{
|
|
657
|
-
className:
|
|
658
|
-
|
|
659
|
-
T &&
|
|
660
|
-
h ?
|
|
657
|
+
className: Te(
|
|
658
|
+
Ce.p,
|
|
659
|
+
T && Ce.x,
|
|
660
|
+
h ? Ce.o : Ce.m
|
|
661
661
|
),
|
|
662
662
|
children: m
|
|
663
663
|
}
|
|
@@ -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: (y) => {
|
|
699
699
|
r.Add(
|
|
700
700
|
/* @__PURE__ */ i.jsx(
|
|
701
701
|
m,
|
|
702
702
|
{
|
|
703
|
-
...
|
|
703
|
+
...y,
|
|
704
704
|
onCallbackModal: (T) => {
|
|
705
705
|
var P;
|
|
706
|
-
(P =
|
|
706
|
+
(P = y.callback) == null || P.call(y, T);
|
|
707
707
|
},
|
|
708
708
|
nameModal: u
|
|
709
709
|
},
|
|
@@ -726,23 +726,23 @@ var Wt;
|
|
|
726
726
|
}));
|
|
727
727
|
}
|
|
728
728
|
r.Open = k;
|
|
729
|
-
})(
|
|
730
|
-
function
|
|
729
|
+
})(Lt || (Lt = {}));
|
|
730
|
+
function Xt() {
|
|
731
731
|
return typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof self < "u" ? self : typeof global < "u" ? global : {};
|
|
732
732
|
}
|
|
733
|
-
const
|
|
733
|
+
const Qt = {
|
|
734
734
|
key: "Y0zt37HgOx-BY7SQjYVmrqhPkO41Ii2Jcb9yydUDPf6",
|
|
735
735
|
iterations: 7,
|
|
736
736
|
saltLength: 16
|
|
737
737
|
};
|
|
738
|
-
function
|
|
739
|
-
const n =
|
|
740
|
-
n.CRYPTO_PARAMS ? n.CRYPTO_PARAMS = { ...n.CRYPTO_PARAMS, ...r } : n.CRYPTO_PARAMS = { ...
|
|
738
|
+
function zt(r) {
|
|
739
|
+
const n = Xt();
|
|
740
|
+
n.CRYPTO_PARAMS ? n.CRYPTO_PARAMS = { ...n.CRYPTO_PARAMS, ...r } : n.CRYPTO_PARAMS = { ...Qt, ...r };
|
|
741
741
|
}
|
|
742
|
-
function
|
|
743
|
-
return
|
|
742
|
+
function lt() {
|
|
743
|
+
return Xt().CRYPTO_PARAMS || Qt;
|
|
744
744
|
}
|
|
745
|
-
const
|
|
745
|
+
const ct = (r) => {
|
|
746
746
|
let n = 0;
|
|
747
747
|
for (let c = 0; c < r.length; c++) {
|
|
748
748
|
const l = r.charCodeAt(c);
|
|
@@ -755,15 +755,15 @@ const lt = (r) => {
|
|
|
755
755
|
a += l.toString(16).padStart(2, "0");
|
|
756
756
|
}
|
|
757
757
|
return a;
|
|
758
|
-
},
|
|
758
|
+
}, er = (r, n) => {
|
|
759
759
|
let a = r + n;
|
|
760
|
-
for (let l = 0; l <
|
|
761
|
-
a =
|
|
760
|
+
for (let l = 0; l < lt().iterations; l++)
|
|
761
|
+
a = ct(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);
|
|
765
765
|
return c;
|
|
766
|
-
},
|
|
766
|
+
}, tr = (r, n) => {
|
|
767
767
|
const a = new Uint8Array(r.length), c = new Uint8Array(r.length);
|
|
768
768
|
let l = 0;
|
|
769
769
|
for (let p = 0; p < r.length; p++) {
|
|
@@ -773,34 +773,34 @@ const lt = (r) => {
|
|
|
773
773
|
for (let p = 0; p < r.length; p++)
|
|
774
774
|
a[p] = r[p] ^ c[p];
|
|
775
775
|
return a;
|
|
776
|
-
},
|
|
776
|
+
}, fr = (r) => new TextEncoder().encode(r), dr = (r) => new TextDecoder().decode(r), pr = (r) => {
|
|
777
777
|
let n = "";
|
|
778
778
|
for (let a = 0; a < r.length; a += 8192) {
|
|
779
779
|
const c = r.slice(a, Math.min(a + 8192, r.length));
|
|
780
780
|
n += String.fromCharCode.apply(null, Array.from(c));
|
|
781
781
|
}
|
|
782
782
|
return btoa(n);
|
|
783
|
-
},
|
|
783
|
+
}, vr = (r) => {
|
|
784
784
|
const n = atob(r), a = new Uint8Array(n.length);
|
|
785
785
|
for (let c = 0; c < n.length; c++)
|
|
786
786
|
a[c] = n.charCodeAt(c);
|
|
787
787
|
return a;
|
|
788
|
-
},
|
|
788
|
+
}, hr = (r) => {
|
|
789
789
|
try {
|
|
790
|
-
const n =
|
|
790
|
+
const n = ct(
|
|
791
791
|
Date.now().toString() + Math.random()
|
|
792
|
-
).substring(0,
|
|
792
|
+
).substring(0, lt().saltLength * 2), a = ct(r + n).substring(0, 8), c = er(lt().key, n), l = fr(r), p = tr(l, c), k = pr(p);
|
|
793
793
|
return `${n}.${k}.${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 =
|
|
803
|
-
if (
|
|
802
|
+
const a = n[0], c = n[1], l = n[2], p = er(lt().key, a), k = vr(c), m = tr(k, p), u = dr(m);
|
|
803
|
+
if (ct(u + a).substring(
|
|
804
804
|
0,
|
|
805
805
|
8
|
|
806
806
|
) !== l)
|
|
@@ -813,11 +813,11 @@ const lt = (r) => {
|
|
|
813
813
|
var ue;
|
|
814
814
|
((r) => {
|
|
815
815
|
r.setKey = (n) => {
|
|
816
|
-
|
|
816
|
+
zt({ key: n });
|
|
817
817
|
}, r.enCode = (n) => {
|
|
818
818
|
try {
|
|
819
819
|
const a = JSON.stringify(n);
|
|
820
|
-
return
|
|
820
|
+
return hr(a);
|
|
821
821
|
} catch {
|
|
822
822
|
throw new Error("Не удалось зашифровать объект");
|
|
823
823
|
}
|
|
@@ -825,16 +825,16 @@ 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
|
+
zt({ iterations: n, saltLength: a });
|
|
835
835
|
};
|
|
836
836
|
})(ue || (ue = {}));
|
|
837
|
-
var
|
|
837
|
+
var ot = {};
|
|
838
838
|
/**
|
|
839
839
|
* @license React
|
|
840
840
|
* react-jsx-runtime.production.min.js
|
|
@@ -844,21 +844,21 @@ var nt = {};
|
|
|
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 qt;
|
|
848
848
|
function gr() {
|
|
849
|
-
if (
|
|
850
|
-
|
|
849
|
+
if (qt) return ot;
|
|
850
|
+
qt = 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 k(m, u, R) {
|
|
853
|
-
var h, b = {},
|
|
854
|
-
R !== void 0 && (
|
|
853
|
+
var h, b = {}, y = null, T = null;
|
|
854
|
+
R !== void 0 && (y = "" + R), u.key !== void 0 && (y = "" + u.key), u.ref !== void 0 && (T = 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: y, ref: T, props: b, _owner: l.current };
|
|
858
858
|
}
|
|
859
|
-
return
|
|
859
|
+
return ot.Fragment = a, ot.jsx = k, ot.jsxs = k, ot;
|
|
860
860
|
}
|
|
861
|
-
var
|
|
861
|
+
var st = {};
|
|
862
862
|
/**
|
|
863
863
|
* @license React
|
|
864
864
|
* react-jsx-runtime.development.js
|
|
@@ -868,14 +868,14 @@ var at = {};
|
|
|
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
|
|
872
|
-
function
|
|
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"), k = 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"),
|
|
871
|
+
var Ht;
|
|
872
|
+
function mr() {
|
|
873
|
+
return Ht || (Ht = 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"), k = 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"), y = Symbol.for("react.lazy"), T = Symbol.for("react.offscreen"), P = Symbol.iterator, $e = "@@iterator";
|
|
875
875
|
function pe(e) {
|
|
876
876
|
if (e === null || typeof e != "object")
|
|
877
877
|
return null;
|
|
878
|
-
var t = P && e[P] || e[
|
|
878
|
+
var t = P && e[P] || e[$e];
|
|
879
879
|
return typeof t == "function" ? t : null;
|
|
880
880
|
}
|
|
881
881
|
var W = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
@@ -883,23 +883,23 @@ function yr() {
|
|
|
883
883
|
{
|
|
884
884
|
for (var t = arguments.length, o = new Array(t > 1 ? t - 1 : 0), s = 1; s < t; s++)
|
|
885
885
|
o[s - 1] = arguments[s];
|
|
886
|
-
|
|
886
|
+
Ne("error", e, o);
|
|
887
887
|
}
|
|
888
888
|
}
|
|
889
|
-
function
|
|
889
|
+
function Ne(e, t, o) {
|
|
890
890
|
{
|
|
891
891
|
var s = W.ReactDebugCurrentFrame, v = s.getStackAddendum();
|
|
892
892
|
v !== "" && (t += "%s", o = o.concat([v]));
|
|
893
|
-
var
|
|
893
|
+
var g = o.map(function(d) {
|
|
894
894
|
return String(d);
|
|
895
895
|
});
|
|
896
|
-
|
|
896
|
+
g.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, g);
|
|
897
897
|
}
|
|
898
898
|
}
|
|
899
|
-
var
|
|
899
|
+
var Be = !1, Ae = !1, Ie = !1, Me = !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 ||
|
|
902
|
+
return !!(typeof e == "string" || typeof e == "function" || e === c || e === p || _ || e === l || e === R || e === h || Me || e === T || Be || Ae || Ie || typeof e == "object" && e !== null && (e.$$typeof === y || e.$$typeof === b || e.$$typeof === k || 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 yr() {
|
|
|
949
949
|
case b:
|
|
950
950
|
var s = e.displayName || null;
|
|
951
951
|
return s !== null ? s : $(e.type) || "Memo";
|
|
952
|
-
case
|
|
953
|
-
var v = e,
|
|
952
|
+
case y: {
|
|
953
|
+
var v = e, g = v._payload, d = v._init;
|
|
954
954
|
try {
|
|
955
|
-
return $(d(
|
|
955
|
+
return $(d(g));
|
|
956
956
|
} catch {
|
|
957
957
|
return null;
|
|
958
958
|
}
|
|
@@ -960,18 +960,18 @@ function yr() {
|
|
|
960
960
|
}
|
|
961
961
|
return null;
|
|
962
962
|
}
|
|
963
|
-
var D = Object.assign, Y = 0, ce, Z, X, Q, ee,
|
|
964
|
-
function
|
|
963
|
+
var D = Object.assign, Y = 0, ce, Z, X, Q, ee, De, Fe;
|
|
964
|
+
function We() {
|
|
965
965
|
}
|
|
966
|
-
|
|
967
|
-
function
|
|
966
|
+
We.__reactDisabledLog = !0;
|
|
967
|
+
function ft() {
|
|
968
968
|
{
|
|
969
969
|
if (Y === 0) {
|
|
970
|
-
ce = console.log, Z = console.info, X = console.warn, Q = console.error, ee = console.group,
|
|
970
|
+
ce = console.log, Z = console.info, X = console.warn, Q = console.error, ee = console.group, De = console.groupCollapsed, Fe = console.groupEnd;
|
|
971
971
|
var e = {
|
|
972
972
|
configurable: !0,
|
|
973
973
|
enumerable: !0,
|
|
974
|
-
value:
|
|
974
|
+
value: We,
|
|
975
975
|
writable: !0
|
|
976
976
|
};
|
|
977
977
|
Object.defineProperties(console, {
|
|
@@ -987,7 +987,7 @@ function yr() {
|
|
|
987
987
|
Y++;
|
|
988
988
|
}
|
|
989
989
|
}
|
|
990
|
-
function
|
|
990
|
+
function dt() {
|
|
991
991
|
{
|
|
992
992
|
if (Y--, Y === 0) {
|
|
993
993
|
var e = {
|
|
@@ -1012,10 +1012,10 @@ function yr() {
|
|
|
1012
1012
|
value: ee
|
|
1013
1013
|
}),
|
|
1014
1014
|
groupCollapsed: D({}, e, {
|
|
1015
|
-
value:
|
|
1015
|
+
value: De
|
|
1016
1016
|
}),
|
|
1017
1017
|
groupEnd: D({}, e, {
|
|
1018
|
-
value:
|
|
1018
|
+
value: Fe
|
|
1019
1019
|
})
|
|
1020
1020
|
});
|
|
1021
1021
|
}
|
|
@@ -1036,13 +1036,13 @@ function yr() {
|
|
|
1036
1036
|
` + he + e;
|
|
1037
1037
|
}
|
|
1038
1038
|
}
|
|
1039
|
-
var
|
|
1039
|
+
var ye = !1, ne;
|
|
1040
1040
|
{
|
|
1041
|
-
var
|
|
1042
|
-
ne = new
|
|
1041
|
+
var pt = typeof WeakMap == "function" ? WeakMap : Map;
|
|
1042
|
+
ne = new pt();
|
|
1043
1043
|
}
|
|
1044
|
-
function
|
|
1045
|
-
if (!e ||
|
|
1044
|
+
function Le(e, t) {
|
|
1045
|
+
if (!e || ye)
|
|
1046
1046
|
return "";
|
|
1047
1047
|
{
|
|
1048
1048
|
var o = ne.get(e);
|
|
@@ -1050,11 +1050,11 @@ function yr() {
|
|
|
1050
1050
|
return o;
|
|
1051
1051
|
}
|
|
1052
1052
|
var s;
|
|
1053
|
-
|
|
1053
|
+
ye = !0;
|
|
1054
1054
|
var v = Error.prepareStackTrace;
|
|
1055
1055
|
Error.prepareStackTrace = void 0;
|
|
1056
|
-
var
|
|
1057
|
-
|
|
1056
|
+
var g;
|
|
1057
|
+
g = ve.current, ve.current = null, ft();
|
|
1058
1058
|
try {
|
|
1059
1059
|
if (t) {
|
|
1060
1060
|
var d = function() {
|
|
@@ -1107,15 +1107,15 @@ function yr() {
|
|
|
1107
1107
|
}
|
|
1108
1108
|
}
|
|
1109
1109
|
} finally {
|
|
1110
|
-
|
|
1110
|
+
ye = !1, ve.current = g, dt(), Error.prepareStackTrace = v;
|
|
1111
1111
|
}
|
|
1112
1112
|
var z = e ? e.displayName || e.name : "", L = z ? re(z) : "";
|
|
1113
1113
|
return typeof e == "function" && ne.set(e, L), L;
|
|
1114
1114
|
}
|
|
1115
|
-
function
|
|
1116
|
-
return
|
|
1115
|
+
function vt(e, t, o) {
|
|
1116
|
+
return Le(e, !1);
|
|
1117
1117
|
}
|
|
1118
|
-
function
|
|
1118
|
+
function ht(e) {
|
|
1119
1119
|
var t = e.prototype;
|
|
1120
1120
|
return !!(t && t.isReactComponent);
|
|
1121
1121
|
}
|
|
@@ -1123,7 +1123,7 @@ function yr() {
|
|
|
1123
1123
|
if (e == null)
|
|
1124
1124
|
return "";
|
|
1125
1125
|
if (typeof e == "function")
|
|
1126
|
-
return
|
|
1126
|
+
return Le(e, ht(e));
|
|
1127
1127
|
if (typeof e == "string")
|
|
1128
1128
|
return re(e);
|
|
1129
1129
|
switch (e) {
|
|
@@ -1135,32 +1135,32 @@ function yr() {
|
|
|
1135
1135
|
if (typeof e == "object")
|
|
1136
1136
|
switch (e.$$typeof) {
|
|
1137
1137
|
case u:
|
|
1138
|
-
return
|
|
1138
|
+
return vt(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 y: {
|
|
1142
|
+
var s = e, v = s._payload, g = s._init;
|
|
1143
1143
|
try {
|
|
1144
|
-
return oe(
|
|
1144
|
+
return oe(g(v), t, o);
|
|
1145
1145
|
} catch {
|
|
1146
1146
|
}
|
|
1147
1147
|
}
|
|
1148
1148
|
}
|
|
1149
1149
|
return "";
|
|
1150
1150
|
}
|
|
1151
|
-
var K = Object.prototype.hasOwnProperty,
|
|
1151
|
+
var K = Object.prototype.hasOwnProperty, Ue = {}, Ye = W.ReactDebugCurrentFrame;
|
|
1152
1152
|
function ae(e) {
|
|
1153
1153
|
if (e) {
|
|
1154
1154
|
var t = e._owner, o = oe(e.type, e._source, t ? t.type : null);
|
|
1155
|
-
|
|
1155
|
+
Ye.setExtraStackFrame(o);
|
|
1156
1156
|
} else
|
|
1157
|
-
|
|
1157
|
+
Ye.setExtraStackFrame(null);
|
|
1158
1158
|
}
|
|
1159
|
-
function
|
|
1159
|
+
function yt(e, t, o, s, v) {
|
|
1160
1160
|
{
|
|
1161
|
-
var
|
|
1161
|
+
var g = Function.call.bind(K);
|
|
1162
1162
|
for (var d in e)
|
|
1163
|
-
if (
|
|
1163
|
+
if (g(e, d)) {
|
|
1164
1164
|
var f = void 0;
|
|
1165
1165
|
try {
|
|
1166
1166
|
if (typeof e[d] != "function") {
|
|
@@ -1171,41 +1171,41 @@ function yr() {
|
|
|
1171
1171
|
} catch (S) {
|
|
1172
1172
|
f = S;
|
|
1173
1173
|
}
|
|
1174
|
-
f && !(f instanceof Error) && (ae(v), 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).", s || "React class", o, d, typeof f), ae(null)), f instanceof Error && !(f.message in
|
|
1174
|
+
f && !(f instanceof Error) && (ae(v), 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).", s || "React class", o, d, typeof f), ae(null)), f instanceof Error && !(f.message in Ue) && (Ue[f.message] = !0, ae(v), j("Failed %s type: %s", o, f.message), ae(null));
|
|
1175
1175
|
}
|
|
1176
1176
|
}
|
|
1177
1177
|
}
|
|
1178
1178
|
var gt = Array.isArray;
|
|
1179
|
-
function
|
|
1179
|
+
function ge(e) {
|
|
1180
1180
|
return gt(e);
|
|
1181
1181
|
}
|
|
1182
|
-
function
|
|
1182
|
+
function mt(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 bt(e) {
|
|
1189
1189
|
try {
|
|
1190
|
-
return
|
|
1190
|
+
return Ve(e), !1;
|
|
1191
1191
|
} catch {
|
|
1192
1192
|
return !0;
|
|
1193
1193
|
}
|
|
1194
1194
|
}
|
|
1195
|
-
function
|
|
1195
|
+
function Ve(e) {
|
|
1196
1196
|
return "" + e;
|
|
1197
1197
|
}
|
|
1198
|
-
function
|
|
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.",
|
|
1198
|
+
function ze(e) {
|
|
1199
|
+
if (bt(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.", mt(e)), Ve(e);
|
|
1201
1201
|
}
|
|
1202
|
-
var
|
|
1202
|
+
var qe = W.ReactCurrentOwner, _t = {
|
|
1203
1203
|
key: !0,
|
|
1204
1204
|
ref: !0,
|
|
1205
1205
|
__self: !0,
|
|
1206
1206
|
__source: !0
|
|
1207
|
-
},
|
|
1208
|
-
function
|
|
1207
|
+
}, He, Je;
|
|
1208
|
+
function Rt(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 yr() {
|
|
|
1213
1213
|
}
|
|
1214
1214
|
return e.ref !== void 0;
|
|
1215
1215
|
}
|
|
1216
|
-
function
|
|
1216
|
+
function St(e) {
|
|
1217
1217
|
if (K.call(e, "key")) {
|
|
1218
1218
|
var t = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
1219
1219
|
if (t && t.isReactWarning)
|
|
@@ -1221,13 +1221,13 @@ function yr() {
|
|
|
1221
1221
|
}
|
|
1222
1222
|
return e.key !== void 0;
|
|
1223
1223
|
}
|
|
1224
|
-
function St(e, t) {
|
|
1225
|
-
typeof e.ref == "string" && ze.current;
|
|
1226
|
-
}
|
|
1227
1224
|
function kt(e, t) {
|
|
1225
|
+
typeof e.ref == "string" && qe.current;
|
|
1226
|
+
}
|
|
1227
|
+
function xt(e, t) {
|
|
1228
1228
|
{
|
|
1229
1229
|
var o = function() {
|
|
1230
|
-
|
|
1230
|
+
He || (He = !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));
|
|
1231
1231
|
};
|
|
1232
1232
|
o.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
1233
1233
|
get: o,
|
|
@@ -1235,10 +1235,10 @@ function yr() {
|
|
|
1235
1235
|
});
|
|
1236
1236
|
}
|
|
1237
1237
|
}
|
|
1238
|
-
function
|
|
1238
|
+
function Et(e, t) {
|
|
1239
1239
|
{
|
|
1240
1240
|
var o = function() {
|
|
1241
|
-
|
|
1241
|
+
Je || (Je = !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));
|
|
1242
1242
|
};
|
|
1243
1243
|
o.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
1244
1244
|
get: o,
|
|
@@ -1246,7 +1246,7 @@ function yr() {
|
|
|
1246
1246
|
});
|
|
1247
1247
|
}
|
|
1248
1248
|
}
|
|
1249
|
-
var
|
|
1249
|
+
var jt = function(e, t, o, s, v, g, 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 yr() {
|
|
|
1256
1256
|
ref: o,
|
|
1257
1257
|
props: d,
|
|
1258
1258
|
// Record the component responsible for creating this element.
|
|
1259
|
-
_owner:
|
|
1259
|
+
_owner: g
|
|
1260
1260
|
};
|
|
1261
1261
|
return f._store = {}, Object.defineProperty(f._store, "validated", {
|
|
1262
1262
|
configurable: !1,
|
|
@@ -1275,38 +1275,38 @@ function yr() {
|
|
|
1275
1275
|
value: v
|
|
1276
1276
|
}), Object.freeze && (Object.freeze(f.props), Object.freeze(f)), f;
|
|
1277
1277
|
};
|
|
1278
|
-
function
|
|
1278
|
+
function Ot(e, t, o, s, v) {
|
|
1279
1279
|
{
|
|
1280
|
-
var
|
|
1281
|
-
o !== void 0 && (
|
|
1282
|
-
for (
|
|
1283
|
-
K.call(t,
|
|
1280
|
+
var g, d = {}, f = null, O = null;
|
|
1281
|
+
o !== void 0 && (ze(o), f = "" + o), St(t) && (ze(t.key), f = "" + t.key), Rt(t) && (O = t.ref, kt(t));
|
|
1282
|
+
for (g in t)
|
|
1283
|
+
K.call(t, g) && !_t.hasOwnProperty(g) && (d[g] = t[g]);
|
|
1284
1284
|
if (e && e.defaultProps) {
|
|
1285
1285
|
var S = e.defaultProps;
|
|
1286
|
-
for (
|
|
1287
|
-
d[
|
|
1286
|
+
for (g in S)
|
|
1287
|
+
d[g] === void 0 && (d[g] = S[g]);
|
|
1288
1288
|
}
|
|
1289
1289
|
if (f || O) {
|
|
1290
1290
|
var x = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
1291
|
-
f &&
|
|
1291
|
+
f && xt(d, x), O && Et(d, x);
|
|
1292
1292
|
}
|
|
1293
|
-
return
|
|
1293
|
+
return jt(e, f, O, v, s, qe.current, d);
|
|
1294
1294
|
}
|
|
1295
1295
|
}
|
|
1296
|
-
var me = W.ReactCurrentOwner,
|
|
1296
|
+
var me = W.ReactCurrentOwner, Ke = W.ReactDebugCurrentFrame;
|
|
1297
1297
|
function V(e) {
|
|
1298
1298
|
if (e) {
|
|
1299
1299
|
var t = e._owner, o = oe(e.type, e._source, t ? t.type : null);
|
|
1300
|
-
|
|
1300
|
+
Ke.setExtraStackFrame(o);
|
|
1301
1301
|
} else
|
|
1302
|
-
|
|
1302
|
+
Ke.setExtraStackFrame(null);
|
|
1303
1303
|
}
|
|
1304
1304
|
var be;
|
|
1305
1305
|
be = !1;
|
|
1306
1306
|
function _e(e) {
|
|
1307
1307
|
return typeof e == "object" && e !== null && e.$$typeof === n;
|
|
1308
1308
|
}
|
|
1309
|
-
function
|
|
1309
|
+
function Ge() {
|
|
1310
1310
|
{
|
|
1311
1311
|
if (me.current) {
|
|
1312
1312
|
var e = $(me.current.type);
|
|
@@ -1318,13 +1318,13 @@ Check the render method of \`` + e + "`.";
|
|
|
1318
1318
|
return "";
|
|
1319
1319
|
}
|
|
1320
1320
|
}
|
|
1321
|
-
function
|
|
1321
|
+
function At(e) {
|
|
1322
1322
|
return "";
|
|
1323
1323
|
}
|
|
1324
|
-
var
|
|
1325
|
-
function
|
|
1324
|
+
var Ze = {};
|
|
1325
|
+
function Ct(e) {
|
|
1326
1326
|
{
|
|
1327
|
-
var t =
|
|
1327
|
+
var t = Ge();
|
|
1328
1328
|
if (!t) {
|
|
1329
1329
|
var o = typeof e == "string" ? e : e.displayName || e.name;
|
|
1330
1330
|
o && (t = `
|
|
@@ -1334,39 +1334,39 @@ Check the top-level render call using <` + o + ">.");
|
|
|
1334
1334
|
return t;
|
|
1335
1335
|
}
|
|
1336
1336
|
}
|
|
1337
|
-
function
|
|
1337
|
+
function Xe(e, t) {
|
|
1338
1338
|
{
|
|
1339
1339
|
if (!e._store || e._store.validated || e.key != null)
|
|
1340
1340
|
return;
|
|
1341
1341
|
e._store.validated = !0;
|
|
1342
|
-
var o =
|
|
1343
|
-
if (
|
|
1342
|
+
var o = Ct(t);
|
|
1343
|
+
if (Ze[o])
|
|
1344
1344
|
return;
|
|
1345
|
-
|
|
1345
|
+
Ze[o] = !0;
|
|
1346
1346
|
var s = "";
|
|
1347
1347
|
e && e._owner && e._owner !== me.current && (s = " It was passed a child from " + $(e._owner.type) + "."), V(e), j('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', o, s), V(null);
|
|
1348
1348
|
}
|
|
1349
1349
|
}
|
|
1350
|
-
function
|
|
1350
|
+
function Qe(e, t) {
|
|
1351
1351
|
{
|
|
1352
1352
|
if (typeof e != "object")
|
|
1353
1353
|
return;
|
|
1354
|
-
if (
|
|
1354
|
+
if (ge(e))
|
|
1355
1355
|
for (var o = 0; o < e.length; o++) {
|
|
1356
1356
|
var s = e[o];
|
|
1357
|
-
_e(s) &&
|
|
1357
|
+
_e(s) && Xe(s, t);
|
|
1358
1358
|
}
|
|
1359
1359
|
else if (_e(e))
|
|
1360
1360
|
e._store && (e._store.validated = !0);
|
|
1361
1361
|
else if (e) {
|
|
1362
1362
|
var v = pe(e);
|
|
1363
1363
|
if (typeof v == "function" && v !== e.entries)
|
|
1364
|
-
for (var
|
|
1365
|
-
_e(d.value) &&
|
|
1364
|
+
for (var g = v.call(e), d; !(d = g.next()).done; )
|
|
1365
|
+
_e(d.value) && Xe(d.value, t);
|
|
1366
1366
|
}
|
|
1367
1367
|
}
|
|
1368
1368
|
}
|
|
1369
|
-
function
|
|
1369
|
+
function Pt(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 = $(t);
|
|
1385
|
-
|
|
1385
|
+
yt(o, e.props, "prop", s, e);
|
|
1386
1386
|
} else if (t.PropTypes !== void 0 && !be) {
|
|
1387
1387
|
be = !0;
|
|
1388
1388
|
var v = $(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 wt(e) {
|
|
1395
1395
|
{
|
|
1396
1396
|
for (var t = Object.keys(e.props), o = 0; o < t.length; o++) {
|
|
1397
1397
|
var s = t[o];
|
|
@@ -1403,67 +1403,67 @@ Check the top-level render call using <` + o + ">.");
|
|
|
1403
1403
|
e.ref !== null && (V(e), j("Invalid attribute `ref` supplied to `React.Fragment`."), V(null));
|
|
1404
1404
|
}
|
|
1405
1405
|
}
|
|
1406
|
-
var
|
|
1407
|
-
function
|
|
1406
|
+
var et = {};
|
|
1407
|
+
function tt(e, t, o, s, v, g) {
|
|
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 O =
|
|
1414
|
-
O ? f += O : f +=
|
|
1413
|
+
var O = At();
|
|
1414
|
+
O ? f += O : f += Ge();
|
|
1415
1415
|
var S;
|
|
1416
|
-
e === null ? S = "null" :
|
|
1416
|
+
e === null ? S = "null" : ge(e) ? S = "array" : e !== void 0 && e.$$typeof === n ? (S = "<" + ($(e.type) || "Unknown") + " />", f = " 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, f);
|
|
1417
1417
|
}
|
|
1418
|
-
var x =
|
|
1418
|
+
var x = Ot(e, t, o, v, g);
|
|
1419
1419
|
if (x == null)
|
|
1420
1420
|
return x;
|
|
1421
1421
|
if (d) {
|
|
1422
1422
|
var w = t.children;
|
|
1423
1423
|
if (w !== void 0)
|
|
1424
1424
|
if (s)
|
|
1425
|
-
if (
|
|
1425
|
+
if (ge(w)) {
|
|
1426
1426
|
for (var z = 0; z < w.length; z++)
|
|
1427
|
-
|
|
1427
|
+
Qe(w[z], e);
|
|
1428
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
|
-
|
|
1432
|
+
Qe(w, e);
|
|
1433
1433
|
}
|
|
1434
1434
|
if (K.call(t, "key")) {
|
|
1435
|
-
var L = $(e), C = Object.keys(t).filter(function(
|
|
1436
|
-
return
|
|
1435
|
+
var L = $(e), C = Object.keys(t).filter(function(Mt) {
|
|
1436
|
+
return Mt !== "key";
|
|
1437
1437
|
}), Re = C.length > 0 ? "{key: someKey, " + C.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
1438
|
-
if (!
|
|
1439
|
-
var
|
|
1438
|
+
if (!et[L + Re]) {
|
|
1439
|
+
var It = 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} />`, Re, L,
|
|
1445
|
+
<%s key={someKey} {...props} />`, Re, L, It, L), et[L + Re] = !0;
|
|
1446
1446
|
}
|
|
1447
1447
|
}
|
|
1448
|
-
return e === c ?
|
|
1448
|
+
return e === c ? wt(x) : Pt(x), x;
|
|
1449
1449
|
}
|
|
1450
1450
|
}
|
|
1451
|
-
function wt(e, t, o) {
|
|
1452
|
-
return et(e, t, o, !0);
|
|
1453
|
-
}
|
|
1454
1451
|
function Tt(e, t, o) {
|
|
1455
|
-
return
|
|
1452
|
+
return tt(e, t, o, !0);
|
|
1453
|
+
}
|
|
1454
|
+
function $t(e, t, o) {
|
|
1455
|
+
return tt(e, t, o, !1);
|
|
1456
1456
|
}
|
|
1457
|
-
var
|
|
1458
|
-
|
|
1459
|
-
}()),
|
|
1457
|
+
var Nt = $t, Bt = Tt;
|
|
1458
|
+
st.Fragment = c, st.jsx = Nt, st.jsxs = Bt;
|
|
1459
|
+
}()), st;
|
|
1460
1460
|
}
|
|
1461
|
-
process.env.NODE_ENV === "production" ? gr() :
|
|
1462
|
-
const
|
|
1463
|
-
version:
|
|
1461
|
+
process.env.NODE_ENV === "production" ? gr() : mr();
|
|
1462
|
+
const br = "0.0.40", rr = {
|
|
1463
|
+
version: br
|
|
1464
1464
|
}, se = {}, H = {
|
|
1465
1465
|
module: "",
|
|
1466
|
-
v:
|
|
1466
|
+
v: rr.version,
|
|
1467
1467
|
page: "Main",
|
|
1468
1468
|
auth: "Auth",
|
|
1469
1469
|
STORAGE: "f",
|
|
@@ -1478,14 +1478,14 @@ const mr = "0.0.40", tr = {
|
|
|
1478
1478
|
id: 0
|
|
1479
1479
|
}
|
|
1480
1480
|
};
|
|
1481
|
-
function
|
|
1481
|
+
function Oe() {
|
|
1482
1482
|
return typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof self < "u" ? self : typeof global < "u" ? global : {};
|
|
1483
1483
|
}
|
|
1484
|
-
|
|
1485
|
-
Object.assign(
|
|
1484
|
+
Oe().elcrm || (Oe().elcrm = {});
|
|
1485
|
+
Object.assign(Oe().elcrm, { router: rr.version });
|
|
1486
1486
|
function te(r) {
|
|
1487
1487
|
var n, a, c, l;
|
|
1488
|
-
const p =
|
|
1488
|
+
const p = Oe();
|
|
1489
1489
|
if (p.ROUTER_PARAMS) {
|
|
1490
1490
|
r.debug || p.ROUTER_PARAMS.debug;
|
|
1491
1491
|
const k = {
|
|
@@ -1511,17 +1511,17 @@ function te(r) {
|
|
|
1511
1511
|
}
|
|
1512
1512
|
}
|
|
1513
1513
|
function A() {
|
|
1514
|
-
return
|
|
1514
|
+
return Oe().ROUTER_PARAMS || H;
|
|
1515
1515
|
}
|
|
1516
1516
|
function Se(r) {
|
|
1517
|
-
const n =
|
|
1517
|
+
const n = Oe();
|
|
1518
1518
|
n.ROUTER_PARAMS ? n.ROUTER_PARAMS.LISTENER = {
|
|
1519
1519
|
...n.ROUTER_PARAMS.LISTENER,
|
|
1520
1520
|
...r
|
|
1521
1521
|
} : n.ROUTER_PARAMS.LISTENER = { ...r };
|
|
1522
1522
|
}
|
|
1523
1523
|
function ie() {
|
|
1524
|
-
return
|
|
1524
|
+
return Oe().ROUTER_PARAMS.LISTENER || H.LISTENER;
|
|
1525
1525
|
}
|
|
1526
1526
|
var de;
|
|
1527
1527
|
((r) => {
|
|
@@ -1608,10 +1608,10 @@ var de;
|
|
|
1608
1608
|
return A().module || "";
|
|
1609
1609
|
}
|
|
1610
1610
|
r.getModule = b;
|
|
1611
|
-
function
|
|
1611
|
+
function y(_) {
|
|
1612
1612
|
return A().module === _;
|
|
1613
1613
|
}
|
|
1614
|
-
r.isModule =
|
|
1614
|
+
r.isModule = y;
|
|
1615
1615
|
function T(_, E) {
|
|
1616
1616
|
if (typeof _ != "function") {
|
|
1617
1617
|
const [B, M] = F.useState(!E), [I, $] = F.useState(_ || pe());
|
|
@@ -1632,13 +1632,13 @@ var de;
|
|
|
1632
1632
|
} }), B;
|
|
1633
1633
|
}
|
|
1634
1634
|
r.useTab = P;
|
|
1635
|
-
async function
|
|
1635
|
+
async function $e(_, E = !0) {
|
|
1636
1636
|
te({ tab: _ }), sessionStorage.setItem(
|
|
1637
1637
|
A().STORAGE,
|
|
1638
1638
|
ue.enCode(A())
|
|
1639
1639
|
), E && (ie().tabs && ie().tabs(_));
|
|
1640
1640
|
}
|
|
1641
|
-
r.setTabs =
|
|
1641
|
+
r.setTabs = $e;
|
|
1642
1642
|
function pe() {
|
|
1643
1643
|
return A().tab;
|
|
1644
1644
|
}
|
|
@@ -1649,7 +1649,7 @@ var de;
|
|
|
1649
1649
|
r.isTabs = W;
|
|
1650
1650
|
function j(_) {
|
|
1651
1651
|
if (typeof _ != "function") {
|
|
1652
|
-
const [E, B] = F.useState(_ ||
|
|
1652
|
+
const [E, B] = F.useState(_ || Ae());
|
|
1653
1653
|
return Se({ id: (M) => {
|
|
1654
1654
|
B(M);
|
|
1655
1655
|
} }), E;
|
|
@@ -1657,25 +1657,25 @@ var de;
|
|
|
1657
1657
|
Se({ id: _ });
|
|
1658
1658
|
}
|
|
1659
1659
|
r.useId = j;
|
|
1660
|
-
function
|
|
1660
|
+
function Ne(_) {
|
|
1661
1661
|
}
|
|
1662
|
-
r.subId =
|
|
1663
|
-
async function
|
|
1662
|
+
r.subId = Ne;
|
|
1663
|
+
async function Be(_, E = !0) {
|
|
1664
1664
|
te({ id: _ }), sessionStorage.setItem(
|
|
1665
1665
|
A().STORAGE,
|
|
1666
1666
|
ue.enCode(A())
|
|
1667
1667
|
), E && ie().id(_);
|
|
1668
1668
|
}
|
|
1669
|
-
r.setId =
|
|
1670
|
-
function
|
|
1669
|
+
r.setId = Be;
|
|
1670
|
+
function Ae() {
|
|
1671
1671
|
return A().id;
|
|
1672
1672
|
}
|
|
1673
|
-
r.getId =
|
|
1674
|
-
function
|
|
1673
|
+
r.getId = Ae;
|
|
1674
|
+
function Ie(_) {
|
|
1675
1675
|
return Number(A().id) === _;
|
|
1676
1676
|
}
|
|
1677
|
-
r.isId =
|
|
1678
|
-
async function
|
|
1677
|
+
r.isId = Ie;
|
|
1678
|
+
async function Me(_) {
|
|
1679
1679
|
var E, B, M, I, $, D, Y, ce;
|
|
1680
1680
|
const { page: Z, module: X, tab: Q, id: ee } = _;
|
|
1681
1681
|
Z !== void 0 && (se.page = Z), X !== void 0 && (se.module = X), Q !== void 0 && (se.tab = Q), ee !== void 0 && (se.id = ee), te({ ...se }), ee !== void 0 && ((B = (E = ie()).id) == null || B.call(E, ee)), Q !== void 0 && ((I = (M = ie()).tabs) == null || I.call(M, Q)), X !== void 0 && ((D = ($ = ie()).module) == null || D.call($, X)), Z !== void 0 && ((ce = (Y = ie()).page) == null || ce.call(Y, Z)), sessionStorage.setItem(
|
|
@@ -1683,29 +1683,29 @@ var de;
|
|
|
1683
1683
|
ue.enCode(A())
|
|
1684
1684
|
);
|
|
1685
1685
|
}
|
|
1686
|
-
r.navigate =
|
|
1686
|
+
r.navigate = Me;
|
|
1687
1687
|
})(de || (de = {}));
|
|
1688
|
-
let
|
|
1689
|
-
function
|
|
1688
|
+
let ut = {};
|
|
1689
|
+
function _r() {
|
|
1690
1690
|
const [r, n] = F.useState([]);
|
|
1691
|
-
return
|
|
1691
|
+
return ut.set = (a) => {
|
|
1692
1692
|
n([...r, a]);
|
|
1693
|
-
},
|
|
1693
|
+
}, ut.del = (a) => {
|
|
1694
1694
|
r.forEach((c, l) => {
|
|
1695
1695
|
c.key === a && r.splice(l, 1);
|
|
1696
1696
|
}), n(r);
|
|
1697
1697
|
}, r.length === 0 ? /* @__PURE__ */ i.jsx(i.Fragment, {}) : /* @__PURE__ */ i.jsx("div", { className: "notice", children: r.map((a) => a.item) });
|
|
1698
1698
|
}
|
|
1699
|
-
function
|
|
1699
|
+
function Rr(r) {
|
|
1700
1700
|
let n = (/* @__PURE__ */ new Date()).getTime();
|
|
1701
|
-
r.key = n,
|
|
1701
|
+
r.key = n, ut.set({ item: /* @__PURE__ */ i.jsx(Sr, { data: r }, n), key: n });
|
|
1702
1702
|
}
|
|
1703
|
-
function
|
|
1703
|
+
function Sr(r) {
|
|
1704
1704
|
const n = r.data;
|
|
1705
1705
|
let [a] = F.useState("show"), [c, l] = F.useState(!1);
|
|
1706
1706
|
F.useEffect(() => {
|
|
1707
1707
|
setTimeout(function() {
|
|
1708
|
-
l(!0),
|
|
1708
|
+
l(!0), ut.del(n.key);
|
|
1709
1709
|
}, 5e3);
|
|
1710
1710
|
}, [n.key]);
|
|
1711
1711
|
let p;
|
|
@@ -1748,10 +1748,18 @@ function Rr(r) {
|
|
|
1748
1748
|
) });
|
|
1749
1749
|
}
|
|
1750
1750
|
let xe = {
|
|
1751
|
-
Send:
|
|
1752
|
-
Init:
|
|
1751
|
+
Send: Rr,
|
|
1752
|
+
Init: _r
|
|
1753
1753
|
};
|
|
1754
|
-
const Ee = {
|
|
1754
|
+
const kr = "_d_1u25q_1", xr = "_b_1u25q_21", Er = "_o_1u25q_25", jr = "_m_1u25q_30", Or = "_t_1u25q_41", Ar = "_a_1u25q_108", Cr = "_v_1u25q_118", Ee = {
|
|
1755
|
+
d: kr,
|
|
1756
|
+
b: xr,
|
|
1757
|
+
o: Er,
|
|
1758
|
+
m: jr,
|
|
1759
|
+
t: Or,
|
|
1760
|
+
a: Ar,
|
|
1761
|
+
v: Cr
|
|
1762
|
+
}, je = {
|
|
1755
1763
|
is: !1,
|
|
1756
1764
|
MainButton: {},
|
|
1757
1765
|
BackButton: {}
|
|
@@ -1800,45 +1808,52 @@ G.users = {
|
|
|
1800
1808
|
"--tg-theme-button-text-color": "#000000",
|
|
1801
1809
|
"--tg-theme-secondary-bg-color": "#000000"
|
|
1802
1810
|
};
|
|
1803
|
-
const
|
|
1811
|
+
const Pr = () => {
|
|
1804
1812
|
if (location.hostname === "localhost") {
|
|
1805
1813
|
let [r, n] = J(!1), [a, c] = J(!1), [l, p] = J("dark"), [k, m] = J(!1), [u, R] = J(!1);
|
|
1806
|
-
|
|
1814
|
+
je.is = !0, je.MainButton.set = n, je.BackButton.set = c, fe(() => {
|
|
1807
1815
|
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";
|
|
1808
|
-
for (let
|
|
1816
|
+
for (let y in G[l])
|
|
1809
1817
|
document.documentElement.style.setProperty(
|
|
1810
|
-
|
|
1811
|
-
G[l][
|
|
1818
|
+
y,
|
|
1819
|
+
G[l][y]
|
|
1812
1820
|
);
|
|
1813
|
-
|
|
1821
|
+
we.safeAreaInset.bottom === 0 && document.documentElement.style.setProperty(
|
|
1814
1822
|
"--tg-safe-area-inset-bottom",
|
|
1815
1823
|
"16px"
|
|
1816
1824
|
);
|
|
1817
1825
|
}, []);
|
|
1818
|
-
let h = (
|
|
1819
|
-
for (let T in G[
|
|
1820
|
-
document.documentElement.style.setProperty(T, G[
|
|
1821
|
-
p(
|
|
1826
|
+
let h = (y) => {
|
|
1827
|
+
for (let T in G[y])
|
|
1828
|
+
document.documentElement.style.setProperty(T, G[y][T]);
|
|
1829
|
+
p(y), m(!1);
|
|
1822
1830
|
}, b = () => {
|
|
1823
1831
|
m(!1), R(!0);
|
|
1824
1832
|
};
|
|
1825
1833
|
return /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
|
|
1826
|
-
/* @__PURE__ */ i.jsxs("header", { className:
|
|
1834
|
+
/* @__PURE__ */ i.jsxs("header", { className: Ee.d, children: [
|
|
1827
1835
|
a === !1 ? /* @__PURE__ */ i.jsx("div", { className: "b", children: "Отмена" }) : /* @__PURE__ */ i.jsx(
|
|
1828
1836
|
"div",
|
|
1829
1837
|
{
|
|
1830
1838
|
onClick: () => {
|
|
1831
|
-
var
|
|
1832
|
-
a.page === void 0 ? (
|
|
1839
|
+
var y;
|
|
1840
|
+
a.page === void 0 ? (y = a.callback) == null || y.call(a) : de.setPage(a.page);
|
|
1833
1841
|
},
|
|
1834
|
-
className:
|
|
1842
|
+
className: Ee.b,
|
|
1835
1843
|
children: "Назад"
|
|
1836
1844
|
}
|
|
1837
1845
|
),
|
|
1838
|
-
/* @__PURE__ */ i.jsx(
|
|
1846
|
+
/* @__PURE__ */ i.jsx(
|
|
1847
|
+
"div",
|
|
1848
|
+
{
|
|
1849
|
+
className: Ee.o,
|
|
1850
|
+
onClick: () => m(!k),
|
|
1851
|
+
children: "Меню"
|
|
1852
|
+
}
|
|
1853
|
+
)
|
|
1839
1854
|
] }),
|
|
1840
1855
|
/* @__PURE__ */ i.jsx(xe.Init, {}),
|
|
1841
|
-
r && /* @__PURE__ */ i.jsx("div", { className:
|
|
1856
|
+
r && /* @__PURE__ */ i.jsx("div", { className: Ee.m, children: /* @__PURE__ */ i.jsx(
|
|
1842
1857
|
"button",
|
|
1843
1858
|
{
|
|
1844
1859
|
onClick: () => {
|
|
@@ -1847,7 +1862,7 @@ const Sr = () => {
|
|
|
1847
1862
|
children: r.text
|
|
1848
1863
|
}
|
|
1849
1864
|
) }),
|
|
1850
|
-
k ? /* @__PURE__ */ i.jsxs("div", { className:
|
|
1865
|
+
k ? /* @__PURE__ */ i.jsxs("div", { className: Ee.t, children: [
|
|
1851
1866
|
/* @__PURE__ */ i.jsxs("ul", { children: [
|
|
1852
1867
|
/* @__PURE__ */ i.jsx("li", { children: /* @__PURE__ */ i.jsx("button", { onClick: b, children: "Authorization" }) }),
|
|
1853
1868
|
/* @__PURE__ */ i.jsx("li", {})
|
|
@@ -1882,59 +1897,59 @@ const Sr = () => {
|
|
|
1882
1897
|
/* @__PURE__ */ i.jsx("li", { children: /* @__PURE__ */ i.jsx("button", { onClick: () => m(!k), children: "Closed" }) })
|
|
1883
1898
|
] })
|
|
1884
1899
|
] }) : "",
|
|
1885
|
-
u ? /* @__PURE__ */ i.jsx(
|
|
1900
|
+
u ? /* @__PURE__ */ i.jsx(wr, { setAuthorization: R }) : ""
|
|
1886
1901
|
] });
|
|
1887
1902
|
} else
|
|
1888
1903
|
return fe(() => {
|
|
1889
1904
|
document.documentElement.style.setProperty(
|
|
1890
1905
|
"--tg-theme-secondary-bg-color-alpha",
|
|
1891
|
-
|
|
1906
|
+
we.themeParams.secondary_bg_color + "d3"
|
|
1892
1907
|
), document.documentElement.style.setProperty(
|
|
1893
1908
|
"--tg-theme-bg-color-alpha",
|
|
1894
|
-
|
|
1895
|
-
),
|
|
1909
|
+
we.themeParams.bg_color + "b3"
|
|
1910
|
+
), we.safeAreaInset.bottom === 0 && document.documentElement.style.setProperty(
|
|
1896
1911
|
"--tg-safe-area-inset-bottom",
|
|
1897
1912
|
"16px"
|
|
1898
1913
|
);
|
|
1899
1914
|
}, []), /* @__PURE__ */ i.jsx(i.Fragment, { children: /* @__PURE__ */ i.jsx(xe.Init, {}) });
|
|
1900
|
-
},
|
|
1915
|
+
}, wr = ({ setAuthorization: r }) => {
|
|
1901
1916
|
let n = {}, a = () => {
|
|
1902
1917
|
localStorage.setItem("auth", n);
|
|
1903
1918
|
};
|
|
1904
|
-
return /* @__PURE__ */ i.jsx("div", { className:
|
|
1919
|
+
return /* @__PURE__ */ i.jsx("div", { className: Ee.a, children: /* @__PURE__ */ i.jsxs("div", { className: Ee.v, children: [
|
|
1905
1920
|
/* @__PURE__ */ i.jsx("fieldset", {}),
|
|
1906
1921
|
/* @__PURE__ */ i.jsx("div", { onClick: a, children: " Сохранить " })
|
|
1907
1922
|
] }) });
|
|
1908
|
-
},
|
|
1909
|
-
p:
|
|
1910
|
-
s:
|
|
1911
|
-
},
|
|
1923
|
+
}, Tr = "_p_1axqy_1", $r = "_s_1axqy_17", Jt = {
|
|
1924
|
+
p: Tr,
|
|
1925
|
+
s: $r
|
|
1926
|
+
}, Nr = ({ className: r, children: n, isScroll: a = !0 }) => /* @__PURE__ */ i.jsx(
|
|
1912
1927
|
"div",
|
|
1913
1928
|
{
|
|
1914
|
-
className: [
|
|
1929
|
+
className: [Jt.p, a && Jt.s, r].filter((c) => c !== void 0).join(" "),
|
|
1915
1930
|
children: n
|
|
1916
1931
|
}
|
|
1917
|
-
),
|
|
1918
|
-
l:
|
|
1919
|
-
},
|
|
1932
|
+
), Br = "_l_gfyud_1", Ir = {
|
|
1933
|
+
l: Br
|
|
1934
|
+
}, Mr = ({ children: r, className: n }) => /* @__PURE__ */ i.jsx(
|
|
1920
1935
|
"div",
|
|
1921
1936
|
{
|
|
1922
|
-
className: [
|
|
1937
|
+
className: [Ir.l, n].filter((a) => a !== void 0).join(" "),
|
|
1923
1938
|
children: r
|
|
1924
1939
|
}
|
|
1925
|
-
),
|
|
1926
|
-
m:
|
|
1927
|
-
g:
|
|
1928
|
-
i:
|
|
1929
|
-
c:
|
|
1930
|
-
l:
|
|
1931
|
-
a:
|
|
1932
|
-
n:
|
|
1933
|
-
},
|
|
1940
|
+
), Dr = "_m_ppm7n_2", Fr = "_g_ppm7n_10", Wr = "_i_ppm7n_18", Lr = "_c_ppm7n_35", Ur = "_l_ppm7n_42", Yr = "_a_ppm7n_57", Vr = "_n_ppm7n_62", ke = {
|
|
1941
|
+
m: Dr,
|
|
1942
|
+
g: Fr,
|
|
1943
|
+
i: Wr,
|
|
1944
|
+
c: Lr,
|
|
1945
|
+
l: Ur,
|
|
1946
|
+
a: Yr,
|
|
1947
|
+
n: Vr
|
|
1948
|
+
}, zr = ({ items: r }) => {
|
|
1934
1949
|
const n = (c) => {
|
|
1935
1950
|
de.setPage(c);
|
|
1936
1951
|
}, a = (c) => {
|
|
1937
|
-
|
|
1952
|
+
we.openTelegramLink(c);
|
|
1938
1953
|
};
|
|
1939
1954
|
return /* @__PURE__ */ i.jsx("div", { className: ke.m, children: r.map((c) => /* @__PURE__ */ i.jsx("div", { className: ke.g, children: c.items.map((l, p) => /* @__PURE__ */ i.jsxs(
|
|
1940
1955
|
"div",
|
|
@@ -1961,17 +1976,17 @@ const Sr = () => {
|
|
|
1961
1976
|
},
|
|
1962
1977
|
p
|
|
1963
1978
|
)) }, c.id)) });
|
|
1964
|
-
},
|
|
1965
|
-
o:
|
|
1966
|
-
m:
|
|
1967
|
-
l:
|
|
1968
|
-
r:
|
|
1969
|
-
x:
|
|
1970
|
-
h:
|
|
1971
|
-
c:
|
|
1972
|
-
u:
|
|
1979
|
+
}, qr = "_o_8ho2f_3", Hr = "_m_8ho2f_14", Jr = "_l_8ho2f_28", Kr = "_r_8ho2f_33", Gr = "_x_8ho2f_38", Zr = "_h_8ho2f_42", Xr = "_c_8ho2f_57", Qr = "_u_8ho2f_72", le = {
|
|
1980
|
+
o: qr,
|
|
1981
|
+
m: Hr,
|
|
1982
|
+
l: Jr,
|
|
1983
|
+
r: Kr,
|
|
1984
|
+
x: Gr,
|
|
1985
|
+
h: Zr,
|
|
1986
|
+
c: Xr,
|
|
1987
|
+
u: Qr
|
|
1973
1988
|
};
|
|
1974
|
-
function
|
|
1989
|
+
function en({
|
|
1975
1990
|
children: r,
|
|
1976
1991
|
icon: n,
|
|
1977
1992
|
iconBadge: a = 0,
|
|
@@ -1984,9 +1999,9 @@ function qr({
|
|
|
1984
1999
|
null
|
|
1985
2000
|
);
|
|
1986
2001
|
fe(() => {
|
|
1987
|
-
let
|
|
1988
|
-
return
|
|
1989
|
-
|
|
2002
|
+
let y = document.querySelector(".p_sb");
|
|
2003
|
+
return y || (y = document.createElement("div"), y.className = "_p_sb", document.body.appendChild(y)), h(y), () => {
|
|
2004
|
+
y && y.parentNode && y.parentNode.removeChild(y);
|
|
1990
2005
|
};
|
|
1991
2006
|
}, []);
|
|
1992
2007
|
const b = /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
|
|
@@ -1994,7 +2009,7 @@ function qr({
|
|
|
1994
2009
|
/* @__PURE__ */ i.jsxs(
|
|
1995
2010
|
"div",
|
|
1996
2011
|
{
|
|
1997
|
-
className:
|
|
2012
|
+
className: Te(
|
|
1998
2013
|
le.m,
|
|
1999
2014
|
k === "left" ? le.l : le.r,
|
|
2000
2015
|
m && le.x,
|
|
@@ -2039,12 +2054,12 @@ function qr({
|
|
|
2039
2054
|
children: n
|
|
2040
2055
|
}
|
|
2041
2056
|
),
|
|
2042
|
-
R &&
|
|
2057
|
+
R && or(b, R)
|
|
2043
2058
|
] });
|
|
2044
2059
|
}
|
|
2045
|
-
let
|
|
2060
|
+
let at = () => {
|
|
2046
2061
|
};
|
|
2047
|
-
const
|
|
2062
|
+
const nr = ({
|
|
2048
2063
|
children: r,
|
|
2049
2064
|
title: n,
|
|
2050
2065
|
isOverlay: a = !0,
|
|
@@ -2053,16 +2068,16 @@ const rr = ({
|
|
|
2053
2068
|
onOpen: p
|
|
2054
2069
|
}) => {
|
|
2055
2070
|
const [k, m] = F.useState(!1);
|
|
2056
|
-
return
|
|
2071
|
+
return at = () => {
|
|
2057
2072
|
m(!0), setTimeout(() => {
|
|
2058
2073
|
var u;
|
|
2059
|
-
p == null || p(!1), (u =
|
|
2074
|
+
p == null || p(!1), (u = Pe == null ? void 0 : Pe.onClose) == null || u.call(Pe);
|
|
2060
2075
|
}, 300);
|
|
2061
2076
|
}, /* @__PURE__ */ i.jsx(
|
|
2062
2077
|
"div",
|
|
2063
2078
|
{
|
|
2064
2079
|
className: `footer-menu-overlay ${a ? "is-overlay" : ""} ${k ? "closing" : ""} `,
|
|
2065
|
-
onClick:
|
|
2080
|
+
onClick: at,
|
|
2066
2081
|
children: /* @__PURE__ */ i.jsxs(
|
|
2067
2082
|
"div",
|
|
2068
2083
|
{
|
|
@@ -2075,7 +2090,7 @@ const rr = ({
|
|
|
2075
2090
|
"button",
|
|
2076
2091
|
{
|
|
2077
2092
|
className: "footer-menu-close-btn",
|
|
2078
|
-
onClick:
|
|
2093
|
+
onClick: at,
|
|
2079
2094
|
children: "✕"
|
|
2080
2095
|
}
|
|
2081
2096
|
)
|
|
@@ -2086,12 +2101,12 @@ const rr = ({
|
|
|
2086
2101
|
)
|
|
2087
2102
|
}
|
|
2088
2103
|
);
|
|
2089
|
-
},
|
|
2090
|
-
h:
|
|
2091
|
-
row:
|
|
2092
|
-
column:
|
|
2093
|
-
badge:
|
|
2094
|
-
},
|
|
2104
|
+
}, tn = "_h_1kcus_1", rn = "_row_1kcus_20", nn = "_column_1kcus_23", on = "_badge_1kcus_36", Dt = {
|
|
2105
|
+
h: tn,
|
|
2106
|
+
row: rn,
|
|
2107
|
+
column: nn,
|
|
2108
|
+
badge: on
|
|
2109
|
+
}, Pe = [], Kt = (r, n) => r.findIndex((a) => (a == null ? void 0 : a.page) === n), an = ({
|
|
2095
2110
|
actions: r,
|
|
2096
2111
|
children: n,
|
|
2097
2112
|
className: a,
|
|
@@ -2101,14 +2116,14 @@ const rr = ({
|
|
|
2101
2116
|
direction: k = "row"
|
|
2102
2117
|
}) => {
|
|
2103
2118
|
const [m, u] = F.useState(null), [R, h] = F.useState(
|
|
2104
|
-
l ?
|
|
2119
|
+
l ? Kt(r || [], l) : 0
|
|
2105
2120
|
);
|
|
2106
|
-
return
|
|
2107
|
-
u(null), h(l ?
|
|
2121
|
+
return Pe.onClose = () => {
|
|
2122
|
+
u(null), h(l ? Kt(r || [], l) : 0);
|
|
2108
2123
|
}, fe(() => {
|
|
2109
2124
|
if (!c)
|
|
2110
2125
|
return;
|
|
2111
|
-
const b = document.querySelectorAll("[contenteditable]"),
|
|
2126
|
+
const b = document.querySelectorAll("[contenteditable]"), y = () => {
|
|
2112
2127
|
const P = document.querySelector("footer");
|
|
2113
2128
|
P && (P.style.display = "flex");
|
|
2114
2129
|
}, T = () => {
|
|
@@ -2116,10 +2131,10 @@ const rr = ({
|
|
|
2116
2131
|
P && (P.style.display = "none");
|
|
2117
2132
|
};
|
|
2118
2133
|
return b.forEach((P) => {
|
|
2119
|
-
P.addEventListener("focus", T, !0), P.addEventListener("blur",
|
|
2134
|
+
P.addEventListener("focus", T, !0), P.addEventListener("blur", y, !0);
|
|
2120
2135
|
}), () => {
|
|
2121
2136
|
b.forEach((P) => {
|
|
2122
|
-
P.removeEventListener("focus", T, !0), P.removeEventListener("blur",
|
|
2137
|
+
P.removeEventListener("focus", T, !0), P.removeEventListener("blur", y, !0);
|
|
2123
2138
|
});
|
|
2124
2139
|
};
|
|
2125
2140
|
}, []), /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
|
|
@@ -2127,34 +2142,34 @@ const rr = ({
|
|
|
2127
2142
|
/* @__PURE__ */ i.jsxs(
|
|
2128
2143
|
"footer",
|
|
2129
2144
|
{
|
|
2130
|
-
className: `${
|
|
2145
|
+
className: `${Dt.h} ${Dt[k]} ${a} `,
|
|
2131
2146
|
children: [
|
|
2132
2147
|
n,
|
|
2133
|
-
r && r.map((b,
|
|
2148
|
+
r && r.map((b, y) => /* @__PURE__ */ i.jsxs(
|
|
2134
2149
|
"div",
|
|
2135
2150
|
{
|
|
2136
|
-
"data-active": R ===
|
|
2151
|
+
"data-active": R === y ? "true" : "false",
|
|
2137
2152
|
onClick: () => {
|
|
2138
|
-
b.page && (h(
|
|
2153
|
+
b.page && (h(y), p == null || p(b.page)), b.callback && (b.callback(), h(y)), b.component && (R === y ? at() : (u(b.component), h(y)));
|
|
2139
2154
|
},
|
|
2140
2155
|
children: [
|
|
2141
2156
|
b.icon,
|
|
2142
|
-
b.badge && /* @__PURE__ */ i.jsx("div", { className:
|
|
2157
|
+
b.badge && /* @__PURE__ */ i.jsx("div", { className: Dt.badge, children: b.badge })
|
|
2143
2158
|
]
|
|
2144
2159
|
},
|
|
2145
|
-
|
|
2160
|
+
y
|
|
2146
2161
|
))
|
|
2147
2162
|
]
|
|
2148
2163
|
}
|
|
2149
2164
|
)
|
|
2150
2165
|
] });
|
|
2151
|
-
},
|
|
2152
|
-
w:
|
|
2153
|
-
v:
|
|
2154
|
-
s:
|
|
2155
|
-
n:
|
|
2156
|
-
},
|
|
2157
|
-
function
|
|
2166
|
+
}, sn = "_w_yx04q_3", ln = "_v_yx04q_24", cn = "_s_yx04q_34", un = "_n_yx04q_38", it = {
|
|
2167
|
+
w: sn,
|
|
2168
|
+
v: ln,
|
|
2169
|
+
s: cn,
|
|
2170
|
+
n: un
|
|
2171
|
+
}, Ut = {};
|
|
2172
|
+
function fn({
|
|
2158
2173
|
children: r,
|
|
2159
2174
|
name: n,
|
|
2160
2175
|
onClose: a,
|
|
@@ -2165,17 +2180,17 @@ function rn({
|
|
|
2165
2180
|
const [k, m] = J(!1);
|
|
2166
2181
|
return fe(() => {
|
|
2167
2182
|
if (!c) return;
|
|
2168
|
-
const u = p === void 0 ?
|
|
2183
|
+
const u = p === void 0 ? _n().pop() : p, R = () => {
|
|
2169
2184
|
m(!1), setTimeout(() => {
|
|
2170
|
-
|
|
2185
|
+
Zt(u || !1), a == null || a();
|
|
2171
2186
|
}, 300);
|
|
2172
2187
|
};
|
|
2173
|
-
|
|
2188
|
+
Ut[n] = {
|
|
2174
2189
|
onClose: R,
|
|
2175
2190
|
onOpen: () => {
|
|
2176
2191
|
m(!0);
|
|
2177
2192
|
}
|
|
2178
|
-
},
|
|
2193
|
+
}, Zt({
|
|
2179
2194
|
callback: R
|
|
2180
2195
|
});
|
|
2181
2196
|
const h = setTimeout(() => {
|
|
@@ -2187,26 +2202,26 @@ function rn({
|
|
|
2187
2202
|
}, [c]), c ? /* @__PURE__ */ i.jsxs(
|
|
2188
2203
|
"div",
|
|
2189
2204
|
{
|
|
2190
|
-
className:
|
|
2191
|
-
|
|
2192
|
-
k &&
|
|
2193
|
-
l &&
|
|
2205
|
+
className: Te(
|
|
2206
|
+
it.w,
|
|
2207
|
+
k && it.v,
|
|
2208
|
+
l && it.s
|
|
2194
2209
|
),
|
|
2195
2210
|
children: [
|
|
2196
|
-
/* @__PURE__ */ i.jsx("div", { className:
|
|
2211
|
+
/* @__PURE__ */ i.jsx("div", { className: it.n }),
|
|
2197
2212
|
r
|
|
2198
2213
|
]
|
|
2199
2214
|
}
|
|
2200
2215
|
) : "";
|
|
2201
2216
|
}
|
|
2202
|
-
const
|
|
2217
|
+
const dn = (r, n) => {
|
|
2203
2218
|
var a, c;
|
|
2204
|
-
n ? (a =
|
|
2205
|
-
},
|
|
2206
|
-
s:
|
|
2207
|
-
n:
|
|
2219
|
+
n ? (a = Ut[r]) == null || a.onOpen() : (c = Ut[r]) == null || c.onClose();
|
|
2220
|
+
}, pn = "_s_ezoxx_3", vn = "_n_ezoxx_14", Gt = {
|
|
2221
|
+
s: pn,
|
|
2222
|
+
n: vn
|
|
2208
2223
|
};
|
|
2209
|
-
function
|
|
2224
|
+
function hn({
|
|
2210
2225
|
className: r,
|
|
2211
2226
|
children: n,
|
|
2212
2227
|
onScrollEnd: a,
|
|
@@ -2220,32 +2235,32 @@ function sn({
|
|
|
2220
2235
|
}, [l]);
|
|
2221
2236
|
let u = {
|
|
2222
2237
|
onScroll: (R) => {
|
|
2223
|
-
const { scrollTop: h, scrollHeight: b, clientHeight:
|
|
2224
|
-
h +
|
|
2238
|
+
const { scrollTop: h, scrollHeight: b, clientHeight: y } = R.currentTarget;
|
|
2239
|
+
h + y >= b - c && !k && (m(!0), a == null || a());
|
|
2225
2240
|
}
|
|
2226
2241
|
};
|
|
2227
2242
|
return /* @__PURE__ */ i.jsx(
|
|
2228
2243
|
"div",
|
|
2229
2244
|
{
|
|
2230
2245
|
...u,
|
|
2231
|
-
className:
|
|
2246
|
+
className: Te(Gt.s, !p && Gt.n, r),
|
|
2232
2247
|
children: n
|
|
2233
2248
|
}
|
|
2234
2249
|
);
|
|
2235
2250
|
}
|
|
2236
|
-
const
|
|
2237
|
-
a:
|
|
2238
|
-
l:
|
|
2239
|
-
r:
|
|
2251
|
+
const yn = "_a_ohhaz_1", gn = "_l_ohhaz_12", mn = "_r_ohhaz_15", Ft = {
|
|
2252
|
+
a: yn,
|
|
2253
|
+
l: gn,
|
|
2254
|
+
r: mn
|
|
2240
2255
|
};
|
|
2241
|
-
function
|
|
2256
|
+
function bn({
|
|
2242
2257
|
children: r,
|
|
2243
2258
|
className: n,
|
|
2244
2259
|
position: a = "center",
|
|
2245
2260
|
title: c
|
|
2246
2261
|
}) {
|
|
2247
2262
|
let l = "";
|
|
2248
|
-
return a === "left" ? l =
|
|
2263
|
+
return a === "left" ? l = Ft.l : a === "right" && (l = Ft.r), /* @__PURE__ */ i.jsxs("div", { className: Te(Ft.a, l, n), children: [
|
|
2249
2264
|
r,
|
|
2250
2265
|
c && /* @__PURE__ */ i.jsx("b", { children: c })
|
|
2251
2266
|
] });
|
|
@@ -2259,9 +2274,9 @@ const U = {
|
|
|
2259
2274
|
var a;
|
|
2260
2275
|
let n = U.state.pop();
|
|
2261
2276
|
U.prev = de.getPage(), n.page !== void 0 ? de.setPage(n.page) : (a = n.callback) == null || a.call(n);
|
|
2262
|
-
}),
|
|
2277
|
+
}), we.BackButton.onClick(U.listen[0]));
|
|
2263
2278
|
}
|
|
2264
|
-
},
|
|
2279
|
+
}, Te = (...r) => r.filter((n) => n !== void 0 && n !== !1 && n !== null && n !== "").join(" ");
|
|
2265
2280
|
var N;
|
|
2266
2281
|
((r) => {
|
|
2267
2282
|
r.WebApp = window.Telegram.WebApp, r.getUser = () => {
|
|
@@ -2284,10 +2299,10 @@ var N;
|
|
|
2284
2299
|
var a;
|
|
2285
2300
|
xe.Send({ type: "warning", text: n }), (a = r.WebApp.HapticFeedback) == null || a.notificationOccurred("warning");
|
|
2286
2301
|
}
|
|
2287
|
-
}, r.Header =
|
|
2302
|
+
}, r.Header = Pr, r.TabBar = an, r.BottomSheet = nr, r.toggleBottomSheet = at, r.SafeArea = Nr, r.Loading = Mr, r.Sidebar = en, r.SidePanel = fn, r.AppBar = bn, r.SidePanelController = dn, r.Scroll = hn, r.Modal = Lt, r.Menu = zr, r.MainButton = {
|
|
2288
2303
|
callback: [],
|
|
2289
2304
|
set: (n) => {
|
|
2290
|
-
|
|
2305
|
+
je.is ? je.MainButton.set(n) : (r.WebApp.MainButton.callback.forEach((a) => {
|
|
2291
2306
|
r.WebApp.MainButton.offClick(a);
|
|
2292
2307
|
}), r.WebApp.MainButton.callback = [], typeof n == "boolean" ? r.WebApp.MainButton.isVisible = !1 : (r.WebApp.MainButton.text = n.text, n.color && (r.WebApp.MainButton.color = n.color), n.textColor && (r.WebApp.MainButton.textColor = n.textColor), r.WebApp.MainButton.isVisible = !0, r.WebApp.MainButton.isActive = n.isActive === void 0 ? !0 : n.isActive, r.WebApp.MainButton.callback.push(() => {
|
|
2293
2308
|
var a;
|
|
@@ -2299,31 +2314,31 @@ var N;
|
|
|
2299
2314
|
}, r.BackButtonPrev = () => {
|
|
2300
2315
|
U.prev && (0, r.BackButton)(U.prev);
|
|
2301
2316
|
}, r.BackButtonState = () => U.state, r.BackButton = (n) => {
|
|
2302
|
-
|
|
2317
|
+
je.is ? je.BackButton.set(n) : (U.state.push(n), U.router(n));
|
|
2303
2318
|
};
|
|
2304
2319
|
})(N || (N = {}));
|
|
2305
|
-
const
|
|
2320
|
+
const kn = N.TabBar, xn = nr, Zt = N.BackButton, En = N.BackButtonPrev, _n = N.BackButtonState, jn = N.Notice, On = N.SafeArea, An = N.Loading, Cn = N.Menu, Pn = N.SidePanel, wn = N.Scroll, Tn = N.AppBar, $n = N.Sidebar, Nn = N.SidePanelController, { Header: Bn, toggleBottomSheet: In, Modal: Mn, MainButton: Dn, WebApp: we, getUser: Fn } = N;
|
|
2306
2321
|
export {
|
|
2307
|
-
|
|
2308
|
-
|
|
2309
|
-
|
|
2310
|
-
|
|
2311
|
-
|
|
2312
|
-
|
|
2313
|
-
|
|
2314
|
-
|
|
2315
|
-
|
|
2316
|
-
|
|
2317
|
-
|
|
2318
|
-
|
|
2319
|
-
|
|
2320
|
-
|
|
2321
|
-
|
|
2322
|
-
|
|
2323
|
-
|
|
2324
|
-
|
|
2325
|
-
|
|
2322
|
+
Tn as AppBar,
|
|
2323
|
+
Zt as BackButton,
|
|
2324
|
+
En as BackButtonPrev,
|
|
2325
|
+
_n as BackButtonState,
|
|
2326
|
+
xn as BottomSheet,
|
|
2327
|
+
Bn as Header,
|
|
2328
|
+
An as Loading,
|
|
2329
|
+
Dn as MainButton,
|
|
2330
|
+
Cn as Menu,
|
|
2331
|
+
Mn as Modal,
|
|
2332
|
+
jn as Notice,
|
|
2333
|
+
On as SafeArea,
|
|
2334
|
+
wn as Scroll,
|
|
2335
|
+
Pn as SidePanel,
|
|
2336
|
+
Nn as SidePanelController,
|
|
2337
|
+
$n as Sidebar,
|
|
2338
|
+
kn as TabBar,
|
|
2339
|
+
we as WebApp,
|
|
2340
|
+
Te as clsx,
|
|
2326
2341
|
N as default,
|
|
2327
|
-
|
|
2328
|
-
|
|
2342
|
+
Fn as getUser,
|
|
2343
|
+
In as toggleBottomSheet
|
|
2329
2344
|
};
|