@elcrm/form 0.0.31 → 0.0.33

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js 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.31", Xt = {
3
+ import './index.css';const Vt = "0.0.33", 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 = {}, k = null, C = null;
23
- g !== void 0 && (k = "" + g), s.key !== void 0 && (k = "" + s.key), s.ref !== void 0 && (C = s.ref);
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: k, ref: C, props: d, _owner: v.current };
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"), k = Symbol.for("react.lazy"), C = Symbol.for("react.offscreen"), N = Symbol.iterator, A = "@@iterator";
44
- function $(e) {
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
- I("error", e, r);
55
+ M("error", e, r);
56
56
  }
57
57
  }
58
- function I(e, t, r) {
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]));
@@ -68,7 +68,7 @@ function er() {
68
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 || q || e === C || K || G || L || typeof e == "object" && e !== null && (e.$$typeof === k || e.$$typeof === d || e.$$typeof === P || e.$$typeof === x || e.$$typeof === s || // This needs to include all possible module reference object
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 b(e) {
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 : b(e.type) || "Memo";
121
- case k: {
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 b(l(m));
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 M = Object.assign, Y = 0, Q, ie, se, ve, ge, be, ke;
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: M({}, e, {
168
+ log: $({}, e, {
169
169
  value: Q
170
170
  }),
171
- info: M({}, e, {
171
+ info: $({}, e, {
172
172
  value: ie
173
173
  }),
174
- warn: M({}, e, {
174
+ warn: $({}, e, {
175
175
  value: se
176
176
  }),
177
- error: M({}, e, {
177
+ error: $({}, e, {
178
178
  value: ve
179
179
  }),
180
- group: M({}, e, {
180
+ group: $({}, e, {
181
181
  value: ge
182
182
  }),
183
- groupCollapsed: M({}, e, {
183
+ groupCollapsed: $({}, e, {
184
184
  value: be
185
185
  }),
186
- groupEnd: M({}, e, {
186
+ groupEnd: $({}, e, {
187
187
  value: ke
188
188
  })
189
189
  });
@@ -307,7 +307,7 @@ function er() {
307
307
  return Ke(e.render);
308
308
  case d:
309
309
  return ne(e.type, t, r);
310
- case k: {
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 = b(fe.current.type);
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 " + b(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);
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 = $(e);
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 = b(t);
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 = b(t);
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 = "<" + (b(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, _);
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 = b(e), F = Object.keys(t).filter(function(dt) {
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 = "_l_mc013_13", rr = "_f_mc013_35", ar = "_n_mc013_52", nr = "_w_mc013_57", or = "_t_mc013_67", ir = "_g_mc013_72", V = {
673
+ const tr = "_l_121gi_13", rr = "_f_121gi_37", ar = "_n_121gi_55", nr = "_w_121gi_60", or = "_t_121gi_70", ir = "_g_121gi_75", V = {
674
674
  l: tr,
675
675
  f: rr,
676
676
  n: ar,
@@ -724,14 +724,14 @@ function ba({
724
724
  active: g = !0,
725
725
  after: o = "",
726
726
  before: d = "",
727
- show: k = !0,
727
+ show: b = !0,
728
728
  maxLength: C,
729
729
  onSave: N,
730
730
  className: A = "",
731
- isCopy: $ = !0,
731
+ isCopy: I = !0,
732
732
  isReload: O = !1
733
733
  }) {
734
- let p = !!(x && (i === "" || i === void 0)), I = (E) => {
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,
@@ -754,7 +754,7 @@ function ba({
754
754
  }).catch((D) => {
755
755
  });
756
756
  };
757
- if (!(s && g) && !k || !(s && g) && p) return "";
757
+ if (!(s && g) && !b || !(s && g) && p) return "";
758
758
  const L = {};
759
759
  v && (L.placeholder = v), s && g && (L.edit = "");
760
760
  const q = (E) => {
@@ -772,7 +772,7 @@ function ba({
772
772
  {
773
773
  onBlur: q,
774
774
  onPaste: G,
775
- onInput: I,
775
+ onInput: M,
776
776
  onKeyDown: K,
777
777
  spellCheck: "true",
778
778
  contentEditable: s && g ? te.ContentEditable : "false",
@@ -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 = {}, k = null, C = null;
804
- g !== void 0 && (k = "" + g), s.key !== void 0 && (k = "" + s.key), s.ref !== void 0 && (C = s.ref);
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: k, ref: C, props: d, _owner: v.current };
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"), k = Symbol.for("react.lazy"), C = Symbol.for("react.offscreen"), N = Symbol.iterator, A = "@@iterator";
825
- function $(e) {
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
- I("error", e, r);
836
+ M("error", e, r);
837
837
  }
838
838
  }
839
- function I(e, t, r) {
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]));
@@ -849,7 +849,7 @@ function sr() {
849
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 || q || e === C || K || G || L || typeof e == "object" && e !== null && (e.$$typeof === k || e.$$typeof === d || e.$$typeof === P || e.$$typeof === x || e.$$typeof === s || // This needs to include all possible module reference object
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 b(e) {
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 : b(e.type) || "Memo";
902
- case k: {
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 b(l(m));
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 M = Object.assign, Y = 0, Q, ie, se, ve, ge, be, ke;
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: M({}, e, {
949
+ log: $({}, e, {
950
950
  value: Q
951
951
  }),
952
- info: M({}, e, {
952
+ info: $({}, e, {
953
953
  value: ie
954
954
  }),
955
- warn: M({}, e, {
955
+ warn: $({}, e, {
956
956
  value: se
957
957
  }),
958
- error: M({}, e, {
958
+ error: $({}, e, {
959
959
  value: ve
960
960
  }),
961
- group: M({}, e, {
961
+ group: $({}, e, {
962
962
  value: ge
963
963
  }),
964
- groupCollapsed: M({}, e, {
964
+ groupCollapsed: $({}, e, {
965
965
  value: be
966
966
  }),
967
- groupEnd: M({}, e, {
967
+ groupEnd: $({}, e, {
968
968
  value: ke
969
969
  })
970
970
  });
@@ -1088,7 +1088,7 @@ function sr() {
1088
1088
  return Ke(e.render);
1089
1089
  case d:
1090
1090
  return ne(e.type, t, r);
1091
- case k: {
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 = b(fe.current.type);
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 " + b(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);
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 = $(e);
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 = b(t);
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 = b(t);
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 = "<" + (b(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, _);
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 = b(e), F = Object.keys(t).filter(function(dt) {
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 = {}, k = null, C = null;
1513
- g !== void 0 && (k = "" + g), s.key !== void 0 && (k = "" + s.key), s.ref !== void 0 && (C = s.ref);
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: k, ref: C, props: d, _owner: v.current };
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
  }
@@ -1530,8 +1530,8 @@ var wt = {};
1530
1530
  var Kt;
1531
1531
  function Ar() {
1532
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"), k = Symbol.for("react.lazy"), C = Symbol.for("react.offscreen"), N = Symbol.iterator, A = "@@iterator";
1534
- function $(e) {
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
- I("error", e, r);
1545
+ M("error", e, r);
1546
1546
  }
1547
1547
  }
1548
- function I(e, t, r) {
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]));
@@ -1558,7 +1558,7 @@ function Ar() {
1558
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 || q || e === C || K || G || L || typeof e == "object" && e !== null && (e.$$typeof === k || e.$$typeof === d || e.$$typeof === P || e.$$typeof === x || e.$$typeof === s || // This needs to include all possible module reference object
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 b(e) {
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 : b(e.type) || "Memo";
1611
- case k: {
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 b(l(m));
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 M = Object.assign, Y = 0, Q, ie, se, ve, ge, be, ke;
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: M({}, e, {
1658
+ log: $({}, e, {
1659
1659
  value: Q
1660
1660
  }),
1661
- info: M({}, e, {
1661
+ info: $({}, e, {
1662
1662
  value: ie
1663
1663
  }),
1664
- warn: M({}, e, {
1664
+ warn: $({}, e, {
1665
1665
  value: se
1666
1666
  }),
1667
- error: M({}, e, {
1667
+ error: $({}, e, {
1668
1668
  value: ve
1669
1669
  }),
1670
- group: M({}, e, {
1670
+ group: $({}, e, {
1671
1671
  value: ge
1672
1672
  }),
1673
- groupCollapsed: M({}, e, {
1673
+ groupCollapsed: $({}, e, {
1674
1674
  value: be
1675
1675
  }),
1676
- groupEnd: M({}, e, {
1676
+ groupEnd: $({}, e, {
1677
1677
  value: ke
1678
1678
  })
1679
1679
  });
@@ -1797,7 +1797,7 @@ function Ar() {
1797
1797
  return Ke(e.render);
1798
1798
  case d:
1799
1799
  return ne(e.type, t, r);
1800
- case k: {
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 = b(fe.current.type);
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 " + b(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);
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 = $(e);
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 = b(t);
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 = b(t);
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 = "<" + (b(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, _);
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 = b(e), F = Object.keys(t).filter(function(dt) {
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]) {
@@ -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 [k, C] = W.useState(!1);
2146
- const N = ($) => {
2145
+ let [b, C] = W.useState(!1);
2146
+ const N = (I) => {
2147
2147
  if (n) return n();
2148
- k || (i ? (C(!0), i(C)) : $.preventDefault());
2148
+ b || (i ? (C(!0), i(C)) : I.preventDefault());
2149
2149
  };
2150
2150
  let A = {};
2151
- return (S || k) && (A.disabled = !0), /* @__PURE__ */ Et.jsx(
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
- k ? jt.disabled : jt[u],
2158
+ b ? jt.disabled : jt[u],
2159
2159
  c && jt[c],
2160
2160
  P
2161
- ].filter(($) => $ != "").join(" "),
2161
+ ].filter((I) => I != "").join(" "),
2162
2162
  onClick: N,
2163
- children: k ? d : /* @__PURE__ */ Et.jsxs(Et.Fragment, { 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, k] = W.useState([]);
2182
+ let [d, b] = W.useState([]);
2183
2183
  return Ae.x = (C) => {
2184
- k(C ? d.filter((N) => N.key !== C) : []);
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
- k([...d, { key: N, item: C }]);
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, k) {
2196
+ function u(o, d, b) {
2197
2197
  Ae.i ? Ae.i(`${o}/modal/${d}.tsx`).then((C) => {
2198
- C.default.Open(k);
2198
+ C.default.Open(b);
2199
2199
  }) : Wt()(`${o}/modal/${d}.tsx`).then((C) => {
2200
- C.default.Open(k);
2200
+ C.default.Open(b);
2201
2201
  });
2202
2202
  }
2203
2203
  n.Open = u;
2204
- function v({ type: o, name: d, params: k }) {
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(k));
2208
+ N(A.default.Icon(b));
2209
2209
  }) : Wt()(`${o}/modal/${d}.tsx`).then((A) => {
2210
- N(A.default.Icon(k));
2210
+ N(A.default.Icon(b));
2211
2211
  });
2212
- }, [k.id]), /* @__PURE__ */ H.jsx(H.Fragment, { children: C });
2212
+ }, [b.id]), /* @__PURE__ */ H.jsx(H.Fragment, { children: C });
2213
2213
  }
2214
2214
  n.Icon = v;
2215
2215
  function S(o, d) {
@@ -2229,39 +2229,39 @@ var Ct;
2229
2229
  }
2230
2230
  n.Shake = x;
2231
2231
  function s(o, d) {
2232
- const k = (C) => {
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: () => k(C), children: d && /* @__PURE__ */ H.jsx(d, {}) }),
2239
- Open: k
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: k,
2246
+ button: b,
2247
2247
  tabs: C,
2248
2248
  size: N = "m",
2249
2249
  className: A = "",
2250
- shake: $ = !0,
2250
+ shake: I = !0,
2251
2251
  menu: O
2252
2252
  }) {
2253
- const [p, I] = W.useState(!0), K = W.useRef(), G = (q) => {
2254
- if (k) {
2255
- if (k.onClick)
2256
- return q(!1), k.onClick({ setOpen: I });
2257
- if (k.onSend)
2258
- return k.onSend({
2259
- setOpen: I,
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
2260
  disabled: q
2261
2261
  });
2262
2262
  }
2263
2263
  }, L = () => {
2264
- if (!$) return I(!1);
2264
+ if (!I) return M(!1);
2265
2265
  K.current.setAttribute("shake", !0), setTimeout(() => {
2266
2266
  K.current.setAttribute("shake", !1);
2267
2267
  }, 1e3);
@@ -2293,7 +2293,7 @@ var Ct;
2293
2293
  {
2294
2294
  className: _e.x,
2295
2295
  onClick: () => {
2296
- I(!1);
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
- k && /* @__PURE__ */ H.jsx("div", { className: _e.b, children: /* @__PURE__ */ H.jsx(
2312
+ b && /* @__PURE__ */ H.jsx("div", { className: _e.b, children: /* @__PURE__ */ H.jsx(
2313
2313
  Gr,
2314
2314
  {
2315
- label: k.label,
2315
+ label: b.label,
2316
2316
  onSend: G,
2317
2317
  className: _e.btn,
2318
- size: k.size
2318
+ size: b.size
2319
2319
  }
2320
2320
  ) })
2321
2321
  ]
@@ -2339,14 +2339,14 @@ function ka({
2339
2339
  active: g = !0,
2340
2340
  outFormat: o = "object",
2341
2341
  after: d = "",
2342
- modal: k,
2342
+ modal: b,
2343
2343
  options: C,
2344
2344
  className: N
2345
2345
  }) {
2346
- const [A, $] = W.useState(Hr(n, v)), O = (p) => {
2347
- if (!(s && g) || !k) return;
2348
- let I = k.split(".");
2349
- Ct.Open(I[0], I[1], {
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
2350
  callback: (K) => {
2351
2351
  if (i)
2352
2352
  switch (o) {
@@ -2362,7 +2362,7 @@ function ka({
2362
2362
  default:
2363
2363
  i({ value: K, name: c });
2364
2364
  }
2365
- $(
2365
+ I(
2366
2366
  Object.fromEntries(
2367
2367
  Object.entries(K).filter(
2368
2368
  ([G, L]) => L !== !1
@@ -2389,8 +2389,8 @@ function ka({
2389
2389
  }
2390
2390
  },
2391
2391
  children: Object.keys(A).map((p) => {
2392
- var I;
2393
- return /* @__PURE__ */ y.jsx("div", { children: (I = C[p]) == null ? void 0 : I.label }, p);
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,53 +2413,53 @@ function wa({
2413
2413
  className: g,
2414
2414
  isIcon: o = !0,
2415
2415
  name: d,
2416
- after: k,
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 $ = W.useRef(null), [O, p] = W.useState(S), [I, K] = W.useState(x), [G, L] = W.useState(!1);
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
2424
  p(S), K(x);
2425
- }, [S, x]), v = !!(v && (S === 0 || ((R = I == null ? void 0 : I[S]) == null ? void 0 : R.n) === void 0)) && !(c && u);
2426
- let E = (b) => {
2427
- p(b), P && P({ value: b, name: d, reload: A });
2428
- }, D = (b) => {
2429
- Object.keys(I || {}).length !== 0 && c && u && ($.position = b.target.getBoundingClientRect(), L(!0));
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
- return s && (U.placeholder = s), v ? "" : /* @__PURE__ */ y.jsxs(
2432
- pt,
2433
- {
2434
- type: "select",
2435
- title: n,
2436
- element_blok: { className: [g] },
2437
- element_input: {
2438
- className: [Nt.f],
2439
- props: { onClick: D }
2440
- },
2441
- ref: $,
2442
- children: [
2443
- /* @__PURE__ */ y.jsx("div", { ...U, children: (h = I == null ? void 0 : I[O]) == null ? void 0 : h.n }),
2444
- G && Mt(
2445
- /* @__PURE__ */ y.jsx(
2446
- Xr,
2447
- {
2448
- parent: $.position,
2449
- onValue: E,
2450
- view: C,
2451
- className: g,
2452
- options: I,
2453
- order: N,
2454
- setOpen: L
2455
- },
2456
- (/* @__PURE__ */ new Date()).getTime()
2457
- ),
2458
- document.body
2459
- )
2460
- ]
2461
- }
2462
- );
2431
+ return s && (U.placeholder = s), v ? "" : /* @__PURE__ */ y.jsxs(y.Fragment, { children: [
2432
+ /* @__PURE__ */ y.jsx(
2433
+ pt,
2434
+ {
2435
+ type: "select",
2436
+ title: n,
2437
+ element_blok: { className: [g] },
2438
+ element_input: {
2439
+ className: [Nt.f],
2440
+ props: { onClick: D }
2441
+ },
2442
+ ref: I,
2443
+ children: /* @__PURE__ */ y.jsx("div", { ...U, children: (h = M == null ? void 0 : M[O]) == null ? void 0 : h.n })
2444
+ }
2445
+ ),
2446
+ G && Mt(
2447
+ /* @__PURE__ */ y.jsx(
2448
+ Xr,
2449
+ {
2450
+ parent: I.position,
2451
+ onValue: E,
2452
+ view: C,
2453
+ className: g,
2454
+ options: M,
2455
+ order: N,
2456
+ setOpen: L
2457
+ },
2458
+ (/* @__PURE__ */ new Date()).getTime()
2459
+ ),
2460
+ document.body
2461
+ )
2462
+ ] });
2463
2463
  }
2464
2464
  const Xr = ({
2465
2465
  onValue: n,
@@ -2532,14 +2532,14 @@ function ja({
2532
2532
  active: g = !0,
2533
2533
  after: o = "",
2534
2534
  view: d,
2535
- modal: k,
2535
+ modal: b,
2536
2536
  module: C,
2537
2537
  options: N,
2538
2538
  className: A
2539
2539
  }) {
2540
- let [$, O] = W.useState(n), p = (G) => {
2541
- if (!(x && g) || !k) return;
2542
- let L = k.split(".");
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
2544
  callback: (q) => {
2545
2545
  i && i({ value: q, name: c }), O(q);
@@ -2550,10 +2550,10 @@ function ja({
2550
2550
  value: n
2551
2551
  });
2552
2552
  };
2553
- const I = {};
2554
- I.field = "input", A && (I.className = A);
2553
+ const M = {};
2554
+ M.field = "input", A && (M.className = A);
2555
2555
  const K = {};
2556
- return u && (K.placeholder = u), P ? /* @__PURE__ */ y.jsx(y.Fragment, {}) : /* @__PURE__ */ y.jsxs("dl", { ...I, children: [
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",
@@ -2562,7 +2562,7 @@ function ja({
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,19 +2581,19 @@ function xa({
2581
2581
  active: g = !0,
2582
2582
  reload: o = !1,
2583
2583
  native: d = !1,
2584
- isShow: k = !1,
2584
+ isShow: b = !1,
2585
2585
  maxLength: C,
2586
2586
  eyes: N = [],
2587
2587
  after: A = ""
2588
2588
  }) {
2589
- const [$, O] = W.useState(k);
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
- }, I = (E) => {
2596
+ }, M = (E) => {
2597
2597
  E.key === "Enter" && E.preventDefault();
2598
2598
  }, K = (E) => {
2599
2599
  E.preventDefault(), navigator.clipboard.readText().then((D) => {
@@ -2613,7 +2613,7 @@ 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", $ && (L.show = ""), S && (L.className = S);
2616
+ L.field = "password", I && (L.show = ""), S && (L.className = S);
2617
2617
  const q = {};
2618
2618
  return v && (q.placeholder = v), d ? "" : /* @__PURE__ */ y.jsxs("dl", { ...L, children: [
2619
2619
  P ? /* @__PURE__ */ y.jsx("dt", { children: P }) : "",
@@ -2622,7 +2622,7 @@ function xa({
2622
2622
  {
2623
2623
  onPaste: K,
2624
2624
  onInput: p,
2625
- onKeyDown: I,
2625
+ onKeyDown: M,
2626
2626
  onBlur: G,
2627
2627
  contentEditable: s && g ? te.ContentEditable : "false",
2628
2628
  ...q,
@@ -2630,7 +2630,7 @@ function xa({
2630
2630
  children: n
2631
2631
  }
2632
2632
  ),
2633
- N[0] && /* @__PURE__ */ y.jsx("i", { onClick: () => O(!$), children: $ ? N[1] : N[0] }),
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,14 +2648,14 @@ function Ca({
2648
2648
  value: g,
2649
2649
  placeholder: o,
2650
2650
  className: d,
2651
- maxLength: k,
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, I = (D) => {
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)) {
@@ -2666,10 +2666,10 @@ 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, ""), k) {
2669
+ if (U = U.replace(/(?!^\+|\d)./g, ""), b) {
2670
2670
  let R = D.target.textContent.length;
2671
- if (R >= k) return;
2672
- k -= R, U = U.slice(0, k);
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) => {
@@ -2692,7 +2692,7 @@ function Ca({
2692
2692
  {
2693
2693
  className: [V.f, V.w].join(" "),
2694
2694
  onPaste: L,
2695
- onInput: I,
2695
+ onInput: M,
2696
2696
  onBlur: q,
2697
2697
  onKeyDown: K,
2698
2698
  onKeyUp: G,
@@ -2723,11 +2723,11 @@ function ea() {
2723
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 = {}, k = null, C = null;
2727
- g !== void 0 && (k = "" + g), s.key !== void 0 && (k = "" + s.key), s.ref !== void 0 && (C = s.ref);
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: k, ref: C, props: d, _owner: v.current };
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"), k = Symbol.for("react.lazy"), C = Symbol.for("react.offscreen"), N = Symbol.iterator, A = "@@iterator";
2748
- function $(e) {
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
- I("error", e, r);
2759
+ M("error", e, r);
2760
2760
  }
2761
2761
  }
2762
- function I(e, t, r) {
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]));
@@ -2772,7 +2772,7 @@ function ta() {
2772
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 || q || e === C || K || G || L || typeof e == "object" && e !== null && (e.$$typeof === k || e.$$typeof === d || e.$$typeof === P || e.$$typeof === x || e.$$typeof === s || // This needs to include all possible module reference object
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 b(e) {
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 : b(e.type) || "Memo";
2825
- case k: {
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 b(l(m));
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 M = Object.assign, Y = 0, Q, ie, se, ve, ge, be, ke;
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: M({}, e, {
2872
+ log: $({}, e, {
2873
2873
  value: Q
2874
2874
  }),
2875
- info: M({}, e, {
2875
+ info: $({}, e, {
2876
2876
  value: ie
2877
2877
  }),
2878
- warn: M({}, e, {
2878
+ warn: $({}, e, {
2879
2879
  value: se
2880
2880
  }),
2881
- error: M({}, e, {
2881
+ error: $({}, e, {
2882
2882
  value: ve
2883
2883
  }),
2884
- group: M({}, e, {
2884
+ group: $({}, e, {
2885
2885
  value: ge
2886
2886
  }),
2887
- groupCollapsed: M({}, e, {
2887
+ groupCollapsed: $({}, e, {
2888
2888
  value: be
2889
2889
  }),
2890
- groupEnd: M({}, e, {
2890
+ groupEnd: $({}, e, {
2891
2891
  value: ke
2892
2892
  })
2893
2893
  });
@@ -3011,7 +3011,7 @@ function ta() {
3011
3011
  return Ke(e.render);
3012
3012
  case d:
3013
3013
  return ne(e.type, t, r);
3014
- case k: {
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 = b(fe.current.type);
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 " + b(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);
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 = $(e);
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 = b(t);
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 = b(t);
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 = "<" + (b(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, _);
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 = b(e), F = Object.keys(t).filter(function(dt) {
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: k = !0,
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 $ = v, O = !0, p = 0, I = (h, b) => {
3498
- let M = document.createRange(), Y = window.getSelection();
3499
- M.setStart(b.childNodes[0], h), M.collapse(!0), Y.removeAllRanges(), Y.addRange(M), b.focus();
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
3500
  }, K = (h) => {
3501
- h.preventDefault(), navigator.clipboard.readText().then((b) => {
3502
- window.document.execCommand("insertText", !1, b);
3503
- }).catch((b) => {
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 b = 0, M = "", Y = h.replace(/\D/g, "");
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, $ = v.replace(new RegExp("[0-9]", "g"), "_"), M = ""), p > ("" + ie).length && (O = !0, $ = v.replace(new RegExp("[0-9]", "g"), "_"), M = ""));
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 = $.replace(/\D/g, "");
3513
- return se.length >= Y.length && (Y = se), { q: $.replace(/[_\d]/g, function() {
3514
- return Y.charAt(b++) || "_";
3515
- }), i: b, v: Y, f: M };
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(b) {
3521
+ function(k) {
3522
3522
  }
3523
3523
  );
3524
3524
  }, q = G(n), E = (h) => {
3525
- let b = G(h.target.textContent);
3526
- h.target.textContent = b.q, b.i = b.q.lastIndexOf(b.v.substr(-1)), b.i < b.q.length && b.q !== $ ? b.i++ : b.i = b.q.indexOf("_"), I(b.i, h.target), i && i({ value: b.q.replace(/\D/g, ""), name: u });
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
  };
@@ -3570,24 +3570,24 @@ function Ra({
3570
3570
  active: g = !0,
3571
3571
  after: o = "",
3572
3572
  show: d = !0,
3573
- maxLength: k,
3573
+ maxLength: b,
3574
3574
  view: C,
3575
3575
  onSave: N,
3576
3576
  className: A = "",
3577
- isCopy: $ = !0
3577
+ isCopy: I = !0
3578
3578
  }) {
3579
3579
  let [O, p] = W.useState(!1);
3580
3580
  O = s ? !0 : O;
3581
- let I = (E) => {
3581
+ let M = (E) => {
3582
3582
  c == null || c({ value: E.target.innerText, name: u });
3583
3583
  }, K = (E) => {
3584
- k && E.target.textContent.trim().length >= k && E.key !== "Backspace" && E.preventDefault(), E.key === "Enter" && E.preventDefault();
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 (k) {
3587
+ if (b) {
3588
3588
  let U = E.target.textContent.length;
3589
- if (U >= k) return;
3590
- k -= U, D = D.slice(0, k);
3589
+ if (U >= b) return;
3590
+ b -= U, D = D.slice(0, b);
3591
3591
  }
3592
3592
  window.document.execCommand(
3593
3593
  "insertText",
@@ -3615,7 +3615,7 @@ function Ra({
3615
3615
  "div",
3616
3616
  {
3617
3617
  onPaste: G,
3618
- onInput: I,
3618
+ onInput: M,
3619
3619
  onBlur: q,
3620
3620
  onKeyDown: K,
3621
3621
  contentEditable: s && g ? te.ContentEditable : "false",
@@ -5022,14 +5022,14 @@ function Ea({
5022
5022
  active: g = !0,
5023
5023
  after: o = "",
5024
5024
  show: d = !0,
5025
- view: k,
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 = "+_(___) ___-__-__", $ = !0, O = 0, p = (R, h) => {
5030
- let b = document.createRange(), M = window.getSelection();
5031
- b.setStart(h.childNodes[0], R), b.collapse(!0), M.removeAllRanges(), M.addRange(b), h.focus();
5032
- }, I = (R) => {
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) => {
@@ -5038,22 +5038,22 @@ function Ea({
5038
5038
  }).catch((h) => {
5039
5039
  });
5040
5040
  }, G = (R) => {
5041
- let h = 0, b = "", M = R.replace(/\D/g, "");
5042
- M === "" && ($ = !0);
5043
- let Y = M.split(""), Q = "";
5041
+ let h = 0, k = "", $ = R.replace(/\D/g, "");
5042
+ $ === "" && (I = !0);
5043
+ let Y = $.split(""), Q = "";
5044
5044
  Y.forEach((ve) => {
5045
- $ && (Q += ve, Ot[Q] !== void 0 && $ ? ($ = !1, A = Ot[Q].mask.replace(new RegExp("[0-9]", "g"), "_"), b = Ot[Q].code) : ($ && (O = ("" + Q).length, A = `+${Q}_(___) ___-__-__`.replace(
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
- ), b = ""), O > ("" + Q).length && ($ = !0, A = `+${Q}_(___) ___-__-__`.replace(
5048
+ ), k = ""), O > ("" + Q).length && (I = !0, A = `+${Q}_(___) ___-__-__`.replace(
5049
5049
  new RegExp("[0-9]", "g"),
5050
5050
  "_"
5051
- ), b = "")));
5051
+ ), k = "")));
5052
5052
  });
5053
5053
  let ie = A.replace(/\D/g, "");
5054
- return ie.length >= M.length && (M = ie), { q: A.replace(/[_\d]/g, function() {
5055
- return M.charAt(h++) || "_";
5056
- }), i: h, v: M, f: b };
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() {
@@ -5083,7 +5083,7 @@ function Ea({
5083
5083
  "div",
5084
5084
  {
5085
5085
  onPaste: K,
5086
- onInput: I,
5086
+ onInput: M,
5087
5087
  onKeyDown: E,
5088
5088
  onContextMenu: L,
5089
5089
  onBlur: D,
@@ -5112,17 +5112,17 @@ function Oa({
5112
5112
  icon: g,
5113
5113
  name: o,
5114
5114
  value: d,
5115
- after: k
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), [$, O] = W.useState(!1);
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 I = (L) => {
5125
+ let M = (L) => {
5126
5126
  N(L), s == null || s({ value: L, name: o });
5127
5127
  }, K = (L) => {
5128
5128
  const q = L.target.getBoundingClientRect(), E = q.left, D = q.bottom, U = q.top;
@@ -5146,7 +5146,7 @@ function Oa({
5146
5146
  "data-edit": (c && u) + "",
5147
5147
  children: [
5148
5148
  da(C, "dd.mm.yyyy"),
5149
- k
5149
+ b
5150
5150
  ]
5151
5151
  }
5152
5152
  ),
@@ -5154,12 +5154,12 @@ function Oa({
5154
5154
  ]
5155
5155
  }
5156
5156
  ),
5157
- $ && Mt(
5157
+ I && Mt(
5158
5158
  /* @__PURE__ */ y.jsx(
5159
5159
  ca,
5160
5160
  {
5161
5161
  position: A.position,
5162
- onValue: I,
5162
+ onValue: M,
5163
5163
  date: C,
5164
5164
  max: P,
5165
5165
  min: x,
@@ -5189,17 +5189,17 @@ const ca = ({
5189
5189
  y: parseInt(s.getFullYear()),
5190
5190
  d: parseInt(s.getDate()),
5191
5191
  m: parseInt(s.getMonth()) + 1
5192
- }, [d, k] = W.useState({ y: o.y, m: o.m }), C = (h) => {
5193
- let b = h.getDay();
5194
- return b === 0 && (b = 7), b - 1;
5195
- }, N = ["пн", "вт", "ср", "чт", "пт", "сб", "вс"], A = d.m - 1, $ = new Date(d.y, A), O = [];
5196
- for (let h = 0; h < C($); h++)
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 (; $.getMonth() === A; )
5199
- O.push($.getDate()), $.setDate($.getDate() + 1);
5198
+ for (; I.getMonth() === A; )
5199
+ O.push(I.getDate()), I.setDate(I.getDate() + 1);
5200
5200
  let p = () => {
5201
5201
  P(!1);
5202
- }, I = () => {
5202
+ }, M = () => {
5203
5203
  L(d.m + 1, d.y);
5204
5204
  }, K = () => {
5205
5205
  L(d.m - 1, d.y);
@@ -5207,20 +5207,20 @@ const ca = ({
5207
5207
  i(
5208
5208
  d.y + "-" + Gt(2, d.m) + "-" + Gt(2, h)
5209
5209
  ), p();
5210
- }, L = (h, b) => {
5211
- b = h > 12 ? b + 1 : h < 1 ? b - 1 : b, h = h > 12 ? 1 : h < 1 ? 12 : h, k({ y: b, m: h });
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
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 b = !0;
5214
+ let k = !0;
5215
5215
  if (u) {
5216
- let M = u.getTime(), Y = new Date(d.y, d.m - 1, h).getTime();
5217
- M < Y && (b = !1);
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 M = v.getTime(), Y = new Date(d.y, d.m - 1, h).getTime();
5221
- M > Y && (b = !1);
5220
+ let $ = v.getTime(), Y = new Date(d.y, d.m - 1, h).getTime();
5221
+ $ > Y && (k = !1);
5222
5222
  }
5223
- return b;
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: [
@@ -5251,7 +5251,7 @@ const ca = ({
5251
5251
  " ",
5252
5252
  d.y
5253
5253
  ] }),
5254
- /* @__PURE__ */ y.jsx("i", { onClick: I, children: /* @__PURE__ */ y.jsx(
5254
+ /* @__PURE__ */ y.jsx("i", { onClick: M, children: /* @__PURE__ */ y.jsx(
5255
5255
  "svg",
5256
5256
  {
5257
5257
  width: "16",
@@ -5264,8 +5264,8 @@ const ca = ({
5264
5264
  ) })
5265
5265
  ] }),
5266
5266
  /* @__PURE__ */ y.jsxs("div", { "grid-calendar": "", children: [
5267
- N.map((h, b) => /* @__PURE__ */ y.jsx("p", { children: h }, "v" + b)),
5268
- O.map((h, b) => /* @__PURE__ */ y.jsx("span", { children: h !== 0 && D(h) ? /* @__PURE__ */ y.jsx(
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),
@@ -5273,7 +5273,7 @@ const ca = ({
5273
5273
  onClick: () => G(h),
5274
5274
  children: h
5275
5275
  }
5276
- ) : /* @__PURE__ */ y.jsx("p", { ...q(h), ...E(h), children: h !== 0 ? h : "" }) }, b))
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 k = W.useRef(null), [C, N] = W.useState(!1);
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
- }, $ = (p) => {
5340
+ }, I = (p) => {
5341
5341
  if (!S || !P) return;
5342
- const I = p.target.getBoundingClientRect(), K = I.left, G = I.top;
5343
- k.position = { x: K, y: G }, N(!0);
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: k.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
- }, k = () => {
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, I) => I + 1), $ = window.innerHeight - u.y + 33 < 320 ? u.y - 312 : u.y + 33, O = window.innerWidth - u.x < 265 ? u.x - 235 : u.x;
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: $ + "px", left: O + "px" }, children: [
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: k, children: /* @__PURE__ */ y.jsx(
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, I) => /* @__PURE__ */ y.jsx(
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
- I
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: k,
5491
+ view: b,
5492
5492
  type: C,
5493
5493
  onSave: N,
5494
5494
  className: A = "",
5495
- isClear: $ = !1
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, ""), I = (R, h) => {
5498
- let b = document.createRange(), M = window.getSelection();
5499
- b.setStart(h.childNodes[0], R), b.collapse(!0), M.removeAllRanges(), M.addRange(b), h.focus();
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
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 && I(R.target.textContent.length, R.target);
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,
@@ -5547,7 +5547,7 @@ function Da({
5547
5547
  children: !u || n ? zt(n) : ""
5548
5548
  }
5549
5549
  ),
5550
- $ && /* @__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" }) }),
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
  }