@elcrm/form 0.0.34 → 0.0.35
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.es.js +811 -772
- package/dist/index.umd.js +38 -38
- package/dist/src/lib/index.d.ts +1 -0
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import W, { forwardRef as Jt, useEffect as Zt } from "react";
|
|
2
2
|
import { createPortal as Mt } from "react-dom";
|
|
3
|
-
import './index.css';const Vt = "0.0.
|
|
3
|
+
import './index.css';const Vt = "0.0.35", Xt = {
|
|
4
4
|
version: Vt
|
|
5
5
|
};
|
|
6
6
|
var Tt = { exports: {} }, mt = {};
|
|
@@ -17,15 +17,15 @@ var $t;
|
|
|
17
17
|
function Qt() {
|
|
18
18
|
if ($t) return mt;
|
|
19
19
|
$t = 1;
|
|
20
|
-
var
|
|
21
|
-
function
|
|
22
|
-
var o, d = {}, b = null,
|
|
23
|
-
g !== void 0 && (b = "" + g), s.key !== void 0 && (b = "" + s.key), s.ref !== void 0 && (
|
|
24
|
-
for (o in s) u.call(s, o) && !
|
|
20
|
+
var a = W, i = Symbol.for("react.element"), c = Symbol.for("react.fragment"), u = Object.prototype.hasOwnProperty, v = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, C = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
21
|
+
function T(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
|
+
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: i, type: x, key: b, ref:
|
|
26
|
+
return { $$typeof: i, type: x, key: b, ref: S, props: d, _owner: v.current };
|
|
27
27
|
}
|
|
28
|
-
return mt.Fragment = c, mt.jsx =
|
|
28
|
+
return mt.Fragment = c, mt.jsx = T, mt.jsxs = T, mt;
|
|
29
29
|
}
|
|
30
30
|
var yt = {};
|
|
31
31
|
/**
|
|
@@ -40,44 +40,44 @@ var yt = {};
|
|
|
40
40
|
var At;
|
|
41
41
|
function er() {
|
|
42
42
|
return At || (At = 1, process.env.NODE_ENV !== "production" && function() {
|
|
43
|
-
var
|
|
43
|
+
var a = W, 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"), T = 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 I(e) {
|
|
45
45
|
if (e === null || typeof e != "object")
|
|
46
46
|
return null;
|
|
47
47
|
var t = N && e[N] || e[A];
|
|
48
48
|
return typeof t == "function" ? t : null;
|
|
49
49
|
}
|
|
50
|
-
var O =
|
|
50
|
+
var O = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
51
51
|
function p(e) {
|
|
52
52
|
{
|
|
53
|
-
for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0),
|
|
54
|
-
r[
|
|
53
|
+
for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), n = 1; n < t; n++)
|
|
54
|
+
r[n - 1] = arguments[n];
|
|
55
55
|
M("error", e, r);
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
58
|
function M(e, t, r) {
|
|
59
59
|
{
|
|
60
|
-
var
|
|
60
|
+
var n = O.ReactDebugCurrentFrame, f = n.getStackAddendum();
|
|
61
61
|
f !== "" && (t += "%s", r = r.concat([f]));
|
|
62
|
-
var
|
|
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 K = !1, G = !1, L = !1, q = !1, E = !1,
|
|
69
|
-
|
|
68
|
+
var K = !1, G = !1, L = !1, q = !1, E = !1, P;
|
|
69
|
+
P = Symbol.for("react.module.reference");
|
|
70
70
|
function U(e) {
|
|
71
|
-
return !!(typeof e == "string" || typeof e == "function" || e === u || 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 === T || 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 === P || e.getModuleId !== void 0));
|
|
76
76
|
}
|
|
77
77
|
function R(e, t, r) {
|
|
78
|
-
var
|
|
79
|
-
if (
|
|
80
|
-
return
|
|
78
|
+
var n = e.displayName;
|
|
79
|
+
if (n)
|
|
80
|
+
return n;
|
|
81
81
|
var f = t.displayName || t.name || "";
|
|
82
82
|
return f !== "" ? r + "(" + f + ")" : r;
|
|
83
83
|
}
|
|
@@ -96,7 +96,7 @@ function er() {
|
|
|
96
96
|
return "Fragment";
|
|
97
97
|
case c:
|
|
98
98
|
return "Portal";
|
|
99
|
-
case
|
|
99
|
+
case C:
|
|
100
100
|
return "Profiler";
|
|
101
101
|
case v:
|
|
102
102
|
return "StrictMode";
|
|
@@ -110,18 +110,18 @@ function er() {
|
|
|
110
110
|
case x:
|
|
111
111
|
var t = e;
|
|
112
112
|
return h(t) + ".Consumer";
|
|
113
|
-
case
|
|
113
|
+
case T:
|
|
114
114
|
var r = e;
|
|
115
115
|
return h(r._context) + ".Provider";
|
|
116
116
|
case s:
|
|
117
117
|
return R(e, e.render, "ForwardRef");
|
|
118
118
|
case d:
|
|
119
|
-
var
|
|
120
|
-
return
|
|
119
|
+
var n = e.displayName || null;
|
|
120
|
+
return n !== null ? n : k(e.type) || "Memo";
|
|
121
121
|
case b: {
|
|
122
|
-
var f = e,
|
|
122
|
+
var f = e, y = f._payload, l = f._init;
|
|
123
123
|
try {
|
|
124
|
-
return k(l(
|
|
124
|
+
return k(l(y));
|
|
125
125
|
} catch {
|
|
126
126
|
return null;
|
|
127
127
|
}
|
|
@@ -198,8 +198,8 @@ function er() {
|
|
|
198
198
|
try {
|
|
199
199
|
throw Error();
|
|
200
200
|
} catch (f) {
|
|
201
|
-
var
|
|
202
|
-
ce =
|
|
201
|
+
var n = f.stack.trim().match(/\n( *(at )?)/);
|
|
202
|
+
ce = n && n[1] || "";
|
|
203
203
|
}
|
|
204
204
|
return `
|
|
205
205
|
` + ce + e;
|
|
@@ -218,12 +218,12 @@ function er() {
|
|
|
218
218
|
if (r !== void 0)
|
|
219
219
|
return r;
|
|
220
220
|
}
|
|
221
|
-
var
|
|
221
|
+
var n;
|
|
222
222
|
ue = !0;
|
|
223
223
|
var f = Error.prepareStackTrace;
|
|
224
224
|
Error.prepareStackTrace = void 0;
|
|
225
|
-
var
|
|
226
|
-
|
|
225
|
+
var y;
|
|
226
|
+
y = le.current, le.current = null, Le();
|
|
227
227
|
try {
|
|
228
228
|
if (t) {
|
|
229
229
|
var l = function() {
|
|
@@ -237,14 +237,14 @@ function er() {
|
|
|
237
237
|
try {
|
|
238
238
|
Reflect.construct(l, []);
|
|
239
239
|
} catch (F) {
|
|
240
|
-
|
|
240
|
+
n = F;
|
|
241
241
|
}
|
|
242
242
|
Reflect.construct(e, [], l);
|
|
243
243
|
} else {
|
|
244
244
|
try {
|
|
245
245
|
l.call();
|
|
246
246
|
} catch (F) {
|
|
247
|
-
|
|
247
|
+
n = F;
|
|
248
248
|
}
|
|
249
249
|
e.call(l.prototype);
|
|
250
250
|
}
|
|
@@ -252,21 +252,21 @@ function er() {
|
|
|
252
252
|
try {
|
|
253
253
|
throw Error();
|
|
254
254
|
} catch (F) {
|
|
255
|
-
|
|
255
|
+
n = F;
|
|
256
256
|
}
|
|
257
257
|
e();
|
|
258
258
|
}
|
|
259
259
|
} catch (F) {
|
|
260
|
-
if (F &&
|
|
260
|
+
if (F && n && typeof F.stack == "string") {
|
|
261
261
|
for (var _ = F.stack.split(`
|
|
262
|
-
`),
|
|
263
|
-
`), w = _.length - 1, j =
|
|
262
|
+
`), D = n.stack.split(`
|
|
263
|
+
`), w = _.length - 1, j = D.length - 1; w >= 1 && j >= 0 && _[w] !== D[j]; )
|
|
264
264
|
j--;
|
|
265
265
|
for (; w >= 1 && j >= 0; w--, j--)
|
|
266
|
-
if (_[w] !==
|
|
266
|
+
if (_[w] !== D[j]) {
|
|
267
267
|
if (w !== 1 || j !== 1)
|
|
268
268
|
do
|
|
269
|
-
if (w--, j--, j < 0 || _[w] !==
|
|
269
|
+
if (w--, j--, j < 0 || _[w] !== D[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;
|
|
@@ -276,7 +276,7 @@ function er() {
|
|
|
276
276
|
}
|
|
277
277
|
}
|
|
278
278
|
} finally {
|
|
279
|
-
ue = !1, le.current =
|
|
279
|
+
ue = !1, le.current = y, We(), Error.prepareStackTrace = f;
|
|
280
280
|
}
|
|
281
281
|
var Z = e ? e.displayName || e.name : "", z = Z ? re(Z) : "";
|
|
282
282
|
return typeof e == "function" && ae.set(e, z), z;
|
|
@@ -308,9 +308,9 @@ function er() {
|
|
|
308
308
|
case d:
|
|
309
309
|
return ne(e.type, t, r);
|
|
310
310
|
case b: {
|
|
311
|
-
var
|
|
311
|
+
var n = e, f = n._payload, y = n._init;
|
|
312
312
|
try {
|
|
313
|
-
return ne(
|
|
313
|
+
return ne(y(f), t, r);
|
|
314
314
|
} catch {
|
|
315
315
|
}
|
|
316
316
|
}
|
|
@@ -325,22 +325,22 @@ function er() {
|
|
|
325
325
|
} else
|
|
326
326
|
Ce.setExtraStackFrame(null);
|
|
327
327
|
}
|
|
328
|
-
function Ye(e, t, r,
|
|
328
|
+
function Ye(e, t, r, n, f) {
|
|
329
329
|
{
|
|
330
|
-
var
|
|
330
|
+
var y = Function.call.bind(X);
|
|
331
331
|
for (var l in e)
|
|
332
|
-
if (
|
|
332
|
+
if (y(e, l)) {
|
|
333
333
|
var _ = void 0;
|
|
334
334
|
try {
|
|
335
335
|
if (typeof e[l] != "function") {
|
|
336
|
-
var
|
|
337
|
-
throw
|
|
336
|
+
var D = Error((n || "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 D.name = "Invariant Violation", D;
|
|
338
338
|
}
|
|
339
|
-
_ = e[l](t, l,
|
|
339
|
+
_ = e[l](t, l, n, r, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
340
340
|
} catch (w) {
|
|
341
341
|
_ = w;
|
|
342
342
|
}
|
|
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).",
|
|
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).", n || "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,7 +415,7 @@ function er() {
|
|
|
415
415
|
});
|
|
416
416
|
}
|
|
417
417
|
}
|
|
418
|
-
var tt = function(e, t, r,
|
|
418
|
+
var tt = function(e, t, r, n, f, y, l) {
|
|
419
419
|
var _ = {
|
|
420
420
|
// This tag allows us to uniquely identify this as a React Element
|
|
421
421
|
$$typeof: i,
|
|
@@ -425,7 +425,7 @@ function er() {
|
|
|
425
425
|
ref: r,
|
|
426
426
|
props: l,
|
|
427
427
|
// Record the component responsible for creating this element.
|
|
428
|
-
_owner:
|
|
428
|
+
_owner: y
|
|
429
429
|
};
|
|
430
430
|
return _._store = {}, Object.defineProperty(_._store, "validated", {
|
|
431
431
|
configurable: !1,
|
|
@@ -436,7 +436,7 @@ function er() {
|
|
|
436
436
|
configurable: !1,
|
|
437
437
|
enumerable: !1,
|
|
438
438
|
writable: !1,
|
|
439
|
-
value:
|
|
439
|
+
value: n
|
|
440
440
|
}), Object.defineProperty(_, "_source", {
|
|
441
441
|
configurable: !1,
|
|
442
442
|
enumerable: !1,
|
|
@@ -444,22 +444,22 @@ function er() {
|
|
|
444
444
|
value: f
|
|
445
445
|
}), Object.freeze && (Object.freeze(_.props), Object.freeze(_)), _;
|
|
446
446
|
};
|
|
447
|
-
function rt(e, t, r,
|
|
447
|
+
function rt(e, t, r, n, f) {
|
|
448
448
|
{
|
|
449
|
-
var
|
|
450
|
-
r !== void 0 && (Re(r), _ = "" + r), Ve(t) && (Re(t.key), _ = "" + t.key), Ze(t) && (
|
|
451
|
-
for (
|
|
452
|
-
X.call(t,
|
|
449
|
+
var y, l = {}, _ = null, D = null;
|
|
450
|
+
r !== void 0 && (Re(r), _ = "" + r), Ve(t) && (Re(t.key), _ = "" + t.key), Ze(t) && (D = t.ref, Xe(t, f));
|
|
451
|
+
for (y in t)
|
|
452
|
+
X.call(t, y) && !Je.hasOwnProperty(y) && (l[y] = t[y]);
|
|
453
453
|
if (e && e.defaultProps) {
|
|
454
454
|
var w = e.defaultProps;
|
|
455
|
-
for (
|
|
456
|
-
l[
|
|
455
|
+
for (y in w)
|
|
456
|
+
l[y] === void 0 && (l[y] = w[y]);
|
|
457
457
|
}
|
|
458
|
-
if (_ ||
|
|
458
|
+
if (_ || D) {
|
|
459
459
|
var j = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
460
|
-
_ && Qe(l, j),
|
|
460
|
+
_ && Qe(l, j), D && et(l, j);
|
|
461
461
|
}
|
|
462
|
-
return tt(e, _,
|
|
462
|
+
return tt(e, _, D, f, n, Ee.current, l);
|
|
463
463
|
}
|
|
464
464
|
}
|
|
465
465
|
var fe = O.ReactCurrentOwner, De = O.ReactDebugCurrentFrame;
|
|
@@ -512,8 +512,8 @@ Check the top-level render call using <` + r + ">.");
|
|
|
512
512
|
if (Ne[r])
|
|
513
513
|
return;
|
|
514
514
|
Ne[r] = !0;
|
|
515
|
-
var
|
|
516
|
-
e && e._owner && e._owner !== fe.current && (
|
|
515
|
+
var n = "";
|
|
516
|
+
e && e._owner && e._owner !== fe.current && (n = " It was passed a child from " + k(e._owner.type) + "."), J(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, n), J(null);
|
|
517
517
|
}
|
|
518
518
|
}
|
|
519
519
|
function Ie(e, t) {
|
|
@@ -522,15 +522,15 @@ Check the top-level render call using <` + r + ">.");
|
|
|
522
522
|
return;
|
|
523
523
|
if (de(e))
|
|
524
524
|
for (var r = 0; r < e.length; r++) {
|
|
525
|
-
var
|
|
526
|
-
me(
|
|
525
|
+
var n = e[r];
|
|
526
|
+
me(n) && Fe(n, t);
|
|
527
527
|
}
|
|
528
528
|
else if (me(e))
|
|
529
529
|
e._store && (e._store.validated = !0);
|
|
530
530
|
else if (e) {
|
|
531
531
|
var f = I(e);
|
|
532
532
|
if (typeof f == "function" && f !== e.entries)
|
|
533
|
-
for (var
|
|
533
|
+
for (var y = f.call(e), l; !(l = y.next()).done; )
|
|
534
534
|
me(l.value) && Fe(l.value, t);
|
|
535
535
|
}
|
|
536
536
|
}
|
|
@@ -550,8 +550,8 @@ Check the top-level render call using <` + r + ">.");
|
|
|
550
550
|
else
|
|
551
551
|
return;
|
|
552
552
|
if (r) {
|
|
553
|
-
var
|
|
554
|
-
Ye(r, e.props, "prop",
|
|
553
|
+
var n = k(t);
|
|
554
|
+
Ye(r, e.props, "prop", n, e);
|
|
555
555
|
} else if (t.PropTypes !== void 0 && !pe) {
|
|
556
556
|
pe = !0;
|
|
557
557
|
var f = k(t);
|
|
@@ -563,9 +563,9 @@ Check the top-level render call using <` + r + ">.");
|
|
|
563
563
|
function it(e) {
|
|
564
564
|
{
|
|
565
565
|
for (var t = Object.keys(e.props), r = 0; r < t.length; r++) {
|
|
566
|
-
var
|
|
567
|
-
if (
|
|
568
|
-
J(e), p("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",
|
|
566
|
+
var n = t[r];
|
|
567
|
+
if (n !== "children" && n !== "key") {
|
|
568
|
+
J(e), p("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", n), J(null);
|
|
569
569
|
break;
|
|
570
570
|
}
|
|
571
571
|
}
|
|
@@ -573,24 +573,24 @@ Check the top-level render call using <` + r + ">.");
|
|
|
573
573
|
}
|
|
574
574
|
}
|
|
575
575
|
var Me = {};
|
|
576
|
-
function $e(e, t, r,
|
|
576
|
+
function $e(e, t, r, n, f, y) {
|
|
577
577
|
{
|
|
578
578
|
var l = U(e);
|
|
579
579
|
if (!l) {
|
|
580
580
|
var _ = "";
|
|
581
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
|
|
583
|
-
|
|
582
|
+
var D = at();
|
|
583
|
+
D ? _ += D : _ += Pe();
|
|
584
584
|
var w;
|
|
585
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, f,
|
|
587
|
+
var j = rt(e, t, r, f, y);
|
|
588
588
|
if (j == null)
|
|
589
589
|
return j;
|
|
590
590
|
if (l) {
|
|
591
591
|
var B = t.children;
|
|
592
592
|
if (B !== void 0)
|
|
593
|
-
if (
|
|
593
|
+
if (n)
|
|
594
594
|
if (de(B)) {
|
|
595
595
|
for (var Z = 0; Z < B.length; Z++)
|
|
596
596
|
Ie(B[Z], e);
|
|
@@ -628,32 +628,32 @@ React keys must be passed directly to JSX without using spread:
|
|
|
628
628
|
}()), yt;
|
|
629
629
|
}
|
|
630
630
|
process.env.NODE_ENV === "production" ? Tt.exports = Qt() : Tt.exports = er();
|
|
631
|
-
var
|
|
632
|
-
function
|
|
633
|
-
let
|
|
631
|
+
var m = Tt.exports;
|
|
632
|
+
function ba({ name: a, value: i, title: c, style: u, className: v }) {
|
|
633
|
+
let C = {
|
|
634
634
|
field: "progress"
|
|
635
635
|
};
|
|
636
|
-
return 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 = {};
|
|
642
|
-
te.KeyDown = (
|
|
643
|
-
|
|
642
|
+
te.KeyDown = (a) => {
|
|
643
|
+
a.key === "Enter" && a.preventDefault();
|
|
644
644
|
};
|
|
645
|
-
te.PasteOne = (
|
|
646
|
-
|
|
645
|
+
te.PasteOne = (a) => {
|
|
646
|
+
a.preventDefault(), navigator.clipboard.readText().then((i) => {
|
|
647
647
|
i = i.replace(/^\s*/, "").replace(/\s*$/, ""), window.document.execCommand("insertText", !1, i);
|
|
648
648
|
}).catch((i) => {
|
|
649
649
|
});
|
|
650
650
|
};
|
|
651
|
-
te.Paste = (
|
|
651
|
+
te.Paste = (a, i) => {
|
|
652
652
|
i.preventDefault(), navigator.clipboard.readText().then((c) => {
|
|
653
|
-
if (
|
|
653
|
+
if (a) {
|
|
654
654
|
let u = i.target.textContent.length;
|
|
655
|
-
if (u >=
|
|
656
|
-
|
|
655
|
+
if (u >= a) return;
|
|
656
|
+
a -= u, c = c.slice(0, a);
|
|
657
657
|
}
|
|
658
658
|
window.document.execCommand(
|
|
659
659
|
"insertText",
|
|
@@ -663,39 +663,40 @@ te.Paste = (n, i) => {
|
|
|
663
663
|
}).catch((c) => {
|
|
664
664
|
});
|
|
665
665
|
};
|
|
666
|
-
te.Focus = (
|
|
667
|
-
|
|
666
|
+
te.Focus = (a) => {
|
|
667
|
+
a.target.textContent.length === 0 && (a.target.innerHTML = "<br>");
|
|
668
668
|
};
|
|
669
|
-
te.Blur = (
|
|
670
|
-
|
|
669
|
+
te.Blur = (a) => {
|
|
670
|
+
a.target.scrollLeft = 0, a.target.querySelector("br") !== null && a.target.querySelector("br").remove();
|
|
671
671
|
};
|
|
672
672
|
te.ContentEditable = "plaintext-only";
|
|
673
|
-
const tr = "_l_zoh94_13", rr = "_f_zoh94_37", ar = "_n_zoh94_55", nr = "_w_zoh94_60", or = "_t_zoh94_70", ir = "_g_zoh94_75", V = {
|
|
673
|
+
const tr = "_l_zoh94_13", rr = "_f_zoh94_37", ar = "_n_zoh94_55", nr = "_w_zoh94_60", or = "_t_zoh94_70", ir = "_g_zoh94_75", _r = "_h_zoh94_79", V = {
|
|
674
674
|
l: tr,
|
|
675
675
|
f: rr,
|
|
676
676
|
n: ar,
|
|
677
677
|
w: nr,
|
|
678
678
|
t: or,
|
|
679
|
-
g: ir
|
|
679
|
+
g: ir,
|
|
680
|
+
h: _r
|
|
680
681
|
}, pt = Jt(
|
|
681
682
|
({
|
|
682
|
-
element_blok:
|
|
683
|
+
element_blok: a,
|
|
683
684
|
element_input: i,
|
|
684
685
|
type: c = "input",
|
|
685
686
|
title: u,
|
|
686
687
|
before: v,
|
|
687
|
-
after:
|
|
688
|
-
children:
|
|
689
|
-
}, x) => /* @__PURE__ */
|
|
688
|
+
after: C,
|
|
689
|
+
children: T
|
|
690
|
+
}, x) => /* @__PURE__ */ m.jsxs(
|
|
690
691
|
"dl",
|
|
691
692
|
{
|
|
692
693
|
"data-field": c,
|
|
693
694
|
...i.props,
|
|
694
|
-
className: [V.l, ...
|
|
695
|
+
className: [V.l, ...a.className].filter((s) => s !== void 0).join(" "),
|
|
695
696
|
children: [
|
|
696
|
-
u ? /* @__PURE__ */
|
|
697
|
+
u ? /* @__PURE__ */ m.jsx("dt", { className: V.t, children: u }) : "",
|
|
697
698
|
v,
|
|
698
|
-
/* @__PURE__ */
|
|
699
|
+
/* @__PURE__ */ m.jsx(
|
|
699
700
|
"dd",
|
|
700
701
|
{
|
|
701
702
|
ref: x,
|
|
@@ -703,29 +704,29 @@ const tr = "_l_zoh94_13", rr = "_f_zoh94_37", ar = "_n_zoh94_55", nr = "_w_zoh94
|
|
|
703
704
|
" "
|
|
704
705
|
),
|
|
705
706
|
...i.props,
|
|
706
|
-
children:
|
|
707
|
+
children: T
|
|
707
708
|
}
|
|
708
709
|
),
|
|
709
|
-
|
|
710
|
+
C
|
|
710
711
|
]
|
|
711
712
|
}
|
|
712
713
|
)
|
|
713
714
|
);
|
|
714
|
-
function
|
|
715
|
-
id:
|
|
715
|
+
function ka({
|
|
716
|
+
id: a,
|
|
716
717
|
value: i,
|
|
717
718
|
onValue: c,
|
|
718
719
|
name: u,
|
|
719
720
|
placeholder: v = "",
|
|
720
|
-
title:
|
|
721
|
-
error:
|
|
721
|
+
title: C = "",
|
|
722
|
+
error: T = "",
|
|
722
723
|
hide: x = !1,
|
|
723
724
|
edit: s = !0,
|
|
724
725
|
active: g = !0,
|
|
725
726
|
after: o = "",
|
|
726
727
|
before: d = "",
|
|
727
728
|
show: b = !0,
|
|
728
|
-
maxLength:
|
|
729
|
+
maxLength: S,
|
|
729
730
|
onSave: N,
|
|
730
731
|
className: A = "",
|
|
731
732
|
isCopy: I = !0,
|
|
@@ -738,20 +739,20 @@ function ba({
|
|
|
738
739
|
reload: O
|
|
739
740
|
});
|
|
740
741
|
}, K = (E) => {
|
|
741
|
-
|
|
742
|
+
S && E.target.textContent.trim().length >= S && E.key !== "Backspace" && E.preventDefault(), E.key === "Enter" && E.preventDefault();
|
|
742
743
|
}, G = (E) => {
|
|
743
|
-
E.preventDefault(), navigator.clipboard.readText().then((
|
|
744
|
-
if (
|
|
744
|
+
E.preventDefault(), navigator.clipboard.readText().then((P) => {
|
|
745
|
+
if (S) {
|
|
745
746
|
let U = E.target.textContent.length;
|
|
746
|
-
if (U >=
|
|
747
|
-
|
|
747
|
+
if (U >= S) return;
|
|
748
|
+
S -= U, P = P.slice(0, S);
|
|
748
749
|
}
|
|
749
750
|
window.document.execCommand(
|
|
750
751
|
"insertText",
|
|
751
752
|
!1,
|
|
752
|
-
|
|
753
|
+
P.replace(/(\r\n|\n|\r)/gm, " ")
|
|
753
754
|
);
|
|
754
|
-
}).catch((
|
|
755
|
+
}).catch((P) => {
|
|
755
756
|
});
|
|
756
757
|
};
|
|
757
758
|
if (!(s && g) && !b || !(s && g) && p) return "";
|
|
@@ -760,14 +761,14 @@ function ba({
|
|
|
760
761
|
const q = (E) => {
|
|
761
762
|
te.Blur(E), N == null || N({ value: E.target.textContent.trim(), name: u });
|
|
762
763
|
};
|
|
763
|
-
return /* @__PURE__ */
|
|
764
|
+
return /* @__PURE__ */ m.jsx(
|
|
764
765
|
pt,
|
|
765
766
|
{
|
|
766
767
|
type: "input",
|
|
767
|
-
title:
|
|
768
|
+
title: C,
|
|
768
769
|
element_blok: { className: [A] },
|
|
769
770
|
element_input: { className: [V.w] },
|
|
770
|
-
children: /* @__PURE__ */
|
|
771
|
+
children: /* @__PURE__ */ m.jsx(
|
|
771
772
|
"div",
|
|
772
773
|
{
|
|
773
774
|
onBlur: q,
|
|
@@ -795,18 +796,18 @@ var Dt = { exports: {} }, vt = {};
|
|
|
795
796
|
* LICENSE file in the root directory of this source tree.
|
|
796
797
|
*/
|
|
797
798
|
var Bt;
|
|
798
|
-
function
|
|
799
|
+
function sr() {
|
|
799
800
|
if (Bt) return vt;
|
|
800
801
|
Bt = 1;
|
|
801
|
-
var
|
|
802
|
-
function
|
|
803
|
-
var o, d = {}, b = null,
|
|
804
|
-
g !== void 0 && (b = "" + g), s.key !== void 0 && (b = "" + s.key), s.ref !== void 0 && (
|
|
805
|
-
for (o in s) u.call(s, o) && !
|
|
802
|
+
var a = W, i = Symbol.for("react.element"), c = Symbol.for("react.fragment"), u = Object.prototype.hasOwnProperty, v = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, C = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
803
|
+
function T(x, s, g) {
|
|
804
|
+
var o, d = {}, b = null, S = null;
|
|
805
|
+
g !== void 0 && (b = "" + g), s.key !== void 0 && (b = "" + s.key), s.ref !== void 0 && (S = s.ref);
|
|
806
|
+
for (o in s) u.call(s, o) && !C.hasOwnProperty(o) && (d[o] = s[o]);
|
|
806
807
|
if (x && x.defaultProps) for (o in s = x.defaultProps, s) d[o] === void 0 && (d[o] = s[o]);
|
|
807
|
-
return { $$typeof: i, type: x, key: b, ref:
|
|
808
|
+
return { $$typeof: i, type: x, key: b, ref: S, props: d, _owner: v.current };
|
|
808
809
|
}
|
|
809
|
-
return vt.Fragment = c, vt.jsx =
|
|
810
|
+
return vt.Fragment = c, vt.jsx = T, vt.jsxs = T, vt;
|
|
810
811
|
}
|
|
811
812
|
var kt = {};
|
|
812
813
|
/**
|
|
@@ -819,46 +820,46 @@ var kt = {};
|
|
|
819
820
|
* LICENSE file in the root directory of this source tree.
|
|
820
821
|
*/
|
|
821
822
|
var Lt;
|
|
822
|
-
function
|
|
823
|
+
function lr() {
|
|
823
824
|
return Lt || (Lt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
824
|
-
var
|
|
825
|
+
var a = W, 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"), T = 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";
|
|
825
826
|
function I(e) {
|
|
826
827
|
if (e === null || typeof e != "object")
|
|
827
828
|
return null;
|
|
828
829
|
var t = N && e[N] || e[A];
|
|
829
830
|
return typeof t == "function" ? t : null;
|
|
830
831
|
}
|
|
831
|
-
var O =
|
|
832
|
+
var O = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
832
833
|
function p(e) {
|
|
833
834
|
{
|
|
834
|
-
for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0),
|
|
835
|
-
r[
|
|
835
|
+
for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), n = 1; n < t; n++)
|
|
836
|
+
r[n - 1] = arguments[n];
|
|
836
837
|
M("error", e, r);
|
|
837
838
|
}
|
|
838
839
|
}
|
|
839
840
|
function M(e, t, r) {
|
|
840
841
|
{
|
|
841
|
-
var
|
|
842
|
+
var n = O.ReactDebugCurrentFrame, f = n.getStackAddendum();
|
|
842
843
|
f !== "" && (t += "%s", r = r.concat([f]));
|
|
843
|
-
var
|
|
844
|
+
var y = r.map(function(l) {
|
|
844
845
|
return String(l);
|
|
845
846
|
});
|
|
846
|
-
|
|
847
|
+
y.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, y);
|
|
847
848
|
}
|
|
848
849
|
}
|
|
849
|
-
var K = !1, G = !1, L = !1, q = !1, E = !1,
|
|
850
|
-
|
|
850
|
+
var K = !1, G = !1, L = !1, q = !1, E = !1, P;
|
|
851
|
+
P = Symbol.for("react.module.reference");
|
|
851
852
|
function U(e) {
|
|
852
|
-
return !!(typeof e == "string" || typeof e == "function" || e === u || e ===
|
|
853
|
+
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 === T || e.$$typeof === x || e.$$typeof === s || // This needs to include all possible module reference object
|
|
853
854
|
// types supported by any Flight configuration anywhere since
|
|
854
855
|
// we don't know which Flight build this will end up being used
|
|
855
856
|
// with.
|
|
856
|
-
e.$$typeof ===
|
|
857
|
+
e.$$typeof === P || e.getModuleId !== void 0));
|
|
857
858
|
}
|
|
858
859
|
function R(e, t, r) {
|
|
859
|
-
var
|
|
860
|
-
if (
|
|
861
|
-
return
|
|
860
|
+
var n = e.displayName;
|
|
861
|
+
if (n)
|
|
862
|
+
return n;
|
|
862
863
|
var f = t.displayName || t.name || "";
|
|
863
864
|
return f !== "" ? r + "(" + f + ")" : r;
|
|
864
865
|
}
|
|
@@ -877,7 +878,7 @@ function sr() {
|
|
|
877
878
|
return "Fragment";
|
|
878
879
|
case c:
|
|
879
880
|
return "Portal";
|
|
880
|
-
case
|
|
881
|
+
case C:
|
|
881
882
|
return "Profiler";
|
|
882
883
|
case v:
|
|
883
884
|
return "StrictMode";
|
|
@@ -891,18 +892,18 @@ function sr() {
|
|
|
891
892
|
case x:
|
|
892
893
|
var t = e;
|
|
893
894
|
return h(t) + ".Consumer";
|
|
894
|
-
case
|
|
895
|
+
case T:
|
|
895
896
|
var r = e;
|
|
896
897
|
return h(r._context) + ".Provider";
|
|
897
898
|
case s:
|
|
898
899
|
return R(e, e.render, "ForwardRef");
|
|
899
900
|
case d:
|
|
900
|
-
var
|
|
901
|
-
return
|
|
901
|
+
var n = e.displayName || null;
|
|
902
|
+
return n !== null ? n : k(e.type) || "Memo";
|
|
902
903
|
case b: {
|
|
903
|
-
var f = e,
|
|
904
|
+
var f = e, y = f._payload, l = f._init;
|
|
904
905
|
try {
|
|
905
|
-
return k(l(
|
|
906
|
+
return k(l(y));
|
|
906
907
|
} catch {
|
|
907
908
|
return null;
|
|
908
909
|
}
|
|
@@ -979,8 +980,8 @@ function sr() {
|
|
|
979
980
|
try {
|
|
980
981
|
throw Error();
|
|
981
982
|
} catch (f) {
|
|
982
|
-
var
|
|
983
|
-
ce =
|
|
983
|
+
var n = f.stack.trim().match(/\n( *(at )?)/);
|
|
984
|
+
ce = n && n[1] || "";
|
|
984
985
|
}
|
|
985
986
|
return `
|
|
986
987
|
` + ce + e;
|
|
@@ -999,12 +1000,12 @@ function sr() {
|
|
|
999
1000
|
if (r !== void 0)
|
|
1000
1001
|
return r;
|
|
1001
1002
|
}
|
|
1002
|
-
var
|
|
1003
|
+
var n;
|
|
1003
1004
|
ue = !0;
|
|
1004
1005
|
var f = Error.prepareStackTrace;
|
|
1005
1006
|
Error.prepareStackTrace = void 0;
|
|
1006
|
-
var
|
|
1007
|
-
|
|
1007
|
+
var y;
|
|
1008
|
+
y = le.current, le.current = null, Le();
|
|
1008
1009
|
try {
|
|
1009
1010
|
if (t) {
|
|
1010
1011
|
var l = function() {
|
|
@@ -1018,14 +1019,14 @@ function sr() {
|
|
|
1018
1019
|
try {
|
|
1019
1020
|
Reflect.construct(l, []);
|
|
1020
1021
|
} catch (F) {
|
|
1021
|
-
|
|
1022
|
+
n = F;
|
|
1022
1023
|
}
|
|
1023
1024
|
Reflect.construct(e, [], l);
|
|
1024
1025
|
} else {
|
|
1025
1026
|
try {
|
|
1026
1027
|
l.call();
|
|
1027
1028
|
} catch (F) {
|
|
1028
|
-
|
|
1029
|
+
n = F;
|
|
1029
1030
|
}
|
|
1030
1031
|
e.call(l.prototype);
|
|
1031
1032
|
}
|
|
@@ -1033,21 +1034,21 @@ function sr() {
|
|
|
1033
1034
|
try {
|
|
1034
1035
|
throw Error();
|
|
1035
1036
|
} catch (F) {
|
|
1036
|
-
|
|
1037
|
+
n = F;
|
|
1037
1038
|
}
|
|
1038
1039
|
e();
|
|
1039
1040
|
}
|
|
1040
1041
|
} catch (F) {
|
|
1041
|
-
if (F &&
|
|
1042
|
+
if (F && n && typeof F.stack == "string") {
|
|
1042
1043
|
for (var _ = F.stack.split(`
|
|
1043
|
-
`),
|
|
1044
|
-
`), w = _.length - 1, j =
|
|
1044
|
+
`), D = n.stack.split(`
|
|
1045
|
+
`), w = _.length - 1, j = D.length - 1; w >= 1 && j >= 0 && _[w] !== D[j]; )
|
|
1045
1046
|
j--;
|
|
1046
1047
|
for (; w >= 1 && j >= 0; w--, j--)
|
|
1047
|
-
if (_[w] !==
|
|
1048
|
+
if (_[w] !== D[j]) {
|
|
1048
1049
|
if (w !== 1 || j !== 1)
|
|
1049
1050
|
do
|
|
1050
|
-
if (w--, j--, j < 0 || _[w] !==
|
|
1051
|
+
if (w--, j--, j < 0 || _[w] !== D[j]) {
|
|
1051
1052
|
var B = `
|
|
1052
1053
|
` + _[w].replace(" at new ", " at ");
|
|
1053
1054
|
return e.displayName && B.includes("<anonymous>") && (B = B.replace("<anonymous>", e.displayName)), typeof e == "function" && ae.set(e, B), B;
|
|
@@ -1057,7 +1058,7 @@ function sr() {
|
|
|
1057
1058
|
}
|
|
1058
1059
|
}
|
|
1059
1060
|
} finally {
|
|
1060
|
-
ue = !1, le.current =
|
|
1061
|
+
ue = !1, le.current = y, We(), Error.prepareStackTrace = f;
|
|
1061
1062
|
}
|
|
1062
1063
|
var Z = e ? e.displayName || e.name : "", z = Z ? re(Z) : "";
|
|
1063
1064
|
return typeof e == "function" && ae.set(e, z), z;
|
|
@@ -1089,9 +1090,9 @@ function sr() {
|
|
|
1089
1090
|
case d:
|
|
1090
1091
|
return ne(e.type, t, r);
|
|
1091
1092
|
case b: {
|
|
1092
|
-
var
|
|
1093
|
+
var n = e, f = n._payload, y = n._init;
|
|
1093
1094
|
try {
|
|
1094
|
-
return ne(
|
|
1095
|
+
return ne(y(f), t, r);
|
|
1095
1096
|
} catch {
|
|
1096
1097
|
}
|
|
1097
1098
|
}
|
|
@@ -1106,22 +1107,22 @@ function sr() {
|
|
|
1106
1107
|
} else
|
|
1107
1108
|
Ce.setExtraStackFrame(null);
|
|
1108
1109
|
}
|
|
1109
|
-
function Ye(e, t, r,
|
|
1110
|
+
function Ye(e, t, r, n, f) {
|
|
1110
1111
|
{
|
|
1111
|
-
var
|
|
1112
|
+
var y = Function.call.bind(X);
|
|
1112
1113
|
for (var l in e)
|
|
1113
|
-
if (
|
|
1114
|
+
if (y(e, l)) {
|
|
1114
1115
|
var _ = void 0;
|
|
1115
1116
|
try {
|
|
1116
1117
|
if (typeof e[l] != "function") {
|
|
1117
|
-
var
|
|
1118
|
-
throw
|
|
1118
|
+
var D = Error((n || "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`.");
|
|
1119
|
+
throw D.name = "Invariant Violation", D;
|
|
1119
1120
|
}
|
|
1120
|
-
_ = e[l](t, l,
|
|
1121
|
+
_ = e[l](t, l, n, r, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
1121
1122
|
} catch (w) {
|
|
1122
1123
|
_ = w;
|
|
1123
1124
|
}
|
|
1124
|
-
_ && !(_ 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).",
|
|
1125
|
+
_ && !(_ 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).", n || "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));
|
|
1125
1126
|
}
|
|
1126
1127
|
}
|
|
1127
1128
|
}
|
|
@@ -1196,7 +1197,7 @@ function sr() {
|
|
|
1196
1197
|
});
|
|
1197
1198
|
}
|
|
1198
1199
|
}
|
|
1199
|
-
var tt = function(e, t, r,
|
|
1200
|
+
var tt = function(e, t, r, n, f, y, l) {
|
|
1200
1201
|
var _ = {
|
|
1201
1202
|
// This tag allows us to uniquely identify this as a React Element
|
|
1202
1203
|
$$typeof: i,
|
|
@@ -1206,7 +1207,7 @@ function sr() {
|
|
|
1206
1207
|
ref: r,
|
|
1207
1208
|
props: l,
|
|
1208
1209
|
// Record the component responsible for creating this element.
|
|
1209
|
-
_owner:
|
|
1210
|
+
_owner: y
|
|
1210
1211
|
};
|
|
1211
1212
|
return _._store = {}, Object.defineProperty(_._store, "validated", {
|
|
1212
1213
|
configurable: !1,
|
|
@@ -1217,7 +1218,7 @@ function sr() {
|
|
|
1217
1218
|
configurable: !1,
|
|
1218
1219
|
enumerable: !1,
|
|
1219
1220
|
writable: !1,
|
|
1220
|
-
value:
|
|
1221
|
+
value: n
|
|
1221
1222
|
}), Object.defineProperty(_, "_source", {
|
|
1222
1223
|
configurable: !1,
|
|
1223
1224
|
enumerable: !1,
|
|
@@ -1225,22 +1226,22 @@ function sr() {
|
|
|
1225
1226
|
value: f
|
|
1226
1227
|
}), Object.freeze && (Object.freeze(_.props), Object.freeze(_)), _;
|
|
1227
1228
|
};
|
|
1228
|
-
function rt(e, t, r,
|
|
1229
|
+
function rt(e, t, r, n, f) {
|
|
1229
1230
|
{
|
|
1230
|
-
var
|
|
1231
|
-
r !== void 0 && (Re(r), _ = "" + r), Ve(t) && (Re(t.key), _ = "" + t.key), Ze(t) && (
|
|
1232
|
-
for (
|
|
1233
|
-
X.call(t,
|
|
1231
|
+
var y, l = {}, _ = null, D = null;
|
|
1232
|
+
r !== void 0 && (Re(r), _ = "" + r), Ve(t) && (Re(t.key), _ = "" + t.key), Ze(t) && (D = t.ref, Xe(t));
|
|
1233
|
+
for (y in t)
|
|
1234
|
+
X.call(t, y) && !Je.hasOwnProperty(y) && (l[y] = t[y]);
|
|
1234
1235
|
if (e && e.defaultProps) {
|
|
1235
1236
|
var w = e.defaultProps;
|
|
1236
|
-
for (
|
|
1237
|
-
l[
|
|
1237
|
+
for (y in w)
|
|
1238
|
+
l[y] === void 0 && (l[y] = w[y]);
|
|
1238
1239
|
}
|
|
1239
|
-
if (_ ||
|
|
1240
|
+
if (_ || D) {
|
|
1240
1241
|
var j = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
1241
|
-
_ && Qe(l, j),
|
|
1242
|
+
_ && Qe(l, j), D && et(l, j);
|
|
1242
1243
|
}
|
|
1243
|
-
return tt(e, _,
|
|
1244
|
+
return tt(e, _, D, f, n, Ee.current, l);
|
|
1244
1245
|
}
|
|
1245
1246
|
}
|
|
1246
1247
|
var fe = O.ReactCurrentOwner, De = O.ReactDebugCurrentFrame;
|
|
@@ -1293,8 +1294,8 @@ Check the top-level render call using <` + r + ">.");
|
|
|
1293
1294
|
if (Ne[r])
|
|
1294
1295
|
return;
|
|
1295
1296
|
Ne[r] = !0;
|
|
1296
|
-
var
|
|
1297
|
-
e && e._owner && e._owner !== fe.current && (
|
|
1297
|
+
var n = "";
|
|
1298
|
+
e && e._owner && e._owner !== fe.current && (n = " It was passed a child from " + k(e._owner.type) + "."), J(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, n), J(null);
|
|
1298
1299
|
}
|
|
1299
1300
|
}
|
|
1300
1301
|
function Ie(e, t) {
|
|
@@ -1303,15 +1304,15 @@ Check the top-level render call using <` + r + ">.");
|
|
|
1303
1304
|
return;
|
|
1304
1305
|
if (de(e))
|
|
1305
1306
|
for (var r = 0; r < e.length; r++) {
|
|
1306
|
-
var
|
|
1307
|
-
me(
|
|
1307
|
+
var n = e[r];
|
|
1308
|
+
me(n) && Fe(n, t);
|
|
1308
1309
|
}
|
|
1309
1310
|
else if (me(e))
|
|
1310
1311
|
e._store && (e._store.validated = !0);
|
|
1311
1312
|
else if (e) {
|
|
1312
1313
|
var f = I(e);
|
|
1313
1314
|
if (typeof f == "function" && f !== e.entries)
|
|
1314
|
-
for (var
|
|
1315
|
+
for (var y = f.call(e), l; !(l = y.next()).done; )
|
|
1315
1316
|
me(l.value) && Fe(l.value, t);
|
|
1316
1317
|
}
|
|
1317
1318
|
}
|
|
@@ -1331,8 +1332,8 @@ Check the top-level render call using <` + r + ">.");
|
|
|
1331
1332
|
else
|
|
1332
1333
|
return;
|
|
1333
1334
|
if (r) {
|
|
1334
|
-
var
|
|
1335
|
-
Ye(r, e.props, "prop",
|
|
1335
|
+
var n = k(t);
|
|
1336
|
+
Ye(r, e.props, "prop", n, e);
|
|
1336
1337
|
} else if (t.PropTypes !== void 0 && !pe) {
|
|
1337
1338
|
pe = !0;
|
|
1338
1339
|
var f = k(t);
|
|
@@ -1344,9 +1345,9 @@ Check the top-level render call using <` + r + ">.");
|
|
|
1344
1345
|
function it(e) {
|
|
1345
1346
|
{
|
|
1346
1347
|
for (var t = Object.keys(e.props), r = 0; r < t.length; r++) {
|
|
1347
|
-
var
|
|
1348
|
-
if (
|
|
1349
|
-
J(e), p("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",
|
|
1348
|
+
var n = t[r];
|
|
1349
|
+
if (n !== "children" && n !== "key") {
|
|
1350
|
+
J(e), p("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", n), J(null);
|
|
1350
1351
|
break;
|
|
1351
1352
|
}
|
|
1352
1353
|
}
|
|
@@ -1354,24 +1355,24 @@ Check the top-level render call using <` + r + ">.");
|
|
|
1354
1355
|
}
|
|
1355
1356
|
}
|
|
1356
1357
|
var Me = {};
|
|
1357
|
-
function $e(e, t, r,
|
|
1358
|
+
function $e(e, t, r, n, f, y) {
|
|
1358
1359
|
{
|
|
1359
1360
|
var l = U(e);
|
|
1360
1361
|
if (!l) {
|
|
1361
1362
|
var _ = "";
|
|
1362
1363
|
(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.");
|
|
1363
|
-
var
|
|
1364
|
-
|
|
1364
|
+
var D = at();
|
|
1365
|
+
D ? _ += D : _ += Pe();
|
|
1365
1366
|
var w;
|
|
1366
1367
|
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, _);
|
|
1367
1368
|
}
|
|
1368
|
-
var j = rt(e, t, r, f,
|
|
1369
|
+
var j = rt(e, t, r, f, y);
|
|
1369
1370
|
if (j == null)
|
|
1370
1371
|
return j;
|
|
1371
1372
|
if (l) {
|
|
1372
1373
|
var B = t.children;
|
|
1373
1374
|
if (B !== void 0)
|
|
1374
|
-
if (
|
|
1375
|
+
if (n)
|
|
1375
1376
|
if (de(B)) {
|
|
1376
1377
|
for (var Z = 0; Z < B.length; Z++)
|
|
1377
1378
|
Ie(B[Z], e);
|
|
@@ -1408,52 +1409,52 @@ React keys must be passed directly to JSX without using spread:
|
|
|
1408
1409
|
kt.Fragment = u, kt.jsx = lt, kt.jsxs = ct;
|
|
1409
1410
|
}()), kt;
|
|
1410
1411
|
}
|
|
1411
|
-
process.env.NODE_ENV === "production" ? Dt.exports =
|
|
1412
|
+
process.env.NODE_ENV === "production" ? Dt.exports = sr() : Dt.exports = lr();
|
|
1412
1413
|
var H = Dt.exports;
|
|
1413
|
-
const
|
|
1414
|
-
shake:
|
|
1415
|
-
modal:
|
|
1416
|
-
sa:
|
|
1417
|
-
ss:
|
|
1418
|
-
sm:
|
|
1419
|
-
sl:
|
|
1420
|
-
sx:
|
|
1421
|
-
sf:
|
|
1422
|
-
o:
|
|
1423
|
-
b:
|
|
1424
|
-
w:
|
|
1425
|
-
h:
|
|
1426
|
-
l:
|
|
1427
|
-
t:
|
|
1428
|
-
x:
|
|
1429
|
-
s:
|
|
1430
|
-
c:
|
|
1431
|
-
f:
|
|
1432
|
-
r_:
|
|
1433
|
-
c_:
|
|
1434
|
-
g:
|
|
1435
|
-
m:
|
|
1414
|
+
const cr = "_shake_oqfdb_1", ur = "_modal_oqfdb_79", dr = "_sa_oqfdb_89", fr = "_ss_oqfdb_94", pr = "_sm_oqfdb_98", mr = "_sl_oqfdb_102", yr = "_sx_oqfdb_106", vr = "_sf_oqfdb_110", gr = "_o_oqfdb_116", hr = "_b_oqfdb_28", br = "_w_oqfdb_15", kr = "_h_oqfdb_146", wr = "_l_oqfdb_160", jr = "_t_oqfdb_197", xr = "_x_oqfdb_201", Cr = "_s_oqfdb_89", Sr = "_c_oqfdb_219", Rr = "_f_oqfdb_224", Er = "_r__oqfdb_235", Or = "_c__oqfdb_250", Tr = "_g_oqfdb_259", Dr = "_m_oqfdb_79", _e = {
|
|
1415
|
+
shake: cr,
|
|
1416
|
+
modal: ur,
|
|
1417
|
+
sa: dr,
|
|
1418
|
+
ss: fr,
|
|
1419
|
+
sm: pr,
|
|
1420
|
+
sl: mr,
|
|
1421
|
+
sx: yr,
|
|
1422
|
+
sf: vr,
|
|
1423
|
+
o: gr,
|
|
1424
|
+
b: hr,
|
|
1425
|
+
w: br,
|
|
1426
|
+
h: kr,
|
|
1427
|
+
l: wr,
|
|
1428
|
+
t: jr,
|
|
1429
|
+
x: xr,
|
|
1430
|
+
s: Cr,
|
|
1431
|
+
c: Sr,
|
|
1432
|
+
f: Rr,
|
|
1433
|
+
r_: Er,
|
|
1434
|
+
c_: Or,
|
|
1435
|
+
g: Tr,
|
|
1436
|
+
m: Dr
|
|
1436
1437
|
};
|
|
1437
|
-
function
|
|
1438
|
+
function Pr({ children: a, className: i }) {
|
|
1438
1439
|
return /* @__PURE__ */ H.jsx(
|
|
1439
1440
|
"div",
|
|
1440
1441
|
{
|
|
1441
1442
|
className: [_e.l, i].filter((c) => c !== void 0).join(" "),
|
|
1442
|
-
children: /* @__PURE__ */ H.jsx("ul", { children:
|
|
1443
|
+
children: /* @__PURE__ */ H.jsx("ul", { children: a })
|
|
1443
1444
|
}
|
|
1444
1445
|
);
|
|
1445
1446
|
}
|
|
1446
|
-
function
|
|
1447
|
+
function Nr({ children: a, className: i }) {
|
|
1447
1448
|
return /* @__PURE__ */ H.jsx(
|
|
1448
1449
|
"div",
|
|
1449
1450
|
{
|
|
1450
1451
|
className: [_e.s, i].filter((c) => c !== void 0).join(" "),
|
|
1451
|
-
children:
|
|
1452
|
+
children: a
|
|
1452
1453
|
}
|
|
1453
1454
|
);
|
|
1454
1455
|
}
|
|
1455
|
-
function
|
|
1456
|
-
children:
|
|
1456
|
+
function Fr({
|
|
1457
|
+
children: a,
|
|
1457
1458
|
direction: i = "column",
|
|
1458
1459
|
className: c
|
|
1459
1460
|
}) {
|
|
@@ -1465,33 +1466,33 @@ function Nr({
|
|
|
1465
1466
|
_e[i === "row" ? "r_" : "c_"],
|
|
1466
1467
|
c
|
|
1467
1468
|
].filter((u) => u !== void 0).join(" "),
|
|
1468
|
-
children:
|
|
1469
|
+
children: a
|
|
1469
1470
|
}
|
|
1470
1471
|
);
|
|
1471
1472
|
}
|
|
1472
|
-
function
|
|
1473
|
+
function Ir({ children: a, className: i }) {
|
|
1473
1474
|
return /* @__PURE__ */ H.jsx(
|
|
1474
1475
|
"div",
|
|
1475
1476
|
{
|
|
1476
1477
|
className: [_e.c, i].filter((c) => c !== void 0).join(" "),
|
|
1477
|
-
children:
|
|
1478
|
+
children: a
|
|
1478
1479
|
}
|
|
1479
1480
|
);
|
|
1480
1481
|
}
|
|
1481
|
-
function
|
|
1482
|
+
function Mr({ children: a, className: i }) {
|
|
1482
1483
|
return /* @__PURE__ */ H.jsx(
|
|
1483
1484
|
"div",
|
|
1484
1485
|
{
|
|
1485
1486
|
className: [_e.g, i].filter((c) => c !== void 0).join(" "),
|
|
1486
|
-
children:
|
|
1487
|
+
children: a
|
|
1487
1488
|
}
|
|
1488
1489
|
);
|
|
1489
1490
|
}
|
|
1490
|
-
function
|
|
1491
|
+
function $r() {
|
|
1491
1492
|
return typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof self < "u" ? self : typeof global < "u" ? global : {};
|
|
1492
1493
|
}
|
|
1493
|
-
function Wt(
|
|
1494
|
-
return
|
|
1494
|
+
function Wt(a) {
|
|
1495
|
+
return $r().IMPORT_MODULES;
|
|
1495
1496
|
}
|
|
1496
1497
|
var Pt = { exports: {} }, gt = {};
|
|
1497
1498
|
/**
|
|
@@ -1504,18 +1505,18 @@ var Pt = { exports: {} }, gt = {};
|
|
|
1504
1505
|
* LICENSE file in the root directory of this source tree.
|
|
1505
1506
|
*/
|
|
1506
1507
|
var Ut;
|
|
1507
|
-
function
|
|
1508
|
+
function Ar() {
|
|
1508
1509
|
if (Ut) return gt;
|
|
1509
1510
|
Ut = 1;
|
|
1510
|
-
var
|
|
1511
|
-
function
|
|
1512
|
-
var o, d = {}, b = null,
|
|
1513
|
-
g !== void 0 && (b = "" + g), s.key !== void 0 && (b = "" + s.key), s.ref !== void 0 && (
|
|
1514
|
-
for (o in s) u.call(s, o) && !
|
|
1511
|
+
var a = W, i = Symbol.for("react.element"), c = Symbol.for("react.fragment"), u = Object.prototype.hasOwnProperty, v = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, C = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
1512
|
+
function T(x, s, g) {
|
|
1513
|
+
var o, d = {}, b = null, S = null;
|
|
1514
|
+
g !== void 0 && (b = "" + g), s.key !== void 0 && (b = "" + s.key), s.ref !== void 0 && (S = s.ref);
|
|
1515
|
+
for (o in s) u.call(s, o) && !C.hasOwnProperty(o) && (d[o] = s[o]);
|
|
1515
1516
|
if (x && x.defaultProps) for (o in s = x.defaultProps, s) d[o] === void 0 && (d[o] = s[o]);
|
|
1516
|
-
return { $$typeof: i, type: x, key: b, ref:
|
|
1517
|
+
return { $$typeof: i, type: x, key: b, ref: S, props: d, _owner: v.current };
|
|
1517
1518
|
}
|
|
1518
|
-
return gt.Fragment = c, gt.jsx =
|
|
1519
|
+
return gt.Fragment = c, gt.jsx = T, gt.jsxs = T, gt;
|
|
1519
1520
|
}
|
|
1520
1521
|
var wt = {};
|
|
1521
1522
|
/**
|
|
@@ -1528,46 +1529,46 @@ var wt = {};
|
|
|
1528
1529
|
* LICENSE file in the root directory of this source tree.
|
|
1529
1530
|
*/
|
|
1530
1531
|
var Kt;
|
|
1531
|
-
function
|
|
1532
|
+
function Br() {
|
|
1532
1533
|
return Kt || (Kt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
1533
|
-
var
|
|
1534
|
+
var a = W, 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"), T = 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";
|
|
1534
1535
|
function I(e) {
|
|
1535
1536
|
if (e === null || typeof e != "object")
|
|
1536
1537
|
return null;
|
|
1537
1538
|
var t = N && e[N] || e[A];
|
|
1538
1539
|
return typeof t == "function" ? t : null;
|
|
1539
1540
|
}
|
|
1540
|
-
var O =
|
|
1541
|
+
var O = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
1541
1542
|
function p(e) {
|
|
1542
1543
|
{
|
|
1543
|
-
for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0),
|
|
1544
|
-
r[
|
|
1544
|
+
for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), n = 1; n < t; n++)
|
|
1545
|
+
r[n - 1] = arguments[n];
|
|
1545
1546
|
M("error", e, r);
|
|
1546
1547
|
}
|
|
1547
1548
|
}
|
|
1548
1549
|
function M(e, t, r) {
|
|
1549
1550
|
{
|
|
1550
|
-
var
|
|
1551
|
+
var n = O.ReactDebugCurrentFrame, f = n.getStackAddendum();
|
|
1551
1552
|
f !== "" && (t += "%s", r = r.concat([f]));
|
|
1552
|
-
var
|
|
1553
|
+
var y = r.map(function(l) {
|
|
1553
1554
|
return String(l);
|
|
1554
1555
|
});
|
|
1555
|
-
|
|
1556
|
+
y.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, y);
|
|
1556
1557
|
}
|
|
1557
1558
|
}
|
|
1558
|
-
var K = !1, G = !1, L = !1, q = !1, E = !1,
|
|
1559
|
-
|
|
1559
|
+
var K = !1, G = !1, L = !1, q = !1, E = !1, P;
|
|
1560
|
+
P = Symbol.for("react.module.reference");
|
|
1560
1561
|
function U(e) {
|
|
1561
|
-
return !!(typeof e == "string" || typeof e == "function" || e === u || e ===
|
|
1562
|
+
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 === T || e.$$typeof === x || e.$$typeof === s || // This needs to include all possible module reference object
|
|
1562
1563
|
// types supported by any Flight configuration anywhere since
|
|
1563
1564
|
// we don't know which Flight build this will end up being used
|
|
1564
1565
|
// with.
|
|
1565
|
-
e.$$typeof ===
|
|
1566
|
+
e.$$typeof === P || e.getModuleId !== void 0));
|
|
1566
1567
|
}
|
|
1567
1568
|
function R(e, t, r) {
|
|
1568
|
-
var
|
|
1569
|
-
if (
|
|
1570
|
-
return
|
|
1569
|
+
var n = e.displayName;
|
|
1570
|
+
if (n)
|
|
1571
|
+
return n;
|
|
1571
1572
|
var f = t.displayName || t.name || "";
|
|
1572
1573
|
return f !== "" ? r + "(" + f + ")" : r;
|
|
1573
1574
|
}
|
|
@@ -1586,7 +1587,7 @@ function Ar() {
|
|
|
1586
1587
|
return "Fragment";
|
|
1587
1588
|
case c:
|
|
1588
1589
|
return "Portal";
|
|
1589
|
-
case
|
|
1590
|
+
case C:
|
|
1590
1591
|
return "Profiler";
|
|
1591
1592
|
case v:
|
|
1592
1593
|
return "StrictMode";
|
|
@@ -1600,18 +1601,18 @@ function Ar() {
|
|
|
1600
1601
|
case x:
|
|
1601
1602
|
var t = e;
|
|
1602
1603
|
return h(t) + ".Consumer";
|
|
1603
|
-
case
|
|
1604
|
+
case T:
|
|
1604
1605
|
var r = e;
|
|
1605
1606
|
return h(r._context) + ".Provider";
|
|
1606
1607
|
case s:
|
|
1607
1608
|
return R(e, e.render, "ForwardRef");
|
|
1608
1609
|
case d:
|
|
1609
|
-
var
|
|
1610
|
-
return
|
|
1610
|
+
var n = e.displayName || null;
|
|
1611
|
+
return n !== null ? n : k(e.type) || "Memo";
|
|
1611
1612
|
case b: {
|
|
1612
|
-
var f = e,
|
|
1613
|
+
var f = e, y = f._payload, l = f._init;
|
|
1613
1614
|
try {
|
|
1614
|
-
return k(l(
|
|
1615
|
+
return k(l(y));
|
|
1615
1616
|
} catch {
|
|
1616
1617
|
return null;
|
|
1617
1618
|
}
|
|
@@ -1688,8 +1689,8 @@ function Ar() {
|
|
|
1688
1689
|
try {
|
|
1689
1690
|
throw Error();
|
|
1690
1691
|
} catch (f) {
|
|
1691
|
-
var
|
|
1692
|
-
ce =
|
|
1692
|
+
var n = f.stack.trim().match(/\n( *(at )?)/);
|
|
1693
|
+
ce = n && n[1] || "";
|
|
1693
1694
|
}
|
|
1694
1695
|
return `
|
|
1695
1696
|
` + ce + e;
|
|
@@ -1708,12 +1709,12 @@ function Ar() {
|
|
|
1708
1709
|
if (r !== void 0)
|
|
1709
1710
|
return r;
|
|
1710
1711
|
}
|
|
1711
|
-
var
|
|
1712
|
+
var n;
|
|
1712
1713
|
ue = !0;
|
|
1713
1714
|
var f = Error.prepareStackTrace;
|
|
1714
1715
|
Error.prepareStackTrace = void 0;
|
|
1715
|
-
var
|
|
1716
|
-
|
|
1716
|
+
var y;
|
|
1717
|
+
y = le.current, le.current = null, Le();
|
|
1717
1718
|
try {
|
|
1718
1719
|
if (t) {
|
|
1719
1720
|
var l = function() {
|
|
@@ -1727,14 +1728,14 @@ function Ar() {
|
|
|
1727
1728
|
try {
|
|
1728
1729
|
Reflect.construct(l, []);
|
|
1729
1730
|
} catch (F) {
|
|
1730
|
-
|
|
1731
|
+
n = F;
|
|
1731
1732
|
}
|
|
1732
1733
|
Reflect.construct(e, [], l);
|
|
1733
1734
|
} else {
|
|
1734
1735
|
try {
|
|
1735
1736
|
l.call();
|
|
1736
1737
|
} catch (F) {
|
|
1737
|
-
|
|
1738
|
+
n = F;
|
|
1738
1739
|
}
|
|
1739
1740
|
e.call(l.prototype);
|
|
1740
1741
|
}
|
|
@@ -1742,21 +1743,21 @@ function Ar() {
|
|
|
1742
1743
|
try {
|
|
1743
1744
|
throw Error();
|
|
1744
1745
|
} catch (F) {
|
|
1745
|
-
|
|
1746
|
+
n = F;
|
|
1746
1747
|
}
|
|
1747
1748
|
e();
|
|
1748
1749
|
}
|
|
1749
1750
|
} catch (F) {
|
|
1750
|
-
if (F &&
|
|
1751
|
+
if (F && n && typeof F.stack == "string") {
|
|
1751
1752
|
for (var _ = F.stack.split(`
|
|
1752
|
-
`),
|
|
1753
|
-
`), w = _.length - 1, j =
|
|
1753
|
+
`), D = n.stack.split(`
|
|
1754
|
+
`), w = _.length - 1, j = D.length - 1; w >= 1 && j >= 0 && _[w] !== D[j]; )
|
|
1754
1755
|
j--;
|
|
1755
1756
|
for (; w >= 1 && j >= 0; w--, j--)
|
|
1756
|
-
if (_[w] !==
|
|
1757
|
+
if (_[w] !== D[j]) {
|
|
1757
1758
|
if (w !== 1 || j !== 1)
|
|
1758
1759
|
do
|
|
1759
|
-
if (w--, j--, j < 0 || _[w] !==
|
|
1760
|
+
if (w--, j--, j < 0 || _[w] !== D[j]) {
|
|
1760
1761
|
var B = `
|
|
1761
1762
|
` + _[w].replace(" at new ", " at ");
|
|
1762
1763
|
return e.displayName && B.includes("<anonymous>") && (B = B.replace("<anonymous>", e.displayName)), typeof e == "function" && ae.set(e, B), B;
|
|
@@ -1766,7 +1767,7 @@ function Ar() {
|
|
|
1766
1767
|
}
|
|
1767
1768
|
}
|
|
1768
1769
|
} finally {
|
|
1769
|
-
ue = !1, le.current =
|
|
1770
|
+
ue = !1, le.current = y, We(), Error.prepareStackTrace = f;
|
|
1770
1771
|
}
|
|
1771
1772
|
var Z = e ? e.displayName || e.name : "", z = Z ? re(Z) : "";
|
|
1772
1773
|
return typeof e == "function" && ae.set(e, z), z;
|
|
@@ -1798,9 +1799,9 @@ function Ar() {
|
|
|
1798
1799
|
case d:
|
|
1799
1800
|
return ne(e.type, t, r);
|
|
1800
1801
|
case b: {
|
|
1801
|
-
var
|
|
1802
|
+
var n = e, f = n._payload, y = n._init;
|
|
1802
1803
|
try {
|
|
1803
|
-
return ne(
|
|
1804
|
+
return ne(y(f), t, r);
|
|
1804
1805
|
} catch {
|
|
1805
1806
|
}
|
|
1806
1807
|
}
|
|
@@ -1815,22 +1816,22 @@ function Ar() {
|
|
|
1815
1816
|
} else
|
|
1816
1817
|
Ce.setExtraStackFrame(null);
|
|
1817
1818
|
}
|
|
1818
|
-
function Ye(e, t, r,
|
|
1819
|
+
function Ye(e, t, r, n, f) {
|
|
1819
1820
|
{
|
|
1820
|
-
var
|
|
1821
|
+
var y = Function.call.bind(X);
|
|
1821
1822
|
for (var l in e)
|
|
1822
|
-
if (
|
|
1823
|
+
if (y(e, l)) {
|
|
1823
1824
|
var _ = void 0;
|
|
1824
1825
|
try {
|
|
1825
1826
|
if (typeof e[l] != "function") {
|
|
1826
|
-
var
|
|
1827
|
-
throw
|
|
1827
|
+
var D = Error((n || "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`.");
|
|
1828
|
+
throw D.name = "Invariant Violation", D;
|
|
1828
1829
|
}
|
|
1829
|
-
_ = e[l](t, l,
|
|
1830
|
+
_ = e[l](t, l, n, r, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
1830
1831
|
} catch (w) {
|
|
1831
1832
|
_ = w;
|
|
1832
1833
|
}
|
|
1833
|
-
_ && !(_ 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).",
|
|
1834
|
+
_ && !(_ 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).", n || "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));
|
|
1834
1835
|
}
|
|
1835
1836
|
}
|
|
1836
1837
|
}
|
|
@@ -1905,7 +1906,7 @@ function Ar() {
|
|
|
1905
1906
|
});
|
|
1906
1907
|
}
|
|
1907
1908
|
}
|
|
1908
|
-
var tt = function(e, t, r,
|
|
1909
|
+
var tt = function(e, t, r, n, f, y, l) {
|
|
1909
1910
|
var _ = {
|
|
1910
1911
|
// This tag allows us to uniquely identify this as a React Element
|
|
1911
1912
|
$$typeof: i,
|
|
@@ -1915,7 +1916,7 @@ function Ar() {
|
|
|
1915
1916
|
ref: r,
|
|
1916
1917
|
props: l,
|
|
1917
1918
|
// Record the component responsible for creating this element.
|
|
1918
|
-
_owner:
|
|
1919
|
+
_owner: y
|
|
1919
1920
|
};
|
|
1920
1921
|
return _._store = {}, Object.defineProperty(_._store, "validated", {
|
|
1921
1922
|
configurable: !1,
|
|
@@ -1926,7 +1927,7 @@ function Ar() {
|
|
|
1926
1927
|
configurable: !1,
|
|
1927
1928
|
enumerable: !1,
|
|
1928
1929
|
writable: !1,
|
|
1929
|
-
value:
|
|
1930
|
+
value: n
|
|
1930
1931
|
}), Object.defineProperty(_, "_source", {
|
|
1931
1932
|
configurable: !1,
|
|
1932
1933
|
enumerable: !1,
|
|
@@ -1934,22 +1935,22 @@ function Ar() {
|
|
|
1934
1935
|
value: f
|
|
1935
1936
|
}), Object.freeze && (Object.freeze(_.props), Object.freeze(_)), _;
|
|
1936
1937
|
};
|
|
1937
|
-
function rt(e, t, r,
|
|
1938
|
+
function rt(e, t, r, n, f) {
|
|
1938
1939
|
{
|
|
1939
|
-
var
|
|
1940
|
-
r !== void 0 && (Re(r), _ = "" + r), Ve(t) && (Re(t.key), _ = "" + t.key), Ze(t) && (
|
|
1941
|
-
for (
|
|
1942
|
-
X.call(t,
|
|
1940
|
+
var y, l = {}, _ = null, D = null;
|
|
1941
|
+
r !== void 0 && (Re(r), _ = "" + r), Ve(t) && (Re(t.key), _ = "" + t.key), Ze(t) && (D = t.ref, Xe(t));
|
|
1942
|
+
for (y in t)
|
|
1943
|
+
X.call(t, y) && !Je.hasOwnProperty(y) && (l[y] = t[y]);
|
|
1943
1944
|
if (e && e.defaultProps) {
|
|
1944
1945
|
var w = e.defaultProps;
|
|
1945
|
-
for (
|
|
1946
|
-
l[
|
|
1946
|
+
for (y in w)
|
|
1947
|
+
l[y] === void 0 && (l[y] = w[y]);
|
|
1947
1948
|
}
|
|
1948
|
-
if (_ ||
|
|
1949
|
+
if (_ || D) {
|
|
1949
1950
|
var j = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
1950
|
-
_ && Qe(l, j),
|
|
1951
|
+
_ && Qe(l, j), D && et(l, j);
|
|
1951
1952
|
}
|
|
1952
|
-
return tt(e, _,
|
|
1953
|
+
return tt(e, _, D, f, n, Ee.current, l);
|
|
1953
1954
|
}
|
|
1954
1955
|
}
|
|
1955
1956
|
var fe = O.ReactCurrentOwner, De = O.ReactDebugCurrentFrame;
|
|
@@ -2002,8 +2003,8 @@ Check the top-level render call using <` + r + ">.");
|
|
|
2002
2003
|
if (Ne[r])
|
|
2003
2004
|
return;
|
|
2004
2005
|
Ne[r] = !0;
|
|
2005
|
-
var
|
|
2006
|
-
e && e._owner && e._owner !== fe.current && (
|
|
2006
|
+
var n = "";
|
|
2007
|
+
e && e._owner && e._owner !== fe.current && (n = " It was passed a child from " + k(e._owner.type) + "."), J(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, n), J(null);
|
|
2007
2008
|
}
|
|
2008
2009
|
}
|
|
2009
2010
|
function Ie(e, t) {
|
|
@@ -2012,15 +2013,15 @@ Check the top-level render call using <` + r + ">.");
|
|
|
2012
2013
|
return;
|
|
2013
2014
|
if (de(e))
|
|
2014
2015
|
for (var r = 0; r < e.length; r++) {
|
|
2015
|
-
var
|
|
2016
|
-
me(
|
|
2016
|
+
var n = e[r];
|
|
2017
|
+
me(n) && Fe(n, t);
|
|
2017
2018
|
}
|
|
2018
2019
|
else if (me(e))
|
|
2019
2020
|
e._store && (e._store.validated = !0);
|
|
2020
2021
|
else if (e) {
|
|
2021
2022
|
var f = I(e);
|
|
2022
2023
|
if (typeof f == "function" && f !== e.entries)
|
|
2023
|
-
for (var
|
|
2024
|
+
for (var y = f.call(e), l; !(l = y.next()).done; )
|
|
2024
2025
|
me(l.value) && Fe(l.value, t);
|
|
2025
2026
|
}
|
|
2026
2027
|
}
|
|
@@ -2040,8 +2041,8 @@ Check the top-level render call using <` + r + ">.");
|
|
|
2040
2041
|
else
|
|
2041
2042
|
return;
|
|
2042
2043
|
if (r) {
|
|
2043
|
-
var
|
|
2044
|
-
Ye(r, e.props, "prop",
|
|
2044
|
+
var n = k(t);
|
|
2045
|
+
Ye(r, e.props, "prop", n, e);
|
|
2045
2046
|
} else if (t.PropTypes !== void 0 && !pe) {
|
|
2046
2047
|
pe = !0;
|
|
2047
2048
|
var f = k(t);
|
|
@@ -2053,9 +2054,9 @@ Check the top-level render call using <` + r + ">.");
|
|
|
2053
2054
|
function it(e) {
|
|
2054
2055
|
{
|
|
2055
2056
|
for (var t = Object.keys(e.props), r = 0; r < t.length; r++) {
|
|
2056
|
-
var
|
|
2057
|
-
if (
|
|
2058
|
-
J(e), p("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",
|
|
2057
|
+
var n = t[r];
|
|
2058
|
+
if (n !== "children" && n !== "key") {
|
|
2059
|
+
J(e), p("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", n), J(null);
|
|
2059
2060
|
break;
|
|
2060
2061
|
}
|
|
2061
2062
|
}
|
|
@@ -2063,24 +2064,24 @@ Check the top-level render call using <` + r + ">.");
|
|
|
2063
2064
|
}
|
|
2064
2065
|
}
|
|
2065
2066
|
var Me = {};
|
|
2066
|
-
function $e(e, t, r,
|
|
2067
|
+
function $e(e, t, r, n, f, y) {
|
|
2067
2068
|
{
|
|
2068
2069
|
var l = U(e);
|
|
2069
2070
|
if (!l) {
|
|
2070
2071
|
var _ = "";
|
|
2071
2072
|
(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.");
|
|
2072
|
-
var
|
|
2073
|
-
|
|
2073
|
+
var D = at();
|
|
2074
|
+
D ? _ += D : _ += Pe();
|
|
2074
2075
|
var w;
|
|
2075
2076
|
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, _);
|
|
2076
2077
|
}
|
|
2077
|
-
var j = rt(e, t, r, f,
|
|
2078
|
+
var j = rt(e, t, r, f, y);
|
|
2078
2079
|
if (j == null)
|
|
2079
2080
|
return j;
|
|
2080
2081
|
if (l) {
|
|
2081
2082
|
var B = t.children;
|
|
2082
2083
|
if (B !== void 0)
|
|
2083
|
-
if (
|
|
2084
|
+
if (n)
|
|
2084
2085
|
if (de(B)) {
|
|
2085
2086
|
for (var Z = 0; Z < B.length; Z++)
|
|
2086
2087
|
Ie(B[Z], e);
|
|
@@ -2117,38 +2118,38 @@ React keys must be passed directly to JSX without using spread:
|
|
|
2117
2118
|
wt.Fragment = u, wt.jsx = lt, wt.jsxs = ct;
|
|
2118
2119
|
}()), wt;
|
|
2119
2120
|
}
|
|
2120
|
-
process.env.NODE_ENV === "production" ? Pt.exports =
|
|
2121
|
+
process.env.NODE_ENV === "production" ? Pt.exports = Ar() : Pt.exports = Br();
|
|
2121
2122
|
var Et = Pt.exports;
|
|
2122
|
-
const
|
|
2123
|
-
btn:
|
|
2124
|
-
confirm:
|
|
2125
|
-
cancel:
|
|
2126
|
-
action:
|
|
2127
|
-
disabled:
|
|
2123
|
+
const Lr = "_btn_1k1b3_1", Wr = "_confirm_1k1b3_15", Ur = "_cancel_1k1b3_20", Kr = "_action_1k1b3_25", qr = "_disabled_1k1b3_30", Yr = "_m_1k1b3_44", Gr = "_l_1k1b3_48", jt = {
|
|
2124
|
+
btn: Lr,
|
|
2125
|
+
confirm: Wr,
|
|
2126
|
+
cancel: Ur,
|
|
2127
|
+
action: Kr,
|
|
2128
|
+
disabled: qr,
|
|
2128
2129
|
await: "_await_1k1b3_37",
|
|
2129
|
-
m:
|
|
2130
|
-
l:
|
|
2131
|
-
},
|
|
2132
|
-
onClick:
|
|
2130
|
+
m: Yr,
|
|
2131
|
+
l: Gr
|
|
2132
|
+
}, zr = ({
|
|
2133
|
+
onClick: a,
|
|
2133
2134
|
onSend: i,
|
|
2134
2135
|
size: c = "m",
|
|
2135
2136
|
view: u = "confirm",
|
|
2136
2137
|
children: v,
|
|
2137
|
-
isDisabled:
|
|
2138
|
-
className:
|
|
2138
|
+
isDisabled: C = !1,
|
|
2139
|
+
className: T,
|
|
2139
2140
|
after: x,
|
|
2140
2141
|
before: s,
|
|
2141
2142
|
label: g,
|
|
2142
2143
|
onRef: o,
|
|
2143
2144
|
awaitText: d = "Ожидайте"
|
|
2144
2145
|
}) => {
|
|
2145
|
-
let [b,
|
|
2146
|
+
let [b, S] = W.useState(!1);
|
|
2146
2147
|
const N = (I) => {
|
|
2147
|
-
if (
|
|
2148
|
-
b || (i ? (
|
|
2148
|
+
if (a) return a();
|
|
2149
|
+
b || (i ? (S(!0), i(S)) : I.preventDefault());
|
|
2149
2150
|
};
|
|
2150
2151
|
let A = {};
|
|
2151
|
-
return (
|
|
2152
|
+
return (C || b) && (A.disabled = !0), /* @__PURE__ */ Et.jsx(
|
|
2152
2153
|
"button",
|
|
2153
2154
|
{
|
|
2154
2155
|
...A,
|
|
@@ -2157,7 +2158,7 @@ const Br = "_btn_1k1b3_1", Lr = "_confirm_1k1b3_15", Wr = "_cancel_1k1b3_20", Ur
|
|
|
2157
2158
|
jt.btn,
|
|
2158
2159
|
b ? jt.disabled : jt[u],
|
|
2159
2160
|
c && jt[c],
|
|
2160
|
-
|
|
2161
|
+
T
|
|
2161
2162
|
].filter((I) => I != "").join(" "),
|
|
2162
2163
|
onClick: N,
|
|
2163
2164
|
children: b ? d : /* @__PURE__ */ Et.jsxs(Et.Fragment, { children: [
|
|
@@ -2171,55 +2172,55 @@ const Br = "_btn_1k1b3_1", Lr = "_confirm_1k1b3_15", Wr = "_cancel_1k1b3_20", Ur
|
|
|
2171
2172
|
);
|
|
2172
2173
|
};
|
|
2173
2174
|
let Ae = {};
|
|
2174
|
-
function
|
|
2175
|
-
return /* @__PURE__ */ H.jsx(H.Fragment, { children:
|
|
2175
|
+
function Hr({ children: a }) {
|
|
2176
|
+
return /* @__PURE__ */ H.jsx(H.Fragment, { children: a });
|
|
2176
2177
|
}
|
|
2177
2178
|
var Ct;
|
|
2178
|
-
((
|
|
2179
|
+
((a) => {
|
|
2179
2180
|
function i({
|
|
2180
2181
|
import_modules: o
|
|
2181
2182
|
}) {
|
|
2182
2183
|
let [d, b] = W.useState([]);
|
|
2183
|
-
return Ae.x = (
|
|
2184
|
-
b(
|
|
2184
|
+
return Ae.x = (S) => {
|
|
2185
|
+
b(S ? d.filter((N) => N.key !== S) : []);
|
|
2185
2186
|
}, Zt(() => {
|
|
2186
2187
|
o && (Ae.i = o);
|
|
2187
|
-
}, []), Ae.add = (
|
|
2188
|
-
b([...d, { key: N, item:
|
|
2189
|
-
}, /* @__PURE__ */ H.jsx(H.Fragment, { children: d.map((
|
|
2188
|
+
}, []), Ae.add = (S, N = Date.now()) => {
|
|
2189
|
+
b([...d, { key: N, item: S }]);
|
|
2190
|
+
}, /* @__PURE__ */ H.jsx(H.Fragment, { children: d.map((S) => S.item) });
|
|
2190
2191
|
}
|
|
2191
|
-
|
|
2192
|
+
a.Init = i;
|
|
2192
2193
|
function c(o) {
|
|
2193
2194
|
return o && (Ae.i = o), Ae.i;
|
|
2194
2195
|
}
|
|
2195
|
-
|
|
2196
|
+
a.Import = c, a.List = Pr, a.Scroll = Nr, a.Form = Fr, a.Center = Ir, a.Column = Mr;
|
|
2196
2197
|
function u(o, d, b) {
|
|
2197
|
-
Ae.i ? Ae.i(`${o}/modal/${d}.tsx`).then((
|
|
2198
|
-
|
|
2199
|
-
}) : Wt()(`${o}/modal/${d}.tsx`).then((
|
|
2200
|
-
|
|
2198
|
+
Ae.i ? Ae.i(`${o}/modal/${d}.tsx`).then((S) => {
|
|
2199
|
+
S.default.Open(b);
|
|
2200
|
+
}) : Wt()(`${o}/modal/${d}.tsx`).then((S) => {
|
|
2201
|
+
S.default.Open(b);
|
|
2201
2202
|
});
|
|
2202
2203
|
}
|
|
2203
|
-
|
|
2204
|
+
a.Open = u;
|
|
2204
2205
|
function v({ type: o, name: d, params: b }) {
|
|
2205
|
-
let [
|
|
2206
|
+
let [S, N] = W.useState(null);
|
|
2206
2207
|
return W.useEffect(() => {
|
|
2207
2208
|
Ae.i ? Ae.i(`${o}/modal/${d}.tsx`).then((A) => {
|
|
2208
2209
|
N(A.default.Icon(b));
|
|
2209
2210
|
}) : Wt()(`${o}/modal/${d}.tsx`).then((A) => {
|
|
2210
2211
|
N(A.default.Icon(b));
|
|
2211
2212
|
});
|
|
2212
|
-
}, [b.id]), /* @__PURE__ */ H.jsx(H.Fragment, { children:
|
|
2213
|
+
}, [b.id]), /* @__PURE__ */ H.jsx(H.Fragment, { children: S });
|
|
2213
2214
|
}
|
|
2214
|
-
|
|
2215
|
-
function
|
|
2216
|
-
Ae.add(/* @__PURE__ */ H.jsx(
|
|
2215
|
+
a.Icon = v;
|
|
2216
|
+
function C(o, d) {
|
|
2217
|
+
Ae.add(/* @__PURE__ */ H.jsx(Hr, { children: o }, String(Date.now())), d);
|
|
2217
2218
|
}
|
|
2218
|
-
|
|
2219
|
-
function
|
|
2219
|
+
a.Add = C;
|
|
2220
|
+
function T(o) {
|
|
2220
2221
|
Ae.x(o);
|
|
2221
2222
|
}
|
|
2222
|
-
|
|
2223
|
+
a.Close = T;
|
|
2223
2224
|
function x(o) {
|
|
2224
2225
|
if (o.target.classList[0] !== "modal") return;
|
|
2225
2226
|
let d = o.target.children[0];
|
|
@@ -2227,24 +2228,24 @@ var Ct;
|
|
|
2227
2228
|
d.setAttribute("shake", !1);
|
|
2228
2229
|
}, 1e3);
|
|
2229
2230
|
}
|
|
2230
|
-
|
|
2231
|
+
a.Shake = x;
|
|
2231
2232
|
function s(o, d) {
|
|
2232
|
-
const b = (
|
|
2233
|
-
|
|
2234
|
-
/* @__PURE__ */ H.jsx(o, { ...
|
|
2233
|
+
const b = (S) => {
|
|
2234
|
+
a.Add(
|
|
2235
|
+
/* @__PURE__ */ H.jsx(o, { ...S }, (/* @__PURE__ */ new Date()).getTime())
|
|
2235
2236
|
);
|
|
2236
2237
|
};
|
|
2237
2238
|
return {
|
|
2238
|
-
Icon: (
|
|
2239
|
+
Icon: (S) => /* @__PURE__ */ H.jsx("i", { onClick: () => b(S), children: d && /* @__PURE__ */ H.jsx(d, {}) }),
|
|
2239
2240
|
Open: b
|
|
2240
2241
|
};
|
|
2241
2242
|
}
|
|
2242
|
-
|
|
2243
|
+
a.Create = s;
|
|
2243
2244
|
function g({
|
|
2244
2245
|
title: o,
|
|
2245
2246
|
children: d,
|
|
2246
2247
|
button: b,
|
|
2247
|
-
tabs:
|
|
2248
|
+
tabs: S,
|
|
2248
2249
|
size: N = "m",
|
|
2249
2250
|
className: A = "",
|
|
2250
2251
|
shake: I = !0,
|
|
@@ -2277,7 +2278,7 @@ var Ct;
|
|
|
2277
2278
|
/* @__PURE__ */ H.jsxs("div", { className: _e.h, children: [
|
|
2278
2279
|
/* @__PURE__ */ H.jsx("div", { className: _e.t, children: o }),
|
|
2279
2280
|
/* @__PURE__ */ H.jsxs("div", { className: _e.m, children: [
|
|
2280
|
-
|
|
2281
|
+
S && /* @__PURE__ */ H.jsx("nav", { children: S.map((q, E) => /* @__PURE__ */ H.jsx(
|
|
2281
2282
|
"span",
|
|
2282
2283
|
{
|
|
2283
2284
|
onClick: q.onClick,
|
|
@@ -2310,7 +2311,7 @@ var Ct;
|
|
|
2310
2311
|
] }),
|
|
2311
2312
|
d,
|
|
2312
2313
|
b && /* @__PURE__ */ H.jsx("div", { className: _e.b, children: /* @__PURE__ */ H.jsx(
|
|
2313
|
-
|
|
2314
|
+
zr,
|
|
2314
2315
|
{
|
|
2315
2316
|
label: b.label,
|
|
2316
2317
|
onSend: G,
|
|
@@ -2323,27 +2324,27 @@ var Ct;
|
|
|
2323
2324
|
)
|
|
2324
2325
|
] }) : "";
|
|
2325
2326
|
}
|
|
2326
|
-
|
|
2327
|
+
a.Main = g;
|
|
2327
2328
|
})(Ct || (Ct = {}));
|
|
2328
|
-
const
|
|
2329
|
-
function
|
|
2330
|
-
value:
|
|
2329
|
+
const Jr = (a, i = ",") => (a = a !== void 0 && a !== "" ? a.split(i) : [], a.filter((c) => c !== "").reduce((c, u) => (c[u] = !0, c), {}));
|
|
2330
|
+
function wa({
|
|
2331
|
+
value: a,
|
|
2331
2332
|
onValue: i,
|
|
2332
2333
|
name: c,
|
|
2333
2334
|
placeholder: u = "",
|
|
2334
2335
|
separator: v = ",",
|
|
2335
|
-
title:
|
|
2336
|
-
error:
|
|
2336
|
+
title: C,
|
|
2337
|
+
error: T,
|
|
2337
2338
|
hide: x = !1,
|
|
2338
2339
|
edit: s = !0,
|
|
2339
2340
|
active: g = !0,
|
|
2340
2341
|
outFormat: o = "object",
|
|
2341
2342
|
after: d = "",
|
|
2342
2343
|
modal: b,
|
|
2343
|
-
options:
|
|
2344
|
+
options: S,
|
|
2344
2345
|
className: N
|
|
2345
2346
|
}) {
|
|
2346
|
-
const [A, I] = W.useState(
|
|
2347
|
+
const [A, I] = W.useState(Jr(a, v)), O = (p) => {
|
|
2347
2348
|
if (!(s && g) || !b) return;
|
|
2348
2349
|
let M = b.split(".");
|
|
2349
2350
|
Ct.Open(M[0], M[1], {
|
|
@@ -2371,16 +2372,16 @@ function ka({
|
|
|
2371
2372
|
);
|
|
2372
2373
|
},
|
|
2373
2374
|
onValue: i,
|
|
2374
|
-
options:
|
|
2375
|
+
options: S,
|
|
2375
2376
|
name: c,
|
|
2376
2377
|
value: A
|
|
2377
2378
|
});
|
|
2378
2379
|
};
|
|
2379
|
-
return x ? /* @__PURE__ */
|
|
2380
|
+
return x ? /* @__PURE__ */ m.jsx(m.Fragment, {}) : /* @__PURE__ */ m.jsx(
|
|
2380
2381
|
pt,
|
|
2381
2382
|
{
|
|
2382
2383
|
type: "group",
|
|
2383
|
-
title:
|
|
2384
|
+
title: C,
|
|
2384
2385
|
element_blok: { className: [N] },
|
|
2385
2386
|
element_input: {
|
|
2386
2387
|
className: [V.g],
|
|
@@ -2390,66 +2391,66 @@ function ka({
|
|
|
2390
2391
|
},
|
|
2391
2392
|
children: Object.keys(A).map((p) => {
|
|
2392
2393
|
var M;
|
|
2393
|
-
return /* @__PURE__ */
|
|
2394
|
+
return /* @__PURE__ */ m.jsx("div", { children: (M = S[p]) == null ? void 0 : M.label }, p);
|
|
2394
2395
|
})
|
|
2395
2396
|
}
|
|
2396
2397
|
);
|
|
2397
2398
|
}
|
|
2398
|
-
const
|
|
2399
|
-
o:
|
|
2400
|
-
l:
|
|
2401
|
-
f:
|
|
2399
|
+
const Zr = "_o_1wehm_12", Vr = "_l_1wehm_22", Xr = "_f_1wehm_81", Nt = {
|
|
2400
|
+
o: Zr,
|
|
2401
|
+
l: Vr,
|
|
2402
|
+
f: Xr
|
|
2402
2403
|
};
|
|
2403
|
-
function
|
|
2404
|
-
title:
|
|
2404
|
+
function ja({
|
|
2405
|
+
title: a,
|
|
2405
2406
|
error: i,
|
|
2406
2407
|
edit: c = !0,
|
|
2407
2408
|
active: u = !0,
|
|
2408
2409
|
hide: v,
|
|
2409
|
-
value:
|
|
2410
|
-
onValue:
|
|
2410
|
+
value: C = 0,
|
|
2411
|
+
onValue: T,
|
|
2411
2412
|
options: x,
|
|
2412
2413
|
placeholder: s = "",
|
|
2413
2414
|
className: g,
|
|
2414
2415
|
isIcon: o = !0,
|
|
2415
2416
|
name: d,
|
|
2416
2417
|
after: b,
|
|
2417
|
-
view:
|
|
2418
|
+
view: S,
|
|
2418
2419
|
order: N,
|
|
2419
2420
|
isReload: A = !1
|
|
2420
2421
|
}) {
|
|
2421
2422
|
var R, h;
|
|
2422
|
-
const I = W.useRef(null), [O, p] = W.useState(
|
|
2423
|
+
const I = W.useRef(null), [O, p] = W.useState(C), [M, K] = W.useState(x), [G, L] = W.useState(!1);
|
|
2423
2424
|
W.useEffect(() => {
|
|
2424
|
-
p(
|
|
2425
|
-
}, [
|
|
2425
|
+
p(C), K(x);
|
|
2426
|
+
}, [C, x]), v = !!(v && (C === 0 || ((R = M == null ? void 0 : M[C]) == null ? void 0 : R.n) === void 0)) && !(c && u);
|
|
2426
2427
|
let E = (k) => {
|
|
2427
|
-
p(k),
|
|
2428
|
-
},
|
|
2428
|
+
p(k), T && T({ value: k, name: d, reload: A });
|
|
2429
|
+
}, P = (k) => {
|
|
2429
2430
|
Object.keys(M || {}).length !== 0 && c && u && (I.position = I.current.getBoundingClientRect(), L(!0));
|
|
2430
2431
|
}, U = {};
|
|
2431
|
-
return s && (U.placeholder = s), v ? "" : /* @__PURE__ */
|
|
2432
|
-
/* @__PURE__ */
|
|
2432
|
+
return s && (U.placeholder = s), v ? "" : /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
|
|
2433
|
+
/* @__PURE__ */ m.jsx(
|
|
2433
2434
|
pt,
|
|
2434
2435
|
{
|
|
2435
2436
|
type: "select",
|
|
2436
|
-
title:
|
|
2437
|
+
title: a,
|
|
2437
2438
|
element_blok: { className: [g] },
|
|
2438
2439
|
element_input: {
|
|
2439
2440
|
className: [Nt.f],
|
|
2440
|
-
props: { onClick:
|
|
2441
|
+
props: { onClick: P }
|
|
2441
2442
|
},
|
|
2442
2443
|
ref: I,
|
|
2443
|
-
children: /* @__PURE__ */
|
|
2444
|
+
children: /* @__PURE__ */ m.jsx("div", { ...U, children: (h = M == null ? void 0 : M[O]) == null ? void 0 : h.n })
|
|
2444
2445
|
}
|
|
2445
2446
|
),
|
|
2446
2447
|
G && Mt(
|
|
2447
|
-
/* @__PURE__ */
|
|
2448
|
-
|
|
2448
|
+
/* @__PURE__ */ m.jsx(
|
|
2449
|
+
Qr,
|
|
2449
2450
|
{
|
|
2450
2451
|
parent: I.position,
|
|
2451
2452
|
onValue: E,
|
|
2452
|
-
view:
|
|
2453
|
+
view: S,
|
|
2453
2454
|
className: g,
|
|
2454
2455
|
options: M,
|
|
2455
2456
|
order: N,
|
|
@@ -2461,29 +2462,29 @@ function wa({
|
|
|
2461
2462
|
)
|
|
2462
2463
|
] });
|
|
2463
2464
|
}
|
|
2464
|
-
const
|
|
2465
|
-
onValue:
|
|
2465
|
+
const Qr = ({
|
|
2466
|
+
onValue: a,
|
|
2466
2467
|
parent: i,
|
|
2467
2468
|
className: c,
|
|
2468
2469
|
options: u,
|
|
2469
2470
|
order: v,
|
|
2470
|
-
setOpen:
|
|
2471
|
+
setOpen: C
|
|
2471
2472
|
}) => {
|
|
2472
|
-
let
|
|
2473
|
-
|
|
2473
|
+
let T = () => {
|
|
2474
|
+
C(!1);
|
|
2474
2475
|
}, x = (o) => {
|
|
2475
|
-
|
|
2476
|
+
C(!1), a(o);
|
|
2476
2477
|
}, 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;
|
|
2477
|
-
return /* @__PURE__ */
|
|
2478
|
-
/* @__PURE__ */
|
|
2478
|
+
return /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
|
|
2479
|
+
/* @__PURE__ */ m.jsx(
|
|
2479
2480
|
"div",
|
|
2480
2481
|
{
|
|
2481
2482
|
className: Nt.o,
|
|
2482
|
-
onClick:
|
|
2483
|
+
onClick: T
|
|
2483
2484
|
},
|
|
2484
2485
|
(/* @__PURE__ */ new Date()).getTime()
|
|
2485
2486
|
),
|
|
2486
|
-
/* @__PURE__ */
|
|
2487
|
+
/* @__PURE__ */ m.jsx(
|
|
2487
2488
|
"div",
|
|
2488
2489
|
{
|
|
2489
2490
|
className: [Nt.l, c].filter((o) => o !== void 0).join(" "),
|
|
@@ -2492,12 +2493,12 @@ const Xr = ({
|
|
|
2492
2493
|
left: g + "px",
|
|
2493
2494
|
width: i.width
|
|
2494
2495
|
},
|
|
2495
|
-
children: /* @__PURE__ */
|
|
2496
|
+
children: /* @__PURE__ */ m.jsx(ea, { order: v, options: u, link: x })
|
|
2496
2497
|
}
|
|
2497
2498
|
)
|
|
2498
2499
|
] });
|
|
2499
|
-
},
|
|
2500
|
-
(u, v) => i[u].s !== 0 ? /* @__PURE__ */
|
|
2500
|
+
}, ea = ({ order: a, options: i, link: c }) => a ? /* @__PURE__ */ m.jsx("ul", { children: a.map(
|
|
2501
|
+
(u, v) => i[u].s !== 0 ? /* @__PURE__ */ m.jsx(
|
|
2501
2502
|
"li",
|
|
2502
2503
|
{
|
|
2503
2504
|
onClick: () => {
|
|
@@ -2507,8 +2508,8 @@ const Xr = ({
|
|
|
2507
2508
|
},
|
|
2508
2509
|
v
|
|
2509
2510
|
) : ""
|
|
2510
|
-
) }) : /* @__PURE__ */
|
|
2511
|
-
(u, v) => i[u].s !== 0 ? /* @__PURE__ */
|
|
2511
|
+
) }) : /* @__PURE__ */ m.jsx("ul", { children: Object.keys(i).map(
|
|
2512
|
+
(u, v) => i[u].s !== 0 ? /* @__PURE__ */ m.jsx(
|
|
2512
2513
|
"li",
|
|
2513
2514
|
{
|
|
2514
2515
|
onClick: () => {
|
|
@@ -2519,25 +2520,25 @@ const Xr = ({
|
|
|
2519
2520
|
v
|
|
2520
2521
|
) : ""
|
|
2521
2522
|
) });
|
|
2522
|
-
function
|
|
2523
|
-
value:
|
|
2523
|
+
function xa({
|
|
2524
|
+
value: a,
|
|
2524
2525
|
onValue: i,
|
|
2525
2526
|
name: c,
|
|
2526
2527
|
placeholder: u = "",
|
|
2527
2528
|
title: v,
|
|
2528
|
-
error:
|
|
2529
|
-
hide:
|
|
2529
|
+
error: C,
|
|
2530
|
+
hide: T = !1,
|
|
2530
2531
|
edit: x = !0,
|
|
2531
2532
|
show: s = !0,
|
|
2532
2533
|
active: g = !0,
|
|
2533
2534
|
after: o = "",
|
|
2534
2535
|
view: d,
|
|
2535
2536
|
modal: b,
|
|
2536
|
-
module:
|
|
2537
|
+
module: S,
|
|
2537
2538
|
options: N,
|
|
2538
2539
|
className: A
|
|
2539
2540
|
}) {
|
|
2540
|
-
let [I, O] = W.useState(
|
|
2541
|
+
let [I, O] = W.useState(a), p = (G) => {
|
|
2541
2542
|
if (!(x && g) || !b) return;
|
|
2542
2543
|
let L = b.split(".");
|
|
2543
2544
|
Ct.Open(L[0], L[1], {
|
|
@@ -2547,15 +2548,15 @@ function ja({
|
|
|
2547
2548
|
onValue: i,
|
|
2548
2549
|
options: N,
|
|
2549
2550
|
name: c,
|
|
2550
|
-
value:
|
|
2551
|
+
value: a
|
|
2551
2552
|
});
|
|
2552
2553
|
};
|
|
2553
2554
|
const M = {};
|
|
2554
2555
|
M.field = "input", A && (M.className = A);
|
|
2555
2556
|
const K = {};
|
|
2556
|
-
return u && (K.placeholder = u),
|
|
2557
|
-
v && /* @__PURE__ */
|
|
2558
|
-
/* @__PURE__ */
|
|
2557
|
+
return u && (K.placeholder = u), T ? /* @__PURE__ */ m.jsx(m.Fragment, {}) : /* @__PURE__ */ m.jsxs("dl", { ...M, children: [
|
|
2558
|
+
v && /* @__PURE__ */ m.jsx("dt", { children: v }),
|
|
2559
|
+
/* @__PURE__ */ m.jsx(
|
|
2559
2560
|
"dd",
|
|
2560
2561
|
{
|
|
2561
2562
|
...K,
|
|
@@ -2565,24 +2566,24 @@ function ja({
|
|
|
2565
2566
|
children: I
|
|
2566
2567
|
}
|
|
2567
2568
|
),
|
|
2568
|
-
|
|
2569
|
+
C && /* @__PURE__ */ m.jsx("em", { children: C })
|
|
2569
2570
|
] });
|
|
2570
2571
|
}
|
|
2571
|
-
function
|
|
2572
|
-
value:
|
|
2572
|
+
function Ca({
|
|
2573
|
+
value: a,
|
|
2573
2574
|
onValue: i,
|
|
2574
2575
|
onSave: c,
|
|
2575
2576
|
name: u,
|
|
2576
2577
|
placeholder: v = "",
|
|
2577
|
-
className:
|
|
2578
|
-
title:
|
|
2578
|
+
className: C,
|
|
2579
|
+
title: T,
|
|
2579
2580
|
error: x,
|
|
2580
2581
|
edit: s = !0,
|
|
2581
2582
|
active: g = !0,
|
|
2582
2583
|
reload: o = !1,
|
|
2583
2584
|
native: d = !1,
|
|
2584
2585
|
isShow: b = !1,
|
|
2585
|
-
maxLength:
|
|
2586
|
+
maxLength: S,
|
|
2586
2587
|
eyes: N = [],
|
|
2587
2588
|
after: A = ""
|
|
2588
2589
|
}) {
|
|
@@ -2596,28 +2597,28 @@ function xa({
|
|
|
2596
2597
|
}, M = (E) => {
|
|
2597
2598
|
E.key === "Enter" && E.preventDefault();
|
|
2598
2599
|
}, K = (E) => {
|
|
2599
|
-
E.preventDefault(), navigator.clipboard.readText().then((
|
|
2600
|
-
if (
|
|
2600
|
+
E.preventDefault(), navigator.clipboard.readText().then((P) => {
|
|
2601
|
+
if (S) {
|
|
2601
2602
|
let U = E.target.textContent.length;
|
|
2602
|
-
if (U >=
|
|
2603
|
-
|
|
2603
|
+
if (U >= S) return;
|
|
2604
|
+
S -= U, P = P.slice(0, S);
|
|
2604
2605
|
}
|
|
2605
2606
|
window.document.execCommand(
|
|
2606
2607
|
"insertText",
|
|
2607
2608
|
!1,
|
|
2608
|
-
|
|
2609
|
+
P.replace(/(\r\n|\n|\r)/gm, " ")
|
|
2609
2610
|
);
|
|
2610
|
-
}).catch((
|
|
2611
|
+
}).catch((P) => {
|
|
2611
2612
|
});
|
|
2612
2613
|
}, G = (E) => {
|
|
2613
2614
|
te.Blur(E), c == null || c({ value: E.target.textContent.trim(), name: u });
|
|
2614
2615
|
};
|
|
2615
2616
|
const L = {};
|
|
2616
|
-
L.field = "password", I && (L.show = ""),
|
|
2617
|
+
L.field = "password", I && (L.show = ""), C && (L.className = C);
|
|
2617
2618
|
const q = {};
|
|
2618
|
-
return v && (q.placeholder = v), d ? "" : /* @__PURE__ */
|
|
2619
|
-
|
|
2620
|
-
/* @__PURE__ */
|
|
2619
|
+
return v && (q.placeholder = v), d ? "" : /* @__PURE__ */ m.jsxs("dl", { ...L, children: [
|
|
2620
|
+
T ? /* @__PURE__ */ m.jsx("dt", { children: T }) : "",
|
|
2621
|
+
/* @__PURE__ */ m.jsx(
|
|
2621
2622
|
"dd",
|
|
2622
2623
|
{
|
|
2623
2624
|
onPaste: K,
|
|
@@ -2627,47 +2628,47 @@ function xa({
|
|
|
2627
2628
|
contentEditable: s && g ? te.ContentEditable : "false",
|
|
2628
2629
|
...q,
|
|
2629
2630
|
suppressContentEditableWarning: !0,
|
|
2630
|
-
children:
|
|
2631
|
+
children: a
|
|
2631
2632
|
}
|
|
2632
2633
|
),
|
|
2633
|
-
N[0] && /* @__PURE__ */
|
|
2634
|
+
N[0] && /* @__PURE__ */ m.jsx("i", { onClick: () => O(!I), children: I ? N[1] : N[0] }),
|
|
2634
2635
|
A,
|
|
2635
|
-
x ? /* @__PURE__ */
|
|
2636
|
+
x ? /* @__PURE__ */ m.jsx("em", { children: x }) : ""
|
|
2636
2637
|
] });
|
|
2637
2638
|
}
|
|
2638
|
-
function
|
|
2639
|
-
onValue:
|
|
2639
|
+
function Sa({
|
|
2640
|
+
onValue: a,
|
|
2640
2641
|
onSave: i,
|
|
2641
2642
|
active: c,
|
|
2642
2643
|
max: u,
|
|
2643
2644
|
edit: v,
|
|
2644
|
-
title:
|
|
2645
|
-
error:
|
|
2645
|
+
title: C,
|
|
2646
|
+
error: T,
|
|
2646
2647
|
show: x,
|
|
2647
2648
|
hide: s,
|
|
2648
2649
|
value: g,
|
|
2649
2650
|
placeholder: o,
|
|
2650
2651
|
className: d,
|
|
2651
2652
|
maxLength: b,
|
|
2652
|
-
name:
|
|
2653
|
+
name: S,
|
|
2653
2654
|
after: N = "",
|
|
2654
2655
|
before: A = "",
|
|
2655
2656
|
view: I
|
|
2656
2657
|
}) {
|
|
2657
2658
|
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;
|
|
2658
|
-
let p = !1, M = (
|
|
2659
|
-
|
|
2660
|
-
}, K = (
|
|
2661
|
-
if (!(p &&
|
|
2662
|
-
if (
|
|
2663
|
-
|
|
2664
|
-
}
|
|
2665
|
-
}, G = (
|
|
2666
|
-
if (
|
|
2667
|
-
}, L = (
|
|
2668
|
-
|
|
2659
|
+
let p = !1, M = (P) => {
|
|
2660
|
+
a == null || a({ value: P.target.textContent, name: S });
|
|
2661
|
+
}, K = (P) => {
|
|
2662
|
+
if (!(p && P.which === 86)) {
|
|
2663
|
+
if (P.which === 17 || P.which === 91) return p = !0;
|
|
2664
|
+
P.key !== "Backspace" && (P.target.textContent.length === u && P.preventDefault(), P.key === "Enter" && P.preventDefault(), isNaN(P.key) && P.preventDefault());
|
|
2665
|
+
}
|
|
2666
|
+
}, G = (P) => {
|
|
2667
|
+
if (P.which === 17 || P.which === 91) return p = !1;
|
|
2668
|
+
}, L = (P) => {
|
|
2669
|
+
P.preventDefault(), navigator.clipboard.readText().then((U) => {
|
|
2669
2670
|
if (U = U.replace(/(?!^\+|\d)./g, ""), b) {
|
|
2670
|
-
let R =
|
|
2671
|
+
let R = P.target.textContent.length;
|
|
2671
2672
|
if (R >= b) return;
|
|
2672
2673
|
b -= R, U = U.slice(0, b);
|
|
2673
2674
|
}
|
|
@@ -2675,19 +2676,19 @@ function Ca({
|
|
|
2675
2676
|
}).catch((U) => {
|
|
2676
2677
|
});
|
|
2677
2678
|
};
|
|
2678
|
-
const q = (
|
|
2679
|
-
te.Blur(
|
|
2679
|
+
const q = (P) => {
|
|
2680
|
+
te.Blur(P), i == null || i({ value: P.target.textContent, name: S });
|
|
2680
2681
|
};
|
|
2681
2682
|
let E = {};
|
|
2682
|
-
return v && c ? (E.edit = "true", E.contentEditable = te.ContentEditable) : E.contentEditable = "false", E.inputMode = "decimal", o && (E.placeholder = o), s ? /* @__PURE__ */
|
|
2683
|
+
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(
|
|
2683
2684
|
"dl",
|
|
2684
2685
|
{
|
|
2685
2686
|
"data-field": "input",
|
|
2686
|
-
className: [V.l, d].filter((
|
|
2687
|
+
className: [V.l, d].filter((P) => P !== void 0).join(" "),
|
|
2687
2688
|
children: [
|
|
2688
|
-
|
|
2689
|
+
C ? /* @__PURE__ */ m.jsx("dt", { className: V.t, children: C }) : "",
|
|
2689
2690
|
A,
|
|
2690
|
-
/* @__PURE__ */
|
|
2691
|
+
/* @__PURE__ */ m.jsx(
|
|
2691
2692
|
"dd",
|
|
2692
2693
|
{
|
|
2693
2694
|
className: [V.f, V.w].join(" "),
|
|
@@ -2702,7 +2703,7 @@ function Ca({
|
|
|
2702
2703
|
}
|
|
2703
2704
|
),
|
|
2704
2705
|
N,
|
|
2705
|
-
|
|
2706
|
+
T && /* @__PURE__ */ m.jsx("em", { children: T })
|
|
2706
2707
|
]
|
|
2707
2708
|
}
|
|
2708
2709
|
);
|
|
@@ -2718,18 +2719,18 @@ var Ft = { exports: {} }, ht = {};
|
|
|
2718
2719
|
* LICENSE file in the root directory of this source tree.
|
|
2719
2720
|
*/
|
|
2720
2721
|
var qt;
|
|
2721
|
-
function
|
|
2722
|
+
function ta() {
|
|
2722
2723
|
if (qt) return ht;
|
|
2723
2724
|
qt = 1;
|
|
2724
|
-
var
|
|
2725
|
-
function
|
|
2726
|
-
var o, d = {}, b = null,
|
|
2727
|
-
g !== void 0 && (b = "" + g), s.key !== void 0 && (b = "" + s.key), s.ref !== void 0 && (
|
|
2728
|
-
for (o in s) u.call(s, o) && !
|
|
2725
|
+
var a = W, i = Symbol.for("react.element"), c = Symbol.for("react.fragment"), u = Object.prototype.hasOwnProperty, v = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, C = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
2726
|
+
function T(x, s, g) {
|
|
2727
|
+
var o, d = {}, b = null, S = null;
|
|
2728
|
+
g !== void 0 && (b = "" + g), s.key !== void 0 && (b = "" + s.key), s.ref !== void 0 && (S = s.ref);
|
|
2729
|
+
for (o in s) u.call(s, o) && !C.hasOwnProperty(o) && (d[o] = s[o]);
|
|
2729
2730
|
if (x && x.defaultProps) for (o in s = x.defaultProps, s) d[o] === void 0 && (d[o] = s[o]);
|
|
2730
|
-
return { $$typeof: i, type: x, key: b, ref:
|
|
2731
|
+
return { $$typeof: i, type: x, key: b, ref: S, props: d, _owner: v.current };
|
|
2731
2732
|
}
|
|
2732
|
-
return ht.Fragment = c, ht.jsx =
|
|
2733
|
+
return ht.Fragment = c, ht.jsx = T, ht.jsxs = T, ht;
|
|
2733
2734
|
}
|
|
2734
2735
|
var xt = {};
|
|
2735
2736
|
/**
|
|
@@ -2742,46 +2743,46 @@ var xt = {};
|
|
|
2742
2743
|
* LICENSE file in the root directory of this source tree.
|
|
2743
2744
|
*/
|
|
2744
2745
|
var Yt;
|
|
2745
|
-
function
|
|
2746
|
+
function ra() {
|
|
2746
2747
|
return Yt || (Yt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
2747
|
-
var
|
|
2748
|
+
var a = W, 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"), T = 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";
|
|
2748
2749
|
function I(e) {
|
|
2749
2750
|
if (e === null || typeof e != "object")
|
|
2750
2751
|
return null;
|
|
2751
2752
|
var t = N && e[N] || e[A];
|
|
2752
2753
|
return typeof t == "function" ? t : null;
|
|
2753
2754
|
}
|
|
2754
|
-
var O =
|
|
2755
|
+
var O = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
2755
2756
|
function p(e) {
|
|
2756
2757
|
{
|
|
2757
|
-
for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0),
|
|
2758
|
-
r[
|
|
2758
|
+
for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), n = 1; n < t; n++)
|
|
2759
|
+
r[n - 1] = arguments[n];
|
|
2759
2760
|
M("error", e, r);
|
|
2760
2761
|
}
|
|
2761
2762
|
}
|
|
2762
2763
|
function M(e, t, r) {
|
|
2763
2764
|
{
|
|
2764
|
-
var
|
|
2765
|
+
var n = O.ReactDebugCurrentFrame, f = n.getStackAddendum();
|
|
2765
2766
|
f !== "" && (t += "%s", r = r.concat([f]));
|
|
2766
|
-
var
|
|
2767
|
+
var y = r.map(function(l) {
|
|
2767
2768
|
return String(l);
|
|
2768
2769
|
});
|
|
2769
|
-
|
|
2770
|
+
y.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, y);
|
|
2770
2771
|
}
|
|
2771
2772
|
}
|
|
2772
|
-
var K = !1, G = !1, L = !1, q = !1, E = !1,
|
|
2773
|
-
|
|
2773
|
+
var K = !1, G = !1, L = !1, q = !1, E = !1, P;
|
|
2774
|
+
P = Symbol.for("react.module.reference");
|
|
2774
2775
|
function U(e) {
|
|
2775
|
-
return !!(typeof e == "string" || typeof e == "function" || e === u || e ===
|
|
2776
|
+
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 === T || e.$$typeof === x || e.$$typeof === s || // This needs to include all possible module reference object
|
|
2776
2777
|
// types supported by any Flight configuration anywhere since
|
|
2777
2778
|
// we don't know which Flight build this will end up being used
|
|
2778
2779
|
// with.
|
|
2779
|
-
e.$$typeof ===
|
|
2780
|
+
e.$$typeof === P || e.getModuleId !== void 0));
|
|
2780
2781
|
}
|
|
2781
2782
|
function R(e, t, r) {
|
|
2782
|
-
var
|
|
2783
|
-
if (
|
|
2784
|
-
return
|
|
2783
|
+
var n = e.displayName;
|
|
2784
|
+
if (n)
|
|
2785
|
+
return n;
|
|
2785
2786
|
var f = t.displayName || t.name || "";
|
|
2786
2787
|
return f !== "" ? r + "(" + f + ")" : r;
|
|
2787
2788
|
}
|
|
@@ -2800,7 +2801,7 @@ function ta() {
|
|
|
2800
2801
|
return "Fragment";
|
|
2801
2802
|
case c:
|
|
2802
2803
|
return "Portal";
|
|
2803
|
-
case
|
|
2804
|
+
case C:
|
|
2804
2805
|
return "Profiler";
|
|
2805
2806
|
case v:
|
|
2806
2807
|
return "StrictMode";
|
|
@@ -2814,18 +2815,18 @@ function ta() {
|
|
|
2814
2815
|
case x:
|
|
2815
2816
|
var t = e;
|
|
2816
2817
|
return h(t) + ".Consumer";
|
|
2817
|
-
case
|
|
2818
|
+
case T:
|
|
2818
2819
|
var r = e;
|
|
2819
2820
|
return h(r._context) + ".Provider";
|
|
2820
2821
|
case s:
|
|
2821
2822
|
return R(e, e.render, "ForwardRef");
|
|
2822
2823
|
case d:
|
|
2823
|
-
var
|
|
2824
|
-
return
|
|
2824
|
+
var n = e.displayName || null;
|
|
2825
|
+
return n !== null ? n : k(e.type) || "Memo";
|
|
2825
2826
|
case b: {
|
|
2826
|
-
var f = e,
|
|
2827
|
+
var f = e, y = f._payload, l = f._init;
|
|
2827
2828
|
try {
|
|
2828
|
-
return k(l(
|
|
2829
|
+
return k(l(y));
|
|
2829
2830
|
} catch {
|
|
2830
2831
|
return null;
|
|
2831
2832
|
}
|
|
@@ -2902,8 +2903,8 @@ function ta() {
|
|
|
2902
2903
|
try {
|
|
2903
2904
|
throw Error();
|
|
2904
2905
|
} catch (f) {
|
|
2905
|
-
var
|
|
2906
|
-
ce =
|
|
2906
|
+
var n = f.stack.trim().match(/\n( *(at )?)/);
|
|
2907
|
+
ce = n && n[1] || "";
|
|
2907
2908
|
}
|
|
2908
2909
|
return `
|
|
2909
2910
|
` + ce + e;
|
|
@@ -2922,12 +2923,12 @@ function ta() {
|
|
|
2922
2923
|
if (r !== void 0)
|
|
2923
2924
|
return r;
|
|
2924
2925
|
}
|
|
2925
|
-
var
|
|
2926
|
+
var n;
|
|
2926
2927
|
ue = !0;
|
|
2927
2928
|
var f = Error.prepareStackTrace;
|
|
2928
2929
|
Error.prepareStackTrace = void 0;
|
|
2929
|
-
var
|
|
2930
|
-
|
|
2930
|
+
var y;
|
|
2931
|
+
y = le.current, le.current = null, Le();
|
|
2931
2932
|
try {
|
|
2932
2933
|
if (t) {
|
|
2933
2934
|
var l = function() {
|
|
@@ -2941,14 +2942,14 @@ function ta() {
|
|
|
2941
2942
|
try {
|
|
2942
2943
|
Reflect.construct(l, []);
|
|
2943
2944
|
} catch (F) {
|
|
2944
|
-
|
|
2945
|
+
n = F;
|
|
2945
2946
|
}
|
|
2946
2947
|
Reflect.construct(e, [], l);
|
|
2947
2948
|
} else {
|
|
2948
2949
|
try {
|
|
2949
2950
|
l.call();
|
|
2950
2951
|
} catch (F) {
|
|
2951
|
-
|
|
2952
|
+
n = F;
|
|
2952
2953
|
}
|
|
2953
2954
|
e.call(l.prototype);
|
|
2954
2955
|
}
|
|
@@ -2956,21 +2957,21 @@ function ta() {
|
|
|
2956
2957
|
try {
|
|
2957
2958
|
throw Error();
|
|
2958
2959
|
} catch (F) {
|
|
2959
|
-
|
|
2960
|
+
n = F;
|
|
2960
2961
|
}
|
|
2961
2962
|
e();
|
|
2962
2963
|
}
|
|
2963
2964
|
} catch (F) {
|
|
2964
|
-
if (F &&
|
|
2965
|
+
if (F && n && typeof F.stack == "string") {
|
|
2965
2966
|
for (var _ = F.stack.split(`
|
|
2966
|
-
`),
|
|
2967
|
-
`), w = _.length - 1, j =
|
|
2967
|
+
`), D = n.stack.split(`
|
|
2968
|
+
`), w = _.length - 1, j = D.length - 1; w >= 1 && j >= 0 && _[w] !== D[j]; )
|
|
2968
2969
|
j--;
|
|
2969
2970
|
for (; w >= 1 && j >= 0; w--, j--)
|
|
2970
|
-
if (_[w] !==
|
|
2971
|
+
if (_[w] !== D[j]) {
|
|
2971
2972
|
if (w !== 1 || j !== 1)
|
|
2972
2973
|
do
|
|
2973
|
-
if (w--, j--, j < 0 || _[w] !==
|
|
2974
|
+
if (w--, j--, j < 0 || _[w] !== D[j]) {
|
|
2974
2975
|
var B = `
|
|
2975
2976
|
` + _[w].replace(" at new ", " at ");
|
|
2976
2977
|
return e.displayName && B.includes("<anonymous>") && (B = B.replace("<anonymous>", e.displayName)), typeof e == "function" && ae.set(e, B), B;
|
|
@@ -2980,7 +2981,7 @@ function ta() {
|
|
|
2980
2981
|
}
|
|
2981
2982
|
}
|
|
2982
2983
|
} finally {
|
|
2983
|
-
ue = !1, le.current =
|
|
2984
|
+
ue = !1, le.current = y, We(), Error.prepareStackTrace = f;
|
|
2984
2985
|
}
|
|
2985
2986
|
var Z = e ? e.displayName || e.name : "", z = Z ? re(Z) : "";
|
|
2986
2987
|
return typeof e == "function" && ae.set(e, z), z;
|
|
@@ -3012,9 +3013,9 @@ function ta() {
|
|
|
3012
3013
|
case d:
|
|
3013
3014
|
return ne(e.type, t, r);
|
|
3014
3015
|
case b: {
|
|
3015
|
-
var
|
|
3016
|
+
var n = e, f = n._payload, y = n._init;
|
|
3016
3017
|
try {
|
|
3017
|
-
return ne(
|
|
3018
|
+
return ne(y(f), t, r);
|
|
3018
3019
|
} catch {
|
|
3019
3020
|
}
|
|
3020
3021
|
}
|
|
@@ -3029,22 +3030,22 @@ function ta() {
|
|
|
3029
3030
|
} else
|
|
3030
3031
|
Ce.setExtraStackFrame(null);
|
|
3031
3032
|
}
|
|
3032
|
-
function Ye(e, t, r,
|
|
3033
|
+
function Ye(e, t, r, n, f) {
|
|
3033
3034
|
{
|
|
3034
|
-
var
|
|
3035
|
+
var y = Function.call.bind(X);
|
|
3035
3036
|
for (var l in e)
|
|
3036
|
-
if (
|
|
3037
|
+
if (y(e, l)) {
|
|
3037
3038
|
var _ = void 0;
|
|
3038
3039
|
try {
|
|
3039
3040
|
if (typeof e[l] != "function") {
|
|
3040
|
-
var
|
|
3041
|
-
throw
|
|
3041
|
+
var D = Error((n || "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`.");
|
|
3042
|
+
throw D.name = "Invariant Violation", D;
|
|
3042
3043
|
}
|
|
3043
|
-
_ = e[l](t, l,
|
|
3044
|
+
_ = e[l](t, l, n, r, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
3044
3045
|
} catch (w) {
|
|
3045
3046
|
_ = w;
|
|
3046
3047
|
}
|
|
3047
|
-
_ && !(_ 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).",
|
|
3048
|
+
_ && !(_ 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).", n || "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));
|
|
3048
3049
|
}
|
|
3049
3050
|
}
|
|
3050
3051
|
}
|
|
@@ -3119,7 +3120,7 @@ function ta() {
|
|
|
3119
3120
|
});
|
|
3120
3121
|
}
|
|
3121
3122
|
}
|
|
3122
|
-
var tt = function(e, t, r,
|
|
3123
|
+
var tt = function(e, t, r, n, f, y, l) {
|
|
3123
3124
|
var _ = {
|
|
3124
3125
|
// This tag allows us to uniquely identify this as a React Element
|
|
3125
3126
|
$$typeof: i,
|
|
@@ -3129,7 +3130,7 @@ function ta() {
|
|
|
3129
3130
|
ref: r,
|
|
3130
3131
|
props: l,
|
|
3131
3132
|
// Record the component responsible for creating this element.
|
|
3132
|
-
_owner:
|
|
3133
|
+
_owner: y
|
|
3133
3134
|
};
|
|
3134
3135
|
return _._store = {}, Object.defineProperty(_._store, "validated", {
|
|
3135
3136
|
configurable: !1,
|
|
@@ -3140,7 +3141,7 @@ function ta() {
|
|
|
3140
3141
|
configurable: !1,
|
|
3141
3142
|
enumerable: !1,
|
|
3142
3143
|
writable: !1,
|
|
3143
|
-
value:
|
|
3144
|
+
value: n
|
|
3144
3145
|
}), Object.defineProperty(_, "_source", {
|
|
3145
3146
|
configurable: !1,
|
|
3146
3147
|
enumerable: !1,
|
|
@@ -3148,22 +3149,22 @@ function ta() {
|
|
|
3148
3149
|
value: f
|
|
3149
3150
|
}), Object.freeze && (Object.freeze(_.props), Object.freeze(_)), _;
|
|
3150
3151
|
};
|
|
3151
|
-
function rt(e, t, r,
|
|
3152
|
+
function rt(e, t, r, n, f) {
|
|
3152
3153
|
{
|
|
3153
|
-
var
|
|
3154
|
-
r !== void 0 && (Re(r), _ = "" + r), Ve(t) && (Re(t.key), _ = "" + t.key), Ze(t) && (
|
|
3155
|
-
for (
|
|
3156
|
-
X.call(t,
|
|
3154
|
+
var y, l = {}, _ = null, D = null;
|
|
3155
|
+
r !== void 0 && (Re(r), _ = "" + r), Ve(t) && (Re(t.key), _ = "" + t.key), Ze(t) && (D = t.ref, Xe(t));
|
|
3156
|
+
for (y in t)
|
|
3157
|
+
X.call(t, y) && !Je.hasOwnProperty(y) && (l[y] = t[y]);
|
|
3157
3158
|
if (e && e.defaultProps) {
|
|
3158
3159
|
var w = e.defaultProps;
|
|
3159
|
-
for (
|
|
3160
|
-
l[
|
|
3160
|
+
for (y in w)
|
|
3161
|
+
l[y] === void 0 && (l[y] = w[y]);
|
|
3161
3162
|
}
|
|
3162
|
-
if (_ ||
|
|
3163
|
+
if (_ || D) {
|
|
3163
3164
|
var j = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
3164
|
-
_ && Qe(l, j),
|
|
3165
|
+
_ && Qe(l, j), D && et(l, j);
|
|
3165
3166
|
}
|
|
3166
|
-
return tt(e, _,
|
|
3167
|
+
return tt(e, _, D, f, n, Ee.current, l);
|
|
3167
3168
|
}
|
|
3168
3169
|
}
|
|
3169
3170
|
var fe = O.ReactCurrentOwner, De = O.ReactDebugCurrentFrame;
|
|
@@ -3216,8 +3217,8 @@ Check the top-level render call using <` + r + ">.");
|
|
|
3216
3217
|
if (Ne[r])
|
|
3217
3218
|
return;
|
|
3218
3219
|
Ne[r] = !0;
|
|
3219
|
-
var
|
|
3220
|
-
e && e._owner && e._owner !== fe.current && (
|
|
3220
|
+
var n = "";
|
|
3221
|
+
e && e._owner && e._owner !== fe.current && (n = " It was passed a child from " + k(e._owner.type) + "."), J(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, n), J(null);
|
|
3221
3222
|
}
|
|
3222
3223
|
}
|
|
3223
3224
|
function Ie(e, t) {
|
|
@@ -3226,15 +3227,15 @@ Check the top-level render call using <` + r + ">.");
|
|
|
3226
3227
|
return;
|
|
3227
3228
|
if (de(e))
|
|
3228
3229
|
for (var r = 0; r < e.length; r++) {
|
|
3229
|
-
var
|
|
3230
|
-
me(
|
|
3230
|
+
var n = e[r];
|
|
3231
|
+
me(n) && Fe(n, t);
|
|
3231
3232
|
}
|
|
3232
3233
|
else if (me(e))
|
|
3233
3234
|
e._store && (e._store.validated = !0);
|
|
3234
3235
|
else if (e) {
|
|
3235
3236
|
var f = I(e);
|
|
3236
3237
|
if (typeof f == "function" && f !== e.entries)
|
|
3237
|
-
for (var
|
|
3238
|
+
for (var y = f.call(e), l; !(l = y.next()).done; )
|
|
3238
3239
|
me(l.value) && Fe(l.value, t);
|
|
3239
3240
|
}
|
|
3240
3241
|
}
|
|
@@ -3254,8 +3255,8 @@ Check the top-level render call using <` + r + ">.");
|
|
|
3254
3255
|
else
|
|
3255
3256
|
return;
|
|
3256
3257
|
if (r) {
|
|
3257
|
-
var
|
|
3258
|
-
Ye(r, e.props, "prop",
|
|
3258
|
+
var n = k(t);
|
|
3259
|
+
Ye(r, e.props, "prop", n, e);
|
|
3259
3260
|
} else if (t.PropTypes !== void 0 && !pe) {
|
|
3260
3261
|
pe = !0;
|
|
3261
3262
|
var f = k(t);
|
|
@@ -3267,9 +3268,9 @@ Check the top-level render call using <` + r + ">.");
|
|
|
3267
3268
|
function it(e) {
|
|
3268
3269
|
{
|
|
3269
3270
|
for (var t = Object.keys(e.props), r = 0; r < t.length; r++) {
|
|
3270
|
-
var
|
|
3271
|
-
if (
|
|
3272
|
-
J(e), p("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",
|
|
3271
|
+
var n = t[r];
|
|
3272
|
+
if (n !== "children" && n !== "key") {
|
|
3273
|
+
J(e), p("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", n), J(null);
|
|
3273
3274
|
break;
|
|
3274
3275
|
}
|
|
3275
3276
|
}
|
|
@@ -3277,24 +3278,24 @@ Check the top-level render call using <` + r + ">.");
|
|
|
3277
3278
|
}
|
|
3278
3279
|
}
|
|
3279
3280
|
var Me = {};
|
|
3280
|
-
function $e(e, t, r,
|
|
3281
|
+
function $e(e, t, r, n, f, y) {
|
|
3281
3282
|
{
|
|
3282
3283
|
var l = U(e);
|
|
3283
3284
|
if (!l) {
|
|
3284
3285
|
var _ = "";
|
|
3285
3286
|
(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.");
|
|
3286
|
-
var
|
|
3287
|
-
|
|
3287
|
+
var D = at();
|
|
3288
|
+
D ? _ += D : _ += Pe();
|
|
3288
3289
|
var w;
|
|
3289
3290
|
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, _);
|
|
3290
3291
|
}
|
|
3291
|
-
var j = rt(e, t, r, f,
|
|
3292
|
+
var j = rt(e, t, r, f, y);
|
|
3292
3293
|
if (j == null)
|
|
3293
3294
|
return j;
|
|
3294
3295
|
if (l) {
|
|
3295
3296
|
var B = t.children;
|
|
3296
3297
|
if (B !== void 0)
|
|
3297
|
-
if (
|
|
3298
|
+
if (n)
|
|
3298
3299
|
if (de(B)) {
|
|
3299
3300
|
for (var Z = 0; Z < B.length; Z++)
|
|
3300
3301
|
Ie(B[Z], e);
|
|
@@ -3331,29 +3332,29 @@ React keys must be passed directly to JSX without using spread:
|
|
|
3331
3332
|
xt.Fragment = u, xt.jsx = lt, xt.jsxs = ct;
|
|
3332
3333
|
}()), xt;
|
|
3333
3334
|
}
|
|
3334
|
-
process.env.NODE_ENV === "production" ? Ft.exports =
|
|
3335
|
+
process.env.NODE_ENV === "production" ? Ft.exports = ta() : Ft.exports = ra();
|
|
3335
3336
|
var ee = Ft.exports;
|
|
3336
|
-
const
|
|
3337
|
-
notice:
|
|
3338
|
-
error:
|
|
3339
|
-
success:
|
|
3340
|
-
remark:
|
|
3341
|
-
copy:
|
|
3337
|
+
const aa = "_notice_13j98_2", na = "_error_13j98_11", oa = "_success_13j98_14", ia = "_remark_13j98_17", _a = "_copy_13j98_20", Ht = {
|
|
3338
|
+
notice: aa,
|
|
3339
|
+
error: na,
|
|
3340
|
+
success: oa,
|
|
3341
|
+
remark: ia,
|
|
3342
|
+
copy: _a,
|
|
3342
3343
|
"show-notice": "_show-notice_13j98_1",
|
|
3343
3344
|
"hide-notice": "_hide-notice_13j98_1"
|
|
3344
3345
|
};
|
|
3345
3346
|
let Be = {};
|
|
3346
|
-
function bt({ data:
|
|
3347
|
+
function bt({ data: a }) {
|
|
3347
3348
|
let [i, c] = W.useState("show");
|
|
3348
3349
|
W.useEffect(() => {
|
|
3349
|
-
|
|
3350
|
+
a.hide && (setTimeout(function() {
|
|
3350
3351
|
c("hide");
|
|
3351
3352
|
}, 1800), setTimeout(function() {
|
|
3352
|
-
Be.del(
|
|
3353
|
+
Be.del(a.key);
|
|
3353
3354
|
}, 2500));
|
|
3354
|
-
}, [
|
|
3355
|
+
}, [a.key]);
|
|
3355
3356
|
let u, v;
|
|
3356
|
-
switch (
|
|
3357
|
+
switch (a.type) {
|
|
3357
3358
|
case "error":
|
|
3358
3359
|
u = /* @__PURE__ */ ee.jsx(ft.error, {}), v = "Ошибка:";
|
|
3359
3360
|
break;
|
|
@@ -3370,21 +3371,21 @@ function bt({ data: n }) {
|
|
|
3370
3371
|
u = /* @__PURE__ */ ee.jsx(ft.success, {}), v = "Предупреждение:";
|
|
3371
3372
|
break;
|
|
3372
3373
|
}
|
|
3373
|
-
return /* @__PURE__ */ ee.jsxs("li", { className: Ht[
|
|
3374
|
+
return /* @__PURE__ */ ee.jsxs("li", { className: Ht[a.type], "data-status": i, children: [
|
|
3374
3375
|
u,
|
|
3375
3376
|
/* @__PURE__ */ ee.jsx("b", { children: v }),
|
|
3376
|
-
/* @__PURE__ */ ee.jsx("p", { children:
|
|
3377
|
+
/* @__PURE__ */ ee.jsx("p", { children: a.text })
|
|
3377
3378
|
] });
|
|
3378
3379
|
}
|
|
3379
|
-
function
|
|
3380
|
+
function sa({ data: a }) {
|
|
3380
3381
|
let [i, c] = W.useState("show");
|
|
3381
3382
|
return W.useEffect(() => {
|
|
3382
|
-
|
|
3383
|
+
a.hide && (setTimeout(function() {
|
|
3383
3384
|
c("hide");
|
|
3384
3385
|
}, 1800), setTimeout(function() {
|
|
3385
|
-
Be.del(
|
|
3386
|
+
Be.del(a.key);
|
|
3386
3387
|
}, 2500));
|
|
3387
|
-
}, [
|
|
3388
|
+
}, [a.key]), /* @__PURE__ */ ee.jsx("li", { className: "item", "data-status": i, children: a.text });
|
|
3388
3389
|
}
|
|
3389
3390
|
const ft = {};
|
|
3390
3391
|
ft.error = () => /* @__PURE__ */ ee.jsxs("svg", { viewBox: "0 0 24 24", fill: "none", children: [
|
|
@@ -3420,7 +3421,7 @@ ft.success = () => /* @__PURE__ */ ee.jsxs("svg", { viewBox: "0 0 24 24", fill:
|
|
|
3420
3421
|
)
|
|
3421
3422
|
] });
|
|
3422
3423
|
var St;
|
|
3423
|
-
((
|
|
3424
|
+
((a) => {
|
|
3424
3425
|
function i() {
|
|
3425
3426
|
let [s, g] = W.useState([]);
|
|
3426
3427
|
return Be.set = (o) => {
|
|
@@ -3429,7 +3430,7 @@ var St;
|
|
|
3429
3430
|
g(s.filter((d) => d.key !== o));
|
|
3430
3431
|
}, s.length === 0 ? "" : /* @__PURE__ */ ee.jsx("ul", { className: Ht.notice, children: s.map((o) => o.item) });
|
|
3431
3432
|
}
|
|
3432
|
-
|
|
3433
|
+
a.Init = i;
|
|
3433
3434
|
function c(s, g = !0) {
|
|
3434
3435
|
let o = Date.now(), d = { key: o, text: s, hide: g, type: "error" };
|
|
3435
3436
|
Be.set({
|
|
@@ -3437,7 +3438,7 @@ var St;
|
|
|
3437
3438
|
key: o
|
|
3438
3439
|
});
|
|
3439
3440
|
}
|
|
3440
|
-
|
|
3441
|
+
a.Error = c;
|
|
3441
3442
|
function u(s, g = !0) {
|
|
3442
3443
|
let o = Date.now(), d = { key: o, text: s, hide: g, type: "success" };
|
|
3443
3444
|
Be.set({
|
|
@@ -3445,28 +3446,28 @@ var St;
|
|
|
3445
3446
|
key: o
|
|
3446
3447
|
});
|
|
3447
3448
|
}
|
|
3448
|
-
|
|
3449
|
+
a.Success = u;
|
|
3449
3450
|
function v(s, g = !0) {
|
|
3450
3451
|
let o = Date.now(), d = { key: o, hide: g, text: s };
|
|
3451
|
-
Be.set({ item: /* @__PURE__ */ ee.jsx(
|
|
3452
|
+
Be.set({ item: /* @__PURE__ */ ee.jsx(sa, { data: d }, o), key: o });
|
|
3452
3453
|
}
|
|
3453
|
-
|
|
3454
|
-
function
|
|
3454
|
+
a.Custom = v;
|
|
3455
|
+
function C(s) {
|
|
3455
3456
|
let g = Date.now(), o = { key: g, hide: !0, ...s };
|
|
3456
3457
|
Be.set({
|
|
3457
3458
|
item: /* @__PURE__ */ ee.jsx(bt, { data: o }, g),
|
|
3458
3459
|
key: g
|
|
3459
3460
|
});
|
|
3460
3461
|
}
|
|
3461
|
-
|
|
3462
|
-
function
|
|
3462
|
+
a.Send = C;
|
|
3463
|
+
function T(s, g = !0) {
|
|
3463
3464
|
let o = Date.now(), d = { key: o, text: s, hide: g, type: "remark" };
|
|
3464
3465
|
Be.set({
|
|
3465
3466
|
item: /* @__PURE__ */ ee.jsx(bt, { data: d }, o),
|
|
3466
3467
|
key: o
|
|
3467
3468
|
});
|
|
3468
3469
|
}
|
|
3469
|
-
|
|
3470
|
+
a.Remark = T;
|
|
3470
3471
|
function x(s, g = !0) {
|
|
3471
3472
|
let o = Date.now(), d = { key: o, text: s, hide: g, type: "copy" };
|
|
3472
3473
|
Be.set({
|
|
@@ -3474,26 +3475,26 @@ var St;
|
|
|
3474
3475
|
key: o
|
|
3475
3476
|
});
|
|
3476
3477
|
}
|
|
3477
|
-
|
|
3478
|
+
a.Copy = x;
|
|
3478
3479
|
})(St || (St = {}));
|
|
3479
|
-
function
|
|
3480
|
-
value:
|
|
3480
|
+
function Ra({
|
|
3481
|
+
value: a = "",
|
|
3481
3482
|
onValue: i,
|
|
3482
3483
|
onSave: c,
|
|
3483
3484
|
name: u,
|
|
3484
3485
|
format: v = "+_(___) ___-__-__",
|
|
3485
|
-
placeholder:
|
|
3486
|
-
title:
|
|
3486
|
+
placeholder: C = "",
|
|
3487
|
+
title: T = "",
|
|
3487
3488
|
error: x = "",
|
|
3488
3489
|
hide: s = !1,
|
|
3489
3490
|
edit: g = !0,
|
|
3490
3491
|
active: o = !0,
|
|
3491
3492
|
after: d = "",
|
|
3492
3493
|
show: b = !0,
|
|
3493
|
-
view:
|
|
3494
|
+
view: S,
|
|
3494
3495
|
className: N = ""
|
|
3495
3496
|
}) {
|
|
3496
|
-
g = g !== void 0 ? g : !0, o = o !== void 0 ? o : !0, s = !!(s && (
|
|
3497
|
+
g = g !== void 0 ? g : !0, o = o !== void 0 ? o : !0, s = !!(s && (a === "" || a === void 0)) && !(g && o), W.useRef(null);
|
|
3497
3498
|
let I = v, O = !0, p = 0, M = (h, k) => {
|
|
3498
3499
|
let $ = document.createRange(), Y = window.getSelection();
|
|
3499
3500
|
$.setStart(k.childNodes[0], h), $.collapse(!0), Y.removeAllRanges(), Y.addRange($), k.focus();
|
|
@@ -3521,10 +3522,10 @@ function Sa({
|
|
|
3521
3522
|
function(k) {
|
|
3522
3523
|
}
|
|
3523
3524
|
);
|
|
3524
|
-
}, q = G(
|
|
3525
|
+
}, q = G(a), E = (h) => {
|
|
3525
3526
|
let k = G(h.target.textContent);
|
|
3526
3527
|
h.target.textContent = k.q, k.i = k.q.lastIndexOf(k.v.substr(-1)), k.i < k.q.length && k.q !== I ? k.i++ : k.i = k.q.indexOf("_"), M(k.i, h.target), i && i({ value: k.q.replace(/\D/g, ""), name: u });
|
|
3527
|
-
},
|
|
3528
|
+
}, P = (h) => {
|
|
3528
3529
|
h.key === "Enter" && h.preventDefault();
|
|
3529
3530
|
};
|
|
3530
3531
|
const U = (h) => {
|
|
@@ -3534,19 +3535,19 @@ function Sa({
|
|
|
3534
3535
|
});
|
|
3535
3536
|
};
|
|
3536
3537
|
let R = {};
|
|
3537
|
-
return g && o ? (R.edit = "true", R.contentEditable = te.ContentEditable) : R.contentEditable = "false",
|
|
3538
|
+
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.jsx(
|
|
3538
3539
|
pt,
|
|
3539
3540
|
{
|
|
3540
3541
|
type: "input",
|
|
3541
|
-
title:
|
|
3542
|
+
title: T,
|
|
3542
3543
|
element_blok: { className: [N] },
|
|
3543
3544
|
element_input: { className: [V.w] },
|
|
3544
|
-
children: /* @__PURE__ */
|
|
3545
|
+
children: /* @__PURE__ */ m.jsx(
|
|
3545
3546
|
"div",
|
|
3546
3547
|
{
|
|
3547
3548
|
onPaste: K,
|
|
3548
3549
|
onInput: E,
|
|
3549
|
-
onKeyDown:
|
|
3550
|
+
onKeyDown: P,
|
|
3550
3551
|
onContextMenu: L,
|
|
3551
3552
|
onBlur: U,
|
|
3552
3553
|
suppressContentEditableWarning: !0,
|
|
@@ -3557,21 +3558,21 @@ function Sa({
|
|
|
3557
3558
|
}
|
|
3558
3559
|
);
|
|
3559
3560
|
}
|
|
3560
|
-
function
|
|
3561
|
-
id:
|
|
3561
|
+
function Ea({
|
|
3562
|
+
id: a,
|
|
3562
3563
|
value: i,
|
|
3563
3564
|
onValue: c,
|
|
3564
3565
|
name: u,
|
|
3565
3566
|
placeholder: v = "",
|
|
3566
|
-
title:
|
|
3567
|
-
error:
|
|
3567
|
+
title: C = "",
|
|
3568
|
+
error: T = "",
|
|
3568
3569
|
hide: x = !1,
|
|
3569
3570
|
edit: s = !0,
|
|
3570
3571
|
active: g = !0,
|
|
3571
3572
|
after: o = "",
|
|
3572
3573
|
show: d = !0,
|
|
3573
3574
|
maxLength: b,
|
|
3574
|
-
view:
|
|
3575
|
+
view: S,
|
|
3575
3576
|
onSave: N,
|
|
3576
3577
|
className: A = "",
|
|
3577
3578
|
isCopy: I = !0
|
|
@@ -3583,35 +3584,35 @@ function Ra({
|
|
|
3583
3584
|
}, K = (E) => {
|
|
3584
3585
|
b && E.target.textContent.trim().length >= b && E.key !== "Backspace" && E.preventDefault(), E.key === "Enter" && E.preventDefault();
|
|
3585
3586
|
}, G = (E) => {
|
|
3586
|
-
E.preventDefault(), navigator.clipboard.readText().then((
|
|
3587
|
+
E.preventDefault(), navigator.clipboard.readText().then((P) => {
|
|
3587
3588
|
if (b) {
|
|
3588
3589
|
let U = E.target.textContent.length;
|
|
3589
3590
|
if (U >= b) return;
|
|
3590
|
-
b -= U,
|
|
3591
|
+
b -= U, P = P.slice(0, b);
|
|
3591
3592
|
}
|
|
3592
3593
|
window.document.execCommand(
|
|
3593
3594
|
"insertText",
|
|
3594
3595
|
!1,
|
|
3595
|
-
|
|
3596
|
+
P.replace(/(\r\n|\n|\r)/gm, " ")
|
|
3596
3597
|
);
|
|
3597
|
-
}).catch((
|
|
3598
|
+
}).catch((P) => {
|
|
3598
3599
|
});
|
|
3599
3600
|
};
|
|
3600
|
-
if (x) return /* @__PURE__ */
|
|
3601
|
+
if (x) return /* @__PURE__ */ m.jsx(m.Fragment, {});
|
|
3601
3602
|
if (!(s && g) && !d) return "";
|
|
3602
3603
|
const L = {};
|
|
3603
3604
|
v && (L.placeholder = v), s && g && (L.edit = ""), O && (L.open = "");
|
|
3604
3605
|
const q = (E) => {
|
|
3605
3606
|
te.Blur(E), N == null || N({ value: E.target.textContent.trim(), name: u });
|
|
3606
3607
|
};
|
|
3607
|
-
return /* @__PURE__ */
|
|
3608
|
+
return /* @__PURE__ */ m.jsx(
|
|
3608
3609
|
pt,
|
|
3609
3610
|
{
|
|
3610
3611
|
type: "note",
|
|
3611
|
-
title:
|
|
3612
|
+
title: C,
|
|
3612
3613
|
element_blok: { className: [A] },
|
|
3613
3614
|
element_input: { className: [V.n] },
|
|
3614
|
-
children: /* @__PURE__ */
|
|
3615
|
+
children: /* @__PURE__ */ m.jsx(
|
|
3615
3616
|
"div",
|
|
3616
3617
|
{
|
|
3617
3618
|
onPaste: G,
|
|
@@ -5009,23 +5010,23 @@ const Ot = {
|
|
|
5009
5010
|
mask: "+1939(___) ___-__-__"
|
|
5010
5011
|
}
|
|
5011
5012
|
};
|
|
5012
|
-
function
|
|
5013
|
-
value:
|
|
5013
|
+
function Oa({
|
|
5014
|
+
value: a,
|
|
5014
5015
|
onValue: i,
|
|
5015
5016
|
onSave: c,
|
|
5016
5017
|
name: u,
|
|
5017
5018
|
placeholder: v = "",
|
|
5018
|
-
title:
|
|
5019
|
-
error:
|
|
5019
|
+
title: C = "",
|
|
5020
|
+
error: T = "",
|
|
5020
5021
|
hide: x = !1,
|
|
5021
5022
|
edit: s = !0,
|
|
5022
5023
|
active: g = !0,
|
|
5023
5024
|
after: o = "",
|
|
5024
5025
|
show: d = !0,
|
|
5025
5026
|
view: b,
|
|
5026
|
-
className:
|
|
5027
|
+
className: S = ""
|
|
5027
5028
|
}) {
|
|
5028
|
-
s = s !== void 0 ? s : !0, g = g !== void 0 ? g : !0, x = !!(x && (
|
|
5029
|
+
s = s !== void 0 ? s : !0, g = g !== void 0 ? g : !0, x = !!(x && (a === "" || a === void 0)) && !(s && g), W.useRef(null);
|
|
5029
5030
|
let A = "+_(___) ___-__-__", I = !0, O = 0, p = (R, h) => {
|
|
5030
5031
|
let k = document.createRange(), $ = window.getSelection();
|
|
5031
5032
|
k.setStart(h.childNodes[0], R), k.collapse(!0), $.removeAllRanges(), $.addRange(k), h.focus();
|
|
@@ -5062,31 +5063,31 @@ function Ea({
|
|
|
5062
5063
|
function(h) {
|
|
5063
5064
|
}
|
|
5064
5065
|
);
|
|
5065
|
-
}, q = G(
|
|
5066
|
+
}, q = G(a), E = (R) => {
|
|
5066
5067
|
R.key === "Enter" && R.preventDefault();
|
|
5067
5068
|
};
|
|
5068
|
-
const
|
|
5069
|
+
const P = (R) => {
|
|
5069
5070
|
te.Blur(R), c && c({
|
|
5070
5071
|
value: R.target.textContent.replace(/\D/g, ""),
|
|
5071
5072
|
name: u
|
|
5072
5073
|
});
|
|
5073
5074
|
};
|
|
5074
5075
|
let U = {};
|
|
5075
|
-
return s && g ? (U.edit = "true", U.contentEditable = te.ContentEditable) : U.contentEditable = "false", v && (U.placeholder = v), x ? /* @__PURE__ */
|
|
5076
|
+
return s && g ? (U.edit = "true", U.contentEditable = te.ContentEditable) : U.contentEditable = "false", v && (U.placeholder = v), x ? /* @__PURE__ */ m.jsx(m.Fragment, {}) : /* @__PURE__ */ m.jsx(
|
|
5076
5077
|
pt,
|
|
5077
5078
|
{
|
|
5078
5079
|
type: "input",
|
|
5079
|
-
title:
|
|
5080
|
-
element_blok: { className:
|
|
5080
|
+
title: C,
|
|
5081
|
+
element_blok: { className: S },
|
|
5081
5082
|
element_input: { className: [V.w] },
|
|
5082
|
-
children: /* @__PURE__ */
|
|
5083
|
+
children: /* @__PURE__ */ m.jsx(
|
|
5083
5084
|
"div",
|
|
5084
5085
|
{
|
|
5085
5086
|
onPaste: K,
|
|
5086
5087
|
onInput: M,
|
|
5087
5088
|
onKeyDown: E,
|
|
5088
5089
|
onContextMenu: L,
|
|
5089
|
-
onBlur:
|
|
5090
|
+
onBlur: P,
|
|
5090
5091
|
suppressContentEditableWarning: !0,
|
|
5091
5092
|
...U,
|
|
5092
5093
|
children: q.q
|
|
@@ -5095,18 +5096,18 @@ function Ea({
|
|
|
5095
5096
|
}
|
|
5096
5097
|
);
|
|
5097
5098
|
}
|
|
5098
|
-
const
|
|
5099
|
-
o:
|
|
5100
|
-
c:
|
|
5099
|
+
const la = "_o_1c9e1_1", ca = "_c_1c9e1_11", Rt = {
|
|
5100
|
+
o: la,
|
|
5101
|
+
c: ca
|
|
5101
5102
|
};
|
|
5102
|
-
function
|
|
5103
|
-
title:
|
|
5103
|
+
function Ta({
|
|
5104
|
+
title: a,
|
|
5104
5105
|
error: i,
|
|
5105
5106
|
edit: c = !0,
|
|
5106
5107
|
active: u = !0,
|
|
5107
5108
|
className: v,
|
|
5108
|
-
placeholder:
|
|
5109
|
-
max:
|
|
5109
|
+
placeholder: C,
|
|
5110
|
+
max: T,
|
|
5110
5111
|
min: x,
|
|
5111
5112
|
onValue: s,
|
|
5112
5113
|
icon: g,
|
|
@@ -5114,7 +5115,7 @@ function Oa({
|
|
|
5114
5115
|
value: d,
|
|
5115
5116
|
after: b
|
|
5116
5117
|
}) {
|
|
5117
|
-
let [
|
|
5118
|
+
let [S, N] = W.useState(
|
|
5118
5119
|
d === void 0 ? /* @__PURE__ */ new Date() : d
|
|
5119
5120
|
);
|
|
5120
5121
|
const A = W.useRef(null), [I, O] = W.useState(!1);
|
|
@@ -5125,19 +5126,19 @@ function Oa({
|
|
|
5125
5126
|
let M = (L) => {
|
|
5126
5127
|
N(L), s == null || s({ value: L, name: o });
|
|
5127
5128
|
}, K = (L) => {
|
|
5128
|
-
const q = L.target.getBoundingClientRect(), E = q.left,
|
|
5129
|
-
A.position = { x: E, b:
|
|
5129
|
+
const q = L.target.getBoundingClientRect(), E = q.left, P = q.bottom, U = q.top;
|
|
5130
|
+
A.position = { x: E, b: P, y: U }, O(!0);
|
|
5130
5131
|
};
|
|
5131
5132
|
const G = {};
|
|
5132
|
-
return
|
|
5133
|
-
g ? g() : /* @__PURE__ */
|
|
5133
|
+
return C && (G.placeholder = C), p ? /* @__PURE__ */ m.jsx(m.Fragment, {}) : /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
|
|
5134
|
+
g ? g() : /* @__PURE__ */ m.jsxs(
|
|
5134
5135
|
"dl",
|
|
5135
5136
|
{
|
|
5136
5137
|
"data-field": "date",
|
|
5137
5138
|
className: [V.l, v].filter((L) => L !== void 0).join(" "),
|
|
5138
5139
|
children: [
|
|
5139
|
-
|
|
5140
|
-
/* @__PURE__ */
|
|
5140
|
+
a ? /* @__PURE__ */ m.jsx("dt", { className: V.t, children: a }) : "",
|
|
5141
|
+
/* @__PURE__ */ m.jsxs(
|
|
5141
5142
|
"dd",
|
|
5142
5143
|
{
|
|
5143
5144
|
onClick: K,
|
|
@@ -5145,23 +5146,23 @@ function Oa({
|
|
|
5145
5146
|
...G,
|
|
5146
5147
|
"data-edit": (c && u) + "",
|
|
5147
5148
|
children: [
|
|
5148
|
-
|
|
5149
|
+
fa(S, "dd.mm.yyyy"),
|
|
5149
5150
|
b
|
|
5150
5151
|
]
|
|
5151
5152
|
}
|
|
5152
5153
|
),
|
|
5153
|
-
i && /* @__PURE__ */
|
|
5154
|
+
i && /* @__PURE__ */ m.jsx("em", { children: i })
|
|
5154
5155
|
]
|
|
5155
5156
|
}
|
|
5156
5157
|
),
|
|
5157
5158
|
I && Mt(
|
|
5158
|
-
/* @__PURE__ */
|
|
5159
|
-
|
|
5159
|
+
/* @__PURE__ */ m.jsx(
|
|
5160
|
+
ua,
|
|
5160
5161
|
{
|
|
5161
5162
|
position: A.position,
|
|
5162
5163
|
onValue: M,
|
|
5163
|
-
date:
|
|
5164
|
-
max:
|
|
5164
|
+
date: S,
|
|
5165
|
+
max: T,
|
|
5165
5166
|
min: x,
|
|
5166
5167
|
onOpen: O,
|
|
5167
5168
|
className: v
|
|
@@ -5172,16 +5173,16 @@ function Oa({
|
|
|
5172
5173
|
)
|
|
5173
5174
|
] });
|
|
5174
5175
|
}
|
|
5175
|
-
const
|
|
5176
|
-
date:
|
|
5176
|
+
const ua = ({
|
|
5177
|
+
date: a,
|
|
5177
5178
|
onValue: i,
|
|
5178
5179
|
position: c,
|
|
5179
5180
|
max: u,
|
|
5180
5181
|
min: v,
|
|
5181
|
-
className:
|
|
5182
|
-
onOpen:
|
|
5182
|
+
className: C,
|
|
5183
|
+
onOpen: T
|
|
5183
5184
|
}) => {
|
|
5184
|
-
let x = /* @__PURE__ */ new Date(), s = new Date(
|
|
5185
|
+
let x = /* @__PURE__ */ new Date(), s = new Date(a), g = {
|
|
5185
5186
|
y: parseInt(x.getFullYear()),
|
|
5186
5187
|
d: parseInt(x.getDate()),
|
|
5187
5188
|
m: parseInt(x.getMonth()) + 1
|
|
@@ -5189,16 +5190,16 @@ const ca = ({
|
|
|
5189
5190
|
y: parseInt(s.getFullYear()),
|
|
5190
5191
|
d: parseInt(s.getDate()),
|
|
5191
5192
|
m: parseInt(s.getMonth()) + 1
|
|
5192
|
-
}, [d, b] = W.useState({ y: o.y, m: o.m }),
|
|
5193
|
+
}, [d, b] = W.useState({ y: o.y, m: o.m }), S = (h) => {
|
|
5193
5194
|
let k = h.getDay();
|
|
5194
5195
|
return k === 0 && (k = 7), k - 1;
|
|
5195
5196
|
}, N = ["пн", "вт", "ср", "чт", "пт", "сб", "вс"], A = d.m - 1, I = new Date(d.y, A), O = [];
|
|
5196
|
-
for (let h = 0; h <
|
|
5197
|
+
for (let h = 0; h < S(I); h++)
|
|
5197
5198
|
O.push(0);
|
|
5198
5199
|
for (; I.getMonth() === A; )
|
|
5199
5200
|
O.push(I.getDate()), I.setDate(I.getDate() + 1);
|
|
5200
5201
|
let p = () => {
|
|
5201
|
-
|
|
5202
|
+
T(!1);
|
|
5202
5203
|
}, M = () => {
|
|
5203
5204
|
L(d.m + 1, d.y);
|
|
5204
5205
|
}, K = () => {
|
|
@@ -5210,7 +5211,7 @@ const ca = ({
|
|
|
5210
5211
|
}, L = (h, k) => {
|
|
5211
5212
|
k = h > 12 ? k + 1 : h < 1 ? k - 1 : k, h = h > 12 ? 1 : h < 1 ? 12 : h, b({ y: k, m: h });
|
|
5212
5213
|
};
|
|
5213
|
-
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" } : {},
|
|
5214
|
+
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" } : {}, P = (h) => {
|
|
5214
5215
|
let k = !0;
|
|
5215
5216
|
if (u) {
|
|
5216
5217
|
let $ = u.getTime(), Y = new Date(d.y, d.m - 1, h).getTime();
|
|
@@ -5223,19 +5224,19 @@ const ca = ({
|
|
|
5223
5224
|
return k;
|
|
5224
5225
|
};
|
|
5225
5226
|
let U = window.innerHeight - c.y < 320 ? c.y - 312 : c.b, R = window.innerWidth - c.x < 265 ? c.x - 235 : c.x;
|
|
5226
|
-
return /* @__PURE__ */
|
|
5227
|
-
/* @__PURE__ */
|
|
5228
|
-
/* @__PURE__ */
|
|
5227
|
+
return /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
|
|
5228
|
+
/* @__PURE__ */ m.jsx("div", { className: Rt.o, onClick: () => p() }),
|
|
5229
|
+
/* @__PURE__ */ m.jsxs(
|
|
5229
5230
|
"div",
|
|
5230
5231
|
{
|
|
5231
5232
|
className: [
|
|
5232
5233
|
Rt.c,
|
|
5233
|
-
|
|
5234
|
+
C && C + "-backdrop"
|
|
5234
5235
|
].join(" "),
|
|
5235
5236
|
style: { top: U + "px", left: R + "px" },
|
|
5236
5237
|
children: [
|
|
5237
|
-
/* @__PURE__ */
|
|
5238
|
-
/* @__PURE__ */
|
|
5238
|
+
/* @__PURE__ */ m.jsxs("s", { children: [
|
|
5239
|
+
/* @__PURE__ */ m.jsx("i", { onClick: K, children: /* @__PURE__ */ m.jsx(
|
|
5239
5240
|
"svg",
|
|
5240
5241
|
{
|
|
5241
5242
|
width: "16",
|
|
@@ -5243,15 +5244,15 @@ const ca = ({
|
|
|
5243
5244
|
fill: "currentColor",
|
|
5244
5245
|
viewBox: "0 0 24 24",
|
|
5245
5246
|
xmlns: "http://www.w3.org/2000/svg",
|
|
5246
|
-
children: /* @__PURE__ */
|
|
5247
|
+
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" })
|
|
5247
5248
|
}
|
|
5248
5249
|
) }),
|
|
5249
|
-
/* @__PURE__ */
|
|
5250
|
-
|
|
5250
|
+
/* @__PURE__ */ m.jsxs("h2", { children: [
|
|
5251
|
+
da(d.m).name,
|
|
5251
5252
|
" ",
|
|
5252
5253
|
d.y
|
|
5253
5254
|
] }),
|
|
5254
|
-
/* @__PURE__ */
|
|
5255
|
+
/* @__PURE__ */ m.jsx("i", { onClick: M, children: /* @__PURE__ */ m.jsx(
|
|
5255
5256
|
"svg",
|
|
5256
5257
|
{
|
|
5257
5258
|
width: "16",
|
|
@@ -5259,13 +5260,13 @@ const ca = ({
|
|
|
5259
5260
|
fill: "currentColor",
|
|
5260
5261
|
viewBox: "0 0 24 24",
|
|
5261
5262
|
xmlns: "http://www.w3.org/2000/svg",
|
|
5262
|
-
children: /* @__PURE__ */
|
|
5263
|
+
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" })
|
|
5263
5264
|
}
|
|
5264
5265
|
) })
|
|
5265
5266
|
] }),
|
|
5266
|
-
/* @__PURE__ */
|
|
5267
|
-
N.map((h, k) => /* @__PURE__ */
|
|
5268
|
-
O.map((h, k) => /* @__PURE__ */
|
|
5267
|
+
/* @__PURE__ */ m.jsxs("div", { "grid-calendar": "", children: [
|
|
5268
|
+
N.map((h, k) => /* @__PURE__ */ m.jsx("p", { children: h }, "v" + k)),
|
|
5269
|
+
O.map((h, k) => /* @__PURE__ */ m.jsx("span", { children: h !== 0 && P(h) ? /* @__PURE__ */ m.jsx(
|
|
5269
5270
|
"b",
|
|
5270
5271
|
{
|
|
5271
5272
|
...q(h),
|
|
@@ -5273,15 +5274,15 @@ const ca = ({
|
|
|
5273
5274
|
onClick: () => G(h),
|
|
5274
5275
|
children: h
|
|
5275
5276
|
}
|
|
5276
|
-
) : /* @__PURE__ */
|
|
5277
|
+
) : /* @__PURE__ */ m.jsx("p", { ...q(h), ...E(h), children: h !== 0 ? h : "" }) }, k))
|
|
5277
5278
|
] })
|
|
5278
5279
|
]
|
|
5279
5280
|
}
|
|
5280
5281
|
)
|
|
5281
5282
|
] });
|
|
5282
5283
|
};
|
|
5283
|
-
function
|
|
5284
|
-
return
|
|
5284
|
+
function da(a) {
|
|
5285
|
+
return a = typeof a == "number" ? a : new Date(a).getMonth() + 1, {
|
|
5285
5286
|
1: { val: "01", name: "Январь", names: "Января", abc: "Янв" },
|
|
5286
5287
|
2: { val: "02", name: "Февраль", names: "Февраля", abc: "Февр" },
|
|
5287
5288
|
3: { val: "03", name: "Март", names: "Марта", abc: "Март" },
|
|
@@ -5294,23 +5295,23 @@ function ua(n) {
|
|
|
5294
5295
|
10: { val: "10", name: "Октябрь", names: "Октября", abc: "Окт" },
|
|
5295
5296
|
11: { val: "11", name: "Ноябрь", names: "Ноября", abc: "Нояб" },
|
|
5296
5297
|
12: { val: "12", name: "Декабрь", names: "Декабря", abc: "Дек" }
|
|
5297
|
-
}[
|
|
5298
|
+
}[a];
|
|
5298
5299
|
}
|
|
5299
|
-
function Gt(
|
|
5300
|
+
function Gt(a, i) {
|
|
5300
5301
|
let c = i + "";
|
|
5301
|
-
for (; c.length <
|
|
5302
|
+
for (; c.length < a; ) c = "0" + c;
|
|
5302
5303
|
return c;
|
|
5303
5304
|
}
|
|
5304
|
-
function
|
|
5305
|
-
i === void 0 ? (i =
|
|
5305
|
+
function fa(a, i) {
|
|
5306
|
+
i === void 0 ? (i = a, a = /* @__PURE__ */ new Date()) : a = new Date(a);
|
|
5306
5307
|
let c = {
|
|
5307
|
-
yyyy:
|
|
5308
|
-
yy: ("" +
|
|
5309
|
-
mm: ("0" + (
|
|
5310
|
-
dd: ("0" +
|
|
5311
|
-
HH: ("0" +
|
|
5312
|
-
MM: ("0" +
|
|
5313
|
-
SS: ("0" +
|
|
5308
|
+
yyyy: a.getFullYear(),
|
|
5309
|
+
yy: ("" + a.getFullYear()).slice(-2),
|
|
5310
|
+
mm: ("0" + (a.getMonth() + 1)).slice(-2),
|
|
5311
|
+
dd: ("0" + a.getDate()).slice(-2),
|
|
5312
|
+
HH: ("0" + a.getHours()).slice(-2),
|
|
5313
|
+
MM: ("0" + a.getMinutes()).slice(-2),
|
|
5314
|
+
SS: ("0" + a.getSeconds()).slice(-2),
|
|
5314
5315
|
__: " ",
|
|
5315
5316
|
_: " "
|
|
5316
5317
|
};
|
|
@@ -5318,55 +5319,55 @@ function da(n, i) {
|
|
|
5318
5319
|
i = i.replace(u, c[u]);
|
|
5319
5320
|
return i;
|
|
5320
5321
|
}
|
|
5321
|
-
function
|
|
5322
|
-
value:
|
|
5322
|
+
function Da({
|
|
5323
|
+
value: a,
|
|
5323
5324
|
onValue: i,
|
|
5324
5325
|
name: c,
|
|
5325
5326
|
error: u,
|
|
5326
5327
|
icon: v,
|
|
5327
|
-
edit:
|
|
5328
|
-
active:
|
|
5328
|
+
edit: C = !0,
|
|
5329
|
+
active: T = !0,
|
|
5329
5330
|
title: x,
|
|
5330
5331
|
placeholder: s = "",
|
|
5331
5332
|
className: g
|
|
5332
5333
|
}) {
|
|
5333
|
-
let [o, d] = W.useState(
|
|
5334
|
-
const b = W.useRef(null), [
|
|
5334
|
+
let [o, d] = W.useState(a);
|
|
5335
|
+
const b = W.useRef(null), [S, N] = W.useState(!1);
|
|
5335
5336
|
W.useEffect(() => {
|
|
5336
|
-
d(
|
|
5337
|
-
}, [
|
|
5337
|
+
d(a);
|
|
5338
|
+
}, [a]);
|
|
5338
5339
|
let A = (p) => {
|
|
5339
5340
|
d(p), i && i({ value: p, name: c });
|
|
5340
5341
|
}, I = (p) => {
|
|
5341
|
-
if (!
|
|
5342
|
+
if (!C || !T) return;
|
|
5342
5343
|
const M = p.target.getBoundingClientRect(), K = M.left, G = M.top;
|
|
5343
5344
|
b.position = { x: K, y: G }, N(!0);
|
|
5344
5345
|
};
|
|
5345
5346
|
const O = {};
|
|
5346
|
-
return s && (O.placeholder = s), v || /* @__PURE__ */
|
|
5347
|
-
/* @__PURE__ */
|
|
5347
|
+
return s && (O.placeholder = s), v || /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
|
|
5348
|
+
/* @__PURE__ */ m.jsxs(
|
|
5348
5349
|
"dl",
|
|
5349
5350
|
{
|
|
5350
5351
|
"data-field": "date",
|
|
5351
5352
|
className: [V.l, g].filter((p) => p !== void 0).join(" "),
|
|
5352
5353
|
children: [
|
|
5353
|
-
x ? /* @__PURE__ */
|
|
5354
|
-
/* @__PURE__ */
|
|
5354
|
+
x ? /* @__PURE__ */ m.jsx("dt", { className: V.t, children: x }) : "",
|
|
5355
|
+
/* @__PURE__ */ m.jsx(
|
|
5355
5356
|
"dd",
|
|
5356
5357
|
{
|
|
5357
5358
|
onClick: I,
|
|
5358
5359
|
...O,
|
|
5359
5360
|
className: [V.f, V.w].join(" "),
|
|
5360
|
-
children:
|
|
5361
|
+
children: ma(o, "mm.yyyy")
|
|
5361
5362
|
}
|
|
5362
5363
|
),
|
|
5363
|
-
u && /* @__PURE__ */
|
|
5364
|
+
u && /* @__PURE__ */ m.jsx("em", { children: u })
|
|
5364
5365
|
]
|
|
5365
5366
|
}
|
|
5366
5367
|
),
|
|
5367
|
-
|
|
5368
|
-
/* @__PURE__ */
|
|
5369
|
-
|
|
5368
|
+
S && Mt(
|
|
5369
|
+
/* @__PURE__ */ m.jsx(
|
|
5370
|
+
pa,
|
|
5370
5371
|
{
|
|
5371
5372
|
position: b.position,
|
|
5372
5373
|
onValue: A,
|
|
@@ -5379,27 +5380,27 @@ function Ta({
|
|
|
5379
5380
|
)
|
|
5380
5381
|
] });
|
|
5381
5382
|
}
|
|
5382
|
-
const
|
|
5383
|
-
let v = /* @__PURE__ */ new Date(),
|
|
5383
|
+
const pa = ({ onOpen: a, date: i, onValue: c, position: u }) => {
|
|
5384
|
+
let v = /* @__PURE__ */ new Date(), C = new Date(i), T = {
|
|
5384
5385
|
y: parseInt(v.getFullYear()),
|
|
5385
5386
|
m: parseInt(v.getMonth()) + 1
|
|
5386
5387
|
}, x = {
|
|
5387
|
-
y: parseInt(
|
|
5388
|
-
m: parseInt(
|
|
5388
|
+
y: parseInt(C.getFullYear()),
|
|
5389
|
+
m: parseInt(C.getMonth()) + 1
|
|
5389
5390
|
}, [s, g] = W.useState(x.y), o = () => {
|
|
5390
|
-
|
|
5391
|
+
a(!1);
|
|
5391
5392
|
}, d = () => {
|
|
5392
5393
|
g(s + 1);
|
|
5393
5394
|
}, b = () => {
|
|
5394
5395
|
g(s - 1);
|
|
5395
|
-
},
|
|
5396
|
-
c(s + "-" +
|
|
5397
|
-
}, N = (p) =>
|
|
5398
|
-
return /* @__PURE__ */
|
|
5399
|
-
/* @__PURE__ */
|
|
5400
|
-
/* @__PURE__ */
|
|
5401
|
-
/* @__PURE__ */
|
|
5402
|
-
/* @__PURE__ */
|
|
5396
|
+
}, S = (p) => {
|
|
5397
|
+
c(s + "-" + ya(2, p)), o();
|
|
5398
|
+
}, N = (p) => T.y === x.y && T.m === p ? "_FFEB3B" : "", A = Array(12).fill("").map((p, M) => M + 1), I = window.innerHeight - u.y + 33 < 320 ? u.y - 312 : u.y + 33, O = window.innerWidth - u.x < 265 ? u.x - 235 : u.x;
|
|
5399
|
+
return /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
|
|
5400
|
+
/* @__PURE__ */ m.jsx("div", { className: Rt.o, onClick: o }),
|
|
5401
|
+
/* @__PURE__ */ m.jsxs("div", { className: Rt.c, style: { top: I + "px", left: O + "px" }, children: [
|
|
5402
|
+
/* @__PURE__ */ m.jsxs("s", { children: [
|
|
5403
|
+
/* @__PURE__ */ m.jsx("i", { onClick: b, children: /* @__PURE__ */ m.jsx(
|
|
5403
5404
|
"svg",
|
|
5404
5405
|
{
|
|
5405
5406
|
width: "16",
|
|
@@ -5407,11 +5408,11 @@ const fa = ({ onOpen: n, date: i, onValue: c, position: u }) => {
|
|
|
5407
5408
|
fill: "currentColor",
|
|
5408
5409
|
viewBox: "0 0 24 24",
|
|
5409
5410
|
xmlns: "http://www.w3.org/2000/svg",
|
|
5410
|
-
children: /* @__PURE__ */
|
|
5411
|
+
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" })
|
|
5411
5412
|
}
|
|
5412
5413
|
) }),
|
|
5413
|
-
/* @__PURE__ */
|
|
5414
|
-
/* @__PURE__ */
|
|
5414
|
+
/* @__PURE__ */ m.jsx("h2", { children: s }),
|
|
5415
|
+
/* @__PURE__ */ m.jsx("i", { onClick: d, children: /* @__PURE__ */ m.jsx(
|
|
5415
5416
|
"svg",
|
|
5416
5417
|
{
|
|
5417
5418
|
width: "16",
|
|
@@ -5419,34 +5420,34 @@ const fa = ({ onOpen: n, date: i, onValue: c, position: u }) => {
|
|
|
5419
5420
|
fill: "currentColor",
|
|
5420
5421
|
viewBox: "0 0 24 24",
|
|
5421
5422
|
xmlns: "http://www.w3.org/2000/svg",
|
|
5422
|
-
children: /* @__PURE__ */
|
|
5423
|
+
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" })
|
|
5423
5424
|
}
|
|
5424
5425
|
) })
|
|
5425
5426
|
] }),
|
|
5426
|
-
/* @__PURE__ */
|
|
5427
|
+
/* @__PURE__ */ m.jsx("div", { "grid-month": "", children: A.map((p, M) => /* @__PURE__ */ m.jsx(
|
|
5427
5428
|
"span",
|
|
5428
5429
|
{
|
|
5429
5430
|
onClick: () => {
|
|
5430
|
-
|
|
5431
|
+
S(p);
|
|
5431
5432
|
},
|
|
5432
5433
|
color: N(p),
|
|
5433
|
-
children: /* @__PURE__ */
|
|
5434
|
+
children: /* @__PURE__ */ m.jsx("b", { children: va(p).abc })
|
|
5434
5435
|
},
|
|
5435
5436
|
M
|
|
5436
5437
|
)) })
|
|
5437
5438
|
] })
|
|
5438
5439
|
] });
|
|
5439
5440
|
};
|
|
5440
|
-
function
|
|
5441
|
-
i === void 0 ? (i =
|
|
5441
|
+
function ma(a, i) {
|
|
5442
|
+
i === void 0 ? (i = a, a = /* @__PURE__ */ new Date()) : a = new Date(a);
|
|
5442
5443
|
let c = {
|
|
5443
|
-
yyyy:
|
|
5444
|
-
yy: ("" +
|
|
5445
|
-
mm: ("0" + (
|
|
5446
|
-
dd: ("0" +
|
|
5447
|
-
HH: ("0" +
|
|
5448
|
-
MM: ("0" +
|
|
5449
|
-
SS: ("0" +
|
|
5444
|
+
yyyy: a.getFullYear(),
|
|
5445
|
+
yy: ("" + a.getFullYear()).slice(-2),
|
|
5446
|
+
mm: ("0" + (a.getMonth() + 1)).slice(-2),
|
|
5447
|
+
dd: ("0" + a.getDate()).slice(-2),
|
|
5448
|
+
HH: ("0" + a.getHours()).slice(-2),
|
|
5449
|
+
MM: ("0" + a.getMinutes()).slice(-2),
|
|
5450
|
+
SS: ("0" + a.getSeconds()).slice(-2),
|
|
5450
5451
|
__: " ",
|
|
5451
5452
|
_: " "
|
|
5452
5453
|
};
|
|
@@ -5454,13 +5455,13 @@ function pa(n, i) {
|
|
|
5454
5455
|
i = i.replace(u, c[u]);
|
|
5455
5456
|
return i;
|
|
5456
5457
|
}
|
|
5457
|
-
function
|
|
5458
|
+
function ya(a, i) {
|
|
5458
5459
|
let c = i + "";
|
|
5459
|
-
for (; c.length <
|
|
5460
|
+
for (; c.length < a; ) c = "0" + c;
|
|
5460
5461
|
return c;
|
|
5461
5462
|
}
|
|
5462
|
-
function
|
|
5463
|
-
return
|
|
5463
|
+
function va(a) {
|
|
5464
|
+
return a = typeof a == "number" ? a : new Date(a).getMonth() + 1, {
|
|
5464
5465
|
1: { val: "01", name: "Январь", names: "Января", abc: "Янв" },
|
|
5465
5466
|
2: { val: "02", name: "Февраль", names: "Февраля", abc: "Февр" },
|
|
5466
5467
|
3: { val: "03", name: "Март", names: "Марта", abc: "Март" },
|
|
@@ -5473,28 +5474,28 @@ function ya(n) {
|
|
|
5473
5474
|
10: { val: "10", name: "Октябрь", names: "Октября", abc: "Окт" },
|
|
5474
5475
|
11: { val: "11", name: "Ноябрь", names: "Ноября", abc: "Нояб" },
|
|
5475
5476
|
12: { val: "12", name: "Декабрь", names: "Декабря", abc: "Дек" }
|
|
5476
|
-
}[
|
|
5477
|
+
}[a];
|
|
5477
5478
|
}
|
|
5478
|
-
function
|
|
5479
|
-
value:
|
|
5479
|
+
function Pa({
|
|
5480
|
+
value: a,
|
|
5480
5481
|
onValue: i,
|
|
5481
5482
|
name: c,
|
|
5482
5483
|
placeholder: u = "",
|
|
5483
5484
|
title: v = "",
|
|
5484
|
-
error:
|
|
5485
|
-
hide:
|
|
5485
|
+
error: C = "",
|
|
5486
|
+
hide: T = !1,
|
|
5486
5487
|
edit: x = !0,
|
|
5487
5488
|
active: s = !0,
|
|
5488
5489
|
after: g = "",
|
|
5489
5490
|
show: o = !0,
|
|
5490
5491
|
course: d = 100,
|
|
5491
5492
|
view: b,
|
|
5492
|
-
type:
|
|
5493
|
+
type: S,
|
|
5493
5494
|
onSave: N,
|
|
5494
5495
|
className: A = "",
|
|
5495
5496
|
isClear: I = !1
|
|
5496
5497
|
}) {
|
|
5497
|
-
let O = !!(
|
|
5498
|
+
let O = !!(T && (a === "" || a === void 0)), p = (R) => S === "multi" ? R.replace(/[^+\d.+-]/g, "") : R.replace(/[^+\d.]/g, ""), M = (R, h) => {
|
|
5498
5499
|
let k = document.createRange(), $ = window.getSelection();
|
|
5499
5500
|
k.setStart(h.childNodes[0], R), k.collapse(!0), $.removeAllRanges(), $.addRange(k), h.focus();
|
|
5500
5501
|
}, K = (R) => {
|
|
@@ -5516,7 +5517,7 @@ function Da({
|
|
|
5516
5517
|
});
|
|
5517
5518
|
}, E = (R) => {
|
|
5518
5519
|
R.key === "Enter" && R.preventDefault();
|
|
5519
|
-
},
|
|
5520
|
+
}, P = (R) => {
|
|
5520
5521
|
R.preventDefault(), navigator.clipboard.readText().then((h) => {
|
|
5521
5522
|
h = h.replace(/^\s*/, "").replace(/\s*$/, ""), window.document.execCommand("insertText", !1, h);
|
|
5522
5523
|
}).catch((h) => {
|
|
@@ -5524,41 +5525,78 @@ function Da({
|
|
|
5524
5525
|
};
|
|
5525
5526
|
if (!(x && s) && !o || !(x && s) && O) return "";
|
|
5526
5527
|
const U = {};
|
|
5527
|
-
return U.inputMode = "decimal", u && (U.placeholder = u), x && s && (U.edit = ""), /* @__PURE__ */
|
|
5528
|
+
return U.inputMode = "decimal", u && (U.placeholder = u), x && s && (U.edit = ""), /* @__PURE__ */ m.jsxs(
|
|
5528
5529
|
"dl",
|
|
5529
5530
|
{
|
|
5530
5531
|
"data-field": "date",
|
|
5531
5532
|
className: [V.l, A].filter((R) => R !== void 0).join(" "),
|
|
5532
5533
|
children: [
|
|
5533
|
-
v ? /* @__PURE__ */
|
|
5534
|
-
/* @__PURE__ */
|
|
5534
|
+
v ? /* @__PURE__ */ m.jsx("dt", { className: V.t, children: v }) : "",
|
|
5535
|
+
/* @__PURE__ */ m.jsx(
|
|
5535
5536
|
"dd",
|
|
5536
5537
|
{
|
|
5537
5538
|
...U,
|
|
5538
5539
|
className: [V.f, V.w].join(" "),
|
|
5539
5540
|
onInput: K,
|
|
5540
|
-
onPaste:
|
|
5541
|
+
onPaste: P,
|
|
5541
5542
|
onBlur: G,
|
|
5542
5543
|
onKeyDown: E,
|
|
5543
5544
|
onFocus: L,
|
|
5544
5545
|
contentEditable: x && s ? te.ContentEditable : "false",
|
|
5545
5546
|
suppressContentEditableWarning: !0,
|
|
5546
5547
|
"data-after": g,
|
|
5547
|
-
children: !u ||
|
|
5548
|
+
children: !u || a ? zt(a) : ""
|
|
5548
5549
|
}
|
|
5549
5550
|
),
|
|
5550
|
-
I && /* @__PURE__ */
|
|
5551
|
-
|
|
5551
|
+
I && /* @__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" }) }),
|
|
5552
|
+
C ? /* @__PURE__ */ m.jsx("em", { children: C }) : ""
|
|
5552
5553
|
]
|
|
5553
5554
|
}
|
|
5554
5555
|
);
|
|
5555
5556
|
}
|
|
5556
|
-
function zt(
|
|
5557
|
-
return parseFloat(
|
|
5557
|
+
function zt(a, i) {
|
|
5558
|
+
return parseFloat(a).toFixed(2).replace(/(\d)(?=(\d{3})+\.)/g, "$1 ");
|
|
5559
|
+
}
|
|
5560
|
+
function Na({
|
|
5561
|
+
onValue: a,
|
|
5562
|
+
label: i,
|
|
5563
|
+
value: c,
|
|
5564
|
+
title: u,
|
|
5565
|
+
className: v,
|
|
5566
|
+
name: C,
|
|
5567
|
+
text: T,
|
|
5568
|
+
id: x,
|
|
5569
|
+
reload: s
|
|
5570
|
+
}) {
|
|
5571
|
+
const [g, o] = W.useState(!!c);
|
|
5572
|
+
W.useEffect(() => {
|
|
5573
|
+
o(!!c);
|
|
5574
|
+
}, [c]);
|
|
5575
|
+
let d = () => {
|
|
5576
|
+
a && a({ value: g ? 0 : 1, name: C, id: x, reload: s }), o(!g);
|
|
5577
|
+
};
|
|
5578
|
+
return /* @__PURE__ */ m.jsxs(
|
|
5579
|
+
pt,
|
|
5580
|
+
{
|
|
5581
|
+
type: "check",
|
|
5582
|
+
title: i || u,
|
|
5583
|
+
element_blok: { className: [v] },
|
|
5584
|
+
element_input: {
|
|
5585
|
+
className: [V.h],
|
|
5586
|
+
props: {
|
|
5587
|
+
onClick: d
|
|
5588
|
+
}
|
|
5589
|
+
},
|
|
5590
|
+
children: [
|
|
5591
|
+
/* @__PURE__ */ m.jsx("span", { children: T }),
|
|
5592
|
+
/* @__PURE__ */ m.jsx("div", { role: "switch", "aria-checked": `${g ? "true" : "false"}` })
|
|
5593
|
+
]
|
|
5594
|
+
}
|
|
5595
|
+
);
|
|
5558
5596
|
}
|
|
5559
5597
|
const he = {};
|
|
5560
|
-
function
|
|
5561
|
-
const [i, c] = W.useState({}), u = W.useRef(
|
|
5598
|
+
function Fa(a) {
|
|
5599
|
+
const [i, c] = W.useState({}), u = W.useRef(a);
|
|
5562
5600
|
return he.u = (v) => {
|
|
5563
5601
|
u.current = { ...u.current, [v.name]: v.value };
|
|
5564
5602
|
}, he.n = (v) => {
|
|
@@ -5567,19 +5605,19 @@ function Pa(n) {
|
|
|
5567
5605
|
c(Date.now());
|
|
5568
5606
|
}, [u.current, he.n];
|
|
5569
5607
|
}
|
|
5570
|
-
function
|
|
5571
|
-
he.u(
|
|
5608
|
+
function Ia(a) {
|
|
5609
|
+
he.u(a), a.reload && he.r();
|
|
5572
5610
|
}
|
|
5573
|
-
function
|
|
5611
|
+
function Ma() {
|
|
5574
5612
|
he.r && he.r();
|
|
5575
5613
|
}
|
|
5576
|
-
function
|
|
5577
|
-
const [i, c] = W.useState({}), u = W.useRef(
|
|
5614
|
+
function $a(a) {
|
|
5615
|
+
const [i, c] = W.useState({}), u = W.useRef(a);
|
|
5578
5616
|
return he.u = (v) => {
|
|
5579
5617
|
u.current = { ...u.current, [v.name]: v.value };
|
|
5580
5618
|
}, he.n = (v) => {
|
|
5581
|
-
Object.keys(v).length > 0 ? Object.keys(v).forEach((
|
|
5582
|
-
u.current[
|
|
5619
|
+
Object.keys(v).length > 0 ? Object.keys(v).forEach((C) => {
|
|
5620
|
+
u.current[C] = v[C];
|
|
5583
5621
|
}) : u.current = {}, c(Date.now());
|
|
5584
5622
|
}, he.r = () => {
|
|
5585
5623
|
c(Date.now());
|
|
@@ -5591,21 +5629,22 @@ function It() {
|
|
|
5591
5629
|
It().elcrm || (It().elcrm = {});
|
|
5592
5630
|
Object.assign(It().elcrm, { form: Xt.version });
|
|
5593
5631
|
export {
|
|
5594
|
-
|
|
5595
|
-
|
|
5596
|
-
|
|
5597
|
-
|
|
5598
|
-
|
|
5599
|
-
|
|
5600
|
-
|
|
5601
|
-
|
|
5602
|
-
|
|
5603
|
-
|
|
5604
|
-
|
|
5605
|
-
|
|
5606
|
-
|
|
5607
|
-
|
|
5608
|
-
|
|
5609
|
-
|
|
5610
|
-
|
|
5632
|
+
Na as Check,
|
|
5633
|
+
Ta as Date,
|
|
5634
|
+
Ra as Mask,
|
|
5635
|
+
xa as Modal,
|
|
5636
|
+
Pa as Money,
|
|
5637
|
+
Da as Month,
|
|
5638
|
+
Sa as Numeric,
|
|
5639
|
+
wa as Options,
|
|
5640
|
+
Ca as Password,
|
|
5641
|
+
Oa as Phone,
|
|
5642
|
+
ba as Progress,
|
|
5643
|
+
ja as Select,
|
|
5644
|
+
ka as String,
|
|
5645
|
+
Ea as Textarea,
|
|
5646
|
+
Ma as runReload,
|
|
5647
|
+
Ia as setValue,
|
|
5648
|
+
Fa as useData,
|
|
5649
|
+
$a as useError
|
|
5611
5650
|
};
|