@elcrm/telegram 0.0.104 → 0.0.106
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.css +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.es.js +367 -362
- package/dist/index.umd.js +16 -16
- package/package.json +1 -1
- /package/dist/Madal/{index.d.ts → Modal.d.ts} +0 -0
package/dist/index.es.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import F, { useState as J, useEffect as fe } from "react";
|
|
2
|
-
import { createPortal as
|
|
3
|
-
import './index.css';var
|
|
2
|
+
import { createPortal as nr } from "react-dom";
|
|
3
|
+
import './index.css';var Ft = { exports: {} }, et = {};
|
|
4
4
|
/**
|
|
5
5
|
* @license React
|
|
6
6
|
* react-jsx-runtime.production.min.js
|
|
@@ -10,10 +10,10 @@ import './index.css';var Dt = { exports: {} }, Qe = {};
|
|
|
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
|
-
|
|
13
|
+
var Ut;
|
|
14
|
+
function or() {
|
|
15
|
+
if (Ut) return et;
|
|
16
|
+
Ut = 1;
|
|
17
17
|
var r = F, n = Symbol.for("react.element"), a = Symbol.for("react.fragment"), c = Object.prototype.hasOwnProperty, l = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, p = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
18
18
|
function k(b, u, S) {
|
|
19
19
|
var h, g = {}, m = null, w = null;
|
|
@@ -22,9 +22,9 @@ function nr() {
|
|
|
22
22
|
if (b && b.defaultProps) for (h in u = b.defaultProps, u) g[h] === void 0 && (g[h] = u[h]);
|
|
23
23
|
return { $$typeof: n, type: b, key: m, ref: w, props: g, _owner: l.current };
|
|
24
24
|
}
|
|
25
|
-
return
|
|
25
|
+
return et.Fragment = a, et.jsx = k, et.jsxs = k, et;
|
|
26
26
|
}
|
|
27
|
-
var
|
|
27
|
+
var tt = {};
|
|
28
28
|
/**
|
|
29
29
|
* @license React
|
|
30
30
|
* react-jsx-runtime.development.js
|
|
@@ -34,14 +34,14 @@ var et = {};
|
|
|
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 r = F, n = Symbol.for("react.element"), a = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), l = Symbol.for("react.strict_mode"), p = Symbol.for("react.profiler"), k = Symbol.for("react.provider"), b = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), S = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), g = Symbol.for("react.memo"), m = Symbol.for("react.lazy"), w = Symbol.for("react.offscreen"), I = Symbol.iterator,
|
|
37
|
+
var Yt;
|
|
38
|
+
function ar() {
|
|
39
|
+
return Yt || (Yt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
40
|
+
var r = F, n = Symbol.for("react.element"), a = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), l = Symbol.for("react.strict_mode"), p = Symbol.for("react.profiler"), k = Symbol.for("react.provider"), b = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), S = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), g = Symbol.for("react.memo"), m = Symbol.for("react.lazy"), w = Symbol.for("react.offscreen"), I = Symbol.iterator, we = "@@iterator";
|
|
41
41
|
function pe(e) {
|
|
42
42
|
if (e === null || typeof e != "object")
|
|
43
43
|
return null;
|
|
44
|
-
var t = I && e[I] || e[
|
|
44
|
+
var t = I && e[I] || e[we];
|
|
45
45
|
return typeof t == "function" ? t : null;
|
|
46
46
|
}
|
|
47
47
|
var W = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
@@ -49,10 +49,10 @@ function or() {
|
|
|
49
49
|
{
|
|
50
50
|
for (var t = arguments.length, o = new Array(t > 1 ? t - 1 : 0), s = 1; s < t; s++)
|
|
51
51
|
o[s - 1] = arguments[s];
|
|
52
|
-
|
|
52
|
+
Te("error", e, o);
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
|
-
function
|
|
55
|
+
function Te(e, t, o) {
|
|
56
56
|
{
|
|
57
57
|
var s = W.ReactDebugCurrentFrame, v = s.getStackAddendum();
|
|
58
58
|
v !== "" && (t += "%s", o = o.concat([v]));
|
|
@@ -62,10 +62,10 @@ function or() {
|
|
|
62
62
|
y.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, y);
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
|
-
var
|
|
65
|
+
var $e = !1, Oe = !1, Ne = !1, Be = !1, _ = !1, E;
|
|
66
66
|
E = Symbol.for("react.module.reference");
|
|
67
67
|
function N(e) {
|
|
68
|
-
return !!(typeof e == "string" || typeof e == "function" || e === c || e === p || _ || e === l || e === S || e === h ||
|
|
68
|
+
return !!(typeof e == "string" || typeof e == "function" || e === c || e === p || _ || e === l || e === S || e === h || Be || e === w || $e || Oe || Ne || typeof e == "object" && e !== null && (e.$$typeof === m || e.$$typeof === g || e.$$typeof === k || e.$$typeof === b || e.$$typeof === u || // This needs to include all possible module reference object
|
|
69
69
|
// types supported by any Flight configuration anywhere since
|
|
70
70
|
// we don't know which Flight build this will end up being used
|
|
71
71
|
// with.
|
|
@@ -126,18 +126,18 @@ function or() {
|
|
|
126
126
|
}
|
|
127
127
|
return null;
|
|
128
128
|
}
|
|
129
|
-
var D = Object.assign, Y = 0, ce, Z, X, Q, ee,
|
|
130
|
-
function
|
|
129
|
+
var D = Object.assign, Y = 0, ce, Z, X, Q, ee, Ie, Me;
|
|
130
|
+
function De() {
|
|
131
131
|
}
|
|
132
|
-
|
|
133
|
-
function
|
|
132
|
+
De.__reactDisabledLog = !0;
|
|
133
|
+
function ut() {
|
|
134
134
|
{
|
|
135
135
|
if (Y === 0) {
|
|
136
|
-
ce = console.log, Z = console.info, X = console.warn, Q = console.error, ee = console.group,
|
|
136
|
+
ce = console.log, Z = console.info, X = console.warn, Q = console.error, ee = console.group, Ie = console.groupCollapsed, Me = console.groupEnd;
|
|
137
137
|
var e = {
|
|
138
138
|
configurable: !0,
|
|
139
139
|
enumerable: !0,
|
|
140
|
-
value:
|
|
140
|
+
value: De,
|
|
141
141
|
writable: !0
|
|
142
142
|
};
|
|
143
143
|
Object.defineProperties(console, {
|
|
@@ -153,7 +153,7 @@ function or() {
|
|
|
153
153
|
Y++;
|
|
154
154
|
}
|
|
155
155
|
}
|
|
156
|
-
function
|
|
156
|
+
function ft() {
|
|
157
157
|
{
|
|
158
158
|
if (Y--, Y === 0) {
|
|
159
159
|
var e = {
|
|
@@ -178,10 +178,10 @@ function or() {
|
|
|
178
178
|
value: ee
|
|
179
179
|
}),
|
|
180
180
|
groupCollapsed: D({}, e, {
|
|
181
|
-
value:
|
|
181
|
+
value: Ie
|
|
182
182
|
}),
|
|
183
183
|
groupEnd: D({}, e, {
|
|
184
|
-
value:
|
|
184
|
+
value: Me
|
|
185
185
|
})
|
|
186
186
|
});
|
|
187
187
|
}
|
|
@@ -204,10 +204,10 @@ function or() {
|
|
|
204
204
|
}
|
|
205
205
|
var ge = !1, ne;
|
|
206
206
|
{
|
|
207
|
-
var
|
|
208
|
-
ne = new
|
|
207
|
+
var dt = typeof WeakMap == "function" ? WeakMap : Map;
|
|
208
|
+
ne = new dt();
|
|
209
209
|
}
|
|
210
|
-
function
|
|
210
|
+
function Fe(e, t) {
|
|
211
211
|
if (!e || ge)
|
|
212
212
|
return "";
|
|
213
213
|
{
|
|
@@ -220,7 +220,7 @@ function or() {
|
|
|
220
220
|
var v = Error.prepareStackTrace;
|
|
221
221
|
Error.prepareStackTrace = void 0;
|
|
222
222
|
var y;
|
|
223
|
-
y = ve.current, ve.current = null,
|
|
223
|
+
y = ve.current, ve.current = null, ut();
|
|
224
224
|
try {
|
|
225
225
|
if (t) {
|
|
226
226
|
var d = function() {
|
|
@@ -273,15 +273,15 @@ function or() {
|
|
|
273
273
|
}
|
|
274
274
|
}
|
|
275
275
|
} finally {
|
|
276
|
-
ge = !1, ve.current = y,
|
|
276
|
+
ge = !1, ve.current = y, ft(), Error.prepareStackTrace = v;
|
|
277
277
|
}
|
|
278
278
|
var z = e ? e.displayName || e.name : "", L = z ? re(z) : "";
|
|
279
279
|
return typeof e == "function" && ne.set(e, L), L;
|
|
280
280
|
}
|
|
281
|
-
function
|
|
282
|
-
return
|
|
281
|
+
function pt(e, t, o) {
|
|
282
|
+
return Fe(e, !1);
|
|
283
283
|
}
|
|
284
|
-
function
|
|
284
|
+
function vt(e) {
|
|
285
285
|
var t = e.prototype;
|
|
286
286
|
return !!(t && t.isReactComponent);
|
|
287
287
|
}
|
|
@@ -289,7 +289,7 @@ function or() {
|
|
|
289
289
|
if (e == null)
|
|
290
290
|
return "";
|
|
291
291
|
if (typeof e == "function")
|
|
292
|
-
return
|
|
292
|
+
return Fe(e, vt(e));
|
|
293
293
|
if (typeof e == "string")
|
|
294
294
|
return re(e);
|
|
295
295
|
switch (e) {
|
|
@@ -301,7 +301,7 @@ function or() {
|
|
|
301
301
|
if (typeof e == "object")
|
|
302
302
|
switch (e.$$typeof) {
|
|
303
303
|
case u:
|
|
304
|
-
return
|
|
304
|
+
return pt(e.render);
|
|
305
305
|
case g:
|
|
306
306
|
return oe(e.type, t, o);
|
|
307
307
|
case m: {
|
|
@@ -314,15 +314,15 @@ function or() {
|
|
|
314
314
|
}
|
|
315
315
|
return "";
|
|
316
316
|
}
|
|
317
|
-
var K = Object.prototype.hasOwnProperty,
|
|
317
|
+
var K = Object.prototype.hasOwnProperty, We = {}, Le = W.ReactDebugCurrentFrame;
|
|
318
318
|
function ae(e) {
|
|
319
319
|
if (e) {
|
|
320
320
|
var t = e._owner, o = oe(e.type, e._source, t ? t.type : null);
|
|
321
|
-
|
|
321
|
+
Le.setExtraStackFrame(o);
|
|
322
322
|
} else
|
|
323
|
-
|
|
323
|
+
Le.setExtraStackFrame(null);
|
|
324
324
|
}
|
|
325
|
-
function
|
|
325
|
+
function ht(e, t, o, s, v) {
|
|
326
326
|
{
|
|
327
327
|
var y = Function.call.bind(K);
|
|
328
328
|
for (var d in e)
|
|
@@ -337,41 +337,41 @@ function or() {
|
|
|
337
337
|
} catch (R) {
|
|
338
338
|
f = R;
|
|
339
339
|
}
|
|
340
|
-
f && !(f instanceof Error) && (ae(v), 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).", s || "React class", o, d, typeof f), ae(null)), f instanceof Error && !(f.message in
|
|
340
|
+
f && !(f instanceof Error) && (ae(v), 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).", s || "React class", o, d, typeof f), ae(null)), f instanceof Error && !(f.message in We) && (We[f.message] = !0, ae(v), j("Failed %s type: %s", o, f.message), ae(null));
|
|
341
341
|
}
|
|
342
342
|
}
|
|
343
343
|
}
|
|
344
|
-
var
|
|
344
|
+
var gt = Array.isArray;
|
|
345
345
|
function ye(e) {
|
|
346
|
-
return
|
|
346
|
+
return gt(e);
|
|
347
347
|
}
|
|
348
|
-
function
|
|
348
|
+
function yt(e) {
|
|
349
349
|
{
|
|
350
350
|
var t = typeof Symbol == "function" && Symbol.toStringTag, o = t && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
351
351
|
return o;
|
|
352
352
|
}
|
|
353
353
|
}
|
|
354
|
-
function
|
|
354
|
+
function mt(e) {
|
|
355
355
|
try {
|
|
356
|
-
return
|
|
356
|
+
return Ue(e), !1;
|
|
357
357
|
} catch {
|
|
358
358
|
return !0;
|
|
359
359
|
}
|
|
360
360
|
}
|
|
361
|
-
function
|
|
361
|
+
function Ue(e) {
|
|
362
362
|
return "" + e;
|
|
363
363
|
}
|
|
364
|
-
function
|
|
365
|
-
if (
|
|
366
|
-
return j("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",
|
|
364
|
+
function Ye(e) {
|
|
365
|
+
if (mt(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.", yt(e)), Ue(e);
|
|
367
367
|
}
|
|
368
|
-
var
|
|
368
|
+
var Ve = W.ReactCurrentOwner, bt = {
|
|
369
369
|
key: !0,
|
|
370
370
|
ref: !0,
|
|
371
371
|
__self: !0,
|
|
372
372
|
__source: !0
|
|
373
|
-
},
|
|
374
|
-
function
|
|
373
|
+
}, ze, qe;
|
|
374
|
+
function _t(e) {
|
|
375
375
|
if (K.call(e, "ref")) {
|
|
376
376
|
var t = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
377
377
|
if (t && t.isReactWarning)
|
|
@@ -379,7 +379,7 @@ function or() {
|
|
|
379
379
|
}
|
|
380
380
|
return e.ref !== void 0;
|
|
381
381
|
}
|
|
382
|
-
function
|
|
382
|
+
function Rt(e) {
|
|
383
383
|
if (K.call(e, "key")) {
|
|
384
384
|
var t = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
385
385
|
if (t && t.isReactWarning)
|
|
@@ -387,13 +387,13 @@ function or() {
|
|
|
387
387
|
}
|
|
388
388
|
return e.key !== void 0;
|
|
389
389
|
}
|
|
390
|
-
function Rt(e, t) {
|
|
391
|
-
typeof e.ref == "string" && Ye.current;
|
|
392
|
-
}
|
|
393
390
|
function St(e, t) {
|
|
391
|
+
typeof e.ref == "string" && Ve.current;
|
|
392
|
+
}
|
|
393
|
+
function kt(e, t) {
|
|
394
394
|
{
|
|
395
395
|
var o = function() {
|
|
396
|
-
|
|
396
|
+
ze || (ze = !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)", t));
|
|
397
397
|
};
|
|
398
398
|
o.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
399
399
|
get: o,
|
|
@@ -401,10 +401,10 @@ function or() {
|
|
|
401
401
|
});
|
|
402
402
|
}
|
|
403
403
|
}
|
|
404
|
-
function
|
|
404
|
+
function xt(e, t) {
|
|
405
405
|
{
|
|
406
406
|
var o = function() {
|
|
407
|
-
|
|
407
|
+
qe || (qe = !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)", t));
|
|
408
408
|
};
|
|
409
409
|
o.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
410
410
|
get: o,
|
|
@@ -412,7 +412,7 @@ function or() {
|
|
|
412
412
|
});
|
|
413
413
|
}
|
|
414
414
|
}
|
|
415
|
-
var
|
|
415
|
+
var Et = function(e, t, o, s, v, y, d) {
|
|
416
416
|
var f = {
|
|
417
417
|
// This tag allows us to uniquely identify this as a React Element
|
|
418
418
|
$$typeof: n,
|
|
@@ -441,12 +441,12 @@ function or() {
|
|
|
441
441
|
value: v
|
|
442
442
|
}), Object.freeze && (Object.freeze(f.props), Object.freeze(f)), f;
|
|
443
443
|
};
|
|
444
|
-
function
|
|
444
|
+
function jt(e, t, o, s, v) {
|
|
445
445
|
{
|
|
446
446
|
var y, d = {}, f = null, O = null;
|
|
447
|
-
o !== void 0 && (
|
|
447
|
+
o !== void 0 && (Ye(o), f = "" + o), Rt(t) && (Ye(t.key), f = "" + t.key), _t(t) && (O = t.ref, St(t, v));
|
|
448
448
|
for (y in t)
|
|
449
|
-
K.call(t, y) && !
|
|
449
|
+
K.call(t, y) && !bt.hasOwnProperty(y) && (d[y] = t[y]);
|
|
450
450
|
if (e && e.defaultProps) {
|
|
451
451
|
var R = e.defaultProps;
|
|
452
452
|
for (y in R)
|
|
@@ -454,25 +454,25 @@ function or() {
|
|
|
454
454
|
}
|
|
455
455
|
if (f || O) {
|
|
456
456
|
var x = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
457
|
-
f &&
|
|
457
|
+
f && kt(d, x), O && xt(d, x);
|
|
458
458
|
}
|
|
459
|
-
return
|
|
459
|
+
return Et(e, f, O, v, s, Ve.current, d);
|
|
460
460
|
}
|
|
461
461
|
}
|
|
462
|
-
var me = W.ReactCurrentOwner,
|
|
462
|
+
var me = W.ReactCurrentOwner, He = W.ReactDebugCurrentFrame;
|
|
463
463
|
function V(e) {
|
|
464
464
|
if (e) {
|
|
465
465
|
var t = e._owner, o = oe(e.type, e._source, t ? t.type : null);
|
|
466
|
-
|
|
466
|
+
He.setExtraStackFrame(o);
|
|
467
467
|
} else
|
|
468
|
-
|
|
468
|
+
He.setExtraStackFrame(null);
|
|
469
469
|
}
|
|
470
470
|
var be;
|
|
471
471
|
be = !1;
|
|
472
472
|
function _e(e) {
|
|
473
473
|
return typeof e == "object" && e !== null && e.$$typeof === n;
|
|
474
474
|
}
|
|
475
|
-
function
|
|
475
|
+
function Je() {
|
|
476
476
|
{
|
|
477
477
|
if (me.current) {
|
|
478
478
|
var e = T(me.current.type);
|
|
@@ -484,13 +484,13 @@ Check the render method of \`` + e + "`.";
|
|
|
484
484
|
return "";
|
|
485
485
|
}
|
|
486
486
|
}
|
|
487
|
-
function
|
|
487
|
+
function Ot(e) {
|
|
488
488
|
return "";
|
|
489
489
|
}
|
|
490
|
-
var
|
|
491
|
-
function
|
|
490
|
+
var Ke = {};
|
|
491
|
+
function At(e) {
|
|
492
492
|
{
|
|
493
|
-
var t =
|
|
493
|
+
var t = Je();
|
|
494
494
|
if (!t) {
|
|
495
495
|
var o = typeof e == "string" ? e : e.displayName || e.name;
|
|
496
496
|
o && (t = `
|
|
@@ -500,27 +500,27 @@ Check the top-level render call using <` + o + ">.");
|
|
|
500
500
|
return t;
|
|
501
501
|
}
|
|
502
502
|
}
|
|
503
|
-
function
|
|
503
|
+
function Ge(e, t) {
|
|
504
504
|
{
|
|
505
505
|
if (!e._store || e._store.validated || e.key != null)
|
|
506
506
|
return;
|
|
507
507
|
e._store.validated = !0;
|
|
508
|
-
var o =
|
|
509
|
-
if (
|
|
508
|
+
var o = At(t);
|
|
509
|
+
if (Ke[o])
|
|
510
510
|
return;
|
|
511
|
-
|
|
511
|
+
Ke[o] = !0;
|
|
512
512
|
var s = "";
|
|
513
513
|
e && e._owner && e._owner !== me.current && (s = " It was passed a child from " + T(e._owner.type) + "."), V(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.', o, s), V(null);
|
|
514
514
|
}
|
|
515
515
|
}
|
|
516
|
-
function
|
|
516
|
+
function Ze(e, t) {
|
|
517
517
|
{
|
|
518
518
|
if (typeof e != "object")
|
|
519
519
|
return;
|
|
520
520
|
if (ye(e))
|
|
521
521
|
for (var o = 0; o < e.length; o++) {
|
|
522
522
|
var s = e[o];
|
|
523
|
-
_e(s) &&
|
|
523
|
+
_e(s) && Ge(s, t);
|
|
524
524
|
}
|
|
525
525
|
else if (_e(e))
|
|
526
526
|
e._store && (e._store.validated = !0);
|
|
@@ -528,11 +528,11 @@ Check the top-level render call using <` + o + ">.");
|
|
|
528
528
|
var v = pe(e);
|
|
529
529
|
if (typeof v == "function" && v !== e.entries)
|
|
530
530
|
for (var y = v.call(e), d; !(d = y.next()).done; )
|
|
531
|
-
_e(d.value) &&
|
|
531
|
+
_e(d.value) && Ge(d.value, t);
|
|
532
532
|
}
|
|
533
533
|
}
|
|
534
534
|
}
|
|
535
|
-
function
|
|
535
|
+
function Ct(e) {
|
|
536
536
|
{
|
|
537
537
|
var t = e.type;
|
|
538
538
|
if (t == null || typeof t == "string")
|
|
@@ -548,7 +548,7 @@ Check the top-level render call using <` + o + ">.");
|
|
|
548
548
|
return;
|
|
549
549
|
if (o) {
|
|
550
550
|
var s = T(t);
|
|
551
|
-
|
|
551
|
+
ht(o, e.props, "prop", s, e);
|
|
552
552
|
} else if (t.PropTypes !== void 0 && !be) {
|
|
553
553
|
be = !0;
|
|
554
554
|
var v = T(t);
|
|
@@ -557,7 +557,7 @@ Check the top-level render call using <` + o + ">.");
|
|
|
557
557
|
typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && j("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
558
558
|
}
|
|
559
559
|
}
|
|
560
|
-
function
|
|
560
|
+
function Pt(e) {
|
|
561
561
|
{
|
|
562
562
|
for (var t = Object.keys(e.props), o = 0; o < t.length; o++) {
|
|
563
563
|
var s = t[o];
|
|
@@ -569,19 +569,19 @@ Check the top-level render call using <` + o + ">.");
|
|
|
569
569
|
e.ref !== null && (V(e), j("Invalid attribute `ref` supplied to `React.Fragment`."), V(null));
|
|
570
570
|
}
|
|
571
571
|
}
|
|
572
|
-
var
|
|
573
|
-
function
|
|
572
|
+
var Xe = {};
|
|
573
|
+
function Qe(e, t, o, s, v, y) {
|
|
574
574
|
{
|
|
575
575
|
var d = N(e);
|
|
576
576
|
if (!d) {
|
|
577
577
|
var f = "";
|
|
578
578
|
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (f += " 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 O =
|
|
580
|
-
O ? f += O : f +=
|
|
579
|
+
var O = Ot();
|
|
580
|
+
O ? f += O : f += Je();
|
|
581
581
|
var R;
|
|
582
582
|
e === null ? R = "null" : ye(e) ? R = "array" : e !== void 0 && e.$$typeof === n ? (R = "<" + (T(e.type) || "Unknown") + " />", f = " Did you accidentally export a JSX literal instead of a component?") : R = 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", R, f);
|
|
583
583
|
}
|
|
584
|
-
var x =
|
|
584
|
+
var x = jt(e, t, o, v, y);
|
|
585
585
|
if (x == null)
|
|
586
586
|
return x;
|
|
587
587
|
if (d) {
|
|
@@ -590,44 +590,49 @@ Check the top-level render call using <` + o + ">.");
|
|
|
590
590
|
if (s)
|
|
591
591
|
if (ye(P)) {
|
|
592
592
|
for (var z = 0; z < P.length; z++)
|
|
593
|
-
|
|
593
|
+
Ze(P[z], e);
|
|
594
594
|
Object.freeze && Object.freeze(P);
|
|
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
|
+
Ze(P, e);
|
|
599
599
|
}
|
|
600
600
|
if (K.call(t, "key")) {
|
|
601
|
-
var L = T(e), C = Object.keys(t).filter(function(
|
|
602
|
-
return
|
|
601
|
+
var L = T(e), C = Object.keys(t).filter(function(It) {
|
|
602
|
+
return It !== "key";
|
|
603
603
|
}), Re = C.length > 0 ? "{key: someKey, " + C.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
604
|
-
if (!
|
|
605
|
-
var
|
|
604
|
+
if (!Xe[L + Re]) {
|
|
605
|
+
var Bt = C.length > 0 ? "{" + C.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} />`, Re, L,
|
|
611
|
+
<%s key={someKey} {...props} />`, Re, L, Bt, L), Xe[L + Re] = !0;
|
|
612
612
|
}
|
|
613
613
|
}
|
|
614
|
-
return e === c ?
|
|
614
|
+
return e === c ? Pt(x) : Ct(x), x;
|
|
615
615
|
}
|
|
616
616
|
}
|
|
617
|
-
function Pt(e, t, o) {
|
|
618
|
-
return Xe(e, t, o, !0);
|
|
619
|
-
}
|
|
620
617
|
function wt(e, t, o) {
|
|
621
|
-
return
|
|
618
|
+
return Qe(e, t, o, !0);
|
|
619
|
+
}
|
|
620
|
+
function Tt(e, t, o) {
|
|
621
|
+
return Qe(e, t, o, !1);
|
|
622
622
|
}
|
|
623
|
-
var
|
|
624
|
-
|
|
625
|
-
}()),
|
|
623
|
+
var $t = Tt, Nt = wt;
|
|
624
|
+
tt.Fragment = c, tt.jsx = $t, tt.jsxs = Nt;
|
|
625
|
+
}()), tt;
|
|
626
626
|
}
|
|
627
|
-
process.env.NODE_ENV === "production" ?
|
|
628
|
-
var i =
|
|
627
|
+
process.env.NODE_ENV === "production" ? Ft.exports = or() : Ft.exports = ar();
|
|
628
|
+
var i = Ft.exports;
|
|
629
|
+
const sr = "_o_1oamq_11", ir = "_x_1oamq_25", lr = "_p_1oamq_29", ot = {
|
|
630
|
+
o: sr,
|
|
631
|
+
x: ir,
|
|
632
|
+
p: lr
|
|
633
|
+
};
|
|
629
634
|
let q = {};
|
|
630
|
-
var
|
|
635
|
+
var Wt;
|
|
631
636
|
((r) => {
|
|
632
637
|
function n({
|
|
633
638
|
children: b,
|
|
@@ -644,7 +649,7 @@ var Ft;
|
|
|
644
649
|
callback: () => q[S].onClose()
|
|
645
650
|
}), g(!0));
|
|
646
651
|
}, []), !!h)
|
|
647
|
-
return /* @__PURE__ */ i.jsx("div", { className:
|
|
652
|
+
return /* @__PURE__ */ i.jsx("div", { className: Pe(ot.o, m && ot.x), children: /* @__PURE__ */ i.jsx("div", { className: Pe(ot.p, m && ot.x), children: /* @__PURE__ */ i.jsx("div", { children: b }) }) });
|
|
648
653
|
}
|
|
649
654
|
r.Content = n;
|
|
650
655
|
function a({
|
|
@@ -707,23 +712,23 @@ var Ft;
|
|
|
707
712
|
}));
|
|
708
713
|
}
|
|
709
714
|
r.Open = k;
|
|
710
|
-
})(
|
|
711
|
-
function
|
|
715
|
+
})(Wt || (Wt = {}));
|
|
716
|
+
function Zt() {
|
|
712
717
|
return typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof self < "u" ? self : typeof global < "u" ? global : {};
|
|
713
718
|
}
|
|
714
|
-
const
|
|
719
|
+
const Xt = {
|
|
715
720
|
key: "Y0zt37HgOx-BY7SQjYVmrqhPkO41Ii2Jcb9yydUDPf6",
|
|
716
721
|
iterations: 7,
|
|
717
722
|
saltLength: 16
|
|
718
723
|
};
|
|
719
|
-
function
|
|
720
|
-
const n =
|
|
721
|
-
n.CRYPTO_PARAMS ? n.CRYPTO_PARAMS = { ...n.CRYPTO_PARAMS, ...r } : n.CRYPTO_PARAMS = { ...
|
|
724
|
+
function Vt(r) {
|
|
725
|
+
const n = Zt();
|
|
726
|
+
n.CRYPTO_PARAMS ? n.CRYPTO_PARAMS = { ...n.CRYPTO_PARAMS, ...r } : n.CRYPTO_PARAMS = { ...Xt, ...r };
|
|
722
727
|
}
|
|
723
|
-
function
|
|
724
|
-
return
|
|
728
|
+
function it() {
|
|
729
|
+
return Zt().CRYPTO_PARAMS || Xt;
|
|
725
730
|
}
|
|
726
|
-
const
|
|
731
|
+
const lt = (r) => {
|
|
727
732
|
let n = 0;
|
|
728
733
|
for (let c = 0; c < r.length; c++) {
|
|
729
734
|
const l = r.charCodeAt(c);
|
|
@@ -736,15 +741,15 @@ const st = (r) => {
|
|
|
736
741
|
a += l.toString(16).padStart(2, "0");
|
|
737
742
|
}
|
|
738
743
|
return a;
|
|
739
|
-
},
|
|
744
|
+
}, Qt = (r, n) => {
|
|
740
745
|
let a = r + n;
|
|
741
|
-
for (let l = 0; l <
|
|
742
|
-
a =
|
|
746
|
+
for (let l = 0; l < it().iterations; l++)
|
|
747
|
+
a = lt(a);
|
|
743
748
|
const c = new Uint8Array(32);
|
|
744
749
|
for (let l = 0; l < 32; l++)
|
|
745
750
|
c[l] = parseInt(a.substring(l * 2, l * 2 + 2), 16);
|
|
746
751
|
return c;
|
|
747
|
-
},
|
|
752
|
+
}, er = (r, n) => {
|
|
748
753
|
const a = new Uint8Array(r.length), c = new Uint8Array(r.length);
|
|
749
754
|
let l = 0;
|
|
750
755
|
for (let p = 0; p < r.length; p++) {
|
|
@@ -754,34 +759,34 @@ const st = (r) => {
|
|
|
754
759
|
for (let p = 0; p < r.length; p++)
|
|
755
760
|
a[p] = r[p] ^ c[p];
|
|
756
761
|
return a;
|
|
757
|
-
},
|
|
762
|
+
}, cr = (r) => new TextEncoder().encode(r), ur = (r) => new TextDecoder().decode(r), fr = (r) => {
|
|
758
763
|
let n = "";
|
|
759
764
|
for (let a = 0; a < r.length; a += 8192) {
|
|
760
765
|
const c = r.slice(a, Math.min(a + 8192, r.length));
|
|
761
766
|
n += String.fromCharCode.apply(null, Array.from(c));
|
|
762
767
|
}
|
|
763
768
|
return btoa(n);
|
|
764
|
-
},
|
|
769
|
+
}, dr = (r) => {
|
|
765
770
|
const n = atob(r), a = new Uint8Array(n.length);
|
|
766
771
|
for (let c = 0; c < n.length; c++)
|
|
767
772
|
a[c] = n.charCodeAt(c);
|
|
768
773
|
return a;
|
|
769
|
-
},
|
|
774
|
+
}, pr = (r) => {
|
|
770
775
|
try {
|
|
771
|
-
const n =
|
|
776
|
+
const n = lt(
|
|
772
777
|
Date.now().toString() + Math.random()
|
|
773
|
-
).substring(0,
|
|
778
|
+
).substring(0, it().saltLength * 2), a = lt(r + n).substring(0, 8), c = Qt(it().key, n), l = cr(r), p = er(l, c), k = fr(p);
|
|
774
779
|
return `${n}.${k}.${a}`;
|
|
775
780
|
} catch {
|
|
776
781
|
throw new Error("Не удалось зашифровать данные");
|
|
777
782
|
}
|
|
778
|
-
},
|
|
783
|
+
}, vr = (r) => {
|
|
779
784
|
try {
|
|
780
785
|
const n = r.split(".");
|
|
781
786
|
if (n.length !== 3)
|
|
782
787
|
throw new Error("Неверный формат зашифрованных данных");
|
|
783
|
-
const a = n[0], c = n[1], l = n[2], p =
|
|
784
|
-
if (
|
|
788
|
+
const a = n[0], c = n[1], l = n[2], p = Qt(it().key, a), k = dr(c), b = er(k, p), u = ur(b);
|
|
789
|
+
if (lt(u + a).substring(
|
|
785
790
|
0,
|
|
786
791
|
8
|
|
787
792
|
) !== l)
|
|
@@ -794,11 +799,11 @@ const st = (r) => {
|
|
|
794
799
|
var ue;
|
|
795
800
|
((r) => {
|
|
796
801
|
r.setKey = (n) => {
|
|
797
|
-
|
|
802
|
+
Vt({ key: n });
|
|
798
803
|
}, r.enCode = (n) => {
|
|
799
804
|
try {
|
|
800
805
|
const a = JSON.stringify(n);
|
|
801
|
-
return
|
|
806
|
+
return pr(a);
|
|
802
807
|
} catch {
|
|
803
808
|
throw new Error("Не удалось зашифровать объект");
|
|
804
809
|
}
|
|
@@ -806,16 +811,16 @@ var ue;
|
|
|
806
811
|
try {
|
|
807
812
|
if (!n || n.length < 10)
|
|
808
813
|
return !1;
|
|
809
|
-
const a =
|
|
814
|
+
const a = vr(n);
|
|
810
815
|
return a && JSON.parse(a) || !1;
|
|
811
816
|
} catch {
|
|
812
817
|
return !1;
|
|
813
818
|
}
|
|
814
819
|
}, r.setSecurityParams = (n, a) => {
|
|
815
|
-
|
|
820
|
+
Vt({ iterations: n, saltLength: a });
|
|
816
821
|
};
|
|
817
822
|
})(ue || (ue = {}));
|
|
818
|
-
var
|
|
823
|
+
var rt = {};
|
|
819
824
|
/**
|
|
820
825
|
* @license React
|
|
821
826
|
* react-jsx-runtime.production.min.js
|
|
@@ -825,10 +830,10 @@ var tt = {};
|
|
|
825
830
|
* This source code is licensed under the MIT license found in the
|
|
826
831
|
* LICENSE file in the root directory of this source tree.
|
|
827
832
|
*/
|
|
828
|
-
var
|
|
829
|
-
function
|
|
830
|
-
if (
|
|
831
|
-
|
|
833
|
+
var zt;
|
|
834
|
+
function hr() {
|
|
835
|
+
if (zt) return rt;
|
|
836
|
+
zt = 1;
|
|
832
837
|
var r = F, n = Symbol.for("react.element"), a = Symbol.for("react.fragment"), c = Object.prototype.hasOwnProperty, l = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, p = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
833
838
|
function k(b, u, S) {
|
|
834
839
|
var h, g = {}, m = null, w = null;
|
|
@@ -837,9 +842,9 @@ function fr() {
|
|
|
837
842
|
if (b && b.defaultProps) for (h in u = b.defaultProps, u) g[h] === void 0 && (g[h] = u[h]);
|
|
838
843
|
return { $$typeof: n, type: b, key: m, ref: w, props: g, _owner: l.current };
|
|
839
844
|
}
|
|
840
|
-
return
|
|
845
|
+
return rt.Fragment = a, rt.jsx = k, rt.jsxs = k, rt;
|
|
841
846
|
}
|
|
842
|
-
var
|
|
847
|
+
var at = {};
|
|
843
848
|
/**
|
|
844
849
|
* @license React
|
|
845
850
|
* react-jsx-runtime.development.js
|
|
@@ -849,14 +854,14 @@ var nt = {};
|
|
|
849
854
|
* This source code is licensed under the MIT license found in the
|
|
850
855
|
* LICENSE file in the root directory of this source tree.
|
|
851
856
|
*/
|
|
852
|
-
var
|
|
853
|
-
function
|
|
854
|
-
return
|
|
855
|
-
var r = F, n = Symbol.for("react.element"), a = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), l = Symbol.for("react.strict_mode"), p = Symbol.for("react.profiler"), k = Symbol.for("react.provider"), b = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), S = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), g = Symbol.for("react.memo"), m = Symbol.for("react.lazy"), w = Symbol.for("react.offscreen"), I = Symbol.iterator,
|
|
857
|
+
var qt;
|
|
858
|
+
function gr() {
|
|
859
|
+
return qt || (qt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
860
|
+
var r = F, n = Symbol.for("react.element"), a = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), l = Symbol.for("react.strict_mode"), p = Symbol.for("react.profiler"), k = Symbol.for("react.provider"), b = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), S = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), g = Symbol.for("react.memo"), m = Symbol.for("react.lazy"), w = Symbol.for("react.offscreen"), I = Symbol.iterator, we = "@@iterator";
|
|
856
861
|
function pe(e) {
|
|
857
862
|
if (e === null || typeof e != "object")
|
|
858
863
|
return null;
|
|
859
|
-
var t = I && e[I] || e[
|
|
864
|
+
var t = I && e[I] || e[we];
|
|
860
865
|
return typeof t == "function" ? t : null;
|
|
861
866
|
}
|
|
862
867
|
var W = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
@@ -864,10 +869,10 @@ function dr() {
|
|
|
864
869
|
{
|
|
865
870
|
for (var t = arguments.length, o = new Array(t > 1 ? t - 1 : 0), s = 1; s < t; s++)
|
|
866
871
|
o[s - 1] = arguments[s];
|
|
867
|
-
|
|
872
|
+
Te("error", e, o);
|
|
868
873
|
}
|
|
869
874
|
}
|
|
870
|
-
function
|
|
875
|
+
function Te(e, t, o) {
|
|
871
876
|
{
|
|
872
877
|
var s = W.ReactDebugCurrentFrame, v = s.getStackAddendum();
|
|
873
878
|
v !== "" && (t += "%s", o = o.concat([v]));
|
|
@@ -877,10 +882,10 @@ function dr() {
|
|
|
877
882
|
y.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, y);
|
|
878
883
|
}
|
|
879
884
|
}
|
|
880
|
-
var
|
|
885
|
+
var $e = !1, Oe = !1, Ne = !1, Be = !1, _ = !1, E;
|
|
881
886
|
E = Symbol.for("react.module.reference");
|
|
882
887
|
function N(e) {
|
|
883
|
-
return !!(typeof e == "string" || typeof e == "function" || e === c || e === p || _ || e === l || e === S || e === h ||
|
|
888
|
+
return !!(typeof e == "string" || typeof e == "function" || e === c || e === p || _ || e === l || e === S || e === h || Be || e === w || $e || Oe || Ne || typeof e == "object" && e !== null && (e.$$typeof === m || e.$$typeof === g || e.$$typeof === k || e.$$typeof === b || e.$$typeof === u || // This needs to include all possible module reference object
|
|
884
889
|
// types supported by any Flight configuration anywhere since
|
|
885
890
|
// we don't know which Flight build this will end up being used
|
|
886
891
|
// with.
|
|
@@ -941,18 +946,18 @@ function dr() {
|
|
|
941
946
|
}
|
|
942
947
|
return null;
|
|
943
948
|
}
|
|
944
|
-
var D = Object.assign, Y = 0, ce, Z, X, Q, ee,
|
|
945
|
-
function
|
|
949
|
+
var D = Object.assign, Y = 0, ce, Z, X, Q, ee, Ie, Me;
|
|
950
|
+
function De() {
|
|
946
951
|
}
|
|
947
|
-
|
|
948
|
-
function
|
|
952
|
+
De.__reactDisabledLog = !0;
|
|
953
|
+
function ut() {
|
|
949
954
|
{
|
|
950
955
|
if (Y === 0) {
|
|
951
|
-
ce = console.log, Z = console.info, X = console.warn, Q = console.error, ee = console.group,
|
|
956
|
+
ce = console.log, Z = console.info, X = console.warn, Q = console.error, ee = console.group, Ie = console.groupCollapsed, Me = console.groupEnd;
|
|
952
957
|
var e = {
|
|
953
958
|
configurable: !0,
|
|
954
959
|
enumerable: !0,
|
|
955
|
-
value:
|
|
960
|
+
value: De,
|
|
956
961
|
writable: !0
|
|
957
962
|
};
|
|
958
963
|
Object.defineProperties(console, {
|
|
@@ -968,7 +973,7 @@ function dr() {
|
|
|
968
973
|
Y++;
|
|
969
974
|
}
|
|
970
975
|
}
|
|
971
|
-
function
|
|
976
|
+
function ft() {
|
|
972
977
|
{
|
|
973
978
|
if (Y--, Y === 0) {
|
|
974
979
|
var e = {
|
|
@@ -993,10 +998,10 @@ function dr() {
|
|
|
993
998
|
value: ee
|
|
994
999
|
}),
|
|
995
1000
|
groupCollapsed: D({}, e, {
|
|
996
|
-
value:
|
|
1001
|
+
value: Ie
|
|
997
1002
|
}),
|
|
998
1003
|
groupEnd: D({}, e, {
|
|
999
|
-
value:
|
|
1004
|
+
value: Me
|
|
1000
1005
|
})
|
|
1001
1006
|
});
|
|
1002
1007
|
}
|
|
@@ -1019,10 +1024,10 @@ function dr() {
|
|
|
1019
1024
|
}
|
|
1020
1025
|
var ge = !1, ne;
|
|
1021
1026
|
{
|
|
1022
|
-
var
|
|
1023
|
-
ne = new
|
|
1027
|
+
var dt = typeof WeakMap == "function" ? WeakMap : Map;
|
|
1028
|
+
ne = new dt();
|
|
1024
1029
|
}
|
|
1025
|
-
function
|
|
1030
|
+
function Fe(e, t) {
|
|
1026
1031
|
if (!e || ge)
|
|
1027
1032
|
return "";
|
|
1028
1033
|
{
|
|
@@ -1035,7 +1040,7 @@ function dr() {
|
|
|
1035
1040
|
var v = Error.prepareStackTrace;
|
|
1036
1041
|
Error.prepareStackTrace = void 0;
|
|
1037
1042
|
var y;
|
|
1038
|
-
y = ve.current, ve.current = null,
|
|
1043
|
+
y = ve.current, ve.current = null, ut();
|
|
1039
1044
|
try {
|
|
1040
1045
|
if (t) {
|
|
1041
1046
|
var d = function() {
|
|
@@ -1088,15 +1093,15 @@ function dr() {
|
|
|
1088
1093
|
}
|
|
1089
1094
|
}
|
|
1090
1095
|
} finally {
|
|
1091
|
-
ge = !1, ve.current = y,
|
|
1096
|
+
ge = !1, ve.current = y, ft(), Error.prepareStackTrace = v;
|
|
1092
1097
|
}
|
|
1093
1098
|
var z = e ? e.displayName || e.name : "", L = z ? re(z) : "";
|
|
1094
1099
|
return typeof e == "function" && ne.set(e, L), L;
|
|
1095
1100
|
}
|
|
1096
|
-
function
|
|
1097
|
-
return
|
|
1101
|
+
function pt(e, t, o) {
|
|
1102
|
+
return Fe(e, !1);
|
|
1098
1103
|
}
|
|
1099
|
-
function
|
|
1104
|
+
function vt(e) {
|
|
1100
1105
|
var t = e.prototype;
|
|
1101
1106
|
return !!(t && t.isReactComponent);
|
|
1102
1107
|
}
|
|
@@ -1104,7 +1109,7 @@ function dr() {
|
|
|
1104
1109
|
if (e == null)
|
|
1105
1110
|
return "";
|
|
1106
1111
|
if (typeof e == "function")
|
|
1107
|
-
return
|
|
1112
|
+
return Fe(e, vt(e));
|
|
1108
1113
|
if (typeof e == "string")
|
|
1109
1114
|
return re(e);
|
|
1110
1115
|
switch (e) {
|
|
@@ -1116,7 +1121,7 @@ function dr() {
|
|
|
1116
1121
|
if (typeof e == "object")
|
|
1117
1122
|
switch (e.$$typeof) {
|
|
1118
1123
|
case u:
|
|
1119
|
-
return
|
|
1124
|
+
return pt(e.render);
|
|
1120
1125
|
case g:
|
|
1121
1126
|
return oe(e.type, t, o);
|
|
1122
1127
|
case m: {
|
|
@@ -1129,15 +1134,15 @@ function dr() {
|
|
|
1129
1134
|
}
|
|
1130
1135
|
return "";
|
|
1131
1136
|
}
|
|
1132
|
-
var K = Object.prototype.hasOwnProperty,
|
|
1137
|
+
var K = Object.prototype.hasOwnProperty, We = {}, Le = W.ReactDebugCurrentFrame;
|
|
1133
1138
|
function ae(e) {
|
|
1134
1139
|
if (e) {
|
|
1135
1140
|
var t = e._owner, o = oe(e.type, e._source, t ? t.type : null);
|
|
1136
|
-
|
|
1141
|
+
Le.setExtraStackFrame(o);
|
|
1137
1142
|
} else
|
|
1138
|
-
|
|
1143
|
+
Le.setExtraStackFrame(null);
|
|
1139
1144
|
}
|
|
1140
|
-
function
|
|
1145
|
+
function ht(e, t, o, s, v) {
|
|
1141
1146
|
{
|
|
1142
1147
|
var y = Function.call.bind(K);
|
|
1143
1148
|
for (var d in e)
|
|
@@ -1152,41 +1157,41 @@ function dr() {
|
|
|
1152
1157
|
} catch (R) {
|
|
1153
1158
|
f = R;
|
|
1154
1159
|
}
|
|
1155
|
-
f && !(f instanceof Error) && (ae(v), 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).", s || "React class", o, d, typeof f), ae(null)), f instanceof Error && !(f.message in
|
|
1160
|
+
f && !(f instanceof Error) && (ae(v), 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).", s || "React class", o, d, typeof f), ae(null)), f instanceof Error && !(f.message in We) && (We[f.message] = !0, ae(v), j("Failed %s type: %s", o, f.message), ae(null));
|
|
1156
1161
|
}
|
|
1157
1162
|
}
|
|
1158
1163
|
}
|
|
1159
|
-
var
|
|
1164
|
+
var gt = Array.isArray;
|
|
1160
1165
|
function ye(e) {
|
|
1161
|
-
return
|
|
1166
|
+
return gt(e);
|
|
1162
1167
|
}
|
|
1163
|
-
function
|
|
1168
|
+
function yt(e) {
|
|
1164
1169
|
{
|
|
1165
1170
|
var t = typeof Symbol == "function" && Symbol.toStringTag, o = t && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
1166
1171
|
return o;
|
|
1167
1172
|
}
|
|
1168
1173
|
}
|
|
1169
|
-
function
|
|
1174
|
+
function mt(e) {
|
|
1170
1175
|
try {
|
|
1171
|
-
return
|
|
1176
|
+
return Ue(e), !1;
|
|
1172
1177
|
} catch {
|
|
1173
1178
|
return !0;
|
|
1174
1179
|
}
|
|
1175
1180
|
}
|
|
1176
|
-
function
|
|
1181
|
+
function Ue(e) {
|
|
1177
1182
|
return "" + e;
|
|
1178
1183
|
}
|
|
1179
|
-
function
|
|
1180
|
-
if (
|
|
1181
|
-
return j("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",
|
|
1184
|
+
function Ye(e) {
|
|
1185
|
+
if (mt(e))
|
|
1186
|
+
return j("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", yt(e)), Ue(e);
|
|
1182
1187
|
}
|
|
1183
|
-
var
|
|
1188
|
+
var Ve = W.ReactCurrentOwner, bt = {
|
|
1184
1189
|
key: !0,
|
|
1185
1190
|
ref: !0,
|
|
1186
1191
|
__self: !0,
|
|
1187
1192
|
__source: !0
|
|
1188
|
-
},
|
|
1189
|
-
function
|
|
1193
|
+
}, ze, qe;
|
|
1194
|
+
function _t(e) {
|
|
1190
1195
|
if (K.call(e, "ref")) {
|
|
1191
1196
|
var t = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
1192
1197
|
if (t && t.isReactWarning)
|
|
@@ -1194,7 +1199,7 @@ function dr() {
|
|
|
1194
1199
|
}
|
|
1195
1200
|
return e.ref !== void 0;
|
|
1196
1201
|
}
|
|
1197
|
-
function
|
|
1202
|
+
function Rt(e) {
|
|
1198
1203
|
if (K.call(e, "key")) {
|
|
1199
1204
|
var t = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
1200
1205
|
if (t && t.isReactWarning)
|
|
@@ -1202,13 +1207,13 @@ function dr() {
|
|
|
1202
1207
|
}
|
|
1203
1208
|
return e.key !== void 0;
|
|
1204
1209
|
}
|
|
1205
|
-
function Rt(e, t) {
|
|
1206
|
-
typeof e.ref == "string" && Ye.current;
|
|
1207
|
-
}
|
|
1208
1210
|
function St(e, t) {
|
|
1211
|
+
typeof e.ref == "string" && Ve.current;
|
|
1212
|
+
}
|
|
1213
|
+
function kt(e, t) {
|
|
1209
1214
|
{
|
|
1210
1215
|
var o = function() {
|
|
1211
|
-
|
|
1216
|
+
ze || (ze = !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)", t));
|
|
1212
1217
|
};
|
|
1213
1218
|
o.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
1214
1219
|
get: o,
|
|
@@ -1216,10 +1221,10 @@ function dr() {
|
|
|
1216
1221
|
});
|
|
1217
1222
|
}
|
|
1218
1223
|
}
|
|
1219
|
-
function
|
|
1224
|
+
function xt(e, t) {
|
|
1220
1225
|
{
|
|
1221
1226
|
var o = function() {
|
|
1222
|
-
|
|
1227
|
+
qe || (qe = !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)", t));
|
|
1223
1228
|
};
|
|
1224
1229
|
o.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
1225
1230
|
get: o,
|
|
@@ -1227,7 +1232,7 @@ function dr() {
|
|
|
1227
1232
|
});
|
|
1228
1233
|
}
|
|
1229
1234
|
}
|
|
1230
|
-
var
|
|
1235
|
+
var Et = function(e, t, o, s, v, y, d) {
|
|
1231
1236
|
var f = {
|
|
1232
1237
|
// This tag allows us to uniquely identify this as a React Element
|
|
1233
1238
|
$$typeof: n,
|
|
@@ -1256,12 +1261,12 @@ function dr() {
|
|
|
1256
1261
|
value: v
|
|
1257
1262
|
}), Object.freeze && (Object.freeze(f.props), Object.freeze(f)), f;
|
|
1258
1263
|
};
|
|
1259
|
-
function
|
|
1264
|
+
function jt(e, t, o, s, v) {
|
|
1260
1265
|
{
|
|
1261
1266
|
var y, d = {}, f = null, O = null;
|
|
1262
|
-
o !== void 0 && (
|
|
1267
|
+
o !== void 0 && (Ye(o), f = "" + o), Rt(t) && (Ye(t.key), f = "" + t.key), _t(t) && (O = t.ref, St(t));
|
|
1263
1268
|
for (y in t)
|
|
1264
|
-
K.call(t, y) && !
|
|
1269
|
+
K.call(t, y) && !bt.hasOwnProperty(y) && (d[y] = t[y]);
|
|
1265
1270
|
if (e && e.defaultProps) {
|
|
1266
1271
|
var R = e.defaultProps;
|
|
1267
1272
|
for (y in R)
|
|
@@ -1269,25 +1274,25 @@ function dr() {
|
|
|
1269
1274
|
}
|
|
1270
1275
|
if (f || O) {
|
|
1271
1276
|
var x = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
1272
|
-
f &&
|
|
1277
|
+
f && kt(d, x), O && xt(d, x);
|
|
1273
1278
|
}
|
|
1274
|
-
return
|
|
1279
|
+
return Et(e, f, O, v, s, Ve.current, d);
|
|
1275
1280
|
}
|
|
1276
1281
|
}
|
|
1277
|
-
var me = W.ReactCurrentOwner,
|
|
1282
|
+
var me = W.ReactCurrentOwner, He = W.ReactDebugCurrentFrame;
|
|
1278
1283
|
function V(e) {
|
|
1279
1284
|
if (e) {
|
|
1280
1285
|
var t = e._owner, o = oe(e.type, e._source, t ? t.type : null);
|
|
1281
|
-
|
|
1286
|
+
He.setExtraStackFrame(o);
|
|
1282
1287
|
} else
|
|
1283
|
-
|
|
1288
|
+
He.setExtraStackFrame(null);
|
|
1284
1289
|
}
|
|
1285
1290
|
var be;
|
|
1286
1291
|
be = !1;
|
|
1287
1292
|
function _e(e) {
|
|
1288
1293
|
return typeof e == "object" && e !== null && e.$$typeof === n;
|
|
1289
1294
|
}
|
|
1290
|
-
function
|
|
1295
|
+
function Je() {
|
|
1291
1296
|
{
|
|
1292
1297
|
if (me.current) {
|
|
1293
1298
|
var e = T(me.current.type);
|
|
@@ -1299,13 +1304,13 @@ Check the render method of \`` + e + "`.";
|
|
|
1299
1304
|
return "";
|
|
1300
1305
|
}
|
|
1301
1306
|
}
|
|
1302
|
-
function
|
|
1307
|
+
function Ot(e) {
|
|
1303
1308
|
return "";
|
|
1304
1309
|
}
|
|
1305
|
-
var
|
|
1306
|
-
function
|
|
1310
|
+
var Ke = {};
|
|
1311
|
+
function At(e) {
|
|
1307
1312
|
{
|
|
1308
|
-
var t =
|
|
1313
|
+
var t = Je();
|
|
1309
1314
|
if (!t) {
|
|
1310
1315
|
var o = typeof e == "string" ? e : e.displayName || e.name;
|
|
1311
1316
|
o && (t = `
|
|
@@ -1315,27 +1320,27 @@ Check the top-level render call using <` + o + ">.");
|
|
|
1315
1320
|
return t;
|
|
1316
1321
|
}
|
|
1317
1322
|
}
|
|
1318
|
-
function
|
|
1323
|
+
function Ge(e, t) {
|
|
1319
1324
|
{
|
|
1320
1325
|
if (!e._store || e._store.validated || e.key != null)
|
|
1321
1326
|
return;
|
|
1322
1327
|
e._store.validated = !0;
|
|
1323
|
-
var o =
|
|
1324
|
-
if (
|
|
1328
|
+
var o = At(t);
|
|
1329
|
+
if (Ke[o])
|
|
1325
1330
|
return;
|
|
1326
|
-
|
|
1331
|
+
Ke[o] = !0;
|
|
1327
1332
|
var s = "";
|
|
1328
1333
|
e && e._owner && e._owner !== me.current && (s = " It was passed a child from " + T(e._owner.type) + "."), V(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.', o, s), V(null);
|
|
1329
1334
|
}
|
|
1330
1335
|
}
|
|
1331
|
-
function
|
|
1336
|
+
function Ze(e, t) {
|
|
1332
1337
|
{
|
|
1333
1338
|
if (typeof e != "object")
|
|
1334
1339
|
return;
|
|
1335
1340
|
if (ye(e))
|
|
1336
1341
|
for (var o = 0; o < e.length; o++) {
|
|
1337
1342
|
var s = e[o];
|
|
1338
|
-
_e(s) &&
|
|
1343
|
+
_e(s) && Ge(s, t);
|
|
1339
1344
|
}
|
|
1340
1345
|
else if (_e(e))
|
|
1341
1346
|
e._store && (e._store.validated = !0);
|
|
@@ -1343,11 +1348,11 @@ Check the top-level render call using <` + o + ">.");
|
|
|
1343
1348
|
var v = pe(e);
|
|
1344
1349
|
if (typeof v == "function" && v !== e.entries)
|
|
1345
1350
|
for (var y = v.call(e), d; !(d = y.next()).done; )
|
|
1346
|
-
_e(d.value) &&
|
|
1351
|
+
_e(d.value) && Ge(d.value, t);
|
|
1347
1352
|
}
|
|
1348
1353
|
}
|
|
1349
1354
|
}
|
|
1350
|
-
function
|
|
1355
|
+
function Ct(e) {
|
|
1351
1356
|
{
|
|
1352
1357
|
var t = e.type;
|
|
1353
1358
|
if (t == null || typeof t == "string")
|
|
@@ -1363,7 +1368,7 @@ Check the top-level render call using <` + o + ">.");
|
|
|
1363
1368
|
return;
|
|
1364
1369
|
if (o) {
|
|
1365
1370
|
var s = T(t);
|
|
1366
|
-
|
|
1371
|
+
ht(o, e.props, "prop", s, e);
|
|
1367
1372
|
} else if (t.PropTypes !== void 0 && !be) {
|
|
1368
1373
|
be = !0;
|
|
1369
1374
|
var v = T(t);
|
|
@@ -1372,7 +1377,7 @@ Check the top-level render call using <` + o + ">.");
|
|
|
1372
1377
|
typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && j("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
1373
1378
|
}
|
|
1374
1379
|
}
|
|
1375
|
-
function
|
|
1380
|
+
function Pt(e) {
|
|
1376
1381
|
{
|
|
1377
1382
|
for (var t = Object.keys(e.props), o = 0; o < t.length; o++) {
|
|
1378
1383
|
var s = t[o];
|
|
@@ -1384,19 +1389,19 @@ Check the top-level render call using <` + o + ">.");
|
|
|
1384
1389
|
e.ref !== null && (V(e), j("Invalid attribute `ref` supplied to `React.Fragment`."), V(null));
|
|
1385
1390
|
}
|
|
1386
1391
|
}
|
|
1387
|
-
var
|
|
1388
|
-
function
|
|
1392
|
+
var Xe = {};
|
|
1393
|
+
function Qe(e, t, o, s, v, y) {
|
|
1389
1394
|
{
|
|
1390
1395
|
var d = N(e);
|
|
1391
1396
|
if (!d) {
|
|
1392
1397
|
var f = "";
|
|
1393
1398
|
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (f += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
1394
|
-
var O =
|
|
1395
|
-
O ? f += O : f +=
|
|
1399
|
+
var O = Ot();
|
|
1400
|
+
O ? f += O : f += Je();
|
|
1396
1401
|
var R;
|
|
1397
1402
|
e === null ? R = "null" : ye(e) ? R = "array" : e !== void 0 && e.$$typeof === n ? (R = "<" + (T(e.type) || "Unknown") + " />", f = " Did you accidentally export a JSX literal instead of a component?") : R = 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", R, f);
|
|
1398
1403
|
}
|
|
1399
|
-
var x =
|
|
1404
|
+
var x = jt(e, t, o, v, y);
|
|
1400
1405
|
if (x == null)
|
|
1401
1406
|
return x;
|
|
1402
1407
|
if (d) {
|
|
@@ -1405,46 +1410,46 @@ Check the top-level render call using <` + o + ">.");
|
|
|
1405
1410
|
if (s)
|
|
1406
1411
|
if (ye(P)) {
|
|
1407
1412
|
for (var z = 0; z < P.length; z++)
|
|
1408
|
-
|
|
1413
|
+
Ze(P[z], e);
|
|
1409
1414
|
Object.freeze && Object.freeze(P);
|
|
1410
1415
|
} else
|
|
1411
1416
|
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.");
|
|
1412
1417
|
else
|
|
1413
|
-
|
|
1418
|
+
Ze(P, e);
|
|
1414
1419
|
}
|
|
1415
1420
|
if (K.call(t, "key")) {
|
|
1416
|
-
var L = T(e), C = Object.keys(t).filter(function(
|
|
1417
|
-
return
|
|
1421
|
+
var L = T(e), C = Object.keys(t).filter(function(It) {
|
|
1422
|
+
return It !== "key";
|
|
1418
1423
|
}), Re = C.length > 0 ? "{key: someKey, " + C.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
1419
|
-
if (!
|
|
1420
|
-
var
|
|
1424
|
+
if (!Xe[L + Re]) {
|
|
1425
|
+
var Bt = C.length > 0 ? "{" + C.join(": ..., ") + ": ...}" : "{}";
|
|
1421
1426
|
j(`A props object containing a "key" prop is being spread into JSX:
|
|
1422
1427
|
let props = %s;
|
|
1423
1428
|
<%s {...props} />
|
|
1424
1429
|
React keys must be passed directly to JSX without using spread:
|
|
1425
1430
|
let props = %s;
|
|
1426
|
-
<%s key={someKey} {...props} />`, Re, L,
|
|
1431
|
+
<%s key={someKey} {...props} />`, Re, L, Bt, L), Xe[L + Re] = !0;
|
|
1427
1432
|
}
|
|
1428
1433
|
}
|
|
1429
|
-
return e === c ?
|
|
1434
|
+
return e === c ? Pt(x) : Ct(x), x;
|
|
1430
1435
|
}
|
|
1431
1436
|
}
|
|
1432
|
-
function Pt(e, t, o) {
|
|
1433
|
-
return Xe(e, t, o, !0);
|
|
1434
|
-
}
|
|
1435
1437
|
function wt(e, t, o) {
|
|
1436
|
-
return
|
|
1438
|
+
return Qe(e, t, o, !0);
|
|
1439
|
+
}
|
|
1440
|
+
function Tt(e, t, o) {
|
|
1441
|
+
return Qe(e, t, o, !1);
|
|
1437
1442
|
}
|
|
1438
|
-
var
|
|
1439
|
-
|
|
1440
|
-
}()),
|
|
1443
|
+
var $t = Tt, Nt = wt;
|
|
1444
|
+
at.Fragment = c, at.jsx = $t, at.jsxs = Nt;
|
|
1445
|
+
}()), at;
|
|
1441
1446
|
}
|
|
1442
|
-
process.env.NODE_ENV === "production" ?
|
|
1443
|
-
const
|
|
1444
|
-
version:
|
|
1447
|
+
process.env.NODE_ENV === "production" ? hr() : gr();
|
|
1448
|
+
const yr = "0.0.40", tr = {
|
|
1449
|
+
version: yr
|
|
1445
1450
|
}, se = {}, H = {
|
|
1446
1451
|
module: "",
|
|
1447
|
-
v:
|
|
1452
|
+
v: tr.version,
|
|
1448
1453
|
page: "Main",
|
|
1449
1454
|
auth: "Auth",
|
|
1450
1455
|
STORAGE: "f",
|
|
@@ -1463,7 +1468,7 @@ function je() {
|
|
|
1463
1468
|
return typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof self < "u" ? self : typeof global < "u" ? global : {};
|
|
1464
1469
|
}
|
|
1465
1470
|
je().elcrm || (je().elcrm = {});
|
|
1466
|
-
Object.assign(je().elcrm, { router:
|
|
1471
|
+
Object.assign(je().elcrm, { router: tr.version });
|
|
1467
1472
|
function te(r) {
|
|
1468
1473
|
var n, a, c, l;
|
|
1469
1474
|
const p = je();
|
|
@@ -1613,13 +1618,13 @@ var de;
|
|
|
1613
1618
|
} }), N;
|
|
1614
1619
|
}
|
|
1615
1620
|
r.useTab = I;
|
|
1616
|
-
async function
|
|
1621
|
+
async function we(_, E = !0) {
|
|
1617
1622
|
te({ tab: _ }), sessionStorage.setItem(
|
|
1618
1623
|
A().STORAGE,
|
|
1619
1624
|
ue.enCode(A())
|
|
1620
1625
|
), E && (ie().tabs && ie().tabs(_));
|
|
1621
1626
|
}
|
|
1622
|
-
r.setTabs =
|
|
1627
|
+
r.setTabs = we;
|
|
1623
1628
|
function pe() {
|
|
1624
1629
|
return A().tab;
|
|
1625
1630
|
}
|
|
@@ -1638,25 +1643,25 @@ var de;
|
|
|
1638
1643
|
Se({ id: _ });
|
|
1639
1644
|
}
|
|
1640
1645
|
r.useId = j;
|
|
1641
|
-
function
|
|
1646
|
+
function Te(_) {
|
|
1642
1647
|
}
|
|
1643
|
-
r.subId =
|
|
1644
|
-
async function
|
|
1648
|
+
r.subId = Te;
|
|
1649
|
+
async function $e(_, E = !0) {
|
|
1645
1650
|
te({ id: _ }), sessionStorage.setItem(
|
|
1646
1651
|
A().STORAGE,
|
|
1647
1652
|
ue.enCode(A())
|
|
1648
1653
|
), E && ie().id(_);
|
|
1649
1654
|
}
|
|
1650
|
-
r.setId =
|
|
1655
|
+
r.setId = $e;
|
|
1651
1656
|
function Oe() {
|
|
1652
1657
|
return A().id;
|
|
1653
1658
|
}
|
|
1654
1659
|
r.getId = Oe;
|
|
1655
|
-
function
|
|
1660
|
+
function Ne(_) {
|
|
1656
1661
|
return Number(A().id) === _;
|
|
1657
1662
|
}
|
|
1658
|
-
r.isId =
|
|
1659
|
-
async function
|
|
1663
|
+
r.isId = Ne;
|
|
1664
|
+
async function Be(_) {
|
|
1660
1665
|
var E, N, M, B, T, D, Y, ce;
|
|
1661
1666
|
const { page: Z, module: X, tab: Q, id: ee } = _;
|
|
1662
1667
|
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 && ((N = (E = ie()).id) == null || N.call(E, ee)), Q !== void 0 && ((B = (M = ie()).tabs) == null || B.call(M, Q)), X !== void 0 && ((D = (T = ie()).module) == null || D.call(T, X)), Z !== void 0 && ((ce = (Y = ie()).page) == null || ce.call(Y, Z)), sessionStorage.setItem(
|
|
@@ -1664,29 +1669,29 @@ var de;
|
|
|
1664
1669
|
ue.enCode(A())
|
|
1665
1670
|
);
|
|
1666
1671
|
}
|
|
1667
|
-
r.navigate =
|
|
1672
|
+
r.navigate = Be;
|
|
1668
1673
|
})(de || (de = {}));
|
|
1669
|
-
let
|
|
1670
|
-
function
|
|
1674
|
+
let ct = {};
|
|
1675
|
+
function mr() {
|
|
1671
1676
|
const [r, n] = F.useState([]);
|
|
1672
|
-
return
|
|
1677
|
+
return ct.set = (a) => {
|
|
1673
1678
|
n([...r, a]);
|
|
1674
|
-
},
|
|
1679
|
+
}, ct.del = (a) => {
|
|
1675
1680
|
r.forEach((c, l) => {
|
|
1676
1681
|
c.key === a && r.splice(l, 1);
|
|
1677
1682
|
}), n(r);
|
|
1678
1683
|
}, r.length === 0 ? /* @__PURE__ */ i.jsx(i.Fragment, {}) : /* @__PURE__ */ i.jsx("div", { className: "notice", children: r.map((a) => a.item) });
|
|
1679
1684
|
}
|
|
1680
|
-
function
|
|
1685
|
+
function br(r) {
|
|
1681
1686
|
let n = (/* @__PURE__ */ new Date()).getTime();
|
|
1682
|
-
r.key = n,
|
|
1687
|
+
r.key = n, ct.set({ item: /* @__PURE__ */ i.jsx(_r, { data: r }, n), key: n });
|
|
1683
1688
|
}
|
|
1684
|
-
function
|
|
1689
|
+
function _r(r) {
|
|
1685
1690
|
const n = r.data;
|
|
1686
1691
|
let [a] = F.useState("show"), [c, l] = F.useState(!1);
|
|
1687
1692
|
F.useEffect(() => {
|
|
1688
1693
|
setTimeout(function() {
|
|
1689
|
-
l(!0),
|
|
1694
|
+
l(!0), ct.del(n.key);
|
|
1690
1695
|
}, 5e3);
|
|
1691
1696
|
}, [n.key]);
|
|
1692
1697
|
let p;
|
|
@@ -1729,8 +1734,8 @@ function gr(r) {
|
|
|
1729
1734
|
) });
|
|
1730
1735
|
}
|
|
1731
1736
|
let xe = {
|
|
1732
|
-
Send:
|
|
1733
|
-
Init:
|
|
1737
|
+
Send: br,
|
|
1738
|
+
Init: mr
|
|
1734
1739
|
};
|
|
1735
1740
|
const Ee = {
|
|
1736
1741
|
is: !1,
|
|
@@ -1781,7 +1786,7 @@ G.users = {
|
|
|
1781
1786
|
"--tg-theme-button-text-color": "#000000",
|
|
1782
1787
|
"--tg-theme-secondary-bg-color": "#000000"
|
|
1783
1788
|
};
|
|
1784
|
-
const
|
|
1789
|
+
const Rr = () => {
|
|
1785
1790
|
if (location.hostname === "localhost") {
|
|
1786
1791
|
let [r, n] = J(!1), [a, c] = J(!1), [l, p] = J("dark"), [k, b] = J(!1), [u, S] = J(!1);
|
|
1787
1792
|
Ee.is = !0, Ee.MainButton.set = n, Ee.BackButton.set = c, fe(() => {
|
|
@@ -1863,7 +1868,7 @@ const yr = () => {
|
|
|
1863
1868
|
/* @__PURE__ */ i.jsx("li", { children: /* @__PURE__ */ i.jsx("button", { onClick: () => b(!k), children: "Closed" }) })
|
|
1864
1869
|
] })
|
|
1865
1870
|
] }) : "",
|
|
1866
|
-
u ? /* @__PURE__ */ i.jsx(
|
|
1871
|
+
u ? /* @__PURE__ */ i.jsx(Sr, { setAuthorization: S }) : ""
|
|
1867
1872
|
] });
|
|
1868
1873
|
} else
|
|
1869
1874
|
return fe(() => {
|
|
@@ -1878,7 +1883,7 @@ const yr = () => {
|
|
|
1878
1883
|
"16px"
|
|
1879
1884
|
);
|
|
1880
1885
|
}, []), /* @__PURE__ */ i.jsx(i.Fragment, { children: /* @__PURE__ */ i.jsx(xe.Init, {}) });
|
|
1881
|
-
},
|
|
1886
|
+
}, Sr = ({ setAuthorization: r }) => {
|
|
1882
1887
|
let n = {}, a = () => {
|
|
1883
1888
|
localStorage.setItem("auth", n);
|
|
1884
1889
|
};
|
|
@@ -1886,32 +1891,32 @@ const yr = () => {
|
|
|
1886
1891
|
/* @__PURE__ */ i.jsx("fieldset", {}),
|
|
1887
1892
|
/* @__PURE__ */ i.jsx("div", { onClick: a, children: " Сохранить " })
|
|
1888
1893
|
] }) });
|
|
1889
|
-
},
|
|
1890
|
-
p:
|
|
1891
|
-
s:
|
|
1892
|
-
},
|
|
1894
|
+
}, kr = "_p_12hh1_1", xr = "_s_12hh1_17", Ht = {
|
|
1895
|
+
p: kr,
|
|
1896
|
+
s: xr
|
|
1897
|
+
}, Er = ({ className: r, children: n, isScroll: a = !0 }) => /* @__PURE__ */ i.jsx(
|
|
1893
1898
|
"div",
|
|
1894
1899
|
{
|
|
1895
|
-
className: [
|
|
1900
|
+
className: [Ht.p, a && Ht.s, r].filter((c) => c !== void 0).join(" "),
|
|
1896
1901
|
children: n
|
|
1897
1902
|
}
|
|
1898
|
-
),
|
|
1899
|
-
l:
|
|
1900
|
-
},
|
|
1903
|
+
), jr = "_l_gfyud_1", Or = {
|
|
1904
|
+
l: jr
|
|
1905
|
+
}, Ar = ({ children: r, className: n }) => /* @__PURE__ */ i.jsx(
|
|
1901
1906
|
"div",
|
|
1902
1907
|
{
|
|
1903
|
-
className: [
|
|
1908
|
+
className: [Or.l, n].filter((a) => a !== void 0).join(" "),
|
|
1904
1909
|
children: r
|
|
1905
1910
|
}
|
|
1906
|
-
),
|
|
1907
|
-
m:
|
|
1908
|
-
g:
|
|
1909
|
-
i:
|
|
1910
|
-
c:
|
|
1911
|
-
l:
|
|
1912
|
-
a:
|
|
1913
|
-
n:
|
|
1914
|
-
},
|
|
1911
|
+
), Cr = "_m_ppm7n_2", Pr = "_g_ppm7n_10", wr = "_i_ppm7n_18", Tr = "_c_ppm7n_35", $r = "_l_ppm7n_42", Nr = "_a_ppm7n_57", Br = "_n_ppm7n_62", ke = {
|
|
1912
|
+
m: Cr,
|
|
1913
|
+
g: Pr,
|
|
1914
|
+
i: wr,
|
|
1915
|
+
c: Tr,
|
|
1916
|
+
l: $r,
|
|
1917
|
+
a: Nr,
|
|
1918
|
+
n: Br
|
|
1919
|
+
}, Ir = ({ items: r }) => {
|
|
1915
1920
|
const n = (c) => {
|
|
1916
1921
|
de.setPage(c);
|
|
1917
1922
|
}, a = (c) => {
|
|
@@ -1942,17 +1947,17 @@ const yr = () => {
|
|
|
1942
1947
|
},
|
|
1943
1948
|
p
|
|
1944
1949
|
)) }, c.id)) });
|
|
1945
|
-
},
|
|
1946
|
-
o:
|
|
1947
|
-
m:
|
|
1948
|
-
l:
|
|
1949
|
-
r:
|
|
1950
|
-
x:
|
|
1951
|
-
h:
|
|
1952
|
-
c:
|
|
1953
|
-
u:
|
|
1950
|
+
}, Mr = "_o_8ho2f_3", Dr = "_m_8ho2f_14", Fr = "_l_8ho2f_28", Wr = "_r_8ho2f_33", Lr = "_x_8ho2f_38", Ur = "_h_8ho2f_42", Yr = "_c_8ho2f_57", Vr = "_u_8ho2f_72", le = {
|
|
1951
|
+
o: Mr,
|
|
1952
|
+
m: Dr,
|
|
1953
|
+
l: Fr,
|
|
1954
|
+
r: Wr,
|
|
1955
|
+
x: Lr,
|
|
1956
|
+
h: Ur,
|
|
1957
|
+
c: Yr,
|
|
1958
|
+
u: Vr
|
|
1954
1959
|
};
|
|
1955
|
-
function
|
|
1960
|
+
function zr({
|
|
1956
1961
|
children: r,
|
|
1957
1962
|
icon: n,
|
|
1958
1963
|
iconBadge: a = 0,
|
|
@@ -1975,7 +1980,7 @@ function Lr({
|
|
|
1975
1980
|
/* @__PURE__ */ i.jsxs(
|
|
1976
1981
|
"div",
|
|
1977
1982
|
{
|
|
1978
|
-
className:
|
|
1983
|
+
className: Pe(
|
|
1979
1984
|
le.m,
|
|
1980
1985
|
k === "left" ? le.l : le.r,
|
|
1981
1986
|
b && le.x,
|
|
@@ -2020,12 +2025,12 @@ function Lr({
|
|
|
2020
2025
|
children: n
|
|
2021
2026
|
}
|
|
2022
2027
|
),
|
|
2023
|
-
S &&
|
|
2028
|
+
S && nr(g, S)
|
|
2024
2029
|
] });
|
|
2025
2030
|
}
|
|
2026
|
-
let
|
|
2031
|
+
let nt = () => {
|
|
2027
2032
|
};
|
|
2028
|
-
const
|
|
2033
|
+
const rr = ({
|
|
2029
2034
|
children: r,
|
|
2030
2035
|
title: n,
|
|
2031
2036
|
isOverlay: a = !0,
|
|
@@ -2034,7 +2039,7 @@ const tr = ({
|
|
|
2034
2039
|
onOpen: p
|
|
2035
2040
|
}) => {
|
|
2036
2041
|
const [k, b] = F.useState(!1);
|
|
2037
|
-
return
|
|
2042
|
+
return nt = () => {
|
|
2038
2043
|
b(!0), setTimeout(() => {
|
|
2039
2044
|
var u;
|
|
2040
2045
|
p == null || p(!1), (u = Ae == null ? void 0 : Ae.onClose) == null || u.call(Ae);
|
|
@@ -2043,7 +2048,7 @@ const tr = ({
|
|
|
2043
2048
|
"div",
|
|
2044
2049
|
{
|
|
2045
2050
|
className: `footer-menu-overlay ${a ? "is-overlay" : ""} ${k ? "closing" : ""} `,
|
|
2046
|
-
onClick:
|
|
2051
|
+
onClick: nt,
|
|
2047
2052
|
children: /* @__PURE__ */ i.jsxs(
|
|
2048
2053
|
"div",
|
|
2049
2054
|
{
|
|
@@ -2056,7 +2061,7 @@ const tr = ({
|
|
|
2056
2061
|
"button",
|
|
2057
2062
|
{
|
|
2058
2063
|
className: "footer-menu-close-btn",
|
|
2059
|
-
onClick:
|
|
2064
|
+
onClick: nt,
|
|
2060
2065
|
children: "✕"
|
|
2061
2066
|
}
|
|
2062
2067
|
)
|
|
@@ -2067,12 +2072,12 @@ const tr = ({
|
|
|
2067
2072
|
)
|
|
2068
2073
|
}
|
|
2069
2074
|
);
|
|
2070
|
-
},
|
|
2071
|
-
h:
|
|
2072
|
-
row:
|
|
2073
|
-
column:
|
|
2074
|
-
badge:
|
|
2075
|
-
}, Ae = [],
|
|
2075
|
+
}, qr = "_h_1ffr7_1", Hr = "_row_1ffr7_20", Jr = "_column_1ffr7_23", Kr = "_badge_1ffr7_36", Mt = {
|
|
2076
|
+
h: qr,
|
|
2077
|
+
row: Hr,
|
|
2078
|
+
column: Jr,
|
|
2079
|
+
badge: Kr
|
|
2080
|
+
}, Ae = [], Jt = (r, n) => r.findIndex((a) => (a == null ? void 0 : a.page) === n), Gr = ({
|
|
2076
2081
|
actions: r,
|
|
2077
2082
|
children: n,
|
|
2078
2083
|
className: a,
|
|
@@ -2082,10 +2087,10 @@ const tr = ({
|
|
|
2082
2087
|
direction: k = "row"
|
|
2083
2088
|
}) => {
|
|
2084
2089
|
const [b, u] = F.useState(null), [S, h] = F.useState(
|
|
2085
|
-
l ?
|
|
2090
|
+
l ? Jt(r || [], l) : 0
|
|
2086
2091
|
);
|
|
2087
2092
|
return Ae.onClose = () => {
|
|
2088
|
-
u(null), h(l ?
|
|
2093
|
+
u(null), h(l ? Jt(r || [], l) : 0);
|
|
2089
2094
|
}, fe(() => {
|
|
2090
2095
|
if (!c)
|
|
2091
2096
|
return;
|
|
@@ -2108,7 +2113,7 @@ const tr = ({
|
|
|
2108
2113
|
/* @__PURE__ */ i.jsxs(
|
|
2109
2114
|
"footer",
|
|
2110
2115
|
{
|
|
2111
|
-
className: `${
|
|
2116
|
+
className: `${Mt.h} ${Mt[k]} ${a} `,
|
|
2112
2117
|
children: [
|
|
2113
2118
|
n,
|
|
2114
2119
|
r && r.map((g, m) => /* @__PURE__ */ i.jsxs(
|
|
@@ -2116,11 +2121,11 @@ const tr = ({
|
|
|
2116
2121
|
{
|
|
2117
2122
|
"data-active": S === m ? "true" : "false",
|
|
2118
2123
|
onClick: () => {
|
|
2119
|
-
g.page && (h(m), p == null || p(g.page)), g.callback && (g.callback(), h(m)), g.component && (S === m ?
|
|
2124
|
+
g.page && (h(m), p == null || p(g.page)), g.callback && (g.callback(), h(m)), g.component && (S === m ? nt() : (u(g.component), h(m)));
|
|
2120
2125
|
},
|
|
2121
2126
|
children: [
|
|
2122
2127
|
g.icon,
|
|
2123
|
-
g.badge && /* @__PURE__ */ i.jsx("div", { className:
|
|
2128
|
+
g.badge && /* @__PURE__ */ i.jsx("div", { className: Mt.badge, children: g.badge })
|
|
2124
2129
|
]
|
|
2125
2130
|
},
|
|
2126
2131
|
m
|
|
@@ -2129,13 +2134,13 @@ const tr = ({
|
|
|
2129
2134
|
}
|
|
2130
2135
|
)
|
|
2131
2136
|
] });
|
|
2132
|
-
},
|
|
2133
|
-
w:
|
|
2134
|
-
v:
|
|
2135
|
-
s:
|
|
2136
|
-
n:
|
|
2137
|
-
},
|
|
2138
|
-
function
|
|
2137
|
+
}, Zr = "_w_yx04q_3", Xr = "_v_yx04q_24", Qr = "_s_yx04q_34", en = "_n_yx04q_38", st = {
|
|
2138
|
+
w: Zr,
|
|
2139
|
+
v: Xr,
|
|
2140
|
+
s: Qr,
|
|
2141
|
+
n: en
|
|
2142
|
+
}, Lt = {};
|
|
2143
|
+
function tn({
|
|
2139
2144
|
children: r,
|
|
2140
2145
|
name: n,
|
|
2141
2146
|
onClose: a,
|
|
@@ -2146,17 +2151,17 @@ function Zr({
|
|
|
2146
2151
|
const [k, b] = J(!1);
|
|
2147
2152
|
return fe(() => {
|
|
2148
2153
|
if (!c) return;
|
|
2149
|
-
const u = p === void 0 ?
|
|
2154
|
+
const u = p === void 0 ? fn().pop() : p, S = () => {
|
|
2150
2155
|
b(!1), setTimeout(() => {
|
|
2151
|
-
|
|
2156
|
+
Gt(u || !1), a == null || a();
|
|
2152
2157
|
}, 300);
|
|
2153
2158
|
};
|
|
2154
|
-
|
|
2159
|
+
Lt[n] = {
|
|
2155
2160
|
onClose: S,
|
|
2156
2161
|
onOpen: () => {
|
|
2157
2162
|
b(!0);
|
|
2158
2163
|
}
|
|
2159
|
-
},
|
|
2164
|
+
}, Gt({
|
|
2160
2165
|
callback: S
|
|
2161
2166
|
});
|
|
2162
2167
|
const h = setTimeout(() => {
|
|
@@ -2168,26 +2173,26 @@ function Zr({
|
|
|
2168
2173
|
}, [c]), c ? /* @__PURE__ */ i.jsxs(
|
|
2169
2174
|
"div",
|
|
2170
2175
|
{
|
|
2171
|
-
className:
|
|
2172
|
-
|
|
2173
|
-
k &&
|
|
2174
|
-
l &&
|
|
2176
|
+
className: Pe(
|
|
2177
|
+
st.w,
|
|
2178
|
+
k && st.v,
|
|
2179
|
+
l && st.s
|
|
2175
2180
|
),
|
|
2176
2181
|
children: [
|
|
2177
|
-
/* @__PURE__ */ i.jsx("div", { className:
|
|
2182
|
+
/* @__PURE__ */ i.jsx("div", { className: st.n }),
|
|
2178
2183
|
r
|
|
2179
2184
|
]
|
|
2180
2185
|
}
|
|
2181
2186
|
) : "";
|
|
2182
2187
|
}
|
|
2183
|
-
const
|
|
2188
|
+
const rn = (r, n) => {
|
|
2184
2189
|
var a, c;
|
|
2185
|
-
n ? (a =
|
|
2186
|
-
},
|
|
2187
|
-
s:
|
|
2188
|
-
n:
|
|
2190
|
+
n ? (a = Lt[r]) == null || a.onOpen() : (c = Lt[r]) == null || c.onClose();
|
|
2191
|
+
}, nn = "_s_18czb_3", on = "_n_18czb_13", Kt = {
|
|
2192
|
+
s: nn,
|
|
2193
|
+
n: on
|
|
2189
2194
|
};
|
|
2190
|
-
function
|
|
2195
|
+
function an({
|
|
2191
2196
|
className: r,
|
|
2192
2197
|
children: n,
|
|
2193
2198
|
onScrollEnd: a,
|
|
@@ -2209,24 +2214,24 @@ function tn({
|
|
|
2209
2214
|
"div",
|
|
2210
2215
|
{
|
|
2211
2216
|
...u,
|
|
2212
|
-
className:
|
|
2217
|
+
className: Pe(Kt.s, !p && Kt.n, r),
|
|
2213
2218
|
children: n
|
|
2214
2219
|
}
|
|
2215
2220
|
);
|
|
2216
2221
|
}
|
|
2217
|
-
const
|
|
2218
|
-
a:
|
|
2219
|
-
l:
|
|
2220
|
-
r:
|
|
2222
|
+
const sn = "_a_ohhaz_1", ln = "_l_ohhaz_12", cn = "_r_ohhaz_15", Dt = {
|
|
2223
|
+
a: sn,
|
|
2224
|
+
l: ln,
|
|
2225
|
+
r: cn
|
|
2221
2226
|
};
|
|
2222
|
-
function
|
|
2227
|
+
function un({
|
|
2223
2228
|
children: r,
|
|
2224
2229
|
className: n,
|
|
2225
2230
|
position: a = "center",
|
|
2226
2231
|
title: c
|
|
2227
2232
|
}) {
|
|
2228
2233
|
let l = "";
|
|
2229
|
-
return a === "left" ? l =
|
|
2234
|
+
return a === "left" ? l = Dt.l : a === "right" && (l = Dt.r), /* @__PURE__ */ i.jsxs("div", { className: Pe(Dt.a, l, n), children: [
|
|
2230
2235
|
r,
|
|
2231
2236
|
c && /* @__PURE__ */ i.jsx("b", { children: c })
|
|
2232
2237
|
] });
|
|
@@ -2242,7 +2247,7 @@ const U = {
|
|
|
2242
2247
|
U.prev = de.getPage(), n.page !== void 0 ? de.setPage(n.page) : (a = n.callback) == null || a.call(n);
|
|
2243
2248
|
}), Ce.BackButton.onClick(U.listen[0]));
|
|
2244
2249
|
}
|
|
2245
|
-
},
|
|
2250
|
+
}, Pe = (...r) => r.filter((n) => n !== void 0 && n !== !1 && n !== null && n !== "").join(" ");
|
|
2246
2251
|
var $;
|
|
2247
2252
|
((r) => {
|
|
2248
2253
|
r.WebApp = window.Telegram.WebApp, r.getUser = () => {
|
|
@@ -2265,7 +2270,7 @@ var $;
|
|
|
2265
2270
|
var a;
|
|
2266
2271
|
xe.Send({ type: "warning", text: n }), (a = r.WebApp.HapticFeedback) == null || a.notificationOccurred("warning");
|
|
2267
2272
|
}
|
|
2268
|
-
}, r.Header =
|
|
2273
|
+
}, r.Header = Rr, r.TabBar = Gr, r.BottomSheet = rr, r.toggleBottomSheet = nt, r.SafeArea = Er, r.Loading = Ar, r.Sidebar = zr, r.SidePanel = tn, r.AppBar = un, r.SidePanelController = rn, r.Scroll = an, r.Modal = Wt, r.Menu = Ir, r.MainButton = {
|
|
2269
2274
|
callback: [],
|
|
2270
2275
|
set: (n) => {
|
|
2271
2276
|
Ee.is ? Ee.MainButton.set(n) : (r.WebApp.MainButton.callback.forEach((a) => {
|
|
@@ -2283,28 +2288,28 @@ var $;
|
|
|
2283
2288
|
Ee.is ? Ee.BackButton.set(n) : (U.state.push(n), U.router(n));
|
|
2284
2289
|
};
|
|
2285
2290
|
})($ || ($ = {}));
|
|
2286
|
-
const
|
|
2291
|
+
const vn = $.TabBar, hn = rr, Gt = $.BackButton, gn = $.BackButtonPrev, fn = $.BackButtonState, yn = $.Notice, mn = $.SafeArea, bn = $.Loading, _n = $.Menu, Rn = $.SidePanel, Sn = $.Scroll, kn = $.AppBar, xn = $.Sidebar, En = $.SidePanelController, { Header: jn, toggleBottomSheet: On, Modal: An, MainButton: Cn, WebApp: Ce, getUser: Pn } = $;
|
|
2287
2292
|
export {
|
|
2288
|
-
|
|
2289
|
-
|
|
2290
|
-
|
|
2291
|
-
|
|
2292
|
-
|
|
2293
|
-
|
|
2294
|
-
|
|
2295
|
-
|
|
2296
|
-
|
|
2297
|
-
|
|
2298
|
-
|
|
2299
|
-
|
|
2300
|
-
|
|
2301
|
-
|
|
2302
|
-
|
|
2303
|
-
|
|
2304
|
-
|
|
2293
|
+
kn as AppBar,
|
|
2294
|
+
Gt as BackButton,
|
|
2295
|
+
gn as BackButtonPrev,
|
|
2296
|
+
fn as BackButtonState,
|
|
2297
|
+
hn as BottomSheet,
|
|
2298
|
+
jn as Header,
|
|
2299
|
+
bn as Loading,
|
|
2300
|
+
Cn as MainButton,
|
|
2301
|
+
_n as Menu,
|
|
2302
|
+
An as Modal,
|
|
2303
|
+
yn as Notice,
|
|
2304
|
+
mn as SafeArea,
|
|
2305
|
+
Sn as Scroll,
|
|
2306
|
+
Rn as SidePanel,
|
|
2307
|
+
En as SidePanelController,
|
|
2308
|
+
xn as Sidebar,
|
|
2309
|
+
vn as TabBar,
|
|
2305
2310
|
Ce as WebApp,
|
|
2306
|
-
|
|
2311
|
+
Pe as clsx,
|
|
2307
2312
|
$ as default,
|
|
2308
|
-
|
|
2309
|
-
|
|
2313
|
+
Pn as getUser,
|
|
2314
|
+
On as toggleBottomSheet
|
|
2310
2315
|
};
|