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