elcrm 0.1.7 → 0.1.8
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 +373 -337
- package/dist/index.umd.js +8 -8
- package/dist/lib/Form/Input.d.ts +17 -0
- package/dist/lib/Form/index.d.ts +2 -0
- package/dist/lib/Form/onEvent.d.ts +2 -0
- package/dist/lib/Icon/Logo.d.ts +1 -0
- package/dist/lib/Icon/index.d.ts +6 -0
- package/dist/lib/Init/Init.d.ts +6 -1
- package/dist/lib/Store/Store.d.ts +9 -0
- package/dist/lib/index.d.ts +1 -0
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import './index.css';
|
|
2
|
-
import
|
|
2
|
+
import y from "react";
|
|
3
3
|
var ae = { exports: {} }, W = {};
|
|
4
4
|
/**
|
|
5
5
|
* @license React
|
|
@@ -10,23 +10,23 @@ var ae = { exports: {} }, W = {};
|
|
|
10
10
|
* This source code is licensed under the MIT license found in the
|
|
11
11
|
* LICENSE file in the root directory of this source tree.
|
|
12
12
|
*/
|
|
13
|
-
var
|
|
14
|
-
function
|
|
15
|
-
if (
|
|
13
|
+
var Pe;
|
|
14
|
+
function jr() {
|
|
15
|
+
if (Pe)
|
|
16
16
|
return W;
|
|
17
|
-
|
|
18
|
-
var t =
|
|
19
|
-
function
|
|
20
|
-
var p, j = {}, R = null,
|
|
21
|
-
|
|
17
|
+
Pe = 1;
|
|
18
|
+
var t = y, s = Symbol.for("react.element"), a = Symbol.for("react.fragment"), c = Object.prototype.hasOwnProperty, v = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, m = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
19
|
+
function P(E, x, w) {
|
|
20
|
+
var p, j = {}, R = null, U = null;
|
|
21
|
+
w !== void 0 && (R = "" + w), x.key !== void 0 && (R = "" + x.key), x.ref !== void 0 && (U = x.ref);
|
|
22
22
|
for (p in x)
|
|
23
23
|
c.call(x, p) && !m.hasOwnProperty(p) && (j[p] = x[p]);
|
|
24
|
-
if (
|
|
25
|
-
for (p in x =
|
|
24
|
+
if (E && E.defaultProps)
|
|
25
|
+
for (p in x = E.defaultProps, x)
|
|
26
26
|
j[p] === void 0 && (j[p] = x[p]);
|
|
27
|
-
return { $$typeof: s, type:
|
|
27
|
+
return { $$typeof: s, type: E, key: R, ref: U, props: j, _owner: v.current };
|
|
28
28
|
}
|
|
29
|
-
return W.Fragment =
|
|
29
|
+
return W.Fragment = a, W.jsx = P, W.jsxs = P, W;
|
|
30
30
|
}
|
|
31
31
|
var Y = {};
|
|
32
32
|
/**
|
|
@@ -39,53 +39,53 @@ var Y = {};
|
|
|
39
39
|
* LICENSE file in the root directory of this source tree.
|
|
40
40
|
*/
|
|
41
41
|
var $e;
|
|
42
|
-
function
|
|
42
|
+
function br() {
|
|
43
43
|
return $e || ($e = 1, process.env.NODE_ENV !== "production" && function() {
|
|
44
|
-
var t =
|
|
45
|
-
function
|
|
44
|
+
var t = y, s = Symbol.for("react.element"), a = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), v = Symbol.for("react.strict_mode"), m = Symbol.for("react.profiler"), P = Symbol.for("react.provider"), E = Symbol.for("react.context"), x = Symbol.for("react.forward_ref"), w = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), j = Symbol.for("react.memo"), R = Symbol.for("react.lazy"), U = Symbol.for("react.offscreen"), ie = Symbol.iterator, Fe = "@@iterator";
|
|
45
|
+
function Le(e) {
|
|
46
46
|
if (e === null || typeof e != "object")
|
|
47
47
|
return null;
|
|
48
|
-
var n = ie && e[ie] || e[
|
|
48
|
+
var n = ie && e[ie] || e[Fe];
|
|
49
49
|
return typeof n == "function" ? n : null;
|
|
50
50
|
}
|
|
51
|
-
var
|
|
51
|
+
var I = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
52
52
|
function b(e) {
|
|
53
53
|
{
|
|
54
|
-
for (var n = arguments.length,
|
|
55
|
-
|
|
56
|
-
|
|
54
|
+
for (var n = arguments.length, i = new Array(n > 1 ? n - 1 : 0), o = 1; o < n; o++)
|
|
55
|
+
i[o - 1] = arguments[o];
|
|
56
|
+
Me("error", e, i);
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
|
-
function
|
|
59
|
+
function Me(e, n, i) {
|
|
60
60
|
{
|
|
61
|
-
var o =
|
|
62
|
-
f !== "" && (n += "%s",
|
|
63
|
-
var d =
|
|
61
|
+
var o = I.ReactDebugCurrentFrame, f = o.getStackAddendum();
|
|
62
|
+
f !== "" && (n += "%s", i = i.concat([f]));
|
|
63
|
+
var d = i.map(function(u) {
|
|
64
64
|
return String(u);
|
|
65
65
|
});
|
|
66
66
|
d.unshift("Warning: " + n), Function.prototype.apply.call(console[e], console, d);
|
|
67
67
|
}
|
|
68
68
|
}
|
|
69
|
-
var
|
|
69
|
+
var We = !1, Ye = !1, Ve = !1, Be = !1, Ue = !1, oe;
|
|
70
70
|
oe = Symbol.for("react.module.reference");
|
|
71
|
-
function
|
|
72
|
-
return !!(typeof e == "string" || typeof e == "function" || e === c || e === m ||
|
|
71
|
+
function qe(e) {
|
|
72
|
+
return !!(typeof e == "string" || typeof e == "function" || e === c || e === m || Ue || e === v || e === w || e === p || Be || e === U || We || Ye || Ve || typeof e == "object" && e !== null && (e.$$typeof === R || e.$$typeof === j || e.$$typeof === P || e.$$typeof === E || 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 === oe || e.getModuleId !== void 0));
|
|
77
77
|
}
|
|
78
|
-
function
|
|
78
|
+
function Je(e, n, i) {
|
|
79
79
|
var o = e.displayName;
|
|
80
80
|
if (o)
|
|
81
81
|
return o;
|
|
82
82
|
var f = n.displayName || n.name || "";
|
|
83
|
-
return f !== "" ?
|
|
83
|
+
return f !== "" ? i + "(" + f + ")" : i;
|
|
84
84
|
}
|
|
85
85
|
function ce(e) {
|
|
86
86
|
return e.displayName || "Context";
|
|
87
87
|
}
|
|
88
|
-
function
|
|
88
|
+
function S(e) {
|
|
89
89
|
if (e == null)
|
|
90
90
|
return null;
|
|
91
91
|
if (typeof e.tag == "number" && b("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
@@ -95,34 +95,34 @@ function jr() {
|
|
|
95
95
|
switch (e) {
|
|
96
96
|
case c:
|
|
97
97
|
return "Fragment";
|
|
98
|
-
case
|
|
98
|
+
case a:
|
|
99
99
|
return "Portal";
|
|
100
100
|
case m:
|
|
101
101
|
return "Profiler";
|
|
102
102
|
case v:
|
|
103
103
|
return "StrictMode";
|
|
104
|
-
case
|
|
104
|
+
case w:
|
|
105
105
|
return "Suspense";
|
|
106
106
|
case p:
|
|
107
107
|
return "SuspenseList";
|
|
108
108
|
}
|
|
109
109
|
if (typeof e == "object")
|
|
110
110
|
switch (e.$$typeof) {
|
|
111
|
-
case
|
|
111
|
+
case E:
|
|
112
112
|
var n = e;
|
|
113
113
|
return ce(n) + ".Consumer";
|
|
114
|
-
case
|
|
115
|
-
var
|
|
116
|
-
return ce(
|
|
114
|
+
case P:
|
|
115
|
+
var i = e;
|
|
116
|
+
return ce(i._context) + ".Provider";
|
|
117
117
|
case x:
|
|
118
|
-
return
|
|
118
|
+
return Je(e, e.render, "ForwardRef");
|
|
119
119
|
case j:
|
|
120
120
|
var o = e.displayName || null;
|
|
121
|
-
return o !== null ? o :
|
|
121
|
+
return o !== null ? o : S(e.type) || "Memo";
|
|
122
122
|
case R: {
|
|
123
123
|
var f = e, d = f._payload, u = f._init;
|
|
124
124
|
try {
|
|
125
|
-
return
|
|
125
|
+
return S(u(d));
|
|
126
126
|
} catch {
|
|
127
127
|
return null;
|
|
128
128
|
}
|
|
@@ -134,7 +134,7 @@ function jr() {
|
|
|
134
134
|
function xe() {
|
|
135
135
|
}
|
|
136
136
|
xe.__reactDisabledLog = !0;
|
|
137
|
-
function
|
|
137
|
+
function He() {
|
|
138
138
|
{
|
|
139
139
|
if (L === 0) {
|
|
140
140
|
le = console.log, ue = console.info, fe = console.warn, de = console.error, _e = console.group, ve = console.groupCollapsed, he = console.groupEnd;
|
|
@@ -157,7 +157,7 @@ function jr() {
|
|
|
157
157
|
L++;
|
|
158
158
|
}
|
|
159
159
|
}
|
|
160
|
-
function
|
|
160
|
+
function Ge() {
|
|
161
161
|
{
|
|
162
162
|
if (L--, L === 0) {
|
|
163
163
|
var e = {
|
|
@@ -192,8 +192,8 @@ function jr() {
|
|
|
192
192
|
L < 0 && b("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
193
193
|
}
|
|
194
194
|
}
|
|
195
|
-
var
|
|
196
|
-
function
|
|
195
|
+
var K = I.ReactCurrentDispatcher, X;
|
|
196
|
+
function q(e, n, i) {
|
|
197
197
|
{
|
|
198
198
|
if (X === void 0)
|
|
199
199
|
try {
|
|
@@ -206,25 +206,25 @@ function jr() {
|
|
|
206
206
|
` + X + e;
|
|
207
207
|
}
|
|
208
208
|
}
|
|
209
|
-
var Q = !1,
|
|
209
|
+
var Q = !1, J;
|
|
210
210
|
{
|
|
211
|
-
var
|
|
212
|
-
|
|
211
|
+
var Ze = typeof WeakMap == "function" ? WeakMap : Map;
|
|
212
|
+
J = new Ze();
|
|
213
213
|
}
|
|
214
214
|
function me(e, n) {
|
|
215
215
|
if (!e || Q)
|
|
216
216
|
return "";
|
|
217
217
|
{
|
|
218
|
-
var
|
|
219
|
-
if (
|
|
220
|
-
return
|
|
218
|
+
var i = J.get(e);
|
|
219
|
+
if (i !== void 0)
|
|
220
|
+
return i;
|
|
221
221
|
}
|
|
222
222
|
var o;
|
|
223
223
|
Q = !0;
|
|
224
224
|
var f = Error.prepareStackTrace;
|
|
225
225
|
Error.prepareStackTrace = void 0;
|
|
226
226
|
var d;
|
|
227
|
-
d =
|
|
227
|
+
d = K.current, K.current = null, He();
|
|
228
228
|
try {
|
|
229
229
|
if (n) {
|
|
230
230
|
var u = function() {
|
|
@@ -237,96 +237,96 @@ function jr() {
|
|
|
237
237
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
238
238
|
try {
|
|
239
239
|
Reflect.construct(u, []);
|
|
240
|
-
} catch (
|
|
241
|
-
o =
|
|
240
|
+
} catch (k) {
|
|
241
|
+
o = k;
|
|
242
242
|
}
|
|
243
243
|
Reflect.construct(e, [], u);
|
|
244
244
|
} else {
|
|
245
245
|
try {
|
|
246
246
|
u.call();
|
|
247
|
-
} catch (
|
|
248
|
-
o =
|
|
247
|
+
} catch (k) {
|
|
248
|
+
o = k;
|
|
249
249
|
}
|
|
250
250
|
e.call(u.prototype);
|
|
251
251
|
}
|
|
252
252
|
} else {
|
|
253
253
|
try {
|
|
254
254
|
throw Error();
|
|
255
|
-
} catch (
|
|
256
|
-
o =
|
|
255
|
+
} catch (k) {
|
|
256
|
+
o = k;
|
|
257
257
|
}
|
|
258
258
|
e();
|
|
259
259
|
}
|
|
260
|
-
} catch (
|
|
261
|
-
if (
|
|
262
|
-
for (var l =
|
|
263
|
-
`),
|
|
264
|
-
`), _ = l.length - 1, h =
|
|
260
|
+
} catch (k) {
|
|
261
|
+
if (k && o && typeof k.stack == "string") {
|
|
262
|
+
for (var l = k.stack.split(`
|
|
263
|
+
`), g = o.stack.split(`
|
|
264
|
+
`), _ = l.length - 1, h = g.length - 1; _ >= 1 && h >= 0 && l[_] !== g[h]; )
|
|
265
265
|
h--;
|
|
266
266
|
for (; _ >= 1 && h >= 0; _--, h--)
|
|
267
|
-
if (l[_] !==
|
|
267
|
+
if (l[_] !== g[h]) {
|
|
268
268
|
if (_ !== 1 || h !== 1)
|
|
269
269
|
do
|
|
270
|
-
if (_--, h--, h < 0 || l[_] !==
|
|
271
|
-
var
|
|
270
|
+
if (_--, h--, h < 0 || l[_] !== g[h]) {
|
|
271
|
+
var C = `
|
|
272
272
|
` + l[_].replace(" at new ", " at ");
|
|
273
|
-
return e.displayName &&
|
|
273
|
+
return e.displayName && C.includes("<anonymous>") && (C = C.replace("<anonymous>", e.displayName)), typeof e == "function" && J.set(e, C), C;
|
|
274
274
|
}
|
|
275
275
|
while (_ >= 1 && h >= 0);
|
|
276
276
|
break;
|
|
277
277
|
}
|
|
278
278
|
}
|
|
279
279
|
} finally {
|
|
280
|
-
Q = !1,
|
|
280
|
+
Q = !1, K.current = d, Ge(), Error.prepareStackTrace = f;
|
|
281
281
|
}
|
|
282
|
-
var
|
|
283
|
-
return typeof e == "function" &&
|
|
282
|
+
var D = e ? e.displayName || e.name : "", Oe = D ? q(D) : "";
|
|
283
|
+
return typeof e == "function" && J.set(e, Oe), Oe;
|
|
284
284
|
}
|
|
285
|
-
function Ke(e, n,
|
|
285
|
+
function Ke(e, n, i) {
|
|
286
286
|
return me(e, !1);
|
|
287
287
|
}
|
|
288
|
-
function
|
|
288
|
+
function Xe(e) {
|
|
289
289
|
var n = e.prototype;
|
|
290
290
|
return !!(n && n.isReactComponent);
|
|
291
291
|
}
|
|
292
|
-
function
|
|
292
|
+
function H(e, n, i) {
|
|
293
293
|
if (e == null)
|
|
294
294
|
return "";
|
|
295
295
|
if (typeof e == "function")
|
|
296
|
-
return me(e,
|
|
296
|
+
return me(e, Xe(e));
|
|
297
297
|
if (typeof e == "string")
|
|
298
|
-
return
|
|
298
|
+
return q(e);
|
|
299
299
|
switch (e) {
|
|
300
|
-
case
|
|
301
|
-
return
|
|
300
|
+
case w:
|
|
301
|
+
return q("Suspense");
|
|
302
302
|
case p:
|
|
303
|
-
return
|
|
303
|
+
return q("SuspenseList");
|
|
304
304
|
}
|
|
305
305
|
if (typeof e == "object")
|
|
306
306
|
switch (e.$$typeof) {
|
|
307
307
|
case x:
|
|
308
308
|
return Ke(e.render);
|
|
309
309
|
case j:
|
|
310
|
-
return
|
|
310
|
+
return H(e.type, n, i);
|
|
311
311
|
case R: {
|
|
312
312
|
var o = e, f = o._payload, d = o._init;
|
|
313
313
|
try {
|
|
314
|
-
return
|
|
314
|
+
return H(d(f), n, i);
|
|
315
315
|
} catch {
|
|
316
316
|
}
|
|
317
317
|
}
|
|
318
318
|
}
|
|
319
319
|
return "";
|
|
320
320
|
}
|
|
321
|
-
var G = Object.prototype.hasOwnProperty, pe = {}, je =
|
|
322
|
-
function
|
|
321
|
+
var G = Object.prototype.hasOwnProperty, pe = {}, je = I.ReactDebugCurrentFrame;
|
|
322
|
+
function Z(e) {
|
|
323
323
|
if (e) {
|
|
324
|
-
var n = e._owner,
|
|
325
|
-
je.setExtraStackFrame(
|
|
324
|
+
var n = e._owner, i = H(e.type, e._source, n ? n.type : null);
|
|
325
|
+
je.setExtraStackFrame(i);
|
|
326
326
|
} else
|
|
327
327
|
je.setExtraStackFrame(null);
|
|
328
328
|
}
|
|
329
|
-
function
|
|
329
|
+
function Qe(e, n, i, o, f) {
|
|
330
330
|
{
|
|
331
331
|
var d = Function.call.bind(G);
|
|
332
332
|
for (var u in e)
|
|
@@ -334,28 +334,28 @@ function jr() {
|
|
|
334
334
|
var l = void 0;
|
|
335
335
|
try {
|
|
336
336
|
if (typeof e[u] != "function") {
|
|
337
|
-
var
|
|
338
|
-
throw
|
|
337
|
+
var g = Error((o || "React class") + ": " + i + " 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`.");
|
|
338
|
+
throw g.name = "Invariant Violation", g;
|
|
339
339
|
}
|
|
340
|
-
l = e[u](n, u, o,
|
|
340
|
+
l = e[u](n, u, o, i, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
341
341
|
} catch (_) {
|
|
342
342
|
l = _;
|
|
343
343
|
}
|
|
344
|
-
l && !(l instanceof Error) && (
|
|
344
|
+
l && !(l instanceof Error) && (Z(f), b("%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).", o || "React class", i, u, typeof l), Z(null)), l instanceof Error && !(l.message in pe) && (pe[l.message] = !0, Z(f), b("Failed %s type: %s", i, l.message), Z(null));
|
|
345
345
|
}
|
|
346
346
|
}
|
|
347
347
|
}
|
|
348
|
-
var
|
|
348
|
+
var er = Array.isArray;
|
|
349
349
|
function ee(e) {
|
|
350
|
-
return
|
|
350
|
+
return er(e);
|
|
351
351
|
}
|
|
352
|
-
function
|
|
352
|
+
function rr(e) {
|
|
353
353
|
{
|
|
354
|
-
var n = typeof Symbol == "function" && Symbol.toStringTag,
|
|
355
|
-
return
|
|
354
|
+
var n = typeof Symbol == "function" && Symbol.toStringTag, i = n && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
355
|
+
return i;
|
|
356
356
|
}
|
|
357
357
|
}
|
|
358
|
-
function
|
|
358
|
+
function tr(e) {
|
|
359
359
|
try {
|
|
360
360
|
return be(e), !1;
|
|
361
361
|
} catch {
|
|
@@ -365,18 +365,18 @@ function jr() {
|
|
|
365
365
|
function be(e) {
|
|
366
366
|
return "" + e;
|
|
367
367
|
}
|
|
368
|
-
function
|
|
369
|
-
if (
|
|
370
|
-
return b("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",
|
|
368
|
+
function ge(e) {
|
|
369
|
+
if (tr(e))
|
|
370
|
+
return b("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", rr(e)), be(e);
|
|
371
371
|
}
|
|
372
|
-
var M =
|
|
372
|
+
var M = I.ReactCurrentOwner, nr = {
|
|
373
373
|
key: !0,
|
|
374
374
|
ref: !0,
|
|
375
375
|
__self: !0,
|
|
376
376
|
__source: !0
|
|
377
|
-
},
|
|
377
|
+
}, ye, Ce, re;
|
|
378
378
|
re = {};
|
|
379
|
-
function
|
|
379
|
+
function sr(e) {
|
|
380
380
|
if (G.call(e, "ref")) {
|
|
381
381
|
var n = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
382
382
|
if (n && n.isReactWarning)
|
|
@@ -384,7 +384,7 @@ function jr() {
|
|
|
384
384
|
}
|
|
385
385
|
return e.ref !== void 0;
|
|
386
386
|
}
|
|
387
|
-
function
|
|
387
|
+
function ar(e) {
|
|
388
388
|
if (G.call(e, "key")) {
|
|
389
389
|
var n = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
390
390
|
if (n && n.isReactWarning)
|
|
@@ -392,42 +392,42 @@ function jr() {
|
|
|
392
392
|
}
|
|
393
393
|
return e.key !== void 0;
|
|
394
394
|
}
|
|
395
|
-
function
|
|
395
|
+
function ir(e, n) {
|
|
396
396
|
if (typeof e.ref == "string" && M.current && n && M.current.stateNode !== n) {
|
|
397
|
-
var
|
|
398
|
-
re[
|
|
397
|
+
var i = S(M.current.type);
|
|
398
|
+
re[i] || (b('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', S(M.current.type), e.ref), re[i] = !0);
|
|
399
399
|
}
|
|
400
400
|
}
|
|
401
|
-
function
|
|
401
|
+
function or(e, n) {
|
|
402
402
|
{
|
|
403
|
-
var
|
|
404
|
-
|
|
403
|
+
var i = function() {
|
|
404
|
+
ye || (ye = !0, b("%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)", n));
|
|
405
405
|
};
|
|
406
|
-
|
|
407
|
-
get:
|
|
406
|
+
i.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
407
|
+
get: i,
|
|
408
408
|
configurable: !0
|
|
409
409
|
});
|
|
410
410
|
}
|
|
411
411
|
}
|
|
412
|
-
function
|
|
412
|
+
function cr(e, n) {
|
|
413
413
|
{
|
|
414
|
-
var
|
|
415
|
-
|
|
414
|
+
var i = function() {
|
|
415
|
+
Ce || (Ce = !0, b("%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)", n));
|
|
416
416
|
};
|
|
417
|
-
|
|
418
|
-
get:
|
|
417
|
+
i.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
418
|
+
get: i,
|
|
419
419
|
configurable: !0
|
|
420
420
|
});
|
|
421
421
|
}
|
|
422
422
|
}
|
|
423
|
-
var
|
|
423
|
+
var lr = function(e, n, i, o, f, d, u) {
|
|
424
424
|
var l = {
|
|
425
425
|
// This tag allows us to uniquely identify this as a React Element
|
|
426
426
|
$$typeof: s,
|
|
427
427
|
// Built-in properties that belong on the element
|
|
428
428
|
type: e,
|
|
429
429
|
key: n,
|
|
430
|
-
ref:
|
|
430
|
+
ref: i,
|
|
431
431
|
props: u,
|
|
432
432
|
// Record the component responsible for creating this element.
|
|
433
433
|
_owner: d
|
|
@@ -449,31 +449,31 @@ function jr() {
|
|
|
449
449
|
value: f
|
|
450
450
|
}), Object.freeze && (Object.freeze(l.props), Object.freeze(l)), l;
|
|
451
451
|
};
|
|
452
|
-
function
|
|
452
|
+
function ur(e, n, i, o, f) {
|
|
453
453
|
{
|
|
454
|
-
var d, u = {}, l = null,
|
|
455
|
-
|
|
454
|
+
var d, u = {}, l = null, g = null;
|
|
455
|
+
i !== void 0 && (ge(i), l = "" + i), ar(n) && (ge(n.key), l = "" + n.key), sr(n) && (g = n.ref, ir(n, f));
|
|
456
456
|
for (d in n)
|
|
457
|
-
G.call(n, d) && !
|
|
457
|
+
G.call(n, d) && !nr.hasOwnProperty(d) && (u[d] = n[d]);
|
|
458
458
|
if (e && e.defaultProps) {
|
|
459
459
|
var _ = e.defaultProps;
|
|
460
460
|
for (d in _)
|
|
461
461
|
u[d] === void 0 && (u[d] = _[d]);
|
|
462
462
|
}
|
|
463
|
-
if (l ||
|
|
463
|
+
if (l || g) {
|
|
464
464
|
var h = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
465
|
-
l &&
|
|
465
|
+
l && or(u, h), g && cr(u, h);
|
|
466
466
|
}
|
|
467
|
-
return
|
|
467
|
+
return lr(e, l, g, f, o, M.current, u);
|
|
468
468
|
}
|
|
469
469
|
}
|
|
470
|
-
var te =
|
|
471
|
-
function
|
|
470
|
+
var te = I.ReactCurrentOwner, Ee = I.ReactDebugCurrentFrame;
|
|
471
|
+
function N(e) {
|
|
472
472
|
if (e) {
|
|
473
|
-
var n = e._owner,
|
|
474
|
-
|
|
473
|
+
var n = e._owner, i = H(e.type, e._source, n ? n.type : null);
|
|
474
|
+
Ee.setExtraStackFrame(i);
|
|
475
475
|
} else
|
|
476
|
-
|
|
476
|
+
Ee.setExtraStackFrame(null);
|
|
477
477
|
}
|
|
478
478
|
var ne;
|
|
479
479
|
ne = !1;
|
|
@@ -483,7 +483,7 @@ function jr() {
|
|
|
483
483
|
function Re() {
|
|
484
484
|
{
|
|
485
485
|
if (te.current) {
|
|
486
|
-
var e =
|
|
486
|
+
var e = S(te.current.type);
|
|
487
487
|
if (e)
|
|
488
488
|
return `
|
|
489
489
|
|
|
@@ -492,166 +492,166 @@ Check the render method of \`` + e + "`.";
|
|
|
492
492
|
return "";
|
|
493
493
|
}
|
|
494
494
|
}
|
|
495
|
-
function
|
|
495
|
+
function fr(e) {
|
|
496
496
|
{
|
|
497
497
|
if (e !== void 0) {
|
|
498
|
-
var n = e.fileName.replace(/^.*[\\\/]/, ""),
|
|
498
|
+
var n = e.fileName.replace(/^.*[\\\/]/, ""), i = e.lineNumber;
|
|
499
499
|
return `
|
|
500
500
|
|
|
501
|
-
Check your code at ` + n + ":" +
|
|
501
|
+
Check your code at ` + n + ":" + i + ".";
|
|
502
502
|
}
|
|
503
503
|
return "";
|
|
504
504
|
}
|
|
505
505
|
}
|
|
506
|
-
var
|
|
507
|
-
function
|
|
506
|
+
var Se = {};
|
|
507
|
+
function dr(e) {
|
|
508
508
|
{
|
|
509
509
|
var n = Re();
|
|
510
510
|
if (!n) {
|
|
511
|
-
var
|
|
512
|
-
|
|
511
|
+
var i = typeof e == "string" ? e : e.displayName || e.name;
|
|
512
|
+
i && (n = `
|
|
513
513
|
|
|
514
|
-
Check the top-level render call using <` +
|
|
514
|
+
Check the top-level render call using <` + i + ">.");
|
|
515
515
|
}
|
|
516
516
|
return n;
|
|
517
517
|
}
|
|
518
518
|
}
|
|
519
|
-
function
|
|
519
|
+
function ke(e, n) {
|
|
520
520
|
{
|
|
521
521
|
if (!e._store || e._store.validated || e.key != null)
|
|
522
522
|
return;
|
|
523
523
|
e._store.validated = !0;
|
|
524
|
-
var
|
|
525
|
-
if (
|
|
524
|
+
var i = dr(n);
|
|
525
|
+
if (Se[i])
|
|
526
526
|
return;
|
|
527
|
-
|
|
527
|
+
Se[i] = !0;
|
|
528
528
|
var o = "";
|
|
529
|
-
e && e._owner && e._owner !== te.current && (o = " It was passed a child from " +
|
|
529
|
+
e && e._owner && e._owner !== te.current && (o = " It was passed a child from " + S(e._owner.type) + "."), N(e), b('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', i, o), N(null);
|
|
530
530
|
}
|
|
531
531
|
}
|
|
532
|
-
function
|
|
532
|
+
function we(e, n) {
|
|
533
533
|
{
|
|
534
534
|
if (typeof e != "object")
|
|
535
535
|
return;
|
|
536
536
|
if (ee(e))
|
|
537
|
-
for (var
|
|
538
|
-
var o = e[
|
|
539
|
-
se(o) &&
|
|
537
|
+
for (var i = 0; i < e.length; i++) {
|
|
538
|
+
var o = e[i];
|
|
539
|
+
se(o) && ke(o, n);
|
|
540
540
|
}
|
|
541
541
|
else if (se(e))
|
|
542
542
|
e._store && (e._store.validated = !0);
|
|
543
543
|
else if (e) {
|
|
544
|
-
var f =
|
|
544
|
+
var f = Le(e);
|
|
545
545
|
if (typeof f == "function" && f !== e.entries)
|
|
546
546
|
for (var d = f.call(e), u; !(u = d.next()).done; )
|
|
547
|
-
se(u.value) &&
|
|
547
|
+
se(u.value) && ke(u.value, n);
|
|
548
548
|
}
|
|
549
549
|
}
|
|
550
550
|
}
|
|
551
|
-
function
|
|
551
|
+
function _r(e) {
|
|
552
552
|
{
|
|
553
553
|
var n = e.type;
|
|
554
554
|
if (n == null || typeof n == "string")
|
|
555
555
|
return;
|
|
556
|
-
var
|
|
556
|
+
var i;
|
|
557
557
|
if (typeof n == "function")
|
|
558
|
-
|
|
558
|
+
i = n.propTypes;
|
|
559
559
|
else if (typeof n == "object" && (n.$$typeof === x || // Note: Memo only checks outer props here.
|
|
560
560
|
// Inner props are checked in the reconciler.
|
|
561
561
|
n.$$typeof === j))
|
|
562
|
-
|
|
562
|
+
i = n.propTypes;
|
|
563
563
|
else
|
|
564
564
|
return;
|
|
565
|
-
if (
|
|
566
|
-
var o =
|
|
567
|
-
|
|
565
|
+
if (i) {
|
|
566
|
+
var o = S(n);
|
|
567
|
+
Qe(i, e.props, "prop", o, e);
|
|
568
568
|
} else if (n.PropTypes !== void 0 && !ne) {
|
|
569
569
|
ne = !0;
|
|
570
|
-
var f =
|
|
570
|
+
var f = S(n);
|
|
571
571
|
b("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", f || "Unknown");
|
|
572
572
|
}
|
|
573
573
|
typeof n.getDefaultProps == "function" && !n.getDefaultProps.isReactClassApproved && b("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
574
574
|
}
|
|
575
575
|
}
|
|
576
|
-
function
|
|
576
|
+
function vr(e) {
|
|
577
577
|
{
|
|
578
|
-
for (var n = Object.keys(e.props),
|
|
579
|
-
var o = n[
|
|
578
|
+
for (var n = Object.keys(e.props), i = 0; i < n.length; i++) {
|
|
579
|
+
var o = n[i];
|
|
580
580
|
if (o !== "children" && o !== "key") {
|
|
581
|
-
|
|
581
|
+
N(e), b("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", o), N(null);
|
|
582
582
|
break;
|
|
583
583
|
}
|
|
584
584
|
}
|
|
585
|
-
e.ref !== null && (
|
|
585
|
+
e.ref !== null && (N(e), b("Invalid attribute `ref` supplied to `React.Fragment`."), N(null));
|
|
586
586
|
}
|
|
587
587
|
}
|
|
588
|
-
function Te(e, n,
|
|
588
|
+
function Te(e, n, i, o, f, d) {
|
|
589
589
|
{
|
|
590
|
-
var u =
|
|
590
|
+
var u = qe(e);
|
|
591
591
|
if (!u) {
|
|
592
592
|
var l = "";
|
|
593
593
|
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (l += " 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
|
-
|
|
594
|
+
var g = fr(f);
|
|
595
|
+
g ? l += g : l += Re();
|
|
596
596
|
var _;
|
|
597
|
-
e === null ? _ = "null" : ee(e) ? _ = "array" : e !== void 0 && e.$$typeof === s ? (_ = "<" + (
|
|
597
|
+
e === null ? _ = "null" : ee(e) ? _ = "array" : e !== void 0 && e.$$typeof === s ? (_ = "<" + (S(e.type) || "Unknown") + " />", l = " Did you accidentally export a JSX literal instead of a component?") : _ = typeof e, b("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", _, l);
|
|
598
598
|
}
|
|
599
|
-
var h =
|
|
599
|
+
var h = ur(e, n, i, f, d);
|
|
600
600
|
if (h == null)
|
|
601
601
|
return h;
|
|
602
602
|
if (u) {
|
|
603
|
-
var
|
|
604
|
-
if (
|
|
603
|
+
var C = n.children;
|
|
604
|
+
if (C !== void 0)
|
|
605
605
|
if (o)
|
|
606
|
-
if (ee(
|
|
607
|
-
for (var
|
|
608
|
-
|
|
609
|
-
Object.freeze && Object.freeze(
|
|
606
|
+
if (ee(C)) {
|
|
607
|
+
for (var D = 0; D < C.length; D++)
|
|
608
|
+
we(C[D], e);
|
|
609
|
+
Object.freeze && Object.freeze(C);
|
|
610
610
|
} else
|
|
611
611
|
b("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
|
+
we(C, e);
|
|
614
614
|
}
|
|
615
|
-
return e === c ?
|
|
615
|
+
return e === c ? vr(h) : _r(h), h;
|
|
616
616
|
}
|
|
617
617
|
}
|
|
618
|
-
function
|
|
619
|
-
return Te(e, n,
|
|
618
|
+
function hr(e, n, i) {
|
|
619
|
+
return Te(e, n, i, !0);
|
|
620
620
|
}
|
|
621
|
-
function
|
|
622
|
-
return Te(e, n,
|
|
621
|
+
function xr(e, n, i) {
|
|
622
|
+
return Te(e, n, i, !1);
|
|
623
623
|
}
|
|
624
|
-
var
|
|
625
|
-
Y.Fragment = c, Y.jsx =
|
|
624
|
+
var mr = xr, pr = hr;
|
|
625
|
+
Y.Fragment = c, Y.jsx = mr, Y.jsxs = pr;
|
|
626
626
|
}()), Y;
|
|
627
627
|
}
|
|
628
|
-
process.env.NODE_ENV === "production" ? ae.exports =
|
|
628
|
+
process.env.NODE_ENV === "production" ? ae.exports = jr() : ae.exports = br();
|
|
629
629
|
var r = ae.exports;
|
|
630
|
-
const
|
|
631
|
-
notice:
|
|
630
|
+
const gr = "_notice_820sc_2", yr = "_error_820sc_9", Cr = "_success_820sc_12", Er = "_remark_820sc_15", Rr = "_copy_820sc_18", Sr = {
|
|
631
|
+
notice: gr,
|
|
632
632
|
error: yr,
|
|
633
|
-
success:
|
|
633
|
+
success: Cr,
|
|
634
634
|
remark: Er,
|
|
635
|
-
copy:
|
|
635
|
+
copy: Rr,
|
|
636
636
|
"show-notice": "_show-notice_820sc_1",
|
|
637
637
|
"hide-notice": "_hide-notice_820sc_1"
|
|
638
638
|
};
|
|
639
|
-
let
|
|
639
|
+
let O = {};
|
|
640
640
|
function kr() {
|
|
641
|
-
let [t, s] =
|
|
642
|
-
return
|
|
643
|
-
s([...t,
|
|
644
|
-
},
|
|
645
|
-
s(t.filter((c) => c.key !==
|
|
646
|
-
}, t.length === 0 ? "" : /* @__PURE__ */ r.jsx("ul", { className:
|
|
641
|
+
let [t, s] = y.useState([]);
|
|
642
|
+
return O.set = (a) => {
|
|
643
|
+
s([...t, a]);
|
|
644
|
+
}, O.del = (a) => {
|
|
645
|
+
s(t.filter((c) => c.key !== a));
|
|
646
|
+
}, t.length === 0 ? "" : /* @__PURE__ */ r.jsx("ul", { className: Sr.notice, children: t.map((a) => a.item) });
|
|
647
647
|
}
|
|
648
|
-
function
|
|
649
|
-
let [s,
|
|
650
|
-
|
|
648
|
+
function B({ data: t }) {
|
|
649
|
+
let [s, a] = y.useState("show");
|
|
650
|
+
y.useEffect(() => {
|
|
651
651
|
setTimeout(function() {
|
|
652
|
-
|
|
652
|
+
a("hide");
|
|
653
653
|
}, 1800), setTimeout(function() {
|
|
654
|
-
|
|
654
|
+
O.del(t.key);
|
|
655
655
|
}, 2500);
|
|
656
656
|
}, [t.key]);
|
|
657
657
|
let c, v;
|
|
@@ -679,24 +679,24 @@ function V({ data: t }) {
|
|
|
679
679
|
] });
|
|
680
680
|
}
|
|
681
681
|
function wr(t) {
|
|
682
|
-
let s = Date.now(),
|
|
683
|
-
|
|
684
|
-
}
|
|
685
|
-
function Sr(t) {
|
|
686
|
-
let s = Date.now(), i = { key: s, text: t, type: "error" };
|
|
687
|
-
P.set({ item: /* @__PURE__ */ r.jsx(V, { data: i }, s), key: s });
|
|
682
|
+
let s = Date.now(), a = { key: s, ...t };
|
|
683
|
+
O.set({ item: /* @__PURE__ */ r.jsx(B, { data: a }, s), key: s });
|
|
688
684
|
}
|
|
689
685
|
function Tr(t) {
|
|
690
|
-
let s = Date.now(),
|
|
691
|
-
|
|
686
|
+
let s = Date.now(), a = { key: s, text: t, type: "error" };
|
|
687
|
+
O.set({ item: /* @__PURE__ */ r.jsx(B, { data: a }, s), key: s });
|
|
688
|
+
}
|
|
689
|
+
function Or(t) {
|
|
690
|
+
let s = Date.now(), a = { key: s, text: t, type: "success" };
|
|
691
|
+
O.set({ item: /* @__PURE__ */ r.jsx(B, { data: a }, s), key: s });
|
|
692
692
|
}
|
|
693
693
|
function Pr(t) {
|
|
694
|
-
let s = Date.now(),
|
|
695
|
-
|
|
694
|
+
let s = Date.now(), a = { key: s, text: t, type: "remark" };
|
|
695
|
+
O.set({ item: /* @__PURE__ */ r.jsx(B, { data: a }, s), key: s });
|
|
696
696
|
}
|
|
697
|
-
function
|
|
698
|
-
let s = Date.now(),
|
|
699
|
-
|
|
697
|
+
function $r(t) {
|
|
698
|
+
let s = Date.now(), a = { key: s, text: t, type: "copy" };
|
|
699
|
+
O.set({ item: /* @__PURE__ */ r.jsx(B, { data: a }, s), key: s });
|
|
700
700
|
}
|
|
701
701
|
const z = {};
|
|
702
702
|
z.error = () => /* @__PURE__ */ r.jsxs("svg", { viewBox: "0 0 24 24", fill: "none", children: [
|
|
@@ -731,20 +731,20 @@ z.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 zr = "_alerts_1e9y0_1", Ar = "_menuAnimation_1e9y0_1", Ir = "_menuItemAnimation_1e9y0_1", Nr = "_allert_1e9y0_111", Dr = {
|
|
735
|
+
alerts: zr,
|
|
736
|
+
menuAnimation: Ar,
|
|
737
|
+
menuItemAnimation: Ir,
|
|
738
738
|
"--body": "_--body_1e9y0_103",
|
|
739
739
|
allert: Nr,
|
|
740
740
|
"--form": "_--form_1e9y0_111"
|
|
741
741
|
};
|
|
742
|
-
let
|
|
743
|
-
function
|
|
744
|
-
let [t, s] =
|
|
745
|
-
return
|
|
742
|
+
let V = {};
|
|
743
|
+
function Fr() {
|
|
744
|
+
let [t, s] = y.useState("");
|
|
745
|
+
return V.set = (a) => s(a), V.del = () => s(""), /* @__PURE__ */ r.jsx(r.Fragment, { children: t });
|
|
746
746
|
}
|
|
747
|
-
const
|
|
747
|
+
const Lr = ({ data: t, callback: s }) => (t.button = t.button === void 0 ? "Подтвердить" : t.button, /* @__PURE__ */ r.jsxs("div", { className: Dr.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 }),
|
|
@@ -753,88 +753,88 @@ const Fr = ({ data: t, callback: s }) => (t.button = t.button === void 0 ? "По
|
|
|
753
753
|
{
|
|
754
754
|
"data-color": t.color || "blue",
|
|
755
755
|
onClick: () => {
|
|
756
|
-
s(),
|
|
756
|
+
s(), V.del();
|
|
757
757
|
},
|
|
758
758
|
children: t.button
|
|
759
759
|
}
|
|
760
760
|
) })
|
|
761
761
|
] }),
|
|
762
|
-
/* @__PURE__ */ r.jsx("div", { className: "--body", onClick:
|
|
762
|
+
/* @__PURE__ */ r.jsx("div", { className: "--body", onClick: V.del })
|
|
763
763
|
] }));
|
|
764
|
-
function
|
|
765
|
-
|
|
764
|
+
function Mr(t, s) {
|
|
765
|
+
V.set(/* @__PURE__ */ r.jsx(Lr, { data: t, callback: s }));
|
|
766
766
|
}
|
|
767
|
-
function
|
|
767
|
+
function Wr({ children: t }) {
|
|
768
768
|
return /* @__PURE__ */ r.jsx("div", { className: "l", children: /* @__PURE__ */ r.jsx("ul", { children: t }) });
|
|
769
769
|
}
|
|
770
|
-
function
|
|
770
|
+
function Yr({ children: t }) {
|
|
771
771
|
return /* @__PURE__ */ r.jsx("div", { className: "s", children: t });
|
|
772
772
|
}
|
|
773
|
-
const
|
|
773
|
+
const Vr = ({
|
|
774
774
|
children: t,
|
|
775
775
|
disabled: s,
|
|
776
|
-
label:
|
|
776
|
+
label: a,
|
|
777
777
|
onClick: c
|
|
778
778
|
}) => {
|
|
779
779
|
const v = (m) => {
|
|
780
780
|
s || c && c(m);
|
|
781
781
|
};
|
|
782
|
-
return /* @__PURE__ */ r.jsx("button", { disabled: s, onClick: v, children:
|
|
783
|
-
},
|
|
784
|
-
white:
|
|
785
|
-
black:
|
|
786
|
-
shake:
|
|
787
|
-
modal:
|
|
788
|
-
o:
|
|
789
|
-
w:
|
|
790
|
-
h:
|
|
782
|
+
return /* @__PURE__ */ r.jsx("button", { disabled: s, onClick: v, children: a });
|
|
783
|
+
}, Br = "_white_6ax6z_14", Ur = "_black_6ax6z_26", qr = "_shake_6ax6z_1", Jr = "_modal_6ax6z_73", Hr = "_o_6ax6z_83", Gr = "_w_6ax6z_14", Zr = "_h_6ax6z_106", Kr = "_l_6ax6z_120", Xr = "_t_6ax6z_158", Qr = "_m_6ax6z_73", et = "_x_6ax6z_166", rt = "_s_6ax6z_176", tt = "_c_6ax6z_181", nt = "_f_6ax6z_186", st = "_btn_6ax6z_229", at = "_g_6ax6z_242", it = "_confirm_6ax6z_320", ot = "_cancel_6ax6z_325", ct = "_disabled_6ax6z_330", lt = "_active_6ax6z_387", ut = "_coincidence_6ax6z_393", T = {
|
|
784
|
+
white: Br,
|
|
785
|
+
black: Ur,
|
|
786
|
+
shake: qr,
|
|
787
|
+
modal: Jr,
|
|
788
|
+
o: Hr,
|
|
789
|
+
w: Gr,
|
|
790
|
+
h: Zr,
|
|
791
791
|
l: Kr,
|
|
792
|
-
t:
|
|
793
|
-
m:
|
|
794
|
-
x:
|
|
795
|
-
s:
|
|
796
|
-
c:
|
|
797
|
-
f:
|
|
798
|
-
btn:
|
|
799
|
-
g:
|
|
792
|
+
t: Xr,
|
|
793
|
+
m: Qr,
|
|
794
|
+
x: et,
|
|
795
|
+
s: rt,
|
|
796
|
+
c: tt,
|
|
797
|
+
f: nt,
|
|
798
|
+
btn: st,
|
|
799
|
+
g: at,
|
|
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:
|
|
808
|
-
disabled:
|
|
806
|
+
confirm: it,
|
|
807
|
+
cancel: ot,
|
|
808
|
+
disabled: ct,
|
|
809
809
|
await: "_await_6ax6z_337",
|
|
810
|
-
active:
|
|
811
|
-
coincidence:
|
|
810
|
+
active: lt,
|
|
811
|
+
coincidence: ut
|
|
812
812
|
};
|
|
813
813
|
let F = {};
|
|
814
|
-
const
|
|
815
|
-
let [s,
|
|
814
|
+
const ft = ({ config: t }) => {
|
|
815
|
+
let [s, a] = y.useState([]);
|
|
816
816
|
return F.x = () => {
|
|
817
|
-
|
|
817
|
+
a([]);
|
|
818
818
|
}, F.config = t, F.add = (c) => {
|
|
819
|
-
|
|
819
|
+
a([...s, c]);
|
|
820
820
|
}, /* @__PURE__ */ r.jsx(r.Fragment, { children: s.map((c) => c) });
|
|
821
|
-
},
|
|
821
|
+
}, dt = ({
|
|
822
822
|
children: t,
|
|
823
823
|
title: s,
|
|
824
|
-
button:
|
|
824
|
+
button: a,
|
|
825
825
|
tabs: c,
|
|
826
826
|
size: v = "m",
|
|
827
827
|
menu: m
|
|
828
828
|
}) => {
|
|
829
|
-
const [
|
|
830
|
-
if (
|
|
831
|
-
return
|
|
829
|
+
const [P, E] = y.useState(!0), x = y.useRef(), w = (j) => {
|
|
830
|
+
if (a && a.onClick)
|
|
831
|
+
return a.onClick({ closed: E, disabled: j });
|
|
832
832
|
}, p = () => {
|
|
833
833
|
x.current.setAttribute("shake", !0), setTimeout(() => {
|
|
834
834
|
x.current.setAttribute("shake", !1);
|
|
835
835
|
}, 1e3);
|
|
836
836
|
};
|
|
837
|
-
return /* @__PURE__ */ r.jsx(r.Fragment, { children:
|
|
837
|
+
return /* @__PURE__ */ r.jsx(r.Fragment, { children: P ? /* @__PURE__ */ r.jsxs(
|
|
838
838
|
"div",
|
|
839
839
|
{
|
|
840
840
|
className: `${T.modal} ${T.white}`,
|
|
@@ -860,69 +860,94 @@ const ut = ({ config: t }) => {
|
|
|
860
860
|
{
|
|
861
861
|
className: T.x,
|
|
862
862
|
onClick: () => {
|
|
863
|
-
|
|
863
|
+
E(!1);
|
|
864
864
|
},
|
|
865
865
|
children: "x"
|
|
866
866
|
}
|
|
867
867
|
)
|
|
868
868
|
] }),
|
|
869
869
|
t,
|
|
870
|
-
|
|
871
|
-
|
|
870
|
+
a !== void 0 ? /* @__PURE__ */ r.jsx(
|
|
871
|
+
Vr,
|
|
872
872
|
{
|
|
873
|
-
label: String(
|
|
874
|
-
onClick:
|
|
873
|
+
label: String(a.name),
|
|
874
|
+
onClick: w
|
|
875
875
|
}
|
|
876
876
|
) : ""
|
|
877
877
|
] })
|
|
878
878
|
]
|
|
879
879
|
}
|
|
880
880
|
) : "" });
|
|
881
|
-
},
|
|
882
|
-
F.add(/* @__PURE__ */ r.jsx(
|
|
883
|
-
},
|
|
884
|
-
let [c, v] =
|
|
885
|
-
return
|
|
886
|
-
F.config(t, s,
|
|
887
|
-
}, [
|
|
888
|
-
},
|
|
889
|
-
F.config(t, s,
|
|
890
|
-
},
|
|
891
|
-
|
|
881
|
+
}, _t = (t) => {
|
|
882
|
+
F.add(/* @__PURE__ */ r.jsx(vt, { children: t }, String(Date.now())));
|
|
883
|
+
}, vt = ({ children: t }) => /* @__PURE__ */ r.jsx(r.Fragment, { children: t }), ht = ({ type: t, name: s, params: a }) => {
|
|
884
|
+
let [c, v] = y.useState(null);
|
|
885
|
+
return y.useEffect(() => {
|
|
886
|
+
F.config(t, s, a, v);
|
|
887
|
+
}, [a.id]), /* @__PURE__ */ r.jsx(r.Fragment, { children: c });
|
|
888
|
+
}, xt = (t, s, a) => {
|
|
889
|
+
F.config(t, s, a);
|
|
890
|
+
}, mt = { List: Wr, Scroll: Yr, Init: ft, Main: dt, Add: _t, Icon: ht, Open: xt };
|
|
891
|
+
let ze = {};
|
|
892
|
+
function pt({ crypto: t }) {
|
|
893
|
+
if (ze = t, localStorage.getItem("ssid")) {
|
|
894
|
+
let a = sessionStorage.getItem("page");
|
|
895
|
+
a && (a = ze.deCode(a), a.id, a.tab, a.page, a.module, a.time, a.module_admin);
|
|
896
|
+
} else
|
|
897
|
+
[
|
|
898
|
+
"ssid",
|
|
899
|
+
"menu",
|
|
900
|
+
"temp",
|
|
901
|
+
"user",
|
|
902
|
+
"sett",
|
|
903
|
+
"qder",
|
|
904
|
+
"firm",
|
|
905
|
+
"last",
|
|
906
|
+
"auth",
|
|
907
|
+
"port",
|
|
908
|
+
"mark",
|
|
909
|
+
"sort"
|
|
910
|
+
].forEach((a) => localStorage.removeItem(a)), ["page"].forEach((a) => sessionStorage.removeItem(a));
|
|
911
|
+
}
|
|
912
|
+
const jt = ({ children: t, config: s, crypto: a, ...c }) => (pt({ crypto: a }), /* @__PURE__ */ r.jsxs(r.Fragment, { children: [
|
|
913
|
+
/* @__PURE__ */ r.jsx(mt.Init, { config: s.modal }),
|
|
892
914
|
/* @__PURE__ */ r.jsx(kr, {}),
|
|
893
|
-
/* @__PURE__ */ r.jsx(
|
|
915
|
+
/* @__PURE__ */ r.jsx(Fr, {}),
|
|
894
916
|
t
|
|
895
|
-
] }),
|
|
917
|
+
] })), bt = ({ children: t, ...s }) => /* @__PURE__ */ r.jsx("menu", { children: t }), gt = ({ children: t, ...s }) => /* @__PURE__ */ r.jsxs("header", { children: [
|
|
896
918
|
"xz",
|
|
897
919
|
t
|
|
898
|
-
] }),
|
|
899
|
-
payment:
|
|
920
|
+
] }), yt = "_payment_1lxfv_1", Ct = {
|
|
921
|
+
payment: yt
|
|
900
922
|
};
|
|
901
|
-
function
|
|
902
|
-
let [t, s] =
|
|
903
|
-
return !t.active && !t.payment ? "" : /* @__PURE__ */ r.jsx("div", { className:
|
|
923
|
+
function Et() {
|
|
924
|
+
let [t, s] = y.useState({});
|
|
925
|
+
return !t.active && !t.payment ? "" : /* @__PURE__ */ r.jsx("div", { className: Ct.payment, children: "Истек срок оплаты! Доступ доступен до 16.04.2024" });
|
|
904
926
|
}
|
|
905
|
-
const
|
|
906
|
-
|
|
907
|
-
/* @__PURE__ */ r.
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
927
|
+
const Qt = ({ children: t, ...s }) => {
|
|
928
|
+
let a = {};
|
|
929
|
+
return a.enCode = (c) => JSON.stringify(c).toString(), a.deCode = (c) => JSON.parse(c), /* @__PURE__ */ r.jsxs("div", { className: "app", children: [
|
|
930
|
+
/* @__PURE__ */ r.jsx(Et, {}),
|
|
931
|
+
/* @__PURE__ */ r.jsx(bt, {}),
|
|
932
|
+
/* @__PURE__ */ r.jsx(gt, {}),
|
|
933
|
+
/* @__PURE__ */ r.jsx(jt, { config: { modal: {} }, crypto: a }),
|
|
934
|
+
t
|
|
935
|
+
] });
|
|
936
|
+
}, Rt = ({ list: t, onClick: s, active: a, size: c, view: v }) => /* @__PURE__ */ r.jsx("nav", { children: /* @__PURE__ */ r.jsx("ul", { className: [c, v].join(" "), children: t.map((m) => /* @__PURE__ */ r.jsx(
|
|
937
|
+
St,
|
|
913
938
|
{
|
|
914
939
|
onClick: s,
|
|
915
|
-
active:
|
|
940
|
+
active: a,
|
|
916
941
|
label: m.label,
|
|
917
942
|
link: m.link
|
|
918
943
|
},
|
|
919
944
|
m.link
|
|
920
|
-
)) }) }),
|
|
921
|
-
|
|
922
|
-
const
|
|
945
|
+
)) }) }), St = ({ onClick: t, label: s, link: a, active: c }) => /* @__PURE__ */ r.jsx("li", { "tabs-active": String(c === a), onClick: () => t(a), children: s });
|
|
946
|
+
Rt.defaultProps = { size: "M", view: "H" };
|
|
947
|
+
const kt = ({
|
|
923
948
|
title: t = "",
|
|
924
949
|
button: s,
|
|
925
|
-
description:
|
|
950
|
+
description: a = "",
|
|
926
951
|
children: c
|
|
927
952
|
}) => /* @__PURE__ */ r.jsxs("fieldset", { children: [
|
|
928
953
|
t && /* @__PURE__ */ r.jsxs("legend", { children: [
|
|
@@ -938,22 +963,22 @@ const Rt = ({
|
|
|
938
963
|
" "
|
|
939
964
|
] }),
|
|
940
965
|
/* @__PURE__ */ r.jsx("ul", { children: c }),
|
|
941
|
-
|
|
942
|
-
] }),
|
|
943
|
-
setting:
|
|
944
|
-
},
|
|
945
|
-
let [
|
|
966
|
+
a && /* @__PURE__ */ r.jsx("article", { children: a })
|
|
967
|
+
] }), wt = "_setting_1r0pc_2", Tt = {
|
|
968
|
+
setting: wt
|
|
969
|
+
}, Ot = ({ children: t }) => /* @__PURE__ */ r.jsx("div", { className: Tt.setting, children: t }), Pt = ({ label: t, children: s }) => {
|
|
970
|
+
let [a, c] = y.useState(!1);
|
|
946
971
|
return /* @__PURE__ */ r.jsxs("li", { "data-item": "accordion", children: [
|
|
947
|
-
/* @__PURE__ */ r.jsxs("dl", { onClick: () => c(!
|
|
972
|
+
/* @__PURE__ */ r.jsxs("dl", { onClick: () => c(!a), children: [
|
|
948
973
|
/* @__PURE__ */ r.jsx("dt", { children: t }),
|
|
949
|
-
/* @__PURE__ */ r.jsx("dd", { children: /* @__PURE__ */ r.jsx("div", { "data-close": String(
|
|
974
|
+
/* @__PURE__ */ r.jsx("dd", { children: /* @__PURE__ */ r.jsx("div", { "data-close": String(a) }) })
|
|
950
975
|
] }),
|
|
951
|
-
|
|
976
|
+
a && /* @__PURE__ */ r.jsx("div", { children: s })
|
|
952
977
|
] });
|
|
953
|
-
},
|
|
978
|
+
}, $t = ({ label: t, onClick: s, button: a }) => /* @__PURE__ */ r.jsx("li", { children: /* @__PURE__ */ r.jsxs("dl", { children: [
|
|
954
979
|
/* @__PURE__ */ r.jsx("dt", { children: t }),
|
|
955
|
-
/* @__PURE__ */ r.jsx("dd", { role: "button", onClick: () => s(), children:
|
|
956
|
-
] }) }),
|
|
980
|
+
/* @__PURE__ */ r.jsx("dd", { role: "button", onClick: () => s(), children: a })
|
|
981
|
+
] }) }), zt = ({ active: t, onClick: s }) => (console.log(t), t = typeof t == "number" ? !!t : t, /* @__PURE__ */ r.jsx(
|
|
957
982
|
"div",
|
|
958
983
|
{
|
|
959
984
|
role: "switch",
|
|
@@ -962,60 +987,71 @@ const Rt = ({
|
|
|
962
987
|
},
|
|
963
988
|
"aria-checked": t ? "true" : "false"
|
|
964
989
|
}
|
|
965
|
-
)),
|
|
990
|
+
)), At = { Switch: zt }, It = ({ label: t, onClick: s, active: a }) => /* @__PURE__ */ r.jsx("li", { children: /* @__PURE__ */ r.jsxs("dl", { children: [
|
|
966
991
|
/* @__PURE__ */ r.jsx("dt", { children: t }),
|
|
967
|
-
/* @__PURE__ */ r.jsx("dd", { children: /* @__PURE__ */ r.jsx(
|
|
968
|
-
] }) }),
|
|
992
|
+
/* @__PURE__ */ r.jsx("dd", { children: /* @__PURE__ */ r.jsx(At.Switch, { onClick: s, active: a }) })
|
|
993
|
+
] }) }), Nt = ({ label: t, active: s, options: a }) => /* @__PURE__ */ r.jsx("li", { children: /* @__PURE__ */ r.jsxs("dl", { children: [
|
|
969
994
|
/* @__PURE__ */ r.jsx("dt", { children: t }),
|
|
970
995
|
/* @__PURE__ */ r.jsx("dd", { role: "info", children: s })
|
|
971
|
-
] }) }),
|
|
996
|
+
] }) }), Dt = ({ label: t, info: s }) => /* @__PURE__ */ r.jsx("li", { children: /* @__PURE__ */ r.jsxs("dl", { children: [
|
|
972
997
|
/* @__PURE__ */ r.jsx("dt", { children: t }),
|
|
973
998
|
/* @__PURE__ */ r.jsx("dd", { role: "info", children: s })
|
|
974
|
-
] }) }),
|
|
999
|
+
] }) }), Ft = ({ label: t, children: s }) => /* @__PURE__ */ r.jsx("li", { children: /* @__PURE__ */ r.jsxs("dl", { children: [
|
|
975
1000
|
/* @__PURE__ */ r.jsx("dt", { children: t }),
|
|
976
1001
|
/* @__PURE__ */ r.jsx("dd", { children: s })
|
|
977
|
-
] }) }),
|
|
1002
|
+
] }) }), Lt = ({ label: t, children: s }) => /* @__PURE__ */ r.jsx("li", { children: /* @__PURE__ */ r.jsxs("dl", { children: [
|
|
978
1003
|
/* @__PURE__ */ r.jsx("dt", { children: t }),
|
|
979
1004
|
/* @__PURE__ */ r.jsx("dd", { children: s })
|
|
980
|
-
] }) }),
|
|
981
|
-
function De({ list: t, onClick: s, active:
|
|
1005
|
+
] }) }), Mt = { Accordion: Pt, Button: $t, Switch: It, Info: Dt, Select: Nt, Component: Ft, Node: Lt };
|
|
1006
|
+
function De({ list: t, onClick: s, active: a, size: c, view: v }) {
|
|
982
1007
|
return /* @__PURE__ */ r.jsx("nav", { children: /* @__PURE__ */ r.jsx("ul", { className: [c, v].join(" "), children: t.map((m) => /* @__PURE__ */ r.jsx(
|
|
983
|
-
|
|
1008
|
+
Wt,
|
|
984
1009
|
{
|
|
985
1010
|
onClick: s,
|
|
986
|
-
active:
|
|
1011
|
+
active: a,
|
|
987
1012
|
label: m.label,
|
|
988
1013
|
link: m.link
|
|
989
1014
|
},
|
|
990
1015
|
m.link
|
|
991
1016
|
)) }) });
|
|
992
1017
|
}
|
|
993
|
-
const
|
|
1018
|
+
const Wt = ({ onClick: t, label: s, link: a, active: c }) => /* @__PURE__ */ r.jsx("li", { "tabs-active": String(c === a), onClick: () => t(a), children: s });
|
|
994
1019
|
De.defaultProps = { size: "M", view: "H" };
|
|
995
|
-
const
|
|
996
|
-
h:
|
|
997
|
-
t:
|
|
998
|
-
s:
|
|
1020
|
+
const en = { Section: kt, Main: Ot, Item: Mt, Tabs: De }, Yt = "_h_1b5x7_1", Vt = "_t_1b5x7_10", Bt = "_s_1b5x7_28", Ut = "_u_1b5x7_37", qt = "_o_1b5x7_44", Jt = "_l_1b5x7_53", Ht = "_hh_1b5x7_60", A = {
|
|
1021
|
+
h: Yt,
|
|
1022
|
+
t: Vt,
|
|
1023
|
+
s: Bt,
|
|
999
1024
|
u: Ut,
|
|
1000
|
-
o:
|
|
1001
|
-
l:
|
|
1025
|
+
o: qt,
|
|
1026
|
+
l: Jt,
|
|
1002
1027
|
hh: Ht
|
|
1003
|
-
},
|
|
1028
|
+
}, Ae = ({ title: t, children: s }) => /* @__PURE__ */ r.jsxs("div", { className: A.h, children: [
|
|
1004
1029
|
/* @__PURE__ */ r.jsx("div", { className: A.t, children: t }),
|
|
1005
1030
|
s
|
|
1006
|
-
] }),
|
|
1031
|
+
] }), Gt = ({ children: t, title: s }) => /* @__PURE__ */ r.jsxs("div", { className: A.o, children: [
|
|
1007
1032
|
s && /* @__PURE__ */ r.jsx("div", { className: A.hh, children: s }),
|
|
1008
1033
|
t
|
|
1009
|
-
] }),
|
|
1034
|
+
] }), Zt = ({ children: t }) => /* @__PURE__ */ r.jsx("div", { className: A.u, children: t }), Ie = ({ children: t }) => /* @__PURE__ */ r.jsx("div", { className: A.s, children: t }), Ne = ({ children: t, ...s }) => /* @__PURE__ */ r.jsx("div", { className: A.l, children: t }), rn = { Header: Ae, Section: Ie, List: Ne, U: Zt, L: Ne, O: Gt, S: Ie, H: Ae }, tn = { Send: wr, Error: Tr, Remark: Pr, Success: Or, Copy: $r }, nn = { Send: Mr };
|
|
1035
|
+
function Kt() {
|
|
1036
|
+
return /* @__PURE__ */ r.jsx("svg", { viewBox: "0 0 462.86 359.96", children: /* @__PURE__ */ r.jsx(
|
|
1037
|
+
"path",
|
|
1038
|
+
{
|
|
1039
|
+
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",
|
|
1040
|
+
transform: "translate(-88.37 0)"
|
|
1041
|
+
}
|
|
1042
|
+
) });
|
|
1043
|
+
}
|
|
1044
|
+
const sn = { Logo: Kt };
|
|
1010
1045
|
export {
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1046
|
+
At as Action,
|
|
1047
|
+
nn as Alert,
|
|
1048
|
+
Qt as Browser,
|
|
1049
|
+
Vr as Button,
|
|
1050
|
+
rn as Component,
|
|
1051
|
+
sn as Icon,
|
|
1052
|
+
jt as Init,
|
|
1053
|
+
mt as Modal,
|
|
1054
|
+
tn as Notice,
|
|
1055
|
+
en as Setting,
|
|
1056
|
+
Rt as Tabs
|
|
1021
1057
|
};
|