@elcrm/telegram 0.0.89 → 0.0.91
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/Footer/index.d.ts +1 -0
- package/dist/Sidebar/Sidebar.d.ts +11 -0
- package/dist/index.css +1 -1
- package/dist/index.d.ts +4 -0
- package/dist/index.es.js +994 -896
- package/dist/index.umd.js +20 -20
- package/package.json +2 -2
package/dist/index.es.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import B, { useState as te, useEffect as Ce } from "react";
|
|
2
|
+
import { createPortal as Zt } from "react-dom";
|
|
3
|
+
import './index.css';var It = { exports: {} }, Qe = {};
|
|
3
4
|
/**
|
|
4
5
|
* @license React
|
|
5
6
|
* react-jsx-runtime.production.min.js
|
|
@@ -9,21 +10,21 @@ import './index.css';var It = { exports: {} }, Ze = {};
|
|
|
9
10
|
* This source code is licensed under the MIT license found in the
|
|
10
11
|
* LICENSE file in the root directory of this source tree.
|
|
11
12
|
*/
|
|
12
|
-
var
|
|
13
|
-
function
|
|
14
|
-
if (
|
|
15
|
-
|
|
16
|
-
var r =
|
|
17
|
-
function
|
|
18
|
-
var g,
|
|
19
|
-
|
|
20
|
-
for (g in
|
|
21
|
-
if (
|
|
22
|
-
return { $$typeof: n, type:
|
|
13
|
+
var Mt;
|
|
14
|
+
function Xt() {
|
|
15
|
+
if (Mt) return Qe;
|
|
16
|
+
Mt = 1;
|
|
17
|
+
var r = B, n = Symbol.for("react.element"), a = Symbol.for("react.fragment"), u = Object.prototype.hasOwnProperty, l = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, p = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
18
|
+
function x(_, f, E) {
|
|
19
|
+
var g, y = {}, m = null, P = null;
|
|
20
|
+
E !== void 0 && (m = "" + E), f.key !== void 0 && (m = "" + f.key), f.ref !== void 0 && (P = f.ref);
|
|
21
|
+
for (g in f) u.call(f, g) && !p.hasOwnProperty(g) && (y[g] = f[g]);
|
|
22
|
+
if (_ && _.defaultProps) for (g in f = _.defaultProps, f) y[g] === void 0 && (y[g] = f[g]);
|
|
23
|
+
return { $$typeof: n, type: _, key: m, ref: P, props: y, _owner: l.current };
|
|
23
24
|
}
|
|
24
|
-
return
|
|
25
|
+
return Qe.Fragment = a, Qe.jsx = x, Qe.jsxs = x, Qe;
|
|
25
26
|
}
|
|
26
|
-
var
|
|
27
|
+
var et = {};
|
|
27
28
|
/**
|
|
28
29
|
* @license React
|
|
29
30
|
* react-jsx-runtime.development.js
|
|
@@ -33,91 +34,91 @@ var Xe = {};
|
|
|
33
34
|
* This source code is licensed under the MIT license found in the
|
|
34
35
|
* LICENSE file in the root directory of this source tree.
|
|
35
36
|
*/
|
|
36
|
-
var
|
|
37
|
-
function
|
|
38
|
-
return
|
|
39
|
-
var r =
|
|
40
|
-
function
|
|
37
|
+
var Bt;
|
|
38
|
+
function Qt() {
|
|
39
|
+
return Bt || (Bt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
40
|
+
var r = B, n = Symbol.for("react.element"), a = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), l = Symbol.for("react.strict_mode"), p = Symbol.for("react.profiler"), x = Symbol.for("react.provider"), _ = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"), E = Symbol.for("react.suspense"), g = Symbol.for("react.suspense_list"), y = Symbol.for("react.memo"), m = Symbol.for("react.lazy"), P = Symbol.for("react.offscreen"), I = Symbol.iterator, we = "@@iterator";
|
|
41
|
+
function de(e) {
|
|
41
42
|
if (e === null || typeof e != "object")
|
|
42
43
|
return null;
|
|
43
|
-
var t =
|
|
44
|
+
var t = I && e[I] || e[we];
|
|
44
45
|
return typeof t == "function" ? t : null;
|
|
45
46
|
}
|
|
46
|
-
var
|
|
47
|
-
function
|
|
47
|
+
var D = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
48
|
+
function O(e) {
|
|
48
49
|
{
|
|
49
50
|
for (var t = arguments.length, o = new Array(t > 1 ? t - 1 : 0), i = 1; i < t; i++)
|
|
50
51
|
o[i - 1] = arguments[i];
|
|
51
|
-
|
|
52
|
+
Pe("error", e, o);
|
|
52
53
|
}
|
|
53
54
|
}
|
|
54
|
-
function
|
|
55
|
+
function Pe(e, t, o) {
|
|
55
56
|
{
|
|
56
|
-
var i =
|
|
57
|
+
var i = D.ReactDebugCurrentFrame, v = i.getStackAddendum();
|
|
57
58
|
v !== "" && (t += "%s", o = o.concat([v]));
|
|
58
|
-
var h = o.map(function(
|
|
59
|
-
return String(
|
|
59
|
+
var h = o.map(function(d) {
|
|
60
|
+
return String(d);
|
|
60
61
|
});
|
|
61
62
|
h.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, h);
|
|
62
63
|
}
|
|
63
64
|
}
|
|
64
|
-
var
|
|
65
|
-
|
|
66
|
-
function
|
|
67
|
-
return !!(typeof e == "string" || typeof e == "function" || e ===
|
|
65
|
+
var Te = !1, Oe = !1, Ne = !1, $e = !1, b = !1, k;
|
|
66
|
+
k = Symbol.for("react.module.reference");
|
|
67
|
+
function N(e) {
|
|
68
|
+
return !!(typeof e == "string" || typeof e == "function" || e === u || e === p || b || e === l || e === E || e === g || $e || e === P || Te || Oe || Ne || typeof e == "object" && e !== null && (e.$$typeof === m || e.$$typeof === y || e.$$typeof === x || e.$$typeof === _ || e.$$typeof === f || // This needs to include all possible module reference object
|
|
68
69
|
// types supported by any Flight configuration anywhere since
|
|
69
70
|
// we don't know which Flight build this will end up being used
|
|
70
71
|
// with.
|
|
71
|
-
e.$$typeof ===
|
|
72
|
+
e.$$typeof === k || e.getModuleId !== void 0));
|
|
72
73
|
}
|
|
73
|
-
function
|
|
74
|
+
function F(e, t, o) {
|
|
74
75
|
var i = e.displayName;
|
|
75
76
|
if (i)
|
|
76
77
|
return i;
|
|
77
78
|
var v = t.displayName || t.name || "";
|
|
78
79
|
return v !== "" ? o + "(" + v + ")" : o;
|
|
79
80
|
}
|
|
80
|
-
function
|
|
81
|
+
function $(e) {
|
|
81
82
|
return e.displayName || "Context";
|
|
82
83
|
}
|
|
83
|
-
function
|
|
84
|
+
function T(e) {
|
|
84
85
|
if (e == null)
|
|
85
86
|
return null;
|
|
86
|
-
if (typeof e.tag == "number" &&
|
|
87
|
+
if (typeof e.tag == "number" && O("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
87
88
|
return e.displayName || e.name || null;
|
|
88
89
|
if (typeof e == "string")
|
|
89
90
|
return e;
|
|
90
91
|
switch (e) {
|
|
91
|
-
case
|
|
92
|
+
case u:
|
|
92
93
|
return "Fragment";
|
|
93
94
|
case a:
|
|
94
95
|
return "Portal";
|
|
95
96
|
case p:
|
|
96
97
|
return "Profiler";
|
|
97
|
-
case
|
|
98
|
+
case l:
|
|
98
99
|
return "StrictMode";
|
|
99
|
-
case
|
|
100
|
+
case E:
|
|
100
101
|
return "Suspense";
|
|
101
102
|
case g:
|
|
102
103
|
return "SuspenseList";
|
|
103
104
|
}
|
|
104
105
|
if (typeof e == "object")
|
|
105
106
|
switch (e.$$typeof) {
|
|
106
|
-
case
|
|
107
|
+
case _:
|
|
107
108
|
var t = e;
|
|
108
|
-
return
|
|
109
|
-
case
|
|
109
|
+
return $(t) + ".Consumer";
|
|
110
|
+
case x:
|
|
110
111
|
var o = e;
|
|
111
|
-
return
|
|
112
|
-
case
|
|
113
|
-
return
|
|
114
|
-
case
|
|
112
|
+
return $(o._context) + ".Provider";
|
|
113
|
+
case f:
|
|
114
|
+
return F(e, e.render, "ForwardRef");
|
|
115
|
+
case y:
|
|
115
116
|
var i = e.displayName || null;
|
|
116
|
-
return i !== null ? i :
|
|
117
|
-
case
|
|
118
|
-
var v = e, h = v._payload,
|
|
117
|
+
return i !== null ? i : T(e.type) || "Memo";
|
|
118
|
+
case m: {
|
|
119
|
+
var v = e, h = v._payload, d = v._init;
|
|
119
120
|
try {
|
|
120
|
-
return
|
|
121
|
+
return T(d(h));
|
|
121
122
|
} catch {
|
|
122
123
|
return null;
|
|
123
124
|
}
|
|
@@ -125,18 +126,18 @@ function Zt() {
|
|
|
125
126
|
}
|
|
126
127
|
return null;
|
|
127
128
|
}
|
|
128
|
-
var
|
|
129
|
-
function
|
|
129
|
+
var M = Object.assign, U = 0, ce, G, Z, X, Q, Ie, Fe;
|
|
130
|
+
function Me() {
|
|
130
131
|
}
|
|
131
|
-
|
|
132
|
-
function
|
|
132
|
+
Me.__reactDisabledLog = !0;
|
|
133
|
+
function st() {
|
|
133
134
|
{
|
|
134
|
-
if (
|
|
135
|
-
|
|
135
|
+
if (U === 0) {
|
|
136
|
+
ce = console.log, G = console.info, Z = console.warn, X = console.error, Q = console.group, Ie = console.groupCollapsed, Fe = console.groupEnd;
|
|
136
137
|
var e = {
|
|
137
138
|
configurable: !0,
|
|
138
139
|
enumerable: !0,
|
|
139
|
-
value:
|
|
140
|
+
value: Me,
|
|
140
141
|
writable: !0
|
|
141
142
|
};
|
|
142
143
|
Object.defineProperties(console, {
|
|
@@ -149,229 +150,229 @@ function Zt() {
|
|
|
149
150
|
groupEnd: e
|
|
150
151
|
});
|
|
151
152
|
}
|
|
152
|
-
|
|
153
|
+
U++;
|
|
153
154
|
}
|
|
154
155
|
}
|
|
155
|
-
function
|
|
156
|
+
function lt() {
|
|
156
157
|
{
|
|
157
|
-
if (
|
|
158
|
+
if (U--, U === 0) {
|
|
158
159
|
var e = {
|
|
159
160
|
configurable: !0,
|
|
160
161
|
enumerable: !0,
|
|
161
162
|
writable: !0
|
|
162
163
|
};
|
|
163
164
|
Object.defineProperties(console, {
|
|
164
|
-
log:
|
|
165
|
+
log: M({}, e, {
|
|
166
|
+
value: ce
|
|
167
|
+
}),
|
|
168
|
+
info: M({}, e, {
|
|
169
|
+
value: G
|
|
170
|
+
}),
|
|
171
|
+
warn: M({}, e, {
|
|
165
172
|
value: Z
|
|
166
173
|
}),
|
|
167
|
-
|
|
174
|
+
error: M({}, e, {
|
|
168
175
|
value: X
|
|
169
176
|
}),
|
|
170
|
-
|
|
177
|
+
group: M({}, e, {
|
|
171
178
|
value: Q
|
|
172
179
|
}),
|
|
173
|
-
|
|
174
|
-
value: ee
|
|
175
|
-
}),
|
|
176
|
-
group: N({}, e, {
|
|
177
|
-
value: Te
|
|
178
|
-
}),
|
|
179
|
-
groupCollapsed: N({}, e, {
|
|
180
|
+
groupCollapsed: M({}, e, {
|
|
180
181
|
value: Ie
|
|
181
182
|
}),
|
|
182
|
-
groupEnd:
|
|
183
|
-
value:
|
|
183
|
+
groupEnd: M({}, e, {
|
|
184
|
+
value: Fe
|
|
184
185
|
})
|
|
185
186
|
});
|
|
186
187
|
}
|
|
187
|
-
|
|
188
|
+
U < 0 && O("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
188
189
|
}
|
|
189
190
|
}
|
|
190
|
-
var
|
|
191
|
-
function
|
|
191
|
+
var pe = D.ReactCurrentDispatcher, ve;
|
|
192
|
+
function re(e, t, o) {
|
|
192
193
|
{
|
|
193
|
-
if (
|
|
194
|
+
if (ve === void 0)
|
|
194
195
|
try {
|
|
195
196
|
throw Error();
|
|
196
197
|
} catch (v) {
|
|
197
198
|
var i = v.stack.trim().match(/\n( *(at )?)/);
|
|
198
|
-
|
|
199
|
+
ve = i && i[1] || "";
|
|
199
200
|
}
|
|
200
201
|
return `
|
|
201
|
-
` +
|
|
202
|
+
` + ve + e;
|
|
202
203
|
}
|
|
203
204
|
}
|
|
204
|
-
var
|
|
205
|
+
var he = !1, ne;
|
|
205
206
|
{
|
|
206
|
-
var
|
|
207
|
-
|
|
207
|
+
var ct = typeof WeakMap == "function" ? WeakMap : Map;
|
|
208
|
+
ne = new ct();
|
|
208
209
|
}
|
|
209
|
-
function
|
|
210
|
-
if (!e ||
|
|
210
|
+
function Be(e, t) {
|
|
211
|
+
if (!e || he)
|
|
211
212
|
return "";
|
|
212
213
|
{
|
|
213
|
-
var o =
|
|
214
|
+
var o = ne.get(e);
|
|
214
215
|
if (o !== void 0)
|
|
215
216
|
return o;
|
|
216
217
|
}
|
|
217
218
|
var i;
|
|
218
|
-
|
|
219
|
+
he = !0;
|
|
219
220
|
var v = Error.prepareStackTrace;
|
|
220
221
|
Error.prepareStackTrace = void 0;
|
|
221
222
|
var h;
|
|
222
|
-
h =
|
|
223
|
+
h = pe.current, pe.current = null, st();
|
|
223
224
|
try {
|
|
224
225
|
if (t) {
|
|
225
|
-
var
|
|
226
|
+
var d = function() {
|
|
226
227
|
throw Error();
|
|
227
228
|
};
|
|
228
|
-
if (Object.defineProperty(
|
|
229
|
+
if (Object.defineProperty(d.prototype, "props", {
|
|
229
230
|
set: function() {
|
|
230
231
|
throw Error();
|
|
231
232
|
}
|
|
232
233
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
233
234
|
try {
|
|
234
|
-
Reflect.construct(
|
|
235
|
-
} catch (
|
|
236
|
-
i =
|
|
235
|
+
Reflect.construct(d, []);
|
|
236
|
+
} catch (C) {
|
|
237
|
+
i = C;
|
|
237
238
|
}
|
|
238
|
-
Reflect.construct(e, [],
|
|
239
|
+
Reflect.construct(e, [], d);
|
|
239
240
|
} else {
|
|
240
241
|
try {
|
|
241
|
-
|
|
242
|
-
} catch (
|
|
243
|
-
i =
|
|
242
|
+
d.call();
|
|
243
|
+
} catch (C) {
|
|
244
|
+
i = C;
|
|
244
245
|
}
|
|
245
|
-
e.call(
|
|
246
|
+
e.call(d.prototype);
|
|
246
247
|
}
|
|
247
248
|
} else {
|
|
248
249
|
try {
|
|
249
250
|
throw Error();
|
|
250
|
-
} catch (
|
|
251
|
-
i =
|
|
251
|
+
} catch (C) {
|
|
252
|
+
i = C;
|
|
252
253
|
}
|
|
253
254
|
e();
|
|
254
255
|
}
|
|
255
|
-
} catch (
|
|
256
|
-
if (
|
|
257
|
-
for (var
|
|
256
|
+
} catch (C) {
|
|
257
|
+
if (C && i && typeof C.stack == "string") {
|
|
258
|
+
for (var c = C.stack.split(`
|
|
258
259
|
`), j = i.stack.split(`
|
|
259
|
-
`),
|
|
260
|
+
`), R = c.length - 1, S = j.length - 1; R >= 1 && S >= 0 && c[R] !== j[S]; )
|
|
260
261
|
S--;
|
|
261
|
-
for (;
|
|
262
|
-
if (
|
|
263
|
-
if (
|
|
262
|
+
for (; R >= 1 && S >= 0; R--, S--)
|
|
263
|
+
if (c[R] !== j[S]) {
|
|
264
|
+
if (R !== 1 || S !== 1)
|
|
264
265
|
do
|
|
265
|
-
if (
|
|
266
|
-
var
|
|
267
|
-
` +
|
|
268
|
-
return e.displayName &&
|
|
266
|
+
if (R--, S--, S < 0 || c[R] !== j[S]) {
|
|
267
|
+
var w = `
|
|
268
|
+
` + c[R].replace(" at new ", " at ");
|
|
269
|
+
return e.displayName && w.includes("<anonymous>") && (w = w.replace("<anonymous>", e.displayName)), typeof e == "function" && ne.set(e, w), w;
|
|
269
270
|
}
|
|
270
|
-
while (
|
|
271
|
+
while (R >= 1 && S >= 0);
|
|
271
272
|
break;
|
|
272
273
|
}
|
|
273
274
|
}
|
|
274
275
|
} finally {
|
|
275
|
-
|
|
276
|
+
he = !1, pe.current = h, lt(), Error.prepareStackTrace = v;
|
|
276
277
|
}
|
|
277
|
-
var z = e ? e.displayName || e.name : "",
|
|
278
|
-
return typeof e == "function" &&
|
|
278
|
+
var z = e ? e.displayName || e.name : "", W = z ? re(z) : "";
|
|
279
|
+
return typeof e == "function" && ne.set(e, W), W;
|
|
279
280
|
}
|
|
280
|
-
function
|
|
281
|
-
return
|
|
281
|
+
function ut(e, t, o) {
|
|
282
|
+
return Be(e, !1);
|
|
282
283
|
}
|
|
283
|
-
function
|
|
284
|
+
function ft(e) {
|
|
284
285
|
var t = e.prototype;
|
|
285
286
|
return !!(t && t.isReactComponent);
|
|
286
287
|
}
|
|
287
|
-
function
|
|
288
|
+
function oe(e, t, o) {
|
|
288
289
|
if (e == null)
|
|
289
290
|
return "";
|
|
290
291
|
if (typeof e == "function")
|
|
291
|
-
return
|
|
292
|
+
return Be(e, ft(e));
|
|
292
293
|
if (typeof e == "string")
|
|
293
|
-
return
|
|
294
|
+
return re(e);
|
|
294
295
|
switch (e) {
|
|
295
|
-
case
|
|
296
|
-
return
|
|
296
|
+
case E:
|
|
297
|
+
return re("Suspense");
|
|
297
298
|
case g:
|
|
298
|
-
return
|
|
299
|
+
return re("SuspenseList");
|
|
299
300
|
}
|
|
300
301
|
if (typeof e == "object")
|
|
301
302
|
switch (e.$$typeof) {
|
|
302
|
-
case
|
|
303
|
-
return
|
|
304
|
-
case
|
|
305
|
-
return
|
|
306
|
-
case
|
|
303
|
+
case f:
|
|
304
|
+
return ut(e.render);
|
|
305
|
+
case y:
|
|
306
|
+
return oe(e.type, t, o);
|
|
307
|
+
case m: {
|
|
307
308
|
var i = e, v = i._payload, h = i._init;
|
|
308
309
|
try {
|
|
309
|
-
return
|
|
310
|
+
return oe(h(v), t, o);
|
|
310
311
|
} catch {
|
|
311
312
|
}
|
|
312
313
|
}
|
|
313
314
|
}
|
|
314
315
|
return "";
|
|
315
316
|
}
|
|
316
|
-
var
|
|
317
|
-
function
|
|
317
|
+
var K = Object.prototype.hasOwnProperty, De = {}, We = D.ReactDebugCurrentFrame;
|
|
318
|
+
function ae(e) {
|
|
318
319
|
if (e) {
|
|
319
|
-
var t = e._owner, o =
|
|
320
|
-
|
|
320
|
+
var t = e._owner, o = oe(e.type, e._source, t ? t.type : null);
|
|
321
|
+
We.setExtraStackFrame(o);
|
|
321
322
|
} else
|
|
322
|
-
|
|
323
|
+
We.setExtraStackFrame(null);
|
|
323
324
|
}
|
|
324
|
-
function
|
|
325
|
+
function dt(e, t, o, i, v) {
|
|
325
326
|
{
|
|
326
|
-
var h = Function.call.bind(
|
|
327
|
-
for (var
|
|
328
|
-
if (h(e,
|
|
329
|
-
var
|
|
327
|
+
var h = Function.call.bind(K);
|
|
328
|
+
for (var d in e)
|
|
329
|
+
if (h(e, d)) {
|
|
330
|
+
var c = void 0;
|
|
330
331
|
try {
|
|
331
|
-
if (typeof e[
|
|
332
|
-
var j = Error((i || "React class") + ": " + o + " type `" +
|
|
332
|
+
if (typeof e[d] != "function") {
|
|
333
|
+
var j = Error((i || "React class") + ": " + o + " type `" + d + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[d] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
333
334
|
throw j.name = "Invariant Violation", j;
|
|
334
335
|
}
|
|
335
|
-
|
|
336
|
-
} catch (
|
|
337
|
-
|
|
336
|
+
c = e[d](t, d, i, o, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
337
|
+
} catch (R) {
|
|
338
|
+
c = R;
|
|
338
339
|
}
|
|
339
|
-
|
|
340
|
+
c && !(c instanceof Error) && (ae(v), O("%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).", i || "React class", o, d, typeof c), ae(null)), c instanceof Error && !(c.message in De) && (De[c.message] = !0, ae(v), O("Failed %s type: %s", o, c.message), ae(null));
|
|
340
341
|
}
|
|
341
342
|
}
|
|
342
343
|
}
|
|
343
|
-
var
|
|
344
|
-
function
|
|
345
|
-
return
|
|
344
|
+
var pt = Array.isArray;
|
|
345
|
+
function ge(e) {
|
|
346
|
+
return pt(e);
|
|
346
347
|
}
|
|
347
|
-
function
|
|
348
|
+
function vt(e) {
|
|
348
349
|
{
|
|
349
350
|
var t = typeof Symbol == "function" && Symbol.toStringTag, o = t && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
350
351
|
return o;
|
|
351
352
|
}
|
|
352
353
|
}
|
|
353
|
-
function
|
|
354
|
+
function ht(e) {
|
|
354
355
|
try {
|
|
355
|
-
return
|
|
356
|
+
return Le(e), !1;
|
|
356
357
|
} catch {
|
|
357
358
|
return !0;
|
|
358
359
|
}
|
|
359
360
|
}
|
|
360
|
-
function
|
|
361
|
+
function Le(e) {
|
|
361
362
|
return "" + e;
|
|
362
363
|
}
|
|
363
|
-
function
|
|
364
|
-
if (
|
|
365
|
-
return
|
|
364
|
+
function Ue(e) {
|
|
365
|
+
if (ht(e))
|
|
366
|
+
return O("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", vt(e)), Le(e);
|
|
366
367
|
}
|
|
367
|
-
var
|
|
368
|
+
var Ye = D.ReactCurrentOwner, gt = {
|
|
368
369
|
key: !0,
|
|
369
370
|
ref: !0,
|
|
370
371
|
__self: !0,
|
|
371
372
|
__source: !0
|
|
372
|
-
},
|
|
373
|
-
function
|
|
374
|
-
if (
|
|
373
|
+
}, Ve, ze;
|
|
374
|
+
function yt(e) {
|
|
375
|
+
if (K.call(e, "ref")) {
|
|
375
376
|
var t = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
376
377
|
if (t && t.isReactWarning)
|
|
377
378
|
return !1;
|
|
@@ -379,20 +380,20 @@ function Zt() {
|
|
|
379
380
|
return e.ref !== void 0;
|
|
380
381
|
}
|
|
381
382
|
function mt(e) {
|
|
382
|
-
if (
|
|
383
|
+
if (K.call(e, "key")) {
|
|
383
384
|
var t = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
384
385
|
if (t && t.isReactWarning)
|
|
385
386
|
return !1;
|
|
386
387
|
}
|
|
387
388
|
return e.key !== void 0;
|
|
388
389
|
}
|
|
389
|
-
function yt(e, t) {
|
|
390
|
-
typeof e.ref == "string" && Le.current;
|
|
391
|
-
}
|
|
392
390
|
function bt(e, t) {
|
|
391
|
+
typeof e.ref == "string" && Ye.current;
|
|
392
|
+
}
|
|
393
|
+
function _t(e, t) {
|
|
393
394
|
{
|
|
394
395
|
var o = function() {
|
|
395
|
-
|
|
396
|
+
Ve || (Ve = !0, O("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
|
|
396
397
|
};
|
|
397
398
|
o.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
398
399
|
get: o,
|
|
@@ -400,10 +401,10 @@ function Zt() {
|
|
|
400
401
|
});
|
|
401
402
|
}
|
|
402
403
|
}
|
|
403
|
-
function
|
|
404
|
+
function Rt(e, t) {
|
|
404
405
|
{
|
|
405
406
|
var o = function() {
|
|
406
|
-
|
|
407
|
+
ze || (ze = !0, O("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
|
|
407
408
|
};
|
|
408
409
|
o.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
409
410
|
get: o,
|
|
@@ -411,70 +412,70 @@ function Zt() {
|
|
|
411
412
|
});
|
|
412
413
|
}
|
|
413
414
|
}
|
|
414
|
-
var
|
|
415
|
-
var
|
|
415
|
+
var St = function(e, t, o, i, v, h, d) {
|
|
416
|
+
var c = {
|
|
416
417
|
// This tag allows us to uniquely identify this as a React Element
|
|
417
418
|
$$typeof: n,
|
|
418
419
|
// Built-in properties that belong on the element
|
|
419
420
|
type: e,
|
|
420
421
|
key: t,
|
|
421
422
|
ref: o,
|
|
422
|
-
props:
|
|
423
|
+
props: d,
|
|
423
424
|
// Record the component responsible for creating this element.
|
|
424
425
|
_owner: h
|
|
425
426
|
};
|
|
426
|
-
return
|
|
427
|
+
return c._store = {}, Object.defineProperty(c._store, "validated", {
|
|
427
428
|
configurable: !1,
|
|
428
429
|
enumerable: !1,
|
|
429
430
|
writable: !0,
|
|
430
431
|
value: !1
|
|
431
|
-
}), Object.defineProperty(
|
|
432
|
+
}), Object.defineProperty(c, "_self", {
|
|
432
433
|
configurable: !1,
|
|
433
434
|
enumerable: !1,
|
|
434
435
|
writable: !1,
|
|
435
436
|
value: i
|
|
436
|
-
}), Object.defineProperty(
|
|
437
|
+
}), Object.defineProperty(c, "_source", {
|
|
437
438
|
configurable: !1,
|
|
438
439
|
enumerable: !1,
|
|
439
440
|
writable: !1,
|
|
440
441
|
value: v
|
|
441
|
-
}), Object.freeze && (Object.freeze(
|
|
442
|
+
}), Object.freeze && (Object.freeze(c.props), Object.freeze(c)), c;
|
|
442
443
|
};
|
|
443
|
-
function
|
|
444
|
+
function kt(e, t, o, i, v) {
|
|
444
445
|
{
|
|
445
|
-
var h,
|
|
446
|
-
o !== void 0 && (
|
|
446
|
+
var h, d = {}, c = null, j = null;
|
|
447
|
+
o !== void 0 && (Ue(o), c = "" + o), mt(t) && (Ue(t.key), c = "" + t.key), yt(t) && (j = t.ref, bt(t, v));
|
|
447
448
|
for (h in t)
|
|
448
|
-
|
|
449
|
+
K.call(t, h) && !gt.hasOwnProperty(h) && (d[h] = t[h]);
|
|
449
450
|
if (e && e.defaultProps) {
|
|
450
|
-
var
|
|
451
|
-
for (h in
|
|
452
|
-
|
|
451
|
+
var R = e.defaultProps;
|
|
452
|
+
for (h in R)
|
|
453
|
+
d[h] === void 0 && (d[h] = R[h]);
|
|
453
454
|
}
|
|
454
|
-
if (
|
|
455
|
+
if (c || j) {
|
|
455
456
|
var S = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
456
|
-
|
|
457
|
+
c && _t(d, S), j && Rt(d, S);
|
|
457
458
|
}
|
|
458
|
-
return
|
|
459
|
+
return St(e, c, j, v, i, Ye.current, d);
|
|
459
460
|
}
|
|
460
461
|
}
|
|
461
|
-
var
|
|
462
|
+
var ye = D.ReactCurrentOwner, Je = D.ReactDebugCurrentFrame;
|
|
462
463
|
function V(e) {
|
|
463
464
|
if (e) {
|
|
464
|
-
var t = e._owner, o =
|
|
465
|
-
|
|
465
|
+
var t = e._owner, o = oe(e.type, e._source, t ? t.type : null);
|
|
466
|
+
Je.setExtraStackFrame(o);
|
|
466
467
|
} else
|
|
467
|
-
|
|
468
|
+
Je.setExtraStackFrame(null);
|
|
468
469
|
}
|
|
469
|
-
var
|
|
470
|
-
|
|
471
|
-
function
|
|
470
|
+
var me;
|
|
471
|
+
me = !1;
|
|
472
|
+
function be(e) {
|
|
472
473
|
return typeof e == "object" && e !== null && e.$$typeof === n;
|
|
473
474
|
}
|
|
474
|
-
function
|
|
475
|
+
function He() {
|
|
475
476
|
{
|
|
476
|
-
if (
|
|
477
|
-
var e =
|
|
477
|
+
if (ye.current) {
|
|
478
|
+
var e = T(ye.current.type);
|
|
478
479
|
if (e)
|
|
479
480
|
return `
|
|
480
481
|
|
|
@@ -483,13 +484,13 @@ Check the render method of \`` + e + "`.";
|
|
|
483
484
|
return "";
|
|
484
485
|
}
|
|
485
486
|
}
|
|
486
|
-
function
|
|
487
|
+
function xt(e) {
|
|
487
488
|
return "";
|
|
488
489
|
}
|
|
489
|
-
var
|
|
490
|
-
function
|
|
490
|
+
var Ke = {};
|
|
491
|
+
function Et(e) {
|
|
491
492
|
{
|
|
492
|
-
var t =
|
|
493
|
+
var t = He();
|
|
493
494
|
if (!t) {
|
|
494
495
|
var o = typeof e == "string" ? e : e.displayName || e.name;
|
|
495
496
|
o && (t = `
|
|
@@ -504,34 +505,34 @@ Check the top-level render call using <` + o + ">.");
|
|
|
504
505
|
if (!e._store || e._store.validated || e.key != null)
|
|
505
506
|
return;
|
|
506
507
|
e._store.validated = !0;
|
|
507
|
-
var o =
|
|
508
|
-
if (
|
|
508
|
+
var o = Et(t);
|
|
509
|
+
if (Ke[o])
|
|
509
510
|
return;
|
|
510
|
-
|
|
511
|
+
Ke[o] = !0;
|
|
511
512
|
var i = "";
|
|
512
|
-
e && e._owner && e._owner !==
|
|
513
|
+
e && e._owner && e._owner !== ye.current && (i = " It was passed a child from " + T(e._owner.type) + "."), V(e), O('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', o, i), V(null);
|
|
513
514
|
}
|
|
514
515
|
}
|
|
515
|
-
function
|
|
516
|
+
function Ge(e, t) {
|
|
516
517
|
{
|
|
517
518
|
if (typeof e != "object")
|
|
518
519
|
return;
|
|
519
|
-
if (
|
|
520
|
+
if (ge(e))
|
|
520
521
|
for (var o = 0; o < e.length; o++) {
|
|
521
522
|
var i = e[o];
|
|
522
|
-
|
|
523
|
+
be(i) && qe(i, t);
|
|
523
524
|
}
|
|
524
|
-
else if (
|
|
525
|
+
else if (be(e))
|
|
525
526
|
e._store && (e._store.validated = !0);
|
|
526
527
|
else if (e) {
|
|
527
|
-
var v =
|
|
528
|
+
var v = de(e);
|
|
528
529
|
if (typeof v == "function" && v !== e.entries)
|
|
529
|
-
for (var h = v.call(e),
|
|
530
|
-
|
|
530
|
+
for (var h = v.call(e), d; !(d = h.next()).done; )
|
|
531
|
+
be(d.value) && qe(d.value, t);
|
|
531
532
|
}
|
|
532
533
|
}
|
|
533
534
|
}
|
|
534
|
-
function
|
|
535
|
+
function Ot(e) {
|
|
535
536
|
{
|
|
536
537
|
var t = e.type;
|
|
537
538
|
if (t == null || typeof t == "string")
|
|
@@ -539,265 +540,265 @@ Check the top-level render call using <` + o + ">.");
|
|
|
539
540
|
var o;
|
|
540
541
|
if (typeof t == "function")
|
|
541
542
|
o = t.propTypes;
|
|
542
|
-
else if (typeof t == "object" && (t.$$typeof ===
|
|
543
|
+
else if (typeof t == "object" && (t.$$typeof === f || // Note: Memo only checks outer props here.
|
|
543
544
|
// Inner props are checked in the reconciler.
|
|
544
|
-
t.$$typeof ===
|
|
545
|
+
t.$$typeof === y))
|
|
545
546
|
o = t.propTypes;
|
|
546
547
|
else
|
|
547
548
|
return;
|
|
548
549
|
if (o) {
|
|
549
|
-
var i =
|
|
550
|
-
|
|
551
|
-
} else if (t.PropTypes !== void 0 && !
|
|
552
|
-
|
|
553
|
-
var v =
|
|
554
|
-
|
|
550
|
+
var i = T(t);
|
|
551
|
+
dt(o, e.props, "prop", i, e);
|
|
552
|
+
} else if (t.PropTypes !== void 0 && !me) {
|
|
553
|
+
me = !0;
|
|
554
|
+
var v = T(t);
|
|
555
|
+
O("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", v || "Unknown");
|
|
555
556
|
}
|
|
556
|
-
typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved &&
|
|
557
|
+
typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && O("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
557
558
|
}
|
|
558
559
|
}
|
|
559
|
-
function
|
|
560
|
+
function jt(e) {
|
|
560
561
|
{
|
|
561
562
|
for (var t = Object.keys(e.props), o = 0; o < t.length; o++) {
|
|
562
563
|
var i = t[o];
|
|
563
564
|
if (i !== "children" && i !== "key") {
|
|
564
|
-
V(e),
|
|
565
|
+
V(e), O("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", i), V(null);
|
|
565
566
|
break;
|
|
566
567
|
}
|
|
567
568
|
}
|
|
568
|
-
e.ref !== null && (V(e),
|
|
569
|
+
e.ref !== null && (V(e), O("Invalid attribute `ref` supplied to `React.Fragment`."), V(null));
|
|
569
570
|
}
|
|
570
571
|
}
|
|
571
|
-
var
|
|
572
|
-
function
|
|
572
|
+
var Ze = {};
|
|
573
|
+
function Xe(e, t, o, i, v, h) {
|
|
573
574
|
{
|
|
574
|
-
var
|
|
575
|
-
if (!
|
|
576
|
-
var
|
|
577
|
-
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (
|
|
578
|
-
var j =
|
|
579
|
-
j ?
|
|
580
|
-
var
|
|
581
|
-
e === null ?
|
|
575
|
+
var d = N(e);
|
|
576
|
+
if (!d) {
|
|
577
|
+
var c = "";
|
|
578
|
+
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (c += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
579
|
+
var j = xt();
|
|
580
|
+
j ? c += j : c += He();
|
|
581
|
+
var R;
|
|
582
|
+
e === null ? R = "null" : ge(e) ? R = "array" : e !== void 0 && e.$$typeof === n ? (R = "<" + (T(e.type) || "Unknown") + " />", c = " Did you accidentally export a JSX literal instead of a component?") : R = typeof e, O("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", R, c);
|
|
582
583
|
}
|
|
583
|
-
var S =
|
|
584
|
+
var S = kt(e, t, o, v, h);
|
|
584
585
|
if (S == null)
|
|
585
586
|
return S;
|
|
586
|
-
if (
|
|
587
|
-
var
|
|
588
|
-
if (
|
|
587
|
+
if (d) {
|
|
588
|
+
var w = t.children;
|
|
589
|
+
if (w !== void 0)
|
|
589
590
|
if (i)
|
|
590
|
-
if (
|
|
591
|
-
for (var z = 0; z <
|
|
592
|
-
|
|
593
|
-
Object.freeze && Object.freeze(
|
|
591
|
+
if (ge(w)) {
|
|
592
|
+
for (var z = 0; z < w.length; z++)
|
|
593
|
+
Ge(w[z], e);
|
|
594
|
+
Object.freeze && Object.freeze(w);
|
|
594
595
|
} else
|
|
595
|
-
|
|
596
|
+
O("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
596
597
|
else
|
|
597
|
-
|
|
598
|
+
Ge(w, e);
|
|
598
599
|
}
|
|
599
|
-
if (
|
|
600
|
-
var
|
|
601
|
-
return
|
|
602
|
-
}),
|
|
603
|
-
if (!
|
|
604
|
-
var
|
|
605
|
-
|
|
600
|
+
if (K.call(t, "key")) {
|
|
601
|
+
var W = T(e), C = Object.keys(t).filter(function(Nt) {
|
|
602
|
+
return Nt !== "key";
|
|
603
|
+
}), _e = C.length > 0 ? "{key: someKey, " + C.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
604
|
+
if (!Ze[W + _e]) {
|
|
605
|
+
var Tt = C.length > 0 ? "{" + C.join(": ..., ") + ": ...}" : "{}";
|
|
606
|
+
O(`A props object containing a "key" prop is being spread into JSX:
|
|
606
607
|
let props = %s;
|
|
607
608
|
<%s {...props} />
|
|
608
609
|
React keys must be passed directly to JSX without using spread:
|
|
609
610
|
let props = %s;
|
|
610
|
-
<%s key={someKey} {...props} />`,
|
|
611
|
+
<%s key={someKey} {...props} />`, _e, W, Tt, W), Ze[W + _e] = !0;
|
|
611
612
|
}
|
|
612
613
|
}
|
|
613
|
-
return e ===
|
|
614
|
+
return e === u ? jt(S) : Ot(S), S;
|
|
614
615
|
}
|
|
615
616
|
}
|
|
616
|
-
function
|
|
617
|
-
return
|
|
617
|
+
function At(e, t, o) {
|
|
618
|
+
return Xe(e, t, o, !0);
|
|
618
619
|
}
|
|
619
|
-
function
|
|
620
|
-
return
|
|
620
|
+
function Ct(e, t, o) {
|
|
621
|
+
return Xe(e, t, o, !1);
|
|
621
622
|
}
|
|
622
|
-
var
|
|
623
|
-
|
|
624
|
-
}()),
|
|
623
|
+
var wt = Ct, Pt = At;
|
|
624
|
+
et.Fragment = u, et.jsx = wt, et.jsxs = Pt;
|
|
625
|
+
}()), et;
|
|
625
626
|
}
|
|
626
|
-
process.env.NODE_ENV === "production" ? It.exports =
|
|
627
|
+
process.env.NODE_ENV === "production" ? It.exports = Xt() : It.exports = Qt();
|
|
627
628
|
var s = It.exports;
|
|
628
629
|
let J = {};
|
|
629
|
-
var
|
|
630
|
+
var Ft;
|
|
630
631
|
((r) => {
|
|
631
632
|
function n({
|
|
632
|
-
children:
|
|
633
|
-
onCallbackModal:
|
|
634
|
-
nameModal:
|
|
633
|
+
children: _,
|
|
634
|
+
onCallbackModal: f,
|
|
635
|
+
nameModal: E
|
|
635
636
|
}) {
|
|
636
|
-
const [g,
|
|
637
|
-
if (J[
|
|
638
|
-
|
|
639
|
-
|
|
637
|
+
const [g, y] = te(!1), [m, P] = te(!1);
|
|
638
|
+
if (J[E].onClose = () => {
|
|
639
|
+
L.BackButton(!1), P(!0), setTimeout(() => {
|
|
640
|
+
y(!1), P(!1), f == null || f(), J.x(E);
|
|
640
641
|
}, 300);
|
|
641
|
-
},
|
|
642
|
-
g ? J[
|
|
643
|
-
callback: () => J[
|
|
644
|
-
}),
|
|
642
|
+
}, Ce(() => {
|
|
643
|
+
g ? J[E].onClose() : (L.BackButton({
|
|
644
|
+
callback: () => J[E].onClose()
|
|
645
|
+
}), y(!0));
|
|
645
646
|
}, []), !!g)
|
|
646
|
-
return /* @__PURE__ */ s.jsx("div", { className: `modal-overlay ${
|
|
647
|
+
return /* @__PURE__ */ s.jsx("div", { className: `modal-overlay ${m ? "closing" : ""}`, children: /* @__PURE__ */ s.jsx("div", { className: `modal-popup ${m ? "closing" : ""}`, children: /* @__PURE__ */ s.jsx("div", { children: _ }) }) });
|
|
647
648
|
}
|
|
648
649
|
r.Content = n;
|
|
649
650
|
function a({
|
|
650
|
-
import_modules:
|
|
651
|
+
import_modules: _
|
|
651
652
|
}) {
|
|
652
|
-
let [
|
|
653
|
+
let [f, E] = te([]);
|
|
653
654
|
return J.x = (g) => {
|
|
654
|
-
|
|
655
|
-
},
|
|
656
|
-
|
|
657
|
-
}, []), J.add = (g,
|
|
658
|
-
|
|
659
|
-
}, /* @__PURE__ */ s.jsx(s.Fragment, { children:
|
|
655
|
+
E(g ? f.filter((y) => y.key !== g) : []);
|
|
656
|
+
}, Ce(() => {
|
|
657
|
+
_ && (J.i = _);
|
|
658
|
+
}, []), J.add = (g, y = Date.now()) => {
|
|
659
|
+
E([...f, { key: y, item: g }]);
|
|
660
|
+
}, /* @__PURE__ */ s.jsx(s.Fragment, { children: f.map((g) => g.item) });
|
|
660
661
|
}
|
|
661
662
|
r.Init = a;
|
|
662
|
-
function
|
|
663
|
+
function u(_, f) {
|
|
663
664
|
J.add(
|
|
664
665
|
/* @__PURE__ */ s.jsx(
|
|
665
666
|
n,
|
|
666
667
|
{
|
|
667
|
-
onCallbackModal: J["callback_modal" +
|
|
668
|
-
nameModal:
|
|
669
|
-
children:
|
|
668
|
+
onCallbackModal: J["callback_modal" + f],
|
|
669
|
+
nameModal: f || "",
|
|
670
|
+
children: _
|
|
670
671
|
},
|
|
671
672
|
String(Date.now())
|
|
672
673
|
),
|
|
673
|
-
|
|
674
|
+
f
|
|
674
675
|
);
|
|
675
676
|
}
|
|
676
|
-
r.Add =
|
|
677
|
-
function
|
|
678
|
-
return J[
|
|
679
|
-
Open: (
|
|
677
|
+
r.Add = u;
|
|
678
|
+
function l(_, f = Date.now().toString()) {
|
|
679
|
+
return J[f] = {}, {
|
|
680
|
+
Open: (y) => {
|
|
680
681
|
r.Add(
|
|
681
682
|
/* @__PURE__ */ s.jsx(
|
|
682
|
-
|
|
683
|
+
_,
|
|
683
684
|
{
|
|
684
|
-
...
|
|
685
|
-
onCallbackModal: (
|
|
686
|
-
var
|
|
687
|
-
(
|
|
685
|
+
...y,
|
|
686
|
+
onCallbackModal: (m) => {
|
|
687
|
+
var P;
|
|
688
|
+
(P = y.callback) == null || P.call(y, m);
|
|
688
689
|
},
|
|
689
|
-
nameModal:
|
|
690
|
+
nameModal: f
|
|
690
691
|
},
|
|
691
692
|
(/* @__PURE__ */ new Date()).getTime()
|
|
692
693
|
),
|
|
693
|
-
|
|
694
|
+
f
|
|
694
695
|
);
|
|
695
696
|
}
|
|
696
697
|
};
|
|
697
698
|
}
|
|
698
|
-
r.Create =
|
|
699
|
-
function p(
|
|
700
|
-
J[
|
|
699
|
+
r.Create = l;
|
|
700
|
+
function p(_) {
|
|
701
|
+
J[_].onClose();
|
|
701
702
|
}
|
|
702
703
|
r.Close = p;
|
|
703
|
-
function
|
|
704
|
-
J.i && (g && (
|
|
705
|
-
|
|
704
|
+
function x(_, f, E, g) {
|
|
705
|
+
J.i && (g && (E.callback = g), J.i(`${_}/modals/${f}.tsx`).then((y) => {
|
|
706
|
+
y.default.Open(E);
|
|
706
707
|
}));
|
|
707
708
|
}
|
|
708
|
-
r.Open =
|
|
709
|
-
})(
|
|
710
|
-
function
|
|
709
|
+
r.Open = x;
|
|
710
|
+
})(Ft || (Ft = {}));
|
|
711
|
+
function Vt() {
|
|
711
712
|
return typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof self < "u" ? self : typeof global < "u" ? global : {};
|
|
712
713
|
}
|
|
713
|
-
const
|
|
714
|
+
const zt = {
|
|
714
715
|
key: "Y0zt37HgOx-BY7SQjYVmrqhPkO41Ii2Jcb9yydUDPf6",
|
|
715
716
|
iterations: 7,
|
|
716
717
|
saltLength: 16
|
|
717
718
|
};
|
|
718
719
|
function Dt(r) {
|
|
719
|
-
const n =
|
|
720
|
-
n.CRYPTO_PARAMS ? n.CRYPTO_PARAMS = { ...n.CRYPTO_PARAMS, ...r } : n.CRYPTO_PARAMS = { ...
|
|
720
|
+
const n = Vt();
|
|
721
|
+
n.CRYPTO_PARAMS ? n.CRYPTO_PARAMS = { ...n.CRYPTO_PARAMS, ...r } : n.CRYPTO_PARAMS = { ...zt, ...r };
|
|
721
722
|
}
|
|
722
|
-
function
|
|
723
|
-
return
|
|
723
|
+
function ot() {
|
|
724
|
+
return Vt().CRYPTO_PARAMS || zt;
|
|
724
725
|
}
|
|
725
|
-
const
|
|
726
|
+
const at = (r) => {
|
|
726
727
|
let n = 0;
|
|
727
|
-
for (let
|
|
728
|
-
const
|
|
729
|
-
n = (n << 5) - n +
|
|
728
|
+
for (let u = 0; u < r.length; u++) {
|
|
729
|
+
const l = r.charCodeAt(u);
|
|
730
|
+
n = (n << 5) - n + l, n = n & n;
|
|
730
731
|
}
|
|
731
732
|
n = Math.abs(n);
|
|
732
733
|
let a = "";
|
|
733
|
-
for (let
|
|
734
|
-
const
|
|
735
|
-
a +=
|
|
734
|
+
for (let u = 0; u < 64; u++) {
|
|
735
|
+
const l = (n ^ u * 197) & 255;
|
|
736
|
+
a += l.toString(16).padStart(2, "0");
|
|
736
737
|
}
|
|
737
738
|
return a;
|
|
738
|
-
}, zt = (r, n) => {
|
|
739
|
-
let a = r + n;
|
|
740
|
-
for (let c = 0; c < nt().iterations; c++)
|
|
741
|
-
a = ot(a);
|
|
742
|
-
const f = new Uint8Array(32);
|
|
743
|
-
for (let c = 0; c < 32; c++)
|
|
744
|
-
f[c] = parseInt(a.substring(c * 2, c * 2 + 2), 16);
|
|
745
|
-
return f;
|
|
746
739
|
}, Jt = (r, n) => {
|
|
747
|
-
|
|
748
|
-
let
|
|
740
|
+
let a = r + n;
|
|
741
|
+
for (let l = 0; l < ot().iterations; l++)
|
|
742
|
+
a = at(a);
|
|
743
|
+
const u = new Uint8Array(32);
|
|
744
|
+
for (let l = 0; l < 32; l++)
|
|
745
|
+
u[l] = parseInt(a.substring(l * 2, l * 2 + 2), 16);
|
|
746
|
+
return u;
|
|
747
|
+
}, Ht = (r, n) => {
|
|
748
|
+
const a = new Uint8Array(r.length), u = new Uint8Array(r.length);
|
|
749
|
+
let l = 0;
|
|
749
750
|
for (let p = 0; p < r.length; p++) {
|
|
750
|
-
const
|
|
751
|
-
|
|
751
|
+
const x = p % n.length;
|
|
752
|
+
l = n[x] + p + l & 255, u[p] = l;
|
|
752
753
|
}
|
|
753
754
|
for (let p = 0; p < r.length; p++)
|
|
754
|
-
a[p] = r[p] ^
|
|
755
|
+
a[p] = r[p] ^ u[p];
|
|
755
756
|
return a;
|
|
756
|
-
},
|
|
757
|
+
}, er = (r) => new TextEncoder().encode(r), tr = (r) => new TextDecoder().decode(r), rr = (r) => {
|
|
757
758
|
let n = "";
|
|
758
759
|
for (let a = 0; a < r.length; a += 8192) {
|
|
759
|
-
const
|
|
760
|
-
n += String.fromCharCode.apply(null, Array.from(
|
|
760
|
+
const u = r.slice(a, Math.min(a + 8192, r.length));
|
|
761
|
+
n += String.fromCharCode.apply(null, Array.from(u));
|
|
761
762
|
}
|
|
762
763
|
return btoa(n);
|
|
763
|
-
},
|
|
764
|
+
}, nr = (r) => {
|
|
764
765
|
const n = atob(r), a = new Uint8Array(n.length);
|
|
765
|
-
for (let
|
|
766
|
-
a[
|
|
766
|
+
for (let u = 0; u < n.length; u++)
|
|
767
|
+
a[u] = n.charCodeAt(u);
|
|
767
768
|
return a;
|
|
768
|
-
},
|
|
769
|
+
}, or = (r) => {
|
|
769
770
|
try {
|
|
770
|
-
const n =
|
|
771
|
+
const n = at(
|
|
771
772
|
Date.now().toString() + Math.random()
|
|
772
|
-
).substring(0,
|
|
773
|
-
return `${n}.${
|
|
773
|
+
).substring(0, ot().saltLength * 2), a = at(r + n).substring(0, 8), u = Jt(ot().key, n), l = er(r), p = Ht(l, u), x = rr(p);
|
|
774
|
+
return `${n}.${x}.${a}`;
|
|
774
775
|
} catch {
|
|
775
776
|
throw new Error("Не удалось зашифровать данные");
|
|
776
777
|
}
|
|
777
|
-
},
|
|
778
|
+
}, ar = (r) => {
|
|
778
779
|
try {
|
|
779
780
|
const n = r.split(".");
|
|
780
781
|
if (n.length !== 3)
|
|
781
782
|
throw new Error("Неверный формат зашифрованных данных");
|
|
782
|
-
const a = n[0],
|
|
783
|
-
if (
|
|
783
|
+
const a = n[0], u = n[1], l = n[2], p = Jt(ot().key, a), x = nr(u), _ = Ht(x, p), f = tr(_);
|
|
784
|
+
if (at(f + a).substring(
|
|
784
785
|
0,
|
|
785
786
|
8
|
|
786
|
-
) !==
|
|
787
|
+
) !== l)
|
|
787
788
|
throw new Error("Контрольная сумма не совпадает");
|
|
788
|
-
return
|
|
789
|
+
return f;
|
|
789
790
|
} catch {
|
|
790
791
|
return "";
|
|
791
792
|
}
|
|
792
793
|
};
|
|
793
|
-
var
|
|
794
|
+
var ue;
|
|
794
795
|
((r) => {
|
|
795
796
|
r.setKey = (n) => {
|
|
796
797
|
Dt({ key: n });
|
|
797
798
|
}, r.enCode = (n) => {
|
|
798
799
|
try {
|
|
799
800
|
const a = JSON.stringify(n);
|
|
800
|
-
return
|
|
801
|
+
return or(a);
|
|
801
802
|
} catch {
|
|
802
803
|
throw new Error("Не удалось зашифровать объект");
|
|
803
804
|
}
|
|
@@ -805,7 +806,7 @@ var le;
|
|
|
805
806
|
try {
|
|
806
807
|
if (!n || n.length < 10)
|
|
807
808
|
return !1;
|
|
808
|
-
const a =
|
|
809
|
+
const a = ar(n);
|
|
809
810
|
return a && JSON.parse(a) || !1;
|
|
810
811
|
} catch {
|
|
811
812
|
return !1;
|
|
@@ -813,8 +814,8 @@ var le;
|
|
|
813
814
|
}, r.setSecurityParams = (n, a) => {
|
|
814
815
|
Dt({ iterations: n, saltLength: a });
|
|
815
816
|
};
|
|
816
|
-
})(
|
|
817
|
-
var
|
|
817
|
+
})(ue || (ue = {}));
|
|
818
|
+
var tt = {};
|
|
818
819
|
/**
|
|
819
820
|
* @license React
|
|
820
821
|
* react-jsx-runtime.production.min.js
|
|
@@ -824,21 +825,21 @@ var Qe = {};
|
|
|
824
825
|
* This source code is licensed under the MIT license found in the
|
|
825
826
|
* LICENSE file in the root directory of this source tree.
|
|
826
827
|
*/
|
|
827
|
-
var
|
|
828
|
-
function
|
|
829
|
-
if (
|
|
830
|
-
|
|
831
|
-
var r =
|
|
832
|
-
function
|
|
833
|
-
var g,
|
|
834
|
-
|
|
835
|
-
for (g in
|
|
836
|
-
if (
|
|
837
|
-
return { $$typeof: n, type:
|
|
828
|
+
var Wt;
|
|
829
|
+
function ir() {
|
|
830
|
+
if (Wt) return tt;
|
|
831
|
+
Wt = 1;
|
|
832
|
+
var r = B, n = Symbol.for("react.element"), a = Symbol.for("react.fragment"), u = Object.prototype.hasOwnProperty, l = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, p = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
833
|
+
function x(_, f, E) {
|
|
834
|
+
var g, y = {}, m = null, P = null;
|
|
835
|
+
E !== void 0 && (m = "" + E), f.key !== void 0 && (m = "" + f.key), f.ref !== void 0 && (P = f.ref);
|
|
836
|
+
for (g in f) u.call(f, g) && !p.hasOwnProperty(g) && (y[g] = f[g]);
|
|
837
|
+
if (_ && _.defaultProps) for (g in f = _.defaultProps, f) y[g] === void 0 && (y[g] = f[g]);
|
|
838
|
+
return { $$typeof: n, type: _, key: m, ref: P, props: y, _owner: l.current };
|
|
838
839
|
}
|
|
839
|
-
return
|
|
840
|
+
return tt.Fragment = a, tt.jsx = x, tt.jsxs = x, tt;
|
|
840
841
|
}
|
|
841
|
-
var
|
|
842
|
+
var nt = {};
|
|
842
843
|
/**
|
|
843
844
|
* @license React
|
|
844
845
|
* react-jsx-runtime.development.js
|
|
@@ -848,91 +849,91 @@ var rt = {};
|
|
|
848
849
|
* This source code is licensed under the MIT license found in the
|
|
849
850
|
* LICENSE file in the root directory of this source tree.
|
|
850
851
|
*/
|
|
851
|
-
var
|
|
852
|
-
function
|
|
853
|
-
return
|
|
854
|
-
var r =
|
|
855
|
-
function
|
|
852
|
+
var Lt;
|
|
853
|
+
function sr() {
|
|
854
|
+
return Lt || (Lt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
855
|
+
var r = B, n = Symbol.for("react.element"), a = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), l = Symbol.for("react.strict_mode"), p = Symbol.for("react.profiler"), x = Symbol.for("react.provider"), _ = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"), E = Symbol.for("react.suspense"), g = Symbol.for("react.suspense_list"), y = Symbol.for("react.memo"), m = Symbol.for("react.lazy"), P = Symbol.for("react.offscreen"), I = Symbol.iterator, we = "@@iterator";
|
|
856
|
+
function de(e) {
|
|
856
857
|
if (e === null || typeof e != "object")
|
|
857
858
|
return null;
|
|
858
|
-
var t =
|
|
859
|
+
var t = I && e[I] || e[we];
|
|
859
860
|
return typeof t == "function" ? t : null;
|
|
860
861
|
}
|
|
861
|
-
var
|
|
862
|
-
function
|
|
862
|
+
var D = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
863
|
+
function O(e) {
|
|
863
864
|
{
|
|
864
865
|
for (var t = arguments.length, o = new Array(t > 1 ? t - 1 : 0), i = 1; i < t; i++)
|
|
865
866
|
o[i - 1] = arguments[i];
|
|
866
|
-
|
|
867
|
+
Pe("error", e, o);
|
|
867
868
|
}
|
|
868
869
|
}
|
|
869
|
-
function
|
|
870
|
+
function Pe(e, t, o) {
|
|
870
871
|
{
|
|
871
|
-
var i =
|
|
872
|
+
var i = D.ReactDebugCurrentFrame, v = i.getStackAddendum();
|
|
872
873
|
v !== "" && (t += "%s", o = o.concat([v]));
|
|
873
|
-
var h = o.map(function(
|
|
874
|
-
return String(
|
|
874
|
+
var h = o.map(function(d) {
|
|
875
|
+
return String(d);
|
|
875
876
|
});
|
|
876
877
|
h.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, h);
|
|
877
878
|
}
|
|
878
879
|
}
|
|
879
|
-
var
|
|
880
|
-
|
|
881
|
-
function
|
|
882
|
-
return !!(typeof e == "string" || typeof e == "function" || e ===
|
|
880
|
+
var Te = !1, Oe = !1, Ne = !1, $e = !1, b = !1, k;
|
|
881
|
+
k = Symbol.for("react.module.reference");
|
|
882
|
+
function N(e) {
|
|
883
|
+
return !!(typeof e == "string" || typeof e == "function" || e === u || e === p || b || e === l || e === E || e === g || $e || e === P || Te || Oe || Ne || typeof e == "object" && e !== null && (e.$$typeof === m || e.$$typeof === y || e.$$typeof === x || e.$$typeof === _ || e.$$typeof === f || // This needs to include all possible module reference object
|
|
883
884
|
// types supported by any Flight configuration anywhere since
|
|
884
885
|
// we don't know which Flight build this will end up being used
|
|
885
886
|
// with.
|
|
886
|
-
e.$$typeof ===
|
|
887
|
+
e.$$typeof === k || e.getModuleId !== void 0));
|
|
887
888
|
}
|
|
888
|
-
function
|
|
889
|
+
function F(e, t, o) {
|
|
889
890
|
var i = e.displayName;
|
|
890
891
|
if (i)
|
|
891
892
|
return i;
|
|
892
893
|
var v = t.displayName || t.name || "";
|
|
893
894
|
return v !== "" ? o + "(" + v + ")" : o;
|
|
894
895
|
}
|
|
895
|
-
function
|
|
896
|
+
function $(e) {
|
|
896
897
|
return e.displayName || "Context";
|
|
897
898
|
}
|
|
898
|
-
function
|
|
899
|
+
function T(e) {
|
|
899
900
|
if (e == null)
|
|
900
901
|
return null;
|
|
901
|
-
if (typeof e.tag == "number" &&
|
|
902
|
+
if (typeof e.tag == "number" && O("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
902
903
|
return e.displayName || e.name || null;
|
|
903
904
|
if (typeof e == "string")
|
|
904
905
|
return e;
|
|
905
906
|
switch (e) {
|
|
906
|
-
case
|
|
907
|
+
case u:
|
|
907
908
|
return "Fragment";
|
|
908
909
|
case a:
|
|
909
910
|
return "Portal";
|
|
910
911
|
case p:
|
|
911
912
|
return "Profiler";
|
|
912
|
-
case
|
|
913
|
+
case l:
|
|
913
914
|
return "StrictMode";
|
|
914
|
-
case
|
|
915
|
+
case E:
|
|
915
916
|
return "Suspense";
|
|
916
917
|
case g:
|
|
917
918
|
return "SuspenseList";
|
|
918
919
|
}
|
|
919
920
|
if (typeof e == "object")
|
|
920
921
|
switch (e.$$typeof) {
|
|
921
|
-
case
|
|
922
|
+
case _:
|
|
922
923
|
var t = e;
|
|
923
|
-
return
|
|
924
|
-
case
|
|
924
|
+
return $(t) + ".Consumer";
|
|
925
|
+
case x:
|
|
925
926
|
var o = e;
|
|
926
|
-
return
|
|
927
|
-
case
|
|
928
|
-
return
|
|
929
|
-
case
|
|
927
|
+
return $(o._context) + ".Provider";
|
|
928
|
+
case f:
|
|
929
|
+
return F(e, e.render, "ForwardRef");
|
|
930
|
+
case y:
|
|
930
931
|
var i = e.displayName || null;
|
|
931
|
-
return i !== null ? i :
|
|
932
|
-
case
|
|
933
|
-
var v = e, h = v._payload,
|
|
932
|
+
return i !== null ? i : T(e.type) || "Memo";
|
|
933
|
+
case m: {
|
|
934
|
+
var v = e, h = v._payload, d = v._init;
|
|
934
935
|
try {
|
|
935
|
-
return
|
|
936
|
+
return T(d(h));
|
|
936
937
|
} catch {
|
|
937
938
|
return null;
|
|
938
939
|
}
|
|
@@ -940,18 +941,18 @@ function ar() {
|
|
|
940
941
|
}
|
|
941
942
|
return null;
|
|
942
943
|
}
|
|
943
|
-
var
|
|
944
|
-
function
|
|
944
|
+
var M = Object.assign, U = 0, ce, G, Z, X, Q, Ie, Fe;
|
|
945
|
+
function Me() {
|
|
945
946
|
}
|
|
946
|
-
|
|
947
|
-
function
|
|
947
|
+
Me.__reactDisabledLog = !0;
|
|
948
|
+
function st() {
|
|
948
949
|
{
|
|
949
|
-
if (
|
|
950
|
-
|
|
950
|
+
if (U === 0) {
|
|
951
|
+
ce = console.log, G = console.info, Z = console.warn, X = console.error, Q = console.group, Ie = console.groupCollapsed, Fe = console.groupEnd;
|
|
951
952
|
var e = {
|
|
952
953
|
configurable: !0,
|
|
953
954
|
enumerable: !0,
|
|
954
|
-
value:
|
|
955
|
+
value: Me,
|
|
955
956
|
writable: !0
|
|
956
957
|
};
|
|
957
958
|
Object.defineProperties(console, {
|
|
@@ -964,229 +965,229 @@ function ar() {
|
|
|
964
965
|
groupEnd: e
|
|
965
966
|
});
|
|
966
967
|
}
|
|
967
|
-
|
|
968
|
+
U++;
|
|
968
969
|
}
|
|
969
970
|
}
|
|
970
|
-
function
|
|
971
|
+
function lt() {
|
|
971
972
|
{
|
|
972
|
-
if (
|
|
973
|
+
if (U--, U === 0) {
|
|
973
974
|
var e = {
|
|
974
975
|
configurable: !0,
|
|
975
976
|
enumerable: !0,
|
|
976
977
|
writable: !0
|
|
977
978
|
};
|
|
978
979
|
Object.defineProperties(console, {
|
|
979
|
-
log:
|
|
980
|
+
log: M({}, e, {
|
|
981
|
+
value: ce
|
|
982
|
+
}),
|
|
983
|
+
info: M({}, e, {
|
|
984
|
+
value: G
|
|
985
|
+
}),
|
|
986
|
+
warn: M({}, e, {
|
|
980
987
|
value: Z
|
|
981
988
|
}),
|
|
982
|
-
|
|
989
|
+
error: M({}, e, {
|
|
983
990
|
value: X
|
|
984
991
|
}),
|
|
985
|
-
|
|
992
|
+
group: M({}, e, {
|
|
986
993
|
value: Q
|
|
987
994
|
}),
|
|
988
|
-
|
|
989
|
-
value: ee
|
|
990
|
-
}),
|
|
991
|
-
group: N({}, e, {
|
|
992
|
-
value: Te
|
|
993
|
-
}),
|
|
994
|
-
groupCollapsed: N({}, e, {
|
|
995
|
+
groupCollapsed: M({}, e, {
|
|
995
996
|
value: Ie
|
|
996
997
|
}),
|
|
997
|
-
groupEnd:
|
|
998
|
-
value:
|
|
998
|
+
groupEnd: M({}, e, {
|
|
999
|
+
value: Fe
|
|
999
1000
|
})
|
|
1000
1001
|
});
|
|
1001
1002
|
}
|
|
1002
|
-
|
|
1003
|
+
U < 0 && O("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
1003
1004
|
}
|
|
1004
1005
|
}
|
|
1005
|
-
var
|
|
1006
|
-
function
|
|
1006
|
+
var pe = D.ReactCurrentDispatcher, ve;
|
|
1007
|
+
function re(e, t, o) {
|
|
1007
1008
|
{
|
|
1008
|
-
if (
|
|
1009
|
+
if (ve === void 0)
|
|
1009
1010
|
try {
|
|
1010
1011
|
throw Error();
|
|
1011
1012
|
} catch (v) {
|
|
1012
1013
|
var i = v.stack.trim().match(/\n( *(at )?)/);
|
|
1013
|
-
|
|
1014
|
+
ve = i && i[1] || "";
|
|
1014
1015
|
}
|
|
1015
1016
|
return `
|
|
1016
|
-
` +
|
|
1017
|
+
` + ve + e;
|
|
1017
1018
|
}
|
|
1018
1019
|
}
|
|
1019
|
-
var
|
|
1020
|
+
var he = !1, ne;
|
|
1020
1021
|
{
|
|
1021
|
-
var
|
|
1022
|
-
|
|
1022
|
+
var ct = typeof WeakMap == "function" ? WeakMap : Map;
|
|
1023
|
+
ne = new ct();
|
|
1023
1024
|
}
|
|
1024
|
-
function
|
|
1025
|
-
if (!e ||
|
|
1025
|
+
function Be(e, t) {
|
|
1026
|
+
if (!e || he)
|
|
1026
1027
|
return "";
|
|
1027
1028
|
{
|
|
1028
|
-
var o =
|
|
1029
|
+
var o = ne.get(e);
|
|
1029
1030
|
if (o !== void 0)
|
|
1030
1031
|
return o;
|
|
1031
1032
|
}
|
|
1032
1033
|
var i;
|
|
1033
|
-
|
|
1034
|
+
he = !0;
|
|
1034
1035
|
var v = Error.prepareStackTrace;
|
|
1035
1036
|
Error.prepareStackTrace = void 0;
|
|
1036
1037
|
var h;
|
|
1037
|
-
h =
|
|
1038
|
+
h = pe.current, pe.current = null, st();
|
|
1038
1039
|
try {
|
|
1039
1040
|
if (t) {
|
|
1040
|
-
var
|
|
1041
|
+
var d = function() {
|
|
1041
1042
|
throw Error();
|
|
1042
1043
|
};
|
|
1043
|
-
if (Object.defineProperty(
|
|
1044
|
+
if (Object.defineProperty(d.prototype, "props", {
|
|
1044
1045
|
set: function() {
|
|
1045
1046
|
throw Error();
|
|
1046
1047
|
}
|
|
1047
1048
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
1048
1049
|
try {
|
|
1049
|
-
Reflect.construct(
|
|
1050
|
-
} catch (
|
|
1051
|
-
i =
|
|
1050
|
+
Reflect.construct(d, []);
|
|
1051
|
+
} catch (C) {
|
|
1052
|
+
i = C;
|
|
1052
1053
|
}
|
|
1053
|
-
Reflect.construct(e, [],
|
|
1054
|
+
Reflect.construct(e, [], d);
|
|
1054
1055
|
} else {
|
|
1055
1056
|
try {
|
|
1056
|
-
|
|
1057
|
-
} catch (
|
|
1058
|
-
i =
|
|
1057
|
+
d.call();
|
|
1058
|
+
} catch (C) {
|
|
1059
|
+
i = C;
|
|
1059
1060
|
}
|
|
1060
|
-
e.call(
|
|
1061
|
+
e.call(d.prototype);
|
|
1061
1062
|
}
|
|
1062
1063
|
} else {
|
|
1063
1064
|
try {
|
|
1064
1065
|
throw Error();
|
|
1065
|
-
} catch (
|
|
1066
|
-
i =
|
|
1066
|
+
} catch (C) {
|
|
1067
|
+
i = C;
|
|
1067
1068
|
}
|
|
1068
1069
|
e();
|
|
1069
1070
|
}
|
|
1070
|
-
} catch (
|
|
1071
|
-
if (
|
|
1072
|
-
for (var
|
|
1071
|
+
} catch (C) {
|
|
1072
|
+
if (C && i && typeof C.stack == "string") {
|
|
1073
|
+
for (var c = C.stack.split(`
|
|
1073
1074
|
`), j = i.stack.split(`
|
|
1074
|
-
`),
|
|
1075
|
+
`), R = c.length - 1, S = j.length - 1; R >= 1 && S >= 0 && c[R] !== j[S]; )
|
|
1075
1076
|
S--;
|
|
1076
|
-
for (;
|
|
1077
|
-
if (
|
|
1078
|
-
if (
|
|
1077
|
+
for (; R >= 1 && S >= 0; R--, S--)
|
|
1078
|
+
if (c[R] !== j[S]) {
|
|
1079
|
+
if (R !== 1 || S !== 1)
|
|
1079
1080
|
do
|
|
1080
|
-
if (
|
|
1081
|
-
var
|
|
1082
|
-
` +
|
|
1083
|
-
return e.displayName &&
|
|
1081
|
+
if (R--, S--, S < 0 || c[R] !== j[S]) {
|
|
1082
|
+
var w = `
|
|
1083
|
+
` + c[R].replace(" at new ", " at ");
|
|
1084
|
+
return e.displayName && w.includes("<anonymous>") && (w = w.replace("<anonymous>", e.displayName)), typeof e == "function" && ne.set(e, w), w;
|
|
1084
1085
|
}
|
|
1085
|
-
while (
|
|
1086
|
+
while (R >= 1 && S >= 0);
|
|
1086
1087
|
break;
|
|
1087
1088
|
}
|
|
1088
1089
|
}
|
|
1089
1090
|
} finally {
|
|
1090
|
-
|
|
1091
|
+
he = !1, pe.current = h, lt(), Error.prepareStackTrace = v;
|
|
1091
1092
|
}
|
|
1092
|
-
var z = e ? e.displayName || e.name : "",
|
|
1093
|
-
return typeof e == "function" &&
|
|
1093
|
+
var z = e ? e.displayName || e.name : "", W = z ? re(z) : "";
|
|
1094
|
+
return typeof e == "function" && ne.set(e, W), W;
|
|
1094
1095
|
}
|
|
1095
|
-
function
|
|
1096
|
-
return
|
|
1096
|
+
function ut(e, t, o) {
|
|
1097
|
+
return Be(e, !1);
|
|
1097
1098
|
}
|
|
1098
|
-
function
|
|
1099
|
+
function ft(e) {
|
|
1099
1100
|
var t = e.prototype;
|
|
1100
1101
|
return !!(t && t.isReactComponent);
|
|
1101
1102
|
}
|
|
1102
|
-
function
|
|
1103
|
+
function oe(e, t, o) {
|
|
1103
1104
|
if (e == null)
|
|
1104
1105
|
return "";
|
|
1105
1106
|
if (typeof e == "function")
|
|
1106
|
-
return
|
|
1107
|
+
return Be(e, ft(e));
|
|
1107
1108
|
if (typeof e == "string")
|
|
1108
|
-
return
|
|
1109
|
+
return re(e);
|
|
1109
1110
|
switch (e) {
|
|
1110
|
-
case
|
|
1111
|
-
return
|
|
1111
|
+
case E:
|
|
1112
|
+
return re("Suspense");
|
|
1112
1113
|
case g:
|
|
1113
|
-
return
|
|
1114
|
+
return re("SuspenseList");
|
|
1114
1115
|
}
|
|
1115
1116
|
if (typeof e == "object")
|
|
1116
1117
|
switch (e.$$typeof) {
|
|
1117
|
-
case
|
|
1118
|
-
return
|
|
1119
|
-
case
|
|
1120
|
-
return
|
|
1121
|
-
case
|
|
1118
|
+
case f:
|
|
1119
|
+
return ut(e.render);
|
|
1120
|
+
case y:
|
|
1121
|
+
return oe(e.type, t, o);
|
|
1122
|
+
case m: {
|
|
1122
1123
|
var i = e, v = i._payload, h = i._init;
|
|
1123
1124
|
try {
|
|
1124
|
-
return
|
|
1125
|
+
return oe(h(v), t, o);
|
|
1125
1126
|
} catch {
|
|
1126
1127
|
}
|
|
1127
1128
|
}
|
|
1128
1129
|
}
|
|
1129
1130
|
return "";
|
|
1130
1131
|
}
|
|
1131
|
-
var
|
|
1132
|
-
function
|
|
1132
|
+
var K = Object.prototype.hasOwnProperty, De = {}, We = D.ReactDebugCurrentFrame;
|
|
1133
|
+
function ae(e) {
|
|
1133
1134
|
if (e) {
|
|
1134
|
-
var t = e._owner, o =
|
|
1135
|
-
|
|
1135
|
+
var t = e._owner, o = oe(e.type, e._source, t ? t.type : null);
|
|
1136
|
+
We.setExtraStackFrame(o);
|
|
1136
1137
|
} else
|
|
1137
|
-
|
|
1138
|
+
We.setExtraStackFrame(null);
|
|
1138
1139
|
}
|
|
1139
|
-
function
|
|
1140
|
+
function dt(e, t, o, i, v) {
|
|
1140
1141
|
{
|
|
1141
|
-
var h = Function.call.bind(
|
|
1142
|
-
for (var
|
|
1143
|
-
if (h(e,
|
|
1144
|
-
var
|
|
1142
|
+
var h = Function.call.bind(K);
|
|
1143
|
+
for (var d in e)
|
|
1144
|
+
if (h(e, d)) {
|
|
1145
|
+
var c = void 0;
|
|
1145
1146
|
try {
|
|
1146
|
-
if (typeof e[
|
|
1147
|
-
var j = Error((i || "React class") + ": " + o + " type `" +
|
|
1147
|
+
if (typeof e[d] != "function") {
|
|
1148
|
+
var j = Error((i || "React class") + ": " + o + " type `" + d + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[d] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
1148
1149
|
throw j.name = "Invariant Violation", j;
|
|
1149
1150
|
}
|
|
1150
|
-
|
|
1151
|
-
} catch (
|
|
1152
|
-
|
|
1151
|
+
c = e[d](t, d, i, o, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
1152
|
+
} catch (R) {
|
|
1153
|
+
c = R;
|
|
1153
1154
|
}
|
|
1154
|
-
|
|
1155
|
+
c && !(c instanceof Error) && (ae(v), O("%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).", i || "React class", o, d, typeof c), ae(null)), c instanceof Error && !(c.message in De) && (De[c.message] = !0, ae(v), O("Failed %s type: %s", o, c.message), ae(null));
|
|
1155
1156
|
}
|
|
1156
1157
|
}
|
|
1157
1158
|
}
|
|
1158
|
-
var
|
|
1159
|
-
function
|
|
1160
|
-
return
|
|
1159
|
+
var pt = Array.isArray;
|
|
1160
|
+
function ge(e) {
|
|
1161
|
+
return pt(e);
|
|
1161
1162
|
}
|
|
1162
|
-
function
|
|
1163
|
+
function vt(e) {
|
|
1163
1164
|
{
|
|
1164
1165
|
var t = typeof Symbol == "function" && Symbol.toStringTag, o = t && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
1165
1166
|
return o;
|
|
1166
1167
|
}
|
|
1167
1168
|
}
|
|
1168
|
-
function
|
|
1169
|
+
function ht(e) {
|
|
1169
1170
|
try {
|
|
1170
|
-
return
|
|
1171
|
+
return Le(e), !1;
|
|
1171
1172
|
} catch {
|
|
1172
1173
|
return !0;
|
|
1173
1174
|
}
|
|
1174
1175
|
}
|
|
1175
|
-
function
|
|
1176
|
+
function Le(e) {
|
|
1176
1177
|
return "" + e;
|
|
1177
1178
|
}
|
|
1178
|
-
function
|
|
1179
|
-
if (
|
|
1180
|
-
return
|
|
1179
|
+
function Ue(e) {
|
|
1180
|
+
if (ht(e))
|
|
1181
|
+
return O("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", vt(e)), Le(e);
|
|
1181
1182
|
}
|
|
1182
|
-
var
|
|
1183
|
+
var Ye = D.ReactCurrentOwner, gt = {
|
|
1183
1184
|
key: !0,
|
|
1184
1185
|
ref: !0,
|
|
1185
1186
|
__self: !0,
|
|
1186
1187
|
__source: !0
|
|
1187
|
-
},
|
|
1188
|
-
function
|
|
1189
|
-
if (
|
|
1188
|
+
}, Ve, ze;
|
|
1189
|
+
function yt(e) {
|
|
1190
|
+
if (K.call(e, "ref")) {
|
|
1190
1191
|
var t = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
1191
1192
|
if (t && t.isReactWarning)
|
|
1192
1193
|
return !1;
|
|
@@ -1194,20 +1195,20 @@ function ar() {
|
|
|
1194
1195
|
return e.ref !== void 0;
|
|
1195
1196
|
}
|
|
1196
1197
|
function mt(e) {
|
|
1197
|
-
if (
|
|
1198
|
+
if (K.call(e, "key")) {
|
|
1198
1199
|
var t = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
1199
1200
|
if (t && t.isReactWarning)
|
|
1200
1201
|
return !1;
|
|
1201
1202
|
}
|
|
1202
1203
|
return e.key !== void 0;
|
|
1203
1204
|
}
|
|
1204
|
-
function yt(e, t) {
|
|
1205
|
-
typeof e.ref == "string" && Le.current;
|
|
1206
|
-
}
|
|
1207
1205
|
function bt(e, t) {
|
|
1206
|
+
typeof e.ref == "string" && Ye.current;
|
|
1207
|
+
}
|
|
1208
|
+
function _t(e, t) {
|
|
1208
1209
|
{
|
|
1209
1210
|
var o = function() {
|
|
1210
|
-
|
|
1211
|
+
Ve || (Ve = !0, O("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
|
|
1211
1212
|
};
|
|
1212
1213
|
o.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
1213
1214
|
get: o,
|
|
@@ -1215,10 +1216,10 @@ function ar() {
|
|
|
1215
1216
|
});
|
|
1216
1217
|
}
|
|
1217
1218
|
}
|
|
1218
|
-
function
|
|
1219
|
+
function Rt(e, t) {
|
|
1219
1220
|
{
|
|
1220
1221
|
var o = function() {
|
|
1221
|
-
|
|
1222
|
+
ze || (ze = !0, O("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
|
|
1222
1223
|
};
|
|
1223
1224
|
o.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
1224
1225
|
get: o,
|
|
@@ -1226,70 +1227,70 @@ function ar() {
|
|
|
1226
1227
|
});
|
|
1227
1228
|
}
|
|
1228
1229
|
}
|
|
1229
|
-
var
|
|
1230
|
-
var
|
|
1230
|
+
var St = function(e, t, o, i, v, h, d) {
|
|
1231
|
+
var c = {
|
|
1231
1232
|
// This tag allows us to uniquely identify this as a React Element
|
|
1232
1233
|
$$typeof: n,
|
|
1233
1234
|
// Built-in properties that belong on the element
|
|
1234
1235
|
type: e,
|
|
1235
1236
|
key: t,
|
|
1236
1237
|
ref: o,
|
|
1237
|
-
props:
|
|
1238
|
+
props: d,
|
|
1238
1239
|
// Record the component responsible for creating this element.
|
|
1239
1240
|
_owner: h
|
|
1240
1241
|
};
|
|
1241
|
-
return
|
|
1242
|
+
return c._store = {}, Object.defineProperty(c._store, "validated", {
|
|
1242
1243
|
configurable: !1,
|
|
1243
1244
|
enumerable: !1,
|
|
1244
1245
|
writable: !0,
|
|
1245
1246
|
value: !1
|
|
1246
|
-
}), Object.defineProperty(
|
|
1247
|
+
}), Object.defineProperty(c, "_self", {
|
|
1247
1248
|
configurable: !1,
|
|
1248
1249
|
enumerable: !1,
|
|
1249
1250
|
writable: !1,
|
|
1250
1251
|
value: i
|
|
1251
|
-
}), Object.defineProperty(
|
|
1252
|
+
}), Object.defineProperty(c, "_source", {
|
|
1252
1253
|
configurable: !1,
|
|
1253
1254
|
enumerable: !1,
|
|
1254
1255
|
writable: !1,
|
|
1255
1256
|
value: v
|
|
1256
|
-
}), Object.freeze && (Object.freeze(
|
|
1257
|
+
}), Object.freeze && (Object.freeze(c.props), Object.freeze(c)), c;
|
|
1257
1258
|
};
|
|
1258
|
-
function
|
|
1259
|
+
function kt(e, t, o, i, v) {
|
|
1259
1260
|
{
|
|
1260
|
-
var h,
|
|
1261
|
-
o !== void 0 && (
|
|
1261
|
+
var h, d = {}, c = null, j = null;
|
|
1262
|
+
o !== void 0 && (Ue(o), c = "" + o), mt(t) && (Ue(t.key), c = "" + t.key), yt(t) && (j = t.ref, bt(t));
|
|
1262
1263
|
for (h in t)
|
|
1263
|
-
|
|
1264
|
+
K.call(t, h) && !gt.hasOwnProperty(h) && (d[h] = t[h]);
|
|
1264
1265
|
if (e && e.defaultProps) {
|
|
1265
|
-
var
|
|
1266
|
-
for (h in
|
|
1267
|
-
|
|
1266
|
+
var R = e.defaultProps;
|
|
1267
|
+
for (h in R)
|
|
1268
|
+
d[h] === void 0 && (d[h] = R[h]);
|
|
1268
1269
|
}
|
|
1269
|
-
if (
|
|
1270
|
+
if (c || j) {
|
|
1270
1271
|
var S = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
1271
|
-
|
|
1272
|
+
c && _t(d, S), j && Rt(d, S);
|
|
1272
1273
|
}
|
|
1273
|
-
return
|
|
1274
|
+
return St(e, c, j, v, i, Ye.current, d);
|
|
1274
1275
|
}
|
|
1275
1276
|
}
|
|
1276
|
-
var
|
|
1277
|
+
var ye = D.ReactCurrentOwner, Je = D.ReactDebugCurrentFrame;
|
|
1277
1278
|
function V(e) {
|
|
1278
1279
|
if (e) {
|
|
1279
|
-
var t = e._owner, o =
|
|
1280
|
-
|
|
1280
|
+
var t = e._owner, o = oe(e.type, e._source, t ? t.type : null);
|
|
1281
|
+
Je.setExtraStackFrame(o);
|
|
1281
1282
|
} else
|
|
1282
|
-
|
|
1283
|
+
Je.setExtraStackFrame(null);
|
|
1283
1284
|
}
|
|
1284
|
-
var
|
|
1285
|
-
|
|
1286
|
-
function
|
|
1285
|
+
var me;
|
|
1286
|
+
me = !1;
|
|
1287
|
+
function be(e) {
|
|
1287
1288
|
return typeof e == "object" && e !== null && e.$$typeof === n;
|
|
1288
1289
|
}
|
|
1289
|
-
function
|
|
1290
|
+
function He() {
|
|
1290
1291
|
{
|
|
1291
|
-
if (
|
|
1292
|
-
var e =
|
|
1292
|
+
if (ye.current) {
|
|
1293
|
+
var e = T(ye.current.type);
|
|
1293
1294
|
if (e)
|
|
1294
1295
|
return `
|
|
1295
1296
|
|
|
@@ -1298,13 +1299,13 @@ Check the render method of \`` + e + "`.";
|
|
|
1298
1299
|
return "";
|
|
1299
1300
|
}
|
|
1300
1301
|
}
|
|
1301
|
-
function
|
|
1302
|
+
function xt(e) {
|
|
1302
1303
|
return "";
|
|
1303
1304
|
}
|
|
1304
|
-
var
|
|
1305
|
-
function
|
|
1305
|
+
var Ke = {};
|
|
1306
|
+
function Et(e) {
|
|
1306
1307
|
{
|
|
1307
|
-
var t =
|
|
1308
|
+
var t = He();
|
|
1308
1309
|
if (!t) {
|
|
1309
1310
|
var o = typeof e == "string" ? e : e.displayName || e.name;
|
|
1310
1311
|
o && (t = `
|
|
@@ -1319,34 +1320,34 @@ Check the top-level render call using <` + o + ">.");
|
|
|
1319
1320
|
if (!e._store || e._store.validated || e.key != null)
|
|
1320
1321
|
return;
|
|
1321
1322
|
e._store.validated = !0;
|
|
1322
|
-
var o =
|
|
1323
|
-
if (
|
|
1323
|
+
var o = Et(t);
|
|
1324
|
+
if (Ke[o])
|
|
1324
1325
|
return;
|
|
1325
|
-
|
|
1326
|
+
Ke[o] = !0;
|
|
1326
1327
|
var i = "";
|
|
1327
|
-
e && e._owner && e._owner !==
|
|
1328
|
+
e && e._owner && e._owner !== ye.current && (i = " It was passed a child from " + T(e._owner.type) + "."), V(e), O('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', o, i), V(null);
|
|
1328
1329
|
}
|
|
1329
1330
|
}
|
|
1330
|
-
function
|
|
1331
|
+
function Ge(e, t) {
|
|
1331
1332
|
{
|
|
1332
1333
|
if (typeof e != "object")
|
|
1333
1334
|
return;
|
|
1334
|
-
if (
|
|
1335
|
+
if (ge(e))
|
|
1335
1336
|
for (var o = 0; o < e.length; o++) {
|
|
1336
1337
|
var i = e[o];
|
|
1337
|
-
|
|
1338
|
+
be(i) && qe(i, t);
|
|
1338
1339
|
}
|
|
1339
|
-
else if (
|
|
1340
|
+
else if (be(e))
|
|
1340
1341
|
e._store && (e._store.validated = !0);
|
|
1341
1342
|
else if (e) {
|
|
1342
|
-
var v =
|
|
1343
|
+
var v = de(e);
|
|
1343
1344
|
if (typeof v == "function" && v !== e.entries)
|
|
1344
|
-
for (var h = v.call(e),
|
|
1345
|
-
|
|
1345
|
+
for (var h = v.call(e), d; !(d = h.next()).done; )
|
|
1346
|
+
be(d.value) && qe(d.value, t);
|
|
1346
1347
|
}
|
|
1347
1348
|
}
|
|
1348
1349
|
}
|
|
1349
|
-
function
|
|
1350
|
+
function Ot(e) {
|
|
1350
1351
|
{
|
|
1351
1352
|
var t = e.type;
|
|
1352
1353
|
if (t == null || typeof t == "string")
|
|
@@ -1354,96 +1355,96 @@ Check the top-level render call using <` + o + ">.");
|
|
|
1354
1355
|
var o;
|
|
1355
1356
|
if (typeof t == "function")
|
|
1356
1357
|
o = t.propTypes;
|
|
1357
|
-
else if (typeof t == "object" && (t.$$typeof ===
|
|
1358
|
+
else if (typeof t == "object" && (t.$$typeof === f || // Note: Memo only checks outer props here.
|
|
1358
1359
|
// Inner props are checked in the reconciler.
|
|
1359
|
-
t.$$typeof ===
|
|
1360
|
+
t.$$typeof === y))
|
|
1360
1361
|
o = t.propTypes;
|
|
1361
1362
|
else
|
|
1362
1363
|
return;
|
|
1363
1364
|
if (o) {
|
|
1364
|
-
var i =
|
|
1365
|
-
|
|
1366
|
-
} else if (t.PropTypes !== void 0 && !
|
|
1367
|
-
|
|
1368
|
-
var v =
|
|
1369
|
-
|
|
1365
|
+
var i = T(t);
|
|
1366
|
+
dt(o, e.props, "prop", i, e);
|
|
1367
|
+
} else if (t.PropTypes !== void 0 && !me) {
|
|
1368
|
+
me = !0;
|
|
1369
|
+
var v = T(t);
|
|
1370
|
+
O("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", v || "Unknown");
|
|
1370
1371
|
}
|
|
1371
|
-
typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved &&
|
|
1372
|
+
typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && O("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
1372
1373
|
}
|
|
1373
1374
|
}
|
|
1374
|
-
function
|
|
1375
|
+
function jt(e) {
|
|
1375
1376
|
{
|
|
1376
1377
|
for (var t = Object.keys(e.props), o = 0; o < t.length; o++) {
|
|
1377
1378
|
var i = t[o];
|
|
1378
1379
|
if (i !== "children" && i !== "key") {
|
|
1379
|
-
V(e),
|
|
1380
|
+
V(e), O("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", i), V(null);
|
|
1380
1381
|
break;
|
|
1381
1382
|
}
|
|
1382
1383
|
}
|
|
1383
|
-
e.ref !== null && (V(e),
|
|
1384
|
+
e.ref !== null && (V(e), O("Invalid attribute `ref` supplied to `React.Fragment`."), V(null));
|
|
1384
1385
|
}
|
|
1385
1386
|
}
|
|
1386
|
-
var
|
|
1387
|
-
function
|
|
1387
|
+
var Ze = {};
|
|
1388
|
+
function Xe(e, t, o, i, v, h) {
|
|
1388
1389
|
{
|
|
1389
|
-
var
|
|
1390
|
-
if (!
|
|
1391
|
-
var
|
|
1392
|
-
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (
|
|
1393
|
-
var j =
|
|
1394
|
-
j ?
|
|
1395
|
-
var
|
|
1396
|
-
e === null ?
|
|
1390
|
+
var d = N(e);
|
|
1391
|
+
if (!d) {
|
|
1392
|
+
var c = "";
|
|
1393
|
+
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (c += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
1394
|
+
var j = xt();
|
|
1395
|
+
j ? c += j : c += He();
|
|
1396
|
+
var R;
|
|
1397
|
+
e === null ? R = "null" : ge(e) ? R = "array" : e !== void 0 && e.$$typeof === n ? (R = "<" + (T(e.type) || "Unknown") + " />", c = " Did you accidentally export a JSX literal instead of a component?") : R = typeof e, O("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", R, c);
|
|
1397
1398
|
}
|
|
1398
|
-
var S =
|
|
1399
|
+
var S = kt(e, t, o, v, h);
|
|
1399
1400
|
if (S == null)
|
|
1400
1401
|
return S;
|
|
1401
|
-
if (
|
|
1402
|
-
var
|
|
1403
|
-
if (
|
|
1402
|
+
if (d) {
|
|
1403
|
+
var w = t.children;
|
|
1404
|
+
if (w !== void 0)
|
|
1404
1405
|
if (i)
|
|
1405
|
-
if (
|
|
1406
|
-
for (var z = 0; z <
|
|
1407
|
-
|
|
1408
|
-
Object.freeze && Object.freeze(
|
|
1406
|
+
if (ge(w)) {
|
|
1407
|
+
for (var z = 0; z < w.length; z++)
|
|
1408
|
+
Ge(w[z], e);
|
|
1409
|
+
Object.freeze && Object.freeze(w);
|
|
1409
1410
|
} else
|
|
1410
|
-
|
|
1411
|
+
O("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
1411
1412
|
else
|
|
1412
|
-
|
|
1413
|
+
Ge(w, e);
|
|
1413
1414
|
}
|
|
1414
|
-
if (
|
|
1415
|
-
var
|
|
1416
|
-
return
|
|
1417
|
-
}),
|
|
1418
|
-
if (!
|
|
1419
|
-
var
|
|
1420
|
-
|
|
1415
|
+
if (K.call(t, "key")) {
|
|
1416
|
+
var W = T(e), C = Object.keys(t).filter(function(Nt) {
|
|
1417
|
+
return Nt !== "key";
|
|
1418
|
+
}), _e = C.length > 0 ? "{key: someKey, " + C.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
1419
|
+
if (!Ze[W + _e]) {
|
|
1420
|
+
var Tt = C.length > 0 ? "{" + C.join(": ..., ") + ": ...}" : "{}";
|
|
1421
|
+
O(`A props object containing a "key" prop is being spread into JSX:
|
|
1421
1422
|
let props = %s;
|
|
1422
1423
|
<%s {...props} />
|
|
1423
1424
|
React keys must be passed directly to JSX without using spread:
|
|
1424
1425
|
let props = %s;
|
|
1425
|
-
<%s key={someKey} {...props} />`,
|
|
1426
|
+
<%s key={someKey} {...props} />`, _e, W, Tt, W), Ze[W + _e] = !0;
|
|
1426
1427
|
}
|
|
1427
1428
|
}
|
|
1428
|
-
return e ===
|
|
1429
|
+
return e === u ? jt(S) : Ot(S), S;
|
|
1429
1430
|
}
|
|
1430
1431
|
}
|
|
1431
|
-
function
|
|
1432
|
-
return
|
|
1432
|
+
function At(e, t, o) {
|
|
1433
|
+
return Xe(e, t, o, !0);
|
|
1433
1434
|
}
|
|
1434
|
-
function
|
|
1435
|
-
return
|
|
1435
|
+
function Ct(e, t, o) {
|
|
1436
|
+
return Xe(e, t, o, !1);
|
|
1436
1437
|
}
|
|
1437
|
-
var
|
|
1438
|
-
|
|
1439
|
-
}()),
|
|
1438
|
+
var wt = Ct, Pt = At;
|
|
1439
|
+
nt.Fragment = u, nt.jsx = wt, nt.jsxs = Pt;
|
|
1440
|
+
}()), nt;
|
|
1440
1441
|
}
|
|
1441
|
-
process.env.NODE_ENV === "production" ?
|
|
1442
|
-
const
|
|
1443
|
-
version:
|
|
1444
|
-
},
|
|
1442
|
+
process.env.NODE_ENV === "production" ? ir() : sr();
|
|
1443
|
+
const lr = "0.0.40", Kt = {
|
|
1444
|
+
version: lr
|
|
1445
|
+
}, ie = {}, H = {
|
|
1445
1446
|
module: "",
|
|
1446
|
-
v:
|
|
1447
|
+
v: Kt.version,
|
|
1447
1448
|
page: "Main",
|
|
1448
1449
|
auth: "Auth",
|
|
1449
1450
|
STORAGE: "f",
|
|
@@ -1458,59 +1459,59 @@ const ir = "0.0.39", qt = {
|
|
|
1458
1459
|
id: 0
|
|
1459
1460
|
}
|
|
1460
1461
|
};
|
|
1461
|
-
function
|
|
1462
|
+
function Ee() {
|
|
1462
1463
|
return typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof self < "u" ? self : typeof global < "u" ? global : {};
|
|
1463
1464
|
}
|
|
1464
|
-
|
|
1465
|
-
Object.assign(
|
|
1466
|
-
function
|
|
1467
|
-
var n, a,
|
|
1468
|
-
const p =
|
|
1465
|
+
Ee().elcrm || (Ee().elcrm = {});
|
|
1466
|
+
Object.assign(Ee().elcrm, { router: Kt.version });
|
|
1467
|
+
function ee(r) {
|
|
1468
|
+
var n, a, u, l;
|
|
1469
|
+
const p = Ee();
|
|
1469
1470
|
if (p.ROUTER_PARAMS) {
|
|
1470
1471
|
r.debug || p.ROUTER_PARAMS.debug;
|
|
1471
|
-
const
|
|
1472
|
+
const x = {
|
|
1472
1473
|
page: (n = p.ROUTER_PARAMS) == null ? void 0 : n.page,
|
|
1473
1474
|
module: (a = p.ROUTER_PARAMS) == null ? void 0 : a.module,
|
|
1474
|
-
tab: (
|
|
1475
|
-
id: (
|
|
1475
|
+
tab: (u = p.ROUTER_PARAMS) == null ? void 0 : u.tab,
|
|
1476
|
+
id: (l = p.ROUTER_PARAMS) == null ? void 0 : l.id
|
|
1476
1477
|
};
|
|
1477
1478
|
p.ROUTER_PARAMS = {
|
|
1478
1479
|
...p.ROUTER_PARAMS,
|
|
1479
1480
|
...r,
|
|
1480
|
-
prev:
|
|
1481
|
+
prev: x
|
|
1481
1482
|
};
|
|
1482
1483
|
} else {
|
|
1483
|
-
r.debug ||
|
|
1484
|
-
const
|
|
1485
|
-
page:
|
|
1486
|
-
module:
|
|
1487
|
-
tab:
|
|
1488
|
-
id:
|
|
1484
|
+
r.debug || H.debug;
|
|
1485
|
+
const x = {
|
|
1486
|
+
page: H == null ? void 0 : H.page,
|
|
1487
|
+
module: H == null ? void 0 : H.module,
|
|
1488
|
+
tab: H == null ? void 0 : H.tab,
|
|
1489
|
+
id: H == null ? void 0 : H.id
|
|
1489
1490
|
};
|
|
1490
|
-
p.ROUTER_PARAMS = { ...
|
|
1491
|
+
p.ROUTER_PARAMS = { ...H, ...r, prev: x };
|
|
1491
1492
|
}
|
|
1492
1493
|
}
|
|
1493
|
-
function
|
|
1494
|
-
return
|
|
1494
|
+
function A() {
|
|
1495
|
+
return Ee().ROUTER_PARAMS || H;
|
|
1495
1496
|
}
|
|
1496
|
-
function
|
|
1497
|
-
const n =
|
|
1497
|
+
function Re(r) {
|
|
1498
|
+
const n = Ee();
|
|
1498
1499
|
n.ROUTER_PARAMS ? n.ROUTER_PARAMS.LISTENER = {
|
|
1499
1500
|
...n.ROUTER_PARAMS.LISTENER,
|
|
1500
1501
|
...r
|
|
1501
1502
|
} : n.ROUTER_PARAMS.LISTENER = { ...r };
|
|
1502
1503
|
}
|
|
1503
1504
|
function se() {
|
|
1504
|
-
return
|
|
1505
|
+
return Ee().ROUTER_PARAMS.LISTENER || H.LISTENER;
|
|
1505
1506
|
}
|
|
1506
|
-
var
|
|
1507
|
+
var fe;
|
|
1507
1508
|
((r) => {
|
|
1508
1509
|
function n() {
|
|
1509
|
-
var
|
|
1510
|
+
var b;
|
|
1510
1511
|
let k = sessionStorage.getItem("f");
|
|
1511
1512
|
if (k) {
|
|
1512
|
-
if (k =
|
|
1513
|
-
|
|
1513
|
+
if (k = ue.deCode(k), !k) return !1;
|
|
1514
|
+
ee({
|
|
1514
1515
|
id: k.id,
|
|
1515
1516
|
tab: k.tab,
|
|
1516
1517
|
page: k.page,
|
|
@@ -1520,162 +1521,172 @@ var ue;
|
|
|
1520
1521
|
module_admin: k.module_admin
|
|
1521
1522
|
});
|
|
1522
1523
|
} else
|
|
1523
|
-
|
|
1524
|
+
ee({
|
|
1524
1525
|
id: 0,
|
|
1525
1526
|
tab: "",
|
|
1526
|
-
page: (
|
|
1527
|
-
module:
|
|
1527
|
+
page: (b = localStorage.getItem("d")) != null && b.length ? A().page : A().auth,
|
|
1528
|
+
module: A().module
|
|
1528
1529
|
});
|
|
1529
1530
|
return !0;
|
|
1530
1531
|
}
|
|
1531
1532
|
function a() {
|
|
1532
|
-
|
|
1533
|
+
ie.id = 0, ie.tab = "", ie.page = A().page, ie.module = A().module;
|
|
1533
1534
|
}
|
|
1534
1535
|
r.Reset = a;
|
|
1535
|
-
function
|
|
1536
|
-
module:
|
|
1537
|
-
page: k =
|
|
1538
|
-
auth:
|
|
1539
|
-
debug:
|
|
1536
|
+
function u({
|
|
1537
|
+
module: b = A().module,
|
|
1538
|
+
page: k = A().page,
|
|
1539
|
+
auth: N = A().auth,
|
|
1540
|
+
debug: F = A().debug
|
|
1540
1541
|
}) {
|
|
1541
|
-
|
|
1542
|
+
ee({ page: k, module: b, auth: N, debug: F }), n();
|
|
1542
1543
|
}
|
|
1543
|
-
r.Default =
|
|
1544
|
-
function
|
|
1545
|
-
let k = (
|
|
1546
|
-
const [
|
|
1547
|
-
|
|
1544
|
+
r.Default = u;
|
|
1545
|
+
function l(b) {
|
|
1546
|
+
let k = ($) => (ee({ page: $ }), $);
|
|
1547
|
+
const [N, F] = B.useState(
|
|
1548
|
+
x() || b && k(b) || A().page
|
|
1548
1549
|
);
|
|
1549
|
-
return
|
|
1550
|
-
|
|
1551
|
-
} }),
|
|
1550
|
+
return Re({ page: ($) => {
|
|
1551
|
+
F($);
|
|
1552
|
+
} }), N;
|
|
1552
1553
|
}
|
|
1553
|
-
r.usePage =
|
|
1554
|
-
function p(
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
), k && se().page(
|
|
1554
|
+
r.usePage = l;
|
|
1555
|
+
function p(b, k = !0, N = {}) {
|
|
1556
|
+
ee({ page: b, ...N }), sessionStorage.setItem(
|
|
1557
|
+
A().STORAGE,
|
|
1558
|
+
ue.enCode(A())
|
|
1559
|
+
), k && se().page(b);
|
|
1559
1560
|
}
|
|
1560
1561
|
r.setPage = p;
|
|
1561
|
-
function
|
|
1562
|
-
return
|
|
1562
|
+
function x() {
|
|
1563
|
+
return A().page;
|
|
1563
1564
|
}
|
|
1564
|
-
r.getPage =
|
|
1565
|
-
function
|
|
1566
|
-
return
|
|
1565
|
+
r.getPage = x;
|
|
1566
|
+
function _(b) {
|
|
1567
|
+
return A().page === b;
|
|
1567
1568
|
}
|
|
1568
|
-
r.isPage =
|
|
1569
|
-
function
|
|
1570
|
-
return
|
|
1569
|
+
r.isPage = _;
|
|
1570
|
+
function f() {
|
|
1571
|
+
return A().prev;
|
|
1571
1572
|
}
|
|
1572
|
-
r.getBack =
|
|
1573
|
-
function
|
|
1574
|
-
const [
|
|
1575
|
-
|
|
1573
|
+
r.getBack = f;
|
|
1574
|
+
function E(b, k) {
|
|
1575
|
+
const [N, F] = B.useState(
|
|
1576
|
+
y() || b || A().module
|
|
1576
1577
|
);
|
|
1577
|
-
return
|
|
1578
|
+
return Re({ module: F }), N;
|
|
1578
1579
|
}
|
|
1579
|
-
r.useModule =
|
|
1580
|
-
function g(
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
), k && se().module(
|
|
1580
|
+
r.useModule = E;
|
|
1581
|
+
function g(b, k = !0) {
|
|
1582
|
+
ee({ module: b }), sessionStorage.setItem(
|
|
1583
|
+
A().STORAGE,
|
|
1584
|
+
ue.enCode(A())
|
|
1585
|
+
), k && se().module(b);
|
|
1585
1586
|
}
|
|
1586
1587
|
r.setModule = g;
|
|
1587
|
-
function
|
|
1588
|
-
return
|
|
1588
|
+
function y() {
|
|
1589
|
+
return A().module || "";
|
|
1589
1590
|
}
|
|
1590
|
-
r.getModule =
|
|
1591
|
-
function
|
|
1592
|
-
return
|
|
1591
|
+
r.getModule = y;
|
|
1592
|
+
function m(b) {
|
|
1593
|
+
return A().module === b;
|
|
1593
1594
|
}
|
|
1594
|
-
r.isModule =
|
|
1595
|
-
function
|
|
1596
|
-
if (typeof
|
|
1597
|
-
const [
|
|
1598
|
-
return
|
|
1599
|
-
|
|
1600
|
-
}, []), [
|
|
1595
|
+
r.isModule = m;
|
|
1596
|
+
function P(b, k) {
|
|
1597
|
+
if (typeof b != "function") {
|
|
1598
|
+
const [N, F] = B.useState(!k), [$, T] = B.useState(b || de());
|
|
1599
|
+
return Re({ tabs: T }), k && B.useEffect(() => {
|
|
1600
|
+
F(!0);
|
|
1601
|
+
}, []), [$, N];
|
|
1601
1602
|
} else
|
|
1602
|
-
|
|
1603
|
+
Re({ tabs: b });
|
|
1603
1604
|
}
|
|
1604
|
-
r.useTabs =
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
)
|
|
1605
|
+
r.useTabs = P;
|
|
1606
|
+
function I(b) {
|
|
1607
|
+
let k = ($) => (ee({ tab: $ }), $);
|
|
1608
|
+
const [N, F] = B.useState(
|
|
1609
|
+
de() || b && k(b) || A().tab
|
|
1610
|
+
);
|
|
1611
|
+
return Re({ tabs: ($) => {
|
|
1612
|
+
F($);
|
|
1613
|
+
} }), N;
|
|
1610
1614
|
}
|
|
1611
|
-
r.
|
|
1612
|
-
function
|
|
1613
|
-
|
|
1615
|
+
r.useTab = I;
|
|
1616
|
+
async function we(b, k = !0) {
|
|
1617
|
+
ee({ tab: b }), sessionStorage.setItem(
|
|
1618
|
+
A().STORAGE,
|
|
1619
|
+
ue.enCode(A())
|
|
1620
|
+
), k && (se().tabs && se().tabs(b));
|
|
1614
1621
|
}
|
|
1615
|
-
r.
|
|
1616
|
-
function
|
|
1617
|
-
return
|
|
1622
|
+
r.setTabs = we;
|
|
1623
|
+
function de() {
|
|
1624
|
+
return A().tab;
|
|
1618
1625
|
}
|
|
1619
|
-
r.
|
|
1620
|
-
function
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1626
|
+
r.getTabs = de;
|
|
1627
|
+
function D(b) {
|
|
1628
|
+
return A().tab === b;
|
|
1629
|
+
}
|
|
1630
|
+
r.isTabs = D;
|
|
1631
|
+
function O(b) {
|
|
1632
|
+
if (typeof b != "function") {
|
|
1633
|
+
const [k, N] = B.useState(b || Oe());
|
|
1634
|
+
return Re({ id: (F) => {
|
|
1635
|
+
N(F);
|
|
1625
1636
|
} }), k;
|
|
1626
1637
|
} else
|
|
1627
|
-
|
|
1638
|
+
Re({ id: b });
|
|
1628
1639
|
}
|
|
1629
|
-
r.useId =
|
|
1630
|
-
function
|
|
1640
|
+
r.useId = O;
|
|
1641
|
+
function Pe(b) {
|
|
1631
1642
|
}
|
|
1632
|
-
r.subId =
|
|
1633
|
-
async function
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
), k && se().id(
|
|
1643
|
+
r.subId = Pe;
|
|
1644
|
+
async function Te(b, k = !0) {
|
|
1645
|
+
ee({ id: b }), sessionStorage.setItem(
|
|
1646
|
+
A().STORAGE,
|
|
1647
|
+
ue.enCode(A())
|
|
1648
|
+
), k && se().id(b);
|
|
1638
1649
|
}
|
|
1639
|
-
r.setId =
|
|
1640
|
-
function
|
|
1641
|
-
return
|
|
1650
|
+
r.setId = Te;
|
|
1651
|
+
function Oe() {
|
|
1652
|
+
return A().id;
|
|
1642
1653
|
}
|
|
1643
|
-
r.getId =
|
|
1644
|
-
function
|
|
1645
|
-
return Number(
|
|
1654
|
+
r.getId = Oe;
|
|
1655
|
+
function Ne(b) {
|
|
1656
|
+
return Number(A().id) === b;
|
|
1646
1657
|
}
|
|
1647
|
-
r.isId =
|
|
1648
|
-
async function
|
|
1649
|
-
var k,
|
|
1650
|
-
const { page:
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1658
|
+
r.isId = Ne;
|
|
1659
|
+
async function $e(b) {
|
|
1660
|
+
var k, N, F, $, T, M, U, ce;
|
|
1661
|
+
const { page: G, module: Z, tab: X, id: Q } = b;
|
|
1662
|
+
G !== void 0 && (ie.page = G), Z !== void 0 && (ie.module = Z), X !== void 0 && (ie.tab = X), Q !== void 0 && (ie.id = Q), ee({ ...ie }), Q !== void 0 && ((N = (k = se()).id) == null || N.call(k, Q)), X !== void 0 && (($ = (F = se()).tabs) == null || $.call(F, X)), Z !== void 0 && ((M = (T = se()).module) == null || M.call(T, Z)), G !== void 0 && ((ce = (U = se()).page) == null || ce.call(U, G)), sessionStorage.setItem(
|
|
1663
|
+
A().STORAGE,
|
|
1664
|
+
ue.enCode(A())
|
|
1654
1665
|
);
|
|
1655
1666
|
}
|
|
1656
|
-
r.navigate =
|
|
1657
|
-
})(
|
|
1658
|
-
let
|
|
1659
|
-
function
|
|
1660
|
-
const [r, n] =
|
|
1661
|
-
return
|
|
1667
|
+
r.navigate = $e;
|
|
1668
|
+
})(fe || (fe = {}));
|
|
1669
|
+
let it = {};
|
|
1670
|
+
function cr() {
|
|
1671
|
+
const [r, n] = B.useState([]);
|
|
1672
|
+
return it.set = (a) => {
|
|
1662
1673
|
n([...r, a]);
|
|
1663
|
-
},
|
|
1664
|
-
r.forEach((
|
|
1665
|
-
|
|
1674
|
+
}, it.del = (a) => {
|
|
1675
|
+
r.forEach((u, l) => {
|
|
1676
|
+
u.key === a && r.splice(l, 1);
|
|
1666
1677
|
}), n(r);
|
|
1667
1678
|
}, r.length === 0 ? /* @__PURE__ */ s.jsx(s.Fragment, {}) : /* @__PURE__ */ s.jsx("div", { className: "notice", children: r.map((a) => a.item) });
|
|
1668
1679
|
}
|
|
1669
|
-
function
|
|
1680
|
+
function ur(r) {
|
|
1670
1681
|
let n = (/* @__PURE__ */ new Date()).getTime();
|
|
1671
|
-
r.key = n,
|
|
1682
|
+
r.key = n, it.set({ item: /* @__PURE__ */ s.jsx(fr, { data: r }, n), key: n });
|
|
1672
1683
|
}
|
|
1673
|
-
function
|
|
1684
|
+
function fr(r) {
|
|
1674
1685
|
const n = r.data;
|
|
1675
|
-
let [a] =
|
|
1676
|
-
|
|
1686
|
+
let [a] = B.useState("show"), [u, l] = B.useState(!1);
|
|
1687
|
+
B.useEffect(() => {
|
|
1677
1688
|
setTimeout(function() {
|
|
1678
|
-
|
|
1689
|
+
l(!0), it.del(n.key);
|
|
1679
1690
|
}, 5e3);
|
|
1680
1691
|
}, [n.key]);
|
|
1681
1692
|
let p;
|
|
@@ -1693,7 +1704,7 @@ function cr(r) {
|
|
|
1693
1704
|
p = "icon fa fa-exclamation-circle";
|
|
1694
1705
|
break;
|
|
1695
1706
|
}
|
|
1696
|
-
return /* @__PURE__ */ s.jsx(s.Fragment, { children:
|
|
1707
|
+
return /* @__PURE__ */ s.jsx(s.Fragment, { children: u ? /* @__PURE__ */ s.jsx(s.Fragment, {}) : /* @__PURE__ */ s.jsxs(
|
|
1697
1708
|
"div",
|
|
1698
1709
|
{
|
|
1699
1710
|
className: "item " + n.type + ` ${n.thema !== void 0 ? " thema" : ""}`,
|
|
@@ -1717,35 +1728,35 @@ function cr(r) {
|
|
|
1717
1728
|
}
|
|
1718
1729
|
) });
|
|
1719
1730
|
}
|
|
1720
|
-
let
|
|
1721
|
-
Send:
|
|
1722
|
-
Init:
|
|
1723
|
-
},
|
|
1731
|
+
let ke = {
|
|
1732
|
+
Send: ur,
|
|
1733
|
+
Init: cr
|
|
1734
|
+
}, rt = () => {
|
|
1724
1735
|
};
|
|
1725
|
-
const
|
|
1736
|
+
const qt = ({
|
|
1726
1737
|
children: r,
|
|
1727
1738
|
title: n,
|
|
1728
1739
|
isOverlay: a = !0,
|
|
1729
|
-
footer:
|
|
1730
|
-
className:
|
|
1740
|
+
footer: u = !0,
|
|
1741
|
+
className: l,
|
|
1731
1742
|
onOpen: p
|
|
1732
1743
|
}) => {
|
|
1733
|
-
const [
|
|
1734
|
-
return
|
|
1735
|
-
|
|
1736
|
-
var
|
|
1737
|
-
p == null || p(!1), (
|
|
1744
|
+
const [x, _] = B.useState(!1);
|
|
1745
|
+
return rt = () => {
|
|
1746
|
+
_(!0), setTimeout(() => {
|
|
1747
|
+
var f;
|
|
1748
|
+
p == null || p(!1), (f = je == null ? void 0 : je.onClose) == null || f.call(je);
|
|
1738
1749
|
}, 300);
|
|
1739
1750
|
}, /* @__PURE__ */ s.jsx(
|
|
1740
1751
|
"div",
|
|
1741
1752
|
{
|
|
1742
|
-
className: `footer-menu-overlay ${a ? "is-overlay" : ""} ${
|
|
1743
|
-
onClick:
|
|
1753
|
+
className: `footer-menu-overlay ${a ? "is-overlay" : ""} ${x ? "closing" : ""} `,
|
|
1754
|
+
onClick: rt,
|
|
1744
1755
|
children: /* @__PURE__ */ s.jsxs(
|
|
1745
1756
|
"div",
|
|
1746
1757
|
{
|
|
1747
|
-
className: `footer-menu-popup-book ${
|
|
1748
|
-
onClick: (
|
|
1758
|
+
className: `footer-menu-popup-book ${x ? "closing" : ""} ${l || ""} ${u ? "footer" : ""}`,
|
|
1759
|
+
onClick: (f) => f.stopPropagation(),
|
|
1749
1760
|
children: [
|
|
1750
1761
|
/* @__PURE__ */ s.jsxs("div", { className: "footer-menu-header", children: [
|
|
1751
1762
|
/* @__PURE__ */ s.jsx("h3", { children: n }),
|
|
@@ -1753,7 +1764,7 @@ const Ht = ({
|
|
|
1753
1764
|
"button",
|
|
1754
1765
|
{
|
|
1755
1766
|
className: "footer-menu-close-btn",
|
|
1756
|
-
onClick:
|
|
1767
|
+
onClick: rt,
|
|
1757
1768
|
children: "✕"
|
|
1758
1769
|
}
|
|
1759
1770
|
)
|
|
@@ -1764,71 +1775,75 @@ const Ht = ({
|
|
|
1764
1775
|
)
|
|
1765
1776
|
}
|
|
1766
1777
|
);
|
|
1767
|
-
},
|
|
1768
|
-
h:
|
|
1769
|
-
row:
|
|
1770
|
-
column:
|
|
1771
|
-
|
|
1778
|
+
}, dr = "_h_1dsfp_1", pr = "_row_1dsfp_14", vr = "_column_1dsfp_17", hr = "_badge_1dsfp_30", $t = {
|
|
1779
|
+
h: dr,
|
|
1780
|
+
row: pr,
|
|
1781
|
+
column: vr,
|
|
1782
|
+
badge: hr
|
|
1783
|
+
}, je = [], Ut = (r, n) => r.findIndex((a) => (a == null ? void 0 : a.page) === n), Gt = ({
|
|
1772
1784
|
actions: r,
|
|
1773
1785
|
children: n,
|
|
1774
1786
|
className: a,
|
|
1775
|
-
toHide:
|
|
1776
|
-
page:
|
|
1787
|
+
toHide: u = !1,
|
|
1788
|
+
page: l,
|
|
1777
1789
|
onPageChange: p,
|
|
1778
|
-
direction:
|
|
1790
|
+
direction: x = "row"
|
|
1779
1791
|
}) => {
|
|
1780
|
-
const [
|
|
1781
|
-
|
|
1792
|
+
const [_, f] = B.useState(null), [E, g] = B.useState(
|
|
1793
|
+
l ? Ut(r || [], l) : 0
|
|
1782
1794
|
);
|
|
1783
|
-
return
|
|
1784
|
-
|
|
1785
|
-
},
|
|
1786
|
-
if (!
|
|
1795
|
+
return je.onClose = () => {
|
|
1796
|
+
f(null), g(l ? Ut(r || [], l) : 0);
|
|
1797
|
+
}, Ce(() => {
|
|
1798
|
+
if (!u)
|
|
1787
1799
|
return;
|
|
1788
|
-
const
|
|
1789
|
-
const
|
|
1790
|
-
|
|
1791
|
-
},
|
|
1792
|
-
const
|
|
1793
|
-
|
|
1800
|
+
const y = document.querySelectorAll("[contenteditable]"), m = () => {
|
|
1801
|
+
const I = document.querySelector("footer");
|
|
1802
|
+
I && (I.style.display = "flex");
|
|
1803
|
+
}, P = () => {
|
|
1804
|
+
const I = document.querySelector("footer");
|
|
1805
|
+
I && (I.style.display = "none");
|
|
1794
1806
|
};
|
|
1795
|
-
return
|
|
1796
|
-
|
|
1807
|
+
return y.forEach((I) => {
|
|
1808
|
+
I.addEventListener("focus", P, !0), I.addEventListener("blur", m, !0);
|
|
1797
1809
|
}), () => {
|
|
1798
|
-
|
|
1799
|
-
|
|
1810
|
+
y.forEach((I) => {
|
|
1811
|
+
I.removeEventListener("focus", P, !0), I.removeEventListener("blur", m, !0);
|
|
1800
1812
|
});
|
|
1801
1813
|
};
|
|
1802
1814
|
}, []), /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
|
|
1803
|
-
|
|
1815
|
+
_,
|
|
1804
1816
|
/* @__PURE__ */ s.jsxs(
|
|
1805
1817
|
"footer",
|
|
1806
1818
|
{
|
|
1807
|
-
className: `${
|
|
1819
|
+
className: `${$t.h} ${$t[x]} ${a} `,
|
|
1808
1820
|
children: [
|
|
1809
1821
|
n,
|
|
1810
|
-
r && r.map((
|
|
1822
|
+
r && r.map((y, m) => /* @__PURE__ */ s.jsxs(
|
|
1811
1823
|
"div",
|
|
1812
1824
|
{
|
|
1813
|
-
"data-active":
|
|
1825
|
+
"data-active": E === m ? "true" : "false",
|
|
1814
1826
|
onClick: () => {
|
|
1815
|
-
|
|
1827
|
+
y.page && (g(m), p == null || p(y.page)), y.callback && (y.callback(), g(m)), y.component && (E === m ? rt() : (f(y.component), g(m)));
|
|
1816
1828
|
},
|
|
1817
|
-
children:
|
|
1829
|
+
children: [
|
|
1830
|
+
y.icon,
|
|
1831
|
+
y.badge && /* @__PURE__ */ s.jsx("div", { className: $t.badge, children: y.badge })
|
|
1832
|
+
]
|
|
1818
1833
|
},
|
|
1819
|
-
|
|
1834
|
+
m
|
|
1820
1835
|
))
|
|
1821
1836
|
]
|
|
1822
1837
|
}
|
|
1823
1838
|
)
|
|
1824
1839
|
] });
|
|
1825
|
-
},
|
|
1840
|
+
}, xe = {
|
|
1826
1841
|
is: !1,
|
|
1827
1842
|
MainButton: {},
|
|
1828
1843
|
BackButton: {}
|
|
1829
1844
|
};
|
|
1830
|
-
let
|
|
1831
|
-
|
|
1845
|
+
let q = {};
|
|
1846
|
+
q.dark = {
|
|
1832
1847
|
"--tg-theme-subtitle-text-color": "#98989e",
|
|
1833
1848
|
"--tg-theme-destructive-text-color": "#e53935",
|
|
1834
1849
|
"--tg-theme-section-separator-color": "#545458",
|
|
@@ -1845,7 +1860,7 @@ K.dark = {
|
|
|
1845
1860
|
"--tg-theme-text-color": "#ffffff",
|
|
1846
1861
|
"--tg-theme-section-bg-color": "#2c2c2e"
|
|
1847
1862
|
};
|
|
1848
|
-
|
|
1863
|
+
q.light = {
|
|
1849
1864
|
"--tg-theme-subtitle-text-color": "#8e8e93",
|
|
1850
1865
|
"--tg-theme-destructive-text-color": "#ff3b30",
|
|
1851
1866
|
"--tg-theme-section-separator-color": "#c8c7cc",
|
|
@@ -1862,7 +1877,7 @@ K.light = {
|
|
|
1862
1877
|
"--tg-theme-text-color": "#000000",
|
|
1863
1878
|
"--tg-theme-section-bg-color": "#f8f8f8"
|
|
1864
1879
|
};
|
|
1865
|
-
|
|
1880
|
+
q.users = {
|
|
1866
1881
|
"--tg-theme-bg-color": "#000000",
|
|
1867
1882
|
"--tg-theme-text-color": "#ffffff",
|
|
1868
1883
|
"--tg-theme-hint-color": "#98989e",
|
|
@@ -1871,27 +1886,27 @@ K.users = {
|
|
|
1871
1886
|
"--tg-theme-button-text-color": "#000000",
|
|
1872
1887
|
"--tg-theme-secondary-bg-color": "#000000"
|
|
1873
1888
|
};
|
|
1874
|
-
const
|
|
1889
|
+
const gr = () => {
|
|
1875
1890
|
if (location.hostname === "localhost") {
|
|
1876
|
-
let [r, n] =
|
|
1877
|
-
|
|
1878
|
-
|
|
1879
|
-
for (let
|
|
1891
|
+
let [r, n] = te(!1), [a, u] = te(!1), [l, p] = te("dark"), [x, _] = te(!1), [f, E] = te(!1);
|
|
1892
|
+
xe.is = !0, xe.MainButton.set = n, xe.BackButton.set = u, Ce(() => {
|
|
1893
|
+
q[l]["--tg-theme-bg-color-alpha"] = q[l]["--tg-theme-bg-color"] + "b3", q[l]["--tg-theme-secondary-bg-color-alpha"] = q[l]["--tg-theme-secondary-bg-color"] + "d3";
|
|
1894
|
+
for (let m in q[l])
|
|
1880
1895
|
document.documentElement.style.setProperty(
|
|
1881
|
-
|
|
1882
|
-
|
|
1896
|
+
m,
|
|
1897
|
+
q[l][m]
|
|
1883
1898
|
);
|
|
1884
|
-
|
|
1899
|
+
Ae.safeAreaInset.bottom === 0 && document.documentElement.style.setProperty(
|
|
1885
1900
|
"--tg-safe-area-inset-bottom",
|
|
1886
1901
|
"16px"
|
|
1887
1902
|
);
|
|
1888
1903
|
}, []);
|
|
1889
|
-
let g = (
|
|
1890
|
-
for (let
|
|
1891
|
-
document.documentElement.style.setProperty(
|
|
1892
|
-
p(
|
|
1893
|
-
},
|
|
1894
|
-
|
|
1904
|
+
let g = (m) => {
|
|
1905
|
+
for (let P in q[m])
|
|
1906
|
+
document.documentElement.style.setProperty(P, q[m][P]);
|
|
1907
|
+
p(m), _(!1);
|
|
1908
|
+
}, y = () => {
|
|
1909
|
+
_(!1), E(!0);
|
|
1895
1910
|
};
|
|
1896
1911
|
return /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
|
|
1897
1912
|
/* @__PURE__ */ s.jsxs("header", { className: "debug", children: [
|
|
@@ -1899,28 +1914,28 @@ const pr = () => {
|
|
|
1899
1914
|
"div",
|
|
1900
1915
|
{
|
|
1901
1916
|
onClick: () => {
|
|
1902
|
-
var
|
|
1903
|
-
a.page === void 0 ? (
|
|
1917
|
+
var m;
|
|
1918
|
+
a.page === void 0 ? (m = a.callback) == null || m.call(a) : fe.setPage(a.page);
|
|
1904
1919
|
},
|
|
1905
1920
|
className: "b",
|
|
1906
1921
|
children: "Назад"
|
|
1907
1922
|
}
|
|
1908
1923
|
),
|
|
1909
|
-
/* @__PURE__ */ s.jsx("div", { className: "o", onClick: () =>
|
|
1924
|
+
/* @__PURE__ */ s.jsx("div", { className: "o", onClick: () => _(!x), children: "Меню" })
|
|
1910
1925
|
] }),
|
|
1911
|
-
/* @__PURE__ */ s.jsx(
|
|
1926
|
+
/* @__PURE__ */ s.jsx(ke.Init, {}),
|
|
1912
1927
|
r && /* @__PURE__ */ s.jsx("div", { className: "mb", children: /* @__PURE__ */ s.jsx(
|
|
1913
1928
|
"button",
|
|
1914
1929
|
{
|
|
1915
1930
|
onClick: () => {
|
|
1916
|
-
r.page &&
|
|
1931
|
+
r.page && fe.setPage(r.page), r.callback && r.callback();
|
|
1917
1932
|
},
|
|
1918
1933
|
children: r.text
|
|
1919
1934
|
}
|
|
1920
1935
|
) }),
|
|
1921
|
-
|
|
1936
|
+
x ? /* @__PURE__ */ s.jsxs("div", { className: "tm", children: [
|
|
1922
1937
|
/* @__PURE__ */ s.jsxs("ul", { children: [
|
|
1923
|
-
/* @__PURE__ */ s.jsx("li", { children: /* @__PURE__ */ s.jsx("button", { onClick:
|
|
1938
|
+
/* @__PURE__ */ s.jsx("li", { children: /* @__PURE__ */ s.jsx("button", { onClick: y, children: "Authorization" }) }),
|
|
1924
1939
|
/* @__PURE__ */ s.jsx("li", {})
|
|
1925
1940
|
] }),
|
|
1926
1941
|
/* @__PURE__ */ s.jsxs("ul", { children: [
|
|
@@ -1950,25 +1965,25 @@ const pr = () => {
|
|
|
1950
1965
|
) })
|
|
1951
1966
|
] })
|
|
1952
1967
|
] }),
|
|
1953
|
-
/* @__PURE__ */ s.jsx("li", { children: /* @__PURE__ */ s.jsx("button", { onClick: () =>
|
|
1968
|
+
/* @__PURE__ */ s.jsx("li", { children: /* @__PURE__ */ s.jsx("button", { onClick: () => _(!x), children: "Closed" }) })
|
|
1954
1969
|
] })
|
|
1955
1970
|
] }) : "",
|
|
1956
|
-
|
|
1971
|
+
f ? /* @__PURE__ */ s.jsx(yr, { setAuthorization: E }) : ""
|
|
1957
1972
|
] });
|
|
1958
1973
|
} else
|
|
1959
|
-
return
|
|
1974
|
+
return Ce(() => {
|
|
1960
1975
|
document.documentElement.style.setProperty(
|
|
1961
1976
|
"--tg-theme-secondary-bg-color-alpha",
|
|
1962
|
-
|
|
1977
|
+
Ae.themeParams.secondary_bg_color + "d3"
|
|
1963
1978
|
), document.documentElement.style.setProperty(
|
|
1964
1979
|
"--tg-theme-bg-color-alpha",
|
|
1965
|
-
|
|
1966
|
-
),
|
|
1980
|
+
Ae.themeParams.bg_color + "b3"
|
|
1981
|
+
), Ae.safeAreaInset.bottom === 0 && document.documentElement.style.setProperty(
|
|
1967
1982
|
"--tg-safe-area-inset-bottom",
|
|
1968
1983
|
"16px"
|
|
1969
1984
|
);
|
|
1970
|
-
}, []), /* @__PURE__ */ s.jsx(s.Fragment, { children: /* @__PURE__ */ s.jsx(
|
|
1971
|
-
},
|
|
1985
|
+
}, []), /* @__PURE__ */ s.jsx(s.Fragment, { children: /* @__PURE__ */ s.jsx(ke.Init, {}) });
|
|
1986
|
+
}, yr = ({ setAuthorization: r }) => {
|
|
1972
1987
|
let n = {}, a = () => {
|
|
1973
1988
|
localStorage.setItem("auth", n);
|
|
1974
1989
|
};
|
|
@@ -1976,128 +1991,211 @@ const pr = () => {
|
|
|
1976
1991
|
/* @__PURE__ */ s.jsx("fieldset", {}),
|
|
1977
1992
|
/* @__PURE__ */ s.jsx("div", { onClick: a, children: " Сохранить " })
|
|
1978
1993
|
] }) });
|
|
1979
|
-
},
|
|
1980
|
-
p:
|
|
1981
|
-
s:
|
|
1982
|
-
},
|
|
1994
|
+
}, mr = "_p_12hh1_1", br = "_s_12hh1_17", Yt = {
|
|
1995
|
+
p: mr,
|
|
1996
|
+
s: br
|
|
1997
|
+
}, _r = ({ className: r, children: n, isScroll: a = !0 }) => /* @__PURE__ */ s.jsx(
|
|
1983
1998
|
"div",
|
|
1984
1999
|
{
|
|
1985
|
-
className: [
|
|
2000
|
+
className: [Yt.p, a && Yt.s, r].filter((u) => u !== void 0).join(" "),
|
|
1986
2001
|
children: n
|
|
1987
2002
|
}
|
|
1988
|
-
),
|
|
1989
|
-
l:
|
|
1990
|
-
},
|
|
2003
|
+
), Rr = "_l_gfyud_1", Sr = {
|
|
2004
|
+
l: Rr
|
|
2005
|
+
}, kr = ({ children: r, className: n }) => /* @__PURE__ */ s.jsx(
|
|
1991
2006
|
"div",
|
|
1992
2007
|
{
|
|
1993
|
-
className: [
|
|
2008
|
+
className: [Sr.l, n].filter((a) => a !== void 0).join(" "),
|
|
1994
2009
|
children: r
|
|
1995
2010
|
}
|
|
1996
|
-
),
|
|
1997
|
-
m:
|
|
1998
|
-
g:
|
|
1999
|
-
i:
|
|
2000
|
-
c:
|
|
2001
|
-
l:
|
|
2002
|
-
a:
|
|
2003
|
-
n:
|
|
2004
|
-
},
|
|
2005
|
-
const n = (
|
|
2006
|
-
|
|
2007
|
-
}, a = (
|
|
2008
|
-
|
|
2011
|
+
), xr = "_m_ppm7n_2", Er = "_g_ppm7n_10", Or = "_i_ppm7n_18", jr = "_c_ppm7n_35", Ar = "_l_ppm7n_42", Cr = "_a_ppm7n_57", wr = "_n_ppm7n_62", Se = {
|
|
2012
|
+
m: xr,
|
|
2013
|
+
g: Er,
|
|
2014
|
+
i: Or,
|
|
2015
|
+
c: jr,
|
|
2016
|
+
l: Ar,
|
|
2017
|
+
a: Cr,
|
|
2018
|
+
n: wr
|
|
2019
|
+
}, Pr = ({ items: r }) => {
|
|
2020
|
+
const n = (u) => {
|
|
2021
|
+
fe.setPage(u);
|
|
2022
|
+
}, a = (u) => {
|
|
2023
|
+
Ae.openTelegramLink(u);
|
|
2009
2024
|
};
|
|
2010
|
-
return /* @__PURE__ */ s.jsx("div", { className:
|
|
2025
|
+
return /* @__PURE__ */ s.jsx("div", { className: Se.m, children: r.map((u) => /* @__PURE__ */ s.jsx("div", { className: Se.g, children: u.items.map((l, p) => /* @__PURE__ */ s.jsxs(
|
|
2011
2026
|
"div",
|
|
2012
2027
|
{
|
|
2013
|
-
className:
|
|
2028
|
+
className: Se.i,
|
|
2014
2029
|
onClick: () => {
|
|
2015
|
-
|
|
2030
|
+
l.link && a(l.link), l.page && n(l.page), l.callback && l.callback();
|
|
2016
2031
|
},
|
|
2017
2032
|
children: [
|
|
2018
|
-
/* @__PURE__ */ s.jsxs("div", { className:
|
|
2033
|
+
/* @__PURE__ */ s.jsxs("div", { className: Se.c, children: [
|
|
2019
2034
|
/* @__PURE__ */ s.jsx(
|
|
2020
2035
|
"span",
|
|
2021
2036
|
{
|
|
2022
|
-
className:
|
|
2023
|
-
style: { background:
|
|
2024
|
-
children:
|
|
2037
|
+
className: Se.l,
|
|
2038
|
+
style: { background: l.color },
|
|
2039
|
+
children: l.icon
|
|
2025
2040
|
}
|
|
2026
2041
|
),
|
|
2027
|
-
|
|
2028
|
-
|
|
2042
|
+
l.title,
|
|
2043
|
+
l.count && /* @__PURE__ */ s.jsx("span", { className: Se.n, children: l.count })
|
|
2029
2044
|
] }),
|
|
2030
|
-
/* @__PURE__ */ s.jsx("span", { className:
|
|
2045
|
+
/* @__PURE__ */ s.jsx("span", { className: Se.a, children: "›" })
|
|
2031
2046
|
]
|
|
2032
2047
|
},
|
|
2033
2048
|
p
|
|
2034
|
-
)) },
|
|
2035
|
-
},
|
|
2049
|
+
)) }, u.id)) });
|
|
2050
|
+
}, Tr = "_o_xi4i3_3", Nr = "_m_xi4i3_14", $r = "_l_xi4i3_28", Ir = "_r_xi4i3_33", Fr = "_x_xi4i3_38", Mr = "_h_xi4i3_42", Br = "_c_xi4i3_57", Dr = "_u_xi4i3_73", le = {
|
|
2051
|
+
o: Tr,
|
|
2052
|
+
m: Nr,
|
|
2053
|
+
l: $r,
|
|
2054
|
+
r: Ir,
|
|
2055
|
+
x: Fr,
|
|
2056
|
+
h: Mr,
|
|
2057
|
+
c: Br,
|
|
2058
|
+
u: Dr
|
|
2059
|
+
};
|
|
2060
|
+
function Wr({
|
|
2061
|
+
children: r,
|
|
2062
|
+
icon: n,
|
|
2063
|
+
iconBadge: a = 0,
|
|
2064
|
+
title: u,
|
|
2065
|
+
className: l,
|
|
2066
|
+
view: p = "list",
|
|
2067
|
+
position: x = "left"
|
|
2068
|
+
}) {
|
|
2069
|
+
const [_, f] = te(!1), [E, g] = te(
|
|
2070
|
+
null
|
|
2071
|
+
);
|
|
2072
|
+
Ce(() => {
|
|
2073
|
+
let m = document.querySelector(".p_sb");
|
|
2074
|
+
return m || (m = document.createElement("div"), m.className = "_p_sb", document.body.appendChild(m)), g(m), () => {
|
|
2075
|
+
m && m.parentNode && m.parentNode.removeChild(m);
|
|
2076
|
+
};
|
|
2077
|
+
}, []);
|
|
2078
|
+
const y = /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
|
|
2079
|
+
_ && /* @__PURE__ */ s.jsx("div", { className: le.o, onClick: () => f(!1) }),
|
|
2080
|
+
/* @__PURE__ */ s.jsxs(
|
|
2081
|
+
"div",
|
|
2082
|
+
{
|
|
2083
|
+
className: Lr(
|
|
2084
|
+
le.m,
|
|
2085
|
+
x === "left" ? le.l : le.r,
|
|
2086
|
+
_ && le.x,
|
|
2087
|
+
l
|
|
2088
|
+
),
|
|
2089
|
+
children: [
|
|
2090
|
+
/* @__PURE__ */ s.jsxs("div", { className: le.h, children: [
|
|
2091
|
+
u && /* @__PURE__ */ s.jsx("h3", { className: le.t, children: u }),
|
|
2092
|
+
/* @__PURE__ */ s.jsxs(
|
|
2093
|
+
"svg",
|
|
2094
|
+
{
|
|
2095
|
+
onClick: () => f(!1),
|
|
2096
|
+
fill: "none",
|
|
2097
|
+
stroke: "currentColor",
|
|
2098
|
+
strokeLinecap: "round",
|
|
2099
|
+
strokeLinejoin: "round",
|
|
2100
|
+
strokeWidth: "1.5",
|
|
2101
|
+
viewBox: "0 0 24 24",
|
|
2102
|
+
width: "24",
|
|
2103
|
+
height: "24",
|
|
2104
|
+
"data-pointer": "true",
|
|
2105
|
+
style: { cursor: "pointer" },
|
|
2106
|
+
children: [
|
|
2107
|
+
/* @__PURE__ */ s.jsx("path", { d: "M17.25 17.25 6.75 6.75" }),
|
|
2108
|
+
/* @__PURE__ */ s.jsx("path", { d: "m17.25 6.75-10.5 10.5" })
|
|
2109
|
+
]
|
|
2110
|
+
}
|
|
2111
|
+
)
|
|
2112
|
+
] }),
|
|
2113
|
+
/* @__PURE__ */ s.jsx("div", { className: le.c, children: p === "list" ? /* @__PURE__ */ s.jsx("ul", { className: le.u, children: r }) : r })
|
|
2114
|
+
]
|
|
2115
|
+
}
|
|
2116
|
+
)
|
|
2117
|
+
] });
|
|
2118
|
+
return /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
|
|
2119
|
+
n && /* @__PURE__ */ s.jsx(
|
|
2120
|
+
"div",
|
|
2121
|
+
{
|
|
2122
|
+
onClick: () => f(!0),
|
|
2123
|
+
className: "bage",
|
|
2124
|
+
"data-count": a,
|
|
2125
|
+
children: n
|
|
2126
|
+
}
|
|
2127
|
+
),
|
|
2128
|
+
E && Zt(y, E)
|
|
2129
|
+
] });
|
|
2130
|
+
}
|
|
2131
|
+
const Y = {
|
|
2036
2132
|
state: [!1],
|
|
2037
2133
|
listen: [],
|
|
2038
2134
|
prev: {},
|
|
2039
2135
|
router: (r) => {
|
|
2040
|
-
r === !1 ? (
|
|
2136
|
+
r === !1 ? (L.WebApp.BackButton.isVisible = !1, L.WebApp.BackButton.offClick(Y.listen[0]), Y.listen.shift(), Y.state.length !== 1 && Y.state.pop()) : (L.WebApp.BackButton.isVisible = !0, L.WebApp.BackButton.offClick(Y.listen[0]), Y.listen.shift(), Y.listen.push(() => {
|
|
2041
2137
|
var a;
|
|
2042
|
-
let n =
|
|
2043
|
-
|
|
2044
|
-
}),
|
|
2138
|
+
let n = Y.state.pop();
|
|
2139
|
+
Y.prev = fe.getPage(), n.page !== void 0 ? fe.setPage(n.page) : (a = n.callback) == null || a.call(n);
|
|
2140
|
+
}), Ae.BackButton.onClick(Y.listen[0]));
|
|
2045
2141
|
}
|
|
2046
|
-
};
|
|
2047
|
-
var
|
|
2142
|
+
}, Lr = (...r) => r.filter((n) => n !== void 0 && n !== !1 && n !== null && n !== "").join(" ");
|
|
2143
|
+
var L;
|
|
2048
2144
|
((r) => {
|
|
2049
2145
|
r.WebApp = window.Telegram.WebApp, r.getUser = () => {
|
|
2050
2146
|
var n;
|
|
2051
2147
|
return ((n = r.WebApp.initDataUnsafe) == null ? void 0 : n.user) === void 0 ? {} : r.WebApp.initDataUnsafe;
|
|
2052
2148
|
}, r.Notice = {
|
|
2053
|
-
Send: (n, a,
|
|
2054
|
-
var
|
|
2055
|
-
a !== void 0 ? (
|
|
2149
|
+
Send: (n, a, u) => {
|
|
2150
|
+
var l, p;
|
|
2151
|
+
a !== void 0 ? (ke.Send({ type: n, text: a, thema: u }), (l = r.WebApp.HapticFeedback) == null || l.notificationOccurred(n)) : (ke.Send(n), (p = r.WebApp.HapticFeedback) == null || p.notificationOccurred(n.type));
|
|
2056
2152
|
},
|
|
2057
2153
|
Error: (n) => {
|
|
2058
2154
|
var a;
|
|
2059
|
-
|
|
2155
|
+
ke.Send({ type: "error", text: n }), (a = r.WebApp.HapticFeedback) == null || a.notificationOccurred("error");
|
|
2060
2156
|
},
|
|
2061
2157
|
Success: (n) => {
|
|
2062
2158
|
var a;
|
|
2063
|
-
|
|
2159
|
+
ke.Send({ type: "success", text: n }), (a = r.WebApp.HapticFeedback) == null || a.notificationOccurred("success");
|
|
2064
2160
|
},
|
|
2065
2161
|
Warning: (n) => {
|
|
2066
2162
|
var a;
|
|
2067
|
-
|
|
2163
|
+
ke.Send({ type: "warning", text: n }), (a = r.WebApp.HapticFeedback) == null || a.notificationOccurred("warning");
|
|
2068
2164
|
}
|
|
2069
|
-
}, r.Header =
|
|
2165
|
+
}, r.Header = gr, r.Footer = Gt, r.BottomSheet = qt, r.toggleBottomSheet = rt, r.SafeArea = _r, r.Loading = kr, r.Sidebar = Wr, r.Modal = Ft, r.Menu = Pr, r.MainButton = {
|
|
2070
2166
|
callback: [],
|
|
2071
2167
|
set: (n) => {
|
|
2072
|
-
|
|
2168
|
+
xe.is ? xe.MainButton.set(n) : (r.WebApp.MainButton.callback.forEach((a) => {
|
|
2073
2169
|
r.WebApp.MainButton.offClick(a);
|
|
2074
2170
|
}), r.WebApp.MainButton.callback = [], typeof n == "boolean" ? r.WebApp.MainButton.isVisible = !1 : (r.WebApp.MainButton.text = n.text, n.color && (r.WebApp.MainButton.color = n.color), n.textColor && (r.WebApp.MainButton.textColor = n.textColor), r.WebApp.MainButton.isVisible = !0, r.WebApp.MainButton.isActive = n.isActive === void 0 ? !0 : n.isActive, r.WebApp.MainButton.callback.push(() => {
|
|
2075
2171
|
var a;
|
|
2076
|
-
n.page === void 0 ? (a = n.callback) == null || a.call(n) :
|
|
2172
|
+
n.page === void 0 ? (a = n.callback) == null || a.call(n) : fe.setPage(n.page);
|
|
2077
2173
|
}), r.WebApp.MainButton.onClick(
|
|
2078
2174
|
r.WebApp.MainButton.callback[0]
|
|
2079
2175
|
)));
|
|
2080
2176
|
}
|
|
2081
2177
|
}, r.BackButtonPrev = () => {
|
|
2082
|
-
|
|
2178
|
+
Y.prev && (0, r.BackButton)(Y.prev);
|
|
2083
2179
|
}, r.BackButton = (n) => {
|
|
2084
|
-
|
|
2180
|
+
xe.is ? xe.BackButton.set(n) : (Y.state.push(n), Y.router(n));
|
|
2085
2181
|
};
|
|
2086
|
-
})(
|
|
2087
|
-
const
|
|
2182
|
+
})(L || (L = {}));
|
|
2183
|
+
const Vr = Gt, zr = qt, Jr = L.BackButton, Hr = L.Notice, Kr = L.SafeArea, qr = L.Loading, Gr = L.Menu, Zr = L.Sidebar, { Header: Xr, toggleBottomSheet: Qr, Modal: en, MainButton: tn, WebApp: Ae, getUser: rn } = L;
|
|
2088
2184
|
export {
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
|
|
2093
|
-
|
|
2094
|
-
|
|
2095
|
-
|
|
2096
|
-
|
|
2097
|
-
|
|
2098
|
-
|
|
2099
|
-
|
|
2100
|
-
|
|
2101
|
-
Lr as
|
|
2102
|
-
|
|
2185
|
+
Jr as BackButton,
|
|
2186
|
+
zr as BottomSheet,
|
|
2187
|
+
Vr as Footer,
|
|
2188
|
+
Xr as Header,
|
|
2189
|
+
qr as Loading,
|
|
2190
|
+
tn as MainButton,
|
|
2191
|
+
Gr as Menu,
|
|
2192
|
+
en as Modal,
|
|
2193
|
+
Hr as Notice,
|
|
2194
|
+
Kr as SafeArea,
|
|
2195
|
+
Zr as Sidebar,
|
|
2196
|
+
Ae as WebApp,
|
|
2197
|
+
Lr as clsx,
|
|
2198
|
+
L as default,
|
|
2199
|
+
rn as getUser,
|
|
2200
|
+
Qr as toggleBottomSheet
|
|
2103
2201
|
};
|