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