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