elcrm 0.2.4 → 0.2.5
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.es.js +221 -218
- package/dist/index.umd.js +9 -9
- package/dist/lib/Store/Store.d.ts +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import './index.css';
|
|
2
|
-
import
|
|
2
|
+
import g from "react";
|
|
3
3
|
var le = { exports: {} }, V = {};
|
|
4
4
|
/**
|
|
5
5
|
* @license React
|
|
@@ -11,20 +11,20 @@ var le = { exports: {} }, V = {};
|
|
|
11
11
|
* LICENSE file in the root directory of this source tree.
|
|
12
12
|
*/
|
|
13
13
|
var ze;
|
|
14
|
-
function
|
|
14
|
+
function Et() {
|
|
15
15
|
if (ze)
|
|
16
16
|
return V;
|
|
17
17
|
ze = 1;
|
|
18
|
-
var t =
|
|
18
|
+
var t = g, n = Symbol.for("react.element"), a = Symbol.for("react.fragment"), i = Object.prototype.hasOwnProperty, v = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, p = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
19
19
|
function A(R, x, I) {
|
|
20
|
-
var
|
|
20
|
+
var b, j = {}, w = null, J = null;
|
|
21
21
|
I !== void 0 && (w = "" + I), x.key !== void 0 && (w = "" + x.key), x.ref !== void 0 && (J = x.ref);
|
|
22
|
-
for (
|
|
23
|
-
i.call(x,
|
|
22
|
+
for (b in x)
|
|
23
|
+
i.call(x, b) && !p.hasOwnProperty(b) && (j[b] = x[b]);
|
|
24
24
|
if (R && R.defaultProps)
|
|
25
|
-
for (
|
|
26
|
-
b
|
|
27
|
-
return { $$typeof: n, type: R, key: w, ref: J, props:
|
|
25
|
+
for (b in x = R.defaultProps, x)
|
|
26
|
+
j[b] === void 0 && (j[b] = x[b]);
|
|
27
|
+
return { $$typeof: n, type: R, key: w, ref: J, props: j, _owner: v.current };
|
|
28
28
|
}
|
|
29
29
|
return V.Fragment = a, V.jsx = A, V.jsxs = A, V;
|
|
30
30
|
}
|
|
@@ -39,43 +39,43 @@ var B = {};
|
|
|
39
39
|
* LICENSE file in the root directory of this source tree.
|
|
40
40
|
*/
|
|
41
41
|
var Ne;
|
|
42
|
-
function
|
|
42
|
+
function Rt() {
|
|
43
43
|
return Ne || (Ne = 1, process.env.NODE_ENV !== "production" && function() {
|
|
44
|
-
var t =
|
|
45
|
-
function
|
|
44
|
+
var t = g, n = Symbol.for("react.element"), a = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), v = Symbol.for("react.strict_mode"), p = Symbol.for("react.profiler"), A = Symbol.for("react.provider"), R = Symbol.for("react.context"), x = Symbol.for("react.forward_ref"), I = Symbol.for("react.suspense"), b = Symbol.for("react.suspense_list"), j = Symbol.for("react.memo"), w = Symbol.for("react.lazy"), J = Symbol.for("react.offscreen"), ue = Symbol.iterator, Ve = "@@iterator";
|
|
45
|
+
function Be(e) {
|
|
46
46
|
if (e === null || typeof e != "object")
|
|
47
47
|
return null;
|
|
48
|
-
var s = ue && e[ue] || e[
|
|
48
|
+
var s = ue && e[ue] || e[Ve];
|
|
49
49
|
return typeof s == "function" ? s : null;
|
|
50
50
|
}
|
|
51
51
|
var F = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
52
|
-
function
|
|
52
|
+
function y(e) {
|
|
53
53
|
{
|
|
54
54
|
for (var s = arguments.length, o = new Array(s > 1 ? s - 1 : 0), c = 1; c < s; c++)
|
|
55
55
|
o[c - 1] = arguments[c];
|
|
56
|
-
|
|
56
|
+
qe("error", e, o);
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
|
-
function
|
|
59
|
+
function qe(e, s, o) {
|
|
60
60
|
{
|
|
61
61
|
var c = F.ReactDebugCurrentFrame, d = c.getStackAddendum();
|
|
62
62
|
d !== "" && (s += "%s", o = o.concat([d]));
|
|
63
|
-
var
|
|
63
|
+
var m = o.map(function(f) {
|
|
64
64
|
return String(f);
|
|
65
65
|
});
|
|
66
|
-
|
|
66
|
+
m.unshift("Warning: " + s), Function.prototype.apply.call(console[e], console, m);
|
|
67
67
|
}
|
|
68
68
|
}
|
|
69
|
-
var
|
|
69
|
+
var He = !1, Je = !1, Ge = !1, Ze = !1, Ke = !1, fe;
|
|
70
70
|
fe = Symbol.for("react.module.reference");
|
|
71
|
-
function
|
|
72
|
-
return !!(typeof e == "string" || typeof e == "function" || e === i || e === p ||
|
|
71
|
+
function Xe(e) {
|
|
72
|
+
return !!(typeof e == "string" || typeof e == "function" || e === i || e === p || Ke || e === v || e === I || e === b || Ze || e === J || He || Je || Ge || typeof e == "object" && e !== null && (e.$$typeof === w || e.$$typeof === j || e.$$typeof === A || e.$$typeof === R || e.$$typeof === x || // This needs to include all possible module reference object
|
|
73
73
|
// types supported by any Flight configuration anywhere since
|
|
74
74
|
// we don't know which Flight build this will end up being used
|
|
75
75
|
// with.
|
|
76
76
|
e.$$typeof === fe || e.getModuleId !== void 0));
|
|
77
77
|
}
|
|
78
|
-
function
|
|
78
|
+
function Qe(e, s, o) {
|
|
79
79
|
var c = e.displayName;
|
|
80
80
|
if (c)
|
|
81
81
|
return c;
|
|
@@ -88,7 +88,7 @@ function Et() {
|
|
|
88
88
|
function T(e) {
|
|
89
89
|
if (e == null)
|
|
90
90
|
return null;
|
|
91
|
-
if (typeof e.tag == "number" &&
|
|
91
|
+
if (typeof e.tag == "number" && y("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
92
92
|
return e.displayName || e.name || null;
|
|
93
93
|
if (typeof e == "string")
|
|
94
94
|
return e;
|
|
@@ -103,7 +103,7 @@ function Et() {
|
|
|
103
103
|
return "StrictMode";
|
|
104
104
|
case I:
|
|
105
105
|
return "Suspense";
|
|
106
|
-
case
|
|
106
|
+
case b:
|
|
107
107
|
return "SuspenseList";
|
|
108
108
|
}
|
|
109
109
|
if (typeof e == "object")
|
|
@@ -115,14 +115,14 @@ function Et() {
|
|
|
115
115
|
var o = e;
|
|
116
116
|
return de(o._context) + ".Provider";
|
|
117
117
|
case x:
|
|
118
|
-
return
|
|
119
|
-
case
|
|
118
|
+
return Qe(e, e.render, "ForwardRef");
|
|
119
|
+
case j:
|
|
120
120
|
var c = e.displayName || null;
|
|
121
121
|
return c !== null ? c : T(e.type) || "Memo";
|
|
122
122
|
case w: {
|
|
123
|
-
var d = e,
|
|
123
|
+
var d = e, m = d._payload, f = d._init;
|
|
124
124
|
try {
|
|
125
|
-
return T(f(
|
|
125
|
+
return T(f(m));
|
|
126
126
|
} catch {
|
|
127
127
|
return null;
|
|
128
128
|
}
|
|
@@ -130,14 +130,14 @@ function Et() {
|
|
|
130
130
|
}
|
|
131
131
|
return null;
|
|
132
132
|
}
|
|
133
|
-
var z = Object.assign, Y = 0,
|
|
133
|
+
var z = Object.assign, Y = 0, me, _e, ve, he, xe, pe, ge;
|
|
134
134
|
function be() {
|
|
135
135
|
}
|
|
136
136
|
be.__reactDisabledLog = !0;
|
|
137
|
-
function
|
|
137
|
+
function et() {
|
|
138
138
|
{
|
|
139
139
|
if (Y === 0) {
|
|
140
|
-
|
|
140
|
+
me = console.log, _e = console.info, ve = console.warn, he = console.error, xe = console.group, pe = console.groupCollapsed, ge = console.groupEnd;
|
|
141
141
|
var e = {
|
|
142
142
|
configurable: !0,
|
|
143
143
|
enumerable: !0,
|
|
@@ -157,7 +157,7 @@ function Et() {
|
|
|
157
157
|
Y++;
|
|
158
158
|
}
|
|
159
159
|
}
|
|
160
|
-
function
|
|
160
|
+
function tt() {
|
|
161
161
|
{
|
|
162
162
|
if (Y--, Y === 0) {
|
|
163
163
|
var e = {
|
|
@@ -167,10 +167,10 @@ function Et() {
|
|
|
167
167
|
};
|
|
168
168
|
Object.defineProperties(console, {
|
|
169
169
|
log: z({}, e, {
|
|
170
|
-
value:
|
|
170
|
+
value: me
|
|
171
171
|
}),
|
|
172
172
|
info: z({}, e, {
|
|
173
|
-
value:
|
|
173
|
+
value: _e
|
|
174
174
|
}),
|
|
175
175
|
warn: z({}, e, {
|
|
176
176
|
value: ve
|
|
@@ -189,7 +189,7 @@ function Et() {
|
|
|
189
189
|
})
|
|
190
190
|
});
|
|
191
191
|
}
|
|
192
|
-
Y < 0 &&
|
|
192
|
+
Y < 0 && y("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
193
193
|
}
|
|
194
194
|
}
|
|
195
195
|
var te = F.ReactCurrentDispatcher, re;
|
|
@@ -208,8 +208,8 @@ function Et() {
|
|
|
208
208
|
}
|
|
209
209
|
var ne = !1, Z;
|
|
210
210
|
{
|
|
211
|
-
var
|
|
212
|
-
Z = new
|
|
211
|
+
var rt = typeof WeakMap == "function" ? WeakMap : Map;
|
|
212
|
+
Z = new rt();
|
|
213
213
|
}
|
|
214
214
|
function je(e, s) {
|
|
215
215
|
if (!e || ne)
|
|
@@ -223,8 +223,8 @@ function Et() {
|
|
|
223
223
|
ne = !0;
|
|
224
224
|
var d = Error.prepareStackTrace;
|
|
225
225
|
Error.prepareStackTrace = void 0;
|
|
226
|
-
var
|
|
227
|
-
|
|
226
|
+
var m;
|
|
227
|
+
m = te.current, te.current = null, et();
|
|
228
228
|
try {
|
|
229
229
|
if (s) {
|
|
230
230
|
var f = function() {
|
|
@@ -260,32 +260,32 @@ function Et() {
|
|
|
260
260
|
} catch (P) {
|
|
261
261
|
if (P && c && typeof P.stack == "string") {
|
|
262
262
|
for (var u = P.stack.split(`
|
|
263
|
-
`),
|
|
264
|
-
`),
|
|
263
|
+
`), C = c.stack.split(`
|
|
264
|
+
`), _ = u.length - 1, h = C.length - 1; _ >= 1 && h >= 0 && u[_] !== C[h]; )
|
|
265
265
|
h--;
|
|
266
|
-
for (;
|
|
267
|
-
if (u[
|
|
268
|
-
if (
|
|
266
|
+
for (; _ >= 1 && h >= 0; _--, h--)
|
|
267
|
+
if (u[_] !== C[h]) {
|
|
268
|
+
if (_ !== 1 || h !== 1)
|
|
269
269
|
do
|
|
270
|
-
if (
|
|
270
|
+
if (_--, h--, h < 0 || u[_] !== C[h]) {
|
|
271
271
|
var S = `
|
|
272
|
-
` + u[
|
|
272
|
+
` + u[_].replace(" at new ", " at ");
|
|
273
273
|
return e.displayName && S.includes("<anonymous>") && (S = S.replace("<anonymous>", e.displayName)), typeof e == "function" && Z.set(e, S), S;
|
|
274
274
|
}
|
|
275
|
-
while (
|
|
275
|
+
while (_ >= 1 && h >= 0);
|
|
276
276
|
break;
|
|
277
277
|
}
|
|
278
278
|
}
|
|
279
279
|
} finally {
|
|
280
|
-
ne = !1, te.current =
|
|
280
|
+
ne = !1, te.current = m, tt(), Error.prepareStackTrace = d;
|
|
281
281
|
}
|
|
282
282
|
var L = e ? e.displayName || e.name : "", Ae = L ? G(L) : "";
|
|
283
283
|
return typeof e == "function" && Z.set(e, Ae), Ae;
|
|
284
284
|
}
|
|
285
|
-
function
|
|
285
|
+
function nt(e, s, o) {
|
|
286
286
|
return je(e, !1);
|
|
287
287
|
}
|
|
288
|
-
function
|
|
288
|
+
function st(e) {
|
|
289
289
|
var s = e.prototype;
|
|
290
290
|
return !!(s && s.isReactComponent);
|
|
291
291
|
}
|
|
@@ -293,25 +293,25 @@ function Et() {
|
|
|
293
293
|
if (e == null)
|
|
294
294
|
return "";
|
|
295
295
|
if (typeof e == "function")
|
|
296
|
-
return je(e,
|
|
296
|
+
return je(e, st(e));
|
|
297
297
|
if (typeof e == "string")
|
|
298
298
|
return G(e);
|
|
299
299
|
switch (e) {
|
|
300
300
|
case I:
|
|
301
301
|
return G("Suspense");
|
|
302
|
-
case
|
|
302
|
+
case b:
|
|
303
303
|
return G("SuspenseList");
|
|
304
304
|
}
|
|
305
305
|
if (typeof e == "object")
|
|
306
306
|
switch (e.$$typeof) {
|
|
307
307
|
case x:
|
|
308
|
-
return
|
|
309
|
-
case
|
|
308
|
+
return nt(e.render);
|
|
309
|
+
case j:
|
|
310
310
|
return K(e.type, s, o);
|
|
311
311
|
case w: {
|
|
312
|
-
var c = e, d = c._payload,
|
|
312
|
+
var c = e, d = c._payload, m = c._init;
|
|
313
313
|
try {
|
|
314
|
-
return K(
|
|
314
|
+
return K(m(d), s, o);
|
|
315
315
|
} catch {
|
|
316
316
|
}
|
|
317
317
|
}
|
|
@@ -326,36 +326,36 @@ function Et() {
|
|
|
326
326
|
} else
|
|
327
327
|
Ce.setExtraStackFrame(null);
|
|
328
328
|
}
|
|
329
|
-
function
|
|
329
|
+
function at(e, s, o, c, d) {
|
|
330
330
|
{
|
|
331
|
-
var
|
|
331
|
+
var m = Function.call.bind(X);
|
|
332
332
|
for (var f in e)
|
|
333
|
-
if (
|
|
333
|
+
if (m(e, f)) {
|
|
334
334
|
var u = void 0;
|
|
335
335
|
try {
|
|
336
336
|
if (typeof e[f] != "function") {
|
|
337
|
-
var
|
|
338
|
-
throw
|
|
337
|
+
var C = Error((c || "React class") + ": " + o + " type `" + f + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[f] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
338
|
+
throw C.name = "Invariant Violation", C;
|
|
339
339
|
}
|
|
340
340
|
u = e[f](s, f, c, o, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
341
|
-
} catch (
|
|
342
|
-
u =
|
|
341
|
+
} catch (_) {
|
|
342
|
+
u = _;
|
|
343
343
|
}
|
|
344
|
-
u && !(u instanceof Error) && (Q(d),
|
|
344
|
+
u && !(u instanceof Error) && (Q(d), y("%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).", c || "React class", o, f, typeof u), Q(null)), u instanceof Error && !(u.message in ye) && (ye[u.message] = !0, Q(d), y("Failed %s type: %s", o, u.message), Q(null));
|
|
345
345
|
}
|
|
346
346
|
}
|
|
347
347
|
}
|
|
348
|
-
var
|
|
348
|
+
var ot = Array.isArray;
|
|
349
349
|
function se(e) {
|
|
350
|
-
return
|
|
350
|
+
return ot(e);
|
|
351
351
|
}
|
|
352
|
-
function
|
|
352
|
+
function it(e) {
|
|
353
353
|
{
|
|
354
354
|
var s = typeof Symbol == "function" && Symbol.toStringTag, o = s && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
355
355
|
return o;
|
|
356
356
|
}
|
|
357
357
|
}
|
|
358
|
-
function
|
|
358
|
+
function ct(e) {
|
|
359
359
|
try {
|
|
360
360
|
return Se(e), !1;
|
|
361
361
|
} catch {
|
|
@@ -366,17 +366,17 @@ function Et() {
|
|
|
366
366
|
return "" + e;
|
|
367
367
|
}
|
|
368
368
|
function Ee(e) {
|
|
369
|
-
if (
|
|
370
|
-
return
|
|
369
|
+
if (ct(e))
|
|
370
|
+
return y("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", it(e)), Se(e);
|
|
371
371
|
}
|
|
372
|
-
var U = F.ReactCurrentOwner,
|
|
372
|
+
var U = F.ReactCurrentOwner, lt = {
|
|
373
373
|
key: !0,
|
|
374
374
|
ref: !0,
|
|
375
375
|
__self: !0,
|
|
376
376
|
__source: !0
|
|
377
377
|
}, Re, ke, ae;
|
|
378
378
|
ae = {};
|
|
379
|
-
function
|
|
379
|
+
function ut(e) {
|
|
380
380
|
if (X.call(e, "ref")) {
|
|
381
381
|
var s = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
382
382
|
if (s && s.isReactWarning)
|
|
@@ -384,7 +384,7 @@ function Et() {
|
|
|
384
384
|
}
|
|
385
385
|
return e.ref !== void 0;
|
|
386
386
|
}
|
|
387
|
-
function
|
|
387
|
+
function ft(e) {
|
|
388
388
|
if (X.call(e, "key")) {
|
|
389
389
|
var s = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
390
390
|
if (s && s.isReactWarning)
|
|
@@ -392,16 +392,16 @@ function Et() {
|
|
|
392
392
|
}
|
|
393
393
|
return e.key !== void 0;
|
|
394
394
|
}
|
|
395
|
-
function
|
|
395
|
+
function dt(e, s) {
|
|
396
396
|
if (typeof e.ref == "string" && U.current && s && U.current.stateNode !== s) {
|
|
397
397
|
var o = T(U.current.type);
|
|
398
|
-
ae[o] || (
|
|
398
|
+
ae[o] || (y('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', T(U.current.type), e.ref), ae[o] = !0);
|
|
399
399
|
}
|
|
400
400
|
}
|
|
401
|
-
function
|
|
401
|
+
function mt(e, s) {
|
|
402
402
|
{
|
|
403
403
|
var o = function() {
|
|
404
|
-
Re || (Re = !0,
|
|
404
|
+
Re || (Re = !0, y("%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)", s));
|
|
405
405
|
};
|
|
406
406
|
o.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
407
407
|
get: o,
|
|
@@ -412,7 +412,7 @@ function Et() {
|
|
|
412
412
|
function _t(e, s) {
|
|
413
413
|
{
|
|
414
414
|
var o = function() {
|
|
415
|
-
ke || (ke = !0,
|
|
415
|
+
ke || (ke = !0, y("%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)", s));
|
|
416
416
|
};
|
|
417
417
|
o.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
418
418
|
get: o,
|
|
@@ -420,7 +420,7 @@ function Et() {
|
|
|
420
420
|
});
|
|
421
421
|
}
|
|
422
422
|
}
|
|
423
|
-
var
|
|
423
|
+
var vt = function(e, s, o, c, d, m, f) {
|
|
424
424
|
var u = {
|
|
425
425
|
// This tag allows us to uniquely identify this as a React Element
|
|
426
426
|
$$typeof: n,
|
|
@@ -430,7 +430,7 @@ function Et() {
|
|
|
430
430
|
ref: o,
|
|
431
431
|
props: f,
|
|
432
432
|
// Record the component responsible for creating this element.
|
|
433
|
-
_owner:
|
|
433
|
+
_owner: m
|
|
434
434
|
};
|
|
435
435
|
return u._store = {}, Object.defineProperty(u._store, "validated", {
|
|
436
436
|
configurable: !1,
|
|
@@ -449,22 +449,22 @@ function Et() {
|
|
|
449
449
|
value: d
|
|
450
450
|
}), Object.freeze && (Object.freeze(u.props), Object.freeze(u)), u;
|
|
451
451
|
};
|
|
452
|
-
function
|
|
452
|
+
function ht(e, s, o, c, d) {
|
|
453
453
|
{
|
|
454
|
-
var
|
|
455
|
-
o !== void 0 && (Ee(o), u = "" + o),
|
|
456
|
-
for (
|
|
457
|
-
X.call(s,
|
|
454
|
+
var m, f = {}, u = null, C = null;
|
|
455
|
+
o !== void 0 && (Ee(o), u = "" + o), ft(s) && (Ee(s.key), u = "" + s.key), ut(s) && (C = s.ref, dt(s, d));
|
|
456
|
+
for (m in s)
|
|
457
|
+
X.call(s, m) && !lt.hasOwnProperty(m) && (f[m] = s[m]);
|
|
458
458
|
if (e && e.defaultProps) {
|
|
459
|
-
var
|
|
460
|
-
for (
|
|
461
|
-
f[
|
|
459
|
+
var _ = e.defaultProps;
|
|
460
|
+
for (m in _)
|
|
461
|
+
f[m] === void 0 && (f[m] = _[m]);
|
|
462
462
|
}
|
|
463
|
-
if (u ||
|
|
463
|
+
if (u || C) {
|
|
464
464
|
var h = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
465
|
-
u &&
|
|
465
|
+
u && mt(f, h), C && _t(f, h);
|
|
466
466
|
}
|
|
467
|
-
return
|
|
467
|
+
return vt(e, u, C, d, c, U.current, f);
|
|
468
468
|
}
|
|
469
469
|
}
|
|
470
470
|
var oe = F.ReactCurrentOwner, we = F.ReactDebugCurrentFrame;
|
|
@@ -492,7 +492,7 @@ Check the render method of \`` + e + "`.";
|
|
|
492
492
|
return "";
|
|
493
493
|
}
|
|
494
494
|
}
|
|
495
|
-
function
|
|
495
|
+
function xt(e) {
|
|
496
496
|
{
|
|
497
497
|
if (e !== void 0) {
|
|
498
498
|
var s = e.fileName.replace(/^.*[\\\/]/, ""), o = e.lineNumber;
|
|
@@ -504,7 +504,7 @@ Check your code at ` + s + ":" + o + ".";
|
|
|
504
504
|
}
|
|
505
505
|
}
|
|
506
506
|
var Pe = {};
|
|
507
|
-
function
|
|
507
|
+
function pt(e) {
|
|
508
508
|
{
|
|
509
509
|
var s = Te();
|
|
510
510
|
if (!s) {
|
|
@@ -521,12 +521,12 @@ Check the top-level render call using <` + o + ">.");
|
|
|
521
521
|
if (!e._store || e._store.validated || e.key != null)
|
|
522
522
|
return;
|
|
523
523
|
e._store.validated = !0;
|
|
524
|
-
var o =
|
|
524
|
+
var o = pt(s);
|
|
525
525
|
if (Pe[o])
|
|
526
526
|
return;
|
|
527
527
|
Pe[o] = !0;
|
|
528
528
|
var c = "";
|
|
529
|
-
e && e._owner && e._owner !== oe.current && (c = " It was passed a child from " + T(e._owner.type) + "."), M(e),
|
|
529
|
+
e && e._owner && e._owner !== oe.current && (c = " It was passed a child from " + T(e._owner.type) + "."), M(e), y('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', o, c), M(null);
|
|
530
530
|
}
|
|
531
531
|
}
|
|
532
532
|
function Oe(e, s) {
|
|
@@ -541,14 +541,14 @@ Check the top-level render call using <` + o + ">.");
|
|
|
541
541
|
else if (ce(e))
|
|
542
542
|
e._store && (e._store.validated = !0);
|
|
543
543
|
else if (e) {
|
|
544
|
-
var d =
|
|
544
|
+
var d = Be(e);
|
|
545
545
|
if (typeof d == "function" && d !== e.entries)
|
|
546
|
-
for (var
|
|
546
|
+
for (var m = d.call(e), f; !(f = m.next()).done; )
|
|
547
547
|
ce(f.value) && Ie(f.value, s);
|
|
548
548
|
}
|
|
549
549
|
}
|
|
550
550
|
}
|
|
551
|
-
function
|
|
551
|
+
function gt(e) {
|
|
552
552
|
{
|
|
553
553
|
var s = e.type;
|
|
554
554
|
if (s == null || typeof s == "string")
|
|
@@ -558,45 +558,45 @@ Check the top-level render call using <` + o + ">.");
|
|
|
558
558
|
o = s.propTypes;
|
|
559
559
|
else if (typeof s == "object" && (s.$$typeof === x || // Note: Memo only checks outer props here.
|
|
560
560
|
// Inner props are checked in the reconciler.
|
|
561
|
-
s.$$typeof ===
|
|
561
|
+
s.$$typeof === j))
|
|
562
562
|
o = s.propTypes;
|
|
563
563
|
else
|
|
564
564
|
return;
|
|
565
565
|
if (o) {
|
|
566
566
|
var c = T(s);
|
|
567
|
-
|
|
567
|
+
at(o, e.props, "prop", c, e);
|
|
568
568
|
} else if (s.PropTypes !== void 0 && !ie) {
|
|
569
569
|
ie = !0;
|
|
570
570
|
var d = T(s);
|
|
571
|
-
|
|
571
|
+
y("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", d || "Unknown");
|
|
572
572
|
}
|
|
573
|
-
typeof s.getDefaultProps == "function" && !s.getDefaultProps.isReactClassApproved &&
|
|
573
|
+
typeof s.getDefaultProps == "function" && !s.getDefaultProps.isReactClassApproved && y("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
574
574
|
}
|
|
575
575
|
}
|
|
576
|
-
function
|
|
576
|
+
function bt(e) {
|
|
577
577
|
{
|
|
578
578
|
for (var s = Object.keys(e.props), o = 0; o < s.length; o++) {
|
|
579
579
|
var c = s[o];
|
|
580
580
|
if (c !== "children" && c !== "key") {
|
|
581
|
-
M(e),
|
|
581
|
+
M(e), y("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", c), M(null);
|
|
582
582
|
break;
|
|
583
583
|
}
|
|
584
584
|
}
|
|
585
|
-
e.ref !== null && (M(e),
|
|
585
|
+
e.ref !== null && (M(e), y("Invalid attribute `ref` supplied to `React.Fragment`."), M(null));
|
|
586
586
|
}
|
|
587
587
|
}
|
|
588
|
-
function $e(e, s, o, c, d,
|
|
588
|
+
function $e(e, s, o, c, d, m) {
|
|
589
589
|
{
|
|
590
|
-
var f =
|
|
590
|
+
var f = Xe(e);
|
|
591
591
|
if (!f) {
|
|
592
592
|
var u = "";
|
|
593
593
|
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (u += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
594
|
-
var
|
|
595
|
-
|
|
596
|
-
var
|
|
597
|
-
e === null ?
|
|
594
|
+
var C = xt(d);
|
|
595
|
+
C ? u += C : u += Te();
|
|
596
|
+
var _;
|
|
597
|
+
e === null ? _ = "null" : se(e) ? _ = "array" : e !== void 0 && e.$$typeof === n ? (_ = "<" + (T(e.type) || "Unknown") + " />", u = " Did you accidentally export a JSX literal instead of a component?") : _ = typeof e, y("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", _, u);
|
|
598
598
|
}
|
|
599
|
-
var h =
|
|
599
|
+
var h = ht(e, s, o, d, m);
|
|
600
600
|
if (h == null)
|
|
601
601
|
return h;
|
|
602
602
|
if (f) {
|
|
@@ -608,46 +608,46 @@ Check the top-level render call using <` + o + ">.");
|
|
|
608
608
|
Oe(S[L], e);
|
|
609
609
|
Object.freeze && Object.freeze(S);
|
|
610
610
|
} else
|
|
611
|
-
|
|
611
|
+
y("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
612
612
|
else
|
|
613
613
|
Oe(S, e);
|
|
614
614
|
}
|
|
615
|
-
return e === i ?
|
|
615
|
+
return e === i ? bt(h) : gt(h), h;
|
|
616
616
|
}
|
|
617
617
|
}
|
|
618
|
-
function
|
|
618
|
+
function jt(e, s, o) {
|
|
619
619
|
return $e(e, s, o, !0);
|
|
620
620
|
}
|
|
621
|
-
function
|
|
621
|
+
function yt(e, s, o) {
|
|
622
622
|
return $e(e, s, o, !1);
|
|
623
623
|
}
|
|
624
|
-
var
|
|
625
|
-
B.Fragment = i, B.jsx =
|
|
624
|
+
var Ct = yt, St = jt;
|
|
625
|
+
B.Fragment = i, B.jsx = Ct, B.jsxs = St;
|
|
626
626
|
}()), B;
|
|
627
627
|
}
|
|
628
|
-
process.env.NODE_ENV === "production" ? le.exports =
|
|
628
|
+
process.env.NODE_ENV === "production" ? le.exports = Et() : le.exports = Rt();
|
|
629
629
|
var r = le.exports;
|
|
630
|
-
const
|
|
631
|
-
notice:
|
|
632
|
-
error:
|
|
633
|
-
success:
|
|
634
|
-
remark:
|
|
635
|
-
copy:
|
|
630
|
+
const kt = "_notice_820sc_2", wt = "_error_820sc_9", Tt = "_success_820sc_12", Pt = "_remark_820sc_15", It = "_copy_820sc_18", Ot = {
|
|
631
|
+
notice: kt,
|
|
632
|
+
error: wt,
|
|
633
|
+
success: Tt,
|
|
634
|
+
remark: Pt,
|
|
635
|
+
copy: It,
|
|
636
636
|
"show-notice": "_show-notice_820sc_1",
|
|
637
637
|
"hide-notice": "_hide-notice_820sc_1"
|
|
638
638
|
};
|
|
639
639
|
let $ = {};
|
|
640
|
-
function
|
|
641
|
-
let [t, n] =
|
|
640
|
+
function $t() {
|
|
641
|
+
let [t, n] = g.useState([]);
|
|
642
642
|
return $.set = (a) => {
|
|
643
643
|
n([...t, a]);
|
|
644
644
|
}, $.del = (a) => {
|
|
645
645
|
n(t.filter((i) => i.key !== a));
|
|
646
|
-
}, t.length === 0 ? "" : /* @__PURE__ */ r.jsx("ul", { className:
|
|
646
|
+
}, t.length === 0 ? "" : /* @__PURE__ */ r.jsx("ul", { className: Ot.notice, children: t.map((a) => a.item) });
|
|
647
647
|
}
|
|
648
648
|
function H({ data: t }) {
|
|
649
|
-
let [n, a] =
|
|
650
|
-
|
|
649
|
+
let [n, a] = g.useState("show");
|
|
650
|
+
g.useEffect(() => {
|
|
651
651
|
setTimeout(function() {
|
|
652
652
|
a("hide");
|
|
653
653
|
}, 1800), setTimeout(function() {
|
|
@@ -678,23 +678,23 @@ function H({ data: t }) {
|
|
|
678
678
|
/* @__PURE__ */ r.jsx("p", { children: t.text })
|
|
679
679
|
] });
|
|
680
680
|
}
|
|
681
|
-
function
|
|
681
|
+
function At(t) {
|
|
682
682
|
let n = Date.now(), a = { key: n, ...t };
|
|
683
683
|
$.set({ item: /* @__PURE__ */ r.jsx(H, { data: a }, n), key: n });
|
|
684
684
|
}
|
|
685
|
-
function
|
|
685
|
+
function zt(t) {
|
|
686
686
|
let n = Date.now(), a = { key: n, text: t, type: "error" };
|
|
687
687
|
$.set({ item: /* @__PURE__ */ r.jsx(H, { data: a }, n), key: n });
|
|
688
688
|
}
|
|
689
|
-
function
|
|
689
|
+
function Nt(t) {
|
|
690
690
|
let n = Date.now(), a = { key: n, text: t, type: "success" };
|
|
691
691
|
$.set({ item: /* @__PURE__ */ r.jsx(H, { data: a }, n), key: n });
|
|
692
692
|
}
|
|
693
|
-
function
|
|
693
|
+
function Dt(t) {
|
|
694
694
|
let n = Date.now(), a = { key: n, text: t, type: "remark" };
|
|
695
695
|
$.set({ item: /* @__PURE__ */ r.jsx(H, { data: a }, n), key: n });
|
|
696
696
|
}
|
|
697
|
-
function
|
|
697
|
+
function Ft(t) {
|
|
698
698
|
let n = Date.now(), a = { key: n, text: t, type: "copy" };
|
|
699
699
|
$.set({ item: /* @__PURE__ */ r.jsx(H, { data: a }, n), key: n });
|
|
700
700
|
}
|
|
@@ -731,20 +731,20 @@ N.success = () => /* @__PURE__ */ r.jsxs("svg", { viewBox: "0 0 24 24", fill: "n
|
|
|
731
731
|
}
|
|
732
732
|
)
|
|
733
733
|
] });
|
|
734
|
-
const
|
|
735
|
-
alerts:
|
|
736
|
-
menuAnimation:
|
|
737
|
-
menuItemAnimation:
|
|
734
|
+
const Mt = "_alerts_1e9y0_1", Lt = "_menuAnimation_1e9y0_1", Wt = "_menuItemAnimation_1e9y0_1", Yt = "_allert_1e9y0_111", Ut = {
|
|
735
|
+
alerts: Mt,
|
|
736
|
+
menuAnimation: Lt,
|
|
737
|
+
menuItemAnimation: Wt,
|
|
738
738
|
"--body": "_--body_1e9y0_103",
|
|
739
|
-
allert:
|
|
739
|
+
allert: Yt,
|
|
740
740
|
"--form": "_--form_1e9y0_111"
|
|
741
741
|
};
|
|
742
742
|
let q = {};
|
|
743
|
-
function
|
|
744
|
-
let [t, n] =
|
|
743
|
+
function Vt() {
|
|
744
|
+
let [t, n] = g.useState("");
|
|
745
745
|
return q.set = (a) => n(a), q.del = () => n(""), /* @__PURE__ */ r.jsx(r.Fragment, { children: t });
|
|
746
746
|
}
|
|
747
|
-
const
|
|
747
|
+
const Bt = ({ data: t, callback: n }) => (t.button = t.button === void 0 ? "Подтвердить" : t.button, /* @__PURE__ */ r.jsxs("div", { className: Ut.alerts, children: [
|
|
748
748
|
/* @__PURE__ */ r.jsxs("dl", { children: [
|
|
749
749
|
/* @__PURE__ */ r.jsx("dt", { children: t.title }),
|
|
750
750
|
/* @__PURE__ */ r.jsx("dd", { children: t.text }),
|
|
@@ -761,16 +761,16 @@ const Vt = ({ data: t, callback: n }) => (t.button = t.button === void 0 ? "По
|
|
|
761
761
|
] }),
|
|
762
762
|
/* @__PURE__ */ r.jsx("div", { className: "--body", onClick: q.del })
|
|
763
763
|
] }));
|
|
764
|
-
function
|
|
765
|
-
q.set(/* @__PURE__ */ r.jsx(
|
|
764
|
+
function qt(t, n) {
|
|
765
|
+
q.set(/* @__PURE__ */ r.jsx(Bt, { data: t, callback: n }));
|
|
766
766
|
}
|
|
767
|
-
function
|
|
767
|
+
function Ht({ children: t }) {
|
|
768
768
|
return /* @__PURE__ */ r.jsx("div", { className: "l", children: /* @__PURE__ */ r.jsx("ul", { children: t }) });
|
|
769
769
|
}
|
|
770
|
-
function
|
|
770
|
+
function Jt({ children: t }) {
|
|
771
771
|
return /* @__PURE__ */ r.jsx("div", { className: "s", children: t });
|
|
772
772
|
}
|
|
773
|
-
const
|
|
773
|
+
const Gt = ({
|
|
774
774
|
children: t,
|
|
775
775
|
disabled: n,
|
|
776
776
|
label: a,
|
|
@@ -780,45 +780,45 @@ const Jt = ({
|
|
|
780
780
|
n || i && i(p);
|
|
781
781
|
};
|
|
782
782
|
return /* @__PURE__ */ r.jsx("button", { disabled: n, onClick: v, children: a });
|
|
783
|
-
},
|
|
784
|
-
white:
|
|
785
|
-
black:
|
|
786
|
-
shake:
|
|
787
|
-
modal:
|
|
788
|
-
o:
|
|
789
|
-
w:
|
|
790
|
-
h:
|
|
791
|
-
l:
|
|
792
|
-
t:
|
|
793
|
-
m:
|
|
794
|
-
x:
|
|
795
|
-
s:
|
|
796
|
-
c:
|
|
797
|
-
f:
|
|
798
|
-
btn:
|
|
799
|
-
g:
|
|
783
|
+
}, Zt = "_white_6ax6z_14", Kt = "_black_6ax6z_26", Xt = "_shake_6ax6z_1", Qt = "_modal_6ax6z_73", er = "_o_6ax6z_83", tr = "_w_6ax6z_14", rr = "_h_6ax6z_106", nr = "_l_6ax6z_120", sr = "_t_6ax6z_158", ar = "_m_6ax6z_73", or = "_x_6ax6z_166", ir = "_s_6ax6z_176", cr = "_c_6ax6z_181", lr = "_f_6ax6z_186", ur = "_btn_6ax6z_229", fr = "_g_6ax6z_242", dr = "_confirm_6ax6z_320", mr = "_cancel_6ax6z_325", _r = "_disabled_6ax6z_330", vr = "_active_6ax6z_387", hr = "_coincidence_6ax6z_393", O = {
|
|
784
|
+
white: Zt,
|
|
785
|
+
black: Kt,
|
|
786
|
+
shake: Xt,
|
|
787
|
+
modal: Qt,
|
|
788
|
+
o: er,
|
|
789
|
+
w: tr,
|
|
790
|
+
h: rr,
|
|
791
|
+
l: nr,
|
|
792
|
+
t: sr,
|
|
793
|
+
m: ar,
|
|
794
|
+
x: or,
|
|
795
|
+
s: ir,
|
|
796
|
+
c: cr,
|
|
797
|
+
f: lr,
|
|
798
|
+
btn: ur,
|
|
799
|
+
g: fr,
|
|
800
800
|
"size-a": "_size-a_6ax6z_294",
|
|
801
801
|
"size-s": "_size-s_6ax6z_298",
|
|
802
802
|
"size-m": "_size-m_6ax6z_302",
|
|
803
803
|
"size-l": "_size-l_6ax6z_306",
|
|
804
804
|
"size-x": "_size-x_6ax6z_310",
|
|
805
805
|
"size-f": "_size-f_6ax6z_314",
|
|
806
|
-
confirm:
|
|
807
|
-
cancel:
|
|
806
|
+
confirm: dr,
|
|
807
|
+
cancel: mr,
|
|
808
808
|
disabled: _r,
|
|
809
809
|
await: "_await_6ax6z_337",
|
|
810
|
-
active:
|
|
811
|
-
coincidence:
|
|
810
|
+
active: vr,
|
|
811
|
+
coincidence: hr
|
|
812
812
|
};
|
|
813
813
|
let W = {};
|
|
814
|
-
const
|
|
815
|
-
let [n, a] =
|
|
814
|
+
const xr = ({ config: t }) => {
|
|
815
|
+
let [n, a] = g.useState([]);
|
|
816
816
|
return W.x = () => {
|
|
817
817
|
a([]);
|
|
818
818
|
}, W.config = t, W.add = (i) => {
|
|
819
819
|
a([...n, i]);
|
|
820
820
|
}, /* @__PURE__ */ r.jsx(r.Fragment, { children: n.map((i) => i) });
|
|
821
|
-
},
|
|
821
|
+
}, pr = ({
|
|
822
822
|
children: t,
|
|
823
823
|
title: n,
|
|
824
824
|
button: a,
|
|
@@ -826,10 +826,10 @@ const hr = ({ config: t }) => {
|
|
|
826
826
|
size: v = "m",
|
|
827
827
|
menu: p
|
|
828
828
|
}) => {
|
|
829
|
-
const [A, R] =
|
|
829
|
+
const [A, R] = g.useState(!0), x = g.useRef(), I = (j) => {
|
|
830
830
|
if (a && a.onClick)
|
|
831
|
-
return a.onClick({ closed: R, disabled:
|
|
832
|
-
},
|
|
831
|
+
return a.onClick({ closed: R, disabled: j });
|
|
832
|
+
}, b = () => {
|
|
833
833
|
x.current.setAttribute("shake", !0), setTimeout(() => {
|
|
834
834
|
x.current.setAttribute("shake", !1);
|
|
835
835
|
}, 1e3);
|
|
@@ -839,17 +839,17 @@ const hr = ({ config: t }) => {
|
|
|
839
839
|
{
|
|
840
840
|
className: `${O.modal} ${O.white}`,
|
|
841
841
|
children: [
|
|
842
|
-
/* @__PURE__ */ r.jsx("div", { className: O.o, onClick:
|
|
842
|
+
/* @__PURE__ */ r.jsx("div", { className: O.o, onClick: b }),
|
|
843
843
|
/* @__PURE__ */ r.jsxs("div", { className: O.w, ref: x, children: [
|
|
844
844
|
/* @__PURE__ */ r.jsxs("div", { className: O.h, children: [
|
|
845
845
|
/* @__PURE__ */ r.jsx("div", { className: O.t, children: n }),
|
|
846
846
|
/* @__PURE__ */ r.jsxs("div", { className: O.m, children: [
|
|
847
|
-
i && /* @__PURE__ */ r.jsx("nav", { children: i.map((
|
|
847
|
+
i && /* @__PURE__ */ r.jsx("nav", { children: i.map((j, w) => /* @__PURE__ */ r.jsx(
|
|
848
848
|
"span",
|
|
849
849
|
{
|
|
850
|
-
onClick:
|
|
851
|
-
className:
|
|
852
|
-
children:
|
|
850
|
+
onClick: j.onClick,
|
|
851
|
+
className: j.active ? "active" : "",
|
|
852
|
+
children: j.name
|
|
853
853
|
},
|
|
854
854
|
w
|
|
855
855
|
)) }),
|
|
@@ -868,7 +868,7 @@ const hr = ({ config: t }) => {
|
|
|
868
868
|
] }),
|
|
869
869
|
t,
|
|
870
870
|
a !== void 0 ? /* @__PURE__ */ r.jsx(
|
|
871
|
-
|
|
871
|
+
Gt,
|
|
872
872
|
{
|
|
873
873
|
label: String(a.name),
|
|
874
874
|
onClick: I
|
|
@@ -878,19 +878,19 @@ const hr = ({ config: t }) => {
|
|
|
878
878
|
]
|
|
879
879
|
}
|
|
880
880
|
) : "" });
|
|
881
|
-
},
|
|
882
|
-
W.add(/* @__PURE__ */ r.jsx(
|
|
883
|
-
},
|
|
884
|
-
let [i, v] =
|
|
885
|
-
return
|
|
881
|
+
}, gr = (t) => {
|
|
882
|
+
W.add(/* @__PURE__ */ r.jsx(br, { children: t }, String(Date.now())));
|
|
883
|
+
}, br = ({ children: t }) => /* @__PURE__ */ r.jsx(r.Fragment, { children: t }), jr = ({ type: t, name: n, params: a }) => {
|
|
884
|
+
let [i, v] = g.useState(null);
|
|
885
|
+
return g.useEffect(() => {
|
|
886
886
|
W.config(t, n, a, v);
|
|
887
887
|
}, [a.id]), /* @__PURE__ */ r.jsx(r.Fragment, { children: i });
|
|
888
|
-
},
|
|
888
|
+
}, yr = (t, n, a) => {
|
|
889
889
|
W.config(t, n, a);
|
|
890
|
-
},
|
|
890
|
+
}, Cr = { List: Ht, Scroll: Jt, Init: xr, Main: pr, Add: gr, Icon: jr, Open: yr };
|
|
891
891
|
let k = {};
|
|
892
892
|
const l = {}, E = {}, De = {};
|
|
893
|
-
function
|
|
893
|
+
function Sr(t, n) {
|
|
894
894
|
if (k = t, localStorage.getItem("ssid")) {
|
|
895
895
|
let i = sessionStorage.getItem("page");
|
|
896
896
|
i ? (i = k.deCode(i), l.id = i.id, l.tab = i.tab, l.page = i.page, l.module = i.module, l.time = i.time, l.payment = { active: !0 }, l.module_admin = i.module_admin) : (l.id = 0, l.tab = "", l.page = "Main", l.module = l.module || "M05");
|
|
@@ -927,7 +927,7 @@ function ee() {
|
|
|
927
927
|
"sort"
|
|
928
928
|
].forEach((t) => localStorage.removeItem(t)), ["page"].forEach((t) => sessionStorage.removeItem(t)), window.location.reload();
|
|
929
929
|
}
|
|
930
|
-
function
|
|
930
|
+
function Er(t) {
|
|
931
931
|
t = t.split("/"), l.page = "Main", l.module = t[0], l.tab = t[1], l.id = 0, sessionStorage.setItem(
|
|
932
932
|
"page",
|
|
933
933
|
k.enCode({
|
|
@@ -939,39 +939,42 @@ function Sr(t) {
|
|
|
939
939
|
})
|
|
940
940
|
), E.page(l.page);
|
|
941
941
|
}
|
|
942
|
-
function
|
|
942
|
+
function Rr(t) {
|
|
943
943
|
return localStorage.setItem("ssid", t);
|
|
944
944
|
}
|
|
945
|
-
function
|
|
945
|
+
function kr() {
|
|
946
946
|
let t = localStorage.getItem("ssid");
|
|
947
947
|
return t !== "" && t !== "undefined" && t !== null ? localStorage.getItem("ssid") : (ee(), !1);
|
|
948
948
|
}
|
|
949
|
-
function
|
|
949
|
+
function wr(t) {
|
|
950
950
|
return localStorage.setItem("auth", t);
|
|
951
951
|
}
|
|
952
|
-
function
|
|
952
|
+
function Tr() {
|
|
953
953
|
let t = localStorage.getItem("auth");
|
|
954
954
|
return t !== "" && t !== "undefined" && t !== null ? t : (ee(), !1);
|
|
955
955
|
}
|
|
956
|
-
function
|
|
957
|
-
const [t, n] =
|
|
956
|
+
function Pr() {
|
|
957
|
+
const [t, n] = g.useState(We()), a = (i) => {
|
|
958
958
|
n(i);
|
|
959
959
|
};
|
|
960
960
|
return E.page = a, [t];
|
|
961
961
|
}
|
|
962
|
-
function
|
|
962
|
+
function Ir(t) {
|
|
963
963
|
l.page = t, sessionStorage.setItem("page", k.enCode(l)), E.page(t);
|
|
964
964
|
}
|
|
965
965
|
function We() {
|
|
966
966
|
return l.page;
|
|
967
967
|
}
|
|
968
|
-
function
|
|
969
|
-
|
|
968
|
+
function Or() {
|
|
969
|
+
const [t, n] = g.useState(Ye()), a = (i) => {
|
|
970
|
+
n(i);
|
|
971
|
+
};
|
|
972
|
+
return E.module = a, [t];
|
|
970
973
|
}
|
|
971
|
-
function
|
|
974
|
+
function $r(t, n) {
|
|
972
975
|
l.module = t, sessionStorage.setItem("page", k.enCode(l)), n !== "false" && E.module(t);
|
|
973
976
|
}
|
|
974
|
-
function
|
|
977
|
+
function Ye() {
|
|
975
978
|
return l.module;
|
|
976
979
|
}
|
|
977
980
|
function Ar(t) {
|
|
@@ -984,7 +987,7 @@ function Nr() {
|
|
|
984
987
|
return l.tab;
|
|
985
988
|
}
|
|
986
989
|
function Dr() {
|
|
987
|
-
const [t, n] =
|
|
990
|
+
const [t, n] = g.useState(l.id), a = (i) => {
|
|
988
991
|
n(i);
|
|
989
992
|
};
|
|
990
993
|
return E.id = a, [t];
|
|
@@ -1008,10 +1011,10 @@ function Ur(t) {
|
|
|
1008
1011
|
let n = localStorage.getItem("sett");
|
|
1009
1012
|
return n === null ? {} : (n = k.deCode(n), n ? t !== void 0 ? n[t] : n : ee());
|
|
1010
1013
|
}
|
|
1011
|
-
const Vr = ({ children: t, config: n, crypto: a, ...i }) =>
|
|
1012
|
-
/* @__PURE__ */ r.jsx(
|
|
1013
|
-
/* @__PURE__ */ r.jsx(
|
|
1014
|
-
/* @__PURE__ */ r.jsx(
|
|
1014
|
+
const Vr = ({ children: t, config: n, crypto: a, ...i }) => Sr(a, /* @__PURE__ */ r.jsxs(r.Fragment, { children: [
|
|
1015
|
+
/* @__PURE__ */ r.jsx(Cr.Init, { config: n.modal }),
|
|
1016
|
+
/* @__PURE__ */ r.jsx($t, {}),
|
|
1017
|
+
/* @__PURE__ */ r.jsx(Vt, {}),
|
|
1015
1018
|
t
|
|
1016
1019
|
] })), Br = ({ children: t, ...n }) => /* @__PURE__ */ r.jsx("menu", { children: t }), qr = ({ children: t, ...n }) => /* @__PURE__ */ r.jsxs("header", { children: [
|
|
1017
1020
|
"xz",
|
|
@@ -1020,7 +1023,7 @@ const Vr = ({ children: t, config: n, crypto: a, ...i }) => Cr(a, /* @__PURE__ *
|
|
|
1020
1023
|
payment: Hr
|
|
1021
1024
|
};
|
|
1022
1025
|
function Gr() {
|
|
1023
|
-
let [t, n] =
|
|
1026
|
+
let [t, n] = g.useState({});
|
|
1024
1027
|
return !t.active && !t.payment ? "" : /* @__PURE__ */ r.jsx("div", { className: Jr.payment, children: "Истек срок оплаты! Доступ доступен до 16.04.2024" });
|
|
1025
1028
|
}
|
|
1026
1029
|
const En = ({ children: t, ...n }) => {
|
|
@@ -1066,7 +1069,7 @@ const Xr = ({
|
|
|
1066
1069
|
] }), Qr = "_setting_1r0pc_2", en = {
|
|
1067
1070
|
setting: Qr
|
|
1068
1071
|
}, tn = ({ children: t }) => /* @__PURE__ */ r.jsx("div", { className: en.setting, children: t }), rn = ({ label: t, children: n }) => {
|
|
1069
|
-
let [a, i] =
|
|
1072
|
+
let [a, i] = g.useState(!1);
|
|
1070
1073
|
return /* @__PURE__ */ r.jsxs("li", { "data-item": "accordion", children: [
|
|
1071
1074
|
/* @__PURE__ */ r.jsxs("dl", { onClick: () => i(!a), children: [
|
|
1072
1075
|
/* @__PURE__ */ r.jsx("dt", { children: t }),
|
|
@@ -1102,9 +1105,9 @@ const Xr = ({
|
|
|
1102
1105
|
/* @__PURE__ */ r.jsx("dt", { children: t }),
|
|
1103
1106
|
/* @__PURE__ */ r.jsx("dd", { children: n })
|
|
1104
1107
|
] }) }), dn = { Accordion: rn, Button: nn, Switch: on, Info: ln, Select: cn, Component: un, Node: fn };
|
|
1105
|
-
function
|
|
1108
|
+
function Ue({ list: t, onClick: n, active: a, size: i, view: v }) {
|
|
1106
1109
|
return /* @__PURE__ */ r.jsx("nav", { children: /* @__PURE__ */ r.jsx("ul", { className: [i, v].join(" "), children: t.map((p) => /* @__PURE__ */ r.jsx(
|
|
1107
|
-
|
|
1110
|
+
mn,
|
|
1108
1111
|
{
|
|
1109
1112
|
onClick: n,
|
|
1110
1113
|
active: a,
|
|
@@ -1114,10 +1117,10 @@ function Ye({ list: t, onClick: n, active: a, size: i, view: v }) {
|
|
|
1114
1117
|
p.link
|
|
1115
1118
|
)) }) });
|
|
1116
1119
|
}
|
|
1117
|
-
const
|
|
1118
|
-
|
|
1119
|
-
const Rn = { Section: Xr, Main: tn, Item: dn, Tabs:
|
|
1120
|
-
h:
|
|
1120
|
+
const mn = ({ onClick: t, label: n, link: a, active: i }) => /* @__PURE__ */ r.jsx("li", { "tabs-active": String(i === a), onClick: () => t(a), children: n });
|
|
1121
|
+
Ue.defaultProps = { size: "M", view: "H" };
|
|
1122
|
+
const Rn = { Section: Xr, Main: tn, Item: dn, Tabs: Ue }, _n = "_h_1b5x7_1", vn = "_t_1b5x7_10", hn = "_s_1b5x7_28", xn = "_u_1b5x7_37", pn = "_o_1b5x7_44", gn = "_l_1b5x7_53", bn = "_hh_1b5x7_60", D = {
|
|
1123
|
+
h: _n,
|
|
1121
1124
|
t: vn,
|
|
1122
1125
|
s: hn,
|
|
1123
1126
|
u: xn,
|
|
@@ -1130,7 +1133,7 @@ const Rn = { Section: Xr, Main: tn, Item: dn, Tabs: Ye }, mn = "_h_1b5x7_1", vn
|
|
|
1130
1133
|
] }), jn = ({ children: t, title: n }) => /* @__PURE__ */ r.jsxs("div", { className: D.o, children: [
|
|
1131
1134
|
n && /* @__PURE__ */ r.jsx("div", { className: D.hh, children: n }),
|
|
1132
1135
|
t
|
|
1133
|
-
] }), yn = ({ children: t }) => /* @__PURE__ */ r.jsx("div", { className: D.u, children: t }), Me = ({ children: t }) => /* @__PURE__ */ r.jsx("div", { className: D.s, children: t }), Le = ({ children: t, ...n }) => /* @__PURE__ */ r.jsx("div", { className: D.l, children: t }), kn = { Header: Fe, Section: Me, List: Le, U: yn, L: Le, O: jn, S: Me, H: Fe }, wn = { Send:
|
|
1136
|
+
] }), yn = ({ children: t }) => /* @__PURE__ */ r.jsx("div", { className: D.u, children: t }), Me = ({ children: t }) => /* @__PURE__ */ r.jsx("div", { className: D.s, children: t }), Le = ({ children: t, ...n }) => /* @__PURE__ */ r.jsx("div", { className: D.l, children: t }), kn = { Header: Fe, Section: Me, List: Le, U: yn, L: Le, O: jn, S: Me, H: Fe }, wn = { Send: At, Error: zt, Remark: Dt, Success: Nt, Copy: Ft }, Tn = { Send: qt };
|
|
1134
1137
|
function Cn() {
|
|
1135
1138
|
return /* @__PURE__ */ r.jsx("svg", { viewBox: "0 0 462.86 359.96", children: /* @__PURE__ */ r.jsx(
|
|
1136
1139
|
"path",
|
|
@@ -1140,16 +1143,16 @@ function Cn() {
|
|
|
1140
1143
|
}
|
|
1141
1144
|
) });
|
|
1142
1145
|
}
|
|
1143
|
-
const Pn = { Logo: Cn }, In = { setSSID:
|
|
1146
|
+
const Pn = { Logo: Cn }, In = { setSSID: Rr, getSSID: kr, Logaut: ee, setAUTH: wr, getAUTH: Tr, Start: Er, setSetting: Yr, getSetting: Ur }, On = { Path: Wr, setPage: Ir, getPage: We, usePage: Pr, setModule: $r, getModule: Ye, useModule: Or, setTabs: zr, getTabs: Nr, useTabs: Ar, useId: Dr, setId: Mr, subId: Fr, getId: Lr };
|
|
1144
1147
|
export {
|
|
1145
1148
|
an as Action,
|
|
1146
1149
|
Tn as Alert,
|
|
1147
1150
|
En as Browser,
|
|
1148
|
-
|
|
1151
|
+
Gt as Button,
|
|
1149
1152
|
kn as Component,
|
|
1150
1153
|
Pn as Icon,
|
|
1151
1154
|
Vr as Init,
|
|
1152
|
-
|
|
1155
|
+
Cr as Modal,
|
|
1153
1156
|
wn as Notice,
|
|
1154
1157
|
On as Router,
|
|
1155
1158
|
Rn as Setting,
|
package/dist/index.umd.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(function(x,m){typeof exports=="object"&&typeof module<"u"?m(exports,require("react")):typeof define=="function"&&define.amd?define(["exports","react"],m):(x=typeof globalThis<"u"?globalThis:x||self,m((x.elCRM=x.elCRM||{},x.elCRM.components={}),x.React))})(this,function(x,m){"use strict";var ue=document.createElement("style");ue.textContent=`@charset "UTF-8";._notice_820sc_2{position:absolute;right:20px;top:72px;z-index:1111;font-family:Inter,sans-serif}._notice_820sc_2 ._error_820sc_9{color:#bb2014}._notice_820sc_2 ._success_820sc_12{color:#367738}._notice_820sc_2 ._remark_820sc_15{color:#b77513}._notice_820sc_2 ._copy_820sc_18{color:#3f51b5}._notice_820sc_2 li{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);display:block;width:300px;height:70px;border-radius:5px;box-shadow:0 0 0 1px var(--system-border),0 2px 2px #00000008,0 4px 4px #0000000a,0 10px 8px #0000000d,0 15px 15px #0000000f,0 30px 30px #00000012,0 70px 65px #00000017;background:var(--system-bg);overflow:hidden;cursor:pointer;margin:10px 0;transition:all 3s ease 0s;opacity:0}._notice_820sc_2 svg{float:left;width:50px;height:50px;margin:10px;font-size:40px;line-height:51px;text-align:center}._notice_820sc_2 b{width:222px;font-size:17px;font-weight:700;position:absolute;left:70px;display:block;margin-top:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._notice_820sc_2 p{color:var(--system-color);font-size:14px;width:222px;position:absolute;left:70px;display:block;margin-top:37px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._notice_820sc_2 [data-status=show]{opacity:1;transition:1s;animation:_show-notice_820sc_1 1s 1;animation-fill-mode:forwards}._notice_820sc_2 [data-status=hide]{opacity:1;transition:1s;animation:_hide-notice_820sc_1 1s 1;animation-fill-mode:forwards}@keyframes _show-notice_820sc_1{0%{opacity:0}to{opacity:1}}@keyframes _hide-notice_820sc_1{0%{opacity:1}to{opacity:0}}._alerts_1e9y0_1{position:fixed;top:0;bottom:0;left:0;right:0;color:var(--system-color);background:#0000009e;z-index:30;display:flex;flex:1;align-content:center;justify-content:center}._alerts_1e9y0_1 dl{margin:auto;overflow:hidden;width:270px;height:auto;border-radius:12px;border:0;height:fit-content;z-index:1;background:var(--system-bg);-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);-webkit-animation:_menuAnimation_1e9y0_1 .4s 0s both;animation:_menuAnimation_1e9y0_1 .4s 0s both;list-style:none;padding-top:20px;font-family:-apple-system,BlinkMacSystemFont;-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility;box-sizing:border-box;font-size:17px;box-shadow:0 0 0 1px var(--system-border),0 2px 2px #00000008,0 4px 4px #0000000a,0 10px 8px #0000000d,0 15px 15px #0000000f,0 30px 30px #00000012,0 70px 65px #00000017}._alerts_1e9y0_1 dt{font-family:-apple-system,BlinkMacSystemFont;-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility;box-sizing:border-box;font-size:17px;text-align:center;text-transform:capitalize;font-weight:600;line-height:22px;margin:0 0 5px;padding:0 20px}._alerts_1e9y0_1 dd{font-family:-apple-system,BlinkMacSystemFont;-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility;box-sizing:border-box;font-size:13px;margin:0;text-align:center;line-height:16px;padding:0 20px 20px}._alerts_1e9y0_1 ul{border-top:1px solid var(--system-hr);width:100%;display:flex}._alerts_1e9y0_1 button{font-family:-apple-system,BlinkMacSystemFont;-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility;box-sizing:border-box;font-size:17px;padding:10px;cursor:pointer;text-align:center;font-weight:600;background:#0000;border-radius:0;display:block;width:-webkit-fill-available;-webkit-animation:_menuItemAnimation_1e9y0_1 .2s 0s both;animation:_menuItemAnimation_1e9y0_1 .2s 0s both;font-family:Inter,sans-serif;border:0}._alerts_1e9y0_1 button[color=blue]{color:#1b6ac0}._alerts_1e9y0_1 button[color=red]{color:#c21c0d}._alerts_1e9y0_1 button:hover{background:var(--system-hover)}._alerts_1e9y0_1 ._--body_1e9y0_103{position:fixed;top:0;bottom:0;left:0;right:0}._allert_1e9y0_111 ._--form_1e9y0_111{font-family:-apple-system,BlinkMacSystemFont;-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility;box-sizing:border-box;font-size:17px;padding:20px;border-bottom:1px solid var(--system-hr)}:root{--primary-light: #8abdff;--primary: #6d5dfc;--primary-dark: #5b0eeb;--white: #fff;--greyLight-1: #e4ebf5;--greyLight-2: #abb6d2;--greyLight-3: #bec8e4;--greyDark: #9baacf;--inset: inset 2px 2px 2px var(--shadow), inset -1px -1px 1px var(--shade)}._white_6ax6z_14{--background: #e4ebf5;--shadow: #abb6d2;--shade: #fff;--color: #1f253d;--disabled: #9baacf;--text: #394264;--tinge: #3f51b50a;--inset: inset 2px 2px 2px var(--shadow), inset -1px -1px 1px var(--shade);--outset: 2px 2px 2px var(--shadow), -1px -1px 1px var(--shade)}._black_6ax6z_26{--background: #506290;--shadow: #1f253d;--shade: #394264;--color: #fff;--disabled: #29314c;--text: #abb6d2;--tinge: #00000026;--inset: inset 1px 1px 1px #394264, inset -1px -1px 1px #39426470;--outset: 1px 1px 1px #394264, -1px -1px 1px #39426470}[shake=true]{-webkit-animation-name:_shake_6ax6z_1;animation-name:_shake_6ax6z_1;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}@keyframes _shake_6ax6z_1{0%,to{transform:translateZ(0)}10%,30%,50%,70%,90%{transform:translate3d(-10px,0,0)}20%,40%,60%,80%{transform:translate3d(10px,0,0)}}[data-color-bg=fff1d6]{--inset: inset 1px 1px 1px #c9c1ac, inset -1px -1px 1px var(--shade);--outset: 2px 2px 2px #c9c1ac, -1px -1px 1px var(--shade)}[data-color-bg=ffd9d9]{--inset: inset 1px 1px 1px #cdb0b1, inset -1px -1px 1px var(--shade);--outset: 2px 2px 2px #cdb0b1, -1px -1px 1px var(--shade)}[data-color-bg=daffe5]{--inset: inset 1px 1px 1px #b6d2be, inset -1px -1px 1px var(--shade);--outset: 2px 2px 2px #b6d2be, -1px -1px 1px var(--shade)}._modal_6ax6z_73{position:fixed;top:0;left:0;right:0;bottom:0;z-index:10;display:flex}._o_6ax6z_83{position:fixed;top:0;left:0;right:0;bottom:0;background-color:#000000b8}._w_6ax6z_14{box-shadow:5px 7px 18px #000000a8;background:var(--background);position:relative;min-width:300px;margin:auto;border-radius:10px;width:400px;max-height:90%;display:flex;flex-flow:column nowrap}._h_6ax6z_106{flex:1;font-size:15px;line-height:35px;font-weight:700;text-align:left;color:var(--color);padding:10px 15px 5px 30px;user-select:none;-webkit-user-select:none;display:flex;z-index:1}._l_6ax6z_120{border-radius:10px;font-size:15px;box-shadow:var(--inset);color:var(--color);margin:10px;overflow:hidden;overflow-y:scroll;padding:5px 0}._l_6ax6z_120 li{display:flex;margin:0 5px;padding:10px;position:relative}._l_6ax6z_120 li:after{content:"";border-bottom:1px solid #ddd;position:absolute;bottom:0;left:5px;right:5px}._l_6ax6z_120 li:last-child{border-bottom:0}._l_6ax6z_120 li:hover{background:#00000012;cursor:pointer;border-radius:5px}._t_6ax6z_158{padding-right:10px}._m_6ax6z_73{flex:1}._x_6ax6z_166{cursor:pointer;color:#1f253d;font-size:20px;opacity:.5;width:35px;border-radius:5px;text-align:center}._s_6ax6z_176{flex:1;overflow-y:scroll}._c_6ax6z_181{text-align:center;margin:20px}._f_6ax6z_186{padding:0 20px;display:flex;flex-direction:column}._f_6ax6z_186 dl{margin:7px 0;flex:1 1;flex-direction:row;display:flex}._f_6ax6z_186 dt{padding:7px 10px;color:var(--text);margin-left:7px;flex:0 1 150px}._f_6ax6z_186 dd{margin:0;background:var(--tinge);color:var(--color);box-shadow:var(--inset);border-radius:5px;min-height:33px;padding:7px 10px;flex:1 1}._f_6ax6z_186 p{margin:auto;width:300px;padding:20px 0 5px;color:#1f253dc7;font-size:15px}._x_6ax6z_166:hover{opacity:1}._btn_6ax6z_229{min-width:200px;margin:10px auto 20px;opacity:.7;padding:7px 25px;border-radius:5px;box-shadow:var(--outset);display:flex;justify-content:center;cursor:pointer;transition:.3s ease}._g_6ax6z_242{display:flex;gap:10px}._c_6ax6z_181{margin:10px 7px 20px;opacity:.8;box-shadow:var(--outset);border-radius:10px;padding:20px;flex:1;cursor:pointer}._c_6ax6z_181:first-child{margin-left:20px}._c_6ax6z_181:last-child{margin-right:20px}._c_6ax6z_181:hover{opacity:1;background:var(--tinge)}._c_6ax6z_181 i{font-size:70px;margin-bottom:20px;text-align:center;display:block;color:var(--disabled)}._c_6ax6z_181 b{text-align:center;display:block;color:var(--color)}._c_6ax6z_181 p{text-align:center;font-size:15px;color:var(--text)}._btn_6ax6z_229:hover{opacity:1}._modal_6ax6z_73._size-a_6ax6z_294 ._w_6ax6z_14{width:auto}._modal_6ax6z_73._size-s_6ax6z_298 ._w_6ax6z_14{width:400px}._modal_6ax6z_73._size-m_6ax6z_302 ._w_6ax6z_14{width:500px}._modal_6ax6z_73._size-l_6ax6z_306 ._w_6ax6z_14{width:800px}._modal_6ax6z_73._size-x_6ax6z_310 ._w_6ax6z_14{width:1000px}._modal_6ax6z_73._size-f_6ax6z_314 ._w_6ax6z_14{width:100%;max-width:1200px;min-width:910px}._btn_6ax6z_229._confirm_6ax6z_320{background:#4caf50;color:#fff}._btn_6ax6z_229._cancel_6ax6z_325{background:#f44336;color:#fff}._btn_6ax6z_229._disabled_6ax6z_330,._btn_6ax6z_229._await_6ax6z_337{background:#efefef;color:#000;opacity:1;cursor:default}._m_6ax6z_73 big{position:absolute;margin:10px auto 20px;border-radius:5px;box-shadow:var(--outset);display:flex;top:-1px;right:55px}._m_6ax6z_73 big i{width:30px;height:30px;text-align:center;margin:3px;line-height:30px;cursor:pointer;border-radius:5px}._m_6ax6z_73 big i:hover{box-shadow:var(--inset)}._m_6ax6z_73 nav{width:fit-content;height:35px;margin:0 auto;box-shadow:var(--outset);border-radius:5px;display:flex}._m_6ax6z_73 span{border-radius:3px;flex:1 1;margin:2px;padding:0 10px;line-height:35px;color:var(--disabled);cursor:pointer}._m_6ax6z_73 span._active_6ax6z_387{box-shadow:var(--inset);color:var(--color)}._coincidence_6ax6z_393{position:fixed;right:20px;bottom:20px;z-index:1111;overflow-y:scroll;max-height:565px;padding-top:90px}._coincidence_6ax6z_393 span{display:block;width:300px;border-radius:5px;overflow:hidden;cursor:pointer;margin:10px 0;padding:10px;color:#1f253d}._coincidence_6ax6z_393 dl{display:flex;padding:0;margin:5px}._coincidence_6ax6z_393 dd{font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:0;margin:0 10px}menu{border-radius:5px;overflow:hidden;display:flex;flex-direction:column;background:var(--contex);grid-area:m}._payment_1lxfv_1{background:#f44336;height:42px;border-radius:5px;color:#fff;font-weight:700;line-height:42px;margin-top:8px;grid-area:p;text-align:center}._setting_1r0pc_2{width:100%;overflow:auto}._setting_1r0pc_2 nav{border:0px;padding:0 10px 5px;margin:25px auto;width:600px}._setting_1r0pc_2 nav ul{display:flex;justify-content:space-between;gap:1px}._setting_1r0pc_2 nav li{flex:1;text-align:center;background:var(--setting-bg);color:var(--setting-color);cursor:pointer;opacity:.7}._setting_1r0pc_2 nav li[tabs-active=true]{opacity:1}._setting_1r0pc_2 fieldset{border:0px;padding:0 10px 5px;margin:25px auto;width:600px}._setting_1r0pc_2 legend{text-transform:uppercase;font-weight:300;font-size:1.3em}._setting_1r0pc_2 ul{margin:10px 0;color:#000;border-radius:8px;overflow:hidden;list-style-type:none;padding:0}._setting_1r0pc_2 li{font-size:20px;line-height:40px}._setting_1r0pc_2 dl{display:flex;margin:0 0 1px;align-items:center;padding-right:9px;background:var(--setting-bg);color:var(--setting-color)}._setting_1r0pc_2 dd{text-align:right;padding-left:15px;position:relative;display:flex;justify-content:center}._setting_1r0pc_2 dt{flex:1;padding:0 15px}._setting_1r0pc_2 article{padding-left:15px;color:var(--setting-bg);font-weight:100;font-size:14px}._setting_1r0pc_2 legend{color:var(--setting-bg);display:flex;justify-content:space-between;width:100%}._setting_1r0pc_2 svg{fill:var(--setting-color);width:15px;margin-left:10px}._setting_1r0pc_2 [data-close]{cursor:pointer;width:10px;height:10px;border-top:3px solid var(--setting-color);border-left:3px solid var(--setting-color);position:absolute;right:10px;top:3px;-webkit-transform:translate(0,-50%) rotate(45deg);-ms-transform:translate(0,-50%) rotate(45deg);transform:translateY(-50%) rotate(45deg)}._setting_1r0pc_2 [data-close=false]{right:10px;top:0;-webkit-transform:translate(0,-50%) rotate(-135deg);-ms-transform:translate(0,-50%) rotate(-135deg);transform:translateY(-50%) rotate(-135deg)}._setting_1r0pc_2 [data-item=accordion]>div{margin-top:1px;background-color:var(--setting-bg)}._setting_1r0pc_2 [role=button]{font-size:13px;border-radius:5px;text-align:center;width:100px;line-height:30px;padding:0;cursor:pointer}._setting_1r0pc_2 [role=button]:hover{background:var(--setting-action)}._setting_1r0pc_2 [role=button-outline]{font-size:14px;border:1px solid;padding:3px 13px;border-radius:6px;cursor:pointer;text-transform:none}._setting_1r0pc_2 [role=button-outline]:hover{background:#00000038}._setting_1r0pc_2 [role=switch]{cursor:pointer;position:relative;width:44px;height:22px;border-radius:50px;vertical-align:text-bottom;transition:all .3s linear;margin:0}._setting_1r0pc_2 [role=switch]:after{content:"";position:absolute;left:4px;width:16px;height:16px;background-color:#fff;border-radius:50%;box-shadow:0 2px 2px #0000003d;transform:translate3d(0,3px,0);transition:all .2s ease-in-out}._setting_1r0pc_2 [role=switch]:before{content:"";position:absolute;left:0;width:42px;height:22px;background-color:#ddd;border-radius:11px;transition:all .25s linear}._setting_1r0pc_2 [role=switch][aria-checked=true]{background-color:#1f253d}._setting_1r0pc_2 [role=switch][aria-checked=true]:before{transform:translate3d(18px,2px,0) scale3d(0,0,0)}._setting_1r0pc_2 [role=switch][aria-checked=true]:after{transform:translate3d(19px,3px,0)}._h_1b5x7_1{background:var(--content);margin-bottom:2px;border-radius:5px 5px 0 0;line-height:35px;align-items:center;display:flex}._t_1b5x7_10{border-bottom:0;cursor:default;display:block;flex:1;margin-block-start:0;margin-block-end:0;margin-inline-start:0px;margin-inline-end:0px;font-size:14px!important;line-height:35px;font-weight:700;text-align:center;color:var(--label);position:relative;height:35px}._s_1b5x7_28{display:flex;flex:1;position:relative;overflow:hidden;border-radius:5px;flex-flow:column nowrap}._u_1b5x7_37{overflow:hidden;border-radius:0 0 5px 5px;background:var(--content);display:block}._o_1b5x7_44{overflow:hidden;position:relative;border-radius:5px;margin-top:5px;flex:1 1;background:var(--content)}._l_1b5x7_53{flex:1;overflow:hidden;overflow-y:scroll;background:var(--content)}._hh_1b5x7_60{background:#fff;display:block;flex:1 1;font-size:14px;line-height:35px;font-weight:700;text-align:center;color:#1f253d;border-bottom:1px solid #ddd;position:relative}
|
|
1
|
+
(function(x,g){typeof exports=="object"&&typeof module<"u"?g(exports,require("react")):typeof define=="function"&&define.amd?define(["exports","react"],g):(x=typeof globalThis<"u"?globalThis:x||self,g((x.elCRM=x.elCRM||{},x.elCRM.components={}),x.React))})(this,function(x,g){"use strict";var ue=document.createElement("style");ue.textContent=`@charset "UTF-8";._notice_820sc_2{position:absolute;right:20px;top:72px;z-index:1111;font-family:Inter,sans-serif}._notice_820sc_2 ._error_820sc_9{color:#bb2014}._notice_820sc_2 ._success_820sc_12{color:#367738}._notice_820sc_2 ._remark_820sc_15{color:#b77513}._notice_820sc_2 ._copy_820sc_18{color:#3f51b5}._notice_820sc_2 li{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);display:block;width:300px;height:70px;border-radius:5px;box-shadow:0 0 0 1px var(--system-border),0 2px 2px #00000008,0 4px 4px #0000000a,0 10px 8px #0000000d,0 15px 15px #0000000f,0 30px 30px #00000012,0 70px 65px #00000017;background:var(--system-bg);overflow:hidden;cursor:pointer;margin:10px 0;transition:all 3s ease 0s;opacity:0}._notice_820sc_2 svg{float:left;width:50px;height:50px;margin:10px;font-size:40px;line-height:51px;text-align:center}._notice_820sc_2 b{width:222px;font-size:17px;font-weight:700;position:absolute;left:70px;display:block;margin-top:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._notice_820sc_2 p{color:var(--system-color);font-size:14px;width:222px;position:absolute;left:70px;display:block;margin-top:37px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._notice_820sc_2 [data-status=show]{opacity:1;transition:1s;animation:_show-notice_820sc_1 1s 1;animation-fill-mode:forwards}._notice_820sc_2 [data-status=hide]{opacity:1;transition:1s;animation:_hide-notice_820sc_1 1s 1;animation-fill-mode:forwards}@keyframes _show-notice_820sc_1{0%{opacity:0}to{opacity:1}}@keyframes _hide-notice_820sc_1{0%{opacity:1}to{opacity:0}}._alerts_1e9y0_1{position:fixed;top:0;bottom:0;left:0;right:0;color:var(--system-color);background:#0000009e;z-index:30;display:flex;flex:1;align-content:center;justify-content:center}._alerts_1e9y0_1 dl{margin:auto;overflow:hidden;width:270px;height:auto;border-radius:12px;border:0;height:fit-content;z-index:1;background:var(--system-bg);-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);-webkit-animation:_menuAnimation_1e9y0_1 .4s 0s both;animation:_menuAnimation_1e9y0_1 .4s 0s both;list-style:none;padding-top:20px;font-family:-apple-system,BlinkMacSystemFont;-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility;box-sizing:border-box;font-size:17px;box-shadow:0 0 0 1px var(--system-border),0 2px 2px #00000008,0 4px 4px #0000000a,0 10px 8px #0000000d,0 15px 15px #0000000f,0 30px 30px #00000012,0 70px 65px #00000017}._alerts_1e9y0_1 dt{font-family:-apple-system,BlinkMacSystemFont;-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility;box-sizing:border-box;font-size:17px;text-align:center;text-transform:capitalize;font-weight:600;line-height:22px;margin:0 0 5px;padding:0 20px}._alerts_1e9y0_1 dd{font-family:-apple-system,BlinkMacSystemFont;-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility;box-sizing:border-box;font-size:13px;margin:0;text-align:center;line-height:16px;padding:0 20px 20px}._alerts_1e9y0_1 ul{border-top:1px solid var(--system-hr);width:100%;display:flex}._alerts_1e9y0_1 button{font-family:-apple-system,BlinkMacSystemFont;-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility;box-sizing:border-box;font-size:17px;padding:10px;cursor:pointer;text-align:center;font-weight:600;background:#0000;border-radius:0;display:block;width:-webkit-fill-available;-webkit-animation:_menuItemAnimation_1e9y0_1 .2s 0s both;animation:_menuItemAnimation_1e9y0_1 .2s 0s both;font-family:Inter,sans-serif;border:0}._alerts_1e9y0_1 button[color=blue]{color:#1b6ac0}._alerts_1e9y0_1 button[color=red]{color:#c21c0d}._alerts_1e9y0_1 button:hover{background:var(--system-hover)}._alerts_1e9y0_1 ._--body_1e9y0_103{position:fixed;top:0;bottom:0;left:0;right:0}._allert_1e9y0_111 ._--form_1e9y0_111{font-family:-apple-system,BlinkMacSystemFont;-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility;box-sizing:border-box;font-size:17px;padding:20px;border-bottom:1px solid var(--system-hr)}:root{--primary-light: #8abdff;--primary: #6d5dfc;--primary-dark: #5b0eeb;--white: #fff;--greyLight-1: #e4ebf5;--greyLight-2: #abb6d2;--greyLight-3: #bec8e4;--greyDark: #9baacf;--inset: inset 2px 2px 2px var(--shadow), inset -1px -1px 1px var(--shade)}._white_6ax6z_14{--background: #e4ebf5;--shadow: #abb6d2;--shade: #fff;--color: #1f253d;--disabled: #9baacf;--text: #394264;--tinge: #3f51b50a;--inset: inset 2px 2px 2px var(--shadow), inset -1px -1px 1px var(--shade);--outset: 2px 2px 2px var(--shadow), -1px -1px 1px var(--shade)}._black_6ax6z_26{--background: #506290;--shadow: #1f253d;--shade: #394264;--color: #fff;--disabled: #29314c;--text: #abb6d2;--tinge: #00000026;--inset: inset 1px 1px 1px #394264, inset -1px -1px 1px #39426470;--outset: 1px 1px 1px #394264, -1px -1px 1px #39426470}[shake=true]{-webkit-animation-name:_shake_6ax6z_1;animation-name:_shake_6ax6z_1;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}@keyframes _shake_6ax6z_1{0%,to{transform:translateZ(0)}10%,30%,50%,70%,90%{transform:translate3d(-10px,0,0)}20%,40%,60%,80%{transform:translate3d(10px,0,0)}}[data-color-bg=fff1d6]{--inset: inset 1px 1px 1px #c9c1ac, inset -1px -1px 1px var(--shade);--outset: 2px 2px 2px #c9c1ac, -1px -1px 1px var(--shade)}[data-color-bg=ffd9d9]{--inset: inset 1px 1px 1px #cdb0b1, inset -1px -1px 1px var(--shade);--outset: 2px 2px 2px #cdb0b1, -1px -1px 1px var(--shade)}[data-color-bg=daffe5]{--inset: inset 1px 1px 1px #b6d2be, inset -1px -1px 1px var(--shade);--outset: 2px 2px 2px #b6d2be, -1px -1px 1px var(--shade)}._modal_6ax6z_73{position:fixed;top:0;left:0;right:0;bottom:0;z-index:10;display:flex}._o_6ax6z_83{position:fixed;top:0;left:0;right:0;bottom:0;background-color:#000000b8}._w_6ax6z_14{box-shadow:5px 7px 18px #000000a8;background:var(--background);position:relative;min-width:300px;margin:auto;border-radius:10px;width:400px;max-height:90%;display:flex;flex-flow:column nowrap}._h_6ax6z_106{flex:1;font-size:15px;line-height:35px;font-weight:700;text-align:left;color:var(--color);padding:10px 15px 5px 30px;user-select:none;-webkit-user-select:none;display:flex;z-index:1}._l_6ax6z_120{border-radius:10px;font-size:15px;box-shadow:var(--inset);color:var(--color);margin:10px;overflow:hidden;overflow-y:scroll;padding:5px 0}._l_6ax6z_120 li{display:flex;margin:0 5px;padding:10px;position:relative}._l_6ax6z_120 li:after{content:"";border-bottom:1px solid #ddd;position:absolute;bottom:0;left:5px;right:5px}._l_6ax6z_120 li:last-child{border-bottom:0}._l_6ax6z_120 li:hover{background:#00000012;cursor:pointer;border-radius:5px}._t_6ax6z_158{padding-right:10px}._m_6ax6z_73{flex:1}._x_6ax6z_166{cursor:pointer;color:#1f253d;font-size:20px;opacity:.5;width:35px;border-radius:5px;text-align:center}._s_6ax6z_176{flex:1;overflow-y:scroll}._c_6ax6z_181{text-align:center;margin:20px}._f_6ax6z_186{padding:0 20px;display:flex;flex-direction:column}._f_6ax6z_186 dl{margin:7px 0;flex:1 1;flex-direction:row;display:flex}._f_6ax6z_186 dt{padding:7px 10px;color:var(--text);margin-left:7px;flex:0 1 150px}._f_6ax6z_186 dd{margin:0;background:var(--tinge);color:var(--color);box-shadow:var(--inset);border-radius:5px;min-height:33px;padding:7px 10px;flex:1 1}._f_6ax6z_186 p{margin:auto;width:300px;padding:20px 0 5px;color:#1f253dc7;font-size:15px}._x_6ax6z_166:hover{opacity:1}._btn_6ax6z_229{min-width:200px;margin:10px auto 20px;opacity:.7;padding:7px 25px;border-radius:5px;box-shadow:var(--outset);display:flex;justify-content:center;cursor:pointer;transition:.3s ease}._g_6ax6z_242{display:flex;gap:10px}._c_6ax6z_181{margin:10px 7px 20px;opacity:.8;box-shadow:var(--outset);border-radius:10px;padding:20px;flex:1;cursor:pointer}._c_6ax6z_181:first-child{margin-left:20px}._c_6ax6z_181:last-child{margin-right:20px}._c_6ax6z_181:hover{opacity:1;background:var(--tinge)}._c_6ax6z_181 i{font-size:70px;margin-bottom:20px;text-align:center;display:block;color:var(--disabled)}._c_6ax6z_181 b{text-align:center;display:block;color:var(--color)}._c_6ax6z_181 p{text-align:center;font-size:15px;color:var(--text)}._btn_6ax6z_229:hover{opacity:1}._modal_6ax6z_73._size-a_6ax6z_294 ._w_6ax6z_14{width:auto}._modal_6ax6z_73._size-s_6ax6z_298 ._w_6ax6z_14{width:400px}._modal_6ax6z_73._size-m_6ax6z_302 ._w_6ax6z_14{width:500px}._modal_6ax6z_73._size-l_6ax6z_306 ._w_6ax6z_14{width:800px}._modal_6ax6z_73._size-x_6ax6z_310 ._w_6ax6z_14{width:1000px}._modal_6ax6z_73._size-f_6ax6z_314 ._w_6ax6z_14{width:100%;max-width:1200px;min-width:910px}._btn_6ax6z_229._confirm_6ax6z_320{background:#4caf50;color:#fff}._btn_6ax6z_229._cancel_6ax6z_325{background:#f44336;color:#fff}._btn_6ax6z_229._disabled_6ax6z_330,._btn_6ax6z_229._await_6ax6z_337{background:#efefef;color:#000;opacity:1;cursor:default}._m_6ax6z_73 big{position:absolute;margin:10px auto 20px;border-radius:5px;box-shadow:var(--outset);display:flex;top:-1px;right:55px}._m_6ax6z_73 big i{width:30px;height:30px;text-align:center;margin:3px;line-height:30px;cursor:pointer;border-radius:5px}._m_6ax6z_73 big i:hover{box-shadow:var(--inset)}._m_6ax6z_73 nav{width:fit-content;height:35px;margin:0 auto;box-shadow:var(--outset);border-radius:5px;display:flex}._m_6ax6z_73 span{border-radius:3px;flex:1 1;margin:2px;padding:0 10px;line-height:35px;color:var(--disabled);cursor:pointer}._m_6ax6z_73 span._active_6ax6z_387{box-shadow:var(--inset);color:var(--color)}._coincidence_6ax6z_393{position:fixed;right:20px;bottom:20px;z-index:1111;overflow-y:scroll;max-height:565px;padding-top:90px}._coincidence_6ax6z_393 span{display:block;width:300px;border-radius:5px;overflow:hidden;cursor:pointer;margin:10px 0;padding:10px;color:#1f253d}._coincidence_6ax6z_393 dl{display:flex;padding:0;margin:5px}._coincidence_6ax6z_393 dd{font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:0;margin:0 10px}menu{border-radius:5px;overflow:hidden;display:flex;flex-direction:column;background:var(--contex);grid-area:m}._payment_1lxfv_1{background:#f44336;height:42px;border-radius:5px;color:#fff;font-weight:700;line-height:42px;margin-top:8px;grid-area:p;text-align:center}._setting_1r0pc_2{width:100%;overflow:auto}._setting_1r0pc_2 nav{border:0px;padding:0 10px 5px;margin:25px auto;width:600px}._setting_1r0pc_2 nav ul{display:flex;justify-content:space-between;gap:1px}._setting_1r0pc_2 nav li{flex:1;text-align:center;background:var(--setting-bg);color:var(--setting-color);cursor:pointer;opacity:.7}._setting_1r0pc_2 nav li[tabs-active=true]{opacity:1}._setting_1r0pc_2 fieldset{border:0px;padding:0 10px 5px;margin:25px auto;width:600px}._setting_1r0pc_2 legend{text-transform:uppercase;font-weight:300;font-size:1.3em}._setting_1r0pc_2 ul{margin:10px 0;color:#000;border-radius:8px;overflow:hidden;list-style-type:none;padding:0}._setting_1r0pc_2 li{font-size:20px;line-height:40px}._setting_1r0pc_2 dl{display:flex;margin:0 0 1px;align-items:center;padding-right:9px;background:var(--setting-bg);color:var(--setting-color)}._setting_1r0pc_2 dd{text-align:right;padding-left:15px;position:relative;display:flex;justify-content:center}._setting_1r0pc_2 dt{flex:1;padding:0 15px}._setting_1r0pc_2 article{padding-left:15px;color:var(--setting-bg);font-weight:100;font-size:14px}._setting_1r0pc_2 legend{color:var(--setting-bg);display:flex;justify-content:space-between;width:100%}._setting_1r0pc_2 svg{fill:var(--setting-color);width:15px;margin-left:10px}._setting_1r0pc_2 [data-close]{cursor:pointer;width:10px;height:10px;border-top:3px solid var(--setting-color);border-left:3px solid var(--setting-color);position:absolute;right:10px;top:3px;-webkit-transform:translate(0,-50%) rotate(45deg);-ms-transform:translate(0,-50%) rotate(45deg);transform:translateY(-50%) rotate(45deg)}._setting_1r0pc_2 [data-close=false]{right:10px;top:0;-webkit-transform:translate(0,-50%) rotate(-135deg);-ms-transform:translate(0,-50%) rotate(-135deg);transform:translateY(-50%) rotate(-135deg)}._setting_1r0pc_2 [data-item=accordion]>div{margin-top:1px;background-color:var(--setting-bg)}._setting_1r0pc_2 [role=button]{font-size:13px;border-radius:5px;text-align:center;width:100px;line-height:30px;padding:0;cursor:pointer}._setting_1r0pc_2 [role=button]:hover{background:var(--setting-action)}._setting_1r0pc_2 [role=button-outline]{font-size:14px;border:1px solid;padding:3px 13px;border-radius:6px;cursor:pointer;text-transform:none}._setting_1r0pc_2 [role=button-outline]:hover{background:#00000038}._setting_1r0pc_2 [role=switch]{cursor:pointer;position:relative;width:44px;height:22px;border-radius:50px;vertical-align:text-bottom;transition:all .3s linear;margin:0}._setting_1r0pc_2 [role=switch]:after{content:"";position:absolute;left:4px;width:16px;height:16px;background-color:#fff;border-radius:50%;box-shadow:0 2px 2px #0000003d;transform:translate3d(0,3px,0);transition:all .2s ease-in-out}._setting_1r0pc_2 [role=switch]:before{content:"";position:absolute;left:0;width:42px;height:22px;background-color:#ddd;border-radius:11px;transition:all .25s linear}._setting_1r0pc_2 [role=switch][aria-checked=true]{background-color:#1f253d}._setting_1r0pc_2 [role=switch][aria-checked=true]:before{transform:translate3d(18px,2px,0) scale3d(0,0,0)}._setting_1r0pc_2 [role=switch][aria-checked=true]:after{transform:translate3d(19px,3px,0)}._h_1b5x7_1{background:var(--content);margin-bottom:2px;border-radius:5px 5px 0 0;line-height:35px;align-items:center;display:flex}._t_1b5x7_10{border-bottom:0;cursor:default;display:block;flex:1;margin-block-start:0;margin-block-end:0;margin-inline-start:0px;margin-inline-end:0px;font-size:14px!important;line-height:35px;font-weight:700;text-align:center;color:var(--label);position:relative;height:35px}._s_1b5x7_28{display:flex;flex:1;position:relative;overflow:hidden;border-radius:5px;flex-flow:column nowrap}._u_1b5x7_37{overflow:hidden;border-radius:0 0 5px 5px;background:var(--content);display:block}._o_1b5x7_44{overflow:hidden;position:relative;border-radius:5px;margin-top:5px;flex:1 1;background:var(--content)}._l_1b5x7_53{flex:1;overflow:hidden;overflow-y:scroll;background:var(--content)}._hh_1b5x7_60{background:#fff;display:block;flex:1 1;font-size:14px;line-height:35px;font-weight:700;text-align:center;color:#1f253d;border-bottom:1px solid #ddd;position:relative}
|
|
2
2
|
`,document.head.appendChild(ue);var re={exports:{}},B={};/**
|
|
3
3
|
* @license React
|
|
4
4
|
* react-jsx-runtime.production.min.js
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*
|
|
8
8
|
* This source code is licensed under the MIT license found in the
|
|
9
9
|
* LICENSE file in the root directory of this source tree.
|
|
10
|
-
*/var fe;function
|
|
10
|
+
*/var fe;function Ke(){if(fe)return B;fe=1;var t=g,n=Symbol.for("react.element"),o=Symbol.for("react.fragment"),s=Object.prototype.hasOwnProperty,h=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,v={key:!0,ref:!0,__self:!0,__source:!0};function D(E,b,$){var y,w={},R=null,G=null;$!==void 0&&(R=""+$),b.key!==void 0&&(R=""+b.key),b.ref!==void 0&&(G=b.ref);for(y in b)s.call(b,y)&&!v.hasOwnProperty(y)&&(w[y]=b[y]);if(E&&E.defaultProps)for(y in b=E.defaultProps,b)w[y]===void 0&&(w[y]=b[y]);return{$$typeof:n,type:E,key:R,ref:G,props:w,_owner:h.current}}return B.Fragment=o,B.jsx=D,B.jsxs=D,B}var U={};/**
|
|
11
11
|
* @license React
|
|
12
12
|
* react-jsx-runtime.development.js
|
|
13
13
|
*
|
|
@@ -15,14 +15,14 @@
|
|
|
15
15
|
*
|
|
16
16
|
* This source code is licensed under the MIT license found in the
|
|
17
17
|
* LICENSE file in the root directory of this source tree.
|
|
18
|
-
*/var pe;function
|
|
19
|
-
`+ie+e}}var
|
|
18
|
+
*/var pe;function Xe(){return pe||(pe=1,process.env.NODE_ENV!=="production"&&function(){var t=g,n=Symbol.for("react.element"),o=Symbol.for("react.portal"),s=Symbol.for("react.fragment"),h=Symbol.for("react.strict_mode"),v=Symbol.for("react.profiler"),D=Symbol.for("react.provider"),E=Symbol.for("react.context"),b=Symbol.for("react.forward_ref"),$=Symbol.for("react.suspense"),y=Symbol.for("react.suspense_list"),w=Symbol.for("react.memo"),R=Symbol.for("react.lazy"),G=Symbol.for("react.offscreen"),Se=Symbol.iterator,or="@@iterator";function ar(e){if(e===null||typeof e!="object")return null;var i=Se&&e[Se]||e[or];return typeof i=="function"?i:null}var L=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function k(e){{for(var i=arguments.length,a=new Array(i>1?i-1:0),l=1;l<i;l++)a[l-1]=arguments[l];sr("error",e,a)}}function sr(e,i,a){{var l=L.ReactDebugCurrentFrame,f=l.getStackAddendum();f!==""&&(i+="%s",a=a.concat([f]));var p=a.map(function(u){return String(u)});p.unshift("Warning: "+i),Function.prototype.apply.call(console[e],console,p)}}var lr=!1,cr=!1,dr=!1,ur=!1,fr=!1,Ce;Ce=Symbol.for("react.module.reference");function pr(e){return!!(typeof e=="string"||typeof e=="function"||e===s||e===v||fr||e===h||e===$||e===y||ur||e===G||lr||cr||dr||typeof e=="object"&&e!==null&&(e.$$typeof===R||e.$$typeof===w||e.$$typeof===D||e.$$typeof===E||e.$$typeof===b||e.$$typeof===Ce||e.getModuleId!==void 0))}function xr(e,i,a){var l=e.displayName;if(l)return l;var f=i.displayName||i.name||"";return f!==""?a+"("+f+")":a}function Ee(e){return e.displayName||"Context"}function T(e){if(e==null)return null;if(typeof e.tag=="number"&&k("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case s:return"Fragment";case o:return"Portal";case v:return"Profiler";case h:return"StrictMode";case $:return"Suspense";case y:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case E:var i=e;return Ee(i)+".Consumer";case D:var a=e;return Ee(a._context)+".Provider";case b:return xr(e,e.render,"ForwardRef");case w:var l=e.displayName||null;return l!==null?l:T(e.type)||"Memo";case R:{var f=e,p=f._payload,u=f._init;try{return T(u(p))}catch{return null}}}return null}var M=Object.assign,H=0,Re,Te,Ie,Pe,Oe,$e,Ae;function Ne(){}Ne.__reactDisabledLog=!0;function _r(){{if(H===0){Re=console.log,Te=console.info,Ie=console.warn,Pe=console.error,Oe=console.group,$e=console.groupCollapsed,Ae=console.groupEnd;var e={configurable:!0,enumerable:!0,value:Ne,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}H++}}function gr(){{if(H--,H===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:M({},e,{value:Re}),info:M({},e,{value:Te}),warn:M({},e,{value:Ie}),error:M({},e,{value:Pe}),group:M({},e,{value:Oe}),groupCollapsed:M({},e,{value:$e}),groupEnd:M({},e,{value:Ae})})}H<0&&k("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ne=L.ReactCurrentDispatcher,ie;function K(e,i,a){{if(ie===void 0)try{throw Error()}catch(f){var l=f.stack.trim().match(/\n( *(at )?)/);ie=l&&l[1]||""}return`
|
|
19
|
+
`+ie+e}}var oe=!1,X;{var hr=typeof WeakMap=="function"?WeakMap:Map;X=new hr}function De(e,i){if(!e||oe)return"";{var a=X.get(e);if(a!==void 0)return a}var l;oe=!0;var f=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var p;p=ne.current,ne.current=null,_r();try{if(i){var u=function(){throw Error()};if(Object.defineProperty(u.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(u,[])}catch(I){l=I}Reflect.construct(e,[],u)}else{try{u.call()}catch(I){l=I}e.call(u.prototype)}}else{try{throw Error()}catch(I){l=I}e()}}catch(I){if(I&&l&&typeof I.stack=="string"){for(var d=I.stack.split(`
|
|
20
20
|
`),j=l.stack.split(`
|
|
21
|
-
`),_=d.length-1,
|
|
22
|
-
`+d[_].replace(" at new "," at ");return e.displayName&&S.includes("<anonymous>")&&(S=S.replace("<anonymous>",e.displayName)),typeof e=="function"&&X.set(e,S),S}while(_>=1&&
|
|
21
|
+
`),_=d.length-1,m=j.length-1;_>=1&&m>=0&&d[_]!==j[m];)m--;for(;_>=1&&m>=0;_--,m--)if(d[_]!==j[m]){if(_!==1||m!==1)do if(_--,m--,m<0||d[_]!==j[m]){var S=`
|
|
22
|
+
`+d[_].replace(" at new "," at ");return e.displayName&&S.includes("<anonymous>")&&(S=S.replace("<anonymous>",e.displayName)),typeof e=="function"&&X.set(e,S),S}while(_>=1&&m>=0);break}}}finally{oe=!1,ne.current=p,gr(),Error.prepareStackTrace=f}var Y=e?e.displayName||e.name:"",Ge=Y?K(Y):"";return typeof e=="function"&&X.set(e,Ge),Ge}function mr(e,i,a){return De(e,!1)}function br(e){var i=e.prototype;return!!(i&&i.isReactComponent)}function Q(e,i,a){if(e==null)return"";if(typeof e=="function")return De(e,br(e));if(typeof e=="string")return K(e);switch(e){case $:return K("Suspense");case y:return K("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case b:return mr(e.render);case w:return Q(e.type,i,a);case R:{var l=e,f=l._payload,p=l._init;try{return Q(p(f),i,a)}catch{}}}return""}var ee=Object.prototype.hasOwnProperty,Me={},Fe=L.ReactDebugCurrentFrame;function te(e){if(e){var i=e._owner,a=Q(e.type,e._source,i?i.type:null);Fe.setExtraStackFrame(a)}else Fe.setExtraStackFrame(null)}function vr(e,i,a,l,f){{var p=Function.call.bind(ee);for(var u in e)if(p(e,u)){var d=void 0;try{if(typeof e[u]!="function"){var j=Error((l||"React class")+": "+a+" type `"+u+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[u]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw j.name="Invariant Violation",j}d=e[u](i,u,l,a,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(_){d=_}d&&!(d instanceof Error)&&(te(f),k("%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).",l||"React class",a,u,typeof d),te(null)),d instanceof Error&&!(d.message in Me)&&(Me[d.message]=!0,te(f),k("Failed %s type: %s",a,d.message),te(null))}}}var yr=Array.isArray;function ae(e){return yr(e)}function wr(e){{var i=typeof Symbol=="function"&&Symbol.toStringTag,a=i&&e[Symbol.toStringTag]||e.constructor.name||"Object";return a}}function kr(e){try{return Le(e),!1}catch{return!0}}function Le(e){return""+e}function We(e){if(kr(e))return k("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",wr(e)),Le(e)}var J=L.ReactCurrentOwner,jr={key:!0,ref:!0,__self:!0,__source:!0},Ye,Be,se;se={};function zr(e){if(ee.call(e,"ref")){var i=Object.getOwnPropertyDescriptor(e,"ref").get;if(i&&i.isReactWarning)return!1}return e.ref!==void 0}function Sr(e){if(ee.call(e,"key")){var i=Object.getOwnPropertyDescriptor(e,"key").get;if(i&&i.isReactWarning)return!1}return e.key!==void 0}function Cr(e,i){if(typeof e.ref=="string"&&J.current&&i&&J.current.stateNode!==i){var a=T(J.current.type);se[a]||(k('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',T(J.current.type),e.ref),se[a]=!0)}}function Er(e,i){{var a=function(){Ye||(Ye=!0,k("%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)",i))};a.isReactWarning=!0,Object.defineProperty(e,"key",{get:a,configurable:!0})}}function Rr(e,i){{var a=function(){Be||(Be=!0,k("%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)",i))};a.isReactWarning=!0,Object.defineProperty(e,"ref",{get:a,configurable:!0})}}var Tr=function(e,i,a,l,f,p,u){var d={$$typeof:n,type:e,key:i,ref:a,props:u,_owner:p};return d._store={},Object.defineProperty(d._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(d,"_self",{configurable:!1,enumerable:!1,writable:!1,value:l}),Object.defineProperty(d,"_source",{configurable:!1,enumerable:!1,writable:!1,value:f}),Object.freeze&&(Object.freeze(d.props),Object.freeze(d)),d};function Ir(e,i,a,l,f){{var p,u={},d=null,j=null;a!==void 0&&(We(a),d=""+a),Sr(i)&&(We(i.key),d=""+i.key),zr(i)&&(j=i.ref,Cr(i,f));for(p in i)ee.call(i,p)&&!jr.hasOwnProperty(p)&&(u[p]=i[p]);if(e&&e.defaultProps){var _=e.defaultProps;for(p in _)u[p]===void 0&&(u[p]=_[p])}if(d||j){var m=typeof e=="function"?e.displayName||e.name||"Unknown":e;d&&Er(u,m),j&&Rr(u,m)}return Tr(e,d,j,f,l,J.current,u)}}var le=L.ReactCurrentOwner,Ue=L.ReactDebugCurrentFrame;function W(e){if(e){var i=e._owner,a=Q(e.type,e._source,i?i.type:null);Ue.setExtraStackFrame(a)}else Ue.setExtraStackFrame(null)}var ce;ce=!1;function de(e){return typeof e=="object"&&e!==null&&e.$$typeof===n}function Ve(){{if(le.current){var e=T(le.current.type);if(e)return`
|
|
23
23
|
|
|
24
|
-
Check the render method of \``+e+"`."}return""}}function Pr(e){{if(e!==void 0){var i=e.fileName.replace(/^.*[\\\/]/,""),
|
|
24
|
+
Check the render method of \``+e+"`."}return""}}function Pr(e){{if(e!==void 0){var i=e.fileName.replace(/^.*[\\\/]/,""),a=e.lineNumber;return`
|
|
25
25
|
|
|
26
|
-
Check your code at `+i+":"+
|
|
26
|
+
Check your code at `+i+":"+a+"."}return""}}var qe={};function Or(e){{var i=Ve();if(!i){var a=typeof e=="string"?e:e.displayName||e.name;a&&(i=`
|
|
27
27
|
|
|
28
|
-
Check the top-level render call using <`+o+">.")}return i}}function qe(e,i){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var o=Or(i);if(Ve[o])return;Ve[o]=!0;var l="";e&&e._owner&&e._owner!==le.current&&(l=" It was passed a child from "+T(e._owner.type)+"."),W(e),k('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',o,l),W(null)}}function He(e,i){{if(typeof e!="object")return;if(oe(e))for(var o=0;o<e.length;o++){var l=e[o];de(l)&&qe(l,i)}else if(de(e))e._store&&(e._store.validated=!0);else if(e){var f=or(e);if(typeof f=="function"&&f!==e.entries)for(var p=f.call(e),u;!(u=p.next()).done;)de(u.value)&&qe(u.value,i)}}}function $r(e){{var i=e.type;if(i==null||typeof i=="string")return;var o;if(typeof i=="function")o=i.propTypes;else if(typeof i=="object"&&(i.$$typeof===b||i.$$typeof===w))o=i.propTypes;else return;if(o){var l=T(i);vr(o,e.props,"prop",l,e)}else if(i.PropTypes!==void 0&&!ce){ce=!0;var f=T(i);k("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",f||"Unknown")}typeof i.getDefaultProps=="function"&&!i.getDefaultProps.isReactClassApproved&&k("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Ar(e){{for(var i=Object.keys(e.props),o=0;o<i.length;o++){var l=i[o];if(l!=="children"&&l!=="key"){W(e),k("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",l),W(null);break}}e.ref!==null&&(W(e),k("Invalid attribute `ref` supplied to `React.Fragment`."),W(null))}}function Je(e,i,o,l,f,p){{var u=pr(e);if(!u){var d="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(d+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var j=Pr(f);j?d+=j:d+=Ue();var _;e===null?_="null":oe(e)?_="array":e!==void 0&&e.$$typeof===n?(_="<"+(T(e.type)||"Unknown")+" />",d=" Did you accidentally export a JSX literal instead of a component?"):_=typeof e,k("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",_,d)}var h=Ir(e,i,o,f,p);if(h==null)return h;if(u){var S=i.children;if(S!==void 0)if(l)if(oe(S)){for(var Y=0;Y<S.length;Y++)He(S[Y],e);Object.freeze&&Object.freeze(S)}else k("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else He(S,e)}return e===s?Ar(h):$r(h),h}}function Nr(e,i,o){return Je(e,i,o,!0)}function Dr(e,i,o){return Je(e,i,o,!1)}var Fr=Dr,Mr=Nr;U.Fragment=s,U.jsx=Fr,U.jsxs=Mr}()),U}process.env.NODE_ENV==="production"?re.exports=Ge():re.exports=Ke();var r=re.exports;const Xe={notice:"_notice_820sc_2",error:"_error_820sc_9",success:"_success_820sc_12",remark:"_remark_820sc_15",copy:"_copy_820sc_18","show-notice":"_show-notice_820sc_1","hide-notice":"_hide-notice_820sc_1"};let P={};function Qe(){let[t,n]=m.useState([]);return P.set=a=>{n([...t,a])},P.del=a=>{n(t.filter(s=>s.key!==a))},t.length===0?"":r.jsx("ul",{className:Xe.notice,children:t.map(a=>a.item)})}function V({data:t}){let[n,a]=m.useState("show");m.useEffect(()=>{setTimeout(function(){a("hide")},1800),setTimeout(function(){P.del(t.key)},2500)},[t.key]);let s,g;switch(t.type){case"error":s=r.jsx(A.error,{}),g="Ошибка:";break;case"success":s=r.jsx(A.success,{}),g="Информация:";break;case"copy":s=r.jsx(A.success,{}),g="Копирование:";break;case"remark":s=r.jsx(A.success,{}),g="Подсказка:";break;default:s=r.jsx(A.success,{}),g="Предупреждение:";break}return r.jsxs("li",{className:"item "+t.type,"data-status":n,children:[s,r.jsx("b",{children:g}),r.jsx("p",{children:t.text})]})}function et(t){let n=Date.now(),a={key:n,...t};P.set({item:r.jsx(V,{data:a},n),key:n})}function tt(t){let n=Date.now(),a={key:n,text:t,type:"error"};P.set({item:r.jsx(V,{data:a},n),key:n})}function rt(t){let n=Date.now(),a={key:n,text:t,type:"success"};P.set({item:r.jsx(V,{data:a},n),key:n})}function nt(t){let n=Date.now(),a={key:n,text:t,type:"remark"};P.set({item:r.jsx(V,{data:a},n),key:n})}function it(t){let n=Date.now(),a={key:n,text:t,type:"copy"};P.set({item:r.jsx(V,{data:a},n),key:n})}const A={};A.error=()=>r.jsxs("svg",{viewBox:"0 0 24 24",fill:"none",children:[r.jsx("path",{d:"M12 22C7.28595 22 4.92893 22 3.46447 20.5355C2 19.0711 2 16.714 2 12C2 7.28595 2 4.92893 3.46447 3.46447C4.92893 2 7.28595 2 12 2C16.714 2 19.0711 2 20.5355 3.46447C22 4.92893 22 7.28595 22 12C22 16.714 22 19.0711 20.5355 20.5355C19.0711 22 16.714 22 12 22Z",fill:"#bb2014"}),r.jsx("path",{d:"M8.96967 8.96967C9.26256 8.67678 9.73744 8.67678 10.0303 8.96967L12 10.9394L13.9697 8.96969C14.2626 8.6768 14.7374 8.6768 15.0303 8.96969C15.3232 9.26258 15.3232 9.73746 15.0303 10.0303L13.0607 12L15.0303 13.9697C15.3232 14.2625 15.3232 14.7374 15.0303 15.0303C14.7374 15.3232 14.2625 15.3232 13.9696 15.0303L12 13.0607L10.0304 15.0303C9.73746 15.3232 9.26258 15.3232 8.96969 15.0303C8.6768 14.7374 8.6768 14.2626 8.96969 13.9697L10.9394 12L8.96967 10.0303C8.67678 9.73744 8.67678 9.26256 8.96967 8.96967Z",fill:"#fff"})]}),A.success=()=>r.jsxs("svg",{viewBox:"0 0 24 24",fill:"none",children:[r.jsx("path",{d:"M12 22C7.28595 22 4.92893 22 3.46447 20.5355C2 19.0711 2 16.714 2 12C2 7.28595 2 4.92893 3.46447 3.46447C4.92893 2 7.28595 2 12 2C16.714 2 19.0711 2 20.5355 3.46447C22 4.92893 22 7.28595 22 12C22 16.714 22 19.0711 20.5355 20.5355C19.0711 22 16.714 22 12 22Z",fill:"#367738"}),r.jsx("path",{d:"M16.0303 8.96967C16.3232 9.26256 16.3232 9.73744 16.0303 10.0303L11.0303 15.0303C10.7374 15.3232 10.2626 15.3232 9.96967 15.0303L7.96967 13.0303C7.67678 12.7374 7.67678 12.2626 7.96967 11.9697C8.26256 11.6768 8.73744 11.6768 9.03033 11.9697L10.5 13.4393L14.9697 8.96967C15.2626 8.67678 15.7374 8.67678 16.0303 8.96967Z",fill:"#fff"})]});const at={alerts:"_alerts_1e9y0_1",menuAnimation:"_menuAnimation_1e9y0_1",menuItemAnimation:"_menuItemAnimation_1e9y0_1","--body":"_--body_1e9y0_103",allert:"_allert_1e9y0_111","--form":"_--form_1e9y0_111"};let q={};function ot(){let[t,n]=m.useState("");return q.set=a=>n(a),q.del=()=>n(""),r.jsx(r.Fragment,{children:t})}const st=({data:t,callback:n})=>(t.button=t.button===void 0?"Подтвердить":t.button,r.jsxs("div",{className:at.alerts,children:[r.jsxs("dl",{children:[r.jsx("dt",{children:t.title}),r.jsx("dd",{children:t.text}),r.jsx("ul",{children:r.jsx("button",{"data-color":t.color||"blue",onClick:()=>{n(),q.del()},children:t.button})})]}),r.jsx("div",{className:"--body",onClick:q.del})]}));function lt(t,n){q.set(r.jsx(st,{data:t,callback:n}))}function ct({children:t}){return r.jsx("div",{className:"l",children:r.jsx("ul",{children:t})})}function dt({children:t}){return r.jsx("div",{className:"s",children:t})}const xe=({children:t,disabled:n,label:a,onClick:s})=>{const g=v=>{n||s&&s(v)};return r.jsx("button",{disabled:n,onClick:g,children:a})},O={white:"_white_6ax6z_14",black:"_black_6ax6z_26",shake:"_shake_6ax6z_1",modal:"_modal_6ax6z_73",o:"_o_6ax6z_83",w:"_w_6ax6z_14",h:"_h_6ax6z_106",l:"_l_6ax6z_120",t:"_t_6ax6z_158",m:"_m_6ax6z_73",x:"_x_6ax6z_166",s:"_s_6ax6z_176",c:"_c_6ax6z_181",f:"_f_6ax6z_186",btn:"_btn_6ax6z_229",g:"_g_6ax6z_242","size-a":"_size-a_6ax6z_294","size-s":"_size-s_6ax6z_298","size-m":"_size-m_6ax6z_302","size-l":"_size-l_6ax6z_306","size-x":"_size-x_6ax6z_310","size-f":"_size-f_6ax6z_314",confirm:"_confirm_6ax6z_320",cancel:"_cancel_6ax6z_325",disabled:"_disabled_6ax6z_330",await:"_await_6ax6z_337",active:"_active_6ax6z_387",coincidence:"_coincidence_6ax6z_393"};let M={};const ut=({config:t})=>{let[n,a]=m.useState([]);return M.x=()=>{a([])},M.config=t,M.add=s=>{a([...n,s])},r.jsx(r.Fragment,{children:n.map(s=>s)})},ft=({children:t,title:n,button:a,tabs:s,size:g="m",menu:v})=>{const[D,E]=m.useState(!0),b=m.useRef(),$=w=>{if(a&&a.onClick)return a.onClick({closed:E,disabled:w})},y=()=>{b.current.setAttribute("shake",!0),setTimeout(()=>{b.current.setAttribute("shake",!1)},1e3)};return r.jsx(r.Fragment,{children:D?r.jsxs("div",{className:`${O.modal} ${O.white}`,children:[r.jsx("div",{className:O.o,onClick:y}),r.jsxs("div",{className:O.w,ref:b,children:[r.jsxs("div",{className:O.h,children:[r.jsx("div",{className:O.t,children:n}),r.jsxs("div",{className:O.m,children:[s&&r.jsx("nav",{children:s.map((w,R)=>r.jsx("span",{onClick:w.onClick,className:w.active?"active":"",children:w.name},R))}),v]}),r.jsx("div",{className:O.x,onClick:()=>{E(!1)},children:"x"})]}),t,a!==void 0?r.jsx(xe,{label:String(a.name),onClick:$}):""]})]}):""})},pt=t=>{M.add(r.jsx(xt,{children:t},String(Date.now())))},xt=({children:t})=>r.jsx(r.Fragment,{children:t}),_e={List:ct,Scroll:dt,Init:ut,Main:ft,Add:pt,Icon:({type:t,name:n,params:a})=>{let[s,g]=m.useState(null);return m.useEffect(()=>{M.config(t,n,a,g)},[a.id]),r.jsx(r.Fragment,{children:s})},Open:(t,n,a)=>{M.config(t,n,a)}};let C={};const c={},z={},ge={};function _t(t,n){if(C=t,localStorage.getItem("ssid")){let s=sessionStorage.getItem("page");s?(s=C.deCode(s),c.id=s.id,c.tab=s.tab,c.page=s.page,c.module=s.module,c.time=s.time,c.payment={active:!0},c.module_admin=s.module_admin):(c.id=0,c.tab="",c.page="Main",c.module=c.module||"M05")}else["ssid","menu","temp","user","sett","qder","firm","last","auth","port","mark","sort"].forEach(s=>localStorage.removeItem(s)),["page"].forEach(s=>sessionStorage.removeItem(s)),c.id=0,c.tab="",c.page="Auth",c.module="M00";return n}function Z(){["ssid","menu","temp","user","sett","qder","firm","last","auth","port","mark","sort"].forEach(t=>localStorage.removeItem(t)),["page"].forEach(t=>sessionStorage.removeItem(t)),window.location.reload()}function gt(t){t=t.split("/"),c.page="Main",c.module=t[0],c.tab=t[1],c.id=0,sessionStorage.setItem("page",C.enCode({module:c.module,page:c.page,tab:c.tab,id:c.id,time:new Date().getTime()})),z.page(c.page)}function ht(t){return localStorage.setItem("ssid",t)}function mt(){let t=localStorage.getItem("ssid");return t!==""&&t!=="undefined"&&t!==null?localStorage.getItem("ssid"):(Z(),!1)}function bt(t){return localStorage.setItem("auth",t)}function vt(){let t=localStorage.getItem("auth");return t!==""&&t!=="undefined"&&t!==null?t:(Z(),!1)}function yt(){const[t,n]=m.useState(he()),a=s=>{n(s)};return z.page=a,[t]}function wt(t){c.page=t,sessionStorage.setItem("page",C.enCode(c)),z.page(t)}function he(){return c.page}function kt(t){z.module=t}function jt(t,n){c.module=t,sessionStorage.setItem("page",C.enCode(c)),n!=="false"&&z.module(t)}function zt(){return c.module}function St(t){z.tabs=t}function Ct(t,n){c.tab=t,sessionStorage.setItem("page",C.enCode(c)),n!=="false"&&z.tabs(t)}function Et(){return c.tab}function Rt(){const[t,n]=m.useState(c.id),a=s=>{n(s)};return z.id=a,[t]}function Tt(t){z.id=t}function It(t,n){c.id=t,sessionStorage.setItem("page",C.enCode(c)),n!=="false"&&z.id(t)}function Pt(){return c.id}function Ot(t,n,a){c.module=t,c.id=a,c.tab=n,sessionStorage.setItem("page",C.enCode(c)),z.module(t),z.tabs(n)}function $t(t,n){ge.data[t]=n,localStorage.setItem("sett",C.enCode(ge.data))}function At(t){let n=localStorage.getItem("sett");return n===null?{}:(n=C.deCode(n),n?t!==void 0?n[t]:n:Z())}const me=({children:t,config:n,crypto:a,...s})=>_t(a,r.jsxs(r.Fragment,{children:[r.jsx(_e.Init,{config:n.modal}),r.jsx(Qe,{}),r.jsx(ot,{}),t]})),Nt=({children:t,...n})=>r.jsx("menu",{children:t}),Dt=({children:t,...n})=>r.jsxs("header",{children:["xz",t]}),Ft={payment:"_payment_1lxfv_1"};function Mt(){let[t,n]=m.useState({});return!t.active&&!t.payment?"":r.jsx("div",{className:Ft.payment,children:"Истек срок оплаты! Доступ доступен до 16.04.2024"})}const Lt=({children:t,...n})=>{let a={};return a.enCode=s=>JSON.stringify(s).toString(),a.deCode=s=>JSON.parse(s),r.jsxs("div",{className:"app",children:[r.jsx(Mt,{}),r.jsx(Nt,{}),r.jsx(Dt,{}),r.jsx(me,{config:{modal:{}},crypto:a}),t]})},be=({list:t,onClick:n,active:a,size:s,view:g})=>r.jsx("nav",{children:r.jsx("ul",{className:[s,g].join(" "),children:t.map(v=>r.jsx(Wt,{onClick:n,active:a,label:v.label,link:v.link},v.link))})}),Wt=({onClick:t,label:n,link:a,active:s})=>r.jsx("li",{"tabs-active":String(s===a),onClick:()=>t(a),children:n});be.defaultProps={size:"M",view:"H"};const Yt=({title:t="",button:n,description:a="",children:s})=>r.jsxs("fieldset",{children:[t&&r.jsxs("legend",{children:[t,n&&r.jsx("div",{role:"button-outline",onClick:()=>n.onClick(),children:n.label})," "]}),r.jsx("ul",{children:s}),a&&r.jsx("article",{children:a})]}),Bt={setting:"_setting_1r0pc_2"},Ut=({children:t})=>r.jsx("div",{className:Bt.setting,children:t}),Vt=({label:t,children:n})=>{let[a,s]=m.useState(!1);return r.jsxs("li",{"data-item":"accordion",children:[r.jsxs("dl",{onClick:()=>s(!a),children:[r.jsx("dt",{children:t}),r.jsx("dd",{children:r.jsx("div",{"data-close":String(a)})})]}),a&&r.jsx("div",{children:n})]})},qt=({label:t,onClick:n,button:a})=>r.jsx("li",{children:r.jsxs("dl",{children:[r.jsx("dt",{children:t}),r.jsx("dd",{role:"button",onClick:()=>n(),children:a})]})}),ve={Switch:({active:t,onClick:n})=>(console.log(t),t=typeof t=="number"?!!t:t,r.jsx("div",{role:"switch",onClick:()=>{console.log("Wewew"),n()},"aria-checked":t?"true":"false"}))},Ht={Accordion:Vt,Button:qt,Switch:({label:t,onClick:n,active:a})=>r.jsx("li",{children:r.jsxs("dl",{children:[r.jsx("dt",{children:t}),r.jsx("dd",{children:r.jsx(ve.Switch,{onClick:n,active:a})})]})}),Info:({label:t,info:n})=>r.jsx("li",{children:r.jsxs("dl",{children:[r.jsx("dt",{children:t}),r.jsx("dd",{role:"info",children:n})]})}),Select:({label:t,active:n,options:a})=>r.jsx("li",{children:r.jsxs("dl",{children:[r.jsx("dt",{children:t}),r.jsx("dd",{role:"info",children:n})]})}),Component:({label:t,children:n})=>r.jsx("li",{children:r.jsxs("dl",{children:[r.jsx("dt",{children:t}),r.jsx("dd",{children:n})]})}),Node:({label:t,children:n})=>r.jsx("li",{children:r.jsxs("dl",{children:[r.jsx("dt",{children:t}),r.jsx("dd",{children:n})]})})};function ye({list:t,onClick:n,active:a,size:s,view:g}){return r.jsx("nav",{children:r.jsx("ul",{className:[s,g].join(" "),children:t.map(v=>r.jsx(Jt,{onClick:n,active:a,label:v.label,link:v.link},v.link))})})}const Jt=({onClick:t,label:n,link:a,active:s})=>r.jsx("li",{"tabs-active":String(s===a),onClick:()=>t(a),children:n});ye.defaultProps={size:"M",view:"H"};const Zt={Section:Yt,Main:Ut,Item:Ht,Tabs:ye},N={h:"_h_1b5x7_1",t:"_t_1b5x7_10",s:"_s_1b5x7_28",u:"_u_1b5x7_37",o:"_o_1b5x7_44",l:"_l_1b5x7_53",hh:"_hh_1b5x7_60"},we=({title:t,children:n})=>r.jsxs("div",{className:N.h,children:[r.jsx("div",{className:N.t,children:t}),n]}),Gt=({children:t,title:n})=>r.jsxs("div",{className:N.o,children:[n&&r.jsx("div",{className:N.hh,children:n}),t]}),Kt=({children:t})=>r.jsx("div",{className:N.u,children:t}),ke=({children:t})=>r.jsx("div",{className:N.s,children:t}),je=({children:t,...n})=>r.jsx("div",{className:N.l,children:t}),Xt={Header:we,Section:ke,List:je,U:Kt,L:je,O:Gt,S:ke,H:we},Qt={Send:et,Error:tt,Remark:nt,Success:rt,Copy:it},er={Send:lt};function tr(){return r.jsx("svg",{viewBox:"0 0 462.86 359.96",children:r.jsx("path",{d:"M210.5,307.78c-27,35.41-58.14,58-120.55,50.84-1-.12-1.58-.39-1.58-2V327.87c0-1.32.51-2.12,1.85-2,100.39-1,88.17-63.46,74.8-90.94-47.3-97.28-14.46-166.27,20.26-205.14,14.1-16.37,50.53-42,128.07-23.24,9.1,2,30.51,7.8,24.46,11.38C317.5,30,297.66,68.33,295,73.12c-3.62,6.59-6.26,13.17-4.57,14.13,2.37,1.35,3.5-1.56,6.58-7.91C319.78,34.41,366-22.76,402.78,37.68a1.14,1.14,0,0,1,.09.26c9.3,56.05,30.57,228.62-97.76,224.22-23.38-2-28.82-22-32.57-18.89-3.36,3,10,21.4,32.76,23.19C448.18,270.75,411.55,66.74,407.79,41.91a1.41,1.41,0,0,1,0-.3c2-7.32,129.15,17.47,112.77,158.08,4.82,6.57,10.89,10,18.7,16.08l.13.07c8.9,3.67,10.46,12.06,11.43,18.88a63.15,63.15,0,0,1-.14,15.49c-10.48-4.62-22.74-10.11-22.26-22.53.43-12,7.35-5.21-8.8-14.22a.69.69,0,0,0-1,.57c-.33,3.87-2.7,14.69-3,16.59v0c-4.64,17-16.59,86-18.41,99.58-.77,5.7-4.94,10.41-11.4,10.39l-56.71.18c-7.73.22-9.57-7.9-10.27-11.89-2.7-15.31-4.08-29.7-4.18-29.67-20.24,9.26-108.69,3.08-108.69,3.27V330c-.29,7.56-4.51,15.26-11.74,15.32l-52.87,1c-10.36.1-13.85-1.67-15.5-11.87-2.08-13.08-1-34.26-5.32-37.43-2,1.84-8.33,8.11-10,10.83M196.16,203q9.57,0,11.42-7.72c2.18-9.07-5.66-17.7-14.77-15.68-4.95,1.11-7.53,4.94-7.53,11.53C185.28,199,188.94,203,196.16,203Z",transform:"translate(-88.37 0)"})})}const rr={Logo:tr},nr={setSSID:ht,getSSID:mt,Logaut:Z,setAUTH:bt,getAUTH:vt,Start:gt,setSetting:$t,getSetting:At},ir={Path:Ot,setPage:wt,getPage:he,usePage:yt,setModule:jt,getModule:zt,useModule:kt,setTabs:Ct,getTabs:Et,useTabs:St,useId:Rt,setId:It,subId:Tt,getId:Pt};x.Action=ve,x.Alert=er,x.Browser=Lt,x.Button=xe,x.Component=Xt,x.Icon=rr,x.Init=me,x.Modal=_e,x.Notice=Qt,x.Router=ir,x.Setting=Zt,x.Store=nr,x.Tabs=be,Object.defineProperty(x,Symbol.toStringTag,{value:"Module"})});
|
|
28
|
+
Check the top-level render call using <`+a+">.")}return i}}function He(e,i){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var a=Or(i);if(qe[a])return;qe[a]=!0;var l="";e&&e._owner&&e._owner!==le.current&&(l=" It was passed a child from "+T(e._owner.type)+"."),W(e),k('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',a,l),W(null)}}function Je(e,i){{if(typeof e!="object")return;if(ae(e))for(var a=0;a<e.length;a++){var l=e[a];de(l)&&He(l,i)}else if(de(e))e._store&&(e._store.validated=!0);else if(e){var f=ar(e);if(typeof f=="function"&&f!==e.entries)for(var p=f.call(e),u;!(u=p.next()).done;)de(u.value)&&He(u.value,i)}}}function $r(e){{var i=e.type;if(i==null||typeof i=="string")return;var a;if(typeof i=="function")a=i.propTypes;else if(typeof i=="object"&&(i.$$typeof===b||i.$$typeof===w))a=i.propTypes;else return;if(a){var l=T(i);vr(a,e.props,"prop",l,e)}else if(i.PropTypes!==void 0&&!ce){ce=!0;var f=T(i);k("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",f||"Unknown")}typeof i.getDefaultProps=="function"&&!i.getDefaultProps.isReactClassApproved&&k("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Ar(e){{for(var i=Object.keys(e.props),a=0;a<i.length;a++){var l=i[a];if(l!=="children"&&l!=="key"){W(e),k("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",l),W(null);break}}e.ref!==null&&(W(e),k("Invalid attribute `ref` supplied to `React.Fragment`."),W(null))}}function Ze(e,i,a,l,f,p){{var u=pr(e);if(!u){var d="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(d+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var j=Pr(f);j?d+=j:d+=Ve();var _;e===null?_="null":ae(e)?_="array":e!==void 0&&e.$$typeof===n?(_="<"+(T(e.type)||"Unknown")+" />",d=" Did you accidentally export a JSX literal instead of a component?"):_=typeof e,k("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",_,d)}var m=Ir(e,i,a,f,p);if(m==null)return m;if(u){var S=i.children;if(S!==void 0)if(l)if(ae(S)){for(var Y=0;Y<S.length;Y++)Je(S[Y],e);Object.freeze&&Object.freeze(S)}else k("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else Je(S,e)}return e===s?Ar(m):$r(m),m}}function Nr(e,i,a){return Ze(e,i,a,!0)}function Dr(e,i,a){return Ze(e,i,a,!1)}var Mr=Dr,Fr=Nr;U.Fragment=s,U.jsx=Mr,U.jsxs=Fr}()),U}process.env.NODE_ENV==="production"?re.exports=Ke():re.exports=Xe();var r=re.exports;const Qe={notice:"_notice_820sc_2",error:"_error_820sc_9",success:"_success_820sc_12",remark:"_remark_820sc_15",copy:"_copy_820sc_18","show-notice":"_show-notice_820sc_1","hide-notice":"_hide-notice_820sc_1"};let P={};function et(){let[t,n]=g.useState([]);return P.set=o=>{n([...t,o])},P.del=o=>{n(t.filter(s=>s.key!==o))},t.length===0?"":r.jsx("ul",{className:Qe.notice,children:t.map(o=>o.item)})}function V({data:t}){let[n,o]=g.useState("show");g.useEffect(()=>{setTimeout(function(){o("hide")},1800),setTimeout(function(){P.del(t.key)},2500)},[t.key]);let s,h;switch(t.type){case"error":s=r.jsx(A.error,{}),h="Ошибка:";break;case"success":s=r.jsx(A.success,{}),h="Информация:";break;case"copy":s=r.jsx(A.success,{}),h="Копирование:";break;case"remark":s=r.jsx(A.success,{}),h="Подсказка:";break;default:s=r.jsx(A.success,{}),h="Предупреждение:";break}return r.jsxs("li",{className:"item "+t.type,"data-status":n,children:[s,r.jsx("b",{children:h}),r.jsx("p",{children:t.text})]})}function tt(t){let n=Date.now(),o={key:n,...t};P.set({item:r.jsx(V,{data:o},n),key:n})}function rt(t){let n=Date.now(),o={key:n,text:t,type:"error"};P.set({item:r.jsx(V,{data:o},n),key:n})}function nt(t){let n=Date.now(),o={key:n,text:t,type:"success"};P.set({item:r.jsx(V,{data:o},n),key:n})}function it(t){let n=Date.now(),o={key:n,text:t,type:"remark"};P.set({item:r.jsx(V,{data:o},n),key:n})}function ot(t){let n=Date.now(),o={key:n,text:t,type:"copy"};P.set({item:r.jsx(V,{data:o},n),key:n})}const A={};A.error=()=>r.jsxs("svg",{viewBox:"0 0 24 24",fill:"none",children:[r.jsx("path",{d:"M12 22C7.28595 22 4.92893 22 3.46447 20.5355C2 19.0711 2 16.714 2 12C2 7.28595 2 4.92893 3.46447 3.46447C4.92893 2 7.28595 2 12 2C16.714 2 19.0711 2 20.5355 3.46447C22 4.92893 22 7.28595 22 12C22 16.714 22 19.0711 20.5355 20.5355C19.0711 22 16.714 22 12 22Z",fill:"#bb2014"}),r.jsx("path",{d:"M8.96967 8.96967C9.26256 8.67678 9.73744 8.67678 10.0303 8.96967L12 10.9394L13.9697 8.96969C14.2626 8.6768 14.7374 8.6768 15.0303 8.96969C15.3232 9.26258 15.3232 9.73746 15.0303 10.0303L13.0607 12L15.0303 13.9697C15.3232 14.2625 15.3232 14.7374 15.0303 15.0303C14.7374 15.3232 14.2625 15.3232 13.9696 15.0303L12 13.0607L10.0304 15.0303C9.73746 15.3232 9.26258 15.3232 8.96969 15.0303C8.6768 14.7374 8.6768 14.2626 8.96969 13.9697L10.9394 12L8.96967 10.0303C8.67678 9.73744 8.67678 9.26256 8.96967 8.96967Z",fill:"#fff"})]}),A.success=()=>r.jsxs("svg",{viewBox:"0 0 24 24",fill:"none",children:[r.jsx("path",{d:"M12 22C7.28595 22 4.92893 22 3.46447 20.5355C2 19.0711 2 16.714 2 12C2 7.28595 2 4.92893 3.46447 3.46447C4.92893 2 7.28595 2 12 2C16.714 2 19.0711 2 20.5355 3.46447C22 4.92893 22 7.28595 22 12C22 16.714 22 19.0711 20.5355 20.5355C19.0711 22 16.714 22 12 22Z",fill:"#367738"}),r.jsx("path",{d:"M16.0303 8.96967C16.3232 9.26256 16.3232 9.73744 16.0303 10.0303L11.0303 15.0303C10.7374 15.3232 10.2626 15.3232 9.96967 15.0303L7.96967 13.0303C7.67678 12.7374 7.67678 12.2626 7.96967 11.9697C8.26256 11.6768 8.73744 11.6768 9.03033 11.9697L10.5 13.4393L14.9697 8.96967C15.2626 8.67678 15.7374 8.67678 16.0303 8.96967Z",fill:"#fff"})]});const at={alerts:"_alerts_1e9y0_1",menuAnimation:"_menuAnimation_1e9y0_1",menuItemAnimation:"_menuItemAnimation_1e9y0_1","--body":"_--body_1e9y0_103",allert:"_allert_1e9y0_111","--form":"_--form_1e9y0_111"};let q={};function st(){let[t,n]=g.useState("");return q.set=o=>n(o),q.del=()=>n(""),r.jsx(r.Fragment,{children:t})}const lt=({data:t,callback:n})=>(t.button=t.button===void 0?"Подтвердить":t.button,r.jsxs("div",{className:at.alerts,children:[r.jsxs("dl",{children:[r.jsx("dt",{children:t.title}),r.jsx("dd",{children:t.text}),r.jsx("ul",{children:r.jsx("button",{"data-color":t.color||"blue",onClick:()=>{n(),q.del()},children:t.button})})]}),r.jsx("div",{className:"--body",onClick:q.del})]}));function ct(t,n){q.set(r.jsx(lt,{data:t,callback:n}))}function dt({children:t}){return r.jsx("div",{className:"l",children:r.jsx("ul",{children:t})})}function ut({children:t}){return r.jsx("div",{className:"s",children:t})}const xe=({children:t,disabled:n,label:o,onClick:s})=>{const h=v=>{n||s&&s(v)};return r.jsx("button",{disabled:n,onClick:h,children:o})},O={white:"_white_6ax6z_14",black:"_black_6ax6z_26",shake:"_shake_6ax6z_1",modal:"_modal_6ax6z_73",o:"_o_6ax6z_83",w:"_w_6ax6z_14",h:"_h_6ax6z_106",l:"_l_6ax6z_120",t:"_t_6ax6z_158",m:"_m_6ax6z_73",x:"_x_6ax6z_166",s:"_s_6ax6z_176",c:"_c_6ax6z_181",f:"_f_6ax6z_186",btn:"_btn_6ax6z_229",g:"_g_6ax6z_242","size-a":"_size-a_6ax6z_294","size-s":"_size-s_6ax6z_298","size-m":"_size-m_6ax6z_302","size-l":"_size-l_6ax6z_306","size-x":"_size-x_6ax6z_310","size-f":"_size-f_6ax6z_314",confirm:"_confirm_6ax6z_320",cancel:"_cancel_6ax6z_325",disabled:"_disabled_6ax6z_330",await:"_await_6ax6z_337",active:"_active_6ax6z_387",coincidence:"_coincidence_6ax6z_393"};let F={};const ft=({config:t})=>{let[n,o]=g.useState([]);return F.x=()=>{o([])},F.config=t,F.add=s=>{o([...n,s])},r.jsx(r.Fragment,{children:n.map(s=>s)})},pt=({children:t,title:n,button:o,tabs:s,size:h="m",menu:v})=>{const[D,E]=g.useState(!0),b=g.useRef(),$=w=>{if(o&&o.onClick)return o.onClick({closed:E,disabled:w})},y=()=>{b.current.setAttribute("shake",!0),setTimeout(()=>{b.current.setAttribute("shake",!1)},1e3)};return r.jsx(r.Fragment,{children:D?r.jsxs("div",{className:`${O.modal} ${O.white}`,children:[r.jsx("div",{className:O.o,onClick:y}),r.jsxs("div",{className:O.w,ref:b,children:[r.jsxs("div",{className:O.h,children:[r.jsx("div",{className:O.t,children:n}),r.jsxs("div",{className:O.m,children:[s&&r.jsx("nav",{children:s.map((w,R)=>r.jsx("span",{onClick:w.onClick,className:w.active?"active":"",children:w.name},R))}),v]}),r.jsx("div",{className:O.x,onClick:()=>{E(!1)},children:"x"})]}),t,o!==void 0?r.jsx(xe,{label:String(o.name),onClick:$}):""]})]}):""})},xt=t=>{F.add(r.jsx(_t,{children:t},String(Date.now())))},_t=({children:t})=>r.jsx(r.Fragment,{children:t}),_e={List:dt,Scroll:ut,Init:ft,Main:pt,Add:xt,Icon:({type:t,name:n,params:o})=>{let[s,h]=g.useState(null);return g.useEffect(()=>{F.config(t,n,o,h)},[o.id]),r.jsx(r.Fragment,{children:s})},Open:(t,n,o)=>{F.config(t,n,o)}};let C={};const c={},z={},ge={};function gt(t,n){if(C=t,localStorage.getItem("ssid")){let s=sessionStorage.getItem("page");s?(s=C.deCode(s),c.id=s.id,c.tab=s.tab,c.page=s.page,c.module=s.module,c.time=s.time,c.payment={active:!0},c.module_admin=s.module_admin):(c.id=0,c.tab="",c.page="Main",c.module=c.module||"M05")}else["ssid","menu","temp","user","sett","qder","firm","last","auth","port","mark","sort"].forEach(s=>localStorage.removeItem(s)),["page"].forEach(s=>sessionStorage.removeItem(s)),c.id=0,c.tab="",c.page="Auth",c.module="M00";return n}function Z(){["ssid","menu","temp","user","sett","qder","firm","last","auth","port","mark","sort"].forEach(t=>localStorage.removeItem(t)),["page"].forEach(t=>sessionStorage.removeItem(t)),window.location.reload()}function ht(t){t=t.split("/"),c.page="Main",c.module=t[0],c.tab=t[1],c.id=0,sessionStorage.setItem("page",C.enCode({module:c.module,page:c.page,tab:c.tab,id:c.id,time:new Date().getTime()})),z.page(c.page)}function mt(t){return localStorage.setItem("ssid",t)}function bt(){let t=localStorage.getItem("ssid");return t!==""&&t!=="undefined"&&t!==null?localStorage.getItem("ssid"):(Z(),!1)}function vt(t){return localStorage.setItem("auth",t)}function yt(){let t=localStorage.getItem("auth");return t!==""&&t!=="undefined"&&t!==null?t:(Z(),!1)}function wt(){const[t,n]=g.useState(he()),o=s=>{n(s)};return z.page=o,[t]}function kt(t){c.page=t,sessionStorage.setItem("page",C.enCode(c)),z.page(t)}function he(){return c.page}function jt(){const[t,n]=g.useState(me()),o=s=>{n(s)};return z.module=o,[t]}function zt(t,n){c.module=t,sessionStorage.setItem("page",C.enCode(c)),n!=="false"&&z.module(t)}function me(){return c.module}function St(t){z.tabs=t}function Ct(t,n){c.tab=t,sessionStorage.setItem("page",C.enCode(c)),n!=="false"&&z.tabs(t)}function Et(){return c.tab}function Rt(){const[t,n]=g.useState(c.id),o=s=>{n(s)};return z.id=o,[t]}function Tt(t){z.id=t}function It(t,n){c.id=t,sessionStorage.setItem("page",C.enCode(c)),n!=="false"&&z.id(t)}function Pt(){return c.id}function Ot(t,n,o){c.module=t,c.id=o,c.tab=n,sessionStorage.setItem("page",C.enCode(c)),z.module(t),z.tabs(n)}function $t(t,n){ge.data[t]=n,localStorage.setItem("sett",C.enCode(ge.data))}function At(t){let n=localStorage.getItem("sett");return n===null?{}:(n=C.deCode(n),n?t!==void 0?n[t]:n:Z())}const be=({children:t,config:n,crypto:o,...s})=>gt(o,r.jsxs(r.Fragment,{children:[r.jsx(_e.Init,{config:n.modal}),r.jsx(et,{}),r.jsx(st,{}),t]})),Nt=({children:t,...n})=>r.jsx("menu",{children:t}),Dt=({children:t,...n})=>r.jsxs("header",{children:["xz",t]}),Mt={payment:"_payment_1lxfv_1"};function Ft(){let[t,n]=g.useState({});return!t.active&&!t.payment?"":r.jsx("div",{className:Mt.payment,children:"Истек срок оплаты! Доступ доступен до 16.04.2024"})}const Lt=({children:t,...n})=>{let o={};return o.enCode=s=>JSON.stringify(s).toString(),o.deCode=s=>JSON.parse(s),r.jsxs("div",{className:"app",children:[r.jsx(Ft,{}),r.jsx(Nt,{}),r.jsx(Dt,{}),r.jsx(be,{config:{modal:{}},crypto:o}),t]})},ve=({list:t,onClick:n,active:o,size:s,view:h})=>r.jsx("nav",{children:r.jsx("ul",{className:[s,h].join(" "),children:t.map(v=>r.jsx(Wt,{onClick:n,active:o,label:v.label,link:v.link},v.link))})}),Wt=({onClick:t,label:n,link:o,active:s})=>r.jsx("li",{"tabs-active":String(s===o),onClick:()=>t(o),children:n});ve.defaultProps={size:"M",view:"H"};const Yt=({title:t="",button:n,description:o="",children:s})=>r.jsxs("fieldset",{children:[t&&r.jsxs("legend",{children:[t,n&&r.jsx("div",{role:"button-outline",onClick:()=>n.onClick(),children:n.label})," "]}),r.jsx("ul",{children:s}),o&&r.jsx("article",{children:o})]}),Bt={setting:"_setting_1r0pc_2"},Ut=({children:t})=>r.jsx("div",{className:Bt.setting,children:t}),Vt=({label:t,children:n})=>{let[o,s]=g.useState(!1);return r.jsxs("li",{"data-item":"accordion",children:[r.jsxs("dl",{onClick:()=>s(!o),children:[r.jsx("dt",{children:t}),r.jsx("dd",{children:r.jsx("div",{"data-close":String(o)})})]}),o&&r.jsx("div",{children:n})]})},qt=({label:t,onClick:n,button:o})=>r.jsx("li",{children:r.jsxs("dl",{children:[r.jsx("dt",{children:t}),r.jsx("dd",{role:"button",onClick:()=>n(),children:o})]})}),ye={Switch:({active:t,onClick:n})=>(console.log(t),t=typeof t=="number"?!!t:t,r.jsx("div",{role:"switch",onClick:()=>{console.log("Wewew"),n()},"aria-checked":t?"true":"false"}))},Ht={Accordion:Vt,Button:qt,Switch:({label:t,onClick:n,active:o})=>r.jsx("li",{children:r.jsxs("dl",{children:[r.jsx("dt",{children:t}),r.jsx("dd",{children:r.jsx(ye.Switch,{onClick:n,active:o})})]})}),Info:({label:t,info:n})=>r.jsx("li",{children:r.jsxs("dl",{children:[r.jsx("dt",{children:t}),r.jsx("dd",{role:"info",children:n})]})}),Select:({label:t,active:n,options:o})=>r.jsx("li",{children:r.jsxs("dl",{children:[r.jsx("dt",{children:t}),r.jsx("dd",{role:"info",children:n})]})}),Component:({label:t,children:n})=>r.jsx("li",{children:r.jsxs("dl",{children:[r.jsx("dt",{children:t}),r.jsx("dd",{children:n})]})}),Node:({label:t,children:n})=>r.jsx("li",{children:r.jsxs("dl",{children:[r.jsx("dt",{children:t}),r.jsx("dd",{children:n})]})})};function we({list:t,onClick:n,active:o,size:s,view:h}){return r.jsx("nav",{children:r.jsx("ul",{className:[s,h].join(" "),children:t.map(v=>r.jsx(Jt,{onClick:n,active:o,label:v.label,link:v.link},v.link))})})}const Jt=({onClick:t,label:n,link:o,active:s})=>r.jsx("li",{"tabs-active":String(s===o),onClick:()=>t(o),children:n});we.defaultProps={size:"M",view:"H"};const Zt={Section:Yt,Main:Ut,Item:Ht,Tabs:we},N={h:"_h_1b5x7_1",t:"_t_1b5x7_10",s:"_s_1b5x7_28",u:"_u_1b5x7_37",o:"_o_1b5x7_44",l:"_l_1b5x7_53",hh:"_hh_1b5x7_60"},ke=({title:t,children:n})=>r.jsxs("div",{className:N.h,children:[r.jsx("div",{className:N.t,children:t}),n]}),Gt=({children:t,title:n})=>r.jsxs("div",{className:N.o,children:[n&&r.jsx("div",{className:N.hh,children:n}),t]}),Kt=({children:t})=>r.jsx("div",{className:N.u,children:t}),je=({children:t})=>r.jsx("div",{className:N.s,children:t}),ze=({children:t,...n})=>r.jsx("div",{className:N.l,children:t}),Xt={Header:ke,Section:je,List:ze,U:Kt,L:ze,O:Gt,S:je,H:ke},Qt={Send:tt,Error:rt,Remark:it,Success:nt,Copy:ot},er={Send:ct};function tr(){return r.jsx("svg",{viewBox:"0 0 462.86 359.96",children:r.jsx("path",{d:"M210.5,307.78c-27,35.41-58.14,58-120.55,50.84-1-.12-1.58-.39-1.58-2V327.87c0-1.32.51-2.12,1.85-2,100.39-1,88.17-63.46,74.8-90.94-47.3-97.28-14.46-166.27,20.26-205.14,14.1-16.37,50.53-42,128.07-23.24,9.1,2,30.51,7.8,24.46,11.38C317.5,30,297.66,68.33,295,73.12c-3.62,6.59-6.26,13.17-4.57,14.13,2.37,1.35,3.5-1.56,6.58-7.91C319.78,34.41,366-22.76,402.78,37.68a1.14,1.14,0,0,1,.09.26c9.3,56.05,30.57,228.62-97.76,224.22-23.38-2-28.82-22-32.57-18.89-3.36,3,10,21.4,32.76,23.19C448.18,270.75,411.55,66.74,407.79,41.91a1.41,1.41,0,0,1,0-.3c2-7.32,129.15,17.47,112.77,158.08,4.82,6.57,10.89,10,18.7,16.08l.13.07c8.9,3.67,10.46,12.06,11.43,18.88a63.15,63.15,0,0,1-.14,15.49c-10.48-4.62-22.74-10.11-22.26-22.53.43-12,7.35-5.21-8.8-14.22a.69.69,0,0,0-1,.57c-.33,3.87-2.7,14.69-3,16.59v0c-4.64,17-16.59,86-18.41,99.58-.77,5.7-4.94,10.41-11.4,10.39l-56.71.18c-7.73.22-9.57-7.9-10.27-11.89-2.7-15.31-4.08-29.7-4.18-29.67-20.24,9.26-108.69,3.08-108.69,3.27V330c-.29,7.56-4.51,15.26-11.74,15.32l-52.87,1c-10.36.1-13.85-1.67-15.5-11.87-2.08-13.08-1-34.26-5.32-37.43-2,1.84-8.33,8.11-10,10.83M196.16,203q9.57,0,11.42-7.72c2.18-9.07-5.66-17.7-14.77-15.68-4.95,1.11-7.53,4.94-7.53,11.53C185.28,199,188.94,203,196.16,203Z",transform:"translate(-88.37 0)"})})}const rr={Logo:tr},nr={setSSID:mt,getSSID:bt,Logaut:Z,setAUTH:vt,getAUTH:yt,Start:ht,setSetting:$t,getSetting:At},ir={Path:Ot,setPage:kt,getPage:he,usePage:wt,setModule:zt,getModule:me,useModule:jt,setTabs:Ct,getTabs:Et,useTabs:St,useId:Rt,setId:It,subId:Tt,getId:Pt};x.Action=ye,x.Alert=er,x.Browser=Lt,x.Button=xe,x.Component=Xt,x.Icon=rr,x.Init=be,x.Modal=_e,x.Notice=Qt,x.Router=ir,x.Setting=Zt,x.Store=nr,x.Tabs=ve,Object.defineProperty(x,Symbol.toStringTag,{value:"Module"})});
|
|
@@ -17,7 +17,7 @@ export declare function getPORT(): any;
|
|
|
17
17
|
export declare function usePage(): any[];
|
|
18
18
|
export declare function setPage(o: string): void;
|
|
19
19
|
export declare function getPage(): any;
|
|
20
|
-
export declare function useModule(
|
|
20
|
+
export declare function useModule(): any[];
|
|
21
21
|
export declare function setModule(module: string, reload: string): void;
|
|
22
22
|
export declare function getModule(): any;
|
|
23
23
|
export declare function useTabs(tabs: string): void;
|