@elcrm/form 0.0.32 → 0.0.34
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 +361 -361
- package/dist/index.umd.js +30 -30
- package/dist/src/lib/Textarea.d.ts +28 -4
- package/dist/src/lib/_Textarea.d.ts +20 -0
- package/dist/src/lib/index.d.ts +2 -2
- package/dist/src/lib/use.d.ts +1 -1
- package/package.json +1 -1
- package/dist/src/lib/Note.d.ts +0 -44
- /package/dist/src/lib/{Number.d.ts → Numeric.d.ts} +0 -0
package/dist/index.es.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import W, { forwardRef as Jt, useEffect as Zt } from "react";
|
|
2
2
|
import { createPortal as Mt } from "react-dom";
|
|
3
|
-
import './index.css';const Vt = "0.0.
|
|
3
|
+
import './index.css';const Vt = "0.0.34", Xt = {
|
|
4
4
|
version: Vt
|
|
5
5
|
};
|
|
6
6
|
var Tt = { exports: {} }, mt = {};
|
|
@@ -19,11 +19,11 @@ function Qt() {
|
|
|
19
19
|
$t = 1;
|
|
20
20
|
var n = W, i = Symbol.for("react.element"), c = Symbol.for("react.fragment"), u = Object.prototype.hasOwnProperty, v = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, S = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
21
21
|
function P(x, s, g) {
|
|
22
|
-
var o, d = {},
|
|
23
|
-
g !== void 0 && (
|
|
22
|
+
var o, d = {}, b = null, C = null;
|
|
23
|
+
g !== void 0 && (b = "" + g), s.key !== void 0 && (b = "" + s.key), s.ref !== void 0 && (C = s.ref);
|
|
24
24
|
for (o in s) u.call(s, o) && !S.hasOwnProperty(o) && (d[o] = s[o]);
|
|
25
25
|
if (x && x.defaultProps) for (o in s = x.defaultProps, s) d[o] === void 0 && (d[o] = s[o]);
|
|
26
|
-
return { $$typeof: i, type: x, key:
|
|
26
|
+
return { $$typeof: i, type: x, key: b, ref: C, props: d, _owner: v.current };
|
|
27
27
|
}
|
|
28
28
|
return mt.Fragment = c, mt.jsx = P, mt.jsxs = P, mt;
|
|
29
29
|
}
|
|
@@ -40,8 +40,8 @@ var yt = {};
|
|
|
40
40
|
var At;
|
|
41
41
|
function er() {
|
|
42
42
|
return At || (At = 1, process.env.NODE_ENV !== "production" && function() {
|
|
43
|
-
var n = W, i = Symbol.for("react.element"), c = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), v = Symbol.for("react.strict_mode"), S = Symbol.for("react.profiler"), P = Symbol.for("react.provider"), x = Symbol.for("react.context"), s = Symbol.for("react.forward_ref"), g = Symbol.for("react.suspense"), o = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"),
|
|
44
|
-
function
|
|
43
|
+
var n = W, i = Symbol.for("react.element"), c = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), v = Symbol.for("react.strict_mode"), S = Symbol.for("react.profiler"), P = Symbol.for("react.provider"), x = Symbol.for("react.context"), s = Symbol.for("react.forward_ref"), g = Symbol.for("react.suspense"), o = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), b = Symbol.for("react.lazy"), C = Symbol.for("react.offscreen"), N = Symbol.iterator, A = "@@iterator";
|
|
44
|
+
function I(e) {
|
|
45
45
|
if (e === null || typeof e != "object")
|
|
46
46
|
return null;
|
|
47
47
|
var t = N && e[N] || e[A];
|
|
@@ -52,10 +52,10 @@ function er() {
|
|
|
52
52
|
{
|
|
53
53
|
for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), a = 1; a < t; a++)
|
|
54
54
|
r[a - 1] = arguments[a];
|
|
55
|
-
|
|
55
|
+
M("error", e, r);
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
|
-
function
|
|
58
|
+
function M(e, t, r) {
|
|
59
59
|
{
|
|
60
60
|
var a = O.ReactDebugCurrentFrame, f = a.getStackAddendum();
|
|
61
61
|
f !== "" && (t += "%s", r = r.concat([f]));
|
|
@@ -65,10 +65,10 @@ function er() {
|
|
|
65
65
|
m.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, m);
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
|
-
var
|
|
68
|
+
var K = !1, G = !1, L = !1, q = !1, E = !1, D;
|
|
69
69
|
D = Symbol.for("react.module.reference");
|
|
70
70
|
function U(e) {
|
|
71
|
-
return !!(typeof e == "string" || typeof e == "function" || e === u || e === S || E || e === v || e === g || e === o ||
|
|
71
|
+
return !!(typeof e == "string" || typeof e == "function" || e === u || e === S || E || e === v || e === g || e === o || q || e === C || K || G || L || typeof e == "object" && e !== null && (e.$$typeof === b || e.$$typeof === d || e.$$typeof === P || e.$$typeof === x || e.$$typeof === s || // This needs to include all possible module reference object
|
|
72
72
|
// types supported by any Flight configuration anywhere since
|
|
73
73
|
// we don't know which Flight build this will end up being used
|
|
74
74
|
// with.
|
|
@@ -84,7 +84,7 @@ function er() {
|
|
|
84
84
|
function h(e) {
|
|
85
85
|
return e.displayName || "Context";
|
|
86
86
|
}
|
|
87
|
-
function
|
|
87
|
+
function k(e) {
|
|
88
88
|
if (e == null)
|
|
89
89
|
return null;
|
|
90
90
|
if (typeof e.tag == "number" && p("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
@@ -117,11 +117,11 @@ function er() {
|
|
|
117
117
|
return R(e, e.render, "ForwardRef");
|
|
118
118
|
case d:
|
|
119
119
|
var a = e.displayName || null;
|
|
120
|
-
return a !== null ? a :
|
|
121
|
-
case
|
|
120
|
+
return a !== null ? a : k(e.type) || "Memo";
|
|
121
|
+
case b: {
|
|
122
122
|
var f = e, m = f._payload, l = f._init;
|
|
123
123
|
try {
|
|
124
|
-
return
|
|
124
|
+
return k(l(m));
|
|
125
125
|
} catch {
|
|
126
126
|
return null;
|
|
127
127
|
}
|
|
@@ -129,7 +129,7 @@ function er() {
|
|
|
129
129
|
}
|
|
130
130
|
return null;
|
|
131
131
|
}
|
|
132
|
-
var
|
|
132
|
+
var $ = Object.assign, Y = 0, Q, ie, se, ve, ge, be, ke;
|
|
133
133
|
function we() {
|
|
134
134
|
}
|
|
135
135
|
we.__reactDisabledLog = !0;
|
|
@@ -165,25 +165,25 @@ function er() {
|
|
|
165
165
|
writable: !0
|
|
166
166
|
};
|
|
167
167
|
Object.defineProperties(console, {
|
|
168
|
-
log:
|
|
168
|
+
log: $({}, e, {
|
|
169
169
|
value: Q
|
|
170
170
|
}),
|
|
171
|
-
info:
|
|
171
|
+
info: $({}, e, {
|
|
172
172
|
value: ie
|
|
173
173
|
}),
|
|
174
|
-
warn:
|
|
174
|
+
warn: $({}, e, {
|
|
175
175
|
value: se
|
|
176
176
|
}),
|
|
177
|
-
error:
|
|
177
|
+
error: $({}, e, {
|
|
178
178
|
value: ve
|
|
179
179
|
}),
|
|
180
|
-
group:
|
|
180
|
+
group: $({}, e, {
|
|
181
181
|
value: ge
|
|
182
182
|
}),
|
|
183
|
-
groupCollapsed:
|
|
183
|
+
groupCollapsed: $({}, e, {
|
|
184
184
|
value: be
|
|
185
185
|
}),
|
|
186
|
-
groupEnd:
|
|
186
|
+
groupEnd: $({}, e, {
|
|
187
187
|
value: ke
|
|
188
188
|
})
|
|
189
189
|
});
|
|
@@ -281,10 +281,10 @@ function er() {
|
|
|
281
281
|
var Z = e ? e.displayName || e.name : "", z = Z ? re(Z) : "";
|
|
282
282
|
return typeof e == "function" && ae.set(e, z), z;
|
|
283
283
|
}
|
|
284
|
-
function
|
|
284
|
+
function Ke(e, t, r) {
|
|
285
285
|
return je(e, !1);
|
|
286
286
|
}
|
|
287
|
-
function
|
|
287
|
+
function qe(e) {
|
|
288
288
|
var t = e.prototype;
|
|
289
289
|
return !!(t && t.isReactComponent);
|
|
290
290
|
}
|
|
@@ -292,7 +292,7 @@ function er() {
|
|
|
292
292
|
if (e == null)
|
|
293
293
|
return "";
|
|
294
294
|
if (typeof e == "function")
|
|
295
|
-
return je(e,
|
|
295
|
+
return je(e, qe(e));
|
|
296
296
|
if (typeof e == "string")
|
|
297
297
|
return re(e);
|
|
298
298
|
switch (e) {
|
|
@@ -304,10 +304,10 @@ function er() {
|
|
|
304
304
|
if (typeof e == "object")
|
|
305
305
|
switch (e.$$typeof) {
|
|
306
306
|
case s:
|
|
307
|
-
return
|
|
307
|
+
return Ke(e.render);
|
|
308
308
|
case d:
|
|
309
309
|
return ne(e.type, t, r);
|
|
310
|
-
case
|
|
310
|
+
case b: {
|
|
311
311
|
var a = e, f = a._payload, m = a._init;
|
|
312
312
|
try {
|
|
313
313
|
return ne(m(f), t, r);
|
|
@@ -478,7 +478,7 @@ function er() {
|
|
|
478
478
|
function Pe() {
|
|
479
479
|
{
|
|
480
480
|
if (fe.current) {
|
|
481
|
-
var e =
|
|
481
|
+
var e = k(fe.current.type);
|
|
482
482
|
if (e)
|
|
483
483
|
return `
|
|
484
484
|
|
|
@@ -513,7 +513,7 @@ Check the top-level render call using <` + r + ">.");
|
|
|
513
513
|
return;
|
|
514
514
|
Ne[r] = !0;
|
|
515
515
|
var a = "";
|
|
516
|
-
e && e._owner && e._owner !== fe.current && (a = " It was passed a child from " +
|
|
516
|
+
e && e._owner && e._owner !== fe.current && (a = " It was passed a child from " + k(e._owner.type) + "."), J(e), p('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', r, a), J(null);
|
|
517
517
|
}
|
|
518
518
|
}
|
|
519
519
|
function Ie(e, t) {
|
|
@@ -528,7 +528,7 @@ Check the top-level render call using <` + r + ">.");
|
|
|
528
528
|
else if (me(e))
|
|
529
529
|
e._store && (e._store.validated = !0);
|
|
530
530
|
else if (e) {
|
|
531
|
-
var f =
|
|
531
|
+
var f = I(e);
|
|
532
532
|
if (typeof f == "function" && f !== e.entries)
|
|
533
533
|
for (var m = f.call(e), l; !(l = m.next()).done; )
|
|
534
534
|
me(l.value) && Fe(l.value, t);
|
|
@@ -550,11 +550,11 @@ Check the top-level render call using <` + r + ">.");
|
|
|
550
550
|
else
|
|
551
551
|
return;
|
|
552
552
|
if (r) {
|
|
553
|
-
var a =
|
|
553
|
+
var a = k(t);
|
|
554
554
|
Ye(r, e.props, "prop", a, e);
|
|
555
555
|
} else if (t.PropTypes !== void 0 && !pe) {
|
|
556
556
|
pe = !0;
|
|
557
|
-
var f =
|
|
557
|
+
var f = k(t);
|
|
558
558
|
p("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", f || "Unknown");
|
|
559
559
|
}
|
|
560
560
|
typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && p("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
@@ -582,7 +582,7 @@ Check the top-level render call using <` + r + ">.");
|
|
|
582
582
|
var T = at();
|
|
583
583
|
T ? _ += T : _ += Pe();
|
|
584
584
|
var w;
|
|
585
|
-
e === null ? w = "null" : de(e) ? w = "array" : e !== void 0 && e.$$typeof === i ? (w = "<" + (
|
|
585
|
+
e === null ? w = "null" : de(e) ? w = "array" : e !== void 0 && e.$$typeof === i ? (w = "<" + (k(e.type) || "Unknown") + " />", _ = " Did you accidentally export a JSX literal instead of a component?") : w = typeof e, p("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", w, _);
|
|
586
586
|
}
|
|
587
587
|
var j = rt(e, t, r, f, m);
|
|
588
588
|
if (j == null)
|
|
@@ -601,7 +601,7 @@ Check the top-level render call using <` + r + ">.");
|
|
|
601
601
|
Ie(B, e);
|
|
602
602
|
}
|
|
603
603
|
if (X.call(t, "key")) {
|
|
604
|
-
var z =
|
|
604
|
+
var z = k(e), F = Object.keys(t).filter(function(dt) {
|
|
605
605
|
return dt !== "key";
|
|
606
606
|
}), ye = F.length > 0 ? "{key: someKey, " + F.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
607
607
|
if (!Me[z + ye]) {
|
|
@@ -670,7 +670,7 @@ te.Blur = (n) => {
|
|
|
670
670
|
n.target.scrollLeft = 0, n.target.querySelector("br") !== null && n.target.querySelector("br").remove();
|
|
671
671
|
};
|
|
672
672
|
te.ContentEditable = "plaintext-only";
|
|
673
|
-
const tr = "
|
|
673
|
+
const tr = "_l_zoh94_13", rr = "_f_zoh94_37", ar = "_n_zoh94_55", nr = "_w_zoh94_60", or = "_t_zoh94_70", ir = "_g_zoh94_75", V = {
|
|
674
674
|
l: tr,
|
|
675
675
|
f: rr,
|
|
676
676
|
n: ar,
|
|
@@ -724,20 +724,20 @@ function ba({
|
|
|
724
724
|
active: g = !0,
|
|
725
725
|
after: o = "",
|
|
726
726
|
before: d = "",
|
|
727
|
-
show:
|
|
727
|
+
show: b = !0,
|
|
728
728
|
maxLength: C,
|
|
729
729
|
onSave: N,
|
|
730
730
|
className: A = "",
|
|
731
|
-
isCopy:
|
|
731
|
+
isCopy: I = !0,
|
|
732
732
|
isReload: O = !1
|
|
733
733
|
}) {
|
|
734
|
-
let p = !!(x && (i === "" || i === void 0)),
|
|
734
|
+
let p = !!(x && (i === "" || i === void 0)), M = (E) => {
|
|
735
735
|
c && c({
|
|
736
736
|
value: E.target.textContent.trim(),
|
|
737
737
|
name: u,
|
|
738
738
|
reload: O
|
|
739
739
|
});
|
|
740
|
-
},
|
|
740
|
+
}, K = (E) => {
|
|
741
741
|
C && E.target.textContent.trim().length >= C && E.key !== "Backspace" && E.preventDefault(), E.key === "Enter" && E.preventDefault();
|
|
742
742
|
}, G = (E) => {
|
|
743
743
|
E.preventDefault(), navigator.clipboard.readText().then((D) => {
|
|
@@ -754,10 +754,10 @@ function ba({
|
|
|
754
754
|
}).catch((D) => {
|
|
755
755
|
});
|
|
756
756
|
};
|
|
757
|
-
if (!(s && g) && !
|
|
757
|
+
if (!(s && g) && !b || !(s && g) && p) return "";
|
|
758
758
|
const L = {};
|
|
759
759
|
v && (L.placeholder = v), s && g && (L.edit = "");
|
|
760
|
-
const
|
|
760
|
+
const q = (E) => {
|
|
761
761
|
te.Blur(E), N == null || N({ value: E.target.textContent.trim(), name: u });
|
|
762
762
|
};
|
|
763
763
|
return /* @__PURE__ */ y.jsx(
|
|
@@ -770,10 +770,10 @@ function ba({
|
|
|
770
770
|
children: /* @__PURE__ */ y.jsx(
|
|
771
771
|
"div",
|
|
772
772
|
{
|
|
773
|
-
onBlur:
|
|
773
|
+
onBlur: q,
|
|
774
774
|
onPaste: G,
|
|
775
|
-
onInput:
|
|
776
|
-
onKeyDown:
|
|
775
|
+
onInput: M,
|
|
776
|
+
onKeyDown: K,
|
|
777
777
|
spellCheck: "true",
|
|
778
778
|
contentEditable: s && g ? te.ContentEditable : "false",
|
|
779
779
|
suppressContentEditableWarning: !0,
|
|
@@ -800,11 +800,11 @@ function _r() {
|
|
|
800
800
|
Bt = 1;
|
|
801
801
|
var n = W, i = Symbol.for("react.element"), c = Symbol.for("react.fragment"), u = Object.prototype.hasOwnProperty, v = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, S = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
802
802
|
function P(x, s, g) {
|
|
803
|
-
var o, d = {},
|
|
804
|
-
g !== void 0 && (
|
|
803
|
+
var o, d = {}, b = null, C = null;
|
|
804
|
+
g !== void 0 && (b = "" + g), s.key !== void 0 && (b = "" + s.key), s.ref !== void 0 && (C = s.ref);
|
|
805
805
|
for (o in s) u.call(s, o) && !S.hasOwnProperty(o) && (d[o] = s[o]);
|
|
806
806
|
if (x && x.defaultProps) for (o in s = x.defaultProps, s) d[o] === void 0 && (d[o] = s[o]);
|
|
807
|
-
return { $$typeof: i, type: x, key:
|
|
807
|
+
return { $$typeof: i, type: x, key: b, ref: C, props: d, _owner: v.current };
|
|
808
808
|
}
|
|
809
809
|
return vt.Fragment = c, vt.jsx = P, vt.jsxs = P, vt;
|
|
810
810
|
}
|
|
@@ -821,8 +821,8 @@ var kt = {};
|
|
|
821
821
|
var Lt;
|
|
822
822
|
function sr() {
|
|
823
823
|
return Lt || (Lt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
824
|
-
var n = W, i = Symbol.for("react.element"), c = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), v = Symbol.for("react.strict_mode"), S = Symbol.for("react.profiler"), P = Symbol.for("react.provider"), x = Symbol.for("react.context"), s = Symbol.for("react.forward_ref"), g = Symbol.for("react.suspense"), o = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"),
|
|
825
|
-
function
|
|
824
|
+
var n = W, i = Symbol.for("react.element"), c = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), v = Symbol.for("react.strict_mode"), S = Symbol.for("react.profiler"), P = Symbol.for("react.provider"), x = Symbol.for("react.context"), s = Symbol.for("react.forward_ref"), g = Symbol.for("react.suspense"), o = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), b = Symbol.for("react.lazy"), C = Symbol.for("react.offscreen"), N = Symbol.iterator, A = "@@iterator";
|
|
825
|
+
function I(e) {
|
|
826
826
|
if (e === null || typeof e != "object")
|
|
827
827
|
return null;
|
|
828
828
|
var t = N && e[N] || e[A];
|
|
@@ -833,10 +833,10 @@ function sr() {
|
|
|
833
833
|
{
|
|
834
834
|
for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), a = 1; a < t; a++)
|
|
835
835
|
r[a - 1] = arguments[a];
|
|
836
|
-
|
|
836
|
+
M("error", e, r);
|
|
837
837
|
}
|
|
838
838
|
}
|
|
839
|
-
function
|
|
839
|
+
function M(e, t, r) {
|
|
840
840
|
{
|
|
841
841
|
var a = O.ReactDebugCurrentFrame, f = a.getStackAddendum();
|
|
842
842
|
f !== "" && (t += "%s", r = r.concat([f]));
|
|
@@ -846,10 +846,10 @@ function sr() {
|
|
|
846
846
|
m.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, m);
|
|
847
847
|
}
|
|
848
848
|
}
|
|
849
|
-
var
|
|
849
|
+
var K = !1, G = !1, L = !1, q = !1, E = !1, D;
|
|
850
850
|
D = Symbol.for("react.module.reference");
|
|
851
851
|
function U(e) {
|
|
852
|
-
return !!(typeof e == "string" || typeof e == "function" || e === u || e === S || E || e === v || e === g || e === o ||
|
|
852
|
+
return !!(typeof e == "string" || typeof e == "function" || e === u || e === S || E || e === v || e === g || e === o || q || e === C || K || G || L || typeof e == "object" && e !== null && (e.$$typeof === b || e.$$typeof === d || e.$$typeof === P || e.$$typeof === x || e.$$typeof === s || // This needs to include all possible module reference object
|
|
853
853
|
// types supported by any Flight configuration anywhere since
|
|
854
854
|
// we don't know which Flight build this will end up being used
|
|
855
855
|
// with.
|
|
@@ -865,7 +865,7 @@ function sr() {
|
|
|
865
865
|
function h(e) {
|
|
866
866
|
return e.displayName || "Context";
|
|
867
867
|
}
|
|
868
|
-
function
|
|
868
|
+
function k(e) {
|
|
869
869
|
if (e == null)
|
|
870
870
|
return null;
|
|
871
871
|
if (typeof e.tag == "number" && p("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
@@ -898,11 +898,11 @@ function sr() {
|
|
|
898
898
|
return R(e, e.render, "ForwardRef");
|
|
899
899
|
case d:
|
|
900
900
|
var a = e.displayName || null;
|
|
901
|
-
return a !== null ? a :
|
|
902
|
-
case
|
|
901
|
+
return a !== null ? a : k(e.type) || "Memo";
|
|
902
|
+
case b: {
|
|
903
903
|
var f = e, m = f._payload, l = f._init;
|
|
904
904
|
try {
|
|
905
|
-
return
|
|
905
|
+
return k(l(m));
|
|
906
906
|
} catch {
|
|
907
907
|
return null;
|
|
908
908
|
}
|
|
@@ -910,7 +910,7 @@ function sr() {
|
|
|
910
910
|
}
|
|
911
911
|
return null;
|
|
912
912
|
}
|
|
913
|
-
var
|
|
913
|
+
var $ = Object.assign, Y = 0, Q, ie, se, ve, ge, be, ke;
|
|
914
914
|
function we() {
|
|
915
915
|
}
|
|
916
916
|
we.__reactDisabledLog = !0;
|
|
@@ -946,25 +946,25 @@ function sr() {
|
|
|
946
946
|
writable: !0
|
|
947
947
|
};
|
|
948
948
|
Object.defineProperties(console, {
|
|
949
|
-
log:
|
|
949
|
+
log: $({}, e, {
|
|
950
950
|
value: Q
|
|
951
951
|
}),
|
|
952
|
-
info:
|
|
952
|
+
info: $({}, e, {
|
|
953
953
|
value: ie
|
|
954
954
|
}),
|
|
955
|
-
warn:
|
|
955
|
+
warn: $({}, e, {
|
|
956
956
|
value: se
|
|
957
957
|
}),
|
|
958
|
-
error:
|
|
958
|
+
error: $({}, e, {
|
|
959
959
|
value: ve
|
|
960
960
|
}),
|
|
961
|
-
group:
|
|
961
|
+
group: $({}, e, {
|
|
962
962
|
value: ge
|
|
963
963
|
}),
|
|
964
|
-
groupCollapsed:
|
|
964
|
+
groupCollapsed: $({}, e, {
|
|
965
965
|
value: be
|
|
966
966
|
}),
|
|
967
|
-
groupEnd:
|
|
967
|
+
groupEnd: $({}, e, {
|
|
968
968
|
value: ke
|
|
969
969
|
})
|
|
970
970
|
});
|
|
@@ -1062,10 +1062,10 @@ function sr() {
|
|
|
1062
1062
|
var Z = e ? e.displayName || e.name : "", z = Z ? re(Z) : "";
|
|
1063
1063
|
return typeof e == "function" && ae.set(e, z), z;
|
|
1064
1064
|
}
|
|
1065
|
-
function
|
|
1065
|
+
function Ke(e, t, r) {
|
|
1066
1066
|
return je(e, !1);
|
|
1067
1067
|
}
|
|
1068
|
-
function
|
|
1068
|
+
function qe(e) {
|
|
1069
1069
|
var t = e.prototype;
|
|
1070
1070
|
return !!(t && t.isReactComponent);
|
|
1071
1071
|
}
|
|
@@ -1073,7 +1073,7 @@ function sr() {
|
|
|
1073
1073
|
if (e == null)
|
|
1074
1074
|
return "";
|
|
1075
1075
|
if (typeof e == "function")
|
|
1076
|
-
return je(e,
|
|
1076
|
+
return je(e, qe(e));
|
|
1077
1077
|
if (typeof e == "string")
|
|
1078
1078
|
return re(e);
|
|
1079
1079
|
switch (e) {
|
|
@@ -1085,10 +1085,10 @@ function sr() {
|
|
|
1085
1085
|
if (typeof e == "object")
|
|
1086
1086
|
switch (e.$$typeof) {
|
|
1087
1087
|
case s:
|
|
1088
|
-
return
|
|
1088
|
+
return Ke(e.render);
|
|
1089
1089
|
case d:
|
|
1090
1090
|
return ne(e.type, t, r);
|
|
1091
|
-
case
|
|
1091
|
+
case b: {
|
|
1092
1092
|
var a = e, f = a._payload, m = a._init;
|
|
1093
1093
|
try {
|
|
1094
1094
|
return ne(m(f), t, r);
|
|
@@ -1259,7 +1259,7 @@ function sr() {
|
|
|
1259
1259
|
function Pe() {
|
|
1260
1260
|
{
|
|
1261
1261
|
if (fe.current) {
|
|
1262
|
-
var e =
|
|
1262
|
+
var e = k(fe.current.type);
|
|
1263
1263
|
if (e)
|
|
1264
1264
|
return `
|
|
1265
1265
|
|
|
@@ -1294,7 +1294,7 @@ Check the top-level render call using <` + r + ">.");
|
|
|
1294
1294
|
return;
|
|
1295
1295
|
Ne[r] = !0;
|
|
1296
1296
|
var a = "";
|
|
1297
|
-
e && e._owner && e._owner !== fe.current && (a = " It was passed a child from " +
|
|
1297
|
+
e && e._owner && e._owner !== fe.current && (a = " It was passed a child from " + k(e._owner.type) + "."), J(e), p('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', r, a), J(null);
|
|
1298
1298
|
}
|
|
1299
1299
|
}
|
|
1300
1300
|
function Ie(e, t) {
|
|
@@ -1309,7 +1309,7 @@ Check the top-level render call using <` + r + ">.");
|
|
|
1309
1309
|
else if (me(e))
|
|
1310
1310
|
e._store && (e._store.validated = !0);
|
|
1311
1311
|
else if (e) {
|
|
1312
|
-
var f =
|
|
1312
|
+
var f = I(e);
|
|
1313
1313
|
if (typeof f == "function" && f !== e.entries)
|
|
1314
1314
|
for (var m = f.call(e), l; !(l = m.next()).done; )
|
|
1315
1315
|
me(l.value) && Fe(l.value, t);
|
|
@@ -1331,11 +1331,11 @@ Check the top-level render call using <` + r + ">.");
|
|
|
1331
1331
|
else
|
|
1332
1332
|
return;
|
|
1333
1333
|
if (r) {
|
|
1334
|
-
var a =
|
|
1334
|
+
var a = k(t);
|
|
1335
1335
|
Ye(r, e.props, "prop", a, e);
|
|
1336
1336
|
} else if (t.PropTypes !== void 0 && !pe) {
|
|
1337
1337
|
pe = !0;
|
|
1338
|
-
var f =
|
|
1338
|
+
var f = k(t);
|
|
1339
1339
|
p("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", f || "Unknown");
|
|
1340
1340
|
}
|
|
1341
1341
|
typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && p("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
@@ -1363,7 +1363,7 @@ Check the top-level render call using <` + r + ">.");
|
|
|
1363
1363
|
var T = at();
|
|
1364
1364
|
T ? _ += T : _ += Pe();
|
|
1365
1365
|
var w;
|
|
1366
|
-
e === null ? w = "null" : de(e) ? w = "array" : e !== void 0 && e.$$typeof === i ? (w = "<" + (
|
|
1366
|
+
e === null ? w = "null" : de(e) ? w = "array" : e !== void 0 && e.$$typeof === i ? (w = "<" + (k(e.type) || "Unknown") + " />", _ = " Did you accidentally export a JSX literal instead of a component?") : w = typeof e, p("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", w, _);
|
|
1367
1367
|
}
|
|
1368
1368
|
var j = rt(e, t, r, f, m);
|
|
1369
1369
|
if (j == null)
|
|
@@ -1382,7 +1382,7 @@ Check the top-level render call using <` + r + ">.");
|
|
|
1382
1382
|
Ie(B, e);
|
|
1383
1383
|
}
|
|
1384
1384
|
if (X.call(t, "key")) {
|
|
1385
|
-
var z =
|
|
1385
|
+
var z = k(e), F = Object.keys(t).filter(function(dt) {
|
|
1386
1386
|
return dt !== "key";
|
|
1387
1387
|
}), ye = F.length > 0 ? "{key: someKey, " + F.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
1388
1388
|
if (!Me[z + ye]) {
|
|
@@ -1509,11 +1509,11 @@ function $r() {
|
|
|
1509
1509
|
Ut = 1;
|
|
1510
1510
|
var n = W, i = Symbol.for("react.element"), c = Symbol.for("react.fragment"), u = Object.prototype.hasOwnProperty, v = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, S = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
1511
1511
|
function P(x, s, g) {
|
|
1512
|
-
var o, d = {},
|
|
1513
|
-
g !== void 0 && (
|
|
1512
|
+
var o, d = {}, b = null, C = null;
|
|
1513
|
+
g !== void 0 && (b = "" + g), s.key !== void 0 && (b = "" + s.key), s.ref !== void 0 && (C = s.ref);
|
|
1514
1514
|
for (o in s) u.call(s, o) && !S.hasOwnProperty(o) && (d[o] = s[o]);
|
|
1515
1515
|
if (x && x.defaultProps) for (o in s = x.defaultProps, s) d[o] === void 0 && (d[o] = s[o]);
|
|
1516
|
-
return { $$typeof: i, type: x, key:
|
|
1516
|
+
return { $$typeof: i, type: x, key: b, ref: C, props: d, _owner: v.current };
|
|
1517
1517
|
}
|
|
1518
1518
|
return gt.Fragment = c, gt.jsx = P, gt.jsxs = P, gt;
|
|
1519
1519
|
}
|
|
@@ -1527,11 +1527,11 @@ var wt = {};
|
|
|
1527
1527
|
* This source code is licensed under the MIT license found in the
|
|
1528
1528
|
* LICENSE file in the root directory of this source tree.
|
|
1529
1529
|
*/
|
|
1530
|
-
var
|
|
1530
|
+
var Kt;
|
|
1531
1531
|
function Ar() {
|
|
1532
|
-
return
|
|
1533
|
-
var n = W, i = Symbol.for("react.element"), c = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), v = Symbol.for("react.strict_mode"), S = Symbol.for("react.profiler"), P = Symbol.for("react.provider"), x = Symbol.for("react.context"), s = Symbol.for("react.forward_ref"), g = Symbol.for("react.suspense"), o = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"),
|
|
1534
|
-
function
|
|
1532
|
+
return Kt || (Kt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
1533
|
+
var n = W, i = Symbol.for("react.element"), c = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), v = Symbol.for("react.strict_mode"), S = Symbol.for("react.profiler"), P = Symbol.for("react.provider"), x = Symbol.for("react.context"), s = Symbol.for("react.forward_ref"), g = Symbol.for("react.suspense"), o = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), b = Symbol.for("react.lazy"), C = Symbol.for("react.offscreen"), N = Symbol.iterator, A = "@@iterator";
|
|
1534
|
+
function I(e) {
|
|
1535
1535
|
if (e === null || typeof e != "object")
|
|
1536
1536
|
return null;
|
|
1537
1537
|
var t = N && e[N] || e[A];
|
|
@@ -1542,10 +1542,10 @@ function Ar() {
|
|
|
1542
1542
|
{
|
|
1543
1543
|
for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), a = 1; a < t; a++)
|
|
1544
1544
|
r[a - 1] = arguments[a];
|
|
1545
|
-
|
|
1545
|
+
M("error", e, r);
|
|
1546
1546
|
}
|
|
1547
1547
|
}
|
|
1548
|
-
function
|
|
1548
|
+
function M(e, t, r) {
|
|
1549
1549
|
{
|
|
1550
1550
|
var a = O.ReactDebugCurrentFrame, f = a.getStackAddendum();
|
|
1551
1551
|
f !== "" && (t += "%s", r = r.concat([f]));
|
|
@@ -1555,10 +1555,10 @@ function Ar() {
|
|
|
1555
1555
|
m.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, m);
|
|
1556
1556
|
}
|
|
1557
1557
|
}
|
|
1558
|
-
var
|
|
1558
|
+
var K = !1, G = !1, L = !1, q = !1, E = !1, D;
|
|
1559
1559
|
D = Symbol.for("react.module.reference");
|
|
1560
1560
|
function U(e) {
|
|
1561
|
-
return !!(typeof e == "string" || typeof e == "function" || e === u || e === S || E || e === v || e === g || e === o ||
|
|
1561
|
+
return !!(typeof e == "string" || typeof e == "function" || e === u || e === S || E || e === v || e === g || e === o || q || e === C || K || G || L || typeof e == "object" && e !== null && (e.$$typeof === b || e.$$typeof === d || e.$$typeof === P || e.$$typeof === x || e.$$typeof === s || // This needs to include all possible module reference object
|
|
1562
1562
|
// types supported by any Flight configuration anywhere since
|
|
1563
1563
|
// we don't know which Flight build this will end up being used
|
|
1564
1564
|
// with.
|
|
@@ -1574,7 +1574,7 @@ function Ar() {
|
|
|
1574
1574
|
function h(e) {
|
|
1575
1575
|
return e.displayName || "Context";
|
|
1576
1576
|
}
|
|
1577
|
-
function
|
|
1577
|
+
function k(e) {
|
|
1578
1578
|
if (e == null)
|
|
1579
1579
|
return null;
|
|
1580
1580
|
if (typeof e.tag == "number" && p("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
@@ -1607,11 +1607,11 @@ function Ar() {
|
|
|
1607
1607
|
return R(e, e.render, "ForwardRef");
|
|
1608
1608
|
case d:
|
|
1609
1609
|
var a = e.displayName || null;
|
|
1610
|
-
return a !== null ? a :
|
|
1611
|
-
case
|
|
1610
|
+
return a !== null ? a : k(e.type) || "Memo";
|
|
1611
|
+
case b: {
|
|
1612
1612
|
var f = e, m = f._payload, l = f._init;
|
|
1613
1613
|
try {
|
|
1614
|
-
return
|
|
1614
|
+
return k(l(m));
|
|
1615
1615
|
} catch {
|
|
1616
1616
|
return null;
|
|
1617
1617
|
}
|
|
@@ -1619,7 +1619,7 @@ function Ar() {
|
|
|
1619
1619
|
}
|
|
1620
1620
|
return null;
|
|
1621
1621
|
}
|
|
1622
|
-
var
|
|
1622
|
+
var $ = Object.assign, Y = 0, Q, ie, se, ve, ge, be, ke;
|
|
1623
1623
|
function we() {
|
|
1624
1624
|
}
|
|
1625
1625
|
we.__reactDisabledLog = !0;
|
|
@@ -1655,25 +1655,25 @@ function Ar() {
|
|
|
1655
1655
|
writable: !0
|
|
1656
1656
|
};
|
|
1657
1657
|
Object.defineProperties(console, {
|
|
1658
|
-
log:
|
|
1658
|
+
log: $({}, e, {
|
|
1659
1659
|
value: Q
|
|
1660
1660
|
}),
|
|
1661
|
-
info:
|
|
1661
|
+
info: $({}, e, {
|
|
1662
1662
|
value: ie
|
|
1663
1663
|
}),
|
|
1664
|
-
warn:
|
|
1664
|
+
warn: $({}, e, {
|
|
1665
1665
|
value: se
|
|
1666
1666
|
}),
|
|
1667
|
-
error:
|
|
1667
|
+
error: $({}, e, {
|
|
1668
1668
|
value: ve
|
|
1669
1669
|
}),
|
|
1670
|
-
group:
|
|
1670
|
+
group: $({}, e, {
|
|
1671
1671
|
value: ge
|
|
1672
1672
|
}),
|
|
1673
|
-
groupCollapsed:
|
|
1673
|
+
groupCollapsed: $({}, e, {
|
|
1674
1674
|
value: be
|
|
1675
1675
|
}),
|
|
1676
|
-
groupEnd:
|
|
1676
|
+
groupEnd: $({}, e, {
|
|
1677
1677
|
value: ke
|
|
1678
1678
|
})
|
|
1679
1679
|
});
|
|
@@ -1771,10 +1771,10 @@ function Ar() {
|
|
|
1771
1771
|
var Z = e ? e.displayName || e.name : "", z = Z ? re(Z) : "";
|
|
1772
1772
|
return typeof e == "function" && ae.set(e, z), z;
|
|
1773
1773
|
}
|
|
1774
|
-
function
|
|
1774
|
+
function Ke(e, t, r) {
|
|
1775
1775
|
return je(e, !1);
|
|
1776
1776
|
}
|
|
1777
|
-
function
|
|
1777
|
+
function qe(e) {
|
|
1778
1778
|
var t = e.prototype;
|
|
1779
1779
|
return !!(t && t.isReactComponent);
|
|
1780
1780
|
}
|
|
@@ -1782,7 +1782,7 @@ function Ar() {
|
|
|
1782
1782
|
if (e == null)
|
|
1783
1783
|
return "";
|
|
1784
1784
|
if (typeof e == "function")
|
|
1785
|
-
return je(e,
|
|
1785
|
+
return je(e, qe(e));
|
|
1786
1786
|
if (typeof e == "string")
|
|
1787
1787
|
return re(e);
|
|
1788
1788
|
switch (e) {
|
|
@@ -1794,10 +1794,10 @@ function Ar() {
|
|
|
1794
1794
|
if (typeof e == "object")
|
|
1795
1795
|
switch (e.$$typeof) {
|
|
1796
1796
|
case s:
|
|
1797
|
-
return
|
|
1797
|
+
return Ke(e.render);
|
|
1798
1798
|
case d:
|
|
1799
1799
|
return ne(e.type, t, r);
|
|
1800
|
-
case
|
|
1800
|
+
case b: {
|
|
1801
1801
|
var a = e, f = a._payload, m = a._init;
|
|
1802
1802
|
try {
|
|
1803
1803
|
return ne(m(f), t, r);
|
|
@@ -1968,7 +1968,7 @@ function Ar() {
|
|
|
1968
1968
|
function Pe() {
|
|
1969
1969
|
{
|
|
1970
1970
|
if (fe.current) {
|
|
1971
|
-
var e =
|
|
1971
|
+
var e = k(fe.current.type);
|
|
1972
1972
|
if (e)
|
|
1973
1973
|
return `
|
|
1974
1974
|
|
|
@@ -2003,7 +2003,7 @@ Check the top-level render call using <` + r + ">.");
|
|
|
2003
2003
|
return;
|
|
2004
2004
|
Ne[r] = !0;
|
|
2005
2005
|
var a = "";
|
|
2006
|
-
e && e._owner && e._owner !== fe.current && (a = " It was passed a child from " +
|
|
2006
|
+
e && e._owner && e._owner !== fe.current && (a = " It was passed a child from " + k(e._owner.type) + "."), J(e), p('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', r, a), J(null);
|
|
2007
2007
|
}
|
|
2008
2008
|
}
|
|
2009
2009
|
function Ie(e, t) {
|
|
@@ -2018,7 +2018,7 @@ Check the top-level render call using <` + r + ">.");
|
|
|
2018
2018
|
else if (me(e))
|
|
2019
2019
|
e._store && (e._store.validated = !0);
|
|
2020
2020
|
else if (e) {
|
|
2021
|
-
var f =
|
|
2021
|
+
var f = I(e);
|
|
2022
2022
|
if (typeof f == "function" && f !== e.entries)
|
|
2023
2023
|
for (var m = f.call(e), l; !(l = m.next()).done; )
|
|
2024
2024
|
me(l.value) && Fe(l.value, t);
|
|
@@ -2040,11 +2040,11 @@ Check the top-level render call using <` + r + ">.");
|
|
|
2040
2040
|
else
|
|
2041
2041
|
return;
|
|
2042
2042
|
if (r) {
|
|
2043
|
-
var a =
|
|
2043
|
+
var a = k(t);
|
|
2044
2044
|
Ye(r, e.props, "prop", a, e);
|
|
2045
2045
|
} else if (t.PropTypes !== void 0 && !pe) {
|
|
2046
2046
|
pe = !0;
|
|
2047
|
-
var f =
|
|
2047
|
+
var f = k(t);
|
|
2048
2048
|
p("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", f || "Unknown");
|
|
2049
2049
|
}
|
|
2050
2050
|
typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && p("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
@@ -2072,7 +2072,7 @@ Check the top-level render call using <` + r + ">.");
|
|
|
2072
2072
|
var T = at();
|
|
2073
2073
|
T ? _ += T : _ += Pe();
|
|
2074
2074
|
var w;
|
|
2075
|
-
e === null ? w = "null" : de(e) ? w = "array" : e !== void 0 && e.$$typeof === i ? (w = "<" + (
|
|
2075
|
+
e === null ? w = "null" : de(e) ? w = "array" : e !== void 0 && e.$$typeof === i ? (w = "<" + (k(e.type) || "Unknown") + " />", _ = " Did you accidentally export a JSX literal instead of a component?") : w = typeof e, p("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", w, _);
|
|
2076
2076
|
}
|
|
2077
2077
|
var j = rt(e, t, r, f, m);
|
|
2078
2078
|
if (j == null)
|
|
@@ -2091,7 +2091,7 @@ Check the top-level render call using <` + r + ">.");
|
|
|
2091
2091
|
Ie(B, e);
|
|
2092
2092
|
}
|
|
2093
2093
|
if (X.call(t, "key")) {
|
|
2094
|
-
var z =
|
|
2094
|
+
var z = k(e), F = Object.keys(t).filter(function(dt) {
|
|
2095
2095
|
return dt !== "key";
|
|
2096
2096
|
}), ye = F.length > 0 ? "{key: someKey, " + F.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
2097
2097
|
if (!Me[z + ye]) {
|
|
@@ -2119,14 +2119,14 @@ React keys must be passed directly to JSX without using spread:
|
|
|
2119
2119
|
}
|
|
2120
2120
|
process.env.NODE_ENV === "production" ? Pt.exports = $r() : Pt.exports = Ar();
|
|
2121
2121
|
var Et = Pt.exports;
|
|
2122
|
-
const Br = "_btn_1k1b3_1", Lr = "_confirm_1k1b3_15", Wr = "_cancel_1k1b3_20", Ur = "_action_1k1b3_25",
|
|
2122
|
+
const Br = "_btn_1k1b3_1", Lr = "_confirm_1k1b3_15", Wr = "_cancel_1k1b3_20", Ur = "_action_1k1b3_25", Kr = "_disabled_1k1b3_30", qr = "_m_1k1b3_44", Yr = "_l_1k1b3_48", jt = {
|
|
2123
2123
|
btn: Br,
|
|
2124
2124
|
confirm: Lr,
|
|
2125
2125
|
cancel: Wr,
|
|
2126
2126
|
action: Ur,
|
|
2127
|
-
disabled:
|
|
2127
|
+
disabled: Kr,
|
|
2128
2128
|
await: "_await_1k1b3_37",
|
|
2129
|
-
m:
|
|
2129
|
+
m: qr,
|
|
2130
2130
|
l: Yr
|
|
2131
2131
|
}, Gr = ({
|
|
2132
2132
|
onClick: n,
|
|
@@ -2142,25 +2142,25 @@ const Br = "_btn_1k1b3_1", Lr = "_confirm_1k1b3_15", Wr = "_cancel_1k1b3_20", Ur
|
|
|
2142
2142
|
onRef: o,
|
|
2143
2143
|
awaitText: d = "Ожидайте"
|
|
2144
2144
|
}) => {
|
|
2145
|
-
let [
|
|
2146
|
-
const N = (
|
|
2145
|
+
let [b, C] = W.useState(!1);
|
|
2146
|
+
const N = (I) => {
|
|
2147
2147
|
if (n) return n();
|
|
2148
|
-
|
|
2148
|
+
b || (i ? (C(!0), i(C)) : I.preventDefault());
|
|
2149
2149
|
};
|
|
2150
2150
|
let A = {};
|
|
2151
|
-
return (S ||
|
|
2151
|
+
return (S || b) && (A.disabled = !0), /* @__PURE__ */ Et.jsx(
|
|
2152
2152
|
"button",
|
|
2153
2153
|
{
|
|
2154
2154
|
...A,
|
|
2155
2155
|
ref: o,
|
|
2156
2156
|
className: [
|
|
2157
2157
|
jt.btn,
|
|
2158
|
-
|
|
2158
|
+
b ? jt.disabled : jt[u],
|
|
2159
2159
|
c && jt[c],
|
|
2160
2160
|
P
|
|
2161
|
-
].filter((
|
|
2161
|
+
].filter((I) => I != "").join(" "),
|
|
2162
2162
|
onClick: N,
|
|
2163
|
-
children:
|
|
2163
|
+
children: b ? d : /* @__PURE__ */ Et.jsxs(Et.Fragment, { children: [
|
|
2164
2164
|
s || "",
|
|
2165
2165
|
" ",
|
|
2166
2166
|
g,
|
|
@@ -2179,13 +2179,13 @@ var Ct;
|
|
|
2179
2179
|
function i({
|
|
2180
2180
|
import_modules: o
|
|
2181
2181
|
}) {
|
|
2182
|
-
let [d,
|
|
2182
|
+
let [d, b] = W.useState([]);
|
|
2183
2183
|
return Ae.x = (C) => {
|
|
2184
|
-
|
|
2184
|
+
b(C ? d.filter((N) => N.key !== C) : []);
|
|
2185
2185
|
}, Zt(() => {
|
|
2186
2186
|
o && (Ae.i = o);
|
|
2187
2187
|
}, []), Ae.add = (C, N = Date.now()) => {
|
|
2188
|
-
|
|
2188
|
+
b([...d, { key: N, item: C }]);
|
|
2189
2189
|
}, /* @__PURE__ */ H.jsx(H.Fragment, { children: d.map((C) => C.item) });
|
|
2190
2190
|
}
|
|
2191
2191
|
n.Init = i;
|
|
@@ -2193,23 +2193,23 @@ var Ct;
|
|
|
2193
2193
|
return o && (Ae.i = o), Ae.i;
|
|
2194
2194
|
}
|
|
2195
2195
|
n.Import = c, n.List = Dr, n.Scroll = Pr, n.Form = Nr, n.Center = Fr, n.Column = Ir;
|
|
2196
|
-
function u(o, d,
|
|
2196
|
+
function u(o, d, b) {
|
|
2197
2197
|
Ae.i ? Ae.i(`${o}/modal/${d}.tsx`).then((C) => {
|
|
2198
|
-
C.default.Open(
|
|
2198
|
+
C.default.Open(b);
|
|
2199
2199
|
}) : Wt()(`${o}/modal/${d}.tsx`).then((C) => {
|
|
2200
|
-
C.default.Open(
|
|
2200
|
+
C.default.Open(b);
|
|
2201
2201
|
});
|
|
2202
2202
|
}
|
|
2203
2203
|
n.Open = u;
|
|
2204
|
-
function v({ type: o, name: d, params:
|
|
2204
|
+
function v({ type: o, name: d, params: b }) {
|
|
2205
2205
|
let [C, N] = W.useState(null);
|
|
2206
2206
|
return W.useEffect(() => {
|
|
2207
2207
|
Ae.i ? Ae.i(`${o}/modal/${d}.tsx`).then((A) => {
|
|
2208
|
-
N(A.default.Icon(
|
|
2208
|
+
N(A.default.Icon(b));
|
|
2209
2209
|
}) : Wt()(`${o}/modal/${d}.tsx`).then((A) => {
|
|
2210
|
-
N(A.default.Icon(
|
|
2210
|
+
N(A.default.Icon(b));
|
|
2211
2211
|
});
|
|
2212
|
-
}, [
|
|
2212
|
+
}, [b.id]), /* @__PURE__ */ H.jsx(H.Fragment, { children: C });
|
|
2213
2213
|
}
|
|
2214
2214
|
n.Icon = v;
|
|
2215
2215
|
function S(o, d) {
|
|
@@ -2229,41 +2229,41 @@ var Ct;
|
|
|
2229
2229
|
}
|
|
2230
2230
|
n.Shake = x;
|
|
2231
2231
|
function s(o, d) {
|
|
2232
|
-
const
|
|
2232
|
+
const b = (C) => {
|
|
2233
2233
|
n.Add(
|
|
2234
2234
|
/* @__PURE__ */ H.jsx(o, { ...C }, (/* @__PURE__ */ new Date()).getTime())
|
|
2235
2235
|
);
|
|
2236
2236
|
};
|
|
2237
2237
|
return {
|
|
2238
|
-
Icon: (C) => /* @__PURE__ */ H.jsx("i", { onClick: () =>
|
|
2239
|
-
Open:
|
|
2238
|
+
Icon: (C) => /* @__PURE__ */ H.jsx("i", { onClick: () => b(C), children: d && /* @__PURE__ */ H.jsx(d, {}) }),
|
|
2239
|
+
Open: b
|
|
2240
2240
|
};
|
|
2241
2241
|
}
|
|
2242
2242
|
n.Create = s;
|
|
2243
2243
|
function g({
|
|
2244
2244
|
title: o,
|
|
2245
2245
|
children: d,
|
|
2246
|
-
button:
|
|
2246
|
+
button: b,
|
|
2247
2247
|
tabs: C,
|
|
2248
2248
|
size: N = "m",
|
|
2249
2249
|
className: A = "",
|
|
2250
|
-
shake:
|
|
2250
|
+
shake: I = !0,
|
|
2251
2251
|
menu: O
|
|
2252
2252
|
}) {
|
|
2253
|
-
const [p,
|
|
2254
|
-
if (
|
|
2255
|
-
if (
|
|
2256
|
-
return
|
|
2257
|
-
if (
|
|
2258
|
-
return
|
|
2259
|
-
setOpen:
|
|
2260
|
-
disabled:
|
|
2253
|
+
const [p, M] = W.useState(!0), K = W.useRef(), G = (q) => {
|
|
2254
|
+
if (b) {
|
|
2255
|
+
if (b.onClick)
|
|
2256
|
+
return q(!1), b.onClick({ setOpen: M });
|
|
2257
|
+
if (b.onSend)
|
|
2258
|
+
return b.onSend({
|
|
2259
|
+
setOpen: M,
|
|
2260
|
+
disabled: q
|
|
2261
2261
|
});
|
|
2262
2262
|
}
|
|
2263
2263
|
}, L = () => {
|
|
2264
|
-
if (
|
|
2265
|
-
|
|
2266
|
-
|
|
2264
|
+
if (!I) return M(!1);
|
|
2265
|
+
K.current.setAttribute("shake", !0), setTimeout(() => {
|
|
2266
|
+
K.current.setAttribute("shake", !1);
|
|
2267
2267
|
}, 1e3);
|
|
2268
2268
|
};
|
|
2269
2269
|
return p ? /* @__PURE__ */ H.jsxs("div", { className: `${_e.modal}`, children: [
|
|
@@ -2271,18 +2271,18 @@ var Ct;
|
|
|
2271
2271
|
/* @__PURE__ */ H.jsxs(
|
|
2272
2272
|
"div",
|
|
2273
2273
|
{
|
|
2274
|
-
className: [_e.w, _e[`s${N}`], A].filter((
|
|
2275
|
-
ref:
|
|
2274
|
+
className: [_e.w, _e[`s${N}`], A].filter((q) => q != "").join(" "),
|
|
2275
|
+
ref: K,
|
|
2276
2276
|
children: [
|
|
2277
2277
|
/* @__PURE__ */ H.jsxs("div", { className: _e.h, children: [
|
|
2278
2278
|
/* @__PURE__ */ H.jsx("div", { className: _e.t, children: o }),
|
|
2279
2279
|
/* @__PURE__ */ H.jsxs("div", { className: _e.m, children: [
|
|
2280
|
-
C && /* @__PURE__ */ H.jsx("nav", { children: C.map((
|
|
2280
|
+
C && /* @__PURE__ */ H.jsx("nav", { children: C.map((q, E) => /* @__PURE__ */ H.jsx(
|
|
2281
2281
|
"span",
|
|
2282
2282
|
{
|
|
2283
|
-
onClick:
|
|
2284
|
-
className:
|
|
2285
|
-
children:
|
|
2283
|
+
onClick: q.onClick,
|
|
2284
|
+
className: q.active ? "active" : "",
|
|
2285
|
+
children: q.name
|
|
2286
2286
|
},
|
|
2287
2287
|
E
|
|
2288
2288
|
)) }),
|
|
@@ -2293,7 +2293,7 @@ var Ct;
|
|
|
2293
2293
|
{
|
|
2294
2294
|
className: _e.x,
|
|
2295
2295
|
onClick: () => {
|
|
2296
|
-
|
|
2296
|
+
M(!1);
|
|
2297
2297
|
},
|
|
2298
2298
|
children: /* @__PURE__ */ H.jsx("svg", { viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ H.jsx(
|
|
2299
2299
|
"path",
|
|
@@ -2309,13 +2309,13 @@ var Ct;
|
|
|
2309
2309
|
)
|
|
2310
2310
|
] }),
|
|
2311
2311
|
d,
|
|
2312
|
-
|
|
2312
|
+
b && /* @__PURE__ */ H.jsx("div", { className: _e.b, children: /* @__PURE__ */ H.jsx(
|
|
2313
2313
|
Gr,
|
|
2314
2314
|
{
|
|
2315
|
-
label:
|
|
2315
|
+
label: b.label,
|
|
2316
2316
|
onSend: G,
|
|
2317
2317
|
className: _e.btn,
|
|
2318
|
-
size:
|
|
2318
|
+
size: b.size
|
|
2319
2319
|
}
|
|
2320
2320
|
) })
|
|
2321
2321
|
]
|
|
@@ -2339,32 +2339,32 @@ function ka({
|
|
|
2339
2339
|
active: g = !0,
|
|
2340
2340
|
outFormat: o = "object",
|
|
2341
2341
|
after: d = "",
|
|
2342
|
-
modal:
|
|
2342
|
+
modal: b,
|
|
2343
2343
|
options: C,
|
|
2344
2344
|
className: N
|
|
2345
2345
|
}) {
|
|
2346
|
-
const [A,
|
|
2347
|
-
if (!(s && g) || !
|
|
2348
|
-
let
|
|
2349
|
-
Ct.Open(
|
|
2350
|
-
callback: (
|
|
2346
|
+
const [A, I] = W.useState(Hr(n, v)), O = (p) => {
|
|
2347
|
+
if (!(s && g) || !b) return;
|
|
2348
|
+
let M = b.split(".");
|
|
2349
|
+
Ct.Open(M[0], M[1], {
|
|
2350
|
+
callback: (K) => {
|
|
2351
2351
|
if (i)
|
|
2352
2352
|
switch (o) {
|
|
2353
2353
|
case "array":
|
|
2354
|
-
i({ value: Object.keys(
|
|
2354
|
+
i({ value: Object.keys(K), name: c });
|
|
2355
2355
|
break;
|
|
2356
2356
|
case "string":
|
|
2357
2357
|
i({
|
|
2358
|
-
value: Object.keys(
|
|
2358
|
+
value: Object.keys(K).filter((G) => K[G]).join(v),
|
|
2359
2359
|
name: c
|
|
2360
2360
|
});
|
|
2361
2361
|
break;
|
|
2362
2362
|
default:
|
|
2363
|
-
i({ value:
|
|
2363
|
+
i({ value: K, name: c });
|
|
2364
2364
|
}
|
|
2365
|
-
|
|
2365
|
+
I(
|
|
2366
2366
|
Object.fromEntries(
|
|
2367
|
-
Object.entries(
|
|
2367
|
+
Object.entries(K).filter(
|
|
2368
2368
|
([G, L]) => L !== !1
|
|
2369
2369
|
)
|
|
2370
2370
|
)
|
|
@@ -2389,8 +2389,8 @@ function ka({
|
|
|
2389
2389
|
}
|
|
2390
2390
|
},
|
|
2391
2391
|
children: Object.keys(A).map((p) => {
|
|
2392
|
-
var
|
|
2393
|
-
return /* @__PURE__ */ y.jsx("div", { children: (
|
|
2392
|
+
var M;
|
|
2393
|
+
return /* @__PURE__ */ y.jsx("div", { children: (M = C[p]) == null ? void 0 : M.label }, p);
|
|
2394
2394
|
})
|
|
2395
2395
|
}
|
|
2396
2396
|
);
|
|
@@ -2413,20 +2413,20 @@ function wa({
|
|
|
2413
2413
|
className: g,
|
|
2414
2414
|
isIcon: o = !0,
|
|
2415
2415
|
name: d,
|
|
2416
|
-
after:
|
|
2416
|
+
after: b,
|
|
2417
2417
|
view: C,
|
|
2418
2418
|
order: N,
|
|
2419
2419
|
isReload: A = !1
|
|
2420
2420
|
}) {
|
|
2421
2421
|
var R, h;
|
|
2422
|
-
const
|
|
2422
|
+
const I = W.useRef(null), [O, p] = W.useState(S), [M, K] = W.useState(x), [G, L] = W.useState(!1);
|
|
2423
2423
|
W.useEffect(() => {
|
|
2424
|
-
p(S),
|
|
2425
|
-
}, [S, x]), v = !!(v && (S === 0 || ((R =
|
|
2426
|
-
let E = (
|
|
2427
|
-
p(
|
|
2428
|
-
}, D = (
|
|
2429
|
-
Object.keys(
|
|
2424
|
+
p(S), K(x);
|
|
2425
|
+
}, [S, x]), v = !!(v && (S === 0 || ((R = M == null ? void 0 : M[S]) == null ? void 0 : R.n) === void 0)) && !(c && u);
|
|
2426
|
+
let E = (k) => {
|
|
2427
|
+
p(k), P && P({ value: k, name: d, reload: A });
|
|
2428
|
+
}, D = (k) => {
|
|
2429
|
+
Object.keys(M || {}).length !== 0 && c && u && (I.position = I.current.getBoundingClientRect(), L(!0));
|
|
2430
2430
|
}, U = {};
|
|
2431
2431
|
return s && (U.placeholder = s), v ? "" : /* @__PURE__ */ y.jsxs(y.Fragment, { children: [
|
|
2432
2432
|
/* @__PURE__ */ y.jsx(
|
|
@@ -2439,19 +2439,19 @@ function wa({
|
|
|
2439
2439
|
className: [Nt.f],
|
|
2440
2440
|
props: { onClick: D }
|
|
2441
2441
|
},
|
|
2442
|
-
ref:
|
|
2443
|
-
children: /* @__PURE__ */ y.jsx("div", { ...U, children: (h =
|
|
2442
|
+
ref: I,
|
|
2443
|
+
children: /* @__PURE__ */ y.jsx("div", { ...U, children: (h = M == null ? void 0 : M[O]) == null ? void 0 : h.n })
|
|
2444
2444
|
}
|
|
2445
2445
|
),
|
|
2446
2446
|
G && Mt(
|
|
2447
2447
|
/* @__PURE__ */ y.jsx(
|
|
2448
2448
|
Xr,
|
|
2449
2449
|
{
|
|
2450
|
-
parent:
|
|
2450
|
+
parent: I.position,
|
|
2451
2451
|
onValue: E,
|
|
2452
2452
|
view: C,
|
|
2453
2453
|
className: g,
|
|
2454
|
-
options:
|
|
2454
|
+
options: M,
|
|
2455
2455
|
order: N,
|
|
2456
2456
|
setOpen: L
|
|
2457
2457
|
},
|
|
@@ -2532,17 +2532,17 @@ function ja({
|
|
|
2532
2532
|
active: g = !0,
|
|
2533
2533
|
after: o = "",
|
|
2534
2534
|
view: d,
|
|
2535
|
-
modal:
|
|
2535
|
+
modal: b,
|
|
2536
2536
|
module: C,
|
|
2537
2537
|
options: N,
|
|
2538
2538
|
className: A
|
|
2539
2539
|
}) {
|
|
2540
|
-
let [
|
|
2541
|
-
if (!(x && g) || !
|
|
2542
|
-
let L =
|
|
2540
|
+
let [I, O] = W.useState(n), p = (G) => {
|
|
2541
|
+
if (!(x && g) || !b) return;
|
|
2542
|
+
let L = b.split(".");
|
|
2543
2543
|
Ct.Open(L[0], L[1], {
|
|
2544
|
-
callback: (
|
|
2545
|
-
i && i({ value:
|
|
2544
|
+
callback: (q) => {
|
|
2545
|
+
i && i({ value: q, name: c }), O(q);
|
|
2546
2546
|
},
|
|
2547
2547
|
onValue: i,
|
|
2548
2548
|
options: N,
|
|
@@ -2550,19 +2550,19 @@ function ja({
|
|
|
2550
2550
|
value: n
|
|
2551
2551
|
});
|
|
2552
2552
|
};
|
|
2553
|
-
const
|
|
2554
|
-
|
|
2555
|
-
const
|
|
2556
|
-
return u && (
|
|
2553
|
+
const M = {};
|
|
2554
|
+
M.field = "input", A && (M.className = A);
|
|
2555
|
+
const K = {};
|
|
2556
|
+
return u && (K.placeholder = u), P ? /* @__PURE__ */ y.jsx(y.Fragment, {}) : /* @__PURE__ */ y.jsxs("dl", { ...M, children: [
|
|
2557
2557
|
v && /* @__PURE__ */ y.jsx("dt", { children: v }),
|
|
2558
2558
|
/* @__PURE__ */ y.jsx(
|
|
2559
2559
|
"dd",
|
|
2560
2560
|
{
|
|
2561
|
-
...
|
|
2561
|
+
...K,
|
|
2562
2562
|
onClick: p,
|
|
2563
2563
|
edit: (x && g) + "",
|
|
2564
2564
|
"data-after": o,
|
|
2565
|
-
children:
|
|
2565
|
+
children: I
|
|
2566
2566
|
}
|
|
2567
2567
|
),
|
|
2568
2568
|
S && /* @__PURE__ */ y.jsx("em", { children: S })
|
|
@@ -2581,21 +2581,21 @@ function xa({
|
|
|
2581
2581
|
active: g = !0,
|
|
2582
2582
|
reload: o = !1,
|
|
2583
2583
|
native: d = !1,
|
|
2584
|
-
isShow:
|
|
2584
|
+
isShow: b = !1,
|
|
2585
2585
|
maxLength: C,
|
|
2586
2586
|
eyes: N = [],
|
|
2587
2587
|
after: A = ""
|
|
2588
2588
|
}) {
|
|
2589
|
-
const [
|
|
2589
|
+
const [I, O] = W.useState(b);
|
|
2590
2590
|
let p = (E) => {
|
|
2591
2591
|
i && i({
|
|
2592
2592
|
value: E.target.textContent,
|
|
2593
2593
|
name: u,
|
|
2594
2594
|
reload: o
|
|
2595
2595
|
});
|
|
2596
|
-
},
|
|
2596
|
+
}, M = (E) => {
|
|
2597
2597
|
E.key === "Enter" && E.preventDefault();
|
|
2598
|
-
},
|
|
2598
|
+
}, K = (E) => {
|
|
2599
2599
|
E.preventDefault(), navigator.clipboard.readText().then((D) => {
|
|
2600
2600
|
if (C) {
|
|
2601
2601
|
let U = E.target.textContent.length;
|
|
@@ -2613,24 +2613,24 @@ function xa({
|
|
|
2613
2613
|
te.Blur(E), c == null || c({ value: E.target.textContent.trim(), name: u });
|
|
2614
2614
|
};
|
|
2615
2615
|
const L = {};
|
|
2616
|
-
L.field = "password",
|
|
2617
|
-
const
|
|
2618
|
-
return v && (
|
|
2616
|
+
L.field = "password", I && (L.show = ""), S && (L.className = S);
|
|
2617
|
+
const q = {};
|
|
2618
|
+
return v && (q.placeholder = v), d ? "" : /* @__PURE__ */ y.jsxs("dl", { ...L, children: [
|
|
2619
2619
|
P ? /* @__PURE__ */ y.jsx("dt", { children: P }) : "",
|
|
2620
2620
|
/* @__PURE__ */ y.jsx(
|
|
2621
2621
|
"dd",
|
|
2622
2622
|
{
|
|
2623
|
-
onPaste:
|
|
2623
|
+
onPaste: K,
|
|
2624
2624
|
onInput: p,
|
|
2625
|
-
onKeyDown:
|
|
2625
|
+
onKeyDown: M,
|
|
2626
2626
|
onBlur: G,
|
|
2627
2627
|
contentEditable: s && g ? te.ContentEditable : "false",
|
|
2628
|
-
...
|
|
2628
|
+
...q,
|
|
2629
2629
|
suppressContentEditableWarning: !0,
|
|
2630
2630
|
children: n
|
|
2631
2631
|
}
|
|
2632
2632
|
),
|
|
2633
|
-
N[0] && /* @__PURE__ */ y.jsx("i", { onClick: () => O(
|
|
2633
|
+
N[0] && /* @__PURE__ */ y.jsx("i", { onClick: () => O(!I), children: I ? N[1] : N[0] }),
|
|
2634
2634
|
A,
|
|
2635
2635
|
x ? /* @__PURE__ */ y.jsx("em", { children: x }) : ""
|
|
2636
2636
|
] });
|
|
@@ -2648,16 +2648,16 @@ function Ca({
|
|
|
2648
2648
|
value: g,
|
|
2649
2649
|
placeholder: o,
|
|
2650
2650
|
className: d,
|
|
2651
|
-
maxLength:
|
|
2651
|
+
maxLength: b,
|
|
2652
2652
|
name: C,
|
|
2653
2653
|
after: N = "",
|
|
2654
2654
|
before: A = "",
|
|
2655
|
-
view:
|
|
2655
|
+
view: I
|
|
2656
2656
|
}) {
|
|
2657
2657
|
v = v !== void 0 ? v : !0, c = c !== void 0 ? c : !0, s = !!(s && (g === "" || g === void 0)) && !(v && c), o = o !== void 0 ? o : "", u = u !== void 0 ? u : 99;
|
|
2658
|
-
let p = !1,
|
|
2658
|
+
let p = !1, M = (D) => {
|
|
2659
2659
|
n == null || n({ value: D.target.textContent, name: C });
|
|
2660
|
-
},
|
|
2660
|
+
}, K = (D) => {
|
|
2661
2661
|
if (!(p && D.which === 86)) {
|
|
2662
2662
|
if (D.which === 17 || D.which === 91) return p = !0;
|
|
2663
2663
|
D.key !== "Backspace" && (D.target.textContent.length === u && D.preventDefault(), D.key === "Enter" && D.preventDefault(), isNaN(D.key) && D.preventDefault());
|
|
@@ -2666,16 +2666,16 @@ function Ca({
|
|
|
2666
2666
|
if (D.which === 17 || D.which === 91) return p = !1;
|
|
2667
2667
|
}, L = (D) => {
|
|
2668
2668
|
D.preventDefault(), navigator.clipboard.readText().then((U) => {
|
|
2669
|
-
if (U = U.replace(/(?!^\+|\d)./g, ""),
|
|
2669
|
+
if (U = U.replace(/(?!^\+|\d)./g, ""), b) {
|
|
2670
2670
|
let R = D.target.textContent.length;
|
|
2671
|
-
if (R >=
|
|
2672
|
-
|
|
2671
|
+
if (R >= b) return;
|
|
2672
|
+
b -= R, U = U.slice(0, b);
|
|
2673
2673
|
}
|
|
2674
2674
|
window.document.execCommand("insertText", !1, "" + U);
|
|
2675
2675
|
}).catch((U) => {
|
|
2676
2676
|
});
|
|
2677
2677
|
};
|
|
2678
|
-
const
|
|
2678
|
+
const q = (D) => {
|
|
2679
2679
|
te.Blur(D), i == null || i({ value: D.target.textContent, name: C });
|
|
2680
2680
|
};
|
|
2681
2681
|
let E = {};
|
|
@@ -2692,9 +2692,9 @@ function Ca({
|
|
|
2692
2692
|
{
|
|
2693
2693
|
className: [V.f, V.w].join(" "),
|
|
2694
2694
|
onPaste: L,
|
|
2695
|
-
onInput:
|
|
2696
|
-
onBlur:
|
|
2697
|
-
onKeyDown:
|
|
2695
|
+
onInput: M,
|
|
2696
|
+
onBlur: q,
|
|
2697
|
+
onKeyDown: K,
|
|
2698
2698
|
onKeyUp: G,
|
|
2699
2699
|
suppressContentEditableWarning: !0,
|
|
2700
2700
|
...E,
|
|
@@ -2717,17 +2717,17 @@ var Ft = { exports: {} }, ht = {};
|
|
|
2717
2717
|
* This source code is licensed under the MIT license found in the
|
|
2718
2718
|
* LICENSE file in the root directory of this source tree.
|
|
2719
2719
|
*/
|
|
2720
|
-
var
|
|
2720
|
+
var qt;
|
|
2721
2721
|
function ea() {
|
|
2722
|
-
if (
|
|
2723
|
-
|
|
2722
|
+
if (qt) return ht;
|
|
2723
|
+
qt = 1;
|
|
2724
2724
|
var n = W, i = Symbol.for("react.element"), c = Symbol.for("react.fragment"), u = Object.prototype.hasOwnProperty, v = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, S = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
2725
2725
|
function P(x, s, g) {
|
|
2726
|
-
var o, d = {},
|
|
2727
|
-
g !== void 0 && (
|
|
2726
|
+
var o, d = {}, b = null, C = null;
|
|
2727
|
+
g !== void 0 && (b = "" + g), s.key !== void 0 && (b = "" + s.key), s.ref !== void 0 && (C = s.ref);
|
|
2728
2728
|
for (o in s) u.call(s, o) && !S.hasOwnProperty(o) && (d[o] = s[o]);
|
|
2729
2729
|
if (x && x.defaultProps) for (o in s = x.defaultProps, s) d[o] === void 0 && (d[o] = s[o]);
|
|
2730
|
-
return { $$typeof: i, type: x, key:
|
|
2730
|
+
return { $$typeof: i, type: x, key: b, ref: C, props: d, _owner: v.current };
|
|
2731
2731
|
}
|
|
2732
2732
|
return ht.Fragment = c, ht.jsx = P, ht.jsxs = P, ht;
|
|
2733
2733
|
}
|
|
@@ -2744,8 +2744,8 @@ var xt = {};
|
|
|
2744
2744
|
var Yt;
|
|
2745
2745
|
function ta() {
|
|
2746
2746
|
return Yt || (Yt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
2747
|
-
var n = W, i = Symbol.for("react.element"), c = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), v = Symbol.for("react.strict_mode"), S = Symbol.for("react.profiler"), P = Symbol.for("react.provider"), x = Symbol.for("react.context"), s = Symbol.for("react.forward_ref"), g = Symbol.for("react.suspense"), o = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"),
|
|
2748
|
-
function
|
|
2747
|
+
var n = W, i = Symbol.for("react.element"), c = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), v = Symbol.for("react.strict_mode"), S = Symbol.for("react.profiler"), P = Symbol.for("react.provider"), x = Symbol.for("react.context"), s = Symbol.for("react.forward_ref"), g = Symbol.for("react.suspense"), o = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), b = Symbol.for("react.lazy"), C = Symbol.for("react.offscreen"), N = Symbol.iterator, A = "@@iterator";
|
|
2748
|
+
function I(e) {
|
|
2749
2749
|
if (e === null || typeof e != "object")
|
|
2750
2750
|
return null;
|
|
2751
2751
|
var t = N && e[N] || e[A];
|
|
@@ -2756,10 +2756,10 @@ function ta() {
|
|
|
2756
2756
|
{
|
|
2757
2757
|
for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), a = 1; a < t; a++)
|
|
2758
2758
|
r[a - 1] = arguments[a];
|
|
2759
|
-
|
|
2759
|
+
M("error", e, r);
|
|
2760
2760
|
}
|
|
2761
2761
|
}
|
|
2762
|
-
function
|
|
2762
|
+
function M(e, t, r) {
|
|
2763
2763
|
{
|
|
2764
2764
|
var a = O.ReactDebugCurrentFrame, f = a.getStackAddendum();
|
|
2765
2765
|
f !== "" && (t += "%s", r = r.concat([f]));
|
|
@@ -2769,10 +2769,10 @@ function ta() {
|
|
|
2769
2769
|
m.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, m);
|
|
2770
2770
|
}
|
|
2771
2771
|
}
|
|
2772
|
-
var
|
|
2772
|
+
var K = !1, G = !1, L = !1, q = !1, E = !1, D;
|
|
2773
2773
|
D = Symbol.for("react.module.reference");
|
|
2774
2774
|
function U(e) {
|
|
2775
|
-
return !!(typeof e == "string" || typeof e == "function" || e === u || e === S || E || e === v || e === g || e === o ||
|
|
2775
|
+
return !!(typeof e == "string" || typeof e == "function" || e === u || e === S || E || e === v || e === g || e === o || q || e === C || K || G || L || typeof e == "object" && e !== null && (e.$$typeof === b || e.$$typeof === d || e.$$typeof === P || e.$$typeof === x || e.$$typeof === s || // This needs to include all possible module reference object
|
|
2776
2776
|
// types supported by any Flight configuration anywhere since
|
|
2777
2777
|
// we don't know which Flight build this will end up being used
|
|
2778
2778
|
// with.
|
|
@@ -2788,7 +2788,7 @@ function ta() {
|
|
|
2788
2788
|
function h(e) {
|
|
2789
2789
|
return e.displayName || "Context";
|
|
2790
2790
|
}
|
|
2791
|
-
function
|
|
2791
|
+
function k(e) {
|
|
2792
2792
|
if (e == null)
|
|
2793
2793
|
return null;
|
|
2794
2794
|
if (typeof e.tag == "number" && p("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
@@ -2821,11 +2821,11 @@ function ta() {
|
|
|
2821
2821
|
return R(e, e.render, "ForwardRef");
|
|
2822
2822
|
case d:
|
|
2823
2823
|
var a = e.displayName || null;
|
|
2824
|
-
return a !== null ? a :
|
|
2825
|
-
case
|
|
2824
|
+
return a !== null ? a : k(e.type) || "Memo";
|
|
2825
|
+
case b: {
|
|
2826
2826
|
var f = e, m = f._payload, l = f._init;
|
|
2827
2827
|
try {
|
|
2828
|
-
return
|
|
2828
|
+
return k(l(m));
|
|
2829
2829
|
} catch {
|
|
2830
2830
|
return null;
|
|
2831
2831
|
}
|
|
@@ -2833,7 +2833,7 @@ function ta() {
|
|
|
2833
2833
|
}
|
|
2834
2834
|
return null;
|
|
2835
2835
|
}
|
|
2836
|
-
var
|
|
2836
|
+
var $ = Object.assign, Y = 0, Q, ie, se, ve, ge, be, ke;
|
|
2837
2837
|
function we() {
|
|
2838
2838
|
}
|
|
2839
2839
|
we.__reactDisabledLog = !0;
|
|
@@ -2869,25 +2869,25 @@ function ta() {
|
|
|
2869
2869
|
writable: !0
|
|
2870
2870
|
};
|
|
2871
2871
|
Object.defineProperties(console, {
|
|
2872
|
-
log:
|
|
2872
|
+
log: $({}, e, {
|
|
2873
2873
|
value: Q
|
|
2874
2874
|
}),
|
|
2875
|
-
info:
|
|
2875
|
+
info: $({}, e, {
|
|
2876
2876
|
value: ie
|
|
2877
2877
|
}),
|
|
2878
|
-
warn:
|
|
2878
|
+
warn: $({}, e, {
|
|
2879
2879
|
value: se
|
|
2880
2880
|
}),
|
|
2881
|
-
error:
|
|
2881
|
+
error: $({}, e, {
|
|
2882
2882
|
value: ve
|
|
2883
2883
|
}),
|
|
2884
|
-
group:
|
|
2884
|
+
group: $({}, e, {
|
|
2885
2885
|
value: ge
|
|
2886
2886
|
}),
|
|
2887
|
-
groupCollapsed:
|
|
2887
|
+
groupCollapsed: $({}, e, {
|
|
2888
2888
|
value: be
|
|
2889
2889
|
}),
|
|
2890
|
-
groupEnd:
|
|
2890
|
+
groupEnd: $({}, e, {
|
|
2891
2891
|
value: ke
|
|
2892
2892
|
})
|
|
2893
2893
|
});
|
|
@@ -2985,10 +2985,10 @@ function ta() {
|
|
|
2985
2985
|
var Z = e ? e.displayName || e.name : "", z = Z ? re(Z) : "";
|
|
2986
2986
|
return typeof e == "function" && ae.set(e, z), z;
|
|
2987
2987
|
}
|
|
2988
|
-
function
|
|
2988
|
+
function Ke(e, t, r) {
|
|
2989
2989
|
return je(e, !1);
|
|
2990
2990
|
}
|
|
2991
|
-
function
|
|
2991
|
+
function qe(e) {
|
|
2992
2992
|
var t = e.prototype;
|
|
2993
2993
|
return !!(t && t.isReactComponent);
|
|
2994
2994
|
}
|
|
@@ -2996,7 +2996,7 @@ function ta() {
|
|
|
2996
2996
|
if (e == null)
|
|
2997
2997
|
return "";
|
|
2998
2998
|
if (typeof e == "function")
|
|
2999
|
-
return je(e,
|
|
2999
|
+
return je(e, qe(e));
|
|
3000
3000
|
if (typeof e == "string")
|
|
3001
3001
|
return re(e);
|
|
3002
3002
|
switch (e) {
|
|
@@ -3008,10 +3008,10 @@ function ta() {
|
|
|
3008
3008
|
if (typeof e == "object")
|
|
3009
3009
|
switch (e.$$typeof) {
|
|
3010
3010
|
case s:
|
|
3011
|
-
return
|
|
3011
|
+
return Ke(e.render);
|
|
3012
3012
|
case d:
|
|
3013
3013
|
return ne(e.type, t, r);
|
|
3014
|
-
case
|
|
3014
|
+
case b: {
|
|
3015
3015
|
var a = e, f = a._payload, m = a._init;
|
|
3016
3016
|
try {
|
|
3017
3017
|
return ne(m(f), t, r);
|
|
@@ -3182,7 +3182,7 @@ function ta() {
|
|
|
3182
3182
|
function Pe() {
|
|
3183
3183
|
{
|
|
3184
3184
|
if (fe.current) {
|
|
3185
|
-
var e =
|
|
3185
|
+
var e = k(fe.current.type);
|
|
3186
3186
|
if (e)
|
|
3187
3187
|
return `
|
|
3188
3188
|
|
|
@@ -3217,7 +3217,7 @@ Check the top-level render call using <` + r + ">.");
|
|
|
3217
3217
|
return;
|
|
3218
3218
|
Ne[r] = !0;
|
|
3219
3219
|
var a = "";
|
|
3220
|
-
e && e._owner && e._owner !== fe.current && (a = " It was passed a child from " +
|
|
3220
|
+
e && e._owner && e._owner !== fe.current && (a = " It was passed a child from " + k(e._owner.type) + "."), J(e), p('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', r, a), J(null);
|
|
3221
3221
|
}
|
|
3222
3222
|
}
|
|
3223
3223
|
function Ie(e, t) {
|
|
@@ -3232,7 +3232,7 @@ Check the top-level render call using <` + r + ">.");
|
|
|
3232
3232
|
else if (me(e))
|
|
3233
3233
|
e._store && (e._store.validated = !0);
|
|
3234
3234
|
else if (e) {
|
|
3235
|
-
var f =
|
|
3235
|
+
var f = I(e);
|
|
3236
3236
|
if (typeof f == "function" && f !== e.entries)
|
|
3237
3237
|
for (var m = f.call(e), l; !(l = m.next()).done; )
|
|
3238
3238
|
me(l.value) && Fe(l.value, t);
|
|
@@ -3254,11 +3254,11 @@ Check the top-level render call using <` + r + ">.");
|
|
|
3254
3254
|
else
|
|
3255
3255
|
return;
|
|
3256
3256
|
if (r) {
|
|
3257
|
-
var a =
|
|
3257
|
+
var a = k(t);
|
|
3258
3258
|
Ye(r, e.props, "prop", a, e);
|
|
3259
3259
|
} else if (t.PropTypes !== void 0 && !pe) {
|
|
3260
3260
|
pe = !0;
|
|
3261
|
-
var f =
|
|
3261
|
+
var f = k(t);
|
|
3262
3262
|
p("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", f || "Unknown");
|
|
3263
3263
|
}
|
|
3264
3264
|
typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && p("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
@@ -3286,7 +3286,7 @@ Check the top-level render call using <` + r + ">.");
|
|
|
3286
3286
|
var T = at();
|
|
3287
3287
|
T ? _ += T : _ += Pe();
|
|
3288
3288
|
var w;
|
|
3289
|
-
e === null ? w = "null" : de(e) ? w = "array" : e !== void 0 && e.$$typeof === i ? (w = "<" + (
|
|
3289
|
+
e === null ? w = "null" : de(e) ? w = "array" : e !== void 0 && e.$$typeof === i ? (w = "<" + (k(e.type) || "Unknown") + " />", _ = " Did you accidentally export a JSX literal instead of a component?") : w = typeof e, p("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", w, _);
|
|
3290
3290
|
}
|
|
3291
3291
|
var j = rt(e, t, r, f, m);
|
|
3292
3292
|
if (j == null)
|
|
@@ -3305,7 +3305,7 @@ Check the top-level render call using <` + r + ">.");
|
|
|
3305
3305
|
Ie(B, e);
|
|
3306
3306
|
}
|
|
3307
3307
|
if (X.call(t, "key")) {
|
|
3308
|
-
var z =
|
|
3308
|
+
var z = k(e), F = Object.keys(t).filter(function(dt) {
|
|
3309
3309
|
return dt !== "key";
|
|
3310
3310
|
}), ye = F.length > 0 ? "{key: someKey, " + F.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
3311
3311
|
if (!Me[z + ye]) {
|
|
@@ -3489,41 +3489,41 @@ function Sa({
|
|
|
3489
3489
|
edit: g = !0,
|
|
3490
3490
|
active: o = !0,
|
|
3491
3491
|
after: d = "",
|
|
3492
|
-
show:
|
|
3492
|
+
show: b = !0,
|
|
3493
3493
|
view: C,
|
|
3494
3494
|
className: N = ""
|
|
3495
3495
|
}) {
|
|
3496
3496
|
g = g !== void 0 ? g : !0, o = o !== void 0 ? o : !0, s = !!(s && (n === "" || n === void 0)) && !(g && o), W.useRef(null);
|
|
3497
|
-
let
|
|
3498
|
-
let
|
|
3499
|
-
|
|
3500
|
-
},
|
|
3501
|
-
h.preventDefault(), navigator.clipboard.readText().then((
|
|
3502
|
-
window.document.execCommand("insertText", !1,
|
|
3503
|
-
}).catch((
|
|
3497
|
+
let I = v, O = !0, p = 0, M = (h, k) => {
|
|
3498
|
+
let $ = document.createRange(), Y = window.getSelection();
|
|
3499
|
+
$.setStart(k.childNodes[0], h), $.collapse(!0), Y.removeAllRanges(), Y.addRange($), k.focus();
|
|
3500
|
+
}, K = (h) => {
|
|
3501
|
+
h.preventDefault(), navigator.clipboard.readText().then((k) => {
|
|
3502
|
+
window.document.execCommand("insertText", !1, k);
|
|
3503
|
+
}).catch((k) => {
|
|
3504
3504
|
});
|
|
3505
3505
|
}, G = (h) => {
|
|
3506
|
-
let
|
|
3506
|
+
let k = 0, $ = "", Y = h.replace(/\D/g, "");
|
|
3507
3507
|
Y === "" && (O = !0);
|
|
3508
3508
|
let Q = Y.split(""), ie = "";
|
|
3509
3509
|
Q.forEach((ge) => {
|
|
3510
|
-
O && (ie += ge, O && (p = ("" + ie).length,
|
|
3510
|
+
O && (ie += ge, O && (p = ("" + ie).length, I = v.replace(new RegExp("[0-9]", "g"), "_"), $ = ""), p > ("" + ie).length && (O = !0, I = v.replace(new RegExp("[0-9]", "g"), "_"), $ = ""));
|
|
3511
3511
|
});
|
|
3512
|
-
let se =
|
|
3513
|
-
return se.length >= Y.length && (Y = se), { q:
|
|
3514
|
-
return Y.charAt(
|
|
3515
|
-
}), i:
|
|
3512
|
+
let se = I.replace(/\D/g, "");
|
|
3513
|
+
return se.length >= Y.length && (Y = se), { q: I.replace(/[_\d]/g, function() {
|
|
3514
|
+
return Y.charAt(k++) || "_";
|
|
3515
|
+
}), i: k, v: Y, f: $ };
|
|
3516
3516
|
}, L = (h) => {
|
|
3517
3517
|
h.preventDefault(), navigator.clipboard.writeText(h.target.textContent.replace(/\D/g, "")).then(
|
|
3518
3518
|
function() {
|
|
3519
3519
|
St.Copy("Данные в буфер обмене");
|
|
3520
3520
|
},
|
|
3521
|
-
function(
|
|
3521
|
+
function(k) {
|
|
3522
3522
|
}
|
|
3523
3523
|
);
|
|
3524
|
-
},
|
|
3525
|
-
let
|
|
3526
|
-
h.target.textContent =
|
|
3524
|
+
}, q = G(n), E = (h) => {
|
|
3525
|
+
let k = G(h.target.textContent);
|
|
3526
|
+
h.target.textContent = k.q, k.i = k.q.lastIndexOf(k.v.substr(-1)), k.i < k.q.length && k.q !== I ? k.i++ : k.i = k.q.indexOf("_"), M(k.i, h.target), i && i({ value: k.q.replace(/\D/g, ""), name: u });
|
|
3527
3527
|
}, D = (h) => {
|
|
3528
3528
|
h.key === "Enter" && h.preventDefault();
|
|
3529
3529
|
};
|
|
@@ -3544,14 +3544,14 @@ function Sa({
|
|
|
3544
3544
|
children: /* @__PURE__ */ y.jsx(
|
|
3545
3545
|
"div",
|
|
3546
3546
|
{
|
|
3547
|
-
onPaste:
|
|
3547
|
+
onPaste: K,
|
|
3548
3548
|
onInput: E,
|
|
3549
3549
|
onKeyDown: D,
|
|
3550
3550
|
onContextMenu: L,
|
|
3551
3551
|
onBlur: U,
|
|
3552
3552
|
suppressContentEditableWarning: !0,
|
|
3553
3553
|
...R,
|
|
3554
|
-
children:
|
|
3554
|
+
children: q.q
|
|
3555
3555
|
}
|
|
3556
3556
|
)
|
|
3557
3557
|
}
|
|
@@ -3570,24 +3570,24 @@ function Ra({
|
|
|
3570
3570
|
active: g = !0,
|
|
3571
3571
|
after: o = "",
|
|
3572
3572
|
show: d = !0,
|
|
3573
|
-
maxLength:
|
|
3573
|
+
maxLength: b,
|
|
3574
3574
|
view: C,
|
|
3575
3575
|
onSave: N,
|
|
3576
3576
|
className: A = "",
|
|
3577
|
-
isCopy:
|
|
3577
|
+
isCopy: I = !0
|
|
3578
3578
|
}) {
|
|
3579
3579
|
let [O, p] = W.useState(!1);
|
|
3580
3580
|
O = s ? !0 : O;
|
|
3581
|
-
let
|
|
3581
|
+
let M = (E) => {
|
|
3582
3582
|
c == null || c({ value: E.target.innerText, name: u });
|
|
3583
|
-
},
|
|
3584
|
-
|
|
3583
|
+
}, K = (E) => {
|
|
3584
|
+
b && E.target.textContent.trim().length >= b && E.key !== "Backspace" && E.preventDefault(), E.key === "Enter" && E.preventDefault();
|
|
3585
3585
|
}, G = (E) => {
|
|
3586
3586
|
E.preventDefault(), navigator.clipboard.readText().then((D) => {
|
|
3587
|
-
if (
|
|
3587
|
+
if (b) {
|
|
3588
3588
|
let U = E.target.textContent.length;
|
|
3589
|
-
if (U >=
|
|
3590
|
-
|
|
3589
|
+
if (U >= b) return;
|
|
3590
|
+
b -= U, D = D.slice(0, b);
|
|
3591
3591
|
}
|
|
3592
3592
|
window.document.execCommand(
|
|
3593
3593
|
"insertText",
|
|
@@ -3601,7 +3601,7 @@ function Ra({
|
|
|
3601
3601
|
if (!(s && g) && !d) return "";
|
|
3602
3602
|
const L = {};
|
|
3603
3603
|
v && (L.placeholder = v), s && g && (L.edit = ""), O && (L.open = "");
|
|
3604
|
-
const
|
|
3604
|
+
const q = (E) => {
|
|
3605
3605
|
te.Blur(E), N == null || N({ value: E.target.textContent.trim(), name: u });
|
|
3606
3606
|
};
|
|
3607
3607
|
return /* @__PURE__ */ y.jsx(
|
|
@@ -3615,9 +3615,9 @@ function Ra({
|
|
|
3615
3615
|
"div",
|
|
3616
3616
|
{
|
|
3617
3617
|
onPaste: G,
|
|
3618
|
-
onInput:
|
|
3619
|
-
onBlur:
|
|
3620
|
-
onKeyDown:
|
|
3618
|
+
onInput: M,
|
|
3619
|
+
onBlur: q,
|
|
3620
|
+
onKeyDown: K,
|
|
3621
3621
|
contentEditable: s && g ? te.ContentEditable : "false",
|
|
3622
3622
|
suppressContentEditableWarning: !0,
|
|
3623
3623
|
...L,
|
|
@@ -5022,38 +5022,38 @@ function Ea({
|
|
|
5022
5022
|
active: g = !0,
|
|
5023
5023
|
after: o = "",
|
|
5024
5024
|
show: d = !0,
|
|
5025
|
-
view:
|
|
5025
|
+
view: b,
|
|
5026
5026
|
className: C = ""
|
|
5027
5027
|
}) {
|
|
5028
5028
|
s = s !== void 0 ? s : !0, g = g !== void 0 ? g : !0, x = !!(x && (n === "" || n === void 0)) && !(s && g), W.useRef(null);
|
|
5029
|
-
let A = "+_(___) ___-__-__",
|
|
5030
|
-
let
|
|
5031
|
-
|
|
5032
|
-
},
|
|
5029
|
+
let A = "+_(___) ___-__-__", I = !0, O = 0, p = (R, h) => {
|
|
5030
|
+
let k = document.createRange(), $ = window.getSelection();
|
|
5031
|
+
k.setStart(h.childNodes[0], R), k.collapse(!0), $.removeAllRanges(), $.addRange(k), h.focus();
|
|
5032
|
+
}, M = (R) => {
|
|
5033
5033
|
let h = G(R.target.textContent);
|
|
5034
5034
|
R.target.textContent = h.q, h.i = h.q.lastIndexOf(h.v.substr(-1)), h.i < h.q.length && h.q !== A ? h.i++ : h.i = h.q.indexOf("_"), p(h.i, R.target), i && i({ value: h.q.replace(/\D/g, ""), name: u });
|
|
5035
|
-
},
|
|
5035
|
+
}, K = (R) => {
|
|
5036
5036
|
R.preventDefault(), navigator.clipboard.readText().then((h) => {
|
|
5037
5037
|
window.document.execCommand("insertText", !1, h);
|
|
5038
5038
|
}).catch((h) => {
|
|
5039
5039
|
});
|
|
5040
5040
|
}, G = (R) => {
|
|
5041
|
-
let h = 0,
|
|
5042
|
-
|
|
5043
|
-
let Y =
|
|
5041
|
+
let h = 0, k = "", $ = R.replace(/\D/g, "");
|
|
5042
|
+
$ === "" && (I = !0);
|
|
5043
|
+
let Y = $.split(""), Q = "";
|
|
5044
5044
|
Y.forEach((ve) => {
|
|
5045
|
-
|
|
5045
|
+
I && (Q += ve, Ot[Q] !== void 0 && I ? (I = !1, A = Ot[Q].mask.replace(new RegExp("[0-9]", "g"), "_"), k = Ot[Q].code) : (I && (O = ("" + Q).length, A = `+${Q}_(___) ___-__-__`.replace(
|
|
5046
5046
|
new RegExp("[0-9]", "g"),
|
|
5047
5047
|
"_"
|
|
5048
|
-
),
|
|
5048
|
+
), k = ""), O > ("" + Q).length && (I = !0, A = `+${Q}_(___) ___-__-__`.replace(
|
|
5049
5049
|
new RegExp("[0-9]", "g"),
|
|
5050
5050
|
"_"
|
|
5051
|
-
),
|
|
5051
|
+
), k = "")));
|
|
5052
5052
|
});
|
|
5053
5053
|
let ie = A.replace(/\D/g, "");
|
|
5054
|
-
return ie.length >=
|
|
5055
|
-
return
|
|
5056
|
-
}), i: h, v:
|
|
5054
|
+
return ie.length >= $.length && ($ = ie), { q: A.replace(/[_\d]/g, function() {
|
|
5055
|
+
return $.charAt(h++) || "_";
|
|
5056
|
+
}), i: h, v: $, f: k };
|
|
5057
5057
|
}, L = (R) => {
|
|
5058
5058
|
R.preventDefault(), navigator.clipboard.writeText(R.target.textContent.replace(/\D/g, "")).then(
|
|
5059
5059
|
function() {
|
|
@@ -5062,7 +5062,7 @@ function Ea({
|
|
|
5062
5062
|
function(h) {
|
|
5063
5063
|
}
|
|
5064
5064
|
);
|
|
5065
|
-
},
|
|
5065
|
+
}, q = G(n), E = (R) => {
|
|
5066
5066
|
R.key === "Enter" && R.preventDefault();
|
|
5067
5067
|
};
|
|
5068
5068
|
const D = (R) => {
|
|
@@ -5082,14 +5082,14 @@ function Ea({
|
|
|
5082
5082
|
children: /* @__PURE__ */ y.jsx(
|
|
5083
5083
|
"div",
|
|
5084
5084
|
{
|
|
5085
|
-
onPaste:
|
|
5086
|
-
onInput:
|
|
5085
|
+
onPaste: K,
|
|
5086
|
+
onInput: M,
|
|
5087
5087
|
onKeyDown: E,
|
|
5088
5088
|
onContextMenu: L,
|
|
5089
5089
|
onBlur: D,
|
|
5090
5090
|
suppressContentEditableWarning: !0,
|
|
5091
5091
|
...U,
|
|
5092
|
-
children:
|
|
5092
|
+
children: q.q
|
|
5093
5093
|
}
|
|
5094
5094
|
)
|
|
5095
5095
|
}
|
|
@@ -5112,20 +5112,20 @@ function Oa({
|
|
|
5112
5112
|
icon: g,
|
|
5113
5113
|
name: o,
|
|
5114
5114
|
value: d,
|
|
5115
|
-
after:
|
|
5115
|
+
after: b
|
|
5116
5116
|
}) {
|
|
5117
5117
|
let [C, N] = W.useState(
|
|
5118
5118
|
d === void 0 ? /* @__PURE__ */ new Date() : d
|
|
5119
5119
|
);
|
|
5120
|
-
const A = W.useRef(null), [
|
|
5120
|
+
const A = W.useRef(null), [I, O] = W.useState(!1);
|
|
5121
5121
|
let p = !c && u;
|
|
5122
5122
|
W.useEffect(() => {
|
|
5123
5123
|
N(d === void 0 ? /* @__PURE__ */ new Date() : d);
|
|
5124
5124
|
}, [d]);
|
|
5125
|
-
let
|
|
5125
|
+
let M = (L) => {
|
|
5126
5126
|
N(L), s == null || s({ value: L, name: o });
|
|
5127
|
-
},
|
|
5128
|
-
const
|
|
5127
|
+
}, K = (L) => {
|
|
5128
|
+
const q = L.target.getBoundingClientRect(), E = q.left, D = q.bottom, U = q.top;
|
|
5129
5129
|
A.position = { x: E, b: D, y: U }, O(!0);
|
|
5130
5130
|
};
|
|
5131
5131
|
const G = {};
|
|
@@ -5140,13 +5140,13 @@ function Oa({
|
|
|
5140
5140
|
/* @__PURE__ */ y.jsxs(
|
|
5141
5141
|
"dd",
|
|
5142
5142
|
{
|
|
5143
|
-
onClick:
|
|
5143
|
+
onClick: K,
|
|
5144
5144
|
className: [V.f, V.w].join(" "),
|
|
5145
5145
|
...G,
|
|
5146
5146
|
"data-edit": (c && u) + "",
|
|
5147
5147
|
children: [
|
|
5148
5148
|
da(C, "dd.mm.yyyy"),
|
|
5149
|
-
|
|
5149
|
+
b
|
|
5150
5150
|
]
|
|
5151
5151
|
}
|
|
5152
5152
|
),
|
|
@@ -5154,12 +5154,12 @@ function Oa({
|
|
|
5154
5154
|
]
|
|
5155
5155
|
}
|
|
5156
5156
|
),
|
|
5157
|
-
|
|
5157
|
+
I && Mt(
|
|
5158
5158
|
/* @__PURE__ */ y.jsx(
|
|
5159
5159
|
ca,
|
|
5160
5160
|
{
|
|
5161
5161
|
position: A.position,
|
|
5162
|
-
onValue:
|
|
5162
|
+
onValue: M,
|
|
5163
5163
|
date: C,
|
|
5164
5164
|
max: P,
|
|
5165
5165
|
min: x,
|
|
@@ -5189,38 +5189,38 @@ const ca = ({
|
|
|
5189
5189
|
y: parseInt(s.getFullYear()),
|
|
5190
5190
|
d: parseInt(s.getDate()),
|
|
5191
5191
|
m: parseInt(s.getMonth()) + 1
|
|
5192
|
-
}, [d,
|
|
5193
|
-
let
|
|
5194
|
-
return
|
|
5195
|
-
}, N = ["пн", "вт", "ср", "чт", "пт", "сб", "вс"], A = d.m - 1,
|
|
5196
|
-
for (let h = 0; h < C(
|
|
5192
|
+
}, [d, b] = W.useState({ y: o.y, m: o.m }), C = (h) => {
|
|
5193
|
+
let k = h.getDay();
|
|
5194
|
+
return k === 0 && (k = 7), k - 1;
|
|
5195
|
+
}, N = ["пн", "вт", "ср", "чт", "пт", "сб", "вс"], A = d.m - 1, I = new Date(d.y, A), O = [];
|
|
5196
|
+
for (let h = 0; h < C(I); h++)
|
|
5197
5197
|
O.push(0);
|
|
5198
|
-
for (;
|
|
5199
|
-
O.push(
|
|
5198
|
+
for (; I.getMonth() === A; )
|
|
5199
|
+
O.push(I.getDate()), I.setDate(I.getDate() + 1);
|
|
5200
5200
|
let p = () => {
|
|
5201
5201
|
P(!1);
|
|
5202
|
-
},
|
|
5202
|
+
}, M = () => {
|
|
5203
5203
|
L(d.m + 1, d.y);
|
|
5204
|
-
},
|
|
5204
|
+
}, K = () => {
|
|
5205
5205
|
L(d.m - 1, d.y);
|
|
5206
5206
|
}, G = (h) => {
|
|
5207
5207
|
i(
|
|
5208
5208
|
d.y + "-" + Gt(2, d.m) + "-" + Gt(2, h)
|
|
5209
5209
|
), p();
|
|
5210
|
-
}, L = (h,
|
|
5211
|
-
|
|
5210
|
+
}, L = (h, k) => {
|
|
5211
|
+
k = h > 12 ? k + 1 : h < 1 ? k - 1 : k, h = h > 12 ? 1 : h < 1 ? 12 : h, b({ y: k, m: h });
|
|
5212
5212
|
};
|
|
5213
|
-
const
|
|
5214
|
-
let
|
|
5213
|
+
const q = (h) => g.y === d.y && g.m === d.m && g.d === h ? { "data-active": "true" } : {}, E = (h) => o.y === d.y && o.m === d.m && o.d === h ? { "data-current": "true" } : {}, D = (h) => {
|
|
5214
|
+
let k = !0;
|
|
5215
5215
|
if (u) {
|
|
5216
|
-
let
|
|
5217
|
-
|
|
5216
|
+
let $ = u.getTime(), Y = new Date(d.y, d.m - 1, h).getTime();
|
|
5217
|
+
$ < Y && (k = !1);
|
|
5218
5218
|
}
|
|
5219
5219
|
if (v) {
|
|
5220
|
-
let
|
|
5221
|
-
|
|
5220
|
+
let $ = v.getTime(), Y = new Date(d.y, d.m - 1, h).getTime();
|
|
5221
|
+
$ > Y && (k = !1);
|
|
5222
5222
|
}
|
|
5223
|
-
return
|
|
5223
|
+
return k;
|
|
5224
5224
|
};
|
|
5225
5225
|
let U = window.innerHeight - c.y < 320 ? c.y - 312 : c.b, R = window.innerWidth - c.x < 265 ? c.x - 235 : c.x;
|
|
5226
5226
|
return /* @__PURE__ */ y.jsxs(y.Fragment, { children: [
|
|
@@ -5235,7 +5235,7 @@ const ca = ({
|
|
|
5235
5235
|
style: { top: U + "px", left: R + "px" },
|
|
5236
5236
|
children: [
|
|
5237
5237
|
/* @__PURE__ */ y.jsxs("s", { children: [
|
|
5238
|
-
/* @__PURE__ */ y.jsx("i", { onClick:
|
|
5238
|
+
/* @__PURE__ */ y.jsx("i", { onClick: K, children: /* @__PURE__ */ y.jsx(
|
|
5239
5239
|
"svg",
|
|
5240
5240
|
{
|
|
5241
5241
|
width: "16",
|
|
@@ -5251,7 +5251,7 @@ const ca = ({
|
|
|
5251
5251
|
" ",
|
|
5252
5252
|
d.y
|
|
5253
5253
|
] }),
|
|
5254
|
-
/* @__PURE__ */ y.jsx("i", { onClick:
|
|
5254
|
+
/* @__PURE__ */ y.jsx("i", { onClick: M, children: /* @__PURE__ */ y.jsx(
|
|
5255
5255
|
"svg",
|
|
5256
5256
|
{
|
|
5257
5257
|
width: "16",
|
|
@@ -5264,16 +5264,16 @@ const ca = ({
|
|
|
5264
5264
|
) })
|
|
5265
5265
|
] }),
|
|
5266
5266
|
/* @__PURE__ */ y.jsxs("div", { "grid-calendar": "", children: [
|
|
5267
|
-
N.map((h,
|
|
5268
|
-
O.map((h,
|
|
5267
|
+
N.map((h, k) => /* @__PURE__ */ y.jsx("p", { children: h }, "v" + k)),
|
|
5268
|
+
O.map((h, k) => /* @__PURE__ */ y.jsx("span", { children: h !== 0 && D(h) ? /* @__PURE__ */ y.jsx(
|
|
5269
5269
|
"b",
|
|
5270
5270
|
{
|
|
5271
|
-
...
|
|
5271
|
+
...q(h),
|
|
5272
5272
|
...E(h),
|
|
5273
5273
|
onClick: () => G(h),
|
|
5274
5274
|
children: h
|
|
5275
5275
|
}
|
|
5276
|
-
) : /* @__PURE__ */ y.jsx("p", { ...
|
|
5276
|
+
) : /* @__PURE__ */ y.jsx("p", { ...q(h), ...E(h), children: h !== 0 ? h : "" }) }, k))
|
|
5277
5277
|
] })
|
|
5278
5278
|
]
|
|
5279
5279
|
}
|
|
@@ -5331,16 +5331,16 @@ function Ta({
|
|
|
5331
5331
|
className: g
|
|
5332
5332
|
}) {
|
|
5333
5333
|
let [o, d] = W.useState(n);
|
|
5334
|
-
const
|
|
5334
|
+
const b = W.useRef(null), [C, N] = W.useState(!1);
|
|
5335
5335
|
W.useEffect(() => {
|
|
5336
5336
|
d(n);
|
|
5337
5337
|
}, [n]);
|
|
5338
5338
|
let A = (p) => {
|
|
5339
5339
|
d(p), i && i({ value: p, name: c });
|
|
5340
|
-
},
|
|
5340
|
+
}, I = (p) => {
|
|
5341
5341
|
if (!S || !P) return;
|
|
5342
|
-
const
|
|
5343
|
-
|
|
5342
|
+
const M = p.target.getBoundingClientRect(), K = M.left, G = M.top;
|
|
5343
|
+
b.position = { x: K, y: G }, N(!0);
|
|
5344
5344
|
};
|
|
5345
5345
|
const O = {};
|
|
5346
5346
|
return s && (O.placeholder = s), v || /* @__PURE__ */ y.jsxs(y.Fragment, { children: [
|
|
@@ -5354,7 +5354,7 @@ function Ta({
|
|
|
5354
5354
|
/* @__PURE__ */ y.jsx(
|
|
5355
5355
|
"dd",
|
|
5356
5356
|
{
|
|
5357
|
-
onClick:
|
|
5357
|
+
onClick: I,
|
|
5358
5358
|
...O,
|
|
5359
5359
|
className: [V.f, V.w].join(" "),
|
|
5360
5360
|
children: pa(o, "mm.yyyy")
|
|
@@ -5368,7 +5368,7 @@ function Ta({
|
|
|
5368
5368
|
/* @__PURE__ */ y.jsx(
|
|
5369
5369
|
fa,
|
|
5370
5370
|
{
|
|
5371
|
-
position:
|
|
5371
|
+
position: b.position,
|
|
5372
5372
|
onValue: A,
|
|
5373
5373
|
date: o,
|
|
5374
5374
|
onOpen: N
|
|
@@ -5390,16 +5390,16 @@ const fa = ({ onOpen: n, date: i, onValue: c, position: u }) => {
|
|
|
5390
5390
|
n(!1);
|
|
5391
5391
|
}, d = () => {
|
|
5392
5392
|
g(s + 1);
|
|
5393
|
-
},
|
|
5393
|
+
}, b = () => {
|
|
5394
5394
|
g(s - 1);
|
|
5395
5395
|
}, C = (p) => {
|
|
5396
5396
|
c(s + "-" + ma(2, p)), o();
|
|
5397
|
-
}, N = (p) => P.y === x.y && P.m === p ? "_FFEB3B" : "", A = Array(12).fill("").map((p,
|
|
5397
|
+
}, N = (p) => P.y === x.y && P.m === p ? "_FFEB3B" : "", A = Array(12).fill("").map((p, M) => M + 1), I = window.innerHeight - u.y + 33 < 320 ? u.y - 312 : u.y + 33, O = window.innerWidth - u.x < 265 ? u.x - 235 : u.x;
|
|
5398
5398
|
return /* @__PURE__ */ y.jsxs(y.Fragment, { children: [
|
|
5399
5399
|
/* @__PURE__ */ y.jsx("div", { className: Rt.o, onClick: o }),
|
|
5400
|
-
/* @__PURE__ */ y.jsxs("div", { className: Rt.c, style: { top:
|
|
5400
|
+
/* @__PURE__ */ y.jsxs("div", { className: Rt.c, style: { top: I + "px", left: O + "px" }, children: [
|
|
5401
5401
|
/* @__PURE__ */ y.jsxs("s", { children: [
|
|
5402
|
-
/* @__PURE__ */ y.jsx("i", { onClick:
|
|
5402
|
+
/* @__PURE__ */ y.jsx("i", { onClick: b, children: /* @__PURE__ */ y.jsx(
|
|
5403
5403
|
"svg",
|
|
5404
5404
|
{
|
|
5405
5405
|
width: "16",
|
|
@@ -5423,7 +5423,7 @@ const fa = ({ onOpen: n, date: i, onValue: c, position: u }) => {
|
|
|
5423
5423
|
}
|
|
5424
5424
|
) })
|
|
5425
5425
|
] }),
|
|
5426
|
-
/* @__PURE__ */ y.jsx("div", { "grid-month": "", children: A.map((p,
|
|
5426
|
+
/* @__PURE__ */ y.jsx("div", { "grid-month": "", children: A.map((p, M) => /* @__PURE__ */ y.jsx(
|
|
5427
5427
|
"span",
|
|
5428
5428
|
{
|
|
5429
5429
|
onClick: () => {
|
|
@@ -5432,7 +5432,7 @@ const fa = ({ onOpen: n, date: i, onValue: c, position: u }) => {
|
|
|
5432
5432
|
color: N(p),
|
|
5433
5433
|
children: /* @__PURE__ */ y.jsx("b", { children: ya(p).abc })
|
|
5434
5434
|
},
|
|
5435
|
-
|
|
5435
|
+
M
|
|
5436
5436
|
)) })
|
|
5437
5437
|
] })
|
|
5438
5438
|
] });
|
|
@@ -5488,20 +5488,20 @@ function Da({
|
|
|
5488
5488
|
after: g = "",
|
|
5489
5489
|
show: o = !0,
|
|
5490
5490
|
course: d = 100,
|
|
5491
|
-
view:
|
|
5491
|
+
view: b,
|
|
5492
5492
|
type: C,
|
|
5493
5493
|
onSave: N,
|
|
5494
5494
|
className: A = "",
|
|
5495
|
-
isClear:
|
|
5495
|
+
isClear: I = !1
|
|
5496
5496
|
}) {
|
|
5497
|
-
let O = !!(P && (n === "" || n === void 0)), p = (R) => C === "multi" ? R.replace(/[^+\d.+-]/g, "") : R.replace(/[^+\d.]/g, ""),
|
|
5498
|
-
let
|
|
5499
|
-
|
|
5500
|
-
},
|
|
5497
|
+
let O = !!(P && (n === "" || n === void 0)), p = (R) => C === "multi" ? R.replace(/[^+\d.+-]/g, "") : R.replace(/[^+\d.]/g, ""), M = (R, h) => {
|
|
5498
|
+
let k = document.createRange(), $ = window.getSelection();
|
|
5499
|
+
k.setStart(h.childNodes[0], R), k.collapse(!0), $.removeAllRanges(), $.addRange(k), h.focus();
|
|
5500
|
+
}, K = (R) => {
|
|
5501
5501
|
i == null || i({
|
|
5502
5502
|
value: p(R.target.textContent) * d,
|
|
5503
5503
|
name: c
|
|
5504
|
-
}), R.target.textContent = p(R.target.textContent), R.target.textContent.length > 0 &&
|
|
5504
|
+
}), R.target.textContent = p(R.target.textContent), R.target.textContent.length > 0 && M(R.target.textContent.length, R.target);
|
|
5505
5505
|
}, G = (R) => {
|
|
5506
5506
|
te.Blur(R), R.target.textContent === "" && (R.target.textContent = 0), N == null || N({ value: p(R.target.textContent) * d, name: c }), i == null || i({
|
|
5507
5507
|
value: p(R.target.textContent) * d,
|
|
@@ -5509,7 +5509,7 @@ function Da({
|
|
|
5509
5509
|
}), R.target.textContent = zt(R.target.textContent);
|
|
5510
5510
|
}, L = (R) => {
|
|
5511
5511
|
R.target.textContent = p(R.target.textContent);
|
|
5512
|
-
},
|
|
5512
|
+
}, q = (R) => {
|
|
5513
5513
|
R.currentTarget.previousElementSibling.textContent = "", i == null || i({
|
|
5514
5514
|
value: 0,
|
|
5515
5515
|
name: c
|
|
@@ -5536,7 +5536,7 @@ function Da({
|
|
|
5536
5536
|
{
|
|
5537
5537
|
...U,
|
|
5538
5538
|
className: [V.f, V.w].join(" "),
|
|
5539
|
-
onInput:
|
|
5539
|
+
onInput: K,
|
|
5540
5540
|
onPaste: D,
|
|
5541
5541
|
onBlur: G,
|
|
5542
5542
|
onKeyDown: E,
|
|
@@ -5547,7 +5547,7 @@ function Da({
|
|
|
5547
5547
|
children: !u || n ? zt(n) : ""
|
|
5548
5548
|
}
|
|
5549
5549
|
),
|
|
5550
|
-
|
|
5550
|
+
I && /* @__PURE__ */ y.jsx("svg", { "action-type": "delete", onClick: q, viewBox: "0 0 24 24", children: /* @__PURE__ */ y.jsx("path", { d: "M17 6L6 17M6 6L17 17" }) }),
|
|
5551
5551
|
S ? /* @__PURE__ */ y.jsx("em", { children: S }) : ""
|
|
5552
5552
|
]
|
|
5553
5553
|
}
|
|
@@ -5596,14 +5596,14 @@ export {
|
|
|
5596
5596
|
ja as Modal,
|
|
5597
5597
|
Da as Money,
|
|
5598
5598
|
Ta as Month,
|
|
5599
|
-
|
|
5600
|
-
Ca as Number,
|
|
5599
|
+
Ca as Numeric,
|
|
5601
5600
|
ka as Options,
|
|
5602
5601
|
xa as Password,
|
|
5603
5602
|
Ea as Phone,
|
|
5604
5603
|
ha as Progress,
|
|
5605
5604
|
wa as Select,
|
|
5606
5605
|
ba as String,
|
|
5606
|
+
Ra as Textarea,
|
|
5607
5607
|
Fa as runReload,
|
|
5608
5608
|
Na as setValue,
|
|
5609
5609
|
Pa as useData,
|