@elcrm/telegram 0.0.142 → 0.0.143
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.css +1 -1
- package/dist/index.es.js +186 -187
- package/dist/index.umd.js +20 -20
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -15,9 +15,9 @@ function dr() {
|
|
|
15
15
|
if (Jt) return tt;
|
|
16
16
|
Jt = 1;
|
|
17
17
|
var t = U, r = Symbol.for("react.element"), o = Symbol.for("react.fragment"), s = Object.prototype.hasOwnProperty, i = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, l = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
18
|
-
function d(p, f,
|
|
18
|
+
function d(p, f, g) {
|
|
19
19
|
var b, y = {}, R = null, x = null;
|
|
20
|
-
|
|
20
|
+
g !== void 0 && (R = "" + g), f.key !== void 0 && (R = "" + f.key), f.ref !== void 0 && (x = f.ref);
|
|
21
21
|
for (b in f) s.call(f, b) && !l.hasOwnProperty(b) && (y[b] = f[b]);
|
|
22
22
|
if (p && p.defaultProps) for (b in f = p.defaultProps, f) y[b] === void 0 && (y[b] = f[b]);
|
|
23
23
|
return { $$typeof: r, type: p, key: R, ref: x, props: y, _owner: i.current };
|
|
@@ -37,7 +37,7 @@ var rt = {};
|
|
|
37
37
|
var Ht;
|
|
38
38
|
function pr() {
|
|
39
39
|
return Ht || (Ht = 1, process.env.NODE_ENV !== "production" && function() {
|
|
40
|
-
var t = U, r = Symbol.for("react.element"), o = Symbol.for("react.portal"), s = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), l = Symbol.for("react.profiler"), d = Symbol.for("react.provider"), p = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"),
|
|
40
|
+
var t = U, r = Symbol.for("react.element"), o = Symbol.for("react.portal"), s = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), l = Symbol.for("react.profiler"), d = Symbol.for("react.provider"), p = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"), g = Symbol.for("react.suspense"), b = Symbol.for("react.suspense_list"), y = Symbol.for("react.memo"), R = Symbol.for("react.lazy"), x = Symbol.for("react.offscreen"), M = Symbol.iterator, ce = "@@iterator";
|
|
41
41
|
function we(e) {
|
|
42
42
|
if (e === null || typeof e != "object")
|
|
43
43
|
return null;
|
|
@@ -56,8 +56,8 @@ function pr() {
|
|
|
56
56
|
{
|
|
57
57
|
var u = C.ReactDebugCurrentFrame, m = u.getStackAddendum();
|
|
58
58
|
m !== "" && (n += "%s", a = a.concat([m]));
|
|
59
|
-
var _ = a.map(function(
|
|
60
|
-
return String(
|
|
59
|
+
var _ = a.map(function(h) {
|
|
60
|
+
return String(h);
|
|
61
61
|
});
|
|
62
62
|
_.unshift("Warning: " + n), Function.prototype.apply.call(console[e], console, _);
|
|
63
63
|
}
|
|
@@ -65,7 +65,7 @@ function pr() {
|
|
|
65
65
|
var Pe = !1, K = !1, Ee = !1, xe = !1, Ae = !1, $;
|
|
66
66
|
$ = Symbol.for("react.module.reference");
|
|
67
67
|
function dt(e) {
|
|
68
|
-
return !!(typeof e == "string" || typeof e == "function" || e === s || e === l || Ae || e === i || e ===
|
|
68
|
+
return !!(typeof e == "string" || typeof e == "function" || e === s || e === l || Ae || e === i || e === g || e === b || xe || e === x || Pe || K || Ee || typeof e == "object" && e !== null && (e.$$typeof === R || e.$$typeof === y || e.$$typeof === d || e.$$typeof === p || e.$$typeof === f || // This needs to include all possible module reference object
|
|
69
69
|
// types supported by any Flight configuration anywhere since
|
|
70
70
|
// we don't know which Flight build this will end up being used
|
|
71
71
|
// with.
|
|
@@ -97,7 +97,7 @@ function pr() {
|
|
|
97
97
|
return "Profiler";
|
|
98
98
|
case i:
|
|
99
99
|
return "StrictMode";
|
|
100
|
-
case
|
|
100
|
+
case g:
|
|
101
101
|
return "Suspense";
|
|
102
102
|
case b:
|
|
103
103
|
return "SuspenseList";
|
|
@@ -116,9 +116,9 @@ function pr() {
|
|
|
116
116
|
var u = e.displayName || null;
|
|
117
117
|
return u !== null ? u : N(e.type) || "Memo";
|
|
118
118
|
case R: {
|
|
119
|
-
var m = e, _ = m._payload,
|
|
119
|
+
var m = e, _ = m._payload, h = m._init;
|
|
120
120
|
try {
|
|
121
|
-
return N(
|
|
121
|
+
return N(h(_));
|
|
122
122
|
} catch {
|
|
123
123
|
return null;
|
|
124
124
|
}
|
|
@@ -153,7 +153,7 @@ function pr() {
|
|
|
153
153
|
z++;
|
|
154
154
|
}
|
|
155
155
|
}
|
|
156
|
-
function
|
|
156
|
+
function ht() {
|
|
157
157
|
{
|
|
158
158
|
if (z--, z === 0) {
|
|
159
159
|
var e = {
|
|
@@ -204,8 +204,8 @@ function pr() {
|
|
|
204
204
|
}
|
|
205
205
|
var fe = !1, Q;
|
|
206
206
|
{
|
|
207
|
-
var
|
|
208
|
-
Q = new
|
|
207
|
+
var gt = typeof WeakMap == "function" ? WeakMap : Map;
|
|
208
|
+
Q = new gt();
|
|
209
209
|
}
|
|
210
210
|
function Ue(e, n) {
|
|
211
211
|
if (!e || fe)
|
|
@@ -223,27 +223,27 @@ function pr() {
|
|
|
223
223
|
_ = le.current, le.current = null, vt();
|
|
224
224
|
try {
|
|
225
225
|
if (n) {
|
|
226
|
-
var
|
|
226
|
+
var h = function() {
|
|
227
227
|
throw Error();
|
|
228
228
|
};
|
|
229
|
-
if (Object.defineProperty(
|
|
229
|
+
if (Object.defineProperty(h.prototype, "props", {
|
|
230
230
|
set: function() {
|
|
231
231
|
throw Error();
|
|
232
232
|
}
|
|
233
233
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
234
234
|
try {
|
|
235
|
-
Reflect.construct(
|
|
235
|
+
Reflect.construct(h, []);
|
|
236
236
|
} catch (O) {
|
|
237
237
|
u = O;
|
|
238
238
|
}
|
|
239
|
-
Reflect.construct(e, [],
|
|
239
|
+
Reflect.construct(e, [], h);
|
|
240
240
|
} else {
|
|
241
241
|
try {
|
|
242
|
-
|
|
242
|
+
h.call();
|
|
243
243
|
} catch (O) {
|
|
244
244
|
u = O;
|
|
245
245
|
}
|
|
246
|
-
e.call(
|
|
246
|
+
e.call(h.prototype);
|
|
247
247
|
}
|
|
248
248
|
} else {
|
|
249
249
|
try {
|
|
@@ -273,7 +273,7 @@ function pr() {
|
|
|
273
273
|
}
|
|
274
274
|
}
|
|
275
275
|
} finally {
|
|
276
|
-
fe = !1, le.current = _,
|
|
276
|
+
fe = !1, le.current = _, ht(), Error.prepareStackTrace = m;
|
|
277
277
|
}
|
|
278
278
|
var q = e ? e.displayName || e.name : "", B = q ? Z(q) : "";
|
|
279
279
|
return typeof e == "function" && Q.set(e, B), B;
|
|
@@ -293,7 +293,7 @@ function pr() {
|
|
|
293
293
|
if (typeof e == "string")
|
|
294
294
|
return Z(e);
|
|
295
295
|
switch (e) {
|
|
296
|
-
case
|
|
296
|
+
case g:
|
|
297
297
|
return Z("Suspense");
|
|
298
298
|
case b:
|
|
299
299
|
return Z("SuspenseList");
|
|
@@ -325,19 +325,19 @@ function pr() {
|
|
|
325
325
|
function yt(e, n, a, u, m) {
|
|
326
326
|
{
|
|
327
327
|
var _ = Function.call.bind(J);
|
|
328
|
-
for (var
|
|
329
|
-
if (_(e,
|
|
328
|
+
for (var h in e)
|
|
329
|
+
if (_(e, h)) {
|
|
330
330
|
var v = void 0;
|
|
331
331
|
try {
|
|
332
|
-
if (typeof e[
|
|
333
|
-
var k = Error((u || "React class") + ": " + a + " type `" +
|
|
332
|
+
if (typeof e[h] != "function") {
|
|
333
|
+
var k = Error((u || "React class") + ": " + a + " type `" + h + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[h] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
334
334
|
throw k.name = "Invariant Violation", k;
|
|
335
335
|
}
|
|
336
|
-
v = e[
|
|
336
|
+
v = e[h](n, h, u, a, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
337
337
|
} catch (S) {
|
|
338
338
|
v = S;
|
|
339
339
|
}
|
|
340
|
-
v && !(v instanceof Error) && (te(m), A("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", u || "React class", a,
|
|
340
|
+
v && !(v instanceof Error) && (te(m), A("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", u || "React class", a, h, typeof v), te(null)), v instanceof Error && !(v.message in Fe) && (Fe[v.message] = !0, te(m), A("Failed %s type: %s", a, v.message), te(null));
|
|
341
341
|
}
|
|
342
342
|
}
|
|
343
343
|
}
|
|
@@ -412,7 +412,7 @@ function pr() {
|
|
|
412
412
|
});
|
|
413
413
|
}
|
|
414
414
|
}
|
|
415
|
-
var wt = function(e, n, a, u, m, _,
|
|
415
|
+
var wt = function(e, n, a, u, m, _, h) {
|
|
416
416
|
var v = {
|
|
417
417
|
// This tag allows us to uniquely identify this as a React Element
|
|
418
418
|
$$typeof: r,
|
|
@@ -420,7 +420,7 @@ function pr() {
|
|
|
420
420
|
type: e,
|
|
421
421
|
key: n,
|
|
422
422
|
ref: a,
|
|
423
|
-
props:
|
|
423
|
+
props: h,
|
|
424
424
|
// Record the component responsible for creating this element.
|
|
425
425
|
_owner: _
|
|
426
426
|
};
|
|
@@ -443,20 +443,20 @@ function pr() {
|
|
|
443
443
|
};
|
|
444
444
|
function Pt(e, n, a, u, m) {
|
|
445
445
|
{
|
|
446
|
-
var _,
|
|
446
|
+
var _, h = {}, v = null, k = null;
|
|
447
447
|
a !== void 0 && (qe(a), v = "" + a), At(n) && (qe(n.key), v = "" + n.key), xt(n) && (k = n.ref, jt(n, m));
|
|
448
448
|
for (_ in n)
|
|
449
|
-
J.call(n, _) && !Et.hasOwnProperty(_) && (
|
|
449
|
+
J.call(n, _) && !Et.hasOwnProperty(_) && (h[_] = n[_]);
|
|
450
450
|
if (e && e.defaultProps) {
|
|
451
451
|
var S = e.defaultProps;
|
|
452
452
|
for (_ in S)
|
|
453
|
-
|
|
453
|
+
h[_] === void 0 && (h[_] = S[_]);
|
|
454
454
|
}
|
|
455
455
|
if (v || k) {
|
|
456
456
|
var E = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
457
|
-
v && kt(
|
|
457
|
+
v && kt(h, E), k && Ot(h, E);
|
|
458
458
|
}
|
|
459
|
-
return wt(e, v, k, m, u, Ve.current,
|
|
459
|
+
return wt(e, v, k, m, u, Ve.current, h);
|
|
460
460
|
}
|
|
461
461
|
}
|
|
462
462
|
var pe = C.ReactCurrentOwner, He = C.ReactDebugCurrentFrame;
|
|
@@ -469,7 +469,7 @@ function pr() {
|
|
|
469
469
|
}
|
|
470
470
|
var ve;
|
|
471
471
|
ve = !1;
|
|
472
|
-
function
|
|
472
|
+
function he(e) {
|
|
473
473
|
return typeof e == "object" && e !== null && e.$$typeof === r;
|
|
474
474
|
}
|
|
475
475
|
function Ke() {
|
|
@@ -520,15 +520,15 @@ Check the top-level render call using <` + a + ">.");
|
|
|
520
520
|
if (de(e))
|
|
521
521
|
for (var a = 0; a < e.length; a++) {
|
|
522
522
|
var u = e[a];
|
|
523
|
-
|
|
523
|
+
he(u) && Xe(u, n);
|
|
524
524
|
}
|
|
525
|
-
else if (
|
|
525
|
+
else if (he(e))
|
|
526
526
|
e._store && (e._store.validated = !0);
|
|
527
527
|
else if (e) {
|
|
528
528
|
var m = we(e);
|
|
529
529
|
if (typeof m == "function" && m !== e.entries)
|
|
530
|
-
for (var _ = m.call(e),
|
|
531
|
-
|
|
530
|
+
for (var _ = m.call(e), h; !(h = _.next()).done; )
|
|
531
|
+
he(h.value) && Xe(h.value, n);
|
|
532
532
|
}
|
|
533
533
|
}
|
|
534
534
|
}
|
|
@@ -572,8 +572,8 @@ Check the top-level render call using <` + a + ">.");
|
|
|
572
572
|
var Qe = {};
|
|
573
573
|
function et(e, n, a, u, m, _) {
|
|
574
574
|
{
|
|
575
|
-
var
|
|
576
|
-
if (!
|
|
575
|
+
var h = dt(e);
|
|
576
|
+
if (!h) {
|
|
577
577
|
var v = "";
|
|
578
578
|
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (v += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
579
579
|
var k = Tt();
|
|
@@ -584,7 +584,7 @@ Check the top-level render call using <` + a + ">.");
|
|
|
584
584
|
var E = Pt(e, n, a, m, _);
|
|
585
585
|
if (E == null)
|
|
586
586
|
return E;
|
|
587
|
-
if (
|
|
587
|
+
if (h) {
|
|
588
588
|
var w = n.children;
|
|
589
589
|
if (w !== void 0)
|
|
590
590
|
if (u)
|
|
@@ -600,15 +600,15 @@ Check the top-level render call using <` + a + ">.");
|
|
|
600
600
|
if (J.call(n, "key")) {
|
|
601
601
|
var B = N(e), O = Object.keys(n).filter(function(Ut) {
|
|
602
602
|
return Ut !== "key";
|
|
603
|
-
}),
|
|
604
|
-
if (!Qe[B +
|
|
603
|
+
}), ge = O.length > 0 ? "{key: someKey, " + O.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
604
|
+
if (!Qe[B + ge]) {
|
|
605
605
|
var Dt = O.length > 0 ? "{" + O.join(": ..., ") + ": ...}" : "{}";
|
|
606
606
|
A(`A props object containing a "key" prop is being spread into JSX:
|
|
607
607
|
let props = %s;
|
|
608
608
|
<%s {...props} />
|
|
609
609
|
React keys must be passed directly to JSX without using spread:
|
|
610
610
|
let props = %s;
|
|
611
|
-
<%s key={someKey} {...props} />`,
|
|
611
|
+
<%s key={someKey} {...props} />`, ge, B, Dt, B), Qe[B + ge] = !0;
|
|
612
612
|
}
|
|
613
613
|
}
|
|
614
614
|
return e === s ? Nt(E) : $t(E), E;
|
|
@@ -626,10 +626,10 @@ React keys must be passed directly to JSX without using spread:
|
|
|
626
626
|
}
|
|
627
627
|
process.env.NODE_ENV === "production" ? Ft.exports = dr() : Ft.exports = pr();
|
|
628
628
|
var c = Ft.exports;
|
|
629
|
-
const vr = "_o_1apbm_11",
|
|
629
|
+
const vr = "_o_1apbm_11", hr = "_x_1apbm_24", gr = "_p_1apbm_28", br = "_m_1apbm_45", je = {
|
|
630
630
|
o: vr,
|
|
631
|
-
x:
|
|
632
|
-
p:
|
|
631
|
+
x: hr,
|
|
632
|
+
p: gr,
|
|
633
633
|
m: br
|
|
634
634
|
};
|
|
635
635
|
let V = {};
|
|
@@ -638,17 +638,17 @@ var Wt;
|
|
|
638
638
|
function r({
|
|
639
639
|
children: p,
|
|
640
640
|
onCallbackModal: f,
|
|
641
|
-
nameModal:
|
|
641
|
+
nameModal: g,
|
|
642
642
|
offsetTop: b
|
|
643
643
|
}) {
|
|
644
644
|
const [y, R] = T(!1), [x, M] = T(!1);
|
|
645
|
-
if (V[
|
|
645
|
+
if (V[g].onClose = () => {
|
|
646
646
|
P.BackButton(!1), M(!0), setTimeout(() => {
|
|
647
|
-
R(!1), M(!1), f == null || f(), V.x(
|
|
647
|
+
R(!1), M(!1), f == null || f(), V.x(g);
|
|
648
648
|
}, 300);
|
|
649
649
|
}, W(() => {
|
|
650
|
-
y ? V[
|
|
651
|
-
callback: () => V[
|
|
650
|
+
y ? V[g].onClose() : (P.BackButton({
|
|
651
|
+
callback: () => V[g].onClose()
|
|
652
652
|
}), R(!0));
|
|
653
653
|
}, []), !!y)
|
|
654
654
|
return /* @__PURE__ */ c.jsx("div", { className: Re(je.o, x && je.x), children: /* @__PURE__ */ c.jsx(
|
|
@@ -667,24 +667,24 @@ var Wt;
|
|
|
667
667
|
function o({
|
|
668
668
|
import_modules: p
|
|
669
669
|
}) {
|
|
670
|
-
let [f,
|
|
670
|
+
let [f, g] = T([]);
|
|
671
671
|
return V.x = (b) => {
|
|
672
|
-
|
|
672
|
+
g(b ? f.filter((y) => y.key !== b) : []);
|
|
673
673
|
}, W(() => {
|
|
674
674
|
p && (V.i = p);
|
|
675
675
|
}, []), V.add = (b, y = Date.now()) => {
|
|
676
|
-
|
|
676
|
+
g([...f, { key: y, item: b }]);
|
|
677
677
|
}, /* @__PURE__ */ c.jsx(c.Fragment, { children: f.map((b) => b.item) });
|
|
678
678
|
}
|
|
679
679
|
t.Init = o;
|
|
680
|
-
function s(p, f,
|
|
680
|
+
function s(p, f, g) {
|
|
681
681
|
V.add(
|
|
682
682
|
/* @__PURE__ */ c.jsx(
|
|
683
683
|
r,
|
|
684
684
|
{
|
|
685
685
|
onCallbackModal: V["callback_modal" + f],
|
|
686
686
|
nameModal: f || "",
|
|
687
|
-
offsetTop:
|
|
687
|
+
offsetTop: g,
|
|
688
688
|
children: p
|
|
689
689
|
},
|
|
690
690
|
String(Date.now())
|
|
@@ -693,7 +693,7 @@ var Wt;
|
|
|
693
693
|
);
|
|
694
694
|
}
|
|
695
695
|
t.Add = s;
|
|
696
|
-
function i(p, f = Date.now().toString(),
|
|
696
|
+
function i(p, f = Date.now().toString(), g) {
|
|
697
697
|
return V[f] = {}, {
|
|
698
698
|
Open: (R) => {
|
|
699
699
|
t.Add(
|
|
@@ -710,7 +710,7 @@ var Wt;
|
|
|
710
710
|
(/* @__PURE__ */ new Date()).getTime()
|
|
711
711
|
),
|
|
712
712
|
f,
|
|
713
|
-
|
|
713
|
+
g === void 0 ? !0 : g
|
|
714
714
|
);
|
|
715
715
|
}
|
|
716
716
|
};
|
|
@@ -720,10 +720,10 @@ var Wt;
|
|
|
720
720
|
V[p].onClose();
|
|
721
721
|
}
|
|
722
722
|
t.Close = l;
|
|
723
|
-
function d(p, f,
|
|
724
|
-
V.i && (b && (
|
|
723
|
+
function d(p, f, g, b) {
|
|
724
|
+
V.i && (b && (g.callback = b), V.i(`${p}/modals/${f}.tsx`).then((y) => {
|
|
725
725
|
var R;
|
|
726
|
-
y.Open ? y.Open(
|
|
726
|
+
y.Open ? y.Open(g) : (R = y.default) != null && R.Open ? y.default.Open(g) : y.default && y.default(g);
|
|
727
727
|
}));
|
|
728
728
|
}
|
|
729
729
|
t.Open = d;
|
|
@@ -850,9 +850,9 @@ function xr() {
|
|
|
850
850
|
if (Gt) return nt;
|
|
851
851
|
Gt = 1;
|
|
852
852
|
var t = U, r = Symbol.for("react.element"), o = Symbol.for("react.fragment"), s = Object.prototype.hasOwnProperty, i = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, l = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
853
|
-
function d(p, f,
|
|
853
|
+
function d(p, f, g) {
|
|
854
854
|
var b, y = {}, R = null, x = null;
|
|
855
|
-
|
|
855
|
+
g !== void 0 && (R = "" + g), f.key !== void 0 && (R = "" + f.key), f.ref !== void 0 && (x = f.ref);
|
|
856
856
|
for (b in f) s.call(f, b) && !l.hasOwnProperty(b) && (y[b] = f[b]);
|
|
857
857
|
if (p && p.defaultProps) for (b in f = p.defaultProps, f) y[b] === void 0 && (y[b] = f[b]);
|
|
858
858
|
return { $$typeof: r, type: p, key: R, ref: x, props: y, _owner: i.current };
|
|
@@ -872,7 +872,7 @@ var ot = {};
|
|
|
872
872
|
var Xt;
|
|
873
873
|
function Ar() {
|
|
874
874
|
return Xt || (Xt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
875
|
-
var t = U, r = Symbol.for("react.element"), o = Symbol.for("react.portal"), s = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), l = Symbol.for("react.profiler"), d = Symbol.for("react.provider"), p = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"),
|
|
875
|
+
var t = U, r = Symbol.for("react.element"), o = Symbol.for("react.portal"), s = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), l = Symbol.for("react.profiler"), d = Symbol.for("react.provider"), p = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"), g = Symbol.for("react.suspense"), b = Symbol.for("react.suspense_list"), y = Symbol.for("react.memo"), R = Symbol.for("react.lazy"), x = Symbol.for("react.offscreen"), M = Symbol.iterator, ce = "@@iterator";
|
|
876
876
|
function we(e) {
|
|
877
877
|
if (e === null || typeof e != "object")
|
|
878
878
|
return null;
|
|
@@ -891,8 +891,8 @@ function Ar() {
|
|
|
891
891
|
{
|
|
892
892
|
var u = C.ReactDebugCurrentFrame, m = u.getStackAddendum();
|
|
893
893
|
m !== "" && (n += "%s", a = a.concat([m]));
|
|
894
|
-
var _ = a.map(function(
|
|
895
|
-
return String(
|
|
894
|
+
var _ = a.map(function(h) {
|
|
895
|
+
return String(h);
|
|
896
896
|
});
|
|
897
897
|
_.unshift("Warning: " + n), Function.prototype.apply.call(console[e], console, _);
|
|
898
898
|
}
|
|
@@ -900,7 +900,7 @@ function Ar() {
|
|
|
900
900
|
var Pe = !1, K = !1, Ee = !1, xe = !1, Ae = !1, $;
|
|
901
901
|
$ = Symbol.for("react.module.reference");
|
|
902
902
|
function dt(e) {
|
|
903
|
-
return !!(typeof e == "string" || typeof e == "function" || e === s || e === l || Ae || e === i || e ===
|
|
903
|
+
return !!(typeof e == "string" || typeof e == "function" || e === s || e === l || Ae || e === i || e === g || e === b || xe || e === x || Pe || K || Ee || typeof e == "object" && e !== null && (e.$$typeof === R || e.$$typeof === y || e.$$typeof === d || e.$$typeof === p || e.$$typeof === f || // This needs to include all possible module reference object
|
|
904
904
|
// types supported by any Flight configuration anywhere since
|
|
905
905
|
// we don't know which Flight build this will end up being used
|
|
906
906
|
// with.
|
|
@@ -932,7 +932,7 @@ function Ar() {
|
|
|
932
932
|
return "Profiler";
|
|
933
933
|
case i:
|
|
934
934
|
return "StrictMode";
|
|
935
|
-
case
|
|
935
|
+
case g:
|
|
936
936
|
return "Suspense";
|
|
937
937
|
case b:
|
|
938
938
|
return "SuspenseList";
|
|
@@ -951,9 +951,9 @@ function Ar() {
|
|
|
951
951
|
var u = e.displayName || null;
|
|
952
952
|
return u !== null ? u : N(e.type) || "Memo";
|
|
953
953
|
case R: {
|
|
954
|
-
var m = e, _ = m._payload,
|
|
954
|
+
var m = e, _ = m._payload, h = m._init;
|
|
955
955
|
try {
|
|
956
|
-
return N(
|
|
956
|
+
return N(h(_));
|
|
957
957
|
} catch {
|
|
958
958
|
return null;
|
|
959
959
|
}
|
|
@@ -988,7 +988,7 @@ function Ar() {
|
|
|
988
988
|
z++;
|
|
989
989
|
}
|
|
990
990
|
}
|
|
991
|
-
function
|
|
991
|
+
function ht() {
|
|
992
992
|
{
|
|
993
993
|
if (z--, z === 0) {
|
|
994
994
|
var e = {
|
|
@@ -1039,8 +1039,8 @@ function Ar() {
|
|
|
1039
1039
|
}
|
|
1040
1040
|
var fe = !1, Q;
|
|
1041
1041
|
{
|
|
1042
|
-
var
|
|
1043
|
-
Q = new
|
|
1042
|
+
var gt = typeof WeakMap == "function" ? WeakMap : Map;
|
|
1043
|
+
Q = new gt();
|
|
1044
1044
|
}
|
|
1045
1045
|
function Ue(e, n) {
|
|
1046
1046
|
if (!e || fe)
|
|
@@ -1058,27 +1058,27 @@ function Ar() {
|
|
|
1058
1058
|
_ = le.current, le.current = null, vt();
|
|
1059
1059
|
try {
|
|
1060
1060
|
if (n) {
|
|
1061
|
-
var
|
|
1061
|
+
var h = function() {
|
|
1062
1062
|
throw Error();
|
|
1063
1063
|
};
|
|
1064
|
-
if (Object.defineProperty(
|
|
1064
|
+
if (Object.defineProperty(h.prototype, "props", {
|
|
1065
1065
|
set: function() {
|
|
1066
1066
|
throw Error();
|
|
1067
1067
|
}
|
|
1068
1068
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
1069
1069
|
try {
|
|
1070
|
-
Reflect.construct(
|
|
1070
|
+
Reflect.construct(h, []);
|
|
1071
1071
|
} catch (O) {
|
|
1072
1072
|
u = O;
|
|
1073
1073
|
}
|
|
1074
|
-
Reflect.construct(e, [],
|
|
1074
|
+
Reflect.construct(e, [], h);
|
|
1075
1075
|
} else {
|
|
1076
1076
|
try {
|
|
1077
|
-
|
|
1077
|
+
h.call();
|
|
1078
1078
|
} catch (O) {
|
|
1079
1079
|
u = O;
|
|
1080
1080
|
}
|
|
1081
|
-
e.call(
|
|
1081
|
+
e.call(h.prototype);
|
|
1082
1082
|
}
|
|
1083
1083
|
} else {
|
|
1084
1084
|
try {
|
|
@@ -1108,7 +1108,7 @@ function Ar() {
|
|
|
1108
1108
|
}
|
|
1109
1109
|
}
|
|
1110
1110
|
} finally {
|
|
1111
|
-
fe = !1, le.current = _,
|
|
1111
|
+
fe = !1, le.current = _, ht(), Error.prepareStackTrace = m;
|
|
1112
1112
|
}
|
|
1113
1113
|
var q = e ? e.displayName || e.name : "", B = q ? Z(q) : "";
|
|
1114
1114
|
return typeof e == "function" && Q.set(e, B), B;
|
|
@@ -1128,7 +1128,7 @@ function Ar() {
|
|
|
1128
1128
|
if (typeof e == "string")
|
|
1129
1129
|
return Z(e);
|
|
1130
1130
|
switch (e) {
|
|
1131
|
-
case
|
|
1131
|
+
case g:
|
|
1132
1132
|
return Z("Suspense");
|
|
1133
1133
|
case b:
|
|
1134
1134
|
return Z("SuspenseList");
|
|
@@ -1160,19 +1160,19 @@ function Ar() {
|
|
|
1160
1160
|
function yt(e, n, a, u, m) {
|
|
1161
1161
|
{
|
|
1162
1162
|
var _ = Function.call.bind(J);
|
|
1163
|
-
for (var
|
|
1164
|
-
if (_(e,
|
|
1163
|
+
for (var h in e)
|
|
1164
|
+
if (_(e, h)) {
|
|
1165
1165
|
var v = void 0;
|
|
1166
1166
|
try {
|
|
1167
|
-
if (typeof e[
|
|
1168
|
-
var k = Error((u || "React class") + ": " + a + " type `" +
|
|
1167
|
+
if (typeof e[h] != "function") {
|
|
1168
|
+
var k = Error((u || "React class") + ": " + a + " type `" + h + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[h] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
1169
1169
|
throw k.name = "Invariant Violation", k;
|
|
1170
1170
|
}
|
|
1171
|
-
v = e[
|
|
1171
|
+
v = e[h](n, h, u, a, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
1172
1172
|
} catch (S) {
|
|
1173
1173
|
v = S;
|
|
1174
1174
|
}
|
|
1175
|
-
v && !(v instanceof Error) && (te(m), A("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", u || "React class", a,
|
|
1175
|
+
v && !(v instanceof Error) && (te(m), A("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", u || "React class", a, h, typeof v), te(null)), v instanceof Error && !(v.message in Fe) && (Fe[v.message] = !0, te(m), A("Failed %s type: %s", a, v.message), te(null));
|
|
1176
1176
|
}
|
|
1177
1177
|
}
|
|
1178
1178
|
}
|
|
@@ -1247,7 +1247,7 @@ function Ar() {
|
|
|
1247
1247
|
});
|
|
1248
1248
|
}
|
|
1249
1249
|
}
|
|
1250
|
-
var wt = function(e, n, a, u, m, _,
|
|
1250
|
+
var wt = function(e, n, a, u, m, _, h) {
|
|
1251
1251
|
var v = {
|
|
1252
1252
|
// This tag allows us to uniquely identify this as a React Element
|
|
1253
1253
|
$$typeof: r,
|
|
@@ -1255,7 +1255,7 @@ function Ar() {
|
|
|
1255
1255
|
type: e,
|
|
1256
1256
|
key: n,
|
|
1257
1257
|
ref: a,
|
|
1258
|
-
props:
|
|
1258
|
+
props: h,
|
|
1259
1259
|
// Record the component responsible for creating this element.
|
|
1260
1260
|
_owner: _
|
|
1261
1261
|
};
|
|
@@ -1278,20 +1278,20 @@ function Ar() {
|
|
|
1278
1278
|
};
|
|
1279
1279
|
function Pt(e, n, a, u, m) {
|
|
1280
1280
|
{
|
|
1281
|
-
var _,
|
|
1281
|
+
var _, h = {}, v = null, k = null;
|
|
1282
1282
|
a !== void 0 && (qe(a), v = "" + a), At(n) && (qe(n.key), v = "" + n.key), xt(n) && (k = n.ref, jt(n));
|
|
1283
1283
|
for (_ in n)
|
|
1284
|
-
J.call(n, _) && !Et.hasOwnProperty(_) && (
|
|
1284
|
+
J.call(n, _) && !Et.hasOwnProperty(_) && (h[_] = n[_]);
|
|
1285
1285
|
if (e && e.defaultProps) {
|
|
1286
1286
|
var S = e.defaultProps;
|
|
1287
1287
|
for (_ in S)
|
|
1288
|
-
|
|
1288
|
+
h[_] === void 0 && (h[_] = S[_]);
|
|
1289
1289
|
}
|
|
1290
1290
|
if (v || k) {
|
|
1291
1291
|
var E = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
1292
|
-
v && kt(
|
|
1292
|
+
v && kt(h, E), k && Ot(h, E);
|
|
1293
1293
|
}
|
|
1294
|
-
return wt(e, v, k, m, u, Ve.current,
|
|
1294
|
+
return wt(e, v, k, m, u, Ve.current, h);
|
|
1295
1295
|
}
|
|
1296
1296
|
}
|
|
1297
1297
|
var pe = C.ReactCurrentOwner, He = C.ReactDebugCurrentFrame;
|
|
@@ -1304,7 +1304,7 @@ function Ar() {
|
|
|
1304
1304
|
}
|
|
1305
1305
|
var ve;
|
|
1306
1306
|
ve = !1;
|
|
1307
|
-
function
|
|
1307
|
+
function he(e) {
|
|
1308
1308
|
return typeof e == "object" && e !== null && e.$$typeof === r;
|
|
1309
1309
|
}
|
|
1310
1310
|
function Ke() {
|
|
@@ -1355,15 +1355,15 @@ Check the top-level render call using <` + a + ">.");
|
|
|
1355
1355
|
if (de(e))
|
|
1356
1356
|
for (var a = 0; a < e.length; a++) {
|
|
1357
1357
|
var u = e[a];
|
|
1358
|
-
|
|
1358
|
+
he(u) && Xe(u, n);
|
|
1359
1359
|
}
|
|
1360
|
-
else if (
|
|
1360
|
+
else if (he(e))
|
|
1361
1361
|
e._store && (e._store.validated = !0);
|
|
1362
1362
|
else if (e) {
|
|
1363
1363
|
var m = we(e);
|
|
1364
1364
|
if (typeof m == "function" && m !== e.entries)
|
|
1365
|
-
for (var _ = m.call(e),
|
|
1366
|
-
|
|
1365
|
+
for (var _ = m.call(e), h; !(h = _.next()).done; )
|
|
1366
|
+
he(h.value) && Xe(h.value, n);
|
|
1367
1367
|
}
|
|
1368
1368
|
}
|
|
1369
1369
|
}
|
|
@@ -1407,8 +1407,8 @@ Check the top-level render call using <` + a + ">.");
|
|
|
1407
1407
|
var Qe = {};
|
|
1408
1408
|
function et(e, n, a, u, m, _) {
|
|
1409
1409
|
{
|
|
1410
|
-
var
|
|
1411
|
-
if (!
|
|
1410
|
+
var h = dt(e);
|
|
1411
|
+
if (!h) {
|
|
1412
1412
|
var v = "";
|
|
1413
1413
|
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (v += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
1414
1414
|
var k = Tt();
|
|
@@ -1419,7 +1419,7 @@ Check the top-level render call using <` + a + ">.");
|
|
|
1419
1419
|
var E = Pt(e, n, a, m, _);
|
|
1420
1420
|
if (E == null)
|
|
1421
1421
|
return E;
|
|
1422
|
-
if (
|
|
1422
|
+
if (h) {
|
|
1423
1423
|
var w = n.children;
|
|
1424
1424
|
if (w !== void 0)
|
|
1425
1425
|
if (u)
|
|
@@ -1435,15 +1435,15 @@ Check the top-level render call using <` + a + ">.");
|
|
|
1435
1435
|
if (J.call(n, "key")) {
|
|
1436
1436
|
var B = N(e), O = Object.keys(n).filter(function(Ut) {
|
|
1437
1437
|
return Ut !== "key";
|
|
1438
|
-
}),
|
|
1439
|
-
if (!Qe[B +
|
|
1438
|
+
}), ge = O.length > 0 ? "{key: someKey, " + O.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
1439
|
+
if (!Qe[B + ge]) {
|
|
1440
1440
|
var Dt = O.length > 0 ? "{" + O.join(": ..., ") + ": ...}" : "{}";
|
|
1441
1441
|
A(`A props object containing a "key" prop is being spread into JSX:
|
|
1442
1442
|
let props = %s;
|
|
1443
1443
|
<%s {...props} />
|
|
1444
1444
|
React keys must be passed directly to JSX without using spread:
|
|
1445
1445
|
let props = %s;
|
|
1446
|
-
<%s key={someKey} {...props} />`,
|
|
1446
|
+
<%s key={someKey} {...props} />`, ge, B, Dt, B), Qe[B + ge] = !0;
|
|
1447
1447
|
}
|
|
1448
1448
|
}
|
|
1449
1449
|
return e === s ? Nt(E) : $t(E), E;
|
|
@@ -1660,8 +1660,8 @@ function wr(t) {
|
|
|
1660
1660
|
if ((d = (l = p.ROUTER_PARAMS) == null ? void 0 : l.LISTENER) != null && d.page) {
|
|
1661
1661
|
const f = p.ROUTER_PARAMS.LISTENER.page;
|
|
1662
1662
|
if (Array.isArray(f)) {
|
|
1663
|
-
const
|
|
1664
|
-
|
|
1663
|
+
const g = f.indexOf(i);
|
|
1664
|
+
g > -1 && f.splice(g, 1);
|
|
1665
1665
|
}
|
|
1666
1666
|
}
|
|
1667
1667
|
};
|
|
@@ -1721,8 +1721,8 @@ function Br(t) {
|
|
|
1721
1721
|
if ((d = (l = p.ROUTER_PARAMS) == null ? void 0 : l.LISTENER) != null && d.tabs) {
|
|
1722
1722
|
const f = p.ROUTER_PARAMS.LISTENER.tabs;
|
|
1723
1723
|
if (Array.isArray(f)) {
|
|
1724
|
-
const
|
|
1725
|
-
|
|
1724
|
+
const g = f.indexOf(i);
|
|
1725
|
+
g > -1 && f.splice(g, 1);
|
|
1726
1726
|
}
|
|
1727
1727
|
}
|
|
1728
1728
|
};
|
|
@@ -1775,8 +1775,8 @@ function Yr(t) {
|
|
|
1775
1775
|
}
|
|
1776
1776
|
async function qr(t) {
|
|
1777
1777
|
var r, o, s, i, l, d, p, f;
|
|
1778
|
-
const { page:
|
|
1779
|
-
|
|
1778
|
+
const { page: g, module: b, tab: y, id: R } = t;
|
|
1779
|
+
g !== void 0 && (ne.page = g), b !== void 0 && (ne.module = b), y !== void 0 && (ne.tab = y), R !== void 0 && (ne.id = R), X({ ...ne }), R !== void 0 && ((o = (r = H()).id) == null || o.call(r, R)), y !== void 0 && ((i = (s = H()).tabs) == null || i.call(s, y)), b !== void 0 && ((d = (l = H()).module) == null || d.call(l, b)), g !== void 0 && ((f = (p = H()).page) == null || f.call(p, g)), sessionStorage.setItem(
|
|
1780
1780
|
j().STORAGE,
|
|
1781
1781
|
ie.enCode(j())
|
|
1782
1782
|
);
|
|
@@ -1797,18 +1797,18 @@ const Oe = {
|
|
|
1797
1797
|
glob: f
|
|
1798
1798
|
// Поддержка единого glob объекта для упрощения
|
|
1799
1799
|
}) {
|
|
1800
|
-
let
|
|
1801
|
-
f ? (b = typeof d == "object" ? d : f, y = typeof p == "object" ? p : f) : (b = b || f, y = y || f), !
|
|
1800
|
+
let g = l, b = d, y = p;
|
|
1801
|
+
f ? (b = typeof d == "object" ? d : f, y = typeof p == "object" ? p : f) : (b = b || f, y = y || f), !g && (b || y) ? !f && (typeof b == "string" || typeof y == "string") ? g = Yt({ basePath: i }) : g = Qt(
|
|
1802
1802
|
i,
|
|
1803
1803
|
b,
|
|
1804
1804
|
y
|
|
1805
|
-
) :
|
|
1805
|
+
) : g || (g = Yt({ basePath: i })), X({
|
|
1806
1806
|
page: r,
|
|
1807
1807
|
module: t,
|
|
1808
1808
|
auth: o,
|
|
1809
1809
|
debug: s,
|
|
1810
1810
|
dir: i,
|
|
1811
|
-
importModules:
|
|
1811
|
+
importModules: g
|
|
1812
1812
|
}), Or();
|
|
1813
1813
|
},
|
|
1814
1814
|
// Упрощенная функция для создания importModules
|
|
@@ -1981,7 +1981,7 @@ L.users = {
|
|
|
1981
1981
|
};
|
|
1982
1982
|
const ln = () => {
|
|
1983
1983
|
if (location.hostname === "localhost") {
|
|
1984
|
-
let [t, r] = T(!1), [o, s] = T(!1), [i, l] = T("dark"), [d, p] = T(!1), [f,
|
|
1984
|
+
let [t, r] = T(!1), [o, s] = T(!1), [i, l] = T("dark"), [d, p] = T(!1), [f, g] = T(!1);
|
|
1985
1985
|
se.is = !0, se.MainButton.set = r, se.BackButton.set = s, W(() => {
|
|
1986
1986
|
var R;
|
|
1987
1987
|
L[i]["--tg-theme-bg-color-alpha"] = L[i]["--tg-theme-bg-color"] + "b3", L[i]["--tg-theme-secondary-bg-color-alpha"] = L[i]["--tg-theme-secondary-bg-color"] + "d3", L[i]["--tg-theme-bg-color-alpha-25"] = L[i]["--tg-theme-bg-color"] + "40", L[i]["--tg-theme-secondary-bg-color-alpha-25"] = L[i]["--tg-theme-secondary-bg-color"] + "40";
|
|
@@ -2006,7 +2006,7 @@ const ln = () => {
|
|
|
2006
2006
|
);
|
|
2007
2007
|
l(R), p(!1);
|
|
2008
2008
|
}, y = () => {
|
|
2009
|
-
p(!1),
|
|
2009
|
+
p(!1), g(!0);
|
|
2010
2010
|
};
|
|
2011
2011
|
return /* @__PURE__ */ c.jsxs(c.Fragment, { children: [
|
|
2012
2012
|
/* @__PURE__ */ c.jsxs("div", { className: oe.d, children: [
|
|
@@ -2075,7 +2075,7 @@ const ln = () => {
|
|
|
2075
2075
|
/* @__PURE__ */ c.jsx("li", { children: /* @__PURE__ */ c.jsx("button", { onClick: () => p(!d), children: "Closed" }) })
|
|
2076
2076
|
] })
|
|
2077
2077
|
] }) : "",
|
|
2078
|
-
f ? /* @__PURE__ */ c.jsx(un, { setAuthorization:
|
|
2078
|
+
f ? /* @__PURE__ */ c.jsx(un, { setAuthorization: g }) : ""
|
|
2079
2079
|
] });
|
|
2080
2080
|
} else
|
|
2081
2081
|
return W(() => {
|
|
@@ -2111,12 +2111,12 @@ const ln = () => {
|
|
|
2111
2111
|
className: [er.p, o && er.s, t].filter((s) => s !== void 0).join(" "),
|
|
2112
2112
|
children: r
|
|
2113
2113
|
}
|
|
2114
|
-
), vn = "_l_gfyud_1",
|
|
2114
|
+
), vn = "_l_gfyud_1", hn = {
|
|
2115
2115
|
l: vn
|
|
2116
|
-
},
|
|
2116
|
+
}, gn = ({ children: t, className: r }) => /* @__PURE__ */ c.jsx(
|
|
2117
2117
|
"div",
|
|
2118
2118
|
{
|
|
2119
|
-
className: [
|
|
2119
|
+
className: [hn.l, r].filter((o) => o !== void 0).join(" "),
|
|
2120
2120
|
children: t
|
|
2121
2121
|
}
|
|
2122
2122
|
), bn = "_m_ppm7n_2", mn = "_g_ppm7n_10", yn = "_i_ppm7n_18", _n = "_c_ppm7n_35", Rn = "_l_ppm7n_42", Sn = "_a_ppm7n_57", En = "_n_ppm7n_62", be = {
|
|
@@ -2178,17 +2178,17 @@ function $n({
|
|
|
2178
2178
|
position: d = "left",
|
|
2179
2179
|
name: p = "default"
|
|
2180
2180
|
}) {
|
|
2181
|
-
const [f,
|
|
2181
|
+
const [f, g] = T(!1), [b, y] = T(
|
|
2182
2182
|
null
|
|
2183
2183
|
);
|
|
2184
2184
|
W(() => {
|
|
2185
2185
|
let x = document.querySelector(".p_sb");
|
|
2186
|
-
return x || (x = document.createElement("div"), x.className = "_p_sb", document.body.appendChild(x)), y(x), ct[p] = (M) =>
|
|
2186
|
+
return x || (x = document.createElement("div"), x.className = "_p_sb", document.body.appendChild(x)), y(x), ct[p] = (M) => g(M), () => {
|
|
2187
2187
|
x && x.parentNode && x.parentNode.removeChild(x);
|
|
2188
2188
|
};
|
|
2189
2189
|
}, []);
|
|
2190
2190
|
const R = /* @__PURE__ */ c.jsxs(c.Fragment, { children: [
|
|
2191
|
-
f && /* @__PURE__ */ c.jsx("div", { className: re.o, onClick: () =>
|
|
2191
|
+
f && /* @__PURE__ */ c.jsx("div", { className: re.o, onClick: () => g(!1) }),
|
|
2192
2192
|
/* @__PURE__ */ c.jsxs(
|
|
2193
2193
|
"div",
|
|
2194
2194
|
{
|
|
@@ -2204,7 +2204,7 @@ function $n({
|
|
|
2204
2204
|
/* @__PURE__ */ c.jsxs(
|
|
2205
2205
|
"svg",
|
|
2206
2206
|
{
|
|
2207
|
-
onClick: () =>
|
|
2207
|
+
onClick: () => g(!1),
|
|
2208
2208
|
fill: "none",
|
|
2209
2209
|
stroke: "currentColor",
|
|
2210
2210
|
strokeLinecap: "round",
|
|
@@ -2231,7 +2231,7 @@ function $n({
|
|
|
2231
2231
|
r && /* @__PURE__ */ c.jsx(
|
|
2232
2232
|
"div",
|
|
2233
2233
|
{
|
|
2234
|
-
onClick: () =>
|
|
2234
|
+
onClick: () => g(!0),
|
|
2235
2235
|
className: "bage",
|
|
2236
2236
|
"data-count": o,
|
|
2237
2237
|
children: r
|
|
@@ -2265,7 +2265,7 @@ const ur = ({
|
|
|
2265
2265
|
"div",
|
|
2266
2266
|
{
|
|
2267
2267
|
className: `footer-menu-popup-book ${p ? "closing" : ""} ${i || ""} ${s ? "footer" : ""}`,
|
|
2268
|
-
onClick: (
|
|
2268
|
+
onClick: (g) => g.stopPropagation(),
|
|
2269
2269
|
children: [
|
|
2270
2270
|
/* @__PURE__ */ c.jsxs("div", { className: "footer-menu-header", children: [
|
|
2271
2271
|
/* @__PURE__ */ c.jsx("h3", { children: r }),
|
|
@@ -2284,7 +2284,7 @@ const ur = ({
|
|
|
2284
2284
|
)
|
|
2285
2285
|
}
|
|
2286
2286
|
);
|
|
2287
|
-
}, Mn = "
|
|
2287
|
+
}, Mn = "_h_1xsu6_2", In = "_r_1xsu6_55", Bn = "_c_1xsu6_58", Ln = "_x_1xsu6_61", Dn = "_b_1xsu6_65", Un = "_a_1xsu6_103", Fn = "_draw_1xsu6_1", Wn = "_scaleToggleVar_1xsu6_1", ke = {
|
|
2288
2288
|
h: Mn,
|
|
2289
2289
|
r: In,
|
|
2290
2290
|
c: Bn,
|
|
@@ -2292,17 +2292,16 @@ const ur = ({
|
|
|
2292
2292
|
b: Dn,
|
|
2293
2293
|
a: Un,
|
|
2294
2294
|
draw: Fn,
|
|
2295
|
-
|
|
2296
|
-
|
|
2297
|
-
|
|
2298
|
-
|
|
2299
|
-
}, zn = ({ className: t, value: r }) => /* @__PURE__ */ c.jsx(
|
|
2295
|
+
scaleToggleVar: Wn
|
|
2296
|
+
}, Yn = "_b_r6m8n_1", qn = {
|
|
2297
|
+
b: Yn
|
|
2298
|
+
}, Vn = ({ className: t, value: r }) => /* @__PURE__ */ c.jsx(
|
|
2300
2299
|
"div",
|
|
2301
2300
|
{
|
|
2302
|
-
className: [
|
|
2301
|
+
className: [qn.b, t].filter((o) => o !== void 0).join(" "),
|
|
2303
2302
|
children: r
|
|
2304
2303
|
}
|
|
2305
|
-
),
|
|
2304
|
+
), zn = (t, r) => t.findIndex((o) => (o == null ? void 0 : o.page) === r), Jn = ({
|
|
2306
2305
|
actions: t,
|
|
2307
2306
|
children: r,
|
|
2308
2307
|
className: o,
|
|
@@ -2313,8 +2312,8 @@ const ur = ({
|
|
|
2313
2312
|
onPageChange: p,
|
|
2314
2313
|
direction: f = "row"
|
|
2315
2314
|
}) => {
|
|
2316
|
-
const [
|
|
2317
|
-
l ?
|
|
2315
|
+
const [g, b] = U.useState(null), [y, R] = U.useState(
|
|
2316
|
+
l ? zn(t || [], l) : 0
|
|
2318
2317
|
), [x, M] = U.useState(
|
|
2319
2318
|
"right"
|
|
2320
2319
|
), ce = U.useRef(y);
|
|
@@ -2348,7 +2347,7 @@ const ur = ({
|
|
|
2348
2347
|
C(!1);
|
|
2349
2348
|
}, K = {};
|
|
2350
2349
|
return d === "liquid-glass" && (K.onMouseDown = A, K.onMouseUp = Se, K.onMouseLeave = Pe, K.onTouchStart = A, K.onTouchEnd = Se), /* @__PURE__ */ c.jsxs(c.Fragment, { children: [
|
|
2351
|
-
|
|
2350
|
+
g,
|
|
2352
2351
|
/* @__PURE__ */ c.jsxs(
|
|
2353
2352
|
"footer",
|
|
2354
2353
|
{
|
|
@@ -2364,7 +2363,7 @@ const ur = ({
|
|
|
2364
2363
|
children: [
|
|
2365
2364
|
r,
|
|
2366
2365
|
t && /* @__PURE__ */ c.jsx(
|
|
2367
|
-
|
|
2366
|
+
Hn,
|
|
2368
2367
|
{
|
|
2369
2368
|
actions: t,
|
|
2370
2369
|
activeIndex: y,
|
|
@@ -2378,7 +2377,7 @@ const ur = ({
|
|
|
2378
2377
|
}
|
|
2379
2378
|
)
|
|
2380
2379
|
] });
|
|
2381
|
-
},
|
|
2380
|
+
}, Hn = ({
|
|
2382
2381
|
actions: t,
|
|
2383
2382
|
activeIndex: r,
|
|
2384
2383
|
setActiveIndex: o,
|
|
@@ -2396,7 +2395,7 @@ const ur = ({
|
|
|
2396
2395
|
children: [
|
|
2397
2396
|
d.icon,
|
|
2398
2397
|
d.title && /* @__PURE__ */ c.jsx("span", { children: d.title }),
|
|
2399
|
-
d.badge && /* @__PURE__ */ c.jsx(
|
|
2398
|
+
d.badge && /* @__PURE__ */ c.jsx(Vn, { value: d.badge })
|
|
2400
2399
|
]
|
|
2401
2400
|
},
|
|
2402
2401
|
p
|
|
@@ -2411,13 +2410,13 @@ const ur = ({
|
|
|
2411
2410
|
}
|
|
2412
2411
|
}
|
|
2413
2412
|
)
|
|
2414
|
-
] }),
|
|
2415
|
-
w:
|
|
2416
|
-
v:
|
|
2417
|
-
s:
|
|
2418
|
-
n:
|
|
2413
|
+
] }), Kn = "_w_yx04q_3", Gn = "_v_yx04q_24", Xn = "_s_yx04q_34", Zn = "_n_yx04q_38", at = {
|
|
2414
|
+
w: Kn,
|
|
2415
|
+
v: Gn,
|
|
2416
|
+
s: Xn,
|
|
2417
|
+
n: Zn
|
|
2419
2418
|
}, Vt = {};
|
|
2420
|
-
function
|
|
2419
|
+
function Qn({
|
|
2421
2420
|
children: t,
|
|
2422
2421
|
name: r,
|
|
2423
2422
|
onClose: o,
|
|
@@ -2428,18 +2427,18 @@ function eo({
|
|
|
2428
2427
|
const [d, p] = T(!1);
|
|
2429
2428
|
return W(() => {
|
|
2430
2429
|
if (!s) return;
|
|
2431
|
-
const f = l === void 0 ?
|
|
2430
|
+
const f = l === void 0 ? fo().pop() : l, g = () => {
|
|
2432
2431
|
p(!1), setTimeout(() => {
|
|
2433
2432
|
tr(f || !1), o == null || o();
|
|
2434
2433
|
}, 300);
|
|
2435
2434
|
};
|
|
2436
2435
|
Vt[r] = {
|
|
2437
|
-
onClose:
|
|
2436
|
+
onClose: g,
|
|
2438
2437
|
onOpen: () => {
|
|
2439
2438
|
p(!0);
|
|
2440
2439
|
}
|
|
2441
2440
|
}, tr({
|
|
2442
|
-
callback:
|
|
2441
|
+
callback: g
|
|
2443
2442
|
});
|
|
2444
2443
|
const b = setTimeout(() => {
|
|
2445
2444
|
p(!0);
|
|
@@ -2462,16 +2461,16 @@ function eo({
|
|
|
2462
2461
|
}
|
|
2463
2462
|
) : "";
|
|
2464
2463
|
}
|
|
2465
|
-
const
|
|
2464
|
+
const eo = (t, r) => {
|
|
2466
2465
|
var o, s;
|
|
2467
2466
|
r ? (o = Vt[t]) == null || o.onOpen() : (s = Vt[t]) == null || s.onClose();
|
|
2468
|
-
},
|
|
2469
|
-
s:
|
|
2470
|
-
n:
|
|
2471
|
-
b:
|
|
2472
|
-
f:
|
|
2467
|
+
}, to = "_s_l7xl0_3", ro = "_n_l7xl0_14", no = "_b_l7xl0_19", oo = "_f_l7xl0_29", st = {
|
|
2468
|
+
s: to,
|
|
2469
|
+
n: ro,
|
|
2470
|
+
b: no,
|
|
2471
|
+
f: oo
|
|
2473
2472
|
};
|
|
2474
|
-
function
|
|
2473
|
+
function ao({
|
|
2475
2474
|
className: t,
|
|
2476
2475
|
children: r,
|
|
2477
2476
|
onScrollEnd: o,
|
|
@@ -2484,7 +2483,7 @@ function so({
|
|
|
2484
2483
|
W(() => {
|
|
2485
2484
|
f(i || !1);
|
|
2486
2485
|
}, [i]);
|
|
2487
|
-
let
|
|
2486
|
+
let g = {
|
|
2488
2487
|
onScroll: (b) => {
|
|
2489
2488
|
const { scrollTop: y, scrollHeight: R, clientHeight: x } = b.currentTarget;
|
|
2490
2489
|
y + x >= R - s && !p && (f(!0), o == null || o());
|
|
@@ -2495,7 +2494,7 @@ function so({
|
|
|
2495
2494
|
/* @__PURE__ */ c.jsx(
|
|
2496
2495
|
"div",
|
|
2497
2496
|
{
|
|
2498
|
-
...
|
|
2497
|
+
...g,
|
|
2499
2498
|
className: Re(
|
|
2500
2499
|
st.s,
|
|
2501
2500
|
!d && st.n,
|
|
@@ -2507,13 +2506,13 @@ function so({
|
|
|
2507
2506
|
)
|
|
2508
2507
|
] });
|
|
2509
2508
|
}
|
|
2510
|
-
const
|
|
2511
|
-
a:
|
|
2512
|
-
l:
|
|
2513
|
-
r:
|
|
2514
|
-
b:
|
|
2509
|
+
const so = "_a_prp23_1", io = "_l_prp23_13", co = "_r_prp23_16", lo = "_b_prp23_19", it = {
|
|
2510
|
+
a: so,
|
|
2511
|
+
l: io,
|
|
2512
|
+
r: co,
|
|
2513
|
+
b: lo
|
|
2515
2514
|
};
|
|
2516
|
-
function
|
|
2515
|
+
function uo({
|
|
2517
2516
|
children: t,
|
|
2518
2517
|
className: r,
|
|
2519
2518
|
position: o = "center",
|
|
@@ -2575,7 +2574,7 @@ var P;
|
|
|
2575
2574
|
var s;
|
|
2576
2575
|
ye.Send({ type: "warning", text: o }), (s = t.WebApp.HapticFeedback) == null || s.notificationOccurred("warning");
|
|
2577
2576
|
}
|
|
2578
|
-
}, t.Header = ln, t.TabBar =
|
|
2577
|
+
}, t.Header = ln, t.TabBar = Jn, t.BottomSheet = ur, t.toggleBottomSheet = qt, t.SafeArea = pn, t.Loading = gn, t.Sidebar = $n, t.SidePanel = Qn, t.AppBar = uo, t.SideBarController = Nn, t.SidePanelController = eo, t.Scroll = ao, t.Modal = Wt, t.Menu = xn, t.MainButton = {
|
|
2579
2578
|
callback: [],
|
|
2580
2579
|
set: (o) => {
|
|
2581
2580
|
se.is ? se.MainButton.set(o) : (t.WebApp.MainButton.callback.forEach((s) => {
|
|
@@ -2593,30 +2592,30 @@ var P;
|
|
|
2593
2592
|
se.is ? se.BackButton.set(o) : (D.state.push(o), D.router(o));
|
|
2594
2593
|
};
|
|
2595
2594
|
})(P || (P = {}));
|
|
2596
|
-
const ho = P.TabBar,
|
|
2595
|
+
const ho = P.TabBar, go = ur, tr = P.BackButton, bo = P.BackButtonPrev, fo = P.BackButtonState, mo = P.Notice, yo = P.SafeArea, _o = P.Loading, Ro = P.Menu, So = P.SidePanel, Eo = P.Scroll, xo = P.AppBar, Ao = P.Sidebar, jo = P.Location, ko = P.SidePanelController, Oo = P.SideBarController, { Header: wo, toggleBottomSheet: Po, Modal: To, MainButton: Co, WebApp: ae, getUser: $o } = P;
|
|
2597
2596
|
export {
|
|
2598
|
-
|
|
2597
|
+
xo as AppBar,
|
|
2599
2598
|
tr as BackButton,
|
|
2600
|
-
|
|
2601
|
-
|
|
2602
|
-
|
|
2603
|
-
|
|
2604
|
-
|
|
2605
|
-
|
|
2606
|
-
|
|
2607
|
-
|
|
2608
|
-
|
|
2609
|
-
|
|
2610
|
-
|
|
2611
|
-
|
|
2612
|
-
|
|
2613
|
-
|
|
2614
|
-
|
|
2615
|
-
|
|
2599
|
+
bo as BackButtonPrev,
|
|
2600
|
+
fo as BackButtonState,
|
|
2601
|
+
go as BottomSheet,
|
|
2602
|
+
wo as Header,
|
|
2603
|
+
_o as Loading,
|
|
2604
|
+
jo as Location,
|
|
2605
|
+
Co as MainButton,
|
|
2606
|
+
Ro as Menu,
|
|
2607
|
+
To as Modal,
|
|
2608
|
+
mo as Notice,
|
|
2609
|
+
yo as SafeArea,
|
|
2610
|
+
Eo as Scroll,
|
|
2611
|
+
Oo as SideBarController,
|
|
2612
|
+
So as SidePanel,
|
|
2613
|
+
ko as SidePanelController,
|
|
2614
|
+
Ao as Sidebar,
|
|
2616
2615
|
ho as TabBar,
|
|
2617
2616
|
ae as WebApp,
|
|
2618
2617
|
Re as clsx,
|
|
2619
2618
|
P as default,
|
|
2620
|
-
|
|
2621
|
-
|
|
2619
|
+
$o as getUser,
|
|
2620
|
+
Po as toggleBottomSheet
|
|
2622
2621
|
};
|