@elcrm/telegram 0.0.79 → 0.0.80
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/Menu/index.d.ts +19 -0
- package/dist/index.css +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.es.js +767 -729
- package/dist/index.umd.js +18 -18
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import './index.css';var
|
|
1
|
+
import D, { useState as le, useEffect as Xe } from "react";
|
|
2
|
+
import './index.css';var At = { exports: {} }, Ke = {};
|
|
3
3
|
/**
|
|
4
4
|
* @license React
|
|
5
5
|
* react-jsx-runtime.production.min.js
|
|
@@ -9,21 +9,21 @@ import './index.css';var Pt = { exports: {} }, Je = {};
|
|
|
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 =
|
|
17
|
-
function
|
|
18
|
-
var m, b = {},
|
|
19
|
-
x !== void 0 && (
|
|
20
|
-
for (m in v)
|
|
12
|
+
var Nt;
|
|
13
|
+
function Gt() {
|
|
14
|
+
if (Nt) return Ke;
|
|
15
|
+
Nt = 1;
|
|
16
|
+
var r = D, o = Symbol.for("react.element"), s = Symbol.for("react.fragment"), u = Object.prototype.hasOwnProperty, f = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, h = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
17
|
+
function C(R, v, x) {
|
|
18
|
+
var m, b = {}, k = null, $ = null;
|
|
19
|
+
x !== void 0 && (k = "" + x), v.key !== void 0 && (k = "" + v.key), v.ref !== void 0 && ($ = v.ref);
|
|
20
|
+
for (m in v) u.call(v, m) && !h.hasOwnProperty(m) && (b[m] = v[m]);
|
|
21
21
|
if (R && R.defaultProps) for (m in v = R.defaultProps, v) b[m] === void 0 && (b[m] = v[m]);
|
|
22
|
-
return { $$typeof: o, type: R, key:
|
|
22
|
+
return { $$typeof: o, type: R, key: k, ref: $, props: b, _owner: f.current };
|
|
23
23
|
}
|
|
24
|
-
return
|
|
24
|
+
return Ke.Fragment = s, Ke.jsx = C, Ke.jsxs = C, Ke;
|
|
25
25
|
}
|
|
26
|
-
var
|
|
26
|
+
var He = {};
|
|
27
27
|
/**
|
|
28
28
|
* @license React
|
|
29
29
|
* react-jsx-runtime.development.js
|
|
@@ -34,50 +34,50 @@ var qe = {};
|
|
|
34
34
|
* LICENSE file in the root directory of this source tree.
|
|
35
35
|
*/
|
|
36
36
|
var $t;
|
|
37
|
-
function
|
|
37
|
+
function Zt() {
|
|
38
38
|
return $t || ($t = 1, process.env.NODE_ENV !== "production" && function() {
|
|
39
|
-
var r =
|
|
40
|
-
function
|
|
39
|
+
var r = D, o = Symbol.for("react.element"), s = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), f = Symbol.for("react.strict_mode"), h = Symbol.for("react.profiler"), C = Symbol.for("react.provider"), R = Symbol.for("react.context"), v = Symbol.for("react.forward_ref"), x = Symbol.for("react.suspense"), m = Symbol.for("react.suspense_list"), b = Symbol.for("react.memo"), k = Symbol.for("react.lazy"), $ = Symbol.for("react.offscreen"), A = Symbol.iterator, Se = "@@iterator";
|
|
40
|
+
function xe(e) {
|
|
41
41
|
if (e === null || typeof e != "object")
|
|
42
42
|
return null;
|
|
43
|
-
var t = A && e[A] || e[
|
|
43
|
+
var t = A && e[A] || e[Se];
|
|
44
44
|
return typeof t == "function" ? t : null;
|
|
45
45
|
}
|
|
46
|
-
var
|
|
46
|
+
var F = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
47
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
|
+
Re("error", e, n);
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
|
-
function
|
|
54
|
+
function Re(e, t, n) {
|
|
55
55
|
{
|
|
56
|
-
var a =
|
|
57
|
-
|
|
58
|
-
var p = n.map(function(
|
|
59
|
-
return String(
|
|
56
|
+
var a = F.ReactDebugCurrentFrame, d = a.getStackAddendum();
|
|
57
|
+
d !== "" && (t += "%s", n = n.concat([d]));
|
|
58
|
+
var p = n.map(function(c) {
|
|
59
|
+
return String(c);
|
|
60
60
|
});
|
|
61
61
|
p.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, p);
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
|
-
var
|
|
65
|
-
|
|
66
|
-
function
|
|
67
|
-
return !!(typeof e == "string" || typeof e == "function" || e ===
|
|
64
|
+
var je = !1, Oe = !1, g = !1, E = !1, I = !1, M;
|
|
65
|
+
M = Symbol.for("react.module.reference");
|
|
66
|
+
function U(e) {
|
|
67
|
+
return !!(typeof e == "string" || typeof e == "function" || e === u || e === h || I || e === f || e === x || e === m || E || e === $ || je || Oe || g || typeof e == "object" && e !== null && (e.$$typeof === k || e.$$typeof === b || e.$$typeof === C || e.$$typeof === R || e.$$typeof === v || // 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 === M || e.getModuleId !== void 0));
|
|
72
72
|
}
|
|
73
73
|
function ae(e, t, n) {
|
|
74
74
|
var a = e.displayName;
|
|
75
75
|
if (a)
|
|
76
76
|
return a;
|
|
77
|
-
var
|
|
78
|
-
return
|
|
77
|
+
var d = t.displayName || t.name || "";
|
|
78
|
+
return d !== "" ? n + "(" + d + ")" : n;
|
|
79
79
|
}
|
|
80
|
-
function
|
|
80
|
+
function se(e) {
|
|
81
81
|
return e.displayName || "Context";
|
|
82
82
|
}
|
|
83
83
|
function T(e) {
|
|
@@ -88,13 +88,13 @@ function Gt() {
|
|
|
88
88
|
if (typeof e == "string")
|
|
89
89
|
return e;
|
|
90
90
|
switch (e) {
|
|
91
|
-
case
|
|
91
|
+
case u:
|
|
92
92
|
return "Fragment";
|
|
93
|
-
case
|
|
93
|
+
case s:
|
|
94
94
|
return "Portal";
|
|
95
95
|
case h:
|
|
96
96
|
return "Profiler";
|
|
97
|
-
case
|
|
97
|
+
case f:
|
|
98
98
|
return "StrictMode";
|
|
99
99
|
case x:
|
|
100
100
|
return "Suspense";
|
|
@@ -105,19 +105,19 @@ function Gt() {
|
|
|
105
105
|
switch (e.$$typeof) {
|
|
106
106
|
case R:
|
|
107
107
|
var t = e;
|
|
108
|
-
return
|
|
109
|
-
case
|
|
108
|
+
return se(t) + ".Consumer";
|
|
109
|
+
case C:
|
|
110
110
|
var n = e;
|
|
111
|
-
return
|
|
111
|
+
return se(n._context) + ".Provider";
|
|
112
112
|
case v:
|
|
113
113
|
return ae(e, e.render, "ForwardRef");
|
|
114
114
|
case b:
|
|
115
115
|
var a = e.displayName || null;
|
|
116
116
|
return a !== null ? a : T(e.type) || "Memo";
|
|
117
|
-
case
|
|
118
|
-
var
|
|
117
|
+
case k: {
|
|
118
|
+
var d = e, p = d._payload, c = d._init;
|
|
119
119
|
try {
|
|
120
|
-
return T(
|
|
120
|
+
return T(c(p));
|
|
121
121
|
} catch {
|
|
122
122
|
return null;
|
|
123
123
|
}
|
|
@@ -125,18 +125,18 @@ function Gt() {
|
|
|
125
125
|
}
|
|
126
126
|
return null;
|
|
127
127
|
}
|
|
128
|
-
var
|
|
129
|
-
function
|
|
128
|
+
var N = Object.assign, B = 0, K, H, G, Ce, we, Pe, Ae;
|
|
129
|
+
function Te() {
|
|
130
130
|
}
|
|
131
|
-
|
|
132
|
-
function
|
|
131
|
+
Te.__reactDisabledLog = !0;
|
|
132
|
+
function ot() {
|
|
133
133
|
{
|
|
134
|
-
if (
|
|
135
|
-
K = console.log, H = console.info, G = console.warn,
|
|
134
|
+
if (B === 0) {
|
|
135
|
+
K = console.log, H = console.info, G = console.warn, Ce = console.error, we = console.group, Pe = console.groupCollapsed, Ae = console.groupEnd;
|
|
136
136
|
var e = {
|
|
137
137
|
configurable: !0,
|
|
138
138
|
enumerable: !0,
|
|
139
|
-
value:
|
|
139
|
+
value: Te,
|
|
140
140
|
writable: !0
|
|
141
141
|
};
|
|
142
142
|
Object.defineProperties(console, {
|
|
@@ -149,64 +149,64 @@ function Gt() {
|
|
|
149
149
|
groupEnd: e
|
|
150
150
|
});
|
|
151
151
|
}
|
|
152
|
-
|
|
152
|
+
B++;
|
|
153
153
|
}
|
|
154
154
|
}
|
|
155
|
-
function
|
|
155
|
+
function at() {
|
|
156
156
|
{
|
|
157
|
-
if (
|
|
157
|
+
if (B--, B === 0) {
|
|
158
158
|
var e = {
|
|
159
159
|
configurable: !0,
|
|
160
160
|
enumerable: !0,
|
|
161
161
|
writable: !0
|
|
162
162
|
};
|
|
163
163
|
Object.defineProperties(console, {
|
|
164
|
-
log:
|
|
164
|
+
log: N({}, e, {
|
|
165
165
|
value: K
|
|
166
166
|
}),
|
|
167
|
-
info:
|
|
167
|
+
info: N({}, e, {
|
|
168
168
|
value: H
|
|
169
169
|
}),
|
|
170
|
-
warn:
|
|
170
|
+
warn: N({}, e, {
|
|
171
171
|
value: G
|
|
172
172
|
}),
|
|
173
|
-
error:
|
|
174
|
-
value:
|
|
175
|
-
}),
|
|
176
|
-
group: $({}, e, {
|
|
177
|
-
value: je
|
|
173
|
+
error: N({}, e, {
|
|
174
|
+
value: Ce
|
|
178
175
|
}),
|
|
179
|
-
|
|
176
|
+
group: N({}, e, {
|
|
180
177
|
value: we
|
|
181
178
|
}),
|
|
182
|
-
|
|
183
|
-
value:
|
|
179
|
+
groupCollapsed: N({}, e, {
|
|
180
|
+
value: Pe
|
|
181
|
+
}),
|
|
182
|
+
groupEnd: N({}, e, {
|
|
183
|
+
value: Ae
|
|
184
184
|
})
|
|
185
185
|
});
|
|
186
186
|
}
|
|
187
|
-
|
|
187
|
+
B < 0 && S("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
188
188
|
}
|
|
189
189
|
}
|
|
190
|
-
var
|
|
190
|
+
var ce = F.ReactCurrentDispatcher, ue;
|
|
191
191
|
function X(e, t, n) {
|
|
192
192
|
{
|
|
193
|
-
if (
|
|
193
|
+
if (ue === void 0)
|
|
194
194
|
try {
|
|
195
195
|
throw Error();
|
|
196
|
-
} catch (
|
|
197
|
-
var a =
|
|
198
|
-
|
|
196
|
+
} catch (d) {
|
|
197
|
+
var a = d.stack.trim().match(/\n( *(at )?)/);
|
|
198
|
+
ue = a && a[1] || "";
|
|
199
199
|
}
|
|
200
200
|
return `
|
|
201
|
-
` +
|
|
201
|
+
` + ue + e;
|
|
202
202
|
}
|
|
203
203
|
}
|
|
204
204
|
var fe = !1, Q;
|
|
205
205
|
{
|
|
206
|
-
var
|
|
207
|
-
Q = new
|
|
206
|
+
var st = typeof WeakMap == "function" ? WeakMap : Map;
|
|
207
|
+
Q = new st();
|
|
208
208
|
}
|
|
209
|
-
function
|
|
209
|
+
function Ie(e, t) {
|
|
210
210
|
if (!e || fe)
|
|
211
211
|
return "";
|
|
212
212
|
{
|
|
@@ -216,55 +216,55 @@ function Gt() {
|
|
|
216
216
|
}
|
|
217
217
|
var a;
|
|
218
218
|
fe = !0;
|
|
219
|
-
var
|
|
219
|
+
var d = Error.prepareStackTrace;
|
|
220
220
|
Error.prepareStackTrace = void 0;
|
|
221
221
|
var p;
|
|
222
|
-
p =
|
|
222
|
+
p = ce.current, ce.current = null, ot();
|
|
223
223
|
try {
|
|
224
224
|
if (t) {
|
|
225
|
-
var
|
|
225
|
+
var c = function() {
|
|
226
226
|
throw Error();
|
|
227
227
|
};
|
|
228
|
-
if (Object.defineProperty(
|
|
228
|
+
if (Object.defineProperty(c.prototype, "props", {
|
|
229
229
|
set: function() {
|
|
230
230
|
throw Error();
|
|
231
231
|
}
|
|
232
232
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
233
233
|
try {
|
|
234
|
-
Reflect.construct(
|
|
235
|
-
} catch (
|
|
236
|
-
a =
|
|
234
|
+
Reflect.construct(c, []);
|
|
235
|
+
} catch (O) {
|
|
236
|
+
a = O;
|
|
237
237
|
}
|
|
238
|
-
Reflect.construct(e, [],
|
|
238
|
+
Reflect.construct(e, [], c);
|
|
239
239
|
} else {
|
|
240
240
|
try {
|
|
241
|
-
|
|
242
|
-
} catch (
|
|
243
|
-
a =
|
|
241
|
+
c.call();
|
|
242
|
+
} catch (O) {
|
|
243
|
+
a = O;
|
|
244
244
|
}
|
|
245
|
-
e.call(
|
|
245
|
+
e.call(c.prototype);
|
|
246
246
|
}
|
|
247
247
|
} else {
|
|
248
248
|
try {
|
|
249
249
|
throw Error();
|
|
250
|
-
} catch (
|
|
251
|
-
a =
|
|
250
|
+
} catch (O) {
|
|
251
|
+
a = O;
|
|
252
252
|
}
|
|
253
253
|
e();
|
|
254
254
|
}
|
|
255
|
-
} catch (
|
|
256
|
-
if (
|
|
257
|
-
for (var
|
|
258
|
-
`),
|
|
259
|
-
`), y =
|
|
255
|
+
} catch (O) {
|
|
256
|
+
if (O && a && typeof O.stack == "string") {
|
|
257
|
+
for (var l = O.stack.split(`
|
|
258
|
+
`), j = a.stack.split(`
|
|
259
|
+
`), y = l.length - 1, _ = j.length - 1; y >= 1 && _ >= 0 && l[y] !== j[_]; )
|
|
260
260
|
_--;
|
|
261
261
|
for (; y >= 1 && _ >= 0; y--, _--)
|
|
262
|
-
if (
|
|
262
|
+
if (l[y] !== j[_]) {
|
|
263
263
|
if (y !== 1 || _ !== 1)
|
|
264
264
|
do
|
|
265
|
-
if (y--, _--, _ < 0 ||
|
|
265
|
+
if (y--, _--, _ < 0 || l[y] !== j[_]) {
|
|
266
266
|
var P = `
|
|
267
|
-
` +
|
|
267
|
+
` + l[y].replace(" at new ", " at ");
|
|
268
268
|
return e.displayName && P.includes("<anonymous>") && (P = P.replace("<anonymous>", e.displayName)), typeof e == "function" && Q.set(e, P), P;
|
|
269
269
|
}
|
|
270
270
|
while (y >= 1 && _ >= 0);
|
|
@@ -272,15 +272,15 @@ function Gt() {
|
|
|
272
272
|
}
|
|
273
273
|
}
|
|
274
274
|
} finally {
|
|
275
|
-
fe = !1,
|
|
275
|
+
fe = !1, ce.current = p, at(), Error.prepareStackTrace = d;
|
|
276
276
|
}
|
|
277
|
-
var
|
|
277
|
+
var V = e ? e.displayName || e.name : "", W = V ? X(V) : "";
|
|
278
278
|
return typeof e == "function" && Q.set(e, W), W;
|
|
279
279
|
}
|
|
280
280
|
function it(e, t, n) {
|
|
281
|
-
return
|
|
281
|
+
return Ie(e, !1);
|
|
282
282
|
}
|
|
283
|
-
function
|
|
283
|
+
function lt(e) {
|
|
284
284
|
var t = e.prototype;
|
|
285
285
|
return !!(t && t.isReactComponent);
|
|
286
286
|
}
|
|
@@ -288,7 +288,7 @@ function Gt() {
|
|
|
288
288
|
if (e == null)
|
|
289
289
|
return "";
|
|
290
290
|
if (typeof e == "function")
|
|
291
|
-
return
|
|
291
|
+
return Ie(e, lt(e));
|
|
292
292
|
if (typeof e == "string")
|
|
293
293
|
return X(e);
|
|
294
294
|
switch (e) {
|
|
@@ -303,40 +303,40 @@ function Gt() {
|
|
|
303
303
|
return it(e.render);
|
|
304
304
|
case b:
|
|
305
305
|
return ee(e.type, t, n);
|
|
306
|
-
case
|
|
307
|
-
var a = e,
|
|
306
|
+
case k: {
|
|
307
|
+
var a = e, d = a._payload, p = a._init;
|
|
308
308
|
try {
|
|
309
|
-
return ee(p(
|
|
309
|
+
return ee(p(d), t, n);
|
|
310
310
|
} catch {
|
|
311
311
|
}
|
|
312
312
|
}
|
|
313
313
|
}
|
|
314
314
|
return "";
|
|
315
315
|
}
|
|
316
|
-
var z = Object.prototype.hasOwnProperty,
|
|
316
|
+
var z = Object.prototype.hasOwnProperty, Ne = {}, $e = F.ReactDebugCurrentFrame;
|
|
317
317
|
function te(e) {
|
|
318
318
|
if (e) {
|
|
319
319
|
var t = e._owner, n = ee(e.type, e._source, t ? t.type : null);
|
|
320
|
-
|
|
320
|
+
$e.setExtraStackFrame(n);
|
|
321
321
|
} else
|
|
322
|
-
|
|
322
|
+
$e.setExtraStackFrame(null);
|
|
323
323
|
}
|
|
324
|
-
function
|
|
324
|
+
function ct(e, t, n, a, d) {
|
|
325
325
|
{
|
|
326
326
|
var p = Function.call.bind(z);
|
|
327
|
-
for (var
|
|
328
|
-
if (p(e,
|
|
329
|
-
var
|
|
327
|
+
for (var c in e)
|
|
328
|
+
if (p(e, c)) {
|
|
329
|
+
var l = void 0;
|
|
330
330
|
try {
|
|
331
|
-
if (typeof e[
|
|
332
|
-
var
|
|
333
|
-
throw
|
|
331
|
+
if (typeof e[c] != "function") {
|
|
332
|
+
var j = Error((a || "React class") + ": " + n + " type `" + c + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[c] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
333
|
+
throw j.name = "Invariant Violation", j;
|
|
334
334
|
}
|
|
335
|
-
|
|
335
|
+
l = e[c](t, c, a, n, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
336
336
|
} catch (y) {
|
|
337
|
-
|
|
337
|
+
l = y;
|
|
338
338
|
}
|
|
339
|
-
|
|
339
|
+
l && !(l instanceof Error) && (te(d), 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, c, typeof l), te(null)), l instanceof Error && !(l.message in Ne) && (Ne[l.message] = !0, te(d), S("Failed %s type: %s", n, l.message), te(null));
|
|
340
340
|
}
|
|
341
341
|
}
|
|
342
342
|
}
|
|
@@ -344,33 +344,33 @@ function Gt() {
|
|
|
344
344
|
function de(e) {
|
|
345
345
|
return ut(e);
|
|
346
346
|
}
|
|
347
|
-
function
|
|
347
|
+
function ft(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 dt(e) {
|
|
354
354
|
try {
|
|
355
|
-
return
|
|
355
|
+
return De(e), !1;
|
|
356
356
|
} catch {
|
|
357
357
|
return !0;
|
|
358
358
|
}
|
|
359
359
|
}
|
|
360
|
-
function
|
|
360
|
+
function De(e) {
|
|
361
361
|
return "" + e;
|
|
362
362
|
}
|
|
363
|
-
function
|
|
364
|
-
if (
|
|
365
|
-
return S("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",
|
|
363
|
+
function Me(e) {
|
|
364
|
+
if (dt(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.", ft(e)), De(e);
|
|
366
366
|
}
|
|
367
|
-
var
|
|
367
|
+
var Be = F.ReactCurrentOwner, pt = {
|
|
368
368
|
key: !0,
|
|
369
369
|
ref: !0,
|
|
370
370
|
__self: !0,
|
|
371
371
|
__source: !0
|
|
372
|
-
},
|
|
373
|
-
function
|
|
372
|
+
}, Fe, We;
|
|
373
|
+
function vt(e) {
|
|
374
374
|
if (z.call(e, "ref")) {
|
|
375
375
|
var t = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
376
376
|
if (t && t.isReactWarning)
|
|
@@ -378,7 +378,7 @@ function Gt() {
|
|
|
378
378
|
}
|
|
379
379
|
return e.ref !== void 0;
|
|
380
380
|
}
|
|
381
|
-
function
|
|
381
|
+
function mt(e) {
|
|
382
382
|
if (z.call(e, "key")) {
|
|
383
383
|
var t = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
384
384
|
if (t && t.isReactWarning)
|
|
@@ -386,13 +386,13 @@ function Gt() {
|
|
|
386
386
|
}
|
|
387
387
|
return e.key !== void 0;
|
|
388
388
|
}
|
|
389
|
-
function mt(e, t) {
|
|
390
|
-
typeof e.ref == "string" && Ne.current;
|
|
391
|
-
}
|
|
392
389
|
function ht(e, t) {
|
|
390
|
+
typeof e.ref == "string" && Be.current;
|
|
391
|
+
}
|
|
392
|
+
function gt(e, t) {
|
|
393
393
|
{
|
|
394
394
|
var n = function() {
|
|
395
|
-
|
|
395
|
+
Fe || (Fe = !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 Gt() {
|
|
|
400
400
|
});
|
|
401
401
|
}
|
|
402
402
|
}
|
|
403
|
-
function
|
|
403
|
+
function yt(e, t) {
|
|
404
404
|
{
|
|
405
405
|
var n = function() {
|
|
406
|
-
|
|
406
|
+
We || (We = !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,67 +411,67 @@ function Gt() {
|
|
|
411
411
|
});
|
|
412
412
|
}
|
|
413
413
|
}
|
|
414
|
-
var
|
|
415
|
-
var
|
|
414
|
+
var bt = function(e, t, n, a, d, p, c) {
|
|
415
|
+
var l = {
|
|
416
416
|
// This tag allows us to uniquely identify this as a React Element
|
|
417
417
|
$$typeof: o,
|
|
418
418
|
// Built-in properties that belong on the element
|
|
419
419
|
type: e,
|
|
420
420
|
key: t,
|
|
421
421
|
ref: n,
|
|
422
|
-
props:
|
|
422
|
+
props: c,
|
|
423
423
|
// Record the component responsible for creating this element.
|
|
424
424
|
_owner: p
|
|
425
425
|
};
|
|
426
|
-
return
|
|
426
|
+
return l._store = {}, Object.defineProperty(l._store, "validated", {
|
|
427
427
|
configurable: !1,
|
|
428
428
|
enumerable: !1,
|
|
429
429
|
writable: !0,
|
|
430
430
|
value: !1
|
|
431
|
-
}), Object.defineProperty(
|
|
431
|
+
}), Object.defineProperty(l, "_self", {
|
|
432
432
|
configurable: !1,
|
|
433
433
|
enumerable: !1,
|
|
434
434
|
writable: !1,
|
|
435
435
|
value: a
|
|
436
|
-
}), Object.defineProperty(
|
|
436
|
+
}), Object.defineProperty(l, "_source", {
|
|
437
437
|
configurable: !1,
|
|
438
438
|
enumerable: !1,
|
|
439
439
|
writable: !1,
|
|
440
|
-
value:
|
|
441
|
-
}), Object.freeze && (Object.freeze(
|
|
440
|
+
value: d
|
|
441
|
+
}), Object.freeze && (Object.freeze(l.props), Object.freeze(l)), l;
|
|
442
442
|
};
|
|
443
|
-
function
|
|
443
|
+
function _t(e, t, n, a, d) {
|
|
444
444
|
{
|
|
445
|
-
var p,
|
|
446
|
-
n !== void 0 && (
|
|
445
|
+
var p, c = {}, l = null, j = null;
|
|
446
|
+
n !== void 0 && (Me(n), l = "" + n), mt(t) && (Me(t.key), l = "" + t.key), vt(t) && (j = t.ref, ht(t, d));
|
|
447
447
|
for (p in t)
|
|
448
|
-
z.call(t, p) && !
|
|
448
|
+
z.call(t, p) && !pt.hasOwnProperty(p) && (c[p] = t[p]);
|
|
449
449
|
if (e && e.defaultProps) {
|
|
450
450
|
var y = e.defaultProps;
|
|
451
451
|
for (p in y)
|
|
452
|
-
|
|
452
|
+
c[p] === void 0 && (c[p] = y[p]);
|
|
453
453
|
}
|
|
454
|
-
if (
|
|
454
|
+
if (l || j) {
|
|
455
455
|
var _ = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
456
|
-
|
|
456
|
+
l && gt(c, _), j && yt(c, _);
|
|
457
457
|
}
|
|
458
|
-
return
|
|
458
|
+
return bt(e, l, j, d, a, Be.current, c);
|
|
459
459
|
}
|
|
460
460
|
}
|
|
461
|
-
var pe =
|
|
462
|
-
function
|
|
461
|
+
var pe = F.ReactCurrentOwner, Le = F.ReactDebugCurrentFrame;
|
|
462
|
+
function Y(e) {
|
|
463
463
|
if (e) {
|
|
464
464
|
var t = e._owner, n = ee(e.type, e._source, t ? t.type : null);
|
|
465
|
-
|
|
465
|
+
Le.setExtraStackFrame(n);
|
|
466
466
|
} else
|
|
467
|
-
|
|
467
|
+
Le.setExtraStackFrame(null);
|
|
468
468
|
}
|
|
469
469
|
var ve;
|
|
470
470
|
ve = !1;
|
|
471
471
|
function me(e) {
|
|
472
472
|
return typeof e == "object" && e !== null && e.$$typeof === o;
|
|
473
473
|
}
|
|
474
|
-
function
|
|
474
|
+
function Ue() {
|
|
475
475
|
{
|
|
476
476
|
if (pe.current) {
|
|
477
477
|
var e = T(pe.current.type);
|
|
@@ -483,13 +483,13 @@ Check the render method of \`` + e + "`.";
|
|
|
483
483
|
return "";
|
|
484
484
|
}
|
|
485
485
|
}
|
|
486
|
-
function
|
|
486
|
+
function Rt(e) {
|
|
487
487
|
return "";
|
|
488
488
|
}
|
|
489
|
-
var
|
|
490
|
-
function
|
|
489
|
+
var Ye = {};
|
|
490
|
+
function kt(e) {
|
|
491
491
|
{
|
|
492
|
-
var t =
|
|
492
|
+
var t = Ue();
|
|
493
493
|
if (!t) {
|
|
494
494
|
var n = typeof e == "string" ? e : e.displayName || e.name;
|
|
495
495
|
n && (t = `
|
|
@@ -499,35 +499,35 @@ Check the top-level render call using <` + n + ">.");
|
|
|
499
499
|
return t;
|
|
500
500
|
}
|
|
501
501
|
}
|
|
502
|
-
function
|
|
502
|
+
function Ve(e, t) {
|
|
503
503
|
{
|
|
504
504
|
if (!e._store || e._store.validated || e.key != null)
|
|
505
505
|
return;
|
|
506
506
|
e._store.validated = !0;
|
|
507
|
-
var n =
|
|
508
|
-
if (
|
|
507
|
+
var n = kt(t);
|
|
508
|
+
if (Ye[n])
|
|
509
509
|
return;
|
|
510
|
-
|
|
510
|
+
Ye[n] = !0;
|
|
511
511
|
var a = "";
|
|
512
|
-
e && e._owner && e._owner !== pe.current && (a = " It was passed a child from " + T(e._owner.type) + "."),
|
|
512
|
+
e && e._owner && e._owner !== pe.current && (a = " It was passed a child from " + T(e._owner.type) + "."), Y(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), Y(null);
|
|
513
513
|
}
|
|
514
514
|
}
|
|
515
|
-
function
|
|
515
|
+
function ze(e, t) {
|
|
516
516
|
{
|
|
517
517
|
if (typeof e != "object")
|
|
518
518
|
return;
|
|
519
519
|
if (de(e))
|
|
520
520
|
for (var n = 0; n < e.length; n++) {
|
|
521
521
|
var a = e[n];
|
|
522
|
-
me(a) &&
|
|
522
|
+
me(a) && Ve(a, t);
|
|
523
523
|
}
|
|
524
524
|
else if (me(e))
|
|
525
525
|
e._store && (e._store.validated = !0);
|
|
526
526
|
else if (e) {
|
|
527
|
-
var
|
|
528
|
-
if (typeof
|
|
529
|
-
for (var p =
|
|
530
|
-
me(
|
|
527
|
+
var d = xe(e);
|
|
528
|
+
if (typeof d == "function" && d !== e.entries)
|
|
529
|
+
for (var p = d.call(e), c; !(c = p.next()).done; )
|
|
530
|
+
me(c.value) && Ve(c.value, t);
|
|
531
531
|
}
|
|
532
532
|
}
|
|
533
533
|
}
|
|
@@ -547,230 +547,230 @@ Check the top-level render call using <` + n + ">.");
|
|
|
547
547
|
return;
|
|
548
548
|
if (n) {
|
|
549
549
|
var a = T(t);
|
|
550
|
-
|
|
550
|
+
ct(n, e.props, "prop", a, e);
|
|
551
551
|
} else if (t.PropTypes !== void 0 && !ve) {
|
|
552
552
|
ve = !0;
|
|
553
|
-
var
|
|
554
|
-
S("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",
|
|
553
|
+
var d = T(t);
|
|
554
|
+
S("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", d || "Unknown");
|
|
555
555
|
}
|
|
556
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
|
-
function
|
|
559
|
+
function St(e) {
|
|
560
560
|
{
|
|
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
|
-
|
|
564
|
+
Y(e), S("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", a), Y(null);
|
|
565
565
|
break;
|
|
566
566
|
}
|
|
567
567
|
}
|
|
568
|
-
e.ref !== null && (
|
|
568
|
+
e.ref !== null && (Y(e), S("Invalid attribute `ref` supplied to `React.Fragment`."), Y(null));
|
|
569
569
|
}
|
|
570
570
|
}
|
|
571
|
-
var
|
|
572
|
-
function
|
|
571
|
+
var Je = {};
|
|
572
|
+
function qe(e, t, n, a, d, p) {
|
|
573
573
|
{
|
|
574
|
-
var
|
|
575
|
-
if (!
|
|
576
|
-
var
|
|
577
|
-
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (
|
|
578
|
-
var
|
|
579
|
-
|
|
574
|
+
var c = U(e);
|
|
575
|
+
if (!c) {
|
|
576
|
+
var l = "";
|
|
577
|
+
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (l += " 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
|
+
var j = Rt();
|
|
579
|
+
j ? l += j : l += Ue();
|
|
580
580
|
var y;
|
|
581
|
-
e === null ? y = "null" : de(e) ? y = "array" : e !== void 0 && e.$$typeof === o ? (y = "<" + (T(e.type) || "Unknown") + " />",
|
|
581
|
+
e === null ? y = "null" : de(e) ? y = "array" : e !== void 0 && e.$$typeof === o ? (y = "<" + (T(e.type) || "Unknown") + " />", l = " Did you accidentally export a JSX literal instead of a component?") : y = 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", y, l);
|
|
582
582
|
}
|
|
583
|
-
var _ =
|
|
583
|
+
var _ = _t(e, t, n, d, p);
|
|
584
584
|
if (_ == null)
|
|
585
585
|
return _;
|
|
586
|
-
if (
|
|
586
|
+
if (c) {
|
|
587
587
|
var P = t.children;
|
|
588
588
|
if (P !== void 0)
|
|
589
589
|
if (a)
|
|
590
590
|
if (de(P)) {
|
|
591
|
-
for (var
|
|
592
|
-
|
|
591
|
+
for (var V = 0; V < P.length; V++)
|
|
592
|
+
ze(P[V], e);
|
|
593
593
|
Object.freeze && Object.freeze(P);
|
|
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
|
+
ze(P, e);
|
|
598
598
|
}
|
|
599
599
|
if (z.call(t, "key")) {
|
|
600
|
-
var W = T(e),
|
|
601
|
-
return
|
|
602
|
-
}), he =
|
|
603
|
-
if (!
|
|
604
|
-
var wt =
|
|
600
|
+
var W = T(e), O = Object.keys(t).filter(function(Pt) {
|
|
601
|
+
return Pt !== "key";
|
|
602
|
+
}), he = O.length > 0 ? "{key: someKey, " + O.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
603
|
+
if (!Je[W + he]) {
|
|
604
|
+
var wt = O.length > 0 ? "{" + O.join(": ..., ") + ": ...}" : "{}";
|
|
605
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} />`, he, W, wt, W),
|
|
610
|
+
<%s key={someKey} {...props} />`, he, W, wt, W), Je[W + he] = !0;
|
|
611
611
|
}
|
|
612
612
|
}
|
|
613
|
-
return e ===
|
|
613
|
+
return e === u ? St(_) : Et(_), _;
|
|
614
614
|
}
|
|
615
615
|
}
|
|
616
|
-
function St(e, t, n) {
|
|
617
|
-
return ze(e, t, n, !0);
|
|
618
|
-
}
|
|
619
616
|
function xt(e, t, n) {
|
|
620
|
-
return
|
|
617
|
+
return qe(e, t, n, !0);
|
|
618
|
+
}
|
|
619
|
+
function jt(e, t, n) {
|
|
620
|
+
return qe(e, t, n, !1);
|
|
621
621
|
}
|
|
622
|
-
var Ot =
|
|
623
|
-
|
|
624
|
-
}()),
|
|
622
|
+
var Ot = jt, Ct = xt;
|
|
623
|
+
He.Fragment = u, He.jsx = Ot, He.jsxs = Ct;
|
|
624
|
+
}()), He;
|
|
625
625
|
}
|
|
626
|
-
process.env.NODE_ENV === "production" ?
|
|
627
|
-
var
|
|
626
|
+
process.env.NODE_ENV === "production" ? At.exports = Gt() : At.exports = Zt();
|
|
627
|
+
var i = At.exports;
|
|
628
628
|
let Z = {};
|
|
629
|
-
var
|
|
629
|
+
var Tt;
|
|
630
630
|
((r) => {
|
|
631
631
|
function o({ children: R }) {
|
|
632
632
|
const [v, x] = le(!1), [m, b] = le(!1);
|
|
633
633
|
if (Z.onClose = () => {
|
|
634
|
-
|
|
634
|
+
L.BackButton(!1), b(!0), setTimeout(() => {
|
|
635
635
|
x(!1), b(!1);
|
|
636
636
|
}, 300);
|
|
637
|
-
},
|
|
638
|
-
v ? Z.onClose() : (
|
|
637
|
+
}, Xe(() => {
|
|
638
|
+
v ? Z.onClose() : (L.BackButton({
|
|
639
639
|
callback: () => Z.onClose()
|
|
640
640
|
}), x(!0));
|
|
641
641
|
}, []), !!v)
|
|
642
|
-
return /* @__PURE__ */
|
|
642
|
+
return /* @__PURE__ */ i.jsx("div", { className: `modal-overlay ${m ? "closing" : ""}`, children: /* @__PURE__ */ i.jsx("div", { className: `modal-popup ${m ? "closing" : ""}`, children: /* @__PURE__ */ i.jsx("div", { children: R }) }) });
|
|
643
643
|
}
|
|
644
644
|
r.Content = o;
|
|
645
|
-
function
|
|
645
|
+
function s({
|
|
646
646
|
import_modules: R
|
|
647
647
|
}) {
|
|
648
648
|
let [v, x] = le([]);
|
|
649
649
|
return Z.x = (m) => {
|
|
650
650
|
x(m ? v.filter((b) => b.key !== m) : []);
|
|
651
|
-
},
|
|
651
|
+
}, Xe(() => {
|
|
652
652
|
R && (Z.i = R);
|
|
653
653
|
}, []), Z.add = (m, b = Date.now()) => {
|
|
654
654
|
x([...v, { key: b, item: m }]);
|
|
655
|
-
}, /* @__PURE__ */
|
|
655
|
+
}, /* @__PURE__ */ i.jsx(i.Fragment, { children: v.map((m) => m.item) });
|
|
656
656
|
}
|
|
657
|
-
r.Init =
|
|
658
|
-
function
|
|
659
|
-
Z.add(/* @__PURE__ */
|
|
657
|
+
r.Init = s;
|
|
658
|
+
function u(R, v) {
|
|
659
|
+
Z.add(/* @__PURE__ */ i.jsx(o, { children: R }, String(Date.now())), v);
|
|
660
660
|
}
|
|
661
|
-
r.Add =
|
|
662
|
-
function
|
|
661
|
+
r.Add = u;
|
|
662
|
+
function f(R) {
|
|
663
663
|
return {
|
|
664
664
|
Open: (m) => {
|
|
665
665
|
r.Add(
|
|
666
|
-
/* @__PURE__ */
|
|
666
|
+
/* @__PURE__ */ i.jsx(R, { ...m }, (/* @__PURE__ */ new Date()).getTime())
|
|
667
667
|
);
|
|
668
668
|
}
|
|
669
669
|
};
|
|
670
670
|
}
|
|
671
|
-
r.Create =
|
|
671
|
+
r.Create = f;
|
|
672
672
|
function h() {
|
|
673
673
|
Z.onClose();
|
|
674
674
|
}
|
|
675
675
|
r.Close = h;
|
|
676
|
-
function
|
|
676
|
+
function C(R, v, x) {
|
|
677
677
|
Z.i && Z.i(`${R}/modals/${v}.tsx`).then((m) => {
|
|
678
678
|
m.default.Open(x);
|
|
679
679
|
});
|
|
680
680
|
}
|
|
681
|
-
r.Open =
|
|
682
|
-
})(
|
|
683
|
-
function
|
|
681
|
+
r.Open = C;
|
|
682
|
+
})(Tt || (Tt = {}));
|
|
683
|
+
function Ut() {
|
|
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 Yt = {
|
|
687
687
|
key: "Y0zt37HgOx-BY7SQjYVmrqhPkO41Ii2Jcb9yydUDPf6",
|
|
688
688
|
iterations: 7,
|
|
689
689
|
saltLength: 16
|
|
690
690
|
};
|
|
691
691
|
function Dt(r) {
|
|
692
|
-
const o =
|
|
693
|
-
o.CRYPTO_PARAMS ? o.CRYPTO_PARAMS = { ...o.CRYPTO_PARAMS, ...r } : o.CRYPTO_PARAMS = { ...
|
|
692
|
+
const o = Ut();
|
|
693
|
+
o.CRYPTO_PARAMS ? o.CRYPTO_PARAMS = { ...o.CRYPTO_PARAMS, ...r } : o.CRYPTO_PARAMS = { ...Yt, ...r };
|
|
694
694
|
}
|
|
695
|
-
function
|
|
696
|
-
return
|
|
695
|
+
function et() {
|
|
696
|
+
return Ut().CRYPTO_PARAMS || Yt;
|
|
697
697
|
}
|
|
698
|
-
const
|
|
698
|
+
const tt = (r) => {
|
|
699
699
|
let o = 0;
|
|
700
|
-
for (let
|
|
701
|
-
const
|
|
702
|
-
o = (o << 5) - o +
|
|
700
|
+
for (let u = 0; u < r.length; u++) {
|
|
701
|
+
const f = r.charCodeAt(u);
|
|
702
|
+
o = (o << 5) - o + f, o = o & o;
|
|
703
703
|
}
|
|
704
704
|
o = Math.abs(o);
|
|
705
|
-
let
|
|
706
|
-
for (let
|
|
707
|
-
const
|
|
708
|
-
|
|
705
|
+
let s = "";
|
|
706
|
+
for (let u = 0; u < 64; u++) {
|
|
707
|
+
const f = (o ^ u * 197) & 255;
|
|
708
|
+
s += f.toString(16).padStart(2, "0");
|
|
709
709
|
}
|
|
710
|
-
return
|
|
711
|
-
}, Yt = (r, o) => {
|
|
712
|
-
let i = r + o;
|
|
713
|
-
for (let d = 0; d < Qe().iterations; d++)
|
|
714
|
-
i = et(i);
|
|
715
|
-
const f = new Uint8Array(32);
|
|
716
|
-
for (let d = 0; d < 32; d++)
|
|
717
|
-
f[d] = parseInt(i.substring(d * 2, d * 2 + 2), 16);
|
|
718
|
-
return f;
|
|
710
|
+
return s;
|
|
719
711
|
}, Vt = (r, o) => {
|
|
720
|
-
|
|
721
|
-
let
|
|
712
|
+
let s = r + o;
|
|
713
|
+
for (let f = 0; f < et().iterations; f++)
|
|
714
|
+
s = tt(s);
|
|
715
|
+
const u = new Uint8Array(32);
|
|
716
|
+
for (let f = 0; f < 32; f++)
|
|
717
|
+
u[f] = parseInt(s.substring(f * 2, f * 2 + 2), 16);
|
|
718
|
+
return u;
|
|
719
|
+
}, zt = (r, o) => {
|
|
720
|
+
const s = new Uint8Array(r.length), u = new Uint8Array(r.length);
|
|
721
|
+
let f = 0;
|
|
722
722
|
for (let h = 0; h < r.length; h++) {
|
|
723
|
-
const
|
|
724
|
-
|
|
723
|
+
const C = h % o.length;
|
|
724
|
+
f = o[C] + h + f & 255, u[h] = f;
|
|
725
725
|
}
|
|
726
726
|
for (let h = 0; h < r.length; h++)
|
|
727
|
-
|
|
728
|
-
return
|
|
729
|
-
},
|
|
727
|
+
s[h] = r[h] ^ u[h];
|
|
728
|
+
return s;
|
|
729
|
+
}, Xt = (r) => new TextEncoder().encode(r), Qt = (r) => new TextDecoder().decode(r), er = (r) => {
|
|
730
730
|
let o = "";
|
|
731
|
-
for (let
|
|
732
|
-
const
|
|
733
|
-
o += String.fromCharCode.apply(null, Array.from(
|
|
731
|
+
for (let s = 0; s < r.length; s += 8192) {
|
|
732
|
+
const u = r.slice(s, Math.min(s + 8192, r.length));
|
|
733
|
+
o += String.fromCharCode.apply(null, Array.from(u));
|
|
734
734
|
}
|
|
735
735
|
return btoa(o);
|
|
736
|
-
}, er = (r) => {
|
|
737
|
-
const o = atob(r), i = new Uint8Array(o.length);
|
|
738
|
-
for (let f = 0; f < o.length; f++)
|
|
739
|
-
i[f] = o.charCodeAt(f);
|
|
740
|
-
return i;
|
|
741
736
|
}, tr = (r) => {
|
|
737
|
+
const o = atob(r), s = new Uint8Array(o.length);
|
|
738
|
+
for (let u = 0; u < o.length; u++)
|
|
739
|
+
s[u] = o.charCodeAt(u);
|
|
740
|
+
return s;
|
|
741
|
+
}, rr = (r) => {
|
|
742
742
|
try {
|
|
743
|
-
const o =
|
|
743
|
+
const o = tt(
|
|
744
744
|
Date.now().toString() + Math.random()
|
|
745
|
-
).substring(0,
|
|
746
|
-
return `${o}.${
|
|
745
|
+
).substring(0, et().saltLength * 2), s = tt(r + o).substring(0, 8), u = Vt(et().key, o), f = Xt(r), h = zt(f, u), C = er(h);
|
|
746
|
+
return `${o}.${C}.${s}`;
|
|
747
747
|
} catch {
|
|
748
748
|
throw new Error("Не удалось зашифровать данные");
|
|
749
749
|
}
|
|
750
|
-
},
|
|
750
|
+
}, nr = (r) => {
|
|
751
751
|
try {
|
|
752
752
|
const o = r.split(".");
|
|
753
753
|
if (o.length !== 3)
|
|
754
754
|
throw new Error("Неверный формат зашифрованных данных");
|
|
755
|
-
const
|
|
756
|
-
if (
|
|
755
|
+
const s = o[0], u = o[1], f = o[2], h = Vt(et().key, s), C = tr(u), R = zt(C, h), v = Qt(R);
|
|
756
|
+
if (tt(v + s).substring(
|
|
757
757
|
0,
|
|
758
758
|
8
|
|
759
|
-
) !==
|
|
759
|
+
) !== f)
|
|
760
760
|
throw new Error("Контрольная сумма не совпадает");
|
|
761
761
|
return v;
|
|
762
762
|
} catch {
|
|
763
763
|
return "";
|
|
764
764
|
}
|
|
765
765
|
};
|
|
766
|
-
var
|
|
766
|
+
var ie;
|
|
767
767
|
((r) => {
|
|
768
768
|
r.setKey = (o) => {
|
|
769
769
|
Dt({ key: o });
|
|
770
770
|
}, r.enCode = (o) => {
|
|
771
771
|
try {
|
|
772
|
-
const
|
|
773
|
-
return
|
|
772
|
+
const s = JSON.stringify(o);
|
|
773
|
+
return rr(s);
|
|
774
774
|
} catch {
|
|
775
775
|
throw new Error("Не удалось зашифровать объект");
|
|
776
776
|
}
|
|
@@ -778,16 +778,16 @@ var se;
|
|
|
778
778
|
try {
|
|
779
779
|
if (!o || o.length < 10)
|
|
780
780
|
return !1;
|
|
781
|
-
const
|
|
782
|
-
return
|
|
781
|
+
const s = nr(o);
|
|
782
|
+
return s && JSON.parse(s) || !1;
|
|
783
783
|
} catch {
|
|
784
784
|
return !1;
|
|
785
785
|
}
|
|
786
|
-
}, r.setSecurityParams = (o,
|
|
787
|
-
Dt({ iterations: o, saltLength:
|
|
786
|
+
}, r.setSecurityParams = (o, s) => {
|
|
787
|
+
Dt({ iterations: o, saltLength: s });
|
|
788
788
|
};
|
|
789
|
-
})(
|
|
790
|
-
var
|
|
789
|
+
})(ie || (ie = {}));
|
|
790
|
+
var Ge = {};
|
|
791
791
|
/**
|
|
792
792
|
* @license React
|
|
793
793
|
* react-jsx-runtime.production.min.js
|
|
@@ -797,21 +797,21 @@ var Ke = {};
|
|
|
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 =
|
|
805
|
-
function
|
|
806
|
-
var m, b = {},
|
|
807
|
-
x !== void 0 && (
|
|
808
|
-
for (m in v)
|
|
800
|
+
var Mt;
|
|
801
|
+
function or() {
|
|
802
|
+
if (Mt) return Ge;
|
|
803
|
+
Mt = 1;
|
|
804
|
+
var r = D, o = Symbol.for("react.element"), s = Symbol.for("react.fragment"), u = Object.prototype.hasOwnProperty, f = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, h = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
805
|
+
function C(R, v, x) {
|
|
806
|
+
var m, b = {}, k = null, $ = null;
|
|
807
|
+
x !== void 0 && (k = "" + x), v.key !== void 0 && (k = "" + v.key), v.ref !== void 0 && ($ = v.ref);
|
|
808
|
+
for (m in v) u.call(v, m) && !h.hasOwnProperty(m) && (b[m] = v[m]);
|
|
809
809
|
if (R && R.defaultProps) for (m in v = R.defaultProps, v) b[m] === void 0 && (b[m] = v[m]);
|
|
810
|
-
return { $$typeof: o, type: R, key:
|
|
810
|
+
return { $$typeof: o, type: R, key: k, ref: $, props: b, _owner: f.current };
|
|
811
811
|
}
|
|
812
|
-
return
|
|
812
|
+
return Ge.Fragment = s, Ge.jsx = C, Ge.jsxs = C, Ge;
|
|
813
813
|
}
|
|
814
|
-
var
|
|
814
|
+
var Qe = {};
|
|
815
815
|
/**
|
|
816
816
|
* @license React
|
|
817
817
|
* react-jsx-runtime.development.js
|
|
@@ -822,50 +822,50 @@ var Xe = {};
|
|
|
822
822
|
* LICENSE file in the root directory of this source tree.
|
|
823
823
|
*/
|
|
824
824
|
var Bt;
|
|
825
|
-
function
|
|
825
|
+
function ar() {
|
|
826
826
|
return Bt || (Bt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
827
|
-
var r =
|
|
828
|
-
function
|
|
827
|
+
var r = D, o = Symbol.for("react.element"), s = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), f = Symbol.for("react.strict_mode"), h = Symbol.for("react.profiler"), C = Symbol.for("react.provider"), R = Symbol.for("react.context"), v = Symbol.for("react.forward_ref"), x = Symbol.for("react.suspense"), m = Symbol.for("react.suspense_list"), b = Symbol.for("react.memo"), k = Symbol.for("react.lazy"), $ = Symbol.for("react.offscreen"), A = Symbol.iterator, Se = "@@iterator";
|
|
828
|
+
function xe(e) {
|
|
829
829
|
if (e === null || typeof e != "object")
|
|
830
830
|
return null;
|
|
831
|
-
var t = A && e[A] || e[
|
|
831
|
+
var t = A && e[A] || e[Se];
|
|
832
832
|
return typeof t == "function" ? t : null;
|
|
833
833
|
}
|
|
834
|
-
var
|
|
834
|
+
var F = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
835
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
|
+
Re("error", e, n);
|
|
840
840
|
}
|
|
841
841
|
}
|
|
842
|
-
function
|
|
842
|
+
function Re(e, t, n) {
|
|
843
843
|
{
|
|
844
|
-
var a =
|
|
845
|
-
|
|
846
|
-
var p = n.map(function(
|
|
847
|
-
return String(
|
|
844
|
+
var a = F.ReactDebugCurrentFrame, d = a.getStackAddendum();
|
|
845
|
+
d !== "" && (t += "%s", n = n.concat([d]));
|
|
846
|
+
var p = n.map(function(c) {
|
|
847
|
+
return String(c);
|
|
848
848
|
});
|
|
849
849
|
p.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, p);
|
|
850
850
|
}
|
|
851
851
|
}
|
|
852
|
-
var
|
|
853
|
-
|
|
854
|
-
function
|
|
855
|
-
return !!(typeof e == "string" || typeof e == "function" || e ===
|
|
852
|
+
var je = !1, Oe = !1, g = !1, E = !1, I = !1, M;
|
|
853
|
+
M = Symbol.for("react.module.reference");
|
|
854
|
+
function U(e) {
|
|
855
|
+
return !!(typeof e == "string" || typeof e == "function" || e === u || e === h || I || e === f || e === x || e === m || E || e === $ || je || Oe || g || typeof e == "object" && e !== null && (e.$$typeof === k || e.$$typeof === b || e.$$typeof === C || e.$$typeof === R || e.$$typeof === v || // 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 === M || e.getModuleId !== void 0));
|
|
860
860
|
}
|
|
861
861
|
function ae(e, t, n) {
|
|
862
862
|
var a = e.displayName;
|
|
863
863
|
if (a)
|
|
864
864
|
return a;
|
|
865
|
-
var
|
|
866
|
-
return
|
|
865
|
+
var d = t.displayName || t.name || "";
|
|
866
|
+
return d !== "" ? n + "(" + d + ")" : n;
|
|
867
867
|
}
|
|
868
|
-
function
|
|
868
|
+
function se(e) {
|
|
869
869
|
return e.displayName || "Context";
|
|
870
870
|
}
|
|
871
871
|
function T(e) {
|
|
@@ -876,13 +876,13 @@ function or() {
|
|
|
876
876
|
if (typeof e == "string")
|
|
877
877
|
return e;
|
|
878
878
|
switch (e) {
|
|
879
|
-
case
|
|
879
|
+
case u:
|
|
880
880
|
return "Fragment";
|
|
881
|
-
case
|
|
881
|
+
case s:
|
|
882
882
|
return "Portal";
|
|
883
883
|
case h:
|
|
884
884
|
return "Profiler";
|
|
885
|
-
case
|
|
885
|
+
case f:
|
|
886
886
|
return "StrictMode";
|
|
887
887
|
case x:
|
|
888
888
|
return "Suspense";
|
|
@@ -893,19 +893,19 @@ function or() {
|
|
|
893
893
|
switch (e.$$typeof) {
|
|
894
894
|
case R:
|
|
895
895
|
var t = e;
|
|
896
|
-
return
|
|
897
|
-
case
|
|
896
|
+
return se(t) + ".Consumer";
|
|
897
|
+
case C:
|
|
898
898
|
var n = e;
|
|
899
|
-
return
|
|
899
|
+
return se(n._context) + ".Provider";
|
|
900
900
|
case v:
|
|
901
901
|
return ae(e, e.render, "ForwardRef");
|
|
902
902
|
case b:
|
|
903
903
|
var a = e.displayName || null;
|
|
904
904
|
return a !== null ? a : T(e.type) || "Memo";
|
|
905
|
-
case
|
|
906
|
-
var
|
|
905
|
+
case k: {
|
|
906
|
+
var d = e, p = d._payload, c = d._init;
|
|
907
907
|
try {
|
|
908
|
-
return T(
|
|
908
|
+
return T(c(p));
|
|
909
909
|
} catch {
|
|
910
910
|
return null;
|
|
911
911
|
}
|
|
@@ -913,18 +913,18 @@ function or() {
|
|
|
913
913
|
}
|
|
914
914
|
return null;
|
|
915
915
|
}
|
|
916
|
-
var
|
|
917
|
-
function
|
|
916
|
+
var N = Object.assign, B = 0, K, H, G, Ce, we, Pe, Ae;
|
|
917
|
+
function Te() {
|
|
918
918
|
}
|
|
919
|
-
|
|
920
|
-
function
|
|
919
|
+
Te.__reactDisabledLog = !0;
|
|
920
|
+
function ot() {
|
|
921
921
|
{
|
|
922
|
-
if (
|
|
923
|
-
K = console.log, H = console.info, G = console.warn,
|
|
922
|
+
if (B === 0) {
|
|
923
|
+
K = console.log, H = console.info, G = console.warn, Ce = console.error, we = console.group, Pe = console.groupCollapsed, Ae = console.groupEnd;
|
|
924
924
|
var e = {
|
|
925
925
|
configurable: !0,
|
|
926
926
|
enumerable: !0,
|
|
927
|
-
value:
|
|
927
|
+
value: Te,
|
|
928
928
|
writable: !0
|
|
929
929
|
};
|
|
930
930
|
Object.defineProperties(console, {
|
|
@@ -937,64 +937,64 @@ function or() {
|
|
|
937
937
|
groupEnd: e
|
|
938
938
|
});
|
|
939
939
|
}
|
|
940
|
-
|
|
940
|
+
B++;
|
|
941
941
|
}
|
|
942
942
|
}
|
|
943
|
-
function
|
|
943
|
+
function at() {
|
|
944
944
|
{
|
|
945
|
-
if (
|
|
945
|
+
if (B--, B === 0) {
|
|
946
946
|
var e = {
|
|
947
947
|
configurable: !0,
|
|
948
948
|
enumerable: !0,
|
|
949
949
|
writable: !0
|
|
950
950
|
};
|
|
951
951
|
Object.defineProperties(console, {
|
|
952
|
-
log:
|
|
952
|
+
log: N({}, e, {
|
|
953
953
|
value: K
|
|
954
954
|
}),
|
|
955
|
-
info:
|
|
955
|
+
info: N({}, e, {
|
|
956
956
|
value: H
|
|
957
957
|
}),
|
|
958
|
-
warn:
|
|
958
|
+
warn: N({}, e, {
|
|
959
959
|
value: G
|
|
960
960
|
}),
|
|
961
|
-
error:
|
|
962
|
-
value:
|
|
963
|
-
}),
|
|
964
|
-
group: $({}, e, {
|
|
965
|
-
value: je
|
|
961
|
+
error: N({}, e, {
|
|
962
|
+
value: Ce
|
|
966
963
|
}),
|
|
967
|
-
|
|
964
|
+
group: N({}, e, {
|
|
968
965
|
value: we
|
|
969
966
|
}),
|
|
970
|
-
|
|
971
|
-
value:
|
|
967
|
+
groupCollapsed: N({}, e, {
|
|
968
|
+
value: Pe
|
|
969
|
+
}),
|
|
970
|
+
groupEnd: N({}, e, {
|
|
971
|
+
value: Ae
|
|
972
972
|
})
|
|
973
973
|
});
|
|
974
974
|
}
|
|
975
|
-
|
|
975
|
+
B < 0 && S("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
976
976
|
}
|
|
977
977
|
}
|
|
978
|
-
var
|
|
978
|
+
var ce = F.ReactCurrentDispatcher, ue;
|
|
979
979
|
function X(e, t, n) {
|
|
980
980
|
{
|
|
981
|
-
if (
|
|
981
|
+
if (ue === void 0)
|
|
982
982
|
try {
|
|
983
983
|
throw Error();
|
|
984
|
-
} catch (
|
|
985
|
-
var a =
|
|
986
|
-
|
|
984
|
+
} catch (d) {
|
|
985
|
+
var a = d.stack.trim().match(/\n( *(at )?)/);
|
|
986
|
+
ue = a && a[1] || "";
|
|
987
987
|
}
|
|
988
988
|
return `
|
|
989
|
-
` +
|
|
989
|
+
` + ue + e;
|
|
990
990
|
}
|
|
991
991
|
}
|
|
992
992
|
var fe = !1, Q;
|
|
993
993
|
{
|
|
994
|
-
var
|
|
995
|
-
Q = new
|
|
994
|
+
var st = typeof WeakMap == "function" ? WeakMap : Map;
|
|
995
|
+
Q = new st();
|
|
996
996
|
}
|
|
997
|
-
function
|
|
997
|
+
function Ie(e, t) {
|
|
998
998
|
if (!e || fe)
|
|
999
999
|
return "";
|
|
1000
1000
|
{
|
|
@@ -1004,55 +1004,55 @@ function or() {
|
|
|
1004
1004
|
}
|
|
1005
1005
|
var a;
|
|
1006
1006
|
fe = !0;
|
|
1007
|
-
var
|
|
1007
|
+
var d = Error.prepareStackTrace;
|
|
1008
1008
|
Error.prepareStackTrace = void 0;
|
|
1009
1009
|
var p;
|
|
1010
|
-
p =
|
|
1010
|
+
p = ce.current, ce.current = null, ot();
|
|
1011
1011
|
try {
|
|
1012
1012
|
if (t) {
|
|
1013
|
-
var
|
|
1013
|
+
var c = function() {
|
|
1014
1014
|
throw Error();
|
|
1015
1015
|
};
|
|
1016
|
-
if (Object.defineProperty(
|
|
1016
|
+
if (Object.defineProperty(c.prototype, "props", {
|
|
1017
1017
|
set: function() {
|
|
1018
1018
|
throw Error();
|
|
1019
1019
|
}
|
|
1020
1020
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
1021
1021
|
try {
|
|
1022
|
-
Reflect.construct(
|
|
1023
|
-
} catch (
|
|
1024
|
-
a =
|
|
1022
|
+
Reflect.construct(c, []);
|
|
1023
|
+
} catch (O) {
|
|
1024
|
+
a = O;
|
|
1025
1025
|
}
|
|
1026
|
-
Reflect.construct(e, [],
|
|
1026
|
+
Reflect.construct(e, [], c);
|
|
1027
1027
|
} else {
|
|
1028
1028
|
try {
|
|
1029
|
-
|
|
1030
|
-
} catch (
|
|
1031
|
-
a =
|
|
1029
|
+
c.call();
|
|
1030
|
+
} catch (O) {
|
|
1031
|
+
a = O;
|
|
1032
1032
|
}
|
|
1033
|
-
e.call(
|
|
1033
|
+
e.call(c.prototype);
|
|
1034
1034
|
}
|
|
1035
1035
|
} else {
|
|
1036
1036
|
try {
|
|
1037
1037
|
throw Error();
|
|
1038
|
-
} catch (
|
|
1039
|
-
a =
|
|
1038
|
+
} catch (O) {
|
|
1039
|
+
a = O;
|
|
1040
1040
|
}
|
|
1041
1041
|
e();
|
|
1042
1042
|
}
|
|
1043
|
-
} catch (
|
|
1044
|
-
if (
|
|
1045
|
-
for (var
|
|
1046
|
-
`),
|
|
1047
|
-
`), y =
|
|
1043
|
+
} catch (O) {
|
|
1044
|
+
if (O && a && typeof O.stack == "string") {
|
|
1045
|
+
for (var l = O.stack.split(`
|
|
1046
|
+
`), j = a.stack.split(`
|
|
1047
|
+
`), y = l.length - 1, _ = j.length - 1; y >= 1 && _ >= 0 && l[y] !== j[_]; )
|
|
1048
1048
|
_--;
|
|
1049
1049
|
for (; y >= 1 && _ >= 0; y--, _--)
|
|
1050
|
-
if (
|
|
1050
|
+
if (l[y] !== j[_]) {
|
|
1051
1051
|
if (y !== 1 || _ !== 1)
|
|
1052
1052
|
do
|
|
1053
|
-
if (y--, _--, _ < 0 ||
|
|
1053
|
+
if (y--, _--, _ < 0 || l[y] !== j[_]) {
|
|
1054
1054
|
var P = `
|
|
1055
|
-
` +
|
|
1055
|
+
` + l[y].replace(" at new ", " at ");
|
|
1056
1056
|
return e.displayName && P.includes("<anonymous>") && (P = P.replace("<anonymous>", e.displayName)), typeof e == "function" && Q.set(e, P), P;
|
|
1057
1057
|
}
|
|
1058
1058
|
while (y >= 1 && _ >= 0);
|
|
@@ -1060,15 +1060,15 @@ function or() {
|
|
|
1060
1060
|
}
|
|
1061
1061
|
}
|
|
1062
1062
|
} finally {
|
|
1063
|
-
fe = !1,
|
|
1063
|
+
fe = !1, ce.current = p, at(), Error.prepareStackTrace = d;
|
|
1064
1064
|
}
|
|
1065
|
-
var
|
|
1065
|
+
var V = e ? e.displayName || e.name : "", W = V ? X(V) : "";
|
|
1066
1066
|
return typeof e == "function" && Q.set(e, W), W;
|
|
1067
1067
|
}
|
|
1068
1068
|
function it(e, t, n) {
|
|
1069
|
-
return
|
|
1069
|
+
return Ie(e, !1);
|
|
1070
1070
|
}
|
|
1071
|
-
function
|
|
1071
|
+
function lt(e) {
|
|
1072
1072
|
var t = e.prototype;
|
|
1073
1073
|
return !!(t && t.isReactComponent);
|
|
1074
1074
|
}
|
|
@@ -1076,7 +1076,7 @@ function or() {
|
|
|
1076
1076
|
if (e == null)
|
|
1077
1077
|
return "";
|
|
1078
1078
|
if (typeof e == "function")
|
|
1079
|
-
return
|
|
1079
|
+
return Ie(e, lt(e));
|
|
1080
1080
|
if (typeof e == "string")
|
|
1081
1081
|
return X(e);
|
|
1082
1082
|
switch (e) {
|
|
@@ -1091,40 +1091,40 @@ function or() {
|
|
|
1091
1091
|
return it(e.render);
|
|
1092
1092
|
case b:
|
|
1093
1093
|
return ee(e.type, t, n);
|
|
1094
|
-
case
|
|
1095
|
-
var a = e,
|
|
1094
|
+
case k: {
|
|
1095
|
+
var a = e, d = a._payload, p = a._init;
|
|
1096
1096
|
try {
|
|
1097
|
-
return ee(p(
|
|
1097
|
+
return ee(p(d), t, n);
|
|
1098
1098
|
} catch {
|
|
1099
1099
|
}
|
|
1100
1100
|
}
|
|
1101
1101
|
}
|
|
1102
1102
|
return "";
|
|
1103
1103
|
}
|
|
1104
|
-
var z = Object.prototype.hasOwnProperty,
|
|
1104
|
+
var z = Object.prototype.hasOwnProperty, Ne = {}, $e = F.ReactDebugCurrentFrame;
|
|
1105
1105
|
function te(e) {
|
|
1106
1106
|
if (e) {
|
|
1107
1107
|
var t = e._owner, n = ee(e.type, e._source, t ? t.type : null);
|
|
1108
|
-
|
|
1108
|
+
$e.setExtraStackFrame(n);
|
|
1109
1109
|
} else
|
|
1110
|
-
|
|
1110
|
+
$e.setExtraStackFrame(null);
|
|
1111
1111
|
}
|
|
1112
|
-
function
|
|
1112
|
+
function ct(e, t, n, a, d) {
|
|
1113
1113
|
{
|
|
1114
1114
|
var p = Function.call.bind(z);
|
|
1115
|
-
for (var
|
|
1116
|
-
if (p(e,
|
|
1117
|
-
var
|
|
1115
|
+
for (var c in e)
|
|
1116
|
+
if (p(e, c)) {
|
|
1117
|
+
var l = void 0;
|
|
1118
1118
|
try {
|
|
1119
|
-
if (typeof e[
|
|
1120
|
-
var
|
|
1121
|
-
throw
|
|
1119
|
+
if (typeof e[c] != "function") {
|
|
1120
|
+
var j = Error((a || "React class") + ": " + n + " type `" + c + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[c] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
1121
|
+
throw j.name = "Invariant Violation", j;
|
|
1122
1122
|
}
|
|
1123
|
-
|
|
1123
|
+
l = e[c](t, c, a, n, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
1124
1124
|
} catch (y) {
|
|
1125
|
-
|
|
1125
|
+
l = y;
|
|
1126
1126
|
}
|
|
1127
|
-
|
|
1127
|
+
l && !(l instanceof Error) && (te(d), 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, c, typeof l), te(null)), l instanceof Error && !(l.message in Ne) && (Ne[l.message] = !0, te(d), S("Failed %s type: %s", n, l.message), te(null));
|
|
1128
1128
|
}
|
|
1129
1129
|
}
|
|
1130
1130
|
}
|
|
@@ -1132,33 +1132,33 @@ function or() {
|
|
|
1132
1132
|
function de(e) {
|
|
1133
1133
|
return ut(e);
|
|
1134
1134
|
}
|
|
1135
|
-
function
|
|
1135
|
+
function ft(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 dt(e) {
|
|
1142
1142
|
try {
|
|
1143
|
-
return
|
|
1143
|
+
return De(e), !1;
|
|
1144
1144
|
} catch {
|
|
1145
1145
|
return !0;
|
|
1146
1146
|
}
|
|
1147
1147
|
}
|
|
1148
|
-
function
|
|
1148
|
+
function De(e) {
|
|
1149
1149
|
return "" + e;
|
|
1150
1150
|
}
|
|
1151
|
-
function
|
|
1152
|
-
if (
|
|
1153
|
-
return S("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",
|
|
1151
|
+
function Me(e) {
|
|
1152
|
+
if (dt(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.", ft(e)), De(e);
|
|
1154
1154
|
}
|
|
1155
|
-
var
|
|
1155
|
+
var Be = F.ReactCurrentOwner, pt = {
|
|
1156
1156
|
key: !0,
|
|
1157
1157
|
ref: !0,
|
|
1158
1158
|
__self: !0,
|
|
1159
1159
|
__source: !0
|
|
1160
|
-
},
|
|
1161
|
-
function
|
|
1160
|
+
}, Fe, We;
|
|
1161
|
+
function vt(e) {
|
|
1162
1162
|
if (z.call(e, "ref")) {
|
|
1163
1163
|
var t = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
1164
1164
|
if (t && t.isReactWarning)
|
|
@@ -1166,7 +1166,7 @@ function or() {
|
|
|
1166
1166
|
}
|
|
1167
1167
|
return e.ref !== void 0;
|
|
1168
1168
|
}
|
|
1169
|
-
function
|
|
1169
|
+
function mt(e) {
|
|
1170
1170
|
if (z.call(e, "key")) {
|
|
1171
1171
|
var t = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
1172
1172
|
if (t && t.isReactWarning)
|
|
@@ -1174,13 +1174,13 @@ function or() {
|
|
|
1174
1174
|
}
|
|
1175
1175
|
return e.key !== void 0;
|
|
1176
1176
|
}
|
|
1177
|
-
function mt(e, t) {
|
|
1178
|
-
typeof e.ref == "string" && Ne.current;
|
|
1179
|
-
}
|
|
1180
1177
|
function ht(e, t) {
|
|
1178
|
+
typeof e.ref == "string" && Be.current;
|
|
1179
|
+
}
|
|
1180
|
+
function gt(e, t) {
|
|
1181
1181
|
{
|
|
1182
1182
|
var n = function() {
|
|
1183
|
-
|
|
1183
|
+
Fe || (Fe = !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 or() {
|
|
|
1188
1188
|
});
|
|
1189
1189
|
}
|
|
1190
1190
|
}
|
|
1191
|
-
function
|
|
1191
|
+
function yt(e, t) {
|
|
1192
1192
|
{
|
|
1193
1193
|
var n = function() {
|
|
1194
|
-
|
|
1194
|
+
We || (We = !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,67 +1199,67 @@ function or() {
|
|
|
1199
1199
|
});
|
|
1200
1200
|
}
|
|
1201
1201
|
}
|
|
1202
|
-
var
|
|
1203
|
-
var
|
|
1202
|
+
var bt = function(e, t, n, a, d, p, c) {
|
|
1203
|
+
var l = {
|
|
1204
1204
|
// This tag allows us to uniquely identify this as a React Element
|
|
1205
1205
|
$$typeof: o,
|
|
1206
1206
|
// Built-in properties that belong on the element
|
|
1207
1207
|
type: e,
|
|
1208
1208
|
key: t,
|
|
1209
1209
|
ref: n,
|
|
1210
|
-
props:
|
|
1210
|
+
props: c,
|
|
1211
1211
|
// Record the component responsible for creating this element.
|
|
1212
1212
|
_owner: p
|
|
1213
1213
|
};
|
|
1214
|
-
return
|
|
1214
|
+
return l._store = {}, Object.defineProperty(l._store, "validated", {
|
|
1215
1215
|
configurable: !1,
|
|
1216
1216
|
enumerable: !1,
|
|
1217
1217
|
writable: !0,
|
|
1218
1218
|
value: !1
|
|
1219
|
-
}), Object.defineProperty(
|
|
1219
|
+
}), Object.defineProperty(l, "_self", {
|
|
1220
1220
|
configurable: !1,
|
|
1221
1221
|
enumerable: !1,
|
|
1222
1222
|
writable: !1,
|
|
1223
1223
|
value: a
|
|
1224
|
-
}), Object.defineProperty(
|
|
1224
|
+
}), Object.defineProperty(l, "_source", {
|
|
1225
1225
|
configurable: !1,
|
|
1226
1226
|
enumerable: !1,
|
|
1227
1227
|
writable: !1,
|
|
1228
|
-
value:
|
|
1229
|
-
}), Object.freeze && (Object.freeze(
|
|
1228
|
+
value: d
|
|
1229
|
+
}), Object.freeze && (Object.freeze(l.props), Object.freeze(l)), l;
|
|
1230
1230
|
};
|
|
1231
|
-
function
|
|
1231
|
+
function _t(e, t, n, a, d) {
|
|
1232
1232
|
{
|
|
1233
|
-
var p,
|
|
1234
|
-
n !== void 0 && (
|
|
1233
|
+
var p, c = {}, l = null, j = null;
|
|
1234
|
+
n !== void 0 && (Me(n), l = "" + n), mt(t) && (Me(t.key), l = "" + t.key), vt(t) && (j = t.ref, ht(t));
|
|
1235
1235
|
for (p in t)
|
|
1236
|
-
z.call(t, p) && !
|
|
1236
|
+
z.call(t, p) && !pt.hasOwnProperty(p) && (c[p] = t[p]);
|
|
1237
1237
|
if (e && e.defaultProps) {
|
|
1238
1238
|
var y = e.defaultProps;
|
|
1239
1239
|
for (p in y)
|
|
1240
|
-
|
|
1240
|
+
c[p] === void 0 && (c[p] = y[p]);
|
|
1241
1241
|
}
|
|
1242
|
-
if (
|
|
1242
|
+
if (l || j) {
|
|
1243
1243
|
var _ = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
1244
|
-
|
|
1244
|
+
l && gt(c, _), j && yt(c, _);
|
|
1245
1245
|
}
|
|
1246
|
-
return
|
|
1246
|
+
return bt(e, l, j, d, a, Be.current, c);
|
|
1247
1247
|
}
|
|
1248
1248
|
}
|
|
1249
|
-
var pe =
|
|
1250
|
-
function
|
|
1249
|
+
var pe = F.ReactCurrentOwner, Le = F.ReactDebugCurrentFrame;
|
|
1250
|
+
function Y(e) {
|
|
1251
1251
|
if (e) {
|
|
1252
1252
|
var t = e._owner, n = ee(e.type, e._source, t ? t.type : null);
|
|
1253
|
-
|
|
1253
|
+
Le.setExtraStackFrame(n);
|
|
1254
1254
|
} else
|
|
1255
|
-
|
|
1255
|
+
Le.setExtraStackFrame(null);
|
|
1256
1256
|
}
|
|
1257
1257
|
var ve;
|
|
1258
1258
|
ve = !1;
|
|
1259
1259
|
function me(e) {
|
|
1260
1260
|
return typeof e == "object" && e !== null && e.$$typeof === o;
|
|
1261
1261
|
}
|
|
1262
|
-
function
|
|
1262
|
+
function Ue() {
|
|
1263
1263
|
{
|
|
1264
1264
|
if (pe.current) {
|
|
1265
1265
|
var e = T(pe.current.type);
|
|
@@ -1271,13 +1271,13 @@ Check the render method of \`` + e + "`.";
|
|
|
1271
1271
|
return "";
|
|
1272
1272
|
}
|
|
1273
1273
|
}
|
|
1274
|
-
function
|
|
1274
|
+
function Rt(e) {
|
|
1275
1275
|
return "";
|
|
1276
1276
|
}
|
|
1277
|
-
var
|
|
1278
|
-
function
|
|
1277
|
+
var Ye = {};
|
|
1278
|
+
function kt(e) {
|
|
1279
1279
|
{
|
|
1280
|
-
var t =
|
|
1280
|
+
var t = Ue();
|
|
1281
1281
|
if (!t) {
|
|
1282
1282
|
var n = typeof e == "string" ? e : e.displayName || e.name;
|
|
1283
1283
|
n && (t = `
|
|
@@ -1287,35 +1287,35 @@ Check the top-level render call using <` + n + ">.");
|
|
|
1287
1287
|
return t;
|
|
1288
1288
|
}
|
|
1289
1289
|
}
|
|
1290
|
-
function
|
|
1290
|
+
function Ve(e, t) {
|
|
1291
1291
|
{
|
|
1292
1292
|
if (!e._store || e._store.validated || e.key != null)
|
|
1293
1293
|
return;
|
|
1294
1294
|
e._store.validated = !0;
|
|
1295
|
-
var n =
|
|
1296
|
-
if (
|
|
1295
|
+
var n = kt(t);
|
|
1296
|
+
if (Ye[n])
|
|
1297
1297
|
return;
|
|
1298
|
-
|
|
1298
|
+
Ye[n] = !0;
|
|
1299
1299
|
var a = "";
|
|
1300
|
-
e && e._owner && e._owner !== pe.current && (a = " It was passed a child from " + T(e._owner.type) + "."),
|
|
1300
|
+
e && e._owner && e._owner !== pe.current && (a = " It was passed a child from " + T(e._owner.type) + "."), Y(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), Y(null);
|
|
1301
1301
|
}
|
|
1302
1302
|
}
|
|
1303
|
-
function
|
|
1303
|
+
function ze(e, t) {
|
|
1304
1304
|
{
|
|
1305
1305
|
if (typeof e != "object")
|
|
1306
1306
|
return;
|
|
1307
1307
|
if (de(e))
|
|
1308
1308
|
for (var n = 0; n < e.length; n++) {
|
|
1309
1309
|
var a = e[n];
|
|
1310
|
-
me(a) &&
|
|
1310
|
+
me(a) && Ve(a, t);
|
|
1311
1311
|
}
|
|
1312
1312
|
else if (me(e))
|
|
1313
1313
|
e._store && (e._store.validated = !0);
|
|
1314
1314
|
else if (e) {
|
|
1315
|
-
var
|
|
1316
|
-
if (typeof
|
|
1317
|
-
for (var p =
|
|
1318
|
-
me(
|
|
1315
|
+
var d = xe(e);
|
|
1316
|
+
if (typeof d == "function" && d !== e.entries)
|
|
1317
|
+
for (var p = d.call(e), c; !(c = p.next()).done; )
|
|
1318
|
+
me(c.value) && Ve(c.value, t);
|
|
1319
1319
|
}
|
|
1320
1320
|
}
|
|
1321
1321
|
}
|
|
@@ -1335,307 +1335,307 @@ Check the top-level render call using <` + n + ">.");
|
|
|
1335
1335
|
return;
|
|
1336
1336
|
if (n) {
|
|
1337
1337
|
var a = T(t);
|
|
1338
|
-
|
|
1338
|
+
ct(n, e.props, "prop", a, e);
|
|
1339
1339
|
} else if (t.PropTypes !== void 0 && !ve) {
|
|
1340
1340
|
ve = !0;
|
|
1341
|
-
var
|
|
1342
|
-
S("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",
|
|
1341
|
+
var d = T(t);
|
|
1342
|
+
S("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", d || "Unknown");
|
|
1343
1343
|
}
|
|
1344
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
|
-
function
|
|
1347
|
+
function St(e) {
|
|
1348
1348
|
{
|
|
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
|
-
|
|
1352
|
+
Y(e), S("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", a), Y(null);
|
|
1353
1353
|
break;
|
|
1354
1354
|
}
|
|
1355
1355
|
}
|
|
1356
|
-
e.ref !== null && (
|
|
1356
|
+
e.ref !== null && (Y(e), S("Invalid attribute `ref` supplied to `React.Fragment`."), Y(null));
|
|
1357
1357
|
}
|
|
1358
1358
|
}
|
|
1359
|
-
var
|
|
1360
|
-
function
|
|
1359
|
+
var Je = {};
|
|
1360
|
+
function qe(e, t, n, a, d, p) {
|
|
1361
1361
|
{
|
|
1362
|
-
var
|
|
1363
|
-
if (!
|
|
1364
|
-
var
|
|
1365
|
-
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (
|
|
1366
|
-
var
|
|
1367
|
-
|
|
1362
|
+
var c = U(e);
|
|
1363
|
+
if (!c) {
|
|
1364
|
+
var l = "";
|
|
1365
|
+
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (l += " 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
|
+
var j = Rt();
|
|
1367
|
+
j ? l += j : l += Ue();
|
|
1368
1368
|
var y;
|
|
1369
|
-
e === null ? y = "null" : de(e) ? y = "array" : e !== void 0 && e.$$typeof === o ? (y = "<" + (T(e.type) || "Unknown") + " />",
|
|
1369
|
+
e === null ? y = "null" : de(e) ? y = "array" : e !== void 0 && e.$$typeof === o ? (y = "<" + (T(e.type) || "Unknown") + " />", l = " Did you accidentally export a JSX literal instead of a component?") : y = 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", y, l);
|
|
1370
1370
|
}
|
|
1371
|
-
var _ =
|
|
1371
|
+
var _ = _t(e, t, n, d, p);
|
|
1372
1372
|
if (_ == null)
|
|
1373
1373
|
return _;
|
|
1374
|
-
if (
|
|
1374
|
+
if (c) {
|
|
1375
1375
|
var P = t.children;
|
|
1376
1376
|
if (P !== void 0)
|
|
1377
1377
|
if (a)
|
|
1378
1378
|
if (de(P)) {
|
|
1379
|
-
for (var
|
|
1380
|
-
|
|
1379
|
+
for (var V = 0; V < P.length; V++)
|
|
1380
|
+
ze(P[V], e);
|
|
1381
1381
|
Object.freeze && Object.freeze(P);
|
|
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
|
+
ze(P, e);
|
|
1386
1386
|
}
|
|
1387
1387
|
if (z.call(t, "key")) {
|
|
1388
|
-
var W = T(e),
|
|
1389
|
-
return
|
|
1390
|
-
}), he =
|
|
1391
|
-
if (!
|
|
1392
|
-
var wt =
|
|
1388
|
+
var W = T(e), O = Object.keys(t).filter(function(Pt) {
|
|
1389
|
+
return Pt !== "key";
|
|
1390
|
+
}), he = O.length > 0 ? "{key: someKey, " + O.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
1391
|
+
if (!Je[W + he]) {
|
|
1392
|
+
var wt = O.length > 0 ? "{" + O.join(": ..., ") + ": ...}" : "{}";
|
|
1393
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} />`, he, W, wt, W),
|
|
1398
|
+
<%s key={someKey} {...props} />`, he, W, wt, W), Je[W + he] = !0;
|
|
1399
1399
|
}
|
|
1400
1400
|
}
|
|
1401
|
-
return e ===
|
|
1401
|
+
return e === u ? St(_) : Et(_), _;
|
|
1402
1402
|
}
|
|
1403
1403
|
}
|
|
1404
|
-
function St(e, t, n) {
|
|
1405
|
-
return ze(e, t, n, !0);
|
|
1406
|
-
}
|
|
1407
1404
|
function xt(e, t, n) {
|
|
1408
|
-
return
|
|
1405
|
+
return qe(e, t, n, !0);
|
|
1406
|
+
}
|
|
1407
|
+
function jt(e, t, n) {
|
|
1408
|
+
return qe(e, t, n, !1);
|
|
1409
1409
|
}
|
|
1410
|
-
var Ot =
|
|
1411
|
-
|
|
1412
|
-
}()),
|
|
1410
|
+
var Ot = jt, Ct = xt;
|
|
1411
|
+
Qe.Fragment = u, Qe.jsx = Ot, Qe.jsxs = Ct;
|
|
1412
|
+
}()), Qe;
|
|
1413
1413
|
}
|
|
1414
|
-
process.env.NODE_ENV === "production" ?
|
|
1415
|
-
const
|
|
1416
|
-
version:
|
|
1417
|
-
}, re = {},
|
|
1414
|
+
process.env.NODE_ENV === "production" ? or() : ar();
|
|
1415
|
+
const sr = "0.0.37", Jt = {
|
|
1416
|
+
version: sr
|
|
1417
|
+
}, re = {}, It = {
|
|
1418
1418
|
module: "",
|
|
1419
|
-
v:
|
|
1419
|
+
v: Jt.version,
|
|
1420
1420
|
page: "Main",
|
|
1421
1421
|
auth: "Auth",
|
|
1422
1422
|
STORAGE: "f",
|
|
1423
1423
|
LISTENER: {}
|
|
1424
1424
|
};
|
|
1425
|
-
function
|
|
1425
|
+
function be() {
|
|
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
|
+
be().elcrm || (be().elcrm = {});
|
|
1429
|
+
Object.assign(be().elcrm, { router: Jt.version });
|
|
1430
1430
|
function ne(r) {
|
|
1431
|
-
const o =
|
|
1432
|
-
o.ROUTER_PARAMS ? o.ROUTER_PARAMS = { ...o.ROUTER_PARAMS, ...r } : o.ROUTER_PARAMS = { ...
|
|
1431
|
+
const o = be();
|
|
1432
|
+
o.ROUTER_PARAMS ? o.ROUTER_PARAMS = { ...o.ROUTER_PARAMS, ...r } : o.ROUTER_PARAMS = { ...It, ...r };
|
|
1433
1433
|
}
|
|
1434
|
-
function
|
|
1435
|
-
return
|
|
1434
|
+
function w() {
|
|
1435
|
+
return be().ROUTER_PARAMS || It;
|
|
1436
1436
|
}
|
|
1437
|
-
function
|
|
1438
|
-
const o =
|
|
1437
|
+
function ke(r) {
|
|
1438
|
+
const o = be();
|
|
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 oe() {
|
|
1445
|
-
return
|
|
1445
|
+
return be().ROUTER_PARAMS.LISTENER || It.LISTENER;
|
|
1446
1446
|
}
|
|
1447
|
-
var
|
|
1447
|
+
var _e;
|
|
1448
1448
|
((r) => {
|
|
1449
1449
|
function o() {
|
|
1450
1450
|
var g;
|
|
1451
|
-
let
|
|
1452
|
-
if (
|
|
1453
|
-
if (
|
|
1451
|
+
let E = sessionStorage.getItem("f");
|
|
1452
|
+
if (E) {
|
|
1453
|
+
if (E = ie.deCode(E), !E) return !1;
|
|
1454
1454
|
ne({
|
|
1455
|
-
id:
|
|
1456
|
-
tab:
|
|
1457
|
-
page:
|
|
1458
|
-
module:
|
|
1459
|
-
time:
|
|
1455
|
+
id: E.id,
|
|
1456
|
+
tab: E.tab,
|
|
1457
|
+
page: E.page,
|
|
1458
|
+
module: E.module,
|
|
1459
|
+
time: E.time,
|
|
1460
1460
|
payment: { active: !0 },
|
|
1461
|
-
module_admin:
|
|
1461
|
+
module_admin: E.module_admin
|
|
1462
1462
|
});
|
|
1463
1463
|
} else
|
|
1464
1464
|
ne({
|
|
1465
1465
|
id: 0,
|
|
1466
1466
|
tab: "",
|
|
1467
|
-
page: (g = localStorage.getItem("d")) != null && g.length ?
|
|
1468
|
-
module:
|
|
1467
|
+
page: (g = localStorage.getItem("d")) != null && g.length ? w().page : w().auth,
|
|
1468
|
+
module: w().module
|
|
1469
1469
|
});
|
|
1470
1470
|
return !0;
|
|
1471
1471
|
}
|
|
1472
|
-
function
|
|
1473
|
-
re.id = 0, re.tab = "", re.page =
|
|
1472
|
+
function s() {
|
|
1473
|
+
re.id = 0, re.tab = "", re.page = w().page, re.module = w().module;
|
|
1474
1474
|
}
|
|
1475
|
-
r.Reset =
|
|
1476
|
-
function
|
|
1477
|
-
module: g =
|
|
1478
|
-
page:
|
|
1479
|
-
auth: I =
|
|
1475
|
+
r.Reset = s;
|
|
1476
|
+
function u({
|
|
1477
|
+
module: g = w().module,
|
|
1478
|
+
page: E = w().page,
|
|
1479
|
+
auth: I = w().auth
|
|
1480
1480
|
}) {
|
|
1481
|
-
ne({ page:
|
|
1481
|
+
ne({ page: E, module: g, auth: I }), o();
|
|
1482
1482
|
}
|
|
1483
|
-
r.Default =
|
|
1484
|
-
function
|
|
1485
|
-
let
|
|
1486
|
-
const [I,
|
|
1487
|
-
|
|
1483
|
+
r.Default = u;
|
|
1484
|
+
function f(g) {
|
|
1485
|
+
let E = (U) => (ne({ page: U }), U);
|
|
1486
|
+
const [I, M] = D.useState(
|
|
1487
|
+
C() || g && E(g) || w().page
|
|
1488
1488
|
);
|
|
1489
|
-
return
|
|
1490
|
-
|
|
1489
|
+
return ke({ page: (U) => {
|
|
1490
|
+
M(U);
|
|
1491
1491
|
} }), I;
|
|
1492
1492
|
}
|
|
1493
|
-
r.usePage =
|
|
1494
|
-
function h(g,
|
|
1493
|
+
r.usePage = f;
|
|
1494
|
+
function h(g, E = !0, I = {}) {
|
|
1495
1495
|
ne({ page: g, ...I }), sessionStorage.setItem(
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
),
|
|
1496
|
+
w().STORAGE,
|
|
1497
|
+
ie.enCode(w())
|
|
1498
|
+
), E && oe().page(g);
|
|
1499
1499
|
}
|
|
1500
1500
|
r.setPage = h;
|
|
1501
|
-
function
|
|
1502
|
-
return
|
|
1501
|
+
function C() {
|
|
1502
|
+
return w().page;
|
|
1503
1503
|
}
|
|
1504
|
-
r.getPage =
|
|
1504
|
+
r.getPage = C;
|
|
1505
1505
|
function R(g) {
|
|
1506
|
-
return
|
|
1506
|
+
return w().page === g;
|
|
1507
1507
|
}
|
|
1508
1508
|
r.isPage = R;
|
|
1509
|
-
function v(g,
|
|
1510
|
-
const [I,
|
|
1511
|
-
m() || g ||
|
|
1509
|
+
function v(g, E) {
|
|
1510
|
+
const [I, M] = D.useState(
|
|
1511
|
+
m() || g || w().module
|
|
1512
1512
|
);
|
|
1513
|
-
return
|
|
1513
|
+
return ke({ module: M }), I;
|
|
1514
1514
|
}
|
|
1515
1515
|
r.useModule = v;
|
|
1516
|
-
function x(g,
|
|
1516
|
+
function x(g, E = !0) {
|
|
1517
1517
|
ne({ module: g }), sessionStorage.setItem(
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
),
|
|
1518
|
+
w().STORAGE,
|
|
1519
|
+
ie.enCode(w())
|
|
1520
|
+
), E && oe().module(g);
|
|
1521
1521
|
}
|
|
1522
1522
|
r.setModule = x;
|
|
1523
1523
|
function m() {
|
|
1524
|
-
return
|
|
1524
|
+
return w().module || "";
|
|
1525
1525
|
}
|
|
1526
1526
|
r.getModule = m;
|
|
1527
1527
|
function b(g) {
|
|
1528
|
-
return
|
|
1528
|
+
return w().module === g;
|
|
1529
1529
|
}
|
|
1530
1530
|
r.isModule = b;
|
|
1531
|
-
function
|
|
1531
|
+
function k(g, E) {
|
|
1532
1532
|
if (typeof g != "function") {
|
|
1533
|
-
const [I,
|
|
1534
|
-
return
|
|
1535
|
-
|
|
1536
|
-
}, []), [
|
|
1533
|
+
const [I, M] = D.useState(!E), [U, ae] = D.useState(g || A());
|
|
1534
|
+
return ke({ tabs: ae }), E && D.useEffect(() => {
|
|
1535
|
+
M(!0);
|
|
1536
|
+
}, []), [U, I];
|
|
1537
1537
|
} else
|
|
1538
|
-
|
|
1538
|
+
ke({ tabs: g });
|
|
1539
1539
|
}
|
|
1540
|
-
r.useTabs =
|
|
1541
|
-
async function
|
|
1540
|
+
r.useTabs = k;
|
|
1541
|
+
async function $(g, E = !0) {
|
|
1542
1542
|
ne({ tab: g }), sessionStorage.setItem(
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
),
|
|
1543
|
+
w().STORAGE,
|
|
1544
|
+
ie.enCode(w())
|
|
1545
|
+
), E && (oe().tabs && oe().tabs(g));
|
|
1546
1546
|
}
|
|
1547
|
-
r.setTabs =
|
|
1547
|
+
r.setTabs = $;
|
|
1548
1548
|
function A() {
|
|
1549
|
-
return
|
|
1549
|
+
return w().tab;
|
|
1550
1550
|
}
|
|
1551
1551
|
r.getTabs = A;
|
|
1552
|
-
function
|
|
1553
|
-
return
|
|
1552
|
+
function Se(g) {
|
|
1553
|
+
return w().tab === g;
|
|
1554
1554
|
}
|
|
1555
|
-
r.isTabs =
|
|
1556
|
-
function
|
|
1555
|
+
r.isTabs = Se;
|
|
1556
|
+
function xe(g) {
|
|
1557
1557
|
if (typeof g != "function") {
|
|
1558
|
-
const [
|
|
1559
|
-
return
|
|
1560
|
-
I(
|
|
1561
|
-
} }),
|
|
1558
|
+
const [E, I] = D.useState(g || Re());
|
|
1559
|
+
return ke({ id: (M) => {
|
|
1560
|
+
I(M);
|
|
1561
|
+
} }), E;
|
|
1562
1562
|
} else
|
|
1563
|
-
|
|
1563
|
+
ke({ id: g });
|
|
1564
1564
|
}
|
|
1565
|
-
r.useId =
|
|
1566
|
-
function
|
|
1565
|
+
r.useId = xe;
|
|
1566
|
+
function F(g) {
|
|
1567
1567
|
}
|
|
1568
|
-
r.subId =
|
|
1569
|
-
async function S(g,
|
|
1568
|
+
r.subId = F;
|
|
1569
|
+
async function S(g, E = !0) {
|
|
1570
1570
|
ne({ id: g }), sessionStorage.setItem(
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
),
|
|
1571
|
+
w().STORAGE,
|
|
1572
|
+
ie.enCode(w())
|
|
1573
|
+
), E && oe().id(g);
|
|
1574
1574
|
}
|
|
1575
1575
|
r.setId = S;
|
|
1576
|
-
function
|
|
1577
|
-
return
|
|
1576
|
+
function Re() {
|
|
1577
|
+
return w().id;
|
|
1578
1578
|
}
|
|
1579
|
-
r.getId =
|
|
1580
|
-
function
|
|
1581
|
-
return Number(
|
|
1579
|
+
r.getId = Re;
|
|
1580
|
+
function je(g) {
|
|
1581
|
+
return Number(w().id) === g;
|
|
1582
1582
|
}
|
|
1583
|
-
r.isId =
|
|
1584
|
-
async function
|
|
1585
|
-
var
|
|
1586
|
-
const { page:
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1583
|
+
r.isId = je;
|
|
1584
|
+
async function Oe(g) {
|
|
1585
|
+
var E, I, M, U, ae, se, T, N;
|
|
1586
|
+
const { page: B, module: K, tab: H, id: G } = g;
|
|
1587
|
+
B !== void 0 && (re.page = B), K !== void 0 && (re.module = K), H !== void 0 && (re.tab = H), G !== void 0 && (re.id = G), ne({ ...re }), G !== void 0 && ((I = (E = oe()).id) == null || I.call(E, G)), H !== void 0 && ((U = (M = oe()).tabs) == null || U.call(M, H)), K !== void 0 && ((se = (ae = oe()).module) == null || se.call(ae, K)), B !== void 0 && ((N = (T = oe()).page) == null || N.call(T, B)), sessionStorage.setItem(
|
|
1588
|
+
w().STORAGE,
|
|
1589
|
+
ie.enCode(w())
|
|
1590
1590
|
);
|
|
1591
1591
|
}
|
|
1592
|
-
r.navigate =
|
|
1593
|
-
})(
|
|
1594
|
-
let
|
|
1592
|
+
r.navigate = Oe;
|
|
1593
|
+
})(_e || (_e = {}));
|
|
1594
|
+
let rt = {};
|
|
1595
1595
|
function ir() {
|
|
1596
|
-
const [r, o] =
|
|
1597
|
-
return
|
|
1598
|
-
o([...r,
|
|
1599
|
-
},
|
|
1600
|
-
r.forEach((
|
|
1601
|
-
|
|
1596
|
+
const [r, o] = D.useState([]);
|
|
1597
|
+
return rt.set = (s) => {
|
|
1598
|
+
o([...r, s]);
|
|
1599
|
+
}, rt.del = (s) => {
|
|
1600
|
+
r.forEach((u, f) => {
|
|
1601
|
+
u.key === s && r.splice(f, 1);
|
|
1602
1602
|
}), o(r);
|
|
1603
|
-
}, r.length === 0 ? /* @__PURE__ */
|
|
1603
|
+
}, r.length === 0 ? /* @__PURE__ */ i.jsx(i.Fragment, {}) : /* @__PURE__ */ i.jsx("div", { className: "notice", children: r.map((s) => s.item) });
|
|
1604
1604
|
}
|
|
1605
|
-
function
|
|
1605
|
+
function lr(r) {
|
|
1606
1606
|
let o = (/* @__PURE__ */ new Date()).getTime();
|
|
1607
|
-
r.key = o,
|
|
1607
|
+
r.key = o, rt.set({ item: /* @__PURE__ */ i.jsx(cr, { data: r }, o), key: o });
|
|
1608
1608
|
}
|
|
1609
|
-
function
|
|
1609
|
+
function cr(r) {
|
|
1610
1610
|
const o = r.data;
|
|
1611
|
-
let [
|
|
1612
|
-
|
|
1611
|
+
let [s] = D.useState("show"), [u, f] = D.useState(!1);
|
|
1612
|
+
D.useEffect(() => {
|
|
1613
1613
|
setTimeout(function() {
|
|
1614
|
-
|
|
1614
|
+
f(!0), rt.del(o.key);
|
|
1615
1615
|
}, 5e3);
|
|
1616
1616
|
}, [o.key]);
|
|
1617
1617
|
let h;
|
|
1618
1618
|
switch (o.type) {
|
|
1619
1619
|
case "error":
|
|
1620
|
-
h = /* @__PURE__ */
|
|
1620
|
+
h = /* @__PURE__ */ i.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
|
-
h = /* @__PURE__ */
|
|
1623
|
+
h = /* @__PURE__ */ i.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
|
-
h = /* @__PURE__ */
|
|
1626
|
+
h = /* @__PURE__ */ i.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
|
h = "icon fa fa-exclamation-circle";
|
|
1630
1630
|
break;
|
|
1631
1631
|
}
|
|
1632
|
-
return /* @__PURE__ */
|
|
1632
|
+
return /* @__PURE__ */ i.jsx(i.Fragment, { children: u ? /* @__PURE__ */ i.jsx(i.Fragment, {}) : /* @__PURE__ */ i.jsxs(
|
|
1633
1633
|
"div",
|
|
1634
1634
|
{
|
|
1635
1635
|
className: "item " + o.type + ` ${o.thema !== void 0 ? " thema" : ""}`,
|
|
1636
|
-
"data-status":
|
|
1636
|
+
"data-status": s,
|
|
1637
1637
|
children: [
|
|
1638
|
-
/* @__PURE__ */
|
|
1638
|
+
/* @__PURE__ */ i.jsx(
|
|
1639
1639
|
"svg",
|
|
1640
1640
|
{
|
|
1641
1641
|
type: "solid",
|
|
@@ -1648,40 +1648,40 @@ function lr(r) {
|
|
|
1648
1648
|
children: h
|
|
1649
1649
|
}
|
|
1650
1650
|
),
|
|
1651
|
-
/* @__PURE__ */
|
|
1651
|
+
/* @__PURE__ */ i.jsx("span", { className: "text", children: o.text })
|
|
1652
1652
|
]
|
|
1653
1653
|
}
|
|
1654
1654
|
) });
|
|
1655
1655
|
}
|
|
1656
|
-
let
|
|
1657
|
-
Send:
|
|
1656
|
+
let nt = {
|
|
1657
|
+
Send: lr,
|
|
1658
1658
|
Init: ir
|
|
1659
|
-
},
|
|
1659
|
+
}, Ze = () => {
|
|
1660
1660
|
};
|
|
1661
|
-
const
|
|
1662
|
-
const [
|
|
1663
|
-
return
|
|
1664
|
-
|
|
1665
|
-
|
|
1661
|
+
const qt = ({ children: r, title: o, isOverlay: s = !0 }) => {
|
|
1662
|
+
const [u, f] = D.useState(!1);
|
|
1663
|
+
return Ze = () => {
|
|
1664
|
+
f(!0), setTimeout(() => {
|
|
1665
|
+
Kt.onClose();
|
|
1666
1666
|
}, 300);
|
|
1667
|
-
}, /* @__PURE__ */
|
|
1667
|
+
}, /* @__PURE__ */ i.jsx(
|
|
1668
1668
|
"div",
|
|
1669
1669
|
{
|
|
1670
|
-
className: `footer-menu-overlay ${
|
|
1671
|
-
onClick:
|
|
1672
|
-
children: /* @__PURE__ */
|
|
1670
|
+
className: `footer-menu-overlay ${s ? "is-overlay" : ""} ${u ? "closing" : ""}`,
|
|
1671
|
+
onClick: Ze,
|
|
1672
|
+
children: /* @__PURE__ */ i.jsxs(
|
|
1673
1673
|
"div",
|
|
1674
1674
|
{
|
|
1675
|
-
className: `footer-menu-popup-book ${
|
|
1675
|
+
className: `footer-menu-popup-book ${u ? "closing" : ""}`,
|
|
1676
1676
|
onClick: (h) => h.stopPropagation(),
|
|
1677
1677
|
children: [
|
|
1678
|
-
/* @__PURE__ */
|
|
1679
|
-
/* @__PURE__ */
|
|
1680
|
-
/* @__PURE__ */
|
|
1678
|
+
/* @__PURE__ */ i.jsxs("div", { className: "footer-menu-header", children: [
|
|
1679
|
+
/* @__PURE__ */ i.jsx("h3", { children: o }),
|
|
1680
|
+
/* @__PURE__ */ i.jsx(
|
|
1681
1681
|
"button",
|
|
1682
1682
|
{
|
|
1683
1683
|
className: "footer-menu-close-btn",
|
|
1684
|
-
onClick:
|
|
1684
|
+
onClick: Ze,
|
|
1685
1685
|
children: "✕"
|
|
1686
1686
|
}
|
|
1687
1687
|
)
|
|
@@ -1692,65 +1692,65 @@ const Jt = ({ children: r, title: o, isOverlay: i = !0 }) => {
|
|
|
1692
1692
|
)
|
|
1693
1693
|
}
|
|
1694
1694
|
);
|
|
1695
|
-
}, ur = "_h_rl5ga_1",
|
|
1695
|
+
}, ur = "_h_rl5ga_1", fr = "_row_rl5ga_14", dr = "_column_rl5ga_17", Ft = {
|
|
1696
1696
|
h: ur,
|
|
1697
|
-
row:
|
|
1698
|
-
column:
|
|
1699
|
-
},
|
|
1697
|
+
row: fr,
|
|
1698
|
+
column: dr
|
|
1699
|
+
}, Kt = [], Wt = (r, o) => r.findIndex((s) => (s == null ? void 0 : s.page) === o), Ht = ({
|
|
1700
1700
|
actions: r,
|
|
1701
1701
|
children: o,
|
|
1702
|
-
className:
|
|
1703
|
-
toHide:
|
|
1704
|
-
page:
|
|
1702
|
+
className: s,
|
|
1703
|
+
toHide: u = !1,
|
|
1704
|
+
page: f,
|
|
1705
1705
|
onPageChange: h,
|
|
1706
|
-
direction:
|
|
1706
|
+
direction: C = "row"
|
|
1707
1707
|
}) => {
|
|
1708
|
-
const [R, v] =
|
|
1709
|
-
|
|
1708
|
+
const [R, v] = D.useState(null), [x, m] = D.useState(
|
|
1709
|
+
f ? Wt(r || [], f) : 0
|
|
1710
1710
|
);
|
|
1711
|
-
return
|
|
1712
|
-
v(null), m(
|
|
1713
|
-
},
|
|
1714
|
-
if (!
|
|
1711
|
+
return Kt.onClose = () => {
|
|
1712
|
+
v(null), m(f ? Wt(r || [], f) : 0);
|
|
1713
|
+
}, Xe(() => {
|
|
1714
|
+
if (!u)
|
|
1715
1715
|
return;
|
|
1716
|
-
const b = document.querySelectorAll("[contenteditable]"),
|
|
1716
|
+
const b = document.querySelectorAll("[contenteditable]"), k = () => {
|
|
1717
1717
|
const A = document.querySelector("footer");
|
|
1718
1718
|
A && (A.style.display = "flex");
|
|
1719
|
-
},
|
|
1719
|
+
}, $ = () => {
|
|
1720
1720
|
const A = document.querySelector("footer");
|
|
1721
1721
|
A && (A.style.display = "none");
|
|
1722
1722
|
};
|
|
1723
1723
|
return b.forEach((A) => {
|
|
1724
|
-
A.addEventListener("focus",
|
|
1724
|
+
A.addEventListener("focus", $, !0), A.addEventListener("blur", k, !0);
|
|
1725
1725
|
}), () => {
|
|
1726
1726
|
b.forEach((A) => {
|
|
1727
|
-
A.removeEventListener("focus",
|
|
1727
|
+
A.removeEventListener("focus", $, !0), A.removeEventListener("blur", k, !0);
|
|
1728
1728
|
});
|
|
1729
1729
|
};
|
|
1730
|
-
}, []), /* @__PURE__ */
|
|
1730
|
+
}, []), /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
|
|
1731
1731
|
R,
|
|
1732
|
-
/* @__PURE__ */
|
|
1732
|
+
/* @__PURE__ */ i.jsxs(
|
|
1733
1733
|
"footer",
|
|
1734
1734
|
{
|
|
1735
|
-
className: `${Ft.h} ${Ft[
|
|
1735
|
+
className: `${Ft.h} ${Ft[C]} ${s} `,
|
|
1736
1736
|
children: [
|
|
1737
1737
|
o,
|
|
1738
|
-
r && r.map((b,
|
|
1738
|
+
r && r.map((b, k) => /* @__PURE__ */ i.jsx(
|
|
1739
1739
|
"div",
|
|
1740
1740
|
{
|
|
1741
|
-
"data-active": x ===
|
|
1741
|
+
"data-active": x === k ? "true" : "false",
|
|
1742
1742
|
onClick: () => {
|
|
1743
|
-
b.page && (m(
|
|
1743
|
+
b.page && (m(k), h == null || h(b.page)), b.callback && (b.callback(), m(k)), b.component && (x === k ? Ze() : (v(b.component), m(k)));
|
|
1744
1744
|
},
|
|
1745
1745
|
children: b.icon
|
|
1746
1746
|
},
|
|
1747
|
-
|
|
1747
|
+
k
|
|
1748
1748
|
))
|
|
1749
1749
|
]
|
|
1750
1750
|
}
|
|
1751
1751
|
)
|
|
1752
1752
|
] });
|
|
1753
|
-
},
|
|
1753
|
+
}, ye = {
|
|
1754
1754
|
is: !1,
|
|
1755
1755
|
MainButton: {},
|
|
1756
1756
|
BackButton: {}
|
|
@@ -1799,77 +1799,77 @@ q.users = {
|
|
|
1799
1799
|
"--tg-theme-button-text-color": "#000000",
|
|
1800
1800
|
"--tg-theme-secondary-bg-color": "#000000"
|
|
1801
1801
|
};
|
|
1802
|
-
const
|
|
1802
|
+
const pr = () => {
|
|
1803
1803
|
if (location.hostname === "localhost") {
|
|
1804
|
-
let [r, o] = le(!1), [
|
|
1805
|
-
|
|
1806
|
-
q[
|
|
1807
|
-
for (let
|
|
1804
|
+
let [r, o] = le(!1), [s, u] = le(!1), [f, h] = le("dark"), [C, R] = le(!1), [v, x] = le(!1);
|
|
1805
|
+
ye.is = !0, ye.MainButton.set = o, ye.BackButton.set = u, Xe(() => {
|
|
1806
|
+
q[f]["--tg-theme-bg-color-alpha"] = q[f]["--tg-theme-bg-color"] + "b3", q[f]["--tg-theme-secondary-bg-color-alpha"] = q[f]["--tg-theme-secondary-bg-color"] + "d3";
|
|
1807
|
+
for (let k in q[f])
|
|
1808
1808
|
document.documentElement.style.setProperty(
|
|
1809
|
-
|
|
1810
|
-
q[
|
|
1809
|
+
k,
|
|
1810
|
+
q[f][k]
|
|
1811
1811
|
);
|
|
1812
|
-
|
|
1812
|
+
Ee.safeAreaInset.bottom === 0 && document.documentElement.style.setProperty(
|
|
1813
1813
|
"--tg-safe-area-inset-bottom",
|
|
1814
1814
|
"16px"
|
|
1815
1815
|
);
|
|
1816
1816
|
}, []);
|
|
1817
|
-
let m = (
|
|
1818
|
-
for (let
|
|
1819
|
-
document.documentElement.style.setProperty(
|
|
1820
|
-
h(
|
|
1817
|
+
let m = (k) => {
|
|
1818
|
+
for (let $ in q[k])
|
|
1819
|
+
document.documentElement.style.setProperty($, q[k][$]);
|
|
1820
|
+
h(k), R(!1);
|
|
1821
1821
|
}, b = () => {
|
|
1822
1822
|
R(!1), x(!0);
|
|
1823
1823
|
};
|
|
1824
|
-
return /* @__PURE__ */
|
|
1825
|
-
/* @__PURE__ */
|
|
1826
|
-
|
|
1824
|
+
return /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
|
|
1825
|
+
/* @__PURE__ */ i.jsxs("header", { className: "debug", children: [
|
|
1826
|
+
s === !1 ? /* @__PURE__ */ i.jsx("div", { className: "b", children: "Отмена" }) : /* @__PURE__ */ i.jsx(
|
|
1827
1827
|
"div",
|
|
1828
1828
|
{
|
|
1829
1829
|
onClick: () => {
|
|
1830
|
-
var
|
|
1831
|
-
|
|
1830
|
+
var k;
|
|
1831
|
+
s.page === void 0 ? (k = s.callback) == null || k.call(s) : _e.setPage(s.page);
|
|
1832
1832
|
},
|
|
1833
1833
|
className: "b",
|
|
1834
1834
|
children: "Назад"
|
|
1835
1835
|
}
|
|
1836
1836
|
),
|
|
1837
|
-
/* @__PURE__ */
|
|
1837
|
+
/* @__PURE__ */ i.jsx("div", { className: "o", onClick: () => R(!C), children: "Меню" })
|
|
1838
1838
|
] }),
|
|
1839
|
-
/* @__PURE__ */
|
|
1840
|
-
r && /* @__PURE__ */
|
|
1839
|
+
/* @__PURE__ */ i.jsx(nt.Init, {}),
|
|
1840
|
+
r && /* @__PURE__ */ i.jsx("div", { className: "mb", children: /* @__PURE__ */ i.jsx(
|
|
1841
1841
|
"button",
|
|
1842
1842
|
{
|
|
1843
1843
|
onClick: () => {
|
|
1844
|
-
r.page &&
|
|
1844
|
+
r.page && _e.setPage(r.page), r.callback && r.callback();
|
|
1845
1845
|
},
|
|
1846
1846
|
children: r.text
|
|
1847
1847
|
}
|
|
1848
1848
|
) }),
|
|
1849
|
-
|
|
1850
|
-
/* @__PURE__ */
|
|
1851
|
-
/* @__PURE__ */
|
|
1852
|
-
/* @__PURE__ */
|
|
1849
|
+
C ? /* @__PURE__ */ i.jsxs("div", { className: "tm", children: [
|
|
1850
|
+
/* @__PURE__ */ i.jsxs("ul", { children: [
|
|
1851
|
+
/* @__PURE__ */ i.jsx("li", { children: /* @__PURE__ */ i.jsx("button", { onClick: b, children: "Authorization" }) }),
|
|
1852
|
+
/* @__PURE__ */ i.jsx("li", {})
|
|
1853
1853
|
] }),
|
|
1854
|
-
/* @__PURE__ */
|
|
1855
|
-
/* @__PURE__ */
|
|
1856
|
-
/* @__PURE__ */
|
|
1857
|
-
/* @__PURE__ */
|
|
1858
|
-
/* @__PURE__ */
|
|
1854
|
+
/* @__PURE__ */ i.jsxs("ul", { children: [
|
|
1855
|
+
/* @__PURE__ */ i.jsxs("li", { children: [
|
|
1856
|
+
/* @__PURE__ */ i.jsx("button", { children: "Thema" }),
|
|
1857
|
+
/* @__PURE__ */ i.jsxs("ol", { children: [
|
|
1858
|
+
/* @__PURE__ */ i.jsx("li", { children: /* @__PURE__ */ i.jsx(
|
|
1859
1859
|
"button",
|
|
1860
1860
|
{
|
|
1861
1861
|
onClick: () => m("dark"),
|
|
1862
1862
|
children: "Dark"
|
|
1863
1863
|
}
|
|
1864
1864
|
) }),
|
|
1865
|
-
/* @__PURE__ */
|
|
1865
|
+
/* @__PURE__ */ i.jsx("li", { children: /* @__PURE__ */ i.jsx(
|
|
1866
1866
|
"button",
|
|
1867
1867
|
{
|
|
1868
1868
|
onClick: () => m("light"),
|
|
1869
1869
|
children: "Light"
|
|
1870
1870
|
}
|
|
1871
1871
|
) }),
|
|
1872
|
-
/* @__PURE__ */
|
|
1872
|
+
/* @__PURE__ */ i.jsx("li", { children: /* @__PURE__ */ i.jsx(
|
|
1873
1873
|
"button",
|
|
1874
1874
|
{
|
|
1875
1875
|
onClick: () => m("users"),
|
|
@@ -1878,97 +1878,135 @@ const dr = () => {
|
|
|
1878
1878
|
) })
|
|
1879
1879
|
] })
|
|
1880
1880
|
] }),
|
|
1881
|
-
/* @__PURE__ */
|
|
1881
|
+
/* @__PURE__ */ i.jsx("li", { children: /* @__PURE__ */ i.jsx("button", { onClick: () => R(!C), children: "Closed" }) })
|
|
1882
1882
|
] })
|
|
1883
1883
|
] }) : "",
|
|
1884
|
-
v ? /* @__PURE__ */
|
|
1884
|
+
v ? /* @__PURE__ */ i.jsx(vr, { setAuthorization: x }) : ""
|
|
1885
1885
|
] });
|
|
1886
1886
|
} else
|
|
1887
|
-
return
|
|
1887
|
+
return Xe(() => {
|
|
1888
1888
|
document.documentElement.style.setProperty(
|
|
1889
1889
|
"--tg-theme-secondary-bg-color-alpha",
|
|
1890
|
-
|
|
1890
|
+
Ee.themeParams.secondary_bg_color + "d3"
|
|
1891
1891
|
), document.documentElement.style.setProperty(
|
|
1892
1892
|
"--tg-theme-bg-color-alpha",
|
|
1893
|
-
|
|
1894
|
-
),
|
|
1893
|
+
Ee.themeParams.bg_color + "b3"
|
|
1894
|
+
), Ee.safeAreaInset.bottom === 0 && document.documentElement.style.setProperty(
|
|
1895
1895
|
"--tg-safe-area-inset-bottom",
|
|
1896
1896
|
"16px"
|
|
1897
1897
|
);
|
|
1898
|
-
}, []), /* @__PURE__ */
|
|
1899
|
-
},
|
|
1900
|
-
let o = {},
|
|
1898
|
+
}, []), /* @__PURE__ */ i.jsx(i.Fragment, { children: /* @__PURE__ */ i.jsx(nt.Init, {}) });
|
|
1899
|
+
}, vr = ({ setAuthorization: r }) => {
|
|
1900
|
+
let o = {}, s = () => {
|
|
1901
1901
|
localStorage.setItem("auth", o);
|
|
1902
1902
|
};
|
|
1903
|
-
return /* @__PURE__ */
|
|
1904
|
-
/* @__PURE__ */
|
|
1905
|
-
/* @__PURE__ */
|
|
1903
|
+
return /* @__PURE__ */ i.jsx("div", { className: "ta", children: /* @__PURE__ */ i.jsxs("div", { className: "--body", children: [
|
|
1904
|
+
/* @__PURE__ */ i.jsx("fieldset", {}),
|
|
1905
|
+
/* @__PURE__ */ i.jsx("div", { onClick: s, children: " Сохранить " })
|
|
1906
1906
|
] }) });
|
|
1907
|
-
},
|
|
1908
|
-
p:
|
|
1909
|
-
s:
|
|
1910
|
-
},
|
|
1907
|
+
}, mr = "_p_12hh1_1", hr = "_s_12hh1_17", Lt = {
|
|
1908
|
+
p: mr,
|
|
1909
|
+
s: hr
|
|
1910
|
+
}, gr = ({ className: r, children: o, isScroll: s = !0 }) => /* @__PURE__ */ i.jsx(
|
|
1911
1911
|
"div",
|
|
1912
1912
|
{
|
|
1913
|
-
className: [
|
|
1913
|
+
className: [Lt.p, s && Lt.s, r].filter((u) => u !== void 0).join(" "),
|
|
1914
1914
|
children: o
|
|
1915
1915
|
}
|
|
1916
|
-
),
|
|
1917
|
-
l:
|
|
1918
|
-
},
|
|
1916
|
+
), yr = "_l_gfyud_1", br = {
|
|
1917
|
+
l: yr
|
|
1918
|
+
}, _r = ({ children: r, className: o }) => /* @__PURE__ */ i.jsx(
|
|
1919
1919
|
"div",
|
|
1920
1920
|
{
|
|
1921
|
-
className: [
|
|
1921
|
+
className: [br.l, o].filter((s) => s !== void 0).join(" "),
|
|
1922
1922
|
children: r
|
|
1923
1923
|
}
|
|
1924
|
-
),
|
|
1924
|
+
), Rr = "_m_ppm7n_2", kr = "_g_ppm7n_10", Er = "_i_ppm7n_18", Sr = "_c_ppm7n_35", xr = "_l_ppm7n_42", jr = "_a_ppm7n_57", Or = "_n_ppm7n_62", ge = {
|
|
1925
|
+
m: Rr,
|
|
1926
|
+
g: kr,
|
|
1927
|
+
i: Er,
|
|
1928
|
+
c: Sr,
|
|
1929
|
+
l: xr,
|
|
1930
|
+
a: jr,
|
|
1931
|
+
n: Or
|
|
1932
|
+
}, Cr = ({ items: r }) => {
|
|
1933
|
+
const o = (u) => {
|
|
1934
|
+
_e.setPage(u);
|
|
1935
|
+
}, s = (u) => {
|
|
1936
|
+
Ee.openTelegramLink(u);
|
|
1937
|
+
};
|
|
1938
|
+
return /* @__PURE__ */ i.jsx("div", { className: ge.m, children: r.map((u) => /* @__PURE__ */ i.jsx("div", { className: ge.g, children: u.items.map((f, h) => /* @__PURE__ */ i.jsxs(
|
|
1939
|
+
"div",
|
|
1940
|
+
{
|
|
1941
|
+
className: ge.i,
|
|
1942
|
+
onClick: () => f.link ? s(f.link) : o(f.page || ""),
|
|
1943
|
+
children: [
|
|
1944
|
+
/* @__PURE__ */ i.jsxs("div", { className: ge.c, children: [
|
|
1945
|
+
/* @__PURE__ */ i.jsx(
|
|
1946
|
+
"span",
|
|
1947
|
+
{
|
|
1948
|
+
className: ge.l,
|
|
1949
|
+
style: { background: f.color },
|
|
1950
|
+
children: f.icon
|
|
1951
|
+
}
|
|
1952
|
+
),
|
|
1953
|
+
f.title,
|
|
1954
|
+
f.count && /* @__PURE__ */ i.jsx("span", { className: ge.n, children: f.count })
|
|
1955
|
+
] }),
|
|
1956
|
+
/* @__PURE__ */ i.jsx("span", { className: ge.a, children: "›" })
|
|
1957
|
+
]
|
|
1958
|
+
},
|
|
1959
|
+
h
|
|
1960
|
+
)) }, u.id)) });
|
|
1961
|
+
}, J = {
|
|
1925
1962
|
state: [!1],
|
|
1926
1963
|
listen: [],
|
|
1927
1964
|
router: (r) => {
|
|
1928
|
-
r === !1 ? (
|
|
1929
|
-
var
|
|
1965
|
+
r === !1 ? (L.WebApp.BackButton.isVisible = !1, L.WebApp.BackButton.offClick(J.listen[0]), J.listen.shift(), J.state.length !== 1 && J.state.pop()) : (L.WebApp.BackButton.isVisible = !0, L.WebApp.BackButton.offClick(J.listen[0]), J.listen.shift(), J.listen.push(() => {
|
|
1966
|
+
var s;
|
|
1930
1967
|
let o = J.state.pop();
|
|
1931
|
-
o.page !== void 0 ?
|
|
1932
|
-
}),
|
|
1968
|
+
o.page !== void 0 ? _e.setPage(o.page) : (s = o.callback) == null || s.call(o);
|
|
1969
|
+
}), Ee.BackButton.onClick(J.listen[0]));
|
|
1933
1970
|
}
|
|
1934
1971
|
};
|
|
1935
|
-
var
|
|
1972
|
+
var L;
|
|
1936
1973
|
((r) => {
|
|
1937
1974
|
r.WebApp = window.Telegram.WebApp, r.getUser = () => {
|
|
1938
1975
|
var o;
|
|
1939
1976
|
return ((o = r.WebApp.initDataUnsafe) == null ? void 0 : o.user) === void 0 ? {} : r.WebApp.initDataUnsafe;
|
|
1940
|
-
}, r.Notice = (o,
|
|
1941
|
-
var
|
|
1942
|
-
|
|
1943
|
-
}, r.Header =
|
|
1977
|
+
}, r.Notice = (o, s, u) => {
|
|
1978
|
+
var f, h;
|
|
1979
|
+
s !== void 0 ? (nt.Send({ type: o, text: s, thema: u }), (f = r.WebApp.HapticFeedback) == null || f.notificationOccurred(o)) : (nt.Send(o), (h = r.WebApp.HapticFeedback) == null || h.notificationOccurred(o.type));
|
|
1980
|
+
}, r.Header = pr, r.Footer = Ht, r.BottomSheet = qt, r.toggleBottomSheet = Ze, r.SafeArea = gr, r.Loading = _r, r.Modal = Tt, r.Menu = Cr, r.MainButton = {
|
|
1944
1981
|
callback: [],
|
|
1945
1982
|
set: (o) => {
|
|
1946
|
-
|
|
1947
|
-
r.WebApp.MainButton.offClick(
|
|
1983
|
+
ye.is ? ye.MainButton.set(o) : (r.WebApp.MainButton.callback.forEach((s) => {
|
|
1984
|
+
r.WebApp.MainButton.offClick(s);
|
|
1948
1985
|
}), 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(() => {
|
|
1949
|
-
var
|
|
1950
|
-
o.page === void 0 ? (
|
|
1986
|
+
var s;
|
|
1987
|
+
o.page === void 0 ? (s = o.callback) == null || s.call(o) : _e.setPage(o.page);
|
|
1951
1988
|
}), r.WebApp.MainButton.onClick(
|
|
1952
1989
|
r.WebApp.MainButton.callback[0]
|
|
1953
1990
|
)));
|
|
1954
1991
|
}
|
|
1955
1992
|
}, r.BackButton = (o) => {
|
|
1956
|
-
|
|
1993
|
+
ye.is ? ye.BackButton.set(o) : (J.state.push(o), J.router(o));
|
|
1957
1994
|
};
|
|
1958
|
-
})(
|
|
1959
|
-
const
|
|
1995
|
+
})(L || (L = {}));
|
|
1996
|
+
const Pr = Ht, Ar = qt, Tr = L.BackButton, Ir = L.Notice, Nr = L.SafeArea, $r = L.Loading, Dr = L.Menu, { Header: Mr, toggleBottomSheet: Br, Modal: Fr, MainButton: Wr, WebApp: Ee, getUser: Lr } = L;
|
|
1960
1997
|
export {
|
|
1961
|
-
|
|
1962
|
-
|
|
1963
|
-
|
|
1964
|
-
|
|
1965
|
-
|
|
1966
|
-
|
|
1967
|
-
|
|
1968
|
-
|
|
1969
|
-
|
|
1970
|
-
|
|
1971
|
-
|
|
1972
|
-
|
|
1973
|
-
|
|
1998
|
+
Tr as BackButton,
|
|
1999
|
+
Ar as BottomSheet,
|
|
2000
|
+
Pr as Footer,
|
|
2001
|
+
Mr as Header,
|
|
2002
|
+
$r as Loading,
|
|
2003
|
+
Wr as MainButton,
|
|
2004
|
+
Dr as Menu,
|
|
2005
|
+
Fr as Modal,
|
|
2006
|
+
Ir as Notice,
|
|
2007
|
+
Nr as SafeArea,
|
|
2008
|
+
Ee as WebApp,
|
|
2009
|
+
L as default,
|
|
2010
|
+
Lr as getUser,
|
|
2011
|
+
Br as toggleBottomSheet
|
|
1974
2012
|
};
|