@elcrm/form 0.0.52 → 0.0.53
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.css +1 -1
- package/dist/index.es.js +1070 -1057
- package/dist/index.umd.js +30 -30
- package/dist/src/lib/Field.d.ts +2 -2
- package/dist/src/lib/fields/Input.d.ts +1 -1
- package/dist/src/lib/fields/Textarea.d.ts +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
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.53", Xt = {
|
|
4
4
|
version: Vt
|
|
5
5
|
};
|
|
6
6
|
var Tt = { exports: {} }, mt = {};
|
|
@@ -17,13 +17,13 @@ var $t;
|
|
|
17
17
|
function Qt() {
|
|
18
18
|
if ($t) return mt;
|
|
19
19
|
$t = 1;
|
|
20
|
-
var
|
|
20
|
+
var a = U, _ = Symbol.for("react.element"), u = Symbol.for("react.fragment"), d = Object.prototype.hasOwnProperty, y = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, C = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
21
21
|
function E(x, s, h) {
|
|
22
|
-
var o, c = {},
|
|
23
|
-
h !== void 0 && (
|
|
22
|
+
var o, c = {}, k = null, S = null;
|
|
23
|
+
h !== void 0 && (k = "" + h), s.key !== void 0 && (k = "" + s.key), s.ref !== void 0 && (S = s.ref);
|
|
24
24
|
for (o in s) d.call(s, o) && !C.hasOwnProperty(o) && (c[o] = s[o]);
|
|
25
25
|
if (x && x.defaultProps) for (o in s = x.defaultProps, s) c[o] === void 0 && (c[o] = s[o]);
|
|
26
|
-
return { $$typeof: _, type: x, key:
|
|
26
|
+
return { $$typeof: _, type: x, key: k, ref: S, props: c, _owner: y.current };
|
|
27
27
|
}
|
|
28
28
|
return mt.Fragment = u, mt.jsx = E, mt.jsxs = E, mt;
|
|
29
29
|
}
|
|
@@ -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 a = U, _ = Symbol.for("react.element"), u = Symbol.for("react.portal"), d = Symbol.for("react.fragment"), y = Symbol.for("react.strict_mode"), C = Symbol.for("react.profiler"), E = Symbol.for("react.provider"), x = Symbol.for("react.context"), s = Symbol.for("react.forward_ref"), h = Symbol.for("react.suspense"), o = Symbol.for("react.suspense_list"), c = Symbol.for("react.memo"), k = Symbol.for("react.lazy"), S = Symbol.for("react.offscreen"), I = Symbol.iterator, q = "@@iterator";
|
|
44
|
+
function N(e) {
|
|
45
45
|
if (e === null || typeof e != "object")
|
|
46
46
|
return null;
|
|
47
|
-
var t = I && e[I] || e[
|
|
47
|
+
var t = I && e[I] || e[q];
|
|
48
48
|
return typeof t == "function" ? t : null;
|
|
49
49
|
}
|
|
50
|
-
var R =
|
|
50
|
+
var R = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
51
51
|
function p(e) {
|
|
52
52
|
{
|
|
53
|
-
for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0),
|
|
54
|
-
r[
|
|
53
|
+
for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), n = 1; n < t; n++)
|
|
54
|
+
r[n - 1] = arguments[n];
|
|
55
55
|
F("error", e, r);
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
58
|
function F(e, t, r) {
|
|
59
59
|
{
|
|
60
|
-
var
|
|
60
|
+
var n = R.ReactDebugCurrentFrame, f = n.getStackAddendum();
|
|
61
61
|
f !== "" && (t += "%s", r = r.concat([f]));
|
|
62
62
|
var m = r.map(function(l) {
|
|
63
63
|
return String(l);
|
|
@@ -65,26 +65,26 @@ function er() {
|
|
|
65
65
|
m.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, m);
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
|
-
var
|
|
68
|
+
var K = !1, A = !1, L = !1, Y = !1, M = !1, P;
|
|
69
69
|
P = Symbol.for("react.module.reference");
|
|
70
|
-
function
|
|
71
|
-
return !!(typeof e == "string" || typeof e == "function" || e === d || e === C ||
|
|
70
|
+
function T(e) {
|
|
71
|
+
return !!(typeof e == "string" || typeof e == "function" || e === d || e === C || M || e === y || e === h || e === o || Y || e === S || K || A || L || typeof e == "object" && e !== null && (e.$$typeof === k || e.$$typeof === c || e.$$typeof === E || 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
75
|
e.$$typeof === P || e.getModuleId !== void 0));
|
|
76
76
|
}
|
|
77
77
|
function G(e, t, r) {
|
|
78
|
-
var
|
|
79
|
-
if (
|
|
80
|
-
return
|
|
78
|
+
var n = e.displayName;
|
|
79
|
+
if (n)
|
|
80
|
+
return n;
|
|
81
81
|
var f = t.displayName || t.name || "";
|
|
82
82
|
return f !== "" ? r + "(" + f + ")" : r;
|
|
83
83
|
}
|
|
84
|
-
function
|
|
84
|
+
function b(e) {
|
|
85
85
|
return e.displayName || "Context";
|
|
86
86
|
}
|
|
87
|
-
function
|
|
87
|
+
function v(e) {
|
|
88
88
|
if (e == null)
|
|
89
89
|
return null;
|
|
90
90
|
if (typeof e.tag == "number" && p("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
@@ -98,7 +98,7 @@ function er() {
|
|
|
98
98
|
return "Portal";
|
|
99
99
|
case C:
|
|
100
100
|
return "Profiler";
|
|
101
|
-
case
|
|
101
|
+
case y:
|
|
102
102
|
return "StrictMode";
|
|
103
103
|
case h:
|
|
104
104
|
return "Suspense";
|
|
@@ -109,19 +109,19 @@ function er() {
|
|
|
109
109
|
switch (e.$$typeof) {
|
|
110
110
|
case x:
|
|
111
111
|
var t = e;
|
|
112
|
-
return
|
|
112
|
+
return b(t) + ".Consumer";
|
|
113
113
|
case E:
|
|
114
114
|
var r = e;
|
|
115
|
-
return
|
|
115
|
+
return b(r._context) + ".Provider";
|
|
116
116
|
case s:
|
|
117
117
|
return G(e, e.render, "ForwardRef");
|
|
118
118
|
case c:
|
|
119
|
-
var
|
|
120
|
-
return
|
|
121
|
-
case
|
|
119
|
+
var n = e.displayName || null;
|
|
120
|
+
return n !== null ? n : v(e.type) || "Memo";
|
|
121
|
+
case k: {
|
|
122
122
|
var f = e, m = f._payload, l = f._init;
|
|
123
123
|
try {
|
|
124
|
-
return
|
|
124
|
+
return v(l(m));
|
|
125
125
|
} catch {
|
|
126
126
|
return null;
|
|
127
127
|
}
|
|
@@ -129,14 +129,14 @@ function er() {
|
|
|
129
129
|
}
|
|
130
130
|
return null;
|
|
131
131
|
}
|
|
132
|
-
var $ = Object.assign,
|
|
132
|
+
var $ = Object.assign, W = 0, se, V, _e, ge, le, be, ke;
|
|
133
133
|
function we() {
|
|
134
134
|
}
|
|
135
135
|
we.__reactDisabledLog = !0;
|
|
136
136
|
function We() {
|
|
137
137
|
{
|
|
138
|
-
if (
|
|
139
|
-
se = console.log, V = console.info,
|
|
138
|
+
if (W === 0) {
|
|
139
|
+
se = console.log, V = console.info, _e = console.warn, ge = console.error, le = console.group, be = console.groupCollapsed, ke = console.groupEnd;
|
|
140
140
|
var e = {
|
|
141
141
|
configurable: !0,
|
|
142
142
|
enumerable: !0,
|
|
@@ -153,12 +153,12 @@ function er() {
|
|
|
153
153
|
groupEnd: e
|
|
154
154
|
});
|
|
155
155
|
}
|
|
156
|
-
|
|
156
|
+
W++;
|
|
157
157
|
}
|
|
158
158
|
}
|
|
159
159
|
function Ue() {
|
|
160
160
|
{
|
|
161
|
-
if (
|
|
161
|
+
if (W--, W === 0) {
|
|
162
162
|
var e = {
|
|
163
163
|
configurable: !0,
|
|
164
164
|
enumerable: !0,
|
|
@@ -172,7 +172,7 @@ function er() {
|
|
|
172
172
|
value: V
|
|
173
173
|
}),
|
|
174
174
|
warn: $({}, e, {
|
|
175
|
-
value:
|
|
175
|
+
value: _e
|
|
176
176
|
}),
|
|
177
177
|
error: $({}, e, {
|
|
178
178
|
value: ge
|
|
@@ -188,7 +188,7 @@ function er() {
|
|
|
188
188
|
})
|
|
189
189
|
});
|
|
190
190
|
}
|
|
191
|
-
|
|
191
|
+
W < 0 && p("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
192
192
|
}
|
|
193
193
|
}
|
|
194
194
|
var ce = R.ReactCurrentDispatcher, ue;
|
|
@@ -198,8 +198,8 @@ function er() {
|
|
|
198
198
|
try {
|
|
199
199
|
throw Error();
|
|
200
200
|
} catch (f) {
|
|
201
|
-
var
|
|
202
|
-
ue =
|
|
201
|
+
var n = f.stack.trim().match(/\n( *(at )?)/);
|
|
202
|
+
ue = n && n[1] || "";
|
|
203
203
|
}
|
|
204
204
|
return `
|
|
205
205
|
` + ue + e;
|
|
@@ -207,8 +207,8 @@ function er() {
|
|
|
207
207
|
}
|
|
208
208
|
var de = !1, re;
|
|
209
209
|
{
|
|
210
|
-
var
|
|
211
|
-
re = new
|
|
210
|
+
var qe = typeof WeakMap == "function" ? WeakMap : Map;
|
|
211
|
+
re = new qe();
|
|
212
212
|
}
|
|
213
213
|
function je(e, t) {
|
|
214
214
|
if (!e || de)
|
|
@@ -218,7 +218,7 @@ function er() {
|
|
|
218
218
|
if (r !== void 0)
|
|
219
219
|
return r;
|
|
220
220
|
}
|
|
221
|
-
var
|
|
221
|
+
var n;
|
|
222
222
|
de = !0;
|
|
223
223
|
var f = Error.prepareStackTrace;
|
|
224
224
|
Error.prepareStackTrace = void 0;
|
|
@@ -236,30 +236,30 @@ function er() {
|
|
|
236
236
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
237
237
|
try {
|
|
238
238
|
Reflect.construct(l, []);
|
|
239
|
-
} catch (
|
|
240
|
-
|
|
239
|
+
} catch (D) {
|
|
240
|
+
n = D;
|
|
241
241
|
}
|
|
242
242
|
Reflect.construct(e, [], l);
|
|
243
243
|
} else {
|
|
244
244
|
try {
|
|
245
245
|
l.call();
|
|
246
|
-
} catch (
|
|
247
|
-
|
|
246
|
+
} catch (D) {
|
|
247
|
+
n = D;
|
|
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 (D) {
|
|
255
|
+
n = D;
|
|
256
256
|
}
|
|
257
257
|
e();
|
|
258
258
|
}
|
|
259
|
-
} catch (
|
|
260
|
-
if (
|
|
261
|
-
for (var i =
|
|
262
|
-
`), O =
|
|
259
|
+
} catch (D) {
|
|
260
|
+
if (D && n && typeof D.stack == "string") {
|
|
261
|
+
for (var i = D.stack.split(`
|
|
262
|
+
`), O = n.stack.split(`
|
|
263
263
|
`), w = i.length - 1, j = O.length - 1; w >= 1 && j >= 0 && i[w] !== O[j]; )
|
|
264
264
|
j--;
|
|
265
265
|
for (; w >= 1 && j >= 0; w--, j--)
|
|
@@ -267,9 +267,9 @@ function er() {
|
|
|
267
267
|
if (w !== 1 || j !== 1)
|
|
268
268
|
do
|
|
269
269
|
if (w--, j--, j < 0 || i[w] !== O[j]) {
|
|
270
|
-
var
|
|
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;
|
|
@@ -281,14 +281,14 @@ function er() {
|
|
|
281
281
|
var Z = e ? e.displayName || e.name : "", z = Z ? te(Z) : "";
|
|
282
282
|
return typeof e == "function" && re.set(e, z), z;
|
|
283
283
|
}
|
|
284
|
-
function
|
|
284
|
+
function Ke(e, t, r) {
|
|
285
285
|
return je(e, !1);
|
|
286
286
|
}
|
|
287
287
|
function Ye(e) {
|
|
288
288
|
var t = e.prototype;
|
|
289
289
|
return !!(t && t.isReactComponent);
|
|
290
290
|
}
|
|
291
|
-
function
|
|
291
|
+
function ae(e, t, r) {
|
|
292
292
|
if (e == null)
|
|
293
293
|
return "";
|
|
294
294
|
if (typeof e == "function")
|
|
@@ -304,13 +304,13 @@ function er() {
|
|
|
304
304
|
if (typeof e == "object")
|
|
305
305
|
switch (e.$$typeof) {
|
|
306
306
|
case s:
|
|
307
|
-
return
|
|
307
|
+
return Ke(e.render);
|
|
308
308
|
case c:
|
|
309
|
-
return
|
|
310
|
-
case
|
|
311
|
-
var
|
|
309
|
+
return ae(e.type, t, r);
|
|
310
|
+
case k: {
|
|
311
|
+
var n = e, f = n._payload, m = n._init;
|
|
312
312
|
try {
|
|
313
|
-
return
|
|
313
|
+
return ae(m(f), t, r);
|
|
314
314
|
} catch {
|
|
315
315
|
}
|
|
316
316
|
}
|
|
@@ -318,14 +318,14 @@ function er() {
|
|
|
318
318
|
return "";
|
|
319
319
|
}
|
|
320
320
|
var X = Object.prototype.hasOwnProperty, xe = {}, Ce = R.ReactDebugCurrentFrame;
|
|
321
|
-
function
|
|
321
|
+
function ne(e) {
|
|
322
322
|
if (e) {
|
|
323
|
-
var t = e._owner, r =
|
|
323
|
+
var t = e._owner, r = ae(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, n, f) {
|
|
329
329
|
{
|
|
330
330
|
var m = Function.call.bind(X);
|
|
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 O = Error((
|
|
336
|
+
var O = Error((n || "React class") + ": " + r + " type `" + l + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[l] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
337
337
|
throw O.name = "Invariant Violation", O;
|
|
338
338
|
}
|
|
339
|
-
i = e[l](t, l,
|
|
339
|
+
i = e[l](t, l, n, 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) && (ne(f), p("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", n || "React class", r, l, typeof i), ne(null)), i instanceof Error && !(i.message in xe) && (xe[i.message] = !0, ne(f), p("Failed %s type: %s", r, i.message), ne(null));
|
|
344
344
|
}
|
|
345
345
|
}
|
|
346
346
|
}
|
|
@@ -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, n, 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: n
|
|
440
440
|
}), Object.defineProperty(i, "_source", {
|
|
441
441
|
configurable: !1,
|
|
442
442
|
enumerable: !1,
|
|
@@ -444,7 +444,7 @@ function er() {
|
|
|
444
444
|
value: f
|
|
445
445
|
}), Object.freeze && (Object.freeze(i.props), Object.freeze(i)), i;
|
|
446
446
|
};
|
|
447
|
-
function
|
|
447
|
+
function at(e, t, r, n, f) {
|
|
448
448
|
{
|
|
449
449
|
var m, l = {}, i = null, O = null;
|
|
450
450
|
r !== void 0 && (Re(r), i = "" + r), Xe(t) && (Re(t.key), i = "" + t.key), Ve(t) && (O = t.ref, Qe(t, f));
|
|
@@ -459,13 +459,13 @@ function er() {
|
|
|
459
459
|
var j = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
460
460
|
i && et(l, j), O && tt(l, j);
|
|
461
461
|
}
|
|
462
|
-
return rt(e, i, O, f,
|
|
462
|
+
return rt(e, i, O, f, n, Ee.current, l);
|
|
463
463
|
}
|
|
464
464
|
}
|
|
465
465
|
var pe = R.ReactCurrentOwner, De = R.ReactDebugCurrentFrame;
|
|
466
466
|
function J(e) {
|
|
467
467
|
if (e) {
|
|
468
|
-
var t = e._owner, r =
|
|
468
|
+
var t = e._owner, r = ae(e.type, e._source, t ? t.type : null);
|
|
469
469
|
De.setExtraStackFrame(r);
|
|
470
470
|
} else
|
|
471
471
|
De.setExtraStackFrame(null);
|
|
@@ -478,7 +478,7 @@ function er() {
|
|
|
478
478
|
function Pe() {
|
|
479
479
|
{
|
|
480
480
|
if (pe.current) {
|
|
481
|
-
var e =
|
|
481
|
+
var e = v(pe.current.type);
|
|
482
482
|
if (e)
|
|
483
483
|
return `
|
|
484
484
|
|
|
@@ -487,7 +487,7 @@ Check the render method of \`` + e + "`.";
|
|
|
487
487
|
return "";
|
|
488
488
|
}
|
|
489
489
|
}
|
|
490
|
-
function
|
|
490
|
+
function nt(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 !== pe.current && (
|
|
515
|
+
var n = "";
|
|
516
|
+
e && e._owner && e._owner !== pe.current && (n = " It was passed a child from " + v(e._owner.type) + "."), J(e), p('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', r, n), J(null);
|
|
517
517
|
}
|
|
518
518
|
}
|
|
519
519
|
function Ie(e, t) {
|
|
@@ -522,13 +522,13 @@ Check the top-level render call using <` + r + ">.");
|
|
|
522
522
|
return;
|
|
523
523
|
if (fe(e))
|
|
524
524
|
for (var r = 0; r < e.length; r++) {
|
|
525
|
-
var
|
|
526
|
-
ye(
|
|
525
|
+
var n = e[r];
|
|
526
|
+
ye(n) && Fe(n, t);
|
|
527
527
|
}
|
|
528
528
|
else if (ye(e))
|
|
529
529
|
e._store && (e._store.validated = !0);
|
|
530
530
|
else if (e) {
|
|
531
|
-
var f =
|
|
531
|
+
var f = N(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
|
ye(l.value) && Fe(l.value, t);
|
|
@@ -550,11 +550,11 @@ 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 n = v(t);
|
|
554
|
+
Ge(r, e.props, "prop", n, e);
|
|
555
555
|
} else if (t.PropTypes !== void 0 && !me) {
|
|
556
556
|
me = !0;
|
|
557
|
-
var f =
|
|
557
|
+
var f = v(t);
|
|
558
558
|
p("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", f || "Unknown");
|
|
559
559
|
}
|
|
560
560
|
typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && p("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
@@ -563,9 +563,9 @@ Check the top-level render call using <` + r + ">.");
|
|
|
563
563
|
function it(e) {
|
|
564
564
|
{
|
|
565
565
|
for (var t = Object.keys(e.props), r = 0; r < t.length; r++) {
|
|
566
|
-
var
|
|
567
|
-
if (
|
|
568
|
-
J(e), p("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",
|
|
566
|
+
var n = t[r];
|
|
567
|
+
if (n !== "children" && n !== "key") {
|
|
568
|
+
J(e), p("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", n), J(null);
|
|
569
569
|
break;
|
|
570
570
|
}
|
|
571
571
|
}
|
|
@@ -573,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, n, f, m) {
|
|
577
577
|
{
|
|
578
|
-
var l =
|
|
578
|
+
var l = T(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 O =
|
|
582
|
+
var O = nt();
|
|
583
583
|
O ? i += O : i += Pe();
|
|
584
584
|
var w;
|
|
585
|
-
e === null ? w = "null" : fe(e) ? w = "array" : e !== void 0 && e.$$typeof === _ ? (w = "<" + (
|
|
585
|
+
e === null ? w = "null" : fe(e) ? w = "array" : e !== void 0 && e.$$typeof === _ ? (w = "<" + (v(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 = at(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 (fe(
|
|
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 (n)
|
|
594
|
+
if (fe(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 (X.call(t, "key")) {
|
|
604
|
-
var z =
|
|
604
|
+
var z = v(e), D = Object.keys(t).filter(function(ft) {
|
|
605
605
|
return ft !== "key";
|
|
606
|
-
}), ve =
|
|
606
|
+
}), ve = D.length > 0 ? "{key: someKey, " + D.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
607
607
|
if (!Me[z + ve]) {
|
|
608
|
-
var dt =
|
|
608
|
+
var dt = D.length > 0 ? "{" + D.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,40 +629,41 @@ 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 ka({ name: a, value: _, title: u, style: d, className: y }) {
|
|
633
633
|
let C = {
|
|
634
634
|
field: "progress"
|
|
635
635
|
};
|
|
636
|
-
return d && (C.style = d),
|
|
636
|
+
return d && (C.style = d), y && (C.className = y), /* @__PURE__ */ g.jsxs("dl", { ...C, children: [
|
|
637
637
|
u && /* @__PURE__ */ g.jsx("dt", { children: u }),
|
|
638
638
|
/* @__PURE__ */ g.jsx("dd", {})
|
|
639
639
|
] });
|
|
640
640
|
}
|
|
641
|
-
const tr = "
|
|
641
|
+
const tr = "_l_caql8_1", rr = "_f_caql8_25", ar = "_n_caql8_43", nr = "_w_caql8_49", or = "_t_caql8_59", _r = "_g_caql8_65", ir = "_h_caql8_69", sr = "_e_caql8_102", oe = {
|
|
642
642
|
l: tr,
|
|
643
643
|
f: rr,
|
|
644
|
-
n:
|
|
645
|
-
w:
|
|
644
|
+
n: ar,
|
|
645
|
+
w: nr,
|
|
646
646
|
t: or,
|
|
647
647
|
g: _r,
|
|
648
|
-
h: ir
|
|
648
|
+
h: ir,
|
|
649
|
+
e: sr
|
|
649
650
|
};
|
|
650
651
|
let ee = {};
|
|
651
|
-
ee.KeyDown = (
|
|
652
|
-
|
|
652
|
+
ee.KeyDown = (a) => {
|
|
653
|
+
a.key === "Enter" && a.preventDefault();
|
|
653
654
|
};
|
|
654
|
-
ee.PasteOne = (
|
|
655
|
-
|
|
655
|
+
ee.PasteOne = (a) => {
|
|
656
|
+
a.preventDefault(), navigator.clipboard.readText().then((_) => {
|
|
656
657
|
_ = _.replace(/^\s*/, "").replace(/\s*$/, ""), window.document.execCommand("insertText", !1, _);
|
|
657
658
|
}).catch((_) => {
|
|
658
659
|
});
|
|
659
660
|
};
|
|
660
|
-
ee.Paste = (
|
|
661
|
+
ee.Paste = (a, _) => {
|
|
661
662
|
_.preventDefault(), navigator.clipboard.readText().then((u) => {
|
|
662
|
-
if (
|
|
663
|
+
if (a) {
|
|
663
664
|
let d = _.target.textContent.length;
|
|
664
|
-
if (d >=
|
|
665
|
-
|
|
665
|
+
if (d >= a) return;
|
|
666
|
+
a -= d, u = u.slice(0, a);
|
|
666
667
|
}
|
|
667
668
|
window.document.execCommand(
|
|
668
669
|
"insertText",
|
|
@@ -672,11 +673,11 @@ ee.Paste = (n, _) => {
|
|
|
672
673
|
}).catch((u) => {
|
|
673
674
|
});
|
|
674
675
|
};
|
|
675
|
-
ee.Focus = (
|
|
676
|
-
|
|
676
|
+
ee.Focus = (a) => {
|
|
677
|
+
a.target.textContent.length === 0 && (a.target.innerHTML = "<br>");
|
|
677
678
|
};
|
|
678
|
-
ee.Blur = (
|
|
679
|
-
|
|
679
|
+
ee.Blur = (a) => {
|
|
680
|
+
a.target.scrollLeft = 0, a.target.querySelector("br") !== null && a.target.querySelector("br").remove();
|
|
680
681
|
};
|
|
681
682
|
ee.ContentEditable = "plaintext-only";
|
|
682
683
|
var Dt = { exports: {} }, vt = {};
|
|
@@ -690,16 +691,16 @@ var Dt = { exports: {} }, vt = {};
|
|
|
690
691
|
* LICENSE file in the root directory of this source tree.
|
|
691
692
|
*/
|
|
692
693
|
var Bt;
|
|
693
|
-
function
|
|
694
|
+
function lr() {
|
|
694
695
|
if (Bt) return vt;
|
|
695
696
|
Bt = 1;
|
|
696
|
-
var
|
|
697
|
+
var a = U, _ = Symbol.for("react.element"), u = Symbol.for("react.fragment"), d = Object.prototype.hasOwnProperty, y = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, C = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
697
698
|
function E(x, s, h) {
|
|
698
|
-
var o, c = {},
|
|
699
|
-
h !== void 0 && (
|
|
699
|
+
var o, c = {}, k = null, S = null;
|
|
700
|
+
h !== void 0 && (k = "" + h), s.key !== void 0 && (k = "" + s.key), s.ref !== void 0 && (S = s.ref);
|
|
700
701
|
for (o in s) d.call(s, o) && !C.hasOwnProperty(o) && (c[o] = s[o]);
|
|
701
702
|
if (x && x.defaultProps) for (o in s = x.defaultProps, s) c[o] === void 0 && (c[o] = s[o]);
|
|
702
|
-
return { $$typeof: _, type: x, key:
|
|
703
|
+
return { $$typeof: _, type: x, key: k, ref: S, props: c, _owner: y.current };
|
|
703
704
|
}
|
|
704
705
|
return vt.Fragment = u, vt.jsx = E, vt.jsxs = E, vt;
|
|
705
706
|
}
|
|
@@ -714,26 +715,26 @@ var kt = {};
|
|
|
714
715
|
* LICENSE file in the root directory of this source tree.
|
|
715
716
|
*/
|
|
716
717
|
var Lt;
|
|
717
|
-
function
|
|
718
|
+
function cr() {
|
|
718
719
|
return Lt || (Lt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
719
|
-
var
|
|
720
|
-
function
|
|
720
|
+
var a = U, _ = Symbol.for("react.element"), u = Symbol.for("react.portal"), d = Symbol.for("react.fragment"), y = Symbol.for("react.strict_mode"), C = Symbol.for("react.profiler"), E = Symbol.for("react.provider"), x = Symbol.for("react.context"), s = Symbol.for("react.forward_ref"), h = Symbol.for("react.suspense"), o = Symbol.for("react.suspense_list"), c = Symbol.for("react.memo"), k = Symbol.for("react.lazy"), S = Symbol.for("react.offscreen"), I = Symbol.iterator, q = "@@iterator";
|
|
721
|
+
function N(e) {
|
|
721
722
|
if (e === null || typeof e != "object")
|
|
722
723
|
return null;
|
|
723
|
-
var t = I && e[I] || e[
|
|
724
|
+
var t = I && e[I] || e[q];
|
|
724
725
|
return typeof t == "function" ? t : null;
|
|
725
726
|
}
|
|
726
|
-
var R =
|
|
727
|
+
var R = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
727
728
|
function p(e) {
|
|
728
729
|
{
|
|
729
|
-
for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0),
|
|
730
|
-
r[
|
|
730
|
+
for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), n = 1; n < t; n++)
|
|
731
|
+
r[n - 1] = arguments[n];
|
|
731
732
|
F("error", e, r);
|
|
732
733
|
}
|
|
733
734
|
}
|
|
734
735
|
function F(e, t, r) {
|
|
735
736
|
{
|
|
736
|
-
var
|
|
737
|
+
var n = R.ReactDebugCurrentFrame, f = n.getStackAddendum();
|
|
737
738
|
f !== "" && (t += "%s", r = r.concat([f]));
|
|
738
739
|
var m = r.map(function(l) {
|
|
739
740
|
return String(l);
|
|
@@ -741,26 +742,26 @@ function lr() {
|
|
|
741
742
|
m.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, m);
|
|
742
743
|
}
|
|
743
744
|
}
|
|
744
|
-
var
|
|
745
|
+
var K = !1, A = !1, L = !1, Y = !1, M = !1, P;
|
|
745
746
|
P = Symbol.for("react.module.reference");
|
|
746
|
-
function
|
|
747
|
-
return !!(typeof e == "string" || typeof e == "function" || e === d || e === C ||
|
|
747
|
+
function T(e) {
|
|
748
|
+
return !!(typeof e == "string" || typeof e == "function" || e === d || e === C || M || e === y || e === h || e === o || Y || e === S || K || A || L || typeof e == "object" && e !== null && (e.$$typeof === k || e.$$typeof === c || e.$$typeof === E || e.$$typeof === x || e.$$typeof === s || // This needs to include all possible module reference object
|
|
748
749
|
// types supported by any Flight configuration anywhere since
|
|
749
750
|
// we don't know which Flight build this will end up being used
|
|
750
751
|
// with.
|
|
751
752
|
e.$$typeof === P || e.getModuleId !== void 0));
|
|
752
753
|
}
|
|
753
754
|
function G(e, t, r) {
|
|
754
|
-
var
|
|
755
|
-
if (
|
|
756
|
-
return
|
|
755
|
+
var n = e.displayName;
|
|
756
|
+
if (n)
|
|
757
|
+
return n;
|
|
757
758
|
var f = t.displayName || t.name || "";
|
|
758
759
|
return f !== "" ? r + "(" + f + ")" : r;
|
|
759
760
|
}
|
|
760
|
-
function
|
|
761
|
+
function b(e) {
|
|
761
762
|
return e.displayName || "Context";
|
|
762
763
|
}
|
|
763
|
-
function
|
|
764
|
+
function v(e) {
|
|
764
765
|
if (e == null)
|
|
765
766
|
return null;
|
|
766
767
|
if (typeof e.tag == "number" && p("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
@@ -774,7 +775,7 @@ function lr() {
|
|
|
774
775
|
return "Portal";
|
|
775
776
|
case C:
|
|
776
777
|
return "Profiler";
|
|
777
|
-
case
|
|
778
|
+
case y:
|
|
778
779
|
return "StrictMode";
|
|
779
780
|
case h:
|
|
780
781
|
return "Suspense";
|
|
@@ -785,19 +786,19 @@ function lr() {
|
|
|
785
786
|
switch (e.$$typeof) {
|
|
786
787
|
case x:
|
|
787
788
|
var t = e;
|
|
788
|
-
return
|
|
789
|
+
return b(t) + ".Consumer";
|
|
789
790
|
case E:
|
|
790
791
|
var r = e;
|
|
791
|
-
return
|
|
792
|
+
return b(r._context) + ".Provider";
|
|
792
793
|
case s:
|
|
793
794
|
return G(e, e.render, "ForwardRef");
|
|
794
795
|
case c:
|
|
795
|
-
var
|
|
796
|
-
return
|
|
797
|
-
case
|
|
796
|
+
var n = e.displayName || null;
|
|
797
|
+
return n !== null ? n : v(e.type) || "Memo";
|
|
798
|
+
case k: {
|
|
798
799
|
var f = e, m = f._payload, l = f._init;
|
|
799
800
|
try {
|
|
800
|
-
return
|
|
801
|
+
return v(l(m));
|
|
801
802
|
} catch {
|
|
802
803
|
return null;
|
|
803
804
|
}
|
|
@@ -805,14 +806,14 @@ function lr() {
|
|
|
805
806
|
}
|
|
806
807
|
return null;
|
|
807
808
|
}
|
|
808
|
-
var $ = Object.assign,
|
|
809
|
+
var $ = Object.assign, W = 0, se, V, _e, ge, le, be, ke;
|
|
809
810
|
function we() {
|
|
810
811
|
}
|
|
811
812
|
we.__reactDisabledLog = !0;
|
|
812
813
|
function We() {
|
|
813
814
|
{
|
|
814
|
-
if (
|
|
815
|
-
se = console.log, V = console.info,
|
|
815
|
+
if (W === 0) {
|
|
816
|
+
se = console.log, V = console.info, _e = console.warn, ge = console.error, le = console.group, be = console.groupCollapsed, ke = console.groupEnd;
|
|
816
817
|
var e = {
|
|
817
818
|
configurable: !0,
|
|
818
819
|
enumerable: !0,
|
|
@@ -829,12 +830,12 @@ function lr() {
|
|
|
829
830
|
groupEnd: e
|
|
830
831
|
});
|
|
831
832
|
}
|
|
832
|
-
|
|
833
|
+
W++;
|
|
833
834
|
}
|
|
834
835
|
}
|
|
835
836
|
function Ue() {
|
|
836
837
|
{
|
|
837
|
-
if (
|
|
838
|
+
if (W--, W === 0) {
|
|
838
839
|
var e = {
|
|
839
840
|
configurable: !0,
|
|
840
841
|
enumerable: !0,
|
|
@@ -848,7 +849,7 @@ function lr() {
|
|
|
848
849
|
value: V
|
|
849
850
|
}),
|
|
850
851
|
warn: $({}, e, {
|
|
851
|
-
value:
|
|
852
|
+
value: _e
|
|
852
853
|
}),
|
|
853
854
|
error: $({}, e, {
|
|
854
855
|
value: ge
|
|
@@ -864,7 +865,7 @@ function lr() {
|
|
|
864
865
|
})
|
|
865
866
|
});
|
|
866
867
|
}
|
|
867
|
-
|
|
868
|
+
W < 0 && p("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
868
869
|
}
|
|
869
870
|
}
|
|
870
871
|
var ce = R.ReactCurrentDispatcher, ue;
|
|
@@ -874,8 +875,8 @@ function lr() {
|
|
|
874
875
|
try {
|
|
875
876
|
throw Error();
|
|
876
877
|
} catch (f) {
|
|
877
|
-
var
|
|
878
|
-
ue =
|
|
878
|
+
var n = f.stack.trim().match(/\n( *(at )?)/);
|
|
879
|
+
ue = n && n[1] || "";
|
|
879
880
|
}
|
|
880
881
|
return `
|
|
881
882
|
` + ue + e;
|
|
@@ -883,8 +884,8 @@ function lr() {
|
|
|
883
884
|
}
|
|
884
885
|
var de = !1, re;
|
|
885
886
|
{
|
|
886
|
-
var
|
|
887
|
-
re = new
|
|
887
|
+
var qe = typeof WeakMap == "function" ? WeakMap : Map;
|
|
888
|
+
re = new qe();
|
|
888
889
|
}
|
|
889
890
|
function je(e, t) {
|
|
890
891
|
if (!e || de)
|
|
@@ -894,7 +895,7 @@ function lr() {
|
|
|
894
895
|
if (r !== void 0)
|
|
895
896
|
return r;
|
|
896
897
|
}
|
|
897
|
-
var
|
|
898
|
+
var n;
|
|
898
899
|
de = !0;
|
|
899
900
|
var f = Error.prepareStackTrace;
|
|
900
901
|
Error.prepareStackTrace = void 0;
|
|
@@ -912,30 +913,30 @@ function lr() {
|
|
|
912
913
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
913
914
|
try {
|
|
914
915
|
Reflect.construct(l, []);
|
|
915
|
-
} catch (
|
|
916
|
-
|
|
916
|
+
} catch (D) {
|
|
917
|
+
n = D;
|
|
917
918
|
}
|
|
918
919
|
Reflect.construct(e, [], l);
|
|
919
920
|
} else {
|
|
920
921
|
try {
|
|
921
922
|
l.call();
|
|
922
|
-
} catch (
|
|
923
|
-
|
|
923
|
+
} catch (D) {
|
|
924
|
+
n = D;
|
|
924
925
|
}
|
|
925
926
|
e.call(l.prototype);
|
|
926
927
|
}
|
|
927
928
|
} else {
|
|
928
929
|
try {
|
|
929
930
|
throw Error();
|
|
930
|
-
} catch (
|
|
931
|
-
|
|
931
|
+
} catch (D) {
|
|
932
|
+
n = D;
|
|
932
933
|
}
|
|
933
934
|
e();
|
|
934
935
|
}
|
|
935
|
-
} catch (
|
|
936
|
-
if (
|
|
937
|
-
for (var i =
|
|
938
|
-
`), O =
|
|
936
|
+
} catch (D) {
|
|
937
|
+
if (D && n && typeof D.stack == "string") {
|
|
938
|
+
for (var i = D.stack.split(`
|
|
939
|
+
`), O = n.stack.split(`
|
|
939
940
|
`), w = i.length - 1, j = O.length - 1; w >= 1 && j >= 0 && i[w] !== O[j]; )
|
|
940
941
|
j--;
|
|
941
942
|
for (; w >= 1 && j >= 0; w--, j--)
|
|
@@ -943,9 +944,9 @@ function lr() {
|
|
|
943
944
|
if (w !== 1 || j !== 1)
|
|
944
945
|
do
|
|
945
946
|
if (w--, j--, j < 0 || i[w] !== O[j]) {
|
|
946
|
-
var
|
|
947
|
+
var B = `
|
|
947
948
|
` + i[w].replace(" at new ", " at ");
|
|
948
|
-
return e.displayName &&
|
|
949
|
+
return e.displayName && B.includes("<anonymous>") && (B = B.replace("<anonymous>", e.displayName)), typeof e == "function" && re.set(e, B), B;
|
|
949
950
|
}
|
|
950
951
|
while (w >= 1 && j >= 0);
|
|
951
952
|
break;
|
|
@@ -957,14 +958,14 @@ function lr() {
|
|
|
957
958
|
var Z = e ? e.displayName || e.name : "", z = Z ? te(Z) : "";
|
|
958
959
|
return typeof e == "function" && re.set(e, z), z;
|
|
959
960
|
}
|
|
960
|
-
function
|
|
961
|
+
function Ke(e, t, r) {
|
|
961
962
|
return je(e, !1);
|
|
962
963
|
}
|
|
963
964
|
function Ye(e) {
|
|
964
965
|
var t = e.prototype;
|
|
965
966
|
return !!(t && t.isReactComponent);
|
|
966
967
|
}
|
|
967
|
-
function
|
|
968
|
+
function ae(e, t, r) {
|
|
968
969
|
if (e == null)
|
|
969
970
|
return "";
|
|
970
971
|
if (typeof e == "function")
|
|
@@ -980,13 +981,13 @@ function lr() {
|
|
|
980
981
|
if (typeof e == "object")
|
|
981
982
|
switch (e.$$typeof) {
|
|
982
983
|
case s:
|
|
983
|
-
return
|
|
984
|
+
return Ke(e.render);
|
|
984
985
|
case c:
|
|
985
|
-
return
|
|
986
|
-
case
|
|
987
|
-
var
|
|
986
|
+
return ae(e.type, t, r);
|
|
987
|
+
case k: {
|
|
988
|
+
var n = e, f = n._payload, m = n._init;
|
|
988
989
|
try {
|
|
989
|
-
return
|
|
990
|
+
return ae(m(f), t, r);
|
|
990
991
|
} catch {
|
|
991
992
|
}
|
|
992
993
|
}
|
|
@@ -994,14 +995,14 @@ function lr() {
|
|
|
994
995
|
return "";
|
|
995
996
|
}
|
|
996
997
|
var X = Object.prototype.hasOwnProperty, xe = {}, Ce = R.ReactDebugCurrentFrame;
|
|
997
|
-
function
|
|
998
|
+
function ne(e) {
|
|
998
999
|
if (e) {
|
|
999
|
-
var t = e._owner, r =
|
|
1000
|
+
var t = e._owner, r = ae(e.type, e._source, t ? t.type : null);
|
|
1000
1001
|
Ce.setExtraStackFrame(r);
|
|
1001
1002
|
} else
|
|
1002
1003
|
Ce.setExtraStackFrame(null);
|
|
1003
1004
|
}
|
|
1004
|
-
function Ge(e, t, r,
|
|
1005
|
+
function Ge(e, t, r, n, f) {
|
|
1005
1006
|
{
|
|
1006
1007
|
var m = Function.call.bind(X);
|
|
1007
1008
|
for (var l in e)
|
|
@@ -1009,14 +1010,14 @@ function lr() {
|
|
|
1009
1010
|
var i = void 0;
|
|
1010
1011
|
try {
|
|
1011
1012
|
if (typeof e[l] != "function") {
|
|
1012
|
-
var O = Error((
|
|
1013
|
+
var O = Error((n || "React class") + ": " + r + " type `" + l + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[l] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
1013
1014
|
throw O.name = "Invariant Violation", O;
|
|
1014
1015
|
}
|
|
1015
|
-
i = e[l](t, l,
|
|
1016
|
+
i = e[l](t, l, n, r, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
1016
1017
|
} catch (w) {
|
|
1017
1018
|
i = w;
|
|
1018
1019
|
}
|
|
1019
|
-
i && !(i instanceof Error) && (
|
|
1020
|
+
i && !(i instanceof Error) && (ne(f), p("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", n || "React class", r, l, typeof i), ne(null)), i instanceof Error && !(i.message in xe) && (xe[i.message] = !0, ne(f), p("Failed %s type: %s", r, i.message), ne(null));
|
|
1020
1021
|
}
|
|
1021
1022
|
}
|
|
1022
1023
|
}
|
|
@@ -1091,7 +1092,7 @@ function lr() {
|
|
|
1091
1092
|
});
|
|
1092
1093
|
}
|
|
1093
1094
|
}
|
|
1094
|
-
var rt = function(e, t, r,
|
|
1095
|
+
var rt = function(e, t, r, n, f, m, l) {
|
|
1095
1096
|
var i = {
|
|
1096
1097
|
// This tag allows us to uniquely identify this as a React Element
|
|
1097
1098
|
$$typeof: _,
|
|
@@ -1112,7 +1113,7 @@ function lr() {
|
|
|
1112
1113
|
configurable: !1,
|
|
1113
1114
|
enumerable: !1,
|
|
1114
1115
|
writable: !1,
|
|
1115
|
-
value:
|
|
1116
|
+
value: n
|
|
1116
1117
|
}), Object.defineProperty(i, "_source", {
|
|
1117
1118
|
configurable: !1,
|
|
1118
1119
|
enumerable: !1,
|
|
@@ -1120,7 +1121,7 @@ function lr() {
|
|
|
1120
1121
|
value: f
|
|
1121
1122
|
}), Object.freeze && (Object.freeze(i.props), Object.freeze(i)), i;
|
|
1122
1123
|
};
|
|
1123
|
-
function
|
|
1124
|
+
function at(e, t, r, n, f) {
|
|
1124
1125
|
{
|
|
1125
1126
|
var m, l = {}, i = null, O = null;
|
|
1126
1127
|
r !== void 0 && (Re(r), i = "" + r), Xe(t) && (Re(t.key), i = "" + t.key), Ve(t) && (O = t.ref, Qe(t));
|
|
@@ -1135,13 +1136,13 @@ function lr() {
|
|
|
1135
1136
|
var j = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
1136
1137
|
i && et(l, j), O && tt(l, j);
|
|
1137
1138
|
}
|
|
1138
|
-
return rt(e, i, O, f,
|
|
1139
|
+
return rt(e, i, O, f, n, Ee.current, l);
|
|
1139
1140
|
}
|
|
1140
1141
|
}
|
|
1141
1142
|
var pe = R.ReactCurrentOwner, De = R.ReactDebugCurrentFrame;
|
|
1142
1143
|
function J(e) {
|
|
1143
1144
|
if (e) {
|
|
1144
|
-
var t = e._owner, r =
|
|
1145
|
+
var t = e._owner, r = ae(e.type, e._source, t ? t.type : null);
|
|
1145
1146
|
De.setExtraStackFrame(r);
|
|
1146
1147
|
} else
|
|
1147
1148
|
De.setExtraStackFrame(null);
|
|
@@ -1154,7 +1155,7 @@ function lr() {
|
|
|
1154
1155
|
function Pe() {
|
|
1155
1156
|
{
|
|
1156
1157
|
if (pe.current) {
|
|
1157
|
-
var e =
|
|
1158
|
+
var e = v(pe.current.type);
|
|
1158
1159
|
if (e)
|
|
1159
1160
|
return `
|
|
1160
1161
|
|
|
@@ -1163,7 +1164,7 @@ Check the render method of \`` + e + "`.";
|
|
|
1163
1164
|
return "";
|
|
1164
1165
|
}
|
|
1165
1166
|
}
|
|
1166
|
-
function
|
|
1167
|
+
function nt(e) {
|
|
1167
1168
|
return "";
|
|
1168
1169
|
}
|
|
1169
1170
|
var Ne = {};
|
|
@@ -1188,8 +1189,8 @@ Check the top-level render call using <` + r + ">.");
|
|
|
1188
1189
|
if (Ne[r])
|
|
1189
1190
|
return;
|
|
1190
1191
|
Ne[r] = !0;
|
|
1191
|
-
var
|
|
1192
|
-
e && e._owner && e._owner !== pe.current && (
|
|
1192
|
+
var n = "";
|
|
1193
|
+
e && e._owner && e._owner !== pe.current && (n = " It was passed a child from " + v(e._owner.type) + "."), J(e), p('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', r, n), J(null);
|
|
1193
1194
|
}
|
|
1194
1195
|
}
|
|
1195
1196
|
function Ie(e, t) {
|
|
@@ -1198,13 +1199,13 @@ Check the top-level render call using <` + r + ">.");
|
|
|
1198
1199
|
return;
|
|
1199
1200
|
if (fe(e))
|
|
1200
1201
|
for (var r = 0; r < e.length; r++) {
|
|
1201
|
-
var
|
|
1202
|
-
ye(
|
|
1202
|
+
var n = e[r];
|
|
1203
|
+
ye(n) && Fe(n, t);
|
|
1203
1204
|
}
|
|
1204
1205
|
else if (ye(e))
|
|
1205
1206
|
e._store && (e._store.validated = !0);
|
|
1206
1207
|
else if (e) {
|
|
1207
|
-
var f =
|
|
1208
|
+
var f = N(e);
|
|
1208
1209
|
if (typeof f == "function" && f !== e.entries)
|
|
1209
1210
|
for (var m = f.call(e), l; !(l = m.next()).done; )
|
|
1210
1211
|
ye(l.value) && Fe(l.value, t);
|
|
@@ -1226,11 +1227,11 @@ Check the top-level render call using <` + r + ">.");
|
|
|
1226
1227
|
else
|
|
1227
1228
|
return;
|
|
1228
1229
|
if (r) {
|
|
1229
|
-
var
|
|
1230
|
-
Ge(r, e.props, "prop",
|
|
1230
|
+
var n = v(t);
|
|
1231
|
+
Ge(r, e.props, "prop", n, e);
|
|
1231
1232
|
} else if (t.PropTypes !== void 0 && !me) {
|
|
1232
1233
|
me = !0;
|
|
1233
|
-
var f =
|
|
1234
|
+
var f = v(t);
|
|
1234
1235
|
p("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", f || "Unknown");
|
|
1235
1236
|
}
|
|
1236
1237
|
typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && p("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
@@ -1239,9 +1240,9 @@ Check the top-level render call using <` + r + ">.");
|
|
|
1239
1240
|
function it(e) {
|
|
1240
1241
|
{
|
|
1241
1242
|
for (var t = Object.keys(e.props), r = 0; r < t.length; r++) {
|
|
1242
|
-
var
|
|
1243
|
-
if (
|
|
1244
|
-
J(e), p("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",
|
|
1243
|
+
var n = t[r];
|
|
1244
|
+
if (n !== "children" && n !== "key") {
|
|
1245
|
+
J(e), p("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", n), J(null);
|
|
1245
1246
|
break;
|
|
1246
1247
|
}
|
|
1247
1248
|
}
|
|
@@ -1249,39 +1250,39 @@ Check the top-level render call using <` + r + ">.");
|
|
|
1249
1250
|
}
|
|
1250
1251
|
}
|
|
1251
1252
|
var Me = {};
|
|
1252
|
-
function $e(e, t, r,
|
|
1253
|
+
function $e(e, t, r, n, f, m) {
|
|
1253
1254
|
{
|
|
1254
|
-
var l =
|
|
1255
|
+
var l = T(e);
|
|
1255
1256
|
if (!l) {
|
|
1256
1257
|
var i = "";
|
|
1257
1258
|
(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.");
|
|
1258
|
-
var O =
|
|
1259
|
+
var O = nt();
|
|
1259
1260
|
O ? i += O : i += Pe();
|
|
1260
1261
|
var w;
|
|
1261
|
-
e === null ? w = "null" : fe(e) ? w = "array" : e !== void 0 && e.$$typeof === _ ? (w = "<" + (
|
|
1262
|
+
e === null ? w = "null" : fe(e) ? w = "array" : e !== void 0 && e.$$typeof === _ ? (w = "<" + (v(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);
|
|
1262
1263
|
}
|
|
1263
|
-
var j =
|
|
1264
|
+
var j = at(e, t, r, f, m);
|
|
1264
1265
|
if (j == null)
|
|
1265
1266
|
return j;
|
|
1266
1267
|
if (l) {
|
|
1267
|
-
var
|
|
1268
|
-
if (
|
|
1269
|
-
if (
|
|
1270
|
-
if (fe(
|
|
1271
|
-
for (var Z = 0; Z <
|
|
1272
|
-
Ie(
|
|
1273
|
-
Object.freeze && Object.freeze(
|
|
1268
|
+
var B = t.children;
|
|
1269
|
+
if (B !== void 0)
|
|
1270
|
+
if (n)
|
|
1271
|
+
if (fe(B)) {
|
|
1272
|
+
for (var Z = 0; Z < B.length; Z++)
|
|
1273
|
+
Ie(B[Z], e);
|
|
1274
|
+
Object.freeze && Object.freeze(B);
|
|
1274
1275
|
} else
|
|
1275
1276
|
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.");
|
|
1276
1277
|
else
|
|
1277
|
-
Ie(
|
|
1278
|
+
Ie(B, e);
|
|
1278
1279
|
}
|
|
1279
1280
|
if (X.call(t, "key")) {
|
|
1280
|
-
var z =
|
|
1281
|
+
var z = v(e), D = Object.keys(t).filter(function(ft) {
|
|
1281
1282
|
return ft !== "key";
|
|
1282
|
-
}), ve =
|
|
1283
|
+
}), ve = D.length > 0 ? "{key: someKey, " + D.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
1283
1284
|
if (!Me[z + ve]) {
|
|
1284
|
-
var dt =
|
|
1285
|
+
var dt = D.length > 0 ? "{" + D.join(": ..., ") + ": ...}" : "{}";
|
|
1285
1286
|
p(`A props object containing a "key" prop is being spread into JSX:
|
|
1286
1287
|
let props = %s;
|
|
1287
1288
|
<%s {...props} />
|
|
@@ -1303,60 +1304,60 @@ React keys must be passed directly to JSX without using spread:
|
|
|
1303
1304
|
kt.Fragment = d, kt.jsx = ct, kt.jsxs = ut;
|
|
1304
1305
|
}()), kt;
|
|
1305
1306
|
}
|
|
1306
|
-
process.env.NODE_ENV === "production" ? Dt.exports =
|
|
1307
|
+
process.env.NODE_ENV === "production" ? Dt.exports = lr() : Dt.exports = cr();
|
|
1307
1308
|
var Q = Dt.exports;
|
|
1308
|
-
const
|
|
1309
|
-
notice:
|
|
1310
|
-
error:
|
|
1311
|
-
success:
|
|
1312
|
-
remark:
|
|
1313
|
-
copy:
|
|
1309
|
+
const ur = "_notice_13j98_2", dr = "_error_13j98_11", fr = "_success_13j98_14", pr = "_remark_13j98_17", mr = "_copy_13j98_20", Ht = {
|
|
1310
|
+
notice: ur,
|
|
1311
|
+
error: dr,
|
|
1312
|
+
success: fr,
|
|
1313
|
+
remark: pr,
|
|
1314
|
+
copy: mr,
|
|
1314
1315
|
"show-notice": "_show-notice_13j98_1",
|
|
1315
1316
|
"hide-notice": "_hide-notice_13j98_1"
|
|
1316
1317
|
};
|
|
1317
1318
|
let Le = {};
|
|
1318
|
-
function gt({ data:
|
|
1319
|
-
let [_, u] =
|
|
1320
|
-
|
|
1321
|
-
|
|
1319
|
+
function gt({ data: a }) {
|
|
1320
|
+
let [_, u] = U.useState("show");
|
|
1321
|
+
U.useEffect(() => {
|
|
1322
|
+
a.hide && (setTimeout(function() {
|
|
1322
1323
|
u("hide");
|
|
1323
1324
|
}, 1800), setTimeout(function() {
|
|
1324
|
-
Le.del(
|
|
1325
|
+
Le.del(a.key);
|
|
1325
1326
|
}, 2500));
|
|
1326
|
-
}, [
|
|
1327
|
-
let d,
|
|
1328
|
-
switch (
|
|
1327
|
+
}, [a.key]);
|
|
1328
|
+
let d, y;
|
|
1329
|
+
switch (a.type) {
|
|
1329
1330
|
case "error":
|
|
1330
|
-
d = /* @__PURE__ */ Q.jsx(pt.error, {}),
|
|
1331
|
+
d = /* @__PURE__ */ Q.jsx(pt.error, {}), y = "Ошибка:";
|
|
1331
1332
|
break;
|
|
1332
1333
|
case "success":
|
|
1333
|
-
d = /* @__PURE__ */ Q.jsx(pt.success, {}),
|
|
1334
|
+
d = /* @__PURE__ */ Q.jsx(pt.success, {}), y = "Информация:";
|
|
1334
1335
|
break;
|
|
1335
1336
|
case "copy":
|
|
1336
|
-
d = /* @__PURE__ */ Q.jsx(pt.success, {}),
|
|
1337
|
+
d = /* @__PURE__ */ Q.jsx(pt.success, {}), y = "Копирование:";
|
|
1337
1338
|
break;
|
|
1338
1339
|
case "remark":
|
|
1339
|
-
d = /* @__PURE__ */ Q.jsx(pt.success, {}),
|
|
1340
|
+
d = /* @__PURE__ */ Q.jsx(pt.success, {}), y = "Подсказка:";
|
|
1340
1341
|
break;
|
|
1341
1342
|
default:
|
|
1342
|
-
d = /* @__PURE__ */ Q.jsx(pt.success, {}),
|
|
1343
|
+
d = /* @__PURE__ */ Q.jsx(pt.success, {}), y = "Предупреждение:";
|
|
1343
1344
|
break;
|
|
1344
1345
|
}
|
|
1345
|
-
return /* @__PURE__ */ Q.jsxs("li", { className: Ht[
|
|
1346
|
+
return /* @__PURE__ */ Q.jsxs("li", { className: Ht[a.type], "data-status": _, children: [
|
|
1346
1347
|
d,
|
|
1347
|
-
/* @__PURE__ */ Q.jsx("b", { children:
|
|
1348
|
-
/* @__PURE__ */ Q.jsx("p", { children:
|
|
1348
|
+
/* @__PURE__ */ Q.jsx("b", { children: y }),
|
|
1349
|
+
/* @__PURE__ */ Q.jsx("p", { children: a.text })
|
|
1349
1350
|
] });
|
|
1350
1351
|
}
|
|
1351
|
-
function
|
|
1352
|
-
let [_, u] =
|
|
1353
|
-
return
|
|
1354
|
-
|
|
1352
|
+
function yr({ data: a }) {
|
|
1353
|
+
let [_, u] = U.useState("show");
|
|
1354
|
+
return U.useEffect(() => {
|
|
1355
|
+
a.hide && (setTimeout(function() {
|
|
1355
1356
|
u("hide");
|
|
1356
1357
|
}, 1800), setTimeout(function() {
|
|
1357
|
-
Le.del(
|
|
1358
|
+
Le.del(a.key);
|
|
1358
1359
|
}, 2500));
|
|
1359
|
-
}, [
|
|
1360
|
+
}, [a.key]), /* @__PURE__ */ Q.jsx("li", { className: "item", "data-status": _, children: a.text });
|
|
1360
1361
|
}
|
|
1361
1362
|
const pt = {};
|
|
1362
1363
|
pt.error = () => /* @__PURE__ */ Q.jsxs("svg", { viewBox: "0 0 24 24", fill: "none", children: [
|
|
@@ -1392,16 +1393,16 @@ pt.success = () => /* @__PURE__ */ Q.jsxs("svg", { viewBox: "0 0 24 24", fill: "
|
|
|
1392
1393
|
)
|
|
1393
1394
|
] });
|
|
1394
1395
|
var Ct;
|
|
1395
|
-
((
|
|
1396
|
+
((a) => {
|
|
1396
1397
|
function _() {
|
|
1397
|
-
let [s, h] =
|
|
1398
|
+
let [s, h] = U.useState([]);
|
|
1398
1399
|
return Le.set = (o) => {
|
|
1399
1400
|
h([...s, o]);
|
|
1400
1401
|
}, Le.del = (o) => {
|
|
1401
1402
|
h(s.filter((c) => c.key !== o));
|
|
1402
1403
|
}, s.length === 0 ? "" : /* @__PURE__ */ Q.jsx("ul", { className: Ht.notice, children: s.map((o) => o.item) });
|
|
1403
1404
|
}
|
|
1404
|
-
|
|
1405
|
+
a.Init = _;
|
|
1405
1406
|
function u(s, h = !0) {
|
|
1406
1407
|
let o = Date.now(), c = { key: o, text: s, hide: h, type: "error" };
|
|
1407
1408
|
Le.set({
|
|
@@ -1409,7 +1410,7 @@ var Ct;
|
|
|
1409
1410
|
key: o
|
|
1410
1411
|
});
|
|
1411
1412
|
}
|
|
1412
|
-
|
|
1413
|
+
a.Error = u;
|
|
1413
1414
|
function d(s, h = !0) {
|
|
1414
1415
|
let o = Date.now(), c = { key: o, text: s, hide: h, type: "success" };
|
|
1415
1416
|
Le.set({
|
|
@@ -1417,12 +1418,12 @@ var Ct;
|
|
|
1417
1418
|
key: o
|
|
1418
1419
|
});
|
|
1419
1420
|
}
|
|
1420
|
-
|
|
1421
|
-
function
|
|
1421
|
+
a.Success = d;
|
|
1422
|
+
function y(s, h = !0) {
|
|
1422
1423
|
let o = Date.now(), c = { key: o, hide: h, text: s };
|
|
1423
|
-
Le.set({ item: /* @__PURE__ */ Q.jsx(
|
|
1424
|
+
Le.set({ item: /* @__PURE__ */ Q.jsx(yr, { data: c }, o), key: o });
|
|
1424
1425
|
}
|
|
1425
|
-
|
|
1426
|
+
a.Custom = y;
|
|
1426
1427
|
function C(s) {
|
|
1427
1428
|
let h = Date.now(), o = { key: h, hide: !0, ...s };
|
|
1428
1429
|
Le.set({
|
|
@@ -1430,7 +1431,7 @@ var Ct;
|
|
|
1430
1431
|
key: h
|
|
1431
1432
|
});
|
|
1432
1433
|
}
|
|
1433
|
-
|
|
1434
|
+
a.Send = C;
|
|
1434
1435
|
function E(s, h = !0) {
|
|
1435
1436
|
let o = Date.now(), c = { key: o, text: s, hide: h, type: "remark" };
|
|
1436
1437
|
Le.set({
|
|
@@ -1438,7 +1439,7 @@ var Ct;
|
|
|
1438
1439
|
key: o
|
|
1439
1440
|
});
|
|
1440
1441
|
}
|
|
1441
|
-
|
|
1442
|
+
a.Remark = E;
|
|
1442
1443
|
function x(s, h = !0) {
|
|
1443
1444
|
let o = Date.now(), c = { key: o, text: s, hide: h, type: "copy" };
|
|
1444
1445
|
Le.set({
|
|
@@ -1446,48 +1447,51 @@ var Ct;
|
|
|
1446
1447
|
key: o
|
|
1447
1448
|
});
|
|
1448
1449
|
}
|
|
1449
|
-
|
|
1450
|
+
a.Copy = x;
|
|
1450
1451
|
})(Ct || (Ct = {}));
|
|
1451
1452
|
const Be = Jt(
|
|
1452
1453
|
({
|
|
1453
|
-
element_blok:
|
|
1454
|
+
element_blok: a,
|
|
1454
1455
|
element_input: _,
|
|
1455
1456
|
type: u = "input",
|
|
1456
1457
|
title: d,
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1458
|
+
error: y,
|
|
1459
|
+
before: C,
|
|
1460
|
+
after: E,
|
|
1461
|
+
children: x
|
|
1462
|
+
}, s) => /* @__PURE__ */ g.jsxs(
|
|
1461
1463
|
"dl",
|
|
1462
1464
|
{
|
|
1463
1465
|
"data-field": u,
|
|
1464
1466
|
..._.props,
|
|
1465
|
-
className: [
|
|
1467
|
+
className: [oe.l, ...a.className].filter((h) => h !== void 0).join(" "),
|
|
1466
1468
|
children: [
|
|
1467
|
-
d ? /* @__PURE__ */ g.jsx("dt", { className:
|
|
1468
|
-
|
|
1469
|
+
d ? /* @__PURE__ */ g.jsx("dt", { className: oe.t, children: d }) : "",
|
|
1470
|
+
C,
|
|
1469
1471
|
/* @__PURE__ */ g.jsx(
|
|
1470
1472
|
"dd",
|
|
1471
1473
|
{
|
|
1472
|
-
ref:
|
|
1473
|
-
className: [
|
|
1474
|
-
|
|
1475
|
-
|
|
1474
|
+
ref: s,
|
|
1475
|
+
className: [
|
|
1476
|
+
oe.f,
|
|
1477
|
+
..._.className,
|
|
1478
|
+
y && y.length > 0 ? oe.e : ""
|
|
1479
|
+
].join(" "),
|
|
1476
1480
|
..._.props,
|
|
1477
|
-
children:
|
|
1481
|
+
children: x
|
|
1478
1482
|
}
|
|
1479
1483
|
),
|
|
1480
|
-
|
|
1484
|
+
E
|
|
1481
1485
|
]
|
|
1482
1486
|
}
|
|
1483
1487
|
)
|
|
1484
1488
|
);
|
|
1485
|
-
function
|
|
1486
|
-
value:
|
|
1489
|
+
function wa({
|
|
1490
|
+
value: a = "",
|
|
1487
1491
|
onValue: _,
|
|
1488
1492
|
onSave: u,
|
|
1489
1493
|
name: d,
|
|
1490
|
-
format:
|
|
1494
|
+
format: y = "+_(___) ___-__-__",
|
|
1491
1495
|
placeholder: C = "",
|
|
1492
1496
|
title: E = "",
|
|
1493
1497
|
error: x = "",
|
|
@@ -1495,47 +1499,47 @@ function wn({
|
|
|
1495
1499
|
edit: h = !0,
|
|
1496
1500
|
active: o = !0,
|
|
1497
1501
|
after: c = "",
|
|
1498
|
-
show:
|
|
1502
|
+
show: k = !0,
|
|
1499
1503
|
view: S,
|
|
1500
1504
|
className: I = ""
|
|
1501
1505
|
}) {
|
|
1502
|
-
h = h !== void 0 ? h : !0, o = o !== void 0 ? o : !0, s = !!(s && (
|
|
1503
|
-
let
|
|
1504
|
-
let $ = document.createRange(),
|
|
1505
|
-
$.setStart(
|
|
1506
|
-
},
|
|
1507
|
-
|
|
1508
|
-
window.document.execCommand("insertText", !1,
|
|
1509
|
-
}).catch((
|
|
1506
|
+
h = h !== void 0 ? h : !0, o = o !== void 0 ? o : !0, s = !!(s && (a === "" || a === void 0)) && !(h && o), U.useRef(null);
|
|
1507
|
+
let N = y, R = !0, p = 0, F = (b, v) => {
|
|
1508
|
+
let $ = document.createRange(), W = window.getSelection();
|
|
1509
|
+
$.setStart(v.childNodes[0], b), $.collapse(!0), W.removeAllRanges(), W.addRange($), v.focus();
|
|
1510
|
+
}, K = (b) => {
|
|
1511
|
+
b.preventDefault(), navigator.clipboard.readText().then((v) => {
|
|
1512
|
+
window.document.execCommand("insertText", !1, v);
|
|
1513
|
+
}).catch((v) => {
|
|
1510
1514
|
});
|
|
1511
|
-
},
|
|
1512
|
-
let
|
|
1513
|
-
|
|
1514
|
-
let se =
|
|
1515
|
+
}, A = (b) => {
|
|
1516
|
+
let v = 0, $ = "", W = b.replace(/\D/g, "");
|
|
1517
|
+
W === "" && (R = !0);
|
|
1518
|
+
let se = W.split(""), V = "";
|
|
1515
1519
|
se.forEach((le) => {
|
|
1516
|
-
R && (V += le, R && (p = ("" + V).length,
|
|
1520
|
+
R && (V += le, R && (p = ("" + V).length, N = y.replace(new RegExp("[0-9]", "g"), "_"), $ = ""), p > ("" + V).length && (R = !0, N = y.replace(new RegExp("[0-9]", "g"), "_"), $ = ""));
|
|
1517
1521
|
});
|
|
1518
|
-
let
|
|
1519
|
-
return
|
|
1520
|
-
return
|
|
1521
|
-
}), i:
|
|
1522
|
-
},
|
|
1523
|
-
|
|
1522
|
+
let _e = N.replace(/\D/g, "");
|
|
1523
|
+
return _e.length >= W.length && (W = _e), { q: N.replace(/[_\d]/g, function() {
|
|
1524
|
+
return W.charAt(v++) || "_";
|
|
1525
|
+
}), i: v, v: W, f: $ };
|
|
1526
|
+
}, L = (b) => {
|
|
1527
|
+
b.preventDefault(), navigator.clipboard.writeText(b.target.textContent.replace(/\D/g, "")).then(
|
|
1524
1528
|
function() {
|
|
1525
1529
|
Ct.Copy("Данные в буфер обмене");
|
|
1526
1530
|
},
|
|
1527
|
-
function(
|
|
1531
|
+
function(v) {
|
|
1528
1532
|
}
|
|
1529
1533
|
);
|
|
1530
|
-
},
|
|
1531
|
-
let
|
|
1532
|
-
|
|
1533
|
-
}, P = (
|
|
1534
|
-
|
|
1534
|
+
}, Y = A(a), M = (b) => {
|
|
1535
|
+
let v = A(b.target.textContent);
|
|
1536
|
+
b.target.textContent = v.q, v.i = v.q.lastIndexOf(v.v.substr(-1)), v.i < v.q.length && v.q !== N ? v.i++ : v.i = v.q.indexOf("_"), F(v.i, b.target), _ && _({ value: v.q.replace(/\D/g, ""), name: d });
|
|
1537
|
+
}, P = (b) => {
|
|
1538
|
+
b.key === "Enter" && b.preventDefault();
|
|
1535
1539
|
};
|
|
1536
|
-
const
|
|
1537
|
-
ee.Blur(
|
|
1538
|
-
value:
|
|
1540
|
+
const T = (b) => {
|
|
1541
|
+
ee.Blur(b), u && u({
|
|
1542
|
+
value: b.target.textContent.replace(/\D/g, ""),
|
|
1539
1543
|
name: d
|
|
1540
1544
|
});
|
|
1541
1545
|
};
|
|
@@ -1546,69 +1550,69 @@ function wn({
|
|
|
1546
1550
|
type: "input",
|
|
1547
1551
|
title: E,
|
|
1548
1552
|
element_blok: { className: [I] },
|
|
1549
|
-
element_input: { className: [
|
|
1553
|
+
element_input: { className: [oe.w] },
|
|
1550
1554
|
children: /* @__PURE__ */ g.jsx(
|
|
1551
1555
|
"div",
|
|
1552
1556
|
{
|
|
1553
|
-
onPaste:
|
|
1554
|
-
onInput:
|
|
1557
|
+
onPaste: K,
|
|
1558
|
+
onInput: M,
|
|
1555
1559
|
onKeyDown: P,
|
|
1556
|
-
onContextMenu:
|
|
1557
|
-
onBlur:
|
|
1560
|
+
onContextMenu: L,
|
|
1561
|
+
onBlur: T,
|
|
1558
1562
|
suppressContentEditableWarning: !0,
|
|
1559
1563
|
...G,
|
|
1560
|
-
children:
|
|
1564
|
+
children: Y.q
|
|
1561
1565
|
}
|
|
1562
1566
|
)
|
|
1563
1567
|
}
|
|
1564
1568
|
);
|
|
1565
1569
|
}
|
|
1566
|
-
const
|
|
1567
|
-
o:
|
|
1568
|
-
c:
|
|
1570
|
+
const vr = "_o_1c9e1_1", gr = "_c_1c9e1_11", St = {
|
|
1571
|
+
o: vr,
|
|
1572
|
+
c: gr
|
|
1569
1573
|
};
|
|
1570
|
-
function
|
|
1571
|
-
value:
|
|
1574
|
+
function ja({
|
|
1575
|
+
value: a,
|
|
1572
1576
|
onValue: _,
|
|
1573
1577
|
name: u,
|
|
1574
1578
|
error: d,
|
|
1575
|
-
icon:
|
|
1579
|
+
icon: y,
|
|
1576
1580
|
edit: C = !0,
|
|
1577
1581
|
active: E = !0,
|
|
1578
1582
|
title: x,
|
|
1579
1583
|
placeholder: s = "",
|
|
1580
1584
|
className: h
|
|
1581
1585
|
}) {
|
|
1582
|
-
let [o, c] =
|
|
1583
|
-
const
|
|
1584
|
-
|
|
1585
|
-
c(
|
|
1586
|
-
}, [
|
|
1587
|
-
let
|
|
1586
|
+
let [o, c] = U.useState(a);
|
|
1587
|
+
const k = U.useRef(null), [S, I] = U.useState(!1);
|
|
1588
|
+
U.useEffect(() => {
|
|
1589
|
+
c(a);
|
|
1590
|
+
}, [a]);
|
|
1591
|
+
let q = (p) => {
|
|
1588
1592
|
c(p), _ && _({ value: p, name: u });
|
|
1589
|
-
},
|
|
1593
|
+
}, N = (p) => {
|
|
1590
1594
|
if (!C || !E) return;
|
|
1591
|
-
const F = p.target.getBoundingClientRect(),
|
|
1592
|
-
|
|
1595
|
+
const F = p.target.getBoundingClientRect(), K = F.left, A = F.top;
|
|
1596
|
+
k.position = { x: K, y: A }, I(!0);
|
|
1593
1597
|
};
|
|
1594
1598
|
const R = {};
|
|
1595
|
-
return s && (R.placeholder = s),
|
|
1599
|
+
return s && (R.placeholder = s), y || /* @__PURE__ */ g.jsxs(g.Fragment, { children: [
|
|
1596
1600
|
/* @__PURE__ */ g.jsx(
|
|
1597
1601
|
Be,
|
|
1598
1602
|
{
|
|
1599
1603
|
type: "date",
|
|
1600
1604
|
title: x,
|
|
1601
1605
|
element_blok: { className: [h] },
|
|
1602
|
-
element_input: { className: [
|
|
1603
|
-
children: /* @__PURE__ */ g.jsx("div", { onClick:
|
|
1606
|
+
element_input: { className: [oe.w] },
|
|
1607
|
+
children: /* @__PURE__ */ g.jsx("div", { onClick: N, ...R, children: br(o, "mm.yyyy") })
|
|
1604
1608
|
}
|
|
1605
1609
|
),
|
|
1606
1610
|
S && Mt(
|
|
1607
1611
|
/* @__PURE__ */ g.jsx(
|
|
1608
|
-
|
|
1612
|
+
hr,
|
|
1609
1613
|
{
|
|
1610
|
-
position:
|
|
1611
|
-
onValue:
|
|
1614
|
+
position: k.position,
|
|
1615
|
+
onValue: q,
|
|
1612
1616
|
date: o,
|
|
1613
1617
|
onOpen: I
|
|
1614
1618
|
},
|
|
@@ -1618,27 +1622,27 @@ function jn({
|
|
|
1618
1622
|
)
|
|
1619
1623
|
] });
|
|
1620
1624
|
}
|
|
1621
|
-
const
|
|
1622
|
-
let
|
|
1623
|
-
y: parseInt(
|
|
1624
|
-
m: parseInt(
|
|
1625
|
+
const hr = ({ onOpen: a, date: _, onValue: u, position: d }) => {
|
|
1626
|
+
let y = /* @__PURE__ */ new Date(), C = new Date(_), E = {
|
|
1627
|
+
y: parseInt(y.getFullYear()),
|
|
1628
|
+
m: parseInt(y.getMonth()) + 1
|
|
1625
1629
|
}, x = {
|
|
1626
1630
|
y: parseInt(C.getFullYear()),
|
|
1627
1631
|
m: parseInt(C.getMonth()) + 1
|
|
1628
|
-
}, [s, h] =
|
|
1629
|
-
|
|
1632
|
+
}, [s, h] = U.useState(x.y), o = () => {
|
|
1633
|
+
a(!1);
|
|
1630
1634
|
}, c = () => {
|
|
1631
1635
|
h(s + 1);
|
|
1632
|
-
},
|
|
1636
|
+
}, k = () => {
|
|
1633
1637
|
h(s - 1);
|
|
1634
1638
|
}, S = (p) => {
|
|
1635
|
-
u(s + "-" +
|
|
1636
|
-
}, I = (p) => E.y === x.y && E.m === p ? "_FFEB3B" : "",
|
|
1639
|
+
u(s + "-" + kr(2, p)), o();
|
|
1640
|
+
}, I = (p) => E.y === x.y && E.m === p ? "_FFEB3B" : "", q = Array(12).fill("").map((p, F) => F + 1), N = window.innerHeight - d.y + 33 < 320 ? d.y - 312 : d.y + 33, R = window.innerWidth - d.x < 265 ? d.x - 235 : d.x;
|
|
1637
1641
|
return /* @__PURE__ */ g.jsxs(g.Fragment, { children: [
|
|
1638
1642
|
/* @__PURE__ */ g.jsx("div", { className: St.o, onClick: o }),
|
|
1639
|
-
/* @__PURE__ */ g.jsxs("div", { className: St.c, style: { top:
|
|
1643
|
+
/* @__PURE__ */ g.jsxs("div", { className: St.c, style: { top: N + "px", left: R + "px" }, children: [
|
|
1640
1644
|
/* @__PURE__ */ g.jsxs("s", { children: [
|
|
1641
|
-
/* @__PURE__ */ g.jsx("i", { onClick:
|
|
1645
|
+
/* @__PURE__ */ g.jsx("i", { onClick: k, children: /* @__PURE__ */ g.jsx(
|
|
1642
1646
|
"svg",
|
|
1643
1647
|
{
|
|
1644
1648
|
width: "16",
|
|
@@ -1662,30 +1666,30 @@ const gr = ({ onOpen: n, date: _, onValue: u, position: d }) => {
|
|
|
1662
1666
|
}
|
|
1663
1667
|
) })
|
|
1664
1668
|
] }),
|
|
1665
|
-
/* @__PURE__ */ g.jsx("div", { "grid-month": "", children:
|
|
1669
|
+
/* @__PURE__ */ g.jsx("div", { "grid-month": "", children: q.map((p, F) => /* @__PURE__ */ g.jsx(
|
|
1666
1670
|
"span",
|
|
1667
1671
|
{
|
|
1668
1672
|
onClick: () => {
|
|
1669
1673
|
S(p);
|
|
1670
1674
|
},
|
|
1671
1675
|
color: I(p),
|
|
1672
|
-
children: /* @__PURE__ */ g.jsx("b", { children:
|
|
1676
|
+
children: /* @__PURE__ */ g.jsx("b", { children: wr(p).abc })
|
|
1673
1677
|
},
|
|
1674
1678
|
F
|
|
1675
1679
|
)) })
|
|
1676
1680
|
] })
|
|
1677
1681
|
] });
|
|
1678
1682
|
};
|
|
1679
|
-
function
|
|
1680
|
-
_ === void 0 ? (_ =
|
|
1683
|
+
function br(a, _) {
|
|
1684
|
+
_ === void 0 ? (_ = a, a = /* @__PURE__ */ new Date()) : a = new Date(a);
|
|
1681
1685
|
let u = {
|
|
1682
|
-
yyyy:
|
|
1683
|
-
yy: ("" +
|
|
1684
|
-
mm: ("0" + (
|
|
1685
|
-
dd: ("0" +
|
|
1686
|
-
HH: ("0" +
|
|
1687
|
-
MM: ("0" +
|
|
1688
|
-
SS: ("0" +
|
|
1686
|
+
yyyy: a.getFullYear(),
|
|
1687
|
+
yy: ("" + a.getFullYear()).slice(-2),
|
|
1688
|
+
mm: ("0" + (a.getMonth() + 1)).slice(-2),
|
|
1689
|
+
dd: ("0" + a.getDate()).slice(-2),
|
|
1690
|
+
HH: ("0" + a.getHours()).slice(-2),
|
|
1691
|
+
MM: ("0" + a.getMinutes()).slice(-2),
|
|
1692
|
+
SS: ("0" + a.getSeconds()).slice(-2),
|
|
1689
1693
|
__: " ",
|
|
1690
1694
|
_: " "
|
|
1691
1695
|
};
|
|
@@ -1693,13 +1697,13 @@ function hr(n, _) {
|
|
|
1693
1697
|
_ = _.replace(d, u[d]);
|
|
1694
1698
|
return _;
|
|
1695
1699
|
}
|
|
1696
|
-
function
|
|
1700
|
+
function kr(a, _) {
|
|
1697
1701
|
let u = _ + "";
|
|
1698
|
-
for (; u.length <
|
|
1702
|
+
for (; u.length < a; ) u = "0" + u;
|
|
1699
1703
|
return u;
|
|
1700
1704
|
}
|
|
1701
|
-
function
|
|
1702
|
-
return
|
|
1705
|
+
function wr(a) {
|
|
1706
|
+
return a = typeof a == "number" ? a : new Date(a).getMonth() + 1, {
|
|
1703
1707
|
1: { val: "01", name: "Январь", names: "Января", abc: "Янв" },
|
|
1704
1708
|
2: { val: "02", name: "Февраль", names: "Февраля", abc: "Февр" },
|
|
1705
1709
|
3: { val: "03", name: "Март", names: "Марта", abc: "Март" },
|
|
@@ -1712,14 +1716,14 @@ function kr(n) {
|
|
|
1712
1716
|
10: { val: "10", name: "Октябрь", names: "Октября", abc: "Окт" },
|
|
1713
1717
|
11: { val: "11", name: "Ноябрь", names: "Ноября", abc: "Нояб" },
|
|
1714
1718
|
12: { val: "12", name: "Декабрь", names: "Декабря", abc: "Дек" }
|
|
1715
|
-
}[
|
|
1719
|
+
}[a];
|
|
1716
1720
|
}
|
|
1717
|
-
function
|
|
1718
|
-
value:
|
|
1721
|
+
function xa({
|
|
1722
|
+
value: a,
|
|
1719
1723
|
onValue: _,
|
|
1720
1724
|
name: u,
|
|
1721
1725
|
placeholder: d = "",
|
|
1722
|
-
title:
|
|
1726
|
+
title: y = "",
|
|
1723
1727
|
error: C = "",
|
|
1724
1728
|
hide: E = !1,
|
|
1725
1729
|
edit: x = !0,
|
|
@@ -1727,31 +1731,31 @@ function xn({
|
|
|
1727
1731
|
after: h = "",
|
|
1728
1732
|
show: o = !0,
|
|
1729
1733
|
course: c = 100,
|
|
1730
|
-
view:
|
|
1734
|
+
view: k,
|
|
1731
1735
|
type: S,
|
|
1732
1736
|
onSave: I,
|
|
1733
|
-
className:
|
|
1734
|
-
isClear:
|
|
1737
|
+
className: q = "",
|
|
1738
|
+
isClear: N = !1
|
|
1735
1739
|
}) {
|
|
1736
|
-
let R = !!(E && (
|
|
1737
|
-
let
|
|
1738
|
-
|
|
1739
|
-
},
|
|
1740
|
+
let R = !!(E && (a === "" || a === void 0)), p = (T) => S === "multi" ? T.replace(/[^+\d.+-]/g, "") : T.replace(/[^+\d.]/g, ""), F = (T, G) => {
|
|
1741
|
+
let b = document.createRange(), v = window.getSelection();
|
|
1742
|
+
b.setStart(G.childNodes[0], T), b.collapse(!0), v.removeAllRanges(), v.addRange(b), G.focus();
|
|
1743
|
+
}, K = (T) => {
|
|
1740
1744
|
_ == null || _({
|
|
1741
|
-
value: p(
|
|
1745
|
+
value: p(T.target.textContent) * c,
|
|
1742
1746
|
name: u
|
|
1743
|
-
}),
|
|
1744
|
-
},
|
|
1745
|
-
ee.Blur(
|
|
1746
|
-
value: p(
|
|
1747
|
+
}), T.target.textContent = p(T.target.textContent), T.target.textContent.length > 0 && F(T.target.textContent.length, T.target);
|
|
1748
|
+
}, A = (T) => {
|
|
1749
|
+
ee.Blur(T), T.target.textContent === "" && (T.target.textContent = 0), I == null || I({ value: p(T.target.textContent) * c, name: u }), _ == null || _({
|
|
1750
|
+
value: p(T.target.textContent) * c,
|
|
1747
1751
|
name: u
|
|
1748
|
-
}),
|
|
1749
|
-
},
|
|
1750
|
-
|
|
1751
|
-
},
|
|
1752
|
-
|
|
1753
|
-
},
|
|
1754
|
-
|
|
1752
|
+
}), T.target.textContent = Wt(T.target.textContent);
|
|
1753
|
+
}, L = (T) => {
|
|
1754
|
+
T.target.textContent = p(T.target.textContent);
|
|
1755
|
+
}, Y = (T) => {
|
|
1756
|
+
T.key === "Enter" && T.preventDefault();
|
|
1757
|
+
}, M = (T) => {
|
|
1758
|
+
T.preventDefault(), navigator.clipboard.readText().then((G) => {
|
|
1755
1759
|
G = G.replace(/^\s*/, "").replace(/\s*$/, ""), window.document.execCommand("insertText", !1, G);
|
|
1756
1760
|
}).catch((G) => {
|
|
1757
1761
|
});
|
|
@@ -1762,36 +1766,36 @@ function xn({
|
|
|
1762
1766
|
Be,
|
|
1763
1767
|
{
|
|
1764
1768
|
type: "input",
|
|
1765
|
-
title:
|
|
1766
|
-
element_blok: { className: [
|
|
1767
|
-
element_input: { className: [
|
|
1769
|
+
title: y,
|
|
1770
|
+
element_blok: { className: [q] },
|
|
1771
|
+
element_input: { className: [oe.w] },
|
|
1768
1772
|
children: /* @__PURE__ */ g.jsx(
|
|
1769
1773
|
"div",
|
|
1770
1774
|
{
|
|
1771
1775
|
...P,
|
|
1772
|
-
onInput:
|
|
1773
|
-
onPaste:
|
|
1774
|
-
onBlur:
|
|
1775
|
-
onKeyDown:
|
|
1776
|
-
onFocus:
|
|
1776
|
+
onInput: K,
|
|
1777
|
+
onPaste: M,
|
|
1778
|
+
onBlur: A,
|
|
1779
|
+
onKeyDown: Y,
|
|
1780
|
+
onFocus: L,
|
|
1777
1781
|
contentEditable: x && s ? ee.ContentEditable : "false",
|
|
1778
1782
|
suppressContentEditableWarning: !0,
|
|
1779
1783
|
"data-after": h,
|
|
1780
|
-
children: !d ||
|
|
1784
|
+
children: !d || a ? Wt(a) : ""
|
|
1781
1785
|
}
|
|
1782
1786
|
)
|
|
1783
1787
|
}
|
|
1784
1788
|
);
|
|
1785
1789
|
}
|
|
1786
|
-
function Wt(
|
|
1787
|
-
return parseFloat(
|
|
1790
|
+
function Wt(a, _) {
|
|
1791
|
+
return parseFloat(a).toFixed(2).replace(/(\d)(?=(\d{3})+\.)/g, "$1 ");
|
|
1788
1792
|
}
|
|
1789
|
-
function
|
|
1790
|
-
title:
|
|
1793
|
+
function Ca({
|
|
1794
|
+
title: a,
|
|
1791
1795
|
error: _,
|
|
1792
1796
|
edit: u = !0,
|
|
1793
1797
|
active: d = !0,
|
|
1794
|
-
className:
|
|
1798
|
+
className: y,
|
|
1795
1799
|
placeholder: C,
|
|
1796
1800
|
max: E,
|
|
1797
1801
|
min: x,
|
|
@@ -1799,41 +1803,41 @@ function Cn({
|
|
|
1799
1803
|
icon: h,
|
|
1800
1804
|
name: o = "",
|
|
1801
1805
|
value: c,
|
|
1802
|
-
after:
|
|
1806
|
+
after: k
|
|
1803
1807
|
}) {
|
|
1804
|
-
let [S, I] =
|
|
1808
|
+
let [S, I] = U.useState(
|
|
1805
1809
|
c === void 0 ? /* @__PURE__ */ new Date() : c
|
|
1806
1810
|
);
|
|
1807
|
-
const
|
|
1811
|
+
const q = U.useRef(null), [N, R] = U.useState(!1);
|
|
1808
1812
|
let p = !u && d;
|
|
1809
|
-
|
|
1813
|
+
U.useEffect(() => {
|
|
1810
1814
|
I(c === void 0 ? /* @__PURE__ */ new Date() : c);
|
|
1811
1815
|
}, [c]);
|
|
1812
|
-
let F = (
|
|
1813
|
-
I(
|
|
1814
|
-
},
|
|
1815
|
-
const
|
|
1816
|
-
|
|
1816
|
+
let F = (L) => {
|
|
1817
|
+
I(L), s == null || s({ value: L, name: o });
|
|
1818
|
+
}, K = (L) => {
|
|
1819
|
+
const Y = L.target.getBoundingClientRect(), M = Y.left, P = Y.bottom, T = Y.top;
|
|
1820
|
+
q.position = { x: M, b: P, y: T }, R(!0);
|
|
1817
1821
|
};
|
|
1818
|
-
const
|
|
1819
|
-
return C && (
|
|
1822
|
+
const A = {};
|
|
1823
|
+
return C && (A.placeholder = C), p ? /* @__PURE__ */ g.jsx(g.Fragment, {}) : /* @__PURE__ */ g.jsxs(g.Fragment, { children: [
|
|
1820
1824
|
h ? h() : /* @__PURE__ */ g.jsxs(
|
|
1821
1825
|
"dl",
|
|
1822
1826
|
{
|
|
1823
1827
|
"data-field": "date",
|
|
1824
|
-
className: [
|
|
1828
|
+
className: [oe.l, y].filter((L) => L !== void 0).join(" "),
|
|
1825
1829
|
children: [
|
|
1826
|
-
|
|
1830
|
+
a ? /* @__PURE__ */ g.jsx("dt", { className: oe.t, children: a }) : "",
|
|
1827
1831
|
/* @__PURE__ */ g.jsxs(
|
|
1828
1832
|
"dd",
|
|
1829
1833
|
{
|
|
1830
|
-
onClick:
|
|
1831
|
-
className: [
|
|
1832
|
-
...
|
|
1834
|
+
onClick: K,
|
|
1835
|
+
className: [oe.f, oe.w].join(" "),
|
|
1836
|
+
...A,
|
|
1833
1837
|
"data-edit": (u && d) + "",
|
|
1834
1838
|
children: [
|
|
1835
|
-
|
|
1836
|
-
|
|
1839
|
+
Cr(S, "dd.mm.yyyy"),
|
|
1840
|
+
k
|
|
1837
1841
|
]
|
|
1838
1842
|
}
|
|
1839
1843
|
),
|
|
@@ -1841,17 +1845,17 @@ function Cn({
|
|
|
1841
1845
|
]
|
|
1842
1846
|
}
|
|
1843
1847
|
),
|
|
1844
|
-
|
|
1848
|
+
N && Mt(
|
|
1845
1849
|
/* @__PURE__ */ g.jsx(
|
|
1846
|
-
|
|
1850
|
+
jr,
|
|
1847
1851
|
{
|
|
1848
|
-
position:
|
|
1852
|
+
position: q.position,
|
|
1849
1853
|
onValue: F,
|
|
1850
1854
|
date: S,
|
|
1851
1855
|
max: E,
|
|
1852
1856
|
min: x,
|
|
1853
1857
|
onOpen: R,
|
|
1854
|
-
className:
|
|
1858
|
+
className: y
|
|
1855
1859
|
},
|
|
1856
1860
|
(/* @__PURE__ */ new Date()).getTime()
|
|
1857
1861
|
),
|
|
@@ -1859,16 +1863,16 @@ function Cn({
|
|
|
1859
1863
|
)
|
|
1860
1864
|
] });
|
|
1861
1865
|
}
|
|
1862
|
-
const
|
|
1863
|
-
date:
|
|
1866
|
+
const jr = ({
|
|
1867
|
+
date: a,
|
|
1864
1868
|
onValue: _,
|
|
1865
1869
|
position: u,
|
|
1866
1870
|
max: d,
|
|
1867
|
-
min:
|
|
1871
|
+
min: y,
|
|
1868
1872
|
className: C,
|
|
1869
1873
|
onOpen: E
|
|
1870
1874
|
}) => {
|
|
1871
|
-
let x = /* @__PURE__ */ new Date(), s = new Date(
|
|
1875
|
+
let x = /* @__PURE__ */ new Date(), s = new Date(a), h = {
|
|
1872
1876
|
y: parseInt(x.getFullYear()),
|
|
1873
1877
|
d: parseInt(x.getDate()),
|
|
1874
1878
|
m: parseInt(x.getMonth()) + 1
|
|
@@ -1876,40 +1880,40 @@ const wr = ({
|
|
|
1876
1880
|
y: parseInt(s.getFullYear()),
|
|
1877
1881
|
d: parseInt(s.getDate()),
|
|
1878
1882
|
m: parseInt(s.getMonth()) + 1
|
|
1879
|
-
}, [c,
|
|
1880
|
-
let
|
|
1881
|
-
return
|
|
1882
|
-
}, I = ["пн", "вт", "ср", "чт", "пт", "сб", "вс"],
|
|
1883
|
-
for (let
|
|
1883
|
+
}, [c, k] = U.useState({ y: o.y, m: o.m }), S = (b) => {
|
|
1884
|
+
let v = b.getDay();
|
|
1885
|
+
return v === 0 && (v = 7), v - 1;
|
|
1886
|
+
}, I = ["пн", "вт", "ср", "чт", "пт", "сб", "вс"], q = c.m - 1, N = new Date(c.y, q), R = [];
|
|
1887
|
+
for (let b = 0; b < S(N); b++)
|
|
1884
1888
|
R.push(0);
|
|
1885
|
-
for (;
|
|
1886
|
-
R.push(
|
|
1889
|
+
for (; N.getMonth() === q; )
|
|
1890
|
+
R.push(N.getDate()), N.setDate(N.getDate() + 1);
|
|
1887
1891
|
let p = () => {
|
|
1888
1892
|
E(!1);
|
|
1889
1893
|
}, F = () => {
|
|
1890
|
-
|
|
1891
|
-
},
|
|
1892
|
-
|
|
1893
|
-
},
|
|
1894
|
+
L(c.m + 1, c.y);
|
|
1895
|
+
}, K = () => {
|
|
1896
|
+
L(c.m - 1, c.y);
|
|
1897
|
+
}, A = (b) => {
|
|
1894
1898
|
_(
|
|
1895
|
-
c.y + "-" + Ut(2, c.m) + "-" + Ut(2,
|
|
1899
|
+
c.y + "-" + Ut(2, c.m) + "-" + Ut(2, b)
|
|
1896
1900
|
), p();
|
|
1897
|
-
},
|
|
1898
|
-
|
|
1901
|
+
}, L = (b, v) => {
|
|
1902
|
+
v = b > 12 ? v + 1 : b < 1 ? v - 1 : v, b = b > 12 ? 1 : b < 1 ? 12 : b, k({ y: v, m: b });
|
|
1899
1903
|
};
|
|
1900
|
-
const
|
|
1901
|
-
let
|
|
1904
|
+
const Y = (b) => h.y === c.y && h.m === c.m && h.d === b ? { "data-active": "true" } : {}, M = (b) => o.y === c.y && o.m === c.m && o.d === b ? { "data-current": "true" } : {}, P = (b) => {
|
|
1905
|
+
let v = !0;
|
|
1902
1906
|
if (d) {
|
|
1903
|
-
let $ = d.getTime(),
|
|
1904
|
-
$ <
|
|
1907
|
+
let $ = d.getTime(), W = new Date(c.y, c.m - 1, b).getTime();
|
|
1908
|
+
$ < W && (v = !1);
|
|
1905
1909
|
}
|
|
1906
|
-
if (
|
|
1907
|
-
let $ =
|
|
1908
|
-
$ >
|
|
1910
|
+
if (y) {
|
|
1911
|
+
let $ = y.getTime(), W = new Date(c.y, c.m - 1, b).getTime();
|
|
1912
|
+
$ > W && (v = !1);
|
|
1909
1913
|
}
|
|
1910
|
-
return
|
|
1914
|
+
return v;
|
|
1911
1915
|
};
|
|
1912
|
-
let
|
|
1916
|
+
let T = window.innerHeight - u.y < 320 ? u.y - 312 : u.b, G = window.innerWidth - u.x < 265 ? u.x - 235 : u.x;
|
|
1913
1917
|
return /* @__PURE__ */ g.jsxs(g.Fragment, { children: [
|
|
1914
1918
|
/* @__PURE__ */ g.jsx("div", { className: St.o, onClick: () => p() }),
|
|
1915
1919
|
/* @__PURE__ */ g.jsxs(
|
|
@@ -1919,10 +1923,10 @@ const wr = ({
|
|
|
1919
1923
|
St.c,
|
|
1920
1924
|
C && C + "-backdrop"
|
|
1921
1925
|
].join(" "),
|
|
1922
|
-
style: { top:
|
|
1926
|
+
style: { top: T + "px", left: G + "px" },
|
|
1923
1927
|
children: [
|
|
1924
1928
|
/* @__PURE__ */ g.jsxs("s", { children: [
|
|
1925
|
-
/* @__PURE__ */ g.jsx("i", { onClick:
|
|
1929
|
+
/* @__PURE__ */ g.jsx("i", { onClick: K, children: /* @__PURE__ */ g.jsx(
|
|
1926
1930
|
"svg",
|
|
1927
1931
|
{
|
|
1928
1932
|
width: "16",
|
|
@@ -1934,7 +1938,7 @@ const wr = ({
|
|
|
1934
1938
|
}
|
|
1935
1939
|
) }),
|
|
1936
1940
|
/* @__PURE__ */ g.jsxs("h2", { children: [
|
|
1937
|
-
|
|
1941
|
+
xr(c.m).name,
|
|
1938
1942
|
" ",
|
|
1939
1943
|
c.y
|
|
1940
1944
|
] }),
|
|
@@ -1951,24 +1955,24 @@ const wr = ({
|
|
|
1951
1955
|
) })
|
|
1952
1956
|
] }),
|
|
1953
1957
|
/* @__PURE__ */ g.jsxs("div", { "grid-calendar": "", children: [
|
|
1954
|
-
I.map((
|
|
1955
|
-
R.map((
|
|
1958
|
+
I.map((b, v) => /* @__PURE__ */ g.jsx("p", { children: b }, "v" + v)),
|
|
1959
|
+
R.map((b, v) => /* @__PURE__ */ g.jsx("span", { children: b !== 0 && P(b) ? /* @__PURE__ */ g.jsx(
|
|
1956
1960
|
"b",
|
|
1957
1961
|
{
|
|
1958
|
-
...
|
|
1959
|
-
...
|
|
1960
|
-
onClick: () =>
|
|
1961
|
-
children:
|
|
1962
|
+
...Y(b),
|
|
1963
|
+
...M(b),
|
|
1964
|
+
onClick: () => A(b),
|
|
1965
|
+
children: b
|
|
1962
1966
|
}
|
|
1963
|
-
) : /* @__PURE__ */ g.jsx("p", { ...
|
|
1967
|
+
) : /* @__PURE__ */ g.jsx("p", { ...Y(b), ...M(b), children: b !== 0 ? b : "" }) }, v))
|
|
1964
1968
|
] })
|
|
1965
1969
|
]
|
|
1966
1970
|
}
|
|
1967
1971
|
)
|
|
1968
1972
|
] });
|
|
1969
1973
|
};
|
|
1970
|
-
function
|
|
1971
|
-
return
|
|
1974
|
+
function xr(a) {
|
|
1975
|
+
return a = typeof a == "number" ? a : new Date(a).getMonth() + 1, {
|
|
1972
1976
|
1: { val: "01", name: "Январь", names: "Января", abc: "Янв" },
|
|
1973
1977
|
2: { val: "02", name: "Февраль", names: "Февраля", abc: "Февр" },
|
|
1974
1978
|
3: { val: "03", name: "Март", names: "Марта", abc: "Март" },
|
|
@@ -1981,23 +1985,23 @@ function jr(n) {
|
|
|
1981
1985
|
10: { val: "10", name: "Октябрь", names: "Октября", abc: "Окт" },
|
|
1982
1986
|
11: { val: "11", name: "Ноябрь", names: "Ноября", abc: "Нояб" },
|
|
1983
1987
|
12: { val: "12", name: "Декабрь", names: "Декабря", abc: "Дек" }
|
|
1984
|
-
}[
|
|
1988
|
+
}[a];
|
|
1985
1989
|
}
|
|
1986
|
-
function Ut(
|
|
1990
|
+
function Ut(a, _) {
|
|
1987
1991
|
let u = _ + "";
|
|
1988
|
-
for (; u.length <
|
|
1992
|
+
for (; u.length < a; ) u = "0" + u;
|
|
1989
1993
|
return u;
|
|
1990
1994
|
}
|
|
1991
|
-
function
|
|
1992
|
-
_ === void 0 ? (_ =
|
|
1995
|
+
function Cr(a, _) {
|
|
1996
|
+
_ === void 0 ? (_ = a, a = /* @__PURE__ */ new Date()) : a = new Date(a);
|
|
1993
1997
|
let u = {
|
|
1994
|
-
yyyy:
|
|
1995
|
-
yy: ("" +
|
|
1996
|
-
mm: ("0" + (
|
|
1997
|
-
dd: ("0" +
|
|
1998
|
-
HH: ("0" +
|
|
1999
|
-
MM: ("0" +
|
|
2000
|
-
SS: ("0" +
|
|
1998
|
+
yyyy: a.getFullYear(),
|
|
1999
|
+
yy: ("" + a.getFullYear()).slice(-2),
|
|
2000
|
+
mm: ("0" + (a.getMonth() + 1)).slice(-2),
|
|
2001
|
+
dd: ("0" + a.getDate()).slice(-2),
|
|
2002
|
+
HH: ("0" + a.getHours()).slice(-2),
|
|
2003
|
+
MM: ("0" + a.getMinutes()).slice(-2),
|
|
2004
|
+
SS: ("0" + a.getSeconds()).slice(-2),
|
|
2001
2005
|
__: " ",
|
|
2002
2006
|
_: " "
|
|
2003
2007
|
};
|
|
@@ -2005,12 +2009,12 @@ function xr(n, _) {
|
|
|
2005
2009
|
_ = _.replace(d, u[d]);
|
|
2006
2010
|
return _;
|
|
2007
2011
|
}
|
|
2008
|
-
function
|
|
2009
|
-
value:
|
|
2012
|
+
function Sa({
|
|
2013
|
+
value: a,
|
|
2010
2014
|
onValue: _,
|
|
2011
2015
|
name: u,
|
|
2012
2016
|
placeholder: d = "",
|
|
2013
|
-
title:
|
|
2017
|
+
title: y = "",
|
|
2014
2018
|
label: C = "",
|
|
2015
2019
|
hide: E = !1,
|
|
2016
2020
|
edit: x = !0,
|
|
@@ -2018,54 +2022,56 @@ function Sn({
|
|
|
2018
2022
|
after: h = "",
|
|
2019
2023
|
show: o = !0,
|
|
2020
2024
|
maxLength: c,
|
|
2021
|
-
|
|
2022
|
-
|
|
2023
|
-
|
|
2025
|
+
error: k = "",
|
|
2026
|
+
onSave: S,
|
|
2027
|
+
className: I = "",
|
|
2028
|
+
isCopy: q = !0
|
|
2024
2029
|
}) {
|
|
2025
|
-
const
|
|
2026
|
-
_ == null || _({ value:
|
|
2027
|
-
},
|
|
2028
|
-
c &&
|
|
2029
|
-
},
|
|
2030
|
-
|
|
2030
|
+
const N = (A) => {
|
|
2031
|
+
_ == null || _({ value: A.target.innerText, name: u || "" });
|
|
2032
|
+
}, R = (A) => {
|
|
2033
|
+
c && A.target.textContent.trim().length >= c && A.key !== "Backspace" && A.preventDefault(), A.key === "Enter" && A.preventDefault();
|
|
2034
|
+
}, p = (A) => {
|
|
2035
|
+
A.preventDefault(), navigator.clipboard.readText().then((L) => {
|
|
2031
2036
|
if (c) {
|
|
2032
|
-
let
|
|
2033
|
-
if (
|
|
2034
|
-
c -=
|
|
2037
|
+
let Y = A.target.textContent.length;
|
|
2038
|
+
if (Y >= c) return;
|
|
2039
|
+
c -= Y, L = L.slice(0, c);
|
|
2035
2040
|
}
|
|
2036
2041
|
window.document.execCommand(
|
|
2037
2042
|
"insertText",
|
|
2038
2043
|
!1,
|
|
2039
|
-
|
|
2044
|
+
L.replace(/(\r\n|\n|\r)/gm, " ")
|
|
2040
2045
|
);
|
|
2041
|
-
}).catch((
|
|
2046
|
+
}).catch((L) => {
|
|
2042
2047
|
});
|
|
2043
2048
|
};
|
|
2044
2049
|
if (E) return /* @__PURE__ */ g.jsx(g.Fragment, {});
|
|
2045
2050
|
if (!(x && s) && !o) return "";
|
|
2046
|
-
const
|
|
2047
|
-
d && (
|
|
2048
|
-
const
|
|
2049
|
-
ee.Blur(
|
|
2051
|
+
const F = {};
|
|
2052
|
+
d && (F.placeholder = d), x && s && (F.edit = "");
|
|
2053
|
+
const K = (A) => {
|
|
2054
|
+
ee.Blur(A), S == null || S({ value: A.target.textContent.trim(), name: u || "" });
|
|
2050
2055
|
};
|
|
2051
2056
|
return /* @__PURE__ */ g.jsx(
|
|
2052
2057
|
Be,
|
|
2053
2058
|
{
|
|
2054
2059
|
type: "note",
|
|
2055
|
-
title:
|
|
2056
|
-
|
|
2057
|
-
|
|
2060
|
+
title: y || C,
|
|
2061
|
+
error: k,
|
|
2062
|
+
element_blok: { className: [I] },
|
|
2063
|
+
element_input: { className: [oe.n] },
|
|
2058
2064
|
children: /* @__PURE__ */ g.jsx(
|
|
2059
2065
|
"div",
|
|
2060
2066
|
{
|
|
2061
|
-
onPaste:
|
|
2062
|
-
onInput:
|
|
2063
|
-
onBlur:
|
|
2064
|
-
onKeyDown:
|
|
2067
|
+
onPaste: p,
|
|
2068
|
+
onInput: N,
|
|
2069
|
+
onBlur: K,
|
|
2070
|
+
onKeyDown: R,
|
|
2065
2071
|
contentEditable: x && s ? ee.ContentEditable : "false",
|
|
2066
2072
|
suppressContentEditableWarning: !0,
|
|
2067
|
-
...
|
|
2068
|
-
children:
|
|
2073
|
+
...F,
|
|
2074
|
+
children: a
|
|
2069
2075
|
}
|
|
2070
2076
|
)
|
|
2071
2077
|
}
|
|
@@ -3453,12 +3459,12 @@ const Et = {
|
|
|
3453
3459
|
mask: "+1939(___) ___-__-__"
|
|
3454
3460
|
}
|
|
3455
3461
|
};
|
|
3456
|
-
function
|
|
3457
|
-
value:
|
|
3462
|
+
function Ra({
|
|
3463
|
+
value: a,
|
|
3458
3464
|
onValue: _,
|
|
3459
3465
|
onSave: u,
|
|
3460
3466
|
name: d = "",
|
|
3461
|
-
placeholder:
|
|
3467
|
+
placeholder: y = "",
|
|
3462
3468
|
title: C = "",
|
|
3463
3469
|
label: E = "",
|
|
3464
3470
|
error: x = "",
|
|
@@ -3466,87 +3472,88 @@ function Rn({
|
|
|
3466
3472
|
edit: h = !0,
|
|
3467
3473
|
active: o = !0,
|
|
3468
3474
|
after: c = "",
|
|
3469
|
-
show:
|
|
3475
|
+
show: k = !0,
|
|
3470
3476
|
view: S,
|
|
3471
3477
|
className: I = ""
|
|
3472
3478
|
}) {
|
|
3473
|
-
h = h !== void 0 ? h : !0, o = o !== void 0 ? o : !0, s = !!(s && (
|
|
3474
|
-
let
|
|
3475
|
-
let $ = document.createRange(),
|
|
3476
|
-
$.setStart(
|
|
3477
|
-
},
|
|
3478
|
-
let
|
|
3479
|
-
|
|
3480
|
-
},
|
|
3481
|
-
|
|
3482
|
-
window.document.execCommand("insertText", !1,
|
|
3483
|
-
}).catch((
|
|
3479
|
+
h = h !== void 0 ? h : !0, o = o !== void 0 ? o : !0, s = !!(s && (a === "" || a === void 0)) && !(h && o), U.useRef(null);
|
|
3480
|
+
let N = "+_(___) ___-__-__", R = !0, p = 0, F = (b, v) => {
|
|
3481
|
+
let $ = document.createRange(), W = window.getSelection();
|
|
3482
|
+
$.setStart(v.childNodes[0], b), $.collapse(!0), W.removeAllRanges(), W.addRange($), v.focus();
|
|
3483
|
+
}, K = (b) => {
|
|
3484
|
+
let v = L(b.target.textContent);
|
|
3485
|
+
b.target.textContent = v.q, v.i = v.q.lastIndexOf(v.v.substr(-1)), v.i < v.q.length && v.q !== N ? v.i++ : v.i = v.q.indexOf("_"), F(v.i, b.target), _ && _({ value: v.q.replace(/\D/g, ""), name: d || "" });
|
|
3486
|
+
}, A = (b) => {
|
|
3487
|
+
b.preventDefault(), navigator.clipboard.readText().then((v) => {
|
|
3488
|
+
window.document.execCommand("insertText", !1, v);
|
|
3489
|
+
}).catch((v) => {
|
|
3484
3490
|
});
|
|
3485
|
-
},
|
|
3486
|
-
let
|
|
3487
|
-
|
|
3488
|
-
let se =
|
|
3491
|
+
}, L = (b) => {
|
|
3492
|
+
let v = 0, $ = "", W = b.replace(/\D/g, "");
|
|
3493
|
+
W === "" && (R = !0);
|
|
3494
|
+
let se = W.split(""), V = "";
|
|
3489
3495
|
se.forEach((le) => {
|
|
3490
|
-
R && (V += le, Et[V] !== void 0 && R ? (R = !1,
|
|
3496
|
+
R && (V += le, Et[V] !== void 0 && R ? (R = !1, N = Et[V].mask.replace(new RegExp("[0-9]", "g"), "_"), $ = Et[V].code) : (R && (p = ("" + V).length, N = `+${V}_(___) ___-__-__`.replace(
|
|
3491
3497
|
new RegExp("[0-9]", "g"),
|
|
3492
3498
|
"_"
|
|
3493
|
-
), $ = ""), p > ("" + V).length && (R = !0,
|
|
3499
|
+
), $ = ""), p > ("" + V).length && (R = !0, N = `+${V}_(___) ___-__-__`.replace(
|
|
3494
3500
|
new RegExp("[0-9]", "g"),
|
|
3495
3501
|
"_"
|
|
3496
3502
|
), $ = "")));
|
|
3497
3503
|
});
|
|
3498
|
-
let
|
|
3499
|
-
return
|
|
3500
|
-
return
|
|
3501
|
-
}), i:
|
|
3502
|
-
},
|
|
3503
|
-
|
|
3504
|
+
let _e = N.replace(/\D/g, "");
|
|
3505
|
+
return _e.length >= W.length && (W = _e), { q: N.replace(/[_\d]/g, function() {
|
|
3506
|
+
return W.charAt(v++) || "_";
|
|
3507
|
+
}), i: v, v: W, f: $ };
|
|
3508
|
+
}, Y = (b) => {
|
|
3509
|
+
b.preventDefault(), navigator.clipboard.writeText(b.target.textContent.replace(/\D/g, "")).then(
|
|
3504
3510
|
function() {
|
|
3505
3511
|
Ct.Copy("Данные в буфер обмене");
|
|
3506
3512
|
},
|
|
3507
|
-
function(
|
|
3513
|
+
function(v) {
|
|
3508
3514
|
}
|
|
3509
3515
|
);
|
|
3510
|
-
},
|
|
3511
|
-
|
|
3516
|
+
}, M = L(a), P = (b) => {
|
|
3517
|
+
b.key === "Enter" && b.preventDefault();
|
|
3512
3518
|
};
|
|
3513
|
-
const
|
|
3514
|
-
ee.Blur(
|
|
3515
|
-
value:
|
|
3519
|
+
const T = (b) => {
|
|
3520
|
+
ee.Blur(b), u && u({
|
|
3521
|
+
value: b.target.textContent.replace(/\D/g, ""),
|
|
3516
3522
|
name: d || ""
|
|
3517
3523
|
});
|
|
3518
3524
|
};
|
|
3519
3525
|
let G = {};
|
|
3520
|
-
return h && o ? (G.edit = "true", G.contentEditable = ee.ContentEditable) : G.contentEditable = "false",
|
|
3526
|
+
return h && o ? (G.edit = "true", G.contentEditable = ee.ContentEditable) : G.contentEditable = "false", y && (G.placeholder = y), s ? /* @__PURE__ */ g.jsx(g.Fragment, {}) : /* @__PURE__ */ g.jsx(
|
|
3521
3527
|
Be,
|
|
3522
3528
|
{
|
|
3523
3529
|
type: "input",
|
|
3524
3530
|
title: C || E,
|
|
3531
|
+
error: x,
|
|
3525
3532
|
element_blok: { className: I },
|
|
3526
|
-
element_input: { className: [
|
|
3533
|
+
element_input: { className: [oe.w] },
|
|
3527
3534
|
children: /* @__PURE__ */ g.jsx(
|
|
3528
3535
|
"div",
|
|
3529
3536
|
{
|
|
3530
|
-
onPaste:
|
|
3531
|
-
onInput:
|
|
3537
|
+
onPaste: A,
|
|
3538
|
+
onInput: K,
|
|
3532
3539
|
onKeyDown: P,
|
|
3533
|
-
onContextMenu:
|
|
3534
|
-
onBlur:
|
|
3540
|
+
onContextMenu: Y,
|
|
3541
|
+
onBlur: T,
|
|
3535
3542
|
inputMode: "tel",
|
|
3536
3543
|
suppressContentEditableWarning: !0,
|
|
3537
3544
|
...G,
|
|
3538
|
-
children:
|
|
3545
|
+
children: M.q
|
|
3539
3546
|
}
|
|
3540
3547
|
)
|
|
3541
3548
|
}
|
|
3542
3549
|
);
|
|
3543
3550
|
}
|
|
3544
|
-
function
|
|
3545
|
-
value:
|
|
3551
|
+
function Ea({
|
|
3552
|
+
value: a,
|
|
3546
3553
|
onValue: _,
|
|
3547
3554
|
name: u = "",
|
|
3548
3555
|
inputmode: d = "text",
|
|
3549
|
-
placeholder:
|
|
3556
|
+
placeholder: y = "",
|
|
3550
3557
|
title: C = "",
|
|
3551
3558
|
label: E = "",
|
|
3552
3559
|
show: x = !0,
|
|
@@ -3554,72 +3561,74 @@ function En({
|
|
|
3554
3561
|
edit: h = !0,
|
|
3555
3562
|
active: o = !0,
|
|
3556
3563
|
maxLength: c,
|
|
3557
|
-
onSave:
|
|
3564
|
+
onSave: k,
|
|
3558
3565
|
className: S = "",
|
|
3559
3566
|
spellCheck: I = !0,
|
|
3560
|
-
isCopy:
|
|
3561
|
-
isReload:
|
|
3567
|
+
isCopy: q = !0,
|
|
3568
|
+
isReload: N = !1,
|
|
3569
|
+
error: R = ""
|
|
3562
3570
|
}) {
|
|
3563
|
-
const
|
|
3571
|
+
const p = !!(s && (a === "" || a === void 0)), F = (M) => {
|
|
3564
3572
|
_ && _({
|
|
3565
|
-
value:
|
|
3573
|
+
value: M.target.textContent.trim(),
|
|
3566
3574
|
name: u,
|
|
3567
|
-
reload:
|
|
3575
|
+
reload: N
|
|
3568
3576
|
});
|
|
3569
|
-
},
|
|
3570
|
-
c &&
|
|
3571
|
-
},
|
|
3572
|
-
|
|
3577
|
+
}, K = (M) => {
|
|
3578
|
+
c && M.target.textContent.trim().length >= c && M.key !== "Backspace" && M.preventDefault(), M.key === "Enter" && M.preventDefault();
|
|
3579
|
+
}, A = (M) => {
|
|
3580
|
+
M.preventDefault(), navigator.clipboard.readText().then((P) => {
|
|
3573
3581
|
if (c) {
|
|
3574
|
-
let
|
|
3575
|
-
if (
|
|
3576
|
-
c -=
|
|
3582
|
+
let T = M.target.textContent.length;
|
|
3583
|
+
if (T >= c) return;
|
|
3584
|
+
c -= T, P = P.slice(0, c);
|
|
3577
3585
|
}
|
|
3578
3586
|
window.document.execCommand(
|
|
3579
3587
|
"insertText",
|
|
3580
3588
|
!1,
|
|
3581
|
-
|
|
3589
|
+
P.replace(/(\r\n|\n|\r)/gm, " ")
|
|
3582
3590
|
);
|
|
3583
|
-
}).catch((
|
|
3591
|
+
}).catch((P) => {
|
|
3584
3592
|
});
|
|
3585
3593
|
};
|
|
3586
|
-
if (!(h && o) && !x || !(h && o) &&
|
|
3587
|
-
const
|
|
3588
|
-
|
|
3589
|
-
const
|
|
3590
|
-
ee.Blur(
|
|
3594
|
+
if (!(h && o) && !x || !(h && o) && p) return "";
|
|
3595
|
+
const L = {};
|
|
3596
|
+
y && (L.placeholder = y), h && o && (L.edit = "");
|
|
3597
|
+
const Y = (M) => {
|
|
3598
|
+
ee.Blur(M), k == null || k({ value: M.target.textContent.trim(), name: u });
|
|
3591
3599
|
};
|
|
3592
3600
|
return /* @__PURE__ */ g.jsx(
|
|
3593
3601
|
Be,
|
|
3594
3602
|
{
|
|
3595
3603
|
type: "input",
|
|
3596
3604
|
title: C || E,
|
|
3605
|
+
error: R,
|
|
3597
3606
|
element_blok: { className: [S] },
|
|
3598
|
-
element_input: { className: [
|
|
3607
|
+
element_input: { className: [oe.w] },
|
|
3599
3608
|
children: /* @__PURE__ */ g.jsx(
|
|
3600
3609
|
"div",
|
|
3601
3610
|
{
|
|
3602
|
-
onBlur:
|
|
3603
|
-
onPaste:
|
|
3604
|
-
onInput:
|
|
3605
|
-
onKeyDown:
|
|
3611
|
+
onBlur: Y,
|
|
3612
|
+
onPaste: A,
|
|
3613
|
+
onInput: F,
|
|
3614
|
+
onKeyDown: K,
|
|
3606
3615
|
spellCheck: I,
|
|
3607
3616
|
inputMode: d || "text",
|
|
3608
3617
|
contentEditable: h && o ? ee.ContentEditable : "false",
|
|
3609
3618
|
suppressContentEditableWarning: !0,
|
|
3610
|
-
...
|
|
3611
|
-
children:
|
|
3619
|
+
...L,
|
|
3620
|
+
children: a
|
|
3612
3621
|
}
|
|
3613
3622
|
)
|
|
3614
3623
|
}
|
|
3615
3624
|
);
|
|
3616
3625
|
}
|
|
3617
|
-
function
|
|
3618
|
-
onValue:
|
|
3626
|
+
function Oa({
|
|
3627
|
+
onValue: a,
|
|
3619
3628
|
onSave: _,
|
|
3620
3629
|
active: u,
|
|
3621
3630
|
max: d,
|
|
3622
|
-
edit:
|
|
3631
|
+
edit: y,
|
|
3623
3632
|
title: C,
|
|
3624
3633
|
error: E,
|
|
3625
3634
|
show: x,
|
|
@@ -3627,56 +3636,57 @@ function On({
|
|
|
3627
3636
|
value: h,
|
|
3628
3637
|
placeholder: o,
|
|
3629
3638
|
className: c,
|
|
3630
|
-
maxLength:
|
|
3639
|
+
maxLength: k,
|
|
3631
3640
|
name: S = "",
|
|
3632
3641
|
after: I = "",
|
|
3633
|
-
before:
|
|
3634
|
-
view:
|
|
3642
|
+
before: q = "",
|
|
3643
|
+
view: N
|
|
3635
3644
|
}) {
|
|
3636
|
-
|
|
3645
|
+
y = y !== void 0 ? y : !0, u = u !== void 0 ? u : !0, s = !!(s && (h === "" || h === void 0)) && !(y && u), o = o !== void 0 ? o : "", d = d !== void 0 ? d : 99;
|
|
3637
3646
|
let p = !1, F = (P) => {
|
|
3638
|
-
|
|
3639
|
-
},
|
|
3647
|
+
a == null || a({ value: P.target.textContent, name: S });
|
|
3648
|
+
}, K = (P) => {
|
|
3640
3649
|
if (!(p && P.which === 86)) {
|
|
3641
3650
|
if (P.which === 17 || P.which === 91) return p = !0;
|
|
3642
3651
|
P.key !== "Backspace" && (P.target.textContent.length === d && P.preventDefault(), P.key === "Enter" && P.preventDefault(), isNaN(P.key) && P.preventDefault());
|
|
3643
3652
|
}
|
|
3644
|
-
},
|
|
3653
|
+
}, A = (P) => {
|
|
3645
3654
|
if (P.which === 17 || P.which === 91) return p = !1;
|
|
3646
|
-
},
|
|
3647
|
-
P.preventDefault(), navigator.clipboard.readText().then((
|
|
3648
|
-
if (
|
|
3655
|
+
}, L = (P) => {
|
|
3656
|
+
P.preventDefault(), navigator.clipboard.readText().then((T) => {
|
|
3657
|
+
if (T = T.replace(/(?!^\+|\d)./g, ""), k) {
|
|
3649
3658
|
let G = P.target.textContent.length;
|
|
3650
|
-
if (G >=
|
|
3651
|
-
|
|
3659
|
+
if (G >= k) return;
|
|
3660
|
+
k -= G, T = T.slice(0, k);
|
|
3652
3661
|
}
|
|
3653
|
-
window.document.execCommand("insertText", !1, "" +
|
|
3654
|
-
}).catch((
|
|
3662
|
+
window.document.execCommand("insertText", !1, "" + T);
|
|
3663
|
+
}).catch((T) => {
|
|
3655
3664
|
});
|
|
3656
3665
|
};
|
|
3657
|
-
const
|
|
3666
|
+
const Y = (P) => {
|
|
3658
3667
|
ee.Blur(P), _ == null || _({ value: P.target.textContent, name: S });
|
|
3659
3668
|
};
|
|
3660
|
-
let
|
|
3661
|
-
return
|
|
3669
|
+
let M = {};
|
|
3670
|
+
return y && u ? (M.edit = "true", M.contentEditable = ee.ContentEditable) : M.contentEditable = "false", M.inputMode = "decimal", o && (M.placeholder = o), s ? /* @__PURE__ */ g.jsx(g.Fragment, {}) : /* @__PURE__ */ g.jsx(
|
|
3662
3671
|
Be,
|
|
3663
3672
|
{
|
|
3664
3673
|
type: "numeric",
|
|
3665
3674
|
title: C,
|
|
3675
|
+
error: E,
|
|
3666
3676
|
element_blok: { className: [c] },
|
|
3667
|
-
element_input: { className: [
|
|
3677
|
+
element_input: { className: [oe.w] },
|
|
3668
3678
|
children: /* @__PURE__ */ g.jsx(
|
|
3669
3679
|
"div",
|
|
3670
3680
|
{
|
|
3671
|
-
onPaste:
|
|
3681
|
+
onPaste: L,
|
|
3672
3682
|
onInput: F,
|
|
3673
|
-
onBlur:
|
|
3674
|
-
onKeyDown:
|
|
3675
|
-
onKeyUp:
|
|
3683
|
+
onBlur: Y,
|
|
3684
|
+
onKeyDown: K,
|
|
3685
|
+
onKeyUp: A,
|
|
3676
3686
|
spellCheck: "true",
|
|
3677
|
-
contentEditable:
|
|
3687
|
+
contentEditable: y && u ? ee.ContentEditable : "false",
|
|
3678
3688
|
suppressContentEditableWarning: !0,
|
|
3679
|
-
...
|
|
3689
|
+
...M,
|
|
3680
3690
|
children: h
|
|
3681
3691
|
}
|
|
3682
3692
|
)
|
|
@@ -3693,17 +3703,17 @@ var Pt = { exports: {} }, ht = {};
|
|
|
3693
3703
|
* This source code is licensed under the MIT license found in the
|
|
3694
3704
|
* LICENSE file in the root directory of this source tree.
|
|
3695
3705
|
*/
|
|
3696
|
-
var
|
|
3697
|
-
function
|
|
3698
|
-
if (
|
|
3699
|
-
|
|
3700
|
-
var
|
|
3706
|
+
var qt;
|
|
3707
|
+
function Sr() {
|
|
3708
|
+
if (qt) return ht;
|
|
3709
|
+
qt = 1;
|
|
3710
|
+
var a = U, _ = Symbol.for("react.element"), u = Symbol.for("react.fragment"), d = Object.prototype.hasOwnProperty, y = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, C = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
3701
3711
|
function E(x, s, h) {
|
|
3702
|
-
var o, c = {},
|
|
3703
|
-
h !== void 0 && (
|
|
3712
|
+
var o, c = {}, k = null, S = null;
|
|
3713
|
+
h !== void 0 && (k = "" + h), s.key !== void 0 && (k = "" + s.key), s.ref !== void 0 && (S = s.ref);
|
|
3704
3714
|
for (o in s) d.call(s, o) && !C.hasOwnProperty(o) && (c[o] = s[o]);
|
|
3705
3715
|
if (x && x.defaultProps) for (o in s = x.defaultProps, s) c[o] === void 0 && (c[o] = s[o]);
|
|
3706
|
-
return { $$typeof: _, type: x, key:
|
|
3716
|
+
return { $$typeof: _, type: x, key: k, ref: S, props: c, _owner: y.current };
|
|
3707
3717
|
}
|
|
3708
3718
|
return ht.Fragment = u, ht.jsx = E, ht.jsxs = E, ht;
|
|
3709
3719
|
}
|
|
@@ -3717,27 +3727,27 @@ var wt = {};
|
|
|
3717
3727
|
* This source code is licensed under the MIT license found in the
|
|
3718
3728
|
* LICENSE file in the root directory of this source tree.
|
|
3719
3729
|
*/
|
|
3720
|
-
var
|
|
3721
|
-
function
|
|
3722
|
-
return
|
|
3723
|
-
var
|
|
3724
|
-
function
|
|
3730
|
+
var Kt;
|
|
3731
|
+
function Rr() {
|
|
3732
|
+
return Kt || (Kt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
3733
|
+
var a = U, _ = Symbol.for("react.element"), u = Symbol.for("react.portal"), d = Symbol.for("react.fragment"), y = Symbol.for("react.strict_mode"), C = Symbol.for("react.profiler"), E = Symbol.for("react.provider"), x = Symbol.for("react.context"), s = Symbol.for("react.forward_ref"), h = Symbol.for("react.suspense"), o = Symbol.for("react.suspense_list"), c = Symbol.for("react.memo"), k = Symbol.for("react.lazy"), S = Symbol.for("react.offscreen"), I = Symbol.iterator, q = "@@iterator";
|
|
3734
|
+
function N(e) {
|
|
3725
3735
|
if (e === null || typeof e != "object")
|
|
3726
3736
|
return null;
|
|
3727
|
-
var t = I && e[I] || e[
|
|
3737
|
+
var t = I && e[I] || e[q];
|
|
3728
3738
|
return typeof t == "function" ? t : null;
|
|
3729
3739
|
}
|
|
3730
|
-
var R =
|
|
3740
|
+
var R = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
3731
3741
|
function p(e) {
|
|
3732
3742
|
{
|
|
3733
|
-
for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0),
|
|
3734
|
-
r[
|
|
3743
|
+
for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), n = 1; n < t; n++)
|
|
3744
|
+
r[n - 1] = arguments[n];
|
|
3735
3745
|
F("error", e, r);
|
|
3736
3746
|
}
|
|
3737
3747
|
}
|
|
3738
3748
|
function F(e, t, r) {
|
|
3739
3749
|
{
|
|
3740
|
-
var
|
|
3750
|
+
var n = R.ReactDebugCurrentFrame, f = n.getStackAddendum();
|
|
3741
3751
|
f !== "" && (t += "%s", r = r.concat([f]));
|
|
3742
3752
|
var m = r.map(function(l) {
|
|
3743
3753
|
return String(l);
|
|
@@ -3745,26 +3755,26 @@ function Sr() {
|
|
|
3745
3755
|
m.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, m);
|
|
3746
3756
|
}
|
|
3747
3757
|
}
|
|
3748
|
-
var
|
|
3758
|
+
var K = !1, A = !1, L = !1, Y = !1, M = !1, P;
|
|
3749
3759
|
P = Symbol.for("react.module.reference");
|
|
3750
|
-
function
|
|
3751
|
-
return !!(typeof e == "string" || typeof e == "function" || e === d || e === C ||
|
|
3760
|
+
function T(e) {
|
|
3761
|
+
return !!(typeof e == "string" || typeof e == "function" || e === d || e === C || M || e === y || e === h || e === o || Y || e === S || K || A || L || typeof e == "object" && e !== null && (e.$$typeof === k || e.$$typeof === c || e.$$typeof === E || e.$$typeof === x || e.$$typeof === s || // This needs to include all possible module reference object
|
|
3752
3762
|
// types supported by any Flight configuration anywhere since
|
|
3753
3763
|
// we don't know which Flight build this will end up being used
|
|
3754
3764
|
// with.
|
|
3755
3765
|
e.$$typeof === P || e.getModuleId !== void 0));
|
|
3756
3766
|
}
|
|
3757
3767
|
function G(e, t, r) {
|
|
3758
|
-
var
|
|
3759
|
-
if (
|
|
3760
|
-
return
|
|
3768
|
+
var n = e.displayName;
|
|
3769
|
+
if (n)
|
|
3770
|
+
return n;
|
|
3761
3771
|
var f = t.displayName || t.name || "";
|
|
3762
3772
|
return f !== "" ? r + "(" + f + ")" : r;
|
|
3763
3773
|
}
|
|
3764
|
-
function
|
|
3774
|
+
function b(e) {
|
|
3765
3775
|
return e.displayName || "Context";
|
|
3766
3776
|
}
|
|
3767
|
-
function
|
|
3777
|
+
function v(e) {
|
|
3768
3778
|
if (e == null)
|
|
3769
3779
|
return null;
|
|
3770
3780
|
if (typeof e.tag == "number" && p("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
@@ -3778,7 +3788,7 @@ function Sr() {
|
|
|
3778
3788
|
return "Portal";
|
|
3779
3789
|
case C:
|
|
3780
3790
|
return "Profiler";
|
|
3781
|
-
case
|
|
3791
|
+
case y:
|
|
3782
3792
|
return "StrictMode";
|
|
3783
3793
|
case h:
|
|
3784
3794
|
return "Suspense";
|
|
@@ -3789,19 +3799,19 @@ function Sr() {
|
|
|
3789
3799
|
switch (e.$$typeof) {
|
|
3790
3800
|
case x:
|
|
3791
3801
|
var t = e;
|
|
3792
|
-
return
|
|
3802
|
+
return b(t) + ".Consumer";
|
|
3793
3803
|
case E:
|
|
3794
3804
|
var r = e;
|
|
3795
|
-
return
|
|
3805
|
+
return b(r._context) + ".Provider";
|
|
3796
3806
|
case s:
|
|
3797
3807
|
return G(e, e.render, "ForwardRef");
|
|
3798
3808
|
case c:
|
|
3799
|
-
var
|
|
3800
|
-
return
|
|
3801
|
-
case
|
|
3809
|
+
var n = e.displayName || null;
|
|
3810
|
+
return n !== null ? n : v(e.type) || "Memo";
|
|
3811
|
+
case k: {
|
|
3802
3812
|
var f = e, m = f._payload, l = f._init;
|
|
3803
3813
|
try {
|
|
3804
|
-
return
|
|
3814
|
+
return v(l(m));
|
|
3805
3815
|
} catch {
|
|
3806
3816
|
return null;
|
|
3807
3817
|
}
|
|
@@ -3809,14 +3819,14 @@ function Sr() {
|
|
|
3809
3819
|
}
|
|
3810
3820
|
return null;
|
|
3811
3821
|
}
|
|
3812
|
-
var $ = Object.assign,
|
|
3822
|
+
var $ = Object.assign, W = 0, se, V, _e, ge, le, be, ke;
|
|
3813
3823
|
function we() {
|
|
3814
3824
|
}
|
|
3815
3825
|
we.__reactDisabledLog = !0;
|
|
3816
3826
|
function We() {
|
|
3817
3827
|
{
|
|
3818
|
-
if (
|
|
3819
|
-
se = console.log, V = console.info,
|
|
3828
|
+
if (W === 0) {
|
|
3829
|
+
se = console.log, V = console.info, _e = console.warn, ge = console.error, le = console.group, be = console.groupCollapsed, ke = console.groupEnd;
|
|
3820
3830
|
var e = {
|
|
3821
3831
|
configurable: !0,
|
|
3822
3832
|
enumerable: !0,
|
|
@@ -3833,12 +3843,12 @@ function Sr() {
|
|
|
3833
3843
|
groupEnd: e
|
|
3834
3844
|
});
|
|
3835
3845
|
}
|
|
3836
|
-
|
|
3846
|
+
W++;
|
|
3837
3847
|
}
|
|
3838
3848
|
}
|
|
3839
3849
|
function Ue() {
|
|
3840
3850
|
{
|
|
3841
|
-
if (
|
|
3851
|
+
if (W--, W === 0) {
|
|
3842
3852
|
var e = {
|
|
3843
3853
|
configurable: !0,
|
|
3844
3854
|
enumerable: !0,
|
|
@@ -3852,7 +3862,7 @@ function Sr() {
|
|
|
3852
3862
|
value: V
|
|
3853
3863
|
}),
|
|
3854
3864
|
warn: $({}, e, {
|
|
3855
|
-
value:
|
|
3865
|
+
value: _e
|
|
3856
3866
|
}),
|
|
3857
3867
|
error: $({}, e, {
|
|
3858
3868
|
value: ge
|
|
@@ -3868,7 +3878,7 @@ function Sr() {
|
|
|
3868
3878
|
})
|
|
3869
3879
|
});
|
|
3870
3880
|
}
|
|
3871
|
-
|
|
3881
|
+
W < 0 && p("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
3872
3882
|
}
|
|
3873
3883
|
}
|
|
3874
3884
|
var ce = R.ReactCurrentDispatcher, ue;
|
|
@@ -3878,8 +3888,8 @@ function Sr() {
|
|
|
3878
3888
|
try {
|
|
3879
3889
|
throw Error();
|
|
3880
3890
|
} catch (f) {
|
|
3881
|
-
var
|
|
3882
|
-
ue =
|
|
3891
|
+
var n = f.stack.trim().match(/\n( *(at )?)/);
|
|
3892
|
+
ue = n && n[1] || "";
|
|
3883
3893
|
}
|
|
3884
3894
|
return `
|
|
3885
3895
|
` + ue + e;
|
|
@@ -3887,8 +3897,8 @@ function Sr() {
|
|
|
3887
3897
|
}
|
|
3888
3898
|
var de = !1, re;
|
|
3889
3899
|
{
|
|
3890
|
-
var
|
|
3891
|
-
re = new
|
|
3900
|
+
var qe = typeof WeakMap == "function" ? WeakMap : Map;
|
|
3901
|
+
re = new qe();
|
|
3892
3902
|
}
|
|
3893
3903
|
function je(e, t) {
|
|
3894
3904
|
if (!e || de)
|
|
@@ -3898,7 +3908,7 @@ function Sr() {
|
|
|
3898
3908
|
if (r !== void 0)
|
|
3899
3909
|
return r;
|
|
3900
3910
|
}
|
|
3901
|
-
var
|
|
3911
|
+
var n;
|
|
3902
3912
|
de = !0;
|
|
3903
3913
|
var f = Error.prepareStackTrace;
|
|
3904
3914
|
Error.prepareStackTrace = void 0;
|
|
@@ -3916,30 +3926,30 @@ function Sr() {
|
|
|
3916
3926
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
3917
3927
|
try {
|
|
3918
3928
|
Reflect.construct(l, []);
|
|
3919
|
-
} catch (
|
|
3920
|
-
|
|
3929
|
+
} catch (D) {
|
|
3930
|
+
n = D;
|
|
3921
3931
|
}
|
|
3922
3932
|
Reflect.construct(e, [], l);
|
|
3923
3933
|
} else {
|
|
3924
3934
|
try {
|
|
3925
3935
|
l.call();
|
|
3926
|
-
} catch (
|
|
3927
|
-
|
|
3936
|
+
} catch (D) {
|
|
3937
|
+
n = D;
|
|
3928
3938
|
}
|
|
3929
3939
|
e.call(l.prototype);
|
|
3930
3940
|
}
|
|
3931
3941
|
} else {
|
|
3932
3942
|
try {
|
|
3933
3943
|
throw Error();
|
|
3934
|
-
} catch (
|
|
3935
|
-
|
|
3944
|
+
} catch (D) {
|
|
3945
|
+
n = D;
|
|
3936
3946
|
}
|
|
3937
3947
|
e();
|
|
3938
3948
|
}
|
|
3939
|
-
} catch (
|
|
3940
|
-
if (
|
|
3941
|
-
for (var i =
|
|
3942
|
-
`), O =
|
|
3949
|
+
} catch (D) {
|
|
3950
|
+
if (D && n && typeof D.stack == "string") {
|
|
3951
|
+
for (var i = D.stack.split(`
|
|
3952
|
+
`), O = n.stack.split(`
|
|
3943
3953
|
`), w = i.length - 1, j = O.length - 1; w >= 1 && j >= 0 && i[w] !== O[j]; )
|
|
3944
3954
|
j--;
|
|
3945
3955
|
for (; w >= 1 && j >= 0; w--, j--)
|
|
@@ -3947,9 +3957,9 @@ function Sr() {
|
|
|
3947
3957
|
if (w !== 1 || j !== 1)
|
|
3948
3958
|
do
|
|
3949
3959
|
if (w--, j--, j < 0 || i[w] !== O[j]) {
|
|
3950
|
-
var
|
|
3960
|
+
var B = `
|
|
3951
3961
|
` + i[w].replace(" at new ", " at ");
|
|
3952
|
-
return e.displayName &&
|
|
3962
|
+
return e.displayName && B.includes("<anonymous>") && (B = B.replace("<anonymous>", e.displayName)), typeof e == "function" && re.set(e, B), B;
|
|
3953
3963
|
}
|
|
3954
3964
|
while (w >= 1 && j >= 0);
|
|
3955
3965
|
break;
|
|
@@ -3961,14 +3971,14 @@ function Sr() {
|
|
|
3961
3971
|
var Z = e ? e.displayName || e.name : "", z = Z ? te(Z) : "";
|
|
3962
3972
|
return typeof e == "function" && re.set(e, z), z;
|
|
3963
3973
|
}
|
|
3964
|
-
function
|
|
3974
|
+
function Ke(e, t, r) {
|
|
3965
3975
|
return je(e, !1);
|
|
3966
3976
|
}
|
|
3967
3977
|
function Ye(e) {
|
|
3968
3978
|
var t = e.prototype;
|
|
3969
3979
|
return !!(t && t.isReactComponent);
|
|
3970
3980
|
}
|
|
3971
|
-
function
|
|
3981
|
+
function ae(e, t, r) {
|
|
3972
3982
|
if (e == null)
|
|
3973
3983
|
return "";
|
|
3974
3984
|
if (typeof e == "function")
|
|
@@ -3984,13 +3994,13 @@ function Sr() {
|
|
|
3984
3994
|
if (typeof e == "object")
|
|
3985
3995
|
switch (e.$$typeof) {
|
|
3986
3996
|
case s:
|
|
3987
|
-
return
|
|
3997
|
+
return Ke(e.render);
|
|
3988
3998
|
case c:
|
|
3989
|
-
return
|
|
3990
|
-
case
|
|
3991
|
-
var
|
|
3999
|
+
return ae(e.type, t, r);
|
|
4000
|
+
case k: {
|
|
4001
|
+
var n = e, f = n._payload, m = n._init;
|
|
3992
4002
|
try {
|
|
3993
|
-
return
|
|
4003
|
+
return ae(m(f), t, r);
|
|
3994
4004
|
} catch {
|
|
3995
4005
|
}
|
|
3996
4006
|
}
|
|
@@ -3998,14 +4008,14 @@ function Sr() {
|
|
|
3998
4008
|
return "";
|
|
3999
4009
|
}
|
|
4000
4010
|
var X = Object.prototype.hasOwnProperty, xe = {}, Ce = R.ReactDebugCurrentFrame;
|
|
4001
|
-
function
|
|
4011
|
+
function ne(e) {
|
|
4002
4012
|
if (e) {
|
|
4003
|
-
var t = e._owner, r =
|
|
4013
|
+
var t = e._owner, r = ae(e.type, e._source, t ? t.type : null);
|
|
4004
4014
|
Ce.setExtraStackFrame(r);
|
|
4005
4015
|
} else
|
|
4006
4016
|
Ce.setExtraStackFrame(null);
|
|
4007
4017
|
}
|
|
4008
|
-
function Ge(e, t, r,
|
|
4018
|
+
function Ge(e, t, r, n, f) {
|
|
4009
4019
|
{
|
|
4010
4020
|
var m = Function.call.bind(X);
|
|
4011
4021
|
for (var l in e)
|
|
@@ -4013,14 +4023,14 @@ function Sr() {
|
|
|
4013
4023
|
var i = void 0;
|
|
4014
4024
|
try {
|
|
4015
4025
|
if (typeof e[l] != "function") {
|
|
4016
|
-
var O = Error((
|
|
4026
|
+
var O = Error((n || "React class") + ": " + r + " type `" + l + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[l] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
4017
4027
|
throw O.name = "Invariant Violation", O;
|
|
4018
4028
|
}
|
|
4019
|
-
i = e[l](t, l,
|
|
4029
|
+
i = e[l](t, l, n, r, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
4020
4030
|
} catch (w) {
|
|
4021
4031
|
i = w;
|
|
4022
4032
|
}
|
|
4023
|
-
i && !(i instanceof Error) && (
|
|
4033
|
+
i && !(i instanceof Error) && (ne(f), p("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", n || "React class", r, l, typeof i), ne(null)), i instanceof Error && !(i.message in xe) && (xe[i.message] = !0, ne(f), p("Failed %s type: %s", r, i.message), ne(null));
|
|
4024
4034
|
}
|
|
4025
4035
|
}
|
|
4026
4036
|
}
|
|
@@ -4095,7 +4105,7 @@ function Sr() {
|
|
|
4095
4105
|
});
|
|
4096
4106
|
}
|
|
4097
4107
|
}
|
|
4098
|
-
var rt = function(e, t, r,
|
|
4108
|
+
var rt = function(e, t, r, n, f, m, l) {
|
|
4099
4109
|
var i = {
|
|
4100
4110
|
// This tag allows us to uniquely identify this as a React Element
|
|
4101
4111
|
$$typeof: _,
|
|
@@ -4116,7 +4126,7 @@ function Sr() {
|
|
|
4116
4126
|
configurable: !1,
|
|
4117
4127
|
enumerable: !1,
|
|
4118
4128
|
writable: !1,
|
|
4119
|
-
value:
|
|
4129
|
+
value: n
|
|
4120
4130
|
}), Object.defineProperty(i, "_source", {
|
|
4121
4131
|
configurable: !1,
|
|
4122
4132
|
enumerable: !1,
|
|
@@ -4124,7 +4134,7 @@ function Sr() {
|
|
|
4124
4134
|
value: f
|
|
4125
4135
|
}), Object.freeze && (Object.freeze(i.props), Object.freeze(i)), i;
|
|
4126
4136
|
};
|
|
4127
|
-
function
|
|
4137
|
+
function at(e, t, r, n, f) {
|
|
4128
4138
|
{
|
|
4129
4139
|
var m, l = {}, i = null, O = null;
|
|
4130
4140
|
r !== void 0 && (Re(r), i = "" + r), Xe(t) && (Re(t.key), i = "" + t.key), Ve(t) && (O = t.ref, Qe(t));
|
|
@@ -4139,13 +4149,13 @@ function Sr() {
|
|
|
4139
4149
|
var j = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
4140
4150
|
i && et(l, j), O && tt(l, j);
|
|
4141
4151
|
}
|
|
4142
|
-
return rt(e, i, O, f,
|
|
4152
|
+
return rt(e, i, O, f, n, Ee.current, l);
|
|
4143
4153
|
}
|
|
4144
4154
|
}
|
|
4145
4155
|
var pe = R.ReactCurrentOwner, De = R.ReactDebugCurrentFrame;
|
|
4146
4156
|
function J(e) {
|
|
4147
4157
|
if (e) {
|
|
4148
|
-
var t = e._owner, r =
|
|
4158
|
+
var t = e._owner, r = ae(e.type, e._source, t ? t.type : null);
|
|
4149
4159
|
De.setExtraStackFrame(r);
|
|
4150
4160
|
} else
|
|
4151
4161
|
De.setExtraStackFrame(null);
|
|
@@ -4158,7 +4168,7 @@ function Sr() {
|
|
|
4158
4168
|
function Pe() {
|
|
4159
4169
|
{
|
|
4160
4170
|
if (pe.current) {
|
|
4161
|
-
var e =
|
|
4171
|
+
var e = v(pe.current.type);
|
|
4162
4172
|
if (e)
|
|
4163
4173
|
return `
|
|
4164
4174
|
|
|
@@ -4167,7 +4177,7 @@ Check the render method of \`` + e + "`.";
|
|
|
4167
4177
|
return "";
|
|
4168
4178
|
}
|
|
4169
4179
|
}
|
|
4170
|
-
function
|
|
4180
|
+
function nt(e) {
|
|
4171
4181
|
return "";
|
|
4172
4182
|
}
|
|
4173
4183
|
var Ne = {};
|
|
@@ -4192,8 +4202,8 @@ Check the top-level render call using <` + r + ">.");
|
|
|
4192
4202
|
if (Ne[r])
|
|
4193
4203
|
return;
|
|
4194
4204
|
Ne[r] = !0;
|
|
4195
|
-
var
|
|
4196
|
-
e && e._owner && e._owner !== pe.current && (
|
|
4205
|
+
var n = "";
|
|
4206
|
+
e && e._owner && e._owner !== pe.current && (n = " It was passed a child from " + v(e._owner.type) + "."), J(e), p('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', r, n), J(null);
|
|
4197
4207
|
}
|
|
4198
4208
|
}
|
|
4199
4209
|
function Ie(e, t) {
|
|
@@ -4202,13 +4212,13 @@ Check the top-level render call using <` + r + ">.");
|
|
|
4202
4212
|
return;
|
|
4203
4213
|
if (fe(e))
|
|
4204
4214
|
for (var r = 0; r < e.length; r++) {
|
|
4205
|
-
var
|
|
4206
|
-
ye(
|
|
4215
|
+
var n = e[r];
|
|
4216
|
+
ye(n) && Fe(n, t);
|
|
4207
4217
|
}
|
|
4208
4218
|
else if (ye(e))
|
|
4209
4219
|
e._store && (e._store.validated = !0);
|
|
4210
4220
|
else if (e) {
|
|
4211
|
-
var f =
|
|
4221
|
+
var f = N(e);
|
|
4212
4222
|
if (typeof f == "function" && f !== e.entries)
|
|
4213
4223
|
for (var m = f.call(e), l; !(l = m.next()).done; )
|
|
4214
4224
|
ye(l.value) && Fe(l.value, t);
|
|
@@ -4230,11 +4240,11 @@ Check the top-level render call using <` + r + ">.");
|
|
|
4230
4240
|
else
|
|
4231
4241
|
return;
|
|
4232
4242
|
if (r) {
|
|
4233
|
-
var
|
|
4234
|
-
Ge(r, e.props, "prop",
|
|
4243
|
+
var n = v(t);
|
|
4244
|
+
Ge(r, e.props, "prop", n, e);
|
|
4235
4245
|
} else if (t.PropTypes !== void 0 && !me) {
|
|
4236
4246
|
me = !0;
|
|
4237
|
-
var f =
|
|
4247
|
+
var f = v(t);
|
|
4238
4248
|
p("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", f || "Unknown");
|
|
4239
4249
|
}
|
|
4240
4250
|
typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && p("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
@@ -4243,9 +4253,9 @@ Check the top-level render call using <` + r + ">.");
|
|
|
4243
4253
|
function it(e) {
|
|
4244
4254
|
{
|
|
4245
4255
|
for (var t = Object.keys(e.props), r = 0; r < t.length; r++) {
|
|
4246
|
-
var
|
|
4247
|
-
if (
|
|
4248
|
-
J(e), p("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",
|
|
4256
|
+
var n = t[r];
|
|
4257
|
+
if (n !== "children" && n !== "key") {
|
|
4258
|
+
J(e), p("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", n), J(null);
|
|
4249
4259
|
break;
|
|
4250
4260
|
}
|
|
4251
4261
|
}
|
|
@@ -4253,39 +4263,39 @@ Check the top-level render call using <` + r + ">.");
|
|
|
4253
4263
|
}
|
|
4254
4264
|
}
|
|
4255
4265
|
var Me = {};
|
|
4256
|
-
function $e(e, t, r,
|
|
4266
|
+
function $e(e, t, r, n, f, m) {
|
|
4257
4267
|
{
|
|
4258
|
-
var l =
|
|
4268
|
+
var l = T(e);
|
|
4259
4269
|
if (!l) {
|
|
4260
4270
|
var i = "";
|
|
4261
4271
|
(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.");
|
|
4262
|
-
var O =
|
|
4272
|
+
var O = nt();
|
|
4263
4273
|
O ? i += O : i += Pe();
|
|
4264
4274
|
var w;
|
|
4265
|
-
e === null ? w = "null" : fe(e) ? w = "array" : e !== void 0 && e.$$typeof === _ ? (w = "<" + (
|
|
4275
|
+
e === null ? w = "null" : fe(e) ? w = "array" : e !== void 0 && e.$$typeof === _ ? (w = "<" + (v(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);
|
|
4266
4276
|
}
|
|
4267
|
-
var j =
|
|
4277
|
+
var j = at(e, t, r, f, m);
|
|
4268
4278
|
if (j == null)
|
|
4269
4279
|
return j;
|
|
4270
4280
|
if (l) {
|
|
4271
|
-
var
|
|
4272
|
-
if (
|
|
4273
|
-
if (
|
|
4274
|
-
if (fe(
|
|
4275
|
-
for (var Z = 0; Z <
|
|
4276
|
-
Ie(
|
|
4277
|
-
Object.freeze && Object.freeze(
|
|
4281
|
+
var B = t.children;
|
|
4282
|
+
if (B !== void 0)
|
|
4283
|
+
if (n)
|
|
4284
|
+
if (fe(B)) {
|
|
4285
|
+
for (var Z = 0; Z < B.length; Z++)
|
|
4286
|
+
Ie(B[Z], e);
|
|
4287
|
+
Object.freeze && Object.freeze(B);
|
|
4278
4288
|
} else
|
|
4279
4289
|
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.");
|
|
4280
4290
|
else
|
|
4281
|
-
Ie(
|
|
4291
|
+
Ie(B, e);
|
|
4282
4292
|
}
|
|
4283
4293
|
if (X.call(t, "key")) {
|
|
4284
|
-
var z =
|
|
4294
|
+
var z = v(e), D = Object.keys(t).filter(function(ft) {
|
|
4285
4295
|
return ft !== "key";
|
|
4286
|
-
}), ve =
|
|
4296
|
+
}), ve = D.length > 0 ? "{key: someKey, " + D.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
4287
4297
|
if (!Me[z + ve]) {
|
|
4288
|
-
var dt =
|
|
4298
|
+
var dt = D.length > 0 ? "{" + D.join(": ..., ") + ": ...}" : "{}";
|
|
4289
4299
|
p(`A props object containing a "key" prop is being spread into JSX:
|
|
4290
4300
|
let props = %s;
|
|
4291
4301
|
<%s {...props} />
|
|
@@ -4307,52 +4317,52 @@ React keys must be passed directly to JSX without using spread:
|
|
|
4307
4317
|
wt.Fragment = d, wt.jsx = ct, wt.jsxs = ut;
|
|
4308
4318
|
}()), wt;
|
|
4309
4319
|
}
|
|
4310
|
-
process.env.NODE_ENV === "production" ? Pt.exports =
|
|
4320
|
+
process.env.NODE_ENV === "production" ? Pt.exports = Sr() : Pt.exports = Rr();
|
|
4311
4321
|
var H = Pt.exports;
|
|
4312
|
-
const
|
|
4313
|
-
shake:
|
|
4314
|
-
modal:
|
|
4315
|
-
sa:
|
|
4316
|
-
ss:
|
|
4317
|
-
sm:
|
|
4318
|
-
sl:
|
|
4319
|
-
sx:
|
|
4320
|
-
sf:
|
|
4321
|
-
o:
|
|
4322
|
-
b:
|
|
4323
|
-
w:
|
|
4324
|
-
h:
|
|
4325
|
-
l:
|
|
4326
|
-
t:
|
|
4327
|
-
x:
|
|
4328
|
-
s:
|
|
4322
|
+
const Er = "_shake_oqfdb_1", Or = "_modal_oqfdb_79", Tr = "_sa_oqfdb_89", Dr = "_ss_oqfdb_94", Pr = "_sm_oqfdb_98", Nr = "_sl_oqfdb_102", Fr = "_sx_oqfdb_106", Ir = "_sf_oqfdb_110", Mr = "_o_oqfdb_116", $r = "_b_oqfdb_28", Ar = "_w_oqfdb_15", Br = "_h_oqfdb_146", Lr = "_l_oqfdb_160", Wr = "_t_oqfdb_197", Ur = "_x_oqfdb_201", qr = "_s_oqfdb_89", Kr = "_c_oqfdb_219", Yr = "_f_oqfdb_224", Gr = "_r__oqfdb_235", zr = "_c__oqfdb_250", Hr = "_g_oqfdb_259", Jr = "_m_oqfdb_79", ie = {
|
|
4323
|
+
shake: Er,
|
|
4324
|
+
modal: Or,
|
|
4325
|
+
sa: Tr,
|
|
4326
|
+
ss: Dr,
|
|
4327
|
+
sm: Pr,
|
|
4328
|
+
sl: Nr,
|
|
4329
|
+
sx: Fr,
|
|
4330
|
+
sf: Ir,
|
|
4331
|
+
o: Mr,
|
|
4332
|
+
b: $r,
|
|
4333
|
+
w: Ar,
|
|
4334
|
+
h: Br,
|
|
4335
|
+
l: Lr,
|
|
4336
|
+
t: Wr,
|
|
4337
|
+
x: Ur,
|
|
4338
|
+
s: qr,
|
|
4329
4339
|
c: Kr,
|
|
4330
|
-
f:
|
|
4331
|
-
r_:
|
|
4332
|
-
c_:
|
|
4333
|
-
g:
|
|
4334
|
-
m:
|
|
4340
|
+
f: Yr,
|
|
4341
|
+
r_: Gr,
|
|
4342
|
+
c_: zr,
|
|
4343
|
+
g: Hr,
|
|
4344
|
+
m: Jr
|
|
4335
4345
|
};
|
|
4336
|
-
function
|
|
4346
|
+
function Zr({ children: a, className: _ }) {
|
|
4337
4347
|
return /* @__PURE__ */ H.jsx(
|
|
4338
4348
|
"div",
|
|
4339
4349
|
{
|
|
4340
4350
|
className: [ie.l, _].filter((u) => u !== void 0).join(" "),
|
|
4341
|
-
children: /* @__PURE__ */ H.jsx("ul", { children:
|
|
4351
|
+
children: /* @__PURE__ */ H.jsx("ul", { children: a })
|
|
4342
4352
|
}
|
|
4343
4353
|
);
|
|
4344
4354
|
}
|
|
4345
|
-
function
|
|
4355
|
+
function Vr({ children: a, className: _ }) {
|
|
4346
4356
|
return /* @__PURE__ */ H.jsx(
|
|
4347
4357
|
"div",
|
|
4348
4358
|
{
|
|
4349
4359
|
className: [ie.s, _].filter((u) => u !== void 0).join(" "),
|
|
4350
|
-
children:
|
|
4360
|
+
children: a
|
|
4351
4361
|
}
|
|
4352
4362
|
);
|
|
4353
4363
|
}
|
|
4354
|
-
function
|
|
4355
|
-
children:
|
|
4364
|
+
function Xr({
|
|
4365
|
+
children: a,
|
|
4356
4366
|
direction: _ = "column",
|
|
4357
4367
|
className: u
|
|
4358
4368
|
}) {
|
|
@@ -4364,33 +4374,33 @@ function Vr({
|
|
|
4364
4374
|
ie[_ === "row" ? "r_" : "c_"],
|
|
4365
4375
|
u
|
|
4366
4376
|
].filter((d) => d !== void 0).join(" "),
|
|
4367
|
-
children:
|
|
4377
|
+
children: a
|
|
4368
4378
|
}
|
|
4369
4379
|
);
|
|
4370
4380
|
}
|
|
4371
|
-
function
|
|
4381
|
+
function Qr({ children: a, className: _ }) {
|
|
4372
4382
|
return /* @__PURE__ */ H.jsx(
|
|
4373
4383
|
"div",
|
|
4374
4384
|
{
|
|
4375
4385
|
className: [ie.c, _].filter((u) => u !== void 0).join(" "),
|
|
4376
|
-
children:
|
|
4386
|
+
children: a
|
|
4377
4387
|
}
|
|
4378
4388
|
);
|
|
4379
4389
|
}
|
|
4380
|
-
function
|
|
4390
|
+
function ea({ children: a, className: _ }) {
|
|
4381
4391
|
return /* @__PURE__ */ H.jsx(
|
|
4382
4392
|
"div",
|
|
4383
4393
|
{
|
|
4384
4394
|
className: [ie.g, _].filter((u) => u !== void 0).join(" "),
|
|
4385
|
-
children:
|
|
4395
|
+
children: a
|
|
4386
4396
|
}
|
|
4387
4397
|
);
|
|
4388
4398
|
}
|
|
4389
|
-
function
|
|
4399
|
+
function ta() {
|
|
4390
4400
|
return typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof self < "u" ? self : typeof global < "u" ? global : {};
|
|
4391
4401
|
}
|
|
4392
|
-
function Yt(
|
|
4393
|
-
return
|
|
4402
|
+
function Yt(a) {
|
|
4403
|
+
return ta().IMPORT_MODULES;
|
|
4394
4404
|
}
|
|
4395
4405
|
var Nt = { exports: {} }, bt = {};
|
|
4396
4406
|
/**
|
|
@@ -4403,16 +4413,16 @@ var Nt = { exports: {} }, bt = {};
|
|
|
4403
4413
|
* LICENSE file in the root directory of this source tree.
|
|
4404
4414
|
*/
|
|
4405
4415
|
var Gt;
|
|
4406
|
-
function
|
|
4416
|
+
function ra() {
|
|
4407
4417
|
if (Gt) return bt;
|
|
4408
4418
|
Gt = 1;
|
|
4409
|
-
var
|
|
4419
|
+
var a = U, _ = Symbol.for("react.element"), u = Symbol.for("react.fragment"), d = Object.prototype.hasOwnProperty, y = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, C = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
4410
4420
|
function E(x, s, h) {
|
|
4411
|
-
var o, c = {},
|
|
4412
|
-
h !== void 0 && (
|
|
4421
|
+
var o, c = {}, k = null, S = null;
|
|
4422
|
+
h !== void 0 && (k = "" + h), s.key !== void 0 && (k = "" + s.key), s.ref !== void 0 && (S = s.ref);
|
|
4413
4423
|
for (o in s) d.call(s, o) && !C.hasOwnProperty(o) && (c[o] = s[o]);
|
|
4414
4424
|
if (x && x.defaultProps) for (o in s = x.defaultProps, s) c[o] === void 0 && (c[o] = s[o]);
|
|
4415
|
-
return { $$typeof: _, type: x, key:
|
|
4425
|
+
return { $$typeof: _, type: x, key: k, ref: S, props: c, _owner: y.current };
|
|
4416
4426
|
}
|
|
4417
4427
|
return bt.Fragment = u, bt.jsx = E, bt.jsxs = E, bt;
|
|
4418
4428
|
}
|
|
@@ -4427,26 +4437,26 @@ var jt = {};
|
|
|
4427
4437
|
* LICENSE file in the root directory of this source tree.
|
|
4428
4438
|
*/
|
|
4429
4439
|
var zt;
|
|
4430
|
-
function
|
|
4440
|
+
function aa() {
|
|
4431
4441
|
return zt || (zt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
4432
|
-
var
|
|
4433
|
-
function
|
|
4442
|
+
var a = U, _ = Symbol.for("react.element"), u = Symbol.for("react.portal"), d = Symbol.for("react.fragment"), y = Symbol.for("react.strict_mode"), C = Symbol.for("react.profiler"), E = Symbol.for("react.provider"), x = Symbol.for("react.context"), s = Symbol.for("react.forward_ref"), h = Symbol.for("react.suspense"), o = Symbol.for("react.suspense_list"), c = Symbol.for("react.memo"), k = Symbol.for("react.lazy"), S = Symbol.for("react.offscreen"), I = Symbol.iterator, q = "@@iterator";
|
|
4443
|
+
function N(e) {
|
|
4434
4444
|
if (e === null || typeof e != "object")
|
|
4435
4445
|
return null;
|
|
4436
|
-
var t = I && e[I] || e[
|
|
4446
|
+
var t = I && e[I] || e[q];
|
|
4437
4447
|
return typeof t == "function" ? t : null;
|
|
4438
4448
|
}
|
|
4439
|
-
var R =
|
|
4449
|
+
var R = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
4440
4450
|
function p(e) {
|
|
4441
4451
|
{
|
|
4442
|
-
for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0),
|
|
4443
|
-
r[
|
|
4452
|
+
for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), n = 1; n < t; n++)
|
|
4453
|
+
r[n - 1] = arguments[n];
|
|
4444
4454
|
F("error", e, r);
|
|
4445
4455
|
}
|
|
4446
4456
|
}
|
|
4447
4457
|
function F(e, t, r) {
|
|
4448
4458
|
{
|
|
4449
|
-
var
|
|
4459
|
+
var n = R.ReactDebugCurrentFrame, f = n.getStackAddendum();
|
|
4450
4460
|
f !== "" && (t += "%s", r = r.concat([f]));
|
|
4451
4461
|
var m = r.map(function(l) {
|
|
4452
4462
|
return String(l);
|
|
@@ -4454,26 +4464,26 @@ function rn() {
|
|
|
4454
4464
|
m.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, m);
|
|
4455
4465
|
}
|
|
4456
4466
|
}
|
|
4457
|
-
var
|
|
4467
|
+
var K = !1, A = !1, L = !1, Y = !1, M = !1, P;
|
|
4458
4468
|
P = Symbol.for("react.module.reference");
|
|
4459
|
-
function
|
|
4460
|
-
return !!(typeof e == "string" || typeof e == "function" || e === d || e === C ||
|
|
4469
|
+
function T(e) {
|
|
4470
|
+
return !!(typeof e == "string" || typeof e == "function" || e === d || e === C || M || e === y || e === h || e === o || Y || e === S || K || A || L || typeof e == "object" && e !== null && (e.$$typeof === k || e.$$typeof === c || e.$$typeof === E || e.$$typeof === x || e.$$typeof === s || // This needs to include all possible module reference object
|
|
4461
4471
|
// types supported by any Flight configuration anywhere since
|
|
4462
4472
|
// we don't know which Flight build this will end up being used
|
|
4463
4473
|
// with.
|
|
4464
4474
|
e.$$typeof === P || e.getModuleId !== void 0));
|
|
4465
4475
|
}
|
|
4466
4476
|
function G(e, t, r) {
|
|
4467
|
-
var
|
|
4468
|
-
if (
|
|
4469
|
-
return
|
|
4477
|
+
var n = e.displayName;
|
|
4478
|
+
if (n)
|
|
4479
|
+
return n;
|
|
4470
4480
|
var f = t.displayName || t.name || "";
|
|
4471
4481
|
return f !== "" ? r + "(" + f + ")" : r;
|
|
4472
4482
|
}
|
|
4473
|
-
function
|
|
4483
|
+
function b(e) {
|
|
4474
4484
|
return e.displayName || "Context";
|
|
4475
4485
|
}
|
|
4476
|
-
function
|
|
4486
|
+
function v(e) {
|
|
4477
4487
|
if (e == null)
|
|
4478
4488
|
return null;
|
|
4479
4489
|
if (typeof e.tag == "number" && p("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
@@ -4487,7 +4497,7 @@ function rn() {
|
|
|
4487
4497
|
return "Portal";
|
|
4488
4498
|
case C:
|
|
4489
4499
|
return "Profiler";
|
|
4490
|
-
case
|
|
4500
|
+
case y:
|
|
4491
4501
|
return "StrictMode";
|
|
4492
4502
|
case h:
|
|
4493
4503
|
return "Suspense";
|
|
@@ -4498,19 +4508,19 @@ function rn() {
|
|
|
4498
4508
|
switch (e.$$typeof) {
|
|
4499
4509
|
case x:
|
|
4500
4510
|
var t = e;
|
|
4501
|
-
return
|
|
4511
|
+
return b(t) + ".Consumer";
|
|
4502
4512
|
case E:
|
|
4503
4513
|
var r = e;
|
|
4504
|
-
return
|
|
4514
|
+
return b(r._context) + ".Provider";
|
|
4505
4515
|
case s:
|
|
4506
4516
|
return G(e, e.render, "ForwardRef");
|
|
4507
4517
|
case c:
|
|
4508
|
-
var
|
|
4509
|
-
return
|
|
4510
|
-
case
|
|
4518
|
+
var n = e.displayName || null;
|
|
4519
|
+
return n !== null ? n : v(e.type) || "Memo";
|
|
4520
|
+
case k: {
|
|
4511
4521
|
var f = e, m = f._payload, l = f._init;
|
|
4512
4522
|
try {
|
|
4513
|
-
return
|
|
4523
|
+
return v(l(m));
|
|
4514
4524
|
} catch {
|
|
4515
4525
|
return null;
|
|
4516
4526
|
}
|
|
@@ -4518,14 +4528,14 @@ function rn() {
|
|
|
4518
4528
|
}
|
|
4519
4529
|
return null;
|
|
4520
4530
|
}
|
|
4521
|
-
var $ = Object.assign,
|
|
4531
|
+
var $ = Object.assign, W = 0, se, V, _e, ge, le, be, ke;
|
|
4522
4532
|
function we() {
|
|
4523
4533
|
}
|
|
4524
4534
|
we.__reactDisabledLog = !0;
|
|
4525
4535
|
function We() {
|
|
4526
4536
|
{
|
|
4527
|
-
if (
|
|
4528
|
-
se = console.log, V = console.info,
|
|
4537
|
+
if (W === 0) {
|
|
4538
|
+
se = console.log, V = console.info, _e = console.warn, ge = console.error, le = console.group, be = console.groupCollapsed, ke = console.groupEnd;
|
|
4529
4539
|
var e = {
|
|
4530
4540
|
configurable: !0,
|
|
4531
4541
|
enumerable: !0,
|
|
@@ -4542,12 +4552,12 @@ function rn() {
|
|
|
4542
4552
|
groupEnd: e
|
|
4543
4553
|
});
|
|
4544
4554
|
}
|
|
4545
|
-
|
|
4555
|
+
W++;
|
|
4546
4556
|
}
|
|
4547
4557
|
}
|
|
4548
4558
|
function Ue() {
|
|
4549
4559
|
{
|
|
4550
|
-
if (
|
|
4560
|
+
if (W--, W === 0) {
|
|
4551
4561
|
var e = {
|
|
4552
4562
|
configurable: !0,
|
|
4553
4563
|
enumerable: !0,
|
|
@@ -4561,7 +4571,7 @@ function rn() {
|
|
|
4561
4571
|
value: V
|
|
4562
4572
|
}),
|
|
4563
4573
|
warn: $({}, e, {
|
|
4564
|
-
value:
|
|
4574
|
+
value: _e
|
|
4565
4575
|
}),
|
|
4566
4576
|
error: $({}, e, {
|
|
4567
4577
|
value: ge
|
|
@@ -4577,7 +4587,7 @@ function rn() {
|
|
|
4577
4587
|
})
|
|
4578
4588
|
});
|
|
4579
4589
|
}
|
|
4580
|
-
|
|
4590
|
+
W < 0 && p("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
4581
4591
|
}
|
|
4582
4592
|
}
|
|
4583
4593
|
var ce = R.ReactCurrentDispatcher, ue;
|
|
@@ -4587,8 +4597,8 @@ function rn() {
|
|
|
4587
4597
|
try {
|
|
4588
4598
|
throw Error();
|
|
4589
4599
|
} catch (f) {
|
|
4590
|
-
var
|
|
4591
|
-
ue =
|
|
4600
|
+
var n = f.stack.trim().match(/\n( *(at )?)/);
|
|
4601
|
+
ue = n && n[1] || "";
|
|
4592
4602
|
}
|
|
4593
4603
|
return `
|
|
4594
4604
|
` + ue + e;
|
|
@@ -4596,8 +4606,8 @@ function rn() {
|
|
|
4596
4606
|
}
|
|
4597
4607
|
var de = !1, re;
|
|
4598
4608
|
{
|
|
4599
|
-
var
|
|
4600
|
-
re = new
|
|
4609
|
+
var qe = typeof WeakMap == "function" ? WeakMap : Map;
|
|
4610
|
+
re = new qe();
|
|
4601
4611
|
}
|
|
4602
4612
|
function je(e, t) {
|
|
4603
4613
|
if (!e || de)
|
|
@@ -4607,7 +4617,7 @@ function rn() {
|
|
|
4607
4617
|
if (r !== void 0)
|
|
4608
4618
|
return r;
|
|
4609
4619
|
}
|
|
4610
|
-
var
|
|
4620
|
+
var n;
|
|
4611
4621
|
de = !0;
|
|
4612
4622
|
var f = Error.prepareStackTrace;
|
|
4613
4623
|
Error.prepareStackTrace = void 0;
|
|
@@ -4625,30 +4635,30 @@ function rn() {
|
|
|
4625
4635
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
4626
4636
|
try {
|
|
4627
4637
|
Reflect.construct(l, []);
|
|
4628
|
-
} catch (
|
|
4629
|
-
|
|
4638
|
+
} catch (D) {
|
|
4639
|
+
n = D;
|
|
4630
4640
|
}
|
|
4631
4641
|
Reflect.construct(e, [], l);
|
|
4632
4642
|
} else {
|
|
4633
4643
|
try {
|
|
4634
4644
|
l.call();
|
|
4635
|
-
} catch (
|
|
4636
|
-
|
|
4645
|
+
} catch (D) {
|
|
4646
|
+
n = D;
|
|
4637
4647
|
}
|
|
4638
4648
|
e.call(l.prototype);
|
|
4639
4649
|
}
|
|
4640
4650
|
} else {
|
|
4641
4651
|
try {
|
|
4642
4652
|
throw Error();
|
|
4643
|
-
} catch (
|
|
4644
|
-
|
|
4653
|
+
} catch (D) {
|
|
4654
|
+
n = D;
|
|
4645
4655
|
}
|
|
4646
4656
|
e();
|
|
4647
4657
|
}
|
|
4648
|
-
} catch (
|
|
4649
|
-
if (
|
|
4650
|
-
for (var i =
|
|
4651
|
-
`), O =
|
|
4658
|
+
} catch (D) {
|
|
4659
|
+
if (D && n && typeof D.stack == "string") {
|
|
4660
|
+
for (var i = D.stack.split(`
|
|
4661
|
+
`), O = n.stack.split(`
|
|
4652
4662
|
`), w = i.length - 1, j = O.length - 1; w >= 1 && j >= 0 && i[w] !== O[j]; )
|
|
4653
4663
|
j--;
|
|
4654
4664
|
for (; w >= 1 && j >= 0; w--, j--)
|
|
@@ -4656,9 +4666,9 @@ function rn() {
|
|
|
4656
4666
|
if (w !== 1 || j !== 1)
|
|
4657
4667
|
do
|
|
4658
4668
|
if (w--, j--, j < 0 || i[w] !== O[j]) {
|
|
4659
|
-
var
|
|
4669
|
+
var B = `
|
|
4660
4670
|
` + i[w].replace(" at new ", " at ");
|
|
4661
|
-
return e.displayName &&
|
|
4671
|
+
return e.displayName && B.includes("<anonymous>") && (B = B.replace("<anonymous>", e.displayName)), typeof e == "function" && re.set(e, B), B;
|
|
4662
4672
|
}
|
|
4663
4673
|
while (w >= 1 && j >= 0);
|
|
4664
4674
|
break;
|
|
@@ -4670,14 +4680,14 @@ function rn() {
|
|
|
4670
4680
|
var Z = e ? e.displayName || e.name : "", z = Z ? te(Z) : "";
|
|
4671
4681
|
return typeof e == "function" && re.set(e, z), z;
|
|
4672
4682
|
}
|
|
4673
|
-
function
|
|
4683
|
+
function Ke(e, t, r) {
|
|
4674
4684
|
return je(e, !1);
|
|
4675
4685
|
}
|
|
4676
4686
|
function Ye(e) {
|
|
4677
4687
|
var t = e.prototype;
|
|
4678
4688
|
return !!(t && t.isReactComponent);
|
|
4679
4689
|
}
|
|
4680
|
-
function
|
|
4690
|
+
function ae(e, t, r) {
|
|
4681
4691
|
if (e == null)
|
|
4682
4692
|
return "";
|
|
4683
4693
|
if (typeof e == "function")
|
|
@@ -4693,13 +4703,13 @@ function rn() {
|
|
|
4693
4703
|
if (typeof e == "object")
|
|
4694
4704
|
switch (e.$$typeof) {
|
|
4695
4705
|
case s:
|
|
4696
|
-
return
|
|
4706
|
+
return Ke(e.render);
|
|
4697
4707
|
case c:
|
|
4698
|
-
return
|
|
4699
|
-
case
|
|
4700
|
-
var
|
|
4708
|
+
return ae(e.type, t, r);
|
|
4709
|
+
case k: {
|
|
4710
|
+
var n = e, f = n._payload, m = n._init;
|
|
4701
4711
|
try {
|
|
4702
|
-
return
|
|
4712
|
+
return ae(m(f), t, r);
|
|
4703
4713
|
} catch {
|
|
4704
4714
|
}
|
|
4705
4715
|
}
|
|
@@ -4707,14 +4717,14 @@ function rn() {
|
|
|
4707
4717
|
return "";
|
|
4708
4718
|
}
|
|
4709
4719
|
var X = Object.prototype.hasOwnProperty, xe = {}, Ce = R.ReactDebugCurrentFrame;
|
|
4710
|
-
function
|
|
4720
|
+
function ne(e) {
|
|
4711
4721
|
if (e) {
|
|
4712
|
-
var t = e._owner, r =
|
|
4722
|
+
var t = e._owner, r = ae(e.type, e._source, t ? t.type : null);
|
|
4713
4723
|
Ce.setExtraStackFrame(r);
|
|
4714
4724
|
} else
|
|
4715
4725
|
Ce.setExtraStackFrame(null);
|
|
4716
4726
|
}
|
|
4717
|
-
function Ge(e, t, r,
|
|
4727
|
+
function Ge(e, t, r, n, f) {
|
|
4718
4728
|
{
|
|
4719
4729
|
var m = Function.call.bind(X);
|
|
4720
4730
|
for (var l in e)
|
|
@@ -4722,14 +4732,14 @@ function rn() {
|
|
|
4722
4732
|
var i = void 0;
|
|
4723
4733
|
try {
|
|
4724
4734
|
if (typeof e[l] != "function") {
|
|
4725
|
-
var O = Error((
|
|
4735
|
+
var O = Error((n || "React class") + ": " + r + " type `" + l + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[l] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
4726
4736
|
throw O.name = "Invariant Violation", O;
|
|
4727
4737
|
}
|
|
4728
|
-
i = e[l](t, l,
|
|
4738
|
+
i = e[l](t, l, n, r, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
4729
4739
|
} catch (w) {
|
|
4730
4740
|
i = w;
|
|
4731
4741
|
}
|
|
4732
|
-
i && !(i instanceof Error) && (
|
|
4742
|
+
i && !(i instanceof Error) && (ne(f), p("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", n || "React class", r, l, typeof i), ne(null)), i instanceof Error && !(i.message in xe) && (xe[i.message] = !0, ne(f), p("Failed %s type: %s", r, i.message), ne(null));
|
|
4733
4743
|
}
|
|
4734
4744
|
}
|
|
4735
4745
|
}
|
|
@@ -4804,7 +4814,7 @@ function rn() {
|
|
|
4804
4814
|
});
|
|
4805
4815
|
}
|
|
4806
4816
|
}
|
|
4807
|
-
var rt = function(e, t, r,
|
|
4817
|
+
var rt = function(e, t, r, n, f, m, l) {
|
|
4808
4818
|
var i = {
|
|
4809
4819
|
// This tag allows us to uniquely identify this as a React Element
|
|
4810
4820
|
$$typeof: _,
|
|
@@ -4825,7 +4835,7 @@ function rn() {
|
|
|
4825
4835
|
configurable: !1,
|
|
4826
4836
|
enumerable: !1,
|
|
4827
4837
|
writable: !1,
|
|
4828
|
-
value:
|
|
4838
|
+
value: n
|
|
4829
4839
|
}), Object.defineProperty(i, "_source", {
|
|
4830
4840
|
configurable: !1,
|
|
4831
4841
|
enumerable: !1,
|
|
@@ -4833,7 +4843,7 @@ function rn() {
|
|
|
4833
4843
|
value: f
|
|
4834
4844
|
}), Object.freeze && (Object.freeze(i.props), Object.freeze(i)), i;
|
|
4835
4845
|
};
|
|
4836
|
-
function
|
|
4846
|
+
function at(e, t, r, n, f) {
|
|
4837
4847
|
{
|
|
4838
4848
|
var m, l = {}, i = null, O = null;
|
|
4839
4849
|
r !== void 0 && (Re(r), i = "" + r), Xe(t) && (Re(t.key), i = "" + t.key), Ve(t) && (O = t.ref, Qe(t));
|
|
@@ -4848,13 +4858,13 @@ function rn() {
|
|
|
4848
4858
|
var j = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
4849
4859
|
i && et(l, j), O && tt(l, j);
|
|
4850
4860
|
}
|
|
4851
|
-
return rt(e, i, O, f,
|
|
4861
|
+
return rt(e, i, O, f, n, Ee.current, l);
|
|
4852
4862
|
}
|
|
4853
4863
|
}
|
|
4854
4864
|
var pe = R.ReactCurrentOwner, De = R.ReactDebugCurrentFrame;
|
|
4855
4865
|
function J(e) {
|
|
4856
4866
|
if (e) {
|
|
4857
|
-
var t = e._owner, r =
|
|
4867
|
+
var t = e._owner, r = ae(e.type, e._source, t ? t.type : null);
|
|
4858
4868
|
De.setExtraStackFrame(r);
|
|
4859
4869
|
} else
|
|
4860
4870
|
De.setExtraStackFrame(null);
|
|
@@ -4867,7 +4877,7 @@ function rn() {
|
|
|
4867
4877
|
function Pe() {
|
|
4868
4878
|
{
|
|
4869
4879
|
if (pe.current) {
|
|
4870
|
-
var e =
|
|
4880
|
+
var e = v(pe.current.type);
|
|
4871
4881
|
if (e)
|
|
4872
4882
|
return `
|
|
4873
4883
|
|
|
@@ -4876,7 +4886,7 @@ Check the render method of \`` + e + "`.";
|
|
|
4876
4886
|
return "";
|
|
4877
4887
|
}
|
|
4878
4888
|
}
|
|
4879
|
-
function
|
|
4889
|
+
function nt(e) {
|
|
4880
4890
|
return "";
|
|
4881
4891
|
}
|
|
4882
4892
|
var Ne = {};
|
|
@@ -4901,8 +4911,8 @@ Check the top-level render call using <` + r + ">.");
|
|
|
4901
4911
|
if (Ne[r])
|
|
4902
4912
|
return;
|
|
4903
4913
|
Ne[r] = !0;
|
|
4904
|
-
var
|
|
4905
|
-
e && e._owner && e._owner !== pe.current && (
|
|
4914
|
+
var n = "";
|
|
4915
|
+
e && e._owner && e._owner !== pe.current && (n = " It was passed a child from " + v(e._owner.type) + "."), J(e), p('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', r, n), J(null);
|
|
4906
4916
|
}
|
|
4907
4917
|
}
|
|
4908
4918
|
function Ie(e, t) {
|
|
@@ -4911,13 +4921,13 @@ Check the top-level render call using <` + r + ">.");
|
|
|
4911
4921
|
return;
|
|
4912
4922
|
if (fe(e))
|
|
4913
4923
|
for (var r = 0; r < e.length; r++) {
|
|
4914
|
-
var
|
|
4915
|
-
ye(
|
|
4924
|
+
var n = e[r];
|
|
4925
|
+
ye(n) && Fe(n, t);
|
|
4916
4926
|
}
|
|
4917
4927
|
else if (ye(e))
|
|
4918
4928
|
e._store && (e._store.validated = !0);
|
|
4919
4929
|
else if (e) {
|
|
4920
|
-
var f =
|
|
4930
|
+
var f = N(e);
|
|
4921
4931
|
if (typeof f == "function" && f !== e.entries)
|
|
4922
4932
|
for (var m = f.call(e), l; !(l = m.next()).done; )
|
|
4923
4933
|
ye(l.value) && Fe(l.value, t);
|
|
@@ -4939,11 +4949,11 @@ Check the top-level render call using <` + r + ">.");
|
|
|
4939
4949
|
else
|
|
4940
4950
|
return;
|
|
4941
4951
|
if (r) {
|
|
4942
|
-
var
|
|
4943
|
-
Ge(r, e.props, "prop",
|
|
4952
|
+
var n = v(t);
|
|
4953
|
+
Ge(r, e.props, "prop", n, e);
|
|
4944
4954
|
} else if (t.PropTypes !== void 0 && !me) {
|
|
4945
4955
|
me = !0;
|
|
4946
|
-
var f =
|
|
4956
|
+
var f = v(t);
|
|
4947
4957
|
p("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", f || "Unknown");
|
|
4948
4958
|
}
|
|
4949
4959
|
typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && p("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
@@ -4952,9 +4962,9 @@ Check the top-level render call using <` + r + ">.");
|
|
|
4952
4962
|
function it(e) {
|
|
4953
4963
|
{
|
|
4954
4964
|
for (var t = Object.keys(e.props), r = 0; r < t.length; r++) {
|
|
4955
|
-
var
|
|
4956
|
-
if (
|
|
4957
|
-
J(e), p("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",
|
|
4965
|
+
var n = t[r];
|
|
4966
|
+
if (n !== "children" && n !== "key") {
|
|
4967
|
+
J(e), p("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", n), J(null);
|
|
4958
4968
|
break;
|
|
4959
4969
|
}
|
|
4960
4970
|
}
|
|
@@ -4962,39 +4972,39 @@ Check the top-level render call using <` + r + ">.");
|
|
|
4962
4972
|
}
|
|
4963
4973
|
}
|
|
4964
4974
|
var Me = {};
|
|
4965
|
-
function $e(e, t, r,
|
|
4975
|
+
function $e(e, t, r, n, f, m) {
|
|
4966
4976
|
{
|
|
4967
|
-
var l =
|
|
4977
|
+
var l = T(e);
|
|
4968
4978
|
if (!l) {
|
|
4969
4979
|
var i = "";
|
|
4970
4980
|
(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.");
|
|
4971
|
-
var O =
|
|
4981
|
+
var O = nt();
|
|
4972
4982
|
O ? i += O : i += Pe();
|
|
4973
4983
|
var w;
|
|
4974
|
-
e === null ? w = "null" : fe(e) ? w = "array" : e !== void 0 && e.$$typeof === _ ? (w = "<" + (
|
|
4984
|
+
e === null ? w = "null" : fe(e) ? w = "array" : e !== void 0 && e.$$typeof === _ ? (w = "<" + (v(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);
|
|
4975
4985
|
}
|
|
4976
|
-
var j =
|
|
4986
|
+
var j = at(e, t, r, f, m);
|
|
4977
4987
|
if (j == null)
|
|
4978
4988
|
return j;
|
|
4979
4989
|
if (l) {
|
|
4980
|
-
var
|
|
4981
|
-
if (
|
|
4982
|
-
if (
|
|
4983
|
-
if (fe(
|
|
4984
|
-
for (var Z = 0; Z <
|
|
4985
|
-
Ie(
|
|
4986
|
-
Object.freeze && Object.freeze(
|
|
4990
|
+
var B = t.children;
|
|
4991
|
+
if (B !== void 0)
|
|
4992
|
+
if (n)
|
|
4993
|
+
if (fe(B)) {
|
|
4994
|
+
for (var Z = 0; Z < B.length; Z++)
|
|
4995
|
+
Ie(B[Z], e);
|
|
4996
|
+
Object.freeze && Object.freeze(B);
|
|
4987
4997
|
} else
|
|
4988
4998
|
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.");
|
|
4989
4999
|
else
|
|
4990
|
-
Ie(
|
|
5000
|
+
Ie(B, e);
|
|
4991
5001
|
}
|
|
4992
5002
|
if (X.call(t, "key")) {
|
|
4993
|
-
var z =
|
|
5003
|
+
var z = v(e), D = Object.keys(t).filter(function(ft) {
|
|
4994
5004
|
return ft !== "key";
|
|
4995
|
-
}), ve =
|
|
5005
|
+
}), ve = D.length > 0 ? "{key: someKey, " + D.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
4996
5006
|
if (!Me[z + ve]) {
|
|
4997
|
-
var dt =
|
|
5007
|
+
var dt = D.length > 0 ? "{" + D.join(": ..., ") + ": ...}" : "{}";
|
|
4998
5008
|
p(`A props object containing a "key" prop is being spread into JSX:
|
|
4999
5009
|
let props = %s;
|
|
5000
5010
|
<%s {...props} />
|
|
@@ -5016,23 +5026,23 @@ React keys must be passed directly to JSX without using spread:
|
|
|
5016
5026
|
jt.Fragment = d, jt.jsx = ct, jt.jsxs = ut;
|
|
5017
5027
|
}()), jt;
|
|
5018
5028
|
}
|
|
5019
|
-
process.env.NODE_ENV === "production" ? Nt.exports =
|
|
5029
|
+
process.env.NODE_ENV === "production" ? Nt.exports = ra() : Nt.exports = aa();
|
|
5020
5030
|
var Ot = Nt.exports;
|
|
5021
|
-
const
|
|
5022
|
-
btn:
|
|
5023
|
-
confirm:
|
|
5024
|
-
cancel:
|
|
5025
|
-
action:
|
|
5026
|
-
disabled:
|
|
5031
|
+
const na = "_btn_1k1b3_1", oa = "_confirm_1k1b3_15", _a = "_cancel_1k1b3_20", ia = "_action_1k1b3_25", sa = "_disabled_1k1b3_30", la = "_m_1k1b3_44", ca = "_l_1k1b3_48", xt = {
|
|
5032
|
+
btn: na,
|
|
5033
|
+
confirm: oa,
|
|
5034
|
+
cancel: _a,
|
|
5035
|
+
action: ia,
|
|
5036
|
+
disabled: sa,
|
|
5027
5037
|
await: "_await_1k1b3_37",
|
|
5028
|
-
m:
|
|
5029
|
-
l:
|
|
5030
|
-
},
|
|
5031
|
-
onClick:
|
|
5038
|
+
m: la,
|
|
5039
|
+
l: ca
|
|
5040
|
+
}, ua = ({
|
|
5041
|
+
onClick: a,
|
|
5032
5042
|
onSend: _,
|
|
5033
5043
|
size: u = "m",
|
|
5034
5044
|
view: d = "confirm",
|
|
5035
|
-
children:
|
|
5045
|
+
children: y,
|
|
5036
5046
|
isDisabled: C = !1,
|
|
5037
5047
|
className: E,
|
|
5038
5048
|
after: x,
|
|
@@ -5041,84 +5051,84 @@ const nn = "_btn_1k1b3_1", an = "_confirm_1k1b3_15", on = "_cancel_1k1b3_20", _n
|
|
|
5041
5051
|
onRef: o,
|
|
5042
5052
|
awaitText: c = "Ожидайте"
|
|
5043
5053
|
}) => {
|
|
5044
|
-
let [
|
|
5045
|
-
const I = (
|
|
5046
|
-
if (
|
|
5047
|
-
|
|
5054
|
+
let [k, S] = U.useState(!1);
|
|
5055
|
+
const I = (N) => {
|
|
5056
|
+
if (a) return a();
|
|
5057
|
+
k || (_ ? (S(!0), _(S)) : N.preventDefault());
|
|
5048
5058
|
};
|
|
5049
|
-
let
|
|
5050
|
-
return (C ||
|
|
5059
|
+
let q = {};
|
|
5060
|
+
return (C || k) && (q.disabled = !0), /* @__PURE__ */ Ot.jsx(
|
|
5051
5061
|
"button",
|
|
5052
5062
|
{
|
|
5053
|
-
...
|
|
5063
|
+
...q,
|
|
5054
5064
|
ref: o,
|
|
5055
5065
|
className: [
|
|
5056
5066
|
xt.btn,
|
|
5057
|
-
|
|
5067
|
+
k ? xt.disabled : xt[d],
|
|
5058
5068
|
u && xt[u],
|
|
5059
5069
|
E
|
|
5060
|
-
].filter((
|
|
5070
|
+
].filter((N) => N != "").join(" "),
|
|
5061
5071
|
onClick: I,
|
|
5062
|
-
children:
|
|
5072
|
+
children: k ? c : /* @__PURE__ */ Ot.jsxs(Ot.Fragment, { children: [
|
|
5063
5073
|
s || "",
|
|
5064
5074
|
" ",
|
|
5065
5075
|
h,
|
|
5066
5076
|
" ",
|
|
5067
5077
|
x || ""
|
|
5068
|
-
] }) ||
|
|
5078
|
+
] }) || y
|
|
5069
5079
|
}
|
|
5070
5080
|
);
|
|
5071
5081
|
};
|
|
5072
5082
|
let Ae = {};
|
|
5073
|
-
function
|
|
5074
|
-
return /* @__PURE__ */ H.jsx(H.Fragment, { children:
|
|
5083
|
+
function da({ children: a }) {
|
|
5084
|
+
return /* @__PURE__ */ H.jsx(H.Fragment, { children: a });
|
|
5075
5085
|
}
|
|
5076
5086
|
var Rt;
|
|
5077
|
-
((
|
|
5087
|
+
((a) => {
|
|
5078
5088
|
function _({
|
|
5079
5089
|
import_modules: o
|
|
5080
5090
|
}) {
|
|
5081
|
-
let [c,
|
|
5091
|
+
let [c, k] = U.useState([]);
|
|
5082
5092
|
return Ae.x = (S) => {
|
|
5083
|
-
|
|
5093
|
+
k(S ? c.filter((I) => I.key !== S) : []);
|
|
5084
5094
|
}, Zt(() => {
|
|
5085
5095
|
o && (Ae.i = o);
|
|
5086
5096
|
}, []), Ae.add = (S, I = Date.now()) => {
|
|
5087
|
-
|
|
5097
|
+
k([...c, { key: I, item: S }]);
|
|
5088
5098
|
}, /* @__PURE__ */ H.jsx(H.Fragment, { children: c.map((S) => S.item) });
|
|
5089
5099
|
}
|
|
5090
|
-
|
|
5100
|
+
a.Init = _;
|
|
5091
5101
|
function u(o) {
|
|
5092
5102
|
return o && (Ae.i = o), Ae.i;
|
|
5093
5103
|
}
|
|
5094
|
-
|
|
5095
|
-
function d(o, c,
|
|
5104
|
+
a.Import = u, a.List = Zr, a.Scroll = Vr, a.Form = Xr, a.Center = Qr, a.Column = ea;
|
|
5105
|
+
function d(o, c, k) {
|
|
5096
5106
|
Ae.i ? Ae.i(`${o}/modal/${c}.tsx`).then((S) => {
|
|
5097
|
-
S.default.Open(
|
|
5107
|
+
S.default.Open(k);
|
|
5098
5108
|
}) : Yt()(`${o}/modal/${c}.tsx`).then((S) => {
|
|
5099
|
-
S.default.Open(
|
|
5109
|
+
S.default.Open(k);
|
|
5100
5110
|
});
|
|
5101
5111
|
}
|
|
5102
|
-
|
|
5103
|
-
function
|
|
5104
|
-
let [S, I] =
|
|
5105
|
-
return
|
|
5106
|
-
Ae.i ? Ae.i(`${o}/modal/${c}.tsx`).then((
|
|
5107
|
-
I(
|
|
5108
|
-
}) : Yt()(`${o}/modal/${c}.tsx`).then((
|
|
5109
|
-
I(
|
|
5112
|
+
a.Open = d;
|
|
5113
|
+
function y({ type: o, name: c, params: k }) {
|
|
5114
|
+
let [S, I] = U.useState(null);
|
|
5115
|
+
return U.useEffect(() => {
|
|
5116
|
+
Ae.i ? Ae.i(`${o}/modal/${c}.tsx`).then((q) => {
|
|
5117
|
+
I(q.default.Icon(k));
|
|
5118
|
+
}) : Yt()(`${o}/modal/${c}.tsx`).then((q) => {
|
|
5119
|
+
I(q.default.Icon(k));
|
|
5110
5120
|
});
|
|
5111
|
-
}, [
|
|
5121
|
+
}, [k.id]), /* @__PURE__ */ H.jsx(H.Fragment, { children: S });
|
|
5112
5122
|
}
|
|
5113
|
-
|
|
5123
|
+
a.Icon = y;
|
|
5114
5124
|
function C(o, c) {
|
|
5115
|
-
Ae.add(/* @__PURE__ */ H.jsx(
|
|
5125
|
+
Ae.add(/* @__PURE__ */ H.jsx(da, { children: o }, String(Date.now())), c);
|
|
5116
5126
|
}
|
|
5117
|
-
|
|
5127
|
+
a.Add = C;
|
|
5118
5128
|
function E(o) {
|
|
5119
5129
|
Ae.x(o);
|
|
5120
5130
|
}
|
|
5121
|
-
|
|
5131
|
+
a.Close = E;
|
|
5122
5132
|
function x(o) {
|
|
5123
5133
|
if (o.target.classList[0] !== "modal") return;
|
|
5124
5134
|
let c = o.target.children[0];
|
|
@@ -5126,64 +5136,64 @@ var Rt;
|
|
|
5126
5136
|
c.setAttribute("shake", !1);
|
|
5127
5137
|
}, 1e3);
|
|
5128
5138
|
}
|
|
5129
|
-
|
|
5139
|
+
a.Shake = x;
|
|
5130
5140
|
function s(o, c) {
|
|
5131
|
-
const
|
|
5132
|
-
|
|
5141
|
+
const k = (S) => {
|
|
5142
|
+
a.Add(
|
|
5133
5143
|
/* @__PURE__ */ H.jsx(o, { ...S }, (/* @__PURE__ */ new Date()).getTime())
|
|
5134
5144
|
);
|
|
5135
5145
|
};
|
|
5136
5146
|
return {
|
|
5137
|
-
Icon: (S) => /* @__PURE__ */ H.jsx("i", { onClick: () =>
|
|
5138
|
-
Open:
|
|
5147
|
+
Icon: (S) => /* @__PURE__ */ H.jsx("i", { onClick: () => k(S), children: c && /* @__PURE__ */ H.jsx(c, {}) }),
|
|
5148
|
+
Open: k
|
|
5139
5149
|
};
|
|
5140
5150
|
}
|
|
5141
|
-
|
|
5151
|
+
a.Create = s;
|
|
5142
5152
|
function h({
|
|
5143
5153
|
title: o,
|
|
5144
5154
|
children: c,
|
|
5145
|
-
button:
|
|
5155
|
+
button: k,
|
|
5146
5156
|
tabs: S,
|
|
5147
5157
|
size: I = "m",
|
|
5148
|
-
className:
|
|
5149
|
-
shake:
|
|
5158
|
+
className: q = "",
|
|
5159
|
+
shake: N = !0,
|
|
5150
5160
|
menu: R
|
|
5151
5161
|
}) {
|
|
5152
|
-
const [p, F] =
|
|
5153
|
-
if (
|
|
5154
|
-
if (
|
|
5155
|
-
return
|
|
5156
|
-
if (
|
|
5157
|
-
return
|
|
5162
|
+
const [p, F] = U.useState(!0), K = U.useRef(), A = (Y) => {
|
|
5163
|
+
if (k) {
|
|
5164
|
+
if (k.onClick)
|
|
5165
|
+
return Y(!1), k.onClick({ setOpen: F });
|
|
5166
|
+
if (k.onSend)
|
|
5167
|
+
return k.onSend({
|
|
5158
5168
|
setOpen: F,
|
|
5159
|
-
disabled:
|
|
5169
|
+
disabled: Y
|
|
5160
5170
|
});
|
|
5161
5171
|
}
|
|
5162
|
-
},
|
|
5163
|
-
if (!
|
|
5164
|
-
|
|
5165
|
-
|
|
5172
|
+
}, L = () => {
|
|
5173
|
+
if (!N) return F(!1);
|
|
5174
|
+
K.current.setAttribute("shake", !0), setTimeout(() => {
|
|
5175
|
+
K.current.setAttribute("shake", !1);
|
|
5166
5176
|
}, 1e3);
|
|
5167
5177
|
};
|
|
5168
5178
|
return p ? /* @__PURE__ */ H.jsxs("div", { className: `${ie.modal}`, children: [
|
|
5169
|
-
/* @__PURE__ */ H.jsx("div", { className: ie.o, onClick:
|
|
5179
|
+
/* @__PURE__ */ H.jsx("div", { className: ie.o, onClick: L }),
|
|
5170
5180
|
/* @__PURE__ */ H.jsxs(
|
|
5171
5181
|
"div",
|
|
5172
5182
|
{
|
|
5173
|
-
className: [ie.w, ie[`s${I}`],
|
|
5174
|
-
ref:
|
|
5183
|
+
className: [ie.w, ie[`s${I}`], q].filter((Y) => Y != "").join(" "),
|
|
5184
|
+
ref: K,
|
|
5175
5185
|
children: [
|
|
5176
5186
|
/* @__PURE__ */ H.jsxs("div", { className: ie.h, children: [
|
|
5177
5187
|
/* @__PURE__ */ H.jsx("div", { className: ie.t, children: o }),
|
|
5178
5188
|
/* @__PURE__ */ H.jsxs("div", { className: ie.m, children: [
|
|
5179
|
-
S && /* @__PURE__ */ H.jsx("nav", { children: S.map((
|
|
5189
|
+
S && /* @__PURE__ */ H.jsx("nav", { children: S.map((Y, M) => /* @__PURE__ */ H.jsx(
|
|
5180
5190
|
"span",
|
|
5181
5191
|
{
|
|
5182
|
-
onClick:
|
|
5183
|
-
className:
|
|
5184
|
-
children:
|
|
5192
|
+
onClick: Y.onClick,
|
|
5193
|
+
className: Y.active ? "active" : "",
|
|
5194
|
+
children: Y.name
|
|
5185
5195
|
},
|
|
5186
|
-
|
|
5196
|
+
M
|
|
5187
5197
|
)) }),
|
|
5188
5198
|
R
|
|
5189
5199
|
] }),
|
|
@@ -5208,13 +5218,13 @@ var Rt;
|
|
|
5208
5218
|
)
|
|
5209
5219
|
] }),
|
|
5210
5220
|
c,
|
|
5211
|
-
|
|
5212
|
-
|
|
5221
|
+
k && /* @__PURE__ */ H.jsx("div", { className: ie.b, children: /* @__PURE__ */ H.jsx(
|
|
5222
|
+
ua,
|
|
5213
5223
|
{
|
|
5214
|
-
label:
|
|
5215
|
-
onSend:
|
|
5224
|
+
label: k.label,
|
|
5225
|
+
onSend: A,
|
|
5216
5226
|
className: ie.btn,
|
|
5217
|
-
size:
|
|
5227
|
+
size: k.size
|
|
5218
5228
|
}
|
|
5219
5229
|
) })
|
|
5220
5230
|
]
|
|
@@ -5222,15 +5232,15 @@ var Rt;
|
|
|
5222
5232
|
)
|
|
5223
5233
|
] }) : "";
|
|
5224
5234
|
}
|
|
5225
|
-
|
|
5235
|
+
a.Main = h;
|
|
5226
5236
|
})(Rt || (Rt = {}));
|
|
5227
|
-
const
|
|
5228
|
-
function
|
|
5229
|
-
value:
|
|
5237
|
+
const fa = (a, _ = ",") => (a = a !== void 0 && a !== "" ? a.split(_) : [], a.filter((u) => u !== "").reduce((u, d) => (u[d] = !0, u), {}));
|
|
5238
|
+
function Ta({
|
|
5239
|
+
value: a,
|
|
5230
5240
|
onValue: _,
|
|
5231
5241
|
name: u,
|
|
5232
5242
|
placeholder: d = "",
|
|
5233
|
-
separator:
|
|
5243
|
+
separator: y = ",",
|
|
5234
5244
|
title: C,
|
|
5235
5245
|
error: E,
|
|
5236
5246
|
hide: x = !1,
|
|
@@ -5238,33 +5248,33 @@ function Tn({
|
|
|
5238
5248
|
active: h = !0,
|
|
5239
5249
|
outFormat: o = "object",
|
|
5240
5250
|
after: c = "",
|
|
5241
|
-
modal:
|
|
5251
|
+
modal: k,
|
|
5242
5252
|
options: S,
|
|
5243
5253
|
className: I
|
|
5244
5254
|
}) {
|
|
5245
|
-
const [
|
|
5246
|
-
if (!(s && h) || !
|
|
5247
|
-
let F =
|
|
5255
|
+
const [q, N] = U.useState(fa(a, y)), R = (p) => {
|
|
5256
|
+
if (!(s && h) || !k) return;
|
|
5257
|
+
let F = k.split(".");
|
|
5248
5258
|
Rt.Open(F[0], F[1], {
|
|
5249
|
-
callback: (
|
|
5259
|
+
callback: (K) => {
|
|
5250
5260
|
if (_)
|
|
5251
5261
|
switch (o) {
|
|
5252
5262
|
case "array":
|
|
5253
|
-
_({ value: Object.keys(
|
|
5263
|
+
_({ value: Object.keys(K), name: u });
|
|
5254
5264
|
break;
|
|
5255
5265
|
case "string":
|
|
5256
5266
|
_({
|
|
5257
|
-
value: Object.keys(
|
|
5267
|
+
value: Object.keys(K).filter((A) => K[A]).join(y),
|
|
5258
5268
|
name: u
|
|
5259
5269
|
});
|
|
5260
5270
|
break;
|
|
5261
5271
|
default:
|
|
5262
|
-
_({ value:
|
|
5272
|
+
_({ value: K, name: u });
|
|
5263
5273
|
}
|
|
5264
|
-
|
|
5274
|
+
N(
|
|
5265
5275
|
Object.fromEntries(
|
|
5266
|
-
Object.entries(
|
|
5267
|
-
([
|
|
5276
|
+
Object.entries(K).filter(
|
|
5277
|
+
([A, L]) => L !== !1
|
|
5268
5278
|
)
|
|
5269
5279
|
)
|
|
5270
5280
|
);
|
|
@@ -5272,7 +5282,7 @@ function Tn({
|
|
|
5272
5282
|
onValue: _,
|
|
5273
5283
|
options: S,
|
|
5274
5284
|
name: u,
|
|
5275
|
-
value:
|
|
5285
|
+
value: q
|
|
5276
5286
|
});
|
|
5277
5287
|
};
|
|
5278
5288
|
return x ? /* @__PURE__ */ g.jsx(g.Fragment, {}) : /* @__PURE__ */ g.jsx(
|
|
@@ -5280,31 +5290,32 @@ function Tn({
|
|
|
5280
5290
|
{
|
|
5281
5291
|
type: "group",
|
|
5282
5292
|
title: C,
|
|
5293
|
+
error: E,
|
|
5283
5294
|
element_blok: { className: [I] },
|
|
5284
5295
|
element_input: {
|
|
5285
|
-
className: [
|
|
5296
|
+
className: [oe.g],
|
|
5286
5297
|
props: {
|
|
5287
5298
|
onClick: R
|
|
5288
5299
|
}
|
|
5289
5300
|
},
|
|
5290
|
-
children: Object.keys(
|
|
5301
|
+
children: Object.keys(q).map((p) => {
|
|
5291
5302
|
var F;
|
|
5292
5303
|
return /* @__PURE__ */ g.jsx("div", { children: (F = S[p]) == null ? void 0 : F.label }, p);
|
|
5293
5304
|
})
|
|
5294
5305
|
}
|
|
5295
5306
|
);
|
|
5296
5307
|
}
|
|
5297
|
-
const
|
|
5298
|
-
o:
|
|
5299
|
-
l:
|
|
5300
|
-
f:
|
|
5308
|
+
const pa = "_o_1wehm_12", ma = "_l_1wehm_22", ya = "_f_1wehm_81", Ft = {
|
|
5309
|
+
o: pa,
|
|
5310
|
+
l: ma,
|
|
5311
|
+
f: ya
|
|
5301
5312
|
};
|
|
5302
|
-
function
|
|
5303
|
-
title:
|
|
5313
|
+
function Da({
|
|
5314
|
+
title: a,
|
|
5304
5315
|
error: _,
|
|
5305
5316
|
edit: u = !0,
|
|
5306
5317
|
active: d = !0,
|
|
5307
|
-
hide:
|
|
5318
|
+
hide: y,
|
|
5308
5319
|
value: C = 0,
|
|
5309
5320
|
onValue: E,
|
|
5310
5321
|
options: x,
|
|
@@ -5312,47 +5323,48 @@ function Dn({
|
|
|
5312
5323
|
className: h,
|
|
5313
5324
|
isIcon: o = !0,
|
|
5314
5325
|
name: c,
|
|
5315
|
-
after:
|
|
5326
|
+
after: k,
|
|
5316
5327
|
view: S,
|
|
5317
5328
|
order: I,
|
|
5318
|
-
isReload:
|
|
5329
|
+
isReload: q = !1
|
|
5319
5330
|
}) {
|
|
5320
|
-
var G,
|
|
5321
|
-
const
|
|
5322
|
-
|
|
5323
|
-
p(C),
|
|
5324
|
-
}, [C, x]),
|
|
5325
|
-
const
|
|
5326
|
-
p(
|
|
5327
|
-
}, P = (
|
|
5328
|
-
Object.keys(F || {}).length !== 0 && u && d && (
|
|
5329
|
-
},
|
|
5330
|
-
return s && (
|
|
5331
|
+
var G, b;
|
|
5332
|
+
const N = U.useRef(null), [R, p] = U.useState(C), [F, K] = U.useState(x), [A, L] = U.useState(!1);
|
|
5333
|
+
U.useEffect(() => {
|
|
5334
|
+
p(C), K(x);
|
|
5335
|
+
}, [C, x]), y = !!(y && (C === 0 || ((G = F == null ? void 0 : F[C]) == null ? void 0 : G.n) === void 0)) && !(u && d);
|
|
5336
|
+
const M = (v) => {
|
|
5337
|
+
p(v), E && E({ value: v, name: c, reload: q });
|
|
5338
|
+
}, P = (v) => {
|
|
5339
|
+
Object.keys(F || {}).length !== 0 && u && d && (N.position = N.current.getBoundingClientRect(), L(!0));
|
|
5340
|
+
}, T = {};
|
|
5341
|
+
return s && (T.placeholder = s), y ? "" : /* @__PURE__ */ g.jsxs(g.Fragment, { children: [
|
|
5331
5342
|
/* @__PURE__ */ g.jsx(
|
|
5332
5343
|
Be,
|
|
5333
5344
|
{
|
|
5334
5345
|
type: "select",
|
|
5335
|
-
title:
|
|
5346
|
+
title: a,
|
|
5336
5347
|
element_blok: { className: [h] },
|
|
5348
|
+
error: _,
|
|
5337
5349
|
element_input: {
|
|
5338
5350
|
className: [Ft.f],
|
|
5339
5351
|
props: { onClick: P }
|
|
5340
5352
|
},
|
|
5341
|
-
ref:
|
|
5342
|
-
children: /* @__PURE__ */ g.jsx("div", { ...
|
|
5353
|
+
ref: N,
|
|
5354
|
+
children: /* @__PURE__ */ g.jsx("div", { ...T, children: (b = F == null ? void 0 : F[R]) == null ? void 0 : b.n })
|
|
5343
5355
|
}
|
|
5344
5356
|
),
|
|
5345
|
-
|
|
5357
|
+
A && Mt(
|
|
5346
5358
|
/* @__PURE__ */ g.jsx(
|
|
5347
|
-
|
|
5359
|
+
va,
|
|
5348
5360
|
{
|
|
5349
|
-
parent:
|
|
5350
|
-
onValue:
|
|
5361
|
+
parent: N.position,
|
|
5362
|
+
onValue: M,
|
|
5351
5363
|
view: S,
|
|
5352
5364
|
className: h,
|
|
5353
5365
|
options: F,
|
|
5354
5366
|
order: I,
|
|
5355
|
-
setOpen:
|
|
5367
|
+
setOpen: L
|
|
5356
5368
|
},
|
|
5357
5369
|
(/* @__PURE__ */ new Date()).getTime()
|
|
5358
5370
|
),
|
|
@@ -5360,18 +5372,18 @@ function Dn({
|
|
|
5360
5372
|
)
|
|
5361
5373
|
] });
|
|
5362
5374
|
}
|
|
5363
|
-
const
|
|
5364
|
-
onValue:
|
|
5375
|
+
const va = ({
|
|
5376
|
+
onValue: a,
|
|
5365
5377
|
parent: _,
|
|
5366
5378
|
className: u,
|
|
5367
5379
|
options: d,
|
|
5368
|
-
order:
|
|
5380
|
+
order: y,
|
|
5369
5381
|
setOpen: C
|
|
5370
5382
|
}) => {
|
|
5371
5383
|
let E = () => {
|
|
5372
5384
|
C(!1);
|
|
5373
5385
|
}, x = (o) => {
|
|
5374
|
-
C(!1),
|
|
5386
|
+
C(!1), a(o);
|
|
5375
5387
|
}, s = window.innerHeight - _.y + _.height < 320 ? _.y - 312 : _.y + 33, h = window.innerWidth - _.x < 265 ? _.x - 235 : _.x;
|
|
5376
5388
|
return /* @__PURE__ */ g.jsxs(g.Fragment, { children: [
|
|
5377
5389
|
/* @__PURE__ */ g.jsx(
|
|
@@ -5391,12 +5403,12 @@ const vn = ({
|
|
|
5391
5403
|
left: h + "px",
|
|
5392
5404
|
width: _.width
|
|
5393
5405
|
},
|
|
5394
|
-
children: /* @__PURE__ */ g.jsx(
|
|
5406
|
+
children: /* @__PURE__ */ g.jsx(ga, { order: y, options: d, link: x })
|
|
5395
5407
|
}
|
|
5396
5408
|
)
|
|
5397
5409
|
] });
|
|
5398
|
-
},
|
|
5399
|
-
(d,
|
|
5410
|
+
}, ga = ({ order: a, options: _, link: u }) => a ? /* @__PURE__ */ g.jsx("ul", { children: a.map(
|
|
5411
|
+
(d, y) => _[d].s !== 0 ? /* @__PURE__ */ g.jsx(
|
|
5400
5412
|
"li",
|
|
5401
5413
|
{
|
|
5402
5414
|
onClick: () => {
|
|
@@ -5404,10 +5416,10 @@ const vn = ({
|
|
|
5404
5416
|
},
|
|
5405
5417
|
children: _[d].n
|
|
5406
5418
|
},
|
|
5407
|
-
|
|
5419
|
+
y
|
|
5408
5420
|
) : ""
|
|
5409
5421
|
) }) : /* @__PURE__ */ g.jsx("ul", { children: Object.keys(_).map(
|
|
5410
|
-
(d,
|
|
5422
|
+
(d, y) => _[d].s !== 0 ? /* @__PURE__ */ g.jsx(
|
|
5411
5423
|
"li",
|
|
5412
5424
|
{
|
|
5413
5425
|
onClick: () => {
|
|
@@ -5415,15 +5427,15 @@ const vn = ({
|
|
|
5415
5427
|
},
|
|
5416
5428
|
children: _[d].n
|
|
5417
5429
|
},
|
|
5418
|
-
|
|
5430
|
+
y
|
|
5419
5431
|
) : ""
|
|
5420
5432
|
) });
|
|
5421
|
-
function
|
|
5422
|
-
value:
|
|
5433
|
+
function Pa({
|
|
5434
|
+
value: a,
|
|
5423
5435
|
onValue: _,
|
|
5424
5436
|
name: u,
|
|
5425
5437
|
placeholder: d = "",
|
|
5426
|
-
title:
|
|
5438
|
+
title: y,
|
|
5427
5439
|
error: C,
|
|
5428
5440
|
hide: E = !1,
|
|
5429
5441
|
edit: x = !0,
|
|
@@ -5431,44 +5443,45 @@ function Pn({
|
|
|
5431
5443
|
active: h = !0,
|
|
5432
5444
|
after: o = "",
|
|
5433
5445
|
view: c,
|
|
5434
|
-
modal:
|
|
5446
|
+
modal: k,
|
|
5435
5447
|
module: S,
|
|
5436
5448
|
options: I,
|
|
5437
|
-
className:
|
|
5449
|
+
className: q
|
|
5438
5450
|
}) {
|
|
5439
|
-
const [
|
|
5440
|
-
if (!(x && h) || !
|
|
5441
|
-
let
|
|
5442
|
-
Rt.Open(
|
|
5443
|
-
callback: (
|
|
5444
|
-
_ && _({ value:
|
|
5451
|
+
const [N, R] = U.useState(a), p = (K) => {
|
|
5452
|
+
if (!(x && h) || !k) return;
|
|
5453
|
+
let A = k.split(".");
|
|
5454
|
+
Rt.Open(A[0], A[1], {
|
|
5455
|
+
callback: (L) => {
|
|
5456
|
+
_ && _({ value: L, name: u }), R(L);
|
|
5445
5457
|
},
|
|
5446
5458
|
onValue: _,
|
|
5447
5459
|
options: I,
|
|
5448
5460
|
name: u,
|
|
5449
|
-
value:
|
|
5461
|
+
value: a
|
|
5450
5462
|
});
|
|
5451
5463
|
}, F = {};
|
|
5452
5464
|
return d && (F.placeholder = d), E ? /* @__PURE__ */ g.jsx(g.Fragment, {}) : /* @__PURE__ */ g.jsx(
|
|
5453
5465
|
Be,
|
|
5454
5466
|
{
|
|
5455
5467
|
type: "input",
|
|
5456
|
-
title:
|
|
5457
|
-
element_blok: { className: [
|
|
5468
|
+
title: y,
|
|
5469
|
+
element_blok: { className: [q] },
|
|
5470
|
+
error: C,
|
|
5458
5471
|
element_input: {
|
|
5459
|
-
className: [
|
|
5472
|
+
className: [oe.w],
|
|
5460
5473
|
props: { onClick: p }
|
|
5461
5474
|
},
|
|
5462
|
-
children: /* @__PURE__ */ g.jsx("div", { ...F, children:
|
|
5475
|
+
children: /* @__PURE__ */ g.jsx("div", { ...F, children: N })
|
|
5463
5476
|
}
|
|
5464
5477
|
);
|
|
5465
5478
|
}
|
|
5466
|
-
function
|
|
5467
|
-
value:
|
|
5479
|
+
function Na({
|
|
5480
|
+
value: a,
|
|
5468
5481
|
onValue: _,
|
|
5469
5482
|
onSave: u,
|
|
5470
5483
|
name: d,
|
|
5471
|
-
placeholder:
|
|
5484
|
+
placeholder: y = "",
|
|
5472
5485
|
className: C,
|
|
5473
5486
|
title: E,
|
|
5474
5487
|
error: x,
|
|
@@ -5476,26 +5489,26 @@ function Nn({
|
|
|
5476
5489
|
active: h = !0,
|
|
5477
5490
|
reload: o = !1,
|
|
5478
5491
|
native: c = !1,
|
|
5479
|
-
isShow:
|
|
5492
|
+
isShow: k = !1,
|
|
5480
5493
|
maxLength: S,
|
|
5481
5494
|
eyes: I = [],
|
|
5482
|
-
after:
|
|
5495
|
+
after: q = ""
|
|
5483
5496
|
}) {
|
|
5484
|
-
const [
|
|
5485
|
-
let p = (
|
|
5497
|
+
const [N, R] = U.useState(k);
|
|
5498
|
+
let p = (M) => {
|
|
5486
5499
|
_ && _({
|
|
5487
|
-
value:
|
|
5500
|
+
value: M.target.textContent,
|
|
5488
5501
|
name: d,
|
|
5489
5502
|
reload: o
|
|
5490
5503
|
});
|
|
5491
|
-
}, F = (
|
|
5492
|
-
|
|
5493
|
-
},
|
|
5494
|
-
|
|
5504
|
+
}, F = (M) => {
|
|
5505
|
+
M.key === "Enter" && M.preventDefault();
|
|
5506
|
+
}, K = (M) => {
|
|
5507
|
+
M.preventDefault(), navigator.clipboard.readText().then((P) => {
|
|
5495
5508
|
if (S) {
|
|
5496
|
-
let
|
|
5497
|
-
if (
|
|
5498
|
-
S -=
|
|
5509
|
+
let T = M.target.textContent.length;
|
|
5510
|
+
if (T >= S) return;
|
|
5511
|
+
S -= T, P = P.slice(0, S);
|
|
5499
5512
|
}
|
|
5500
5513
|
window.document.execCommand(
|
|
5501
5514
|
"insertText",
|
|
@@ -5504,58 +5517,58 @@ function Nn({
|
|
|
5504
5517
|
);
|
|
5505
5518
|
}).catch((P) => {
|
|
5506
5519
|
});
|
|
5507
|
-
},
|
|
5508
|
-
ee.Blur(
|
|
5520
|
+
}, A = (M) => {
|
|
5521
|
+
ee.Blur(M), u == null || u({ value: M.target.textContent.trim(), name: d });
|
|
5509
5522
|
};
|
|
5510
|
-
const
|
|
5511
|
-
|
|
5512
|
-
const
|
|
5513
|
-
return
|
|
5523
|
+
const L = {};
|
|
5524
|
+
L.field = "password", N && (L.show = ""), C && (L.className = C);
|
|
5525
|
+
const Y = {};
|
|
5526
|
+
return y && (Y.placeholder = y), c ? "" : /* @__PURE__ */ g.jsxs("dl", { ...L, children: [
|
|
5514
5527
|
E ? /* @__PURE__ */ g.jsx("dt", { children: E }) : "",
|
|
5515
5528
|
/* @__PURE__ */ g.jsx(
|
|
5516
5529
|
"dd",
|
|
5517
5530
|
{
|
|
5518
|
-
onPaste:
|
|
5531
|
+
onPaste: K,
|
|
5519
5532
|
onInput: p,
|
|
5520
5533
|
onKeyDown: F,
|
|
5521
|
-
onBlur:
|
|
5534
|
+
onBlur: A,
|
|
5522
5535
|
contentEditable: s && h ? ee.ContentEditable : "false",
|
|
5523
|
-
...
|
|
5536
|
+
...Y,
|
|
5524
5537
|
suppressContentEditableWarning: !0,
|
|
5525
|
-
children:
|
|
5538
|
+
children: a
|
|
5526
5539
|
}
|
|
5527
5540
|
),
|
|
5528
|
-
I[0] && /* @__PURE__ */ g.jsx("i", { onClick: () => R(!
|
|
5529
|
-
|
|
5541
|
+
I[0] && /* @__PURE__ */ g.jsx("i", { onClick: () => R(!N), children: N ? I[1] : I[0] }),
|
|
5542
|
+
q,
|
|
5530
5543
|
x ? /* @__PURE__ */ g.jsx("em", { children: x }) : ""
|
|
5531
5544
|
] });
|
|
5532
5545
|
}
|
|
5533
|
-
function
|
|
5534
|
-
onValue:
|
|
5546
|
+
function Fa({
|
|
5547
|
+
onValue: a,
|
|
5535
5548
|
label: _,
|
|
5536
5549
|
value: u,
|
|
5537
5550
|
title: d,
|
|
5538
|
-
className:
|
|
5551
|
+
className: y,
|
|
5539
5552
|
name: C,
|
|
5540
5553
|
text: E,
|
|
5541
5554
|
id: x,
|
|
5542
5555
|
reload: s
|
|
5543
5556
|
}) {
|
|
5544
|
-
const [h, o] =
|
|
5545
|
-
|
|
5557
|
+
const [h, o] = U.useState(!!u);
|
|
5558
|
+
U.useEffect(() => {
|
|
5546
5559
|
o(!!u);
|
|
5547
5560
|
}, [u]);
|
|
5548
5561
|
let c = () => {
|
|
5549
|
-
|
|
5562
|
+
a && a({ value: h ? 0 : 1, name: C, id: x, reload: s }), o(!h);
|
|
5550
5563
|
};
|
|
5551
5564
|
return /* @__PURE__ */ g.jsxs(
|
|
5552
5565
|
Be,
|
|
5553
5566
|
{
|
|
5554
5567
|
type: "check",
|
|
5555
5568
|
title: _ || d,
|
|
5556
|
-
element_blok: { className: [
|
|
5569
|
+
element_blok: { className: [y] },
|
|
5557
5570
|
element_input: {
|
|
5558
|
-
className: [
|
|
5571
|
+
className: [oe.h],
|
|
5559
5572
|
props: {
|
|
5560
5573
|
onClick: c
|
|
5561
5574
|
}
|
|
@@ -5568,29 +5581,29 @@ function Fn({
|
|
|
5568
5581
|
);
|
|
5569
5582
|
}
|
|
5570
5583
|
const he = {};
|
|
5571
|
-
function
|
|
5572
|
-
const [_, u] =
|
|
5573
|
-
return he.u = (
|
|
5574
|
-
d.current = { ...d.current, [
|
|
5575
|
-
}, he.n = (
|
|
5576
|
-
d.current =
|
|
5577
|
-
}, he.r = (
|
|
5578
|
-
|
|
5584
|
+
function Ia(a) {
|
|
5585
|
+
const [_, u] = U.useState({}), d = U.useRef(a);
|
|
5586
|
+
return he.u = (y) => {
|
|
5587
|
+
d.current = { ...d.current, [y.name]: y.value };
|
|
5588
|
+
}, he.n = (y) => {
|
|
5589
|
+
d.current = y, u(Date.now());
|
|
5590
|
+
}, he.r = (y) => {
|
|
5591
|
+
y && y(d.current), u(Date.now());
|
|
5579
5592
|
}, [d.current, he.n];
|
|
5580
5593
|
}
|
|
5581
|
-
function
|
|
5582
|
-
he.u(
|
|
5594
|
+
function Ma(a) {
|
|
5595
|
+
he.u(a), a.reload && he.r();
|
|
5583
5596
|
}
|
|
5584
|
-
function $
|
|
5585
|
-
he.r && he.r(
|
|
5597
|
+
function $a(a) {
|
|
5598
|
+
he.r && he.r(a);
|
|
5586
5599
|
}
|
|
5587
|
-
function
|
|
5588
|
-
const [_, u] =
|
|
5589
|
-
return he.u = (
|
|
5590
|
-
d.current = { ...d.current, [
|
|
5591
|
-
}, he.n = (
|
|
5592
|
-
Object.keys(
|
|
5593
|
-
d.current[C] =
|
|
5600
|
+
function Aa(a) {
|
|
5601
|
+
const [_, u] = U.useState({}), d = U.useRef(a);
|
|
5602
|
+
return he.u = (y) => {
|
|
5603
|
+
d.current = { ...d.current, [y.name]: y.value };
|
|
5604
|
+
}, he.n = (y) => {
|
|
5605
|
+
Object.keys(y).length > 0 ? Object.keys(y).forEach((C) => {
|
|
5606
|
+
d.current[C] = y[C];
|
|
5594
5607
|
}) : d.current = {}, u(Date.now());
|
|
5595
5608
|
}, he.r = () => {
|
|
5596
5609
|
u(Date.now());
|
|
@@ -5602,22 +5615,22 @@ function It() {
|
|
|
5602
5615
|
It().elcrm || (It().elcrm = {});
|
|
5603
5616
|
Object.assign(It().elcrm, { form: Xt.version });
|
|
5604
5617
|
export {
|
|
5605
|
-
|
|
5606
|
-
|
|
5607
|
-
|
|
5608
|
-
|
|
5609
|
-
|
|
5610
|
-
|
|
5611
|
-
|
|
5612
|
-
|
|
5613
|
-
|
|
5614
|
-
|
|
5615
|
-
|
|
5616
|
-
|
|
5617
|
-
|
|
5618
|
-
|
|
5619
|
-
$
|
|
5620
|
-
|
|
5621
|
-
|
|
5622
|
-
|
|
5618
|
+
Fa as Check,
|
|
5619
|
+
Ca as DateField,
|
|
5620
|
+
wa as Mask,
|
|
5621
|
+
Pa as ModalField,
|
|
5622
|
+
xa as Money,
|
|
5623
|
+
ja as Month,
|
|
5624
|
+
Oa as NumberField,
|
|
5625
|
+
Ta as OptionsField,
|
|
5626
|
+
Na as PasswordField,
|
|
5627
|
+
Ra as PhoneField,
|
|
5628
|
+
ka as Progress,
|
|
5629
|
+
Da as SelectField,
|
|
5630
|
+
Ea as StringField,
|
|
5631
|
+
Sa as TextareaField,
|
|
5632
|
+
$a as runReload,
|
|
5633
|
+
Ma as setValue,
|
|
5634
|
+
Ia as useData,
|
|
5635
|
+
Aa as useError
|
|
5623
5636
|
};
|