@elcrm/telegram 0.0.80 → 0.0.82
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/BottomSheet/index.d.ts +4 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +8 -2
- package/dist/index.es.js +489 -481
- package/dist/index.umd.js +20 -20
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import D, { useState as le, useEffect as
|
|
2
|
-
import './index.css';var
|
|
1
|
+
import D, { useState as le, useEffect as Qe } from "react";
|
|
2
|
+
import './index.css';var Tt = { exports: {} }, He = {};
|
|
3
3
|
/**
|
|
4
4
|
* @license React
|
|
5
5
|
* react-jsx-runtime.production.min.js
|
|
@@ -11,19 +11,19 @@ import './index.css';var At = { exports: {} }, Ke = {};
|
|
|
11
11
|
*/
|
|
12
12
|
var Nt;
|
|
13
13
|
function Gt() {
|
|
14
|
-
if (Nt) return
|
|
14
|
+
if (Nt) return He;
|
|
15
15
|
Nt = 1;
|
|
16
|
-
var r = D, o = Symbol.for("react.element"), s = Symbol.for("react.fragment"),
|
|
17
|
-
function
|
|
18
|
-
var m, b = {}, k = null,
|
|
19
|
-
|
|
20
|
-
for (m in
|
|
21
|
-
if (R && R.defaultProps) for (m in
|
|
22
|
-
return { $$typeof: o, type: R, key: k, ref:
|
|
16
|
+
var r = D, o = Symbol.for("react.element"), s = Symbol.for("react.fragment"), f = Object.prototype.hasOwnProperty, u = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, h = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
17
|
+
function x(R, p, j) {
|
|
18
|
+
var m, b = {}, k = null, N = null;
|
|
19
|
+
j !== void 0 && (k = "" + j), p.key !== void 0 && (k = "" + p.key), p.ref !== void 0 && (N = p.ref);
|
|
20
|
+
for (m in p) f.call(p, m) && !h.hasOwnProperty(m) && (b[m] = p[m]);
|
|
21
|
+
if (R && R.defaultProps) for (m in p = R.defaultProps, p) b[m] === void 0 && (b[m] = p[m]);
|
|
22
|
+
return { $$typeof: o, type: R, key: k, ref: N, props: b, _owner: u.current };
|
|
23
23
|
}
|
|
24
|
-
return
|
|
24
|
+
return He.Fragment = s, He.jsx = x, He.jsxs = x, He;
|
|
25
25
|
}
|
|
26
|
-
var
|
|
26
|
+
var Ge = {};
|
|
27
27
|
/**
|
|
28
28
|
* @license React
|
|
29
29
|
* react-jsx-runtime.development.js
|
|
@@ -33,14 +33,14 @@ var He = {};
|
|
|
33
33
|
* This source code is licensed under the MIT license found in the
|
|
34
34
|
* LICENSE file in the root directory of this source tree.
|
|
35
35
|
*/
|
|
36
|
-
var
|
|
36
|
+
var Dt;
|
|
37
37
|
function Zt() {
|
|
38
|
-
return
|
|
39
|
-
var r = D, o = Symbol.for("react.element"), s = Symbol.for("react.portal"),
|
|
40
|
-
function
|
|
38
|
+
return Dt || (Dt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
39
|
+
var r = D, o = Symbol.for("react.element"), s = Symbol.for("react.portal"), f = Symbol.for("react.fragment"), u = Symbol.for("react.strict_mode"), h = Symbol.for("react.profiler"), x = Symbol.for("react.provider"), R = Symbol.for("react.context"), p = Symbol.for("react.forward_ref"), j = Symbol.for("react.suspense"), m = Symbol.for("react.suspense_list"), b = Symbol.for("react.memo"), k = Symbol.for("react.lazy"), N = Symbol.for("react.offscreen"), A = Symbol.iterator, xe = "@@iterator";
|
|
40
|
+
function je(e) {
|
|
41
41
|
if (e === null || typeof e != "object")
|
|
42
42
|
return null;
|
|
43
|
-
var t = A && e[A] || e[
|
|
43
|
+
var t = A && e[A] || e[xe];
|
|
44
44
|
return typeof t == "function" ? t : null;
|
|
45
45
|
}
|
|
46
46
|
var F = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
@@ -55,16 +55,16 @@ function Zt() {
|
|
|
55
55
|
{
|
|
56
56
|
var a = F.ReactDebugCurrentFrame, d = a.getStackAddendum();
|
|
57
57
|
d !== "" && (t += "%s", n = n.concat([d]));
|
|
58
|
-
var
|
|
58
|
+
var v = n.map(function(c) {
|
|
59
59
|
return String(c);
|
|
60
60
|
});
|
|
61
|
-
|
|
61
|
+
v.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, v);
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
|
-
var
|
|
64
|
+
var Oe = !1, Ce = !1, g = !1, E = !1, I = !1, M;
|
|
65
65
|
M = Symbol.for("react.module.reference");
|
|
66
66
|
function U(e) {
|
|
67
|
-
return !!(typeof e == "string" || typeof e == "function" || e ===
|
|
67
|
+
return !!(typeof e == "string" || typeof e == "function" || e === f || e === h || I || e === u || e === j || e === m || E || e === N || Oe || Ce || g || typeof e == "object" && e !== null && (e.$$typeof === k || e.$$typeof === b || e.$$typeof === x || e.$$typeof === R || e.$$typeof === p || // This needs to include all possible module reference object
|
|
68
68
|
// types supported by any Flight configuration anywhere since
|
|
69
69
|
// we don't know which Flight build this will end up being used
|
|
70
70
|
// with.
|
|
@@ -88,15 +88,15 @@ function Zt() {
|
|
|
88
88
|
if (typeof e == "string")
|
|
89
89
|
return e;
|
|
90
90
|
switch (e) {
|
|
91
|
-
case
|
|
91
|
+
case f:
|
|
92
92
|
return "Fragment";
|
|
93
93
|
case s:
|
|
94
94
|
return "Portal";
|
|
95
95
|
case h:
|
|
96
96
|
return "Profiler";
|
|
97
|
-
case
|
|
97
|
+
case u:
|
|
98
98
|
return "StrictMode";
|
|
99
|
-
case
|
|
99
|
+
case j:
|
|
100
100
|
return "Suspense";
|
|
101
101
|
case m:
|
|
102
102
|
return "SuspenseList";
|
|
@@ -106,18 +106,18 @@ function Zt() {
|
|
|
106
106
|
case R:
|
|
107
107
|
var t = e;
|
|
108
108
|
return se(t) + ".Consumer";
|
|
109
|
-
case
|
|
109
|
+
case x:
|
|
110
110
|
var n = e;
|
|
111
111
|
return se(n._context) + ".Provider";
|
|
112
|
-
case
|
|
112
|
+
case p:
|
|
113
113
|
return ae(e, e.render, "ForwardRef");
|
|
114
114
|
case b:
|
|
115
115
|
var a = e.displayName || null;
|
|
116
116
|
return a !== null ? a : T(e.type) || "Memo";
|
|
117
117
|
case k: {
|
|
118
|
-
var d = e,
|
|
118
|
+
var d = e, v = d._payload, c = d._init;
|
|
119
119
|
try {
|
|
120
|
-
return T(c(
|
|
120
|
+
return T(c(v));
|
|
121
121
|
} catch {
|
|
122
122
|
return null;
|
|
123
123
|
}
|
|
@@ -125,18 +125,18 @@ function Zt() {
|
|
|
125
125
|
}
|
|
126
126
|
return null;
|
|
127
127
|
}
|
|
128
|
-
var
|
|
129
|
-
function
|
|
128
|
+
var $ = Object.assign, B = 0, K, H, G, we, Pe, Ae, Te;
|
|
129
|
+
function Ie() {
|
|
130
130
|
}
|
|
131
|
-
|
|
132
|
-
function
|
|
131
|
+
Ie.__reactDisabledLog = !0;
|
|
132
|
+
function at() {
|
|
133
133
|
{
|
|
134
134
|
if (B === 0) {
|
|
135
|
-
K = console.log, H = console.info, G = console.warn,
|
|
135
|
+
K = console.log, H = console.info, G = console.warn, we = console.error, Pe = console.group, Ae = console.groupCollapsed, Te = console.groupEnd;
|
|
136
136
|
var e = {
|
|
137
137
|
configurable: !0,
|
|
138
138
|
enumerable: !0,
|
|
139
|
-
value:
|
|
139
|
+
value: Ie,
|
|
140
140
|
writable: !0
|
|
141
141
|
};
|
|
142
142
|
Object.defineProperties(console, {
|
|
@@ -152,7 +152,7 @@ function Zt() {
|
|
|
152
152
|
B++;
|
|
153
153
|
}
|
|
154
154
|
}
|
|
155
|
-
function
|
|
155
|
+
function st() {
|
|
156
156
|
{
|
|
157
157
|
if (B--, B === 0) {
|
|
158
158
|
var e = {
|
|
@@ -161,26 +161,26 @@ function Zt() {
|
|
|
161
161
|
writable: !0
|
|
162
162
|
};
|
|
163
163
|
Object.defineProperties(console, {
|
|
164
|
-
log:
|
|
164
|
+
log: $({}, e, {
|
|
165
165
|
value: K
|
|
166
166
|
}),
|
|
167
|
-
info:
|
|
167
|
+
info: $({}, e, {
|
|
168
168
|
value: H
|
|
169
169
|
}),
|
|
170
|
-
warn:
|
|
170
|
+
warn: $({}, e, {
|
|
171
171
|
value: G
|
|
172
172
|
}),
|
|
173
|
-
error:
|
|
174
|
-
value: Ce
|
|
175
|
-
}),
|
|
176
|
-
group: N({}, e, {
|
|
173
|
+
error: $({}, e, {
|
|
177
174
|
value: we
|
|
178
175
|
}),
|
|
179
|
-
|
|
176
|
+
group: $({}, e, {
|
|
180
177
|
value: Pe
|
|
181
178
|
}),
|
|
182
|
-
|
|
179
|
+
groupCollapsed: $({}, e, {
|
|
183
180
|
value: Ae
|
|
181
|
+
}),
|
|
182
|
+
groupEnd: $({}, e, {
|
|
183
|
+
value: Te
|
|
184
184
|
})
|
|
185
185
|
});
|
|
186
186
|
}
|
|
@@ -203,10 +203,10 @@ function Zt() {
|
|
|
203
203
|
}
|
|
204
204
|
var fe = !1, Q;
|
|
205
205
|
{
|
|
206
|
-
var
|
|
207
|
-
Q = new
|
|
206
|
+
var it = typeof WeakMap == "function" ? WeakMap : Map;
|
|
207
|
+
Q = new it();
|
|
208
208
|
}
|
|
209
|
-
function
|
|
209
|
+
function $e(e, t) {
|
|
210
210
|
if (!e || fe)
|
|
211
211
|
return "";
|
|
212
212
|
{
|
|
@@ -218,8 +218,8 @@ function Zt() {
|
|
|
218
218
|
fe = !0;
|
|
219
219
|
var d = Error.prepareStackTrace;
|
|
220
220
|
Error.prepareStackTrace = void 0;
|
|
221
|
-
var
|
|
222
|
-
|
|
221
|
+
var v;
|
|
222
|
+
v = ce.current, ce.current = null, at();
|
|
223
223
|
try {
|
|
224
224
|
if (t) {
|
|
225
225
|
var c = function() {
|
|
@@ -232,37 +232,37 @@ function Zt() {
|
|
|
232
232
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
233
233
|
try {
|
|
234
234
|
Reflect.construct(c, []);
|
|
235
|
-
} catch (
|
|
236
|
-
a =
|
|
235
|
+
} catch (C) {
|
|
236
|
+
a = C;
|
|
237
237
|
}
|
|
238
238
|
Reflect.construct(e, [], c);
|
|
239
239
|
} else {
|
|
240
240
|
try {
|
|
241
241
|
c.call();
|
|
242
|
-
} catch (
|
|
243
|
-
a =
|
|
242
|
+
} catch (C) {
|
|
243
|
+
a = C;
|
|
244
244
|
}
|
|
245
245
|
e.call(c.prototype);
|
|
246
246
|
}
|
|
247
247
|
} else {
|
|
248
248
|
try {
|
|
249
249
|
throw Error();
|
|
250
|
-
} catch (
|
|
251
|
-
a =
|
|
250
|
+
} catch (C) {
|
|
251
|
+
a = C;
|
|
252
252
|
}
|
|
253
253
|
e();
|
|
254
254
|
}
|
|
255
|
-
} catch (
|
|
256
|
-
if (
|
|
257
|
-
for (var l =
|
|
258
|
-
`),
|
|
259
|
-
`), y = l.length - 1, _ =
|
|
255
|
+
} catch (C) {
|
|
256
|
+
if (C && a && typeof C.stack == "string") {
|
|
257
|
+
for (var l = C.stack.split(`
|
|
258
|
+
`), O = a.stack.split(`
|
|
259
|
+
`), y = l.length - 1, _ = O.length - 1; y >= 1 && _ >= 0 && l[y] !== O[_]; )
|
|
260
260
|
_--;
|
|
261
261
|
for (; y >= 1 && _ >= 0; y--, _--)
|
|
262
|
-
if (l[y] !==
|
|
262
|
+
if (l[y] !== O[_]) {
|
|
263
263
|
if (y !== 1 || _ !== 1)
|
|
264
264
|
do
|
|
265
|
-
if (y--, _--, _ < 0 || l[y] !==
|
|
265
|
+
if (y--, _--, _ < 0 || l[y] !== O[_]) {
|
|
266
266
|
var P = `
|
|
267
267
|
` + l[y].replace(" at new ", " at ");
|
|
268
268
|
return e.displayName && P.includes("<anonymous>") && (P = P.replace("<anonymous>", e.displayName)), typeof e == "function" && Q.set(e, P), P;
|
|
@@ -272,15 +272,15 @@ function Zt() {
|
|
|
272
272
|
}
|
|
273
273
|
}
|
|
274
274
|
} finally {
|
|
275
|
-
fe = !1, ce.current =
|
|
275
|
+
fe = !1, ce.current = v, st(), Error.prepareStackTrace = d;
|
|
276
276
|
}
|
|
277
277
|
var V = e ? e.displayName || e.name : "", W = V ? X(V) : "";
|
|
278
278
|
return typeof e == "function" && Q.set(e, W), W;
|
|
279
279
|
}
|
|
280
|
-
function
|
|
281
|
-
return
|
|
280
|
+
function lt(e, t, n) {
|
|
281
|
+
return $e(e, !1);
|
|
282
282
|
}
|
|
283
|
-
function
|
|
283
|
+
function ct(e) {
|
|
284
284
|
var t = e.prototype;
|
|
285
285
|
return !!(t && t.isReactComponent);
|
|
286
286
|
}
|
|
@@ -288,49 +288,49 @@ function Zt() {
|
|
|
288
288
|
if (e == null)
|
|
289
289
|
return "";
|
|
290
290
|
if (typeof e == "function")
|
|
291
|
-
return
|
|
291
|
+
return $e(e, ct(e));
|
|
292
292
|
if (typeof e == "string")
|
|
293
293
|
return X(e);
|
|
294
294
|
switch (e) {
|
|
295
|
-
case
|
|
295
|
+
case j:
|
|
296
296
|
return X("Suspense");
|
|
297
297
|
case m:
|
|
298
298
|
return X("SuspenseList");
|
|
299
299
|
}
|
|
300
300
|
if (typeof e == "object")
|
|
301
301
|
switch (e.$$typeof) {
|
|
302
|
-
case
|
|
303
|
-
return
|
|
302
|
+
case p:
|
|
303
|
+
return lt(e.render);
|
|
304
304
|
case b:
|
|
305
305
|
return ee(e.type, t, n);
|
|
306
306
|
case k: {
|
|
307
|
-
var a = e, d = a._payload,
|
|
307
|
+
var a = e, d = a._payload, v = a._init;
|
|
308
308
|
try {
|
|
309
|
-
return ee(
|
|
309
|
+
return ee(v(d), t, n);
|
|
310
310
|
} catch {
|
|
311
311
|
}
|
|
312
312
|
}
|
|
313
313
|
}
|
|
314
314
|
return "";
|
|
315
315
|
}
|
|
316
|
-
var z = Object.prototype.hasOwnProperty, Ne = {},
|
|
316
|
+
var z = Object.prototype.hasOwnProperty, Ne = {}, De = F.ReactDebugCurrentFrame;
|
|
317
317
|
function te(e) {
|
|
318
318
|
if (e) {
|
|
319
319
|
var t = e._owner, n = ee(e.type, e._source, t ? t.type : null);
|
|
320
|
-
|
|
320
|
+
De.setExtraStackFrame(n);
|
|
321
321
|
} else
|
|
322
|
-
|
|
322
|
+
De.setExtraStackFrame(null);
|
|
323
323
|
}
|
|
324
|
-
function
|
|
324
|
+
function ut(e, t, n, a, d) {
|
|
325
325
|
{
|
|
326
|
-
var
|
|
326
|
+
var v = Function.call.bind(z);
|
|
327
327
|
for (var c in e)
|
|
328
|
-
if (
|
|
328
|
+
if (v(e, c)) {
|
|
329
329
|
var l = void 0;
|
|
330
330
|
try {
|
|
331
331
|
if (typeof e[c] != "function") {
|
|
332
|
-
var
|
|
333
|
-
throw
|
|
332
|
+
var O = Error((a || "React class") + ": " + n + " type `" + c + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[c] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
333
|
+
throw O.name = "Invariant Violation", O;
|
|
334
334
|
}
|
|
335
335
|
l = e[c](t, c, a, n, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
336
336
|
} catch (y) {
|
|
@@ -340,37 +340,37 @@ function Zt() {
|
|
|
340
340
|
}
|
|
341
341
|
}
|
|
342
342
|
}
|
|
343
|
-
var
|
|
343
|
+
var ft = Array.isArray;
|
|
344
344
|
function de(e) {
|
|
345
|
-
return
|
|
345
|
+
return ft(e);
|
|
346
346
|
}
|
|
347
|
-
function
|
|
347
|
+
function dt(e) {
|
|
348
348
|
{
|
|
349
349
|
var t = typeof Symbol == "function" && Symbol.toStringTag, n = t && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
350
350
|
return n;
|
|
351
351
|
}
|
|
352
352
|
}
|
|
353
|
-
function
|
|
353
|
+
function pt(e) {
|
|
354
354
|
try {
|
|
355
|
-
return
|
|
355
|
+
return Me(e), !1;
|
|
356
356
|
} catch {
|
|
357
357
|
return !0;
|
|
358
358
|
}
|
|
359
359
|
}
|
|
360
|
-
function
|
|
360
|
+
function Me(e) {
|
|
361
361
|
return "" + e;
|
|
362
362
|
}
|
|
363
|
-
function
|
|
364
|
-
if (
|
|
365
|
-
return S("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",
|
|
363
|
+
function Be(e) {
|
|
364
|
+
if (pt(e))
|
|
365
|
+
return S("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", dt(e)), Me(e);
|
|
366
366
|
}
|
|
367
|
-
var
|
|
367
|
+
var Fe = F.ReactCurrentOwner, vt = {
|
|
368
368
|
key: !0,
|
|
369
369
|
ref: !0,
|
|
370
370
|
__self: !0,
|
|
371
371
|
__source: !0
|
|
372
|
-
},
|
|
373
|
-
function
|
|
372
|
+
}, We, Le;
|
|
373
|
+
function mt(e) {
|
|
374
374
|
if (z.call(e, "ref")) {
|
|
375
375
|
var t = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
376
376
|
if (t && t.isReactWarning)
|
|
@@ -378,7 +378,7 @@ function Zt() {
|
|
|
378
378
|
}
|
|
379
379
|
return e.ref !== void 0;
|
|
380
380
|
}
|
|
381
|
-
function
|
|
381
|
+
function ht(e) {
|
|
382
382
|
if (z.call(e, "key")) {
|
|
383
383
|
var t = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
384
384
|
if (t && t.isReactWarning)
|
|
@@ -386,13 +386,13 @@ function Zt() {
|
|
|
386
386
|
}
|
|
387
387
|
return e.key !== void 0;
|
|
388
388
|
}
|
|
389
|
-
function ht(e, t) {
|
|
390
|
-
typeof e.ref == "string" && Be.current;
|
|
391
|
-
}
|
|
392
389
|
function gt(e, t) {
|
|
390
|
+
typeof e.ref == "string" && Fe.current;
|
|
391
|
+
}
|
|
392
|
+
function yt(e, t) {
|
|
393
393
|
{
|
|
394
394
|
var n = function() {
|
|
395
|
-
|
|
395
|
+
We || (We = !0, S("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
|
|
396
396
|
};
|
|
397
397
|
n.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
398
398
|
get: n,
|
|
@@ -400,10 +400,10 @@ function Zt() {
|
|
|
400
400
|
});
|
|
401
401
|
}
|
|
402
402
|
}
|
|
403
|
-
function
|
|
403
|
+
function bt(e, t) {
|
|
404
404
|
{
|
|
405
405
|
var n = function() {
|
|
406
|
-
|
|
406
|
+
Le || (Le = !0, S("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
|
|
407
407
|
};
|
|
408
408
|
n.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
409
409
|
get: n,
|
|
@@ -411,7 +411,7 @@ function Zt() {
|
|
|
411
411
|
});
|
|
412
412
|
}
|
|
413
413
|
}
|
|
414
|
-
var
|
|
414
|
+
var _t = function(e, t, n, a, d, v, c) {
|
|
415
415
|
var l = {
|
|
416
416
|
// This tag allows us to uniquely identify this as a React Element
|
|
417
417
|
$$typeof: o,
|
|
@@ -421,7 +421,7 @@ function Zt() {
|
|
|
421
421
|
ref: n,
|
|
422
422
|
props: c,
|
|
423
423
|
// Record the component responsible for creating this element.
|
|
424
|
-
_owner:
|
|
424
|
+
_owner: v
|
|
425
425
|
};
|
|
426
426
|
return l._store = {}, Object.defineProperty(l._store, "validated", {
|
|
427
427
|
configurable: !1,
|
|
@@ -440,38 +440,38 @@ function Zt() {
|
|
|
440
440
|
value: d
|
|
441
441
|
}), Object.freeze && (Object.freeze(l.props), Object.freeze(l)), l;
|
|
442
442
|
};
|
|
443
|
-
function
|
|
443
|
+
function Rt(e, t, n, a, d) {
|
|
444
444
|
{
|
|
445
|
-
var
|
|
446
|
-
n !== void 0 && (
|
|
447
|
-
for (
|
|
448
|
-
z.call(t,
|
|
445
|
+
var v, c = {}, l = null, O = null;
|
|
446
|
+
n !== void 0 && (Be(n), l = "" + n), ht(t) && (Be(t.key), l = "" + t.key), mt(t) && (O = t.ref, gt(t, d));
|
|
447
|
+
for (v in t)
|
|
448
|
+
z.call(t, v) && !vt.hasOwnProperty(v) && (c[v] = t[v]);
|
|
449
449
|
if (e && e.defaultProps) {
|
|
450
450
|
var y = e.defaultProps;
|
|
451
|
-
for (
|
|
452
|
-
c[
|
|
451
|
+
for (v in y)
|
|
452
|
+
c[v] === void 0 && (c[v] = y[v]);
|
|
453
453
|
}
|
|
454
|
-
if (l ||
|
|
454
|
+
if (l || O) {
|
|
455
455
|
var _ = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
456
|
-
l &&
|
|
456
|
+
l && yt(c, _), O && bt(c, _);
|
|
457
457
|
}
|
|
458
|
-
return
|
|
458
|
+
return _t(e, l, O, d, a, Fe.current, c);
|
|
459
459
|
}
|
|
460
460
|
}
|
|
461
|
-
var pe = F.ReactCurrentOwner,
|
|
461
|
+
var pe = F.ReactCurrentOwner, Ue = F.ReactDebugCurrentFrame;
|
|
462
462
|
function Y(e) {
|
|
463
463
|
if (e) {
|
|
464
464
|
var t = e._owner, n = ee(e.type, e._source, t ? t.type : null);
|
|
465
|
-
|
|
465
|
+
Ue.setExtraStackFrame(n);
|
|
466
466
|
} else
|
|
467
|
-
|
|
467
|
+
Ue.setExtraStackFrame(null);
|
|
468
468
|
}
|
|
469
469
|
var ve;
|
|
470
470
|
ve = !1;
|
|
471
471
|
function me(e) {
|
|
472
472
|
return typeof e == "object" && e !== null && e.$$typeof === o;
|
|
473
473
|
}
|
|
474
|
-
function
|
|
474
|
+
function Ye() {
|
|
475
475
|
{
|
|
476
476
|
if (pe.current) {
|
|
477
477
|
var e = T(pe.current.type);
|
|
@@ -483,13 +483,13 @@ Check the render method of \`` + e + "`.";
|
|
|
483
483
|
return "";
|
|
484
484
|
}
|
|
485
485
|
}
|
|
486
|
-
function
|
|
486
|
+
function kt(e) {
|
|
487
487
|
return "";
|
|
488
488
|
}
|
|
489
|
-
var
|
|
490
|
-
function
|
|
489
|
+
var Ve = {};
|
|
490
|
+
function Et(e) {
|
|
491
491
|
{
|
|
492
|
-
var t =
|
|
492
|
+
var t = Ye();
|
|
493
493
|
if (!t) {
|
|
494
494
|
var n = typeof e == "string" ? e : e.displayName || e.name;
|
|
495
495
|
n && (t = `
|
|
@@ -499,39 +499,39 @@ Check the top-level render call using <` + n + ">.");
|
|
|
499
499
|
return t;
|
|
500
500
|
}
|
|
501
501
|
}
|
|
502
|
-
function
|
|
502
|
+
function ze(e, t) {
|
|
503
503
|
{
|
|
504
504
|
if (!e._store || e._store.validated || e.key != null)
|
|
505
505
|
return;
|
|
506
506
|
e._store.validated = !0;
|
|
507
|
-
var n =
|
|
508
|
-
if (
|
|
507
|
+
var n = Et(t);
|
|
508
|
+
if (Ve[n])
|
|
509
509
|
return;
|
|
510
|
-
|
|
510
|
+
Ve[n] = !0;
|
|
511
511
|
var a = "";
|
|
512
512
|
e && e._owner && e._owner !== pe.current && (a = " It was passed a child from " + T(e._owner.type) + "."), Y(e), S('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', n, a), Y(null);
|
|
513
513
|
}
|
|
514
514
|
}
|
|
515
|
-
function
|
|
515
|
+
function qe(e, t) {
|
|
516
516
|
{
|
|
517
517
|
if (typeof e != "object")
|
|
518
518
|
return;
|
|
519
519
|
if (de(e))
|
|
520
520
|
for (var n = 0; n < e.length; n++) {
|
|
521
521
|
var a = e[n];
|
|
522
|
-
me(a) &&
|
|
522
|
+
me(a) && ze(a, t);
|
|
523
523
|
}
|
|
524
524
|
else if (me(e))
|
|
525
525
|
e._store && (e._store.validated = !0);
|
|
526
526
|
else if (e) {
|
|
527
|
-
var d =
|
|
527
|
+
var d = je(e);
|
|
528
528
|
if (typeof d == "function" && d !== e.entries)
|
|
529
|
-
for (var
|
|
530
|
-
me(c.value) &&
|
|
529
|
+
for (var v = d.call(e), c; !(c = v.next()).done; )
|
|
530
|
+
me(c.value) && ze(c.value, t);
|
|
531
531
|
}
|
|
532
532
|
}
|
|
533
533
|
}
|
|
534
|
-
function
|
|
534
|
+
function St(e) {
|
|
535
535
|
{
|
|
536
536
|
var t = e.type;
|
|
537
537
|
if (t == null || typeof t == "string")
|
|
@@ -539,7 +539,7 @@ Check the top-level render call using <` + n + ">.");
|
|
|
539
539
|
var n;
|
|
540
540
|
if (typeof t == "function")
|
|
541
541
|
n = t.propTypes;
|
|
542
|
-
else if (typeof t == "object" && (t.$$typeof ===
|
|
542
|
+
else if (typeof t == "object" && (t.$$typeof === p || // Note: Memo only checks outer props here.
|
|
543
543
|
// Inner props are checked in the reconciler.
|
|
544
544
|
t.$$typeof === b))
|
|
545
545
|
n = t.propTypes;
|
|
@@ -547,7 +547,7 @@ Check the top-level render call using <` + n + ">.");
|
|
|
547
547
|
return;
|
|
548
548
|
if (n) {
|
|
549
549
|
var a = T(t);
|
|
550
|
-
|
|
550
|
+
ut(n, e.props, "prop", a, e);
|
|
551
551
|
} else if (t.PropTypes !== void 0 && !ve) {
|
|
552
552
|
ve = !0;
|
|
553
553
|
var d = T(t);
|
|
@@ -556,7 +556,7 @@ Check the top-level render call using <` + n + ">.");
|
|
|
556
556
|
typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && S("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
557
557
|
}
|
|
558
558
|
}
|
|
559
|
-
function
|
|
559
|
+
function xt(e) {
|
|
560
560
|
{
|
|
561
561
|
for (var t = Object.keys(e.props), n = 0; n < t.length; n++) {
|
|
562
562
|
var a = t[n];
|
|
@@ -569,18 +569,18 @@ Check the top-level render call using <` + n + ">.");
|
|
|
569
569
|
}
|
|
570
570
|
}
|
|
571
571
|
var Je = {};
|
|
572
|
-
function
|
|
572
|
+
function Ke(e, t, n, a, d, v) {
|
|
573
573
|
{
|
|
574
574
|
var c = U(e);
|
|
575
575
|
if (!c) {
|
|
576
576
|
var l = "";
|
|
577
577
|
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (l += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
578
|
-
var
|
|
579
|
-
|
|
578
|
+
var O = kt();
|
|
579
|
+
O ? l += O : l += Ye();
|
|
580
580
|
var y;
|
|
581
581
|
e === null ? y = "null" : de(e) ? y = "array" : e !== void 0 && e.$$typeof === o ? (y = "<" + (T(e.type) || "Unknown") + " />", l = " Did you accidentally export a JSX literal instead of a component?") : y = typeof e, S("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", y, l);
|
|
582
582
|
}
|
|
583
|
-
var _ =
|
|
583
|
+
var _ = Rt(e, t, n, d, v);
|
|
584
584
|
if (_ == null)
|
|
585
585
|
return _;
|
|
586
586
|
if (c) {
|
|
@@ -589,77 +589,77 @@ Check the top-level render call using <` + n + ">.");
|
|
|
589
589
|
if (a)
|
|
590
590
|
if (de(P)) {
|
|
591
591
|
for (var V = 0; V < P.length; V++)
|
|
592
|
-
|
|
592
|
+
qe(P[V], e);
|
|
593
593
|
Object.freeze && Object.freeze(P);
|
|
594
594
|
} else
|
|
595
595
|
S("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
596
596
|
else
|
|
597
|
-
|
|
597
|
+
qe(P, e);
|
|
598
598
|
}
|
|
599
599
|
if (z.call(t, "key")) {
|
|
600
|
-
var W = T(e),
|
|
601
|
-
return
|
|
602
|
-
}), he =
|
|
600
|
+
var W = T(e), C = Object.keys(t).filter(function(At) {
|
|
601
|
+
return At !== "key";
|
|
602
|
+
}), he = C.length > 0 ? "{key: someKey, " + C.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
603
603
|
if (!Je[W + he]) {
|
|
604
|
-
var
|
|
604
|
+
var Pt = C.length > 0 ? "{" + C.join(": ..., ") + ": ...}" : "{}";
|
|
605
605
|
S(`A props object containing a "key" prop is being spread into JSX:
|
|
606
606
|
let props = %s;
|
|
607
607
|
<%s {...props} />
|
|
608
608
|
React keys must be passed directly to JSX without using spread:
|
|
609
609
|
let props = %s;
|
|
610
|
-
<%s key={someKey} {...props} />`, he, W,
|
|
610
|
+
<%s key={someKey} {...props} />`, he, W, Pt, W), Je[W + he] = !0;
|
|
611
611
|
}
|
|
612
612
|
}
|
|
613
|
-
return e ===
|
|
613
|
+
return e === f ? xt(_) : St(_), _;
|
|
614
614
|
}
|
|
615
615
|
}
|
|
616
|
-
function xt(e, t, n) {
|
|
617
|
-
return qe(e, t, n, !0);
|
|
618
|
-
}
|
|
619
616
|
function jt(e, t, n) {
|
|
620
|
-
return
|
|
617
|
+
return Ke(e, t, n, !0);
|
|
621
618
|
}
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
619
|
+
function Ot(e, t, n) {
|
|
620
|
+
return Ke(e, t, n, !1);
|
|
621
|
+
}
|
|
622
|
+
var Ct = Ot, wt = jt;
|
|
623
|
+
Ge.Fragment = f, Ge.jsx = Ct, Ge.jsxs = wt;
|
|
624
|
+
}()), Ge;
|
|
625
625
|
}
|
|
626
|
-
process.env.NODE_ENV === "production" ?
|
|
627
|
-
var i =
|
|
626
|
+
process.env.NODE_ENV === "production" ? Tt.exports = Gt() : Tt.exports = Zt();
|
|
627
|
+
var i = Tt.exports;
|
|
628
628
|
let Z = {};
|
|
629
|
-
var
|
|
629
|
+
var It;
|
|
630
630
|
((r) => {
|
|
631
631
|
function o({ children: R }) {
|
|
632
|
-
const [
|
|
632
|
+
const [p, j] = le(!1), [m, b] = le(!1);
|
|
633
633
|
if (Z.onClose = () => {
|
|
634
634
|
L.BackButton(!1), b(!0), setTimeout(() => {
|
|
635
|
-
|
|
635
|
+
j(!1), b(!1);
|
|
636
636
|
}, 300);
|
|
637
|
-
},
|
|
638
|
-
|
|
637
|
+
}, Qe(() => {
|
|
638
|
+
p ? Z.onClose() : (L.BackButton({
|
|
639
639
|
callback: () => Z.onClose()
|
|
640
|
-
}),
|
|
641
|
-
}, []), !!
|
|
640
|
+
}), j(!0));
|
|
641
|
+
}, []), !!p)
|
|
642
642
|
return /* @__PURE__ */ i.jsx("div", { className: `modal-overlay ${m ? "closing" : ""}`, children: /* @__PURE__ */ i.jsx("div", { className: `modal-popup ${m ? "closing" : ""}`, children: /* @__PURE__ */ i.jsx("div", { children: R }) }) });
|
|
643
643
|
}
|
|
644
644
|
r.Content = o;
|
|
645
645
|
function s({
|
|
646
646
|
import_modules: R
|
|
647
647
|
}) {
|
|
648
|
-
let [
|
|
648
|
+
let [p, j] = le([]);
|
|
649
649
|
return Z.x = (m) => {
|
|
650
|
-
|
|
651
|
-
},
|
|
650
|
+
j(m ? p.filter((b) => b.key !== m) : []);
|
|
651
|
+
}, Qe(() => {
|
|
652
652
|
R && (Z.i = R);
|
|
653
653
|
}, []), Z.add = (m, b = Date.now()) => {
|
|
654
|
-
|
|
655
|
-
}, /* @__PURE__ */ i.jsx(i.Fragment, { children:
|
|
654
|
+
j([...p, { key: b, item: m }]);
|
|
655
|
+
}, /* @__PURE__ */ i.jsx(i.Fragment, { children: p.map((m) => m.item) });
|
|
656
656
|
}
|
|
657
657
|
r.Init = s;
|
|
658
|
-
function
|
|
659
|
-
Z.add(/* @__PURE__ */ i.jsx(o, { children: R }, String(Date.now())),
|
|
658
|
+
function f(R, p) {
|
|
659
|
+
Z.add(/* @__PURE__ */ i.jsx(o, { children: R }, String(Date.now())), p);
|
|
660
660
|
}
|
|
661
|
-
r.Add =
|
|
662
|
-
function
|
|
661
|
+
r.Add = f;
|
|
662
|
+
function u(R) {
|
|
663
663
|
return {
|
|
664
664
|
Open: (m) => {
|
|
665
665
|
r.Add(
|
|
@@ -668,82 +668,82 @@ var Tt;
|
|
|
668
668
|
}
|
|
669
669
|
};
|
|
670
670
|
}
|
|
671
|
-
r.Create =
|
|
671
|
+
r.Create = u;
|
|
672
672
|
function h() {
|
|
673
673
|
Z.onClose();
|
|
674
674
|
}
|
|
675
675
|
r.Close = h;
|
|
676
|
-
function
|
|
677
|
-
Z.i && Z.i(`${R}/modals/${
|
|
678
|
-
m.default.Open(
|
|
676
|
+
function x(R, p, j) {
|
|
677
|
+
Z.i && Z.i(`${R}/modals/${p}.tsx`).then((m) => {
|
|
678
|
+
m.default.Open(j);
|
|
679
679
|
});
|
|
680
680
|
}
|
|
681
|
-
r.Open =
|
|
682
|
-
})(
|
|
683
|
-
function
|
|
681
|
+
r.Open = x;
|
|
682
|
+
})(It || (It = {}));
|
|
683
|
+
function Yt() {
|
|
684
684
|
return typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof self < "u" ? self : typeof global < "u" ? global : {};
|
|
685
685
|
}
|
|
686
|
-
const
|
|
686
|
+
const Vt = {
|
|
687
687
|
key: "Y0zt37HgOx-BY7SQjYVmrqhPkO41Ii2Jcb9yydUDPf6",
|
|
688
688
|
iterations: 7,
|
|
689
689
|
saltLength: 16
|
|
690
690
|
};
|
|
691
|
-
function
|
|
692
|
-
const o =
|
|
693
|
-
o.CRYPTO_PARAMS ? o.CRYPTO_PARAMS = { ...o.CRYPTO_PARAMS, ...r } : o.CRYPTO_PARAMS = { ...
|
|
691
|
+
function Mt(r) {
|
|
692
|
+
const o = Yt();
|
|
693
|
+
o.CRYPTO_PARAMS ? o.CRYPTO_PARAMS = { ...o.CRYPTO_PARAMS, ...r } : o.CRYPTO_PARAMS = { ...Vt, ...r };
|
|
694
694
|
}
|
|
695
|
-
function
|
|
696
|
-
return
|
|
695
|
+
function tt() {
|
|
696
|
+
return Yt().CRYPTO_PARAMS || Vt;
|
|
697
697
|
}
|
|
698
|
-
const
|
|
698
|
+
const rt = (r) => {
|
|
699
699
|
let o = 0;
|
|
700
|
-
for (let
|
|
701
|
-
const
|
|
702
|
-
o = (o << 5) - o +
|
|
700
|
+
for (let f = 0; f < r.length; f++) {
|
|
701
|
+
const u = r.charCodeAt(f);
|
|
702
|
+
o = (o << 5) - o + u, o = o & o;
|
|
703
703
|
}
|
|
704
704
|
o = Math.abs(o);
|
|
705
705
|
let s = "";
|
|
706
|
-
for (let
|
|
707
|
-
const
|
|
708
|
-
s +=
|
|
706
|
+
for (let f = 0; f < 64; f++) {
|
|
707
|
+
const u = (o ^ f * 197) & 255;
|
|
708
|
+
s += u.toString(16).padStart(2, "0");
|
|
709
709
|
}
|
|
710
710
|
return s;
|
|
711
|
-
}, Vt = (r, o) => {
|
|
712
|
-
let s = r + o;
|
|
713
|
-
for (let f = 0; f < et().iterations; f++)
|
|
714
|
-
s = tt(s);
|
|
715
|
-
const u = new Uint8Array(32);
|
|
716
|
-
for (let f = 0; f < 32; f++)
|
|
717
|
-
u[f] = parseInt(s.substring(f * 2, f * 2 + 2), 16);
|
|
718
|
-
return u;
|
|
719
711
|
}, zt = (r, o) => {
|
|
720
|
-
|
|
721
|
-
let
|
|
712
|
+
let s = r + o;
|
|
713
|
+
for (let u = 0; u < tt().iterations; u++)
|
|
714
|
+
s = rt(s);
|
|
715
|
+
const f = new Uint8Array(32);
|
|
716
|
+
for (let u = 0; u < 32; u++)
|
|
717
|
+
f[u] = parseInt(s.substring(u * 2, u * 2 + 2), 16);
|
|
718
|
+
return f;
|
|
719
|
+
}, qt = (r, o) => {
|
|
720
|
+
const s = new Uint8Array(r.length), f = new Uint8Array(r.length);
|
|
721
|
+
let u = 0;
|
|
722
722
|
for (let h = 0; h < r.length; h++) {
|
|
723
|
-
const
|
|
724
|
-
|
|
723
|
+
const x = h % o.length;
|
|
724
|
+
u = o[x] + h + u & 255, f[h] = u;
|
|
725
725
|
}
|
|
726
726
|
for (let h = 0; h < r.length; h++)
|
|
727
|
-
s[h] = r[h] ^
|
|
727
|
+
s[h] = r[h] ^ f[h];
|
|
728
728
|
return s;
|
|
729
729
|
}, Xt = (r) => new TextEncoder().encode(r), Qt = (r) => new TextDecoder().decode(r), er = (r) => {
|
|
730
730
|
let o = "";
|
|
731
731
|
for (let s = 0; s < r.length; s += 8192) {
|
|
732
|
-
const
|
|
733
|
-
o += String.fromCharCode.apply(null, Array.from(
|
|
732
|
+
const f = r.slice(s, Math.min(s + 8192, r.length));
|
|
733
|
+
o += String.fromCharCode.apply(null, Array.from(f));
|
|
734
734
|
}
|
|
735
735
|
return btoa(o);
|
|
736
736
|
}, tr = (r) => {
|
|
737
737
|
const o = atob(r), s = new Uint8Array(o.length);
|
|
738
|
-
for (let
|
|
739
|
-
s[
|
|
738
|
+
for (let f = 0; f < o.length; f++)
|
|
739
|
+
s[f] = o.charCodeAt(f);
|
|
740
740
|
return s;
|
|
741
741
|
}, rr = (r) => {
|
|
742
742
|
try {
|
|
743
|
-
const o =
|
|
743
|
+
const o = rt(
|
|
744
744
|
Date.now().toString() + Math.random()
|
|
745
|
-
).substring(0,
|
|
746
|
-
return `${o}.${
|
|
745
|
+
).substring(0, tt().saltLength * 2), s = rt(r + o).substring(0, 8), f = zt(tt().key, o), u = Xt(r), h = qt(u, f), x = er(h);
|
|
746
|
+
return `${o}.${x}.${s}`;
|
|
747
747
|
} catch {
|
|
748
748
|
throw new Error("Не удалось зашифровать данные");
|
|
749
749
|
}
|
|
@@ -752,13 +752,13 @@ const tt = (r) => {
|
|
|
752
752
|
const o = r.split(".");
|
|
753
753
|
if (o.length !== 3)
|
|
754
754
|
throw new Error("Неверный формат зашифрованных данных");
|
|
755
|
-
const s = o[0],
|
|
756
|
-
if (
|
|
755
|
+
const s = o[0], f = o[1], u = o[2], h = zt(tt().key, s), x = tr(f), R = qt(x, h), p = Qt(R);
|
|
756
|
+
if (rt(p + s).substring(
|
|
757
757
|
0,
|
|
758
758
|
8
|
|
759
|
-
) !==
|
|
759
|
+
) !== u)
|
|
760
760
|
throw new Error("Контрольная сумма не совпадает");
|
|
761
|
-
return
|
|
761
|
+
return p;
|
|
762
762
|
} catch {
|
|
763
763
|
return "";
|
|
764
764
|
}
|
|
@@ -766,7 +766,7 @@ const tt = (r) => {
|
|
|
766
766
|
var ie;
|
|
767
767
|
((r) => {
|
|
768
768
|
r.setKey = (o) => {
|
|
769
|
-
|
|
769
|
+
Mt({ key: o });
|
|
770
770
|
}, r.enCode = (o) => {
|
|
771
771
|
try {
|
|
772
772
|
const s = JSON.stringify(o);
|
|
@@ -784,10 +784,10 @@ var ie;
|
|
|
784
784
|
return !1;
|
|
785
785
|
}
|
|
786
786
|
}, r.setSecurityParams = (o, s) => {
|
|
787
|
-
|
|
787
|
+
Mt({ iterations: o, saltLength: s });
|
|
788
788
|
};
|
|
789
789
|
})(ie || (ie = {}));
|
|
790
|
-
var
|
|
790
|
+
var Ze = {};
|
|
791
791
|
/**
|
|
792
792
|
* @license React
|
|
793
793
|
* react-jsx-runtime.production.min.js
|
|
@@ -797,21 +797,21 @@ var Ge = {};
|
|
|
797
797
|
* This source code is licensed under the MIT license found in the
|
|
798
798
|
* LICENSE file in the root directory of this source tree.
|
|
799
799
|
*/
|
|
800
|
-
var
|
|
800
|
+
var Bt;
|
|
801
801
|
function or() {
|
|
802
|
-
if (
|
|
803
|
-
|
|
804
|
-
var r = D, o = Symbol.for("react.element"), s = Symbol.for("react.fragment"),
|
|
805
|
-
function
|
|
806
|
-
var m, b = {}, k = null,
|
|
807
|
-
|
|
808
|
-
for (m in
|
|
809
|
-
if (R && R.defaultProps) for (m in
|
|
810
|
-
return { $$typeof: o, type: R, key: k, ref:
|
|
802
|
+
if (Bt) return Ze;
|
|
803
|
+
Bt = 1;
|
|
804
|
+
var r = D, o = Symbol.for("react.element"), s = Symbol.for("react.fragment"), f = Object.prototype.hasOwnProperty, u = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, h = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
805
|
+
function x(R, p, j) {
|
|
806
|
+
var m, b = {}, k = null, N = null;
|
|
807
|
+
j !== void 0 && (k = "" + j), p.key !== void 0 && (k = "" + p.key), p.ref !== void 0 && (N = p.ref);
|
|
808
|
+
for (m in p) f.call(p, m) && !h.hasOwnProperty(m) && (b[m] = p[m]);
|
|
809
|
+
if (R && R.defaultProps) for (m in p = R.defaultProps, p) b[m] === void 0 && (b[m] = p[m]);
|
|
810
|
+
return { $$typeof: o, type: R, key: k, ref: N, props: b, _owner: u.current };
|
|
811
811
|
}
|
|
812
|
-
return
|
|
812
|
+
return Ze.Fragment = s, Ze.jsx = x, Ze.jsxs = x, Ze;
|
|
813
813
|
}
|
|
814
|
-
var
|
|
814
|
+
var et = {};
|
|
815
815
|
/**
|
|
816
816
|
* @license React
|
|
817
817
|
* react-jsx-runtime.development.js
|
|
@@ -821,14 +821,14 @@ var Qe = {};
|
|
|
821
821
|
* This source code is licensed under the MIT license found in the
|
|
822
822
|
* LICENSE file in the root directory of this source tree.
|
|
823
823
|
*/
|
|
824
|
-
var
|
|
824
|
+
var Ft;
|
|
825
825
|
function ar() {
|
|
826
|
-
return
|
|
827
|
-
var r = D, o = Symbol.for("react.element"), s = Symbol.for("react.portal"),
|
|
828
|
-
function
|
|
826
|
+
return Ft || (Ft = 1, process.env.NODE_ENV !== "production" && function() {
|
|
827
|
+
var r = D, o = Symbol.for("react.element"), s = Symbol.for("react.portal"), f = Symbol.for("react.fragment"), u = Symbol.for("react.strict_mode"), h = Symbol.for("react.profiler"), x = Symbol.for("react.provider"), R = Symbol.for("react.context"), p = Symbol.for("react.forward_ref"), j = Symbol.for("react.suspense"), m = Symbol.for("react.suspense_list"), b = Symbol.for("react.memo"), k = Symbol.for("react.lazy"), N = Symbol.for("react.offscreen"), A = Symbol.iterator, xe = "@@iterator";
|
|
828
|
+
function je(e) {
|
|
829
829
|
if (e === null || typeof e != "object")
|
|
830
830
|
return null;
|
|
831
|
-
var t = A && e[A] || e[
|
|
831
|
+
var t = A && e[A] || e[xe];
|
|
832
832
|
return typeof t == "function" ? t : null;
|
|
833
833
|
}
|
|
834
834
|
var F = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
@@ -843,16 +843,16 @@ function ar() {
|
|
|
843
843
|
{
|
|
844
844
|
var a = F.ReactDebugCurrentFrame, d = a.getStackAddendum();
|
|
845
845
|
d !== "" && (t += "%s", n = n.concat([d]));
|
|
846
|
-
var
|
|
846
|
+
var v = n.map(function(c) {
|
|
847
847
|
return String(c);
|
|
848
848
|
});
|
|
849
|
-
|
|
849
|
+
v.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, v);
|
|
850
850
|
}
|
|
851
851
|
}
|
|
852
|
-
var
|
|
852
|
+
var Oe = !1, Ce = !1, g = !1, E = !1, I = !1, M;
|
|
853
853
|
M = Symbol.for("react.module.reference");
|
|
854
854
|
function U(e) {
|
|
855
|
-
return !!(typeof e == "string" || typeof e == "function" || e ===
|
|
855
|
+
return !!(typeof e == "string" || typeof e == "function" || e === f || e === h || I || e === u || e === j || e === m || E || e === N || Oe || Ce || g || typeof e == "object" && e !== null && (e.$$typeof === k || e.$$typeof === b || e.$$typeof === x || e.$$typeof === R || e.$$typeof === p || // This needs to include all possible module reference object
|
|
856
856
|
// types supported by any Flight configuration anywhere since
|
|
857
857
|
// we don't know which Flight build this will end up being used
|
|
858
858
|
// with.
|
|
@@ -876,15 +876,15 @@ function ar() {
|
|
|
876
876
|
if (typeof e == "string")
|
|
877
877
|
return e;
|
|
878
878
|
switch (e) {
|
|
879
|
-
case
|
|
879
|
+
case f:
|
|
880
880
|
return "Fragment";
|
|
881
881
|
case s:
|
|
882
882
|
return "Portal";
|
|
883
883
|
case h:
|
|
884
884
|
return "Profiler";
|
|
885
|
-
case
|
|
885
|
+
case u:
|
|
886
886
|
return "StrictMode";
|
|
887
|
-
case
|
|
887
|
+
case j:
|
|
888
888
|
return "Suspense";
|
|
889
889
|
case m:
|
|
890
890
|
return "SuspenseList";
|
|
@@ -894,18 +894,18 @@ function ar() {
|
|
|
894
894
|
case R:
|
|
895
895
|
var t = e;
|
|
896
896
|
return se(t) + ".Consumer";
|
|
897
|
-
case
|
|
897
|
+
case x:
|
|
898
898
|
var n = e;
|
|
899
899
|
return se(n._context) + ".Provider";
|
|
900
|
-
case
|
|
900
|
+
case p:
|
|
901
901
|
return ae(e, e.render, "ForwardRef");
|
|
902
902
|
case b:
|
|
903
903
|
var a = e.displayName || null;
|
|
904
904
|
return a !== null ? a : T(e.type) || "Memo";
|
|
905
905
|
case k: {
|
|
906
|
-
var d = e,
|
|
906
|
+
var d = e, v = d._payload, c = d._init;
|
|
907
907
|
try {
|
|
908
|
-
return T(c(
|
|
908
|
+
return T(c(v));
|
|
909
909
|
} catch {
|
|
910
910
|
return null;
|
|
911
911
|
}
|
|
@@ -913,18 +913,18 @@ function ar() {
|
|
|
913
913
|
}
|
|
914
914
|
return null;
|
|
915
915
|
}
|
|
916
|
-
var
|
|
917
|
-
function
|
|
916
|
+
var $ = Object.assign, B = 0, K, H, G, we, Pe, Ae, Te;
|
|
917
|
+
function Ie() {
|
|
918
918
|
}
|
|
919
|
-
|
|
920
|
-
function
|
|
919
|
+
Ie.__reactDisabledLog = !0;
|
|
920
|
+
function at() {
|
|
921
921
|
{
|
|
922
922
|
if (B === 0) {
|
|
923
|
-
K = console.log, H = console.info, G = console.warn,
|
|
923
|
+
K = console.log, H = console.info, G = console.warn, we = console.error, Pe = console.group, Ae = console.groupCollapsed, Te = console.groupEnd;
|
|
924
924
|
var e = {
|
|
925
925
|
configurable: !0,
|
|
926
926
|
enumerable: !0,
|
|
927
|
-
value:
|
|
927
|
+
value: Ie,
|
|
928
928
|
writable: !0
|
|
929
929
|
};
|
|
930
930
|
Object.defineProperties(console, {
|
|
@@ -940,7 +940,7 @@ function ar() {
|
|
|
940
940
|
B++;
|
|
941
941
|
}
|
|
942
942
|
}
|
|
943
|
-
function
|
|
943
|
+
function st() {
|
|
944
944
|
{
|
|
945
945
|
if (B--, B === 0) {
|
|
946
946
|
var e = {
|
|
@@ -949,26 +949,26 @@ function ar() {
|
|
|
949
949
|
writable: !0
|
|
950
950
|
};
|
|
951
951
|
Object.defineProperties(console, {
|
|
952
|
-
log:
|
|
952
|
+
log: $({}, e, {
|
|
953
953
|
value: K
|
|
954
954
|
}),
|
|
955
|
-
info:
|
|
955
|
+
info: $({}, e, {
|
|
956
956
|
value: H
|
|
957
957
|
}),
|
|
958
|
-
warn:
|
|
958
|
+
warn: $({}, e, {
|
|
959
959
|
value: G
|
|
960
960
|
}),
|
|
961
|
-
error:
|
|
962
|
-
value: Ce
|
|
963
|
-
}),
|
|
964
|
-
group: N({}, e, {
|
|
961
|
+
error: $({}, e, {
|
|
965
962
|
value: we
|
|
966
963
|
}),
|
|
967
|
-
|
|
964
|
+
group: $({}, e, {
|
|
968
965
|
value: Pe
|
|
969
966
|
}),
|
|
970
|
-
|
|
967
|
+
groupCollapsed: $({}, e, {
|
|
971
968
|
value: Ae
|
|
969
|
+
}),
|
|
970
|
+
groupEnd: $({}, e, {
|
|
971
|
+
value: Te
|
|
972
972
|
})
|
|
973
973
|
});
|
|
974
974
|
}
|
|
@@ -991,10 +991,10 @@ function ar() {
|
|
|
991
991
|
}
|
|
992
992
|
var fe = !1, Q;
|
|
993
993
|
{
|
|
994
|
-
var
|
|
995
|
-
Q = new
|
|
994
|
+
var it = typeof WeakMap == "function" ? WeakMap : Map;
|
|
995
|
+
Q = new it();
|
|
996
996
|
}
|
|
997
|
-
function
|
|
997
|
+
function $e(e, t) {
|
|
998
998
|
if (!e || fe)
|
|
999
999
|
return "";
|
|
1000
1000
|
{
|
|
@@ -1006,8 +1006,8 @@ function ar() {
|
|
|
1006
1006
|
fe = !0;
|
|
1007
1007
|
var d = Error.prepareStackTrace;
|
|
1008
1008
|
Error.prepareStackTrace = void 0;
|
|
1009
|
-
var
|
|
1010
|
-
|
|
1009
|
+
var v;
|
|
1010
|
+
v = ce.current, ce.current = null, at();
|
|
1011
1011
|
try {
|
|
1012
1012
|
if (t) {
|
|
1013
1013
|
var c = function() {
|
|
@@ -1020,37 +1020,37 @@ function ar() {
|
|
|
1020
1020
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
1021
1021
|
try {
|
|
1022
1022
|
Reflect.construct(c, []);
|
|
1023
|
-
} catch (
|
|
1024
|
-
a =
|
|
1023
|
+
} catch (C) {
|
|
1024
|
+
a = C;
|
|
1025
1025
|
}
|
|
1026
1026
|
Reflect.construct(e, [], c);
|
|
1027
1027
|
} else {
|
|
1028
1028
|
try {
|
|
1029
1029
|
c.call();
|
|
1030
|
-
} catch (
|
|
1031
|
-
a =
|
|
1030
|
+
} catch (C) {
|
|
1031
|
+
a = C;
|
|
1032
1032
|
}
|
|
1033
1033
|
e.call(c.prototype);
|
|
1034
1034
|
}
|
|
1035
1035
|
} else {
|
|
1036
1036
|
try {
|
|
1037
1037
|
throw Error();
|
|
1038
|
-
} catch (
|
|
1039
|
-
a =
|
|
1038
|
+
} catch (C) {
|
|
1039
|
+
a = C;
|
|
1040
1040
|
}
|
|
1041
1041
|
e();
|
|
1042
1042
|
}
|
|
1043
|
-
} catch (
|
|
1044
|
-
if (
|
|
1045
|
-
for (var l =
|
|
1046
|
-
`),
|
|
1047
|
-
`), y = l.length - 1, _ =
|
|
1043
|
+
} catch (C) {
|
|
1044
|
+
if (C && a && typeof C.stack == "string") {
|
|
1045
|
+
for (var l = C.stack.split(`
|
|
1046
|
+
`), O = a.stack.split(`
|
|
1047
|
+
`), y = l.length - 1, _ = O.length - 1; y >= 1 && _ >= 0 && l[y] !== O[_]; )
|
|
1048
1048
|
_--;
|
|
1049
1049
|
for (; y >= 1 && _ >= 0; y--, _--)
|
|
1050
|
-
if (l[y] !==
|
|
1050
|
+
if (l[y] !== O[_]) {
|
|
1051
1051
|
if (y !== 1 || _ !== 1)
|
|
1052
1052
|
do
|
|
1053
|
-
if (y--, _--, _ < 0 || l[y] !==
|
|
1053
|
+
if (y--, _--, _ < 0 || l[y] !== O[_]) {
|
|
1054
1054
|
var P = `
|
|
1055
1055
|
` + l[y].replace(" at new ", " at ");
|
|
1056
1056
|
return e.displayName && P.includes("<anonymous>") && (P = P.replace("<anonymous>", e.displayName)), typeof e == "function" && Q.set(e, P), P;
|
|
@@ -1060,15 +1060,15 @@ function ar() {
|
|
|
1060
1060
|
}
|
|
1061
1061
|
}
|
|
1062
1062
|
} finally {
|
|
1063
|
-
fe = !1, ce.current =
|
|
1063
|
+
fe = !1, ce.current = v, st(), Error.prepareStackTrace = d;
|
|
1064
1064
|
}
|
|
1065
1065
|
var V = e ? e.displayName || e.name : "", W = V ? X(V) : "";
|
|
1066
1066
|
return typeof e == "function" && Q.set(e, W), W;
|
|
1067
1067
|
}
|
|
1068
|
-
function
|
|
1069
|
-
return
|
|
1068
|
+
function lt(e, t, n) {
|
|
1069
|
+
return $e(e, !1);
|
|
1070
1070
|
}
|
|
1071
|
-
function
|
|
1071
|
+
function ct(e) {
|
|
1072
1072
|
var t = e.prototype;
|
|
1073
1073
|
return !!(t && t.isReactComponent);
|
|
1074
1074
|
}
|
|
@@ -1076,49 +1076,49 @@ function ar() {
|
|
|
1076
1076
|
if (e == null)
|
|
1077
1077
|
return "";
|
|
1078
1078
|
if (typeof e == "function")
|
|
1079
|
-
return
|
|
1079
|
+
return $e(e, ct(e));
|
|
1080
1080
|
if (typeof e == "string")
|
|
1081
1081
|
return X(e);
|
|
1082
1082
|
switch (e) {
|
|
1083
|
-
case
|
|
1083
|
+
case j:
|
|
1084
1084
|
return X("Suspense");
|
|
1085
1085
|
case m:
|
|
1086
1086
|
return X("SuspenseList");
|
|
1087
1087
|
}
|
|
1088
1088
|
if (typeof e == "object")
|
|
1089
1089
|
switch (e.$$typeof) {
|
|
1090
|
-
case
|
|
1091
|
-
return
|
|
1090
|
+
case p:
|
|
1091
|
+
return lt(e.render);
|
|
1092
1092
|
case b:
|
|
1093
1093
|
return ee(e.type, t, n);
|
|
1094
1094
|
case k: {
|
|
1095
|
-
var a = e, d = a._payload,
|
|
1095
|
+
var a = e, d = a._payload, v = a._init;
|
|
1096
1096
|
try {
|
|
1097
|
-
return ee(
|
|
1097
|
+
return ee(v(d), t, n);
|
|
1098
1098
|
} catch {
|
|
1099
1099
|
}
|
|
1100
1100
|
}
|
|
1101
1101
|
}
|
|
1102
1102
|
return "";
|
|
1103
1103
|
}
|
|
1104
|
-
var z = Object.prototype.hasOwnProperty, Ne = {},
|
|
1104
|
+
var z = Object.prototype.hasOwnProperty, Ne = {}, De = F.ReactDebugCurrentFrame;
|
|
1105
1105
|
function te(e) {
|
|
1106
1106
|
if (e) {
|
|
1107
1107
|
var t = e._owner, n = ee(e.type, e._source, t ? t.type : null);
|
|
1108
|
-
|
|
1108
|
+
De.setExtraStackFrame(n);
|
|
1109
1109
|
} else
|
|
1110
|
-
|
|
1110
|
+
De.setExtraStackFrame(null);
|
|
1111
1111
|
}
|
|
1112
|
-
function
|
|
1112
|
+
function ut(e, t, n, a, d) {
|
|
1113
1113
|
{
|
|
1114
|
-
var
|
|
1114
|
+
var v = Function.call.bind(z);
|
|
1115
1115
|
for (var c in e)
|
|
1116
|
-
if (
|
|
1116
|
+
if (v(e, c)) {
|
|
1117
1117
|
var l = void 0;
|
|
1118
1118
|
try {
|
|
1119
1119
|
if (typeof e[c] != "function") {
|
|
1120
|
-
var
|
|
1121
|
-
throw
|
|
1120
|
+
var O = Error((a || "React class") + ": " + n + " type `" + c + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[c] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
1121
|
+
throw O.name = "Invariant Violation", O;
|
|
1122
1122
|
}
|
|
1123
1123
|
l = e[c](t, c, a, n, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
1124
1124
|
} catch (y) {
|
|
@@ -1128,37 +1128,37 @@ function ar() {
|
|
|
1128
1128
|
}
|
|
1129
1129
|
}
|
|
1130
1130
|
}
|
|
1131
|
-
var
|
|
1131
|
+
var ft = Array.isArray;
|
|
1132
1132
|
function de(e) {
|
|
1133
|
-
return
|
|
1133
|
+
return ft(e);
|
|
1134
1134
|
}
|
|
1135
|
-
function
|
|
1135
|
+
function dt(e) {
|
|
1136
1136
|
{
|
|
1137
1137
|
var t = typeof Symbol == "function" && Symbol.toStringTag, n = t && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
1138
1138
|
return n;
|
|
1139
1139
|
}
|
|
1140
1140
|
}
|
|
1141
|
-
function
|
|
1141
|
+
function pt(e) {
|
|
1142
1142
|
try {
|
|
1143
|
-
return
|
|
1143
|
+
return Me(e), !1;
|
|
1144
1144
|
} catch {
|
|
1145
1145
|
return !0;
|
|
1146
1146
|
}
|
|
1147
1147
|
}
|
|
1148
|
-
function
|
|
1148
|
+
function Me(e) {
|
|
1149
1149
|
return "" + e;
|
|
1150
1150
|
}
|
|
1151
|
-
function
|
|
1152
|
-
if (
|
|
1153
|
-
return S("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",
|
|
1151
|
+
function Be(e) {
|
|
1152
|
+
if (pt(e))
|
|
1153
|
+
return S("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", dt(e)), Me(e);
|
|
1154
1154
|
}
|
|
1155
|
-
var
|
|
1155
|
+
var Fe = F.ReactCurrentOwner, vt = {
|
|
1156
1156
|
key: !0,
|
|
1157
1157
|
ref: !0,
|
|
1158
1158
|
__self: !0,
|
|
1159
1159
|
__source: !0
|
|
1160
|
-
},
|
|
1161
|
-
function
|
|
1160
|
+
}, We, Le;
|
|
1161
|
+
function mt(e) {
|
|
1162
1162
|
if (z.call(e, "ref")) {
|
|
1163
1163
|
var t = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
1164
1164
|
if (t && t.isReactWarning)
|
|
@@ -1166,7 +1166,7 @@ function ar() {
|
|
|
1166
1166
|
}
|
|
1167
1167
|
return e.ref !== void 0;
|
|
1168
1168
|
}
|
|
1169
|
-
function
|
|
1169
|
+
function ht(e) {
|
|
1170
1170
|
if (z.call(e, "key")) {
|
|
1171
1171
|
var t = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
1172
1172
|
if (t && t.isReactWarning)
|
|
@@ -1174,13 +1174,13 @@ function ar() {
|
|
|
1174
1174
|
}
|
|
1175
1175
|
return e.key !== void 0;
|
|
1176
1176
|
}
|
|
1177
|
-
function ht(e, t) {
|
|
1178
|
-
typeof e.ref == "string" && Be.current;
|
|
1179
|
-
}
|
|
1180
1177
|
function gt(e, t) {
|
|
1178
|
+
typeof e.ref == "string" && Fe.current;
|
|
1179
|
+
}
|
|
1180
|
+
function yt(e, t) {
|
|
1181
1181
|
{
|
|
1182
1182
|
var n = function() {
|
|
1183
|
-
|
|
1183
|
+
We || (We = !0, S("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
|
|
1184
1184
|
};
|
|
1185
1185
|
n.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
1186
1186
|
get: n,
|
|
@@ -1188,10 +1188,10 @@ function ar() {
|
|
|
1188
1188
|
});
|
|
1189
1189
|
}
|
|
1190
1190
|
}
|
|
1191
|
-
function
|
|
1191
|
+
function bt(e, t) {
|
|
1192
1192
|
{
|
|
1193
1193
|
var n = function() {
|
|
1194
|
-
|
|
1194
|
+
Le || (Le = !0, S("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
|
|
1195
1195
|
};
|
|
1196
1196
|
n.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
1197
1197
|
get: n,
|
|
@@ -1199,7 +1199,7 @@ function ar() {
|
|
|
1199
1199
|
});
|
|
1200
1200
|
}
|
|
1201
1201
|
}
|
|
1202
|
-
var
|
|
1202
|
+
var _t = function(e, t, n, a, d, v, c) {
|
|
1203
1203
|
var l = {
|
|
1204
1204
|
// This tag allows us to uniquely identify this as a React Element
|
|
1205
1205
|
$$typeof: o,
|
|
@@ -1209,7 +1209,7 @@ function ar() {
|
|
|
1209
1209
|
ref: n,
|
|
1210
1210
|
props: c,
|
|
1211
1211
|
// Record the component responsible for creating this element.
|
|
1212
|
-
_owner:
|
|
1212
|
+
_owner: v
|
|
1213
1213
|
};
|
|
1214
1214
|
return l._store = {}, Object.defineProperty(l._store, "validated", {
|
|
1215
1215
|
configurable: !1,
|
|
@@ -1228,38 +1228,38 @@ function ar() {
|
|
|
1228
1228
|
value: d
|
|
1229
1229
|
}), Object.freeze && (Object.freeze(l.props), Object.freeze(l)), l;
|
|
1230
1230
|
};
|
|
1231
|
-
function
|
|
1231
|
+
function Rt(e, t, n, a, d) {
|
|
1232
1232
|
{
|
|
1233
|
-
var
|
|
1234
|
-
n !== void 0 && (
|
|
1235
|
-
for (
|
|
1236
|
-
z.call(t,
|
|
1233
|
+
var v, c = {}, l = null, O = null;
|
|
1234
|
+
n !== void 0 && (Be(n), l = "" + n), ht(t) && (Be(t.key), l = "" + t.key), mt(t) && (O = t.ref, gt(t));
|
|
1235
|
+
for (v in t)
|
|
1236
|
+
z.call(t, v) && !vt.hasOwnProperty(v) && (c[v] = t[v]);
|
|
1237
1237
|
if (e && e.defaultProps) {
|
|
1238
1238
|
var y = e.defaultProps;
|
|
1239
|
-
for (
|
|
1240
|
-
c[
|
|
1239
|
+
for (v in y)
|
|
1240
|
+
c[v] === void 0 && (c[v] = y[v]);
|
|
1241
1241
|
}
|
|
1242
|
-
if (l ||
|
|
1242
|
+
if (l || O) {
|
|
1243
1243
|
var _ = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
1244
|
-
l &&
|
|
1244
|
+
l && yt(c, _), O && bt(c, _);
|
|
1245
1245
|
}
|
|
1246
|
-
return
|
|
1246
|
+
return _t(e, l, O, d, a, Fe.current, c);
|
|
1247
1247
|
}
|
|
1248
1248
|
}
|
|
1249
|
-
var pe = F.ReactCurrentOwner,
|
|
1249
|
+
var pe = F.ReactCurrentOwner, Ue = F.ReactDebugCurrentFrame;
|
|
1250
1250
|
function Y(e) {
|
|
1251
1251
|
if (e) {
|
|
1252
1252
|
var t = e._owner, n = ee(e.type, e._source, t ? t.type : null);
|
|
1253
|
-
|
|
1253
|
+
Ue.setExtraStackFrame(n);
|
|
1254
1254
|
} else
|
|
1255
|
-
|
|
1255
|
+
Ue.setExtraStackFrame(null);
|
|
1256
1256
|
}
|
|
1257
1257
|
var ve;
|
|
1258
1258
|
ve = !1;
|
|
1259
1259
|
function me(e) {
|
|
1260
1260
|
return typeof e == "object" && e !== null && e.$$typeof === o;
|
|
1261
1261
|
}
|
|
1262
|
-
function
|
|
1262
|
+
function Ye() {
|
|
1263
1263
|
{
|
|
1264
1264
|
if (pe.current) {
|
|
1265
1265
|
var e = T(pe.current.type);
|
|
@@ -1271,13 +1271,13 @@ Check the render method of \`` + e + "`.";
|
|
|
1271
1271
|
return "";
|
|
1272
1272
|
}
|
|
1273
1273
|
}
|
|
1274
|
-
function
|
|
1274
|
+
function kt(e) {
|
|
1275
1275
|
return "";
|
|
1276
1276
|
}
|
|
1277
|
-
var
|
|
1278
|
-
function
|
|
1277
|
+
var Ve = {};
|
|
1278
|
+
function Et(e) {
|
|
1279
1279
|
{
|
|
1280
|
-
var t =
|
|
1280
|
+
var t = Ye();
|
|
1281
1281
|
if (!t) {
|
|
1282
1282
|
var n = typeof e == "string" ? e : e.displayName || e.name;
|
|
1283
1283
|
n && (t = `
|
|
@@ -1287,39 +1287,39 @@ Check the top-level render call using <` + n + ">.");
|
|
|
1287
1287
|
return t;
|
|
1288
1288
|
}
|
|
1289
1289
|
}
|
|
1290
|
-
function
|
|
1290
|
+
function ze(e, t) {
|
|
1291
1291
|
{
|
|
1292
1292
|
if (!e._store || e._store.validated || e.key != null)
|
|
1293
1293
|
return;
|
|
1294
1294
|
e._store.validated = !0;
|
|
1295
|
-
var n =
|
|
1296
|
-
if (
|
|
1295
|
+
var n = Et(t);
|
|
1296
|
+
if (Ve[n])
|
|
1297
1297
|
return;
|
|
1298
|
-
|
|
1298
|
+
Ve[n] = !0;
|
|
1299
1299
|
var a = "";
|
|
1300
1300
|
e && e._owner && e._owner !== pe.current && (a = " It was passed a child from " + T(e._owner.type) + "."), Y(e), S('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', n, a), Y(null);
|
|
1301
1301
|
}
|
|
1302
1302
|
}
|
|
1303
|
-
function
|
|
1303
|
+
function qe(e, t) {
|
|
1304
1304
|
{
|
|
1305
1305
|
if (typeof e != "object")
|
|
1306
1306
|
return;
|
|
1307
1307
|
if (de(e))
|
|
1308
1308
|
for (var n = 0; n < e.length; n++) {
|
|
1309
1309
|
var a = e[n];
|
|
1310
|
-
me(a) &&
|
|
1310
|
+
me(a) && ze(a, t);
|
|
1311
1311
|
}
|
|
1312
1312
|
else if (me(e))
|
|
1313
1313
|
e._store && (e._store.validated = !0);
|
|
1314
1314
|
else if (e) {
|
|
1315
|
-
var d =
|
|
1315
|
+
var d = je(e);
|
|
1316
1316
|
if (typeof d == "function" && d !== e.entries)
|
|
1317
|
-
for (var
|
|
1318
|
-
me(c.value) &&
|
|
1317
|
+
for (var v = d.call(e), c; !(c = v.next()).done; )
|
|
1318
|
+
me(c.value) && ze(c.value, t);
|
|
1319
1319
|
}
|
|
1320
1320
|
}
|
|
1321
1321
|
}
|
|
1322
|
-
function
|
|
1322
|
+
function St(e) {
|
|
1323
1323
|
{
|
|
1324
1324
|
var t = e.type;
|
|
1325
1325
|
if (t == null || typeof t == "string")
|
|
@@ -1327,7 +1327,7 @@ Check the top-level render call using <` + n + ">.");
|
|
|
1327
1327
|
var n;
|
|
1328
1328
|
if (typeof t == "function")
|
|
1329
1329
|
n = t.propTypes;
|
|
1330
|
-
else if (typeof t == "object" && (t.$$typeof ===
|
|
1330
|
+
else if (typeof t == "object" && (t.$$typeof === p || // Note: Memo only checks outer props here.
|
|
1331
1331
|
// Inner props are checked in the reconciler.
|
|
1332
1332
|
t.$$typeof === b))
|
|
1333
1333
|
n = t.propTypes;
|
|
@@ -1335,7 +1335,7 @@ Check the top-level render call using <` + n + ">.");
|
|
|
1335
1335
|
return;
|
|
1336
1336
|
if (n) {
|
|
1337
1337
|
var a = T(t);
|
|
1338
|
-
|
|
1338
|
+
ut(n, e.props, "prop", a, e);
|
|
1339
1339
|
} else if (t.PropTypes !== void 0 && !ve) {
|
|
1340
1340
|
ve = !0;
|
|
1341
1341
|
var d = T(t);
|
|
@@ -1344,7 +1344,7 @@ Check the top-level render call using <` + n + ">.");
|
|
|
1344
1344
|
typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && S("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
1345
1345
|
}
|
|
1346
1346
|
}
|
|
1347
|
-
function
|
|
1347
|
+
function xt(e) {
|
|
1348
1348
|
{
|
|
1349
1349
|
for (var t = Object.keys(e.props), n = 0; n < t.length; n++) {
|
|
1350
1350
|
var a = t[n];
|
|
@@ -1357,18 +1357,18 @@ Check the top-level render call using <` + n + ">.");
|
|
|
1357
1357
|
}
|
|
1358
1358
|
}
|
|
1359
1359
|
var Je = {};
|
|
1360
|
-
function
|
|
1360
|
+
function Ke(e, t, n, a, d, v) {
|
|
1361
1361
|
{
|
|
1362
1362
|
var c = U(e);
|
|
1363
1363
|
if (!c) {
|
|
1364
1364
|
var l = "";
|
|
1365
1365
|
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (l += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
1366
|
-
var
|
|
1367
|
-
|
|
1366
|
+
var O = kt();
|
|
1367
|
+
O ? l += O : l += Ye();
|
|
1368
1368
|
var y;
|
|
1369
1369
|
e === null ? y = "null" : de(e) ? y = "array" : e !== void 0 && e.$$typeof === o ? (y = "<" + (T(e.type) || "Unknown") + " />", l = " Did you accidentally export a JSX literal instead of a component?") : y = typeof e, S("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", y, l);
|
|
1370
1370
|
}
|
|
1371
|
-
var _ =
|
|
1371
|
+
var _ = Rt(e, t, n, d, v);
|
|
1372
1372
|
if (_ == null)
|
|
1373
1373
|
return _;
|
|
1374
1374
|
if (c) {
|
|
@@ -1377,44 +1377,44 @@ Check the top-level render call using <` + n + ">.");
|
|
|
1377
1377
|
if (a)
|
|
1378
1378
|
if (de(P)) {
|
|
1379
1379
|
for (var V = 0; V < P.length; V++)
|
|
1380
|
-
|
|
1380
|
+
qe(P[V], e);
|
|
1381
1381
|
Object.freeze && Object.freeze(P);
|
|
1382
1382
|
} else
|
|
1383
1383
|
S("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
1384
1384
|
else
|
|
1385
|
-
|
|
1385
|
+
qe(P, e);
|
|
1386
1386
|
}
|
|
1387
1387
|
if (z.call(t, "key")) {
|
|
1388
|
-
var W = T(e),
|
|
1389
|
-
return
|
|
1390
|
-
}), he =
|
|
1388
|
+
var W = T(e), C = Object.keys(t).filter(function(At) {
|
|
1389
|
+
return At !== "key";
|
|
1390
|
+
}), he = C.length > 0 ? "{key: someKey, " + C.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
1391
1391
|
if (!Je[W + he]) {
|
|
1392
|
-
var
|
|
1392
|
+
var Pt = C.length > 0 ? "{" + C.join(": ..., ") + ": ...}" : "{}";
|
|
1393
1393
|
S(`A props object containing a "key" prop is being spread into JSX:
|
|
1394
1394
|
let props = %s;
|
|
1395
1395
|
<%s {...props} />
|
|
1396
1396
|
React keys must be passed directly to JSX without using spread:
|
|
1397
1397
|
let props = %s;
|
|
1398
|
-
<%s key={someKey} {...props} />`, he, W,
|
|
1398
|
+
<%s key={someKey} {...props} />`, he, W, Pt, W), Je[W + he] = !0;
|
|
1399
1399
|
}
|
|
1400
1400
|
}
|
|
1401
|
-
return e ===
|
|
1401
|
+
return e === f ? xt(_) : St(_), _;
|
|
1402
1402
|
}
|
|
1403
1403
|
}
|
|
1404
|
-
function xt(e, t, n) {
|
|
1405
|
-
return qe(e, t, n, !0);
|
|
1406
|
-
}
|
|
1407
1404
|
function jt(e, t, n) {
|
|
1408
|
-
return
|
|
1405
|
+
return Ke(e, t, n, !0);
|
|
1406
|
+
}
|
|
1407
|
+
function Ot(e, t, n) {
|
|
1408
|
+
return Ke(e, t, n, !1);
|
|
1409
1409
|
}
|
|
1410
|
-
var
|
|
1411
|
-
|
|
1412
|
-
}()),
|
|
1410
|
+
var Ct = Ot, wt = jt;
|
|
1411
|
+
et.Fragment = f, et.jsx = Ct, et.jsxs = wt;
|
|
1412
|
+
}()), et;
|
|
1413
1413
|
}
|
|
1414
1414
|
process.env.NODE_ENV === "production" ? or() : ar();
|
|
1415
1415
|
const sr = "0.0.37", Jt = {
|
|
1416
1416
|
version: sr
|
|
1417
|
-
}, re = {},
|
|
1417
|
+
}, re = {}, $t = {
|
|
1418
1418
|
module: "",
|
|
1419
1419
|
v: Jt.version,
|
|
1420
1420
|
page: "Main",
|
|
@@ -1429,10 +1429,10 @@ be().elcrm || (be().elcrm = {});
|
|
|
1429
1429
|
Object.assign(be().elcrm, { router: Jt.version });
|
|
1430
1430
|
function ne(r) {
|
|
1431
1431
|
const o = be();
|
|
1432
|
-
o.ROUTER_PARAMS ? o.ROUTER_PARAMS = { ...o.ROUTER_PARAMS, ...r } : o.ROUTER_PARAMS = {
|
|
1432
|
+
o.ROUTER_PARAMS ? o.ROUTER_PARAMS = { ...o.ROUTER_PARAMS, ...r } : o.ROUTER_PARAMS = { ...$t, ...r };
|
|
1433
1433
|
}
|
|
1434
1434
|
function w() {
|
|
1435
|
-
return be().ROUTER_PARAMS ||
|
|
1435
|
+
return be().ROUTER_PARAMS || $t;
|
|
1436
1436
|
}
|
|
1437
1437
|
function ke(r) {
|
|
1438
1438
|
const o = be();
|
|
@@ -1442,7 +1442,7 @@ function ke(r) {
|
|
|
1442
1442
|
} : o.ROUTER_PARAMS.LISTENER = { ...r };
|
|
1443
1443
|
}
|
|
1444
1444
|
function oe() {
|
|
1445
|
-
return be().ROUTER_PARAMS.LISTENER ||
|
|
1445
|
+
return be().ROUTER_PARAMS.LISTENER || $t.LISTENER;
|
|
1446
1446
|
}
|
|
1447
1447
|
var _e;
|
|
1448
1448
|
((r) => {
|
|
@@ -1473,24 +1473,24 @@ var _e;
|
|
|
1473
1473
|
re.id = 0, re.tab = "", re.page = w().page, re.module = w().module;
|
|
1474
1474
|
}
|
|
1475
1475
|
r.Reset = s;
|
|
1476
|
-
function
|
|
1476
|
+
function f({
|
|
1477
1477
|
module: g = w().module,
|
|
1478
1478
|
page: E = w().page,
|
|
1479
1479
|
auth: I = w().auth
|
|
1480
1480
|
}) {
|
|
1481
1481
|
ne({ page: E, module: g, auth: I }), o();
|
|
1482
1482
|
}
|
|
1483
|
-
r.Default =
|
|
1484
|
-
function
|
|
1483
|
+
r.Default = f;
|
|
1484
|
+
function u(g) {
|
|
1485
1485
|
let E = (U) => (ne({ page: U }), U);
|
|
1486
1486
|
const [I, M] = D.useState(
|
|
1487
|
-
|
|
1487
|
+
x() || g && E(g) || w().page
|
|
1488
1488
|
);
|
|
1489
1489
|
return ke({ page: (U) => {
|
|
1490
1490
|
M(U);
|
|
1491
1491
|
} }), I;
|
|
1492
1492
|
}
|
|
1493
|
-
r.usePage =
|
|
1493
|
+
r.usePage = u;
|
|
1494
1494
|
function h(g, E = !0, I = {}) {
|
|
1495
1495
|
ne({ page: g, ...I }), sessionStorage.setItem(
|
|
1496
1496
|
w().STORAGE,
|
|
@@ -1498,28 +1498,28 @@ var _e;
|
|
|
1498
1498
|
), E && oe().page(g);
|
|
1499
1499
|
}
|
|
1500
1500
|
r.setPage = h;
|
|
1501
|
-
function
|
|
1501
|
+
function x() {
|
|
1502
1502
|
return w().page;
|
|
1503
1503
|
}
|
|
1504
|
-
r.getPage =
|
|
1504
|
+
r.getPage = x;
|
|
1505
1505
|
function R(g) {
|
|
1506
1506
|
return w().page === g;
|
|
1507
1507
|
}
|
|
1508
1508
|
r.isPage = R;
|
|
1509
|
-
function
|
|
1509
|
+
function p(g, E) {
|
|
1510
1510
|
const [I, M] = D.useState(
|
|
1511
1511
|
m() || g || w().module
|
|
1512
1512
|
);
|
|
1513
1513
|
return ke({ module: M }), I;
|
|
1514
1514
|
}
|
|
1515
|
-
r.useModule =
|
|
1516
|
-
function
|
|
1515
|
+
r.useModule = p;
|
|
1516
|
+
function j(g, E = !0) {
|
|
1517
1517
|
ne({ module: g }), sessionStorage.setItem(
|
|
1518
1518
|
w().STORAGE,
|
|
1519
1519
|
ie.enCode(w())
|
|
1520
1520
|
), E && oe().module(g);
|
|
1521
1521
|
}
|
|
1522
|
-
r.setModule =
|
|
1522
|
+
r.setModule = j;
|
|
1523
1523
|
function m() {
|
|
1524
1524
|
return w().module || "";
|
|
1525
1525
|
}
|
|
@@ -1538,22 +1538,22 @@ var _e;
|
|
|
1538
1538
|
ke({ tabs: g });
|
|
1539
1539
|
}
|
|
1540
1540
|
r.useTabs = k;
|
|
1541
|
-
async function
|
|
1541
|
+
async function N(g, E = !0) {
|
|
1542
1542
|
ne({ tab: g }), sessionStorage.setItem(
|
|
1543
1543
|
w().STORAGE,
|
|
1544
1544
|
ie.enCode(w())
|
|
1545
1545
|
), E && (oe().tabs && oe().tabs(g));
|
|
1546
1546
|
}
|
|
1547
|
-
r.setTabs =
|
|
1547
|
+
r.setTabs = N;
|
|
1548
1548
|
function A() {
|
|
1549
1549
|
return w().tab;
|
|
1550
1550
|
}
|
|
1551
1551
|
r.getTabs = A;
|
|
1552
|
-
function
|
|
1552
|
+
function xe(g) {
|
|
1553
1553
|
return w().tab === g;
|
|
1554
1554
|
}
|
|
1555
|
-
r.isTabs =
|
|
1556
|
-
function
|
|
1555
|
+
r.isTabs = xe;
|
|
1556
|
+
function je(g) {
|
|
1557
1557
|
if (typeof g != "function") {
|
|
1558
1558
|
const [E, I] = D.useState(g || Re());
|
|
1559
1559
|
return ke({ id: (M) => {
|
|
@@ -1562,7 +1562,7 @@ var _e;
|
|
|
1562
1562
|
} else
|
|
1563
1563
|
ke({ id: g });
|
|
1564
1564
|
}
|
|
1565
|
-
r.useId =
|
|
1565
|
+
r.useId = je;
|
|
1566
1566
|
function F(g) {
|
|
1567
1567
|
}
|
|
1568
1568
|
r.subId = F;
|
|
@@ -1577,41 +1577,41 @@ var _e;
|
|
|
1577
1577
|
return w().id;
|
|
1578
1578
|
}
|
|
1579
1579
|
r.getId = Re;
|
|
1580
|
-
function
|
|
1580
|
+
function Oe(g) {
|
|
1581
1581
|
return Number(w().id) === g;
|
|
1582
1582
|
}
|
|
1583
|
-
r.isId =
|
|
1584
|
-
async function
|
|
1585
|
-
var E, I, M, U, ae, se, T,
|
|
1583
|
+
r.isId = Oe;
|
|
1584
|
+
async function Ce(g) {
|
|
1585
|
+
var E, I, M, U, ae, se, T, $;
|
|
1586
1586
|
const { page: B, module: K, tab: H, id: G } = g;
|
|
1587
|
-
B !== void 0 && (re.page = B), K !== void 0 && (re.module = K), H !== void 0 && (re.tab = H), G !== void 0 && (re.id = G), ne({ ...re }), G !== void 0 && ((I = (E = oe()).id) == null || I.call(E, G)), H !== void 0 && ((U = (M = oe()).tabs) == null || U.call(M, H)), K !== void 0 && ((se = (ae = oe()).module) == null || se.call(ae, K)), B !== void 0 && ((
|
|
1587
|
+
B !== void 0 && (re.page = B), K !== void 0 && (re.module = K), H !== void 0 && (re.tab = H), G !== void 0 && (re.id = G), ne({ ...re }), G !== void 0 && ((I = (E = oe()).id) == null || I.call(E, G)), H !== void 0 && ((U = (M = oe()).tabs) == null || U.call(M, H)), K !== void 0 && ((se = (ae = oe()).module) == null || se.call(ae, K)), B !== void 0 && (($ = (T = oe()).page) == null || $.call(T, B)), sessionStorage.setItem(
|
|
1588
1588
|
w().STORAGE,
|
|
1589
1589
|
ie.enCode(w())
|
|
1590
1590
|
);
|
|
1591
1591
|
}
|
|
1592
|
-
r.navigate =
|
|
1592
|
+
r.navigate = Ce;
|
|
1593
1593
|
})(_e || (_e = {}));
|
|
1594
|
-
let
|
|
1594
|
+
let nt = {};
|
|
1595
1595
|
function ir() {
|
|
1596
1596
|
const [r, o] = D.useState([]);
|
|
1597
|
-
return
|
|
1597
|
+
return nt.set = (s) => {
|
|
1598
1598
|
o([...r, s]);
|
|
1599
|
-
},
|
|
1600
|
-
r.forEach((
|
|
1601
|
-
|
|
1599
|
+
}, nt.del = (s) => {
|
|
1600
|
+
r.forEach((f, u) => {
|
|
1601
|
+
f.key === s && r.splice(u, 1);
|
|
1602
1602
|
}), o(r);
|
|
1603
1603
|
}, r.length === 0 ? /* @__PURE__ */ i.jsx(i.Fragment, {}) : /* @__PURE__ */ i.jsx("div", { className: "notice", children: r.map((s) => s.item) });
|
|
1604
1604
|
}
|
|
1605
1605
|
function lr(r) {
|
|
1606
1606
|
let o = (/* @__PURE__ */ new Date()).getTime();
|
|
1607
|
-
r.key = o,
|
|
1607
|
+
r.key = o, nt.set({ item: /* @__PURE__ */ i.jsx(cr, { data: r }, o), key: o });
|
|
1608
1608
|
}
|
|
1609
1609
|
function cr(r) {
|
|
1610
1610
|
const o = r.data;
|
|
1611
|
-
let [s] = D.useState("show"), [
|
|
1611
|
+
let [s] = D.useState("show"), [f, u] = D.useState(!1);
|
|
1612
1612
|
D.useEffect(() => {
|
|
1613
1613
|
setTimeout(function() {
|
|
1614
|
-
|
|
1614
|
+
u(!0), nt.del(o.key);
|
|
1615
1615
|
}, 5e3);
|
|
1616
1616
|
}, [o.key]);
|
|
1617
1617
|
let h;
|
|
@@ -1629,7 +1629,7 @@ function cr(r) {
|
|
|
1629
1629
|
h = "icon fa fa-exclamation-circle";
|
|
1630
1630
|
break;
|
|
1631
1631
|
}
|
|
1632
|
-
return /* @__PURE__ */ i.jsx(i.Fragment, { children:
|
|
1632
|
+
return /* @__PURE__ */ i.jsx(i.Fragment, { children: f ? /* @__PURE__ */ i.jsx(i.Fragment, {}) : /* @__PURE__ */ i.jsxs(
|
|
1633
1633
|
"div",
|
|
1634
1634
|
{
|
|
1635
1635
|
className: "item " + o.type + ` ${o.thema !== void 0 ? " thema" : ""}`,
|
|
@@ -1653,27 +1653,35 @@ function cr(r) {
|
|
|
1653
1653
|
}
|
|
1654
1654
|
) });
|
|
1655
1655
|
}
|
|
1656
|
-
let
|
|
1656
|
+
let ot = {
|
|
1657
1657
|
Send: lr,
|
|
1658
1658
|
Init: ir
|
|
1659
|
-
},
|
|
1659
|
+
}, Xe = () => {
|
|
1660
1660
|
};
|
|
1661
|
-
const
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1661
|
+
const Kt = ({
|
|
1662
|
+
children: r,
|
|
1663
|
+
title: o,
|
|
1664
|
+
isOverlay: s = !0,
|
|
1665
|
+
footer: f = !0,
|
|
1666
|
+
className: u,
|
|
1667
|
+
onOpen: h
|
|
1668
|
+
}) => {
|
|
1669
|
+
const [x, R] = D.useState(!1);
|
|
1670
|
+
return Xe = () => {
|
|
1671
|
+
R(!0), setTimeout(() => {
|
|
1672
|
+
var p;
|
|
1673
|
+
h == null || h(!1), (p = Ee == null ? void 0 : Ee.onClose) == null || p.call(Ee);
|
|
1666
1674
|
}, 300);
|
|
1667
1675
|
}, /* @__PURE__ */ i.jsx(
|
|
1668
1676
|
"div",
|
|
1669
1677
|
{
|
|
1670
|
-
className: `footer-menu-overlay ${s ? "is-overlay" : ""} ${
|
|
1671
|
-
onClick:
|
|
1678
|
+
className: `footer-menu-overlay ${s ? "is-overlay" : ""} ${x ? "closing" : ""} `,
|
|
1679
|
+
onClick: Xe,
|
|
1672
1680
|
children: /* @__PURE__ */ i.jsxs(
|
|
1673
1681
|
"div",
|
|
1674
1682
|
{
|
|
1675
|
-
className: `footer-menu-popup-book ${
|
|
1676
|
-
onClick: (
|
|
1683
|
+
className: `footer-menu-popup-book ${x ? "closing" : ""} ${u || ""} ${f ? "footer" : ""}`,
|
|
1684
|
+
onClick: (p) => p.stopPropagation(),
|
|
1677
1685
|
children: [
|
|
1678
1686
|
/* @__PURE__ */ i.jsxs("div", { className: "footer-menu-header", children: [
|
|
1679
1687
|
/* @__PURE__ */ i.jsx("h3", { children: o }),
|
|
@@ -1681,7 +1689,7 @@ const qt = ({ children: r, title: o, isOverlay: s = !0 }) => {
|
|
|
1681
1689
|
"button",
|
|
1682
1690
|
{
|
|
1683
1691
|
className: "footer-menu-close-btn",
|
|
1684
|
-
onClick:
|
|
1692
|
+
onClick: Xe,
|
|
1685
1693
|
children: "✕"
|
|
1686
1694
|
}
|
|
1687
1695
|
)
|
|
@@ -1692,39 +1700,39 @@ const qt = ({ children: r, title: o, isOverlay: s = !0 }) => {
|
|
|
1692
1700
|
)
|
|
1693
1701
|
}
|
|
1694
1702
|
);
|
|
1695
|
-
}, ur = "
|
|
1703
|
+
}, ur = "_h_1ryiq_1", fr = "_row_1ryiq_14", dr = "_column_1ryiq_17", Wt = {
|
|
1696
1704
|
h: ur,
|
|
1697
1705
|
row: fr,
|
|
1698
1706
|
column: dr
|
|
1699
|
-
},
|
|
1707
|
+
}, Ee = [], Lt = (r, o) => r.findIndex((s) => (s == null ? void 0 : s.page) === o), Ht = ({
|
|
1700
1708
|
actions: r,
|
|
1701
1709
|
children: o,
|
|
1702
1710
|
className: s,
|
|
1703
|
-
toHide:
|
|
1704
|
-
page:
|
|
1711
|
+
toHide: f = !1,
|
|
1712
|
+
page: u,
|
|
1705
1713
|
onPageChange: h,
|
|
1706
|
-
direction:
|
|
1714
|
+
direction: x = "row"
|
|
1707
1715
|
}) => {
|
|
1708
|
-
const [R,
|
|
1709
|
-
|
|
1716
|
+
const [R, p] = D.useState(null), [j, m] = D.useState(
|
|
1717
|
+
u ? Lt(r || [], u) : 0
|
|
1710
1718
|
);
|
|
1711
|
-
return
|
|
1712
|
-
|
|
1713
|
-
},
|
|
1714
|
-
if (!
|
|
1719
|
+
return Ee.onClose = () => {
|
|
1720
|
+
p(null), m(u ? Lt(r || [], u) : 0);
|
|
1721
|
+
}, Qe(() => {
|
|
1722
|
+
if (!f)
|
|
1715
1723
|
return;
|
|
1716
1724
|
const b = document.querySelectorAll("[contenteditable]"), k = () => {
|
|
1717
1725
|
const A = document.querySelector("footer");
|
|
1718
1726
|
A && (A.style.display = "flex");
|
|
1719
|
-
},
|
|
1727
|
+
}, N = () => {
|
|
1720
1728
|
const A = document.querySelector("footer");
|
|
1721
1729
|
A && (A.style.display = "none");
|
|
1722
1730
|
};
|
|
1723
1731
|
return b.forEach((A) => {
|
|
1724
|
-
A.addEventListener("focus",
|
|
1732
|
+
A.addEventListener("focus", N, !0), A.addEventListener("blur", k, !0);
|
|
1725
1733
|
}), () => {
|
|
1726
1734
|
b.forEach((A) => {
|
|
1727
|
-
A.removeEventListener("focus",
|
|
1735
|
+
A.removeEventListener("focus", N, !0), A.removeEventListener("blur", k, !0);
|
|
1728
1736
|
});
|
|
1729
1737
|
};
|
|
1730
1738
|
}, []), /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
|
|
@@ -1732,15 +1740,15 @@ const qt = ({ children: r, title: o, isOverlay: s = !0 }) => {
|
|
|
1732
1740
|
/* @__PURE__ */ i.jsxs(
|
|
1733
1741
|
"footer",
|
|
1734
1742
|
{
|
|
1735
|
-
className: `${
|
|
1743
|
+
className: `${Wt.h} ${Wt[x]} ${s} `,
|
|
1736
1744
|
children: [
|
|
1737
1745
|
o,
|
|
1738
1746
|
r && r.map((b, k) => /* @__PURE__ */ i.jsx(
|
|
1739
1747
|
"div",
|
|
1740
1748
|
{
|
|
1741
|
-
"data-active":
|
|
1749
|
+
"data-active": j === k ? "true" : "false",
|
|
1742
1750
|
onClick: () => {
|
|
1743
|
-
b.page && (m(k), h == null || h(b.page)), b.callback && (b.callback(), m(k)), b.component && (
|
|
1751
|
+
b.page && (m(k), h == null || h(b.page)), b.callback && (b.callback(), m(k)), b.component && (j === k ? Xe() : (p(b.component), m(k)));
|
|
1744
1752
|
},
|
|
1745
1753
|
children: b.icon
|
|
1746
1754
|
},
|
|
@@ -1755,8 +1763,8 @@ const qt = ({ children: r, title: o, isOverlay: s = !0 }) => {
|
|
|
1755
1763
|
MainButton: {},
|
|
1756
1764
|
BackButton: {}
|
|
1757
1765
|
};
|
|
1758
|
-
let
|
|
1759
|
-
|
|
1766
|
+
let J = {};
|
|
1767
|
+
J.dark = {
|
|
1760
1768
|
"--tg-theme-subtitle-text-color": "#98989e",
|
|
1761
1769
|
"--tg-theme-destructive-text-color": "#e53935",
|
|
1762
1770
|
"--tg-theme-section-separator-color": "#545458",
|
|
@@ -1773,7 +1781,7 @@ q.dark = {
|
|
|
1773
1781
|
"--tg-theme-text-color": "#ffffff",
|
|
1774
1782
|
"--tg-theme-section-bg-color": "#2c2c2e"
|
|
1775
1783
|
};
|
|
1776
|
-
|
|
1784
|
+
J.light = {
|
|
1777
1785
|
"--tg-theme-subtitle-text-color": "#8e8e93",
|
|
1778
1786
|
"--tg-theme-destructive-text-color": "#ff3b30",
|
|
1779
1787
|
"--tg-theme-section-separator-color": "#c8c7cc",
|
|
@@ -1790,7 +1798,7 @@ q.light = {
|
|
|
1790
1798
|
"--tg-theme-text-color": "#000000",
|
|
1791
1799
|
"--tg-theme-section-bg-color": "#f8f8f8"
|
|
1792
1800
|
};
|
|
1793
|
-
|
|
1801
|
+
J.users = {
|
|
1794
1802
|
"--tg-theme-bg-color": "#000000",
|
|
1795
1803
|
"--tg-theme-text-color": "#ffffff",
|
|
1796
1804
|
"--tg-theme-hint-color": "#98989e",
|
|
@@ -1801,25 +1809,25 @@ q.users = {
|
|
|
1801
1809
|
};
|
|
1802
1810
|
const pr = () => {
|
|
1803
1811
|
if (location.hostname === "localhost") {
|
|
1804
|
-
let [r, o] = le(!1), [s,
|
|
1805
|
-
ye.is = !0, ye.MainButton.set = o, ye.BackButton.set =
|
|
1806
|
-
|
|
1807
|
-
for (let k in
|
|
1812
|
+
let [r, o] = le(!1), [s, f] = le(!1), [u, h] = le("dark"), [x, R] = le(!1), [p, j] = le(!1);
|
|
1813
|
+
ye.is = !0, ye.MainButton.set = o, ye.BackButton.set = f, Qe(() => {
|
|
1814
|
+
J[u]["--tg-theme-bg-color-alpha"] = J[u]["--tg-theme-bg-color"] + "b3", J[u]["--tg-theme-secondary-bg-color-alpha"] = J[u]["--tg-theme-secondary-bg-color"] + "d3";
|
|
1815
|
+
for (let k in J[u])
|
|
1808
1816
|
document.documentElement.style.setProperty(
|
|
1809
1817
|
k,
|
|
1810
|
-
|
|
1818
|
+
J[u][k]
|
|
1811
1819
|
);
|
|
1812
|
-
|
|
1820
|
+
Se.safeAreaInset.bottom === 0 && document.documentElement.style.setProperty(
|
|
1813
1821
|
"--tg-safe-area-inset-bottom",
|
|
1814
1822
|
"16px"
|
|
1815
1823
|
);
|
|
1816
1824
|
}, []);
|
|
1817
1825
|
let m = (k) => {
|
|
1818
|
-
for (let
|
|
1819
|
-
document.documentElement.style.setProperty(
|
|
1826
|
+
for (let N in J[k])
|
|
1827
|
+
document.documentElement.style.setProperty(N, J[k][N]);
|
|
1820
1828
|
h(k), R(!1);
|
|
1821
1829
|
}, b = () => {
|
|
1822
|
-
R(!1),
|
|
1830
|
+
R(!1), j(!0);
|
|
1823
1831
|
};
|
|
1824
1832
|
return /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
|
|
1825
1833
|
/* @__PURE__ */ i.jsxs("header", { className: "debug", children: [
|
|
@@ -1834,9 +1842,9 @@ const pr = () => {
|
|
|
1834
1842
|
children: "Назад"
|
|
1835
1843
|
}
|
|
1836
1844
|
),
|
|
1837
|
-
/* @__PURE__ */ i.jsx("div", { className: "o", onClick: () => R(!
|
|
1845
|
+
/* @__PURE__ */ i.jsx("div", { className: "o", onClick: () => R(!x), children: "Меню" })
|
|
1838
1846
|
] }),
|
|
1839
|
-
/* @__PURE__ */ i.jsx(
|
|
1847
|
+
/* @__PURE__ */ i.jsx(ot.Init, {}),
|
|
1840
1848
|
r && /* @__PURE__ */ i.jsx("div", { className: "mb", children: /* @__PURE__ */ i.jsx(
|
|
1841
1849
|
"button",
|
|
1842
1850
|
{
|
|
@@ -1846,7 +1854,7 @@ const pr = () => {
|
|
|
1846
1854
|
children: r.text
|
|
1847
1855
|
}
|
|
1848
1856
|
) }),
|
|
1849
|
-
|
|
1857
|
+
x ? /* @__PURE__ */ i.jsxs("div", { className: "tm", children: [
|
|
1850
1858
|
/* @__PURE__ */ i.jsxs("ul", { children: [
|
|
1851
1859
|
/* @__PURE__ */ i.jsx("li", { children: /* @__PURE__ */ i.jsx("button", { onClick: b, children: "Authorization" }) }),
|
|
1852
1860
|
/* @__PURE__ */ i.jsx("li", {})
|
|
@@ -1878,24 +1886,24 @@ const pr = () => {
|
|
|
1878
1886
|
) })
|
|
1879
1887
|
] })
|
|
1880
1888
|
] }),
|
|
1881
|
-
/* @__PURE__ */ i.jsx("li", { children: /* @__PURE__ */ i.jsx("button", { onClick: () => R(!
|
|
1889
|
+
/* @__PURE__ */ i.jsx("li", { children: /* @__PURE__ */ i.jsx("button", { onClick: () => R(!x), children: "Closed" }) })
|
|
1882
1890
|
] })
|
|
1883
1891
|
] }) : "",
|
|
1884
|
-
|
|
1892
|
+
p ? /* @__PURE__ */ i.jsx(vr, { setAuthorization: j }) : ""
|
|
1885
1893
|
] });
|
|
1886
1894
|
} else
|
|
1887
|
-
return
|
|
1895
|
+
return Qe(() => {
|
|
1888
1896
|
document.documentElement.style.setProperty(
|
|
1889
1897
|
"--tg-theme-secondary-bg-color-alpha",
|
|
1890
|
-
|
|
1898
|
+
Se.themeParams.secondary_bg_color + "d3"
|
|
1891
1899
|
), document.documentElement.style.setProperty(
|
|
1892
1900
|
"--tg-theme-bg-color-alpha",
|
|
1893
|
-
|
|
1894
|
-
),
|
|
1901
|
+
Se.themeParams.bg_color + "b3"
|
|
1902
|
+
), Se.safeAreaInset.bottom === 0 && document.documentElement.style.setProperty(
|
|
1895
1903
|
"--tg-safe-area-inset-bottom",
|
|
1896
1904
|
"16px"
|
|
1897
1905
|
);
|
|
1898
|
-
}, []), /* @__PURE__ */ i.jsx(i.Fragment, { children: /* @__PURE__ */ i.jsx(
|
|
1906
|
+
}, []), /* @__PURE__ */ i.jsx(i.Fragment, { children: /* @__PURE__ */ i.jsx(ot.Init, {}) });
|
|
1899
1907
|
}, vr = ({ setAuthorization: r }) => {
|
|
1900
1908
|
let o = {}, s = () => {
|
|
1901
1909
|
localStorage.setItem("auth", o);
|
|
@@ -1904,13 +1912,13 @@ const pr = () => {
|
|
|
1904
1912
|
/* @__PURE__ */ i.jsx("fieldset", {}),
|
|
1905
1913
|
/* @__PURE__ */ i.jsx("div", { onClick: s, children: " Сохранить " })
|
|
1906
1914
|
] }) });
|
|
1907
|
-
}, mr = "_p_12hh1_1", hr = "_s_12hh1_17",
|
|
1915
|
+
}, mr = "_p_12hh1_1", hr = "_s_12hh1_17", Ut = {
|
|
1908
1916
|
p: mr,
|
|
1909
1917
|
s: hr
|
|
1910
1918
|
}, gr = ({ className: r, children: o, isScroll: s = !0 }) => /* @__PURE__ */ i.jsx(
|
|
1911
1919
|
"div",
|
|
1912
1920
|
{
|
|
1913
|
-
className: [
|
|
1921
|
+
className: [Ut.p, s && Ut.s, r].filter((f) => f !== void 0).join(" "),
|
|
1914
1922
|
children: o
|
|
1915
1923
|
}
|
|
1916
1924
|
), yr = "_l_gfyud_1", br = {
|
|
@@ -1930,43 +1938,43 @@ const pr = () => {
|
|
|
1930
1938
|
a: jr,
|
|
1931
1939
|
n: Or
|
|
1932
1940
|
}, Cr = ({ items: r }) => {
|
|
1933
|
-
const o = (
|
|
1934
|
-
_e.setPage(
|
|
1935
|
-
}, s = (
|
|
1936
|
-
|
|
1941
|
+
const o = (f) => {
|
|
1942
|
+
_e.setPage(f);
|
|
1943
|
+
}, s = (f) => {
|
|
1944
|
+
Se.openTelegramLink(f);
|
|
1937
1945
|
};
|
|
1938
|
-
return /* @__PURE__ */ i.jsx("div", { className: ge.m, children: r.map((
|
|
1946
|
+
return /* @__PURE__ */ i.jsx("div", { className: ge.m, children: r.map((f) => /* @__PURE__ */ i.jsx("div", { className: ge.g, children: f.items.map((u, h) => /* @__PURE__ */ i.jsxs(
|
|
1939
1947
|
"div",
|
|
1940
1948
|
{
|
|
1941
1949
|
className: ge.i,
|
|
1942
|
-
onClick: () =>
|
|
1950
|
+
onClick: () => u.link ? s(u.link) : o(u.page || ""),
|
|
1943
1951
|
children: [
|
|
1944
1952
|
/* @__PURE__ */ i.jsxs("div", { className: ge.c, children: [
|
|
1945
1953
|
/* @__PURE__ */ i.jsx(
|
|
1946
1954
|
"span",
|
|
1947
1955
|
{
|
|
1948
1956
|
className: ge.l,
|
|
1949
|
-
style: { background:
|
|
1950
|
-
children:
|
|
1957
|
+
style: { background: u.color },
|
|
1958
|
+
children: u.icon
|
|
1951
1959
|
}
|
|
1952
1960
|
),
|
|
1953
|
-
|
|
1954
|
-
|
|
1961
|
+
u.title,
|
|
1962
|
+
u.count && /* @__PURE__ */ i.jsx("span", { className: ge.n, children: u.count })
|
|
1955
1963
|
] }),
|
|
1956
1964
|
/* @__PURE__ */ i.jsx("span", { className: ge.a, children: "›" })
|
|
1957
1965
|
]
|
|
1958
1966
|
},
|
|
1959
1967
|
h
|
|
1960
|
-
)) },
|
|
1961
|
-
},
|
|
1968
|
+
)) }, f.id)) });
|
|
1969
|
+
}, q = {
|
|
1962
1970
|
state: [!1],
|
|
1963
1971
|
listen: [],
|
|
1964
1972
|
router: (r) => {
|
|
1965
|
-
r === !1 ? (L.WebApp.BackButton.isVisible = !1, L.WebApp.BackButton.offClick(
|
|
1973
|
+
r === !1 ? (L.WebApp.BackButton.isVisible = !1, L.WebApp.BackButton.offClick(q.listen[0]), q.listen.shift(), q.state.length !== 1 && q.state.pop()) : (L.WebApp.BackButton.isVisible = !0, L.WebApp.BackButton.offClick(q.listen[0]), q.listen.shift(), q.listen.push(() => {
|
|
1966
1974
|
var s;
|
|
1967
|
-
let o =
|
|
1975
|
+
let o = q.state.pop();
|
|
1968
1976
|
o.page !== void 0 ? _e.setPage(o.page) : (s = o.callback) == null || s.call(o);
|
|
1969
|
-
}),
|
|
1977
|
+
}), Se.BackButton.onClick(q.listen[0]));
|
|
1970
1978
|
}
|
|
1971
1979
|
};
|
|
1972
1980
|
var L;
|
|
@@ -1974,10 +1982,10 @@ var L;
|
|
|
1974
1982
|
r.WebApp = window.Telegram.WebApp, r.getUser = () => {
|
|
1975
1983
|
var o;
|
|
1976
1984
|
return ((o = r.WebApp.initDataUnsafe) == null ? void 0 : o.user) === void 0 ? {} : r.WebApp.initDataUnsafe;
|
|
1977
|
-
}, r.Notice = (o, s,
|
|
1978
|
-
var
|
|
1979
|
-
s !== void 0 ? (
|
|
1980
|
-
}, r.Header = pr, r.Footer = Ht, r.BottomSheet =
|
|
1985
|
+
}, r.Notice = (o, s, f) => {
|
|
1986
|
+
var u, h;
|
|
1987
|
+
s !== void 0 ? (ot.Send({ type: o, text: s, thema: f }), (u = r.WebApp.HapticFeedback) == null || u.notificationOccurred(o)) : (ot.Send(o), (h = r.WebApp.HapticFeedback) == null || h.notificationOccurred(o.type));
|
|
1988
|
+
}, r.Header = pr, r.Footer = Ht, r.BottomSheet = Kt, r.toggleBottomSheet = Xe, r.SafeArea = gr, r.Loading = _r, r.Modal = It, r.Menu = Cr, r.MainButton = {
|
|
1981
1989
|
callback: [],
|
|
1982
1990
|
set: (o) => {
|
|
1983
1991
|
ye.is ? ye.MainButton.set(o) : (r.WebApp.MainButton.callback.forEach((s) => {
|
|
@@ -1990,22 +1998,22 @@ var L;
|
|
|
1990
1998
|
)));
|
|
1991
1999
|
}
|
|
1992
2000
|
}, r.BackButton = (o) => {
|
|
1993
|
-
ye.is ? ye.BackButton.set(o) : (
|
|
2001
|
+
ye.is ? ye.BackButton.set(o) : (q.state.push(o), q.router(o));
|
|
1994
2002
|
};
|
|
1995
2003
|
})(L || (L = {}));
|
|
1996
|
-
const Pr = Ht, Ar =
|
|
2004
|
+
const Pr = Ht, Ar = Kt, Tr = L.BackButton, Ir = L.Notice, $r = L.SafeArea, Nr = L.Loading, Dr = L.Menu, { Header: Mr, toggleBottomSheet: Br, Modal: Fr, MainButton: Wr, WebApp: Se, getUser: Lr } = L;
|
|
1997
2005
|
export {
|
|
1998
2006
|
Tr as BackButton,
|
|
1999
2007
|
Ar as BottomSheet,
|
|
2000
2008
|
Pr as Footer,
|
|
2001
2009
|
Mr as Header,
|
|
2002
|
-
|
|
2010
|
+
Nr as Loading,
|
|
2003
2011
|
Wr as MainButton,
|
|
2004
2012
|
Dr as Menu,
|
|
2005
2013
|
Fr as Modal,
|
|
2006
2014
|
Ir as Notice,
|
|
2007
|
-
|
|
2008
|
-
|
|
2015
|
+
$r as SafeArea,
|
|
2016
|
+
Se as WebApp,
|
|
2009
2017
|
L as default,
|
|
2010
2018
|
Lr as getUser,
|
|
2011
2019
|
Br as toggleBottomSheet
|