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