@elcrm/form 0.0.39 → 0.0.41
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 +904 -903
- package/dist/index.umd.js +32 -32
- package/dist/src/lib/Input.d.ts +2 -1
- package/dist/src/lib/use.d.ts +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import U, { forwardRef as Jt, useEffect as Zt } from "react";
|
|
2
2
|
import { createPortal as Mt } from "react-dom";
|
|
3
|
-
import './index.css';const Vt = "0.0.
|
|
3
|
+
import './index.css';const Vt = "0.0.41", Xt = {
|
|
4
4
|
version: Vt
|
|
5
5
|
};
|
|
6
6
|
var Tt = { exports: {} }, mt = {};
|
|
@@ -17,15 +17,15 @@ var $t;
|
|
|
17
17
|
function Qt() {
|
|
18
18
|
if ($t) return mt;
|
|
19
19
|
$t = 1;
|
|
20
|
-
var
|
|
21
|
-
function
|
|
20
|
+
var n = U, _ = Symbol.for("react.element"), c = Symbol.for("react.fragment"), u = Object.prototype.hasOwnProperty, y = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, S = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
21
|
+
function D(x, s, v) {
|
|
22
22
|
var o, d = {}, b = null, C = null;
|
|
23
23
|
v !== void 0 && (b = "" + v), s.key !== void 0 && (b = "" + s.key), s.ref !== void 0 && (C = s.ref);
|
|
24
24
|
for (o in s) u.call(s, o) && !S.hasOwnProperty(o) && (d[o] = s[o]);
|
|
25
25
|
if (x && x.defaultProps) for (o in s = x.defaultProps, s) d[o] === void 0 && (d[o] = s[o]);
|
|
26
26
|
return { $$typeof: _, type: x, key: b, ref: C, props: d, _owner: y.current };
|
|
27
27
|
}
|
|
28
|
-
return mt.Fragment = c, mt.jsx =
|
|
28
|
+
return mt.Fragment = c, mt.jsx = D, mt.jsxs = D, mt;
|
|
29
29
|
}
|
|
30
30
|
var yt = {};
|
|
31
31
|
/**
|
|
@@ -40,24 +40,24 @@ var yt = {};
|
|
|
40
40
|
var At;
|
|
41
41
|
function er() {
|
|
42
42
|
return At || (At = 1, process.env.NODE_ENV !== "production" && function() {
|
|
43
|
-
var
|
|
44
|
-
function
|
|
43
|
+
var n = U, _ = Symbol.for("react.element"), c = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), y = Symbol.for("react.strict_mode"), S = Symbol.for("react.profiler"), D = Symbol.for("react.provider"), x = Symbol.for("react.context"), s = Symbol.for("react.forward_ref"), v = Symbol.for("react.suspense"), o = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), b = Symbol.for("react.lazy"), C = Symbol.for("react.offscreen"), N = Symbol.iterator, L = "@@iterator";
|
|
44
|
+
function F(e) {
|
|
45
45
|
if (e === null || typeof e != "object")
|
|
46
46
|
return null;
|
|
47
|
-
var t =
|
|
47
|
+
var t = N && e[N] || e[L];
|
|
48
48
|
return typeof t == "function" ? t : null;
|
|
49
49
|
}
|
|
50
|
-
var
|
|
50
|
+
var O = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
51
51
|
function p(e) {
|
|
52
52
|
{
|
|
53
|
-
for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0),
|
|
54
|
-
r[
|
|
53
|
+
for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), a = 1; a < t; a++)
|
|
54
|
+
r[a - 1] = arguments[a];
|
|
55
55
|
M("error", e, r);
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
58
|
function M(e, t, r) {
|
|
59
59
|
{
|
|
60
|
-
var
|
|
60
|
+
var a = O.ReactDebugCurrentFrame, f = a.getStackAddendum();
|
|
61
61
|
f !== "" && (t += "%s", r = r.concat([f]));
|
|
62
62
|
var m = r.map(function(l) {
|
|
63
63
|
return String(l);
|
|
@@ -65,19 +65,19 @@ function er() {
|
|
|
65
65
|
m.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, m);
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
|
-
var
|
|
69
|
-
|
|
70
|
-
function
|
|
71
|
-
return !!(typeof e == "string" || typeof e == "function" || e === u || e === S ||
|
|
68
|
+
var K = !1, Y = !1, W = !1, q = !1, I = !1, R;
|
|
69
|
+
R = Symbol.for("react.module.reference");
|
|
70
|
+
function E(e) {
|
|
71
|
+
return !!(typeof e == "string" || typeof e == "function" || e === u || e === S || I || e === y || e === v || e === o || q || e === C || K || Y || W || typeof e == "object" && e !== null && (e.$$typeof === b || e.$$typeof === d || e.$$typeof === D || e.$$typeof === x || e.$$typeof === s || // This needs to include all possible module reference object
|
|
72
72
|
// types supported by any Flight configuration anywhere since
|
|
73
73
|
// we don't know which Flight build this will end up being used
|
|
74
74
|
// with.
|
|
75
|
-
e.$$typeof ===
|
|
75
|
+
e.$$typeof === R || e.getModuleId !== void 0));
|
|
76
76
|
}
|
|
77
|
-
function
|
|
78
|
-
var
|
|
79
|
-
if (
|
|
80
|
-
return
|
|
77
|
+
function A(e, t, r) {
|
|
78
|
+
var a = e.displayName;
|
|
79
|
+
if (a)
|
|
80
|
+
return a;
|
|
81
81
|
var f = t.displayName || t.name || "";
|
|
82
82
|
return f !== "" ? r + "(" + f + ")" : r;
|
|
83
83
|
}
|
|
@@ -110,14 +110,14 @@ function er() {
|
|
|
110
110
|
case x:
|
|
111
111
|
var t = e;
|
|
112
112
|
return h(t) + ".Consumer";
|
|
113
|
-
case
|
|
113
|
+
case D:
|
|
114
114
|
var r = e;
|
|
115
115
|
return h(r._context) + ".Provider";
|
|
116
116
|
case s:
|
|
117
|
-
return
|
|
117
|
+
return A(e, e.render, "ForwardRef");
|
|
118
118
|
case d:
|
|
119
|
-
var
|
|
120
|
-
return
|
|
119
|
+
var a = e.displayName || null;
|
|
120
|
+
return a !== null ? a : k(e.type) || "Memo";
|
|
121
121
|
case b: {
|
|
122
122
|
var f = e, m = f._payload, l = f._init;
|
|
123
123
|
try {
|
|
@@ -191,15 +191,15 @@ function er() {
|
|
|
191
191
|
G < 0 && p("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
192
192
|
}
|
|
193
193
|
}
|
|
194
|
-
var le =
|
|
194
|
+
var le = O.ReactCurrentDispatcher, ce;
|
|
195
195
|
function te(e, t, r) {
|
|
196
196
|
{
|
|
197
197
|
if (ce === void 0)
|
|
198
198
|
try {
|
|
199
199
|
throw Error();
|
|
200
200
|
} catch (f) {
|
|
201
|
-
var
|
|
202
|
-
ce =
|
|
201
|
+
var a = f.stack.trim().match(/\n( *(at )?)/);
|
|
202
|
+
ce = a && a[1] || "";
|
|
203
203
|
}
|
|
204
204
|
return `
|
|
205
205
|
` + ce + e;
|
|
@@ -218,7 +218,7 @@ function er() {
|
|
|
218
218
|
if (r !== void 0)
|
|
219
219
|
return r;
|
|
220
220
|
}
|
|
221
|
-
var
|
|
221
|
+
var a;
|
|
222
222
|
ue = !0;
|
|
223
223
|
var f = Error.prepareStackTrace;
|
|
224
224
|
Error.prepareStackTrace = void 0;
|
|
@@ -236,40 +236,40 @@ function er() {
|
|
|
236
236
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
237
237
|
try {
|
|
238
238
|
Reflect.construct(l, []);
|
|
239
|
-
} catch (
|
|
240
|
-
|
|
239
|
+
} catch (P) {
|
|
240
|
+
a = P;
|
|
241
241
|
}
|
|
242
242
|
Reflect.construct(e, [], l);
|
|
243
243
|
} else {
|
|
244
244
|
try {
|
|
245
245
|
l.call();
|
|
246
|
-
} catch (
|
|
247
|
-
|
|
246
|
+
} catch (P) {
|
|
247
|
+
a = P;
|
|
248
248
|
}
|
|
249
249
|
e.call(l.prototype);
|
|
250
250
|
}
|
|
251
251
|
} else {
|
|
252
252
|
try {
|
|
253
253
|
throw Error();
|
|
254
|
-
} catch (
|
|
255
|
-
|
|
254
|
+
} catch (P) {
|
|
255
|
+
a = P;
|
|
256
256
|
}
|
|
257
257
|
e();
|
|
258
258
|
}
|
|
259
|
-
} catch (
|
|
260
|
-
if (
|
|
261
|
-
for (var i =
|
|
262
|
-
`),
|
|
263
|
-
`), w = i.length - 1, j =
|
|
259
|
+
} catch (P) {
|
|
260
|
+
if (P && a && typeof P.stack == "string") {
|
|
261
|
+
for (var i = P.stack.split(`
|
|
262
|
+
`), T = a.stack.split(`
|
|
263
|
+
`), w = i.length - 1, j = T.length - 1; w >= 1 && j >= 0 && i[w] !== T[j]; )
|
|
264
264
|
j--;
|
|
265
265
|
for (; w >= 1 && j >= 0; w--, j--)
|
|
266
|
-
if (i[w] !==
|
|
266
|
+
if (i[w] !== T[j]) {
|
|
267
267
|
if (w !== 1 || j !== 1)
|
|
268
268
|
do
|
|
269
|
-
if (w--, j--, j < 0 || i[w] !==
|
|
270
|
-
var
|
|
269
|
+
if (w--, j--, j < 0 || i[w] !== T[j]) {
|
|
270
|
+
var B = `
|
|
271
271
|
` + i[w].replace(" at new ", " at ");
|
|
272
|
-
return e.displayName &&
|
|
272
|
+
return e.displayName && B.includes("<anonymous>") && (B = B.replace("<anonymous>", e.displayName)), typeof e == "function" && re.set(e, B), B;
|
|
273
273
|
}
|
|
274
274
|
while (w >= 1 && j >= 0);
|
|
275
275
|
break;
|
|
@@ -288,7 +288,7 @@ function er() {
|
|
|
288
288
|
var t = e.prototype;
|
|
289
289
|
return !!(t && t.isReactComponent);
|
|
290
290
|
}
|
|
291
|
-
function
|
|
291
|
+
function ne(e, t, r) {
|
|
292
292
|
if (e == null)
|
|
293
293
|
return "";
|
|
294
294
|
if (typeof e == "function")
|
|
@@ -306,26 +306,26 @@ function er() {
|
|
|
306
306
|
case s:
|
|
307
307
|
return Ke(e.render);
|
|
308
308
|
case d:
|
|
309
|
-
return
|
|
309
|
+
return ne(e.type, t, r);
|
|
310
310
|
case b: {
|
|
311
|
-
var
|
|
311
|
+
var a = e, f = a._payload, m = a._init;
|
|
312
312
|
try {
|
|
313
|
-
return
|
|
313
|
+
return ne(m(f), t, r);
|
|
314
314
|
} catch {
|
|
315
315
|
}
|
|
316
316
|
}
|
|
317
317
|
}
|
|
318
318
|
return "";
|
|
319
319
|
}
|
|
320
|
-
var V = Object.prototype.hasOwnProperty, xe = {}, Ce =
|
|
321
|
-
function
|
|
320
|
+
var V = Object.prototype.hasOwnProperty, xe = {}, Ce = O.ReactDebugCurrentFrame;
|
|
321
|
+
function ae(e) {
|
|
322
322
|
if (e) {
|
|
323
|
-
var t = e._owner, r =
|
|
323
|
+
var t = e._owner, r = ne(e.type, e._source, t ? t.type : null);
|
|
324
324
|
Ce.setExtraStackFrame(r);
|
|
325
325
|
} else
|
|
326
326
|
Ce.setExtraStackFrame(null);
|
|
327
327
|
}
|
|
328
|
-
function Ge(e, t, r,
|
|
328
|
+
function Ge(e, t, r, a, f) {
|
|
329
329
|
{
|
|
330
330
|
var m = Function.call.bind(V);
|
|
331
331
|
for (var l in e)
|
|
@@ -333,14 +333,14 @@ function er() {
|
|
|
333
333
|
var i = void 0;
|
|
334
334
|
try {
|
|
335
335
|
if (typeof e[l] != "function") {
|
|
336
|
-
var
|
|
337
|
-
throw
|
|
336
|
+
var T = Error((a || "React class") + ": " + r + " type `" + l + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[l] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
337
|
+
throw T.name = "Invariant Violation", T;
|
|
338
338
|
}
|
|
339
|
-
i = e[l](t, l,
|
|
339
|
+
i = e[l](t, l, a, r, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
340
340
|
} catch (w) {
|
|
341
341
|
i = w;
|
|
342
342
|
}
|
|
343
|
-
i && !(i instanceof Error) && (
|
|
343
|
+
i && !(i instanceof Error) && (ae(f), p("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", a || "React class", r, l, typeof i), ae(null)), i instanceof Error && !(i.message in xe) && (xe[i.message] = !0, ae(f), p("Failed %s type: %s", r, i.message), ae(null));
|
|
344
344
|
}
|
|
345
345
|
}
|
|
346
346
|
}
|
|
@@ -368,7 +368,7 @@ function er() {
|
|
|
368
368
|
if (Je(e))
|
|
369
369
|
return p("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", He(e)), Se(e);
|
|
370
370
|
}
|
|
371
|
-
var Ee =
|
|
371
|
+
var Ee = O.ReactCurrentOwner, Ze = {
|
|
372
372
|
key: !0,
|
|
373
373
|
ref: !0,
|
|
374
374
|
__self: !0,
|
|
@@ -415,7 +415,7 @@ function er() {
|
|
|
415
415
|
});
|
|
416
416
|
}
|
|
417
417
|
}
|
|
418
|
-
var rt = function(e, t, r,
|
|
418
|
+
var rt = function(e, t, r, a, f, m, l) {
|
|
419
419
|
var i = {
|
|
420
420
|
// This tag allows us to uniquely identify this as a React Element
|
|
421
421
|
$$typeof: _,
|
|
@@ -436,7 +436,7 @@ function er() {
|
|
|
436
436
|
configurable: !1,
|
|
437
437
|
enumerable: !1,
|
|
438
438
|
writable: !1,
|
|
439
|
-
value:
|
|
439
|
+
value: a
|
|
440
440
|
}), Object.defineProperty(i, "_source", {
|
|
441
441
|
configurable: !1,
|
|
442
442
|
enumerable: !1,
|
|
@@ -444,10 +444,10 @@ function er() {
|
|
|
444
444
|
value: f
|
|
445
445
|
}), Object.freeze && (Object.freeze(i.props), Object.freeze(i)), i;
|
|
446
446
|
};
|
|
447
|
-
function
|
|
447
|
+
function nt(e, t, r, a, f) {
|
|
448
448
|
{
|
|
449
|
-
var m, l = {}, i = null,
|
|
450
|
-
r !== void 0 && (Re(r), i = "" + r), Xe(t) && (Re(t.key), i = "" + t.key), Ve(t) && (
|
|
449
|
+
var m, l = {}, i = null, T = null;
|
|
450
|
+
r !== void 0 && (Re(r), i = "" + r), Xe(t) && (Re(t.key), i = "" + t.key), Ve(t) && (T = t.ref, Qe(t, f));
|
|
451
451
|
for (m in t)
|
|
452
452
|
V.call(t, m) && !Ze.hasOwnProperty(m) && (l[m] = t[m]);
|
|
453
453
|
if (e && e.defaultProps) {
|
|
@@ -455,17 +455,17 @@ function er() {
|
|
|
455
455
|
for (m in w)
|
|
456
456
|
l[m] === void 0 && (l[m] = w[m]);
|
|
457
457
|
}
|
|
458
|
-
if (i ||
|
|
458
|
+
if (i || T) {
|
|
459
459
|
var j = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
460
|
-
i && et(l, j),
|
|
460
|
+
i && et(l, j), T && tt(l, j);
|
|
461
461
|
}
|
|
462
|
-
return rt(e, i,
|
|
462
|
+
return rt(e, i, T, f, a, Ee.current, l);
|
|
463
463
|
}
|
|
464
464
|
}
|
|
465
|
-
var fe =
|
|
465
|
+
var fe = O.ReactCurrentOwner, De = O.ReactDebugCurrentFrame;
|
|
466
466
|
function J(e) {
|
|
467
467
|
if (e) {
|
|
468
|
-
var t = e._owner, r =
|
|
468
|
+
var t = e._owner, r = ne(e.type, e._source, t ? t.type : null);
|
|
469
469
|
De.setExtraStackFrame(r);
|
|
470
470
|
} else
|
|
471
471
|
De.setExtraStackFrame(null);
|
|
@@ -487,7 +487,7 @@ Check the render method of \`` + e + "`.";
|
|
|
487
487
|
return "";
|
|
488
488
|
}
|
|
489
489
|
}
|
|
490
|
-
function
|
|
490
|
+
function at(e) {
|
|
491
491
|
return "";
|
|
492
492
|
}
|
|
493
493
|
var Ne = {};
|
|
@@ -512,8 +512,8 @@ Check the top-level render call using <` + r + ">.");
|
|
|
512
512
|
if (Ne[r])
|
|
513
513
|
return;
|
|
514
514
|
Ne[r] = !0;
|
|
515
|
-
var
|
|
516
|
-
e && e._owner && e._owner !== fe.current && (
|
|
515
|
+
var a = "";
|
|
516
|
+
e && e._owner && e._owner !== fe.current && (a = " It was passed a child from " + k(e._owner.type) + "."), J(e), p('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', r, a), J(null);
|
|
517
517
|
}
|
|
518
518
|
}
|
|
519
519
|
function Ie(e, t) {
|
|
@@ -522,13 +522,13 @@ Check the top-level render call using <` + r + ">.");
|
|
|
522
522
|
return;
|
|
523
523
|
if (de(e))
|
|
524
524
|
for (var r = 0; r < e.length; r++) {
|
|
525
|
-
var
|
|
526
|
-
me(
|
|
525
|
+
var a = e[r];
|
|
526
|
+
me(a) && Fe(a, t);
|
|
527
527
|
}
|
|
528
528
|
else if (me(e))
|
|
529
529
|
e._store && (e._store.validated = !0);
|
|
530
530
|
else if (e) {
|
|
531
|
-
var f =
|
|
531
|
+
var f = F(e);
|
|
532
532
|
if (typeof f == "function" && f !== e.entries)
|
|
533
533
|
for (var m = f.call(e), l; !(l = m.next()).done; )
|
|
534
534
|
me(l.value) && Fe(l.value, t);
|
|
@@ -550,8 +550,8 @@ Check the top-level render call using <` + r + ">.");
|
|
|
550
550
|
else
|
|
551
551
|
return;
|
|
552
552
|
if (r) {
|
|
553
|
-
var
|
|
554
|
-
Ge(r, e.props, "prop",
|
|
553
|
+
var a = k(t);
|
|
554
|
+
Ge(r, e.props, "prop", a, e);
|
|
555
555
|
} else if (t.PropTypes !== void 0 && !pe) {
|
|
556
556
|
pe = !0;
|
|
557
557
|
var f = k(t);
|
|
@@ -563,9 +563,9 @@ Check the top-level render call using <` + r + ">.");
|
|
|
563
563
|
function it(e) {
|
|
564
564
|
{
|
|
565
565
|
for (var t = Object.keys(e.props), r = 0; r < t.length; r++) {
|
|
566
|
-
var
|
|
567
|
-
if (
|
|
568
|
-
J(e), p("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",
|
|
566
|
+
var a = t[r];
|
|
567
|
+
if (a !== "children" && a !== "key") {
|
|
568
|
+
J(e), p("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", a), J(null);
|
|
569
569
|
break;
|
|
570
570
|
}
|
|
571
571
|
}
|
|
@@ -573,39 +573,39 @@ Check the top-level render call using <` + r + ">.");
|
|
|
573
573
|
}
|
|
574
574
|
}
|
|
575
575
|
var Me = {};
|
|
576
|
-
function $e(e, t, r,
|
|
576
|
+
function $e(e, t, r, a, f, m) {
|
|
577
577
|
{
|
|
578
|
-
var l =
|
|
578
|
+
var l = E(e);
|
|
579
579
|
if (!l) {
|
|
580
580
|
var i = "";
|
|
581
581
|
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (i += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
582
|
-
var
|
|
583
|
-
|
|
582
|
+
var T = at();
|
|
583
|
+
T ? i += T : i += Pe();
|
|
584
584
|
var w;
|
|
585
585
|
e === null ? w = "null" : de(e) ? w = "array" : e !== void 0 && e.$$typeof === _ ? (w = "<" + (k(e.type) || "Unknown") + " />", i = " Did you accidentally export a JSX literal instead of a component?") : w = typeof e, p("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", w, i);
|
|
586
586
|
}
|
|
587
|
-
var j =
|
|
587
|
+
var j = nt(e, t, r, f, m);
|
|
588
588
|
if (j == null)
|
|
589
589
|
return j;
|
|
590
590
|
if (l) {
|
|
591
|
-
var
|
|
592
|
-
if (
|
|
593
|
-
if (
|
|
594
|
-
if (de(
|
|
595
|
-
for (var Z = 0; Z <
|
|
596
|
-
Ie(
|
|
597
|
-
Object.freeze && Object.freeze(
|
|
591
|
+
var B = t.children;
|
|
592
|
+
if (B !== void 0)
|
|
593
|
+
if (a)
|
|
594
|
+
if (de(B)) {
|
|
595
|
+
for (var Z = 0; Z < B.length; Z++)
|
|
596
|
+
Ie(B[Z], e);
|
|
597
|
+
Object.freeze && Object.freeze(B);
|
|
598
598
|
} else
|
|
599
599
|
p("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
600
600
|
else
|
|
601
|
-
Ie(
|
|
601
|
+
Ie(B, e);
|
|
602
602
|
}
|
|
603
603
|
if (V.call(t, "key")) {
|
|
604
|
-
var z = k(e),
|
|
604
|
+
var z = k(e), P = Object.keys(t).filter(function(ft) {
|
|
605
605
|
return ft !== "key";
|
|
606
|
-
}), ye =
|
|
606
|
+
}), ye = P.length > 0 ? "{key: someKey, " + P.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
607
607
|
if (!Me[z + ye]) {
|
|
608
|
-
var dt =
|
|
608
|
+
var dt = P.length > 0 ? "{" + P.join(": ..., ") + ": ...}" : "{}";
|
|
609
609
|
p(`A props object containing a "key" prop is being spread into JSX:
|
|
610
610
|
let props = %s;
|
|
611
611
|
<%s {...props} />
|
|
@@ -629,7 +629,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
629
629
|
}
|
|
630
630
|
process.env.NODE_ENV === "production" ? Tt.exports = Qt() : Tt.exports = er();
|
|
631
631
|
var g = Tt.exports;
|
|
632
|
-
function
|
|
632
|
+
function kn({ name: n, value: _, title: c, style: u, className: y }) {
|
|
633
633
|
let S = {
|
|
634
634
|
field: "progress"
|
|
635
635
|
};
|
|
@@ -639,21 +639,21 @@ function ba({ name: a, value: _, title: c, style: u, className: y }) {
|
|
|
639
639
|
] });
|
|
640
640
|
}
|
|
641
641
|
let ee = {};
|
|
642
|
-
ee.KeyDown = (
|
|
643
|
-
|
|
642
|
+
ee.KeyDown = (n) => {
|
|
643
|
+
n.key === "Enter" && n.preventDefault();
|
|
644
644
|
};
|
|
645
|
-
ee.PasteOne = (
|
|
646
|
-
|
|
645
|
+
ee.PasteOne = (n) => {
|
|
646
|
+
n.preventDefault(), navigator.clipboard.readText().then((_) => {
|
|
647
647
|
_ = _.replace(/^\s*/, "").replace(/\s*$/, ""), window.document.execCommand("insertText", !1, _);
|
|
648
648
|
}).catch((_) => {
|
|
649
649
|
});
|
|
650
650
|
};
|
|
651
|
-
ee.Paste = (
|
|
651
|
+
ee.Paste = (n, _) => {
|
|
652
652
|
_.preventDefault(), navigator.clipboard.readText().then((c) => {
|
|
653
|
-
if (
|
|
653
|
+
if (n) {
|
|
654
654
|
let u = _.target.textContent.length;
|
|
655
|
-
if (u >=
|
|
656
|
-
|
|
655
|
+
if (u >= n) return;
|
|
656
|
+
n -= u, c = c.slice(0, n);
|
|
657
657
|
}
|
|
658
658
|
window.document.execCommand(
|
|
659
659
|
"insertText",
|
|
@@ -663,36 +663,36 @@ ee.Paste = (a, _) => {
|
|
|
663
663
|
}).catch((c) => {
|
|
664
664
|
});
|
|
665
665
|
};
|
|
666
|
-
ee.Focus = (
|
|
667
|
-
|
|
666
|
+
ee.Focus = (n) => {
|
|
667
|
+
n.target.textContent.length === 0 && (n.target.innerHTML = "<br>");
|
|
668
668
|
};
|
|
669
|
-
ee.Blur = (
|
|
670
|
-
|
|
669
|
+
ee.Blur = (n) => {
|
|
670
|
+
n.target.scrollLeft = 0, n.target.querySelector("br") !== null && n.target.querySelector("br").remove();
|
|
671
671
|
};
|
|
672
672
|
ee.ContentEditable = "plaintext-only";
|
|
673
|
-
const tr = "_l_fqry8_12", rr = "_f_fqry8_36",
|
|
673
|
+
const tr = "_l_fqry8_12", rr = "_f_fqry8_36", nr = "_n_fqry8_54", ar = "_w_fqry8_59", or = "_t_fqry8_69", _r = "_g_fqry8_74", ir = "_h_fqry8_78", _e = {
|
|
674
674
|
l: tr,
|
|
675
675
|
f: rr,
|
|
676
|
-
n:
|
|
677
|
-
w:
|
|
676
|
+
n: nr,
|
|
677
|
+
w: ar,
|
|
678
678
|
t: or,
|
|
679
679
|
g: _r,
|
|
680
680
|
h: ir
|
|
681
681
|
}, Be = Jt(
|
|
682
682
|
({
|
|
683
|
-
element_blok:
|
|
683
|
+
element_blok: n,
|
|
684
684
|
element_input: _,
|
|
685
685
|
type: c = "input",
|
|
686
686
|
title: u,
|
|
687
687
|
before: y,
|
|
688
688
|
after: S,
|
|
689
|
-
children:
|
|
689
|
+
children: D
|
|
690
690
|
}, x) => /* @__PURE__ */ g.jsxs(
|
|
691
691
|
"dl",
|
|
692
692
|
{
|
|
693
693
|
"data-field": c,
|
|
694
694
|
..._.props,
|
|
695
|
-
className: [_e.l, ...
|
|
695
|
+
className: [_e.l, ...n.className].filter((s) => s !== void 0).join(" "),
|
|
696
696
|
children: [
|
|
697
697
|
u ? /* @__PURE__ */ g.jsx("dt", { className: _e.t, children: u }) : "",
|
|
698
698
|
y,
|
|
@@ -704,7 +704,7 @@ const tr = "_l_fqry8_12", rr = "_f_fqry8_36", ar = "_n_fqry8_54", nr = "_w_fqry8
|
|
|
704
704
|
" "
|
|
705
705
|
),
|
|
706
706
|
..._.props,
|
|
707
|
-
children:
|
|
707
|
+
children: D
|
|
708
708
|
}
|
|
709
709
|
),
|
|
710
710
|
S
|
|
@@ -712,14 +712,14 @@ const tr = "_l_fqry8_12", rr = "_f_fqry8_36", ar = "_n_fqry8_54", nr = "_w_fqry8
|
|
|
712
712
|
}
|
|
713
713
|
)
|
|
714
714
|
);
|
|
715
|
-
function
|
|
716
|
-
id:
|
|
715
|
+
function wn({
|
|
716
|
+
id: n,
|
|
717
717
|
value: _,
|
|
718
718
|
onValue: c,
|
|
719
719
|
name: u,
|
|
720
720
|
placeholder: y = "",
|
|
721
721
|
title: S = "",
|
|
722
|
-
error:
|
|
722
|
+
error: D = "",
|
|
723
723
|
hide: x = !1,
|
|
724
724
|
edit: s = !0,
|
|
725
725
|
active: v = !0,
|
|
@@ -727,58 +727,59 @@ function ka({
|
|
|
727
727
|
before: d = "",
|
|
728
728
|
show: b = !0,
|
|
729
729
|
maxLength: C,
|
|
730
|
-
onSave:
|
|
731
|
-
className:
|
|
732
|
-
|
|
733
|
-
|
|
730
|
+
onSave: N,
|
|
731
|
+
className: L = "",
|
|
732
|
+
spellCheck: F = !0,
|
|
733
|
+
isCopy: O = !0,
|
|
734
|
+
isReload: p = !1
|
|
734
735
|
}) {
|
|
735
|
-
let
|
|
736
|
+
let M = !!(x && (_ === "" || _ === void 0)), K = (R) => {
|
|
736
737
|
c && c({
|
|
737
738
|
value: R.target.textContent.trim(),
|
|
738
739
|
name: u,
|
|
739
|
-
reload:
|
|
740
|
+
reload: p
|
|
740
741
|
});
|
|
741
|
-
},
|
|
742
|
+
}, Y = (R) => {
|
|
742
743
|
C && R.target.textContent.trim().length >= C && R.key !== "Backspace" && R.preventDefault(), R.key === "Enter" && R.preventDefault();
|
|
743
|
-
},
|
|
744
|
-
R.preventDefault(), navigator.clipboard.readText().then((
|
|
744
|
+
}, W = (R) => {
|
|
745
|
+
R.preventDefault(), navigator.clipboard.readText().then((E) => {
|
|
745
746
|
if (C) {
|
|
746
|
-
let
|
|
747
|
-
if (
|
|
748
|
-
C -=
|
|
747
|
+
let A = R.target.textContent.length;
|
|
748
|
+
if (A >= C) return;
|
|
749
|
+
C -= A, E = E.slice(0, C);
|
|
749
750
|
}
|
|
750
751
|
window.document.execCommand(
|
|
751
752
|
"insertText",
|
|
752
753
|
!1,
|
|
753
|
-
|
|
754
|
+
E.replace(/(\r\n|\n|\r)/gm, " ")
|
|
754
755
|
);
|
|
755
|
-
}).catch((
|
|
756
|
+
}).catch((E) => {
|
|
756
757
|
});
|
|
757
758
|
};
|
|
758
|
-
if (!(s && v) && !b || !(s && v) &&
|
|
759
|
-
const
|
|
760
|
-
y && (
|
|
761
|
-
const
|
|
762
|
-
ee.Blur(R),
|
|
759
|
+
if (!(s && v) && !b || !(s && v) && M) return "";
|
|
760
|
+
const q = {};
|
|
761
|
+
y && (q.placeholder = y), s && v && (q.edit = "");
|
|
762
|
+
const I = (R) => {
|
|
763
|
+
ee.Blur(R), N == null || N({ value: R.target.textContent.trim(), name: u });
|
|
763
764
|
};
|
|
764
765
|
return /* @__PURE__ */ g.jsx(
|
|
765
766
|
Be,
|
|
766
767
|
{
|
|
767
768
|
type: "input",
|
|
768
769
|
title: S,
|
|
769
|
-
element_blok: { className: [
|
|
770
|
+
element_blok: { className: [L] },
|
|
770
771
|
element_input: { className: [_e.w] },
|
|
771
772
|
children: /* @__PURE__ */ g.jsx(
|
|
772
773
|
"div",
|
|
773
774
|
{
|
|
774
|
-
onBlur:
|
|
775
|
-
onPaste:
|
|
776
|
-
onInput:
|
|
777
|
-
onKeyDown:
|
|
778
|
-
spellCheck:
|
|
775
|
+
onBlur: I,
|
|
776
|
+
onPaste: W,
|
|
777
|
+
onInput: K,
|
|
778
|
+
onKeyDown: Y,
|
|
779
|
+
spellCheck: F,
|
|
779
780
|
contentEditable: s && v ? ee.ContentEditable : "false",
|
|
780
781
|
suppressContentEditableWarning: !0,
|
|
781
|
-
...
|
|
782
|
+
...q,
|
|
782
783
|
children: _
|
|
783
784
|
}
|
|
784
785
|
)
|
|
@@ -799,15 +800,15 @@ var Bt;
|
|
|
799
800
|
function sr() {
|
|
800
801
|
if (Bt) return vt;
|
|
801
802
|
Bt = 1;
|
|
802
|
-
var
|
|
803
|
-
function
|
|
803
|
+
var n = U, _ = Symbol.for("react.element"), c = Symbol.for("react.fragment"), u = Object.prototype.hasOwnProperty, y = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, S = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
804
|
+
function D(x, s, v) {
|
|
804
805
|
var o, d = {}, b = null, C = null;
|
|
805
806
|
v !== void 0 && (b = "" + v), s.key !== void 0 && (b = "" + s.key), s.ref !== void 0 && (C = s.ref);
|
|
806
807
|
for (o in s) u.call(s, o) && !S.hasOwnProperty(o) && (d[o] = s[o]);
|
|
807
808
|
if (x && x.defaultProps) for (o in s = x.defaultProps, s) d[o] === void 0 && (d[o] = s[o]);
|
|
808
809
|
return { $$typeof: _, type: x, key: b, ref: C, props: d, _owner: y.current };
|
|
809
810
|
}
|
|
810
|
-
return vt.Fragment = c, vt.jsx =
|
|
811
|
+
return vt.Fragment = c, vt.jsx = D, vt.jsxs = D, vt;
|
|
811
812
|
}
|
|
812
813
|
var kt = {};
|
|
813
814
|
/**
|
|
@@ -822,24 +823,24 @@ var kt = {};
|
|
|
822
823
|
var Lt;
|
|
823
824
|
function lr() {
|
|
824
825
|
return Lt || (Lt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
825
|
-
var
|
|
826
|
-
function
|
|
826
|
+
var n = U, _ = Symbol.for("react.element"), c = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), y = Symbol.for("react.strict_mode"), S = Symbol.for("react.profiler"), D = Symbol.for("react.provider"), x = Symbol.for("react.context"), s = Symbol.for("react.forward_ref"), v = Symbol.for("react.suspense"), o = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), b = Symbol.for("react.lazy"), C = Symbol.for("react.offscreen"), N = Symbol.iterator, L = "@@iterator";
|
|
827
|
+
function F(e) {
|
|
827
828
|
if (e === null || typeof e != "object")
|
|
828
829
|
return null;
|
|
829
|
-
var t =
|
|
830
|
+
var t = N && e[N] || e[L];
|
|
830
831
|
return typeof t == "function" ? t : null;
|
|
831
832
|
}
|
|
832
|
-
var
|
|
833
|
+
var O = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
833
834
|
function p(e) {
|
|
834
835
|
{
|
|
835
|
-
for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0),
|
|
836
|
-
r[
|
|
836
|
+
for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), a = 1; a < t; a++)
|
|
837
|
+
r[a - 1] = arguments[a];
|
|
837
838
|
M("error", e, r);
|
|
838
839
|
}
|
|
839
840
|
}
|
|
840
841
|
function M(e, t, r) {
|
|
841
842
|
{
|
|
842
|
-
var
|
|
843
|
+
var a = O.ReactDebugCurrentFrame, f = a.getStackAddendum();
|
|
843
844
|
f !== "" && (t += "%s", r = r.concat([f]));
|
|
844
845
|
var m = r.map(function(l) {
|
|
845
846
|
return String(l);
|
|
@@ -847,19 +848,19 @@ function lr() {
|
|
|
847
848
|
m.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, m);
|
|
848
849
|
}
|
|
849
850
|
}
|
|
850
|
-
var
|
|
851
|
-
|
|
852
|
-
function
|
|
853
|
-
return !!(typeof e == "string" || typeof e == "function" || e === u || e === S ||
|
|
851
|
+
var K = !1, Y = !1, W = !1, q = !1, I = !1, R;
|
|
852
|
+
R = Symbol.for("react.module.reference");
|
|
853
|
+
function E(e) {
|
|
854
|
+
return !!(typeof e == "string" || typeof e == "function" || e === u || e === S || I || e === y || e === v || e === o || q || e === C || K || Y || W || typeof e == "object" && e !== null && (e.$$typeof === b || e.$$typeof === d || e.$$typeof === D || e.$$typeof === x || e.$$typeof === s || // This needs to include all possible module reference object
|
|
854
855
|
// types supported by any Flight configuration anywhere since
|
|
855
856
|
// we don't know which Flight build this will end up being used
|
|
856
857
|
// with.
|
|
857
|
-
e.$$typeof ===
|
|
858
|
+
e.$$typeof === R || e.getModuleId !== void 0));
|
|
858
859
|
}
|
|
859
|
-
function
|
|
860
|
-
var
|
|
861
|
-
if (
|
|
862
|
-
return
|
|
860
|
+
function A(e, t, r) {
|
|
861
|
+
var a = e.displayName;
|
|
862
|
+
if (a)
|
|
863
|
+
return a;
|
|
863
864
|
var f = t.displayName || t.name || "";
|
|
864
865
|
return f !== "" ? r + "(" + f + ")" : r;
|
|
865
866
|
}
|
|
@@ -892,14 +893,14 @@ function lr() {
|
|
|
892
893
|
case x:
|
|
893
894
|
var t = e;
|
|
894
895
|
return h(t) + ".Consumer";
|
|
895
|
-
case
|
|
896
|
+
case D:
|
|
896
897
|
var r = e;
|
|
897
898
|
return h(r._context) + ".Provider";
|
|
898
899
|
case s:
|
|
899
|
-
return
|
|
900
|
+
return A(e, e.render, "ForwardRef");
|
|
900
901
|
case d:
|
|
901
|
-
var
|
|
902
|
-
return
|
|
902
|
+
var a = e.displayName || null;
|
|
903
|
+
return a !== null ? a : k(e.type) || "Memo";
|
|
903
904
|
case b: {
|
|
904
905
|
var f = e, m = f._payload, l = f._init;
|
|
905
906
|
try {
|
|
@@ -973,15 +974,15 @@ function lr() {
|
|
|
973
974
|
G < 0 && p("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
974
975
|
}
|
|
975
976
|
}
|
|
976
|
-
var le =
|
|
977
|
+
var le = O.ReactCurrentDispatcher, ce;
|
|
977
978
|
function te(e, t, r) {
|
|
978
979
|
{
|
|
979
980
|
if (ce === void 0)
|
|
980
981
|
try {
|
|
981
982
|
throw Error();
|
|
982
983
|
} catch (f) {
|
|
983
|
-
var
|
|
984
|
-
ce =
|
|
984
|
+
var a = f.stack.trim().match(/\n( *(at )?)/);
|
|
985
|
+
ce = a && a[1] || "";
|
|
985
986
|
}
|
|
986
987
|
return `
|
|
987
988
|
` + ce + e;
|
|
@@ -1000,7 +1001,7 @@ function lr() {
|
|
|
1000
1001
|
if (r !== void 0)
|
|
1001
1002
|
return r;
|
|
1002
1003
|
}
|
|
1003
|
-
var
|
|
1004
|
+
var a;
|
|
1004
1005
|
ue = !0;
|
|
1005
1006
|
var f = Error.prepareStackTrace;
|
|
1006
1007
|
Error.prepareStackTrace = void 0;
|
|
@@ -1018,40 +1019,40 @@ function lr() {
|
|
|
1018
1019
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
1019
1020
|
try {
|
|
1020
1021
|
Reflect.construct(l, []);
|
|
1021
|
-
} catch (
|
|
1022
|
-
|
|
1022
|
+
} catch (P) {
|
|
1023
|
+
a = P;
|
|
1023
1024
|
}
|
|
1024
1025
|
Reflect.construct(e, [], l);
|
|
1025
1026
|
} else {
|
|
1026
1027
|
try {
|
|
1027
1028
|
l.call();
|
|
1028
|
-
} catch (
|
|
1029
|
-
|
|
1029
|
+
} catch (P) {
|
|
1030
|
+
a = P;
|
|
1030
1031
|
}
|
|
1031
1032
|
e.call(l.prototype);
|
|
1032
1033
|
}
|
|
1033
1034
|
} else {
|
|
1034
1035
|
try {
|
|
1035
1036
|
throw Error();
|
|
1036
|
-
} catch (
|
|
1037
|
-
|
|
1037
|
+
} catch (P) {
|
|
1038
|
+
a = P;
|
|
1038
1039
|
}
|
|
1039
1040
|
e();
|
|
1040
1041
|
}
|
|
1041
|
-
} catch (
|
|
1042
|
-
if (
|
|
1043
|
-
for (var i =
|
|
1044
|
-
`),
|
|
1045
|
-
`), w = i.length - 1, j =
|
|
1042
|
+
} catch (P) {
|
|
1043
|
+
if (P && a && typeof P.stack == "string") {
|
|
1044
|
+
for (var i = P.stack.split(`
|
|
1045
|
+
`), T = a.stack.split(`
|
|
1046
|
+
`), w = i.length - 1, j = T.length - 1; w >= 1 && j >= 0 && i[w] !== T[j]; )
|
|
1046
1047
|
j--;
|
|
1047
1048
|
for (; w >= 1 && j >= 0; w--, j--)
|
|
1048
|
-
if (i[w] !==
|
|
1049
|
+
if (i[w] !== T[j]) {
|
|
1049
1050
|
if (w !== 1 || j !== 1)
|
|
1050
1051
|
do
|
|
1051
|
-
if (w--, j--, j < 0 || i[w] !==
|
|
1052
|
-
var
|
|
1052
|
+
if (w--, j--, j < 0 || i[w] !== T[j]) {
|
|
1053
|
+
var B = `
|
|
1053
1054
|
` + i[w].replace(" at new ", " at ");
|
|
1054
|
-
return e.displayName &&
|
|
1055
|
+
return e.displayName && B.includes("<anonymous>") && (B = B.replace("<anonymous>", e.displayName)), typeof e == "function" && re.set(e, B), B;
|
|
1055
1056
|
}
|
|
1056
1057
|
while (w >= 1 && j >= 0);
|
|
1057
1058
|
break;
|
|
@@ -1070,7 +1071,7 @@ function lr() {
|
|
|
1070
1071
|
var t = e.prototype;
|
|
1071
1072
|
return !!(t && t.isReactComponent);
|
|
1072
1073
|
}
|
|
1073
|
-
function
|
|
1074
|
+
function ne(e, t, r) {
|
|
1074
1075
|
if (e == null)
|
|
1075
1076
|
return "";
|
|
1076
1077
|
if (typeof e == "function")
|
|
@@ -1088,26 +1089,26 @@ function lr() {
|
|
|
1088
1089
|
case s:
|
|
1089
1090
|
return Ke(e.render);
|
|
1090
1091
|
case d:
|
|
1091
|
-
return
|
|
1092
|
+
return ne(e.type, t, r);
|
|
1092
1093
|
case b: {
|
|
1093
|
-
var
|
|
1094
|
+
var a = e, f = a._payload, m = a._init;
|
|
1094
1095
|
try {
|
|
1095
|
-
return
|
|
1096
|
+
return ne(m(f), t, r);
|
|
1096
1097
|
} catch {
|
|
1097
1098
|
}
|
|
1098
1099
|
}
|
|
1099
1100
|
}
|
|
1100
1101
|
return "";
|
|
1101
1102
|
}
|
|
1102
|
-
var V = Object.prototype.hasOwnProperty, xe = {}, Ce =
|
|
1103
|
-
function
|
|
1103
|
+
var V = Object.prototype.hasOwnProperty, xe = {}, Ce = O.ReactDebugCurrentFrame;
|
|
1104
|
+
function ae(e) {
|
|
1104
1105
|
if (e) {
|
|
1105
|
-
var t = e._owner, r =
|
|
1106
|
+
var t = e._owner, r = ne(e.type, e._source, t ? t.type : null);
|
|
1106
1107
|
Ce.setExtraStackFrame(r);
|
|
1107
1108
|
} else
|
|
1108
1109
|
Ce.setExtraStackFrame(null);
|
|
1109
1110
|
}
|
|
1110
|
-
function Ge(e, t, r,
|
|
1111
|
+
function Ge(e, t, r, a, f) {
|
|
1111
1112
|
{
|
|
1112
1113
|
var m = Function.call.bind(V);
|
|
1113
1114
|
for (var l in e)
|
|
@@ -1115,14 +1116,14 @@ function lr() {
|
|
|
1115
1116
|
var i = void 0;
|
|
1116
1117
|
try {
|
|
1117
1118
|
if (typeof e[l] != "function") {
|
|
1118
|
-
var
|
|
1119
|
-
throw
|
|
1119
|
+
var T = Error((a || "React class") + ": " + r + " type `" + l + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[l] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
1120
|
+
throw T.name = "Invariant Violation", T;
|
|
1120
1121
|
}
|
|
1121
|
-
i = e[l](t, l,
|
|
1122
|
+
i = e[l](t, l, a, r, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
1122
1123
|
} catch (w) {
|
|
1123
1124
|
i = w;
|
|
1124
1125
|
}
|
|
1125
|
-
i && !(i instanceof Error) && (
|
|
1126
|
+
i && !(i instanceof Error) && (ae(f), p("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", a || "React class", r, l, typeof i), ae(null)), i instanceof Error && !(i.message in xe) && (xe[i.message] = !0, ae(f), p("Failed %s type: %s", r, i.message), ae(null));
|
|
1126
1127
|
}
|
|
1127
1128
|
}
|
|
1128
1129
|
}
|
|
@@ -1150,7 +1151,7 @@ function lr() {
|
|
|
1150
1151
|
if (Je(e))
|
|
1151
1152
|
return p("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", He(e)), Se(e);
|
|
1152
1153
|
}
|
|
1153
|
-
var Ee =
|
|
1154
|
+
var Ee = O.ReactCurrentOwner, Ze = {
|
|
1154
1155
|
key: !0,
|
|
1155
1156
|
ref: !0,
|
|
1156
1157
|
__self: !0,
|
|
@@ -1197,7 +1198,7 @@ function lr() {
|
|
|
1197
1198
|
});
|
|
1198
1199
|
}
|
|
1199
1200
|
}
|
|
1200
|
-
var rt = function(e, t, r,
|
|
1201
|
+
var rt = function(e, t, r, a, f, m, l) {
|
|
1201
1202
|
var i = {
|
|
1202
1203
|
// This tag allows us to uniquely identify this as a React Element
|
|
1203
1204
|
$$typeof: _,
|
|
@@ -1218,7 +1219,7 @@ function lr() {
|
|
|
1218
1219
|
configurable: !1,
|
|
1219
1220
|
enumerable: !1,
|
|
1220
1221
|
writable: !1,
|
|
1221
|
-
value:
|
|
1222
|
+
value: a
|
|
1222
1223
|
}), Object.defineProperty(i, "_source", {
|
|
1223
1224
|
configurable: !1,
|
|
1224
1225
|
enumerable: !1,
|
|
@@ -1226,10 +1227,10 @@ function lr() {
|
|
|
1226
1227
|
value: f
|
|
1227
1228
|
}), Object.freeze && (Object.freeze(i.props), Object.freeze(i)), i;
|
|
1228
1229
|
};
|
|
1229
|
-
function
|
|
1230
|
+
function nt(e, t, r, a, f) {
|
|
1230
1231
|
{
|
|
1231
|
-
var m, l = {}, i = null,
|
|
1232
|
-
r !== void 0 && (Re(r), i = "" + r), Xe(t) && (Re(t.key), i = "" + t.key), Ve(t) && (
|
|
1232
|
+
var m, l = {}, i = null, T = null;
|
|
1233
|
+
r !== void 0 && (Re(r), i = "" + r), Xe(t) && (Re(t.key), i = "" + t.key), Ve(t) && (T = t.ref, Qe(t));
|
|
1233
1234
|
for (m in t)
|
|
1234
1235
|
V.call(t, m) && !Ze.hasOwnProperty(m) && (l[m] = t[m]);
|
|
1235
1236
|
if (e && e.defaultProps) {
|
|
@@ -1237,17 +1238,17 @@ function lr() {
|
|
|
1237
1238
|
for (m in w)
|
|
1238
1239
|
l[m] === void 0 && (l[m] = w[m]);
|
|
1239
1240
|
}
|
|
1240
|
-
if (i ||
|
|
1241
|
+
if (i || T) {
|
|
1241
1242
|
var j = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
1242
|
-
i && et(l, j),
|
|
1243
|
+
i && et(l, j), T && tt(l, j);
|
|
1243
1244
|
}
|
|
1244
|
-
return rt(e, i,
|
|
1245
|
+
return rt(e, i, T, f, a, Ee.current, l);
|
|
1245
1246
|
}
|
|
1246
1247
|
}
|
|
1247
|
-
var fe =
|
|
1248
|
+
var fe = O.ReactCurrentOwner, De = O.ReactDebugCurrentFrame;
|
|
1248
1249
|
function J(e) {
|
|
1249
1250
|
if (e) {
|
|
1250
|
-
var t = e._owner, r =
|
|
1251
|
+
var t = e._owner, r = ne(e.type, e._source, t ? t.type : null);
|
|
1251
1252
|
De.setExtraStackFrame(r);
|
|
1252
1253
|
} else
|
|
1253
1254
|
De.setExtraStackFrame(null);
|
|
@@ -1269,7 +1270,7 @@ Check the render method of \`` + e + "`.";
|
|
|
1269
1270
|
return "";
|
|
1270
1271
|
}
|
|
1271
1272
|
}
|
|
1272
|
-
function
|
|
1273
|
+
function at(e) {
|
|
1273
1274
|
return "";
|
|
1274
1275
|
}
|
|
1275
1276
|
var Ne = {};
|
|
@@ -1294,8 +1295,8 @@ Check the top-level render call using <` + r + ">.");
|
|
|
1294
1295
|
if (Ne[r])
|
|
1295
1296
|
return;
|
|
1296
1297
|
Ne[r] = !0;
|
|
1297
|
-
var
|
|
1298
|
-
e && e._owner && e._owner !== fe.current && (
|
|
1298
|
+
var a = "";
|
|
1299
|
+
e && e._owner && e._owner !== fe.current && (a = " It was passed a child from " + k(e._owner.type) + "."), J(e), p('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', r, a), J(null);
|
|
1299
1300
|
}
|
|
1300
1301
|
}
|
|
1301
1302
|
function Ie(e, t) {
|
|
@@ -1304,13 +1305,13 @@ Check the top-level render call using <` + r + ">.");
|
|
|
1304
1305
|
return;
|
|
1305
1306
|
if (de(e))
|
|
1306
1307
|
for (var r = 0; r < e.length; r++) {
|
|
1307
|
-
var
|
|
1308
|
-
me(
|
|
1308
|
+
var a = e[r];
|
|
1309
|
+
me(a) && Fe(a, t);
|
|
1309
1310
|
}
|
|
1310
1311
|
else if (me(e))
|
|
1311
1312
|
e._store && (e._store.validated = !0);
|
|
1312
1313
|
else if (e) {
|
|
1313
|
-
var f =
|
|
1314
|
+
var f = F(e);
|
|
1314
1315
|
if (typeof f == "function" && f !== e.entries)
|
|
1315
1316
|
for (var m = f.call(e), l; !(l = m.next()).done; )
|
|
1316
1317
|
me(l.value) && Fe(l.value, t);
|
|
@@ -1332,8 +1333,8 @@ Check the top-level render call using <` + r + ">.");
|
|
|
1332
1333
|
else
|
|
1333
1334
|
return;
|
|
1334
1335
|
if (r) {
|
|
1335
|
-
var
|
|
1336
|
-
Ge(r, e.props, "prop",
|
|
1336
|
+
var a = k(t);
|
|
1337
|
+
Ge(r, e.props, "prop", a, e);
|
|
1337
1338
|
} else if (t.PropTypes !== void 0 && !pe) {
|
|
1338
1339
|
pe = !0;
|
|
1339
1340
|
var f = k(t);
|
|
@@ -1345,9 +1346,9 @@ Check the top-level render call using <` + r + ">.");
|
|
|
1345
1346
|
function it(e) {
|
|
1346
1347
|
{
|
|
1347
1348
|
for (var t = Object.keys(e.props), r = 0; r < t.length; r++) {
|
|
1348
|
-
var
|
|
1349
|
-
if (
|
|
1350
|
-
J(e), p("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",
|
|
1349
|
+
var a = t[r];
|
|
1350
|
+
if (a !== "children" && a !== "key") {
|
|
1351
|
+
J(e), p("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", a), J(null);
|
|
1351
1352
|
break;
|
|
1352
1353
|
}
|
|
1353
1354
|
}
|
|
@@ -1355,39 +1356,39 @@ Check the top-level render call using <` + r + ">.");
|
|
|
1355
1356
|
}
|
|
1356
1357
|
}
|
|
1357
1358
|
var Me = {};
|
|
1358
|
-
function $e(e, t, r,
|
|
1359
|
+
function $e(e, t, r, a, f, m) {
|
|
1359
1360
|
{
|
|
1360
|
-
var l =
|
|
1361
|
+
var l = E(e);
|
|
1361
1362
|
if (!l) {
|
|
1362
1363
|
var i = "";
|
|
1363
1364
|
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (i += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
1364
|
-
var
|
|
1365
|
-
|
|
1365
|
+
var T = at();
|
|
1366
|
+
T ? i += T : i += Pe();
|
|
1366
1367
|
var w;
|
|
1367
1368
|
e === null ? w = "null" : de(e) ? w = "array" : e !== void 0 && e.$$typeof === _ ? (w = "<" + (k(e.type) || "Unknown") + " />", i = " Did you accidentally export a JSX literal instead of a component?") : w = typeof e, p("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", w, i);
|
|
1368
1369
|
}
|
|
1369
|
-
var j =
|
|
1370
|
+
var j = nt(e, t, r, f, m);
|
|
1370
1371
|
if (j == null)
|
|
1371
1372
|
return j;
|
|
1372
1373
|
if (l) {
|
|
1373
|
-
var
|
|
1374
|
-
if (
|
|
1375
|
-
if (
|
|
1376
|
-
if (de(
|
|
1377
|
-
for (var Z = 0; Z <
|
|
1378
|
-
Ie(
|
|
1379
|
-
Object.freeze && Object.freeze(
|
|
1374
|
+
var B = t.children;
|
|
1375
|
+
if (B !== void 0)
|
|
1376
|
+
if (a)
|
|
1377
|
+
if (de(B)) {
|
|
1378
|
+
for (var Z = 0; Z < B.length; Z++)
|
|
1379
|
+
Ie(B[Z], e);
|
|
1380
|
+
Object.freeze && Object.freeze(B);
|
|
1380
1381
|
} else
|
|
1381
1382
|
p("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
1382
1383
|
else
|
|
1383
|
-
Ie(
|
|
1384
|
+
Ie(B, e);
|
|
1384
1385
|
}
|
|
1385
1386
|
if (V.call(t, "key")) {
|
|
1386
|
-
var z = k(e),
|
|
1387
|
+
var z = k(e), P = Object.keys(t).filter(function(ft) {
|
|
1387
1388
|
return ft !== "key";
|
|
1388
|
-
}), ye =
|
|
1389
|
+
}), ye = P.length > 0 ? "{key: someKey, " + P.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
1389
1390
|
if (!Me[z + ye]) {
|
|
1390
|
-
var dt =
|
|
1391
|
+
var dt = P.length > 0 ? "{" + P.join(": ..., ") + ": ...}" : "{}";
|
|
1391
1392
|
p(`A props object containing a "key" prop is being spread into JSX:
|
|
1392
1393
|
let props = %s;
|
|
1393
1394
|
<%s {...props} />
|
|
@@ -1435,26 +1436,26 @@ const cr = "_shake_oqfdb_1", ur = "_modal_oqfdb_79", dr = "_sa_oqfdb_89", fr = "
|
|
|
1435
1436
|
g: Tr,
|
|
1436
1437
|
m: Dr
|
|
1437
1438
|
};
|
|
1438
|
-
function Pr({ children:
|
|
1439
|
+
function Pr({ children: n, className: _ }) {
|
|
1439
1440
|
return /* @__PURE__ */ H.jsx(
|
|
1440
1441
|
"div",
|
|
1441
1442
|
{
|
|
1442
1443
|
className: [ie.l, _].filter((c) => c !== void 0).join(" "),
|
|
1443
|
-
children: /* @__PURE__ */ H.jsx("ul", { children:
|
|
1444
|
+
children: /* @__PURE__ */ H.jsx("ul", { children: n })
|
|
1444
1445
|
}
|
|
1445
1446
|
);
|
|
1446
1447
|
}
|
|
1447
|
-
function Nr({ children:
|
|
1448
|
+
function Nr({ children: n, className: _ }) {
|
|
1448
1449
|
return /* @__PURE__ */ H.jsx(
|
|
1449
1450
|
"div",
|
|
1450
1451
|
{
|
|
1451
1452
|
className: [ie.s, _].filter((c) => c !== void 0).join(" "),
|
|
1452
|
-
children:
|
|
1453
|
+
children: n
|
|
1453
1454
|
}
|
|
1454
1455
|
);
|
|
1455
1456
|
}
|
|
1456
1457
|
function Fr({
|
|
1457
|
-
children:
|
|
1458
|
+
children: n,
|
|
1458
1459
|
direction: _ = "column",
|
|
1459
1460
|
className: c
|
|
1460
1461
|
}) {
|
|
@@ -1466,32 +1467,32 @@ function Fr({
|
|
|
1466
1467
|
ie[_ === "row" ? "r_" : "c_"],
|
|
1467
1468
|
c
|
|
1468
1469
|
].filter((u) => u !== void 0).join(" "),
|
|
1469
|
-
children:
|
|
1470
|
+
children: n
|
|
1470
1471
|
}
|
|
1471
1472
|
);
|
|
1472
1473
|
}
|
|
1473
|
-
function Ir({ children:
|
|
1474
|
+
function Ir({ children: n, className: _ }) {
|
|
1474
1475
|
return /* @__PURE__ */ H.jsx(
|
|
1475
1476
|
"div",
|
|
1476
1477
|
{
|
|
1477
1478
|
className: [ie.c, _].filter((c) => c !== void 0).join(" "),
|
|
1478
|
-
children:
|
|
1479
|
+
children: n
|
|
1479
1480
|
}
|
|
1480
1481
|
);
|
|
1481
1482
|
}
|
|
1482
|
-
function Mr({ children:
|
|
1483
|
+
function Mr({ children: n, className: _ }) {
|
|
1483
1484
|
return /* @__PURE__ */ H.jsx(
|
|
1484
1485
|
"div",
|
|
1485
1486
|
{
|
|
1486
1487
|
className: [ie.g, _].filter((c) => c !== void 0).join(" "),
|
|
1487
|
-
children:
|
|
1488
|
+
children: n
|
|
1488
1489
|
}
|
|
1489
1490
|
);
|
|
1490
1491
|
}
|
|
1491
1492
|
function $r() {
|
|
1492
1493
|
return typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof self < "u" ? self : typeof global < "u" ? global : {};
|
|
1493
1494
|
}
|
|
1494
|
-
function Wt(
|
|
1495
|
+
function Wt(n) {
|
|
1495
1496
|
return $r().IMPORT_MODULES;
|
|
1496
1497
|
}
|
|
1497
1498
|
var Pt = { exports: {} }, gt = {};
|
|
@@ -1508,15 +1509,15 @@ var Ut;
|
|
|
1508
1509
|
function Ar() {
|
|
1509
1510
|
if (Ut) return gt;
|
|
1510
1511
|
Ut = 1;
|
|
1511
|
-
var
|
|
1512
|
-
function
|
|
1512
|
+
var n = U, _ = Symbol.for("react.element"), c = Symbol.for("react.fragment"), u = Object.prototype.hasOwnProperty, y = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, S = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
1513
|
+
function D(x, s, v) {
|
|
1513
1514
|
var o, d = {}, b = null, C = null;
|
|
1514
1515
|
v !== void 0 && (b = "" + v), s.key !== void 0 && (b = "" + s.key), s.ref !== void 0 && (C = s.ref);
|
|
1515
1516
|
for (o in s) u.call(s, o) && !S.hasOwnProperty(o) && (d[o] = s[o]);
|
|
1516
1517
|
if (x && x.defaultProps) for (o in s = x.defaultProps, s) d[o] === void 0 && (d[o] = s[o]);
|
|
1517
1518
|
return { $$typeof: _, type: x, key: b, ref: C, props: d, _owner: y.current };
|
|
1518
1519
|
}
|
|
1519
|
-
return gt.Fragment = c, gt.jsx =
|
|
1520
|
+
return gt.Fragment = c, gt.jsx = D, gt.jsxs = D, gt;
|
|
1520
1521
|
}
|
|
1521
1522
|
var wt = {};
|
|
1522
1523
|
/**
|
|
@@ -1531,24 +1532,24 @@ var wt = {};
|
|
|
1531
1532
|
var qt;
|
|
1532
1533
|
function Br() {
|
|
1533
1534
|
return qt || (qt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
1534
|
-
var
|
|
1535
|
-
function
|
|
1535
|
+
var n = U, _ = Symbol.for("react.element"), c = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), y = Symbol.for("react.strict_mode"), S = Symbol.for("react.profiler"), D = Symbol.for("react.provider"), x = Symbol.for("react.context"), s = Symbol.for("react.forward_ref"), v = Symbol.for("react.suspense"), o = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), b = Symbol.for("react.lazy"), C = Symbol.for("react.offscreen"), N = Symbol.iterator, L = "@@iterator";
|
|
1536
|
+
function F(e) {
|
|
1536
1537
|
if (e === null || typeof e != "object")
|
|
1537
1538
|
return null;
|
|
1538
|
-
var t =
|
|
1539
|
+
var t = N && e[N] || e[L];
|
|
1539
1540
|
return typeof t == "function" ? t : null;
|
|
1540
1541
|
}
|
|
1541
|
-
var
|
|
1542
|
+
var O = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
1542
1543
|
function p(e) {
|
|
1543
1544
|
{
|
|
1544
|
-
for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0),
|
|
1545
|
-
r[
|
|
1545
|
+
for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), a = 1; a < t; a++)
|
|
1546
|
+
r[a - 1] = arguments[a];
|
|
1546
1547
|
M("error", e, r);
|
|
1547
1548
|
}
|
|
1548
1549
|
}
|
|
1549
1550
|
function M(e, t, r) {
|
|
1550
1551
|
{
|
|
1551
|
-
var
|
|
1552
|
+
var a = O.ReactDebugCurrentFrame, f = a.getStackAddendum();
|
|
1552
1553
|
f !== "" && (t += "%s", r = r.concat([f]));
|
|
1553
1554
|
var m = r.map(function(l) {
|
|
1554
1555
|
return String(l);
|
|
@@ -1556,19 +1557,19 @@ function Br() {
|
|
|
1556
1557
|
m.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, m);
|
|
1557
1558
|
}
|
|
1558
1559
|
}
|
|
1559
|
-
var
|
|
1560
|
-
|
|
1561
|
-
function
|
|
1562
|
-
return !!(typeof e == "string" || typeof e == "function" || e === u || e === S ||
|
|
1560
|
+
var K = !1, Y = !1, W = !1, q = !1, I = !1, R;
|
|
1561
|
+
R = Symbol.for("react.module.reference");
|
|
1562
|
+
function E(e) {
|
|
1563
|
+
return !!(typeof e == "string" || typeof e == "function" || e === u || e === S || I || e === y || e === v || e === o || q || e === C || K || Y || W || typeof e == "object" && e !== null && (e.$$typeof === b || e.$$typeof === d || e.$$typeof === D || e.$$typeof === x || e.$$typeof === s || // This needs to include all possible module reference object
|
|
1563
1564
|
// types supported by any Flight configuration anywhere since
|
|
1564
1565
|
// we don't know which Flight build this will end up being used
|
|
1565
1566
|
// with.
|
|
1566
|
-
e.$$typeof ===
|
|
1567
|
+
e.$$typeof === R || e.getModuleId !== void 0));
|
|
1567
1568
|
}
|
|
1568
|
-
function
|
|
1569
|
-
var
|
|
1570
|
-
if (
|
|
1571
|
-
return
|
|
1569
|
+
function A(e, t, r) {
|
|
1570
|
+
var a = e.displayName;
|
|
1571
|
+
if (a)
|
|
1572
|
+
return a;
|
|
1572
1573
|
var f = t.displayName || t.name || "";
|
|
1573
1574
|
return f !== "" ? r + "(" + f + ")" : r;
|
|
1574
1575
|
}
|
|
@@ -1601,14 +1602,14 @@ function Br() {
|
|
|
1601
1602
|
case x:
|
|
1602
1603
|
var t = e;
|
|
1603
1604
|
return h(t) + ".Consumer";
|
|
1604
|
-
case
|
|
1605
|
+
case D:
|
|
1605
1606
|
var r = e;
|
|
1606
1607
|
return h(r._context) + ".Provider";
|
|
1607
1608
|
case s:
|
|
1608
|
-
return
|
|
1609
|
+
return A(e, e.render, "ForwardRef");
|
|
1609
1610
|
case d:
|
|
1610
|
-
var
|
|
1611
|
-
return
|
|
1611
|
+
var a = e.displayName || null;
|
|
1612
|
+
return a !== null ? a : k(e.type) || "Memo";
|
|
1612
1613
|
case b: {
|
|
1613
1614
|
var f = e, m = f._payload, l = f._init;
|
|
1614
1615
|
try {
|
|
@@ -1682,15 +1683,15 @@ function Br() {
|
|
|
1682
1683
|
G < 0 && p("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
1683
1684
|
}
|
|
1684
1685
|
}
|
|
1685
|
-
var le =
|
|
1686
|
+
var le = O.ReactCurrentDispatcher, ce;
|
|
1686
1687
|
function te(e, t, r) {
|
|
1687
1688
|
{
|
|
1688
1689
|
if (ce === void 0)
|
|
1689
1690
|
try {
|
|
1690
1691
|
throw Error();
|
|
1691
1692
|
} catch (f) {
|
|
1692
|
-
var
|
|
1693
|
-
ce =
|
|
1693
|
+
var a = f.stack.trim().match(/\n( *(at )?)/);
|
|
1694
|
+
ce = a && a[1] || "";
|
|
1694
1695
|
}
|
|
1695
1696
|
return `
|
|
1696
1697
|
` + ce + e;
|
|
@@ -1709,7 +1710,7 @@ function Br() {
|
|
|
1709
1710
|
if (r !== void 0)
|
|
1710
1711
|
return r;
|
|
1711
1712
|
}
|
|
1712
|
-
var
|
|
1713
|
+
var a;
|
|
1713
1714
|
ue = !0;
|
|
1714
1715
|
var f = Error.prepareStackTrace;
|
|
1715
1716
|
Error.prepareStackTrace = void 0;
|
|
@@ -1727,40 +1728,40 @@ function Br() {
|
|
|
1727
1728
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
1728
1729
|
try {
|
|
1729
1730
|
Reflect.construct(l, []);
|
|
1730
|
-
} catch (
|
|
1731
|
-
|
|
1731
|
+
} catch (P) {
|
|
1732
|
+
a = P;
|
|
1732
1733
|
}
|
|
1733
1734
|
Reflect.construct(e, [], l);
|
|
1734
1735
|
} else {
|
|
1735
1736
|
try {
|
|
1736
1737
|
l.call();
|
|
1737
|
-
} catch (
|
|
1738
|
-
|
|
1738
|
+
} catch (P) {
|
|
1739
|
+
a = P;
|
|
1739
1740
|
}
|
|
1740
1741
|
e.call(l.prototype);
|
|
1741
1742
|
}
|
|
1742
1743
|
} else {
|
|
1743
1744
|
try {
|
|
1744
1745
|
throw Error();
|
|
1745
|
-
} catch (
|
|
1746
|
-
|
|
1746
|
+
} catch (P) {
|
|
1747
|
+
a = P;
|
|
1747
1748
|
}
|
|
1748
1749
|
e();
|
|
1749
1750
|
}
|
|
1750
|
-
} catch (
|
|
1751
|
-
if (
|
|
1752
|
-
for (var i =
|
|
1753
|
-
`),
|
|
1754
|
-
`), w = i.length - 1, j =
|
|
1751
|
+
} catch (P) {
|
|
1752
|
+
if (P && a && typeof P.stack == "string") {
|
|
1753
|
+
for (var i = P.stack.split(`
|
|
1754
|
+
`), T = a.stack.split(`
|
|
1755
|
+
`), w = i.length - 1, j = T.length - 1; w >= 1 && j >= 0 && i[w] !== T[j]; )
|
|
1755
1756
|
j--;
|
|
1756
1757
|
for (; w >= 1 && j >= 0; w--, j--)
|
|
1757
|
-
if (i[w] !==
|
|
1758
|
+
if (i[w] !== T[j]) {
|
|
1758
1759
|
if (w !== 1 || j !== 1)
|
|
1759
1760
|
do
|
|
1760
|
-
if (w--, j--, j < 0 || i[w] !==
|
|
1761
|
-
var
|
|
1761
|
+
if (w--, j--, j < 0 || i[w] !== T[j]) {
|
|
1762
|
+
var B = `
|
|
1762
1763
|
` + i[w].replace(" at new ", " at ");
|
|
1763
|
-
return e.displayName &&
|
|
1764
|
+
return e.displayName && B.includes("<anonymous>") && (B = B.replace("<anonymous>", e.displayName)), typeof e == "function" && re.set(e, B), B;
|
|
1764
1765
|
}
|
|
1765
1766
|
while (w >= 1 && j >= 0);
|
|
1766
1767
|
break;
|
|
@@ -1779,7 +1780,7 @@ function Br() {
|
|
|
1779
1780
|
var t = e.prototype;
|
|
1780
1781
|
return !!(t && t.isReactComponent);
|
|
1781
1782
|
}
|
|
1782
|
-
function
|
|
1783
|
+
function ne(e, t, r) {
|
|
1783
1784
|
if (e == null)
|
|
1784
1785
|
return "";
|
|
1785
1786
|
if (typeof e == "function")
|
|
@@ -1797,26 +1798,26 @@ function Br() {
|
|
|
1797
1798
|
case s:
|
|
1798
1799
|
return Ke(e.render);
|
|
1799
1800
|
case d:
|
|
1800
|
-
return
|
|
1801
|
+
return ne(e.type, t, r);
|
|
1801
1802
|
case b: {
|
|
1802
|
-
var
|
|
1803
|
+
var a = e, f = a._payload, m = a._init;
|
|
1803
1804
|
try {
|
|
1804
|
-
return
|
|
1805
|
+
return ne(m(f), t, r);
|
|
1805
1806
|
} catch {
|
|
1806
1807
|
}
|
|
1807
1808
|
}
|
|
1808
1809
|
}
|
|
1809
1810
|
return "";
|
|
1810
1811
|
}
|
|
1811
|
-
var V = Object.prototype.hasOwnProperty, xe = {}, Ce =
|
|
1812
|
-
function
|
|
1812
|
+
var V = Object.prototype.hasOwnProperty, xe = {}, Ce = O.ReactDebugCurrentFrame;
|
|
1813
|
+
function ae(e) {
|
|
1813
1814
|
if (e) {
|
|
1814
|
-
var t = e._owner, r =
|
|
1815
|
+
var t = e._owner, r = ne(e.type, e._source, t ? t.type : null);
|
|
1815
1816
|
Ce.setExtraStackFrame(r);
|
|
1816
1817
|
} else
|
|
1817
1818
|
Ce.setExtraStackFrame(null);
|
|
1818
1819
|
}
|
|
1819
|
-
function Ge(e, t, r,
|
|
1820
|
+
function Ge(e, t, r, a, f) {
|
|
1820
1821
|
{
|
|
1821
1822
|
var m = Function.call.bind(V);
|
|
1822
1823
|
for (var l in e)
|
|
@@ -1824,14 +1825,14 @@ function Br() {
|
|
|
1824
1825
|
var i = void 0;
|
|
1825
1826
|
try {
|
|
1826
1827
|
if (typeof e[l] != "function") {
|
|
1827
|
-
var
|
|
1828
|
-
throw
|
|
1828
|
+
var T = Error((a || "React class") + ": " + r + " type `" + l + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[l] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
1829
|
+
throw T.name = "Invariant Violation", T;
|
|
1829
1830
|
}
|
|
1830
|
-
i = e[l](t, l,
|
|
1831
|
+
i = e[l](t, l, a, r, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
1831
1832
|
} catch (w) {
|
|
1832
1833
|
i = w;
|
|
1833
1834
|
}
|
|
1834
|
-
i && !(i instanceof Error) && (
|
|
1835
|
+
i && !(i instanceof Error) && (ae(f), p("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", a || "React class", r, l, typeof i), ae(null)), i instanceof Error && !(i.message in xe) && (xe[i.message] = !0, ae(f), p("Failed %s type: %s", r, i.message), ae(null));
|
|
1835
1836
|
}
|
|
1836
1837
|
}
|
|
1837
1838
|
}
|
|
@@ -1859,7 +1860,7 @@ function Br() {
|
|
|
1859
1860
|
if (Je(e))
|
|
1860
1861
|
return p("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", He(e)), Se(e);
|
|
1861
1862
|
}
|
|
1862
|
-
var Ee =
|
|
1863
|
+
var Ee = O.ReactCurrentOwner, Ze = {
|
|
1863
1864
|
key: !0,
|
|
1864
1865
|
ref: !0,
|
|
1865
1866
|
__self: !0,
|
|
@@ -1906,7 +1907,7 @@ function Br() {
|
|
|
1906
1907
|
});
|
|
1907
1908
|
}
|
|
1908
1909
|
}
|
|
1909
|
-
var rt = function(e, t, r,
|
|
1910
|
+
var rt = function(e, t, r, a, f, m, l) {
|
|
1910
1911
|
var i = {
|
|
1911
1912
|
// This tag allows us to uniquely identify this as a React Element
|
|
1912
1913
|
$$typeof: _,
|
|
@@ -1927,7 +1928,7 @@ function Br() {
|
|
|
1927
1928
|
configurable: !1,
|
|
1928
1929
|
enumerable: !1,
|
|
1929
1930
|
writable: !1,
|
|
1930
|
-
value:
|
|
1931
|
+
value: a
|
|
1931
1932
|
}), Object.defineProperty(i, "_source", {
|
|
1932
1933
|
configurable: !1,
|
|
1933
1934
|
enumerable: !1,
|
|
@@ -1935,10 +1936,10 @@ function Br() {
|
|
|
1935
1936
|
value: f
|
|
1936
1937
|
}), Object.freeze && (Object.freeze(i.props), Object.freeze(i)), i;
|
|
1937
1938
|
};
|
|
1938
|
-
function
|
|
1939
|
+
function nt(e, t, r, a, f) {
|
|
1939
1940
|
{
|
|
1940
|
-
var m, l = {}, i = null,
|
|
1941
|
-
r !== void 0 && (Re(r), i = "" + r), Xe(t) && (Re(t.key), i = "" + t.key), Ve(t) && (
|
|
1941
|
+
var m, l = {}, i = null, T = null;
|
|
1942
|
+
r !== void 0 && (Re(r), i = "" + r), Xe(t) && (Re(t.key), i = "" + t.key), Ve(t) && (T = t.ref, Qe(t));
|
|
1942
1943
|
for (m in t)
|
|
1943
1944
|
V.call(t, m) && !Ze.hasOwnProperty(m) && (l[m] = t[m]);
|
|
1944
1945
|
if (e && e.defaultProps) {
|
|
@@ -1946,17 +1947,17 @@ function Br() {
|
|
|
1946
1947
|
for (m in w)
|
|
1947
1948
|
l[m] === void 0 && (l[m] = w[m]);
|
|
1948
1949
|
}
|
|
1949
|
-
if (i ||
|
|
1950
|
+
if (i || T) {
|
|
1950
1951
|
var j = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
1951
|
-
i && et(l, j),
|
|
1952
|
+
i && et(l, j), T && tt(l, j);
|
|
1952
1953
|
}
|
|
1953
|
-
return rt(e, i,
|
|
1954
|
+
return rt(e, i, T, f, a, Ee.current, l);
|
|
1954
1955
|
}
|
|
1955
1956
|
}
|
|
1956
|
-
var fe =
|
|
1957
|
+
var fe = O.ReactCurrentOwner, De = O.ReactDebugCurrentFrame;
|
|
1957
1958
|
function J(e) {
|
|
1958
1959
|
if (e) {
|
|
1959
|
-
var t = e._owner, r =
|
|
1960
|
+
var t = e._owner, r = ne(e.type, e._source, t ? t.type : null);
|
|
1960
1961
|
De.setExtraStackFrame(r);
|
|
1961
1962
|
} else
|
|
1962
1963
|
De.setExtraStackFrame(null);
|
|
@@ -1978,7 +1979,7 @@ Check the render method of \`` + e + "`.";
|
|
|
1978
1979
|
return "";
|
|
1979
1980
|
}
|
|
1980
1981
|
}
|
|
1981
|
-
function
|
|
1982
|
+
function at(e) {
|
|
1982
1983
|
return "";
|
|
1983
1984
|
}
|
|
1984
1985
|
var Ne = {};
|
|
@@ -2003,8 +2004,8 @@ Check the top-level render call using <` + r + ">.");
|
|
|
2003
2004
|
if (Ne[r])
|
|
2004
2005
|
return;
|
|
2005
2006
|
Ne[r] = !0;
|
|
2006
|
-
var
|
|
2007
|
-
e && e._owner && e._owner !== fe.current && (
|
|
2007
|
+
var a = "";
|
|
2008
|
+
e && e._owner && e._owner !== fe.current && (a = " It was passed a child from " + k(e._owner.type) + "."), J(e), p('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', r, a), J(null);
|
|
2008
2009
|
}
|
|
2009
2010
|
}
|
|
2010
2011
|
function Ie(e, t) {
|
|
@@ -2013,13 +2014,13 @@ Check the top-level render call using <` + r + ">.");
|
|
|
2013
2014
|
return;
|
|
2014
2015
|
if (de(e))
|
|
2015
2016
|
for (var r = 0; r < e.length; r++) {
|
|
2016
|
-
var
|
|
2017
|
-
me(
|
|
2017
|
+
var a = e[r];
|
|
2018
|
+
me(a) && Fe(a, t);
|
|
2018
2019
|
}
|
|
2019
2020
|
else if (me(e))
|
|
2020
2021
|
e._store && (e._store.validated = !0);
|
|
2021
2022
|
else if (e) {
|
|
2022
|
-
var f =
|
|
2023
|
+
var f = F(e);
|
|
2023
2024
|
if (typeof f == "function" && f !== e.entries)
|
|
2024
2025
|
for (var m = f.call(e), l; !(l = m.next()).done; )
|
|
2025
2026
|
me(l.value) && Fe(l.value, t);
|
|
@@ -2041,8 +2042,8 @@ Check the top-level render call using <` + r + ">.");
|
|
|
2041
2042
|
else
|
|
2042
2043
|
return;
|
|
2043
2044
|
if (r) {
|
|
2044
|
-
var
|
|
2045
|
-
Ge(r, e.props, "prop",
|
|
2045
|
+
var a = k(t);
|
|
2046
|
+
Ge(r, e.props, "prop", a, e);
|
|
2046
2047
|
} else if (t.PropTypes !== void 0 && !pe) {
|
|
2047
2048
|
pe = !0;
|
|
2048
2049
|
var f = k(t);
|
|
@@ -2054,9 +2055,9 @@ Check the top-level render call using <` + r + ">.");
|
|
|
2054
2055
|
function it(e) {
|
|
2055
2056
|
{
|
|
2056
2057
|
for (var t = Object.keys(e.props), r = 0; r < t.length; r++) {
|
|
2057
|
-
var
|
|
2058
|
-
if (
|
|
2059
|
-
J(e), p("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",
|
|
2058
|
+
var a = t[r];
|
|
2059
|
+
if (a !== "children" && a !== "key") {
|
|
2060
|
+
J(e), p("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", a), J(null);
|
|
2060
2061
|
break;
|
|
2061
2062
|
}
|
|
2062
2063
|
}
|
|
@@ -2064,39 +2065,39 @@ Check the top-level render call using <` + r + ">.");
|
|
|
2064
2065
|
}
|
|
2065
2066
|
}
|
|
2066
2067
|
var Me = {};
|
|
2067
|
-
function $e(e, t, r,
|
|
2068
|
+
function $e(e, t, r, a, f, m) {
|
|
2068
2069
|
{
|
|
2069
|
-
var l =
|
|
2070
|
+
var l = E(e);
|
|
2070
2071
|
if (!l) {
|
|
2071
2072
|
var i = "";
|
|
2072
2073
|
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (i += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
2073
|
-
var
|
|
2074
|
-
|
|
2074
|
+
var T = at();
|
|
2075
|
+
T ? i += T : i += Pe();
|
|
2075
2076
|
var w;
|
|
2076
2077
|
e === null ? w = "null" : de(e) ? w = "array" : e !== void 0 && e.$$typeof === _ ? (w = "<" + (k(e.type) || "Unknown") + " />", i = " Did you accidentally export a JSX literal instead of a component?") : w = typeof e, p("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", w, i);
|
|
2077
2078
|
}
|
|
2078
|
-
var j =
|
|
2079
|
+
var j = nt(e, t, r, f, m);
|
|
2079
2080
|
if (j == null)
|
|
2080
2081
|
return j;
|
|
2081
2082
|
if (l) {
|
|
2082
|
-
var
|
|
2083
|
-
if (
|
|
2084
|
-
if (
|
|
2085
|
-
if (de(
|
|
2086
|
-
for (var Z = 0; Z <
|
|
2087
|
-
Ie(
|
|
2088
|
-
Object.freeze && Object.freeze(
|
|
2083
|
+
var B = t.children;
|
|
2084
|
+
if (B !== void 0)
|
|
2085
|
+
if (a)
|
|
2086
|
+
if (de(B)) {
|
|
2087
|
+
for (var Z = 0; Z < B.length; Z++)
|
|
2088
|
+
Ie(B[Z], e);
|
|
2089
|
+
Object.freeze && Object.freeze(B);
|
|
2089
2090
|
} else
|
|
2090
2091
|
p("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
2091
2092
|
else
|
|
2092
|
-
Ie(
|
|
2093
|
+
Ie(B, e);
|
|
2093
2094
|
}
|
|
2094
2095
|
if (V.call(t, "key")) {
|
|
2095
|
-
var z = k(e),
|
|
2096
|
+
var z = k(e), P = Object.keys(t).filter(function(ft) {
|
|
2096
2097
|
return ft !== "key";
|
|
2097
|
-
}), ye =
|
|
2098
|
+
}), ye = P.length > 0 ? "{key: someKey, " + P.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
2098
2099
|
if (!Me[z + ye]) {
|
|
2099
|
-
var dt =
|
|
2100
|
+
var dt = P.length > 0 ? "{" + P.join(": ..., ") + ": ...}" : "{}";
|
|
2100
2101
|
p(`A props object containing a "key" prop is being spread into JSX:
|
|
2101
2102
|
let props = %s;
|
|
2102
2103
|
<%s {...props} />
|
|
@@ -2130,13 +2131,13 @@ const Lr = "_btn_1k1b3_1", Wr = "_confirm_1k1b3_15", Ur = "_cancel_1k1b3_20", qr
|
|
|
2130
2131
|
m: Yr,
|
|
2131
2132
|
l: Gr
|
|
2132
2133
|
}, zr = ({
|
|
2133
|
-
onClick:
|
|
2134
|
+
onClick: n,
|
|
2134
2135
|
onSend: _,
|
|
2135
2136
|
size: c = "m",
|
|
2136
2137
|
view: u = "confirm",
|
|
2137
2138
|
children: y,
|
|
2138
2139
|
isDisabled: S = !1,
|
|
2139
|
-
className:
|
|
2140
|
+
className: D,
|
|
2140
2141
|
after: x,
|
|
2141
2142
|
before: s,
|
|
2142
2143
|
label: v,
|
|
@@ -2144,23 +2145,23 @@ const Lr = "_btn_1k1b3_1", Wr = "_confirm_1k1b3_15", Ur = "_cancel_1k1b3_20", qr
|
|
|
2144
2145
|
awaitText: d = "Ожидайте"
|
|
2145
2146
|
}) => {
|
|
2146
2147
|
let [b, C] = U.useState(!1);
|
|
2147
|
-
const
|
|
2148
|
-
if (
|
|
2149
|
-
b || (_ ? (C(!0), _(C)) :
|
|
2148
|
+
const N = (F) => {
|
|
2149
|
+
if (n) return n();
|
|
2150
|
+
b || (_ ? (C(!0), _(C)) : F.preventDefault());
|
|
2150
2151
|
};
|
|
2151
|
-
let
|
|
2152
|
-
return (S || b) && (
|
|
2152
|
+
let L = {};
|
|
2153
|
+
return (S || b) && (L.disabled = !0), /* @__PURE__ */ Et.jsx(
|
|
2153
2154
|
"button",
|
|
2154
2155
|
{
|
|
2155
|
-
...
|
|
2156
|
+
...L,
|
|
2156
2157
|
ref: o,
|
|
2157
2158
|
className: [
|
|
2158
2159
|
jt.btn,
|
|
2159
2160
|
b ? jt.disabled : jt[u],
|
|
2160
2161
|
c && jt[c],
|
|
2161
|
-
|
|
2162
|
-
].filter((
|
|
2163
|
-
onClick:
|
|
2162
|
+
D
|
|
2163
|
+
].filter((F) => F != "").join(" "),
|
|
2164
|
+
onClick: N,
|
|
2164
2165
|
children: b ? d : /* @__PURE__ */ Et.jsxs(Et.Fragment, { children: [
|
|
2165
2166
|
s || "",
|
|
2166
2167
|
" ",
|
|
@@ -2172,28 +2173,28 @@ const Lr = "_btn_1k1b3_1", Wr = "_confirm_1k1b3_15", Ur = "_cancel_1k1b3_20", qr
|
|
|
2172
2173
|
);
|
|
2173
2174
|
};
|
|
2174
2175
|
let Ae = {};
|
|
2175
|
-
function Hr({ children:
|
|
2176
|
-
return /* @__PURE__ */ H.jsx(H.Fragment, { children:
|
|
2176
|
+
function Hr({ children: n }) {
|
|
2177
|
+
return /* @__PURE__ */ H.jsx(H.Fragment, { children: n });
|
|
2177
2178
|
}
|
|
2178
2179
|
var Ct;
|
|
2179
|
-
((
|
|
2180
|
+
((n) => {
|
|
2180
2181
|
function _({
|
|
2181
2182
|
import_modules: o
|
|
2182
2183
|
}) {
|
|
2183
2184
|
let [d, b] = U.useState([]);
|
|
2184
2185
|
return Ae.x = (C) => {
|
|
2185
|
-
b(C ? d.filter((
|
|
2186
|
+
b(C ? d.filter((N) => N.key !== C) : []);
|
|
2186
2187
|
}, Zt(() => {
|
|
2187
2188
|
o && (Ae.i = o);
|
|
2188
|
-
}, []), Ae.add = (C,
|
|
2189
|
-
b([...d, { key:
|
|
2189
|
+
}, []), Ae.add = (C, N = Date.now()) => {
|
|
2190
|
+
b([...d, { key: N, item: C }]);
|
|
2190
2191
|
}, /* @__PURE__ */ H.jsx(H.Fragment, { children: d.map((C) => C.item) });
|
|
2191
2192
|
}
|
|
2192
|
-
|
|
2193
|
+
n.Init = _;
|
|
2193
2194
|
function c(o) {
|
|
2194
2195
|
return o && (Ae.i = o), Ae.i;
|
|
2195
2196
|
}
|
|
2196
|
-
|
|
2197
|
+
n.Import = c, n.List = Pr, n.Scroll = Nr, n.Form = Fr, n.Center = Ir, n.Column = Mr;
|
|
2197
2198
|
function u(o, d, b) {
|
|
2198
2199
|
Ae.i ? Ae.i(`${o}/modal/${d}.tsx`).then((C) => {
|
|
2199
2200
|
C.default.Open(b);
|
|
@@ -2201,26 +2202,26 @@ var Ct;
|
|
|
2201
2202
|
C.default.Open(b);
|
|
2202
2203
|
});
|
|
2203
2204
|
}
|
|
2204
|
-
|
|
2205
|
+
n.Open = u;
|
|
2205
2206
|
function y({ type: o, name: d, params: b }) {
|
|
2206
|
-
let [C,
|
|
2207
|
+
let [C, N] = U.useState(null);
|
|
2207
2208
|
return U.useEffect(() => {
|
|
2208
|
-
Ae.i ? Ae.i(`${o}/modal/${d}.tsx`).then((
|
|
2209
|
-
|
|
2210
|
-
}) : Wt()(`${o}/modal/${d}.tsx`).then((
|
|
2211
|
-
|
|
2209
|
+
Ae.i ? Ae.i(`${o}/modal/${d}.tsx`).then((L) => {
|
|
2210
|
+
N(L.default.Icon(b));
|
|
2211
|
+
}) : Wt()(`${o}/modal/${d}.tsx`).then((L) => {
|
|
2212
|
+
N(L.default.Icon(b));
|
|
2212
2213
|
});
|
|
2213
2214
|
}, [b.id]), /* @__PURE__ */ H.jsx(H.Fragment, { children: C });
|
|
2214
2215
|
}
|
|
2215
|
-
|
|
2216
|
+
n.Icon = y;
|
|
2216
2217
|
function S(o, d) {
|
|
2217
2218
|
Ae.add(/* @__PURE__ */ H.jsx(Hr, { children: o }, String(Date.now())), d);
|
|
2218
2219
|
}
|
|
2219
|
-
|
|
2220
|
-
function
|
|
2220
|
+
n.Add = S;
|
|
2221
|
+
function D(o) {
|
|
2221
2222
|
Ae.x(o);
|
|
2222
2223
|
}
|
|
2223
|
-
|
|
2224
|
+
n.Close = D;
|
|
2224
2225
|
function x(o) {
|
|
2225
2226
|
if (o.target.classList[0] !== "modal") return;
|
|
2226
2227
|
let d = o.target.children[0];
|
|
@@ -2228,10 +2229,10 @@ var Ct;
|
|
|
2228
2229
|
d.setAttribute("shake", !1);
|
|
2229
2230
|
}, 1e3);
|
|
2230
2231
|
}
|
|
2231
|
-
|
|
2232
|
+
n.Shake = x;
|
|
2232
2233
|
function s(o, d) {
|
|
2233
2234
|
const b = (C) => {
|
|
2234
|
-
|
|
2235
|
+
n.Add(
|
|
2235
2236
|
/* @__PURE__ */ H.jsx(o, { ...C }, (/* @__PURE__ */ new Date()).getTime())
|
|
2236
2237
|
);
|
|
2237
2238
|
};
|
|
@@ -2240,54 +2241,54 @@ var Ct;
|
|
|
2240
2241
|
Open: b
|
|
2241
2242
|
};
|
|
2242
2243
|
}
|
|
2243
|
-
|
|
2244
|
+
n.Create = s;
|
|
2244
2245
|
function v({
|
|
2245
2246
|
title: o,
|
|
2246
2247
|
children: d,
|
|
2247
2248
|
button: b,
|
|
2248
2249
|
tabs: C,
|
|
2249
|
-
size:
|
|
2250
|
-
className:
|
|
2251
|
-
shake:
|
|
2252
|
-
menu:
|
|
2250
|
+
size: N = "m",
|
|
2251
|
+
className: L = "",
|
|
2252
|
+
shake: F = !0,
|
|
2253
|
+
menu: O
|
|
2253
2254
|
}) {
|
|
2254
|
-
const [p, M] = U.useState(!0),
|
|
2255
|
+
const [p, M] = U.useState(!0), K = U.useRef(), Y = (q) => {
|
|
2255
2256
|
if (b) {
|
|
2256
2257
|
if (b.onClick)
|
|
2257
|
-
return
|
|
2258
|
+
return q(!1), b.onClick({ setOpen: M });
|
|
2258
2259
|
if (b.onSend)
|
|
2259
2260
|
return b.onSend({
|
|
2260
2261
|
setOpen: M,
|
|
2261
|
-
disabled:
|
|
2262
|
+
disabled: q
|
|
2262
2263
|
});
|
|
2263
2264
|
}
|
|
2264
|
-
},
|
|
2265
|
-
if (!
|
|
2266
|
-
|
|
2267
|
-
|
|
2265
|
+
}, W = () => {
|
|
2266
|
+
if (!F) return M(!1);
|
|
2267
|
+
K.current.setAttribute("shake", !0), setTimeout(() => {
|
|
2268
|
+
K.current.setAttribute("shake", !1);
|
|
2268
2269
|
}, 1e3);
|
|
2269
2270
|
};
|
|
2270
2271
|
return p ? /* @__PURE__ */ H.jsxs("div", { className: `${ie.modal}`, children: [
|
|
2271
|
-
/* @__PURE__ */ H.jsx("div", { className: ie.o, onClick:
|
|
2272
|
+
/* @__PURE__ */ H.jsx("div", { className: ie.o, onClick: W }),
|
|
2272
2273
|
/* @__PURE__ */ H.jsxs(
|
|
2273
2274
|
"div",
|
|
2274
2275
|
{
|
|
2275
|
-
className: [ie.w, ie[`s${
|
|
2276
|
-
ref:
|
|
2276
|
+
className: [ie.w, ie[`s${N}`], L].filter((q) => q != "").join(" "),
|
|
2277
|
+
ref: K,
|
|
2277
2278
|
children: [
|
|
2278
2279
|
/* @__PURE__ */ H.jsxs("div", { className: ie.h, children: [
|
|
2279
2280
|
/* @__PURE__ */ H.jsx("div", { className: ie.t, children: o }),
|
|
2280
2281
|
/* @__PURE__ */ H.jsxs("div", { className: ie.m, children: [
|
|
2281
|
-
C && /* @__PURE__ */ H.jsx("nav", { children: C.map((
|
|
2282
|
+
C && /* @__PURE__ */ H.jsx("nav", { children: C.map((q, I) => /* @__PURE__ */ H.jsx(
|
|
2282
2283
|
"span",
|
|
2283
2284
|
{
|
|
2284
|
-
onClick:
|
|
2285
|
-
className:
|
|
2286
|
-
children:
|
|
2285
|
+
onClick: q.onClick,
|
|
2286
|
+
className: q.active ? "active" : "",
|
|
2287
|
+
children: q.name
|
|
2287
2288
|
},
|
|
2288
|
-
|
|
2289
|
+
I
|
|
2289
2290
|
)) }),
|
|
2290
|
-
|
|
2291
|
+
O
|
|
2291
2292
|
] }),
|
|
2292
2293
|
/* @__PURE__ */ H.jsx(
|
|
2293
2294
|
"div",
|
|
@@ -2314,7 +2315,7 @@ var Ct;
|
|
|
2314
2315
|
zr,
|
|
2315
2316
|
{
|
|
2316
2317
|
label: b.label,
|
|
2317
|
-
onSend:
|
|
2318
|
+
onSend: Y,
|
|
2318
2319
|
className: ie.btn,
|
|
2319
2320
|
size: b.size
|
|
2320
2321
|
}
|
|
@@ -2324,17 +2325,17 @@ var Ct;
|
|
|
2324
2325
|
)
|
|
2325
2326
|
] }) : "";
|
|
2326
2327
|
}
|
|
2327
|
-
|
|
2328
|
+
n.Main = v;
|
|
2328
2329
|
})(Ct || (Ct = {}));
|
|
2329
|
-
const Jr = (
|
|
2330
|
-
function
|
|
2331
|
-
value:
|
|
2330
|
+
const Jr = (n, _ = ",") => (n = n !== void 0 && n !== "" ? n.split(_) : [], n.filter((c) => c !== "").reduce((c, u) => (c[u] = !0, c), {}));
|
|
2331
|
+
function jn({
|
|
2332
|
+
value: n,
|
|
2332
2333
|
onValue: _,
|
|
2333
2334
|
name: c,
|
|
2334
2335
|
placeholder: u = "",
|
|
2335
2336
|
separator: y = ",",
|
|
2336
2337
|
title: S,
|
|
2337
|
-
error:
|
|
2338
|
+
error: D,
|
|
2338
2339
|
hide: x = !1,
|
|
2339
2340
|
edit: s = !0,
|
|
2340
2341
|
active: v = !0,
|
|
@@ -2342,31 +2343,31 @@ function wa({
|
|
|
2342
2343
|
after: d = "",
|
|
2343
2344
|
modal: b,
|
|
2344
2345
|
options: C,
|
|
2345
|
-
className:
|
|
2346
|
+
className: N
|
|
2346
2347
|
}) {
|
|
2347
|
-
const [
|
|
2348
|
+
const [L, F] = U.useState(Jr(n, y)), O = (p) => {
|
|
2348
2349
|
if (!(s && v) || !b) return;
|
|
2349
2350
|
let M = b.split(".");
|
|
2350
2351
|
Ct.Open(M[0], M[1], {
|
|
2351
|
-
callback: (
|
|
2352
|
+
callback: (K) => {
|
|
2352
2353
|
if (_)
|
|
2353
2354
|
switch (o) {
|
|
2354
2355
|
case "array":
|
|
2355
|
-
_({ value: Object.keys(
|
|
2356
|
+
_({ value: Object.keys(K), name: c });
|
|
2356
2357
|
break;
|
|
2357
2358
|
case "string":
|
|
2358
2359
|
_({
|
|
2359
|
-
value: Object.keys(
|
|
2360
|
+
value: Object.keys(K).filter((Y) => K[Y]).join(y),
|
|
2360
2361
|
name: c
|
|
2361
2362
|
});
|
|
2362
2363
|
break;
|
|
2363
2364
|
default:
|
|
2364
|
-
_({ value:
|
|
2365
|
+
_({ value: K, name: c });
|
|
2365
2366
|
}
|
|
2366
|
-
|
|
2367
|
+
F(
|
|
2367
2368
|
Object.fromEntries(
|
|
2368
|
-
Object.entries(
|
|
2369
|
-
([
|
|
2369
|
+
Object.entries(K).filter(
|
|
2370
|
+
([Y, W]) => W !== !1
|
|
2370
2371
|
)
|
|
2371
2372
|
)
|
|
2372
2373
|
);
|
|
@@ -2374,7 +2375,7 @@ function wa({
|
|
|
2374
2375
|
onValue: _,
|
|
2375
2376
|
options: C,
|
|
2376
2377
|
name: c,
|
|
2377
|
-
value:
|
|
2378
|
+
value: L
|
|
2378
2379
|
});
|
|
2379
2380
|
};
|
|
2380
2381
|
return x ? /* @__PURE__ */ g.jsx(g.Fragment, {}) : /* @__PURE__ */ g.jsx(
|
|
@@ -2382,14 +2383,14 @@ function wa({
|
|
|
2382
2383
|
{
|
|
2383
2384
|
type: "group",
|
|
2384
2385
|
title: S,
|
|
2385
|
-
element_blok: { className: [
|
|
2386
|
+
element_blok: { className: [N] },
|
|
2386
2387
|
element_input: {
|
|
2387
2388
|
className: [_e.g],
|
|
2388
2389
|
props: {
|
|
2389
|
-
onClick:
|
|
2390
|
+
onClick: O
|
|
2390
2391
|
}
|
|
2391
2392
|
},
|
|
2392
|
-
children: Object.keys(
|
|
2393
|
+
children: Object.keys(L).map((p) => {
|
|
2393
2394
|
var M;
|
|
2394
2395
|
return /* @__PURE__ */ g.jsx("div", { children: (M = C[p]) == null ? void 0 : M.label }, p);
|
|
2395
2396
|
})
|
|
@@ -2401,14 +2402,14 @@ const Zr = "_o_1wehm_12", Vr = "_l_1wehm_22", Xr = "_f_1wehm_81", Nt = {
|
|
|
2401
2402
|
l: Vr,
|
|
2402
2403
|
f: Xr
|
|
2403
2404
|
};
|
|
2404
|
-
function
|
|
2405
|
-
title:
|
|
2405
|
+
function xn({
|
|
2406
|
+
title: n,
|
|
2406
2407
|
error: _,
|
|
2407
2408
|
edit: c = !0,
|
|
2408
2409
|
active: u = !0,
|
|
2409
2410
|
hide: y,
|
|
2410
2411
|
value: S = 0,
|
|
2411
|
-
onValue:
|
|
2412
|
+
onValue: D,
|
|
2412
2413
|
options: x,
|
|
2413
2414
|
placeholder: s = "",
|
|
2414
2415
|
className: v,
|
|
@@ -2416,45 +2417,45 @@ function ja({
|
|
|
2416
2417
|
name: d,
|
|
2417
2418
|
after: b,
|
|
2418
2419
|
view: C,
|
|
2419
|
-
order:
|
|
2420
|
-
isReload:
|
|
2420
|
+
order: N,
|
|
2421
|
+
isReload: L = !1
|
|
2421
2422
|
}) {
|
|
2422
|
-
var
|
|
2423
|
-
const
|
|
2423
|
+
var A, h;
|
|
2424
|
+
const F = U.useRef(null), [O, p] = U.useState(S), [M, K] = U.useState(x), [Y, W] = U.useState(!1);
|
|
2424
2425
|
U.useEffect(() => {
|
|
2425
|
-
p(S),
|
|
2426
|
-
}, [S, x]), y = !!(y && (S === 0 || ((
|
|
2427
|
-
let
|
|
2428
|
-
p(k),
|
|
2429
|
-
},
|
|
2430
|
-
Object.keys(M || {}).length !== 0 && c && u && (
|
|
2431
|
-
},
|
|
2432
|
-
return s && (
|
|
2426
|
+
p(S), K(x);
|
|
2427
|
+
}, [S, x]), y = !!(y && (S === 0 || ((A = M == null ? void 0 : M[S]) == null ? void 0 : A.n) === void 0)) && !(c && u);
|
|
2428
|
+
let I = (k) => {
|
|
2429
|
+
p(k), D && D({ value: k, name: d, reload: L });
|
|
2430
|
+
}, R = (k) => {
|
|
2431
|
+
Object.keys(M || {}).length !== 0 && c && u && (F.position = F.current.getBoundingClientRect(), W(!0));
|
|
2432
|
+
}, E = {};
|
|
2433
|
+
return s && (E.placeholder = s), y ? "" : /* @__PURE__ */ g.jsxs(g.Fragment, { children: [
|
|
2433
2434
|
/* @__PURE__ */ g.jsx(
|
|
2434
2435
|
Be,
|
|
2435
2436
|
{
|
|
2436
2437
|
type: "select",
|
|
2437
|
-
title:
|
|
2438
|
+
title: n,
|
|
2438
2439
|
element_blok: { className: [v] },
|
|
2439
2440
|
element_input: {
|
|
2440
2441
|
className: [Nt.f],
|
|
2441
|
-
props: { onClick:
|
|
2442
|
+
props: { onClick: R }
|
|
2442
2443
|
},
|
|
2443
|
-
ref:
|
|
2444
|
-
children: /* @__PURE__ */ g.jsx("div", { ...
|
|
2444
|
+
ref: F,
|
|
2445
|
+
children: /* @__PURE__ */ g.jsx("div", { ...E, children: (h = M == null ? void 0 : M[O]) == null ? void 0 : h.n })
|
|
2445
2446
|
}
|
|
2446
2447
|
),
|
|
2447
|
-
|
|
2448
|
+
Y && Mt(
|
|
2448
2449
|
/* @__PURE__ */ g.jsx(
|
|
2449
2450
|
Qr,
|
|
2450
2451
|
{
|
|
2451
|
-
parent:
|
|
2452
|
-
onValue:
|
|
2452
|
+
parent: F.position,
|
|
2453
|
+
onValue: I,
|
|
2453
2454
|
view: C,
|
|
2454
2455
|
className: v,
|
|
2455
2456
|
options: M,
|
|
2456
|
-
order:
|
|
2457
|
-
setOpen:
|
|
2457
|
+
order: N,
|
|
2458
|
+
setOpen: W
|
|
2458
2459
|
},
|
|
2459
2460
|
(/* @__PURE__ */ new Date()).getTime()
|
|
2460
2461
|
),
|
|
@@ -2463,24 +2464,24 @@ function ja({
|
|
|
2463
2464
|
] });
|
|
2464
2465
|
}
|
|
2465
2466
|
const Qr = ({
|
|
2466
|
-
onValue:
|
|
2467
|
+
onValue: n,
|
|
2467
2468
|
parent: _,
|
|
2468
2469
|
className: c,
|
|
2469
2470
|
options: u,
|
|
2470
2471
|
order: y,
|
|
2471
2472
|
setOpen: S
|
|
2472
2473
|
}) => {
|
|
2473
|
-
let
|
|
2474
|
+
let D = () => {
|
|
2474
2475
|
S(!1);
|
|
2475
2476
|
}, x = (o) => {
|
|
2476
|
-
S(!1),
|
|
2477
|
+
S(!1), n(o);
|
|
2477
2478
|
}, s = window.innerHeight - _.y + _.height < 320 ? _.y - 312 : _.y + 33, v = window.innerWidth - _.x < 265 ? _.x - 235 : _.x;
|
|
2478
2479
|
return /* @__PURE__ */ g.jsxs(g.Fragment, { children: [
|
|
2479
2480
|
/* @__PURE__ */ g.jsx(
|
|
2480
2481
|
"div",
|
|
2481
2482
|
{
|
|
2482
2483
|
className: Nt.o,
|
|
2483
|
-
onClick:
|
|
2484
|
+
onClick: D
|
|
2484
2485
|
},
|
|
2485
2486
|
(/* @__PURE__ */ new Date()).getTime()
|
|
2486
2487
|
),
|
|
@@ -2493,11 +2494,11 @@ const Qr = ({
|
|
|
2493
2494
|
left: v + "px",
|
|
2494
2495
|
width: _.width
|
|
2495
2496
|
},
|
|
2496
|
-
children: /* @__PURE__ */ g.jsx(
|
|
2497
|
+
children: /* @__PURE__ */ g.jsx(en, { order: y, options: u, link: x })
|
|
2497
2498
|
}
|
|
2498
2499
|
)
|
|
2499
2500
|
] });
|
|
2500
|
-
},
|
|
2501
|
+
}, en = ({ order: n, options: _, link: c }) => n ? /* @__PURE__ */ g.jsx("ul", { children: n.map(
|
|
2501
2502
|
(u, y) => _[u].s !== 0 ? /* @__PURE__ */ g.jsx(
|
|
2502
2503
|
"li",
|
|
2503
2504
|
{
|
|
@@ -2520,14 +2521,14 @@ const Qr = ({
|
|
|
2520
2521
|
y
|
|
2521
2522
|
) : ""
|
|
2522
2523
|
) });
|
|
2523
|
-
function
|
|
2524
|
-
value:
|
|
2524
|
+
function Cn({
|
|
2525
|
+
value: n,
|
|
2525
2526
|
onValue: _,
|
|
2526
2527
|
name: c,
|
|
2527
2528
|
placeholder: u = "",
|
|
2528
2529
|
title: y,
|
|
2529
2530
|
error: S,
|
|
2530
|
-
hide:
|
|
2531
|
+
hide: D = !1,
|
|
2531
2532
|
edit: x = !0,
|
|
2532
2533
|
show: s = !0,
|
|
2533
2534
|
active: v = !0,
|
|
@@ -2535,44 +2536,44 @@ function xa({
|
|
|
2535
2536
|
view: d,
|
|
2536
2537
|
modal: b,
|
|
2537
2538
|
module: C,
|
|
2538
|
-
options:
|
|
2539
|
-
className:
|
|
2539
|
+
options: N,
|
|
2540
|
+
className: L
|
|
2540
2541
|
}) {
|
|
2541
|
-
const [
|
|
2542
|
+
const [F, O] = U.useState(n), p = (K) => {
|
|
2542
2543
|
if (!(x && v) || !b) return;
|
|
2543
|
-
let
|
|
2544
|
-
Ct.Open(
|
|
2545
|
-
callback: (
|
|
2546
|
-
_ && _({ value:
|
|
2544
|
+
let Y = b.split(".");
|
|
2545
|
+
Ct.Open(Y[0], Y[1], {
|
|
2546
|
+
callback: (W) => {
|
|
2547
|
+
_ && _({ value: W, name: c }), O(W);
|
|
2547
2548
|
},
|
|
2548
2549
|
onValue: _,
|
|
2549
|
-
options:
|
|
2550
|
+
options: N,
|
|
2550
2551
|
name: c,
|
|
2551
|
-
value:
|
|
2552
|
+
value: n
|
|
2552
2553
|
});
|
|
2553
2554
|
}, M = {};
|
|
2554
|
-
return u && (M.placeholder = u),
|
|
2555
|
+
return u && (M.placeholder = u), D ? /* @__PURE__ */ g.jsx(g.Fragment, {}) : /* @__PURE__ */ g.jsx(
|
|
2555
2556
|
Be,
|
|
2556
2557
|
{
|
|
2557
2558
|
type: "input",
|
|
2558
2559
|
title: y,
|
|
2559
|
-
element_blok: { className: [
|
|
2560
|
+
element_blok: { className: [L] },
|
|
2560
2561
|
element_input: {
|
|
2561
2562
|
className: [_e.w],
|
|
2562
2563
|
props: { onClick: p }
|
|
2563
2564
|
},
|
|
2564
|
-
children: /* @__PURE__ */ g.jsx("div", { ...M, children:
|
|
2565
|
+
children: /* @__PURE__ */ g.jsx("div", { ...M, children: F })
|
|
2565
2566
|
}
|
|
2566
2567
|
);
|
|
2567
2568
|
}
|
|
2568
|
-
function
|
|
2569
|
-
value:
|
|
2569
|
+
function Sn({
|
|
2570
|
+
value: n,
|
|
2570
2571
|
onValue: _,
|
|
2571
2572
|
onSave: c,
|
|
2572
2573
|
name: u,
|
|
2573
2574
|
placeholder: y = "",
|
|
2574
2575
|
className: S,
|
|
2575
|
-
title:
|
|
2576
|
+
title: D,
|
|
2576
2577
|
error: x,
|
|
2577
2578
|
edit: s = !0,
|
|
2578
2579
|
active: v = !0,
|
|
@@ -2580,66 +2581,66 @@ function Ca({
|
|
|
2580
2581
|
native: d = !1,
|
|
2581
2582
|
isShow: b = !1,
|
|
2582
2583
|
maxLength: C,
|
|
2583
|
-
eyes:
|
|
2584
|
-
after:
|
|
2584
|
+
eyes: N = [],
|
|
2585
|
+
after: L = ""
|
|
2585
2586
|
}) {
|
|
2586
|
-
const [
|
|
2587
|
-
let p = (
|
|
2587
|
+
const [F, O] = U.useState(b);
|
|
2588
|
+
let p = (I) => {
|
|
2588
2589
|
_ && _({
|
|
2589
|
-
value:
|
|
2590
|
+
value: I.target.textContent,
|
|
2590
2591
|
name: u,
|
|
2591
2592
|
reload: o
|
|
2592
2593
|
});
|
|
2593
|
-
}, M = (
|
|
2594
|
-
|
|
2595
|
-
},
|
|
2596
|
-
|
|
2594
|
+
}, M = (I) => {
|
|
2595
|
+
I.key === "Enter" && I.preventDefault();
|
|
2596
|
+
}, K = (I) => {
|
|
2597
|
+
I.preventDefault(), navigator.clipboard.readText().then((R) => {
|
|
2597
2598
|
if (C) {
|
|
2598
|
-
let
|
|
2599
|
-
if (
|
|
2600
|
-
C -=
|
|
2599
|
+
let E = I.target.textContent.length;
|
|
2600
|
+
if (E >= C) return;
|
|
2601
|
+
C -= E, R = R.slice(0, C);
|
|
2601
2602
|
}
|
|
2602
2603
|
window.document.execCommand(
|
|
2603
2604
|
"insertText",
|
|
2604
2605
|
!1,
|
|
2605
|
-
|
|
2606
|
+
R.replace(/(\r\n|\n|\r)/gm, " ")
|
|
2606
2607
|
);
|
|
2607
|
-
}).catch((
|
|
2608
|
+
}).catch((R) => {
|
|
2608
2609
|
});
|
|
2609
|
-
},
|
|
2610
|
-
ee.Blur(
|
|
2610
|
+
}, Y = (I) => {
|
|
2611
|
+
ee.Blur(I), c == null || c({ value: I.target.textContent.trim(), name: u });
|
|
2611
2612
|
};
|
|
2612
|
-
const
|
|
2613
|
-
|
|
2614
|
-
const
|
|
2615
|
-
return y && (
|
|
2616
|
-
|
|
2613
|
+
const W = {};
|
|
2614
|
+
W.field = "password", F && (W.show = ""), S && (W.className = S);
|
|
2615
|
+
const q = {};
|
|
2616
|
+
return y && (q.placeholder = y), d ? "" : /* @__PURE__ */ g.jsxs("dl", { ...W, children: [
|
|
2617
|
+
D ? /* @__PURE__ */ g.jsx("dt", { children: D }) : "",
|
|
2617
2618
|
/* @__PURE__ */ g.jsx(
|
|
2618
2619
|
"dd",
|
|
2619
2620
|
{
|
|
2620
|
-
onPaste:
|
|
2621
|
+
onPaste: K,
|
|
2621
2622
|
onInput: p,
|
|
2622
2623
|
onKeyDown: M,
|
|
2623
|
-
onBlur:
|
|
2624
|
+
onBlur: Y,
|
|
2624
2625
|
contentEditable: s && v ? ee.ContentEditable : "false",
|
|
2625
|
-
...
|
|
2626
|
+
...q,
|
|
2626
2627
|
suppressContentEditableWarning: !0,
|
|
2627
|
-
children:
|
|
2628
|
+
children: n
|
|
2628
2629
|
}
|
|
2629
2630
|
),
|
|
2630
|
-
|
|
2631
|
-
|
|
2631
|
+
N[0] && /* @__PURE__ */ g.jsx("i", { onClick: () => O(!F), children: F ? N[1] : N[0] }),
|
|
2632
|
+
L,
|
|
2632
2633
|
x ? /* @__PURE__ */ g.jsx("em", { children: x }) : ""
|
|
2633
2634
|
] });
|
|
2634
2635
|
}
|
|
2635
|
-
function
|
|
2636
|
-
onValue:
|
|
2636
|
+
function Rn({
|
|
2637
|
+
onValue: n,
|
|
2637
2638
|
onSave: _,
|
|
2638
2639
|
active: c,
|
|
2639
2640
|
max: u,
|
|
2640
2641
|
edit: y,
|
|
2641
2642
|
title: S,
|
|
2642
|
-
error:
|
|
2643
|
+
error: D,
|
|
2643
2644
|
show: x,
|
|
2644
2645
|
hide: s,
|
|
2645
2646
|
value: v,
|
|
@@ -2647,36 +2648,36 @@ function Sa({
|
|
|
2647
2648
|
className: d,
|
|
2648
2649
|
maxLength: b,
|
|
2649
2650
|
name: C,
|
|
2650
|
-
after:
|
|
2651
|
-
before:
|
|
2652
|
-
view:
|
|
2651
|
+
after: N = "",
|
|
2652
|
+
before: L = "",
|
|
2653
|
+
view: F
|
|
2653
2654
|
}) {
|
|
2654
2655
|
y = y !== void 0 ? y : !0, c = c !== void 0 ? c : !0, s = !!(s && (v === "" || v === void 0)) && !(y && c), o = o !== void 0 ? o : "", u = u !== void 0 ? u : 99;
|
|
2655
|
-
let p = !1, M = (
|
|
2656
|
-
|
|
2657
|
-
},
|
|
2658
|
-
if (!(p &&
|
|
2659
|
-
if (
|
|
2660
|
-
|
|
2661
|
-
}
|
|
2662
|
-
},
|
|
2663
|
-
if (
|
|
2664
|
-
},
|
|
2665
|
-
|
|
2666
|
-
if (
|
|
2667
|
-
let
|
|
2668
|
-
if (
|
|
2669
|
-
b -=
|
|
2656
|
+
let p = !1, M = (R) => {
|
|
2657
|
+
n == null || n({ value: R.target.textContent, name: C });
|
|
2658
|
+
}, K = (R) => {
|
|
2659
|
+
if (!(p && R.which === 86)) {
|
|
2660
|
+
if (R.which === 17 || R.which === 91) return p = !0;
|
|
2661
|
+
R.key !== "Backspace" && (R.target.textContent.length === u && R.preventDefault(), R.key === "Enter" && R.preventDefault(), isNaN(R.key) && R.preventDefault());
|
|
2662
|
+
}
|
|
2663
|
+
}, Y = (R) => {
|
|
2664
|
+
if (R.which === 17 || R.which === 91) return p = !1;
|
|
2665
|
+
}, W = (R) => {
|
|
2666
|
+
R.preventDefault(), navigator.clipboard.readText().then((E) => {
|
|
2667
|
+
if (E = E.replace(/(?!^\+|\d)./g, ""), b) {
|
|
2668
|
+
let A = R.target.textContent.length;
|
|
2669
|
+
if (A >= b) return;
|
|
2670
|
+
b -= A, E = E.slice(0, b);
|
|
2670
2671
|
}
|
|
2671
|
-
window.document.execCommand("insertText", !1, "" +
|
|
2672
|
-
}).catch((
|
|
2672
|
+
window.document.execCommand("insertText", !1, "" + E);
|
|
2673
|
+
}).catch((E) => {
|
|
2673
2674
|
});
|
|
2674
2675
|
};
|
|
2675
|
-
const
|
|
2676
|
-
ee.Blur(
|
|
2676
|
+
const q = (R) => {
|
|
2677
|
+
ee.Blur(R), _ == null || _({ value: R.target.textContent, name: C });
|
|
2677
2678
|
};
|
|
2678
|
-
let
|
|
2679
|
-
return y && c ? (
|
|
2679
|
+
let I = {};
|
|
2680
|
+
return y && c ? (I.edit = "true", I.contentEditable = ee.ContentEditable) : I.contentEditable = "false", I.inputMode = "decimal", o && (I.placeholder = o), s ? /* @__PURE__ */ g.jsx(g.Fragment, {}) : /* @__PURE__ */ g.jsx(
|
|
2680
2681
|
Be,
|
|
2681
2682
|
{
|
|
2682
2683
|
type: "numeric",
|
|
@@ -2686,15 +2687,15 @@ function Sa({
|
|
|
2686
2687
|
children: /* @__PURE__ */ g.jsx(
|
|
2687
2688
|
"div",
|
|
2688
2689
|
{
|
|
2689
|
-
onPaste:
|
|
2690
|
+
onPaste: W,
|
|
2690
2691
|
onInput: M,
|
|
2691
|
-
onBlur:
|
|
2692
|
-
onKeyDown:
|
|
2693
|
-
onKeyUp:
|
|
2692
|
+
onBlur: q,
|
|
2693
|
+
onKeyDown: K,
|
|
2694
|
+
onKeyUp: Y,
|
|
2694
2695
|
spellCheck: "true",
|
|
2695
2696
|
contentEditable: y && c ? ee.ContentEditable : "false",
|
|
2696
2697
|
suppressContentEditableWarning: !0,
|
|
2697
|
-
...
|
|
2698
|
+
...I,
|
|
2698
2699
|
children: v
|
|
2699
2700
|
}
|
|
2700
2701
|
)
|
|
@@ -2712,18 +2713,18 @@ var Ft = { exports: {} }, ht = {};
|
|
|
2712
2713
|
* LICENSE file in the root directory of this source tree.
|
|
2713
2714
|
*/
|
|
2714
2715
|
var Kt;
|
|
2715
|
-
function
|
|
2716
|
+
function tn() {
|
|
2716
2717
|
if (Kt) return ht;
|
|
2717
2718
|
Kt = 1;
|
|
2718
|
-
var
|
|
2719
|
-
function
|
|
2719
|
+
var n = U, _ = Symbol.for("react.element"), c = Symbol.for("react.fragment"), u = Object.prototype.hasOwnProperty, y = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, S = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
2720
|
+
function D(x, s, v) {
|
|
2720
2721
|
var o, d = {}, b = null, C = null;
|
|
2721
2722
|
v !== void 0 && (b = "" + v), s.key !== void 0 && (b = "" + s.key), s.ref !== void 0 && (C = s.ref);
|
|
2722
2723
|
for (o in s) u.call(s, o) && !S.hasOwnProperty(o) && (d[o] = s[o]);
|
|
2723
2724
|
if (x && x.defaultProps) for (o in s = x.defaultProps, s) d[o] === void 0 && (d[o] = s[o]);
|
|
2724
2725
|
return { $$typeof: _, type: x, key: b, ref: C, props: d, _owner: y.current };
|
|
2725
2726
|
}
|
|
2726
|
-
return ht.Fragment = c, ht.jsx =
|
|
2727
|
+
return ht.Fragment = c, ht.jsx = D, ht.jsxs = D, ht;
|
|
2727
2728
|
}
|
|
2728
2729
|
var xt = {};
|
|
2729
2730
|
/**
|
|
@@ -2736,26 +2737,26 @@ var xt = {};
|
|
|
2736
2737
|
* LICENSE file in the root directory of this source tree.
|
|
2737
2738
|
*/
|
|
2738
2739
|
var Yt;
|
|
2739
|
-
function
|
|
2740
|
+
function rn() {
|
|
2740
2741
|
return Yt || (Yt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
2741
|
-
var
|
|
2742
|
-
function
|
|
2742
|
+
var n = U, _ = Symbol.for("react.element"), c = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), y = Symbol.for("react.strict_mode"), S = Symbol.for("react.profiler"), D = Symbol.for("react.provider"), x = Symbol.for("react.context"), s = Symbol.for("react.forward_ref"), v = Symbol.for("react.suspense"), o = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), b = Symbol.for("react.lazy"), C = Symbol.for("react.offscreen"), N = Symbol.iterator, L = "@@iterator";
|
|
2743
|
+
function F(e) {
|
|
2743
2744
|
if (e === null || typeof e != "object")
|
|
2744
2745
|
return null;
|
|
2745
|
-
var t =
|
|
2746
|
+
var t = N && e[N] || e[L];
|
|
2746
2747
|
return typeof t == "function" ? t : null;
|
|
2747
2748
|
}
|
|
2748
|
-
var
|
|
2749
|
+
var O = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
2749
2750
|
function p(e) {
|
|
2750
2751
|
{
|
|
2751
|
-
for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0),
|
|
2752
|
-
r[
|
|
2752
|
+
for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), a = 1; a < t; a++)
|
|
2753
|
+
r[a - 1] = arguments[a];
|
|
2753
2754
|
M("error", e, r);
|
|
2754
2755
|
}
|
|
2755
2756
|
}
|
|
2756
2757
|
function M(e, t, r) {
|
|
2757
2758
|
{
|
|
2758
|
-
var
|
|
2759
|
+
var a = O.ReactDebugCurrentFrame, f = a.getStackAddendum();
|
|
2759
2760
|
f !== "" && (t += "%s", r = r.concat([f]));
|
|
2760
2761
|
var m = r.map(function(l) {
|
|
2761
2762
|
return String(l);
|
|
@@ -2763,19 +2764,19 @@ function ra() {
|
|
|
2763
2764
|
m.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, m);
|
|
2764
2765
|
}
|
|
2765
2766
|
}
|
|
2766
|
-
var
|
|
2767
|
-
|
|
2768
|
-
function
|
|
2769
|
-
return !!(typeof e == "string" || typeof e == "function" || e === u || e === S ||
|
|
2767
|
+
var K = !1, Y = !1, W = !1, q = !1, I = !1, R;
|
|
2768
|
+
R = Symbol.for("react.module.reference");
|
|
2769
|
+
function E(e) {
|
|
2770
|
+
return !!(typeof e == "string" || typeof e == "function" || e === u || e === S || I || e === y || e === v || e === o || q || e === C || K || Y || W || typeof e == "object" && e !== null && (e.$$typeof === b || e.$$typeof === d || e.$$typeof === D || e.$$typeof === x || e.$$typeof === s || // This needs to include all possible module reference object
|
|
2770
2771
|
// types supported by any Flight configuration anywhere since
|
|
2771
2772
|
// we don't know which Flight build this will end up being used
|
|
2772
2773
|
// with.
|
|
2773
|
-
e.$$typeof ===
|
|
2774
|
+
e.$$typeof === R || e.getModuleId !== void 0));
|
|
2774
2775
|
}
|
|
2775
|
-
function
|
|
2776
|
-
var
|
|
2777
|
-
if (
|
|
2778
|
-
return
|
|
2776
|
+
function A(e, t, r) {
|
|
2777
|
+
var a = e.displayName;
|
|
2778
|
+
if (a)
|
|
2779
|
+
return a;
|
|
2779
2780
|
var f = t.displayName || t.name || "";
|
|
2780
2781
|
return f !== "" ? r + "(" + f + ")" : r;
|
|
2781
2782
|
}
|
|
@@ -2808,14 +2809,14 @@ function ra() {
|
|
|
2808
2809
|
case x:
|
|
2809
2810
|
var t = e;
|
|
2810
2811
|
return h(t) + ".Consumer";
|
|
2811
|
-
case
|
|
2812
|
+
case D:
|
|
2812
2813
|
var r = e;
|
|
2813
2814
|
return h(r._context) + ".Provider";
|
|
2814
2815
|
case s:
|
|
2815
|
-
return
|
|
2816
|
+
return A(e, e.render, "ForwardRef");
|
|
2816
2817
|
case d:
|
|
2817
|
-
var
|
|
2818
|
-
return
|
|
2818
|
+
var a = e.displayName || null;
|
|
2819
|
+
return a !== null ? a : k(e.type) || "Memo";
|
|
2819
2820
|
case b: {
|
|
2820
2821
|
var f = e, m = f._payload, l = f._init;
|
|
2821
2822
|
try {
|
|
@@ -2889,15 +2890,15 @@ function ra() {
|
|
|
2889
2890
|
G < 0 && p("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
2890
2891
|
}
|
|
2891
2892
|
}
|
|
2892
|
-
var le =
|
|
2893
|
+
var le = O.ReactCurrentDispatcher, ce;
|
|
2893
2894
|
function te(e, t, r) {
|
|
2894
2895
|
{
|
|
2895
2896
|
if (ce === void 0)
|
|
2896
2897
|
try {
|
|
2897
2898
|
throw Error();
|
|
2898
2899
|
} catch (f) {
|
|
2899
|
-
var
|
|
2900
|
-
ce =
|
|
2900
|
+
var a = f.stack.trim().match(/\n( *(at )?)/);
|
|
2901
|
+
ce = a && a[1] || "";
|
|
2901
2902
|
}
|
|
2902
2903
|
return `
|
|
2903
2904
|
` + ce + e;
|
|
@@ -2916,7 +2917,7 @@ function ra() {
|
|
|
2916
2917
|
if (r !== void 0)
|
|
2917
2918
|
return r;
|
|
2918
2919
|
}
|
|
2919
|
-
var
|
|
2920
|
+
var a;
|
|
2920
2921
|
ue = !0;
|
|
2921
2922
|
var f = Error.prepareStackTrace;
|
|
2922
2923
|
Error.prepareStackTrace = void 0;
|
|
@@ -2934,40 +2935,40 @@ function ra() {
|
|
|
2934
2935
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
2935
2936
|
try {
|
|
2936
2937
|
Reflect.construct(l, []);
|
|
2937
|
-
} catch (
|
|
2938
|
-
|
|
2938
|
+
} catch (P) {
|
|
2939
|
+
a = P;
|
|
2939
2940
|
}
|
|
2940
2941
|
Reflect.construct(e, [], l);
|
|
2941
2942
|
} else {
|
|
2942
2943
|
try {
|
|
2943
2944
|
l.call();
|
|
2944
|
-
} catch (
|
|
2945
|
-
|
|
2945
|
+
} catch (P) {
|
|
2946
|
+
a = P;
|
|
2946
2947
|
}
|
|
2947
2948
|
e.call(l.prototype);
|
|
2948
2949
|
}
|
|
2949
2950
|
} else {
|
|
2950
2951
|
try {
|
|
2951
2952
|
throw Error();
|
|
2952
|
-
} catch (
|
|
2953
|
-
|
|
2953
|
+
} catch (P) {
|
|
2954
|
+
a = P;
|
|
2954
2955
|
}
|
|
2955
2956
|
e();
|
|
2956
2957
|
}
|
|
2957
|
-
} catch (
|
|
2958
|
-
if (
|
|
2959
|
-
for (var i =
|
|
2960
|
-
`),
|
|
2961
|
-
`), w = i.length - 1, j =
|
|
2958
|
+
} catch (P) {
|
|
2959
|
+
if (P && a && typeof P.stack == "string") {
|
|
2960
|
+
for (var i = P.stack.split(`
|
|
2961
|
+
`), T = a.stack.split(`
|
|
2962
|
+
`), w = i.length - 1, j = T.length - 1; w >= 1 && j >= 0 && i[w] !== T[j]; )
|
|
2962
2963
|
j--;
|
|
2963
2964
|
for (; w >= 1 && j >= 0; w--, j--)
|
|
2964
|
-
if (i[w] !==
|
|
2965
|
+
if (i[w] !== T[j]) {
|
|
2965
2966
|
if (w !== 1 || j !== 1)
|
|
2966
2967
|
do
|
|
2967
|
-
if (w--, j--, j < 0 || i[w] !==
|
|
2968
|
-
var
|
|
2968
|
+
if (w--, j--, j < 0 || i[w] !== T[j]) {
|
|
2969
|
+
var B = `
|
|
2969
2970
|
` + i[w].replace(" at new ", " at ");
|
|
2970
|
-
return e.displayName &&
|
|
2971
|
+
return e.displayName && B.includes("<anonymous>") && (B = B.replace("<anonymous>", e.displayName)), typeof e == "function" && re.set(e, B), B;
|
|
2971
2972
|
}
|
|
2972
2973
|
while (w >= 1 && j >= 0);
|
|
2973
2974
|
break;
|
|
@@ -2986,7 +2987,7 @@ function ra() {
|
|
|
2986
2987
|
var t = e.prototype;
|
|
2987
2988
|
return !!(t && t.isReactComponent);
|
|
2988
2989
|
}
|
|
2989
|
-
function
|
|
2990
|
+
function ne(e, t, r) {
|
|
2990
2991
|
if (e == null)
|
|
2991
2992
|
return "";
|
|
2992
2993
|
if (typeof e == "function")
|
|
@@ -3004,26 +3005,26 @@ function ra() {
|
|
|
3004
3005
|
case s:
|
|
3005
3006
|
return Ke(e.render);
|
|
3006
3007
|
case d:
|
|
3007
|
-
return
|
|
3008
|
+
return ne(e.type, t, r);
|
|
3008
3009
|
case b: {
|
|
3009
|
-
var
|
|
3010
|
+
var a = e, f = a._payload, m = a._init;
|
|
3010
3011
|
try {
|
|
3011
|
-
return
|
|
3012
|
+
return ne(m(f), t, r);
|
|
3012
3013
|
} catch {
|
|
3013
3014
|
}
|
|
3014
3015
|
}
|
|
3015
3016
|
}
|
|
3016
3017
|
return "";
|
|
3017
3018
|
}
|
|
3018
|
-
var V = Object.prototype.hasOwnProperty, xe = {}, Ce =
|
|
3019
|
-
function
|
|
3019
|
+
var V = Object.prototype.hasOwnProperty, xe = {}, Ce = O.ReactDebugCurrentFrame;
|
|
3020
|
+
function ae(e) {
|
|
3020
3021
|
if (e) {
|
|
3021
|
-
var t = e._owner, r =
|
|
3022
|
+
var t = e._owner, r = ne(e.type, e._source, t ? t.type : null);
|
|
3022
3023
|
Ce.setExtraStackFrame(r);
|
|
3023
3024
|
} else
|
|
3024
3025
|
Ce.setExtraStackFrame(null);
|
|
3025
3026
|
}
|
|
3026
|
-
function Ge(e, t, r,
|
|
3027
|
+
function Ge(e, t, r, a, f) {
|
|
3027
3028
|
{
|
|
3028
3029
|
var m = Function.call.bind(V);
|
|
3029
3030
|
for (var l in e)
|
|
@@ -3031,14 +3032,14 @@ function ra() {
|
|
|
3031
3032
|
var i = void 0;
|
|
3032
3033
|
try {
|
|
3033
3034
|
if (typeof e[l] != "function") {
|
|
3034
|
-
var
|
|
3035
|
-
throw
|
|
3035
|
+
var T = Error((a || "React class") + ": " + r + " type `" + l + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[l] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
3036
|
+
throw T.name = "Invariant Violation", T;
|
|
3036
3037
|
}
|
|
3037
|
-
i = e[l](t, l,
|
|
3038
|
+
i = e[l](t, l, a, r, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
3038
3039
|
} catch (w) {
|
|
3039
3040
|
i = w;
|
|
3040
3041
|
}
|
|
3041
|
-
i && !(i instanceof Error) && (
|
|
3042
|
+
i && !(i instanceof Error) && (ae(f), p("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", a || "React class", r, l, typeof i), ae(null)), i instanceof Error && !(i.message in xe) && (xe[i.message] = !0, ae(f), p("Failed %s type: %s", r, i.message), ae(null));
|
|
3042
3043
|
}
|
|
3043
3044
|
}
|
|
3044
3045
|
}
|
|
@@ -3066,7 +3067,7 @@ function ra() {
|
|
|
3066
3067
|
if (Je(e))
|
|
3067
3068
|
return p("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", He(e)), Se(e);
|
|
3068
3069
|
}
|
|
3069
|
-
var Ee =
|
|
3070
|
+
var Ee = O.ReactCurrentOwner, Ze = {
|
|
3070
3071
|
key: !0,
|
|
3071
3072
|
ref: !0,
|
|
3072
3073
|
__self: !0,
|
|
@@ -3113,7 +3114,7 @@ function ra() {
|
|
|
3113
3114
|
});
|
|
3114
3115
|
}
|
|
3115
3116
|
}
|
|
3116
|
-
var rt = function(e, t, r,
|
|
3117
|
+
var rt = function(e, t, r, a, f, m, l) {
|
|
3117
3118
|
var i = {
|
|
3118
3119
|
// This tag allows us to uniquely identify this as a React Element
|
|
3119
3120
|
$$typeof: _,
|
|
@@ -3134,7 +3135,7 @@ function ra() {
|
|
|
3134
3135
|
configurable: !1,
|
|
3135
3136
|
enumerable: !1,
|
|
3136
3137
|
writable: !1,
|
|
3137
|
-
value:
|
|
3138
|
+
value: a
|
|
3138
3139
|
}), Object.defineProperty(i, "_source", {
|
|
3139
3140
|
configurable: !1,
|
|
3140
3141
|
enumerable: !1,
|
|
@@ -3142,10 +3143,10 @@ function ra() {
|
|
|
3142
3143
|
value: f
|
|
3143
3144
|
}), Object.freeze && (Object.freeze(i.props), Object.freeze(i)), i;
|
|
3144
3145
|
};
|
|
3145
|
-
function
|
|
3146
|
+
function nt(e, t, r, a, f) {
|
|
3146
3147
|
{
|
|
3147
|
-
var m, l = {}, i = null,
|
|
3148
|
-
r !== void 0 && (Re(r), i = "" + r), Xe(t) && (Re(t.key), i = "" + t.key), Ve(t) && (
|
|
3148
|
+
var m, l = {}, i = null, T = null;
|
|
3149
|
+
r !== void 0 && (Re(r), i = "" + r), Xe(t) && (Re(t.key), i = "" + t.key), Ve(t) && (T = t.ref, Qe(t));
|
|
3149
3150
|
for (m in t)
|
|
3150
3151
|
V.call(t, m) && !Ze.hasOwnProperty(m) && (l[m] = t[m]);
|
|
3151
3152
|
if (e && e.defaultProps) {
|
|
@@ -3153,17 +3154,17 @@ function ra() {
|
|
|
3153
3154
|
for (m in w)
|
|
3154
3155
|
l[m] === void 0 && (l[m] = w[m]);
|
|
3155
3156
|
}
|
|
3156
|
-
if (i ||
|
|
3157
|
+
if (i || T) {
|
|
3157
3158
|
var j = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
3158
|
-
i && et(l, j),
|
|
3159
|
+
i && et(l, j), T && tt(l, j);
|
|
3159
3160
|
}
|
|
3160
|
-
return rt(e, i,
|
|
3161
|
+
return rt(e, i, T, f, a, Ee.current, l);
|
|
3161
3162
|
}
|
|
3162
3163
|
}
|
|
3163
|
-
var fe =
|
|
3164
|
+
var fe = O.ReactCurrentOwner, De = O.ReactDebugCurrentFrame;
|
|
3164
3165
|
function J(e) {
|
|
3165
3166
|
if (e) {
|
|
3166
|
-
var t = e._owner, r =
|
|
3167
|
+
var t = e._owner, r = ne(e.type, e._source, t ? t.type : null);
|
|
3167
3168
|
De.setExtraStackFrame(r);
|
|
3168
3169
|
} else
|
|
3169
3170
|
De.setExtraStackFrame(null);
|
|
@@ -3185,7 +3186,7 @@ Check the render method of \`` + e + "`.";
|
|
|
3185
3186
|
return "";
|
|
3186
3187
|
}
|
|
3187
3188
|
}
|
|
3188
|
-
function
|
|
3189
|
+
function at(e) {
|
|
3189
3190
|
return "";
|
|
3190
3191
|
}
|
|
3191
3192
|
var Ne = {};
|
|
@@ -3210,8 +3211,8 @@ Check the top-level render call using <` + r + ">.");
|
|
|
3210
3211
|
if (Ne[r])
|
|
3211
3212
|
return;
|
|
3212
3213
|
Ne[r] = !0;
|
|
3213
|
-
var
|
|
3214
|
-
e && e._owner && e._owner !== fe.current && (
|
|
3214
|
+
var a = "";
|
|
3215
|
+
e && e._owner && e._owner !== fe.current && (a = " It was passed a child from " + k(e._owner.type) + "."), J(e), p('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', r, a), J(null);
|
|
3215
3216
|
}
|
|
3216
3217
|
}
|
|
3217
3218
|
function Ie(e, t) {
|
|
@@ -3220,13 +3221,13 @@ Check the top-level render call using <` + r + ">.");
|
|
|
3220
3221
|
return;
|
|
3221
3222
|
if (de(e))
|
|
3222
3223
|
for (var r = 0; r < e.length; r++) {
|
|
3223
|
-
var
|
|
3224
|
-
me(
|
|
3224
|
+
var a = e[r];
|
|
3225
|
+
me(a) && Fe(a, t);
|
|
3225
3226
|
}
|
|
3226
3227
|
else if (me(e))
|
|
3227
3228
|
e._store && (e._store.validated = !0);
|
|
3228
3229
|
else if (e) {
|
|
3229
|
-
var f =
|
|
3230
|
+
var f = F(e);
|
|
3230
3231
|
if (typeof f == "function" && f !== e.entries)
|
|
3231
3232
|
for (var m = f.call(e), l; !(l = m.next()).done; )
|
|
3232
3233
|
me(l.value) && Fe(l.value, t);
|
|
@@ -3248,8 +3249,8 @@ Check the top-level render call using <` + r + ">.");
|
|
|
3248
3249
|
else
|
|
3249
3250
|
return;
|
|
3250
3251
|
if (r) {
|
|
3251
|
-
var
|
|
3252
|
-
Ge(r, e.props, "prop",
|
|
3252
|
+
var a = k(t);
|
|
3253
|
+
Ge(r, e.props, "prop", a, e);
|
|
3253
3254
|
} else if (t.PropTypes !== void 0 && !pe) {
|
|
3254
3255
|
pe = !0;
|
|
3255
3256
|
var f = k(t);
|
|
@@ -3261,9 +3262,9 @@ Check the top-level render call using <` + r + ">.");
|
|
|
3261
3262
|
function it(e) {
|
|
3262
3263
|
{
|
|
3263
3264
|
for (var t = Object.keys(e.props), r = 0; r < t.length; r++) {
|
|
3264
|
-
var
|
|
3265
|
-
if (
|
|
3266
|
-
J(e), p("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",
|
|
3265
|
+
var a = t[r];
|
|
3266
|
+
if (a !== "children" && a !== "key") {
|
|
3267
|
+
J(e), p("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", a), J(null);
|
|
3267
3268
|
break;
|
|
3268
3269
|
}
|
|
3269
3270
|
}
|
|
@@ -3271,39 +3272,39 @@ Check the top-level render call using <` + r + ">.");
|
|
|
3271
3272
|
}
|
|
3272
3273
|
}
|
|
3273
3274
|
var Me = {};
|
|
3274
|
-
function $e(e, t, r,
|
|
3275
|
+
function $e(e, t, r, a, f, m) {
|
|
3275
3276
|
{
|
|
3276
|
-
var l =
|
|
3277
|
+
var l = E(e);
|
|
3277
3278
|
if (!l) {
|
|
3278
3279
|
var i = "";
|
|
3279
3280
|
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (i += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
3280
|
-
var
|
|
3281
|
-
|
|
3281
|
+
var T = at();
|
|
3282
|
+
T ? i += T : i += Pe();
|
|
3282
3283
|
var w;
|
|
3283
3284
|
e === null ? w = "null" : de(e) ? w = "array" : e !== void 0 && e.$$typeof === _ ? (w = "<" + (k(e.type) || "Unknown") + " />", i = " Did you accidentally export a JSX literal instead of a component?") : w = typeof e, p("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", w, i);
|
|
3284
3285
|
}
|
|
3285
|
-
var j =
|
|
3286
|
+
var j = nt(e, t, r, f, m);
|
|
3286
3287
|
if (j == null)
|
|
3287
3288
|
return j;
|
|
3288
3289
|
if (l) {
|
|
3289
|
-
var
|
|
3290
|
-
if (
|
|
3291
|
-
if (
|
|
3292
|
-
if (de(
|
|
3293
|
-
for (var Z = 0; Z <
|
|
3294
|
-
Ie(
|
|
3295
|
-
Object.freeze && Object.freeze(
|
|
3290
|
+
var B = t.children;
|
|
3291
|
+
if (B !== void 0)
|
|
3292
|
+
if (a)
|
|
3293
|
+
if (de(B)) {
|
|
3294
|
+
for (var Z = 0; Z < B.length; Z++)
|
|
3295
|
+
Ie(B[Z], e);
|
|
3296
|
+
Object.freeze && Object.freeze(B);
|
|
3296
3297
|
} else
|
|
3297
3298
|
p("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
3298
3299
|
else
|
|
3299
|
-
Ie(
|
|
3300
|
+
Ie(B, e);
|
|
3300
3301
|
}
|
|
3301
3302
|
if (V.call(t, "key")) {
|
|
3302
|
-
var z = k(e),
|
|
3303
|
+
var z = k(e), P = Object.keys(t).filter(function(ft) {
|
|
3303
3304
|
return ft !== "key";
|
|
3304
|
-
}), ye =
|
|
3305
|
+
}), ye = P.length > 0 ? "{key: someKey, " + P.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
3305
3306
|
if (!Me[z + ye]) {
|
|
3306
|
-
var dt =
|
|
3307
|
+
var dt = P.length > 0 ? "{" + P.join(": ..., ") + ": ...}" : "{}";
|
|
3307
3308
|
p(`A props object containing a "key" prop is being spread into JSX:
|
|
3308
3309
|
let props = %s;
|
|
3309
3310
|
<%s {...props} />
|
|
@@ -3325,29 +3326,29 @@ React keys must be passed directly to JSX without using spread:
|
|
|
3325
3326
|
xt.Fragment = u, xt.jsx = ct, xt.jsxs = ut;
|
|
3326
3327
|
}()), xt;
|
|
3327
3328
|
}
|
|
3328
|
-
process.env.NODE_ENV === "production" ? Ft.exports =
|
|
3329
|
+
process.env.NODE_ENV === "production" ? Ft.exports = tn() : Ft.exports = rn();
|
|
3329
3330
|
var Q = Ft.exports;
|
|
3330
|
-
const
|
|
3331
|
-
notice:
|
|
3332
|
-
error:
|
|
3333
|
-
success:
|
|
3334
|
-
remark:
|
|
3335
|
-
copy:
|
|
3331
|
+
const nn = "_notice_13j98_2", an = "_error_13j98_11", on = "_success_13j98_14", _n = "_remark_13j98_17", sn = "_copy_13j98_20", Ht = {
|
|
3332
|
+
notice: nn,
|
|
3333
|
+
error: an,
|
|
3334
|
+
success: on,
|
|
3335
|
+
remark: _n,
|
|
3336
|
+
copy: sn,
|
|
3336
3337
|
"show-notice": "_show-notice_13j98_1",
|
|
3337
3338
|
"hide-notice": "_hide-notice_13j98_1"
|
|
3338
3339
|
};
|
|
3339
3340
|
let Le = {};
|
|
3340
|
-
function bt({ data:
|
|
3341
|
+
function bt({ data: n }) {
|
|
3341
3342
|
let [_, c] = U.useState("show");
|
|
3342
3343
|
U.useEffect(() => {
|
|
3343
|
-
|
|
3344
|
+
n.hide && (setTimeout(function() {
|
|
3344
3345
|
c("hide");
|
|
3345
3346
|
}, 1800), setTimeout(function() {
|
|
3346
|
-
Le.del(
|
|
3347
|
+
Le.del(n.key);
|
|
3347
3348
|
}, 2500));
|
|
3348
|
-
}, [
|
|
3349
|
+
}, [n.key]);
|
|
3349
3350
|
let u, y;
|
|
3350
|
-
switch (
|
|
3351
|
+
switch (n.type) {
|
|
3351
3352
|
case "error":
|
|
3352
3353
|
u = /* @__PURE__ */ Q.jsx(pt.error, {}), y = "Ошибка:";
|
|
3353
3354
|
break;
|
|
@@ -3364,21 +3365,21 @@ function bt({ data: a }) {
|
|
|
3364
3365
|
u = /* @__PURE__ */ Q.jsx(pt.success, {}), y = "Предупреждение:";
|
|
3365
3366
|
break;
|
|
3366
3367
|
}
|
|
3367
|
-
return /* @__PURE__ */ Q.jsxs("li", { className: Ht[
|
|
3368
|
+
return /* @__PURE__ */ Q.jsxs("li", { className: Ht[n.type], "data-status": _, children: [
|
|
3368
3369
|
u,
|
|
3369
3370
|
/* @__PURE__ */ Q.jsx("b", { children: y }),
|
|
3370
|
-
/* @__PURE__ */ Q.jsx("p", { children:
|
|
3371
|
+
/* @__PURE__ */ Q.jsx("p", { children: n.text })
|
|
3371
3372
|
] });
|
|
3372
3373
|
}
|
|
3373
|
-
function
|
|
3374
|
+
function ln({ data: n }) {
|
|
3374
3375
|
let [_, c] = U.useState("show");
|
|
3375
3376
|
return U.useEffect(() => {
|
|
3376
|
-
|
|
3377
|
+
n.hide && (setTimeout(function() {
|
|
3377
3378
|
c("hide");
|
|
3378
3379
|
}, 1800), setTimeout(function() {
|
|
3379
|
-
Le.del(
|
|
3380
|
+
Le.del(n.key);
|
|
3380
3381
|
}, 2500));
|
|
3381
|
-
}, [
|
|
3382
|
+
}, [n.key]), /* @__PURE__ */ Q.jsx("li", { className: "item", "data-status": _, children: n.text });
|
|
3382
3383
|
}
|
|
3383
3384
|
const pt = {};
|
|
3384
3385
|
pt.error = () => /* @__PURE__ */ Q.jsxs("svg", { viewBox: "0 0 24 24", fill: "none", children: [
|
|
@@ -3414,7 +3415,7 @@ pt.success = () => /* @__PURE__ */ Q.jsxs("svg", { viewBox: "0 0 24 24", fill: "
|
|
|
3414
3415
|
)
|
|
3415
3416
|
] });
|
|
3416
3417
|
var St;
|
|
3417
|
-
((
|
|
3418
|
+
((n) => {
|
|
3418
3419
|
function _() {
|
|
3419
3420
|
let [s, v] = U.useState([]);
|
|
3420
3421
|
return Le.set = (o) => {
|
|
@@ -3423,7 +3424,7 @@ var St;
|
|
|
3423
3424
|
v(s.filter((d) => d.key !== o));
|
|
3424
3425
|
}, s.length === 0 ? "" : /* @__PURE__ */ Q.jsx("ul", { className: Ht.notice, children: s.map((o) => o.item) });
|
|
3425
3426
|
}
|
|
3426
|
-
|
|
3427
|
+
n.Init = _;
|
|
3427
3428
|
function c(s, v = !0) {
|
|
3428
3429
|
let o = Date.now(), d = { key: o, text: s, hide: v, type: "error" };
|
|
3429
3430
|
Le.set({
|
|
@@ -3431,7 +3432,7 @@ var St;
|
|
|
3431
3432
|
key: o
|
|
3432
3433
|
});
|
|
3433
3434
|
}
|
|
3434
|
-
|
|
3435
|
+
n.Error = c;
|
|
3435
3436
|
function u(s, v = !0) {
|
|
3436
3437
|
let o = Date.now(), d = { key: o, text: s, hide: v, type: "success" };
|
|
3437
3438
|
Le.set({
|
|
@@ -3439,12 +3440,12 @@ var St;
|
|
|
3439
3440
|
key: o
|
|
3440
3441
|
});
|
|
3441
3442
|
}
|
|
3442
|
-
|
|
3443
|
+
n.Success = u;
|
|
3443
3444
|
function y(s, v = !0) {
|
|
3444
3445
|
let o = Date.now(), d = { key: o, hide: v, text: s };
|
|
3445
|
-
Le.set({ item: /* @__PURE__ */ Q.jsx(
|
|
3446
|
+
Le.set({ item: /* @__PURE__ */ Q.jsx(ln, { data: d }, o), key: o });
|
|
3446
3447
|
}
|
|
3447
|
-
|
|
3448
|
+
n.Custom = y;
|
|
3448
3449
|
function S(s) {
|
|
3449
3450
|
let v = Date.now(), o = { key: v, hide: !0, ...s };
|
|
3450
3451
|
Le.set({
|
|
@@ -3452,15 +3453,15 @@ var St;
|
|
|
3452
3453
|
key: v
|
|
3453
3454
|
});
|
|
3454
3455
|
}
|
|
3455
|
-
|
|
3456
|
-
function
|
|
3456
|
+
n.Send = S;
|
|
3457
|
+
function D(s, v = !0) {
|
|
3457
3458
|
let o = Date.now(), d = { key: o, text: s, hide: v, type: "remark" };
|
|
3458
3459
|
Le.set({
|
|
3459
3460
|
item: /* @__PURE__ */ Q.jsx(bt, { data: d }, o),
|
|
3460
3461
|
key: o
|
|
3461
3462
|
});
|
|
3462
3463
|
}
|
|
3463
|
-
|
|
3464
|
+
n.Remark = D;
|
|
3464
3465
|
function x(s, v = !0) {
|
|
3465
3466
|
let o = Date.now(), d = { key: o, text: s, hide: v, type: "copy" };
|
|
3466
3467
|
Le.set({
|
|
@@ -3468,16 +3469,16 @@ var St;
|
|
|
3468
3469
|
key: o
|
|
3469
3470
|
});
|
|
3470
3471
|
}
|
|
3471
|
-
|
|
3472
|
+
n.Copy = x;
|
|
3472
3473
|
})(St || (St = {}));
|
|
3473
|
-
function
|
|
3474
|
-
value:
|
|
3474
|
+
function En({
|
|
3475
|
+
value: n = "",
|
|
3475
3476
|
onValue: _,
|
|
3476
3477
|
onSave: c,
|
|
3477
3478
|
name: u,
|
|
3478
3479
|
format: y = "+_(___) ___-__-__",
|
|
3479
3480
|
placeholder: S = "",
|
|
3480
|
-
title:
|
|
3481
|
+
title: D = "",
|
|
3481
3482
|
error: x = "",
|
|
3482
3483
|
hide: s = !1,
|
|
3483
3484
|
edit: v = !0,
|
|
@@ -3485,29 +3486,29 @@ function Ra({
|
|
|
3485
3486
|
after: d = "",
|
|
3486
3487
|
show: b = !0,
|
|
3487
3488
|
view: C,
|
|
3488
|
-
className:
|
|
3489
|
+
className: N = ""
|
|
3489
3490
|
}) {
|
|
3490
|
-
v = v !== void 0 ? v : !0, o = o !== void 0 ? o : !0, s = !!(s && (
|
|
3491
|
-
let
|
|
3491
|
+
v = v !== void 0 ? v : !0, o = o !== void 0 ? o : !0, s = !!(s && (n === "" || n === void 0)) && !(v && o), U.useRef(null);
|
|
3492
|
+
let F = y, O = !0, p = 0, M = (h, k) => {
|
|
3492
3493
|
let $ = document.createRange(), G = window.getSelection();
|
|
3493
3494
|
$.setStart(k.childNodes[0], h), $.collapse(!0), G.removeAllRanges(), G.addRange($), k.focus();
|
|
3494
|
-
},
|
|
3495
|
+
}, K = (h) => {
|
|
3495
3496
|
h.preventDefault(), navigator.clipboard.readText().then((k) => {
|
|
3496
3497
|
window.document.execCommand("insertText", !1, k);
|
|
3497
3498
|
}).catch((k) => {
|
|
3498
3499
|
});
|
|
3499
|
-
},
|
|
3500
|
+
}, Y = (h) => {
|
|
3500
3501
|
let k = 0, $ = "", G = h.replace(/\D/g, "");
|
|
3501
|
-
G === "" && (
|
|
3502
|
+
G === "" && (O = !0);
|
|
3502
3503
|
let X = G.split(""), oe = "";
|
|
3503
3504
|
X.forEach((ge) => {
|
|
3504
|
-
|
|
3505
|
+
O && (oe += ge, O && (p = ("" + oe).length, F = y.replace(new RegExp("[0-9]", "g"), "_"), $ = ""), p > ("" + oe).length && (O = !0, F = y.replace(new RegExp("[0-9]", "g"), "_"), $ = ""));
|
|
3505
3506
|
});
|
|
3506
|
-
let se =
|
|
3507
|
-
return se.length >= G.length && (G = se), { q:
|
|
3507
|
+
let se = F.replace(/\D/g, "");
|
|
3508
|
+
return se.length >= G.length && (G = se), { q: F.replace(/[_\d]/g, function() {
|
|
3508
3509
|
return G.charAt(k++) || "_";
|
|
3509
3510
|
}), i: k, v: G, f: $ };
|
|
3510
|
-
},
|
|
3511
|
+
}, W = (h) => {
|
|
3511
3512
|
h.preventDefault(), navigator.clipboard.writeText(h.target.textContent.replace(/\D/g, "")).then(
|
|
3512
3513
|
function() {
|
|
3513
3514
|
St.Copy("Данные в буфер обмене");
|
|
@@ -3515,50 +3516,50 @@ function Ra({
|
|
|
3515
3516
|
function(k) {
|
|
3516
3517
|
}
|
|
3517
3518
|
);
|
|
3518
|
-
},
|
|
3519
|
-
let k =
|
|
3520
|
-
h.target.textContent = k.q, k.i = k.q.lastIndexOf(k.v.substr(-1)), k.i < k.q.length && k.q !==
|
|
3521
|
-
},
|
|
3519
|
+
}, q = Y(n), I = (h) => {
|
|
3520
|
+
let k = Y(h.target.textContent);
|
|
3521
|
+
h.target.textContent = k.q, k.i = k.q.lastIndexOf(k.v.substr(-1)), k.i < k.q.length && k.q !== F ? k.i++ : k.i = k.q.indexOf("_"), M(k.i, h.target), _ && _({ value: k.q.replace(/\D/g, ""), name: u });
|
|
3522
|
+
}, R = (h) => {
|
|
3522
3523
|
h.key === "Enter" && h.preventDefault();
|
|
3523
3524
|
};
|
|
3524
|
-
const
|
|
3525
|
+
const E = (h) => {
|
|
3525
3526
|
ee.Blur(h), c && c({
|
|
3526
3527
|
value: h.target.textContent.replace(/\D/g, ""),
|
|
3527
3528
|
name: u
|
|
3528
3529
|
});
|
|
3529
3530
|
};
|
|
3530
|
-
let
|
|
3531
|
-
return v && o ? (
|
|
3531
|
+
let A = {};
|
|
3532
|
+
return v && o ? (A.edit = "true", A.contentEditable = ee.ContentEditable) : A.contentEditable = "false", S && (A.placeholder = S), d && (A.after = d), s ? /* @__PURE__ */ g.jsx(g.Fragment, {}) : /* @__PURE__ */ g.jsx(
|
|
3532
3533
|
Be,
|
|
3533
3534
|
{
|
|
3534
3535
|
type: "input",
|
|
3535
|
-
title:
|
|
3536
|
-
element_blok: { className: [
|
|
3536
|
+
title: D,
|
|
3537
|
+
element_blok: { className: [N] },
|
|
3537
3538
|
element_input: { className: [_e.w] },
|
|
3538
3539
|
children: /* @__PURE__ */ g.jsx(
|
|
3539
3540
|
"div",
|
|
3540
3541
|
{
|
|
3541
|
-
onPaste:
|
|
3542
|
-
onInput:
|
|
3543
|
-
onKeyDown:
|
|
3544
|
-
onContextMenu:
|
|
3545
|
-
onBlur:
|
|
3542
|
+
onPaste: K,
|
|
3543
|
+
onInput: I,
|
|
3544
|
+
onKeyDown: R,
|
|
3545
|
+
onContextMenu: W,
|
|
3546
|
+
onBlur: E,
|
|
3546
3547
|
suppressContentEditableWarning: !0,
|
|
3547
|
-
...
|
|
3548
|
-
children:
|
|
3548
|
+
...A,
|
|
3549
|
+
children: q.q
|
|
3549
3550
|
}
|
|
3550
3551
|
)
|
|
3551
3552
|
}
|
|
3552
3553
|
);
|
|
3553
3554
|
}
|
|
3554
|
-
function
|
|
3555
|
-
id:
|
|
3555
|
+
function On({
|
|
3556
|
+
id: n,
|
|
3556
3557
|
value: _,
|
|
3557
3558
|
onValue: c,
|
|
3558
3559
|
name: u,
|
|
3559
3560
|
placeholder: y = "",
|
|
3560
3561
|
title: S = "",
|
|
3561
|
-
error:
|
|
3562
|
+
error: D = "",
|
|
3562
3563
|
hide: x = !1,
|
|
3563
3564
|
edit: s = !0,
|
|
3564
3565
|
active: v = !0,
|
|
@@ -3566,55 +3567,55 @@ function Ea({
|
|
|
3566
3567
|
show: d = !0,
|
|
3567
3568
|
maxLength: b,
|
|
3568
3569
|
view: C,
|
|
3569
|
-
onSave:
|
|
3570
|
-
className:
|
|
3571
|
-
isCopy:
|
|
3570
|
+
onSave: N,
|
|
3571
|
+
className: L = "",
|
|
3572
|
+
isCopy: F = !0
|
|
3572
3573
|
}) {
|
|
3573
|
-
let [
|
|
3574
|
-
|
|
3575
|
-
let M = (
|
|
3576
|
-
c == null || c({ value:
|
|
3577
|
-
},
|
|
3578
|
-
b &&
|
|
3579
|
-
},
|
|
3580
|
-
|
|
3574
|
+
let [O, p] = U.useState(!1);
|
|
3575
|
+
O = s ? !0 : O;
|
|
3576
|
+
let M = (I) => {
|
|
3577
|
+
c == null || c({ value: I.target.innerText, name: u });
|
|
3578
|
+
}, K = (I) => {
|
|
3579
|
+
b && I.target.textContent.trim().length >= b && I.key !== "Backspace" && I.preventDefault(), I.key === "Enter" && I.preventDefault();
|
|
3580
|
+
}, Y = (I) => {
|
|
3581
|
+
I.preventDefault(), navigator.clipboard.readText().then((R) => {
|
|
3581
3582
|
if (b) {
|
|
3582
|
-
let
|
|
3583
|
-
if (
|
|
3584
|
-
b -=
|
|
3583
|
+
let E = I.target.textContent.length;
|
|
3584
|
+
if (E >= b) return;
|
|
3585
|
+
b -= E, R = R.slice(0, b);
|
|
3585
3586
|
}
|
|
3586
3587
|
window.document.execCommand(
|
|
3587
3588
|
"insertText",
|
|
3588
3589
|
!1,
|
|
3589
|
-
|
|
3590
|
+
R.replace(/(\r\n|\n|\r)/gm, " ")
|
|
3590
3591
|
);
|
|
3591
|
-
}).catch((
|
|
3592
|
+
}).catch((R) => {
|
|
3592
3593
|
});
|
|
3593
3594
|
};
|
|
3594
3595
|
if (x) return /* @__PURE__ */ g.jsx(g.Fragment, {});
|
|
3595
3596
|
if (!(s && v) && !d) return "";
|
|
3596
|
-
const
|
|
3597
|
-
y && (
|
|
3598
|
-
const
|
|
3599
|
-
ee.Blur(
|
|
3597
|
+
const W = {};
|
|
3598
|
+
y && (W.placeholder = y), s && v && (W.edit = ""), O && (W.open = "");
|
|
3599
|
+
const q = (I) => {
|
|
3600
|
+
ee.Blur(I), N == null || N({ value: I.target.textContent.trim(), name: u });
|
|
3600
3601
|
};
|
|
3601
3602
|
return /* @__PURE__ */ g.jsx(
|
|
3602
3603
|
Be,
|
|
3603
3604
|
{
|
|
3604
3605
|
type: "note",
|
|
3605
3606
|
title: S,
|
|
3606
|
-
element_blok: { className: [
|
|
3607
|
+
element_blok: { className: [L] },
|
|
3607
3608
|
element_input: { className: [_e.n] },
|
|
3608
3609
|
children: /* @__PURE__ */ g.jsx(
|
|
3609
3610
|
"div",
|
|
3610
3611
|
{
|
|
3611
|
-
onPaste:
|
|
3612
|
+
onPaste: Y,
|
|
3612
3613
|
onInput: M,
|
|
3613
|
-
onBlur:
|
|
3614
|
-
onKeyDown:
|
|
3614
|
+
onBlur: q,
|
|
3615
|
+
onKeyDown: K,
|
|
3615
3616
|
contentEditable: s && v ? ee.ContentEditable : "false",
|
|
3616
3617
|
suppressContentEditableWarning: !0,
|
|
3617
|
-
...
|
|
3618
|
+
...W,
|
|
3618
3619
|
children: _
|
|
3619
3620
|
}
|
|
3620
3621
|
)
|
|
@@ -5003,14 +5004,14 @@ const Ot = {
|
|
|
5003
5004
|
mask: "+1939(___) ___-__-__"
|
|
5004
5005
|
}
|
|
5005
5006
|
};
|
|
5006
|
-
function
|
|
5007
|
-
value:
|
|
5007
|
+
function Tn({
|
|
5008
|
+
value: n,
|
|
5008
5009
|
onValue: _,
|
|
5009
5010
|
onSave: c,
|
|
5010
5011
|
name: u,
|
|
5011
5012
|
placeholder: y = "",
|
|
5012
5013
|
title: S = "",
|
|
5013
|
-
error:
|
|
5014
|
+
error: D = "",
|
|
5014
5015
|
hide: x = !1,
|
|
5015
5016
|
edit: s = !0,
|
|
5016
5017
|
active: v = !0,
|
|
@@ -5019,54 +5020,54 @@ function Oa({
|
|
|
5019
5020
|
view: b,
|
|
5020
5021
|
className: C = ""
|
|
5021
5022
|
}) {
|
|
5022
|
-
s = s !== void 0 ? s : !0, v = v !== void 0 ? v : !0, x = !!(x && (
|
|
5023
|
-
let
|
|
5023
|
+
s = s !== void 0 ? s : !0, v = v !== void 0 ? v : !0, x = !!(x && (n === "" || n === void 0)) && !(s && v), U.useRef(null);
|
|
5024
|
+
let L = "+_(___) ___-__-__", F = !0, O = 0, p = (A, h) => {
|
|
5024
5025
|
let k = document.createRange(), $ = window.getSelection();
|
|
5025
|
-
k.setStart(h.childNodes[0],
|
|
5026
|
-
}, M = (
|
|
5027
|
-
let h =
|
|
5028
|
-
|
|
5029
|
-
},
|
|
5030
|
-
|
|
5026
|
+
k.setStart(h.childNodes[0], A), k.collapse(!0), $.removeAllRanges(), $.addRange(k), h.focus();
|
|
5027
|
+
}, M = (A) => {
|
|
5028
|
+
let h = Y(A.target.textContent);
|
|
5029
|
+
A.target.textContent = h.q, h.i = h.q.lastIndexOf(h.v.substr(-1)), h.i < h.q.length && h.q !== L ? h.i++ : h.i = h.q.indexOf("_"), p(h.i, A.target), _ && _({ value: h.q.replace(/\D/g, ""), name: u });
|
|
5030
|
+
}, K = (A) => {
|
|
5031
|
+
A.preventDefault(), navigator.clipboard.readText().then((h) => {
|
|
5031
5032
|
window.document.execCommand("insertText", !1, h);
|
|
5032
5033
|
}).catch((h) => {
|
|
5033
5034
|
});
|
|
5034
|
-
},
|
|
5035
|
-
let h = 0, k = "", $ =
|
|
5036
|
-
$ === "" && (
|
|
5035
|
+
}, Y = (A) => {
|
|
5036
|
+
let h = 0, k = "", $ = A.replace(/\D/g, "");
|
|
5037
|
+
$ === "" && (F = !0);
|
|
5037
5038
|
let G = $.split(""), X = "";
|
|
5038
5039
|
G.forEach((ve) => {
|
|
5039
|
-
|
|
5040
|
+
F && (X += ve, Ot[X] !== void 0 && F ? (F = !1, L = Ot[X].mask.replace(new RegExp("[0-9]", "g"), "_"), k = Ot[X].code) : (F && (O = ("" + X).length, L = `+${X}_(___) ___-__-__`.replace(
|
|
5040
5041
|
new RegExp("[0-9]", "g"),
|
|
5041
5042
|
"_"
|
|
5042
|
-
), k = ""),
|
|
5043
|
+
), k = ""), O > ("" + X).length && (F = !0, L = `+${X}_(___) ___-__-__`.replace(
|
|
5043
5044
|
new RegExp("[0-9]", "g"),
|
|
5044
5045
|
"_"
|
|
5045
5046
|
), k = "")));
|
|
5046
5047
|
});
|
|
5047
|
-
let oe =
|
|
5048
|
-
return oe.length >= $.length && ($ = oe), { q:
|
|
5048
|
+
let oe = L.replace(/\D/g, "");
|
|
5049
|
+
return oe.length >= $.length && ($ = oe), { q: L.replace(/[_\d]/g, function() {
|
|
5049
5050
|
return $.charAt(h++) || "_";
|
|
5050
5051
|
}), i: h, v: $, f: k };
|
|
5051
|
-
},
|
|
5052
|
-
|
|
5052
|
+
}, W = (A) => {
|
|
5053
|
+
A.preventDefault(), navigator.clipboard.writeText(A.target.textContent.replace(/\D/g, "")).then(
|
|
5053
5054
|
function() {
|
|
5054
5055
|
St.Copy("Данные в буфер обмене");
|
|
5055
5056
|
},
|
|
5056
5057
|
function(h) {
|
|
5057
5058
|
}
|
|
5058
5059
|
);
|
|
5059
|
-
},
|
|
5060
|
-
|
|
5060
|
+
}, q = Y(n), I = (A) => {
|
|
5061
|
+
A.key === "Enter" && A.preventDefault();
|
|
5061
5062
|
};
|
|
5062
|
-
const
|
|
5063
|
-
ee.Blur(
|
|
5064
|
-
value:
|
|
5063
|
+
const R = (A) => {
|
|
5064
|
+
ee.Blur(A), c && c({
|
|
5065
|
+
value: A.target.textContent.replace(/\D/g, ""),
|
|
5065
5066
|
name: u
|
|
5066
5067
|
});
|
|
5067
5068
|
};
|
|
5068
|
-
let
|
|
5069
|
-
return s && v ? (
|
|
5069
|
+
let E = {};
|
|
5070
|
+
return s && v ? (E.edit = "true", E.contentEditable = ee.ContentEditable) : E.contentEditable = "false", y && (E.placeholder = y), x ? /* @__PURE__ */ g.jsx(g.Fragment, {}) : /* @__PURE__ */ g.jsx(
|
|
5070
5071
|
Be,
|
|
5071
5072
|
{
|
|
5072
5073
|
type: "input",
|
|
@@ -5076,31 +5077,31 @@ function Oa({
|
|
|
5076
5077
|
children: /* @__PURE__ */ g.jsx(
|
|
5077
5078
|
"div",
|
|
5078
5079
|
{
|
|
5079
|
-
onPaste:
|
|
5080
|
+
onPaste: K,
|
|
5080
5081
|
onInput: M,
|
|
5081
|
-
onKeyDown:
|
|
5082
|
-
onContextMenu:
|
|
5083
|
-
onBlur:
|
|
5082
|
+
onKeyDown: I,
|
|
5083
|
+
onContextMenu: W,
|
|
5084
|
+
onBlur: R,
|
|
5084
5085
|
suppressContentEditableWarning: !0,
|
|
5085
|
-
...
|
|
5086
|
-
children:
|
|
5086
|
+
...E,
|
|
5087
|
+
children: q.q
|
|
5087
5088
|
}
|
|
5088
5089
|
)
|
|
5089
5090
|
}
|
|
5090
5091
|
);
|
|
5091
5092
|
}
|
|
5092
|
-
const
|
|
5093
|
-
o:
|
|
5094
|
-
c:
|
|
5093
|
+
const cn = "_o_1c9e1_1", un = "_c_1c9e1_11", Rt = {
|
|
5094
|
+
o: cn,
|
|
5095
|
+
c: un
|
|
5095
5096
|
};
|
|
5096
|
-
function
|
|
5097
|
-
title:
|
|
5097
|
+
function Dn({
|
|
5098
|
+
title: n,
|
|
5098
5099
|
error: _,
|
|
5099
5100
|
edit: c = !0,
|
|
5100
5101
|
active: u = !0,
|
|
5101
5102
|
className: y,
|
|
5102
5103
|
placeholder: S,
|
|
5103
|
-
max:
|
|
5104
|
+
max: D,
|
|
5104
5105
|
min: x,
|
|
5105
5106
|
onValue: s,
|
|
5106
5107
|
icon: v,
|
|
@@ -5108,38 +5109,38 @@ function Ta({
|
|
|
5108
5109
|
value: d,
|
|
5109
5110
|
after: b
|
|
5110
5111
|
}) {
|
|
5111
|
-
let [C,
|
|
5112
|
+
let [C, N] = U.useState(
|
|
5112
5113
|
d === void 0 ? /* @__PURE__ */ new Date() : d
|
|
5113
5114
|
);
|
|
5114
|
-
const
|
|
5115
|
+
const L = U.useRef(null), [F, O] = U.useState(!1);
|
|
5115
5116
|
let p = !c && u;
|
|
5116
5117
|
U.useEffect(() => {
|
|
5117
|
-
|
|
5118
|
+
N(d === void 0 ? /* @__PURE__ */ new Date() : d);
|
|
5118
5119
|
}, [d]);
|
|
5119
|
-
let M = (
|
|
5120
|
-
|
|
5121
|
-
},
|
|
5122
|
-
const
|
|
5123
|
-
|
|
5120
|
+
let M = (W) => {
|
|
5121
|
+
N(W), s == null || s({ value: W, name: o });
|
|
5122
|
+
}, K = (W) => {
|
|
5123
|
+
const q = W.target.getBoundingClientRect(), I = q.left, R = q.bottom, E = q.top;
|
|
5124
|
+
L.position = { x: I, b: R, y: E }, O(!0);
|
|
5124
5125
|
};
|
|
5125
|
-
const
|
|
5126
|
-
return S && (
|
|
5126
|
+
const Y = {};
|
|
5127
|
+
return S && (Y.placeholder = S), p ? /* @__PURE__ */ g.jsx(g.Fragment, {}) : /* @__PURE__ */ g.jsxs(g.Fragment, { children: [
|
|
5127
5128
|
v ? v() : /* @__PURE__ */ g.jsxs(
|
|
5128
5129
|
"dl",
|
|
5129
5130
|
{
|
|
5130
5131
|
"data-field": "date",
|
|
5131
|
-
className: [_e.l, y].filter((
|
|
5132
|
+
className: [_e.l, y].filter((W) => W !== void 0).join(" "),
|
|
5132
5133
|
children: [
|
|
5133
|
-
|
|
5134
|
+
n ? /* @__PURE__ */ g.jsx("dt", { className: _e.t, children: n }) : "",
|
|
5134
5135
|
/* @__PURE__ */ g.jsxs(
|
|
5135
5136
|
"dd",
|
|
5136
5137
|
{
|
|
5137
|
-
onClick:
|
|
5138
|
+
onClick: K,
|
|
5138
5139
|
className: [_e.f, _e.w].join(" "),
|
|
5139
|
-
...
|
|
5140
|
+
...Y,
|
|
5140
5141
|
"data-edit": (c && u) + "",
|
|
5141
5142
|
children: [
|
|
5142
|
-
|
|
5143
|
+
pn(C, "dd.mm.yyyy"),
|
|
5143
5144
|
b
|
|
5144
5145
|
]
|
|
5145
5146
|
}
|
|
@@ -5148,16 +5149,16 @@ function Ta({
|
|
|
5148
5149
|
]
|
|
5149
5150
|
}
|
|
5150
5151
|
),
|
|
5151
|
-
|
|
5152
|
+
F && Mt(
|
|
5152
5153
|
/* @__PURE__ */ g.jsx(
|
|
5153
|
-
|
|
5154
|
+
dn,
|
|
5154
5155
|
{
|
|
5155
|
-
position:
|
|
5156
|
+
position: L.position,
|
|
5156
5157
|
onValue: M,
|
|
5157
5158
|
date: C,
|
|
5158
|
-
max:
|
|
5159
|
+
max: D,
|
|
5159
5160
|
min: x,
|
|
5160
|
-
onOpen:
|
|
5161
|
+
onOpen: O,
|
|
5161
5162
|
className: y
|
|
5162
5163
|
},
|
|
5163
5164
|
(/* @__PURE__ */ new Date()).getTime()
|
|
@@ -5166,16 +5167,16 @@ function Ta({
|
|
|
5166
5167
|
)
|
|
5167
5168
|
] });
|
|
5168
5169
|
}
|
|
5169
|
-
const
|
|
5170
|
-
date:
|
|
5170
|
+
const dn = ({
|
|
5171
|
+
date: n,
|
|
5171
5172
|
onValue: _,
|
|
5172
5173
|
position: c,
|
|
5173
5174
|
max: u,
|
|
5174
5175
|
min: y,
|
|
5175
5176
|
className: S,
|
|
5176
|
-
onOpen:
|
|
5177
|
+
onOpen: D
|
|
5177
5178
|
}) => {
|
|
5178
|
-
let x = /* @__PURE__ */ new Date(), s = new Date(
|
|
5179
|
+
let x = /* @__PURE__ */ new Date(), s = new Date(n), v = {
|
|
5179
5180
|
y: parseInt(x.getFullYear()),
|
|
5180
5181
|
d: parseInt(x.getDate()),
|
|
5181
5182
|
m: parseInt(x.getMonth()) + 1
|
|
@@ -5186,25 +5187,25 @@ const ua = ({
|
|
|
5186
5187
|
}, [d, b] = U.useState({ y: o.y, m: o.m }), C = (h) => {
|
|
5187
5188
|
let k = h.getDay();
|
|
5188
5189
|
return k === 0 && (k = 7), k - 1;
|
|
5189
|
-
},
|
|
5190
|
-
for (let h = 0; h < C(
|
|
5191
|
-
|
|
5192
|
-
for (;
|
|
5193
|
-
|
|
5190
|
+
}, N = ["пн", "вт", "ср", "чт", "пт", "сб", "вс"], L = d.m - 1, F = new Date(d.y, L), O = [];
|
|
5191
|
+
for (let h = 0; h < C(F); h++)
|
|
5192
|
+
O.push(0);
|
|
5193
|
+
for (; F.getMonth() === L; )
|
|
5194
|
+
O.push(F.getDate()), F.setDate(F.getDate() + 1);
|
|
5194
5195
|
let p = () => {
|
|
5195
|
-
|
|
5196
|
+
D(!1);
|
|
5196
5197
|
}, M = () => {
|
|
5197
|
-
|
|
5198
|
-
},
|
|
5199
|
-
|
|
5200
|
-
},
|
|
5198
|
+
W(d.m + 1, d.y);
|
|
5199
|
+
}, K = () => {
|
|
5200
|
+
W(d.m - 1, d.y);
|
|
5201
|
+
}, Y = (h) => {
|
|
5201
5202
|
_(
|
|
5202
5203
|
d.y + "-" + Gt(2, d.m) + "-" + Gt(2, h)
|
|
5203
5204
|
), p();
|
|
5204
|
-
},
|
|
5205
|
+
}, W = (h, k) => {
|
|
5205
5206
|
k = h > 12 ? k + 1 : h < 1 ? k - 1 : k, h = h > 12 ? 1 : h < 1 ? 12 : h, b({ y: k, m: h });
|
|
5206
5207
|
};
|
|
5207
|
-
const
|
|
5208
|
+
const q = (h) => v.y === d.y && v.m === d.m && v.d === h ? { "data-active": "true" } : {}, I = (h) => o.y === d.y && o.m === d.m && o.d === h ? { "data-current": "true" } : {}, R = (h) => {
|
|
5208
5209
|
let k = !0;
|
|
5209
5210
|
if (u) {
|
|
5210
5211
|
let $ = u.getTime(), G = new Date(d.y, d.m - 1, h).getTime();
|
|
@@ -5216,7 +5217,7 @@ const ua = ({
|
|
|
5216
5217
|
}
|
|
5217
5218
|
return k;
|
|
5218
5219
|
};
|
|
5219
|
-
let
|
|
5220
|
+
let E = window.innerHeight - c.y < 320 ? c.y - 312 : c.b, A = window.innerWidth - c.x < 265 ? c.x - 235 : c.x;
|
|
5220
5221
|
return /* @__PURE__ */ g.jsxs(g.Fragment, { children: [
|
|
5221
5222
|
/* @__PURE__ */ g.jsx("div", { className: Rt.o, onClick: () => p() }),
|
|
5222
5223
|
/* @__PURE__ */ g.jsxs(
|
|
@@ -5226,10 +5227,10 @@ const ua = ({
|
|
|
5226
5227
|
Rt.c,
|
|
5227
5228
|
S && S + "-backdrop"
|
|
5228
5229
|
].join(" "),
|
|
5229
|
-
style: { top:
|
|
5230
|
+
style: { top: E + "px", left: A + "px" },
|
|
5230
5231
|
children: [
|
|
5231
5232
|
/* @__PURE__ */ g.jsxs("s", { children: [
|
|
5232
|
-
/* @__PURE__ */ g.jsx("i", { onClick:
|
|
5233
|
+
/* @__PURE__ */ g.jsx("i", { onClick: K, children: /* @__PURE__ */ g.jsx(
|
|
5233
5234
|
"svg",
|
|
5234
5235
|
{
|
|
5235
5236
|
width: "16",
|
|
@@ -5241,7 +5242,7 @@ const ua = ({
|
|
|
5241
5242
|
}
|
|
5242
5243
|
) }),
|
|
5243
5244
|
/* @__PURE__ */ g.jsxs("h2", { children: [
|
|
5244
|
-
|
|
5245
|
+
fn(d.m).name,
|
|
5245
5246
|
" ",
|
|
5246
5247
|
d.y
|
|
5247
5248
|
] }),
|
|
@@ -5258,24 +5259,24 @@ const ua = ({
|
|
|
5258
5259
|
) })
|
|
5259
5260
|
] }),
|
|
5260
5261
|
/* @__PURE__ */ g.jsxs("div", { "grid-calendar": "", children: [
|
|
5261
|
-
|
|
5262
|
-
|
|
5262
|
+
N.map((h, k) => /* @__PURE__ */ g.jsx("p", { children: h }, "v" + k)),
|
|
5263
|
+
O.map((h, k) => /* @__PURE__ */ g.jsx("span", { children: h !== 0 && R(h) ? /* @__PURE__ */ g.jsx(
|
|
5263
5264
|
"b",
|
|
5264
5265
|
{
|
|
5265
|
-
...
|
|
5266
|
-
...
|
|
5267
|
-
onClick: () =>
|
|
5266
|
+
...q(h),
|
|
5267
|
+
...I(h),
|
|
5268
|
+
onClick: () => Y(h),
|
|
5268
5269
|
children: h
|
|
5269
5270
|
}
|
|
5270
|
-
) : /* @__PURE__ */ g.jsx("p", { ...
|
|
5271
|
+
) : /* @__PURE__ */ g.jsx("p", { ...q(h), ...I(h), children: h !== 0 ? h : "" }) }, k))
|
|
5271
5272
|
] })
|
|
5272
5273
|
]
|
|
5273
5274
|
}
|
|
5274
5275
|
)
|
|
5275
5276
|
] });
|
|
5276
5277
|
};
|
|
5277
|
-
function
|
|
5278
|
-
return
|
|
5278
|
+
function fn(n) {
|
|
5279
|
+
return n = typeof n == "number" ? n : new Date(n).getMonth() + 1, {
|
|
5279
5280
|
1: { val: "01", name: "Январь", names: "Января", abc: "Янв" },
|
|
5280
5281
|
2: { val: "02", name: "Февраль", names: "Февраля", abc: "Февр" },
|
|
5281
5282
|
3: { val: "03", name: "Март", names: "Марта", abc: "Март" },
|
|
@@ -5288,23 +5289,23 @@ function da(a) {
|
|
|
5288
5289
|
10: { val: "10", name: "Октябрь", names: "Октября", abc: "Окт" },
|
|
5289
5290
|
11: { val: "11", name: "Ноябрь", names: "Ноября", abc: "Нояб" },
|
|
5290
5291
|
12: { val: "12", name: "Декабрь", names: "Декабря", abc: "Дек" }
|
|
5291
|
-
}[
|
|
5292
|
+
}[n];
|
|
5292
5293
|
}
|
|
5293
|
-
function Gt(
|
|
5294
|
+
function Gt(n, _) {
|
|
5294
5295
|
let c = _ + "";
|
|
5295
|
-
for (; c.length <
|
|
5296
|
+
for (; c.length < n; ) c = "0" + c;
|
|
5296
5297
|
return c;
|
|
5297
5298
|
}
|
|
5298
|
-
function
|
|
5299
|
-
_ === void 0 ? (_ =
|
|
5299
|
+
function pn(n, _) {
|
|
5300
|
+
_ === void 0 ? (_ = n, n = /* @__PURE__ */ new Date()) : n = new Date(n);
|
|
5300
5301
|
let c = {
|
|
5301
|
-
yyyy:
|
|
5302
|
-
yy: ("" +
|
|
5303
|
-
mm: ("0" + (
|
|
5304
|
-
dd: ("0" +
|
|
5305
|
-
HH: ("0" +
|
|
5306
|
-
MM: ("0" +
|
|
5307
|
-
SS: ("0" +
|
|
5302
|
+
yyyy: n.getFullYear(),
|
|
5303
|
+
yy: ("" + n.getFullYear()).slice(-2),
|
|
5304
|
+
mm: ("0" + (n.getMonth() + 1)).slice(-2),
|
|
5305
|
+
dd: ("0" + n.getDate()).slice(-2),
|
|
5306
|
+
HH: ("0" + n.getHours()).slice(-2),
|
|
5307
|
+
MM: ("0" + n.getMinutes()).slice(-2),
|
|
5308
|
+
SS: ("0" + n.getSeconds()).slice(-2),
|
|
5308
5309
|
__: " ",
|
|
5309
5310
|
_: " "
|
|
5310
5311
|
};
|
|
@@ -5312,32 +5313,32 @@ function fa(a, _) {
|
|
|
5312
5313
|
_ = _.replace(u, c[u]);
|
|
5313
5314
|
return _;
|
|
5314
5315
|
}
|
|
5315
|
-
function
|
|
5316
|
-
value:
|
|
5316
|
+
function Pn({
|
|
5317
|
+
value: n,
|
|
5317
5318
|
onValue: _,
|
|
5318
5319
|
name: c,
|
|
5319
5320
|
error: u,
|
|
5320
5321
|
icon: y,
|
|
5321
5322
|
edit: S = !0,
|
|
5322
|
-
active:
|
|
5323
|
+
active: D = !0,
|
|
5323
5324
|
title: x,
|
|
5324
5325
|
placeholder: s = "",
|
|
5325
5326
|
className: v
|
|
5326
5327
|
}) {
|
|
5327
|
-
let [o, d] = U.useState(
|
|
5328
|
-
const b = U.useRef(null), [C,
|
|
5328
|
+
let [o, d] = U.useState(n);
|
|
5329
|
+
const b = U.useRef(null), [C, N] = U.useState(!1);
|
|
5329
5330
|
U.useEffect(() => {
|
|
5330
|
-
d(
|
|
5331
|
-
}, [
|
|
5332
|
-
let
|
|
5331
|
+
d(n);
|
|
5332
|
+
}, [n]);
|
|
5333
|
+
let L = (p) => {
|
|
5333
5334
|
d(p), _ && _({ value: p, name: c });
|
|
5334
|
-
},
|
|
5335
|
-
if (!S || !
|
|
5336
|
-
const M = p.target.getBoundingClientRect(),
|
|
5337
|
-
b.position = { x:
|
|
5335
|
+
}, F = (p) => {
|
|
5336
|
+
if (!S || !D) return;
|
|
5337
|
+
const M = p.target.getBoundingClientRect(), K = M.left, Y = M.top;
|
|
5338
|
+
b.position = { x: K, y: Y }, N(!0);
|
|
5338
5339
|
};
|
|
5339
|
-
const
|
|
5340
|
-
return s && (
|
|
5340
|
+
const O = {};
|
|
5341
|
+
return s && (O.placeholder = s), y || /* @__PURE__ */ g.jsxs(g.Fragment, { children: [
|
|
5341
5342
|
/* @__PURE__ */ g.jsx(
|
|
5342
5343
|
Be,
|
|
5343
5344
|
{
|
|
@@ -5345,17 +5346,17 @@ function Da({
|
|
|
5345
5346
|
title: x,
|
|
5346
5347
|
element_blok: { className: [v] },
|
|
5347
5348
|
element_input: { className: [_e.w] },
|
|
5348
|
-
children: /* @__PURE__ */ g.jsx("div", { onClick:
|
|
5349
|
+
children: /* @__PURE__ */ g.jsx("div", { onClick: F, ...O, children: yn(o, "mm.yyyy") })
|
|
5349
5350
|
}
|
|
5350
5351
|
),
|
|
5351
5352
|
C && Mt(
|
|
5352
5353
|
/* @__PURE__ */ g.jsx(
|
|
5353
|
-
|
|
5354
|
+
mn,
|
|
5354
5355
|
{
|
|
5355
5356
|
position: b.position,
|
|
5356
|
-
onValue:
|
|
5357
|
+
onValue: L,
|
|
5357
5358
|
date: o,
|
|
5358
|
-
onOpen:
|
|
5359
|
+
onOpen: N
|
|
5359
5360
|
},
|
|
5360
5361
|
(/* @__PURE__ */ new Date()).getTime()
|
|
5361
5362
|
),
|
|
@@ -5363,25 +5364,25 @@ function Da({
|
|
|
5363
5364
|
)
|
|
5364
5365
|
] });
|
|
5365
5366
|
}
|
|
5366
|
-
const
|
|
5367
|
-
let y = /* @__PURE__ */ new Date(), S = new Date(_),
|
|
5367
|
+
const mn = ({ onOpen: n, date: _, onValue: c, position: u }) => {
|
|
5368
|
+
let y = /* @__PURE__ */ new Date(), S = new Date(_), D = {
|
|
5368
5369
|
y: parseInt(y.getFullYear()),
|
|
5369
5370
|
m: parseInt(y.getMonth()) + 1
|
|
5370
5371
|
}, x = {
|
|
5371
5372
|
y: parseInt(S.getFullYear()),
|
|
5372
5373
|
m: parseInt(S.getMonth()) + 1
|
|
5373
5374
|
}, [s, v] = U.useState(x.y), o = () => {
|
|
5374
|
-
|
|
5375
|
+
n(!1);
|
|
5375
5376
|
}, d = () => {
|
|
5376
5377
|
v(s + 1);
|
|
5377
5378
|
}, b = () => {
|
|
5378
5379
|
v(s - 1);
|
|
5379
5380
|
}, C = (p) => {
|
|
5380
|
-
c(s + "-" +
|
|
5381
|
-
},
|
|
5381
|
+
c(s + "-" + vn(2, p)), o();
|
|
5382
|
+
}, N = (p) => D.y === x.y && D.m === p ? "_FFEB3B" : "", L = Array(12).fill("").map((p, M) => M + 1), F = window.innerHeight - u.y + 33 < 320 ? u.y - 312 : u.y + 33, O = window.innerWidth - u.x < 265 ? u.x - 235 : u.x;
|
|
5382
5383
|
return /* @__PURE__ */ g.jsxs(g.Fragment, { children: [
|
|
5383
5384
|
/* @__PURE__ */ g.jsx("div", { className: Rt.o, onClick: o }),
|
|
5384
|
-
/* @__PURE__ */ g.jsxs("div", { className: Rt.c, style: { top:
|
|
5385
|
+
/* @__PURE__ */ g.jsxs("div", { className: Rt.c, style: { top: F + "px", left: O + "px" }, children: [
|
|
5385
5386
|
/* @__PURE__ */ g.jsxs("s", { children: [
|
|
5386
5387
|
/* @__PURE__ */ g.jsx("i", { onClick: b, children: /* @__PURE__ */ g.jsx(
|
|
5387
5388
|
"svg",
|
|
@@ -5407,30 +5408,30 @@ const pa = ({ onOpen: a, date: _, onValue: c, position: u }) => {
|
|
|
5407
5408
|
}
|
|
5408
5409
|
) })
|
|
5409
5410
|
] }),
|
|
5410
|
-
/* @__PURE__ */ g.jsx("div", { "grid-month": "", children:
|
|
5411
|
+
/* @__PURE__ */ g.jsx("div", { "grid-month": "", children: L.map((p, M) => /* @__PURE__ */ g.jsx(
|
|
5411
5412
|
"span",
|
|
5412
5413
|
{
|
|
5413
5414
|
onClick: () => {
|
|
5414
5415
|
C(p);
|
|
5415
5416
|
},
|
|
5416
|
-
color:
|
|
5417
|
-
children: /* @__PURE__ */ g.jsx("b", { children:
|
|
5417
|
+
color: N(p),
|
|
5418
|
+
children: /* @__PURE__ */ g.jsx("b", { children: gn(p).abc })
|
|
5418
5419
|
},
|
|
5419
5420
|
M
|
|
5420
5421
|
)) })
|
|
5421
5422
|
] })
|
|
5422
5423
|
] });
|
|
5423
5424
|
};
|
|
5424
|
-
function
|
|
5425
|
-
_ === void 0 ? (_ =
|
|
5425
|
+
function yn(n, _) {
|
|
5426
|
+
_ === void 0 ? (_ = n, n = /* @__PURE__ */ new Date()) : n = new Date(n);
|
|
5426
5427
|
let c = {
|
|
5427
|
-
yyyy:
|
|
5428
|
-
yy: ("" +
|
|
5429
|
-
mm: ("0" + (
|
|
5430
|
-
dd: ("0" +
|
|
5431
|
-
HH: ("0" +
|
|
5432
|
-
MM: ("0" +
|
|
5433
|
-
SS: ("0" +
|
|
5428
|
+
yyyy: n.getFullYear(),
|
|
5429
|
+
yy: ("" + n.getFullYear()).slice(-2),
|
|
5430
|
+
mm: ("0" + (n.getMonth() + 1)).slice(-2),
|
|
5431
|
+
dd: ("0" + n.getDate()).slice(-2),
|
|
5432
|
+
HH: ("0" + n.getHours()).slice(-2),
|
|
5433
|
+
MM: ("0" + n.getMinutes()).slice(-2),
|
|
5434
|
+
SS: ("0" + n.getSeconds()).slice(-2),
|
|
5434
5435
|
__: " ",
|
|
5435
5436
|
_: " "
|
|
5436
5437
|
};
|
|
@@ -5438,13 +5439,13 @@ function ma(a, _) {
|
|
|
5438
5439
|
_ = _.replace(u, c[u]);
|
|
5439
5440
|
return _;
|
|
5440
5441
|
}
|
|
5441
|
-
function
|
|
5442
|
+
function vn(n, _) {
|
|
5442
5443
|
let c = _ + "";
|
|
5443
|
-
for (; c.length <
|
|
5444
|
+
for (; c.length < n; ) c = "0" + c;
|
|
5444
5445
|
return c;
|
|
5445
5446
|
}
|
|
5446
|
-
function
|
|
5447
|
-
return
|
|
5447
|
+
function gn(n) {
|
|
5448
|
+
return n = typeof n == "number" ? n : new Date(n).getMonth() + 1, {
|
|
5448
5449
|
1: { val: "01", name: "Январь", names: "Января", abc: "Янв" },
|
|
5449
5450
|
2: { val: "02", name: "Февраль", names: "Февраля", abc: "Февр" },
|
|
5450
5451
|
3: { val: "03", name: "Март", names: "Марта", abc: "Март" },
|
|
@@ -5457,16 +5458,16 @@ function va(a) {
|
|
|
5457
5458
|
10: { val: "10", name: "Октябрь", names: "Октября", abc: "Окт" },
|
|
5458
5459
|
11: { val: "11", name: "Ноябрь", names: "Ноября", abc: "Нояб" },
|
|
5459
5460
|
12: { val: "12", name: "Декабрь", names: "Декабря", abc: "Дек" }
|
|
5460
|
-
}[
|
|
5461
|
+
}[n];
|
|
5461
5462
|
}
|
|
5462
|
-
function
|
|
5463
|
-
value:
|
|
5463
|
+
function Nn({
|
|
5464
|
+
value: n,
|
|
5464
5465
|
onValue: _,
|
|
5465
5466
|
name: c,
|
|
5466
5467
|
placeholder: u = "",
|
|
5467
5468
|
title: y = "",
|
|
5468
5469
|
error: S = "",
|
|
5469
|
-
hide:
|
|
5470
|
+
hide: D = !1,
|
|
5470
5471
|
edit: x = !0,
|
|
5471
5472
|
active: s = !0,
|
|
5472
5473
|
after: v = "",
|
|
@@ -5474,71 +5475,71 @@ function Pa({
|
|
|
5474
5475
|
course: d = 100,
|
|
5475
5476
|
view: b,
|
|
5476
5477
|
type: C,
|
|
5477
|
-
onSave:
|
|
5478
|
-
className:
|
|
5479
|
-
isClear:
|
|
5478
|
+
onSave: N,
|
|
5479
|
+
className: L = "",
|
|
5480
|
+
isClear: F = !1
|
|
5480
5481
|
}) {
|
|
5481
|
-
let
|
|
5482
|
+
let O = !!(D && (n === "" || n === void 0)), p = (E) => C === "multi" ? E.replace(/[^+\d.+-]/g, "") : E.replace(/[^+\d.]/g, ""), M = (E, A) => {
|
|
5482
5483
|
let h = document.createRange(), k = window.getSelection();
|
|
5483
|
-
h.setStart(
|
|
5484
|
-
},
|
|
5484
|
+
h.setStart(A.childNodes[0], E), h.collapse(!0), k.removeAllRanges(), k.addRange(h), A.focus();
|
|
5485
|
+
}, K = (E) => {
|
|
5485
5486
|
_ == null || _({
|
|
5486
|
-
value: p(
|
|
5487
|
+
value: p(E.target.textContent) * d,
|
|
5487
5488
|
name: c
|
|
5488
|
-
}),
|
|
5489
|
-
},
|
|
5490
|
-
ee.Blur(
|
|
5491
|
-
value: p(
|
|
5489
|
+
}), E.target.textContent = p(E.target.textContent), E.target.textContent.length > 0 && M(E.target.textContent.length, E.target);
|
|
5490
|
+
}, Y = (E) => {
|
|
5491
|
+
ee.Blur(E), E.target.textContent === "" && (E.target.textContent = 0), N == null || N({ value: p(E.target.textContent) * d, name: c }), _ == null || _({
|
|
5492
|
+
value: p(E.target.textContent) * d,
|
|
5492
5493
|
name: c
|
|
5493
|
-
}),
|
|
5494
|
-
},
|
|
5495
|
-
|
|
5496
|
-
},
|
|
5497
|
-
|
|
5498
|
-
},
|
|
5499
|
-
|
|
5500
|
-
|
|
5501
|
-
}).catch((
|
|
5494
|
+
}), E.target.textContent = zt(E.target.textContent);
|
|
5495
|
+
}, W = (E) => {
|
|
5496
|
+
E.target.textContent = p(E.target.textContent);
|
|
5497
|
+
}, q = (E) => {
|
|
5498
|
+
E.key === "Enter" && E.preventDefault();
|
|
5499
|
+
}, I = (E) => {
|
|
5500
|
+
E.preventDefault(), navigator.clipboard.readText().then((A) => {
|
|
5501
|
+
A = A.replace(/^\s*/, "").replace(/\s*$/, ""), window.document.execCommand("insertText", !1, A);
|
|
5502
|
+
}).catch((A) => {
|
|
5502
5503
|
});
|
|
5503
5504
|
};
|
|
5504
|
-
if (!(x && s) && !o || !(x && s) &&
|
|
5505
|
-
const
|
|
5506
|
-
return
|
|
5505
|
+
if (!(x && s) && !o || !(x && s) && O) return "";
|
|
5506
|
+
const R = {};
|
|
5507
|
+
return R.inputMode = "decimal", u && (R.placeholder = u), x && s && (R.edit = ""), /* @__PURE__ */ g.jsx(
|
|
5507
5508
|
Be,
|
|
5508
5509
|
{
|
|
5509
5510
|
type: "input",
|
|
5510
5511
|
title: y,
|
|
5511
|
-
element_blok: { className: [
|
|
5512
|
+
element_blok: { className: [L] },
|
|
5512
5513
|
element_input: { className: [_e.w] },
|
|
5513
5514
|
children: /* @__PURE__ */ g.jsx(
|
|
5514
5515
|
"div",
|
|
5515
5516
|
{
|
|
5516
|
-
...
|
|
5517
|
-
onInput:
|
|
5518
|
-
onPaste:
|
|
5519
|
-
onBlur:
|
|
5520
|
-
onKeyDown:
|
|
5521
|
-
onFocus:
|
|
5517
|
+
...R,
|
|
5518
|
+
onInput: K,
|
|
5519
|
+
onPaste: I,
|
|
5520
|
+
onBlur: Y,
|
|
5521
|
+
onKeyDown: q,
|
|
5522
|
+
onFocus: W,
|
|
5522
5523
|
contentEditable: x && s ? ee.ContentEditable : "false",
|
|
5523
5524
|
suppressContentEditableWarning: !0,
|
|
5524
5525
|
"data-after": v,
|
|
5525
|
-
children: !u ||
|
|
5526
|
+
children: !u || n ? zt(n) : ""
|
|
5526
5527
|
}
|
|
5527
5528
|
)
|
|
5528
5529
|
}
|
|
5529
5530
|
);
|
|
5530
5531
|
}
|
|
5531
|
-
function zt(
|
|
5532
|
-
return parseFloat(
|
|
5532
|
+
function zt(n, _) {
|
|
5533
|
+
return parseFloat(n).toFixed(2).replace(/(\d)(?=(\d{3})+\.)/g, "$1 ");
|
|
5533
5534
|
}
|
|
5534
|
-
function
|
|
5535
|
-
onValue:
|
|
5535
|
+
function Fn({
|
|
5536
|
+
onValue: n,
|
|
5536
5537
|
label: _,
|
|
5537
5538
|
value: c,
|
|
5538
5539
|
title: u,
|
|
5539
5540
|
className: y,
|
|
5540
5541
|
name: S,
|
|
5541
|
-
text:
|
|
5542
|
+
text: D,
|
|
5542
5543
|
id: x,
|
|
5543
5544
|
reload: s
|
|
5544
5545
|
}) {
|
|
@@ -5547,7 +5548,7 @@ function Na({
|
|
|
5547
5548
|
o(!!c);
|
|
5548
5549
|
}, [c]);
|
|
5549
5550
|
let d = () => {
|
|
5550
|
-
|
|
5551
|
+
n && n({ value: v ? 0 : 1, name: S, id: x, reload: s }), o(!v);
|
|
5551
5552
|
};
|
|
5552
5553
|
return /* @__PURE__ */ g.jsxs(
|
|
5553
5554
|
Be,
|
|
@@ -5563,30 +5564,30 @@ function Na({
|
|
|
5563
5564
|
},
|
|
5564
5565
|
children: [
|
|
5565
5566
|
/* @__PURE__ */ g.jsx("div", { "aria-checked": `${v ? "true" : "false"}` }),
|
|
5566
|
-
/* @__PURE__ */ g.jsx("span", { children:
|
|
5567
|
+
/* @__PURE__ */ g.jsx("span", { children: D })
|
|
5567
5568
|
]
|
|
5568
5569
|
}
|
|
5569
5570
|
);
|
|
5570
5571
|
}
|
|
5571
5572
|
const he = {};
|
|
5572
|
-
function
|
|
5573
|
-
const [_, c] = U.useState({}), u = U.useRef(
|
|
5573
|
+
function In(n) {
|
|
5574
|
+
const [_, c] = U.useState({}), u = U.useRef(n);
|
|
5574
5575
|
return he.u = (y) => {
|
|
5575
5576
|
u.current = { ...u.current, [y.name]: y.value };
|
|
5576
5577
|
}, he.n = (y) => {
|
|
5577
5578
|
u.current = y, c(Date.now());
|
|
5578
|
-
}, he.r = () => {
|
|
5579
|
-
c(Date.now());
|
|
5579
|
+
}, he.r = (y) => {
|
|
5580
|
+
y && y(u.current), c(Date.now());
|
|
5580
5581
|
}, [u.current, he.n];
|
|
5581
5582
|
}
|
|
5582
|
-
function
|
|
5583
|
-
he.u(
|
|
5583
|
+
function Mn(n) {
|
|
5584
|
+
he.u(n), n.reload && he.r();
|
|
5584
5585
|
}
|
|
5585
|
-
function
|
|
5586
|
-
he.r && he.r();
|
|
5586
|
+
function $n(n) {
|
|
5587
|
+
he.r && he.r(n);
|
|
5587
5588
|
}
|
|
5588
|
-
function
|
|
5589
|
-
const [_, c] = U.useState({}), u = U.useRef(
|
|
5589
|
+
function An(n) {
|
|
5590
|
+
const [_, c] = U.useState({}), u = U.useRef(n);
|
|
5590
5591
|
return he.u = (y) => {
|
|
5591
5592
|
u.current = { ...u.current, [y.name]: y.value };
|
|
5592
5593
|
}, he.n = (y) => {
|
|
@@ -5603,22 +5604,22 @@ function It() {
|
|
|
5603
5604
|
It().elcrm || (It().elcrm = {});
|
|
5604
5605
|
Object.assign(It().elcrm, { form: Xt.version });
|
|
5605
5606
|
export {
|
|
5606
|
-
|
|
5607
|
-
|
|
5608
|
-
|
|
5609
|
-
|
|
5610
|
-
|
|
5611
|
-
|
|
5612
|
-
|
|
5613
|
-
|
|
5614
|
-
|
|
5615
|
-
|
|
5616
|
-
|
|
5617
|
-
|
|
5618
|
-
|
|
5619
|
-
|
|
5620
|
-
|
|
5621
|
-
|
|
5622
|
-
|
|
5623
|
-
|
|
5607
|
+
Fn as Check,
|
|
5608
|
+
Dn as Date,
|
|
5609
|
+
En as Mask,
|
|
5610
|
+
Cn as Modal,
|
|
5611
|
+
Nn as Money,
|
|
5612
|
+
Pn as Month,
|
|
5613
|
+
Rn as Numeric,
|
|
5614
|
+
jn as Options,
|
|
5615
|
+
Sn as Password,
|
|
5616
|
+
Tn as Phone,
|
|
5617
|
+
kn as Progress,
|
|
5618
|
+
xn as Select,
|
|
5619
|
+
wn as String,
|
|
5620
|
+
On as Textarea,
|
|
5621
|
+
$n as runReload,
|
|
5622
|
+
Mn as setValue,
|
|
5623
|
+
In as useData,
|
|
5624
|
+
An as useError
|
|
5624
5625
|
};
|