@elcrm/form 0.0.55 → 0.0.56
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 +629 -627
- package/dist/index.umd.js +25 -25
- package/dist/src/lib/fields/Select.d.ts +3 -2
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import R, { forwardRef as qt, useEffect as Kt } from "react";
|
|
2
2
|
import { createPortal as Nt } from "react-dom";
|
|
3
|
-
import './index.css';const Gt = "0.0.
|
|
3
|
+
import './index.css';const Gt = "0.0.56", Yt = {
|
|
4
4
|
version: Gt
|
|
5
5
|
};
|
|
6
6
|
var Rt = { exports: {} }, pt = {};
|
|
@@ -17,15 +17,15 @@ var Ft;
|
|
|
17
17
|
function zt() {
|
|
18
18
|
if (Ft) return pt;
|
|
19
19
|
Ft = 1;
|
|
20
|
-
var a = R, o = Symbol.for("react.element"), i = Symbol.for("react.fragment"), c = Object.prototype.hasOwnProperty,
|
|
21
|
-
function C
|
|
20
|
+
var a = R, o = Symbol.for("react.element"), i = Symbol.for("react.fragment"), c = Object.prototype.hasOwnProperty, d = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, y = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
21
|
+
function x(C, l, v) {
|
|
22
22
|
var n, s = {}, b = null, j = null;
|
|
23
|
-
|
|
24
|
-
for (n in l) c.call(l, n) && !
|
|
25
|
-
if (
|
|
26
|
-
return { $$typeof: o, type:
|
|
23
|
+
v !== void 0 && (b = "" + v), l.key !== void 0 && (b = "" + l.key), l.ref !== void 0 && (j = l.ref);
|
|
24
|
+
for (n in l) c.call(l, n) && !y.hasOwnProperty(n) && (s[n] = l[n]);
|
|
25
|
+
if (C && C.defaultProps) for (n in l = C.defaultProps, l) s[n] === void 0 && (s[n] = l[n]);
|
|
26
|
+
return { $$typeof: o, type: C, key: b, ref: j, props: s, _owner: d.current };
|
|
27
27
|
}
|
|
28
|
-
return pt.Fragment = i, pt.jsx =
|
|
28
|
+
return pt.Fragment = i, pt.jsx = x, pt.jsxs = x, pt;
|
|
29
29
|
}
|
|
30
30
|
var yt = {};
|
|
31
31
|
/**
|
|
@@ -40,7 +40,7 @@ var yt = {};
|
|
|
40
40
|
var Mt;
|
|
41
41
|
function Ht() {
|
|
42
42
|
return Mt || (Mt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
43
|
-
var a = R, o = Symbol.for("react.element"), i = Symbol.for("react.portal"), c = Symbol.for("react.fragment"),
|
|
43
|
+
var a = R, o = Symbol.for("react.element"), i = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), d = Symbol.for("react.strict_mode"), y = Symbol.for("react.profiler"), x = Symbol.for("react.provider"), C = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), v = Symbol.for("react.suspense"), n = Symbol.for("react.suspense_list"), s = Symbol.for("react.memo"), b = Symbol.for("react.lazy"), j = Symbol.for("react.offscreen"), F = Symbol.iterator, U = "@@iterator";
|
|
44
44
|
function D(e) {
|
|
45
45
|
if (e === null || typeof e != "object")
|
|
46
46
|
return null;
|
|
@@ -57,18 +57,18 @@ function Ht() {
|
|
|
57
57
|
}
|
|
58
58
|
function P(e, t, r) {
|
|
59
59
|
{
|
|
60
|
-
var _ = O.ReactDebugCurrentFrame,
|
|
61
|
-
|
|
62
|
-
var
|
|
60
|
+
var _ = O.ReactDebugCurrentFrame, k = _.getStackAddendum();
|
|
61
|
+
k !== "" && (t += "%s", r = r.concat([k]));
|
|
62
|
+
var w = r.map(function(m) {
|
|
63
63
|
return String(m);
|
|
64
64
|
});
|
|
65
|
-
|
|
65
|
+
w.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, w);
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
|
-
var K = !1, I = !1,
|
|
68
|
+
var K = !1, I = !1, A = !1, q = !1, W = !1, N;
|
|
69
69
|
N = Symbol.for("react.module.reference");
|
|
70
70
|
function E(e) {
|
|
71
|
-
return !!(typeof e == "string" || typeof e == "function" || e === c || e ===
|
|
71
|
+
return !!(typeof e == "string" || typeof e == "function" || e === c || e === y || W || e === d || e === v || e === n || q || e === j || K || I || A || typeof e == "object" && e !== null && (e.$$typeof === b || e.$$typeof === s || e.$$typeof === x || e.$$typeof === C || e.$$typeof === l || // 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.
|
|
@@ -78,13 +78,13 @@ function Ht() {
|
|
|
78
78
|
var _ = e.displayName;
|
|
79
79
|
if (_)
|
|
80
80
|
return _;
|
|
81
|
-
var
|
|
82
|
-
return
|
|
81
|
+
var k = t.displayName || t.name || "";
|
|
82
|
+
return k !== "" ? r + "(" + k + ")" : r;
|
|
83
83
|
}
|
|
84
|
-
function
|
|
84
|
+
function h(e) {
|
|
85
85
|
return e.displayName || "Context";
|
|
86
86
|
}
|
|
87
|
-
function
|
|
87
|
+
function g(e) {
|
|
88
88
|
if (e == null)
|
|
89
89
|
return null;
|
|
90
90
|
if (typeof e.tag == "number" && p("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
@@ -96,32 +96,32 @@ function Ht() {
|
|
|
96
96
|
return "Fragment";
|
|
97
97
|
case i:
|
|
98
98
|
return "Portal";
|
|
99
|
-
case
|
|
99
|
+
case y:
|
|
100
100
|
return "Profiler";
|
|
101
|
-
case
|
|
101
|
+
case d:
|
|
102
102
|
return "StrictMode";
|
|
103
|
-
case
|
|
103
|
+
case v:
|
|
104
104
|
return "Suspense";
|
|
105
105
|
case n:
|
|
106
106
|
return "SuspenseList";
|
|
107
107
|
}
|
|
108
108
|
if (typeof e == "object")
|
|
109
109
|
switch (e.$$typeof) {
|
|
110
|
-
case w:
|
|
111
|
-
var t = e;
|
|
112
|
-
return g(t) + ".Consumer";
|
|
113
110
|
case C:
|
|
111
|
+
var t = e;
|
|
112
|
+
return h(t) + ".Consumer";
|
|
113
|
+
case x:
|
|
114
114
|
var r = e;
|
|
115
|
-
return
|
|
115
|
+
return h(r._context) + ".Provider";
|
|
116
116
|
case l:
|
|
117
117
|
return G(e, e.render, "ForwardRef");
|
|
118
118
|
case s:
|
|
119
119
|
var _ = e.displayName || null;
|
|
120
|
-
return _ !== null ? _ :
|
|
120
|
+
return _ !== null ? _ : g(e.type) || "Memo";
|
|
121
121
|
case b: {
|
|
122
|
-
var
|
|
122
|
+
var k = e, w = k._payload, m = k._init;
|
|
123
123
|
try {
|
|
124
|
-
return
|
|
124
|
+
return g(m(w));
|
|
125
125
|
} catch {
|
|
126
126
|
return null;
|
|
127
127
|
}
|
|
@@ -197,8 +197,8 @@ function Ht() {
|
|
|
197
197
|
if (de === void 0)
|
|
198
198
|
try {
|
|
199
199
|
throw Error();
|
|
200
|
-
} catch (
|
|
201
|
-
var _ =
|
|
200
|
+
} catch (k) {
|
|
201
|
+
var _ = k.stack.trim().match(/\n( *(at )?)/);
|
|
202
202
|
de = _ && _[1] || "";
|
|
203
203
|
}
|
|
204
204
|
return `
|
|
@@ -220,10 +220,10 @@ function Ht() {
|
|
|
220
220
|
}
|
|
221
221
|
var _;
|
|
222
222
|
ue = !0;
|
|
223
|
-
var
|
|
223
|
+
var k = Error.prepareStackTrace;
|
|
224
224
|
Error.prepareStackTrace = void 0;
|
|
225
|
-
var
|
|
226
|
-
|
|
225
|
+
var w;
|
|
226
|
+
w = ce.current, ce.current = null, Ue();
|
|
227
227
|
try {
|
|
228
228
|
if (t) {
|
|
229
229
|
var m = function() {
|
|
@@ -258,17 +258,17 @@ function Ht() {
|
|
|
258
258
|
}
|
|
259
259
|
} catch (L) {
|
|
260
260
|
if (L && _ && typeof L.stack == "string") {
|
|
261
|
-
for (var
|
|
262
|
-
`),
|
|
263
|
-
`), S =
|
|
261
|
+
for (var u = L.stack.split(`
|
|
262
|
+
`), $ = _.stack.split(`
|
|
263
|
+
`), S = u.length - 1, T = $.length - 1; S >= 1 && T >= 0 && u[S] !== $[T]; )
|
|
264
264
|
T--;
|
|
265
265
|
for (; S >= 1 && T >= 0; S--, T--)
|
|
266
|
-
if (
|
|
266
|
+
if (u[S] !== $[T]) {
|
|
267
267
|
if (S !== 1 || T !== 1)
|
|
268
268
|
do
|
|
269
|
-
if (S--, T--, T < 0 ||
|
|
269
|
+
if (S--, T--, T < 0 || u[S] !== $[T]) {
|
|
270
270
|
var Y = `
|
|
271
|
-
` +
|
|
271
|
+
` + u[S].replace(" at new ", " at ");
|
|
272
272
|
return e.displayName && Y.includes("<anonymous>") && (Y = Y.replace("<anonymous>", e.displayName)), typeof e == "function" && oe.set(e, Y), Y;
|
|
273
273
|
}
|
|
274
274
|
while (S >= 1 && T >= 0);
|
|
@@ -276,7 +276,7 @@ function Ht() {
|
|
|
276
276
|
}
|
|
277
277
|
}
|
|
278
278
|
} finally {
|
|
279
|
-
ue = !1, ce.current =
|
|
279
|
+
ue = !1, ce.current = w, qe(), Error.prepareStackTrace = k;
|
|
280
280
|
}
|
|
281
281
|
var X = e ? e.displayName || e.name : "", J = X ? ne(X) : "";
|
|
282
282
|
return typeof e == "function" && oe.set(e, J), J;
|
|
@@ -296,7 +296,7 @@ function Ht() {
|
|
|
296
296
|
if (typeof e == "string")
|
|
297
297
|
return ne(e);
|
|
298
298
|
switch (e) {
|
|
299
|
-
case
|
|
299
|
+
case v:
|
|
300
300
|
return ne("Suspense");
|
|
301
301
|
case n:
|
|
302
302
|
return ne("SuspenseList");
|
|
@@ -308,9 +308,9 @@ function Ht() {
|
|
|
308
308
|
case s:
|
|
309
309
|
return _e(e.type, t, r);
|
|
310
310
|
case b: {
|
|
311
|
-
var _ = e,
|
|
311
|
+
var _ = e, k = _._payload, w = _._init;
|
|
312
312
|
try {
|
|
313
|
-
return _e(
|
|
313
|
+
return _e(w(k), t, r);
|
|
314
314
|
} catch {
|
|
315
315
|
}
|
|
316
316
|
}
|
|
@@ -325,22 +325,22 @@ function Ht() {
|
|
|
325
325
|
} else
|
|
326
326
|
Se.setExtraStackFrame(null);
|
|
327
327
|
}
|
|
328
|
-
function ze(e, t, r, _,
|
|
328
|
+
function ze(e, t, r, _, k) {
|
|
329
329
|
{
|
|
330
|
-
var
|
|
330
|
+
var w = Function.call.bind(ee);
|
|
331
331
|
for (var m in e)
|
|
332
|
-
if (
|
|
333
|
-
var
|
|
332
|
+
if (w(e, m)) {
|
|
333
|
+
var u = void 0;
|
|
334
334
|
try {
|
|
335
335
|
if (typeof e[m] != "function") {
|
|
336
|
-
var
|
|
337
|
-
throw
|
|
336
|
+
var $ = Error((_ || "React class") + ": " + r + " type `" + m + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[m] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
337
|
+
throw $.name = "Invariant Violation", $;
|
|
338
338
|
}
|
|
339
|
-
|
|
339
|
+
u = e[m](t, m, _, r, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
340
340
|
} catch (S) {
|
|
341
|
-
|
|
341
|
+
u = S;
|
|
342
342
|
}
|
|
343
|
-
|
|
343
|
+
u && !(u instanceof Error) && (ie(k), 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).", _ || "React class", r, m, typeof u), ie(null)), u instanceof Error && !(u.message in Ee) && (Ee[u.message] = !0, ie(k), p("Failed %s type: %s", r, u.message), ie(null));
|
|
344
344
|
}
|
|
345
345
|
}
|
|
346
346
|
}
|
|
@@ -415,8 +415,8 @@ function Ht() {
|
|
|
415
415
|
});
|
|
416
416
|
}
|
|
417
417
|
}
|
|
418
|
-
var at = function(e, t, r, _,
|
|
419
|
-
var
|
|
418
|
+
var at = function(e, t, r, _, k, w, m) {
|
|
419
|
+
var u = {
|
|
420
420
|
// This tag allows us to uniquely identify this as a React Element
|
|
421
421
|
$$typeof: o,
|
|
422
422
|
// Built-in properties that belong on the element
|
|
@@ -425,41 +425,41 @@ function Ht() {
|
|
|
425
425
|
ref: r,
|
|
426
426
|
props: m,
|
|
427
427
|
// Record the component responsible for creating this element.
|
|
428
|
-
_owner:
|
|
428
|
+
_owner: w
|
|
429
429
|
};
|
|
430
|
-
return
|
|
430
|
+
return u._store = {}, Object.defineProperty(u._store, "validated", {
|
|
431
431
|
configurable: !1,
|
|
432
432
|
enumerable: !1,
|
|
433
433
|
writable: !0,
|
|
434
434
|
value: !1
|
|
435
|
-
}), Object.defineProperty(
|
|
435
|
+
}), Object.defineProperty(u, "_self", {
|
|
436
436
|
configurable: !1,
|
|
437
437
|
enumerable: !1,
|
|
438
438
|
writable: !1,
|
|
439
439
|
value: _
|
|
440
|
-
}), Object.defineProperty(
|
|
440
|
+
}), Object.defineProperty(u, "_source", {
|
|
441
441
|
configurable: !1,
|
|
442
442
|
enumerable: !1,
|
|
443
443
|
writable: !1,
|
|
444
|
-
value:
|
|
445
|
-
}), Object.freeze && (Object.freeze(
|
|
444
|
+
value: k
|
|
445
|
+
}), Object.freeze && (Object.freeze(u.props), Object.freeze(u)), u;
|
|
446
446
|
};
|
|
447
|
-
function nt(e, t, r, _,
|
|
447
|
+
function nt(e, t, r, _, k) {
|
|
448
448
|
{
|
|
449
|
-
var
|
|
450
|
-
r !== void 0 && (Te(r),
|
|
451
|
-
for (
|
|
452
|
-
ee.call(t,
|
|
449
|
+
var w, m = {}, u = null, $ = null;
|
|
450
|
+
r !== void 0 && (Te(r), u = "" + r), Qe(t) && (Te(t.key), u = "" + t.key), Xe(t) && ($ = t.ref, et(t, k));
|
|
451
|
+
for (w in t)
|
|
452
|
+
ee.call(t, w) && !Ve.hasOwnProperty(w) && (m[w] = t[w]);
|
|
453
453
|
if (e && e.defaultProps) {
|
|
454
454
|
var S = e.defaultProps;
|
|
455
|
-
for (
|
|
456
|
-
m[
|
|
455
|
+
for (w in S)
|
|
456
|
+
m[w] === void 0 && (m[w] = S[w]);
|
|
457
457
|
}
|
|
458
|
-
if (
|
|
458
|
+
if (u || $) {
|
|
459
459
|
var T = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
460
|
-
|
|
460
|
+
u && tt(m, T), $ && rt(m, T);
|
|
461
461
|
}
|
|
462
|
-
return at(e,
|
|
462
|
+
return at(e, u, $, k, _, Oe.current, m);
|
|
463
463
|
}
|
|
464
464
|
}
|
|
465
465
|
var me = O.ReactCurrentOwner, Ne = O.ReactDebugCurrentFrame;
|
|
@@ -478,7 +478,7 @@ function Ht() {
|
|
|
478
478
|
function Fe() {
|
|
479
479
|
{
|
|
480
480
|
if (me.current) {
|
|
481
|
-
var e =
|
|
481
|
+
var e = g(me.current.type);
|
|
482
482
|
if (e)
|
|
483
483
|
return `
|
|
484
484
|
|
|
@@ -513,7 +513,7 @@ Check the top-level render call using <` + r + ">.");
|
|
|
513
513
|
return;
|
|
514
514
|
Me[r] = !0;
|
|
515
515
|
var _ = "";
|
|
516
|
-
e && e._owner && e._owner !== me.current && (_ = " It was passed a child from " +
|
|
516
|
+
e && e._owner && e._owner !== me.current && (_ = " It was passed a child from " + g(e._owner.type) + "."), V(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, _), V(null);
|
|
517
517
|
}
|
|
518
518
|
}
|
|
519
519
|
function Ae(e, t) {
|
|
@@ -528,9 +528,9 @@ Check the top-level render call using <` + r + ">.");
|
|
|
528
528
|
else if (ye(e))
|
|
529
529
|
e._store && (e._store.validated = !0);
|
|
530
530
|
else if (e) {
|
|
531
|
-
var
|
|
532
|
-
if (typeof
|
|
533
|
-
for (var
|
|
531
|
+
var k = D(e);
|
|
532
|
+
if (typeof k == "function" && k !== e.entries)
|
|
533
|
+
for (var w = k.call(e), m; !(m = w.next()).done; )
|
|
534
534
|
ye(m.value) && Ie(m.value, t);
|
|
535
535
|
}
|
|
536
536
|
}
|
|
@@ -550,12 +550,12 @@ Check the top-level render call using <` + r + ">.");
|
|
|
550
550
|
else
|
|
551
551
|
return;
|
|
552
552
|
if (r) {
|
|
553
|
-
var _ =
|
|
553
|
+
var _ = g(t);
|
|
554
554
|
ze(r, e.props, "prop", _, e);
|
|
555
555
|
} else if (t.PropTypes !== void 0 && !pe) {
|
|
556
556
|
pe = !0;
|
|
557
|
-
var
|
|
558
|
-
p("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",
|
|
557
|
+
var k = g(t);
|
|
558
|
+
p("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", k || "Unknown");
|
|
559
559
|
}
|
|
560
560
|
typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && p("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
561
561
|
}
|
|
@@ -573,18 +573,18 @@ Check the top-level render call using <` + r + ">.");
|
|
|
573
573
|
}
|
|
574
574
|
}
|
|
575
575
|
var $e = {};
|
|
576
|
-
function Be(e, t, r, _,
|
|
576
|
+
function Be(e, t, r, _, k, w) {
|
|
577
577
|
{
|
|
578
578
|
var m = E(e);
|
|
579
579
|
if (!m) {
|
|
580
|
-
var
|
|
581
|
-
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (
|
|
582
|
-
var
|
|
583
|
-
|
|
580
|
+
var u = "";
|
|
581
|
+
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (u += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
582
|
+
var $ = ot();
|
|
583
|
+
$ ? u += $ : u += Fe();
|
|
584
584
|
var S;
|
|
585
|
-
e === null ? S = "null" : fe(e) ? S = "array" : e !== void 0 && e.$$typeof === o ? (S = "<" + (
|
|
585
|
+
e === null ? S = "null" : fe(e) ? S = "array" : e !== void 0 && e.$$typeof === o ? (S = "<" + (g(e.type) || "Unknown") + " />", u = " Did you accidentally export a JSX literal instead of a component?") : S = 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", S, u);
|
|
586
586
|
}
|
|
587
|
-
var T = nt(e, t, r,
|
|
587
|
+
var T = nt(e, t, r, k, w);
|
|
588
588
|
if (T == null)
|
|
589
589
|
return T;
|
|
590
590
|
if (m) {
|
|
@@ -601,7 +601,7 @@ Check the top-level render call using <` + r + ">.");
|
|
|
601
601
|
Ae(Y, e);
|
|
602
602
|
}
|
|
603
603
|
if (ee.call(t, "key")) {
|
|
604
|
-
var J =
|
|
604
|
+
var J = g(e), L = Object.keys(t).filter(function(mt) {
|
|
605
605
|
return mt !== "key";
|
|
606
606
|
}), ve = L.length > 0 ? "{key: someKey, " + L.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
607
607
|
if (!$e[J + ve]) {
|
|
@@ -629,11 +629,11 @@ React keys must be passed directly to JSX without using spread:
|
|
|
629
629
|
}
|
|
630
630
|
process.env.NODE_ENV === "production" ? Rt.exports = zt() : Rt.exports = Ht();
|
|
631
631
|
var f = Rt.exports;
|
|
632
|
-
function ua({ name: a, value: o, title: i, style: c, className:
|
|
633
|
-
let
|
|
632
|
+
function ua({ name: a, value: o, title: i, style: c, className: d }) {
|
|
633
|
+
let y = {
|
|
634
634
|
field: "progress"
|
|
635
635
|
};
|
|
636
|
-
return c && (
|
|
636
|
+
return c && (y.style = c), d && (y.className = d), /* @__PURE__ */ f.jsxs("dl", { ...y, children: [
|
|
637
637
|
i && /* @__PURE__ */ f.jsx("dt", { children: i }),
|
|
638
638
|
/* @__PURE__ */ f.jsx("dd", {})
|
|
639
639
|
] });
|
|
@@ -697,25 +697,25 @@ function vt({ data: a }) {
|
|
|
697
697
|
be.del(a.key);
|
|
698
698
|
}, 2500));
|
|
699
699
|
}, [a.key]);
|
|
700
|
-
let c,
|
|
700
|
+
let c, d, y;
|
|
701
701
|
switch (a.type) {
|
|
702
702
|
case "error":
|
|
703
|
-
c = /* @__PURE__ */ R.createElement(Le.error, null),
|
|
703
|
+
c = /* @__PURE__ */ R.createElement(Le.error, null), d = "Ошибка:", y = We.e;
|
|
704
704
|
break;
|
|
705
705
|
case "success":
|
|
706
|
-
c = /* @__PURE__ */ R.createElement(Le.success, null),
|
|
706
|
+
c = /* @__PURE__ */ R.createElement(Le.success, null), d = "Информация:", y = We.s;
|
|
707
707
|
break;
|
|
708
708
|
case "copy":
|
|
709
|
-
c = /* @__PURE__ */ R.createElement(Le.success, null),
|
|
709
|
+
c = /* @__PURE__ */ R.createElement(Le.success, null), d = "Копирование:", y = We.с;
|
|
710
710
|
break;
|
|
711
711
|
case "remark":
|
|
712
|
-
c = /* @__PURE__ */ R.createElement(Le.success, null),
|
|
712
|
+
c = /* @__PURE__ */ R.createElement(Le.success, null), d = "Подсказка:", y = We.r;
|
|
713
713
|
break;
|
|
714
714
|
default:
|
|
715
|
-
c = /* @__PURE__ */ R.createElement(Le.success, null),
|
|
715
|
+
c = /* @__PURE__ */ R.createElement(Le.success, null), d = "Предупреждение:", y = We.с;
|
|
716
716
|
break;
|
|
717
717
|
}
|
|
718
|
-
return /* @__PURE__ */ R.createElement("li", { className:
|
|
718
|
+
return /* @__PURE__ */ R.createElement("li", { className: y, "data-status": o }, c, /* @__PURE__ */ R.createElement("b", null, d), /* @__PURE__ */ R.createElement("p", null, a.text));
|
|
719
719
|
}
|
|
720
720
|
function ir({ data: a }) {
|
|
721
721
|
let [o, i] = R.useState("show");
|
|
@@ -757,59 +757,59 @@ Le.success = () => /* @__PURE__ */ R.createElement("svg", { viewBox: "0 0 24 24"
|
|
|
757
757
|
var xt;
|
|
758
758
|
((a) => {
|
|
759
759
|
function o({ className: l }) {
|
|
760
|
-
let [
|
|
760
|
+
let [v, n] = R.useState([]);
|
|
761
761
|
return be.set = (s) => {
|
|
762
|
-
n([...
|
|
762
|
+
n([...v, s]);
|
|
763
763
|
}, be.del = (s) => {
|
|
764
|
-
n(
|
|
765
|
-
},
|
|
764
|
+
n(v.filter((b) => b.key !== s));
|
|
765
|
+
}, v.length === 0 ? "" : /* @__PURE__ */ R.createElement("ul", { className: [We.n, l].filter((s) => s).join(" ") }, v.map((s) => s.item));
|
|
766
766
|
}
|
|
767
767
|
a.Init = o;
|
|
768
|
-
function i(l,
|
|
769
|
-
let n = Date.now(), s = { key: n, text: l, hide:
|
|
768
|
+
function i(l, v = !0) {
|
|
769
|
+
let n = Date.now(), s = { key: n, text: l, hide: v, type: "error" };
|
|
770
770
|
be.set({
|
|
771
771
|
item: /* @__PURE__ */ R.createElement(vt, { key: n, data: s }),
|
|
772
772
|
key: n
|
|
773
773
|
});
|
|
774
774
|
}
|
|
775
775
|
a.Error = i;
|
|
776
|
-
function c(l,
|
|
777
|
-
let n = Date.now(), s = { key: n, text: l, hide:
|
|
776
|
+
function c(l, v = !0) {
|
|
777
|
+
let n = Date.now(), s = { key: n, text: l, hide: v, type: "success" };
|
|
778
778
|
be.set({
|
|
779
779
|
item: /* @__PURE__ */ R.createElement(vt, { key: n, data: s }),
|
|
780
780
|
key: n
|
|
781
781
|
});
|
|
782
782
|
}
|
|
783
783
|
a.Success = c;
|
|
784
|
-
function
|
|
785
|
-
let n = Date.now(), s = { key: n, hide:
|
|
784
|
+
function d(l, v = !0) {
|
|
785
|
+
let n = Date.now(), s = { key: n, hide: v, text: l };
|
|
786
786
|
be.set({ item: /* @__PURE__ */ R.createElement(ir, { key: n, data: s }), key: n });
|
|
787
787
|
}
|
|
788
|
-
a.Custom =
|
|
789
|
-
function
|
|
790
|
-
let
|
|
788
|
+
a.Custom = d;
|
|
789
|
+
function y(l) {
|
|
790
|
+
let v = Date.now(), n = { key: v, hide: !0, ...l };
|
|
791
791
|
be.set({
|
|
792
|
-
item: /* @__PURE__ */ R.createElement(vt, { key:
|
|
793
|
-
key:
|
|
792
|
+
item: /* @__PURE__ */ R.createElement(vt, { key: v, data: n }),
|
|
793
|
+
key: v
|
|
794
794
|
});
|
|
795
795
|
}
|
|
796
|
-
a.Send =
|
|
797
|
-
function
|
|
798
|
-
let n = Date.now(), s = { key: n, text: l, hide:
|
|
796
|
+
a.Send = y;
|
|
797
|
+
function x(l, v = !0) {
|
|
798
|
+
let n = Date.now(), s = { key: n, text: l, hide: v, type: "remark" };
|
|
799
799
|
be.set({
|
|
800
800
|
item: /* @__PURE__ */ R.createElement(vt, { key: n, data: s }),
|
|
801
801
|
key: n
|
|
802
802
|
});
|
|
803
803
|
}
|
|
804
|
-
a.Remark =
|
|
805
|
-
function
|
|
806
|
-
let n = Date.now(), s = { key: n, text: l, hide:
|
|
804
|
+
a.Remark = x;
|
|
805
|
+
function C(l, v = !0) {
|
|
806
|
+
let n = Date.now(), s = { key: n, text: l, hide: v, type: "copy" };
|
|
807
807
|
be.set({
|
|
808
808
|
item: /* @__PURE__ */ R.createElement(vt, { key: n, data: s }),
|
|
809
809
|
key: n
|
|
810
810
|
});
|
|
811
811
|
}
|
|
812
|
-
a.Copy =
|
|
812
|
+
a.Copy = C;
|
|
813
813
|
})(xt || (xt = {}));
|
|
814
814
|
const he = qt(
|
|
815
815
|
({
|
|
@@ -817,19 +817,19 @@ const he = qt(
|
|
|
817
817
|
element_input: o,
|
|
818
818
|
type: i = "input",
|
|
819
819
|
title: c,
|
|
820
|
-
error:
|
|
821
|
-
before:
|
|
822
|
-
after:
|
|
823
|
-
children:
|
|
820
|
+
error: d,
|
|
821
|
+
before: y,
|
|
822
|
+
after: x,
|
|
823
|
+
children: C
|
|
824
824
|
}, l) => /* @__PURE__ */ f.jsxs(
|
|
825
825
|
"dl",
|
|
826
826
|
{
|
|
827
827
|
"data-field": i,
|
|
828
828
|
...o.props,
|
|
829
|
-
className: [Q.l, ...a.className].filter((
|
|
829
|
+
className: [Q.l, ...a.className].filter((v) => v !== void 0).join(" "),
|
|
830
830
|
children: [
|
|
831
831
|
c ? /* @__PURE__ */ f.jsx("dt", { className: Q.t, children: c }) : "",
|
|
832
|
-
|
|
832
|
+
y,
|
|
833
833
|
/* @__PURE__ */ f.jsx(
|
|
834
834
|
"dd",
|
|
835
835
|
{
|
|
@@ -837,13 +837,13 @@ const he = qt(
|
|
|
837
837
|
className: [
|
|
838
838
|
Q.f,
|
|
839
839
|
...o.className,
|
|
840
|
-
|
|
840
|
+
d && d.length > 0 ? Q.e : ""
|
|
841
841
|
].join(" "),
|
|
842
842
|
...o.props,
|
|
843
|
-
children:
|
|
843
|
+
children: C
|
|
844
844
|
}
|
|
845
845
|
),
|
|
846
|
-
|
|
846
|
+
x
|
|
847
847
|
]
|
|
848
848
|
}
|
|
849
849
|
)
|
|
@@ -853,64 +853,64 @@ function fa({
|
|
|
853
853
|
onValue: o,
|
|
854
854
|
onSave: i,
|
|
855
855
|
name: c,
|
|
856
|
-
format:
|
|
857
|
-
placeholder:
|
|
858
|
-
title:
|
|
859
|
-
error:
|
|
856
|
+
format: d = "+_(___) ___-__-__",
|
|
857
|
+
placeholder: y = "",
|
|
858
|
+
title: x = "",
|
|
859
|
+
error: C = "",
|
|
860
860
|
hide: l = !1,
|
|
861
|
-
edit:
|
|
861
|
+
edit: v = !0,
|
|
862
862
|
active: n = !0,
|
|
863
863
|
after: s = "",
|
|
864
864
|
show: b = !0,
|
|
865
865
|
view: j,
|
|
866
866
|
className: F = ""
|
|
867
867
|
}) {
|
|
868
|
-
|
|
869
|
-
let D =
|
|
868
|
+
v = v !== void 0 ? v : !0, n = n !== void 0 ? n : !0, l = !!(l && (a === "" || a === void 0)) && !(v && n), R.useRef(null);
|
|
869
|
+
let D = d, O = !0, p = 0, P = (h, g) => {
|
|
870
870
|
let M = document.createRange(), B = window.getSelection();
|
|
871
|
-
M.setStart(
|
|
872
|
-
}, K = (
|
|
873
|
-
|
|
874
|
-
window.document.execCommand("insertText", !1,
|
|
875
|
-
}).catch((
|
|
871
|
+
M.setStart(g.childNodes[0], h), M.collapse(!0), B.removeAllRanges(), B.addRange(M), g.focus();
|
|
872
|
+
}, K = (h) => {
|
|
873
|
+
h.preventDefault(), navigator.clipboard.readText().then((g) => {
|
|
874
|
+
window.document.execCommand("insertText", !1, g);
|
|
875
|
+
}).catch((g) => {
|
|
876
876
|
});
|
|
877
|
-
}, I = (
|
|
878
|
-
let
|
|
877
|
+
}, I = (h) => {
|
|
878
|
+
let g = 0, M = "", B = h.replace(/\D/g, "");
|
|
879
879
|
B === "" && (O = !0);
|
|
880
880
|
let te = B.split(""), H = "";
|
|
881
881
|
te.forEach((se) => {
|
|
882
|
-
O && (H += se, O && (p = ("" + H).length, D =
|
|
882
|
+
O && (H += se, O && (p = ("" + H).length, D = d.replace(new RegExp("[0-9]", "g"), "_"), M = ""), p > ("" + H).length && (O = !0, D = d.replace(new RegExp("[0-9]", "g"), "_"), M = ""));
|
|
883
883
|
});
|
|
884
884
|
let ae = D.replace(/\D/g, "");
|
|
885
885
|
return ae.length >= B.length && (B = ae), { q: D.replace(/[_\d]/g, function() {
|
|
886
|
-
return B.charAt(
|
|
887
|
-
}), i:
|
|
888
|
-
},
|
|
889
|
-
|
|
886
|
+
return B.charAt(g++) || "_";
|
|
887
|
+
}), i: g, v: B, f: M };
|
|
888
|
+
}, A = (h) => {
|
|
889
|
+
h.preventDefault(), navigator.clipboard.writeText(h.target.textContent.replace(/\D/g, "")).then(
|
|
890
890
|
function() {
|
|
891
891
|
xt.Copy("Данные в буфер обмене");
|
|
892
892
|
},
|
|
893
|
-
function(
|
|
893
|
+
function(g) {
|
|
894
894
|
}
|
|
895
895
|
);
|
|
896
|
-
}, q = I(a), W = (
|
|
897
|
-
let
|
|
898
|
-
|
|
899
|
-
}, N = (
|
|
900
|
-
|
|
896
|
+
}, q = I(a), W = (h) => {
|
|
897
|
+
let g = I(h.target.textContent);
|
|
898
|
+
h.target.textContent = g.q, g.i = g.q.lastIndexOf(g.v.substr(-1)), g.i < g.q.length && g.q !== D ? g.i++ : g.i = g.q.indexOf("_"), P(g.i, h.target), o && o({ value: g.q.replace(/\D/g, ""), name: c });
|
|
899
|
+
}, N = (h) => {
|
|
900
|
+
h.key === "Enter" && h.preventDefault();
|
|
901
901
|
};
|
|
902
|
-
const E = (
|
|
903
|
-
Z.Blur(
|
|
904
|
-
value:
|
|
902
|
+
const E = (h) => {
|
|
903
|
+
Z.Blur(h), i && i({
|
|
904
|
+
value: h.target.textContent.replace(/\D/g, ""),
|
|
905
905
|
name: c
|
|
906
906
|
});
|
|
907
907
|
};
|
|
908
908
|
let G = {};
|
|
909
|
-
return
|
|
909
|
+
return v && n ? (G.edit = "true", G.contentEditable = Z.ContentEditable) : G.contentEditable = "false", y && (G.placeholder = y), s && (G.after = s), l ? /* @__PURE__ */ f.jsx(f.Fragment, {}) : /* @__PURE__ */ f.jsx(
|
|
910
910
|
he,
|
|
911
911
|
{
|
|
912
912
|
type: "input",
|
|
913
|
-
title:
|
|
913
|
+
title: x,
|
|
914
914
|
element_blok: { className: [F] },
|
|
915
915
|
element_input: { className: [Q.w] },
|
|
916
916
|
children: /* @__PURE__ */ f.jsx(
|
|
@@ -919,7 +919,7 @@ function fa({
|
|
|
919
919
|
onPaste: K,
|
|
920
920
|
onInput: W,
|
|
921
921
|
onKeyDown: N,
|
|
922
|
-
onContextMenu:
|
|
922
|
+
onContextMenu: A,
|
|
923
923
|
onBlur: E,
|
|
924
924
|
suppressContentEditableWarning: !0,
|
|
925
925
|
...G,
|
|
@@ -938,12 +938,12 @@ function ma({
|
|
|
938
938
|
onValue: o,
|
|
939
939
|
name: i,
|
|
940
940
|
error: c,
|
|
941
|
-
icon:
|
|
942
|
-
edit:
|
|
943
|
-
active:
|
|
944
|
-
title:
|
|
941
|
+
icon: d,
|
|
942
|
+
edit: y = !0,
|
|
943
|
+
active: x = !0,
|
|
944
|
+
title: C,
|
|
945
945
|
placeholder: l = "",
|
|
946
|
-
className:
|
|
946
|
+
className: v
|
|
947
947
|
}) {
|
|
948
948
|
let [n, s] = R.useState(a);
|
|
949
949
|
const b = R.useRef(null), [j, F] = R.useState(!1);
|
|
@@ -953,18 +953,18 @@ function ma({
|
|
|
953
953
|
let U = (p) => {
|
|
954
954
|
s(p), o && o({ value: p, name: i });
|
|
955
955
|
}, D = (p) => {
|
|
956
|
-
if (!
|
|
956
|
+
if (!y || !x) return;
|
|
957
957
|
const P = p.target.getBoundingClientRect(), K = P.left, I = P.top;
|
|
958
958
|
b.position = { x: K, y: I }, F(!0);
|
|
959
959
|
};
|
|
960
960
|
const O = {};
|
|
961
|
-
return l && (O.placeholder = l),
|
|
961
|
+
return l && (O.placeholder = l), d || /* @__PURE__ */ f.jsxs(f.Fragment, { children: [
|
|
962
962
|
/* @__PURE__ */ f.jsx(
|
|
963
963
|
he,
|
|
964
964
|
{
|
|
965
965
|
type: "date",
|
|
966
|
-
title:
|
|
967
|
-
element_blok: { className: [
|
|
966
|
+
title: C,
|
|
967
|
+
element_blok: { className: [v] },
|
|
968
968
|
element_input: { className: [Q.w] },
|
|
969
969
|
children: /* @__PURE__ */ f.jsx("div", { onClick: D, ...O, children: dr(n, "mm.yyyy") })
|
|
970
970
|
}
|
|
@@ -985,21 +985,21 @@ function ma({
|
|
|
985
985
|
] });
|
|
986
986
|
}
|
|
987
987
|
const cr = ({ onOpen: a, date: o, onValue: i, position: c }) => {
|
|
988
|
-
let
|
|
989
|
-
y: parseInt(
|
|
990
|
-
m: parseInt(
|
|
991
|
-
},
|
|
992
|
-
y: parseInt(
|
|
993
|
-
m: parseInt(
|
|
994
|
-
}, [l,
|
|
988
|
+
let d = /* @__PURE__ */ new Date(), y = new Date(o), x = {
|
|
989
|
+
y: parseInt(d.getFullYear()),
|
|
990
|
+
m: parseInt(d.getMonth()) + 1
|
|
991
|
+
}, C = {
|
|
992
|
+
y: parseInt(y.getFullYear()),
|
|
993
|
+
m: parseInt(y.getMonth()) + 1
|
|
994
|
+
}, [l, v] = R.useState(C.y), n = () => {
|
|
995
995
|
a(!1);
|
|
996
996
|
}, s = () => {
|
|
997
|
-
|
|
997
|
+
v(l + 1);
|
|
998
998
|
}, b = () => {
|
|
999
|
-
|
|
999
|
+
v(l - 1);
|
|
1000
1000
|
}, j = (p) => {
|
|
1001
1001
|
i(l + "-" + ur(2, p)), n();
|
|
1002
|
-
}, F = (p) =>
|
|
1002
|
+
}, F = (p) => x.y === C.y && x.m === p ? "_FFEB3B" : "", U = Array(12).fill("").map((p, P) => P + 1), D = window.innerHeight - c.y + 33 < 320 ? c.y - 312 : c.y + 33, O = window.innerWidth - c.x < 265 ? c.x - 235 : c.x;
|
|
1003
1003
|
return /* @__PURE__ */ f.jsxs(f.Fragment, { children: [
|
|
1004
1004
|
/* @__PURE__ */ f.jsx("div", { className: Ct.o, onClick: n }),
|
|
1005
1005
|
/* @__PURE__ */ f.jsxs("div", { className: Ct.c, style: { top: D + "px", left: O + "px" }, children: [
|
|
@@ -1085,12 +1085,12 @@ function pa({
|
|
|
1085
1085
|
onValue: o,
|
|
1086
1086
|
name: i,
|
|
1087
1087
|
placeholder: c = "",
|
|
1088
|
-
title:
|
|
1089
|
-
error:
|
|
1090
|
-
hide:
|
|
1091
|
-
edit:
|
|
1088
|
+
title: d = "",
|
|
1089
|
+
error: y = "",
|
|
1090
|
+
hide: x = !1,
|
|
1091
|
+
edit: C = !0,
|
|
1092
1092
|
active: l = !0,
|
|
1093
|
-
after:
|
|
1093
|
+
after: v = "",
|
|
1094
1094
|
show: n = !0,
|
|
1095
1095
|
course: s = 100,
|
|
1096
1096
|
view: b,
|
|
@@ -1099,9 +1099,9 @@ function pa({
|
|
|
1099
1099
|
className: U = "",
|
|
1100
1100
|
isClear: D = !1
|
|
1101
1101
|
}) {
|
|
1102
|
-
let O = !!(
|
|
1103
|
-
let
|
|
1104
|
-
|
|
1102
|
+
let O = !!(x && (a === "" || a === void 0)), p = (E) => j === "multi" ? E.replace(/[^+\d.+-]/g, "") : E.replace(/[^+\d.]/g, ""), P = (E, G) => {
|
|
1103
|
+
let h = document.createRange(), g = window.getSelection();
|
|
1104
|
+
h.setStart(G.childNodes[0], E), h.collapse(!0), g.removeAllRanges(), g.addRange(h), G.focus();
|
|
1105
1105
|
}, K = (E) => {
|
|
1106
1106
|
o == null || o({
|
|
1107
1107
|
value: p(E.target.textContent) * s,
|
|
@@ -1112,7 +1112,7 @@ function pa({
|
|
|
1112
1112
|
value: p(E.target.textContent) * s,
|
|
1113
1113
|
name: i
|
|
1114
1114
|
}), E.target.textContent = It(E.target.textContent);
|
|
1115
|
-
},
|
|
1115
|
+
}, A = (E) => {
|
|
1116
1116
|
E.target.textContent = p(E.target.textContent);
|
|
1117
1117
|
}, q = (E) => {
|
|
1118
1118
|
E.key === "Enter" && E.preventDefault();
|
|
@@ -1122,13 +1122,13 @@ function pa({
|
|
|
1122
1122
|
}).catch((G) => {
|
|
1123
1123
|
});
|
|
1124
1124
|
};
|
|
1125
|
-
if (!(
|
|
1125
|
+
if (!(C && l) && !n || !(C && l) && O) return "";
|
|
1126
1126
|
const N = {};
|
|
1127
|
-
return N.inputMode = "decimal", c && (N.placeholder = c),
|
|
1127
|
+
return N.inputMode = "decimal", c && (N.placeholder = c), C && l && (N.edit = ""), /* @__PURE__ */ f.jsx(
|
|
1128
1128
|
he,
|
|
1129
1129
|
{
|
|
1130
1130
|
type: "input",
|
|
1131
|
-
title:
|
|
1131
|
+
title: d,
|
|
1132
1132
|
element_blok: { className: [U] },
|
|
1133
1133
|
element_input: { className: [Q.w] },
|
|
1134
1134
|
children: /* @__PURE__ */ f.jsx(
|
|
@@ -1139,10 +1139,10 @@ function pa({
|
|
|
1139
1139
|
onPaste: W,
|
|
1140
1140
|
onBlur: I,
|
|
1141
1141
|
onKeyDown: q,
|
|
1142
|
-
onFocus:
|
|
1143
|
-
contentEditable:
|
|
1142
|
+
onFocus: A,
|
|
1143
|
+
contentEditable: C && l ? Z.ContentEditable : "false",
|
|
1144
1144
|
suppressContentEditableWarning: !0,
|
|
1145
|
-
"data-after":
|
|
1145
|
+
"data-after": v,
|
|
1146
1146
|
children: !c || a ? It(a) : ""
|
|
1147
1147
|
}
|
|
1148
1148
|
)
|
|
@@ -1157,12 +1157,12 @@ function ya({
|
|
|
1157
1157
|
error: o,
|
|
1158
1158
|
edit: i = !0,
|
|
1159
1159
|
active: c = !0,
|
|
1160
|
-
className:
|
|
1161
|
-
placeholder:
|
|
1162
|
-
max:
|
|
1163
|
-
min:
|
|
1160
|
+
className: d,
|
|
1161
|
+
placeholder: y,
|
|
1162
|
+
max: x,
|
|
1163
|
+
min: C,
|
|
1164
1164
|
onValue: l,
|
|
1165
|
-
icon:
|
|
1165
|
+
icon: v,
|
|
1166
1166
|
name: n = "",
|
|
1167
1167
|
value: s,
|
|
1168
1168
|
after: b
|
|
@@ -1175,19 +1175,19 @@ function ya({
|
|
|
1175
1175
|
R.useEffect(() => {
|
|
1176
1176
|
F(s === void 0 ? /* @__PURE__ */ new Date() : s);
|
|
1177
1177
|
}, [s]);
|
|
1178
|
-
let P = (
|
|
1179
|
-
F(
|
|
1180
|
-
}, K = (
|
|
1181
|
-
const q =
|
|
1178
|
+
let P = (A) => {
|
|
1179
|
+
F(A), l == null || l({ value: A, name: n });
|
|
1180
|
+
}, K = (A) => {
|
|
1181
|
+
const q = A.target.getBoundingClientRect(), W = q.left, N = q.bottom, E = q.top;
|
|
1182
1182
|
U.position = { x: W, b: N, y: E }, O(!0);
|
|
1183
1183
|
};
|
|
1184
1184
|
const I = {};
|
|
1185
|
-
return
|
|
1186
|
-
|
|
1185
|
+
return y && (I.placeholder = y), p ? /* @__PURE__ */ f.jsx(f.Fragment, {}) : /* @__PURE__ */ f.jsxs(f.Fragment, { children: [
|
|
1186
|
+
v ? v() : /* @__PURE__ */ f.jsxs(
|
|
1187
1187
|
"dl",
|
|
1188
1188
|
{
|
|
1189
1189
|
"data-field": "date",
|
|
1190
|
-
className: [Q.l,
|
|
1190
|
+
className: [Q.l, d].filter((A) => A !== void 0).join(" "),
|
|
1191
1191
|
children: [
|
|
1192
1192
|
a ? /* @__PURE__ */ f.jsx("dt", { className: Q.t, children: a }) : "",
|
|
1193
1193
|
/* @__PURE__ */ f.jsxs(
|
|
@@ -1214,10 +1214,10 @@ function ya({
|
|
|
1214
1214
|
position: U.position,
|
|
1215
1215
|
onValue: P,
|
|
1216
1216
|
date: j,
|
|
1217
|
-
max:
|
|
1218
|
-
min:
|
|
1217
|
+
max: x,
|
|
1218
|
+
min: C,
|
|
1219
1219
|
onOpen: O,
|
|
1220
|
-
className:
|
|
1220
|
+
className: d
|
|
1221
1221
|
},
|
|
1222
1222
|
(/* @__PURE__ */ new Date()).getTime()
|
|
1223
1223
|
),
|
|
@@ -1230,50 +1230,50 @@ const mr = ({
|
|
|
1230
1230
|
onValue: o,
|
|
1231
1231
|
position: i,
|
|
1232
1232
|
max: c,
|
|
1233
|
-
min:
|
|
1234
|
-
className:
|
|
1235
|
-
onOpen:
|
|
1233
|
+
min: d,
|
|
1234
|
+
className: y,
|
|
1235
|
+
onOpen: x
|
|
1236
1236
|
}) => {
|
|
1237
|
-
let
|
|
1238
|
-
y: parseInt(
|
|
1239
|
-
d: parseInt(
|
|
1240
|
-
m: parseInt(
|
|
1237
|
+
let C = /* @__PURE__ */ new Date(), l = new Date(a), v = {
|
|
1238
|
+
y: parseInt(C.getFullYear()),
|
|
1239
|
+
d: parseInt(C.getDate()),
|
|
1240
|
+
m: parseInt(C.getMonth()) + 1
|
|
1241
1241
|
}, n = {
|
|
1242
1242
|
y: parseInt(l.getFullYear()),
|
|
1243
1243
|
d: parseInt(l.getDate()),
|
|
1244
1244
|
m: parseInt(l.getMonth()) + 1
|
|
1245
|
-
}, [s, b] = R.useState({ y: n.y, m: n.m }), j = (
|
|
1246
|
-
let
|
|
1247
|
-
return
|
|
1245
|
+
}, [s, b] = R.useState({ y: n.y, m: n.m }), j = (h) => {
|
|
1246
|
+
let g = h.getDay();
|
|
1247
|
+
return g === 0 && (g = 7), g - 1;
|
|
1248
1248
|
}, F = ["пн", "вт", "ср", "чт", "пт", "сб", "вс"], U = s.m - 1, D = new Date(s.y, U), O = [];
|
|
1249
|
-
for (let
|
|
1249
|
+
for (let h = 0; h < j(D); h++)
|
|
1250
1250
|
O.push(0);
|
|
1251
1251
|
for (; D.getMonth() === U; )
|
|
1252
1252
|
O.push(D.getDate()), D.setDate(D.getDate() + 1);
|
|
1253
1253
|
let p = () => {
|
|
1254
|
-
|
|
1254
|
+
x(!1);
|
|
1255
1255
|
}, P = () => {
|
|
1256
|
-
|
|
1256
|
+
A(s.m + 1, s.y);
|
|
1257
1257
|
}, K = () => {
|
|
1258
|
-
|
|
1259
|
-
}, I = (
|
|
1258
|
+
A(s.m - 1, s.y);
|
|
1259
|
+
}, I = (h) => {
|
|
1260
1260
|
o(
|
|
1261
|
-
s.y + "-" + At(2, s.m) + "-" + At(2,
|
|
1261
|
+
s.y + "-" + At(2, s.m) + "-" + At(2, h)
|
|
1262
1262
|
), p();
|
|
1263
|
-
},
|
|
1264
|
-
|
|
1263
|
+
}, A = (h, g) => {
|
|
1264
|
+
g = h > 12 ? g + 1 : h < 1 ? g - 1 : g, h = h > 12 ? 1 : h < 1 ? 12 : h, b({ y: g, m: h });
|
|
1265
1265
|
};
|
|
1266
|
-
const q = (
|
|
1267
|
-
let
|
|
1266
|
+
const q = (h) => v.y === s.y && v.m === s.m && v.d === h ? { "data-active": "true" } : {}, W = (h) => n.y === s.y && n.m === s.m && n.d === h ? { "data-current": "true" } : {}, N = (h) => {
|
|
1267
|
+
let g = !0;
|
|
1268
1268
|
if (c) {
|
|
1269
|
-
let M = c.getTime(), B = new Date(s.y, s.m - 1,
|
|
1270
|
-
M < B && (
|
|
1269
|
+
let M = c.getTime(), B = new Date(s.y, s.m - 1, h).getTime();
|
|
1270
|
+
M < B && (g = !1);
|
|
1271
1271
|
}
|
|
1272
|
-
if (
|
|
1273
|
-
let M =
|
|
1274
|
-
M > B && (
|
|
1272
|
+
if (d) {
|
|
1273
|
+
let M = d.getTime(), B = new Date(s.y, s.m - 1, h).getTime();
|
|
1274
|
+
M > B && (g = !1);
|
|
1275
1275
|
}
|
|
1276
|
-
return
|
|
1276
|
+
return g;
|
|
1277
1277
|
};
|
|
1278
1278
|
let E = window.innerHeight - i.y < 320 ? i.y - 312 : i.b, G = window.innerWidth - i.x < 265 ? i.x - 235 : i.x;
|
|
1279
1279
|
return /* @__PURE__ */ f.jsxs(f.Fragment, { children: [
|
|
@@ -1283,7 +1283,7 @@ const mr = ({
|
|
|
1283
1283
|
{
|
|
1284
1284
|
className: [
|
|
1285
1285
|
Ct.c,
|
|
1286
|
-
|
|
1286
|
+
y && y + "-backdrop"
|
|
1287
1287
|
].join(" "),
|
|
1288
1288
|
style: { top: E + "px", left: G + "px" },
|
|
1289
1289
|
children: [
|
|
@@ -1317,16 +1317,16 @@ const mr = ({
|
|
|
1317
1317
|
) })
|
|
1318
1318
|
] }),
|
|
1319
1319
|
/* @__PURE__ */ f.jsxs("div", { "grid-calendar": "", children: [
|
|
1320
|
-
F.map((
|
|
1321
|
-
O.map((
|
|
1320
|
+
F.map((h, g) => /* @__PURE__ */ f.jsx("p", { children: h }, "v" + g)),
|
|
1321
|
+
O.map((h, g) => /* @__PURE__ */ f.jsx("span", { children: h !== 0 && N(h) ? /* @__PURE__ */ f.jsx(
|
|
1322
1322
|
"b",
|
|
1323
1323
|
{
|
|
1324
|
-
...q(
|
|
1325
|
-
...W(
|
|
1326
|
-
onClick: () => I(
|
|
1327
|
-
children:
|
|
1324
|
+
...q(h),
|
|
1325
|
+
...W(h),
|
|
1326
|
+
onClick: () => I(h),
|
|
1327
|
+
children: h
|
|
1328
1328
|
}
|
|
1329
|
-
) : /* @__PURE__ */ f.jsx("p", { ...q(
|
|
1329
|
+
) : /* @__PURE__ */ f.jsx("p", { ...q(h), ...W(h), children: h !== 0 ? h : "" }) }, g))
|
|
1330
1330
|
] })
|
|
1331
1331
|
]
|
|
1332
1332
|
}
|
|
@@ -1376,12 +1376,12 @@ function va({
|
|
|
1376
1376
|
onValue: o,
|
|
1377
1377
|
name: i,
|
|
1378
1378
|
placeholder: c = "",
|
|
1379
|
-
title:
|
|
1380
|
-
label:
|
|
1381
|
-
hide:
|
|
1382
|
-
edit:
|
|
1379
|
+
title: d = "",
|
|
1380
|
+
label: y = "",
|
|
1381
|
+
hide: x = !1,
|
|
1382
|
+
edit: C = !0,
|
|
1383
1383
|
active: l = !0,
|
|
1384
|
-
after:
|
|
1384
|
+
after: v = "",
|
|
1385
1385
|
show: n = !0,
|
|
1386
1386
|
maxLength: s,
|
|
1387
1387
|
error: b = "",
|
|
@@ -1394,24 +1394,24 @@ function va({
|
|
|
1394
1394
|
}, O = (I) => {
|
|
1395
1395
|
s && I.target.textContent.trim().length >= s && I.key !== "Backspace" && I.preventDefault(), I.key === "Enter" && I.preventDefault();
|
|
1396
1396
|
}, p = (I) => {
|
|
1397
|
-
I.preventDefault(), navigator.clipboard.readText().then((
|
|
1397
|
+
I.preventDefault(), navigator.clipboard.readText().then((A) => {
|
|
1398
1398
|
if (s) {
|
|
1399
1399
|
let q = I.target.textContent.length;
|
|
1400
1400
|
if (q >= s) return;
|
|
1401
|
-
s -= q,
|
|
1401
|
+
s -= q, A = A.slice(0, s);
|
|
1402
1402
|
}
|
|
1403
1403
|
window.document.execCommand(
|
|
1404
1404
|
"insertText",
|
|
1405
1405
|
!1,
|
|
1406
|
-
|
|
1406
|
+
A.replace(/(\r\n|\n|\r)/gm, " ")
|
|
1407
1407
|
);
|
|
1408
|
-
}).catch((
|
|
1408
|
+
}).catch((A) => {
|
|
1409
1409
|
});
|
|
1410
1410
|
};
|
|
1411
|
-
if (
|
|
1412
|
-
if (!(
|
|
1411
|
+
if (x) return /* @__PURE__ */ f.jsx(f.Fragment, {});
|
|
1412
|
+
if (!(C && l) && !n) return "";
|
|
1413
1413
|
const P = {};
|
|
1414
|
-
c && (P.placeholder = c),
|
|
1414
|
+
c && (P.placeholder = c), C && l && (P.edit = "");
|
|
1415
1415
|
const K = (I) => {
|
|
1416
1416
|
Z.Blur(I), j == null || j({ value: I.target.textContent.trim(), name: i || "" });
|
|
1417
1417
|
};
|
|
@@ -1419,7 +1419,7 @@ function va({
|
|
|
1419
1419
|
he,
|
|
1420
1420
|
{
|
|
1421
1421
|
type: "note",
|
|
1422
|
-
title:
|
|
1422
|
+
title: d || y,
|
|
1423
1423
|
error: b,
|
|
1424
1424
|
element_blok: { className: [F] },
|
|
1425
1425
|
element_input: { className: [Q.n] },
|
|
@@ -1430,7 +1430,7 @@ function va({
|
|
|
1430
1430
|
onInput: D,
|
|
1431
1431
|
onBlur: K,
|
|
1432
1432
|
onKeyDown: O,
|
|
1433
|
-
contentEditable:
|
|
1433
|
+
contentEditable: C && l ? Z.ContentEditable : "false",
|
|
1434
1434
|
suppressContentEditableWarning: !0,
|
|
1435
1435
|
...P,
|
|
1436
1436
|
children: a
|
|
@@ -2826,32 +2826,32 @@ function ga({
|
|
|
2826
2826
|
onValue: o,
|
|
2827
2827
|
onSave: i,
|
|
2828
2828
|
name: c = "",
|
|
2829
|
-
placeholder:
|
|
2830
|
-
title:
|
|
2831
|
-
label:
|
|
2832
|
-
error:
|
|
2829
|
+
placeholder: d = "",
|
|
2830
|
+
title: y = "",
|
|
2831
|
+
label: x = "",
|
|
2832
|
+
error: C = "",
|
|
2833
2833
|
hide: l = !1,
|
|
2834
|
-
edit:
|
|
2834
|
+
edit: v = !0,
|
|
2835
2835
|
active: n = !0,
|
|
2836
2836
|
after: s = "",
|
|
2837
2837
|
show: b = !0,
|
|
2838
2838
|
view: j,
|
|
2839
2839
|
className: F = ""
|
|
2840
2840
|
}) {
|
|
2841
|
-
|
|
2842
|
-
let D = "+_(___) ___-__-__", O = !0, p = 0, P = (
|
|
2841
|
+
v = v !== void 0 ? v : !0, n = n !== void 0 ? n : !0, l = !!(l && (a === "" || a === void 0)) && !(v && n), R.useRef(null);
|
|
2842
|
+
let D = "+_(___) ___-__-__", O = !0, p = 0, P = (h, g) => {
|
|
2843
2843
|
let M = document.createRange(), B = window.getSelection();
|
|
2844
|
-
M.setStart(
|
|
2845
|
-
}, K = (
|
|
2846
|
-
let
|
|
2847
|
-
|
|
2848
|
-
}, I = (
|
|
2849
|
-
|
|
2850
|
-
window.document.execCommand("insertText", !1,
|
|
2851
|
-
}).catch((
|
|
2844
|
+
M.setStart(g.childNodes[0], h), M.collapse(!0), B.removeAllRanges(), B.addRange(M), g.focus();
|
|
2845
|
+
}, K = (h) => {
|
|
2846
|
+
let g = A(h.target.textContent);
|
|
2847
|
+
h.target.textContent = g.q, g.i = g.q.lastIndexOf(g.v.substr(-1)), g.i < g.q.length && g.q !== D ? g.i++ : g.i = g.q.indexOf("_"), P(g.i, h.target), o && o({ value: g.q.replace(/\D/g, ""), name: c || "" });
|
|
2848
|
+
}, I = (h) => {
|
|
2849
|
+
h.preventDefault(), navigator.clipboard.readText().then((g) => {
|
|
2850
|
+
window.document.execCommand("insertText", !1, g);
|
|
2851
|
+
}).catch((g) => {
|
|
2852
2852
|
});
|
|
2853
|
-
},
|
|
2854
|
-
let
|
|
2853
|
+
}, A = (h) => {
|
|
2854
|
+
let g = 0, M = "", B = h.replace(/\D/g, "");
|
|
2855
2855
|
B === "" && (O = !0);
|
|
2856
2856
|
let te = B.split(""), H = "";
|
|
2857
2857
|
te.forEach((se) => {
|
|
@@ -2865,32 +2865,32 @@ function ga({
|
|
|
2865
2865
|
});
|
|
2866
2866
|
let ae = D.replace(/\D/g, "");
|
|
2867
2867
|
return ae.length >= B.length && (B = ae), { q: D.replace(/[_\d]/g, function() {
|
|
2868
|
-
return B.charAt(
|
|
2869
|
-
}), i:
|
|
2870
|
-
}, q = (
|
|
2871
|
-
|
|
2868
|
+
return B.charAt(g++) || "_";
|
|
2869
|
+
}), i: g, v: B, f: M };
|
|
2870
|
+
}, q = (h) => {
|
|
2871
|
+
h.preventDefault(), navigator.clipboard.writeText(h.target.textContent.replace(/\D/g, "")).then(
|
|
2872
2872
|
function() {
|
|
2873
2873
|
xt.Copy("Данные в буфер обмене");
|
|
2874
2874
|
},
|
|
2875
|
-
function(
|
|
2875
|
+
function(g) {
|
|
2876
2876
|
}
|
|
2877
2877
|
);
|
|
2878
|
-
}, W =
|
|
2879
|
-
|
|
2878
|
+
}, W = A(a), N = (h) => {
|
|
2879
|
+
h.key === "Enter" && h.preventDefault();
|
|
2880
2880
|
};
|
|
2881
|
-
const E = (
|
|
2882
|
-
Z.Blur(
|
|
2883
|
-
value:
|
|
2881
|
+
const E = (h) => {
|
|
2882
|
+
Z.Blur(h), i && i({
|
|
2883
|
+
value: h.target.textContent.replace(/\D/g, ""),
|
|
2884
2884
|
name: c || ""
|
|
2885
2885
|
});
|
|
2886
2886
|
};
|
|
2887
2887
|
let G = {};
|
|
2888
|
-
return
|
|
2888
|
+
return v && n ? (G.edit = "true", G.contentEditable = Z.ContentEditable) : G.contentEditable = "false", d && (G.placeholder = d), l ? /* @__PURE__ */ f.jsx(f.Fragment, {}) : /* @__PURE__ */ f.jsx(
|
|
2889
2889
|
he,
|
|
2890
2890
|
{
|
|
2891
2891
|
type: "input",
|
|
2892
|
-
title:
|
|
2893
|
-
error:
|
|
2892
|
+
title: y || x,
|
|
2893
|
+
error: C,
|
|
2894
2894
|
element_blok: { className: F },
|
|
2895
2895
|
element_input: { className: [Q.w] },
|
|
2896
2896
|
children: /* @__PURE__ */ f.jsx(
|
|
@@ -2915,12 +2915,12 @@ function ha({
|
|
|
2915
2915
|
onValue: o,
|
|
2916
2916
|
name: i = "",
|
|
2917
2917
|
inputmode: c = "text",
|
|
2918
|
-
placeholder:
|
|
2919
|
-
title:
|
|
2920
|
-
label:
|
|
2921
|
-
show:
|
|
2918
|
+
placeholder: d = "",
|
|
2919
|
+
title: y = "",
|
|
2920
|
+
label: x = "",
|
|
2921
|
+
show: C = !0,
|
|
2922
2922
|
hide: l = !1,
|
|
2923
|
-
edit:
|
|
2923
|
+
edit: v = !0,
|
|
2924
2924
|
active: n = !0,
|
|
2925
2925
|
maxLength: s,
|
|
2926
2926
|
onSave: b,
|
|
@@ -2938,14 +2938,14 @@ function ha({
|
|
|
2938
2938
|
name: i,
|
|
2939
2939
|
reload: D
|
|
2940
2940
|
});
|
|
2941
|
-
},
|
|
2941
|
+
}, A = (E) => {
|
|
2942
2942
|
s && E.target.textContent.trim().length >= s && E.key !== "Backspace" && E.preventDefault(), E.key === "Enter" && E.preventDefault();
|
|
2943
2943
|
}, q = (E) => {
|
|
2944
2944
|
E.preventDefault(), navigator.clipboard.readText().then((G) => {
|
|
2945
2945
|
if (s) {
|
|
2946
|
-
let
|
|
2947
|
-
if (
|
|
2948
|
-
s -=
|
|
2946
|
+
let h = E.target.textContent.length;
|
|
2947
|
+
if (h >= s) return;
|
|
2948
|
+
s -= h, G = G.slice(0, s);
|
|
2949
2949
|
}
|
|
2950
2950
|
window.document.execCommand(
|
|
2951
2951
|
"insertText",
|
|
@@ -2955,9 +2955,9 @@ function ha({
|
|
|
2955
2955
|
}).catch((G) => {
|
|
2956
2956
|
});
|
|
2957
2957
|
};
|
|
2958
|
-
if (!(
|
|
2958
|
+
if (!(v && n) && !C || !(v && n) && K) return "";
|
|
2959
2959
|
const W = {};
|
|
2960
|
-
|
|
2960
|
+
d && (W.placeholder = d), v && n && (W.edit = "");
|
|
2961
2961
|
const N = (E) => {
|
|
2962
2962
|
Z.Blur(E), b == null || b({ value: E.target.textContent.trim(), name: i });
|
|
2963
2963
|
};
|
|
@@ -2965,7 +2965,7 @@ function ha({
|
|
|
2965
2965
|
he,
|
|
2966
2966
|
{
|
|
2967
2967
|
type: "input",
|
|
2968
|
-
title:
|
|
2968
|
+
title: y || x,
|
|
2969
2969
|
error: P,
|
|
2970
2970
|
element_blok: { className: [j] },
|
|
2971
2971
|
element_input: { className: [Q.w] },
|
|
@@ -2977,10 +2977,10 @@ function ha({
|
|
|
2977
2977
|
onBlur: N,
|
|
2978
2978
|
onPaste: q,
|
|
2979
2979
|
onInput: I,
|
|
2980
|
-
onKeyDown:
|
|
2980
|
+
onKeyDown: A,
|
|
2981
2981
|
spellCheck: F,
|
|
2982
2982
|
inputMode: c || "text",
|
|
2983
|
-
contentEditable:
|
|
2983
|
+
contentEditable: v && n ? Z.ContentEditable : "false",
|
|
2984
2984
|
suppressContentEditableWarning: !0,
|
|
2985
2985
|
...W,
|
|
2986
2986
|
children: a
|
|
@@ -2996,12 +2996,12 @@ function ka({
|
|
|
2996
2996
|
onSave: o,
|
|
2997
2997
|
active: i,
|
|
2998
2998
|
max: c,
|
|
2999
|
-
edit:
|
|
3000
|
-
title:
|
|
3001
|
-
error:
|
|
3002
|
-
show:
|
|
2999
|
+
edit: d,
|
|
3000
|
+
title: y,
|
|
3001
|
+
error: x,
|
|
3002
|
+
show: C,
|
|
3003
3003
|
hide: l,
|
|
3004
|
-
value:
|
|
3004
|
+
value: v,
|
|
3005
3005
|
placeholder: n,
|
|
3006
3006
|
className: s,
|
|
3007
3007
|
maxLength: b,
|
|
@@ -3010,7 +3010,7 @@ function ka({
|
|
|
3010
3010
|
before: U = "",
|
|
3011
3011
|
view: D
|
|
3012
3012
|
}) {
|
|
3013
|
-
|
|
3013
|
+
d = d !== void 0 ? d : !0, i = i !== void 0 ? i : !0, l = !!(l && (v === "" || v === void 0)) && !(d && i), n = n !== void 0 ? n : "", c = c !== void 0 ? c : 99;
|
|
3014
3014
|
let p = !1, P = (N) => {
|
|
3015
3015
|
a == null || a({ value: N.target.textContent, name: j });
|
|
3016
3016
|
}, K = (N) => {
|
|
@@ -3020,7 +3020,7 @@ function ka({
|
|
|
3020
3020
|
}
|
|
3021
3021
|
}, I = (N) => {
|
|
3022
3022
|
if (N.which === 17 || N.which === 91) return p = !1;
|
|
3023
|
-
},
|
|
3023
|
+
}, A = (N) => {
|
|
3024
3024
|
N.preventDefault(), navigator.clipboard.readText().then((E) => {
|
|
3025
3025
|
if (E = E.replace(/(?!^\+|\d)./g, ""), b) {
|
|
3026
3026
|
let G = N.target.textContent.length;
|
|
@@ -3035,27 +3035,27 @@ function ka({
|
|
|
3035
3035
|
Z.Blur(N), o == null || o({ value: N.target.textContent, name: j });
|
|
3036
3036
|
};
|
|
3037
3037
|
let W = {};
|
|
3038
|
-
return
|
|
3038
|
+
return d && i ? (W.edit = "true", W.contentEditable = Z.ContentEditable) : W.contentEditable = "false", W.inputMode = "decimal", n && (W.placeholder = n), l ? /* @__PURE__ */ f.jsx(f.Fragment, {}) : /* @__PURE__ */ f.jsx(
|
|
3039
3039
|
he,
|
|
3040
3040
|
{
|
|
3041
3041
|
type: "numeric",
|
|
3042
|
-
title:
|
|
3043
|
-
error:
|
|
3042
|
+
title: y,
|
|
3043
|
+
error: x,
|
|
3044
3044
|
element_blok: { className: [s] },
|
|
3045
3045
|
element_input: { className: [Q.w] },
|
|
3046
3046
|
children: /* @__PURE__ */ f.jsx(
|
|
3047
3047
|
"div",
|
|
3048
3048
|
{
|
|
3049
|
-
onPaste:
|
|
3049
|
+
onPaste: A,
|
|
3050
3050
|
onInput: P,
|
|
3051
3051
|
onBlur: q,
|
|
3052
3052
|
onKeyDown: K,
|
|
3053
3053
|
onKeyUp: I,
|
|
3054
3054
|
spellCheck: "true",
|
|
3055
|
-
contentEditable:
|
|
3055
|
+
contentEditable: d && i ? Z.ContentEditable : "false",
|
|
3056
3056
|
suppressContentEditableWarning: !0,
|
|
3057
3057
|
...W,
|
|
3058
|
-
children:
|
|
3058
|
+
children: v
|
|
3059
3059
|
}
|
|
3060
3060
|
)
|
|
3061
3061
|
}
|
|
@@ -3075,15 +3075,15 @@ var $t;
|
|
|
3075
3075
|
function vr() {
|
|
3076
3076
|
if ($t) return gt;
|
|
3077
3077
|
$t = 1;
|
|
3078
|
-
var a = R, o = Symbol.for("react.element"), i = Symbol.for("react.fragment"), c = Object.prototype.hasOwnProperty,
|
|
3079
|
-
function C
|
|
3078
|
+
var a = R, o = Symbol.for("react.element"), i = Symbol.for("react.fragment"), c = Object.prototype.hasOwnProperty, d = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, y = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
3079
|
+
function x(C, l, v) {
|
|
3080
3080
|
var n, s = {}, b = null, j = null;
|
|
3081
|
-
|
|
3082
|
-
for (n in l) c.call(l, n) && !
|
|
3083
|
-
if (
|
|
3084
|
-
return { $$typeof: o, type:
|
|
3081
|
+
v !== void 0 && (b = "" + v), l.key !== void 0 && (b = "" + l.key), l.ref !== void 0 && (j = l.ref);
|
|
3082
|
+
for (n in l) c.call(l, n) && !y.hasOwnProperty(n) && (s[n] = l[n]);
|
|
3083
|
+
if (C && C.defaultProps) for (n in l = C.defaultProps, l) s[n] === void 0 && (s[n] = l[n]);
|
|
3084
|
+
return { $$typeof: o, type: C, key: b, ref: j, props: s, _owner: d.current };
|
|
3085
3085
|
}
|
|
3086
|
-
return gt.Fragment = i, gt.jsx =
|
|
3086
|
+
return gt.Fragment = i, gt.jsx = x, gt.jsxs = x, gt;
|
|
3087
3087
|
}
|
|
3088
3088
|
var kt = {};
|
|
3089
3089
|
/**
|
|
@@ -3098,7 +3098,7 @@ var kt = {};
|
|
|
3098
3098
|
var Bt;
|
|
3099
3099
|
function gr() {
|
|
3100
3100
|
return Bt || (Bt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
3101
|
-
var a = R, o = Symbol.for("react.element"), i = Symbol.for("react.portal"), c = Symbol.for("react.fragment"),
|
|
3101
|
+
var a = R, o = Symbol.for("react.element"), i = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), d = Symbol.for("react.strict_mode"), y = Symbol.for("react.profiler"), x = Symbol.for("react.provider"), C = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), v = Symbol.for("react.suspense"), n = Symbol.for("react.suspense_list"), s = Symbol.for("react.memo"), b = Symbol.for("react.lazy"), j = Symbol.for("react.offscreen"), F = Symbol.iterator, U = "@@iterator";
|
|
3102
3102
|
function D(e) {
|
|
3103
3103
|
if (e === null || typeof e != "object")
|
|
3104
3104
|
return null;
|
|
@@ -3115,18 +3115,18 @@ function gr() {
|
|
|
3115
3115
|
}
|
|
3116
3116
|
function P(e, t, r) {
|
|
3117
3117
|
{
|
|
3118
|
-
var _ = O.ReactDebugCurrentFrame,
|
|
3119
|
-
|
|
3120
|
-
var
|
|
3118
|
+
var _ = O.ReactDebugCurrentFrame, k = _.getStackAddendum();
|
|
3119
|
+
k !== "" && (t += "%s", r = r.concat([k]));
|
|
3120
|
+
var w = r.map(function(m) {
|
|
3121
3121
|
return String(m);
|
|
3122
3122
|
});
|
|
3123
|
-
|
|
3123
|
+
w.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, w);
|
|
3124
3124
|
}
|
|
3125
3125
|
}
|
|
3126
|
-
var K = !1, I = !1,
|
|
3126
|
+
var K = !1, I = !1, A = !1, q = !1, W = !1, N;
|
|
3127
3127
|
N = Symbol.for("react.module.reference");
|
|
3128
3128
|
function E(e) {
|
|
3129
|
-
return !!(typeof e == "string" || typeof e == "function" || e === c || e ===
|
|
3129
|
+
return !!(typeof e == "string" || typeof e == "function" || e === c || e === y || W || e === d || e === v || e === n || q || e === j || K || I || A || typeof e == "object" && e !== null && (e.$$typeof === b || e.$$typeof === s || e.$$typeof === x || e.$$typeof === C || e.$$typeof === l || // This needs to include all possible module reference object
|
|
3130
3130
|
// types supported by any Flight configuration anywhere since
|
|
3131
3131
|
// we don't know which Flight build this will end up being used
|
|
3132
3132
|
// with.
|
|
@@ -3136,13 +3136,13 @@ function gr() {
|
|
|
3136
3136
|
var _ = e.displayName;
|
|
3137
3137
|
if (_)
|
|
3138
3138
|
return _;
|
|
3139
|
-
var
|
|
3140
|
-
return
|
|
3139
|
+
var k = t.displayName || t.name || "";
|
|
3140
|
+
return k !== "" ? r + "(" + k + ")" : r;
|
|
3141
3141
|
}
|
|
3142
|
-
function
|
|
3142
|
+
function h(e) {
|
|
3143
3143
|
return e.displayName || "Context";
|
|
3144
3144
|
}
|
|
3145
|
-
function
|
|
3145
|
+
function g(e) {
|
|
3146
3146
|
if (e == null)
|
|
3147
3147
|
return null;
|
|
3148
3148
|
if (typeof e.tag == "number" && p("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
@@ -3154,32 +3154,32 @@ function gr() {
|
|
|
3154
3154
|
return "Fragment";
|
|
3155
3155
|
case i:
|
|
3156
3156
|
return "Portal";
|
|
3157
|
-
case
|
|
3157
|
+
case y:
|
|
3158
3158
|
return "Profiler";
|
|
3159
|
-
case
|
|
3159
|
+
case d:
|
|
3160
3160
|
return "StrictMode";
|
|
3161
|
-
case
|
|
3161
|
+
case v:
|
|
3162
3162
|
return "Suspense";
|
|
3163
3163
|
case n:
|
|
3164
3164
|
return "SuspenseList";
|
|
3165
3165
|
}
|
|
3166
3166
|
if (typeof e == "object")
|
|
3167
3167
|
switch (e.$$typeof) {
|
|
3168
|
-
case w:
|
|
3169
|
-
var t = e;
|
|
3170
|
-
return g(t) + ".Consumer";
|
|
3171
3168
|
case C:
|
|
3169
|
+
var t = e;
|
|
3170
|
+
return h(t) + ".Consumer";
|
|
3171
|
+
case x:
|
|
3172
3172
|
var r = e;
|
|
3173
|
-
return
|
|
3173
|
+
return h(r._context) + ".Provider";
|
|
3174
3174
|
case l:
|
|
3175
3175
|
return G(e, e.render, "ForwardRef");
|
|
3176
3176
|
case s:
|
|
3177
3177
|
var _ = e.displayName || null;
|
|
3178
|
-
return _ !== null ? _ :
|
|
3178
|
+
return _ !== null ? _ : g(e.type) || "Memo";
|
|
3179
3179
|
case b: {
|
|
3180
|
-
var
|
|
3180
|
+
var k = e, w = k._payload, m = k._init;
|
|
3181
3181
|
try {
|
|
3182
|
-
return
|
|
3182
|
+
return g(m(w));
|
|
3183
3183
|
} catch {
|
|
3184
3184
|
return null;
|
|
3185
3185
|
}
|
|
@@ -3255,8 +3255,8 @@ function gr() {
|
|
|
3255
3255
|
if (de === void 0)
|
|
3256
3256
|
try {
|
|
3257
3257
|
throw Error();
|
|
3258
|
-
} catch (
|
|
3259
|
-
var _ =
|
|
3258
|
+
} catch (k) {
|
|
3259
|
+
var _ = k.stack.trim().match(/\n( *(at )?)/);
|
|
3260
3260
|
de = _ && _[1] || "";
|
|
3261
3261
|
}
|
|
3262
3262
|
return `
|
|
@@ -3278,10 +3278,10 @@ function gr() {
|
|
|
3278
3278
|
}
|
|
3279
3279
|
var _;
|
|
3280
3280
|
ue = !0;
|
|
3281
|
-
var
|
|
3281
|
+
var k = Error.prepareStackTrace;
|
|
3282
3282
|
Error.prepareStackTrace = void 0;
|
|
3283
|
-
var
|
|
3284
|
-
|
|
3283
|
+
var w;
|
|
3284
|
+
w = ce.current, ce.current = null, Ue();
|
|
3285
3285
|
try {
|
|
3286
3286
|
if (t) {
|
|
3287
3287
|
var m = function() {
|
|
@@ -3316,17 +3316,17 @@ function gr() {
|
|
|
3316
3316
|
}
|
|
3317
3317
|
} catch (L) {
|
|
3318
3318
|
if (L && _ && typeof L.stack == "string") {
|
|
3319
|
-
for (var
|
|
3320
|
-
`),
|
|
3321
|
-
`), S =
|
|
3319
|
+
for (var u = L.stack.split(`
|
|
3320
|
+
`), $ = _.stack.split(`
|
|
3321
|
+
`), S = u.length - 1, T = $.length - 1; S >= 1 && T >= 0 && u[S] !== $[T]; )
|
|
3322
3322
|
T--;
|
|
3323
3323
|
for (; S >= 1 && T >= 0; S--, T--)
|
|
3324
|
-
if (
|
|
3324
|
+
if (u[S] !== $[T]) {
|
|
3325
3325
|
if (S !== 1 || T !== 1)
|
|
3326
3326
|
do
|
|
3327
|
-
if (S--, T--, T < 0 ||
|
|
3327
|
+
if (S--, T--, T < 0 || u[S] !== $[T]) {
|
|
3328
3328
|
var Y = `
|
|
3329
|
-
` +
|
|
3329
|
+
` + u[S].replace(" at new ", " at ");
|
|
3330
3330
|
return e.displayName && Y.includes("<anonymous>") && (Y = Y.replace("<anonymous>", e.displayName)), typeof e == "function" && oe.set(e, Y), Y;
|
|
3331
3331
|
}
|
|
3332
3332
|
while (S >= 1 && T >= 0);
|
|
@@ -3334,7 +3334,7 @@ function gr() {
|
|
|
3334
3334
|
}
|
|
3335
3335
|
}
|
|
3336
3336
|
} finally {
|
|
3337
|
-
ue = !1, ce.current =
|
|
3337
|
+
ue = !1, ce.current = w, qe(), Error.prepareStackTrace = k;
|
|
3338
3338
|
}
|
|
3339
3339
|
var X = e ? e.displayName || e.name : "", J = X ? ne(X) : "";
|
|
3340
3340
|
return typeof e == "function" && oe.set(e, J), J;
|
|
@@ -3354,7 +3354,7 @@ function gr() {
|
|
|
3354
3354
|
if (typeof e == "string")
|
|
3355
3355
|
return ne(e);
|
|
3356
3356
|
switch (e) {
|
|
3357
|
-
case
|
|
3357
|
+
case v:
|
|
3358
3358
|
return ne("Suspense");
|
|
3359
3359
|
case n:
|
|
3360
3360
|
return ne("SuspenseList");
|
|
@@ -3366,9 +3366,9 @@ function gr() {
|
|
|
3366
3366
|
case s:
|
|
3367
3367
|
return _e(e.type, t, r);
|
|
3368
3368
|
case b: {
|
|
3369
|
-
var _ = e,
|
|
3369
|
+
var _ = e, k = _._payload, w = _._init;
|
|
3370
3370
|
try {
|
|
3371
|
-
return _e(
|
|
3371
|
+
return _e(w(k), t, r);
|
|
3372
3372
|
} catch {
|
|
3373
3373
|
}
|
|
3374
3374
|
}
|
|
@@ -3383,22 +3383,22 @@ function gr() {
|
|
|
3383
3383
|
} else
|
|
3384
3384
|
Se.setExtraStackFrame(null);
|
|
3385
3385
|
}
|
|
3386
|
-
function ze(e, t, r, _,
|
|
3386
|
+
function ze(e, t, r, _, k) {
|
|
3387
3387
|
{
|
|
3388
|
-
var
|
|
3388
|
+
var w = Function.call.bind(ee);
|
|
3389
3389
|
for (var m in e)
|
|
3390
|
-
if (
|
|
3391
|
-
var
|
|
3390
|
+
if (w(e, m)) {
|
|
3391
|
+
var u = void 0;
|
|
3392
3392
|
try {
|
|
3393
3393
|
if (typeof e[m] != "function") {
|
|
3394
|
-
var
|
|
3395
|
-
throw
|
|
3394
|
+
var $ = Error((_ || "React class") + ": " + r + " type `" + m + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[m] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
3395
|
+
throw $.name = "Invariant Violation", $;
|
|
3396
3396
|
}
|
|
3397
|
-
|
|
3397
|
+
u = e[m](t, m, _, r, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
3398
3398
|
} catch (S) {
|
|
3399
|
-
|
|
3399
|
+
u = S;
|
|
3400
3400
|
}
|
|
3401
|
-
|
|
3401
|
+
u && !(u instanceof Error) && (ie(k), 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).", _ || "React class", r, m, typeof u), ie(null)), u instanceof Error && !(u.message in Ee) && (Ee[u.message] = !0, ie(k), p("Failed %s type: %s", r, u.message), ie(null));
|
|
3402
3402
|
}
|
|
3403
3403
|
}
|
|
3404
3404
|
}
|
|
@@ -3473,8 +3473,8 @@ function gr() {
|
|
|
3473
3473
|
});
|
|
3474
3474
|
}
|
|
3475
3475
|
}
|
|
3476
|
-
var at = function(e, t, r, _,
|
|
3477
|
-
var
|
|
3476
|
+
var at = function(e, t, r, _, k, w, m) {
|
|
3477
|
+
var u = {
|
|
3478
3478
|
// This tag allows us to uniquely identify this as a React Element
|
|
3479
3479
|
$$typeof: o,
|
|
3480
3480
|
// Built-in properties that belong on the element
|
|
@@ -3483,41 +3483,41 @@ function gr() {
|
|
|
3483
3483
|
ref: r,
|
|
3484
3484
|
props: m,
|
|
3485
3485
|
// Record the component responsible for creating this element.
|
|
3486
|
-
_owner:
|
|
3486
|
+
_owner: w
|
|
3487
3487
|
};
|
|
3488
|
-
return
|
|
3488
|
+
return u._store = {}, Object.defineProperty(u._store, "validated", {
|
|
3489
3489
|
configurable: !1,
|
|
3490
3490
|
enumerable: !1,
|
|
3491
3491
|
writable: !0,
|
|
3492
3492
|
value: !1
|
|
3493
|
-
}), Object.defineProperty(
|
|
3493
|
+
}), Object.defineProperty(u, "_self", {
|
|
3494
3494
|
configurable: !1,
|
|
3495
3495
|
enumerable: !1,
|
|
3496
3496
|
writable: !1,
|
|
3497
3497
|
value: _
|
|
3498
|
-
}), Object.defineProperty(
|
|
3498
|
+
}), Object.defineProperty(u, "_source", {
|
|
3499
3499
|
configurable: !1,
|
|
3500
3500
|
enumerable: !1,
|
|
3501
3501
|
writable: !1,
|
|
3502
|
-
value:
|
|
3503
|
-
}), Object.freeze && (Object.freeze(
|
|
3502
|
+
value: k
|
|
3503
|
+
}), Object.freeze && (Object.freeze(u.props), Object.freeze(u)), u;
|
|
3504
3504
|
};
|
|
3505
|
-
function nt(e, t, r, _,
|
|
3505
|
+
function nt(e, t, r, _, k) {
|
|
3506
3506
|
{
|
|
3507
|
-
var
|
|
3508
|
-
r !== void 0 && (Te(r),
|
|
3509
|
-
for (
|
|
3510
|
-
ee.call(t,
|
|
3507
|
+
var w, m = {}, u = null, $ = null;
|
|
3508
|
+
r !== void 0 && (Te(r), u = "" + r), Qe(t) && (Te(t.key), u = "" + t.key), Xe(t) && ($ = t.ref, et(t));
|
|
3509
|
+
for (w in t)
|
|
3510
|
+
ee.call(t, w) && !Ve.hasOwnProperty(w) && (m[w] = t[w]);
|
|
3511
3511
|
if (e && e.defaultProps) {
|
|
3512
3512
|
var S = e.defaultProps;
|
|
3513
|
-
for (
|
|
3514
|
-
m[
|
|
3513
|
+
for (w in S)
|
|
3514
|
+
m[w] === void 0 && (m[w] = S[w]);
|
|
3515
3515
|
}
|
|
3516
|
-
if (
|
|
3516
|
+
if (u || $) {
|
|
3517
3517
|
var T = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
3518
|
-
|
|
3518
|
+
u && tt(m, T), $ && rt(m, T);
|
|
3519
3519
|
}
|
|
3520
|
-
return at(e,
|
|
3520
|
+
return at(e, u, $, k, _, Oe.current, m);
|
|
3521
3521
|
}
|
|
3522
3522
|
}
|
|
3523
3523
|
var me = O.ReactCurrentOwner, Ne = O.ReactDebugCurrentFrame;
|
|
@@ -3536,7 +3536,7 @@ function gr() {
|
|
|
3536
3536
|
function Fe() {
|
|
3537
3537
|
{
|
|
3538
3538
|
if (me.current) {
|
|
3539
|
-
var e =
|
|
3539
|
+
var e = g(me.current.type);
|
|
3540
3540
|
if (e)
|
|
3541
3541
|
return `
|
|
3542
3542
|
|
|
@@ -3571,7 +3571,7 @@ Check the top-level render call using <` + r + ">.");
|
|
|
3571
3571
|
return;
|
|
3572
3572
|
Me[r] = !0;
|
|
3573
3573
|
var _ = "";
|
|
3574
|
-
e && e._owner && e._owner !== me.current && (_ = " It was passed a child from " +
|
|
3574
|
+
e && e._owner && e._owner !== me.current && (_ = " It was passed a child from " + g(e._owner.type) + "."), V(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, _), V(null);
|
|
3575
3575
|
}
|
|
3576
3576
|
}
|
|
3577
3577
|
function Ae(e, t) {
|
|
@@ -3586,9 +3586,9 @@ Check the top-level render call using <` + r + ">.");
|
|
|
3586
3586
|
else if (ye(e))
|
|
3587
3587
|
e._store && (e._store.validated = !0);
|
|
3588
3588
|
else if (e) {
|
|
3589
|
-
var
|
|
3590
|
-
if (typeof
|
|
3591
|
-
for (var
|
|
3589
|
+
var k = D(e);
|
|
3590
|
+
if (typeof k == "function" && k !== e.entries)
|
|
3591
|
+
for (var w = k.call(e), m; !(m = w.next()).done; )
|
|
3592
3592
|
ye(m.value) && Ie(m.value, t);
|
|
3593
3593
|
}
|
|
3594
3594
|
}
|
|
@@ -3608,12 +3608,12 @@ Check the top-level render call using <` + r + ">.");
|
|
|
3608
3608
|
else
|
|
3609
3609
|
return;
|
|
3610
3610
|
if (r) {
|
|
3611
|
-
var _ =
|
|
3611
|
+
var _ = g(t);
|
|
3612
3612
|
ze(r, e.props, "prop", _, e);
|
|
3613
3613
|
} else if (t.PropTypes !== void 0 && !pe) {
|
|
3614
3614
|
pe = !0;
|
|
3615
|
-
var
|
|
3616
|
-
p("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",
|
|
3615
|
+
var k = g(t);
|
|
3616
|
+
p("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", k || "Unknown");
|
|
3617
3617
|
}
|
|
3618
3618
|
typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && p("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
3619
3619
|
}
|
|
@@ -3631,18 +3631,18 @@ Check the top-level render call using <` + r + ">.");
|
|
|
3631
3631
|
}
|
|
3632
3632
|
}
|
|
3633
3633
|
var $e = {};
|
|
3634
|
-
function Be(e, t, r, _,
|
|
3634
|
+
function Be(e, t, r, _, k, w) {
|
|
3635
3635
|
{
|
|
3636
3636
|
var m = E(e);
|
|
3637
3637
|
if (!m) {
|
|
3638
|
-
var
|
|
3639
|
-
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (
|
|
3640
|
-
var
|
|
3641
|
-
|
|
3638
|
+
var u = "";
|
|
3639
|
+
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (u += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
3640
|
+
var $ = ot();
|
|
3641
|
+
$ ? u += $ : u += Fe();
|
|
3642
3642
|
var S;
|
|
3643
|
-
e === null ? S = "null" : fe(e) ? S = "array" : e !== void 0 && e.$$typeof === o ? (S = "<" + (
|
|
3643
|
+
e === null ? S = "null" : fe(e) ? S = "array" : e !== void 0 && e.$$typeof === o ? (S = "<" + (g(e.type) || "Unknown") + " />", u = " Did you accidentally export a JSX literal instead of a component?") : S = 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", S, u);
|
|
3644
3644
|
}
|
|
3645
|
-
var T = nt(e, t, r,
|
|
3645
|
+
var T = nt(e, t, r, k, w);
|
|
3646
3646
|
if (T == null)
|
|
3647
3647
|
return T;
|
|
3648
3648
|
if (m) {
|
|
@@ -3659,7 +3659,7 @@ Check the top-level render call using <` + r + ">.");
|
|
|
3659
3659
|
Ae(Y, e);
|
|
3660
3660
|
}
|
|
3661
3661
|
if (ee.call(t, "key")) {
|
|
3662
|
-
var J =
|
|
3662
|
+
var J = g(e), L = Object.keys(t).filter(function(mt) {
|
|
3663
3663
|
return mt !== "key";
|
|
3664
3664
|
}), ve = L.length > 0 ? "{key: someKey, " + L.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
3665
3665
|
if (!$e[J + ve]) {
|
|
@@ -3784,15 +3784,15 @@ var Wt;
|
|
|
3784
3784
|
function zr() {
|
|
3785
3785
|
if (Wt) return ht;
|
|
3786
3786
|
Wt = 1;
|
|
3787
|
-
var a = R, o = Symbol.for("react.element"), i = Symbol.for("react.fragment"), c = Object.prototype.hasOwnProperty,
|
|
3788
|
-
function C
|
|
3787
|
+
var a = R, o = Symbol.for("react.element"), i = Symbol.for("react.fragment"), c = Object.prototype.hasOwnProperty, d = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, y = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
3788
|
+
function x(C, l, v) {
|
|
3789
3789
|
var n, s = {}, b = null, j = null;
|
|
3790
|
-
|
|
3791
|
-
for (n in l) c.call(l, n) && !
|
|
3792
|
-
if (
|
|
3793
|
-
return { $$typeof: o, type:
|
|
3790
|
+
v !== void 0 && (b = "" + v), l.key !== void 0 && (b = "" + l.key), l.ref !== void 0 && (j = l.ref);
|
|
3791
|
+
for (n in l) c.call(l, n) && !y.hasOwnProperty(n) && (s[n] = l[n]);
|
|
3792
|
+
if (C && C.defaultProps) for (n in l = C.defaultProps, l) s[n] === void 0 && (s[n] = l[n]);
|
|
3793
|
+
return { $$typeof: o, type: C, key: b, ref: j, props: s, _owner: d.current };
|
|
3794
3794
|
}
|
|
3795
|
-
return ht.Fragment = i, ht.jsx =
|
|
3795
|
+
return ht.Fragment = i, ht.jsx = x, ht.jsxs = x, ht;
|
|
3796
3796
|
}
|
|
3797
3797
|
var bt = {};
|
|
3798
3798
|
/**
|
|
@@ -3807,7 +3807,7 @@ var bt = {};
|
|
|
3807
3807
|
var Ut;
|
|
3808
3808
|
function Hr() {
|
|
3809
3809
|
return Ut || (Ut = 1, process.env.NODE_ENV !== "production" && function() {
|
|
3810
|
-
var a = R, o = Symbol.for("react.element"), i = Symbol.for("react.portal"), c = Symbol.for("react.fragment"),
|
|
3810
|
+
var a = R, o = Symbol.for("react.element"), i = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), d = Symbol.for("react.strict_mode"), y = Symbol.for("react.profiler"), x = Symbol.for("react.provider"), C = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), v = Symbol.for("react.suspense"), n = Symbol.for("react.suspense_list"), s = Symbol.for("react.memo"), b = Symbol.for("react.lazy"), j = Symbol.for("react.offscreen"), F = Symbol.iterator, U = "@@iterator";
|
|
3811
3811
|
function D(e) {
|
|
3812
3812
|
if (e === null || typeof e != "object")
|
|
3813
3813
|
return null;
|
|
@@ -3824,18 +3824,18 @@ function Hr() {
|
|
|
3824
3824
|
}
|
|
3825
3825
|
function P(e, t, r) {
|
|
3826
3826
|
{
|
|
3827
|
-
var _ = O.ReactDebugCurrentFrame,
|
|
3828
|
-
|
|
3829
|
-
var
|
|
3827
|
+
var _ = O.ReactDebugCurrentFrame, k = _.getStackAddendum();
|
|
3828
|
+
k !== "" && (t += "%s", r = r.concat([k]));
|
|
3829
|
+
var w = r.map(function(m) {
|
|
3830
3830
|
return String(m);
|
|
3831
3831
|
});
|
|
3832
|
-
|
|
3832
|
+
w.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, w);
|
|
3833
3833
|
}
|
|
3834
3834
|
}
|
|
3835
|
-
var K = !1, I = !1,
|
|
3835
|
+
var K = !1, I = !1, A = !1, q = !1, W = !1, N;
|
|
3836
3836
|
N = Symbol.for("react.module.reference");
|
|
3837
3837
|
function E(e) {
|
|
3838
|
-
return !!(typeof e == "string" || typeof e == "function" || e === c || e ===
|
|
3838
|
+
return !!(typeof e == "string" || typeof e == "function" || e === c || e === y || W || e === d || e === v || e === n || q || e === j || K || I || A || typeof e == "object" && e !== null && (e.$$typeof === b || e.$$typeof === s || e.$$typeof === x || e.$$typeof === C || e.$$typeof === l || // This needs to include all possible module reference object
|
|
3839
3839
|
// types supported by any Flight configuration anywhere since
|
|
3840
3840
|
// we don't know which Flight build this will end up being used
|
|
3841
3841
|
// with.
|
|
@@ -3845,13 +3845,13 @@ function Hr() {
|
|
|
3845
3845
|
var _ = e.displayName;
|
|
3846
3846
|
if (_)
|
|
3847
3847
|
return _;
|
|
3848
|
-
var
|
|
3849
|
-
return
|
|
3848
|
+
var k = t.displayName || t.name || "";
|
|
3849
|
+
return k !== "" ? r + "(" + k + ")" : r;
|
|
3850
3850
|
}
|
|
3851
|
-
function
|
|
3851
|
+
function h(e) {
|
|
3852
3852
|
return e.displayName || "Context";
|
|
3853
3853
|
}
|
|
3854
|
-
function
|
|
3854
|
+
function g(e) {
|
|
3855
3855
|
if (e == null)
|
|
3856
3856
|
return null;
|
|
3857
3857
|
if (typeof e.tag == "number" && p("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
@@ -3863,32 +3863,32 @@ function Hr() {
|
|
|
3863
3863
|
return "Fragment";
|
|
3864
3864
|
case i:
|
|
3865
3865
|
return "Portal";
|
|
3866
|
-
case
|
|
3866
|
+
case y:
|
|
3867
3867
|
return "Profiler";
|
|
3868
|
-
case
|
|
3868
|
+
case d:
|
|
3869
3869
|
return "StrictMode";
|
|
3870
|
-
case
|
|
3870
|
+
case v:
|
|
3871
3871
|
return "Suspense";
|
|
3872
3872
|
case n:
|
|
3873
3873
|
return "SuspenseList";
|
|
3874
3874
|
}
|
|
3875
3875
|
if (typeof e == "object")
|
|
3876
3876
|
switch (e.$$typeof) {
|
|
3877
|
-
case w:
|
|
3878
|
-
var t = e;
|
|
3879
|
-
return g(t) + ".Consumer";
|
|
3880
3877
|
case C:
|
|
3878
|
+
var t = e;
|
|
3879
|
+
return h(t) + ".Consumer";
|
|
3880
|
+
case x:
|
|
3881
3881
|
var r = e;
|
|
3882
|
-
return
|
|
3882
|
+
return h(r._context) + ".Provider";
|
|
3883
3883
|
case l:
|
|
3884
3884
|
return G(e, e.render, "ForwardRef");
|
|
3885
3885
|
case s:
|
|
3886
3886
|
var _ = e.displayName || null;
|
|
3887
|
-
return _ !== null ? _ :
|
|
3887
|
+
return _ !== null ? _ : g(e.type) || "Memo";
|
|
3888
3888
|
case b: {
|
|
3889
|
-
var
|
|
3889
|
+
var k = e, w = k._payload, m = k._init;
|
|
3890
3890
|
try {
|
|
3891
|
-
return
|
|
3891
|
+
return g(m(w));
|
|
3892
3892
|
} catch {
|
|
3893
3893
|
return null;
|
|
3894
3894
|
}
|
|
@@ -3964,8 +3964,8 @@ function Hr() {
|
|
|
3964
3964
|
if (de === void 0)
|
|
3965
3965
|
try {
|
|
3966
3966
|
throw Error();
|
|
3967
|
-
} catch (
|
|
3968
|
-
var _ =
|
|
3967
|
+
} catch (k) {
|
|
3968
|
+
var _ = k.stack.trim().match(/\n( *(at )?)/);
|
|
3969
3969
|
de = _ && _[1] || "";
|
|
3970
3970
|
}
|
|
3971
3971
|
return `
|
|
@@ -3987,10 +3987,10 @@ function Hr() {
|
|
|
3987
3987
|
}
|
|
3988
3988
|
var _;
|
|
3989
3989
|
ue = !0;
|
|
3990
|
-
var
|
|
3990
|
+
var k = Error.prepareStackTrace;
|
|
3991
3991
|
Error.prepareStackTrace = void 0;
|
|
3992
|
-
var
|
|
3993
|
-
|
|
3992
|
+
var w;
|
|
3993
|
+
w = ce.current, ce.current = null, Ue();
|
|
3994
3994
|
try {
|
|
3995
3995
|
if (t) {
|
|
3996
3996
|
var m = function() {
|
|
@@ -4025,17 +4025,17 @@ function Hr() {
|
|
|
4025
4025
|
}
|
|
4026
4026
|
} catch (L) {
|
|
4027
4027
|
if (L && _ && typeof L.stack == "string") {
|
|
4028
|
-
for (var
|
|
4029
|
-
`),
|
|
4030
|
-
`), S =
|
|
4028
|
+
for (var u = L.stack.split(`
|
|
4029
|
+
`), $ = _.stack.split(`
|
|
4030
|
+
`), S = u.length - 1, T = $.length - 1; S >= 1 && T >= 0 && u[S] !== $[T]; )
|
|
4031
4031
|
T--;
|
|
4032
4032
|
for (; S >= 1 && T >= 0; S--, T--)
|
|
4033
|
-
if (
|
|
4033
|
+
if (u[S] !== $[T]) {
|
|
4034
4034
|
if (S !== 1 || T !== 1)
|
|
4035
4035
|
do
|
|
4036
|
-
if (S--, T--, T < 0 ||
|
|
4036
|
+
if (S--, T--, T < 0 || u[S] !== $[T]) {
|
|
4037
4037
|
var Y = `
|
|
4038
|
-
` +
|
|
4038
|
+
` + u[S].replace(" at new ", " at ");
|
|
4039
4039
|
return e.displayName && Y.includes("<anonymous>") && (Y = Y.replace("<anonymous>", e.displayName)), typeof e == "function" && oe.set(e, Y), Y;
|
|
4040
4040
|
}
|
|
4041
4041
|
while (S >= 1 && T >= 0);
|
|
@@ -4043,7 +4043,7 @@ function Hr() {
|
|
|
4043
4043
|
}
|
|
4044
4044
|
}
|
|
4045
4045
|
} finally {
|
|
4046
|
-
ue = !1, ce.current =
|
|
4046
|
+
ue = !1, ce.current = w, qe(), Error.prepareStackTrace = k;
|
|
4047
4047
|
}
|
|
4048
4048
|
var X = e ? e.displayName || e.name : "", J = X ? ne(X) : "";
|
|
4049
4049
|
return typeof e == "function" && oe.set(e, J), J;
|
|
@@ -4063,7 +4063,7 @@ function Hr() {
|
|
|
4063
4063
|
if (typeof e == "string")
|
|
4064
4064
|
return ne(e);
|
|
4065
4065
|
switch (e) {
|
|
4066
|
-
case
|
|
4066
|
+
case v:
|
|
4067
4067
|
return ne("Suspense");
|
|
4068
4068
|
case n:
|
|
4069
4069
|
return ne("SuspenseList");
|
|
@@ -4075,9 +4075,9 @@ function Hr() {
|
|
|
4075
4075
|
case s:
|
|
4076
4076
|
return _e(e.type, t, r);
|
|
4077
4077
|
case b: {
|
|
4078
|
-
var _ = e,
|
|
4078
|
+
var _ = e, k = _._payload, w = _._init;
|
|
4079
4079
|
try {
|
|
4080
|
-
return _e(
|
|
4080
|
+
return _e(w(k), t, r);
|
|
4081
4081
|
} catch {
|
|
4082
4082
|
}
|
|
4083
4083
|
}
|
|
@@ -4092,22 +4092,22 @@ function Hr() {
|
|
|
4092
4092
|
} else
|
|
4093
4093
|
Se.setExtraStackFrame(null);
|
|
4094
4094
|
}
|
|
4095
|
-
function ze(e, t, r, _,
|
|
4095
|
+
function ze(e, t, r, _, k) {
|
|
4096
4096
|
{
|
|
4097
|
-
var
|
|
4097
|
+
var w = Function.call.bind(ee);
|
|
4098
4098
|
for (var m in e)
|
|
4099
|
-
if (
|
|
4100
|
-
var
|
|
4099
|
+
if (w(e, m)) {
|
|
4100
|
+
var u = void 0;
|
|
4101
4101
|
try {
|
|
4102
4102
|
if (typeof e[m] != "function") {
|
|
4103
|
-
var
|
|
4104
|
-
throw
|
|
4103
|
+
var $ = Error((_ || "React class") + ": " + r + " type `" + m + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[m] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
4104
|
+
throw $.name = "Invariant Violation", $;
|
|
4105
4105
|
}
|
|
4106
|
-
|
|
4106
|
+
u = e[m](t, m, _, r, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
4107
4107
|
} catch (S) {
|
|
4108
|
-
|
|
4108
|
+
u = S;
|
|
4109
4109
|
}
|
|
4110
|
-
|
|
4110
|
+
u && !(u instanceof Error) && (ie(k), 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).", _ || "React class", r, m, typeof u), ie(null)), u instanceof Error && !(u.message in Ee) && (Ee[u.message] = !0, ie(k), p("Failed %s type: %s", r, u.message), ie(null));
|
|
4111
4111
|
}
|
|
4112
4112
|
}
|
|
4113
4113
|
}
|
|
@@ -4182,8 +4182,8 @@ function Hr() {
|
|
|
4182
4182
|
});
|
|
4183
4183
|
}
|
|
4184
4184
|
}
|
|
4185
|
-
var at = function(e, t, r, _,
|
|
4186
|
-
var
|
|
4185
|
+
var at = function(e, t, r, _, k, w, m) {
|
|
4186
|
+
var u = {
|
|
4187
4187
|
// This tag allows us to uniquely identify this as a React Element
|
|
4188
4188
|
$$typeof: o,
|
|
4189
4189
|
// Built-in properties that belong on the element
|
|
@@ -4192,41 +4192,41 @@ function Hr() {
|
|
|
4192
4192
|
ref: r,
|
|
4193
4193
|
props: m,
|
|
4194
4194
|
// Record the component responsible for creating this element.
|
|
4195
|
-
_owner:
|
|
4195
|
+
_owner: w
|
|
4196
4196
|
};
|
|
4197
|
-
return
|
|
4197
|
+
return u._store = {}, Object.defineProperty(u._store, "validated", {
|
|
4198
4198
|
configurable: !1,
|
|
4199
4199
|
enumerable: !1,
|
|
4200
4200
|
writable: !0,
|
|
4201
4201
|
value: !1
|
|
4202
|
-
}), Object.defineProperty(
|
|
4202
|
+
}), Object.defineProperty(u, "_self", {
|
|
4203
4203
|
configurable: !1,
|
|
4204
4204
|
enumerable: !1,
|
|
4205
4205
|
writable: !1,
|
|
4206
4206
|
value: _
|
|
4207
|
-
}), Object.defineProperty(
|
|
4207
|
+
}), Object.defineProperty(u, "_source", {
|
|
4208
4208
|
configurable: !1,
|
|
4209
4209
|
enumerable: !1,
|
|
4210
4210
|
writable: !1,
|
|
4211
|
-
value:
|
|
4212
|
-
}), Object.freeze && (Object.freeze(
|
|
4211
|
+
value: k
|
|
4212
|
+
}), Object.freeze && (Object.freeze(u.props), Object.freeze(u)), u;
|
|
4213
4213
|
};
|
|
4214
|
-
function nt(e, t, r, _,
|
|
4214
|
+
function nt(e, t, r, _, k) {
|
|
4215
4215
|
{
|
|
4216
|
-
var
|
|
4217
|
-
r !== void 0 && (Te(r),
|
|
4218
|
-
for (
|
|
4219
|
-
ee.call(t,
|
|
4216
|
+
var w, m = {}, u = null, $ = null;
|
|
4217
|
+
r !== void 0 && (Te(r), u = "" + r), Qe(t) && (Te(t.key), u = "" + t.key), Xe(t) && ($ = t.ref, et(t));
|
|
4218
|
+
for (w in t)
|
|
4219
|
+
ee.call(t, w) && !Ve.hasOwnProperty(w) && (m[w] = t[w]);
|
|
4220
4220
|
if (e && e.defaultProps) {
|
|
4221
4221
|
var S = e.defaultProps;
|
|
4222
|
-
for (
|
|
4223
|
-
m[
|
|
4222
|
+
for (w in S)
|
|
4223
|
+
m[w] === void 0 && (m[w] = S[w]);
|
|
4224
4224
|
}
|
|
4225
|
-
if (
|
|
4225
|
+
if (u || $) {
|
|
4226
4226
|
var T = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
4227
|
-
|
|
4227
|
+
u && tt(m, T), $ && rt(m, T);
|
|
4228
4228
|
}
|
|
4229
|
-
return at(e,
|
|
4229
|
+
return at(e, u, $, k, _, Oe.current, m);
|
|
4230
4230
|
}
|
|
4231
4231
|
}
|
|
4232
4232
|
var me = O.ReactCurrentOwner, Ne = O.ReactDebugCurrentFrame;
|
|
@@ -4245,7 +4245,7 @@ function Hr() {
|
|
|
4245
4245
|
function Fe() {
|
|
4246
4246
|
{
|
|
4247
4247
|
if (me.current) {
|
|
4248
|
-
var e =
|
|
4248
|
+
var e = g(me.current.type);
|
|
4249
4249
|
if (e)
|
|
4250
4250
|
return `
|
|
4251
4251
|
|
|
@@ -4280,7 +4280,7 @@ Check the top-level render call using <` + r + ">.");
|
|
|
4280
4280
|
return;
|
|
4281
4281
|
Me[r] = !0;
|
|
4282
4282
|
var _ = "";
|
|
4283
|
-
e && e._owner && e._owner !== me.current && (_ = " It was passed a child from " +
|
|
4283
|
+
e && e._owner && e._owner !== me.current && (_ = " It was passed a child from " + g(e._owner.type) + "."), V(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, _), V(null);
|
|
4284
4284
|
}
|
|
4285
4285
|
}
|
|
4286
4286
|
function Ae(e, t) {
|
|
@@ -4295,9 +4295,9 @@ Check the top-level render call using <` + r + ">.");
|
|
|
4295
4295
|
else if (ye(e))
|
|
4296
4296
|
e._store && (e._store.validated = !0);
|
|
4297
4297
|
else if (e) {
|
|
4298
|
-
var
|
|
4299
|
-
if (typeof
|
|
4300
|
-
for (var
|
|
4298
|
+
var k = D(e);
|
|
4299
|
+
if (typeof k == "function" && k !== e.entries)
|
|
4300
|
+
for (var w = k.call(e), m; !(m = w.next()).done; )
|
|
4301
4301
|
ye(m.value) && Ie(m.value, t);
|
|
4302
4302
|
}
|
|
4303
4303
|
}
|
|
@@ -4317,12 +4317,12 @@ Check the top-level render call using <` + r + ">.");
|
|
|
4317
4317
|
else
|
|
4318
4318
|
return;
|
|
4319
4319
|
if (r) {
|
|
4320
|
-
var _ =
|
|
4320
|
+
var _ = g(t);
|
|
4321
4321
|
ze(r, e.props, "prop", _, e);
|
|
4322
4322
|
} else if (t.PropTypes !== void 0 && !pe) {
|
|
4323
4323
|
pe = !0;
|
|
4324
|
-
var
|
|
4325
|
-
p("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",
|
|
4324
|
+
var k = g(t);
|
|
4325
|
+
p("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", k || "Unknown");
|
|
4326
4326
|
}
|
|
4327
4327
|
typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && p("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
4328
4328
|
}
|
|
@@ -4340,18 +4340,18 @@ Check the top-level render call using <` + r + ">.");
|
|
|
4340
4340
|
}
|
|
4341
4341
|
}
|
|
4342
4342
|
var $e = {};
|
|
4343
|
-
function Be(e, t, r, _,
|
|
4343
|
+
function Be(e, t, r, _, k, w) {
|
|
4344
4344
|
{
|
|
4345
4345
|
var m = E(e);
|
|
4346
4346
|
if (!m) {
|
|
4347
|
-
var
|
|
4348
|
-
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (
|
|
4349
|
-
var
|
|
4350
|
-
|
|
4347
|
+
var u = "";
|
|
4348
|
+
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (u += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
4349
|
+
var $ = ot();
|
|
4350
|
+
$ ? u += $ : u += Fe();
|
|
4351
4351
|
var S;
|
|
4352
|
-
e === null ? S = "null" : fe(e) ? S = "array" : e !== void 0 && e.$$typeof === o ? (S = "<" + (
|
|
4352
|
+
e === null ? S = "null" : fe(e) ? S = "array" : e !== void 0 && e.$$typeof === o ? (S = "<" + (g(e.type) || "Unknown") + " />", u = " Did you accidentally export a JSX literal instead of a component?") : S = 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", S, u);
|
|
4353
4353
|
}
|
|
4354
|
-
var T = nt(e, t, r,
|
|
4354
|
+
var T = nt(e, t, r, k, w);
|
|
4355
4355
|
if (T == null)
|
|
4356
4356
|
return T;
|
|
4357
4357
|
if (m) {
|
|
@@ -4368,7 +4368,7 @@ Check the top-level render call using <` + r + ">.");
|
|
|
4368
4368
|
Ae(Y, e);
|
|
4369
4369
|
}
|
|
4370
4370
|
if (ee.call(t, "key")) {
|
|
4371
|
-
var J =
|
|
4371
|
+
var J = g(e), L = Object.keys(t).filter(function(mt) {
|
|
4372
4372
|
return mt !== "key";
|
|
4373
4373
|
}), ve = L.length > 0 ? "{key: someKey, " + L.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
4374
4374
|
if (!$e[J + ve]) {
|
|
@@ -4410,12 +4410,12 @@ const Jr = "_btn_1k1b3_1", Zr = "_confirm_1k1b3_15", Vr = "_cancel_1k1b3_20", Xr
|
|
|
4410
4410
|
onSend: o,
|
|
4411
4411
|
size: i = "m",
|
|
4412
4412
|
view: c = "confirm",
|
|
4413
|
-
children:
|
|
4414
|
-
isDisabled:
|
|
4415
|
-
className:
|
|
4416
|
-
after:
|
|
4413
|
+
children: d,
|
|
4414
|
+
isDisabled: y = !1,
|
|
4415
|
+
className: x,
|
|
4416
|
+
after: C,
|
|
4417
4417
|
before: l,
|
|
4418
|
-
label:
|
|
4418
|
+
label: v,
|
|
4419
4419
|
onRef: n,
|
|
4420
4420
|
awaitText: s = "Ожидайте"
|
|
4421
4421
|
}) => {
|
|
@@ -4425,7 +4425,7 @@ const Jr = "_btn_1k1b3_1", Zr = "_confirm_1k1b3_15", Vr = "_cancel_1k1b3_20", Xr
|
|
|
4425
4425
|
b || (o ? (j(!0), o(j)) : D.preventDefault());
|
|
4426
4426
|
};
|
|
4427
4427
|
let U = {};
|
|
4428
|
-
return (
|
|
4428
|
+
return (y || b) && (U.disabled = !0), /* @__PURE__ */ St.jsx(
|
|
4429
4429
|
"button",
|
|
4430
4430
|
{
|
|
4431
4431
|
...U,
|
|
@@ -4434,16 +4434,16 @@ const Jr = "_btn_1k1b3_1", Zr = "_confirm_1k1b3_15", Vr = "_cancel_1k1b3_20", Xr
|
|
|
4434
4434
|
wt.btn,
|
|
4435
4435
|
b ? wt.disabled : wt[c],
|
|
4436
4436
|
i && wt[i],
|
|
4437
|
-
|
|
4437
|
+
x
|
|
4438
4438
|
].filter((D) => D != "").join(" "),
|
|
4439
4439
|
onClick: F,
|
|
4440
4440
|
children: b ? s : /* @__PURE__ */ St.jsxs(St.Fragment, { children: [
|
|
4441
4441
|
l || "",
|
|
4442
4442
|
" ",
|
|
4443
|
-
|
|
4443
|
+
v,
|
|
4444
4444
|
" ",
|
|
4445
|
-
|
|
4446
|
-
] }) ||
|
|
4445
|
+
C || ""
|
|
4446
|
+
] }) || d
|
|
4447
4447
|
}
|
|
4448
4448
|
);
|
|
4449
4449
|
};
|
|
@@ -4478,7 +4478,7 @@ var jt;
|
|
|
4478
4478
|
});
|
|
4479
4479
|
}
|
|
4480
4480
|
a.Open = c;
|
|
4481
|
-
function
|
|
4481
|
+
function d({ type: n, name: s, params: b }) {
|
|
4482
4482
|
let [j, F] = R.useState(null);
|
|
4483
4483
|
return R.useEffect(() => {
|
|
4484
4484
|
ge.i ? ge.i(`${n}/modal/${s}.tsx`).then((U) => {
|
|
@@ -4488,23 +4488,23 @@ var jt;
|
|
|
4488
4488
|
});
|
|
4489
4489
|
}, [b.id]), /* @__PURE__ */ z.jsx(z.Fragment, { children: j });
|
|
4490
4490
|
}
|
|
4491
|
-
a.Icon =
|
|
4492
|
-
function
|
|
4491
|
+
a.Icon = d;
|
|
4492
|
+
function y(n, s) {
|
|
4493
4493
|
ge.add(/* @__PURE__ */ z.jsx(aa, { children: n }, String(Date.now())), s);
|
|
4494
4494
|
}
|
|
4495
|
-
a.Add =
|
|
4496
|
-
function
|
|
4495
|
+
a.Add = y;
|
|
4496
|
+
function x(n) {
|
|
4497
4497
|
ge.x(n);
|
|
4498
4498
|
}
|
|
4499
|
-
a.Close =
|
|
4500
|
-
function
|
|
4499
|
+
a.Close = x;
|
|
4500
|
+
function C(n) {
|
|
4501
4501
|
if (n.target.classList[0] !== "modal") return;
|
|
4502
4502
|
let s = n.target.children[0];
|
|
4503
4503
|
s.setAttribute("shake", !0), setTimeout(() => {
|
|
4504
4504
|
s.setAttribute("shake", !1);
|
|
4505
4505
|
}, 1e3);
|
|
4506
4506
|
}
|
|
4507
|
-
a.Shake =
|
|
4507
|
+
a.Shake = C;
|
|
4508
4508
|
function l(n, s) {
|
|
4509
4509
|
const b = (j) => {
|
|
4510
4510
|
a.Add(
|
|
@@ -4517,7 +4517,7 @@ var jt;
|
|
|
4517
4517
|
};
|
|
4518
4518
|
}
|
|
4519
4519
|
a.Create = l;
|
|
4520
|
-
function
|
|
4520
|
+
function v({
|
|
4521
4521
|
title: n,
|
|
4522
4522
|
children: s,
|
|
4523
4523
|
button: b,
|
|
@@ -4537,14 +4537,14 @@ var jt;
|
|
|
4537
4537
|
disabled: q
|
|
4538
4538
|
});
|
|
4539
4539
|
}
|
|
4540
|
-
},
|
|
4540
|
+
}, A = () => {
|
|
4541
4541
|
if (!D) return P(!1);
|
|
4542
4542
|
K.current.setAttribute("shake", !0), setTimeout(() => {
|
|
4543
4543
|
K.current.setAttribute("shake", !1);
|
|
4544
4544
|
}, 1e3);
|
|
4545
4545
|
};
|
|
4546
4546
|
return p ? /* @__PURE__ */ z.jsxs("div", { className: `${re.modal}`, children: [
|
|
4547
|
-
/* @__PURE__ */ z.jsx("div", { className: re.o, onClick:
|
|
4547
|
+
/* @__PURE__ */ z.jsx("div", { className: re.o, onClick: A }),
|
|
4548
4548
|
/* @__PURE__ */ z.jsxs(
|
|
4549
4549
|
"div",
|
|
4550
4550
|
{
|
|
@@ -4600,7 +4600,7 @@ var jt;
|
|
|
4600
4600
|
)
|
|
4601
4601
|
] }) : "";
|
|
4602
4602
|
}
|
|
4603
|
-
a.Main =
|
|
4603
|
+
a.Main = v;
|
|
4604
4604
|
})(jt || (jt = {}));
|
|
4605
4605
|
const na = (a, o = ",") => (a = a !== void 0 && a !== "" ? a.split(o) : [], a.filter((i) => i !== "").reduce((i, c) => (i[c] = !0, i), {}));
|
|
4606
4606
|
function ba({
|
|
@@ -4608,20 +4608,20 @@ function ba({
|
|
|
4608
4608
|
onValue: o,
|
|
4609
4609
|
name: i,
|
|
4610
4610
|
placeholder: c = "",
|
|
4611
|
-
separator:
|
|
4612
|
-
title:
|
|
4613
|
-
error:
|
|
4614
|
-
hide:
|
|
4611
|
+
separator: d = ",",
|
|
4612
|
+
title: y,
|
|
4613
|
+
error: x,
|
|
4614
|
+
hide: C = !1,
|
|
4615
4615
|
edit: l = !0,
|
|
4616
|
-
active:
|
|
4616
|
+
active: v = !0,
|
|
4617
4617
|
outFormat: n = "object",
|
|
4618
4618
|
after: s = "",
|
|
4619
4619
|
modal: b,
|
|
4620
4620
|
options: j,
|
|
4621
4621
|
className: F
|
|
4622
4622
|
}) {
|
|
4623
|
-
const [U, D] = R.useState(na(a,
|
|
4624
|
-
if (!(l &&
|
|
4623
|
+
const [U, D] = R.useState(na(a, d)), O = (p) => {
|
|
4624
|
+
if (!(l && v) || !b) return;
|
|
4625
4625
|
let P = b.split(".");
|
|
4626
4626
|
jt.Open(P[0], P[1], {
|
|
4627
4627
|
callback: (K) => {
|
|
@@ -4632,7 +4632,7 @@ function ba({
|
|
|
4632
4632
|
break;
|
|
4633
4633
|
case "string":
|
|
4634
4634
|
o({
|
|
4635
|
-
value: Object.keys(K).filter((I) => K[I]).join(
|
|
4635
|
+
value: Object.keys(K).filter((I) => K[I]).join(d),
|
|
4636
4636
|
name: i
|
|
4637
4637
|
});
|
|
4638
4638
|
break;
|
|
@@ -4642,7 +4642,7 @@ function ba({
|
|
|
4642
4642
|
D(
|
|
4643
4643
|
Object.fromEntries(
|
|
4644
4644
|
Object.entries(K).filter(
|
|
4645
|
-
([I,
|
|
4645
|
+
([I, A]) => A !== !1
|
|
4646
4646
|
)
|
|
4647
4647
|
)
|
|
4648
4648
|
);
|
|
@@ -4653,12 +4653,12 @@ function ba({
|
|
|
4653
4653
|
value: U
|
|
4654
4654
|
});
|
|
4655
4655
|
};
|
|
4656
|
-
return
|
|
4656
|
+
return C ? /* @__PURE__ */ f.jsx(f.Fragment, {}) : /* @__PURE__ */ f.jsx(
|
|
4657
4657
|
he,
|
|
4658
4658
|
{
|
|
4659
4659
|
type: "group",
|
|
4660
|
-
title:
|
|
4661
|
-
error:
|
|
4660
|
+
title: y,
|
|
4661
|
+
error: x,
|
|
4662
4662
|
element_blok: { className: [F] },
|
|
4663
4663
|
element_input: {
|
|
4664
4664
|
className: [Q.g],
|
|
@@ -4683,12 +4683,12 @@ function wa({
|
|
|
4683
4683
|
error: o,
|
|
4684
4684
|
edit: i = !0,
|
|
4685
4685
|
active: c = !0,
|
|
4686
|
-
hide:
|
|
4687
|
-
value:
|
|
4688
|
-
onValue:
|
|
4689
|
-
options:
|
|
4686
|
+
hide: d,
|
|
4687
|
+
value: y = 0,
|
|
4688
|
+
onValue: x,
|
|
4689
|
+
options: C,
|
|
4690
4690
|
placeholder: l = "",
|
|
4691
|
-
className:
|
|
4691
|
+
className: v,
|
|
4692
4692
|
isIcon: n = !0,
|
|
4693
4693
|
name: s,
|
|
4694
4694
|
after: b,
|
|
@@ -4696,10 +4696,10 @@ function wa({
|
|
|
4696
4696
|
order: F,
|
|
4697
4697
|
isReload: U = !1
|
|
4698
4698
|
}) {
|
|
4699
|
-
const D = R.useRef(null), [O, p] = R.useState(
|
|
4699
|
+
const D = R.useRef(null), [O, p] = R.useState(y), [P, K] = R.useState(C), [I, A] = R.useState(!1);
|
|
4700
4700
|
R.useEffect(() => {
|
|
4701
|
-
p(
|
|
4702
|
-
}, [
|
|
4701
|
+
p(y), K(C), A(!1);
|
|
4702
|
+
}, [y, C]);
|
|
4703
4703
|
const q = Array.isArray(P), W = q ? P.length : Object.keys(P || {}).length, N = (M) => {
|
|
4704
4704
|
var B;
|
|
4705
4705
|
if (q) {
|
|
@@ -4710,26 +4710,26 @@ function wa({
|
|
|
4710
4710
|
} else
|
|
4711
4711
|
return (B = P == null ? void 0 : P[M]) == null ? void 0 : B.n;
|
|
4712
4712
|
};
|
|
4713
|
-
|
|
4713
|
+
d = !!(d && (y === 0 || N(y) === void 0)) && !(i && c);
|
|
4714
4714
|
const G = (M) => {
|
|
4715
|
-
p(M),
|
|
4716
|
-
},
|
|
4717
|
-
W !== 0 && i && c && (D.position = D.current.getBoundingClientRect(),
|
|
4718
|
-
},
|
|
4719
|
-
return l && (
|
|
4715
|
+
p(M), x && x({ value: M, name: s, reload: U });
|
|
4716
|
+
}, h = (M) => {
|
|
4717
|
+
W !== 0 && i && c && (D.position = D.current.getBoundingClientRect(), A(!0));
|
|
4718
|
+
}, g = {};
|
|
4719
|
+
return l && (g.placeholder = l), d ? "" : /* @__PURE__ */ f.jsxs(f.Fragment, { children: [
|
|
4720
4720
|
/* @__PURE__ */ f.jsx(
|
|
4721
4721
|
he,
|
|
4722
4722
|
{
|
|
4723
4723
|
type: "select",
|
|
4724
4724
|
title: a,
|
|
4725
|
-
element_blok: { className: [
|
|
4725
|
+
element_blok: { className: [v] },
|
|
4726
4726
|
error: o,
|
|
4727
4727
|
element_input: {
|
|
4728
4728
|
className: [Dt.f],
|
|
4729
|
-
props: { onClick:
|
|
4729
|
+
props: { onClick: h }
|
|
4730
4730
|
},
|
|
4731
4731
|
ref: D,
|
|
4732
|
-
children: /* @__PURE__ */ f.jsx("div", { ...
|
|
4732
|
+
children: /* @__PURE__ */ f.jsx("div", { ...g, children: N(O) || l || "" })
|
|
4733
4733
|
}
|
|
4734
4734
|
),
|
|
4735
4735
|
I && Nt(
|
|
@@ -4739,10 +4739,10 @@ function wa({
|
|
|
4739
4739
|
parent: D.position,
|
|
4740
4740
|
onValue: G,
|
|
4741
4741
|
view: j,
|
|
4742
|
-
className:
|
|
4742
|
+
className: v,
|
|
4743
4743
|
options: P,
|
|
4744
4744
|
order: F,
|
|
4745
|
-
setOpen:
|
|
4745
|
+
setOpen: A
|
|
4746
4746
|
},
|
|
4747
4747
|
(/* @__PURE__ */ new Date()).getTime()
|
|
4748
4748
|
),
|
|
@@ -4755,20 +4755,20 @@ const sa = ({
|
|
|
4755
4755
|
parent: o,
|
|
4756
4756
|
className: i,
|
|
4757
4757
|
options: c,
|
|
4758
|
-
order:
|
|
4759
|
-
setOpen:
|
|
4758
|
+
order: d,
|
|
4759
|
+
setOpen: y
|
|
4760
4760
|
}) => {
|
|
4761
|
-
let
|
|
4762
|
-
|
|
4763
|
-
},
|
|
4764
|
-
|
|
4765
|
-
}, l = window.innerHeight - o.y + o.height < 320 ? o.y - 312 : o.y + 33,
|
|
4761
|
+
let x = () => {
|
|
4762
|
+
y(!1);
|
|
4763
|
+
}, C = (n) => {
|
|
4764
|
+
y(!1), a(n);
|
|
4765
|
+
}, l = window.innerHeight - o.y + o.height < 320 ? o.y - 312 : o.y + 33, v = window.innerWidth - o.x < 265 ? o.x - 235 : o.x;
|
|
4766
4766
|
return /* @__PURE__ */ f.jsxs(f.Fragment, { children: [
|
|
4767
4767
|
/* @__PURE__ */ f.jsx(
|
|
4768
4768
|
"div",
|
|
4769
4769
|
{
|
|
4770
4770
|
className: Dt.o,
|
|
4771
|
-
onClick:
|
|
4771
|
+
onClick: x
|
|
4772
4772
|
},
|
|
4773
4773
|
(/* @__PURE__ */ new Date()).getTime()
|
|
4774
4774
|
),
|
|
@@ -4778,83 +4778,85 @@ const sa = ({
|
|
|
4778
4778
|
className: [Dt.l, i].filter((n) => n !== void 0).join(" "),
|
|
4779
4779
|
style: {
|
|
4780
4780
|
top: l + "px",
|
|
4781
|
-
left:
|
|
4781
|
+
left: v + "px",
|
|
4782
4782
|
width: o.width
|
|
4783
4783
|
},
|
|
4784
|
-
children: /* @__PURE__ */ f.jsx(la, { order:
|
|
4784
|
+
children: /* @__PURE__ */ f.jsx(la, { order: d, options: c, link: C })
|
|
4785
4785
|
}
|
|
4786
4786
|
)
|
|
4787
4787
|
] });
|
|
4788
4788
|
}, la = ({ order: a, options: o, link: i }) => {
|
|
4789
4789
|
if (Array.isArray(o)) {
|
|
4790
|
-
const
|
|
4791
|
-
return a ? /* @__PURE__ */ f.jsx("ul", { children: a.map((
|
|
4792
|
-
const
|
|
4793
|
-
(l) => (l.id || l.i) ===
|
|
4790
|
+
const d = o;
|
|
4791
|
+
return a ? /* @__PURE__ */ f.jsx("ul", { children: a.map((y) => {
|
|
4792
|
+
const x = d.find(
|
|
4793
|
+
(l) => (l.id || l.i) === y
|
|
4794
4794
|
);
|
|
4795
|
-
|
|
4795
|
+
if (!x || x.s === 0 || !x.n) return null;
|
|
4796
|
+
const C = x.id || x.i;
|
|
4797
|
+
return C === void 0 ? null : /* @__PURE__ */ f.jsx(
|
|
4796
4798
|
"li",
|
|
4797
4799
|
{
|
|
4798
4800
|
onClick: () => {
|
|
4799
|
-
i(
|
|
4801
|
+
i(C);
|
|
4800
4802
|
},
|
|
4801
|
-
children:
|
|
4803
|
+
children: x.n
|
|
4802
4804
|
},
|
|
4803
4805
|
C
|
|
4804
4806
|
);
|
|
4805
|
-
}) }) : /* @__PURE__ */ f.jsx("ul", { children:
|
|
4806
|
-
|
|
4807
|
+
}) }) : /* @__PURE__ */ f.jsx("ul", { children: d.filter((y) => y.s !== 0 && y.n).map((y) => {
|
|
4808
|
+
const x = y.id || y.i;
|
|
4809
|
+
return x === void 0 ? null : /* @__PURE__ */ f.jsx(
|
|
4807
4810
|
"li",
|
|
4808
4811
|
{
|
|
4809
4812
|
onClick: () => {
|
|
4810
|
-
i(
|
|
4813
|
+
i(x);
|
|
4811
4814
|
},
|
|
4812
|
-
children:
|
|
4815
|
+
children: y.n
|
|
4813
4816
|
},
|
|
4814
|
-
|
|
4815
|
-
)
|
|
4816
|
-
) });
|
|
4817
|
+
x
|
|
4818
|
+
);
|
|
4819
|
+
}) });
|
|
4817
4820
|
}
|
|
4818
|
-
return a ? /* @__PURE__ */ f.jsx("ul", { children: a.map(
|
|
4819
|
-
|
|
4820
|
-
|
|
4821
|
-
return ((C = o[u]) == null ? void 0 : C.s) !== 0 ? /* @__PURE__ */ f.jsx(
|
|
4822
|
-
"li",
|
|
4823
|
-
{
|
|
4824
|
-
onClick: () => {
|
|
4825
|
-
i(u);
|
|
4826
|
-
},
|
|
4827
|
-
children: (w = o[u]) == null ? void 0 : w.n
|
|
4828
|
-
},
|
|
4829
|
-
k
|
|
4830
|
-
) : null;
|
|
4831
|
-
}
|
|
4832
|
-
) }) : /* @__PURE__ */ f.jsx("ul", { children: Object.keys(o || {}).map((u, k) => {
|
|
4833
|
-
var w, l;
|
|
4834
|
-
const C = Number(u);
|
|
4835
|
-
return ((w = o[C]) == null ? void 0 : w.s) !== 0 ? /* @__PURE__ */ f.jsx(
|
|
4821
|
+
return a ? /* @__PURE__ */ f.jsx("ul", { children: a.map((d) => {
|
|
4822
|
+
const y = o[d];
|
|
4823
|
+
return !y || y.s === 0 || !y.n ? null : /* @__PURE__ */ f.jsx(
|
|
4836
4824
|
"li",
|
|
4837
4825
|
{
|
|
4838
4826
|
onClick: () => {
|
|
4839
|
-
i(
|
|
4827
|
+
i(d);
|
|
4840
4828
|
},
|
|
4841
|
-
children:
|
|
4829
|
+
children: y.n
|
|
4842
4830
|
},
|
|
4843
|
-
|
|
4844
|
-
)
|
|
4845
|
-
}) })
|
|
4831
|
+
d
|
|
4832
|
+
);
|
|
4833
|
+
}) }) : /* @__PURE__ */ f.jsx("ul", { children: Object.keys(o || {}).map((d) => {
|
|
4834
|
+
const y = Number(d), x = o[y];
|
|
4835
|
+
return !x || x.s === 0 || !x.n ? null : { key: y, option: x };
|
|
4836
|
+
}).filter(
|
|
4837
|
+
(d) => d !== null
|
|
4838
|
+
).map(({ key: d, option: y }) => /* @__PURE__ */ f.jsx(
|
|
4839
|
+
"li",
|
|
4840
|
+
{
|
|
4841
|
+
onClick: () => {
|
|
4842
|
+
i(d);
|
|
4843
|
+
},
|
|
4844
|
+
children: y.n
|
|
4845
|
+
},
|
|
4846
|
+
d
|
|
4847
|
+
)) });
|
|
4846
4848
|
};
|
|
4847
4849
|
function xa({
|
|
4848
4850
|
value: a,
|
|
4849
4851
|
onValue: o,
|
|
4850
4852
|
name: i,
|
|
4851
4853
|
placeholder: c = "",
|
|
4852
|
-
title:
|
|
4853
|
-
error:
|
|
4854
|
-
hide:
|
|
4855
|
-
edit:
|
|
4854
|
+
title: d,
|
|
4855
|
+
error: y,
|
|
4856
|
+
hide: x = !1,
|
|
4857
|
+
edit: C = !0,
|
|
4856
4858
|
show: l = !0,
|
|
4857
|
-
active:
|
|
4859
|
+
active: v = !0,
|
|
4858
4860
|
after: n = "",
|
|
4859
4861
|
view: s,
|
|
4860
4862
|
modal: b,
|
|
@@ -4863,11 +4865,11 @@ function xa({
|
|
|
4863
4865
|
className: U
|
|
4864
4866
|
}) {
|
|
4865
4867
|
const [D, O] = R.useState(a), p = (K) => {
|
|
4866
|
-
if (!(
|
|
4868
|
+
if (!(C && v) || !b) return;
|
|
4867
4869
|
let I = b.split(".");
|
|
4868
4870
|
jt.Open(I[0], I[1], {
|
|
4869
|
-
callback: (
|
|
4870
|
-
o && o({ value:
|
|
4871
|
+
callback: (A) => {
|
|
4872
|
+
o && o({ value: A, name: i }), O(A);
|
|
4871
4873
|
},
|
|
4872
4874
|
onValue: o,
|
|
4873
4875
|
options: F,
|
|
@@ -4875,13 +4877,13 @@ function xa({
|
|
|
4875
4877
|
value: a
|
|
4876
4878
|
});
|
|
4877
4879
|
}, P = {};
|
|
4878
|
-
return c && (P.placeholder = c),
|
|
4880
|
+
return c && (P.placeholder = c), x ? /* @__PURE__ */ f.jsx(f.Fragment, {}) : /* @__PURE__ */ f.jsx(
|
|
4879
4881
|
he,
|
|
4880
4882
|
{
|
|
4881
4883
|
type: "input",
|
|
4882
|
-
title:
|
|
4884
|
+
title: d,
|
|
4883
4885
|
element_blok: { className: [U] },
|
|
4884
|
-
error:
|
|
4886
|
+
error: y,
|
|
4885
4887
|
element_input: {
|
|
4886
4888
|
className: [Q.w],
|
|
4887
4889
|
props: { onClick: p }
|
|
@@ -4895,12 +4897,12 @@ function Ca({
|
|
|
4895
4897
|
onValue: o,
|
|
4896
4898
|
onSave: i,
|
|
4897
4899
|
name: c,
|
|
4898
|
-
placeholder:
|
|
4899
|
-
className:
|
|
4900
|
-
title:
|
|
4901
|
-
error:
|
|
4900
|
+
placeholder: d = "",
|
|
4901
|
+
className: y,
|
|
4902
|
+
title: x,
|
|
4903
|
+
error: C,
|
|
4902
4904
|
edit: l = !0,
|
|
4903
|
-
active:
|
|
4905
|
+
active: v = !0,
|
|
4904
4906
|
reload: n = !1,
|
|
4905
4907
|
native: s = !1,
|
|
4906
4908
|
isShow: b = !1,
|
|
@@ -4934,11 +4936,11 @@ function Ca({
|
|
|
4934
4936
|
}, I = (W) => {
|
|
4935
4937
|
Z.Blur(W), i == null || i({ value: W.target.textContent.trim(), name: c });
|
|
4936
4938
|
};
|
|
4937
|
-
const
|
|
4938
|
-
|
|
4939
|
+
const A = {};
|
|
4940
|
+
A.field = "password", D && (A.show = ""), y && (A.className = y);
|
|
4939
4941
|
const q = {};
|
|
4940
|
-
return
|
|
4941
|
-
|
|
4942
|
+
return d && (q.placeholder = d), s ? "" : /* @__PURE__ */ f.jsxs("dl", { ...A, children: [
|
|
4943
|
+
x ? /* @__PURE__ */ f.jsx("dt", { children: x }) : "",
|
|
4942
4944
|
/* @__PURE__ */ f.jsx(
|
|
4943
4945
|
"dd",
|
|
4944
4946
|
{
|
|
@@ -4946,7 +4948,7 @@ function Ca({
|
|
|
4946
4948
|
onInput: p,
|
|
4947
4949
|
onKeyDown: P,
|
|
4948
4950
|
onBlur: I,
|
|
4949
|
-
contentEditable: l &&
|
|
4951
|
+
contentEditable: l && v ? Z.ContentEditable : "false",
|
|
4950
4952
|
...q,
|
|
4951
4953
|
suppressContentEditableWarning: !0,
|
|
4952
4954
|
children: a
|
|
@@ -4954,7 +4956,7 @@ function Ca({
|
|
|
4954
4956
|
),
|
|
4955
4957
|
F[0] && /* @__PURE__ */ f.jsx("i", { onClick: () => O(!D), children: D ? F[1] : F[0] }),
|
|
4956
4958
|
U,
|
|
4957
|
-
|
|
4959
|
+
C ? /* @__PURE__ */ f.jsx("em", { children: C }) : ""
|
|
4958
4960
|
] });
|
|
4959
4961
|
}
|
|
4960
4962
|
function ja({
|
|
@@ -4962,25 +4964,25 @@ function ja({
|
|
|
4962
4964
|
label: o,
|
|
4963
4965
|
value: i,
|
|
4964
4966
|
title: c,
|
|
4965
|
-
className:
|
|
4966
|
-
name:
|
|
4967
|
-
text:
|
|
4968
|
-
id:
|
|
4967
|
+
className: d,
|
|
4968
|
+
name: y,
|
|
4969
|
+
text: x,
|
|
4970
|
+
id: C,
|
|
4969
4971
|
reload: l
|
|
4970
4972
|
}) {
|
|
4971
|
-
const [
|
|
4973
|
+
const [v, n] = R.useState(!!i);
|
|
4972
4974
|
R.useEffect(() => {
|
|
4973
4975
|
n(!!i);
|
|
4974
4976
|
}, [i]);
|
|
4975
4977
|
let s = () => {
|
|
4976
|
-
a && a({ value:
|
|
4978
|
+
a && a({ value: v ? 0 : 1, name: y, id: C, reload: l }), n(!v);
|
|
4977
4979
|
};
|
|
4978
4980
|
return /* @__PURE__ */ f.jsxs(
|
|
4979
4981
|
he,
|
|
4980
4982
|
{
|
|
4981
4983
|
type: "check",
|
|
4982
4984
|
title: o || c,
|
|
4983
|
-
element_blok: { className: [
|
|
4985
|
+
element_blok: { className: [d] },
|
|
4984
4986
|
element_input: {
|
|
4985
4987
|
className: [Q.h],
|
|
4986
4988
|
props: {
|
|
@@ -4988,8 +4990,8 @@ function ja({
|
|
|
4988
4990
|
}
|
|
4989
4991
|
},
|
|
4990
4992
|
children: [
|
|
4991
|
-
/* @__PURE__ */ f.jsx("div", { "aria-checked": `${
|
|
4992
|
-
/* @__PURE__ */ f.jsx("span", { children:
|
|
4993
|
+
/* @__PURE__ */ f.jsx("div", { "aria-checked": `${v ? "true" : "false"}` }),
|
|
4994
|
+
/* @__PURE__ */ f.jsx("span", { children: x })
|
|
4993
4995
|
]
|
|
4994
4996
|
}
|
|
4995
4997
|
);
|
|
@@ -4997,12 +4999,12 @@ function ja({
|
|
|
4997
4999
|
const le = {};
|
|
4998
5000
|
function Ea(a) {
|
|
4999
5001
|
const [o, i] = R.useState({}), c = R.useRef(a);
|
|
5000
|
-
return le.u = (
|
|
5001
|
-
c.current = { ...c.current, [
|
|
5002
|
-
}, le.n = (
|
|
5003
|
-
c.current =
|
|
5004
|
-
}, le.r = (
|
|
5005
|
-
|
|
5002
|
+
return le.u = (d) => {
|
|
5003
|
+
c.current = { ...c.current, [d.name]: d.value };
|
|
5004
|
+
}, le.n = (d) => {
|
|
5005
|
+
c.current = d, i(Date.now());
|
|
5006
|
+
}, le.r = (d) => {
|
|
5007
|
+
d && d(c.current), i(Date.now());
|
|
5006
5008
|
}, [c.current, le.n];
|
|
5007
5009
|
}
|
|
5008
5010
|
function Sa(a) {
|
|
@@ -5013,11 +5015,11 @@ function Ra(a) {
|
|
|
5013
5015
|
}
|
|
5014
5016
|
function Ta(a) {
|
|
5015
5017
|
const [o, i] = R.useState({}), c = R.useRef(a);
|
|
5016
|
-
return le.u = (
|
|
5017
|
-
c.current = { ...c.current, [
|
|
5018
|
-
}, le.n = (
|
|
5019
|
-
Object.keys(
|
|
5020
|
-
c.current[
|
|
5018
|
+
return le.u = (d) => {
|
|
5019
|
+
c.current = { ...c.current, [d.name]: d.value };
|
|
5020
|
+
}, le.n = (d) => {
|
|
5021
|
+
Object.keys(d).length > 0 ? Object.keys(d).forEach((y) => {
|
|
5022
|
+
c.current[y] = d[y];
|
|
5021
5023
|
}) : c.current = {}, i(Date.now());
|
|
5022
5024
|
}, le.r = () => {
|
|
5023
5025
|
i(Date.now());
|