@elcrm/form 0.0.22 → 0.0.24
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.css +1 -1
- package/dist/index.es.js +1719 -1721
- package/dist/index.umd.js +38 -38
- package/dist/src/lib/Field.d.ts +11 -0
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import
|
|
1
|
+
import U, { useEffect as Jt } from "react";
|
|
2
2
|
import { createPortal as It } from "react-dom";
|
|
3
|
-
import './index.css';const
|
|
4
|
-
version:
|
|
3
|
+
import './index.css';const Zt = "0.0.24", Vt = {
|
|
4
|
+
version: Zt
|
|
5
5
|
};
|
|
6
|
-
var
|
|
6
|
+
var Ot = { exports: {} }, pt = {};
|
|
7
7
|
/**
|
|
8
8
|
* @license React
|
|
9
9
|
* react-jsx-runtime.production.min.js
|
|
@@ -13,21 +13,21 @@ var Tt = { exports: {} }, mt = {};
|
|
|
13
13
|
* This source code is licensed under the MIT license found in the
|
|
14
14
|
* LICENSE file in the root directory of this source tree.
|
|
15
15
|
*/
|
|
16
|
-
var
|
|
17
|
-
function
|
|
18
|
-
if (
|
|
19
|
-
|
|
20
|
-
var n =
|
|
21
|
-
function O(x, s,
|
|
22
|
-
var o, d = {},
|
|
23
|
-
|
|
16
|
+
var $t;
|
|
17
|
+
function Xt() {
|
|
18
|
+
if ($t) return pt;
|
|
19
|
+
$t = 1;
|
|
20
|
+
var n = U, i = Symbol.for("react.element"), c = Symbol.for("react.fragment"), u = Object.prototype.hasOwnProperty, v = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, C = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
21
|
+
function O(x, s, g) {
|
|
22
|
+
var o, d = {}, b = null, S = null;
|
|
23
|
+
g !== void 0 && (b = "" + g), s.key !== void 0 && (b = "" + s.key), s.ref !== void 0 && (S = s.ref);
|
|
24
24
|
for (o in s) u.call(s, o) && !C.hasOwnProperty(o) && (d[o] = s[o]);
|
|
25
25
|
if (x && x.defaultProps) for (o in s = x.defaultProps, s) d[o] === void 0 && (d[o] = s[o]);
|
|
26
|
-
return { $$typeof:
|
|
26
|
+
return { $$typeof: i, type: x, key: b, ref: S, props: d, _owner: v.current };
|
|
27
27
|
}
|
|
28
|
-
return
|
|
28
|
+
return pt.Fragment = c, pt.jsx = O, pt.jsxs = O, pt;
|
|
29
29
|
}
|
|
30
|
-
var
|
|
30
|
+
var mt = {};
|
|
31
31
|
/**
|
|
32
32
|
* @license React
|
|
33
33
|
* react-jsx-runtime.development.js
|
|
@@ -37,10 +37,10 @@ var pt = {};
|
|
|
37
37
|
* This source code is licensed under the MIT license found in the
|
|
38
38
|
* LICENSE file in the root directory of this source tree.
|
|
39
39
|
*/
|
|
40
|
-
var
|
|
41
|
-
function
|
|
42
|
-
return
|
|
43
|
-
var n =
|
|
40
|
+
var At;
|
|
41
|
+
function Qt() {
|
|
42
|
+
return At || (At = 1, process.env.NODE_ENV !== "production" && function() {
|
|
43
|
+
var n = U, i = Symbol.for("react.element"), c = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), v = Symbol.for("react.strict_mode"), C = Symbol.for("react.profiler"), O = Symbol.for("react.provider"), x = Symbol.for("react.context"), s = Symbol.for("react.forward_ref"), g = Symbol.for("react.suspense"), o = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), b = Symbol.for("react.lazy"), S = Symbol.for("react.offscreen"), N = Symbol.iterator, A = "@@iterator";
|
|
44
44
|
function $(e) {
|
|
45
45
|
if (e === null || typeof e != "object")
|
|
46
46
|
return null;
|
|
@@ -52,39 +52,39 @@ function Xt() {
|
|
|
52
52
|
{
|
|
53
53
|
for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), a = 1; a < t; a++)
|
|
54
54
|
r[a - 1] = arguments[a];
|
|
55
|
-
|
|
55
|
+
M("error", e, r);
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
|
-
function
|
|
58
|
+
function M(e, t, r) {
|
|
59
59
|
{
|
|
60
|
-
var a = T.ReactDebugCurrentFrame,
|
|
61
|
-
|
|
60
|
+
var a = T.ReactDebugCurrentFrame, f = a.getStackAddendum();
|
|
61
|
+
f !== "" && (t += "%s", r = r.concat([f]));
|
|
62
62
|
var y = r.map(function(l) {
|
|
63
63
|
return String(l);
|
|
64
64
|
});
|
|
65
65
|
y.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, y);
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
|
-
var
|
|
69
|
-
|
|
68
|
+
var K = !1, G = !1, L = !1, q = !1, E = !1, D;
|
|
69
|
+
D = Symbol.for("react.module.reference");
|
|
70
70
|
function W(e) {
|
|
71
|
-
return !!(typeof e == "string" || typeof e == "function" || e === u || e === C || E || e ===
|
|
71
|
+
return !!(typeof e == "string" || typeof e == "function" || e === u || e === C || E || e === v || e === g || e === o || q || e === S || K || G || L || typeof e == "object" && e !== null && (e.$$typeof === b || e.$$typeof === d || e.$$typeof === O || e.$$typeof === x || e.$$typeof === s || // This needs to include all possible module reference object
|
|
72
72
|
// types supported by any Flight configuration anywhere since
|
|
73
73
|
// we don't know which Flight build this will end up being used
|
|
74
74
|
// with.
|
|
75
|
-
e.$$typeof ===
|
|
75
|
+
e.$$typeof === D || e.getModuleId !== void 0));
|
|
76
76
|
}
|
|
77
77
|
function R(e, t, r) {
|
|
78
78
|
var a = e.displayName;
|
|
79
79
|
if (a)
|
|
80
80
|
return a;
|
|
81
|
-
var
|
|
82
|
-
return
|
|
81
|
+
var f = t.displayName || t.name || "";
|
|
82
|
+
return f !== "" ? r + "(" + f + ")" : r;
|
|
83
83
|
}
|
|
84
|
-
function
|
|
84
|
+
function h(e) {
|
|
85
85
|
return e.displayName || "Context";
|
|
86
86
|
}
|
|
87
|
-
function
|
|
87
|
+
function k(e) {
|
|
88
88
|
if (e == null)
|
|
89
89
|
return null;
|
|
90
90
|
if (typeof e.tag == "number" && p("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
@@ -98,9 +98,9 @@ function Xt() {
|
|
|
98
98
|
return "Portal";
|
|
99
99
|
case C:
|
|
100
100
|
return "Profiler";
|
|
101
|
-
case
|
|
101
|
+
case v:
|
|
102
102
|
return "StrictMode";
|
|
103
|
-
case
|
|
103
|
+
case g:
|
|
104
104
|
return "Suspense";
|
|
105
105
|
case o:
|
|
106
106
|
return "SuspenseList";
|
|
@@ -109,19 +109,19 @@ function Xt() {
|
|
|
109
109
|
switch (e.$$typeof) {
|
|
110
110
|
case x:
|
|
111
111
|
var t = e;
|
|
112
|
-
return
|
|
112
|
+
return h(t) + ".Consumer";
|
|
113
113
|
case O:
|
|
114
114
|
var r = e;
|
|
115
|
-
return
|
|
115
|
+
return h(r._context) + ".Provider";
|
|
116
116
|
case s:
|
|
117
117
|
return R(e, e.render, "ForwardRef");
|
|
118
118
|
case d:
|
|
119
119
|
var a = e.displayName || null;
|
|
120
|
-
return a !== null ? a :
|
|
121
|
-
case
|
|
122
|
-
var
|
|
120
|
+
return a !== null ? a : k(e.type) || "Memo";
|
|
121
|
+
case b: {
|
|
122
|
+
var f = e, y = f._payload, l = f._init;
|
|
123
123
|
try {
|
|
124
|
-
return
|
|
124
|
+
return k(l(y));
|
|
125
125
|
} catch {
|
|
126
126
|
return null;
|
|
127
127
|
}
|
|
@@ -129,13 +129,13 @@ function Xt() {
|
|
|
129
129
|
}
|
|
130
130
|
return null;
|
|
131
131
|
}
|
|
132
|
-
var
|
|
132
|
+
var I = Object.assign, Y = 0, Q, ie, se, ve, ge, be, ke;
|
|
133
133
|
function we() {
|
|
134
134
|
}
|
|
135
135
|
we.__reactDisabledLog = !0;
|
|
136
136
|
function Le() {
|
|
137
137
|
{
|
|
138
|
-
if (
|
|
138
|
+
if (Y === 0) {
|
|
139
139
|
Q = console.log, ie = console.info, se = console.warn, ve = console.error, ge = console.group, be = console.groupCollapsed, ke = console.groupEnd;
|
|
140
140
|
var e = {
|
|
141
141
|
configurable: !0,
|
|
@@ -153,42 +153,42 @@ function Xt() {
|
|
|
153
153
|
groupEnd: e
|
|
154
154
|
});
|
|
155
155
|
}
|
|
156
|
-
|
|
156
|
+
Y++;
|
|
157
157
|
}
|
|
158
158
|
}
|
|
159
159
|
function We() {
|
|
160
160
|
{
|
|
161
|
-
if (
|
|
161
|
+
if (Y--, Y === 0) {
|
|
162
162
|
var e = {
|
|
163
163
|
configurable: !0,
|
|
164
164
|
enumerable: !0,
|
|
165
165
|
writable: !0
|
|
166
166
|
};
|
|
167
167
|
Object.defineProperties(console, {
|
|
168
|
-
log:
|
|
168
|
+
log: I({}, e, {
|
|
169
169
|
value: Q
|
|
170
170
|
}),
|
|
171
|
-
info:
|
|
171
|
+
info: I({}, e, {
|
|
172
172
|
value: ie
|
|
173
173
|
}),
|
|
174
|
-
warn:
|
|
174
|
+
warn: I({}, e, {
|
|
175
175
|
value: se
|
|
176
176
|
}),
|
|
177
|
-
error:
|
|
177
|
+
error: I({}, e, {
|
|
178
178
|
value: ve
|
|
179
179
|
}),
|
|
180
|
-
group:
|
|
180
|
+
group: I({}, e, {
|
|
181
181
|
value: ge
|
|
182
182
|
}),
|
|
183
|
-
groupCollapsed:
|
|
183
|
+
groupCollapsed: I({}, e, {
|
|
184
184
|
value: be
|
|
185
185
|
}),
|
|
186
|
-
groupEnd:
|
|
186
|
+
groupEnd: I({}, e, {
|
|
187
187
|
value: ke
|
|
188
188
|
})
|
|
189
189
|
});
|
|
190
190
|
}
|
|
191
|
-
|
|
191
|
+
Y < 0 && p("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
192
192
|
}
|
|
193
193
|
}
|
|
194
194
|
var le = T.ReactCurrentDispatcher, ce;
|
|
@@ -197,8 +197,8 @@ function Xt() {
|
|
|
197
197
|
if (ce === void 0)
|
|
198
198
|
try {
|
|
199
199
|
throw Error();
|
|
200
|
-
} catch (
|
|
201
|
-
var a =
|
|
200
|
+
} catch (f) {
|
|
201
|
+
var a = f.stack.trim().match(/\n( *(at )?)/);
|
|
202
202
|
ce = a && a[1] || "";
|
|
203
203
|
}
|
|
204
204
|
return `
|
|
@@ -220,7 +220,7 @@ function Xt() {
|
|
|
220
220
|
}
|
|
221
221
|
var a;
|
|
222
222
|
ue = !0;
|
|
223
|
-
var
|
|
223
|
+
var f = Error.prepareStackTrace;
|
|
224
224
|
Error.prepareStackTrace = void 0;
|
|
225
225
|
var y;
|
|
226
226
|
y = le.current, le.current = null, Le();
|
|
@@ -258,17 +258,17 @@ function Xt() {
|
|
|
258
258
|
}
|
|
259
259
|
} catch (F) {
|
|
260
260
|
if (F && a && typeof F.stack == "string") {
|
|
261
|
-
for (var
|
|
262
|
-
`),
|
|
263
|
-
`), w =
|
|
261
|
+
for (var _ = F.stack.split(`
|
|
262
|
+
`), P = a.stack.split(`
|
|
263
|
+
`), w = _.length - 1, j = P.length - 1; w >= 1 && j >= 0 && _[w] !== P[j]; )
|
|
264
264
|
j--;
|
|
265
265
|
for (; w >= 1 && j >= 0; w--, j--)
|
|
266
|
-
if (
|
|
266
|
+
if (_[w] !== P[j]) {
|
|
267
267
|
if (w !== 1 || j !== 1)
|
|
268
268
|
do
|
|
269
|
-
if (w--, j--, j < 0 ||
|
|
269
|
+
if (w--, j--, j < 0 || _[w] !== P[j]) {
|
|
270
270
|
var B = `
|
|
271
|
-
` +
|
|
271
|
+
` + _[w].replace(" at new ", " at ");
|
|
272
272
|
return e.displayName && B.includes("<anonymous>") && (B = B.replace("<anonymous>", e.displayName)), typeof e == "function" && ae.set(e, B), B;
|
|
273
273
|
}
|
|
274
274
|
while (w >= 1 && j >= 0);
|
|
@@ -276,7 +276,7 @@ function Xt() {
|
|
|
276
276
|
}
|
|
277
277
|
}
|
|
278
278
|
} finally {
|
|
279
|
-
ue = !1, le.current = y, We(), Error.prepareStackTrace =
|
|
279
|
+
ue = !1, le.current = y, We(), Error.prepareStackTrace = f;
|
|
280
280
|
}
|
|
281
281
|
var V = e ? e.displayName || e.name : "", H = V ? re(V) : "";
|
|
282
282
|
return typeof e == "function" && ae.set(e, H), H;
|
|
@@ -296,7 +296,7 @@ function Xt() {
|
|
|
296
296
|
if (typeof e == "string")
|
|
297
297
|
return re(e);
|
|
298
298
|
switch (e) {
|
|
299
|
-
case
|
|
299
|
+
case g:
|
|
300
300
|
return re("Suspense");
|
|
301
301
|
case o:
|
|
302
302
|
return re("SuspenseList");
|
|
@@ -307,10 +307,10 @@ function Xt() {
|
|
|
307
307
|
return Ke(e.render);
|
|
308
308
|
case d:
|
|
309
309
|
return ne(e.type, t, r);
|
|
310
|
-
case
|
|
311
|
-
var a = e,
|
|
310
|
+
case b: {
|
|
311
|
+
var a = e, f = a._payload, y = a._init;
|
|
312
312
|
try {
|
|
313
|
-
return ne(y(
|
|
313
|
+
return ne(y(f), t, r);
|
|
314
314
|
} catch {
|
|
315
315
|
}
|
|
316
316
|
}
|
|
@@ -325,22 +325,22 @@ function Xt() {
|
|
|
325
325
|
} else
|
|
326
326
|
Ce.setExtraStackFrame(null);
|
|
327
327
|
}
|
|
328
|
-
function Ye(e, t, r, a,
|
|
328
|
+
function Ye(e, t, r, a, f) {
|
|
329
329
|
{
|
|
330
330
|
var y = Function.call.bind(X);
|
|
331
331
|
for (var l in e)
|
|
332
332
|
if (y(e, l)) {
|
|
333
|
-
var
|
|
333
|
+
var _ = void 0;
|
|
334
334
|
try {
|
|
335
335
|
if (typeof e[l] != "function") {
|
|
336
|
-
var
|
|
337
|
-
throw
|
|
336
|
+
var P = Error((a || "React class") + ": " + r + " type `" + l + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[l] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
337
|
+
throw P.name = "Invariant Violation", P;
|
|
338
338
|
}
|
|
339
|
-
|
|
339
|
+
_ = e[l](t, l, a, r, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
340
340
|
} catch (w) {
|
|
341
|
-
|
|
341
|
+
_ = w;
|
|
342
342
|
}
|
|
343
|
-
|
|
343
|
+
_ && !(_ instanceof Error) && (oe(f), p("%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).", a || "React class", r, l, typeof _), oe(null)), _ instanceof Error && !(_.message in xe) && (xe[_.message] = !0, oe(f), p("Failed %s type: %s", r, _.message), oe(null));
|
|
344
344
|
}
|
|
345
345
|
}
|
|
346
346
|
}
|
|
@@ -415,10 +415,10 @@ function Xt() {
|
|
|
415
415
|
});
|
|
416
416
|
}
|
|
417
417
|
}
|
|
418
|
-
var tt = function(e, t, r, a,
|
|
419
|
-
var
|
|
418
|
+
var tt = function(e, t, r, a, f, y, l) {
|
|
419
|
+
var _ = {
|
|
420
420
|
// This tag allows us to uniquely identify this as a React Element
|
|
421
|
-
$$typeof:
|
|
421
|
+
$$typeof: i,
|
|
422
422
|
// Built-in properties that belong on the element
|
|
423
423
|
type: e,
|
|
424
424
|
key: t,
|
|
@@ -427,27 +427,27 @@ function Xt() {
|
|
|
427
427
|
// Record the component responsible for creating this element.
|
|
428
428
|
_owner: y
|
|
429
429
|
};
|
|
430
|
-
return
|
|
430
|
+
return _._store = {}, Object.defineProperty(_._store, "validated", {
|
|
431
431
|
configurable: !1,
|
|
432
432
|
enumerable: !1,
|
|
433
433
|
writable: !0,
|
|
434
434
|
value: !1
|
|
435
|
-
}), Object.defineProperty(
|
|
435
|
+
}), Object.defineProperty(_, "_self", {
|
|
436
436
|
configurable: !1,
|
|
437
437
|
enumerable: !1,
|
|
438
438
|
writable: !1,
|
|
439
439
|
value: a
|
|
440
|
-
}), Object.defineProperty(
|
|
440
|
+
}), Object.defineProperty(_, "_source", {
|
|
441
441
|
configurable: !1,
|
|
442
442
|
enumerable: !1,
|
|
443
443
|
writable: !1,
|
|
444
|
-
value:
|
|
445
|
-
}), Object.freeze && (Object.freeze(
|
|
444
|
+
value: f
|
|
445
|
+
}), Object.freeze && (Object.freeze(_.props), Object.freeze(_)), _;
|
|
446
446
|
};
|
|
447
|
-
function rt(e, t, r, a,
|
|
447
|
+
function rt(e, t, r, a, f) {
|
|
448
448
|
{
|
|
449
|
-
var y, l = {},
|
|
450
|
-
r !== void 0 && (Re(r),
|
|
449
|
+
var y, l = {}, _ = null, P = null;
|
|
450
|
+
r !== void 0 && (Re(r), _ = "" + r), Ve(t) && (Re(t.key), _ = "" + t.key), Ze(t) && (P = t.ref, Xe(t, f));
|
|
451
451
|
for (y in t)
|
|
452
452
|
X.call(t, y) && !Je.hasOwnProperty(y) && (l[y] = t[y]);
|
|
453
453
|
if (e && e.defaultProps) {
|
|
@@ -455,11 +455,11 @@ function Xt() {
|
|
|
455
455
|
for (y in w)
|
|
456
456
|
l[y] === void 0 && (l[y] = w[y]);
|
|
457
457
|
}
|
|
458
|
-
if (
|
|
458
|
+
if (_ || P) {
|
|
459
459
|
var j = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
460
|
-
|
|
460
|
+
_ && Qe(l, j), P && et(l, j);
|
|
461
461
|
}
|
|
462
|
-
return tt(e,
|
|
462
|
+
return tt(e, _, P, f, a, Ee.current, l);
|
|
463
463
|
}
|
|
464
464
|
}
|
|
465
465
|
var fe = T.ReactCurrentOwner, De = T.ReactDebugCurrentFrame;
|
|
@@ -470,15 +470,15 @@ function Xt() {
|
|
|
470
470
|
} else
|
|
471
471
|
De.setExtraStackFrame(null);
|
|
472
472
|
}
|
|
473
|
-
var
|
|
474
|
-
|
|
475
|
-
function
|
|
476
|
-
return typeof e == "object" && e !== null && e.$$typeof ===
|
|
473
|
+
var pe;
|
|
474
|
+
pe = !1;
|
|
475
|
+
function me(e) {
|
|
476
|
+
return typeof e == "object" && e !== null && e.$$typeof === i;
|
|
477
477
|
}
|
|
478
478
|
function Pe() {
|
|
479
479
|
{
|
|
480
480
|
if (fe.current) {
|
|
481
|
-
var e =
|
|
481
|
+
var e = k(fe.current.type);
|
|
482
482
|
if (e)
|
|
483
483
|
return `
|
|
484
484
|
|
|
@@ -513,7 +513,7 @@ Check the top-level render call using <` + r + ">.");
|
|
|
513
513
|
return;
|
|
514
514
|
Ne[r] = !0;
|
|
515
515
|
var a = "";
|
|
516
|
-
e && e._owner && e._owner !== fe.current && (a = " It was passed a child from " +
|
|
516
|
+
e && e._owner && e._owner !== fe.current && (a = " It was passed a child from " + k(e._owner.type) + "."), Z(e), p('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', r, a), Z(null);
|
|
517
517
|
}
|
|
518
518
|
}
|
|
519
519
|
function Ie(e, t) {
|
|
@@ -523,15 +523,15 @@ Check the top-level render call using <` + r + ">.");
|
|
|
523
523
|
if (de(e))
|
|
524
524
|
for (var r = 0; r < e.length; r++) {
|
|
525
525
|
var a = e[r];
|
|
526
|
-
|
|
526
|
+
me(a) && Fe(a, t);
|
|
527
527
|
}
|
|
528
|
-
else if (
|
|
528
|
+
else if (me(e))
|
|
529
529
|
e._store && (e._store.validated = !0);
|
|
530
530
|
else if (e) {
|
|
531
|
-
var
|
|
532
|
-
if (typeof
|
|
533
|
-
for (var y =
|
|
534
|
-
|
|
531
|
+
var f = $(e);
|
|
532
|
+
if (typeof f == "function" && f !== e.entries)
|
|
533
|
+
for (var y = f.call(e), l; !(l = y.next()).done; )
|
|
534
|
+
me(l.value) && Fe(l.value, t);
|
|
535
535
|
}
|
|
536
536
|
}
|
|
537
537
|
}
|
|
@@ -550,12 +550,12 @@ Check the top-level render call using <` + r + ">.");
|
|
|
550
550
|
else
|
|
551
551
|
return;
|
|
552
552
|
if (r) {
|
|
553
|
-
var a =
|
|
553
|
+
var a = k(t);
|
|
554
554
|
Ye(r, e.props, "prop", a, e);
|
|
555
|
-
} else if (t.PropTypes !== void 0 && !
|
|
556
|
-
|
|
557
|
-
var
|
|
558
|
-
p("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",
|
|
555
|
+
} else if (t.PropTypes !== void 0 && !pe) {
|
|
556
|
+
pe = !0;
|
|
557
|
+
var f = k(t);
|
|
558
|
+
p("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", f || "Unknown");
|
|
559
559
|
}
|
|
560
560
|
typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && p("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
561
561
|
}
|
|
@@ -573,18 +573,18 @@ Check the top-level render call using <` + r + ">.");
|
|
|
573
573
|
}
|
|
574
574
|
}
|
|
575
575
|
var Me = {};
|
|
576
|
-
function $e(e, t, r, a,
|
|
576
|
+
function $e(e, t, r, a, f, y) {
|
|
577
577
|
{
|
|
578
578
|
var l = W(e);
|
|
579
579
|
if (!l) {
|
|
580
|
-
var
|
|
581
|
-
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (
|
|
582
|
-
var
|
|
583
|
-
|
|
580
|
+
var _ = "";
|
|
581
|
+
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (_ += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
582
|
+
var P = at();
|
|
583
|
+
P ? _ += P : _ += Pe();
|
|
584
584
|
var w;
|
|
585
|
-
e === null ? w = "null" : de(e) ? w = "array" : e !== void 0 && e.$$typeof ===
|
|
585
|
+
e === null ? w = "null" : de(e) ? w = "array" : e !== void 0 && e.$$typeof === i ? (w = "<" + (k(e.type) || "Unknown") + " />", _ = " Did you accidentally export a JSX literal instead of a component?") : w = typeof e, p("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", w, _);
|
|
586
586
|
}
|
|
587
|
-
var j = rt(e, t, r,
|
|
587
|
+
var j = rt(e, t, r, f, y);
|
|
588
588
|
if (j == null)
|
|
589
589
|
return j;
|
|
590
590
|
if (l) {
|
|
@@ -601,7 +601,7 @@ Check the top-level render call using <` + r + ">.");
|
|
|
601
601
|
Ie(B, e);
|
|
602
602
|
}
|
|
603
603
|
if (X.call(t, "key")) {
|
|
604
|
-
var H =
|
|
604
|
+
var H = k(e), F = Object.keys(t).filter(function(dt) {
|
|
605
605
|
return dt !== "key";
|
|
606
606
|
}), ye = F.length > 0 ? "{key: someKey, " + F.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
607
607
|
if (!Me[H + ye]) {
|
|
@@ -624,18 +624,18 @@ React keys must be passed directly to JSX without using spread:
|
|
|
624
624
|
return $e(e, t, r, !1);
|
|
625
625
|
}
|
|
626
626
|
var lt = st, ct = _t;
|
|
627
|
-
|
|
628
|
-
}()),
|
|
627
|
+
mt.Fragment = u, mt.jsx = lt, mt.jsxs = ct;
|
|
628
|
+
}()), mt;
|
|
629
629
|
}
|
|
630
|
-
process.env.NODE_ENV === "production" ?
|
|
631
|
-
var
|
|
632
|
-
function va({ name: n, value:
|
|
630
|
+
process.env.NODE_ENV === "production" ? Ot.exports = Xt() : Ot.exports = Qt();
|
|
631
|
+
var m = Ot.exports;
|
|
632
|
+
function va({ name: n, value: i, title: c, style: u, className: v }) {
|
|
633
633
|
let C = {
|
|
634
634
|
field: "progress"
|
|
635
635
|
};
|
|
636
|
-
return u && (C.style = u),
|
|
637
|
-
c && /* @__PURE__ */
|
|
638
|
-
/* @__PURE__ */
|
|
636
|
+
return u && (C.style = u), v && (C.className = v), /* @__PURE__ */ m.jsxs("dl", { ...C, children: [
|
|
637
|
+
c && /* @__PURE__ */ m.jsx("dt", { children: c }),
|
|
638
|
+
/* @__PURE__ */ m.jsx("dd", {})
|
|
639
639
|
] });
|
|
640
640
|
}
|
|
641
641
|
let te = {};
|
|
@@ -643,15 +643,15 @@ te.KeyDown = (n) => {
|
|
|
643
643
|
n.key === "Enter" && n.preventDefault();
|
|
644
644
|
};
|
|
645
645
|
te.PasteOne = (n) => {
|
|
646
|
-
n.preventDefault(), navigator.clipboard.readText().then((
|
|
647
|
-
|
|
648
|
-
}).catch((
|
|
646
|
+
n.preventDefault(), navigator.clipboard.readText().then((i) => {
|
|
647
|
+
i = i.replace(/^\s*/, "").replace(/\s*$/, ""), window.document.execCommand("insertText", !1, i);
|
|
648
|
+
}).catch((i) => {
|
|
649
649
|
});
|
|
650
650
|
};
|
|
651
|
-
te.Paste = (n,
|
|
652
|
-
|
|
651
|
+
te.Paste = (n, i) => {
|
|
652
|
+
i.preventDefault(), navigator.clipboard.readText().then((c) => {
|
|
653
653
|
if (n) {
|
|
654
|
-
let u =
|
|
654
|
+
let u = i.target.textContent.length;
|
|
655
655
|
if (u >= n) return;
|
|
656
656
|
n -= u, c = c.slice(0, n);
|
|
657
657
|
}
|
|
@@ -670,7 +670,120 @@ te.Blur = (n) => {
|
|
|
670
670
|
n.target.scrollLeft = 0, n.target.querySelector("br") !== null && n.target.querySelector("br").remove();
|
|
671
671
|
};
|
|
672
672
|
te.ContentEditable = "plaintext-only";
|
|
673
|
-
|
|
673
|
+
const er = "_l_8hznl_13", tr = "_f_8hznl_38", rr = "_n_8hznl_55", ar = "_w_8hznl_60", nr = "_t_8hznl_70", z = {
|
|
674
|
+
l: er,
|
|
675
|
+
f: tr,
|
|
676
|
+
n: rr,
|
|
677
|
+
w: ar,
|
|
678
|
+
t: nr
|
|
679
|
+
};
|
|
680
|
+
function Mt({
|
|
681
|
+
element_blok: n,
|
|
682
|
+
element_input: i,
|
|
683
|
+
type: c = "input",
|
|
684
|
+
title: u,
|
|
685
|
+
before: v,
|
|
686
|
+
after: C,
|
|
687
|
+
children: O
|
|
688
|
+
}) {
|
|
689
|
+
return /* @__PURE__ */ m.jsxs(
|
|
690
|
+
"dl",
|
|
691
|
+
{
|
|
692
|
+
"data-field": c,
|
|
693
|
+
...i.props,
|
|
694
|
+
className: [z.l, ...n.className].filter((x) => x !== void 0).join(" "),
|
|
695
|
+
children: [
|
|
696
|
+
u ? /* @__PURE__ */ m.jsx("dt", { className: z.t, children: u }) : "",
|
|
697
|
+
v,
|
|
698
|
+
/* @__PURE__ */ m.jsx(
|
|
699
|
+
"dd",
|
|
700
|
+
{
|
|
701
|
+
className: [z.f, ...i.className].join(
|
|
702
|
+
" "
|
|
703
|
+
),
|
|
704
|
+
...i.props,
|
|
705
|
+
children: O
|
|
706
|
+
}
|
|
707
|
+
),
|
|
708
|
+
C
|
|
709
|
+
]
|
|
710
|
+
}
|
|
711
|
+
);
|
|
712
|
+
}
|
|
713
|
+
function ga({
|
|
714
|
+
id: n,
|
|
715
|
+
value: i,
|
|
716
|
+
onValue: c,
|
|
717
|
+
name: u,
|
|
718
|
+
placeholder: v = "",
|
|
719
|
+
title: C = "",
|
|
720
|
+
error: O = "",
|
|
721
|
+
hide: x = !1,
|
|
722
|
+
edit: s = !0,
|
|
723
|
+
active: g = !0,
|
|
724
|
+
after: o = "",
|
|
725
|
+
before: d = "",
|
|
726
|
+
show: b = !0,
|
|
727
|
+
maxLength: S,
|
|
728
|
+
onSave: N,
|
|
729
|
+
className: A = "",
|
|
730
|
+
isCopy: $ = !0,
|
|
731
|
+
isReload: T = !1
|
|
732
|
+
}) {
|
|
733
|
+
let p = !!(x && (i === "" || i === void 0)), M = (E) => {
|
|
734
|
+
c && c({
|
|
735
|
+
value: E.target.textContent.trim(),
|
|
736
|
+
name: u,
|
|
737
|
+
reload: T
|
|
738
|
+
});
|
|
739
|
+
}, K = (E) => {
|
|
740
|
+
S && E.target.textContent.trim().length >= S && E.key !== "Backspace" && E.preventDefault(), E.key === "Enter" && E.preventDefault();
|
|
741
|
+
}, G = (E) => {
|
|
742
|
+
E.preventDefault(), navigator.clipboard.readText().then((D) => {
|
|
743
|
+
if (S) {
|
|
744
|
+
let W = E.target.textContent.length;
|
|
745
|
+
if (W >= S) return;
|
|
746
|
+
S -= W, D = D.slice(0, S);
|
|
747
|
+
}
|
|
748
|
+
window.document.execCommand(
|
|
749
|
+
"insertText",
|
|
750
|
+
!1,
|
|
751
|
+
D.replace(/(\r\n|\n|\r)/gm, " ")
|
|
752
|
+
);
|
|
753
|
+
}).catch((D) => {
|
|
754
|
+
});
|
|
755
|
+
};
|
|
756
|
+
if (!(s && g) && !b || !(s && g) && p) return "";
|
|
757
|
+
const L = {};
|
|
758
|
+
v && (L.placeholder = v), s && g && (L.edit = "");
|
|
759
|
+
const q = (E) => {
|
|
760
|
+
te.Blur(E), N == null || N({ value: E.target.textContent.trim(), name: u });
|
|
761
|
+
};
|
|
762
|
+
return /* @__PURE__ */ m.jsx(
|
|
763
|
+
Mt,
|
|
764
|
+
{
|
|
765
|
+
type: "input",
|
|
766
|
+
title: C,
|
|
767
|
+
element_blok: { className: A },
|
|
768
|
+
element_input: { className: [z.w] },
|
|
769
|
+
children: /* @__PURE__ */ m.jsx(
|
|
770
|
+
"div",
|
|
771
|
+
{
|
|
772
|
+
onBlur: q,
|
|
773
|
+
onPaste: G,
|
|
774
|
+
onInput: M,
|
|
775
|
+
onKeyDown: K,
|
|
776
|
+
spellCheck: "true",
|
|
777
|
+
contentEditable: s && g ? te.ContentEditable : "false",
|
|
778
|
+
suppressContentEditableWarning: !0,
|
|
779
|
+
...L,
|
|
780
|
+
children: i
|
|
781
|
+
}
|
|
782
|
+
)
|
|
783
|
+
}
|
|
784
|
+
);
|
|
785
|
+
}
|
|
786
|
+
var Tt = { exports: {} }, yt = {};
|
|
674
787
|
/**
|
|
675
788
|
* @license React
|
|
676
789
|
* react-jsx-runtime.production.min.js
|
|
@@ -680,17 +793,17 @@ var Dt = { exports: {} }, yt = {};
|
|
|
680
793
|
* This source code is licensed under the MIT license found in the
|
|
681
794
|
* LICENSE file in the root directory of this source tree.
|
|
682
795
|
*/
|
|
683
|
-
var
|
|
684
|
-
function
|
|
685
|
-
if (
|
|
686
|
-
|
|
687
|
-
var n =
|
|
688
|
-
function O(x, s,
|
|
689
|
-
var o, d = {},
|
|
690
|
-
|
|
796
|
+
var Bt;
|
|
797
|
+
function or() {
|
|
798
|
+
if (Bt) return yt;
|
|
799
|
+
Bt = 1;
|
|
800
|
+
var n = U, i = Symbol.for("react.element"), c = Symbol.for("react.fragment"), u = Object.prototype.hasOwnProperty, v = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, C = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
801
|
+
function O(x, s, g) {
|
|
802
|
+
var o, d = {}, b = null, S = null;
|
|
803
|
+
g !== void 0 && (b = "" + g), s.key !== void 0 && (b = "" + s.key), s.ref !== void 0 && (S = s.ref);
|
|
691
804
|
for (o in s) u.call(s, o) && !C.hasOwnProperty(o) && (d[o] = s[o]);
|
|
692
805
|
if (x && x.defaultProps) for (o in s = x.defaultProps, s) d[o] === void 0 && (d[o] = s[o]);
|
|
693
|
-
return { $$typeof:
|
|
806
|
+
return { $$typeof: i, type: x, key: b, ref: S, props: d, _owner: v.current };
|
|
694
807
|
}
|
|
695
808
|
return yt.Fragment = c, yt.jsx = O, yt.jsxs = O, yt;
|
|
696
809
|
}
|
|
@@ -704,10 +817,10 @@ var bt = {};
|
|
|
704
817
|
* This source code is licensed under the MIT license found in the
|
|
705
818
|
* LICENSE file in the root directory of this source tree.
|
|
706
819
|
*/
|
|
707
|
-
var
|
|
708
|
-
function
|
|
709
|
-
return
|
|
710
|
-
var n =
|
|
820
|
+
var Lt;
|
|
821
|
+
function ir() {
|
|
822
|
+
return Lt || (Lt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
823
|
+
var n = U, i = Symbol.for("react.element"), c = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), v = Symbol.for("react.strict_mode"), C = Symbol.for("react.profiler"), O = Symbol.for("react.provider"), x = Symbol.for("react.context"), s = Symbol.for("react.forward_ref"), g = Symbol.for("react.suspense"), o = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), b = Symbol.for("react.lazy"), S = Symbol.for("react.offscreen"), N = Symbol.iterator, A = "@@iterator";
|
|
711
824
|
function $(e) {
|
|
712
825
|
if (e === null || typeof e != "object")
|
|
713
826
|
return null;
|
|
@@ -719,39 +832,39 @@ function er() {
|
|
|
719
832
|
{
|
|
720
833
|
for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), a = 1; a < t; a++)
|
|
721
834
|
r[a - 1] = arguments[a];
|
|
722
|
-
|
|
835
|
+
M("error", e, r);
|
|
723
836
|
}
|
|
724
837
|
}
|
|
725
|
-
function
|
|
838
|
+
function M(e, t, r) {
|
|
726
839
|
{
|
|
727
|
-
var a = T.ReactDebugCurrentFrame,
|
|
728
|
-
|
|
840
|
+
var a = T.ReactDebugCurrentFrame, f = a.getStackAddendum();
|
|
841
|
+
f !== "" && (t += "%s", r = r.concat([f]));
|
|
729
842
|
var y = r.map(function(l) {
|
|
730
843
|
return String(l);
|
|
731
844
|
});
|
|
732
845
|
y.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, y);
|
|
733
846
|
}
|
|
734
847
|
}
|
|
735
|
-
var
|
|
736
|
-
|
|
848
|
+
var K = !1, G = !1, L = !1, q = !1, E = !1, D;
|
|
849
|
+
D = Symbol.for("react.module.reference");
|
|
737
850
|
function W(e) {
|
|
738
|
-
return !!(typeof e == "string" || typeof e == "function" || e === u || e === C || E || e ===
|
|
851
|
+
return !!(typeof e == "string" || typeof e == "function" || e === u || e === C || E || e === v || e === g || e === o || q || e === S || K || G || L || typeof e == "object" && e !== null && (e.$$typeof === b || e.$$typeof === d || e.$$typeof === O || e.$$typeof === x || e.$$typeof === s || // This needs to include all possible module reference object
|
|
739
852
|
// types supported by any Flight configuration anywhere since
|
|
740
853
|
// we don't know which Flight build this will end up being used
|
|
741
854
|
// with.
|
|
742
|
-
e.$$typeof ===
|
|
855
|
+
e.$$typeof === D || e.getModuleId !== void 0));
|
|
743
856
|
}
|
|
744
857
|
function R(e, t, r) {
|
|
745
858
|
var a = e.displayName;
|
|
746
859
|
if (a)
|
|
747
860
|
return a;
|
|
748
|
-
var
|
|
749
|
-
return
|
|
861
|
+
var f = t.displayName || t.name || "";
|
|
862
|
+
return f !== "" ? r + "(" + f + ")" : r;
|
|
750
863
|
}
|
|
751
|
-
function
|
|
864
|
+
function h(e) {
|
|
752
865
|
return e.displayName || "Context";
|
|
753
866
|
}
|
|
754
|
-
function
|
|
867
|
+
function k(e) {
|
|
755
868
|
if (e == null)
|
|
756
869
|
return null;
|
|
757
870
|
if (typeof e.tag == "number" && p("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
@@ -765,9 +878,9 @@ function er() {
|
|
|
765
878
|
return "Portal";
|
|
766
879
|
case C:
|
|
767
880
|
return "Profiler";
|
|
768
|
-
case
|
|
881
|
+
case v:
|
|
769
882
|
return "StrictMode";
|
|
770
|
-
case
|
|
883
|
+
case g:
|
|
771
884
|
return "Suspense";
|
|
772
885
|
case o:
|
|
773
886
|
return "SuspenseList";
|
|
@@ -776,19 +889,19 @@ function er() {
|
|
|
776
889
|
switch (e.$$typeof) {
|
|
777
890
|
case x:
|
|
778
891
|
var t = e;
|
|
779
|
-
return
|
|
892
|
+
return h(t) + ".Consumer";
|
|
780
893
|
case O:
|
|
781
894
|
var r = e;
|
|
782
|
-
return
|
|
895
|
+
return h(r._context) + ".Provider";
|
|
783
896
|
case s:
|
|
784
897
|
return R(e, e.render, "ForwardRef");
|
|
785
898
|
case d:
|
|
786
899
|
var a = e.displayName || null;
|
|
787
|
-
return a !== null ? a :
|
|
788
|
-
case
|
|
789
|
-
var
|
|
900
|
+
return a !== null ? a : k(e.type) || "Memo";
|
|
901
|
+
case b: {
|
|
902
|
+
var f = e, y = f._payload, l = f._init;
|
|
790
903
|
try {
|
|
791
|
-
return
|
|
904
|
+
return k(l(y));
|
|
792
905
|
} catch {
|
|
793
906
|
return null;
|
|
794
907
|
}
|
|
@@ -796,13 +909,13 @@ function er() {
|
|
|
796
909
|
}
|
|
797
910
|
return null;
|
|
798
911
|
}
|
|
799
|
-
var
|
|
912
|
+
var I = Object.assign, Y = 0, Q, ie, se, ve, ge, be, ke;
|
|
800
913
|
function we() {
|
|
801
914
|
}
|
|
802
915
|
we.__reactDisabledLog = !0;
|
|
803
916
|
function Le() {
|
|
804
917
|
{
|
|
805
|
-
if (
|
|
918
|
+
if (Y === 0) {
|
|
806
919
|
Q = console.log, ie = console.info, se = console.warn, ve = console.error, ge = console.group, be = console.groupCollapsed, ke = console.groupEnd;
|
|
807
920
|
var e = {
|
|
808
921
|
configurable: !0,
|
|
@@ -820,42 +933,42 @@ function er() {
|
|
|
820
933
|
groupEnd: e
|
|
821
934
|
});
|
|
822
935
|
}
|
|
823
|
-
|
|
936
|
+
Y++;
|
|
824
937
|
}
|
|
825
938
|
}
|
|
826
939
|
function We() {
|
|
827
940
|
{
|
|
828
|
-
if (
|
|
941
|
+
if (Y--, Y === 0) {
|
|
829
942
|
var e = {
|
|
830
943
|
configurable: !0,
|
|
831
944
|
enumerable: !0,
|
|
832
945
|
writable: !0
|
|
833
946
|
};
|
|
834
947
|
Object.defineProperties(console, {
|
|
835
|
-
log:
|
|
948
|
+
log: I({}, e, {
|
|
836
949
|
value: Q
|
|
837
950
|
}),
|
|
838
|
-
info:
|
|
951
|
+
info: I({}, e, {
|
|
839
952
|
value: ie
|
|
840
953
|
}),
|
|
841
|
-
warn:
|
|
954
|
+
warn: I({}, e, {
|
|
842
955
|
value: se
|
|
843
956
|
}),
|
|
844
|
-
error:
|
|
957
|
+
error: I({}, e, {
|
|
845
958
|
value: ve
|
|
846
959
|
}),
|
|
847
|
-
group:
|
|
960
|
+
group: I({}, e, {
|
|
848
961
|
value: ge
|
|
849
962
|
}),
|
|
850
|
-
groupCollapsed:
|
|
963
|
+
groupCollapsed: I({}, e, {
|
|
851
964
|
value: be
|
|
852
965
|
}),
|
|
853
|
-
groupEnd:
|
|
966
|
+
groupEnd: I({}, e, {
|
|
854
967
|
value: ke
|
|
855
968
|
})
|
|
856
969
|
});
|
|
857
970
|
}
|
|
858
|
-
|
|
971
|
+
Y < 0 && p("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
859
972
|
}
|
|
860
973
|
}
|
|
861
974
|
var le = T.ReactCurrentDispatcher, ce;
|
|
@@ -864,8 +977,8 @@ function er() {
|
|
|
864
977
|
if (ce === void 0)
|
|
865
978
|
try {
|
|
866
979
|
throw Error();
|
|
867
|
-
} catch (
|
|
868
|
-
var a =
|
|
980
|
+
} catch (f) {
|
|
981
|
+
var a = f.stack.trim().match(/\n( *(at )?)/);
|
|
869
982
|
ce = a && a[1] || "";
|
|
870
983
|
}
|
|
871
984
|
return `
|
|
@@ -887,7 +1000,7 @@ function er() {
|
|
|
887
1000
|
}
|
|
888
1001
|
var a;
|
|
889
1002
|
ue = !0;
|
|
890
|
-
var
|
|
1003
|
+
var f = Error.prepareStackTrace;
|
|
891
1004
|
Error.prepareStackTrace = void 0;
|
|
892
1005
|
var y;
|
|
893
1006
|
y = le.current, le.current = null, Le();
|
|
@@ -925,17 +1038,17 @@ function er() {
|
|
|
925
1038
|
}
|
|
926
1039
|
} catch (F) {
|
|
927
1040
|
if (F && a && typeof F.stack == "string") {
|
|
928
|
-
for (var
|
|
929
|
-
`),
|
|
930
|
-
`), w =
|
|
1041
|
+
for (var _ = F.stack.split(`
|
|
1042
|
+
`), P = a.stack.split(`
|
|
1043
|
+
`), w = _.length - 1, j = P.length - 1; w >= 1 && j >= 0 && _[w] !== P[j]; )
|
|
931
1044
|
j--;
|
|
932
1045
|
for (; w >= 1 && j >= 0; w--, j--)
|
|
933
|
-
if (
|
|
1046
|
+
if (_[w] !== P[j]) {
|
|
934
1047
|
if (w !== 1 || j !== 1)
|
|
935
1048
|
do
|
|
936
|
-
if (w--, j--, j < 0 ||
|
|
1049
|
+
if (w--, j--, j < 0 || _[w] !== P[j]) {
|
|
937
1050
|
var B = `
|
|
938
|
-
` +
|
|
1051
|
+
` + _[w].replace(" at new ", " at ");
|
|
939
1052
|
return e.displayName && B.includes("<anonymous>") && (B = B.replace("<anonymous>", e.displayName)), typeof e == "function" && ae.set(e, B), B;
|
|
940
1053
|
}
|
|
941
1054
|
while (w >= 1 && j >= 0);
|
|
@@ -943,7 +1056,7 @@ function er() {
|
|
|
943
1056
|
}
|
|
944
1057
|
}
|
|
945
1058
|
} finally {
|
|
946
|
-
ue = !1, le.current = y, We(), Error.prepareStackTrace =
|
|
1059
|
+
ue = !1, le.current = y, We(), Error.prepareStackTrace = f;
|
|
947
1060
|
}
|
|
948
1061
|
var V = e ? e.displayName || e.name : "", H = V ? re(V) : "";
|
|
949
1062
|
return typeof e == "function" && ae.set(e, H), H;
|
|
@@ -963,7 +1076,7 @@ function er() {
|
|
|
963
1076
|
if (typeof e == "string")
|
|
964
1077
|
return re(e);
|
|
965
1078
|
switch (e) {
|
|
966
|
-
case
|
|
1079
|
+
case g:
|
|
967
1080
|
return re("Suspense");
|
|
968
1081
|
case o:
|
|
969
1082
|
return re("SuspenseList");
|
|
@@ -974,10 +1087,10 @@ function er() {
|
|
|
974
1087
|
return Ke(e.render);
|
|
975
1088
|
case d:
|
|
976
1089
|
return ne(e.type, t, r);
|
|
977
|
-
case
|
|
978
|
-
var a = e,
|
|
1090
|
+
case b: {
|
|
1091
|
+
var a = e, f = a._payload, y = a._init;
|
|
979
1092
|
try {
|
|
980
|
-
return ne(y(
|
|
1093
|
+
return ne(y(f), t, r);
|
|
981
1094
|
} catch {
|
|
982
1095
|
}
|
|
983
1096
|
}
|
|
@@ -992,22 +1105,22 @@ function er() {
|
|
|
992
1105
|
} else
|
|
993
1106
|
Ce.setExtraStackFrame(null);
|
|
994
1107
|
}
|
|
995
|
-
function Ye(e, t, r, a,
|
|
1108
|
+
function Ye(e, t, r, a, f) {
|
|
996
1109
|
{
|
|
997
1110
|
var y = Function.call.bind(X);
|
|
998
1111
|
for (var l in e)
|
|
999
1112
|
if (y(e, l)) {
|
|
1000
|
-
var
|
|
1113
|
+
var _ = void 0;
|
|
1001
1114
|
try {
|
|
1002
1115
|
if (typeof e[l] != "function") {
|
|
1003
|
-
var
|
|
1004
|
-
throw
|
|
1116
|
+
var P = Error((a || "React class") + ": " + r + " type `" + l + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[l] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
1117
|
+
throw P.name = "Invariant Violation", P;
|
|
1005
1118
|
}
|
|
1006
|
-
|
|
1119
|
+
_ = e[l](t, l, a, r, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
1007
1120
|
} catch (w) {
|
|
1008
|
-
|
|
1121
|
+
_ = w;
|
|
1009
1122
|
}
|
|
1010
|
-
|
|
1123
|
+
_ && !(_ instanceof Error) && (oe(f), p("%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).", a || "React class", r, l, typeof _), oe(null)), _ instanceof Error && !(_.message in xe) && (xe[_.message] = !0, oe(f), p("Failed %s type: %s", r, _.message), oe(null));
|
|
1011
1124
|
}
|
|
1012
1125
|
}
|
|
1013
1126
|
}
|
|
@@ -1082,10 +1195,10 @@ function er() {
|
|
|
1082
1195
|
});
|
|
1083
1196
|
}
|
|
1084
1197
|
}
|
|
1085
|
-
var tt = function(e, t, r, a,
|
|
1086
|
-
var
|
|
1198
|
+
var tt = function(e, t, r, a, f, y, l) {
|
|
1199
|
+
var _ = {
|
|
1087
1200
|
// This tag allows us to uniquely identify this as a React Element
|
|
1088
|
-
$$typeof:
|
|
1201
|
+
$$typeof: i,
|
|
1089
1202
|
// Built-in properties that belong on the element
|
|
1090
1203
|
type: e,
|
|
1091
1204
|
key: t,
|
|
@@ -1094,27 +1207,27 @@ function er() {
|
|
|
1094
1207
|
// Record the component responsible for creating this element.
|
|
1095
1208
|
_owner: y
|
|
1096
1209
|
};
|
|
1097
|
-
return
|
|
1210
|
+
return _._store = {}, Object.defineProperty(_._store, "validated", {
|
|
1098
1211
|
configurable: !1,
|
|
1099
1212
|
enumerable: !1,
|
|
1100
1213
|
writable: !0,
|
|
1101
1214
|
value: !1
|
|
1102
|
-
}), Object.defineProperty(
|
|
1215
|
+
}), Object.defineProperty(_, "_self", {
|
|
1103
1216
|
configurable: !1,
|
|
1104
1217
|
enumerable: !1,
|
|
1105
1218
|
writable: !1,
|
|
1106
1219
|
value: a
|
|
1107
|
-
}), Object.defineProperty(
|
|
1220
|
+
}), Object.defineProperty(_, "_source", {
|
|
1108
1221
|
configurable: !1,
|
|
1109
1222
|
enumerable: !1,
|
|
1110
1223
|
writable: !1,
|
|
1111
|
-
value:
|
|
1112
|
-
}), Object.freeze && (Object.freeze(
|
|
1224
|
+
value: f
|
|
1225
|
+
}), Object.freeze && (Object.freeze(_.props), Object.freeze(_)), _;
|
|
1113
1226
|
};
|
|
1114
|
-
function rt(e, t, r, a,
|
|
1227
|
+
function rt(e, t, r, a, f) {
|
|
1115
1228
|
{
|
|
1116
|
-
var y, l = {},
|
|
1117
|
-
r !== void 0 && (Re(r),
|
|
1229
|
+
var y, l = {}, _ = null, P = null;
|
|
1230
|
+
r !== void 0 && (Re(r), _ = "" + r), Ve(t) && (Re(t.key), _ = "" + t.key), Ze(t) && (P = t.ref, Xe(t));
|
|
1118
1231
|
for (y in t)
|
|
1119
1232
|
X.call(t, y) && !Je.hasOwnProperty(y) && (l[y] = t[y]);
|
|
1120
1233
|
if (e && e.defaultProps) {
|
|
@@ -1122,11 +1235,11 @@ function er() {
|
|
|
1122
1235
|
for (y in w)
|
|
1123
1236
|
l[y] === void 0 && (l[y] = w[y]);
|
|
1124
1237
|
}
|
|
1125
|
-
if (
|
|
1238
|
+
if (_ || P) {
|
|
1126
1239
|
var j = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
1127
|
-
|
|
1240
|
+
_ && Qe(l, j), P && et(l, j);
|
|
1128
1241
|
}
|
|
1129
|
-
return tt(e,
|
|
1242
|
+
return tt(e, _, P, f, a, Ee.current, l);
|
|
1130
1243
|
}
|
|
1131
1244
|
}
|
|
1132
1245
|
var fe = T.ReactCurrentOwner, De = T.ReactDebugCurrentFrame;
|
|
@@ -1137,15 +1250,15 @@ function er() {
|
|
|
1137
1250
|
} else
|
|
1138
1251
|
De.setExtraStackFrame(null);
|
|
1139
1252
|
}
|
|
1140
|
-
var
|
|
1141
|
-
|
|
1142
|
-
function
|
|
1143
|
-
return typeof e == "object" && e !== null && e.$$typeof ===
|
|
1253
|
+
var pe;
|
|
1254
|
+
pe = !1;
|
|
1255
|
+
function me(e) {
|
|
1256
|
+
return typeof e == "object" && e !== null && e.$$typeof === i;
|
|
1144
1257
|
}
|
|
1145
1258
|
function Pe() {
|
|
1146
1259
|
{
|
|
1147
1260
|
if (fe.current) {
|
|
1148
|
-
var e =
|
|
1261
|
+
var e = k(fe.current.type);
|
|
1149
1262
|
if (e)
|
|
1150
1263
|
return `
|
|
1151
1264
|
|
|
@@ -1180,7 +1293,7 @@ Check the top-level render call using <` + r + ">.");
|
|
|
1180
1293
|
return;
|
|
1181
1294
|
Ne[r] = !0;
|
|
1182
1295
|
var a = "";
|
|
1183
|
-
e && e._owner && e._owner !== fe.current && (a = " It was passed a child from " +
|
|
1296
|
+
e && e._owner && e._owner !== fe.current && (a = " It was passed a child from " + k(e._owner.type) + "."), Z(e), p('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', r, a), Z(null);
|
|
1184
1297
|
}
|
|
1185
1298
|
}
|
|
1186
1299
|
function Ie(e, t) {
|
|
@@ -1190,15 +1303,15 @@ Check the top-level render call using <` + r + ">.");
|
|
|
1190
1303
|
if (de(e))
|
|
1191
1304
|
for (var r = 0; r < e.length; r++) {
|
|
1192
1305
|
var a = e[r];
|
|
1193
|
-
|
|
1306
|
+
me(a) && Fe(a, t);
|
|
1194
1307
|
}
|
|
1195
|
-
else if (
|
|
1308
|
+
else if (me(e))
|
|
1196
1309
|
e._store && (e._store.validated = !0);
|
|
1197
1310
|
else if (e) {
|
|
1198
|
-
var
|
|
1199
|
-
if (typeof
|
|
1200
|
-
for (var y =
|
|
1201
|
-
|
|
1311
|
+
var f = $(e);
|
|
1312
|
+
if (typeof f == "function" && f !== e.entries)
|
|
1313
|
+
for (var y = f.call(e), l; !(l = y.next()).done; )
|
|
1314
|
+
me(l.value) && Fe(l.value, t);
|
|
1202
1315
|
}
|
|
1203
1316
|
}
|
|
1204
1317
|
}
|
|
@@ -1217,12 +1330,12 @@ Check the top-level render call using <` + r + ">.");
|
|
|
1217
1330
|
else
|
|
1218
1331
|
return;
|
|
1219
1332
|
if (r) {
|
|
1220
|
-
var a =
|
|
1333
|
+
var a = k(t);
|
|
1221
1334
|
Ye(r, e.props, "prop", a, e);
|
|
1222
|
-
} else if (t.PropTypes !== void 0 && !
|
|
1223
|
-
|
|
1224
|
-
var
|
|
1225
|
-
p("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",
|
|
1335
|
+
} else if (t.PropTypes !== void 0 && !pe) {
|
|
1336
|
+
pe = !0;
|
|
1337
|
+
var f = k(t);
|
|
1338
|
+
p("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", f || "Unknown");
|
|
1226
1339
|
}
|
|
1227
1340
|
typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && p("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
1228
1341
|
}
|
|
@@ -1240,18 +1353,18 @@ Check the top-level render call using <` + r + ">.");
|
|
|
1240
1353
|
}
|
|
1241
1354
|
}
|
|
1242
1355
|
var Me = {};
|
|
1243
|
-
function $e(e, t, r, a,
|
|
1356
|
+
function $e(e, t, r, a, f, y) {
|
|
1244
1357
|
{
|
|
1245
1358
|
var l = W(e);
|
|
1246
1359
|
if (!l) {
|
|
1247
|
-
var
|
|
1248
|
-
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (
|
|
1249
|
-
var
|
|
1250
|
-
|
|
1360
|
+
var _ = "";
|
|
1361
|
+
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (_ += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
1362
|
+
var P = at();
|
|
1363
|
+
P ? _ += P : _ += Pe();
|
|
1251
1364
|
var w;
|
|
1252
|
-
e === null ? w = "null" : de(e) ? w = "array" : e !== void 0 && e.$$typeof ===
|
|
1365
|
+
e === null ? w = "null" : de(e) ? w = "array" : e !== void 0 && e.$$typeof === i ? (w = "<" + (k(e.type) || "Unknown") + " />", _ = " Did you accidentally export a JSX literal instead of a component?") : w = typeof e, p("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", w, _);
|
|
1253
1366
|
}
|
|
1254
|
-
var j = rt(e, t, r,
|
|
1367
|
+
var j = rt(e, t, r, f, y);
|
|
1255
1368
|
if (j == null)
|
|
1256
1369
|
return j;
|
|
1257
1370
|
if (l) {
|
|
@@ -1268,7 +1381,7 @@ Check the top-level render call using <` + r + ">.");
|
|
|
1268
1381
|
Ie(B, e);
|
|
1269
1382
|
}
|
|
1270
1383
|
if (X.call(t, "key")) {
|
|
1271
|
-
var H =
|
|
1384
|
+
var H = k(e), F = Object.keys(t).filter(function(dt) {
|
|
1272
1385
|
return dt !== "key";
|
|
1273
1386
|
}), ye = F.length > 0 ? "{key: someKey, " + F.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
1274
1387
|
if (!Me[H + ye]) {
|
|
@@ -1294,237 +1407,92 @@ React keys must be passed directly to JSX without using spread:
|
|
|
1294
1407
|
bt.Fragment = u, bt.jsx = lt, bt.jsxs = ct;
|
|
1295
1408
|
}()), bt;
|
|
1296
1409
|
}
|
|
1297
|
-
process.env.NODE_ENV === "production" ?
|
|
1298
|
-
var
|
|
1299
|
-
const
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1410
|
+
process.env.NODE_ENV === "production" ? Tt.exports = or() : Tt.exports = ir();
|
|
1411
|
+
var J = Tt.exports;
|
|
1412
|
+
const _r = "_shake_oqfdb_1", sr = "_modal_oqfdb_79", lr = "_sa_oqfdb_89", cr = "_ss_oqfdb_94", ur = "_sm_oqfdb_98", dr = "_sl_oqfdb_102", fr = "_sx_oqfdb_106", pr = "_sf_oqfdb_110", mr = "_o_oqfdb_116", yr = "_b_oqfdb_28", vr = "_w_oqfdb_15", gr = "_h_oqfdb_146", hr = "_l_oqfdb_160", br = "_t_oqfdb_197", kr = "_x_oqfdb_201", wr = "_s_oqfdb_89", jr = "_c_oqfdb_219", xr = "_f_oqfdb_224", Cr = "_r__oqfdb_235", Sr = "_c__oqfdb_250", Rr = "_g_oqfdb_259", Er = "_m_oqfdb_79", _e = {
|
|
1413
|
+
shake: _r,
|
|
1414
|
+
modal: sr,
|
|
1415
|
+
sa: lr,
|
|
1416
|
+
ss: cr,
|
|
1417
|
+
sm: ur,
|
|
1418
|
+
sl: dr,
|
|
1419
|
+
sx: fr,
|
|
1420
|
+
sf: pr,
|
|
1421
|
+
o: mr,
|
|
1422
|
+
b: yr,
|
|
1423
|
+
w: vr,
|
|
1424
|
+
h: gr,
|
|
1425
|
+
l: hr,
|
|
1426
|
+
t: br,
|
|
1427
|
+
x: kr,
|
|
1428
|
+
s: wr,
|
|
1429
|
+
c: jr,
|
|
1430
|
+
f: xr,
|
|
1431
|
+
r_: Cr,
|
|
1432
|
+
c_: Sr,
|
|
1433
|
+
g: Rr,
|
|
1434
|
+
m: Er
|
|
1307
1435
|
};
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
K.useEffect(() => {
|
|
1312
|
-
n.hide && (setTimeout(function() {
|
|
1313
|
-
c("hide");
|
|
1314
|
-
}, 1800), setTimeout(function() {
|
|
1315
|
-
Be.del(n.key);
|
|
1316
|
-
}, 2500));
|
|
1317
|
-
}, [n.key]);
|
|
1318
|
-
let u, g;
|
|
1319
|
-
switch (n.type) {
|
|
1320
|
-
case "error":
|
|
1321
|
-
u = /* @__PURE__ */ ee.jsx(ft.error, {}), g = "Ошибка:";
|
|
1322
|
-
break;
|
|
1323
|
-
case "success":
|
|
1324
|
-
u = /* @__PURE__ */ ee.jsx(ft.success, {}), g = "Информация:";
|
|
1325
|
-
break;
|
|
1326
|
-
case "copy":
|
|
1327
|
-
u = /* @__PURE__ */ ee.jsx(ft.success, {}), g = "Копирование:";
|
|
1328
|
-
break;
|
|
1329
|
-
case "remark":
|
|
1330
|
-
u = /* @__PURE__ */ ee.jsx(ft.success, {}), g = "Подсказка:";
|
|
1331
|
-
break;
|
|
1332
|
-
default:
|
|
1333
|
-
u = /* @__PURE__ */ ee.jsx(ft.success, {}), g = "Предупреждение:";
|
|
1334
|
-
break;
|
|
1335
|
-
}
|
|
1336
|
-
return /* @__PURE__ */ ee.jsxs("li", { className: zt[n.type], "data-status": _, children: [
|
|
1337
|
-
u,
|
|
1338
|
-
/* @__PURE__ */ ee.jsx("b", { children: g }),
|
|
1339
|
-
/* @__PURE__ */ ee.jsx("p", { children: n.text })
|
|
1340
|
-
] });
|
|
1341
|
-
}
|
|
1342
|
-
function ir({ data: n }) {
|
|
1343
|
-
let [_, c] = K.useState("show");
|
|
1344
|
-
return K.useEffect(() => {
|
|
1345
|
-
n.hide && (setTimeout(function() {
|
|
1346
|
-
c("hide");
|
|
1347
|
-
}, 1800), setTimeout(function() {
|
|
1348
|
-
Be.del(n.key);
|
|
1349
|
-
}, 2500));
|
|
1350
|
-
}, [n.key]), /* @__PURE__ */ ee.jsx("li", { className: "item", "data-status": _, children: n.text });
|
|
1351
|
-
}
|
|
1352
|
-
const ft = {};
|
|
1353
|
-
ft.error = () => /* @__PURE__ */ ee.jsxs("svg", { viewBox: "0 0 24 24", fill: "none", children: [
|
|
1354
|
-
/* @__PURE__ */ ee.jsx(
|
|
1355
|
-
"path",
|
|
1436
|
+
function Or({ children: n, className: i }) {
|
|
1437
|
+
return /* @__PURE__ */ J.jsx(
|
|
1438
|
+
"div",
|
|
1356
1439
|
{
|
|
1357
|
-
|
|
1358
|
-
|
|
1440
|
+
className: [_e.l, i].filter((c) => c !== void 0).join(" "),
|
|
1441
|
+
children: /* @__PURE__ */ J.jsx("ul", { children: n })
|
|
1359
1442
|
}
|
|
1360
|
-
)
|
|
1361
|
-
|
|
1362
|
-
|
|
1443
|
+
);
|
|
1444
|
+
}
|
|
1445
|
+
function Tr({ children: n, className: i }) {
|
|
1446
|
+
return /* @__PURE__ */ J.jsx(
|
|
1447
|
+
"div",
|
|
1363
1448
|
{
|
|
1364
|
-
|
|
1365
|
-
|
|
1449
|
+
className: [_e.s, i].filter((c) => c !== void 0).join(" "),
|
|
1450
|
+
children: n
|
|
1366
1451
|
}
|
|
1367
|
-
)
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1452
|
+
);
|
|
1453
|
+
}
|
|
1454
|
+
function Dr({
|
|
1455
|
+
children: n,
|
|
1456
|
+
direction: i = "column",
|
|
1457
|
+
className: c
|
|
1458
|
+
}) {
|
|
1459
|
+
return /* @__PURE__ */ J.jsx(
|
|
1460
|
+
"ul",
|
|
1372
1461
|
{
|
|
1373
|
-
|
|
1374
|
-
|
|
1462
|
+
className: [
|
|
1463
|
+
_e.f,
|
|
1464
|
+
_e[i === "row" ? "r_" : "c_"],
|
|
1465
|
+
c
|
|
1466
|
+
].filter((u) => u !== void 0).join(" "),
|
|
1467
|
+
children: n
|
|
1375
1468
|
}
|
|
1376
|
-
)
|
|
1377
|
-
|
|
1378
|
-
|
|
1469
|
+
);
|
|
1470
|
+
}
|
|
1471
|
+
function Pr({ children: n, className: i }) {
|
|
1472
|
+
return /* @__PURE__ */ J.jsx(
|
|
1473
|
+
"div",
|
|
1379
1474
|
{
|
|
1380
|
-
|
|
1381
|
-
|
|
1475
|
+
className: [_e.c, i].filter((c) => c !== void 0).join(" "),
|
|
1476
|
+
children: n
|
|
1382
1477
|
}
|
|
1383
|
-
)
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
let [s, h] = K.useState([]);
|
|
1389
|
-
return Be.set = (o) => {
|
|
1390
|
-
h([...s, o]);
|
|
1391
|
-
}, Be.del = (o) => {
|
|
1392
|
-
h(s.filter((d) => d.key !== o));
|
|
1393
|
-
}, s.length === 0 ? "" : /* @__PURE__ */ ee.jsx("ul", { className: zt.notice, children: s.map((o) => o.item) });
|
|
1394
|
-
}
|
|
1395
|
-
n.Init = _;
|
|
1396
|
-
function c(s, h = !0) {
|
|
1397
|
-
let o = Date.now(), d = { key: o, text: s, hide: h, type: "error" };
|
|
1398
|
-
Be.set({
|
|
1399
|
-
item: /* @__PURE__ */ ee.jsx(vt, { data: d }, o),
|
|
1400
|
-
key: o
|
|
1401
|
-
});
|
|
1402
|
-
}
|
|
1403
|
-
n.Error = c;
|
|
1404
|
-
function u(s, h = !0) {
|
|
1405
|
-
let o = Date.now(), d = { key: o, text: s, hide: h, type: "success" };
|
|
1406
|
-
Be.set({
|
|
1407
|
-
item: /* @__PURE__ */ ee.jsx(vt, { data: d }, o),
|
|
1408
|
-
key: o
|
|
1409
|
-
});
|
|
1410
|
-
}
|
|
1411
|
-
n.Success = u;
|
|
1412
|
-
function g(s, h = !0) {
|
|
1413
|
-
let o = Date.now(), d = { key: o, hide: h, text: s };
|
|
1414
|
-
Be.set({ item: /* @__PURE__ */ ee.jsx(ir, { data: d }, o), key: o });
|
|
1415
|
-
}
|
|
1416
|
-
n.Custom = g;
|
|
1417
|
-
function C(s) {
|
|
1418
|
-
let h = Date.now(), o = { key: h, hide: !0, ...s };
|
|
1419
|
-
Be.set({
|
|
1420
|
-
item: /* @__PURE__ */ ee.jsx(vt, { data: o }, h),
|
|
1421
|
-
key: h
|
|
1422
|
-
});
|
|
1423
|
-
}
|
|
1424
|
-
n.Send = C;
|
|
1425
|
-
function O(s, h = !0) {
|
|
1426
|
-
let o = Date.now(), d = { key: o, text: s, hide: h, type: "remark" };
|
|
1427
|
-
Be.set({
|
|
1428
|
-
item: /* @__PURE__ */ ee.jsx(vt, { data: d }, o),
|
|
1429
|
-
key: o
|
|
1430
|
-
});
|
|
1431
|
-
}
|
|
1432
|
-
n.Remark = O;
|
|
1433
|
-
function x(s, h = !0) {
|
|
1434
|
-
let o = Date.now(), d = { key: o, text: s, hide: h, type: "copy" };
|
|
1435
|
-
Be.set({
|
|
1436
|
-
item: /* @__PURE__ */ ee.jsx(vt, { data: d }, o),
|
|
1437
|
-
key: o
|
|
1438
|
-
});
|
|
1439
|
-
}
|
|
1440
|
-
n.Copy = x;
|
|
1441
|
-
})(xt || (xt = {}));
|
|
1442
|
-
const _r = "_l_o6yrz_13", sr = "_f_o6yrz_38", lr = "_n_o6yrz_50", cr = "_w_o6yrz_55", ur = "_t_o6yrz_65", z = {
|
|
1443
|
-
l: _r,
|
|
1444
|
-
f: sr,
|
|
1445
|
-
n: lr,
|
|
1446
|
-
w: cr,
|
|
1447
|
-
t: ur
|
|
1448
|
-
};
|
|
1449
|
-
function ga({
|
|
1450
|
-
id: n,
|
|
1451
|
-
value: _,
|
|
1452
|
-
onValue: c,
|
|
1453
|
-
name: u,
|
|
1454
|
-
placeholder: g = "",
|
|
1455
|
-
title: C = "",
|
|
1456
|
-
error: O = "",
|
|
1457
|
-
hide: x = !1,
|
|
1458
|
-
edit: s = !0,
|
|
1459
|
-
active: h = !0,
|
|
1460
|
-
after: o = "",
|
|
1461
|
-
before: d = "",
|
|
1462
|
-
show: k = !0,
|
|
1463
|
-
maxLength: S,
|
|
1464
|
-
onSave: N,
|
|
1465
|
-
className: A = "",
|
|
1466
|
-
isCopy: $ = !0,
|
|
1467
|
-
isReload: T = !1
|
|
1468
|
-
}) {
|
|
1469
|
-
let p = !!(x && (_ === "" || _ === void 0)), I = (E) => {
|
|
1470
|
-
c && c({
|
|
1471
|
-
value: E.target.textContent.trim(),
|
|
1472
|
-
name: u,
|
|
1473
|
-
reload: T
|
|
1474
|
-
});
|
|
1475
|
-
}, q = (E) => {
|
|
1476
|
-
S && E.target.textContent.trim().length >= S && E.key !== "Backspace" && E.preventDefault(), E.key === "Enter" && E.preventDefault();
|
|
1477
|
-
}, Y = (E) => {
|
|
1478
|
-
E.preventDefault(), navigator.clipboard.readText().then((P) => {
|
|
1479
|
-
if (S) {
|
|
1480
|
-
let W = E.target.textContent.length;
|
|
1481
|
-
if (W >= S) return;
|
|
1482
|
-
S -= W, P = P.slice(0, S);
|
|
1483
|
-
}
|
|
1484
|
-
window.document.execCommand(
|
|
1485
|
-
"insertText",
|
|
1486
|
-
!1,
|
|
1487
|
-
P.replace(/(\r\n|\n|\r)/gm, " ")
|
|
1488
|
-
);
|
|
1489
|
-
}).catch((P) => {
|
|
1490
|
-
});
|
|
1491
|
-
};
|
|
1492
|
-
if (!(s && h) && !k || !(s && h) && p) return "";
|
|
1493
|
-
const L = {};
|
|
1494
|
-
g && (L.placeholder = g), s && h && (L.edit = "");
|
|
1495
|
-
const U = (E) => {
|
|
1496
|
-
te.Blur(E), N == null || N({ value: E.target.textContent.trim(), name: u });
|
|
1497
|
-
};
|
|
1498
|
-
return /* @__PURE__ */ f.jsxs(
|
|
1499
|
-
"dl",
|
|
1478
|
+
);
|
|
1479
|
+
}
|
|
1480
|
+
function Nr({ children: n, className: i }) {
|
|
1481
|
+
return /* @__PURE__ */ J.jsx(
|
|
1482
|
+
"div",
|
|
1500
1483
|
{
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
children: [
|
|
1504
|
-
C ? /* @__PURE__ */ f.jsx("dt", { className: z.t, children: C }) : "",
|
|
1505
|
-
d,
|
|
1506
|
-
/* @__PURE__ */ f.jsx(
|
|
1507
|
-
"dd",
|
|
1508
|
-
{
|
|
1509
|
-
className: [z.f, z.w].join(" "),
|
|
1510
|
-
onPaste: Y,
|
|
1511
|
-
onInput: I,
|
|
1512
|
-
onBlur: U,
|
|
1513
|
-
onKeyDown: q,
|
|
1514
|
-
spellCheck: "true",
|
|
1515
|
-
contentEditable: s && h ? te.ContentEditable : "false",
|
|
1516
|
-
suppressContentEditableWarning: !0,
|
|
1517
|
-
...L,
|
|
1518
|
-
children: _
|
|
1519
|
-
}
|
|
1520
|
-
),
|
|
1521
|
-
o,
|
|
1522
|
-
O ? /* @__PURE__ */ f.jsx("em", { children: O }) : ""
|
|
1523
|
-
]
|
|
1484
|
+
className: [_e.g, i].filter((c) => c !== void 0).join(" "),
|
|
1485
|
+
children: n
|
|
1524
1486
|
}
|
|
1525
1487
|
);
|
|
1526
1488
|
}
|
|
1527
|
-
|
|
1489
|
+
function Fr() {
|
|
1490
|
+
return typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof self < "u" ? self : typeof global < "u" ? global : {};
|
|
1491
|
+
}
|
|
1492
|
+
function Wt(n) {
|
|
1493
|
+
return Fr().IMPORT_MODULES;
|
|
1494
|
+
}
|
|
1495
|
+
var Dt = { exports: {} }, vt = {};
|
|
1528
1496
|
/**
|
|
1529
1497
|
* @license React
|
|
1530
1498
|
* react-jsx-runtime.production.min.js
|
|
@@ -1534,19 +1502,19 @@ var Pt = { exports: {} }, gt = {};
|
|
|
1534
1502
|
* This source code is licensed under the MIT license found in the
|
|
1535
1503
|
* LICENSE file in the root directory of this source tree.
|
|
1536
1504
|
*/
|
|
1537
|
-
var
|
|
1538
|
-
function
|
|
1539
|
-
if (
|
|
1540
|
-
|
|
1541
|
-
var n =
|
|
1542
|
-
function O(x, s,
|
|
1543
|
-
var o, d = {},
|
|
1544
|
-
|
|
1505
|
+
var Ut;
|
|
1506
|
+
function Ir() {
|
|
1507
|
+
if (Ut) return vt;
|
|
1508
|
+
Ut = 1;
|
|
1509
|
+
var n = U, i = Symbol.for("react.element"), c = Symbol.for("react.fragment"), u = Object.prototype.hasOwnProperty, v = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, C = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
1510
|
+
function O(x, s, g) {
|
|
1511
|
+
var o, d = {}, b = null, S = null;
|
|
1512
|
+
g !== void 0 && (b = "" + g), s.key !== void 0 && (b = "" + s.key), s.ref !== void 0 && (S = s.ref);
|
|
1545
1513
|
for (o in s) u.call(s, o) && !C.hasOwnProperty(o) && (d[o] = s[o]);
|
|
1546
1514
|
if (x && x.defaultProps) for (o in s = x.defaultProps, s) d[o] === void 0 && (d[o] = s[o]);
|
|
1547
|
-
return { $$typeof:
|
|
1515
|
+
return { $$typeof: i, type: x, key: b, ref: S, props: d, _owner: v.current };
|
|
1548
1516
|
}
|
|
1549
|
-
return
|
|
1517
|
+
return vt.Fragment = c, vt.jsx = O, vt.jsxs = O, vt;
|
|
1550
1518
|
}
|
|
1551
1519
|
var kt = {};
|
|
1552
1520
|
/**
|
|
@@ -1558,10 +1526,10 @@ var kt = {};
|
|
|
1558
1526
|
* This source code is licensed under the MIT license found in the
|
|
1559
1527
|
* LICENSE file in the root directory of this source tree.
|
|
1560
1528
|
*/
|
|
1561
|
-
var
|
|
1562
|
-
function
|
|
1563
|
-
return
|
|
1564
|
-
var n =
|
|
1529
|
+
var Kt;
|
|
1530
|
+
function Mr() {
|
|
1531
|
+
return Kt || (Kt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
1532
|
+
var n = U, i = Symbol.for("react.element"), c = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), v = Symbol.for("react.strict_mode"), C = Symbol.for("react.profiler"), O = Symbol.for("react.provider"), x = Symbol.for("react.context"), s = Symbol.for("react.forward_ref"), g = Symbol.for("react.suspense"), o = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), b = Symbol.for("react.lazy"), S = Symbol.for("react.offscreen"), N = Symbol.iterator, A = "@@iterator";
|
|
1565
1533
|
function $(e) {
|
|
1566
1534
|
if (e === null || typeof e != "object")
|
|
1567
1535
|
return null;
|
|
@@ -1573,39 +1541,39 @@ function fr() {
|
|
|
1573
1541
|
{
|
|
1574
1542
|
for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), a = 1; a < t; a++)
|
|
1575
1543
|
r[a - 1] = arguments[a];
|
|
1576
|
-
|
|
1544
|
+
M("error", e, r);
|
|
1577
1545
|
}
|
|
1578
1546
|
}
|
|
1579
|
-
function
|
|
1547
|
+
function M(e, t, r) {
|
|
1580
1548
|
{
|
|
1581
|
-
var a = T.ReactDebugCurrentFrame,
|
|
1582
|
-
|
|
1549
|
+
var a = T.ReactDebugCurrentFrame, f = a.getStackAddendum();
|
|
1550
|
+
f !== "" && (t += "%s", r = r.concat([f]));
|
|
1583
1551
|
var y = r.map(function(l) {
|
|
1584
1552
|
return String(l);
|
|
1585
1553
|
});
|
|
1586
1554
|
y.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, y);
|
|
1587
1555
|
}
|
|
1588
1556
|
}
|
|
1589
|
-
var
|
|
1590
|
-
|
|
1557
|
+
var K = !1, G = !1, L = !1, q = !1, E = !1, D;
|
|
1558
|
+
D = Symbol.for("react.module.reference");
|
|
1591
1559
|
function W(e) {
|
|
1592
|
-
return !!(typeof e == "string" || typeof e == "function" || e === u || e === C || E || e ===
|
|
1560
|
+
return !!(typeof e == "string" || typeof e == "function" || e === u || e === C || E || e === v || e === g || e === o || q || e === S || K || G || L || typeof e == "object" && e !== null && (e.$$typeof === b || e.$$typeof === d || e.$$typeof === O || e.$$typeof === x || e.$$typeof === s || // This needs to include all possible module reference object
|
|
1593
1561
|
// types supported by any Flight configuration anywhere since
|
|
1594
1562
|
// we don't know which Flight build this will end up being used
|
|
1595
1563
|
// with.
|
|
1596
|
-
e.$$typeof ===
|
|
1564
|
+
e.$$typeof === D || e.getModuleId !== void 0));
|
|
1597
1565
|
}
|
|
1598
1566
|
function R(e, t, r) {
|
|
1599
1567
|
var a = e.displayName;
|
|
1600
1568
|
if (a)
|
|
1601
1569
|
return a;
|
|
1602
|
-
var
|
|
1603
|
-
return
|
|
1570
|
+
var f = t.displayName || t.name || "";
|
|
1571
|
+
return f !== "" ? r + "(" + f + ")" : r;
|
|
1604
1572
|
}
|
|
1605
|
-
function
|
|
1573
|
+
function h(e) {
|
|
1606
1574
|
return e.displayName || "Context";
|
|
1607
1575
|
}
|
|
1608
|
-
function
|
|
1576
|
+
function k(e) {
|
|
1609
1577
|
if (e == null)
|
|
1610
1578
|
return null;
|
|
1611
1579
|
if (typeof e.tag == "number" && p("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
@@ -1619,9 +1587,9 @@ function fr() {
|
|
|
1619
1587
|
return "Portal";
|
|
1620
1588
|
case C:
|
|
1621
1589
|
return "Profiler";
|
|
1622
|
-
case
|
|
1590
|
+
case v:
|
|
1623
1591
|
return "StrictMode";
|
|
1624
|
-
case
|
|
1592
|
+
case g:
|
|
1625
1593
|
return "Suspense";
|
|
1626
1594
|
case o:
|
|
1627
1595
|
return "SuspenseList";
|
|
@@ -1630,19 +1598,19 @@ function fr() {
|
|
|
1630
1598
|
switch (e.$$typeof) {
|
|
1631
1599
|
case x:
|
|
1632
1600
|
var t = e;
|
|
1633
|
-
return
|
|
1601
|
+
return h(t) + ".Consumer";
|
|
1634
1602
|
case O:
|
|
1635
1603
|
var r = e;
|
|
1636
|
-
return
|
|
1604
|
+
return h(r._context) + ".Provider";
|
|
1637
1605
|
case s:
|
|
1638
1606
|
return R(e, e.render, "ForwardRef");
|
|
1639
1607
|
case d:
|
|
1640
1608
|
var a = e.displayName || null;
|
|
1641
|
-
return a !== null ? a :
|
|
1642
|
-
case
|
|
1643
|
-
var
|
|
1609
|
+
return a !== null ? a : k(e.type) || "Memo";
|
|
1610
|
+
case b: {
|
|
1611
|
+
var f = e, y = f._payload, l = f._init;
|
|
1644
1612
|
try {
|
|
1645
|
-
return
|
|
1613
|
+
return k(l(y));
|
|
1646
1614
|
} catch {
|
|
1647
1615
|
return null;
|
|
1648
1616
|
}
|
|
@@ -1650,13 +1618,13 @@ function fr() {
|
|
|
1650
1618
|
}
|
|
1651
1619
|
return null;
|
|
1652
1620
|
}
|
|
1653
|
-
var
|
|
1621
|
+
var I = Object.assign, Y = 0, Q, ie, se, ve, ge, be, ke;
|
|
1654
1622
|
function we() {
|
|
1655
1623
|
}
|
|
1656
1624
|
we.__reactDisabledLog = !0;
|
|
1657
1625
|
function Le() {
|
|
1658
1626
|
{
|
|
1659
|
-
if (
|
|
1627
|
+
if (Y === 0) {
|
|
1660
1628
|
Q = console.log, ie = console.info, se = console.warn, ve = console.error, ge = console.group, be = console.groupCollapsed, ke = console.groupEnd;
|
|
1661
1629
|
var e = {
|
|
1662
1630
|
configurable: !0,
|
|
@@ -1674,42 +1642,42 @@ function fr() {
|
|
|
1674
1642
|
groupEnd: e
|
|
1675
1643
|
});
|
|
1676
1644
|
}
|
|
1677
|
-
|
|
1645
|
+
Y++;
|
|
1678
1646
|
}
|
|
1679
1647
|
}
|
|
1680
1648
|
function We() {
|
|
1681
1649
|
{
|
|
1682
|
-
if (
|
|
1650
|
+
if (Y--, Y === 0) {
|
|
1683
1651
|
var e = {
|
|
1684
1652
|
configurable: !0,
|
|
1685
1653
|
enumerable: !0,
|
|
1686
1654
|
writable: !0
|
|
1687
1655
|
};
|
|
1688
1656
|
Object.defineProperties(console, {
|
|
1689
|
-
log:
|
|
1657
|
+
log: I({}, e, {
|
|
1690
1658
|
value: Q
|
|
1691
1659
|
}),
|
|
1692
|
-
info:
|
|
1660
|
+
info: I({}, e, {
|
|
1693
1661
|
value: ie
|
|
1694
1662
|
}),
|
|
1695
|
-
warn:
|
|
1663
|
+
warn: I({}, e, {
|
|
1696
1664
|
value: se
|
|
1697
1665
|
}),
|
|
1698
|
-
error:
|
|
1666
|
+
error: I({}, e, {
|
|
1699
1667
|
value: ve
|
|
1700
1668
|
}),
|
|
1701
|
-
group:
|
|
1669
|
+
group: I({}, e, {
|
|
1702
1670
|
value: ge
|
|
1703
1671
|
}),
|
|
1704
|
-
groupCollapsed:
|
|
1672
|
+
groupCollapsed: I({}, e, {
|
|
1705
1673
|
value: be
|
|
1706
1674
|
}),
|
|
1707
|
-
groupEnd:
|
|
1675
|
+
groupEnd: I({}, e, {
|
|
1708
1676
|
value: ke
|
|
1709
1677
|
})
|
|
1710
1678
|
});
|
|
1711
1679
|
}
|
|
1712
|
-
|
|
1680
|
+
Y < 0 && p("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
1713
1681
|
}
|
|
1714
1682
|
}
|
|
1715
1683
|
var le = T.ReactCurrentDispatcher, ce;
|
|
@@ -1718,8 +1686,8 @@ function fr() {
|
|
|
1718
1686
|
if (ce === void 0)
|
|
1719
1687
|
try {
|
|
1720
1688
|
throw Error();
|
|
1721
|
-
} catch (
|
|
1722
|
-
var a =
|
|
1689
|
+
} catch (f) {
|
|
1690
|
+
var a = f.stack.trim().match(/\n( *(at )?)/);
|
|
1723
1691
|
ce = a && a[1] || "";
|
|
1724
1692
|
}
|
|
1725
1693
|
return `
|
|
@@ -1741,7 +1709,7 @@ function fr() {
|
|
|
1741
1709
|
}
|
|
1742
1710
|
var a;
|
|
1743
1711
|
ue = !0;
|
|
1744
|
-
var
|
|
1712
|
+
var f = Error.prepareStackTrace;
|
|
1745
1713
|
Error.prepareStackTrace = void 0;
|
|
1746
1714
|
var y;
|
|
1747
1715
|
y = le.current, le.current = null, Le();
|
|
@@ -1779,17 +1747,17 @@ function fr() {
|
|
|
1779
1747
|
}
|
|
1780
1748
|
} catch (F) {
|
|
1781
1749
|
if (F && a && typeof F.stack == "string") {
|
|
1782
|
-
for (var
|
|
1783
|
-
`),
|
|
1784
|
-
`), w =
|
|
1750
|
+
for (var _ = F.stack.split(`
|
|
1751
|
+
`), P = a.stack.split(`
|
|
1752
|
+
`), w = _.length - 1, j = P.length - 1; w >= 1 && j >= 0 && _[w] !== P[j]; )
|
|
1785
1753
|
j--;
|
|
1786
1754
|
for (; w >= 1 && j >= 0; w--, j--)
|
|
1787
|
-
if (
|
|
1755
|
+
if (_[w] !== P[j]) {
|
|
1788
1756
|
if (w !== 1 || j !== 1)
|
|
1789
1757
|
do
|
|
1790
|
-
if (w--, j--, j < 0 ||
|
|
1758
|
+
if (w--, j--, j < 0 || _[w] !== P[j]) {
|
|
1791
1759
|
var B = `
|
|
1792
|
-
` +
|
|
1760
|
+
` + _[w].replace(" at new ", " at ");
|
|
1793
1761
|
return e.displayName && B.includes("<anonymous>") && (B = B.replace("<anonymous>", e.displayName)), typeof e == "function" && ae.set(e, B), B;
|
|
1794
1762
|
}
|
|
1795
1763
|
while (w >= 1 && j >= 0);
|
|
@@ -1797,7 +1765,7 @@ function fr() {
|
|
|
1797
1765
|
}
|
|
1798
1766
|
}
|
|
1799
1767
|
} finally {
|
|
1800
|
-
ue = !1, le.current = y, We(), Error.prepareStackTrace =
|
|
1768
|
+
ue = !1, le.current = y, We(), Error.prepareStackTrace = f;
|
|
1801
1769
|
}
|
|
1802
1770
|
var V = e ? e.displayName || e.name : "", H = V ? re(V) : "";
|
|
1803
1771
|
return typeof e == "function" && ae.set(e, H), H;
|
|
@@ -1817,7 +1785,7 @@ function fr() {
|
|
|
1817
1785
|
if (typeof e == "string")
|
|
1818
1786
|
return re(e);
|
|
1819
1787
|
switch (e) {
|
|
1820
|
-
case
|
|
1788
|
+
case g:
|
|
1821
1789
|
return re("Suspense");
|
|
1822
1790
|
case o:
|
|
1823
1791
|
return re("SuspenseList");
|
|
@@ -1828,10 +1796,10 @@ function fr() {
|
|
|
1828
1796
|
return Ke(e.render);
|
|
1829
1797
|
case d:
|
|
1830
1798
|
return ne(e.type, t, r);
|
|
1831
|
-
case
|
|
1832
|
-
var a = e,
|
|
1799
|
+
case b: {
|
|
1800
|
+
var a = e, f = a._payload, y = a._init;
|
|
1833
1801
|
try {
|
|
1834
|
-
return ne(y(
|
|
1802
|
+
return ne(y(f), t, r);
|
|
1835
1803
|
} catch {
|
|
1836
1804
|
}
|
|
1837
1805
|
}
|
|
@@ -1846,22 +1814,22 @@ function fr() {
|
|
|
1846
1814
|
} else
|
|
1847
1815
|
Ce.setExtraStackFrame(null);
|
|
1848
1816
|
}
|
|
1849
|
-
function Ye(e, t, r, a,
|
|
1817
|
+
function Ye(e, t, r, a, f) {
|
|
1850
1818
|
{
|
|
1851
1819
|
var y = Function.call.bind(X);
|
|
1852
1820
|
for (var l in e)
|
|
1853
1821
|
if (y(e, l)) {
|
|
1854
|
-
var
|
|
1822
|
+
var _ = void 0;
|
|
1855
1823
|
try {
|
|
1856
1824
|
if (typeof e[l] != "function") {
|
|
1857
|
-
var
|
|
1858
|
-
throw
|
|
1825
|
+
var P = Error((a || "React class") + ": " + r + " type `" + l + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[l] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
1826
|
+
throw P.name = "Invariant Violation", P;
|
|
1859
1827
|
}
|
|
1860
|
-
|
|
1828
|
+
_ = e[l](t, l, a, r, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
1861
1829
|
} catch (w) {
|
|
1862
|
-
|
|
1830
|
+
_ = w;
|
|
1863
1831
|
}
|
|
1864
|
-
|
|
1832
|
+
_ && !(_ instanceof Error) && (oe(f), p("%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).", a || "React class", r, l, typeof _), oe(null)), _ instanceof Error && !(_.message in xe) && (xe[_.message] = !0, oe(f), p("Failed %s type: %s", r, _.message), oe(null));
|
|
1865
1833
|
}
|
|
1866
1834
|
}
|
|
1867
1835
|
}
|
|
@@ -1936,10 +1904,10 @@ function fr() {
|
|
|
1936
1904
|
});
|
|
1937
1905
|
}
|
|
1938
1906
|
}
|
|
1939
|
-
var tt = function(e, t, r, a,
|
|
1940
|
-
var
|
|
1907
|
+
var tt = function(e, t, r, a, f, y, l) {
|
|
1908
|
+
var _ = {
|
|
1941
1909
|
// This tag allows us to uniquely identify this as a React Element
|
|
1942
|
-
$$typeof:
|
|
1910
|
+
$$typeof: i,
|
|
1943
1911
|
// Built-in properties that belong on the element
|
|
1944
1912
|
type: e,
|
|
1945
1913
|
key: t,
|
|
@@ -1948,27 +1916,27 @@ function fr() {
|
|
|
1948
1916
|
// Record the component responsible for creating this element.
|
|
1949
1917
|
_owner: y
|
|
1950
1918
|
};
|
|
1951
|
-
return
|
|
1919
|
+
return _._store = {}, Object.defineProperty(_._store, "validated", {
|
|
1952
1920
|
configurable: !1,
|
|
1953
1921
|
enumerable: !1,
|
|
1954
1922
|
writable: !0,
|
|
1955
1923
|
value: !1
|
|
1956
|
-
}), Object.defineProperty(
|
|
1924
|
+
}), Object.defineProperty(_, "_self", {
|
|
1957
1925
|
configurable: !1,
|
|
1958
1926
|
enumerable: !1,
|
|
1959
1927
|
writable: !1,
|
|
1960
1928
|
value: a
|
|
1961
|
-
}), Object.defineProperty(
|
|
1929
|
+
}), Object.defineProperty(_, "_source", {
|
|
1962
1930
|
configurable: !1,
|
|
1963
1931
|
enumerable: !1,
|
|
1964
1932
|
writable: !1,
|
|
1965
|
-
value:
|
|
1966
|
-
}), Object.freeze && (Object.freeze(
|
|
1933
|
+
value: f
|
|
1934
|
+
}), Object.freeze && (Object.freeze(_.props), Object.freeze(_)), _;
|
|
1967
1935
|
};
|
|
1968
|
-
function rt(e, t, r, a,
|
|
1936
|
+
function rt(e, t, r, a, f) {
|
|
1969
1937
|
{
|
|
1970
|
-
var y, l = {},
|
|
1971
|
-
r !== void 0 && (Re(r),
|
|
1938
|
+
var y, l = {}, _ = null, P = null;
|
|
1939
|
+
r !== void 0 && (Re(r), _ = "" + r), Ve(t) && (Re(t.key), _ = "" + t.key), Ze(t) && (P = t.ref, Xe(t));
|
|
1972
1940
|
for (y in t)
|
|
1973
1941
|
X.call(t, y) && !Je.hasOwnProperty(y) && (l[y] = t[y]);
|
|
1974
1942
|
if (e && e.defaultProps) {
|
|
@@ -1976,11 +1944,11 @@ function fr() {
|
|
|
1976
1944
|
for (y in w)
|
|
1977
1945
|
l[y] === void 0 && (l[y] = w[y]);
|
|
1978
1946
|
}
|
|
1979
|
-
if (
|
|
1947
|
+
if (_ || P) {
|
|
1980
1948
|
var j = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
1981
|
-
|
|
1949
|
+
_ && Qe(l, j), P && et(l, j);
|
|
1982
1950
|
}
|
|
1983
|
-
return tt(e,
|
|
1951
|
+
return tt(e, _, P, f, a, Ee.current, l);
|
|
1984
1952
|
}
|
|
1985
1953
|
}
|
|
1986
1954
|
var fe = T.ReactCurrentOwner, De = T.ReactDebugCurrentFrame;
|
|
@@ -1991,15 +1959,15 @@ function fr() {
|
|
|
1991
1959
|
} else
|
|
1992
1960
|
De.setExtraStackFrame(null);
|
|
1993
1961
|
}
|
|
1994
|
-
var
|
|
1995
|
-
|
|
1996
|
-
function
|
|
1997
|
-
return typeof e == "object" && e !== null && e.$$typeof ===
|
|
1962
|
+
var pe;
|
|
1963
|
+
pe = !1;
|
|
1964
|
+
function me(e) {
|
|
1965
|
+
return typeof e == "object" && e !== null && e.$$typeof === i;
|
|
1998
1966
|
}
|
|
1999
1967
|
function Pe() {
|
|
2000
1968
|
{
|
|
2001
1969
|
if (fe.current) {
|
|
2002
|
-
var e =
|
|
1970
|
+
var e = k(fe.current.type);
|
|
2003
1971
|
if (e)
|
|
2004
1972
|
return `
|
|
2005
1973
|
|
|
@@ -2034,7 +2002,7 @@ Check the top-level render call using <` + r + ">.");
|
|
|
2034
2002
|
return;
|
|
2035
2003
|
Ne[r] = !0;
|
|
2036
2004
|
var a = "";
|
|
2037
|
-
e && e._owner && e._owner !== fe.current && (a = " It was passed a child from " +
|
|
2005
|
+
e && e._owner && e._owner !== fe.current && (a = " It was passed a child from " + k(e._owner.type) + "."), Z(e), p('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', r, a), Z(null);
|
|
2038
2006
|
}
|
|
2039
2007
|
}
|
|
2040
2008
|
function Ie(e, t) {
|
|
@@ -2044,15 +2012,15 @@ Check the top-level render call using <` + r + ">.");
|
|
|
2044
2012
|
if (de(e))
|
|
2045
2013
|
for (var r = 0; r < e.length; r++) {
|
|
2046
2014
|
var a = e[r];
|
|
2047
|
-
|
|
2015
|
+
me(a) && Fe(a, t);
|
|
2048
2016
|
}
|
|
2049
|
-
else if (
|
|
2017
|
+
else if (me(e))
|
|
2050
2018
|
e._store && (e._store.validated = !0);
|
|
2051
2019
|
else if (e) {
|
|
2052
|
-
var
|
|
2053
|
-
if (typeof
|
|
2054
|
-
for (var y =
|
|
2055
|
-
|
|
2020
|
+
var f = $(e);
|
|
2021
|
+
if (typeof f == "function" && f !== e.entries)
|
|
2022
|
+
for (var y = f.call(e), l; !(l = y.next()).done; )
|
|
2023
|
+
me(l.value) && Fe(l.value, t);
|
|
2056
2024
|
}
|
|
2057
2025
|
}
|
|
2058
2026
|
}
|
|
@@ -2071,12 +2039,12 @@ Check the top-level render call using <` + r + ">.");
|
|
|
2071
2039
|
else
|
|
2072
2040
|
return;
|
|
2073
2041
|
if (r) {
|
|
2074
|
-
var a =
|
|
2042
|
+
var a = k(t);
|
|
2075
2043
|
Ye(r, e.props, "prop", a, e);
|
|
2076
|
-
} else if (t.PropTypes !== void 0 && !
|
|
2077
|
-
|
|
2078
|
-
var
|
|
2079
|
-
p("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",
|
|
2044
|
+
} else if (t.PropTypes !== void 0 && !pe) {
|
|
2045
|
+
pe = !0;
|
|
2046
|
+
var f = k(t);
|
|
2047
|
+
p("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", f || "Unknown");
|
|
2080
2048
|
}
|
|
2081
2049
|
typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && p("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
2082
2050
|
}
|
|
@@ -2094,18 +2062,18 @@ Check the top-level render call using <` + r + ">.");
|
|
|
2094
2062
|
}
|
|
2095
2063
|
}
|
|
2096
2064
|
var Me = {};
|
|
2097
|
-
function $e(e, t, r, a,
|
|
2065
|
+
function $e(e, t, r, a, f, y) {
|
|
2098
2066
|
{
|
|
2099
2067
|
var l = W(e);
|
|
2100
2068
|
if (!l) {
|
|
2101
|
-
var
|
|
2102
|
-
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (
|
|
2103
|
-
var
|
|
2104
|
-
|
|
2069
|
+
var _ = "";
|
|
2070
|
+
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (_ += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
2071
|
+
var P = at();
|
|
2072
|
+
P ? _ += P : _ += Pe();
|
|
2105
2073
|
var w;
|
|
2106
|
-
e === null ? w = "null" : de(e) ? w = "array" : e !== void 0 && e.$$typeof ===
|
|
2074
|
+
e === null ? w = "null" : de(e) ? w = "array" : e !== void 0 && e.$$typeof === i ? (w = "<" + (k(e.type) || "Unknown") + " />", _ = " Did you accidentally export a JSX literal instead of a component?") : w = typeof e, p("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", w, _);
|
|
2107
2075
|
}
|
|
2108
|
-
var j = rt(e, t, r,
|
|
2076
|
+
var j = rt(e, t, r, f, y);
|
|
2109
2077
|
if (j == null)
|
|
2110
2078
|
return j;
|
|
2111
2079
|
if (l) {
|
|
@@ -2122,7 +2090,7 @@ Check the top-level render call using <` + r + ">.");
|
|
|
2122
2090
|
Ie(B, e);
|
|
2123
2091
|
}
|
|
2124
2092
|
if (X.call(t, "key")) {
|
|
2125
|
-
var H =
|
|
2093
|
+
var H = k(e), F = Object.keys(t).filter(function(dt) {
|
|
2126
2094
|
return dt !== "key";
|
|
2127
2095
|
}), ye = F.length > 0 ? "{key: someKey, " + F.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
2128
2096
|
if (!Me[H + ye]) {
|
|
@@ -2148,173 +2116,675 @@ React keys must be passed directly to JSX without using spread:
|
|
|
2148
2116
|
kt.Fragment = u, kt.jsx = lt, kt.jsxs = ct;
|
|
2149
2117
|
}()), kt;
|
|
2150
2118
|
}
|
|
2151
|
-
process.env.NODE_ENV === "production" ?
|
|
2152
|
-
var
|
|
2153
|
-
const
|
|
2154
|
-
|
|
2155
|
-
|
|
2156
|
-
|
|
2157
|
-
|
|
2158
|
-
|
|
2159
|
-
|
|
2160
|
-
|
|
2161
|
-
|
|
2162
|
-
|
|
2163
|
-
|
|
2164
|
-
|
|
2165
|
-
|
|
2166
|
-
|
|
2167
|
-
|
|
2168
|
-
|
|
2169
|
-
|
|
2170
|
-
|
|
2171
|
-
|
|
2172
|
-
|
|
2173
|
-
|
|
2174
|
-
|
|
2175
|
-
|
|
2176
|
-
|
|
2177
|
-
|
|
2178
|
-
|
|
2179
|
-
|
|
2180
|
-
|
|
2181
|
-
|
|
2182
|
-
|
|
2183
|
-
|
|
2184
|
-
);
|
|
2185
|
-
}
|
|
2186
|
-
function $r({ children: n, className: _ }) {
|
|
2187
|
-
return /* @__PURE__ */ J.jsx(
|
|
2188
|
-
"div",
|
|
2189
|
-
{
|
|
2190
|
-
className: [_e.s, _].filter((c) => c !== void 0).join(" "),
|
|
2191
|
-
children: n
|
|
2192
|
-
}
|
|
2193
|
-
);
|
|
2194
|
-
}
|
|
2195
|
-
function Ar({
|
|
2196
|
-
children: n,
|
|
2197
|
-
direction: _ = "column",
|
|
2198
|
-
className: c
|
|
2199
|
-
}) {
|
|
2200
|
-
return /* @__PURE__ */ J.jsx(
|
|
2201
|
-
"ul",
|
|
2119
|
+
process.env.NODE_ENV === "production" ? Dt.exports = Ir() : Dt.exports = Mr();
|
|
2120
|
+
var Rt = Dt.exports;
|
|
2121
|
+
const $r = "_btn_1k1b3_1", Ar = "_confirm_1k1b3_15", Br = "_cancel_1k1b3_20", Lr = "_action_1k1b3_25", Wr = "_disabled_1k1b3_30", Ur = "_m_1k1b3_44", Kr = "_l_1k1b3_48", wt = {
|
|
2122
|
+
btn: $r,
|
|
2123
|
+
confirm: Ar,
|
|
2124
|
+
cancel: Br,
|
|
2125
|
+
action: Lr,
|
|
2126
|
+
disabled: Wr,
|
|
2127
|
+
await: "_await_1k1b3_37",
|
|
2128
|
+
m: Ur,
|
|
2129
|
+
l: Kr
|
|
2130
|
+
}, qr = ({
|
|
2131
|
+
onClick: n,
|
|
2132
|
+
onSend: i,
|
|
2133
|
+
size: c = "m",
|
|
2134
|
+
view: u = "confirm",
|
|
2135
|
+
children: v,
|
|
2136
|
+
isDisabled: C = !1,
|
|
2137
|
+
className: O,
|
|
2138
|
+
after: x,
|
|
2139
|
+
before: s,
|
|
2140
|
+
label: g,
|
|
2141
|
+
onRef: o,
|
|
2142
|
+
awaitText: d = "Ожидайте"
|
|
2143
|
+
}) => {
|
|
2144
|
+
let [b, S] = U.useState(!1);
|
|
2145
|
+
const N = ($) => {
|
|
2146
|
+
if (n) return n();
|
|
2147
|
+
b || (i ? (S(!0), i(S)) : $.preventDefault());
|
|
2148
|
+
};
|
|
2149
|
+
let A = {};
|
|
2150
|
+
return (C || b) && (A.disabled = !0), /* @__PURE__ */ Rt.jsx(
|
|
2151
|
+
"button",
|
|
2202
2152
|
{
|
|
2153
|
+
...A,
|
|
2154
|
+
ref: o,
|
|
2203
2155
|
className: [
|
|
2204
|
-
|
|
2205
|
-
|
|
2206
|
-
c
|
|
2207
|
-
|
|
2208
|
-
|
|
2156
|
+
wt.btn,
|
|
2157
|
+
b ? wt.disabled : wt[u],
|
|
2158
|
+
c && wt[c],
|
|
2159
|
+
O
|
|
2160
|
+
].filter(($) => $ != "").join(" "),
|
|
2161
|
+
onClick: N,
|
|
2162
|
+
children: b ? d : /* @__PURE__ */ Rt.jsxs(Rt.Fragment, { children: [
|
|
2163
|
+
s || "",
|
|
2164
|
+
" ",
|
|
2165
|
+
g,
|
|
2166
|
+
" ",
|
|
2167
|
+
x || ""
|
|
2168
|
+
] }) || v
|
|
2209
2169
|
}
|
|
2210
2170
|
);
|
|
2171
|
+
};
|
|
2172
|
+
let Ae = {};
|
|
2173
|
+
function Yr({ children: n }) {
|
|
2174
|
+
return /* @__PURE__ */ J.jsx(J.Fragment, { children: n });
|
|
2211
2175
|
}
|
|
2212
|
-
|
|
2213
|
-
|
|
2214
|
-
|
|
2176
|
+
var xt;
|
|
2177
|
+
((n) => {
|
|
2178
|
+
function i({
|
|
2179
|
+
import_modules: o
|
|
2180
|
+
}) {
|
|
2181
|
+
let [d, b] = U.useState([]);
|
|
2182
|
+
return Ae.x = (S) => {
|
|
2183
|
+
b(S ? d.filter((N) => N.key !== S) : []);
|
|
2184
|
+
}, Jt(() => {
|
|
2185
|
+
o && (Ae.i = o);
|
|
2186
|
+
}, []), Ae.add = (S, N = Date.now()) => {
|
|
2187
|
+
b([...d, { key: N, item: S }]);
|
|
2188
|
+
}, /* @__PURE__ */ J.jsx(J.Fragment, { children: d.map((S) => S.item) });
|
|
2189
|
+
}
|
|
2190
|
+
n.Init = i;
|
|
2191
|
+
function c(o) {
|
|
2192
|
+
return o && (Ae.i = o), Ae.i;
|
|
2193
|
+
}
|
|
2194
|
+
n.Import = c, n.List = Or, n.Scroll = Tr, n.Form = Dr, n.Center = Pr, n.Column = Nr;
|
|
2195
|
+
function u(o, d, b) {
|
|
2196
|
+
Ae.i ? Ae.i(`${o}/modal/${d}.tsx`).then((S) => {
|
|
2197
|
+
S.default.Open(b);
|
|
2198
|
+
}) : Wt()(`${o}/modal/${d}.tsx`).then((S) => {
|
|
2199
|
+
S.default.Open(b);
|
|
2200
|
+
});
|
|
2201
|
+
}
|
|
2202
|
+
n.Open = u;
|
|
2203
|
+
function v({ type: o, name: d, params: b }) {
|
|
2204
|
+
let [S, N] = U.useState(null);
|
|
2205
|
+
return U.useEffect(() => {
|
|
2206
|
+
Ae.i ? Ae.i(`${o}/modal/${d}.tsx`).then((A) => {
|
|
2207
|
+
N(A.default.Icon(b));
|
|
2208
|
+
}) : Wt()(`${o}/modal/${d}.tsx`).then((A) => {
|
|
2209
|
+
N(A.default.Icon(b));
|
|
2210
|
+
});
|
|
2211
|
+
}, [b.id]), /* @__PURE__ */ J.jsx(J.Fragment, { children: S });
|
|
2212
|
+
}
|
|
2213
|
+
n.Icon = v;
|
|
2214
|
+
function C(o, d) {
|
|
2215
|
+
Ae.add(/* @__PURE__ */ J.jsx(Yr, { children: o }, String(Date.now())), d);
|
|
2216
|
+
}
|
|
2217
|
+
n.Add = C;
|
|
2218
|
+
function O(o) {
|
|
2219
|
+
Ae.x(o);
|
|
2220
|
+
}
|
|
2221
|
+
n.Close = O;
|
|
2222
|
+
function x(o) {
|
|
2223
|
+
if (o.target.classList[0] !== "modal") return;
|
|
2224
|
+
let d = o.target.children[0];
|
|
2225
|
+
d.setAttribute("shake", !0), setTimeout(() => {
|
|
2226
|
+
d.setAttribute("shake", !1);
|
|
2227
|
+
}, 1e3);
|
|
2228
|
+
}
|
|
2229
|
+
n.Shake = x;
|
|
2230
|
+
function s(o, d) {
|
|
2231
|
+
const b = (S) => {
|
|
2232
|
+
n.Add(
|
|
2233
|
+
/* @__PURE__ */ J.jsx(o, { ...S }, (/* @__PURE__ */ new Date()).getTime())
|
|
2234
|
+
);
|
|
2235
|
+
};
|
|
2236
|
+
return {
|
|
2237
|
+
Icon: (S) => /* @__PURE__ */ J.jsx("i", { onClick: () => b(S), children: d && /* @__PURE__ */ J.jsx(d, {}) }),
|
|
2238
|
+
Open: b
|
|
2239
|
+
};
|
|
2240
|
+
}
|
|
2241
|
+
n.Create = s;
|
|
2242
|
+
function g({
|
|
2243
|
+
title: o,
|
|
2244
|
+
children: d,
|
|
2245
|
+
button: b,
|
|
2246
|
+
tabs: S,
|
|
2247
|
+
size: N = "m",
|
|
2248
|
+
className: A = "",
|
|
2249
|
+
shake: $ = !0,
|
|
2250
|
+
menu: T
|
|
2251
|
+
}) {
|
|
2252
|
+
const [p, M] = U.useState(!0), K = U.useRef(), G = (q) => {
|
|
2253
|
+
if (b) {
|
|
2254
|
+
if (b.onClick)
|
|
2255
|
+
return q(!1), b.onClick({ setOpen: M });
|
|
2256
|
+
if (b.onSend)
|
|
2257
|
+
return b.onSend({
|
|
2258
|
+
setOpen: M,
|
|
2259
|
+
disabled: q
|
|
2260
|
+
});
|
|
2261
|
+
}
|
|
2262
|
+
}, L = () => {
|
|
2263
|
+
if (!$) return M(!1);
|
|
2264
|
+
K.current.setAttribute("shake", !0), setTimeout(() => {
|
|
2265
|
+
K.current.setAttribute("shake", !1);
|
|
2266
|
+
}, 1e3);
|
|
2267
|
+
};
|
|
2268
|
+
return p ? /* @__PURE__ */ J.jsxs("div", { className: `${_e.modal}`, children: [
|
|
2269
|
+
/* @__PURE__ */ J.jsx("div", { className: _e.o, onClick: L }),
|
|
2270
|
+
/* @__PURE__ */ J.jsxs(
|
|
2271
|
+
"div",
|
|
2272
|
+
{
|
|
2273
|
+
className: [_e.w, _e[`s${N}`], A].filter((q) => q != "").join(" "),
|
|
2274
|
+
ref: K,
|
|
2275
|
+
children: [
|
|
2276
|
+
/* @__PURE__ */ J.jsxs("div", { className: _e.h, children: [
|
|
2277
|
+
/* @__PURE__ */ J.jsx("div", { className: _e.t, children: o }),
|
|
2278
|
+
/* @__PURE__ */ J.jsxs("div", { className: _e.m, children: [
|
|
2279
|
+
S && /* @__PURE__ */ J.jsx("nav", { children: S.map((q, E) => /* @__PURE__ */ J.jsx(
|
|
2280
|
+
"span",
|
|
2281
|
+
{
|
|
2282
|
+
onClick: q.onClick,
|
|
2283
|
+
className: q.active ? "active" : "",
|
|
2284
|
+
children: q.name
|
|
2285
|
+
},
|
|
2286
|
+
E
|
|
2287
|
+
)) }),
|
|
2288
|
+
T
|
|
2289
|
+
] }),
|
|
2290
|
+
/* @__PURE__ */ J.jsx(
|
|
2291
|
+
"div",
|
|
2292
|
+
{
|
|
2293
|
+
className: _e.x,
|
|
2294
|
+
onClick: () => {
|
|
2295
|
+
M(!1);
|
|
2296
|
+
},
|
|
2297
|
+
children: /* @__PURE__ */ J.jsx("svg", { viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ J.jsx(
|
|
2298
|
+
"path",
|
|
2299
|
+
{
|
|
2300
|
+
d: "M20 5L5 20M5 5L20 20",
|
|
2301
|
+
stroke: "currentColor",
|
|
2302
|
+
strokeWidth: "2.5",
|
|
2303
|
+
strokeLinecap: "round",
|
|
2304
|
+
strokeLinejoin: "round"
|
|
2305
|
+
}
|
|
2306
|
+
) })
|
|
2307
|
+
}
|
|
2308
|
+
)
|
|
2309
|
+
] }),
|
|
2310
|
+
d,
|
|
2311
|
+
b && /* @__PURE__ */ J.jsx("div", { className: _e.b, children: /* @__PURE__ */ J.jsx(
|
|
2312
|
+
qr,
|
|
2313
|
+
{
|
|
2314
|
+
label: b.label,
|
|
2315
|
+
onSend: G,
|
|
2316
|
+
className: _e.btn,
|
|
2317
|
+
size: b.size
|
|
2318
|
+
}
|
|
2319
|
+
) })
|
|
2320
|
+
]
|
|
2321
|
+
}
|
|
2322
|
+
)
|
|
2323
|
+
] }) : "";
|
|
2324
|
+
}
|
|
2325
|
+
n.Main = g;
|
|
2326
|
+
})(xt || (xt = {}));
|
|
2327
|
+
const Gr = (n, i = ",") => (n = n !== void 0 && n !== "" ? n.split(i) : [], n.filter((c) => c !== "").reduce((c, u) => (c[u] = !0, c), {}));
|
|
2328
|
+
function ha({
|
|
2329
|
+
value: n,
|
|
2330
|
+
onValue: i,
|
|
2331
|
+
name: c,
|
|
2332
|
+
placeholder: u = "",
|
|
2333
|
+
separator: v = ",",
|
|
2334
|
+
title: C,
|
|
2335
|
+
error: O,
|
|
2336
|
+
hide: x = !1,
|
|
2337
|
+
edit: s = !0,
|
|
2338
|
+
active: g = !0,
|
|
2339
|
+
outFormat: o = "object",
|
|
2340
|
+
after: d = "",
|
|
2341
|
+
modal: b,
|
|
2342
|
+
options: S,
|
|
2343
|
+
className: N
|
|
2344
|
+
}) {
|
|
2345
|
+
const [A, $] = U.useState(Gr(n, v)), T = (p) => {
|
|
2346
|
+
if (!(s && g) || !b) return;
|
|
2347
|
+
let M = b.split(".");
|
|
2348
|
+
xt.Open(M[0], M[1], {
|
|
2349
|
+
callback: (K) => {
|
|
2350
|
+
if (i)
|
|
2351
|
+
switch (o) {
|
|
2352
|
+
case "array":
|
|
2353
|
+
i({ value: Object.keys(K), name: c });
|
|
2354
|
+
break;
|
|
2355
|
+
case "string":
|
|
2356
|
+
i({
|
|
2357
|
+
value: Object.keys(K).filter((G) => K[G]).join(v),
|
|
2358
|
+
name: c
|
|
2359
|
+
});
|
|
2360
|
+
break;
|
|
2361
|
+
default:
|
|
2362
|
+
i({ value: K, name: c });
|
|
2363
|
+
}
|
|
2364
|
+
$(
|
|
2365
|
+
Object.fromEntries(
|
|
2366
|
+
Object.entries(K).filter(
|
|
2367
|
+
([G, L]) => L !== !1
|
|
2368
|
+
)
|
|
2369
|
+
)
|
|
2370
|
+
);
|
|
2371
|
+
},
|
|
2372
|
+
onValue: i,
|
|
2373
|
+
options: S,
|
|
2374
|
+
name: c,
|
|
2375
|
+
value: A
|
|
2376
|
+
});
|
|
2377
|
+
};
|
|
2378
|
+
return x ? /* @__PURE__ */ m.jsx(m.Fragment, {}) : /* @__PURE__ */ m.jsx(
|
|
2379
|
+
Mt,
|
|
2215
2380
|
{
|
|
2216
|
-
|
|
2217
|
-
|
|
2381
|
+
type: "group",
|
|
2382
|
+
title: C,
|
|
2383
|
+
element_blok: { className: N },
|
|
2384
|
+
element_input: {
|
|
2385
|
+
className: [z.w],
|
|
2386
|
+
props: {
|
|
2387
|
+
onClick: T
|
|
2388
|
+
}
|
|
2389
|
+
},
|
|
2390
|
+
children: Object.keys(A).map((p) => {
|
|
2391
|
+
var M;
|
|
2392
|
+
return /* @__PURE__ */ m.jsx("div", { children: (M = S[p]) == null ? void 0 : M.label }, p);
|
|
2393
|
+
})
|
|
2218
2394
|
}
|
|
2219
2395
|
);
|
|
2220
2396
|
}
|
|
2221
|
-
|
|
2222
|
-
|
|
2223
|
-
|
|
2397
|
+
const zr = "_o_1wehm_12", Hr = "_l_1wehm_22", Jr = "_f_1wehm_81", Pt = {
|
|
2398
|
+
o: zr,
|
|
2399
|
+
l: Hr,
|
|
2400
|
+
f: Jr
|
|
2401
|
+
};
|
|
2402
|
+
function ba({
|
|
2403
|
+
title: n,
|
|
2404
|
+
error: i,
|
|
2405
|
+
edit: c = !0,
|
|
2406
|
+
active: u = !0,
|
|
2407
|
+
hide: v,
|
|
2408
|
+
value: C = 0,
|
|
2409
|
+
onValue: O,
|
|
2410
|
+
options: x,
|
|
2411
|
+
placeholder: s = "",
|
|
2412
|
+
className: g,
|
|
2413
|
+
isIcon: o = !0,
|
|
2414
|
+
name: d,
|
|
2415
|
+
after: b,
|
|
2416
|
+
view: S,
|
|
2417
|
+
order: N,
|
|
2418
|
+
isReload: A = !1
|
|
2419
|
+
}) {
|
|
2420
|
+
var D, W;
|
|
2421
|
+
const $ = U.useRef(null), [T, p] = U.useState(C), [M, K] = U.useState(x), [G, L] = U.useState(!1);
|
|
2422
|
+
U.useEffect(() => {
|
|
2423
|
+
p(C), K(x);
|
|
2424
|
+
}, [C, x]), v = !!(v && (C === 0 || ((D = M == null ? void 0 : M[C]) == null ? void 0 : D.n) === void 0)) && !(c && u);
|
|
2425
|
+
let E = (R) => {
|
|
2426
|
+
p(R), O && O({ value: R, name: d, reload: A });
|
|
2427
|
+
};
|
|
2428
|
+
return v ? "" : /* @__PURE__ */ m.jsxs(
|
|
2429
|
+
Mt,
|
|
2224
2430
|
{
|
|
2225
|
-
|
|
2226
|
-
|
|
2431
|
+
type: "select",
|
|
2432
|
+
title: n,
|
|
2433
|
+
element_blok: { className: g },
|
|
2434
|
+
element_input: {
|
|
2435
|
+
className: [Pt.f],
|
|
2436
|
+
ref: $
|
|
2437
|
+
},
|
|
2438
|
+
children: [
|
|
2439
|
+
/* @__PURE__ */ m.jsx("div", { children: (W = M == null ? void 0 : M[T]) == null ? void 0 : W.n }),
|
|
2440
|
+
G && It(
|
|
2441
|
+
/* @__PURE__ */ m.jsx(
|
|
2442
|
+
Zr,
|
|
2443
|
+
{
|
|
2444
|
+
parent: $.position,
|
|
2445
|
+
onValue: E,
|
|
2446
|
+
view: S,
|
|
2447
|
+
className: g,
|
|
2448
|
+
options: M,
|
|
2449
|
+
order: N,
|
|
2450
|
+
setOpen: L
|
|
2451
|
+
},
|
|
2452
|
+
(/* @__PURE__ */ new Date()).getTime()
|
|
2453
|
+
),
|
|
2454
|
+
document.body
|
|
2455
|
+
)
|
|
2456
|
+
]
|
|
2227
2457
|
}
|
|
2228
2458
|
);
|
|
2229
2459
|
}
|
|
2230
|
-
|
|
2231
|
-
|
|
2232
|
-
|
|
2233
|
-
|
|
2234
|
-
|
|
2235
|
-
|
|
2236
|
-
|
|
2237
|
-
|
|
2238
|
-
|
|
2239
|
-
|
|
2240
|
-
|
|
2241
|
-
|
|
2242
|
-
|
|
2243
|
-
|
|
2244
|
-
|
|
2245
|
-
|
|
2246
|
-
var Kt;
|
|
2247
|
-
function Ur() {
|
|
2248
|
-
if (Kt) return ht;
|
|
2249
|
-
Kt = 1;
|
|
2250
|
-
var n = K, _ = Symbol.for("react.element"), c = Symbol.for("react.fragment"), u = Object.prototype.hasOwnProperty, g = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, C = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
2251
|
-
function O(x, s, h) {
|
|
2252
|
-
var o, d = {}, k = null, S = null;
|
|
2253
|
-
h !== void 0 && (k = "" + h), s.key !== void 0 && (k = "" + s.key), s.ref !== void 0 && (S = s.ref);
|
|
2254
|
-
for (o in s) u.call(s, o) && !C.hasOwnProperty(o) && (d[o] = s[o]);
|
|
2255
|
-
if (x && x.defaultProps) for (o in s = x.defaultProps, s) d[o] === void 0 && (d[o] = s[o]);
|
|
2256
|
-
return { $$typeof: _, type: x, key: k, ref: S, props: d, _owner: g.current };
|
|
2257
|
-
}
|
|
2258
|
-
return ht.Fragment = c, ht.jsx = O, ht.jsxs = O, ht;
|
|
2259
|
-
}
|
|
2260
|
-
var wt = {};
|
|
2261
|
-
/**
|
|
2262
|
-
* @license React
|
|
2263
|
-
* react-jsx-runtime.development.js
|
|
2264
|
-
*
|
|
2265
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
2266
|
-
*
|
|
2267
|
-
* This source code is licensed under the MIT license found in the
|
|
2268
|
-
* LICENSE file in the root directory of this source tree.
|
|
2269
|
-
*/
|
|
2270
|
-
var qt;
|
|
2271
|
-
function Kr() {
|
|
2272
|
-
return qt || (qt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
2273
|
-
var n = K, _ = Symbol.for("react.element"), c = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), g = Symbol.for("react.strict_mode"), C = Symbol.for("react.profiler"), O = Symbol.for("react.provider"), x = Symbol.for("react.context"), s = Symbol.for("react.forward_ref"), h = Symbol.for("react.suspense"), o = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), k = Symbol.for("react.lazy"), S = Symbol.for("react.offscreen"), N = Symbol.iterator, A = "@@iterator";
|
|
2274
|
-
function $(e) {
|
|
2275
|
-
if (e === null || typeof e != "object")
|
|
2276
|
-
return null;
|
|
2277
|
-
var t = N && e[N] || e[A];
|
|
2278
|
-
return typeof t == "function" ? t : null;
|
|
2279
|
-
}
|
|
2280
|
-
var T = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
2281
|
-
function p(e) {
|
|
2460
|
+
const Zr = ({
|
|
2461
|
+
onValue: n,
|
|
2462
|
+
parent: i,
|
|
2463
|
+
className: c,
|
|
2464
|
+
options: u,
|
|
2465
|
+
order: v,
|
|
2466
|
+
setOpen: C
|
|
2467
|
+
}) => {
|
|
2468
|
+
let O = () => {
|
|
2469
|
+
C(!1);
|
|
2470
|
+
}, x = (o) => {
|
|
2471
|
+
C(!1), n(o);
|
|
2472
|
+
}, s = window.innerHeight - i.y + i.height < 320 ? i.y - 312 : i.y + 33, g = window.innerWidth - i.x < 265 ? i.x - 235 : i.x;
|
|
2473
|
+
return /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
|
|
2474
|
+
/* @__PURE__ */ m.jsx(
|
|
2475
|
+
"div",
|
|
2282
2476
|
{
|
|
2283
|
-
|
|
2477
|
+
className: Pt.o,
|
|
2478
|
+
onClick: O
|
|
2479
|
+
},
|
|
2480
|
+
(/* @__PURE__ */ new Date()).getTime()
|
|
2481
|
+
),
|
|
2482
|
+
/* @__PURE__ */ m.jsx(
|
|
2483
|
+
"div",
|
|
2484
|
+
{
|
|
2485
|
+
className: [Pt.l, c].filter((o) => o !== void 0).join(" "),
|
|
2486
|
+
style: {
|
|
2487
|
+
top: s + "px",
|
|
2488
|
+
left: g + "px",
|
|
2489
|
+
width: i.width
|
|
2490
|
+
},
|
|
2491
|
+
children: /* @__PURE__ */ m.jsx(Vr, { order: v, options: u, link: x })
|
|
2492
|
+
}
|
|
2493
|
+
)
|
|
2494
|
+
] });
|
|
2495
|
+
}, Vr = ({ order: n, options: i, link: c }) => n ? /* @__PURE__ */ m.jsx("ul", { children: n.map(
|
|
2496
|
+
(u, v) => i[u].s !== 0 ? /* @__PURE__ */ m.jsx(
|
|
2497
|
+
"li",
|
|
2498
|
+
{
|
|
2499
|
+
onClick: () => {
|
|
2500
|
+
c(u);
|
|
2501
|
+
},
|
|
2502
|
+
children: i[u].n
|
|
2503
|
+
},
|
|
2504
|
+
v
|
|
2505
|
+
) : ""
|
|
2506
|
+
) }) : /* @__PURE__ */ m.jsx("ul", { children: Object.keys(i).map(
|
|
2507
|
+
(u, v) => i[u].s !== 0 ? /* @__PURE__ */ m.jsx(
|
|
2508
|
+
"li",
|
|
2509
|
+
{
|
|
2510
|
+
onClick: () => {
|
|
2511
|
+
c(u);
|
|
2512
|
+
},
|
|
2513
|
+
children: i[u].n
|
|
2514
|
+
},
|
|
2515
|
+
v
|
|
2516
|
+
) : ""
|
|
2517
|
+
) });
|
|
2518
|
+
function ka({
|
|
2519
|
+
value: n,
|
|
2520
|
+
onValue: i,
|
|
2521
|
+
name: c,
|
|
2522
|
+
placeholder: u = "",
|
|
2523
|
+
title: v,
|
|
2524
|
+
error: C,
|
|
2525
|
+
hide: O = !1,
|
|
2526
|
+
edit: x = !0,
|
|
2527
|
+
show: s = !0,
|
|
2528
|
+
active: g = !0,
|
|
2529
|
+
after: o = "",
|
|
2530
|
+
view: d,
|
|
2531
|
+
modal: b,
|
|
2532
|
+
module: S,
|
|
2533
|
+
options: N,
|
|
2534
|
+
className: A
|
|
2535
|
+
}) {
|
|
2536
|
+
let [$, T] = U.useState(n), p = (G) => {
|
|
2537
|
+
if (!(x && g) || !b) return;
|
|
2538
|
+
let L = b.split(".");
|
|
2539
|
+
xt.Open(L[0], L[1], {
|
|
2540
|
+
callback: (q) => {
|
|
2541
|
+
i && i({ value: q, name: c }), T(q);
|
|
2542
|
+
},
|
|
2543
|
+
onValue: i,
|
|
2544
|
+
options: N,
|
|
2545
|
+
name: c,
|
|
2546
|
+
value: n
|
|
2547
|
+
});
|
|
2548
|
+
};
|
|
2549
|
+
const M = {};
|
|
2550
|
+
M.field = "input", A && (M.className = A);
|
|
2551
|
+
const K = {};
|
|
2552
|
+
return u && (K.placeholder = u), O ? /* @__PURE__ */ m.jsx(m.Fragment, {}) : /* @__PURE__ */ m.jsxs("dl", { ...M, children: [
|
|
2553
|
+
v && /* @__PURE__ */ m.jsx("dt", { children: v }),
|
|
2554
|
+
/* @__PURE__ */ m.jsx(
|
|
2555
|
+
"dd",
|
|
2556
|
+
{
|
|
2557
|
+
...K,
|
|
2558
|
+
onClick: p,
|
|
2559
|
+
edit: (x && g) + "",
|
|
2560
|
+
"data-after": o,
|
|
2561
|
+
children: $
|
|
2562
|
+
}
|
|
2563
|
+
),
|
|
2564
|
+
C && /* @__PURE__ */ m.jsx("em", { children: C })
|
|
2565
|
+
] });
|
|
2566
|
+
}
|
|
2567
|
+
function wa({
|
|
2568
|
+
value: n,
|
|
2569
|
+
onValue: i,
|
|
2570
|
+
onSave: c,
|
|
2571
|
+
name: u,
|
|
2572
|
+
placeholder: v = "",
|
|
2573
|
+
className: C,
|
|
2574
|
+
title: O,
|
|
2575
|
+
error: x,
|
|
2576
|
+
edit: s = !0,
|
|
2577
|
+
active: g = !0,
|
|
2578
|
+
reload: o = !1,
|
|
2579
|
+
native: d = !1,
|
|
2580
|
+
isShow: b = !1,
|
|
2581
|
+
maxLength: S,
|
|
2582
|
+
eyes: N = [],
|
|
2583
|
+
after: A = ""
|
|
2584
|
+
}) {
|
|
2585
|
+
const [$, T] = U.useState(b);
|
|
2586
|
+
let p = (E) => {
|
|
2587
|
+
i && i({
|
|
2588
|
+
value: E.target.textContent,
|
|
2589
|
+
name: u,
|
|
2590
|
+
reload: o
|
|
2591
|
+
});
|
|
2592
|
+
}, M = (E) => {
|
|
2593
|
+
E.key === "Enter" && E.preventDefault();
|
|
2594
|
+
}, K = (E) => {
|
|
2595
|
+
E.preventDefault(), navigator.clipboard.readText().then((D) => {
|
|
2596
|
+
if (S) {
|
|
2597
|
+
let W = E.target.textContent.length;
|
|
2598
|
+
if (W >= S) return;
|
|
2599
|
+
S -= W, D = D.slice(0, S);
|
|
2600
|
+
}
|
|
2601
|
+
window.document.execCommand(
|
|
2602
|
+
"insertText",
|
|
2603
|
+
!1,
|
|
2604
|
+
D.replace(/(\r\n|\n|\r)/gm, " ")
|
|
2605
|
+
);
|
|
2606
|
+
}).catch((D) => {
|
|
2607
|
+
});
|
|
2608
|
+
}, G = (E) => {
|
|
2609
|
+
te.Blur(E), c == null || c({ value: E.target.textContent.trim(), name: u });
|
|
2610
|
+
};
|
|
2611
|
+
const L = {};
|
|
2612
|
+
L.field = "password", $ && (L.show = ""), C && (L.className = C);
|
|
2613
|
+
const q = {};
|
|
2614
|
+
return v && (q.placeholder = v), d ? "" : /* @__PURE__ */ m.jsxs("dl", { ...L, children: [
|
|
2615
|
+
O ? /* @__PURE__ */ m.jsx("dt", { children: O }) : "",
|
|
2616
|
+
/* @__PURE__ */ m.jsx(
|
|
2617
|
+
"dd",
|
|
2618
|
+
{
|
|
2619
|
+
onPaste: K,
|
|
2620
|
+
onInput: p,
|
|
2621
|
+
onKeyDown: M,
|
|
2622
|
+
onBlur: G,
|
|
2623
|
+
contentEditable: s && g ? te.ContentEditable : "false",
|
|
2624
|
+
...q,
|
|
2625
|
+
suppressContentEditableWarning: !0,
|
|
2626
|
+
children: n
|
|
2627
|
+
}
|
|
2628
|
+
),
|
|
2629
|
+
N[0] && /* @__PURE__ */ m.jsx("i", { onClick: () => T(!$), children: $ ? N[1] : N[0] }),
|
|
2630
|
+
A,
|
|
2631
|
+
x ? /* @__PURE__ */ m.jsx("em", { children: x }) : ""
|
|
2632
|
+
] });
|
|
2633
|
+
}
|
|
2634
|
+
function ja({
|
|
2635
|
+
onValue: n,
|
|
2636
|
+
onSave: i,
|
|
2637
|
+
active: c,
|
|
2638
|
+
max: u,
|
|
2639
|
+
edit: v,
|
|
2640
|
+
title: C,
|
|
2641
|
+
error: O,
|
|
2642
|
+
show: x,
|
|
2643
|
+
hide: s,
|
|
2644
|
+
value: g,
|
|
2645
|
+
placeholder: o,
|
|
2646
|
+
className: d,
|
|
2647
|
+
maxLength: b,
|
|
2648
|
+
name: S,
|
|
2649
|
+
after: N = "",
|
|
2650
|
+
before: A = "",
|
|
2651
|
+
view: $
|
|
2652
|
+
}) {
|
|
2653
|
+
v = v !== void 0 ? v : !0, c = c !== void 0 ? c : !0, s = !!(s && (g === "" || g === void 0)) && !(v && c), o = o !== void 0 ? o : "", u = u !== void 0 ? u : 99;
|
|
2654
|
+
let p = !1, M = (D) => {
|
|
2655
|
+
n == null || n({ value: D.target.textContent, name: S });
|
|
2656
|
+
}, K = (D) => {
|
|
2657
|
+
if (!(p && D.which === 86)) {
|
|
2658
|
+
if (D.which === 17 || D.which === 91) return p = !0;
|
|
2659
|
+
D.key !== "Backspace" && (D.target.textContent.length === u && D.preventDefault(), D.key === "Enter" && D.preventDefault(), isNaN(D.key) && D.preventDefault());
|
|
2660
|
+
}
|
|
2661
|
+
}, G = (D) => {
|
|
2662
|
+
if (D.which === 17 || D.which === 91) return p = !1;
|
|
2663
|
+
}, L = (D) => {
|
|
2664
|
+
D.preventDefault(), navigator.clipboard.readText().then((W) => {
|
|
2665
|
+
if (W = W.replace(/(?!^\+|\d)./g, ""), b) {
|
|
2666
|
+
let R = D.target.textContent.length;
|
|
2667
|
+
if (R >= b) return;
|
|
2668
|
+
b -= R, W = W.slice(0, b);
|
|
2669
|
+
}
|
|
2670
|
+
window.document.execCommand("insertText", !1, "" + W);
|
|
2671
|
+
}).catch((W) => {
|
|
2672
|
+
});
|
|
2673
|
+
};
|
|
2674
|
+
const q = (D) => {
|
|
2675
|
+
te.Blur(D), i == null || i({ value: D.target.textContent, name: S });
|
|
2676
|
+
};
|
|
2677
|
+
let E = {};
|
|
2678
|
+
return v && c ? (E.edit = "true", E.contentEditable = te.ContentEditable) : E.contentEditable = "false", E.inputMode = "decimal", o && (E.placeholder = o), s ? /* @__PURE__ */ m.jsx(m.Fragment, {}) : /* @__PURE__ */ m.jsxs(
|
|
2679
|
+
"dl",
|
|
2680
|
+
{
|
|
2681
|
+
"data-field": "input",
|
|
2682
|
+
className: [z.l, d].filter((D) => D !== void 0).join(" "),
|
|
2683
|
+
children: [
|
|
2684
|
+
C ? /* @__PURE__ */ m.jsx("dt", { className: z.t, children: C }) : "",
|
|
2685
|
+
A,
|
|
2686
|
+
/* @__PURE__ */ m.jsx(
|
|
2687
|
+
"dd",
|
|
2688
|
+
{
|
|
2689
|
+
className: [z.f, z.w].join(" "),
|
|
2690
|
+
onPaste: L,
|
|
2691
|
+
onInput: M,
|
|
2692
|
+
onBlur: q,
|
|
2693
|
+
onKeyDown: K,
|
|
2694
|
+
onKeyUp: G,
|
|
2695
|
+
suppressContentEditableWarning: !0,
|
|
2696
|
+
...E,
|
|
2697
|
+
children: g
|
|
2698
|
+
}
|
|
2699
|
+
),
|
|
2700
|
+
N,
|
|
2701
|
+
O && /* @__PURE__ */ m.jsx("em", { children: O })
|
|
2702
|
+
]
|
|
2703
|
+
}
|
|
2704
|
+
);
|
|
2705
|
+
}
|
|
2706
|
+
var Nt = { exports: {} }, gt = {};
|
|
2707
|
+
/**
|
|
2708
|
+
* @license React
|
|
2709
|
+
* react-jsx-runtime.production.min.js
|
|
2710
|
+
*
|
|
2711
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
2712
|
+
*
|
|
2713
|
+
* This source code is licensed under the MIT license found in the
|
|
2714
|
+
* LICENSE file in the root directory of this source tree.
|
|
2715
|
+
*/
|
|
2716
|
+
var qt;
|
|
2717
|
+
function Xr() {
|
|
2718
|
+
if (qt) return gt;
|
|
2719
|
+
qt = 1;
|
|
2720
|
+
var n = U, i = Symbol.for("react.element"), c = Symbol.for("react.fragment"), u = Object.prototype.hasOwnProperty, v = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, C = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
2721
|
+
function O(x, s, g) {
|
|
2722
|
+
var o, d = {}, b = null, S = null;
|
|
2723
|
+
g !== void 0 && (b = "" + g), s.key !== void 0 && (b = "" + s.key), s.ref !== void 0 && (S = s.ref);
|
|
2724
|
+
for (o in s) u.call(s, o) && !C.hasOwnProperty(o) && (d[o] = s[o]);
|
|
2725
|
+
if (x && x.defaultProps) for (o in s = x.defaultProps, s) d[o] === void 0 && (d[o] = s[o]);
|
|
2726
|
+
return { $$typeof: i, type: x, key: b, ref: S, props: d, _owner: v.current };
|
|
2727
|
+
}
|
|
2728
|
+
return gt.Fragment = c, gt.jsx = O, gt.jsxs = O, gt;
|
|
2729
|
+
}
|
|
2730
|
+
var jt = {};
|
|
2731
|
+
/**
|
|
2732
|
+
* @license React
|
|
2733
|
+
* react-jsx-runtime.development.js
|
|
2734
|
+
*
|
|
2735
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
2736
|
+
*
|
|
2737
|
+
* This source code is licensed under the MIT license found in the
|
|
2738
|
+
* LICENSE file in the root directory of this source tree.
|
|
2739
|
+
*/
|
|
2740
|
+
var Yt;
|
|
2741
|
+
function Qr() {
|
|
2742
|
+
return Yt || (Yt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
2743
|
+
var n = U, i = Symbol.for("react.element"), c = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), v = Symbol.for("react.strict_mode"), C = Symbol.for("react.profiler"), O = Symbol.for("react.provider"), x = Symbol.for("react.context"), s = Symbol.for("react.forward_ref"), g = Symbol.for("react.suspense"), o = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), b = Symbol.for("react.lazy"), S = Symbol.for("react.offscreen"), N = Symbol.iterator, A = "@@iterator";
|
|
2744
|
+
function $(e) {
|
|
2745
|
+
if (e === null || typeof e != "object")
|
|
2746
|
+
return null;
|
|
2747
|
+
var t = N && e[N] || e[A];
|
|
2748
|
+
return typeof t == "function" ? t : null;
|
|
2749
|
+
}
|
|
2750
|
+
var T = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
2751
|
+
function p(e) {
|
|
2752
|
+
{
|
|
2753
|
+
for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), a = 1; a < t; a++)
|
|
2284
2754
|
r[a - 1] = arguments[a];
|
|
2285
|
-
|
|
2755
|
+
M("error", e, r);
|
|
2286
2756
|
}
|
|
2287
2757
|
}
|
|
2288
|
-
function
|
|
2758
|
+
function M(e, t, r) {
|
|
2289
2759
|
{
|
|
2290
|
-
var a = T.ReactDebugCurrentFrame,
|
|
2291
|
-
|
|
2760
|
+
var a = T.ReactDebugCurrentFrame, f = a.getStackAddendum();
|
|
2761
|
+
f !== "" && (t += "%s", r = r.concat([f]));
|
|
2292
2762
|
var y = r.map(function(l) {
|
|
2293
2763
|
return String(l);
|
|
2294
2764
|
});
|
|
2295
2765
|
y.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, y);
|
|
2296
2766
|
}
|
|
2297
2767
|
}
|
|
2298
|
-
var
|
|
2299
|
-
|
|
2768
|
+
var K = !1, G = !1, L = !1, q = !1, E = !1, D;
|
|
2769
|
+
D = Symbol.for("react.module.reference");
|
|
2300
2770
|
function W(e) {
|
|
2301
|
-
return !!(typeof e == "string" || typeof e == "function" || e === u || e === C || E || e ===
|
|
2771
|
+
return !!(typeof e == "string" || typeof e == "function" || e === u || e === C || E || e === v || e === g || e === o || q || e === S || K || G || L || typeof e == "object" && e !== null && (e.$$typeof === b || e.$$typeof === d || e.$$typeof === O || e.$$typeof === x || e.$$typeof === s || // This needs to include all possible module reference object
|
|
2302
2772
|
// types supported by any Flight configuration anywhere since
|
|
2303
2773
|
// we don't know which Flight build this will end up being used
|
|
2304
2774
|
// with.
|
|
2305
|
-
e.$$typeof ===
|
|
2775
|
+
e.$$typeof === D || e.getModuleId !== void 0));
|
|
2306
2776
|
}
|
|
2307
2777
|
function R(e, t, r) {
|
|
2308
2778
|
var a = e.displayName;
|
|
2309
2779
|
if (a)
|
|
2310
2780
|
return a;
|
|
2311
|
-
var
|
|
2312
|
-
return
|
|
2781
|
+
var f = t.displayName || t.name || "";
|
|
2782
|
+
return f !== "" ? r + "(" + f + ")" : r;
|
|
2313
2783
|
}
|
|
2314
|
-
function
|
|
2784
|
+
function h(e) {
|
|
2315
2785
|
return e.displayName || "Context";
|
|
2316
2786
|
}
|
|
2317
|
-
function
|
|
2787
|
+
function k(e) {
|
|
2318
2788
|
if (e == null)
|
|
2319
2789
|
return null;
|
|
2320
2790
|
if (typeof e.tag == "number" && p("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
@@ -2328,9 +2798,9 @@ function Kr() {
|
|
|
2328
2798
|
return "Portal";
|
|
2329
2799
|
case C:
|
|
2330
2800
|
return "Profiler";
|
|
2331
|
-
case
|
|
2801
|
+
case v:
|
|
2332
2802
|
return "StrictMode";
|
|
2333
|
-
case
|
|
2803
|
+
case g:
|
|
2334
2804
|
return "Suspense";
|
|
2335
2805
|
case o:
|
|
2336
2806
|
return "SuspenseList";
|
|
@@ -2339,19 +2809,19 @@ function Kr() {
|
|
|
2339
2809
|
switch (e.$$typeof) {
|
|
2340
2810
|
case x:
|
|
2341
2811
|
var t = e;
|
|
2342
|
-
return
|
|
2812
|
+
return h(t) + ".Consumer";
|
|
2343
2813
|
case O:
|
|
2344
2814
|
var r = e;
|
|
2345
|
-
return
|
|
2815
|
+
return h(r._context) + ".Provider";
|
|
2346
2816
|
case s:
|
|
2347
2817
|
return R(e, e.render, "ForwardRef");
|
|
2348
2818
|
case d:
|
|
2349
2819
|
var a = e.displayName || null;
|
|
2350
|
-
return a !== null ? a :
|
|
2351
|
-
case
|
|
2352
|
-
var
|
|
2820
|
+
return a !== null ? a : k(e.type) || "Memo";
|
|
2821
|
+
case b: {
|
|
2822
|
+
var f = e, y = f._payload, l = f._init;
|
|
2353
2823
|
try {
|
|
2354
|
-
return
|
|
2824
|
+
return k(l(y));
|
|
2355
2825
|
} catch {
|
|
2356
2826
|
return null;
|
|
2357
2827
|
}
|
|
@@ -2359,13 +2829,13 @@ function Kr() {
|
|
|
2359
2829
|
}
|
|
2360
2830
|
return null;
|
|
2361
2831
|
}
|
|
2362
|
-
var
|
|
2832
|
+
var I = Object.assign, Y = 0, Q, ie, se, ve, ge, be, ke;
|
|
2363
2833
|
function we() {
|
|
2364
2834
|
}
|
|
2365
2835
|
we.__reactDisabledLog = !0;
|
|
2366
2836
|
function Le() {
|
|
2367
2837
|
{
|
|
2368
|
-
if (
|
|
2838
|
+
if (Y === 0) {
|
|
2369
2839
|
Q = console.log, ie = console.info, se = console.warn, ve = console.error, ge = console.group, be = console.groupCollapsed, ke = console.groupEnd;
|
|
2370
2840
|
var e = {
|
|
2371
2841
|
configurable: !0,
|
|
@@ -2383,42 +2853,42 @@ function Kr() {
|
|
|
2383
2853
|
groupEnd: e
|
|
2384
2854
|
});
|
|
2385
2855
|
}
|
|
2386
|
-
|
|
2856
|
+
Y++;
|
|
2387
2857
|
}
|
|
2388
2858
|
}
|
|
2389
2859
|
function We() {
|
|
2390
2860
|
{
|
|
2391
|
-
if (
|
|
2861
|
+
if (Y--, Y === 0) {
|
|
2392
2862
|
var e = {
|
|
2393
2863
|
configurable: !0,
|
|
2394
2864
|
enumerable: !0,
|
|
2395
2865
|
writable: !0
|
|
2396
2866
|
};
|
|
2397
2867
|
Object.defineProperties(console, {
|
|
2398
|
-
log:
|
|
2868
|
+
log: I({}, e, {
|
|
2399
2869
|
value: Q
|
|
2400
2870
|
}),
|
|
2401
|
-
info:
|
|
2871
|
+
info: I({}, e, {
|
|
2402
2872
|
value: ie
|
|
2403
2873
|
}),
|
|
2404
|
-
warn:
|
|
2874
|
+
warn: I({}, e, {
|
|
2405
2875
|
value: se
|
|
2406
2876
|
}),
|
|
2407
|
-
error:
|
|
2877
|
+
error: I({}, e, {
|
|
2408
2878
|
value: ve
|
|
2409
2879
|
}),
|
|
2410
|
-
group:
|
|
2880
|
+
group: I({}, e, {
|
|
2411
2881
|
value: ge
|
|
2412
2882
|
}),
|
|
2413
|
-
groupCollapsed:
|
|
2883
|
+
groupCollapsed: I({}, e, {
|
|
2414
2884
|
value: be
|
|
2415
2885
|
}),
|
|
2416
|
-
groupEnd:
|
|
2886
|
+
groupEnd: I({}, e, {
|
|
2417
2887
|
value: ke
|
|
2418
2888
|
})
|
|
2419
2889
|
});
|
|
2420
2890
|
}
|
|
2421
|
-
|
|
2891
|
+
Y < 0 && p("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
2422
2892
|
}
|
|
2423
2893
|
}
|
|
2424
2894
|
var le = T.ReactCurrentDispatcher, ce;
|
|
@@ -2427,8 +2897,8 @@ function Kr() {
|
|
|
2427
2897
|
if (ce === void 0)
|
|
2428
2898
|
try {
|
|
2429
2899
|
throw Error();
|
|
2430
|
-
} catch (
|
|
2431
|
-
var a =
|
|
2900
|
+
} catch (f) {
|
|
2901
|
+
var a = f.stack.trim().match(/\n( *(at )?)/);
|
|
2432
2902
|
ce = a && a[1] || "";
|
|
2433
2903
|
}
|
|
2434
2904
|
return `
|
|
@@ -2450,7 +2920,7 @@ function Kr() {
|
|
|
2450
2920
|
}
|
|
2451
2921
|
var a;
|
|
2452
2922
|
ue = !0;
|
|
2453
|
-
var
|
|
2923
|
+
var f = Error.prepareStackTrace;
|
|
2454
2924
|
Error.prepareStackTrace = void 0;
|
|
2455
2925
|
var y;
|
|
2456
2926
|
y = le.current, le.current = null, Le();
|
|
@@ -2488,17 +2958,17 @@ function Kr() {
|
|
|
2488
2958
|
}
|
|
2489
2959
|
} catch (F) {
|
|
2490
2960
|
if (F && a && typeof F.stack == "string") {
|
|
2491
|
-
for (var
|
|
2492
|
-
`),
|
|
2493
|
-
`), w =
|
|
2961
|
+
for (var _ = F.stack.split(`
|
|
2962
|
+
`), P = a.stack.split(`
|
|
2963
|
+
`), w = _.length - 1, j = P.length - 1; w >= 1 && j >= 0 && _[w] !== P[j]; )
|
|
2494
2964
|
j--;
|
|
2495
2965
|
for (; w >= 1 && j >= 0; w--, j--)
|
|
2496
|
-
if (
|
|
2966
|
+
if (_[w] !== P[j]) {
|
|
2497
2967
|
if (w !== 1 || j !== 1)
|
|
2498
2968
|
do
|
|
2499
|
-
if (w--, j--, j < 0 ||
|
|
2969
|
+
if (w--, j--, j < 0 || _[w] !== P[j]) {
|
|
2500
2970
|
var B = `
|
|
2501
|
-
` +
|
|
2971
|
+
` + _[w].replace(" at new ", " at ");
|
|
2502
2972
|
return e.displayName && B.includes("<anonymous>") && (B = B.replace("<anonymous>", e.displayName)), typeof e == "function" && ae.set(e, B), B;
|
|
2503
2973
|
}
|
|
2504
2974
|
while (w >= 1 && j >= 0);
|
|
@@ -2506,7 +2976,7 @@ function Kr() {
|
|
|
2506
2976
|
}
|
|
2507
2977
|
}
|
|
2508
2978
|
} finally {
|
|
2509
|
-
ue = !1, le.current = y, We(), Error.prepareStackTrace =
|
|
2979
|
+
ue = !1, le.current = y, We(), Error.prepareStackTrace = f;
|
|
2510
2980
|
}
|
|
2511
2981
|
var V = e ? e.displayName || e.name : "", H = V ? re(V) : "";
|
|
2512
2982
|
return typeof e == "function" && ae.set(e, H), H;
|
|
@@ -2526,7 +2996,7 @@ function Kr() {
|
|
|
2526
2996
|
if (typeof e == "string")
|
|
2527
2997
|
return re(e);
|
|
2528
2998
|
switch (e) {
|
|
2529
|
-
case
|
|
2999
|
+
case g:
|
|
2530
3000
|
return re("Suspense");
|
|
2531
3001
|
case o:
|
|
2532
3002
|
return re("SuspenseList");
|
|
@@ -2537,10 +3007,10 @@ function Kr() {
|
|
|
2537
3007
|
return Ke(e.render);
|
|
2538
3008
|
case d:
|
|
2539
3009
|
return ne(e.type, t, r);
|
|
2540
|
-
case
|
|
2541
|
-
var a = e,
|
|
3010
|
+
case b: {
|
|
3011
|
+
var a = e, f = a._payload, y = a._init;
|
|
2542
3012
|
try {
|
|
2543
|
-
return ne(y(
|
|
3013
|
+
return ne(y(f), t, r);
|
|
2544
3014
|
} catch {
|
|
2545
3015
|
}
|
|
2546
3016
|
}
|
|
@@ -2555,22 +3025,22 @@ function Kr() {
|
|
|
2555
3025
|
} else
|
|
2556
3026
|
Ce.setExtraStackFrame(null);
|
|
2557
3027
|
}
|
|
2558
|
-
function Ye(e, t, r, a,
|
|
3028
|
+
function Ye(e, t, r, a, f) {
|
|
2559
3029
|
{
|
|
2560
3030
|
var y = Function.call.bind(X);
|
|
2561
3031
|
for (var l in e)
|
|
2562
3032
|
if (y(e, l)) {
|
|
2563
|
-
var
|
|
3033
|
+
var _ = void 0;
|
|
2564
3034
|
try {
|
|
2565
3035
|
if (typeof e[l] != "function") {
|
|
2566
|
-
var
|
|
2567
|
-
throw
|
|
3036
|
+
var P = Error((a || "React class") + ": " + r + " type `" + l + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[l] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
3037
|
+
throw P.name = "Invariant Violation", P;
|
|
2568
3038
|
}
|
|
2569
|
-
|
|
3039
|
+
_ = e[l](t, l, a, r, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
2570
3040
|
} catch (w) {
|
|
2571
|
-
|
|
3041
|
+
_ = w;
|
|
2572
3042
|
}
|
|
2573
|
-
|
|
3043
|
+
_ && !(_ instanceof Error) && (oe(f), p("%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).", a || "React class", r, l, typeof _), oe(null)), _ instanceof Error && !(_.message in xe) && (xe[_.message] = !0, oe(f), p("Failed %s type: %s", r, _.message), oe(null));
|
|
2574
3044
|
}
|
|
2575
3045
|
}
|
|
2576
3046
|
}
|
|
@@ -2645,10 +3115,10 @@ function Kr() {
|
|
|
2645
3115
|
});
|
|
2646
3116
|
}
|
|
2647
3117
|
}
|
|
2648
|
-
var tt = function(e, t, r, a,
|
|
2649
|
-
var
|
|
3118
|
+
var tt = function(e, t, r, a, f, y, l) {
|
|
3119
|
+
var _ = {
|
|
2650
3120
|
// This tag allows us to uniquely identify this as a React Element
|
|
2651
|
-
$$typeof:
|
|
3121
|
+
$$typeof: i,
|
|
2652
3122
|
// Built-in properties that belong on the element
|
|
2653
3123
|
type: e,
|
|
2654
3124
|
key: t,
|
|
@@ -2657,27 +3127,27 @@ function Kr() {
|
|
|
2657
3127
|
// Record the component responsible for creating this element.
|
|
2658
3128
|
_owner: y
|
|
2659
3129
|
};
|
|
2660
|
-
return
|
|
3130
|
+
return _._store = {}, Object.defineProperty(_._store, "validated", {
|
|
2661
3131
|
configurable: !1,
|
|
2662
3132
|
enumerable: !1,
|
|
2663
3133
|
writable: !0,
|
|
2664
3134
|
value: !1
|
|
2665
|
-
}), Object.defineProperty(
|
|
3135
|
+
}), Object.defineProperty(_, "_self", {
|
|
2666
3136
|
configurable: !1,
|
|
2667
3137
|
enumerable: !1,
|
|
2668
3138
|
writable: !1,
|
|
2669
3139
|
value: a
|
|
2670
|
-
}), Object.defineProperty(
|
|
3140
|
+
}), Object.defineProperty(_, "_source", {
|
|
2671
3141
|
configurable: !1,
|
|
2672
3142
|
enumerable: !1,
|
|
2673
3143
|
writable: !1,
|
|
2674
|
-
value:
|
|
2675
|
-
}), Object.freeze && (Object.freeze(
|
|
3144
|
+
value: f
|
|
3145
|
+
}), Object.freeze && (Object.freeze(_.props), Object.freeze(_)), _;
|
|
2676
3146
|
};
|
|
2677
|
-
function rt(e, t, r, a,
|
|
3147
|
+
function rt(e, t, r, a, f) {
|
|
2678
3148
|
{
|
|
2679
|
-
var y, l = {},
|
|
2680
|
-
r !== void 0 && (Re(r),
|
|
3149
|
+
var y, l = {}, _ = null, P = null;
|
|
3150
|
+
r !== void 0 && (Re(r), _ = "" + r), Ve(t) && (Re(t.key), _ = "" + t.key), Ze(t) && (P = t.ref, Xe(t));
|
|
2681
3151
|
for (y in t)
|
|
2682
3152
|
X.call(t, y) && !Je.hasOwnProperty(y) && (l[y] = t[y]);
|
|
2683
3153
|
if (e && e.defaultProps) {
|
|
@@ -2685,11 +3155,11 @@ function Kr() {
|
|
|
2685
3155
|
for (y in w)
|
|
2686
3156
|
l[y] === void 0 && (l[y] = w[y]);
|
|
2687
3157
|
}
|
|
2688
|
-
if (
|
|
3158
|
+
if (_ || P) {
|
|
2689
3159
|
var j = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
2690
|
-
|
|
3160
|
+
_ && Qe(l, j), P && et(l, j);
|
|
2691
3161
|
}
|
|
2692
|
-
return tt(e,
|
|
3162
|
+
return tt(e, _, P, f, a, Ee.current, l);
|
|
2693
3163
|
}
|
|
2694
3164
|
}
|
|
2695
3165
|
var fe = T.ReactCurrentOwner, De = T.ReactDebugCurrentFrame;
|
|
@@ -2700,15 +3170,15 @@ function Kr() {
|
|
|
2700
3170
|
} else
|
|
2701
3171
|
De.setExtraStackFrame(null);
|
|
2702
3172
|
}
|
|
2703
|
-
var
|
|
2704
|
-
|
|
2705
|
-
function
|
|
2706
|
-
return typeof e == "object" && e !== null && e.$$typeof ===
|
|
3173
|
+
var pe;
|
|
3174
|
+
pe = !1;
|
|
3175
|
+
function me(e) {
|
|
3176
|
+
return typeof e == "object" && e !== null && e.$$typeof === i;
|
|
2707
3177
|
}
|
|
2708
3178
|
function Pe() {
|
|
2709
3179
|
{
|
|
2710
3180
|
if (fe.current) {
|
|
2711
|
-
var e =
|
|
3181
|
+
var e = k(fe.current.type);
|
|
2712
3182
|
if (e)
|
|
2713
3183
|
return `
|
|
2714
3184
|
|
|
@@ -2743,7 +3213,7 @@ Check the top-level render call using <` + r + ">.");
|
|
|
2743
3213
|
return;
|
|
2744
3214
|
Ne[r] = !0;
|
|
2745
3215
|
var a = "";
|
|
2746
|
-
e && e._owner && e._owner !== fe.current && (a = " It was passed a child from " +
|
|
3216
|
+
e && e._owner && e._owner !== fe.current && (a = " It was passed a child from " + k(e._owner.type) + "."), Z(e), p('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', r, a), Z(null);
|
|
2747
3217
|
}
|
|
2748
3218
|
}
|
|
2749
3219
|
function Ie(e, t) {
|
|
@@ -2753,886 +3223,414 @@ Check the top-level render call using <` + r + ">.");
|
|
|
2753
3223
|
if (de(e))
|
|
2754
3224
|
for (var r = 0; r < e.length; r++) {
|
|
2755
3225
|
var a = e[r];
|
|
2756
|
-
|
|
3226
|
+
me(a) && Fe(a, t);
|
|
2757
3227
|
}
|
|
2758
|
-
else if (
|
|
3228
|
+
else if (me(e))
|
|
2759
3229
|
e._store && (e._store.validated = !0);
|
|
2760
3230
|
else if (e) {
|
|
2761
|
-
var
|
|
2762
|
-
if (typeof
|
|
2763
|
-
for (var y =
|
|
2764
|
-
|
|
2765
|
-
}
|
|
2766
|
-
}
|
|
2767
|
-
}
|
|
2768
|
-
function ot(e) {
|
|
2769
|
-
{
|
|
2770
|
-
var t = e.type;
|
|
2771
|
-
if (t == null || typeof t == "string")
|
|
2772
|
-
return;
|
|
2773
|
-
var r;
|
|
2774
|
-
if (typeof t == "function")
|
|
2775
|
-
r = t.propTypes;
|
|
2776
|
-
else if (typeof t == "object" && (t.$$typeof === s || // Note: Memo only checks outer props here.
|
|
2777
|
-
// Inner props are checked in the reconciler.
|
|
2778
|
-
t.$$typeof === d))
|
|
2779
|
-
r = t.propTypes;
|
|
2780
|
-
else
|
|
2781
|
-
return;
|
|
2782
|
-
if (r) {
|
|
2783
|
-
var a = b(t);
|
|
2784
|
-
Ye(r, e.props, "prop", a, e);
|
|
2785
|
-
} else if (t.PropTypes !== void 0 && !me) {
|
|
2786
|
-
me = !0;
|
|
2787
|
-
var m = b(t);
|
|
2788
|
-
p("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", m || "Unknown");
|
|
2789
|
-
}
|
|
2790
|
-
typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && p("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
2791
|
-
}
|
|
2792
|
-
}
|
|
2793
|
-
function it(e) {
|
|
2794
|
-
{
|
|
2795
|
-
for (var t = Object.keys(e.props), r = 0; r < t.length; r++) {
|
|
2796
|
-
var a = t[r];
|
|
2797
|
-
if (a !== "children" && a !== "key") {
|
|
2798
|
-
Z(e), p("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", a), Z(null);
|
|
2799
|
-
break;
|
|
2800
|
-
}
|
|
2801
|
-
}
|
|
2802
|
-
e.ref !== null && (Z(e), p("Invalid attribute `ref` supplied to `React.Fragment`."), Z(null));
|
|
2803
|
-
}
|
|
2804
|
-
}
|
|
2805
|
-
var Me = {};
|
|
2806
|
-
function $e(e, t, r, a, m, y) {
|
|
2807
|
-
{
|
|
2808
|
-
var l = W(e);
|
|
2809
|
-
if (!l) {
|
|
2810
|
-
var i = "";
|
|
2811
|
-
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (i += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
2812
|
-
var D = at();
|
|
2813
|
-
D ? i += D : i += Pe();
|
|
2814
|
-
var w;
|
|
2815
|
-
e === null ? w = "null" : de(e) ? w = "array" : e !== void 0 && e.$$typeof === _ ? (w = "<" + (b(e.type) || "Unknown") + " />", i = " Did you accidentally export a JSX literal instead of a component?") : w = typeof e, p("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", w, i);
|
|
2816
|
-
}
|
|
2817
|
-
var j = rt(e, t, r, m, y);
|
|
2818
|
-
if (j == null)
|
|
2819
|
-
return j;
|
|
2820
|
-
if (l) {
|
|
2821
|
-
var B = t.children;
|
|
2822
|
-
if (B !== void 0)
|
|
2823
|
-
if (a)
|
|
2824
|
-
if (de(B)) {
|
|
2825
|
-
for (var V = 0; V < B.length; V++)
|
|
2826
|
-
Ie(B[V], e);
|
|
2827
|
-
Object.freeze && Object.freeze(B);
|
|
2828
|
-
} else
|
|
2829
|
-
p("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
2830
|
-
else
|
|
2831
|
-
Ie(B, e);
|
|
2832
|
-
}
|
|
2833
|
-
if (X.call(t, "key")) {
|
|
2834
|
-
var H = b(e), F = Object.keys(t).filter(function(dt) {
|
|
2835
|
-
return dt !== "key";
|
|
2836
|
-
}), ye = F.length > 0 ? "{key: someKey, " + F.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
2837
|
-
if (!Me[H + ye]) {
|
|
2838
|
-
var ut = F.length > 0 ? "{" + F.join(": ..., ") + ": ...}" : "{}";
|
|
2839
|
-
p(`A props object containing a "key" prop is being spread into JSX:
|
|
2840
|
-
let props = %s;
|
|
2841
|
-
<%s {...props} />
|
|
2842
|
-
React keys must be passed directly to JSX without using spread:
|
|
2843
|
-
let props = %s;
|
|
2844
|
-
<%s key={someKey} {...props} />`, ye, H, ut, H), Me[H + ye] = !0;
|
|
2845
|
-
}
|
|
3231
|
+
var f = $(e);
|
|
3232
|
+
if (typeof f == "function" && f !== e.entries)
|
|
3233
|
+
for (var y = f.call(e), l; !(l = y.next()).done; )
|
|
3234
|
+
me(l.value) && Fe(l.value, t);
|
|
2846
3235
|
}
|
|
2847
|
-
|
|
2848
|
-
|
|
2849
|
-
|
|
2850
|
-
function _t(e, t, r) {
|
|
2851
|
-
return $e(e, t, r, !0);
|
|
2852
|
-
}
|
|
2853
|
-
function st(e, t, r) {
|
|
2854
|
-
return $e(e, t, r, !1);
|
|
2855
|
-
}
|
|
2856
|
-
var lt = st, ct = _t;
|
|
2857
|
-
wt.Fragment = u, wt.jsx = lt, wt.jsxs = ct;
|
|
2858
|
-
}()), wt;
|
|
2859
|
-
}
|
|
2860
|
-
process.env.NODE_ENV === "production" ? Nt.exports = Ur() : Nt.exports = Kr();
|
|
2861
|
-
var Et = Nt.exports;
|
|
2862
|
-
const qr = "_btn_1k1b3_1", Yr = "_confirm_1k1b3_15", Gr = "_cancel_1k1b3_20", zr = "_action_1k1b3_25", Hr = "_disabled_1k1b3_30", Jr = "_m_1k1b3_44", Zr = "_l_1k1b3_48", jt = {
|
|
2863
|
-
btn: qr,
|
|
2864
|
-
confirm: Yr,
|
|
2865
|
-
cancel: Gr,
|
|
2866
|
-
action: zr,
|
|
2867
|
-
disabled: Hr,
|
|
2868
|
-
await: "_await_1k1b3_37",
|
|
2869
|
-
m: Jr,
|
|
2870
|
-
l: Zr
|
|
2871
|
-
}, Vr = ({
|
|
2872
|
-
onClick: n,
|
|
2873
|
-
onSend: _,
|
|
2874
|
-
size: c = "m",
|
|
2875
|
-
view: u = "confirm",
|
|
2876
|
-
children: g,
|
|
2877
|
-
isDisabled: C = !1,
|
|
2878
|
-
className: O,
|
|
2879
|
-
after: x,
|
|
2880
|
-
before: s,
|
|
2881
|
-
label: h,
|
|
2882
|
-
onRef: o,
|
|
2883
|
-
awaitText: d = "Ожидайте"
|
|
2884
|
-
}) => {
|
|
2885
|
-
let [k, S] = K.useState(!1);
|
|
2886
|
-
const N = ($) => {
|
|
2887
|
-
if (n) return n();
|
|
2888
|
-
k || (_ ? (S(!0), _(S)) : $.preventDefault());
|
|
2889
|
-
};
|
|
2890
|
-
let A = {};
|
|
2891
|
-
return (C || k) && (A.disabled = !0), /* @__PURE__ */ Et.jsx(
|
|
2892
|
-
"button",
|
|
2893
|
-
{
|
|
2894
|
-
...A,
|
|
2895
|
-
ref: o,
|
|
2896
|
-
className: [
|
|
2897
|
-
jt.btn,
|
|
2898
|
-
k ? jt.disabled : jt[u],
|
|
2899
|
-
c && jt[c],
|
|
2900
|
-
O
|
|
2901
|
-
].filter(($) => $ != "").join(" "),
|
|
2902
|
-
onClick: N,
|
|
2903
|
-
children: k ? d : /* @__PURE__ */ Et.jsxs(Et.Fragment, { children: [
|
|
2904
|
-
s || "",
|
|
2905
|
-
" ",
|
|
2906
|
-
h,
|
|
2907
|
-
" ",
|
|
2908
|
-
x || ""
|
|
2909
|
-
] }) || g
|
|
2910
|
-
}
|
|
2911
|
-
);
|
|
2912
|
-
};
|
|
2913
|
-
let Ae = {};
|
|
2914
|
-
function Xr({ children: n }) {
|
|
2915
|
-
return /* @__PURE__ */ J.jsx(J.Fragment, { children: n });
|
|
2916
|
-
}
|
|
2917
|
-
var Ct;
|
|
2918
|
-
((n) => {
|
|
2919
|
-
function _({
|
|
2920
|
-
import_modules: o
|
|
2921
|
-
}) {
|
|
2922
|
-
let [d, k] = K.useState([]);
|
|
2923
|
-
return Ae.x = (S) => {
|
|
2924
|
-
k(S ? d.filter((N) => N.key !== S) : []);
|
|
2925
|
-
}, Ht(() => {
|
|
2926
|
-
o && (Ae.i = o);
|
|
2927
|
-
}, []), Ae.add = (S, N = Date.now()) => {
|
|
2928
|
-
k([...d, { key: N, item: S }]);
|
|
2929
|
-
}, /* @__PURE__ */ J.jsx(J.Fragment, { children: d.map((S) => S.item) });
|
|
2930
|
-
}
|
|
2931
|
-
n.Init = _;
|
|
2932
|
-
function c(o) {
|
|
2933
|
-
return o && (Ae.i = o), Ae.i;
|
|
2934
|
-
}
|
|
2935
|
-
n.Import = c, n.List = Mr, n.Scroll = $r, n.Form = Ar, n.Center = Br, n.Column = Lr;
|
|
2936
|
-
function u(o, d, k) {
|
|
2937
|
-
Ae.i ? Ae.i(`${o}/modal/${d}.tsx`).then((S) => {
|
|
2938
|
-
S.default.Open(k);
|
|
2939
|
-
}) : Ut()(`${o}/modal/${d}.tsx`).then((S) => {
|
|
2940
|
-
S.default.Open(k);
|
|
2941
|
-
});
|
|
2942
|
-
}
|
|
2943
|
-
n.Open = u;
|
|
2944
|
-
function g({ type: o, name: d, params: k }) {
|
|
2945
|
-
let [S, N] = K.useState(null);
|
|
2946
|
-
return K.useEffect(() => {
|
|
2947
|
-
Ae.i ? Ae.i(`${o}/modal/${d}.tsx`).then((A) => {
|
|
2948
|
-
N(A.default.Icon(k));
|
|
2949
|
-
}) : Ut()(`${o}/modal/${d}.tsx`).then((A) => {
|
|
2950
|
-
N(A.default.Icon(k));
|
|
2951
|
-
});
|
|
2952
|
-
}, [k.id]), /* @__PURE__ */ J.jsx(J.Fragment, { children: S });
|
|
2953
|
-
}
|
|
2954
|
-
n.Icon = g;
|
|
2955
|
-
function C(o, d) {
|
|
2956
|
-
Ae.add(/* @__PURE__ */ J.jsx(Xr, { children: o }, String(Date.now())), d);
|
|
2957
|
-
}
|
|
2958
|
-
n.Add = C;
|
|
2959
|
-
function O(o) {
|
|
2960
|
-
Ae.x(o);
|
|
2961
|
-
}
|
|
2962
|
-
n.Close = O;
|
|
2963
|
-
function x(o) {
|
|
2964
|
-
if (o.target.classList[0] !== "modal") return;
|
|
2965
|
-
let d = o.target.children[0];
|
|
2966
|
-
d.setAttribute("shake", !0), setTimeout(() => {
|
|
2967
|
-
d.setAttribute("shake", !1);
|
|
2968
|
-
}, 1e3);
|
|
2969
|
-
}
|
|
2970
|
-
n.Shake = x;
|
|
2971
|
-
function s(o, d) {
|
|
2972
|
-
const k = (S) => {
|
|
2973
|
-
n.Add(
|
|
2974
|
-
/* @__PURE__ */ J.jsx(o, { ...S }, (/* @__PURE__ */ new Date()).getTime())
|
|
2975
|
-
);
|
|
2976
|
-
};
|
|
2977
|
-
return {
|
|
2978
|
-
Icon: (S) => /* @__PURE__ */ J.jsx("i", { onClick: () => k(S), children: d && /* @__PURE__ */ J.jsx(d, {}) }),
|
|
2979
|
-
Open: k
|
|
2980
|
-
};
|
|
2981
|
-
}
|
|
2982
|
-
n.Create = s;
|
|
2983
|
-
function h({
|
|
2984
|
-
title: o,
|
|
2985
|
-
children: d,
|
|
2986
|
-
button: k,
|
|
2987
|
-
tabs: S,
|
|
2988
|
-
size: N = "m",
|
|
2989
|
-
className: A = "",
|
|
2990
|
-
shake: $ = !0,
|
|
2991
|
-
menu: T
|
|
2992
|
-
}) {
|
|
2993
|
-
const [p, I] = K.useState(!0), q = K.useRef(), Y = (U) => {
|
|
2994
|
-
if (k) {
|
|
2995
|
-
if (k.onClick)
|
|
2996
|
-
return U(!1), k.onClick({ setOpen: I });
|
|
2997
|
-
if (k.onSend)
|
|
2998
|
-
return k.onSend({
|
|
2999
|
-
setOpen: I,
|
|
3000
|
-
disabled: U
|
|
3001
|
-
});
|
|
3002
|
-
}
|
|
3003
|
-
}, L = () => {
|
|
3004
|
-
if (!$) return I(!1);
|
|
3005
|
-
q.current.setAttribute("shake", !0), setTimeout(() => {
|
|
3006
|
-
q.current.setAttribute("shake", !1);
|
|
3007
|
-
}, 1e3);
|
|
3008
|
-
};
|
|
3009
|
-
return p ? /* @__PURE__ */ J.jsxs("div", { className: `${_e.modal}`, children: [
|
|
3010
|
-
/* @__PURE__ */ J.jsx("div", { className: _e.o, onClick: L }),
|
|
3011
|
-
/* @__PURE__ */ J.jsxs(
|
|
3012
|
-
"div",
|
|
3013
|
-
{
|
|
3014
|
-
className: [_e.w, _e[`s${N}`], A].filter((U) => U != "").join(" "),
|
|
3015
|
-
ref: q,
|
|
3016
|
-
children: [
|
|
3017
|
-
/* @__PURE__ */ J.jsxs("div", { className: _e.h, children: [
|
|
3018
|
-
/* @__PURE__ */ J.jsx("div", { className: _e.t, children: o }),
|
|
3019
|
-
/* @__PURE__ */ J.jsxs("div", { className: _e.m, children: [
|
|
3020
|
-
S && /* @__PURE__ */ J.jsx("nav", { children: S.map((U, E) => /* @__PURE__ */ J.jsx(
|
|
3021
|
-
"span",
|
|
3022
|
-
{
|
|
3023
|
-
onClick: U.onClick,
|
|
3024
|
-
className: U.active ? "active" : "",
|
|
3025
|
-
children: U.name
|
|
3026
|
-
},
|
|
3027
|
-
E
|
|
3028
|
-
)) }),
|
|
3029
|
-
T
|
|
3030
|
-
] }),
|
|
3031
|
-
/* @__PURE__ */ J.jsx(
|
|
3032
|
-
"div",
|
|
3033
|
-
{
|
|
3034
|
-
className: _e.x,
|
|
3035
|
-
onClick: () => {
|
|
3036
|
-
I(!1);
|
|
3037
|
-
},
|
|
3038
|
-
children: /* @__PURE__ */ J.jsx("svg", { viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ J.jsx(
|
|
3039
|
-
"path",
|
|
3040
|
-
{
|
|
3041
|
-
d: "M20 5L5 20M5 5L20 20",
|
|
3042
|
-
stroke: "currentColor",
|
|
3043
|
-
strokeWidth: "2.5",
|
|
3044
|
-
strokeLinecap: "round",
|
|
3045
|
-
strokeLinejoin: "round"
|
|
3046
|
-
}
|
|
3047
|
-
) })
|
|
3048
|
-
}
|
|
3049
|
-
)
|
|
3050
|
-
] }),
|
|
3051
|
-
d,
|
|
3052
|
-
k && /* @__PURE__ */ J.jsx("div", { className: _e.b, children: /* @__PURE__ */ J.jsx(
|
|
3053
|
-
Vr,
|
|
3054
|
-
{
|
|
3055
|
-
label: k.label,
|
|
3056
|
-
onSend: Y,
|
|
3057
|
-
className: _e.btn,
|
|
3058
|
-
size: k.size
|
|
3059
|
-
}
|
|
3060
|
-
) })
|
|
3061
|
-
]
|
|
3062
|
-
}
|
|
3063
|
-
)
|
|
3064
|
-
] }) : "";
|
|
3065
|
-
}
|
|
3066
|
-
n.Main = h;
|
|
3067
|
-
})(Ct || (Ct = {}));
|
|
3068
|
-
const Qr = (n, _ = ",") => (n = n !== void 0 && n !== "" ? n.split(_) : [], n.filter((c) => c !== "").reduce((c, u) => (c[u] = !0, c), {}));
|
|
3069
|
-
function ha({
|
|
3070
|
-
value: n,
|
|
3071
|
-
onValue: _,
|
|
3072
|
-
name: c,
|
|
3073
|
-
placeholder: u = "",
|
|
3074
|
-
separator: g = ",",
|
|
3075
|
-
title: C,
|
|
3076
|
-
error: O,
|
|
3077
|
-
hide: x = !1,
|
|
3078
|
-
edit: s = !0,
|
|
3079
|
-
active: h = !0,
|
|
3080
|
-
outFormat: o = "object",
|
|
3081
|
-
after: d = "",
|
|
3082
|
-
modal: k,
|
|
3083
|
-
options: S,
|
|
3084
|
-
className: N
|
|
3085
|
-
}) {
|
|
3086
|
-
const [A, $] = K.useState(Qr(n, g)), T = (I) => {
|
|
3087
|
-
if (!(s && h) || !k) return;
|
|
3088
|
-
let q = k.split(".");
|
|
3089
|
-
Ct.Open(q[0], q[1], {
|
|
3090
|
-
callback: (Y) => {
|
|
3091
|
-
if (_)
|
|
3092
|
-
switch (o) {
|
|
3093
|
-
case "array":
|
|
3094
|
-
_({ value: Object.keys(Y), name: c });
|
|
3095
|
-
break;
|
|
3096
|
-
case "string":
|
|
3097
|
-
_({
|
|
3098
|
-
value: Object.keys(Y).filter((L) => Y[L]).join(g),
|
|
3099
|
-
name: c
|
|
3100
|
-
});
|
|
3101
|
-
break;
|
|
3102
|
-
default:
|
|
3103
|
-
_({ value: Y, name: c });
|
|
3104
|
-
}
|
|
3105
|
-
$(
|
|
3106
|
-
Object.fromEntries(
|
|
3107
|
-
Object.entries(Y).filter(
|
|
3108
|
-
([L, U]) => U !== !1
|
|
3109
|
-
)
|
|
3110
|
-
)
|
|
3111
|
-
);
|
|
3112
|
-
},
|
|
3113
|
-
onValue: _,
|
|
3114
|
-
options: S,
|
|
3115
|
-
name: c,
|
|
3116
|
-
value: A
|
|
3117
|
-
});
|
|
3118
|
-
}, p = {};
|
|
3119
|
-
return u && (p.placeholder = u), x ? /* @__PURE__ */ f.jsx(f.Fragment, {}) : /* @__PURE__ */ f.jsxs(
|
|
3120
|
-
"dl",
|
|
3121
|
-
{
|
|
3122
|
-
"data-field": "group",
|
|
3123
|
-
className: [z.l, N].filter((I) => I !== void 0).join(" "),
|
|
3124
|
-
children: [
|
|
3125
|
-
C ? /* @__PURE__ */ f.jsx("dt", { className: z.t, children: C }) : "",
|
|
3126
|
-
/* @__PURE__ */ f.jsx(
|
|
3127
|
-
"dd",
|
|
3128
|
-
{
|
|
3129
|
-
...p,
|
|
3130
|
-
className: z.f,
|
|
3131
|
-
onClick: T,
|
|
3132
|
-
edit: (s && h) + "",
|
|
3133
|
-
children: Object.keys(A).map((I) => {
|
|
3134
|
-
var q;
|
|
3135
|
-
return /* @__PURE__ */ f.jsx("div", { children: (q = S[I]) == null ? void 0 : q.label }, I);
|
|
3136
|
-
})
|
|
3137
|
-
}
|
|
3138
|
-
),
|
|
3139
|
-
O && /* @__PURE__ */ f.jsx("em", { children: O })
|
|
3140
|
-
]
|
|
3141
|
-
}
|
|
3142
|
-
);
|
|
3143
|
-
}
|
|
3144
|
-
const ea = "_o_1wehm_12", ta = "_l_1wehm_22", ra = "_i_1wehm_72", aa = "_f_1wehm_81", St = {
|
|
3145
|
-
o: ea,
|
|
3146
|
-
l: ta,
|
|
3147
|
-
i: ra,
|
|
3148
|
-
f: aa
|
|
3149
|
-
};
|
|
3150
|
-
function ba({
|
|
3151
|
-
title: n,
|
|
3152
|
-
error: _,
|
|
3153
|
-
edit: c = !0,
|
|
3154
|
-
active: u = !0,
|
|
3155
|
-
hide: g,
|
|
3156
|
-
value: C = 0,
|
|
3157
|
-
onValue: O,
|
|
3158
|
-
options: x,
|
|
3159
|
-
placeholder: s = "",
|
|
3160
|
-
className: h,
|
|
3161
|
-
isIcon: o = !0,
|
|
3162
|
-
name: d,
|
|
3163
|
-
after: k,
|
|
3164
|
-
view: S,
|
|
3165
|
-
order: N,
|
|
3166
|
-
isReload: A = !1
|
|
3167
|
-
}) {
|
|
3168
|
-
var R, v;
|
|
3169
|
-
const $ = K.useRef(null), [T, p] = K.useState(C), [I, q] = K.useState(x), [Y, L] = K.useState(!1);
|
|
3170
|
-
K.useEffect(() => {
|
|
3171
|
-
p(C), q(x);
|
|
3172
|
-
}, [C, x]), g = !!(g && (C === 0 || ((R = I == null ? void 0 : I[C]) == null ? void 0 : R.n) === void 0)) && !(c && u);
|
|
3173
|
-
let E = (b) => {
|
|
3174
|
-
p(b), O && O({ value: b, name: d, reload: A });
|
|
3175
|
-
}, W = { onClick: (b) => {
|
|
3176
|
-
Object.keys(I || {}).length !== 0 && c && u && ($.position = b.target.getBoundingClientRect(), L(!0));
|
|
3177
|
-
} };
|
|
3178
|
-
return s && (W.placeholder = s), k && (W.after = k), c && u && (W.edit = ""), g ? "" : /* @__PURE__ */ f.jsxs(f.Fragment, { children: [
|
|
3179
|
-
/* @__PURE__ */ f.jsxs(
|
|
3180
|
-
"dl",
|
|
3181
|
-
{
|
|
3182
|
-
"data-field": "select",
|
|
3183
|
-
className: [z.l, h].filter((b) => b !== void 0).join(" "),
|
|
3184
|
-
children: [
|
|
3185
|
-
n && /* @__PURE__ */ f.jsx("dt", { className: z.t, children: n }),
|
|
3186
|
-
/* @__PURE__ */ f.jsx(
|
|
3187
|
-
"dd",
|
|
3188
|
-
{
|
|
3189
|
-
...W,
|
|
3190
|
-
className: [z.f, St.f].join(" "),
|
|
3191
|
-
ref: $,
|
|
3192
|
-
children: (v = I == null ? void 0 : I[T]) == null ? void 0 : v.n
|
|
3193
|
-
}
|
|
3194
|
-
),
|
|
3195
|
-
Object.keys(I || {}).length !== 0 && o && /* @__PURE__ */ f.jsx(
|
|
3196
|
-
"svg",
|
|
3197
|
-
{
|
|
3198
|
-
className: St.i,
|
|
3199
|
-
fill: "none",
|
|
3200
|
-
stroke: "currentColor",
|
|
3201
|
-
strokeLinecap: "round",
|
|
3202
|
-
strokeLinejoin: "round",
|
|
3203
|
-
strokeWidth: "1",
|
|
3204
|
-
viewBox: "0 0 24 24",
|
|
3205
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
3206
|
-
children: /* @__PURE__ */ f.jsx("path", { d: "m5.25 8.625 6.75 6.75 6.75-6.75" })
|
|
3207
|
-
}
|
|
3208
|
-
),
|
|
3209
|
-
_ && /* @__PURE__ */ f.jsx("em", { children: _ })
|
|
3210
|
-
]
|
|
3211
|
-
}
|
|
3212
|
-
),
|
|
3213
|
-
Y && It(
|
|
3214
|
-
/* @__PURE__ */ f.jsx(
|
|
3215
|
-
na,
|
|
3216
|
-
{
|
|
3217
|
-
parent: $.position,
|
|
3218
|
-
onValue: E,
|
|
3219
|
-
view: S,
|
|
3220
|
-
className: h,
|
|
3221
|
-
options: I,
|
|
3222
|
-
order: N,
|
|
3223
|
-
setOpen: L
|
|
3224
|
-
},
|
|
3225
|
-
(/* @__PURE__ */ new Date()).getTime()
|
|
3226
|
-
),
|
|
3227
|
-
document.body
|
|
3228
|
-
)
|
|
3229
|
-
] });
|
|
3230
|
-
}
|
|
3231
|
-
const na = ({
|
|
3232
|
-
onValue: n,
|
|
3233
|
-
parent: _,
|
|
3234
|
-
className: c,
|
|
3235
|
-
options: u,
|
|
3236
|
-
order: g,
|
|
3237
|
-
setOpen: C
|
|
3238
|
-
}) => {
|
|
3239
|
-
let O = () => {
|
|
3240
|
-
C(!1);
|
|
3241
|
-
}, x = (o) => {
|
|
3242
|
-
C(!1), n(o);
|
|
3243
|
-
}, s = window.innerHeight - _.y + _.height < 320 ? _.y - 312 : _.y + 33, h = window.innerWidth - _.x < 265 ? _.x - 235 : _.x;
|
|
3244
|
-
return /* @__PURE__ */ f.jsxs(f.Fragment, { children: [
|
|
3245
|
-
/* @__PURE__ */ f.jsx(
|
|
3246
|
-
"div",
|
|
3247
|
-
{
|
|
3248
|
-
className: St.o,
|
|
3249
|
-
onClick: O
|
|
3250
|
-
},
|
|
3251
|
-
(/* @__PURE__ */ new Date()).getTime()
|
|
3252
|
-
),
|
|
3253
|
-
/* @__PURE__ */ f.jsx(
|
|
3254
|
-
"div",
|
|
3255
|
-
{
|
|
3256
|
-
className: [St.l, c].filter((o) => o !== void 0).join(" "),
|
|
3257
|
-
style: {
|
|
3258
|
-
top: s + "px",
|
|
3259
|
-
left: h + "px",
|
|
3260
|
-
width: _.width
|
|
3261
|
-
},
|
|
3262
|
-
children: /* @__PURE__ */ f.jsx(oa, { order: g, options: u, link: x })
|
|
3263
|
-
}
|
|
3264
|
-
)
|
|
3265
|
-
] });
|
|
3266
|
-
}, oa = ({ order: n, options: _, link: c }) => n ? /* @__PURE__ */ f.jsx("ul", { children: n.map(
|
|
3267
|
-
(u, g) => _[u].s !== 0 ? /* @__PURE__ */ f.jsx(
|
|
3268
|
-
"li",
|
|
3269
|
-
{
|
|
3270
|
-
onClick: () => {
|
|
3271
|
-
c(u);
|
|
3272
|
-
},
|
|
3273
|
-
children: _[u].n
|
|
3274
|
-
},
|
|
3275
|
-
g
|
|
3276
|
-
) : ""
|
|
3277
|
-
) }) : /* @__PURE__ */ f.jsx("ul", { children: Object.keys(_).map(
|
|
3278
|
-
(u, g) => _[u].s !== 0 ? /* @__PURE__ */ f.jsx(
|
|
3279
|
-
"li",
|
|
3280
|
-
{
|
|
3281
|
-
onClick: () => {
|
|
3282
|
-
c(u);
|
|
3283
|
-
},
|
|
3284
|
-
children: _[u].n
|
|
3285
|
-
},
|
|
3286
|
-
g
|
|
3287
|
-
) : ""
|
|
3288
|
-
) });
|
|
3289
|
-
function ka({
|
|
3290
|
-
value: n,
|
|
3291
|
-
onValue: _,
|
|
3292
|
-
name: c,
|
|
3293
|
-
placeholder: u = "",
|
|
3294
|
-
title: g,
|
|
3295
|
-
error: C,
|
|
3296
|
-
hide: O = !1,
|
|
3297
|
-
edit: x = !0,
|
|
3298
|
-
show: s = !0,
|
|
3299
|
-
active: h = !0,
|
|
3300
|
-
after: o = "",
|
|
3301
|
-
view: d,
|
|
3302
|
-
modal: k,
|
|
3303
|
-
module: S,
|
|
3304
|
-
options: N,
|
|
3305
|
-
className: A
|
|
3306
|
-
}) {
|
|
3307
|
-
let [$, T] = K.useState(n), p = (Y) => {
|
|
3308
|
-
if (!(x && h) || !k) return;
|
|
3309
|
-
let L = k.split(".");
|
|
3310
|
-
Ct.Open(L[0], L[1], {
|
|
3311
|
-
callback: (U) => {
|
|
3312
|
-
_ && _({ value: U, name: c }), T(U);
|
|
3313
|
-
},
|
|
3314
|
-
onValue: _,
|
|
3315
|
-
options: N,
|
|
3316
|
-
name: c,
|
|
3317
|
-
value: n
|
|
3318
|
-
});
|
|
3319
|
-
};
|
|
3320
|
-
const I = {};
|
|
3321
|
-
I.field = "input", A && (I.className = A);
|
|
3322
|
-
const q = {};
|
|
3323
|
-
return u && (q.placeholder = u), O ? /* @__PURE__ */ f.jsx(f.Fragment, {}) : /* @__PURE__ */ f.jsxs("dl", { ...I, children: [
|
|
3324
|
-
g && /* @__PURE__ */ f.jsx("dt", { children: g }),
|
|
3325
|
-
/* @__PURE__ */ f.jsx(
|
|
3326
|
-
"dd",
|
|
3236
|
+
}
|
|
3237
|
+
}
|
|
3238
|
+
function ot(e) {
|
|
3327
3239
|
{
|
|
3328
|
-
|
|
3329
|
-
|
|
3330
|
-
|
|
3331
|
-
|
|
3332
|
-
|
|
3240
|
+
var t = e.type;
|
|
3241
|
+
if (t == null || typeof t == "string")
|
|
3242
|
+
return;
|
|
3243
|
+
var r;
|
|
3244
|
+
if (typeof t == "function")
|
|
3245
|
+
r = t.propTypes;
|
|
3246
|
+
else if (typeof t == "object" && (t.$$typeof === s || // Note: Memo only checks outer props here.
|
|
3247
|
+
// Inner props are checked in the reconciler.
|
|
3248
|
+
t.$$typeof === d))
|
|
3249
|
+
r = t.propTypes;
|
|
3250
|
+
else
|
|
3251
|
+
return;
|
|
3252
|
+
if (r) {
|
|
3253
|
+
var a = k(t);
|
|
3254
|
+
Ye(r, e.props, "prop", a, e);
|
|
3255
|
+
} else if (t.PropTypes !== void 0 && !pe) {
|
|
3256
|
+
pe = !0;
|
|
3257
|
+
var f = k(t);
|
|
3258
|
+
p("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", f || "Unknown");
|
|
3259
|
+
}
|
|
3260
|
+
typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && p("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
3333
3261
|
}
|
|
3334
|
-
|
|
3335
|
-
|
|
3336
|
-
|
|
3337
|
-
|
|
3338
|
-
|
|
3339
|
-
|
|
3340
|
-
|
|
3341
|
-
|
|
3342
|
-
|
|
3343
|
-
|
|
3344
|
-
|
|
3345
|
-
title: O,
|
|
3346
|
-
error: x,
|
|
3347
|
-
edit: s = !0,
|
|
3348
|
-
active: h = !0,
|
|
3349
|
-
reload: o = !1,
|
|
3350
|
-
native: d = !1,
|
|
3351
|
-
isShow: k = !1,
|
|
3352
|
-
maxLength: S,
|
|
3353
|
-
eyes: N = [],
|
|
3354
|
-
after: A = ""
|
|
3355
|
-
}) {
|
|
3356
|
-
const [$, T] = K.useState(k);
|
|
3357
|
-
let p = (E) => {
|
|
3358
|
-
_ && _({
|
|
3359
|
-
value: E.target.textContent,
|
|
3360
|
-
name: u,
|
|
3361
|
-
reload: o
|
|
3362
|
-
});
|
|
3363
|
-
}, I = (E) => {
|
|
3364
|
-
E.key === "Enter" && E.preventDefault();
|
|
3365
|
-
}, q = (E) => {
|
|
3366
|
-
E.preventDefault(), navigator.clipboard.readText().then((P) => {
|
|
3367
|
-
if (S) {
|
|
3368
|
-
let W = E.target.textContent.length;
|
|
3369
|
-
if (W >= S) return;
|
|
3370
|
-
S -= W, P = P.slice(0, S);
|
|
3262
|
+
}
|
|
3263
|
+
function it(e) {
|
|
3264
|
+
{
|
|
3265
|
+
for (var t = Object.keys(e.props), r = 0; r < t.length; r++) {
|
|
3266
|
+
var a = t[r];
|
|
3267
|
+
if (a !== "children" && a !== "key") {
|
|
3268
|
+
Z(e), p("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", a), Z(null);
|
|
3269
|
+
break;
|
|
3270
|
+
}
|
|
3271
|
+
}
|
|
3272
|
+
e.ref !== null && (Z(e), p("Invalid attribute `ref` supplied to `React.Fragment`."), Z(null));
|
|
3371
3273
|
}
|
|
3372
|
-
|
|
3373
|
-
|
|
3374
|
-
|
|
3375
|
-
P.replace(/(\r\n|\n|\r)/gm, " ")
|
|
3376
|
-
);
|
|
3377
|
-
}).catch((P) => {
|
|
3378
|
-
});
|
|
3379
|
-
}, Y = (E) => {
|
|
3380
|
-
te.Blur(E), c == null || c({ value: E.target.textContent.trim(), name: u });
|
|
3381
|
-
};
|
|
3382
|
-
const L = {};
|
|
3383
|
-
L.field = "password", $ && (L.show = ""), C && (L.className = C);
|
|
3384
|
-
const U = {};
|
|
3385
|
-
return g && (U.placeholder = g), d ? "" : /* @__PURE__ */ f.jsxs("dl", { ...L, children: [
|
|
3386
|
-
O ? /* @__PURE__ */ f.jsx("dt", { children: O }) : "",
|
|
3387
|
-
/* @__PURE__ */ f.jsx(
|
|
3388
|
-
"dd",
|
|
3274
|
+
}
|
|
3275
|
+
var Me = {};
|
|
3276
|
+
function $e(e, t, r, a, f, y) {
|
|
3389
3277
|
{
|
|
3390
|
-
|
|
3391
|
-
|
|
3392
|
-
|
|
3393
|
-
|
|
3394
|
-
|
|
3395
|
-
|
|
3396
|
-
|
|
3397
|
-
|
|
3278
|
+
var l = W(e);
|
|
3279
|
+
if (!l) {
|
|
3280
|
+
var _ = "";
|
|
3281
|
+
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (_ += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
3282
|
+
var P = at();
|
|
3283
|
+
P ? _ += P : _ += Pe();
|
|
3284
|
+
var w;
|
|
3285
|
+
e === null ? w = "null" : de(e) ? w = "array" : e !== void 0 && e.$$typeof === i ? (w = "<" + (k(e.type) || "Unknown") + " />", _ = " Did you accidentally export a JSX literal instead of a component?") : w = typeof e, p("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", w, _);
|
|
3286
|
+
}
|
|
3287
|
+
var j = rt(e, t, r, f, y);
|
|
3288
|
+
if (j == null)
|
|
3289
|
+
return j;
|
|
3290
|
+
if (l) {
|
|
3291
|
+
var B = t.children;
|
|
3292
|
+
if (B !== void 0)
|
|
3293
|
+
if (a)
|
|
3294
|
+
if (de(B)) {
|
|
3295
|
+
for (var V = 0; V < B.length; V++)
|
|
3296
|
+
Ie(B[V], e);
|
|
3297
|
+
Object.freeze && Object.freeze(B);
|
|
3298
|
+
} else
|
|
3299
|
+
p("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
3300
|
+
else
|
|
3301
|
+
Ie(B, e);
|
|
3302
|
+
}
|
|
3303
|
+
if (X.call(t, "key")) {
|
|
3304
|
+
var H = k(e), F = Object.keys(t).filter(function(dt) {
|
|
3305
|
+
return dt !== "key";
|
|
3306
|
+
}), ye = F.length > 0 ? "{key: someKey, " + F.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
3307
|
+
if (!Me[H + ye]) {
|
|
3308
|
+
var ut = F.length > 0 ? "{" + F.join(": ..., ") + ": ...}" : "{}";
|
|
3309
|
+
p(`A props object containing a "key" prop is being spread into JSX:
|
|
3310
|
+
let props = %s;
|
|
3311
|
+
<%s {...props} />
|
|
3312
|
+
React keys must be passed directly to JSX without using spread:
|
|
3313
|
+
let props = %s;
|
|
3314
|
+
<%s key={someKey} {...props} />`, ye, H, ut, H), Me[H + ye] = !0;
|
|
3315
|
+
}
|
|
3316
|
+
}
|
|
3317
|
+
return e === u ? it(j) : ot(j), j;
|
|
3398
3318
|
}
|
|
3399
|
-
|
|
3400
|
-
|
|
3401
|
-
|
|
3402
|
-
|
|
3319
|
+
}
|
|
3320
|
+
function _t(e, t, r) {
|
|
3321
|
+
return $e(e, t, r, !0);
|
|
3322
|
+
}
|
|
3323
|
+
function st(e, t, r) {
|
|
3324
|
+
return $e(e, t, r, !1);
|
|
3325
|
+
}
|
|
3326
|
+
var lt = st, ct = _t;
|
|
3327
|
+
jt.Fragment = u, jt.jsx = lt, jt.jsxs = ct;
|
|
3328
|
+
}()), jt;
|
|
3329
|
+
}
|
|
3330
|
+
process.env.NODE_ENV === "production" ? Nt.exports = Xr() : Nt.exports = Qr();
|
|
3331
|
+
var ee = Nt.exports;
|
|
3332
|
+
const ea = "_notice_13j98_2", ta = "_error_13j98_11", ra = "_success_13j98_14", aa = "_remark_13j98_17", na = "_copy_13j98_20", Ht = {
|
|
3333
|
+
notice: ea,
|
|
3334
|
+
error: ta,
|
|
3335
|
+
success: ra,
|
|
3336
|
+
remark: aa,
|
|
3337
|
+
copy: na,
|
|
3338
|
+
"show-notice": "_show-notice_13j98_1",
|
|
3339
|
+
"hide-notice": "_hide-notice_13j98_1"
|
|
3340
|
+
};
|
|
3341
|
+
let Be = {};
|
|
3342
|
+
function ht({ data: n }) {
|
|
3343
|
+
let [i, c] = U.useState("show");
|
|
3344
|
+
U.useEffect(() => {
|
|
3345
|
+
n.hide && (setTimeout(function() {
|
|
3346
|
+
c("hide");
|
|
3347
|
+
}, 1800), setTimeout(function() {
|
|
3348
|
+
Be.del(n.key);
|
|
3349
|
+
}, 2500));
|
|
3350
|
+
}, [n.key]);
|
|
3351
|
+
let u, v;
|
|
3352
|
+
switch (n.type) {
|
|
3353
|
+
case "error":
|
|
3354
|
+
u = /* @__PURE__ */ ee.jsx(ft.error, {}), v = "Ошибка:";
|
|
3355
|
+
break;
|
|
3356
|
+
case "success":
|
|
3357
|
+
u = /* @__PURE__ */ ee.jsx(ft.success, {}), v = "Информация:";
|
|
3358
|
+
break;
|
|
3359
|
+
case "copy":
|
|
3360
|
+
u = /* @__PURE__ */ ee.jsx(ft.success, {}), v = "Копирование:";
|
|
3361
|
+
break;
|
|
3362
|
+
case "remark":
|
|
3363
|
+
u = /* @__PURE__ */ ee.jsx(ft.success, {}), v = "Подсказка:";
|
|
3364
|
+
break;
|
|
3365
|
+
default:
|
|
3366
|
+
u = /* @__PURE__ */ ee.jsx(ft.success, {}), v = "Предупреждение:";
|
|
3367
|
+
break;
|
|
3368
|
+
}
|
|
3369
|
+
return /* @__PURE__ */ ee.jsxs("li", { className: Ht[n.type], "data-status": i, children: [
|
|
3370
|
+
u,
|
|
3371
|
+
/* @__PURE__ */ ee.jsx("b", { children: v }),
|
|
3372
|
+
/* @__PURE__ */ ee.jsx("p", { children: n.text })
|
|
3403
3373
|
] });
|
|
3404
3374
|
}
|
|
3405
|
-
function
|
|
3406
|
-
|
|
3407
|
-
|
|
3408
|
-
|
|
3409
|
-
|
|
3410
|
-
|
|
3411
|
-
|
|
3412
|
-
|
|
3413
|
-
|
|
3414
|
-
|
|
3415
|
-
|
|
3416
|
-
|
|
3417
|
-
|
|
3418
|
-
|
|
3419
|
-
name: S,
|
|
3420
|
-
after: N = "",
|
|
3421
|
-
before: A = "",
|
|
3422
|
-
view: $
|
|
3423
|
-
}) {
|
|
3424
|
-
g = g !== void 0 ? g : !0, c = c !== void 0 ? c : !0, s = !!(s && (h === "" || h === void 0)) && !(g && c), o = o !== void 0 ? o : "", u = u !== void 0 ? u : 99;
|
|
3425
|
-
let p = !1, I = (P) => {
|
|
3426
|
-
n == null || n({ value: P.target.textContent, name: S });
|
|
3427
|
-
}, q = (P) => {
|
|
3428
|
-
if (!(p && P.which === 86)) {
|
|
3429
|
-
if (P.which === 17 || P.which === 91) return p = !0;
|
|
3430
|
-
P.key !== "Backspace" && (P.target.textContent.length === u && P.preventDefault(), P.key === "Enter" && P.preventDefault(), isNaN(P.key) && P.preventDefault());
|
|
3431
|
-
}
|
|
3432
|
-
}, Y = (P) => {
|
|
3433
|
-
if (P.which === 17 || P.which === 91) return p = !1;
|
|
3434
|
-
}, L = (P) => {
|
|
3435
|
-
P.preventDefault(), navigator.clipboard.readText().then((W) => {
|
|
3436
|
-
if (W = W.replace(/(?!^\+|\d)./g, ""), k) {
|
|
3437
|
-
let R = P.target.textContent.length;
|
|
3438
|
-
if (R >= k) return;
|
|
3439
|
-
k -= R, W = W.slice(0, k);
|
|
3440
|
-
}
|
|
3441
|
-
window.document.execCommand("insertText", !1, "" + W);
|
|
3442
|
-
}).catch((W) => {
|
|
3443
|
-
});
|
|
3444
|
-
};
|
|
3445
|
-
const U = (P) => {
|
|
3446
|
-
te.Blur(P), _ == null || _({ value: P.target.textContent, name: S });
|
|
3447
|
-
};
|
|
3448
|
-
let E = {};
|
|
3449
|
-
return g && c ? (E.edit = "true", E.contentEditable = te.ContentEditable) : E.contentEditable = "false", E.inputMode = "decimal", o && (E.placeholder = o), s ? /* @__PURE__ */ f.jsx(f.Fragment, {}) : /* @__PURE__ */ f.jsxs(
|
|
3450
|
-
"dl",
|
|
3375
|
+
function oa({ data: n }) {
|
|
3376
|
+
let [i, c] = U.useState("show");
|
|
3377
|
+
return U.useEffect(() => {
|
|
3378
|
+
n.hide && (setTimeout(function() {
|
|
3379
|
+
c("hide");
|
|
3380
|
+
}, 1800), setTimeout(function() {
|
|
3381
|
+
Be.del(n.key);
|
|
3382
|
+
}, 2500));
|
|
3383
|
+
}, [n.key]), /* @__PURE__ */ ee.jsx("li", { className: "item", "data-status": i, children: n.text });
|
|
3384
|
+
}
|
|
3385
|
+
const ft = {};
|
|
3386
|
+
ft.error = () => /* @__PURE__ */ ee.jsxs("svg", { viewBox: "0 0 24 24", fill: "none", children: [
|
|
3387
|
+
/* @__PURE__ */ ee.jsx(
|
|
3388
|
+
"path",
|
|
3451
3389
|
{
|
|
3452
|
-
|
|
3453
|
-
|
|
3454
|
-
children: [
|
|
3455
|
-
C ? /* @__PURE__ */ f.jsx("dt", { className: z.t, children: C }) : "",
|
|
3456
|
-
A,
|
|
3457
|
-
/* @__PURE__ */ f.jsx(
|
|
3458
|
-
"dd",
|
|
3459
|
-
{
|
|
3460
|
-
className: [z.f, z.w].join(" "),
|
|
3461
|
-
onPaste: L,
|
|
3462
|
-
onInput: I,
|
|
3463
|
-
onBlur: U,
|
|
3464
|
-
onKeyDown: q,
|
|
3465
|
-
onKeyUp: Y,
|
|
3466
|
-
suppressContentEditableWarning: !0,
|
|
3467
|
-
...E,
|
|
3468
|
-
children: h
|
|
3469
|
-
}
|
|
3470
|
-
),
|
|
3471
|
-
N,
|
|
3472
|
-
O && /* @__PURE__ */ f.jsx("em", { children: O })
|
|
3473
|
-
]
|
|
3390
|
+
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",
|
|
3391
|
+
fill: "#bb2014"
|
|
3474
3392
|
}
|
|
3475
|
-
)
|
|
3476
|
-
|
|
3393
|
+
),
|
|
3394
|
+
/* @__PURE__ */ ee.jsx(
|
|
3395
|
+
"path",
|
|
3396
|
+
{
|
|
3397
|
+
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",
|
|
3398
|
+
fill: "#fff"
|
|
3399
|
+
}
|
|
3400
|
+
)
|
|
3401
|
+
] });
|
|
3402
|
+
ft.success = () => /* @__PURE__ */ ee.jsxs("svg", { viewBox: "0 0 24 24", fill: "none", children: [
|
|
3403
|
+
/* @__PURE__ */ ee.jsx(
|
|
3404
|
+
"path",
|
|
3405
|
+
{
|
|
3406
|
+
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",
|
|
3407
|
+
fill: "#367738"
|
|
3408
|
+
}
|
|
3409
|
+
),
|
|
3410
|
+
/* @__PURE__ */ ee.jsx(
|
|
3411
|
+
"path",
|
|
3412
|
+
{
|
|
3413
|
+
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",
|
|
3414
|
+
fill: "#fff"
|
|
3415
|
+
}
|
|
3416
|
+
)
|
|
3417
|
+
] });
|
|
3418
|
+
var Ct;
|
|
3419
|
+
((n) => {
|
|
3420
|
+
function i() {
|
|
3421
|
+
let [s, g] = U.useState([]);
|
|
3422
|
+
return Be.set = (o) => {
|
|
3423
|
+
g([...s, o]);
|
|
3424
|
+
}, Be.del = (o) => {
|
|
3425
|
+
g(s.filter((d) => d.key !== o));
|
|
3426
|
+
}, s.length === 0 ? "" : /* @__PURE__ */ ee.jsx("ul", { className: Ht.notice, children: s.map((o) => o.item) });
|
|
3427
|
+
}
|
|
3428
|
+
n.Init = i;
|
|
3429
|
+
function c(s, g = !0) {
|
|
3430
|
+
let o = Date.now(), d = { key: o, text: s, hide: g, type: "error" };
|
|
3431
|
+
Be.set({
|
|
3432
|
+
item: /* @__PURE__ */ ee.jsx(ht, { data: d }, o),
|
|
3433
|
+
key: o
|
|
3434
|
+
});
|
|
3435
|
+
}
|
|
3436
|
+
n.Error = c;
|
|
3437
|
+
function u(s, g = !0) {
|
|
3438
|
+
let o = Date.now(), d = { key: o, text: s, hide: g, type: "success" };
|
|
3439
|
+
Be.set({
|
|
3440
|
+
item: /* @__PURE__ */ ee.jsx(ht, { data: d }, o),
|
|
3441
|
+
key: o
|
|
3442
|
+
});
|
|
3443
|
+
}
|
|
3444
|
+
n.Success = u;
|
|
3445
|
+
function v(s, g = !0) {
|
|
3446
|
+
let o = Date.now(), d = { key: o, hide: g, text: s };
|
|
3447
|
+
Be.set({ item: /* @__PURE__ */ ee.jsx(oa, { data: d }, o), key: o });
|
|
3448
|
+
}
|
|
3449
|
+
n.Custom = v;
|
|
3450
|
+
function C(s) {
|
|
3451
|
+
let g = Date.now(), o = { key: g, hide: !0, ...s };
|
|
3452
|
+
Be.set({
|
|
3453
|
+
item: /* @__PURE__ */ ee.jsx(ht, { data: o }, g),
|
|
3454
|
+
key: g
|
|
3455
|
+
});
|
|
3456
|
+
}
|
|
3457
|
+
n.Send = C;
|
|
3458
|
+
function O(s, g = !0) {
|
|
3459
|
+
let o = Date.now(), d = { key: o, text: s, hide: g, type: "remark" };
|
|
3460
|
+
Be.set({
|
|
3461
|
+
item: /* @__PURE__ */ ee.jsx(ht, { data: d }, o),
|
|
3462
|
+
key: o
|
|
3463
|
+
});
|
|
3464
|
+
}
|
|
3465
|
+
n.Remark = O;
|
|
3466
|
+
function x(s, g = !0) {
|
|
3467
|
+
let o = Date.now(), d = { key: o, text: s, hide: g, type: "copy" };
|
|
3468
|
+
Be.set({
|
|
3469
|
+
item: /* @__PURE__ */ ee.jsx(ht, { data: d }, o),
|
|
3470
|
+
key: o
|
|
3471
|
+
});
|
|
3472
|
+
}
|
|
3473
|
+
n.Copy = x;
|
|
3474
|
+
})(Ct || (Ct = {}));
|
|
3477
3475
|
function xa({
|
|
3478
3476
|
value: n = "",
|
|
3479
|
-
onValue:
|
|
3477
|
+
onValue: i,
|
|
3480
3478
|
onSave: c,
|
|
3481
3479
|
name: u,
|
|
3482
|
-
format:
|
|
3480
|
+
format: v = "+_(___) ___-__-__",
|
|
3483
3481
|
placeholder: C = "",
|
|
3484
3482
|
title: O = "",
|
|
3485
3483
|
error: x = "",
|
|
3486
3484
|
hide: s = !1,
|
|
3487
|
-
edit:
|
|
3485
|
+
edit: g = !0,
|
|
3488
3486
|
active: o = !0,
|
|
3489
3487
|
after: d = "",
|
|
3490
|
-
show:
|
|
3488
|
+
show: b = !0,
|
|
3491
3489
|
view: S,
|
|
3492
3490
|
className: N = ""
|
|
3493
3491
|
}) {
|
|
3494
|
-
|
|
3495
|
-
let $ =
|
|
3496
|
-
let
|
|
3497
|
-
|
|
3498
|
-
},
|
|
3499
|
-
|
|
3500
|
-
window.document.execCommand("insertText", !1,
|
|
3501
|
-
}).catch((
|
|
3492
|
+
g = g !== void 0 ? g : !0, o = o !== void 0 ? o : !0, s = !!(s && (n === "" || n === void 0)) && !(g && o), U.useRef(null);
|
|
3493
|
+
let $ = v, T = !0, p = 0, M = (h, k) => {
|
|
3494
|
+
let I = document.createRange(), Y = window.getSelection();
|
|
3495
|
+
I.setStart(k.childNodes[0], h), I.collapse(!0), Y.removeAllRanges(), Y.addRange(I), k.focus();
|
|
3496
|
+
}, K = (h) => {
|
|
3497
|
+
h.preventDefault(), navigator.clipboard.readText().then((k) => {
|
|
3498
|
+
window.document.execCommand("insertText", !1, k);
|
|
3499
|
+
}).catch((k) => {
|
|
3502
3500
|
});
|
|
3503
|
-
},
|
|
3504
|
-
let
|
|
3505
|
-
|
|
3506
|
-
let Q =
|
|
3501
|
+
}, G = (h) => {
|
|
3502
|
+
let k = 0, I = "", Y = h.replace(/\D/g, "");
|
|
3503
|
+
Y === "" && (T = !0);
|
|
3504
|
+
let Q = Y.split(""), ie = "";
|
|
3507
3505
|
Q.forEach((ge) => {
|
|
3508
|
-
T && (ie += ge, T && (p = ("" + ie).length, $ =
|
|
3506
|
+
T && (ie += ge, T && (p = ("" + ie).length, $ = v.replace(new RegExp("[0-9]", "g"), "_"), I = ""), p > ("" + ie).length && (T = !0, $ = v.replace(new RegExp("[0-9]", "g"), "_"), I = ""));
|
|
3509
3507
|
});
|
|
3510
3508
|
let se = $.replace(/\D/g, "");
|
|
3511
|
-
return se.length >=
|
|
3512
|
-
return
|
|
3513
|
-
}), i:
|
|
3514
|
-
}, L = (
|
|
3515
|
-
|
|
3509
|
+
return se.length >= Y.length && (Y = se), { q: $.replace(/[_\d]/g, function() {
|
|
3510
|
+
return Y.charAt(k++) || "_";
|
|
3511
|
+
}), i: k, v: Y, f: I };
|
|
3512
|
+
}, L = (h) => {
|
|
3513
|
+
h.preventDefault(), navigator.clipboard.writeText(h.target.textContent.replace(/\D/g, "")).then(
|
|
3516
3514
|
function() {
|
|
3517
|
-
|
|
3515
|
+
Ct.Copy("Данные в буфер обмене");
|
|
3518
3516
|
},
|
|
3519
|
-
function(
|
|
3517
|
+
function(k) {
|
|
3520
3518
|
}
|
|
3521
3519
|
);
|
|
3522
|
-
},
|
|
3523
|
-
let
|
|
3524
|
-
|
|
3525
|
-
},
|
|
3526
|
-
|
|
3520
|
+
}, q = G(n), E = (h) => {
|
|
3521
|
+
let k = G(h.target.textContent);
|
|
3522
|
+
h.target.textContent = k.q, k.i = k.q.lastIndexOf(k.v.substr(-1)), k.i < k.q.length && k.q !== $ ? k.i++ : k.i = k.q.indexOf("_"), M(k.i, h.target), i && i({ value: k.q.replace(/\D/g, ""), name: u });
|
|
3523
|
+
}, D = (h) => {
|
|
3524
|
+
h.key === "Enter" && h.preventDefault();
|
|
3527
3525
|
};
|
|
3528
|
-
const W = (
|
|
3529
|
-
te.Blur(
|
|
3530
|
-
value:
|
|
3526
|
+
const W = (h) => {
|
|
3527
|
+
te.Blur(h), c && c({
|
|
3528
|
+
value: h.target.textContent.replace(/\D/g, ""),
|
|
3531
3529
|
name: u
|
|
3532
3530
|
});
|
|
3533
3531
|
};
|
|
3534
3532
|
let R = {};
|
|
3535
|
-
return
|
|
3533
|
+
return g && o ? (R.edit = "true", R.contentEditable = te.ContentEditable) : R.contentEditable = "false", C && (R.placeholder = C), d && (R.after = d), s ? /* @__PURE__ */ m.jsx(m.Fragment, {}) : /* @__PURE__ */ m.jsxs(
|
|
3536
3534
|
"dl",
|
|
3537
3535
|
{
|
|
3538
3536
|
"data-field": "input",
|
|
3539
|
-
className: [z.l, N].filter((
|
|
3537
|
+
className: [z.l, N].filter((h) => h !== void 0).join(" "),
|
|
3540
3538
|
children: [
|
|
3541
|
-
O ? /* @__PURE__ */
|
|
3542
|
-
/* @__PURE__ */
|
|
3539
|
+
O ? /* @__PURE__ */ m.jsx("dt", { className: z.t, children: O }) : "",
|
|
3540
|
+
/* @__PURE__ */ m.jsx(
|
|
3543
3541
|
"dd",
|
|
3544
3542
|
{
|
|
3545
3543
|
className: [z.f, z.w].join(" "),
|
|
3546
|
-
onPaste:
|
|
3544
|
+
onPaste: K,
|
|
3547
3545
|
onInput: E,
|
|
3548
|
-
onKeyDown:
|
|
3546
|
+
onKeyDown: D,
|
|
3549
3547
|
onContextMenu: L,
|
|
3550
3548
|
onBlur: W,
|
|
3551
3549
|
suppressContentEditableWarning: !0,
|
|
3552
3550
|
...R,
|
|
3553
|
-
children:
|
|
3551
|
+
children: q.q
|
|
3554
3552
|
}
|
|
3555
3553
|
),
|
|
3556
|
-
x && /* @__PURE__ */
|
|
3554
|
+
x && /* @__PURE__ */ m.jsx("em", { children: x })
|
|
3557
3555
|
]
|
|
3558
3556
|
}
|
|
3559
3557
|
);
|
|
3560
3558
|
}
|
|
3561
3559
|
function Ca({
|
|
3562
3560
|
id: n,
|
|
3563
|
-
value:
|
|
3561
|
+
value: i,
|
|
3564
3562
|
onValue: c,
|
|
3565
3563
|
name: u,
|
|
3566
|
-
placeholder:
|
|
3564
|
+
placeholder: v = "",
|
|
3567
3565
|
title: C = "",
|
|
3568
3566
|
error: O = "",
|
|
3569
3567
|
hide: x = !1,
|
|
3570
3568
|
edit: s = !0,
|
|
3571
|
-
active:
|
|
3569
|
+
active: g = !0,
|
|
3572
3570
|
after: o = "",
|
|
3573
3571
|
show: d = !0,
|
|
3574
|
-
maxLength:
|
|
3572
|
+
maxLength: b,
|
|
3575
3573
|
view: S,
|
|
3576
3574
|
onSave: N,
|
|
3577
3575
|
className: A = "",
|
|
3578
3576
|
isCopy: $ = !0
|
|
3579
3577
|
}) {
|
|
3580
|
-
let [T, p] =
|
|
3578
|
+
let [T, p] = U.useState(!1);
|
|
3581
3579
|
T = s ? !0 : T;
|
|
3582
|
-
let
|
|
3580
|
+
let M = (E) => {
|
|
3583
3581
|
c == null || c({ value: E.target.innerText, name: u });
|
|
3584
|
-
},
|
|
3585
|
-
|
|
3586
|
-
},
|
|
3587
|
-
E.preventDefault(), navigator.clipboard.readText().then((
|
|
3588
|
-
if (
|
|
3582
|
+
}, K = (E) => {
|
|
3583
|
+
b && E.target.textContent.trim().length >= b && E.key !== "Backspace" && E.preventDefault(), E.key === "Enter" && E.preventDefault();
|
|
3584
|
+
}, G = (E) => {
|
|
3585
|
+
E.preventDefault(), navigator.clipboard.readText().then((D) => {
|
|
3586
|
+
if (b) {
|
|
3589
3587
|
let W = E.target.textContent.length;
|
|
3590
|
-
if (W >=
|
|
3591
|
-
|
|
3588
|
+
if (W >= b) return;
|
|
3589
|
+
b -= W, D = D.slice(0, b);
|
|
3592
3590
|
}
|
|
3593
3591
|
window.document.execCommand(
|
|
3594
3592
|
"insertText",
|
|
3595
3593
|
!1,
|
|
3596
|
-
|
|
3594
|
+
D.replace(/(\r\n|\n|\r)/gm, " ")
|
|
3597
3595
|
);
|
|
3598
|
-
}).catch((
|
|
3596
|
+
}).catch((D) => {
|
|
3599
3597
|
});
|
|
3600
3598
|
};
|
|
3601
|
-
if (x) return /* @__PURE__ */
|
|
3602
|
-
if (!(s &&
|
|
3599
|
+
if (x) return /* @__PURE__ */ m.jsx(m.Fragment, {});
|
|
3600
|
+
if (!(s && g) && !d) return "";
|
|
3603
3601
|
const L = {};
|
|
3604
|
-
|
|
3605
|
-
const
|
|
3602
|
+
v && (L.placeholder = v), s && g && (L.edit = ""), T && (L.open = "");
|
|
3603
|
+
const q = (E) => {
|
|
3606
3604
|
te.Blur(E), N == null || N({ value: E.target.textContent.trim(), name: u });
|
|
3607
3605
|
};
|
|
3608
|
-
return /* @__PURE__ */
|
|
3606
|
+
return /* @__PURE__ */ m.jsxs(
|
|
3609
3607
|
"dl",
|
|
3610
3608
|
{
|
|
3611
3609
|
"data-field": "note",
|
|
3612
3610
|
className: [z.l, A].filter((E) => E !== void 0).join(" "),
|
|
3613
3611
|
children: [
|
|
3614
|
-
C ? /* @__PURE__ */
|
|
3615
|
-
/* @__PURE__ */
|
|
3612
|
+
C ? /* @__PURE__ */ m.jsx("dt", { className: z.t, children: C }) : "",
|
|
3613
|
+
/* @__PURE__ */ m.jsx(
|
|
3616
3614
|
"dd",
|
|
3617
3615
|
{
|
|
3618
3616
|
className: [z.f, z.n].join(" "),
|
|
3619
|
-
onPaste:
|
|
3620
|
-
onInput:
|
|
3621
|
-
onBlur:
|
|
3622
|
-
onKeyDown:
|
|
3623
|
-
contentEditable: s &&
|
|
3617
|
+
onPaste: G,
|
|
3618
|
+
onInput: M,
|
|
3619
|
+
onBlur: q,
|
|
3620
|
+
onKeyDown: K,
|
|
3621
|
+
contentEditable: s && g ? te.ContentEditable : "false",
|
|
3624
3622
|
suppressContentEditableWarning: !0,
|
|
3625
3623
|
...L,
|
|
3626
|
-
children:
|
|
3624
|
+
children: i
|
|
3627
3625
|
}
|
|
3628
3626
|
),
|
|
3629
3627
|
o,
|
|
3630
|
-
O ? /* @__PURE__ */
|
|
3628
|
+
O ? /* @__PURE__ */ m.jsx("em", { children: O }) : ""
|
|
3631
3629
|
]
|
|
3632
3630
|
}
|
|
3633
3631
|
);
|
|
3634
3632
|
}
|
|
3635
|
-
const
|
|
3633
|
+
const Et = {
|
|
3636
3634
|
0: {
|
|
3637
3635
|
name: "Heard Island and Mcdonald Islands",
|
|
3638
3636
|
dial_code: "+0",
|
|
@@ -5016,163 +5014,163 @@ const Ot = {
|
|
|
5016
5014
|
};
|
|
5017
5015
|
function Sa({
|
|
5018
5016
|
value: n,
|
|
5019
|
-
onValue:
|
|
5017
|
+
onValue: i,
|
|
5020
5018
|
onSave: c,
|
|
5021
5019
|
name: u,
|
|
5022
|
-
placeholder:
|
|
5020
|
+
placeholder: v = "",
|
|
5023
5021
|
title: C = "",
|
|
5024
5022
|
error: O = "",
|
|
5025
5023
|
hide: x = !1,
|
|
5026
5024
|
edit: s = !0,
|
|
5027
|
-
active:
|
|
5025
|
+
active: g = !0,
|
|
5028
5026
|
after: o = "",
|
|
5029
5027
|
show: d = !0,
|
|
5030
|
-
view:
|
|
5028
|
+
view: b,
|
|
5031
5029
|
className: S = ""
|
|
5032
5030
|
}) {
|
|
5033
|
-
s = s !== void 0 ? s : !0,
|
|
5034
|
-
let A = "+_(___) ___-__-__", $ = !0, T = 0, p = (R,
|
|
5035
|
-
let
|
|
5036
|
-
|
|
5037
|
-
},
|
|
5038
|
-
let
|
|
5039
|
-
R.target.textContent =
|
|
5040
|
-
},
|
|
5041
|
-
R.preventDefault(), navigator.clipboard.readText().then((
|
|
5042
|
-
window.document.execCommand("insertText", !1,
|
|
5043
|
-
}).catch((
|
|
5031
|
+
s = s !== void 0 ? s : !0, g = g !== void 0 ? g : !0, x = !!(x && (n === "" || n === void 0)) && !(s && g), U.useRef(null);
|
|
5032
|
+
let A = "+_(___) ___-__-__", $ = !0, T = 0, p = (R, h) => {
|
|
5033
|
+
let k = document.createRange(), I = window.getSelection();
|
|
5034
|
+
k.setStart(h.childNodes[0], R), k.collapse(!0), I.removeAllRanges(), I.addRange(k), h.focus();
|
|
5035
|
+
}, M = (R) => {
|
|
5036
|
+
let h = G(R.target.textContent);
|
|
5037
|
+
R.target.textContent = h.q, h.i = h.q.lastIndexOf(h.v.substr(-1)), h.i < h.q.length && h.q !== A ? h.i++ : h.i = h.q.indexOf("_"), p(h.i, R.target), i && i({ value: h.q.replace(/\D/g, ""), name: u });
|
|
5038
|
+
}, K = (R) => {
|
|
5039
|
+
R.preventDefault(), navigator.clipboard.readText().then((h) => {
|
|
5040
|
+
window.document.execCommand("insertText", !1, h);
|
|
5041
|
+
}).catch((h) => {
|
|
5044
5042
|
});
|
|
5045
|
-
},
|
|
5046
|
-
let
|
|
5047
|
-
|
|
5048
|
-
let
|
|
5049
|
-
|
|
5050
|
-
$ && (Q += ve,
|
|
5043
|
+
}, G = (R) => {
|
|
5044
|
+
let h = 0, k = "", I = R.replace(/\D/g, "");
|
|
5045
|
+
I === "" && ($ = !0);
|
|
5046
|
+
let Y = I.split(""), Q = "";
|
|
5047
|
+
Y.forEach((ve) => {
|
|
5048
|
+
$ && (Q += ve, Et[Q] !== void 0 && $ ? ($ = !1, A = Et[Q].mask.replace(new RegExp("[0-9]", "g"), "_"), k = Et[Q].code) : ($ && (T = ("" + Q).length, A = `+${Q}_(___) ___-__-__`.replace(
|
|
5051
5049
|
new RegExp("[0-9]", "g"),
|
|
5052
5050
|
"_"
|
|
5053
|
-
),
|
|
5051
|
+
), k = ""), T > ("" + Q).length && ($ = !0, A = `+${Q}_(___) ___-__-__`.replace(
|
|
5054
5052
|
new RegExp("[0-9]", "g"),
|
|
5055
5053
|
"_"
|
|
5056
|
-
),
|
|
5054
|
+
), k = "")));
|
|
5057
5055
|
});
|
|
5058
5056
|
let ie = A.replace(/\D/g, "");
|
|
5059
|
-
return ie.length >=
|
|
5060
|
-
return
|
|
5061
|
-
}), i:
|
|
5057
|
+
return ie.length >= I.length && (I = ie), { q: A.replace(/[_\d]/g, function() {
|
|
5058
|
+
return I.charAt(h++) || "_";
|
|
5059
|
+
}), i: h, v: I, f: k };
|
|
5062
5060
|
}, L = (R) => {
|
|
5063
5061
|
R.preventDefault(), navigator.clipboard.writeText(R.target.textContent.replace(/\D/g, "")).then(
|
|
5064
5062
|
function() {
|
|
5065
|
-
|
|
5063
|
+
Ct.Copy("Данные в буфер обмене");
|
|
5066
5064
|
},
|
|
5067
|
-
function(
|
|
5065
|
+
function(h) {
|
|
5068
5066
|
}
|
|
5069
5067
|
);
|
|
5070
|
-
},
|
|
5068
|
+
}, q = G(n), E = (R) => {
|
|
5071
5069
|
R.key === "Enter" && R.preventDefault();
|
|
5072
5070
|
};
|
|
5073
|
-
const
|
|
5071
|
+
const D = (R) => {
|
|
5074
5072
|
te.Blur(R), c && c({
|
|
5075
5073
|
value: R.target.textContent.replace(/\D/g, ""),
|
|
5076
5074
|
name: u
|
|
5077
5075
|
});
|
|
5078
5076
|
};
|
|
5079
5077
|
let W = {};
|
|
5080
|
-
return s &&
|
|
5078
|
+
return s && g ? (W.edit = "true", W.contentEditable = te.ContentEditable) : W.contentEditable = "false", v && (W.placeholder = v), o && (W.after = o), x ? /* @__PURE__ */ m.jsx(m.Fragment, {}) : /* @__PURE__ */ m.jsxs(
|
|
5081
5079
|
"dl",
|
|
5082
5080
|
{
|
|
5083
5081
|
"data-field": "input",
|
|
5084
5082
|
className: [z.l, S].filter((R) => R !== void 0).join(" "),
|
|
5085
5083
|
children: [
|
|
5086
|
-
C ? /* @__PURE__ */
|
|
5087
|
-
/* @__PURE__ */
|
|
5084
|
+
C ? /* @__PURE__ */ m.jsx("dt", { className: z.t, children: C }) : "",
|
|
5085
|
+
/* @__PURE__ */ m.jsx(
|
|
5088
5086
|
"dd",
|
|
5089
5087
|
{
|
|
5090
5088
|
className: [z.f, z.w].join(" "),
|
|
5091
|
-
onPaste:
|
|
5092
|
-
onInput:
|
|
5089
|
+
onPaste: K,
|
|
5090
|
+
onInput: M,
|
|
5093
5091
|
onKeyDown: E,
|
|
5094
5092
|
onContextMenu: L,
|
|
5095
|
-
onBlur:
|
|
5093
|
+
onBlur: D,
|
|
5096
5094
|
suppressContentEditableWarning: !0,
|
|
5097
5095
|
...W,
|
|
5098
|
-
children:
|
|
5096
|
+
children: q.q
|
|
5099
5097
|
}
|
|
5100
5098
|
),
|
|
5101
|
-
O && /* @__PURE__ */
|
|
5099
|
+
O && /* @__PURE__ */ m.jsx("em", { children: O })
|
|
5102
5100
|
]
|
|
5103
5101
|
}
|
|
5104
5102
|
);
|
|
5105
5103
|
}
|
|
5106
|
-
const ia = "_o_1c9e1_1", _a = "_c_1c9e1_11",
|
|
5104
|
+
const ia = "_o_1c9e1_1", _a = "_c_1c9e1_11", St = {
|
|
5107
5105
|
o: ia,
|
|
5108
5106
|
c: _a
|
|
5109
5107
|
};
|
|
5110
5108
|
function Ra({
|
|
5111
5109
|
title: n,
|
|
5112
|
-
error:
|
|
5110
|
+
error: i,
|
|
5113
5111
|
edit: c = !0,
|
|
5114
5112
|
active: u = !0,
|
|
5115
|
-
className:
|
|
5113
|
+
className: v,
|
|
5116
5114
|
placeholder: C,
|
|
5117
5115
|
max: O,
|
|
5118
5116
|
min: x,
|
|
5119
5117
|
onValue: s,
|
|
5120
|
-
icon:
|
|
5118
|
+
icon: g,
|
|
5121
5119
|
name: o,
|
|
5122
5120
|
value: d,
|
|
5123
|
-
after:
|
|
5121
|
+
after: b
|
|
5124
5122
|
}) {
|
|
5125
|
-
let [S, N] =
|
|
5123
|
+
let [S, N] = U.useState(
|
|
5126
5124
|
d === void 0 ? /* @__PURE__ */ new Date() : d
|
|
5127
5125
|
);
|
|
5128
|
-
const A =
|
|
5126
|
+
const A = U.useRef(null), [$, T] = U.useState(!1);
|
|
5129
5127
|
let p = !c && u;
|
|
5130
|
-
|
|
5128
|
+
U.useEffect(() => {
|
|
5131
5129
|
N(d === void 0 ? /* @__PURE__ */ new Date() : d);
|
|
5132
5130
|
}, [d]);
|
|
5133
|
-
let
|
|
5131
|
+
let M = (L) => {
|
|
5134
5132
|
N(L), s == null || s({ value: L, name: o });
|
|
5135
|
-
},
|
|
5136
|
-
const
|
|
5137
|
-
A.position = { x: E, b:
|
|
5133
|
+
}, K = (L) => {
|
|
5134
|
+
const q = L.target.getBoundingClientRect(), E = q.left, D = q.bottom, W = q.top;
|
|
5135
|
+
A.position = { x: E, b: D, y: W }, T(!0);
|
|
5138
5136
|
};
|
|
5139
|
-
const
|
|
5140
|
-
return C && (
|
|
5141
|
-
|
|
5137
|
+
const G = {};
|
|
5138
|
+
return C && (G.placeholder = C), p ? /* @__PURE__ */ m.jsx(m.Fragment, {}) : /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
|
|
5139
|
+
g ? g() : /* @__PURE__ */ m.jsxs(
|
|
5142
5140
|
"dl",
|
|
5143
5141
|
{
|
|
5144
5142
|
"data-field": "date",
|
|
5145
|
-
className: [z.l,
|
|
5143
|
+
className: [z.l, v].filter((L) => L !== void 0).join(" "),
|
|
5146
5144
|
children: [
|
|
5147
|
-
n ? /* @__PURE__ */
|
|
5148
|
-
/* @__PURE__ */
|
|
5145
|
+
n ? /* @__PURE__ */ m.jsx("dt", { className: z.t, children: n }) : "",
|
|
5146
|
+
/* @__PURE__ */ m.jsxs(
|
|
5149
5147
|
"dd",
|
|
5150
5148
|
{
|
|
5151
|
-
onClick:
|
|
5149
|
+
onClick: K,
|
|
5152
5150
|
className: [z.f, z.w].join(" "),
|
|
5153
|
-
...
|
|
5151
|
+
...G,
|
|
5154
5152
|
"data-edit": (c && u) + "",
|
|
5155
5153
|
children: [
|
|
5156
5154
|
ca(S, "dd.mm.yyyy"),
|
|
5157
|
-
|
|
5155
|
+
b
|
|
5158
5156
|
]
|
|
5159
5157
|
}
|
|
5160
5158
|
),
|
|
5161
|
-
|
|
5159
|
+
i && /* @__PURE__ */ m.jsx("em", { children: i })
|
|
5162
5160
|
]
|
|
5163
5161
|
}
|
|
5164
5162
|
),
|
|
5165
5163
|
$ && It(
|
|
5166
|
-
/* @__PURE__ */
|
|
5164
|
+
/* @__PURE__ */ m.jsx(
|
|
5167
5165
|
sa,
|
|
5168
5166
|
{
|
|
5169
5167
|
position: A.position,
|
|
5170
|
-
onValue:
|
|
5168
|
+
onValue: M,
|
|
5171
5169
|
date: S,
|
|
5172
5170
|
max: O,
|
|
5173
5171
|
min: x,
|
|
5174
5172
|
onOpen: T,
|
|
5175
|
-
className:
|
|
5173
|
+
className: v
|
|
5176
5174
|
},
|
|
5177
5175
|
(/* @__PURE__ */ new Date()).getTime()
|
|
5178
5176
|
),
|
|
@@ -5182,14 +5180,14 @@ function Ra({
|
|
|
5182
5180
|
}
|
|
5183
5181
|
const sa = ({
|
|
5184
5182
|
date: n,
|
|
5185
|
-
onValue:
|
|
5183
|
+
onValue: i,
|
|
5186
5184
|
position: c,
|
|
5187
5185
|
max: u,
|
|
5188
|
-
min:
|
|
5186
|
+
min: v,
|
|
5189
5187
|
className: C,
|
|
5190
5188
|
onOpen: O
|
|
5191
5189
|
}) => {
|
|
5192
|
-
let x = /* @__PURE__ */ new Date(), s = new Date(n),
|
|
5190
|
+
let x = /* @__PURE__ */ new Date(), s = new Date(n), g = {
|
|
5193
5191
|
y: parseInt(x.getFullYear()),
|
|
5194
5192
|
d: parseInt(x.getDate()),
|
|
5195
5193
|
m: parseInt(x.getMonth()) + 1
|
|
@@ -5197,53 +5195,53 @@ const sa = ({
|
|
|
5197
5195
|
y: parseInt(s.getFullYear()),
|
|
5198
5196
|
d: parseInt(s.getDate()),
|
|
5199
5197
|
m: parseInt(s.getMonth()) + 1
|
|
5200
|
-
}, [d,
|
|
5201
|
-
let
|
|
5202
|
-
return
|
|
5198
|
+
}, [d, b] = U.useState({ y: o.y, m: o.m }), S = (h) => {
|
|
5199
|
+
let k = h.getDay();
|
|
5200
|
+
return k === 0 && (k = 7), k - 1;
|
|
5203
5201
|
}, N = ["пн", "вт", "ср", "чт", "пт", "сб", "вс"], A = d.m - 1, $ = new Date(d.y, A), T = [];
|
|
5204
|
-
for (let
|
|
5202
|
+
for (let h = 0; h < S($); h++)
|
|
5205
5203
|
T.push(0);
|
|
5206
5204
|
for (; $.getMonth() === A; )
|
|
5207
5205
|
T.push($.getDate()), $.setDate($.getDate() + 1);
|
|
5208
5206
|
let p = () => {
|
|
5209
5207
|
O(!1);
|
|
5210
|
-
},
|
|
5208
|
+
}, M = () => {
|
|
5211
5209
|
L(d.m + 1, d.y);
|
|
5212
|
-
},
|
|
5210
|
+
}, K = () => {
|
|
5213
5211
|
L(d.m - 1, d.y);
|
|
5214
|
-
},
|
|
5215
|
-
|
|
5216
|
-
d.y + "-" +
|
|
5212
|
+
}, G = (h) => {
|
|
5213
|
+
i(
|
|
5214
|
+
d.y + "-" + Gt(2, d.m) + "-" + Gt(2, h)
|
|
5217
5215
|
), p();
|
|
5218
|
-
}, L = (
|
|
5219
|
-
|
|
5216
|
+
}, L = (h, k) => {
|
|
5217
|
+
k = h > 12 ? k + 1 : h < 1 ? k - 1 : k, h = h > 12 ? 1 : h < 1 ? 12 : h, b({ y: k, m: h });
|
|
5220
5218
|
};
|
|
5221
|
-
const
|
|
5222
|
-
let
|
|
5219
|
+
const q = (h) => g.y === d.y && g.m === d.m && g.d === h ? { "data-active": "true" } : {}, E = (h) => o.y === d.y && o.m === d.m && o.d === h ? { "data-current": "true" } : {}, D = (h) => {
|
|
5220
|
+
let k = !0;
|
|
5223
5221
|
if (u) {
|
|
5224
|
-
let
|
|
5225
|
-
|
|
5222
|
+
let I = u.getTime(), Y = new Date(d.y, d.m - 1, h).getTime();
|
|
5223
|
+
I < Y && (k = !1);
|
|
5226
5224
|
}
|
|
5227
|
-
if (
|
|
5228
|
-
let
|
|
5229
|
-
|
|
5225
|
+
if (v) {
|
|
5226
|
+
let I = v.getTime(), Y = new Date(d.y, d.m - 1, h).getTime();
|
|
5227
|
+
I > Y && (k = !1);
|
|
5230
5228
|
}
|
|
5231
|
-
return
|
|
5229
|
+
return k;
|
|
5232
5230
|
};
|
|
5233
5231
|
let W = window.innerHeight - c.y < 320 ? c.y - 312 : c.b, R = window.innerWidth - c.x < 265 ? c.x - 235 : c.x;
|
|
5234
|
-
return /* @__PURE__ */
|
|
5235
|
-
/* @__PURE__ */
|
|
5236
|
-
/* @__PURE__ */
|
|
5232
|
+
return /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
|
|
5233
|
+
/* @__PURE__ */ m.jsx("div", { className: St.o, onClick: () => p() }),
|
|
5234
|
+
/* @__PURE__ */ m.jsxs(
|
|
5237
5235
|
"div",
|
|
5238
5236
|
{
|
|
5239
5237
|
className: [
|
|
5240
|
-
|
|
5238
|
+
St.c,
|
|
5241
5239
|
C && C + "-backdrop"
|
|
5242
5240
|
].join(" "),
|
|
5243
5241
|
style: { top: W + "px", left: R + "px" },
|
|
5244
5242
|
children: [
|
|
5245
|
-
/* @__PURE__ */
|
|
5246
|
-
/* @__PURE__ */
|
|
5243
|
+
/* @__PURE__ */ m.jsxs("s", { children: [
|
|
5244
|
+
/* @__PURE__ */ m.jsx("i", { onClick: K, children: /* @__PURE__ */ m.jsx(
|
|
5247
5245
|
"svg",
|
|
5248
5246
|
{
|
|
5249
5247
|
width: "16",
|
|
@@ -5251,15 +5249,15 @@ const sa = ({
|
|
|
5251
5249
|
fill: "currentColor",
|
|
5252
5250
|
viewBox: "0 0 24 24",
|
|
5253
5251
|
xmlns: "http://www.w3.org/2000/svg",
|
|
5254
|
-
children: /* @__PURE__ */
|
|
5252
|
+
children: /* @__PURE__ */ m.jsx("path", { d: "m15.09 4.594-7.646 6.553a1.126 1.126 0 0 0 0 1.708l7.647 6.552c.73.625 1.857.107 1.857-.854V5.447c0-.961-1.127-1.48-1.857-.853Z" })
|
|
5255
5253
|
}
|
|
5256
5254
|
) }),
|
|
5257
|
-
/* @__PURE__ */
|
|
5255
|
+
/* @__PURE__ */ m.jsxs("h2", { children: [
|
|
5258
5256
|
la(d.m).name,
|
|
5259
5257
|
" ",
|
|
5260
5258
|
d.y
|
|
5261
5259
|
] }),
|
|
5262
|
-
/* @__PURE__ */
|
|
5260
|
+
/* @__PURE__ */ m.jsx("i", { onClick: M, children: /* @__PURE__ */ m.jsx(
|
|
5263
5261
|
"svg",
|
|
5264
5262
|
{
|
|
5265
5263
|
width: "16",
|
|
@@ -5267,21 +5265,21 @@ const sa = ({
|
|
|
5267
5265
|
fill: "currentColor",
|
|
5268
5266
|
viewBox: "0 0 24 24",
|
|
5269
5267
|
xmlns: "http://www.w3.org/2000/svg",
|
|
5270
|
-
children: /* @__PURE__ */
|
|
5268
|
+
children: /* @__PURE__ */ m.jsx("path", { d: "m8.91 19.406 7.646-6.552a1.125 1.125 0 0 0 0-1.709L8.91 4.593c-.73-.625-1.857-.107-1.857.854v13.107c0 .96 1.127 1.479 1.857.852Z" })
|
|
5271
5269
|
}
|
|
5272
5270
|
) })
|
|
5273
5271
|
] }),
|
|
5274
|
-
/* @__PURE__ */
|
|
5275
|
-
N.map((
|
|
5276
|
-
T.map((
|
|
5272
|
+
/* @__PURE__ */ m.jsxs("div", { "grid-calendar": "", children: [
|
|
5273
|
+
N.map((h, k) => /* @__PURE__ */ m.jsx("p", { children: h }, "v" + k)),
|
|
5274
|
+
T.map((h, k) => /* @__PURE__ */ m.jsx("span", { children: h !== 0 && D(h) ? /* @__PURE__ */ m.jsx(
|
|
5277
5275
|
"b",
|
|
5278
5276
|
{
|
|
5279
|
-
...
|
|
5280
|
-
...E(
|
|
5281
|
-
onClick: () =>
|
|
5282
|
-
children:
|
|
5277
|
+
...q(h),
|
|
5278
|
+
...E(h),
|
|
5279
|
+
onClick: () => G(h),
|
|
5280
|
+
children: h
|
|
5283
5281
|
}
|
|
5284
|
-
) : /* @__PURE__ */
|
|
5282
|
+
) : /* @__PURE__ */ m.jsx("p", { ...q(h), ...E(h), children: h !== 0 ? h : "" }) }, k))
|
|
5285
5283
|
] })
|
|
5286
5284
|
]
|
|
5287
5285
|
}
|
|
@@ -5304,13 +5302,13 @@ function la(n) {
|
|
|
5304
5302
|
12: { val: "12", name: "Декабрь", names: "Декабря", abc: "Дек" }
|
|
5305
5303
|
}[n];
|
|
5306
5304
|
}
|
|
5307
|
-
function
|
|
5308
|
-
let c =
|
|
5305
|
+
function Gt(n, i) {
|
|
5306
|
+
let c = i + "";
|
|
5309
5307
|
for (; c.length < n; ) c = "0" + c;
|
|
5310
5308
|
return c;
|
|
5311
5309
|
}
|
|
5312
|
-
function ca(n,
|
|
5313
|
-
|
|
5310
|
+
function ca(n, i) {
|
|
5311
|
+
i === void 0 ? (i = n, n = /* @__PURE__ */ new Date()) : n = new Date(n);
|
|
5314
5312
|
let c = {
|
|
5315
5313
|
yyyy: n.getFullYear(),
|
|
5316
5314
|
yy: ("" + n.getFullYear()).slice(-2),
|
|
@@ -5323,43 +5321,43 @@ function ca(n, _) {
|
|
|
5323
5321
|
_: " "
|
|
5324
5322
|
};
|
|
5325
5323
|
for (const u in c)
|
|
5326
|
-
|
|
5327
|
-
return
|
|
5324
|
+
i = i.replace(u, c[u]);
|
|
5325
|
+
return i;
|
|
5328
5326
|
}
|
|
5329
5327
|
function Ea({
|
|
5330
5328
|
value: n,
|
|
5331
|
-
onValue:
|
|
5329
|
+
onValue: i,
|
|
5332
5330
|
name: c,
|
|
5333
5331
|
error: u,
|
|
5334
|
-
icon:
|
|
5332
|
+
icon: v,
|
|
5335
5333
|
edit: C = !0,
|
|
5336
5334
|
active: O = !0,
|
|
5337
5335
|
title: x,
|
|
5338
5336
|
placeholder: s = "",
|
|
5339
|
-
className:
|
|
5337
|
+
className: g
|
|
5340
5338
|
}) {
|
|
5341
|
-
let [o, d] =
|
|
5342
|
-
const
|
|
5343
|
-
|
|
5339
|
+
let [o, d] = U.useState(n);
|
|
5340
|
+
const b = U.useRef(null), [S, N] = U.useState(!1);
|
|
5341
|
+
U.useEffect(() => {
|
|
5344
5342
|
d(n);
|
|
5345
5343
|
}, [n]);
|
|
5346
5344
|
let A = (p) => {
|
|
5347
|
-
d(p),
|
|
5345
|
+
d(p), i && i({ value: p, name: c });
|
|
5348
5346
|
}, $ = (p) => {
|
|
5349
5347
|
if (!C || !O) return;
|
|
5350
|
-
const
|
|
5351
|
-
|
|
5348
|
+
const M = p.target.getBoundingClientRect(), K = M.left, G = M.top;
|
|
5349
|
+
b.position = { x: K, y: G }, N(!0);
|
|
5352
5350
|
};
|
|
5353
5351
|
const T = {};
|
|
5354
|
-
return s && (T.placeholder = s),
|
|
5355
|
-
/* @__PURE__ */
|
|
5352
|
+
return s && (T.placeholder = s), v || /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
|
|
5353
|
+
/* @__PURE__ */ m.jsxs(
|
|
5356
5354
|
"dl",
|
|
5357
5355
|
{
|
|
5358
5356
|
"data-field": "date",
|
|
5359
|
-
className: [z.l,
|
|
5357
|
+
className: [z.l, g].filter((p) => p !== void 0).join(" "),
|
|
5360
5358
|
children: [
|
|
5361
|
-
x ? /* @__PURE__ */
|
|
5362
|
-
/* @__PURE__ */
|
|
5359
|
+
x ? /* @__PURE__ */ m.jsx("dt", { className: z.t, children: x }) : "",
|
|
5360
|
+
/* @__PURE__ */ m.jsx(
|
|
5363
5361
|
"dd",
|
|
5364
5362
|
{
|
|
5365
5363
|
onClick: $,
|
|
@@ -5368,15 +5366,15 @@ function Ea({
|
|
|
5368
5366
|
children: da(o, "mm.yyyy")
|
|
5369
5367
|
}
|
|
5370
5368
|
),
|
|
5371
|
-
u && /* @__PURE__ */
|
|
5369
|
+
u && /* @__PURE__ */ m.jsx("em", { children: u })
|
|
5372
5370
|
]
|
|
5373
5371
|
}
|
|
5374
5372
|
),
|
|
5375
5373
|
S && It(
|
|
5376
|
-
/* @__PURE__ */
|
|
5374
|
+
/* @__PURE__ */ m.jsx(
|
|
5377
5375
|
ua,
|
|
5378
5376
|
{
|
|
5379
|
-
position:
|
|
5377
|
+
position: b.position,
|
|
5380
5378
|
onValue: A,
|
|
5381
5379
|
date: o,
|
|
5382
5380
|
onOpen: N
|
|
@@ -5387,27 +5385,27 @@ function Ea({
|
|
|
5387
5385
|
)
|
|
5388
5386
|
] });
|
|
5389
5387
|
}
|
|
5390
|
-
const ua = ({ onOpen: n, date:
|
|
5391
|
-
let
|
|
5392
|
-
y: parseInt(
|
|
5393
|
-
m: parseInt(
|
|
5388
|
+
const ua = ({ onOpen: n, date: i, onValue: c, position: u }) => {
|
|
5389
|
+
let v = /* @__PURE__ */ new Date(), C = new Date(i), O = {
|
|
5390
|
+
y: parseInt(v.getFullYear()),
|
|
5391
|
+
m: parseInt(v.getMonth()) + 1
|
|
5394
5392
|
}, x = {
|
|
5395
5393
|
y: parseInt(C.getFullYear()),
|
|
5396
5394
|
m: parseInt(C.getMonth()) + 1
|
|
5397
|
-
}, [s,
|
|
5395
|
+
}, [s, g] = U.useState(x.y), o = () => {
|
|
5398
5396
|
n(!1);
|
|
5399
5397
|
}, d = () => {
|
|
5400
|
-
|
|
5401
|
-
},
|
|
5402
|
-
|
|
5398
|
+
g(s + 1);
|
|
5399
|
+
}, b = () => {
|
|
5400
|
+
g(s - 1);
|
|
5403
5401
|
}, S = (p) => {
|
|
5404
5402
|
c(s + "-" + fa(2, p)), o();
|
|
5405
|
-
}, N = (p) => O.y === x.y && O.m === p ? "_FFEB3B" : "", A = Array(12).fill("").map((p,
|
|
5406
|
-
return /* @__PURE__ */
|
|
5407
|
-
/* @__PURE__ */
|
|
5408
|
-
/* @__PURE__ */
|
|
5409
|
-
/* @__PURE__ */
|
|
5410
|
-
/* @__PURE__ */
|
|
5403
|
+
}, N = (p) => O.y === x.y && O.m === p ? "_FFEB3B" : "", A = Array(12).fill("").map((p, M) => M + 1), $ = window.innerHeight - u.y + 33 < 320 ? u.y - 312 : u.y + 33, T = window.innerWidth - u.x < 265 ? u.x - 235 : u.x;
|
|
5404
|
+
return /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
|
|
5405
|
+
/* @__PURE__ */ m.jsx("div", { className: St.o, onClick: o }),
|
|
5406
|
+
/* @__PURE__ */ m.jsxs("div", { className: St.c, style: { top: $ + "px", left: T + "px" }, children: [
|
|
5407
|
+
/* @__PURE__ */ m.jsxs("s", { children: [
|
|
5408
|
+
/* @__PURE__ */ m.jsx("i", { onClick: b, children: /* @__PURE__ */ m.jsx(
|
|
5411
5409
|
"svg",
|
|
5412
5410
|
{
|
|
5413
5411
|
width: "16",
|
|
@@ -5415,11 +5413,11 @@ const ua = ({ onOpen: n, date: _, onValue: c, position: u }) => {
|
|
|
5415
5413
|
fill: "currentColor",
|
|
5416
5414
|
viewBox: "0 0 24 24",
|
|
5417
5415
|
xmlns: "http://www.w3.org/2000/svg",
|
|
5418
|
-
children: /* @__PURE__ */
|
|
5416
|
+
children: /* @__PURE__ */ m.jsx("path", { d: "m15.09 4.594-7.646 6.553a1.126 1.126 0 0 0 0 1.708l7.647 6.552c.73.625 1.857.107 1.857-.854V5.447c0-.961-1.127-1.48-1.857-.853Z" })
|
|
5419
5417
|
}
|
|
5420
5418
|
) }),
|
|
5421
|
-
/* @__PURE__ */
|
|
5422
|
-
/* @__PURE__ */
|
|
5419
|
+
/* @__PURE__ */ m.jsx("h2", { children: s }),
|
|
5420
|
+
/* @__PURE__ */ m.jsx("i", { onClick: d, children: /* @__PURE__ */ m.jsx(
|
|
5423
5421
|
"svg",
|
|
5424
5422
|
{
|
|
5425
5423
|
width: "16",
|
|
@@ -5427,26 +5425,26 @@ const ua = ({ onOpen: n, date: _, onValue: c, position: u }) => {
|
|
|
5427
5425
|
fill: "currentColor",
|
|
5428
5426
|
viewBox: "0 0 24 24",
|
|
5429
5427
|
xmlns: "http://www.w3.org/2000/svg",
|
|
5430
|
-
children: /* @__PURE__ */
|
|
5428
|
+
children: /* @__PURE__ */ m.jsx("path", { d: "m8.91 19.406 7.646-6.552a1.125 1.125 0 0 0 0-1.709L8.91 4.593c-.73-.625-1.857-.107-1.857.854v13.107c0 .96 1.127 1.479 1.857.852Z" })
|
|
5431
5429
|
}
|
|
5432
5430
|
) })
|
|
5433
5431
|
] }),
|
|
5434
|
-
/* @__PURE__ */
|
|
5432
|
+
/* @__PURE__ */ m.jsx("div", { "grid-month": "", children: A.map((p, M) => /* @__PURE__ */ m.jsx(
|
|
5435
5433
|
"span",
|
|
5436
5434
|
{
|
|
5437
5435
|
onClick: () => {
|
|
5438
5436
|
S(p);
|
|
5439
5437
|
},
|
|
5440
5438
|
color: N(p),
|
|
5441
|
-
children: /* @__PURE__ */
|
|
5439
|
+
children: /* @__PURE__ */ m.jsx("b", { children: pa(p).abc })
|
|
5442
5440
|
},
|
|
5443
|
-
|
|
5441
|
+
M
|
|
5444
5442
|
)) })
|
|
5445
5443
|
] })
|
|
5446
5444
|
] });
|
|
5447
5445
|
};
|
|
5448
|
-
function da(n,
|
|
5449
|
-
|
|
5446
|
+
function da(n, i) {
|
|
5447
|
+
i === void 0 ? (i = n, n = /* @__PURE__ */ new Date()) : n = new Date(n);
|
|
5450
5448
|
let c = {
|
|
5451
5449
|
yyyy: n.getFullYear(),
|
|
5452
5450
|
yy: ("" + n.getFullYear()).slice(-2),
|
|
@@ -5459,15 +5457,15 @@ function da(n, _) {
|
|
|
5459
5457
|
_: " "
|
|
5460
5458
|
};
|
|
5461
5459
|
for (const u in c)
|
|
5462
|
-
|
|
5463
|
-
return
|
|
5460
|
+
i = i.replace(u, c[u]);
|
|
5461
|
+
return i;
|
|
5464
5462
|
}
|
|
5465
|
-
function fa(n,
|
|
5466
|
-
let c =
|
|
5463
|
+
function fa(n, i) {
|
|
5464
|
+
let c = i + "";
|
|
5467
5465
|
for (; c.length < n; ) c = "0" + c;
|
|
5468
5466
|
return c;
|
|
5469
5467
|
}
|
|
5470
|
-
function
|
|
5468
|
+
function pa(n) {
|
|
5471
5469
|
return n = typeof n == "number" ? n : new Date(n).getMonth() + 1, {
|
|
5472
5470
|
1: { val: "01", name: "Январь", names: "Января", abc: "Янв" },
|
|
5473
5471
|
2: { val: "02", name: "Февраль", names: "Февраля", abc: "Февр" },
|
|
@@ -5485,92 +5483,92 @@ function ma(n) {
|
|
|
5485
5483
|
}
|
|
5486
5484
|
function Oa({
|
|
5487
5485
|
value: n,
|
|
5488
|
-
onValue:
|
|
5486
|
+
onValue: i,
|
|
5489
5487
|
name: c,
|
|
5490
5488
|
placeholder: u = "",
|
|
5491
|
-
title:
|
|
5489
|
+
title: v = "",
|
|
5492
5490
|
error: C = "",
|
|
5493
5491
|
hide: O = !1,
|
|
5494
5492
|
edit: x = !0,
|
|
5495
5493
|
active: s = !0,
|
|
5496
|
-
after:
|
|
5494
|
+
after: g = "",
|
|
5497
5495
|
show: o = !0,
|
|
5498
5496
|
course: d = 100,
|
|
5499
|
-
view:
|
|
5497
|
+
view: b,
|
|
5500
5498
|
type: S,
|
|
5501
5499
|
onSave: N,
|
|
5502
5500
|
className: A = "",
|
|
5503
5501
|
isClear: $ = !1
|
|
5504
5502
|
}) {
|
|
5505
|
-
let T = !!(O && (n === "" || n === void 0)), p = (R) => S === "multi" ? R.replace(/[^+\d.+-]/g, "") : R.replace(/[^+\d.]/g, ""),
|
|
5506
|
-
let
|
|
5507
|
-
|
|
5508
|
-
},
|
|
5509
|
-
|
|
5503
|
+
let T = !!(O && (n === "" || n === void 0)), p = (R) => S === "multi" ? R.replace(/[^+\d.+-]/g, "") : R.replace(/[^+\d.]/g, ""), M = (R, h) => {
|
|
5504
|
+
let k = document.createRange(), I = window.getSelection();
|
|
5505
|
+
k.setStart(h.childNodes[0], R), k.collapse(!0), I.removeAllRanges(), I.addRange(k), h.focus();
|
|
5506
|
+
}, K = (R) => {
|
|
5507
|
+
i == null || i({
|
|
5510
5508
|
value: p(R.target.textContent) * d,
|
|
5511
5509
|
name: c
|
|
5512
|
-
}), R.target.textContent = p(R.target.textContent), R.target.textContent.length > 0 &&
|
|
5513
|
-
},
|
|
5514
|
-
te.Blur(R), R.target.textContent === "" && (R.target.textContent = 0), N == null || N({ value: p(R.target.textContent) * d, name: c }),
|
|
5510
|
+
}), R.target.textContent = p(R.target.textContent), R.target.textContent.length > 0 && M(R.target.textContent.length, R.target);
|
|
5511
|
+
}, G = (R) => {
|
|
5512
|
+
te.Blur(R), R.target.textContent === "" && (R.target.textContent = 0), N == null || N({ value: p(R.target.textContent) * d, name: c }), i == null || i({
|
|
5515
5513
|
value: p(R.target.textContent) * d,
|
|
5516
5514
|
name: c
|
|
5517
|
-
}), R.target.textContent =
|
|
5515
|
+
}), R.target.textContent = zt(R.target.textContent);
|
|
5518
5516
|
}, L = (R) => {
|
|
5519
5517
|
R.target.textContent = p(R.target.textContent);
|
|
5520
|
-
},
|
|
5521
|
-
R.currentTarget.previousElementSibling.textContent = "",
|
|
5518
|
+
}, q = (R) => {
|
|
5519
|
+
R.currentTarget.previousElementSibling.textContent = "", i == null || i({
|
|
5522
5520
|
value: 0,
|
|
5523
5521
|
name: c
|
|
5524
5522
|
});
|
|
5525
5523
|
}, E = (R) => {
|
|
5526
5524
|
R.key === "Enter" && R.preventDefault();
|
|
5527
|
-
},
|
|
5528
|
-
R.preventDefault(), navigator.clipboard.readText().then((
|
|
5529
|
-
|
|
5530
|
-
}).catch((
|
|
5525
|
+
}, D = (R) => {
|
|
5526
|
+
R.preventDefault(), navigator.clipboard.readText().then((h) => {
|
|
5527
|
+
h = h.replace(/^\s*/, "").replace(/\s*$/, ""), window.document.execCommand("insertText", !1, h);
|
|
5528
|
+
}).catch((h) => {
|
|
5531
5529
|
});
|
|
5532
5530
|
};
|
|
5533
5531
|
if (!(x && s) && !o || !(x && s) && T) return "";
|
|
5534
5532
|
const W = {};
|
|
5535
|
-
return W.inputMode = "decimal", u && (W.placeholder = u), x && s && (W.edit = ""), /* @__PURE__ */
|
|
5533
|
+
return W.inputMode = "decimal", u && (W.placeholder = u), x && s && (W.edit = ""), /* @__PURE__ */ m.jsxs(
|
|
5536
5534
|
"dl",
|
|
5537
5535
|
{
|
|
5538
5536
|
"data-field": "date",
|
|
5539
5537
|
className: [z.l, A].filter((R) => R !== void 0).join(" "),
|
|
5540
5538
|
children: [
|
|
5541
|
-
|
|
5542
|
-
/* @__PURE__ */
|
|
5539
|
+
v ? /* @__PURE__ */ m.jsx("dt", { className: z.t, children: v }) : "",
|
|
5540
|
+
/* @__PURE__ */ m.jsx(
|
|
5543
5541
|
"dd",
|
|
5544
5542
|
{
|
|
5545
5543
|
...W,
|
|
5546
5544
|
className: [z.f, z.w].join(" "),
|
|
5547
|
-
onInput:
|
|
5548
|
-
onPaste:
|
|
5549
|
-
onBlur:
|
|
5545
|
+
onInput: K,
|
|
5546
|
+
onPaste: D,
|
|
5547
|
+
onBlur: G,
|
|
5550
5548
|
onKeyDown: E,
|
|
5551
5549
|
onFocus: L,
|
|
5552
5550
|
contentEditable: x && s ? te.ContentEditable : "false",
|
|
5553
5551
|
suppressContentEditableWarning: !0,
|
|
5554
|
-
"data-after":
|
|
5555
|
-
children: !u || n ?
|
|
5552
|
+
"data-after": g,
|
|
5553
|
+
children: !u || n ? zt(n) : ""
|
|
5556
5554
|
}
|
|
5557
5555
|
),
|
|
5558
|
-
$ && /* @__PURE__ */
|
|
5559
|
-
C ? /* @__PURE__ */
|
|
5556
|
+
$ && /* @__PURE__ */ m.jsx("svg", { "action-type": "delete", onClick: q, viewBox: "0 0 24 24", children: /* @__PURE__ */ m.jsx("path", { d: "M17 6L6 17M6 6L17 17" }) }),
|
|
5557
|
+
C ? /* @__PURE__ */ m.jsx("em", { children: C }) : ""
|
|
5560
5558
|
]
|
|
5561
5559
|
}
|
|
5562
5560
|
);
|
|
5563
5561
|
}
|
|
5564
|
-
function
|
|
5562
|
+
function zt(n, i) {
|
|
5565
5563
|
return parseFloat(n).toFixed(2).replace(/(\d)(?=(\d{3})+\.)/g, "$1 ");
|
|
5566
5564
|
}
|
|
5567
5565
|
const he = {};
|
|
5568
5566
|
function Ta(n) {
|
|
5569
|
-
const [
|
|
5570
|
-
return he.u = (
|
|
5571
|
-
u.current = { ...u.current, [
|
|
5572
|
-
}, he.n = (
|
|
5573
|
-
u.current =
|
|
5567
|
+
const [i, c] = U.useState({}), u = U.useRef(n);
|
|
5568
|
+
return he.u = (v) => {
|
|
5569
|
+
u.current = { ...u.current, [v.name]: v.value };
|
|
5570
|
+
}, he.n = (v) => {
|
|
5571
|
+
u.current = v, c(Date.now());
|
|
5574
5572
|
}, he.r = () => {
|
|
5575
5573
|
c(Date.now());
|
|
5576
5574
|
}, [u.current, he.n];
|
|
@@ -5582,12 +5580,12 @@ function Pa() {
|
|
|
5582
5580
|
he.r && he.r();
|
|
5583
5581
|
}
|
|
5584
5582
|
function Na(n) {
|
|
5585
|
-
const [
|
|
5586
|
-
return he.u = (
|
|
5587
|
-
u.current = { ...u.current, [
|
|
5588
|
-
}, he.n = (
|
|
5589
|
-
Object.keys(
|
|
5590
|
-
u.current[C] =
|
|
5583
|
+
const [i, c] = U.useState({}), u = U.useRef(n);
|
|
5584
|
+
return he.u = (v) => {
|
|
5585
|
+
u.current = { ...u.current, [v.name]: v.value };
|
|
5586
|
+
}, he.n = (v) => {
|
|
5587
|
+
Object.keys(v).length > 0 ? Object.keys(v).forEach((C) => {
|
|
5588
|
+
u.current[C] = v[C];
|
|
5591
5589
|
}) : u.current = {}, c(Date.now());
|
|
5592
5590
|
}, he.r = () => {
|
|
5593
5591
|
c(Date.now());
|
|
@@ -5597,7 +5595,7 @@ function Ft() {
|
|
|
5597
5595
|
return typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof self < "u" ? self : typeof global < "u" ? global : {};
|
|
5598
5596
|
}
|
|
5599
5597
|
Ft().elcrm || (Ft().elcrm = {});
|
|
5600
|
-
Object.assign(Ft().elcrm, { form:
|
|
5598
|
+
Object.assign(Ft().elcrm, { form: Vt.version });
|
|
5601
5599
|
export {
|
|
5602
5600
|
Ra as Date,
|
|
5603
5601
|
xa as Mask,
|