@elcrm/telegram 0.0.116 → 0.0.118
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/TabBar/TabBar.d.ts +1 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.es.js +664 -634
- package/dist/index.umd.js +18 -18
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import F, { useState as J, useEffect as
|
|
2
|
-
import { createPortal as
|
|
3
|
-
import './index.css';var
|
|
1
|
+
import F, { useState as J, useEffect as pe } from "react";
|
|
2
|
+
import { createPortal as ar } from "react-dom";
|
|
3
|
+
import './index.css';var Lt = { exports: {} }, nt = {};
|
|
4
4
|
/**
|
|
5
5
|
* @license React
|
|
6
6
|
* react-jsx-runtime.production.min.js
|
|
@@ -10,21 +10,21 @@ import './index.css';var Ft = { exports: {} }, rt = {};
|
|
|
10
10
|
* This source code is licensed under the MIT license found in the
|
|
11
11
|
* LICENSE file in the root directory of this source tree.
|
|
12
12
|
*/
|
|
13
|
-
var
|
|
14
|
-
function
|
|
15
|
-
if (
|
|
16
|
-
|
|
13
|
+
var Yt;
|
|
14
|
+
function sr() {
|
|
15
|
+
if (Yt) return nt;
|
|
16
|
+
Yt = 1;
|
|
17
17
|
var r = F, n = Symbol.for("react.element"), a = Symbol.for("react.fragment"), c = Object.prototype.hasOwnProperty, l = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, p = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
18
|
-
function
|
|
19
|
-
var h, b = {}, y = null,
|
|
20
|
-
R !== void 0 && (y = "" + R), u.key !== void 0 && (y = "" + u.key), u.ref !== void 0 && (
|
|
18
|
+
function S(m, u, R) {
|
|
19
|
+
var h, b = {}, y = null, $ = null;
|
|
20
|
+
R !== void 0 && (y = "" + R), u.key !== void 0 && (y = "" + u.key), u.ref !== void 0 && ($ = u.ref);
|
|
21
21
|
for (h in u) c.call(u, h) && !p.hasOwnProperty(h) && (b[h] = u[h]);
|
|
22
22
|
if (m && m.defaultProps) for (h in u = m.defaultProps, u) b[h] === void 0 && (b[h] = u[h]);
|
|
23
|
-
return { $$typeof: n, type: m, key: y, ref:
|
|
23
|
+
return { $$typeof: n, type: m, key: y, ref: $, props: b, _owner: l.current };
|
|
24
24
|
}
|
|
25
|
-
return
|
|
25
|
+
return nt.Fragment = a, nt.jsx = S, nt.jsxs = S, nt;
|
|
26
26
|
}
|
|
27
|
-
var
|
|
27
|
+
var ot = {};
|
|
28
28
|
/**
|
|
29
29
|
* @license React
|
|
30
30
|
* react-jsx-runtime.development.js
|
|
@@ -34,27 +34,27 @@ var nt = {};
|
|
|
34
34
|
* This source code is licensed under the MIT license found in the
|
|
35
35
|
* LICENSE file in the root directory of this source tree.
|
|
36
36
|
*/
|
|
37
|
-
var
|
|
38
|
-
function
|
|
39
|
-
return
|
|
40
|
-
var r = F, n = Symbol.for("react.element"), a = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), l = Symbol.for("react.strict_mode"), p = Symbol.for("react.profiler"),
|
|
41
|
-
function
|
|
37
|
+
var zt;
|
|
38
|
+
function ir() {
|
|
39
|
+
return zt || (zt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
40
|
+
var r = F, n = Symbol.for("react.element"), a = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), l = Symbol.for("react.strict_mode"), p = Symbol.for("react.profiler"), S = Symbol.for("react.provider"), m = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), R = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), b = Symbol.for("react.memo"), y = Symbol.for("react.lazy"), $ = Symbol.for("react.offscreen"), w = Symbol.iterator, Ne = "@@iterator";
|
|
41
|
+
function he(e) {
|
|
42
42
|
if (e === null || typeof e != "object")
|
|
43
43
|
return null;
|
|
44
|
-
var t =
|
|
44
|
+
var t = w && e[w] || e[Ne];
|
|
45
45
|
return typeof t == "function" ? t : null;
|
|
46
46
|
}
|
|
47
|
-
var
|
|
47
|
+
var L = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
48
48
|
function j(e) {
|
|
49
49
|
{
|
|
50
50
|
for (var t = arguments.length, o = new Array(t > 1 ? t - 1 : 0), s = 1; s < t; s++)
|
|
51
51
|
o[s - 1] = arguments[s];
|
|
52
|
-
|
|
52
|
+
Be("error", e, o);
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
|
-
function
|
|
55
|
+
function Be(e, t, o) {
|
|
56
56
|
{
|
|
57
|
-
var s =
|
|
57
|
+
var s = L.ReactDebugCurrentFrame, v = s.getStackAddendum();
|
|
58
58
|
v !== "" && (t += "%s", o = o.concat([v]));
|
|
59
59
|
var g = o.map(function(d) {
|
|
60
60
|
return String(d);
|
|
@@ -62,10 +62,10 @@ function sr() {
|
|
|
62
62
|
g.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, g);
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
|
-
var
|
|
65
|
+
var Ie = !1, Ce = !1, Me = !1, De = !1, _ = !1, E;
|
|
66
66
|
E = Symbol.for("react.module.reference");
|
|
67
67
|
function B(e) {
|
|
68
|
-
return !!(typeof e == "string" || typeof e == "function" || e === c || e === p || _ || e === l || e === R || e === h ||
|
|
68
|
+
return !!(typeof e == "string" || typeof e == "function" || e === c || e === p || _ || e === l || e === R || e === h || De || e === $ || Ie || Ce || Me || typeof e == "object" && e !== null && (e.$$typeof === y || e.$$typeof === b || e.$$typeof === S || e.$$typeof === m || e.$$typeof === u || // This needs to include all possible module reference object
|
|
69
69
|
// types supported by any Flight configuration anywhere since
|
|
70
70
|
// we don't know which Flight build this will end up being used
|
|
71
71
|
// with.
|
|
@@ -81,7 +81,7 @@ function sr() {
|
|
|
81
81
|
function I(e) {
|
|
82
82
|
return e.displayName || "Context";
|
|
83
83
|
}
|
|
84
|
-
function
|
|
84
|
+
function N(e) {
|
|
85
85
|
if (e == null)
|
|
86
86
|
return null;
|
|
87
87
|
if (typeof e.tag == "number" && j("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
@@ -107,18 +107,18 @@ function sr() {
|
|
|
107
107
|
case m:
|
|
108
108
|
var t = e;
|
|
109
109
|
return I(t) + ".Consumer";
|
|
110
|
-
case
|
|
110
|
+
case S:
|
|
111
111
|
var o = e;
|
|
112
112
|
return I(o._context) + ".Provider";
|
|
113
113
|
case u:
|
|
114
114
|
return M(e, e.render, "ForwardRef");
|
|
115
115
|
case b:
|
|
116
116
|
var s = e.displayName || null;
|
|
117
|
-
return s !== null ? s :
|
|
117
|
+
return s !== null ? s : N(e.type) || "Memo";
|
|
118
118
|
case y: {
|
|
119
119
|
var v = e, g = v._payload, d = v._init;
|
|
120
120
|
try {
|
|
121
|
-
return
|
|
121
|
+
return N(d(g));
|
|
122
122
|
} catch {
|
|
123
123
|
return null;
|
|
124
124
|
}
|
|
@@ -126,14 +126,14 @@ function sr() {
|
|
|
126
126
|
}
|
|
127
127
|
return null;
|
|
128
128
|
}
|
|
129
|
-
var D = Object.assign, Y = 0,
|
|
129
|
+
var D = Object.assign, Y = 0, le, Z, X, Q, ee, Fe, Le;
|
|
130
130
|
function We() {
|
|
131
131
|
}
|
|
132
132
|
We.__reactDisabledLog = !0;
|
|
133
|
-
function
|
|
133
|
+
function dt() {
|
|
134
134
|
{
|
|
135
135
|
if (Y === 0) {
|
|
136
|
-
|
|
136
|
+
le = console.log, Z = console.info, X = console.warn, Q = console.error, ee = console.group, Fe = console.groupCollapsed, Le = console.groupEnd;
|
|
137
137
|
var e = {
|
|
138
138
|
configurable: !0,
|
|
139
139
|
enumerable: !0,
|
|
@@ -153,7 +153,7 @@ function sr() {
|
|
|
153
153
|
Y++;
|
|
154
154
|
}
|
|
155
155
|
}
|
|
156
|
-
function
|
|
156
|
+
function pt() {
|
|
157
157
|
{
|
|
158
158
|
if (Y--, Y === 0) {
|
|
159
159
|
var e = {
|
|
@@ -163,7 +163,7 @@ function sr() {
|
|
|
163
163
|
};
|
|
164
164
|
Object.defineProperties(console, {
|
|
165
165
|
log: D({}, e, {
|
|
166
|
-
value:
|
|
166
|
+
value: le
|
|
167
167
|
}),
|
|
168
168
|
info: D({}, e, {
|
|
169
169
|
value: Z
|
|
@@ -178,37 +178,37 @@ function sr() {
|
|
|
178
178
|
value: ee
|
|
179
179
|
}),
|
|
180
180
|
groupCollapsed: D({}, e, {
|
|
181
|
-
value:
|
|
181
|
+
value: Fe
|
|
182
182
|
}),
|
|
183
183
|
groupEnd: D({}, e, {
|
|
184
|
-
value:
|
|
184
|
+
value: Le
|
|
185
185
|
})
|
|
186
186
|
});
|
|
187
187
|
}
|
|
188
188
|
Y < 0 && j("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
189
189
|
}
|
|
190
190
|
}
|
|
191
|
-
var
|
|
191
|
+
var ye = L.ReactCurrentDispatcher, ge;
|
|
192
192
|
function re(e, t, o) {
|
|
193
193
|
{
|
|
194
|
-
if (
|
|
194
|
+
if (ge === void 0)
|
|
195
195
|
try {
|
|
196
196
|
throw Error();
|
|
197
197
|
} catch (v) {
|
|
198
198
|
var s = v.stack.trim().match(/\n( *(at )?)/);
|
|
199
|
-
|
|
199
|
+
ge = s && s[1] || "";
|
|
200
200
|
}
|
|
201
201
|
return `
|
|
202
|
-
` +
|
|
202
|
+
` + ge + e;
|
|
203
203
|
}
|
|
204
204
|
}
|
|
205
|
-
var
|
|
205
|
+
var me = !1, ne;
|
|
206
206
|
{
|
|
207
|
-
var
|
|
208
|
-
ne = new
|
|
207
|
+
var vt = typeof WeakMap == "function" ? WeakMap : Map;
|
|
208
|
+
ne = new vt();
|
|
209
209
|
}
|
|
210
|
-
function
|
|
211
|
-
if (!e ||
|
|
210
|
+
function Ue(e, t) {
|
|
211
|
+
if (!e || me)
|
|
212
212
|
return "";
|
|
213
213
|
{
|
|
214
214
|
var o = ne.get(e);
|
|
@@ -216,11 +216,11 @@ function sr() {
|
|
|
216
216
|
return o;
|
|
217
217
|
}
|
|
218
218
|
var s;
|
|
219
|
-
|
|
219
|
+
me = !0;
|
|
220
220
|
var v = Error.prepareStackTrace;
|
|
221
221
|
Error.prepareStackTrace = void 0;
|
|
222
222
|
var g;
|
|
223
|
-
g =
|
|
223
|
+
g = ye.current, ye.current = null, dt();
|
|
224
224
|
try {
|
|
225
225
|
if (t) {
|
|
226
226
|
var d = function() {
|
|
@@ -256,32 +256,32 @@ function sr() {
|
|
|
256
256
|
} catch (C) {
|
|
257
257
|
if (C && s && typeof C.stack == "string") {
|
|
258
258
|
for (var f = C.stack.split(`
|
|
259
|
-
`),
|
|
260
|
-
`),
|
|
259
|
+
`), A = s.stack.split(`
|
|
260
|
+
`), x = f.length - 1, k = A.length - 1; x >= 1 && k >= 0 && f[x] !== A[k]; )
|
|
261
261
|
k--;
|
|
262
|
-
for (;
|
|
263
|
-
if (f[
|
|
264
|
-
if (
|
|
262
|
+
for (; x >= 1 && k >= 0; x--, k--)
|
|
263
|
+
if (f[x] !== A[k]) {
|
|
264
|
+
if (x !== 1 || k !== 1)
|
|
265
265
|
do
|
|
266
|
-
if (
|
|
267
|
-
var
|
|
268
|
-
` + f[
|
|
269
|
-
return e.displayName &&
|
|
266
|
+
if (x--, k--, k < 0 || f[x] !== A[k]) {
|
|
267
|
+
var P = `
|
|
268
|
+
` + f[x].replace(" at new ", " at ");
|
|
269
|
+
return e.displayName && P.includes("<anonymous>") && (P = P.replace("<anonymous>", e.displayName)), typeof e == "function" && ne.set(e, P), P;
|
|
270
270
|
}
|
|
271
|
-
while (
|
|
271
|
+
while (x >= 1 && k >= 0);
|
|
272
272
|
break;
|
|
273
273
|
}
|
|
274
274
|
}
|
|
275
275
|
} finally {
|
|
276
|
-
|
|
276
|
+
me = !1, ye.current = g, pt(), Error.prepareStackTrace = v;
|
|
277
277
|
}
|
|
278
|
-
var
|
|
279
|
-
return typeof e == "function" && ne.set(e,
|
|
278
|
+
var V = e ? e.displayName || e.name : "", W = V ? re(V) : "";
|
|
279
|
+
return typeof e == "function" && ne.set(e, W), W;
|
|
280
280
|
}
|
|
281
|
-
function
|
|
282
|
-
return
|
|
281
|
+
function ht(e, t, o) {
|
|
282
|
+
return Ue(e, !1);
|
|
283
283
|
}
|
|
284
|
-
function
|
|
284
|
+
function yt(e) {
|
|
285
285
|
var t = e.prototype;
|
|
286
286
|
return !!(t && t.isReactComponent);
|
|
287
287
|
}
|
|
@@ -289,7 +289,7 @@ function sr() {
|
|
|
289
289
|
if (e == null)
|
|
290
290
|
return "";
|
|
291
291
|
if (typeof e == "function")
|
|
292
|
-
return
|
|
292
|
+
return Ue(e, yt(e));
|
|
293
293
|
if (typeof e == "string")
|
|
294
294
|
return re(e);
|
|
295
295
|
switch (e) {
|
|
@@ -301,7 +301,7 @@ function sr() {
|
|
|
301
301
|
if (typeof e == "object")
|
|
302
302
|
switch (e.$$typeof) {
|
|
303
303
|
case u:
|
|
304
|
-
return
|
|
304
|
+
return ht(e.render);
|
|
305
305
|
case b:
|
|
306
306
|
return oe(e.type, t, o);
|
|
307
307
|
case y: {
|
|
@@ -314,15 +314,15 @@ function sr() {
|
|
|
314
314
|
}
|
|
315
315
|
return "";
|
|
316
316
|
}
|
|
317
|
-
var K = Object.prototype.hasOwnProperty,
|
|
317
|
+
var K = Object.prototype.hasOwnProperty, Ye = {}, ze = L.ReactDebugCurrentFrame;
|
|
318
318
|
function ae(e) {
|
|
319
319
|
if (e) {
|
|
320
320
|
var t = e._owner, o = oe(e.type, e._source, t ? t.type : null);
|
|
321
|
-
|
|
321
|
+
ze.setExtraStackFrame(o);
|
|
322
322
|
} else
|
|
323
|
-
|
|
323
|
+
ze.setExtraStackFrame(null);
|
|
324
324
|
}
|
|
325
|
-
function
|
|
325
|
+
function gt(e, t, o, s, v) {
|
|
326
326
|
{
|
|
327
327
|
var g = Function.call.bind(K);
|
|
328
328
|
for (var d in e)
|
|
@@ -330,28 +330,28 @@ function sr() {
|
|
|
330
330
|
var f = void 0;
|
|
331
331
|
try {
|
|
332
332
|
if (typeof e[d] != "function") {
|
|
333
|
-
var
|
|
334
|
-
throw
|
|
333
|
+
var A = Error((s || "React class") + ": " + o + " type `" + d + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[d] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
334
|
+
throw A.name = "Invariant Violation", A;
|
|
335
335
|
}
|
|
336
336
|
f = e[d](t, d, s, o, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
337
|
-
} catch (
|
|
338
|
-
f =
|
|
337
|
+
} catch (x) {
|
|
338
|
+
f = x;
|
|
339
339
|
}
|
|
340
|
-
f && !(f instanceof Error) && (ae(v), j("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", s || "React class", o, d, typeof f), ae(null)), f instanceof Error && !(f.message in
|
|
340
|
+
f && !(f instanceof Error) && (ae(v), j("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", s || "React class", o, d, typeof f), ae(null)), f instanceof Error && !(f.message in Ye) && (Ye[f.message] = !0, ae(v), j("Failed %s type: %s", o, f.message), ae(null));
|
|
341
341
|
}
|
|
342
342
|
}
|
|
343
343
|
}
|
|
344
|
-
var
|
|
345
|
-
function
|
|
346
|
-
return
|
|
344
|
+
var mt = Array.isArray;
|
|
345
|
+
function be(e) {
|
|
346
|
+
return mt(e);
|
|
347
347
|
}
|
|
348
|
-
function
|
|
348
|
+
function bt(e) {
|
|
349
349
|
{
|
|
350
350
|
var t = typeof Symbol == "function" && Symbol.toStringTag, o = t && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
351
351
|
return o;
|
|
352
352
|
}
|
|
353
353
|
}
|
|
354
|
-
function
|
|
354
|
+
function _t(e) {
|
|
355
355
|
try {
|
|
356
356
|
return Ve(e), !1;
|
|
357
357
|
} catch {
|
|
@@ -361,17 +361,17 @@ function sr() {
|
|
|
361
361
|
function Ve(e) {
|
|
362
362
|
return "" + e;
|
|
363
363
|
}
|
|
364
|
-
function
|
|
365
|
-
if (
|
|
366
|
-
return j("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",
|
|
364
|
+
function qe(e) {
|
|
365
|
+
if (_t(e))
|
|
366
|
+
return j("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", bt(e)), Ve(e);
|
|
367
367
|
}
|
|
368
|
-
var
|
|
368
|
+
var He = L.ReactCurrentOwner, Rt = {
|
|
369
369
|
key: !0,
|
|
370
370
|
ref: !0,
|
|
371
371
|
__self: !0,
|
|
372
372
|
__source: !0
|
|
373
|
-
},
|
|
374
|
-
function
|
|
373
|
+
}, Je, Ke;
|
|
374
|
+
function St(e) {
|
|
375
375
|
if (K.call(e, "ref")) {
|
|
376
376
|
var t = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
377
377
|
if (t && t.isReactWarning)
|
|
@@ -379,7 +379,7 @@ function sr() {
|
|
|
379
379
|
}
|
|
380
380
|
return e.ref !== void 0;
|
|
381
381
|
}
|
|
382
|
-
function
|
|
382
|
+
function xt(e) {
|
|
383
383
|
if (K.call(e, "key")) {
|
|
384
384
|
var t = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
385
385
|
if (t && t.isReactWarning)
|
|
@@ -387,13 +387,13 @@ function sr() {
|
|
|
387
387
|
}
|
|
388
388
|
return e.key !== void 0;
|
|
389
389
|
}
|
|
390
|
-
function xt(e, t) {
|
|
391
|
-
typeof e.ref == "string" && qe.current;
|
|
392
|
-
}
|
|
393
390
|
function kt(e, t) {
|
|
391
|
+
typeof e.ref == "string" && He.current;
|
|
392
|
+
}
|
|
393
|
+
function Et(e, t) {
|
|
394
394
|
{
|
|
395
395
|
var o = function() {
|
|
396
|
-
|
|
396
|
+
Je || (Je = !0, j("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
|
|
397
397
|
};
|
|
398
398
|
o.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
399
399
|
get: o,
|
|
@@ -401,10 +401,10 @@ function sr() {
|
|
|
401
401
|
});
|
|
402
402
|
}
|
|
403
403
|
}
|
|
404
|
-
function
|
|
404
|
+
function jt(e, t) {
|
|
405
405
|
{
|
|
406
406
|
var o = function() {
|
|
407
|
-
|
|
407
|
+
Ke || (Ke = !0, j("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
|
|
408
408
|
};
|
|
409
409
|
o.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
410
410
|
get: o,
|
|
@@ -412,7 +412,7 @@ function sr() {
|
|
|
412
412
|
});
|
|
413
413
|
}
|
|
414
414
|
}
|
|
415
|
-
var
|
|
415
|
+
var At = function(e, t, o, s, v, g, d) {
|
|
416
416
|
var f = {
|
|
417
417
|
// This tag allows us to uniquely identify this as a React Element
|
|
418
418
|
$$typeof: n,
|
|
@@ -443,39 +443,39 @@ function sr() {
|
|
|
443
443
|
};
|
|
444
444
|
function Ot(e, t, o, s, v) {
|
|
445
445
|
{
|
|
446
|
-
var g, d = {}, f = null,
|
|
447
|
-
o !== void 0 && (
|
|
446
|
+
var g, d = {}, f = null, A = null;
|
|
447
|
+
o !== void 0 && (qe(o), f = "" + o), xt(t) && (qe(t.key), f = "" + t.key), St(t) && (A = t.ref, kt(t, v));
|
|
448
448
|
for (g in t)
|
|
449
|
-
K.call(t, g) && !
|
|
449
|
+
K.call(t, g) && !Rt.hasOwnProperty(g) && (d[g] = t[g]);
|
|
450
450
|
if (e && e.defaultProps) {
|
|
451
|
-
var
|
|
452
|
-
for (g in
|
|
453
|
-
d[g] === void 0 && (d[g] =
|
|
451
|
+
var x = e.defaultProps;
|
|
452
|
+
for (g in x)
|
|
453
|
+
d[g] === void 0 && (d[g] = x[g]);
|
|
454
454
|
}
|
|
455
|
-
if (f ||
|
|
455
|
+
if (f || A) {
|
|
456
456
|
var k = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
457
|
-
f &&
|
|
457
|
+
f && Et(d, k), A && jt(d, k);
|
|
458
458
|
}
|
|
459
|
-
return
|
|
459
|
+
return At(e, f, A, v, s, He.current, d);
|
|
460
460
|
}
|
|
461
461
|
}
|
|
462
|
-
var
|
|
463
|
-
function
|
|
462
|
+
var _e = L.ReactCurrentOwner, Ge = L.ReactDebugCurrentFrame;
|
|
463
|
+
function z(e) {
|
|
464
464
|
if (e) {
|
|
465
465
|
var t = e._owner, o = oe(e.type, e._source, t ? t.type : null);
|
|
466
|
-
|
|
466
|
+
Ge.setExtraStackFrame(o);
|
|
467
467
|
} else
|
|
468
|
-
|
|
468
|
+
Ge.setExtraStackFrame(null);
|
|
469
469
|
}
|
|
470
|
-
var
|
|
471
|
-
|
|
472
|
-
function
|
|
470
|
+
var Re;
|
|
471
|
+
Re = !1;
|
|
472
|
+
function Se(e) {
|
|
473
473
|
return typeof e == "object" && e !== null && e.$$typeof === n;
|
|
474
474
|
}
|
|
475
|
-
function
|
|
475
|
+
function Ze() {
|
|
476
476
|
{
|
|
477
|
-
if (
|
|
478
|
-
var e =
|
|
477
|
+
if (_e.current) {
|
|
478
|
+
var e = N(_e.current.type);
|
|
479
479
|
if (e)
|
|
480
480
|
return `
|
|
481
481
|
|
|
@@ -484,13 +484,13 @@ Check the render method of \`` + e + "`.";
|
|
|
484
484
|
return "";
|
|
485
485
|
}
|
|
486
486
|
}
|
|
487
|
-
function
|
|
487
|
+
function Ct(e) {
|
|
488
488
|
return "";
|
|
489
489
|
}
|
|
490
|
-
var
|
|
491
|
-
function
|
|
490
|
+
var Xe = {};
|
|
491
|
+
function wt(e) {
|
|
492
492
|
{
|
|
493
|
-
var t =
|
|
493
|
+
var t = Ze();
|
|
494
494
|
if (!t) {
|
|
495
495
|
var o = typeof e == "string" ? e : e.displayName || e.name;
|
|
496
496
|
o && (t = `
|
|
@@ -500,35 +500,35 @@ Check the top-level render call using <` + o + ">.");
|
|
|
500
500
|
return t;
|
|
501
501
|
}
|
|
502
502
|
}
|
|
503
|
-
function
|
|
503
|
+
function Qe(e, t) {
|
|
504
504
|
{
|
|
505
505
|
if (!e._store || e._store.validated || e.key != null)
|
|
506
506
|
return;
|
|
507
507
|
e._store.validated = !0;
|
|
508
|
-
var o =
|
|
509
|
-
if (
|
|
508
|
+
var o = wt(t);
|
|
509
|
+
if (Xe[o])
|
|
510
510
|
return;
|
|
511
|
-
|
|
511
|
+
Xe[o] = !0;
|
|
512
512
|
var s = "";
|
|
513
|
-
e && e._owner && e._owner !==
|
|
513
|
+
e && e._owner && e._owner !== _e.current && (s = " It was passed a child from " + N(e._owner.type) + "."), z(e), j('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', o, s), z(null);
|
|
514
514
|
}
|
|
515
515
|
}
|
|
516
|
-
function
|
|
516
|
+
function et(e, t) {
|
|
517
517
|
{
|
|
518
518
|
if (typeof e != "object")
|
|
519
519
|
return;
|
|
520
|
-
if (
|
|
520
|
+
if (be(e))
|
|
521
521
|
for (var o = 0; o < e.length; o++) {
|
|
522
522
|
var s = e[o];
|
|
523
|
-
|
|
523
|
+
Se(s) && Qe(s, t);
|
|
524
524
|
}
|
|
525
|
-
else if (
|
|
525
|
+
else if (Se(e))
|
|
526
526
|
e._store && (e._store.validated = !0);
|
|
527
527
|
else if (e) {
|
|
528
|
-
var v =
|
|
528
|
+
var v = he(e);
|
|
529
529
|
if (typeof v == "function" && v !== e.entries)
|
|
530
530
|
for (var g = v.call(e), d; !(d = g.next()).done; )
|
|
531
|
-
|
|
531
|
+
Se(d.value) && Qe(d.value, t);
|
|
532
532
|
}
|
|
533
533
|
}
|
|
534
534
|
}
|
|
@@ -547,90 +547,90 @@ Check the top-level render call using <` + o + ">.");
|
|
|
547
547
|
else
|
|
548
548
|
return;
|
|
549
549
|
if (o) {
|
|
550
|
-
var s =
|
|
551
|
-
|
|
552
|
-
} else if (t.PropTypes !== void 0 && !
|
|
553
|
-
|
|
554
|
-
var v =
|
|
550
|
+
var s = N(t);
|
|
551
|
+
gt(o, e.props, "prop", s, e);
|
|
552
|
+
} else if (t.PropTypes !== void 0 && !Re) {
|
|
553
|
+
Re = !0;
|
|
554
|
+
var v = N(t);
|
|
555
555
|
j("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", v || "Unknown");
|
|
556
556
|
}
|
|
557
557
|
typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && j("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
558
558
|
}
|
|
559
559
|
}
|
|
560
|
-
function
|
|
560
|
+
function Tt(e) {
|
|
561
561
|
{
|
|
562
562
|
for (var t = Object.keys(e.props), o = 0; o < t.length; o++) {
|
|
563
563
|
var s = t[o];
|
|
564
564
|
if (s !== "children" && s !== "key") {
|
|
565
|
-
|
|
565
|
+
z(e), j("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", s), z(null);
|
|
566
566
|
break;
|
|
567
567
|
}
|
|
568
568
|
}
|
|
569
|
-
e.ref !== null && (
|
|
569
|
+
e.ref !== null && (z(e), j("Invalid attribute `ref` supplied to `React.Fragment`."), z(null));
|
|
570
570
|
}
|
|
571
571
|
}
|
|
572
|
-
var
|
|
573
|
-
function
|
|
572
|
+
var tt = {};
|
|
573
|
+
function rt(e, t, o, s, v, g) {
|
|
574
574
|
{
|
|
575
575
|
var d = B(e);
|
|
576
576
|
if (!d) {
|
|
577
577
|
var f = "";
|
|
578
578
|
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (f += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
579
|
-
var
|
|
580
|
-
|
|
581
|
-
var
|
|
582
|
-
e === null ?
|
|
579
|
+
var A = Ct();
|
|
580
|
+
A ? f += A : f += Ze();
|
|
581
|
+
var x;
|
|
582
|
+
e === null ? x = "null" : be(e) ? x = "array" : e !== void 0 && e.$$typeof === n ? (x = "<" + (N(e.type) || "Unknown") + " />", f = " Did you accidentally export a JSX literal instead of a component?") : x = typeof e, j("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", x, f);
|
|
583
583
|
}
|
|
584
584
|
var k = Ot(e, t, o, v, g);
|
|
585
585
|
if (k == null)
|
|
586
586
|
return k;
|
|
587
587
|
if (d) {
|
|
588
|
-
var
|
|
589
|
-
if (
|
|
588
|
+
var P = t.children;
|
|
589
|
+
if (P !== void 0)
|
|
590
590
|
if (s)
|
|
591
|
-
if (
|
|
592
|
-
for (var
|
|
593
|
-
|
|
594
|
-
Object.freeze && Object.freeze(
|
|
591
|
+
if (be(P)) {
|
|
592
|
+
for (var V = 0; V < P.length; V++)
|
|
593
|
+
et(P[V], e);
|
|
594
|
+
Object.freeze && Object.freeze(P);
|
|
595
595
|
} else
|
|
596
596
|
j("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
597
597
|
else
|
|
598
|
-
|
|
598
|
+
et(P, e);
|
|
599
599
|
}
|
|
600
600
|
if (K.call(t, "key")) {
|
|
601
|
-
var
|
|
602
|
-
return
|
|
603
|
-
}),
|
|
604
|
-
if (!
|
|
605
|
-
var
|
|
601
|
+
var W = N(e), C = Object.keys(t).filter(function(Dt) {
|
|
602
|
+
return Dt !== "key";
|
|
603
|
+
}), xe = C.length > 0 ? "{key: someKey, " + C.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
604
|
+
if (!tt[W + xe]) {
|
|
605
|
+
var Mt = C.length > 0 ? "{" + C.join(": ..., ") + ": ...}" : "{}";
|
|
606
606
|
j(`A props object containing a "key" prop is being spread into JSX:
|
|
607
607
|
let props = %s;
|
|
608
608
|
<%s {...props} />
|
|
609
609
|
React keys must be passed directly to JSX without using spread:
|
|
610
610
|
let props = %s;
|
|
611
|
-
<%s key={someKey} {...props} />`,
|
|
611
|
+
<%s key={someKey} {...props} />`, xe, W, Mt, W), tt[W + xe] = !0;
|
|
612
612
|
}
|
|
613
613
|
}
|
|
614
|
-
return e === c ?
|
|
614
|
+
return e === c ? Tt(k) : Pt(k), k;
|
|
615
615
|
}
|
|
616
616
|
}
|
|
617
|
-
function Tt(e, t, o) {
|
|
618
|
-
return tt(e, t, o, !0);
|
|
619
|
-
}
|
|
620
617
|
function $t(e, t, o) {
|
|
621
|
-
return
|
|
618
|
+
return rt(e, t, o, !0);
|
|
622
619
|
}
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
620
|
+
function Nt(e, t, o) {
|
|
621
|
+
return rt(e, t, o, !1);
|
|
622
|
+
}
|
|
623
|
+
var Bt = Nt, It = $t;
|
|
624
|
+
ot.Fragment = c, ot.jsx = Bt, ot.jsxs = It;
|
|
625
|
+
}()), ot;
|
|
626
626
|
}
|
|
627
|
-
process.env.NODE_ENV === "production" ?
|
|
628
|
-
var i =
|
|
629
|
-
const
|
|
630
|
-
o:
|
|
627
|
+
process.env.NODE_ENV === "production" ? Lt.exports = sr() : Lt.exports = ir();
|
|
628
|
+
var i = Lt.exports;
|
|
629
|
+
const cr = "_o_1apbm_11", lr = "_x_1apbm_24", ur = "_p_1apbm_28", fr = "_m_1apbm_45", we = {
|
|
630
|
+
o: cr,
|
|
631
631
|
x: lr,
|
|
632
|
-
p:
|
|
633
|
-
m:
|
|
632
|
+
p: ur,
|
|
633
|
+
m: fr
|
|
634
634
|
};
|
|
635
635
|
let q = {};
|
|
636
636
|
var Wt;
|
|
@@ -641,23 +641,23 @@ var Wt;
|
|
|
641
641
|
nameModal: R,
|
|
642
642
|
offsetTop: h
|
|
643
643
|
}) {
|
|
644
|
-
const [b, y] = J(!1), [
|
|
644
|
+
const [b, y] = J(!1), [$, w] = J(!1);
|
|
645
645
|
if (q[R].onClose = () => {
|
|
646
|
-
|
|
647
|
-
y(!1),
|
|
646
|
+
T.BackButton(!1), w(!0), setTimeout(() => {
|
|
647
|
+
y(!1), w(!1), u == null || u(), q.x(R);
|
|
648
648
|
}, 300);
|
|
649
|
-
},
|
|
650
|
-
b ? q[R].onClose() : (
|
|
649
|
+
}, pe(() => {
|
|
650
|
+
b ? q[R].onClose() : (T.BackButton({
|
|
651
651
|
callback: () => q[R].onClose()
|
|
652
652
|
}), y(!0));
|
|
653
653
|
}, []), !!b)
|
|
654
|
-
return /* @__PURE__ */ i.jsx("div", { className:
|
|
654
|
+
return /* @__PURE__ */ i.jsx("div", { className: $e(we.o, $ && we.x), children: /* @__PURE__ */ i.jsx(
|
|
655
655
|
"div",
|
|
656
656
|
{
|
|
657
|
-
className:
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
h ?
|
|
657
|
+
className: $e(
|
|
658
|
+
we.p,
|
|
659
|
+
$ && we.x,
|
|
660
|
+
h ? we.o : we.m
|
|
661
661
|
),
|
|
662
662
|
children: m
|
|
663
663
|
}
|
|
@@ -670,7 +670,7 @@ var Wt;
|
|
|
670
670
|
let [u, R] = J([]);
|
|
671
671
|
return q.x = (h) => {
|
|
672
672
|
R(h ? u.filter((b) => b.key !== h) : []);
|
|
673
|
-
},
|
|
673
|
+
}, pe(() => {
|
|
674
674
|
m && (q.i = m);
|
|
675
675
|
}, []), q.add = (h, b = Date.now()) => {
|
|
676
676
|
R([...u, { key: b, item: h }]);
|
|
@@ -701,9 +701,9 @@ var Wt;
|
|
|
701
701
|
m,
|
|
702
702
|
{
|
|
703
703
|
...y,
|
|
704
|
-
onCallbackModal: (
|
|
705
|
-
var
|
|
706
|
-
(
|
|
704
|
+
onCallbackModal: ($) => {
|
|
705
|
+
var w;
|
|
706
|
+
(w = y.callback) == null || w.call(y, $);
|
|
707
707
|
},
|
|
708
708
|
nameModal: u
|
|
709
709
|
},
|
|
@@ -720,29 +720,29 @@ var Wt;
|
|
|
720
720
|
q[m].onClose();
|
|
721
721
|
}
|
|
722
722
|
r.Close = p;
|
|
723
|
-
function
|
|
723
|
+
function S(m, u, R, h) {
|
|
724
724
|
q.i && (h && (R.callback = h), q.i(`${m}/modals/${u}.tsx`).then((b) => {
|
|
725
725
|
b.default.Open(R);
|
|
726
726
|
}));
|
|
727
727
|
}
|
|
728
|
-
r.Open =
|
|
728
|
+
r.Open = S;
|
|
729
729
|
})(Wt || (Wt = {}));
|
|
730
|
-
function
|
|
730
|
+
function Qt() {
|
|
731
731
|
return typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof self < "u" ? self : typeof global < "u" ? global : {};
|
|
732
732
|
}
|
|
733
|
-
const
|
|
733
|
+
const er = {
|
|
734
734
|
key: "Y0zt37HgOx-BY7SQjYVmrqhPkO41Ii2Jcb9yydUDPf6",
|
|
735
735
|
iterations: 7,
|
|
736
736
|
saltLength: 16
|
|
737
737
|
};
|
|
738
738
|
function Vt(r) {
|
|
739
|
-
const n =
|
|
740
|
-
n.CRYPTO_PARAMS ? n.CRYPTO_PARAMS = { ...n.CRYPTO_PARAMS, ...r } : n.CRYPTO_PARAMS = { ...
|
|
739
|
+
const n = Qt();
|
|
740
|
+
n.CRYPTO_PARAMS ? n.CRYPTO_PARAMS = { ...n.CRYPTO_PARAMS, ...r } : n.CRYPTO_PARAMS = { ...er, ...r };
|
|
741
741
|
}
|
|
742
742
|
function lt() {
|
|
743
|
-
return
|
|
743
|
+
return Qt().CRYPTO_PARAMS || er;
|
|
744
744
|
}
|
|
745
|
-
const
|
|
745
|
+
const ut = (r) => {
|
|
746
746
|
let n = 0;
|
|
747
747
|
for (let c = 0; c < r.length; c++) {
|
|
748
748
|
const l = r.charCodeAt(c);
|
|
@@ -755,52 +755,52 @@ const ct = (r) => {
|
|
|
755
755
|
a += l.toString(16).padStart(2, "0");
|
|
756
756
|
}
|
|
757
757
|
return a;
|
|
758
|
-
},
|
|
758
|
+
}, tr = (r, n) => {
|
|
759
759
|
let a = r + n;
|
|
760
760
|
for (let l = 0; l < lt().iterations; l++)
|
|
761
|
-
a =
|
|
761
|
+
a = ut(a);
|
|
762
762
|
const c = new Uint8Array(32);
|
|
763
763
|
for (let l = 0; l < 32; l++)
|
|
764
764
|
c[l] = parseInt(a.substring(l * 2, l * 2 + 2), 16);
|
|
765
765
|
return c;
|
|
766
|
-
},
|
|
766
|
+
}, rr = (r, n) => {
|
|
767
767
|
const a = new Uint8Array(r.length), c = new Uint8Array(r.length);
|
|
768
768
|
let l = 0;
|
|
769
769
|
for (let p = 0; p < r.length; p++) {
|
|
770
|
-
const
|
|
771
|
-
l = n[
|
|
770
|
+
const S = p % n.length;
|
|
771
|
+
l = n[S] + p + l & 255, c[p] = l;
|
|
772
772
|
}
|
|
773
773
|
for (let p = 0; p < r.length; p++)
|
|
774
774
|
a[p] = r[p] ^ c[p];
|
|
775
775
|
return a;
|
|
776
|
-
},
|
|
776
|
+
}, dr = (r) => new TextEncoder().encode(r), pr = (r) => new TextDecoder().decode(r), vr = (r) => {
|
|
777
777
|
let n = "";
|
|
778
778
|
for (let a = 0; a < r.length; a += 8192) {
|
|
779
779
|
const c = r.slice(a, Math.min(a + 8192, r.length));
|
|
780
780
|
n += String.fromCharCode.apply(null, Array.from(c));
|
|
781
781
|
}
|
|
782
782
|
return btoa(n);
|
|
783
|
-
},
|
|
783
|
+
}, hr = (r) => {
|
|
784
784
|
const n = atob(r), a = new Uint8Array(n.length);
|
|
785
785
|
for (let c = 0; c < n.length; c++)
|
|
786
786
|
a[c] = n.charCodeAt(c);
|
|
787
787
|
return a;
|
|
788
|
-
},
|
|
788
|
+
}, yr = (r) => {
|
|
789
789
|
try {
|
|
790
|
-
const n =
|
|
790
|
+
const n = ut(
|
|
791
791
|
Date.now().toString() + Math.random()
|
|
792
|
-
).substring(0, lt().saltLength * 2), a =
|
|
793
|
-
return `${n}.${
|
|
792
|
+
).substring(0, lt().saltLength * 2), a = ut(r + n).substring(0, 8), c = tr(lt().key, n), l = dr(r), p = rr(l, c), S = vr(p);
|
|
793
|
+
return `${n}.${S}.${a}`;
|
|
794
794
|
} catch {
|
|
795
795
|
throw new Error("Не удалось зашифровать данные");
|
|
796
796
|
}
|
|
797
|
-
},
|
|
797
|
+
}, gr = (r) => {
|
|
798
798
|
try {
|
|
799
799
|
const n = r.split(".");
|
|
800
800
|
if (n.length !== 3)
|
|
801
801
|
throw new Error("Неверный формат зашифрованных данных");
|
|
802
|
-
const a = n[0], c = n[1], l = n[2], p =
|
|
803
|
-
if (
|
|
802
|
+
const a = n[0], c = n[1], l = n[2], p = tr(lt().key, a), S = hr(c), m = rr(S, p), u = pr(m);
|
|
803
|
+
if (ut(u + a).substring(
|
|
804
804
|
0,
|
|
805
805
|
8
|
|
806
806
|
) !== l)
|
|
@@ -817,7 +817,7 @@ var ue;
|
|
|
817
817
|
}, r.enCode = (n) => {
|
|
818
818
|
try {
|
|
819
819
|
const a = JSON.stringify(n);
|
|
820
|
-
return
|
|
820
|
+
return yr(a);
|
|
821
821
|
} catch {
|
|
822
822
|
throw new Error("Не удалось зашифровать объект");
|
|
823
823
|
}
|
|
@@ -825,7 +825,7 @@ var ue;
|
|
|
825
825
|
try {
|
|
826
826
|
if (!n || n.length < 10)
|
|
827
827
|
return !1;
|
|
828
|
-
const a =
|
|
828
|
+
const a = gr(n);
|
|
829
829
|
return a && JSON.parse(a) || !1;
|
|
830
830
|
} catch {
|
|
831
831
|
return !1;
|
|
@@ -834,7 +834,7 @@ var ue;
|
|
|
834
834
|
Vt({ iterations: n, saltLength: a });
|
|
835
835
|
};
|
|
836
836
|
})(ue || (ue = {}));
|
|
837
|
-
var
|
|
837
|
+
var at = {};
|
|
838
838
|
/**
|
|
839
839
|
* @license React
|
|
840
840
|
* react-jsx-runtime.production.min.js
|
|
@@ -844,21 +844,21 @@ var ot = {};
|
|
|
844
844
|
* This source code is licensed under the MIT license found in the
|
|
845
845
|
* LICENSE file in the root directory of this source tree.
|
|
846
846
|
*/
|
|
847
|
-
var
|
|
848
|
-
function
|
|
849
|
-
if (
|
|
850
|
-
|
|
847
|
+
var qt;
|
|
848
|
+
function mr() {
|
|
849
|
+
if (qt) return at;
|
|
850
|
+
qt = 1;
|
|
851
851
|
var r = F, n = Symbol.for("react.element"), a = Symbol.for("react.fragment"), c = Object.prototype.hasOwnProperty, l = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, p = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
852
|
-
function
|
|
853
|
-
var h, b = {}, y = null,
|
|
854
|
-
R !== void 0 && (y = "" + R), u.key !== void 0 && (y = "" + u.key), u.ref !== void 0 && (
|
|
852
|
+
function S(m, u, R) {
|
|
853
|
+
var h, b = {}, y = null, $ = null;
|
|
854
|
+
R !== void 0 && (y = "" + R), u.key !== void 0 && (y = "" + u.key), u.ref !== void 0 && ($ = u.ref);
|
|
855
855
|
for (h in u) c.call(u, h) && !p.hasOwnProperty(h) && (b[h] = u[h]);
|
|
856
856
|
if (m && m.defaultProps) for (h in u = m.defaultProps, u) b[h] === void 0 && (b[h] = u[h]);
|
|
857
|
-
return { $$typeof: n, type: m, key: y, ref:
|
|
857
|
+
return { $$typeof: n, type: m, key: y, ref: $, props: b, _owner: l.current };
|
|
858
858
|
}
|
|
859
|
-
return
|
|
859
|
+
return at.Fragment = a, at.jsx = S, at.jsxs = S, at;
|
|
860
860
|
}
|
|
861
|
-
var
|
|
861
|
+
var it = {};
|
|
862
862
|
/**
|
|
863
863
|
* @license React
|
|
864
864
|
* react-jsx-runtime.development.js
|
|
@@ -868,27 +868,27 @@ var st = {};
|
|
|
868
868
|
* This source code is licensed under the MIT license found in the
|
|
869
869
|
* LICENSE file in the root directory of this source tree.
|
|
870
870
|
*/
|
|
871
|
-
var
|
|
872
|
-
function
|
|
873
|
-
return
|
|
874
|
-
var r = F, n = Symbol.for("react.element"), a = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), l = Symbol.for("react.strict_mode"), p = Symbol.for("react.profiler"),
|
|
875
|
-
function
|
|
871
|
+
var Ht;
|
|
872
|
+
function br() {
|
|
873
|
+
return Ht || (Ht = 1, process.env.NODE_ENV !== "production" && function() {
|
|
874
|
+
var r = F, n = Symbol.for("react.element"), a = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), l = Symbol.for("react.strict_mode"), p = Symbol.for("react.profiler"), S = Symbol.for("react.provider"), m = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), R = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), b = Symbol.for("react.memo"), y = Symbol.for("react.lazy"), $ = Symbol.for("react.offscreen"), w = Symbol.iterator, Ne = "@@iterator";
|
|
875
|
+
function he(e) {
|
|
876
876
|
if (e === null || typeof e != "object")
|
|
877
877
|
return null;
|
|
878
|
-
var t =
|
|
878
|
+
var t = w && e[w] || e[Ne];
|
|
879
879
|
return typeof t == "function" ? t : null;
|
|
880
880
|
}
|
|
881
|
-
var
|
|
881
|
+
var L = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
882
882
|
function j(e) {
|
|
883
883
|
{
|
|
884
884
|
for (var t = arguments.length, o = new Array(t > 1 ? t - 1 : 0), s = 1; s < t; s++)
|
|
885
885
|
o[s - 1] = arguments[s];
|
|
886
|
-
|
|
886
|
+
Be("error", e, o);
|
|
887
887
|
}
|
|
888
888
|
}
|
|
889
|
-
function
|
|
889
|
+
function Be(e, t, o) {
|
|
890
890
|
{
|
|
891
|
-
var s =
|
|
891
|
+
var s = L.ReactDebugCurrentFrame, v = s.getStackAddendum();
|
|
892
892
|
v !== "" && (t += "%s", o = o.concat([v]));
|
|
893
893
|
var g = o.map(function(d) {
|
|
894
894
|
return String(d);
|
|
@@ -896,10 +896,10 @@ function mr() {
|
|
|
896
896
|
g.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, g);
|
|
897
897
|
}
|
|
898
898
|
}
|
|
899
|
-
var
|
|
899
|
+
var Ie = !1, Ce = !1, Me = !1, De = !1, _ = !1, E;
|
|
900
900
|
E = Symbol.for("react.module.reference");
|
|
901
901
|
function B(e) {
|
|
902
|
-
return !!(typeof e == "string" || typeof e == "function" || e === c || e === p || _ || e === l || e === R || e === h ||
|
|
902
|
+
return !!(typeof e == "string" || typeof e == "function" || e === c || e === p || _ || e === l || e === R || e === h || De || e === $ || Ie || Ce || Me || typeof e == "object" && e !== null && (e.$$typeof === y || e.$$typeof === b || e.$$typeof === S || e.$$typeof === m || e.$$typeof === u || // This needs to include all possible module reference object
|
|
903
903
|
// types supported by any Flight configuration anywhere since
|
|
904
904
|
// we don't know which Flight build this will end up being used
|
|
905
905
|
// with.
|
|
@@ -915,7 +915,7 @@ function mr() {
|
|
|
915
915
|
function I(e) {
|
|
916
916
|
return e.displayName || "Context";
|
|
917
917
|
}
|
|
918
|
-
function
|
|
918
|
+
function N(e) {
|
|
919
919
|
if (e == null)
|
|
920
920
|
return null;
|
|
921
921
|
if (typeof e.tag == "number" && j("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
@@ -941,18 +941,18 @@ function mr() {
|
|
|
941
941
|
case m:
|
|
942
942
|
var t = e;
|
|
943
943
|
return I(t) + ".Consumer";
|
|
944
|
-
case
|
|
944
|
+
case S:
|
|
945
945
|
var o = e;
|
|
946
946
|
return I(o._context) + ".Provider";
|
|
947
947
|
case u:
|
|
948
948
|
return M(e, e.render, "ForwardRef");
|
|
949
949
|
case b:
|
|
950
950
|
var s = e.displayName || null;
|
|
951
|
-
return s !== null ? s :
|
|
951
|
+
return s !== null ? s : N(e.type) || "Memo";
|
|
952
952
|
case y: {
|
|
953
953
|
var v = e, g = v._payload, d = v._init;
|
|
954
954
|
try {
|
|
955
|
-
return
|
|
955
|
+
return N(d(g));
|
|
956
956
|
} catch {
|
|
957
957
|
return null;
|
|
958
958
|
}
|
|
@@ -960,14 +960,14 @@ function mr() {
|
|
|
960
960
|
}
|
|
961
961
|
return null;
|
|
962
962
|
}
|
|
963
|
-
var D = Object.assign, Y = 0,
|
|
963
|
+
var D = Object.assign, Y = 0, le, Z, X, Q, ee, Fe, Le;
|
|
964
964
|
function We() {
|
|
965
965
|
}
|
|
966
966
|
We.__reactDisabledLog = !0;
|
|
967
|
-
function
|
|
967
|
+
function dt() {
|
|
968
968
|
{
|
|
969
969
|
if (Y === 0) {
|
|
970
|
-
|
|
970
|
+
le = console.log, Z = console.info, X = console.warn, Q = console.error, ee = console.group, Fe = console.groupCollapsed, Le = console.groupEnd;
|
|
971
971
|
var e = {
|
|
972
972
|
configurable: !0,
|
|
973
973
|
enumerable: !0,
|
|
@@ -987,7 +987,7 @@ function mr() {
|
|
|
987
987
|
Y++;
|
|
988
988
|
}
|
|
989
989
|
}
|
|
990
|
-
function
|
|
990
|
+
function pt() {
|
|
991
991
|
{
|
|
992
992
|
if (Y--, Y === 0) {
|
|
993
993
|
var e = {
|
|
@@ -997,7 +997,7 @@ function mr() {
|
|
|
997
997
|
};
|
|
998
998
|
Object.defineProperties(console, {
|
|
999
999
|
log: D({}, e, {
|
|
1000
|
-
value:
|
|
1000
|
+
value: le
|
|
1001
1001
|
}),
|
|
1002
1002
|
info: D({}, e, {
|
|
1003
1003
|
value: Z
|
|
@@ -1012,37 +1012,37 @@ function mr() {
|
|
|
1012
1012
|
value: ee
|
|
1013
1013
|
}),
|
|
1014
1014
|
groupCollapsed: D({}, e, {
|
|
1015
|
-
value:
|
|
1015
|
+
value: Fe
|
|
1016
1016
|
}),
|
|
1017
1017
|
groupEnd: D({}, e, {
|
|
1018
|
-
value:
|
|
1018
|
+
value: Le
|
|
1019
1019
|
})
|
|
1020
1020
|
});
|
|
1021
1021
|
}
|
|
1022
1022
|
Y < 0 && j("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
1023
1023
|
}
|
|
1024
1024
|
}
|
|
1025
|
-
var
|
|
1025
|
+
var ye = L.ReactCurrentDispatcher, ge;
|
|
1026
1026
|
function re(e, t, o) {
|
|
1027
1027
|
{
|
|
1028
|
-
if (
|
|
1028
|
+
if (ge === void 0)
|
|
1029
1029
|
try {
|
|
1030
1030
|
throw Error();
|
|
1031
1031
|
} catch (v) {
|
|
1032
1032
|
var s = v.stack.trim().match(/\n( *(at )?)/);
|
|
1033
|
-
|
|
1033
|
+
ge = s && s[1] || "";
|
|
1034
1034
|
}
|
|
1035
1035
|
return `
|
|
1036
|
-
` +
|
|
1036
|
+
` + ge + e;
|
|
1037
1037
|
}
|
|
1038
1038
|
}
|
|
1039
|
-
var
|
|
1039
|
+
var me = !1, ne;
|
|
1040
1040
|
{
|
|
1041
|
-
var
|
|
1042
|
-
ne = new
|
|
1041
|
+
var vt = typeof WeakMap == "function" ? WeakMap : Map;
|
|
1042
|
+
ne = new vt();
|
|
1043
1043
|
}
|
|
1044
|
-
function
|
|
1045
|
-
if (!e ||
|
|
1044
|
+
function Ue(e, t) {
|
|
1045
|
+
if (!e || me)
|
|
1046
1046
|
return "";
|
|
1047
1047
|
{
|
|
1048
1048
|
var o = ne.get(e);
|
|
@@ -1050,11 +1050,11 @@ function mr() {
|
|
|
1050
1050
|
return o;
|
|
1051
1051
|
}
|
|
1052
1052
|
var s;
|
|
1053
|
-
|
|
1053
|
+
me = !0;
|
|
1054
1054
|
var v = Error.prepareStackTrace;
|
|
1055
1055
|
Error.prepareStackTrace = void 0;
|
|
1056
1056
|
var g;
|
|
1057
|
-
g =
|
|
1057
|
+
g = ye.current, ye.current = null, dt();
|
|
1058
1058
|
try {
|
|
1059
1059
|
if (t) {
|
|
1060
1060
|
var d = function() {
|
|
@@ -1090,32 +1090,32 @@ function mr() {
|
|
|
1090
1090
|
} catch (C) {
|
|
1091
1091
|
if (C && s && typeof C.stack == "string") {
|
|
1092
1092
|
for (var f = C.stack.split(`
|
|
1093
|
-
`),
|
|
1094
|
-
`),
|
|
1093
|
+
`), A = s.stack.split(`
|
|
1094
|
+
`), x = f.length - 1, k = A.length - 1; x >= 1 && k >= 0 && f[x] !== A[k]; )
|
|
1095
1095
|
k--;
|
|
1096
|
-
for (;
|
|
1097
|
-
if (f[
|
|
1098
|
-
if (
|
|
1096
|
+
for (; x >= 1 && k >= 0; x--, k--)
|
|
1097
|
+
if (f[x] !== A[k]) {
|
|
1098
|
+
if (x !== 1 || k !== 1)
|
|
1099
1099
|
do
|
|
1100
|
-
if (
|
|
1101
|
-
var
|
|
1102
|
-
` + f[
|
|
1103
|
-
return e.displayName &&
|
|
1100
|
+
if (x--, k--, k < 0 || f[x] !== A[k]) {
|
|
1101
|
+
var P = `
|
|
1102
|
+
` + f[x].replace(" at new ", " at ");
|
|
1103
|
+
return e.displayName && P.includes("<anonymous>") && (P = P.replace("<anonymous>", e.displayName)), typeof e == "function" && ne.set(e, P), P;
|
|
1104
1104
|
}
|
|
1105
|
-
while (
|
|
1105
|
+
while (x >= 1 && k >= 0);
|
|
1106
1106
|
break;
|
|
1107
1107
|
}
|
|
1108
1108
|
}
|
|
1109
1109
|
} finally {
|
|
1110
|
-
|
|
1110
|
+
me = !1, ye.current = g, pt(), Error.prepareStackTrace = v;
|
|
1111
1111
|
}
|
|
1112
|
-
var
|
|
1113
|
-
return typeof e == "function" && ne.set(e,
|
|
1112
|
+
var V = e ? e.displayName || e.name : "", W = V ? re(V) : "";
|
|
1113
|
+
return typeof e == "function" && ne.set(e, W), W;
|
|
1114
1114
|
}
|
|
1115
|
-
function
|
|
1116
|
-
return
|
|
1115
|
+
function ht(e, t, o) {
|
|
1116
|
+
return Ue(e, !1);
|
|
1117
1117
|
}
|
|
1118
|
-
function
|
|
1118
|
+
function yt(e) {
|
|
1119
1119
|
var t = e.prototype;
|
|
1120
1120
|
return !!(t && t.isReactComponent);
|
|
1121
1121
|
}
|
|
@@ -1123,7 +1123,7 @@ function mr() {
|
|
|
1123
1123
|
if (e == null)
|
|
1124
1124
|
return "";
|
|
1125
1125
|
if (typeof e == "function")
|
|
1126
|
-
return
|
|
1126
|
+
return Ue(e, yt(e));
|
|
1127
1127
|
if (typeof e == "string")
|
|
1128
1128
|
return re(e);
|
|
1129
1129
|
switch (e) {
|
|
@@ -1135,7 +1135,7 @@ function mr() {
|
|
|
1135
1135
|
if (typeof e == "object")
|
|
1136
1136
|
switch (e.$$typeof) {
|
|
1137
1137
|
case u:
|
|
1138
|
-
return
|
|
1138
|
+
return ht(e.render);
|
|
1139
1139
|
case b:
|
|
1140
1140
|
return oe(e.type, t, o);
|
|
1141
1141
|
case y: {
|
|
@@ -1148,15 +1148,15 @@ function mr() {
|
|
|
1148
1148
|
}
|
|
1149
1149
|
return "";
|
|
1150
1150
|
}
|
|
1151
|
-
var K = Object.prototype.hasOwnProperty,
|
|
1151
|
+
var K = Object.prototype.hasOwnProperty, Ye = {}, ze = L.ReactDebugCurrentFrame;
|
|
1152
1152
|
function ae(e) {
|
|
1153
1153
|
if (e) {
|
|
1154
1154
|
var t = e._owner, o = oe(e.type, e._source, t ? t.type : null);
|
|
1155
|
-
|
|
1155
|
+
ze.setExtraStackFrame(o);
|
|
1156
1156
|
} else
|
|
1157
|
-
|
|
1157
|
+
ze.setExtraStackFrame(null);
|
|
1158
1158
|
}
|
|
1159
|
-
function
|
|
1159
|
+
function gt(e, t, o, s, v) {
|
|
1160
1160
|
{
|
|
1161
1161
|
var g = Function.call.bind(K);
|
|
1162
1162
|
for (var d in e)
|
|
@@ -1164,28 +1164,28 @@ function mr() {
|
|
|
1164
1164
|
var f = void 0;
|
|
1165
1165
|
try {
|
|
1166
1166
|
if (typeof e[d] != "function") {
|
|
1167
|
-
var
|
|
1168
|
-
throw
|
|
1167
|
+
var A = Error((s || "React class") + ": " + o + " type `" + d + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[d] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
1168
|
+
throw A.name = "Invariant Violation", A;
|
|
1169
1169
|
}
|
|
1170
1170
|
f = e[d](t, d, s, o, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
1171
|
-
} catch (
|
|
1172
|
-
f =
|
|
1171
|
+
} catch (x) {
|
|
1172
|
+
f = x;
|
|
1173
1173
|
}
|
|
1174
|
-
f && !(f instanceof Error) && (ae(v), j("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", s || "React class", o, d, typeof f), ae(null)), f instanceof Error && !(f.message in
|
|
1174
|
+
f && !(f instanceof Error) && (ae(v), j("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", s || "React class", o, d, typeof f), ae(null)), f instanceof Error && !(f.message in Ye) && (Ye[f.message] = !0, ae(v), j("Failed %s type: %s", o, f.message), ae(null));
|
|
1175
1175
|
}
|
|
1176
1176
|
}
|
|
1177
1177
|
}
|
|
1178
|
-
var
|
|
1179
|
-
function
|
|
1180
|
-
return
|
|
1178
|
+
var mt = Array.isArray;
|
|
1179
|
+
function be(e) {
|
|
1180
|
+
return mt(e);
|
|
1181
1181
|
}
|
|
1182
|
-
function
|
|
1182
|
+
function bt(e) {
|
|
1183
1183
|
{
|
|
1184
1184
|
var t = typeof Symbol == "function" && Symbol.toStringTag, o = t && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
1185
1185
|
return o;
|
|
1186
1186
|
}
|
|
1187
1187
|
}
|
|
1188
|
-
function
|
|
1188
|
+
function _t(e) {
|
|
1189
1189
|
try {
|
|
1190
1190
|
return Ve(e), !1;
|
|
1191
1191
|
} catch {
|
|
@@ -1195,17 +1195,17 @@ function mr() {
|
|
|
1195
1195
|
function Ve(e) {
|
|
1196
1196
|
return "" + e;
|
|
1197
1197
|
}
|
|
1198
|
-
function
|
|
1199
|
-
if (
|
|
1200
|
-
return j("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",
|
|
1198
|
+
function qe(e) {
|
|
1199
|
+
if (_t(e))
|
|
1200
|
+
return j("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", bt(e)), Ve(e);
|
|
1201
1201
|
}
|
|
1202
|
-
var
|
|
1202
|
+
var He = L.ReactCurrentOwner, Rt = {
|
|
1203
1203
|
key: !0,
|
|
1204
1204
|
ref: !0,
|
|
1205
1205
|
__self: !0,
|
|
1206
1206
|
__source: !0
|
|
1207
|
-
},
|
|
1208
|
-
function
|
|
1207
|
+
}, Je, Ke;
|
|
1208
|
+
function St(e) {
|
|
1209
1209
|
if (K.call(e, "ref")) {
|
|
1210
1210
|
var t = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
1211
1211
|
if (t && t.isReactWarning)
|
|
@@ -1213,7 +1213,7 @@ function mr() {
|
|
|
1213
1213
|
}
|
|
1214
1214
|
return e.ref !== void 0;
|
|
1215
1215
|
}
|
|
1216
|
-
function
|
|
1216
|
+
function xt(e) {
|
|
1217
1217
|
if (K.call(e, "key")) {
|
|
1218
1218
|
var t = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
1219
1219
|
if (t && t.isReactWarning)
|
|
@@ -1221,13 +1221,13 @@ function mr() {
|
|
|
1221
1221
|
}
|
|
1222
1222
|
return e.key !== void 0;
|
|
1223
1223
|
}
|
|
1224
|
-
function xt(e, t) {
|
|
1225
|
-
typeof e.ref == "string" && qe.current;
|
|
1226
|
-
}
|
|
1227
1224
|
function kt(e, t) {
|
|
1225
|
+
typeof e.ref == "string" && He.current;
|
|
1226
|
+
}
|
|
1227
|
+
function Et(e, t) {
|
|
1228
1228
|
{
|
|
1229
1229
|
var o = function() {
|
|
1230
|
-
|
|
1230
|
+
Je || (Je = !0, j("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
|
|
1231
1231
|
};
|
|
1232
1232
|
o.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
1233
1233
|
get: o,
|
|
@@ -1235,10 +1235,10 @@ function mr() {
|
|
|
1235
1235
|
});
|
|
1236
1236
|
}
|
|
1237
1237
|
}
|
|
1238
|
-
function
|
|
1238
|
+
function jt(e, t) {
|
|
1239
1239
|
{
|
|
1240
1240
|
var o = function() {
|
|
1241
|
-
|
|
1241
|
+
Ke || (Ke = !0, j("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
|
|
1242
1242
|
};
|
|
1243
1243
|
o.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
1244
1244
|
get: o,
|
|
@@ -1246,7 +1246,7 @@ function mr() {
|
|
|
1246
1246
|
});
|
|
1247
1247
|
}
|
|
1248
1248
|
}
|
|
1249
|
-
var
|
|
1249
|
+
var At = function(e, t, o, s, v, g, d) {
|
|
1250
1250
|
var f = {
|
|
1251
1251
|
// This tag allows us to uniquely identify this as a React Element
|
|
1252
1252
|
$$typeof: n,
|
|
@@ -1277,39 +1277,39 @@ function mr() {
|
|
|
1277
1277
|
};
|
|
1278
1278
|
function Ot(e, t, o, s, v) {
|
|
1279
1279
|
{
|
|
1280
|
-
var g, d = {}, f = null,
|
|
1281
|
-
o !== void 0 && (
|
|
1280
|
+
var g, d = {}, f = null, A = null;
|
|
1281
|
+
o !== void 0 && (qe(o), f = "" + o), xt(t) && (qe(t.key), f = "" + t.key), St(t) && (A = t.ref, kt(t));
|
|
1282
1282
|
for (g in t)
|
|
1283
|
-
K.call(t, g) && !
|
|
1283
|
+
K.call(t, g) && !Rt.hasOwnProperty(g) && (d[g] = t[g]);
|
|
1284
1284
|
if (e && e.defaultProps) {
|
|
1285
|
-
var
|
|
1286
|
-
for (g in
|
|
1287
|
-
d[g] === void 0 && (d[g] =
|
|
1285
|
+
var x = e.defaultProps;
|
|
1286
|
+
for (g in x)
|
|
1287
|
+
d[g] === void 0 && (d[g] = x[g]);
|
|
1288
1288
|
}
|
|
1289
|
-
if (f ||
|
|
1289
|
+
if (f || A) {
|
|
1290
1290
|
var k = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
1291
|
-
f &&
|
|
1291
|
+
f && Et(d, k), A && jt(d, k);
|
|
1292
1292
|
}
|
|
1293
|
-
return
|
|
1293
|
+
return At(e, f, A, v, s, He.current, d);
|
|
1294
1294
|
}
|
|
1295
1295
|
}
|
|
1296
|
-
var
|
|
1297
|
-
function
|
|
1296
|
+
var _e = L.ReactCurrentOwner, Ge = L.ReactDebugCurrentFrame;
|
|
1297
|
+
function z(e) {
|
|
1298
1298
|
if (e) {
|
|
1299
1299
|
var t = e._owner, o = oe(e.type, e._source, t ? t.type : null);
|
|
1300
|
-
|
|
1300
|
+
Ge.setExtraStackFrame(o);
|
|
1301
1301
|
} else
|
|
1302
|
-
|
|
1302
|
+
Ge.setExtraStackFrame(null);
|
|
1303
1303
|
}
|
|
1304
|
-
var
|
|
1305
|
-
|
|
1306
|
-
function
|
|
1304
|
+
var Re;
|
|
1305
|
+
Re = !1;
|
|
1306
|
+
function Se(e) {
|
|
1307
1307
|
return typeof e == "object" && e !== null && e.$$typeof === n;
|
|
1308
1308
|
}
|
|
1309
|
-
function
|
|
1309
|
+
function Ze() {
|
|
1310
1310
|
{
|
|
1311
|
-
if (
|
|
1312
|
-
var e =
|
|
1311
|
+
if (_e.current) {
|
|
1312
|
+
var e = N(_e.current.type);
|
|
1313
1313
|
if (e)
|
|
1314
1314
|
return `
|
|
1315
1315
|
|
|
@@ -1318,13 +1318,13 @@ Check the render method of \`` + e + "`.";
|
|
|
1318
1318
|
return "";
|
|
1319
1319
|
}
|
|
1320
1320
|
}
|
|
1321
|
-
function
|
|
1321
|
+
function Ct(e) {
|
|
1322
1322
|
return "";
|
|
1323
1323
|
}
|
|
1324
|
-
var
|
|
1325
|
-
function
|
|
1324
|
+
var Xe = {};
|
|
1325
|
+
function wt(e) {
|
|
1326
1326
|
{
|
|
1327
|
-
var t =
|
|
1327
|
+
var t = Ze();
|
|
1328
1328
|
if (!t) {
|
|
1329
1329
|
var o = typeof e == "string" ? e : e.displayName || e.name;
|
|
1330
1330
|
o && (t = `
|
|
@@ -1334,35 +1334,35 @@ Check the top-level render call using <` + o + ">.");
|
|
|
1334
1334
|
return t;
|
|
1335
1335
|
}
|
|
1336
1336
|
}
|
|
1337
|
-
function
|
|
1337
|
+
function Qe(e, t) {
|
|
1338
1338
|
{
|
|
1339
1339
|
if (!e._store || e._store.validated || e.key != null)
|
|
1340
1340
|
return;
|
|
1341
1341
|
e._store.validated = !0;
|
|
1342
|
-
var o =
|
|
1343
|
-
if (
|
|
1342
|
+
var o = wt(t);
|
|
1343
|
+
if (Xe[o])
|
|
1344
1344
|
return;
|
|
1345
|
-
|
|
1345
|
+
Xe[o] = !0;
|
|
1346
1346
|
var s = "";
|
|
1347
|
-
e && e._owner && e._owner !==
|
|
1347
|
+
e && e._owner && e._owner !== _e.current && (s = " It was passed a child from " + N(e._owner.type) + "."), z(e), j('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', o, s), z(null);
|
|
1348
1348
|
}
|
|
1349
1349
|
}
|
|
1350
|
-
function
|
|
1350
|
+
function et(e, t) {
|
|
1351
1351
|
{
|
|
1352
1352
|
if (typeof e != "object")
|
|
1353
1353
|
return;
|
|
1354
|
-
if (
|
|
1354
|
+
if (be(e))
|
|
1355
1355
|
for (var o = 0; o < e.length; o++) {
|
|
1356
1356
|
var s = e[o];
|
|
1357
|
-
|
|
1357
|
+
Se(s) && Qe(s, t);
|
|
1358
1358
|
}
|
|
1359
|
-
else if (
|
|
1359
|
+
else if (Se(e))
|
|
1360
1360
|
e._store && (e._store.validated = !0);
|
|
1361
1361
|
else if (e) {
|
|
1362
|
-
var v =
|
|
1362
|
+
var v = he(e);
|
|
1363
1363
|
if (typeof v == "function" && v !== e.entries)
|
|
1364
1364
|
for (var g = v.call(e), d; !(d = g.next()).done; )
|
|
1365
|
-
|
|
1365
|
+
Se(d.value) && Qe(d.value, t);
|
|
1366
1366
|
}
|
|
1367
1367
|
}
|
|
1368
1368
|
}
|
|
@@ -1381,89 +1381,89 @@ Check the top-level render call using <` + o + ">.");
|
|
|
1381
1381
|
else
|
|
1382
1382
|
return;
|
|
1383
1383
|
if (o) {
|
|
1384
|
-
var s =
|
|
1385
|
-
|
|
1386
|
-
} else if (t.PropTypes !== void 0 && !
|
|
1387
|
-
|
|
1388
|
-
var v =
|
|
1384
|
+
var s = N(t);
|
|
1385
|
+
gt(o, e.props, "prop", s, e);
|
|
1386
|
+
} else if (t.PropTypes !== void 0 && !Re) {
|
|
1387
|
+
Re = !0;
|
|
1388
|
+
var v = N(t);
|
|
1389
1389
|
j("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", v || "Unknown");
|
|
1390
1390
|
}
|
|
1391
1391
|
typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && j("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
1392
1392
|
}
|
|
1393
1393
|
}
|
|
1394
|
-
function
|
|
1394
|
+
function Tt(e) {
|
|
1395
1395
|
{
|
|
1396
1396
|
for (var t = Object.keys(e.props), o = 0; o < t.length; o++) {
|
|
1397
1397
|
var s = t[o];
|
|
1398
1398
|
if (s !== "children" && s !== "key") {
|
|
1399
|
-
|
|
1399
|
+
z(e), j("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", s), z(null);
|
|
1400
1400
|
break;
|
|
1401
1401
|
}
|
|
1402
1402
|
}
|
|
1403
|
-
e.ref !== null && (
|
|
1403
|
+
e.ref !== null && (z(e), j("Invalid attribute `ref` supplied to `React.Fragment`."), z(null));
|
|
1404
1404
|
}
|
|
1405
1405
|
}
|
|
1406
|
-
var
|
|
1407
|
-
function
|
|
1406
|
+
var tt = {};
|
|
1407
|
+
function rt(e, t, o, s, v, g) {
|
|
1408
1408
|
{
|
|
1409
1409
|
var d = B(e);
|
|
1410
1410
|
if (!d) {
|
|
1411
1411
|
var f = "";
|
|
1412
1412
|
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (f += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
1413
|
-
var
|
|
1414
|
-
|
|
1415
|
-
var
|
|
1416
|
-
e === null ?
|
|
1413
|
+
var A = Ct();
|
|
1414
|
+
A ? f += A : f += Ze();
|
|
1415
|
+
var x;
|
|
1416
|
+
e === null ? x = "null" : be(e) ? x = "array" : e !== void 0 && e.$$typeof === n ? (x = "<" + (N(e.type) || "Unknown") + " />", f = " Did you accidentally export a JSX literal instead of a component?") : x = typeof e, j("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", x, f);
|
|
1417
1417
|
}
|
|
1418
1418
|
var k = Ot(e, t, o, v, g);
|
|
1419
1419
|
if (k == null)
|
|
1420
1420
|
return k;
|
|
1421
1421
|
if (d) {
|
|
1422
|
-
var
|
|
1423
|
-
if (
|
|
1422
|
+
var P = t.children;
|
|
1423
|
+
if (P !== void 0)
|
|
1424
1424
|
if (s)
|
|
1425
|
-
if (
|
|
1426
|
-
for (var
|
|
1427
|
-
|
|
1428
|
-
Object.freeze && Object.freeze(
|
|
1425
|
+
if (be(P)) {
|
|
1426
|
+
for (var V = 0; V < P.length; V++)
|
|
1427
|
+
et(P[V], e);
|
|
1428
|
+
Object.freeze && Object.freeze(P);
|
|
1429
1429
|
} else
|
|
1430
1430
|
j("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
1431
1431
|
else
|
|
1432
|
-
|
|
1432
|
+
et(P, e);
|
|
1433
1433
|
}
|
|
1434
1434
|
if (K.call(t, "key")) {
|
|
1435
|
-
var
|
|
1436
|
-
return
|
|
1437
|
-
}),
|
|
1438
|
-
if (!
|
|
1439
|
-
var
|
|
1435
|
+
var W = N(e), C = Object.keys(t).filter(function(Dt) {
|
|
1436
|
+
return Dt !== "key";
|
|
1437
|
+
}), xe = C.length > 0 ? "{key: someKey, " + C.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
1438
|
+
if (!tt[W + xe]) {
|
|
1439
|
+
var Mt = C.length > 0 ? "{" + C.join(": ..., ") + ": ...}" : "{}";
|
|
1440
1440
|
j(`A props object containing a "key" prop is being spread into JSX:
|
|
1441
1441
|
let props = %s;
|
|
1442
1442
|
<%s {...props} />
|
|
1443
1443
|
React keys must be passed directly to JSX without using spread:
|
|
1444
1444
|
let props = %s;
|
|
1445
|
-
<%s key={someKey} {...props} />`,
|
|
1445
|
+
<%s key={someKey} {...props} />`, xe, W, Mt, W), tt[W + xe] = !0;
|
|
1446
1446
|
}
|
|
1447
1447
|
}
|
|
1448
|
-
return e === c ?
|
|
1448
|
+
return e === c ? Tt(k) : Pt(k), k;
|
|
1449
1449
|
}
|
|
1450
1450
|
}
|
|
1451
|
-
function Tt(e, t, o) {
|
|
1452
|
-
return tt(e, t, o, !0);
|
|
1453
|
-
}
|
|
1454
1451
|
function $t(e, t, o) {
|
|
1455
|
-
return
|
|
1452
|
+
return rt(e, t, o, !0);
|
|
1453
|
+
}
|
|
1454
|
+
function Nt(e, t, o) {
|
|
1455
|
+
return rt(e, t, o, !1);
|
|
1456
1456
|
}
|
|
1457
|
-
var
|
|
1458
|
-
|
|
1459
|
-
}()),
|
|
1457
|
+
var Bt = Nt, It = $t;
|
|
1458
|
+
it.Fragment = c, it.jsx = Bt, it.jsxs = It;
|
|
1459
|
+
}()), it;
|
|
1460
1460
|
}
|
|
1461
|
-
process.env.NODE_ENV === "production" ?
|
|
1462
|
-
const
|
|
1463
|
-
version:
|
|
1461
|
+
process.env.NODE_ENV === "production" ? mr() : br();
|
|
1462
|
+
const _r = "0.0.40", nr = {
|
|
1463
|
+
version: _r
|
|
1464
1464
|
}, se = {}, H = {
|
|
1465
1465
|
module: "",
|
|
1466
|
-
v:
|
|
1466
|
+
v: nr.version,
|
|
1467
1467
|
page: "Main",
|
|
1468
1468
|
auth: "Auth",
|
|
1469
1469
|
STORAGE: "f",
|
|
@@ -1482,13 +1482,13 @@ function Oe() {
|
|
|
1482
1482
|
return typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof self < "u" ? self : typeof global < "u" ? global : {};
|
|
1483
1483
|
}
|
|
1484
1484
|
Oe().elcrm || (Oe().elcrm = {});
|
|
1485
|
-
Object.assign(Oe().elcrm, { router:
|
|
1485
|
+
Object.assign(Oe().elcrm, { router: nr.version });
|
|
1486
1486
|
function te(r) {
|
|
1487
1487
|
var n, a, c, l;
|
|
1488
1488
|
const p = Oe();
|
|
1489
1489
|
if (p.ROUTER_PARAMS) {
|
|
1490
1490
|
r.debug || p.ROUTER_PARAMS.debug;
|
|
1491
|
-
const
|
|
1491
|
+
const S = {
|
|
1492
1492
|
page: (n = p.ROUTER_PARAMS) == null ? void 0 : n.page,
|
|
1493
1493
|
module: (a = p.ROUTER_PARAMS) == null ? void 0 : a.module,
|
|
1494
1494
|
tab: (c = p.ROUTER_PARAMS) == null ? void 0 : c.tab,
|
|
@@ -1497,23 +1497,23 @@ function te(r) {
|
|
|
1497
1497
|
p.ROUTER_PARAMS = {
|
|
1498
1498
|
...p.ROUTER_PARAMS,
|
|
1499
1499
|
...r,
|
|
1500
|
-
prev:
|
|
1500
|
+
prev: S
|
|
1501
1501
|
};
|
|
1502
1502
|
} else {
|
|
1503
1503
|
r.debug || H.debug;
|
|
1504
|
-
const
|
|
1504
|
+
const S = {
|
|
1505
1505
|
page: H == null ? void 0 : H.page,
|
|
1506
1506
|
module: H == null ? void 0 : H.module,
|
|
1507
1507
|
tab: H == null ? void 0 : H.tab,
|
|
1508
1508
|
id: H == null ? void 0 : H.id
|
|
1509
1509
|
};
|
|
1510
|
-
p.ROUTER_PARAMS = { ...H, ...r, prev:
|
|
1510
|
+
p.ROUTER_PARAMS = { ...H, ...r, prev: S };
|
|
1511
1511
|
}
|
|
1512
1512
|
}
|
|
1513
|
-
function
|
|
1513
|
+
function O() {
|
|
1514
1514
|
return Oe().ROUTER_PARAMS || H;
|
|
1515
1515
|
}
|
|
1516
|
-
function
|
|
1516
|
+
function ke(r) {
|
|
1517
1517
|
const n = Oe();
|
|
1518
1518
|
n.ROUTER_PARAMS ? n.ROUTER_PARAMS.LISTENER = {
|
|
1519
1519
|
...n.ROUTER_PARAMS.LISTENER,
|
|
@@ -1523,7 +1523,7 @@ function xe(r) {
|
|
|
1523
1523
|
function ie() {
|
|
1524
1524
|
return Oe().ROUTER_PARAMS.LISTENER || H.LISTENER;
|
|
1525
1525
|
}
|
|
1526
|
-
var
|
|
1526
|
+
var ve;
|
|
1527
1527
|
((r) => {
|
|
1528
1528
|
function n() {
|
|
1529
1529
|
var _;
|
|
@@ -1543,20 +1543,20 @@ var pe;
|
|
|
1543
1543
|
te({
|
|
1544
1544
|
id: 0,
|
|
1545
1545
|
tab: "",
|
|
1546
|
-
page: (_ = localStorage.getItem("d")) != null && _.length ?
|
|
1547
|
-
module:
|
|
1546
|
+
page: (_ = localStorage.getItem("d")) != null && _.length ? O().page : O().auth,
|
|
1547
|
+
module: O().module
|
|
1548
1548
|
});
|
|
1549
1549
|
return !0;
|
|
1550
1550
|
}
|
|
1551
1551
|
function a() {
|
|
1552
|
-
se.id = 0, se.tab = "", se.page =
|
|
1552
|
+
se.id = 0, se.tab = "", se.page = O().page, se.module = O().module;
|
|
1553
1553
|
}
|
|
1554
1554
|
r.Reset = a;
|
|
1555
1555
|
function c({
|
|
1556
|
-
module: _ =
|
|
1557
|
-
page: E =
|
|
1558
|
-
auth: B =
|
|
1559
|
-
debug: M =
|
|
1556
|
+
module: _ = O().module,
|
|
1557
|
+
page: E = O().page,
|
|
1558
|
+
auth: B = O().auth,
|
|
1559
|
+
debug: M = O().debug
|
|
1560
1560
|
}) {
|
|
1561
1561
|
te({ page: E, module: _, auth: B, debug: M }), n();
|
|
1562
1562
|
}
|
|
@@ -1564,148 +1564,157 @@ var pe;
|
|
|
1564
1564
|
function l(_) {
|
|
1565
1565
|
let E = (I) => (te({ page: I }), I);
|
|
1566
1566
|
const [B, M] = F.useState(
|
|
1567
|
-
|
|
1567
|
+
S() || _ && E(_) || O().page
|
|
1568
1568
|
);
|
|
1569
|
-
return
|
|
1569
|
+
return ke({ page: (I) => {
|
|
1570
1570
|
M(I);
|
|
1571
1571
|
} }), B;
|
|
1572
1572
|
}
|
|
1573
1573
|
r.usePage = l;
|
|
1574
1574
|
function p(_, E = !0, B = {}) {
|
|
1575
1575
|
te({ page: _, ...B }), sessionStorage.setItem(
|
|
1576
|
-
|
|
1577
|
-
ue.enCode(
|
|
1576
|
+
O().STORAGE,
|
|
1577
|
+
ue.enCode(O())
|
|
1578
1578
|
), E && ie().page(_);
|
|
1579
1579
|
}
|
|
1580
1580
|
r.setPage = p;
|
|
1581
|
-
function
|
|
1582
|
-
return
|
|
1581
|
+
function S() {
|
|
1582
|
+
return O().page;
|
|
1583
1583
|
}
|
|
1584
|
-
r.getPage =
|
|
1584
|
+
r.getPage = S;
|
|
1585
1585
|
function m(_) {
|
|
1586
|
-
return
|
|
1586
|
+
return O().page === _;
|
|
1587
1587
|
}
|
|
1588
1588
|
r.isPage = m;
|
|
1589
1589
|
function u() {
|
|
1590
|
-
return
|
|
1590
|
+
return O().prev;
|
|
1591
1591
|
}
|
|
1592
1592
|
r.getBack = u;
|
|
1593
1593
|
function R(_, E) {
|
|
1594
1594
|
const [B, M] = F.useState(
|
|
1595
|
-
b() || _ ||
|
|
1595
|
+
b() || _ || O().module
|
|
1596
1596
|
);
|
|
1597
|
-
return
|
|
1597
|
+
return ke({ module: M }), B;
|
|
1598
1598
|
}
|
|
1599
1599
|
r.useModule = R;
|
|
1600
1600
|
function h(_, E = !0) {
|
|
1601
1601
|
te({ module: _ }), sessionStorage.setItem(
|
|
1602
|
-
|
|
1603
|
-
ue.enCode(
|
|
1602
|
+
O().STORAGE,
|
|
1603
|
+
ue.enCode(O())
|
|
1604
1604
|
), E && ie().module(_);
|
|
1605
1605
|
}
|
|
1606
1606
|
r.setModule = h;
|
|
1607
1607
|
function b() {
|
|
1608
|
-
return
|
|
1608
|
+
return O().module || "";
|
|
1609
1609
|
}
|
|
1610
1610
|
r.getModule = b;
|
|
1611
1611
|
function y(_) {
|
|
1612
|
-
return
|
|
1612
|
+
return O().module === _;
|
|
1613
1613
|
}
|
|
1614
1614
|
r.isModule = y;
|
|
1615
|
-
function
|
|
1615
|
+
function $(_, E) {
|
|
1616
1616
|
if (typeof _ != "function") {
|
|
1617
|
-
const [B, M] = F.useState(!E), [I,
|
|
1618
|
-
return
|
|
1617
|
+
const [B, M] = F.useState(!E), [I, N] = F.useState(_ || he());
|
|
1618
|
+
return ke({ tabs: N }), E && F.useEffect(() => {
|
|
1619
1619
|
M(!0);
|
|
1620
1620
|
}, []), [I, B];
|
|
1621
1621
|
} else
|
|
1622
|
-
|
|
1622
|
+
ke({ tabs: _ });
|
|
1623
1623
|
}
|
|
1624
|
-
r.useTabs =
|
|
1625
|
-
function
|
|
1624
|
+
r.useTabs = $;
|
|
1625
|
+
function w(_) {
|
|
1626
1626
|
let E = (I) => (te({ tab: I }), I);
|
|
1627
1627
|
const [B, M] = F.useState(
|
|
1628
|
-
|
|
1628
|
+
he() || _ && E(_) || O().tab
|
|
1629
1629
|
);
|
|
1630
|
-
return
|
|
1630
|
+
return ke({ tabs: (I) => {
|
|
1631
1631
|
M(I);
|
|
1632
1632
|
} }), B;
|
|
1633
1633
|
}
|
|
1634
|
-
r.useTab =
|
|
1635
|
-
async function
|
|
1634
|
+
r.useTab = w;
|
|
1635
|
+
async function Ne(_, E = !0) {
|
|
1636
1636
|
te({ tab: _ }), sessionStorage.setItem(
|
|
1637
|
-
|
|
1638
|
-
ue.enCode(
|
|
1637
|
+
O().STORAGE,
|
|
1638
|
+
ue.enCode(O())
|
|
1639
1639
|
), E && (ie().tabs && ie().tabs(_));
|
|
1640
1640
|
}
|
|
1641
|
-
r.setTabs =
|
|
1642
|
-
function
|
|
1643
|
-
return
|
|
1641
|
+
r.setTabs = Ne;
|
|
1642
|
+
function he() {
|
|
1643
|
+
return O().tab;
|
|
1644
1644
|
}
|
|
1645
|
-
r.getTabs =
|
|
1646
|
-
function
|
|
1647
|
-
return
|
|
1645
|
+
r.getTabs = he;
|
|
1646
|
+
function L(_) {
|
|
1647
|
+
return O().tab === _;
|
|
1648
1648
|
}
|
|
1649
|
-
r.isTabs =
|
|
1649
|
+
r.isTabs = L;
|
|
1650
1650
|
function j(_) {
|
|
1651
1651
|
if (typeof _ != "function") {
|
|
1652
|
-
const [E, B] = F.useState(_ ||
|
|
1653
|
-
return
|
|
1652
|
+
const [E, B] = F.useState(_ || Ce());
|
|
1653
|
+
return ke({ id: (M) => {
|
|
1654
1654
|
B(M);
|
|
1655
1655
|
} }), E;
|
|
1656
1656
|
} else
|
|
1657
|
-
|
|
1657
|
+
ke({ id: _ });
|
|
1658
1658
|
}
|
|
1659
1659
|
r.useId = j;
|
|
1660
|
-
function
|
|
1660
|
+
function Be(_) {
|
|
1661
1661
|
}
|
|
1662
|
-
r.subId =
|
|
1663
|
-
async function
|
|
1662
|
+
r.subId = Be;
|
|
1663
|
+
async function Ie(_, E = !0) {
|
|
1664
1664
|
te({ id: _ }), sessionStorage.setItem(
|
|
1665
|
-
|
|
1666
|
-
ue.enCode(
|
|
1665
|
+
O().STORAGE,
|
|
1666
|
+
ue.enCode(O())
|
|
1667
1667
|
), E && ie().id(_);
|
|
1668
1668
|
}
|
|
1669
|
-
r.setId =
|
|
1670
|
-
function
|
|
1671
|
-
return
|
|
1669
|
+
r.setId = Ie;
|
|
1670
|
+
function Ce() {
|
|
1671
|
+
return O().id;
|
|
1672
1672
|
}
|
|
1673
|
-
r.getId =
|
|
1674
|
-
function
|
|
1675
|
-
return Number(
|
|
1673
|
+
r.getId = Ce;
|
|
1674
|
+
function Me(_) {
|
|
1675
|
+
return Number(O().id) === _;
|
|
1676
1676
|
}
|
|
1677
|
-
r.isId =
|
|
1678
|
-
async function
|
|
1679
|
-
var E, B, M, I,
|
|
1677
|
+
r.isId = Me;
|
|
1678
|
+
async function De(_) {
|
|
1679
|
+
var E, B, M, I, N, D, Y, le;
|
|
1680
1680
|
const { page: Z, module: X, tab: Q, id: ee } = _;
|
|
1681
|
-
Z !== void 0 && (se.page = Z), X !== void 0 && (se.module = X), Q !== void 0 && (se.tab = Q), ee !== void 0 && (se.id = ee), te({ ...se }), ee !== void 0 && ((B = (E = ie()).id) == null || B.call(E, ee)), Q !== void 0 && ((I = (M = ie()).tabs) == null || I.call(M, Q)), X !== void 0 && ((D = (
|
|
1682
|
-
|
|
1683
|
-
ue.enCode(
|
|
1681
|
+
Z !== void 0 && (se.page = Z), X !== void 0 && (se.module = X), Q !== void 0 && (se.tab = Q), ee !== void 0 && (se.id = ee), te({ ...se }), ee !== void 0 && ((B = (E = ie()).id) == null || B.call(E, ee)), Q !== void 0 && ((I = (M = ie()).tabs) == null || I.call(M, Q)), X !== void 0 && ((D = (N = ie()).module) == null || D.call(N, X)), Z !== void 0 && ((le = (Y = ie()).page) == null || le.call(Y, Z)), sessionStorage.setItem(
|
|
1682
|
+
O().STORAGE,
|
|
1683
|
+
ue.enCode(O())
|
|
1684
1684
|
);
|
|
1685
1685
|
}
|
|
1686
|
-
r.navigate =
|
|
1687
|
-
})(
|
|
1688
|
-
|
|
1689
|
-
|
|
1686
|
+
r.navigate = De;
|
|
1687
|
+
})(ve || (ve = {}));
|
|
1688
|
+
const Rr = "_n_zlj3m_1", Sr = "_i_zlj3m_10", xr = "_t_zlj3m_28", kr = "_e_zlj3m_32", Er = "_s_zlj3m_35", jr = "_w_zlj3m_38", Ar = "_h_zlj3m_41", je = {
|
|
1689
|
+
n: Rr,
|
|
1690
|
+
i: Sr,
|
|
1691
|
+
t: xr,
|
|
1692
|
+
e: kr,
|
|
1693
|
+
s: Er,
|
|
1694
|
+
w: jr,
|
|
1695
|
+
h: Ar
|
|
1696
|
+
};
|
|
1697
|
+
let ft = {};
|
|
1698
|
+
function Or() {
|
|
1690
1699
|
const [r, n] = F.useState([]);
|
|
1691
|
-
return
|
|
1700
|
+
return ft.set = (a) => {
|
|
1692
1701
|
n([...r, a]);
|
|
1693
|
-
},
|
|
1702
|
+
}, ft.del = (a) => {
|
|
1694
1703
|
r.forEach((c, l) => {
|
|
1695
1704
|
c.key === a && r.splice(l, 1);
|
|
1696
1705
|
}), n(r);
|
|
1697
|
-
}, r.length === 0 ? /* @__PURE__ */ i.jsx(i.Fragment, {}) : /* @__PURE__ */ i.jsx("div", { className:
|
|
1706
|
+
}, r.length === 0 ? /* @__PURE__ */ i.jsx(i.Fragment, {}) : /* @__PURE__ */ i.jsx("div", { className: je.n, children: r.map((a) => a.item) });
|
|
1698
1707
|
}
|
|
1699
|
-
function
|
|
1708
|
+
function Cr(r) {
|
|
1700
1709
|
let n = (/* @__PURE__ */ new Date()).getTime();
|
|
1701
|
-
r.key = n,
|
|
1710
|
+
r.key = n, ft.set({ item: /* @__PURE__ */ i.jsx(wr, { data: r }, n), key: n });
|
|
1702
1711
|
}
|
|
1703
|
-
function
|
|
1712
|
+
function wr(r) {
|
|
1704
1713
|
const n = r.data;
|
|
1705
1714
|
let [a] = F.useState("show"), [c, l] = F.useState(!1);
|
|
1706
1715
|
F.useEffect(() => {
|
|
1707
1716
|
setTimeout(function() {
|
|
1708
|
-
l(!0),
|
|
1717
|
+
l(!0), ft.del(n.key);
|
|
1709
1718
|
}, 5e3);
|
|
1710
1719
|
}, [n.key]);
|
|
1711
1720
|
let p;
|
|
@@ -1723,10 +1732,15 @@ function Sr(r) {
|
|
|
1723
1732
|
p = "icon fa fa-exclamation-circle";
|
|
1724
1733
|
break;
|
|
1725
1734
|
}
|
|
1735
|
+
const S = {
|
|
1736
|
+
error: je.e,
|
|
1737
|
+
success: je.s,
|
|
1738
|
+
warning: je.w
|
|
1739
|
+
};
|
|
1726
1740
|
return /* @__PURE__ */ i.jsx(i.Fragment, { children: c ? /* @__PURE__ */ i.jsx(i.Fragment, {}) : /* @__PURE__ */ i.jsxs(
|
|
1727
1741
|
"div",
|
|
1728
1742
|
{
|
|
1729
|
-
className:
|
|
1743
|
+
className: je.i + S[n.type] + ` ${n.thema !== void 0 ? je.h : ""}`,
|
|
1730
1744
|
"data-status": a,
|
|
1731
1745
|
children: [
|
|
1732
1746
|
/* @__PURE__ */ i.jsx(
|
|
@@ -1742,24 +1756,24 @@ function Sr(r) {
|
|
|
1742
1756
|
children: p
|
|
1743
1757
|
}
|
|
1744
1758
|
),
|
|
1745
|
-
/* @__PURE__ */ i.jsx("span", { className:
|
|
1759
|
+
/* @__PURE__ */ i.jsx("span", { className: je.t, children: n.text })
|
|
1746
1760
|
]
|
|
1747
1761
|
}
|
|
1748
1762
|
) });
|
|
1749
1763
|
}
|
|
1750
|
-
let
|
|
1751
|
-
Send:
|
|
1752
|
-
Init:
|
|
1764
|
+
let Ae = {
|
|
1765
|
+
Send: Cr,
|
|
1766
|
+
Init: Or
|
|
1753
1767
|
};
|
|
1754
|
-
const
|
|
1755
|
-
d:
|
|
1756
|
-
b:
|
|
1757
|
-
o:
|
|
1758
|
-
m:
|
|
1759
|
-
t:
|
|
1760
|
-
a:
|
|
1761
|
-
v:
|
|
1762
|
-
},
|
|
1768
|
+
const Pr = "_d_1u25q_1", Tr = "_b_1u25q_21", $r = "_o_1u25q_25", Nr = "_m_1u25q_30", Br = "_t_1u25q_41", Ir = "_a_1u25q_108", Mr = "_v_1u25q_118", fe = {
|
|
1769
|
+
d: Pr,
|
|
1770
|
+
b: Tr,
|
|
1771
|
+
o: $r,
|
|
1772
|
+
m: Nr,
|
|
1773
|
+
t: Br,
|
|
1774
|
+
a: Ir,
|
|
1775
|
+
v: Mr
|
|
1776
|
+
}, de = {
|
|
1763
1777
|
is: !1,
|
|
1764
1778
|
MainButton: {},
|
|
1765
1779
|
BackButton: {}
|
|
@@ -1808,24 +1822,24 @@ G.users = {
|
|
|
1808
1822
|
"--tg-theme-button-text-color": "#000000",
|
|
1809
1823
|
"--tg-theme-secondary-bg-color": "#000000"
|
|
1810
1824
|
};
|
|
1811
|
-
const
|
|
1825
|
+
const Dr = () => {
|
|
1812
1826
|
if (location.hostname === "localhost") {
|
|
1813
|
-
let [r, n] = J(!1), [a, c] = J(!1), [l, p] = J("dark"), [
|
|
1814
|
-
|
|
1827
|
+
let [r, n] = J(!1), [a, c] = J(!1), [l, p] = J("dark"), [S, m] = J(!1), [u, R] = J(!1);
|
|
1828
|
+
de.is = !0, de.MainButton.set = n, de.BackButton.set = c, pe(() => {
|
|
1815
1829
|
G[l]["--tg-theme-bg-color-alpha"] = G[l]["--tg-theme-bg-color"] + "b3", G[l]["--tg-theme-secondary-bg-color-alpha"] = G[l]["--tg-theme-secondary-bg-color"] + "d3";
|
|
1816
1830
|
for (let y in G[l])
|
|
1817
1831
|
document.documentElement.style.setProperty(
|
|
1818
1832
|
y,
|
|
1819
1833
|
G[l][y]
|
|
1820
1834
|
);
|
|
1821
|
-
|
|
1835
|
+
Te.safeAreaInset.bottom === 0 && document.documentElement.style.setProperty(
|
|
1822
1836
|
"--tg-safe-area-inset-bottom",
|
|
1823
1837
|
"16px"
|
|
1824
1838
|
);
|
|
1825
1839
|
}, []);
|
|
1826
1840
|
let h = (y) => {
|
|
1827
|
-
for (let
|
|
1828
|
-
document.documentElement.style.setProperty(
|
|
1841
|
+
for (let $ in G[y])
|
|
1842
|
+
document.documentElement.style.setProperty($, G[y][$]);
|
|
1829
1843
|
p(y), m(!1);
|
|
1830
1844
|
}, b = () => {
|
|
1831
1845
|
m(!1), R(!0);
|
|
@@ -1837,7 +1851,7 @@ const Pr = () => {
|
|
|
1837
1851
|
{
|
|
1838
1852
|
onClick: () => {
|
|
1839
1853
|
var y;
|
|
1840
|
-
a.page === void 0 ? (y = a.callback) == null || y.call(a) :
|
|
1854
|
+
a.page === void 0 ? (y = a.callback) == null || y.call(a) : ve.setPage(a.page);
|
|
1841
1855
|
},
|
|
1842
1856
|
className: fe.b,
|
|
1843
1857
|
children: "Назад"
|
|
@@ -1847,22 +1861,22 @@ const Pr = () => {
|
|
|
1847
1861
|
"div",
|
|
1848
1862
|
{
|
|
1849
1863
|
className: fe.o,
|
|
1850
|
-
onClick: () => m(!
|
|
1864
|
+
onClick: () => m(!S),
|
|
1851
1865
|
children: "Меню"
|
|
1852
1866
|
}
|
|
1853
1867
|
)
|
|
1854
1868
|
] }),
|
|
1855
|
-
/* @__PURE__ */ i.jsx(
|
|
1869
|
+
/* @__PURE__ */ i.jsx(Ae.Init, {}),
|
|
1856
1870
|
r && /* @__PURE__ */ i.jsx("div", { className: fe.m, children: /* @__PURE__ */ i.jsx(
|
|
1857
1871
|
"button",
|
|
1858
1872
|
{
|
|
1859
1873
|
onClick: () => {
|
|
1860
|
-
r.page &&
|
|
1874
|
+
r.page && ve.setPage(r.page), r.callback && r.callback();
|
|
1861
1875
|
},
|
|
1862
1876
|
children: r.text
|
|
1863
1877
|
}
|
|
1864
1878
|
) }),
|
|
1865
|
-
|
|
1879
|
+
S ? /* @__PURE__ */ i.jsxs("div", { className: fe.t, children: [
|
|
1866
1880
|
/* @__PURE__ */ i.jsxs("ul", { children: [
|
|
1867
1881
|
/* @__PURE__ */ i.jsx("li", { children: /* @__PURE__ */ i.jsx("button", { onClick: b, children: "Authorization" }) }),
|
|
1868
1882
|
/* @__PURE__ */ i.jsx("li", {})
|
|
@@ -1894,25 +1908,25 @@ const Pr = () => {
|
|
|
1894
1908
|
) })
|
|
1895
1909
|
] })
|
|
1896
1910
|
] }),
|
|
1897
|
-
/* @__PURE__ */ i.jsx("li", { children: /* @__PURE__ */ i.jsx("button", { onClick: () => m(!
|
|
1911
|
+
/* @__PURE__ */ i.jsx("li", { children: /* @__PURE__ */ i.jsx("button", { onClick: () => m(!S), children: "Closed" }) })
|
|
1898
1912
|
] })
|
|
1899
1913
|
] }) : "",
|
|
1900
|
-
u ? /* @__PURE__ */ i.jsx(
|
|
1914
|
+
u ? /* @__PURE__ */ i.jsx(Fr, { setAuthorization: R }) : ""
|
|
1901
1915
|
] });
|
|
1902
1916
|
} else
|
|
1903
|
-
return
|
|
1917
|
+
return pe(() => {
|
|
1904
1918
|
document.documentElement.style.setProperty(
|
|
1905
1919
|
"--tg-theme-secondary-bg-color-alpha",
|
|
1906
|
-
|
|
1920
|
+
Te.themeParams.secondary_bg_color + "d3"
|
|
1907
1921
|
), document.documentElement.style.setProperty(
|
|
1908
1922
|
"--tg-theme-bg-color-alpha",
|
|
1909
|
-
|
|
1910
|
-
),
|
|
1923
|
+
Te.themeParams.bg_color + "b3"
|
|
1924
|
+
), Te.safeAreaInset.bottom === 0 && document.documentElement.style.setProperty(
|
|
1911
1925
|
"--tg-safe-area-inset-bottom",
|
|
1912
1926
|
"16px"
|
|
1913
1927
|
);
|
|
1914
|
-
}, []), /* @__PURE__ */ i.jsx(i.Fragment, { children: /* @__PURE__ */ i.jsx(
|
|
1915
|
-
},
|
|
1928
|
+
}, []), /* @__PURE__ */ i.jsx(i.Fragment, { children: /* @__PURE__ */ i.jsx(Ae.Init, {}) });
|
|
1929
|
+
}, Fr = ({ setAuthorization: r }) => {
|
|
1916
1930
|
let n = {}, a = () => {
|
|
1917
1931
|
localStorage.setItem("auth", n);
|
|
1918
1932
|
};
|
|
@@ -1920,104 +1934,104 @@ const Pr = () => {
|
|
|
1920
1934
|
/* @__PURE__ */ i.jsx("fieldset", {}),
|
|
1921
1935
|
/* @__PURE__ */ i.jsx("div", { onClick: a, children: " Сохранить " })
|
|
1922
1936
|
] }) });
|
|
1923
|
-
},
|
|
1924
|
-
p:
|
|
1925
|
-
s:
|
|
1926
|
-
},
|
|
1937
|
+
}, Lr = "_p_1axqy_1", Wr = "_s_1axqy_17", Jt = {
|
|
1938
|
+
p: Lr,
|
|
1939
|
+
s: Wr
|
|
1940
|
+
}, Ur = ({ className: r, children: n, isScroll: a = !0 }) => /* @__PURE__ */ i.jsx(
|
|
1927
1941
|
"div",
|
|
1928
1942
|
{
|
|
1929
|
-
className: [
|
|
1943
|
+
className: [Jt.p, a && Jt.s, r].filter((c) => c !== void 0).join(" "),
|
|
1930
1944
|
children: n
|
|
1931
1945
|
}
|
|
1932
|
-
),
|
|
1933
|
-
l:
|
|
1934
|
-
},
|
|
1946
|
+
), Yr = "_l_gfyud_1", zr = {
|
|
1947
|
+
l: Yr
|
|
1948
|
+
}, Vr = ({ children: r, className: n }) => /* @__PURE__ */ i.jsx(
|
|
1935
1949
|
"div",
|
|
1936
1950
|
{
|
|
1937
|
-
className: [
|
|
1951
|
+
className: [zr.l, n].filter((a) => a !== void 0).join(" "),
|
|
1938
1952
|
children: r
|
|
1939
1953
|
}
|
|
1940
|
-
),
|
|
1941
|
-
m:
|
|
1942
|
-
g:
|
|
1943
|
-
i:
|
|
1944
|
-
c:
|
|
1945
|
-
l:
|
|
1946
|
-
a:
|
|
1947
|
-
n:
|
|
1948
|
-
},
|
|
1954
|
+
), qr = "_m_ppm7n_2", Hr = "_g_ppm7n_10", Jr = "_i_ppm7n_18", Kr = "_c_ppm7n_35", Gr = "_l_ppm7n_42", Zr = "_a_ppm7n_57", Xr = "_n_ppm7n_62", Ee = {
|
|
1955
|
+
m: qr,
|
|
1956
|
+
g: Hr,
|
|
1957
|
+
i: Jr,
|
|
1958
|
+
c: Kr,
|
|
1959
|
+
l: Gr,
|
|
1960
|
+
a: Zr,
|
|
1961
|
+
n: Xr
|
|
1962
|
+
}, Qr = ({ items: r }) => {
|
|
1949
1963
|
const n = (c) => {
|
|
1950
|
-
|
|
1964
|
+
ve.setPage(c);
|
|
1951
1965
|
}, a = (c) => {
|
|
1952
|
-
|
|
1966
|
+
Te.openTelegramLink(c);
|
|
1953
1967
|
};
|
|
1954
|
-
return /* @__PURE__ */ i.jsx("div", { className:
|
|
1968
|
+
return /* @__PURE__ */ i.jsx("div", { className: Ee.m, children: r.map((c) => /* @__PURE__ */ i.jsx("div", { className: Ee.g, children: c.items.map((l, p) => /* @__PURE__ */ i.jsxs(
|
|
1955
1969
|
"div",
|
|
1956
1970
|
{
|
|
1957
|
-
className:
|
|
1971
|
+
className: Ee.i,
|
|
1958
1972
|
onClick: () => {
|
|
1959
1973
|
l.link && a(l.link), l.page && n(l.page), l.callback && l.callback();
|
|
1960
1974
|
},
|
|
1961
1975
|
children: [
|
|
1962
|
-
/* @__PURE__ */ i.jsxs("div", { className:
|
|
1976
|
+
/* @__PURE__ */ i.jsxs("div", { className: Ee.c, children: [
|
|
1963
1977
|
/* @__PURE__ */ i.jsx(
|
|
1964
1978
|
"span",
|
|
1965
1979
|
{
|
|
1966
|
-
className:
|
|
1980
|
+
className: Ee.l,
|
|
1967
1981
|
style: { background: l.color },
|
|
1968
1982
|
children: l.icon
|
|
1969
1983
|
}
|
|
1970
1984
|
),
|
|
1971
1985
|
l.title,
|
|
1972
|
-
l.count && /* @__PURE__ */ i.jsx("span", { className:
|
|
1986
|
+
l.count && /* @__PURE__ */ i.jsx("span", { className: Ee.n, children: l.count })
|
|
1973
1987
|
] }),
|
|
1974
|
-
/* @__PURE__ */ i.jsx("span", { className:
|
|
1988
|
+
/* @__PURE__ */ i.jsx("span", { className: Ee.a, children: "›" })
|
|
1975
1989
|
]
|
|
1976
1990
|
},
|
|
1977
1991
|
p
|
|
1978
1992
|
)) }, c.id)) });
|
|
1979
|
-
},
|
|
1980
|
-
o:
|
|
1981
|
-
m:
|
|
1982
|
-
l:
|
|
1983
|
-
r:
|
|
1984
|
-
x:
|
|
1985
|
-
h:
|
|
1986
|
-
c:
|
|
1987
|
-
u:
|
|
1993
|
+
}, en = "_o_8ho2f_3", tn = "_m_8ho2f_14", rn = "_l_8ho2f_28", nn = "_r_8ho2f_33", on = "_x_8ho2f_38", an = "_h_8ho2f_42", sn = "_c_8ho2f_57", cn = "_u_8ho2f_72", ce = {
|
|
1994
|
+
o: en,
|
|
1995
|
+
m: tn,
|
|
1996
|
+
l: rn,
|
|
1997
|
+
r: nn,
|
|
1998
|
+
x: on,
|
|
1999
|
+
h: an,
|
|
2000
|
+
c: sn,
|
|
2001
|
+
u: cn
|
|
1988
2002
|
};
|
|
1989
|
-
function
|
|
2003
|
+
function ln({
|
|
1990
2004
|
children: r,
|
|
1991
2005
|
icon: n,
|
|
1992
2006
|
iconBadge: a = 0,
|
|
1993
2007
|
title: c,
|
|
1994
2008
|
className: l,
|
|
1995
2009
|
view: p = "list",
|
|
1996
|
-
position:
|
|
2010
|
+
position: S = "left"
|
|
1997
2011
|
}) {
|
|
1998
2012
|
const [m, u] = J(!1), [R, h] = J(
|
|
1999
2013
|
null
|
|
2000
2014
|
);
|
|
2001
|
-
|
|
2015
|
+
pe(() => {
|
|
2002
2016
|
let y = document.querySelector(".p_sb");
|
|
2003
2017
|
return y || (y = document.createElement("div"), y.className = "_p_sb", document.body.appendChild(y)), h(y), () => {
|
|
2004
2018
|
y && y.parentNode && y.parentNode.removeChild(y);
|
|
2005
2019
|
};
|
|
2006
2020
|
}, []);
|
|
2007
2021
|
const b = /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
|
|
2008
|
-
m && /* @__PURE__ */ i.jsx("div", { className:
|
|
2022
|
+
m && /* @__PURE__ */ i.jsx("div", { className: ce.o, onClick: () => u(!1) }),
|
|
2009
2023
|
/* @__PURE__ */ i.jsxs(
|
|
2010
2024
|
"div",
|
|
2011
2025
|
{
|
|
2012
|
-
className:
|
|
2013
|
-
|
|
2014
|
-
|
|
2015
|
-
m &&
|
|
2026
|
+
className: $e(
|
|
2027
|
+
ce.m,
|
|
2028
|
+
S === "left" ? ce.l : ce.r,
|
|
2029
|
+
m && ce.x,
|
|
2016
2030
|
l
|
|
2017
2031
|
),
|
|
2018
2032
|
children: [
|
|
2019
|
-
/* @__PURE__ */ i.jsxs("div", { className:
|
|
2020
|
-
c && /* @__PURE__ */ i.jsx("h3", { className:
|
|
2033
|
+
/* @__PURE__ */ i.jsxs("div", { className: ce.h, children: [
|
|
2034
|
+
c && /* @__PURE__ */ i.jsx("h3", { className: ce.t, children: c }),
|
|
2021
2035
|
/* @__PURE__ */ i.jsxs(
|
|
2022
2036
|
"svg",
|
|
2023
2037
|
{
|
|
@@ -2039,7 +2053,7 @@ function en({
|
|
|
2039
2053
|
}
|
|
2040
2054
|
)
|
|
2041
2055
|
] }),
|
|
2042
|
-
/* @__PURE__ */ i.jsx("div", { className:
|
|
2056
|
+
/* @__PURE__ */ i.jsx("div", { className: ce.c, children: p === "list" ? /* @__PURE__ */ i.jsx("ul", { className: ce.u, children: r }) : r })
|
|
2043
2057
|
]
|
|
2044
2058
|
}
|
|
2045
2059
|
)
|
|
@@ -2054,12 +2068,12 @@ function en({
|
|
|
2054
2068
|
children: n
|
|
2055
2069
|
}
|
|
2056
2070
|
),
|
|
2057
|
-
R &&
|
|
2071
|
+
R && ar(b, R)
|
|
2058
2072
|
] });
|
|
2059
2073
|
}
|
|
2060
|
-
let
|
|
2074
|
+
let st = () => {
|
|
2061
2075
|
};
|
|
2062
|
-
const
|
|
2076
|
+
const or = ({
|
|
2063
2077
|
children: r,
|
|
2064
2078
|
title: n,
|
|
2065
2079
|
isOverlay: a = !0,
|
|
@@ -2067,8 +2081,8 @@ const nr = ({
|
|
|
2067
2081
|
className: l,
|
|
2068
2082
|
onOpen: p
|
|
2069
2083
|
}) => {
|
|
2070
|
-
const [
|
|
2071
|
-
return
|
|
2084
|
+
const [S, m] = F.useState(!1);
|
|
2085
|
+
return st = () => {
|
|
2072
2086
|
m(!0), setTimeout(() => {
|
|
2073
2087
|
var u;
|
|
2074
2088
|
p == null || p(!1), (u = Pe == null ? void 0 : Pe.onClose) == null || u.call(Pe);
|
|
@@ -2076,12 +2090,12 @@ const nr = ({
|
|
|
2076
2090
|
}, /* @__PURE__ */ i.jsx(
|
|
2077
2091
|
"div",
|
|
2078
2092
|
{
|
|
2079
|
-
className: `footer-menu-overlay ${a ? "is-overlay" : ""} ${
|
|
2080
|
-
onClick:
|
|
2093
|
+
className: `footer-menu-overlay ${a ? "is-overlay" : ""} ${S ? "closing" : ""} `,
|
|
2094
|
+
onClick: st,
|
|
2081
2095
|
children: /* @__PURE__ */ i.jsxs(
|
|
2082
2096
|
"div",
|
|
2083
2097
|
{
|
|
2084
|
-
className: `footer-menu-popup-book ${
|
|
2098
|
+
className: `footer-menu-popup-book ${S ? "closing" : ""} ${l || ""} ${c ? "footer" : ""}`,
|
|
2085
2099
|
onClick: (u) => u.stopPropagation(),
|
|
2086
2100
|
children: [
|
|
2087
2101
|
/* @__PURE__ */ i.jsxs("div", { className: "footer-menu-header", children: [
|
|
@@ -2090,7 +2104,7 @@ const nr = ({
|
|
|
2090
2104
|
"button",
|
|
2091
2105
|
{
|
|
2092
2106
|
className: "footer-menu-close-btn",
|
|
2093
|
-
onClick:
|
|
2107
|
+
onClick: st,
|
|
2094
2108
|
children: "✕"
|
|
2095
2109
|
}
|
|
2096
2110
|
)
|
|
@@ -2101,47 +2115,47 @@ const nr = ({
|
|
|
2101
2115
|
)
|
|
2102
2116
|
}
|
|
2103
2117
|
);
|
|
2104
|
-
},
|
|
2105
|
-
h:
|
|
2106
|
-
row:
|
|
2107
|
-
column:
|
|
2108
|
-
},
|
|
2109
|
-
b:
|
|
2110
|
-
},
|
|
2118
|
+
}, un = "_h_1gb68_1", fn = "_row_1gb68_20", dn = "_column_1gb68_23", Kt = {
|
|
2119
|
+
h: un,
|
|
2120
|
+
row: fn,
|
|
2121
|
+
column: dn
|
|
2122
|
+
}, pn = "_b_r6m8n_1", vn = {
|
|
2123
|
+
b: pn
|
|
2124
|
+
}, hn = ({ className: r, value: n }) => /* @__PURE__ */ i.jsx(
|
|
2111
2125
|
"div",
|
|
2112
2126
|
{
|
|
2113
|
-
className: [
|
|
2127
|
+
className: [vn.b, r].filter((a) => a !== void 0).join(" "),
|
|
2114
2128
|
children: n
|
|
2115
2129
|
}
|
|
2116
|
-
), Pe = [],
|
|
2130
|
+
), Pe = [], Gt = (r, n) => r.findIndex((a) => (a == null ? void 0 : a.page) === n), yn = ({
|
|
2117
2131
|
actions: r,
|
|
2118
2132
|
children: n,
|
|
2119
2133
|
className: a,
|
|
2120
2134
|
toHide: c = !1,
|
|
2121
2135
|
page: l,
|
|
2122
2136
|
onPageChange: p,
|
|
2123
|
-
direction:
|
|
2137
|
+
direction: S = "row"
|
|
2124
2138
|
}) => {
|
|
2125
2139
|
const [m, u] = F.useState(null), [R, h] = F.useState(
|
|
2126
|
-
l ?
|
|
2140
|
+
l ? Gt(r || [], l) : 0
|
|
2127
2141
|
);
|
|
2128
2142
|
return Pe.onClose = () => {
|
|
2129
|
-
u(null), h(l ?
|
|
2130
|
-
},
|
|
2143
|
+
u(null), h(l ? Gt(r || [], l) : 0);
|
|
2144
|
+
}, pe(() => {
|
|
2131
2145
|
if (!c)
|
|
2132
2146
|
return;
|
|
2133
2147
|
const b = document.querySelectorAll("[contenteditable]"), y = () => {
|
|
2134
|
-
const
|
|
2135
|
-
|
|
2136
|
-
},
|
|
2137
|
-
const
|
|
2138
|
-
|
|
2148
|
+
const w = document.querySelector("footer");
|
|
2149
|
+
w && (w.style.display = "flex");
|
|
2150
|
+
}, $ = () => {
|
|
2151
|
+
const w = document.querySelector("footer");
|
|
2152
|
+
w && (w.style.display = "none");
|
|
2139
2153
|
};
|
|
2140
|
-
return b.forEach((
|
|
2141
|
-
|
|
2154
|
+
return b.forEach((w) => {
|
|
2155
|
+
w.addEventListener("focus", $, !0), w.addEventListener("blur", y, !0);
|
|
2142
2156
|
}), () => {
|
|
2143
|
-
b.forEach((
|
|
2144
|
-
|
|
2157
|
+
b.forEach((w) => {
|
|
2158
|
+
w.removeEventListener("focus", $, !0), w.removeEventListener("blur", y, !0);
|
|
2145
2159
|
});
|
|
2146
2160
|
};
|
|
2147
2161
|
}, []), /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
|
|
@@ -2149,7 +2163,7 @@ const nr = ({
|
|
|
2149
2163
|
/* @__PURE__ */ i.jsxs(
|
|
2150
2164
|
"footer",
|
|
2151
2165
|
{
|
|
2152
|
-
className: `${
|
|
2166
|
+
className: `${Kt.h} ${Kt[S]} ${a} `,
|
|
2153
2167
|
children: [
|
|
2154
2168
|
n,
|
|
2155
2169
|
r && r.map((b, y) => /* @__PURE__ */ i.jsxs(
|
|
@@ -2157,11 +2171,11 @@ const nr = ({
|
|
|
2157
2171
|
{
|
|
2158
2172
|
"data-active": R === y ? "true" : "false",
|
|
2159
2173
|
onClick: () => {
|
|
2160
|
-
b.page && (h(y), p == null || p(b.page)), b.
|
|
2174
|
+
b.page && (h(y), p == null || p(b.page)), b.onClick && b.onClick(() => h(y)), b.component && (R === y ? st() : (u(b.component), h(y)));
|
|
2161
2175
|
},
|
|
2162
2176
|
children: [
|
|
2163
2177
|
b.icon,
|
|
2164
|
-
b.badge && /* @__PURE__ */ i.jsx(
|
|
2178
|
+
b.badge && /* @__PURE__ */ i.jsx(hn, { value: b.badge })
|
|
2165
2179
|
]
|
|
2166
2180
|
},
|
|
2167
2181
|
y
|
|
@@ -2170,13 +2184,13 @@ const nr = ({
|
|
|
2170
2184
|
}
|
|
2171
2185
|
)
|
|
2172
2186
|
] });
|
|
2173
|
-
},
|
|
2174
|
-
w:
|
|
2175
|
-
v:
|
|
2176
|
-
s:
|
|
2177
|
-
n:
|
|
2178
|
-
},
|
|
2179
|
-
function
|
|
2187
|
+
}, gn = "_w_yx04q_3", mn = "_v_yx04q_24", bn = "_s_yx04q_34", _n = "_n_yx04q_38", ct = {
|
|
2188
|
+
w: gn,
|
|
2189
|
+
v: mn,
|
|
2190
|
+
s: bn,
|
|
2191
|
+
n: _n
|
|
2192
|
+
}, Ut = {};
|
|
2193
|
+
function Rn({
|
|
2180
2194
|
children: r,
|
|
2181
2195
|
name: n,
|
|
2182
2196
|
onClose: a,
|
|
@@ -2184,20 +2198,20 @@ function pn({
|
|
|
2184
2198
|
isScroll: l = !0,
|
|
2185
2199
|
nextBackButton: p
|
|
2186
2200
|
}) {
|
|
2187
|
-
const [
|
|
2188
|
-
return
|
|
2201
|
+
const [S, m] = J(!1);
|
|
2202
|
+
return pe(() => {
|
|
2189
2203
|
if (!c) return;
|
|
2190
|
-
const u = p === void 0 ?
|
|
2204
|
+
const u = p === void 0 ? wn().pop() : p, R = () => {
|
|
2191
2205
|
m(!1), setTimeout(() => {
|
|
2192
|
-
|
|
2206
|
+
Xt(u || !1), a == null || a();
|
|
2193
2207
|
}, 300);
|
|
2194
2208
|
};
|
|
2195
|
-
|
|
2209
|
+
Ut[n] = {
|
|
2196
2210
|
onClose: R,
|
|
2197
2211
|
onOpen: () => {
|
|
2198
2212
|
m(!0);
|
|
2199
2213
|
}
|
|
2200
|
-
},
|
|
2214
|
+
}, Xt({
|
|
2201
2215
|
callback: R
|
|
2202
2216
|
});
|
|
2203
2217
|
const h = setTimeout(() => {
|
|
@@ -2209,26 +2223,26 @@ function pn({
|
|
|
2209
2223
|
}, [c]), c ? /* @__PURE__ */ i.jsxs(
|
|
2210
2224
|
"div",
|
|
2211
2225
|
{
|
|
2212
|
-
className:
|
|
2213
|
-
|
|
2214
|
-
|
|
2215
|
-
l &&
|
|
2226
|
+
className: $e(
|
|
2227
|
+
ct.w,
|
|
2228
|
+
S && ct.v,
|
|
2229
|
+
l && ct.s
|
|
2216
2230
|
),
|
|
2217
2231
|
children: [
|
|
2218
|
-
/* @__PURE__ */ i.jsx("div", { className:
|
|
2232
|
+
/* @__PURE__ */ i.jsx("div", { className: ct.n }),
|
|
2219
2233
|
r
|
|
2220
2234
|
]
|
|
2221
2235
|
}
|
|
2222
2236
|
) : "";
|
|
2223
2237
|
}
|
|
2224
|
-
const
|
|
2238
|
+
const Sn = (r, n) => {
|
|
2225
2239
|
var a, c;
|
|
2226
|
-
n ? (a =
|
|
2227
|
-
},
|
|
2228
|
-
s:
|
|
2229
|
-
n:
|
|
2240
|
+
n ? (a = Ut[r]) == null || a.onOpen() : (c = Ut[r]) == null || c.onClose();
|
|
2241
|
+
}, xn = "_s_ezoxx_3", kn = "_n_ezoxx_14", Zt = {
|
|
2242
|
+
s: xn,
|
|
2243
|
+
n: kn
|
|
2230
2244
|
};
|
|
2231
|
-
function
|
|
2245
|
+
function En({
|
|
2232
2246
|
className: r,
|
|
2233
2247
|
children: n,
|
|
2234
2248
|
onScrollEnd: a,
|
|
@@ -2236,38 +2250,38 @@ function gn({
|
|
|
2236
2250
|
isLoading: l,
|
|
2237
2251
|
isScrollBar: p = !1
|
|
2238
2252
|
}) {
|
|
2239
|
-
const [
|
|
2240
|
-
|
|
2253
|
+
const [S, m] = J(l || !1);
|
|
2254
|
+
pe(() => {
|
|
2241
2255
|
m(l || !1);
|
|
2242
2256
|
}, [l]);
|
|
2243
2257
|
let u = {
|
|
2244
2258
|
onScroll: (R) => {
|
|
2245
2259
|
const { scrollTop: h, scrollHeight: b, clientHeight: y } = R.currentTarget;
|
|
2246
|
-
h + y >= b - c && !
|
|
2260
|
+
h + y >= b - c && !S && (m(!0), a == null || a());
|
|
2247
2261
|
}
|
|
2248
2262
|
};
|
|
2249
2263
|
return /* @__PURE__ */ i.jsx(
|
|
2250
2264
|
"div",
|
|
2251
2265
|
{
|
|
2252
2266
|
...u,
|
|
2253
|
-
className:
|
|
2267
|
+
className: $e(Zt.s, !p && Zt.n, r),
|
|
2254
2268
|
children: n
|
|
2255
2269
|
}
|
|
2256
2270
|
);
|
|
2257
2271
|
}
|
|
2258
|
-
const
|
|
2259
|
-
a:
|
|
2260
|
-
l:
|
|
2261
|
-
r:
|
|
2272
|
+
const jn = "_a_ohhaz_1", An = "_l_ohhaz_12", On = "_r_ohhaz_15", Ft = {
|
|
2273
|
+
a: jn,
|
|
2274
|
+
l: An,
|
|
2275
|
+
r: On
|
|
2262
2276
|
};
|
|
2263
|
-
function
|
|
2277
|
+
function Cn({
|
|
2264
2278
|
children: r,
|
|
2265
2279
|
className: n,
|
|
2266
2280
|
position: a = "center",
|
|
2267
2281
|
title: c
|
|
2268
2282
|
}) {
|
|
2269
2283
|
let l = "";
|
|
2270
|
-
return a === "left" ? l =
|
|
2284
|
+
return a === "left" ? l = Ft.l : a === "right" && (l = Ft.r), /* @__PURE__ */ i.jsxs("div", { className: $e(Ft.a, l, n), children: [
|
|
2271
2285
|
r,
|
|
2272
2286
|
c && /* @__PURE__ */ i.jsx("b", { children: c })
|
|
2273
2287
|
] });
|
|
@@ -2277,43 +2291,58 @@ const U = {
|
|
|
2277
2291
|
listen: [],
|
|
2278
2292
|
prev: {},
|
|
2279
2293
|
router: (r) => {
|
|
2280
|
-
r === !1 ? (
|
|
2294
|
+
r === !1 ? (T.WebApp.BackButton.isVisible = !1, T.WebApp.BackButton.offClick(U.listen[0]), U.listen.shift(), U.state.length !== 1 && U.state.pop()) : (T.WebApp.BackButton.isVisible = !0, T.WebApp.BackButton.offClick(U.listen[0]), U.listen.shift(), U.listen.push(() => {
|
|
2281
2295
|
var a;
|
|
2282
2296
|
let n = U.state.pop();
|
|
2283
|
-
U.prev =
|
|
2284
|
-
}),
|
|
2297
|
+
U.prev = ve.getPage(), n.page !== void 0 ? ve.setPage(n.page) : (a = n.callback) == null || a.call(n);
|
|
2298
|
+
}), Te.BackButton.onClick(U.listen[0]));
|
|
2285
2299
|
}
|
|
2286
|
-
},
|
|
2287
|
-
var
|
|
2300
|
+
}, $e = (...r) => r.filter((n) => n !== void 0 && n !== !1 && n !== null && n !== "").join(" ");
|
|
2301
|
+
var T;
|
|
2288
2302
|
((r) => {
|
|
2289
2303
|
r.WebApp = window.Telegram.WebApp, r.getUser = () => {
|
|
2290
2304
|
var n;
|
|
2291
2305
|
return ((n = r.WebApp.initDataUnsafe) == null ? void 0 : n.user) === void 0 ? {} : r.WebApp.initDataUnsafe;
|
|
2306
|
+
}, r.Location = (n) => {
|
|
2307
|
+
if (de.is)
|
|
2308
|
+
return n({ latitude: 0, longitude: 0 });
|
|
2309
|
+
let a = () => {
|
|
2310
|
+
r.WebApp.LocationManager.getLocation(async (c) => {
|
|
2311
|
+
if (!c) {
|
|
2312
|
+
r.WebApp.LocationManager.isAccessRequested || r.WebApp.LocationManager.openSettings();
|
|
2313
|
+
return;
|
|
2314
|
+
}
|
|
2315
|
+
n(c);
|
|
2316
|
+
});
|
|
2317
|
+
};
|
|
2318
|
+
!r.WebApp.LocationManager || !r.WebApp.LocationManager.isInited ? r.WebApp.LocationManager.init(() => {
|
|
2319
|
+
a();
|
|
2320
|
+
}) : a();
|
|
2292
2321
|
}, r.Notice = {
|
|
2293
2322
|
Send: (n, a, c) => {
|
|
2294
2323
|
var l, p;
|
|
2295
|
-
a !== void 0 ? (
|
|
2324
|
+
a !== void 0 ? (Ae.Send({ type: n, text: a, thema: c }), (l = r.WebApp.HapticFeedback) == null || l.notificationOccurred(n)) : (Ae.Send(n), (p = r.WebApp.HapticFeedback) == null || p.notificationOccurred(n.type));
|
|
2296
2325
|
},
|
|
2297
2326
|
Error: (n) => {
|
|
2298
2327
|
var a;
|
|
2299
|
-
|
|
2328
|
+
Ae.Send({ type: "error", text: n }), (a = r.WebApp.HapticFeedback) == null || a.notificationOccurred("error");
|
|
2300
2329
|
},
|
|
2301
2330
|
Success: (n) => {
|
|
2302
2331
|
var a;
|
|
2303
|
-
|
|
2332
|
+
Ae.Send({ type: "success", text: n }), (a = r.WebApp.HapticFeedback) == null || a.notificationOccurred("success");
|
|
2304
2333
|
},
|
|
2305
2334
|
Warning: (n) => {
|
|
2306
2335
|
var a;
|
|
2307
|
-
|
|
2336
|
+
Ae.Send({ type: "warning", text: n }), (a = r.WebApp.HapticFeedback) == null || a.notificationOccurred("warning");
|
|
2308
2337
|
}
|
|
2309
|
-
}, r.Header =
|
|
2338
|
+
}, r.Header = Dr, r.TabBar = yn, r.BottomSheet = or, r.toggleBottomSheet = st, r.SafeArea = Ur, r.Loading = Vr, r.Sidebar = ln, r.SidePanel = Rn, r.AppBar = Cn, r.SidePanelController = Sn, r.Scroll = En, r.Modal = Wt, r.Menu = Qr, r.MainButton = {
|
|
2310
2339
|
callback: [],
|
|
2311
2340
|
set: (n) => {
|
|
2312
|
-
|
|
2341
|
+
de.is ? de.MainButton.set(n) : (r.WebApp.MainButton.callback.forEach((a) => {
|
|
2313
2342
|
r.WebApp.MainButton.offClick(a);
|
|
2314
2343
|
}), r.WebApp.MainButton.callback = [], typeof n == "boolean" ? r.WebApp.MainButton.isVisible = !1 : (r.WebApp.MainButton.text = n.text, n.color && (r.WebApp.MainButton.color = n.color), n.textColor && (r.WebApp.MainButton.textColor = n.textColor), r.WebApp.MainButton.isVisible = !0, r.WebApp.MainButton.isActive = n.isActive === void 0 ? !0 : n.isActive, r.WebApp.MainButton.callback.push(() => {
|
|
2315
2344
|
var a;
|
|
2316
|
-
n.page === void 0 ? (a = n.callback) == null || a.call(n) :
|
|
2345
|
+
n.page === void 0 ? (a = n.callback) == null || a.call(n) : ve.setPage(n.page);
|
|
2317
2346
|
}), r.WebApp.MainButton.onClick(
|
|
2318
2347
|
r.WebApp.MainButton.callback[0]
|
|
2319
2348
|
)));
|
|
@@ -2321,31 +2350,32 @@ var N;
|
|
|
2321
2350
|
}, r.BackButtonPrev = () => {
|
|
2322
2351
|
U.prev && (0, r.BackButton)(U.prev);
|
|
2323
2352
|
}, r.BackButtonState = () => U.state, r.BackButton = (n) => {
|
|
2324
|
-
|
|
2353
|
+
de.is ? de.BackButton.set(n) : (U.state.push(n), U.router(n));
|
|
2325
2354
|
};
|
|
2326
|
-
})(
|
|
2327
|
-
const
|
|
2355
|
+
})(T || (T = {}));
|
|
2356
|
+
const $n = T.TabBar, Nn = or, Xt = T.BackButton, Bn = T.BackButtonPrev, wn = T.BackButtonState, In = T.Notice, Mn = T.SafeArea, Dn = T.Loading, Fn = T.Menu, Ln = T.SidePanel, Wn = T.Scroll, Un = T.AppBar, Yn = T.Sidebar, zn = T.Location, Vn = T.SidePanelController, { Header: qn, toggleBottomSheet: Hn, Modal: Jn, MainButton: Kn, WebApp: Te, getUser: Gn } = T;
|
|
2328
2357
|
export {
|
|
2329
|
-
|
|
2330
|
-
|
|
2331
|
-
|
|
2332
|
-
|
|
2333
|
-
|
|
2334
|
-
|
|
2335
|
-
|
|
2336
|
-
|
|
2337
|
-
|
|
2338
|
-
Fn as
|
|
2339
|
-
|
|
2340
|
-
|
|
2341
|
-
|
|
2342
|
-
|
|
2343
|
-
|
|
2344
|
-
|
|
2345
|
-
|
|
2346
|
-
|
|
2347
|
-
Te as
|
|
2348
|
-
|
|
2349
|
-
|
|
2350
|
-
|
|
2358
|
+
Un as AppBar,
|
|
2359
|
+
Xt as BackButton,
|
|
2360
|
+
Bn as BackButtonPrev,
|
|
2361
|
+
wn as BackButtonState,
|
|
2362
|
+
Nn as BottomSheet,
|
|
2363
|
+
qn as Header,
|
|
2364
|
+
Dn as Loading,
|
|
2365
|
+
zn as Location,
|
|
2366
|
+
Kn as MainButton,
|
|
2367
|
+
Fn as Menu,
|
|
2368
|
+
Jn as Modal,
|
|
2369
|
+
In as Notice,
|
|
2370
|
+
Mn as SafeArea,
|
|
2371
|
+
Wn as Scroll,
|
|
2372
|
+
Ln as SidePanel,
|
|
2373
|
+
Vn as SidePanelController,
|
|
2374
|
+
Yn as Sidebar,
|
|
2375
|
+
$n as TabBar,
|
|
2376
|
+
Te as WebApp,
|
|
2377
|
+
$e as clsx,
|
|
2378
|
+
T as default,
|
|
2379
|
+
Gn as getUser,
|
|
2380
|
+
Hn as toggleBottomSheet
|
|
2351
2381
|
};
|