@elcrm/form 0.0.29 → 0.0.31

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,9 +1,9 @@
1
- import W, { useEffect as Jt } from "react";
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 Zt = "0.0.28", Vt = {
4
- version: Zt
3
+ import './index.css';const Vt = "0.0.31", Xt = {
4
+ version: Vt
5
5
  };
6
- var Tt = { exports: {} }, pt = {};
6
+ var Tt = { exports: {} }, mt = {};
7
7
  /**
8
8
  * @license React
9
9
  * react-jsx-runtime.production.min.js
@@ -14,20 +14,20 @@ var Tt = { exports: {} }, pt = {};
14
14
  * LICENSE file in the root directory of this source tree.
15
15
  */
16
16
  var $t;
17
- function Xt() {
18
- if ($t) return pt;
17
+ function Qt() {
18
+ if ($t) return mt;
19
19
  $t = 1;
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, C = { key: !0, ref: !0, __self: !0, __source: !0 };
21
- function T(x, s, g) {
22
- var o, d = {}, k = null, S = null;
23
- g !== void 0 && (k = "" + g), s.key !== void 0 && (k = "" + s.key), s.ref !== void 0 && (S = s.ref);
24
- for (o in s) u.call(s, o) && !C.hasOwnProperty(o) && (d[o] = s[o]);
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
+ 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);
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: S, props: d, _owner: v.current };
26
+ return { $$typeof: i, type: x, key: k, ref: C, props: d, _owner: v.current };
27
27
  }
28
- return pt.Fragment = c, pt.jsx = T, pt.jsxs = T, pt;
28
+ return mt.Fragment = c, mt.jsx = P, mt.jsxs = P, mt;
29
29
  }
30
- var mt = {};
30
+ var yt = {};
31
31
  /**
32
32
  * @license React
33
33
  * react-jsx-runtime.development.js
@@ -38,9 +38,9 @@ var mt = {};
38
38
  * LICENSE file in the root directory of this source tree.
39
39
  */
40
40
  var At;
41
- function Qt() {
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"), C = Symbol.for("react.profiler"), T = 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"), S = Symbol.for("react.offscreen"), N = Symbol.iterator, A = "@@iterator";
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
44
  function $(e) {
45
45
  if (e === null || typeof e != "object")
46
46
  return null;
@@ -65,14 +65,14 @@ function Qt() {
65
65
  m.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, m);
66
66
  }
67
67
  }
68
- var K = !1, G = !1, L = !1, q = !1, E = !1, P;
69
- P = Symbol.for("react.module.reference");
68
+ var K = !1, G = !1, L = !1, q = !1, E = !1, D;
69
+ D = Symbol.for("react.module.reference");
70
70
  function U(e) {
71
- return !!(typeof e == "string" || typeof e == "function" || e === u || e === C || E || e === v || e === g || e === o || q || e === S || K || G || L || typeof e == "object" && e !== null && (e.$$typeof === k || e.$$typeof === d || e.$$typeof === T || 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 === k || 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.
75
- e.$$typeof === P || e.getModuleId !== void 0));
75
+ e.$$typeof === D || e.getModuleId !== void 0));
76
76
  }
77
77
  function R(e, t, r) {
78
78
  var a = e.displayName;
@@ -96,7 +96,7 @@ function Qt() {
96
96
  return "Fragment";
97
97
  case c:
98
98
  return "Portal";
99
- case C:
99
+ case S:
100
100
  return "Profiler";
101
101
  case v:
102
102
  return "StrictMode";
@@ -110,7 +110,7 @@ function Qt() {
110
110
  case x:
111
111
  var t = e;
112
112
  return h(t) + ".Consumer";
113
- case T:
113
+ case P:
114
114
  var r = e;
115
115
  return h(r._context) + ".Provider";
116
116
  case s:
@@ -259,14 +259,14 @@ function Qt() {
259
259
  } catch (F) {
260
260
  if (F && a && typeof F.stack == "string") {
261
261
  for (var _ = F.stack.split(`
262
- `), D = a.stack.split(`
263
- `), w = _.length - 1, j = D.length - 1; w >= 1 && j >= 0 && _[w] !== D[j]; )
262
+ `), T = a.stack.split(`
263
+ `), w = _.length - 1, j = T.length - 1; w >= 1 && j >= 0 && _[w] !== T[j]; )
264
264
  j--;
265
265
  for (; w >= 1 && j >= 0; w--, j--)
266
- if (_[w] !== D[j]) {
266
+ if (_[w] !== T[j]) {
267
267
  if (w !== 1 || j !== 1)
268
268
  do
269
- if (w--, j--, j < 0 || _[w] !== D[j]) {
269
+ if (w--, j--, j < 0 || _[w] !== T[j]) {
270
270
  var B = `
271
271
  ` + _[w].replace(" at new ", " at ");
272
272
  return e.displayName && B.includes("<anonymous>") && (B = B.replace("<anonymous>", e.displayName)), typeof e == "function" && ae.set(e, B), B;
@@ -333,8 +333,8 @@ function Qt() {
333
333
  var _ = void 0;
334
334
  try {
335
335
  if (typeof e[l] != "function") {
336
- var D = Error((a || "React class") + ": " + r + " type `" + l + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[l] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
337
- throw D.name = "Invariant Violation", D;
336
+ var T = Error((a || "React class") + ": " + r + " type `" + l + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[l] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
337
+ throw T.name = "Invariant Violation", T;
338
338
  }
339
339
  _ = e[l](t, l, a, r, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
340
340
  } catch (w) {
@@ -446,8 +446,8 @@ function Qt() {
446
446
  };
447
447
  function rt(e, t, r, a, f) {
448
448
  {
449
- var m, l = {}, _ = null, D = null;
450
- r !== void 0 && (Re(r), _ = "" + r), Ve(t) && (Re(t.key), _ = "" + t.key), Ze(t) && (D = t.ref, Xe(t, f));
449
+ var m, l = {}, _ = null, T = null;
450
+ r !== void 0 && (Re(r), _ = "" + r), Ve(t) && (Re(t.key), _ = "" + t.key), Ze(t) && (T = t.ref, Xe(t, f));
451
451
  for (m in t)
452
452
  X.call(t, m) && !Je.hasOwnProperty(m) && (l[m] = t[m]);
453
453
  if (e && e.defaultProps) {
@@ -455,11 +455,11 @@ function Qt() {
455
455
  for (m in w)
456
456
  l[m] === void 0 && (l[m] = w[m]);
457
457
  }
458
- if (_ || D) {
458
+ if (_ || T) {
459
459
  var j = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
460
- _ && Qe(l, j), D && et(l, j);
460
+ _ && Qe(l, j), T && et(l, j);
461
461
  }
462
- return tt(e, _, D, f, a, Ee.current, l);
462
+ return tt(e, _, T, f, a, Ee.current, l);
463
463
  }
464
464
  }
465
465
  var fe = O.ReactCurrentOwner, De = O.ReactDebugCurrentFrame;
@@ -579,8 +579,8 @@ Check the top-level render call using <` + r + ">.");
579
579
  if (!l) {
580
580
  var _ = "";
581
581
  (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (_ += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
582
- var D = at();
583
- D ? _ += D : _ += Pe();
582
+ var T = at();
583
+ T ? _ += T : _ += Pe();
584
584
  var w;
585
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, _);
586
586
  }
@@ -624,16 +624,16 @@ React keys must be passed directly to JSX without using spread:
624
624
  return $e(e, t, r, !1);
625
625
  }
626
626
  var lt = st, ct = _t;
627
- mt.Fragment = u, mt.jsx = lt, mt.jsxs = ct;
628
- }()), mt;
627
+ yt.Fragment = u, yt.jsx = lt, yt.jsxs = ct;
628
+ }()), yt;
629
629
  }
630
- process.env.NODE_ENV === "production" ? Tt.exports = Xt() : Tt.exports = Qt();
630
+ process.env.NODE_ENV === "production" ? Tt.exports = Qt() : Tt.exports = er();
631
631
  var y = Tt.exports;
632
- function va({ name: n, value: i, title: c, style: u, className: v }) {
633
- let C = {
632
+ function ha({ name: n, value: i, title: c, style: u, className: v }) {
633
+ let S = {
634
634
  field: "progress"
635
635
  };
636
- return u && (C.style = u), v && (C.className = v), /* @__PURE__ */ y.jsxs("dl", { ...C, children: [
636
+ return u && (S.style = u), v && (S.className = v), /* @__PURE__ */ y.jsxs("dl", { ...S, children: [
637
637
  c && /* @__PURE__ */ y.jsx("dt", { children: c }),
638
638
  /* @__PURE__ */ y.jsx("dd", {})
639
639
  ] });
@@ -670,61 +670,62 @@ 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 er = "_l_mc013_13", tr = "_f_mc013_35", rr = "_n_mc013_52", ar = "_w_mc013_57", nr = "_t_mc013_67", V = {
674
- l: er,
675
- f: tr,
676
- n: rr,
677
- w: ar,
678
- t: nr
679
- };
680
- function bt({
681
- element_blok: n,
682
- element_input: i,
683
- type: c = "input",
684
- title: u,
685
- before: v,
686
- after: C,
687
- children: T
688
- }) {
689
- return /* @__PURE__ */ y.jsxs(
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 = {
674
+ l: tr,
675
+ f: rr,
676
+ n: ar,
677
+ w: nr,
678
+ t: or,
679
+ g: ir
680
+ }, pt = Jt(
681
+ ({
682
+ element_blok: n,
683
+ element_input: i,
684
+ type: c = "input",
685
+ title: u,
686
+ before: v,
687
+ after: S,
688
+ children: P
689
+ }, x) => /* @__PURE__ */ y.jsxs(
690
690
  "dl",
691
691
  {
692
692
  "data-field": c,
693
693
  ...i.props,
694
- className: [V.l, ...n.className].filter((x) => x !== void 0).join(" "),
694
+ className: [V.l, ...n.className].filter((s) => s !== void 0).join(" "),
695
695
  children: [
696
696
  u ? /* @__PURE__ */ y.jsx("dt", { className: V.t, children: u }) : "",
697
697
  v,
698
698
  /* @__PURE__ */ y.jsx(
699
699
  "dd",
700
700
  {
701
+ ref: x,
701
702
  className: [V.f, ...i.className].join(
702
703
  " "
703
704
  ),
704
705
  ...i.props,
705
- children: T
706
+ children: P
706
707
  }
707
708
  ),
708
- C
709
+ S
709
710
  ]
710
711
  }
711
- );
712
- }
713
- function ga({
712
+ )
713
+ );
714
+ function ba({
714
715
  id: n,
715
716
  value: i,
716
717
  onValue: c,
717
718
  name: u,
718
719
  placeholder: v = "",
719
- title: C = "",
720
- error: T = "",
720
+ title: S = "",
721
+ error: P = "",
721
722
  hide: x = !1,
722
723
  edit: s = !0,
723
724
  active: g = !0,
724
725
  after: o = "",
725
726
  before: d = "",
726
727
  show: k = !0,
727
- maxLength: S,
728
+ maxLength: C,
728
729
  onSave: N,
729
730
  className: A = "",
730
731
  isCopy: $ = !0,
@@ -737,20 +738,20 @@ function ga({
737
738
  reload: O
738
739
  });
739
740
  }, K = (E) => {
740
- S && E.target.textContent.trim().length >= S && E.key !== "Backspace" && E.preventDefault(), E.key === "Enter" && E.preventDefault();
741
+ C && E.target.textContent.trim().length >= C && E.key !== "Backspace" && E.preventDefault(), E.key === "Enter" && E.preventDefault();
741
742
  }, G = (E) => {
742
- E.preventDefault(), navigator.clipboard.readText().then((P) => {
743
- if (S) {
743
+ E.preventDefault(), navigator.clipboard.readText().then((D) => {
744
+ if (C) {
744
745
  let U = E.target.textContent.length;
745
- if (U >= S) return;
746
- S -= U, P = P.slice(0, S);
746
+ if (U >= C) return;
747
+ C -= U, D = D.slice(0, C);
747
748
  }
748
749
  window.document.execCommand(
749
750
  "insertText",
750
751
  !1,
751
- P.replace(/(\r\n|\n|\r)/gm, " ")
752
+ D.replace(/(\r\n|\n|\r)/gm, " ")
752
753
  );
753
- }).catch((P) => {
754
+ }).catch((D) => {
754
755
  });
755
756
  };
756
757
  if (!(s && g) && !k || !(s && g) && p) return "";
@@ -760,10 +761,10 @@ function ga({
760
761
  te.Blur(E), N == null || N({ value: E.target.textContent.trim(), name: u });
761
762
  };
762
763
  return /* @__PURE__ */ y.jsx(
763
- bt,
764
+ pt,
764
765
  {
765
766
  type: "input",
766
- title: C,
767
+ title: S,
767
768
  element_blok: { className: [A] },
768
769
  element_input: { className: [V.w] },
769
770
  children: /* @__PURE__ */ y.jsx(
@@ -783,7 +784,7 @@ function ga({
783
784
  }
784
785
  );
785
786
  }
786
- var Dt = { exports: {} }, yt = {};
787
+ var Dt = { exports: {} }, vt = {};
787
788
  /**
788
789
  * @license React
789
790
  * react-jsx-runtime.production.min.js
@@ -794,18 +795,18 @@ var Dt = { exports: {} }, yt = {};
794
795
  * LICENSE file in the root directory of this source tree.
795
796
  */
796
797
  var Bt;
797
- function or() {
798
- if (Bt) return yt;
798
+ function _r() {
799
+ if (Bt) return vt;
799
800
  Bt = 1;
800
- 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, C = { key: !0, ref: !0, __self: !0, __source: !0 };
801
- function T(x, s, g) {
802
- var o, d = {}, k = null, S = null;
803
- g !== void 0 && (k = "" + g), s.key !== void 0 && (k = "" + s.key), s.ref !== void 0 && (S = s.ref);
804
- for (o in s) u.call(s, o) && !C.hasOwnProperty(o) && (d[o] = s[o]);
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
+ 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);
805
+ for (o in s) u.call(s, o) && !S.hasOwnProperty(o) && (d[o] = s[o]);
805
806
  if (x && x.defaultProps) for (o in s = x.defaultProps, s) d[o] === void 0 && (d[o] = s[o]);
806
- return { $$typeof: i, type: x, key: k, ref: S, props: d, _owner: v.current };
807
+ return { $$typeof: i, type: x, key: k, ref: C, props: d, _owner: v.current };
807
808
  }
808
- return yt.Fragment = c, yt.jsx = T, yt.jsxs = T, yt;
809
+ return vt.Fragment = c, vt.jsx = P, vt.jsxs = P, vt;
809
810
  }
810
811
  var kt = {};
811
812
  /**
@@ -818,9 +819,9 @@ var kt = {};
818
819
  * LICENSE file in the root directory of this source tree.
819
820
  */
820
821
  var Lt;
821
- function ir() {
822
+ function sr() {
822
823
  return Lt || (Lt = 1, process.env.NODE_ENV !== "production" && function() {
823
- var n = W, i = Symbol.for("react.element"), c = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), v = Symbol.for("react.strict_mode"), C = Symbol.for("react.profiler"), T = 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"), S = Symbol.for("react.offscreen"), N = Symbol.iterator, A = "@@iterator";
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";
824
825
  function $(e) {
825
826
  if (e === null || typeof e != "object")
826
827
  return null;
@@ -845,14 +846,14 @@ function ir() {
845
846
  m.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, m);
846
847
  }
847
848
  }
848
- var K = !1, G = !1, L = !1, q = !1, E = !1, P;
849
- P = Symbol.for("react.module.reference");
849
+ var K = !1, G = !1, L = !1, q = !1, E = !1, D;
850
+ D = Symbol.for("react.module.reference");
850
851
  function U(e) {
851
- return !!(typeof e == "string" || typeof e == "function" || e === u || e === C || E || e === v || e === g || e === o || q || e === S || K || G || L || typeof e == "object" && e !== null && (e.$$typeof === k || e.$$typeof === d || e.$$typeof === T || 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 === k || e.$$typeof === d || e.$$typeof === P || e.$$typeof === x || e.$$typeof === s || // This needs to include all possible module reference object
852
853
  // types supported by any Flight configuration anywhere since
853
854
  // we don't know which Flight build this will end up being used
854
855
  // with.
855
- e.$$typeof === P || e.getModuleId !== void 0));
856
+ e.$$typeof === D || e.getModuleId !== void 0));
856
857
  }
857
858
  function R(e, t, r) {
858
859
  var a = e.displayName;
@@ -876,7 +877,7 @@ function ir() {
876
877
  return "Fragment";
877
878
  case c:
878
879
  return "Portal";
879
- case C:
880
+ case S:
880
881
  return "Profiler";
881
882
  case v:
882
883
  return "StrictMode";
@@ -890,7 +891,7 @@ function ir() {
890
891
  case x:
891
892
  var t = e;
892
893
  return h(t) + ".Consumer";
893
- case T:
894
+ case P:
894
895
  var r = e;
895
896
  return h(r._context) + ".Provider";
896
897
  case s:
@@ -1039,14 +1040,14 @@ function ir() {
1039
1040
  } catch (F) {
1040
1041
  if (F && a && typeof F.stack == "string") {
1041
1042
  for (var _ = F.stack.split(`
1042
- `), D = a.stack.split(`
1043
- `), w = _.length - 1, j = D.length - 1; w >= 1 && j >= 0 && _[w] !== D[j]; )
1043
+ `), T = a.stack.split(`
1044
+ `), w = _.length - 1, j = T.length - 1; w >= 1 && j >= 0 && _[w] !== T[j]; )
1044
1045
  j--;
1045
1046
  for (; w >= 1 && j >= 0; w--, j--)
1046
- if (_[w] !== D[j]) {
1047
+ if (_[w] !== T[j]) {
1047
1048
  if (w !== 1 || j !== 1)
1048
1049
  do
1049
- if (w--, j--, j < 0 || _[w] !== D[j]) {
1050
+ if (w--, j--, j < 0 || _[w] !== T[j]) {
1050
1051
  var B = `
1051
1052
  ` + _[w].replace(" at new ", " at ");
1052
1053
  return e.displayName && B.includes("<anonymous>") && (B = B.replace("<anonymous>", e.displayName)), typeof e == "function" && ae.set(e, B), B;
@@ -1113,8 +1114,8 @@ function ir() {
1113
1114
  var _ = void 0;
1114
1115
  try {
1115
1116
  if (typeof e[l] != "function") {
1116
- var D = Error((a || "React class") + ": " + r + " type `" + l + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[l] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
1117
- throw D.name = "Invariant Violation", D;
1117
+ var T = Error((a || "React class") + ": " + r + " type `" + l + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[l] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
1118
+ throw T.name = "Invariant Violation", T;
1118
1119
  }
1119
1120
  _ = e[l](t, l, a, r, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
1120
1121
  } catch (w) {
@@ -1226,8 +1227,8 @@ function ir() {
1226
1227
  };
1227
1228
  function rt(e, t, r, a, f) {
1228
1229
  {
1229
- var m, l = {}, _ = null, D = null;
1230
- r !== void 0 && (Re(r), _ = "" + r), Ve(t) && (Re(t.key), _ = "" + t.key), Ze(t) && (D = t.ref, Xe(t));
1230
+ var m, l = {}, _ = null, T = null;
1231
+ r !== void 0 && (Re(r), _ = "" + r), Ve(t) && (Re(t.key), _ = "" + t.key), Ze(t) && (T = t.ref, Xe(t));
1231
1232
  for (m in t)
1232
1233
  X.call(t, m) && !Je.hasOwnProperty(m) && (l[m] = t[m]);
1233
1234
  if (e && e.defaultProps) {
@@ -1235,11 +1236,11 @@ function ir() {
1235
1236
  for (m in w)
1236
1237
  l[m] === void 0 && (l[m] = w[m]);
1237
1238
  }
1238
- if (_ || D) {
1239
+ if (_ || T) {
1239
1240
  var j = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
1240
- _ && Qe(l, j), D && et(l, j);
1241
+ _ && Qe(l, j), T && et(l, j);
1241
1242
  }
1242
- return tt(e, _, D, f, a, Ee.current, l);
1243
+ return tt(e, _, T, f, a, Ee.current, l);
1243
1244
  }
1244
1245
  }
1245
1246
  var fe = O.ReactCurrentOwner, De = O.ReactDebugCurrentFrame;
@@ -1359,8 +1360,8 @@ Check the top-level render call using <` + r + ">.");
1359
1360
  if (!l) {
1360
1361
  var _ = "";
1361
1362
  (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (_ += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
1362
- var D = at();
1363
- D ? _ += D : _ += Pe();
1363
+ var T = at();
1364
+ T ? _ += T : _ += Pe();
1364
1365
  var w;
1365
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
1367
  }
@@ -1407,33 +1408,33 @@ React keys must be passed directly to JSX without using spread:
1407
1408
  kt.Fragment = u, kt.jsx = lt, kt.jsxs = ct;
1408
1409
  }()), kt;
1409
1410
  }
1410
- process.env.NODE_ENV === "production" ? Dt.exports = or() : Dt.exports = ir();
1411
+ process.env.NODE_ENV === "production" ? Dt.exports = _r() : Dt.exports = sr();
1411
1412
  var H = Dt.exports;
1412
- const _r = "_shake_oqfdb_1", sr = "_modal_oqfdb_79", lr = "_sa_oqfdb_89", cr = "_ss_oqfdb_94", ur = "_sm_oqfdb_98", dr = "_sl_oqfdb_102", fr = "_sx_oqfdb_106", pr = "_sf_oqfdb_110", mr = "_o_oqfdb_116", yr = "_b_oqfdb_28", vr = "_w_oqfdb_15", gr = "_h_oqfdb_146", hr = "_l_oqfdb_160", br = "_t_oqfdb_197", kr = "_x_oqfdb_201", wr = "_s_oqfdb_89", jr = "_c_oqfdb_219", xr = "_f_oqfdb_224", Cr = "_r__oqfdb_235", Sr = "_c__oqfdb_250", Rr = "_g_oqfdb_259", Er = "_m_oqfdb_79", _e = {
1413
- shake: _r,
1414
- modal: sr,
1415
- sa: lr,
1416
- ss: cr,
1417
- sm: ur,
1418
- sl: dr,
1419
- sx: fr,
1420
- sf: pr,
1421
- o: mr,
1422
- b: yr,
1423
- w: vr,
1424
- h: gr,
1425
- l: hr,
1426
- t: br,
1427
- x: kr,
1428
- s: wr,
1429
- c: jr,
1430
- f: xr,
1431
- r_: Cr,
1432
- c_: Sr,
1433
- g: Rr,
1434
- m: Er
1413
+ const lr = "_shake_oqfdb_1", cr = "_modal_oqfdb_79", ur = "_sa_oqfdb_89", dr = "_ss_oqfdb_94", fr = "_sm_oqfdb_98", pr = "_sl_oqfdb_102", mr = "_sx_oqfdb_106", yr = "_sf_oqfdb_110", vr = "_o_oqfdb_116", gr = "_b_oqfdb_28", hr = "_w_oqfdb_15", br = "_h_oqfdb_146", kr = "_l_oqfdb_160", wr = "_t_oqfdb_197", jr = "_x_oqfdb_201", xr = "_s_oqfdb_89", Cr = "_c_oqfdb_219", Sr = "_f_oqfdb_224", Rr = "_r__oqfdb_235", Er = "_c__oqfdb_250", Or = "_g_oqfdb_259", Tr = "_m_oqfdb_79", _e = {
1414
+ shake: lr,
1415
+ modal: cr,
1416
+ sa: ur,
1417
+ ss: dr,
1418
+ sm: fr,
1419
+ sl: pr,
1420
+ sx: mr,
1421
+ sf: yr,
1422
+ o: vr,
1423
+ b: gr,
1424
+ w: hr,
1425
+ h: br,
1426
+ l: kr,
1427
+ t: wr,
1428
+ x: jr,
1429
+ s: xr,
1430
+ c: Cr,
1431
+ f: Sr,
1432
+ r_: Rr,
1433
+ c_: Er,
1434
+ g: Or,
1435
+ m: Tr
1435
1436
  };
1436
- function Or({ children: n, className: i }) {
1437
+ function Dr({ children: n, className: i }) {
1437
1438
  return /* @__PURE__ */ H.jsx(
1438
1439
  "div",
1439
1440
  {
@@ -1442,7 +1443,7 @@ function Or({ children: n, className: i }) {
1442
1443
  }
1443
1444
  );
1444
1445
  }
1445
- function Tr({ children: n, className: i }) {
1446
+ function Pr({ children: n, className: i }) {
1446
1447
  return /* @__PURE__ */ H.jsx(
1447
1448
  "div",
1448
1449
  {
@@ -1451,7 +1452,7 @@ function Tr({ children: n, className: i }) {
1451
1452
  }
1452
1453
  );
1453
1454
  }
1454
- function Dr({
1455
+ function Nr({
1455
1456
  children: n,
1456
1457
  direction: i = "column",
1457
1458
  className: c
@@ -1468,7 +1469,7 @@ function Dr({
1468
1469
  }
1469
1470
  );
1470
1471
  }
1471
- function Pr({ children: n, className: i }) {
1472
+ function Fr({ children: n, className: i }) {
1472
1473
  return /* @__PURE__ */ H.jsx(
1473
1474
  "div",
1474
1475
  {
@@ -1477,7 +1478,7 @@ function Pr({ children: n, className: i }) {
1477
1478
  }
1478
1479
  );
1479
1480
  }
1480
- function Nr({ children: n, className: i }) {
1481
+ function Ir({ children: n, className: i }) {
1481
1482
  return /* @__PURE__ */ H.jsx(
1482
1483
  "div",
1483
1484
  {
@@ -1486,13 +1487,13 @@ function Nr({ children: n, className: i }) {
1486
1487
  }
1487
1488
  );
1488
1489
  }
1489
- function Fr() {
1490
+ function Mr() {
1490
1491
  return typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof self < "u" ? self : typeof global < "u" ? global : {};
1491
1492
  }
1492
1493
  function Wt(n) {
1493
- return Fr().IMPORT_MODULES;
1494
+ return Mr().IMPORT_MODULES;
1494
1495
  }
1495
- var Pt = { exports: {} }, vt = {};
1496
+ var Pt = { exports: {} }, gt = {};
1496
1497
  /**
1497
1498
  * @license React
1498
1499
  * react-jsx-runtime.production.min.js
@@ -1503,18 +1504,18 @@ var Pt = { exports: {} }, vt = {};
1503
1504
  * LICENSE file in the root directory of this source tree.
1504
1505
  */
1505
1506
  var Ut;
1506
- function Ir() {
1507
- if (Ut) return vt;
1507
+ function $r() {
1508
+ if (Ut) return gt;
1508
1509
  Ut = 1;
1509
- 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, C = { key: !0, ref: !0, __self: !0, __source: !0 };
1510
- function T(x, s, g) {
1511
- var o, d = {}, k = null, S = null;
1512
- g !== void 0 && (k = "" + g), s.key !== void 0 && (k = "" + s.key), s.ref !== void 0 && (S = s.ref);
1513
- for (o in s) u.call(s, o) && !C.hasOwnProperty(o) && (d[o] = s[o]);
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
+ 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);
1514
+ for (o in s) u.call(s, o) && !S.hasOwnProperty(o) && (d[o] = s[o]);
1514
1515
  if (x && x.defaultProps) for (o in s = x.defaultProps, s) d[o] === void 0 && (d[o] = s[o]);
1515
- return { $$typeof: i, type: x, key: k, ref: S, props: d, _owner: v.current };
1516
+ return { $$typeof: i, type: x, key: k, ref: C, props: d, _owner: v.current };
1516
1517
  }
1517
- return vt.Fragment = c, vt.jsx = T, vt.jsxs = T, vt;
1518
+ return gt.Fragment = c, gt.jsx = P, gt.jsxs = P, gt;
1518
1519
  }
1519
1520
  var wt = {};
1520
1521
  /**
@@ -1527,9 +1528,9 @@ var wt = {};
1527
1528
  * LICENSE file in the root directory of this source tree.
1528
1529
  */
1529
1530
  var Kt;
1530
- function Mr() {
1531
+ function Ar() {
1531
1532
  return Kt || (Kt = 1, process.env.NODE_ENV !== "production" && function() {
1532
- var n = W, i = Symbol.for("react.element"), c = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), v = Symbol.for("react.strict_mode"), C = Symbol.for("react.profiler"), T = 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"), S = Symbol.for("react.offscreen"), N = Symbol.iterator, A = "@@iterator";
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";
1533
1534
  function $(e) {
1534
1535
  if (e === null || typeof e != "object")
1535
1536
  return null;
@@ -1554,14 +1555,14 @@ function Mr() {
1554
1555
  m.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, m);
1555
1556
  }
1556
1557
  }
1557
- var K = !1, G = !1, L = !1, q = !1, E = !1, P;
1558
- P = Symbol.for("react.module.reference");
1558
+ var K = !1, G = !1, L = !1, q = !1, E = !1, D;
1559
+ D = Symbol.for("react.module.reference");
1559
1560
  function U(e) {
1560
- return !!(typeof e == "string" || typeof e == "function" || e === u || e === C || E || e === v || e === g || e === o || q || e === S || K || G || L || typeof e == "object" && e !== null && (e.$$typeof === k || e.$$typeof === d || e.$$typeof === T || 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 === k || e.$$typeof === d || e.$$typeof === P || e.$$typeof === x || e.$$typeof === s || // This needs to include all possible module reference object
1561
1562
  // types supported by any Flight configuration anywhere since
1562
1563
  // we don't know which Flight build this will end up being used
1563
1564
  // with.
1564
- e.$$typeof === P || e.getModuleId !== void 0));
1565
+ e.$$typeof === D || e.getModuleId !== void 0));
1565
1566
  }
1566
1567
  function R(e, t, r) {
1567
1568
  var a = e.displayName;
@@ -1585,7 +1586,7 @@ function Mr() {
1585
1586
  return "Fragment";
1586
1587
  case c:
1587
1588
  return "Portal";
1588
- case C:
1589
+ case S:
1589
1590
  return "Profiler";
1590
1591
  case v:
1591
1592
  return "StrictMode";
@@ -1599,7 +1600,7 @@ function Mr() {
1599
1600
  case x:
1600
1601
  var t = e;
1601
1602
  return h(t) + ".Consumer";
1602
- case T:
1603
+ case P:
1603
1604
  var r = e;
1604
1605
  return h(r._context) + ".Provider";
1605
1606
  case s:
@@ -1748,14 +1749,14 @@ function Mr() {
1748
1749
  } catch (F) {
1749
1750
  if (F && a && typeof F.stack == "string") {
1750
1751
  for (var _ = F.stack.split(`
1751
- `), D = a.stack.split(`
1752
- `), w = _.length - 1, j = D.length - 1; w >= 1 && j >= 0 && _[w] !== D[j]; )
1752
+ `), T = a.stack.split(`
1753
+ `), w = _.length - 1, j = T.length - 1; w >= 1 && j >= 0 && _[w] !== T[j]; )
1753
1754
  j--;
1754
1755
  for (; w >= 1 && j >= 0; w--, j--)
1755
- if (_[w] !== D[j]) {
1756
+ if (_[w] !== T[j]) {
1756
1757
  if (w !== 1 || j !== 1)
1757
1758
  do
1758
- if (w--, j--, j < 0 || _[w] !== D[j]) {
1759
+ if (w--, j--, j < 0 || _[w] !== T[j]) {
1759
1760
  var B = `
1760
1761
  ` + _[w].replace(" at new ", " at ");
1761
1762
  return e.displayName && B.includes("<anonymous>") && (B = B.replace("<anonymous>", e.displayName)), typeof e == "function" && ae.set(e, B), B;
@@ -1822,8 +1823,8 @@ function Mr() {
1822
1823
  var _ = void 0;
1823
1824
  try {
1824
1825
  if (typeof e[l] != "function") {
1825
- var D = Error((a || "React class") + ": " + r + " type `" + l + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[l] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
1826
- throw D.name = "Invariant Violation", D;
1826
+ var T = Error((a || "React class") + ": " + r + " type `" + l + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[l] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
1827
+ throw T.name = "Invariant Violation", T;
1827
1828
  }
1828
1829
  _ = e[l](t, l, a, r, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
1829
1830
  } catch (w) {
@@ -1935,8 +1936,8 @@ function Mr() {
1935
1936
  };
1936
1937
  function rt(e, t, r, a, f) {
1937
1938
  {
1938
- var m, l = {}, _ = null, D = null;
1939
- r !== void 0 && (Re(r), _ = "" + r), Ve(t) && (Re(t.key), _ = "" + t.key), Ze(t) && (D = t.ref, Xe(t));
1939
+ var m, l = {}, _ = null, T = null;
1940
+ r !== void 0 && (Re(r), _ = "" + r), Ve(t) && (Re(t.key), _ = "" + t.key), Ze(t) && (T = t.ref, Xe(t));
1940
1941
  for (m in t)
1941
1942
  X.call(t, m) && !Je.hasOwnProperty(m) && (l[m] = t[m]);
1942
1943
  if (e && e.defaultProps) {
@@ -1944,11 +1945,11 @@ function Mr() {
1944
1945
  for (m in w)
1945
1946
  l[m] === void 0 && (l[m] = w[m]);
1946
1947
  }
1947
- if (_ || D) {
1948
+ if (_ || T) {
1948
1949
  var j = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
1949
- _ && Qe(l, j), D && et(l, j);
1950
+ _ && Qe(l, j), T && et(l, j);
1950
1951
  }
1951
- return tt(e, _, D, f, a, Ee.current, l);
1952
+ return tt(e, _, T, f, a, Ee.current, l);
1952
1953
  }
1953
1954
  }
1954
1955
  var fe = O.ReactCurrentOwner, De = O.ReactDebugCurrentFrame;
@@ -2068,8 +2069,8 @@ Check the top-level render call using <` + r + ">.");
2068
2069
  if (!l) {
2069
2070
  var _ = "";
2070
2071
  (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (_ += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
2071
- var D = at();
2072
- D ? _ += D : _ += Pe();
2072
+ var T = at();
2073
+ T ? _ += T : _ += Pe();
2073
2074
  var w;
2074
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
2076
  }
@@ -2116,38 +2117,38 @@ React keys must be passed directly to JSX without using spread:
2116
2117
  wt.Fragment = u, wt.jsx = lt, wt.jsxs = ct;
2117
2118
  }()), wt;
2118
2119
  }
2119
- process.env.NODE_ENV === "production" ? Pt.exports = Ir() : Pt.exports = Mr();
2120
+ process.env.NODE_ENV === "production" ? Pt.exports = $r() : Pt.exports = Ar();
2120
2121
  var Et = Pt.exports;
2121
- const $r = "_btn_1k1b3_1", Ar = "_confirm_1k1b3_15", Br = "_cancel_1k1b3_20", Lr = "_action_1k1b3_25", Wr = "_disabled_1k1b3_30", Ur = "_m_1k1b3_44", Kr = "_l_1k1b3_48", jt = {
2122
- btn: $r,
2123
- confirm: Ar,
2124
- cancel: Br,
2125
- action: Lr,
2126
- disabled: Wr,
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
+ btn: Br,
2124
+ confirm: Lr,
2125
+ cancel: Wr,
2126
+ action: Ur,
2127
+ disabled: Kr,
2127
2128
  await: "_await_1k1b3_37",
2128
- m: Ur,
2129
- l: Kr
2130
- }, qr = ({
2129
+ m: qr,
2130
+ l: Yr
2131
+ }, Gr = ({
2131
2132
  onClick: n,
2132
2133
  onSend: i,
2133
2134
  size: c = "m",
2134
2135
  view: u = "confirm",
2135
2136
  children: v,
2136
- isDisabled: C = !1,
2137
- className: T,
2137
+ isDisabled: S = !1,
2138
+ className: P,
2138
2139
  after: x,
2139
2140
  before: s,
2140
2141
  label: g,
2141
2142
  onRef: o,
2142
2143
  awaitText: d = "Ожидайте"
2143
2144
  }) => {
2144
- let [k, S] = W.useState(!1);
2145
+ let [k, C] = W.useState(!1);
2145
2146
  const N = ($) => {
2146
2147
  if (n) return n();
2147
- k || (i ? (S(!0), i(S)) : $.preventDefault());
2148
+ k || (i ? (C(!0), i(C)) : $.preventDefault());
2148
2149
  };
2149
2150
  let A = {};
2150
- return (C || k) && (A.disabled = !0), /* @__PURE__ */ Et.jsx(
2151
+ return (S || k) && (A.disabled = !0), /* @__PURE__ */ Et.jsx(
2151
2152
  "button",
2152
2153
  {
2153
2154
  ...A,
@@ -2156,7 +2157,7 @@ const $r = "_btn_1k1b3_1", Ar = "_confirm_1k1b3_15", Br = "_cancel_1k1b3_20", Lr
2156
2157
  jt.btn,
2157
2158
  k ? jt.disabled : jt[u],
2158
2159
  c && jt[c],
2159
- T
2160
+ P
2160
2161
  ].filter(($) => $ != "").join(" "),
2161
2162
  onClick: N,
2162
2163
  children: k ? d : /* @__PURE__ */ Et.jsxs(Et.Fragment, { children: [
@@ -2170,7 +2171,7 @@ const $r = "_btn_1k1b3_1", Ar = "_confirm_1k1b3_15", Br = "_cancel_1k1b3_20", Lr
2170
2171
  );
2171
2172
  };
2172
2173
  let Ae = {};
2173
- function Yr({ children: n }) {
2174
+ function zr({ children: n }) {
2174
2175
  return /* @__PURE__ */ H.jsx(H.Fragment, { children: n });
2175
2176
  }
2176
2177
  var Ct;
@@ -2179,46 +2180,46 @@ var Ct;
2179
2180
  import_modules: o
2180
2181
  }) {
2181
2182
  let [d, k] = W.useState([]);
2182
- return Ae.x = (S) => {
2183
- k(S ? d.filter((N) => N.key !== S) : []);
2184
- }, Jt(() => {
2183
+ return Ae.x = (C) => {
2184
+ k(C ? d.filter((N) => N.key !== C) : []);
2185
+ }, Zt(() => {
2185
2186
  o && (Ae.i = o);
2186
- }, []), Ae.add = (S, N = Date.now()) => {
2187
- k([...d, { key: N, item: S }]);
2188
- }, /* @__PURE__ */ H.jsx(H.Fragment, { children: d.map((S) => S.item) });
2187
+ }, []), Ae.add = (C, N = Date.now()) => {
2188
+ k([...d, { key: N, item: C }]);
2189
+ }, /* @__PURE__ */ H.jsx(H.Fragment, { children: d.map((C) => C.item) });
2189
2190
  }
2190
2191
  n.Init = i;
2191
2192
  function c(o) {
2192
2193
  return o && (Ae.i = o), Ae.i;
2193
2194
  }
2194
- n.Import = c, n.List = Or, n.Scroll = Tr, n.Form = Dr, n.Center = Pr, n.Column = Nr;
2195
+ n.Import = c, n.List = Dr, n.Scroll = Pr, n.Form = Nr, n.Center = Fr, n.Column = Ir;
2195
2196
  function u(o, d, k) {
2196
- Ae.i ? Ae.i(`${o}/modal/${d}.tsx`).then((S) => {
2197
- S.default.Open(k);
2198
- }) : Wt()(`${o}/modal/${d}.tsx`).then((S) => {
2199
- S.default.Open(k);
2197
+ Ae.i ? Ae.i(`${o}/modal/${d}.tsx`).then((C) => {
2198
+ C.default.Open(k);
2199
+ }) : Wt()(`${o}/modal/${d}.tsx`).then((C) => {
2200
+ C.default.Open(k);
2200
2201
  });
2201
2202
  }
2202
2203
  n.Open = u;
2203
2204
  function v({ type: o, name: d, params: k }) {
2204
- let [S, N] = W.useState(null);
2205
+ let [C, N] = W.useState(null);
2205
2206
  return W.useEffect(() => {
2206
2207
  Ae.i ? Ae.i(`${o}/modal/${d}.tsx`).then((A) => {
2207
2208
  N(A.default.Icon(k));
2208
2209
  }) : Wt()(`${o}/modal/${d}.tsx`).then((A) => {
2209
2210
  N(A.default.Icon(k));
2210
2211
  });
2211
- }, [k.id]), /* @__PURE__ */ H.jsx(H.Fragment, { children: S });
2212
+ }, [k.id]), /* @__PURE__ */ H.jsx(H.Fragment, { children: C });
2212
2213
  }
2213
2214
  n.Icon = v;
2214
- function C(o, d) {
2215
- Ae.add(/* @__PURE__ */ H.jsx(Yr, { children: o }, String(Date.now())), d);
2215
+ function S(o, d) {
2216
+ Ae.add(/* @__PURE__ */ H.jsx(zr, { children: o }, String(Date.now())), d);
2216
2217
  }
2217
- n.Add = C;
2218
- function T(o) {
2218
+ n.Add = S;
2219
+ function P(o) {
2219
2220
  Ae.x(o);
2220
2221
  }
2221
- n.Close = T;
2222
+ n.Close = P;
2222
2223
  function x(o) {
2223
2224
  if (o.target.classList[0] !== "modal") return;
2224
2225
  let d = o.target.children[0];
@@ -2228,13 +2229,13 @@ var Ct;
2228
2229
  }
2229
2230
  n.Shake = x;
2230
2231
  function s(o, d) {
2231
- const k = (S) => {
2232
+ const k = (C) => {
2232
2233
  n.Add(
2233
- /* @__PURE__ */ H.jsx(o, { ...S }, (/* @__PURE__ */ new Date()).getTime())
2234
+ /* @__PURE__ */ H.jsx(o, { ...C }, (/* @__PURE__ */ new Date()).getTime())
2234
2235
  );
2235
2236
  };
2236
2237
  return {
2237
- Icon: (S) => /* @__PURE__ */ H.jsx("i", { onClick: () => k(S), children: d && /* @__PURE__ */ H.jsx(d, {}) }),
2238
+ Icon: (C) => /* @__PURE__ */ H.jsx("i", { onClick: () => k(C), children: d && /* @__PURE__ */ H.jsx(d, {}) }),
2238
2239
  Open: k
2239
2240
  };
2240
2241
  }
@@ -2243,7 +2244,7 @@ var Ct;
2243
2244
  title: o,
2244
2245
  children: d,
2245
2246
  button: k,
2246
- tabs: S,
2247
+ tabs: C,
2247
2248
  size: N = "m",
2248
2249
  className: A = "",
2249
2250
  shake: $ = !0,
@@ -2276,7 +2277,7 @@ var Ct;
2276
2277
  /* @__PURE__ */ H.jsxs("div", { className: _e.h, children: [
2277
2278
  /* @__PURE__ */ H.jsx("div", { className: _e.t, children: o }),
2278
2279
  /* @__PURE__ */ H.jsxs("div", { className: _e.m, children: [
2279
- S && /* @__PURE__ */ H.jsx("nav", { children: S.map((q, E) => /* @__PURE__ */ H.jsx(
2280
+ C && /* @__PURE__ */ H.jsx("nav", { children: C.map((q, E) => /* @__PURE__ */ H.jsx(
2280
2281
  "span",
2281
2282
  {
2282
2283
  onClick: q.onClick,
@@ -2309,7 +2310,7 @@ var Ct;
2309
2310
  ] }),
2310
2311
  d,
2311
2312
  k && /* @__PURE__ */ H.jsx("div", { className: _e.b, children: /* @__PURE__ */ H.jsx(
2312
- qr,
2313
+ Gr,
2313
2314
  {
2314
2315
  label: k.label,
2315
2316
  onSend: G,
@@ -2324,25 +2325,25 @@ var Ct;
2324
2325
  }
2325
2326
  n.Main = g;
2326
2327
  })(Ct || (Ct = {}));
2327
- const Gr = (n, i = ",") => (n = n !== void 0 && n !== "" ? n.split(i) : [], n.filter((c) => c !== "").reduce((c, u) => (c[u] = !0, c), {}));
2328
- function ha({
2328
+ const Hr = (n, i = ",") => (n = n !== void 0 && n !== "" ? n.split(i) : [], n.filter((c) => c !== "").reduce((c, u) => (c[u] = !0, c), {}));
2329
+ function ka({
2329
2330
  value: n,
2330
2331
  onValue: i,
2331
2332
  name: c,
2332
2333
  placeholder: u = "",
2333
2334
  separator: v = ",",
2334
- title: C,
2335
- error: T,
2335
+ title: S,
2336
+ error: P,
2336
2337
  hide: x = !1,
2337
2338
  edit: s = !0,
2338
2339
  active: g = !0,
2339
2340
  outFormat: o = "object",
2340
2341
  after: d = "",
2341
2342
  modal: k,
2342
- options: S,
2343
+ options: C,
2343
2344
  className: N
2344
2345
  }) {
2345
- const [A, $] = W.useState(Gr(n, v)), O = (p) => {
2346
+ const [A, $] = W.useState(Hr(n, v)), O = (p) => {
2346
2347
  if (!(s && g) || !k) return;
2347
2348
  let I = k.split(".");
2348
2349
  Ct.Open(I[0], I[1], {
@@ -2370,82 +2371,83 @@ function ha({
2370
2371
  );
2371
2372
  },
2372
2373
  onValue: i,
2373
- options: S,
2374
+ options: C,
2374
2375
  name: c,
2375
2376
  value: A
2376
2377
  });
2377
2378
  };
2378
2379
  return x ? /* @__PURE__ */ y.jsx(y.Fragment, {}) : /* @__PURE__ */ y.jsx(
2379
- bt,
2380
+ pt,
2380
2381
  {
2381
2382
  type: "group",
2382
- title: C,
2383
+ title: S,
2383
2384
  element_blok: { className: [N] },
2384
2385
  element_input: {
2385
- className: [],
2386
+ className: [V.g],
2386
2387
  props: {
2387
2388
  onClick: O
2388
2389
  }
2389
2390
  },
2390
2391
  children: Object.keys(A).map((p) => {
2391
2392
  var I;
2392
- return /* @__PURE__ */ y.jsx("div", { children: (I = S[p]) == null ? void 0 : I.label }, p);
2393
+ return /* @__PURE__ */ y.jsx("div", { children: (I = C[p]) == null ? void 0 : I.label }, p);
2393
2394
  })
2394
2395
  }
2395
2396
  );
2396
2397
  }
2397
- const zr = "_o_1wehm_12", Hr = "_l_1wehm_22", Jr = "_f_1wehm_81", Nt = {
2398
- o: zr,
2399
- l: Hr,
2400
- f: Jr
2398
+ const Jr = "_o_1wehm_12", Zr = "_l_1wehm_22", Vr = "_f_1wehm_81", Nt = {
2399
+ o: Jr,
2400
+ l: Zr,
2401
+ f: Vr
2401
2402
  };
2402
- function ba({
2403
+ function wa({
2403
2404
  title: n,
2404
2405
  error: i,
2405
2406
  edit: c = !0,
2406
2407
  active: u = !0,
2407
2408
  hide: v,
2408
- value: C = 0,
2409
- onValue: T,
2409
+ value: S = 0,
2410
+ onValue: P,
2410
2411
  options: x,
2411
2412
  placeholder: s = "",
2412
2413
  className: g,
2413
2414
  isIcon: o = !0,
2414
2415
  name: d,
2415
2416
  after: k,
2416
- view: S,
2417
+ view: C,
2417
2418
  order: N,
2418
2419
  isReload: A = !1
2419
2420
  }) {
2420
2421
  var R, h;
2421
- const $ = W.useRef(null), [O, p] = W.useState(C), [I, K] = W.useState(x), [G, L] = W.useState(!1);
2422
+ const $ = W.useRef(null), [O, p] = W.useState(S), [I, K] = W.useState(x), [G, L] = W.useState(!1);
2422
2423
  W.useEffect(() => {
2423
- p(C), K(x);
2424
- }, [C, x]), v = !!(v && (C === 0 || ((R = I == null ? void 0 : I[C]) == null ? void 0 : R.n) === void 0)) && !(c && u);
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);
2425
2426
  let E = (b) => {
2426
- p(b), T && T({ value: b, name: d, reload: A });
2427
- }, P = (b) => {
2427
+ p(b), P && P({ value: b, name: d, reload: A });
2428
+ }, D = (b) => {
2428
2429
  Object.keys(I || {}).length !== 0 && c && u && ($.position = b.target.getBoundingClientRect(), L(!0));
2429
2430
  }, U = {};
2430
2431
  return s && (U.placeholder = s), v ? "" : /* @__PURE__ */ y.jsxs(
2431
- bt,
2432
+ pt,
2432
2433
  {
2433
2434
  type: "select",
2434
2435
  title: n,
2435
2436
  element_blok: { className: [g] },
2436
2437
  element_input: {
2437
2438
  className: [Nt.f],
2438
- props: { ref: $, onClick: P }
2439
+ props: { onClick: D }
2439
2440
  },
2441
+ ref: $,
2440
2442
  children: [
2441
2443
  /* @__PURE__ */ y.jsx("div", { ...U, children: (h = I == null ? void 0 : I[O]) == null ? void 0 : h.n }),
2442
2444
  G && Mt(
2443
2445
  /* @__PURE__ */ y.jsx(
2444
- Zr,
2446
+ Xr,
2445
2447
  {
2446
2448
  parent: $.position,
2447
2449
  onValue: E,
2448
- view: S,
2450
+ view: C,
2449
2451
  className: g,
2450
2452
  options: I,
2451
2453
  order: N,
@@ -2459,25 +2461,25 @@ function ba({
2459
2461
  }
2460
2462
  );
2461
2463
  }
2462
- const Zr = ({
2464
+ const Xr = ({
2463
2465
  onValue: n,
2464
2466
  parent: i,
2465
2467
  className: c,
2466
2468
  options: u,
2467
2469
  order: v,
2468
- setOpen: C
2470
+ setOpen: S
2469
2471
  }) => {
2470
- let T = () => {
2471
- C(!1);
2472
+ let P = () => {
2473
+ S(!1);
2472
2474
  }, x = (o) => {
2473
- C(!1), n(o);
2475
+ S(!1), n(o);
2474
2476
  }, s = window.innerHeight - i.y + i.height < 320 ? i.y - 312 : i.y + 33, g = window.innerWidth - i.x < 265 ? i.x - 235 : i.x;
2475
2477
  return /* @__PURE__ */ y.jsxs(y.Fragment, { children: [
2476
2478
  /* @__PURE__ */ y.jsx(
2477
2479
  "div",
2478
2480
  {
2479
2481
  className: Nt.o,
2480
- onClick: T
2482
+ onClick: P
2481
2483
  },
2482
2484
  (/* @__PURE__ */ new Date()).getTime()
2483
2485
  ),
@@ -2490,11 +2492,11 @@ const Zr = ({
2490
2492
  left: g + "px",
2491
2493
  width: i.width
2492
2494
  },
2493
- children: /* @__PURE__ */ y.jsx(Vr, { order: v, options: u, link: x })
2495
+ children: /* @__PURE__ */ y.jsx(Qr, { order: v, options: u, link: x })
2494
2496
  }
2495
2497
  )
2496
2498
  ] });
2497
- }, Vr = ({ order: n, options: i, link: c }) => n ? /* @__PURE__ */ y.jsx("ul", { children: n.map(
2499
+ }, Qr = ({ order: n, options: i, link: c }) => n ? /* @__PURE__ */ y.jsx("ul", { children: n.map(
2498
2500
  (u, v) => i[u].s !== 0 ? /* @__PURE__ */ y.jsx(
2499
2501
  "li",
2500
2502
  {
@@ -2517,21 +2519,21 @@ const Zr = ({
2517
2519
  v
2518
2520
  ) : ""
2519
2521
  ) });
2520
- function ka({
2522
+ function ja({
2521
2523
  value: n,
2522
2524
  onValue: i,
2523
2525
  name: c,
2524
2526
  placeholder: u = "",
2525
2527
  title: v,
2526
- error: C,
2527
- hide: T = !1,
2528
+ error: S,
2529
+ hide: P = !1,
2528
2530
  edit: x = !0,
2529
2531
  show: s = !0,
2530
2532
  active: g = !0,
2531
2533
  after: o = "",
2532
2534
  view: d,
2533
2535
  modal: k,
2534
- module: S,
2536
+ module: C,
2535
2537
  options: N,
2536
2538
  className: A
2537
2539
  }) {
@@ -2551,7 +2553,7 @@ function ka({
2551
2553
  const I = {};
2552
2554
  I.field = "input", A && (I.className = A);
2553
2555
  const K = {};
2554
- return u && (K.placeholder = u), T ? /* @__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", { ...I, children: [
2555
2557
  v && /* @__PURE__ */ y.jsx("dt", { children: v }),
2556
2558
  /* @__PURE__ */ y.jsx(
2557
2559
  "dd",
@@ -2563,24 +2565,24 @@ function ka({
2563
2565
  children: $
2564
2566
  }
2565
2567
  ),
2566
- C && /* @__PURE__ */ y.jsx("em", { children: C })
2568
+ S && /* @__PURE__ */ y.jsx("em", { children: S })
2567
2569
  ] });
2568
2570
  }
2569
- function wa({
2571
+ function xa({
2570
2572
  value: n,
2571
2573
  onValue: i,
2572
2574
  onSave: c,
2573
2575
  name: u,
2574
2576
  placeholder: v = "",
2575
- className: C,
2576
- title: T,
2577
+ className: S,
2578
+ title: P,
2577
2579
  error: x,
2578
2580
  edit: s = !0,
2579
2581
  active: g = !0,
2580
2582
  reload: o = !1,
2581
2583
  native: d = !1,
2582
2584
  isShow: k = !1,
2583
- maxLength: S,
2585
+ maxLength: C,
2584
2586
  eyes: N = [],
2585
2587
  after: A = ""
2586
2588
  }) {
@@ -2594,27 +2596,27 @@ function wa({
2594
2596
  }, I = (E) => {
2595
2597
  E.key === "Enter" && E.preventDefault();
2596
2598
  }, K = (E) => {
2597
- E.preventDefault(), navigator.clipboard.readText().then((P) => {
2598
- if (S) {
2599
+ E.preventDefault(), navigator.clipboard.readText().then((D) => {
2600
+ if (C) {
2599
2601
  let U = E.target.textContent.length;
2600
- if (U >= S) return;
2601
- S -= U, P = P.slice(0, S);
2602
+ if (U >= C) return;
2603
+ C -= U, D = D.slice(0, C);
2602
2604
  }
2603
2605
  window.document.execCommand(
2604
2606
  "insertText",
2605
2607
  !1,
2606
- P.replace(/(\r\n|\n|\r)/gm, " ")
2608
+ D.replace(/(\r\n|\n|\r)/gm, " ")
2607
2609
  );
2608
- }).catch((P) => {
2610
+ }).catch((D) => {
2609
2611
  });
2610
2612
  }, G = (E) => {
2611
2613
  te.Blur(E), c == null || c({ value: E.target.textContent.trim(), name: u });
2612
2614
  };
2613
2615
  const L = {};
2614
- L.field = "password", $ && (L.show = ""), C && (L.className = C);
2616
+ L.field = "password", $ && (L.show = ""), S && (L.className = S);
2615
2617
  const q = {};
2616
2618
  return v && (q.placeholder = v), d ? "" : /* @__PURE__ */ y.jsxs("dl", { ...L, children: [
2617
- T ? /* @__PURE__ */ y.jsx("dt", { children: T }) : "",
2619
+ P ? /* @__PURE__ */ y.jsx("dt", { children: P }) : "",
2618
2620
  /* @__PURE__ */ y.jsx(
2619
2621
  "dd",
2620
2622
  {
@@ -2633,39 +2635,39 @@ function wa({
2633
2635
  x ? /* @__PURE__ */ y.jsx("em", { children: x }) : ""
2634
2636
  ] });
2635
2637
  }
2636
- function ja({
2638
+ function Ca({
2637
2639
  onValue: n,
2638
2640
  onSave: i,
2639
2641
  active: c,
2640
2642
  max: u,
2641
2643
  edit: v,
2642
- title: C,
2643
- error: T,
2644
+ title: S,
2645
+ error: P,
2644
2646
  show: x,
2645
2647
  hide: s,
2646
2648
  value: g,
2647
2649
  placeholder: o,
2648
2650
  className: d,
2649
2651
  maxLength: k,
2650
- name: S,
2652
+ name: C,
2651
2653
  after: N = "",
2652
2654
  before: A = "",
2653
2655
  view: $
2654
2656
  }) {
2655
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;
2656
- let p = !1, I = (P) => {
2657
- n == null || n({ value: P.target.textContent, name: S });
2658
- }, K = (P) => {
2659
- if (!(p && P.which === 86)) {
2660
- if (P.which === 17 || P.which === 91) return p = !0;
2661
- P.key !== "Backspace" && (P.target.textContent.length === u && P.preventDefault(), P.key === "Enter" && P.preventDefault(), isNaN(P.key) && P.preventDefault());
2662
- }
2663
- }, G = (P) => {
2664
- if (P.which === 17 || P.which === 91) return p = !1;
2665
- }, L = (P) => {
2666
- P.preventDefault(), navigator.clipboard.readText().then((U) => {
2658
+ let p = !1, I = (D) => {
2659
+ n == null || n({ value: D.target.textContent, name: C });
2660
+ }, K = (D) => {
2661
+ if (!(p && D.which === 86)) {
2662
+ if (D.which === 17 || D.which === 91) return p = !0;
2663
+ D.key !== "Backspace" && (D.target.textContent.length === u && D.preventDefault(), D.key === "Enter" && D.preventDefault(), isNaN(D.key) && D.preventDefault());
2664
+ }
2665
+ }, G = (D) => {
2666
+ if (D.which === 17 || D.which === 91) return p = !1;
2667
+ }, L = (D) => {
2668
+ D.preventDefault(), navigator.clipboard.readText().then((U) => {
2667
2669
  if (U = U.replace(/(?!^\+|\d)./g, ""), k) {
2668
- let R = P.target.textContent.length;
2670
+ let R = D.target.textContent.length;
2669
2671
  if (R >= k) return;
2670
2672
  k -= R, U = U.slice(0, k);
2671
2673
  }
@@ -2673,17 +2675,17 @@ function ja({
2673
2675
  }).catch((U) => {
2674
2676
  });
2675
2677
  };
2676
- const q = (P) => {
2677
- te.Blur(P), i == null || i({ value: P.target.textContent, name: S });
2678
+ const q = (D) => {
2679
+ te.Blur(D), i == null || i({ value: D.target.textContent, name: C });
2678
2680
  };
2679
2681
  let E = {};
2680
2682
  return v && c ? (E.edit = "true", E.contentEditable = te.ContentEditable) : E.contentEditable = "false", E.inputMode = "decimal", o && (E.placeholder = o), s ? /* @__PURE__ */ y.jsx(y.Fragment, {}) : /* @__PURE__ */ y.jsxs(
2681
2683
  "dl",
2682
2684
  {
2683
2685
  "data-field": "input",
2684
- className: [V.l, d].filter((P) => P !== void 0).join(" "),
2686
+ className: [V.l, d].filter((D) => D !== void 0).join(" "),
2685
2687
  children: [
2686
- C ? /* @__PURE__ */ y.jsx("dt", { className: V.t, children: C }) : "",
2688
+ S ? /* @__PURE__ */ y.jsx("dt", { className: V.t, children: S }) : "",
2687
2689
  A,
2688
2690
  /* @__PURE__ */ y.jsx(
2689
2691
  "dd",
@@ -2700,12 +2702,12 @@ function ja({
2700
2702
  }
2701
2703
  ),
2702
2704
  N,
2703
- T && /* @__PURE__ */ y.jsx("em", { children: T })
2705
+ P && /* @__PURE__ */ y.jsx("em", { children: P })
2704
2706
  ]
2705
2707
  }
2706
2708
  );
2707
2709
  }
2708
- var Ft = { exports: {} }, gt = {};
2710
+ var Ft = { exports: {} }, ht = {};
2709
2711
  /**
2710
2712
  * @license React
2711
2713
  * react-jsx-runtime.production.min.js
@@ -2716,18 +2718,18 @@ var Ft = { exports: {} }, gt = {};
2716
2718
  * LICENSE file in the root directory of this source tree.
2717
2719
  */
2718
2720
  var qt;
2719
- function Xr() {
2720
- if (qt) return gt;
2721
+ function ea() {
2722
+ if (qt) return ht;
2721
2723
  qt = 1;
2722
- 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, C = { key: !0, ref: !0, __self: !0, __source: !0 };
2723
- function T(x, s, g) {
2724
- var o, d = {}, k = null, S = null;
2725
- g !== void 0 && (k = "" + g), s.key !== void 0 && (k = "" + s.key), s.ref !== void 0 && (S = s.ref);
2726
- for (o in s) u.call(s, o) && !C.hasOwnProperty(o) && (d[o] = s[o]);
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
+ 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);
2728
+ for (o in s) u.call(s, o) && !S.hasOwnProperty(o) && (d[o] = s[o]);
2727
2729
  if (x && x.defaultProps) for (o in s = x.defaultProps, s) d[o] === void 0 && (d[o] = s[o]);
2728
- return { $$typeof: i, type: x, key: k, ref: S, props: d, _owner: v.current };
2730
+ return { $$typeof: i, type: x, key: k, ref: C, props: d, _owner: v.current };
2729
2731
  }
2730
- return gt.Fragment = c, gt.jsx = T, gt.jsxs = T, gt;
2732
+ return ht.Fragment = c, ht.jsx = P, ht.jsxs = P, ht;
2731
2733
  }
2732
2734
  var xt = {};
2733
2735
  /**
@@ -2740,9 +2742,9 @@ var xt = {};
2740
2742
  * LICENSE file in the root directory of this source tree.
2741
2743
  */
2742
2744
  var Yt;
2743
- function Qr() {
2745
+ function ta() {
2744
2746
  return Yt || (Yt = 1, process.env.NODE_ENV !== "production" && function() {
2745
- var n = W, i = Symbol.for("react.element"), c = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), v = Symbol.for("react.strict_mode"), C = Symbol.for("react.profiler"), T = 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"), S = Symbol.for("react.offscreen"), N = Symbol.iterator, A = "@@iterator";
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";
2746
2748
  function $(e) {
2747
2749
  if (e === null || typeof e != "object")
2748
2750
  return null;
@@ -2767,14 +2769,14 @@ function Qr() {
2767
2769
  m.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, m);
2768
2770
  }
2769
2771
  }
2770
- var K = !1, G = !1, L = !1, q = !1, E = !1, P;
2771
- P = Symbol.for("react.module.reference");
2772
+ var K = !1, G = !1, L = !1, q = !1, E = !1, D;
2773
+ D = Symbol.for("react.module.reference");
2772
2774
  function U(e) {
2773
- return !!(typeof e == "string" || typeof e == "function" || e === u || e === C || E || e === v || e === g || e === o || q || e === S || K || G || L || typeof e == "object" && e !== null && (e.$$typeof === k || e.$$typeof === d || e.$$typeof === T || 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 === k || e.$$typeof === d || e.$$typeof === P || e.$$typeof === x || e.$$typeof === s || // This needs to include all possible module reference object
2774
2776
  // types supported by any Flight configuration anywhere since
2775
2777
  // we don't know which Flight build this will end up being used
2776
2778
  // with.
2777
- e.$$typeof === P || e.getModuleId !== void 0));
2779
+ e.$$typeof === D || e.getModuleId !== void 0));
2778
2780
  }
2779
2781
  function R(e, t, r) {
2780
2782
  var a = e.displayName;
@@ -2798,7 +2800,7 @@ function Qr() {
2798
2800
  return "Fragment";
2799
2801
  case c:
2800
2802
  return "Portal";
2801
- case C:
2803
+ case S:
2802
2804
  return "Profiler";
2803
2805
  case v:
2804
2806
  return "StrictMode";
@@ -2812,7 +2814,7 @@ function Qr() {
2812
2814
  case x:
2813
2815
  var t = e;
2814
2816
  return h(t) + ".Consumer";
2815
- case T:
2817
+ case P:
2816
2818
  var r = e;
2817
2819
  return h(r._context) + ".Provider";
2818
2820
  case s:
@@ -2961,14 +2963,14 @@ function Qr() {
2961
2963
  } catch (F) {
2962
2964
  if (F && a && typeof F.stack == "string") {
2963
2965
  for (var _ = F.stack.split(`
2964
- `), D = a.stack.split(`
2965
- `), w = _.length - 1, j = D.length - 1; w >= 1 && j >= 0 && _[w] !== D[j]; )
2966
+ `), T = a.stack.split(`
2967
+ `), w = _.length - 1, j = T.length - 1; w >= 1 && j >= 0 && _[w] !== T[j]; )
2966
2968
  j--;
2967
2969
  for (; w >= 1 && j >= 0; w--, j--)
2968
- if (_[w] !== D[j]) {
2970
+ if (_[w] !== T[j]) {
2969
2971
  if (w !== 1 || j !== 1)
2970
2972
  do
2971
- if (w--, j--, j < 0 || _[w] !== D[j]) {
2973
+ if (w--, j--, j < 0 || _[w] !== T[j]) {
2972
2974
  var B = `
2973
2975
  ` + _[w].replace(" at new ", " at ");
2974
2976
  return e.displayName && B.includes("<anonymous>") && (B = B.replace("<anonymous>", e.displayName)), typeof e == "function" && ae.set(e, B), B;
@@ -3035,8 +3037,8 @@ function Qr() {
3035
3037
  var _ = void 0;
3036
3038
  try {
3037
3039
  if (typeof e[l] != "function") {
3038
- var D = Error((a || "React class") + ": " + r + " type `" + l + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[l] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
3039
- throw D.name = "Invariant Violation", D;
3040
+ var T = Error((a || "React class") + ": " + r + " type `" + l + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[l] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
3041
+ throw T.name = "Invariant Violation", T;
3040
3042
  }
3041
3043
  _ = e[l](t, l, a, r, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
3042
3044
  } catch (w) {
@@ -3148,8 +3150,8 @@ function Qr() {
3148
3150
  };
3149
3151
  function rt(e, t, r, a, f) {
3150
3152
  {
3151
- var m, l = {}, _ = null, D = null;
3152
- r !== void 0 && (Re(r), _ = "" + r), Ve(t) && (Re(t.key), _ = "" + t.key), Ze(t) && (D = t.ref, Xe(t));
3153
+ var m, l = {}, _ = null, T = null;
3154
+ r !== void 0 && (Re(r), _ = "" + r), Ve(t) && (Re(t.key), _ = "" + t.key), Ze(t) && (T = t.ref, Xe(t));
3153
3155
  for (m in t)
3154
3156
  X.call(t, m) && !Je.hasOwnProperty(m) && (l[m] = t[m]);
3155
3157
  if (e && e.defaultProps) {
@@ -3157,11 +3159,11 @@ function Qr() {
3157
3159
  for (m in w)
3158
3160
  l[m] === void 0 && (l[m] = w[m]);
3159
3161
  }
3160
- if (_ || D) {
3162
+ if (_ || T) {
3161
3163
  var j = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
3162
- _ && Qe(l, j), D && et(l, j);
3164
+ _ && Qe(l, j), T && et(l, j);
3163
3165
  }
3164
- return tt(e, _, D, f, a, Ee.current, l);
3166
+ return tt(e, _, T, f, a, Ee.current, l);
3165
3167
  }
3166
3168
  }
3167
3169
  var fe = O.ReactCurrentOwner, De = O.ReactDebugCurrentFrame;
@@ -3281,8 +3283,8 @@ Check the top-level render call using <` + r + ">.");
3281
3283
  if (!l) {
3282
3284
  var _ = "";
3283
3285
  (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (_ += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
3284
- var D = at();
3285
- D ? _ += D : _ += Pe();
3286
+ var T = at();
3287
+ T ? _ += T : _ += Pe();
3286
3288
  var w;
3287
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, _);
3288
3290
  }
@@ -3329,19 +3331,19 @@ React keys must be passed directly to JSX without using spread:
3329
3331
  xt.Fragment = u, xt.jsx = lt, xt.jsxs = ct;
3330
3332
  }()), xt;
3331
3333
  }
3332
- process.env.NODE_ENV === "production" ? Ft.exports = Xr() : Ft.exports = Qr();
3334
+ process.env.NODE_ENV === "production" ? Ft.exports = ea() : Ft.exports = ta();
3333
3335
  var ee = Ft.exports;
3334
- const ea = "_notice_13j98_2", ta = "_error_13j98_11", ra = "_success_13j98_14", aa = "_remark_13j98_17", na = "_copy_13j98_20", Ht = {
3335
- notice: ea,
3336
- error: ta,
3337
- success: ra,
3338
- remark: aa,
3339
- copy: na,
3336
+ const ra = "_notice_13j98_2", aa = "_error_13j98_11", na = "_success_13j98_14", oa = "_remark_13j98_17", ia = "_copy_13j98_20", Ht = {
3337
+ notice: ra,
3338
+ error: aa,
3339
+ success: na,
3340
+ remark: oa,
3341
+ copy: ia,
3340
3342
  "show-notice": "_show-notice_13j98_1",
3341
3343
  "hide-notice": "_hide-notice_13j98_1"
3342
3344
  };
3343
3345
  let Be = {};
3344
- function ht({ data: n }) {
3346
+ function bt({ data: n }) {
3345
3347
  let [i, c] = W.useState("show");
3346
3348
  W.useEffect(() => {
3347
3349
  n.hide && (setTimeout(function() {
@@ -3374,7 +3376,7 @@ function ht({ data: n }) {
3374
3376
  /* @__PURE__ */ ee.jsx("p", { children: n.text })
3375
3377
  ] });
3376
3378
  }
3377
- function oa({ data: n }) {
3379
+ function _a({ data: n }) {
3378
3380
  let [i, c] = W.useState("show");
3379
3381
  return W.useEffect(() => {
3380
3382
  n.hide && (setTimeout(function() {
@@ -3431,7 +3433,7 @@ var St;
3431
3433
  function c(s, g = !0) {
3432
3434
  let o = Date.now(), d = { key: o, text: s, hide: g, type: "error" };
3433
3435
  Be.set({
3434
- item: /* @__PURE__ */ ee.jsx(ht, { data: d }, o),
3436
+ item: /* @__PURE__ */ ee.jsx(bt, { data: d }, o),
3435
3437
  key: o
3436
3438
  });
3437
3439
  }
@@ -3439,56 +3441,56 @@ var St;
3439
3441
  function u(s, g = !0) {
3440
3442
  let o = Date.now(), d = { key: o, text: s, hide: g, type: "success" };
3441
3443
  Be.set({
3442
- item: /* @__PURE__ */ ee.jsx(ht, { data: d }, o),
3444
+ item: /* @__PURE__ */ ee.jsx(bt, { data: d }, o),
3443
3445
  key: o
3444
3446
  });
3445
3447
  }
3446
3448
  n.Success = u;
3447
3449
  function v(s, g = !0) {
3448
3450
  let o = Date.now(), d = { key: o, hide: g, text: s };
3449
- Be.set({ item: /* @__PURE__ */ ee.jsx(oa, { data: d }, o), key: o });
3451
+ Be.set({ item: /* @__PURE__ */ ee.jsx(_a, { data: d }, o), key: o });
3450
3452
  }
3451
3453
  n.Custom = v;
3452
- function C(s) {
3454
+ function S(s) {
3453
3455
  let g = Date.now(), o = { key: g, hide: !0, ...s };
3454
3456
  Be.set({
3455
- item: /* @__PURE__ */ ee.jsx(ht, { data: o }, g),
3457
+ item: /* @__PURE__ */ ee.jsx(bt, { data: o }, g),
3456
3458
  key: g
3457
3459
  });
3458
3460
  }
3459
- n.Send = C;
3460
- function T(s, g = !0) {
3461
+ n.Send = S;
3462
+ function P(s, g = !0) {
3461
3463
  let o = Date.now(), d = { key: o, text: s, hide: g, type: "remark" };
3462
3464
  Be.set({
3463
- item: /* @__PURE__ */ ee.jsx(ht, { data: d }, o),
3465
+ item: /* @__PURE__ */ ee.jsx(bt, { data: d }, o),
3464
3466
  key: o
3465
3467
  });
3466
3468
  }
3467
- n.Remark = T;
3469
+ n.Remark = P;
3468
3470
  function x(s, g = !0) {
3469
3471
  let o = Date.now(), d = { key: o, text: s, hide: g, type: "copy" };
3470
3472
  Be.set({
3471
- item: /* @__PURE__ */ ee.jsx(ht, { data: d }, o),
3473
+ item: /* @__PURE__ */ ee.jsx(bt, { data: d }, o),
3472
3474
  key: o
3473
3475
  });
3474
3476
  }
3475
3477
  n.Copy = x;
3476
3478
  })(St || (St = {}));
3477
- function xa({
3479
+ function Sa({
3478
3480
  value: n = "",
3479
3481
  onValue: i,
3480
3482
  onSave: c,
3481
3483
  name: u,
3482
3484
  format: v = "+_(___) ___-__-__",
3483
- placeholder: C = "",
3484
- title: T = "",
3485
+ placeholder: S = "",
3486
+ title: P = "",
3485
3487
  error: x = "",
3486
3488
  hide: s = !1,
3487
3489
  edit: g = !0,
3488
3490
  active: o = !0,
3489
3491
  after: d = "",
3490
3492
  show: k = !0,
3491
- view: S,
3493
+ view: C,
3492
3494
  className: N = ""
3493
3495
  }) {
3494
3496
  g = g !== void 0 ? g : !0, o = o !== void 0 ? o : !0, s = !!(s && (n === "" || n === void 0)) && !(g && o), W.useRef(null);
@@ -3522,7 +3524,7 @@ function xa({
3522
3524
  }, q = G(n), E = (h) => {
3523
3525
  let b = G(h.target.textContent);
3524
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
- }, P = (h) => {
3527
+ }, D = (h) => {
3526
3528
  h.key === "Enter" && h.preventDefault();
3527
3529
  };
3528
3530
  const U = (h) => {
@@ -3532,11 +3534,11 @@ function xa({
3532
3534
  });
3533
3535
  };
3534
3536
  let R = {};
3535
- return g && o ? (R.edit = "true", R.contentEditable = te.ContentEditable) : R.contentEditable = "false", C && (R.placeholder = C), d && (R.after = d), s ? /* @__PURE__ */ y.jsx(y.Fragment, {}) : /* @__PURE__ */ y.jsx(
3536
- bt,
3537
+ return g && o ? (R.edit = "true", R.contentEditable = te.ContentEditable) : R.contentEditable = "false", S && (R.placeholder = S), d && (R.after = d), s ? /* @__PURE__ */ y.jsx(y.Fragment, {}) : /* @__PURE__ */ y.jsx(
3538
+ pt,
3537
3539
  {
3538
3540
  type: "input",
3539
- title: T,
3541
+ title: P,
3540
3542
  element_blok: { className: [N] },
3541
3543
  element_input: { className: [V.w] },
3542
3544
  children: /* @__PURE__ */ y.jsx(
@@ -3544,7 +3546,7 @@ function xa({
3544
3546
  {
3545
3547
  onPaste: K,
3546
3548
  onInput: E,
3547
- onKeyDown: P,
3549
+ onKeyDown: D,
3548
3550
  onContextMenu: L,
3549
3551
  onBlur: U,
3550
3552
  suppressContentEditableWarning: !0,
@@ -3555,21 +3557,21 @@ function xa({
3555
3557
  }
3556
3558
  );
3557
3559
  }
3558
- function Ca({
3560
+ function Ra({
3559
3561
  id: n,
3560
3562
  value: i,
3561
3563
  onValue: c,
3562
3564
  name: u,
3563
3565
  placeholder: v = "",
3564
- title: C = "",
3565
- error: T = "",
3566
+ title: S = "",
3567
+ error: P = "",
3566
3568
  hide: x = !1,
3567
3569
  edit: s = !0,
3568
3570
  active: g = !0,
3569
3571
  after: o = "",
3570
3572
  show: d = !0,
3571
3573
  maxLength: k,
3572
- view: S,
3574
+ view: C,
3573
3575
  onSave: N,
3574
3576
  className: A = "",
3575
3577
  isCopy: $ = !0
@@ -3581,18 +3583,18 @@ function Ca({
3581
3583
  }, K = (E) => {
3582
3584
  k && E.target.textContent.trim().length >= k && E.key !== "Backspace" && E.preventDefault(), E.key === "Enter" && E.preventDefault();
3583
3585
  }, G = (E) => {
3584
- E.preventDefault(), navigator.clipboard.readText().then((P) => {
3586
+ E.preventDefault(), navigator.clipboard.readText().then((D) => {
3585
3587
  if (k) {
3586
3588
  let U = E.target.textContent.length;
3587
3589
  if (U >= k) return;
3588
- k -= U, P = P.slice(0, k);
3590
+ k -= U, D = D.slice(0, k);
3589
3591
  }
3590
3592
  window.document.execCommand(
3591
3593
  "insertText",
3592
3594
  !1,
3593
- P.replace(/(\r\n|\n|\r)/gm, " ")
3595
+ D.replace(/(\r\n|\n|\r)/gm, " ")
3594
3596
  );
3595
- }).catch((P) => {
3597
+ }).catch((D) => {
3596
3598
  });
3597
3599
  };
3598
3600
  if (x) return /* @__PURE__ */ y.jsx(y.Fragment, {});
@@ -3602,30 +3604,26 @@ function Ca({
3602
3604
  const q = (E) => {
3603
3605
  te.Blur(E), N == null || N({ value: E.target.textContent.trim(), name: u });
3604
3606
  };
3605
- return /* @__PURE__ */ y.jsxs(
3606
- "dl",
3607
+ return /* @__PURE__ */ y.jsx(
3608
+ pt,
3607
3609
  {
3608
- "data-field": "note",
3609
- className: [V.l, A].filter((E) => E !== void 0).join(" "),
3610
- children: [
3611
- C ? /* @__PURE__ */ y.jsx("dt", { className: V.t, children: C }) : "",
3612
- /* @__PURE__ */ y.jsx(
3613
- "dd",
3614
- {
3615
- className: [V.f, V.n].join(" "),
3616
- onPaste: G,
3617
- onInput: I,
3618
- onBlur: q,
3619
- onKeyDown: K,
3620
- contentEditable: s && g ? te.ContentEditable : "false",
3621
- suppressContentEditableWarning: !0,
3622
- ...L,
3623
- children: i
3624
- }
3625
- ),
3626
- o,
3627
- T ? /* @__PURE__ */ y.jsx("em", { children: T }) : ""
3628
- ]
3610
+ type: "note",
3611
+ title: S,
3612
+ element_blok: { className: [A] },
3613
+ element_input: { className: [V.n] },
3614
+ children: /* @__PURE__ */ y.jsx(
3615
+ "div",
3616
+ {
3617
+ onPaste: G,
3618
+ onInput: I,
3619
+ onBlur: q,
3620
+ onKeyDown: K,
3621
+ contentEditable: s && g ? te.ContentEditable : "false",
3622
+ suppressContentEditableWarning: !0,
3623
+ ...L,
3624
+ children: i
3625
+ }
3626
+ )
3629
3627
  }
3630
3628
  );
3631
3629
  }
@@ -5011,21 +5009,21 @@ const Ot = {
5011
5009
  mask: "+1939(___) ___-__-__"
5012
5010
  }
5013
5011
  };
5014
- function Sa({
5012
+ function Ea({
5015
5013
  value: n,
5016
5014
  onValue: i,
5017
5015
  onSave: c,
5018
5016
  name: u,
5019
5017
  placeholder: v = "",
5020
- title: C = "",
5021
- error: T = "",
5018
+ title: S = "",
5019
+ error: P = "",
5022
5020
  hide: x = !1,
5023
5021
  edit: s = !0,
5024
5022
  active: g = !0,
5025
5023
  after: o = "",
5026
5024
  show: d = !0,
5027
5025
  view: k,
5028
- className: S = ""
5026
+ className: C = ""
5029
5027
  }) {
5030
5028
  s = s !== void 0 ? s : !0, g = g !== void 0 ? g : !0, x = !!(x && (n === "" || n === void 0)) && !(s && g), W.useRef(null);
5031
5029
  let A = "+_(___) ___-__-__", $ = !0, O = 0, p = (R, h) => {
@@ -5067,7 +5065,7 @@ function Sa({
5067
5065
  }, q = G(n), E = (R) => {
5068
5066
  R.key === "Enter" && R.preventDefault();
5069
5067
  };
5070
- const P = (R) => {
5068
+ const D = (R) => {
5071
5069
  te.Blur(R), c && c({
5072
5070
  value: R.target.textContent.replace(/\D/g, ""),
5073
5071
  name: u
@@ -5075,11 +5073,11 @@ function Sa({
5075
5073
  };
5076
5074
  let U = {};
5077
5075
  return s && g ? (U.edit = "true", U.contentEditable = te.ContentEditable) : U.contentEditable = "false", v && (U.placeholder = v), x ? /* @__PURE__ */ y.jsx(y.Fragment, {}) : /* @__PURE__ */ y.jsx(
5078
- bt,
5076
+ pt,
5079
5077
  {
5080
5078
  type: "input",
5081
- title: C,
5082
- element_blok: { className: S },
5079
+ title: S,
5080
+ element_blok: { className: C },
5083
5081
  element_input: { className: [V.w] },
5084
5082
  children: /* @__PURE__ */ y.jsx(
5085
5083
  "div",
@@ -5088,7 +5086,7 @@ function Sa({
5088
5086
  onInput: I,
5089
5087
  onKeyDown: E,
5090
5088
  onContextMenu: L,
5091
- onBlur: P,
5089
+ onBlur: D,
5092
5090
  suppressContentEditableWarning: !0,
5093
5091
  ...U,
5094
5092
  children: q.q
@@ -5097,18 +5095,18 @@ function Sa({
5097
5095
  }
5098
5096
  );
5099
5097
  }
5100
- const ia = "_o_1c9e1_1", _a = "_c_1c9e1_11", Rt = {
5101
- o: ia,
5102
- c: _a
5098
+ const sa = "_o_1c9e1_1", la = "_c_1c9e1_11", Rt = {
5099
+ o: sa,
5100
+ c: la
5103
5101
  };
5104
- function Ra({
5102
+ function Oa({
5105
5103
  title: n,
5106
5104
  error: i,
5107
5105
  edit: c = !0,
5108
5106
  active: u = !0,
5109
5107
  className: v,
5110
- placeholder: C,
5111
- max: T,
5108
+ placeholder: S,
5109
+ max: P,
5112
5110
  min: x,
5113
5111
  onValue: s,
5114
5112
  icon: g,
@@ -5116,7 +5114,7 @@ function Ra({
5116
5114
  value: d,
5117
5115
  after: k
5118
5116
  }) {
5119
- let [S, N] = W.useState(
5117
+ let [C, N] = W.useState(
5120
5118
  d === void 0 ? /* @__PURE__ */ new Date() : d
5121
5119
  );
5122
5120
  const A = W.useRef(null), [$, O] = W.useState(!1);
@@ -5127,11 +5125,11 @@ function Ra({
5127
5125
  let I = (L) => {
5128
5126
  N(L), s == null || s({ value: L, name: o });
5129
5127
  }, K = (L) => {
5130
- const q = L.target.getBoundingClientRect(), E = q.left, P = q.bottom, U = q.top;
5131
- A.position = { x: E, b: P, y: U }, O(!0);
5128
+ const q = L.target.getBoundingClientRect(), E = q.left, D = q.bottom, U = q.top;
5129
+ A.position = { x: E, b: D, y: U }, O(!0);
5132
5130
  };
5133
5131
  const G = {};
5134
- return C && (G.placeholder = C), p ? /* @__PURE__ */ y.jsx(y.Fragment, {}) : /* @__PURE__ */ y.jsxs(y.Fragment, { children: [
5132
+ return S && (G.placeholder = S), p ? /* @__PURE__ */ y.jsx(y.Fragment, {}) : /* @__PURE__ */ y.jsxs(y.Fragment, { children: [
5135
5133
  g ? g() : /* @__PURE__ */ y.jsxs(
5136
5134
  "dl",
5137
5135
  {
@@ -5147,7 +5145,7 @@ function Ra({
5147
5145
  ...G,
5148
5146
  "data-edit": (c && u) + "",
5149
5147
  children: [
5150
- ca(S, "dd.mm.yyyy"),
5148
+ da(C, "dd.mm.yyyy"),
5151
5149
  k
5152
5150
  ]
5153
5151
  }
@@ -5158,12 +5156,12 @@ function Ra({
5158
5156
  ),
5159
5157
  $ && Mt(
5160
5158
  /* @__PURE__ */ y.jsx(
5161
- sa,
5159
+ ca,
5162
5160
  {
5163
5161
  position: A.position,
5164
5162
  onValue: I,
5165
- date: S,
5166
- max: T,
5163
+ date: C,
5164
+ max: P,
5167
5165
  min: x,
5168
5166
  onOpen: O,
5169
5167
  className: v
@@ -5174,14 +5172,14 @@ function Ra({
5174
5172
  )
5175
5173
  ] });
5176
5174
  }
5177
- const sa = ({
5175
+ const ca = ({
5178
5176
  date: n,
5179
5177
  onValue: i,
5180
5178
  position: c,
5181
5179
  max: u,
5182
5180
  min: v,
5183
- className: C,
5184
- onOpen: T
5181
+ className: S,
5182
+ onOpen: P
5185
5183
  }) => {
5186
5184
  let x = /* @__PURE__ */ new Date(), s = new Date(n), g = {
5187
5185
  y: parseInt(x.getFullYear()),
@@ -5191,16 +5189,16 @@ const sa = ({
5191
5189
  y: parseInt(s.getFullYear()),
5192
5190
  d: parseInt(s.getDate()),
5193
5191
  m: parseInt(s.getMonth()) + 1
5194
- }, [d, k] = W.useState({ y: o.y, m: o.m }), S = (h) => {
5192
+ }, [d, k] = W.useState({ y: o.y, m: o.m }), C = (h) => {
5195
5193
  let b = h.getDay();
5196
5194
  return b === 0 && (b = 7), b - 1;
5197
5195
  }, N = ["пн", "вт", "ср", "чт", "пт", "сб", "вс"], A = d.m - 1, $ = new Date(d.y, A), O = [];
5198
- for (let h = 0; h < S($); h++)
5196
+ for (let h = 0; h < C($); h++)
5199
5197
  O.push(0);
5200
5198
  for (; $.getMonth() === A; )
5201
5199
  O.push($.getDate()), $.setDate($.getDate() + 1);
5202
5200
  let p = () => {
5203
- T(!1);
5201
+ P(!1);
5204
5202
  }, I = () => {
5205
5203
  L(d.m + 1, d.y);
5206
5204
  }, K = () => {
@@ -5212,7 +5210,7 @@ const sa = ({
5212
5210
  }, L = (h, b) => {
5213
5211
  b = h > 12 ? b + 1 : h < 1 ? b - 1 : b, h = h > 12 ? 1 : h < 1 ? 12 : h, k({ y: b, m: h });
5214
5212
  };
5215
- 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" } : {}, P = (h) => {
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) => {
5216
5214
  let b = !0;
5217
5215
  if (u) {
5218
5216
  let M = u.getTime(), Y = new Date(d.y, d.m - 1, h).getTime();
@@ -5232,7 +5230,7 @@ const sa = ({
5232
5230
  {
5233
5231
  className: [
5234
5232
  Rt.c,
5235
- C && C + "-backdrop"
5233
+ S && S + "-backdrop"
5236
5234
  ].join(" "),
5237
5235
  style: { top: U + "px", left: R + "px" },
5238
5236
  children: [
@@ -5249,7 +5247,7 @@ const sa = ({
5249
5247
  }
5250
5248
  ) }),
5251
5249
  /* @__PURE__ */ y.jsxs("h2", { children: [
5252
- la(d.m).name,
5250
+ ua(d.m).name,
5253
5251
  " ",
5254
5252
  d.y
5255
5253
  ] }),
@@ -5267,7 +5265,7 @@ const sa = ({
5267
5265
  ] }),
5268
5266
  /* @__PURE__ */ y.jsxs("div", { "grid-calendar": "", children: [
5269
5267
  N.map((h, b) => /* @__PURE__ */ y.jsx("p", { children: h }, "v" + b)),
5270
- O.map((h, b) => /* @__PURE__ */ y.jsx("span", { children: h !== 0 && P(h) ? /* @__PURE__ */ y.jsx(
5268
+ O.map((h, b) => /* @__PURE__ */ y.jsx("span", { children: h !== 0 && D(h) ? /* @__PURE__ */ y.jsx(
5271
5269
  "b",
5272
5270
  {
5273
5271
  ...q(h),
@@ -5282,7 +5280,7 @@ const sa = ({
5282
5280
  )
5283
5281
  ] });
5284
5282
  };
5285
- function la(n) {
5283
+ function ua(n) {
5286
5284
  return n = typeof n == "number" ? n : new Date(n).getMonth() + 1, {
5287
5285
  1: { val: "01", name: "Январь", names: "Января", abc: "Янв" },
5288
5286
  2: { val: "02", name: "Февраль", names: "Февраля", abc: "Февр" },
@@ -5303,7 +5301,7 @@ function Gt(n, i) {
5303
5301
  for (; c.length < n; ) c = "0" + c;
5304
5302
  return c;
5305
5303
  }
5306
- function ca(n, i) {
5304
+ function da(n, i) {
5307
5305
  i === void 0 ? (i = n, n = /* @__PURE__ */ new Date()) : n = new Date(n);
5308
5306
  let c = {
5309
5307
  yyyy: n.getFullYear(),
@@ -5320,27 +5318,27 @@ function ca(n, i) {
5320
5318
  i = i.replace(u, c[u]);
5321
5319
  return i;
5322
5320
  }
5323
- function Ea({
5321
+ function Ta({
5324
5322
  value: n,
5325
5323
  onValue: i,
5326
5324
  name: c,
5327
5325
  error: u,
5328
5326
  icon: v,
5329
- edit: C = !0,
5330
- active: T = !0,
5327
+ edit: S = !0,
5328
+ active: P = !0,
5331
5329
  title: x,
5332
5330
  placeholder: s = "",
5333
5331
  className: g
5334
5332
  }) {
5335
5333
  let [o, d] = W.useState(n);
5336
- const k = W.useRef(null), [S, N] = W.useState(!1);
5334
+ const k = W.useRef(null), [C, N] = W.useState(!1);
5337
5335
  W.useEffect(() => {
5338
5336
  d(n);
5339
5337
  }, [n]);
5340
5338
  let A = (p) => {
5341
5339
  d(p), i && i({ value: p, name: c });
5342
5340
  }, $ = (p) => {
5343
- if (!C || !T) return;
5341
+ if (!S || !P) return;
5344
5342
  const I = p.target.getBoundingClientRect(), K = I.left, G = I.top;
5345
5343
  k.position = { x: K, y: G }, N(!0);
5346
5344
  };
@@ -5359,16 +5357,16 @@ function Ea({
5359
5357
  onClick: $,
5360
5358
  ...O,
5361
5359
  className: [V.f, V.w].join(" "),
5362
- children: da(o, "mm.yyyy")
5360
+ children: pa(o, "mm.yyyy")
5363
5361
  }
5364
5362
  ),
5365
5363
  u && /* @__PURE__ */ y.jsx("em", { children: u })
5366
5364
  ]
5367
5365
  }
5368
5366
  ),
5369
- S && Mt(
5367
+ C && Mt(
5370
5368
  /* @__PURE__ */ y.jsx(
5371
- ua,
5369
+ fa,
5372
5370
  {
5373
5371
  position: k.position,
5374
5372
  onValue: A,
@@ -5381,22 +5379,22 @@ function Ea({
5381
5379
  )
5382
5380
  ] });
5383
5381
  }
5384
- const ua = ({ onOpen: n, date: i, onValue: c, position: u }) => {
5385
- let v = /* @__PURE__ */ new Date(), C = new Date(i), T = {
5382
+ const fa = ({ onOpen: n, date: i, onValue: c, position: u }) => {
5383
+ let v = /* @__PURE__ */ new Date(), S = new Date(i), P = {
5386
5384
  y: parseInt(v.getFullYear()),
5387
5385
  m: parseInt(v.getMonth()) + 1
5388
5386
  }, x = {
5389
- y: parseInt(C.getFullYear()),
5390
- m: parseInt(C.getMonth()) + 1
5387
+ y: parseInt(S.getFullYear()),
5388
+ m: parseInt(S.getMonth()) + 1
5391
5389
  }, [s, g] = W.useState(x.y), o = () => {
5392
5390
  n(!1);
5393
5391
  }, d = () => {
5394
5392
  g(s + 1);
5395
5393
  }, k = () => {
5396
5394
  g(s - 1);
5397
- }, S = (p) => {
5398
- c(s + "-" + fa(2, p)), o();
5399
- }, N = (p) => T.y === x.y && T.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;
5395
+ }, C = (p) => {
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;
5400
5398
  return /* @__PURE__ */ y.jsxs(y.Fragment, { children: [
5401
5399
  /* @__PURE__ */ y.jsx("div", { className: Rt.o, onClick: o }),
5402
5400
  /* @__PURE__ */ y.jsxs("div", { className: Rt.c, style: { top: $ + "px", left: O + "px" }, children: [
@@ -5429,17 +5427,17 @@ const ua = ({ onOpen: n, date: i, onValue: c, position: u }) => {
5429
5427
  "span",
5430
5428
  {
5431
5429
  onClick: () => {
5432
- S(p);
5430
+ C(p);
5433
5431
  },
5434
5432
  color: N(p),
5435
- children: /* @__PURE__ */ y.jsx("b", { children: pa(p).abc })
5433
+ children: /* @__PURE__ */ y.jsx("b", { children: ya(p).abc })
5436
5434
  },
5437
5435
  I
5438
5436
  )) })
5439
5437
  ] })
5440
5438
  ] });
5441
5439
  };
5442
- function da(n, i) {
5440
+ function pa(n, i) {
5443
5441
  i === void 0 ? (i = n, n = /* @__PURE__ */ new Date()) : n = new Date(n);
5444
5442
  let c = {
5445
5443
  yyyy: n.getFullYear(),
@@ -5456,12 +5454,12 @@ function da(n, i) {
5456
5454
  i = i.replace(u, c[u]);
5457
5455
  return i;
5458
5456
  }
5459
- function fa(n, i) {
5457
+ function ma(n, i) {
5460
5458
  let c = i + "";
5461
5459
  for (; c.length < n; ) c = "0" + c;
5462
5460
  return c;
5463
5461
  }
5464
- function pa(n) {
5462
+ function ya(n) {
5465
5463
  return n = typeof n == "number" ? n : new Date(n).getMonth() + 1, {
5466
5464
  1: { val: "01", name: "Январь", names: "Января", abc: "Янв" },
5467
5465
  2: { val: "02", name: "Февраль", names: "Февраля", abc: "Февр" },
@@ -5477,26 +5475,26 @@ function pa(n) {
5477
5475
  12: { val: "12", name: "Декабрь", names: "Декабря", abc: "Дек" }
5478
5476
  }[n];
5479
5477
  }
5480
- function Oa({
5478
+ function Da({
5481
5479
  value: n,
5482
5480
  onValue: i,
5483
5481
  name: c,
5484
5482
  placeholder: u = "",
5485
5483
  title: v = "",
5486
- error: C = "",
5487
- hide: T = !1,
5484
+ error: S = "",
5485
+ hide: P = !1,
5488
5486
  edit: x = !0,
5489
5487
  active: s = !0,
5490
5488
  after: g = "",
5491
5489
  show: o = !0,
5492
5490
  course: d = 100,
5493
5491
  view: k,
5494
- type: S,
5492
+ type: C,
5495
5493
  onSave: N,
5496
5494
  className: A = "",
5497
5495
  isClear: $ = !1
5498
5496
  }) {
5499
- let O = !!(T && (n === "" || n === void 0)), p = (R) => S === "multi" ? R.replace(/[^+\d.+-]/g, "") : R.replace(/[^+\d.]/g, ""), I = (R, h) => {
5497
+ let O = !!(P && (n === "" || n === void 0)), p = (R) => C === "multi" ? R.replace(/[^+\d.+-]/g, "") : R.replace(/[^+\d.]/g, ""), I = (R, h) => {
5500
5498
  let b = document.createRange(), M = window.getSelection();
5501
5499
  b.setStart(h.childNodes[0], R), b.collapse(!0), M.removeAllRanges(), M.addRange(b), h.focus();
5502
5500
  }, K = (R) => {
@@ -5518,7 +5516,7 @@ function Oa({
5518
5516
  });
5519
5517
  }, E = (R) => {
5520
5518
  R.key === "Enter" && R.preventDefault();
5521
- }, P = (R) => {
5519
+ }, D = (R) => {
5522
5520
  R.preventDefault(), navigator.clipboard.readText().then((h) => {
5523
5521
  h = h.replace(/^\s*/, "").replace(/\s*$/, ""), window.document.execCommand("insertText", !1, h);
5524
5522
  }).catch((h) => {
@@ -5539,7 +5537,7 @@ function Oa({
5539
5537
  ...U,
5540
5538
  className: [V.f, V.w].join(" "),
5541
5539
  onInput: K,
5542
- onPaste: P,
5540
+ onPaste: D,
5543
5541
  onBlur: G,
5544
5542
  onKeyDown: E,
5545
5543
  onFocus: L,
@@ -5550,7 +5548,7 @@ function Oa({
5550
5548
  }
5551
5549
  ),
5552
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" }) }),
5553
- C ? /* @__PURE__ */ y.jsx("em", { children: C }) : ""
5551
+ S ? /* @__PURE__ */ y.jsx("em", { children: S }) : ""
5554
5552
  ]
5555
5553
  }
5556
5554
  );
@@ -5559,7 +5557,7 @@ function zt(n, i) {
5559
5557
  return parseFloat(n).toFixed(2).replace(/(\d)(?=(\d{3})+\.)/g, "$1 ");
5560
5558
  }
5561
5559
  const he = {};
5562
- function Ta(n) {
5560
+ function Pa(n) {
5563
5561
  const [i, c] = W.useState({}), u = W.useRef(n);
5564
5562
  return he.u = (v) => {
5565
5563
  u.current = { ...u.current, [v.name]: v.value };
@@ -5569,19 +5567,19 @@ function Ta(n) {
5569
5567
  c(Date.now());
5570
5568
  }, [u.current, he.n];
5571
5569
  }
5572
- function Da(n) {
5570
+ function Na(n) {
5573
5571
  he.u(n), n.reload && he.r();
5574
5572
  }
5575
- function Pa() {
5573
+ function Fa() {
5576
5574
  he.r && he.r();
5577
5575
  }
5578
- function Na(n) {
5576
+ function Ia(n) {
5579
5577
  const [i, c] = W.useState({}), u = W.useRef(n);
5580
5578
  return he.u = (v) => {
5581
5579
  u.current = { ...u.current, [v.name]: v.value };
5582
5580
  }, he.n = (v) => {
5583
- Object.keys(v).length > 0 ? Object.keys(v).forEach((C) => {
5584
- u.current[C] = v[C];
5581
+ Object.keys(v).length > 0 ? Object.keys(v).forEach((S) => {
5582
+ u.current[S] = v[S];
5585
5583
  }) : u.current = {}, c(Date.now());
5586
5584
  }, he.r = () => {
5587
5585
  c(Date.now());
@@ -5591,23 +5589,23 @@ function It() {
5591
5589
  return typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof self < "u" ? self : typeof global < "u" ? global : {};
5592
5590
  }
5593
5591
  It().elcrm || (It().elcrm = {});
5594
- Object.assign(It().elcrm, { form: Vt.version });
5592
+ Object.assign(It().elcrm, { form: Xt.version });
5595
5593
  export {
5596
- Ra as Date,
5597
- xa as Mask,
5598
- ka as Modal,
5599
- Oa as Money,
5600
- Ea as Month,
5601
- Ca as Note,
5602
- ja as Number,
5603
- ha as Options,
5604
- wa as Password,
5605
- Sa as Phone,
5606
- va as Progress,
5607
- ba as Select,
5608
- ga as String,
5609
- Pa as runReload,
5610
- Da as setValue,
5611
- Ta as useData,
5612
- Na as useError
5594
+ Oa as Date,
5595
+ Sa as Mask,
5596
+ ja as Modal,
5597
+ Da as Money,
5598
+ Ta as Month,
5599
+ Ra as Note,
5600
+ Ca as Number,
5601
+ ka as Options,
5602
+ xa as Password,
5603
+ Ea as Phone,
5604
+ ha as Progress,
5605
+ wa as Select,
5606
+ ba as String,
5607
+ Fa as runReload,
5608
+ Na as setValue,
5609
+ Pa as useData,
5610
+ Ia as useError
5613
5611
  };