elcrm 0.2.1 → 0.2.2
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 +619 -571
- package/dist/index.umd.js +10 -10
- package/dist/lib/Router/index.d.ts +12 -1
- package/dist/lib/Store/Store.d.ts +12 -0
- package/dist/lib/Store/index.d.ts +2 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './index.css';
|
|
2
2
|
import C from "react";
|
|
3
|
-
var
|
|
3
|
+
var ce = { exports: {} }, V = {};
|
|
4
4
|
/**
|
|
5
5
|
* @license React
|
|
6
6
|
* react-jsx-runtime.production.min.js
|
|
@@ -10,25 +10,25 @@ var oe = { exports: {} }, Y = {};
|
|
|
10
10
|
* This source code is licensed under the MIT license found in the
|
|
11
11
|
* LICENSE file in the root directory of this source tree.
|
|
12
12
|
*/
|
|
13
|
-
var
|
|
14
|
-
function
|
|
15
|
-
if (
|
|
16
|
-
return
|
|
17
|
-
|
|
18
|
-
var
|
|
19
|
-
function
|
|
20
|
-
var g,
|
|
21
|
-
|
|
22
|
-
for (g in
|
|
23
|
-
i.call(
|
|
24
|
-
if (
|
|
25
|
-
for (g in
|
|
26
|
-
|
|
27
|
-
return { $$typeof:
|
|
13
|
+
var ze;
|
|
14
|
+
function Ct() {
|
|
15
|
+
if (ze)
|
|
16
|
+
return V;
|
|
17
|
+
ze = 1;
|
|
18
|
+
var t = C, 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
|
+
function A(R, x, P) {
|
|
20
|
+
var g, b = {}, k = null, J = null;
|
|
21
|
+
P !== void 0 && (k = "" + P), x.key !== void 0 && (k = "" + x.key), x.ref !== void 0 && (J = x.ref);
|
|
22
|
+
for (g in x)
|
|
23
|
+
i.call(x, g) && !p.hasOwnProperty(g) && (b[g] = x[g]);
|
|
24
|
+
if (R && R.defaultProps)
|
|
25
|
+
for (g in x = R.defaultProps, x)
|
|
26
|
+
b[g] === void 0 && (b[g] = x[g]);
|
|
27
|
+
return { $$typeof: n, type: R, key: k, ref: J, props: b, _owner: v.current };
|
|
28
28
|
}
|
|
29
|
-
return
|
|
29
|
+
return V.Fragment = a, V.jsx = A, V.jsxs = A, V;
|
|
30
30
|
}
|
|
31
|
-
var
|
|
31
|
+
var B = {};
|
|
32
32
|
/**
|
|
33
33
|
* @license React
|
|
34
34
|
* react-jsx-runtime.development.js
|
|
@@ -38,91 +38,91 @@ var U = {};
|
|
|
38
38
|
* This source code is licensed under the MIT license found in the
|
|
39
39
|
* LICENSE file in the root directory of this source tree.
|
|
40
40
|
*/
|
|
41
|
-
var
|
|
42
|
-
function
|
|
43
|
-
return
|
|
44
|
-
var
|
|
41
|
+
var Ne;
|
|
42
|
+
function St() {
|
|
43
|
+
return Ne || (Ne = 1, process.env.NODE_ENV !== "production" && function() {
|
|
44
|
+
var t = C, 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"), P = Symbol.for("react.suspense"), g = Symbol.for("react.suspense_list"), b = Symbol.for("react.memo"), k = Symbol.for("react.lazy"), J = Symbol.for("react.offscreen"), ue = Symbol.iterator, Ye = "@@iterator";
|
|
45
45
|
function Ue(e) {
|
|
46
46
|
if (e === null || typeof e != "object")
|
|
47
47
|
return null;
|
|
48
|
-
var
|
|
49
|
-
return typeof
|
|
48
|
+
var s = ue && e[ue] || e[Ye];
|
|
49
|
+
return typeof s == "function" ? s : null;
|
|
50
50
|
}
|
|
51
|
-
var
|
|
52
|
-
function
|
|
51
|
+
var F = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
52
|
+
function j(e) {
|
|
53
53
|
{
|
|
54
|
-
for (var
|
|
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
|
Ve("error", e, o);
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
|
-
function Ve(e,
|
|
59
|
+
function Ve(e, s, o) {
|
|
60
60
|
{
|
|
61
|
-
var c =
|
|
62
|
-
|
|
63
|
-
var
|
|
64
|
-
return String(
|
|
61
|
+
var c = F.ReactDebugCurrentFrame, d = c.getStackAddendum();
|
|
62
|
+
d !== "" && (s += "%s", o = o.concat([d]));
|
|
63
|
+
var _ = o.map(function(f) {
|
|
64
|
+
return String(f);
|
|
65
65
|
});
|
|
66
|
-
|
|
66
|
+
_.unshift("Warning: " + s), Function.prototype.apply.call(console[e], console, _);
|
|
67
67
|
}
|
|
68
68
|
}
|
|
69
|
-
var Be = !1, qe = !1, He = !1, Je = !1, Ge = !1,
|
|
70
|
-
|
|
69
|
+
var Be = !1, qe = !1, He = !1, Je = !1, Ge = !1, fe;
|
|
70
|
+
fe = Symbol.for("react.module.reference");
|
|
71
71
|
function Ze(e) {
|
|
72
|
-
return !!(typeof e == "string" || typeof e == "function" || e === i || e === p || Ge || e === v || e ===
|
|
72
|
+
return !!(typeof e == "string" || typeof e == "function" || e === i || e === p || Ge || e === v || e === P || e === g || Je || e === J || Be || qe || He || typeof e == "object" && e !== null && (e.$$typeof === k || e.$$typeof === b || 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
|
-
e.$$typeof ===
|
|
76
|
+
e.$$typeof === fe || e.getModuleId !== void 0));
|
|
77
77
|
}
|
|
78
|
-
function Ke(e,
|
|
78
|
+
function Ke(e, s, o) {
|
|
79
79
|
var c = e.displayName;
|
|
80
80
|
if (c)
|
|
81
81
|
return c;
|
|
82
|
-
var
|
|
83
|
-
return
|
|
82
|
+
var d = s.displayName || s.name || "";
|
|
83
|
+
return d !== "" ? o + "(" + d + ")" : o;
|
|
84
84
|
}
|
|
85
|
-
function
|
|
85
|
+
function de(e) {
|
|
86
86
|
return e.displayName || "Context";
|
|
87
87
|
}
|
|
88
|
-
function
|
|
88
|
+
function w(e) {
|
|
89
89
|
if (e == null)
|
|
90
90
|
return null;
|
|
91
|
-
if (typeof e.tag == "number" &&
|
|
91
|
+
if (typeof e.tag == "number" && j("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
92
92
|
return e.displayName || e.name || null;
|
|
93
93
|
if (typeof e == "string")
|
|
94
94
|
return e;
|
|
95
95
|
switch (e) {
|
|
96
96
|
case i:
|
|
97
97
|
return "Fragment";
|
|
98
|
-
case
|
|
98
|
+
case a:
|
|
99
99
|
return "Portal";
|
|
100
100
|
case p:
|
|
101
101
|
return "Profiler";
|
|
102
102
|
case v:
|
|
103
103
|
return "StrictMode";
|
|
104
|
-
case
|
|
104
|
+
case P:
|
|
105
105
|
return "Suspense";
|
|
106
106
|
case g:
|
|
107
107
|
return "SuspenseList";
|
|
108
108
|
}
|
|
109
109
|
if (typeof e == "object")
|
|
110
110
|
switch (e.$$typeof) {
|
|
111
|
-
case
|
|
112
|
-
var
|
|
113
|
-
return
|
|
114
|
-
case
|
|
111
|
+
case R:
|
|
112
|
+
var s = e;
|
|
113
|
+
return de(s) + ".Consumer";
|
|
114
|
+
case A:
|
|
115
115
|
var o = e;
|
|
116
|
-
return
|
|
117
|
-
case
|
|
116
|
+
return de(o._context) + ".Provider";
|
|
117
|
+
case x:
|
|
118
118
|
return Ke(e, e.render, "ForwardRef");
|
|
119
|
-
case
|
|
119
|
+
case b:
|
|
120
120
|
var c = e.displayName || null;
|
|
121
|
-
return c !== null ? c :
|
|
122
|
-
case
|
|
123
|
-
var
|
|
121
|
+
return c !== null ? c : w(e.type) || "Memo";
|
|
122
|
+
case k: {
|
|
123
|
+
var d = e, _ = d._payload, f = d._init;
|
|
124
124
|
try {
|
|
125
|
-
return
|
|
125
|
+
return w(f(_));
|
|
126
126
|
} catch {
|
|
127
127
|
return null;
|
|
128
128
|
}
|
|
@@ -130,18 +130,18 @@ function Er() {
|
|
|
130
130
|
}
|
|
131
131
|
return null;
|
|
132
132
|
}
|
|
133
|
-
var
|
|
134
|
-
function
|
|
133
|
+
var z = Object.assign, Y = 0, _e, me, ve, he, xe, pe, ge;
|
|
134
|
+
function be() {
|
|
135
135
|
}
|
|
136
|
-
|
|
136
|
+
be.__reactDisabledLog = !0;
|
|
137
137
|
function Xe() {
|
|
138
138
|
{
|
|
139
|
-
if (
|
|
140
|
-
|
|
139
|
+
if (Y === 0) {
|
|
140
|
+
_e = console.log, me = 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,
|
|
144
|
-
value:
|
|
144
|
+
value: be,
|
|
145
145
|
writable: !0
|
|
146
146
|
};
|
|
147
147
|
Object.defineProperties(console, {
|
|
@@ -154,254 +154,254 @@ function Er() {
|
|
|
154
154
|
groupEnd: e
|
|
155
155
|
});
|
|
156
156
|
}
|
|
157
|
-
|
|
157
|
+
Y++;
|
|
158
158
|
}
|
|
159
159
|
}
|
|
160
160
|
function Qe() {
|
|
161
161
|
{
|
|
162
|
-
if (
|
|
162
|
+
if (Y--, Y === 0) {
|
|
163
163
|
var e = {
|
|
164
164
|
configurable: !0,
|
|
165
165
|
enumerable: !0,
|
|
166
166
|
writable: !0
|
|
167
167
|
};
|
|
168
168
|
Object.defineProperties(console, {
|
|
169
|
-
log:
|
|
170
|
-
value: de
|
|
171
|
-
}),
|
|
172
|
-
info: $({}, e, {
|
|
169
|
+
log: z({}, e, {
|
|
173
170
|
value: _e
|
|
174
171
|
}),
|
|
175
|
-
|
|
176
|
-
value: ve
|
|
177
|
-
}),
|
|
178
|
-
error: $({}, e, {
|
|
172
|
+
info: z({}, e, {
|
|
179
173
|
value: me
|
|
180
174
|
}),
|
|
181
|
-
|
|
175
|
+
warn: z({}, e, {
|
|
176
|
+
value: ve
|
|
177
|
+
}),
|
|
178
|
+
error: z({}, e, {
|
|
182
179
|
value: he
|
|
183
180
|
}),
|
|
184
|
-
|
|
181
|
+
group: z({}, e, {
|
|
185
182
|
value: xe
|
|
186
183
|
}),
|
|
187
|
-
|
|
184
|
+
groupCollapsed: z({}, e, {
|
|
188
185
|
value: pe
|
|
186
|
+
}),
|
|
187
|
+
groupEnd: z({}, e, {
|
|
188
|
+
value: ge
|
|
189
189
|
})
|
|
190
190
|
});
|
|
191
191
|
}
|
|
192
|
-
|
|
192
|
+
Y < 0 && j("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
193
193
|
}
|
|
194
194
|
}
|
|
195
|
-
var
|
|
196
|
-
function
|
|
195
|
+
var ee = F.ReactCurrentDispatcher, te;
|
|
196
|
+
function G(e, s, o) {
|
|
197
197
|
{
|
|
198
|
-
if (
|
|
198
|
+
if (te === void 0)
|
|
199
199
|
try {
|
|
200
200
|
throw Error();
|
|
201
|
-
} catch (
|
|
202
|
-
var c =
|
|
203
|
-
|
|
201
|
+
} catch (d) {
|
|
202
|
+
var c = d.stack.trim().match(/\n( *(at )?)/);
|
|
203
|
+
te = c && c[1] || "";
|
|
204
204
|
}
|
|
205
205
|
return `
|
|
206
|
-
` +
|
|
206
|
+
` + te + e;
|
|
207
207
|
}
|
|
208
208
|
}
|
|
209
|
-
var
|
|
209
|
+
var re = !1, Z;
|
|
210
210
|
{
|
|
211
|
-
var
|
|
212
|
-
|
|
211
|
+
var et = typeof WeakMap == "function" ? WeakMap : Map;
|
|
212
|
+
Z = new et();
|
|
213
213
|
}
|
|
214
|
-
function je(e,
|
|
215
|
-
if (!e ||
|
|
214
|
+
function je(e, s) {
|
|
215
|
+
if (!e || re)
|
|
216
216
|
return "";
|
|
217
217
|
{
|
|
218
|
-
var o =
|
|
218
|
+
var o = Z.get(e);
|
|
219
219
|
if (o !== void 0)
|
|
220
220
|
return o;
|
|
221
221
|
}
|
|
222
222
|
var c;
|
|
223
|
-
|
|
224
|
-
var
|
|
223
|
+
re = !0;
|
|
224
|
+
var d = Error.prepareStackTrace;
|
|
225
225
|
Error.prepareStackTrace = void 0;
|
|
226
|
-
var
|
|
227
|
-
|
|
226
|
+
var _;
|
|
227
|
+
_ = ee.current, ee.current = null, Xe();
|
|
228
228
|
try {
|
|
229
|
-
if (
|
|
230
|
-
var
|
|
229
|
+
if (s) {
|
|
230
|
+
var f = function() {
|
|
231
231
|
throw Error();
|
|
232
232
|
};
|
|
233
|
-
if (Object.defineProperty(
|
|
233
|
+
if (Object.defineProperty(f.prototype, "props", {
|
|
234
234
|
set: function() {
|
|
235
235
|
throw Error();
|
|
236
236
|
}
|
|
237
237
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
238
238
|
try {
|
|
239
|
-
Reflect.construct(
|
|
240
|
-
} catch (
|
|
241
|
-
c =
|
|
239
|
+
Reflect.construct(f, []);
|
|
240
|
+
} catch (T) {
|
|
241
|
+
c = T;
|
|
242
242
|
}
|
|
243
|
-
Reflect.construct(e, [],
|
|
243
|
+
Reflect.construct(e, [], f);
|
|
244
244
|
} else {
|
|
245
245
|
try {
|
|
246
|
-
|
|
247
|
-
} catch (
|
|
248
|
-
c =
|
|
246
|
+
f.call();
|
|
247
|
+
} catch (T) {
|
|
248
|
+
c = T;
|
|
249
249
|
}
|
|
250
|
-
e.call(
|
|
250
|
+
e.call(f.prototype);
|
|
251
251
|
}
|
|
252
252
|
} else {
|
|
253
253
|
try {
|
|
254
254
|
throw Error();
|
|
255
|
-
} catch (
|
|
256
|
-
c =
|
|
255
|
+
} catch (T) {
|
|
256
|
+
c = T;
|
|
257
257
|
}
|
|
258
258
|
e();
|
|
259
259
|
}
|
|
260
|
-
} catch (
|
|
261
|
-
if (
|
|
262
|
-
for (var
|
|
260
|
+
} catch (T) {
|
|
261
|
+
if (T && c && typeof T.stack == "string") {
|
|
262
|
+
for (var u = T.stack.split(`
|
|
263
263
|
`), y = c.stack.split(`
|
|
264
|
-
`),
|
|
265
|
-
|
|
266
|
-
for (;
|
|
267
|
-
if (
|
|
268
|
-
if (
|
|
264
|
+
`), m = u.length - 1, h = y.length - 1; m >= 1 && h >= 0 && u[m] !== y[h]; )
|
|
265
|
+
h--;
|
|
266
|
+
for (; m >= 1 && h >= 0; m--, h--)
|
|
267
|
+
if (u[m] !== y[h]) {
|
|
268
|
+
if (m !== 1 || h !== 1)
|
|
269
269
|
do
|
|
270
|
-
if (
|
|
271
|
-
var
|
|
272
|
-
` +
|
|
273
|
-
return e.displayName &&
|
|
270
|
+
if (m--, h--, h < 0 || u[m] !== y[h]) {
|
|
271
|
+
var S = `
|
|
272
|
+
` + u[m].replace(" at new ", " at ");
|
|
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 (m >= 1 && h >= 0);
|
|
276
276
|
break;
|
|
277
277
|
}
|
|
278
278
|
}
|
|
279
279
|
} finally {
|
|
280
|
-
|
|
280
|
+
re = !1, ee.current = _, Qe(), Error.prepareStackTrace = d;
|
|
281
281
|
}
|
|
282
|
-
var
|
|
283
|
-
return typeof e == "function" &&
|
|
282
|
+
var L = e ? e.displayName || e.name : "", Ae = L ? G(L) : "";
|
|
283
|
+
return typeof e == "function" && Z.set(e, Ae), Ae;
|
|
284
284
|
}
|
|
285
|
-
function
|
|
285
|
+
function tt(e, s, o) {
|
|
286
286
|
return je(e, !1);
|
|
287
287
|
}
|
|
288
|
-
function
|
|
289
|
-
var
|
|
290
|
-
return !!(
|
|
288
|
+
function rt(e) {
|
|
289
|
+
var s = e.prototype;
|
|
290
|
+
return !!(s && s.isReactComponent);
|
|
291
291
|
}
|
|
292
|
-
function
|
|
292
|
+
function K(e, s, o) {
|
|
293
293
|
if (e == null)
|
|
294
294
|
return "";
|
|
295
295
|
if (typeof e == "function")
|
|
296
|
-
return je(e,
|
|
296
|
+
return je(e, rt(e));
|
|
297
297
|
if (typeof e == "string")
|
|
298
|
-
return
|
|
298
|
+
return G(e);
|
|
299
299
|
switch (e) {
|
|
300
|
-
case
|
|
301
|
-
return
|
|
300
|
+
case P:
|
|
301
|
+
return G("Suspense");
|
|
302
302
|
case g:
|
|
303
|
-
return
|
|
303
|
+
return G("SuspenseList");
|
|
304
304
|
}
|
|
305
305
|
if (typeof e == "object")
|
|
306
306
|
switch (e.$$typeof) {
|
|
307
|
-
case
|
|
308
|
-
return
|
|
309
|
-
case
|
|
310
|
-
return
|
|
311
|
-
case
|
|
312
|
-
var c = e,
|
|
307
|
+
case x:
|
|
308
|
+
return tt(e.render);
|
|
309
|
+
case b:
|
|
310
|
+
return K(e.type, s, o);
|
|
311
|
+
case k: {
|
|
312
|
+
var c = e, d = c._payload, _ = c._init;
|
|
313
313
|
try {
|
|
314
|
-
return
|
|
314
|
+
return K(_(d), s, o);
|
|
315
315
|
} catch {
|
|
316
316
|
}
|
|
317
317
|
}
|
|
318
318
|
}
|
|
319
319
|
return "";
|
|
320
320
|
}
|
|
321
|
-
var
|
|
322
|
-
function
|
|
321
|
+
var X = Object.prototype.hasOwnProperty, ye = {}, Ce = F.ReactDebugCurrentFrame;
|
|
322
|
+
function Q(e) {
|
|
323
323
|
if (e) {
|
|
324
|
-
var
|
|
325
|
-
|
|
324
|
+
var s = e._owner, o = K(e.type, e._source, s ? s.type : null);
|
|
325
|
+
Ce.setExtraStackFrame(o);
|
|
326
326
|
} else
|
|
327
|
-
|
|
327
|
+
Ce.setExtraStackFrame(null);
|
|
328
328
|
}
|
|
329
|
-
function
|
|
329
|
+
function nt(e, s, o, c, d) {
|
|
330
330
|
{
|
|
331
|
-
var
|
|
332
|
-
for (var
|
|
333
|
-
if (
|
|
334
|
-
var
|
|
331
|
+
var _ = Function.call.bind(X);
|
|
332
|
+
for (var f in e)
|
|
333
|
+
if (_(e, f)) {
|
|
334
|
+
var u = void 0;
|
|
335
335
|
try {
|
|
336
|
-
if (typeof e[
|
|
337
|
-
var y = Error((c || "React class") + ": " + o + " type `" +
|
|
336
|
+
if (typeof e[f] != "function") {
|
|
337
|
+
var y = 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
338
|
throw y.name = "Invariant Violation", y;
|
|
339
339
|
}
|
|
340
|
-
|
|
341
|
-
} catch (
|
|
342
|
-
|
|
340
|
+
u = e[f](s, f, c, o, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
341
|
+
} catch (m) {
|
|
342
|
+
u = m;
|
|
343
343
|
}
|
|
344
|
-
|
|
344
|
+
u && !(u instanceof Error) && (Q(d), j("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", c || "React class", o, f, typeof u), Q(null)), u instanceof Error && !(u.message in ye) && (ye[u.message] = !0, Q(d), j("Failed %s type: %s", o, u.message), Q(null));
|
|
345
345
|
}
|
|
346
346
|
}
|
|
347
347
|
}
|
|
348
|
-
var
|
|
349
|
-
function
|
|
350
|
-
return
|
|
348
|
+
var st = Array.isArray;
|
|
349
|
+
function ne(e) {
|
|
350
|
+
return st(e);
|
|
351
351
|
}
|
|
352
|
-
function
|
|
352
|
+
function at(e) {
|
|
353
353
|
{
|
|
354
|
-
var
|
|
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 ot(e) {
|
|
359
359
|
try {
|
|
360
|
-
return
|
|
360
|
+
return Se(e), !1;
|
|
361
361
|
} catch {
|
|
362
362
|
return !0;
|
|
363
363
|
}
|
|
364
364
|
}
|
|
365
|
-
function
|
|
365
|
+
function Se(e) {
|
|
366
366
|
return "" + e;
|
|
367
367
|
}
|
|
368
368
|
function Ee(e) {
|
|
369
|
-
if (
|
|
370
|
-
return
|
|
369
|
+
if (ot(e))
|
|
370
|
+
return j("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", at(e)), Se(e);
|
|
371
371
|
}
|
|
372
|
-
var
|
|
372
|
+
var U = F.ReactCurrentOwner, it = {
|
|
373
373
|
key: !0,
|
|
374
374
|
ref: !0,
|
|
375
375
|
__self: !0,
|
|
376
376
|
__source: !0
|
|
377
|
-
},
|
|
378
|
-
|
|
379
|
-
function
|
|
380
|
-
if (
|
|
381
|
-
var
|
|
382
|
-
if (
|
|
377
|
+
}, Re, ke, se;
|
|
378
|
+
se = {};
|
|
379
|
+
function ct(e) {
|
|
380
|
+
if (X.call(e, "ref")) {
|
|
381
|
+
var s = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
382
|
+
if (s && s.isReactWarning)
|
|
383
383
|
return !1;
|
|
384
384
|
}
|
|
385
385
|
return e.ref !== void 0;
|
|
386
386
|
}
|
|
387
|
-
function
|
|
388
|
-
if (
|
|
389
|
-
var
|
|
390
|
-
if (
|
|
387
|
+
function lt(e) {
|
|
388
|
+
if (X.call(e, "key")) {
|
|
389
|
+
var s = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
390
|
+
if (s && s.isReactWarning)
|
|
391
391
|
return !1;
|
|
392
392
|
}
|
|
393
393
|
return e.key !== void 0;
|
|
394
394
|
}
|
|
395
|
-
function
|
|
396
|
-
if (typeof e.ref == "string" &&
|
|
397
|
-
var o =
|
|
398
|
-
|
|
395
|
+
function ut(e, s) {
|
|
396
|
+
if (typeof e.ref == "string" && U.current && s && U.current.stateNode !== s) {
|
|
397
|
+
var o = w(U.current.type);
|
|
398
|
+
se[o] || (j('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', w(U.current.type), e.ref), se[o] = !0);
|
|
399
399
|
}
|
|
400
400
|
}
|
|
401
|
-
function
|
|
401
|
+
function ft(e, s) {
|
|
402
402
|
{
|
|
403
403
|
var o = function() {
|
|
404
|
-
|
|
404
|
+
Re || (Re = !0, j("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", s));
|
|
405
405
|
};
|
|
406
406
|
o.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
407
407
|
get: o,
|
|
@@ -409,10 +409,10 @@ function Er() {
|
|
|
409
409
|
});
|
|
410
410
|
}
|
|
411
411
|
}
|
|
412
|
-
function
|
|
412
|
+
function dt(e, s) {
|
|
413
413
|
{
|
|
414
414
|
var o = function() {
|
|
415
|
-
|
|
415
|
+
ke || (ke = !0, j("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", s));
|
|
416
416
|
};
|
|
417
417
|
o.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
418
418
|
get: o,
|
|
@@ -420,70 +420,70 @@ function Er() {
|
|
|
420
420
|
});
|
|
421
421
|
}
|
|
422
422
|
}
|
|
423
|
-
var
|
|
424
|
-
var
|
|
423
|
+
var _t = function(e, s, o, c, d, _, f) {
|
|
424
|
+
var u = {
|
|
425
425
|
// This tag allows us to uniquely identify this as a React Element
|
|
426
|
-
$$typeof:
|
|
426
|
+
$$typeof: n,
|
|
427
427
|
// Built-in properties that belong on the element
|
|
428
428
|
type: e,
|
|
429
|
-
key:
|
|
429
|
+
key: s,
|
|
430
430
|
ref: o,
|
|
431
|
-
props:
|
|
431
|
+
props: f,
|
|
432
432
|
// Record the component responsible for creating this element.
|
|
433
|
-
_owner:
|
|
433
|
+
_owner: _
|
|
434
434
|
};
|
|
435
|
-
return
|
|
435
|
+
return u._store = {}, Object.defineProperty(u._store, "validated", {
|
|
436
436
|
configurable: !1,
|
|
437
437
|
enumerable: !1,
|
|
438
438
|
writable: !0,
|
|
439
439
|
value: !1
|
|
440
|
-
}), Object.defineProperty(
|
|
440
|
+
}), Object.defineProperty(u, "_self", {
|
|
441
441
|
configurable: !1,
|
|
442
442
|
enumerable: !1,
|
|
443
443
|
writable: !1,
|
|
444
444
|
value: c
|
|
445
|
-
}), Object.defineProperty(
|
|
445
|
+
}), Object.defineProperty(u, "_source", {
|
|
446
446
|
configurable: !1,
|
|
447
447
|
enumerable: !1,
|
|
448
448
|
writable: !1,
|
|
449
|
-
value:
|
|
450
|
-
}), Object.freeze && (Object.freeze(
|
|
449
|
+
value: d
|
|
450
|
+
}), Object.freeze && (Object.freeze(u.props), Object.freeze(u)), u;
|
|
451
451
|
};
|
|
452
|
-
function
|
|
452
|
+
function mt(e, s, o, c, d) {
|
|
453
453
|
{
|
|
454
|
-
var
|
|
455
|
-
o !== void 0 && (Ee(o),
|
|
456
|
-
for (
|
|
457
|
-
|
|
454
|
+
var _, f = {}, u = null, y = null;
|
|
455
|
+
o !== void 0 && (Ee(o), u = "" + o), lt(s) && (Ee(s.key), u = "" + s.key), ct(s) && (y = s.ref, ut(s, d));
|
|
456
|
+
for (_ in s)
|
|
457
|
+
X.call(s, _) && !it.hasOwnProperty(_) && (f[_] = s[_]);
|
|
458
458
|
if (e && e.defaultProps) {
|
|
459
|
-
var
|
|
460
|
-
for (
|
|
461
|
-
|
|
459
|
+
var m = e.defaultProps;
|
|
460
|
+
for (_ in m)
|
|
461
|
+
f[_] === void 0 && (f[_] = m[_]);
|
|
462
462
|
}
|
|
463
|
-
if (
|
|
464
|
-
var
|
|
465
|
-
|
|
463
|
+
if (u || y) {
|
|
464
|
+
var h = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
465
|
+
u && ft(f, h), y && dt(f, h);
|
|
466
466
|
}
|
|
467
|
-
return
|
|
467
|
+
return _t(e, u, y, d, c, U.current, f);
|
|
468
468
|
}
|
|
469
469
|
}
|
|
470
|
-
var
|
|
471
|
-
function
|
|
470
|
+
var ae = F.ReactCurrentOwner, we = F.ReactDebugCurrentFrame;
|
|
471
|
+
function M(e) {
|
|
472
472
|
if (e) {
|
|
473
|
-
var
|
|
474
|
-
|
|
473
|
+
var s = e._owner, o = K(e.type, e._source, s ? s.type : null);
|
|
474
|
+
we.setExtraStackFrame(o);
|
|
475
475
|
} else
|
|
476
|
-
|
|
476
|
+
we.setExtraStackFrame(null);
|
|
477
477
|
}
|
|
478
|
-
var
|
|
479
|
-
|
|
480
|
-
function
|
|
481
|
-
return typeof e == "object" && e !== null && e.$$typeof ===
|
|
478
|
+
var oe;
|
|
479
|
+
oe = !1;
|
|
480
|
+
function ie(e) {
|
|
481
|
+
return typeof e == "object" && e !== null && e.$$typeof === n;
|
|
482
482
|
}
|
|
483
|
-
function
|
|
483
|
+
function Te() {
|
|
484
484
|
{
|
|
485
|
-
if (
|
|
486
|
-
var e =
|
|
485
|
+
if (ae.current) {
|
|
486
|
+
var e = w(ae.current.type);
|
|
487
487
|
if (e)
|
|
488
488
|
return `
|
|
489
489
|
|
|
@@ -492,222 +492,222 @@ Check the render method of \`` + e + "`.";
|
|
|
492
492
|
return "";
|
|
493
493
|
}
|
|
494
494
|
}
|
|
495
|
-
function
|
|
495
|
+
function vt(e) {
|
|
496
496
|
{
|
|
497
497
|
if (e !== void 0) {
|
|
498
|
-
var
|
|
498
|
+
var s = e.fileName.replace(/^.*[\\\/]/, ""), o = e.lineNumber;
|
|
499
499
|
return `
|
|
500
500
|
|
|
501
|
-
Check your code at ` +
|
|
501
|
+
Check your code at ` + s + ":" + o + ".";
|
|
502
502
|
}
|
|
503
503
|
return "";
|
|
504
504
|
}
|
|
505
505
|
}
|
|
506
|
-
var
|
|
507
|
-
function
|
|
506
|
+
var Pe = {};
|
|
507
|
+
function ht(e) {
|
|
508
508
|
{
|
|
509
|
-
var
|
|
510
|
-
if (!
|
|
509
|
+
var s = Te();
|
|
510
|
+
if (!s) {
|
|
511
511
|
var o = typeof e == "string" ? e : e.displayName || e.name;
|
|
512
|
-
o && (
|
|
512
|
+
o && (s = `
|
|
513
513
|
|
|
514
514
|
Check the top-level render call using <` + o + ">.");
|
|
515
515
|
}
|
|
516
|
-
return
|
|
516
|
+
return s;
|
|
517
517
|
}
|
|
518
518
|
}
|
|
519
|
-
function
|
|
519
|
+
function Ie(e, s) {
|
|
520
520
|
{
|
|
521
521
|
if (!e._store || e._store.validated || e.key != null)
|
|
522
522
|
return;
|
|
523
523
|
e._store.validated = !0;
|
|
524
|
-
var o =
|
|
525
|
-
if (
|
|
524
|
+
var o = ht(s);
|
|
525
|
+
if (Pe[o])
|
|
526
526
|
return;
|
|
527
|
-
|
|
527
|
+
Pe[o] = !0;
|
|
528
528
|
var c = "";
|
|
529
|
-
e && e._owner && e._owner !==
|
|
529
|
+
e && e._owner && e._owner !== ae.current && (c = " It was passed a child from " + w(e._owner.type) + "."), M(e), j('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', o, c), M(null);
|
|
530
530
|
}
|
|
531
531
|
}
|
|
532
|
-
function Oe(e,
|
|
532
|
+
function Oe(e, s) {
|
|
533
533
|
{
|
|
534
534
|
if (typeof e != "object")
|
|
535
535
|
return;
|
|
536
|
-
if (
|
|
536
|
+
if (ne(e))
|
|
537
537
|
for (var o = 0; o < e.length; o++) {
|
|
538
538
|
var c = e[o];
|
|
539
|
-
|
|
539
|
+
ie(c) && Ie(c, s);
|
|
540
540
|
}
|
|
541
|
-
else if (
|
|
541
|
+
else if (ie(e))
|
|
542
542
|
e._store && (e._store.validated = !0);
|
|
543
543
|
else if (e) {
|
|
544
|
-
var
|
|
545
|
-
if (typeof
|
|
546
|
-
for (var
|
|
547
|
-
|
|
544
|
+
var d = Ue(e);
|
|
545
|
+
if (typeof d == "function" && d !== e.entries)
|
|
546
|
+
for (var _ = d.call(e), f; !(f = _.next()).done; )
|
|
547
|
+
ie(f.value) && Ie(f.value, s);
|
|
548
548
|
}
|
|
549
549
|
}
|
|
550
550
|
}
|
|
551
|
-
function
|
|
551
|
+
function xt(e) {
|
|
552
552
|
{
|
|
553
|
-
var
|
|
554
|
-
if (
|
|
553
|
+
var s = e.type;
|
|
554
|
+
if (s == null || typeof s == "string")
|
|
555
555
|
return;
|
|
556
556
|
var o;
|
|
557
|
-
if (typeof
|
|
558
|
-
o =
|
|
559
|
-
else if (typeof
|
|
557
|
+
if (typeof s == "function")
|
|
558
|
+
o = s.propTypes;
|
|
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
|
-
|
|
562
|
-
o =
|
|
561
|
+
s.$$typeof === b))
|
|
562
|
+
o = s.propTypes;
|
|
563
563
|
else
|
|
564
564
|
return;
|
|
565
565
|
if (o) {
|
|
566
|
-
var c =
|
|
567
|
-
|
|
568
|
-
} else if (
|
|
569
|
-
|
|
570
|
-
var
|
|
571
|
-
|
|
566
|
+
var c = w(s);
|
|
567
|
+
nt(o, e.props, "prop", c, e);
|
|
568
|
+
} else if (s.PropTypes !== void 0 && !oe) {
|
|
569
|
+
oe = !0;
|
|
570
|
+
var d = w(s);
|
|
571
|
+
j("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", d || "Unknown");
|
|
572
572
|
}
|
|
573
|
-
typeof
|
|
573
|
+
typeof s.getDefaultProps == "function" && !s.getDefaultProps.isReactClassApproved && j("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
574
574
|
}
|
|
575
575
|
}
|
|
576
|
-
function
|
|
576
|
+
function pt(e) {
|
|
577
577
|
{
|
|
578
|
-
for (var
|
|
579
|
-
var c =
|
|
578
|
+
for (var s = Object.keys(e.props), o = 0; o < s.length; o++) {
|
|
579
|
+
var c = s[o];
|
|
580
580
|
if (c !== "children" && c !== "key") {
|
|
581
|
-
|
|
581
|
+
M(e), j("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 && (
|
|
585
|
+
e.ref !== null && (M(e), j("Invalid attribute `ref` supplied to `React.Fragment`."), M(null));
|
|
586
586
|
}
|
|
587
587
|
}
|
|
588
|
-
function
|
|
588
|
+
function $e(e, s, o, c, d, _) {
|
|
589
589
|
{
|
|
590
|
-
var
|
|
591
|
-
if (!
|
|
592
|
-
var
|
|
593
|
-
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (
|
|
594
|
-
var y =
|
|
595
|
-
y ?
|
|
596
|
-
var
|
|
597
|
-
e === null ?
|
|
590
|
+
var f = Ze(e);
|
|
591
|
+
if (!f) {
|
|
592
|
+
var u = "";
|
|
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 y = vt(d);
|
|
595
|
+
y ? u += y : u += Te();
|
|
596
|
+
var m;
|
|
597
|
+
e === null ? m = "null" : ne(e) ? m = "array" : e !== void 0 && e.$$typeof === n ? (m = "<" + (w(e.type) || "Unknown") + " />", u = " Did you accidentally export a JSX literal instead of a component?") : m = typeof e, j("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", m, u);
|
|
598
598
|
}
|
|
599
|
-
var
|
|
600
|
-
if (
|
|
601
|
-
return
|
|
602
|
-
if (
|
|
603
|
-
var
|
|
604
|
-
if (
|
|
599
|
+
var h = mt(e, s, o, d, _);
|
|
600
|
+
if (h == null)
|
|
601
|
+
return h;
|
|
602
|
+
if (f) {
|
|
603
|
+
var S = s.children;
|
|
604
|
+
if (S !== void 0)
|
|
605
605
|
if (c)
|
|
606
|
-
if (
|
|
607
|
-
for (var
|
|
608
|
-
Oe(
|
|
609
|
-
Object.freeze && Object.freeze(
|
|
606
|
+
if (ne(S)) {
|
|
607
|
+
for (var L = 0; L < S.length; L++)
|
|
608
|
+
Oe(S[L], e);
|
|
609
|
+
Object.freeze && Object.freeze(S);
|
|
610
610
|
} else
|
|
611
|
-
|
|
611
|
+
j("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
612
612
|
else
|
|
613
|
-
Oe(
|
|
613
|
+
Oe(S, e);
|
|
614
614
|
}
|
|
615
|
-
return e === i ?
|
|
615
|
+
return e === i ? pt(h) : xt(h), h;
|
|
616
616
|
}
|
|
617
617
|
}
|
|
618
|
-
function
|
|
619
|
-
return
|
|
618
|
+
function gt(e, s, o) {
|
|
619
|
+
return $e(e, s, o, !0);
|
|
620
620
|
}
|
|
621
|
-
function
|
|
622
|
-
return
|
|
621
|
+
function bt(e, s, o) {
|
|
622
|
+
return $e(e, s, o, !1);
|
|
623
623
|
}
|
|
624
|
-
var
|
|
625
|
-
|
|
626
|
-
}()),
|
|
624
|
+
var jt = bt, yt = gt;
|
|
625
|
+
B.Fragment = i, B.jsx = jt, B.jsxs = yt;
|
|
626
|
+
}()), B;
|
|
627
627
|
}
|
|
628
|
-
process.env.NODE_ENV === "production" ?
|
|
629
|
-
var
|
|
630
|
-
const
|
|
631
|
-
notice:
|
|
632
|
-
error:
|
|
633
|
-
success:
|
|
634
|
-
remark:
|
|
635
|
-
copy:
|
|
628
|
+
process.env.NODE_ENV === "production" ? ce.exports = Ct() : ce.exports = St();
|
|
629
|
+
var r = ce.exports;
|
|
630
|
+
const Et = "_notice_820sc_2", Rt = "_error_820sc_9", kt = "_success_820sc_12", wt = "_remark_820sc_15", Tt = "_copy_820sc_18", Pt = {
|
|
631
|
+
notice: Et,
|
|
632
|
+
error: Rt,
|
|
633
|
+
success: kt,
|
|
634
|
+
remark: wt,
|
|
635
|
+
copy: Tt,
|
|
636
636
|
"show-notice": "_show-notice_820sc_1",
|
|
637
637
|
"hide-notice": "_hide-notice_820sc_1"
|
|
638
638
|
};
|
|
639
639
|
let O = {};
|
|
640
|
-
function
|
|
641
|
-
let [
|
|
642
|
-
return O.set = (
|
|
643
|
-
|
|
644
|
-
}, O.del = (
|
|
645
|
-
|
|
646
|
-
},
|
|
640
|
+
function It() {
|
|
641
|
+
let [t, n] = C.useState([]);
|
|
642
|
+
return O.set = (a) => {
|
|
643
|
+
n([...t, a]);
|
|
644
|
+
}, O.del = (a) => {
|
|
645
|
+
n(t.filter((i) => i.key !== a));
|
|
646
|
+
}, t.length === 0 ? "" : /* @__PURE__ */ r.jsx("ul", { className: Pt.notice, children: t.map((a) => a.item) });
|
|
647
647
|
}
|
|
648
|
-
function
|
|
649
|
-
let [
|
|
648
|
+
function H({ data: t }) {
|
|
649
|
+
let [n, a] = C.useState("show");
|
|
650
650
|
C.useEffect(() => {
|
|
651
651
|
setTimeout(function() {
|
|
652
|
-
|
|
652
|
+
a("hide");
|
|
653
653
|
}, 1800), setTimeout(function() {
|
|
654
|
-
O.del(
|
|
654
|
+
O.del(t.key);
|
|
655
655
|
}, 2500);
|
|
656
|
-
}, [
|
|
656
|
+
}, [t.key]);
|
|
657
657
|
let i, v;
|
|
658
|
-
switch (
|
|
658
|
+
switch (t.type) {
|
|
659
659
|
case "error":
|
|
660
|
-
i = /* @__PURE__ */
|
|
660
|
+
i = /* @__PURE__ */ r.jsx(N.error, {}), v = "Ошибка:";
|
|
661
661
|
break;
|
|
662
662
|
case "success":
|
|
663
|
-
i = /* @__PURE__ */
|
|
663
|
+
i = /* @__PURE__ */ r.jsx(N.success, {}), v = "Информация:";
|
|
664
664
|
break;
|
|
665
665
|
case "copy":
|
|
666
|
-
i = /* @__PURE__ */
|
|
666
|
+
i = /* @__PURE__ */ r.jsx(N.success, {}), v = "Копирование:";
|
|
667
667
|
break;
|
|
668
668
|
case "remark":
|
|
669
|
-
i = /* @__PURE__ */
|
|
669
|
+
i = /* @__PURE__ */ r.jsx(N.success, {}), v = "Подсказка:";
|
|
670
670
|
break;
|
|
671
671
|
default:
|
|
672
|
-
i = /* @__PURE__ */
|
|
672
|
+
i = /* @__PURE__ */ r.jsx(N.success, {}), v = "Предупреждение:";
|
|
673
673
|
break;
|
|
674
674
|
}
|
|
675
|
-
return /* @__PURE__ */
|
|
675
|
+
return /* @__PURE__ */ r.jsxs("li", { className: "item " + t.type, "data-status": n, children: [
|
|
676
676
|
i,
|
|
677
|
-
/* @__PURE__ */
|
|
678
|
-
/* @__PURE__ */
|
|
677
|
+
/* @__PURE__ */ r.jsx("b", { children: v }),
|
|
678
|
+
/* @__PURE__ */ r.jsx("p", { children: t.text })
|
|
679
679
|
] });
|
|
680
680
|
}
|
|
681
|
-
function
|
|
682
|
-
let
|
|
683
|
-
O.set({ item: /* @__PURE__ */
|
|
681
|
+
function Ot(t) {
|
|
682
|
+
let n = Date.now(), a = { key: n, ...t };
|
|
683
|
+
O.set({ item: /* @__PURE__ */ r.jsx(H, { data: a }, n), key: n });
|
|
684
684
|
}
|
|
685
|
-
function $
|
|
686
|
-
let
|
|
687
|
-
O.set({ item: /* @__PURE__ */
|
|
685
|
+
function $t(t) {
|
|
686
|
+
let n = Date.now(), a = { key: n, text: t, type: "error" };
|
|
687
|
+
O.set({ item: /* @__PURE__ */ r.jsx(H, { data: a }, n), key: n });
|
|
688
688
|
}
|
|
689
|
-
function
|
|
690
|
-
let
|
|
691
|
-
O.set({ item: /* @__PURE__ */
|
|
689
|
+
function At(t) {
|
|
690
|
+
let n = Date.now(), a = { key: n, text: t, type: "success" };
|
|
691
|
+
O.set({ item: /* @__PURE__ */ r.jsx(H, { data: a }, n), key: n });
|
|
692
692
|
}
|
|
693
|
-
function
|
|
694
|
-
let
|
|
695
|
-
O.set({ item: /* @__PURE__ */
|
|
693
|
+
function zt(t) {
|
|
694
|
+
let n = Date.now(), a = { key: n, text: t, type: "remark" };
|
|
695
|
+
O.set({ item: /* @__PURE__ */ r.jsx(H, { data: a }, n), key: n });
|
|
696
696
|
}
|
|
697
|
-
function
|
|
698
|
-
let
|
|
699
|
-
O.set({ item: /* @__PURE__ */
|
|
697
|
+
function Nt(t) {
|
|
698
|
+
let n = Date.now(), a = { key: n, text: t, type: "copy" };
|
|
699
|
+
O.set({ item: /* @__PURE__ */ r.jsx(H, { data: a }, n), key: n });
|
|
700
700
|
}
|
|
701
|
-
const
|
|
702
|
-
|
|
703
|
-
/* @__PURE__ */
|
|
701
|
+
const N = {};
|
|
702
|
+
N.error = () => /* @__PURE__ */ r.jsxs("svg", { viewBox: "0 0 24 24", fill: "none", children: [
|
|
703
|
+
/* @__PURE__ */ r.jsx(
|
|
704
704
|
"path",
|
|
705
705
|
{
|
|
706
706
|
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",
|
|
707
707
|
fill: "#bb2014"
|
|
708
708
|
}
|
|
709
709
|
),
|
|
710
|
-
/* @__PURE__ */
|
|
710
|
+
/* @__PURE__ */ r.jsx(
|
|
711
711
|
"path",
|
|
712
712
|
{
|
|
713
713
|
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",
|
|
@@ -715,15 +715,15 @@ A.error = () => /* @__PURE__ */ t.jsxs("svg", { viewBox: "0 0 24 24", fill: "non
|
|
|
715
715
|
}
|
|
716
716
|
)
|
|
717
717
|
] });
|
|
718
|
-
|
|
719
|
-
/* @__PURE__ */
|
|
718
|
+
N.success = () => /* @__PURE__ */ r.jsxs("svg", { viewBox: "0 0 24 24", fill: "none", children: [
|
|
719
|
+
/* @__PURE__ */ r.jsx(
|
|
720
720
|
"path",
|
|
721
721
|
{
|
|
722
722
|
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",
|
|
723
723
|
fill: "#367738"
|
|
724
724
|
}
|
|
725
725
|
),
|
|
726
|
-
/* @__PURE__ */
|
|
726
|
+
/* @__PURE__ */ r.jsx(
|
|
727
727
|
"path",
|
|
728
728
|
{
|
|
729
729
|
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",
|
|
@@ -731,169 +731,169 @@ A.success = () => /* @__PURE__ */ t.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 Dt = "_alerts_1e9y0_1", Ft = "_menuAnimation_1e9y0_1", Mt = "_menuItemAnimation_1e9y0_1", Lt = "_allert_1e9y0_111", Wt = {
|
|
735
|
+
alerts: Dt,
|
|
736
|
+
menuAnimation: Ft,
|
|
737
|
+
menuItemAnimation: Mt,
|
|
738
738
|
"--body": "_--body_1e9y0_103",
|
|
739
|
-
allert:
|
|
739
|
+
allert: Lt,
|
|
740
740
|
"--form": "_--form_1e9y0_111"
|
|
741
741
|
};
|
|
742
|
-
let
|
|
743
|
-
function
|
|
744
|
-
let [
|
|
745
|
-
return
|
|
742
|
+
let q = {};
|
|
743
|
+
function Yt() {
|
|
744
|
+
let [t, n] = C.useState("");
|
|
745
|
+
return q.set = (a) => n(a), q.del = () => n(""), /* @__PURE__ */ r.jsx(r.Fragment, { children: t });
|
|
746
746
|
}
|
|
747
|
-
const
|
|
748
|
-
/* @__PURE__ */
|
|
749
|
-
/* @__PURE__ */
|
|
750
|
-
/* @__PURE__ */
|
|
751
|
-
/* @__PURE__ */
|
|
747
|
+
const Ut = ({ data: t, callback: n }) => (t.button = t.button === void 0 ? "Подтвердить" : t.button, /* @__PURE__ */ r.jsxs("div", { className: Wt.alerts, children: [
|
|
748
|
+
/* @__PURE__ */ r.jsxs("dl", { children: [
|
|
749
|
+
/* @__PURE__ */ r.jsx("dt", { children: t.title }),
|
|
750
|
+
/* @__PURE__ */ r.jsx("dd", { children: t.text }),
|
|
751
|
+
/* @__PURE__ */ r.jsx("ul", { children: /* @__PURE__ */ r.jsx(
|
|
752
752
|
"button",
|
|
753
753
|
{
|
|
754
|
-
"data-color":
|
|
754
|
+
"data-color": t.color || "blue",
|
|
755
755
|
onClick: () => {
|
|
756
|
-
|
|
756
|
+
n(), q.del();
|
|
757
757
|
},
|
|
758
|
-
children:
|
|
758
|
+
children: t.button
|
|
759
759
|
}
|
|
760
760
|
) })
|
|
761
761
|
] }),
|
|
762
|
-
/* @__PURE__ */
|
|
762
|
+
/* @__PURE__ */ r.jsx("div", { className: "--body", onClick: q.del })
|
|
763
763
|
] }));
|
|
764
|
-
function
|
|
765
|
-
|
|
764
|
+
function Vt(t, n) {
|
|
765
|
+
q.set(/* @__PURE__ */ r.jsx(Ut, { data: t, callback: n }));
|
|
766
766
|
}
|
|
767
|
-
function
|
|
768
|
-
return /* @__PURE__ */
|
|
767
|
+
function Bt({ children: t }) {
|
|
768
|
+
return /* @__PURE__ */ r.jsx("div", { className: "l", children: /* @__PURE__ */ r.jsx("ul", { children: t }) });
|
|
769
769
|
}
|
|
770
|
-
function
|
|
771
|
-
return /* @__PURE__ */
|
|
770
|
+
function qt({ children: t }) {
|
|
771
|
+
return /* @__PURE__ */ r.jsx("div", { className: "s", children: t });
|
|
772
772
|
}
|
|
773
|
-
const
|
|
774
|
-
children:
|
|
775
|
-
disabled:
|
|
776
|
-
label:
|
|
773
|
+
const Ht = ({
|
|
774
|
+
children: t,
|
|
775
|
+
disabled: n,
|
|
776
|
+
label: a,
|
|
777
777
|
onClick: i
|
|
778
778
|
}) => {
|
|
779
779
|
const v = (p) => {
|
|
780
|
-
|
|
780
|
+
n || i && i(p);
|
|
781
781
|
};
|
|
782
|
-
return /* @__PURE__ */
|
|
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:
|
|
782
|
+
return /* @__PURE__ */ r.jsx("button", { disabled: n, onClick: v, children: a });
|
|
783
|
+
}, Jt = "_white_6ax6z_14", Gt = "_black_6ax6z_26", Zt = "_shake_6ax6z_1", Kt = "_modal_6ax6z_73", Xt = "_o_6ax6z_83", Qt = "_w_6ax6z_14", er = "_h_6ax6z_106", tr = "_l_6ax6z_120", rr = "_t_6ax6z_158", nr = "_m_6ax6z_73", sr = "_x_6ax6z_166", ar = "_s_6ax6z_176", or = "_c_6ax6z_181", ir = "_f_6ax6z_186", cr = "_btn_6ax6z_229", lr = "_g_6ax6z_242", ur = "_confirm_6ax6z_320", fr = "_cancel_6ax6z_325", dr = "_disabled_6ax6z_330", _r = "_active_6ax6z_387", mr = "_coincidence_6ax6z_393", I = {
|
|
784
|
+
white: Jt,
|
|
785
|
+
black: Gt,
|
|
786
|
+
shake: Zt,
|
|
787
|
+
modal: Kt,
|
|
788
|
+
o: Xt,
|
|
789
|
+
w: Qt,
|
|
790
|
+
h: er,
|
|
791
|
+
l: tr,
|
|
792
|
+
t: rr,
|
|
793
|
+
m: nr,
|
|
794
|
+
x: sr,
|
|
795
|
+
s: ar,
|
|
796
|
+
c: or,
|
|
797
|
+
f: ir,
|
|
798
|
+
btn: cr,
|
|
799
|
+
g: lr,
|
|
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: ur,
|
|
807
|
+
cancel: fr,
|
|
808
|
+
disabled: dr,
|
|
809
809
|
await: "_await_6ax6z_337",
|
|
810
|
-
active:
|
|
811
|
-
coincidence:
|
|
810
|
+
active: _r,
|
|
811
|
+
coincidence: mr
|
|
812
812
|
};
|
|
813
|
-
let
|
|
814
|
-
const
|
|
815
|
-
let [
|
|
816
|
-
return
|
|
817
|
-
|
|
818
|
-
},
|
|
819
|
-
|
|
820
|
-
}, /* @__PURE__ */
|
|
821
|
-
},
|
|
822
|
-
children:
|
|
823
|
-
title:
|
|
824
|
-
button:
|
|
813
|
+
let W = {};
|
|
814
|
+
const vr = ({ config: t }) => {
|
|
815
|
+
let [n, a] = C.useState([]);
|
|
816
|
+
return W.x = () => {
|
|
817
|
+
a([]);
|
|
818
|
+
}, W.config = t, W.add = (i) => {
|
|
819
|
+
a([...n, i]);
|
|
820
|
+
}, /* @__PURE__ */ r.jsx(r.Fragment, { children: n.map((i) => i) });
|
|
821
|
+
}, hr = ({
|
|
822
|
+
children: t,
|
|
823
|
+
title: n,
|
|
824
|
+
button: a,
|
|
825
825
|
tabs: i,
|
|
826
826
|
size: v = "m",
|
|
827
827
|
menu: p
|
|
828
828
|
}) => {
|
|
829
|
-
const [
|
|
830
|
-
if (
|
|
831
|
-
return
|
|
829
|
+
const [A, R] = C.useState(!0), x = C.useRef(), P = (b) => {
|
|
830
|
+
if (a && a.onClick)
|
|
831
|
+
return a.onClick({ closed: R, disabled: b });
|
|
832
832
|
}, g = () => {
|
|
833
|
-
|
|
834
|
-
|
|
833
|
+
x.current.setAttribute("shake", !0), setTimeout(() => {
|
|
834
|
+
x.current.setAttribute("shake", !1);
|
|
835
835
|
}, 1e3);
|
|
836
836
|
};
|
|
837
|
-
return /* @__PURE__ */
|
|
837
|
+
return /* @__PURE__ */ r.jsx(r.Fragment, { children: A ? /* @__PURE__ */ r.jsxs(
|
|
838
838
|
"div",
|
|
839
839
|
{
|
|
840
|
-
className: `${
|
|
840
|
+
className: `${I.modal} ${I.white}`,
|
|
841
841
|
children: [
|
|
842
|
-
/* @__PURE__ */
|
|
843
|
-
/* @__PURE__ */
|
|
844
|
-
/* @__PURE__ */
|
|
845
|
-
/* @__PURE__ */
|
|
846
|
-
/* @__PURE__ */
|
|
847
|
-
i && /* @__PURE__ */
|
|
842
|
+
/* @__PURE__ */ r.jsx("div", { className: I.o, onClick: g }),
|
|
843
|
+
/* @__PURE__ */ r.jsxs("div", { className: I.w, ref: x, children: [
|
|
844
|
+
/* @__PURE__ */ r.jsxs("div", { className: I.h, children: [
|
|
845
|
+
/* @__PURE__ */ r.jsx("div", { className: I.t, children: n }),
|
|
846
|
+
/* @__PURE__ */ r.jsxs("div", { className: I.m, children: [
|
|
847
|
+
i && /* @__PURE__ */ r.jsx("nav", { children: i.map((b, k) => /* @__PURE__ */ r.jsx(
|
|
848
848
|
"span",
|
|
849
849
|
{
|
|
850
|
-
onClick:
|
|
851
|
-
className:
|
|
852
|
-
children:
|
|
850
|
+
onClick: b.onClick,
|
|
851
|
+
className: b.active ? "active" : "",
|
|
852
|
+
children: b.name
|
|
853
853
|
},
|
|
854
|
-
|
|
854
|
+
k
|
|
855
855
|
)) }),
|
|
856
856
|
p
|
|
857
857
|
] }),
|
|
858
|
-
/* @__PURE__ */
|
|
858
|
+
/* @__PURE__ */ r.jsx(
|
|
859
859
|
"div",
|
|
860
860
|
{
|
|
861
|
-
className:
|
|
861
|
+
className: I.x,
|
|
862
862
|
onClick: () => {
|
|
863
|
-
|
|
863
|
+
R(!1);
|
|
864
864
|
},
|
|
865
865
|
children: "x"
|
|
866
866
|
}
|
|
867
867
|
)
|
|
868
868
|
] }),
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
869
|
+
t,
|
|
870
|
+
a !== void 0 ? /* @__PURE__ */ r.jsx(
|
|
871
|
+
Ht,
|
|
872
872
|
{
|
|
873
|
-
label: String(
|
|
874
|
-
onClick:
|
|
873
|
+
label: String(a.name),
|
|
874
|
+
onClick: P
|
|
875
875
|
}
|
|
876
876
|
) : ""
|
|
877
877
|
] })
|
|
878
878
|
]
|
|
879
879
|
}
|
|
880
880
|
) : "" });
|
|
881
|
-
},
|
|
882
|
-
|
|
883
|
-
},
|
|
881
|
+
}, xr = (t) => {
|
|
882
|
+
W.add(/* @__PURE__ */ r.jsx(pr, { children: t }, String(Date.now())));
|
|
883
|
+
}, pr = ({ children: t }) => /* @__PURE__ */ r.jsx(r.Fragment, { children: t }), gr = ({ type: t, name: n, params: a }) => {
|
|
884
884
|
let [i, v] = C.useState(null);
|
|
885
885
|
return C.useEffect(() => {
|
|
886
|
-
|
|
887
|
-
}, [
|
|
888
|
-
},
|
|
889
|
-
|
|
890
|
-
},
|
|
891
|
-
let
|
|
892
|
-
const
|
|
893
|
-
function
|
|
894
|
-
if (
|
|
895
|
-
let
|
|
896
|
-
|
|
886
|
+
W.config(t, n, a, v);
|
|
887
|
+
}, [a.id]), /* @__PURE__ */ r.jsx(r.Fragment, { children: i });
|
|
888
|
+
}, br = (t, n, a) => {
|
|
889
|
+
W.config(t, n, a);
|
|
890
|
+
}, jr = { List: Bt, Scroll: qt, Init: vr, Main: hr, Add: xr, Icon: gr, Open: br };
|
|
891
|
+
let $ = {};
|
|
892
|
+
const l = {}, E = {};
|
|
893
|
+
function yr({ crypto: t }) {
|
|
894
|
+
if ($ = t, localStorage.getItem("ssid")) {
|
|
895
|
+
let a = sessionStorage.getItem("page");
|
|
896
|
+
a ? (a = $.deCode(a), l.id = a.id, l.tab = a.tab, l.page = a.page, l.module = a.module, l.time = a.time, l.payment = { active: !0 }, l.module_admin = a.module_admin) : (l.id = 0, l.tab = "", l.page = "Main", l.module = l.module || "M05");
|
|
897
897
|
} else
|
|
898
898
|
[
|
|
899
899
|
"ssid",
|
|
@@ -908,9 +908,9 @@ function yt({ crypto: r }) {
|
|
|
908
908
|
"port",
|
|
909
909
|
"mark",
|
|
910
910
|
"sort"
|
|
911
|
-
].forEach((
|
|
911
|
+
].forEach((a) => localStorage.removeItem(a)), ["page"].forEach((a) => sessionStorage.removeItem(a)), l.id = 0, l.tab = "", l.page = "Auth", l.module = "M00";
|
|
912
912
|
}
|
|
913
|
-
function
|
|
913
|
+
function le() {
|
|
914
914
|
[
|
|
915
915
|
"ssid",
|
|
916
916
|
"menu",
|
|
@@ -924,159 +924,207 @@ function ce() {
|
|
|
924
924
|
"port",
|
|
925
925
|
"mark",
|
|
926
926
|
"sort"
|
|
927
|
-
].forEach((
|
|
927
|
+
].forEach((t) => localStorage.removeItem(t)), ["page"].forEach((t) => sessionStorage.removeItem(t)), window.location.reload();
|
|
928
928
|
}
|
|
929
|
-
function
|
|
930
|
-
|
|
929
|
+
function Cr(t) {
|
|
930
|
+
t = t.split("/"), l.page = "Main", l.module = t[0], l.tab = t[1], l.id = 0, sessionStorage.setItem(
|
|
931
|
+
"page",
|
|
932
|
+
$.enCode({
|
|
933
|
+
module: l.module,
|
|
934
|
+
page: l.page,
|
|
935
|
+
tab: l.tab,
|
|
936
|
+
id: l.id,
|
|
937
|
+
time: (/* @__PURE__ */ new Date()).getTime()
|
|
938
|
+
})
|
|
939
|
+
), E.page(l.page);
|
|
931
940
|
}
|
|
932
|
-
function
|
|
933
|
-
|
|
934
|
-
return r !== "" && r !== "undefined" && r !== null ? localStorage.getItem("ssid") : (ce(), !1);
|
|
941
|
+
function Sr(t) {
|
|
942
|
+
return localStorage.setItem("ssid", t);
|
|
935
943
|
}
|
|
936
|
-
function
|
|
937
|
-
|
|
944
|
+
function Er() {
|
|
945
|
+
let t = localStorage.getItem("ssid");
|
|
946
|
+
return t !== "" && t !== "undefined" && t !== null ? localStorage.getItem("ssid") : (le(), !1);
|
|
947
|
+
}
|
|
948
|
+
function Rr(t) {
|
|
949
|
+
return localStorage.setItem("auth", t);
|
|
938
950
|
}
|
|
939
|
-
function
|
|
940
|
-
let
|
|
941
|
-
return
|
|
951
|
+
function kr() {
|
|
952
|
+
let t = localStorage.getItem("auth");
|
|
953
|
+
return t !== "" && t !== "undefined" && t !== null ? t : (le(), !1);
|
|
942
954
|
}
|
|
943
|
-
function
|
|
944
|
-
const [
|
|
945
|
-
|
|
955
|
+
function wr() {
|
|
956
|
+
const [t, n] = C.useState(Le()), a = (i) => {
|
|
957
|
+
n(i);
|
|
946
958
|
};
|
|
947
|
-
return
|
|
959
|
+
return E.page = a, [t];
|
|
960
|
+
}
|
|
961
|
+
function Tr(t) {
|
|
962
|
+
l.page = t, sessionStorage.setItem("page", $.enCode(l)), E.page(t);
|
|
948
963
|
}
|
|
949
|
-
function
|
|
950
|
-
|
|
964
|
+
function Le() {
|
|
965
|
+
return l.page;
|
|
951
966
|
}
|
|
952
|
-
function
|
|
953
|
-
|
|
967
|
+
function Pr(t) {
|
|
968
|
+
E.module = t;
|
|
954
969
|
}
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
970
|
+
function Ir(t, n) {
|
|
971
|
+
l.module = t, sessionStorage.setItem("page", $.enCode(l)), n !== "false" && E.module(t);
|
|
972
|
+
}
|
|
973
|
+
function Or() {
|
|
974
|
+
return l.module;
|
|
975
|
+
}
|
|
976
|
+
function $r(t) {
|
|
977
|
+
E.tabs = t;
|
|
978
|
+
}
|
|
979
|
+
function Ar(t, n) {
|
|
980
|
+
l.tab = t, sessionStorage.setItem("page", $.enCode(l)), n !== "false" && E.tabs(t);
|
|
981
|
+
}
|
|
982
|
+
function zr() {
|
|
983
|
+
return l.tab;
|
|
984
|
+
}
|
|
985
|
+
function Nr() {
|
|
986
|
+
const [t, n] = C.useState(l.id), a = (i) => {
|
|
987
|
+
n(i);
|
|
988
|
+
};
|
|
989
|
+
return E.id = a, [t];
|
|
990
|
+
}
|
|
991
|
+
function Dr(t) {
|
|
992
|
+
E.id = t;
|
|
993
|
+
}
|
|
994
|
+
function Fr(t, n) {
|
|
995
|
+
l.id = t, sessionStorage.setItem("page", $.enCode(l)), n !== "false" && E.id(t);
|
|
996
|
+
}
|
|
997
|
+
function Mr() {
|
|
998
|
+
return l.id;
|
|
999
|
+
}
|
|
1000
|
+
function Lr(t, n, a) {
|
|
1001
|
+
l.module = t, l.id = a, l.tab = n, sessionStorage.setItem("page", $.enCode(l)), E.module(t), E.tabs(n);
|
|
1002
|
+
}
|
|
1003
|
+
const Wr = ({ children: t, config: n, crypto: a, ...i }) => (yr({ crypto: a }), /* @__PURE__ */ r.jsxs(r.Fragment, { children: [
|
|
1004
|
+
/* @__PURE__ */ r.jsx(jr.Init, { config: n.modal }),
|
|
1005
|
+
/* @__PURE__ */ r.jsx(It, {}),
|
|
1006
|
+
/* @__PURE__ */ r.jsx(Yt, {}),
|
|
1007
|
+
t
|
|
1008
|
+
] })), Yr = ({ children: t, ...n }) => /* @__PURE__ */ r.jsx("menu", { children: t }), Ur = ({ children: t, ...n }) => /* @__PURE__ */ r.jsxs("header", { children: [
|
|
961
1009
|
"xz",
|
|
962
|
-
|
|
963
|
-
] }),
|
|
964
|
-
payment:
|
|
1010
|
+
t
|
|
1011
|
+
] }), Vr = "_payment_1lxfv_1", Br = {
|
|
1012
|
+
payment: Vr
|
|
965
1013
|
};
|
|
966
|
-
function
|
|
967
|
-
let [
|
|
968
|
-
return !
|
|
1014
|
+
function qr() {
|
|
1015
|
+
let [t, n] = C.useState({});
|
|
1016
|
+
return !t.active && !t.payment ? "" : /* @__PURE__ */ r.jsx("div", { className: Br.payment, children: "Истек срок оплаты! Доступ доступен до 16.04.2024" });
|
|
969
1017
|
}
|
|
970
|
-
const
|
|
971
|
-
let
|
|
972
|
-
return
|
|
973
|
-
/* @__PURE__ */
|
|
974
|
-
/* @__PURE__ */
|
|
975
|
-
/* @__PURE__ */
|
|
976
|
-
/* @__PURE__ */
|
|
977
|
-
|
|
1018
|
+
const yn = ({ children: t, ...n }) => {
|
|
1019
|
+
let a = {};
|
|
1020
|
+
return a.enCode = (i) => JSON.stringify(i).toString(), a.deCode = (i) => JSON.parse(i), /* @__PURE__ */ r.jsxs("div", { className: "app", children: [
|
|
1021
|
+
/* @__PURE__ */ r.jsx(qr, {}),
|
|
1022
|
+
/* @__PURE__ */ r.jsx(Yr, {}),
|
|
1023
|
+
/* @__PURE__ */ r.jsx(Ur, {}),
|
|
1024
|
+
/* @__PURE__ */ r.jsx(Wr, { config: { modal: {} }, crypto: a }),
|
|
1025
|
+
t
|
|
978
1026
|
] });
|
|
979
|
-
},
|
|
980
|
-
|
|
1027
|
+
}, Hr = ({ list: t, onClick: n, active: a, size: i, view: v }) => /* @__PURE__ */ r.jsx("nav", { children: /* @__PURE__ */ r.jsx("ul", { className: [i, v].join(" "), children: t.map((p) => /* @__PURE__ */ r.jsx(
|
|
1028
|
+
Jr,
|
|
981
1029
|
{
|
|
982
|
-
onClick:
|
|
983
|
-
active:
|
|
1030
|
+
onClick: n,
|
|
1031
|
+
active: a,
|
|
984
1032
|
label: p.label,
|
|
985
1033
|
link: p.link
|
|
986
1034
|
},
|
|
987
1035
|
p.link
|
|
988
|
-
)) }) }),
|
|
989
|
-
|
|
990
|
-
const
|
|
991
|
-
title:
|
|
992
|
-
button:
|
|
993
|
-
description:
|
|
1036
|
+
)) }) }), Jr = ({ onClick: t, label: n, link: a, active: i }) => /* @__PURE__ */ r.jsx("li", { "tabs-active": String(i === a), onClick: () => t(a), children: n });
|
|
1037
|
+
Hr.defaultProps = { size: "M", view: "H" };
|
|
1038
|
+
const Gr = ({
|
|
1039
|
+
title: t = "",
|
|
1040
|
+
button: n,
|
|
1041
|
+
description: a = "",
|
|
994
1042
|
children: i
|
|
995
|
-
}) => /* @__PURE__ */
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
1043
|
+
}) => /* @__PURE__ */ r.jsxs("fieldset", { children: [
|
|
1044
|
+
t && /* @__PURE__ */ r.jsxs("legend", { children: [
|
|
1045
|
+
t,
|
|
1046
|
+
n && /* @__PURE__ */ r.jsx(
|
|
999
1047
|
"div",
|
|
1000
1048
|
{
|
|
1001
1049
|
role: "button-outline",
|
|
1002
|
-
onClick: () =>
|
|
1003
|
-
children:
|
|
1050
|
+
onClick: () => n.onClick(),
|
|
1051
|
+
children: n.label
|
|
1004
1052
|
}
|
|
1005
1053
|
),
|
|
1006
1054
|
" "
|
|
1007
1055
|
] }),
|
|
1008
|
-
/* @__PURE__ */
|
|
1009
|
-
|
|
1010
|
-
] }),
|
|
1011
|
-
setting:
|
|
1012
|
-
},
|
|
1013
|
-
let [
|
|
1014
|
-
return /* @__PURE__ */
|
|
1015
|
-
/* @__PURE__ */
|
|
1016
|
-
/* @__PURE__ */
|
|
1017
|
-
/* @__PURE__ */
|
|
1056
|
+
/* @__PURE__ */ r.jsx("ul", { children: i }),
|
|
1057
|
+
a && /* @__PURE__ */ r.jsx("article", { children: a })
|
|
1058
|
+
] }), Zr = "_setting_1r0pc_2", Kr = {
|
|
1059
|
+
setting: Zr
|
|
1060
|
+
}, Xr = ({ children: t }) => /* @__PURE__ */ r.jsx("div", { className: Kr.setting, children: t }), Qr = ({ label: t, children: n }) => {
|
|
1061
|
+
let [a, i] = C.useState(!1);
|
|
1062
|
+
return /* @__PURE__ */ r.jsxs("li", { "data-item": "accordion", children: [
|
|
1063
|
+
/* @__PURE__ */ r.jsxs("dl", { onClick: () => i(!a), children: [
|
|
1064
|
+
/* @__PURE__ */ r.jsx("dt", { children: t }),
|
|
1065
|
+
/* @__PURE__ */ r.jsx("dd", { children: /* @__PURE__ */ r.jsx("div", { "data-close": String(a) }) })
|
|
1018
1066
|
] }),
|
|
1019
|
-
|
|
1067
|
+
a && /* @__PURE__ */ r.jsx("div", { children: n })
|
|
1020
1068
|
] });
|
|
1021
|
-
},
|
|
1022
|
-
/* @__PURE__ */
|
|
1023
|
-
/* @__PURE__ */
|
|
1024
|
-
] }) }),
|
|
1069
|
+
}, en = ({ label: t, onClick: n, button: a }) => /* @__PURE__ */ r.jsx("li", { children: /* @__PURE__ */ r.jsxs("dl", { children: [
|
|
1070
|
+
/* @__PURE__ */ r.jsx("dt", { children: t }),
|
|
1071
|
+
/* @__PURE__ */ r.jsx("dd", { role: "button", onClick: () => n(), children: a })
|
|
1072
|
+
] }) }), tn = ({ active: t, onClick: n }) => (console.log(t), t = typeof t == "number" ? !!t : t, /* @__PURE__ */ r.jsx(
|
|
1025
1073
|
"div",
|
|
1026
1074
|
{
|
|
1027
1075
|
role: "switch",
|
|
1028
1076
|
onClick: () => {
|
|
1029
|
-
console.log("Wewew"),
|
|
1077
|
+
console.log("Wewew"), n();
|
|
1030
1078
|
},
|
|
1031
|
-
"aria-checked":
|
|
1079
|
+
"aria-checked": t ? "true" : "false"
|
|
1032
1080
|
}
|
|
1033
|
-
)),
|
|
1034
|
-
/* @__PURE__ */
|
|
1035
|
-
/* @__PURE__ */
|
|
1036
|
-
] }) }),
|
|
1037
|
-
/* @__PURE__ */
|
|
1038
|
-
/* @__PURE__ */
|
|
1039
|
-
] }) }),
|
|
1040
|
-
/* @__PURE__ */
|
|
1041
|
-
/* @__PURE__ */
|
|
1042
|
-
] }) }),
|
|
1043
|
-
/* @__PURE__ */
|
|
1044
|
-
/* @__PURE__ */
|
|
1045
|
-
] }) }),
|
|
1046
|
-
/* @__PURE__ */
|
|
1047
|
-
/* @__PURE__ */
|
|
1048
|
-
] }) }),
|
|
1049
|
-
function We({ list:
|
|
1050
|
-
return /* @__PURE__ */
|
|
1051
|
-
|
|
1081
|
+
)), rn = { Switch: tn }, nn = ({ label: t, onClick: n, active: a }) => /* @__PURE__ */ r.jsx("li", { children: /* @__PURE__ */ r.jsxs("dl", { children: [
|
|
1082
|
+
/* @__PURE__ */ r.jsx("dt", { children: t }),
|
|
1083
|
+
/* @__PURE__ */ r.jsx("dd", { children: /* @__PURE__ */ r.jsx(rn.Switch, { onClick: n, active: a }) })
|
|
1084
|
+
] }) }), sn = ({ label: t, active: n, options: a }) => /* @__PURE__ */ r.jsx("li", { children: /* @__PURE__ */ r.jsxs("dl", { children: [
|
|
1085
|
+
/* @__PURE__ */ r.jsx("dt", { children: t }),
|
|
1086
|
+
/* @__PURE__ */ r.jsx("dd", { role: "info", children: n })
|
|
1087
|
+
] }) }), an = ({ label: t, info: n }) => /* @__PURE__ */ r.jsx("li", { children: /* @__PURE__ */ r.jsxs("dl", { children: [
|
|
1088
|
+
/* @__PURE__ */ r.jsx("dt", { children: t }),
|
|
1089
|
+
/* @__PURE__ */ r.jsx("dd", { role: "info", children: n })
|
|
1090
|
+
] }) }), on = ({ label: t, children: n }) => /* @__PURE__ */ r.jsx("li", { children: /* @__PURE__ */ r.jsxs("dl", { children: [
|
|
1091
|
+
/* @__PURE__ */ r.jsx("dt", { children: t }),
|
|
1092
|
+
/* @__PURE__ */ r.jsx("dd", { children: n })
|
|
1093
|
+
] }) }), cn = ({ label: t, children: n }) => /* @__PURE__ */ r.jsx("li", { children: /* @__PURE__ */ r.jsxs("dl", { children: [
|
|
1094
|
+
/* @__PURE__ */ r.jsx("dt", { children: t }),
|
|
1095
|
+
/* @__PURE__ */ r.jsx("dd", { children: n })
|
|
1096
|
+
] }) }), ln = { Accordion: Qr, Button: en, Switch: nn, Info: an, Select: sn, Component: on, Node: cn };
|
|
1097
|
+
function We({ list: t, onClick: n, active: a, size: i, view: v }) {
|
|
1098
|
+
return /* @__PURE__ */ r.jsx("nav", { children: /* @__PURE__ */ r.jsx("ul", { className: [i, v].join(" "), children: t.map((p) => /* @__PURE__ */ r.jsx(
|
|
1099
|
+
un,
|
|
1052
1100
|
{
|
|
1053
|
-
onClick:
|
|
1054
|
-
active:
|
|
1101
|
+
onClick: n,
|
|
1102
|
+
active: a,
|
|
1055
1103
|
label: p.label,
|
|
1056
1104
|
link: p.link
|
|
1057
1105
|
},
|
|
1058
1106
|
p.link
|
|
1059
1107
|
)) }) });
|
|
1060
1108
|
}
|
|
1061
|
-
const
|
|
1109
|
+
const un = ({ onClick: t, label: n, link: a, active: i }) => /* @__PURE__ */ r.jsx("li", { "tabs-active": String(i === a), onClick: () => t(a), children: n });
|
|
1062
1110
|
We.defaultProps = { size: "M", view: "H" };
|
|
1063
|
-
const
|
|
1064
|
-
h:
|
|
1065
|
-
t:
|
|
1066
|
-
s:
|
|
1067
|
-
u:
|
|
1068
|
-
o:
|
|
1069
|
-
l:
|
|
1070
|
-
hh:
|
|
1071
|
-
},
|
|
1072
|
-
/* @__PURE__ */
|
|
1073
|
-
|
|
1074
|
-
] }),
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
] }),
|
|
1078
|
-
function
|
|
1079
|
-
return /* @__PURE__ */
|
|
1111
|
+
const Cn = { Section: Gr, Main: Xr, Item: ln, Tabs: We }, fn = "_h_1b5x7_1", dn = "_t_1b5x7_10", _n = "_s_1b5x7_28", mn = "_u_1b5x7_37", vn = "_o_1b5x7_44", hn = "_l_1b5x7_53", xn = "_hh_1b5x7_60", D = {
|
|
1112
|
+
h: fn,
|
|
1113
|
+
t: dn,
|
|
1114
|
+
s: _n,
|
|
1115
|
+
u: mn,
|
|
1116
|
+
o: vn,
|
|
1117
|
+
l: hn,
|
|
1118
|
+
hh: xn
|
|
1119
|
+
}, De = ({ title: t, children: n }) => /* @__PURE__ */ r.jsxs("div", { className: D.h, children: [
|
|
1120
|
+
/* @__PURE__ */ r.jsx("div", { className: D.t, children: t }),
|
|
1121
|
+
n
|
|
1122
|
+
] }), pn = ({ children: t, title: n }) => /* @__PURE__ */ r.jsxs("div", { className: D.o, children: [
|
|
1123
|
+
n && /* @__PURE__ */ r.jsx("div", { className: D.hh, children: n }),
|
|
1124
|
+
t
|
|
1125
|
+
] }), gn = ({ children: t }) => /* @__PURE__ */ r.jsx("div", { className: D.u, children: t }), Fe = ({ children: t }) => /* @__PURE__ */ r.jsx("div", { className: D.s, children: t }), Me = ({ children: t, ...n }) => /* @__PURE__ */ r.jsx("div", { className: D.l, children: t }), Sn = { Header: De, Section: Fe, List: Me, U: gn, L: Me, O: pn, S: Fe, H: De }, En = { Send: Ot, Error: $t, Remark: zt, Success: At, Copy: Nt }, Rn = { Send: Vt };
|
|
1126
|
+
function bn() {
|
|
1127
|
+
return /* @__PURE__ */ r.jsx("svg", { viewBox: "0 0 462.86 359.96", children: /* @__PURE__ */ r.jsx(
|
|
1080
1128
|
"path",
|
|
1081
1129
|
{
|
|
1082
1130
|
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",
|
|
@@ -1084,19 +1132,19 @@ function cn() {
|
|
|
1084
1132
|
}
|
|
1085
1133
|
) });
|
|
1086
1134
|
}
|
|
1087
|
-
const
|
|
1135
|
+
const kn = { Logo: bn }, wn = { setSSID: Sr, getSSID: Er, Logaut: le, setAUTH: Rr, getAUTH: kr, Start: Cr }, Tn = { Path: Lr, setPage: Tr, getPage: Le, usePage: wr, setModule: Ir, getModule: Or, useModule: Pr, setTabs: Ar, getTabs: zr, useTabs: $r, useId: Nr, setId: Fr, subId: Dr, getId: Mr };
|
|
1088
1136
|
export {
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1137
|
+
rn as Action,
|
|
1138
|
+
Rn as Alert,
|
|
1139
|
+
yn as Browser,
|
|
1140
|
+
Ht as Button,
|
|
1141
|
+
Sn as Component,
|
|
1142
|
+
kn as Icon,
|
|
1143
|
+
Wr as Init,
|
|
1144
|
+
jr as Modal,
|
|
1145
|
+
En as Notice,
|
|
1146
|
+
Tn as Router,
|
|
1147
|
+
Cn as Setting,
|
|
1148
|
+
wn as Store,
|
|
1149
|
+
Hr as Tabs
|
|
1102
1150
|
};
|