@elcrm/form 0.0.60 → 0.0.61

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -17,12 +17,12 @@ var Ft;
17
17
  function zt() {
18
18
  if (Ft) return pt;
19
19
  Ft = 1;
20
- var n = S, _ = Symbol.for("react.element"), i = Symbol.for("react.fragment"), c = Object.prototype.hasOwnProperty, d = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, k = { key: !0, ref: !0, __self: !0, __source: !0 };
20
+ var a = S, _ = Symbol.for("react.element"), i = Symbol.for("react.fragment"), c = Object.prototype.hasOwnProperty, d = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, k = { key: !0, ref: !0, __self: !0, __source: !0 };
21
21
  function C(b, l, p) {
22
- var a, s = {}, w = null, j = null;
22
+ var n, s = {}, w = null, j = null;
23
23
  p !== void 0 && (w = "" + p), l.key !== void 0 && (w = "" + l.key), l.ref !== void 0 && (j = l.ref);
24
- for (a in l) c.call(l, a) && !k.hasOwnProperty(a) && (s[a] = l[a]);
25
- if (b && b.defaultProps) for (a in l = b.defaultProps, l) s[a] === void 0 && (s[a] = l[a]);
24
+ for (n in l) c.call(l, n) && !k.hasOwnProperty(n) && (s[n] = l[n]);
25
+ if (b && b.defaultProps) for (n in l = b.defaultProps, l) s[n] === void 0 && (s[n] = l[n]);
26
26
  return { $$typeof: _, type: b, key: w, ref: j, props: s, _owner: d.current };
27
27
  }
28
28
  return pt.Fragment = i, pt.jsx = C, pt.jsxs = C, pt;
@@ -40,14 +40,14 @@ var yt = {};
40
40
  var Mt;
41
41
  function Ht() {
42
42
  return Mt || (Mt = 1, process.env.NODE_ENV !== "production" && function() {
43
- var n = S, _ = Symbol.for("react.element"), i = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), d = Symbol.for("react.strict_mode"), k = Symbol.for("react.profiler"), C = Symbol.for("react.provider"), b = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), p = Symbol.for("react.suspense"), a = Symbol.for("react.suspense_list"), s = Symbol.for("react.memo"), w = Symbol.for("react.lazy"), j = Symbol.for("react.offscreen"), F = Symbol.iterator, K = "@@iterator";
43
+ var a = S, _ = Symbol.for("react.element"), i = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), d = Symbol.for("react.strict_mode"), k = Symbol.for("react.profiler"), C = Symbol.for("react.provider"), b = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), p = Symbol.for("react.suspense"), n = Symbol.for("react.suspense_list"), s = Symbol.for("react.memo"), w = Symbol.for("react.lazy"), j = Symbol.for("react.offscreen"), F = Symbol.iterator, K = "@@iterator";
44
44
  function D(e) {
45
45
  if (e === null || typeof e != "object")
46
46
  return null;
47
47
  var t = F && e[F] || e[K];
48
48
  return typeof t == "function" ? t : null;
49
49
  }
50
- var T = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
50
+ var T = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
51
51
  function y(e) {
52
52
  {
53
53
  for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), o = 1; o < t; o++)
@@ -68,7 +68,7 @@ function Ht() {
68
68
  var q = !1, A = !1, L = !1, M = !1, $ = !1, N;
69
69
  N = Symbol.for("react.module.reference");
70
70
  function E(e) {
71
- return !!(typeof e == "string" || typeof e == "function" || e === c || e === k || $ || e === d || e === p || e === a || M || e === j || q || A || L || typeof e == "object" && e !== null && (e.$$typeof === w || e.$$typeof === s || e.$$typeof === C || e.$$typeof === b || e.$$typeof === l || // This needs to include all possible module reference object
71
+ return !!(typeof e == "string" || typeof e == "function" || e === c || e === k || $ || e === d || e === p || e === n || M || e === j || q || A || L || typeof e == "object" && e !== null && (e.$$typeof === w || e.$$typeof === s || e.$$typeof === C || e.$$typeof === b || e.$$typeof === l || // This needs to include all possible module reference object
72
72
  // types supported by any Flight configuration anywhere since
73
73
  // we don't know which Flight build this will end up being used
74
74
  // with.
@@ -102,7 +102,7 @@ function Ht() {
102
102
  return "StrictMode";
103
103
  case p:
104
104
  return "Suspense";
105
- case a:
105
+ case n:
106
106
  return "SuspenseList";
107
107
  }
108
108
  if (typeof e == "object")
@@ -129,14 +129,14 @@ function Ht() {
129
129
  }
130
130
  return null;
131
131
  }
132
- var I = Object.assign, W = 0, te, H, ne, ke, se, we, xe;
132
+ var I = Object.assign, W = 0, te, H, ae, ke, se, we, xe;
133
133
  function Ce() {
134
134
  }
135
135
  Ce.__reactDisabledLog = !0;
136
136
  function Ue() {
137
137
  {
138
138
  if (W === 0) {
139
- te = console.log, H = console.info, ne = console.warn, ke = console.error, se = console.group, we = console.groupCollapsed, xe = console.groupEnd;
139
+ te = console.log, H = console.info, ae = console.warn, ke = console.error, se = console.group, we = console.groupCollapsed, xe = console.groupEnd;
140
140
  var e = {
141
141
  configurable: !0,
142
142
  enumerable: !0,
@@ -172,7 +172,7 @@ function Ht() {
172
172
  value: H
173
173
  }),
174
174
  warn: I({}, e, {
175
- value: ne
175
+ value: ae
176
176
  }),
177
177
  error: I({}, e, {
178
178
  value: ke
@@ -192,7 +192,7 @@ function Ht() {
192
192
  }
193
193
  }
194
194
  var ce = T.ReactCurrentDispatcher, ue;
195
- function ae(e, t, r) {
195
+ function ne(e, t, r) {
196
196
  {
197
197
  if (ue === void 0)
198
198
  try {
@@ -278,7 +278,7 @@ function Ht() {
278
278
  } finally {
279
279
  de = !1, ce.current = x, qe(), Error.prepareStackTrace = h;
280
280
  }
281
- var X = e ? e.displayName || e.name : "", J = X ? ae(X) : "";
281
+ var X = e ? e.displayName || e.name : "", J = X ? ne(X) : "";
282
282
  return typeof e == "function" && oe.set(e, J), J;
283
283
  }
284
284
  function Ge(e, t, r) {
@@ -294,12 +294,12 @@ function Ht() {
294
294
  if (typeof e == "function")
295
295
  return je(e, Ye(e));
296
296
  if (typeof e == "string")
297
- return ae(e);
297
+ return ne(e);
298
298
  switch (e) {
299
299
  case p:
300
- return ae("Suspense");
301
- case a:
302
- return ae("SuspenseList");
300
+ return ne("Suspense");
301
+ case n:
302
+ return ne("SuspenseList");
303
303
  }
304
304
  if (typeof e == "object")
305
305
  switch (e.$$typeof) {
@@ -415,7 +415,7 @@ function Ht() {
415
415
  });
416
416
  }
417
417
  }
418
- var nt = function(e, t, r, o, h, x, m) {
418
+ var at = function(e, t, r, o, h, x, m) {
419
419
  var u = {
420
420
  // This tag allows us to uniquely identify this as a React Element
421
421
  $$typeof: _,
@@ -444,7 +444,7 @@ function Ht() {
444
444
  value: h
445
445
  }), Object.freeze && (Object.freeze(u.props), Object.freeze(u)), u;
446
446
  };
447
- function at(e, t, r, o, h) {
447
+ function nt(e, t, r, o, h) {
448
448
  {
449
449
  var x, m = {}, u = null, B = null;
450
450
  r !== void 0 && (Te(r), u = "" + r), Qe(t) && (Te(t.key), u = "" + t.key), Xe(t) && (B = t.ref, et(t, h));
@@ -459,7 +459,7 @@ function Ht() {
459
459
  var O = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
460
460
  u && tt(m, O), B && rt(m, O);
461
461
  }
462
- return nt(e, u, B, h, o, Oe.current, m);
462
+ return at(e, u, B, h, o, Oe.current, m);
463
463
  }
464
464
  }
465
465
  var me = T.ReactCurrentOwner, Ne = T.ReactDebugCurrentFrame;
@@ -584,7 +584,7 @@ Check the top-level render call using <` + r + ">.");
584
584
  var R;
585
585
  e === null ? R = "null" : fe(e) ? R = "array" : e !== void 0 && e.$$typeof === _ ? (R = "<" + (v(e.type) || "Unknown") + " />", u = " Did you accidentally export a JSX literal instead of a component?") : R = typeof e, y("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", R, u);
586
586
  }
587
- var O = at(e, t, r, h, x);
587
+ var O = nt(e, t, r, h, x);
588
588
  if (O == null)
589
589
  return O;
590
590
  if (m) {
@@ -629,7 +629,7 @@ React keys must be passed directly to JSX without using spread:
629
629
  }
630
630
  process.env.NODE_ENV === "production" ? Rt.exports = zt() : Rt.exports = Ht();
631
631
  var f = Rt.exports;
632
- function fn({ name: n, value: _, title: i, style: c, className: d }) {
632
+ function da({ name: a, value: _, title: i, style: c, className: d }) {
633
633
  let k = {
634
634
  field: "progress"
635
635
  };
@@ -649,21 +649,21 @@ const Jt = "_l_r5ldz_1", Zt = "_f_r5ldz_25", Vt = "_n_r5ldz_43", Xt = "_w_r5ldz_
649
649
  e: rr
650
650
  };
651
651
  let Z = {};
652
- Z.KeyDown = (n) => {
653
- n.key === "Enter" && n.preventDefault();
652
+ Z.KeyDown = (a) => {
653
+ a.key === "Enter" && a.preventDefault();
654
654
  };
655
- Z.PasteOne = (n) => {
656
- n.preventDefault(), navigator.clipboard.readText().then((_) => {
655
+ Z.PasteOne = (a) => {
656
+ a.preventDefault(), navigator.clipboard.readText().then((_) => {
657
657
  _ = _.replace(/^\s*/, "").replace(/\s*$/, ""), window.document.execCommand("insertText", !1, _);
658
658
  }).catch((_) => {
659
659
  });
660
660
  };
661
- Z.Paste = (n, _) => {
661
+ Z.Paste = (a, _) => {
662
662
  _.preventDefault(), navigator.clipboard.readText().then((i) => {
663
- if (n) {
663
+ if (a) {
664
664
  let c = _.target.textContent.length;
665
- if (c >= n) return;
666
- n -= c, i = i.slice(0, n);
665
+ if (c >= a) return;
666
+ a -= c, i = i.slice(0, a);
667
667
  }
668
668
  window.document.execCommand(
669
669
  "insertText",
@@ -673,32 +673,32 @@ Z.Paste = (n, _) => {
673
673
  }).catch((i) => {
674
674
  });
675
675
  };
676
- Z.Focus = (n) => {
677
- n.target.textContent.length === 0 && (n.target.innerHTML = "<br>");
676
+ Z.Focus = (a) => {
677
+ a.target.textContent.length === 0 && (a.target.innerHTML = "<br>");
678
678
  };
679
- Z.Blur = (n) => {
680
- n.target.scrollLeft = 0, n.target.querySelector("br") !== null && n.target.querySelector("br").remove();
679
+ Z.Blur = (a) => {
680
+ a.target.scrollLeft = 0, a.target.querySelector("br") !== null && a.target.querySelector("br").remove();
681
681
  };
682
682
  Z.ContentEditable = "plaintext-only";
683
- const nr = "_n_1ery1_2", ar = "_e_1ery1_8", or = "_s_1ery1_11", _r = "_r_1ery1_14", We = {
684
- n: nr,
685
- e: ar,
683
+ const ar = "_n_1ery1_2", nr = "_e_1ery1_8", or = "_s_1ery1_11", _r = "_r_1ery1_14", We = {
684
+ n: ar,
685
+ e: nr,
686
686
  s: or,
687
687
  r: _r,
688
688
  с: "_с_1ery1_17"
689
689
  };
690
690
  let be = {};
691
- function vt({ data: n }) {
691
+ function vt({ data: a }) {
692
692
  let [_, i] = S.useState("show");
693
693
  S.useEffect(() => {
694
- n.hide && (setTimeout(function() {
694
+ a.hide && (setTimeout(function() {
695
695
  i("hide");
696
696
  }, 1800), setTimeout(function() {
697
- be.del(n.key);
697
+ be.del(a.key);
698
698
  }, 2500));
699
- }, [n.key]);
699
+ }, [a.key]);
700
700
  let c, d, k;
701
- switch (n.type) {
701
+ switch (a.type) {
702
702
  case "error":
703
703
  c = /* @__PURE__ */ S.createElement(Le.error, null), d = "Ошибка:", k = We.e;
704
704
  break;
@@ -715,17 +715,17 @@ function vt({ data: n }) {
715
715
  c = /* @__PURE__ */ S.createElement(Le.success, null), d = "Предупреждение:", k = We.с;
716
716
  break;
717
717
  }
718
- return /* @__PURE__ */ S.createElement("li", { className: k, "data-status": _ }, c, /* @__PURE__ */ S.createElement("b", null, d), /* @__PURE__ */ S.createElement("p", null, n.text));
718
+ return /* @__PURE__ */ S.createElement("li", { className: k, "data-status": _ }, c, /* @__PURE__ */ S.createElement("b", null, d), /* @__PURE__ */ S.createElement("p", null, a.text));
719
719
  }
720
- function ir({ data: n }) {
720
+ function ir({ data: a }) {
721
721
  let [_, i] = S.useState("show");
722
722
  return S.useEffect(() => {
723
- n.hide && (setTimeout(function() {
723
+ a.hide && (setTimeout(function() {
724
724
  i("hide");
725
725
  }, 1800), setTimeout(function() {
726
- be.del(n.key);
726
+ be.del(a.key);
727
727
  }, 2500));
728
- }, [n.key]), /* @__PURE__ */ S.createElement("li", { className: "item", "data-status": _ }, n.text);
728
+ }, [a.key]), /* @__PURE__ */ S.createElement("li", { className: "item", "data-status": _ }, a.text);
729
729
  }
730
730
  const Le = {};
731
731
  Le.error = () => /* @__PURE__ */ S.createElement("svg", { viewBox: "0 0 24 24", fill: "none" }, /* @__PURE__ */ S.createElement(
@@ -755,65 +755,65 @@ Le.success = () => /* @__PURE__ */ S.createElement("svg", { viewBox: "0 0 24 24"
755
755
  }
756
756
  ));
757
757
  var xt;
758
- ((n) => {
758
+ ((a) => {
759
759
  function _({ className: l }) {
760
- let [p, a] = S.useState([]);
760
+ let [p, n] = S.useState([]);
761
761
  return be.set = (s) => {
762
- a([...p, s]);
762
+ n([...p, s]);
763
763
  }, be.del = (s) => {
764
- a(p.filter((w) => w.key !== s));
764
+ n(p.filter((w) => w.key !== s));
765
765
  }, p.length === 0 ? "" : /* @__PURE__ */ S.createElement("ul", { className: [We.n, l].filter((s) => s).join(" ") }, p.map((s) => s.item));
766
766
  }
767
- n.Init = _;
767
+ a.Init = _;
768
768
  function i(l, p = !0) {
769
- let a = Date.now(), s = { key: a, text: l, hide: p, type: "error" };
769
+ let n = Date.now(), s = { key: n, text: l, hide: p, type: "error" };
770
770
  be.set({
771
- item: /* @__PURE__ */ S.createElement(vt, { key: a, data: s }),
772
- key: a
771
+ item: /* @__PURE__ */ S.createElement(vt, { key: n, data: s }),
772
+ key: n
773
773
  });
774
774
  }
775
- n.Error = i;
775
+ a.Error = i;
776
776
  function c(l, p = !0) {
777
- let a = Date.now(), s = { key: a, text: l, hide: p, type: "success" };
777
+ let n = Date.now(), s = { key: n, text: l, hide: p, type: "success" };
778
778
  be.set({
779
- item: /* @__PURE__ */ S.createElement(vt, { key: a, data: s }),
780
- key: a
779
+ item: /* @__PURE__ */ S.createElement(vt, { key: n, data: s }),
780
+ key: n
781
781
  });
782
782
  }
783
- n.Success = c;
783
+ a.Success = c;
784
784
  function d(l, p = !0) {
785
- let a = Date.now(), s = { key: a, hide: p, text: l };
786
- be.set({ item: /* @__PURE__ */ S.createElement(ir, { key: a, data: s }), key: a });
785
+ let n = Date.now(), s = { key: n, hide: p, text: l };
786
+ be.set({ item: /* @__PURE__ */ S.createElement(ir, { key: n, data: s }), key: n });
787
787
  }
788
- n.Custom = d;
788
+ a.Custom = d;
789
789
  function k(l) {
790
- let p = Date.now(), a = { key: p, hide: !0, ...l };
790
+ let p = Date.now(), n = { key: p, hide: !0, ...l };
791
791
  be.set({
792
- item: /* @__PURE__ */ S.createElement(vt, { key: p, data: a }),
792
+ item: /* @__PURE__ */ S.createElement(vt, { key: p, data: n }),
793
793
  key: p
794
794
  });
795
795
  }
796
- n.Send = k;
796
+ a.Send = k;
797
797
  function C(l, p = !0) {
798
- let a = Date.now(), s = { key: a, text: l, hide: p, type: "remark" };
798
+ let n = Date.now(), s = { key: n, text: l, hide: p, type: "remark" };
799
799
  be.set({
800
- item: /* @__PURE__ */ S.createElement(vt, { key: a, data: s }),
801
- key: a
800
+ item: /* @__PURE__ */ S.createElement(vt, { key: n, data: s }),
801
+ key: n
802
802
  });
803
803
  }
804
- n.Remark = C;
804
+ a.Remark = C;
805
805
  function b(l, p = !0) {
806
- let a = Date.now(), s = { key: a, text: l, hide: p, type: "copy" };
806
+ let n = Date.now(), s = { key: n, text: l, hide: p, type: "copy" };
807
807
  be.set({
808
- item: /* @__PURE__ */ S.createElement(vt, { key: a, data: s }),
809
- key: a
808
+ item: /* @__PURE__ */ S.createElement(vt, { key: n, data: s }),
809
+ key: n
810
810
  });
811
811
  }
812
- n.Copy = b;
812
+ a.Copy = b;
813
813
  })(xt || (xt = {}));
814
814
  const he = qt(
815
815
  ({
816
- element_blok: n,
816
+ element_blok: a,
817
817
  element_input: _,
818
818
  type: i = "input",
819
819
  title: c,
@@ -825,7 +825,7 @@ const he = qt(
825
825
  "dl",
826
826
  {
827
827
  "data-field": i,
828
- className: [Q.l, ...n.className].filter((p) => p !== void 0).join(" "),
828
+ className: [Q.l, ...a.className].filter((p) => p !== void 0).join(" "),
829
829
  children: [
830
830
  c ? /* @__PURE__ */ f.jsx("dt", { className: Q.t, children: c }) : "",
831
831
  k,
@@ -847,8 +847,8 @@ const he = qt(
847
847
  }
848
848
  )
849
849
  );
850
- function mn({
851
- value: n = "",
850
+ function fa({
851
+ value: a = "",
852
852
  onValue: _,
853
853
  onSave: i,
854
854
  name: c,
@@ -858,13 +858,13 @@ function mn({
858
858
  error: b = "",
859
859
  hide: l = !1,
860
860
  edit: p = !0,
861
- active: a = !0,
861
+ active: n = !0,
862
862
  after: s = "",
863
863
  show: w = !0,
864
864
  view: j,
865
865
  className: F = ""
866
866
  }) {
867
- p = p !== void 0 ? p : !0, a = a !== void 0 ? a : !0, l = !!(l && (n === "" || n === void 0)) && !(p && a), S.useRef(null);
867
+ p = p !== void 0 ? p : !0, n = n !== void 0 ? n : !0, l = !!(l && (a === "" || a === void 0)) && !(p && n), S.useRef(null);
868
868
  let D = d, T = !0, y = 0, P = (g, v) => {
869
869
  let I = document.createRange(), W = window.getSelection();
870
870
  I.setStart(v.childNodes[0], g), I.collapse(!0), W.removeAllRanges(), W.addRange(I), v.focus();
@@ -880,8 +880,8 @@ function mn({
880
880
  te.forEach((se) => {
881
881
  T && (H += se, T && (y = ("" + H).length, D = d.replace(new RegExp("[0-9]", "g"), "_"), I = ""), y > ("" + H).length && (T = !0, D = d.replace(new RegExp("[0-9]", "g"), "_"), I = ""));
882
882
  });
883
- let ne = D.replace(/\D/g, "");
884
- return ne.length >= W.length && (W = ne), { q: D.replace(/[_\d]/g, function() {
883
+ let ae = D.replace(/\D/g, "");
884
+ return ae.length >= W.length && (W = ae), { q: D.replace(/[_\d]/g, function() {
885
885
  return W.charAt(v++) || "_";
886
886
  }), i: v, v: W, f: I };
887
887
  }, L = (g) => {
@@ -892,7 +892,7 @@ function mn({
892
892
  function(v) {
893
893
  }
894
894
  );
895
- }, M = A(n), $ = (g) => {
895
+ }, M = A(a), $ = (g) => {
896
896
  let v = A(g.target.textContent);
897
897
  g.target.textContent = v.q, v.i = v.q.lastIndexOf(v.v.substr(-1)), v.i < v.q.length && v.q !== D ? v.i++ : v.i = v.q.indexOf("_"), P(v.i, g.target), _ && _({ value: v.q.replace(/\D/g, ""), name: c });
898
898
  }, N = (g) => {
@@ -905,7 +905,7 @@ function mn({
905
905
  });
906
906
  };
907
907
  let G = {};
908
- return p && a ? (G.edit = "true", G.contentEditable = Z.ContentEditable) : G.contentEditable = "false", k && (G.placeholder = k), s && (G.after = s), l ? /* @__PURE__ */ f.jsx(f.Fragment, {}) : /* @__PURE__ */ f.jsx(
908
+ return p && n ? (G.edit = "true", G.contentEditable = Z.ContentEditable) : G.contentEditable = "false", k && (G.placeholder = k), s && (G.after = s), l ? /* @__PURE__ */ f.jsx(f.Fragment, {}) : /* @__PURE__ */ f.jsx(
909
909
  he,
910
910
  {
911
911
  type: "input",
@@ -932,8 +932,8 @@ const sr = "_o_1c9e1_1", lr = "_c_1c9e1_11", Ct = {
932
932
  o: sr,
933
933
  c: lr
934
934
  };
935
- function pn({
936
- value: n,
935
+ function ma({
936
+ value: a,
937
937
  onValue: _,
938
938
  name: i,
939
939
  error: c,
@@ -944,11 +944,11 @@ function pn({
944
944
  placeholder: l = "",
945
945
  className: p
946
946
  }) {
947
- let [a, s] = S.useState(n);
947
+ let [n, s] = S.useState(a);
948
948
  const w = S.useRef(null), [j, F] = S.useState(!1);
949
949
  S.useEffect(() => {
950
- s(n);
951
- }, [n]);
950
+ s(a);
951
+ }, [a]);
952
952
  let K = (y) => {
953
953
  s(y), _ && _({ value: y, name: i });
954
954
  }, D = (y) => {
@@ -965,7 +965,7 @@ function pn({
965
965
  title: b,
966
966
  element_blok: { className: [p] },
967
967
  element_input: { className: [Q.w] },
968
- children: /* @__PURE__ */ f.jsx("div", { onClick: D, ...T, children: ur(a, "mm.yyyy") })
968
+ children: /* @__PURE__ */ f.jsx("div", { onClick: D, ...T, children: ur(n, "mm.yyyy") })
969
969
  }
970
970
  ),
971
971
  j && Nt(
@@ -974,7 +974,7 @@ function pn({
974
974
  {
975
975
  position: w.position,
976
976
  onValue: K,
977
- date: a,
977
+ date: n,
978
978
  onOpen: F
979
979
  },
980
980
  (/* @__PURE__ */ new Date()).getTime()
@@ -983,24 +983,24 @@ function pn({
983
983
  )
984
984
  ] });
985
985
  }
986
- const cr = ({ onOpen: n, date: _, onValue: i, position: c }) => {
986
+ const cr = ({ onOpen: a, date: _, onValue: i, position: c }) => {
987
987
  let d = /* @__PURE__ */ new Date(), k = new Date(_), C = {
988
988
  y: parseInt(d.getFullYear()),
989
989
  m: parseInt(d.getMonth()) + 1
990
990
  }, b = {
991
991
  y: parseInt(k.getFullYear()),
992
992
  m: parseInt(k.getMonth()) + 1
993
- }, [l, p] = S.useState(b.y), a = () => {
994
- n(!1);
993
+ }, [l, p] = S.useState(b.y), n = () => {
994
+ a(!1);
995
995
  }, s = () => {
996
996
  p(l + 1);
997
997
  }, w = () => {
998
998
  p(l - 1);
999
999
  }, j = (y) => {
1000
- i(l + "-" + dr(2, y)), a();
1000
+ i(l + "-" + dr(2, y)), n();
1001
1001
  }, F = (y) => C.y === b.y && C.m === y ? "_FFEB3B" : "", K = Array(12).fill("").map((y, P) => P + 1), D = window.innerHeight - c.y + 33 < 320 ? c.y - 312 : c.y + 33, T = window.innerWidth - c.x < 265 ? c.x - 235 : c.x;
1002
1002
  return /* @__PURE__ */ f.jsxs(f.Fragment, { children: [
1003
- /* @__PURE__ */ f.jsx("div", { className: Ct.o, onClick: a }),
1003
+ /* @__PURE__ */ f.jsx("div", { className: Ct.o, onClick: n }),
1004
1004
  /* @__PURE__ */ f.jsxs("div", { className: Ct.c, style: { top: D + "px", left: T + "px" }, children: [
1005
1005
  /* @__PURE__ */ f.jsxs("s", { children: [
1006
1006
  /* @__PURE__ */ f.jsx("i", { onClick: w, children: /* @__PURE__ */ f.jsx(
@@ -1041,16 +1041,16 @@ const cr = ({ onOpen: n, date: _, onValue: i, position: c }) => {
1041
1041
  ] })
1042
1042
  ] });
1043
1043
  };
1044
- function ur(n, _) {
1045
- _ === void 0 ? (_ = n, n = /* @__PURE__ */ new Date()) : n = new Date(n);
1044
+ function ur(a, _) {
1045
+ _ === void 0 ? (_ = a, a = /* @__PURE__ */ new Date()) : a = new Date(a);
1046
1046
  let i = {
1047
- yyyy: n.getFullYear(),
1048
- yy: ("" + n.getFullYear()).slice(-2),
1049
- mm: ("0" + (n.getMonth() + 1)).slice(-2),
1050
- dd: ("0" + n.getDate()).slice(-2),
1051
- HH: ("0" + n.getHours()).slice(-2),
1052
- MM: ("0" + n.getMinutes()).slice(-2),
1053
- SS: ("0" + n.getSeconds()).slice(-2),
1047
+ yyyy: a.getFullYear(),
1048
+ yy: ("" + a.getFullYear()).slice(-2),
1049
+ mm: ("0" + (a.getMonth() + 1)).slice(-2),
1050
+ dd: ("0" + a.getDate()).slice(-2),
1051
+ HH: ("0" + a.getHours()).slice(-2),
1052
+ MM: ("0" + a.getMinutes()).slice(-2),
1053
+ SS: ("0" + a.getSeconds()).slice(-2),
1054
1054
  __: "      ",
1055
1055
  _: "    "
1056
1056
  };
@@ -1058,13 +1058,13 @@ function ur(n, _) {
1058
1058
  _ = _.replace(c, i[c]);
1059
1059
  return _;
1060
1060
  }
1061
- function dr(n, _) {
1061
+ function dr(a, _) {
1062
1062
  let i = _ + "";
1063
- for (; i.length < n; ) i = "0" + i;
1063
+ for (; i.length < a; ) i = "0" + i;
1064
1064
  return i;
1065
1065
  }
1066
- function fr(n) {
1067
- return n = typeof n == "number" ? n : new Date(n).getMonth() + 1, {
1066
+ function fr(a) {
1067
+ return a = typeof a == "number" ? a : new Date(a).getMonth() + 1, {
1068
1068
  1: { val: "01", name: "Январь", names: "Января", abc: "Янв" },
1069
1069
  2: { val: "02", name: "Февраль", names: "Февраля", abc: "Февр" },
1070
1070
  3: { val: "03", name: "Март", names: "Марта", abc: "Март" },
@@ -1077,10 +1077,10 @@ function fr(n) {
1077
1077
  10: { val: "10", name: "Октябрь", names: "Октября", abc: "Окт" },
1078
1078
  11: { val: "11", name: "Ноябрь", names: "Ноября", abc: "Нояб" },
1079
1079
  12: { val: "12", name: "Декабрь", names: "Декабря", abc: "Дек" }
1080
- }[n];
1080
+ }[a];
1081
1081
  }
1082
- function yn({
1083
- value: n,
1082
+ function pa({
1083
+ value: a,
1084
1084
  onValue: _,
1085
1085
  name: i,
1086
1086
  placeholder: c = "",
@@ -1090,7 +1090,7 @@ function yn({
1090
1090
  edit: b = !0,
1091
1091
  active: l = !0,
1092
1092
  after: p = "",
1093
- show: a = !0,
1093
+ show: n = !0,
1094
1094
  course: s = 100,
1095
1095
  view: w,
1096
1096
  type: j,
@@ -1098,7 +1098,7 @@ function yn({
1098
1098
  className: K = "",
1099
1099
  isClear: D = !1
1100
1100
  }) {
1101
- let T = !!(C && (n === "" || n === void 0)), y = (E) => j === "multi" ? E.replace(/[^+\d.+-]/g, "") : E.replace(/[^+\d.]/g, ""), P = (E, G) => {
1101
+ let T = !!(C && (a === "" || a === void 0)), y = (E) => j === "multi" ? E.replace(/[^+\d.+-]/g, "") : E.replace(/[^+\d.]/g, ""), P = (E, G) => {
1102
1102
  let g = document.createRange(), v = window.getSelection();
1103
1103
  g.setStart(G.childNodes[0], E), g.collapse(!0), v.removeAllRanges(), v.addRange(g), G.focus();
1104
1104
  }, q = (E) => {
@@ -1121,7 +1121,7 @@ function yn({
1121
1121
  }).catch((G) => {
1122
1122
  });
1123
1123
  };
1124
- if (!(b && l) && !a || !(b && l) && T) return "";
1124
+ if (!(b && l) && !n || !(b && l) && T) return "";
1125
1125
  const N = {};
1126
1126
  return N.inputMode = "decimal", c && (N.placeholder = c), b && l && (N.edit = ""), /* @__PURE__ */ f.jsx(
1127
1127
  he,
@@ -1142,17 +1142,17 @@ function yn({
1142
1142
  contentEditable: b && l ? Z.ContentEditable : "false",
1143
1143
  suppressContentEditableWarning: !0,
1144
1144
  "data-after": p,
1145
- children: !c || n ? It(n) : ""
1145
+ children: !c || a ? It(a) : ""
1146
1146
  }
1147
1147
  )
1148
1148
  }
1149
1149
  );
1150
1150
  }
1151
- function It(n, _) {
1152
- return parseFloat(n).toFixed(2).replace(/(\d)(?=(\d{3})+\.)/g, "$1 ");
1151
+ function It(a, _) {
1152
+ return parseFloat(a).toFixed(2).replace(/(\d)(?=(\d{3})+\.)/g, "$1 ");
1153
1153
  }
1154
- function vn({
1155
- title: n,
1154
+ function ya({
1155
+ title: a,
1156
1156
  error: _,
1157
1157
  edit: i = !0,
1158
1158
  active: c = !0,
@@ -1162,7 +1162,7 @@ function vn({
1162
1162
  min: b,
1163
1163
  onValue: l,
1164
1164
  icon: p,
1165
- name: a = "",
1165
+ name: n = "",
1166
1166
  value: s,
1167
1167
  after: w
1168
1168
  }) {
@@ -1175,7 +1175,7 @@ function vn({
1175
1175
  F(s === void 0 ? /* @__PURE__ */ new Date() : s);
1176
1176
  }, [s]);
1177
1177
  let P = (L) => {
1178
- F(L), l == null || l({ value: L, name: a });
1178
+ F(L), l == null || l({ value: L, name: n });
1179
1179
  }, q = (L) => {
1180
1180
  const M = L.target.getBoundingClientRect(), $ = M.left, N = M.bottom, E = M.top;
1181
1181
  K.position = { x: $, b: N, y: E }, T(!0);
@@ -1188,7 +1188,7 @@ function vn({
1188
1188
  "data-field": "date",
1189
1189
  className: [Q.l, d].filter((L) => L !== void 0).join(" "),
1190
1190
  children: [
1191
- n ? /* @__PURE__ */ f.jsx("dt", { className: Q.t, children: n }) : "",
1191
+ a ? /* @__PURE__ */ f.jsx("dt", { className: Q.t, children: a }) : "",
1192
1192
  /* @__PURE__ */ f.jsxs(
1193
1193
  "dd",
1194
1194
  {
@@ -1225,7 +1225,7 @@ function vn({
1225
1225
  ] });
1226
1226
  }
1227
1227
  const mr = ({
1228
- date: n,
1228
+ date: a,
1229
1229
  onValue: _,
1230
1230
  position: i,
1231
1231
  max: c,
@@ -1233,15 +1233,15 @@ const mr = ({
1233
1233
  className: k,
1234
1234
  onOpen: C
1235
1235
  }) => {
1236
- let b = /* @__PURE__ */ new Date(), l = new Date(n), p = {
1236
+ let b = /* @__PURE__ */ new Date(), l = new Date(a), p = {
1237
1237
  y: parseInt(b.getFullYear()),
1238
1238
  d: parseInt(b.getDate()),
1239
1239
  m: parseInt(b.getMonth()) + 1
1240
- }, a = {
1240
+ }, n = {
1241
1241
  y: parseInt(l.getFullYear()),
1242
1242
  d: parseInt(l.getDate()),
1243
1243
  m: parseInt(l.getMonth()) + 1
1244
- }, [s, w] = S.useState({ y: a.y, m: a.m }), j = (g) => {
1244
+ }, [s, w] = S.useState({ y: n.y, m: n.m }), j = (g) => {
1245
1245
  let v = g.getDay();
1246
1246
  return v === 0 && (v = 7), v - 1;
1247
1247
  }, F = ["пн", "вт", "ср", "чт", "пт", "сб", "вс"], K = s.m - 1, D = new Date(s.y, K), T = [];
@@ -1262,7 +1262,7 @@ const mr = ({
1262
1262
  }, L = (g, v) => {
1263
1263
  v = g > 12 ? v + 1 : g < 1 ? v - 1 : v, g = g > 12 ? 1 : g < 1 ? 12 : g, w({ y: v, m: g });
1264
1264
  };
1265
- const M = (g) => p.y === s.y && p.m === s.m && p.d === g ? { "data-active": "true" } : {}, $ = (g) => a.y === s.y && a.m === s.m && a.d === g ? { "data-current": "true" } : {}, N = (g) => {
1265
+ const M = (g) => p.y === s.y && p.m === s.m && p.d === g ? { "data-active": "true" } : {}, $ = (g) => n.y === s.y && n.m === s.m && n.d === g ? { "data-current": "true" } : {}, N = (g) => {
1266
1266
  let v = !0;
1267
1267
  if (c) {
1268
1268
  let I = c.getTime(), W = new Date(s.y, s.m - 1, g).getTime();
@@ -1332,8 +1332,8 @@ const mr = ({
1332
1332
  )
1333
1333
  ] });
1334
1334
  };
1335
- function pr(n) {
1336
- return n = typeof n == "number" ? n : new Date(n).getMonth() + 1, {
1335
+ function pr(a) {
1336
+ return a = typeof a == "number" ? a : new Date(a).getMonth() + 1, {
1337
1337
  1: { val: "01", name: "Январь", names: "Января", abc: "Янв" },
1338
1338
  2: { val: "02", name: "Февраль", names: "Февраля", abc: "Февр" },
1339
1339
  3: { val: "03", name: "Март", names: "Марта", abc: "Март" },
@@ -1346,23 +1346,23 @@ function pr(n) {
1346
1346
  10: { val: "10", name: "Октябрь", names: "Октября", abc: "Окт" },
1347
1347
  11: { val: "11", name: "Ноябрь", names: "Ноября", abc: "Нояб" },
1348
1348
  12: { val: "12", name: "Декабрь", names: "Декабря", abc: "Дек" }
1349
- }[n];
1349
+ }[a];
1350
1350
  }
1351
- function At(n, _) {
1351
+ function At(a, _) {
1352
1352
  let i = _ + "";
1353
- for (; i.length < n; ) i = "0" + i;
1353
+ for (; i.length < a; ) i = "0" + i;
1354
1354
  return i;
1355
1355
  }
1356
- function yr(n, _) {
1357
- _ === void 0 ? (_ = n, n = /* @__PURE__ */ new Date()) : n = new Date(n);
1356
+ function yr(a, _) {
1357
+ _ === void 0 ? (_ = a, a = /* @__PURE__ */ new Date()) : a = new Date(a);
1358
1358
  let i = {
1359
- yyyy: n.getFullYear(),
1360
- yy: ("" + n.getFullYear()).slice(-2),
1361
- mm: ("0" + (n.getMonth() + 1)).slice(-2),
1362
- dd: ("0" + n.getDate()).slice(-2),
1363
- HH: ("0" + n.getHours()).slice(-2),
1364
- MM: ("0" + n.getMinutes()).slice(-2),
1365
- SS: ("0" + n.getSeconds()).slice(-2),
1359
+ yyyy: a.getFullYear(),
1360
+ yy: ("" + a.getFullYear()).slice(-2),
1361
+ mm: ("0" + (a.getMonth() + 1)).slice(-2),
1362
+ dd: ("0" + a.getDate()).slice(-2),
1363
+ HH: ("0" + a.getHours()).slice(-2),
1364
+ MM: ("0" + a.getMinutes()).slice(-2),
1365
+ SS: ("0" + a.getSeconds()).slice(-2),
1366
1366
  __: "      ",
1367
1367
  _: "    "
1368
1368
  };
@@ -1370,8 +1370,8 @@ function yr(n, _) {
1370
1370
  _ = _.replace(c, i[c]);
1371
1371
  return _;
1372
1372
  }
1373
- function gn({
1374
- value: n,
1373
+ function va({
1374
+ value: a,
1375
1375
  onValue: _,
1376
1376
  name: i,
1377
1377
  placeholder: c = "",
@@ -1381,7 +1381,7 @@ function gn({
1381
1381
  edit: b = !0,
1382
1382
  active: l = !0,
1383
1383
  after: p = "",
1384
- show: a = !0,
1384
+ show: n = !0,
1385
1385
  maxLength: s,
1386
1386
  error: w = "",
1387
1387
  onSave: j,
@@ -1408,7 +1408,7 @@ function gn({
1408
1408
  });
1409
1409
  };
1410
1410
  if (C) return /* @__PURE__ */ f.jsx(f.Fragment, {});
1411
- if (!(b && l) && !a) return "";
1411
+ if (!(b && l) && !n) return "";
1412
1412
  const P = {};
1413
1413
  c && (P.placeholder = c), b && l && (P.edit = "");
1414
1414
  const q = (A) => {
@@ -1432,7 +1432,7 @@ function gn({
1432
1432
  contentEditable: b && l ? Z.ContentEditable : "false",
1433
1433
  suppressContentEditableWarning: !0,
1434
1434
  ...P,
1435
- children: n
1435
+ children: a
1436
1436
  }
1437
1437
  )
1438
1438
  }
@@ -2820,8 +2820,8 @@ const Et = {
2820
2820
  mask: "+1939(___) ___-__-__"
2821
2821
  }
2822
2822
  };
2823
- function hn({
2824
- value: n,
2823
+ function ga({
2824
+ value: a,
2825
2825
  onValue: _,
2826
2826
  onSave: i,
2827
2827
  name: c = "",
@@ -2831,13 +2831,13 @@ function hn({
2831
2831
  error: b = "",
2832
2832
  hide: l = !1,
2833
2833
  edit: p = !0,
2834
- active: a = !0,
2834
+ active: n = !0,
2835
2835
  after: s = "",
2836
2836
  show: w = !0,
2837
2837
  view: j,
2838
2838
  className: F = ""
2839
2839
  }) {
2840
- p = p !== void 0 ? p : !0, a = a !== void 0 ? a : !0, l = !!(l && (n === "" || n === void 0)) && !(p && a), S.useRef(null);
2840
+ p = p !== void 0 ? p : !0, n = n !== void 0 ? n : !0, l = !!(l && (a === "" || a === void 0)) && !(p && n), S.useRef(null);
2841
2841
  let D = "+_(___) ___-__-__", T = !0, y = 0, P = (g, v) => {
2842
2842
  let I = document.createRange(), W = window.getSelection();
2843
2843
  I.setStart(v.childNodes[0], g), I.collapse(!0), W.removeAllRanges(), W.addRange(I), v.focus();
@@ -2862,8 +2862,8 @@ function hn({
2862
2862
  "_"
2863
2863
  ), I = "")));
2864
2864
  });
2865
- let ne = D.replace(/\D/g, "");
2866
- return ne.length >= W.length && (W = ne), { q: D.replace(/[_\d]/g, function() {
2865
+ let ae = D.replace(/\D/g, "");
2866
+ return ae.length >= W.length && (W = ae), { q: D.replace(/[_\d]/g, function() {
2867
2867
  return W.charAt(v++) || "_";
2868
2868
  }), i: v, v: W, f: I };
2869
2869
  }, M = (g) => {
@@ -2874,7 +2874,7 @@ function hn({
2874
2874
  function(v) {
2875
2875
  }
2876
2876
  );
2877
- }, $ = L(n), N = (g) => {
2877
+ }, $ = L(a), N = (g) => {
2878
2878
  g.key === "Enter" && g.preventDefault();
2879
2879
  };
2880
2880
  const E = (g) => {
@@ -2884,7 +2884,7 @@ function hn({
2884
2884
  });
2885
2885
  };
2886
2886
  let G = {};
2887
- return p && a ? (G.edit = "true", G.contentEditable = Z.ContentEditable) : G.contentEditable = "false", d && (G.placeholder = d), l ? /* @__PURE__ */ f.jsx(f.Fragment, {}) : /* @__PURE__ */ f.jsx(
2887
+ return p && n ? (G.edit = "true", G.contentEditable = Z.ContentEditable) : G.contentEditable = "false", d && (G.placeholder = d), l ? /* @__PURE__ */ f.jsx(f.Fragment, {}) : /* @__PURE__ */ f.jsx(
2888
2888
  he,
2889
2889
  {
2890
2890
  type: "input",
@@ -2909,8 +2909,8 @@ function hn({
2909
2909
  }
2910
2910
  );
2911
2911
  }
2912
- function kn({
2913
- value: n,
2912
+ function ha({
2913
+ value: a,
2914
2914
  onValue: _,
2915
2915
  name: i = "",
2916
2916
  inputmode: c = "text",
@@ -2920,7 +2920,7 @@ function kn({
2920
2920
  show: b = !0,
2921
2921
  hide: l = !1,
2922
2922
  edit: p = !0,
2923
- active: a = !0,
2923
+ active: n = !0,
2924
2924
  maxLength: s,
2925
2925
  onSave: w,
2926
2926
  className: j = "",
@@ -2931,7 +2931,7 @@ function kn({
2931
2931
  before: y = "",
2932
2932
  error: P = ""
2933
2933
  }) {
2934
- const q = !!(l && (n === "" || n === void 0)), A = (E) => {
2934
+ const q = !!(l && (a === "" || a === void 0)), A = (E) => {
2935
2935
  _ && _({
2936
2936
  value: E.target.textContent.trim(),
2937
2937
  name: i,
@@ -2954,9 +2954,9 @@ function kn({
2954
2954
  }).catch((G) => {
2955
2955
  });
2956
2956
  };
2957
- if (!(p && a) && !b || !(p && a) && q) return "";
2957
+ if (!(p && n) && !b || !(p && n) && q) return "";
2958
2958
  const $ = {};
2959
- d && ($.placeholder = d), p && a && ($.edit = "");
2959
+ d && ($.placeholder = d), p && n && ($.edit = "");
2960
2960
  const N = (E) => {
2961
2961
  Z.Blur(E), w == null || w({ value: E.target.textContent.trim(), name: i });
2962
2962
  };
@@ -2979,10 +2979,10 @@ function kn({
2979
2979
  onKeyDown: L,
2980
2980
  spellCheck: F,
2981
2981
  inputMode: c || "text",
2982
- contentEditable: p && a ? Z.ContentEditable : "false",
2982
+ contentEditable: p && n ? Z.ContentEditable : "false",
2983
2983
  suppressContentEditableWarning: !0,
2984
2984
  ...$,
2985
- children: n
2985
+ children: a
2986
2986
  }
2987
2987
  ),
2988
2988
  T
@@ -2990,8 +2990,8 @@ function kn({
2990
2990
  }
2991
2991
  );
2992
2992
  }
2993
- function bn({
2994
- onValue: n,
2993
+ function ka({
2994
+ onValue: a,
2995
2995
  onSave: _,
2996
2996
  active: i,
2997
2997
  max: c,
@@ -3001,7 +3001,7 @@ function bn({
3001
3001
  show: b,
3002
3002
  hide: l,
3003
3003
  value: p,
3004
- placeholder: a,
3004
+ placeholder: n,
3005
3005
  className: s,
3006
3006
  maxLength: w,
3007
3007
  name: j = "",
@@ -3009,9 +3009,9 @@ function bn({
3009
3009
  before: K = "",
3010
3010
  view: D
3011
3011
  }) {
3012
- d = d !== void 0 ? d : !0, i = i !== void 0 ? i : !0, l = !!(l && (p === "" || p === void 0)) && !(d && i), a = a !== void 0 ? a : "", c = c !== void 0 ? c : 99;
3012
+ d = d !== void 0 ? d : !0, i = i !== void 0 ? i : !0, l = !!(l && (p === "" || p === void 0)) && !(d && i), n = n !== void 0 ? n : "", c = c !== void 0 ? c : 99;
3013
3013
  let y = !1, P = (N) => {
3014
- n == null || n({ value: N.target.textContent, name: j });
3014
+ a == null || a({ value: N.target.textContent, name: j });
3015
3015
  }, q = (N) => {
3016
3016
  if (!(y && N.which === 86)) {
3017
3017
  if (N.which === 17 || N.which === 91) return y = !0;
@@ -3034,7 +3034,7 @@ function bn({
3034
3034
  Z.Blur(N), _ == null || _({ value: N.target.textContent, name: j });
3035
3035
  };
3036
3036
  let $ = {};
3037
- return d && i ? ($.edit = "true", $.contentEditable = Z.ContentEditable) : $.contentEditable = "false", $.inputMode = "decimal", a && ($.placeholder = a), l ? /* @__PURE__ */ f.jsx(f.Fragment, {}) : /* @__PURE__ */ f.jsx(
3037
+ return d && i ? ($.edit = "true", $.contentEditable = Z.ContentEditable) : $.contentEditable = "false", $.inputMode = "decimal", n && ($.placeholder = n), l ? /* @__PURE__ */ f.jsx(f.Fragment, {}) : /* @__PURE__ */ f.jsx(
3038
3038
  he,
3039
3039
  {
3040
3040
  type: "numeric",
@@ -3074,12 +3074,12 @@ var $t;
3074
3074
  function vr() {
3075
3075
  if ($t) return gt;
3076
3076
  $t = 1;
3077
- var n = S, _ = Symbol.for("react.element"), i = Symbol.for("react.fragment"), c = Object.prototype.hasOwnProperty, d = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, k = { key: !0, ref: !0, __self: !0, __source: !0 };
3077
+ var a = S, _ = Symbol.for("react.element"), i = Symbol.for("react.fragment"), c = Object.prototype.hasOwnProperty, d = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, k = { key: !0, ref: !0, __self: !0, __source: !0 };
3078
3078
  function C(b, l, p) {
3079
- var a, s = {}, w = null, j = null;
3079
+ var n, s = {}, w = null, j = null;
3080
3080
  p !== void 0 && (w = "" + p), l.key !== void 0 && (w = "" + l.key), l.ref !== void 0 && (j = l.ref);
3081
- for (a in l) c.call(l, a) && !k.hasOwnProperty(a) && (s[a] = l[a]);
3082
- if (b && b.defaultProps) for (a in l = b.defaultProps, l) s[a] === void 0 && (s[a] = l[a]);
3081
+ for (n in l) c.call(l, n) && !k.hasOwnProperty(n) && (s[n] = l[n]);
3082
+ if (b && b.defaultProps) for (n in l = b.defaultProps, l) s[n] === void 0 && (s[n] = l[n]);
3083
3083
  return { $$typeof: _, type: b, key: w, ref: j, props: s, _owner: d.current };
3084
3084
  }
3085
3085
  return gt.Fragment = i, gt.jsx = C, gt.jsxs = C, gt;
@@ -3097,14 +3097,14 @@ var kt = {};
3097
3097
  var Bt;
3098
3098
  function gr() {
3099
3099
  return Bt || (Bt = 1, process.env.NODE_ENV !== "production" && function() {
3100
- var n = S, _ = Symbol.for("react.element"), i = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), d = Symbol.for("react.strict_mode"), k = Symbol.for("react.profiler"), C = Symbol.for("react.provider"), b = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), p = Symbol.for("react.suspense"), a = Symbol.for("react.suspense_list"), s = Symbol.for("react.memo"), w = Symbol.for("react.lazy"), j = Symbol.for("react.offscreen"), F = Symbol.iterator, K = "@@iterator";
3100
+ var a = S, _ = Symbol.for("react.element"), i = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), d = Symbol.for("react.strict_mode"), k = Symbol.for("react.profiler"), C = Symbol.for("react.provider"), b = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), p = Symbol.for("react.suspense"), n = Symbol.for("react.suspense_list"), s = Symbol.for("react.memo"), w = Symbol.for("react.lazy"), j = Symbol.for("react.offscreen"), F = Symbol.iterator, K = "@@iterator";
3101
3101
  function D(e) {
3102
3102
  if (e === null || typeof e != "object")
3103
3103
  return null;
3104
3104
  var t = F && e[F] || e[K];
3105
3105
  return typeof t == "function" ? t : null;
3106
3106
  }
3107
- var T = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
3107
+ var T = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
3108
3108
  function y(e) {
3109
3109
  {
3110
3110
  for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), o = 1; o < t; o++)
@@ -3125,7 +3125,7 @@ function gr() {
3125
3125
  var q = !1, A = !1, L = !1, M = !1, $ = !1, N;
3126
3126
  N = Symbol.for("react.module.reference");
3127
3127
  function E(e) {
3128
- return !!(typeof e == "string" || typeof e == "function" || e === c || e === k || $ || e === d || e === p || e === a || M || e === j || q || A || L || typeof e == "object" && e !== null && (e.$$typeof === w || e.$$typeof === s || e.$$typeof === C || e.$$typeof === b || e.$$typeof === l || // This needs to include all possible module reference object
3128
+ return !!(typeof e == "string" || typeof e == "function" || e === c || e === k || $ || e === d || e === p || e === n || M || e === j || q || A || L || typeof e == "object" && e !== null && (e.$$typeof === w || e.$$typeof === s || e.$$typeof === C || e.$$typeof === b || e.$$typeof === l || // This needs to include all possible module reference object
3129
3129
  // types supported by any Flight configuration anywhere since
3130
3130
  // we don't know which Flight build this will end up being used
3131
3131
  // with.
@@ -3159,7 +3159,7 @@ function gr() {
3159
3159
  return "StrictMode";
3160
3160
  case p:
3161
3161
  return "Suspense";
3162
- case a:
3162
+ case n:
3163
3163
  return "SuspenseList";
3164
3164
  }
3165
3165
  if (typeof e == "object")
@@ -3186,14 +3186,14 @@ function gr() {
3186
3186
  }
3187
3187
  return null;
3188
3188
  }
3189
- var I = Object.assign, W = 0, te, H, ne, ke, se, we, xe;
3189
+ var I = Object.assign, W = 0, te, H, ae, ke, se, we, xe;
3190
3190
  function Ce() {
3191
3191
  }
3192
3192
  Ce.__reactDisabledLog = !0;
3193
3193
  function Ue() {
3194
3194
  {
3195
3195
  if (W === 0) {
3196
- te = console.log, H = console.info, ne = console.warn, ke = console.error, se = console.group, we = console.groupCollapsed, xe = console.groupEnd;
3196
+ te = console.log, H = console.info, ae = console.warn, ke = console.error, se = console.group, we = console.groupCollapsed, xe = console.groupEnd;
3197
3197
  var e = {
3198
3198
  configurable: !0,
3199
3199
  enumerable: !0,
@@ -3229,7 +3229,7 @@ function gr() {
3229
3229
  value: H
3230
3230
  }),
3231
3231
  warn: I({}, e, {
3232
- value: ne
3232
+ value: ae
3233
3233
  }),
3234
3234
  error: I({}, e, {
3235
3235
  value: ke
@@ -3249,7 +3249,7 @@ function gr() {
3249
3249
  }
3250
3250
  }
3251
3251
  var ce = T.ReactCurrentDispatcher, ue;
3252
- function ae(e, t, r) {
3252
+ function ne(e, t, r) {
3253
3253
  {
3254
3254
  if (ue === void 0)
3255
3255
  try {
@@ -3335,7 +3335,7 @@ function gr() {
3335
3335
  } finally {
3336
3336
  de = !1, ce.current = x, qe(), Error.prepareStackTrace = h;
3337
3337
  }
3338
- var X = e ? e.displayName || e.name : "", J = X ? ae(X) : "";
3338
+ var X = e ? e.displayName || e.name : "", J = X ? ne(X) : "";
3339
3339
  return typeof e == "function" && oe.set(e, J), J;
3340
3340
  }
3341
3341
  function Ge(e, t, r) {
@@ -3351,12 +3351,12 @@ function gr() {
3351
3351
  if (typeof e == "function")
3352
3352
  return je(e, Ye(e));
3353
3353
  if (typeof e == "string")
3354
- return ae(e);
3354
+ return ne(e);
3355
3355
  switch (e) {
3356
3356
  case p:
3357
- return ae("Suspense");
3358
- case a:
3359
- return ae("SuspenseList");
3357
+ return ne("Suspense");
3358
+ case n:
3359
+ return ne("SuspenseList");
3360
3360
  }
3361
3361
  if (typeof e == "object")
3362
3362
  switch (e.$$typeof) {
@@ -3472,7 +3472,7 @@ function gr() {
3472
3472
  });
3473
3473
  }
3474
3474
  }
3475
- var nt = function(e, t, r, o, h, x, m) {
3475
+ var at = function(e, t, r, o, h, x, m) {
3476
3476
  var u = {
3477
3477
  // This tag allows us to uniquely identify this as a React Element
3478
3478
  $$typeof: _,
@@ -3501,7 +3501,7 @@ function gr() {
3501
3501
  value: h
3502
3502
  }), Object.freeze && (Object.freeze(u.props), Object.freeze(u)), u;
3503
3503
  };
3504
- function at(e, t, r, o, h) {
3504
+ function nt(e, t, r, o, h) {
3505
3505
  {
3506
3506
  var x, m = {}, u = null, B = null;
3507
3507
  r !== void 0 && (Te(r), u = "" + r), Qe(t) && (Te(t.key), u = "" + t.key), Xe(t) && (B = t.ref, et(t));
@@ -3516,7 +3516,7 @@ function gr() {
3516
3516
  var O = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
3517
3517
  u && tt(m, O), B && rt(m, O);
3518
3518
  }
3519
- return nt(e, u, B, h, o, Oe.current, m);
3519
+ return at(e, u, B, h, o, Oe.current, m);
3520
3520
  }
3521
3521
  }
3522
3522
  var me = T.ReactCurrentOwner, Ne = T.ReactDebugCurrentFrame;
@@ -3641,7 +3641,7 @@ Check the top-level render call using <` + r + ">.");
3641
3641
  var R;
3642
3642
  e === null ? R = "null" : fe(e) ? R = "array" : e !== void 0 && e.$$typeof === _ ? (R = "<" + (v(e.type) || "Unknown") + " />", u = " Did you accidentally export a JSX literal instead of a component?") : R = typeof e, y("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", R, u);
3643
3643
  }
3644
- var O = at(e, t, r, h, x);
3644
+ var O = nt(e, t, r, h, x);
3645
3645
  if (O == null)
3646
3646
  return O;
3647
3647
  if (m) {
@@ -3710,26 +3710,26 @@ const hr = "_shake_oqfdb_1", kr = "_modal_oqfdb_79", br = "_sa_oqfdb_89", wr = "
3710
3710
  g: Br,
3711
3711
  m: Lr
3712
3712
  };
3713
- function Wr({ children: n, className: _ }) {
3713
+ function Wr({ children: a, className: _ }) {
3714
3714
  return /* @__PURE__ */ z.jsx(
3715
3715
  "div",
3716
3716
  {
3717
3717
  className: [re.l, _].filter((i) => i !== void 0).join(" "),
3718
- children: /* @__PURE__ */ z.jsx("ul", { children: n })
3718
+ children: /* @__PURE__ */ z.jsx("ul", { children: a })
3719
3719
  }
3720
3720
  );
3721
3721
  }
3722
- function Ur({ children: n, className: _ }) {
3722
+ function Ur({ children: a, className: _ }) {
3723
3723
  return /* @__PURE__ */ z.jsx(
3724
3724
  "div",
3725
3725
  {
3726
3726
  className: [re.s, _].filter((i) => i !== void 0).join(" "),
3727
- children: n
3727
+ children: a
3728
3728
  }
3729
3729
  );
3730
3730
  }
3731
3731
  function qr({
3732
- children: n,
3732
+ children: a,
3733
3733
  direction: _ = "column",
3734
3734
  className: i
3735
3735
  }) {
@@ -3741,32 +3741,32 @@ function qr({
3741
3741
  re[_ === "row" ? "r_" : "c_"],
3742
3742
  i
3743
3743
  ].filter((c) => c !== void 0).join(" "),
3744
- children: n
3744
+ children: a
3745
3745
  }
3746
3746
  );
3747
3747
  }
3748
- function Kr({ children: n, className: _ }) {
3748
+ function Kr({ children: a, className: _ }) {
3749
3749
  return /* @__PURE__ */ z.jsx(
3750
3750
  "div",
3751
3751
  {
3752
3752
  className: [re.c, _].filter((i) => i !== void 0).join(" "),
3753
- children: n
3753
+ children: a
3754
3754
  }
3755
3755
  );
3756
3756
  }
3757
- function Gr({ children: n, className: _ }) {
3757
+ function Gr({ children: a, className: _ }) {
3758
3758
  return /* @__PURE__ */ z.jsx(
3759
3759
  "div",
3760
3760
  {
3761
3761
  className: [re.g, _].filter((i) => i !== void 0).join(" "),
3762
- children: n
3762
+ children: a
3763
3763
  }
3764
3764
  );
3765
3765
  }
3766
3766
  function Yr() {
3767
3767
  return typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof self < "u" ? self : typeof global < "u" ? global : {};
3768
3768
  }
3769
- function Lt(n) {
3769
+ function Lt(a) {
3770
3770
  return Yr().IMPORT_MODULES;
3771
3771
  }
3772
3772
  var Ot = { exports: {} }, ht = {};
@@ -3783,12 +3783,12 @@ var Wt;
3783
3783
  function zr() {
3784
3784
  if (Wt) return ht;
3785
3785
  Wt = 1;
3786
- var n = S, _ = Symbol.for("react.element"), i = Symbol.for("react.fragment"), c = Object.prototype.hasOwnProperty, d = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, k = { key: !0, ref: !0, __self: !0, __source: !0 };
3786
+ var a = S, _ = Symbol.for("react.element"), i = Symbol.for("react.fragment"), c = Object.prototype.hasOwnProperty, d = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, k = { key: !0, ref: !0, __self: !0, __source: !0 };
3787
3787
  function C(b, l, p) {
3788
- var a, s = {}, w = null, j = null;
3788
+ var n, s = {}, w = null, j = null;
3789
3789
  p !== void 0 && (w = "" + p), l.key !== void 0 && (w = "" + l.key), l.ref !== void 0 && (j = l.ref);
3790
- for (a in l) c.call(l, a) && !k.hasOwnProperty(a) && (s[a] = l[a]);
3791
- if (b && b.defaultProps) for (a in l = b.defaultProps, l) s[a] === void 0 && (s[a] = l[a]);
3790
+ for (n in l) c.call(l, n) && !k.hasOwnProperty(n) && (s[n] = l[n]);
3791
+ if (b && b.defaultProps) for (n in l = b.defaultProps, l) s[n] === void 0 && (s[n] = l[n]);
3792
3792
  return { $$typeof: _, type: b, key: w, ref: j, props: s, _owner: d.current };
3793
3793
  }
3794
3794
  return ht.Fragment = i, ht.jsx = C, ht.jsxs = C, ht;
@@ -3806,14 +3806,14 @@ var bt = {};
3806
3806
  var Ut;
3807
3807
  function Hr() {
3808
3808
  return Ut || (Ut = 1, process.env.NODE_ENV !== "production" && function() {
3809
- var n = S, _ = Symbol.for("react.element"), i = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), d = Symbol.for("react.strict_mode"), k = Symbol.for("react.profiler"), C = Symbol.for("react.provider"), b = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), p = Symbol.for("react.suspense"), a = Symbol.for("react.suspense_list"), s = Symbol.for("react.memo"), w = Symbol.for("react.lazy"), j = Symbol.for("react.offscreen"), F = Symbol.iterator, K = "@@iterator";
3809
+ var a = S, _ = Symbol.for("react.element"), i = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), d = Symbol.for("react.strict_mode"), k = Symbol.for("react.profiler"), C = Symbol.for("react.provider"), b = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), p = Symbol.for("react.suspense"), n = Symbol.for("react.suspense_list"), s = Symbol.for("react.memo"), w = Symbol.for("react.lazy"), j = Symbol.for("react.offscreen"), F = Symbol.iterator, K = "@@iterator";
3810
3810
  function D(e) {
3811
3811
  if (e === null || typeof e != "object")
3812
3812
  return null;
3813
3813
  var t = F && e[F] || e[K];
3814
3814
  return typeof t == "function" ? t : null;
3815
3815
  }
3816
- var T = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
3816
+ var T = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
3817
3817
  function y(e) {
3818
3818
  {
3819
3819
  for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), o = 1; o < t; o++)
@@ -3834,7 +3834,7 @@ function Hr() {
3834
3834
  var q = !1, A = !1, L = !1, M = !1, $ = !1, N;
3835
3835
  N = Symbol.for("react.module.reference");
3836
3836
  function E(e) {
3837
- return !!(typeof e == "string" || typeof e == "function" || e === c || e === k || $ || e === d || e === p || e === a || M || e === j || q || A || L || typeof e == "object" && e !== null && (e.$$typeof === w || e.$$typeof === s || e.$$typeof === C || e.$$typeof === b || e.$$typeof === l || // This needs to include all possible module reference object
3837
+ return !!(typeof e == "string" || typeof e == "function" || e === c || e === k || $ || e === d || e === p || e === n || M || e === j || q || A || L || typeof e == "object" && e !== null && (e.$$typeof === w || e.$$typeof === s || e.$$typeof === C || e.$$typeof === b || e.$$typeof === l || // This needs to include all possible module reference object
3838
3838
  // types supported by any Flight configuration anywhere since
3839
3839
  // we don't know which Flight build this will end up being used
3840
3840
  // with.
@@ -3868,7 +3868,7 @@ function Hr() {
3868
3868
  return "StrictMode";
3869
3869
  case p:
3870
3870
  return "Suspense";
3871
- case a:
3871
+ case n:
3872
3872
  return "SuspenseList";
3873
3873
  }
3874
3874
  if (typeof e == "object")
@@ -3895,14 +3895,14 @@ function Hr() {
3895
3895
  }
3896
3896
  return null;
3897
3897
  }
3898
- var I = Object.assign, W = 0, te, H, ne, ke, se, we, xe;
3898
+ var I = Object.assign, W = 0, te, H, ae, ke, se, we, xe;
3899
3899
  function Ce() {
3900
3900
  }
3901
3901
  Ce.__reactDisabledLog = !0;
3902
3902
  function Ue() {
3903
3903
  {
3904
3904
  if (W === 0) {
3905
- te = console.log, H = console.info, ne = console.warn, ke = console.error, se = console.group, we = console.groupCollapsed, xe = console.groupEnd;
3905
+ te = console.log, H = console.info, ae = console.warn, ke = console.error, se = console.group, we = console.groupCollapsed, xe = console.groupEnd;
3906
3906
  var e = {
3907
3907
  configurable: !0,
3908
3908
  enumerable: !0,
@@ -3938,7 +3938,7 @@ function Hr() {
3938
3938
  value: H
3939
3939
  }),
3940
3940
  warn: I({}, e, {
3941
- value: ne
3941
+ value: ae
3942
3942
  }),
3943
3943
  error: I({}, e, {
3944
3944
  value: ke
@@ -3958,7 +3958,7 @@ function Hr() {
3958
3958
  }
3959
3959
  }
3960
3960
  var ce = T.ReactCurrentDispatcher, ue;
3961
- function ae(e, t, r) {
3961
+ function ne(e, t, r) {
3962
3962
  {
3963
3963
  if (ue === void 0)
3964
3964
  try {
@@ -4044,7 +4044,7 @@ function Hr() {
4044
4044
  } finally {
4045
4045
  de = !1, ce.current = x, qe(), Error.prepareStackTrace = h;
4046
4046
  }
4047
- var X = e ? e.displayName || e.name : "", J = X ? ae(X) : "";
4047
+ var X = e ? e.displayName || e.name : "", J = X ? ne(X) : "";
4048
4048
  return typeof e == "function" && oe.set(e, J), J;
4049
4049
  }
4050
4050
  function Ge(e, t, r) {
@@ -4060,12 +4060,12 @@ function Hr() {
4060
4060
  if (typeof e == "function")
4061
4061
  return je(e, Ye(e));
4062
4062
  if (typeof e == "string")
4063
- return ae(e);
4063
+ return ne(e);
4064
4064
  switch (e) {
4065
4065
  case p:
4066
- return ae("Suspense");
4067
- case a:
4068
- return ae("SuspenseList");
4066
+ return ne("Suspense");
4067
+ case n:
4068
+ return ne("SuspenseList");
4069
4069
  }
4070
4070
  if (typeof e == "object")
4071
4071
  switch (e.$$typeof) {
@@ -4181,7 +4181,7 @@ function Hr() {
4181
4181
  });
4182
4182
  }
4183
4183
  }
4184
- var nt = function(e, t, r, o, h, x, m) {
4184
+ var at = function(e, t, r, o, h, x, m) {
4185
4185
  var u = {
4186
4186
  // This tag allows us to uniquely identify this as a React Element
4187
4187
  $$typeof: _,
@@ -4210,7 +4210,7 @@ function Hr() {
4210
4210
  value: h
4211
4211
  }), Object.freeze && (Object.freeze(u.props), Object.freeze(u)), u;
4212
4212
  };
4213
- function at(e, t, r, o, h) {
4213
+ function nt(e, t, r, o, h) {
4214
4214
  {
4215
4215
  var x, m = {}, u = null, B = null;
4216
4216
  r !== void 0 && (Te(r), u = "" + r), Qe(t) && (Te(t.key), u = "" + t.key), Xe(t) && (B = t.ref, et(t));
@@ -4225,7 +4225,7 @@ function Hr() {
4225
4225
  var O = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
4226
4226
  u && tt(m, O), B && rt(m, O);
4227
4227
  }
4228
- return nt(e, u, B, h, o, Oe.current, m);
4228
+ return at(e, u, B, h, o, Oe.current, m);
4229
4229
  }
4230
4230
  }
4231
4231
  var me = T.ReactCurrentOwner, Ne = T.ReactDebugCurrentFrame;
@@ -4350,7 +4350,7 @@ Check the top-level render call using <` + r + ">.");
4350
4350
  var R;
4351
4351
  e === null ? R = "null" : fe(e) ? R = "array" : e !== void 0 && e.$$typeof === _ ? (R = "<" + (v(e.type) || "Unknown") + " />", u = " Did you accidentally export a JSX literal instead of a component?") : R = typeof e, y("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", R, u);
4352
4352
  }
4353
- var O = at(e, t, r, h, x);
4353
+ var O = nt(e, t, r, h, x);
4354
4354
  if (O == null)
4355
4355
  return O;
4356
4356
  if (m) {
@@ -4395,17 +4395,17 @@ React keys must be passed directly to JSX without using spread:
4395
4395
  }
4396
4396
  process.env.NODE_ENV === "production" ? Ot.exports = zr() : Ot.exports = Hr();
4397
4397
  var St = Ot.exports;
4398
- const Jr = "_btn_1k1b3_1", Zr = "_confirm_1k1b3_15", Vr = "_cancel_1k1b3_20", Xr = "_action_1k1b3_25", Qr = "_disabled_1k1b3_30", en = "_m_1k1b3_44", tn = "_l_1k1b3_48", wt = {
4398
+ const Jr = "_btn_1k1b3_1", Zr = "_confirm_1k1b3_15", Vr = "_cancel_1k1b3_20", Xr = "_action_1k1b3_25", Qr = "_disabled_1k1b3_30", ea = "_m_1k1b3_44", ta = "_l_1k1b3_48", wt = {
4399
4399
  btn: Jr,
4400
4400
  confirm: Zr,
4401
4401
  cancel: Vr,
4402
4402
  action: Xr,
4403
4403
  disabled: Qr,
4404
4404
  await: "_await_1k1b3_37",
4405
- m: en,
4406
- l: tn
4407
- }, rn = ({
4408
- onClick: n,
4405
+ m: ea,
4406
+ l: ta
4407
+ }, ra = ({
4408
+ onClick: a,
4409
4409
  onSend: _,
4410
4410
  size: i = "m",
4411
4411
  view: c = "confirm",
@@ -4415,12 +4415,12 @@ const Jr = "_btn_1k1b3_1", Zr = "_confirm_1k1b3_15", Vr = "_cancel_1k1b3_20", Xr
4415
4415
  after: b,
4416
4416
  before: l,
4417
4417
  label: p,
4418
- onRef: a,
4418
+ onRef: n,
4419
4419
  awaitText: s = "Ожидайте"
4420
4420
  }) => {
4421
4421
  let [w, j] = S.useState(!1);
4422
4422
  const F = (D) => {
4423
- if (n) return n();
4423
+ if (a) return a();
4424
4424
  w || (_ ? (j(!0), _(j)) : D.preventDefault());
4425
4425
  };
4426
4426
  let K = {};
@@ -4428,7 +4428,7 @@ const Jr = "_btn_1k1b3_1", Zr = "_confirm_1k1b3_15", Vr = "_cancel_1k1b3_20", Xr
4428
4428
  "button",
4429
4429
  {
4430
4430
  ...K,
4431
- ref: a,
4431
+ ref: n,
4432
4432
  className: [
4433
4433
  wt.btn,
4434
4434
  w ? wt.disabled : wt[c],
@@ -4447,67 +4447,67 @@ const Jr = "_btn_1k1b3_1", Zr = "_confirm_1k1b3_15", Vr = "_cancel_1k1b3_20", Xr
4447
4447
  );
4448
4448
  };
4449
4449
  let ge = {};
4450
- function nn({ children: n }) {
4451
- return /* @__PURE__ */ z.jsx(z.Fragment, { children: n });
4450
+ function aa({ children: a }) {
4451
+ return /* @__PURE__ */ z.jsx(z.Fragment, { children: a });
4452
4452
  }
4453
4453
  var jt;
4454
- ((n) => {
4454
+ ((a) => {
4455
4455
  function _({
4456
- import_modules: a
4456
+ import_modules: n
4457
4457
  }) {
4458
4458
  let [s, w] = S.useState([]);
4459
4459
  return ge.x = (j) => {
4460
4460
  w(j ? s.filter((F) => F.key !== j) : []);
4461
4461
  }, Kt(() => {
4462
- a && (ge.i = a);
4462
+ n && (ge.i = n);
4463
4463
  }, []), ge.add = (j, F = Date.now()) => {
4464
4464
  w([...s, { key: F, item: j }]);
4465
4465
  }, /* @__PURE__ */ z.jsx(z.Fragment, { children: s.map((j) => j.item) });
4466
4466
  }
4467
- n.Init = _;
4468
- function i(a) {
4469
- return a && (ge.i = a), ge.i;
4467
+ a.Init = _;
4468
+ function i(n) {
4469
+ return n && (ge.i = n), ge.i;
4470
4470
  }
4471
- n.Import = i, n.List = Wr, n.Scroll = Ur, n.Form = qr, n.Center = Kr, n.Column = Gr;
4472
- function c(a, s, w) {
4473
- ge.i ? ge.i(`${a}/modal/${s}.tsx`).then((j) => {
4471
+ a.Import = i, a.List = Wr, a.Scroll = Ur, a.Form = qr, a.Center = Kr, a.Column = Gr;
4472
+ function c(n, s, w) {
4473
+ ge.i ? ge.i(`${n}/modal/${s}.tsx`).then((j) => {
4474
4474
  j.default.Open(w);
4475
- }) : Lt()(`${a}/modal/${s}.tsx`).then((j) => {
4475
+ }) : Lt()(`${n}/modal/${s}.tsx`).then((j) => {
4476
4476
  j.default.Open(w);
4477
4477
  });
4478
4478
  }
4479
- n.Open = c;
4480
- function d({ type: a, name: s, params: w }) {
4479
+ a.Open = c;
4480
+ function d({ type: n, name: s, params: w }) {
4481
4481
  let [j, F] = S.useState(null);
4482
4482
  return S.useEffect(() => {
4483
- ge.i ? ge.i(`${a}/modal/${s}.tsx`).then((K) => {
4483
+ ge.i ? ge.i(`${n}/modal/${s}.tsx`).then((K) => {
4484
4484
  F(K.default.Icon(w));
4485
- }) : Lt()(`${a}/modal/${s}.tsx`).then((K) => {
4485
+ }) : Lt()(`${n}/modal/${s}.tsx`).then((K) => {
4486
4486
  F(K.default.Icon(w));
4487
4487
  });
4488
4488
  }, [w.id]), /* @__PURE__ */ z.jsx(z.Fragment, { children: j });
4489
4489
  }
4490
- n.Icon = d;
4491
- function k(a, s) {
4492
- ge.add(/* @__PURE__ */ z.jsx(nn, { children: a }, String(Date.now())), s);
4490
+ a.Icon = d;
4491
+ function k(n, s) {
4492
+ ge.add(/* @__PURE__ */ z.jsx(aa, { children: n }, String(Date.now())), s);
4493
4493
  }
4494
- n.Add = k;
4495
- function C(a) {
4496
- ge.x(a);
4494
+ a.Add = k;
4495
+ function C(n) {
4496
+ ge.x(n);
4497
4497
  }
4498
- n.Close = C;
4499
- function b(a) {
4500
- if (a.target.classList[0] !== "modal") return;
4501
- let s = a.target.children[0];
4498
+ a.Close = C;
4499
+ function b(n) {
4500
+ if (n.target.classList[0] !== "modal") return;
4501
+ let s = n.target.children[0];
4502
4502
  s.setAttribute("shake", !0), setTimeout(() => {
4503
4503
  s.setAttribute("shake", !1);
4504
4504
  }, 1e3);
4505
4505
  }
4506
- n.Shake = b;
4507
- function l(a, s) {
4506
+ a.Shake = b;
4507
+ function l(n, s) {
4508
4508
  const w = (j) => {
4509
- n.Add(
4510
- /* @__PURE__ */ z.jsx(a, { ...j }, (/* @__PURE__ */ new Date()).getTime())
4509
+ a.Add(
4510
+ /* @__PURE__ */ z.jsx(n, { ...j }, (/* @__PURE__ */ new Date()).getTime())
4511
4511
  );
4512
4512
  };
4513
4513
  return {
@@ -4515,9 +4515,9 @@ var jt;
4515
4515
  Open: w
4516
4516
  };
4517
4517
  }
4518
- n.Create = l;
4518
+ a.Create = l;
4519
4519
  function p({
4520
- title: a,
4520
+ title: n,
4521
4521
  children: s,
4522
4522
  button: w,
4523
4523
  tabs: j,
@@ -4551,7 +4551,7 @@ var jt;
4551
4551
  ref: q,
4552
4552
  children: [
4553
4553
  /* @__PURE__ */ z.jsxs("div", { className: re.h, children: [
4554
- /* @__PURE__ */ z.jsx("div", { className: re.t, children: a }),
4554
+ /* @__PURE__ */ z.jsx("div", { className: re.t, children: n }),
4555
4555
  /* @__PURE__ */ z.jsxs("div", { className: re.m, children: [
4556
4556
  j && /* @__PURE__ */ z.jsx("nav", { children: j.map((M, $) => /* @__PURE__ */ z.jsx(
4557
4557
  "span",
@@ -4586,7 +4586,7 @@ var jt;
4586
4586
  ] }),
4587
4587
  s,
4588
4588
  w && /* @__PURE__ */ z.jsx("div", { className: re.b, children: /* @__PURE__ */ z.jsx(
4589
- rn,
4589
+ ra,
4590
4590
  {
4591
4591
  label: w.label,
4592
4592
  onSend: A,
@@ -4599,11 +4599,11 @@ var jt;
4599
4599
  )
4600
4600
  ] }) : "";
4601
4601
  }
4602
- n.Main = p;
4602
+ a.Main = p;
4603
4603
  })(jt || (jt = {}));
4604
- const an = (n, _ = ",") => (n = n !== void 0 && n !== "" ? n.split(_) : [], n.filter((i) => i !== "").reduce((i, c) => (i[c] = !0, i), {}));
4605
- function wn({
4606
- value: n,
4604
+ const na = (a, _ = ",") => (a = a !== void 0 && a !== "" ? a.split(_) : [], a.filter((i) => i !== "").reduce((i, c) => (i[c] = !0, i), {}));
4605
+ function ba({
4606
+ value: a,
4607
4607
  onValue: _,
4608
4608
  name: i,
4609
4609
  placeholder: c = "",
@@ -4613,19 +4613,19 @@ function wn({
4613
4613
  hide: b = !1,
4614
4614
  edit: l = !0,
4615
4615
  active: p = !0,
4616
- outFormat: a = "object",
4616
+ outFormat: n = "object",
4617
4617
  after: s = "",
4618
4618
  modal: w,
4619
4619
  options: j,
4620
4620
  className: F
4621
4621
  }) {
4622
- const [K, D] = S.useState(an(n, d)), T = (y) => {
4622
+ const [K, D] = S.useState(na(a, d)), T = (y) => {
4623
4623
  if (!(l && p) || !w) return;
4624
4624
  let P = w.split(".");
4625
4625
  jt.Open(P[0], P[1], {
4626
4626
  callback: (q) => {
4627
4627
  if (_)
4628
- switch (a) {
4628
+ switch (n) {
4629
4629
  case "array":
4630
4630
  _({ value: Object.keys(q), name: i });
4631
4631
  break;
@@ -4672,13 +4672,13 @@ function wn({
4672
4672
  }
4673
4673
  );
4674
4674
  }
4675
- const on = "_o_1wehm_12", _n = "_l_1wehm_22", sn = "_f_1wehm_81", Dt = {
4676
- o: on,
4677
- l: _n,
4678
- f: sn
4675
+ const oa = "_o_1wehm_12", _a = "_l_1wehm_22", ia = "_f_1wehm_81", Dt = {
4676
+ o: oa,
4677
+ l: _a,
4678
+ f: ia
4679
4679
  };
4680
- function xn({
4681
- title: n,
4680
+ function wa({
4681
+ title: a,
4682
4682
  error: _,
4683
4683
  edit: i = !0,
4684
4684
  active: c = !0,
@@ -4688,7 +4688,7 @@ function xn({
4688
4688
  options: b,
4689
4689
  placeholder: l = "",
4690
4690
  className: p,
4691
- isIcon: a = !0,
4691
+ isIcon: n = !0,
4692
4692
  name: s,
4693
4693
  after: w,
4694
4694
  view: j,
@@ -4720,7 +4720,7 @@ function xn({
4720
4720
  he,
4721
4721
  {
4722
4722
  type: "select",
4723
- title: n,
4723
+ title: a,
4724
4724
  element_blok: { className: [p] },
4725
4725
  error: _,
4726
4726
  element_input: {
@@ -4733,7 +4733,7 @@ function xn({
4733
4733
  ),
4734
4734
  A && Nt(
4735
4735
  /* @__PURE__ */ f.jsx(
4736
- ln,
4736
+ sa,
4737
4737
  {
4738
4738
  parent: D.position,
4739
4739
  onValue: G,
@@ -4749,8 +4749,8 @@ function xn({
4749
4749
  )
4750
4750
  ] });
4751
4751
  }
4752
- const ln = ({
4753
- onValue: n,
4752
+ const sa = ({
4753
+ onValue: a,
4754
4754
  parent: _,
4755
4755
  className: i,
4756
4756
  options: c,
@@ -4759,8 +4759,8 @@ const ln = ({
4759
4759
  }) => {
4760
4760
  let C = () => {
4761
4761
  k(!1);
4762
- }, b = (a) => {
4763
- k(!1), n(a);
4762
+ }, b = (n) => {
4763
+ k(!1), a(n);
4764
4764
  }, l = window.innerHeight - _.y + _.height < 320 ? _.y - 312 : _.y + 33, p = window.innerWidth - _.x < 265 ? _.x - 235 : _.x;
4765
4765
  return /* @__PURE__ */ f.jsxs(f.Fragment, { children: [
4766
4766
  /* @__PURE__ */ f.jsx(
@@ -4774,20 +4774,20 @@ const ln = ({
4774
4774
  /* @__PURE__ */ f.jsx(
4775
4775
  "div",
4776
4776
  {
4777
- className: [Dt.l, i].filter((a) => a !== void 0).join(" "),
4777
+ className: [Dt.l, i].filter((n) => n !== void 0).join(" "),
4778
4778
  style: {
4779
4779
  top: l + "px",
4780
4780
  left: p + "px",
4781
4781
  width: _.width
4782
4782
  },
4783
- children: /* @__PURE__ */ f.jsx(cn, { order: d, options: c, link: b })
4783
+ children: /* @__PURE__ */ f.jsx(la, { order: d, options: c, link: b })
4784
4784
  }
4785
4785
  )
4786
4786
  ] });
4787
- }, cn = ({ order: n, options: _, link: i }) => {
4787
+ }, la = ({ order: a, options: _, link: i }) => {
4788
4788
  if (Array.isArray(_)) {
4789
4789
  const d = _;
4790
- return n ? /* @__PURE__ */ f.jsx("ul", { children: n.map((k, C) => {
4790
+ return a ? /* @__PURE__ */ f.jsx("ul", { children: a.map((k, C) => {
4791
4791
  const b = d.find(
4792
4792
  (p) => (p.id || p.i) === k
4793
4793
  );
@@ -4818,7 +4818,7 @@ const ln = ({
4818
4818
  );
4819
4819
  }) });
4820
4820
  }
4821
- return n ? /* @__PURE__ */ f.jsx("ul", { children: n.map((d, k) => {
4821
+ return a ? /* @__PURE__ */ f.jsx("ul", { children: a.map((d, k) => {
4822
4822
  const C = _[d];
4823
4823
  return !C || C.s === 0 || !C.n ? null : /* @__PURE__ */ f.jsx(
4824
4824
  "li",
@@ -4844,8 +4844,8 @@ const ln = ({
4844
4844
  );
4845
4845
  }) });
4846
4846
  };
4847
- function Cn({
4848
- value: n,
4847
+ function xa({
4848
+ value: a,
4849
4849
  onValue: _,
4850
4850
  name: i,
4851
4851
  placeholder: c = "",
@@ -4855,22 +4855,22 @@ function Cn({
4855
4855
  edit: b = !0,
4856
4856
  show: l = !0,
4857
4857
  active: p = !0,
4858
- after: a = "",
4858
+ after: n = "",
4859
4859
  view: s,
4860
4860
  modal: w,
4861
4861
  options: j,
4862
4862
  className: F
4863
4863
  }) {
4864
- const K = (q) => q ? Array.isArray(q) ? q[1] || "" : q : "", [D, T] = S.useState(n);
4864
+ const K = (q) => q ? Array.isArray(q) ? q[1] || "" : q : "", [D, T] = S.useState(a);
4865
4865
  S.useEffect(() => {
4866
- T(n);
4867
- }, [n]);
4866
+ T(a);
4867
+ }, [a]);
4868
4868
  const y = (q) => {
4869
4869
  if (!(b && p) || !w) return;
4870
4870
  let A = w.split(".");
4871
4871
  if (A.length < 2)
4872
4872
  return;
4873
- const L = Array.isArray(n) ? n[0] : n;
4873
+ const L = Array.isArray(D) ? D[0] : D;
4874
4874
  jt.Open(A[0], A[1], {
4875
4875
  callback: (M) => {
4876
4876
  let $;
@@ -4897,8 +4897,8 @@ function Cn({
4897
4897
  }
4898
4898
  );
4899
4899
  }
4900
- function jn({
4901
- value: n,
4900
+ function Ca({
4901
+ value: a,
4902
4902
  onValue: _,
4903
4903
  onSave: i,
4904
4904
  name: c,
@@ -4908,7 +4908,7 @@ function jn({
4908
4908
  error: b,
4909
4909
  edit: l = !0,
4910
4910
  active: p = !0,
4911
- reload: a = !1,
4911
+ reload: n = !1,
4912
4912
  native: s = !1,
4913
4913
  isShow: w = !1,
4914
4914
  maxLength: j,
@@ -4920,7 +4920,7 @@ function jn({
4920
4920
  _ && _({
4921
4921
  value: $.target.textContent,
4922
4922
  name: c,
4923
- reload: a
4923
+ reload: n
4924
4924
  });
4925
4925
  }, P = ($) => {
4926
4926
  $.key === "Enter" && $.preventDefault();
@@ -4956,7 +4956,7 @@ function jn({
4956
4956
  contentEditable: l && p ? Z.ContentEditable : "false",
4957
4957
  ...M,
4958
4958
  suppressContentEditableWarning: !0,
4959
- children: n
4959
+ children: a
4960
4960
  }
4961
4961
  ),
4962
4962
  F[0] && /* @__PURE__ */ f.jsx("i", { onClick: () => T(!D), children: D ? F[1] : F[0] }),
@@ -4964,8 +4964,8 @@ function jn({
4964
4964
  b ? /* @__PURE__ */ f.jsx("em", { children: b }) : ""
4965
4965
  ] });
4966
4966
  }
4967
- function En({
4968
- onValue: n,
4967
+ function ja({
4968
+ onValue: a,
4969
4969
  label: _,
4970
4970
  value: i,
4971
4971
  title: c,
@@ -4975,12 +4975,12 @@ function En({
4975
4975
  id: b,
4976
4976
  reload: l
4977
4977
  }) {
4978
- const [p, a] = S.useState(!!i);
4978
+ const [p, n] = S.useState(!!i);
4979
4979
  S.useEffect(() => {
4980
- a(!!i);
4980
+ n(!!i);
4981
4981
  }, [i]);
4982
4982
  let s = () => {
4983
- n && n({ value: p ? 0 : 1, name: k, id: b, reload: l }), a(!p);
4983
+ a && a({ value: p ? 0 : 1, name: k, id: b, reload: l }), n(!p);
4984
4984
  };
4985
4985
  return /* @__PURE__ */ f.jsxs(
4986
4986
  he,
@@ -5002,8 +5002,8 @@ function En({
5002
5002
  );
5003
5003
  }
5004
5004
  const le = {};
5005
- function Sn(n) {
5006
- const [_, i] = S.useState({}), c = S.useRef(n);
5005
+ function Ea(a) {
5006
+ const [_, i] = S.useState({}), c = S.useRef(a);
5007
5007
  return le.u = (d) => {
5008
5008
  c.current = { ...c.current, [d.name]: d.value };
5009
5009
  }, le.n = (d) => {
@@ -5012,14 +5012,14 @@ function Sn(n) {
5012
5012
  d && d(c.current), i(Date.now());
5013
5013
  }, [c.current, le.n];
5014
5014
  }
5015
- function Rn(n) {
5016
- le.u(n), n.reload && le.r();
5015
+ function Sa(a) {
5016
+ le.u(a), a.reload && le.r();
5017
5017
  }
5018
- function Tn(n) {
5019
- le.r && le.r(n);
5018
+ function Ra(a) {
5019
+ le.r && le.r(a);
5020
5020
  }
5021
- function On(n) {
5022
- const [_, i] = S.useState({}), c = S.useRef(n);
5021
+ function Ta(a) {
5022
+ const [_, i] = S.useState({}), c = S.useRef(a);
5023
5023
  return le.u = (d) => {
5024
5024
  c.current = { ...c.current, [d.name]: d.value };
5025
5025
  }, le.n = (d) => {
@@ -5036,22 +5036,22 @@ function Pt() {
5036
5036
  Pt().elcrm || (Pt().elcrm = {});
5037
5037
  Object.assign(Pt().elcrm, { form: Yt.version });
5038
5038
  export {
5039
- En as Check,
5040
- vn as DateField,
5041
- mn as Mask,
5042
- Cn as ModalField,
5043
- yn as Money,
5044
- pn as Month,
5045
- bn as NumberField,
5046
- wn as OptionsField,
5047
- jn as PasswordField,
5048
- hn as PhoneField,
5049
- fn as Progress,
5050
- xn as SelectField,
5051
- kn as StringField,
5052
- gn as TextareaField,
5053
- Tn as runReload,
5054
- Rn as setValue,
5055
- Sn as useData,
5056
- On as useError
5039
+ ja as Check,
5040
+ ya as DateField,
5041
+ fa as Mask,
5042
+ xa as ModalField,
5043
+ pa as Money,
5044
+ ma as Month,
5045
+ ka as NumberField,
5046
+ ba as OptionsField,
5047
+ Ca as PasswordField,
5048
+ ga as PhoneField,
5049
+ da as Progress,
5050
+ wa as SelectField,
5051
+ ha as StringField,
5052
+ va as TextareaField,
5053
+ Ra as runReload,
5054
+ Sa as setValue,
5055
+ Ea as useData,
5056
+ Ta as useError
5057
5057
  };