@elcrm/telegram 0.0.130 → 0.0.131
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/index.css +1 -1
- package/dist/index.es.js +1126 -1081
- package/dist/index.umd.js +18 -18
- package/dist/src/lib/TabBar/TabBar.d.ts +3 -1
- package/dist/src/lib/index.d.ts +2 -2
- package/dist/test/Icons.d.ts +32 -0
- package/package.json +2 -2
package/dist/index.es.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
1
|
+
import z, { useState as C, useEffect as F } from "react";
|
|
2
2
|
import { createPortal as pr } from "react-dom";
|
|
3
|
-
import './index.css';var Wt = { exports: {} },
|
|
3
|
+
import './index.css';var Wt = { exports: {} }, et = {};
|
|
4
4
|
/**
|
|
5
5
|
* @license React
|
|
6
6
|
* react-jsx-runtime.production.min.js
|
|
@@ -12,19 +12,19 @@ import './index.css';var Wt = { exports: {} }, Je = {};
|
|
|
12
12
|
*/
|
|
13
13
|
var Jt;
|
|
14
14
|
function vr() {
|
|
15
|
-
if (Jt) return
|
|
15
|
+
if (Jt) return et;
|
|
16
16
|
Jt = 1;
|
|
17
|
-
var t =
|
|
18
|
-
function p
|
|
19
|
-
var
|
|
20
|
-
|
|
21
|
-
for (
|
|
22
|
-
if (
|
|
23
|
-
return { $$typeof:
|
|
17
|
+
var t = z, r = Symbol.for("react.element"), o = Symbol.for("react.fragment"), s = Object.prototype.hasOwnProperty, i = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, c = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
18
|
+
function d(p, f, g) {
|
|
19
|
+
var m, _ = {}, R = null, j = null;
|
|
20
|
+
g !== void 0 && (R = "" + g), f.key !== void 0 && (R = "" + f.key), f.ref !== void 0 && (j = f.ref);
|
|
21
|
+
for (m in f) s.call(f, m) && !c.hasOwnProperty(m) && (_[m] = f[m]);
|
|
22
|
+
if (p && p.defaultProps) for (m in f = p.defaultProps, f) _[m] === void 0 && (_[m] = f[m]);
|
|
23
|
+
return { $$typeof: r, type: p, key: R, ref: j, props: _, _owner: i.current };
|
|
24
24
|
}
|
|
25
|
-
return
|
|
25
|
+
return et.Fragment = o, et.jsx = d, et.jsxs = d, et;
|
|
26
26
|
}
|
|
27
|
-
var
|
|
27
|
+
var tt = {};
|
|
28
28
|
/**
|
|
29
29
|
* @license React
|
|
30
30
|
* react-jsx-runtime.development.js
|
|
@@ -37,88 +37,88 @@ var He = {};
|
|
|
37
37
|
var Ht;
|
|
38
38
|
function hr() {
|
|
39
39
|
return Ht || (Ht = 1, process.env.NODE_ENV !== "production" && function() {
|
|
40
|
-
var t =
|
|
41
|
-
function
|
|
40
|
+
var t = z, r = Symbol.for("react.element"), o = Symbol.for("react.portal"), s = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), c = Symbol.for("react.profiler"), d = Symbol.for("react.provider"), p = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"), g = Symbol.for("react.suspense"), m = Symbol.for("react.suspense_list"), _ = Symbol.for("react.memo"), R = Symbol.for("react.lazy"), j = Symbol.for("react.offscreen"), T = Symbol.iterator, _e = "@@iterator";
|
|
41
|
+
function Re(e) {
|
|
42
42
|
if (e === null || typeof e != "object")
|
|
43
43
|
return null;
|
|
44
|
-
var
|
|
45
|
-
return typeof
|
|
44
|
+
var n = T && e[T] || e[_e];
|
|
45
|
+
return typeof n == "function" ? n : null;
|
|
46
46
|
}
|
|
47
|
-
var
|
|
48
|
-
function
|
|
47
|
+
var N = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
48
|
+
function x(e) {
|
|
49
49
|
{
|
|
50
|
-
for (var
|
|
50
|
+
for (var n = arguments.length, a = new Array(n > 1 ? n - 1 : 0), u = 1; u < n; u++)
|
|
51
51
|
a[u - 1] = arguments[u];
|
|
52
|
-
|
|
52
|
+
Se("error", e, a);
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
|
-
function
|
|
55
|
+
function Se(e, n, a) {
|
|
56
56
|
{
|
|
57
|
-
var u =
|
|
58
|
-
|
|
59
|
-
var
|
|
60
|
-
return String(
|
|
57
|
+
var u = N.ReactDebugCurrentFrame, b = u.getStackAddendum();
|
|
58
|
+
b !== "" && (n += "%s", a = a.concat([b]));
|
|
59
|
+
var y = a.map(function(h) {
|
|
60
|
+
return String(h);
|
|
61
61
|
});
|
|
62
|
-
|
|
62
|
+
y.unshift("Warning: " + n), Function.prototype.apply.call(console[e], console, y);
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
|
-
var
|
|
66
|
-
|
|
65
|
+
var Ee = !1, xe = !1, M = !1, ut = !1, ft = !1, we;
|
|
66
|
+
we = Symbol.for("react.module.reference");
|
|
67
67
|
function dt(e) {
|
|
68
|
-
return !!(typeof e == "string" || typeof e == "function" || e ===
|
|
68
|
+
return !!(typeof e == "string" || typeof e == "function" || e === s || e === c || ft || e === i || e === g || e === m || ut || e === j || Ee || xe || M || typeof e == "object" && e !== null && (e.$$typeof === R || e.$$typeof === _ || e.$$typeof === d || e.$$typeof === p || e.$$typeof === f || // This needs to include all possible module reference object
|
|
69
69
|
// types supported by any Flight configuration anywhere since
|
|
70
70
|
// we don't know which Flight build this will end up being used
|
|
71
71
|
// with.
|
|
72
|
-
e.$$typeof ===
|
|
72
|
+
e.$$typeof === we || e.getModuleId !== void 0));
|
|
73
73
|
}
|
|
74
|
-
function pt(e,
|
|
74
|
+
function pt(e, n, a) {
|
|
75
75
|
var u = e.displayName;
|
|
76
76
|
if (u)
|
|
77
77
|
return u;
|
|
78
|
-
var
|
|
79
|
-
return
|
|
78
|
+
var b = n.displayName || n.name || "";
|
|
79
|
+
return b !== "" ? a + "(" + b + ")" : a;
|
|
80
80
|
}
|
|
81
|
-
function
|
|
81
|
+
function Pe(e) {
|
|
82
82
|
return e.displayName || "Context";
|
|
83
83
|
}
|
|
84
84
|
function $(e) {
|
|
85
85
|
if (e == null)
|
|
86
86
|
return null;
|
|
87
|
-
if (typeof e.tag == "number" &&
|
|
87
|
+
if (typeof e.tag == "number" && x("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
88
88
|
return e.displayName || e.name || null;
|
|
89
89
|
if (typeof e == "string")
|
|
90
90
|
return e;
|
|
91
91
|
switch (e) {
|
|
92
|
-
case
|
|
92
|
+
case s:
|
|
93
93
|
return "Fragment";
|
|
94
94
|
case o:
|
|
95
95
|
return "Portal";
|
|
96
96
|
case c:
|
|
97
97
|
return "Profiler";
|
|
98
|
-
case
|
|
98
|
+
case i:
|
|
99
99
|
return "StrictMode";
|
|
100
|
-
case
|
|
100
|
+
case g:
|
|
101
101
|
return "Suspense";
|
|
102
|
-
case
|
|
102
|
+
case m:
|
|
103
103
|
return "SuspenseList";
|
|
104
104
|
}
|
|
105
105
|
if (typeof e == "object")
|
|
106
106
|
switch (e.$$typeof) {
|
|
107
|
-
case v:
|
|
108
|
-
var r = e;
|
|
109
|
-
return Ee(r) + ".Consumer";
|
|
110
107
|
case p:
|
|
108
|
+
var n = e;
|
|
109
|
+
return Pe(n) + ".Consumer";
|
|
110
|
+
case d:
|
|
111
111
|
var a = e;
|
|
112
|
-
return
|
|
112
|
+
return Pe(a._context) + ".Provider";
|
|
113
113
|
case f:
|
|
114
114
|
return pt(e, e.render, "ForwardRef");
|
|
115
|
-
case
|
|
115
|
+
case _:
|
|
116
116
|
var u = e.displayName || null;
|
|
117
117
|
return u !== null ? u : $(e.type) || "Memo";
|
|
118
|
-
case
|
|
119
|
-
var
|
|
118
|
+
case R: {
|
|
119
|
+
var b = e, y = b._payload, h = b._init;
|
|
120
120
|
try {
|
|
121
|
-
return $(
|
|
121
|
+
return $(h(y));
|
|
122
122
|
} catch {
|
|
123
123
|
return null;
|
|
124
124
|
}
|
|
@@ -126,18 +126,18 @@ function hr() {
|
|
|
126
126
|
}
|
|
127
127
|
return null;
|
|
128
128
|
}
|
|
129
|
-
var
|
|
130
|
-
function
|
|
129
|
+
var I = Object.assign, V = 0, Ce, Te, $e, Ne, Me, Ie, Be;
|
|
130
|
+
function Le() {
|
|
131
131
|
}
|
|
132
|
-
|
|
132
|
+
Le.__reactDisabledLog = !0;
|
|
133
133
|
function vt() {
|
|
134
134
|
{
|
|
135
|
-
if (
|
|
136
|
-
|
|
135
|
+
if (V === 0) {
|
|
136
|
+
Ce = console.log, Te = console.info, $e = console.warn, Ne = console.error, Me = console.group, Ie = console.groupCollapsed, Be = console.groupEnd;
|
|
137
137
|
var e = {
|
|
138
138
|
configurable: !0,
|
|
139
139
|
enumerable: !0,
|
|
140
|
-
value:
|
|
140
|
+
value: Le,
|
|
141
141
|
writable: !0
|
|
142
142
|
};
|
|
143
143
|
Object.defineProperties(console, {
|
|
@@ -150,100 +150,100 @@ function hr() {
|
|
|
150
150
|
groupEnd: e
|
|
151
151
|
});
|
|
152
152
|
}
|
|
153
|
-
|
|
153
|
+
V++;
|
|
154
154
|
}
|
|
155
155
|
}
|
|
156
156
|
function ht() {
|
|
157
157
|
{
|
|
158
|
-
if (
|
|
158
|
+
if (V--, V === 0) {
|
|
159
159
|
var e = {
|
|
160
160
|
configurable: !0,
|
|
161
161
|
enumerable: !0,
|
|
162
162
|
writable: !0
|
|
163
163
|
};
|
|
164
164
|
Object.defineProperties(console, {
|
|
165
|
-
log:
|
|
166
|
-
value:
|
|
165
|
+
log: I({}, e, {
|
|
166
|
+
value: Ce
|
|
167
167
|
}),
|
|
168
|
-
info:
|
|
169
|
-
value:
|
|
168
|
+
info: I({}, e, {
|
|
169
|
+
value: Te
|
|
170
170
|
}),
|
|
171
|
-
warn:
|
|
172
|
-
value:
|
|
171
|
+
warn: I({}, e, {
|
|
172
|
+
value: $e
|
|
173
173
|
}),
|
|
174
|
-
error:
|
|
175
|
-
value:
|
|
174
|
+
error: I({}, e, {
|
|
175
|
+
value: Ne
|
|
176
176
|
}),
|
|
177
|
-
group:
|
|
178
|
-
value:
|
|
177
|
+
group: I({}, e, {
|
|
178
|
+
value: Me
|
|
179
179
|
}),
|
|
180
|
-
groupCollapsed:
|
|
181
|
-
value:
|
|
180
|
+
groupCollapsed: I({}, e, {
|
|
181
|
+
value: Ie
|
|
182
182
|
}),
|
|
183
|
-
groupEnd:
|
|
184
|
-
value:
|
|
183
|
+
groupEnd: I({}, e, {
|
|
184
|
+
value: Be
|
|
185
185
|
})
|
|
186
186
|
});
|
|
187
187
|
}
|
|
188
|
-
|
|
188
|
+
V < 0 && x("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
189
189
|
}
|
|
190
190
|
}
|
|
191
|
-
var
|
|
192
|
-
function
|
|
191
|
+
var ie = N.ReactCurrentDispatcher, ce;
|
|
192
|
+
function X(e, n, a) {
|
|
193
193
|
{
|
|
194
|
-
if (
|
|
194
|
+
if (ce === void 0)
|
|
195
195
|
try {
|
|
196
196
|
throw Error();
|
|
197
|
-
} catch (
|
|
198
|
-
var u =
|
|
199
|
-
|
|
197
|
+
} catch (b) {
|
|
198
|
+
var u = b.stack.trim().match(/\n( *(at )?)/);
|
|
199
|
+
ce = u && u[1] || "";
|
|
200
200
|
}
|
|
201
201
|
return `
|
|
202
|
-
` +
|
|
202
|
+
` + ce + e;
|
|
203
203
|
}
|
|
204
204
|
}
|
|
205
|
-
var
|
|
205
|
+
var le = !1, Z;
|
|
206
206
|
{
|
|
207
207
|
var mt = typeof WeakMap == "function" ? WeakMap : Map;
|
|
208
|
-
|
|
208
|
+
Z = new mt();
|
|
209
209
|
}
|
|
210
|
-
function
|
|
211
|
-
if (!e ||
|
|
210
|
+
function De(e, n) {
|
|
211
|
+
if (!e || le)
|
|
212
212
|
return "";
|
|
213
213
|
{
|
|
214
|
-
var a =
|
|
214
|
+
var a = Z.get(e);
|
|
215
215
|
if (a !== void 0)
|
|
216
216
|
return a;
|
|
217
217
|
}
|
|
218
218
|
var u;
|
|
219
|
-
|
|
220
|
-
var
|
|
219
|
+
le = !0;
|
|
220
|
+
var b = Error.prepareStackTrace;
|
|
221
221
|
Error.prepareStackTrace = void 0;
|
|
222
|
-
var
|
|
223
|
-
|
|
222
|
+
var y;
|
|
223
|
+
y = ie.current, ie.current = null, vt();
|
|
224
224
|
try {
|
|
225
|
-
if (
|
|
226
|
-
var
|
|
225
|
+
if (n) {
|
|
226
|
+
var h = function() {
|
|
227
227
|
throw Error();
|
|
228
228
|
};
|
|
229
|
-
if (Object.defineProperty(
|
|
229
|
+
if (Object.defineProperty(h.prototype, "props", {
|
|
230
230
|
set: function() {
|
|
231
231
|
throw Error();
|
|
232
232
|
}
|
|
233
233
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
234
234
|
try {
|
|
235
|
-
Reflect.construct(
|
|
235
|
+
Reflect.construct(h, []);
|
|
236
236
|
} catch (O) {
|
|
237
237
|
u = O;
|
|
238
238
|
}
|
|
239
|
-
Reflect.construct(e, [],
|
|
239
|
+
Reflect.construct(e, [], h);
|
|
240
240
|
} else {
|
|
241
241
|
try {
|
|
242
|
-
|
|
242
|
+
h.call();
|
|
243
243
|
} catch (O) {
|
|
244
244
|
u = O;
|
|
245
245
|
}
|
|
246
|
-
e.call(
|
|
246
|
+
e.call(h.prototype);
|
|
247
247
|
}
|
|
248
248
|
} else {
|
|
249
249
|
try {
|
|
@@ -255,145 +255,145 @@ function hr() {
|
|
|
255
255
|
}
|
|
256
256
|
} catch (O) {
|
|
257
257
|
if (O && u && typeof O.stack == "string") {
|
|
258
|
-
for (var
|
|
258
|
+
for (var v = O.stack.split(`
|
|
259
259
|
`), k = u.stack.split(`
|
|
260
|
-
`), S =
|
|
260
|
+
`), S = v.length - 1, E = k.length - 1; S >= 1 && E >= 0 && v[S] !== k[E]; )
|
|
261
261
|
E--;
|
|
262
262
|
for (; S >= 1 && E >= 0; S--, E--)
|
|
263
|
-
if (
|
|
263
|
+
if (v[S] !== k[E]) {
|
|
264
264
|
if (S !== 1 || E !== 1)
|
|
265
265
|
do
|
|
266
|
-
if (S--, E--, E < 0 ||
|
|
266
|
+
if (S--, E--, E < 0 || v[S] !== k[E]) {
|
|
267
267
|
var w = `
|
|
268
|
-
` +
|
|
269
|
-
return e.displayName && w.includes("<anonymous>") && (w = w.replace("<anonymous>", e.displayName)), typeof e == "function" &&
|
|
268
|
+
` + v[S].replace(" at new ", " at ");
|
|
269
|
+
return e.displayName && w.includes("<anonymous>") && (w = w.replace("<anonymous>", e.displayName)), typeof e == "function" && Z.set(e, w), w;
|
|
270
270
|
}
|
|
271
271
|
while (S >= 1 && E >= 0);
|
|
272
272
|
break;
|
|
273
273
|
}
|
|
274
274
|
}
|
|
275
275
|
} finally {
|
|
276
|
-
|
|
276
|
+
le = !1, ie.current = y, ht(), Error.prepareStackTrace = b;
|
|
277
277
|
}
|
|
278
|
-
var
|
|
279
|
-
return typeof e == "function" &&
|
|
278
|
+
var q = e ? e.displayName || e.name : "", B = q ? X(q) : "";
|
|
279
|
+
return typeof e == "function" && Z.set(e, B), B;
|
|
280
280
|
}
|
|
281
|
-
function gt(e,
|
|
282
|
-
return
|
|
281
|
+
function gt(e, n, a) {
|
|
282
|
+
return De(e, !1);
|
|
283
283
|
}
|
|
284
284
|
function bt(e) {
|
|
285
|
-
var
|
|
286
|
-
return !!(
|
|
285
|
+
var n = e.prototype;
|
|
286
|
+
return !!(n && n.isReactComponent);
|
|
287
287
|
}
|
|
288
|
-
function
|
|
288
|
+
function Q(e, n, a) {
|
|
289
289
|
if (e == null)
|
|
290
290
|
return "";
|
|
291
291
|
if (typeof e == "function")
|
|
292
|
-
return
|
|
292
|
+
return De(e, bt(e));
|
|
293
293
|
if (typeof e == "string")
|
|
294
|
-
return
|
|
294
|
+
return X(e);
|
|
295
295
|
switch (e) {
|
|
296
|
-
case
|
|
297
|
-
return
|
|
298
|
-
case
|
|
299
|
-
return
|
|
296
|
+
case g:
|
|
297
|
+
return X("Suspense");
|
|
298
|
+
case m:
|
|
299
|
+
return X("SuspenseList");
|
|
300
300
|
}
|
|
301
301
|
if (typeof e == "object")
|
|
302
302
|
switch (e.$$typeof) {
|
|
303
303
|
case f:
|
|
304
304
|
return gt(e.render);
|
|
305
|
-
case
|
|
306
|
-
return
|
|
307
|
-
case
|
|
308
|
-
var u = e,
|
|
305
|
+
case _:
|
|
306
|
+
return Q(e.type, n, a);
|
|
307
|
+
case R: {
|
|
308
|
+
var u = e, b = u._payload, y = u._init;
|
|
309
309
|
try {
|
|
310
|
-
return
|
|
310
|
+
return Q(y(b), n, a);
|
|
311
311
|
} catch {
|
|
312
312
|
}
|
|
313
313
|
}
|
|
314
314
|
}
|
|
315
315
|
return "";
|
|
316
316
|
}
|
|
317
|
-
var
|
|
318
|
-
function
|
|
317
|
+
var J = Object.prototype.hasOwnProperty, Ue = {}, Fe = N.ReactDebugCurrentFrame;
|
|
318
|
+
function ee(e) {
|
|
319
319
|
if (e) {
|
|
320
|
-
var
|
|
321
|
-
|
|
320
|
+
var n = e._owner, a = Q(e.type, e._source, n ? n.type : null);
|
|
321
|
+
Fe.setExtraStackFrame(a);
|
|
322
322
|
} else
|
|
323
|
-
|
|
323
|
+
Fe.setExtraStackFrame(null);
|
|
324
324
|
}
|
|
325
|
-
function yt(e,
|
|
325
|
+
function yt(e, n, a, u, b) {
|
|
326
326
|
{
|
|
327
|
-
var
|
|
328
|
-
for (var
|
|
329
|
-
if (
|
|
330
|
-
var
|
|
327
|
+
var y = Function.call.bind(J);
|
|
328
|
+
for (var h in e)
|
|
329
|
+
if (y(e, h)) {
|
|
330
|
+
var v = void 0;
|
|
331
331
|
try {
|
|
332
|
-
if (typeof e[
|
|
333
|
-
var k = Error((u || "React class") + ": " + a + " type `" +
|
|
332
|
+
if (typeof e[h] != "function") {
|
|
333
|
+
var k = Error((u || "React class") + ": " + a + " type `" + h + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[h] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
334
334
|
throw k.name = "Invariant Violation", k;
|
|
335
335
|
}
|
|
336
|
-
|
|
336
|
+
v = e[h](n, h, u, a, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
337
337
|
} catch (S) {
|
|
338
|
-
|
|
338
|
+
v = S;
|
|
339
339
|
}
|
|
340
|
-
|
|
340
|
+
v && !(v instanceof Error) && (ee(b), x("%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).", u || "React class", a, h, typeof v), ee(null)), v instanceof Error && !(v.message in Ue) && (Ue[v.message] = !0, ee(b), x("Failed %s type: %s", a, v.message), ee(null));
|
|
341
341
|
}
|
|
342
342
|
}
|
|
343
343
|
}
|
|
344
344
|
var _t = Array.isArray;
|
|
345
|
-
function
|
|
345
|
+
function ue(e) {
|
|
346
346
|
return _t(e);
|
|
347
347
|
}
|
|
348
348
|
function Rt(e) {
|
|
349
349
|
{
|
|
350
|
-
var
|
|
350
|
+
var n = typeof Symbol == "function" && Symbol.toStringTag, a = n && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
351
351
|
return a;
|
|
352
352
|
}
|
|
353
353
|
}
|
|
354
354
|
function St(e) {
|
|
355
355
|
try {
|
|
356
|
-
return
|
|
356
|
+
return We(e), !1;
|
|
357
357
|
} catch {
|
|
358
358
|
return !0;
|
|
359
359
|
}
|
|
360
360
|
}
|
|
361
|
-
function
|
|
361
|
+
function We(e) {
|
|
362
362
|
return "" + e;
|
|
363
363
|
}
|
|
364
|
-
function
|
|
364
|
+
function qe(e) {
|
|
365
365
|
if (St(e))
|
|
366
|
-
return
|
|
366
|
+
return x("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Rt(e)), We(e);
|
|
367
367
|
}
|
|
368
|
-
var
|
|
368
|
+
var Ye = N.ReactCurrentOwner, Et = {
|
|
369
369
|
key: !0,
|
|
370
370
|
ref: !0,
|
|
371
371
|
__self: !0,
|
|
372
372
|
__source: !0
|
|
373
|
-
},
|
|
373
|
+
}, ze, Ve;
|
|
374
374
|
function xt(e) {
|
|
375
|
-
if (
|
|
376
|
-
var
|
|
377
|
-
if (
|
|
375
|
+
if (J.call(e, "ref")) {
|
|
376
|
+
var n = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
377
|
+
if (n && n.isReactWarning)
|
|
378
378
|
return !1;
|
|
379
379
|
}
|
|
380
380
|
return e.ref !== void 0;
|
|
381
381
|
}
|
|
382
382
|
function At(e) {
|
|
383
|
-
if (
|
|
384
|
-
var
|
|
385
|
-
if (
|
|
383
|
+
if (J.call(e, "key")) {
|
|
384
|
+
var n = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
385
|
+
if (n && n.isReactWarning)
|
|
386
386
|
return !1;
|
|
387
387
|
}
|
|
388
388
|
return e.key !== void 0;
|
|
389
389
|
}
|
|
390
|
-
function jt(e,
|
|
391
|
-
typeof e.ref == "string" &&
|
|
390
|
+
function jt(e, n) {
|
|
391
|
+
typeof e.ref == "string" && Ye.current;
|
|
392
392
|
}
|
|
393
|
-
function kt(e,
|
|
393
|
+
function kt(e, n) {
|
|
394
394
|
{
|
|
395
395
|
var a = function() {
|
|
396
|
-
|
|
396
|
+
ze || (ze = !0, x("%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)", n));
|
|
397
397
|
};
|
|
398
398
|
a.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
399
399
|
get: a,
|
|
@@ -401,10 +401,10 @@ function hr() {
|
|
|
401
401
|
});
|
|
402
402
|
}
|
|
403
403
|
}
|
|
404
|
-
function Ot(e,
|
|
404
|
+
function Ot(e, n) {
|
|
405
405
|
{
|
|
406
406
|
var a = function() {
|
|
407
|
-
|
|
407
|
+
Ve || (Ve = !0, x("%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)", n));
|
|
408
408
|
};
|
|
409
409
|
a.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
410
410
|
get: a,
|
|
@@ -412,70 +412,70 @@ function hr() {
|
|
|
412
412
|
});
|
|
413
413
|
}
|
|
414
414
|
}
|
|
415
|
-
var
|
|
416
|
-
var
|
|
415
|
+
var wt = function(e, n, a, u, b, y, h) {
|
|
416
|
+
var v = {
|
|
417
417
|
// This tag allows us to uniquely identify this as a React Element
|
|
418
|
-
$$typeof:
|
|
418
|
+
$$typeof: r,
|
|
419
419
|
// Built-in properties that belong on the element
|
|
420
420
|
type: e,
|
|
421
|
-
key:
|
|
421
|
+
key: n,
|
|
422
422
|
ref: a,
|
|
423
|
-
props:
|
|
423
|
+
props: h,
|
|
424
424
|
// Record the component responsible for creating this element.
|
|
425
|
-
_owner:
|
|
425
|
+
_owner: y
|
|
426
426
|
};
|
|
427
|
-
return
|
|
427
|
+
return v._store = {}, Object.defineProperty(v._store, "validated", {
|
|
428
428
|
configurable: !1,
|
|
429
429
|
enumerable: !1,
|
|
430
430
|
writable: !0,
|
|
431
431
|
value: !1
|
|
432
|
-
}), Object.defineProperty(
|
|
432
|
+
}), Object.defineProperty(v, "_self", {
|
|
433
433
|
configurable: !1,
|
|
434
434
|
enumerable: !1,
|
|
435
435
|
writable: !1,
|
|
436
436
|
value: u
|
|
437
|
-
}), Object.defineProperty(
|
|
437
|
+
}), Object.defineProperty(v, "_source", {
|
|
438
438
|
configurable: !1,
|
|
439
439
|
enumerable: !1,
|
|
440
440
|
writable: !1,
|
|
441
|
-
value:
|
|
442
|
-
}), Object.freeze && (Object.freeze(
|
|
441
|
+
value: b
|
|
442
|
+
}), Object.freeze && (Object.freeze(v.props), Object.freeze(v)), v;
|
|
443
443
|
};
|
|
444
|
-
function
|
|
444
|
+
function Pt(e, n, a, u, b) {
|
|
445
445
|
{
|
|
446
|
-
var
|
|
447
|
-
a !== void 0 && (
|
|
448
|
-
for (
|
|
449
|
-
|
|
446
|
+
var y, h = {}, v = null, k = null;
|
|
447
|
+
a !== void 0 && (qe(a), v = "" + a), At(n) && (qe(n.key), v = "" + n.key), xt(n) && (k = n.ref, jt(n, b));
|
|
448
|
+
for (y in n)
|
|
449
|
+
J.call(n, y) && !Et.hasOwnProperty(y) && (h[y] = n[y]);
|
|
450
450
|
if (e && e.defaultProps) {
|
|
451
451
|
var S = e.defaultProps;
|
|
452
|
-
for (
|
|
453
|
-
|
|
452
|
+
for (y in S)
|
|
453
|
+
h[y] === void 0 && (h[y] = S[y]);
|
|
454
454
|
}
|
|
455
|
-
if (
|
|
455
|
+
if (v || k) {
|
|
456
456
|
var E = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
457
|
-
|
|
457
|
+
v && kt(h, E), k && Ot(h, E);
|
|
458
458
|
}
|
|
459
|
-
return
|
|
459
|
+
return wt(e, v, k, b, u, Ye.current, h);
|
|
460
460
|
}
|
|
461
461
|
}
|
|
462
|
-
var
|
|
463
|
-
function
|
|
462
|
+
var fe = N.ReactCurrentOwner, Je = N.ReactDebugCurrentFrame;
|
|
463
|
+
function W(e) {
|
|
464
464
|
if (e) {
|
|
465
|
-
var
|
|
466
|
-
|
|
465
|
+
var n = e._owner, a = Q(e.type, e._source, n ? n.type : null);
|
|
466
|
+
Je.setExtraStackFrame(a);
|
|
467
467
|
} else
|
|
468
|
-
|
|
468
|
+
Je.setExtraStackFrame(null);
|
|
469
469
|
}
|
|
470
|
-
var
|
|
471
|
-
|
|
472
|
-
function
|
|
473
|
-
return typeof e == "object" && e !== null && e.$$typeof ===
|
|
470
|
+
var de;
|
|
471
|
+
de = !1;
|
|
472
|
+
function pe(e) {
|
|
473
|
+
return typeof e == "object" && e !== null && e.$$typeof === r;
|
|
474
474
|
}
|
|
475
|
-
function
|
|
475
|
+
function He() {
|
|
476
476
|
{
|
|
477
|
-
if (
|
|
478
|
-
var e = $(
|
|
477
|
+
if (fe.current) {
|
|
478
|
+
var e = $(fe.current.type);
|
|
479
479
|
if (e)
|
|
480
480
|
return `
|
|
481
481
|
|
|
@@ -487,247 +487,247 @@ Check the render method of \`` + e + "`.";
|
|
|
487
487
|
function Ct(e) {
|
|
488
488
|
return "";
|
|
489
489
|
}
|
|
490
|
-
var
|
|
490
|
+
var Ke = {};
|
|
491
491
|
function Tt(e) {
|
|
492
492
|
{
|
|
493
|
-
var
|
|
494
|
-
if (!
|
|
493
|
+
var n = He();
|
|
494
|
+
if (!n) {
|
|
495
495
|
var a = typeof e == "string" ? e : e.displayName || e.name;
|
|
496
|
-
a && (
|
|
496
|
+
a && (n = `
|
|
497
497
|
|
|
498
498
|
Check the top-level render call using <` + a + ">.");
|
|
499
499
|
}
|
|
500
|
-
return
|
|
500
|
+
return n;
|
|
501
501
|
}
|
|
502
502
|
}
|
|
503
|
-
function
|
|
503
|
+
function Ge(e, n) {
|
|
504
504
|
{
|
|
505
505
|
if (!e._store || e._store.validated || e.key != null)
|
|
506
506
|
return;
|
|
507
507
|
e._store.validated = !0;
|
|
508
|
-
var a = Tt(
|
|
509
|
-
if (
|
|
508
|
+
var a = Tt(n);
|
|
509
|
+
if (Ke[a])
|
|
510
510
|
return;
|
|
511
|
-
|
|
511
|
+
Ke[a] = !0;
|
|
512
512
|
var u = "";
|
|
513
|
-
e && e._owner && e._owner !==
|
|
513
|
+
e && e._owner && e._owner !== fe.current && (u = " It was passed a child from " + $(e._owner.type) + "."), W(e), x('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', a, u), W(null);
|
|
514
514
|
}
|
|
515
515
|
}
|
|
516
|
-
function
|
|
516
|
+
function Xe(e, n) {
|
|
517
517
|
{
|
|
518
518
|
if (typeof e != "object")
|
|
519
519
|
return;
|
|
520
|
-
if (
|
|
520
|
+
if (ue(e))
|
|
521
521
|
for (var a = 0; a < e.length; a++) {
|
|
522
522
|
var u = e[a];
|
|
523
|
-
|
|
523
|
+
pe(u) && Ge(u, n);
|
|
524
524
|
}
|
|
525
|
-
else if (
|
|
525
|
+
else if (pe(e))
|
|
526
526
|
e._store && (e._store.validated = !0);
|
|
527
527
|
else if (e) {
|
|
528
|
-
var
|
|
529
|
-
if (typeof
|
|
530
|
-
for (var
|
|
531
|
-
|
|
528
|
+
var b = Re(e);
|
|
529
|
+
if (typeof b == "function" && b !== e.entries)
|
|
530
|
+
for (var y = b.call(e), h; !(h = y.next()).done; )
|
|
531
|
+
pe(h.value) && Ge(h.value, n);
|
|
532
532
|
}
|
|
533
533
|
}
|
|
534
534
|
}
|
|
535
535
|
function $t(e) {
|
|
536
536
|
{
|
|
537
|
-
var
|
|
538
|
-
if (
|
|
537
|
+
var n = e.type;
|
|
538
|
+
if (n == null || typeof n == "string")
|
|
539
539
|
return;
|
|
540
540
|
var a;
|
|
541
|
-
if (typeof
|
|
542
|
-
a =
|
|
543
|
-
else if (typeof
|
|
541
|
+
if (typeof n == "function")
|
|
542
|
+
a = n.propTypes;
|
|
543
|
+
else if (typeof n == "object" && (n.$$typeof === f || // Note: Memo only checks outer props here.
|
|
544
544
|
// Inner props are checked in the reconciler.
|
|
545
|
-
|
|
546
|
-
a =
|
|
545
|
+
n.$$typeof === _))
|
|
546
|
+
a = n.propTypes;
|
|
547
547
|
else
|
|
548
548
|
return;
|
|
549
549
|
if (a) {
|
|
550
|
-
var u = $(
|
|
550
|
+
var u = $(n);
|
|
551
551
|
yt(a, e.props, "prop", u, e);
|
|
552
|
-
} else if (
|
|
553
|
-
|
|
554
|
-
var
|
|
555
|
-
|
|
552
|
+
} else if (n.PropTypes !== void 0 && !de) {
|
|
553
|
+
de = !0;
|
|
554
|
+
var b = $(n);
|
|
555
|
+
x("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", b || "Unknown");
|
|
556
556
|
}
|
|
557
|
-
typeof
|
|
557
|
+
typeof n.getDefaultProps == "function" && !n.getDefaultProps.isReactClassApproved && x("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
558
558
|
}
|
|
559
559
|
}
|
|
560
560
|
function Nt(e) {
|
|
561
561
|
{
|
|
562
|
-
for (var
|
|
563
|
-
var u =
|
|
562
|
+
for (var n = Object.keys(e.props), a = 0; a < n.length; a++) {
|
|
563
|
+
var u = n[a];
|
|
564
564
|
if (u !== "children" && u !== "key") {
|
|
565
|
-
|
|
565
|
+
W(e), x("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", u), W(null);
|
|
566
566
|
break;
|
|
567
567
|
}
|
|
568
568
|
}
|
|
569
|
-
e.ref !== null && (
|
|
569
|
+
e.ref !== null && (W(e), x("Invalid attribute `ref` supplied to `React.Fragment`."), W(null));
|
|
570
570
|
}
|
|
571
571
|
}
|
|
572
|
-
var
|
|
573
|
-
function
|
|
572
|
+
var Ze = {};
|
|
573
|
+
function Qe(e, n, a, u, b, y) {
|
|
574
574
|
{
|
|
575
|
-
var
|
|
576
|
-
if (!
|
|
577
|
-
var
|
|
578
|
-
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (
|
|
575
|
+
var h = dt(e);
|
|
576
|
+
if (!h) {
|
|
577
|
+
var v = "";
|
|
578
|
+
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (v += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
579
579
|
var k = Ct();
|
|
580
|
-
k ?
|
|
580
|
+
k ? v += k : v += He();
|
|
581
581
|
var S;
|
|
582
|
-
e === null ? S = "null" :
|
|
582
|
+
e === null ? S = "null" : ue(e) ? S = "array" : e !== void 0 && e.$$typeof === r ? (S = "<" + ($(e.type) || "Unknown") + " />", v = " Did you accidentally export a JSX literal instead of a component?") : S = typeof e, x("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", S, v);
|
|
583
583
|
}
|
|
584
|
-
var E =
|
|
584
|
+
var E = Pt(e, n, a, b, y);
|
|
585
585
|
if (E == null)
|
|
586
586
|
return E;
|
|
587
|
-
if (
|
|
588
|
-
var w =
|
|
587
|
+
if (h) {
|
|
588
|
+
var w = n.children;
|
|
589
589
|
if (w !== void 0)
|
|
590
590
|
if (u)
|
|
591
|
-
if (
|
|
592
|
-
for (var
|
|
593
|
-
|
|
591
|
+
if (ue(w)) {
|
|
592
|
+
for (var q = 0; q < w.length; q++)
|
|
593
|
+
Xe(w[q], e);
|
|
594
594
|
Object.freeze && Object.freeze(w);
|
|
595
595
|
} else
|
|
596
|
-
|
|
596
|
+
x("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
597
597
|
else
|
|
598
|
-
|
|
598
|
+
Xe(w, e);
|
|
599
599
|
}
|
|
600
|
-
if (
|
|
601
|
-
var
|
|
600
|
+
if (J.call(n, "key")) {
|
|
601
|
+
var B = $(e), O = Object.keys(n).filter(function(Ut) {
|
|
602
602
|
return Ut !== "key";
|
|
603
|
-
}),
|
|
604
|
-
if (!
|
|
603
|
+
}), ve = O.length > 0 ? "{key: someKey, " + O.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
604
|
+
if (!Ze[B + ve]) {
|
|
605
605
|
var Dt = O.length > 0 ? "{" + O.join(": ..., ") + ": ...}" : "{}";
|
|
606
|
-
|
|
606
|
+
x(`A props object containing a "key" prop is being spread into JSX:
|
|
607
607
|
let props = %s;
|
|
608
608
|
<%s {...props} />
|
|
609
609
|
React keys must be passed directly to JSX without using spread:
|
|
610
610
|
let props = %s;
|
|
611
|
-
<%s key={someKey} {...props} />`,
|
|
611
|
+
<%s key={someKey} {...props} />`, ve, B, Dt, B), Ze[B + ve] = !0;
|
|
612
612
|
}
|
|
613
613
|
}
|
|
614
|
-
return e ===
|
|
614
|
+
return e === s ? Nt(E) : $t(E), E;
|
|
615
615
|
}
|
|
616
616
|
}
|
|
617
|
-
function
|
|
618
|
-
return
|
|
617
|
+
function Mt(e, n, a) {
|
|
618
|
+
return Qe(e, n, a, !0);
|
|
619
619
|
}
|
|
620
|
-
function
|
|
621
|
-
return
|
|
620
|
+
function It(e, n, a) {
|
|
621
|
+
return Qe(e, n, a, !1);
|
|
622
622
|
}
|
|
623
|
-
var Bt =
|
|
624
|
-
|
|
625
|
-
}()),
|
|
623
|
+
var Bt = It, Lt = Mt;
|
|
624
|
+
tt.Fragment = s, tt.jsx = Bt, tt.jsxs = Lt;
|
|
625
|
+
}()), tt;
|
|
626
626
|
}
|
|
627
627
|
process.env.NODE_ENV === "production" ? Wt.exports = vr() : Wt.exports = hr();
|
|
628
628
|
var l = Wt.exports;
|
|
629
|
-
const mr = "_o_1apbm_11", gr = "_x_1apbm_24", br = "_p_1apbm_28", yr = "_m_1apbm_45",
|
|
629
|
+
const mr = "_o_1apbm_11", gr = "_x_1apbm_24", br = "_p_1apbm_28", yr = "_m_1apbm_45", Ae = {
|
|
630
630
|
o: mr,
|
|
631
631
|
x: gr,
|
|
632
632
|
p: br,
|
|
633
633
|
m: yr
|
|
634
634
|
};
|
|
635
635
|
let Y = {};
|
|
636
|
-
var
|
|
636
|
+
var qt;
|
|
637
637
|
((t) => {
|
|
638
|
-
function
|
|
639
|
-
children:
|
|
638
|
+
function r({
|
|
639
|
+
children: p,
|
|
640
640
|
onCallbackModal: f,
|
|
641
|
-
nameModal:
|
|
642
|
-
offsetTop:
|
|
641
|
+
nameModal: g,
|
|
642
|
+
offsetTop: m
|
|
643
643
|
}) {
|
|
644
|
-
const [
|
|
645
|
-
if (Y[
|
|
646
|
-
|
|
647
|
-
|
|
644
|
+
const [_, R] = C(!1), [j, T] = C(!1);
|
|
645
|
+
if (Y[g].onClose = () => {
|
|
646
|
+
P.BackButton(!1), T(!0), setTimeout(() => {
|
|
647
|
+
R(!1), T(!1), f == null || f(), Y.x(g);
|
|
648
648
|
}, 300);
|
|
649
|
-
},
|
|
650
|
-
|
|
651
|
-
callback: () => Y[
|
|
652
|
-
}),
|
|
653
|
-
}, []), !!
|
|
654
|
-
return /* @__PURE__ */ l.jsx("div", { className:
|
|
649
|
+
}, F(() => {
|
|
650
|
+
_ ? Y[g].onClose() : (P.BackButton({
|
|
651
|
+
callback: () => Y[g].onClose()
|
|
652
|
+
}), R(!0));
|
|
653
|
+
}, []), !!_)
|
|
654
|
+
return /* @__PURE__ */ l.jsx("div", { className: ye(Ae.o, j && Ae.x), children: /* @__PURE__ */ l.jsx(
|
|
655
655
|
"div",
|
|
656
656
|
{
|
|
657
|
-
className:
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
657
|
+
className: ye(
|
|
658
|
+
Ae.p,
|
|
659
|
+
j && Ae.x,
|
|
660
|
+
m ? Ae.o : Ae.m
|
|
661
661
|
),
|
|
662
|
-
children:
|
|
662
|
+
children: p
|
|
663
663
|
}
|
|
664
664
|
) });
|
|
665
665
|
}
|
|
666
|
-
t.Content =
|
|
666
|
+
t.Content = r;
|
|
667
667
|
function o({
|
|
668
|
-
import_modules:
|
|
668
|
+
import_modules: p
|
|
669
669
|
}) {
|
|
670
|
-
let [f,
|
|
671
|
-
return Y.x = (
|
|
672
|
-
|
|
673
|
-
},
|
|
674
|
-
|
|
675
|
-
}, []), Y.add = (
|
|
676
|
-
|
|
677
|
-
}, /* @__PURE__ */ l.jsx(l.Fragment, { children: f.map((
|
|
670
|
+
let [f, g] = C([]);
|
|
671
|
+
return Y.x = (m) => {
|
|
672
|
+
g(m ? f.filter((_) => _.key !== m) : []);
|
|
673
|
+
}, F(() => {
|
|
674
|
+
p && (Y.i = p);
|
|
675
|
+
}, []), Y.add = (m, _ = Date.now()) => {
|
|
676
|
+
g([...f, { key: _, item: m }]);
|
|
677
|
+
}, /* @__PURE__ */ l.jsx(l.Fragment, { children: f.map((m) => m.item) });
|
|
678
678
|
}
|
|
679
679
|
t.Init = o;
|
|
680
|
-
function
|
|
680
|
+
function s(p, f, g) {
|
|
681
681
|
Y.add(
|
|
682
682
|
/* @__PURE__ */ l.jsx(
|
|
683
|
-
|
|
683
|
+
r,
|
|
684
684
|
{
|
|
685
685
|
onCallbackModal: Y["callback_modal" + f],
|
|
686
686
|
nameModal: f || "",
|
|
687
|
-
offsetTop:
|
|
688
|
-
children:
|
|
687
|
+
offsetTop: g,
|
|
688
|
+
children: p
|
|
689
689
|
},
|
|
690
690
|
String(Date.now())
|
|
691
691
|
),
|
|
692
692
|
f
|
|
693
693
|
);
|
|
694
694
|
}
|
|
695
|
-
t.Add =
|
|
696
|
-
function
|
|
695
|
+
t.Add = s;
|
|
696
|
+
function i(p, f = Date.now().toString(), g) {
|
|
697
697
|
return Y[f] = {}, {
|
|
698
|
-
Open: (
|
|
698
|
+
Open: (R) => {
|
|
699
699
|
t.Add(
|
|
700
700
|
/* @__PURE__ */ l.jsx(
|
|
701
|
-
|
|
701
|
+
p,
|
|
702
702
|
{
|
|
703
|
-
...
|
|
704
|
-
onCallbackModal: (
|
|
705
|
-
var
|
|
706
|
-
(
|
|
703
|
+
...R,
|
|
704
|
+
onCallbackModal: (j) => {
|
|
705
|
+
var T;
|
|
706
|
+
(T = R.callback) == null || T.call(R, j);
|
|
707
707
|
},
|
|
708
708
|
nameModal: f
|
|
709
709
|
},
|
|
710
710
|
(/* @__PURE__ */ new Date()).getTime()
|
|
711
711
|
),
|
|
712
712
|
f,
|
|
713
|
-
|
|
713
|
+
g === void 0 ? !0 : g
|
|
714
714
|
);
|
|
715
715
|
}
|
|
716
716
|
};
|
|
717
717
|
}
|
|
718
|
-
t.Create =
|
|
719
|
-
function c(
|
|
720
|
-
Y[
|
|
718
|
+
t.Create = i;
|
|
719
|
+
function c(p) {
|
|
720
|
+
Y[p].onClose();
|
|
721
721
|
}
|
|
722
722
|
t.Close = c;
|
|
723
|
-
function p
|
|
724
|
-
Y.i && (
|
|
725
|
-
var
|
|
726
|
-
|
|
723
|
+
function d(p, f, g, m) {
|
|
724
|
+
Y.i && (m && (g.callback = m), Y.i(`${p}/modals/${f}.tsx`).then((_) => {
|
|
725
|
+
var R;
|
|
726
|
+
_.Open ? _.Open(g) : (R = _.default) != null && R.Open ? _.default.Open(g) : _.default && _.default(g);
|
|
727
727
|
}));
|
|
728
728
|
}
|
|
729
|
-
t.Open =
|
|
730
|
-
})(
|
|
729
|
+
t.Open = d;
|
|
730
|
+
})(qt || (qt = {}));
|
|
731
731
|
function or() {
|
|
732
732
|
return typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof self < "u" ? self : typeof global < "u" ? global : {};
|
|
733
733
|
}
|
|
@@ -737,105 +737,105 @@ const ar = {
|
|
|
737
737
|
saltLength: 16
|
|
738
738
|
};
|
|
739
739
|
function Kt(t) {
|
|
740
|
-
const
|
|
741
|
-
|
|
740
|
+
const r = or();
|
|
741
|
+
r.CRYPTO_PARAMS ? r.CRYPTO_PARAMS = { ...r.CRYPTO_PARAMS, ...t } : r.CRYPTO_PARAMS = { ...ar, ...t };
|
|
742
742
|
}
|
|
743
|
-
function
|
|
743
|
+
function it() {
|
|
744
744
|
return or().CRYPTO_PARAMS || ar;
|
|
745
745
|
}
|
|
746
|
-
const
|
|
747
|
-
let
|
|
748
|
-
for (let
|
|
749
|
-
const
|
|
750
|
-
|
|
746
|
+
const ct = (t) => {
|
|
747
|
+
let r = 0;
|
|
748
|
+
for (let s = 0; s < t.length; s++) {
|
|
749
|
+
const i = t.charCodeAt(s);
|
|
750
|
+
r = (r << 5) - r + i, r = r & r;
|
|
751
751
|
}
|
|
752
|
-
|
|
752
|
+
r = Math.abs(r);
|
|
753
753
|
let o = "";
|
|
754
|
-
for (let
|
|
755
|
-
const
|
|
756
|
-
o +=
|
|
754
|
+
for (let s = 0; s < 64; s++) {
|
|
755
|
+
const i = (r ^ s * 197) & 255;
|
|
756
|
+
o += i.toString(16).padStart(2, "0");
|
|
757
757
|
}
|
|
758
758
|
return o;
|
|
759
|
-
}, sr = (t,
|
|
760
|
-
let o = t +
|
|
761
|
-
for (let
|
|
762
|
-
o =
|
|
763
|
-
const
|
|
764
|
-
for (let
|
|
765
|
-
i
|
|
766
|
-
return
|
|
767
|
-
}, ir = (t,
|
|
768
|
-
const o = new Uint8Array(t.length),
|
|
769
|
-
let
|
|
759
|
+
}, sr = (t, r) => {
|
|
760
|
+
let o = t + r;
|
|
761
|
+
for (let i = 0; i < it().iterations; i++)
|
|
762
|
+
o = ct(o);
|
|
763
|
+
const s = new Uint8Array(32);
|
|
764
|
+
for (let i = 0; i < 32; i++)
|
|
765
|
+
s[i] = parseInt(o.substring(i * 2, i * 2 + 2), 16);
|
|
766
|
+
return s;
|
|
767
|
+
}, ir = (t, r) => {
|
|
768
|
+
const o = new Uint8Array(t.length), s = new Uint8Array(t.length);
|
|
769
|
+
let i = 0;
|
|
770
770
|
for (let c = 0; c < t.length; c++) {
|
|
771
|
-
const
|
|
772
|
-
|
|
771
|
+
const d = c % r.length;
|
|
772
|
+
i = r[d] + c + i & 255, s[c] = i;
|
|
773
773
|
}
|
|
774
774
|
for (let c = 0; c < t.length; c++)
|
|
775
|
-
o[c] = t[c] ^
|
|
775
|
+
o[c] = t[c] ^ s[c];
|
|
776
776
|
return o;
|
|
777
777
|
}, _r = (t) => new TextEncoder().encode(t), Rr = (t) => new TextDecoder().decode(t), Sr = (t) => {
|
|
778
|
-
let
|
|
778
|
+
let r = "";
|
|
779
779
|
for (let o = 0; o < t.length; o += 8192) {
|
|
780
|
-
const
|
|
781
|
-
|
|
780
|
+
const s = t.slice(o, Math.min(o + 8192, t.length));
|
|
781
|
+
r += String.fromCharCode.apply(null, Array.from(s));
|
|
782
782
|
}
|
|
783
|
-
return btoa(
|
|
783
|
+
return btoa(r);
|
|
784
784
|
}, Er = (t) => {
|
|
785
|
-
const
|
|
786
|
-
for (let
|
|
787
|
-
o[
|
|
785
|
+
const r = atob(t), o = new Uint8Array(r.length);
|
|
786
|
+
for (let s = 0; s < r.length; s++)
|
|
787
|
+
o[s] = r.charCodeAt(s);
|
|
788
788
|
return o;
|
|
789
789
|
}, xr = (t) => {
|
|
790
790
|
try {
|
|
791
|
-
const
|
|
791
|
+
const r = ct(
|
|
792
792
|
Date.now().toString() + Math.random()
|
|
793
|
-
).substring(0,
|
|
794
|
-
return `${
|
|
793
|
+
).substring(0, it().saltLength * 2), o = ct(t + r).substring(0, 8), s = sr(it().key, r), i = _r(t), c = ir(i, s), d = Sr(c);
|
|
794
|
+
return `${r}.${d}.${o}`;
|
|
795
795
|
} catch {
|
|
796
796
|
throw new Error("Не удалось зашифровать данные");
|
|
797
797
|
}
|
|
798
798
|
}, Ar = (t) => {
|
|
799
799
|
try {
|
|
800
|
-
const
|
|
801
|
-
if (
|
|
800
|
+
const r = t.split(".");
|
|
801
|
+
if (r.length !== 3)
|
|
802
802
|
throw new Error("Неверный формат зашифрованных данных");
|
|
803
|
-
const o =
|
|
804
|
-
if (
|
|
803
|
+
const o = r[0], s = r[1], i = r[2], c = sr(it().key, o), d = Er(s), p = ir(d, c), f = Rr(p);
|
|
804
|
+
if (ct(f + o).substring(
|
|
805
805
|
0,
|
|
806
806
|
8
|
|
807
|
-
) !==
|
|
807
|
+
) !== i)
|
|
808
808
|
throw new Error("Контрольная сумма не совпадает");
|
|
809
809
|
return f;
|
|
810
810
|
} catch {
|
|
811
811
|
return "";
|
|
812
812
|
}
|
|
813
813
|
};
|
|
814
|
-
var
|
|
814
|
+
var se;
|
|
815
815
|
((t) => {
|
|
816
|
-
t.setKey = (
|
|
817
|
-
Kt({ key:
|
|
818
|
-
}, t.enCode = (
|
|
816
|
+
t.setKey = (r) => {
|
|
817
|
+
Kt({ key: r });
|
|
818
|
+
}, t.enCode = (r) => {
|
|
819
819
|
try {
|
|
820
|
-
const o = JSON.stringify(
|
|
820
|
+
const o = JSON.stringify(r);
|
|
821
821
|
return xr(o);
|
|
822
822
|
} catch {
|
|
823
823
|
throw new Error("Не удалось зашифровать объект");
|
|
824
824
|
}
|
|
825
|
-
}, t.deCode = (
|
|
825
|
+
}, t.deCode = (r) => {
|
|
826
826
|
try {
|
|
827
|
-
if (!
|
|
827
|
+
if (!r || r.length < 10)
|
|
828
828
|
return !1;
|
|
829
|
-
const o = Ar(
|
|
829
|
+
const o = Ar(r);
|
|
830
830
|
return o && JSON.parse(o) || !1;
|
|
831
831
|
} catch {
|
|
832
832
|
return !1;
|
|
833
833
|
}
|
|
834
|
-
}, t.setSecurityParams = (
|
|
835
|
-
Kt({ iterations:
|
|
834
|
+
}, t.setSecurityParams = (r, o) => {
|
|
835
|
+
Kt({ iterations: r, saltLength: o });
|
|
836
836
|
};
|
|
837
|
-
})(
|
|
838
|
-
var
|
|
837
|
+
})(se || (se = {}));
|
|
838
|
+
var rt = {};
|
|
839
839
|
/**
|
|
840
840
|
* @license React
|
|
841
841
|
* react-jsx-runtime.production.min.js
|
|
@@ -847,19 +847,19 @@ var Ke = {};
|
|
|
847
847
|
*/
|
|
848
848
|
var Gt;
|
|
849
849
|
function jr() {
|
|
850
|
-
if (Gt) return
|
|
850
|
+
if (Gt) return rt;
|
|
851
851
|
Gt = 1;
|
|
852
|
-
var t =
|
|
853
|
-
function p
|
|
854
|
-
var
|
|
855
|
-
|
|
856
|
-
for (
|
|
857
|
-
if (
|
|
858
|
-
return { $$typeof:
|
|
852
|
+
var t = z, r = Symbol.for("react.element"), o = Symbol.for("react.fragment"), s = Object.prototype.hasOwnProperty, i = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, c = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
853
|
+
function d(p, f, g) {
|
|
854
|
+
var m, _ = {}, R = null, j = null;
|
|
855
|
+
g !== void 0 && (R = "" + g), f.key !== void 0 && (R = "" + f.key), f.ref !== void 0 && (j = f.ref);
|
|
856
|
+
for (m in f) s.call(f, m) && !c.hasOwnProperty(m) && (_[m] = f[m]);
|
|
857
|
+
if (p && p.defaultProps) for (m in f = p.defaultProps, f) _[m] === void 0 && (_[m] = f[m]);
|
|
858
|
+
return { $$typeof: r, type: p, key: R, ref: j, props: _, _owner: i.current };
|
|
859
859
|
}
|
|
860
|
-
return
|
|
860
|
+
return rt.Fragment = o, rt.jsx = d, rt.jsxs = d, rt;
|
|
861
861
|
}
|
|
862
|
-
var
|
|
862
|
+
var ot = {};
|
|
863
863
|
/**
|
|
864
864
|
* @license React
|
|
865
865
|
* react-jsx-runtime.development.js
|
|
@@ -872,88 +872,88 @@ var Xe = {};
|
|
|
872
872
|
var Xt;
|
|
873
873
|
function kr() {
|
|
874
874
|
return Xt || (Xt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
875
|
-
var t =
|
|
876
|
-
function
|
|
875
|
+
var t = z, r = Symbol.for("react.element"), o = Symbol.for("react.portal"), s = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), c = Symbol.for("react.profiler"), d = Symbol.for("react.provider"), p = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"), g = Symbol.for("react.suspense"), m = Symbol.for("react.suspense_list"), _ = Symbol.for("react.memo"), R = Symbol.for("react.lazy"), j = Symbol.for("react.offscreen"), T = Symbol.iterator, _e = "@@iterator";
|
|
876
|
+
function Re(e) {
|
|
877
877
|
if (e === null || typeof e != "object")
|
|
878
878
|
return null;
|
|
879
|
-
var
|
|
880
|
-
return typeof
|
|
879
|
+
var n = T && e[T] || e[_e];
|
|
880
|
+
return typeof n == "function" ? n : null;
|
|
881
881
|
}
|
|
882
|
-
var
|
|
883
|
-
function
|
|
882
|
+
var N = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
883
|
+
function x(e) {
|
|
884
884
|
{
|
|
885
|
-
for (var
|
|
885
|
+
for (var n = arguments.length, a = new Array(n > 1 ? n - 1 : 0), u = 1; u < n; u++)
|
|
886
886
|
a[u - 1] = arguments[u];
|
|
887
|
-
|
|
887
|
+
Se("error", e, a);
|
|
888
888
|
}
|
|
889
889
|
}
|
|
890
|
-
function
|
|
890
|
+
function Se(e, n, a) {
|
|
891
891
|
{
|
|
892
|
-
var u =
|
|
893
|
-
|
|
894
|
-
var
|
|
895
|
-
return String(
|
|
892
|
+
var u = N.ReactDebugCurrentFrame, b = u.getStackAddendum();
|
|
893
|
+
b !== "" && (n += "%s", a = a.concat([b]));
|
|
894
|
+
var y = a.map(function(h) {
|
|
895
|
+
return String(h);
|
|
896
896
|
});
|
|
897
|
-
|
|
897
|
+
y.unshift("Warning: " + n), Function.prototype.apply.call(console[e], console, y);
|
|
898
898
|
}
|
|
899
899
|
}
|
|
900
|
-
var
|
|
901
|
-
|
|
900
|
+
var Ee = !1, xe = !1, M = !1, ut = !1, ft = !1, we;
|
|
901
|
+
we = Symbol.for("react.module.reference");
|
|
902
902
|
function dt(e) {
|
|
903
|
-
return !!(typeof e == "string" || typeof e == "function" || e ===
|
|
903
|
+
return !!(typeof e == "string" || typeof e == "function" || e === s || e === c || ft || e === i || e === g || e === m || ut || e === j || Ee || xe || M || typeof e == "object" && e !== null && (e.$$typeof === R || e.$$typeof === _ || e.$$typeof === d || e.$$typeof === p || e.$$typeof === f || // This needs to include all possible module reference object
|
|
904
904
|
// types supported by any Flight configuration anywhere since
|
|
905
905
|
// we don't know which Flight build this will end up being used
|
|
906
906
|
// with.
|
|
907
|
-
e.$$typeof ===
|
|
907
|
+
e.$$typeof === we || e.getModuleId !== void 0));
|
|
908
908
|
}
|
|
909
|
-
function pt(e,
|
|
909
|
+
function pt(e, n, a) {
|
|
910
910
|
var u = e.displayName;
|
|
911
911
|
if (u)
|
|
912
912
|
return u;
|
|
913
|
-
var
|
|
914
|
-
return
|
|
913
|
+
var b = n.displayName || n.name || "";
|
|
914
|
+
return b !== "" ? a + "(" + b + ")" : a;
|
|
915
915
|
}
|
|
916
|
-
function
|
|
916
|
+
function Pe(e) {
|
|
917
917
|
return e.displayName || "Context";
|
|
918
918
|
}
|
|
919
919
|
function $(e) {
|
|
920
920
|
if (e == null)
|
|
921
921
|
return null;
|
|
922
|
-
if (typeof e.tag == "number" &&
|
|
922
|
+
if (typeof e.tag == "number" && x("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
923
923
|
return e.displayName || e.name || null;
|
|
924
924
|
if (typeof e == "string")
|
|
925
925
|
return e;
|
|
926
926
|
switch (e) {
|
|
927
|
-
case
|
|
927
|
+
case s:
|
|
928
928
|
return "Fragment";
|
|
929
929
|
case o:
|
|
930
930
|
return "Portal";
|
|
931
931
|
case c:
|
|
932
932
|
return "Profiler";
|
|
933
|
-
case
|
|
933
|
+
case i:
|
|
934
934
|
return "StrictMode";
|
|
935
|
-
case
|
|
935
|
+
case g:
|
|
936
936
|
return "Suspense";
|
|
937
|
-
case
|
|
937
|
+
case m:
|
|
938
938
|
return "SuspenseList";
|
|
939
939
|
}
|
|
940
940
|
if (typeof e == "object")
|
|
941
941
|
switch (e.$$typeof) {
|
|
942
|
-
case v:
|
|
943
|
-
var r = e;
|
|
944
|
-
return Ee(r) + ".Consumer";
|
|
945
942
|
case p:
|
|
943
|
+
var n = e;
|
|
944
|
+
return Pe(n) + ".Consumer";
|
|
945
|
+
case d:
|
|
946
946
|
var a = e;
|
|
947
|
-
return
|
|
947
|
+
return Pe(a._context) + ".Provider";
|
|
948
948
|
case f:
|
|
949
949
|
return pt(e, e.render, "ForwardRef");
|
|
950
|
-
case
|
|
950
|
+
case _:
|
|
951
951
|
var u = e.displayName || null;
|
|
952
952
|
return u !== null ? u : $(e.type) || "Memo";
|
|
953
|
-
case
|
|
954
|
-
var
|
|
953
|
+
case R: {
|
|
954
|
+
var b = e, y = b._payload, h = b._init;
|
|
955
955
|
try {
|
|
956
|
-
return $(
|
|
956
|
+
return $(h(y));
|
|
957
957
|
} catch {
|
|
958
958
|
return null;
|
|
959
959
|
}
|
|
@@ -961,18 +961,18 @@ function kr() {
|
|
|
961
961
|
}
|
|
962
962
|
return null;
|
|
963
963
|
}
|
|
964
|
-
var
|
|
965
|
-
function
|
|
964
|
+
var I = Object.assign, V = 0, Ce, Te, $e, Ne, Me, Ie, Be;
|
|
965
|
+
function Le() {
|
|
966
966
|
}
|
|
967
|
-
|
|
967
|
+
Le.__reactDisabledLog = !0;
|
|
968
968
|
function vt() {
|
|
969
969
|
{
|
|
970
|
-
if (
|
|
971
|
-
|
|
970
|
+
if (V === 0) {
|
|
971
|
+
Ce = console.log, Te = console.info, $e = console.warn, Ne = console.error, Me = console.group, Ie = console.groupCollapsed, Be = console.groupEnd;
|
|
972
972
|
var e = {
|
|
973
973
|
configurable: !0,
|
|
974
974
|
enumerable: !0,
|
|
975
|
-
value:
|
|
975
|
+
value: Le,
|
|
976
976
|
writable: !0
|
|
977
977
|
};
|
|
978
978
|
Object.defineProperties(console, {
|
|
@@ -985,100 +985,100 @@ function kr() {
|
|
|
985
985
|
groupEnd: e
|
|
986
986
|
});
|
|
987
987
|
}
|
|
988
|
-
|
|
988
|
+
V++;
|
|
989
989
|
}
|
|
990
990
|
}
|
|
991
991
|
function ht() {
|
|
992
992
|
{
|
|
993
|
-
if (
|
|
993
|
+
if (V--, V === 0) {
|
|
994
994
|
var e = {
|
|
995
995
|
configurable: !0,
|
|
996
996
|
enumerable: !0,
|
|
997
997
|
writable: !0
|
|
998
998
|
};
|
|
999
999
|
Object.defineProperties(console, {
|
|
1000
|
-
log:
|
|
1001
|
-
value:
|
|
1000
|
+
log: I({}, e, {
|
|
1001
|
+
value: Ce
|
|
1002
1002
|
}),
|
|
1003
|
-
info:
|
|
1004
|
-
value:
|
|
1003
|
+
info: I({}, e, {
|
|
1004
|
+
value: Te
|
|
1005
1005
|
}),
|
|
1006
|
-
warn:
|
|
1007
|
-
value:
|
|
1006
|
+
warn: I({}, e, {
|
|
1007
|
+
value: $e
|
|
1008
1008
|
}),
|
|
1009
|
-
error:
|
|
1010
|
-
value:
|
|
1009
|
+
error: I({}, e, {
|
|
1010
|
+
value: Ne
|
|
1011
1011
|
}),
|
|
1012
|
-
group:
|
|
1013
|
-
value:
|
|
1012
|
+
group: I({}, e, {
|
|
1013
|
+
value: Me
|
|
1014
1014
|
}),
|
|
1015
|
-
groupCollapsed:
|
|
1016
|
-
value:
|
|
1015
|
+
groupCollapsed: I({}, e, {
|
|
1016
|
+
value: Ie
|
|
1017
1017
|
}),
|
|
1018
|
-
groupEnd:
|
|
1019
|
-
value:
|
|
1018
|
+
groupEnd: I({}, e, {
|
|
1019
|
+
value: Be
|
|
1020
1020
|
})
|
|
1021
1021
|
});
|
|
1022
1022
|
}
|
|
1023
|
-
|
|
1023
|
+
V < 0 && x("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
1024
1024
|
}
|
|
1025
1025
|
}
|
|
1026
|
-
var
|
|
1027
|
-
function
|
|
1026
|
+
var ie = N.ReactCurrentDispatcher, ce;
|
|
1027
|
+
function X(e, n, a) {
|
|
1028
1028
|
{
|
|
1029
|
-
if (
|
|
1029
|
+
if (ce === void 0)
|
|
1030
1030
|
try {
|
|
1031
1031
|
throw Error();
|
|
1032
|
-
} catch (
|
|
1033
|
-
var u =
|
|
1034
|
-
|
|
1032
|
+
} catch (b) {
|
|
1033
|
+
var u = b.stack.trim().match(/\n( *(at )?)/);
|
|
1034
|
+
ce = u && u[1] || "";
|
|
1035
1035
|
}
|
|
1036
1036
|
return `
|
|
1037
|
-
` +
|
|
1037
|
+
` + ce + e;
|
|
1038
1038
|
}
|
|
1039
1039
|
}
|
|
1040
|
-
var
|
|
1040
|
+
var le = !1, Z;
|
|
1041
1041
|
{
|
|
1042
1042
|
var mt = typeof WeakMap == "function" ? WeakMap : Map;
|
|
1043
|
-
|
|
1043
|
+
Z = new mt();
|
|
1044
1044
|
}
|
|
1045
|
-
function
|
|
1046
|
-
if (!e ||
|
|
1045
|
+
function De(e, n) {
|
|
1046
|
+
if (!e || le)
|
|
1047
1047
|
return "";
|
|
1048
1048
|
{
|
|
1049
|
-
var a =
|
|
1049
|
+
var a = Z.get(e);
|
|
1050
1050
|
if (a !== void 0)
|
|
1051
1051
|
return a;
|
|
1052
1052
|
}
|
|
1053
1053
|
var u;
|
|
1054
|
-
|
|
1055
|
-
var
|
|
1054
|
+
le = !0;
|
|
1055
|
+
var b = Error.prepareStackTrace;
|
|
1056
1056
|
Error.prepareStackTrace = void 0;
|
|
1057
|
-
var
|
|
1058
|
-
|
|
1057
|
+
var y;
|
|
1058
|
+
y = ie.current, ie.current = null, vt();
|
|
1059
1059
|
try {
|
|
1060
|
-
if (
|
|
1061
|
-
var
|
|
1060
|
+
if (n) {
|
|
1061
|
+
var h = function() {
|
|
1062
1062
|
throw Error();
|
|
1063
1063
|
};
|
|
1064
|
-
if (Object.defineProperty(
|
|
1064
|
+
if (Object.defineProperty(h.prototype, "props", {
|
|
1065
1065
|
set: function() {
|
|
1066
1066
|
throw Error();
|
|
1067
1067
|
}
|
|
1068
1068
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
1069
1069
|
try {
|
|
1070
|
-
Reflect.construct(
|
|
1070
|
+
Reflect.construct(h, []);
|
|
1071
1071
|
} catch (O) {
|
|
1072
1072
|
u = O;
|
|
1073
1073
|
}
|
|
1074
|
-
Reflect.construct(e, [],
|
|
1074
|
+
Reflect.construct(e, [], h);
|
|
1075
1075
|
} else {
|
|
1076
1076
|
try {
|
|
1077
|
-
|
|
1077
|
+
h.call();
|
|
1078
1078
|
} catch (O) {
|
|
1079
1079
|
u = O;
|
|
1080
1080
|
}
|
|
1081
|
-
e.call(
|
|
1081
|
+
e.call(h.prototype);
|
|
1082
1082
|
}
|
|
1083
1083
|
} else {
|
|
1084
1084
|
try {
|
|
@@ -1090,145 +1090,145 @@ function kr() {
|
|
|
1090
1090
|
}
|
|
1091
1091
|
} catch (O) {
|
|
1092
1092
|
if (O && u && typeof O.stack == "string") {
|
|
1093
|
-
for (var
|
|
1093
|
+
for (var v = O.stack.split(`
|
|
1094
1094
|
`), k = u.stack.split(`
|
|
1095
|
-
`), S =
|
|
1095
|
+
`), S = v.length - 1, E = k.length - 1; S >= 1 && E >= 0 && v[S] !== k[E]; )
|
|
1096
1096
|
E--;
|
|
1097
1097
|
for (; S >= 1 && E >= 0; S--, E--)
|
|
1098
|
-
if (
|
|
1098
|
+
if (v[S] !== k[E]) {
|
|
1099
1099
|
if (S !== 1 || E !== 1)
|
|
1100
1100
|
do
|
|
1101
|
-
if (S--, E--, E < 0 ||
|
|
1101
|
+
if (S--, E--, E < 0 || v[S] !== k[E]) {
|
|
1102
1102
|
var w = `
|
|
1103
|
-
` +
|
|
1104
|
-
return e.displayName && w.includes("<anonymous>") && (w = w.replace("<anonymous>", e.displayName)), typeof e == "function" &&
|
|
1103
|
+
` + v[S].replace(" at new ", " at ");
|
|
1104
|
+
return e.displayName && w.includes("<anonymous>") && (w = w.replace("<anonymous>", e.displayName)), typeof e == "function" && Z.set(e, w), w;
|
|
1105
1105
|
}
|
|
1106
1106
|
while (S >= 1 && E >= 0);
|
|
1107
1107
|
break;
|
|
1108
1108
|
}
|
|
1109
1109
|
}
|
|
1110
1110
|
} finally {
|
|
1111
|
-
|
|
1111
|
+
le = !1, ie.current = y, ht(), Error.prepareStackTrace = b;
|
|
1112
1112
|
}
|
|
1113
|
-
var
|
|
1114
|
-
return typeof e == "function" &&
|
|
1113
|
+
var q = e ? e.displayName || e.name : "", B = q ? X(q) : "";
|
|
1114
|
+
return typeof e == "function" && Z.set(e, B), B;
|
|
1115
1115
|
}
|
|
1116
|
-
function gt(e,
|
|
1117
|
-
return
|
|
1116
|
+
function gt(e, n, a) {
|
|
1117
|
+
return De(e, !1);
|
|
1118
1118
|
}
|
|
1119
1119
|
function bt(e) {
|
|
1120
|
-
var
|
|
1121
|
-
return !!(
|
|
1120
|
+
var n = e.prototype;
|
|
1121
|
+
return !!(n && n.isReactComponent);
|
|
1122
1122
|
}
|
|
1123
|
-
function
|
|
1123
|
+
function Q(e, n, a) {
|
|
1124
1124
|
if (e == null)
|
|
1125
1125
|
return "";
|
|
1126
1126
|
if (typeof e == "function")
|
|
1127
|
-
return
|
|
1127
|
+
return De(e, bt(e));
|
|
1128
1128
|
if (typeof e == "string")
|
|
1129
|
-
return
|
|
1129
|
+
return X(e);
|
|
1130
1130
|
switch (e) {
|
|
1131
|
-
case
|
|
1132
|
-
return
|
|
1133
|
-
case
|
|
1134
|
-
return
|
|
1131
|
+
case g:
|
|
1132
|
+
return X("Suspense");
|
|
1133
|
+
case m:
|
|
1134
|
+
return X("SuspenseList");
|
|
1135
1135
|
}
|
|
1136
1136
|
if (typeof e == "object")
|
|
1137
1137
|
switch (e.$$typeof) {
|
|
1138
1138
|
case f:
|
|
1139
1139
|
return gt(e.render);
|
|
1140
|
-
case
|
|
1141
|
-
return
|
|
1142
|
-
case
|
|
1143
|
-
var u = e,
|
|
1140
|
+
case _:
|
|
1141
|
+
return Q(e.type, n, a);
|
|
1142
|
+
case R: {
|
|
1143
|
+
var u = e, b = u._payload, y = u._init;
|
|
1144
1144
|
try {
|
|
1145
|
-
return
|
|
1145
|
+
return Q(y(b), n, a);
|
|
1146
1146
|
} catch {
|
|
1147
1147
|
}
|
|
1148
1148
|
}
|
|
1149
1149
|
}
|
|
1150
1150
|
return "";
|
|
1151
1151
|
}
|
|
1152
|
-
var
|
|
1153
|
-
function
|
|
1152
|
+
var J = Object.prototype.hasOwnProperty, Ue = {}, Fe = N.ReactDebugCurrentFrame;
|
|
1153
|
+
function ee(e) {
|
|
1154
1154
|
if (e) {
|
|
1155
|
-
var
|
|
1156
|
-
|
|
1155
|
+
var n = e._owner, a = Q(e.type, e._source, n ? n.type : null);
|
|
1156
|
+
Fe.setExtraStackFrame(a);
|
|
1157
1157
|
} else
|
|
1158
|
-
|
|
1158
|
+
Fe.setExtraStackFrame(null);
|
|
1159
1159
|
}
|
|
1160
|
-
function yt(e,
|
|
1160
|
+
function yt(e, n, a, u, b) {
|
|
1161
1161
|
{
|
|
1162
|
-
var
|
|
1163
|
-
for (var
|
|
1164
|
-
if (
|
|
1165
|
-
var
|
|
1162
|
+
var y = Function.call.bind(J);
|
|
1163
|
+
for (var h in e)
|
|
1164
|
+
if (y(e, h)) {
|
|
1165
|
+
var v = void 0;
|
|
1166
1166
|
try {
|
|
1167
|
-
if (typeof e[
|
|
1168
|
-
var k = Error((u || "React class") + ": " + a + " type `" +
|
|
1167
|
+
if (typeof e[h] != "function") {
|
|
1168
|
+
var k = Error((u || "React class") + ": " + a + " type `" + h + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[h] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
1169
1169
|
throw k.name = "Invariant Violation", k;
|
|
1170
1170
|
}
|
|
1171
|
-
|
|
1171
|
+
v = e[h](n, h, u, a, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
1172
1172
|
} catch (S) {
|
|
1173
|
-
|
|
1173
|
+
v = S;
|
|
1174
1174
|
}
|
|
1175
|
-
|
|
1175
|
+
v && !(v instanceof Error) && (ee(b), x("%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).", u || "React class", a, h, typeof v), ee(null)), v instanceof Error && !(v.message in Ue) && (Ue[v.message] = !0, ee(b), x("Failed %s type: %s", a, v.message), ee(null));
|
|
1176
1176
|
}
|
|
1177
1177
|
}
|
|
1178
1178
|
}
|
|
1179
1179
|
var _t = Array.isArray;
|
|
1180
|
-
function
|
|
1180
|
+
function ue(e) {
|
|
1181
1181
|
return _t(e);
|
|
1182
1182
|
}
|
|
1183
1183
|
function Rt(e) {
|
|
1184
1184
|
{
|
|
1185
|
-
var
|
|
1185
|
+
var n = typeof Symbol == "function" && Symbol.toStringTag, a = n && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
1186
1186
|
return a;
|
|
1187
1187
|
}
|
|
1188
1188
|
}
|
|
1189
1189
|
function St(e) {
|
|
1190
1190
|
try {
|
|
1191
|
-
return
|
|
1191
|
+
return We(e), !1;
|
|
1192
1192
|
} catch {
|
|
1193
1193
|
return !0;
|
|
1194
1194
|
}
|
|
1195
1195
|
}
|
|
1196
|
-
function
|
|
1196
|
+
function We(e) {
|
|
1197
1197
|
return "" + e;
|
|
1198
1198
|
}
|
|
1199
|
-
function
|
|
1199
|
+
function qe(e) {
|
|
1200
1200
|
if (St(e))
|
|
1201
|
-
return
|
|
1201
|
+
return x("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Rt(e)), We(e);
|
|
1202
1202
|
}
|
|
1203
|
-
var
|
|
1203
|
+
var Ye = N.ReactCurrentOwner, Et = {
|
|
1204
1204
|
key: !0,
|
|
1205
1205
|
ref: !0,
|
|
1206
1206
|
__self: !0,
|
|
1207
1207
|
__source: !0
|
|
1208
|
-
},
|
|
1208
|
+
}, ze, Ve;
|
|
1209
1209
|
function xt(e) {
|
|
1210
|
-
if (
|
|
1211
|
-
var
|
|
1212
|
-
if (
|
|
1210
|
+
if (J.call(e, "ref")) {
|
|
1211
|
+
var n = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
1212
|
+
if (n && n.isReactWarning)
|
|
1213
1213
|
return !1;
|
|
1214
1214
|
}
|
|
1215
1215
|
return e.ref !== void 0;
|
|
1216
1216
|
}
|
|
1217
1217
|
function At(e) {
|
|
1218
|
-
if (
|
|
1219
|
-
var
|
|
1220
|
-
if (
|
|
1218
|
+
if (J.call(e, "key")) {
|
|
1219
|
+
var n = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
1220
|
+
if (n && n.isReactWarning)
|
|
1221
1221
|
return !1;
|
|
1222
1222
|
}
|
|
1223
1223
|
return e.key !== void 0;
|
|
1224
1224
|
}
|
|
1225
|
-
function jt(e,
|
|
1226
|
-
typeof e.ref == "string" &&
|
|
1225
|
+
function jt(e, n) {
|
|
1226
|
+
typeof e.ref == "string" && Ye.current;
|
|
1227
1227
|
}
|
|
1228
|
-
function kt(e,
|
|
1228
|
+
function kt(e, n) {
|
|
1229
1229
|
{
|
|
1230
1230
|
var a = function() {
|
|
1231
|
-
|
|
1231
|
+
ze || (ze = !0, x("%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)", n));
|
|
1232
1232
|
};
|
|
1233
1233
|
a.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
1234
1234
|
get: a,
|
|
@@ -1236,10 +1236,10 @@ function kr() {
|
|
|
1236
1236
|
});
|
|
1237
1237
|
}
|
|
1238
1238
|
}
|
|
1239
|
-
function Ot(e,
|
|
1239
|
+
function Ot(e, n) {
|
|
1240
1240
|
{
|
|
1241
1241
|
var a = function() {
|
|
1242
|
-
|
|
1242
|
+
Ve || (Ve = !0, x("%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)", n));
|
|
1243
1243
|
};
|
|
1244
1244
|
a.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
1245
1245
|
get: a,
|
|
@@ -1247,70 +1247,70 @@ function kr() {
|
|
|
1247
1247
|
});
|
|
1248
1248
|
}
|
|
1249
1249
|
}
|
|
1250
|
-
var
|
|
1251
|
-
var
|
|
1250
|
+
var wt = function(e, n, a, u, b, y, h) {
|
|
1251
|
+
var v = {
|
|
1252
1252
|
// This tag allows us to uniquely identify this as a React Element
|
|
1253
|
-
$$typeof:
|
|
1253
|
+
$$typeof: r,
|
|
1254
1254
|
// Built-in properties that belong on the element
|
|
1255
1255
|
type: e,
|
|
1256
|
-
key:
|
|
1256
|
+
key: n,
|
|
1257
1257
|
ref: a,
|
|
1258
|
-
props:
|
|
1258
|
+
props: h,
|
|
1259
1259
|
// Record the component responsible for creating this element.
|
|
1260
|
-
_owner:
|
|
1260
|
+
_owner: y
|
|
1261
1261
|
};
|
|
1262
|
-
return
|
|
1262
|
+
return v._store = {}, Object.defineProperty(v._store, "validated", {
|
|
1263
1263
|
configurable: !1,
|
|
1264
1264
|
enumerable: !1,
|
|
1265
1265
|
writable: !0,
|
|
1266
1266
|
value: !1
|
|
1267
|
-
}), Object.defineProperty(
|
|
1267
|
+
}), Object.defineProperty(v, "_self", {
|
|
1268
1268
|
configurable: !1,
|
|
1269
1269
|
enumerable: !1,
|
|
1270
1270
|
writable: !1,
|
|
1271
1271
|
value: u
|
|
1272
|
-
}), Object.defineProperty(
|
|
1272
|
+
}), Object.defineProperty(v, "_source", {
|
|
1273
1273
|
configurable: !1,
|
|
1274
1274
|
enumerable: !1,
|
|
1275
1275
|
writable: !1,
|
|
1276
|
-
value:
|
|
1277
|
-
}), Object.freeze && (Object.freeze(
|
|
1276
|
+
value: b
|
|
1277
|
+
}), Object.freeze && (Object.freeze(v.props), Object.freeze(v)), v;
|
|
1278
1278
|
};
|
|
1279
|
-
function
|
|
1279
|
+
function Pt(e, n, a, u, b) {
|
|
1280
1280
|
{
|
|
1281
|
-
var
|
|
1282
|
-
a !== void 0 && (
|
|
1283
|
-
for (
|
|
1284
|
-
|
|
1281
|
+
var y, h = {}, v = null, k = null;
|
|
1282
|
+
a !== void 0 && (qe(a), v = "" + a), At(n) && (qe(n.key), v = "" + n.key), xt(n) && (k = n.ref, jt(n));
|
|
1283
|
+
for (y in n)
|
|
1284
|
+
J.call(n, y) && !Et.hasOwnProperty(y) && (h[y] = n[y]);
|
|
1285
1285
|
if (e && e.defaultProps) {
|
|
1286
1286
|
var S = e.defaultProps;
|
|
1287
|
-
for (
|
|
1288
|
-
|
|
1287
|
+
for (y in S)
|
|
1288
|
+
h[y] === void 0 && (h[y] = S[y]);
|
|
1289
1289
|
}
|
|
1290
|
-
if (
|
|
1290
|
+
if (v || k) {
|
|
1291
1291
|
var E = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
1292
|
-
|
|
1292
|
+
v && kt(h, E), k && Ot(h, E);
|
|
1293
1293
|
}
|
|
1294
|
-
return
|
|
1294
|
+
return wt(e, v, k, b, u, Ye.current, h);
|
|
1295
1295
|
}
|
|
1296
1296
|
}
|
|
1297
|
-
var
|
|
1298
|
-
function
|
|
1297
|
+
var fe = N.ReactCurrentOwner, Je = N.ReactDebugCurrentFrame;
|
|
1298
|
+
function W(e) {
|
|
1299
1299
|
if (e) {
|
|
1300
|
-
var
|
|
1301
|
-
|
|
1300
|
+
var n = e._owner, a = Q(e.type, e._source, n ? n.type : null);
|
|
1301
|
+
Je.setExtraStackFrame(a);
|
|
1302
1302
|
} else
|
|
1303
|
-
|
|
1303
|
+
Je.setExtraStackFrame(null);
|
|
1304
1304
|
}
|
|
1305
|
-
var
|
|
1306
|
-
|
|
1307
|
-
function
|
|
1308
|
-
return typeof e == "object" && e !== null && e.$$typeof ===
|
|
1305
|
+
var de;
|
|
1306
|
+
de = !1;
|
|
1307
|
+
function pe(e) {
|
|
1308
|
+
return typeof e == "object" && e !== null && e.$$typeof === r;
|
|
1309
1309
|
}
|
|
1310
|
-
function
|
|
1310
|
+
function He() {
|
|
1311
1311
|
{
|
|
1312
|
-
if (
|
|
1313
|
-
var e = $(
|
|
1312
|
+
if (fe.current) {
|
|
1313
|
+
var e = $(fe.current.type);
|
|
1314
1314
|
if (e)
|
|
1315
1315
|
return `
|
|
1316
1316
|
|
|
@@ -1322,147 +1322,147 @@ Check the render method of \`` + e + "`.";
|
|
|
1322
1322
|
function Ct(e) {
|
|
1323
1323
|
return "";
|
|
1324
1324
|
}
|
|
1325
|
-
var
|
|
1325
|
+
var Ke = {};
|
|
1326
1326
|
function Tt(e) {
|
|
1327
1327
|
{
|
|
1328
|
-
var
|
|
1329
|
-
if (!
|
|
1328
|
+
var n = He();
|
|
1329
|
+
if (!n) {
|
|
1330
1330
|
var a = typeof e == "string" ? e : e.displayName || e.name;
|
|
1331
|
-
a && (
|
|
1331
|
+
a && (n = `
|
|
1332
1332
|
|
|
1333
1333
|
Check the top-level render call using <` + a + ">.");
|
|
1334
1334
|
}
|
|
1335
|
-
return
|
|
1335
|
+
return n;
|
|
1336
1336
|
}
|
|
1337
1337
|
}
|
|
1338
|
-
function
|
|
1338
|
+
function Ge(e, n) {
|
|
1339
1339
|
{
|
|
1340
1340
|
if (!e._store || e._store.validated || e.key != null)
|
|
1341
1341
|
return;
|
|
1342
1342
|
e._store.validated = !0;
|
|
1343
|
-
var a = Tt(
|
|
1344
|
-
if (
|
|
1343
|
+
var a = Tt(n);
|
|
1344
|
+
if (Ke[a])
|
|
1345
1345
|
return;
|
|
1346
|
-
|
|
1346
|
+
Ke[a] = !0;
|
|
1347
1347
|
var u = "";
|
|
1348
|
-
e && e._owner && e._owner !==
|
|
1348
|
+
e && e._owner && e._owner !== fe.current && (u = " It was passed a child from " + $(e._owner.type) + "."), W(e), x('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', a, u), W(null);
|
|
1349
1349
|
}
|
|
1350
1350
|
}
|
|
1351
|
-
function
|
|
1351
|
+
function Xe(e, n) {
|
|
1352
1352
|
{
|
|
1353
1353
|
if (typeof e != "object")
|
|
1354
1354
|
return;
|
|
1355
|
-
if (
|
|
1355
|
+
if (ue(e))
|
|
1356
1356
|
for (var a = 0; a < e.length; a++) {
|
|
1357
1357
|
var u = e[a];
|
|
1358
|
-
|
|
1358
|
+
pe(u) && Ge(u, n);
|
|
1359
1359
|
}
|
|
1360
|
-
else if (
|
|
1360
|
+
else if (pe(e))
|
|
1361
1361
|
e._store && (e._store.validated = !0);
|
|
1362
1362
|
else if (e) {
|
|
1363
|
-
var
|
|
1364
|
-
if (typeof
|
|
1365
|
-
for (var
|
|
1366
|
-
|
|
1363
|
+
var b = Re(e);
|
|
1364
|
+
if (typeof b == "function" && b !== e.entries)
|
|
1365
|
+
for (var y = b.call(e), h; !(h = y.next()).done; )
|
|
1366
|
+
pe(h.value) && Ge(h.value, n);
|
|
1367
1367
|
}
|
|
1368
1368
|
}
|
|
1369
1369
|
}
|
|
1370
1370
|
function $t(e) {
|
|
1371
1371
|
{
|
|
1372
|
-
var
|
|
1373
|
-
if (
|
|
1372
|
+
var n = e.type;
|
|
1373
|
+
if (n == null || typeof n == "string")
|
|
1374
1374
|
return;
|
|
1375
1375
|
var a;
|
|
1376
|
-
if (typeof
|
|
1377
|
-
a =
|
|
1378
|
-
else if (typeof
|
|
1376
|
+
if (typeof n == "function")
|
|
1377
|
+
a = n.propTypes;
|
|
1378
|
+
else if (typeof n == "object" && (n.$$typeof === f || // Note: Memo only checks outer props here.
|
|
1379
1379
|
// Inner props are checked in the reconciler.
|
|
1380
|
-
|
|
1381
|
-
a =
|
|
1380
|
+
n.$$typeof === _))
|
|
1381
|
+
a = n.propTypes;
|
|
1382
1382
|
else
|
|
1383
1383
|
return;
|
|
1384
1384
|
if (a) {
|
|
1385
|
-
var u = $(
|
|
1385
|
+
var u = $(n);
|
|
1386
1386
|
yt(a, e.props, "prop", u, e);
|
|
1387
|
-
} else if (
|
|
1388
|
-
|
|
1389
|
-
var
|
|
1390
|
-
|
|
1387
|
+
} else if (n.PropTypes !== void 0 && !de) {
|
|
1388
|
+
de = !0;
|
|
1389
|
+
var b = $(n);
|
|
1390
|
+
x("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", b || "Unknown");
|
|
1391
1391
|
}
|
|
1392
|
-
typeof
|
|
1392
|
+
typeof n.getDefaultProps == "function" && !n.getDefaultProps.isReactClassApproved && x("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
1393
1393
|
}
|
|
1394
1394
|
}
|
|
1395
1395
|
function Nt(e) {
|
|
1396
1396
|
{
|
|
1397
|
-
for (var
|
|
1398
|
-
var u =
|
|
1397
|
+
for (var n = Object.keys(e.props), a = 0; a < n.length; a++) {
|
|
1398
|
+
var u = n[a];
|
|
1399
1399
|
if (u !== "children" && u !== "key") {
|
|
1400
|
-
|
|
1400
|
+
W(e), x("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", u), W(null);
|
|
1401
1401
|
break;
|
|
1402
1402
|
}
|
|
1403
1403
|
}
|
|
1404
|
-
e.ref !== null && (
|
|
1404
|
+
e.ref !== null && (W(e), x("Invalid attribute `ref` supplied to `React.Fragment`."), W(null));
|
|
1405
1405
|
}
|
|
1406
1406
|
}
|
|
1407
|
-
var
|
|
1408
|
-
function
|
|
1407
|
+
var Ze = {};
|
|
1408
|
+
function Qe(e, n, a, u, b, y) {
|
|
1409
1409
|
{
|
|
1410
|
-
var
|
|
1411
|
-
if (!
|
|
1412
|
-
var
|
|
1413
|
-
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (
|
|
1410
|
+
var h = dt(e);
|
|
1411
|
+
if (!h) {
|
|
1412
|
+
var v = "";
|
|
1413
|
+
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (v += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
1414
1414
|
var k = Ct();
|
|
1415
|
-
k ?
|
|
1415
|
+
k ? v += k : v += He();
|
|
1416
1416
|
var S;
|
|
1417
|
-
e === null ? S = "null" :
|
|
1417
|
+
e === null ? S = "null" : ue(e) ? S = "array" : e !== void 0 && e.$$typeof === r ? (S = "<" + ($(e.type) || "Unknown") + " />", v = " Did you accidentally export a JSX literal instead of a component?") : S = typeof e, x("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", S, v);
|
|
1418
1418
|
}
|
|
1419
|
-
var E =
|
|
1419
|
+
var E = Pt(e, n, a, b, y);
|
|
1420
1420
|
if (E == null)
|
|
1421
1421
|
return E;
|
|
1422
|
-
if (
|
|
1423
|
-
var w =
|
|
1422
|
+
if (h) {
|
|
1423
|
+
var w = n.children;
|
|
1424
1424
|
if (w !== void 0)
|
|
1425
1425
|
if (u)
|
|
1426
|
-
if (
|
|
1427
|
-
for (var
|
|
1428
|
-
|
|
1426
|
+
if (ue(w)) {
|
|
1427
|
+
for (var q = 0; q < w.length; q++)
|
|
1428
|
+
Xe(w[q], e);
|
|
1429
1429
|
Object.freeze && Object.freeze(w);
|
|
1430
1430
|
} else
|
|
1431
|
-
|
|
1431
|
+
x("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
1432
1432
|
else
|
|
1433
|
-
|
|
1433
|
+
Xe(w, e);
|
|
1434
1434
|
}
|
|
1435
|
-
if (
|
|
1436
|
-
var
|
|
1435
|
+
if (J.call(n, "key")) {
|
|
1436
|
+
var B = $(e), O = Object.keys(n).filter(function(Ut) {
|
|
1437
1437
|
return Ut !== "key";
|
|
1438
|
-
}),
|
|
1439
|
-
if (!
|
|
1438
|
+
}), ve = O.length > 0 ? "{key: someKey, " + O.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
1439
|
+
if (!Ze[B + ve]) {
|
|
1440
1440
|
var Dt = O.length > 0 ? "{" + O.join(": ..., ") + ": ...}" : "{}";
|
|
1441
|
-
|
|
1441
|
+
x(`A props object containing a "key" prop is being spread into JSX:
|
|
1442
1442
|
let props = %s;
|
|
1443
1443
|
<%s {...props} />
|
|
1444
1444
|
React keys must be passed directly to JSX without using spread:
|
|
1445
1445
|
let props = %s;
|
|
1446
|
-
<%s key={someKey} {...props} />`,
|
|
1446
|
+
<%s key={someKey} {...props} />`, ve, B, Dt, B), Ze[B + ve] = !0;
|
|
1447
1447
|
}
|
|
1448
1448
|
}
|
|
1449
|
-
return e ===
|
|
1449
|
+
return e === s ? Nt(E) : $t(E), E;
|
|
1450
1450
|
}
|
|
1451
1451
|
}
|
|
1452
|
-
function
|
|
1453
|
-
return
|
|
1452
|
+
function Mt(e, n, a) {
|
|
1453
|
+
return Qe(e, n, a, !0);
|
|
1454
1454
|
}
|
|
1455
|
-
function
|
|
1456
|
-
return
|
|
1455
|
+
function It(e, n, a) {
|
|
1456
|
+
return Qe(e, n, a, !1);
|
|
1457
1457
|
}
|
|
1458
|
-
var Bt =
|
|
1459
|
-
|
|
1460
|
-
}()),
|
|
1458
|
+
var Bt = It, Lt = Mt;
|
|
1459
|
+
ot.Fragment = s, ot.jsx = Bt, ot.jsxs = Lt;
|
|
1460
|
+
}()), ot;
|
|
1461
1461
|
}
|
|
1462
1462
|
process.env.NODE_ENV === "production" ? jr() : kr();
|
|
1463
1463
|
const Or = "0.0.46", cr = {
|
|
1464
1464
|
version: Or
|
|
1465
|
-
},
|
|
1465
|
+
}, re = {}, U = {
|
|
1466
1466
|
module: "",
|
|
1467
1467
|
v: cr.version,
|
|
1468
1468
|
page: "Main",
|
|
@@ -1482,61 +1482,61 @@ const Or = "0.0.46", cr = {
|
|
|
1482
1482
|
id: 0
|
|
1483
1483
|
}
|
|
1484
1484
|
};
|
|
1485
|
-
function
|
|
1485
|
+
function K() {
|
|
1486
1486
|
return typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof self < "u" ? self : typeof global < "u" ? global : {};
|
|
1487
1487
|
}
|
|
1488
|
-
|
|
1489
|
-
Object.assign(
|
|
1490
|
-
function
|
|
1491
|
-
var
|
|
1492
|
-
const c =
|
|
1488
|
+
K().elcrm || (K().elcrm = {});
|
|
1489
|
+
Object.assign(K().elcrm, { router: cr.version });
|
|
1490
|
+
function G(t) {
|
|
1491
|
+
var r, o, s, i;
|
|
1492
|
+
const c = K();
|
|
1493
1493
|
if (c.ROUTER_PARAMS) {
|
|
1494
1494
|
t.debug || c.ROUTER_PARAMS.debug;
|
|
1495
|
-
const
|
|
1496
|
-
page: (
|
|
1495
|
+
const d = {
|
|
1496
|
+
page: (r = c.ROUTER_PARAMS) == null ? void 0 : r.page,
|
|
1497
1497
|
module: (o = c.ROUTER_PARAMS) == null ? void 0 : o.module,
|
|
1498
|
-
tab: (
|
|
1499
|
-
id: (
|
|
1498
|
+
tab: (s = c.ROUTER_PARAMS) == null ? void 0 : s.tab,
|
|
1499
|
+
id: (i = c.ROUTER_PARAMS) == null ? void 0 : i.id
|
|
1500
1500
|
};
|
|
1501
1501
|
c.ROUTER_PARAMS = {
|
|
1502
1502
|
...c.ROUTER_PARAMS,
|
|
1503
1503
|
...t,
|
|
1504
|
-
prev:
|
|
1504
|
+
prev: d
|
|
1505
1505
|
};
|
|
1506
1506
|
} else {
|
|
1507
|
-
t.debug ||
|
|
1508
|
-
const
|
|
1509
|
-
page:
|
|
1510
|
-
module:
|
|
1511
|
-
tab:
|
|
1512
|
-
id:
|
|
1507
|
+
t.debug || U.debug;
|
|
1508
|
+
const d = {
|
|
1509
|
+
page: U == null ? void 0 : U.page,
|
|
1510
|
+
module: U == null ? void 0 : U.module,
|
|
1511
|
+
tab: U == null ? void 0 : U.tab,
|
|
1512
|
+
id: U == null ? void 0 : U.id
|
|
1513
1513
|
};
|
|
1514
|
-
c.ROUTER_PARAMS = { ...
|
|
1514
|
+
c.ROUTER_PARAMS = { ...U, ...t, prev: d };
|
|
1515
1515
|
}
|
|
1516
1516
|
}
|
|
1517
1517
|
function A() {
|
|
1518
|
-
return
|
|
1518
|
+
return K().ROUTER_PARAMS || U;
|
|
1519
1519
|
}
|
|
1520
|
-
function
|
|
1521
|
-
const
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
]),
|
|
1520
|
+
function be(t) {
|
|
1521
|
+
const r = K();
|
|
1522
|
+
r.ROUTER_PARAMS || (r.ROUTER_PARAMS = { ...U }), r.ROUTER_PARAMS.LISTENER || (r.ROUTER_PARAMS.LISTENER = {}), Object.keys(t).forEach((o) => {
|
|
1523
|
+
r.ROUTER_PARAMS.LISTENER[o] || (r.ROUTER_PARAMS.LISTENER[o] = []), Array.isArray(r.ROUTER_PARAMS.LISTENER[o]) || (r.ROUTER_PARAMS.LISTENER[o] = [
|
|
1524
|
+
r.ROUTER_PARAMS.LISTENER[o]
|
|
1525
|
+
]), r.ROUTER_PARAMS.LISTENER[o].includes(t[o]) || r.ROUTER_PARAMS.LISTENER[o].push(t[o]);
|
|
1526
1526
|
});
|
|
1527
1527
|
}
|
|
1528
|
-
function
|
|
1528
|
+
function H() {
|
|
1529
1529
|
var t;
|
|
1530
|
-
const
|
|
1531
|
-
let o = ((t =
|
|
1532
|
-
return o || (o = {},
|
|
1533
|
-
get(
|
|
1534
|
-
const c = i
|
|
1535
|
-
return Array.isArray(c) && c.length > 0 ? (...
|
|
1536
|
-
c.forEach((
|
|
1537
|
-
if (typeof
|
|
1530
|
+
const r = K();
|
|
1531
|
+
let o = ((t = r.ROUTER_PARAMS) == null ? void 0 : t.LISTENER) || U.LISTENER;
|
|
1532
|
+
return o || (o = {}, r.ROUTER_PARAMS ? r.ROUTER_PARAMS.LISTENER = o : U.LISTENER = o), new Proxy(o, {
|
|
1533
|
+
get(s, i) {
|
|
1534
|
+
const c = s[i];
|
|
1535
|
+
return Array.isArray(c) && c.length > 0 ? (...d) => {
|
|
1536
|
+
c.forEach((p) => {
|
|
1537
|
+
if (typeof p == "function")
|
|
1538
1538
|
try {
|
|
1539
|
-
|
|
1539
|
+
p(...d);
|
|
1540
1540
|
} catch {
|
|
1541
1541
|
}
|
|
1542
1542
|
});
|
|
@@ -1546,86 +1546,86 @@ function V() {
|
|
|
1546
1546
|
}
|
|
1547
1547
|
});
|
|
1548
1548
|
}
|
|
1549
|
-
function Zt(t,
|
|
1549
|
+
function Zt(t, r) {
|
|
1550
1550
|
const o = t.replace(/^\.\//, "").replace(/\.(tsx|ts|jsx|js)$/, "");
|
|
1551
|
-
for (const [
|
|
1552
|
-
if (
|
|
1553
|
-
return
|
|
1551
|
+
for (const [s, i] of Object.entries(r))
|
|
1552
|
+
if (s.replace(/^\.\//, "").replace(/\.(tsx|ts|jsx|js)$/, "") === o)
|
|
1553
|
+
return i;
|
|
1554
1554
|
return null;
|
|
1555
1555
|
}
|
|
1556
|
-
function
|
|
1556
|
+
function Yt(t) {
|
|
1557
1557
|
const {
|
|
1558
|
-
basePath:
|
|
1558
|
+
basePath: r = ".",
|
|
1559
1559
|
devExtensions: o = [".tsx", ".ts", ".jsx", ".js"],
|
|
1560
|
-
prodExtension:
|
|
1560
|
+
prodExtension: s = ".js"
|
|
1561
1561
|
} = t || {};
|
|
1562
|
-
return (
|
|
1563
|
-
const c =
|
|
1564
|
-
if (
|
|
1562
|
+
return (i) => {
|
|
1563
|
+
const c = i.replace(/\.(tsx|ts|jsx|js)$/, "");
|
|
1564
|
+
if (r === ".")
|
|
1565
1565
|
return import(
|
|
1566
1566
|
/* @vite-ignore */
|
|
1567
1567
|
`./${c.replace(/^\.\//, "").replace(/\/+/g, "/")}.js`
|
|
1568
1568
|
);
|
|
1569
1569
|
{
|
|
1570
|
-
const
|
|
1570
|
+
const d = r.replace(/^\.\//, "").replace(/\/+$/, ""), p = c.replace(/^\.\//, "").replace(/\/+/g, "/");
|
|
1571
1571
|
return import(
|
|
1572
1572
|
/* @vite-ignore */
|
|
1573
|
-
`./${
|
|
1573
|
+
`./${d}/${p}.js`
|
|
1574
1574
|
);
|
|
1575
1575
|
}
|
|
1576
1576
|
};
|
|
1577
1577
|
}
|
|
1578
|
-
function
|
|
1579
|
-
const { basePath:
|
|
1580
|
-
return (
|
|
1578
|
+
function wr(t) {
|
|
1579
|
+
const { basePath: r = ".", modules: o, pages: s } = t || {};
|
|
1580
|
+
return (i) => {
|
|
1581
1581
|
if (o) {
|
|
1582
|
-
const
|
|
1583
|
-
if (
|
|
1584
|
-
return
|
|
1582
|
+
const d = Zt(i, o);
|
|
1583
|
+
if (d)
|
|
1584
|
+
return d();
|
|
1585
1585
|
}
|
|
1586
|
-
if (
|
|
1587
|
-
const
|
|
1588
|
-
if (
|
|
1589
|
-
return
|
|
1586
|
+
if (s) {
|
|
1587
|
+
const d = Zt(i, s);
|
|
1588
|
+
if (d)
|
|
1589
|
+
return d();
|
|
1590
1590
|
}
|
|
1591
|
-
const c =
|
|
1592
|
-
if (
|
|
1591
|
+
const c = i.replace(/\.(tsx|ts|jsx|js)$/, "");
|
|
1592
|
+
if (r === ".")
|
|
1593
1593
|
return import(
|
|
1594
1594
|
/* @vite-ignore */
|
|
1595
1595
|
`./${c.replace(/^\.\//, "").replace(/\/+/g, "/")}.js`
|
|
1596
1596
|
);
|
|
1597
1597
|
{
|
|
1598
|
-
const
|
|
1598
|
+
const d = r.replace(/^\.\//, "").replace(/\/+$/, ""), p = c.replace(/^\.\//, "").replace(/\/+/g, "/");
|
|
1599
1599
|
return import(
|
|
1600
1600
|
/* @vite-ignore */
|
|
1601
|
-
`./${
|
|
1601
|
+
`./${d}/${p}.js`
|
|
1602
1602
|
);
|
|
1603
1603
|
}
|
|
1604
1604
|
};
|
|
1605
1605
|
}
|
|
1606
|
-
function Qt(t = ".",
|
|
1607
|
-
return
|
|
1606
|
+
function Qt(t = ".", r, o) {
|
|
1607
|
+
return r || o ? wr({
|
|
1608
1608
|
basePath: t,
|
|
1609
|
-
modules:
|
|
1609
|
+
modules: r,
|
|
1610
1610
|
pages: o
|
|
1611
|
-
}) :
|
|
1611
|
+
}) : Yt({ basePath: t });
|
|
1612
1612
|
}
|
|
1613
|
-
function
|
|
1613
|
+
function Pr() {
|
|
1614
1614
|
var t;
|
|
1615
|
-
let
|
|
1616
|
-
if (
|
|
1617
|
-
if (
|
|
1618
|
-
|
|
1619
|
-
id:
|
|
1620
|
-
tab:
|
|
1621
|
-
page:
|
|
1622
|
-
module:
|
|
1623
|
-
time:
|
|
1615
|
+
let r = sessionStorage.getItem("f");
|
|
1616
|
+
if (r) {
|
|
1617
|
+
if (r = se.deCode(r), !r) return !1;
|
|
1618
|
+
G({
|
|
1619
|
+
id: r.id,
|
|
1620
|
+
tab: r.tab,
|
|
1621
|
+
page: r.page,
|
|
1622
|
+
module: r.module,
|
|
1623
|
+
time: r.time,
|
|
1624
1624
|
payment: { active: !0 },
|
|
1625
|
-
module_admin:
|
|
1625
|
+
module_admin: r.module_admin
|
|
1626
1626
|
});
|
|
1627
1627
|
} else
|
|
1628
|
-
|
|
1628
|
+
G({
|
|
1629
1629
|
id: 0,
|
|
1630
1630
|
tab: "",
|
|
1631
1631
|
page: (t = localStorage.getItem("d")) != null && t.length ? A().page : A().auth,
|
|
@@ -1646,32 +1646,32 @@ function fr() {
|
|
|
1646
1646
|
return A().id;
|
|
1647
1647
|
}
|
|
1648
1648
|
function Cr(t) {
|
|
1649
|
-
let
|
|
1650
|
-
const [o,
|
|
1651
|
-
lr() || t &&
|
|
1649
|
+
let r = (i) => (G({ page: i }), i);
|
|
1650
|
+
const [o, s] = C(
|
|
1651
|
+
lr() || t && r(t) || A().page
|
|
1652
1652
|
);
|
|
1653
|
-
return
|
|
1654
|
-
const
|
|
1655
|
-
|
|
1653
|
+
return F(() => {
|
|
1654
|
+
const i = (c) => {
|
|
1655
|
+
s(c);
|
|
1656
1656
|
};
|
|
1657
|
-
return
|
|
1658
|
-
var c,
|
|
1659
|
-
const
|
|
1660
|
-
if ((
|
|
1661
|
-
const f =
|
|
1657
|
+
return be({ page: i }), () => {
|
|
1658
|
+
var c, d;
|
|
1659
|
+
const p = K();
|
|
1660
|
+
if ((d = (c = p.ROUTER_PARAMS) == null ? void 0 : c.LISTENER) != null && d.page) {
|
|
1661
|
+
const f = p.ROUTER_PARAMS.LISTENER.page;
|
|
1662
1662
|
if (Array.isArray(f)) {
|
|
1663
|
-
const
|
|
1664
|
-
|
|
1663
|
+
const g = f.indexOf(i);
|
|
1664
|
+
g > -1 && f.splice(g, 1);
|
|
1665
1665
|
}
|
|
1666
1666
|
}
|
|
1667
1667
|
};
|
|
1668
1668
|
}, []), o;
|
|
1669
1669
|
}
|
|
1670
|
-
function Tr(t,
|
|
1671
|
-
|
|
1670
|
+
function Tr(t, r = !0, o = {}) {
|
|
1671
|
+
G({ page: t, ...o }), sessionStorage.setItem(
|
|
1672
1672
|
A().STORAGE,
|
|
1673
|
-
|
|
1674
|
-
),
|
|
1673
|
+
se.enCode(A())
|
|
1674
|
+
), r && H().page(t);
|
|
1675
1675
|
}
|
|
1676
1676
|
function $r(t) {
|
|
1677
1677
|
return A().page === t;
|
|
@@ -1679,137 +1679,137 @@ function $r(t) {
|
|
|
1679
1679
|
function Nr() {
|
|
1680
1680
|
return A().prev;
|
|
1681
1681
|
}
|
|
1682
|
-
function
|
|
1683
|
-
const [o,
|
|
1682
|
+
function Mr(t, r) {
|
|
1683
|
+
const [o, s] = C(
|
|
1684
1684
|
ur() || t || A().module
|
|
1685
1685
|
);
|
|
1686
|
-
return
|
|
1687
|
-
const
|
|
1688
|
-
|
|
1686
|
+
return F(() => (be({ module: s }), () => {
|
|
1687
|
+
const i = H();
|
|
1688
|
+
i.module === s && delete i.module;
|
|
1689
1689
|
}), []), o;
|
|
1690
1690
|
}
|
|
1691
|
-
function
|
|
1692
|
-
|
|
1691
|
+
function Ir(t, r = !0) {
|
|
1692
|
+
G({ module: t }), sessionStorage.setItem(
|
|
1693
1693
|
A().STORAGE,
|
|
1694
|
-
|
|
1695
|
-
),
|
|
1694
|
+
se.enCode(A())
|
|
1695
|
+
), r && H().module(t);
|
|
1696
1696
|
}
|
|
1697
1697
|
function Br(t) {
|
|
1698
1698
|
return A().module === t;
|
|
1699
1699
|
}
|
|
1700
|
-
function Lr(t,
|
|
1700
|
+
function Lr(t, r) {
|
|
1701
1701
|
if (typeof t != "function") {
|
|
1702
|
-
const [o,
|
|
1703
|
-
return
|
|
1704
|
-
|
|
1705
|
-
}, []), [
|
|
1702
|
+
const [o, s] = C(!r), [i, c] = C(t || Vt());
|
|
1703
|
+
return be({ tabs: c }), r && F(() => {
|
|
1704
|
+
s(!0);
|
|
1705
|
+
}, []), [i, o];
|
|
1706
1706
|
} else
|
|
1707
|
-
|
|
1707
|
+
be({ tabs: t });
|
|
1708
1708
|
}
|
|
1709
1709
|
function Dr(t) {
|
|
1710
|
-
let
|
|
1711
|
-
const [o,
|
|
1712
|
-
Vt() || t &&
|
|
1710
|
+
let r = (i) => (G({ tab: i }), i);
|
|
1711
|
+
const [o, s] = C(
|
|
1712
|
+
Vt() || t && r(t) || A().tab
|
|
1713
1713
|
);
|
|
1714
|
-
return
|
|
1715
|
-
const
|
|
1716
|
-
|
|
1714
|
+
return F(() => {
|
|
1715
|
+
const i = (c) => {
|
|
1716
|
+
s(c);
|
|
1717
1717
|
};
|
|
1718
|
-
return
|
|
1719
|
-
var c,
|
|
1720
|
-
const
|
|
1721
|
-
if ((
|
|
1722
|
-
const f =
|
|
1718
|
+
return be({ tabs: i }), () => {
|
|
1719
|
+
var c, d;
|
|
1720
|
+
const p = K();
|
|
1721
|
+
if ((d = (c = p.ROUTER_PARAMS) == null ? void 0 : c.LISTENER) != null && d.tabs) {
|
|
1722
|
+
const f = p.ROUTER_PARAMS.LISTENER.tabs;
|
|
1723
1723
|
if (Array.isArray(f)) {
|
|
1724
|
-
const
|
|
1725
|
-
|
|
1724
|
+
const g = f.indexOf(i);
|
|
1725
|
+
g > -1 && f.splice(g, 1);
|
|
1726
1726
|
}
|
|
1727
1727
|
}
|
|
1728
1728
|
};
|
|
1729
1729
|
}, []), o;
|
|
1730
1730
|
}
|
|
1731
|
-
async function Ur(t,
|
|
1732
|
-
|
|
1731
|
+
async function Ur(t, r = !0) {
|
|
1732
|
+
G({ tab: t }), sessionStorage.setItem(
|
|
1733
1733
|
A().STORAGE,
|
|
1734
|
-
|
|
1735
|
-
),
|
|
1734
|
+
se.enCode(A())
|
|
1735
|
+
), r && (H().tabs && H().tabs(t));
|
|
1736
1736
|
}
|
|
1737
1737
|
function Fr(t) {
|
|
1738
1738
|
return A().tab === t;
|
|
1739
1739
|
}
|
|
1740
1740
|
function Wr(t) {
|
|
1741
1741
|
if (typeof t != "function") {
|
|
1742
|
-
const [
|
|
1743
|
-
return
|
|
1744
|
-
const
|
|
1745
|
-
o(
|
|
1742
|
+
const [r, o] = C(t || fr());
|
|
1743
|
+
return F(() => {
|
|
1744
|
+
const s = (i) => {
|
|
1745
|
+
o(i);
|
|
1746
1746
|
};
|
|
1747
|
-
return
|
|
1748
|
-
const
|
|
1749
|
-
|
|
1747
|
+
return be({ id: s }), () => {
|
|
1748
|
+
const i = H();
|
|
1749
|
+
i.id === s && delete i.id;
|
|
1750
1750
|
};
|
|
1751
|
-
}, []),
|
|
1751
|
+
}, []), r;
|
|
1752
1752
|
} else
|
|
1753
|
-
|
|
1754
|
-
var
|
|
1755
|
-
const
|
|
1756
|
-
if ((o = (
|
|
1757
|
-
const
|
|
1758
|
-
if (Array.isArray(
|
|
1759
|
-
const c =
|
|
1760
|
-
c > -1 &&
|
|
1753
|
+
F(() => (be({ id: t }), () => {
|
|
1754
|
+
var r, o;
|
|
1755
|
+
const s = K();
|
|
1756
|
+
if ((o = (r = s.ROUTER_PARAMS) == null ? void 0 : r.LISTENER) != null && o.id) {
|
|
1757
|
+
const i = s.ROUTER_PARAMS.LISTENER.id;
|
|
1758
|
+
if (Array.isArray(i)) {
|
|
1759
|
+
const c = i.indexOf(t);
|
|
1760
|
+
c > -1 && i.splice(c, 1);
|
|
1761
1761
|
}
|
|
1762
1762
|
}
|
|
1763
1763
|
}), [t]);
|
|
1764
1764
|
}
|
|
1765
|
-
function
|
|
1765
|
+
function qr(t) {
|
|
1766
1766
|
}
|
|
1767
|
-
async function
|
|
1768
|
-
|
|
1767
|
+
async function Yr(t, r = !0) {
|
|
1768
|
+
G({ id: t }), sessionStorage.setItem(
|
|
1769
1769
|
A().STORAGE,
|
|
1770
|
-
|
|
1771
|
-
),
|
|
1770
|
+
se.enCode(A())
|
|
1771
|
+
), r && H().id(t);
|
|
1772
1772
|
}
|
|
1773
1773
|
function zr(t) {
|
|
1774
1774
|
return Number(A().id) === t;
|
|
1775
1775
|
}
|
|
1776
1776
|
async function Vr(t) {
|
|
1777
|
-
var
|
|
1778
|
-
const { page:
|
|
1779
|
-
|
|
1777
|
+
var r, o, s, i, c, d, p, f;
|
|
1778
|
+
const { page: g, module: m, tab: _, id: R } = t;
|
|
1779
|
+
g !== void 0 && (re.page = g), m !== void 0 && (re.module = m), _ !== void 0 && (re.tab = _), R !== void 0 && (re.id = R), G({ ...re }), R !== void 0 && ((o = (r = H()).id) == null || o.call(r, R)), _ !== void 0 && ((i = (s = H()).tabs) == null || i.call(s, _)), m !== void 0 && ((d = (c = H()).module) == null || d.call(c, m)), g !== void 0 && ((f = (p = H()).page) == null || f.call(p, g)), sessionStorage.setItem(
|
|
1780
1780
|
A().STORAGE,
|
|
1781
|
-
|
|
1781
|
+
se.enCode(A())
|
|
1782
1782
|
);
|
|
1783
1783
|
}
|
|
1784
|
-
const
|
|
1784
|
+
const Oe = {
|
|
1785
1785
|
Reset() {
|
|
1786
|
-
|
|
1786
|
+
re.id = 0, re.tab = "", re.page = A().page, re.module = A().module;
|
|
1787
1787
|
},
|
|
1788
1788
|
Default({
|
|
1789
1789
|
module: t = A().module,
|
|
1790
|
-
page:
|
|
1790
|
+
page: r = A().page,
|
|
1791
1791
|
auth: o = A().auth,
|
|
1792
|
-
debug:
|
|
1793
|
-
dir:
|
|
1792
|
+
debug: s = A().debug,
|
|
1793
|
+
dir: i = A().dir || ".",
|
|
1794
1794
|
importModules: c,
|
|
1795
|
-
modules:
|
|
1796
|
-
pages:
|
|
1795
|
+
modules: d,
|
|
1796
|
+
pages: p,
|
|
1797
1797
|
glob: f
|
|
1798
1798
|
// Поддержка единого glob объекта для упрощения
|
|
1799
1799
|
}) {
|
|
1800
|
-
let
|
|
1801
|
-
f ? (
|
|
1802
|
-
|
|
1803
|
-
|
|
1804
|
-
|
|
1805
|
-
) :
|
|
1806
|
-
page:
|
|
1800
|
+
let g = c, m = d, _ = p;
|
|
1801
|
+
f ? (m = typeof d == "object" ? d : f, _ = typeof p == "object" ? p : f) : (m = m || f, _ = _ || f), !g && (m || _) ? !f && (typeof m == "string" || typeof _ == "string") ? g = Yt({ basePath: i }) : g = Qt(
|
|
1802
|
+
i,
|
|
1803
|
+
m,
|
|
1804
|
+
_
|
|
1805
|
+
) : g || (g = Yt({ basePath: i })), G({
|
|
1806
|
+
page: r,
|
|
1807
1807
|
module: t,
|
|
1808
1808
|
auth: o,
|
|
1809
|
-
debug:
|
|
1810
|
-
dir:
|
|
1811
|
-
importModules:
|
|
1812
|
-
}),
|
|
1809
|
+
debug: s,
|
|
1810
|
+
dir: i,
|
|
1811
|
+
importModules: g
|
|
1812
|
+
}), Pr();
|
|
1813
1813
|
},
|
|
1814
1814
|
// Упрощенная функция для создания importModules
|
|
1815
1815
|
createImportModules: Qt,
|
|
@@ -1821,8 +1821,8 @@ const Re = {
|
|
|
1821
1821
|
isPage: $r,
|
|
1822
1822
|
getBack: Nr,
|
|
1823
1823
|
// Методы модулей
|
|
1824
|
-
useModule:
|
|
1825
|
-
setModule:
|
|
1824
|
+
useModule: Mr,
|
|
1825
|
+
setModule: Ir,
|
|
1826
1826
|
getModule: ur,
|
|
1827
1827
|
isModule: Br,
|
|
1828
1828
|
// Методы вкладок
|
|
@@ -1833,13 +1833,13 @@ const Re = {
|
|
|
1833
1833
|
isTabs: Fr,
|
|
1834
1834
|
// Методы ID
|
|
1835
1835
|
useId: Wr,
|
|
1836
|
-
subId:
|
|
1837
|
-
setId:
|
|
1836
|
+
subId: qr,
|
|
1837
|
+
setId: Yr,
|
|
1838
1838
|
getId: fr,
|
|
1839
1839
|
isId: zr,
|
|
1840
1840
|
// Навигация
|
|
1841
1841
|
navigate: Vr
|
|
1842
|
-
}, Jr = "_n_zlj3m_1", Hr = "_i_zlj3m_10", Kr = "_t_zlj3m_28", Gr = "_e_zlj3m_32", Xr = "_s_zlj3m_35", Zr = "_w_zlj3m_38", Qr = "_h_zlj3m_41",
|
|
1842
|
+
}, Jr = "_n_zlj3m_1", Hr = "_i_zlj3m_10", Kr = "_t_zlj3m_28", Gr = "_e_zlj3m_32", Xr = "_s_zlj3m_35", Zr = "_w_zlj3m_38", Qr = "_h_zlj3m_41", me = {
|
|
1843
1843
|
n: Jr,
|
|
1844
1844
|
i: Hr,
|
|
1845
1845
|
t: Kr,
|
|
@@ -1848,31 +1848,31 @@ const Re = {
|
|
|
1848
1848
|
w: Zr,
|
|
1849
1849
|
h: Qr
|
|
1850
1850
|
};
|
|
1851
|
-
let
|
|
1851
|
+
let lt = {};
|
|
1852
1852
|
function en() {
|
|
1853
|
-
const [t,
|
|
1854
|
-
return
|
|
1855
|
-
|
|
1856
|
-
},
|
|
1857
|
-
t.forEach((
|
|
1858
|
-
|
|
1859
|
-
}),
|
|
1860
|
-
}, t.length === 0 ? /* @__PURE__ */ l.jsx(l.Fragment, {}) : /* @__PURE__ */ l.jsx("div", { className:
|
|
1853
|
+
const [t, r] = z.useState([]);
|
|
1854
|
+
return lt.set = (o) => {
|
|
1855
|
+
r([...t, o]);
|
|
1856
|
+
}, lt.del = (o) => {
|
|
1857
|
+
t.forEach((s, i) => {
|
|
1858
|
+
s.key === o && t.splice(i, 1);
|
|
1859
|
+
}), r(t);
|
|
1860
|
+
}, t.length === 0 ? /* @__PURE__ */ l.jsx(l.Fragment, {}) : /* @__PURE__ */ l.jsx("div", { className: me.n, children: t.map((o) => o.item) });
|
|
1861
1861
|
}
|
|
1862
1862
|
function tn(t) {
|
|
1863
|
-
let
|
|
1864
|
-
t.key =
|
|
1863
|
+
let r = (/* @__PURE__ */ new Date()).getTime();
|
|
1864
|
+
t.key = r, lt.set({ item: /* @__PURE__ */ l.jsx(rn, { data: t }, r), key: r });
|
|
1865
1865
|
}
|
|
1866
1866
|
function rn(t) {
|
|
1867
|
-
const
|
|
1868
|
-
let [o] =
|
|
1869
|
-
|
|
1867
|
+
const r = t.data;
|
|
1868
|
+
let [o] = z.useState("show"), [s, i] = z.useState(!1);
|
|
1869
|
+
z.useEffect(() => {
|
|
1870
1870
|
setTimeout(function() {
|
|
1871
|
-
|
|
1871
|
+
i(!0), lt.del(r.key);
|
|
1872
1872
|
}, 5e3);
|
|
1873
|
-
}, [
|
|
1873
|
+
}, [r.key]);
|
|
1874
1874
|
let c;
|
|
1875
|
-
switch (
|
|
1875
|
+
switch (r.type) {
|
|
1876
1876
|
case "error":
|
|
1877
1877
|
c = /* @__PURE__ */ l.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" });
|
|
1878
1878
|
break;
|
|
@@ -1886,15 +1886,15 @@ function rn(t) {
|
|
|
1886
1886
|
c = "icon fa fa-exclamation-circle";
|
|
1887
1887
|
break;
|
|
1888
1888
|
}
|
|
1889
|
-
const
|
|
1890
|
-
error:
|
|
1891
|
-
success:
|
|
1892
|
-
warning:
|
|
1889
|
+
const d = {
|
|
1890
|
+
error: me.e,
|
|
1891
|
+
success: me.s,
|
|
1892
|
+
warning: me.w
|
|
1893
1893
|
};
|
|
1894
|
-
return /* @__PURE__ */ l.jsx(l.Fragment, { children:
|
|
1894
|
+
return /* @__PURE__ */ l.jsx(l.Fragment, { children: s ? /* @__PURE__ */ l.jsx(l.Fragment, {}) : /* @__PURE__ */ l.jsxs(
|
|
1895
1895
|
"div",
|
|
1896
1896
|
{
|
|
1897
|
-
className:
|
|
1897
|
+
className: me.i + d[r.type] + ` ${r.thema !== void 0 ? me.h : ""}`,
|
|
1898
1898
|
"data-status": o,
|
|
1899
1899
|
children: [
|
|
1900
1900
|
/* @__PURE__ */ l.jsx(
|
|
@@ -1910,16 +1910,16 @@ function rn(t) {
|
|
|
1910
1910
|
children: c
|
|
1911
1911
|
}
|
|
1912
1912
|
),
|
|
1913
|
-
/* @__PURE__ */ l.jsx("span", { className:
|
|
1913
|
+
/* @__PURE__ */ l.jsx("span", { className: me.t, children: r.text })
|
|
1914
1914
|
]
|
|
1915
1915
|
}
|
|
1916
1916
|
) });
|
|
1917
1917
|
}
|
|
1918
|
-
let
|
|
1918
|
+
let ge = {
|
|
1919
1919
|
Send: tn,
|
|
1920
1920
|
Init: en
|
|
1921
1921
|
};
|
|
1922
|
-
const nn = "_d_1u25q_1", on = "_b_1u25q_21", an = "_o_1u25q_25", sn = "_m_1u25q_30", cn = "_t_1u25q_41", ln = "_a_1u25q_108", un = "_v_1u25q_118",
|
|
1922
|
+
const nn = "_d_1u25q_1", on = "_b_1u25q_21", an = "_o_1u25q_25", sn = "_m_1u25q_30", cn = "_t_1u25q_41", ln = "_a_1u25q_108", un = "_v_1u25q_118", ne = {
|
|
1923
1923
|
d: nn,
|
|
1924
1924
|
b: on,
|
|
1925
1925
|
o: an,
|
|
@@ -1927,13 +1927,13 @@ const nn = "_d_1u25q_1", on = "_b_1u25q_21", an = "_o_1u25q_25", sn = "_m_1u25q_
|
|
|
1927
1927
|
t: cn,
|
|
1928
1928
|
a: ln,
|
|
1929
1929
|
v: un
|
|
1930
|
-
},
|
|
1930
|
+
}, ae = {
|
|
1931
1931
|
is: !1,
|
|
1932
1932
|
MainButton: {},
|
|
1933
1933
|
BackButton: {}
|
|
1934
1934
|
};
|
|
1935
|
-
let
|
|
1936
|
-
|
|
1935
|
+
let L = {};
|
|
1936
|
+
L.dark = {
|
|
1937
1937
|
"--tg-color-scheme": "dark",
|
|
1938
1938
|
"--tg-theme-subtitle-text-color": "#98989e",
|
|
1939
1939
|
"--tg-theme-destructive-text-color": "#e53935",
|
|
@@ -1951,7 +1951,7 @@ M.dark = {
|
|
|
1951
1951
|
"--tg-theme-text-color": "#ffffff",
|
|
1952
1952
|
"--tg-theme-section-bg-color": "#2c2c2e"
|
|
1953
1953
|
};
|
|
1954
|
-
|
|
1954
|
+
L.light = {
|
|
1955
1955
|
"--tg-color-scheme": "light",
|
|
1956
1956
|
"--tg-theme-subtitle-text-color": "#8e8e93",
|
|
1957
1957
|
"--tg-theme-destructive-text-color": "#ff3b30",
|
|
@@ -1969,7 +1969,7 @@ M.light = {
|
|
|
1969
1969
|
"--tg-theme-text-color": "#000000",
|
|
1970
1970
|
"--tg-theme-section-bg-color": "#f8f8f8"
|
|
1971
1971
|
};
|
|
1972
|
-
|
|
1972
|
+
L.users = {
|
|
1973
1973
|
"--tg-color-scheme": "users",
|
|
1974
1974
|
"--tg-theme-bg-color": "#000000",
|
|
1975
1975
|
"--tg-theme-text-color": "#ffffff",
|
|
@@ -1981,68 +1981,68 @@ M.users = {
|
|
|
1981
1981
|
};
|
|
1982
1982
|
const fn = () => {
|
|
1983
1983
|
if (location.hostname === "localhost") {
|
|
1984
|
-
let [t,
|
|
1985
|
-
|
|
1986
|
-
var
|
|
1987
|
-
|
|
1988
|
-
for (let
|
|
1984
|
+
let [t, r] = C(!1), [o, s] = C(!1), [i, c] = C("dark"), [d, p] = C(!1), [f, g] = C(!1);
|
|
1985
|
+
ae.is = !0, ae.MainButton.set = r, ae.BackButton.set = s, F(() => {
|
|
1986
|
+
var R;
|
|
1987
|
+
L[i]["--tg-theme-bg-color-alpha"] = L[i]["--tg-theme-bg-color"] + "b3", L[i]["--tg-theme-secondary-bg-color-alpha"] = L[i]["--tg-theme-secondary-bg-color"] + "d3", L[i]["--tg-theme-bg-color-alpha-25"] = L[i]["--tg-theme-bg-color"] + "40", L[i]["--tg-theme-secondary-bg-color-alpha-25"] = L[i]["--tg-theme-secondary-bg-color"] + "40";
|
|
1988
|
+
for (let j in L[i])
|
|
1989
1989
|
document.documentElement.style.setProperty(
|
|
1990
|
-
|
|
1991
|
-
|
|
1990
|
+
j,
|
|
1991
|
+
L[i][j]
|
|
1992
1992
|
);
|
|
1993
|
-
((
|
|
1993
|
+
((R = oe.safeAreaInset) == null ? void 0 : R.bottom) === 0 ? document.documentElement.style.setProperty(
|
|
1994
1994
|
"--tg-safe-area-inset-bottom",
|
|
1995
1995
|
"16px"
|
|
1996
|
-
) :
|
|
1996
|
+
) : oe.safeAreaInset || document.documentElement.style.setProperty(
|
|
1997
1997
|
"--tg-safe-area-inset-bottom",
|
|
1998
1998
|
"16px"
|
|
1999
1999
|
);
|
|
2000
2000
|
}, []);
|
|
2001
|
-
let
|
|
2002
|
-
for (let
|
|
2003
|
-
document.documentElement.style.setProperty(
|
|
2001
|
+
let m = (R) => {
|
|
2002
|
+
for (let j in L[R])
|
|
2003
|
+
document.documentElement.style.setProperty(j, L[R][j]), document.documentElement.setAttribute(
|
|
2004
2004
|
"data-color-scheme",
|
|
2005
|
-
|
|
2005
|
+
R
|
|
2006
2006
|
);
|
|
2007
|
-
c(
|
|
2008
|
-
},
|
|
2009
|
-
|
|
2007
|
+
c(R), p(!1);
|
|
2008
|
+
}, _ = () => {
|
|
2009
|
+
p(!1), g(!0);
|
|
2010
2010
|
};
|
|
2011
2011
|
return /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
|
|
2012
|
-
/* @__PURE__ */ l.jsxs("div", { className:
|
|
2013
|
-
o === !1 ? /* @__PURE__ */ l.jsx("div", { className:
|
|
2012
|
+
/* @__PURE__ */ l.jsxs("div", { className: ne.d, children: [
|
|
2013
|
+
o === !1 ? /* @__PURE__ */ l.jsx("div", { className: ne.b, children: "Отмена" }) : /* @__PURE__ */ l.jsx(
|
|
2014
2014
|
"div",
|
|
2015
2015
|
{
|
|
2016
2016
|
onClick: () => {
|
|
2017
|
-
var
|
|
2018
|
-
o.page === void 0 ? (
|
|
2017
|
+
var R;
|
|
2018
|
+
o.page === void 0 ? (R = o.callback) == null || R.call(o) : Oe.setPage(o.page);
|
|
2019
2019
|
},
|
|
2020
|
-
className:
|
|
2020
|
+
className: ne.b,
|
|
2021
2021
|
children: "Назад"
|
|
2022
2022
|
}
|
|
2023
2023
|
),
|
|
2024
2024
|
/* @__PURE__ */ l.jsx(
|
|
2025
2025
|
"div",
|
|
2026
2026
|
{
|
|
2027
|
-
className:
|
|
2028
|
-
onClick: () =>
|
|
2027
|
+
className: ne.o,
|
|
2028
|
+
onClick: () => p(!d),
|
|
2029
2029
|
children: "Меню"
|
|
2030
2030
|
}
|
|
2031
2031
|
)
|
|
2032
2032
|
] }),
|
|
2033
|
-
/* @__PURE__ */ l.jsx(
|
|
2034
|
-
t && /* @__PURE__ */ l.jsx("div", { className:
|
|
2033
|
+
/* @__PURE__ */ l.jsx(ge.Init, {}),
|
|
2034
|
+
t && /* @__PURE__ */ l.jsx("div", { className: ne.m, children: /* @__PURE__ */ l.jsx(
|
|
2035
2035
|
"button",
|
|
2036
2036
|
{
|
|
2037
2037
|
onClick: () => {
|
|
2038
|
-
t.page &&
|
|
2038
|
+
t.page && Oe.setPage(t.page), t.callback && t.callback();
|
|
2039
2039
|
},
|
|
2040
2040
|
children: t.text
|
|
2041
2041
|
}
|
|
2042
2042
|
) }),
|
|
2043
|
-
|
|
2043
|
+
d ? /* @__PURE__ */ l.jsxs("div", { className: ne.t, children: [
|
|
2044
2044
|
/* @__PURE__ */ l.jsxs("ul", { children: [
|
|
2045
|
-
/* @__PURE__ */ l.jsx("li", { children: /* @__PURE__ */ l.jsx("button", { onClick:
|
|
2045
|
+
/* @__PURE__ */ l.jsx("li", { children: /* @__PURE__ */ l.jsx("button", { onClick: _, children: "Authorization" }) }),
|
|
2046
2046
|
/* @__PURE__ */ l.jsx("li", {})
|
|
2047
2047
|
] }),
|
|
2048
2048
|
/* @__PURE__ */ l.jsxs("ul", { children: [
|
|
@@ -2052,74 +2052,74 @@ const fn = () => {
|
|
|
2052
2052
|
/* @__PURE__ */ l.jsx("li", { children: /* @__PURE__ */ l.jsx(
|
|
2053
2053
|
"button",
|
|
2054
2054
|
{
|
|
2055
|
-
onClick: () =>
|
|
2055
|
+
onClick: () => m("dark"),
|
|
2056
2056
|
children: "Dark"
|
|
2057
2057
|
}
|
|
2058
2058
|
) }),
|
|
2059
2059
|
/* @__PURE__ */ l.jsx("li", { children: /* @__PURE__ */ l.jsx(
|
|
2060
2060
|
"button",
|
|
2061
2061
|
{
|
|
2062
|
-
onClick: () =>
|
|
2062
|
+
onClick: () => m("light"),
|
|
2063
2063
|
children: "Light"
|
|
2064
2064
|
}
|
|
2065
2065
|
) }),
|
|
2066
2066
|
/* @__PURE__ */ l.jsx("li", { children: /* @__PURE__ */ l.jsx(
|
|
2067
2067
|
"button",
|
|
2068
2068
|
{
|
|
2069
|
-
onClick: () =>
|
|
2069
|
+
onClick: () => m("users"),
|
|
2070
2070
|
children: "Users"
|
|
2071
2071
|
}
|
|
2072
2072
|
) })
|
|
2073
2073
|
] })
|
|
2074
2074
|
] }),
|
|
2075
|
-
/* @__PURE__ */ l.jsx("li", { children: /* @__PURE__ */ l.jsx("button", { onClick: () =>
|
|
2075
|
+
/* @__PURE__ */ l.jsx("li", { children: /* @__PURE__ */ l.jsx("button", { onClick: () => p(!d), children: "Closed" }) })
|
|
2076
2076
|
] })
|
|
2077
2077
|
] }) : "",
|
|
2078
|
-
f ? /* @__PURE__ */ l.jsx(dn, { setAuthorization:
|
|
2078
|
+
f ? /* @__PURE__ */ l.jsx(dn, { setAuthorization: g }) : ""
|
|
2079
2079
|
] });
|
|
2080
2080
|
} else
|
|
2081
|
-
return
|
|
2081
|
+
return F(() => {
|
|
2082
2082
|
var t;
|
|
2083
2083
|
document.documentElement.style.setProperty(
|
|
2084
2084
|
"--tg-theme-secondary-bg-color-alpha",
|
|
2085
|
-
|
|
2085
|
+
oe.themeParams.secondary_bg_color + "d3"
|
|
2086
2086
|
), document.documentElement.style.setProperty(
|
|
2087
2087
|
"--tg-theme-bg-color-alpha",
|
|
2088
|
-
|
|
2089
|
-
), ((t =
|
|
2088
|
+
oe.themeParams.bg_color + "b3"
|
|
2089
|
+
), ((t = oe.safeAreaInset) == null ? void 0 : t.bottom) === 0 ? document.documentElement.style.setProperty(
|
|
2090
2090
|
"--tg-safe-area-inset-bottom",
|
|
2091
2091
|
"16px"
|
|
2092
|
-
) :
|
|
2092
|
+
) : oe.safeAreaInset || document.documentElement.style.setProperty(
|
|
2093
2093
|
"--tg-safe-area-inset-bottom",
|
|
2094
2094
|
"16px"
|
|
2095
2095
|
);
|
|
2096
|
-
}, []), /* @__PURE__ */ l.jsx(l.Fragment, { children: /* @__PURE__ */ l.jsx(
|
|
2096
|
+
}, []), /* @__PURE__ */ l.jsx(l.Fragment, { children: /* @__PURE__ */ l.jsx(ge.Init, {}) });
|
|
2097
2097
|
}, dn = ({ setAuthorization: t }) => {
|
|
2098
|
-
let
|
|
2099
|
-
localStorage.setItem("auth",
|
|
2098
|
+
let r = {}, o = () => {
|
|
2099
|
+
localStorage.setItem("auth", r);
|
|
2100
2100
|
};
|
|
2101
|
-
return /* @__PURE__ */ l.jsx("div", { className:
|
|
2101
|
+
return /* @__PURE__ */ l.jsx("div", { className: ne.a, children: /* @__PURE__ */ l.jsxs("div", { className: ne.v, children: [
|
|
2102
2102
|
/* @__PURE__ */ l.jsx("fieldset", {}),
|
|
2103
2103
|
/* @__PURE__ */ l.jsx("div", { onClick: o, children: " Сохранить " })
|
|
2104
2104
|
] }) });
|
|
2105
2105
|
}, pn = "_p_1axqy_1", vn = "_s_1axqy_17", er = {
|
|
2106
2106
|
p: pn,
|
|
2107
2107
|
s: vn
|
|
2108
|
-
}, hn = ({ className: t, children:
|
|
2108
|
+
}, hn = ({ className: t, children: r, isScroll: o = !0 }) => /* @__PURE__ */ l.jsx(
|
|
2109
2109
|
"div",
|
|
2110
2110
|
{
|
|
2111
|
-
className: [er.p, o && er.s, t].filter((
|
|
2112
|
-
children:
|
|
2111
|
+
className: [er.p, o && er.s, t].filter((s) => s !== void 0).join(" "),
|
|
2112
|
+
children: r
|
|
2113
2113
|
}
|
|
2114
2114
|
), mn = "_l_gfyud_1", gn = {
|
|
2115
2115
|
l: mn
|
|
2116
|
-
}, bn = ({ children: t, className:
|
|
2116
|
+
}, bn = ({ children: t, className: r }) => /* @__PURE__ */ l.jsx(
|
|
2117
2117
|
"div",
|
|
2118
2118
|
{
|
|
2119
|
-
className: [gn.l,
|
|
2119
|
+
className: [gn.l, r].filter((o) => o !== void 0).join(" "),
|
|
2120
2120
|
children: t
|
|
2121
2121
|
}
|
|
2122
|
-
), yn = "_m_ppm7n_2", _n = "_g_ppm7n_10", Rn = "_i_ppm7n_18", Sn = "_c_ppm7n_35", En = "_l_ppm7n_42", xn = "_a_ppm7n_57", An = "_n_ppm7n_62",
|
|
2122
|
+
), yn = "_m_ppm7n_2", _n = "_g_ppm7n_10", Rn = "_i_ppm7n_18", Sn = "_c_ppm7n_35", En = "_l_ppm7n_42", xn = "_a_ppm7n_57", An = "_n_ppm7n_62", he = {
|
|
2123
2123
|
m: yn,
|
|
2124
2124
|
g: _n,
|
|
2125
2125
|
i: Rn,
|
|
@@ -2128,83 +2128,83 @@ const fn = () => {
|
|
|
2128
2128
|
a: xn,
|
|
2129
2129
|
n: An
|
|
2130
2130
|
}, jn = ({ items: t }) => {
|
|
2131
|
-
const
|
|
2132
|
-
|
|
2133
|
-
}, o = (
|
|
2134
|
-
|
|
2131
|
+
const r = (s) => {
|
|
2132
|
+
Oe.setPage(s);
|
|
2133
|
+
}, o = (s) => {
|
|
2134
|
+
oe.openTelegramLink(s);
|
|
2135
2135
|
};
|
|
2136
|
-
return /* @__PURE__ */ l.jsx("div", { className:
|
|
2136
|
+
return /* @__PURE__ */ l.jsx("div", { className: he.m, children: t.map((s) => /* @__PURE__ */ l.jsx("div", { className: he.g, children: s.items.map((i, c) => /* @__PURE__ */ l.jsxs(
|
|
2137
2137
|
"div",
|
|
2138
2138
|
{
|
|
2139
|
-
className:
|
|
2139
|
+
className: he.i,
|
|
2140
2140
|
onClick: () => {
|
|
2141
|
-
|
|
2141
|
+
i.link && o(i.link), i.page && r(i.page), i.callback && i.callback();
|
|
2142
2142
|
},
|
|
2143
2143
|
children: [
|
|
2144
|
-
/* @__PURE__ */ l.jsxs("div", { className:
|
|
2144
|
+
/* @__PURE__ */ l.jsxs("div", { className: he.c, children: [
|
|
2145
2145
|
/* @__PURE__ */ l.jsx(
|
|
2146
2146
|
"span",
|
|
2147
2147
|
{
|
|
2148
|
-
className:
|
|
2149
|
-
style: { background:
|
|
2150
|
-
children:
|
|
2148
|
+
className: he.l,
|
|
2149
|
+
style: { background: i.color },
|
|
2150
|
+
children: i.icon
|
|
2151
2151
|
}
|
|
2152
2152
|
),
|
|
2153
|
-
|
|
2154
|
-
|
|
2153
|
+
i.title,
|
|
2154
|
+
i.count && /* @__PURE__ */ l.jsx("span", { className: he.n, children: i.count })
|
|
2155
2155
|
] }),
|
|
2156
|
-
/* @__PURE__ */ l.jsx("span", { className:
|
|
2156
|
+
/* @__PURE__ */ l.jsx("span", { className: he.a, children: "›" })
|
|
2157
2157
|
]
|
|
2158
2158
|
},
|
|
2159
2159
|
c
|
|
2160
|
-
)) },
|
|
2161
|
-
}, kn = "_o_8ho2f_3", On = "_m_8ho2f_14",
|
|
2160
|
+
)) }, s.id)) });
|
|
2161
|
+
}, kn = "_o_8ho2f_3", On = "_m_8ho2f_14", wn = "_l_8ho2f_28", Pn = "_r_8ho2f_33", Cn = "_x_8ho2f_38", Tn = "_h_8ho2f_42", $n = "_c_8ho2f_57", Nn = "_u_8ho2f_72", te = {
|
|
2162
2162
|
o: kn,
|
|
2163
2163
|
m: On,
|
|
2164
|
-
l:
|
|
2165
|
-
r:
|
|
2164
|
+
l: wn,
|
|
2165
|
+
r: Pn,
|
|
2166
2166
|
x: Cn,
|
|
2167
2167
|
h: Tn,
|
|
2168
2168
|
c: $n,
|
|
2169
2169
|
u: Nn
|
|
2170
|
-
},
|
|
2171
|
-
function
|
|
2170
|
+
}, st = {};
|
|
2171
|
+
function Mn({
|
|
2172
2172
|
children: t,
|
|
2173
|
-
icon:
|
|
2173
|
+
icon: r,
|
|
2174
2174
|
iconBadge: o = 0,
|
|
2175
|
-
title:
|
|
2176
|
-
className:
|
|
2175
|
+
title: s,
|
|
2176
|
+
className: i,
|
|
2177
2177
|
view: c = "list",
|
|
2178
|
-
position:
|
|
2179
|
-
name:
|
|
2178
|
+
position: d = "left",
|
|
2179
|
+
name: p = "default"
|
|
2180
2180
|
}) {
|
|
2181
|
-
const [f,
|
|
2181
|
+
const [f, g] = C(!1), [m, _] = C(
|
|
2182
2182
|
null
|
|
2183
2183
|
);
|
|
2184
|
-
|
|
2185
|
-
let
|
|
2186
|
-
return
|
|
2187
|
-
|
|
2184
|
+
F(() => {
|
|
2185
|
+
let j = document.querySelector(".p_sb");
|
|
2186
|
+
return j || (j = document.createElement("div"), j.className = "_p_sb", document.body.appendChild(j)), _(j), st[p] = (T) => g(T), () => {
|
|
2187
|
+
j && j.parentNode && j.parentNode.removeChild(j);
|
|
2188
2188
|
};
|
|
2189
2189
|
}, []);
|
|
2190
|
-
const
|
|
2191
|
-
f && /* @__PURE__ */ l.jsx("div", { className:
|
|
2190
|
+
const R = /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
|
|
2191
|
+
f && /* @__PURE__ */ l.jsx("div", { className: te.o, onClick: () => g(!1) }),
|
|
2192
2192
|
/* @__PURE__ */ l.jsxs(
|
|
2193
2193
|
"div",
|
|
2194
2194
|
{
|
|
2195
|
-
className:
|
|
2196
|
-
|
|
2197
|
-
|
|
2198
|
-
f &&
|
|
2199
|
-
|
|
2195
|
+
className: ye(
|
|
2196
|
+
te.m,
|
|
2197
|
+
d === "left" ? te.l : te.r,
|
|
2198
|
+
f && te.x,
|
|
2199
|
+
i
|
|
2200
2200
|
),
|
|
2201
2201
|
children: [
|
|
2202
|
-
/* @__PURE__ */ l.jsxs("div", { className:
|
|
2203
|
-
|
|
2202
|
+
/* @__PURE__ */ l.jsxs("div", { className: te.h, children: [
|
|
2203
|
+
s && /* @__PURE__ */ l.jsx("h3", { className: te.t, children: s }),
|
|
2204
2204
|
/* @__PURE__ */ l.jsxs(
|
|
2205
2205
|
"svg",
|
|
2206
2206
|
{
|
|
2207
|
-
onClick: () =>
|
|
2207
|
+
onClick: () => g(!1),
|
|
2208
2208
|
fill: "none",
|
|
2209
2209
|
stroke: "currentColor",
|
|
2210
2210
|
strokeLinecap: "round",
|
|
@@ -2222,62 +2222,62 @@ function In({
|
|
|
2222
2222
|
}
|
|
2223
2223
|
)
|
|
2224
2224
|
] }),
|
|
2225
|
-
/* @__PURE__ */ l.jsx("div", { className:
|
|
2225
|
+
/* @__PURE__ */ l.jsx("div", { className: te.c, children: c === "list" ? /* @__PURE__ */ l.jsx("ul", { className: te.u, children: t }) : t })
|
|
2226
2226
|
]
|
|
2227
2227
|
}
|
|
2228
2228
|
)
|
|
2229
2229
|
] });
|
|
2230
2230
|
return /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
|
|
2231
|
-
|
|
2231
|
+
r && /* @__PURE__ */ l.jsx(
|
|
2232
2232
|
"div",
|
|
2233
2233
|
{
|
|
2234
|
-
onClick: () =>
|
|
2234
|
+
onClick: () => g(!0),
|
|
2235
2235
|
className: "bage",
|
|
2236
2236
|
"data-count": o,
|
|
2237
|
-
children:
|
|
2237
|
+
children: r
|
|
2238
2238
|
}
|
|
2239
2239
|
),
|
|
2240
|
-
|
|
2240
|
+
m && pr(R, m)
|
|
2241
2241
|
] });
|
|
2242
2242
|
}
|
|
2243
|
-
const
|
|
2243
|
+
const In = (t, r) => {
|
|
2244
2244
|
var o;
|
|
2245
|
-
(o =
|
|
2245
|
+
(o = st[t]) == null || o.call(st, r);
|
|
2246
2246
|
};
|
|
2247
|
-
let
|
|
2247
|
+
let nt = () => {
|
|
2248
2248
|
};
|
|
2249
2249
|
const dr = ({
|
|
2250
2250
|
children: t,
|
|
2251
|
-
title:
|
|
2251
|
+
title: r,
|
|
2252
2252
|
isOverlay: o = !0,
|
|
2253
|
-
footer:
|
|
2254
|
-
className:
|
|
2253
|
+
footer: s = !0,
|
|
2254
|
+
className: i,
|
|
2255
2255
|
onOpen: c
|
|
2256
2256
|
}) => {
|
|
2257
|
-
const [
|
|
2258
|
-
return
|
|
2259
|
-
|
|
2257
|
+
const [d, p] = z.useState(!1);
|
|
2258
|
+
return nt = () => {
|
|
2259
|
+
p(!0), setTimeout(() => {
|
|
2260
2260
|
var f;
|
|
2261
|
-
c == null || c(!1), (f =
|
|
2261
|
+
c == null || c(!1), (f = je == null ? void 0 : je.onClose) == null || f.call(je);
|
|
2262
2262
|
}, 300);
|
|
2263
2263
|
}, /* @__PURE__ */ l.jsx(
|
|
2264
2264
|
"div",
|
|
2265
2265
|
{
|
|
2266
|
-
className: `footer-menu-overlay ${o ? "is-overlay" : ""} ${
|
|
2267
|
-
onClick:
|
|
2266
|
+
className: `footer-menu-overlay ${o ? "is-overlay" : ""} ${d ? "closing" : ""} `,
|
|
2267
|
+
onClick: nt,
|
|
2268
2268
|
children: /* @__PURE__ */ l.jsxs(
|
|
2269
2269
|
"div",
|
|
2270
2270
|
{
|
|
2271
|
-
className: `footer-menu-popup-book ${
|
|
2271
|
+
className: `footer-menu-popup-book ${d ? "closing" : ""} ${i || ""} ${s ? "footer" : ""}`,
|
|
2272
2272
|
onClick: (f) => f.stopPropagation(),
|
|
2273
2273
|
children: [
|
|
2274
2274
|
/* @__PURE__ */ l.jsxs("div", { className: "footer-menu-header", children: [
|
|
2275
|
-
/* @__PURE__ */ l.jsx("h3", { children:
|
|
2275
|
+
/* @__PURE__ */ l.jsx("h3", { children: r }),
|
|
2276
2276
|
/* @__PURE__ */ l.jsx(
|
|
2277
2277
|
"button",
|
|
2278
2278
|
{
|
|
2279
2279
|
className: "footer-menu-close-btn",
|
|
2280
|
-
onClick:
|
|
2280
|
+
onClick: nt,
|
|
2281
2281
|
children: "✕"
|
|
2282
2282
|
}
|
|
2283
2283
|
)
|
|
@@ -2288,275 +2288,320 @@ const dr = ({
|
|
|
2288
2288
|
)
|
|
2289
2289
|
}
|
|
2290
2290
|
);
|
|
2291
|
-
}, Bn = "
|
|
2291
|
+
}, Bn = "_h_1nuzq_1", Ln = "_r_1nuzq_54", Dn = "_c_1nuzq_57", Un = "_x_1nuzq_60", Fn = "_b_1nuzq_64", Wn = "_a_1nuzq_100", qn = "_draw_1nuzq_1", ke = {
|
|
2292
2292
|
h: Bn,
|
|
2293
2293
|
r: Ln,
|
|
2294
2294
|
c: Dn,
|
|
2295
|
-
x: Un
|
|
2296
|
-
|
|
2297
|
-
|
|
2298
|
-
|
|
2295
|
+
x: Un,
|
|
2296
|
+
b: Fn,
|
|
2297
|
+
a: Wn,
|
|
2298
|
+
draw: qn
|
|
2299
|
+
}, Yn = "_b_r6m8n_1", zn = {
|
|
2300
|
+
b: Yn
|
|
2301
|
+
}, Vn = ({ className: t, value: r }) => /* @__PURE__ */ l.jsx(
|
|
2299
2302
|
"div",
|
|
2300
2303
|
{
|
|
2301
|
-
className: [
|
|
2302
|
-
children:
|
|
2304
|
+
className: [zn.b, t].filter((o) => o !== void 0).join(" "),
|
|
2305
|
+
children: r
|
|
2303
2306
|
}
|
|
2304
|
-
),
|
|
2307
|
+
), je = [], tr = (t, r) => t.findIndex((o) => (o == null ? void 0 : o.page) === r), Jn = ({
|
|
2305
2308
|
actions: t,
|
|
2306
|
-
children:
|
|
2309
|
+
children: r,
|
|
2307
2310
|
className: o,
|
|
2311
|
+
actual: s,
|
|
2308
2312
|
toHide: i = !1,
|
|
2309
|
-
page:
|
|
2310
|
-
|
|
2311
|
-
|
|
2313
|
+
page: c,
|
|
2314
|
+
style: d = "default",
|
|
2315
|
+
onPageChange: p,
|
|
2316
|
+
direction: f = "row"
|
|
2312
2317
|
}) => {
|
|
2313
|
-
const [
|
|
2314
|
-
|
|
2318
|
+
const [g, m] = z.useState(null), [_, R] = z.useState(
|
|
2319
|
+
c ? tr(t || [], c) : 0
|
|
2315
2320
|
);
|
|
2316
|
-
|
|
2317
|
-
|
|
2318
|
-
},
|
|
2321
|
+
je.onClose = () => {
|
|
2322
|
+
m(null), R(c ? tr(t || [], c) : 0);
|
|
2323
|
+
}, F(() => {
|
|
2319
2324
|
if (!i)
|
|
2320
2325
|
return;
|
|
2321
|
-
const
|
|
2322
|
-
const
|
|
2323
|
-
|
|
2324
|
-
},
|
|
2325
|
-
const
|
|
2326
|
-
|
|
2326
|
+
const Se = document.querySelectorAll("[contenteditable]"), Ee = () => {
|
|
2327
|
+
const M = document.querySelector("footer");
|
|
2328
|
+
M && M.classList.remove(ke.x);
|
|
2329
|
+
}, xe = () => {
|
|
2330
|
+
const M = document.querySelector("footer");
|
|
2331
|
+
M && M.classList.add(ke.x);
|
|
2327
2332
|
};
|
|
2328
|
-
return
|
|
2329
|
-
|
|
2333
|
+
return Se.forEach((M) => {
|
|
2334
|
+
M.addEventListener("focus", xe, !0), M.addEventListener("blur", Ee, !0);
|
|
2330
2335
|
}), () => {
|
|
2331
|
-
|
|
2332
|
-
|
|
2336
|
+
Se.forEach((M) => {
|
|
2337
|
+
M.removeEventListener("focus", xe, !0), M.removeEventListener("blur", Ee, !0);
|
|
2333
2338
|
});
|
|
2334
2339
|
};
|
|
2335
|
-
}, [])
|
|
2336
|
-
|
|
2340
|
+
}, []);
|
|
2341
|
+
const [j, T] = z.useState(!1), _e = () => {
|
|
2342
|
+
T(!0);
|
|
2343
|
+
}, Re = () => {
|
|
2344
|
+
T(!1);
|
|
2345
|
+
}, N = () => {
|
|
2346
|
+
T(!1);
|
|
2347
|
+
}, x = {};
|
|
2348
|
+
return d === "liquid-glass" && (x.onMouseDown = _e, x.onMouseUp = Re, x.onMouseLeave = N, x.onTouchStart = _e, x.onTouchEnd = Re), /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
|
|
2349
|
+
g,
|
|
2337
2350
|
/* @__PURE__ */ l.jsxs(
|
|
2338
2351
|
"footer",
|
|
2339
2352
|
{
|
|
2340
|
-
|
|
2341
|
-
|
|
2342
|
-
|
|
2353
|
+
"data-style": d,
|
|
2354
|
+
"data-scale": j ? "true" : "false",
|
|
2355
|
+
...x,
|
|
2356
|
+
className: ye(
|
|
2357
|
+
ke.h,
|
|
2358
|
+
ke[f === "row" ? "r" : "c"],
|
|
2343
2359
|
o
|
|
2344
2360
|
),
|
|
2345
2361
|
children: [
|
|
2346
|
-
|
|
2347
|
-
t &&
|
|
2348
|
-
|
|
2362
|
+
r,
|
|
2363
|
+
t && /* @__PURE__ */ l.jsx(
|
|
2364
|
+
Hn,
|
|
2349
2365
|
{
|
|
2350
|
-
|
|
2351
|
-
|
|
2352
|
-
|
|
2353
|
-
|
|
2354
|
-
|
|
2355
|
-
|
|
2356
|
-
|
|
2357
|
-
|
|
2358
|
-
]
|
|
2359
|
-
},
|
|
2360
|
-
_
|
|
2361
|
-
))
|
|
2366
|
+
actions: t,
|
|
2367
|
+
activeIndex: _,
|
|
2368
|
+
setActiveIndex: R,
|
|
2369
|
+
onPageChange: p,
|
|
2370
|
+
setComponent: m,
|
|
2371
|
+
actual: s
|
|
2372
|
+
}
|
|
2373
|
+
)
|
|
2362
2374
|
]
|
|
2363
2375
|
}
|
|
2364
2376
|
)
|
|
2365
2377
|
] });
|
|
2366
|
-
},
|
|
2367
|
-
|
|
2368
|
-
|
|
2369
|
-
|
|
2370
|
-
|
|
2378
|
+
}, Hn = ({
|
|
2379
|
+
actions: t,
|
|
2380
|
+
activeIndex: r,
|
|
2381
|
+
setActiveIndex: o,
|
|
2382
|
+
onPageChange: s,
|
|
2383
|
+
setComponent: i,
|
|
2384
|
+
actual: c
|
|
2385
|
+
}) => /* @__PURE__ */ l.jsxs("div", { className: ke.b, children: [
|
|
2386
|
+
t.map((d, p) => /* @__PURE__ */ l.jsxs(
|
|
2387
|
+
"div",
|
|
2388
|
+
{
|
|
2389
|
+
"data-active": r === p ? "true" : "false",
|
|
2390
|
+
onClick: () => {
|
|
2391
|
+
d.page && (o(p), s == null || s(d.page)), d.onClick && d.onClick(() => o(p)), d.component && (r === p ? nt() : (i(d.component), o(p)));
|
|
2392
|
+
},
|
|
2393
|
+
children: [
|
|
2394
|
+
d.icon,
|
|
2395
|
+
d.title && /* @__PURE__ */ l.jsx("span", { children: d.title }),
|
|
2396
|
+
d.badge && /* @__PURE__ */ l.jsx(Vn, { value: d.badge })
|
|
2397
|
+
]
|
|
2398
|
+
},
|
|
2399
|
+
p
|
|
2400
|
+
)),
|
|
2401
|
+
c && /* @__PURE__ */ l.jsx(
|
|
2402
|
+
"div",
|
|
2403
|
+
{
|
|
2404
|
+
className: ke.a,
|
|
2405
|
+
style: {
|
|
2406
|
+
"--count-options": t.length,
|
|
2407
|
+
"--tab-bar-actual-index": r
|
|
2408
|
+
}
|
|
2409
|
+
}
|
|
2410
|
+
)
|
|
2411
|
+
] }), Kn = "_w_yx04q_3", Gn = "_v_yx04q_24", Xn = "_s_yx04q_34", Zn = "_n_yx04q_38", at = {
|
|
2412
|
+
w: Kn,
|
|
2413
|
+
v: Gn,
|
|
2414
|
+
s: Xn,
|
|
2415
|
+
n: Zn
|
|
2371
2416
|
}, zt = {};
|
|
2372
|
-
function
|
|
2417
|
+
function Qn({
|
|
2373
2418
|
children: t,
|
|
2374
|
-
name:
|
|
2419
|
+
name: r,
|
|
2375
2420
|
onClose: o,
|
|
2376
|
-
isOpen:
|
|
2377
|
-
isScroll:
|
|
2421
|
+
isOpen: s,
|
|
2422
|
+
isScroll: i = !0,
|
|
2378
2423
|
nextBackButton: c
|
|
2379
2424
|
}) {
|
|
2380
|
-
const [
|
|
2381
|
-
return
|
|
2382
|
-
if (!
|
|
2383
|
-
const f = c === void 0 ?
|
|
2384
|
-
|
|
2425
|
+
const [d, p] = C(!1);
|
|
2426
|
+
return F(() => {
|
|
2427
|
+
if (!s) return;
|
|
2428
|
+
const f = c === void 0 ? co().pop() : c, g = () => {
|
|
2429
|
+
p(!1), setTimeout(() => {
|
|
2385
2430
|
nr(f || !1), o == null || o();
|
|
2386
2431
|
}, 300);
|
|
2387
2432
|
};
|
|
2388
|
-
zt[
|
|
2389
|
-
onClose:
|
|
2433
|
+
zt[r] = {
|
|
2434
|
+
onClose: g,
|
|
2390
2435
|
onOpen: () => {
|
|
2391
|
-
|
|
2436
|
+
p(!0);
|
|
2392
2437
|
}
|
|
2393
2438
|
}, nr({
|
|
2394
|
-
callback:
|
|
2439
|
+
callback: g
|
|
2395
2440
|
});
|
|
2396
|
-
const
|
|
2397
|
-
|
|
2441
|
+
const m = setTimeout(() => {
|
|
2442
|
+
p(!0);
|
|
2398
2443
|
}, 10);
|
|
2399
2444
|
return () => {
|
|
2400
|
-
clearTimeout(
|
|
2445
|
+
clearTimeout(m);
|
|
2401
2446
|
};
|
|
2402
|
-
}, [
|
|
2447
|
+
}, [s]), s ? /* @__PURE__ */ l.jsxs(
|
|
2403
2448
|
"div",
|
|
2404
2449
|
{
|
|
2405
|
-
className:
|
|
2406
|
-
|
|
2407
|
-
|
|
2408
|
-
|
|
2450
|
+
className: ye(
|
|
2451
|
+
at.w,
|
|
2452
|
+
d && at.v,
|
|
2453
|
+
i && at.s
|
|
2409
2454
|
),
|
|
2410
2455
|
children: [
|
|
2411
|
-
/* @__PURE__ */ l.jsx("div", { className:
|
|
2456
|
+
/* @__PURE__ */ l.jsx("div", { className: at.n }),
|
|
2412
2457
|
t
|
|
2413
2458
|
]
|
|
2414
2459
|
}
|
|
2415
2460
|
) : "";
|
|
2416
2461
|
}
|
|
2417
|
-
const
|
|
2418
|
-
var o,
|
|
2419
|
-
|
|
2420
|
-
},
|
|
2421
|
-
s:
|
|
2422
|
-
n:
|
|
2462
|
+
const eo = (t, r) => {
|
|
2463
|
+
var o, s;
|
|
2464
|
+
r ? (o = zt[t]) == null || o.onOpen() : (s = zt[t]) == null || s.onClose();
|
|
2465
|
+
}, to = "_s_ezoxx_3", ro = "_n_ezoxx_14", rr = {
|
|
2466
|
+
s: to,
|
|
2467
|
+
n: ro
|
|
2423
2468
|
};
|
|
2424
|
-
function
|
|
2469
|
+
function no({
|
|
2425
2470
|
className: t,
|
|
2426
|
-
children:
|
|
2471
|
+
children: r,
|
|
2427
2472
|
onScrollEnd: o,
|
|
2428
|
-
offset:
|
|
2429
|
-
isLoading:
|
|
2473
|
+
offset: s = 100,
|
|
2474
|
+
isLoading: i,
|
|
2430
2475
|
isScrollBar: c = !1
|
|
2431
2476
|
}) {
|
|
2432
|
-
const [
|
|
2433
|
-
|
|
2434
|
-
|
|
2435
|
-
}, [
|
|
2477
|
+
const [d, p] = C(i || !1);
|
|
2478
|
+
F(() => {
|
|
2479
|
+
p(i || !1);
|
|
2480
|
+
}, [i]);
|
|
2436
2481
|
let f = {
|
|
2437
|
-
onScroll: (
|
|
2438
|
-
const { scrollTop:
|
|
2439
|
-
|
|
2482
|
+
onScroll: (g) => {
|
|
2483
|
+
const { scrollTop: m, scrollHeight: _, clientHeight: R } = g.currentTarget;
|
|
2484
|
+
m + R >= _ - s && !d && (p(!0), o == null || o());
|
|
2440
2485
|
}
|
|
2441
2486
|
};
|
|
2442
2487
|
return /* @__PURE__ */ l.jsx(
|
|
2443
2488
|
"div",
|
|
2444
2489
|
{
|
|
2445
2490
|
...f,
|
|
2446
|
-
className:
|
|
2447
|
-
children:
|
|
2491
|
+
className: ye(rr.s, !c && rr.n, t),
|
|
2492
|
+
children: r
|
|
2448
2493
|
}
|
|
2449
2494
|
);
|
|
2450
2495
|
}
|
|
2451
|
-
const
|
|
2452
|
-
a:
|
|
2453
|
-
l:
|
|
2454
|
-
r:
|
|
2496
|
+
const oo = "_a_ohhaz_1", ao = "_l_ohhaz_12", so = "_r_ohhaz_15", Ft = {
|
|
2497
|
+
a: oo,
|
|
2498
|
+
l: ao,
|
|
2499
|
+
r: so
|
|
2455
2500
|
};
|
|
2456
|
-
function
|
|
2501
|
+
function io({
|
|
2457
2502
|
children: t,
|
|
2458
|
-
className:
|
|
2503
|
+
className: r,
|
|
2459
2504
|
position: o = "center",
|
|
2460
|
-
title:
|
|
2505
|
+
title: s
|
|
2461
2506
|
}) {
|
|
2462
|
-
let
|
|
2463
|
-
return o === "left" ?
|
|
2507
|
+
let i = "";
|
|
2508
|
+
return o === "left" ? i = Ft.l : o === "right" && (i = Ft.r), /* @__PURE__ */ l.jsxs("div", { className: ye(Ft.a, i, r), children: [
|
|
2464
2509
|
t,
|
|
2465
|
-
|
|
2510
|
+
s && /* @__PURE__ */ l.jsx("b", { children: s })
|
|
2466
2511
|
] });
|
|
2467
2512
|
}
|
|
2468
|
-
const
|
|
2513
|
+
const D = {
|
|
2469
2514
|
state: [!1],
|
|
2470
2515
|
listen: [],
|
|
2471
2516
|
prev: {},
|
|
2472
2517
|
router: (t) => {
|
|
2473
|
-
t === !1 ? (
|
|
2518
|
+
t === !1 ? (P.WebApp.BackButton.isVisible = !1, P.WebApp.BackButton.offClick(D.listen[0]), D.listen.shift(), D.state.length !== 1 && D.state.pop()) : (P.WebApp.BackButton.isVisible = !0, P.WebApp.BackButton.offClick(D.listen[0]), D.listen.shift(), D.listen.push(() => {
|
|
2474
2519
|
var o;
|
|
2475
|
-
let
|
|
2476
|
-
|
|
2477
|
-
}),
|
|
2520
|
+
let r = D.state.pop();
|
|
2521
|
+
D.prev = Oe.getPage(), r.page !== void 0 ? Oe.setPage(r.page) : (o = r.callback) == null || o.call(r);
|
|
2522
|
+
}), oe.BackButton.onClick(D.listen[0]));
|
|
2478
2523
|
}
|
|
2479
|
-
},
|
|
2480
|
-
var
|
|
2524
|
+
}, ye = (...t) => t.filter((r) => r !== void 0 && r !== !1 && r !== null && r !== "").join(" ");
|
|
2525
|
+
var P;
|
|
2481
2526
|
((t) => {
|
|
2482
|
-
var
|
|
2483
|
-
t.WebApp = typeof window < "u" && ((
|
|
2527
|
+
var r;
|
|
2528
|
+
t.WebApp = typeof window < "u" && ((r = window.Telegram) == null ? void 0 : r.WebApp) || {}, t.getUser = () => {
|
|
2484
2529
|
var o;
|
|
2485
2530
|
return ((o = t.WebApp.initDataUnsafe) == null ? void 0 : o.user) === void 0 ? {} : t.WebApp.initDataUnsafe;
|
|
2486
2531
|
}, t.Location = (o) => {
|
|
2487
|
-
if (
|
|
2532
|
+
if (ae.is)
|
|
2488
2533
|
return o({ latitude: 55.752555, longitude: 37.623123 });
|
|
2489
|
-
let
|
|
2490
|
-
t.WebApp.LocationManager.getLocation(async (
|
|
2491
|
-
if (!
|
|
2534
|
+
let s = () => {
|
|
2535
|
+
t.WebApp.LocationManager.getLocation(async (i) => {
|
|
2536
|
+
if (!i) {
|
|
2492
2537
|
t.WebApp.LocationManager.isAccessRequested || t.WebApp.LocationManager.openSettings();
|
|
2493
2538
|
return;
|
|
2494
2539
|
}
|
|
2495
|
-
o(
|
|
2540
|
+
o(i);
|
|
2496
2541
|
});
|
|
2497
2542
|
};
|
|
2498
2543
|
!t.WebApp.LocationManager || !t.WebApp.LocationManager.isInited ? t.WebApp.LocationManager.init(() => {
|
|
2499
|
-
|
|
2500
|
-
}) :
|
|
2544
|
+
s();
|
|
2545
|
+
}) : s();
|
|
2501
2546
|
}, t.Notice = {
|
|
2502
|
-
Send: (o,
|
|
2503
|
-
var c,
|
|
2504
|
-
|
|
2547
|
+
Send: (o, s, i) => {
|
|
2548
|
+
var c, d;
|
|
2549
|
+
s !== void 0 ? (ge.Send({ type: o, text: s, thema: i }), (c = t.WebApp.HapticFeedback) == null || c.notificationOccurred(o)) : (ge.Send(o), (d = t.WebApp.HapticFeedback) == null || d.notificationOccurred(o.type));
|
|
2505
2550
|
},
|
|
2506
2551
|
Error: (o) => {
|
|
2507
|
-
var
|
|
2508
|
-
|
|
2552
|
+
var s;
|
|
2553
|
+
ge.Send({ type: "error", text: o }), (s = t.WebApp.HapticFeedback) == null || s.notificationOccurred("error");
|
|
2509
2554
|
},
|
|
2510
2555
|
Success: (o) => {
|
|
2511
|
-
var
|
|
2512
|
-
|
|
2556
|
+
var s;
|
|
2557
|
+
ge.Send({ type: "success", text: o }), (s = t.WebApp.HapticFeedback) == null || s.notificationOccurred("success");
|
|
2513
2558
|
},
|
|
2514
2559
|
Warning: (o) => {
|
|
2515
|
-
var
|
|
2516
|
-
|
|
2560
|
+
var s;
|
|
2561
|
+
ge.Send({ type: "warning", text: o }), (s = t.WebApp.HapticFeedback) == null || s.notificationOccurred("warning");
|
|
2517
2562
|
}
|
|
2518
|
-
}, t.Header = fn, t.TabBar =
|
|
2563
|
+
}, t.Header = fn, t.TabBar = Jn, t.BottomSheet = dr, t.toggleBottomSheet = nt, t.SafeArea = hn, t.Loading = bn, t.Sidebar = Mn, t.SidePanel = Qn, t.AppBar = io, t.SideBarController = In, t.SidePanelController = eo, t.Scroll = no, t.Modal = qt, t.Menu = jn, t.MainButton = {
|
|
2519
2564
|
callback: [],
|
|
2520
2565
|
set: (o) => {
|
|
2521
|
-
|
|
2522
|
-
t.WebApp.MainButton.offClick(
|
|
2566
|
+
ae.is ? ae.MainButton.set(o) : (t.WebApp.MainButton.callback.forEach((s) => {
|
|
2567
|
+
t.WebApp.MainButton.offClick(s);
|
|
2523
2568
|
}), t.WebApp.MainButton.callback = [], typeof o == "boolean" ? t.WebApp.MainButton.isVisible = !1 : (t.WebApp.MainButton.text = o.text, o.color && (t.WebApp.MainButton.color = o.color), o.textColor && (t.WebApp.MainButton.textColor = o.textColor), t.WebApp.MainButton.isVisible = !0, t.WebApp.MainButton.isActive = o.isActive === void 0 ? !0 : o.isActive, t.WebApp.MainButton.callback.push(() => {
|
|
2524
|
-
var
|
|
2525
|
-
o.page === void 0 ? (
|
|
2569
|
+
var s;
|
|
2570
|
+
o.page === void 0 ? (s = o.callback) == null || s.call(o) : Oe.setPage(o.page);
|
|
2526
2571
|
}), t.WebApp.MainButton.onClick(
|
|
2527
2572
|
t.WebApp.MainButton.callback[0]
|
|
2528
2573
|
)));
|
|
2529
2574
|
}
|
|
2530
2575
|
}, t.BackButtonPrev = () => {
|
|
2531
|
-
|
|
2532
|
-
}, t.BackButtonState = () =>
|
|
2533
|
-
|
|
2576
|
+
D.prev && (0, t.BackButton)(D.prev);
|
|
2577
|
+
}, t.BackButtonState = () => D.state, t.BackButton = (o) => {
|
|
2578
|
+
ae.is ? ae.BackButton.set(o) : (D.state.push(o), D.router(o));
|
|
2534
2579
|
};
|
|
2535
|
-
})(
|
|
2536
|
-
const
|
|
2580
|
+
})(P || (P = {}));
|
|
2581
|
+
const fo = P.TabBar, po = dr, nr = P.BackButton, vo = P.BackButtonPrev, co = P.BackButtonState, ho = P.Notice, mo = P.SafeArea, go = P.Loading, bo = P.Menu, yo = P.SidePanel, _o = P.Scroll, Ro = P.AppBar, So = P.Sidebar, Eo = P.Location, xo = P.SidePanelController, Ao = P.SideBarController, { Header: jo, toggleBottomSheet: ko, Modal: Oo, MainButton: wo, WebApp: oe, getUser: Po } = P;
|
|
2537
2582
|
export {
|
|
2538
|
-
|
|
2583
|
+
Ro as AppBar,
|
|
2539
2584
|
nr as BackButton,
|
|
2540
|
-
|
|
2541
|
-
|
|
2542
|
-
|
|
2543
|
-
|
|
2544
|
-
|
|
2545
|
-
|
|
2546
|
-
|
|
2547
|
-
|
|
2548
|
-
|
|
2549
|
-
|
|
2550
|
-
|
|
2551
|
-
|
|
2552
|
-
|
|
2553
|
-
|
|
2554
|
-
|
|
2555
|
-
|
|
2556
|
-
|
|
2557
|
-
|
|
2558
|
-
|
|
2559
|
-
|
|
2560
|
-
|
|
2561
|
-
|
|
2585
|
+
vo as BackButtonPrev,
|
|
2586
|
+
co as BackButtonState,
|
|
2587
|
+
po as BottomSheet,
|
|
2588
|
+
jo as Header,
|
|
2589
|
+
go as Loading,
|
|
2590
|
+
Eo as Location,
|
|
2591
|
+
wo as MainButton,
|
|
2592
|
+
bo as Menu,
|
|
2593
|
+
Oo as Modal,
|
|
2594
|
+
ho as Notice,
|
|
2595
|
+
mo as SafeArea,
|
|
2596
|
+
_o as Scroll,
|
|
2597
|
+
Ao as SideBarController,
|
|
2598
|
+
yo as SidePanel,
|
|
2599
|
+
xo as SidePanelController,
|
|
2600
|
+
So as Sidebar,
|
|
2601
|
+
fo as TabBar,
|
|
2602
|
+
oe as WebApp,
|
|
2603
|
+
ye as clsx,
|
|
2604
|
+
P as default,
|
|
2605
|
+
Po as getUser,
|
|
2606
|
+
ko as toggleBottomSheet
|
|
2562
2607
|
};
|