@elcrm/telegram 0.0.81 → 0.0.83
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 +61 -16
- package/dist/index.es.js +923 -898
- package/dist/index.umd.js +20 -20
- package/package.json +2 -2
package/dist/index.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import './index.css';var
|
|
1
|
+
import B, { useState as ce, useEffect as et } from "react";
|
|
2
|
+
import './index.css';var Tt = { exports: {} }, Ge = {};
|
|
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 Ge;
|
|
15
15
|
Nt = 1;
|
|
16
|
-
var r =
|
|
17
|
-
function
|
|
18
|
-
var m, b = {}, k = null,
|
|
19
|
-
|
|
20
|
-
for (m in
|
|
21
|
-
if (R && R.defaultProps) for (m in
|
|
22
|
-
return { $$typeof:
|
|
16
|
+
var r = B, n = Symbol.for("react.element"), i = 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: n, type: R, key: k, ref: N, props: b, _owner: u.current };
|
|
23
23
|
}
|
|
24
|
-
return
|
|
24
|
+
return Ge.Fragment = i, Ge.jsx = x, Ge.jsxs = x, Ge;
|
|
25
25
|
}
|
|
26
|
-
var
|
|
26
|
+
var Ze = {};
|
|
27
27
|
/**
|
|
28
28
|
* @license React
|
|
29
29
|
* react-jsx-runtime.development.js
|
|
@@ -33,70 +33,70 @@ 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 Bt;
|
|
37
37
|
function Zt() {
|
|
38
|
-
return
|
|
39
|
-
var r =
|
|
40
|
-
function
|
|
38
|
+
return Bt || (Bt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
39
|
+
var r = B, n = Symbol.for("react.element"), i = 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, je = "@@iterator";
|
|
40
|
+
function Oe(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[je];
|
|
44
44
|
return typeof t == "function" ? t : null;
|
|
45
45
|
}
|
|
46
|
-
var
|
|
47
|
-
function
|
|
46
|
+
var M = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
47
|
+
function E(e) {
|
|
48
48
|
{
|
|
49
|
-
for (var t = arguments.length,
|
|
50
|
-
|
|
51
|
-
|
|
49
|
+
for (var t = arguments.length, o = new Array(t > 1 ? t - 1 : 0), a = 1; a < t; a++)
|
|
50
|
+
o[a - 1] = arguments[a];
|
|
51
|
+
ke("error", e, o);
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
|
-
function
|
|
54
|
+
function ke(e, t, o) {
|
|
55
55
|
{
|
|
56
|
-
var a =
|
|
57
|
-
d !== "" && (t += "%s",
|
|
58
|
-
var
|
|
59
|
-
return String(
|
|
56
|
+
var a = M.ReactDebugCurrentFrame, d = a.getStackAddendum();
|
|
57
|
+
d !== "" && (t += "%s", o = o.concat([d]));
|
|
58
|
+
var v = o.map(function(l) {
|
|
59
|
+
return String(l);
|
|
60
60
|
});
|
|
61
|
-
|
|
61
|
+
v.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, v);
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
|
-
var
|
|
65
|
-
|
|
66
|
-
function
|
|
67
|
-
return !!(typeof e == "string" || typeof e == "function" || e ===
|
|
64
|
+
var Ce = !1, we = !1, y = !1, S = !1, I = !1, F;
|
|
65
|
+
F = Symbol.for("react.module.reference");
|
|
66
|
+
function Y(e) {
|
|
67
|
+
return !!(typeof e == "string" || typeof e == "function" || e === f || e === h || I || e === u || e === j || e === m || S || e === N || Ce || we || y || 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.
|
|
71
|
-
e.$$typeof ===
|
|
71
|
+
e.$$typeof === F || e.getModuleId !== void 0));
|
|
72
72
|
}
|
|
73
|
-
function ae(e, t,
|
|
73
|
+
function ae(e, t, o) {
|
|
74
74
|
var a = e.displayName;
|
|
75
75
|
if (a)
|
|
76
76
|
return a;
|
|
77
77
|
var d = t.displayName || t.name || "";
|
|
78
|
-
return d !== "" ?
|
|
78
|
+
return d !== "" ? o + "(" + d + ")" : o;
|
|
79
79
|
}
|
|
80
|
-
function
|
|
80
|
+
function ie(e) {
|
|
81
81
|
return e.displayName || "Context";
|
|
82
82
|
}
|
|
83
83
|
function T(e) {
|
|
84
84
|
if (e == null)
|
|
85
85
|
return null;
|
|
86
|
-
if (typeof e.tag == "number" &&
|
|
86
|
+
if (typeof e.tag == "number" && E("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
87
87
|
return e.displayName || e.name || null;
|
|
88
88
|
if (typeof e == "string")
|
|
89
89
|
return e;
|
|
90
90
|
switch (e) {
|
|
91
|
-
case
|
|
91
|
+
case f:
|
|
92
92
|
return "Fragment";
|
|
93
|
-
case
|
|
93
|
+
case i:
|
|
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";
|
|
@@ -105,19 +105,19 @@ function Zt() {
|
|
|
105
105
|
switch (e.$$typeof) {
|
|
106
106
|
case R:
|
|
107
107
|
var t = e;
|
|
108
|
-
return
|
|
109
|
-
case
|
|
110
|
-
var
|
|
111
|
-
return
|
|
112
|
-
case
|
|
108
|
+
return ie(t) + ".Consumer";
|
|
109
|
+
case x:
|
|
110
|
+
var o = e;
|
|
111
|
+
return ie(o._context) + ".Provider";
|
|
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, l = d._init;
|
|
119
119
|
try {
|
|
120
|
-
return T(
|
|
120
|
+
return T(l(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, D = 0, H, K, G, Pe, Ae, Te, Ie;
|
|
129
|
+
function $e() {
|
|
130
130
|
}
|
|
131
|
-
|
|
132
|
-
function
|
|
131
|
+
$e.__reactDisabledLog = !0;
|
|
132
|
+
function at() {
|
|
133
133
|
{
|
|
134
|
-
if (
|
|
135
|
-
|
|
134
|
+
if (D === 0) {
|
|
135
|
+
H = console.log, K = console.info, G = console.warn, Pe = console.error, Ae = console.group, Te = console.groupCollapsed, Ie = console.groupEnd;
|
|
136
136
|
var e = {
|
|
137
137
|
configurable: !0,
|
|
138
138
|
enumerable: !0,
|
|
139
|
-
value:
|
|
139
|
+
value: $e,
|
|
140
140
|
writable: !0
|
|
141
141
|
};
|
|
142
142
|
Object.defineProperties(console, {
|
|
@@ -149,208 +149,208 @@ function Zt() {
|
|
|
149
149
|
groupEnd: e
|
|
150
150
|
});
|
|
151
151
|
}
|
|
152
|
-
|
|
152
|
+
D++;
|
|
153
153
|
}
|
|
154
154
|
}
|
|
155
|
-
function
|
|
155
|
+
function it() {
|
|
156
156
|
{
|
|
157
|
-
if (
|
|
157
|
+
if (D--, D === 0) {
|
|
158
158
|
var e = {
|
|
159
159
|
configurable: !0,
|
|
160
160
|
enumerable: !0,
|
|
161
161
|
writable: !0
|
|
162
162
|
};
|
|
163
163
|
Object.defineProperties(console, {
|
|
164
|
-
log:
|
|
165
|
-
value: K
|
|
166
|
-
}),
|
|
167
|
-
info: N({}, e, {
|
|
164
|
+
log: $({}, e, {
|
|
168
165
|
value: H
|
|
169
166
|
}),
|
|
170
|
-
|
|
171
|
-
value:
|
|
172
|
-
}),
|
|
173
|
-
error: N({}, e, {
|
|
174
|
-
value: Ce
|
|
167
|
+
info: $({}, e, {
|
|
168
|
+
value: K
|
|
175
169
|
}),
|
|
176
|
-
|
|
177
|
-
value:
|
|
170
|
+
warn: $({}, e, {
|
|
171
|
+
value: G
|
|
178
172
|
}),
|
|
179
|
-
|
|
173
|
+
error: $({}, e, {
|
|
180
174
|
value: Pe
|
|
181
175
|
}),
|
|
182
|
-
|
|
176
|
+
group: $({}, e, {
|
|
183
177
|
value: Ae
|
|
178
|
+
}),
|
|
179
|
+
groupCollapsed: $({}, e, {
|
|
180
|
+
value: Te
|
|
181
|
+
}),
|
|
182
|
+
groupEnd: $({}, e, {
|
|
183
|
+
value: Ie
|
|
184
184
|
})
|
|
185
185
|
});
|
|
186
186
|
}
|
|
187
|
-
|
|
187
|
+
D < 0 && E("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
188
188
|
}
|
|
189
189
|
}
|
|
190
|
-
var
|
|
191
|
-
function X(e, t,
|
|
190
|
+
var ue = M.ReactCurrentDispatcher, fe;
|
|
191
|
+
function X(e, t, o) {
|
|
192
192
|
{
|
|
193
|
-
if (
|
|
193
|
+
if (fe === void 0)
|
|
194
194
|
try {
|
|
195
195
|
throw Error();
|
|
196
196
|
} catch (d) {
|
|
197
197
|
var a = d.stack.trim().match(/\n( *(at )?)/);
|
|
198
|
-
|
|
198
|
+
fe = a && a[1] || "";
|
|
199
199
|
}
|
|
200
200
|
return `
|
|
201
|
-
` +
|
|
201
|
+
` + fe + e;
|
|
202
202
|
}
|
|
203
203
|
}
|
|
204
|
-
var
|
|
204
|
+
var de = !1, Q;
|
|
205
205
|
{
|
|
206
206
|
var st = typeof WeakMap == "function" ? WeakMap : Map;
|
|
207
207
|
Q = new st();
|
|
208
208
|
}
|
|
209
|
-
function
|
|
210
|
-
if (!e ||
|
|
209
|
+
function Ne(e, t) {
|
|
210
|
+
if (!e || de)
|
|
211
211
|
return "";
|
|
212
212
|
{
|
|
213
|
-
var
|
|
214
|
-
if (
|
|
215
|
-
return
|
|
213
|
+
var o = Q.get(e);
|
|
214
|
+
if (o !== void 0)
|
|
215
|
+
return o;
|
|
216
216
|
}
|
|
217
217
|
var a;
|
|
218
|
-
|
|
218
|
+
de = !0;
|
|
219
219
|
var d = Error.prepareStackTrace;
|
|
220
220
|
Error.prepareStackTrace = void 0;
|
|
221
|
-
var
|
|
222
|
-
|
|
221
|
+
var v;
|
|
222
|
+
v = ue.current, ue.current = null, at();
|
|
223
223
|
try {
|
|
224
224
|
if (t) {
|
|
225
|
-
var
|
|
225
|
+
var l = function() {
|
|
226
226
|
throw Error();
|
|
227
227
|
};
|
|
228
|
-
if (Object.defineProperty(
|
|
228
|
+
if (Object.defineProperty(l.prototype, "props", {
|
|
229
229
|
set: function() {
|
|
230
230
|
throw Error();
|
|
231
231
|
}
|
|
232
232
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
233
233
|
try {
|
|
234
|
-
Reflect.construct(
|
|
235
|
-
} catch (
|
|
236
|
-
a =
|
|
234
|
+
Reflect.construct(l, []);
|
|
235
|
+
} catch (C) {
|
|
236
|
+
a = C;
|
|
237
237
|
}
|
|
238
|
-
Reflect.construct(e, [],
|
|
238
|
+
Reflect.construct(e, [], l);
|
|
239
239
|
} else {
|
|
240
240
|
try {
|
|
241
|
-
|
|
242
|
-
} catch (
|
|
243
|
-
a =
|
|
241
|
+
l.call();
|
|
242
|
+
} catch (C) {
|
|
243
|
+
a = C;
|
|
244
244
|
}
|
|
245
|
-
e.call(
|
|
245
|
+
e.call(l.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
|
|
258
|
-
`),
|
|
259
|
-
`),
|
|
255
|
+
} catch (C) {
|
|
256
|
+
if (C && a && typeof C.stack == "string") {
|
|
257
|
+
for (var c = C.stack.split(`
|
|
258
|
+
`), O = a.stack.split(`
|
|
259
|
+
`), g = c.length - 1, _ = O.length - 1; g >= 1 && _ >= 0 && c[g] !== O[_]; )
|
|
260
260
|
_--;
|
|
261
|
-
for (;
|
|
262
|
-
if (
|
|
263
|
-
if (
|
|
261
|
+
for (; g >= 1 && _ >= 0; g--, _--)
|
|
262
|
+
if (c[g] !== O[_]) {
|
|
263
|
+
if (g !== 1 || _ !== 1)
|
|
264
264
|
do
|
|
265
|
-
if (
|
|
265
|
+
if (g--, _--, _ < 0 || c[g] !== O[_]) {
|
|
266
266
|
var P = `
|
|
267
|
-
` +
|
|
267
|
+
` + c[g].replace(" at new ", " at ");
|
|
268
268
|
return e.displayName && P.includes("<anonymous>") && (P = P.replace("<anonymous>", e.displayName)), typeof e == "function" && Q.set(e, P), P;
|
|
269
269
|
}
|
|
270
|
-
while (
|
|
270
|
+
while (g >= 1 && _ >= 0);
|
|
271
271
|
break;
|
|
272
272
|
}
|
|
273
273
|
}
|
|
274
274
|
} finally {
|
|
275
|
-
|
|
275
|
+
de = !1, ue.current = v, it(), Error.prepareStackTrace = d;
|
|
276
276
|
}
|
|
277
|
-
var
|
|
277
|
+
var z = e ? e.displayName || e.name : "", W = z ? X(z) : "";
|
|
278
278
|
return typeof e == "function" && Q.set(e, W), W;
|
|
279
279
|
}
|
|
280
|
-
function
|
|
281
|
-
return
|
|
280
|
+
function ct(e, t, o) {
|
|
281
|
+
return Ne(e, !1);
|
|
282
282
|
}
|
|
283
283
|
function lt(e) {
|
|
284
284
|
var t = e.prototype;
|
|
285
285
|
return !!(t && t.isReactComponent);
|
|
286
286
|
}
|
|
287
|
-
function ee(e, t,
|
|
287
|
+
function ee(e, t, o) {
|
|
288
288
|
if (e == null)
|
|
289
289
|
return "";
|
|
290
290
|
if (typeof e == "function")
|
|
291
|
-
return
|
|
291
|
+
return Ne(e, lt(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 ct(e.render);
|
|
304
304
|
case b:
|
|
305
|
-
return ee(e.type, t,
|
|
305
|
+
return ee(e.type, t, o);
|
|
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, o);
|
|
310
310
|
} catch {
|
|
311
311
|
}
|
|
312
312
|
}
|
|
313
313
|
}
|
|
314
314
|
return "";
|
|
315
315
|
}
|
|
316
|
-
var
|
|
316
|
+
var q = Object.prototype.hasOwnProperty, Be = {}, Fe = M.ReactDebugCurrentFrame;
|
|
317
317
|
function te(e) {
|
|
318
318
|
if (e) {
|
|
319
|
-
var t = e._owner,
|
|
320
|
-
|
|
319
|
+
var t = e._owner, o = ee(e.type, e._source, t ? t.type : null);
|
|
320
|
+
Fe.setExtraStackFrame(o);
|
|
321
321
|
} else
|
|
322
|
-
|
|
322
|
+
Fe.setExtraStackFrame(null);
|
|
323
323
|
}
|
|
324
|
-
function
|
|
324
|
+
function ut(e, t, o, a, d) {
|
|
325
325
|
{
|
|
326
|
-
var
|
|
327
|
-
for (var
|
|
328
|
-
if (
|
|
329
|
-
var
|
|
326
|
+
var v = Function.call.bind(q);
|
|
327
|
+
for (var l in e)
|
|
328
|
+
if (v(e, l)) {
|
|
329
|
+
var c = void 0;
|
|
330
330
|
try {
|
|
331
|
-
if (typeof e[
|
|
332
|
-
var
|
|
333
|
-
throw
|
|
331
|
+
if (typeof e[l] != "function") {
|
|
332
|
+
var O = Error((a || "React class") + ": " + o + " type `" + l + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[l] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
333
|
+
throw O.name = "Invariant Violation", O;
|
|
334
334
|
}
|
|
335
|
-
|
|
336
|
-
} catch (
|
|
337
|
-
|
|
335
|
+
c = e[l](t, l, a, o, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
336
|
+
} catch (g) {
|
|
337
|
+
c = g;
|
|
338
338
|
}
|
|
339
|
-
|
|
339
|
+
c && !(c instanceof Error) && (te(d), E("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", a || "React class", o, l, typeof c), te(null)), c instanceof Error && !(c.message in Be) && (Be[c.message] = !0, te(d), E("Failed %s type: %s", o, c.message), te(null));
|
|
340
340
|
}
|
|
341
341
|
}
|
|
342
342
|
}
|
|
343
|
-
var
|
|
344
|
-
function
|
|
345
|
-
return
|
|
343
|
+
var ft = Array.isArray;
|
|
344
|
+
function pe(e) {
|
|
345
|
+
return ft(e);
|
|
346
346
|
}
|
|
347
|
-
function
|
|
347
|
+
function dt(e) {
|
|
348
348
|
{
|
|
349
|
-
var t = typeof Symbol == "function" && Symbol.toStringTag,
|
|
350
|
-
return
|
|
349
|
+
var t = typeof Symbol == "function" && Symbol.toStringTag, o = t && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
350
|
+
return o;
|
|
351
351
|
}
|
|
352
352
|
}
|
|
353
|
-
function
|
|
353
|
+
function pt(e) {
|
|
354
354
|
try {
|
|
355
355
|
return De(e), !1;
|
|
356
356
|
} catch {
|
|
@@ -361,120 +361,120 @@ function Zt() {
|
|
|
361
361
|
return "" + e;
|
|
362
362
|
}
|
|
363
363
|
function Me(e) {
|
|
364
|
-
if (
|
|
365
|
-
return
|
|
364
|
+
if (pt(e))
|
|
365
|
+
return E("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", dt(e)), De(e);
|
|
366
366
|
}
|
|
367
|
-
var
|
|
367
|
+
var We = M.ReactCurrentOwner, vt = {
|
|
368
368
|
key: !0,
|
|
369
369
|
ref: !0,
|
|
370
370
|
__self: !0,
|
|
371
371
|
__source: !0
|
|
372
|
-
},
|
|
373
|
-
function
|
|
374
|
-
if (
|
|
372
|
+
}, Le, Ue;
|
|
373
|
+
function mt(e) {
|
|
374
|
+
if (q.call(e, "ref")) {
|
|
375
375
|
var t = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
376
376
|
if (t && t.isReactWarning)
|
|
377
377
|
return !1;
|
|
378
378
|
}
|
|
379
379
|
return e.ref !== void 0;
|
|
380
380
|
}
|
|
381
|
-
function
|
|
382
|
-
if (
|
|
381
|
+
function ht(e) {
|
|
382
|
+
if (q.call(e, "key")) {
|
|
383
383
|
var t = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
384
384
|
if (t && t.isReactWarning)
|
|
385
385
|
return !1;
|
|
386
386
|
}
|
|
387
387
|
return e.key !== void 0;
|
|
388
388
|
}
|
|
389
|
-
function
|
|
390
|
-
typeof e.ref == "string" &&
|
|
389
|
+
function yt(e, t) {
|
|
390
|
+
typeof e.ref == "string" && We.current;
|
|
391
391
|
}
|
|
392
392
|
function gt(e, t) {
|
|
393
393
|
{
|
|
394
|
-
var
|
|
395
|
-
|
|
394
|
+
var o = function() {
|
|
395
|
+
Le || (Le = !0, E("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
|
|
396
396
|
};
|
|
397
|
-
|
|
398
|
-
get:
|
|
397
|
+
o.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
398
|
+
get: o,
|
|
399
399
|
configurable: !0
|
|
400
400
|
});
|
|
401
401
|
}
|
|
402
402
|
}
|
|
403
|
-
function
|
|
403
|
+
function bt(e, t) {
|
|
404
404
|
{
|
|
405
|
-
var
|
|
406
|
-
|
|
405
|
+
var o = function() {
|
|
406
|
+
Ue || (Ue = !0, E("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
|
|
407
407
|
};
|
|
408
|
-
|
|
409
|
-
get:
|
|
408
|
+
o.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
409
|
+
get: o,
|
|
410
410
|
configurable: !0
|
|
411
411
|
});
|
|
412
412
|
}
|
|
413
413
|
}
|
|
414
|
-
var
|
|
415
|
-
var
|
|
414
|
+
var _t = function(e, t, o, a, d, v, l) {
|
|
415
|
+
var c = {
|
|
416
416
|
// This tag allows us to uniquely identify this as a React Element
|
|
417
|
-
$$typeof:
|
|
417
|
+
$$typeof: n,
|
|
418
418
|
// Built-in properties that belong on the element
|
|
419
419
|
type: e,
|
|
420
420
|
key: t,
|
|
421
|
-
ref:
|
|
422
|
-
props:
|
|
421
|
+
ref: o,
|
|
422
|
+
props: l,
|
|
423
423
|
// Record the component responsible for creating this element.
|
|
424
|
-
_owner:
|
|
424
|
+
_owner: v
|
|
425
425
|
};
|
|
426
|
-
return
|
|
426
|
+
return c._store = {}, Object.defineProperty(c._store, "validated", {
|
|
427
427
|
configurable: !1,
|
|
428
428
|
enumerable: !1,
|
|
429
429
|
writable: !0,
|
|
430
430
|
value: !1
|
|
431
|
-
}), Object.defineProperty(
|
|
431
|
+
}), Object.defineProperty(c, "_self", {
|
|
432
432
|
configurable: !1,
|
|
433
433
|
enumerable: !1,
|
|
434
434
|
writable: !1,
|
|
435
435
|
value: a
|
|
436
|
-
}), Object.defineProperty(
|
|
436
|
+
}), Object.defineProperty(c, "_source", {
|
|
437
437
|
configurable: !1,
|
|
438
438
|
enumerable: !1,
|
|
439
439
|
writable: !1,
|
|
440
440
|
value: d
|
|
441
|
-
}), Object.freeze && (Object.freeze(
|
|
441
|
+
}), Object.freeze && (Object.freeze(c.props), Object.freeze(c)), c;
|
|
442
442
|
};
|
|
443
|
-
function
|
|
443
|
+
function Rt(e, t, o, a, d) {
|
|
444
444
|
{
|
|
445
|
-
var
|
|
446
|
-
|
|
447
|
-
for (
|
|
448
|
-
|
|
445
|
+
var v, l = {}, c = null, O = null;
|
|
446
|
+
o !== void 0 && (Me(o), c = "" + o), ht(t) && (Me(t.key), c = "" + t.key), mt(t) && (O = t.ref, yt(t, d));
|
|
447
|
+
for (v in t)
|
|
448
|
+
q.call(t, v) && !vt.hasOwnProperty(v) && (l[v] = t[v]);
|
|
449
449
|
if (e && e.defaultProps) {
|
|
450
|
-
var
|
|
451
|
-
for (
|
|
452
|
-
|
|
450
|
+
var g = e.defaultProps;
|
|
451
|
+
for (v in g)
|
|
452
|
+
l[v] === void 0 && (l[v] = g[v]);
|
|
453
453
|
}
|
|
454
|
-
if (
|
|
454
|
+
if (c || O) {
|
|
455
455
|
var _ = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
456
|
-
|
|
456
|
+
c && gt(l, _), O && bt(l, _);
|
|
457
457
|
}
|
|
458
|
-
return
|
|
458
|
+
return _t(e, c, O, d, a, We.current, l);
|
|
459
459
|
}
|
|
460
460
|
}
|
|
461
|
-
var
|
|
462
|
-
function
|
|
461
|
+
var ve = M.ReactCurrentOwner, Ye = M.ReactDebugCurrentFrame;
|
|
462
|
+
function V(e) {
|
|
463
463
|
if (e) {
|
|
464
|
-
var t = e._owner,
|
|
465
|
-
|
|
464
|
+
var t = e._owner, o = ee(e.type, e._source, t ? t.type : null);
|
|
465
|
+
Ye.setExtraStackFrame(o);
|
|
466
466
|
} else
|
|
467
|
-
|
|
467
|
+
Ye.setExtraStackFrame(null);
|
|
468
468
|
}
|
|
469
|
-
var
|
|
470
|
-
|
|
471
|
-
function
|
|
472
|
-
return typeof e == "object" && e !== null && e.$$typeof ===
|
|
469
|
+
var me;
|
|
470
|
+
me = !1;
|
|
471
|
+
function he(e) {
|
|
472
|
+
return typeof e == "object" && e !== null && e.$$typeof === n;
|
|
473
473
|
}
|
|
474
|
-
function
|
|
474
|
+
function Ve() {
|
|
475
475
|
{
|
|
476
|
-
if (
|
|
477
|
-
var e = T(
|
|
476
|
+
if (ve.current) {
|
|
477
|
+
var e = T(ve.current.type);
|
|
478
478
|
if (e)
|
|
479
479
|
return `
|
|
480
480
|
|
|
@@ -483,51 +483,51 @@ 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 ze = {};
|
|
490
|
+
function St(e) {
|
|
491
491
|
{
|
|
492
|
-
var t =
|
|
492
|
+
var t = Ve();
|
|
493
493
|
if (!t) {
|
|
494
|
-
var
|
|
495
|
-
|
|
494
|
+
var o = typeof e == "string" ? e : e.displayName || e.name;
|
|
495
|
+
o && (t = `
|
|
496
496
|
|
|
497
|
-
Check the top-level render call using <` +
|
|
497
|
+
Check the top-level render call using <` + o + ">.");
|
|
498
498
|
}
|
|
499
499
|
return t;
|
|
500
500
|
}
|
|
501
501
|
}
|
|
502
|
-
function
|
|
502
|
+
function qe(e, t) {
|
|
503
503
|
{
|
|
504
504
|
if (!e._store || e._store.validated || e.key != null)
|
|
505
505
|
return;
|
|
506
506
|
e._store.validated = !0;
|
|
507
|
-
var
|
|
508
|
-
if (
|
|
507
|
+
var o = St(t);
|
|
508
|
+
if (ze[o])
|
|
509
509
|
return;
|
|
510
|
-
|
|
510
|
+
ze[o] = !0;
|
|
511
511
|
var a = "";
|
|
512
|
-
e && e._owner && e._owner !==
|
|
512
|
+
e && e._owner && e._owner !== ve.current && (a = " It was passed a child from " + T(e._owner.type) + "."), V(e), E('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', o, a), V(null);
|
|
513
513
|
}
|
|
514
514
|
}
|
|
515
|
-
function
|
|
515
|
+
function Je(e, t) {
|
|
516
516
|
{
|
|
517
517
|
if (typeof e != "object")
|
|
518
518
|
return;
|
|
519
|
-
if (
|
|
520
|
-
for (var
|
|
521
|
-
var a = e[
|
|
522
|
-
|
|
519
|
+
if (pe(e))
|
|
520
|
+
for (var o = 0; o < e.length; o++) {
|
|
521
|
+
var a = e[o];
|
|
522
|
+
he(a) && qe(a, t);
|
|
523
523
|
}
|
|
524
|
-
else if (
|
|
524
|
+
else if (he(e))
|
|
525
525
|
e._store && (e._store.validated = !0);
|
|
526
526
|
else if (e) {
|
|
527
|
-
var d =
|
|
527
|
+
var d = Oe(e);
|
|
528
528
|
if (typeof d == "function" && d !== e.entries)
|
|
529
|
-
for (var
|
|
530
|
-
|
|
529
|
+
for (var v = d.call(e), l; !(l = v.next()).done; )
|
|
530
|
+
he(l.value) && qe(l.value, t);
|
|
531
531
|
}
|
|
532
532
|
}
|
|
533
533
|
}
|
|
@@ -536,258 +536,258 @@ Check the top-level render call using <` + n + ">.");
|
|
|
536
536
|
var t = e.type;
|
|
537
537
|
if (t == null || typeof t == "string")
|
|
538
538
|
return;
|
|
539
|
-
var
|
|
539
|
+
var o;
|
|
540
540
|
if (typeof t == "function")
|
|
541
|
-
|
|
542
|
-
else if (typeof t == "object" && (t.$$typeof ===
|
|
541
|
+
o = t.propTypes;
|
|
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
|
+
o = t.propTypes;
|
|
546
546
|
else
|
|
547
547
|
return;
|
|
548
|
-
if (
|
|
548
|
+
if (o) {
|
|
549
549
|
var a = T(t);
|
|
550
|
-
|
|
551
|
-
} else if (t.PropTypes !== void 0 && !
|
|
552
|
-
|
|
550
|
+
ut(o, e.props, "prop", a, e);
|
|
551
|
+
} else if (t.PropTypes !== void 0 && !me) {
|
|
552
|
+
me = !0;
|
|
553
553
|
var d = T(t);
|
|
554
|
-
|
|
554
|
+
E("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", d || "Unknown");
|
|
555
555
|
}
|
|
556
|
-
typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved &&
|
|
556
|
+
typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && E("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
|
-
for (var t = Object.keys(e.props),
|
|
562
|
-
var a = t[
|
|
561
|
+
for (var t = Object.keys(e.props), o = 0; o < t.length; o++) {
|
|
562
|
+
var a = t[o];
|
|
563
563
|
if (a !== "children" && a !== "key") {
|
|
564
|
-
|
|
564
|
+
V(e), E("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", a), V(null);
|
|
565
565
|
break;
|
|
566
566
|
}
|
|
567
567
|
}
|
|
568
|
-
e.ref !== null && (
|
|
568
|
+
e.ref !== null && (V(e), E("Invalid attribute `ref` supplied to `React.Fragment`."), V(null));
|
|
569
569
|
}
|
|
570
570
|
}
|
|
571
|
-
var
|
|
572
|
-
function
|
|
571
|
+
var He = {};
|
|
572
|
+
function Ke(e, t, o, a, d, v) {
|
|
573
573
|
{
|
|
574
|
-
var
|
|
575
|
-
if (!
|
|
576
|
-
var
|
|
577
|
-
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (
|
|
578
|
-
var
|
|
579
|
-
|
|
580
|
-
var
|
|
581
|
-
e === null ?
|
|
574
|
+
var l = Y(e);
|
|
575
|
+
if (!l) {
|
|
576
|
+
var c = "";
|
|
577
|
+
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (c += " 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 O = kt();
|
|
579
|
+
O ? c += O : c += Ve();
|
|
580
|
+
var g;
|
|
581
|
+
e === null ? g = "null" : pe(e) ? g = "array" : e !== void 0 && e.$$typeof === n ? (g = "<" + (T(e.type) || "Unknown") + " />", c = " Did you accidentally export a JSX literal instead of a component?") : g = typeof e, E("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", g, c);
|
|
582
582
|
}
|
|
583
|
-
var _ =
|
|
583
|
+
var _ = Rt(e, t, o, d, v);
|
|
584
584
|
if (_ == null)
|
|
585
585
|
return _;
|
|
586
|
-
if (
|
|
586
|
+
if (l) {
|
|
587
587
|
var P = t.children;
|
|
588
588
|
if (P !== void 0)
|
|
589
589
|
if (a)
|
|
590
|
-
if (
|
|
591
|
-
for (var
|
|
592
|
-
|
|
590
|
+
if (pe(P)) {
|
|
591
|
+
for (var z = 0; z < P.length; z++)
|
|
592
|
+
Je(P[z], e);
|
|
593
593
|
Object.freeze && Object.freeze(P);
|
|
594
594
|
} else
|
|
595
|
-
|
|
595
|
+
E("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
|
+
Je(P, e);
|
|
598
598
|
}
|
|
599
|
-
if (
|
|
600
|
-
var W = T(e),
|
|
601
|
-
return
|
|
602
|
-
}),
|
|
603
|
-
if (!
|
|
604
|
-
var
|
|
605
|
-
|
|
599
|
+
if (q.call(t, "key")) {
|
|
600
|
+
var W = T(e), C = Object.keys(t).filter(function(At) {
|
|
601
|
+
return At !== "key";
|
|
602
|
+
}), ye = C.length > 0 ? "{key: someKey, " + C.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
603
|
+
if (!He[W + ye]) {
|
|
604
|
+
var Pt = C.length > 0 ? "{" + C.join(": ..., ") + ": ...}" : "{}";
|
|
605
|
+
E(`A props object containing a "key" prop is being spread into JSX:
|
|
606
606
|
let props = %s;
|
|
607
607
|
<%s {...props} />
|
|
608
608
|
React keys must be passed directly to JSX without using spread:
|
|
609
609
|
let props = %s;
|
|
610
|
-
<%s key={someKey} {...props} />`,
|
|
610
|
+
<%s key={someKey} {...props} />`, ye, W, Pt, W), He[W + ye] = !0;
|
|
611
611
|
}
|
|
612
612
|
}
|
|
613
|
-
return e ===
|
|
613
|
+
return e === f ? xt(_) : Et(_), _;
|
|
614
614
|
}
|
|
615
615
|
}
|
|
616
|
-
function
|
|
617
|
-
return
|
|
616
|
+
function jt(e, t, o) {
|
|
617
|
+
return Ke(e, t, o, !0);
|
|
618
618
|
}
|
|
619
|
-
function
|
|
620
|
-
return
|
|
619
|
+
function Ot(e, t, o) {
|
|
620
|
+
return Ke(e, t, o, !1);
|
|
621
621
|
}
|
|
622
|
-
var
|
|
623
|
-
|
|
624
|
-
}()),
|
|
622
|
+
var Ct = Ot, wt = jt;
|
|
623
|
+
Ze.Fragment = f, Ze.jsx = Ct, Ze.jsxs = wt;
|
|
624
|
+
}()), Ze;
|
|
625
625
|
}
|
|
626
|
-
process.env.NODE_ENV === "production" ?
|
|
627
|
-
var
|
|
626
|
+
process.env.NODE_ENV === "production" ? Tt.exports = Gt() : Tt.exports = Zt();
|
|
627
|
+
var s = Tt.exports;
|
|
628
628
|
let Z = {};
|
|
629
|
-
var
|
|
629
|
+
var It;
|
|
630
630
|
((r) => {
|
|
631
|
-
function
|
|
632
|
-
const [
|
|
631
|
+
function n({ children: R }) {
|
|
632
|
+
const [p, j] = ce(!1), [m, b] = ce(!1);
|
|
633
633
|
if (Z.onClose = () => {
|
|
634
|
-
|
|
635
|
-
|
|
634
|
+
U.BackButton(!1), b(!0), setTimeout(() => {
|
|
635
|
+
j(!1), b(!1);
|
|
636
636
|
}, 300);
|
|
637
|
-
},
|
|
638
|
-
|
|
637
|
+
}, et(() => {
|
|
638
|
+
p ? Z.onClose() : (U.BackButton({
|
|
639
639
|
callback: () => Z.onClose()
|
|
640
|
-
}),
|
|
641
|
-
}, []), !!
|
|
642
|
-
return /* @__PURE__ */
|
|
640
|
+
}), j(!0));
|
|
641
|
+
}, []), !!p)
|
|
642
|
+
return /* @__PURE__ */ s.jsx("div", { className: `modal-overlay ${m ? "closing" : ""}`, children: /* @__PURE__ */ s.jsx("div", { className: `modal-popup ${m ? "closing" : ""}`, children: /* @__PURE__ */ s.jsx("div", { children: R }) }) });
|
|
643
643
|
}
|
|
644
|
-
r.Content =
|
|
645
|
-
function
|
|
644
|
+
r.Content = n;
|
|
645
|
+
function i({
|
|
646
646
|
import_modules: R
|
|
647
647
|
}) {
|
|
648
|
-
let [
|
|
648
|
+
let [p, j] = ce([]);
|
|
649
649
|
return Z.x = (m) => {
|
|
650
|
-
|
|
651
|
-
},
|
|
650
|
+
j(m ? p.filter((b) => b.key !== m) : []);
|
|
651
|
+
}, et(() => {
|
|
652
652
|
R && (Z.i = R);
|
|
653
653
|
}, []), Z.add = (m, b = Date.now()) => {
|
|
654
|
-
|
|
655
|
-
}, /* @__PURE__ */
|
|
654
|
+
j([...p, { key: b, item: m }]);
|
|
655
|
+
}, /* @__PURE__ */ s.jsx(s.Fragment, { children: p.map((m) => m.item) });
|
|
656
656
|
}
|
|
657
|
-
r.Init =
|
|
658
|
-
function
|
|
659
|
-
Z.add(/* @__PURE__ */
|
|
657
|
+
r.Init = i;
|
|
658
|
+
function f(R, p) {
|
|
659
|
+
Z.add(/* @__PURE__ */ s.jsx(n, { 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(
|
|
666
|
-
/* @__PURE__ */
|
|
666
|
+
/* @__PURE__ */ s.jsx(R, { ...m }, (/* @__PURE__ */ new Date()).getTime())
|
|
667
667
|
);
|
|
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
|
|
693
|
-
|
|
691
|
+
function Ft(r) {
|
|
692
|
+
const n = Yt();
|
|
693
|
+
n.CRYPTO_PARAMS ? n.CRYPTO_PARAMS = { ...n.CRYPTO_PARAMS, ...r } : n.CRYPTO_PARAMS = { ...Vt, ...r };
|
|
694
694
|
}
|
|
695
|
-
function
|
|
696
|
-
return
|
|
695
|
+
function rt() {
|
|
696
|
+
return Yt().CRYPTO_PARAMS || Vt;
|
|
697
697
|
}
|
|
698
|
-
const
|
|
699
|
-
let
|
|
700
|
-
for (let
|
|
701
|
-
const
|
|
702
|
-
|
|
698
|
+
const nt = (r) => {
|
|
699
|
+
let n = 0;
|
|
700
|
+
for (let f = 0; f < r.length; f++) {
|
|
701
|
+
const u = r.charCodeAt(f);
|
|
702
|
+
n = (n << 5) - n + u, n = n & n;
|
|
703
703
|
}
|
|
704
|
-
|
|
705
|
-
let
|
|
706
|
-
for (let
|
|
707
|
-
const
|
|
708
|
-
|
|
704
|
+
n = Math.abs(n);
|
|
705
|
+
let i = "";
|
|
706
|
+
for (let f = 0; f < 64; f++) {
|
|
707
|
+
const u = (n ^ f * 197) & 255;
|
|
708
|
+
i += u.toString(16).padStart(2, "0");
|
|
709
709
|
}
|
|
710
|
-
return
|
|
711
|
-
},
|
|
712
|
-
let
|
|
713
|
-
for (let
|
|
714
|
-
|
|
715
|
-
const
|
|
716
|
-
for (let
|
|
717
|
-
u
|
|
718
|
-
return
|
|
719
|
-
},
|
|
720
|
-
const
|
|
721
|
-
let
|
|
710
|
+
return i;
|
|
711
|
+
}, zt = (r, n) => {
|
|
712
|
+
let i = r + n;
|
|
713
|
+
for (let u = 0; u < rt().iterations; u++)
|
|
714
|
+
i = nt(i);
|
|
715
|
+
const f = new Uint8Array(32);
|
|
716
|
+
for (let u = 0; u < 32; u++)
|
|
717
|
+
f[u] = parseInt(i.substring(u * 2, u * 2 + 2), 16);
|
|
718
|
+
return f;
|
|
719
|
+
}, qt = (r, n) => {
|
|
720
|
+
const i = 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 % n.length;
|
|
724
|
+
u = n[x] + h + u & 255, f[h] = u;
|
|
725
725
|
}
|
|
726
726
|
for (let h = 0; h < r.length; h++)
|
|
727
|
-
|
|
728
|
-
return
|
|
727
|
+
i[h] = r[h] ^ f[h];
|
|
728
|
+
return i;
|
|
729
729
|
}, Xt = (r) => new TextEncoder().encode(r), Qt = (r) => new TextDecoder().decode(r), er = (r) => {
|
|
730
|
-
let
|
|
731
|
-
for (let
|
|
732
|
-
const
|
|
733
|
-
|
|
730
|
+
let n = "";
|
|
731
|
+
for (let i = 0; i < r.length; i += 8192) {
|
|
732
|
+
const f = r.slice(i, Math.min(i + 8192, r.length));
|
|
733
|
+
n += String.fromCharCode.apply(null, Array.from(f));
|
|
734
734
|
}
|
|
735
|
-
return btoa(
|
|
735
|
+
return btoa(n);
|
|
736
736
|
}, tr = (r) => {
|
|
737
|
-
const
|
|
738
|
-
for (let
|
|
739
|
-
|
|
740
|
-
return
|
|
737
|
+
const n = atob(r), i = new Uint8Array(n.length);
|
|
738
|
+
for (let f = 0; f < n.length; f++)
|
|
739
|
+
i[f] = n.charCodeAt(f);
|
|
740
|
+
return i;
|
|
741
741
|
}, rr = (r) => {
|
|
742
742
|
try {
|
|
743
|
-
const
|
|
743
|
+
const n = nt(
|
|
744
744
|
Date.now().toString() + Math.random()
|
|
745
|
-
).substring(0,
|
|
746
|
-
return `${
|
|
745
|
+
).substring(0, rt().saltLength * 2), i = nt(r + n).substring(0, 8), f = zt(rt().key, n), u = Xt(r), h = qt(u, f), x = er(h);
|
|
746
|
+
return `${n}.${x}.${i}`;
|
|
747
747
|
} catch {
|
|
748
748
|
throw new Error("Не удалось зашифровать данные");
|
|
749
749
|
}
|
|
750
750
|
}, nr = (r) => {
|
|
751
751
|
try {
|
|
752
|
-
const
|
|
753
|
-
if (
|
|
752
|
+
const n = r.split(".");
|
|
753
|
+
if (n.length !== 3)
|
|
754
754
|
throw new Error("Неверный формат зашифрованных данных");
|
|
755
|
-
const
|
|
756
|
-
if (
|
|
755
|
+
const i = n[0], f = n[1], u = n[2], h = zt(rt().key, i), x = tr(f), R = qt(x, h), p = Qt(R);
|
|
756
|
+
if (nt(p + i).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
|
}
|
|
765
765
|
};
|
|
766
|
-
var
|
|
766
|
+
var se;
|
|
767
767
|
((r) => {
|
|
768
|
-
r.setKey = (
|
|
769
|
-
|
|
770
|
-
}, r.enCode = (
|
|
768
|
+
r.setKey = (n) => {
|
|
769
|
+
Ft({ key: n });
|
|
770
|
+
}, r.enCode = (n) => {
|
|
771
771
|
try {
|
|
772
|
-
const
|
|
773
|
-
return rr(
|
|
772
|
+
const i = JSON.stringify(n);
|
|
773
|
+
return rr(i);
|
|
774
774
|
} catch {
|
|
775
775
|
throw new Error("Не удалось зашифровать объект");
|
|
776
776
|
}
|
|
777
|
-
}, r.deCode = (
|
|
777
|
+
}, r.deCode = (n) => {
|
|
778
778
|
try {
|
|
779
|
-
if (!
|
|
779
|
+
if (!n || n.length < 10)
|
|
780
780
|
return !1;
|
|
781
|
-
const
|
|
782
|
-
return
|
|
781
|
+
const i = nr(n);
|
|
782
|
+
return i && JSON.parse(i) || !1;
|
|
783
783
|
} catch {
|
|
784
784
|
return !1;
|
|
785
785
|
}
|
|
786
|
-
}, r.setSecurityParams = (
|
|
787
|
-
|
|
786
|
+
}, r.setSecurityParams = (n, i) => {
|
|
787
|
+
Ft({ iterations: n, saltLength: i });
|
|
788
788
|
};
|
|
789
|
-
})(
|
|
790
|
-
var
|
|
789
|
+
})(se || (se = {}));
|
|
790
|
+
var Xe = {};
|
|
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 Dt;
|
|
801
801
|
function or() {
|
|
802
|
-
if (
|
|
803
|
-
|
|
804
|
-
var r =
|
|
805
|
-
function
|
|
806
|
-
var m, b = {}, k = null,
|
|
807
|
-
|
|
808
|
-
for (m in
|
|
809
|
-
if (R && R.defaultProps) for (m in
|
|
810
|
-
return { $$typeof:
|
|
802
|
+
if (Dt) return Xe;
|
|
803
|
+
Dt = 1;
|
|
804
|
+
var r = B, n = Symbol.for("react.element"), i = 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: n, type: R, key: k, ref: N, props: b, _owner: u.current };
|
|
811
811
|
}
|
|
812
|
-
return
|
|
812
|
+
return Xe.Fragment = i, Xe.jsx = x, Xe.jsxs = x, Xe;
|
|
813
813
|
}
|
|
814
|
-
var
|
|
814
|
+
var tt = {};
|
|
815
815
|
/**
|
|
816
816
|
* @license React
|
|
817
817
|
* react-jsx-runtime.development.js
|
|
@@ -821,70 +821,70 @@ 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 Mt;
|
|
825
825
|
function ar() {
|
|
826
|
-
return
|
|
827
|
-
var r =
|
|
828
|
-
function
|
|
826
|
+
return Mt || (Mt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
827
|
+
var r = B, n = Symbol.for("react.element"), i = 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, je = "@@iterator";
|
|
828
|
+
function Oe(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[je];
|
|
832
832
|
return typeof t == "function" ? t : null;
|
|
833
833
|
}
|
|
834
|
-
var
|
|
835
|
-
function
|
|
834
|
+
var M = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
835
|
+
function E(e) {
|
|
836
836
|
{
|
|
837
|
-
for (var t = arguments.length,
|
|
838
|
-
|
|
839
|
-
|
|
837
|
+
for (var t = arguments.length, o = new Array(t > 1 ? t - 1 : 0), a = 1; a < t; a++)
|
|
838
|
+
o[a - 1] = arguments[a];
|
|
839
|
+
ke("error", e, o);
|
|
840
840
|
}
|
|
841
841
|
}
|
|
842
|
-
function
|
|
842
|
+
function ke(e, t, o) {
|
|
843
843
|
{
|
|
844
|
-
var a =
|
|
845
|
-
d !== "" && (t += "%s",
|
|
846
|
-
var
|
|
847
|
-
return String(
|
|
844
|
+
var a = M.ReactDebugCurrentFrame, d = a.getStackAddendum();
|
|
845
|
+
d !== "" && (t += "%s", o = o.concat([d]));
|
|
846
|
+
var v = o.map(function(l) {
|
|
847
|
+
return String(l);
|
|
848
848
|
});
|
|
849
|
-
|
|
849
|
+
v.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, v);
|
|
850
850
|
}
|
|
851
851
|
}
|
|
852
|
-
var
|
|
853
|
-
|
|
854
|
-
function
|
|
855
|
-
return !!(typeof e == "string" || typeof e == "function" || e ===
|
|
852
|
+
var Ce = !1, we = !1, y = !1, S = !1, I = !1, F;
|
|
853
|
+
F = Symbol.for("react.module.reference");
|
|
854
|
+
function Y(e) {
|
|
855
|
+
return !!(typeof e == "string" || typeof e == "function" || e === f || e === h || I || e === u || e === j || e === m || S || e === N || Ce || we || y || 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.
|
|
859
|
-
e.$$typeof ===
|
|
859
|
+
e.$$typeof === F || e.getModuleId !== void 0));
|
|
860
860
|
}
|
|
861
|
-
function ae(e, t,
|
|
861
|
+
function ae(e, t, o) {
|
|
862
862
|
var a = e.displayName;
|
|
863
863
|
if (a)
|
|
864
864
|
return a;
|
|
865
865
|
var d = t.displayName || t.name || "";
|
|
866
|
-
return d !== "" ?
|
|
866
|
+
return d !== "" ? o + "(" + d + ")" : o;
|
|
867
867
|
}
|
|
868
|
-
function
|
|
868
|
+
function ie(e) {
|
|
869
869
|
return e.displayName || "Context";
|
|
870
870
|
}
|
|
871
871
|
function T(e) {
|
|
872
872
|
if (e == null)
|
|
873
873
|
return null;
|
|
874
|
-
if (typeof e.tag == "number" &&
|
|
874
|
+
if (typeof e.tag == "number" && E("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
875
875
|
return e.displayName || e.name || null;
|
|
876
876
|
if (typeof e == "string")
|
|
877
877
|
return e;
|
|
878
878
|
switch (e) {
|
|
879
|
-
case
|
|
879
|
+
case f:
|
|
880
880
|
return "Fragment";
|
|
881
|
-
case
|
|
881
|
+
case i:
|
|
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";
|
|
@@ -893,19 +893,19 @@ function ar() {
|
|
|
893
893
|
switch (e.$$typeof) {
|
|
894
894
|
case R:
|
|
895
895
|
var t = e;
|
|
896
|
-
return
|
|
897
|
-
case
|
|
898
|
-
var
|
|
899
|
-
return
|
|
900
|
-
case
|
|
896
|
+
return ie(t) + ".Consumer";
|
|
897
|
+
case x:
|
|
898
|
+
var o = e;
|
|
899
|
+
return ie(o._context) + ".Provider";
|
|
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, l = d._init;
|
|
907
907
|
try {
|
|
908
|
-
return T(
|
|
908
|
+
return T(l(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, D = 0, H, K, G, Pe, Ae, Te, Ie;
|
|
917
|
+
function $e() {
|
|
918
918
|
}
|
|
919
|
-
|
|
920
|
-
function
|
|
919
|
+
$e.__reactDisabledLog = !0;
|
|
920
|
+
function at() {
|
|
921
921
|
{
|
|
922
|
-
if (
|
|
923
|
-
|
|
922
|
+
if (D === 0) {
|
|
923
|
+
H = console.log, K = console.info, G = console.warn, Pe = console.error, Ae = console.group, Te = console.groupCollapsed, Ie = console.groupEnd;
|
|
924
924
|
var e = {
|
|
925
925
|
configurable: !0,
|
|
926
926
|
enumerable: !0,
|
|
927
|
-
value:
|
|
927
|
+
value: $e,
|
|
928
928
|
writable: !0
|
|
929
929
|
};
|
|
930
930
|
Object.defineProperties(console, {
|
|
@@ -937,208 +937,208 @@ function ar() {
|
|
|
937
937
|
groupEnd: e
|
|
938
938
|
});
|
|
939
939
|
}
|
|
940
|
-
|
|
940
|
+
D++;
|
|
941
941
|
}
|
|
942
942
|
}
|
|
943
|
-
function
|
|
943
|
+
function it() {
|
|
944
944
|
{
|
|
945
|
-
if (
|
|
945
|
+
if (D--, D === 0) {
|
|
946
946
|
var e = {
|
|
947
947
|
configurable: !0,
|
|
948
948
|
enumerable: !0,
|
|
949
949
|
writable: !0
|
|
950
950
|
};
|
|
951
951
|
Object.defineProperties(console, {
|
|
952
|
-
log:
|
|
953
|
-
value: K
|
|
954
|
-
}),
|
|
955
|
-
info: N({}, e, {
|
|
952
|
+
log: $({}, e, {
|
|
956
953
|
value: H
|
|
957
954
|
}),
|
|
958
|
-
|
|
959
|
-
value:
|
|
960
|
-
}),
|
|
961
|
-
error: N({}, e, {
|
|
962
|
-
value: Ce
|
|
955
|
+
info: $({}, e, {
|
|
956
|
+
value: K
|
|
963
957
|
}),
|
|
964
|
-
|
|
965
|
-
value:
|
|
958
|
+
warn: $({}, e, {
|
|
959
|
+
value: G
|
|
966
960
|
}),
|
|
967
|
-
|
|
961
|
+
error: $({}, e, {
|
|
968
962
|
value: Pe
|
|
969
963
|
}),
|
|
970
|
-
|
|
964
|
+
group: $({}, e, {
|
|
971
965
|
value: Ae
|
|
966
|
+
}),
|
|
967
|
+
groupCollapsed: $({}, e, {
|
|
968
|
+
value: Te
|
|
969
|
+
}),
|
|
970
|
+
groupEnd: $({}, e, {
|
|
971
|
+
value: Ie
|
|
972
972
|
})
|
|
973
973
|
});
|
|
974
974
|
}
|
|
975
|
-
|
|
975
|
+
D < 0 && E("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
976
976
|
}
|
|
977
977
|
}
|
|
978
|
-
var
|
|
979
|
-
function X(e, t,
|
|
978
|
+
var ue = M.ReactCurrentDispatcher, fe;
|
|
979
|
+
function X(e, t, o) {
|
|
980
980
|
{
|
|
981
|
-
if (
|
|
981
|
+
if (fe === void 0)
|
|
982
982
|
try {
|
|
983
983
|
throw Error();
|
|
984
984
|
} catch (d) {
|
|
985
985
|
var a = d.stack.trim().match(/\n( *(at )?)/);
|
|
986
|
-
|
|
986
|
+
fe = a && a[1] || "";
|
|
987
987
|
}
|
|
988
988
|
return `
|
|
989
|
-
` +
|
|
989
|
+
` + fe + e;
|
|
990
990
|
}
|
|
991
991
|
}
|
|
992
|
-
var
|
|
992
|
+
var de = !1, Q;
|
|
993
993
|
{
|
|
994
994
|
var st = typeof WeakMap == "function" ? WeakMap : Map;
|
|
995
995
|
Q = new st();
|
|
996
996
|
}
|
|
997
|
-
function
|
|
998
|
-
if (!e ||
|
|
997
|
+
function Ne(e, t) {
|
|
998
|
+
if (!e || de)
|
|
999
999
|
return "";
|
|
1000
1000
|
{
|
|
1001
|
-
var
|
|
1002
|
-
if (
|
|
1003
|
-
return
|
|
1001
|
+
var o = Q.get(e);
|
|
1002
|
+
if (o !== void 0)
|
|
1003
|
+
return o;
|
|
1004
1004
|
}
|
|
1005
1005
|
var a;
|
|
1006
|
-
|
|
1006
|
+
de = !0;
|
|
1007
1007
|
var d = Error.prepareStackTrace;
|
|
1008
1008
|
Error.prepareStackTrace = void 0;
|
|
1009
|
-
var
|
|
1010
|
-
|
|
1009
|
+
var v;
|
|
1010
|
+
v = ue.current, ue.current = null, at();
|
|
1011
1011
|
try {
|
|
1012
1012
|
if (t) {
|
|
1013
|
-
var
|
|
1013
|
+
var l = function() {
|
|
1014
1014
|
throw Error();
|
|
1015
1015
|
};
|
|
1016
|
-
if (Object.defineProperty(
|
|
1016
|
+
if (Object.defineProperty(l.prototype, "props", {
|
|
1017
1017
|
set: function() {
|
|
1018
1018
|
throw Error();
|
|
1019
1019
|
}
|
|
1020
1020
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
1021
1021
|
try {
|
|
1022
|
-
Reflect.construct(
|
|
1023
|
-
} catch (
|
|
1024
|
-
a =
|
|
1022
|
+
Reflect.construct(l, []);
|
|
1023
|
+
} catch (C) {
|
|
1024
|
+
a = C;
|
|
1025
1025
|
}
|
|
1026
|
-
Reflect.construct(e, [],
|
|
1026
|
+
Reflect.construct(e, [], l);
|
|
1027
1027
|
} else {
|
|
1028
1028
|
try {
|
|
1029
|
-
|
|
1030
|
-
} catch (
|
|
1031
|
-
a =
|
|
1029
|
+
l.call();
|
|
1030
|
+
} catch (C) {
|
|
1031
|
+
a = C;
|
|
1032
1032
|
}
|
|
1033
|
-
e.call(
|
|
1033
|
+
e.call(l.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
|
|
1046
|
-
`),
|
|
1047
|
-
`),
|
|
1043
|
+
} catch (C) {
|
|
1044
|
+
if (C && a && typeof C.stack == "string") {
|
|
1045
|
+
for (var c = C.stack.split(`
|
|
1046
|
+
`), O = a.stack.split(`
|
|
1047
|
+
`), g = c.length - 1, _ = O.length - 1; g >= 1 && _ >= 0 && c[g] !== O[_]; )
|
|
1048
1048
|
_--;
|
|
1049
|
-
for (;
|
|
1050
|
-
if (
|
|
1051
|
-
if (
|
|
1049
|
+
for (; g >= 1 && _ >= 0; g--, _--)
|
|
1050
|
+
if (c[g] !== O[_]) {
|
|
1051
|
+
if (g !== 1 || _ !== 1)
|
|
1052
1052
|
do
|
|
1053
|
-
if (
|
|
1053
|
+
if (g--, _--, _ < 0 || c[g] !== O[_]) {
|
|
1054
1054
|
var P = `
|
|
1055
|
-
` +
|
|
1055
|
+
` + c[g].replace(" at new ", " at ");
|
|
1056
1056
|
return e.displayName && P.includes("<anonymous>") && (P = P.replace("<anonymous>", e.displayName)), typeof e == "function" && Q.set(e, P), P;
|
|
1057
1057
|
}
|
|
1058
|
-
while (
|
|
1058
|
+
while (g >= 1 && _ >= 0);
|
|
1059
1059
|
break;
|
|
1060
1060
|
}
|
|
1061
1061
|
}
|
|
1062
1062
|
} finally {
|
|
1063
|
-
|
|
1063
|
+
de = !1, ue.current = v, it(), Error.prepareStackTrace = d;
|
|
1064
1064
|
}
|
|
1065
|
-
var
|
|
1065
|
+
var z = e ? e.displayName || e.name : "", W = z ? X(z) : "";
|
|
1066
1066
|
return typeof e == "function" && Q.set(e, W), W;
|
|
1067
1067
|
}
|
|
1068
|
-
function
|
|
1069
|
-
return
|
|
1068
|
+
function ct(e, t, o) {
|
|
1069
|
+
return Ne(e, !1);
|
|
1070
1070
|
}
|
|
1071
1071
|
function lt(e) {
|
|
1072
1072
|
var t = e.prototype;
|
|
1073
1073
|
return !!(t && t.isReactComponent);
|
|
1074
1074
|
}
|
|
1075
|
-
function ee(e, t,
|
|
1075
|
+
function ee(e, t, o) {
|
|
1076
1076
|
if (e == null)
|
|
1077
1077
|
return "";
|
|
1078
1078
|
if (typeof e == "function")
|
|
1079
|
-
return
|
|
1079
|
+
return Ne(e, lt(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 ct(e.render);
|
|
1092
1092
|
case b:
|
|
1093
|
-
return ee(e.type, t,
|
|
1093
|
+
return ee(e.type, t, o);
|
|
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, o);
|
|
1098
1098
|
} catch {
|
|
1099
1099
|
}
|
|
1100
1100
|
}
|
|
1101
1101
|
}
|
|
1102
1102
|
return "";
|
|
1103
1103
|
}
|
|
1104
|
-
var
|
|
1104
|
+
var q = Object.prototype.hasOwnProperty, Be = {}, Fe = M.ReactDebugCurrentFrame;
|
|
1105
1105
|
function te(e) {
|
|
1106
1106
|
if (e) {
|
|
1107
|
-
var t = e._owner,
|
|
1108
|
-
|
|
1107
|
+
var t = e._owner, o = ee(e.type, e._source, t ? t.type : null);
|
|
1108
|
+
Fe.setExtraStackFrame(o);
|
|
1109
1109
|
} else
|
|
1110
|
-
|
|
1110
|
+
Fe.setExtraStackFrame(null);
|
|
1111
1111
|
}
|
|
1112
|
-
function
|
|
1112
|
+
function ut(e, t, o, a, d) {
|
|
1113
1113
|
{
|
|
1114
|
-
var
|
|
1115
|
-
for (var
|
|
1116
|
-
if (
|
|
1117
|
-
var
|
|
1114
|
+
var v = Function.call.bind(q);
|
|
1115
|
+
for (var l in e)
|
|
1116
|
+
if (v(e, l)) {
|
|
1117
|
+
var c = void 0;
|
|
1118
1118
|
try {
|
|
1119
|
-
if (typeof e[
|
|
1120
|
-
var
|
|
1121
|
-
throw
|
|
1119
|
+
if (typeof e[l] != "function") {
|
|
1120
|
+
var O = Error((a || "React class") + ": " + o + " type `" + l + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[l] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
1121
|
+
throw O.name = "Invariant Violation", O;
|
|
1122
1122
|
}
|
|
1123
|
-
|
|
1124
|
-
} catch (
|
|
1125
|
-
|
|
1123
|
+
c = e[l](t, l, a, o, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
1124
|
+
} catch (g) {
|
|
1125
|
+
c = g;
|
|
1126
1126
|
}
|
|
1127
|
-
|
|
1127
|
+
c && !(c instanceof Error) && (te(d), E("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", a || "React class", o, l, typeof c), te(null)), c instanceof Error && !(c.message in Be) && (Be[c.message] = !0, te(d), E("Failed %s type: %s", o, c.message), te(null));
|
|
1128
1128
|
}
|
|
1129
1129
|
}
|
|
1130
1130
|
}
|
|
1131
|
-
var
|
|
1132
|
-
function
|
|
1133
|
-
return
|
|
1131
|
+
var ft = Array.isArray;
|
|
1132
|
+
function pe(e) {
|
|
1133
|
+
return ft(e);
|
|
1134
1134
|
}
|
|
1135
|
-
function
|
|
1135
|
+
function dt(e) {
|
|
1136
1136
|
{
|
|
1137
|
-
var t = typeof Symbol == "function" && Symbol.toStringTag,
|
|
1138
|
-
return
|
|
1137
|
+
var t = typeof Symbol == "function" && Symbol.toStringTag, o = t && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
1138
|
+
return o;
|
|
1139
1139
|
}
|
|
1140
1140
|
}
|
|
1141
|
-
function
|
|
1141
|
+
function pt(e) {
|
|
1142
1142
|
try {
|
|
1143
1143
|
return De(e), !1;
|
|
1144
1144
|
} catch {
|
|
@@ -1149,120 +1149,120 @@ function ar() {
|
|
|
1149
1149
|
return "" + e;
|
|
1150
1150
|
}
|
|
1151
1151
|
function Me(e) {
|
|
1152
|
-
if (
|
|
1153
|
-
return
|
|
1152
|
+
if (pt(e))
|
|
1153
|
+
return E("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", dt(e)), De(e);
|
|
1154
1154
|
}
|
|
1155
|
-
var
|
|
1155
|
+
var We = M.ReactCurrentOwner, vt = {
|
|
1156
1156
|
key: !0,
|
|
1157
1157
|
ref: !0,
|
|
1158
1158
|
__self: !0,
|
|
1159
1159
|
__source: !0
|
|
1160
|
-
},
|
|
1161
|
-
function
|
|
1162
|
-
if (
|
|
1160
|
+
}, Le, Ue;
|
|
1161
|
+
function mt(e) {
|
|
1162
|
+
if (q.call(e, "ref")) {
|
|
1163
1163
|
var t = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
1164
1164
|
if (t && t.isReactWarning)
|
|
1165
1165
|
return !1;
|
|
1166
1166
|
}
|
|
1167
1167
|
return e.ref !== void 0;
|
|
1168
1168
|
}
|
|
1169
|
-
function
|
|
1170
|
-
if (
|
|
1169
|
+
function ht(e) {
|
|
1170
|
+
if (q.call(e, "key")) {
|
|
1171
1171
|
var t = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
1172
1172
|
if (t && t.isReactWarning)
|
|
1173
1173
|
return !1;
|
|
1174
1174
|
}
|
|
1175
1175
|
return e.key !== void 0;
|
|
1176
1176
|
}
|
|
1177
|
-
function
|
|
1178
|
-
typeof e.ref == "string" &&
|
|
1177
|
+
function yt(e, t) {
|
|
1178
|
+
typeof e.ref == "string" && We.current;
|
|
1179
1179
|
}
|
|
1180
1180
|
function gt(e, t) {
|
|
1181
1181
|
{
|
|
1182
|
-
var
|
|
1183
|
-
|
|
1182
|
+
var o = function() {
|
|
1183
|
+
Le || (Le = !0, E("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
|
|
1184
1184
|
};
|
|
1185
|
-
|
|
1186
|
-
get:
|
|
1185
|
+
o.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
1186
|
+
get: o,
|
|
1187
1187
|
configurable: !0
|
|
1188
1188
|
});
|
|
1189
1189
|
}
|
|
1190
1190
|
}
|
|
1191
|
-
function
|
|
1191
|
+
function bt(e, t) {
|
|
1192
1192
|
{
|
|
1193
|
-
var
|
|
1194
|
-
|
|
1193
|
+
var o = function() {
|
|
1194
|
+
Ue || (Ue = !0, E("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
|
|
1195
1195
|
};
|
|
1196
|
-
|
|
1197
|
-
get:
|
|
1196
|
+
o.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
1197
|
+
get: o,
|
|
1198
1198
|
configurable: !0
|
|
1199
1199
|
});
|
|
1200
1200
|
}
|
|
1201
1201
|
}
|
|
1202
|
-
var
|
|
1203
|
-
var
|
|
1202
|
+
var _t = function(e, t, o, a, d, v, l) {
|
|
1203
|
+
var c = {
|
|
1204
1204
|
// This tag allows us to uniquely identify this as a React Element
|
|
1205
|
-
$$typeof:
|
|
1205
|
+
$$typeof: n,
|
|
1206
1206
|
// Built-in properties that belong on the element
|
|
1207
1207
|
type: e,
|
|
1208
1208
|
key: t,
|
|
1209
|
-
ref:
|
|
1210
|
-
props:
|
|
1209
|
+
ref: o,
|
|
1210
|
+
props: l,
|
|
1211
1211
|
// Record the component responsible for creating this element.
|
|
1212
|
-
_owner:
|
|
1212
|
+
_owner: v
|
|
1213
1213
|
};
|
|
1214
|
-
return
|
|
1214
|
+
return c._store = {}, Object.defineProperty(c._store, "validated", {
|
|
1215
1215
|
configurable: !1,
|
|
1216
1216
|
enumerable: !1,
|
|
1217
1217
|
writable: !0,
|
|
1218
1218
|
value: !1
|
|
1219
|
-
}), Object.defineProperty(
|
|
1219
|
+
}), Object.defineProperty(c, "_self", {
|
|
1220
1220
|
configurable: !1,
|
|
1221
1221
|
enumerable: !1,
|
|
1222
1222
|
writable: !1,
|
|
1223
1223
|
value: a
|
|
1224
|
-
}), Object.defineProperty(
|
|
1224
|
+
}), Object.defineProperty(c, "_source", {
|
|
1225
1225
|
configurable: !1,
|
|
1226
1226
|
enumerable: !1,
|
|
1227
1227
|
writable: !1,
|
|
1228
1228
|
value: d
|
|
1229
|
-
}), Object.freeze && (Object.freeze(
|
|
1229
|
+
}), Object.freeze && (Object.freeze(c.props), Object.freeze(c)), c;
|
|
1230
1230
|
};
|
|
1231
|
-
function
|
|
1231
|
+
function Rt(e, t, o, a, d) {
|
|
1232
1232
|
{
|
|
1233
|
-
var
|
|
1234
|
-
|
|
1235
|
-
for (
|
|
1236
|
-
|
|
1233
|
+
var v, l = {}, c = null, O = null;
|
|
1234
|
+
o !== void 0 && (Me(o), c = "" + o), ht(t) && (Me(t.key), c = "" + t.key), mt(t) && (O = t.ref, yt(t));
|
|
1235
|
+
for (v in t)
|
|
1236
|
+
q.call(t, v) && !vt.hasOwnProperty(v) && (l[v] = t[v]);
|
|
1237
1237
|
if (e && e.defaultProps) {
|
|
1238
|
-
var
|
|
1239
|
-
for (
|
|
1240
|
-
|
|
1238
|
+
var g = e.defaultProps;
|
|
1239
|
+
for (v in g)
|
|
1240
|
+
l[v] === void 0 && (l[v] = g[v]);
|
|
1241
1241
|
}
|
|
1242
|
-
if (
|
|
1242
|
+
if (c || O) {
|
|
1243
1243
|
var _ = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
1244
|
-
|
|
1244
|
+
c && gt(l, _), O && bt(l, _);
|
|
1245
1245
|
}
|
|
1246
|
-
return
|
|
1246
|
+
return _t(e, c, O, d, a, We.current, l);
|
|
1247
1247
|
}
|
|
1248
1248
|
}
|
|
1249
|
-
var
|
|
1250
|
-
function
|
|
1249
|
+
var ve = M.ReactCurrentOwner, Ye = M.ReactDebugCurrentFrame;
|
|
1250
|
+
function V(e) {
|
|
1251
1251
|
if (e) {
|
|
1252
|
-
var t = e._owner,
|
|
1253
|
-
|
|
1252
|
+
var t = e._owner, o = ee(e.type, e._source, t ? t.type : null);
|
|
1253
|
+
Ye.setExtraStackFrame(o);
|
|
1254
1254
|
} else
|
|
1255
|
-
|
|
1255
|
+
Ye.setExtraStackFrame(null);
|
|
1256
1256
|
}
|
|
1257
|
-
var
|
|
1258
|
-
|
|
1259
|
-
function
|
|
1260
|
-
return typeof e == "object" && e !== null && e.$$typeof ===
|
|
1257
|
+
var me;
|
|
1258
|
+
me = !1;
|
|
1259
|
+
function he(e) {
|
|
1260
|
+
return typeof e == "object" && e !== null && e.$$typeof === n;
|
|
1261
1261
|
}
|
|
1262
|
-
function
|
|
1262
|
+
function Ve() {
|
|
1263
1263
|
{
|
|
1264
|
-
if (
|
|
1265
|
-
var e = T(
|
|
1264
|
+
if (ve.current) {
|
|
1265
|
+
var e = T(ve.current.type);
|
|
1266
1266
|
if (e)
|
|
1267
1267
|
return `
|
|
1268
1268
|
|
|
@@ -1271,51 +1271,51 @@ 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 ze = {};
|
|
1278
|
+
function St(e) {
|
|
1279
1279
|
{
|
|
1280
|
-
var t =
|
|
1280
|
+
var t = Ve();
|
|
1281
1281
|
if (!t) {
|
|
1282
|
-
var
|
|
1283
|
-
|
|
1282
|
+
var o = typeof e == "string" ? e : e.displayName || e.name;
|
|
1283
|
+
o && (t = `
|
|
1284
1284
|
|
|
1285
|
-
Check the top-level render call using <` +
|
|
1285
|
+
Check the top-level render call using <` + o + ">.");
|
|
1286
1286
|
}
|
|
1287
1287
|
return t;
|
|
1288
1288
|
}
|
|
1289
1289
|
}
|
|
1290
|
-
function
|
|
1290
|
+
function qe(e, t) {
|
|
1291
1291
|
{
|
|
1292
1292
|
if (!e._store || e._store.validated || e.key != null)
|
|
1293
1293
|
return;
|
|
1294
1294
|
e._store.validated = !0;
|
|
1295
|
-
var
|
|
1296
|
-
if (
|
|
1295
|
+
var o = St(t);
|
|
1296
|
+
if (ze[o])
|
|
1297
1297
|
return;
|
|
1298
|
-
|
|
1298
|
+
ze[o] = !0;
|
|
1299
1299
|
var a = "";
|
|
1300
|
-
e && e._owner && e._owner !==
|
|
1300
|
+
e && e._owner && e._owner !== ve.current && (a = " It was passed a child from " + T(e._owner.type) + "."), V(e), E('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', o, a), V(null);
|
|
1301
1301
|
}
|
|
1302
1302
|
}
|
|
1303
|
-
function
|
|
1303
|
+
function Je(e, t) {
|
|
1304
1304
|
{
|
|
1305
1305
|
if (typeof e != "object")
|
|
1306
1306
|
return;
|
|
1307
|
-
if (
|
|
1308
|
-
for (var
|
|
1309
|
-
var a = e[
|
|
1310
|
-
|
|
1307
|
+
if (pe(e))
|
|
1308
|
+
for (var o = 0; o < e.length; o++) {
|
|
1309
|
+
var a = e[o];
|
|
1310
|
+
he(a) && qe(a, t);
|
|
1311
1311
|
}
|
|
1312
|
-
else if (
|
|
1312
|
+
else if (he(e))
|
|
1313
1313
|
e._store && (e._store.validated = !0);
|
|
1314
1314
|
else if (e) {
|
|
1315
|
-
var d =
|
|
1315
|
+
var d = Oe(e);
|
|
1316
1316
|
if (typeof d == "function" && d !== e.entries)
|
|
1317
|
-
for (var
|
|
1318
|
-
|
|
1317
|
+
for (var v = d.call(e), l; !(l = v.next()).done; )
|
|
1318
|
+
he(l.value) && qe(l.value, t);
|
|
1319
1319
|
}
|
|
1320
1320
|
}
|
|
1321
1321
|
}
|
|
@@ -1324,318 +1324,318 @@ Check the top-level render call using <` + n + ">.");
|
|
|
1324
1324
|
var t = e.type;
|
|
1325
1325
|
if (t == null || typeof t == "string")
|
|
1326
1326
|
return;
|
|
1327
|
-
var
|
|
1327
|
+
var o;
|
|
1328
1328
|
if (typeof t == "function")
|
|
1329
|
-
|
|
1330
|
-
else if (typeof t == "object" && (t.$$typeof ===
|
|
1329
|
+
o = t.propTypes;
|
|
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
|
+
o = t.propTypes;
|
|
1334
1334
|
else
|
|
1335
1335
|
return;
|
|
1336
|
-
if (
|
|
1336
|
+
if (o) {
|
|
1337
1337
|
var a = T(t);
|
|
1338
|
-
|
|
1339
|
-
} else if (t.PropTypes !== void 0 && !
|
|
1340
|
-
|
|
1338
|
+
ut(o, e.props, "prop", a, e);
|
|
1339
|
+
} else if (t.PropTypes !== void 0 && !me) {
|
|
1340
|
+
me = !0;
|
|
1341
1341
|
var d = T(t);
|
|
1342
|
-
|
|
1342
|
+
E("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", d || "Unknown");
|
|
1343
1343
|
}
|
|
1344
|
-
typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved &&
|
|
1344
|
+
typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && E("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
|
-
for (var t = Object.keys(e.props),
|
|
1350
|
-
var a = t[
|
|
1349
|
+
for (var t = Object.keys(e.props), o = 0; o < t.length; o++) {
|
|
1350
|
+
var a = t[o];
|
|
1351
1351
|
if (a !== "children" && a !== "key") {
|
|
1352
|
-
|
|
1352
|
+
V(e), E("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", a), V(null);
|
|
1353
1353
|
break;
|
|
1354
1354
|
}
|
|
1355
1355
|
}
|
|
1356
|
-
e.ref !== null && (
|
|
1356
|
+
e.ref !== null && (V(e), E("Invalid attribute `ref` supplied to `React.Fragment`."), V(null));
|
|
1357
1357
|
}
|
|
1358
1358
|
}
|
|
1359
|
-
var
|
|
1360
|
-
function
|
|
1359
|
+
var He = {};
|
|
1360
|
+
function Ke(e, t, o, a, d, v) {
|
|
1361
1361
|
{
|
|
1362
|
-
var
|
|
1363
|
-
if (!
|
|
1364
|
-
var
|
|
1365
|
-
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (
|
|
1366
|
-
var
|
|
1367
|
-
|
|
1368
|
-
var
|
|
1369
|
-
e === null ?
|
|
1362
|
+
var l = Y(e);
|
|
1363
|
+
if (!l) {
|
|
1364
|
+
var c = "";
|
|
1365
|
+
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (c += " 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 O = kt();
|
|
1367
|
+
O ? c += O : c += Ve();
|
|
1368
|
+
var g;
|
|
1369
|
+
e === null ? g = "null" : pe(e) ? g = "array" : e !== void 0 && e.$$typeof === n ? (g = "<" + (T(e.type) || "Unknown") + " />", c = " Did you accidentally export a JSX literal instead of a component?") : g = typeof e, E("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", g, c);
|
|
1370
1370
|
}
|
|
1371
|
-
var _ =
|
|
1371
|
+
var _ = Rt(e, t, o, d, v);
|
|
1372
1372
|
if (_ == null)
|
|
1373
1373
|
return _;
|
|
1374
|
-
if (
|
|
1374
|
+
if (l) {
|
|
1375
1375
|
var P = t.children;
|
|
1376
1376
|
if (P !== void 0)
|
|
1377
1377
|
if (a)
|
|
1378
|
-
if (
|
|
1379
|
-
for (var
|
|
1380
|
-
|
|
1378
|
+
if (pe(P)) {
|
|
1379
|
+
for (var z = 0; z < P.length; z++)
|
|
1380
|
+
Je(P[z], e);
|
|
1381
1381
|
Object.freeze && Object.freeze(P);
|
|
1382
1382
|
} else
|
|
1383
|
-
|
|
1383
|
+
E("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
|
+
Je(P, e);
|
|
1386
1386
|
}
|
|
1387
|
-
if (
|
|
1388
|
-
var W = T(e),
|
|
1389
|
-
return
|
|
1390
|
-
}),
|
|
1391
|
-
if (!
|
|
1392
|
-
var
|
|
1393
|
-
|
|
1387
|
+
if (q.call(t, "key")) {
|
|
1388
|
+
var W = T(e), C = Object.keys(t).filter(function(At) {
|
|
1389
|
+
return At !== "key";
|
|
1390
|
+
}), ye = C.length > 0 ? "{key: someKey, " + C.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
1391
|
+
if (!He[W + ye]) {
|
|
1392
|
+
var Pt = C.length > 0 ? "{" + C.join(": ..., ") + ": ...}" : "{}";
|
|
1393
|
+
E(`A props object containing a "key" prop is being spread into JSX:
|
|
1394
1394
|
let props = %s;
|
|
1395
1395
|
<%s {...props} />
|
|
1396
1396
|
React keys must be passed directly to JSX without using spread:
|
|
1397
1397
|
let props = %s;
|
|
1398
|
-
<%s key={someKey} {...props} />`,
|
|
1398
|
+
<%s key={someKey} {...props} />`, ye, W, Pt, W), He[W + ye] = !0;
|
|
1399
1399
|
}
|
|
1400
1400
|
}
|
|
1401
|
-
return e ===
|
|
1401
|
+
return e === f ? xt(_) : Et(_), _;
|
|
1402
1402
|
}
|
|
1403
1403
|
}
|
|
1404
|
-
function
|
|
1405
|
-
return
|
|
1404
|
+
function jt(e, t, o) {
|
|
1405
|
+
return Ke(e, t, o, !0);
|
|
1406
1406
|
}
|
|
1407
|
-
function
|
|
1408
|
-
return
|
|
1407
|
+
function Ot(e, t, o) {
|
|
1408
|
+
return Ke(e, t, o, !1);
|
|
1409
1409
|
}
|
|
1410
|
-
var
|
|
1411
|
-
|
|
1412
|
-
}()),
|
|
1410
|
+
var Ct = Ot, wt = jt;
|
|
1411
|
+
tt.Fragment = f, tt.jsx = Ct, tt.jsxs = wt;
|
|
1412
|
+
}()), tt;
|
|
1413
1413
|
}
|
|
1414
1414
|
process.env.NODE_ENV === "production" ? or() : ar();
|
|
1415
|
-
const
|
|
1416
|
-
version:
|
|
1417
|
-
}, re = {},
|
|
1415
|
+
const ir = "0.0.37", Jt = {
|
|
1416
|
+
version: ir
|
|
1417
|
+
}, re = {}, $t = {
|
|
1418
1418
|
module: "",
|
|
1419
|
-
v:
|
|
1419
|
+
v: Jt.version,
|
|
1420
1420
|
page: "Main",
|
|
1421
1421
|
auth: "Auth",
|
|
1422
1422
|
STORAGE: "f",
|
|
1423
1423
|
LISTENER: {}
|
|
1424
1424
|
};
|
|
1425
|
-
function
|
|
1425
|
+
function Re() {
|
|
1426
1426
|
return typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof self < "u" ? self : typeof global < "u" ? global : {};
|
|
1427
1427
|
}
|
|
1428
|
-
|
|
1429
|
-
Object.assign(
|
|
1428
|
+
Re().elcrm || (Re().elcrm = {});
|
|
1429
|
+
Object.assign(Re().elcrm, { router: Jt.version });
|
|
1430
1430
|
function ne(r) {
|
|
1431
|
-
const
|
|
1432
|
-
|
|
1431
|
+
const n = Re();
|
|
1432
|
+
n.ROUTER_PARAMS ? n.ROUTER_PARAMS = { ...n.ROUTER_PARAMS, ...r } : n.ROUTER_PARAMS = { ...$t, ...r };
|
|
1433
1433
|
}
|
|
1434
1434
|
function w() {
|
|
1435
|
-
return
|
|
1435
|
+
return Re().ROUTER_PARAMS || $t;
|
|
1436
1436
|
}
|
|
1437
|
-
function
|
|
1438
|
-
const
|
|
1439
|
-
|
|
1440
|
-
...
|
|
1437
|
+
function Se(r) {
|
|
1438
|
+
const n = Re();
|
|
1439
|
+
n.ROUTER_PARAMS ? n.ROUTER_PARAMS.LISTENER = {
|
|
1440
|
+
...n.ROUTER_PARAMS.LISTENER,
|
|
1441
1441
|
...r
|
|
1442
|
-
} :
|
|
1442
|
+
} : n.ROUTER_PARAMS.LISTENER = { ...r };
|
|
1443
1443
|
}
|
|
1444
1444
|
function oe() {
|
|
1445
|
-
return
|
|
1445
|
+
return Re().ROUTER_PARAMS.LISTENER || $t.LISTENER;
|
|
1446
1446
|
}
|
|
1447
|
-
var
|
|
1447
|
+
var le;
|
|
1448
1448
|
((r) => {
|
|
1449
|
-
function
|
|
1450
|
-
var
|
|
1451
|
-
let
|
|
1452
|
-
if (
|
|
1453
|
-
if (
|
|
1449
|
+
function n() {
|
|
1450
|
+
var y;
|
|
1451
|
+
let S = sessionStorage.getItem("f");
|
|
1452
|
+
if (S) {
|
|
1453
|
+
if (S = se.deCode(S), !S) return !1;
|
|
1454
1454
|
ne({
|
|
1455
|
-
id:
|
|
1456
|
-
tab:
|
|
1457
|
-
page:
|
|
1458
|
-
module:
|
|
1459
|
-
time:
|
|
1455
|
+
id: S.id,
|
|
1456
|
+
tab: S.tab,
|
|
1457
|
+
page: S.page,
|
|
1458
|
+
module: S.module,
|
|
1459
|
+
time: S.time,
|
|
1460
1460
|
payment: { active: !0 },
|
|
1461
|
-
module_admin:
|
|
1461
|
+
module_admin: S.module_admin
|
|
1462
1462
|
});
|
|
1463
1463
|
} else
|
|
1464
1464
|
ne({
|
|
1465
1465
|
id: 0,
|
|
1466
1466
|
tab: "",
|
|
1467
|
-
page: (
|
|
1467
|
+
page: (y = localStorage.getItem("d")) != null && y.length ? w().page : w().auth,
|
|
1468
1468
|
module: w().module
|
|
1469
1469
|
});
|
|
1470
1470
|
return !0;
|
|
1471
1471
|
}
|
|
1472
|
-
function
|
|
1472
|
+
function i() {
|
|
1473
1473
|
re.id = 0, re.tab = "", re.page = w().page, re.module = w().module;
|
|
1474
1474
|
}
|
|
1475
|
-
r.Reset =
|
|
1476
|
-
function
|
|
1477
|
-
module:
|
|
1478
|
-
page:
|
|
1475
|
+
r.Reset = i;
|
|
1476
|
+
function f({
|
|
1477
|
+
module: y = w().module,
|
|
1478
|
+
page: S = w().page,
|
|
1479
1479
|
auth: I = w().auth
|
|
1480
1480
|
}) {
|
|
1481
|
-
ne({ page:
|
|
1481
|
+
ne({ page: S, module: y, auth: I }), n();
|
|
1482
1482
|
}
|
|
1483
|
-
r.Default =
|
|
1484
|
-
function
|
|
1485
|
-
let
|
|
1486
|
-
const [I,
|
|
1487
|
-
|
|
1483
|
+
r.Default = f;
|
|
1484
|
+
function u(y) {
|
|
1485
|
+
let S = (Y) => (ne({ page: Y }), Y);
|
|
1486
|
+
const [I, F] = B.useState(
|
|
1487
|
+
x() || y && S(y) || w().page
|
|
1488
1488
|
);
|
|
1489
|
-
return
|
|
1490
|
-
|
|
1489
|
+
return Se({ page: (Y) => {
|
|
1490
|
+
F(Y);
|
|
1491
1491
|
} }), I;
|
|
1492
1492
|
}
|
|
1493
|
-
r.usePage =
|
|
1494
|
-
function h(
|
|
1495
|
-
ne({ page:
|
|
1493
|
+
r.usePage = u;
|
|
1494
|
+
function h(y, S = !0, I = {}) {
|
|
1495
|
+
ne({ page: y, ...I }), sessionStorage.setItem(
|
|
1496
1496
|
w().STORAGE,
|
|
1497
|
-
|
|
1498
|
-
),
|
|
1497
|
+
se.enCode(w())
|
|
1498
|
+
), S && oe().page(y);
|
|
1499
1499
|
}
|
|
1500
1500
|
r.setPage = h;
|
|
1501
|
-
function
|
|
1501
|
+
function x() {
|
|
1502
1502
|
return w().page;
|
|
1503
1503
|
}
|
|
1504
|
-
r.getPage =
|
|
1505
|
-
function R(
|
|
1506
|
-
return w().page ===
|
|
1504
|
+
r.getPage = x;
|
|
1505
|
+
function R(y) {
|
|
1506
|
+
return w().page === y;
|
|
1507
1507
|
}
|
|
1508
1508
|
r.isPage = R;
|
|
1509
|
-
function
|
|
1510
|
-
const [I,
|
|
1511
|
-
m() ||
|
|
1509
|
+
function p(y, S) {
|
|
1510
|
+
const [I, F] = B.useState(
|
|
1511
|
+
m() || y || w().module
|
|
1512
1512
|
);
|
|
1513
|
-
return
|
|
1513
|
+
return Se({ module: F }), I;
|
|
1514
1514
|
}
|
|
1515
|
-
r.useModule =
|
|
1516
|
-
function
|
|
1517
|
-
ne({ module:
|
|
1515
|
+
r.useModule = p;
|
|
1516
|
+
function j(y, S = !0) {
|
|
1517
|
+
ne({ module: y }), sessionStorage.setItem(
|
|
1518
1518
|
w().STORAGE,
|
|
1519
|
-
|
|
1520
|
-
),
|
|
1519
|
+
se.enCode(w())
|
|
1520
|
+
), S && oe().module(y);
|
|
1521
1521
|
}
|
|
1522
|
-
r.setModule =
|
|
1522
|
+
r.setModule = j;
|
|
1523
1523
|
function m() {
|
|
1524
1524
|
return w().module || "";
|
|
1525
1525
|
}
|
|
1526
1526
|
r.getModule = m;
|
|
1527
|
-
function b(
|
|
1528
|
-
return w().module ===
|
|
1527
|
+
function b(y) {
|
|
1528
|
+
return w().module === y;
|
|
1529
1529
|
}
|
|
1530
1530
|
r.isModule = b;
|
|
1531
|
-
function k(
|
|
1532
|
-
if (typeof
|
|
1533
|
-
const [I,
|
|
1534
|
-
return
|
|
1535
|
-
|
|
1536
|
-
}, []), [
|
|
1531
|
+
function k(y, S) {
|
|
1532
|
+
if (typeof y != "function") {
|
|
1533
|
+
const [I, F] = B.useState(!S), [Y, ae] = B.useState(y || A());
|
|
1534
|
+
return Se({ tabs: ae }), S && B.useEffect(() => {
|
|
1535
|
+
F(!0);
|
|
1536
|
+
}, []), [Y, I];
|
|
1537
1537
|
} else
|
|
1538
|
-
|
|
1538
|
+
Se({ tabs: y });
|
|
1539
1539
|
}
|
|
1540
1540
|
r.useTabs = k;
|
|
1541
|
-
async function
|
|
1542
|
-
ne({ tab:
|
|
1541
|
+
async function N(y, S = !0) {
|
|
1542
|
+
ne({ tab: y }), sessionStorage.setItem(
|
|
1543
1543
|
w().STORAGE,
|
|
1544
|
-
|
|
1545
|
-
),
|
|
1544
|
+
se.enCode(w())
|
|
1545
|
+
), S && (oe().tabs && oe().tabs(y));
|
|
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
|
|
1553
|
-
return w().tab ===
|
|
1552
|
+
function je(y) {
|
|
1553
|
+
return w().tab === y;
|
|
1554
1554
|
}
|
|
1555
|
-
r.isTabs =
|
|
1556
|
-
function
|
|
1557
|
-
if (typeof
|
|
1558
|
-
const [
|
|
1559
|
-
return
|
|
1560
|
-
I(
|
|
1561
|
-
} }),
|
|
1555
|
+
r.isTabs = je;
|
|
1556
|
+
function Oe(y) {
|
|
1557
|
+
if (typeof y != "function") {
|
|
1558
|
+
const [S, I] = B.useState(y || ke());
|
|
1559
|
+
return Se({ id: (F) => {
|
|
1560
|
+
I(F);
|
|
1561
|
+
} }), S;
|
|
1562
1562
|
} else
|
|
1563
|
-
|
|
1563
|
+
Se({ id: y });
|
|
1564
1564
|
}
|
|
1565
|
-
r.useId =
|
|
1566
|
-
function
|
|
1565
|
+
r.useId = Oe;
|
|
1566
|
+
function M(y) {
|
|
1567
1567
|
}
|
|
1568
|
-
r.subId =
|
|
1569
|
-
async function
|
|
1570
|
-
ne({ id:
|
|
1568
|
+
r.subId = M;
|
|
1569
|
+
async function E(y, S = !0) {
|
|
1570
|
+
ne({ id: y }), sessionStorage.setItem(
|
|
1571
1571
|
w().STORAGE,
|
|
1572
|
-
|
|
1573
|
-
),
|
|
1572
|
+
se.enCode(w())
|
|
1573
|
+
), S && oe().id(y);
|
|
1574
1574
|
}
|
|
1575
|
-
r.setId =
|
|
1576
|
-
function
|
|
1575
|
+
r.setId = E;
|
|
1576
|
+
function ke() {
|
|
1577
1577
|
return w().id;
|
|
1578
1578
|
}
|
|
1579
|
-
r.getId =
|
|
1580
|
-
function
|
|
1581
|
-
return Number(w().id) ===
|
|
1579
|
+
r.getId = ke;
|
|
1580
|
+
function Ce(y) {
|
|
1581
|
+
return Number(w().id) === y;
|
|
1582
1582
|
}
|
|
1583
|
-
r.isId =
|
|
1584
|
-
async function
|
|
1585
|
-
var
|
|
1586
|
-
const { page:
|
|
1587
|
-
|
|
1583
|
+
r.isId = Ce;
|
|
1584
|
+
async function we(y) {
|
|
1585
|
+
var S, I, F, Y, ae, ie, T, $;
|
|
1586
|
+
const { page: D, module: H, tab: K, id: G } = y;
|
|
1587
|
+
D !== void 0 && (re.page = D), H !== void 0 && (re.module = H), K !== void 0 && (re.tab = K), G !== void 0 && (re.id = G), ne({ ...re }), G !== void 0 && ((I = (S = oe()).id) == null || I.call(S, G)), K !== void 0 && ((Y = (F = oe()).tabs) == null || Y.call(F, K)), H !== void 0 && ((ie = (ae = oe()).module) == null || ie.call(ae, H)), D !== void 0 && (($ = (T = oe()).page) == null || $.call(T, D)), sessionStorage.setItem(
|
|
1588
1588
|
w().STORAGE,
|
|
1589
|
-
|
|
1589
|
+
se.enCode(w())
|
|
1590
1590
|
);
|
|
1591
1591
|
}
|
|
1592
|
-
r.navigate =
|
|
1593
|
-
})(
|
|
1594
|
-
let
|
|
1595
|
-
function
|
|
1596
|
-
const [r,
|
|
1597
|
-
return
|
|
1598
|
-
|
|
1599
|
-
},
|
|
1600
|
-
r.forEach((
|
|
1601
|
-
|
|
1602
|
-
}),
|
|
1603
|
-
}, r.length === 0 ? /* @__PURE__ */
|
|
1604
|
-
}
|
|
1605
|
-
function lr(r) {
|
|
1606
|
-
let o = (/* @__PURE__ */ new Date()).getTime();
|
|
1607
|
-
r.key = o, rt.set({ item: /* @__PURE__ */ i.jsx(cr, { data: r }, o), key: o });
|
|
1592
|
+
r.navigate = we;
|
|
1593
|
+
})(le || (le = {}));
|
|
1594
|
+
let ot = {};
|
|
1595
|
+
function sr() {
|
|
1596
|
+
const [r, n] = B.useState([]);
|
|
1597
|
+
return ot.set = (i) => {
|
|
1598
|
+
n([...r, i]);
|
|
1599
|
+
}, ot.del = (i) => {
|
|
1600
|
+
r.forEach((f, u) => {
|
|
1601
|
+
f.key === i && r.splice(u, 1);
|
|
1602
|
+
}), n(r);
|
|
1603
|
+
}, r.length === 0 ? /* @__PURE__ */ s.jsx(s.Fragment, {}) : /* @__PURE__ */ s.jsx("div", { className: "notice", children: r.map((i) => i.item) });
|
|
1608
1604
|
}
|
|
1609
1605
|
function cr(r) {
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1606
|
+
let n = (/* @__PURE__ */ new Date()).getTime();
|
|
1607
|
+
r.key = n, ot.set({ item: /* @__PURE__ */ s.jsx(lr, { data: r }, n), key: n });
|
|
1608
|
+
}
|
|
1609
|
+
function lr(r) {
|
|
1610
|
+
const n = r.data;
|
|
1611
|
+
let [i] = B.useState("show"), [f, u] = B.useState(!1);
|
|
1612
|
+
B.useEffect(() => {
|
|
1613
1613
|
setTimeout(function() {
|
|
1614
|
-
|
|
1614
|
+
u(!0), ot.del(n.key);
|
|
1615
1615
|
}, 5e3);
|
|
1616
|
-
}, [
|
|
1616
|
+
}, [n.key]);
|
|
1617
1617
|
let h;
|
|
1618
|
-
switch (
|
|
1618
|
+
switch (n.type) {
|
|
1619
1619
|
case "error":
|
|
1620
|
-
h = /* @__PURE__ */
|
|
1620
|
+
h = /* @__PURE__ */ s.jsx("path", { d: "M12 2.25c-5.376 0-9.75 4.374-9.75 9.75s4.374 9.75 9.75 9.75 9.75-4.374 9.75-9.75S17.376 2.25 12 2.25Zm3.53 12.22a.75.75 0 1 1-1.06 1.06L12 13.06l-2.47 2.47a.75.75 0 0 1-1.06-1.06L10.94 12 8.47 9.53a.75.75 0 0 1 1.06-1.06L12 10.94l2.47-2.47a.75.75 0 0 1 1.06 1.06L13.06 12l2.47 2.47Z" });
|
|
1621
1621
|
break;
|
|
1622
1622
|
case "success":
|
|
1623
|
-
h = /* @__PURE__ */
|
|
1623
|
+
h = /* @__PURE__ */ s.jsx("path", { d: "M12 2.25c-5.376 0-9.75 4.374-9.75 9.75s4.374 9.75 9.75 9.75 9.75-4.374 9.75-9.75S17.376 2.25 12 2.25Zm5.074 6.482-6.3 7.5a.748.748 0 0 1-.562.268h-.013a.75.75 0 0 1-.557-.248l-2.7-3a.751.751 0 0 1 .88-1.186c.09.045.17.107.234.182l2.123 2.36 5.747-6.84a.75.75 0 0 1 1.148.964Z" });
|
|
1624
1624
|
break;
|
|
1625
1625
|
case "warning":
|
|
1626
|
-
h = /* @__PURE__ */
|
|
1626
|
+
h = /* @__PURE__ */ s.jsx("path", { d: "M12 2.625c-5.17 0-9.375 4.206-9.375 9.375 0 5.17 4.206 9.375 9.375 9.375 5.17 0 9.375-4.206 9.375-9.375 0-5.17-4.206-9.375-9.375-9.375Zm0 3.844a1.219 1.219 0 1 1 0 2.437 1.219 1.219 0 0 1 0-2.437Zm2.25 10.593h-4.125a.75.75 0 1 1 0-1.5h1.313v-4.124h-.75a.75.75 0 1 1 0-1.5h1.5a.75.75 0 0 1 .75.75v4.874h1.312a.75.75 0 1 1 0 1.5Z" });
|
|
1627
1627
|
break;
|
|
1628
1628
|
default:
|
|
1629
1629
|
h = "icon fa fa-exclamation-circle";
|
|
1630
1630
|
break;
|
|
1631
1631
|
}
|
|
1632
|
-
return /* @__PURE__ */
|
|
1632
|
+
return /* @__PURE__ */ s.jsx(s.Fragment, { children: f ? /* @__PURE__ */ s.jsx(s.Fragment, {}) : /* @__PURE__ */ s.jsxs(
|
|
1633
1633
|
"div",
|
|
1634
1634
|
{
|
|
1635
|
-
className: "item " +
|
|
1636
|
-
"data-status":
|
|
1635
|
+
className: "item " + n.type + ` ${n.thema !== void 0 ? " thema" : ""}`,
|
|
1636
|
+
"data-status": i,
|
|
1637
1637
|
children: [
|
|
1638
|
-
/* @__PURE__ */
|
|
1638
|
+
/* @__PURE__ */ s.jsx(
|
|
1639
1639
|
"svg",
|
|
1640
1640
|
{
|
|
1641
1641
|
type: "solid",
|
|
@@ -1648,40 +1648,48 @@ function cr(r) {
|
|
|
1648
1648
|
children: h
|
|
1649
1649
|
}
|
|
1650
1650
|
),
|
|
1651
|
-
/* @__PURE__ */
|
|
1651
|
+
/* @__PURE__ */ s.jsx("span", { className: "text", children: n.text })
|
|
1652
1652
|
]
|
|
1653
1653
|
}
|
|
1654
1654
|
) });
|
|
1655
1655
|
}
|
|
1656
|
-
let
|
|
1657
|
-
Send:
|
|
1658
|
-
Init:
|
|
1659
|
-
},
|
|
1656
|
+
let be = {
|
|
1657
|
+
Send: cr,
|
|
1658
|
+
Init: sr
|
|
1659
|
+
}, Qe = () => {
|
|
1660
1660
|
};
|
|
1661
|
-
const
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1661
|
+
const Ht = ({
|
|
1662
|
+
children: r,
|
|
1663
|
+
title: n,
|
|
1664
|
+
isOverlay: i = !0,
|
|
1665
|
+
footer: f = !0,
|
|
1666
|
+
className: u,
|
|
1667
|
+
onOpen: h
|
|
1668
|
+
}) => {
|
|
1669
|
+
const [x, R] = B.useState(!1);
|
|
1670
|
+
return Qe = () => {
|
|
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
|
-
}, /* @__PURE__ */
|
|
1675
|
+
}, /* @__PURE__ */ s.jsx(
|
|
1668
1676
|
"div",
|
|
1669
1677
|
{
|
|
1670
|
-
className: `footer-menu-overlay ${
|
|
1671
|
-
onClick:
|
|
1672
|
-
children: /* @__PURE__ */
|
|
1678
|
+
className: `footer-menu-overlay ${i ? "is-overlay" : ""} ${x ? "closing" : ""} `,
|
|
1679
|
+
onClick: Qe,
|
|
1680
|
+
children: /* @__PURE__ */ s.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
|
-
/* @__PURE__ */
|
|
1679
|
-
/* @__PURE__ */
|
|
1680
|
-
/* @__PURE__ */
|
|
1686
|
+
/* @__PURE__ */ s.jsxs("div", { className: "footer-menu-header", children: [
|
|
1687
|
+
/* @__PURE__ */ s.jsx("h3", { children: n }),
|
|
1688
|
+
/* @__PURE__ */ s.jsx(
|
|
1681
1689
|
"button",
|
|
1682
1690
|
{
|
|
1683
1691
|
className: "footer-menu-close-btn",
|
|
1684
|
-
onClick:
|
|
1692
|
+
onClick: Qe,
|
|
1685
1693
|
children: "✕"
|
|
1686
1694
|
}
|
|
1687
1695
|
)
|
|
@@ -1692,55 +1700,55 @@ const Jt = ({ children: r, title: o, isOverlay: s = !0 }) => {
|
|
|
1692
1700
|
)
|
|
1693
1701
|
}
|
|
1694
1702
|
);
|
|
1695
|
-
}, ur = "_h_1ryiq_1", fr = "_row_1ryiq_14", dr = "_column_1ryiq_17",
|
|
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, n) => r.findIndex((i) => (i == null ? void 0 : i.page) === n), Kt = ({
|
|
1700
1708
|
actions: r,
|
|
1701
|
-
children:
|
|
1702
|
-
className:
|
|
1703
|
-
toHide:
|
|
1704
|
-
page:
|
|
1709
|
+
children: n,
|
|
1710
|
+
className: i,
|
|
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] = B.useState(null), [j, m] = B.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
|
+
}, et(() => {
|
|
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
|
-
}, []), /* @__PURE__ */
|
|
1738
|
+
}, []), /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
|
|
1731
1739
|
R,
|
|
1732
|
-
/* @__PURE__ */
|
|
1740
|
+
/* @__PURE__ */ s.jsxs(
|
|
1733
1741
|
"footer",
|
|
1734
1742
|
{
|
|
1735
|
-
className: `${
|
|
1743
|
+
className: `${Wt.h} ${Wt[x]} ${i} `,
|
|
1736
1744
|
children: [
|
|
1737
|
-
|
|
1738
|
-
r && r.map((b, k) => /* @__PURE__ */
|
|
1745
|
+
n,
|
|
1746
|
+
r && r.map((b, k) => /* @__PURE__ */ s.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 ? Qe() : (p(b.component), m(k)));
|
|
1744
1752
|
},
|
|
1745
1753
|
children: b.icon
|
|
1746
1754
|
},
|
|
@@ -1750,7 +1758,7 @@ const Jt = ({ children: r, title: o, isOverlay: s = !0 }) => {
|
|
|
1750
1758
|
}
|
|
1751
1759
|
)
|
|
1752
1760
|
] });
|
|
1753
|
-
},
|
|
1761
|
+
}, _e = {
|
|
1754
1762
|
is: !1,
|
|
1755
1763
|
MainButton: {},
|
|
1756
1764
|
BackButton: {}
|
|
@@ -1801,75 +1809,75 @@ J.users = {
|
|
|
1801
1809
|
};
|
|
1802
1810
|
const pr = () => {
|
|
1803
1811
|
if (location.hostname === "localhost") {
|
|
1804
|
-
let [r,
|
|
1805
|
-
|
|
1806
|
-
J[
|
|
1807
|
-
for (let k in J[
|
|
1812
|
+
let [r, n] = ce(!1), [i, f] = ce(!1), [u, h] = ce("dark"), [x, R] = ce(!1), [p, j] = ce(!1);
|
|
1813
|
+
_e.is = !0, _e.MainButton.set = n, _e.BackButton.set = f, et(() => {
|
|
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
|
-
J[
|
|
1818
|
+
J[u][k]
|
|
1811
1819
|
);
|
|
1812
|
-
|
|
1820
|
+
xe.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
|
-
return /* @__PURE__ */
|
|
1825
|
-
/* @__PURE__ */
|
|
1826
|
-
|
|
1832
|
+
return /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
|
|
1833
|
+
/* @__PURE__ */ s.jsxs("header", { className: "debug", children: [
|
|
1834
|
+
i === !1 ? /* @__PURE__ */ s.jsx("div", { className: "b", children: "Отмена" }) : /* @__PURE__ */ s.jsx(
|
|
1827
1835
|
"div",
|
|
1828
1836
|
{
|
|
1829
1837
|
onClick: () => {
|
|
1830
1838
|
var k;
|
|
1831
|
-
|
|
1839
|
+
i.page === void 0 ? (k = i.callback) == null || k.call(i) : le.setPage(i.page);
|
|
1832
1840
|
},
|
|
1833
1841
|
className: "b",
|
|
1834
1842
|
children: "Назад"
|
|
1835
1843
|
}
|
|
1836
1844
|
),
|
|
1837
|
-
/* @__PURE__ */
|
|
1845
|
+
/* @__PURE__ */ s.jsx("div", { className: "o", onClick: () => R(!x), children: "Меню" })
|
|
1838
1846
|
] }),
|
|
1839
|
-
/* @__PURE__ */
|
|
1840
|
-
r && /* @__PURE__ */
|
|
1847
|
+
/* @__PURE__ */ s.jsx(be.Init, {}),
|
|
1848
|
+
r && /* @__PURE__ */ s.jsx("div", { className: "mb", children: /* @__PURE__ */ s.jsx(
|
|
1841
1849
|
"button",
|
|
1842
1850
|
{
|
|
1843
1851
|
onClick: () => {
|
|
1844
|
-
r.page &&
|
|
1852
|
+
r.page && le.setPage(r.page), r.callback && r.callback();
|
|
1845
1853
|
},
|
|
1846
1854
|
children: r.text
|
|
1847
1855
|
}
|
|
1848
1856
|
) }),
|
|
1849
|
-
|
|
1850
|
-
/* @__PURE__ */
|
|
1851
|
-
/* @__PURE__ */
|
|
1852
|
-
/* @__PURE__ */
|
|
1857
|
+
x ? /* @__PURE__ */ s.jsxs("div", { className: "tm", children: [
|
|
1858
|
+
/* @__PURE__ */ s.jsxs("ul", { children: [
|
|
1859
|
+
/* @__PURE__ */ s.jsx("li", { children: /* @__PURE__ */ s.jsx("button", { onClick: b, children: "Authorization" }) }),
|
|
1860
|
+
/* @__PURE__ */ s.jsx("li", {})
|
|
1853
1861
|
] }),
|
|
1854
|
-
/* @__PURE__ */
|
|
1855
|
-
/* @__PURE__ */
|
|
1856
|
-
/* @__PURE__ */
|
|
1857
|
-
/* @__PURE__ */
|
|
1858
|
-
/* @__PURE__ */
|
|
1862
|
+
/* @__PURE__ */ s.jsxs("ul", { children: [
|
|
1863
|
+
/* @__PURE__ */ s.jsxs("li", { children: [
|
|
1864
|
+
/* @__PURE__ */ s.jsx("button", { children: "Thema" }),
|
|
1865
|
+
/* @__PURE__ */ s.jsxs("ol", { children: [
|
|
1866
|
+
/* @__PURE__ */ s.jsx("li", { children: /* @__PURE__ */ s.jsx(
|
|
1859
1867
|
"button",
|
|
1860
1868
|
{
|
|
1861
1869
|
onClick: () => m("dark"),
|
|
1862
1870
|
children: "Dark"
|
|
1863
1871
|
}
|
|
1864
1872
|
) }),
|
|
1865
|
-
/* @__PURE__ */
|
|
1873
|
+
/* @__PURE__ */ s.jsx("li", { children: /* @__PURE__ */ s.jsx(
|
|
1866
1874
|
"button",
|
|
1867
1875
|
{
|
|
1868
1876
|
onClick: () => m("light"),
|
|
1869
1877
|
children: "Light"
|
|
1870
1878
|
}
|
|
1871
1879
|
) }),
|
|
1872
|
-
/* @__PURE__ */
|
|
1880
|
+
/* @__PURE__ */ s.jsx("li", { children: /* @__PURE__ */ s.jsx(
|
|
1873
1881
|
"button",
|
|
1874
1882
|
{
|
|
1875
1883
|
onClick: () => m("users"),
|
|
@@ -1878,135 +1886,152 @@ const pr = () => {
|
|
|
1878
1886
|
) })
|
|
1879
1887
|
] })
|
|
1880
1888
|
] }),
|
|
1881
|
-
/* @__PURE__ */
|
|
1889
|
+
/* @__PURE__ */ s.jsx("li", { children: /* @__PURE__ */ s.jsx("button", { onClick: () => R(!x), children: "Closed" }) })
|
|
1882
1890
|
] })
|
|
1883
1891
|
] }) : "",
|
|
1884
|
-
|
|
1892
|
+
p ? /* @__PURE__ */ s.jsx(vr, { setAuthorization: j }) : ""
|
|
1885
1893
|
] });
|
|
1886
1894
|
} else
|
|
1887
|
-
return
|
|
1895
|
+
return et(() => {
|
|
1888
1896
|
document.documentElement.style.setProperty(
|
|
1889
1897
|
"--tg-theme-secondary-bg-color-alpha",
|
|
1890
|
-
|
|
1898
|
+
xe.themeParams.secondary_bg_color + "d3"
|
|
1891
1899
|
), document.documentElement.style.setProperty(
|
|
1892
1900
|
"--tg-theme-bg-color-alpha",
|
|
1893
|
-
|
|
1894
|
-
),
|
|
1901
|
+
xe.themeParams.bg_color + "b3"
|
|
1902
|
+
), xe.safeAreaInset.bottom === 0 && document.documentElement.style.setProperty(
|
|
1895
1903
|
"--tg-safe-area-inset-bottom",
|
|
1896
1904
|
"16px"
|
|
1897
1905
|
);
|
|
1898
|
-
}, []), /* @__PURE__ */
|
|
1906
|
+
}, []), /* @__PURE__ */ s.jsx(s.Fragment, { children: /* @__PURE__ */ s.jsx(be.Init, {}) });
|
|
1899
1907
|
}, vr = ({ setAuthorization: r }) => {
|
|
1900
|
-
let
|
|
1901
|
-
localStorage.setItem("auth",
|
|
1908
|
+
let n = {}, i = () => {
|
|
1909
|
+
localStorage.setItem("auth", n);
|
|
1902
1910
|
};
|
|
1903
|
-
return /* @__PURE__ */
|
|
1904
|
-
/* @__PURE__ */
|
|
1905
|
-
/* @__PURE__ */
|
|
1911
|
+
return /* @__PURE__ */ s.jsx("div", { className: "ta", children: /* @__PURE__ */ s.jsxs("div", { className: "--body", children: [
|
|
1912
|
+
/* @__PURE__ */ s.jsx("fieldset", {}),
|
|
1913
|
+
/* @__PURE__ */ s.jsx("div", { onClick: i, 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
|
+
}, yr = ({ className: r, children: n, isScroll: i = !0 }) => /* @__PURE__ */ s.jsx(
|
|
1911
1919
|
"div",
|
|
1912
1920
|
{
|
|
1913
|
-
className: [
|
|
1914
|
-
children:
|
|
1921
|
+
className: [Ut.p, i && Ut.s, r].filter((f) => f !== void 0).join(" "),
|
|
1922
|
+
children: n
|
|
1915
1923
|
}
|
|
1916
|
-
),
|
|
1917
|
-
l:
|
|
1918
|
-
}, _r = ({ children: r, className:
|
|
1924
|
+
), gr = "_l_gfyud_1", br = {
|
|
1925
|
+
l: gr
|
|
1926
|
+
}, _r = ({ children: r, className: n }) => /* @__PURE__ */ s.jsx(
|
|
1919
1927
|
"div",
|
|
1920
1928
|
{
|
|
1921
|
-
className: [br.l,
|
|
1929
|
+
className: [br.l, n].filter((i) => i !== void 0).join(" "),
|
|
1922
1930
|
children: r
|
|
1923
1931
|
}
|
|
1924
|
-
), Rr = "_m_ppm7n_2", kr = "_g_ppm7n_10",
|
|
1932
|
+
), Rr = "_m_ppm7n_2", kr = "_g_ppm7n_10", Sr = "_i_ppm7n_18", Er = "_c_ppm7n_35", xr = "_l_ppm7n_42", jr = "_a_ppm7n_57", Or = "_n_ppm7n_62", ge = {
|
|
1925
1933
|
m: Rr,
|
|
1926
1934
|
g: kr,
|
|
1927
|
-
i:
|
|
1928
|
-
c:
|
|
1935
|
+
i: Sr,
|
|
1936
|
+
c: Er,
|
|
1929
1937
|
l: xr,
|
|
1930
1938
|
a: jr,
|
|
1931
1939
|
n: Or
|
|
1932
1940
|
}, Cr = ({ items: r }) => {
|
|
1933
|
-
const
|
|
1934
|
-
|
|
1935
|
-
},
|
|
1936
|
-
|
|
1941
|
+
const n = (f) => {
|
|
1942
|
+
le.setPage(f);
|
|
1943
|
+
}, i = (f) => {
|
|
1944
|
+
xe.openTelegramLink(f);
|
|
1937
1945
|
};
|
|
1938
|
-
return /* @__PURE__ */
|
|
1946
|
+
return /* @__PURE__ */ s.jsx("div", { className: ge.m, children: r.map((f) => /* @__PURE__ */ s.jsx("div", { className: ge.g, children: f.items.map((u, h) => /* @__PURE__ */ s.jsxs(
|
|
1939
1947
|
"div",
|
|
1940
1948
|
{
|
|
1941
1949
|
className: ge.i,
|
|
1942
|
-
onClick: () =>
|
|
1950
|
+
onClick: () => u.link ? i(u.link) : n(u.page || ""),
|
|
1943
1951
|
children: [
|
|
1944
|
-
/* @__PURE__ */
|
|
1945
|
-
/* @__PURE__ */
|
|
1952
|
+
/* @__PURE__ */ s.jsxs("div", { className: ge.c, children: [
|
|
1953
|
+
/* @__PURE__ */ s.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__ */ s.jsx("span", { className: ge.n, children: u.count })
|
|
1955
1963
|
] }),
|
|
1956
|
-
/* @__PURE__ */
|
|
1964
|
+
/* @__PURE__ */ s.jsx("span", { className: ge.a, children: "›" })
|
|
1957
1965
|
]
|
|
1958
1966
|
},
|
|
1959
1967
|
h
|
|
1960
|
-
)) },
|
|
1961
|
-
},
|
|
1968
|
+
)) }, f.id)) });
|
|
1969
|
+
}, L = {
|
|
1962
1970
|
state: [!1],
|
|
1963
1971
|
listen: [],
|
|
1972
|
+
prev: {},
|
|
1964
1973
|
router: (r) => {
|
|
1965
|
-
r === !1 ? (
|
|
1966
|
-
var
|
|
1967
|
-
let
|
|
1968
|
-
|
|
1969
|
-
}),
|
|
1974
|
+
r === !1 ? (U.WebApp.BackButton.isVisible = !1, U.WebApp.BackButton.offClick(L.listen[0]), L.listen.shift(), L.state.length !== 1 && L.state.pop()) : (U.WebApp.BackButton.isVisible = !0, U.WebApp.BackButton.offClick(L.listen[0]), L.listen.shift(), L.listen.push(() => {
|
|
1975
|
+
var i;
|
|
1976
|
+
let n = L.state.pop();
|
|
1977
|
+
L.prev = le.getPage(), n.page !== void 0 ? le.setPage(n.page) : (i = n.callback) == null || i.call(n);
|
|
1978
|
+
}), xe.BackButton.onClick(L.listen[0]));
|
|
1970
1979
|
}
|
|
1971
1980
|
};
|
|
1972
|
-
var
|
|
1981
|
+
var U;
|
|
1973
1982
|
((r) => {
|
|
1974
1983
|
r.WebApp = window.Telegram.WebApp, r.getUser = () => {
|
|
1975
|
-
var
|
|
1976
|
-
return ((
|
|
1977
|
-
}, r.Notice =
|
|
1978
|
-
|
|
1979
|
-
|
|
1980
|
-
|
|
1984
|
+
var n;
|
|
1985
|
+
return ((n = r.WebApp.initDataUnsafe) == null ? void 0 : n.user) === void 0 ? {} : r.WebApp.initDataUnsafe;
|
|
1986
|
+
}, r.Notice = {
|
|
1987
|
+
Send: (n, i, f) => {
|
|
1988
|
+
var u, h;
|
|
1989
|
+
i !== void 0 ? (be.Send({ type: n, text: i, thema: f }), (u = r.WebApp.HapticFeedback) == null || u.notificationOccurred(n)) : (be.Send(n), (h = r.WebApp.HapticFeedback) == null || h.notificationOccurred(n.type));
|
|
1990
|
+
},
|
|
1991
|
+
Error: (n) => {
|
|
1992
|
+
var i;
|
|
1993
|
+
be.Send({ type: "error", text: n }), (i = r.WebApp.HapticFeedback) == null || i.notificationOccurred("error");
|
|
1994
|
+
},
|
|
1995
|
+
Success: (n) => {
|
|
1996
|
+
var i;
|
|
1997
|
+
be.Send({ type: "success", text: n }), (i = r.WebApp.HapticFeedback) == null || i.notificationOccurred("success");
|
|
1998
|
+
},
|
|
1999
|
+
Warning: (n) => {
|
|
2000
|
+
var i;
|
|
2001
|
+
be.Send({ type: "warning", text: n }), (i = r.WebApp.HapticFeedback) == null || i.notificationOccurred("warning");
|
|
2002
|
+
}
|
|
2003
|
+
}, r.Header = pr, r.Footer = Kt, r.BottomSheet = Ht, r.toggleBottomSheet = Qe, r.SafeArea = yr, r.Loading = _r, r.Modal = It, r.Menu = Cr, r.MainButton = {
|
|
1981
2004
|
callback: [],
|
|
1982
|
-
set: (
|
|
1983
|
-
|
|
1984
|
-
r.WebApp.MainButton.offClick(
|
|
1985
|
-
}), r.WebApp.MainButton.callback = [], typeof
|
|
1986
|
-
var
|
|
1987
|
-
|
|
2005
|
+
set: (n) => {
|
|
2006
|
+
_e.is ? _e.MainButton.set(n) : (r.WebApp.MainButton.callback.forEach((i) => {
|
|
2007
|
+
r.WebApp.MainButton.offClick(i);
|
|
2008
|
+
}), 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(() => {
|
|
2009
|
+
var i;
|
|
2010
|
+
n.page === void 0 ? (i = n.callback) == null || i.call(n) : le.setPage(n.page);
|
|
1988
2011
|
}), r.WebApp.MainButton.onClick(
|
|
1989
2012
|
r.WebApp.MainButton.callback[0]
|
|
1990
2013
|
)));
|
|
1991
2014
|
}
|
|
1992
|
-
}, r.
|
|
1993
|
-
|
|
2015
|
+
}, r.BackButtonPrev = () => {
|
|
2016
|
+
L.prev && (0, r.BackButton)(L.prev);
|
|
2017
|
+
}, r.BackButton = (n) => {
|
|
2018
|
+
_e.is ? _e.BackButton.set(n) : (L.state.push(n), L.router(n));
|
|
1994
2019
|
};
|
|
1995
|
-
})(
|
|
1996
|
-
const Pr =
|
|
2020
|
+
})(U || (U = {}));
|
|
2021
|
+
const Pr = Kt, Ar = Ht, Tr = U.BackButton, Ir = U.Notice, $r = U.SafeArea, Nr = U.Loading, Br = U.Menu, { Header: Fr, toggleBottomSheet: Dr, Modal: Mr, MainButton: Wr, WebApp: xe, getUser: Lr } = U;
|
|
1997
2022
|
export {
|
|
1998
2023
|
Tr as BackButton,
|
|
1999
2024
|
Ar as BottomSheet,
|
|
2000
2025
|
Pr as Footer,
|
|
2001
|
-
|
|
2002
|
-
|
|
2026
|
+
Fr as Header,
|
|
2027
|
+
Nr as Loading,
|
|
2003
2028
|
Wr as MainButton,
|
|
2004
|
-
|
|
2005
|
-
|
|
2029
|
+
Br as Menu,
|
|
2030
|
+
Mr as Modal,
|
|
2006
2031
|
Ir as Notice,
|
|
2007
|
-
|
|
2008
|
-
|
|
2009
|
-
|
|
2032
|
+
$r as SafeArea,
|
|
2033
|
+
xe as WebApp,
|
|
2034
|
+
U as default,
|
|
2010
2035
|
Lr as getUser,
|
|
2011
|
-
|
|
2036
|
+
Dr as toggleBottomSheet
|
|
2012
2037
|
};
|