@elcrm/telegram 0.0.66 → 0.0.67
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/BottomSheet/index.d.ts +18 -0
- package/dist/index.d.ts +23 -5
- package/dist/index.es.js +573 -529
- package/dist/index.umd.js +20 -20
- package/package.json +1 -1
- package/dist/Footer/FooterButtons.d.ts +0 -5
- package/dist/Footer/FooterMenu.d.ts +0 -9
- /package/dist/Footer/{Footer.d.ts → index.d.ts} +0 -0
package/dist/index.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import P, { useState as
|
|
2
|
-
import './index.css';var
|
|
1
|
+
import P, { useState as Ot, useEffect as Ct } from "react";
|
|
2
|
+
import './index.css';var jt = { exports: {} }, Ve = {};
|
|
3
3
|
/**
|
|
4
4
|
* @license React
|
|
5
5
|
* react-jsx-runtime.production.min.js
|
|
@@ -9,19 +9,19 @@ import './index.css';var wt = { exports: {} }, Ve = {};
|
|
|
9
9
|
* This source code is licensed under the MIT license found in the
|
|
10
10
|
* LICENSE file in the root directory of this source tree.
|
|
11
11
|
*/
|
|
12
|
-
var
|
|
13
|
-
function
|
|
14
|
-
if (
|
|
15
|
-
|
|
16
|
-
var r = P, o = Symbol.for("react.element"), i = Symbol.for("react.fragment"),
|
|
17
|
-
function
|
|
18
|
-
var d, R = {},
|
|
19
|
-
|
|
20
|
-
for (d in
|
|
21
|
-
if (_ && _.defaultProps) for (d in
|
|
22
|
-
return { $$typeof: o, type: _, key:
|
|
12
|
+
var Pt;
|
|
13
|
+
function Vt() {
|
|
14
|
+
if (Pt) return Ve;
|
|
15
|
+
Pt = 1;
|
|
16
|
+
var r = P, o = Symbol.for("react.element"), i = Symbol.for("react.fragment"), c = Object.prototype.hasOwnProperty, v = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, y = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
17
|
+
function C(_, h, E) {
|
|
18
|
+
var d, R = {}, w = null, N = null;
|
|
19
|
+
E !== void 0 && (w = "" + E), h.key !== void 0 && (w = "" + h.key), h.ref !== void 0 && (N = h.ref);
|
|
20
|
+
for (d in h) c.call(h, d) && !y.hasOwnProperty(d) && (R[d] = h[d]);
|
|
21
|
+
if (_ && _.defaultProps) for (d in h = _.defaultProps, h) R[d] === void 0 && (R[d] = h[d]);
|
|
22
|
+
return { $$typeof: o, type: _, key: w, ref: N, props: R, _owner: v.current };
|
|
23
23
|
}
|
|
24
|
-
return Ve.Fragment = i, Ve.jsx =
|
|
24
|
+
return Ve.Fragment = i, Ve.jsx = C, Ve.jsxs = C, Ve;
|
|
25
25
|
}
|
|
26
26
|
var ze = {};
|
|
27
27
|
/**
|
|
@@ -33,49 +33,49 @@ var ze = {};
|
|
|
33
33
|
* This source code is licensed under the MIT license found in the
|
|
34
34
|
* LICENSE file in the root directory of this source tree.
|
|
35
35
|
*/
|
|
36
|
-
var
|
|
37
|
-
function
|
|
38
|
-
return
|
|
39
|
-
var r = P, o = Symbol.for("react.element"), i = Symbol.for("react.portal"),
|
|
36
|
+
var Tt;
|
|
37
|
+
function zt() {
|
|
38
|
+
return Tt || (Tt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
39
|
+
var r = P, o = Symbol.for("react.element"), i = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), v = Symbol.for("react.strict_mode"), y = Symbol.for("react.profiler"), C = Symbol.for("react.provider"), _ = Symbol.for("react.context"), h = Symbol.for("react.forward_ref"), E = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), R = Symbol.for("react.memo"), w = Symbol.for("react.lazy"), N = Symbol.for("react.offscreen"), ne = Symbol.iterator, _e = "@@iterator";
|
|
40
40
|
function Re(e) {
|
|
41
41
|
if (e === null || typeof e != "object")
|
|
42
42
|
return null;
|
|
43
43
|
var t = ne && e[ne] || e[_e];
|
|
44
44
|
return typeof t == "function" ? t : null;
|
|
45
45
|
}
|
|
46
|
-
var
|
|
47
|
-
function
|
|
46
|
+
var F = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
47
|
+
function S(e) {
|
|
48
48
|
{
|
|
49
49
|
for (var t = arguments.length, n = new Array(t > 1 ? t - 1 : 0), a = 1; a < t; a++)
|
|
50
50
|
n[a - 1] = arguments[a];
|
|
51
|
-
|
|
51
|
+
me("error", e, n);
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
|
-
function
|
|
54
|
+
function me(e, t, n) {
|
|
55
55
|
{
|
|
56
|
-
var a =
|
|
57
|
-
|
|
56
|
+
var a = F.ReactDebugCurrentFrame, f = a.getStackAddendum();
|
|
57
|
+
f !== "" && (t += "%s", n = n.concat([f]));
|
|
58
58
|
var p = n.map(function(u) {
|
|
59
59
|
return String(u);
|
|
60
60
|
});
|
|
61
61
|
p.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, p);
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
|
-
var ke = !1, Ee = !1,
|
|
65
|
-
|
|
64
|
+
var ke = !1, Ee = !1, m = !1, k = !1, B = !1, $;
|
|
65
|
+
$ = Symbol.for("react.module.reference");
|
|
66
66
|
function W(e) {
|
|
67
|
-
return !!(typeof e == "string" || typeof e == "function" || e ===
|
|
67
|
+
return !!(typeof e == "string" || typeof e == "function" || e === c || e === y || B || e === v || e === E || e === d || k || e === N || ke || Ee || m || typeof e == "object" && e !== null && (e.$$typeof === w || e.$$typeof === R || e.$$typeof === C || e.$$typeof === _ || e.$$typeof === h || // This needs to include all possible module reference object
|
|
68
68
|
// types supported by any Flight configuration anywhere since
|
|
69
69
|
// we don't know which Flight build this will end up being used
|
|
70
70
|
// with.
|
|
71
|
-
e.$$typeof ===
|
|
71
|
+
e.$$typeof === $ || e.getModuleId !== void 0));
|
|
72
72
|
}
|
|
73
73
|
function oe(e, t, n) {
|
|
74
74
|
var a = e.displayName;
|
|
75
75
|
if (a)
|
|
76
76
|
return a;
|
|
77
|
-
var
|
|
78
|
-
return
|
|
77
|
+
var f = t.displayName || t.name || "";
|
|
78
|
+
return f !== "" ? n + "(" + f + ")" : n;
|
|
79
79
|
}
|
|
80
80
|
function ae(e) {
|
|
81
81
|
return e.displayName || "Context";
|
|
@@ -83,20 +83,20 @@ function Ut() {
|
|
|
83
83
|
function T(e) {
|
|
84
84
|
if (e == null)
|
|
85
85
|
return null;
|
|
86
|
-
if (typeof e.tag == "number" &&
|
|
86
|
+
if (typeof e.tag == "number" && S("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
87
87
|
return e.displayName || e.name || null;
|
|
88
88
|
if (typeof e == "string")
|
|
89
89
|
return e;
|
|
90
90
|
switch (e) {
|
|
91
|
-
case
|
|
91
|
+
case c:
|
|
92
92
|
return "Fragment";
|
|
93
93
|
case i:
|
|
94
94
|
return "Portal";
|
|
95
|
-
case b:
|
|
96
|
-
return "Profiler";
|
|
97
95
|
case y:
|
|
96
|
+
return "Profiler";
|
|
97
|
+
case v:
|
|
98
98
|
return "StrictMode";
|
|
99
|
-
case
|
|
99
|
+
case E:
|
|
100
100
|
return "Suspense";
|
|
101
101
|
case d:
|
|
102
102
|
return "SuspenseList";
|
|
@@ -106,16 +106,16 @@ function Ut() {
|
|
|
106
106
|
case _:
|
|
107
107
|
var t = e;
|
|
108
108
|
return ae(t) + ".Consumer";
|
|
109
|
-
case
|
|
109
|
+
case C:
|
|
110
110
|
var n = e;
|
|
111
111
|
return ae(n._context) + ".Provider";
|
|
112
|
-
case
|
|
112
|
+
case h:
|
|
113
113
|
return oe(e, e.render, "ForwardRef");
|
|
114
114
|
case R:
|
|
115
115
|
var a = e.displayName || null;
|
|
116
116
|
return a !== null ? a : T(e.type) || "Memo";
|
|
117
|
-
case
|
|
118
|
-
var
|
|
117
|
+
case w: {
|
|
118
|
+
var f = e, p = f._payload, u = f._init;
|
|
119
119
|
try {
|
|
120
120
|
return T(u(p));
|
|
121
121
|
} catch {
|
|
@@ -125,14 +125,14 @@ function Ut() {
|
|
|
125
125
|
}
|
|
126
126
|
return null;
|
|
127
127
|
}
|
|
128
|
-
var I = Object.assign, D = 0, z, J, q, Se, xe, Oe,
|
|
128
|
+
var I = Object.assign, D = 0, z, J, q, Se, xe, Oe, Ce;
|
|
129
129
|
function je() {
|
|
130
130
|
}
|
|
131
131
|
je.__reactDisabledLog = !0;
|
|
132
|
-
function
|
|
132
|
+
function Qe() {
|
|
133
133
|
{
|
|
134
134
|
if (D === 0) {
|
|
135
|
-
z = console.log, J = console.info, q = console.warn, Se = console.error, xe = console.group, Oe = console.groupCollapsed,
|
|
135
|
+
z = console.log, J = console.info, q = console.warn, Se = console.error, xe = console.group, Oe = console.groupCollapsed, Ce = console.groupEnd;
|
|
136
136
|
var e = {
|
|
137
137
|
configurable: !0,
|
|
138
138
|
enumerable: !0,
|
|
@@ -152,7 +152,7 @@ function Ut() {
|
|
|
152
152
|
D++;
|
|
153
153
|
}
|
|
154
154
|
}
|
|
155
|
-
function
|
|
155
|
+
function et() {
|
|
156
156
|
{
|
|
157
157
|
if (D--, D === 0) {
|
|
158
158
|
var e = {
|
|
@@ -180,21 +180,21 @@ function Ut() {
|
|
|
180
180
|
value: Oe
|
|
181
181
|
}),
|
|
182
182
|
groupEnd: I({}, e, {
|
|
183
|
-
value:
|
|
183
|
+
value: Ce
|
|
184
184
|
})
|
|
185
185
|
});
|
|
186
186
|
}
|
|
187
|
-
D < 0 &&
|
|
187
|
+
D < 0 && S("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
188
188
|
}
|
|
189
189
|
}
|
|
190
|
-
var se =
|
|
190
|
+
var se = F.ReactCurrentDispatcher, ue;
|
|
191
191
|
function K(e, t, n) {
|
|
192
192
|
{
|
|
193
193
|
if (ue === void 0)
|
|
194
194
|
try {
|
|
195
195
|
throw Error();
|
|
196
|
-
} catch (
|
|
197
|
-
var a =
|
|
196
|
+
} catch (f) {
|
|
197
|
+
var a = f.stack.trim().match(/\n( *(at )?)/);
|
|
198
198
|
ue = a && a[1] || "";
|
|
199
199
|
}
|
|
200
200
|
return `
|
|
@@ -203,10 +203,10 @@ function Ut() {
|
|
|
203
203
|
}
|
|
204
204
|
var le = !1, G;
|
|
205
205
|
{
|
|
206
|
-
var
|
|
207
|
-
G = new
|
|
206
|
+
var tt = typeof WeakMap == "function" ? WeakMap : Map;
|
|
207
|
+
G = new tt();
|
|
208
208
|
}
|
|
209
|
-
function
|
|
209
|
+
function we(e, t) {
|
|
210
210
|
if (!e || le)
|
|
211
211
|
return "";
|
|
212
212
|
{
|
|
@@ -216,10 +216,10 @@ function Ut() {
|
|
|
216
216
|
}
|
|
217
217
|
var a;
|
|
218
218
|
le = !0;
|
|
219
|
-
var
|
|
219
|
+
var f = Error.prepareStackTrace;
|
|
220
220
|
Error.prepareStackTrace = void 0;
|
|
221
221
|
var p;
|
|
222
|
-
p = se.current, se.current = null,
|
|
222
|
+
p = se.current, se.current = null, Qe();
|
|
223
223
|
try {
|
|
224
224
|
if (t) {
|
|
225
225
|
var u = function() {
|
|
@@ -256,31 +256,31 @@ function Ut() {
|
|
|
256
256
|
if (O && a && typeof O.stack == "string") {
|
|
257
257
|
for (var s = O.stack.split(`
|
|
258
258
|
`), x = a.stack.split(`
|
|
259
|
-
`), g = s.length - 1,
|
|
260
|
-
|
|
261
|
-
for (; g >= 1 &&
|
|
262
|
-
if (s[g] !== x[
|
|
263
|
-
if (g !== 1 ||
|
|
259
|
+
`), g = s.length - 1, b = x.length - 1; g >= 1 && b >= 0 && s[g] !== x[b]; )
|
|
260
|
+
b--;
|
|
261
|
+
for (; g >= 1 && b >= 0; g--, b--)
|
|
262
|
+
if (s[g] !== x[b]) {
|
|
263
|
+
if (g !== 1 || b !== 1)
|
|
264
264
|
do
|
|
265
|
-
if (g--,
|
|
265
|
+
if (g--, b--, b < 0 || s[g] !== x[b]) {
|
|
266
266
|
var A = `
|
|
267
267
|
` + s[g].replace(" at new ", " at ");
|
|
268
268
|
return e.displayName && A.includes("<anonymous>") && (A = A.replace("<anonymous>", e.displayName)), typeof e == "function" && G.set(e, A), A;
|
|
269
269
|
}
|
|
270
|
-
while (g >= 1 &&
|
|
270
|
+
while (g >= 1 && b >= 0);
|
|
271
271
|
break;
|
|
272
272
|
}
|
|
273
273
|
}
|
|
274
274
|
} finally {
|
|
275
|
-
le = !1, se.current = p,
|
|
275
|
+
le = !1, se.current = p, et(), Error.prepareStackTrace = f;
|
|
276
276
|
}
|
|
277
|
-
var U = e ? e.displayName || e.name : "",
|
|
278
|
-
return typeof e == "function" && G.set(e,
|
|
277
|
+
var U = e ? e.displayName || e.name : "", M = U ? K(U) : "";
|
|
278
|
+
return typeof e == "function" && G.set(e, M), M;
|
|
279
279
|
}
|
|
280
|
-
function
|
|
281
|
-
return
|
|
280
|
+
function rt(e, t, n) {
|
|
281
|
+
return we(e, !1);
|
|
282
282
|
}
|
|
283
|
-
function
|
|
283
|
+
function nt(e) {
|
|
284
284
|
var t = e.prototype;
|
|
285
285
|
return !!(t && t.isReactComponent);
|
|
286
286
|
}
|
|
@@ -288,32 +288,32 @@ function Ut() {
|
|
|
288
288
|
if (e == null)
|
|
289
289
|
return "";
|
|
290
290
|
if (typeof e == "function")
|
|
291
|
-
return
|
|
291
|
+
return we(e, nt(e));
|
|
292
292
|
if (typeof e == "string")
|
|
293
293
|
return K(e);
|
|
294
294
|
switch (e) {
|
|
295
|
-
case
|
|
295
|
+
case E:
|
|
296
296
|
return K("Suspense");
|
|
297
297
|
case d:
|
|
298
298
|
return K("SuspenseList");
|
|
299
299
|
}
|
|
300
300
|
if (typeof e == "object")
|
|
301
301
|
switch (e.$$typeof) {
|
|
302
|
-
case
|
|
303
|
-
return
|
|
302
|
+
case h:
|
|
303
|
+
return rt(e.render);
|
|
304
304
|
case R:
|
|
305
305
|
return Z(e.type, t, n);
|
|
306
|
-
case
|
|
307
|
-
var a = e,
|
|
306
|
+
case w: {
|
|
307
|
+
var a = e, f = a._payload, p = a._init;
|
|
308
308
|
try {
|
|
309
|
-
return Z(p(
|
|
309
|
+
return Z(p(f), t, n);
|
|
310
310
|
} catch {
|
|
311
311
|
}
|
|
312
312
|
}
|
|
313
313
|
}
|
|
314
314
|
return "";
|
|
315
315
|
}
|
|
316
|
-
var Y = Object.prototype.hasOwnProperty, Ae = {}, Pe =
|
|
316
|
+
var Y = Object.prototype.hasOwnProperty, Ae = {}, Pe = F.ReactDebugCurrentFrame;
|
|
317
317
|
function X(e) {
|
|
318
318
|
if (e) {
|
|
319
319
|
var t = e._owner, n = Z(e.type, e._source, t ? t.type : null);
|
|
@@ -321,7 +321,7 @@ function Ut() {
|
|
|
321
321
|
} else
|
|
322
322
|
Pe.setExtraStackFrame(null);
|
|
323
323
|
}
|
|
324
|
-
function
|
|
324
|
+
function ot(e, t, n, a, f) {
|
|
325
325
|
{
|
|
326
326
|
var p = Function.call.bind(Y);
|
|
327
327
|
for (var u in e)
|
|
@@ -336,21 +336,21 @@ function Ut() {
|
|
|
336
336
|
} catch (g) {
|
|
337
337
|
s = g;
|
|
338
338
|
}
|
|
339
|
-
s && !(s instanceof Error) && (X(
|
|
339
|
+
s && !(s instanceof Error) && (X(f), S("%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).", a || "React class", n, u, typeof s), X(null)), s instanceof Error && !(s.message in Ae) && (Ae[s.message] = !0, X(f), S("Failed %s type: %s", n, s.message), X(null));
|
|
340
340
|
}
|
|
341
341
|
}
|
|
342
342
|
}
|
|
343
|
-
var
|
|
343
|
+
var at = Array.isArray;
|
|
344
344
|
function ce(e) {
|
|
345
|
-
return
|
|
345
|
+
return at(e);
|
|
346
346
|
}
|
|
347
|
-
function
|
|
347
|
+
function it(e) {
|
|
348
348
|
{
|
|
349
349
|
var t = typeof Symbol == "function" && Symbol.toStringTag, n = t && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
350
350
|
return n;
|
|
351
351
|
}
|
|
352
352
|
}
|
|
353
|
-
function
|
|
353
|
+
function st(e) {
|
|
354
354
|
try {
|
|
355
355
|
return Te(e), !1;
|
|
356
356
|
} catch {
|
|
@@ -361,16 +361,16 @@ function Ut() {
|
|
|
361
361
|
return "" + e;
|
|
362
362
|
}
|
|
363
363
|
function Be(e) {
|
|
364
|
-
if (
|
|
365
|
-
return
|
|
364
|
+
if (st(e))
|
|
365
|
+
return S("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", it(e)), Te(e);
|
|
366
366
|
}
|
|
367
|
-
var Ie =
|
|
367
|
+
var Ie = F.ReactCurrentOwner, ut = {
|
|
368
368
|
key: !0,
|
|
369
369
|
ref: !0,
|
|
370
370
|
__self: !0,
|
|
371
371
|
__source: !0
|
|
372
|
-
},
|
|
373
|
-
function
|
|
372
|
+
}, $e, De;
|
|
373
|
+
function lt(e) {
|
|
374
374
|
if (Y.call(e, "ref")) {
|
|
375
375
|
var t = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
376
376
|
if (t && t.isReactWarning)
|
|
@@ -378,7 +378,7 @@ function Ut() {
|
|
|
378
378
|
}
|
|
379
379
|
return e.ref !== void 0;
|
|
380
380
|
}
|
|
381
|
-
function
|
|
381
|
+
function ct(e) {
|
|
382
382
|
if (Y.call(e, "key")) {
|
|
383
383
|
var t = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
384
384
|
if (t && t.isReactWarning)
|
|
@@ -386,13 +386,13 @@ function Ut() {
|
|
|
386
386
|
}
|
|
387
387
|
return e.key !== void 0;
|
|
388
388
|
}
|
|
389
|
-
function
|
|
389
|
+
function ft(e, t) {
|
|
390
390
|
typeof e.ref == "string" && Ie.current;
|
|
391
391
|
}
|
|
392
|
-
function
|
|
392
|
+
function dt(e, t) {
|
|
393
393
|
{
|
|
394
394
|
var n = function() {
|
|
395
|
-
|
|
395
|
+
$e || ($e = !0, S("%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));
|
|
396
396
|
};
|
|
397
397
|
n.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
398
398
|
get: n,
|
|
@@ -400,10 +400,10 @@ function Ut() {
|
|
|
400
400
|
});
|
|
401
401
|
}
|
|
402
402
|
}
|
|
403
|
-
function
|
|
403
|
+
function pt(e, t) {
|
|
404
404
|
{
|
|
405
405
|
var n = function() {
|
|
406
|
-
De || (De = !0,
|
|
406
|
+
De || (De = !0, S("%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));
|
|
407
407
|
};
|
|
408
408
|
n.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
409
409
|
get: n,
|
|
@@ -411,7 +411,7 @@ function Ut() {
|
|
|
411
411
|
});
|
|
412
412
|
}
|
|
413
413
|
}
|
|
414
|
-
var
|
|
414
|
+
var vt = function(e, t, n, a, f, p, u) {
|
|
415
415
|
var s = {
|
|
416
416
|
// This tag allows us to uniquely identify this as a React Element
|
|
417
417
|
$$typeof: o,
|
|
@@ -437,41 +437,41 @@ function Ut() {
|
|
|
437
437
|
configurable: !1,
|
|
438
438
|
enumerable: !1,
|
|
439
439
|
writable: !1,
|
|
440
|
-
value:
|
|
440
|
+
value: f
|
|
441
441
|
}), Object.freeze && (Object.freeze(s.props), Object.freeze(s)), s;
|
|
442
442
|
};
|
|
443
|
-
function
|
|
443
|
+
function ht(e, t, n, a, f) {
|
|
444
444
|
{
|
|
445
445
|
var p, u = {}, s = null, x = null;
|
|
446
|
-
n !== void 0 && (Be(n), s = "" + n),
|
|
446
|
+
n !== void 0 && (Be(n), s = "" + n), ct(t) && (Be(t.key), s = "" + t.key), lt(t) && (x = t.ref, ft(t, f));
|
|
447
447
|
for (p in t)
|
|
448
|
-
Y.call(t, p) && !
|
|
448
|
+
Y.call(t, p) && !ut.hasOwnProperty(p) && (u[p] = t[p]);
|
|
449
449
|
if (e && e.defaultProps) {
|
|
450
450
|
var g = e.defaultProps;
|
|
451
451
|
for (p in g)
|
|
452
452
|
u[p] === void 0 && (u[p] = g[p]);
|
|
453
453
|
}
|
|
454
454
|
if (s || x) {
|
|
455
|
-
var
|
|
456
|
-
s &&
|
|
455
|
+
var b = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
456
|
+
s && dt(u, b), x && pt(u, b);
|
|
457
457
|
}
|
|
458
|
-
return
|
|
458
|
+
return vt(e, s, x, f, a, Ie.current, u);
|
|
459
459
|
}
|
|
460
460
|
}
|
|
461
|
-
var fe =
|
|
461
|
+
var fe = F.ReactCurrentOwner, Fe = F.ReactDebugCurrentFrame;
|
|
462
462
|
function L(e) {
|
|
463
463
|
if (e) {
|
|
464
464
|
var t = e._owner, n = Z(e.type, e._source, t ? t.type : null);
|
|
465
|
-
|
|
465
|
+
Fe.setExtraStackFrame(n);
|
|
466
466
|
} else
|
|
467
|
-
|
|
467
|
+
Fe.setExtraStackFrame(null);
|
|
468
468
|
}
|
|
469
469
|
var de;
|
|
470
470
|
de = !1;
|
|
471
471
|
function pe(e) {
|
|
472
472
|
return typeof e == "object" && e !== null && e.$$typeof === o;
|
|
473
473
|
}
|
|
474
|
-
function
|
|
474
|
+
function Me() {
|
|
475
475
|
{
|
|
476
476
|
if (fe.current) {
|
|
477
477
|
var e = T(fe.current.type);
|
|
@@ -487,9 +487,9 @@ Check the render method of \`` + e + "`.";
|
|
|
487
487
|
return "";
|
|
488
488
|
}
|
|
489
489
|
var Ne = {};
|
|
490
|
-
function
|
|
490
|
+
function mt(e) {
|
|
491
491
|
{
|
|
492
|
-
var t =
|
|
492
|
+
var t = Me();
|
|
493
493
|
if (!t) {
|
|
494
494
|
var n = typeof e == "string" ? e : e.displayName || e.name;
|
|
495
495
|
n && (t = `
|
|
@@ -504,12 +504,12 @@ Check the top-level render call using <` + n + ">.");
|
|
|
504
504
|
if (!e._store || e._store.validated || e.key != null)
|
|
505
505
|
return;
|
|
506
506
|
e._store.validated = !0;
|
|
507
|
-
var n =
|
|
507
|
+
var n = mt(t);
|
|
508
508
|
if (Ne[n])
|
|
509
509
|
return;
|
|
510
510
|
Ne[n] = !0;
|
|
511
511
|
var a = "";
|
|
512
|
-
e && e._owner && e._owner !== fe.current && (a = " It was passed a child from " + T(e._owner.type) + "."), L(e),
|
|
512
|
+
e && e._owner && e._owner !== fe.current && (a = " It was passed a child from " + T(e._owner.type) + "."), L(e), S('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', n, a), L(null);
|
|
513
513
|
}
|
|
514
514
|
}
|
|
515
515
|
function Le(e, t) {
|
|
@@ -524,9 +524,9 @@ Check the top-level render call using <` + n + ">.");
|
|
|
524
524
|
else if (pe(e))
|
|
525
525
|
e._store && (e._store.validated = !0);
|
|
526
526
|
else if (e) {
|
|
527
|
-
var
|
|
528
|
-
if (typeof
|
|
529
|
-
for (var p =
|
|
527
|
+
var f = Re(e);
|
|
528
|
+
if (typeof f == "function" && f !== e.entries)
|
|
529
|
+
for (var p = f.call(e), u; !(u = p.next()).done; )
|
|
530
530
|
pe(u.value) && We(u.value, t);
|
|
531
531
|
}
|
|
532
532
|
}
|
|
@@ -539,7 +539,7 @@ Check the top-level render call using <` + n + ">.");
|
|
|
539
539
|
var n;
|
|
540
540
|
if (typeof t == "function")
|
|
541
541
|
n = t.propTypes;
|
|
542
|
-
else if (typeof t == "object" && (t.$$typeof ===
|
|
542
|
+
else if (typeof t == "object" && (t.$$typeof === h || // Note: Memo only checks outer props here.
|
|
543
543
|
// Inner props are checked in the reconciler.
|
|
544
544
|
t.$$typeof === R))
|
|
545
545
|
n = t.propTypes;
|
|
@@ -547,13 +547,13 @@ Check the top-level render call using <` + n + ">.");
|
|
|
547
547
|
return;
|
|
548
548
|
if (n) {
|
|
549
549
|
var a = T(t);
|
|
550
|
-
|
|
550
|
+
ot(n, e.props, "prop", a, e);
|
|
551
551
|
} else if (t.PropTypes !== void 0 && !de) {
|
|
552
552
|
de = !0;
|
|
553
|
-
var
|
|
554
|
-
|
|
553
|
+
var f = T(t);
|
|
554
|
+
S("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", f || "Unknown");
|
|
555
555
|
}
|
|
556
|
-
typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved &&
|
|
556
|
+
typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && S("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
557
557
|
}
|
|
558
558
|
}
|
|
559
559
|
function bt(e) {
|
|
@@ -561,28 +561,28 @@ Check the top-level render call using <` + n + ">.");
|
|
|
561
561
|
for (var t = Object.keys(e.props), n = 0; n < t.length; n++) {
|
|
562
562
|
var a = t[n];
|
|
563
563
|
if (a !== "children" && a !== "key") {
|
|
564
|
-
L(e),
|
|
564
|
+
L(e), S("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", a), L(null);
|
|
565
565
|
break;
|
|
566
566
|
}
|
|
567
567
|
}
|
|
568
|
-
e.ref !== null && (L(e),
|
|
568
|
+
e.ref !== null && (L(e), S("Invalid attribute `ref` supplied to `React.Fragment`."), L(null));
|
|
569
569
|
}
|
|
570
570
|
}
|
|
571
571
|
var Ue = {};
|
|
572
|
-
function Ye(e, t, n, a,
|
|
572
|
+
function Ye(e, t, n, a, f, p) {
|
|
573
573
|
{
|
|
574
574
|
var u = W(e);
|
|
575
575
|
if (!u) {
|
|
576
576
|
var s = "";
|
|
577
577
|
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (s += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
578
578
|
var x = yt();
|
|
579
|
-
x ? s += x : s +=
|
|
579
|
+
x ? s += x : s += Me();
|
|
580
580
|
var g;
|
|
581
|
-
e === null ? g = "null" : ce(e) ? g = "array" : e !== void 0 && e.$$typeof === o ? (g = "<" + (T(e.type) || "Unknown") + " />", s = " Did you accidentally export a JSX literal instead of a component?") : g = typeof e,
|
|
581
|
+
e === null ? g = "null" : ce(e) ? g = "array" : e !== void 0 && e.$$typeof === o ? (g = "<" + (T(e.type) || "Unknown") + " />", s = " Did you accidentally export a JSX literal instead of a component?") : g = typeof e, S("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", g, s);
|
|
582
582
|
}
|
|
583
|
-
var
|
|
584
|
-
if (
|
|
585
|
-
return
|
|
583
|
+
var b = ht(e, t, n, f, p);
|
|
584
|
+
if (b == null)
|
|
585
|
+
return b;
|
|
586
586
|
if (u) {
|
|
587
587
|
var A = t.children;
|
|
588
588
|
if (A !== void 0)
|
|
@@ -592,173 +592,173 @@ Check the top-level render call using <` + n + ">.");
|
|
|
592
592
|
Le(A[U], e);
|
|
593
593
|
Object.freeze && Object.freeze(A);
|
|
594
594
|
} else
|
|
595
|
-
|
|
595
|
+
S("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
596
596
|
else
|
|
597
597
|
Le(A, e);
|
|
598
598
|
}
|
|
599
599
|
if (Y.call(t, "key")) {
|
|
600
|
-
var
|
|
601
|
-
return
|
|
600
|
+
var M = T(e), O = Object.keys(t).filter(function(xt) {
|
|
601
|
+
return xt !== "key";
|
|
602
602
|
}), ve = O.length > 0 ? "{key: someKey, " + O.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
603
|
-
if (!Ue[
|
|
604
|
-
var
|
|
605
|
-
|
|
603
|
+
if (!Ue[M + ve]) {
|
|
604
|
+
var St = O.length > 0 ? "{" + O.join(": ..., ") + ": ...}" : "{}";
|
|
605
|
+
S(`A props object containing a "key" prop is being spread into JSX:
|
|
606
606
|
let props = %s;
|
|
607
607
|
<%s {...props} />
|
|
608
608
|
React keys must be passed directly to JSX without using spread:
|
|
609
609
|
let props = %s;
|
|
610
|
-
<%s key={someKey} {...props} />`, ve,
|
|
610
|
+
<%s key={someKey} {...props} />`, ve, M, St, M), Ue[M + ve] = !0;
|
|
611
611
|
}
|
|
612
612
|
}
|
|
613
|
-
return e ===
|
|
613
|
+
return e === c ? bt(b) : gt(b), b;
|
|
614
614
|
}
|
|
615
615
|
}
|
|
616
|
-
function
|
|
616
|
+
function _t(e, t, n) {
|
|
617
617
|
return Ye(e, t, n, !0);
|
|
618
618
|
}
|
|
619
|
-
function
|
|
619
|
+
function Rt(e, t, n) {
|
|
620
620
|
return Ye(e, t, n, !1);
|
|
621
621
|
}
|
|
622
|
-
var
|
|
623
|
-
ze.Fragment =
|
|
622
|
+
var kt = Rt, Et = _t;
|
|
623
|
+
ze.Fragment = c, ze.jsx = kt, ze.jsxs = Et;
|
|
624
624
|
}()), ze;
|
|
625
625
|
}
|
|
626
|
-
process.env.NODE_ENV === "production" ?
|
|
627
|
-
var
|
|
626
|
+
process.env.NODE_ENV === "production" ? jt.exports = Vt() : jt.exports = zt();
|
|
627
|
+
var l = jt.exports;
|
|
628
628
|
let H = {};
|
|
629
|
-
var
|
|
629
|
+
var wt;
|
|
630
630
|
((r) => {
|
|
631
631
|
function o({ children: _ }) {
|
|
632
|
-
const [
|
|
632
|
+
const [h, E] = Ot(!1), [d, R] = Ot(!1);
|
|
633
633
|
if (H.onClose = () => {
|
|
634
634
|
re.BackButton.set(!1), R(!0), setTimeout(() => {
|
|
635
|
-
|
|
635
|
+
E(!1), R(!1);
|
|
636
636
|
}, 300);
|
|
637
|
-
},
|
|
638
|
-
|
|
637
|
+
}, Ct(() => {
|
|
638
|
+
h ? H.onClose() : (re.BackButton.set({
|
|
639
639
|
callback: () => H.onClose()
|
|
640
|
-
}),
|
|
641
|
-
}, []), !!
|
|
642
|
-
return /* @__PURE__ */
|
|
640
|
+
}), E(!0));
|
|
641
|
+
}, []), !!h)
|
|
642
|
+
return /* @__PURE__ */ l.jsx("div", { className: `modal-overlay ${d ? "closing" : ""}`, children: /* @__PURE__ */ l.jsx("div", { className: `modal-popup ${d ? "closing" : ""}`, children: /* @__PURE__ */ l.jsx("div", { children: _ }) }) });
|
|
643
643
|
}
|
|
644
644
|
r.Content = o;
|
|
645
645
|
function i({
|
|
646
646
|
import_modules: _
|
|
647
647
|
}) {
|
|
648
|
-
let [
|
|
648
|
+
let [h, E] = Ot([]);
|
|
649
649
|
return H.x = (d) => {
|
|
650
|
-
|
|
651
|
-
},
|
|
650
|
+
E(d ? h.filter((R) => R.key !== d) : []);
|
|
651
|
+
}, Ct(() => {
|
|
652
652
|
_ && (H.i = _);
|
|
653
653
|
}, []), H.add = (d, R = Date.now()) => {
|
|
654
|
-
|
|
655
|
-
}, /* @__PURE__ */
|
|
654
|
+
E([...h, { key: R, item: d }]);
|
|
655
|
+
}, /* @__PURE__ */ l.jsx(l.Fragment, { children: h.map((d) => d.item) });
|
|
656
656
|
}
|
|
657
657
|
r.Init = i;
|
|
658
|
-
function
|
|
659
|
-
H.add(/* @__PURE__ */
|
|
658
|
+
function c(_, h) {
|
|
659
|
+
H.add(/* @__PURE__ */ l.jsx(o, { children: _ }, String(Date.now())), h);
|
|
660
660
|
}
|
|
661
|
-
r.Add =
|
|
662
|
-
function
|
|
661
|
+
r.Add = c;
|
|
662
|
+
function v(_) {
|
|
663
663
|
return {
|
|
664
664
|
Open: (d) => {
|
|
665
665
|
r.Add(
|
|
666
|
-
/* @__PURE__ */
|
|
666
|
+
/* @__PURE__ */ l.jsx(_, { ...d }, (/* @__PURE__ */ new Date()).getTime())
|
|
667
667
|
);
|
|
668
668
|
}
|
|
669
669
|
};
|
|
670
670
|
}
|
|
671
|
-
r.Create =
|
|
672
|
-
function
|
|
671
|
+
r.Create = v;
|
|
672
|
+
function y() {
|
|
673
673
|
H.onClose();
|
|
674
674
|
}
|
|
675
|
-
r.Close =
|
|
676
|
-
function
|
|
677
|
-
H.i && H.i(`${_}/modals/${
|
|
678
|
-
d.default.Open(
|
|
675
|
+
r.Close = y;
|
|
676
|
+
function C(_, h, E) {
|
|
677
|
+
H.i && H.i(`${_}/modals/${h}.tsx`).then((d) => {
|
|
678
|
+
d.default.Open(E);
|
|
679
679
|
});
|
|
680
680
|
}
|
|
681
|
-
r.Open =
|
|
682
|
-
})(
|
|
683
|
-
function
|
|
681
|
+
r.Open = C;
|
|
682
|
+
})(wt || (wt = {}));
|
|
683
|
+
function Mt() {
|
|
684
684
|
return typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof self < "u" ? self : typeof global < "u" ? global : {};
|
|
685
685
|
}
|
|
686
|
-
const
|
|
686
|
+
const Nt = {
|
|
687
687
|
key: "Y0zt37HgOx-BY7SQjYVmrqhPkO41Ii2Jcb9yydUDPf6",
|
|
688
688
|
iterations: 7,
|
|
689
689
|
saltLength: 16
|
|
690
690
|
};
|
|
691
|
-
function
|
|
692
|
-
const o =
|
|
693
|
-
o.CRYPTO_PARAMS ? o.CRYPTO_PARAMS = { ...o.CRYPTO_PARAMS, ...r } : o.CRYPTO_PARAMS = { ...
|
|
691
|
+
function Bt(r) {
|
|
692
|
+
const o = Mt();
|
|
693
|
+
o.CRYPTO_PARAMS ? o.CRYPTO_PARAMS = { ...o.CRYPTO_PARAMS, ...r } : o.CRYPTO_PARAMS = { ...Nt, ...r };
|
|
694
694
|
}
|
|
695
|
-
function
|
|
696
|
-
return
|
|
695
|
+
function Ke() {
|
|
696
|
+
return Mt().CRYPTO_PARAMS || Nt;
|
|
697
697
|
}
|
|
698
|
-
const
|
|
698
|
+
const Ge = (r) => {
|
|
699
699
|
let o = 0;
|
|
700
|
-
for (let
|
|
701
|
-
const
|
|
702
|
-
o = (o << 5) - o +
|
|
700
|
+
for (let c = 0; c < r.length; c++) {
|
|
701
|
+
const v = r.charCodeAt(c);
|
|
702
|
+
o = (o << 5) - o + v, o = o & o;
|
|
703
703
|
}
|
|
704
704
|
o = Math.abs(o);
|
|
705
705
|
let i = "";
|
|
706
|
-
for (let
|
|
707
|
-
const
|
|
708
|
-
i +=
|
|
706
|
+
for (let c = 0; c < 64; c++) {
|
|
707
|
+
const v = (o ^ c * 197) & 255;
|
|
708
|
+
i += v.toString(16).padStart(2, "0");
|
|
709
709
|
}
|
|
710
710
|
return i;
|
|
711
|
-
},
|
|
711
|
+
}, Wt = (r, o) => {
|
|
712
712
|
let i = r + o;
|
|
713
|
-
for (let
|
|
714
|
-
i =
|
|
715
|
-
const
|
|
716
|
-
for (let
|
|
717
|
-
|
|
718
|
-
return
|
|
719
|
-
},
|
|
720
|
-
const i = new Uint8Array(r.length),
|
|
721
|
-
let
|
|
722
|
-
for (let
|
|
723
|
-
const
|
|
724
|
-
|
|
713
|
+
for (let v = 0; v < Ke().iterations; v++)
|
|
714
|
+
i = Ge(i);
|
|
715
|
+
const c = new Uint8Array(32);
|
|
716
|
+
for (let v = 0; v < 32; v++)
|
|
717
|
+
c[v] = parseInt(i.substring(v * 2, v * 2 + 2), 16);
|
|
718
|
+
return c;
|
|
719
|
+
}, Lt = (r, o) => {
|
|
720
|
+
const i = new Uint8Array(r.length), c = new Uint8Array(r.length);
|
|
721
|
+
let v = 0;
|
|
722
|
+
for (let y = 0; y < r.length; y++) {
|
|
723
|
+
const C = y % o.length;
|
|
724
|
+
v = o[C] + y + v & 255, c[y] = v;
|
|
725
725
|
}
|
|
726
|
-
for (let
|
|
727
|
-
i[
|
|
726
|
+
for (let y = 0; y < r.length; y++)
|
|
727
|
+
i[y] = r[y] ^ c[y];
|
|
728
728
|
return i;
|
|
729
|
-
},
|
|
729
|
+
}, Jt = (r) => new TextEncoder().encode(r), qt = (r) => new TextDecoder().decode(r), Ht = (r) => {
|
|
730
730
|
let o = "";
|
|
731
731
|
for (let i = 0; i < r.length; i += 8192) {
|
|
732
|
-
const
|
|
733
|
-
o += String.fromCharCode.apply(null, Array.from(
|
|
732
|
+
const c = r.slice(i, Math.min(i + 8192, r.length));
|
|
733
|
+
o += String.fromCharCode.apply(null, Array.from(c));
|
|
734
734
|
}
|
|
735
735
|
return btoa(o);
|
|
736
|
-
},
|
|
736
|
+
}, Kt = (r) => {
|
|
737
737
|
const o = atob(r), i = new Uint8Array(o.length);
|
|
738
|
-
for (let
|
|
739
|
-
i[
|
|
738
|
+
for (let c = 0; c < o.length; c++)
|
|
739
|
+
i[c] = o.charCodeAt(c);
|
|
740
740
|
return i;
|
|
741
|
-
},
|
|
741
|
+
}, Gt = (r) => {
|
|
742
742
|
try {
|
|
743
|
-
const o =
|
|
743
|
+
const o = Ge(
|
|
744
744
|
Date.now().toString() + Math.random()
|
|
745
|
-
).substring(0,
|
|
746
|
-
return `${o}.${
|
|
745
|
+
).substring(0, Ke().saltLength * 2), i = Ge(r + o).substring(0, 8), c = Wt(Ke().key, o), v = Jt(r), y = Lt(v, c), C = Ht(y);
|
|
746
|
+
return `${o}.${C}.${i}`;
|
|
747
747
|
} catch {
|
|
748
748
|
throw new Error("Не удалось зашифровать данные");
|
|
749
749
|
}
|
|
750
|
-
},
|
|
750
|
+
}, Zt = (r) => {
|
|
751
751
|
try {
|
|
752
752
|
const o = r.split(".");
|
|
753
753
|
if (o.length !== 3)
|
|
754
754
|
throw new Error("Неверный формат зашифрованных данных");
|
|
755
|
-
const i = o[0],
|
|
756
|
-
if (
|
|
755
|
+
const i = o[0], c = o[1], v = o[2], y = Wt(Ke().key, i), C = Kt(c), _ = Lt(C, y), h = qt(_);
|
|
756
|
+
if (Ge(h + i).substring(
|
|
757
757
|
0,
|
|
758
758
|
8
|
|
759
|
-
) !==
|
|
759
|
+
) !== v)
|
|
760
760
|
throw new Error("Контрольная сумма не совпадает");
|
|
761
|
-
return
|
|
761
|
+
return h;
|
|
762
762
|
} catch {
|
|
763
763
|
return "";
|
|
764
764
|
}
|
|
@@ -766,11 +766,11 @@ const Ke = (r) => {
|
|
|
766
766
|
var ie;
|
|
767
767
|
((r) => {
|
|
768
768
|
r.setKey = (o) => {
|
|
769
|
-
|
|
769
|
+
Bt({ key: o });
|
|
770
770
|
}, r.enCode = (o) => {
|
|
771
771
|
try {
|
|
772
772
|
const i = JSON.stringify(o);
|
|
773
|
-
return
|
|
773
|
+
return Gt(i);
|
|
774
774
|
} catch {
|
|
775
775
|
throw new Error("Не удалось зашифровать объект");
|
|
776
776
|
}
|
|
@@ -778,13 +778,13 @@ var ie;
|
|
|
778
778
|
try {
|
|
779
779
|
if (!o || o.length < 10)
|
|
780
780
|
return !1;
|
|
781
|
-
const i =
|
|
781
|
+
const i = Zt(o);
|
|
782
782
|
return i && JSON.parse(i) || !1;
|
|
783
783
|
} catch {
|
|
784
784
|
return !1;
|
|
785
785
|
}
|
|
786
786
|
}, r.setSecurityParams = (o, i) => {
|
|
787
|
-
|
|
787
|
+
Bt({ iterations: o, saltLength: i });
|
|
788
788
|
};
|
|
789
789
|
})(ie || (ie = {}));
|
|
790
790
|
var Je = {};
|
|
@@ -797,21 +797,21 @@ var Je = {};
|
|
|
797
797
|
* This source code is licensed under the MIT license found in the
|
|
798
798
|
* LICENSE file in the root directory of this source tree.
|
|
799
799
|
*/
|
|
800
|
-
var
|
|
801
|
-
function
|
|
802
|
-
if (
|
|
803
|
-
|
|
804
|
-
var r = P, o = Symbol.for("react.element"), i = Symbol.for("react.fragment"),
|
|
805
|
-
function
|
|
806
|
-
var d, R = {},
|
|
807
|
-
|
|
808
|
-
for (d in
|
|
809
|
-
if (_ && _.defaultProps) for (d in
|
|
810
|
-
return { $$typeof: o, type: _, key:
|
|
800
|
+
var It;
|
|
801
|
+
function Xt() {
|
|
802
|
+
if (It) return Je;
|
|
803
|
+
It = 1;
|
|
804
|
+
var r = P, o = Symbol.for("react.element"), i = Symbol.for("react.fragment"), c = Object.prototype.hasOwnProperty, v = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, y = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
805
|
+
function C(_, h, E) {
|
|
806
|
+
var d, R = {}, w = null, N = null;
|
|
807
|
+
E !== void 0 && (w = "" + E), h.key !== void 0 && (w = "" + h.key), h.ref !== void 0 && (N = h.ref);
|
|
808
|
+
for (d in h) c.call(h, d) && !y.hasOwnProperty(d) && (R[d] = h[d]);
|
|
809
|
+
if (_ && _.defaultProps) for (d in h = _.defaultProps, h) R[d] === void 0 && (R[d] = h[d]);
|
|
810
|
+
return { $$typeof: o, type: _, key: w, ref: N, props: R, _owner: v.current };
|
|
811
811
|
}
|
|
812
|
-
return Je.Fragment = i, Je.jsx =
|
|
812
|
+
return Je.Fragment = i, Je.jsx = C, Je.jsxs = C, Je;
|
|
813
813
|
}
|
|
814
|
-
var
|
|
814
|
+
var He = {};
|
|
815
815
|
/**
|
|
816
816
|
* @license React
|
|
817
817
|
* react-jsx-runtime.development.js
|
|
@@ -821,49 +821,49 @@ var qe = {};
|
|
|
821
821
|
* This source code is licensed under the MIT license found in the
|
|
822
822
|
* LICENSE file in the root directory of this source tree.
|
|
823
823
|
*/
|
|
824
|
-
var
|
|
825
|
-
function
|
|
826
|
-
return
|
|
827
|
-
var r = P, o = Symbol.for("react.element"), i = Symbol.for("react.portal"),
|
|
824
|
+
var $t;
|
|
825
|
+
function Qt() {
|
|
826
|
+
return $t || ($t = 1, process.env.NODE_ENV !== "production" && function() {
|
|
827
|
+
var r = P, o = Symbol.for("react.element"), i = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), v = Symbol.for("react.strict_mode"), y = Symbol.for("react.profiler"), C = Symbol.for("react.provider"), _ = Symbol.for("react.context"), h = Symbol.for("react.forward_ref"), E = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), R = Symbol.for("react.memo"), w = Symbol.for("react.lazy"), N = Symbol.for("react.offscreen"), ne = Symbol.iterator, _e = "@@iterator";
|
|
828
828
|
function Re(e) {
|
|
829
829
|
if (e === null || typeof e != "object")
|
|
830
830
|
return null;
|
|
831
831
|
var t = ne && e[ne] || e[_e];
|
|
832
832
|
return typeof t == "function" ? t : null;
|
|
833
833
|
}
|
|
834
|
-
var
|
|
835
|
-
function
|
|
834
|
+
var F = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
835
|
+
function S(e) {
|
|
836
836
|
{
|
|
837
837
|
for (var t = arguments.length, n = new Array(t > 1 ? t - 1 : 0), a = 1; a < t; a++)
|
|
838
838
|
n[a - 1] = arguments[a];
|
|
839
|
-
|
|
839
|
+
me("error", e, n);
|
|
840
840
|
}
|
|
841
841
|
}
|
|
842
|
-
function
|
|
842
|
+
function me(e, t, n) {
|
|
843
843
|
{
|
|
844
|
-
var a =
|
|
845
|
-
|
|
844
|
+
var a = F.ReactDebugCurrentFrame, f = a.getStackAddendum();
|
|
845
|
+
f !== "" && (t += "%s", n = n.concat([f]));
|
|
846
846
|
var p = n.map(function(u) {
|
|
847
847
|
return String(u);
|
|
848
848
|
});
|
|
849
849
|
p.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, p);
|
|
850
850
|
}
|
|
851
851
|
}
|
|
852
|
-
var ke = !1, Ee = !1,
|
|
853
|
-
|
|
852
|
+
var ke = !1, Ee = !1, m = !1, k = !1, B = !1, $;
|
|
853
|
+
$ = Symbol.for("react.module.reference");
|
|
854
854
|
function W(e) {
|
|
855
|
-
return !!(typeof e == "string" || typeof e == "function" || e ===
|
|
855
|
+
return !!(typeof e == "string" || typeof e == "function" || e === c || e === y || B || e === v || e === E || e === d || k || e === N || ke || Ee || m || typeof e == "object" && e !== null && (e.$$typeof === w || e.$$typeof === R || e.$$typeof === C || e.$$typeof === _ || e.$$typeof === h || // This needs to include all possible module reference object
|
|
856
856
|
// types supported by any Flight configuration anywhere since
|
|
857
857
|
// we don't know which Flight build this will end up being used
|
|
858
858
|
// with.
|
|
859
|
-
e.$$typeof ===
|
|
859
|
+
e.$$typeof === $ || e.getModuleId !== void 0));
|
|
860
860
|
}
|
|
861
861
|
function oe(e, t, n) {
|
|
862
862
|
var a = e.displayName;
|
|
863
863
|
if (a)
|
|
864
864
|
return a;
|
|
865
|
-
var
|
|
866
|
-
return
|
|
865
|
+
var f = t.displayName || t.name || "";
|
|
866
|
+
return f !== "" ? n + "(" + f + ")" : n;
|
|
867
867
|
}
|
|
868
868
|
function ae(e) {
|
|
869
869
|
return e.displayName || "Context";
|
|
@@ -871,20 +871,20 @@ function Gt() {
|
|
|
871
871
|
function T(e) {
|
|
872
872
|
if (e == null)
|
|
873
873
|
return null;
|
|
874
|
-
if (typeof e.tag == "number" &&
|
|
874
|
+
if (typeof e.tag == "number" && S("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
875
875
|
return e.displayName || e.name || null;
|
|
876
876
|
if (typeof e == "string")
|
|
877
877
|
return e;
|
|
878
878
|
switch (e) {
|
|
879
|
-
case
|
|
879
|
+
case c:
|
|
880
880
|
return "Fragment";
|
|
881
881
|
case i:
|
|
882
882
|
return "Portal";
|
|
883
|
-
case b:
|
|
884
|
-
return "Profiler";
|
|
885
883
|
case y:
|
|
884
|
+
return "Profiler";
|
|
885
|
+
case v:
|
|
886
886
|
return "StrictMode";
|
|
887
|
-
case
|
|
887
|
+
case E:
|
|
888
888
|
return "Suspense";
|
|
889
889
|
case d:
|
|
890
890
|
return "SuspenseList";
|
|
@@ -894,16 +894,16 @@ function Gt() {
|
|
|
894
894
|
case _:
|
|
895
895
|
var t = e;
|
|
896
896
|
return ae(t) + ".Consumer";
|
|
897
|
-
case
|
|
897
|
+
case C:
|
|
898
898
|
var n = e;
|
|
899
899
|
return ae(n._context) + ".Provider";
|
|
900
|
-
case
|
|
900
|
+
case h:
|
|
901
901
|
return oe(e, e.render, "ForwardRef");
|
|
902
902
|
case R:
|
|
903
903
|
var a = e.displayName || null;
|
|
904
904
|
return a !== null ? a : T(e.type) || "Memo";
|
|
905
|
-
case
|
|
906
|
-
var
|
|
905
|
+
case w: {
|
|
906
|
+
var f = e, p = f._payload, u = f._init;
|
|
907
907
|
try {
|
|
908
908
|
return T(u(p));
|
|
909
909
|
} catch {
|
|
@@ -913,14 +913,14 @@ function Gt() {
|
|
|
913
913
|
}
|
|
914
914
|
return null;
|
|
915
915
|
}
|
|
916
|
-
var I = Object.assign, D = 0, z, J, q, Se, xe, Oe,
|
|
916
|
+
var I = Object.assign, D = 0, z, J, q, Se, xe, Oe, Ce;
|
|
917
917
|
function je() {
|
|
918
918
|
}
|
|
919
919
|
je.__reactDisabledLog = !0;
|
|
920
|
-
function
|
|
920
|
+
function Qe() {
|
|
921
921
|
{
|
|
922
922
|
if (D === 0) {
|
|
923
|
-
z = console.log, J = console.info, q = console.warn, Se = console.error, xe = console.group, Oe = console.groupCollapsed,
|
|
923
|
+
z = console.log, J = console.info, q = console.warn, Se = console.error, xe = console.group, Oe = console.groupCollapsed, Ce = console.groupEnd;
|
|
924
924
|
var e = {
|
|
925
925
|
configurable: !0,
|
|
926
926
|
enumerable: !0,
|
|
@@ -940,7 +940,7 @@ function Gt() {
|
|
|
940
940
|
D++;
|
|
941
941
|
}
|
|
942
942
|
}
|
|
943
|
-
function
|
|
943
|
+
function et() {
|
|
944
944
|
{
|
|
945
945
|
if (D--, D === 0) {
|
|
946
946
|
var e = {
|
|
@@ -968,21 +968,21 @@ function Gt() {
|
|
|
968
968
|
value: Oe
|
|
969
969
|
}),
|
|
970
970
|
groupEnd: I({}, e, {
|
|
971
|
-
value:
|
|
971
|
+
value: Ce
|
|
972
972
|
})
|
|
973
973
|
});
|
|
974
974
|
}
|
|
975
|
-
D < 0 &&
|
|
975
|
+
D < 0 && S("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
976
976
|
}
|
|
977
977
|
}
|
|
978
|
-
var se =
|
|
978
|
+
var se = F.ReactCurrentDispatcher, ue;
|
|
979
979
|
function K(e, t, n) {
|
|
980
980
|
{
|
|
981
981
|
if (ue === void 0)
|
|
982
982
|
try {
|
|
983
983
|
throw Error();
|
|
984
|
-
} catch (
|
|
985
|
-
var a =
|
|
984
|
+
} catch (f) {
|
|
985
|
+
var a = f.stack.trim().match(/\n( *(at )?)/);
|
|
986
986
|
ue = a && a[1] || "";
|
|
987
987
|
}
|
|
988
988
|
return `
|
|
@@ -991,10 +991,10 @@ function Gt() {
|
|
|
991
991
|
}
|
|
992
992
|
var le = !1, G;
|
|
993
993
|
{
|
|
994
|
-
var
|
|
995
|
-
G = new
|
|
994
|
+
var tt = typeof WeakMap == "function" ? WeakMap : Map;
|
|
995
|
+
G = new tt();
|
|
996
996
|
}
|
|
997
|
-
function
|
|
997
|
+
function we(e, t) {
|
|
998
998
|
if (!e || le)
|
|
999
999
|
return "";
|
|
1000
1000
|
{
|
|
@@ -1004,10 +1004,10 @@ function Gt() {
|
|
|
1004
1004
|
}
|
|
1005
1005
|
var a;
|
|
1006
1006
|
le = !0;
|
|
1007
|
-
var
|
|
1007
|
+
var f = Error.prepareStackTrace;
|
|
1008
1008
|
Error.prepareStackTrace = void 0;
|
|
1009
1009
|
var p;
|
|
1010
|
-
p = se.current, se.current = null,
|
|
1010
|
+
p = se.current, se.current = null, Qe();
|
|
1011
1011
|
try {
|
|
1012
1012
|
if (t) {
|
|
1013
1013
|
var u = function() {
|
|
@@ -1044,31 +1044,31 @@ function Gt() {
|
|
|
1044
1044
|
if (O && a && typeof O.stack == "string") {
|
|
1045
1045
|
for (var s = O.stack.split(`
|
|
1046
1046
|
`), x = a.stack.split(`
|
|
1047
|
-
`), g = s.length - 1,
|
|
1048
|
-
|
|
1049
|
-
for (; g >= 1 &&
|
|
1050
|
-
if (s[g] !== x[
|
|
1051
|
-
if (g !== 1 ||
|
|
1047
|
+
`), g = s.length - 1, b = x.length - 1; g >= 1 && b >= 0 && s[g] !== x[b]; )
|
|
1048
|
+
b--;
|
|
1049
|
+
for (; g >= 1 && b >= 0; g--, b--)
|
|
1050
|
+
if (s[g] !== x[b]) {
|
|
1051
|
+
if (g !== 1 || b !== 1)
|
|
1052
1052
|
do
|
|
1053
|
-
if (g--,
|
|
1053
|
+
if (g--, b--, b < 0 || s[g] !== x[b]) {
|
|
1054
1054
|
var A = `
|
|
1055
1055
|
` + s[g].replace(" at new ", " at ");
|
|
1056
1056
|
return e.displayName && A.includes("<anonymous>") && (A = A.replace("<anonymous>", e.displayName)), typeof e == "function" && G.set(e, A), A;
|
|
1057
1057
|
}
|
|
1058
|
-
while (g >= 1 &&
|
|
1058
|
+
while (g >= 1 && b >= 0);
|
|
1059
1059
|
break;
|
|
1060
1060
|
}
|
|
1061
1061
|
}
|
|
1062
1062
|
} finally {
|
|
1063
|
-
le = !1, se.current = p,
|
|
1063
|
+
le = !1, se.current = p, et(), Error.prepareStackTrace = f;
|
|
1064
1064
|
}
|
|
1065
|
-
var U = e ? e.displayName || e.name : "",
|
|
1066
|
-
return typeof e == "function" && G.set(e,
|
|
1065
|
+
var U = e ? e.displayName || e.name : "", M = U ? K(U) : "";
|
|
1066
|
+
return typeof e == "function" && G.set(e, M), M;
|
|
1067
1067
|
}
|
|
1068
|
-
function
|
|
1069
|
-
return
|
|
1068
|
+
function rt(e, t, n) {
|
|
1069
|
+
return we(e, !1);
|
|
1070
1070
|
}
|
|
1071
|
-
function
|
|
1071
|
+
function nt(e) {
|
|
1072
1072
|
var t = e.prototype;
|
|
1073
1073
|
return !!(t && t.isReactComponent);
|
|
1074
1074
|
}
|
|
@@ -1076,32 +1076,32 @@ function Gt() {
|
|
|
1076
1076
|
if (e == null)
|
|
1077
1077
|
return "";
|
|
1078
1078
|
if (typeof e == "function")
|
|
1079
|
-
return
|
|
1079
|
+
return we(e, nt(e));
|
|
1080
1080
|
if (typeof e == "string")
|
|
1081
1081
|
return K(e);
|
|
1082
1082
|
switch (e) {
|
|
1083
|
-
case
|
|
1083
|
+
case E:
|
|
1084
1084
|
return K("Suspense");
|
|
1085
1085
|
case d:
|
|
1086
1086
|
return K("SuspenseList");
|
|
1087
1087
|
}
|
|
1088
1088
|
if (typeof e == "object")
|
|
1089
1089
|
switch (e.$$typeof) {
|
|
1090
|
-
case
|
|
1091
|
-
return
|
|
1090
|
+
case h:
|
|
1091
|
+
return rt(e.render);
|
|
1092
1092
|
case R:
|
|
1093
1093
|
return Z(e.type, t, n);
|
|
1094
|
-
case
|
|
1095
|
-
var a = e,
|
|
1094
|
+
case w: {
|
|
1095
|
+
var a = e, f = a._payload, p = a._init;
|
|
1096
1096
|
try {
|
|
1097
|
-
return Z(p(
|
|
1097
|
+
return Z(p(f), t, n);
|
|
1098
1098
|
} catch {
|
|
1099
1099
|
}
|
|
1100
1100
|
}
|
|
1101
1101
|
}
|
|
1102
1102
|
return "";
|
|
1103
1103
|
}
|
|
1104
|
-
var Y = Object.prototype.hasOwnProperty, Ae = {}, Pe =
|
|
1104
|
+
var Y = Object.prototype.hasOwnProperty, Ae = {}, Pe = F.ReactDebugCurrentFrame;
|
|
1105
1105
|
function X(e) {
|
|
1106
1106
|
if (e) {
|
|
1107
1107
|
var t = e._owner, n = Z(e.type, e._source, t ? t.type : null);
|
|
@@ -1109,7 +1109,7 @@ function Gt() {
|
|
|
1109
1109
|
} else
|
|
1110
1110
|
Pe.setExtraStackFrame(null);
|
|
1111
1111
|
}
|
|
1112
|
-
function
|
|
1112
|
+
function ot(e, t, n, a, f) {
|
|
1113
1113
|
{
|
|
1114
1114
|
var p = Function.call.bind(Y);
|
|
1115
1115
|
for (var u in e)
|
|
@@ -1124,21 +1124,21 @@ function Gt() {
|
|
|
1124
1124
|
} catch (g) {
|
|
1125
1125
|
s = g;
|
|
1126
1126
|
}
|
|
1127
|
-
s && !(s instanceof Error) && (X(
|
|
1127
|
+
s && !(s instanceof Error) && (X(f), S("%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).", a || "React class", n, u, typeof s), X(null)), s instanceof Error && !(s.message in Ae) && (Ae[s.message] = !0, X(f), S("Failed %s type: %s", n, s.message), X(null));
|
|
1128
1128
|
}
|
|
1129
1129
|
}
|
|
1130
1130
|
}
|
|
1131
|
-
var
|
|
1131
|
+
var at = Array.isArray;
|
|
1132
1132
|
function ce(e) {
|
|
1133
|
-
return
|
|
1133
|
+
return at(e);
|
|
1134
1134
|
}
|
|
1135
|
-
function
|
|
1135
|
+
function it(e) {
|
|
1136
1136
|
{
|
|
1137
1137
|
var t = typeof Symbol == "function" && Symbol.toStringTag, n = t && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
1138
1138
|
return n;
|
|
1139
1139
|
}
|
|
1140
1140
|
}
|
|
1141
|
-
function
|
|
1141
|
+
function st(e) {
|
|
1142
1142
|
try {
|
|
1143
1143
|
return Te(e), !1;
|
|
1144
1144
|
} catch {
|
|
@@ -1149,16 +1149,16 @@ function Gt() {
|
|
|
1149
1149
|
return "" + e;
|
|
1150
1150
|
}
|
|
1151
1151
|
function Be(e) {
|
|
1152
|
-
if (
|
|
1153
|
-
return
|
|
1152
|
+
if (st(e))
|
|
1153
|
+
return S("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", it(e)), Te(e);
|
|
1154
1154
|
}
|
|
1155
|
-
var Ie =
|
|
1155
|
+
var Ie = F.ReactCurrentOwner, ut = {
|
|
1156
1156
|
key: !0,
|
|
1157
1157
|
ref: !0,
|
|
1158
1158
|
__self: !0,
|
|
1159
1159
|
__source: !0
|
|
1160
|
-
},
|
|
1161
|
-
function
|
|
1160
|
+
}, $e, De;
|
|
1161
|
+
function lt(e) {
|
|
1162
1162
|
if (Y.call(e, "ref")) {
|
|
1163
1163
|
var t = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
1164
1164
|
if (t && t.isReactWarning)
|
|
@@ -1166,7 +1166,7 @@ function Gt() {
|
|
|
1166
1166
|
}
|
|
1167
1167
|
return e.ref !== void 0;
|
|
1168
1168
|
}
|
|
1169
|
-
function
|
|
1169
|
+
function ct(e) {
|
|
1170
1170
|
if (Y.call(e, "key")) {
|
|
1171
1171
|
var t = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
1172
1172
|
if (t && t.isReactWarning)
|
|
@@ -1174,13 +1174,13 @@ function Gt() {
|
|
|
1174
1174
|
}
|
|
1175
1175
|
return e.key !== void 0;
|
|
1176
1176
|
}
|
|
1177
|
-
function
|
|
1177
|
+
function ft(e, t) {
|
|
1178
1178
|
typeof e.ref == "string" && Ie.current;
|
|
1179
1179
|
}
|
|
1180
|
-
function
|
|
1180
|
+
function dt(e, t) {
|
|
1181
1181
|
{
|
|
1182
1182
|
var n = function() {
|
|
1183
|
-
|
|
1183
|
+
$e || ($e = !0, S("%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));
|
|
1184
1184
|
};
|
|
1185
1185
|
n.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
1186
1186
|
get: n,
|
|
@@ -1188,10 +1188,10 @@ function Gt() {
|
|
|
1188
1188
|
});
|
|
1189
1189
|
}
|
|
1190
1190
|
}
|
|
1191
|
-
function
|
|
1191
|
+
function pt(e, t) {
|
|
1192
1192
|
{
|
|
1193
1193
|
var n = function() {
|
|
1194
|
-
De || (De = !0,
|
|
1194
|
+
De || (De = !0, S("%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));
|
|
1195
1195
|
};
|
|
1196
1196
|
n.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
1197
1197
|
get: n,
|
|
@@ -1199,7 +1199,7 @@ function Gt() {
|
|
|
1199
1199
|
});
|
|
1200
1200
|
}
|
|
1201
1201
|
}
|
|
1202
|
-
var
|
|
1202
|
+
var vt = function(e, t, n, a, f, p, u) {
|
|
1203
1203
|
var s = {
|
|
1204
1204
|
// This tag allows us to uniquely identify this as a React Element
|
|
1205
1205
|
$$typeof: o,
|
|
@@ -1225,41 +1225,41 @@ function Gt() {
|
|
|
1225
1225
|
configurable: !1,
|
|
1226
1226
|
enumerable: !1,
|
|
1227
1227
|
writable: !1,
|
|
1228
|
-
value:
|
|
1228
|
+
value: f
|
|
1229
1229
|
}), Object.freeze && (Object.freeze(s.props), Object.freeze(s)), s;
|
|
1230
1230
|
};
|
|
1231
|
-
function
|
|
1231
|
+
function ht(e, t, n, a, f) {
|
|
1232
1232
|
{
|
|
1233
1233
|
var p, u = {}, s = null, x = null;
|
|
1234
|
-
n !== void 0 && (Be(n), s = "" + n),
|
|
1234
|
+
n !== void 0 && (Be(n), s = "" + n), ct(t) && (Be(t.key), s = "" + t.key), lt(t) && (x = t.ref, ft(t));
|
|
1235
1235
|
for (p in t)
|
|
1236
|
-
Y.call(t, p) && !
|
|
1236
|
+
Y.call(t, p) && !ut.hasOwnProperty(p) && (u[p] = t[p]);
|
|
1237
1237
|
if (e && e.defaultProps) {
|
|
1238
1238
|
var g = e.defaultProps;
|
|
1239
1239
|
for (p in g)
|
|
1240
1240
|
u[p] === void 0 && (u[p] = g[p]);
|
|
1241
1241
|
}
|
|
1242
1242
|
if (s || x) {
|
|
1243
|
-
var
|
|
1244
|
-
s &&
|
|
1243
|
+
var b = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
1244
|
+
s && dt(u, b), x && pt(u, b);
|
|
1245
1245
|
}
|
|
1246
|
-
return
|
|
1246
|
+
return vt(e, s, x, f, a, Ie.current, u);
|
|
1247
1247
|
}
|
|
1248
1248
|
}
|
|
1249
|
-
var fe =
|
|
1249
|
+
var fe = F.ReactCurrentOwner, Fe = F.ReactDebugCurrentFrame;
|
|
1250
1250
|
function L(e) {
|
|
1251
1251
|
if (e) {
|
|
1252
1252
|
var t = e._owner, n = Z(e.type, e._source, t ? t.type : null);
|
|
1253
|
-
|
|
1253
|
+
Fe.setExtraStackFrame(n);
|
|
1254
1254
|
} else
|
|
1255
|
-
|
|
1255
|
+
Fe.setExtraStackFrame(null);
|
|
1256
1256
|
}
|
|
1257
1257
|
var de;
|
|
1258
1258
|
de = !1;
|
|
1259
1259
|
function pe(e) {
|
|
1260
1260
|
return typeof e == "object" && e !== null && e.$$typeof === o;
|
|
1261
1261
|
}
|
|
1262
|
-
function
|
|
1262
|
+
function Me() {
|
|
1263
1263
|
{
|
|
1264
1264
|
if (fe.current) {
|
|
1265
1265
|
var e = T(fe.current.type);
|
|
@@ -1275,9 +1275,9 @@ Check the render method of \`` + e + "`.";
|
|
|
1275
1275
|
return "";
|
|
1276
1276
|
}
|
|
1277
1277
|
var Ne = {};
|
|
1278
|
-
function
|
|
1278
|
+
function mt(e) {
|
|
1279
1279
|
{
|
|
1280
|
-
var t =
|
|
1280
|
+
var t = Me();
|
|
1281
1281
|
if (!t) {
|
|
1282
1282
|
var n = typeof e == "string" ? e : e.displayName || e.name;
|
|
1283
1283
|
n && (t = `
|
|
@@ -1292,12 +1292,12 @@ Check the top-level render call using <` + n + ">.");
|
|
|
1292
1292
|
if (!e._store || e._store.validated || e.key != null)
|
|
1293
1293
|
return;
|
|
1294
1294
|
e._store.validated = !0;
|
|
1295
|
-
var n =
|
|
1295
|
+
var n = mt(t);
|
|
1296
1296
|
if (Ne[n])
|
|
1297
1297
|
return;
|
|
1298
1298
|
Ne[n] = !0;
|
|
1299
1299
|
var a = "";
|
|
1300
|
-
e && e._owner && e._owner !== fe.current && (a = " It was passed a child from " + T(e._owner.type) + "."), L(e),
|
|
1300
|
+
e && e._owner && e._owner !== fe.current && (a = " It was passed a child from " + T(e._owner.type) + "."), L(e), S('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', n, a), L(null);
|
|
1301
1301
|
}
|
|
1302
1302
|
}
|
|
1303
1303
|
function Le(e, t) {
|
|
@@ -1312,9 +1312,9 @@ Check the top-level render call using <` + n + ">.");
|
|
|
1312
1312
|
else if (pe(e))
|
|
1313
1313
|
e._store && (e._store.validated = !0);
|
|
1314
1314
|
else if (e) {
|
|
1315
|
-
var
|
|
1316
|
-
if (typeof
|
|
1317
|
-
for (var p =
|
|
1315
|
+
var f = Re(e);
|
|
1316
|
+
if (typeof f == "function" && f !== e.entries)
|
|
1317
|
+
for (var p = f.call(e), u; !(u = p.next()).done; )
|
|
1318
1318
|
pe(u.value) && We(u.value, t);
|
|
1319
1319
|
}
|
|
1320
1320
|
}
|
|
@@ -1327,7 +1327,7 @@ Check the top-level render call using <` + n + ">.");
|
|
|
1327
1327
|
var n;
|
|
1328
1328
|
if (typeof t == "function")
|
|
1329
1329
|
n = t.propTypes;
|
|
1330
|
-
else if (typeof t == "object" && (t.$$typeof ===
|
|
1330
|
+
else if (typeof t == "object" && (t.$$typeof === h || // Note: Memo only checks outer props here.
|
|
1331
1331
|
// Inner props are checked in the reconciler.
|
|
1332
1332
|
t.$$typeof === R))
|
|
1333
1333
|
n = t.propTypes;
|
|
@@ -1335,13 +1335,13 @@ Check the top-level render call using <` + n + ">.");
|
|
|
1335
1335
|
return;
|
|
1336
1336
|
if (n) {
|
|
1337
1337
|
var a = T(t);
|
|
1338
|
-
|
|
1338
|
+
ot(n, e.props, "prop", a, e);
|
|
1339
1339
|
} else if (t.PropTypes !== void 0 && !de) {
|
|
1340
1340
|
de = !0;
|
|
1341
|
-
var
|
|
1342
|
-
|
|
1341
|
+
var f = T(t);
|
|
1342
|
+
S("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", f || "Unknown");
|
|
1343
1343
|
}
|
|
1344
|
-
typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved &&
|
|
1344
|
+
typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && S("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
1345
1345
|
}
|
|
1346
1346
|
}
|
|
1347
1347
|
function bt(e) {
|
|
@@ -1349,28 +1349,28 @@ Check the top-level render call using <` + n + ">.");
|
|
|
1349
1349
|
for (var t = Object.keys(e.props), n = 0; n < t.length; n++) {
|
|
1350
1350
|
var a = t[n];
|
|
1351
1351
|
if (a !== "children" && a !== "key") {
|
|
1352
|
-
L(e),
|
|
1352
|
+
L(e), S("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", a), L(null);
|
|
1353
1353
|
break;
|
|
1354
1354
|
}
|
|
1355
1355
|
}
|
|
1356
|
-
e.ref !== null && (L(e),
|
|
1356
|
+
e.ref !== null && (L(e), S("Invalid attribute `ref` supplied to `React.Fragment`."), L(null));
|
|
1357
1357
|
}
|
|
1358
1358
|
}
|
|
1359
1359
|
var Ue = {};
|
|
1360
|
-
function Ye(e, t, n, a,
|
|
1360
|
+
function Ye(e, t, n, a, f, p) {
|
|
1361
1361
|
{
|
|
1362
1362
|
var u = W(e);
|
|
1363
1363
|
if (!u) {
|
|
1364
1364
|
var s = "";
|
|
1365
1365
|
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (s += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
1366
1366
|
var x = yt();
|
|
1367
|
-
x ? s += x : s +=
|
|
1367
|
+
x ? s += x : s += Me();
|
|
1368
1368
|
var g;
|
|
1369
|
-
e === null ? g = "null" : ce(e) ? g = "array" : e !== void 0 && e.$$typeof === o ? (g = "<" + (T(e.type) || "Unknown") + " />", s = " Did you accidentally export a JSX literal instead of a component?") : g = typeof e,
|
|
1369
|
+
e === null ? g = "null" : ce(e) ? g = "array" : e !== void 0 && e.$$typeof === o ? (g = "<" + (T(e.type) || "Unknown") + " />", s = " Did you accidentally export a JSX literal instead of a component?") : g = typeof e, S("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", g, s);
|
|
1370
1370
|
}
|
|
1371
|
-
var
|
|
1372
|
-
if (
|
|
1373
|
-
return
|
|
1371
|
+
var b = ht(e, t, n, f, p);
|
|
1372
|
+
if (b == null)
|
|
1373
|
+
return b;
|
|
1374
1374
|
if (u) {
|
|
1375
1375
|
var A = t.children;
|
|
1376
1376
|
if (A !== void 0)
|
|
@@ -1380,74 +1380,74 @@ Check the top-level render call using <` + n + ">.");
|
|
|
1380
1380
|
Le(A[U], e);
|
|
1381
1381
|
Object.freeze && Object.freeze(A);
|
|
1382
1382
|
} else
|
|
1383
|
-
|
|
1383
|
+
S("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
1384
1384
|
else
|
|
1385
1385
|
Le(A, e);
|
|
1386
1386
|
}
|
|
1387
1387
|
if (Y.call(t, "key")) {
|
|
1388
|
-
var
|
|
1389
|
-
return
|
|
1388
|
+
var M = T(e), O = Object.keys(t).filter(function(xt) {
|
|
1389
|
+
return xt !== "key";
|
|
1390
1390
|
}), ve = O.length > 0 ? "{key: someKey, " + O.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
1391
|
-
if (!Ue[
|
|
1392
|
-
var
|
|
1393
|
-
|
|
1391
|
+
if (!Ue[M + ve]) {
|
|
1392
|
+
var St = O.length > 0 ? "{" + O.join(": ..., ") + ": ...}" : "{}";
|
|
1393
|
+
S(`A props object containing a "key" prop is being spread into JSX:
|
|
1394
1394
|
let props = %s;
|
|
1395
1395
|
<%s {...props} />
|
|
1396
1396
|
React keys must be passed directly to JSX without using spread:
|
|
1397
1397
|
let props = %s;
|
|
1398
|
-
<%s key={someKey} {...props} />`, ve,
|
|
1398
|
+
<%s key={someKey} {...props} />`, ve, M, St, M), Ue[M + ve] = !0;
|
|
1399
1399
|
}
|
|
1400
1400
|
}
|
|
1401
|
-
return e ===
|
|
1401
|
+
return e === c ? bt(b) : gt(b), b;
|
|
1402
1402
|
}
|
|
1403
1403
|
}
|
|
1404
|
-
function
|
|
1404
|
+
function _t(e, t, n) {
|
|
1405
1405
|
return Ye(e, t, n, !0);
|
|
1406
1406
|
}
|
|
1407
|
-
function
|
|
1407
|
+
function Rt(e, t, n) {
|
|
1408
1408
|
return Ye(e, t, n, !1);
|
|
1409
1409
|
}
|
|
1410
|
-
var
|
|
1411
|
-
|
|
1412
|
-
}()),
|
|
1410
|
+
var kt = Rt, Et = _t;
|
|
1411
|
+
He.Fragment = c, He.jsx = kt, He.jsxs = Et;
|
|
1412
|
+
}()), He;
|
|
1413
1413
|
}
|
|
1414
|
-
process.env.NODE_ENV === "production" ?
|
|
1415
|
-
const
|
|
1416
|
-
version:
|
|
1417
|
-
}, Q = {},
|
|
1414
|
+
process.env.NODE_ENV === "production" ? Xt() : Qt();
|
|
1415
|
+
const er = "0.0.37", Ut = {
|
|
1416
|
+
version: er
|
|
1417
|
+
}, Q = {}, At = {
|
|
1418
1418
|
module: "",
|
|
1419
|
-
v:
|
|
1419
|
+
v: Ut.version,
|
|
1420
1420
|
page: "Main",
|
|
1421
1421
|
auth: "Auth",
|
|
1422
1422
|
STORAGE: "f",
|
|
1423
1423
|
LISTENER: {}
|
|
1424
1424
|
};
|
|
1425
|
-
function
|
|
1425
|
+
function ye() {
|
|
1426
1426
|
return typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof self < "u" ? self : typeof global < "u" ? global : {};
|
|
1427
1427
|
}
|
|
1428
|
-
|
|
1429
|
-
Object.assign(
|
|
1428
|
+
ye().elcrm || (ye().elcrm = {});
|
|
1429
|
+
Object.assign(ye().elcrm, { router: Ut.version });
|
|
1430
1430
|
function ee(r) {
|
|
1431
|
-
const o =
|
|
1432
|
-
o.ROUTER_PARAMS ? o.ROUTER_PARAMS = { ...o.ROUTER_PARAMS, ...r } : o.ROUTER_PARAMS = { ...
|
|
1431
|
+
const o = ye();
|
|
1432
|
+
o.ROUTER_PARAMS ? o.ROUTER_PARAMS = { ...o.ROUTER_PARAMS, ...r } : o.ROUTER_PARAMS = { ...At, ...r };
|
|
1433
1433
|
}
|
|
1434
1434
|
function j() {
|
|
1435
|
-
return
|
|
1435
|
+
return ye().ROUTER_PARAMS || At;
|
|
1436
1436
|
}
|
|
1437
|
-
function
|
|
1438
|
-
const o =
|
|
1437
|
+
function ge(r) {
|
|
1438
|
+
const o = ye();
|
|
1439
1439
|
o.ROUTER_PARAMS ? o.ROUTER_PARAMS.LISTENER = {
|
|
1440
1440
|
...o.ROUTER_PARAMS.LISTENER,
|
|
1441
1441
|
...r
|
|
1442
1442
|
} : o.ROUTER_PARAMS.LISTENER = { ...r };
|
|
1443
1443
|
}
|
|
1444
1444
|
function te() {
|
|
1445
|
-
return
|
|
1445
|
+
return ye().ROUTER_PARAMS.LISTENER || At.LISTENER;
|
|
1446
1446
|
}
|
|
1447
|
-
var
|
|
1447
|
+
var be;
|
|
1448
1448
|
((r) => {
|
|
1449
1449
|
function o() {
|
|
1450
|
-
var
|
|
1450
|
+
var m;
|
|
1451
1451
|
let k = sessionStorage.getItem("f");
|
|
1452
1452
|
if (k) {
|
|
1453
1453
|
if (k = ie.deCode(k), !k) return !1;
|
|
@@ -1464,7 +1464,7 @@ var me;
|
|
|
1464
1464
|
ee({
|
|
1465
1465
|
id: 0,
|
|
1466
1466
|
tab: "",
|
|
1467
|
-
page: (
|
|
1467
|
+
page: (m = localStorage.getItem("d")) != null && m.length ? j().page : j().auth,
|
|
1468
1468
|
module: j().module
|
|
1469
1469
|
});
|
|
1470
1470
|
return !0;
|
|
@@ -1473,169 +1473,169 @@ var me;
|
|
|
1473
1473
|
Q.id = 0, Q.tab = "", Q.page = j().page, Q.module = j().module;
|
|
1474
1474
|
}
|
|
1475
1475
|
r.Reset = i;
|
|
1476
|
-
function
|
|
1477
|
-
module:
|
|
1476
|
+
function c({
|
|
1477
|
+
module: m = j().module,
|
|
1478
1478
|
page: k = j().page,
|
|
1479
1479
|
auth: B = j().auth
|
|
1480
1480
|
}) {
|
|
1481
|
-
ee({ page: k, module:
|
|
1481
|
+
ee({ page: k, module: m, auth: B }), o();
|
|
1482
1482
|
}
|
|
1483
|
-
r.Default =
|
|
1484
|
-
function
|
|
1483
|
+
r.Default = c;
|
|
1484
|
+
function v(m) {
|
|
1485
1485
|
let k = (W) => (ee({ page: W }), W);
|
|
1486
|
-
const [B,
|
|
1487
|
-
|
|
1486
|
+
const [B, $] = P.useState(
|
|
1487
|
+
C() || m && k(m) || j().page
|
|
1488
1488
|
);
|
|
1489
|
-
return
|
|
1490
|
-
|
|
1489
|
+
return ge({ page: (W) => {
|
|
1490
|
+
$(W);
|
|
1491
1491
|
} }), B;
|
|
1492
1492
|
}
|
|
1493
|
-
r.usePage =
|
|
1494
|
-
function
|
|
1495
|
-
ee({ page:
|
|
1493
|
+
r.usePage = v;
|
|
1494
|
+
function y(m, k = !0, B = {}) {
|
|
1495
|
+
ee({ page: m, ...B }), sessionStorage.setItem(
|
|
1496
1496
|
j().STORAGE,
|
|
1497
1497
|
ie.enCode(j())
|
|
1498
|
-
), k && te().page(
|
|
1498
|
+
), k && te().page(m);
|
|
1499
1499
|
}
|
|
1500
|
-
r.setPage =
|
|
1501
|
-
function
|
|
1500
|
+
r.setPage = y;
|
|
1501
|
+
function C() {
|
|
1502
1502
|
return j().page;
|
|
1503
1503
|
}
|
|
1504
|
-
r.getPage =
|
|
1505
|
-
function _(
|
|
1506
|
-
return j().page ===
|
|
1504
|
+
r.getPage = C;
|
|
1505
|
+
function _(m) {
|
|
1506
|
+
return j().page === m;
|
|
1507
1507
|
}
|
|
1508
1508
|
r.isPage = _;
|
|
1509
|
-
function
|
|
1510
|
-
const [B,
|
|
1511
|
-
d() ||
|
|
1509
|
+
function h(m, k) {
|
|
1510
|
+
const [B, $] = P.useState(
|
|
1511
|
+
d() || m || j().module
|
|
1512
1512
|
);
|
|
1513
|
-
return
|
|
1513
|
+
return ge({ module: $ }), B;
|
|
1514
1514
|
}
|
|
1515
|
-
r.useModule =
|
|
1516
|
-
function
|
|
1517
|
-
ee({ module:
|
|
1515
|
+
r.useModule = h;
|
|
1516
|
+
function E(m, k = !0) {
|
|
1517
|
+
ee({ module: m }), sessionStorage.setItem(
|
|
1518
1518
|
j().STORAGE,
|
|
1519
1519
|
ie.enCode(j())
|
|
1520
|
-
), k && te().module(
|
|
1520
|
+
), k && te().module(m);
|
|
1521
1521
|
}
|
|
1522
|
-
r.setModule =
|
|
1522
|
+
r.setModule = E;
|
|
1523
1523
|
function d() {
|
|
1524
1524
|
return j().module || "";
|
|
1525
1525
|
}
|
|
1526
1526
|
r.getModule = d;
|
|
1527
|
-
function R(
|
|
1528
|
-
return j().module ===
|
|
1527
|
+
function R(m) {
|
|
1528
|
+
return j().module === m;
|
|
1529
1529
|
}
|
|
1530
1530
|
r.isModule = R;
|
|
1531
|
-
function
|
|
1532
|
-
if (typeof
|
|
1533
|
-
const [B,
|
|
1534
|
-
return
|
|
1535
|
-
|
|
1531
|
+
function w(m, k) {
|
|
1532
|
+
if (typeof m != "function") {
|
|
1533
|
+
const [B, $] = P.useState(!k), [W, oe] = P.useState(m || ne());
|
|
1534
|
+
return ge({ tabs: oe }), k && P.useEffect(() => {
|
|
1535
|
+
$(!0);
|
|
1536
1536
|
}, []), [W, B];
|
|
1537
1537
|
} else
|
|
1538
|
-
|
|
1538
|
+
ge({ tabs: m });
|
|
1539
1539
|
}
|
|
1540
|
-
r.useTabs =
|
|
1541
|
-
async function N(
|
|
1542
|
-
ee({ tab:
|
|
1540
|
+
r.useTabs = w;
|
|
1541
|
+
async function N(m, k = !0) {
|
|
1542
|
+
ee({ tab: m }), sessionStorage.setItem(
|
|
1543
1543
|
j().STORAGE,
|
|
1544
1544
|
ie.enCode(j())
|
|
1545
|
-
), k && (te().tabs && te().tabs(
|
|
1545
|
+
), k && (te().tabs && te().tabs(m));
|
|
1546
1546
|
}
|
|
1547
1547
|
r.setTabs = N;
|
|
1548
1548
|
function ne() {
|
|
1549
1549
|
return j().tab;
|
|
1550
1550
|
}
|
|
1551
1551
|
r.getTabs = ne;
|
|
1552
|
-
function _e(
|
|
1553
|
-
return j().tab ===
|
|
1552
|
+
function _e(m) {
|
|
1553
|
+
return j().tab === m;
|
|
1554
1554
|
}
|
|
1555
1555
|
r.isTabs = _e;
|
|
1556
|
-
function Re(
|
|
1557
|
-
if (typeof
|
|
1558
|
-
const [k, B] = P.useState(
|
|
1559
|
-
return
|
|
1560
|
-
B(
|
|
1556
|
+
function Re(m) {
|
|
1557
|
+
if (typeof m != "function") {
|
|
1558
|
+
const [k, B] = P.useState(m || me());
|
|
1559
|
+
return ge({ id: ($) => {
|
|
1560
|
+
B($);
|
|
1561
1561
|
} }), k;
|
|
1562
1562
|
} else
|
|
1563
|
-
|
|
1563
|
+
ge({ id: m });
|
|
1564
1564
|
}
|
|
1565
1565
|
r.useId = Re;
|
|
1566
|
-
function
|
|
1566
|
+
function F(m) {
|
|
1567
1567
|
}
|
|
1568
|
-
r.subId =
|
|
1569
|
-
async function
|
|
1570
|
-
ee({ id:
|
|
1568
|
+
r.subId = F;
|
|
1569
|
+
async function S(m, k = !0) {
|
|
1570
|
+
ee({ id: m }), sessionStorage.setItem(
|
|
1571
1571
|
j().STORAGE,
|
|
1572
1572
|
ie.enCode(j())
|
|
1573
|
-
), k && te().id(
|
|
1573
|
+
), k && te().id(m);
|
|
1574
1574
|
}
|
|
1575
|
-
r.setId =
|
|
1576
|
-
function
|
|
1575
|
+
r.setId = S;
|
|
1576
|
+
function me() {
|
|
1577
1577
|
return j().id;
|
|
1578
1578
|
}
|
|
1579
|
-
r.getId =
|
|
1580
|
-
function ke(
|
|
1581
|
-
return Number(j().id) ===
|
|
1579
|
+
r.getId = me;
|
|
1580
|
+
function ke(m) {
|
|
1581
|
+
return Number(j().id) === m;
|
|
1582
1582
|
}
|
|
1583
1583
|
r.isId = ke;
|
|
1584
|
-
async function Ee(
|
|
1585
|
-
var k, B,
|
|
1586
|
-
const { page: D, module: z, tab: J, id: q } =
|
|
1587
|
-
D !== void 0 && (Q.page = D), z !== void 0 && (Q.module = z), J !== void 0 && (Q.tab = J), q !== void 0 && (Q.id = q), ee({ ...Q }), q !== void 0 && ((B = (k = te()).id) == null || B.call(k, q)), J !== void 0 && ((W = (
|
|
1584
|
+
async function Ee(m) {
|
|
1585
|
+
var k, B, $, W, oe, ae, T, I;
|
|
1586
|
+
const { page: D, module: z, tab: J, id: q } = m;
|
|
1587
|
+
D !== void 0 && (Q.page = D), z !== void 0 && (Q.module = z), J !== void 0 && (Q.tab = J), q !== void 0 && (Q.id = q), ee({ ...Q }), q !== void 0 && ((B = (k = te()).id) == null || B.call(k, q)), J !== void 0 && ((W = ($ = te()).tabs) == null || W.call($, J)), z !== void 0 && ((ae = (oe = te()).module) == null || ae.call(oe, z)), D !== void 0 && ((I = (T = te()).page) == null || I.call(T, D)), sessionStorage.setItem(
|
|
1588
1588
|
j().STORAGE,
|
|
1589
1589
|
ie.enCode(j())
|
|
1590
1590
|
);
|
|
1591
1591
|
}
|
|
1592
1592
|
r.navigate = Ee;
|
|
1593
|
-
})(
|
|
1594
|
-
let
|
|
1595
|
-
function
|
|
1593
|
+
})(be || (be = {}));
|
|
1594
|
+
let Ze = {};
|
|
1595
|
+
function tr() {
|
|
1596
1596
|
const [r, o] = P.useState([]);
|
|
1597
|
-
return
|
|
1597
|
+
return Ze.set = (i) => {
|
|
1598
1598
|
o([...r, i]);
|
|
1599
|
-
},
|
|
1600
|
-
r.forEach((
|
|
1601
|
-
|
|
1599
|
+
}, Ze.del = (i) => {
|
|
1600
|
+
r.forEach((c, v) => {
|
|
1601
|
+
c.key === i && r.splice(v, 1);
|
|
1602
1602
|
}), o(r);
|
|
1603
|
-
}, r.length === 0 ? /* @__PURE__ */
|
|
1603
|
+
}, r.length === 0 ? /* @__PURE__ */ l.jsx(l.Fragment, {}) : /* @__PURE__ */ l.jsx("div", { className: "notice", children: r.map((i) => i.item) });
|
|
1604
1604
|
}
|
|
1605
|
-
function
|
|
1605
|
+
function rr(r) {
|
|
1606
1606
|
let o = (/* @__PURE__ */ new Date()).getTime();
|
|
1607
|
-
r.key = o,
|
|
1607
|
+
r.key = o, Ze.set({ item: /* @__PURE__ */ l.jsx(nr, { data: r }, o), key: o });
|
|
1608
1608
|
}
|
|
1609
|
-
function
|
|
1609
|
+
function nr(r) {
|
|
1610
1610
|
const o = r.data;
|
|
1611
|
-
let [i] = P.useState("show"), [
|
|
1611
|
+
let [i] = P.useState("show"), [c, v] = P.useState(!1);
|
|
1612
1612
|
P.useEffect(() => {
|
|
1613
1613
|
setTimeout(function() {
|
|
1614
|
-
|
|
1614
|
+
v(!0), Ze.del(o.key);
|
|
1615
1615
|
}, 5e3);
|
|
1616
1616
|
}, [o.key]);
|
|
1617
|
-
let
|
|
1617
|
+
let y;
|
|
1618
1618
|
switch (o.type) {
|
|
1619
1619
|
case "error":
|
|
1620
|
-
|
|
1620
|
+
y = /* @__PURE__ */ l.jsx("path", { d: "M12 2.25c-5.376 0-9.75 4.374-9.75 9.75s4.374 9.75 9.75 9.75 9.75-4.374 9.75-9.75S17.376 2.25 12 2.25Zm3.53 12.22a.75.75 0 1 1-1.06 1.06L12 13.06l-2.47 2.47a.75.75 0 0 1-1.06-1.06L10.94 12 8.47 9.53a.75.75 0 0 1 1.06-1.06L12 10.94l2.47-2.47a.75.75 0 0 1 1.06 1.06L13.06 12l2.47 2.47Z" });
|
|
1621
1621
|
break;
|
|
1622
1622
|
case "success":
|
|
1623
|
-
|
|
1623
|
+
y = /* @__PURE__ */ l.jsx("path", { d: "M12 2.25c-5.376 0-9.75 4.374-9.75 9.75s4.374 9.75 9.75 9.75 9.75-4.374 9.75-9.75S17.376 2.25 12 2.25Zm5.074 6.482-6.3 7.5a.748.748 0 0 1-.562.268h-.013a.75.75 0 0 1-.557-.248l-2.7-3a.751.751 0 0 1 .88-1.186c.09.045.17.107.234.182l2.123 2.36 5.747-6.84a.75.75 0 0 1 1.148.964Z" });
|
|
1624
1624
|
break;
|
|
1625
1625
|
case "warning":
|
|
1626
|
-
|
|
1626
|
+
y = /* @__PURE__ */ l.jsx("path", { d: "M12 2.625c-5.17 0-9.375 4.206-9.375 9.375 0 5.17 4.206 9.375 9.375 9.375 5.17 0 9.375-4.206 9.375-9.375 0-5.17-4.206-9.375-9.375-9.375Zm0 3.844a1.219 1.219 0 1 1 0 2.437 1.219 1.219 0 0 1 0-2.437Zm2.25 10.593h-4.125a.75.75 0 1 1 0-1.5h1.313v-4.124h-.75a.75.75 0 1 1 0-1.5h1.5a.75.75 0 0 1 .75.75v4.874h1.312a.75.75 0 1 1 0 1.5Z" });
|
|
1627
1627
|
break;
|
|
1628
1628
|
default:
|
|
1629
|
-
|
|
1629
|
+
y = "icon fa fa-exclamation-circle";
|
|
1630
1630
|
break;
|
|
1631
1631
|
}
|
|
1632
|
-
return /* @__PURE__ */
|
|
1632
|
+
return /* @__PURE__ */ l.jsx(l.Fragment, { children: c ? /* @__PURE__ */ l.jsx(l.Fragment, {}) : /* @__PURE__ */ l.jsxs(
|
|
1633
1633
|
"div",
|
|
1634
1634
|
{
|
|
1635
1635
|
className: "item " + o.type + ` ${o.thema !== void 0 ? " thema" : ""}`,
|
|
1636
1636
|
"data-status": i,
|
|
1637
1637
|
children: [
|
|
1638
|
-
/* @__PURE__ */
|
|
1638
|
+
/* @__PURE__ */ l.jsx(
|
|
1639
1639
|
"svg",
|
|
1640
1640
|
{
|
|
1641
1641
|
type: "solid",
|
|
@@ -1645,54 +1645,90 @@ function er(r) {
|
|
|
1645
1645
|
width: "24",
|
|
1646
1646
|
height: "24",
|
|
1647
1647
|
viewBox: "0 0 24 24",
|
|
1648
|
-
children:
|
|
1648
|
+
children: y
|
|
1649
1649
|
}
|
|
1650
1650
|
),
|
|
1651
|
-
/* @__PURE__ */
|
|
1651
|
+
/* @__PURE__ */ l.jsx("span", { className: "text", children: o.text })
|
|
1652
1652
|
]
|
|
1653
1653
|
}
|
|
1654
1654
|
) });
|
|
1655
1655
|
}
|
|
1656
|
-
let
|
|
1657
|
-
Send:
|
|
1658
|
-
Init:
|
|
1659
|
-
},
|
|
1656
|
+
let Xe = {
|
|
1657
|
+
Send: rr,
|
|
1658
|
+
Init: tr
|
|
1659
|
+
}, qe = () => {
|
|
1660
1660
|
};
|
|
1661
|
-
const
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1661
|
+
const or = ({ children: r, title: o, isOverlay: i = !0 }) => {
|
|
1662
|
+
const [c, v] = P.useState(!1);
|
|
1663
|
+
return qe = () => {
|
|
1664
|
+
v(!0), setTimeout(() => {
|
|
1665
|
+
Yt.onClose();
|
|
1666
|
+
}, 300);
|
|
1667
|
+
}, /* @__PURE__ */ l.jsx(
|
|
1668
|
+
"div",
|
|
1669
|
+
{
|
|
1670
|
+
className: `footer-menu-overlay ${i ? "is-overlay" : ""} ${c ? "closing" : ""}`,
|
|
1671
|
+
onClick: qe,
|
|
1672
|
+
children: /* @__PURE__ */ l.jsxs(
|
|
1673
|
+
"div",
|
|
1674
|
+
{
|
|
1675
|
+
className: `footer-menu-popup-book ${c ? "closing" : ""}`,
|
|
1676
|
+
onClick: (y) => y.stopPropagation(),
|
|
1677
|
+
children: [
|
|
1678
|
+
/* @__PURE__ */ l.jsxs("div", { className: "footer-menu-header", children: [
|
|
1679
|
+
/* @__PURE__ */ l.jsx("h3", { children: o }),
|
|
1680
|
+
/* @__PURE__ */ l.jsx(
|
|
1681
|
+
"button",
|
|
1682
|
+
{
|
|
1683
|
+
className: "footer-menu-close-btn",
|
|
1684
|
+
onClick: qe,
|
|
1685
|
+
children: "✕"
|
|
1686
|
+
}
|
|
1687
|
+
)
|
|
1688
|
+
] }),
|
|
1689
|
+
r
|
|
1690
|
+
]
|
|
1691
|
+
}
|
|
1692
|
+
)
|
|
1693
|
+
}
|
|
1694
|
+
);
|
|
1695
|
+
}, ar = "_h_rl5ga_1", ir = "_row_rl5ga_14", sr = "_column_rl5ga_17", Dt = {
|
|
1696
|
+
h: ar,
|
|
1697
|
+
row: ir,
|
|
1698
|
+
column: sr
|
|
1699
|
+
}, Yt = [], Ft = (r, o) => r.findIndex((i) => (i == null ? void 0 : i.page) === o), ur = ({
|
|
1666
1700
|
actions: r,
|
|
1667
1701
|
children: o,
|
|
1668
1702
|
className: i,
|
|
1669
|
-
page:
|
|
1670
|
-
setPage:
|
|
1671
|
-
direction:
|
|
1703
|
+
page: c,
|
|
1704
|
+
setPage: v,
|
|
1705
|
+
direction: y = "row"
|
|
1672
1706
|
}) => {
|
|
1673
|
-
const [
|
|
1674
|
-
|
|
1707
|
+
const [C, _] = P.useState(null), [h, E] = P.useState(
|
|
1708
|
+
c ? Ft(r || [], c) : 0
|
|
1675
1709
|
);
|
|
1676
|
-
return
|
|
1710
|
+
return Yt.onClose = () => {
|
|
1711
|
+
_(null), E(c ? Ft(r || [], c) : 0);
|
|
1712
|
+
}, Ct(() => {
|
|
1677
1713
|
document.addEventListener("blur", () => {
|
|
1678
1714
|
document.querySelector("footer").style.display = "flex";
|
|
1679
1715
|
}), document.addEventListener("focus", () => {
|
|
1680
1716
|
document.querySelector("footer").style.display = "none";
|
|
1681
1717
|
});
|
|
1682
|
-
}, []), /* @__PURE__ */
|
|
1683
|
-
|
|
1684
|
-
/* @__PURE__ */
|
|
1718
|
+
}, []), /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
|
|
1719
|
+
C,
|
|
1720
|
+
/* @__PURE__ */ l.jsxs(
|
|
1685
1721
|
"footer",
|
|
1686
1722
|
{
|
|
1687
|
-
className: `${
|
|
1723
|
+
className: `${Dt.h} ${Dt[y]} ${i} `,
|
|
1688
1724
|
children: [
|
|
1689
1725
|
o,
|
|
1690
|
-
r && r.map((d, R) => /* @__PURE__ */
|
|
1726
|
+
r && r.map((d, R) => /* @__PURE__ */ l.jsx(
|
|
1691
1727
|
"div",
|
|
1692
1728
|
{
|
|
1693
|
-
"data-active":
|
|
1729
|
+
"data-active": h === R ? "true" : "false",
|
|
1694
1730
|
onClick: () => {
|
|
1695
|
-
d.page && (
|
|
1731
|
+
d.page && (E(R), v == null || v(d.page)), d.callback && (d.callback(), E(R)), d.component && (h === R ? qe() : (_(d.component), E(R)));
|
|
1696
1732
|
},
|
|
1697
1733
|
children: d.icon
|
|
1698
1734
|
},
|
|
@@ -1702,7 +1738,7 @@ const rr = "_h_rl5ga_1", nr = "_row_rl5ga_14", or = "_column_rl5ga_17", Ft = {
|
|
|
1702
1738
|
}
|
|
1703
1739
|
)
|
|
1704
1740
|
] });
|
|
1705
|
-
},
|
|
1741
|
+
}, he = { is: !1, MainButton: {}, BackButton: {} };
|
|
1706
1742
|
let V = {};
|
|
1707
1743
|
V.dark = {
|
|
1708
1744
|
"--tg-theme-subtitle-text-color": "#98989e",
|
|
@@ -1747,77 +1783,77 @@ V.users = {
|
|
|
1747
1783
|
"--tg-theme-button-text-color": "#000000",
|
|
1748
1784
|
"--tg-theme-secondary-bg-color": "#000000"
|
|
1749
1785
|
};
|
|
1750
|
-
const
|
|
1786
|
+
const lr = () => {
|
|
1751
1787
|
if (location.hostname === "localhost") {
|
|
1752
|
-
let [r, o] = P.useState(!1), [i,
|
|
1753
|
-
|
|
1754
|
-
V[
|
|
1755
|
-
for (let
|
|
1788
|
+
let [r, o] = P.useState(!1), [i, c] = P.useState(!1), [v, y] = P.useState("dark"), [C, _] = P.useState(!1), [h, E] = P.useState(!1);
|
|
1789
|
+
he.is = !0, he.MainButton.set = o, he.BackButton.set = c, P.useEffect(() => {
|
|
1790
|
+
V[v]["--tg-theme-bg-color-alpha"] = V[v]["--tg-theme-bg-color"] + "b3", V[v]["--tg-theme-secondary-bg-color-alpha"] = V[v]["--tg-theme-secondary-bg-color"] + "d3";
|
|
1791
|
+
for (let w in V[v])
|
|
1756
1792
|
document.documentElement.style.setProperty(
|
|
1757
|
-
|
|
1758
|
-
V[
|
|
1793
|
+
w,
|
|
1794
|
+
V[v][w]
|
|
1759
1795
|
);
|
|
1760
1796
|
re.WebApp.safeAreaInset.bottom === 0 && document.documentElement.style.setProperty(
|
|
1761
1797
|
"--tg-safe-area-inset-bottom",
|
|
1762
1798
|
"16px"
|
|
1763
1799
|
);
|
|
1764
1800
|
}, []);
|
|
1765
|
-
let d = (
|
|
1766
|
-
for (let N in V[
|
|
1767
|
-
document.documentElement.style.setProperty(N, V[
|
|
1768
|
-
|
|
1801
|
+
let d = (w) => {
|
|
1802
|
+
for (let N in V[w])
|
|
1803
|
+
document.documentElement.style.setProperty(N, V[w][N]);
|
|
1804
|
+
y(w), _(!1);
|
|
1769
1805
|
}, R = () => {
|
|
1770
|
-
_(!1),
|
|
1806
|
+
_(!1), E(!0);
|
|
1771
1807
|
};
|
|
1772
|
-
return /* @__PURE__ */
|
|
1773
|
-
/* @__PURE__ */
|
|
1774
|
-
i === !1 ? /* @__PURE__ */
|
|
1808
|
+
return /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
|
|
1809
|
+
/* @__PURE__ */ l.jsxs("header", { className: "debug", children: [
|
|
1810
|
+
i === !1 ? /* @__PURE__ */ l.jsx("div", { className: "b", children: "Отмена" }) : /* @__PURE__ */ l.jsx(
|
|
1775
1811
|
"div",
|
|
1776
1812
|
{
|
|
1777
1813
|
onClick: () => {
|
|
1778
|
-
var
|
|
1779
|
-
i.page === void 0 ? (
|
|
1814
|
+
var w;
|
|
1815
|
+
i.page === void 0 ? (w = i.callback) == null || w.call(i) : be.setPage(i.page);
|
|
1780
1816
|
},
|
|
1781
1817
|
className: "b",
|
|
1782
1818
|
children: "Назад"
|
|
1783
1819
|
}
|
|
1784
1820
|
),
|
|
1785
|
-
/* @__PURE__ */
|
|
1821
|
+
/* @__PURE__ */ l.jsx("div", { className: "o", onClick: () => _(!C), children: "Меню" })
|
|
1786
1822
|
] }),
|
|
1787
|
-
/* @__PURE__ */
|
|
1788
|
-
r && /* @__PURE__ */
|
|
1823
|
+
/* @__PURE__ */ l.jsx(Xe.Init, {}),
|
|
1824
|
+
r && /* @__PURE__ */ l.jsx("div", { className: "mb", children: /* @__PURE__ */ l.jsx(
|
|
1789
1825
|
"button",
|
|
1790
1826
|
{
|
|
1791
1827
|
onClick: () => {
|
|
1792
|
-
r.page &&
|
|
1828
|
+
r.page && be.setPage(r.page), r.callback && r.callback();
|
|
1793
1829
|
},
|
|
1794
1830
|
children: r.text
|
|
1795
1831
|
}
|
|
1796
1832
|
) }),
|
|
1797
|
-
|
|
1798
|
-
/* @__PURE__ */
|
|
1799
|
-
/* @__PURE__ */
|
|
1800
|
-
/* @__PURE__ */
|
|
1833
|
+
C ? /* @__PURE__ */ l.jsxs("div", { className: "tm", children: [
|
|
1834
|
+
/* @__PURE__ */ l.jsxs("ul", { children: [
|
|
1835
|
+
/* @__PURE__ */ l.jsx("li", { children: /* @__PURE__ */ l.jsx("button", { onClick: R, children: "Authorization" }) }),
|
|
1836
|
+
/* @__PURE__ */ l.jsx("li", {})
|
|
1801
1837
|
] }),
|
|
1802
|
-
/* @__PURE__ */
|
|
1803
|
-
/* @__PURE__ */
|
|
1804
|
-
/* @__PURE__ */
|
|
1805
|
-
/* @__PURE__ */
|
|
1806
|
-
/* @__PURE__ */
|
|
1838
|
+
/* @__PURE__ */ l.jsxs("ul", { children: [
|
|
1839
|
+
/* @__PURE__ */ l.jsxs("li", { children: [
|
|
1840
|
+
/* @__PURE__ */ l.jsx("button", { children: "Thema" }),
|
|
1841
|
+
/* @__PURE__ */ l.jsxs("ol", { children: [
|
|
1842
|
+
/* @__PURE__ */ l.jsx("li", { children: /* @__PURE__ */ l.jsx(
|
|
1807
1843
|
"button",
|
|
1808
1844
|
{
|
|
1809
1845
|
onClick: () => d("dark"),
|
|
1810
1846
|
children: "Dark"
|
|
1811
1847
|
}
|
|
1812
1848
|
) }),
|
|
1813
|
-
/* @__PURE__ */
|
|
1849
|
+
/* @__PURE__ */ l.jsx("li", { children: /* @__PURE__ */ l.jsx(
|
|
1814
1850
|
"button",
|
|
1815
1851
|
{
|
|
1816
1852
|
onClick: () => d("light"),
|
|
1817
1853
|
children: "Light"
|
|
1818
1854
|
}
|
|
1819
1855
|
) }),
|
|
1820
|
-
/* @__PURE__ */
|
|
1856
|
+
/* @__PURE__ */ l.jsx("li", { children: /* @__PURE__ */ l.jsx(
|
|
1821
1857
|
"button",
|
|
1822
1858
|
{
|
|
1823
1859
|
onClick: () => d("users"),
|
|
@@ -1826,10 +1862,10 @@ const sr = () => {
|
|
|
1826
1862
|
) })
|
|
1827
1863
|
] })
|
|
1828
1864
|
] }),
|
|
1829
|
-
/* @__PURE__ */
|
|
1865
|
+
/* @__PURE__ */ l.jsx("li", { children: /* @__PURE__ */ l.jsx("button", { onClick: () => _(!C), children: "Closed" }) })
|
|
1830
1866
|
] })
|
|
1831
1867
|
] }) : "",
|
|
1832
|
-
|
|
1868
|
+
h ? /* @__PURE__ */ l.jsx(cr, { setAuthorization: E }) : ""
|
|
1833
1869
|
] });
|
|
1834
1870
|
} else
|
|
1835
1871
|
return P.useEffect(() => {
|
|
@@ -1843,24 +1879,24 @@ const sr = () => {
|
|
|
1843
1879
|
"--tg-safe-area-inset-bottom",
|
|
1844
1880
|
"16px"
|
|
1845
1881
|
);
|
|
1846
|
-
}, []), /* @__PURE__ */
|
|
1882
|
+
}, []), /* @__PURE__ */ l.jsx(l.Fragment, { children: /* @__PURE__ */ l.jsx(Xe.Init, {}) });
|
|
1847
1883
|
};
|
|
1848
1884
|
var re;
|
|
1849
1885
|
((r) => {
|
|
1850
1886
|
r.WebApp = window.Telegram.WebApp, r.getUser = () => {
|
|
1851
1887
|
var o;
|
|
1852
1888
|
return ((o = r.WebApp.initDataUnsafe) == null ? void 0 : o.user) === void 0 ? {} : r.WebApp.initDataUnsafe;
|
|
1853
|
-
}, r.Notice = (o, i,
|
|
1854
|
-
var
|
|
1855
|
-
i !== void 0 ? (
|
|
1856
|
-
}, r.Header =
|
|
1889
|
+
}, r.Notice = (o, i, c) => {
|
|
1890
|
+
var v, y;
|
|
1891
|
+
i !== void 0 ? (Xe.Send({ type: o, text: i, thema: c }), (v = r.WebApp.HapticFeedback) == null || v.notificationOccurred(o)) : (Xe.Send(o), (y = r.WebApp.HapticFeedback) == null || y.notificationOccurred(o.type));
|
|
1892
|
+
}, r.Header = lr, r.Footer = ur, r.Bottomsheet = or, r.toggleBottomsheet = qe, r.Modal = wt, r.MainButton = {
|
|
1857
1893
|
callback: [],
|
|
1858
1894
|
set: (o) => {
|
|
1859
|
-
|
|
1895
|
+
he.is ? he.MainButton.set(o) : (r.WebApp.MainButton.callback.forEach((i) => {
|
|
1860
1896
|
r.WebApp.MainButton.offClick(i);
|
|
1861
1897
|
}), r.WebApp.MainButton.callback = [], typeof o == "boolean" ? r.WebApp.MainButton.isVisible = !1 : (r.WebApp.MainButton.text = o.text, o.color && (r.WebApp.MainButton.color = o.color), o.textColor && (r.WebApp.MainButton.textColor = o.textColor), r.WebApp.MainButton.isVisible = !0, r.WebApp.MainButton.isActive = o.isActive === void 0 ? !0 : o.isActive, r.WebApp.MainButton.callback.push(() => {
|
|
1862
1898
|
var i;
|
|
1863
|
-
o.page === void 0 ? (i = o.callback) == null || i.call(o) :
|
|
1899
|
+
o.page === void 0 ? (i = o.callback) == null || i.call(o) : be.setPage(o.page);
|
|
1864
1900
|
}), r.WebApp.MainButton.onClick(
|
|
1865
1901
|
r.WebApp.MainButton.callback[0]
|
|
1866
1902
|
)));
|
|
@@ -1874,40 +1910,48 @@ var re;
|
|
|
1874
1910
|
), r.BackButton.listen.shift(), r.WebApp.BackButton.state.length !== 1 && r.WebApp.BackButton.state.pop()) : (r.WebApp.BackButton.isVisible = !0, r.WebApp.BackButton.offClick(
|
|
1875
1911
|
r.BackButton.listen[0]
|
|
1876
1912
|
), r.BackButton.listen.shift(), r.BackButton.listen.push(() => {
|
|
1877
|
-
var
|
|
1913
|
+
var c;
|
|
1878
1914
|
let i = r.WebApp.BackButton.state.pop();
|
|
1879
|
-
i.page !== void 0 ?
|
|
1915
|
+
i.page !== void 0 ? be.setPage(i.page) : (c = i.callback) == null || c.call(i);
|
|
1880
1916
|
}), r.WebApp.BackButton.onClick(
|
|
1881
1917
|
r.BackButton.listen[0]
|
|
1882
1918
|
));
|
|
1883
1919
|
},
|
|
1884
1920
|
set: (o) => {
|
|
1885
|
-
|
|
1921
|
+
he.is ? he.BackButton.set(o) : (r.BackButton.state.push(o), r.BackButton.router(o));
|
|
1886
1922
|
}
|
|
1887
1923
|
};
|
|
1888
1924
|
})(re || (re = {}));
|
|
1889
|
-
const
|
|
1925
|
+
const cr = ({ setAuthorization: r }) => {
|
|
1890
1926
|
let o = {}, i = () => {
|
|
1891
1927
|
localStorage.setItem("auth", o);
|
|
1892
1928
|
};
|
|
1893
|
-
return /* @__PURE__ */
|
|
1894
|
-
/* @__PURE__ */
|
|
1895
|
-
/* @__PURE__ */
|
|
1929
|
+
return /* @__PURE__ */ l.jsx("div", { className: "ta", children: /* @__PURE__ */ l.jsxs("div", { className: "--body", children: [
|
|
1930
|
+
/* @__PURE__ */ l.jsx("fieldset", {}),
|
|
1931
|
+
/* @__PURE__ */ l.jsx("div", { onClick: i, children: " Сохранить " })
|
|
1896
1932
|
] }) });
|
|
1897
1933
|
}, {
|
|
1898
|
-
Header:
|
|
1899
|
-
Footer:
|
|
1900
|
-
|
|
1901
|
-
Modal:
|
|
1902
|
-
MainButton:
|
|
1903
|
-
BackButton:
|
|
1934
|
+
Header: dr,
|
|
1935
|
+
Footer: pr,
|
|
1936
|
+
toggleBottomsheet: vr,
|
|
1937
|
+
Modal: hr,
|
|
1938
|
+
MainButton: yr,
|
|
1939
|
+
BackButton: mr,
|
|
1940
|
+
Bottomsheet: gr,
|
|
1941
|
+
WebApp: br,
|
|
1942
|
+
getUser: _r,
|
|
1943
|
+
Notice: Rr
|
|
1904
1944
|
} = re;
|
|
1905
1945
|
export {
|
|
1906
|
-
|
|
1907
|
-
|
|
1908
|
-
|
|
1909
|
-
|
|
1910
|
-
|
|
1946
|
+
mr as BackButton,
|
|
1947
|
+
gr as Bottomsheet,
|
|
1948
|
+
pr as Footer,
|
|
1949
|
+
dr as Header,
|
|
1950
|
+
yr as MainButton,
|
|
1951
|
+
hr as Modal,
|
|
1952
|
+
Rr as Notice,
|
|
1953
|
+
br as WebApp,
|
|
1911
1954
|
re as default,
|
|
1912
|
-
|
|
1955
|
+
_r as getUser,
|
|
1956
|
+
vr as toggleBottomsheet
|
|
1913
1957
|
};
|