@elcrm/form 0.0.61 → 0.0.63
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.css +1 -1
- package/dist/index.es.js +1282 -1294
- package/dist/index.umd.js +26 -26
- package/dist/src/lib/index.d.ts +1 -1
- package/package.json +1 -1
- /package/dist/src/lib/{Mask.d.ts → fields/Mask.d.ts} +0 -0
package/dist/index.es.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
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.63", Yt = {
|
|
4
4
|
version: Gt
|
|
5
5
|
};
|
|
6
|
-
var
|
|
6
|
+
var St = { exports: {} }, pt = {};
|
|
7
7
|
/**
|
|
8
8
|
* @license React
|
|
9
9
|
* react-jsx-runtime.production.min.js
|
|
@@ -17,13 +17,13 @@ var Ft;
|
|
|
17
17
|
function zt() {
|
|
18
18
|
if (Ft) return pt;
|
|
19
19
|
Ft = 1;
|
|
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,
|
|
21
|
-
function C(
|
|
22
|
-
var n, s = {},
|
|
23
|
-
|
|
24
|
-
for (n in l) c.call(l, n) && !
|
|
25
|
-
if (
|
|
26
|
-
return { $$typeof: _, type:
|
|
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, h = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
21
|
+
function C(k, l, y) {
|
|
22
|
+
var n, s = {}, b = null, j = null;
|
|
23
|
+
y !== void 0 && (b = "" + y), l.key !== void 0 && (b = "" + l.key), l.ref !== void 0 && (j = l.ref);
|
|
24
|
+
for (n in l) c.call(l, n) && !h.hasOwnProperty(n) && (s[n] = l[n]);
|
|
25
|
+
if (k && k.defaultProps) for (n in l = k.defaultProps, l) s[n] === void 0 && (s[n] = l[n]);
|
|
26
|
+
return { $$typeof: _, type: k, key: b, 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,54 +40,54 @@ 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 = S, _ = Symbol.for("react.element"), i = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), d = Symbol.for("react.strict_mode"),
|
|
44
|
-
function
|
|
43
|
+
var a = S, _ = Symbol.for("react.element"), i = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), d = Symbol.for("react.strict_mode"), h = Symbol.for("react.profiler"), C = Symbol.for("react.provider"), k = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), y = Symbol.for("react.suspense"), n = Symbol.for("react.suspense_list"), s = Symbol.for("react.memo"), b = Symbol.for("react.lazy"), j = Symbol.for("react.offscreen"), I = Symbol.iterator, q = "@@iterator";
|
|
44
|
+
function P(e) {
|
|
45
45
|
if (e === null || typeof e != "object")
|
|
46
46
|
return null;
|
|
47
|
-
var t =
|
|
47
|
+
var t = I && e[I] || e[q];
|
|
48
48
|
return typeof t == "function" ? t : null;
|
|
49
49
|
}
|
|
50
50
|
var T = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
51
|
-
function
|
|
51
|
+
function m(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];
|
|
55
|
-
|
|
55
|
+
N("error", e, r);
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
|
-
function
|
|
58
|
+
function N(e, t, r) {
|
|
59
59
|
{
|
|
60
|
-
var o = T.ReactDebugCurrentFrame,
|
|
61
|
-
|
|
62
|
-
var
|
|
63
|
-
return String(
|
|
60
|
+
var o = T.ReactDebugCurrentFrame, g = o.getStackAddendum();
|
|
61
|
+
g !== "" && (t += "%s", r = r.concat([g]));
|
|
62
|
+
var w = r.map(function(p) {
|
|
63
|
+
return String(p);
|
|
64
64
|
});
|
|
65
|
-
|
|
65
|
+
w.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, w);
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
|
-
var
|
|
69
|
-
|
|
68
|
+
var K = !1, A = !1, O = !1, $ = !1, W = !1, F;
|
|
69
|
+
F = Symbol.for("react.module.reference");
|
|
70
70
|
function E(e) {
|
|
71
|
-
return !!(typeof e == "string" || typeof e == "function" || e === c || e ===
|
|
71
|
+
return !!(typeof e == "string" || typeof e == "function" || e === c || e === h || W || e === d || e === y || e === n || $ || e === j || K || A || O || typeof e == "object" && e !== null && (e.$$typeof === b || e.$$typeof === s || e.$$typeof === C || e.$$typeof === k || 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.
|
|
75
|
-
e.$$typeof ===
|
|
75
|
+
e.$$typeof === F || e.getModuleId !== void 0));
|
|
76
76
|
}
|
|
77
|
-
function
|
|
77
|
+
function B(e, t, r) {
|
|
78
78
|
var o = e.displayName;
|
|
79
79
|
if (o)
|
|
80
80
|
return o;
|
|
81
|
-
var
|
|
82
|
-
return
|
|
81
|
+
var g = t.displayName || t.name || "";
|
|
82
|
+
return g !== "" ? r + "(" + g + ")" : r;
|
|
83
83
|
}
|
|
84
|
-
function
|
|
84
|
+
function v(e) {
|
|
85
85
|
return e.displayName || "Context";
|
|
86
86
|
}
|
|
87
|
-
function
|
|
87
|
+
function x(e) {
|
|
88
88
|
if (e == null)
|
|
89
89
|
return null;
|
|
90
|
-
if (typeof e.tag == "number" &&
|
|
90
|
+
if (typeof e.tag == "number" && m("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;
|
|
@@ -96,32 +96,32 @@ function Ht() {
|
|
|
96
96
|
return "Fragment";
|
|
97
97
|
case i:
|
|
98
98
|
return "Portal";
|
|
99
|
-
case
|
|
99
|
+
case h:
|
|
100
100
|
return "Profiler";
|
|
101
101
|
case d:
|
|
102
102
|
return "StrictMode";
|
|
103
|
-
case
|
|
103
|
+
case y:
|
|
104
104
|
return "Suspense";
|
|
105
105
|
case n:
|
|
106
106
|
return "SuspenseList";
|
|
107
107
|
}
|
|
108
108
|
if (typeof e == "object")
|
|
109
109
|
switch (e.$$typeof) {
|
|
110
|
-
case
|
|
110
|
+
case k:
|
|
111
111
|
var t = e;
|
|
112
|
-
return
|
|
112
|
+
return v(t) + ".Consumer";
|
|
113
113
|
case C:
|
|
114
114
|
var r = e;
|
|
115
|
-
return
|
|
115
|
+
return v(r._context) + ".Provider";
|
|
116
116
|
case l:
|
|
117
|
-
return
|
|
117
|
+
return B(e, e.render, "ForwardRef");
|
|
118
118
|
case s:
|
|
119
119
|
var o = e.displayName || null;
|
|
120
|
-
return o !== null ? o :
|
|
121
|
-
case
|
|
122
|
-
var
|
|
120
|
+
return o !== null ? o : x(e.type) || "Memo";
|
|
121
|
+
case b: {
|
|
122
|
+
var g = e, w = g._payload, p = g._init;
|
|
123
123
|
try {
|
|
124
|
-
return
|
|
124
|
+
return x(p(w));
|
|
125
125
|
} catch {
|
|
126
126
|
return null;
|
|
127
127
|
}
|
|
@@ -129,14 +129,14 @@ function Ht() {
|
|
|
129
129
|
}
|
|
130
130
|
return null;
|
|
131
131
|
}
|
|
132
|
-
var
|
|
132
|
+
var M = Object.assign, Y = 0, Q, H, ie, le, ke, we, xe;
|
|
133
133
|
function Ce() {
|
|
134
134
|
}
|
|
135
135
|
Ce.__reactDisabledLog = !0;
|
|
136
136
|
function Ue() {
|
|
137
137
|
{
|
|
138
|
-
if (
|
|
139
|
-
|
|
138
|
+
if (Y === 0) {
|
|
139
|
+
Q = console.log, H = console.info, ie = console.warn, le = console.error, ke = console.group, we = console.groupCollapsed, xe = console.groupEnd;
|
|
140
140
|
var e = {
|
|
141
141
|
configurable: !0,
|
|
142
142
|
enumerable: !0,
|
|
@@ -153,100 +153,100 @@ function Ht() {
|
|
|
153
153
|
groupEnd: e
|
|
154
154
|
});
|
|
155
155
|
}
|
|
156
|
-
|
|
156
|
+
Y++;
|
|
157
157
|
}
|
|
158
158
|
}
|
|
159
159
|
function qe() {
|
|
160
160
|
{
|
|
161
|
-
if (
|
|
161
|
+
if (Y--, Y === 0) {
|
|
162
162
|
var e = {
|
|
163
163
|
configurable: !0,
|
|
164
164
|
enumerable: !0,
|
|
165
165
|
writable: !0
|
|
166
166
|
};
|
|
167
167
|
Object.defineProperties(console, {
|
|
168
|
-
log:
|
|
169
|
-
value:
|
|
168
|
+
log: M({}, e, {
|
|
169
|
+
value: Q
|
|
170
170
|
}),
|
|
171
|
-
info:
|
|
171
|
+
info: M({}, e, {
|
|
172
172
|
value: H
|
|
173
173
|
}),
|
|
174
|
-
warn:
|
|
175
|
-
value:
|
|
174
|
+
warn: M({}, e, {
|
|
175
|
+
value: ie
|
|
176
176
|
}),
|
|
177
|
-
error:
|
|
178
|
-
value:
|
|
177
|
+
error: M({}, e, {
|
|
178
|
+
value: le
|
|
179
179
|
}),
|
|
180
|
-
group:
|
|
181
|
-
value:
|
|
180
|
+
group: M({}, e, {
|
|
181
|
+
value: ke
|
|
182
182
|
}),
|
|
183
|
-
groupCollapsed:
|
|
183
|
+
groupCollapsed: M({}, e, {
|
|
184
184
|
value: we
|
|
185
185
|
}),
|
|
186
|
-
groupEnd:
|
|
186
|
+
groupEnd: M({}, e, {
|
|
187
187
|
value: xe
|
|
188
188
|
})
|
|
189
189
|
});
|
|
190
190
|
}
|
|
191
|
-
|
|
191
|
+
Y < 0 && m("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
192
192
|
}
|
|
193
193
|
}
|
|
194
194
|
var ce = T.ReactCurrentDispatcher, ue;
|
|
195
|
-
function
|
|
195
|
+
function ae(e, t, r) {
|
|
196
196
|
{
|
|
197
197
|
if (ue === void 0)
|
|
198
198
|
try {
|
|
199
199
|
throw Error();
|
|
200
|
-
} catch (
|
|
201
|
-
var o =
|
|
200
|
+
} catch (g) {
|
|
201
|
+
var o = g.stack.trim().match(/\n( *(at )?)/);
|
|
202
202
|
ue = o && o[1] || "";
|
|
203
203
|
}
|
|
204
204
|
return `
|
|
205
205
|
` + ue + e;
|
|
206
206
|
}
|
|
207
207
|
}
|
|
208
|
-
var de = !1,
|
|
208
|
+
var de = !1, ne;
|
|
209
209
|
{
|
|
210
210
|
var Ke = typeof WeakMap == "function" ? WeakMap : Map;
|
|
211
|
-
|
|
211
|
+
ne = new Ke();
|
|
212
212
|
}
|
|
213
213
|
function je(e, t) {
|
|
214
214
|
if (!e || de)
|
|
215
215
|
return "";
|
|
216
216
|
{
|
|
217
|
-
var r =
|
|
217
|
+
var r = ne.get(e);
|
|
218
218
|
if (r !== void 0)
|
|
219
219
|
return r;
|
|
220
220
|
}
|
|
221
221
|
var o;
|
|
222
222
|
de = !0;
|
|
223
|
-
var
|
|
223
|
+
var g = Error.prepareStackTrace;
|
|
224
224
|
Error.prepareStackTrace = void 0;
|
|
225
|
-
var
|
|
226
|
-
|
|
225
|
+
var w;
|
|
226
|
+
w = ce.current, ce.current = null, Ue();
|
|
227
227
|
try {
|
|
228
228
|
if (t) {
|
|
229
|
-
var
|
|
229
|
+
var p = function() {
|
|
230
230
|
throw Error();
|
|
231
231
|
};
|
|
232
|
-
if (Object.defineProperty(
|
|
232
|
+
if (Object.defineProperty(p.prototype, "props", {
|
|
233
233
|
set: function() {
|
|
234
234
|
throw Error();
|
|
235
235
|
}
|
|
236
236
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
237
237
|
try {
|
|
238
|
-
Reflect.construct(
|
|
238
|
+
Reflect.construct(p, []);
|
|
239
239
|
} catch (U) {
|
|
240
240
|
o = U;
|
|
241
241
|
}
|
|
242
|
-
Reflect.construct(e, [],
|
|
242
|
+
Reflect.construct(e, [], p);
|
|
243
243
|
} else {
|
|
244
244
|
try {
|
|
245
|
-
|
|
245
|
+
p.call();
|
|
246
246
|
} catch (U) {
|
|
247
247
|
o = U;
|
|
248
248
|
}
|
|
249
|
-
e.call(
|
|
249
|
+
e.call(p.prototype);
|
|
250
250
|
}
|
|
251
251
|
} else {
|
|
252
252
|
try {
|
|
@@ -259,27 +259,27 @@ function Ht() {
|
|
|
259
259
|
} catch (U) {
|
|
260
260
|
if (U && o && typeof U.stack == "string") {
|
|
261
261
|
for (var u = U.stack.split(`
|
|
262
|
-
`),
|
|
263
|
-
`), R = u.length - 1,
|
|
264
|
-
|
|
265
|
-
for (; R >= 1 &&
|
|
266
|
-
if (u[R] !==
|
|
267
|
-
if (R !== 1 ||
|
|
262
|
+
`), L = o.stack.split(`
|
|
263
|
+
`), R = u.length - 1, D = L.length - 1; R >= 1 && D >= 0 && u[R] !== L[D]; )
|
|
264
|
+
D--;
|
|
265
|
+
for (; R >= 1 && D >= 0; R--, D--)
|
|
266
|
+
if (u[R] !== L[D]) {
|
|
267
|
+
if (R !== 1 || D !== 1)
|
|
268
268
|
do
|
|
269
|
-
if (R--,
|
|
270
|
-
var
|
|
269
|
+
if (R--, D--, D < 0 || u[R] !== L[D]) {
|
|
270
|
+
var G = `
|
|
271
271
|
` + u[R].replace(" at new ", " at ");
|
|
272
|
-
return e.displayName &&
|
|
272
|
+
return e.displayName && G.includes("<anonymous>") && (G = G.replace("<anonymous>", e.displayName)), typeof e == "function" && ne.set(e, G), G;
|
|
273
273
|
}
|
|
274
|
-
while (R >= 1 &&
|
|
274
|
+
while (R >= 1 && D >= 0);
|
|
275
275
|
break;
|
|
276
276
|
}
|
|
277
277
|
}
|
|
278
278
|
} finally {
|
|
279
|
-
de = !1, ce.current =
|
|
279
|
+
de = !1, ce.current = w, qe(), Error.prepareStackTrace = g;
|
|
280
280
|
}
|
|
281
|
-
var X = e ? e.displayName || e.name : "", J = X ?
|
|
282
|
-
return typeof e == "function" &&
|
|
281
|
+
var X = e ? e.displayName || e.name : "", J = X ? ae(X) : "";
|
|
282
|
+
return typeof e == "function" && ne.set(e, J), J;
|
|
283
283
|
}
|
|
284
284
|
function Ge(e, t, r) {
|
|
285
285
|
return je(e, !1);
|
|
@@ -288,59 +288,59 @@ function Ht() {
|
|
|
288
288
|
var t = e.prototype;
|
|
289
289
|
return !!(t && t.isReactComponent);
|
|
290
290
|
}
|
|
291
|
-
function
|
|
291
|
+
function oe(e, t, r) {
|
|
292
292
|
if (e == null)
|
|
293
293
|
return "";
|
|
294
294
|
if (typeof e == "function")
|
|
295
295
|
return je(e, Ye(e));
|
|
296
296
|
if (typeof e == "string")
|
|
297
|
-
return
|
|
297
|
+
return ae(e);
|
|
298
298
|
switch (e) {
|
|
299
|
-
case
|
|
300
|
-
return
|
|
299
|
+
case y:
|
|
300
|
+
return ae("Suspense");
|
|
301
301
|
case n:
|
|
302
|
-
return
|
|
302
|
+
return ae("SuspenseList");
|
|
303
303
|
}
|
|
304
304
|
if (typeof e == "object")
|
|
305
305
|
switch (e.$$typeof) {
|
|
306
306
|
case l:
|
|
307
307
|
return Ge(e.render);
|
|
308
308
|
case s:
|
|
309
|
-
return
|
|
310
|
-
case
|
|
311
|
-
var o = e,
|
|
309
|
+
return oe(e.type, t, r);
|
|
310
|
+
case b: {
|
|
311
|
+
var o = e, g = o._payload, w = o._init;
|
|
312
312
|
try {
|
|
313
|
-
return
|
|
313
|
+
return oe(w(g), t, r);
|
|
314
314
|
} catch {
|
|
315
315
|
}
|
|
316
316
|
}
|
|
317
317
|
}
|
|
318
318
|
return "";
|
|
319
319
|
}
|
|
320
|
-
var
|
|
321
|
-
function
|
|
320
|
+
var te = Object.prototype.hasOwnProperty, Ee = {}, Se = T.ReactDebugCurrentFrame;
|
|
321
|
+
function _e(e) {
|
|
322
322
|
if (e) {
|
|
323
|
-
var t = e._owner, r =
|
|
323
|
+
var t = e._owner, r = oe(e.type, e._source, t ? t.type : null);
|
|
324
324
|
Se.setExtraStackFrame(r);
|
|
325
325
|
} else
|
|
326
326
|
Se.setExtraStackFrame(null);
|
|
327
327
|
}
|
|
328
|
-
function ze(e, t, r, o,
|
|
328
|
+
function ze(e, t, r, o, g) {
|
|
329
329
|
{
|
|
330
|
-
var
|
|
331
|
-
for (var
|
|
332
|
-
if (
|
|
330
|
+
var w = Function.call.bind(te);
|
|
331
|
+
for (var p in e)
|
|
332
|
+
if (w(e, p)) {
|
|
333
333
|
var u = void 0;
|
|
334
334
|
try {
|
|
335
|
-
if (typeof e[
|
|
336
|
-
var
|
|
337
|
-
throw
|
|
335
|
+
if (typeof e[p] != "function") {
|
|
336
|
+
var L = Error((o || "React class") + ": " + r + " type `" + p + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[p] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
337
|
+
throw L.name = "Invariant Violation", L;
|
|
338
338
|
}
|
|
339
|
-
u = e[
|
|
339
|
+
u = e[p](t, p, o, r, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
340
340
|
} catch (R) {
|
|
341
341
|
u = R;
|
|
342
342
|
}
|
|
343
|
-
u && !(u instanceof Error) && (
|
|
343
|
+
u && !(u instanceof Error) && (_e(g), m("%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, p, typeof u), _e(null)), u instanceof Error && !(u.message in Ee) && (Ee[u.message] = !0, _e(g), m("Failed %s type: %s", r, u.message), _e(null));
|
|
344
344
|
}
|
|
345
345
|
}
|
|
346
346
|
}
|
|
@@ -354,7 +354,7 @@ function Ht() {
|
|
|
354
354
|
return r;
|
|
355
355
|
}
|
|
356
356
|
}
|
|
357
|
-
function
|
|
357
|
+
function Ve(e) {
|
|
358
358
|
try {
|
|
359
359
|
return Re(e), !1;
|
|
360
360
|
} catch {
|
|
@@ -365,17 +365,17 @@ function Ht() {
|
|
|
365
365
|
return "" + e;
|
|
366
366
|
}
|
|
367
367
|
function Te(e) {
|
|
368
|
-
if (
|
|
369
|
-
return
|
|
368
|
+
if (Ve(e))
|
|
369
|
+
return m("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 = T.ReactCurrentOwner,
|
|
371
|
+
var Oe = T.ReactCurrentOwner, Ze = {
|
|
372
372
|
key: !0,
|
|
373
373
|
ref: !0,
|
|
374
374
|
__self: !0,
|
|
375
375
|
__source: !0
|
|
376
376
|
}, De, Pe;
|
|
377
377
|
function Xe(e) {
|
|
378
|
-
if (
|
|
378
|
+
if (te.call(e, "ref")) {
|
|
379
379
|
var t = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
380
380
|
if (t && t.isReactWarning)
|
|
381
381
|
return !1;
|
|
@@ -383,7 +383,7 @@ function Ht() {
|
|
|
383
383
|
return e.ref !== void 0;
|
|
384
384
|
}
|
|
385
385
|
function Qe(e) {
|
|
386
|
-
if (
|
|
386
|
+
if (te.call(e, "key")) {
|
|
387
387
|
var t = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
388
388
|
if (t && t.isReactWarning)
|
|
389
389
|
return !1;
|
|
@@ -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, m("%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, m("%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,
|
|
@@ -415,7 +415,7 @@ function Ht() {
|
|
|
415
415
|
});
|
|
416
416
|
}
|
|
417
417
|
}
|
|
418
|
-
var at = function(e, t, r, o,
|
|
418
|
+
var at = function(e, t, r, o, g, w, p) {
|
|
419
419
|
var u = {
|
|
420
420
|
// This tag allows us to uniquely identify this as a React Element
|
|
421
421
|
$$typeof: _,
|
|
@@ -423,9 +423,9 @@ function Ht() {
|
|
|
423
423
|
type: e,
|
|
424
424
|
key: t,
|
|
425
425
|
ref: r,
|
|
426
|
-
props:
|
|
426
|
+
props: p,
|
|
427
427
|
// Record the component responsible for creating this element.
|
|
428
|
-
_owner:
|
|
428
|
+
_owner: w
|
|
429
429
|
};
|
|
430
430
|
return u._store = {}, Object.defineProperty(u._store, "validated", {
|
|
431
431
|
configurable: !1,
|
|
@@ -441,31 +441,31 @@ function Ht() {
|
|
|
441
441
|
configurable: !1,
|
|
442
442
|
enumerable: !1,
|
|
443
443
|
writable: !1,
|
|
444
|
-
value:
|
|
444
|
+
value: g
|
|
445
445
|
}), Object.freeze && (Object.freeze(u.props), Object.freeze(u)), u;
|
|
446
446
|
};
|
|
447
|
-
function nt(e, t, r, o,
|
|
447
|
+
function nt(e, t, r, o, g) {
|
|
448
448
|
{
|
|
449
|
-
var
|
|
450
|
-
r !== void 0 && (Te(r), u = "" + r), Qe(t) && (Te(t.key), u = "" + t.key), Xe(t) && (
|
|
451
|
-
for (
|
|
452
|
-
|
|
449
|
+
var w, p = {}, u = null, L = null;
|
|
450
|
+
r !== void 0 && (Te(r), u = "" + r), Qe(t) && (Te(t.key), u = "" + t.key), Xe(t) && (L = t.ref, et(t, g));
|
|
451
|
+
for (w in t)
|
|
452
|
+
te.call(t, w) && !Ze.hasOwnProperty(w) && (p[w] = t[w]);
|
|
453
453
|
if (e && e.defaultProps) {
|
|
454
454
|
var R = e.defaultProps;
|
|
455
|
-
for (
|
|
456
|
-
|
|
455
|
+
for (w in R)
|
|
456
|
+
p[w] === void 0 && (p[w] = R[w]);
|
|
457
457
|
}
|
|
458
|
-
if (u ||
|
|
459
|
-
var
|
|
460
|
-
u && tt(
|
|
458
|
+
if (u || L) {
|
|
459
|
+
var D = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
460
|
+
u && tt(p, D), L && rt(p, D);
|
|
461
461
|
}
|
|
462
|
-
return at(e, u,
|
|
462
|
+
return at(e, u, L, g, o, Oe.current, p);
|
|
463
463
|
}
|
|
464
464
|
}
|
|
465
465
|
var me = T.ReactCurrentOwner, Ne = T.ReactDebugCurrentFrame;
|
|
466
|
-
function
|
|
466
|
+
function Z(e) {
|
|
467
467
|
if (e) {
|
|
468
|
-
var t = e._owner, r =
|
|
468
|
+
var t = e._owner, r = oe(e.type, e._source, t ? t.type : null);
|
|
469
469
|
Ne.setExtraStackFrame(r);
|
|
470
470
|
} else
|
|
471
471
|
Ne.setExtraStackFrame(null);
|
|
@@ -478,7 +478,7 @@ function Ht() {
|
|
|
478
478
|
function Fe() {
|
|
479
479
|
{
|
|
480
480
|
if (me.current) {
|
|
481
|
-
var e =
|
|
481
|
+
var e = x(me.current.type);
|
|
482
482
|
if (e)
|
|
483
483
|
return `
|
|
484
484
|
|
|
@@ -513,7 +513,7 @@ Check the top-level render call using <` + r + ">.");
|
|
|
513
513
|
return;
|
|
514
514
|
Me[r] = !0;
|
|
515
515
|
var o = "";
|
|
516
|
-
e && e._owner && e._owner !== me.current && (o = " It was passed a child from " +
|
|
516
|
+
e && e._owner && e._owner !== me.current && (o = " It was passed a child from " + x(e._owner.type) + "."), Z(e), m('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), Z(null);
|
|
517
517
|
}
|
|
518
518
|
}
|
|
519
519
|
function Ae(e, t) {
|
|
@@ -528,10 +528,10 @@ Check the top-level render call using <` + r + ">.");
|
|
|
528
528
|
else if (ye(e))
|
|
529
529
|
e._store && (e._store.validated = !0);
|
|
530
530
|
else if (e) {
|
|
531
|
-
var
|
|
532
|
-
if (typeof
|
|
533
|
-
for (var
|
|
534
|
-
ye(
|
|
531
|
+
var g = P(e);
|
|
532
|
+
if (typeof g == "function" && g !== e.entries)
|
|
533
|
+
for (var w = g.call(e), p; !(p = w.next()).done; )
|
|
534
|
+
ye(p.value) && Ie(p.value, t);
|
|
535
535
|
}
|
|
536
536
|
}
|
|
537
537
|
}
|
|
@@ -550,14 +550,14 @@ Check the top-level render call using <` + r + ">.");
|
|
|
550
550
|
else
|
|
551
551
|
return;
|
|
552
552
|
if (r) {
|
|
553
|
-
var o =
|
|
553
|
+
var o = x(t);
|
|
554
554
|
ze(r, e.props, "prop", o, e);
|
|
555
555
|
} else if (t.PropTypes !== void 0 && !pe) {
|
|
556
556
|
pe = !0;
|
|
557
|
-
var
|
|
558
|
-
|
|
557
|
+
var g = x(t);
|
|
558
|
+
m("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", g || "Unknown");
|
|
559
559
|
}
|
|
560
|
-
typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved &&
|
|
560
|
+
typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && m("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
561
561
|
}
|
|
562
562
|
}
|
|
563
563
|
function st(e) {
|
|
@@ -565,48 +565,48 @@ Check the top-level render call using <` + r + ">.");
|
|
|
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
|
-
|
|
568
|
+
Z(e), m("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", o), Z(null);
|
|
569
569
|
break;
|
|
570
570
|
}
|
|
571
571
|
}
|
|
572
|
-
e.ref !== null && (
|
|
572
|
+
e.ref !== null && (Z(e), m("Invalid attribute `ref` supplied to `React.Fragment`."), Z(null));
|
|
573
573
|
}
|
|
574
574
|
}
|
|
575
575
|
var $e = {};
|
|
576
|
-
function Be(e, t, r, o,
|
|
576
|
+
function Be(e, t, r, o, g, w) {
|
|
577
577
|
{
|
|
578
|
-
var
|
|
579
|
-
if (!
|
|
578
|
+
var p = E(e);
|
|
579
|
+
if (!p) {
|
|
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
|
-
|
|
582
|
+
var L = ot();
|
|
583
|
+
L ? u += L : u += Fe();
|
|
584
584
|
var R;
|
|
585
|
-
e === null ? R = "null" : fe(e) ? R = "array" : e !== void 0 && e.$$typeof === _ ? (R = "<" + (
|
|
585
|
+
e === null ? R = "null" : fe(e) ? R = "array" : e !== void 0 && e.$$typeof === _ ? (R = "<" + (x(e.type) || "Unknown") + " />", u = " Did you accidentally export a JSX literal instead of a component?") : R = typeof e, m("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
|
|
590
|
-
if (
|
|
591
|
-
var
|
|
592
|
-
if (
|
|
587
|
+
var D = nt(e, t, r, g, w);
|
|
588
|
+
if (D == null)
|
|
589
|
+
return D;
|
|
590
|
+
if (p) {
|
|
591
|
+
var G = t.children;
|
|
592
|
+
if (G !== void 0)
|
|
593
593
|
if (o)
|
|
594
|
-
if (fe(
|
|
595
|
-
for (var X = 0; X <
|
|
596
|
-
Ae(
|
|
597
|
-
Object.freeze && Object.freeze(
|
|
594
|
+
if (fe(G)) {
|
|
595
|
+
for (var X = 0; X < G.length; X++)
|
|
596
|
+
Ae(G[X], e);
|
|
597
|
+
Object.freeze && Object.freeze(G);
|
|
598
598
|
} else
|
|
599
|
-
|
|
599
|
+
m("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
|
-
Ae(
|
|
601
|
+
Ae(G, e);
|
|
602
602
|
}
|
|
603
|
-
if (
|
|
604
|
-
var J =
|
|
603
|
+
if (te.call(t, "key")) {
|
|
604
|
+
var J = x(e), U = Object.keys(t).filter(function(mt) {
|
|
605
605
|
return mt !== "key";
|
|
606
606
|
}), ve = U.length > 0 ? "{key: someKey, " + U.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
607
607
|
if (!$e[J + ve]) {
|
|
608
608
|
var ft = U.length > 0 ? "{" + U.join(": ..., ") + ": ...}" : "{}";
|
|
609
|
-
|
|
609
|
+
m(`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,7 +614,7 @@ 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 ? st(
|
|
617
|
+
return e === c ? st(D) : it(D), D;
|
|
618
618
|
}
|
|
619
619
|
}
|
|
620
620
|
function lt(e, t, r) {
|
|
@@ -627,219 +627,58 @@ React keys must be passed directly to JSX without using spread:
|
|
|
627
627
|
yt.Fragment = c, yt.jsx = ut, yt.jsxs = dt;
|
|
628
628
|
}()), yt;
|
|
629
629
|
}
|
|
630
|
-
process.env.NODE_ENV === "production" ?
|
|
631
|
-
var f =
|
|
630
|
+
process.env.NODE_ENV === "production" ? St.exports = zt() : St.exports = Ht();
|
|
631
|
+
var f = St.exports;
|
|
632
632
|
function da({ name: a, value: _, title: i, style: c, className: d }) {
|
|
633
|
-
let
|
|
633
|
+
let h = {
|
|
634
634
|
field: "progress"
|
|
635
635
|
};
|
|
636
|
-
return c && (
|
|
636
|
+
return c && (h.style = c), d && (h.className = d), /* @__PURE__ */ f.jsxs("dl", { ...h, children: [
|
|
637
637
|
i && /* @__PURE__ */ f.jsx("dt", { children: i }),
|
|
638
638
|
/* @__PURE__ */ f.jsx("dd", {})
|
|
639
639
|
] });
|
|
640
640
|
}
|
|
641
|
-
const Jt = "
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
};
|
|
655
|
-
Z.PasteOne = (a) => {
|
|
656
|
-
a.preventDefault(), navigator.clipboard.readText().then((_) => {
|
|
657
|
-
_ = _.replace(/^\s*/, "").replace(/\s*$/, ""), window.document.execCommand("insertText", !1, _);
|
|
658
|
-
}).catch((_) => {
|
|
659
|
-
});
|
|
660
|
-
};
|
|
661
|
-
Z.Paste = (a, _) => {
|
|
662
|
-
_.preventDefault(), navigator.clipboard.readText().then((i) => {
|
|
663
|
-
if (a) {
|
|
664
|
-
let c = _.target.textContent.length;
|
|
665
|
-
if (c >= a) return;
|
|
666
|
-
a -= c, i = i.slice(0, a);
|
|
667
|
-
}
|
|
668
|
-
window.document.execCommand(
|
|
669
|
-
"insertText",
|
|
670
|
-
!1,
|
|
671
|
-
i.replace(/(\r\n|\n|\r)/gm, " ")
|
|
672
|
-
);
|
|
673
|
-
}).catch((i) => {
|
|
674
|
-
});
|
|
675
|
-
};
|
|
676
|
-
Z.Focus = (a) => {
|
|
677
|
-
a.target.textContent.length === 0 && (a.target.innerHTML = "<br>");
|
|
678
|
-
};
|
|
679
|
-
Z.Blur = (a) => {
|
|
680
|
-
a.target.scrollLeft = 0, a.target.querySelector("br") !== null && a.target.querySelector("br").remove();
|
|
681
|
-
};
|
|
682
|
-
Z.ContentEditable = "plaintext-only";
|
|
683
|
-
const ar = "_n_1ery1_2", nr = "_e_1ery1_8", or = "_s_1ery1_11", _r = "_r_1ery1_14", We = {
|
|
684
|
-
n: ar,
|
|
685
|
-
e: nr,
|
|
686
|
-
s: or,
|
|
687
|
-
r: _r,
|
|
688
|
-
с: "_с_1ery1_17"
|
|
689
|
-
};
|
|
690
|
-
let be = {};
|
|
691
|
-
function vt({ data: a }) {
|
|
692
|
-
let [_, i] = S.useState("show");
|
|
693
|
-
S.useEffect(() => {
|
|
694
|
-
a.hide && (setTimeout(function() {
|
|
695
|
-
i("hide");
|
|
696
|
-
}, 1800), setTimeout(function() {
|
|
697
|
-
be.del(a.key);
|
|
698
|
-
}, 2500));
|
|
699
|
-
}, [a.key]);
|
|
700
|
-
let c, d, k;
|
|
701
|
-
switch (a.type) {
|
|
702
|
-
case "error":
|
|
703
|
-
c = /* @__PURE__ */ S.createElement(Le.error, null), d = "Ошибка:", k = We.e;
|
|
704
|
-
break;
|
|
705
|
-
case "success":
|
|
706
|
-
c = /* @__PURE__ */ S.createElement(Le.success, null), d = "Информация:", k = We.s;
|
|
707
|
-
break;
|
|
708
|
-
case "copy":
|
|
709
|
-
c = /* @__PURE__ */ S.createElement(Le.success, null), d = "Копирование:", k = We.с;
|
|
710
|
-
break;
|
|
711
|
-
case "remark":
|
|
712
|
-
c = /* @__PURE__ */ S.createElement(Le.success, null), d = "Подсказка:", k = We.r;
|
|
713
|
-
break;
|
|
714
|
-
default:
|
|
715
|
-
c = /* @__PURE__ */ S.createElement(Le.success, null), d = "Предупреждение:", k = We.с;
|
|
716
|
-
break;
|
|
717
|
-
}
|
|
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
|
-
}
|
|
720
|
-
function ir({ data: a }) {
|
|
721
|
-
let [_, i] = S.useState("show");
|
|
722
|
-
return S.useEffect(() => {
|
|
723
|
-
a.hide && (setTimeout(function() {
|
|
724
|
-
i("hide");
|
|
725
|
-
}, 1800), setTimeout(function() {
|
|
726
|
-
be.del(a.key);
|
|
727
|
-
}, 2500));
|
|
728
|
-
}, [a.key]), /* @__PURE__ */ S.createElement("li", { className: "item", "data-status": _ }, a.text);
|
|
729
|
-
}
|
|
730
|
-
const Le = {};
|
|
731
|
-
Le.error = () => /* @__PURE__ */ S.createElement("svg", { viewBox: "0 0 24 24", fill: "none" }, /* @__PURE__ */ S.createElement(
|
|
732
|
-
"path",
|
|
733
|
-
{
|
|
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
|
-
fill: "#bb2014"
|
|
736
|
-
}
|
|
737
|
-
), /* @__PURE__ */ S.createElement(
|
|
738
|
-
"path",
|
|
739
|
-
{
|
|
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
|
-
fill: "#fff"
|
|
742
|
-
}
|
|
743
|
-
));
|
|
744
|
-
Le.success = () => /* @__PURE__ */ S.createElement("svg", { viewBox: "0 0 24 24", fill: "none" }, /* @__PURE__ */ S.createElement(
|
|
745
|
-
"path",
|
|
746
|
-
{
|
|
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
|
-
fill: "#367738"
|
|
749
|
-
}
|
|
750
|
-
), /* @__PURE__ */ S.createElement(
|
|
751
|
-
"path",
|
|
752
|
-
{
|
|
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",
|
|
754
|
-
fill: "#fff"
|
|
755
|
-
}
|
|
756
|
-
));
|
|
757
|
-
var xt;
|
|
758
|
-
((a) => {
|
|
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
|
-
}
|
|
767
|
-
a.Init = _;
|
|
768
|
-
function i(l, p = !0) {
|
|
769
|
-
let n = Date.now(), s = { key: n, text: l, hide: p, type: "error" };
|
|
770
|
-
be.set({
|
|
771
|
-
item: /* @__PURE__ */ S.createElement(vt, { key: n, data: s }),
|
|
772
|
-
key: n
|
|
773
|
-
});
|
|
774
|
-
}
|
|
775
|
-
a.Error = i;
|
|
776
|
-
function c(l, p = !0) {
|
|
777
|
-
let n = Date.now(), s = { key: n, text: l, hide: p, type: "success" };
|
|
778
|
-
be.set({
|
|
779
|
-
item: /* @__PURE__ */ S.createElement(vt, { key: n, data: s }),
|
|
780
|
-
key: n
|
|
781
|
-
});
|
|
782
|
-
}
|
|
783
|
-
a.Success = c;
|
|
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
|
-
}
|
|
788
|
-
a.Custom = d;
|
|
789
|
-
function k(l) {
|
|
790
|
-
let p = Date.now(), n = { key: p, hide: !0, ...l };
|
|
791
|
-
be.set({
|
|
792
|
-
item: /* @__PURE__ */ S.createElement(vt, { key: p, data: n }),
|
|
793
|
-
key: p
|
|
794
|
-
});
|
|
795
|
-
}
|
|
796
|
-
a.Send = k;
|
|
797
|
-
function C(l, p = !0) {
|
|
798
|
-
let n = Date.now(), s = { key: n, text: l, hide: p, type: "remark" };
|
|
799
|
-
be.set({
|
|
800
|
-
item: /* @__PURE__ */ S.createElement(vt, { key: n, data: s }),
|
|
801
|
-
key: n
|
|
802
|
-
});
|
|
803
|
-
}
|
|
804
|
-
a.Remark = C;
|
|
805
|
-
function b(l, p = !0) {
|
|
806
|
-
let n = Date.now(), s = { key: n, text: l, hide: p, type: "copy" };
|
|
807
|
-
be.set({
|
|
808
|
-
item: /* @__PURE__ */ S.createElement(vt, { key: n, data: s }),
|
|
809
|
-
key: n
|
|
810
|
-
});
|
|
811
|
-
}
|
|
812
|
-
a.Copy = b;
|
|
813
|
-
})(xt || (xt = {}));
|
|
814
|
-
const he = qt(
|
|
641
|
+
const Jt = "_o_1c9e1_1", Vt = "_c_1c9e1_11", xt = {
|
|
642
|
+
o: Jt,
|
|
643
|
+
c: Vt
|
|
644
|
+
}, Zt = "_l_xeir5_1", Xt = "_f_xeir5_25", Qt = "_n_xeir5_43", er = "_w_xeir5_50", tr = "_t_xeir5_60", rr = "_g_xeir5_66", ar = "_h_xeir5_70", nr = "_e_xeir5_103", ee = {
|
|
645
|
+
l: Zt,
|
|
646
|
+
f: Xt,
|
|
647
|
+
n: Qt,
|
|
648
|
+
w: er,
|
|
649
|
+
t: tr,
|
|
650
|
+
g: rr,
|
|
651
|
+
h: ar,
|
|
652
|
+
e: nr
|
|
653
|
+
}, he = qt(
|
|
815
654
|
({
|
|
816
655
|
element_blok: a,
|
|
817
656
|
element_input: _,
|
|
818
657
|
type: i = "input",
|
|
819
658
|
title: c,
|
|
820
659
|
error: d,
|
|
821
|
-
before:
|
|
660
|
+
before: h,
|
|
822
661
|
after: C,
|
|
823
|
-
children:
|
|
662
|
+
children: k
|
|
824
663
|
}, l) => /* @__PURE__ */ f.jsxs(
|
|
825
664
|
"dl",
|
|
826
665
|
{
|
|
827
666
|
"data-field": i,
|
|
828
|
-
className: [
|
|
667
|
+
className: [ee.l, ...a.className].filter((y) => y !== void 0).join(" "),
|
|
829
668
|
children: [
|
|
830
|
-
c ? /* @__PURE__ */ f.jsx("dt", { className:
|
|
831
|
-
|
|
669
|
+
c ? /* @__PURE__ */ f.jsx("dt", { className: ee.t, children: c }) : "",
|
|
670
|
+
h,
|
|
832
671
|
/* @__PURE__ */ f.jsx(
|
|
833
672
|
"dd",
|
|
834
673
|
{
|
|
835
674
|
ref: l,
|
|
836
675
|
className: [
|
|
837
|
-
|
|
676
|
+
ee.f,
|
|
838
677
|
..._.className,
|
|
839
|
-
d && d.length > 0 ?
|
|
678
|
+
d && d.length > 0 ? ee.e : ""
|
|
840
679
|
].join(" "),
|
|
841
680
|
..._.props,
|
|
842
|
-
children:
|
|
681
|
+
children: k
|
|
843
682
|
}
|
|
844
683
|
),
|
|
845
684
|
C
|
|
@@ -848,113 +687,28 @@ const he = qt(
|
|
|
848
687
|
)
|
|
849
688
|
);
|
|
850
689
|
function fa({
|
|
851
|
-
value: a = "",
|
|
852
|
-
onValue: _,
|
|
853
|
-
onSave: i,
|
|
854
|
-
name: c,
|
|
855
|
-
format: d = "+_(___) ___-__-__",
|
|
856
|
-
placeholder: k = "",
|
|
857
|
-
title: C = "",
|
|
858
|
-
error: b = "",
|
|
859
|
-
hide: l = !1,
|
|
860
|
-
edit: p = !0,
|
|
861
|
-
active: n = !0,
|
|
862
|
-
after: s = "",
|
|
863
|
-
show: w = !0,
|
|
864
|
-
view: j,
|
|
865
|
-
className: F = ""
|
|
866
|
-
}) {
|
|
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
|
-
g.preventDefault(), navigator.clipboard.readText().then((v) => {
|
|
873
|
-
window.document.execCommand("insertText", !1, v);
|
|
874
|
-
}).catch((v) => {
|
|
875
|
-
});
|
|
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
|
-
});
|
|
883
|
-
let ae = D.replace(/\D/g, "");
|
|
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
|
-
}, L = (g) => {
|
|
888
|
-
g.preventDefault(), navigator.clipboard.writeText(g.target.textContent.replace(/\D/g, "")).then(
|
|
889
|
-
function() {
|
|
890
|
-
xt.Copy("Данные в буфер обмене");
|
|
891
|
-
},
|
|
892
|
-
function(v) {
|
|
893
|
-
}
|
|
894
|
-
);
|
|
895
|
-
}, M = A(a), $ = (g) => {
|
|
896
|
-
let v = A(g.target.textContent);
|
|
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
|
-
}, N = (g) => {
|
|
899
|
-
g.key === "Enter" && g.preventDefault();
|
|
900
|
-
};
|
|
901
|
-
const E = (g) => {
|
|
902
|
-
Z.Blur(g), i && i({
|
|
903
|
-
value: g.target.textContent.replace(/\D/g, ""),
|
|
904
|
-
name: c
|
|
905
|
-
});
|
|
906
|
-
};
|
|
907
|
-
let G = {};
|
|
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
|
-
he,
|
|
910
|
-
{
|
|
911
|
-
type: "input",
|
|
912
|
-
title: C,
|
|
913
|
-
element_blok: { className: [F] },
|
|
914
|
-
element_input: { className: [Q.w] },
|
|
915
|
-
children: /* @__PURE__ */ f.jsx(
|
|
916
|
-
"div",
|
|
917
|
-
{
|
|
918
|
-
onPaste: q,
|
|
919
|
-
onInput: $,
|
|
920
|
-
onKeyDown: N,
|
|
921
|
-
onContextMenu: L,
|
|
922
|
-
onBlur: E,
|
|
923
|
-
suppressContentEditableWarning: !0,
|
|
924
|
-
...G,
|
|
925
|
-
children: M.q
|
|
926
|
-
}
|
|
927
|
-
)
|
|
928
|
-
}
|
|
929
|
-
);
|
|
930
|
-
}
|
|
931
|
-
const sr = "_o_1c9e1_1", lr = "_c_1c9e1_11", Ct = {
|
|
932
|
-
o: sr,
|
|
933
|
-
c: lr
|
|
934
|
-
};
|
|
935
|
-
function ma({
|
|
936
690
|
value: a,
|
|
937
691
|
onValue: _,
|
|
938
692
|
name: i,
|
|
939
693
|
error: c,
|
|
940
694
|
icon: d,
|
|
941
|
-
edit:
|
|
695
|
+
edit: h = !0,
|
|
942
696
|
active: C = !0,
|
|
943
|
-
title:
|
|
697
|
+
title: k,
|
|
944
698
|
placeholder: l = "",
|
|
945
|
-
className:
|
|
699
|
+
className: y
|
|
946
700
|
}) {
|
|
947
701
|
let [n, s] = S.useState(a);
|
|
948
|
-
const
|
|
702
|
+
const b = S.useRef(null), [j, I] = S.useState(!1);
|
|
949
703
|
S.useEffect(() => {
|
|
950
704
|
s(a);
|
|
951
705
|
}, [a]);
|
|
952
|
-
let
|
|
953
|
-
s(
|
|
954
|
-
},
|
|
955
|
-
if (!
|
|
956
|
-
const
|
|
957
|
-
|
|
706
|
+
let q = (m) => {
|
|
707
|
+
s(m), _ && _({ value: m, name: i });
|
|
708
|
+
}, P = (m) => {
|
|
709
|
+
if (!h || !C) return;
|
|
710
|
+
const N = m.target.getBoundingClientRect(), K = N.left, A = N.top;
|
|
711
|
+
b.position = { x: K, y: A }, I(!0);
|
|
958
712
|
};
|
|
959
713
|
const T = {};
|
|
960
714
|
return l && (T.placeholder = l), d || /* @__PURE__ */ f.jsxs(f.Fragment, { children: [
|
|
@@ -962,20 +716,20 @@ function ma({
|
|
|
962
716
|
he,
|
|
963
717
|
{
|
|
964
718
|
type: "date",
|
|
965
|
-
title:
|
|
966
|
-
element_blok: { className: [
|
|
967
|
-
element_input: { className: [
|
|
968
|
-
children: /* @__PURE__ */ f.jsx("div", { onClick:
|
|
719
|
+
title: k,
|
|
720
|
+
element_blok: { className: [y] },
|
|
721
|
+
element_input: { className: [ee.w] },
|
|
722
|
+
children: /* @__PURE__ */ f.jsx("div", { onClick: P, ...T, children: _r(n, "mm.yyyy") })
|
|
969
723
|
}
|
|
970
724
|
),
|
|
971
725
|
j && Nt(
|
|
972
726
|
/* @__PURE__ */ f.jsx(
|
|
973
|
-
|
|
727
|
+
or,
|
|
974
728
|
{
|
|
975
|
-
position:
|
|
976
|
-
onValue:
|
|
729
|
+
position: b.position,
|
|
730
|
+
onValue: q,
|
|
977
731
|
date: n,
|
|
978
|
-
onOpen:
|
|
732
|
+
onOpen: I
|
|
979
733
|
},
|
|
980
734
|
(/* @__PURE__ */ new Date()).getTime()
|
|
981
735
|
),
|
|
@@ -983,27 +737,27 @@ function ma({
|
|
|
983
737
|
)
|
|
984
738
|
] });
|
|
985
739
|
}
|
|
986
|
-
const
|
|
987
|
-
let d = /* @__PURE__ */ new Date(),
|
|
740
|
+
const or = ({ onOpen: a, date: _, onValue: i, position: c }) => {
|
|
741
|
+
let d = /* @__PURE__ */ new Date(), h = new Date(_), C = {
|
|
988
742
|
y: parseInt(d.getFullYear()),
|
|
989
743
|
m: parseInt(d.getMonth()) + 1
|
|
990
|
-
},
|
|
991
|
-
y: parseInt(
|
|
992
|
-
m: parseInt(
|
|
993
|
-
}, [l,
|
|
744
|
+
}, k = {
|
|
745
|
+
y: parseInt(h.getFullYear()),
|
|
746
|
+
m: parseInt(h.getMonth()) + 1
|
|
747
|
+
}, [l, y] = S.useState(k.y), n = () => {
|
|
994
748
|
a(!1);
|
|
995
749
|
}, s = () => {
|
|
996
|
-
|
|
997
|
-
},
|
|
998
|
-
|
|
999
|
-
}, j = (
|
|
1000
|
-
i(l + "-" +
|
|
1001
|
-
},
|
|
750
|
+
y(l + 1);
|
|
751
|
+
}, b = () => {
|
|
752
|
+
y(l - 1);
|
|
753
|
+
}, j = (m) => {
|
|
754
|
+
i(l + "-" + ir(2, m)), n();
|
|
755
|
+
}, I = (m) => C.y === k.y && C.m === m ? "_FFEB3B" : "", q = Array(12).fill("").map((m, N) => N + 1), P = window.innerHeight - c.y + 33 < 320 ? c.y - 312 : c.y + 33, T = window.innerWidth - c.x < 265 ? c.x - 235 : c.x;
|
|
1002
756
|
return /* @__PURE__ */ f.jsxs(f.Fragment, { children: [
|
|
1003
|
-
/* @__PURE__ */ f.jsx("div", { className:
|
|
1004
|
-
/* @__PURE__ */ f.jsxs("div", { className:
|
|
757
|
+
/* @__PURE__ */ f.jsx("div", { className: xt.o, onClick: n }),
|
|
758
|
+
/* @__PURE__ */ f.jsxs("div", { className: xt.c, style: { top: P + "px", left: T + "px" }, children: [
|
|
1005
759
|
/* @__PURE__ */ f.jsxs("s", { children: [
|
|
1006
|
-
/* @__PURE__ */ f.jsx("i", { onClick:
|
|
760
|
+
/* @__PURE__ */ f.jsx("i", { onClick: b, children: /* @__PURE__ */ f.jsx(
|
|
1007
761
|
"svg",
|
|
1008
762
|
{
|
|
1009
763
|
width: "16",
|
|
@@ -1027,21 +781,21 @@ const cr = ({ onOpen: a, date: _, onValue: i, position: c }) => {
|
|
|
1027
781
|
}
|
|
1028
782
|
) })
|
|
1029
783
|
] }),
|
|
1030
|
-
/* @__PURE__ */ f.jsx("div", { "grid-month": "", children:
|
|
784
|
+
/* @__PURE__ */ f.jsx("div", { "grid-month": "", children: q.map((m, N) => /* @__PURE__ */ f.jsx(
|
|
1031
785
|
"span",
|
|
1032
786
|
{
|
|
1033
787
|
onClick: () => {
|
|
1034
|
-
j(
|
|
788
|
+
j(m);
|
|
1035
789
|
},
|
|
1036
|
-
color:
|
|
1037
|
-
children: /* @__PURE__ */ f.jsx("b", { children:
|
|
790
|
+
color: I(m),
|
|
791
|
+
children: /* @__PURE__ */ f.jsx("b", { children: sr(m).abc })
|
|
1038
792
|
},
|
|
1039
|
-
|
|
793
|
+
N
|
|
1040
794
|
)) })
|
|
1041
795
|
] })
|
|
1042
796
|
] });
|
|
1043
797
|
};
|
|
1044
|
-
function
|
|
798
|
+
function _r(a, _) {
|
|
1045
799
|
_ === void 0 ? (_ = a, a = /* @__PURE__ */ new Date()) : a = new Date(a);
|
|
1046
800
|
let i = {
|
|
1047
801
|
yyyy: a.getFullYear(),
|
|
@@ -1058,12 +812,12 @@ function ur(a, _) {
|
|
|
1058
812
|
_ = _.replace(c, i[c]);
|
|
1059
813
|
return _;
|
|
1060
814
|
}
|
|
1061
|
-
function
|
|
815
|
+
function ir(a, _) {
|
|
1062
816
|
let i = _ + "";
|
|
1063
817
|
for (; i.length < a; ) i = "0" + i;
|
|
1064
818
|
return i;
|
|
1065
819
|
}
|
|
1066
|
-
function
|
|
820
|
+
function sr(a) {
|
|
1067
821
|
return a = typeof a == "number" ? a : new Date(a).getMonth() + 1, {
|
|
1068
822
|
1: { val: "01", name: "Январь", names: "Января", abc: "Янв" },
|
|
1069
823
|
2: { val: "02", name: "Февраль", names: "Февраля", abc: "Февр" },
|
|
@@ -1079,69 +833,101 @@ function fr(a) {
|
|
|
1079
833
|
12: { val: "12", name: "Декабрь", names: "Декабря", abc: "Дек" }
|
|
1080
834
|
}[a];
|
|
1081
835
|
}
|
|
1082
|
-
|
|
836
|
+
let V = {};
|
|
837
|
+
V.KeyDown = (a) => {
|
|
838
|
+
a.key === "Enter" && a.preventDefault();
|
|
839
|
+
};
|
|
840
|
+
V.PasteOne = (a) => {
|
|
841
|
+
a.preventDefault(), navigator.clipboard.readText().then((_) => {
|
|
842
|
+
_ = _.replace(/^\s*/, "").replace(/\s*$/, ""), window.document.execCommand("insertText", !1, _);
|
|
843
|
+
}).catch((_) => {
|
|
844
|
+
});
|
|
845
|
+
};
|
|
846
|
+
V.Paste = (a, _) => {
|
|
847
|
+
_.preventDefault(), navigator.clipboard.readText().then((i) => {
|
|
848
|
+
if (a) {
|
|
849
|
+
let c = _.target.textContent.length;
|
|
850
|
+
if (c >= a) return;
|
|
851
|
+
a -= c, i = i.slice(0, a);
|
|
852
|
+
}
|
|
853
|
+
window.document.execCommand(
|
|
854
|
+
"insertText",
|
|
855
|
+
!1,
|
|
856
|
+
i.replace(/(\r\n|\n|\r)/gm, " ")
|
|
857
|
+
);
|
|
858
|
+
}).catch((i) => {
|
|
859
|
+
});
|
|
860
|
+
};
|
|
861
|
+
V.Focus = (a) => {
|
|
862
|
+
a.target.textContent.length === 0 && (a.target.innerHTML = "<br>");
|
|
863
|
+
};
|
|
864
|
+
V.Blur = (a) => {
|
|
865
|
+
a.target.scrollLeft = 0, a.target.querySelector("br") !== null && a.target.querySelector("br").remove();
|
|
866
|
+
};
|
|
867
|
+
V.ContentEditable = "plaintext-only";
|
|
868
|
+
function ma({
|
|
1083
869
|
value: a,
|
|
1084
870
|
onValue: _,
|
|
1085
871
|
name: i,
|
|
1086
872
|
placeholder: c = "",
|
|
1087
873
|
title: d = "",
|
|
1088
|
-
error:
|
|
874
|
+
error: h = "",
|
|
1089
875
|
hide: C = !1,
|
|
1090
|
-
edit:
|
|
876
|
+
edit: k = !0,
|
|
1091
877
|
active: l = !0,
|
|
1092
|
-
after:
|
|
878
|
+
after: y = "",
|
|
1093
879
|
show: n = !0,
|
|
1094
880
|
course: s = 100,
|
|
1095
|
-
view:
|
|
881
|
+
view: b,
|
|
1096
882
|
type: j,
|
|
1097
|
-
onSave:
|
|
1098
|
-
className:
|
|
1099
|
-
isClear:
|
|
883
|
+
onSave: I,
|
|
884
|
+
className: q = "",
|
|
885
|
+
isClear: P = !1
|
|
1100
886
|
}) {
|
|
1101
|
-
let T = !!(C && (a === "" || a === void 0)),
|
|
1102
|
-
let
|
|
1103
|
-
|
|
1104
|
-
},
|
|
887
|
+
let T = !!(C && (a === "" || a === void 0)), m = (E) => j === "multi" ? E.replace(/[^+\d.+-]/g, "") : E.replace(/[^+\d.]/g, ""), N = (E, B) => {
|
|
888
|
+
let v = document.createRange(), x = window.getSelection();
|
|
889
|
+
v.setStart(B.childNodes[0], E), v.collapse(!0), x.removeAllRanges(), x.addRange(v), B.focus();
|
|
890
|
+
}, K = (E) => {
|
|
1105
891
|
_ == null || _({
|
|
1106
|
-
value:
|
|
892
|
+
value: m(E.target.textContent) * s,
|
|
1107
893
|
name: i
|
|
1108
|
-
}), E.target.textContent =
|
|
894
|
+
}), E.target.textContent = m(E.target.textContent), E.target.textContent.length > 0 && N(E.target.textContent.length, E.target);
|
|
1109
895
|
}, A = (E) => {
|
|
1110
|
-
|
|
1111
|
-
value:
|
|
896
|
+
V.Blur(E), E.target.textContent === "" && (E.target.textContent = 0), I == null || I({ value: m(E.target.textContent) * s, name: i }), _ == null || _({
|
|
897
|
+
value: m(E.target.textContent) * s,
|
|
1112
898
|
name: i
|
|
1113
899
|
}), E.target.textContent = It(E.target.textContent);
|
|
1114
|
-
},
|
|
1115
|
-
E.target.textContent =
|
|
1116
|
-
}, M = (E) => {
|
|
1117
|
-
E.key === "Enter" && E.preventDefault();
|
|
900
|
+
}, O = (E) => {
|
|
901
|
+
E.target.textContent = m(E.target.textContent);
|
|
1118
902
|
}, $ = (E) => {
|
|
1119
|
-
E.
|
|
1120
|
-
|
|
1121
|
-
|
|
903
|
+
E.key === "Enter" && E.preventDefault();
|
|
904
|
+
}, W = (E) => {
|
|
905
|
+
E.preventDefault(), navigator.clipboard.readText().then((B) => {
|
|
906
|
+
B = B.replace(/^\s*/, "").replace(/\s*$/, ""), window.document.execCommand("insertText", !1, B);
|
|
907
|
+
}).catch((B) => {
|
|
1122
908
|
});
|
|
1123
909
|
};
|
|
1124
|
-
if (!(
|
|
1125
|
-
const
|
|
1126
|
-
return
|
|
910
|
+
if (!(k && l) && !n || !(k && l) && T) return "";
|
|
911
|
+
const F = {};
|
|
912
|
+
return F.inputMode = "decimal", c && (F.placeholder = c), k && l && (F.edit = ""), /* @__PURE__ */ f.jsx(
|
|
1127
913
|
he,
|
|
1128
914
|
{
|
|
1129
915
|
type: "input",
|
|
1130
916
|
title: d,
|
|
1131
|
-
element_blok: { className: [
|
|
1132
|
-
element_input: { className: [
|
|
917
|
+
element_blok: { className: [q] },
|
|
918
|
+
element_input: { className: [ee.w] },
|
|
1133
919
|
children: /* @__PURE__ */ f.jsx(
|
|
1134
920
|
"div",
|
|
1135
921
|
{
|
|
1136
|
-
...
|
|
1137
|
-
onInput:
|
|
1138
|
-
onPaste:
|
|
922
|
+
...F,
|
|
923
|
+
onInput: K,
|
|
924
|
+
onPaste: W,
|
|
1139
925
|
onBlur: A,
|
|
1140
|
-
onKeyDown:
|
|
1141
|
-
onFocus:
|
|
1142
|
-
contentEditable:
|
|
926
|
+
onKeyDown: $,
|
|
927
|
+
onFocus: O,
|
|
928
|
+
contentEditable: k && l ? V.ContentEditable : "false",
|
|
1143
929
|
suppressContentEditableWarning: !0,
|
|
1144
|
-
"data-after":
|
|
930
|
+
"data-after": y,
|
|
1145
931
|
children: !c || a ? It(a) : ""
|
|
1146
932
|
}
|
|
1147
933
|
)
|
|
@@ -1151,54 +937,126 @@ function pa({
|
|
|
1151
937
|
function It(a, _) {
|
|
1152
938
|
return parseFloat(a).toFixed(2).replace(/(\d)(?=(\d{3})+\.)/g, "$1 ");
|
|
1153
939
|
}
|
|
940
|
+
function pa({
|
|
941
|
+
value: a = "",
|
|
942
|
+
onValue: _,
|
|
943
|
+
onSave: i,
|
|
944
|
+
name: c,
|
|
945
|
+
format: d = "+_(___) ___-__-__",
|
|
946
|
+
placeholder: h = "",
|
|
947
|
+
title: C = "",
|
|
948
|
+
error: k = "",
|
|
949
|
+
hide: l = !1,
|
|
950
|
+
edit: y = !0,
|
|
951
|
+
active: n = !0,
|
|
952
|
+
after: s = "",
|
|
953
|
+
show: b = !0,
|
|
954
|
+
view: j,
|
|
955
|
+
className: I = ""
|
|
956
|
+
}) {
|
|
957
|
+
y = y !== void 0 ? y : !0, n = n !== void 0 ? n : !0, l = !!(l && (a === "" || a === void 0)) && !(y && n), S.useRef(null);
|
|
958
|
+
let P = d, T = !0, m = 0, N = (B, v) => {
|
|
959
|
+
let x = document.createRange(), M = window.getSelection();
|
|
960
|
+
x.setStart(v.childNodes[0], B), x.collapse(!0), M.removeAllRanges(), M.addRange(x), v.focus();
|
|
961
|
+
}, K = (B) => {
|
|
962
|
+
B.preventDefault(), navigator.clipboard.readText().then((v) => {
|
|
963
|
+
window.document.execCommand("insertText", !1, v);
|
|
964
|
+
}).catch((v) => {
|
|
965
|
+
});
|
|
966
|
+
}, A = (B) => {
|
|
967
|
+
let v = 0, x = "", M = B.replace(/\D/g, "");
|
|
968
|
+
M === "" && (T = !0);
|
|
969
|
+
let Y = M.split(""), Q = "";
|
|
970
|
+
Y.forEach((le) => {
|
|
971
|
+
T && (Q += le, T && (m = ("" + Q).length, P = d.replace(new RegExp("[0-9]", "g"), "_"), x = ""), m > ("" + Q).length && (T = !0, P = d.replace(new RegExp("[0-9]", "g"), "_"), x = ""));
|
|
972
|
+
});
|
|
973
|
+
let H = P.replace(/\D/g, "");
|
|
974
|
+
return H.length >= M.length && (M = H), { q: P.replace(/[_\d]/g, function() {
|
|
975
|
+
return M.charAt(v++) || "_";
|
|
976
|
+
}), i: v, v: M, f: x };
|
|
977
|
+
}, O = A(a), $ = (B) => {
|
|
978
|
+
let v = A(B.target.textContent);
|
|
979
|
+
B.target.textContent = v.q, v.i = v.q.lastIndexOf(v.v.substr(-1)), v.i < v.q.length && v.q !== P ? v.i++ : v.i = v.q.indexOf("_"), N(v.i, B.target), _ && _({ value: v.q.replace(/\D/g, ""), name: c });
|
|
980
|
+
}, W = (B) => {
|
|
981
|
+
B.key === "Enter" && B.preventDefault();
|
|
982
|
+
};
|
|
983
|
+
const F = (B) => {
|
|
984
|
+
V.Blur(B), i && i({
|
|
985
|
+
value: B.target.textContent.replace(/\D/g, ""),
|
|
986
|
+
name: c
|
|
987
|
+
});
|
|
988
|
+
};
|
|
989
|
+
let E = {};
|
|
990
|
+
return y && n ? (E.edit = "true", E.contentEditable = V.ContentEditable) : E.contentEditable = "false", h && (E.placeholder = h), s && (E.after = s), l ? /* @__PURE__ */ f.jsx(f.Fragment, {}) : /* @__PURE__ */ f.jsx(
|
|
991
|
+
he,
|
|
992
|
+
{
|
|
993
|
+
type: "input",
|
|
994
|
+
title: C,
|
|
995
|
+
element_blok: { className: [I] },
|
|
996
|
+
element_input: { className: [ee.w] },
|
|
997
|
+
children: /* @__PURE__ */ f.jsx(
|
|
998
|
+
"div",
|
|
999
|
+
{
|
|
1000
|
+
onPaste: K,
|
|
1001
|
+
onInput: $,
|
|
1002
|
+
onKeyDown: W,
|
|
1003
|
+
onBlur: F,
|
|
1004
|
+
suppressContentEditableWarning: !0,
|
|
1005
|
+
...E,
|
|
1006
|
+
children: O.q
|
|
1007
|
+
}
|
|
1008
|
+
)
|
|
1009
|
+
}
|
|
1010
|
+
);
|
|
1011
|
+
}
|
|
1154
1012
|
function ya({
|
|
1155
1013
|
title: a,
|
|
1156
1014
|
error: _,
|
|
1157
1015
|
edit: i = !0,
|
|
1158
1016
|
active: c = !0,
|
|
1159
1017
|
className: d,
|
|
1160
|
-
placeholder:
|
|
1018
|
+
placeholder: h,
|
|
1161
1019
|
max: C,
|
|
1162
|
-
min:
|
|
1020
|
+
min: k,
|
|
1163
1021
|
onValue: l,
|
|
1164
|
-
icon:
|
|
1022
|
+
icon: y,
|
|
1165
1023
|
name: n = "",
|
|
1166
1024
|
value: s,
|
|
1167
|
-
after:
|
|
1025
|
+
after: b
|
|
1168
1026
|
}) {
|
|
1169
|
-
let [j,
|
|
1027
|
+
let [j, I] = S.useState(
|
|
1170
1028
|
s === void 0 ? /* @__PURE__ */ new Date() : s
|
|
1171
1029
|
);
|
|
1172
|
-
const
|
|
1173
|
-
let
|
|
1030
|
+
const q = S.useRef(null), [P, T] = S.useState(!1);
|
|
1031
|
+
let m = !i && c;
|
|
1174
1032
|
S.useEffect(() => {
|
|
1175
|
-
|
|
1033
|
+
I(s === void 0 ? /* @__PURE__ */ new Date() : s);
|
|
1176
1034
|
}, [s]);
|
|
1177
|
-
let
|
|
1178
|
-
|
|
1179
|
-
},
|
|
1180
|
-
const
|
|
1181
|
-
|
|
1035
|
+
let N = (O) => {
|
|
1036
|
+
I(O), l == null || l({ value: O, name: n });
|
|
1037
|
+
}, K = (O) => {
|
|
1038
|
+
const $ = O.target.getBoundingClientRect(), W = $.left, F = $.bottom, E = $.top;
|
|
1039
|
+
q.position = { x: W, b: F, y: E }, T(!0);
|
|
1182
1040
|
};
|
|
1183
1041
|
const A = {};
|
|
1184
|
-
return
|
|
1185
|
-
|
|
1042
|
+
return h && (A.placeholder = h), m ? /* @__PURE__ */ f.jsx(f.Fragment, {}) : /* @__PURE__ */ f.jsxs(f.Fragment, { children: [
|
|
1043
|
+
y ? y() : /* @__PURE__ */ f.jsxs(
|
|
1186
1044
|
"dl",
|
|
1187
1045
|
{
|
|
1188
1046
|
"data-field": "date",
|
|
1189
|
-
className: [
|
|
1047
|
+
className: [ee.l, d].filter((O) => O !== void 0).join(" "),
|
|
1190
1048
|
children: [
|
|
1191
|
-
a ? /* @__PURE__ */ f.jsx("dt", { className:
|
|
1049
|
+
a ? /* @__PURE__ */ f.jsx("dt", { className: ee.t, children: a }) : "",
|
|
1192
1050
|
/* @__PURE__ */ f.jsxs(
|
|
1193
1051
|
"dd",
|
|
1194
1052
|
{
|
|
1195
|
-
onClick:
|
|
1196
|
-
className: [
|
|
1053
|
+
onClick: K,
|
|
1054
|
+
className: [ee.f, ee.w].join(" "),
|
|
1197
1055
|
...A,
|
|
1198
1056
|
"data-edit": (i && c) + "",
|
|
1199
1057
|
children: [
|
|
1200
|
-
|
|
1201
|
-
|
|
1058
|
+
ur(j, "dd.mm.yyyy"),
|
|
1059
|
+
b
|
|
1202
1060
|
]
|
|
1203
1061
|
}
|
|
1204
1062
|
),
|
|
@@ -1206,15 +1064,15 @@ function ya({
|
|
|
1206
1064
|
]
|
|
1207
1065
|
}
|
|
1208
1066
|
),
|
|
1209
|
-
|
|
1067
|
+
P && Nt(
|
|
1210
1068
|
/* @__PURE__ */ f.jsx(
|
|
1211
|
-
|
|
1069
|
+
lr,
|
|
1212
1070
|
{
|
|
1213
|
-
position:
|
|
1214
|
-
onValue:
|
|
1071
|
+
position: q.position,
|
|
1072
|
+
onValue: N,
|
|
1215
1073
|
date: j,
|
|
1216
1074
|
max: C,
|
|
1217
|
-
min:
|
|
1075
|
+
min: k,
|
|
1218
1076
|
onOpen: T,
|
|
1219
1077
|
className: d
|
|
1220
1078
|
},
|
|
@@ -1224,70 +1082,70 @@ function ya({
|
|
|
1224
1082
|
)
|
|
1225
1083
|
] });
|
|
1226
1084
|
}
|
|
1227
|
-
const
|
|
1085
|
+
const lr = ({
|
|
1228
1086
|
date: a,
|
|
1229
1087
|
onValue: _,
|
|
1230
1088
|
position: i,
|
|
1231
1089
|
max: c,
|
|
1232
1090
|
min: d,
|
|
1233
|
-
className:
|
|
1091
|
+
className: h,
|
|
1234
1092
|
onOpen: C
|
|
1235
1093
|
}) => {
|
|
1236
|
-
let
|
|
1237
|
-
y: parseInt(
|
|
1238
|
-
d: parseInt(
|
|
1239
|
-
m: parseInt(
|
|
1094
|
+
let k = /* @__PURE__ */ new Date(), l = new Date(a), y = {
|
|
1095
|
+
y: parseInt(k.getFullYear()),
|
|
1096
|
+
d: parseInt(k.getDate()),
|
|
1097
|
+
m: parseInt(k.getMonth()) + 1
|
|
1240
1098
|
}, n = {
|
|
1241
1099
|
y: parseInt(l.getFullYear()),
|
|
1242
1100
|
d: parseInt(l.getDate()),
|
|
1243
1101
|
m: parseInt(l.getMonth()) + 1
|
|
1244
|
-
}, [s,
|
|
1245
|
-
let
|
|
1246
|
-
return
|
|
1247
|
-
},
|
|
1248
|
-
for (let
|
|
1102
|
+
}, [s, b] = S.useState({ y: n.y, m: n.m }), j = (v) => {
|
|
1103
|
+
let x = v.getDay();
|
|
1104
|
+
return x === 0 && (x = 7), x - 1;
|
|
1105
|
+
}, I = ["пн", "вт", "ср", "чт", "пт", "сб", "вс"], q = s.m - 1, P = new Date(s.y, q), T = [];
|
|
1106
|
+
for (let v = 0; v < j(P); v++)
|
|
1249
1107
|
T.push(0);
|
|
1250
|
-
for (;
|
|
1251
|
-
T.push(
|
|
1252
|
-
let
|
|
1108
|
+
for (; P.getMonth() === q; )
|
|
1109
|
+
T.push(P.getDate()), P.setDate(P.getDate() + 1);
|
|
1110
|
+
let m = () => {
|
|
1253
1111
|
C(!1);
|
|
1254
|
-
},
|
|
1255
|
-
|
|
1256
|
-
},
|
|
1257
|
-
|
|
1258
|
-
}, A = (
|
|
1112
|
+
}, N = () => {
|
|
1113
|
+
O(s.m + 1, s.y);
|
|
1114
|
+
}, K = () => {
|
|
1115
|
+
O(s.m - 1, s.y);
|
|
1116
|
+
}, A = (v) => {
|
|
1259
1117
|
_(
|
|
1260
|
-
s.y + "-" + At(2, s.m) + "-" + At(2,
|
|
1261
|
-
),
|
|
1262
|
-
},
|
|
1263
|
-
|
|
1118
|
+
s.y + "-" + At(2, s.m) + "-" + At(2, v)
|
|
1119
|
+
), m();
|
|
1120
|
+
}, O = (v, x) => {
|
|
1121
|
+
x = v > 12 ? x + 1 : v < 1 ? x - 1 : x, v = v > 12 ? 1 : v < 1 ? 12 : v, b({ y: x, m: v });
|
|
1264
1122
|
};
|
|
1265
|
-
const
|
|
1266
|
-
let
|
|
1123
|
+
const $ = (v) => y.y === s.y && y.m === s.m && y.d === v ? { "data-active": "true" } : {}, W = (v) => n.y === s.y && n.m === s.m && n.d === v ? { "data-current": "true" } : {}, F = (v) => {
|
|
1124
|
+
let x = !0;
|
|
1267
1125
|
if (c) {
|
|
1268
|
-
let
|
|
1269
|
-
|
|
1126
|
+
let M = c.getTime(), Y = new Date(s.y, s.m - 1, v).getTime();
|
|
1127
|
+
M < Y && (x = !1);
|
|
1270
1128
|
}
|
|
1271
1129
|
if (d) {
|
|
1272
|
-
let
|
|
1273
|
-
|
|
1130
|
+
let M = d.getTime(), Y = new Date(s.y, s.m - 1, v).getTime();
|
|
1131
|
+
M > Y && (x = !1);
|
|
1274
1132
|
}
|
|
1275
|
-
return
|
|
1133
|
+
return x;
|
|
1276
1134
|
};
|
|
1277
|
-
let E = window.innerHeight - i.y < 320 ? i.y - 312 : i.b,
|
|
1135
|
+
let E = window.innerHeight - i.y < 320 ? i.y - 312 : i.b, B = window.innerWidth - i.x < 265 ? i.x - 235 : i.x;
|
|
1278
1136
|
return /* @__PURE__ */ f.jsxs(f.Fragment, { children: [
|
|
1279
|
-
/* @__PURE__ */ f.jsx("div", { className:
|
|
1137
|
+
/* @__PURE__ */ f.jsx("div", { className: xt.o, onClick: () => m() }),
|
|
1280
1138
|
/* @__PURE__ */ f.jsxs(
|
|
1281
1139
|
"div",
|
|
1282
1140
|
{
|
|
1283
1141
|
className: [
|
|
1284
|
-
|
|
1285
|
-
|
|
1142
|
+
xt.c,
|
|
1143
|
+
h && h + "-backdrop"
|
|
1286
1144
|
].join(" "),
|
|
1287
|
-
style: { top: E + "px", left:
|
|
1145
|
+
style: { top: E + "px", left: B + "px" },
|
|
1288
1146
|
children: [
|
|
1289
1147
|
/* @__PURE__ */ f.jsxs("s", { children: [
|
|
1290
|
-
/* @__PURE__ */ f.jsx("i", { onClick:
|
|
1148
|
+
/* @__PURE__ */ f.jsx("i", { onClick: K, children: /* @__PURE__ */ f.jsx(
|
|
1291
1149
|
"svg",
|
|
1292
1150
|
{
|
|
1293
1151
|
width: "16",
|
|
@@ -1299,11 +1157,11 @@ const mr = ({
|
|
|
1299
1157
|
}
|
|
1300
1158
|
) }),
|
|
1301
1159
|
/* @__PURE__ */ f.jsxs("h2", { children: [
|
|
1302
|
-
|
|
1160
|
+
cr(s.m).name,
|
|
1303
1161
|
" ",
|
|
1304
1162
|
s.y
|
|
1305
1163
|
] }),
|
|
1306
|
-
/* @__PURE__ */ f.jsx("i", { onClick:
|
|
1164
|
+
/* @__PURE__ */ f.jsx("i", { onClick: N, children: /* @__PURE__ */ f.jsx(
|
|
1307
1165
|
"svg",
|
|
1308
1166
|
{
|
|
1309
1167
|
width: "16",
|
|
@@ -1316,23 +1174,23 @@ const mr = ({
|
|
|
1316
1174
|
) })
|
|
1317
1175
|
] }),
|
|
1318
1176
|
/* @__PURE__ */ f.jsxs("div", { "grid-calendar": "", children: [
|
|
1319
|
-
|
|
1320
|
-
T.map((
|
|
1177
|
+
I.map((v, x) => /* @__PURE__ */ f.jsx("p", { children: v }, "v" + x)),
|
|
1178
|
+
T.map((v, x) => /* @__PURE__ */ f.jsx("span", { children: v !== 0 && F(v) ? /* @__PURE__ */ f.jsx(
|
|
1321
1179
|
"b",
|
|
1322
1180
|
{
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
onClick: () => A(
|
|
1326
|
-
children:
|
|
1181
|
+
...$(v),
|
|
1182
|
+
...W(v),
|
|
1183
|
+
onClick: () => A(v),
|
|
1184
|
+
children: v
|
|
1327
1185
|
}
|
|
1328
|
-
) : /* @__PURE__ */ f.jsx("p", {
|
|
1186
|
+
) : /* @__PURE__ */ f.jsx("p", { ...$(v), ...W(v), children: v !== 0 ? v : "" }) }, x))
|
|
1329
1187
|
] })
|
|
1330
1188
|
]
|
|
1331
1189
|
}
|
|
1332
1190
|
)
|
|
1333
1191
|
] });
|
|
1334
1192
|
};
|
|
1335
|
-
function
|
|
1193
|
+
function cr(a) {
|
|
1336
1194
|
return a = typeof a == "number" ? a : new Date(a).getMonth() + 1, {
|
|
1337
1195
|
1: { val: "01", name: "Январь", names: "Января", abc: "Янв" },
|
|
1338
1196
|
2: { val: "02", name: "Февраль", names: "Февраля", abc: "Февр" },
|
|
@@ -1353,7 +1211,7 @@ function At(a, _) {
|
|
|
1353
1211
|
for (; i.length < a; ) i = "0" + i;
|
|
1354
1212
|
return i;
|
|
1355
1213
|
}
|
|
1356
|
-
function
|
|
1214
|
+
function ur(a, _) {
|
|
1357
1215
|
_ === void 0 ? (_ = a, a = /* @__PURE__ */ new Date()) : a = new Date(a);
|
|
1358
1216
|
let i = {
|
|
1359
1217
|
yyyy: a.getFullYear(),
|
|
@@ -1376,69 +1234,69 @@ function va({
|
|
|
1376
1234
|
name: i,
|
|
1377
1235
|
placeholder: c = "",
|
|
1378
1236
|
title: d = "",
|
|
1379
|
-
label:
|
|
1237
|
+
label: h = "",
|
|
1380
1238
|
hide: C = !1,
|
|
1381
|
-
edit:
|
|
1239
|
+
edit: k = !0,
|
|
1382
1240
|
active: l = !0,
|
|
1383
|
-
after:
|
|
1241
|
+
after: y = "",
|
|
1384
1242
|
show: n = !0,
|
|
1385
1243
|
maxLength: s,
|
|
1386
|
-
error:
|
|
1244
|
+
error: b = "",
|
|
1387
1245
|
onSave: j,
|
|
1388
|
-
className:
|
|
1389
|
-
isCopy:
|
|
1246
|
+
className: I = "",
|
|
1247
|
+
isCopy: q = !0
|
|
1390
1248
|
}) {
|
|
1391
|
-
const
|
|
1249
|
+
const P = (A) => {
|
|
1392
1250
|
_ == null || _({ value: A.target.innerText, name: i || "" });
|
|
1393
1251
|
}, T = (A) => {
|
|
1394
1252
|
s && A.target.textContent.trim().length >= s && A.key !== "Backspace" && A.preventDefault(), A.key === "Enter" && A.preventDefault();
|
|
1395
|
-
},
|
|
1396
|
-
A.preventDefault(), navigator.clipboard.readText().then((
|
|
1253
|
+
}, m = (A) => {
|
|
1254
|
+
A.preventDefault(), navigator.clipboard.readText().then((O) => {
|
|
1397
1255
|
if (s) {
|
|
1398
|
-
let
|
|
1399
|
-
if (
|
|
1400
|
-
s -=
|
|
1256
|
+
let $ = A.target.textContent.length;
|
|
1257
|
+
if ($ >= s) return;
|
|
1258
|
+
s -= $, O = O.slice(0, s);
|
|
1401
1259
|
}
|
|
1402
1260
|
window.document.execCommand(
|
|
1403
1261
|
"insertText",
|
|
1404
1262
|
!1,
|
|
1405
|
-
|
|
1263
|
+
O.replace(/(\r\n|\n|\r)/gm, " ")
|
|
1406
1264
|
);
|
|
1407
|
-
}).catch((
|
|
1265
|
+
}).catch((O) => {
|
|
1408
1266
|
});
|
|
1409
1267
|
};
|
|
1410
1268
|
if (C) return /* @__PURE__ */ f.jsx(f.Fragment, {});
|
|
1411
|
-
if (!(
|
|
1412
|
-
const
|
|
1413
|
-
c && (
|
|
1414
|
-
const
|
|
1415
|
-
|
|
1269
|
+
if (!(k && l) && !n) return "";
|
|
1270
|
+
const N = {};
|
|
1271
|
+
c && (N.placeholder = c), k && l && (N.edit = "");
|
|
1272
|
+
const K = (A) => {
|
|
1273
|
+
V.Blur(A), j == null || j({ value: A.target.textContent.trim(), name: i || "" });
|
|
1416
1274
|
};
|
|
1417
1275
|
return /* @__PURE__ */ f.jsx(
|
|
1418
1276
|
he,
|
|
1419
1277
|
{
|
|
1420
1278
|
type: "note",
|
|
1421
|
-
title: d ||
|
|
1422
|
-
error:
|
|
1423
|
-
element_blok: { className: [
|
|
1424
|
-
element_input: { className: [
|
|
1279
|
+
title: d || h,
|
|
1280
|
+
error: b,
|
|
1281
|
+
element_blok: { className: [I] },
|
|
1282
|
+
element_input: { className: [ee.n] },
|
|
1425
1283
|
children: /* @__PURE__ */ f.jsx(
|
|
1426
1284
|
"div",
|
|
1427
1285
|
{
|
|
1428
|
-
onPaste:
|
|
1429
|
-
onInput:
|
|
1430
|
-
onBlur:
|
|
1286
|
+
onPaste: m,
|
|
1287
|
+
onInput: P,
|
|
1288
|
+
onBlur: K,
|
|
1431
1289
|
onKeyDown: T,
|
|
1432
|
-
contentEditable:
|
|
1290
|
+
contentEditable: k && l ? V.ContentEditable : "false",
|
|
1433
1291
|
suppressContentEditableWarning: !0,
|
|
1434
|
-
...
|
|
1292
|
+
...N,
|
|
1435
1293
|
children: a
|
|
1436
1294
|
}
|
|
1437
1295
|
)
|
|
1438
1296
|
}
|
|
1439
1297
|
);
|
|
1440
1298
|
}
|
|
1441
|
-
const
|
|
1299
|
+
const jt = {
|
|
1442
1300
|
0: {
|
|
1443
1301
|
name: "Heard Island and Mcdonald Islands",
|
|
1444
1302
|
dial_code: "+0",
|
|
@@ -2819,91 +2677,221 @@ const Et = {
|
|
|
2819
2677
|
code: "PR",
|
|
2820
2678
|
mask: "+1939(___) ___-__-__"
|
|
2821
2679
|
}
|
|
2680
|
+
}, dr = "_n_1ery1_2", fr = "_e_1ery1_8", mr = "_s_1ery1_11", pr = "_r_1ery1_14", We = {
|
|
2681
|
+
n: dr,
|
|
2682
|
+
e: fr,
|
|
2683
|
+
s: mr,
|
|
2684
|
+
r: pr,
|
|
2685
|
+
с: "_с_1ery1_17"
|
|
2822
2686
|
};
|
|
2687
|
+
let be = {};
|
|
2688
|
+
function vt({ data: a }) {
|
|
2689
|
+
let [_, i] = S.useState("show");
|
|
2690
|
+
S.useEffect(() => {
|
|
2691
|
+
a.hide && (setTimeout(function() {
|
|
2692
|
+
i("hide");
|
|
2693
|
+
}, 1800), setTimeout(function() {
|
|
2694
|
+
be.del(a.key);
|
|
2695
|
+
}, 2500));
|
|
2696
|
+
}, [a.key]);
|
|
2697
|
+
let c, d, h;
|
|
2698
|
+
switch (a.type) {
|
|
2699
|
+
case "error":
|
|
2700
|
+
c = /* @__PURE__ */ S.createElement(Le.error, null), d = "Ошибка:", h = We.e;
|
|
2701
|
+
break;
|
|
2702
|
+
case "success":
|
|
2703
|
+
c = /* @__PURE__ */ S.createElement(Le.success, null), d = "Информация:", h = We.s;
|
|
2704
|
+
break;
|
|
2705
|
+
case "copy":
|
|
2706
|
+
c = /* @__PURE__ */ S.createElement(Le.success, null), d = "Копирование:", h = We.с;
|
|
2707
|
+
break;
|
|
2708
|
+
case "remark":
|
|
2709
|
+
c = /* @__PURE__ */ S.createElement(Le.success, null), d = "Подсказка:", h = We.r;
|
|
2710
|
+
break;
|
|
2711
|
+
default:
|
|
2712
|
+
c = /* @__PURE__ */ S.createElement(Le.success, null), d = "Предупреждение:", h = We.с;
|
|
2713
|
+
break;
|
|
2714
|
+
}
|
|
2715
|
+
return /* @__PURE__ */ S.createElement("li", { className: h, "data-status": _ }, c, /* @__PURE__ */ S.createElement("b", null, d), /* @__PURE__ */ S.createElement("p", null, a.text));
|
|
2716
|
+
}
|
|
2717
|
+
function yr({ data: a }) {
|
|
2718
|
+
let [_, i] = S.useState("show");
|
|
2719
|
+
return S.useEffect(() => {
|
|
2720
|
+
a.hide && (setTimeout(function() {
|
|
2721
|
+
i("hide");
|
|
2722
|
+
}, 1800), setTimeout(function() {
|
|
2723
|
+
be.del(a.key);
|
|
2724
|
+
}, 2500));
|
|
2725
|
+
}, [a.key]), /* @__PURE__ */ S.createElement("li", { className: "item", "data-status": _ }, a.text);
|
|
2726
|
+
}
|
|
2727
|
+
const Le = {};
|
|
2728
|
+
Le.error = () => /* @__PURE__ */ S.createElement("svg", { viewBox: "0 0 24 24", fill: "none" }, /* @__PURE__ */ S.createElement(
|
|
2729
|
+
"path",
|
|
2730
|
+
{
|
|
2731
|
+
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",
|
|
2732
|
+
fill: "#bb2014"
|
|
2733
|
+
}
|
|
2734
|
+
), /* @__PURE__ */ S.createElement(
|
|
2735
|
+
"path",
|
|
2736
|
+
{
|
|
2737
|
+
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",
|
|
2738
|
+
fill: "#fff"
|
|
2739
|
+
}
|
|
2740
|
+
));
|
|
2741
|
+
Le.success = () => /* @__PURE__ */ S.createElement("svg", { viewBox: "0 0 24 24", fill: "none" }, /* @__PURE__ */ S.createElement(
|
|
2742
|
+
"path",
|
|
2743
|
+
{
|
|
2744
|
+
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",
|
|
2745
|
+
fill: "#367738"
|
|
2746
|
+
}
|
|
2747
|
+
), /* @__PURE__ */ S.createElement(
|
|
2748
|
+
"path",
|
|
2749
|
+
{
|
|
2750
|
+
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",
|
|
2751
|
+
fill: "#fff"
|
|
2752
|
+
}
|
|
2753
|
+
));
|
|
2754
|
+
var Rt;
|
|
2755
|
+
((a) => {
|
|
2756
|
+
function _({ className: l }) {
|
|
2757
|
+
let [y, n] = S.useState([]);
|
|
2758
|
+
return be.set = (s) => {
|
|
2759
|
+
n([...y, s]);
|
|
2760
|
+
}, be.del = (s) => {
|
|
2761
|
+
n(y.filter((b) => b.key !== s));
|
|
2762
|
+
}, y.length === 0 ? "" : /* @__PURE__ */ S.createElement("ul", { className: [We.n, l].filter((s) => s).join(" ") }, y.map((s) => s.item));
|
|
2763
|
+
}
|
|
2764
|
+
a.Init = _;
|
|
2765
|
+
function i(l, y = !0) {
|
|
2766
|
+
let n = Date.now(), s = { key: n, text: l, hide: y, type: "error" };
|
|
2767
|
+
be.set({
|
|
2768
|
+
item: /* @__PURE__ */ S.createElement(vt, { key: n, data: s }),
|
|
2769
|
+
key: n
|
|
2770
|
+
});
|
|
2771
|
+
}
|
|
2772
|
+
a.Error = i;
|
|
2773
|
+
function c(l, y = !0) {
|
|
2774
|
+
let n = Date.now(), s = { key: n, text: l, hide: y, type: "success" };
|
|
2775
|
+
be.set({
|
|
2776
|
+
item: /* @__PURE__ */ S.createElement(vt, { key: n, data: s }),
|
|
2777
|
+
key: n
|
|
2778
|
+
});
|
|
2779
|
+
}
|
|
2780
|
+
a.Success = c;
|
|
2781
|
+
function d(l, y = !0) {
|
|
2782
|
+
let n = Date.now(), s = { key: n, hide: y, text: l };
|
|
2783
|
+
be.set({ item: /* @__PURE__ */ S.createElement(yr, { key: n, data: s }), key: n });
|
|
2784
|
+
}
|
|
2785
|
+
a.Custom = d;
|
|
2786
|
+
function h(l) {
|
|
2787
|
+
let y = Date.now(), n = { key: y, hide: !0, ...l };
|
|
2788
|
+
be.set({
|
|
2789
|
+
item: /* @__PURE__ */ S.createElement(vt, { key: y, data: n }),
|
|
2790
|
+
key: y
|
|
2791
|
+
});
|
|
2792
|
+
}
|
|
2793
|
+
a.Send = h;
|
|
2794
|
+
function C(l, y = !0) {
|
|
2795
|
+
let n = Date.now(), s = { key: n, text: l, hide: y, type: "remark" };
|
|
2796
|
+
be.set({
|
|
2797
|
+
item: /* @__PURE__ */ S.createElement(vt, { key: n, data: s }),
|
|
2798
|
+
key: n
|
|
2799
|
+
});
|
|
2800
|
+
}
|
|
2801
|
+
a.Remark = C;
|
|
2802
|
+
function k(l, y = !0) {
|
|
2803
|
+
let n = Date.now(), s = { key: n, text: l, hide: y, type: "copy" };
|
|
2804
|
+
be.set({
|
|
2805
|
+
item: /* @__PURE__ */ S.createElement(vt, { key: n, data: s }),
|
|
2806
|
+
key: n
|
|
2807
|
+
});
|
|
2808
|
+
}
|
|
2809
|
+
a.Copy = k;
|
|
2810
|
+
})(Rt || (Rt = {}));
|
|
2823
2811
|
function ga({
|
|
2824
2812
|
value: a,
|
|
2825
2813
|
onValue: _,
|
|
2826
2814
|
onSave: i,
|
|
2827
2815
|
name: c = "",
|
|
2828
2816
|
placeholder: d = "",
|
|
2829
|
-
title:
|
|
2817
|
+
title: h = "",
|
|
2830
2818
|
label: C = "",
|
|
2831
|
-
error:
|
|
2819
|
+
error: k = "",
|
|
2832
2820
|
hide: l = !1,
|
|
2833
|
-
edit:
|
|
2821
|
+
edit: y = !0,
|
|
2834
2822
|
active: n = !0,
|
|
2835
2823
|
after: s = "",
|
|
2836
|
-
show:
|
|
2824
|
+
show: b = !0,
|
|
2837
2825
|
view: j,
|
|
2838
|
-
className:
|
|
2826
|
+
className: I = ""
|
|
2839
2827
|
}) {
|
|
2840
|
-
|
|
2841
|
-
let
|
|
2842
|
-
let
|
|
2843
|
-
|
|
2844
|
-
},
|
|
2845
|
-
let
|
|
2846
|
-
|
|
2847
|
-
}, A = (
|
|
2848
|
-
|
|
2849
|
-
window.document.execCommand("insertText", !1,
|
|
2850
|
-
}).catch((
|
|
2828
|
+
y = y !== void 0 ? y : !0, n = n !== void 0 ? n : !0, l = !!(l && (a === "" || a === void 0)) && !(y && n), S.useRef(null);
|
|
2829
|
+
let P = "+_(___) ___-__-__", T = !0, m = 0, N = (v, x) => {
|
|
2830
|
+
let M = document.createRange(), Y = window.getSelection();
|
|
2831
|
+
M.setStart(x.childNodes[0], v), M.collapse(!0), Y.removeAllRanges(), Y.addRange(M), x.focus();
|
|
2832
|
+
}, K = (v) => {
|
|
2833
|
+
let x = O(v.target.textContent);
|
|
2834
|
+
v.target.textContent = x.q, x.i = x.q.lastIndexOf(x.v.substr(-1)), x.i < x.q.length && x.q !== P ? x.i++ : x.i = x.q.indexOf("_"), N(x.i, v.target), _ && _({ value: x.q.replace(/\D/g, ""), name: c || "" });
|
|
2835
|
+
}, A = (v) => {
|
|
2836
|
+
v.preventDefault(), navigator.clipboard.readText().then((x) => {
|
|
2837
|
+
window.document.execCommand("insertText", !1, x);
|
|
2838
|
+
}).catch((x) => {
|
|
2851
2839
|
});
|
|
2852
|
-
},
|
|
2853
|
-
let
|
|
2854
|
-
|
|
2855
|
-
let
|
|
2856
|
-
|
|
2857
|
-
T && (H +=
|
|
2840
|
+
}, O = (v) => {
|
|
2841
|
+
let x = 0, M = "", Y = v.replace(/\D/g, "");
|
|
2842
|
+
Y === "" && (T = !0);
|
|
2843
|
+
let Q = Y.split(""), H = "";
|
|
2844
|
+
Q.forEach((ke) => {
|
|
2845
|
+
T && (H += ke, jt[H] !== void 0 && T ? (T = !1, P = jt[H].mask.replace(new RegExp("[0-9]", "g"), "_"), M = jt[H].code) : (T && (m = ("" + H).length, P = `+${H}_(___) ___-__-__`.replace(
|
|
2858
2846
|
new RegExp("[0-9]", "g"),
|
|
2859
2847
|
"_"
|
|
2860
|
-
),
|
|
2848
|
+
), M = ""), m > ("" + H).length && (T = !0, P = `+${H}_(___) ___-__-__`.replace(
|
|
2861
2849
|
new RegExp("[0-9]", "g"),
|
|
2862
2850
|
"_"
|
|
2863
|
-
),
|
|
2851
|
+
), M = "")));
|
|
2864
2852
|
});
|
|
2865
|
-
let
|
|
2866
|
-
return
|
|
2867
|
-
return
|
|
2868
|
-
}), i:
|
|
2869
|
-
},
|
|
2870
|
-
|
|
2853
|
+
let ie = P.replace(/\D/g, "");
|
|
2854
|
+
return ie.length >= Y.length && (Y = ie), { q: P.replace(/[_\d]/g, function() {
|
|
2855
|
+
return Y.charAt(x++) || "_";
|
|
2856
|
+
}), i: x, v: Y, f: M };
|
|
2857
|
+
}, $ = (v) => {
|
|
2858
|
+
v.preventDefault(), navigator.clipboard.writeText(v.target.textContent.replace(/\D/g, "")).then(
|
|
2871
2859
|
function() {
|
|
2872
|
-
|
|
2860
|
+
Rt.Copy("Данные в буфер обмене");
|
|
2873
2861
|
},
|
|
2874
|
-
function(
|
|
2862
|
+
function(x) {
|
|
2875
2863
|
}
|
|
2876
2864
|
);
|
|
2877
|
-
},
|
|
2878
|
-
|
|
2865
|
+
}, W = O(a), F = (v) => {
|
|
2866
|
+
v.key === "Enter" && v.preventDefault();
|
|
2879
2867
|
};
|
|
2880
|
-
const E = (
|
|
2881
|
-
|
|
2882
|
-
value:
|
|
2868
|
+
const E = (v) => {
|
|
2869
|
+
V.Blur(v), i && i({
|
|
2870
|
+
value: v.target.textContent.replace(/\D/g, ""),
|
|
2883
2871
|
name: c || ""
|
|
2884
2872
|
});
|
|
2885
2873
|
};
|
|
2886
|
-
let
|
|
2887
|
-
return
|
|
2874
|
+
let B = {};
|
|
2875
|
+
return y && n ? (B.edit = "true", B.contentEditable = V.ContentEditable) : B.contentEditable = "false", d && (B.placeholder = d), l ? /* @__PURE__ */ f.jsx(f.Fragment, {}) : /* @__PURE__ */ f.jsx(
|
|
2888
2876
|
he,
|
|
2889
2877
|
{
|
|
2890
2878
|
type: "input",
|
|
2891
|
-
title:
|
|
2892
|
-
error:
|
|
2893
|
-
element_blok: { className:
|
|
2894
|
-
element_input: { className: [
|
|
2879
|
+
title: h || C,
|
|
2880
|
+
error: k,
|
|
2881
|
+
element_blok: { className: I },
|
|
2882
|
+
element_input: { className: [ee.w] },
|
|
2895
2883
|
children: /* @__PURE__ */ f.jsx(
|
|
2896
2884
|
"div",
|
|
2897
2885
|
{
|
|
2898
2886
|
onPaste: A,
|
|
2899
|
-
onInput:
|
|
2900
|
-
onKeyDown:
|
|
2901
|
-
onContextMenu:
|
|
2887
|
+
onInput: K,
|
|
2888
|
+
onKeyDown: F,
|
|
2889
|
+
onContextMenu: $,
|
|
2902
2890
|
onBlur: E,
|
|
2903
2891
|
inputMode: "tel",
|
|
2904
2892
|
suppressContentEditableWarning: !0,
|
|
2905
|
-
...
|
|
2906
|
-
children:
|
|
2893
|
+
...B,
|
|
2894
|
+
children: W.q
|
|
2907
2895
|
}
|
|
2908
2896
|
)
|
|
2909
2897
|
}
|
|
@@ -2915,73 +2903,73 @@ function ha({
|
|
|
2915
2903
|
name: i = "",
|
|
2916
2904
|
inputmode: c = "text",
|
|
2917
2905
|
placeholder: d = "",
|
|
2918
|
-
title:
|
|
2906
|
+
title: h = "",
|
|
2919
2907
|
label: C = "",
|
|
2920
|
-
show:
|
|
2908
|
+
show: k = !0,
|
|
2921
2909
|
hide: l = !1,
|
|
2922
|
-
edit:
|
|
2910
|
+
edit: y = !0,
|
|
2923
2911
|
active: n = !0,
|
|
2924
2912
|
maxLength: s,
|
|
2925
|
-
onSave:
|
|
2913
|
+
onSave: b,
|
|
2926
2914
|
className: j = "",
|
|
2927
|
-
spellCheck:
|
|
2928
|
-
isCopy:
|
|
2929
|
-
isReload:
|
|
2915
|
+
spellCheck: I = !0,
|
|
2916
|
+
isCopy: q = !0,
|
|
2917
|
+
isReload: P = !1,
|
|
2930
2918
|
after: T = "",
|
|
2931
|
-
before:
|
|
2932
|
-
error:
|
|
2919
|
+
before: m = "",
|
|
2920
|
+
error: N = ""
|
|
2933
2921
|
}) {
|
|
2934
|
-
const
|
|
2922
|
+
const K = !!(l && (a === "" || a === void 0)), A = (E) => {
|
|
2935
2923
|
_ && _({
|
|
2936
2924
|
value: E.target.textContent.trim(),
|
|
2937
2925
|
name: i,
|
|
2938
|
-
reload:
|
|
2926
|
+
reload: P
|
|
2939
2927
|
});
|
|
2940
|
-
},
|
|
2928
|
+
}, O = (E) => {
|
|
2941
2929
|
s && E.target.textContent.trim().length >= s && E.key !== "Backspace" && E.preventDefault(), E.key === "Enter" && E.preventDefault();
|
|
2942
|
-
},
|
|
2943
|
-
E.preventDefault(), navigator.clipboard.readText().then((
|
|
2930
|
+
}, $ = (E) => {
|
|
2931
|
+
E.preventDefault(), navigator.clipboard.readText().then((B) => {
|
|
2944
2932
|
if (s) {
|
|
2945
|
-
let
|
|
2946
|
-
if (
|
|
2947
|
-
s -=
|
|
2933
|
+
let v = E.target.textContent.length;
|
|
2934
|
+
if (v >= s) return;
|
|
2935
|
+
s -= v, B = B.slice(0, s);
|
|
2948
2936
|
}
|
|
2949
2937
|
window.document.execCommand(
|
|
2950
2938
|
"insertText",
|
|
2951
2939
|
!1,
|
|
2952
|
-
|
|
2940
|
+
B.replace(/(\r\n|\n|\r)/gm, " ")
|
|
2953
2941
|
);
|
|
2954
|
-
}).catch((
|
|
2942
|
+
}).catch((B) => {
|
|
2955
2943
|
});
|
|
2956
2944
|
};
|
|
2957
|
-
if (!(
|
|
2958
|
-
const
|
|
2959
|
-
d && (
|
|
2960
|
-
const
|
|
2961
|
-
|
|
2945
|
+
if (!(y && n) && !k || !(y && n) && K) return "";
|
|
2946
|
+
const W = {};
|
|
2947
|
+
d && (W.placeholder = d), y && n && (W.edit = "");
|
|
2948
|
+
const F = (E) => {
|
|
2949
|
+
V.Blur(E), b == null || b({ value: E.target.textContent.trim(), name: i });
|
|
2962
2950
|
};
|
|
2963
2951
|
return /* @__PURE__ */ f.jsxs(
|
|
2964
2952
|
he,
|
|
2965
2953
|
{
|
|
2966
2954
|
type: "input",
|
|
2967
|
-
title:
|
|
2968
|
-
error:
|
|
2955
|
+
title: h || C,
|
|
2956
|
+
error: N,
|
|
2969
2957
|
element_blok: { className: [j] },
|
|
2970
|
-
element_input: { className: [
|
|
2958
|
+
element_input: { className: [ee.w] },
|
|
2971
2959
|
children: [
|
|
2972
|
-
|
|
2960
|
+
m,
|
|
2973
2961
|
/* @__PURE__ */ f.jsx(
|
|
2974
2962
|
"div",
|
|
2975
2963
|
{
|
|
2976
|
-
onBlur:
|
|
2977
|
-
onPaste:
|
|
2964
|
+
onBlur: F,
|
|
2965
|
+
onPaste: $,
|
|
2978
2966
|
onInput: A,
|
|
2979
|
-
onKeyDown:
|
|
2980
|
-
spellCheck:
|
|
2967
|
+
onKeyDown: O,
|
|
2968
|
+
spellCheck: I,
|
|
2981
2969
|
inputMode: c || "text",
|
|
2982
|
-
contentEditable:
|
|
2970
|
+
contentEditable: y && n ? V.ContentEditable : "false",
|
|
2983
2971
|
suppressContentEditableWarning: !0,
|
|
2984
|
-
|
|
2972
|
+
...W,
|
|
2985
2973
|
children: a
|
|
2986
2974
|
}
|
|
2987
2975
|
),
|
|
@@ -2996,65 +2984,65 @@ function ka({
|
|
|
2996
2984
|
active: i,
|
|
2997
2985
|
max: c,
|
|
2998
2986
|
edit: d,
|
|
2999
|
-
title:
|
|
2987
|
+
title: h,
|
|
3000
2988
|
error: C,
|
|
3001
|
-
show:
|
|
2989
|
+
show: k,
|
|
3002
2990
|
hide: l,
|
|
3003
|
-
value:
|
|
2991
|
+
value: y,
|
|
3004
2992
|
placeholder: n,
|
|
3005
2993
|
className: s,
|
|
3006
|
-
maxLength:
|
|
2994
|
+
maxLength: b,
|
|
3007
2995
|
name: j = "",
|
|
3008
|
-
after:
|
|
3009
|
-
before:
|
|
3010
|
-
view:
|
|
2996
|
+
after: I = "",
|
|
2997
|
+
before: q = "",
|
|
2998
|
+
view: P
|
|
3011
2999
|
}) {
|
|
3012
|
-
d = d !== void 0 ? d : !0, i = i !== void 0 ? i : !0, l = !!(l && (
|
|
3013
|
-
let
|
|
3014
|
-
a == null || a({ value:
|
|
3015
|
-
},
|
|
3016
|
-
if (!(
|
|
3017
|
-
if (
|
|
3018
|
-
|
|
3019
|
-
}
|
|
3020
|
-
}, A = (
|
|
3021
|
-
if (
|
|
3022
|
-
},
|
|
3023
|
-
|
|
3024
|
-
if (E = E.replace(/(?!^\+|\d)./g, ""),
|
|
3025
|
-
let
|
|
3026
|
-
if (
|
|
3027
|
-
|
|
3000
|
+
d = d !== void 0 ? d : !0, i = i !== void 0 ? i : !0, l = !!(l && (y === "" || y === void 0)) && !(d && i), n = n !== void 0 ? n : "", c = c !== void 0 ? c : 99;
|
|
3001
|
+
let m = !1, N = (F) => {
|
|
3002
|
+
a == null || a({ value: F.target.textContent, name: j });
|
|
3003
|
+
}, K = (F) => {
|
|
3004
|
+
if (!(m && F.which === 86)) {
|
|
3005
|
+
if (F.which === 17 || F.which === 91) return m = !0;
|
|
3006
|
+
F.key !== "Backspace" && (F.target.textContent.length === c && F.preventDefault(), F.key === "Enter" && F.preventDefault(), isNaN(F.key) && F.preventDefault());
|
|
3007
|
+
}
|
|
3008
|
+
}, A = (F) => {
|
|
3009
|
+
if (F.which === 17 || F.which === 91) return m = !1;
|
|
3010
|
+
}, O = (F) => {
|
|
3011
|
+
F.preventDefault(), navigator.clipboard.readText().then((E) => {
|
|
3012
|
+
if (E = E.replace(/(?!^\+|\d)./g, ""), b) {
|
|
3013
|
+
let B = F.target.textContent.length;
|
|
3014
|
+
if (B >= b) return;
|
|
3015
|
+
b -= B, E = E.slice(0, b);
|
|
3028
3016
|
}
|
|
3029
3017
|
window.document.execCommand("insertText", !1, "" + E);
|
|
3030
3018
|
}).catch((E) => {
|
|
3031
3019
|
});
|
|
3032
3020
|
};
|
|
3033
|
-
const
|
|
3034
|
-
|
|
3021
|
+
const $ = (F) => {
|
|
3022
|
+
V.Blur(F), _ == null || _({ value: F.target.textContent, name: j });
|
|
3035
3023
|
};
|
|
3036
|
-
let
|
|
3037
|
-
return d && i ? (
|
|
3024
|
+
let W = {};
|
|
3025
|
+
return d && i ? (W.edit = "true", W.contentEditable = V.ContentEditable) : W.contentEditable = "false", W.inputMode = "decimal", n && (W.placeholder = n), l ? /* @__PURE__ */ f.jsx(f.Fragment, {}) : /* @__PURE__ */ f.jsx(
|
|
3038
3026
|
he,
|
|
3039
3027
|
{
|
|
3040
3028
|
type: "numeric",
|
|
3041
|
-
title:
|
|
3029
|
+
title: h,
|
|
3042
3030
|
error: C,
|
|
3043
3031
|
element_blok: { className: [s] },
|
|
3044
|
-
element_input: { className: [
|
|
3032
|
+
element_input: { className: [ee.w] },
|
|
3045
3033
|
children: /* @__PURE__ */ f.jsx(
|
|
3046
3034
|
"div",
|
|
3047
3035
|
{
|
|
3048
|
-
onPaste:
|
|
3049
|
-
onInput:
|
|
3050
|
-
onBlur:
|
|
3051
|
-
onKeyDown:
|
|
3036
|
+
onPaste: O,
|
|
3037
|
+
onInput: N,
|
|
3038
|
+
onBlur: $,
|
|
3039
|
+
onKeyDown: K,
|
|
3052
3040
|
onKeyUp: A,
|
|
3053
3041
|
spellCheck: "true",
|
|
3054
|
-
contentEditable: d && i ?
|
|
3042
|
+
contentEditable: d && i ? V.ContentEditable : "false",
|
|
3055
3043
|
suppressContentEditableWarning: !0,
|
|
3056
|
-
|
|
3057
|
-
children:
|
|
3044
|
+
...W,
|
|
3045
|
+
children: y
|
|
3058
3046
|
}
|
|
3059
3047
|
)
|
|
3060
3048
|
}
|
|
@@ -3074,13 +3062,13 @@ var $t;
|
|
|
3074
3062
|
function vr() {
|
|
3075
3063
|
if ($t) return gt;
|
|
3076
3064
|
$t = 1;
|
|
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,
|
|
3078
|
-
function C(
|
|
3079
|
-
var n, s = {},
|
|
3080
|
-
|
|
3081
|
-
for (n in l) c.call(l, n) && !
|
|
3082
|
-
if (
|
|
3083
|
-
return { $$typeof: _, type:
|
|
3065
|
+
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, h = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
3066
|
+
function C(k, l, y) {
|
|
3067
|
+
var n, s = {}, b = null, j = null;
|
|
3068
|
+
y !== void 0 && (b = "" + y), l.key !== void 0 && (b = "" + l.key), l.ref !== void 0 && (j = l.ref);
|
|
3069
|
+
for (n in l) c.call(l, n) && !h.hasOwnProperty(n) && (s[n] = l[n]);
|
|
3070
|
+
if (k && k.defaultProps) for (n in l = k.defaultProps, l) s[n] === void 0 && (s[n] = l[n]);
|
|
3071
|
+
return { $$typeof: _, type: k, key: b, ref: j, props: s, _owner: d.current };
|
|
3084
3072
|
}
|
|
3085
3073
|
return gt.Fragment = i, gt.jsx = C, gt.jsxs = C, gt;
|
|
3086
3074
|
}
|
|
@@ -3097,54 +3085,54 @@ var kt = {};
|
|
|
3097
3085
|
var Bt;
|
|
3098
3086
|
function gr() {
|
|
3099
3087
|
return Bt || (Bt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
3100
|
-
var a = S, _ = Symbol.for("react.element"), i = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), d = Symbol.for("react.strict_mode"),
|
|
3101
|
-
function
|
|
3088
|
+
var a = S, _ = Symbol.for("react.element"), i = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), d = Symbol.for("react.strict_mode"), h = Symbol.for("react.profiler"), C = Symbol.for("react.provider"), k = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), y = Symbol.for("react.suspense"), n = Symbol.for("react.suspense_list"), s = Symbol.for("react.memo"), b = Symbol.for("react.lazy"), j = Symbol.for("react.offscreen"), I = Symbol.iterator, q = "@@iterator";
|
|
3089
|
+
function P(e) {
|
|
3102
3090
|
if (e === null || typeof e != "object")
|
|
3103
3091
|
return null;
|
|
3104
|
-
var t =
|
|
3092
|
+
var t = I && e[I] || e[q];
|
|
3105
3093
|
return typeof t == "function" ? t : null;
|
|
3106
3094
|
}
|
|
3107
3095
|
var T = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
3108
|
-
function
|
|
3096
|
+
function m(e) {
|
|
3109
3097
|
{
|
|
3110
3098
|
for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), o = 1; o < t; o++)
|
|
3111
3099
|
r[o - 1] = arguments[o];
|
|
3112
|
-
|
|
3100
|
+
N("error", e, r);
|
|
3113
3101
|
}
|
|
3114
3102
|
}
|
|
3115
|
-
function
|
|
3103
|
+
function N(e, t, r) {
|
|
3116
3104
|
{
|
|
3117
|
-
var o = T.ReactDebugCurrentFrame,
|
|
3118
|
-
|
|
3119
|
-
var
|
|
3120
|
-
return String(
|
|
3105
|
+
var o = T.ReactDebugCurrentFrame, g = o.getStackAddendum();
|
|
3106
|
+
g !== "" && (t += "%s", r = r.concat([g]));
|
|
3107
|
+
var w = r.map(function(p) {
|
|
3108
|
+
return String(p);
|
|
3121
3109
|
});
|
|
3122
|
-
|
|
3110
|
+
w.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, w);
|
|
3123
3111
|
}
|
|
3124
3112
|
}
|
|
3125
|
-
var
|
|
3126
|
-
|
|
3113
|
+
var K = !1, A = !1, O = !1, $ = !1, W = !1, F;
|
|
3114
|
+
F = Symbol.for("react.module.reference");
|
|
3127
3115
|
function E(e) {
|
|
3128
|
-
return !!(typeof e == "string" || typeof e == "function" || e === c || e ===
|
|
3116
|
+
return !!(typeof e == "string" || typeof e == "function" || e === c || e === h || W || e === d || e === y || e === n || $ || e === j || K || A || O || typeof e == "object" && e !== null && (e.$$typeof === b || e.$$typeof === s || e.$$typeof === C || e.$$typeof === k || e.$$typeof === l || // This needs to include all possible module reference object
|
|
3129
3117
|
// types supported by any Flight configuration anywhere since
|
|
3130
3118
|
// we don't know which Flight build this will end up being used
|
|
3131
3119
|
// with.
|
|
3132
|
-
e.$$typeof ===
|
|
3120
|
+
e.$$typeof === F || e.getModuleId !== void 0));
|
|
3133
3121
|
}
|
|
3134
|
-
function
|
|
3122
|
+
function B(e, t, r) {
|
|
3135
3123
|
var o = e.displayName;
|
|
3136
3124
|
if (o)
|
|
3137
3125
|
return o;
|
|
3138
|
-
var
|
|
3139
|
-
return
|
|
3126
|
+
var g = t.displayName || t.name || "";
|
|
3127
|
+
return g !== "" ? r + "(" + g + ")" : r;
|
|
3140
3128
|
}
|
|
3141
|
-
function
|
|
3129
|
+
function v(e) {
|
|
3142
3130
|
return e.displayName || "Context";
|
|
3143
3131
|
}
|
|
3144
|
-
function
|
|
3132
|
+
function x(e) {
|
|
3145
3133
|
if (e == null)
|
|
3146
3134
|
return null;
|
|
3147
|
-
if (typeof e.tag == "number" &&
|
|
3135
|
+
if (typeof e.tag == "number" && m("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
3148
3136
|
return e.displayName || e.name || null;
|
|
3149
3137
|
if (typeof e == "string")
|
|
3150
3138
|
return e;
|
|
@@ -3153,32 +3141,32 @@ function gr() {
|
|
|
3153
3141
|
return "Fragment";
|
|
3154
3142
|
case i:
|
|
3155
3143
|
return "Portal";
|
|
3156
|
-
case
|
|
3144
|
+
case h:
|
|
3157
3145
|
return "Profiler";
|
|
3158
3146
|
case d:
|
|
3159
3147
|
return "StrictMode";
|
|
3160
|
-
case
|
|
3148
|
+
case y:
|
|
3161
3149
|
return "Suspense";
|
|
3162
3150
|
case n:
|
|
3163
3151
|
return "SuspenseList";
|
|
3164
3152
|
}
|
|
3165
3153
|
if (typeof e == "object")
|
|
3166
3154
|
switch (e.$$typeof) {
|
|
3167
|
-
case
|
|
3155
|
+
case k:
|
|
3168
3156
|
var t = e;
|
|
3169
|
-
return
|
|
3157
|
+
return v(t) + ".Consumer";
|
|
3170
3158
|
case C:
|
|
3171
3159
|
var r = e;
|
|
3172
|
-
return
|
|
3160
|
+
return v(r._context) + ".Provider";
|
|
3173
3161
|
case l:
|
|
3174
|
-
return
|
|
3162
|
+
return B(e, e.render, "ForwardRef");
|
|
3175
3163
|
case s:
|
|
3176
3164
|
var o = e.displayName || null;
|
|
3177
|
-
return o !== null ? o :
|
|
3178
|
-
case
|
|
3179
|
-
var
|
|
3165
|
+
return o !== null ? o : x(e.type) || "Memo";
|
|
3166
|
+
case b: {
|
|
3167
|
+
var g = e, w = g._payload, p = g._init;
|
|
3180
3168
|
try {
|
|
3181
|
-
return
|
|
3169
|
+
return x(p(w));
|
|
3182
3170
|
} catch {
|
|
3183
3171
|
return null;
|
|
3184
3172
|
}
|
|
@@ -3186,14 +3174,14 @@ function gr() {
|
|
|
3186
3174
|
}
|
|
3187
3175
|
return null;
|
|
3188
3176
|
}
|
|
3189
|
-
var
|
|
3177
|
+
var M = Object.assign, Y = 0, Q, H, ie, le, ke, we, xe;
|
|
3190
3178
|
function Ce() {
|
|
3191
3179
|
}
|
|
3192
3180
|
Ce.__reactDisabledLog = !0;
|
|
3193
3181
|
function Ue() {
|
|
3194
3182
|
{
|
|
3195
|
-
if (
|
|
3196
|
-
|
|
3183
|
+
if (Y === 0) {
|
|
3184
|
+
Q = console.log, H = console.info, ie = console.warn, le = console.error, ke = console.group, we = console.groupCollapsed, xe = console.groupEnd;
|
|
3197
3185
|
var e = {
|
|
3198
3186
|
configurable: !0,
|
|
3199
3187
|
enumerable: !0,
|
|
@@ -3210,100 +3198,100 @@ function gr() {
|
|
|
3210
3198
|
groupEnd: e
|
|
3211
3199
|
});
|
|
3212
3200
|
}
|
|
3213
|
-
|
|
3201
|
+
Y++;
|
|
3214
3202
|
}
|
|
3215
3203
|
}
|
|
3216
3204
|
function qe() {
|
|
3217
3205
|
{
|
|
3218
|
-
if (
|
|
3206
|
+
if (Y--, Y === 0) {
|
|
3219
3207
|
var e = {
|
|
3220
3208
|
configurable: !0,
|
|
3221
3209
|
enumerable: !0,
|
|
3222
3210
|
writable: !0
|
|
3223
3211
|
};
|
|
3224
3212
|
Object.defineProperties(console, {
|
|
3225
|
-
log:
|
|
3226
|
-
value:
|
|
3213
|
+
log: M({}, e, {
|
|
3214
|
+
value: Q
|
|
3227
3215
|
}),
|
|
3228
|
-
info:
|
|
3216
|
+
info: M({}, e, {
|
|
3229
3217
|
value: H
|
|
3230
3218
|
}),
|
|
3231
|
-
warn:
|
|
3232
|
-
value:
|
|
3219
|
+
warn: M({}, e, {
|
|
3220
|
+
value: ie
|
|
3233
3221
|
}),
|
|
3234
|
-
error:
|
|
3235
|
-
value:
|
|
3222
|
+
error: M({}, e, {
|
|
3223
|
+
value: le
|
|
3236
3224
|
}),
|
|
3237
|
-
group:
|
|
3238
|
-
value:
|
|
3225
|
+
group: M({}, e, {
|
|
3226
|
+
value: ke
|
|
3239
3227
|
}),
|
|
3240
|
-
groupCollapsed:
|
|
3228
|
+
groupCollapsed: M({}, e, {
|
|
3241
3229
|
value: we
|
|
3242
3230
|
}),
|
|
3243
|
-
groupEnd:
|
|
3231
|
+
groupEnd: M({}, e, {
|
|
3244
3232
|
value: xe
|
|
3245
3233
|
})
|
|
3246
3234
|
});
|
|
3247
3235
|
}
|
|
3248
|
-
|
|
3236
|
+
Y < 0 && m("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
3249
3237
|
}
|
|
3250
3238
|
}
|
|
3251
3239
|
var ce = T.ReactCurrentDispatcher, ue;
|
|
3252
|
-
function
|
|
3240
|
+
function ae(e, t, r) {
|
|
3253
3241
|
{
|
|
3254
3242
|
if (ue === void 0)
|
|
3255
3243
|
try {
|
|
3256
3244
|
throw Error();
|
|
3257
|
-
} catch (
|
|
3258
|
-
var o =
|
|
3245
|
+
} catch (g) {
|
|
3246
|
+
var o = g.stack.trim().match(/\n( *(at )?)/);
|
|
3259
3247
|
ue = o && o[1] || "";
|
|
3260
3248
|
}
|
|
3261
3249
|
return `
|
|
3262
3250
|
` + ue + e;
|
|
3263
3251
|
}
|
|
3264
3252
|
}
|
|
3265
|
-
var de = !1,
|
|
3253
|
+
var de = !1, ne;
|
|
3266
3254
|
{
|
|
3267
3255
|
var Ke = typeof WeakMap == "function" ? WeakMap : Map;
|
|
3268
|
-
|
|
3256
|
+
ne = new Ke();
|
|
3269
3257
|
}
|
|
3270
3258
|
function je(e, t) {
|
|
3271
3259
|
if (!e || de)
|
|
3272
3260
|
return "";
|
|
3273
3261
|
{
|
|
3274
|
-
var r =
|
|
3262
|
+
var r = ne.get(e);
|
|
3275
3263
|
if (r !== void 0)
|
|
3276
3264
|
return r;
|
|
3277
3265
|
}
|
|
3278
3266
|
var o;
|
|
3279
3267
|
de = !0;
|
|
3280
|
-
var
|
|
3268
|
+
var g = Error.prepareStackTrace;
|
|
3281
3269
|
Error.prepareStackTrace = void 0;
|
|
3282
|
-
var
|
|
3283
|
-
|
|
3270
|
+
var w;
|
|
3271
|
+
w = ce.current, ce.current = null, Ue();
|
|
3284
3272
|
try {
|
|
3285
3273
|
if (t) {
|
|
3286
|
-
var
|
|
3274
|
+
var p = function() {
|
|
3287
3275
|
throw Error();
|
|
3288
3276
|
};
|
|
3289
|
-
if (Object.defineProperty(
|
|
3277
|
+
if (Object.defineProperty(p.prototype, "props", {
|
|
3290
3278
|
set: function() {
|
|
3291
3279
|
throw Error();
|
|
3292
3280
|
}
|
|
3293
3281
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
3294
3282
|
try {
|
|
3295
|
-
Reflect.construct(
|
|
3283
|
+
Reflect.construct(p, []);
|
|
3296
3284
|
} catch (U) {
|
|
3297
3285
|
o = U;
|
|
3298
3286
|
}
|
|
3299
|
-
Reflect.construct(e, [],
|
|
3287
|
+
Reflect.construct(e, [], p);
|
|
3300
3288
|
} else {
|
|
3301
3289
|
try {
|
|
3302
|
-
|
|
3290
|
+
p.call();
|
|
3303
3291
|
} catch (U) {
|
|
3304
3292
|
o = U;
|
|
3305
3293
|
}
|
|
3306
|
-
e.call(
|
|
3294
|
+
e.call(p.prototype);
|
|
3307
3295
|
}
|
|
3308
3296
|
} else {
|
|
3309
3297
|
try {
|
|
@@ -3316,27 +3304,27 @@ function gr() {
|
|
|
3316
3304
|
} catch (U) {
|
|
3317
3305
|
if (U && o && typeof U.stack == "string") {
|
|
3318
3306
|
for (var u = U.stack.split(`
|
|
3319
|
-
`),
|
|
3320
|
-
`), R = u.length - 1,
|
|
3321
|
-
|
|
3322
|
-
for (; R >= 1 &&
|
|
3323
|
-
if (u[R] !==
|
|
3324
|
-
if (R !== 1 ||
|
|
3307
|
+
`), L = o.stack.split(`
|
|
3308
|
+
`), R = u.length - 1, D = L.length - 1; R >= 1 && D >= 0 && u[R] !== L[D]; )
|
|
3309
|
+
D--;
|
|
3310
|
+
for (; R >= 1 && D >= 0; R--, D--)
|
|
3311
|
+
if (u[R] !== L[D]) {
|
|
3312
|
+
if (R !== 1 || D !== 1)
|
|
3325
3313
|
do
|
|
3326
|
-
if (R--,
|
|
3327
|
-
var
|
|
3314
|
+
if (R--, D--, D < 0 || u[R] !== L[D]) {
|
|
3315
|
+
var G = `
|
|
3328
3316
|
` + u[R].replace(" at new ", " at ");
|
|
3329
|
-
return e.displayName &&
|
|
3317
|
+
return e.displayName && G.includes("<anonymous>") && (G = G.replace("<anonymous>", e.displayName)), typeof e == "function" && ne.set(e, G), G;
|
|
3330
3318
|
}
|
|
3331
|
-
while (R >= 1 &&
|
|
3319
|
+
while (R >= 1 && D >= 0);
|
|
3332
3320
|
break;
|
|
3333
3321
|
}
|
|
3334
3322
|
}
|
|
3335
3323
|
} finally {
|
|
3336
|
-
de = !1, ce.current =
|
|
3324
|
+
de = !1, ce.current = w, qe(), Error.prepareStackTrace = g;
|
|
3337
3325
|
}
|
|
3338
|
-
var X = e ? e.displayName || e.name : "", J = X ?
|
|
3339
|
-
return typeof e == "function" &&
|
|
3326
|
+
var X = e ? e.displayName || e.name : "", J = X ? ae(X) : "";
|
|
3327
|
+
return typeof e == "function" && ne.set(e, J), J;
|
|
3340
3328
|
}
|
|
3341
3329
|
function Ge(e, t, r) {
|
|
3342
3330
|
return je(e, !1);
|
|
@@ -3345,59 +3333,59 @@ function gr() {
|
|
|
3345
3333
|
var t = e.prototype;
|
|
3346
3334
|
return !!(t && t.isReactComponent);
|
|
3347
3335
|
}
|
|
3348
|
-
function
|
|
3336
|
+
function oe(e, t, r) {
|
|
3349
3337
|
if (e == null)
|
|
3350
3338
|
return "";
|
|
3351
3339
|
if (typeof e == "function")
|
|
3352
3340
|
return je(e, Ye(e));
|
|
3353
3341
|
if (typeof e == "string")
|
|
3354
|
-
return
|
|
3342
|
+
return ae(e);
|
|
3355
3343
|
switch (e) {
|
|
3356
|
-
case
|
|
3357
|
-
return
|
|
3344
|
+
case y:
|
|
3345
|
+
return ae("Suspense");
|
|
3358
3346
|
case n:
|
|
3359
|
-
return
|
|
3347
|
+
return ae("SuspenseList");
|
|
3360
3348
|
}
|
|
3361
3349
|
if (typeof e == "object")
|
|
3362
3350
|
switch (e.$$typeof) {
|
|
3363
3351
|
case l:
|
|
3364
3352
|
return Ge(e.render);
|
|
3365
3353
|
case s:
|
|
3366
|
-
return
|
|
3367
|
-
case
|
|
3368
|
-
var o = e,
|
|
3354
|
+
return oe(e.type, t, r);
|
|
3355
|
+
case b: {
|
|
3356
|
+
var o = e, g = o._payload, w = o._init;
|
|
3369
3357
|
try {
|
|
3370
|
-
return
|
|
3358
|
+
return oe(w(g), t, r);
|
|
3371
3359
|
} catch {
|
|
3372
3360
|
}
|
|
3373
3361
|
}
|
|
3374
3362
|
}
|
|
3375
3363
|
return "";
|
|
3376
3364
|
}
|
|
3377
|
-
var
|
|
3378
|
-
function
|
|
3365
|
+
var te = Object.prototype.hasOwnProperty, Ee = {}, Se = T.ReactDebugCurrentFrame;
|
|
3366
|
+
function _e(e) {
|
|
3379
3367
|
if (e) {
|
|
3380
|
-
var t = e._owner, r =
|
|
3368
|
+
var t = e._owner, r = oe(e.type, e._source, t ? t.type : null);
|
|
3381
3369
|
Se.setExtraStackFrame(r);
|
|
3382
3370
|
} else
|
|
3383
3371
|
Se.setExtraStackFrame(null);
|
|
3384
3372
|
}
|
|
3385
|
-
function ze(e, t, r, o,
|
|
3373
|
+
function ze(e, t, r, o, g) {
|
|
3386
3374
|
{
|
|
3387
|
-
var
|
|
3388
|
-
for (var
|
|
3389
|
-
if (
|
|
3375
|
+
var w = Function.call.bind(te);
|
|
3376
|
+
for (var p in e)
|
|
3377
|
+
if (w(e, p)) {
|
|
3390
3378
|
var u = void 0;
|
|
3391
3379
|
try {
|
|
3392
|
-
if (typeof e[
|
|
3393
|
-
var
|
|
3394
|
-
throw
|
|
3380
|
+
if (typeof e[p] != "function") {
|
|
3381
|
+
var L = Error((o || "React class") + ": " + r + " type `" + p + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[p] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
3382
|
+
throw L.name = "Invariant Violation", L;
|
|
3395
3383
|
}
|
|
3396
|
-
u = e[
|
|
3384
|
+
u = e[p](t, p, o, r, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
3397
3385
|
} catch (R) {
|
|
3398
3386
|
u = R;
|
|
3399
3387
|
}
|
|
3400
|
-
u && !(u instanceof Error) && (
|
|
3388
|
+
u && !(u instanceof Error) && (_e(g), m("%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, p, typeof u), _e(null)), u instanceof Error && !(u.message in Ee) && (Ee[u.message] = !0, _e(g), m("Failed %s type: %s", r, u.message), _e(null));
|
|
3401
3389
|
}
|
|
3402
3390
|
}
|
|
3403
3391
|
}
|
|
@@ -3411,7 +3399,7 @@ function gr() {
|
|
|
3411
3399
|
return r;
|
|
3412
3400
|
}
|
|
3413
3401
|
}
|
|
3414
|
-
function
|
|
3402
|
+
function Ve(e) {
|
|
3415
3403
|
try {
|
|
3416
3404
|
return Re(e), !1;
|
|
3417
3405
|
} catch {
|
|
@@ -3422,17 +3410,17 @@ function gr() {
|
|
|
3422
3410
|
return "" + e;
|
|
3423
3411
|
}
|
|
3424
3412
|
function Te(e) {
|
|
3425
|
-
if (
|
|
3426
|
-
return
|
|
3413
|
+
if (Ve(e))
|
|
3414
|
+
return m("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
3415
|
}
|
|
3428
|
-
var Oe = T.ReactCurrentOwner,
|
|
3416
|
+
var Oe = T.ReactCurrentOwner, Ze = {
|
|
3429
3417
|
key: !0,
|
|
3430
3418
|
ref: !0,
|
|
3431
3419
|
__self: !0,
|
|
3432
3420
|
__source: !0
|
|
3433
3421
|
}, De, Pe;
|
|
3434
3422
|
function Xe(e) {
|
|
3435
|
-
if (
|
|
3423
|
+
if (te.call(e, "ref")) {
|
|
3436
3424
|
var t = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
3437
3425
|
if (t && t.isReactWarning)
|
|
3438
3426
|
return !1;
|
|
@@ -3440,7 +3428,7 @@ function gr() {
|
|
|
3440
3428
|
return e.ref !== void 0;
|
|
3441
3429
|
}
|
|
3442
3430
|
function Qe(e) {
|
|
3443
|
-
if (
|
|
3431
|
+
if (te.call(e, "key")) {
|
|
3444
3432
|
var t = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
3445
3433
|
if (t && t.isReactWarning)
|
|
3446
3434
|
return !1;
|
|
@@ -3453,7 +3441,7 @@ function gr() {
|
|
|
3453
3441
|
function tt(e, t) {
|
|
3454
3442
|
{
|
|
3455
3443
|
var r = function() {
|
|
3456
|
-
De || (De = !0,
|
|
3444
|
+
De || (De = !0, m("%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
3445
|
};
|
|
3458
3446
|
r.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
3459
3447
|
get: r,
|
|
@@ -3464,7 +3452,7 @@ function gr() {
|
|
|
3464
3452
|
function rt(e, t) {
|
|
3465
3453
|
{
|
|
3466
3454
|
var r = function() {
|
|
3467
|
-
Pe || (Pe = !0,
|
|
3455
|
+
Pe || (Pe = !0, m("%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
3456
|
};
|
|
3469
3457
|
r.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
3470
3458
|
get: r,
|
|
@@ -3472,7 +3460,7 @@ function gr() {
|
|
|
3472
3460
|
});
|
|
3473
3461
|
}
|
|
3474
3462
|
}
|
|
3475
|
-
var at = function(e, t, r, o,
|
|
3463
|
+
var at = function(e, t, r, o, g, w, p) {
|
|
3476
3464
|
var u = {
|
|
3477
3465
|
// This tag allows us to uniquely identify this as a React Element
|
|
3478
3466
|
$$typeof: _,
|
|
@@ -3480,9 +3468,9 @@ function gr() {
|
|
|
3480
3468
|
type: e,
|
|
3481
3469
|
key: t,
|
|
3482
3470
|
ref: r,
|
|
3483
|
-
props:
|
|
3471
|
+
props: p,
|
|
3484
3472
|
// Record the component responsible for creating this element.
|
|
3485
|
-
_owner:
|
|
3473
|
+
_owner: w
|
|
3486
3474
|
};
|
|
3487
3475
|
return u._store = {}, Object.defineProperty(u._store, "validated", {
|
|
3488
3476
|
configurable: !1,
|
|
@@ -3498,31 +3486,31 @@ function gr() {
|
|
|
3498
3486
|
configurable: !1,
|
|
3499
3487
|
enumerable: !1,
|
|
3500
3488
|
writable: !1,
|
|
3501
|
-
value:
|
|
3489
|
+
value: g
|
|
3502
3490
|
}), Object.freeze && (Object.freeze(u.props), Object.freeze(u)), u;
|
|
3503
3491
|
};
|
|
3504
|
-
function nt(e, t, r, o,
|
|
3492
|
+
function nt(e, t, r, o, g) {
|
|
3505
3493
|
{
|
|
3506
|
-
var
|
|
3507
|
-
r !== void 0 && (Te(r), u = "" + r), Qe(t) && (Te(t.key), u = "" + t.key), Xe(t) && (
|
|
3508
|
-
for (
|
|
3509
|
-
|
|
3494
|
+
var w, p = {}, u = null, L = null;
|
|
3495
|
+
r !== void 0 && (Te(r), u = "" + r), Qe(t) && (Te(t.key), u = "" + t.key), Xe(t) && (L = t.ref, et(t));
|
|
3496
|
+
for (w in t)
|
|
3497
|
+
te.call(t, w) && !Ze.hasOwnProperty(w) && (p[w] = t[w]);
|
|
3510
3498
|
if (e && e.defaultProps) {
|
|
3511
3499
|
var R = e.defaultProps;
|
|
3512
|
-
for (
|
|
3513
|
-
|
|
3500
|
+
for (w in R)
|
|
3501
|
+
p[w] === void 0 && (p[w] = R[w]);
|
|
3514
3502
|
}
|
|
3515
|
-
if (u ||
|
|
3516
|
-
var
|
|
3517
|
-
u && tt(
|
|
3503
|
+
if (u || L) {
|
|
3504
|
+
var D = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
3505
|
+
u && tt(p, D), L && rt(p, D);
|
|
3518
3506
|
}
|
|
3519
|
-
return at(e, u,
|
|
3507
|
+
return at(e, u, L, g, o, Oe.current, p);
|
|
3520
3508
|
}
|
|
3521
3509
|
}
|
|
3522
3510
|
var me = T.ReactCurrentOwner, Ne = T.ReactDebugCurrentFrame;
|
|
3523
|
-
function
|
|
3511
|
+
function Z(e) {
|
|
3524
3512
|
if (e) {
|
|
3525
|
-
var t = e._owner, r =
|
|
3513
|
+
var t = e._owner, r = oe(e.type, e._source, t ? t.type : null);
|
|
3526
3514
|
Ne.setExtraStackFrame(r);
|
|
3527
3515
|
} else
|
|
3528
3516
|
Ne.setExtraStackFrame(null);
|
|
@@ -3535,7 +3523,7 @@ function gr() {
|
|
|
3535
3523
|
function Fe() {
|
|
3536
3524
|
{
|
|
3537
3525
|
if (me.current) {
|
|
3538
|
-
var e =
|
|
3526
|
+
var e = x(me.current.type);
|
|
3539
3527
|
if (e)
|
|
3540
3528
|
return `
|
|
3541
3529
|
|
|
@@ -3570,7 +3558,7 @@ Check the top-level render call using <` + r + ">.");
|
|
|
3570
3558
|
return;
|
|
3571
3559
|
Me[r] = !0;
|
|
3572
3560
|
var o = "";
|
|
3573
|
-
e && e._owner && e._owner !== me.current && (o = " It was passed a child from " +
|
|
3561
|
+
e && e._owner && e._owner !== me.current && (o = " It was passed a child from " + x(e._owner.type) + "."), Z(e), m('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), Z(null);
|
|
3574
3562
|
}
|
|
3575
3563
|
}
|
|
3576
3564
|
function Ae(e, t) {
|
|
@@ -3585,10 +3573,10 @@ Check the top-level render call using <` + r + ">.");
|
|
|
3585
3573
|
else if (ye(e))
|
|
3586
3574
|
e._store && (e._store.validated = !0);
|
|
3587
3575
|
else if (e) {
|
|
3588
|
-
var
|
|
3589
|
-
if (typeof
|
|
3590
|
-
for (var
|
|
3591
|
-
ye(
|
|
3576
|
+
var g = P(e);
|
|
3577
|
+
if (typeof g == "function" && g !== e.entries)
|
|
3578
|
+
for (var w = g.call(e), p; !(p = w.next()).done; )
|
|
3579
|
+
ye(p.value) && Ie(p.value, t);
|
|
3592
3580
|
}
|
|
3593
3581
|
}
|
|
3594
3582
|
}
|
|
@@ -3607,14 +3595,14 @@ Check the top-level render call using <` + r + ">.");
|
|
|
3607
3595
|
else
|
|
3608
3596
|
return;
|
|
3609
3597
|
if (r) {
|
|
3610
|
-
var o =
|
|
3598
|
+
var o = x(t);
|
|
3611
3599
|
ze(r, e.props, "prop", o, e);
|
|
3612
3600
|
} else if (t.PropTypes !== void 0 && !pe) {
|
|
3613
3601
|
pe = !0;
|
|
3614
|
-
var
|
|
3615
|
-
|
|
3602
|
+
var g = x(t);
|
|
3603
|
+
m("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", g || "Unknown");
|
|
3616
3604
|
}
|
|
3617
|
-
typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved &&
|
|
3605
|
+
typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && m("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
3618
3606
|
}
|
|
3619
3607
|
}
|
|
3620
3608
|
function st(e) {
|
|
@@ -3622,48 +3610,48 @@ Check the top-level render call using <` + r + ">.");
|
|
|
3622
3610
|
for (var t = Object.keys(e.props), r = 0; r < t.length; r++) {
|
|
3623
3611
|
var o = t[r];
|
|
3624
3612
|
if (o !== "children" && o !== "key") {
|
|
3625
|
-
|
|
3613
|
+
Z(e), m("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", o), Z(null);
|
|
3626
3614
|
break;
|
|
3627
3615
|
}
|
|
3628
3616
|
}
|
|
3629
|
-
e.ref !== null && (
|
|
3617
|
+
e.ref !== null && (Z(e), m("Invalid attribute `ref` supplied to `React.Fragment`."), Z(null));
|
|
3630
3618
|
}
|
|
3631
3619
|
}
|
|
3632
3620
|
var $e = {};
|
|
3633
|
-
function Be(e, t, r, o,
|
|
3621
|
+
function Be(e, t, r, o, g, w) {
|
|
3634
3622
|
{
|
|
3635
|
-
var
|
|
3636
|
-
if (!
|
|
3623
|
+
var p = E(e);
|
|
3624
|
+
if (!p) {
|
|
3637
3625
|
var u = "";
|
|
3638
3626
|
(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
|
-
|
|
3627
|
+
var L = ot();
|
|
3628
|
+
L ? u += L : u += Fe();
|
|
3641
3629
|
var R;
|
|
3642
|
-
e === null ? R = "null" : fe(e) ? R = "array" : e !== void 0 && e.$$typeof === _ ? (R = "<" + (
|
|
3630
|
+
e === null ? R = "null" : fe(e) ? R = "array" : e !== void 0 && e.$$typeof === _ ? (R = "<" + (x(e.type) || "Unknown") + " />", u = " Did you accidentally export a JSX literal instead of a component?") : R = typeof e, m("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
3631
|
}
|
|
3644
|
-
var
|
|
3645
|
-
if (
|
|
3646
|
-
return
|
|
3647
|
-
if (
|
|
3648
|
-
var
|
|
3649
|
-
if (
|
|
3632
|
+
var D = nt(e, t, r, g, w);
|
|
3633
|
+
if (D == null)
|
|
3634
|
+
return D;
|
|
3635
|
+
if (p) {
|
|
3636
|
+
var G = t.children;
|
|
3637
|
+
if (G !== void 0)
|
|
3650
3638
|
if (o)
|
|
3651
|
-
if (fe(
|
|
3652
|
-
for (var X = 0; X <
|
|
3653
|
-
Ae(
|
|
3654
|
-
Object.freeze && Object.freeze(
|
|
3639
|
+
if (fe(G)) {
|
|
3640
|
+
for (var X = 0; X < G.length; X++)
|
|
3641
|
+
Ae(G[X], e);
|
|
3642
|
+
Object.freeze && Object.freeze(G);
|
|
3655
3643
|
} else
|
|
3656
|
-
|
|
3644
|
+
m("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
3645
|
else
|
|
3658
|
-
Ae(
|
|
3646
|
+
Ae(G, e);
|
|
3659
3647
|
}
|
|
3660
|
-
if (
|
|
3661
|
-
var J =
|
|
3648
|
+
if (te.call(t, "key")) {
|
|
3649
|
+
var J = x(e), U = Object.keys(t).filter(function(mt) {
|
|
3662
3650
|
return mt !== "key";
|
|
3663
3651
|
}), ve = U.length > 0 ? "{key: someKey, " + U.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
3664
3652
|
if (!$e[J + ve]) {
|
|
3665
3653
|
var ft = U.length > 0 ? "{" + U.join(": ..., ") + ": ...}" : "{}";
|
|
3666
|
-
|
|
3654
|
+
m(`A props object containing a "key" prop is being spread into JSX:
|
|
3667
3655
|
let props = %s;
|
|
3668
3656
|
<%s {...props} />
|
|
3669
3657
|
React keys must be passed directly to JSX without using spread:
|
|
@@ -3671,7 +3659,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
3671
3659
|
<%s key={someKey} {...props} />`, ve, J, ft, J), $e[J + ve] = !0;
|
|
3672
3660
|
}
|
|
3673
3661
|
}
|
|
3674
|
-
return e === c ? st(
|
|
3662
|
+
return e === c ? st(D) : it(D), D;
|
|
3675
3663
|
}
|
|
3676
3664
|
}
|
|
3677
3665
|
function lt(e, t, r) {
|
|
@@ -3783,13 +3771,13 @@ var Wt;
|
|
|
3783
3771
|
function zr() {
|
|
3784
3772
|
if (Wt) return ht;
|
|
3785
3773
|
Wt = 1;
|
|
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,
|
|
3787
|
-
function C(
|
|
3788
|
-
var n, s = {},
|
|
3789
|
-
|
|
3790
|
-
for (n in l) c.call(l, n) && !
|
|
3791
|
-
if (
|
|
3792
|
-
return { $$typeof: _, type:
|
|
3774
|
+
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, h = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
3775
|
+
function C(k, l, y) {
|
|
3776
|
+
var n, s = {}, b = null, j = null;
|
|
3777
|
+
y !== void 0 && (b = "" + y), l.key !== void 0 && (b = "" + l.key), l.ref !== void 0 && (j = l.ref);
|
|
3778
|
+
for (n in l) c.call(l, n) && !h.hasOwnProperty(n) && (s[n] = l[n]);
|
|
3779
|
+
if (k && k.defaultProps) for (n in l = k.defaultProps, l) s[n] === void 0 && (s[n] = l[n]);
|
|
3780
|
+
return { $$typeof: _, type: k, key: b, ref: j, props: s, _owner: d.current };
|
|
3793
3781
|
}
|
|
3794
3782
|
return ht.Fragment = i, ht.jsx = C, ht.jsxs = C, ht;
|
|
3795
3783
|
}
|
|
@@ -3806,54 +3794,54 @@ var bt = {};
|
|
|
3806
3794
|
var Ut;
|
|
3807
3795
|
function Hr() {
|
|
3808
3796
|
return Ut || (Ut = 1, process.env.NODE_ENV !== "production" && function() {
|
|
3809
|
-
var a = S, _ = Symbol.for("react.element"), i = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), d = Symbol.for("react.strict_mode"),
|
|
3810
|
-
function
|
|
3797
|
+
var a = S, _ = Symbol.for("react.element"), i = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), d = Symbol.for("react.strict_mode"), h = Symbol.for("react.profiler"), C = Symbol.for("react.provider"), k = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), y = Symbol.for("react.suspense"), n = Symbol.for("react.suspense_list"), s = Symbol.for("react.memo"), b = Symbol.for("react.lazy"), j = Symbol.for("react.offscreen"), I = Symbol.iterator, q = "@@iterator";
|
|
3798
|
+
function P(e) {
|
|
3811
3799
|
if (e === null || typeof e != "object")
|
|
3812
3800
|
return null;
|
|
3813
|
-
var t =
|
|
3801
|
+
var t = I && e[I] || e[q];
|
|
3814
3802
|
return typeof t == "function" ? t : null;
|
|
3815
3803
|
}
|
|
3816
3804
|
var T = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
3817
|
-
function
|
|
3805
|
+
function m(e) {
|
|
3818
3806
|
{
|
|
3819
3807
|
for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), o = 1; o < t; o++)
|
|
3820
3808
|
r[o - 1] = arguments[o];
|
|
3821
|
-
|
|
3809
|
+
N("error", e, r);
|
|
3822
3810
|
}
|
|
3823
3811
|
}
|
|
3824
|
-
function
|
|
3812
|
+
function N(e, t, r) {
|
|
3825
3813
|
{
|
|
3826
|
-
var o = T.ReactDebugCurrentFrame,
|
|
3827
|
-
|
|
3828
|
-
var
|
|
3829
|
-
return String(
|
|
3814
|
+
var o = T.ReactDebugCurrentFrame, g = o.getStackAddendum();
|
|
3815
|
+
g !== "" && (t += "%s", r = r.concat([g]));
|
|
3816
|
+
var w = r.map(function(p) {
|
|
3817
|
+
return String(p);
|
|
3830
3818
|
});
|
|
3831
|
-
|
|
3819
|
+
w.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, w);
|
|
3832
3820
|
}
|
|
3833
3821
|
}
|
|
3834
|
-
var
|
|
3835
|
-
|
|
3822
|
+
var K = !1, A = !1, O = !1, $ = !1, W = !1, F;
|
|
3823
|
+
F = Symbol.for("react.module.reference");
|
|
3836
3824
|
function E(e) {
|
|
3837
|
-
return !!(typeof e == "string" || typeof e == "function" || e === c || e ===
|
|
3825
|
+
return !!(typeof e == "string" || typeof e == "function" || e === c || e === h || W || e === d || e === y || e === n || $ || e === j || K || A || O || typeof e == "object" && e !== null && (e.$$typeof === b || e.$$typeof === s || e.$$typeof === C || e.$$typeof === k || e.$$typeof === l || // This needs to include all possible module reference object
|
|
3838
3826
|
// types supported by any Flight configuration anywhere since
|
|
3839
3827
|
// we don't know which Flight build this will end up being used
|
|
3840
3828
|
// with.
|
|
3841
|
-
e.$$typeof ===
|
|
3829
|
+
e.$$typeof === F || e.getModuleId !== void 0));
|
|
3842
3830
|
}
|
|
3843
|
-
function
|
|
3831
|
+
function B(e, t, r) {
|
|
3844
3832
|
var o = e.displayName;
|
|
3845
3833
|
if (o)
|
|
3846
3834
|
return o;
|
|
3847
|
-
var
|
|
3848
|
-
return
|
|
3835
|
+
var g = t.displayName || t.name || "";
|
|
3836
|
+
return g !== "" ? r + "(" + g + ")" : r;
|
|
3849
3837
|
}
|
|
3850
|
-
function
|
|
3838
|
+
function v(e) {
|
|
3851
3839
|
return e.displayName || "Context";
|
|
3852
3840
|
}
|
|
3853
|
-
function
|
|
3841
|
+
function x(e) {
|
|
3854
3842
|
if (e == null)
|
|
3855
3843
|
return null;
|
|
3856
|
-
if (typeof e.tag == "number" &&
|
|
3844
|
+
if (typeof e.tag == "number" && m("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
3857
3845
|
return e.displayName || e.name || null;
|
|
3858
3846
|
if (typeof e == "string")
|
|
3859
3847
|
return e;
|
|
@@ -3862,32 +3850,32 @@ function Hr() {
|
|
|
3862
3850
|
return "Fragment";
|
|
3863
3851
|
case i:
|
|
3864
3852
|
return "Portal";
|
|
3865
|
-
case
|
|
3853
|
+
case h:
|
|
3866
3854
|
return "Profiler";
|
|
3867
3855
|
case d:
|
|
3868
3856
|
return "StrictMode";
|
|
3869
|
-
case
|
|
3857
|
+
case y:
|
|
3870
3858
|
return "Suspense";
|
|
3871
3859
|
case n:
|
|
3872
3860
|
return "SuspenseList";
|
|
3873
3861
|
}
|
|
3874
3862
|
if (typeof e == "object")
|
|
3875
3863
|
switch (e.$$typeof) {
|
|
3876
|
-
case
|
|
3864
|
+
case k:
|
|
3877
3865
|
var t = e;
|
|
3878
|
-
return
|
|
3866
|
+
return v(t) + ".Consumer";
|
|
3879
3867
|
case C:
|
|
3880
3868
|
var r = e;
|
|
3881
|
-
return
|
|
3869
|
+
return v(r._context) + ".Provider";
|
|
3882
3870
|
case l:
|
|
3883
|
-
return
|
|
3871
|
+
return B(e, e.render, "ForwardRef");
|
|
3884
3872
|
case s:
|
|
3885
3873
|
var o = e.displayName || null;
|
|
3886
|
-
return o !== null ? o :
|
|
3887
|
-
case
|
|
3888
|
-
var
|
|
3874
|
+
return o !== null ? o : x(e.type) || "Memo";
|
|
3875
|
+
case b: {
|
|
3876
|
+
var g = e, w = g._payload, p = g._init;
|
|
3889
3877
|
try {
|
|
3890
|
-
return
|
|
3878
|
+
return x(p(w));
|
|
3891
3879
|
} catch {
|
|
3892
3880
|
return null;
|
|
3893
3881
|
}
|
|
@@ -3895,14 +3883,14 @@ function Hr() {
|
|
|
3895
3883
|
}
|
|
3896
3884
|
return null;
|
|
3897
3885
|
}
|
|
3898
|
-
var
|
|
3886
|
+
var M = Object.assign, Y = 0, Q, H, ie, le, ke, we, xe;
|
|
3899
3887
|
function Ce() {
|
|
3900
3888
|
}
|
|
3901
3889
|
Ce.__reactDisabledLog = !0;
|
|
3902
3890
|
function Ue() {
|
|
3903
3891
|
{
|
|
3904
|
-
if (
|
|
3905
|
-
|
|
3892
|
+
if (Y === 0) {
|
|
3893
|
+
Q = console.log, H = console.info, ie = console.warn, le = console.error, ke = console.group, we = console.groupCollapsed, xe = console.groupEnd;
|
|
3906
3894
|
var e = {
|
|
3907
3895
|
configurable: !0,
|
|
3908
3896
|
enumerable: !0,
|
|
@@ -3919,100 +3907,100 @@ function Hr() {
|
|
|
3919
3907
|
groupEnd: e
|
|
3920
3908
|
});
|
|
3921
3909
|
}
|
|
3922
|
-
|
|
3910
|
+
Y++;
|
|
3923
3911
|
}
|
|
3924
3912
|
}
|
|
3925
3913
|
function qe() {
|
|
3926
3914
|
{
|
|
3927
|
-
if (
|
|
3915
|
+
if (Y--, Y === 0) {
|
|
3928
3916
|
var e = {
|
|
3929
3917
|
configurable: !0,
|
|
3930
3918
|
enumerable: !0,
|
|
3931
3919
|
writable: !0
|
|
3932
3920
|
};
|
|
3933
3921
|
Object.defineProperties(console, {
|
|
3934
|
-
log:
|
|
3935
|
-
value:
|
|
3922
|
+
log: M({}, e, {
|
|
3923
|
+
value: Q
|
|
3936
3924
|
}),
|
|
3937
|
-
info:
|
|
3925
|
+
info: M({}, e, {
|
|
3938
3926
|
value: H
|
|
3939
3927
|
}),
|
|
3940
|
-
warn:
|
|
3941
|
-
value:
|
|
3928
|
+
warn: M({}, e, {
|
|
3929
|
+
value: ie
|
|
3942
3930
|
}),
|
|
3943
|
-
error:
|
|
3944
|
-
value:
|
|
3931
|
+
error: M({}, e, {
|
|
3932
|
+
value: le
|
|
3945
3933
|
}),
|
|
3946
|
-
group:
|
|
3947
|
-
value:
|
|
3934
|
+
group: M({}, e, {
|
|
3935
|
+
value: ke
|
|
3948
3936
|
}),
|
|
3949
|
-
groupCollapsed:
|
|
3937
|
+
groupCollapsed: M({}, e, {
|
|
3950
3938
|
value: we
|
|
3951
3939
|
}),
|
|
3952
|
-
groupEnd:
|
|
3940
|
+
groupEnd: M({}, e, {
|
|
3953
3941
|
value: xe
|
|
3954
3942
|
})
|
|
3955
3943
|
});
|
|
3956
3944
|
}
|
|
3957
|
-
|
|
3945
|
+
Y < 0 && m("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
3958
3946
|
}
|
|
3959
3947
|
}
|
|
3960
3948
|
var ce = T.ReactCurrentDispatcher, ue;
|
|
3961
|
-
function
|
|
3949
|
+
function ae(e, t, r) {
|
|
3962
3950
|
{
|
|
3963
3951
|
if (ue === void 0)
|
|
3964
3952
|
try {
|
|
3965
3953
|
throw Error();
|
|
3966
|
-
} catch (
|
|
3967
|
-
var o =
|
|
3954
|
+
} catch (g) {
|
|
3955
|
+
var o = g.stack.trim().match(/\n( *(at )?)/);
|
|
3968
3956
|
ue = o && o[1] || "";
|
|
3969
3957
|
}
|
|
3970
3958
|
return `
|
|
3971
3959
|
` + ue + e;
|
|
3972
3960
|
}
|
|
3973
3961
|
}
|
|
3974
|
-
var de = !1,
|
|
3962
|
+
var de = !1, ne;
|
|
3975
3963
|
{
|
|
3976
3964
|
var Ke = typeof WeakMap == "function" ? WeakMap : Map;
|
|
3977
|
-
|
|
3965
|
+
ne = new Ke();
|
|
3978
3966
|
}
|
|
3979
3967
|
function je(e, t) {
|
|
3980
3968
|
if (!e || de)
|
|
3981
3969
|
return "";
|
|
3982
3970
|
{
|
|
3983
|
-
var r =
|
|
3971
|
+
var r = ne.get(e);
|
|
3984
3972
|
if (r !== void 0)
|
|
3985
3973
|
return r;
|
|
3986
3974
|
}
|
|
3987
3975
|
var o;
|
|
3988
3976
|
de = !0;
|
|
3989
|
-
var
|
|
3977
|
+
var g = Error.prepareStackTrace;
|
|
3990
3978
|
Error.prepareStackTrace = void 0;
|
|
3991
|
-
var
|
|
3992
|
-
|
|
3979
|
+
var w;
|
|
3980
|
+
w = ce.current, ce.current = null, Ue();
|
|
3993
3981
|
try {
|
|
3994
3982
|
if (t) {
|
|
3995
|
-
var
|
|
3983
|
+
var p = function() {
|
|
3996
3984
|
throw Error();
|
|
3997
3985
|
};
|
|
3998
|
-
if (Object.defineProperty(
|
|
3986
|
+
if (Object.defineProperty(p.prototype, "props", {
|
|
3999
3987
|
set: function() {
|
|
4000
3988
|
throw Error();
|
|
4001
3989
|
}
|
|
4002
3990
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
4003
3991
|
try {
|
|
4004
|
-
Reflect.construct(
|
|
3992
|
+
Reflect.construct(p, []);
|
|
4005
3993
|
} catch (U) {
|
|
4006
3994
|
o = U;
|
|
4007
3995
|
}
|
|
4008
|
-
Reflect.construct(e, [],
|
|
3996
|
+
Reflect.construct(e, [], p);
|
|
4009
3997
|
} else {
|
|
4010
3998
|
try {
|
|
4011
|
-
|
|
3999
|
+
p.call();
|
|
4012
4000
|
} catch (U) {
|
|
4013
4001
|
o = U;
|
|
4014
4002
|
}
|
|
4015
|
-
e.call(
|
|
4003
|
+
e.call(p.prototype);
|
|
4016
4004
|
}
|
|
4017
4005
|
} else {
|
|
4018
4006
|
try {
|
|
@@ -4025,27 +4013,27 @@ function Hr() {
|
|
|
4025
4013
|
} catch (U) {
|
|
4026
4014
|
if (U && o && typeof U.stack == "string") {
|
|
4027
4015
|
for (var u = U.stack.split(`
|
|
4028
|
-
`),
|
|
4029
|
-
`), R = u.length - 1,
|
|
4030
|
-
|
|
4031
|
-
for (; R >= 1 &&
|
|
4032
|
-
if (u[R] !==
|
|
4033
|
-
if (R !== 1 ||
|
|
4016
|
+
`), L = o.stack.split(`
|
|
4017
|
+
`), R = u.length - 1, D = L.length - 1; R >= 1 && D >= 0 && u[R] !== L[D]; )
|
|
4018
|
+
D--;
|
|
4019
|
+
for (; R >= 1 && D >= 0; R--, D--)
|
|
4020
|
+
if (u[R] !== L[D]) {
|
|
4021
|
+
if (R !== 1 || D !== 1)
|
|
4034
4022
|
do
|
|
4035
|
-
if (R--,
|
|
4036
|
-
var
|
|
4023
|
+
if (R--, D--, D < 0 || u[R] !== L[D]) {
|
|
4024
|
+
var G = `
|
|
4037
4025
|
` + u[R].replace(" at new ", " at ");
|
|
4038
|
-
return e.displayName &&
|
|
4026
|
+
return e.displayName && G.includes("<anonymous>") && (G = G.replace("<anonymous>", e.displayName)), typeof e == "function" && ne.set(e, G), G;
|
|
4039
4027
|
}
|
|
4040
|
-
while (R >= 1 &&
|
|
4028
|
+
while (R >= 1 && D >= 0);
|
|
4041
4029
|
break;
|
|
4042
4030
|
}
|
|
4043
4031
|
}
|
|
4044
4032
|
} finally {
|
|
4045
|
-
de = !1, ce.current =
|
|
4033
|
+
de = !1, ce.current = w, qe(), Error.prepareStackTrace = g;
|
|
4046
4034
|
}
|
|
4047
|
-
var X = e ? e.displayName || e.name : "", J = X ?
|
|
4048
|
-
return typeof e == "function" &&
|
|
4035
|
+
var X = e ? e.displayName || e.name : "", J = X ? ae(X) : "";
|
|
4036
|
+
return typeof e == "function" && ne.set(e, J), J;
|
|
4049
4037
|
}
|
|
4050
4038
|
function Ge(e, t, r) {
|
|
4051
4039
|
return je(e, !1);
|
|
@@ -4054,59 +4042,59 @@ function Hr() {
|
|
|
4054
4042
|
var t = e.prototype;
|
|
4055
4043
|
return !!(t && t.isReactComponent);
|
|
4056
4044
|
}
|
|
4057
|
-
function
|
|
4045
|
+
function oe(e, t, r) {
|
|
4058
4046
|
if (e == null)
|
|
4059
4047
|
return "";
|
|
4060
4048
|
if (typeof e == "function")
|
|
4061
4049
|
return je(e, Ye(e));
|
|
4062
4050
|
if (typeof e == "string")
|
|
4063
|
-
return
|
|
4051
|
+
return ae(e);
|
|
4064
4052
|
switch (e) {
|
|
4065
|
-
case
|
|
4066
|
-
return
|
|
4053
|
+
case y:
|
|
4054
|
+
return ae("Suspense");
|
|
4067
4055
|
case n:
|
|
4068
|
-
return
|
|
4056
|
+
return ae("SuspenseList");
|
|
4069
4057
|
}
|
|
4070
4058
|
if (typeof e == "object")
|
|
4071
4059
|
switch (e.$$typeof) {
|
|
4072
4060
|
case l:
|
|
4073
4061
|
return Ge(e.render);
|
|
4074
4062
|
case s:
|
|
4075
|
-
return
|
|
4076
|
-
case
|
|
4077
|
-
var o = e,
|
|
4063
|
+
return oe(e.type, t, r);
|
|
4064
|
+
case b: {
|
|
4065
|
+
var o = e, g = o._payload, w = o._init;
|
|
4078
4066
|
try {
|
|
4079
|
-
return
|
|
4067
|
+
return oe(w(g), t, r);
|
|
4080
4068
|
} catch {
|
|
4081
4069
|
}
|
|
4082
4070
|
}
|
|
4083
4071
|
}
|
|
4084
4072
|
return "";
|
|
4085
4073
|
}
|
|
4086
|
-
var
|
|
4087
|
-
function
|
|
4074
|
+
var te = Object.prototype.hasOwnProperty, Ee = {}, Se = T.ReactDebugCurrentFrame;
|
|
4075
|
+
function _e(e) {
|
|
4088
4076
|
if (e) {
|
|
4089
|
-
var t = e._owner, r =
|
|
4077
|
+
var t = e._owner, r = oe(e.type, e._source, t ? t.type : null);
|
|
4090
4078
|
Se.setExtraStackFrame(r);
|
|
4091
4079
|
} else
|
|
4092
4080
|
Se.setExtraStackFrame(null);
|
|
4093
4081
|
}
|
|
4094
|
-
function ze(e, t, r, o,
|
|
4082
|
+
function ze(e, t, r, o, g) {
|
|
4095
4083
|
{
|
|
4096
|
-
var
|
|
4097
|
-
for (var
|
|
4098
|
-
if (
|
|
4084
|
+
var w = Function.call.bind(te);
|
|
4085
|
+
for (var p in e)
|
|
4086
|
+
if (w(e, p)) {
|
|
4099
4087
|
var u = void 0;
|
|
4100
4088
|
try {
|
|
4101
|
-
if (typeof e[
|
|
4102
|
-
var
|
|
4103
|
-
throw
|
|
4089
|
+
if (typeof e[p] != "function") {
|
|
4090
|
+
var L = Error((o || "React class") + ": " + r + " type `" + p + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[p] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
4091
|
+
throw L.name = "Invariant Violation", L;
|
|
4104
4092
|
}
|
|
4105
|
-
u = e[
|
|
4093
|
+
u = e[p](t, p, o, r, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
4106
4094
|
} catch (R) {
|
|
4107
4095
|
u = R;
|
|
4108
4096
|
}
|
|
4109
|
-
u && !(u instanceof Error) && (
|
|
4097
|
+
u && !(u instanceof Error) && (_e(g), m("%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, p, typeof u), _e(null)), u instanceof Error && !(u.message in Ee) && (Ee[u.message] = !0, _e(g), m("Failed %s type: %s", r, u.message), _e(null));
|
|
4110
4098
|
}
|
|
4111
4099
|
}
|
|
4112
4100
|
}
|
|
@@ -4120,7 +4108,7 @@ function Hr() {
|
|
|
4120
4108
|
return r;
|
|
4121
4109
|
}
|
|
4122
4110
|
}
|
|
4123
|
-
function
|
|
4111
|
+
function Ve(e) {
|
|
4124
4112
|
try {
|
|
4125
4113
|
return Re(e), !1;
|
|
4126
4114
|
} catch {
|
|
@@ -4131,17 +4119,17 @@ function Hr() {
|
|
|
4131
4119
|
return "" + e;
|
|
4132
4120
|
}
|
|
4133
4121
|
function Te(e) {
|
|
4134
|
-
if (
|
|
4135
|
-
return
|
|
4122
|
+
if (Ve(e))
|
|
4123
|
+
return m("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
4124
|
}
|
|
4137
|
-
var Oe = T.ReactCurrentOwner,
|
|
4125
|
+
var Oe = T.ReactCurrentOwner, Ze = {
|
|
4138
4126
|
key: !0,
|
|
4139
4127
|
ref: !0,
|
|
4140
4128
|
__self: !0,
|
|
4141
4129
|
__source: !0
|
|
4142
4130
|
}, De, Pe;
|
|
4143
4131
|
function Xe(e) {
|
|
4144
|
-
if (
|
|
4132
|
+
if (te.call(e, "ref")) {
|
|
4145
4133
|
var t = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
4146
4134
|
if (t && t.isReactWarning)
|
|
4147
4135
|
return !1;
|
|
@@ -4149,7 +4137,7 @@ function Hr() {
|
|
|
4149
4137
|
return e.ref !== void 0;
|
|
4150
4138
|
}
|
|
4151
4139
|
function Qe(e) {
|
|
4152
|
-
if (
|
|
4140
|
+
if (te.call(e, "key")) {
|
|
4153
4141
|
var t = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
4154
4142
|
if (t && t.isReactWarning)
|
|
4155
4143
|
return !1;
|
|
@@ -4162,7 +4150,7 @@ function Hr() {
|
|
|
4162
4150
|
function tt(e, t) {
|
|
4163
4151
|
{
|
|
4164
4152
|
var r = function() {
|
|
4165
|
-
De || (De = !0,
|
|
4153
|
+
De || (De = !0, m("%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
4154
|
};
|
|
4167
4155
|
r.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
4168
4156
|
get: r,
|
|
@@ -4173,7 +4161,7 @@ function Hr() {
|
|
|
4173
4161
|
function rt(e, t) {
|
|
4174
4162
|
{
|
|
4175
4163
|
var r = function() {
|
|
4176
|
-
Pe || (Pe = !0,
|
|
4164
|
+
Pe || (Pe = !0, m("%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
4165
|
};
|
|
4178
4166
|
r.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
4179
4167
|
get: r,
|
|
@@ -4181,7 +4169,7 @@ function Hr() {
|
|
|
4181
4169
|
});
|
|
4182
4170
|
}
|
|
4183
4171
|
}
|
|
4184
|
-
var at = function(e, t, r, o,
|
|
4172
|
+
var at = function(e, t, r, o, g, w, p) {
|
|
4185
4173
|
var u = {
|
|
4186
4174
|
// This tag allows us to uniquely identify this as a React Element
|
|
4187
4175
|
$$typeof: _,
|
|
@@ -4189,9 +4177,9 @@ function Hr() {
|
|
|
4189
4177
|
type: e,
|
|
4190
4178
|
key: t,
|
|
4191
4179
|
ref: r,
|
|
4192
|
-
props:
|
|
4180
|
+
props: p,
|
|
4193
4181
|
// Record the component responsible for creating this element.
|
|
4194
|
-
_owner:
|
|
4182
|
+
_owner: w
|
|
4195
4183
|
};
|
|
4196
4184
|
return u._store = {}, Object.defineProperty(u._store, "validated", {
|
|
4197
4185
|
configurable: !1,
|
|
@@ -4207,31 +4195,31 @@ function Hr() {
|
|
|
4207
4195
|
configurable: !1,
|
|
4208
4196
|
enumerable: !1,
|
|
4209
4197
|
writable: !1,
|
|
4210
|
-
value:
|
|
4198
|
+
value: g
|
|
4211
4199
|
}), Object.freeze && (Object.freeze(u.props), Object.freeze(u)), u;
|
|
4212
4200
|
};
|
|
4213
|
-
function nt(e, t, r, o,
|
|
4201
|
+
function nt(e, t, r, o, g) {
|
|
4214
4202
|
{
|
|
4215
|
-
var
|
|
4216
|
-
r !== void 0 && (Te(r), u = "" + r), Qe(t) && (Te(t.key), u = "" + t.key), Xe(t) && (
|
|
4217
|
-
for (
|
|
4218
|
-
|
|
4203
|
+
var w, p = {}, u = null, L = null;
|
|
4204
|
+
r !== void 0 && (Te(r), u = "" + r), Qe(t) && (Te(t.key), u = "" + t.key), Xe(t) && (L = t.ref, et(t));
|
|
4205
|
+
for (w in t)
|
|
4206
|
+
te.call(t, w) && !Ze.hasOwnProperty(w) && (p[w] = t[w]);
|
|
4219
4207
|
if (e && e.defaultProps) {
|
|
4220
4208
|
var R = e.defaultProps;
|
|
4221
|
-
for (
|
|
4222
|
-
|
|
4209
|
+
for (w in R)
|
|
4210
|
+
p[w] === void 0 && (p[w] = R[w]);
|
|
4223
4211
|
}
|
|
4224
|
-
if (u ||
|
|
4225
|
-
var
|
|
4226
|
-
u && tt(
|
|
4212
|
+
if (u || L) {
|
|
4213
|
+
var D = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
4214
|
+
u && tt(p, D), L && rt(p, D);
|
|
4227
4215
|
}
|
|
4228
|
-
return at(e, u,
|
|
4216
|
+
return at(e, u, L, g, o, Oe.current, p);
|
|
4229
4217
|
}
|
|
4230
4218
|
}
|
|
4231
4219
|
var me = T.ReactCurrentOwner, Ne = T.ReactDebugCurrentFrame;
|
|
4232
|
-
function
|
|
4220
|
+
function Z(e) {
|
|
4233
4221
|
if (e) {
|
|
4234
|
-
var t = e._owner, r =
|
|
4222
|
+
var t = e._owner, r = oe(e.type, e._source, t ? t.type : null);
|
|
4235
4223
|
Ne.setExtraStackFrame(r);
|
|
4236
4224
|
} else
|
|
4237
4225
|
Ne.setExtraStackFrame(null);
|
|
@@ -4244,7 +4232,7 @@ function Hr() {
|
|
|
4244
4232
|
function Fe() {
|
|
4245
4233
|
{
|
|
4246
4234
|
if (me.current) {
|
|
4247
|
-
var e =
|
|
4235
|
+
var e = x(me.current.type);
|
|
4248
4236
|
if (e)
|
|
4249
4237
|
return `
|
|
4250
4238
|
|
|
@@ -4279,7 +4267,7 @@ Check the top-level render call using <` + r + ">.");
|
|
|
4279
4267
|
return;
|
|
4280
4268
|
Me[r] = !0;
|
|
4281
4269
|
var o = "";
|
|
4282
|
-
e && e._owner && e._owner !== me.current && (o = " It was passed a child from " +
|
|
4270
|
+
e && e._owner && e._owner !== me.current && (o = " It was passed a child from " + x(e._owner.type) + "."), Z(e), m('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), Z(null);
|
|
4283
4271
|
}
|
|
4284
4272
|
}
|
|
4285
4273
|
function Ae(e, t) {
|
|
@@ -4294,10 +4282,10 @@ Check the top-level render call using <` + r + ">.");
|
|
|
4294
4282
|
else if (ye(e))
|
|
4295
4283
|
e._store && (e._store.validated = !0);
|
|
4296
4284
|
else if (e) {
|
|
4297
|
-
var
|
|
4298
|
-
if (typeof
|
|
4299
|
-
for (var
|
|
4300
|
-
ye(
|
|
4285
|
+
var g = P(e);
|
|
4286
|
+
if (typeof g == "function" && g !== e.entries)
|
|
4287
|
+
for (var w = g.call(e), p; !(p = w.next()).done; )
|
|
4288
|
+
ye(p.value) && Ie(p.value, t);
|
|
4301
4289
|
}
|
|
4302
4290
|
}
|
|
4303
4291
|
}
|
|
@@ -4316,14 +4304,14 @@ Check the top-level render call using <` + r + ">.");
|
|
|
4316
4304
|
else
|
|
4317
4305
|
return;
|
|
4318
4306
|
if (r) {
|
|
4319
|
-
var o =
|
|
4307
|
+
var o = x(t);
|
|
4320
4308
|
ze(r, e.props, "prop", o, e);
|
|
4321
4309
|
} else if (t.PropTypes !== void 0 && !pe) {
|
|
4322
4310
|
pe = !0;
|
|
4323
|
-
var
|
|
4324
|
-
|
|
4311
|
+
var g = x(t);
|
|
4312
|
+
m("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", g || "Unknown");
|
|
4325
4313
|
}
|
|
4326
|
-
typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved &&
|
|
4314
|
+
typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && m("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
4327
4315
|
}
|
|
4328
4316
|
}
|
|
4329
4317
|
function st(e) {
|
|
@@ -4331,48 +4319,48 @@ Check the top-level render call using <` + r + ">.");
|
|
|
4331
4319
|
for (var t = Object.keys(e.props), r = 0; r < t.length; r++) {
|
|
4332
4320
|
var o = t[r];
|
|
4333
4321
|
if (o !== "children" && o !== "key") {
|
|
4334
|
-
|
|
4322
|
+
Z(e), m("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", o), Z(null);
|
|
4335
4323
|
break;
|
|
4336
4324
|
}
|
|
4337
4325
|
}
|
|
4338
|
-
e.ref !== null && (
|
|
4326
|
+
e.ref !== null && (Z(e), m("Invalid attribute `ref` supplied to `React.Fragment`."), Z(null));
|
|
4339
4327
|
}
|
|
4340
4328
|
}
|
|
4341
4329
|
var $e = {};
|
|
4342
|
-
function Be(e, t, r, o,
|
|
4330
|
+
function Be(e, t, r, o, g, w) {
|
|
4343
4331
|
{
|
|
4344
|
-
var
|
|
4345
|
-
if (!
|
|
4332
|
+
var p = E(e);
|
|
4333
|
+
if (!p) {
|
|
4346
4334
|
var u = "";
|
|
4347
4335
|
(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
|
-
|
|
4336
|
+
var L = ot();
|
|
4337
|
+
L ? u += L : u += Fe();
|
|
4350
4338
|
var R;
|
|
4351
|
-
e === null ? R = "null" : fe(e) ? R = "array" : e !== void 0 && e.$$typeof === _ ? (R = "<" + (
|
|
4339
|
+
e === null ? R = "null" : fe(e) ? R = "array" : e !== void 0 && e.$$typeof === _ ? (R = "<" + (x(e.type) || "Unknown") + " />", u = " Did you accidentally export a JSX literal instead of a component?") : R = typeof e, m("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
4340
|
}
|
|
4353
|
-
var
|
|
4354
|
-
if (
|
|
4355
|
-
return
|
|
4356
|
-
if (
|
|
4357
|
-
var
|
|
4358
|
-
if (
|
|
4341
|
+
var D = nt(e, t, r, g, w);
|
|
4342
|
+
if (D == null)
|
|
4343
|
+
return D;
|
|
4344
|
+
if (p) {
|
|
4345
|
+
var G = t.children;
|
|
4346
|
+
if (G !== void 0)
|
|
4359
4347
|
if (o)
|
|
4360
|
-
if (fe(
|
|
4361
|
-
for (var X = 0; X <
|
|
4362
|
-
Ae(
|
|
4363
|
-
Object.freeze && Object.freeze(
|
|
4348
|
+
if (fe(G)) {
|
|
4349
|
+
for (var X = 0; X < G.length; X++)
|
|
4350
|
+
Ae(G[X], e);
|
|
4351
|
+
Object.freeze && Object.freeze(G);
|
|
4364
4352
|
} else
|
|
4365
|
-
|
|
4353
|
+
m("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
4354
|
else
|
|
4367
|
-
Ae(
|
|
4355
|
+
Ae(G, e);
|
|
4368
4356
|
}
|
|
4369
|
-
if (
|
|
4370
|
-
var J =
|
|
4357
|
+
if (te.call(t, "key")) {
|
|
4358
|
+
var J = x(e), U = Object.keys(t).filter(function(mt) {
|
|
4371
4359
|
return mt !== "key";
|
|
4372
4360
|
}), ve = U.length > 0 ? "{key: someKey, " + U.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
4373
4361
|
if (!$e[J + ve]) {
|
|
4374
4362
|
var ft = U.length > 0 ? "{" + U.join(": ..., ") + ": ...}" : "{}";
|
|
4375
|
-
|
|
4363
|
+
m(`A props object containing a "key" prop is being spread into JSX:
|
|
4376
4364
|
let props = %s;
|
|
4377
4365
|
<%s {...props} />
|
|
4378
4366
|
React keys must be passed directly to JSX without using spread:
|
|
@@ -4380,7 +4368,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
4380
4368
|
<%s key={someKey} {...props} />`, ve, J, ft, J), $e[J + ve] = !0;
|
|
4381
4369
|
}
|
|
4382
4370
|
}
|
|
4383
|
-
return e === c ? st(
|
|
4371
|
+
return e === c ? st(D) : it(D), D;
|
|
4384
4372
|
}
|
|
4385
4373
|
}
|
|
4386
4374
|
function lt(e, t, r) {
|
|
@@ -4394,11 +4382,11 @@ React keys must be passed directly to JSX without using spread:
|
|
|
4394
4382
|
}()), bt;
|
|
4395
4383
|
}
|
|
4396
4384
|
process.env.NODE_ENV === "production" ? Ot.exports = zr() : Ot.exports = Hr();
|
|
4397
|
-
var
|
|
4398
|
-
const Jr = "_btn_1k1b3_1",
|
|
4385
|
+
var Et = Ot.exports;
|
|
4386
|
+
const Jr = "_btn_1k1b3_1", Vr = "_confirm_1k1b3_15", Zr = "_cancel_1k1b3_20", Xr = "_action_1k1b3_25", Qr = "_disabled_1k1b3_30", ea = "_m_1k1b3_44", ta = "_l_1k1b3_48", wt = {
|
|
4399
4387
|
btn: Jr,
|
|
4400
|
-
confirm:
|
|
4401
|
-
cancel:
|
|
4388
|
+
confirm: Vr,
|
|
4389
|
+
cancel: Zr,
|
|
4402
4390
|
action: Xr,
|
|
4403
4391
|
disabled: Qr,
|
|
4404
4392
|
await: "_await_1k1b3_37",
|
|
@@ -4410,38 +4398,38 @@ const Jr = "_btn_1k1b3_1", Zr = "_confirm_1k1b3_15", Vr = "_cancel_1k1b3_20", Xr
|
|
|
4410
4398
|
size: i = "m",
|
|
4411
4399
|
view: c = "confirm",
|
|
4412
4400
|
children: d,
|
|
4413
|
-
isDisabled:
|
|
4401
|
+
isDisabled: h = !1,
|
|
4414
4402
|
className: C,
|
|
4415
|
-
after:
|
|
4403
|
+
after: k,
|
|
4416
4404
|
before: l,
|
|
4417
|
-
label:
|
|
4405
|
+
label: y,
|
|
4418
4406
|
onRef: n,
|
|
4419
4407
|
awaitText: s = "Ожидайте"
|
|
4420
4408
|
}) => {
|
|
4421
|
-
let [
|
|
4422
|
-
const
|
|
4409
|
+
let [b, j] = S.useState(!1);
|
|
4410
|
+
const I = (P) => {
|
|
4423
4411
|
if (a) return a();
|
|
4424
|
-
|
|
4412
|
+
b || (_ ? (j(!0), _(j)) : P.preventDefault());
|
|
4425
4413
|
};
|
|
4426
|
-
let
|
|
4427
|
-
return (
|
|
4414
|
+
let q = {};
|
|
4415
|
+
return (h || b) && (q.disabled = !0), /* @__PURE__ */ Et.jsx(
|
|
4428
4416
|
"button",
|
|
4429
4417
|
{
|
|
4430
|
-
...
|
|
4418
|
+
...q,
|
|
4431
4419
|
ref: n,
|
|
4432
4420
|
className: [
|
|
4433
4421
|
wt.btn,
|
|
4434
|
-
|
|
4422
|
+
b ? wt.disabled : wt[c],
|
|
4435
4423
|
i && wt[i],
|
|
4436
4424
|
C
|
|
4437
|
-
].filter((
|
|
4438
|
-
onClick:
|
|
4439
|
-
children:
|
|
4425
|
+
].filter((P) => P != "").join(" "),
|
|
4426
|
+
onClick: I,
|
|
4427
|
+
children: b ? s : /* @__PURE__ */ Et.jsxs(Et.Fragment, { children: [
|
|
4440
4428
|
l || "",
|
|
4441
4429
|
" ",
|
|
4442
|
-
|
|
4430
|
+
y,
|
|
4443
4431
|
" ",
|
|
4444
|
-
|
|
4432
|
+
k || ""
|
|
4445
4433
|
] }) || d
|
|
4446
4434
|
}
|
|
4447
4435
|
);
|
|
@@ -4450,18 +4438,18 @@ let ge = {};
|
|
|
4450
4438
|
function aa({ children: a }) {
|
|
4451
4439
|
return /* @__PURE__ */ z.jsx(z.Fragment, { children: a });
|
|
4452
4440
|
}
|
|
4453
|
-
var
|
|
4441
|
+
var Ct;
|
|
4454
4442
|
((a) => {
|
|
4455
4443
|
function _({
|
|
4456
4444
|
import_modules: n
|
|
4457
4445
|
}) {
|
|
4458
|
-
let [s,
|
|
4446
|
+
let [s, b] = S.useState([]);
|
|
4459
4447
|
return ge.x = (j) => {
|
|
4460
|
-
|
|
4448
|
+
b(j ? s.filter((I) => I.key !== j) : []);
|
|
4461
4449
|
}, Kt(() => {
|
|
4462
4450
|
n && (ge.i = n);
|
|
4463
|
-
}, []), ge.add = (j,
|
|
4464
|
-
|
|
4451
|
+
}, []), ge.add = (j, I = Date.now()) => {
|
|
4452
|
+
b([...s, { key: I, item: j }]);
|
|
4465
4453
|
}, /* @__PURE__ */ z.jsx(z.Fragment, { children: s.map((j) => j.item) });
|
|
4466
4454
|
}
|
|
4467
4455
|
a.Init = _;
|
|
@@ -4469,98 +4457,98 @@ var jt;
|
|
|
4469
4457
|
return n && (ge.i = n), ge.i;
|
|
4470
4458
|
}
|
|
4471
4459
|
a.Import = i, a.List = Wr, a.Scroll = Ur, a.Form = qr, a.Center = Kr, a.Column = Gr;
|
|
4472
|
-
function c(n, s,
|
|
4460
|
+
function c(n, s, b) {
|
|
4473
4461
|
ge.i ? ge.i(`${n}/modal/${s}.tsx`).then((j) => {
|
|
4474
|
-
j.default.Open(
|
|
4462
|
+
j.default.Open(b);
|
|
4475
4463
|
}) : Lt()(`${n}/modal/${s}.tsx`).then((j) => {
|
|
4476
|
-
j.default.Open(
|
|
4464
|
+
j.default.Open(b);
|
|
4477
4465
|
});
|
|
4478
4466
|
}
|
|
4479
4467
|
a.Open = c;
|
|
4480
|
-
function d({ type: n, name: s, params:
|
|
4481
|
-
let [j,
|
|
4468
|
+
function d({ type: n, name: s, params: b }) {
|
|
4469
|
+
let [j, I] = S.useState(null);
|
|
4482
4470
|
return S.useEffect(() => {
|
|
4483
|
-
ge.i ? ge.i(`${n}/modal/${s}.tsx`).then((
|
|
4484
|
-
|
|
4485
|
-
}) : Lt()(`${n}/modal/${s}.tsx`).then((
|
|
4486
|
-
|
|
4471
|
+
ge.i ? ge.i(`${n}/modal/${s}.tsx`).then((q) => {
|
|
4472
|
+
I(q.default.Icon(b));
|
|
4473
|
+
}) : Lt()(`${n}/modal/${s}.tsx`).then((q) => {
|
|
4474
|
+
I(q.default.Icon(b));
|
|
4487
4475
|
});
|
|
4488
|
-
}, [
|
|
4476
|
+
}, [b.id]), /* @__PURE__ */ z.jsx(z.Fragment, { children: j });
|
|
4489
4477
|
}
|
|
4490
4478
|
a.Icon = d;
|
|
4491
|
-
function
|
|
4479
|
+
function h(n, s) {
|
|
4492
4480
|
ge.add(/* @__PURE__ */ z.jsx(aa, { children: n }, String(Date.now())), s);
|
|
4493
4481
|
}
|
|
4494
|
-
a.Add =
|
|
4482
|
+
a.Add = h;
|
|
4495
4483
|
function C(n) {
|
|
4496
4484
|
ge.x(n);
|
|
4497
4485
|
}
|
|
4498
4486
|
a.Close = C;
|
|
4499
|
-
function
|
|
4487
|
+
function k(n) {
|
|
4500
4488
|
if (n.target.classList[0] !== "modal") return;
|
|
4501
4489
|
let s = n.target.children[0];
|
|
4502
4490
|
s.setAttribute("shake", !0), setTimeout(() => {
|
|
4503
4491
|
s.setAttribute("shake", !1);
|
|
4504
4492
|
}, 1e3);
|
|
4505
4493
|
}
|
|
4506
|
-
a.Shake =
|
|
4494
|
+
a.Shake = k;
|
|
4507
4495
|
function l(n, s) {
|
|
4508
|
-
const
|
|
4496
|
+
const b = (j) => {
|
|
4509
4497
|
a.Add(
|
|
4510
4498
|
/* @__PURE__ */ z.jsx(n, { ...j }, (/* @__PURE__ */ new Date()).getTime())
|
|
4511
4499
|
);
|
|
4512
4500
|
};
|
|
4513
4501
|
return {
|
|
4514
|
-
Icon: (j) => /* @__PURE__ */ z.jsx("i", { onClick: () =>
|
|
4515
|
-
Open:
|
|
4502
|
+
Icon: (j) => /* @__PURE__ */ z.jsx("i", { onClick: () => b(j), children: s && /* @__PURE__ */ z.jsx(s, {}) }),
|
|
4503
|
+
Open: b
|
|
4516
4504
|
};
|
|
4517
4505
|
}
|
|
4518
4506
|
a.Create = l;
|
|
4519
|
-
function
|
|
4507
|
+
function y({
|
|
4520
4508
|
title: n,
|
|
4521
4509
|
children: s,
|
|
4522
|
-
button:
|
|
4510
|
+
button: b,
|
|
4523
4511
|
tabs: j,
|
|
4524
|
-
size:
|
|
4525
|
-
className:
|
|
4526
|
-
shake:
|
|
4512
|
+
size: I = "m",
|
|
4513
|
+
className: q = "",
|
|
4514
|
+
shake: P = !0,
|
|
4527
4515
|
menu: T
|
|
4528
4516
|
}) {
|
|
4529
|
-
const [
|
|
4530
|
-
if (
|
|
4531
|
-
if (
|
|
4532
|
-
return
|
|
4533
|
-
if (
|
|
4534
|
-
return
|
|
4535
|
-
setOpen:
|
|
4536
|
-
disabled:
|
|
4517
|
+
const [m, N] = S.useState(!0), K = S.useRef(), A = ($) => {
|
|
4518
|
+
if (b) {
|
|
4519
|
+
if (b.onClick)
|
|
4520
|
+
return $(!1), b.onClick({ setOpen: N });
|
|
4521
|
+
if (b.onSend)
|
|
4522
|
+
return b.onSend({
|
|
4523
|
+
setOpen: N,
|
|
4524
|
+
disabled: $
|
|
4537
4525
|
});
|
|
4538
4526
|
}
|
|
4539
|
-
},
|
|
4540
|
-
if (!
|
|
4541
|
-
|
|
4542
|
-
|
|
4527
|
+
}, O = () => {
|
|
4528
|
+
if (!P) return N(!1);
|
|
4529
|
+
K.current.setAttribute("shake", !0), setTimeout(() => {
|
|
4530
|
+
K.current.setAttribute("shake", !1);
|
|
4543
4531
|
}, 1e3);
|
|
4544
4532
|
};
|
|
4545
|
-
return
|
|
4546
|
-
/* @__PURE__ */ z.jsx("div", { className: re.o, onClick:
|
|
4533
|
+
return m ? /* @__PURE__ */ z.jsxs("div", { className: `${re.modal}`, children: [
|
|
4534
|
+
/* @__PURE__ */ z.jsx("div", { className: re.o, onClick: O }),
|
|
4547
4535
|
/* @__PURE__ */ z.jsxs(
|
|
4548
4536
|
"div",
|
|
4549
4537
|
{
|
|
4550
|
-
className: [re.w, re[`s${
|
|
4551
|
-
ref:
|
|
4538
|
+
className: [re.w, re[`s${I}`], q].filter(($) => $ != "").join(" "),
|
|
4539
|
+
ref: K,
|
|
4552
4540
|
children: [
|
|
4553
4541
|
/* @__PURE__ */ z.jsxs("div", { className: re.h, children: [
|
|
4554
4542
|
/* @__PURE__ */ z.jsx("div", { className: re.t, children: n }),
|
|
4555
4543
|
/* @__PURE__ */ z.jsxs("div", { className: re.m, children: [
|
|
4556
|
-
j && /* @__PURE__ */ z.jsx("nav", { children: j.map((
|
|
4544
|
+
j && /* @__PURE__ */ z.jsx("nav", { children: j.map(($, W) => /* @__PURE__ */ z.jsx(
|
|
4557
4545
|
"span",
|
|
4558
4546
|
{
|
|
4559
|
-
onClick:
|
|
4560
|
-
className:
|
|
4561
|
-
children:
|
|
4547
|
+
onClick: $.onClick,
|
|
4548
|
+
className: $.active ? "active" : "",
|
|
4549
|
+
children: $.name
|
|
4562
4550
|
},
|
|
4563
|
-
|
|
4551
|
+
W
|
|
4564
4552
|
)) }),
|
|
4565
4553
|
T
|
|
4566
4554
|
] }),
|
|
@@ -4569,7 +4557,7 @@ var jt;
|
|
|
4569
4557
|
{
|
|
4570
4558
|
className: re.x,
|
|
4571
4559
|
onClick: () => {
|
|
4572
|
-
|
|
4560
|
+
N(!1);
|
|
4573
4561
|
},
|
|
4574
4562
|
children: /* @__PURE__ */ z.jsx("svg", { viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ z.jsx(
|
|
4575
4563
|
"path",
|
|
@@ -4585,13 +4573,13 @@ var jt;
|
|
|
4585
4573
|
)
|
|
4586
4574
|
] }),
|
|
4587
4575
|
s,
|
|
4588
|
-
|
|
4576
|
+
b && /* @__PURE__ */ z.jsx("div", { className: re.b, children: /* @__PURE__ */ z.jsx(
|
|
4589
4577
|
ra,
|
|
4590
4578
|
{
|
|
4591
|
-
label:
|
|
4579
|
+
label: b.label,
|
|
4592
4580
|
onSend: A,
|
|
4593
4581
|
className: re.btn,
|
|
4594
|
-
size:
|
|
4582
|
+
size: b.size
|
|
4595
4583
|
}
|
|
4596
4584
|
) })
|
|
4597
4585
|
]
|
|
@@ -4599,8 +4587,8 @@ var jt;
|
|
|
4599
4587
|
)
|
|
4600
4588
|
] }) : "";
|
|
4601
4589
|
}
|
|
4602
|
-
a.Main =
|
|
4603
|
-
})(
|
|
4590
|
+
a.Main = y;
|
|
4591
|
+
})(Ct || (Ct = {}));
|
|
4604
4592
|
const na = (a, _ = ",") => (a = a !== void 0 && a !== "" ? a.split(_) : [], a.filter((i) => i !== "").reduce((i, c) => (i[c] = !0, i), {}));
|
|
4605
4593
|
function ba({
|
|
4606
4594
|
value: a,
|
|
@@ -4608,40 +4596,40 @@ function ba({
|
|
|
4608
4596
|
name: i,
|
|
4609
4597
|
placeholder: c = "",
|
|
4610
4598
|
separator: d = ",",
|
|
4611
|
-
title:
|
|
4599
|
+
title: h,
|
|
4612
4600
|
error: C,
|
|
4613
|
-
hide:
|
|
4601
|
+
hide: k = !1,
|
|
4614
4602
|
edit: l = !0,
|
|
4615
|
-
active:
|
|
4603
|
+
active: y = !0,
|
|
4616
4604
|
outFormat: n = "object",
|
|
4617
4605
|
after: s = "",
|
|
4618
|
-
modal:
|
|
4606
|
+
modal: b,
|
|
4619
4607
|
options: j,
|
|
4620
|
-
className:
|
|
4608
|
+
className: I
|
|
4621
4609
|
}) {
|
|
4622
|
-
const [
|
|
4623
|
-
if (!(l &&
|
|
4624
|
-
let
|
|
4625
|
-
|
|
4626
|
-
callback: (
|
|
4610
|
+
const [q, P] = S.useState(na(a, d)), T = (m) => {
|
|
4611
|
+
if (!(l && y) || !b) return;
|
|
4612
|
+
let N = b.split(".");
|
|
4613
|
+
Ct.Open(N[0], N[1], {
|
|
4614
|
+
callback: (K) => {
|
|
4627
4615
|
if (_)
|
|
4628
4616
|
switch (n) {
|
|
4629
4617
|
case "array":
|
|
4630
|
-
_({ value: Object.keys(
|
|
4618
|
+
_({ value: Object.keys(K), name: i });
|
|
4631
4619
|
break;
|
|
4632
4620
|
case "string":
|
|
4633
4621
|
_({
|
|
4634
|
-
value: Object.keys(
|
|
4622
|
+
value: Object.keys(K).filter((A) => K[A]).join(d),
|
|
4635
4623
|
name: i
|
|
4636
4624
|
});
|
|
4637
4625
|
break;
|
|
4638
4626
|
default:
|
|
4639
|
-
_({ value:
|
|
4627
|
+
_({ value: K, name: i });
|
|
4640
4628
|
}
|
|
4641
|
-
|
|
4629
|
+
P(
|
|
4642
4630
|
Object.fromEntries(
|
|
4643
|
-
Object.entries(
|
|
4644
|
-
([A,
|
|
4631
|
+
Object.entries(K).filter(
|
|
4632
|
+
([A, O]) => O !== !1
|
|
4645
4633
|
)
|
|
4646
4634
|
)
|
|
4647
4635
|
);
|
|
@@ -4649,25 +4637,25 @@ function ba({
|
|
|
4649
4637
|
onValue: _,
|
|
4650
4638
|
options: j,
|
|
4651
4639
|
name: i,
|
|
4652
|
-
value:
|
|
4640
|
+
value: q
|
|
4653
4641
|
});
|
|
4654
4642
|
};
|
|
4655
|
-
return
|
|
4643
|
+
return k ? /* @__PURE__ */ f.jsx(f.Fragment, {}) : /* @__PURE__ */ f.jsx(
|
|
4656
4644
|
he,
|
|
4657
4645
|
{
|
|
4658
4646
|
type: "group",
|
|
4659
|
-
title:
|
|
4647
|
+
title: h,
|
|
4660
4648
|
error: C,
|
|
4661
|
-
element_blok: { className: [
|
|
4649
|
+
element_blok: { className: [I] },
|
|
4662
4650
|
element_input: {
|
|
4663
|
-
className: [
|
|
4651
|
+
className: [ee.g],
|
|
4664
4652
|
props: {
|
|
4665
4653
|
onClick: T
|
|
4666
4654
|
}
|
|
4667
4655
|
},
|
|
4668
|
-
children: Object.keys(
|
|
4669
|
-
var
|
|
4670
|
-
return /* @__PURE__ */ f.jsx("div", { children: (
|
|
4656
|
+
children: Object.keys(q).map((m) => {
|
|
4657
|
+
var N;
|
|
4658
|
+
return /* @__PURE__ */ f.jsx("div", { children: (N = j[m]) == null ? void 0 : N.label }, m);
|
|
4671
4659
|
})
|
|
4672
4660
|
}
|
|
4673
4661
|
);
|
|
@@ -4683,65 +4671,65 @@ function wa({
|
|
|
4683
4671
|
edit: i = !0,
|
|
4684
4672
|
active: c = !0,
|
|
4685
4673
|
hide: d,
|
|
4686
|
-
value:
|
|
4674
|
+
value: h = 0,
|
|
4687
4675
|
onValue: C,
|
|
4688
|
-
options:
|
|
4676
|
+
options: k,
|
|
4689
4677
|
placeholder: l = "",
|
|
4690
|
-
className:
|
|
4678
|
+
className: y,
|
|
4691
4679
|
isIcon: n = !0,
|
|
4692
4680
|
name: s,
|
|
4693
|
-
after:
|
|
4681
|
+
after: b,
|
|
4694
4682
|
view: j,
|
|
4695
|
-
order:
|
|
4696
|
-
isReload:
|
|
4683
|
+
order: I,
|
|
4684
|
+
isReload: q = !1
|
|
4697
4685
|
}) {
|
|
4698
|
-
const
|
|
4686
|
+
const P = S.useRef(null), [T, m] = S.useState(h), [N, K] = S.useState(k), [A, O] = S.useState(!1);
|
|
4699
4687
|
S.useEffect(() => {
|
|
4700
|
-
|
|
4701
|
-
}, [
|
|
4702
|
-
const
|
|
4703
|
-
var
|
|
4704
|
-
if (
|
|
4705
|
-
const
|
|
4706
|
-
(H) => (H.id || H.i) ===
|
|
4688
|
+
m(h), K(k);
|
|
4689
|
+
}, [h, k]);
|
|
4690
|
+
const $ = Array.isArray(N), W = $ ? N.length : Object.keys(N || {}).length, F = (M) => {
|
|
4691
|
+
var Y;
|
|
4692
|
+
if ($) {
|
|
4693
|
+
const Q = N.find(
|
|
4694
|
+
(H) => (H.id || H.i) === M
|
|
4707
4695
|
);
|
|
4708
|
-
return
|
|
4696
|
+
return Q == null ? void 0 : Q.n;
|
|
4709
4697
|
} else
|
|
4710
|
-
return (
|
|
4698
|
+
return (Y = N == null ? void 0 : N[M]) == null ? void 0 : Y.n;
|
|
4711
4699
|
};
|
|
4712
|
-
d = !!(d && (
|
|
4713
|
-
const
|
|
4714
|
-
|
|
4715
|
-
},
|
|
4716
|
-
|
|
4717
|
-
},
|
|
4718
|
-
return l && (
|
|
4700
|
+
d = !!(d && (h === 0 || F(h) === void 0)) && !(i && c);
|
|
4701
|
+
const B = (M) => {
|
|
4702
|
+
m(M), C && C({ value: M, name: s, reload: q });
|
|
4703
|
+
}, v = (M) => {
|
|
4704
|
+
W !== 0 && i && c && (P.position = P.current.getBoundingClientRect(), O(!0));
|
|
4705
|
+
}, x = {};
|
|
4706
|
+
return l && (x.placeholder = l), d ? "" : /* @__PURE__ */ f.jsxs(f.Fragment, { children: [
|
|
4719
4707
|
/* @__PURE__ */ f.jsx(
|
|
4720
4708
|
he,
|
|
4721
4709
|
{
|
|
4722
4710
|
type: "select",
|
|
4723
4711
|
title: a,
|
|
4724
|
-
element_blok: { className: [
|
|
4712
|
+
element_blok: { className: [y] },
|
|
4725
4713
|
error: _,
|
|
4726
4714
|
element_input: {
|
|
4727
4715
|
className: [Dt.f],
|
|
4728
|
-
props: { onClick:
|
|
4716
|
+
props: { onClick: v }
|
|
4729
4717
|
},
|
|
4730
|
-
ref:
|
|
4731
|
-
children: /* @__PURE__ */ f.jsx("div", { ...
|
|
4718
|
+
ref: P,
|
|
4719
|
+
children: /* @__PURE__ */ f.jsx("div", { ...x, children: F(T) || l || "" })
|
|
4732
4720
|
}
|
|
4733
4721
|
),
|
|
4734
4722
|
A && Nt(
|
|
4735
4723
|
/* @__PURE__ */ f.jsx(
|
|
4736
4724
|
sa,
|
|
4737
4725
|
{
|
|
4738
|
-
parent:
|
|
4739
|
-
onValue:
|
|
4726
|
+
parent: P.position,
|
|
4727
|
+
onValue: B,
|
|
4740
4728
|
view: j,
|
|
4741
|
-
className:
|
|
4742
|
-
options:
|
|
4743
|
-
order:
|
|
4744
|
-
setOpen:
|
|
4729
|
+
className: y,
|
|
4730
|
+
options: N,
|
|
4731
|
+
order: I,
|
|
4732
|
+
setOpen: O
|
|
4745
4733
|
},
|
|
4746
4734
|
(/* @__PURE__ */ new Date()).getTime()
|
|
4747
4735
|
),
|
|
@@ -4755,13 +4743,13 @@ const sa = ({
|
|
|
4755
4743
|
className: i,
|
|
4756
4744
|
options: c,
|
|
4757
4745
|
order: d,
|
|
4758
|
-
setOpen:
|
|
4746
|
+
setOpen: h
|
|
4759
4747
|
}) => {
|
|
4760
4748
|
let C = () => {
|
|
4761
|
-
|
|
4762
|
-
},
|
|
4763
|
-
|
|
4764
|
-
}, l = window.innerHeight - _.y + _.height < 320 ? _.y - 312 : _.y + 33,
|
|
4749
|
+
h(!1);
|
|
4750
|
+
}, k = (n) => {
|
|
4751
|
+
h(!1), a(n);
|
|
4752
|
+
}, l = window.innerHeight - _.y + _.height < 320 ? _.y - 312 : _.y + 33, y = window.innerWidth - _.x < 265 ? _.x - 235 : _.x;
|
|
4765
4753
|
return /* @__PURE__ */ f.jsxs(f.Fragment, { children: [
|
|
4766
4754
|
/* @__PURE__ */ f.jsx(
|
|
4767
4755
|
"div",
|
|
@@ -4777,48 +4765,48 @@ const sa = ({
|
|
|
4777
4765
|
className: [Dt.l, i].filter((n) => n !== void 0).join(" "),
|
|
4778
4766
|
style: {
|
|
4779
4767
|
top: l + "px",
|
|
4780
|
-
left:
|
|
4768
|
+
left: y + "px",
|
|
4781
4769
|
width: _.width
|
|
4782
4770
|
},
|
|
4783
|
-
children: /* @__PURE__ */ f.jsx(la, { order: d, options: c, link:
|
|
4771
|
+
children: /* @__PURE__ */ f.jsx(la, { order: d, options: c, link: k })
|
|
4784
4772
|
}
|
|
4785
4773
|
)
|
|
4786
4774
|
] });
|
|
4787
4775
|
}, la = ({ order: a, options: _, link: i }) => {
|
|
4788
4776
|
if (Array.isArray(_)) {
|
|
4789
4777
|
const d = _;
|
|
4790
|
-
return a ? /* @__PURE__ */ f.jsx("ul", { children: a.map((
|
|
4791
|
-
const
|
|
4792
|
-
(
|
|
4778
|
+
return a ? /* @__PURE__ */ f.jsx("ul", { children: a.map((h, C) => {
|
|
4779
|
+
const k = d.find(
|
|
4780
|
+
(y) => (y.id || y.i) === h
|
|
4793
4781
|
);
|
|
4794
|
-
if (!
|
|
4795
|
-
const l =
|
|
4782
|
+
if (!k || k.s === 0 || !k.n) return null;
|
|
4783
|
+
const l = k.id || k.i;
|
|
4796
4784
|
return l === void 0 ? null : /* @__PURE__ */ f.jsx(
|
|
4797
4785
|
"li",
|
|
4798
4786
|
{
|
|
4799
4787
|
onClick: () => {
|
|
4800
4788
|
i(l);
|
|
4801
4789
|
},
|
|
4802
|
-
children:
|
|
4790
|
+
children: k.n
|
|
4803
4791
|
},
|
|
4804
4792
|
`${l}-${C}`
|
|
4805
4793
|
);
|
|
4806
|
-
}) }) : /* @__PURE__ */ f.jsx("ul", { children: d.map((
|
|
4807
|
-
if (
|
|
4808
|
-
const
|
|
4809
|
-
return
|
|
4794
|
+
}) }) : /* @__PURE__ */ f.jsx("ul", { children: d.map((h, C) => {
|
|
4795
|
+
if (h.s === 0 || !h.n) return null;
|
|
4796
|
+
const k = h.id || h.i;
|
|
4797
|
+
return k === void 0 ? null : /* @__PURE__ */ f.jsx(
|
|
4810
4798
|
"li",
|
|
4811
4799
|
{
|
|
4812
4800
|
onClick: () => {
|
|
4813
|
-
i(
|
|
4801
|
+
i(k);
|
|
4814
4802
|
},
|
|
4815
|
-
children:
|
|
4803
|
+
children: h.n
|
|
4816
4804
|
},
|
|
4817
|
-
`${
|
|
4805
|
+
`${k}-${C}`
|
|
4818
4806
|
);
|
|
4819
4807
|
}) });
|
|
4820
4808
|
}
|
|
4821
|
-
return a ? /* @__PURE__ */ f.jsx("ul", { children: a.map((d,
|
|
4809
|
+
return a ? /* @__PURE__ */ f.jsx("ul", { children: a.map((d, h) => {
|
|
4822
4810
|
const C = _[d];
|
|
4823
4811
|
return !C || C.s === 0 || !C.n ? null : /* @__PURE__ */ f.jsx(
|
|
4824
4812
|
"li",
|
|
@@ -4828,19 +4816,19 @@ const sa = ({
|
|
|
4828
4816
|
},
|
|
4829
4817
|
children: C.n
|
|
4830
4818
|
},
|
|
4831
|
-
`${d}-${
|
|
4819
|
+
`${d}-${h}`
|
|
4832
4820
|
);
|
|
4833
|
-
}) }) : /* @__PURE__ */ f.jsx("ul", { children: Object.keys(_ || {}).map((d,
|
|
4834
|
-
const C = Number(d),
|
|
4835
|
-
return !
|
|
4821
|
+
}) }) : /* @__PURE__ */ f.jsx("ul", { children: Object.keys(_ || {}).map((d, h) => {
|
|
4822
|
+
const C = Number(d), k = _[C];
|
|
4823
|
+
return !k || k.s === 0 || !k.n ? null : /* @__PURE__ */ f.jsx(
|
|
4836
4824
|
"li",
|
|
4837
4825
|
{
|
|
4838
4826
|
onClick: () => {
|
|
4839
4827
|
i(C);
|
|
4840
4828
|
},
|
|
4841
|
-
children:
|
|
4829
|
+
children: k.n
|
|
4842
4830
|
},
|
|
4843
|
-
`${C}-${
|
|
4831
|
+
`${C}-${h}`
|
|
4844
4832
|
);
|
|
4845
4833
|
}) });
|
|
4846
4834
|
};
|
|
@@ -4850,50 +4838,50 @@ function xa({
|
|
|
4850
4838
|
name: i,
|
|
4851
4839
|
placeholder: c = "",
|
|
4852
4840
|
title: d,
|
|
4853
|
-
error:
|
|
4841
|
+
error: h,
|
|
4854
4842
|
hide: C = !1,
|
|
4855
|
-
edit:
|
|
4843
|
+
edit: k = !0,
|
|
4856
4844
|
show: l = !0,
|
|
4857
|
-
active:
|
|
4845
|
+
active: y = !0,
|
|
4858
4846
|
after: n = "",
|
|
4859
4847
|
view: s,
|
|
4860
|
-
modal:
|
|
4848
|
+
modal: b,
|
|
4861
4849
|
options: j,
|
|
4862
|
-
className:
|
|
4850
|
+
className: I
|
|
4863
4851
|
}) {
|
|
4864
|
-
const
|
|
4852
|
+
const q = (O) => O ? Array.isArray(O) ? O[1] || "" : O : "", P = (O) => Array.isArray(O) && O.length >= 2 ? [O[0], O[1]] : typeof O == "object" && O.id !== void 0 && O.name !== void 0 ? [O.id, O.name] : O, T = (O) => {
|
|
4853
|
+
const $ = P(O);
|
|
4854
|
+
_ && _({ value: $, name: i }), N($);
|
|
4855
|
+
}, [m, N] = S.useState(a);
|
|
4865
4856
|
S.useEffect(() => {
|
|
4866
|
-
|
|
4857
|
+
N(a);
|
|
4867
4858
|
}, [a]);
|
|
4868
|
-
const
|
|
4869
|
-
if (!(
|
|
4870
|
-
let
|
|
4871
|
-
if (
|
|
4859
|
+
const K = (O) => {
|
|
4860
|
+
if (!(k && y) || !b) return;
|
|
4861
|
+
let $ = b.split(".");
|
|
4862
|
+
if ($.length < 2)
|
|
4872
4863
|
return;
|
|
4873
|
-
const
|
|
4874
|
-
|
|
4875
|
-
callback:
|
|
4876
|
-
|
|
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($);
|
|
4878
|
-
},
|
|
4879
|
-
onValue: _,
|
|
4864
|
+
const W = Array.isArray(m) ? m[0] : m;
|
|
4865
|
+
Ct.Open($[0], $[1], {
|
|
4866
|
+
callback: T,
|
|
4867
|
+
onValue: T,
|
|
4880
4868
|
options: j,
|
|
4881
4869
|
name: i,
|
|
4882
|
-
value:
|
|
4870
|
+
value: W
|
|
4883
4871
|
});
|
|
4884
|
-
},
|
|
4885
|
-
return c && (
|
|
4872
|
+
}, A = {};
|
|
4873
|
+
return c && (A.placeholder = c), C ? /* @__PURE__ */ f.jsx(f.Fragment, {}) : /* @__PURE__ */ f.jsx(
|
|
4886
4874
|
he,
|
|
4887
4875
|
{
|
|
4888
4876
|
type: "input",
|
|
4889
4877
|
title: d,
|
|
4890
|
-
element_blok: { className: [
|
|
4891
|
-
error:
|
|
4878
|
+
element_blok: { className: [I] },
|
|
4879
|
+
error: h,
|
|
4892
4880
|
element_input: {
|
|
4893
|
-
className: [
|
|
4894
|
-
props: { onClick:
|
|
4881
|
+
className: [ee.w],
|
|
4882
|
+
props: { onClick: K }
|
|
4895
4883
|
},
|
|
4896
|
-
children: /* @__PURE__ */ f.jsx("div", { ...
|
|
4884
|
+
children: /* @__PURE__ */ f.jsx("div", { ...A, children: q(m) })
|
|
4897
4885
|
}
|
|
4898
4886
|
);
|
|
4899
4887
|
}
|
|
@@ -4903,65 +4891,65 @@ function Ca({
|
|
|
4903
4891
|
onSave: i,
|
|
4904
4892
|
name: c,
|
|
4905
4893
|
placeholder: d = "",
|
|
4906
|
-
className:
|
|
4894
|
+
className: h,
|
|
4907
4895
|
title: C,
|
|
4908
|
-
error:
|
|
4896
|
+
error: k,
|
|
4909
4897
|
edit: l = !0,
|
|
4910
|
-
active:
|
|
4898
|
+
active: y = !0,
|
|
4911
4899
|
reload: n = !1,
|
|
4912
4900
|
native: s = !1,
|
|
4913
|
-
isShow:
|
|
4901
|
+
isShow: b = !1,
|
|
4914
4902
|
maxLength: j,
|
|
4915
|
-
eyes:
|
|
4916
|
-
after:
|
|
4903
|
+
eyes: I = [],
|
|
4904
|
+
after: q = ""
|
|
4917
4905
|
}) {
|
|
4918
|
-
const [
|
|
4919
|
-
let
|
|
4906
|
+
const [P, T] = S.useState(b);
|
|
4907
|
+
let m = (W) => {
|
|
4920
4908
|
_ && _({
|
|
4921
|
-
value:
|
|
4909
|
+
value: W.target.textContent,
|
|
4922
4910
|
name: c,
|
|
4923
4911
|
reload: n
|
|
4924
4912
|
});
|
|
4925
|
-
},
|
|
4926
|
-
|
|
4927
|
-
},
|
|
4928
|
-
|
|
4913
|
+
}, N = (W) => {
|
|
4914
|
+
W.key === "Enter" && W.preventDefault();
|
|
4915
|
+
}, K = (W) => {
|
|
4916
|
+
W.preventDefault(), navigator.clipboard.readText().then((F) => {
|
|
4929
4917
|
if (j) {
|
|
4930
|
-
let E =
|
|
4918
|
+
let E = W.target.textContent.length;
|
|
4931
4919
|
if (E >= j) return;
|
|
4932
|
-
j -= E,
|
|
4920
|
+
j -= E, F = F.slice(0, j);
|
|
4933
4921
|
}
|
|
4934
4922
|
window.document.execCommand(
|
|
4935
4923
|
"insertText",
|
|
4936
4924
|
!1,
|
|
4937
|
-
|
|
4925
|
+
F.replace(/(\r\n|\n|\r)/gm, " ")
|
|
4938
4926
|
);
|
|
4939
|
-
}).catch((
|
|
4927
|
+
}).catch((F) => {
|
|
4940
4928
|
});
|
|
4941
|
-
}, A = (
|
|
4942
|
-
|
|
4929
|
+
}, A = (W) => {
|
|
4930
|
+
V.Blur(W), i == null || i({ value: W.target.textContent.trim(), name: c });
|
|
4943
4931
|
};
|
|
4944
|
-
const
|
|
4945
|
-
|
|
4946
|
-
const
|
|
4947
|
-
return d && (
|
|
4932
|
+
const O = {};
|
|
4933
|
+
O.field = "password", P && (O.show = ""), h && (O.className = h);
|
|
4934
|
+
const $ = {};
|
|
4935
|
+
return d && ($.placeholder = d), s ? "" : /* @__PURE__ */ f.jsxs("dl", { ...O, children: [
|
|
4948
4936
|
C ? /* @__PURE__ */ f.jsx("dt", { children: C }) : "",
|
|
4949
4937
|
/* @__PURE__ */ f.jsx(
|
|
4950
4938
|
"dd",
|
|
4951
4939
|
{
|
|
4952
|
-
onPaste:
|
|
4953
|
-
onInput:
|
|
4954
|
-
onKeyDown:
|
|
4940
|
+
onPaste: K,
|
|
4941
|
+
onInput: m,
|
|
4942
|
+
onKeyDown: N,
|
|
4955
4943
|
onBlur: A,
|
|
4956
|
-
contentEditable: l &&
|
|
4957
|
-
|
|
4944
|
+
contentEditable: l && y ? V.ContentEditable : "false",
|
|
4945
|
+
...$,
|
|
4958
4946
|
suppressContentEditableWarning: !0,
|
|
4959
4947
|
children: a
|
|
4960
4948
|
}
|
|
4961
4949
|
),
|
|
4962
|
-
|
|
4963
|
-
|
|
4964
|
-
|
|
4950
|
+
I[0] && /* @__PURE__ */ f.jsx("i", { onClick: () => T(!P), children: P ? I[1] : I[0] }),
|
|
4951
|
+
q,
|
|
4952
|
+
k ? /* @__PURE__ */ f.jsx("em", { children: k }) : ""
|
|
4965
4953
|
] });
|
|
4966
4954
|
}
|
|
4967
4955
|
function ja({
|
|
@@ -4970,17 +4958,17 @@ function ja({
|
|
|
4970
4958
|
value: i,
|
|
4971
4959
|
title: c,
|
|
4972
4960
|
className: d,
|
|
4973
|
-
name:
|
|
4961
|
+
name: h,
|
|
4974
4962
|
text: C,
|
|
4975
|
-
id:
|
|
4963
|
+
id: k,
|
|
4976
4964
|
reload: l
|
|
4977
4965
|
}) {
|
|
4978
|
-
const [
|
|
4966
|
+
const [y, n] = S.useState(!!i);
|
|
4979
4967
|
S.useEffect(() => {
|
|
4980
4968
|
n(!!i);
|
|
4981
4969
|
}, [i]);
|
|
4982
4970
|
let s = () => {
|
|
4983
|
-
a && a({ value:
|
|
4971
|
+
a && a({ value: y ? 0 : 1, name: h, id: k, reload: l }), n(!y);
|
|
4984
4972
|
};
|
|
4985
4973
|
return /* @__PURE__ */ f.jsxs(
|
|
4986
4974
|
he,
|
|
@@ -4989,46 +4977,46 @@ function ja({
|
|
|
4989
4977
|
title: _ || c,
|
|
4990
4978
|
element_blok: { className: [d] },
|
|
4991
4979
|
element_input: {
|
|
4992
|
-
className: [
|
|
4980
|
+
className: [ee.h],
|
|
4993
4981
|
props: {
|
|
4994
4982
|
onClick: s
|
|
4995
4983
|
}
|
|
4996
4984
|
},
|
|
4997
4985
|
children: [
|
|
4998
|
-
/* @__PURE__ */ f.jsx("div", { "aria-checked": `${
|
|
4986
|
+
/* @__PURE__ */ f.jsx("div", { "aria-checked": `${y ? "true" : "false"}` }),
|
|
4999
4987
|
/* @__PURE__ */ f.jsx("span", { children: C })
|
|
5000
4988
|
]
|
|
5001
4989
|
}
|
|
5002
4990
|
);
|
|
5003
4991
|
}
|
|
5004
|
-
const
|
|
4992
|
+
const se = {};
|
|
5005
4993
|
function Ea(a) {
|
|
5006
4994
|
const [_, i] = S.useState({}), c = S.useRef(a);
|
|
5007
|
-
return
|
|
4995
|
+
return se.u = (d) => {
|
|
5008
4996
|
c.current = { ...c.current, [d.name]: d.value };
|
|
5009
|
-
},
|
|
4997
|
+
}, se.n = (d) => {
|
|
5010
4998
|
c.current = d, i(Date.now());
|
|
5011
|
-
},
|
|
4999
|
+
}, se.r = (d) => {
|
|
5012
5000
|
d && d(c.current), i(Date.now());
|
|
5013
|
-
}, [c.current,
|
|
5001
|
+
}, [c.current, se.n];
|
|
5014
5002
|
}
|
|
5015
5003
|
function Sa(a) {
|
|
5016
|
-
|
|
5004
|
+
se.u(a), a.reload && se.r();
|
|
5017
5005
|
}
|
|
5018
5006
|
function Ra(a) {
|
|
5019
|
-
|
|
5007
|
+
se.r && se.r(a);
|
|
5020
5008
|
}
|
|
5021
5009
|
function Ta(a) {
|
|
5022
5010
|
const [_, i] = S.useState({}), c = S.useRef(a);
|
|
5023
|
-
return
|
|
5011
|
+
return se.u = (d) => {
|
|
5024
5012
|
c.current = { ...c.current, [d.name]: d.value };
|
|
5025
|
-
},
|
|
5026
|
-
Object.keys(d).length > 0 ? Object.keys(d).forEach((
|
|
5027
|
-
c.current[
|
|
5013
|
+
}, se.n = (d) => {
|
|
5014
|
+
Object.keys(d).length > 0 ? Object.keys(d).forEach((h) => {
|
|
5015
|
+
c.current[h] = d[h];
|
|
5028
5016
|
}) : c.current = {}, i(Date.now());
|
|
5029
|
-
},
|
|
5017
|
+
}, se.r = () => {
|
|
5030
5018
|
i(Date.now());
|
|
5031
|
-
}, [c.current,
|
|
5019
|
+
}, [c.current, se.n];
|
|
5032
5020
|
}
|
|
5033
5021
|
function Pt() {
|
|
5034
5022
|
return typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof self < "u" ? self : typeof global < "u" ? global : {};
|
|
@@ -5038,10 +5026,10 @@ Object.assign(Pt().elcrm, { form: Yt.version });
|
|
|
5038
5026
|
export {
|
|
5039
5027
|
ja as Check,
|
|
5040
5028
|
ya as DateField,
|
|
5041
|
-
|
|
5029
|
+
pa as MaskField,
|
|
5042
5030
|
xa as ModalField,
|
|
5043
|
-
|
|
5044
|
-
|
|
5031
|
+
ma as Money,
|
|
5032
|
+
fa as Month,
|
|
5045
5033
|
ka as NumberField,
|
|
5046
5034
|
ba as OptionsField,
|
|
5047
5035
|
Ca as PasswordField,
|