@elcrm/form 0.0.59 → 0.0.61
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 +722 -714
- package/dist/index.umd.js +25 -25
- package/dist/src/lib/fields/Modal.d.ts +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
1
|
+
import S, { forwardRef as qt, useEffect as Kt } from "react";
|
|
2
2
|
import { createPortal as Nt } from "react-dom";
|
|
3
|
-
import './index.css';const Gt = "0.0.
|
|
3
|
+
import './index.css';const Gt = "0.0.60", Yt = {
|
|
4
4
|
version: Gt
|
|
5
5
|
};
|
|
6
6
|
var Rt = { exports: {} }, pt = {};
|
|
@@ -17,13 +17,13 @@ var Ft;
|
|
|
17
17
|
function zt() {
|
|
18
18
|
if (Ft) return pt;
|
|
19
19
|
Ft = 1;
|
|
20
|
-
var a =
|
|
21
|
-
function C(b,
|
|
22
|
-
var n,
|
|
23
|
-
|
|
24
|
-
for (n in
|
|
25
|
-
if (b && b.defaultProps) for (n in
|
|
26
|
-
return { $$typeof: _, type: b, key: w, ref: j, props:
|
|
20
|
+
var a = S, _ = Symbol.for("react.element"), i = Symbol.for("react.fragment"), c = Object.prototype.hasOwnProperty, d = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, k = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
21
|
+
function C(b, l, p) {
|
|
22
|
+
var n, s = {}, w = null, j = null;
|
|
23
|
+
p !== void 0 && (w = "" + p), l.key !== void 0 && (w = "" + l.key), l.ref !== void 0 && (j = l.ref);
|
|
24
|
+
for (n in l) c.call(l, n) && !k.hasOwnProperty(n) && (s[n] = l[n]);
|
|
25
|
+
if (b && b.defaultProps) for (n in l = b.defaultProps, l) s[n] === void 0 && (s[n] = l[n]);
|
|
26
|
+
return { $$typeof: _, type: b, key: w, ref: j, props: s, _owner: d.current };
|
|
27
27
|
}
|
|
28
28
|
return pt.Fragment = i, pt.jsx = C, pt.jsxs = C, pt;
|
|
29
29
|
}
|
|
@@ -40,15 +40,15 @@ var yt = {};
|
|
|
40
40
|
var Mt;
|
|
41
41
|
function Ht() {
|
|
42
42
|
return Mt || (Mt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
43
|
-
var a =
|
|
43
|
+
var a = S, _ = Symbol.for("react.element"), i = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), d = Symbol.for("react.strict_mode"), k = Symbol.for("react.profiler"), C = Symbol.for("react.provider"), b = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), p = Symbol.for("react.suspense"), n = Symbol.for("react.suspense_list"), s = Symbol.for("react.memo"), w = Symbol.for("react.lazy"), j = Symbol.for("react.offscreen"), F = Symbol.iterator, K = "@@iterator";
|
|
44
44
|
function D(e) {
|
|
45
45
|
if (e === null || typeof e != "object")
|
|
46
46
|
return null;
|
|
47
|
-
var t = F && e[F] || e[
|
|
47
|
+
var t = F && e[F] || e[K];
|
|
48
48
|
return typeof t == "function" ? t : null;
|
|
49
49
|
}
|
|
50
|
-
var
|
|
51
|
-
function
|
|
50
|
+
var T = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
51
|
+
function y(e) {
|
|
52
52
|
{
|
|
53
53
|
for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), o = 1; o < t; o++)
|
|
54
54
|
r[o - 1] = arguments[o];
|
|
@@ -57,7 +57,7 @@ function Ht() {
|
|
|
57
57
|
}
|
|
58
58
|
function P(e, t, r) {
|
|
59
59
|
{
|
|
60
|
-
var o =
|
|
60
|
+
var o = T.ReactDebugCurrentFrame, h = o.getStackAddendum();
|
|
61
61
|
h !== "" && (t += "%s", r = r.concat([h]));
|
|
62
62
|
var x = r.map(function(m) {
|
|
63
63
|
return String(m);
|
|
@@ -65,10 +65,10 @@ function Ht() {
|
|
|
65
65
|
x.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, x);
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
|
-
var
|
|
68
|
+
var q = !1, A = !1, L = !1, M = !1, $ = !1, N;
|
|
69
69
|
N = Symbol.for("react.module.reference");
|
|
70
70
|
function E(e) {
|
|
71
|
-
return !!(typeof e == "string" || typeof e == "function" || e === c || e === k ||
|
|
71
|
+
return !!(typeof e == "string" || typeof e == "function" || e === c || e === k || $ || e === d || e === p || e === n || M || e === j || q || A || L || typeof e == "object" && e !== null && (e.$$typeof === w || e.$$typeof === s || e.$$typeof === C || e.$$typeof === b || e.$$typeof === l || // This needs to include all possible module reference object
|
|
72
72
|
// types supported by any Flight configuration anywhere since
|
|
73
73
|
// we don't know which Flight build this will end up being used
|
|
74
74
|
// with.
|
|
@@ -87,7 +87,7 @@ function Ht() {
|
|
|
87
87
|
function v(e) {
|
|
88
88
|
if (e == null)
|
|
89
89
|
return null;
|
|
90
|
-
if (typeof e.tag == "number" &&
|
|
90
|
+
if (typeof e.tag == "number" && y("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
91
91
|
return e.displayName || e.name || null;
|
|
92
92
|
if (typeof e == "string")
|
|
93
93
|
return e;
|
|
@@ -100,7 +100,7 @@ function Ht() {
|
|
|
100
100
|
return "Profiler";
|
|
101
101
|
case d:
|
|
102
102
|
return "StrictMode";
|
|
103
|
-
case
|
|
103
|
+
case p:
|
|
104
104
|
return "Suspense";
|
|
105
105
|
case n:
|
|
106
106
|
return "SuspenseList";
|
|
@@ -113,9 +113,9 @@ function Ht() {
|
|
|
113
113
|
case C:
|
|
114
114
|
var r = e;
|
|
115
115
|
return g(r._context) + ".Provider";
|
|
116
|
-
case s:
|
|
117
|
-
return G(e, e.render, "ForwardRef");
|
|
118
116
|
case l:
|
|
117
|
+
return G(e, e.render, "ForwardRef");
|
|
118
|
+
case s:
|
|
119
119
|
var o = e.displayName || null;
|
|
120
120
|
return o !== null ? o : v(e.type) || "Memo";
|
|
121
121
|
case w: {
|
|
@@ -129,14 +129,14 @@ function Ht() {
|
|
|
129
129
|
}
|
|
130
130
|
return null;
|
|
131
131
|
}
|
|
132
|
-
var
|
|
132
|
+
var I = Object.assign, W = 0, te, H, ae, ke, se, we, xe;
|
|
133
133
|
function Ce() {
|
|
134
134
|
}
|
|
135
135
|
Ce.__reactDisabledLog = !0;
|
|
136
136
|
function Ue() {
|
|
137
137
|
{
|
|
138
|
-
if (
|
|
139
|
-
te = console.log, H = console.info, ae = console.warn, ke = console.error,
|
|
138
|
+
if (W === 0) {
|
|
139
|
+
te = console.log, H = console.info, ae = console.warn, ke = console.error, se = console.group, we = console.groupCollapsed, xe = console.groupEnd;
|
|
140
140
|
var e = {
|
|
141
141
|
configurable: !0,
|
|
142
142
|
enumerable: !0,
|
|
@@ -153,45 +153,45 @@ function Ht() {
|
|
|
153
153
|
groupEnd: e
|
|
154
154
|
});
|
|
155
155
|
}
|
|
156
|
-
|
|
156
|
+
W++;
|
|
157
157
|
}
|
|
158
158
|
}
|
|
159
159
|
function qe() {
|
|
160
160
|
{
|
|
161
|
-
if (
|
|
161
|
+
if (W--, W === 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: te
|
|
170
170
|
}),
|
|
171
|
-
info:
|
|
171
|
+
info: I({}, e, {
|
|
172
172
|
value: H
|
|
173
173
|
}),
|
|
174
|
-
warn:
|
|
174
|
+
warn: I({}, e, {
|
|
175
175
|
value: ae
|
|
176
176
|
}),
|
|
177
|
-
error:
|
|
177
|
+
error: I({}, e, {
|
|
178
178
|
value: ke
|
|
179
179
|
}),
|
|
180
|
-
group:
|
|
181
|
-
value:
|
|
180
|
+
group: I({}, e, {
|
|
181
|
+
value: se
|
|
182
182
|
}),
|
|
183
|
-
groupCollapsed:
|
|
183
|
+
groupCollapsed: I({}, e, {
|
|
184
184
|
value: we
|
|
185
185
|
}),
|
|
186
|
-
groupEnd:
|
|
186
|
+
groupEnd: I({}, e, {
|
|
187
187
|
value: xe
|
|
188
188
|
})
|
|
189
189
|
});
|
|
190
190
|
}
|
|
191
|
-
|
|
191
|
+
W < 0 && y("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
192
192
|
}
|
|
193
193
|
}
|
|
194
|
-
var ce =
|
|
194
|
+
var ce = T.ReactCurrentDispatcher, ue;
|
|
195
195
|
function ne(e, t, r) {
|
|
196
196
|
{
|
|
197
197
|
if (ue === void 0)
|
|
@@ -236,42 +236,42 @@ function Ht() {
|
|
|
236
236
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
237
237
|
try {
|
|
238
238
|
Reflect.construct(m, []);
|
|
239
|
-
} catch (
|
|
240
|
-
o =
|
|
239
|
+
} catch (U) {
|
|
240
|
+
o = U;
|
|
241
241
|
}
|
|
242
242
|
Reflect.construct(e, [], m);
|
|
243
243
|
} else {
|
|
244
244
|
try {
|
|
245
245
|
m.call();
|
|
246
|
-
} catch (
|
|
247
|
-
o =
|
|
246
|
+
} catch (U) {
|
|
247
|
+
o = U;
|
|
248
248
|
}
|
|
249
249
|
e.call(m.prototype);
|
|
250
250
|
}
|
|
251
251
|
} else {
|
|
252
252
|
try {
|
|
253
253
|
throw Error();
|
|
254
|
-
} catch (
|
|
255
|
-
o =
|
|
254
|
+
} catch (U) {
|
|
255
|
+
o = U;
|
|
256
256
|
}
|
|
257
257
|
e();
|
|
258
258
|
}
|
|
259
|
-
} catch (
|
|
260
|
-
if (
|
|
261
|
-
for (var u =
|
|
262
|
-
`),
|
|
263
|
-
`),
|
|
264
|
-
|
|
265
|
-
for (;
|
|
266
|
-
if (u[
|
|
267
|
-
if (
|
|
259
|
+
} catch (U) {
|
|
260
|
+
if (U && o && typeof U.stack == "string") {
|
|
261
|
+
for (var u = U.stack.split(`
|
|
262
|
+
`), B = o.stack.split(`
|
|
263
|
+
`), R = u.length - 1, O = B.length - 1; R >= 1 && O >= 0 && u[R] !== B[O]; )
|
|
264
|
+
O--;
|
|
265
|
+
for (; R >= 1 && O >= 0; R--, O--)
|
|
266
|
+
if (u[R] !== B[O]) {
|
|
267
|
+
if (R !== 1 || O !== 1)
|
|
268
268
|
do
|
|
269
|
-
if (
|
|
269
|
+
if (R--, O--, O < 0 || u[R] !== B[O]) {
|
|
270
270
|
var Y = `
|
|
271
|
-
` + u[
|
|
271
|
+
` + u[R].replace(" at new ", " at ");
|
|
272
272
|
return e.displayName && Y.includes("<anonymous>") && (Y = Y.replace("<anonymous>", e.displayName)), typeof e == "function" && oe.set(e, Y), Y;
|
|
273
273
|
}
|
|
274
|
-
while (
|
|
274
|
+
while (R >= 1 && O >= 0);
|
|
275
275
|
break;
|
|
276
276
|
}
|
|
277
277
|
}
|
|
@@ -296,16 +296,16 @@ function Ht() {
|
|
|
296
296
|
if (typeof e == "string")
|
|
297
297
|
return ne(e);
|
|
298
298
|
switch (e) {
|
|
299
|
-
case
|
|
299
|
+
case p:
|
|
300
300
|
return ne("Suspense");
|
|
301
301
|
case n:
|
|
302
302
|
return ne("SuspenseList");
|
|
303
303
|
}
|
|
304
304
|
if (typeof e == "object")
|
|
305
305
|
switch (e.$$typeof) {
|
|
306
|
-
case s:
|
|
307
|
-
return Ge(e.render);
|
|
308
306
|
case l:
|
|
307
|
+
return Ge(e.render);
|
|
308
|
+
case s:
|
|
309
309
|
return _e(e.type, t, r);
|
|
310
310
|
case w: {
|
|
311
311
|
var o = e, h = o._payload, x = o._init;
|
|
@@ -317,7 +317,7 @@ function Ht() {
|
|
|
317
317
|
}
|
|
318
318
|
return "";
|
|
319
319
|
}
|
|
320
|
-
var ee = Object.prototype.hasOwnProperty, Ee = {}, Se =
|
|
320
|
+
var ee = Object.prototype.hasOwnProperty, Ee = {}, Se = T.ReactDebugCurrentFrame;
|
|
321
321
|
function ie(e) {
|
|
322
322
|
if (e) {
|
|
323
323
|
var t = e._owner, r = _e(e.type, e._source, t ? t.type : null);
|
|
@@ -333,14 +333,14 @@ function Ht() {
|
|
|
333
333
|
var u = void 0;
|
|
334
334
|
try {
|
|
335
335
|
if (typeof e[m] != "function") {
|
|
336
|
-
var
|
|
337
|
-
throw
|
|
336
|
+
var B = Error((o || "React class") + ": " + r + " type `" + m + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[m] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
337
|
+
throw B.name = "Invariant Violation", B;
|
|
338
338
|
}
|
|
339
339
|
u = e[m](t, m, o, r, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
340
|
-
} catch (
|
|
341
|
-
u =
|
|
340
|
+
} catch (R) {
|
|
341
|
+
u = R;
|
|
342
342
|
}
|
|
343
|
-
u && !(u instanceof Error) && (ie(h),
|
|
343
|
+
u && !(u instanceof Error) && (ie(h), y("%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).", o || "React class", r, m, typeof u), ie(null)), u instanceof Error && !(u.message in Ee) && (Ee[u.message] = !0, ie(h), y("Failed %s type: %s", r, u.message), ie(null));
|
|
344
344
|
}
|
|
345
345
|
}
|
|
346
346
|
}
|
|
@@ -366,9 +366,9 @@ function Ht() {
|
|
|
366
366
|
}
|
|
367
367
|
function Te(e) {
|
|
368
368
|
if (Ze(e))
|
|
369
|
-
return
|
|
369
|
+
return y("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Je(e)), Re(e);
|
|
370
370
|
}
|
|
371
|
-
var Oe =
|
|
371
|
+
var Oe = T.ReactCurrentOwner, Ve = {
|
|
372
372
|
key: !0,
|
|
373
373
|
ref: !0,
|
|
374
374
|
__self: !0,
|
|
@@ -396,7 +396,7 @@ function Ht() {
|
|
|
396
396
|
function tt(e, t) {
|
|
397
397
|
{
|
|
398
398
|
var r = function() {
|
|
399
|
-
De || (De = !0,
|
|
399
|
+
De || (De = !0, y("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
|
|
400
400
|
};
|
|
401
401
|
r.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
402
402
|
get: r,
|
|
@@ -407,7 +407,7 @@ function Ht() {
|
|
|
407
407
|
function rt(e, t) {
|
|
408
408
|
{
|
|
409
409
|
var r = function() {
|
|
410
|
-
Pe || (Pe = !0,
|
|
410
|
+
Pe || (Pe = !0, y("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
|
|
411
411
|
};
|
|
412
412
|
r.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
413
413
|
get: r,
|
|
@@ -446,23 +446,23 @@ function Ht() {
|
|
|
446
446
|
};
|
|
447
447
|
function nt(e, t, r, o, h) {
|
|
448
448
|
{
|
|
449
|
-
var x, m = {}, u = null,
|
|
450
|
-
r !== void 0 && (Te(r), u = "" + r), Qe(t) && (Te(t.key), u = "" + t.key), Xe(t) && (
|
|
449
|
+
var x, m = {}, u = null, B = null;
|
|
450
|
+
r !== void 0 && (Te(r), u = "" + r), Qe(t) && (Te(t.key), u = "" + t.key), Xe(t) && (B = t.ref, et(t, h));
|
|
451
451
|
for (x in t)
|
|
452
452
|
ee.call(t, x) && !Ve.hasOwnProperty(x) && (m[x] = t[x]);
|
|
453
453
|
if (e && e.defaultProps) {
|
|
454
|
-
var
|
|
455
|
-
for (x in
|
|
456
|
-
m[x] === void 0 && (m[x] =
|
|
454
|
+
var R = e.defaultProps;
|
|
455
|
+
for (x in R)
|
|
456
|
+
m[x] === void 0 && (m[x] = R[x]);
|
|
457
457
|
}
|
|
458
|
-
if (u ||
|
|
459
|
-
var
|
|
460
|
-
u && tt(m,
|
|
458
|
+
if (u || B) {
|
|
459
|
+
var O = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
460
|
+
u && tt(m, O), B && rt(m, O);
|
|
461
461
|
}
|
|
462
|
-
return at(e, u,
|
|
462
|
+
return at(e, u, B, h, o, Oe.current, m);
|
|
463
463
|
}
|
|
464
464
|
}
|
|
465
|
-
var me =
|
|
465
|
+
var me = T.ReactCurrentOwner, Ne = T.ReactDebugCurrentFrame;
|
|
466
466
|
function V(e) {
|
|
467
467
|
if (e) {
|
|
468
468
|
var t = e._owner, r = _e(e.type, e._source, t ? t.type : null);
|
|
@@ -513,7 +513,7 @@ Check the top-level render call using <` + r + ">.");
|
|
|
513
513
|
return;
|
|
514
514
|
Me[r] = !0;
|
|
515
515
|
var o = "";
|
|
516
|
-
e && e._owner && e._owner !== me.current && (o = " It was passed a child from " + v(e._owner.type) + "."), V(e),
|
|
516
|
+
e && e._owner && e._owner !== me.current && (o = " It was passed a child from " + v(e._owner.type) + "."), V(e), y('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', r, o), V(null);
|
|
517
517
|
}
|
|
518
518
|
}
|
|
519
519
|
function Ae(e, t) {
|
|
@@ -543,9 +543,9 @@ Check the top-level render call using <` + r + ">.");
|
|
|
543
543
|
var r;
|
|
544
544
|
if (typeof t == "function")
|
|
545
545
|
r = t.propTypes;
|
|
546
|
-
else if (typeof t == "object" && (t.$$typeof ===
|
|
546
|
+
else if (typeof t == "object" && (t.$$typeof === l || // Note: Memo only checks outer props here.
|
|
547
547
|
// Inner props are checked in the reconciler.
|
|
548
|
-
t.$$typeof ===
|
|
548
|
+
t.$$typeof === s))
|
|
549
549
|
r = t.propTypes;
|
|
550
550
|
else
|
|
551
551
|
return;
|
|
@@ -555,21 +555,21 @@ Check the top-level render call using <` + r + ">.");
|
|
|
555
555
|
} else if (t.PropTypes !== void 0 && !pe) {
|
|
556
556
|
pe = !0;
|
|
557
557
|
var h = v(t);
|
|
558
|
-
|
|
558
|
+
y("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", h || "Unknown");
|
|
559
559
|
}
|
|
560
|
-
typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved &&
|
|
560
|
+
typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && y("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
561
561
|
}
|
|
562
562
|
}
|
|
563
|
-
function
|
|
563
|
+
function st(e) {
|
|
564
564
|
{
|
|
565
565
|
for (var t = Object.keys(e.props), r = 0; r < t.length; r++) {
|
|
566
566
|
var o = t[r];
|
|
567
567
|
if (o !== "children" && o !== "key") {
|
|
568
|
-
V(e),
|
|
568
|
+
V(e), y("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", o), V(null);
|
|
569
569
|
break;
|
|
570
570
|
}
|
|
571
571
|
}
|
|
572
|
-
e.ref !== null && (V(e),
|
|
572
|
+
e.ref !== null && (V(e), y("Invalid attribute `ref` supplied to `React.Fragment`."), V(null));
|
|
573
573
|
}
|
|
574
574
|
}
|
|
575
575
|
var $e = {};
|
|
@@ -579,14 +579,14 @@ Check the top-level render call using <` + r + ">.");
|
|
|
579
579
|
if (!m) {
|
|
580
580
|
var u = "";
|
|
581
581
|
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (u += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
582
|
-
var
|
|
583
|
-
|
|
584
|
-
var
|
|
585
|
-
e === null ?
|
|
582
|
+
var B = ot();
|
|
583
|
+
B ? u += B : u += Fe();
|
|
584
|
+
var R;
|
|
585
|
+
e === null ? R = "null" : fe(e) ? R = "array" : e !== void 0 && e.$$typeof === _ ? (R = "<" + (v(e.type) || "Unknown") + " />", u = " Did you accidentally export a JSX literal instead of a component?") : R = typeof e, y("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", R, u);
|
|
586
586
|
}
|
|
587
|
-
var
|
|
588
|
-
if (
|
|
589
|
-
return
|
|
587
|
+
var O = nt(e, t, r, h, x);
|
|
588
|
+
if (O == null)
|
|
589
|
+
return O;
|
|
590
590
|
if (m) {
|
|
591
591
|
var Y = t.children;
|
|
592
592
|
if (Y !== void 0)
|
|
@@ -596,17 +596,17 @@ Check the top-level render call using <` + r + ">.");
|
|
|
596
596
|
Ae(Y[X], e);
|
|
597
597
|
Object.freeze && Object.freeze(Y);
|
|
598
598
|
} else
|
|
599
|
-
|
|
599
|
+
y("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
600
600
|
else
|
|
601
601
|
Ae(Y, e);
|
|
602
602
|
}
|
|
603
603
|
if (ee.call(t, "key")) {
|
|
604
|
-
var J = v(e),
|
|
604
|
+
var J = v(e), U = Object.keys(t).filter(function(mt) {
|
|
605
605
|
return mt !== "key";
|
|
606
|
-
}), ve =
|
|
606
|
+
}), ve = U.length > 0 ? "{key: someKey, " + U.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
607
607
|
if (!$e[J + ve]) {
|
|
608
|
-
var ft =
|
|
609
|
-
|
|
608
|
+
var ft = U.length > 0 ? "{" + U.join(": ..., ") + ": ...}" : "{}";
|
|
609
|
+
y(`A props object containing a "key" prop is being spread into JSX:
|
|
610
610
|
let props = %s;
|
|
611
611
|
<%s {...props} />
|
|
612
612
|
React keys must be passed directly to JSX without using spread:
|
|
@@ -614,16 +614,16 @@ React keys must be passed directly to JSX without using spread:
|
|
|
614
614
|
<%s key={someKey} {...props} />`, ve, J, ft, J), $e[J + ve] = !0;
|
|
615
615
|
}
|
|
616
616
|
}
|
|
617
|
-
return e === c ?
|
|
617
|
+
return e === c ? st(O) : it(O), O;
|
|
618
618
|
}
|
|
619
619
|
}
|
|
620
|
-
function
|
|
620
|
+
function lt(e, t, r) {
|
|
621
621
|
return Be(e, t, r, !0);
|
|
622
622
|
}
|
|
623
623
|
function ct(e, t, r) {
|
|
624
624
|
return Be(e, t, r, !1);
|
|
625
625
|
}
|
|
626
|
-
var ut = ct, dt =
|
|
626
|
+
var ut = ct, dt = lt;
|
|
627
627
|
yt.Fragment = c, yt.jsx = ut, yt.jsxs = dt;
|
|
628
628
|
}()), yt;
|
|
629
629
|
}
|
|
@@ -689,8 +689,8 @@ const ar = "_n_1ery1_2", nr = "_e_1ery1_8", or = "_s_1ery1_11", _r = "_r_1ery1_1
|
|
|
689
689
|
};
|
|
690
690
|
let be = {};
|
|
691
691
|
function vt({ data: a }) {
|
|
692
|
-
let [_, i] =
|
|
693
|
-
|
|
692
|
+
let [_, i] = S.useState("show");
|
|
693
|
+
S.useEffect(() => {
|
|
694
694
|
a.hide && (setTimeout(function() {
|
|
695
695
|
i("hide");
|
|
696
696
|
}, 1800), setTimeout(function() {
|
|
@@ -700,54 +700,54 @@ function vt({ data: a }) {
|
|
|
700
700
|
let c, d, k;
|
|
701
701
|
switch (a.type) {
|
|
702
702
|
case "error":
|
|
703
|
-
c = /* @__PURE__ */
|
|
703
|
+
c = /* @__PURE__ */ S.createElement(Le.error, null), d = "Ошибка:", k = We.e;
|
|
704
704
|
break;
|
|
705
705
|
case "success":
|
|
706
|
-
c = /* @__PURE__ */
|
|
706
|
+
c = /* @__PURE__ */ S.createElement(Le.success, null), d = "Информация:", k = We.s;
|
|
707
707
|
break;
|
|
708
708
|
case "copy":
|
|
709
|
-
c = /* @__PURE__ */
|
|
709
|
+
c = /* @__PURE__ */ S.createElement(Le.success, null), d = "Копирование:", k = We.с;
|
|
710
710
|
break;
|
|
711
711
|
case "remark":
|
|
712
|
-
c = /* @__PURE__ */
|
|
712
|
+
c = /* @__PURE__ */ S.createElement(Le.success, null), d = "Подсказка:", k = We.r;
|
|
713
713
|
break;
|
|
714
714
|
default:
|
|
715
|
-
c = /* @__PURE__ */
|
|
715
|
+
c = /* @__PURE__ */ S.createElement(Le.success, null), d = "Предупреждение:", k = We.с;
|
|
716
716
|
break;
|
|
717
717
|
}
|
|
718
|
-
return /* @__PURE__ */
|
|
718
|
+
return /* @__PURE__ */ S.createElement("li", { className: k, "data-status": _ }, c, /* @__PURE__ */ S.createElement("b", null, d), /* @__PURE__ */ S.createElement("p", null, a.text));
|
|
719
719
|
}
|
|
720
720
|
function ir({ data: a }) {
|
|
721
|
-
let [_, i] =
|
|
722
|
-
return
|
|
721
|
+
let [_, i] = S.useState("show");
|
|
722
|
+
return S.useEffect(() => {
|
|
723
723
|
a.hide && (setTimeout(function() {
|
|
724
724
|
i("hide");
|
|
725
725
|
}, 1800), setTimeout(function() {
|
|
726
726
|
be.del(a.key);
|
|
727
727
|
}, 2500));
|
|
728
|
-
}, [a.key]), /* @__PURE__ */
|
|
728
|
+
}, [a.key]), /* @__PURE__ */ S.createElement("li", { className: "item", "data-status": _ }, a.text);
|
|
729
729
|
}
|
|
730
730
|
const Le = {};
|
|
731
|
-
Le.error = () => /* @__PURE__ */
|
|
731
|
+
Le.error = () => /* @__PURE__ */ S.createElement("svg", { viewBox: "0 0 24 24", fill: "none" }, /* @__PURE__ */ S.createElement(
|
|
732
732
|
"path",
|
|
733
733
|
{
|
|
734
734
|
d: "M12 22C7.28595 22 4.92893 22 3.46447 20.5355C2 19.0711 2 16.714 2 12C2 7.28595 2 4.92893 3.46447 3.46447C4.92893 2 7.28595 2 12 2C16.714 2 19.0711 2 20.5355 3.46447C22 4.92893 22 7.28595 22 12C22 16.714 22 19.0711 20.5355 20.5355C19.0711 22 16.714 22 12 22Z",
|
|
735
735
|
fill: "#bb2014"
|
|
736
736
|
}
|
|
737
|
-
), /* @__PURE__ */
|
|
737
|
+
), /* @__PURE__ */ S.createElement(
|
|
738
738
|
"path",
|
|
739
739
|
{
|
|
740
740
|
d: "M8.96967 8.96967C9.26256 8.67678 9.73744 8.67678 10.0303 8.96967L12 10.9394L13.9697 8.96969C14.2626 8.6768 14.7374 8.6768 15.0303 8.96969C15.3232 9.26258 15.3232 9.73746 15.0303 10.0303L13.0607 12L15.0303 13.9697C15.3232 14.2625 15.3232 14.7374 15.0303 15.0303C14.7374 15.3232 14.2625 15.3232 13.9696 15.0303L12 13.0607L10.0304 15.0303C9.73746 15.3232 9.26258 15.3232 8.96969 15.0303C8.6768 14.7374 8.6768 14.2626 8.96969 13.9697L10.9394 12L8.96967 10.0303C8.67678 9.73744 8.67678 9.26256 8.96967 8.96967Z",
|
|
741
741
|
fill: "#fff"
|
|
742
742
|
}
|
|
743
743
|
));
|
|
744
|
-
Le.success = () => /* @__PURE__ */
|
|
744
|
+
Le.success = () => /* @__PURE__ */ S.createElement("svg", { viewBox: "0 0 24 24", fill: "none" }, /* @__PURE__ */ S.createElement(
|
|
745
745
|
"path",
|
|
746
746
|
{
|
|
747
747
|
d: "M12 22C7.28595 22 4.92893 22 3.46447 20.5355C2 19.0711 2 16.714 2 12C2 7.28595 2 4.92893 3.46447 3.46447C4.92893 2 7.28595 2 12 2C16.714 2 19.0711 2 20.5355 3.46447C22 4.92893 22 7.28595 22 12C22 16.714 22 19.0711 20.5355 20.5355C19.0711 22 16.714 22 12 22Z",
|
|
748
748
|
fill: "#367738"
|
|
749
749
|
}
|
|
750
|
-
), /* @__PURE__ */
|
|
750
|
+
), /* @__PURE__ */ S.createElement(
|
|
751
751
|
"path",
|
|
752
752
|
{
|
|
753
753
|
d: "M16.0303 8.96967C16.3232 9.26256 16.3232 9.73744 16.0303 10.0303L11.0303 15.0303C10.7374 15.3232 10.2626 15.3232 9.96967 15.0303L7.96967 13.0303C7.67678 12.7374 7.67678 12.2626 7.96967 11.9697C8.26256 11.6768 8.73744 11.6768 9.03033 11.9697L10.5 13.4393L14.9697 8.96967C15.2626 8.67678 15.7374 8.67678 16.0303 8.96967Z",
|
|
@@ -756,56 +756,56 @@ Le.success = () => /* @__PURE__ */ R.createElement("svg", { viewBox: "0 0 24 24"
|
|
|
756
756
|
));
|
|
757
757
|
var xt;
|
|
758
758
|
((a) => {
|
|
759
|
-
function _({ className:
|
|
760
|
-
let [
|
|
761
|
-
return be.set = (
|
|
762
|
-
n([...
|
|
763
|
-
}, be.del = (
|
|
764
|
-
n(
|
|
765
|
-
},
|
|
759
|
+
function _({ className: l }) {
|
|
760
|
+
let [p, n] = S.useState([]);
|
|
761
|
+
return be.set = (s) => {
|
|
762
|
+
n([...p, s]);
|
|
763
|
+
}, be.del = (s) => {
|
|
764
|
+
n(p.filter((w) => w.key !== s));
|
|
765
|
+
}, p.length === 0 ? "" : /* @__PURE__ */ S.createElement("ul", { className: [We.n, l].filter((s) => s).join(" ") }, p.map((s) => s.item));
|
|
766
766
|
}
|
|
767
767
|
a.Init = _;
|
|
768
|
-
function i(
|
|
769
|
-
let n = Date.now(),
|
|
768
|
+
function i(l, p = !0) {
|
|
769
|
+
let n = Date.now(), s = { key: n, text: l, hide: p, type: "error" };
|
|
770
770
|
be.set({
|
|
771
|
-
item: /* @__PURE__ */
|
|
771
|
+
item: /* @__PURE__ */ S.createElement(vt, { key: n, data: s }),
|
|
772
772
|
key: n
|
|
773
773
|
});
|
|
774
774
|
}
|
|
775
775
|
a.Error = i;
|
|
776
|
-
function c(
|
|
777
|
-
let n = Date.now(),
|
|
776
|
+
function c(l, p = !0) {
|
|
777
|
+
let n = Date.now(), s = { key: n, text: l, hide: p, type: "success" };
|
|
778
778
|
be.set({
|
|
779
|
-
item: /* @__PURE__ */
|
|
779
|
+
item: /* @__PURE__ */ S.createElement(vt, { key: n, data: s }),
|
|
780
780
|
key: n
|
|
781
781
|
});
|
|
782
782
|
}
|
|
783
783
|
a.Success = c;
|
|
784
|
-
function d(
|
|
785
|
-
let n = Date.now(),
|
|
786
|
-
be.set({ item: /* @__PURE__ */
|
|
784
|
+
function d(l, p = !0) {
|
|
785
|
+
let n = Date.now(), s = { key: n, hide: p, text: l };
|
|
786
|
+
be.set({ item: /* @__PURE__ */ S.createElement(ir, { key: n, data: s }), key: n });
|
|
787
787
|
}
|
|
788
788
|
a.Custom = d;
|
|
789
|
-
function k(
|
|
790
|
-
let
|
|
789
|
+
function k(l) {
|
|
790
|
+
let p = Date.now(), n = { key: p, hide: !0, ...l };
|
|
791
791
|
be.set({
|
|
792
|
-
item: /* @__PURE__ */
|
|
793
|
-
key:
|
|
792
|
+
item: /* @__PURE__ */ S.createElement(vt, { key: p, data: n }),
|
|
793
|
+
key: p
|
|
794
794
|
});
|
|
795
795
|
}
|
|
796
796
|
a.Send = k;
|
|
797
|
-
function C(
|
|
798
|
-
let n = Date.now(),
|
|
797
|
+
function C(l, p = !0) {
|
|
798
|
+
let n = Date.now(), s = { key: n, text: l, hide: p, type: "remark" };
|
|
799
799
|
be.set({
|
|
800
|
-
item: /* @__PURE__ */
|
|
800
|
+
item: /* @__PURE__ */ S.createElement(vt, { key: n, data: s }),
|
|
801
801
|
key: n
|
|
802
802
|
});
|
|
803
803
|
}
|
|
804
804
|
a.Remark = C;
|
|
805
|
-
function b(
|
|
806
|
-
let n = Date.now(),
|
|
805
|
+
function b(l, p = !0) {
|
|
806
|
+
let n = Date.now(), s = { key: n, text: l, hide: p, type: "copy" };
|
|
807
807
|
be.set({
|
|
808
|
-
item: /* @__PURE__ */
|
|
808
|
+
item: /* @__PURE__ */ S.createElement(vt, { key: n, data: s }),
|
|
809
809
|
key: n
|
|
810
810
|
});
|
|
811
811
|
}
|
|
@@ -821,18 +821,18 @@ const he = qt(
|
|
|
821
821
|
before: k,
|
|
822
822
|
after: C,
|
|
823
823
|
children: b
|
|
824
|
-
},
|
|
824
|
+
}, l) => /* @__PURE__ */ f.jsxs(
|
|
825
825
|
"dl",
|
|
826
826
|
{
|
|
827
827
|
"data-field": i,
|
|
828
|
-
className: [Q.l, ...a.className].filter((
|
|
828
|
+
className: [Q.l, ...a.className].filter((p) => p !== void 0).join(" "),
|
|
829
829
|
children: [
|
|
830
830
|
c ? /* @__PURE__ */ f.jsx("dt", { className: Q.t, children: c }) : "",
|
|
831
831
|
k,
|
|
832
832
|
/* @__PURE__ */ f.jsx(
|
|
833
833
|
"dd",
|
|
834
834
|
{
|
|
835
|
-
ref:
|
|
835
|
+
ref: l,
|
|
836
836
|
className: [
|
|
837
837
|
Q.f,
|
|
838
838
|
..._.className,
|
|
@@ -856,34 +856,34 @@ function fa({
|
|
|
856
856
|
placeholder: k = "",
|
|
857
857
|
title: C = "",
|
|
858
858
|
error: b = "",
|
|
859
|
-
hide:
|
|
860
|
-
edit:
|
|
859
|
+
hide: l = !1,
|
|
860
|
+
edit: p = !0,
|
|
861
861
|
active: n = !0,
|
|
862
|
-
after:
|
|
862
|
+
after: s = "",
|
|
863
863
|
show: w = !0,
|
|
864
864
|
view: j,
|
|
865
865
|
className: F = ""
|
|
866
866
|
}) {
|
|
867
|
-
|
|
868
|
-
let D = d,
|
|
869
|
-
let
|
|
870
|
-
|
|
871
|
-
},
|
|
867
|
+
p = p !== void 0 ? p : !0, n = n !== void 0 ? n : !0, l = !!(l && (a === "" || a === void 0)) && !(p && n), S.useRef(null);
|
|
868
|
+
let D = d, T = !0, y = 0, P = (g, v) => {
|
|
869
|
+
let I = document.createRange(), W = window.getSelection();
|
|
870
|
+
I.setStart(v.childNodes[0], g), I.collapse(!0), W.removeAllRanges(), W.addRange(I), v.focus();
|
|
871
|
+
}, q = (g) => {
|
|
872
872
|
g.preventDefault(), navigator.clipboard.readText().then((v) => {
|
|
873
873
|
window.document.execCommand("insertText", !1, v);
|
|
874
874
|
}).catch((v) => {
|
|
875
875
|
});
|
|
876
|
-
},
|
|
877
|
-
let v = 0,
|
|
878
|
-
|
|
879
|
-
let te =
|
|
880
|
-
te.forEach((
|
|
881
|
-
|
|
876
|
+
}, A = (g) => {
|
|
877
|
+
let v = 0, I = "", W = g.replace(/\D/g, "");
|
|
878
|
+
W === "" && (T = !0);
|
|
879
|
+
let te = W.split(""), H = "";
|
|
880
|
+
te.forEach((se) => {
|
|
881
|
+
T && (H += se, T && (y = ("" + H).length, D = d.replace(new RegExp("[0-9]", "g"), "_"), I = ""), y > ("" + H).length && (T = !0, D = d.replace(new RegExp("[0-9]", "g"), "_"), I = ""));
|
|
882
882
|
});
|
|
883
883
|
let ae = D.replace(/\D/g, "");
|
|
884
|
-
return ae.length >=
|
|
885
|
-
return
|
|
886
|
-
}), i: v, v:
|
|
884
|
+
return ae.length >= W.length && (W = ae), { q: D.replace(/[_\d]/g, function() {
|
|
885
|
+
return W.charAt(v++) || "_";
|
|
886
|
+
}), i: v, v: W, f: I };
|
|
887
887
|
}, L = (g) => {
|
|
888
888
|
g.preventDefault(), navigator.clipboard.writeText(g.target.textContent.replace(/\D/g, "")).then(
|
|
889
889
|
function() {
|
|
@@ -892,8 +892,8 @@ function fa({
|
|
|
892
892
|
function(v) {
|
|
893
893
|
}
|
|
894
894
|
);
|
|
895
|
-
},
|
|
896
|
-
let v =
|
|
895
|
+
}, M = A(a), $ = (g) => {
|
|
896
|
+
let v = A(g.target.textContent);
|
|
897
897
|
g.target.textContent = v.q, v.i = v.q.lastIndexOf(v.v.substr(-1)), v.i < v.q.length && v.q !== D ? v.i++ : v.i = v.q.indexOf("_"), P(v.i, g.target), _ && _({ value: v.q.replace(/\D/g, ""), name: c });
|
|
898
898
|
}, N = (g) => {
|
|
899
899
|
g.key === "Enter" && g.preventDefault();
|
|
@@ -905,7 +905,7 @@ function fa({
|
|
|
905
905
|
});
|
|
906
906
|
};
|
|
907
907
|
let G = {};
|
|
908
|
-
return
|
|
908
|
+
return p && n ? (G.edit = "true", G.contentEditable = Z.ContentEditable) : G.contentEditable = "false", k && (G.placeholder = k), s && (G.after = s), l ? /* @__PURE__ */ f.jsx(f.Fragment, {}) : /* @__PURE__ */ f.jsx(
|
|
909
909
|
he,
|
|
910
910
|
{
|
|
911
911
|
type: "input",
|
|
@@ -915,22 +915,22 @@ function fa({
|
|
|
915
915
|
children: /* @__PURE__ */ f.jsx(
|
|
916
916
|
"div",
|
|
917
917
|
{
|
|
918
|
-
onPaste:
|
|
919
|
-
onInput:
|
|
918
|
+
onPaste: q,
|
|
919
|
+
onInput: $,
|
|
920
920
|
onKeyDown: N,
|
|
921
921
|
onContextMenu: L,
|
|
922
922
|
onBlur: E,
|
|
923
923
|
suppressContentEditableWarning: !0,
|
|
924
924
|
...G,
|
|
925
|
-
children:
|
|
925
|
+
children: M.q
|
|
926
926
|
}
|
|
927
927
|
)
|
|
928
928
|
}
|
|
929
929
|
);
|
|
930
930
|
}
|
|
931
|
-
const
|
|
932
|
-
o:
|
|
933
|
-
c:
|
|
931
|
+
const sr = "_o_1c9e1_1", lr = "_c_1c9e1_11", Ct = {
|
|
932
|
+
o: sr,
|
|
933
|
+
c: lr
|
|
934
934
|
};
|
|
935
935
|
function ma({
|
|
936
936
|
value: a,
|
|
@@ -941,31 +941,31 @@ function ma({
|
|
|
941
941
|
edit: k = !0,
|
|
942
942
|
active: C = !0,
|
|
943
943
|
title: b,
|
|
944
|
-
placeholder:
|
|
945
|
-
className:
|
|
944
|
+
placeholder: l = "",
|
|
945
|
+
className: p
|
|
946
946
|
}) {
|
|
947
|
-
let [n,
|
|
948
|
-
const w =
|
|
949
|
-
|
|
950
|
-
|
|
947
|
+
let [n, s] = S.useState(a);
|
|
948
|
+
const w = S.useRef(null), [j, F] = S.useState(!1);
|
|
949
|
+
S.useEffect(() => {
|
|
950
|
+
s(a);
|
|
951
951
|
}, [a]);
|
|
952
|
-
let
|
|
953
|
-
|
|
954
|
-
}, D = (
|
|
952
|
+
let K = (y) => {
|
|
953
|
+
s(y), _ && _({ value: y, name: i });
|
|
954
|
+
}, D = (y) => {
|
|
955
955
|
if (!k || !C) return;
|
|
956
|
-
const P =
|
|
957
|
-
w.position = { x:
|
|
956
|
+
const P = y.target.getBoundingClientRect(), q = P.left, A = P.top;
|
|
957
|
+
w.position = { x: q, y: A }, F(!0);
|
|
958
958
|
};
|
|
959
|
-
const
|
|
960
|
-
return
|
|
959
|
+
const T = {};
|
|
960
|
+
return l && (T.placeholder = l), d || /* @__PURE__ */ f.jsxs(f.Fragment, { children: [
|
|
961
961
|
/* @__PURE__ */ f.jsx(
|
|
962
962
|
he,
|
|
963
963
|
{
|
|
964
964
|
type: "date",
|
|
965
965
|
title: b,
|
|
966
|
-
element_blok: { className: [
|
|
966
|
+
element_blok: { className: [p] },
|
|
967
967
|
element_input: { className: [Q.w] },
|
|
968
|
-
children: /* @__PURE__ */ f.jsx("div", { onClick: D, ...
|
|
968
|
+
children: /* @__PURE__ */ f.jsx("div", { onClick: D, ...T, children: ur(n, "mm.yyyy") })
|
|
969
969
|
}
|
|
970
970
|
),
|
|
971
971
|
j && Nt(
|
|
@@ -973,7 +973,7 @@ function ma({
|
|
|
973
973
|
cr,
|
|
974
974
|
{
|
|
975
975
|
position: w.position,
|
|
976
|
-
onValue:
|
|
976
|
+
onValue: K,
|
|
977
977
|
date: n,
|
|
978
978
|
onOpen: F
|
|
979
979
|
},
|
|
@@ -990,18 +990,18 @@ const cr = ({ onOpen: a, date: _, onValue: i, position: c }) => {
|
|
|
990
990
|
}, b = {
|
|
991
991
|
y: parseInt(k.getFullYear()),
|
|
992
992
|
m: parseInt(k.getMonth()) + 1
|
|
993
|
-
}, [
|
|
993
|
+
}, [l, p] = S.useState(b.y), n = () => {
|
|
994
994
|
a(!1);
|
|
995
|
-
},
|
|
996
|
-
|
|
995
|
+
}, s = () => {
|
|
996
|
+
p(l + 1);
|
|
997
997
|
}, w = () => {
|
|
998
|
-
|
|
999
|
-
}, j = (
|
|
1000
|
-
i(
|
|
1001
|
-
}, F = (
|
|
998
|
+
p(l - 1);
|
|
999
|
+
}, j = (y) => {
|
|
1000
|
+
i(l + "-" + dr(2, y)), n();
|
|
1001
|
+
}, F = (y) => C.y === b.y && C.m === y ? "_FFEB3B" : "", K = Array(12).fill("").map((y, P) => P + 1), D = window.innerHeight - c.y + 33 < 320 ? c.y - 312 : c.y + 33, T = window.innerWidth - c.x < 265 ? c.x - 235 : c.x;
|
|
1002
1002
|
return /* @__PURE__ */ f.jsxs(f.Fragment, { children: [
|
|
1003
1003
|
/* @__PURE__ */ f.jsx("div", { className: Ct.o, onClick: n }),
|
|
1004
|
-
/* @__PURE__ */ f.jsxs("div", { className: Ct.c, style: { top: D + "px", left:
|
|
1004
|
+
/* @__PURE__ */ f.jsxs("div", { className: Ct.c, style: { top: D + "px", left: T + "px" }, children: [
|
|
1005
1005
|
/* @__PURE__ */ f.jsxs("s", { children: [
|
|
1006
1006
|
/* @__PURE__ */ f.jsx("i", { onClick: w, children: /* @__PURE__ */ f.jsx(
|
|
1007
1007
|
"svg",
|
|
@@ -1014,8 +1014,8 @@ const cr = ({ onOpen: a, date: _, onValue: i, position: c }) => {
|
|
|
1014
1014
|
children: /* @__PURE__ */ f.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" })
|
|
1015
1015
|
}
|
|
1016
1016
|
) }),
|
|
1017
|
-
/* @__PURE__ */ f.jsx("h2", { children:
|
|
1018
|
-
/* @__PURE__ */ f.jsx("i", { onClick:
|
|
1017
|
+
/* @__PURE__ */ f.jsx("h2", { children: l }),
|
|
1018
|
+
/* @__PURE__ */ f.jsx("i", { onClick: s, children: /* @__PURE__ */ f.jsx(
|
|
1019
1019
|
"svg",
|
|
1020
1020
|
{
|
|
1021
1021
|
width: "16",
|
|
@@ -1027,14 +1027,14 @@ const cr = ({ onOpen: a, date: _, onValue: i, position: c }) => {
|
|
|
1027
1027
|
}
|
|
1028
1028
|
) })
|
|
1029
1029
|
] }),
|
|
1030
|
-
/* @__PURE__ */ f.jsx("div", { "grid-month": "", children:
|
|
1030
|
+
/* @__PURE__ */ f.jsx("div", { "grid-month": "", children: K.map((y, P) => /* @__PURE__ */ f.jsx(
|
|
1031
1031
|
"span",
|
|
1032
1032
|
{
|
|
1033
1033
|
onClick: () => {
|
|
1034
|
-
j(
|
|
1034
|
+
j(y);
|
|
1035
1035
|
},
|
|
1036
|
-
color: F(
|
|
1037
|
-
children: /* @__PURE__ */ f.jsx("b", { children: fr(
|
|
1036
|
+
color: F(y),
|
|
1037
|
+
children: /* @__PURE__ */ f.jsx("b", { children: fr(y).abc })
|
|
1038
1038
|
},
|
|
1039
1039
|
P
|
|
1040
1040
|
)) })
|
|
@@ -1088,60 +1088,60 @@ function pa({
|
|
|
1088
1088
|
error: k = "",
|
|
1089
1089
|
hide: C = !1,
|
|
1090
1090
|
edit: b = !0,
|
|
1091
|
-
active:
|
|
1092
|
-
after:
|
|
1091
|
+
active: l = !0,
|
|
1092
|
+
after: p = "",
|
|
1093
1093
|
show: n = !0,
|
|
1094
|
-
course:
|
|
1094
|
+
course: s = 100,
|
|
1095
1095
|
view: w,
|
|
1096
1096
|
type: j,
|
|
1097
1097
|
onSave: F,
|
|
1098
|
-
className:
|
|
1098
|
+
className: K = "",
|
|
1099
1099
|
isClear: D = !1
|
|
1100
1100
|
}) {
|
|
1101
|
-
let
|
|
1101
|
+
let T = !!(C && (a === "" || a === void 0)), y = (E) => j === "multi" ? E.replace(/[^+\d.+-]/g, "") : E.replace(/[^+\d.]/g, ""), P = (E, G) => {
|
|
1102
1102
|
let g = document.createRange(), v = window.getSelection();
|
|
1103
1103
|
g.setStart(G.childNodes[0], E), g.collapse(!0), v.removeAllRanges(), v.addRange(g), G.focus();
|
|
1104
|
-
},
|
|
1104
|
+
}, q = (E) => {
|
|
1105
1105
|
_ == null || _({
|
|
1106
|
-
value:
|
|
1106
|
+
value: y(E.target.textContent) * s,
|
|
1107
1107
|
name: i
|
|
1108
|
-
}), E.target.textContent =
|
|
1109
|
-
},
|
|
1110
|
-
Z.Blur(E), E.target.textContent === "" && (E.target.textContent = 0), F == null || F({ value:
|
|
1111
|
-
value:
|
|
1108
|
+
}), E.target.textContent = y(E.target.textContent), E.target.textContent.length > 0 && P(E.target.textContent.length, E.target);
|
|
1109
|
+
}, A = (E) => {
|
|
1110
|
+
Z.Blur(E), E.target.textContent === "" && (E.target.textContent = 0), F == null || F({ value: y(E.target.textContent) * s, name: i }), _ == null || _({
|
|
1111
|
+
value: y(E.target.textContent) * s,
|
|
1112
1112
|
name: i
|
|
1113
1113
|
}), E.target.textContent = It(E.target.textContent);
|
|
1114
1114
|
}, L = (E) => {
|
|
1115
|
-
E.target.textContent =
|
|
1116
|
-
},
|
|
1115
|
+
E.target.textContent = y(E.target.textContent);
|
|
1116
|
+
}, M = (E) => {
|
|
1117
1117
|
E.key === "Enter" && E.preventDefault();
|
|
1118
|
-
},
|
|
1118
|
+
}, $ = (E) => {
|
|
1119
1119
|
E.preventDefault(), navigator.clipboard.readText().then((G) => {
|
|
1120
1120
|
G = G.replace(/^\s*/, "").replace(/\s*$/, ""), window.document.execCommand("insertText", !1, G);
|
|
1121
1121
|
}).catch((G) => {
|
|
1122
1122
|
});
|
|
1123
1123
|
};
|
|
1124
|
-
if (!(b &&
|
|
1124
|
+
if (!(b && l) && !n || !(b && l) && T) return "";
|
|
1125
1125
|
const N = {};
|
|
1126
|
-
return N.inputMode = "decimal", c && (N.placeholder = c), b &&
|
|
1126
|
+
return N.inputMode = "decimal", c && (N.placeholder = c), b && l && (N.edit = ""), /* @__PURE__ */ f.jsx(
|
|
1127
1127
|
he,
|
|
1128
1128
|
{
|
|
1129
1129
|
type: "input",
|
|
1130
1130
|
title: d,
|
|
1131
|
-
element_blok: { className: [
|
|
1131
|
+
element_blok: { className: [K] },
|
|
1132
1132
|
element_input: { className: [Q.w] },
|
|
1133
1133
|
children: /* @__PURE__ */ f.jsx(
|
|
1134
1134
|
"div",
|
|
1135
1135
|
{
|
|
1136
1136
|
...N,
|
|
1137
|
-
onInput:
|
|
1138
|
-
onPaste:
|
|
1139
|
-
onBlur:
|
|
1140
|
-
onKeyDown:
|
|
1137
|
+
onInput: q,
|
|
1138
|
+
onPaste: $,
|
|
1139
|
+
onBlur: A,
|
|
1140
|
+
onKeyDown: M,
|
|
1141
1141
|
onFocus: L,
|
|
1142
|
-
contentEditable: b &&
|
|
1142
|
+
contentEditable: b && l ? Z.ContentEditable : "false",
|
|
1143
1143
|
suppressContentEditableWarning: !0,
|
|
1144
|
-
"data-after":
|
|
1144
|
+
"data-after": p,
|
|
1145
1145
|
children: !c || a ? It(a) : ""
|
|
1146
1146
|
}
|
|
1147
1147
|
)
|
|
@@ -1160,29 +1160,29 @@ function ya({
|
|
|
1160
1160
|
placeholder: k,
|
|
1161
1161
|
max: C,
|
|
1162
1162
|
min: b,
|
|
1163
|
-
onValue:
|
|
1164
|
-
icon:
|
|
1163
|
+
onValue: l,
|
|
1164
|
+
icon: p,
|
|
1165
1165
|
name: n = "",
|
|
1166
|
-
value:
|
|
1166
|
+
value: s,
|
|
1167
1167
|
after: w
|
|
1168
1168
|
}) {
|
|
1169
|
-
let [j, F] =
|
|
1170
|
-
|
|
1169
|
+
let [j, F] = S.useState(
|
|
1170
|
+
s === void 0 ? /* @__PURE__ */ new Date() : s
|
|
1171
1171
|
);
|
|
1172
|
-
const
|
|
1173
|
-
let
|
|
1174
|
-
|
|
1175
|
-
F(
|
|
1176
|
-
}, [
|
|
1172
|
+
const K = S.useRef(null), [D, T] = S.useState(!1);
|
|
1173
|
+
let y = !i && c;
|
|
1174
|
+
S.useEffect(() => {
|
|
1175
|
+
F(s === void 0 ? /* @__PURE__ */ new Date() : s);
|
|
1176
|
+
}, [s]);
|
|
1177
1177
|
let P = (L) => {
|
|
1178
|
-
F(L),
|
|
1179
|
-
},
|
|
1180
|
-
const
|
|
1181
|
-
|
|
1178
|
+
F(L), l == null || l({ value: L, name: n });
|
|
1179
|
+
}, q = (L) => {
|
|
1180
|
+
const M = L.target.getBoundingClientRect(), $ = M.left, N = M.bottom, E = M.top;
|
|
1181
|
+
K.position = { x: $, b: N, y: E }, T(!0);
|
|
1182
1182
|
};
|
|
1183
|
-
const
|
|
1184
|
-
return k && (
|
|
1185
|
-
|
|
1183
|
+
const A = {};
|
|
1184
|
+
return k && (A.placeholder = k), y ? /* @__PURE__ */ f.jsx(f.Fragment, {}) : /* @__PURE__ */ f.jsxs(f.Fragment, { children: [
|
|
1185
|
+
p ? p() : /* @__PURE__ */ f.jsxs(
|
|
1186
1186
|
"dl",
|
|
1187
1187
|
{
|
|
1188
1188
|
"data-field": "date",
|
|
@@ -1192,9 +1192,9 @@ function ya({
|
|
|
1192
1192
|
/* @__PURE__ */ f.jsxs(
|
|
1193
1193
|
"dd",
|
|
1194
1194
|
{
|
|
1195
|
-
onClick:
|
|
1195
|
+
onClick: q,
|
|
1196
1196
|
className: [Q.f, Q.w].join(" "),
|
|
1197
|
-
...
|
|
1197
|
+
...A,
|
|
1198
1198
|
"data-edit": (i && c) + "",
|
|
1199
1199
|
children: [
|
|
1200
1200
|
yr(j, "dd.mm.yyyy"),
|
|
@@ -1210,12 +1210,12 @@ function ya({
|
|
|
1210
1210
|
/* @__PURE__ */ f.jsx(
|
|
1211
1211
|
mr,
|
|
1212
1212
|
{
|
|
1213
|
-
position:
|
|
1213
|
+
position: K.position,
|
|
1214
1214
|
onValue: P,
|
|
1215
1215
|
date: j,
|
|
1216
1216
|
max: C,
|
|
1217
1217
|
min: b,
|
|
1218
|
-
onOpen:
|
|
1218
|
+
onOpen: T,
|
|
1219
1219
|
className: d
|
|
1220
1220
|
},
|
|
1221
1221
|
(/* @__PURE__ */ new Date()).getTime()
|
|
@@ -1233,50 +1233,50 @@ const mr = ({
|
|
|
1233
1233
|
className: k,
|
|
1234
1234
|
onOpen: C
|
|
1235
1235
|
}) => {
|
|
1236
|
-
let b = /* @__PURE__ */ new Date(),
|
|
1236
|
+
let b = /* @__PURE__ */ new Date(), l = new Date(a), p = {
|
|
1237
1237
|
y: parseInt(b.getFullYear()),
|
|
1238
1238
|
d: parseInt(b.getDate()),
|
|
1239
1239
|
m: parseInt(b.getMonth()) + 1
|
|
1240
1240
|
}, n = {
|
|
1241
|
-
y: parseInt(
|
|
1242
|
-
d: parseInt(
|
|
1243
|
-
m: parseInt(
|
|
1244
|
-
}, [
|
|
1241
|
+
y: parseInt(l.getFullYear()),
|
|
1242
|
+
d: parseInt(l.getDate()),
|
|
1243
|
+
m: parseInt(l.getMonth()) + 1
|
|
1244
|
+
}, [s, w] = S.useState({ y: n.y, m: n.m }), j = (g) => {
|
|
1245
1245
|
let v = g.getDay();
|
|
1246
1246
|
return v === 0 && (v = 7), v - 1;
|
|
1247
|
-
}, F = ["пн", "вт", "ср", "чт", "пт", "сб", "вс"],
|
|
1247
|
+
}, F = ["пн", "вт", "ср", "чт", "пт", "сб", "вс"], K = s.m - 1, D = new Date(s.y, K), T = [];
|
|
1248
1248
|
for (let g = 0; g < j(D); g++)
|
|
1249
|
-
|
|
1250
|
-
for (; D.getMonth() ===
|
|
1251
|
-
|
|
1252
|
-
let
|
|
1249
|
+
T.push(0);
|
|
1250
|
+
for (; D.getMonth() === K; )
|
|
1251
|
+
T.push(D.getDate()), D.setDate(D.getDate() + 1);
|
|
1252
|
+
let y = () => {
|
|
1253
1253
|
C(!1);
|
|
1254
1254
|
}, P = () => {
|
|
1255
|
-
L(
|
|
1256
|
-
},
|
|
1257
|
-
L(
|
|
1258
|
-
},
|
|
1255
|
+
L(s.m + 1, s.y);
|
|
1256
|
+
}, q = () => {
|
|
1257
|
+
L(s.m - 1, s.y);
|
|
1258
|
+
}, A = (g) => {
|
|
1259
1259
|
_(
|
|
1260
|
-
|
|
1261
|
-
),
|
|
1260
|
+
s.y + "-" + At(2, s.m) + "-" + At(2, g)
|
|
1261
|
+
), y();
|
|
1262
1262
|
}, L = (g, v) => {
|
|
1263
1263
|
v = g > 12 ? v + 1 : g < 1 ? v - 1 : v, g = g > 12 ? 1 : g < 1 ? 12 : g, w({ y: v, m: g });
|
|
1264
1264
|
};
|
|
1265
|
-
const
|
|
1265
|
+
const M = (g) => p.y === s.y && p.m === s.m && p.d === g ? { "data-active": "true" } : {}, $ = (g) => n.y === s.y && n.m === s.m && n.d === g ? { "data-current": "true" } : {}, N = (g) => {
|
|
1266
1266
|
let v = !0;
|
|
1267
1267
|
if (c) {
|
|
1268
|
-
let
|
|
1269
|
-
|
|
1268
|
+
let I = c.getTime(), W = new Date(s.y, s.m - 1, g).getTime();
|
|
1269
|
+
I < W && (v = !1);
|
|
1270
1270
|
}
|
|
1271
1271
|
if (d) {
|
|
1272
|
-
let
|
|
1273
|
-
|
|
1272
|
+
let I = d.getTime(), W = new Date(s.y, s.m - 1, g).getTime();
|
|
1273
|
+
I > W && (v = !1);
|
|
1274
1274
|
}
|
|
1275
1275
|
return v;
|
|
1276
1276
|
};
|
|
1277
1277
|
let E = window.innerHeight - i.y < 320 ? i.y - 312 : i.b, G = window.innerWidth - i.x < 265 ? i.x - 235 : i.x;
|
|
1278
1278
|
return /* @__PURE__ */ f.jsxs(f.Fragment, { children: [
|
|
1279
|
-
/* @__PURE__ */ f.jsx("div", { className: Ct.o, onClick: () =>
|
|
1279
|
+
/* @__PURE__ */ f.jsx("div", { className: Ct.o, onClick: () => y() }),
|
|
1280
1280
|
/* @__PURE__ */ f.jsxs(
|
|
1281
1281
|
"div",
|
|
1282
1282
|
{
|
|
@@ -1287,7 +1287,7 @@ const mr = ({
|
|
|
1287
1287
|
style: { top: E + "px", left: G + "px" },
|
|
1288
1288
|
children: [
|
|
1289
1289
|
/* @__PURE__ */ f.jsxs("s", { children: [
|
|
1290
|
-
/* @__PURE__ */ f.jsx("i", { onClick:
|
|
1290
|
+
/* @__PURE__ */ f.jsx("i", { onClick: q, children: /* @__PURE__ */ f.jsx(
|
|
1291
1291
|
"svg",
|
|
1292
1292
|
{
|
|
1293
1293
|
width: "16",
|
|
@@ -1299,9 +1299,9 @@ const mr = ({
|
|
|
1299
1299
|
}
|
|
1300
1300
|
) }),
|
|
1301
1301
|
/* @__PURE__ */ f.jsxs("h2", { children: [
|
|
1302
|
-
pr(
|
|
1302
|
+
pr(s.m).name,
|
|
1303
1303
|
" ",
|
|
1304
|
-
|
|
1304
|
+
s.y
|
|
1305
1305
|
] }),
|
|
1306
1306
|
/* @__PURE__ */ f.jsx("i", { onClick: P, children: /* @__PURE__ */ f.jsx(
|
|
1307
1307
|
"svg",
|
|
@@ -1317,15 +1317,15 @@ const mr = ({
|
|
|
1317
1317
|
] }),
|
|
1318
1318
|
/* @__PURE__ */ f.jsxs("div", { "grid-calendar": "", children: [
|
|
1319
1319
|
F.map((g, v) => /* @__PURE__ */ f.jsx("p", { children: g }, "v" + v)),
|
|
1320
|
-
|
|
1320
|
+
T.map((g, v) => /* @__PURE__ */ f.jsx("span", { children: g !== 0 && N(g) ? /* @__PURE__ */ f.jsx(
|
|
1321
1321
|
"b",
|
|
1322
1322
|
{
|
|
1323
|
-
...
|
|
1324
|
-
|
|
1325
|
-
onClick: () =>
|
|
1323
|
+
...M(g),
|
|
1324
|
+
...$(g),
|
|
1325
|
+
onClick: () => A(g),
|
|
1326
1326
|
children: g
|
|
1327
1327
|
}
|
|
1328
|
-
) : /* @__PURE__ */ f.jsx("p", { ...
|
|
1328
|
+
) : /* @__PURE__ */ f.jsx("p", { ...M(g), ...$(g), children: g !== 0 ? g : "" }) }, v))
|
|
1329
1329
|
] })
|
|
1330
1330
|
]
|
|
1331
1331
|
}
|
|
@@ -1379,25 +1379,25 @@ function va({
|
|
|
1379
1379
|
label: k = "",
|
|
1380
1380
|
hide: C = !1,
|
|
1381
1381
|
edit: b = !0,
|
|
1382
|
-
active:
|
|
1383
|
-
after:
|
|
1382
|
+
active: l = !0,
|
|
1383
|
+
after: p = "",
|
|
1384
1384
|
show: n = !0,
|
|
1385
|
-
maxLength:
|
|
1385
|
+
maxLength: s,
|
|
1386
1386
|
error: w = "",
|
|
1387
1387
|
onSave: j,
|
|
1388
1388
|
className: F = "",
|
|
1389
|
-
isCopy:
|
|
1389
|
+
isCopy: K = !0
|
|
1390
1390
|
}) {
|
|
1391
|
-
const D = (
|
|
1392
|
-
_ == null || _({ value:
|
|
1393
|
-
},
|
|
1394
|
-
|
|
1395
|
-
},
|
|
1396
|
-
|
|
1397
|
-
if (
|
|
1398
|
-
let
|
|
1399
|
-
if (
|
|
1400
|
-
|
|
1391
|
+
const D = (A) => {
|
|
1392
|
+
_ == null || _({ value: A.target.innerText, name: i || "" });
|
|
1393
|
+
}, T = (A) => {
|
|
1394
|
+
s && A.target.textContent.trim().length >= s && A.key !== "Backspace" && A.preventDefault(), A.key === "Enter" && A.preventDefault();
|
|
1395
|
+
}, y = (A) => {
|
|
1396
|
+
A.preventDefault(), navigator.clipboard.readText().then((L) => {
|
|
1397
|
+
if (s) {
|
|
1398
|
+
let M = A.target.textContent.length;
|
|
1399
|
+
if (M >= s) return;
|
|
1400
|
+
s -= M, L = L.slice(0, s);
|
|
1401
1401
|
}
|
|
1402
1402
|
window.document.execCommand(
|
|
1403
1403
|
"insertText",
|
|
@@ -1408,11 +1408,11 @@ function va({
|
|
|
1408
1408
|
});
|
|
1409
1409
|
};
|
|
1410
1410
|
if (C) return /* @__PURE__ */ f.jsx(f.Fragment, {});
|
|
1411
|
-
if (!(b &&
|
|
1411
|
+
if (!(b && l) && !n) return "";
|
|
1412
1412
|
const P = {};
|
|
1413
|
-
c && (P.placeholder = c), b &&
|
|
1414
|
-
const
|
|
1415
|
-
Z.Blur(
|
|
1413
|
+
c && (P.placeholder = c), b && l && (P.edit = "");
|
|
1414
|
+
const q = (A) => {
|
|
1415
|
+
Z.Blur(A), j == null || j({ value: A.target.textContent.trim(), name: i || "" });
|
|
1416
1416
|
};
|
|
1417
1417
|
return /* @__PURE__ */ f.jsx(
|
|
1418
1418
|
he,
|
|
@@ -1425,11 +1425,11 @@ function va({
|
|
|
1425
1425
|
children: /* @__PURE__ */ f.jsx(
|
|
1426
1426
|
"div",
|
|
1427
1427
|
{
|
|
1428
|
-
onPaste:
|
|
1428
|
+
onPaste: y,
|
|
1429
1429
|
onInput: D,
|
|
1430
|
-
onBlur:
|
|
1431
|
-
onKeyDown:
|
|
1432
|
-
contentEditable: b &&
|
|
1430
|
+
onBlur: q,
|
|
1431
|
+
onKeyDown: T,
|
|
1432
|
+
contentEditable: b && l ? Z.ContentEditable : "false",
|
|
1433
1433
|
suppressContentEditableWarning: !0,
|
|
1434
1434
|
...P,
|
|
1435
1435
|
children: a
|
|
@@ -2829,44 +2829,44 @@ function ga({
|
|
|
2829
2829
|
title: k = "",
|
|
2830
2830
|
label: C = "",
|
|
2831
2831
|
error: b = "",
|
|
2832
|
-
hide:
|
|
2833
|
-
edit:
|
|
2832
|
+
hide: l = !1,
|
|
2833
|
+
edit: p = !0,
|
|
2834
2834
|
active: n = !0,
|
|
2835
|
-
after:
|
|
2835
|
+
after: s = "",
|
|
2836
2836
|
show: w = !0,
|
|
2837
2837
|
view: j,
|
|
2838
2838
|
className: F = ""
|
|
2839
2839
|
}) {
|
|
2840
|
-
|
|
2841
|
-
let D = "+_(___) ___-__-__",
|
|
2842
|
-
let
|
|
2843
|
-
|
|
2844
|
-
},
|
|
2840
|
+
p = p !== void 0 ? p : !0, n = n !== void 0 ? n : !0, l = !!(l && (a === "" || a === void 0)) && !(p && n), S.useRef(null);
|
|
2841
|
+
let D = "+_(___) ___-__-__", T = !0, y = 0, P = (g, v) => {
|
|
2842
|
+
let I = document.createRange(), W = window.getSelection();
|
|
2843
|
+
I.setStart(v.childNodes[0], g), I.collapse(!0), W.removeAllRanges(), W.addRange(I), v.focus();
|
|
2844
|
+
}, q = (g) => {
|
|
2845
2845
|
let v = L(g.target.textContent);
|
|
2846
2846
|
g.target.textContent = v.q, v.i = v.q.lastIndexOf(v.v.substr(-1)), v.i < v.q.length && v.q !== D ? v.i++ : v.i = v.q.indexOf("_"), P(v.i, g.target), _ && _({ value: v.q.replace(/\D/g, ""), name: c || "" });
|
|
2847
|
-
},
|
|
2847
|
+
}, A = (g) => {
|
|
2848
2848
|
g.preventDefault(), navigator.clipboard.readText().then((v) => {
|
|
2849
2849
|
window.document.execCommand("insertText", !1, v);
|
|
2850
2850
|
}).catch((v) => {
|
|
2851
2851
|
});
|
|
2852
2852
|
}, L = (g) => {
|
|
2853
|
-
let v = 0,
|
|
2854
|
-
|
|
2855
|
-
let te =
|
|
2856
|
-
te.forEach((
|
|
2857
|
-
|
|
2853
|
+
let v = 0, I = "", W = g.replace(/\D/g, "");
|
|
2854
|
+
W === "" && (T = !0);
|
|
2855
|
+
let te = W.split(""), H = "";
|
|
2856
|
+
te.forEach((se) => {
|
|
2857
|
+
T && (H += se, Et[H] !== void 0 && T ? (T = !1, D = Et[H].mask.replace(new RegExp("[0-9]", "g"), "_"), I = Et[H].code) : (T && (y = ("" + H).length, D = `+${H}_(___) ___-__-__`.replace(
|
|
2858
2858
|
new RegExp("[0-9]", "g"),
|
|
2859
2859
|
"_"
|
|
2860
|
-
),
|
|
2860
|
+
), I = ""), y > ("" + H).length && (T = !0, D = `+${H}_(___) ___-__-__`.replace(
|
|
2861
2861
|
new RegExp("[0-9]", "g"),
|
|
2862
2862
|
"_"
|
|
2863
|
-
),
|
|
2863
|
+
), I = "")));
|
|
2864
2864
|
});
|
|
2865
2865
|
let ae = D.replace(/\D/g, "");
|
|
2866
|
-
return ae.length >=
|
|
2867
|
-
return
|
|
2868
|
-
}), i: v, v:
|
|
2869
|
-
},
|
|
2866
|
+
return ae.length >= W.length && (W = ae), { q: D.replace(/[_\d]/g, function() {
|
|
2867
|
+
return W.charAt(v++) || "_";
|
|
2868
|
+
}), i: v, v: W, f: I };
|
|
2869
|
+
}, M = (g) => {
|
|
2870
2870
|
g.preventDefault(), navigator.clipboard.writeText(g.target.textContent.replace(/\D/g, "")).then(
|
|
2871
2871
|
function() {
|
|
2872
2872
|
xt.Copy("Данные в буфер обмене");
|
|
@@ -2874,7 +2874,7 @@ function ga({
|
|
|
2874
2874
|
function(v) {
|
|
2875
2875
|
}
|
|
2876
2876
|
);
|
|
2877
|
-
},
|
|
2877
|
+
}, $ = L(a), N = (g) => {
|
|
2878
2878
|
g.key === "Enter" && g.preventDefault();
|
|
2879
2879
|
};
|
|
2880
2880
|
const E = (g) => {
|
|
@@ -2884,7 +2884,7 @@ function ga({
|
|
|
2884
2884
|
});
|
|
2885
2885
|
};
|
|
2886
2886
|
let G = {};
|
|
2887
|
-
return
|
|
2887
|
+
return p && n ? (G.edit = "true", G.contentEditable = Z.ContentEditable) : G.contentEditable = "false", d && (G.placeholder = d), l ? /* @__PURE__ */ f.jsx(f.Fragment, {}) : /* @__PURE__ */ f.jsx(
|
|
2888
2888
|
he,
|
|
2889
2889
|
{
|
|
2890
2890
|
type: "input",
|
|
@@ -2895,15 +2895,15 @@ function ga({
|
|
|
2895
2895
|
children: /* @__PURE__ */ f.jsx(
|
|
2896
2896
|
"div",
|
|
2897
2897
|
{
|
|
2898
|
-
onPaste:
|
|
2899
|
-
onInput:
|
|
2898
|
+
onPaste: A,
|
|
2899
|
+
onInput: q,
|
|
2900
2900
|
onKeyDown: N,
|
|
2901
|
-
onContextMenu:
|
|
2901
|
+
onContextMenu: M,
|
|
2902
2902
|
onBlur: E,
|
|
2903
2903
|
inputMode: "tel",
|
|
2904
2904
|
suppressContentEditableWarning: !0,
|
|
2905
2905
|
...G,
|
|
2906
|
-
children:
|
|
2906
|
+
children: $.q
|
|
2907
2907
|
}
|
|
2908
2908
|
)
|
|
2909
2909
|
}
|
|
@@ -2918,33 +2918,33 @@ function ha({
|
|
|
2918
2918
|
title: k = "",
|
|
2919
2919
|
label: C = "",
|
|
2920
2920
|
show: b = !0,
|
|
2921
|
-
hide:
|
|
2922
|
-
edit:
|
|
2921
|
+
hide: l = !1,
|
|
2922
|
+
edit: p = !0,
|
|
2923
2923
|
active: n = !0,
|
|
2924
|
-
maxLength:
|
|
2924
|
+
maxLength: s,
|
|
2925
2925
|
onSave: w,
|
|
2926
2926
|
className: j = "",
|
|
2927
2927
|
spellCheck: F = !0,
|
|
2928
|
-
isCopy:
|
|
2928
|
+
isCopy: K = !0,
|
|
2929
2929
|
isReload: D = !1,
|
|
2930
|
-
after:
|
|
2931
|
-
before:
|
|
2930
|
+
after: T = "",
|
|
2931
|
+
before: y = "",
|
|
2932
2932
|
error: P = ""
|
|
2933
2933
|
}) {
|
|
2934
|
-
const
|
|
2934
|
+
const q = !!(l && (a === "" || a === void 0)), A = (E) => {
|
|
2935
2935
|
_ && _({
|
|
2936
2936
|
value: E.target.textContent.trim(),
|
|
2937
2937
|
name: i,
|
|
2938
2938
|
reload: D
|
|
2939
2939
|
});
|
|
2940
2940
|
}, L = (E) => {
|
|
2941
|
-
|
|
2942
|
-
},
|
|
2941
|
+
s && E.target.textContent.trim().length >= s && E.key !== "Backspace" && E.preventDefault(), E.key === "Enter" && E.preventDefault();
|
|
2942
|
+
}, M = (E) => {
|
|
2943
2943
|
E.preventDefault(), navigator.clipboard.readText().then((G) => {
|
|
2944
|
-
if (
|
|
2944
|
+
if (s) {
|
|
2945
2945
|
let g = E.target.textContent.length;
|
|
2946
|
-
if (g >=
|
|
2947
|
-
|
|
2946
|
+
if (g >= s) return;
|
|
2947
|
+
s -= g, G = G.slice(0, s);
|
|
2948
2948
|
}
|
|
2949
2949
|
window.document.execCommand(
|
|
2950
2950
|
"insertText",
|
|
@@ -2954,9 +2954,9 @@ function ha({
|
|
|
2954
2954
|
}).catch((G) => {
|
|
2955
2955
|
});
|
|
2956
2956
|
};
|
|
2957
|
-
if (!(
|
|
2958
|
-
const
|
|
2959
|
-
d && (
|
|
2957
|
+
if (!(p && n) && !b || !(p && n) && q) return "";
|
|
2958
|
+
const $ = {};
|
|
2959
|
+
d && ($.placeholder = d), p && n && ($.edit = "");
|
|
2960
2960
|
const N = (E) => {
|
|
2961
2961
|
Z.Blur(E), w == null || w({ value: E.target.textContent.trim(), name: i });
|
|
2962
2962
|
};
|
|
@@ -2969,23 +2969,23 @@ function ha({
|
|
|
2969
2969
|
element_blok: { className: [j] },
|
|
2970
2970
|
element_input: { className: [Q.w] },
|
|
2971
2971
|
children: [
|
|
2972
|
-
|
|
2972
|
+
y,
|
|
2973
2973
|
/* @__PURE__ */ f.jsx(
|
|
2974
2974
|
"div",
|
|
2975
2975
|
{
|
|
2976
2976
|
onBlur: N,
|
|
2977
|
-
onPaste:
|
|
2978
|
-
onInput:
|
|
2977
|
+
onPaste: M,
|
|
2978
|
+
onInput: A,
|
|
2979
2979
|
onKeyDown: L,
|
|
2980
2980
|
spellCheck: F,
|
|
2981
2981
|
inputMode: c || "text",
|
|
2982
|
-
contentEditable:
|
|
2982
|
+
contentEditable: p && n ? Z.ContentEditable : "false",
|
|
2983
2983
|
suppressContentEditableWarning: !0,
|
|
2984
|
-
|
|
2984
|
+
...$,
|
|
2985
2985
|
children: a
|
|
2986
2986
|
}
|
|
2987
2987
|
),
|
|
2988
|
-
|
|
2988
|
+
T
|
|
2989
2989
|
]
|
|
2990
2990
|
}
|
|
2991
2991
|
);
|
|
@@ -2999,26 +2999,26 @@ function ka({
|
|
|
2999
2999
|
title: k,
|
|
3000
3000
|
error: C,
|
|
3001
3001
|
show: b,
|
|
3002
|
-
hide:
|
|
3003
|
-
value:
|
|
3002
|
+
hide: l,
|
|
3003
|
+
value: p,
|
|
3004
3004
|
placeholder: n,
|
|
3005
|
-
className:
|
|
3005
|
+
className: s,
|
|
3006
3006
|
maxLength: w,
|
|
3007
3007
|
name: j = "",
|
|
3008
3008
|
after: F = "",
|
|
3009
|
-
before:
|
|
3009
|
+
before: K = "",
|
|
3010
3010
|
view: D
|
|
3011
3011
|
}) {
|
|
3012
|
-
d = d !== void 0 ? d : !0, i = i !== void 0 ? i : !0,
|
|
3013
|
-
let
|
|
3012
|
+
d = d !== void 0 ? d : !0, i = i !== void 0 ? i : !0, l = !!(l && (p === "" || p === void 0)) && !(d && i), n = n !== void 0 ? n : "", c = c !== void 0 ? c : 99;
|
|
3013
|
+
let y = !1, P = (N) => {
|
|
3014
3014
|
a == null || a({ value: N.target.textContent, name: j });
|
|
3015
|
-
},
|
|
3016
|
-
if (!(
|
|
3017
|
-
if (N.which === 17 || N.which === 91) return
|
|
3015
|
+
}, q = (N) => {
|
|
3016
|
+
if (!(y && N.which === 86)) {
|
|
3017
|
+
if (N.which === 17 || N.which === 91) return y = !0;
|
|
3018
3018
|
N.key !== "Backspace" && (N.target.textContent.length === c && N.preventDefault(), N.key === "Enter" && N.preventDefault(), isNaN(N.key) && N.preventDefault());
|
|
3019
3019
|
}
|
|
3020
|
-
},
|
|
3021
|
-
if (N.which === 17 || N.which === 91) return
|
|
3020
|
+
}, A = (N) => {
|
|
3021
|
+
if (N.which === 17 || N.which === 91) return y = !1;
|
|
3022
3022
|
}, L = (N) => {
|
|
3023
3023
|
N.preventDefault(), navigator.clipboard.readText().then((E) => {
|
|
3024
3024
|
if (E = E.replace(/(?!^\+|\d)./g, ""), w) {
|
|
@@ -3030,31 +3030,31 @@ function ka({
|
|
|
3030
3030
|
}).catch((E) => {
|
|
3031
3031
|
});
|
|
3032
3032
|
};
|
|
3033
|
-
const
|
|
3033
|
+
const M = (N) => {
|
|
3034
3034
|
Z.Blur(N), _ == null || _({ value: N.target.textContent, name: j });
|
|
3035
3035
|
};
|
|
3036
|
-
let
|
|
3037
|
-
return d && i ? (
|
|
3036
|
+
let $ = {};
|
|
3037
|
+
return d && i ? ($.edit = "true", $.contentEditable = Z.ContentEditable) : $.contentEditable = "false", $.inputMode = "decimal", n && ($.placeholder = n), l ? /* @__PURE__ */ f.jsx(f.Fragment, {}) : /* @__PURE__ */ f.jsx(
|
|
3038
3038
|
he,
|
|
3039
3039
|
{
|
|
3040
3040
|
type: "numeric",
|
|
3041
3041
|
title: k,
|
|
3042
3042
|
error: C,
|
|
3043
|
-
element_blok: { className: [
|
|
3043
|
+
element_blok: { className: [s] },
|
|
3044
3044
|
element_input: { className: [Q.w] },
|
|
3045
3045
|
children: /* @__PURE__ */ f.jsx(
|
|
3046
3046
|
"div",
|
|
3047
3047
|
{
|
|
3048
3048
|
onPaste: L,
|
|
3049
3049
|
onInput: P,
|
|
3050
|
-
onBlur:
|
|
3051
|
-
onKeyDown:
|
|
3052
|
-
onKeyUp:
|
|
3050
|
+
onBlur: M,
|
|
3051
|
+
onKeyDown: q,
|
|
3052
|
+
onKeyUp: A,
|
|
3053
3053
|
spellCheck: "true",
|
|
3054
3054
|
contentEditable: d && i ? Z.ContentEditable : "false",
|
|
3055
3055
|
suppressContentEditableWarning: !0,
|
|
3056
|
-
|
|
3057
|
-
children:
|
|
3056
|
+
...$,
|
|
3057
|
+
children: p
|
|
3058
3058
|
}
|
|
3059
3059
|
)
|
|
3060
3060
|
}
|
|
@@ -3074,13 +3074,13 @@ var $t;
|
|
|
3074
3074
|
function vr() {
|
|
3075
3075
|
if ($t) return gt;
|
|
3076
3076
|
$t = 1;
|
|
3077
|
-
var a =
|
|
3078
|
-
function C(b,
|
|
3079
|
-
var n,
|
|
3080
|
-
|
|
3081
|
-
for (n in
|
|
3082
|
-
if (b && b.defaultProps) for (n in
|
|
3083
|
-
return { $$typeof: _, type: b, key: w, ref: j, props:
|
|
3077
|
+
var a = S, _ = Symbol.for("react.element"), i = Symbol.for("react.fragment"), c = Object.prototype.hasOwnProperty, d = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, k = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
3078
|
+
function C(b, l, p) {
|
|
3079
|
+
var n, s = {}, w = null, j = null;
|
|
3080
|
+
p !== void 0 && (w = "" + p), l.key !== void 0 && (w = "" + l.key), l.ref !== void 0 && (j = l.ref);
|
|
3081
|
+
for (n in l) c.call(l, n) && !k.hasOwnProperty(n) && (s[n] = l[n]);
|
|
3082
|
+
if (b && b.defaultProps) for (n in l = b.defaultProps, l) s[n] === void 0 && (s[n] = l[n]);
|
|
3083
|
+
return { $$typeof: _, type: b, key: w, ref: j, props: s, _owner: d.current };
|
|
3084
3084
|
}
|
|
3085
3085
|
return gt.Fragment = i, gt.jsx = C, gt.jsxs = C, gt;
|
|
3086
3086
|
}
|
|
@@ -3097,15 +3097,15 @@ var kt = {};
|
|
|
3097
3097
|
var Bt;
|
|
3098
3098
|
function gr() {
|
|
3099
3099
|
return Bt || (Bt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
3100
|
-
var a =
|
|
3100
|
+
var a = S, _ = Symbol.for("react.element"), i = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), d = Symbol.for("react.strict_mode"), k = Symbol.for("react.profiler"), C = Symbol.for("react.provider"), b = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), p = Symbol.for("react.suspense"), n = Symbol.for("react.suspense_list"), s = Symbol.for("react.memo"), w = Symbol.for("react.lazy"), j = Symbol.for("react.offscreen"), F = Symbol.iterator, K = "@@iterator";
|
|
3101
3101
|
function D(e) {
|
|
3102
3102
|
if (e === null || typeof e != "object")
|
|
3103
3103
|
return null;
|
|
3104
|
-
var t = F && e[F] || e[
|
|
3104
|
+
var t = F && e[F] || e[K];
|
|
3105
3105
|
return typeof t == "function" ? t : null;
|
|
3106
3106
|
}
|
|
3107
|
-
var
|
|
3108
|
-
function
|
|
3107
|
+
var T = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
3108
|
+
function y(e) {
|
|
3109
3109
|
{
|
|
3110
3110
|
for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), o = 1; o < t; o++)
|
|
3111
3111
|
r[o - 1] = arguments[o];
|
|
@@ -3114,7 +3114,7 @@ function gr() {
|
|
|
3114
3114
|
}
|
|
3115
3115
|
function P(e, t, r) {
|
|
3116
3116
|
{
|
|
3117
|
-
var o =
|
|
3117
|
+
var o = T.ReactDebugCurrentFrame, h = o.getStackAddendum();
|
|
3118
3118
|
h !== "" && (t += "%s", r = r.concat([h]));
|
|
3119
3119
|
var x = r.map(function(m) {
|
|
3120
3120
|
return String(m);
|
|
@@ -3122,10 +3122,10 @@ function gr() {
|
|
|
3122
3122
|
x.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, x);
|
|
3123
3123
|
}
|
|
3124
3124
|
}
|
|
3125
|
-
var
|
|
3125
|
+
var q = !1, A = !1, L = !1, M = !1, $ = !1, N;
|
|
3126
3126
|
N = Symbol.for("react.module.reference");
|
|
3127
3127
|
function E(e) {
|
|
3128
|
-
return !!(typeof e == "string" || typeof e == "function" || e === c || e === k ||
|
|
3128
|
+
return !!(typeof e == "string" || typeof e == "function" || e === c || e === k || $ || e === d || e === p || e === n || M || e === j || q || A || L || typeof e == "object" && e !== null && (e.$$typeof === w || e.$$typeof === s || e.$$typeof === C || e.$$typeof === b || e.$$typeof === l || // This needs to include all possible module reference object
|
|
3129
3129
|
// types supported by any Flight configuration anywhere since
|
|
3130
3130
|
// we don't know which Flight build this will end up being used
|
|
3131
3131
|
// with.
|
|
@@ -3144,7 +3144,7 @@ function gr() {
|
|
|
3144
3144
|
function v(e) {
|
|
3145
3145
|
if (e == null)
|
|
3146
3146
|
return null;
|
|
3147
|
-
if (typeof e.tag == "number" &&
|
|
3147
|
+
if (typeof e.tag == "number" && y("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
3148
3148
|
return e.displayName || e.name || null;
|
|
3149
3149
|
if (typeof e == "string")
|
|
3150
3150
|
return e;
|
|
@@ -3157,7 +3157,7 @@ function gr() {
|
|
|
3157
3157
|
return "Profiler";
|
|
3158
3158
|
case d:
|
|
3159
3159
|
return "StrictMode";
|
|
3160
|
-
case
|
|
3160
|
+
case p:
|
|
3161
3161
|
return "Suspense";
|
|
3162
3162
|
case n:
|
|
3163
3163
|
return "SuspenseList";
|
|
@@ -3170,9 +3170,9 @@ function gr() {
|
|
|
3170
3170
|
case C:
|
|
3171
3171
|
var r = e;
|
|
3172
3172
|
return g(r._context) + ".Provider";
|
|
3173
|
-
case s:
|
|
3174
|
-
return G(e, e.render, "ForwardRef");
|
|
3175
3173
|
case l:
|
|
3174
|
+
return G(e, e.render, "ForwardRef");
|
|
3175
|
+
case s:
|
|
3176
3176
|
var o = e.displayName || null;
|
|
3177
3177
|
return o !== null ? o : v(e.type) || "Memo";
|
|
3178
3178
|
case w: {
|
|
@@ -3186,14 +3186,14 @@ function gr() {
|
|
|
3186
3186
|
}
|
|
3187
3187
|
return null;
|
|
3188
3188
|
}
|
|
3189
|
-
var
|
|
3189
|
+
var I = Object.assign, W = 0, te, H, ae, ke, se, we, xe;
|
|
3190
3190
|
function Ce() {
|
|
3191
3191
|
}
|
|
3192
3192
|
Ce.__reactDisabledLog = !0;
|
|
3193
3193
|
function Ue() {
|
|
3194
3194
|
{
|
|
3195
|
-
if (
|
|
3196
|
-
te = console.log, H = console.info, ae = console.warn, ke = console.error,
|
|
3195
|
+
if (W === 0) {
|
|
3196
|
+
te = console.log, H = console.info, ae = console.warn, ke = console.error, se = console.group, we = console.groupCollapsed, xe = console.groupEnd;
|
|
3197
3197
|
var e = {
|
|
3198
3198
|
configurable: !0,
|
|
3199
3199
|
enumerable: !0,
|
|
@@ -3210,45 +3210,45 @@ function gr() {
|
|
|
3210
3210
|
groupEnd: e
|
|
3211
3211
|
});
|
|
3212
3212
|
}
|
|
3213
|
-
|
|
3213
|
+
W++;
|
|
3214
3214
|
}
|
|
3215
3215
|
}
|
|
3216
3216
|
function qe() {
|
|
3217
3217
|
{
|
|
3218
|
-
if (
|
|
3218
|
+
if (W--, W === 0) {
|
|
3219
3219
|
var e = {
|
|
3220
3220
|
configurable: !0,
|
|
3221
3221
|
enumerable: !0,
|
|
3222
3222
|
writable: !0
|
|
3223
3223
|
};
|
|
3224
3224
|
Object.defineProperties(console, {
|
|
3225
|
-
log:
|
|
3225
|
+
log: I({}, e, {
|
|
3226
3226
|
value: te
|
|
3227
3227
|
}),
|
|
3228
|
-
info:
|
|
3228
|
+
info: I({}, e, {
|
|
3229
3229
|
value: H
|
|
3230
3230
|
}),
|
|
3231
|
-
warn:
|
|
3231
|
+
warn: I({}, e, {
|
|
3232
3232
|
value: ae
|
|
3233
3233
|
}),
|
|
3234
|
-
error:
|
|
3234
|
+
error: I({}, e, {
|
|
3235
3235
|
value: ke
|
|
3236
3236
|
}),
|
|
3237
|
-
group:
|
|
3238
|
-
value:
|
|
3237
|
+
group: I({}, e, {
|
|
3238
|
+
value: se
|
|
3239
3239
|
}),
|
|
3240
|
-
groupCollapsed:
|
|
3240
|
+
groupCollapsed: I({}, e, {
|
|
3241
3241
|
value: we
|
|
3242
3242
|
}),
|
|
3243
|
-
groupEnd:
|
|
3243
|
+
groupEnd: I({}, e, {
|
|
3244
3244
|
value: xe
|
|
3245
3245
|
})
|
|
3246
3246
|
});
|
|
3247
3247
|
}
|
|
3248
|
-
|
|
3248
|
+
W < 0 && y("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
3249
3249
|
}
|
|
3250
3250
|
}
|
|
3251
|
-
var ce =
|
|
3251
|
+
var ce = T.ReactCurrentDispatcher, ue;
|
|
3252
3252
|
function ne(e, t, r) {
|
|
3253
3253
|
{
|
|
3254
3254
|
if (ue === void 0)
|
|
@@ -3293,42 +3293,42 @@ function gr() {
|
|
|
3293
3293
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
3294
3294
|
try {
|
|
3295
3295
|
Reflect.construct(m, []);
|
|
3296
|
-
} catch (
|
|
3297
|
-
o =
|
|
3296
|
+
} catch (U) {
|
|
3297
|
+
o = U;
|
|
3298
3298
|
}
|
|
3299
3299
|
Reflect.construct(e, [], m);
|
|
3300
3300
|
} else {
|
|
3301
3301
|
try {
|
|
3302
3302
|
m.call();
|
|
3303
|
-
} catch (
|
|
3304
|
-
o =
|
|
3303
|
+
} catch (U) {
|
|
3304
|
+
o = U;
|
|
3305
3305
|
}
|
|
3306
3306
|
e.call(m.prototype);
|
|
3307
3307
|
}
|
|
3308
3308
|
} else {
|
|
3309
3309
|
try {
|
|
3310
3310
|
throw Error();
|
|
3311
|
-
} catch (
|
|
3312
|
-
o =
|
|
3311
|
+
} catch (U) {
|
|
3312
|
+
o = U;
|
|
3313
3313
|
}
|
|
3314
3314
|
e();
|
|
3315
3315
|
}
|
|
3316
|
-
} catch (
|
|
3317
|
-
if (
|
|
3318
|
-
for (var u =
|
|
3319
|
-
`),
|
|
3320
|
-
`),
|
|
3321
|
-
|
|
3322
|
-
for (;
|
|
3323
|
-
if (u[
|
|
3324
|
-
if (
|
|
3316
|
+
} catch (U) {
|
|
3317
|
+
if (U && o && typeof U.stack == "string") {
|
|
3318
|
+
for (var u = U.stack.split(`
|
|
3319
|
+
`), B = o.stack.split(`
|
|
3320
|
+
`), R = u.length - 1, O = B.length - 1; R >= 1 && O >= 0 && u[R] !== B[O]; )
|
|
3321
|
+
O--;
|
|
3322
|
+
for (; R >= 1 && O >= 0; R--, O--)
|
|
3323
|
+
if (u[R] !== B[O]) {
|
|
3324
|
+
if (R !== 1 || O !== 1)
|
|
3325
3325
|
do
|
|
3326
|
-
if (
|
|
3326
|
+
if (R--, O--, O < 0 || u[R] !== B[O]) {
|
|
3327
3327
|
var Y = `
|
|
3328
|
-
` + u[
|
|
3328
|
+
` + u[R].replace(" at new ", " at ");
|
|
3329
3329
|
return e.displayName && Y.includes("<anonymous>") && (Y = Y.replace("<anonymous>", e.displayName)), typeof e == "function" && oe.set(e, Y), Y;
|
|
3330
3330
|
}
|
|
3331
|
-
while (
|
|
3331
|
+
while (R >= 1 && O >= 0);
|
|
3332
3332
|
break;
|
|
3333
3333
|
}
|
|
3334
3334
|
}
|
|
@@ -3353,16 +3353,16 @@ function gr() {
|
|
|
3353
3353
|
if (typeof e == "string")
|
|
3354
3354
|
return ne(e);
|
|
3355
3355
|
switch (e) {
|
|
3356
|
-
case
|
|
3356
|
+
case p:
|
|
3357
3357
|
return ne("Suspense");
|
|
3358
3358
|
case n:
|
|
3359
3359
|
return ne("SuspenseList");
|
|
3360
3360
|
}
|
|
3361
3361
|
if (typeof e == "object")
|
|
3362
3362
|
switch (e.$$typeof) {
|
|
3363
|
-
case s:
|
|
3364
|
-
return Ge(e.render);
|
|
3365
3363
|
case l:
|
|
3364
|
+
return Ge(e.render);
|
|
3365
|
+
case s:
|
|
3366
3366
|
return _e(e.type, t, r);
|
|
3367
3367
|
case w: {
|
|
3368
3368
|
var o = e, h = o._payload, x = o._init;
|
|
@@ -3374,7 +3374,7 @@ function gr() {
|
|
|
3374
3374
|
}
|
|
3375
3375
|
return "";
|
|
3376
3376
|
}
|
|
3377
|
-
var ee = Object.prototype.hasOwnProperty, Ee = {}, Se =
|
|
3377
|
+
var ee = Object.prototype.hasOwnProperty, Ee = {}, Se = T.ReactDebugCurrentFrame;
|
|
3378
3378
|
function ie(e) {
|
|
3379
3379
|
if (e) {
|
|
3380
3380
|
var t = e._owner, r = _e(e.type, e._source, t ? t.type : null);
|
|
@@ -3390,14 +3390,14 @@ function gr() {
|
|
|
3390
3390
|
var u = void 0;
|
|
3391
3391
|
try {
|
|
3392
3392
|
if (typeof e[m] != "function") {
|
|
3393
|
-
var
|
|
3394
|
-
throw
|
|
3393
|
+
var B = Error((o || "React class") + ": " + r + " type `" + m + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[m] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
3394
|
+
throw B.name = "Invariant Violation", B;
|
|
3395
3395
|
}
|
|
3396
3396
|
u = e[m](t, m, o, r, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
3397
|
-
} catch (
|
|
3398
|
-
u =
|
|
3397
|
+
} catch (R) {
|
|
3398
|
+
u = R;
|
|
3399
3399
|
}
|
|
3400
|
-
u && !(u instanceof Error) && (ie(h),
|
|
3400
|
+
u && !(u instanceof Error) && (ie(h), y("%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).", o || "React class", r, m, typeof u), ie(null)), u instanceof Error && !(u.message in Ee) && (Ee[u.message] = !0, ie(h), y("Failed %s type: %s", r, u.message), ie(null));
|
|
3401
3401
|
}
|
|
3402
3402
|
}
|
|
3403
3403
|
}
|
|
@@ -3423,9 +3423,9 @@ function gr() {
|
|
|
3423
3423
|
}
|
|
3424
3424
|
function Te(e) {
|
|
3425
3425
|
if (Ze(e))
|
|
3426
|
-
return
|
|
3426
|
+
return y("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Je(e)), Re(e);
|
|
3427
3427
|
}
|
|
3428
|
-
var Oe =
|
|
3428
|
+
var Oe = T.ReactCurrentOwner, Ve = {
|
|
3429
3429
|
key: !0,
|
|
3430
3430
|
ref: !0,
|
|
3431
3431
|
__self: !0,
|
|
@@ -3453,7 +3453,7 @@ function gr() {
|
|
|
3453
3453
|
function tt(e, t) {
|
|
3454
3454
|
{
|
|
3455
3455
|
var r = function() {
|
|
3456
|
-
De || (De = !0,
|
|
3456
|
+
De || (De = !0, y("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
|
|
3457
3457
|
};
|
|
3458
3458
|
r.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
3459
3459
|
get: r,
|
|
@@ -3464,7 +3464,7 @@ function gr() {
|
|
|
3464
3464
|
function rt(e, t) {
|
|
3465
3465
|
{
|
|
3466
3466
|
var r = function() {
|
|
3467
|
-
Pe || (Pe = !0,
|
|
3467
|
+
Pe || (Pe = !0, y("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
|
|
3468
3468
|
};
|
|
3469
3469
|
r.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
3470
3470
|
get: r,
|
|
@@ -3503,23 +3503,23 @@ function gr() {
|
|
|
3503
3503
|
};
|
|
3504
3504
|
function nt(e, t, r, o, h) {
|
|
3505
3505
|
{
|
|
3506
|
-
var x, m = {}, u = null,
|
|
3507
|
-
r !== void 0 && (Te(r), u = "" + r), Qe(t) && (Te(t.key), u = "" + t.key), Xe(t) && (
|
|
3506
|
+
var x, m = {}, u = null, B = null;
|
|
3507
|
+
r !== void 0 && (Te(r), u = "" + r), Qe(t) && (Te(t.key), u = "" + t.key), Xe(t) && (B = t.ref, et(t));
|
|
3508
3508
|
for (x in t)
|
|
3509
3509
|
ee.call(t, x) && !Ve.hasOwnProperty(x) && (m[x] = t[x]);
|
|
3510
3510
|
if (e && e.defaultProps) {
|
|
3511
|
-
var
|
|
3512
|
-
for (x in
|
|
3513
|
-
m[x] === void 0 && (m[x] =
|
|
3511
|
+
var R = e.defaultProps;
|
|
3512
|
+
for (x in R)
|
|
3513
|
+
m[x] === void 0 && (m[x] = R[x]);
|
|
3514
3514
|
}
|
|
3515
|
-
if (u ||
|
|
3516
|
-
var
|
|
3517
|
-
u && tt(m,
|
|
3515
|
+
if (u || B) {
|
|
3516
|
+
var O = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
3517
|
+
u && tt(m, O), B && rt(m, O);
|
|
3518
3518
|
}
|
|
3519
|
-
return at(e, u,
|
|
3519
|
+
return at(e, u, B, h, o, Oe.current, m);
|
|
3520
3520
|
}
|
|
3521
3521
|
}
|
|
3522
|
-
var me =
|
|
3522
|
+
var me = T.ReactCurrentOwner, Ne = T.ReactDebugCurrentFrame;
|
|
3523
3523
|
function V(e) {
|
|
3524
3524
|
if (e) {
|
|
3525
3525
|
var t = e._owner, r = _e(e.type, e._source, t ? t.type : null);
|
|
@@ -3570,7 +3570,7 @@ Check the top-level render call using <` + r + ">.");
|
|
|
3570
3570
|
return;
|
|
3571
3571
|
Me[r] = !0;
|
|
3572
3572
|
var o = "";
|
|
3573
|
-
e && e._owner && e._owner !== me.current && (o = " It was passed a child from " + v(e._owner.type) + "."), V(e),
|
|
3573
|
+
e && e._owner && e._owner !== me.current && (o = " It was passed a child from " + v(e._owner.type) + "."), V(e), y('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', r, o), V(null);
|
|
3574
3574
|
}
|
|
3575
3575
|
}
|
|
3576
3576
|
function Ae(e, t) {
|
|
@@ -3600,9 +3600,9 @@ Check the top-level render call using <` + r + ">.");
|
|
|
3600
3600
|
var r;
|
|
3601
3601
|
if (typeof t == "function")
|
|
3602
3602
|
r = t.propTypes;
|
|
3603
|
-
else if (typeof t == "object" && (t.$$typeof ===
|
|
3603
|
+
else if (typeof t == "object" && (t.$$typeof === l || // Note: Memo only checks outer props here.
|
|
3604
3604
|
// Inner props are checked in the reconciler.
|
|
3605
|
-
t.$$typeof ===
|
|
3605
|
+
t.$$typeof === s))
|
|
3606
3606
|
r = t.propTypes;
|
|
3607
3607
|
else
|
|
3608
3608
|
return;
|
|
@@ -3612,21 +3612,21 @@ Check the top-level render call using <` + r + ">.");
|
|
|
3612
3612
|
} else if (t.PropTypes !== void 0 && !pe) {
|
|
3613
3613
|
pe = !0;
|
|
3614
3614
|
var h = v(t);
|
|
3615
|
-
|
|
3615
|
+
y("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", h || "Unknown");
|
|
3616
3616
|
}
|
|
3617
|
-
typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved &&
|
|
3617
|
+
typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && y("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
3618
3618
|
}
|
|
3619
3619
|
}
|
|
3620
|
-
function
|
|
3620
|
+
function st(e) {
|
|
3621
3621
|
{
|
|
3622
3622
|
for (var t = Object.keys(e.props), r = 0; r < t.length; r++) {
|
|
3623
3623
|
var o = t[r];
|
|
3624
3624
|
if (o !== "children" && o !== "key") {
|
|
3625
|
-
V(e),
|
|
3625
|
+
V(e), y("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", o), V(null);
|
|
3626
3626
|
break;
|
|
3627
3627
|
}
|
|
3628
3628
|
}
|
|
3629
|
-
e.ref !== null && (V(e),
|
|
3629
|
+
e.ref !== null && (V(e), y("Invalid attribute `ref` supplied to `React.Fragment`."), V(null));
|
|
3630
3630
|
}
|
|
3631
3631
|
}
|
|
3632
3632
|
var $e = {};
|
|
@@ -3636,14 +3636,14 @@ Check the top-level render call using <` + r + ">.");
|
|
|
3636
3636
|
if (!m) {
|
|
3637
3637
|
var u = "";
|
|
3638
3638
|
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (u += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
3639
|
-
var
|
|
3640
|
-
|
|
3641
|
-
var
|
|
3642
|
-
e === null ?
|
|
3639
|
+
var B = ot();
|
|
3640
|
+
B ? u += B : u += Fe();
|
|
3641
|
+
var R;
|
|
3642
|
+
e === null ? R = "null" : fe(e) ? R = "array" : e !== void 0 && e.$$typeof === _ ? (R = "<" + (v(e.type) || "Unknown") + " />", u = " Did you accidentally export a JSX literal instead of a component?") : R = typeof e, y("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", R, u);
|
|
3643
3643
|
}
|
|
3644
|
-
var
|
|
3645
|
-
if (
|
|
3646
|
-
return
|
|
3644
|
+
var O = nt(e, t, r, h, x);
|
|
3645
|
+
if (O == null)
|
|
3646
|
+
return O;
|
|
3647
3647
|
if (m) {
|
|
3648
3648
|
var Y = t.children;
|
|
3649
3649
|
if (Y !== void 0)
|
|
@@ -3653,17 +3653,17 @@ Check the top-level render call using <` + r + ">.");
|
|
|
3653
3653
|
Ae(Y[X], e);
|
|
3654
3654
|
Object.freeze && Object.freeze(Y);
|
|
3655
3655
|
} else
|
|
3656
|
-
|
|
3656
|
+
y("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
3657
3657
|
else
|
|
3658
3658
|
Ae(Y, e);
|
|
3659
3659
|
}
|
|
3660
3660
|
if (ee.call(t, "key")) {
|
|
3661
|
-
var J = v(e),
|
|
3661
|
+
var J = v(e), U = Object.keys(t).filter(function(mt) {
|
|
3662
3662
|
return mt !== "key";
|
|
3663
|
-
}), ve =
|
|
3663
|
+
}), ve = U.length > 0 ? "{key: someKey, " + U.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
3664
3664
|
if (!$e[J + ve]) {
|
|
3665
|
-
var ft =
|
|
3666
|
-
|
|
3665
|
+
var ft = U.length > 0 ? "{" + U.join(": ..., ") + ": ...}" : "{}";
|
|
3666
|
+
y(`A props object containing a "key" prop is being spread into JSX:
|
|
3667
3667
|
let props = %s;
|
|
3668
3668
|
<%s {...props} />
|
|
3669
3669
|
React keys must be passed directly to JSX without using spread:
|
|
@@ -3671,16 +3671,16 @@ React keys must be passed directly to JSX without using spread:
|
|
|
3671
3671
|
<%s key={someKey} {...props} />`, ve, J, ft, J), $e[J + ve] = !0;
|
|
3672
3672
|
}
|
|
3673
3673
|
}
|
|
3674
|
-
return e === c ?
|
|
3674
|
+
return e === c ? st(O) : it(O), O;
|
|
3675
3675
|
}
|
|
3676
3676
|
}
|
|
3677
|
-
function
|
|
3677
|
+
function lt(e, t, r) {
|
|
3678
3678
|
return Be(e, t, r, !0);
|
|
3679
3679
|
}
|
|
3680
3680
|
function ct(e, t, r) {
|
|
3681
3681
|
return Be(e, t, r, !1);
|
|
3682
3682
|
}
|
|
3683
|
-
var ut = ct, dt =
|
|
3683
|
+
var ut = ct, dt = lt;
|
|
3684
3684
|
kt.Fragment = c, kt.jsx = ut, kt.jsxs = dt;
|
|
3685
3685
|
}()), kt;
|
|
3686
3686
|
}
|
|
@@ -3783,13 +3783,13 @@ var Wt;
|
|
|
3783
3783
|
function zr() {
|
|
3784
3784
|
if (Wt) return ht;
|
|
3785
3785
|
Wt = 1;
|
|
3786
|
-
var a =
|
|
3787
|
-
function C(b,
|
|
3788
|
-
var n,
|
|
3789
|
-
|
|
3790
|
-
for (n in
|
|
3791
|
-
if (b && b.defaultProps) for (n in
|
|
3792
|
-
return { $$typeof: _, type: b, key: w, ref: j, props:
|
|
3786
|
+
var a = S, _ = Symbol.for("react.element"), i = Symbol.for("react.fragment"), c = Object.prototype.hasOwnProperty, d = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, k = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
3787
|
+
function C(b, l, p) {
|
|
3788
|
+
var n, s = {}, w = null, j = null;
|
|
3789
|
+
p !== void 0 && (w = "" + p), l.key !== void 0 && (w = "" + l.key), l.ref !== void 0 && (j = l.ref);
|
|
3790
|
+
for (n in l) c.call(l, n) && !k.hasOwnProperty(n) && (s[n] = l[n]);
|
|
3791
|
+
if (b && b.defaultProps) for (n in l = b.defaultProps, l) s[n] === void 0 && (s[n] = l[n]);
|
|
3792
|
+
return { $$typeof: _, type: b, key: w, ref: j, props: s, _owner: d.current };
|
|
3793
3793
|
}
|
|
3794
3794
|
return ht.Fragment = i, ht.jsx = C, ht.jsxs = C, ht;
|
|
3795
3795
|
}
|
|
@@ -3806,15 +3806,15 @@ var bt = {};
|
|
|
3806
3806
|
var Ut;
|
|
3807
3807
|
function Hr() {
|
|
3808
3808
|
return Ut || (Ut = 1, process.env.NODE_ENV !== "production" && function() {
|
|
3809
|
-
var a =
|
|
3809
|
+
var a = S, _ = Symbol.for("react.element"), i = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), d = Symbol.for("react.strict_mode"), k = Symbol.for("react.profiler"), C = Symbol.for("react.provider"), b = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), p = Symbol.for("react.suspense"), n = Symbol.for("react.suspense_list"), s = Symbol.for("react.memo"), w = Symbol.for("react.lazy"), j = Symbol.for("react.offscreen"), F = Symbol.iterator, K = "@@iterator";
|
|
3810
3810
|
function D(e) {
|
|
3811
3811
|
if (e === null || typeof e != "object")
|
|
3812
3812
|
return null;
|
|
3813
|
-
var t = F && e[F] || e[
|
|
3813
|
+
var t = F && e[F] || e[K];
|
|
3814
3814
|
return typeof t == "function" ? t : null;
|
|
3815
3815
|
}
|
|
3816
|
-
var
|
|
3817
|
-
function
|
|
3816
|
+
var T = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
3817
|
+
function y(e) {
|
|
3818
3818
|
{
|
|
3819
3819
|
for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), o = 1; o < t; o++)
|
|
3820
3820
|
r[o - 1] = arguments[o];
|
|
@@ -3823,7 +3823,7 @@ function Hr() {
|
|
|
3823
3823
|
}
|
|
3824
3824
|
function P(e, t, r) {
|
|
3825
3825
|
{
|
|
3826
|
-
var o =
|
|
3826
|
+
var o = T.ReactDebugCurrentFrame, h = o.getStackAddendum();
|
|
3827
3827
|
h !== "" && (t += "%s", r = r.concat([h]));
|
|
3828
3828
|
var x = r.map(function(m) {
|
|
3829
3829
|
return String(m);
|
|
@@ -3831,10 +3831,10 @@ function Hr() {
|
|
|
3831
3831
|
x.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, x);
|
|
3832
3832
|
}
|
|
3833
3833
|
}
|
|
3834
|
-
var
|
|
3834
|
+
var q = !1, A = !1, L = !1, M = !1, $ = !1, N;
|
|
3835
3835
|
N = Symbol.for("react.module.reference");
|
|
3836
3836
|
function E(e) {
|
|
3837
|
-
return !!(typeof e == "string" || typeof e == "function" || e === c || e === k ||
|
|
3837
|
+
return !!(typeof e == "string" || typeof e == "function" || e === c || e === k || $ || e === d || e === p || e === n || M || e === j || q || A || L || typeof e == "object" && e !== null && (e.$$typeof === w || e.$$typeof === s || e.$$typeof === C || e.$$typeof === b || e.$$typeof === l || // This needs to include all possible module reference object
|
|
3838
3838
|
// types supported by any Flight configuration anywhere since
|
|
3839
3839
|
// we don't know which Flight build this will end up being used
|
|
3840
3840
|
// with.
|
|
@@ -3853,7 +3853,7 @@ function Hr() {
|
|
|
3853
3853
|
function v(e) {
|
|
3854
3854
|
if (e == null)
|
|
3855
3855
|
return null;
|
|
3856
|
-
if (typeof e.tag == "number" &&
|
|
3856
|
+
if (typeof e.tag == "number" && y("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
3857
3857
|
return e.displayName || e.name || null;
|
|
3858
3858
|
if (typeof e == "string")
|
|
3859
3859
|
return e;
|
|
@@ -3866,7 +3866,7 @@ function Hr() {
|
|
|
3866
3866
|
return "Profiler";
|
|
3867
3867
|
case d:
|
|
3868
3868
|
return "StrictMode";
|
|
3869
|
-
case
|
|
3869
|
+
case p:
|
|
3870
3870
|
return "Suspense";
|
|
3871
3871
|
case n:
|
|
3872
3872
|
return "SuspenseList";
|
|
@@ -3879,9 +3879,9 @@ function Hr() {
|
|
|
3879
3879
|
case C:
|
|
3880
3880
|
var r = e;
|
|
3881
3881
|
return g(r._context) + ".Provider";
|
|
3882
|
-
case s:
|
|
3883
|
-
return G(e, e.render, "ForwardRef");
|
|
3884
3882
|
case l:
|
|
3883
|
+
return G(e, e.render, "ForwardRef");
|
|
3884
|
+
case s:
|
|
3885
3885
|
var o = e.displayName || null;
|
|
3886
3886
|
return o !== null ? o : v(e.type) || "Memo";
|
|
3887
3887
|
case w: {
|
|
@@ -3895,14 +3895,14 @@ function Hr() {
|
|
|
3895
3895
|
}
|
|
3896
3896
|
return null;
|
|
3897
3897
|
}
|
|
3898
|
-
var
|
|
3898
|
+
var I = Object.assign, W = 0, te, H, ae, ke, se, we, xe;
|
|
3899
3899
|
function Ce() {
|
|
3900
3900
|
}
|
|
3901
3901
|
Ce.__reactDisabledLog = !0;
|
|
3902
3902
|
function Ue() {
|
|
3903
3903
|
{
|
|
3904
|
-
if (
|
|
3905
|
-
te = console.log, H = console.info, ae = console.warn, ke = console.error,
|
|
3904
|
+
if (W === 0) {
|
|
3905
|
+
te = console.log, H = console.info, ae = console.warn, ke = console.error, se = console.group, we = console.groupCollapsed, xe = console.groupEnd;
|
|
3906
3906
|
var e = {
|
|
3907
3907
|
configurable: !0,
|
|
3908
3908
|
enumerable: !0,
|
|
@@ -3919,45 +3919,45 @@ function Hr() {
|
|
|
3919
3919
|
groupEnd: e
|
|
3920
3920
|
});
|
|
3921
3921
|
}
|
|
3922
|
-
|
|
3922
|
+
W++;
|
|
3923
3923
|
}
|
|
3924
3924
|
}
|
|
3925
3925
|
function qe() {
|
|
3926
3926
|
{
|
|
3927
|
-
if (
|
|
3927
|
+
if (W--, W === 0) {
|
|
3928
3928
|
var e = {
|
|
3929
3929
|
configurable: !0,
|
|
3930
3930
|
enumerable: !0,
|
|
3931
3931
|
writable: !0
|
|
3932
3932
|
};
|
|
3933
3933
|
Object.defineProperties(console, {
|
|
3934
|
-
log:
|
|
3934
|
+
log: I({}, e, {
|
|
3935
3935
|
value: te
|
|
3936
3936
|
}),
|
|
3937
|
-
info:
|
|
3937
|
+
info: I({}, e, {
|
|
3938
3938
|
value: H
|
|
3939
3939
|
}),
|
|
3940
|
-
warn:
|
|
3940
|
+
warn: I({}, e, {
|
|
3941
3941
|
value: ae
|
|
3942
3942
|
}),
|
|
3943
|
-
error:
|
|
3943
|
+
error: I({}, e, {
|
|
3944
3944
|
value: ke
|
|
3945
3945
|
}),
|
|
3946
|
-
group:
|
|
3947
|
-
value:
|
|
3946
|
+
group: I({}, e, {
|
|
3947
|
+
value: se
|
|
3948
3948
|
}),
|
|
3949
|
-
groupCollapsed:
|
|
3949
|
+
groupCollapsed: I({}, e, {
|
|
3950
3950
|
value: we
|
|
3951
3951
|
}),
|
|
3952
|
-
groupEnd:
|
|
3952
|
+
groupEnd: I({}, e, {
|
|
3953
3953
|
value: xe
|
|
3954
3954
|
})
|
|
3955
3955
|
});
|
|
3956
3956
|
}
|
|
3957
|
-
|
|
3957
|
+
W < 0 && y("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
3958
3958
|
}
|
|
3959
3959
|
}
|
|
3960
|
-
var ce =
|
|
3960
|
+
var ce = T.ReactCurrentDispatcher, ue;
|
|
3961
3961
|
function ne(e, t, r) {
|
|
3962
3962
|
{
|
|
3963
3963
|
if (ue === void 0)
|
|
@@ -4002,42 +4002,42 @@ function Hr() {
|
|
|
4002
4002
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
4003
4003
|
try {
|
|
4004
4004
|
Reflect.construct(m, []);
|
|
4005
|
-
} catch (
|
|
4006
|
-
o =
|
|
4005
|
+
} catch (U) {
|
|
4006
|
+
o = U;
|
|
4007
4007
|
}
|
|
4008
4008
|
Reflect.construct(e, [], m);
|
|
4009
4009
|
} else {
|
|
4010
4010
|
try {
|
|
4011
4011
|
m.call();
|
|
4012
|
-
} catch (
|
|
4013
|
-
o =
|
|
4012
|
+
} catch (U) {
|
|
4013
|
+
o = U;
|
|
4014
4014
|
}
|
|
4015
4015
|
e.call(m.prototype);
|
|
4016
4016
|
}
|
|
4017
4017
|
} else {
|
|
4018
4018
|
try {
|
|
4019
4019
|
throw Error();
|
|
4020
|
-
} catch (
|
|
4021
|
-
o =
|
|
4020
|
+
} catch (U) {
|
|
4021
|
+
o = U;
|
|
4022
4022
|
}
|
|
4023
4023
|
e();
|
|
4024
4024
|
}
|
|
4025
|
-
} catch (
|
|
4026
|
-
if (
|
|
4027
|
-
for (var u =
|
|
4028
|
-
`),
|
|
4029
|
-
`),
|
|
4030
|
-
|
|
4031
|
-
for (;
|
|
4032
|
-
if (u[
|
|
4033
|
-
if (
|
|
4025
|
+
} catch (U) {
|
|
4026
|
+
if (U && o && typeof U.stack == "string") {
|
|
4027
|
+
for (var u = U.stack.split(`
|
|
4028
|
+
`), B = o.stack.split(`
|
|
4029
|
+
`), R = u.length - 1, O = B.length - 1; R >= 1 && O >= 0 && u[R] !== B[O]; )
|
|
4030
|
+
O--;
|
|
4031
|
+
for (; R >= 1 && O >= 0; R--, O--)
|
|
4032
|
+
if (u[R] !== B[O]) {
|
|
4033
|
+
if (R !== 1 || O !== 1)
|
|
4034
4034
|
do
|
|
4035
|
-
if (
|
|
4035
|
+
if (R--, O--, O < 0 || u[R] !== B[O]) {
|
|
4036
4036
|
var Y = `
|
|
4037
|
-
` + u[
|
|
4037
|
+
` + u[R].replace(" at new ", " at ");
|
|
4038
4038
|
return e.displayName && Y.includes("<anonymous>") && (Y = Y.replace("<anonymous>", e.displayName)), typeof e == "function" && oe.set(e, Y), Y;
|
|
4039
4039
|
}
|
|
4040
|
-
while (
|
|
4040
|
+
while (R >= 1 && O >= 0);
|
|
4041
4041
|
break;
|
|
4042
4042
|
}
|
|
4043
4043
|
}
|
|
@@ -4062,16 +4062,16 @@ function Hr() {
|
|
|
4062
4062
|
if (typeof e == "string")
|
|
4063
4063
|
return ne(e);
|
|
4064
4064
|
switch (e) {
|
|
4065
|
-
case
|
|
4065
|
+
case p:
|
|
4066
4066
|
return ne("Suspense");
|
|
4067
4067
|
case n:
|
|
4068
4068
|
return ne("SuspenseList");
|
|
4069
4069
|
}
|
|
4070
4070
|
if (typeof e == "object")
|
|
4071
4071
|
switch (e.$$typeof) {
|
|
4072
|
-
case s:
|
|
4073
|
-
return Ge(e.render);
|
|
4074
4072
|
case l:
|
|
4073
|
+
return Ge(e.render);
|
|
4074
|
+
case s:
|
|
4075
4075
|
return _e(e.type, t, r);
|
|
4076
4076
|
case w: {
|
|
4077
4077
|
var o = e, h = o._payload, x = o._init;
|
|
@@ -4083,7 +4083,7 @@ function Hr() {
|
|
|
4083
4083
|
}
|
|
4084
4084
|
return "";
|
|
4085
4085
|
}
|
|
4086
|
-
var ee = Object.prototype.hasOwnProperty, Ee = {}, Se =
|
|
4086
|
+
var ee = Object.prototype.hasOwnProperty, Ee = {}, Se = T.ReactDebugCurrentFrame;
|
|
4087
4087
|
function ie(e) {
|
|
4088
4088
|
if (e) {
|
|
4089
4089
|
var t = e._owner, r = _e(e.type, e._source, t ? t.type : null);
|
|
@@ -4099,14 +4099,14 @@ function Hr() {
|
|
|
4099
4099
|
var u = void 0;
|
|
4100
4100
|
try {
|
|
4101
4101
|
if (typeof e[m] != "function") {
|
|
4102
|
-
var
|
|
4103
|
-
throw
|
|
4102
|
+
var B = Error((o || "React class") + ": " + r + " type `" + m + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[m] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
4103
|
+
throw B.name = "Invariant Violation", B;
|
|
4104
4104
|
}
|
|
4105
4105
|
u = e[m](t, m, o, r, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
4106
|
-
} catch (
|
|
4107
|
-
u =
|
|
4106
|
+
} catch (R) {
|
|
4107
|
+
u = R;
|
|
4108
4108
|
}
|
|
4109
|
-
u && !(u instanceof Error) && (ie(h),
|
|
4109
|
+
u && !(u instanceof Error) && (ie(h), y("%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).", o || "React class", r, m, typeof u), ie(null)), u instanceof Error && !(u.message in Ee) && (Ee[u.message] = !0, ie(h), y("Failed %s type: %s", r, u.message), ie(null));
|
|
4110
4110
|
}
|
|
4111
4111
|
}
|
|
4112
4112
|
}
|
|
@@ -4132,9 +4132,9 @@ function Hr() {
|
|
|
4132
4132
|
}
|
|
4133
4133
|
function Te(e) {
|
|
4134
4134
|
if (Ze(e))
|
|
4135
|
-
return
|
|
4135
|
+
return y("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Je(e)), Re(e);
|
|
4136
4136
|
}
|
|
4137
|
-
var Oe =
|
|
4137
|
+
var Oe = T.ReactCurrentOwner, Ve = {
|
|
4138
4138
|
key: !0,
|
|
4139
4139
|
ref: !0,
|
|
4140
4140
|
__self: !0,
|
|
@@ -4162,7 +4162,7 @@ function Hr() {
|
|
|
4162
4162
|
function tt(e, t) {
|
|
4163
4163
|
{
|
|
4164
4164
|
var r = function() {
|
|
4165
|
-
De || (De = !0,
|
|
4165
|
+
De || (De = !0, y("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
|
|
4166
4166
|
};
|
|
4167
4167
|
r.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
4168
4168
|
get: r,
|
|
@@ -4173,7 +4173,7 @@ function Hr() {
|
|
|
4173
4173
|
function rt(e, t) {
|
|
4174
4174
|
{
|
|
4175
4175
|
var r = function() {
|
|
4176
|
-
Pe || (Pe = !0,
|
|
4176
|
+
Pe || (Pe = !0, y("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
|
|
4177
4177
|
};
|
|
4178
4178
|
r.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
4179
4179
|
get: r,
|
|
@@ -4212,23 +4212,23 @@ function Hr() {
|
|
|
4212
4212
|
};
|
|
4213
4213
|
function nt(e, t, r, o, h) {
|
|
4214
4214
|
{
|
|
4215
|
-
var x, m = {}, u = null,
|
|
4216
|
-
r !== void 0 && (Te(r), u = "" + r), Qe(t) && (Te(t.key), u = "" + t.key), Xe(t) && (
|
|
4215
|
+
var x, m = {}, u = null, B = null;
|
|
4216
|
+
r !== void 0 && (Te(r), u = "" + r), Qe(t) && (Te(t.key), u = "" + t.key), Xe(t) && (B = t.ref, et(t));
|
|
4217
4217
|
for (x in t)
|
|
4218
4218
|
ee.call(t, x) && !Ve.hasOwnProperty(x) && (m[x] = t[x]);
|
|
4219
4219
|
if (e && e.defaultProps) {
|
|
4220
|
-
var
|
|
4221
|
-
for (x in
|
|
4222
|
-
m[x] === void 0 && (m[x] =
|
|
4220
|
+
var R = e.defaultProps;
|
|
4221
|
+
for (x in R)
|
|
4222
|
+
m[x] === void 0 && (m[x] = R[x]);
|
|
4223
4223
|
}
|
|
4224
|
-
if (u ||
|
|
4225
|
-
var
|
|
4226
|
-
u && tt(m,
|
|
4224
|
+
if (u || B) {
|
|
4225
|
+
var O = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
4226
|
+
u && tt(m, O), B && rt(m, O);
|
|
4227
4227
|
}
|
|
4228
|
-
return at(e, u,
|
|
4228
|
+
return at(e, u, B, h, o, Oe.current, m);
|
|
4229
4229
|
}
|
|
4230
4230
|
}
|
|
4231
|
-
var me =
|
|
4231
|
+
var me = T.ReactCurrentOwner, Ne = T.ReactDebugCurrentFrame;
|
|
4232
4232
|
function V(e) {
|
|
4233
4233
|
if (e) {
|
|
4234
4234
|
var t = e._owner, r = _e(e.type, e._source, t ? t.type : null);
|
|
@@ -4279,7 +4279,7 @@ Check the top-level render call using <` + r + ">.");
|
|
|
4279
4279
|
return;
|
|
4280
4280
|
Me[r] = !0;
|
|
4281
4281
|
var o = "";
|
|
4282
|
-
e && e._owner && e._owner !== me.current && (o = " It was passed a child from " + v(e._owner.type) + "."), V(e),
|
|
4282
|
+
e && e._owner && e._owner !== me.current && (o = " It was passed a child from " + v(e._owner.type) + "."), V(e), y('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', r, o), V(null);
|
|
4283
4283
|
}
|
|
4284
4284
|
}
|
|
4285
4285
|
function Ae(e, t) {
|
|
@@ -4309,9 +4309,9 @@ Check the top-level render call using <` + r + ">.");
|
|
|
4309
4309
|
var r;
|
|
4310
4310
|
if (typeof t == "function")
|
|
4311
4311
|
r = t.propTypes;
|
|
4312
|
-
else if (typeof t == "object" && (t.$$typeof ===
|
|
4312
|
+
else if (typeof t == "object" && (t.$$typeof === l || // Note: Memo only checks outer props here.
|
|
4313
4313
|
// Inner props are checked in the reconciler.
|
|
4314
|
-
t.$$typeof ===
|
|
4314
|
+
t.$$typeof === s))
|
|
4315
4315
|
r = t.propTypes;
|
|
4316
4316
|
else
|
|
4317
4317
|
return;
|
|
@@ -4321,21 +4321,21 @@ Check the top-level render call using <` + r + ">.");
|
|
|
4321
4321
|
} else if (t.PropTypes !== void 0 && !pe) {
|
|
4322
4322
|
pe = !0;
|
|
4323
4323
|
var h = v(t);
|
|
4324
|
-
|
|
4324
|
+
y("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", h || "Unknown");
|
|
4325
4325
|
}
|
|
4326
|
-
typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved &&
|
|
4326
|
+
typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && y("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
4327
4327
|
}
|
|
4328
4328
|
}
|
|
4329
|
-
function
|
|
4329
|
+
function st(e) {
|
|
4330
4330
|
{
|
|
4331
4331
|
for (var t = Object.keys(e.props), r = 0; r < t.length; r++) {
|
|
4332
4332
|
var o = t[r];
|
|
4333
4333
|
if (o !== "children" && o !== "key") {
|
|
4334
|
-
V(e),
|
|
4334
|
+
V(e), y("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", o), V(null);
|
|
4335
4335
|
break;
|
|
4336
4336
|
}
|
|
4337
4337
|
}
|
|
4338
|
-
e.ref !== null && (V(e),
|
|
4338
|
+
e.ref !== null && (V(e), y("Invalid attribute `ref` supplied to `React.Fragment`."), V(null));
|
|
4339
4339
|
}
|
|
4340
4340
|
}
|
|
4341
4341
|
var $e = {};
|
|
@@ -4345,14 +4345,14 @@ Check the top-level render call using <` + r + ">.");
|
|
|
4345
4345
|
if (!m) {
|
|
4346
4346
|
var u = "";
|
|
4347
4347
|
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (u += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
4348
|
-
var
|
|
4349
|
-
|
|
4350
|
-
var
|
|
4351
|
-
e === null ?
|
|
4348
|
+
var B = ot();
|
|
4349
|
+
B ? u += B : u += Fe();
|
|
4350
|
+
var R;
|
|
4351
|
+
e === null ? R = "null" : fe(e) ? R = "array" : e !== void 0 && e.$$typeof === _ ? (R = "<" + (v(e.type) || "Unknown") + " />", u = " Did you accidentally export a JSX literal instead of a component?") : R = typeof e, y("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", R, u);
|
|
4352
4352
|
}
|
|
4353
|
-
var
|
|
4354
|
-
if (
|
|
4355
|
-
return
|
|
4353
|
+
var O = nt(e, t, r, h, x);
|
|
4354
|
+
if (O == null)
|
|
4355
|
+
return O;
|
|
4356
4356
|
if (m) {
|
|
4357
4357
|
var Y = t.children;
|
|
4358
4358
|
if (Y !== void 0)
|
|
@@ -4362,17 +4362,17 @@ Check the top-level render call using <` + r + ">.");
|
|
|
4362
4362
|
Ae(Y[X], e);
|
|
4363
4363
|
Object.freeze && Object.freeze(Y);
|
|
4364
4364
|
} else
|
|
4365
|
-
|
|
4365
|
+
y("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
4366
4366
|
else
|
|
4367
4367
|
Ae(Y, e);
|
|
4368
4368
|
}
|
|
4369
4369
|
if (ee.call(t, "key")) {
|
|
4370
|
-
var J = v(e),
|
|
4370
|
+
var J = v(e), U = Object.keys(t).filter(function(mt) {
|
|
4371
4371
|
return mt !== "key";
|
|
4372
|
-
}), ve =
|
|
4372
|
+
}), ve = U.length > 0 ? "{key: someKey, " + U.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
4373
4373
|
if (!$e[J + ve]) {
|
|
4374
|
-
var ft =
|
|
4375
|
-
|
|
4374
|
+
var ft = U.length > 0 ? "{" + U.join(": ..., ") + ": ...}" : "{}";
|
|
4375
|
+
y(`A props object containing a "key" prop is being spread into JSX:
|
|
4376
4376
|
let props = %s;
|
|
4377
4377
|
<%s {...props} />
|
|
4378
4378
|
React keys must be passed directly to JSX without using spread:
|
|
@@ -4380,16 +4380,16 @@ React keys must be passed directly to JSX without using spread:
|
|
|
4380
4380
|
<%s key={someKey} {...props} />`, ve, J, ft, J), $e[J + ve] = !0;
|
|
4381
4381
|
}
|
|
4382
4382
|
}
|
|
4383
|
-
return e === c ?
|
|
4383
|
+
return e === c ? st(O) : it(O), O;
|
|
4384
4384
|
}
|
|
4385
4385
|
}
|
|
4386
|
-
function
|
|
4386
|
+
function lt(e, t, r) {
|
|
4387
4387
|
return Be(e, t, r, !0);
|
|
4388
4388
|
}
|
|
4389
4389
|
function ct(e, t, r) {
|
|
4390
4390
|
return Be(e, t, r, !1);
|
|
4391
4391
|
}
|
|
4392
|
-
var ut = ct, dt =
|
|
4392
|
+
var ut = ct, dt = lt;
|
|
4393
4393
|
bt.Fragment = c, bt.jsx = ut, bt.jsxs = dt;
|
|
4394
4394
|
}()), bt;
|
|
4395
4395
|
}
|
|
@@ -4413,21 +4413,21 @@ const Jr = "_btn_1k1b3_1", Zr = "_confirm_1k1b3_15", Vr = "_cancel_1k1b3_20", Xr
|
|
|
4413
4413
|
isDisabled: k = !1,
|
|
4414
4414
|
className: C,
|
|
4415
4415
|
after: b,
|
|
4416
|
-
before:
|
|
4417
|
-
label:
|
|
4416
|
+
before: l,
|
|
4417
|
+
label: p,
|
|
4418
4418
|
onRef: n,
|
|
4419
|
-
awaitText:
|
|
4419
|
+
awaitText: s = "Ожидайте"
|
|
4420
4420
|
}) => {
|
|
4421
|
-
let [w, j] =
|
|
4421
|
+
let [w, j] = S.useState(!1);
|
|
4422
4422
|
const F = (D) => {
|
|
4423
4423
|
if (a) return a();
|
|
4424
4424
|
w || (_ ? (j(!0), _(j)) : D.preventDefault());
|
|
4425
4425
|
};
|
|
4426
|
-
let
|
|
4427
|
-
return (k || w) && (
|
|
4426
|
+
let K = {};
|
|
4427
|
+
return (k || w) && (K.disabled = !0), /* @__PURE__ */ St.jsx(
|
|
4428
4428
|
"button",
|
|
4429
4429
|
{
|
|
4430
|
-
...
|
|
4430
|
+
...K,
|
|
4431
4431
|
ref: n,
|
|
4432
4432
|
className: [
|
|
4433
4433
|
wt.btn,
|
|
@@ -4436,10 +4436,10 @@ const Jr = "_btn_1k1b3_1", Zr = "_confirm_1k1b3_15", Vr = "_cancel_1k1b3_20", Xr
|
|
|
4436
4436
|
C
|
|
4437
4437
|
].filter((D) => D != "").join(" "),
|
|
4438
4438
|
onClick: F,
|
|
4439
|
-
children: w ?
|
|
4440
|
-
|
|
4439
|
+
children: w ? s : /* @__PURE__ */ St.jsxs(St.Fragment, { children: [
|
|
4440
|
+
l || "",
|
|
4441
4441
|
" ",
|
|
4442
|
-
|
|
4442
|
+
p,
|
|
4443
4443
|
" ",
|
|
4444
4444
|
b || ""
|
|
4445
4445
|
] }) || d
|
|
@@ -4455,41 +4455,41 @@ var jt;
|
|
|
4455
4455
|
function _({
|
|
4456
4456
|
import_modules: n
|
|
4457
4457
|
}) {
|
|
4458
|
-
let [
|
|
4458
|
+
let [s, w] = S.useState([]);
|
|
4459
4459
|
return ge.x = (j) => {
|
|
4460
|
-
w(j ?
|
|
4460
|
+
w(j ? s.filter((F) => F.key !== j) : []);
|
|
4461
4461
|
}, Kt(() => {
|
|
4462
4462
|
n && (ge.i = n);
|
|
4463
4463
|
}, []), ge.add = (j, F = Date.now()) => {
|
|
4464
|
-
w([...
|
|
4465
|
-
}, /* @__PURE__ */ z.jsx(z.Fragment, { children:
|
|
4464
|
+
w([...s, { key: F, item: j }]);
|
|
4465
|
+
}, /* @__PURE__ */ z.jsx(z.Fragment, { children: s.map((j) => j.item) });
|
|
4466
4466
|
}
|
|
4467
4467
|
a.Init = _;
|
|
4468
4468
|
function i(n) {
|
|
4469
4469
|
return n && (ge.i = n), ge.i;
|
|
4470
4470
|
}
|
|
4471
4471
|
a.Import = i, a.List = Wr, a.Scroll = Ur, a.Form = qr, a.Center = Kr, a.Column = Gr;
|
|
4472
|
-
function c(n,
|
|
4473
|
-
ge.i ? ge.i(`${n}/modal/${
|
|
4472
|
+
function c(n, s, w) {
|
|
4473
|
+
ge.i ? ge.i(`${n}/modal/${s}.tsx`).then((j) => {
|
|
4474
4474
|
j.default.Open(w);
|
|
4475
|
-
}) : Lt()(`${n}/modal/${
|
|
4475
|
+
}) : Lt()(`${n}/modal/${s}.tsx`).then((j) => {
|
|
4476
4476
|
j.default.Open(w);
|
|
4477
4477
|
});
|
|
4478
4478
|
}
|
|
4479
4479
|
a.Open = c;
|
|
4480
|
-
function d({ type: n, name:
|
|
4481
|
-
let [j, F] =
|
|
4482
|
-
return
|
|
4483
|
-
ge.i ? ge.i(`${n}/modal/${
|
|
4484
|
-
F(
|
|
4485
|
-
}) : Lt()(`${n}/modal/${
|
|
4486
|
-
F(
|
|
4480
|
+
function d({ type: n, name: s, params: w }) {
|
|
4481
|
+
let [j, F] = S.useState(null);
|
|
4482
|
+
return S.useEffect(() => {
|
|
4483
|
+
ge.i ? ge.i(`${n}/modal/${s}.tsx`).then((K) => {
|
|
4484
|
+
F(K.default.Icon(w));
|
|
4485
|
+
}) : Lt()(`${n}/modal/${s}.tsx`).then((K) => {
|
|
4486
|
+
F(K.default.Icon(w));
|
|
4487
4487
|
});
|
|
4488
4488
|
}, [w.id]), /* @__PURE__ */ z.jsx(z.Fragment, { children: j });
|
|
4489
4489
|
}
|
|
4490
4490
|
a.Icon = d;
|
|
4491
|
-
function k(n,
|
|
4492
|
-
ge.add(/* @__PURE__ */ z.jsx(aa, { children: n }, String(Date.now())),
|
|
4491
|
+
function k(n, s) {
|
|
4492
|
+
ge.add(/* @__PURE__ */ z.jsx(aa, { children: n }, String(Date.now())), s);
|
|
4493
4493
|
}
|
|
4494
4494
|
a.Add = k;
|
|
4495
4495
|
function C(n) {
|
|
@@ -4498,71 +4498,71 @@ var jt;
|
|
|
4498
4498
|
a.Close = C;
|
|
4499
4499
|
function b(n) {
|
|
4500
4500
|
if (n.target.classList[0] !== "modal") return;
|
|
4501
|
-
let
|
|
4502
|
-
|
|
4503
|
-
|
|
4501
|
+
let s = n.target.children[0];
|
|
4502
|
+
s.setAttribute("shake", !0), setTimeout(() => {
|
|
4503
|
+
s.setAttribute("shake", !1);
|
|
4504
4504
|
}, 1e3);
|
|
4505
4505
|
}
|
|
4506
4506
|
a.Shake = b;
|
|
4507
|
-
function
|
|
4507
|
+
function l(n, s) {
|
|
4508
4508
|
const w = (j) => {
|
|
4509
4509
|
a.Add(
|
|
4510
4510
|
/* @__PURE__ */ z.jsx(n, { ...j }, (/* @__PURE__ */ new Date()).getTime())
|
|
4511
4511
|
);
|
|
4512
4512
|
};
|
|
4513
4513
|
return {
|
|
4514
|
-
Icon: (j) => /* @__PURE__ */ z.jsx("i", { onClick: () => w(j), children:
|
|
4514
|
+
Icon: (j) => /* @__PURE__ */ z.jsx("i", { onClick: () => w(j), children: s && /* @__PURE__ */ z.jsx(s, {}) }),
|
|
4515
4515
|
Open: w
|
|
4516
4516
|
};
|
|
4517
4517
|
}
|
|
4518
|
-
a.Create =
|
|
4519
|
-
function
|
|
4518
|
+
a.Create = l;
|
|
4519
|
+
function p({
|
|
4520
4520
|
title: n,
|
|
4521
|
-
children:
|
|
4521
|
+
children: s,
|
|
4522
4522
|
button: w,
|
|
4523
4523
|
tabs: j,
|
|
4524
4524
|
size: F = "m",
|
|
4525
|
-
className:
|
|
4525
|
+
className: K = "",
|
|
4526
4526
|
shake: D = !0,
|
|
4527
|
-
menu:
|
|
4527
|
+
menu: T
|
|
4528
4528
|
}) {
|
|
4529
|
-
const [
|
|
4529
|
+
const [y, P] = S.useState(!0), q = S.useRef(), A = (M) => {
|
|
4530
4530
|
if (w) {
|
|
4531
4531
|
if (w.onClick)
|
|
4532
|
-
return
|
|
4532
|
+
return M(!1), w.onClick({ setOpen: P });
|
|
4533
4533
|
if (w.onSend)
|
|
4534
4534
|
return w.onSend({
|
|
4535
4535
|
setOpen: P,
|
|
4536
|
-
disabled:
|
|
4536
|
+
disabled: M
|
|
4537
4537
|
});
|
|
4538
4538
|
}
|
|
4539
4539
|
}, L = () => {
|
|
4540
4540
|
if (!D) return P(!1);
|
|
4541
|
-
|
|
4542
|
-
|
|
4541
|
+
q.current.setAttribute("shake", !0), setTimeout(() => {
|
|
4542
|
+
q.current.setAttribute("shake", !1);
|
|
4543
4543
|
}, 1e3);
|
|
4544
4544
|
};
|
|
4545
|
-
return
|
|
4545
|
+
return y ? /* @__PURE__ */ z.jsxs("div", { className: `${re.modal}`, children: [
|
|
4546
4546
|
/* @__PURE__ */ z.jsx("div", { className: re.o, onClick: L }),
|
|
4547
4547
|
/* @__PURE__ */ z.jsxs(
|
|
4548
4548
|
"div",
|
|
4549
4549
|
{
|
|
4550
|
-
className: [re.w, re[`s${F}`],
|
|
4551
|
-
ref:
|
|
4550
|
+
className: [re.w, re[`s${F}`], K].filter((M) => M != "").join(" "),
|
|
4551
|
+
ref: q,
|
|
4552
4552
|
children: [
|
|
4553
4553
|
/* @__PURE__ */ z.jsxs("div", { className: re.h, children: [
|
|
4554
4554
|
/* @__PURE__ */ z.jsx("div", { className: re.t, children: n }),
|
|
4555
4555
|
/* @__PURE__ */ z.jsxs("div", { className: re.m, children: [
|
|
4556
|
-
j && /* @__PURE__ */ z.jsx("nav", { children: j.map((
|
|
4556
|
+
j && /* @__PURE__ */ z.jsx("nav", { children: j.map((M, $) => /* @__PURE__ */ z.jsx(
|
|
4557
4557
|
"span",
|
|
4558
4558
|
{
|
|
4559
|
-
onClick:
|
|
4560
|
-
className:
|
|
4561
|
-
children:
|
|
4559
|
+
onClick: M.onClick,
|
|
4560
|
+
className: M.active ? "active" : "",
|
|
4561
|
+
children: M.name
|
|
4562
4562
|
},
|
|
4563
|
-
|
|
4563
|
+
$
|
|
4564
4564
|
)) }),
|
|
4565
|
-
|
|
4565
|
+
T
|
|
4566
4566
|
] }),
|
|
4567
4567
|
/* @__PURE__ */ z.jsx(
|
|
4568
4568
|
"div",
|
|
@@ -4584,12 +4584,12 @@ var jt;
|
|
|
4584
4584
|
}
|
|
4585
4585
|
)
|
|
4586
4586
|
] }),
|
|
4587
|
-
|
|
4587
|
+
s,
|
|
4588
4588
|
w && /* @__PURE__ */ z.jsx("div", { className: re.b, children: /* @__PURE__ */ z.jsx(
|
|
4589
4589
|
ra,
|
|
4590
4590
|
{
|
|
4591
4591
|
label: w.label,
|
|
4592
|
-
onSend:
|
|
4592
|
+
onSend: A,
|
|
4593
4593
|
className: re.btn,
|
|
4594
4594
|
size: w.size
|
|
4595
4595
|
}
|
|
@@ -4599,7 +4599,7 @@ var jt;
|
|
|
4599
4599
|
)
|
|
4600
4600
|
] }) : "";
|
|
4601
4601
|
}
|
|
4602
|
-
a.Main =
|
|
4602
|
+
a.Main = p;
|
|
4603
4603
|
})(jt || (jt = {}));
|
|
4604
4604
|
const na = (a, _ = ",") => (a = a !== void 0 && a !== "" ? a.split(_) : [], a.filter((i) => i !== "").reduce((i, c) => (i[c] = !0, i), {}));
|
|
4605
4605
|
function ba({
|
|
@@ -4611,37 +4611,37 @@ function ba({
|
|
|
4611
4611
|
title: k,
|
|
4612
4612
|
error: C,
|
|
4613
4613
|
hide: b = !1,
|
|
4614
|
-
edit:
|
|
4615
|
-
active:
|
|
4614
|
+
edit: l = !0,
|
|
4615
|
+
active: p = !0,
|
|
4616
4616
|
outFormat: n = "object",
|
|
4617
|
-
after:
|
|
4617
|
+
after: s = "",
|
|
4618
4618
|
modal: w,
|
|
4619
4619
|
options: j,
|
|
4620
4620
|
className: F
|
|
4621
4621
|
}) {
|
|
4622
|
-
const [
|
|
4623
|
-
if (!(
|
|
4622
|
+
const [K, D] = S.useState(na(a, d)), T = (y) => {
|
|
4623
|
+
if (!(l && p) || !w) return;
|
|
4624
4624
|
let P = w.split(".");
|
|
4625
4625
|
jt.Open(P[0], P[1], {
|
|
4626
|
-
callback: (
|
|
4626
|
+
callback: (q) => {
|
|
4627
4627
|
if (_)
|
|
4628
4628
|
switch (n) {
|
|
4629
4629
|
case "array":
|
|
4630
|
-
_({ value: Object.keys(
|
|
4630
|
+
_({ value: Object.keys(q), name: i });
|
|
4631
4631
|
break;
|
|
4632
4632
|
case "string":
|
|
4633
4633
|
_({
|
|
4634
|
-
value: Object.keys(
|
|
4634
|
+
value: Object.keys(q).filter((A) => q[A]).join(d),
|
|
4635
4635
|
name: i
|
|
4636
4636
|
});
|
|
4637
4637
|
break;
|
|
4638
4638
|
default:
|
|
4639
|
-
_({ value:
|
|
4639
|
+
_({ value: q, name: i });
|
|
4640
4640
|
}
|
|
4641
4641
|
D(
|
|
4642
4642
|
Object.fromEntries(
|
|
4643
|
-
Object.entries(
|
|
4644
|
-
([
|
|
4643
|
+
Object.entries(q).filter(
|
|
4644
|
+
([A, L]) => L !== !1
|
|
4645
4645
|
)
|
|
4646
4646
|
)
|
|
4647
4647
|
);
|
|
@@ -4649,7 +4649,7 @@ function ba({
|
|
|
4649
4649
|
onValue: _,
|
|
4650
4650
|
options: j,
|
|
4651
4651
|
name: i,
|
|
4652
|
-
value:
|
|
4652
|
+
value: K
|
|
4653
4653
|
});
|
|
4654
4654
|
};
|
|
4655
4655
|
return b ? /* @__PURE__ */ f.jsx(f.Fragment, {}) : /* @__PURE__ */ f.jsx(
|
|
@@ -4662,12 +4662,12 @@ function ba({
|
|
|
4662
4662
|
element_input: {
|
|
4663
4663
|
className: [Q.g],
|
|
4664
4664
|
props: {
|
|
4665
|
-
onClick:
|
|
4665
|
+
onClick: T
|
|
4666
4666
|
}
|
|
4667
4667
|
},
|
|
4668
|
-
children: Object.keys(
|
|
4668
|
+
children: Object.keys(K).map((y) => {
|
|
4669
4669
|
var P;
|
|
4670
|
-
return /* @__PURE__ */ f.jsx("div", { children: (P = j[
|
|
4670
|
+
return /* @__PURE__ */ f.jsx("div", { children: (P = j[y]) == null ? void 0 : P.label }, y);
|
|
4671
4671
|
})
|
|
4672
4672
|
}
|
|
4673
4673
|
);
|
|
@@ -4686,59 +4686,59 @@ function wa({
|
|
|
4686
4686
|
value: k = 0,
|
|
4687
4687
|
onValue: C,
|
|
4688
4688
|
options: b,
|
|
4689
|
-
placeholder:
|
|
4690
|
-
className:
|
|
4689
|
+
placeholder: l = "",
|
|
4690
|
+
className: p,
|
|
4691
4691
|
isIcon: n = !0,
|
|
4692
|
-
name:
|
|
4692
|
+
name: s,
|
|
4693
4693
|
after: w,
|
|
4694
4694
|
view: j,
|
|
4695
4695
|
order: F,
|
|
4696
|
-
isReload:
|
|
4696
|
+
isReload: K = !1
|
|
4697
4697
|
}) {
|
|
4698
|
-
const D =
|
|
4699
|
-
|
|
4700
|
-
|
|
4698
|
+
const D = S.useRef(null), [T, y] = S.useState(k), [P, q] = S.useState(b), [A, L] = S.useState(!1);
|
|
4699
|
+
S.useEffect(() => {
|
|
4700
|
+
y(k), q(b);
|
|
4701
4701
|
}, [k, b]);
|
|
4702
|
-
const
|
|
4703
|
-
var
|
|
4704
|
-
if (
|
|
4702
|
+
const M = Array.isArray(P), $ = M ? P.length : Object.keys(P || {}).length, N = (I) => {
|
|
4703
|
+
var W;
|
|
4704
|
+
if (M) {
|
|
4705
4705
|
const te = P.find(
|
|
4706
|
-
(H) => (H.id || H.i) ===
|
|
4706
|
+
(H) => (H.id || H.i) === I
|
|
4707
4707
|
);
|
|
4708
4708
|
return te == null ? void 0 : te.n;
|
|
4709
4709
|
} else
|
|
4710
|
-
return (
|
|
4710
|
+
return (W = P == null ? void 0 : P[I]) == null ? void 0 : W.n;
|
|
4711
4711
|
};
|
|
4712
4712
|
d = !!(d && (k === 0 || N(k) === void 0)) && !(i && c);
|
|
4713
|
-
const G = (
|
|
4714
|
-
|
|
4715
|
-
}, g = (
|
|
4716
|
-
|
|
4713
|
+
const G = (I) => {
|
|
4714
|
+
y(I), C && C({ value: I, name: s, reload: K });
|
|
4715
|
+
}, g = (I) => {
|
|
4716
|
+
$ !== 0 && i && c && (D.position = D.current.getBoundingClientRect(), L(!0));
|
|
4717
4717
|
}, v = {};
|
|
4718
|
-
return
|
|
4718
|
+
return l && (v.placeholder = l), d ? "" : /* @__PURE__ */ f.jsxs(f.Fragment, { children: [
|
|
4719
4719
|
/* @__PURE__ */ f.jsx(
|
|
4720
4720
|
he,
|
|
4721
4721
|
{
|
|
4722
4722
|
type: "select",
|
|
4723
4723
|
title: a,
|
|
4724
|
-
element_blok: { className: [
|
|
4724
|
+
element_blok: { className: [p] },
|
|
4725
4725
|
error: _,
|
|
4726
4726
|
element_input: {
|
|
4727
4727
|
className: [Dt.f],
|
|
4728
4728
|
props: { onClick: g }
|
|
4729
4729
|
},
|
|
4730
4730
|
ref: D,
|
|
4731
|
-
children: /* @__PURE__ */ f.jsx("div", { ...v, children: N(
|
|
4731
|
+
children: /* @__PURE__ */ f.jsx("div", { ...v, children: N(T) || l || "" })
|
|
4732
4732
|
}
|
|
4733
4733
|
),
|
|
4734
|
-
|
|
4734
|
+
A && Nt(
|
|
4735
4735
|
/* @__PURE__ */ f.jsx(
|
|
4736
|
-
|
|
4736
|
+
sa,
|
|
4737
4737
|
{
|
|
4738
4738
|
parent: D.position,
|
|
4739
4739
|
onValue: G,
|
|
4740
4740
|
view: j,
|
|
4741
|
-
className:
|
|
4741
|
+
className: p,
|
|
4742
4742
|
options: P,
|
|
4743
4743
|
order: F,
|
|
4744
4744
|
setOpen: L
|
|
@@ -4749,7 +4749,7 @@ function wa({
|
|
|
4749
4749
|
)
|
|
4750
4750
|
] });
|
|
4751
4751
|
}
|
|
4752
|
-
const
|
|
4752
|
+
const sa = ({
|
|
4753
4753
|
onValue: a,
|
|
4754
4754
|
parent: _,
|
|
4755
4755
|
className: i,
|
|
@@ -4761,7 +4761,7 @@ const la = ({
|
|
|
4761
4761
|
k(!1);
|
|
4762
4762
|
}, b = (n) => {
|
|
4763
4763
|
k(!1), a(n);
|
|
4764
|
-
},
|
|
4764
|
+
}, l = window.innerHeight - _.y + _.height < 320 ? _.y - 312 : _.y + 33, p = window.innerWidth - _.x < 265 ? _.x - 235 : _.x;
|
|
4765
4765
|
return /* @__PURE__ */ f.jsxs(f.Fragment, { children: [
|
|
4766
4766
|
/* @__PURE__ */ f.jsx(
|
|
4767
4767
|
"div",
|
|
@@ -4776,32 +4776,32 @@ const la = ({
|
|
|
4776
4776
|
{
|
|
4777
4777
|
className: [Dt.l, i].filter((n) => n !== void 0).join(" "),
|
|
4778
4778
|
style: {
|
|
4779
|
-
top:
|
|
4780
|
-
left:
|
|
4779
|
+
top: l + "px",
|
|
4780
|
+
left: p + "px",
|
|
4781
4781
|
width: _.width
|
|
4782
4782
|
},
|
|
4783
|
-
children: /* @__PURE__ */ f.jsx(
|
|
4783
|
+
children: /* @__PURE__ */ f.jsx(la, { order: d, options: c, link: b })
|
|
4784
4784
|
}
|
|
4785
4785
|
)
|
|
4786
4786
|
] });
|
|
4787
|
-
},
|
|
4787
|
+
}, la = ({ order: a, options: _, link: i }) => {
|
|
4788
4788
|
if (Array.isArray(_)) {
|
|
4789
4789
|
const d = _;
|
|
4790
4790
|
return a ? /* @__PURE__ */ f.jsx("ul", { children: a.map((k, C) => {
|
|
4791
4791
|
const b = d.find(
|
|
4792
|
-
(
|
|
4792
|
+
(p) => (p.id || p.i) === k
|
|
4793
4793
|
);
|
|
4794
4794
|
if (!b || b.s === 0 || !b.n) return null;
|
|
4795
|
-
const
|
|
4796
|
-
return
|
|
4795
|
+
const l = b.id || b.i;
|
|
4796
|
+
return l === void 0 ? null : /* @__PURE__ */ f.jsx(
|
|
4797
4797
|
"li",
|
|
4798
4798
|
{
|
|
4799
4799
|
onClick: () => {
|
|
4800
|
-
i(
|
|
4800
|
+
i(l);
|
|
4801
4801
|
},
|
|
4802
4802
|
children: b.n
|
|
4803
4803
|
},
|
|
4804
|
-
`${
|
|
4804
|
+
`${l}-${C}`
|
|
4805
4805
|
);
|
|
4806
4806
|
}) }) : /* @__PURE__ */ f.jsx("ul", { children: d.map((k, C) => {
|
|
4807
4807
|
if (k.s === 0 || !k.n) return null;
|
|
@@ -4853,28 +4853,36 @@ function xa({
|
|
|
4853
4853
|
error: k,
|
|
4854
4854
|
hide: C = !1,
|
|
4855
4855
|
edit: b = !0,
|
|
4856
|
-
show:
|
|
4857
|
-
active:
|
|
4856
|
+
show: l = !0,
|
|
4857
|
+
active: p = !0,
|
|
4858
4858
|
after: n = "",
|
|
4859
|
-
view:
|
|
4859
|
+
view: s,
|
|
4860
4860
|
modal: w,
|
|
4861
4861
|
options: j,
|
|
4862
4862
|
className: F
|
|
4863
4863
|
}) {
|
|
4864
|
-
const [q, D] =
|
|
4865
|
-
|
|
4866
|
-
|
|
4867
|
-
|
|
4868
|
-
|
|
4869
|
-
|
|
4864
|
+
const K = (q) => q ? Array.isArray(q) ? q[1] || "" : q : "", [D, T] = S.useState(a);
|
|
4865
|
+
S.useEffect(() => {
|
|
4866
|
+
T(a);
|
|
4867
|
+
}, [a]);
|
|
4868
|
+
const y = (q) => {
|
|
4869
|
+
if (!(b && p) || !w) return;
|
|
4870
|
+
let A = w.split(".");
|
|
4871
|
+
if (A.length < 2)
|
|
4872
|
+
return;
|
|
4873
|
+
const L = Array.isArray(D) ? D[0] : D;
|
|
4874
|
+
jt.Open(A[0], A[1], {
|
|
4875
|
+
callback: (M) => {
|
|
4876
|
+
let $;
|
|
4877
|
+
Array.isArray(M) && M.length >= 2 ? $ = [M[0], M[1]] : typeof M == "object" && M.id !== void 0 && M.name !== void 0 ? $ = [M.id, M.name] : $ = M, _ && _({ value: $, name: i }), T($);
|
|
4870
4878
|
},
|
|
4871
4879
|
onValue: _,
|
|
4872
4880
|
options: j,
|
|
4873
4881
|
name: i,
|
|
4874
|
-
value:
|
|
4882
|
+
value: L
|
|
4875
4883
|
});
|
|
4876
|
-
},
|
|
4877
|
-
return c && (
|
|
4884
|
+
}, P = {};
|
|
4885
|
+
return c && (P.placeholder = c), C ? /* @__PURE__ */ f.jsx(f.Fragment, {}) : /* @__PURE__ */ f.jsx(
|
|
4878
4886
|
he,
|
|
4879
4887
|
{
|
|
4880
4888
|
type: "input",
|
|
@@ -4883,9 +4891,9 @@ function xa({
|
|
|
4883
4891
|
error: k,
|
|
4884
4892
|
element_input: {
|
|
4885
4893
|
className: [Q.w],
|
|
4886
|
-
props: { onClick:
|
|
4894
|
+
props: { onClick: y }
|
|
4887
4895
|
},
|
|
4888
|
-
children: /* @__PURE__ */ f.jsx("div", { ...
|
|
4896
|
+
children: /* @__PURE__ */ f.jsx("div", { ...P, children: K(D) })
|
|
4889
4897
|
}
|
|
4890
4898
|
);
|
|
4891
4899
|
}
|
|
@@ -4898,28 +4906,28 @@ function Ca({
|
|
|
4898
4906
|
className: k,
|
|
4899
4907
|
title: C,
|
|
4900
4908
|
error: b,
|
|
4901
|
-
edit:
|
|
4902
|
-
active:
|
|
4909
|
+
edit: l = !0,
|
|
4910
|
+
active: p = !0,
|
|
4903
4911
|
reload: n = !1,
|
|
4904
|
-
native:
|
|
4912
|
+
native: s = !1,
|
|
4905
4913
|
isShow: w = !1,
|
|
4906
4914
|
maxLength: j,
|
|
4907
4915
|
eyes: F = [],
|
|
4908
|
-
after:
|
|
4916
|
+
after: K = ""
|
|
4909
4917
|
}) {
|
|
4910
|
-
const [D,
|
|
4911
|
-
let
|
|
4918
|
+
const [D, T] = S.useState(w);
|
|
4919
|
+
let y = ($) => {
|
|
4912
4920
|
_ && _({
|
|
4913
|
-
value:
|
|
4921
|
+
value: $.target.textContent,
|
|
4914
4922
|
name: c,
|
|
4915
4923
|
reload: n
|
|
4916
4924
|
});
|
|
4917
|
-
}, P = (
|
|
4918
|
-
|
|
4919
|
-
},
|
|
4920
|
-
|
|
4925
|
+
}, P = ($) => {
|
|
4926
|
+
$.key === "Enter" && $.preventDefault();
|
|
4927
|
+
}, q = ($) => {
|
|
4928
|
+
$.preventDefault(), navigator.clipboard.readText().then((N) => {
|
|
4921
4929
|
if (j) {
|
|
4922
|
-
let E =
|
|
4930
|
+
let E = $.target.textContent.length;
|
|
4923
4931
|
if (E >= j) return;
|
|
4924
4932
|
j -= E, N = N.slice(0, j);
|
|
4925
4933
|
}
|
|
@@ -4930,29 +4938,29 @@ function Ca({
|
|
|
4930
4938
|
);
|
|
4931
4939
|
}).catch((N) => {
|
|
4932
4940
|
});
|
|
4933
|
-
},
|
|
4934
|
-
Z.Blur(
|
|
4941
|
+
}, A = ($) => {
|
|
4942
|
+
Z.Blur($), i == null || i({ value: $.target.textContent.trim(), name: c });
|
|
4935
4943
|
};
|
|
4936
4944
|
const L = {};
|
|
4937
4945
|
L.field = "password", D && (L.show = ""), k && (L.className = k);
|
|
4938
|
-
const
|
|
4939
|
-
return d && (
|
|
4946
|
+
const M = {};
|
|
4947
|
+
return d && (M.placeholder = d), s ? "" : /* @__PURE__ */ f.jsxs("dl", { ...L, children: [
|
|
4940
4948
|
C ? /* @__PURE__ */ f.jsx("dt", { children: C }) : "",
|
|
4941
4949
|
/* @__PURE__ */ f.jsx(
|
|
4942
4950
|
"dd",
|
|
4943
4951
|
{
|
|
4944
|
-
onPaste:
|
|
4945
|
-
onInput:
|
|
4952
|
+
onPaste: q,
|
|
4953
|
+
onInput: y,
|
|
4946
4954
|
onKeyDown: P,
|
|
4947
|
-
onBlur:
|
|
4948
|
-
contentEditable:
|
|
4949
|
-
...
|
|
4955
|
+
onBlur: A,
|
|
4956
|
+
contentEditable: l && p ? Z.ContentEditable : "false",
|
|
4957
|
+
...M,
|
|
4950
4958
|
suppressContentEditableWarning: !0,
|
|
4951
4959
|
children: a
|
|
4952
4960
|
}
|
|
4953
4961
|
),
|
|
4954
|
-
F[0] && /* @__PURE__ */ f.jsx("i", { onClick: () =>
|
|
4955
|
-
|
|
4962
|
+
F[0] && /* @__PURE__ */ f.jsx("i", { onClick: () => T(!D), children: D ? F[1] : F[0] }),
|
|
4963
|
+
K,
|
|
4956
4964
|
b ? /* @__PURE__ */ f.jsx("em", { children: b }) : ""
|
|
4957
4965
|
] });
|
|
4958
4966
|
}
|
|
@@ -4965,14 +4973,14 @@ function ja({
|
|
|
4965
4973
|
name: k,
|
|
4966
4974
|
text: C,
|
|
4967
4975
|
id: b,
|
|
4968
|
-
reload:
|
|
4976
|
+
reload: l
|
|
4969
4977
|
}) {
|
|
4970
|
-
const [
|
|
4971
|
-
|
|
4978
|
+
const [p, n] = S.useState(!!i);
|
|
4979
|
+
S.useEffect(() => {
|
|
4972
4980
|
n(!!i);
|
|
4973
4981
|
}, [i]);
|
|
4974
|
-
let
|
|
4975
|
-
a && a({ value:
|
|
4982
|
+
let s = () => {
|
|
4983
|
+
a && a({ value: p ? 0 : 1, name: k, id: b, reload: l }), n(!p);
|
|
4976
4984
|
};
|
|
4977
4985
|
return /* @__PURE__ */ f.jsxs(
|
|
4978
4986
|
he,
|
|
@@ -4983,44 +4991,44 @@ function ja({
|
|
|
4983
4991
|
element_input: {
|
|
4984
4992
|
className: [Q.h],
|
|
4985
4993
|
props: {
|
|
4986
|
-
onClick:
|
|
4994
|
+
onClick: s
|
|
4987
4995
|
}
|
|
4988
4996
|
},
|
|
4989
4997
|
children: [
|
|
4990
|
-
/* @__PURE__ */ f.jsx("div", { "aria-checked": `${
|
|
4998
|
+
/* @__PURE__ */ f.jsx("div", { "aria-checked": `${p ? "true" : "false"}` }),
|
|
4991
4999
|
/* @__PURE__ */ f.jsx("span", { children: C })
|
|
4992
5000
|
]
|
|
4993
5001
|
}
|
|
4994
5002
|
);
|
|
4995
5003
|
}
|
|
4996
|
-
const
|
|
5004
|
+
const le = {};
|
|
4997
5005
|
function Ea(a) {
|
|
4998
|
-
const [_, i] =
|
|
4999
|
-
return
|
|
5006
|
+
const [_, i] = S.useState({}), c = S.useRef(a);
|
|
5007
|
+
return le.u = (d) => {
|
|
5000
5008
|
c.current = { ...c.current, [d.name]: d.value };
|
|
5001
|
-
},
|
|
5009
|
+
}, le.n = (d) => {
|
|
5002
5010
|
c.current = d, i(Date.now());
|
|
5003
|
-
},
|
|
5011
|
+
}, le.r = (d) => {
|
|
5004
5012
|
d && d(c.current), i(Date.now());
|
|
5005
|
-
}, [c.current,
|
|
5013
|
+
}, [c.current, le.n];
|
|
5006
5014
|
}
|
|
5007
5015
|
function Sa(a) {
|
|
5008
|
-
|
|
5016
|
+
le.u(a), a.reload && le.r();
|
|
5009
5017
|
}
|
|
5010
5018
|
function Ra(a) {
|
|
5011
|
-
|
|
5019
|
+
le.r && le.r(a);
|
|
5012
5020
|
}
|
|
5013
5021
|
function Ta(a) {
|
|
5014
|
-
const [_, i] =
|
|
5015
|
-
return
|
|
5022
|
+
const [_, i] = S.useState({}), c = S.useRef(a);
|
|
5023
|
+
return le.u = (d) => {
|
|
5016
5024
|
c.current = { ...c.current, [d.name]: d.value };
|
|
5017
|
-
},
|
|
5025
|
+
}, le.n = (d) => {
|
|
5018
5026
|
Object.keys(d).length > 0 ? Object.keys(d).forEach((k) => {
|
|
5019
5027
|
c.current[k] = d[k];
|
|
5020
5028
|
}) : c.current = {}, i(Date.now());
|
|
5021
|
-
},
|
|
5029
|
+
}, le.r = () => {
|
|
5022
5030
|
i(Date.now());
|
|
5023
|
-
}, [c.current,
|
|
5031
|
+
}, [c.current, le.n];
|
|
5024
5032
|
}
|
|
5025
5033
|
function Pt() {
|
|
5026
5034
|
return typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof self < "u" ? self : typeof global < "u" ? global : {};
|