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