@elcrm/telegram 0.0.113 → 0.0.115
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/Badge/Badge.d.ts +6 -0
- package/dist/index.css +1 -1
- package/dist/index.es.js +584 -562
- package/dist/index.umd.js +18 -18
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import F, { useState as J, useEffect as
|
|
2
|
-
import { createPortal as
|
|
3
|
-
import './index.css';var Ft = { exports: {} },
|
|
1
|
+
import F, { useState as J, useEffect as de } from "react";
|
|
2
|
+
import { createPortal as or } from "react-dom";
|
|
3
|
+
import './index.css';var Ft = { exports: {} }, rt = {};
|
|
4
4
|
/**
|
|
5
5
|
* @license React
|
|
6
6
|
* react-jsx-runtime.production.min.js
|
|
@@ -11,20 +11,20 @@ import './index.css';var Ft = { exports: {} }, tt = {};
|
|
|
11
11
|
* LICENSE file in the root directory of this source tree.
|
|
12
12
|
*/
|
|
13
13
|
var Ut;
|
|
14
|
-
function
|
|
15
|
-
if (Ut) return
|
|
14
|
+
function ar() {
|
|
15
|
+
if (Ut) return rt;
|
|
16
16
|
Ut = 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
|
-
function
|
|
19
|
-
var h, b = {},
|
|
20
|
-
R !== void 0 && (
|
|
18
|
+
function x(m, u, R) {
|
|
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 = x, rt.jsxs = x, rt;
|
|
26
26
|
}
|
|
27
|
-
var
|
|
27
|
+
var nt = {};
|
|
28
28
|
/**
|
|
29
29
|
* @license React
|
|
30
30
|
* react-jsx-runtime.development.js
|
|
@@ -35,13 +35,13 @@ var rt = {};
|
|
|
35
35
|
* LICENSE file in the root directory of this source tree.
|
|
36
36
|
*/
|
|
37
37
|
var Yt;
|
|
38
|
-
function
|
|
38
|
+
function sr() {
|
|
39
39
|
return Yt || (Yt = 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"),
|
|
41
|
-
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"), x = 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
|
+
function ve(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 === x || 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.
|
|
@@ -107,7 +107,7 @@ function ar() {
|
|
|
107
107
|
case m:
|
|
108
108
|
var t = e;
|
|
109
109
|
return I(t) + ".Consumer";
|
|
110
|
-
case
|
|
110
|
+
case x:
|
|
111
111
|
var o = e;
|
|
112
112
|
return I(o._context) + ".Provider";
|
|
113
113
|
case u:
|
|
@@ -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,36 +178,36 @@ 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
|
}
|
|
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 he = W.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 ge = !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
|
|
210
|
+
function Le(e, t) {
|
|
211
211
|
if (!e || ge)
|
|
212
212
|
return "";
|
|
213
213
|
{
|
|
@@ -219,8 +219,8 @@ function ar() {
|
|
|
219
219
|
ge = !0;
|
|
220
220
|
var v = Error.prepareStackTrace;
|
|
221
221
|
Error.prepareStackTrace = void 0;
|
|
222
|
-
var
|
|
223
|
-
|
|
222
|
+
var g;
|
|
223
|
+
g = he.current, he.current = null, ft();
|
|
224
224
|
try {
|
|
225
225
|
if (t) {
|
|
226
226
|
var d = function() {
|
|
@@ -257,31 +257,31 @@ function ar() {
|
|
|
257
257
|
if (C && s && typeof C.stack == "string") {
|
|
258
258
|
for (var f = C.stack.split(`
|
|
259
259
|
`), O = s.stack.split(`
|
|
260
|
-
`), S = f.length - 1,
|
|
261
|
-
|
|
262
|
-
for (; S >= 1 &&
|
|
263
|
-
if (f[S] !== O[
|
|
264
|
-
if (S !== 1 ||
|
|
260
|
+
`), S = f.length - 1, k = O.length - 1; S >= 1 && k >= 0 && f[S] !== O[k]; )
|
|
261
|
+
k--;
|
|
262
|
+
for (; S >= 1 && k >= 0; S--, k--)
|
|
263
|
+
if (f[S] !== O[k]) {
|
|
264
|
+
if (S !== 1 || k !== 1)
|
|
265
265
|
do
|
|
266
|
-
if (S--,
|
|
266
|
+
if (S--, k--, k < 0 || f[S] !== O[k]) {
|
|
267
267
|
var w = `
|
|
268
268
|
` + f[S].replace(" at new ", " at ");
|
|
269
269
|
return e.displayName && w.includes("<anonymous>") && (w = w.replace("<anonymous>", e.displayName)), typeof e == "function" && ne.set(e, w), w;
|
|
270
270
|
}
|
|
271
|
-
while (S >= 1 &&
|
|
271
|
+
while (S >= 1 && k >= 0);
|
|
272
272
|
break;
|
|
273
273
|
}
|
|
274
274
|
}
|
|
275
275
|
} finally {
|
|
276
|
-
ge = !1,
|
|
276
|
+
ge = !1, he.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 me(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
|
|
391
|
-
typeof e.ref == "string" &&
|
|
390
|
+
function xt(e, t) {
|
|
391
|
+
typeof e.ref == "string" && qe.current;
|
|
392
392
|
}
|
|
393
393
|
function kt(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,41 +441,41 @@ 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, xt(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
|
-
var
|
|
457
|
-
f && kt(d,
|
|
456
|
+
var k = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
457
|
+
f && kt(d, k), O && Et(d, k);
|
|
458
458
|
}
|
|
459
|
-
return
|
|
459
|
+
return jt(e, f, O, v, s, qe.current, d);
|
|
460
460
|
}
|
|
461
461
|
}
|
|
462
|
-
var
|
|
462
|
+
var be = 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
|
-
var
|
|
471
|
-
|
|
472
|
-
function
|
|
470
|
+
var _e;
|
|
471
|
+
_e = !1;
|
|
472
|
+
function Re(e) {
|
|
473
473
|
return typeof e == "object" && e !== null && e.$$typeof === n;
|
|
474
474
|
}
|
|
475
|
-
function
|
|
475
|
+
function Ge() {
|
|
476
476
|
{
|
|
477
|
-
if (
|
|
478
|
-
var e = $(
|
|
477
|
+
if (be.current) {
|
|
478
|
+
var e = $(be.current.type);
|
|
479
479
|
if (e)
|
|
480
480
|
return `
|
|
481
481
|
|
|
@@ -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
|
-
e && e._owner && e._owner !==
|
|
513
|
+
e && e._owner && e._owner !== be.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 (me(e))
|
|
521
521
|
for (var o = 0; o < e.length; o++) {
|
|
522
522
|
var s = e[o];
|
|
523
|
-
|
|
523
|
+
Re(s) && Xe(s, t);
|
|
524
524
|
}
|
|
525
|
-
else if (
|
|
525
|
+
else if (Re(e))
|
|
526
526
|
e._store && (e._store.validated = !0);
|
|
527
527
|
else if (e) {
|
|
528
|
-
var v =
|
|
528
|
+
var v = ve(e);
|
|
529
529
|
if (typeof v == "function" && v !== e.entries)
|
|
530
|
-
for (var
|
|
531
|
-
|
|
530
|
+
for (var g = v.call(e), d; !(d = g.next()).done; )
|
|
531
|
+
Re(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,16 +548,16 @@ Check the top-level render call using <` + o + ">.");
|
|
|
548
548
|
return;
|
|
549
549
|
if (o) {
|
|
550
550
|
var s = $(t);
|
|
551
|
-
|
|
552
|
-
} else if (t.PropTypes !== void 0 && !
|
|
553
|
-
|
|
551
|
+
yt(o, e.props, "prop", s, e);
|
|
552
|
+
} else if (t.PropTypes !== void 0 && !_e) {
|
|
553
|
+
_e = !0;
|
|
554
554
|
var v = $(t);
|
|
555
555
|
j("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", v || "Unknown");
|
|
556
556
|
}
|
|
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,68 +569,68 @@ 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" : me(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
|
|
585
|
-
if (
|
|
586
|
-
return
|
|
584
|
+
var k = Ot(e, t, o, v, g);
|
|
585
|
+
if (k == null)
|
|
586
|
+
return k;
|
|
587
587
|
if (d) {
|
|
588
588
|
var w = t.children;
|
|
589
589
|
if (w !== void 0)
|
|
590
590
|
if (s)
|
|
591
|
-
if (
|
|
591
|
+
if (me(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
|
|
603
|
-
}),
|
|
604
|
-
if (!
|
|
605
|
-
var
|
|
601
|
+
var L = $(e), C = Object.keys(t).filter(function(Mt) {
|
|
602
|
+
return Mt !== "key";
|
|
603
|
+
}), Se = C.length > 0 ? "{key: someKey, " + C.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
604
|
+
if (!et[L + Se]) {
|
|
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} />`,
|
|
611
|
+
<%s key={someKey} {...props} />`, Se, L, It, L), et[L + Se] = !0;
|
|
612
612
|
}
|
|
613
613
|
}
|
|
614
|
-
return e === c ?
|
|
614
|
+
return e === c ? wt(k) : Pt(k), k;
|
|
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);
|
|
622
619
|
}
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
620
|
+
function $t(e, t, o) {
|
|
621
|
+
return tt(e, t, o, !1);
|
|
622
|
+
}
|
|
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" ? Ft.exports =
|
|
627
|
+
process.env.NODE_ENV === "production" ? Ft.exports = ar() : Ft.exports = sr();
|
|
628
628
|
var i = Ft.exports;
|
|
629
|
-
const
|
|
630
|
-
o:
|
|
631
|
-
x:
|
|
632
|
-
p:
|
|
633
|
-
m:
|
|
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
636
|
var Wt;
|
|
@@ -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
|
+
}, de(() => {
|
|
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
|
}
|
|
@@ -670,7 +670,7 @@ var Wt;
|
|
|
670
670
|
let [u, R] = J([]);
|
|
671
671
|
return q.x = (h) => {
|
|
672
672
|
R(h ? u.filter((b) => b.key !== h) : []);
|
|
673
|
-
},
|
|
673
|
+
}, de(() => {
|
|
674
674
|
m && (q.i = m);
|
|
675
675
|
}, []), q.add = (h, b = Date.now()) => {
|
|
676
676
|
R([...u, { key: b, item: h }]);
|
|
@@ -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
|
},
|
|
@@ -720,29 +720,29 @@ var Wt;
|
|
|
720
720
|
q[m].onClose();
|
|
721
721
|
}
|
|
722
722
|
r.Close = p;
|
|
723
|
-
function
|
|
723
|
+
function x(m, u, R, h) {
|
|
724
724
|
q.i && (h && (R.callback = h), q.i(`${m}/modals/${u}.tsx`).then((b) => {
|
|
725
725
|
b.default.Open(R);
|
|
726
726
|
}));
|
|
727
727
|
}
|
|
728
|
-
r.Open =
|
|
728
|
+
r.Open = x;
|
|
729
729
|
})(Wt || (Wt = {}));
|
|
730
|
-
function
|
|
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
738
|
function Vt(r) {
|
|
739
|
-
const n =
|
|
740
|
-
n.CRYPTO_PARAMS ? n.CRYPTO_PARAMS = { ...n.CRYPTO_PARAMS, ...r } : n.CRYPTO_PARAMS = { ...
|
|
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,52 +755,52 @@ 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++) {
|
|
770
|
-
const
|
|
771
|
-
l = n[
|
|
770
|
+
const x = p % n.length;
|
|
771
|
+
l = n[x] + p + l & 255, c[p] = l;
|
|
772
772
|
}
|
|
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,
|
|
793
|
-
return `${n}.${
|
|
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), x = pr(p);
|
|
793
|
+
return `${n}.${x}.${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), x = vr(c), m = tr(x, p), u = dr(m);
|
|
803
|
+
if (ct(u + a).substring(
|
|
804
804
|
0,
|
|
805
805
|
8
|
|
806
806
|
) !== l)
|
|
@@ -817,7 +817,7 @@ var ue;
|
|
|
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,7 +825,7 @@ 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;
|
|
@@ -834,7 +834,7 @@ var ue;
|
|
|
834
834
|
Vt({ 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
|
|
@@ -846,19 +846,19 @@ var nt = {};
|
|
|
846
846
|
*/
|
|
847
847
|
var zt;
|
|
848
848
|
function gr() {
|
|
849
|
-
if (zt) return
|
|
849
|
+
if (zt) return ot;
|
|
850
850
|
zt = 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
|
-
function
|
|
853
|
-
var h, b = {},
|
|
854
|
-
R !== void 0 && (
|
|
852
|
+
function x(m, u, R) {
|
|
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 = x, ot.jsxs = x, ot;
|
|
860
860
|
}
|
|
861
|
-
var
|
|
861
|
+
var st = {};
|
|
862
862
|
/**
|
|
863
863
|
* @license React
|
|
864
864
|
* react-jsx-runtime.development.js
|
|
@@ -869,13 +869,13 @@ var at = {};
|
|
|
869
869
|
* LICENSE file in the root directory of this source tree.
|
|
870
870
|
*/
|
|
871
871
|
var qt;
|
|
872
|
-
function
|
|
872
|
+
function mr() {
|
|
873
873
|
return qt || (qt = 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"),
|
|
875
|
-
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"), x = 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
|
+
function ve(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 === x || 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.
|
|
@@ -941,7 +941,7 @@ function yr() {
|
|
|
941
941
|
case m:
|
|
942
942
|
var t = e;
|
|
943
943
|
return I(t) + ".Consumer";
|
|
944
|
-
case
|
|
944
|
+
case x:
|
|
945
945
|
var o = e;
|
|
946
946
|
return I(o._context) + ".Provider";
|
|
947
947
|
case u:
|
|
@@ -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,36 +1012,36 @@ 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
|
}
|
|
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 he = W.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 ge = !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
|
|
1044
|
+
function Le(e, t) {
|
|
1045
1045
|
if (!e || ge)
|
|
1046
1046
|
return "";
|
|
1047
1047
|
{
|
|
@@ -1053,8 +1053,8 @@ function yr() {
|
|
|
1053
1053
|
ge = !0;
|
|
1054
1054
|
var v = Error.prepareStackTrace;
|
|
1055
1055
|
Error.prepareStackTrace = void 0;
|
|
1056
|
-
var
|
|
1057
|
-
|
|
1056
|
+
var g;
|
|
1057
|
+
g = he.current, he.current = null, ft();
|
|
1058
1058
|
try {
|
|
1059
1059
|
if (t) {
|
|
1060
1060
|
var d = function() {
|
|
@@ -1091,31 +1091,31 @@ function yr() {
|
|
|
1091
1091
|
if (C && s && typeof C.stack == "string") {
|
|
1092
1092
|
for (var f = C.stack.split(`
|
|
1093
1093
|
`), O = s.stack.split(`
|
|
1094
|
-
`), S = f.length - 1,
|
|
1095
|
-
|
|
1096
|
-
for (; S >= 1 &&
|
|
1097
|
-
if (f[S] !== O[
|
|
1098
|
-
if (S !== 1 ||
|
|
1094
|
+
`), S = f.length - 1, k = O.length - 1; S >= 1 && k >= 0 && f[S] !== O[k]; )
|
|
1095
|
+
k--;
|
|
1096
|
+
for (; S >= 1 && k >= 0; S--, k--)
|
|
1097
|
+
if (f[S] !== O[k]) {
|
|
1098
|
+
if (S !== 1 || k !== 1)
|
|
1099
1099
|
do
|
|
1100
|
-
if (S--,
|
|
1100
|
+
if (S--, k--, k < 0 || f[S] !== O[k]) {
|
|
1101
1101
|
var w = `
|
|
1102
1102
|
` + f[S].replace(" at new ", " at ");
|
|
1103
1103
|
return e.displayName && w.includes("<anonymous>") && (w = w.replace("<anonymous>", e.displayName)), typeof e == "function" && ne.set(e, w), w;
|
|
1104
1104
|
}
|
|
1105
|
-
while (S >= 1 &&
|
|
1105
|
+
while (S >= 1 && k >= 0);
|
|
1106
1106
|
break;
|
|
1107
1107
|
}
|
|
1108
1108
|
}
|
|
1109
1109
|
} finally {
|
|
1110
|
-
ge = !1,
|
|
1110
|
+
ge = !1, he.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 me(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
|
|
1225
|
-
typeof e.ref == "string" &&
|
|
1224
|
+
function xt(e, t) {
|
|
1225
|
+
typeof e.ref == "string" && qe.current;
|
|
1226
1226
|
}
|
|
1227
1227
|
function kt(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,41 +1275,41 @@ 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, xt(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
|
-
var
|
|
1291
|
-
f && kt(d,
|
|
1290
|
+
var k = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
1291
|
+
f && kt(d, k), O && Et(d, k);
|
|
1292
1292
|
}
|
|
1293
|
-
return
|
|
1293
|
+
return jt(e, f, O, v, s, qe.current, d);
|
|
1294
1294
|
}
|
|
1295
1295
|
}
|
|
1296
|
-
var
|
|
1296
|
+
var be = 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
|
-
var
|
|
1305
|
-
|
|
1306
|
-
function
|
|
1304
|
+
var _e;
|
|
1305
|
+
_e = !1;
|
|
1306
|
+
function Re(e) {
|
|
1307
1307
|
return typeof e == "object" && e !== null && e.$$typeof === n;
|
|
1308
1308
|
}
|
|
1309
|
-
function
|
|
1309
|
+
function Ge() {
|
|
1310
1310
|
{
|
|
1311
|
-
if (
|
|
1312
|
-
var e = $(
|
|
1311
|
+
if (be.current) {
|
|
1312
|
+
var e = $(be.current.type);
|
|
1313
1313
|
if (e)
|
|
1314
1314
|
return `
|
|
1315
1315
|
|
|
@@ -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
|
-
e && e._owner && e._owner !==
|
|
1347
|
+
e && e._owner && e._owner !== be.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 (me(e))
|
|
1355
1355
|
for (var o = 0; o < e.length; o++) {
|
|
1356
1356
|
var s = e[o];
|
|
1357
|
-
|
|
1357
|
+
Re(s) && Xe(s, t);
|
|
1358
1358
|
}
|
|
1359
|
-
else if (
|
|
1359
|
+
else if (Re(e))
|
|
1360
1360
|
e._store && (e._store.validated = !0);
|
|
1361
1361
|
else if (e) {
|
|
1362
|
-
var v =
|
|
1362
|
+
var v = ve(e);
|
|
1363
1363
|
if (typeof v == "function" && v !== e.entries)
|
|
1364
|
-
for (var
|
|
1365
|
-
|
|
1364
|
+
for (var g = v.call(e), d; !(d = g.next()).done; )
|
|
1365
|
+
Re(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,16 +1382,16 @@ Check the top-level render call using <` + o + ">.");
|
|
|
1382
1382
|
return;
|
|
1383
1383
|
if (o) {
|
|
1384
1384
|
var s = $(t);
|
|
1385
|
-
|
|
1386
|
-
} else if (t.PropTypes !== void 0 && !
|
|
1387
|
-
|
|
1385
|
+
yt(o, e.props, "prop", s, e);
|
|
1386
|
+
} else if (t.PropTypes !== void 0 && !_e) {
|
|
1387
|
+
_e = !0;
|
|
1388
1388
|
var v = $(t);
|
|
1389
1389
|
j("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", v || "Unknown");
|
|
1390
1390
|
}
|
|
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" : me(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
|
|
1419
|
-
if (
|
|
1420
|
-
return
|
|
1418
|
+
var k = Ot(e, t, o, v, g);
|
|
1419
|
+
if (k == null)
|
|
1420
|
+
return k;
|
|
1421
1421
|
if (d) {
|
|
1422
1422
|
var w = t.children;
|
|
1423
1423
|
if (w !== void 0)
|
|
1424
1424
|
if (s)
|
|
1425
|
-
if (
|
|
1425
|
+
if (me(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
|
|
1437
|
-
}),
|
|
1438
|
-
if (!
|
|
1439
|
-
var
|
|
1435
|
+
var L = $(e), C = Object.keys(t).filter(function(Mt) {
|
|
1436
|
+
return Mt !== "key";
|
|
1437
|
+
}), Se = C.length > 0 ? "{key: someKey, " + C.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
1438
|
+
if (!et[L + Se]) {
|
|
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} />`,
|
|
1445
|
+
<%s key={someKey} {...props} />`, Se, L, It, L), et[L + Se] = !0;
|
|
1446
1446
|
}
|
|
1447
1447
|
}
|
|
1448
|
-
return e === c ?
|
|
1448
|
+
return e === c ? wt(k) : Pt(k), k;
|
|
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,17 +1478,17 @@ 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
|
-
const
|
|
1491
|
+
const x = {
|
|
1492
1492
|
page: (n = p.ROUTER_PARAMS) == null ? void 0 : n.page,
|
|
1493
1493
|
module: (a = p.ROUTER_PARAMS) == null ? void 0 : a.module,
|
|
1494
1494
|
tab: (c = p.ROUTER_PARAMS) == null ? void 0 : c.tab,
|
|
@@ -1497,33 +1497,33 @@ function te(r) {
|
|
|
1497
1497
|
p.ROUTER_PARAMS = {
|
|
1498
1498
|
...p.ROUTER_PARAMS,
|
|
1499
1499
|
...r,
|
|
1500
|
-
prev:
|
|
1500
|
+
prev: x
|
|
1501
1501
|
};
|
|
1502
1502
|
} else {
|
|
1503
1503
|
r.debug || H.debug;
|
|
1504
|
-
const
|
|
1504
|
+
const x = {
|
|
1505
1505
|
page: H == null ? void 0 : H.page,
|
|
1506
1506
|
module: H == null ? void 0 : H.module,
|
|
1507
1507
|
tab: H == null ? void 0 : H.tab,
|
|
1508
1508
|
id: H == null ? void 0 : H.id
|
|
1509
1509
|
};
|
|
1510
|
-
p.ROUTER_PARAMS = { ...H, ...r, prev:
|
|
1510
|
+
p.ROUTER_PARAMS = { ...H, ...r, prev: x };
|
|
1511
1511
|
}
|
|
1512
1512
|
}
|
|
1513
1513
|
function A() {
|
|
1514
|
-
return
|
|
1514
|
+
return Oe().ROUTER_PARAMS || H;
|
|
1515
1515
|
}
|
|
1516
|
-
function
|
|
1517
|
-
const n =
|
|
1516
|
+
function xe(r) {
|
|
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
|
-
var
|
|
1526
|
+
var pe;
|
|
1527
1527
|
((r) => {
|
|
1528
1528
|
function n() {
|
|
1529
1529
|
var _;
|
|
@@ -1564,9 +1564,9 @@ var de;
|
|
|
1564
1564
|
function l(_) {
|
|
1565
1565
|
let E = (I) => (te({ page: I }), I);
|
|
1566
1566
|
const [B, M] = F.useState(
|
|
1567
|
-
|
|
1567
|
+
x() || _ && E(_) || A().page
|
|
1568
1568
|
);
|
|
1569
|
-
return
|
|
1569
|
+
return xe({ page: (I) => {
|
|
1570
1570
|
M(I);
|
|
1571
1571
|
} }), B;
|
|
1572
1572
|
}
|
|
@@ -1578,10 +1578,10 @@ var de;
|
|
|
1578
1578
|
), E && ie().page(_);
|
|
1579
1579
|
}
|
|
1580
1580
|
r.setPage = p;
|
|
1581
|
-
function
|
|
1581
|
+
function x() {
|
|
1582
1582
|
return A().page;
|
|
1583
1583
|
}
|
|
1584
|
-
r.getPage =
|
|
1584
|
+
r.getPage = x;
|
|
1585
1585
|
function m(_) {
|
|
1586
1586
|
return A().page === _;
|
|
1587
1587
|
}
|
|
@@ -1594,7 +1594,7 @@ var de;
|
|
|
1594
1594
|
const [B, M] = F.useState(
|
|
1595
1595
|
b() || _ || A().module
|
|
1596
1596
|
);
|
|
1597
|
-
return
|
|
1597
|
+
return xe({ module: M }), B;
|
|
1598
1598
|
}
|
|
1599
1599
|
r.useModule = R;
|
|
1600
1600
|
function h(_, E = !0) {
|
|
@@ -1608,74 +1608,74 @@ 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
|
-
const [B, M] = F.useState(!E), [I, $] = F.useState(_ ||
|
|
1618
|
-
return
|
|
1617
|
+
const [B, M] = F.useState(!E), [I, $] = F.useState(_ || ve());
|
|
1618
|
+
return xe({ tabs: $ }), E && F.useEffect(() => {
|
|
1619
1619
|
M(!0);
|
|
1620
1620
|
}, []), [I, B];
|
|
1621
1621
|
} else
|
|
1622
|
-
|
|
1622
|
+
xe({ tabs: _ });
|
|
1623
1623
|
}
|
|
1624
1624
|
r.useTabs = T;
|
|
1625
1625
|
function P(_) {
|
|
1626
1626
|
let E = (I) => (te({ tab: I }), I);
|
|
1627
1627
|
const [B, M] = F.useState(
|
|
1628
|
-
|
|
1628
|
+
ve() || _ && E(_) || A().tab
|
|
1629
1629
|
);
|
|
1630
|
-
return
|
|
1630
|
+
return xe({ tabs: (I) => {
|
|
1631
1631
|
M(I);
|
|
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 =
|
|
1642
|
-
function
|
|
1641
|
+
r.setTabs = $e;
|
|
1642
|
+
function ve() {
|
|
1643
1643
|
return A().tab;
|
|
1644
1644
|
}
|
|
1645
|
-
r.getTabs =
|
|
1645
|
+
r.getTabs = ve;
|
|
1646
1646
|
function W(_) {
|
|
1647
1647
|
return A().tab === _;
|
|
1648
1648
|
}
|
|
1649
1649
|
r.isTabs = W;
|
|
1650
1650
|
function j(_) {
|
|
1651
1651
|
if (typeof _ != "function") {
|
|
1652
|
-
const [E, B] = F.useState(_ ||
|
|
1653
|
-
return
|
|
1652
|
+
const [E, B] = F.useState(_ || Ae());
|
|
1653
|
+
return xe({ id: (M) => {
|
|
1654
1654
|
B(M);
|
|
1655
1655
|
} }), E;
|
|
1656
1656
|
} else
|
|
1657
|
-
|
|
1657
|
+
xe({ 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 =
|
|
1687
|
-
})(
|
|
1688
|
-
let
|
|
1689
|
-
function
|
|
1686
|
+
r.navigate = Me;
|
|
1687
|
+
})(pe || (pe = {}));
|
|
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;
|
|
@@ -1747,11 +1747,19 @@ function Rr(r) {
|
|
|
1747
1747
|
}
|
|
1748
1748
|
) });
|
|
1749
1749
|
}
|
|
1750
|
-
let
|
|
1751
|
-
Send:
|
|
1752
|
-
Init:
|
|
1750
|
+
let Ee = {
|
|
1751
|
+
Send: Rr,
|
|
1752
|
+
Init: _r
|
|
1753
1753
|
};
|
|
1754
|
-
const
|
|
1754
|
+
const xr = "_d_1u25q_1", kr = "_b_1u25q_21", Er = "_o_1u25q_25", jr = "_m_1u25q_30", Or = "_t_1u25q_41", Ar = "_a_1u25q_108", Cr = "_v_1u25q_118", fe = {
|
|
1755
|
+
d: xr,
|
|
1756
|
+
b: kr,
|
|
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,54 +1808,61 @@ 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
|
-
let [r, n] = J(!1), [a, c] = J(!1), [l, p] = J("dark"), [
|
|
1806
|
-
|
|
1813
|
+
let [r, n] = J(!1), [a, c] = J(!1), [l, p] = J("dark"), [x, m] = J(!1), [u, R] = J(!1);
|
|
1814
|
+
je.is = !0, je.MainButton.set = n, je.BackButton.set = c, de(() => {
|
|
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("
|
|
1827
|
-
a === !1 ? /* @__PURE__ */ i.jsx("div", { className:
|
|
1834
|
+
/* @__PURE__ */ i.jsxs("div", { className: fe.d, children: [
|
|
1835
|
+
a === !1 ? /* @__PURE__ */ i.jsx("div", { className: fe.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) : pe.setPage(a.page);
|
|
1833
1841
|
},
|
|
1834
|
-
className:
|
|
1842
|
+
className: fe.b,
|
|
1835
1843
|
children: "Назад"
|
|
1836
1844
|
}
|
|
1837
1845
|
),
|
|
1838
|
-
/* @__PURE__ */ i.jsx(
|
|
1846
|
+
/* @__PURE__ */ i.jsx(
|
|
1847
|
+
"div",
|
|
1848
|
+
{
|
|
1849
|
+
className: fe.o,
|
|
1850
|
+
onClick: () => m(!x),
|
|
1851
|
+
children: "Меню"
|
|
1852
|
+
}
|
|
1853
|
+
)
|
|
1839
1854
|
] }),
|
|
1840
|
-
/* @__PURE__ */ i.jsx(
|
|
1841
|
-
r && /* @__PURE__ */ i.jsx("div", { className:
|
|
1855
|
+
/* @__PURE__ */ i.jsx(Ee.Init, {}),
|
|
1856
|
+
r && /* @__PURE__ */ i.jsx("div", { className: fe.m, children: /* @__PURE__ */ i.jsx(
|
|
1842
1857
|
"button",
|
|
1843
1858
|
{
|
|
1844
1859
|
onClick: () => {
|
|
1845
|
-
r.page &&
|
|
1860
|
+
r.page && pe.setPage(r.page), r.callback && r.callback();
|
|
1846
1861
|
},
|
|
1847
1862
|
children: r.text
|
|
1848
1863
|
}
|
|
1849
1864
|
) }),
|
|
1850
|
-
|
|
1865
|
+
x ? /* @__PURE__ */ i.jsxs("div", { className: fe.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", {})
|
|
@@ -1879,62 +1894,62 @@ const Sr = () => {
|
|
|
1879
1894
|
) })
|
|
1880
1895
|
] })
|
|
1881
1896
|
] }),
|
|
1882
|
-
/* @__PURE__ */ i.jsx("li", { children: /* @__PURE__ */ i.jsx("button", { onClick: () => m(!
|
|
1897
|
+
/* @__PURE__ */ i.jsx("li", { children: /* @__PURE__ */ i.jsx("button", { onClick: () => m(!x), 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
|
-
return
|
|
1903
|
+
return de(() => {
|
|
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
|
-
}, []), /* @__PURE__ */ i.jsx(i.Fragment, { children: /* @__PURE__ */ i.jsx(
|
|
1900
|
-
},
|
|
1914
|
+
}, []), /* @__PURE__ */ i.jsx(i.Fragment, { children: /* @__PURE__ */ i.jsx(Ee.Init, {}) });
|
|
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: fe.a, children: /* @__PURE__ */ i.jsxs("div", { className: fe.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", Ht = {
|
|
1924
|
+
p: Tr,
|
|
1925
|
+
s: $r
|
|
1926
|
+
}, Nr = ({ className: r, children: n, isScroll: a = !0 }) => /* @__PURE__ */ i.jsx(
|
|
1912
1927
|
"div",
|
|
1913
1928
|
{
|
|
1914
1929
|
className: [Ht.p, a && Ht.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
|
+
pe.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,32 +1976,32 @@ 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,
|
|
1978
1993
|
title: c,
|
|
1979
1994
|
className: l,
|
|
1980
1995
|
view: p = "list",
|
|
1981
|
-
position:
|
|
1996
|
+
position: x = "left"
|
|
1982
1997
|
}) {
|
|
1983
1998
|
const [m, u] = J(!1), [R, h] = J(
|
|
1984
1999
|
null
|
|
1985
2000
|
);
|
|
1986
|
-
|
|
1987
|
-
let
|
|
1988
|
-
return
|
|
1989
|
-
|
|
2001
|
+
de(() => {
|
|
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,9 +2009,9 @@ function qr({
|
|
|
1994
2009
|
/* @__PURE__ */ i.jsxs(
|
|
1995
2010
|
"div",
|
|
1996
2011
|
{
|
|
1997
|
-
className:
|
|
2012
|
+
className: Te(
|
|
1998
2013
|
le.m,
|
|
1999
|
-
|
|
2014
|
+
x === "left" ? le.l : le.r,
|
|
2000
2015
|
m && le.x,
|
|
2001
2016
|
l
|
|
2002
2017
|
),
|
|
@@ -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,
|
|
@@ -2052,21 +2067,21 @@ const rr = ({
|
|
|
2052
2067
|
className: l,
|
|
2053
2068
|
onOpen: p
|
|
2054
2069
|
}) => {
|
|
2055
|
-
const [
|
|
2056
|
-
return
|
|
2070
|
+
const [x, m] = F.useState(!1);
|
|
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
|
-
className: `footer-menu-overlay ${a ? "is-overlay" : ""} ${
|
|
2065
|
-
onClick:
|
|
2079
|
+
className: `footer-menu-overlay ${a ? "is-overlay" : ""} ${x ? "closing" : ""} `,
|
|
2080
|
+
onClick: at,
|
|
2066
2081
|
children: /* @__PURE__ */ i.jsxs(
|
|
2067
2082
|
"div",
|
|
2068
2083
|
{
|
|
2069
|
-
className: `footer-menu-popup-book ${
|
|
2084
|
+
className: `footer-menu-popup-book ${x ? "closing" : ""} ${l || ""} ${c ? "footer" : ""}`,
|
|
2070
2085
|
onClick: (u) => u.stopPropagation(),
|
|
2071
2086
|
children: [
|
|
2072
2087
|
/* @__PURE__ */ i.jsxs("div", { className: "footer-menu-header", children: [
|
|
@@ -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,29 +2101,36 @@ const rr = ({
|
|
|
2086
2101
|
)
|
|
2087
2102
|
}
|
|
2088
2103
|
);
|
|
2089
|
-
},
|
|
2090
|
-
h:
|
|
2091
|
-
row:
|
|
2092
|
-
column:
|
|
2093
|
-
|
|
2094
|
-
|
|
2104
|
+
}, tn = "_h_1gb68_1", rn = "_row_1gb68_20", nn = "_column_1gb68_23", Jt = {
|
|
2105
|
+
h: tn,
|
|
2106
|
+
row: rn,
|
|
2107
|
+
column: nn
|
|
2108
|
+
}, on = "_b_di9y6_1", an = {
|
|
2109
|
+
b: on
|
|
2110
|
+
}, sn = ({ className: r, value: n }) => /* @__PURE__ */ i.jsx(
|
|
2111
|
+
"div",
|
|
2112
|
+
{
|
|
2113
|
+
className: [an.b, r].filter((a) => a !== void 0).join(" "),
|
|
2114
|
+
children: n
|
|
2115
|
+
}
|
|
2116
|
+
), Pe = [], Kt = (r, n) => r.findIndex((a) => (a == null ? void 0 : a.page) === n), ln = ({
|
|
2095
2117
|
actions: r,
|
|
2096
2118
|
children: n,
|
|
2097
2119
|
className: a,
|
|
2098
2120
|
toHide: c = !1,
|
|
2099
2121
|
page: l,
|
|
2100
2122
|
onPageChange: p,
|
|
2101
|
-
direction:
|
|
2123
|
+
direction: x = "row"
|
|
2102
2124
|
}) => {
|
|
2103
2125
|
const [m, u] = F.useState(null), [R, h] = F.useState(
|
|
2104
|
-
l ?
|
|
2126
|
+
l ? Kt(r || [], l) : 0
|
|
2105
2127
|
);
|
|
2106
|
-
return
|
|
2107
|
-
u(null), h(l ?
|
|
2108
|
-
},
|
|
2128
|
+
return Pe.onClose = () => {
|
|
2129
|
+
u(null), h(l ? Kt(r || [], l) : 0);
|
|
2130
|
+
}, de(() => {
|
|
2109
2131
|
if (!c)
|
|
2110
2132
|
return;
|
|
2111
|
-
const b = document.querySelectorAll("[contenteditable]"),
|
|
2133
|
+
const b = document.querySelectorAll("[contenteditable]"), y = () => {
|
|
2112
2134
|
const P = document.querySelector("footer");
|
|
2113
2135
|
P && (P.style.display = "flex");
|
|
2114
2136
|
}, T = () => {
|
|
@@ -2116,10 +2138,10 @@ const rr = ({
|
|
|
2116
2138
|
P && (P.style.display = "none");
|
|
2117
2139
|
};
|
|
2118
2140
|
return b.forEach((P) => {
|
|
2119
|
-
P.addEventListener("focus", T, !0), P.addEventListener("blur",
|
|
2141
|
+
P.addEventListener("focus", T, !0), P.addEventListener("blur", y, !0);
|
|
2120
2142
|
}), () => {
|
|
2121
2143
|
b.forEach((P) => {
|
|
2122
|
-
P.removeEventListener("focus", T, !0), P.removeEventListener("blur",
|
|
2144
|
+
P.removeEventListener("focus", T, !0), P.removeEventListener("blur", y, !0);
|
|
2123
2145
|
});
|
|
2124
2146
|
};
|
|
2125
2147
|
}, []), /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
|
|
@@ -2127,34 +2149,34 @@ const rr = ({
|
|
|
2127
2149
|
/* @__PURE__ */ i.jsxs(
|
|
2128
2150
|
"footer",
|
|
2129
2151
|
{
|
|
2130
|
-
className: `${
|
|
2152
|
+
className: `${Jt.h} ${Jt[x]} ${a} `,
|
|
2131
2153
|
children: [
|
|
2132
2154
|
n,
|
|
2133
|
-
r && r.map((b,
|
|
2155
|
+
r && r.map((b, y) => /* @__PURE__ */ i.jsxs(
|
|
2134
2156
|
"div",
|
|
2135
2157
|
{
|
|
2136
|
-
"data-active": R ===
|
|
2158
|
+
"data-active": R === y ? "true" : "false",
|
|
2137
2159
|
onClick: () => {
|
|
2138
|
-
b.page && (h(
|
|
2160
|
+
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
2161
|
},
|
|
2140
2162
|
children: [
|
|
2141
2163
|
b.icon,
|
|
2142
|
-
b.badge && /* @__PURE__ */ i.jsx(
|
|
2164
|
+
b.badge && /* @__PURE__ */ i.jsx(sn, { value: b.badge })
|
|
2143
2165
|
]
|
|
2144
2166
|
},
|
|
2145
|
-
|
|
2167
|
+
y
|
|
2146
2168
|
))
|
|
2147
2169
|
]
|
|
2148
2170
|
}
|
|
2149
2171
|
)
|
|
2150
2172
|
] });
|
|
2151
|
-
},
|
|
2152
|
-
w:
|
|
2153
|
-
v:
|
|
2154
|
-
s:
|
|
2155
|
-
n:
|
|
2173
|
+
}, cn = "_w_yx04q_3", un = "_v_yx04q_24", fn = "_s_yx04q_34", dn = "_n_yx04q_38", it = {
|
|
2174
|
+
w: cn,
|
|
2175
|
+
v: un,
|
|
2176
|
+
s: fn,
|
|
2177
|
+
n: dn
|
|
2156
2178
|
}, Lt = {};
|
|
2157
|
-
function
|
|
2179
|
+
function pn({
|
|
2158
2180
|
children: r,
|
|
2159
2181
|
name: n,
|
|
2160
2182
|
onClose: a,
|
|
@@ -2162,12 +2184,12 @@ function rn({
|
|
|
2162
2184
|
isScroll: l = !0,
|
|
2163
2185
|
nextBackButton: p
|
|
2164
2186
|
}) {
|
|
2165
|
-
const [
|
|
2166
|
-
return
|
|
2187
|
+
const [x, m] = J(!1);
|
|
2188
|
+
return de(() => {
|
|
2167
2189
|
if (!c) return;
|
|
2168
|
-
const u = p === void 0 ?
|
|
2190
|
+
const u = p === void 0 ? Sn().pop() : p, R = () => {
|
|
2169
2191
|
m(!1), setTimeout(() => {
|
|
2170
|
-
|
|
2192
|
+
Zt(u || !1), a == null || a();
|
|
2171
2193
|
}, 300);
|
|
2172
2194
|
};
|
|
2173
2195
|
Lt[n] = {
|
|
@@ -2175,7 +2197,7 @@ function rn({
|
|
|
2175
2197
|
onOpen: () => {
|
|
2176
2198
|
m(!0);
|
|
2177
2199
|
}
|
|
2178
|
-
},
|
|
2200
|
+
}, Zt({
|
|
2179
2201
|
callback: R
|
|
2180
2202
|
});
|
|
2181
2203
|
const h = setTimeout(() => {
|
|
@@ -2187,26 +2209,26 @@ function rn({
|
|
|
2187
2209
|
}, [c]), c ? /* @__PURE__ */ i.jsxs(
|
|
2188
2210
|
"div",
|
|
2189
2211
|
{
|
|
2190
|
-
className:
|
|
2191
|
-
|
|
2192
|
-
|
|
2193
|
-
l &&
|
|
2212
|
+
className: Te(
|
|
2213
|
+
it.w,
|
|
2214
|
+
x && it.v,
|
|
2215
|
+
l && it.s
|
|
2194
2216
|
),
|
|
2195
2217
|
children: [
|
|
2196
|
-
/* @__PURE__ */ i.jsx("div", { className:
|
|
2218
|
+
/* @__PURE__ */ i.jsx("div", { className: it.n }),
|
|
2197
2219
|
r
|
|
2198
2220
|
]
|
|
2199
2221
|
}
|
|
2200
2222
|
) : "";
|
|
2201
2223
|
}
|
|
2202
|
-
const
|
|
2224
|
+
const vn = (r, n) => {
|
|
2203
2225
|
var a, c;
|
|
2204
2226
|
n ? (a = Lt[r]) == null || a.onOpen() : (c = Lt[r]) == null || c.onClose();
|
|
2205
|
-
},
|
|
2206
|
-
s:
|
|
2207
|
-
n:
|
|
2227
|
+
}, hn = "_s_ezoxx_3", yn = "_n_ezoxx_14", Gt = {
|
|
2228
|
+
s: hn,
|
|
2229
|
+
n: yn
|
|
2208
2230
|
};
|
|
2209
|
-
function
|
|
2231
|
+
function gn({
|
|
2210
2232
|
className: r,
|
|
2211
2233
|
children: n,
|
|
2212
2234
|
onScrollEnd: a,
|
|
@@ -2214,38 +2236,38 @@ function sn({
|
|
|
2214
2236
|
isLoading: l,
|
|
2215
2237
|
isScrollBar: p = !1
|
|
2216
2238
|
}) {
|
|
2217
|
-
const [
|
|
2218
|
-
|
|
2239
|
+
const [x, m] = J(l || !1);
|
|
2240
|
+
de(() => {
|
|
2219
2241
|
m(l || !1);
|
|
2220
2242
|
}, [l]);
|
|
2221
2243
|
let u = {
|
|
2222
2244
|
onScroll: (R) => {
|
|
2223
|
-
const { scrollTop: h, scrollHeight: b, clientHeight:
|
|
2224
|
-
h +
|
|
2245
|
+
const { scrollTop: h, scrollHeight: b, clientHeight: y } = R.currentTarget;
|
|
2246
|
+
h + y >= b - c && !x && (m(!0), a == null || a());
|
|
2225
2247
|
}
|
|
2226
2248
|
};
|
|
2227
2249
|
return /* @__PURE__ */ i.jsx(
|
|
2228
2250
|
"div",
|
|
2229
2251
|
{
|
|
2230
2252
|
...u,
|
|
2231
|
-
className:
|
|
2253
|
+
className: Te(Gt.s, !p && Gt.n, r),
|
|
2232
2254
|
children: n
|
|
2233
2255
|
}
|
|
2234
2256
|
);
|
|
2235
2257
|
}
|
|
2236
|
-
const
|
|
2237
|
-
a:
|
|
2238
|
-
l:
|
|
2239
|
-
r:
|
|
2258
|
+
const mn = "_a_ohhaz_1", bn = "_l_ohhaz_12", _n = "_r_ohhaz_15", Dt = {
|
|
2259
|
+
a: mn,
|
|
2260
|
+
l: bn,
|
|
2261
|
+
r: _n
|
|
2240
2262
|
};
|
|
2241
|
-
function
|
|
2263
|
+
function Rn({
|
|
2242
2264
|
children: r,
|
|
2243
2265
|
className: n,
|
|
2244
2266
|
position: a = "center",
|
|
2245
2267
|
title: c
|
|
2246
2268
|
}) {
|
|
2247
2269
|
let l = "";
|
|
2248
|
-
return a === "left" ? l = Dt.l : a === "right" && (l = Dt.r), /* @__PURE__ */ i.jsxs("div", { className:
|
|
2270
|
+
return a === "left" ? l = Dt.l : a === "right" && (l = Dt.r), /* @__PURE__ */ i.jsxs("div", { className: Te(Dt.a, l, n), children: [
|
|
2249
2271
|
r,
|
|
2250
2272
|
c && /* @__PURE__ */ i.jsx("b", { children: c })
|
|
2251
2273
|
] });
|
|
@@ -2258,10 +2280,10 @@ const U = {
|
|
|
2258
2280
|
r === !1 ? (N.WebApp.BackButton.isVisible = !1, N.WebApp.BackButton.offClick(U.listen[0]), U.listen.shift(), U.state.length !== 1 && U.state.pop()) : (N.WebApp.BackButton.isVisible = !0, N.WebApp.BackButton.offClick(U.listen[0]), U.listen.shift(), U.listen.push(() => {
|
|
2259
2281
|
var a;
|
|
2260
2282
|
let n = U.state.pop();
|
|
2261
|
-
U.prev =
|
|
2262
|
-
}),
|
|
2283
|
+
U.prev = pe.getPage(), n.page !== void 0 ? pe.setPage(n.page) : (a = n.callback) == null || a.call(n);
|
|
2284
|
+
}), we.BackButton.onClick(U.listen[0]));
|
|
2263
2285
|
}
|
|
2264
|
-
},
|
|
2286
|
+
}, Te = (...r) => r.filter((n) => n !== void 0 && n !== !1 && n !== null && n !== "").join(" ");
|
|
2265
2287
|
var N;
|
|
2266
2288
|
((r) => {
|
|
2267
2289
|
r.WebApp = window.Telegram.WebApp, r.getUser = () => {
|
|
@@ -2270,28 +2292,28 @@ var N;
|
|
|
2270
2292
|
}, r.Notice = {
|
|
2271
2293
|
Send: (n, a, c) => {
|
|
2272
2294
|
var l, p;
|
|
2273
|
-
a !== void 0 ? (
|
|
2295
|
+
a !== void 0 ? (Ee.Send({ type: n, text: a, thema: c }), (l = r.WebApp.HapticFeedback) == null || l.notificationOccurred(n)) : (Ee.Send(n), (p = r.WebApp.HapticFeedback) == null || p.notificationOccurred(n.type));
|
|
2274
2296
|
},
|
|
2275
2297
|
Error: (n) => {
|
|
2276
2298
|
var a;
|
|
2277
|
-
|
|
2299
|
+
Ee.Send({ type: "error", text: n }), (a = r.WebApp.HapticFeedback) == null || a.notificationOccurred("error");
|
|
2278
2300
|
},
|
|
2279
2301
|
Success: (n) => {
|
|
2280
2302
|
var a;
|
|
2281
|
-
|
|
2303
|
+
Ee.Send({ type: "success", text: n }), (a = r.WebApp.HapticFeedback) == null || a.notificationOccurred("success");
|
|
2282
2304
|
},
|
|
2283
2305
|
Warning: (n) => {
|
|
2284
2306
|
var a;
|
|
2285
|
-
|
|
2307
|
+
Ee.Send({ type: "warning", text: n }), (a = r.WebApp.HapticFeedback) == null || a.notificationOccurred("warning");
|
|
2286
2308
|
}
|
|
2287
|
-
}, r.Header =
|
|
2309
|
+
}, r.Header = Pr, r.TabBar = ln, r.BottomSheet = nr, r.toggleBottomSheet = at, r.SafeArea = Nr, r.Loading = Mr, r.Sidebar = en, r.SidePanel = pn, r.AppBar = Rn, r.SidePanelController = vn, r.Scroll = gn, r.Modal = Wt, r.Menu = zr, r.MainButton = {
|
|
2288
2310
|
callback: [],
|
|
2289
2311
|
set: (n) => {
|
|
2290
|
-
|
|
2312
|
+
je.is ? je.MainButton.set(n) : (r.WebApp.MainButton.callback.forEach((a) => {
|
|
2291
2313
|
r.WebApp.MainButton.offClick(a);
|
|
2292
2314
|
}), 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
2315
|
var a;
|
|
2294
|
-
n.page === void 0 ? (a = n.callback) == null || a.call(n) :
|
|
2316
|
+
n.page === void 0 ? (a = n.callback) == null || a.call(n) : pe.setPage(n.page);
|
|
2295
2317
|
}), r.WebApp.MainButton.onClick(
|
|
2296
2318
|
r.WebApp.MainButton.callback[0]
|
|
2297
2319
|
)));
|
|
@@ -2299,31 +2321,31 @@ var N;
|
|
|
2299
2321
|
}, r.BackButtonPrev = () => {
|
|
2300
2322
|
U.prev && (0, r.BackButton)(U.prev);
|
|
2301
2323
|
}, r.BackButtonState = () => U.state, r.BackButton = (n) => {
|
|
2302
|
-
|
|
2324
|
+
je.is ? je.BackButton.set(n) : (U.state.push(n), U.router(n));
|
|
2303
2325
|
};
|
|
2304
2326
|
})(N || (N = {}));
|
|
2305
|
-
const
|
|
2327
|
+
const En = N.TabBar, jn = nr, Zt = N.BackButton, On = N.BackButtonPrev, Sn = N.BackButtonState, An = N.Notice, Cn = N.SafeArea, Pn = N.Loading, wn = N.Menu, Tn = N.SidePanel, $n = N.Scroll, Nn = N.AppBar, Bn = N.Sidebar, In = N.SidePanelController, { Header: Mn, toggleBottomSheet: Dn, Modal: Fn, MainButton: Wn, WebApp: we, getUser: Ln } = N;
|
|
2306
2328
|
export {
|
|
2307
|
-
|
|
2308
|
-
|
|
2309
|
-
|
|
2310
|
-
|
|
2311
|
-
|
|
2312
|
-
|
|
2313
|
-
|
|
2314
|
-
|
|
2315
|
-
|
|
2316
|
-
|
|
2317
|
-
|
|
2318
|
-
|
|
2319
|
-
|
|
2320
|
-
|
|
2321
|
-
|
|
2322
|
-
|
|
2323
|
-
|
|
2324
|
-
|
|
2325
|
-
|
|
2329
|
+
Nn as AppBar,
|
|
2330
|
+
Zt as BackButton,
|
|
2331
|
+
On as BackButtonPrev,
|
|
2332
|
+
Sn as BackButtonState,
|
|
2333
|
+
jn as BottomSheet,
|
|
2334
|
+
Mn as Header,
|
|
2335
|
+
Pn as Loading,
|
|
2336
|
+
Wn as MainButton,
|
|
2337
|
+
wn as Menu,
|
|
2338
|
+
Fn as Modal,
|
|
2339
|
+
An as Notice,
|
|
2340
|
+
Cn as SafeArea,
|
|
2341
|
+
$n as Scroll,
|
|
2342
|
+
Tn as SidePanel,
|
|
2343
|
+
In as SidePanelController,
|
|
2344
|
+
Bn as Sidebar,
|
|
2345
|
+
En as TabBar,
|
|
2346
|
+
we as WebApp,
|
|
2347
|
+
Te as clsx,
|
|
2326
2348
|
N as default,
|
|
2327
|
-
|
|
2328
|
-
|
|
2349
|
+
Ln as getUser,
|
|
2350
|
+
Dn as toggleBottomSheet
|
|
2329
2351
|
};
|