@elcrm/form 0.0.31 → 0.0.32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import W, { forwardRef as Jt, useEffect as Zt } from "react";
2
2
  import { createPortal as Mt } from "react-dom";
3
- import './index.css';const Vt = "0.0.31", Xt = {
3
+ import './index.css';const Vt = "0.0.32", Xt = {
4
4
  version: Vt
5
5
  };
6
6
  var Tt = { exports: {} }, mt = {};
@@ -65,10 +65,10 @@ function er() {
65
65
  m.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, m);
66
66
  }
67
67
  }
68
- var K = !1, G = !1, L = !1, q = !1, E = !1, D;
68
+ var q = !1, G = !1, L = !1, K = !1, E = !1, D;
69
69
  D = Symbol.for("react.module.reference");
70
70
  function U(e) {
71
- return !!(typeof e == "string" || typeof e == "function" || e === u || e === S || E || e === v || e === g || e === o || q || e === C || K || G || L || typeof e == "object" && e !== null && (e.$$typeof === k || e.$$typeof === d || e.$$typeof === P || e.$$typeof === x || e.$$typeof === s || // This needs to include all possible module reference object
71
+ return !!(typeof e == "string" || typeof e == "function" || e === u || e === S || E || e === v || e === g || e === o || K || e === C || q || 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.
@@ -281,10 +281,10 @@ function er() {
281
281
  var Z = e ? e.displayName || e.name : "", z = Z ? re(Z) : "";
282
282
  return typeof e == "function" && ae.set(e, z), z;
283
283
  }
284
- function Ke(e, t, r) {
284
+ function qe(e, t, r) {
285
285
  return je(e, !1);
286
286
  }
287
- function qe(e) {
287
+ function Ke(e) {
288
288
  var t = e.prototype;
289
289
  return !!(t && t.isReactComponent);
290
290
  }
@@ -292,7 +292,7 @@ function er() {
292
292
  if (e == null)
293
293
  return "";
294
294
  if (typeof e == "function")
295
- return je(e, qe(e));
295
+ return je(e, Ke(e));
296
296
  if (typeof e == "string")
297
297
  return re(e);
298
298
  switch (e) {
@@ -304,7 +304,7 @@ function er() {
304
304
  if (typeof e == "object")
305
305
  switch (e.$$typeof) {
306
306
  case s:
307
- return Ke(e.render);
307
+ return qe(e.render);
308
308
  case d:
309
309
  return ne(e.type, t, r);
310
310
  case k: {
@@ -670,7 +670,7 @@ te.Blur = (n) => {
670
670
  n.target.scrollLeft = 0, n.target.querySelector("br") !== null && n.target.querySelector("br").remove();
671
671
  };
672
672
  te.ContentEditable = "plaintext-only";
673
- const tr = "_l_mc013_13", rr = "_f_mc013_35", ar = "_n_mc013_52", nr = "_w_mc013_57", or = "_t_mc013_67", ir = "_g_mc013_72", V = {
673
+ const tr = "_l_cfq3k_13", rr = "_f_cfq3k_35", ar = "_n_cfq3k_53", nr = "_w_cfq3k_58", or = "_t_cfq3k_68", ir = "_g_cfq3k_73", V = {
674
674
  l: tr,
675
675
  f: rr,
676
676
  n: ar,
@@ -737,7 +737,7 @@ function ba({
737
737
  name: u,
738
738
  reload: O
739
739
  });
740
- }, K = (E) => {
740
+ }, q = (E) => {
741
741
  C && E.target.textContent.trim().length >= C && E.key !== "Backspace" && E.preventDefault(), E.key === "Enter" && E.preventDefault();
742
742
  }, G = (E) => {
743
743
  E.preventDefault(), navigator.clipboard.readText().then((D) => {
@@ -757,7 +757,7 @@ function ba({
757
757
  if (!(s && g) && !k || !(s && g) && p) return "";
758
758
  const L = {};
759
759
  v && (L.placeholder = v), s && g && (L.edit = "");
760
- const q = (E) => {
760
+ const K = (E) => {
761
761
  te.Blur(E), N == null || N({ value: E.target.textContent.trim(), name: u });
762
762
  };
763
763
  return /* @__PURE__ */ y.jsx(
@@ -770,10 +770,10 @@ function ba({
770
770
  children: /* @__PURE__ */ y.jsx(
771
771
  "div",
772
772
  {
773
- onBlur: q,
773
+ onBlur: K,
774
774
  onPaste: G,
775
775
  onInput: I,
776
- onKeyDown: K,
776
+ onKeyDown: q,
777
777
  spellCheck: "true",
778
778
  contentEditable: s && g ? te.ContentEditable : "false",
779
779
  suppressContentEditableWarning: !0,
@@ -846,10 +846,10 @@ function sr() {
846
846
  m.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, m);
847
847
  }
848
848
  }
849
- var K = !1, G = !1, L = !1, q = !1, E = !1, D;
849
+ var q = !1, G = !1, L = !1, K = !1, E = !1, D;
850
850
  D = Symbol.for("react.module.reference");
851
851
  function U(e) {
852
- return !!(typeof e == "string" || typeof e == "function" || e === u || e === S || E || e === v || e === g || e === o || q || e === C || K || G || L || typeof e == "object" && e !== null && (e.$$typeof === k || e.$$typeof === d || e.$$typeof === P || e.$$typeof === x || e.$$typeof === s || // This needs to include all possible module reference object
852
+ return !!(typeof e == "string" || typeof e == "function" || e === u || e === S || E || e === v || e === g || e === o || K || e === C || q || 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
853
853
  // types supported by any Flight configuration anywhere since
854
854
  // we don't know which Flight build this will end up being used
855
855
  // with.
@@ -1062,10 +1062,10 @@ function sr() {
1062
1062
  var Z = e ? e.displayName || e.name : "", z = Z ? re(Z) : "";
1063
1063
  return typeof e == "function" && ae.set(e, z), z;
1064
1064
  }
1065
- function Ke(e, t, r) {
1065
+ function qe(e, t, r) {
1066
1066
  return je(e, !1);
1067
1067
  }
1068
- function qe(e) {
1068
+ function Ke(e) {
1069
1069
  var t = e.prototype;
1070
1070
  return !!(t && t.isReactComponent);
1071
1071
  }
@@ -1073,7 +1073,7 @@ function sr() {
1073
1073
  if (e == null)
1074
1074
  return "";
1075
1075
  if (typeof e == "function")
1076
- return je(e, qe(e));
1076
+ return je(e, Ke(e));
1077
1077
  if (typeof e == "string")
1078
1078
  return re(e);
1079
1079
  switch (e) {
@@ -1085,7 +1085,7 @@ function sr() {
1085
1085
  if (typeof e == "object")
1086
1086
  switch (e.$$typeof) {
1087
1087
  case s:
1088
- return Ke(e.render);
1088
+ return qe(e.render);
1089
1089
  case d:
1090
1090
  return ne(e.type, t, r);
1091
1091
  case k: {
@@ -1527,9 +1527,9 @@ var wt = {};
1527
1527
  * This source code is licensed under the MIT license found in the
1528
1528
  * LICENSE file in the root directory of this source tree.
1529
1529
  */
1530
- var Kt;
1530
+ var qt;
1531
1531
  function Ar() {
1532
- return Kt || (Kt = 1, process.env.NODE_ENV !== "production" && function() {
1532
+ return qt || (qt = 1, process.env.NODE_ENV !== "production" && function() {
1533
1533
  var n = W, i = Symbol.for("react.element"), c = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), v = Symbol.for("react.strict_mode"), S = Symbol.for("react.profiler"), P = Symbol.for("react.provider"), x = Symbol.for("react.context"), s = Symbol.for("react.forward_ref"), g = Symbol.for("react.suspense"), o = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), k = Symbol.for("react.lazy"), C = Symbol.for("react.offscreen"), N = Symbol.iterator, A = "@@iterator";
1534
1534
  function $(e) {
1535
1535
  if (e === null || typeof e != "object")
@@ -1555,10 +1555,10 @@ function Ar() {
1555
1555
  m.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, m);
1556
1556
  }
1557
1557
  }
1558
- var K = !1, G = !1, L = !1, q = !1, E = !1, D;
1558
+ var q = !1, G = !1, L = !1, K = !1, E = !1, D;
1559
1559
  D = Symbol.for("react.module.reference");
1560
1560
  function U(e) {
1561
- return !!(typeof e == "string" || typeof e == "function" || e === u || e === S || E || e === v || e === g || e === o || q || e === C || K || G || L || typeof e == "object" && e !== null && (e.$$typeof === k || e.$$typeof === d || e.$$typeof === P || e.$$typeof === x || e.$$typeof === s || // This needs to include all possible module reference object
1561
+ return !!(typeof e == "string" || typeof e == "function" || e === u || e === S || E || e === v || e === g || e === o || K || e === C || q || 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
1562
1562
  // types supported by any Flight configuration anywhere since
1563
1563
  // we don't know which Flight build this will end up being used
1564
1564
  // with.
@@ -1771,10 +1771,10 @@ function Ar() {
1771
1771
  var Z = e ? e.displayName || e.name : "", z = Z ? re(Z) : "";
1772
1772
  return typeof e == "function" && ae.set(e, z), z;
1773
1773
  }
1774
- function Ke(e, t, r) {
1774
+ function qe(e, t, r) {
1775
1775
  return je(e, !1);
1776
1776
  }
1777
- function qe(e) {
1777
+ function Ke(e) {
1778
1778
  var t = e.prototype;
1779
1779
  return !!(t && t.isReactComponent);
1780
1780
  }
@@ -1782,7 +1782,7 @@ function Ar() {
1782
1782
  if (e == null)
1783
1783
  return "";
1784
1784
  if (typeof e == "function")
1785
- return je(e, qe(e));
1785
+ return je(e, Ke(e));
1786
1786
  if (typeof e == "string")
1787
1787
  return re(e);
1788
1788
  switch (e) {
@@ -1794,7 +1794,7 @@ function Ar() {
1794
1794
  if (typeof e == "object")
1795
1795
  switch (e.$$typeof) {
1796
1796
  case s:
1797
- return Ke(e.render);
1797
+ return qe(e.render);
1798
1798
  case d:
1799
1799
  return ne(e.type, t, r);
1800
1800
  case k: {
@@ -2119,14 +2119,14 @@ React keys must be passed directly to JSX without using spread:
2119
2119
  }
2120
2120
  process.env.NODE_ENV === "production" ? Pt.exports = $r() : Pt.exports = Ar();
2121
2121
  var Et = Pt.exports;
2122
- const Br = "_btn_1k1b3_1", Lr = "_confirm_1k1b3_15", Wr = "_cancel_1k1b3_20", Ur = "_action_1k1b3_25", Kr = "_disabled_1k1b3_30", qr = "_m_1k1b3_44", Yr = "_l_1k1b3_48", jt = {
2122
+ const Br = "_btn_1k1b3_1", Lr = "_confirm_1k1b3_15", Wr = "_cancel_1k1b3_20", Ur = "_action_1k1b3_25", qr = "_disabled_1k1b3_30", Kr = "_m_1k1b3_44", Yr = "_l_1k1b3_48", jt = {
2123
2123
  btn: Br,
2124
2124
  confirm: Lr,
2125
2125
  cancel: Wr,
2126
2126
  action: Ur,
2127
- disabled: Kr,
2127
+ disabled: qr,
2128
2128
  await: "_await_1k1b3_37",
2129
- m: qr,
2129
+ m: Kr,
2130
2130
  l: Yr
2131
2131
  }, Gr = ({
2132
2132
  onClick: n,
@@ -2250,20 +2250,20 @@ var Ct;
2250
2250
  shake: $ = !0,
2251
2251
  menu: O
2252
2252
  }) {
2253
- const [p, I] = W.useState(!0), K = W.useRef(), G = (q) => {
2253
+ const [p, I] = W.useState(!0), q = W.useRef(), G = (K) => {
2254
2254
  if (k) {
2255
2255
  if (k.onClick)
2256
- return q(!1), k.onClick({ setOpen: I });
2256
+ return K(!1), k.onClick({ setOpen: I });
2257
2257
  if (k.onSend)
2258
2258
  return k.onSend({
2259
2259
  setOpen: I,
2260
- disabled: q
2260
+ disabled: K
2261
2261
  });
2262
2262
  }
2263
2263
  }, L = () => {
2264
2264
  if (!$) return I(!1);
2265
- K.current.setAttribute("shake", !0), setTimeout(() => {
2266
- K.current.setAttribute("shake", !1);
2265
+ q.current.setAttribute("shake", !0), setTimeout(() => {
2266
+ q.current.setAttribute("shake", !1);
2267
2267
  }, 1e3);
2268
2268
  };
2269
2269
  return p ? /* @__PURE__ */ H.jsxs("div", { className: `${_e.modal}`, children: [
@@ -2271,18 +2271,18 @@ var Ct;
2271
2271
  /* @__PURE__ */ H.jsxs(
2272
2272
  "div",
2273
2273
  {
2274
- className: [_e.w, _e[`s${N}`], A].filter((q) => q != "").join(" "),
2275
- ref: K,
2274
+ className: [_e.w, _e[`s${N}`], A].filter((K) => K != "").join(" "),
2275
+ ref: q,
2276
2276
  children: [
2277
2277
  /* @__PURE__ */ H.jsxs("div", { className: _e.h, children: [
2278
2278
  /* @__PURE__ */ H.jsx("div", { className: _e.t, children: o }),
2279
2279
  /* @__PURE__ */ H.jsxs("div", { className: _e.m, children: [
2280
- C && /* @__PURE__ */ H.jsx("nav", { children: C.map((q, E) => /* @__PURE__ */ H.jsx(
2280
+ C && /* @__PURE__ */ H.jsx("nav", { children: C.map((K, E) => /* @__PURE__ */ H.jsx(
2281
2281
  "span",
2282
2282
  {
2283
- onClick: q.onClick,
2284
- className: q.active ? "active" : "",
2285
- children: q.name
2283
+ onClick: K.onClick,
2284
+ className: K.active ? "active" : "",
2285
+ children: K.name
2286
2286
  },
2287
2287
  E
2288
2288
  )) }),
@@ -2347,24 +2347,24 @@ function ka({
2347
2347
  if (!(s && g) || !k) return;
2348
2348
  let I = k.split(".");
2349
2349
  Ct.Open(I[0], I[1], {
2350
- callback: (K) => {
2350
+ callback: (q) => {
2351
2351
  if (i)
2352
2352
  switch (o) {
2353
2353
  case "array":
2354
- i({ value: Object.keys(K), name: c });
2354
+ i({ value: Object.keys(q), name: c });
2355
2355
  break;
2356
2356
  case "string":
2357
2357
  i({
2358
- value: Object.keys(K).filter((G) => K[G]).join(v),
2358
+ value: Object.keys(q).filter((G) => q[G]).join(v),
2359
2359
  name: c
2360
2360
  });
2361
2361
  break;
2362
2362
  default:
2363
- i({ value: K, name: c });
2363
+ i({ value: q, name: c });
2364
2364
  }
2365
2365
  $(
2366
2366
  Object.fromEntries(
2367
- Object.entries(K).filter(
2367
+ Object.entries(q).filter(
2368
2368
  ([G, L]) => L !== !1
2369
2369
  )
2370
2370
  )
@@ -2419,47 +2419,47 @@ function wa({
2419
2419
  isReload: A = !1
2420
2420
  }) {
2421
2421
  var R, h;
2422
- const $ = W.useRef(null), [O, p] = W.useState(S), [I, K] = W.useState(x), [G, L] = W.useState(!1);
2422
+ const $ = W.useRef(null), [O, p] = W.useState(S), [I, q] = W.useState(x), [G, L] = W.useState(!1);
2423
2423
  W.useEffect(() => {
2424
- p(S), K(x);
2424
+ p(S), q(x);
2425
2425
  }, [S, x]), v = !!(v && (S === 0 || ((R = I == null ? void 0 : I[S]) == null ? void 0 : R.n) === void 0)) && !(c && u);
2426
2426
  let E = (b) => {
2427
2427
  p(b), P && P({ value: b, name: d, reload: A });
2428
2428
  }, D = (b) => {
2429
2429
  Object.keys(I || {}).length !== 0 && c && u && ($.position = b.target.getBoundingClientRect(), L(!0));
2430
2430
  }, U = {};
2431
- return s && (U.placeholder = s), v ? "" : /* @__PURE__ */ y.jsxs(
2432
- pt,
2433
- {
2434
- type: "select",
2435
- title: n,
2436
- element_blok: { className: [g] },
2437
- element_input: {
2438
- className: [Nt.f],
2439
- props: { onClick: D }
2440
- },
2441
- ref: $,
2442
- children: [
2443
- /* @__PURE__ */ y.jsx("div", { ...U, children: (h = I == null ? void 0 : I[O]) == null ? void 0 : h.n }),
2444
- G && Mt(
2445
- /* @__PURE__ */ y.jsx(
2446
- Xr,
2447
- {
2448
- parent: $.position,
2449
- onValue: E,
2450
- view: C,
2451
- className: g,
2452
- options: I,
2453
- order: N,
2454
- setOpen: L
2455
- },
2456
- (/* @__PURE__ */ new Date()).getTime()
2457
- ),
2458
- document.body
2459
- )
2460
- ]
2461
- }
2462
- );
2431
+ return s && (U.placeholder = s), v ? "" : /* @__PURE__ */ y.jsxs(y.Fragment, { children: [
2432
+ /* @__PURE__ */ y.jsx(
2433
+ pt,
2434
+ {
2435
+ type: "select",
2436
+ title: n,
2437
+ element_blok: { className: [g] },
2438
+ element_input: {
2439
+ className: [Nt.f],
2440
+ props: { onClick: D }
2441
+ },
2442
+ ref: $,
2443
+ children: /* @__PURE__ */ y.jsx("div", { ...U, children: (h = I == null ? void 0 : I[O]) == null ? void 0 : h.n })
2444
+ }
2445
+ ),
2446
+ G && Mt(
2447
+ /* @__PURE__ */ y.jsx(
2448
+ Xr,
2449
+ {
2450
+ parent: $.position,
2451
+ onValue: E,
2452
+ view: C,
2453
+ className: g,
2454
+ options: I,
2455
+ order: N,
2456
+ setOpen: L
2457
+ },
2458
+ (/* @__PURE__ */ new Date()).getTime()
2459
+ ),
2460
+ document.body
2461
+ )
2462
+ ] });
2463
2463
  }
2464
2464
  const Xr = ({
2465
2465
  onValue: n,
@@ -2541,8 +2541,8 @@ function ja({
2541
2541
  if (!(x && g) || !k) return;
2542
2542
  let L = k.split(".");
2543
2543
  Ct.Open(L[0], L[1], {
2544
- callback: (q) => {
2545
- i && i({ value: q, name: c }), O(q);
2544
+ callback: (K) => {
2545
+ i && i({ value: K, name: c }), O(K);
2546
2546
  },
2547
2547
  onValue: i,
2548
2548
  options: N,
@@ -2552,13 +2552,13 @@ function ja({
2552
2552
  };
2553
2553
  const I = {};
2554
2554
  I.field = "input", A && (I.className = A);
2555
- const K = {};
2556
- return u && (K.placeholder = u), P ? /* @__PURE__ */ y.jsx(y.Fragment, {}) : /* @__PURE__ */ y.jsxs("dl", { ...I, children: [
2555
+ const q = {};
2556
+ return u && (q.placeholder = u), P ? /* @__PURE__ */ y.jsx(y.Fragment, {}) : /* @__PURE__ */ y.jsxs("dl", { ...I, children: [
2557
2557
  v && /* @__PURE__ */ y.jsx("dt", { children: v }),
2558
2558
  /* @__PURE__ */ y.jsx(
2559
2559
  "dd",
2560
2560
  {
2561
- ...K,
2561
+ ...q,
2562
2562
  onClick: p,
2563
2563
  edit: (x && g) + "",
2564
2564
  "data-after": o,
@@ -2595,7 +2595,7 @@ function xa({
2595
2595
  });
2596
2596
  }, I = (E) => {
2597
2597
  E.key === "Enter" && E.preventDefault();
2598
- }, K = (E) => {
2598
+ }, q = (E) => {
2599
2599
  E.preventDefault(), navigator.clipboard.readText().then((D) => {
2600
2600
  if (C) {
2601
2601
  let U = E.target.textContent.length;
@@ -2614,18 +2614,18 @@ function xa({
2614
2614
  };
2615
2615
  const L = {};
2616
2616
  L.field = "password", $ && (L.show = ""), S && (L.className = S);
2617
- const q = {};
2618
- return v && (q.placeholder = v), d ? "" : /* @__PURE__ */ y.jsxs("dl", { ...L, children: [
2617
+ const K = {};
2618
+ return v && (K.placeholder = v), d ? "" : /* @__PURE__ */ y.jsxs("dl", { ...L, children: [
2619
2619
  P ? /* @__PURE__ */ y.jsx("dt", { children: P }) : "",
2620
2620
  /* @__PURE__ */ y.jsx(
2621
2621
  "dd",
2622
2622
  {
2623
- onPaste: K,
2623
+ onPaste: q,
2624
2624
  onInput: p,
2625
2625
  onKeyDown: I,
2626
2626
  onBlur: G,
2627
2627
  contentEditable: s && g ? te.ContentEditable : "false",
2628
- ...q,
2628
+ ...K,
2629
2629
  suppressContentEditableWarning: !0,
2630
2630
  children: n
2631
2631
  }
@@ -2657,7 +2657,7 @@ function Ca({
2657
2657
  v = v !== void 0 ? v : !0, c = c !== void 0 ? c : !0, s = !!(s && (g === "" || g === void 0)) && !(v && c), o = o !== void 0 ? o : "", u = u !== void 0 ? u : 99;
2658
2658
  let p = !1, I = (D) => {
2659
2659
  n == null || n({ value: D.target.textContent, name: C });
2660
- }, K = (D) => {
2660
+ }, q = (D) => {
2661
2661
  if (!(p && D.which === 86)) {
2662
2662
  if (D.which === 17 || D.which === 91) return p = !0;
2663
2663
  D.key !== "Backspace" && (D.target.textContent.length === u && D.preventDefault(), D.key === "Enter" && D.preventDefault(), isNaN(D.key) && D.preventDefault());
@@ -2675,7 +2675,7 @@ function Ca({
2675
2675
  }).catch((U) => {
2676
2676
  });
2677
2677
  };
2678
- const q = (D) => {
2678
+ const K = (D) => {
2679
2679
  te.Blur(D), i == null || i({ value: D.target.textContent, name: C });
2680
2680
  };
2681
2681
  let E = {};
@@ -2693,8 +2693,8 @@ function Ca({
2693
2693
  className: [V.f, V.w].join(" "),
2694
2694
  onPaste: L,
2695
2695
  onInput: I,
2696
- onBlur: q,
2697
- onKeyDown: K,
2696
+ onBlur: K,
2697
+ onKeyDown: q,
2698
2698
  onKeyUp: G,
2699
2699
  suppressContentEditableWarning: !0,
2700
2700
  ...E,
@@ -2717,10 +2717,10 @@ var Ft = { exports: {} }, ht = {};
2717
2717
  * This source code is licensed under the MIT license found in the
2718
2718
  * LICENSE file in the root directory of this source tree.
2719
2719
  */
2720
- var qt;
2720
+ var Kt;
2721
2721
  function ea() {
2722
- if (qt) return ht;
2723
- qt = 1;
2722
+ if (Kt) return ht;
2723
+ Kt = 1;
2724
2724
  var n = W, i = Symbol.for("react.element"), c = Symbol.for("react.fragment"), u = Object.prototype.hasOwnProperty, v = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, S = { key: !0, ref: !0, __self: !0, __source: !0 };
2725
2725
  function P(x, s, g) {
2726
2726
  var o, d = {}, k = null, C = null;
@@ -2769,10 +2769,10 @@ function ta() {
2769
2769
  m.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, m);
2770
2770
  }
2771
2771
  }
2772
- var K = !1, G = !1, L = !1, q = !1, E = !1, D;
2772
+ var q = !1, G = !1, L = !1, K = !1, E = !1, D;
2773
2773
  D = Symbol.for("react.module.reference");
2774
2774
  function U(e) {
2775
- return !!(typeof e == "string" || typeof e == "function" || e === u || e === S || E || e === v || e === g || e === o || q || e === C || K || G || L || typeof e == "object" && e !== null && (e.$$typeof === k || e.$$typeof === d || e.$$typeof === P || e.$$typeof === x || e.$$typeof === s || // This needs to include all possible module reference object
2775
+ return !!(typeof e == "string" || typeof e == "function" || e === u || e === S || E || e === v || e === g || e === o || K || e === C || q || 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
2776
2776
  // types supported by any Flight configuration anywhere since
2777
2777
  // we don't know which Flight build this will end up being used
2778
2778
  // with.
@@ -2985,10 +2985,10 @@ function ta() {
2985
2985
  var Z = e ? e.displayName || e.name : "", z = Z ? re(Z) : "";
2986
2986
  return typeof e == "function" && ae.set(e, z), z;
2987
2987
  }
2988
- function Ke(e, t, r) {
2988
+ function qe(e, t, r) {
2989
2989
  return je(e, !1);
2990
2990
  }
2991
- function qe(e) {
2991
+ function Ke(e) {
2992
2992
  var t = e.prototype;
2993
2993
  return !!(t && t.isReactComponent);
2994
2994
  }
@@ -2996,7 +2996,7 @@ function ta() {
2996
2996
  if (e == null)
2997
2997
  return "";
2998
2998
  if (typeof e == "function")
2999
- return je(e, qe(e));
2999
+ return je(e, Ke(e));
3000
3000
  if (typeof e == "string")
3001
3001
  return re(e);
3002
3002
  switch (e) {
@@ -3008,7 +3008,7 @@ function ta() {
3008
3008
  if (typeof e == "object")
3009
3009
  switch (e.$$typeof) {
3010
3010
  case s:
3011
- return Ke(e.render);
3011
+ return qe(e.render);
3012
3012
  case d:
3013
3013
  return ne(e.type, t, r);
3014
3014
  case k: {
@@ -3497,7 +3497,7 @@ function Sa({
3497
3497
  let $ = v, O = !0, p = 0, I = (h, b) => {
3498
3498
  let M = document.createRange(), Y = window.getSelection();
3499
3499
  M.setStart(b.childNodes[0], h), M.collapse(!0), Y.removeAllRanges(), Y.addRange(M), b.focus();
3500
- }, K = (h) => {
3500
+ }, q = (h) => {
3501
3501
  h.preventDefault(), navigator.clipboard.readText().then((b) => {
3502
3502
  window.document.execCommand("insertText", !1, b);
3503
3503
  }).catch((b) => {
@@ -3521,7 +3521,7 @@ function Sa({
3521
3521
  function(b) {
3522
3522
  }
3523
3523
  );
3524
- }, q = G(n), E = (h) => {
3524
+ }, K = G(n), E = (h) => {
3525
3525
  let b = G(h.target.textContent);
3526
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 });
3527
3527
  }, D = (h) => {
@@ -3544,14 +3544,14 @@ function Sa({
3544
3544
  children: /* @__PURE__ */ y.jsx(
3545
3545
  "div",
3546
3546
  {
3547
- onPaste: K,
3547
+ onPaste: q,
3548
3548
  onInput: E,
3549
3549
  onKeyDown: D,
3550
3550
  onContextMenu: L,
3551
3551
  onBlur: U,
3552
3552
  suppressContentEditableWarning: !0,
3553
3553
  ...R,
3554
- children: q.q
3554
+ children: K.q
3555
3555
  }
3556
3556
  )
3557
3557
  }
@@ -3580,7 +3580,7 @@ function Ra({
3580
3580
  O = s ? !0 : O;
3581
3581
  let I = (E) => {
3582
3582
  c == null || c({ value: E.target.innerText, name: u });
3583
- }, K = (E) => {
3583
+ }, q = (E) => {
3584
3584
  k && E.target.textContent.trim().length >= k && E.key !== "Backspace" && E.preventDefault(), E.key === "Enter" && E.preventDefault();
3585
3585
  }, G = (E) => {
3586
3586
  E.preventDefault(), navigator.clipboard.readText().then((D) => {
@@ -3601,7 +3601,7 @@ function Ra({
3601
3601
  if (!(s && g) && !d) return "";
3602
3602
  const L = {};
3603
3603
  v && (L.placeholder = v), s && g && (L.edit = ""), O && (L.open = "");
3604
- const q = (E) => {
3604
+ const K = (E) => {
3605
3605
  te.Blur(E), N == null || N({ value: E.target.textContent.trim(), name: u });
3606
3606
  };
3607
3607
  return /* @__PURE__ */ y.jsx(
@@ -3616,8 +3616,8 @@ function Ra({
3616
3616
  {
3617
3617
  onPaste: G,
3618
3618
  onInput: I,
3619
- onBlur: q,
3620
- onKeyDown: K,
3619
+ onBlur: K,
3620
+ onKeyDown: q,
3621
3621
  contentEditable: s && g ? te.ContentEditable : "false",
3622
3622
  suppressContentEditableWarning: !0,
3623
3623
  ...L,
@@ -5032,7 +5032,7 @@ function Ea({
5032
5032
  }, I = (R) => {
5033
5033
  let h = G(R.target.textContent);
5034
5034
  R.target.textContent = h.q, h.i = h.q.lastIndexOf(h.v.substr(-1)), h.i < h.q.length && h.q !== A ? h.i++ : h.i = h.q.indexOf("_"), p(h.i, R.target), i && i({ value: h.q.replace(/\D/g, ""), name: u });
5035
- }, K = (R) => {
5035
+ }, q = (R) => {
5036
5036
  R.preventDefault(), navigator.clipboard.readText().then((h) => {
5037
5037
  window.document.execCommand("insertText", !1, h);
5038
5038
  }).catch((h) => {
@@ -5062,7 +5062,7 @@ function Ea({
5062
5062
  function(h) {
5063
5063
  }
5064
5064
  );
5065
- }, q = G(n), E = (R) => {
5065
+ }, K = G(n), E = (R) => {
5066
5066
  R.key === "Enter" && R.preventDefault();
5067
5067
  };
5068
5068
  const D = (R) => {
@@ -5082,14 +5082,14 @@ function Ea({
5082
5082
  children: /* @__PURE__ */ y.jsx(
5083
5083
  "div",
5084
5084
  {
5085
- onPaste: K,
5085
+ onPaste: q,
5086
5086
  onInput: I,
5087
5087
  onKeyDown: E,
5088
5088
  onContextMenu: L,
5089
5089
  onBlur: D,
5090
5090
  suppressContentEditableWarning: !0,
5091
5091
  ...U,
5092
- children: q.q
5092
+ children: K.q
5093
5093
  }
5094
5094
  )
5095
5095
  }
@@ -5124,8 +5124,8 @@ function Oa({
5124
5124
  }, [d]);
5125
5125
  let I = (L) => {
5126
5126
  N(L), s == null || s({ value: L, name: o });
5127
- }, K = (L) => {
5128
- const q = L.target.getBoundingClientRect(), E = q.left, D = q.bottom, U = q.top;
5127
+ }, q = (L) => {
5128
+ const K = L.target.getBoundingClientRect(), E = K.left, D = K.bottom, U = K.top;
5129
5129
  A.position = { x: E, b: D, y: U }, O(!0);
5130
5130
  };
5131
5131
  const G = {};
@@ -5140,7 +5140,7 @@ function Oa({
5140
5140
  /* @__PURE__ */ y.jsxs(
5141
5141
  "dd",
5142
5142
  {
5143
- onClick: K,
5143
+ onClick: q,
5144
5144
  className: [V.f, V.w].join(" "),
5145
5145
  ...G,
5146
5146
  "data-edit": (c && u) + "",
@@ -5201,7 +5201,7 @@ const ca = ({
5201
5201
  P(!1);
5202
5202
  }, I = () => {
5203
5203
  L(d.m + 1, d.y);
5204
- }, K = () => {
5204
+ }, q = () => {
5205
5205
  L(d.m - 1, d.y);
5206
5206
  }, G = (h) => {
5207
5207
  i(
@@ -5210,7 +5210,7 @@ const ca = ({
5210
5210
  }, L = (h, b) => {
5211
5211
  b = h > 12 ? b + 1 : h < 1 ? b - 1 : b, h = h > 12 ? 1 : h < 1 ? 12 : h, k({ y: b, m: h });
5212
5212
  };
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) => {
5213
+ const K = (h) => g.y === d.y && g.m === d.m && g.d === h ? { "data-active": "true" } : {}, E = (h) => o.y === d.y && o.m === d.m && o.d === h ? { "data-current": "true" } : {}, D = (h) => {
5214
5214
  let b = !0;
5215
5215
  if (u) {
5216
5216
  let M = u.getTime(), Y = new Date(d.y, d.m - 1, h).getTime();
@@ -5235,7 +5235,7 @@ const ca = ({
5235
5235
  style: { top: U + "px", left: R + "px" },
5236
5236
  children: [
5237
5237
  /* @__PURE__ */ y.jsxs("s", { children: [
5238
- /* @__PURE__ */ y.jsx("i", { onClick: K, children: /* @__PURE__ */ y.jsx(
5238
+ /* @__PURE__ */ y.jsx("i", { onClick: q, children: /* @__PURE__ */ y.jsx(
5239
5239
  "svg",
5240
5240
  {
5241
5241
  width: "16",
@@ -5268,12 +5268,12 @@ const ca = ({
5268
5268
  O.map((h, b) => /* @__PURE__ */ y.jsx("span", { children: h !== 0 && D(h) ? /* @__PURE__ */ y.jsx(
5269
5269
  "b",
5270
5270
  {
5271
- ...q(h),
5271
+ ...K(h),
5272
5272
  ...E(h),
5273
5273
  onClick: () => G(h),
5274
5274
  children: h
5275
5275
  }
5276
- ) : /* @__PURE__ */ y.jsx("p", { ...q(h), ...E(h), children: h !== 0 ? h : "" }) }, b))
5276
+ ) : /* @__PURE__ */ y.jsx("p", { ...K(h), ...E(h), children: h !== 0 ? h : "" }) }, b))
5277
5277
  ] })
5278
5278
  ]
5279
5279
  }
@@ -5339,8 +5339,8 @@ function Ta({
5339
5339
  d(p), i && i({ value: p, name: c });
5340
5340
  }, $ = (p) => {
5341
5341
  if (!S || !P) return;
5342
- const I = p.target.getBoundingClientRect(), K = I.left, G = I.top;
5343
- k.position = { x: K, y: G }, N(!0);
5342
+ const I = p.target.getBoundingClientRect(), q = I.left, G = I.top;
5343
+ k.position = { x: q, y: G }, N(!0);
5344
5344
  };
5345
5345
  const O = {};
5346
5346
  return s && (O.placeholder = s), v || /* @__PURE__ */ y.jsxs(y.Fragment, { children: [
@@ -5497,7 +5497,7 @@ function Da({
5497
5497
  let O = !!(P && (n === "" || n === void 0)), p = (R) => C === "multi" ? R.replace(/[^+\d.+-]/g, "") : R.replace(/[^+\d.]/g, ""), I = (R, h) => {
5498
5498
  let b = document.createRange(), M = window.getSelection();
5499
5499
  b.setStart(h.childNodes[0], R), b.collapse(!0), M.removeAllRanges(), M.addRange(b), h.focus();
5500
- }, K = (R) => {
5500
+ }, q = (R) => {
5501
5501
  i == null || i({
5502
5502
  value: p(R.target.textContent) * d,
5503
5503
  name: c
@@ -5509,7 +5509,7 @@ function Da({
5509
5509
  }), R.target.textContent = zt(R.target.textContent);
5510
5510
  }, L = (R) => {
5511
5511
  R.target.textContent = p(R.target.textContent);
5512
- }, q = (R) => {
5512
+ }, K = (R) => {
5513
5513
  R.currentTarget.previousElementSibling.textContent = "", i == null || i({
5514
5514
  value: 0,
5515
5515
  name: c
@@ -5536,7 +5536,7 @@ function Da({
5536
5536
  {
5537
5537
  ...U,
5538
5538
  className: [V.f, V.w].join(" "),
5539
- onInput: K,
5539
+ onInput: q,
5540
5540
  onPaste: D,
5541
5541
  onBlur: G,
5542
5542
  onKeyDown: E,
@@ -5547,7 +5547,7 @@ function Da({
5547
5547
  children: !u || n ? zt(n) : ""
5548
5548
  }
5549
5549
  ),
5550
- $ && /* @__PURE__ */ y.jsx("svg", { "action-type": "delete", onClick: q, viewBox: "0 0 24 24", children: /* @__PURE__ */ y.jsx("path", { d: "M17 6L6 17M6 6L17 17" }) }),
5550
+ $ && /* @__PURE__ */ y.jsx("svg", { "action-type": "delete", onClick: K, viewBox: "0 0 24 24", children: /* @__PURE__ */ y.jsx("path", { d: "M17 6L6 17M6 6L17 17" }) }),
5551
5551
  S ? /* @__PURE__ */ y.jsx("em", { children: S }) : ""
5552
5552
  ]
5553
5553
  }