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