@elcrm/form 0.0.36 → 0.0.37

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
- import W, { forwardRef as Jt, useEffect as Zt } from "react";
1
+ import U, { 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.35", Xt = {
3
+ import './index.css';const Vt = "0.0.37", Xt = {
4
4
  version: Vt
5
5
  };
6
6
  var Tt = { exports: {} }, mt = {};
@@ -17,15 +17,15 @@ var $t;
17
17
  function Qt() {
18
18
  if ($t) return mt;
19
19
  $t = 1;
20
- var a = W, i = Symbol.for("react.element"), l = Symbol.for("react.fragment"), u = Object.prototype.hasOwnProperty, v = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, C = { key: !0, ref: !0, __self: !0, __source: !0 };
21
- function D(x, s, g) {
22
- var o, d = {}, b = null, S = null;
23
- g !== void 0 && (b = "" + g), s.key !== void 0 && (b = "" + s.key), s.ref !== void 0 && (S = s.ref);
24
- for (o in s) u.call(s, o) && !C.hasOwnProperty(o) && (d[o] = s[o]);
25
- if (x && x.defaultProps) for (o in s = x.defaultProps, s) d[o] === void 0 && (d[o] = s[o]);
26
- return { $$typeof: i, type: x, key: b, ref: S, props: d, _owner: v.current };
20
+ var a = U, s = Symbol.for("react.element"), c = Symbol.for("react.fragment"), u = Object.prototype.hasOwnProperty, y = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, S = { key: !0, ref: !0, __self: !0, __source: !0 };
21
+ function P(x, i, g) {
22
+ var o, d = {}, b = null, C = null;
23
+ g !== void 0 && (b = "" + g), i.key !== void 0 && (b = "" + i.key), i.ref !== void 0 && (C = i.ref);
24
+ for (o in i) u.call(i, o) && !S.hasOwnProperty(o) && (d[o] = i[o]);
25
+ if (x && x.defaultProps) for (o in i = x.defaultProps, i) d[o] === void 0 && (d[o] = i[o]);
26
+ return { $$typeof: s, type: x, key: b, ref: C, props: d, _owner: y.current };
27
27
  }
28
- return mt.Fragment = l, mt.jsx = D, mt.jsxs = D, mt;
28
+ return mt.Fragment = c, mt.jsx = P, mt.jsxs = P, mt;
29
29
  }
30
30
  var yt = {};
31
31
  /**
@@ -40,41 +40,41 @@ var yt = {};
40
40
  var At;
41
41
  function er() {
42
42
  return At || (At = 1, process.env.NODE_ENV !== "production" && function() {
43
- var a = W, i = Symbol.for("react.element"), l = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), v = Symbol.for("react.strict_mode"), C = Symbol.for("react.profiler"), D = Symbol.for("react.provider"), x = Symbol.for("react.context"), s = Symbol.for("react.forward_ref"), g = Symbol.for("react.suspense"), o = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), b = Symbol.for("react.lazy"), S = Symbol.for("react.offscreen"), F = Symbol.iterator, A = "@@iterator";
44
- function I(e) {
43
+ var a = U, s = Symbol.for("react.element"), c = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), y = Symbol.for("react.strict_mode"), S = Symbol.for("react.profiler"), P = Symbol.for("react.provider"), x = Symbol.for("react.context"), i = Symbol.for("react.forward_ref"), g = Symbol.for("react.suspense"), o = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), b = Symbol.for("react.lazy"), C = Symbol.for("react.offscreen"), F = Symbol.iterator, A = "@@iterator";
44
+ function M(e) {
45
45
  if (e === null || typeof e != "object")
46
46
  return null;
47
47
  var t = F && e[F] || e[A];
48
48
  return typeof t == "function" ? t : null;
49
49
  }
50
- var O = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
50
+ var E = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
51
51
  function p(e) {
52
52
  {
53
53
  for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), n = 1; n < t; n++)
54
54
  r[n - 1] = arguments[n];
55
- M("error", e, r);
55
+ I("error", e, r);
56
56
  }
57
57
  }
58
- function M(e, t, r) {
58
+ function I(e, t, r) {
59
59
  {
60
- var n = O.ReactDebugCurrentFrame, f = n.getStackAddendum();
60
+ var n = E.ReactDebugCurrentFrame, f = n.getStackAddendum();
61
61
  f !== "" && (t += "%s", r = r.concat([f]));
62
- var m = r.map(function(c) {
63
- return String(c);
62
+ var m = r.map(function(l) {
63
+ return String(l);
64
64
  });
65
65
  m.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, m);
66
66
  }
67
67
  }
68
- var K = !1, G = !1, L = !1, q = !1, E = !1, P;
69
- P = Symbol.for("react.module.reference");
70
- function U(e) {
71
- return !!(typeof e == "string" || typeof e == "function" || e === u || e === C || E || e === v || e === g || e === o || q || e === S || K || G || L || typeof e == "object" && e !== null && (e.$$typeof === b || e.$$typeof === d || e.$$typeof === D || e.$$typeof === x || e.$$typeof === s || // This needs to include all possible module reference object
68
+ var K = !1, G = !1, L = !1, q = !1, R = !1, T;
69
+ T = Symbol.for("react.module.reference");
70
+ function O(e) {
71
+ return !!(typeof e == "string" || typeof e == "function" || e === u || e === S || R || e === y || e === g || e === o || q || e === C || K || G || L || typeof e == "object" && e !== null && (e.$$typeof === b || e.$$typeof === d || e.$$typeof === P || e.$$typeof === x || e.$$typeof === i || // This needs to include all possible module reference object
72
72
  // types supported by any Flight configuration anywhere since
73
73
  // we don't know which Flight build this will end up being used
74
74
  // with.
75
- e.$$typeof === P || e.getModuleId !== void 0));
75
+ e.$$typeof === T || e.getModuleId !== void 0));
76
76
  }
77
- function R(e, t, r) {
77
+ function W(e, t, r) {
78
78
  var n = e.displayName;
79
79
  if (n)
80
80
  return n;
@@ -94,11 +94,11 @@ function er() {
94
94
  switch (e) {
95
95
  case u:
96
96
  return "Fragment";
97
- case l:
97
+ case c:
98
98
  return "Portal";
99
- case C:
99
+ case S:
100
100
  return "Profiler";
101
- case v:
101
+ case y:
102
102
  return "StrictMode";
103
103
  case g:
104
104
  return "Suspense";
@@ -110,18 +110,18 @@ function er() {
110
110
  case x:
111
111
  var t = e;
112
112
  return h(t) + ".Consumer";
113
- case D:
113
+ case P:
114
114
  var r = e;
115
115
  return h(r._context) + ".Provider";
116
- case s:
117
- return R(e, e.render, "ForwardRef");
116
+ case i:
117
+ return W(e, e.render, "ForwardRef");
118
118
  case d:
119
119
  var n = e.displayName || null;
120
120
  return n !== null ? n : k(e.type) || "Memo";
121
121
  case b: {
122
- var f = e, m = f._payload, c = f._init;
122
+ var f = e, m = f._payload, l = f._init;
123
123
  try {
124
- return k(c(m));
124
+ return k(l(m));
125
125
  } catch {
126
126
  return null;
127
127
  }
@@ -129,14 +129,14 @@ function er() {
129
129
  }
130
130
  return null;
131
131
  }
132
- var $ = Object.assign, Y = 0, X, ie, se, ve, ge, be, ke;
132
+ var $ = Object.assign, Y = 0, X, oe, se, ve, ge, be, ke;
133
133
  function we() {
134
134
  }
135
135
  we.__reactDisabledLog = !0;
136
136
  function We() {
137
137
  {
138
138
  if (Y === 0) {
139
- X = console.log, ie = console.info, se = console.warn, ve = console.error, ge = console.group, be = console.groupCollapsed, ke = console.groupEnd;
139
+ X = console.log, oe = console.info, se = console.warn, ve = console.error, ge = console.group, be = console.groupCollapsed, ke = console.groupEnd;
140
140
  var e = {
141
141
  configurable: !0,
142
142
  enumerable: !0,
@@ -169,7 +169,7 @@ function er() {
169
169
  value: X
170
170
  }),
171
171
  info: $({}, e, {
172
- value: ie
172
+ value: oe
173
173
  }),
174
174
  warn: $({}, e, {
175
175
  value: se
@@ -191,8 +191,8 @@ function er() {
191
191
  Y < 0 && p("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
192
192
  }
193
193
  }
194
- var le = O.ReactCurrentDispatcher, ce;
195
- function re(e, t, r) {
194
+ var le = E.ReactCurrentDispatcher, ce;
195
+ function te(e, t, r) {
196
196
  {
197
197
  if (ce === void 0)
198
198
  try {
@@ -205,16 +205,16 @@ function er() {
205
205
  ` + ce + e;
206
206
  }
207
207
  }
208
- var ue = !1, ae;
208
+ var ue = !1, re;
209
209
  {
210
210
  var Ke = typeof WeakMap == "function" ? WeakMap : Map;
211
- ae = new Ke();
211
+ re = new Ke();
212
212
  }
213
213
  function je(e, t) {
214
214
  if (!e || ue)
215
215
  return "";
216
216
  {
217
- var r = ae.get(e);
217
+ var r = re.get(e);
218
218
  if (r !== void 0)
219
219
  return r;
220
220
  }
@@ -226,27 +226,27 @@ function er() {
226
226
  m = le.current, le.current = null, We();
227
227
  try {
228
228
  if (t) {
229
- var c = function() {
229
+ var l = function() {
230
230
  throw Error();
231
231
  };
232
- if (Object.defineProperty(c.prototype, "props", {
232
+ if (Object.defineProperty(l.prototype, "props", {
233
233
  set: function() {
234
234
  throw Error();
235
235
  }
236
236
  }), typeof Reflect == "object" && Reflect.construct) {
237
237
  try {
238
- Reflect.construct(c, []);
238
+ Reflect.construct(l, []);
239
239
  } catch (N) {
240
240
  n = N;
241
241
  }
242
- Reflect.construct(e, [], c);
242
+ Reflect.construct(e, [], l);
243
243
  } else {
244
244
  try {
245
- c.call();
245
+ l.call();
246
246
  } catch (N) {
247
247
  n = N;
248
248
  }
249
- e.call(c.prototype);
249
+ e.call(l.prototype);
250
250
  }
251
251
  } else {
252
252
  try {
@@ -259,17 +259,17 @@ function er() {
259
259
  } catch (N) {
260
260
  if (N && n && typeof N.stack == "string") {
261
261
  for (var _ = N.stack.split(`
262
- `), T = n.stack.split(`
263
- `), w = _.length - 1, j = T.length - 1; w >= 1 && j >= 0 && _[w] !== T[j]; )
262
+ `), D = n.stack.split(`
263
+ `), w = _.length - 1, j = D.length - 1; w >= 1 && j >= 0 && _[w] !== D[j]; )
264
264
  j--;
265
265
  for (; w >= 1 && j >= 0; w--, j--)
266
- if (_[w] !== T[j]) {
266
+ if (_[w] !== D[j]) {
267
267
  if (w !== 1 || j !== 1)
268
268
  do
269
- if (w--, j--, j < 0 || _[w] !== T[j]) {
269
+ if (w--, j--, j < 0 || _[w] !== D[j]) {
270
270
  var B = `
271
271
  ` + _[w].replace(" at new ", " at ");
272
- return e.displayName && B.includes("<anonymous>") && (B = B.replace("<anonymous>", e.displayName)), typeof e == "function" && ae.set(e, B), B;
272
+ return e.displayName && B.includes("<anonymous>") && (B = B.replace("<anonymous>", e.displayName)), typeof e == "function" && re.set(e, B), B;
273
273
  }
274
274
  while (w >= 1 && j >= 0);
275
275
  break;
@@ -278,8 +278,8 @@ function er() {
278
278
  } finally {
279
279
  ue = !1, le.current = m, Ue(), Error.prepareStackTrace = f;
280
280
  }
281
- var Z = e ? e.displayName || e.name : "", z = Z ? re(Z) : "";
282
- return typeof e == "function" && ae.set(e, z), z;
281
+ var Z = e ? e.displayName || e.name : "", z = Z ? te(Z) : "";
282
+ return typeof e == "function" && re.set(e, z), z;
283
283
  }
284
284
  function qe(e, t, r) {
285
285
  return je(e, !1);
@@ -294,16 +294,16 @@ function er() {
294
294
  if (typeof e == "function")
295
295
  return je(e, Ye(e));
296
296
  if (typeof e == "string")
297
- return re(e);
297
+ return te(e);
298
298
  switch (e) {
299
299
  case g:
300
- return re("Suspense");
300
+ return te("Suspense");
301
301
  case o:
302
- return re("SuspenseList");
302
+ return te("SuspenseList");
303
303
  }
304
304
  if (typeof e == "object")
305
305
  switch (e.$$typeof) {
306
- case s:
306
+ case i:
307
307
  return qe(e.render);
308
308
  case d:
309
309
  return ne(e.type, t, r);
@@ -317,8 +317,8 @@ function er() {
317
317
  }
318
318
  return "";
319
319
  }
320
- var V = Object.prototype.hasOwnProperty, xe = {}, Ce = O.ReactDebugCurrentFrame;
321
- function oe(e) {
320
+ var V = Object.prototype.hasOwnProperty, xe = {}, Ce = E.ReactDebugCurrentFrame;
321
+ function ae(e) {
322
322
  if (e) {
323
323
  var t = e._owner, r = ne(e.type, e._source, t ? t.type : null);
324
324
  Ce.setExtraStackFrame(r);
@@ -328,19 +328,19 @@ function er() {
328
328
  function Ge(e, t, r, n, f) {
329
329
  {
330
330
  var m = Function.call.bind(V);
331
- for (var c in e)
332
- if (m(e, c)) {
331
+ for (var l in e)
332
+ if (m(e, l)) {
333
333
  var _ = void 0;
334
334
  try {
335
- if (typeof e[c] != "function") {
336
- var T = Error((n || "React class") + ": " + r + " type `" + c + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[c] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
337
- throw T.name = "Invariant Violation", T;
335
+ if (typeof e[l] != "function") {
336
+ var D = Error((n || "React class") + ": " + r + " type `" + l + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[l] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
337
+ throw D.name = "Invariant Violation", D;
338
338
  }
339
- _ = e[c](t, c, n, r, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
339
+ _ = e[l](t, l, n, r, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
340
340
  } catch (w) {
341
341
  _ = w;
342
342
  }
343
- _ && !(_ instanceof Error) && (oe(f), p("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", n || "React class", r, c, typeof _), oe(null)), _ instanceof Error && !(_.message in xe) && (xe[_.message] = !0, oe(f), p("Failed %s type: %s", r, _.message), oe(null));
343
+ _ && !(_ instanceof Error) && (ae(f), p("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", n || "React class", r, l, typeof _), ae(null)), _ instanceof Error && !(_.message in xe) && (xe[_.message] = !0, ae(f), p("Failed %s type: %s", r, _.message), ae(null));
344
344
  }
345
345
  }
346
346
  }
@@ -368,7 +368,7 @@ function er() {
368
368
  if (Je(e))
369
369
  return p("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", He(e)), Se(e);
370
370
  }
371
- var Ee = O.ReactCurrentOwner, Ze = {
371
+ var Ee = E.ReactCurrentOwner, Ze = {
372
372
  key: !0,
373
373
  ref: !0,
374
374
  __self: !0,
@@ -415,15 +415,15 @@ function er() {
415
415
  });
416
416
  }
417
417
  }
418
- var rt = function(e, t, r, n, f, m, c) {
418
+ var rt = function(e, t, r, n, f, m, l) {
419
419
  var _ = {
420
420
  // This tag allows us to uniquely identify this as a React Element
421
- $$typeof: i,
421
+ $$typeof: s,
422
422
  // Built-in properties that belong on the element
423
423
  type: e,
424
424
  key: t,
425
425
  ref: r,
426
- props: c,
426
+ props: l,
427
427
  // Record the component responsible for creating this element.
428
428
  _owner: m
429
429
  };
@@ -444,25 +444,25 @@ function er() {
444
444
  value: f
445
445
  }), Object.freeze && (Object.freeze(_.props), Object.freeze(_)), _;
446
446
  };
447
- function at(e, t, r, n, f) {
447
+ function nt(e, t, r, n, f) {
448
448
  {
449
- var m, c = {}, _ = null, T = null;
450
- r !== void 0 && (Re(r), _ = "" + r), Xe(t) && (Re(t.key), _ = "" + t.key), Ve(t) && (T = t.ref, Qe(t, f));
449
+ var m, l = {}, _ = null, D = null;
450
+ r !== void 0 && (Re(r), _ = "" + r), Xe(t) && (Re(t.key), _ = "" + t.key), Ve(t) && (D = t.ref, Qe(t, f));
451
451
  for (m in t)
452
- V.call(t, m) && !Ze.hasOwnProperty(m) && (c[m] = t[m]);
452
+ V.call(t, m) && !Ze.hasOwnProperty(m) && (l[m] = t[m]);
453
453
  if (e && e.defaultProps) {
454
454
  var w = e.defaultProps;
455
455
  for (m in w)
456
- c[m] === void 0 && (c[m] = w[m]);
456
+ l[m] === void 0 && (l[m] = w[m]);
457
457
  }
458
- if (_ || T) {
458
+ if (_ || D) {
459
459
  var j = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
460
- _ && et(c, j), T && tt(c, j);
460
+ _ && et(l, j), D && tt(l, j);
461
461
  }
462
- return rt(e, _, T, f, n, Ee.current, c);
462
+ return rt(e, _, D, f, n, Ee.current, l);
463
463
  }
464
464
  }
465
- var fe = O.ReactCurrentOwner, De = O.ReactDebugCurrentFrame;
465
+ var fe = E.ReactCurrentOwner, De = E.ReactDebugCurrentFrame;
466
466
  function J(e) {
467
467
  if (e) {
468
468
  var t = e._owner, r = ne(e.type, e._source, t ? t.type : null);
@@ -473,7 +473,7 @@ function er() {
473
473
  var pe;
474
474
  pe = !1;
475
475
  function me(e) {
476
- return typeof e == "object" && e !== null && e.$$typeof === i;
476
+ return typeof e == "object" && e !== null && e.$$typeof === s;
477
477
  }
478
478
  function Pe() {
479
479
  {
@@ -487,7 +487,7 @@ Check the render method of \`` + e + "`.";
487
487
  return "";
488
488
  }
489
489
  }
490
- function nt(e) {
490
+ function at(e) {
491
491
  return "";
492
492
  }
493
493
  var Ne = {};
@@ -528,14 +528,14 @@ Check the top-level render call using <` + r + ">.");
528
528
  else if (me(e))
529
529
  e._store && (e._store.validated = !0);
530
530
  else if (e) {
531
- var f = I(e);
531
+ var f = M(e);
532
532
  if (typeof f == "function" && f !== e.entries)
533
- for (var m = f.call(e), c; !(c = m.next()).done; )
534
- me(c.value) && Fe(c.value, t);
533
+ for (var m = f.call(e), l; !(l = m.next()).done; )
534
+ me(l.value) && Fe(l.value, t);
535
535
  }
536
536
  }
537
537
  }
538
- function it(e) {
538
+ function _t(e) {
539
539
  {
540
540
  var t = e.type;
541
541
  if (t == null || typeof t == "string")
@@ -543,7 +543,7 @@ Check the top-level render call using <` + r + ">.");
543
543
  var r;
544
544
  if (typeof t == "function")
545
545
  r = t.propTypes;
546
- else if (typeof t == "object" && (t.$$typeof === s || // Note: Memo only checks outer props here.
546
+ else if (typeof t == "object" && (t.$$typeof === i || // Note: Memo only checks outer props here.
547
547
  // Inner props are checked in the reconciler.
548
548
  t.$$typeof === d))
549
549
  r = t.propTypes;
@@ -560,7 +560,7 @@ Check the top-level render call using <` + r + ">.");
560
560
  typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && p("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
561
561
  }
562
562
  }
563
- function _t(e) {
563
+ function it(e) {
564
564
  {
565
565
  for (var t = Object.keys(e.props), r = 0; r < t.length; r++) {
566
566
  var n = t[r];
@@ -575,19 +575,19 @@ Check the top-level render call using <` + r + ">.");
575
575
  var Me = {};
576
576
  function $e(e, t, r, n, f, m) {
577
577
  {
578
- var c = U(e);
579
- if (!c) {
578
+ var l = O(e);
579
+ if (!l) {
580
580
  var _ = "";
581
581
  (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (_ += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
582
- var T = nt();
583
- T ? _ += T : _ += Pe();
582
+ var D = at();
583
+ D ? _ += D : _ += Pe();
584
584
  var w;
585
- e === null ? w = "null" : de(e) ? w = "array" : e !== void 0 && e.$$typeof === i ? (w = "<" + (k(e.type) || "Unknown") + " />", _ = " Did you accidentally export a JSX literal instead of a component?") : w = typeof e, p("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", w, _);
585
+ e === null ? w = "null" : de(e) ? w = "array" : e !== void 0 && e.$$typeof === s ? (w = "<" + (k(e.type) || "Unknown") + " />", _ = " Did you accidentally export a JSX literal instead of a component?") : w = typeof e, p("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", w, _);
586
586
  }
587
- var j = at(e, t, r, f, m);
587
+ var j = nt(e, t, r, f, m);
588
588
  if (j == null)
589
589
  return j;
590
- if (c) {
590
+ if (l) {
591
591
  var B = t.children;
592
592
  if (B !== void 0)
593
593
  if (n)
@@ -614,7 +614,7 @@ React keys must be passed directly to JSX without using spread:
614
614
  <%s key={someKey} {...props} />`, ye, z, dt, z), Me[z + ye] = !0;
615
615
  }
616
616
  }
617
- return e === u ? _t(j) : it(j), j;
617
+ return e === u ? it(j) : _t(j), j;
618
618
  }
619
619
  }
620
620
  function st(e, t, r) {
@@ -628,158 +628,158 @@ React keys must be passed directly to JSX without using spread:
628
628
  }()), yt;
629
629
  }
630
630
  process.env.NODE_ENV === "production" ? Tt.exports = Qt() : Tt.exports = er();
631
- var y = Tt.exports;
632
- function ba({ name: a, value: i, title: l, style: u, className: v }) {
633
- let C = {
631
+ var v = Tt.exports;
632
+ function bn({ name: a, value: s, title: c, style: u, className: y }) {
633
+ let S = {
634
634
  field: "progress"
635
635
  };
636
- return u && (C.style = u), v && (C.className = v), /* @__PURE__ */ y.jsxs("dl", { ...C, children: [
637
- l && /* @__PURE__ */ y.jsx("dt", { children: l }),
638
- /* @__PURE__ */ y.jsx("dd", {})
636
+ return u && (S.style = u), y && (S.className = y), /* @__PURE__ */ v.jsxs("dl", { ...S, children: [
637
+ c && /* @__PURE__ */ v.jsx("dt", { children: c }),
638
+ /* @__PURE__ */ v.jsx("dd", {})
639
639
  ] });
640
640
  }
641
- let te = {};
642
- te.KeyDown = (a) => {
641
+ let ee = {};
642
+ ee.KeyDown = (a) => {
643
643
  a.key === "Enter" && a.preventDefault();
644
644
  };
645
- te.PasteOne = (a) => {
646
- a.preventDefault(), navigator.clipboard.readText().then((i) => {
647
- i = i.replace(/^\s*/, "").replace(/\s*$/, ""), window.document.execCommand("insertText", !1, i);
648
- }).catch((i) => {
645
+ ee.PasteOne = (a) => {
646
+ a.preventDefault(), navigator.clipboard.readText().then((s) => {
647
+ s = s.replace(/^\s*/, "").replace(/\s*$/, ""), window.document.execCommand("insertText", !1, s);
648
+ }).catch((s) => {
649
649
  });
650
650
  };
651
- te.Paste = (a, i) => {
652
- i.preventDefault(), navigator.clipboard.readText().then((l) => {
651
+ ee.Paste = (a, s) => {
652
+ s.preventDefault(), navigator.clipboard.readText().then((c) => {
653
653
  if (a) {
654
- let u = i.target.textContent.length;
654
+ let u = s.target.textContent.length;
655
655
  if (u >= a) return;
656
- a -= u, l = l.slice(0, a);
656
+ a -= u, c = c.slice(0, a);
657
657
  }
658
658
  window.document.execCommand(
659
659
  "insertText",
660
660
  !1,
661
- l.replace(/(\r\n|\n|\r)/gm, " ")
661
+ c.replace(/(\r\n|\n|\r)/gm, " ")
662
662
  );
663
- }).catch((l) => {
663
+ }).catch((c) => {
664
664
  });
665
665
  };
666
- te.Focus = (a) => {
666
+ ee.Focus = (a) => {
667
667
  a.target.textContent.length === 0 && (a.target.innerHTML = "<br>");
668
668
  };
669
- te.Blur = (a) => {
669
+ ee.Blur = (a) => {
670
670
  a.target.scrollLeft = 0, a.target.querySelector("br") !== null && a.target.querySelector("br").remove();
671
671
  };
672
- te.ContentEditable = "plaintext-only";
673
- const tr = "_l_o0eao_13", rr = "_f_o0eao_37", ar = "_n_o0eao_55", nr = "_w_o0eao_60", or = "_t_o0eao_70", ir = "_g_o0eao_75", _r = "_h_o0eao_79", ee = {
672
+ ee.ContentEditable = "plaintext-only";
673
+ const tr = "_l_cnzbf_13", rr = "_f_cnzbf_37", nr = "_n_cnzbf_55", ar = "_w_cnzbf_60", or = "_t_cnzbf_70", _r = "_g_cnzbf_75", ir = "_h_cnzbf_79", ie = {
674
674
  l: tr,
675
675
  f: rr,
676
- n: ar,
677
- w: nr,
676
+ n: nr,
677
+ w: ar,
678
678
  t: or,
679
- g: ir,
680
- h: _r
679
+ g: _r,
680
+ h: ir
681
681
  }, Le = Jt(
682
682
  ({
683
683
  element_blok: a,
684
- element_input: i,
685
- type: l = "input",
684
+ element_input: s,
685
+ type: c = "input",
686
686
  title: u,
687
- before: v,
688
- after: C,
689
- children: D
690
- }, x) => /* @__PURE__ */ y.jsxs(
687
+ before: y,
688
+ after: S,
689
+ children: P
690
+ }, x) => /* @__PURE__ */ v.jsxs(
691
691
  "dl",
692
692
  {
693
- "data-field": l,
694
- ...i.props,
695
- className: [ee.l, ...a.className].filter((s) => s !== void 0).join(" "),
693
+ "data-field": c,
694
+ ...s.props,
695
+ className: [ie.l, ...a.className].filter((i) => i !== void 0).join(" "),
696
696
  children: [
697
- u ? /* @__PURE__ */ y.jsx("dt", { className: ee.t, children: u }) : "",
698
- v,
699
- /* @__PURE__ */ y.jsx(
697
+ u ? /* @__PURE__ */ v.jsx("dt", { className: ie.t, children: u }) : "",
698
+ y,
699
+ /* @__PURE__ */ v.jsx(
700
700
  "dd",
701
701
  {
702
702
  ref: x,
703
- className: [ee.f, ...i.className].join(
703
+ className: [ie.f, ...s.className].join(
704
704
  " "
705
705
  ),
706
- ...i.props,
707
- children: D
706
+ ...s.props,
707
+ children: P
708
708
  }
709
709
  ),
710
- C
710
+ S
711
711
  ]
712
712
  }
713
713
  )
714
714
  );
715
- function ka({
715
+ function kn({
716
716
  id: a,
717
- value: i,
718
- onValue: l,
717
+ value: s,
718
+ onValue: c,
719
719
  name: u,
720
- placeholder: v = "",
721
- title: C = "",
722
- error: D = "",
720
+ placeholder: y = "",
721
+ title: S = "",
722
+ error: P = "",
723
723
  hide: x = !1,
724
- edit: s = !0,
724
+ edit: i = !0,
725
725
  active: g = !0,
726
726
  after: o = "",
727
727
  before: d = "",
728
728
  show: b = !0,
729
- maxLength: S,
729
+ maxLength: C,
730
730
  onSave: F,
731
731
  className: A = "",
732
- isCopy: I = !0,
733
- isReload: O = !1
732
+ isCopy: M = !0,
733
+ isReload: E = !1
734
734
  }) {
735
- let p = !!(x && (i === "" || i === void 0)), M = (E) => {
736
- l && l({
737
- value: E.target.textContent.trim(),
735
+ let p = !!(x && (s === "" || s === void 0)), I = (R) => {
736
+ c && c({
737
+ value: R.target.textContent.trim(),
738
738
  name: u,
739
- reload: O
739
+ reload: E
740
740
  });
741
- }, K = (E) => {
742
- S && E.target.textContent.trim().length >= S && E.key !== "Backspace" && E.preventDefault(), E.key === "Enter" && E.preventDefault();
743
- }, G = (E) => {
744
- E.preventDefault(), navigator.clipboard.readText().then((P) => {
745
- if (S) {
746
- let U = E.target.textContent.length;
747
- if (U >= S) return;
748
- S -= U, P = P.slice(0, S);
741
+ }, K = (R) => {
742
+ C && R.target.textContent.trim().length >= C && R.key !== "Backspace" && R.preventDefault(), R.key === "Enter" && R.preventDefault();
743
+ }, G = (R) => {
744
+ R.preventDefault(), navigator.clipboard.readText().then((T) => {
745
+ if (C) {
746
+ let O = R.target.textContent.length;
747
+ if (O >= C) return;
748
+ C -= O, T = T.slice(0, C);
749
749
  }
750
750
  window.document.execCommand(
751
751
  "insertText",
752
752
  !1,
753
- P.replace(/(\r\n|\n|\r)/gm, " ")
753
+ T.replace(/(\r\n|\n|\r)/gm, " ")
754
754
  );
755
- }).catch((P) => {
755
+ }).catch((T) => {
756
756
  });
757
757
  };
758
- if (!(s && g) && !b || !(s && g) && p) return "";
758
+ if (!(i && g) && !b || !(i && g) && p) return "";
759
759
  const L = {};
760
- v && (L.placeholder = v), s && g && (L.edit = "");
761
- const q = (E) => {
762
- te.Blur(E), F == null || F({ value: E.target.textContent.trim(), name: u });
760
+ y && (L.placeholder = y), i && g && (L.edit = "");
761
+ const q = (R) => {
762
+ ee.Blur(R), F == null || F({ value: R.target.textContent.trim(), name: u });
763
763
  };
764
- return /* @__PURE__ */ y.jsx(
764
+ return /* @__PURE__ */ v.jsx(
765
765
  Le,
766
766
  {
767
767
  type: "input",
768
- title: C,
768
+ title: S,
769
769
  element_blok: { className: [A] },
770
- element_input: { className: [ee.w] },
771
- children: /* @__PURE__ */ y.jsx(
770
+ element_input: { className: [ie.w] },
771
+ children: /* @__PURE__ */ v.jsx(
772
772
  "div",
773
773
  {
774
774
  onBlur: q,
775
775
  onPaste: G,
776
- onInput: M,
776
+ onInput: I,
777
777
  onKeyDown: K,
778
778
  spellCheck: "true",
779
- contentEditable: s && g ? te.ContentEditable : "false",
779
+ contentEditable: i && g ? ee.ContentEditable : "false",
780
780
  suppressContentEditableWarning: !0,
781
781
  ...L,
782
- children: i
782
+ children: s
783
783
  }
784
784
  )
785
785
  }
@@ -799,15 +799,15 @@ var Bt;
799
799
  function sr() {
800
800
  if (Bt) return vt;
801
801
  Bt = 1;
802
- var a = W, i = Symbol.for("react.element"), l = Symbol.for("react.fragment"), u = Object.prototype.hasOwnProperty, v = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, C = { key: !0, ref: !0, __self: !0, __source: !0 };
803
- function D(x, s, g) {
804
- var o, d = {}, b = null, S = null;
805
- g !== void 0 && (b = "" + g), s.key !== void 0 && (b = "" + s.key), s.ref !== void 0 && (S = s.ref);
806
- for (o in s) u.call(s, o) && !C.hasOwnProperty(o) && (d[o] = s[o]);
807
- if (x && x.defaultProps) for (o in s = x.defaultProps, s) d[o] === void 0 && (d[o] = s[o]);
808
- return { $$typeof: i, type: x, key: b, ref: S, props: d, _owner: v.current };
802
+ var a = U, s = Symbol.for("react.element"), c = Symbol.for("react.fragment"), u = Object.prototype.hasOwnProperty, y = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, S = { key: !0, ref: !0, __self: !0, __source: !0 };
803
+ function P(x, i, g) {
804
+ var o, d = {}, b = null, C = null;
805
+ g !== void 0 && (b = "" + g), i.key !== void 0 && (b = "" + i.key), i.ref !== void 0 && (C = i.ref);
806
+ for (o in i) u.call(i, o) && !S.hasOwnProperty(o) && (d[o] = i[o]);
807
+ if (x && x.defaultProps) for (o in i = x.defaultProps, i) d[o] === void 0 && (d[o] = i[o]);
808
+ return { $$typeof: s, type: x, key: b, ref: C, props: d, _owner: y.current };
809
809
  }
810
- return vt.Fragment = l, vt.jsx = D, vt.jsxs = D, vt;
810
+ return vt.Fragment = c, vt.jsx = P, vt.jsxs = P, vt;
811
811
  }
812
812
  var kt = {};
813
813
  /**
@@ -822,41 +822,41 @@ var kt = {};
822
822
  var Lt;
823
823
  function lr() {
824
824
  return Lt || (Lt = 1, process.env.NODE_ENV !== "production" && function() {
825
- var a = W, i = Symbol.for("react.element"), l = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), v = Symbol.for("react.strict_mode"), C = Symbol.for("react.profiler"), D = Symbol.for("react.provider"), x = Symbol.for("react.context"), s = Symbol.for("react.forward_ref"), g = Symbol.for("react.suspense"), o = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), b = Symbol.for("react.lazy"), S = Symbol.for("react.offscreen"), F = Symbol.iterator, A = "@@iterator";
826
- function I(e) {
825
+ var a = U, s = Symbol.for("react.element"), c = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), y = Symbol.for("react.strict_mode"), S = Symbol.for("react.profiler"), P = Symbol.for("react.provider"), x = Symbol.for("react.context"), i = Symbol.for("react.forward_ref"), g = Symbol.for("react.suspense"), o = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), b = Symbol.for("react.lazy"), C = Symbol.for("react.offscreen"), F = Symbol.iterator, A = "@@iterator";
826
+ function M(e) {
827
827
  if (e === null || typeof e != "object")
828
828
  return null;
829
829
  var t = F && e[F] || e[A];
830
830
  return typeof t == "function" ? t : null;
831
831
  }
832
- var O = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
832
+ var E = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
833
833
  function p(e) {
834
834
  {
835
835
  for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), n = 1; n < t; n++)
836
836
  r[n - 1] = arguments[n];
837
- M("error", e, r);
837
+ I("error", e, r);
838
838
  }
839
839
  }
840
- function M(e, t, r) {
840
+ function I(e, t, r) {
841
841
  {
842
- var n = O.ReactDebugCurrentFrame, f = n.getStackAddendum();
842
+ var n = E.ReactDebugCurrentFrame, f = n.getStackAddendum();
843
843
  f !== "" && (t += "%s", r = r.concat([f]));
844
- var m = r.map(function(c) {
845
- return String(c);
844
+ var m = r.map(function(l) {
845
+ return String(l);
846
846
  });
847
847
  m.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, m);
848
848
  }
849
849
  }
850
- var K = !1, G = !1, L = !1, q = !1, E = !1, P;
851
- P = Symbol.for("react.module.reference");
852
- function U(e) {
853
- return !!(typeof e == "string" || typeof e == "function" || e === u || e === C || E || e === v || e === g || e === o || q || e === S || K || G || L || typeof e == "object" && e !== null && (e.$$typeof === b || e.$$typeof === d || e.$$typeof === D || e.$$typeof === x || e.$$typeof === s || // This needs to include all possible module reference object
850
+ var K = !1, G = !1, L = !1, q = !1, R = !1, T;
851
+ T = Symbol.for("react.module.reference");
852
+ function O(e) {
853
+ return !!(typeof e == "string" || typeof e == "function" || e === u || e === S || R || e === y || e === g || e === o || q || e === C || K || G || L || typeof e == "object" && e !== null && (e.$$typeof === b || e.$$typeof === d || e.$$typeof === P || e.$$typeof === x || e.$$typeof === i || // This needs to include all possible module reference object
854
854
  // types supported by any Flight configuration anywhere since
855
855
  // we don't know which Flight build this will end up being used
856
856
  // with.
857
- e.$$typeof === P || e.getModuleId !== void 0));
857
+ e.$$typeof === T || e.getModuleId !== void 0));
858
858
  }
859
- function R(e, t, r) {
859
+ function W(e, t, r) {
860
860
  var n = e.displayName;
861
861
  if (n)
862
862
  return n;
@@ -876,11 +876,11 @@ function lr() {
876
876
  switch (e) {
877
877
  case u:
878
878
  return "Fragment";
879
- case l:
879
+ case c:
880
880
  return "Portal";
881
- case C:
881
+ case S:
882
882
  return "Profiler";
883
- case v:
883
+ case y:
884
884
  return "StrictMode";
885
885
  case g:
886
886
  return "Suspense";
@@ -892,18 +892,18 @@ function lr() {
892
892
  case x:
893
893
  var t = e;
894
894
  return h(t) + ".Consumer";
895
- case D:
895
+ case P:
896
896
  var r = e;
897
897
  return h(r._context) + ".Provider";
898
- case s:
899
- return R(e, e.render, "ForwardRef");
898
+ case i:
899
+ return W(e, e.render, "ForwardRef");
900
900
  case d:
901
901
  var n = e.displayName || null;
902
902
  return n !== null ? n : k(e.type) || "Memo";
903
903
  case b: {
904
- var f = e, m = f._payload, c = f._init;
904
+ var f = e, m = f._payload, l = f._init;
905
905
  try {
906
- return k(c(m));
906
+ return k(l(m));
907
907
  } catch {
908
908
  return null;
909
909
  }
@@ -911,14 +911,14 @@ function lr() {
911
911
  }
912
912
  return null;
913
913
  }
914
- var $ = Object.assign, Y = 0, X, ie, se, ve, ge, be, ke;
914
+ var $ = Object.assign, Y = 0, X, oe, se, ve, ge, be, ke;
915
915
  function we() {
916
916
  }
917
917
  we.__reactDisabledLog = !0;
918
918
  function We() {
919
919
  {
920
920
  if (Y === 0) {
921
- X = console.log, ie = console.info, se = console.warn, ve = console.error, ge = console.group, be = console.groupCollapsed, ke = console.groupEnd;
921
+ X = console.log, oe = console.info, se = console.warn, ve = console.error, ge = console.group, be = console.groupCollapsed, ke = console.groupEnd;
922
922
  var e = {
923
923
  configurable: !0,
924
924
  enumerable: !0,
@@ -951,7 +951,7 @@ function lr() {
951
951
  value: X
952
952
  }),
953
953
  info: $({}, e, {
954
- value: ie
954
+ value: oe
955
955
  }),
956
956
  warn: $({}, e, {
957
957
  value: se
@@ -973,8 +973,8 @@ function lr() {
973
973
  Y < 0 && p("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
974
974
  }
975
975
  }
976
- var le = O.ReactCurrentDispatcher, ce;
977
- function re(e, t, r) {
976
+ var le = E.ReactCurrentDispatcher, ce;
977
+ function te(e, t, r) {
978
978
  {
979
979
  if (ce === void 0)
980
980
  try {
@@ -987,16 +987,16 @@ function lr() {
987
987
  ` + ce + e;
988
988
  }
989
989
  }
990
- var ue = !1, ae;
990
+ var ue = !1, re;
991
991
  {
992
992
  var Ke = typeof WeakMap == "function" ? WeakMap : Map;
993
- ae = new Ke();
993
+ re = new Ke();
994
994
  }
995
995
  function je(e, t) {
996
996
  if (!e || ue)
997
997
  return "";
998
998
  {
999
- var r = ae.get(e);
999
+ var r = re.get(e);
1000
1000
  if (r !== void 0)
1001
1001
  return r;
1002
1002
  }
@@ -1008,27 +1008,27 @@ function lr() {
1008
1008
  m = le.current, le.current = null, We();
1009
1009
  try {
1010
1010
  if (t) {
1011
- var c = function() {
1011
+ var l = function() {
1012
1012
  throw Error();
1013
1013
  };
1014
- if (Object.defineProperty(c.prototype, "props", {
1014
+ if (Object.defineProperty(l.prototype, "props", {
1015
1015
  set: function() {
1016
1016
  throw Error();
1017
1017
  }
1018
1018
  }), typeof Reflect == "object" && Reflect.construct) {
1019
1019
  try {
1020
- Reflect.construct(c, []);
1020
+ Reflect.construct(l, []);
1021
1021
  } catch (N) {
1022
1022
  n = N;
1023
1023
  }
1024
- Reflect.construct(e, [], c);
1024
+ Reflect.construct(e, [], l);
1025
1025
  } else {
1026
1026
  try {
1027
- c.call();
1027
+ l.call();
1028
1028
  } catch (N) {
1029
1029
  n = N;
1030
1030
  }
1031
- e.call(c.prototype);
1031
+ e.call(l.prototype);
1032
1032
  }
1033
1033
  } else {
1034
1034
  try {
@@ -1041,17 +1041,17 @@ function lr() {
1041
1041
  } catch (N) {
1042
1042
  if (N && n && typeof N.stack == "string") {
1043
1043
  for (var _ = N.stack.split(`
1044
- `), T = n.stack.split(`
1045
- `), w = _.length - 1, j = T.length - 1; w >= 1 && j >= 0 && _[w] !== T[j]; )
1044
+ `), D = n.stack.split(`
1045
+ `), w = _.length - 1, j = D.length - 1; w >= 1 && j >= 0 && _[w] !== D[j]; )
1046
1046
  j--;
1047
1047
  for (; w >= 1 && j >= 0; w--, j--)
1048
- if (_[w] !== T[j]) {
1048
+ if (_[w] !== D[j]) {
1049
1049
  if (w !== 1 || j !== 1)
1050
1050
  do
1051
- if (w--, j--, j < 0 || _[w] !== T[j]) {
1051
+ if (w--, j--, j < 0 || _[w] !== D[j]) {
1052
1052
  var B = `
1053
1053
  ` + _[w].replace(" at new ", " at ");
1054
- return e.displayName && B.includes("<anonymous>") && (B = B.replace("<anonymous>", e.displayName)), typeof e == "function" && ae.set(e, B), B;
1054
+ return e.displayName && B.includes("<anonymous>") && (B = B.replace("<anonymous>", e.displayName)), typeof e == "function" && re.set(e, B), B;
1055
1055
  }
1056
1056
  while (w >= 1 && j >= 0);
1057
1057
  break;
@@ -1060,8 +1060,8 @@ function lr() {
1060
1060
  } finally {
1061
1061
  ue = !1, le.current = m, Ue(), Error.prepareStackTrace = f;
1062
1062
  }
1063
- var Z = e ? e.displayName || e.name : "", z = Z ? re(Z) : "";
1064
- return typeof e == "function" && ae.set(e, z), z;
1063
+ var Z = e ? e.displayName || e.name : "", z = Z ? te(Z) : "";
1064
+ return typeof e == "function" && re.set(e, z), z;
1065
1065
  }
1066
1066
  function qe(e, t, r) {
1067
1067
  return je(e, !1);
@@ -1076,16 +1076,16 @@ function lr() {
1076
1076
  if (typeof e == "function")
1077
1077
  return je(e, Ye(e));
1078
1078
  if (typeof e == "string")
1079
- return re(e);
1079
+ return te(e);
1080
1080
  switch (e) {
1081
1081
  case g:
1082
- return re("Suspense");
1082
+ return te("Suspense");
1083
1083
  case o:
1084
- return re("SuspenseList");
1084
+ return te("SuspenseList");
1085
1085
  }
1086
1086
  if (typeof e == "object")
1087
1087
  switch (e.$$typeof) {
1088
- case s:
1088
+ case i:
1089
1089
  return qe(e.render);
1090
1090
  case d:
1091
1091
  return ne(e.type, t, r);
@@ -1099,8 +1099,8 @@ function lr() {
1099
1099
  }
1100
1100
  return "";
1101
1101
  }
1102
- var V = Object.prototype.hasOwnProperty, xe = {}, Ce = O.ReactDebugCurrentFrame;
1103
- function oe(e) {
1102
+ var V = Object.prototype.hasOwnProperty, xe = {}, Ce = E.ReactDebugCurrentFrame;
1103
+ function ae(e) {
1104
1104
  if (e) {
1105
1105
  var t = e._owner, r = ne(e.type, e._source, t ? t.type : null);
1106
1106
  Ce.setExtraStackFrame(r);
@@ -1110,19 +1110,19 @@ function lr() {
1110
1110
  function Ge(e, t, r, n, f) {
1111
1111
  {
1112
1112
  var m = Function.call.bind(V);
1113
- for (var c in e)
1114
- if (m(e, c)) {
1113
+ for (var l in e)
1114
+ if (m(e, l)) {
1115
1115
  var _ = void 0;
1116
1116
  try {
1117
- if (typeof e[c] != "function") {
1118
- var T = Error((n || "React class") + ": " + r + " type `" + c + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[c] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
1119
- throw T.name = "Invariant Violation", T;
1117
+ if (typeof e[l] != "function") {
1118
+ var D = Error((n || "React class") + ": " + r + " type `" + l + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[l] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
1119
+ throw D.name = "Invariant Violation", D;
1120
1120
  }
1121
- _ = e[c](t, c, n, r, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
1121
+ _ = e[l](t, l, n, r, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
1122
1122
  } catch (w) {
1123
1123
  _ = w;
1124
1124
  }
1125
- _ && !(_ instanceof Error) && (oe(f), p("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", n || "React class", r, c, typeof _), oe(null)), _ instanceof Error && !(_.message in xe) && (xe[_.message] = !0, oe(f), p("Failed %s type: %s", r, _.message), oe(null));
1125
+ _ && !(_ instanceof Error) && (ae(f), p("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", n || "React class", r, l, typeof _), ae(null)), _ instanceof Error && !(_.message in xe) && (xe[_.message] = !0, ae(f), p("Failed %s type: %s", r, _.message), ae(null));
1126
1126
  }
1127
1127
  }
1128
1128
  }
@@ -1150,7 +1150,7 @@ function lr() {
1150
1150
  if (Je(e))
1151
1151
  return p("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", He(e)), Se(e);
1152
1152
  }
1153
- var Ee = O.ReactCurrentOwner, Ze = {
1153
+ var Ee = E.ReactCurrentOwner, Ze = {
1154
1154
  key: !0,
1155
1155
  ref: !0,
1156
1156
  __self: !0,
@@ -1197,15 +1197,15 @@ function lr() {
1197
1197
  });
1198
1198
  }
1199
1199
  }
1200
- var rt = function(e, t, r, n, f, m, c) {
1200
+ var rt = function(e, t, r, n, f, m, l) {
1201
1201
  var _ = {
1202
1202
  // This tag allows us to uniquely identify this as a React Element
1203
- $$typeof: i,
1203
+ $$typeof: s,
1204
1204
  // Built-in properties that belong on the element
1205
1205
  type: e,
1206
1206
  key: t,
1207
1207
  ref: r,
1208
- props: c,
1208
+ props: l,
1209
1209
  // Record the component responsible for creating this element.
1210
1210
  _owner: m
1211
1211
  };
@@ -1226,25 +1226,25 @@ function lr() {
1226
1226
  value: f
1227
1227
  }), Object.freeze && (Object.freeze(_.props), Object.freeze(_)), _;
1228
1228
  };
1229
- function at(e, t, r, n, f) {
1229
+ function nt(e, t, r, n, f) {
1230
1230
  {
1231
- var m, c = {}, _ = null, T = null;
1232
- r !== void 0 && (Re(r), _ = "" + r), Xe(t) && (Re(t.key), _ = "" + t.key), Ve(t) && (T = t.ref, Qe(t));
1231
+ var m, l = {}, _ = null, D = null;
1232
+ r !== void 0 && (Re(r), _ = "" + r), Xe(t) && (Re(t.key), _ = "" + t.key), Ve(t) && (D = t.ref, Qe(t));
1233
1233
  for (m in t)
1234
- V.call(t, m) && !Ze.hasOwnProperty(m) && (c[m] = t[m]);
1234
+ V.call(t, m) && !Ze.hasOwnProperty(m) && (l[m] = t[m]);
1235
1235
  if (e && e.defaultProps) {
1236
1236
  var w = e.defaultProps;
1237
1237
  for (m in w)
1238
- c[m] === void 0 && (c[m] = w[m]);
1238
+ l[m] === void 0 && (l[m] = w[m]);
1239
1239
  }
1240
- if (_ || T) {
1240
+ if (_ || D) {
1241
1241
  var j = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
1242
- _ && et(c, j), T && tt(c, j);
1242
+ _ && et(l, j), D && tt(l, j);
1243
1243
  }
1244
- return rt(e, _, T, f, n, Ee.current, c);
1244
+ return rt(e, _, D, f, n, Ee.current, l);
1245
1245
  }
1246
1246
  }
1247
- var fe = O.ReactCurrentOwner, De = O.ReactDebugCurrentFrame;
1247
+ var fe = E.ReactCurrentOwner, De = E.ReactDebugCurrentFrame;
1248
1248
  function J(e) {
1249
1249
  if (e) {
1250
1250
  var t = e._owner, r = ne(e.type, e._source, t ? t.type : null);
@@ -1255,7 +1255,7 @@ function lr() {
1255
1255
  var pe;
1256
1256
  pe = !1;
1257
1257
  function me(e) {
1258
- return typeof e == "object" && e !== null && e.$$typeof === i;
1258
+ return typeof e == "object" && e !== null && e.$$typeof === s;
1259
1259
  }
1260
1260
  function Pe() {
1261
1261
  {
@@ -1269,7 +1269,7 @@ Check the render method of \`` + e + "`.";
1269
1269
  return "";
1270
1270
  }
1271
1271
  }
1272
- function nt(e) {
1272
+ function at(e) {
1273
1273
  return "";
1274
1274
  }
1275
1275
  var Ne = {};
@@ -1310,14 +1310,14 @@ Check the top-level render call using <` + r + ">.");
1310
1310
  else if (me(e))
1311
1311
  e._store && (e._store.validated = !0);
1312
1312
  else if (e) {
1313
- var f = I(e);
1313
+ var f = M(e);
1314
1314
  if (typeof f == "function" && f !== e.entries)
1315
- for (var m = f.call(e), c; !(c = m.next()).done; )
1316
- me(c.value) && Fe(c.value, t);
1315
+ for (var m = f.call(e), l; !(l = m.next()).done; )
1316
+ me(l.value) && Fe(l.value, t);
1317
1317
  }
1318
1318
  }
1319
1319
  }
1320
- function it(e) {
1320
+ function _t(e) {
1321
1321
  {
1322
1322
  var t = e.type;
1323
1323
  if (t == null || typeof t == "string")
@@ -1325,7 +1325,7 @@ Check the top-level render call using <` + r + ">.");
1325
1325
  var r;
1326
1326
  if (typeof t == "function")
1327
1327
  r = t.propTypes;
1328
- else if (typeof t == "object" && (t.$$typeof === s || // Note: Memo only checks outer props here.
1328
+ else if (typeof t == "object" && (t.$$typeof === i || // Note: Memo only checks outer props here.
1329
1329
  // Inner props are checked in the reconciler.
1330
1330
  t.$$typeof === d))
1331
1331
  r = t.propTypes;
@@ -1342,7 +1342,7 @@ Check the top-level render call using <` + r + ">.");
1342
1342
  typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && p("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
1343
1343
  }
1344
1344
  }
1345
- function _t(e) {
1345
+ function it(e) {
1346
1346
  {
1347
1347
  for (var t = Object.keys(e.props), r = 0; r < t.length; r++) {
1348
1348
  var n = t[r];
@@ -1357,19 +1357,19 @@ Check the top-level render call using <` + r + ">.");
1357
1357
  var Me = {};
1358
1358
  function $e(e, t, r, n, f, m) {
1359
1359
  {
1360
- var c = U(e);
1361
- if (!c) {
1360
+ var l = O(e);
1361
+ if (!l) {
1362
1362
  var _ = "";
1363
1363
  (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (_ += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
1364
- var T = nt();
1365
- T ? _ += T : _ += Pe();
1364
+ var D = at();
1365
+ D ? _ += D : _ += Pe();
1366
1366
  var w;
1367
- e === null ? w = "null" : de(e) ? w = "array" : e !== void 0 && e.$$typeof === i ? (w = "<" + (k(e.type) || "Unknown") + " />", _ = " Did you accidentally export a JSX literal instead of a component?") : w = typeof e, p("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", w, _);
1367
+ e === null ? w = "null" : de(e) ? w = "array" : e !== void 0 && e.$$typeof === s ? (w = "<" + (k(e.type) || "Unknown") + " />", _ = " Did you accidentally export a JSX literal instead of a component?") : w = typeof e, p("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", w, _);
1368
1368
  }
1369
- var j = at(e, t, r, f, m);
1369
+ var j = nt(e, t, r, f, m);
1370
1370
  if (j == null)
1371
1371
  return j;
1372
- if (c) {
1372
+ if (l) {
1373
1373
  var B = t.children;
1374
1374
  if (B !== void 0)
1375
1375
  if (n)
@@ -1396,7 +1396,7 @@ React keys must be passed directly to JSX without using spread:
1396
1396
  <%s key={someKey} {...props} />`, ye, z, dt, z), Me[z + ye] = !0;
1397
1397
  }
1398
1398
  }
1399
- return e === u ? _t(j) : it(j), j;
1399
+ return e === u ? it(j) : _t(j), j;
1400
1400
  }
1401
1401
  }
1402
1402
  function st(e, t, r) {
@@ -1435,55 +1435,55 @@ const cr = "_shake_oqfdb_1", ur = "_modal_oqfdb_79", dr = "_sa_oqfdb_89", fr = "
1435
1435
  g: Tr,
1436
1436
  m: Dr
1437
1437
  };
1438
- function Pr({ children: a, className: i }) {
1438
+ function Pr({ children: a, className: s }) {
1439
1439
  return /* @__PURE__ */ H.jsx(
1440
1440
  "div",
1441
1441
  {
1442
- className: [_e.l, i].filter((l) => l !== void 0).join(" "),
1442
+ className: [_e.l, s].filter((c) => c !== void 0).join(" "),
1443
1443
  children: /* @__PURE__ */ H.jsx("ul", { children: a })
1444
1444
  }
1445
1445
  );
1446
1446
  }
1447
- function Nr({ children: a, className: i }) {
1447
+ function Nr({ children: a, className: s }) {
1448
1448
  return /* @__PURE__ */ H.jsx(
1449
1449
  "div",
1450
1450
  {
1451
- className: [_e.s, i].filter((l) => l !== void 0).join(" "),
1451
+ className: [_e.s, s].filter((c) => c !== void 0).join(" "),
1452
1452
  children: a
1453
1453
  }
1454
1454
  );
1455
1455
  }
1456
1456
  function Fr({
1457
1457
  children: a,
1458
- direction: i = "column",
1459
- className: l
1458
+ direction: s = "column",
1459
+ className: c
1460
1460
  }) {
1461
1461
  return /* @__PURE__ */ H.jsx(
1462
1462
  "ul",
1463
1463
  {
1464
1464
  className: [
1465
1465
  _e.f,
1466
- _e[i === "row" ? "r_" : "c_"],
1467
- l
1466
+ _e[s === "row" ? "r_" : "c_"],
1467
+ c
1468
1468
  ].filter((u) => u !== void 0).join(" "),
1469
1469
  children: a
1470
1470
  }
1471
1471
  );
1472
1472
  }
1473
- function Ir({ children: a, className: i }) {
1473
+ function Ir({ children: a, className: s }) {
1474
1474
  return /* @__PURE__ */ H.jsx(
1475
1475
  "div",
1476
1476
  {
1477
- className: [_e.c, i].filter((l) => l !== void 0).join(" "),
1477
+ className: [_e.c, s].filter((c) => c !== void 0).join(" "),
1478
1478
  children: a
1479
1479
  }
1480
1480
  );
1481
1481
  }
1482
- function Mr({ children: a, className: i }) {
1482
+ function Mr({ children: a, className: s }) {
1483
1483
  return /* @__PURE__ */ H.jsx(
1484
1484
  "div",
1485
1485
  {
1486
- className: [_e.g, i].filter((l) => l !== void 0).join(" "),
1486
+ className: [_e.g, s].filter((c) => c !== void 0).join(" "),
1487
1487
  children: a
1488
1488
  }
1489
1489
  );
@@ -1508,15 +1508,15 @@ var Ut;
1508
1508
  function Ar() {
1509
1509
  if (Ut) return gt;
1510
1510
  Ut = 1;
1511
- var a = W, i = Symbol.for("react.element"), l = Symbol.for("react.fragment"), u = Object.prototype.hasOwnProperty, v = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, C = { key: !0, ref: !0, __self: !0, __source: !0 };
1512
- function D(x, s, g) {
1513
- var o, d = {}, b = null, S = null;
1514
- g !== void 0 && (b = "" + g), s.key !== void 0 && (b = "" + s.key), s.ref !== void 0 && (S = s.ref);
1515
- for (o in s) u.call(s, o) && !C.hasOwnProperty(o) && (d[o] = s[o]);
1516
- if (x && x.defaultProps) for (o in s = x.defaultProps, s) d[o] === void 0 && (d[o] = s[o]);
1517
- return { $$typeof: i, type: x, key: b, ref: S, props: d, _owner: v.current };
1511
+ var a = U, s = Symbol.for("react.element"), c = Symbol.for("react.fragment"), u = Object.prototype.hasOwnProperty, y = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, S = { key: !0, ref: !0, __self: !0, __source: !0 };
1512
+ function P(x, i, g) {
1513
+ var o, d = {}, b = null, C = null;
1514
+ g !== void 0 && (b = "" + g), i.key !== void 0 && (b = "" + i.key), i.ref !== void 0 && (C = i.ref);
1515
+ for (o in i) u.call(i, o) && !S.hasOwnProperty(o) && (d[o] = i[o]);
1516
+ if (x && x.defaultProps) for (o in i = x.defaultProps, i) d[o] === void 0 && (d[o] = i[o]);
1517
+ return { $$typeof: s, type: x, key: b, ref: C, props: d, _owner: y.current };
1518
1518
  }
1519
- return gt.Fragment = l, gt.jsx = D, gt.jsxs = D, gt;
1519
+ return gt.Fragment = c, gt.jsx = P, gt.jsxs = P, gt;
1520
1520
  }
1521
1521
  var wt = {};
1522
1522
  /**
@@ -1531,41 +1531,41 @@ var wt = {};
1531
1531
  var Kt;
1532
1532
  function Br() {
1533
1533
  return Kt || (Kt = 1, process.env.NODE_ENV !== "production" && function() {
1534
- var a = W, i = Symbol.for("react.element"), l = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), v = Symbol.for("react.strict_mode"), C = Symbol.for("react.profiler"), D = Symbol.for("react.provider"), x = Symbol.for("react.context"), s = Symbol.for("react.forward_ref"), g = Symbol.for("react.suspense"), o = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), b = Symbol.for("react.lazy"), S = Symbol.for("react.offscreen"), F = Symbol.iterator, A = "@@iterator";
1535
- function I(e) {
1534
+ var a = U, s = Symbol.for("react.element"), c = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), y = Symbol.for("react.strict_mode"), S = Symbol.for("react.profiler"), P = Symbol.for("react.provider"), x = Symbol.for("react.context"), i = Symbol.for("react.forward_ref"), g = Symbol.for("react.suspense"), o = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), b = Symbol.for("react.lazy"), C = Symbol.for("react.offscreen"), F = Symbol.iterator, A = "@@iterator";
1535
+ function M(e) {
1536
1536
  if (e === null || typeof e != "object")
1537
1537
  return null;
1538
1538
  var t = F && e[F] || e[A];
1539
1539
  return typeof t == "function" ? t : null;
1540
1540
  }
1541
- var O = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
1541
+ var E = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
1542
1542
  function p(e) {
1543
1543
  {
1544
1544
  for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), n = 1; n < t; n++)
1545
1545
  r[n - 1] = arguments[n];
1546
- M("error", e, r);
1546
+ I("error", e, r);
1547
1547
  }
1548
1548
  }
1549
- function M(e, t, r) {
1549
+ function I(e, t, r) {
1550
1550
  {
1551
- var n = O.ReactDebugCurrentFrame, f = n.getStackAddendum();
1551
+ var n = E.ReactDebugCurrentFrame, f = n.getStackAddendum();
1552
1552
  f !== "" && (t += "%s", r = r.concat([f]));
1553
- var m = r.map(function(c) {
1554
- return String(c);
1553
+ var m = r.map(function(l) {
1554
+ return String(l);
1555
1555
  });
1556
1556
  m.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, m);
1557
1557
  }
1558
1558
  }
1559
- var K = !1, G = !1, L = !1, q = !1, E = !1, P;
1560
- P = Symbol.for("react.module.reference");
1561
- function U(e) {
1562
- return !!(typeof e == "string" || typeof e == "function" || e === u || e === C || E || e === v || e === g || e === o || q || e === S || K || G || L || typeof e == "object" && e !== null && (e.$$typeof === b || e.$$typeof === d || e.$$typeof === D || e.$$typeof === x || e.$$typeof === s || // This needs to include all possible module reference object
1559
+ var K = !1, G = !1, L = !1, q = !1, R = !1, T;
1560
+ T = Symbol.for("react.module.reference");
1561
+ function O(e) {
1562
+ return !!(typeof e == "string" || typeof e == "function" || e === u || e === S || R || e === y || e === g || e === o || q || e === C || K || G || L || typeof e == "object" && e !== null && (e.$$typeof === b || e.$$typeof === d || e.$$typeof === P || e.$$typeof === x || e.$$typeof === i || // This needs to include all possible module reference object
1563
1563
  // types supported by any Flight configuration anywhere since
1564
1564
  // we don't know which Flight build this will end up being used
1565
1565
  // with.
1566
- e.$$typeof === P || e.getModuleId !== void 0));
1566
+ e.$$typeof === T || e.getModuleId !== void 0));
1567
1567
  }
1568
- function R(e, t, r) {
1568
+ function W(e, t, r) {
1569
1569
  var n = e.displayName;
1570
1570
  if (n)
1571
1571
  return n;
@@ -1585,11 +1585,11 @@ function Br() {
1585
1585
  switch (e) {
1586
1586
  case u:
1587
1587
  return "Fragment";
1588
- case l:
1588
+ case c:
1589
1589
  return "Portal";
1590
- case C:
1590
+ case S:
1591
1591
  return "Profiler";
1592
- case v:
1592
+ case y:
1593
1593
  return "StrictMode";
1594
1594
  case g:
1595
1595
  return "Suspense";
@@ -1601,18 +1601,18 @@ function Br() {
1601
1601
  case x:
1602
1602
  var t = e;
1603
1603
  return h(t) + ".Consumer";
1604
- case D:
1604
+ case P:
1605
1605
  var r = e;
1606
1606
  return h(r._context) + ".Provider";
1607
- case s:
1608
- return R(e, e.render, "ForwardRef");
1607
+ case i:
1608
+ return W(e, e.render, "ForwardRef");
1609
1609
  case d:
1610
1610
  var n = e.displayName || null;
1611
1611
  return n !== null ? n : k(e.type) || "Memo";
1612
1612
  case b: {
1613
- var f = e, m = f._payload, c = f._init;
1613
+ var f = e, m = f._payload, l = f._init;
1614
1614
  try {
1615
- return k(c(m));
1615
+ return k(l(m));
1616
1616
  } catch {
1617
1617
  return null;
1618
1618
  }
@@ -1620,14 +1620,14 @@ function Br() {
1620
1620
  }
1621
1621
  return null;
1622
1622
  }
1623
- var $ = Object.assign, Y = 0, X, ie, se, ve, ge, be, ke;
1623
+ var $ = Object.assign, Y = 0, X, oe, se, ve, ge, be, ke;
1624
1624
  function we() {
1625
1625
  }
1626
1626
  we.__reactDisabledLog = !0;
1627
1627
  function We() {
1628
1628
  {
1629
1629
  if (Y === 0) {
1630
- X = console.log, ie = console.info, se = console.warn, ve = console.error, ge = console.group, be = console.groupCollapsed, ke = console.groupEnd;
1630
+ X = console.log, oe = console.info, se = console.warn, ve = console.error, ge = console.group, be = console.groupCollapsed, ke = console.groupEnd;
1631
1631
  var e = {
1632
1632
  configurable: !0,
1633
1633
  enumerable: !0,
@@ -1660,7 +1660,7 @@ function Br() {
1660
1660
  value: X
1661
1661
  }),
1662
1662
  info: $({}, e, {
1663
- value: ie
1663
+ value: oe
1664
1664
  }),
1665
1665
  warn: $({}, e, {
1666
1666
  value: se
@@ -1682,8 +1682,8 @@ function Br() {
1682
1682
  Y < 0 && p("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
1683
1683
  }
1684
1684
  }
1685
- var le = O.ReactCurrentDispatcher, ce;
1686
- function re(e, t, r) {
1685
+ var le = E.ReactCurrentDispatcher, ce;
1686
+ function te(e, t, r) {
1687
1687
  {
1688
1688
  if (ce === void 0)
1689
1689
  try {
@@ -1696,16 +1696,16 @@ function Br() {
1696
1696
  ` + ce + e;
1697
1697
  }
1698
1698
  }
1699
- var ue = !1, ae;
1699
+ var ue = !1, re;
1700
1700
  {
1701
1701
  var Ke = typeof WeakMap == "function" ? WeakMap : Map;
1702
- ae = new Ke();
1702
+ re = new Ke();
1703
1703
  }
1704
1704
  function je(e, t) {
1705
1705
  if (!e || ue)
1706
1706
  return "";
1707
1707
  {
1708
- var r = ae.get(e);
1708
+ var r = re.get(e);
1709
1709
  if (r !== void 0)
1710
1710
  return r;
1711
1711
  }
@@ -1717,27 +1717,27 @@ function Br() {
1717
1717
  m = le.current, le.current = null, We();
1718
1718
  try {
1719
1719
  if (t) {
1720
- var c = function() {
1720
+ var l = function() {
1721
1721
  throw Error();
1722
1722
  };
1723
- if (Object.defineProperty(c.prototype, "props", {
1723
+ if (Object.defineProperty(l.prototype, "props", {
1724
1724
  set: function() {
1725
1725
  throw Error();
1726
1726
  }
1727
1727
  }), typeof Reflect == "object" && Reflect.construct) {
1728
1728
  try {
1729
- Reflect.construct(c, []);
1729
+ Reflect.construct(l, []);
1730
1730
  } catch (N) {
1731
1731
  n = N;
1732
1732
  }
1733
- Reflect.construct(e, [], c);
1733
+ Reflect.construct(e, [], l);
1734
1734
  } else {
1735
1735
  try {
1736
- c.call();
1736
+ l.call();
1737
1737
  } catch (N) {
1738
1738
  n = N;
1739
1739
  }
1740
- e.call(c.prototype);
1740
+ e.call(l.prototype);
1741
1741
  }
1742
1742
  } else {
1743
1743
  try {
@@ -1750,17 +1750,17 @@ function Br() {
1750
1750
  } catch (N) {
1751
1751
  if (N && n && typeof N.stack == "string") {
1752
1752
  for (var _ = N.stack.split(`
1753
- `), T = n.stack.split(`
1754
- `), w = _.length - 1, j = T.length - 1; w >= 1 && j >= 0 && _[w] !== T[j]; )
1753
+ `), D = n.stack.split(`
1754
+ `), w = _.length - 1, j = D.length - 1; w >= 1 && j >= 0 && _[w] !== D[j]; )
1755
1755
  j--;
1756
1756
  for (; w >= 1 && j >= 0; w--, j--)
1757
- if (_[w] !== T[j]) {
1757
+ if (_[w] !== D[j]) {
1758
1758
  if (w !== 1 || j !== 1)
1759
1759
  do
1760
- if (w--, j--, j < 0 || _[w] !== T[j]) {
1760
+ if (w--, j--, j < 0 || _[w] !== D[j]) {
1761
1761
  var B = `
1762
1762
  ` + _[w].replace(" at new ", " at ");
1763
- return e.displayName && B.includes("<anonymous>") && (B = B.replace("<anonymous>", e.displayName)), typeof e == "function" && ae.set(e, B), B;
1763
+ return e.displayName && B.includes("<anonymous>") && (B = B.replace("<anonymous>", e.displayName)), typeof e == "function" && re.set(e, B), B;
1764
1764
  }
1765
1765
  while (w >= 1 && j >= 0);
1766
1766
  break;
@@ -1769,8 +1769,8 @@ function Br() {
1769
1769
  } finally {
1770
1770
  ue = !1, le.current = m, Ue(), Error.prepareStackTrace = f;
1771
1771
  }
1772
- var Z = e ? e.displayName || e.name : "", z = Z ? re(Z) : "";
1773
- return typeof e == "function" && ae.set(e, z), z;
1772
+ var Z = e ? e.displayName || e.name : "", z = Z ? te(Z) : "";
1773
+ return typeof e == "function" && re.set(e, z), z;
1774
1774
  }
1775
1775
  function qe(e, t, r) {
1776
1776
  return je(e, !1);
@@ -1785,16 +1785,16 @@ function Br() {
1785
1785
  if (typeof e == "function")
1786
1786
  return je(e, Ye(e));
1787
1787
  if (typeof e == "string")
1788
- return re(e);
1788
+ return te(e);
1789
1789
  switch (e) {
1790
1790
  case g:
1791
- return re("Suspense");
1791
+ return te("Suspense");
1792
1792
  case o:
1793
- return re("SuspenseList");
1793
+ return te("SuspenseList");
1794
1794
  }
1795
1795
  if (typeof e == "object")
1796
1796
  switch (e.$$typeof) {
1797
- case s:
1797
+ case i:
1798
1798
  return qe(e.render);
1799
1799
  case d:
1800
1800
  return ne(e.type, t, r);
@@ -1808,8 +1808,8 @@ function Br() {
1808
1808
  }
1809
1809
  return "";
1810
1810
  }
1811
- var V = Object.prototype.hasOwnProperty, xe = {}, Ce = O.ReactDebugCurrentFrame;
1812
- function oe(e) {
1811
+ var V = Object.prototype.hasOwnProperty, xe = {}, Ce = E.ReactDebugCurrentFrame;
1812
+ function ae(e) {
1813
1813
  if (e) {
1814
1814
  var t = e._owner, r = ne(e.type, e._source, t ? t.type : null);
1815
1815
  Ce.setExtraStackFrame(r);
@@ -1819,19 +1819,19 @@ function Br() {
1819
1819
  function Ge(e, t, r, n, f) {
1820
1820
  {
1821
1821
  var m = Function.call.bind(V);
1822
- for (var c in e)
1823
- if (m(e, c)) {
1822
+ for (var l in e)
1823
+ if (m(e, l)) {
1824
1824
  var _ = void 0;
1825
1825
  try {
1826
- if (typeof e[c] != "function") {
1827
- var T = Error((n || "React class") + ": " + r + " type `" + c + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[c] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
1828
- throw T.name = "Invariant Violation", T;
1826
+ if (typeof e[l] != "function") {
1827
+ var D = Error((n || "React class") + ": " + r + " type `" + l + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[l] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
1828
+ throw D.name = "Invariant Violation", D;
1829
1829
  }
1830
- _ = e[c](t, c, n, r, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
1830
+ _ = e[l](t, l, n, r, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
1831
1831
  } catch (w) {
1832
1832
  _ = w;
1833
1833
  }
1834
- _ && !(_ instanceof Error) && (oe(f), p("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", n || "React class", r, c, typeof _), oe(null)), _ instanceof Error && !(_.message in xe) && (xe[_.message] = !0, oe(f), p("Failed %s type: %s", r, _.message), oe(null));
1834
+ _ && !(_ instanceof Error) && (ae(f), p("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", n || "React class", r, l, typeof _), ae(null)), _ instanceof Error && !(_.message in xe) && (xe[_.message] = !0, ae(f), p("Failed %s type: %s", r, _.message), ae(null));
1835
1835
  }
1836
1836
  }
1837
1837
  }
@@ -1859,7 +1859,7 @@ function Br() {
1859
1859
  if (Je(e))
1860
1860
  return p("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", He(e)), Se(e);
1861
1861
  }
1862
- var Ee = O.ReactCurrentOwner, Ze = {
1862
+ var Ee = E.ReactCurrentOwner, Ze = {
1863
1863
  key: !0,
1864
1864
  ref: !0,
1865
1865
  __self: !0,
@@ -1906,15 +1906,15 @@ function Br() {
1906
1906
  });
1907
1907
  }
1908
1908
  }
1909
- var rt = function(e, t, r, n, f, m, c) {
1909
+ var rt = function(e, t, r, n, f, m, l) {
1910
1910
  var _ = {
1911
1911
  // This tag allows us to uniquely identify this as a React Element
1912
- $$typeof: i,
1912
+ $$typeof: s,
1913
1913
  // Built-in properties that belong on the element
1914
1914
  type: e,
1915
1915
  key: t,
1916
1916
  ref: r,
1917
- props: c,
1917
+ props: l,
1918
1918
  // Record the component responsible for creating this element.
1919
1919
  _owner: m
1920
1920
  };
@@ -1935,25 +1935,25 @@ function Br() {
1935
1935
  value: f
1936
1936
  }), Object.freeze && (Object.freeze(_.props), Object.freeze(_)), _;
1937
1937
  };
1938
- function at(e, t, r, n, f) {
1938
+ function nt(e, t, r, n, f) {
1939
1939
  {
1940
- var m, c = {}, _ = null, T = null;
1941
- r !== void 0 && (Re(r), _ = "" + r), Xe(t) && (Re(t.key), _ = "" + t.key), Ve(t) && (T = t.ref, Qe(t));
1940
+ var m, l = {}, _ = null, D = null;
1941
+ r !== void 0 && (Re(r), _ = "" + r), Xe(t) && (Re(t.key), _ = "" + t.key), Ve(t) && (D = t.ref, Qe(t));
1942
1942
  for (m in t)
1943
- V.call(t, m) && !Ze.hasOwnProperty(m) && (c[m] = t[m]);
1943
+ V.call(t, m) && !Ze.hasOwnProperty(m) && (l[m] = t[m]);
1944
1944
  if (e && e.defaultProps) {
1945
1945
  var w = e.defaultProps;
1946
1946
  for (m in w)
1947
- c[m] === void 0 && (c[m] = w[m]);
1947
+ l[m] === void 0 && (l[m] = w[m]);
1948
1948
  }
1949
- if (_ || T) {
1949
+ if (_ || D) {
1950
1950
  var j = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
1951
- _ && et(c, j), T && tt(c, j);
1951
+ _ && et(l, j), D && tt(l, j);
1952
1952
  }
1953
- return rt(e, _, T, f, n, Ee.current, c);
1953
+ return rt(e, _, D, f, n, Ee.current, l);
1954
1954
  }
1955
1955
  }
1956
- var fe = O.ReactCurrentOwner, De = O.ReactDebugCurrentFrame;
1956
+ var fe = E.ReactCurrentOwner, De = E.ReactDebugCurrentFrame;
1957
1957
  function J(e) {
1958
1958
  if (e) {
1959
1959
  var t = e._owner, r = ne(e.type, e._source, t ? t.type : null);
@@ -1964,7 +1964,7 @@ function Br() {
1964
1964
  var pe;
1965
1965
  pe = !1;
1966
1966
  function me(e) {
1967
- return typeof e == "object" && e !== null && e.$$typeof === i;
1967
+ return typeof e == "object" && e !== null && e.$$typeof === s;
1968
1968
  }
1969
1969
  function Pe() {
1970
1970
  {
@@ -1978,7 +1978,7 @@ Check the render method of \`` + e + "`.";
1978
1978
  return "";
1979
1979
  }
1980
1980
  }
1981
- function nt(e) {
1981
+ function at(e) {
1982
1982
  return "";
1983
1983
  }
1984
1984
  var Ne = {};
@@ -2019,14 +2019,14 @@ Check the top-level render call using <` + r + ">.");
2019
2019
  else if (me(e))
2020
2020
  e._store && (e._store.validated = !0);
2021
2021
  else if (e) {
2022
- var f = I(e);
2022
+ var f = M(e);
2023
2023
  if (typeof f == "function" && f !== e.entries)
2024
- for (var m = f.call(e), c; !(c = m.next()).done; )
2025
- me(c.value) && Fe(c.value, t);
2024
+ for (var m = f.call(e), l; !(l = m.next()).done; )
2025
+ me(l.value) && Fe(l.value, t);
2026
2026
  }
2027
2027
  }
2028
2028
  }
2029
- function it(e) {
2029
+ function _t(e) {
2030
2030
  {
2031
2031
  var t = e.type;
2032
2032
  if (t == null || typeof t == "string")
@@ -2034,7 +2034,7 @@ Check the top-level render call using <` + r + ">.");
2034
2034
  var r;
2035
2035
  if (typeof t == "function")
2036
2036
  r = t.propTypes;
2037
- else if (typeof t == "object" && (t.$$typeof === s || // Note: Memo only checks outer props here.
2037
+ else if (typeof t == "object" && (t.$$typeof === i || // Note: Memo only checks outer props here.
2038
2038
  // Inner props are checked in the reconciler.
2039
2039
  t.$$typeof === d))
2040
2040
  r = t.propTypes;
@@ -2051,7 +2051,7 @@ Check the top-level render call using <` + r + ">.");
2051
2051
  typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && p("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
2052
2052
  }
2053
2053
  }
2054
- function _t(e) {
2054
+ function it(e) {
2055
2055
  {
2056
2056
  for (var t = Object.keys(e.props), r = 0; r < t.length; r++) {
2057
2057
  var n = t[r];
@@ -2066,19 +2066,19 @@ Check the top-level render call using <` + r + ">.");
2066
2066
  var Me = {};
2067
2067
  function $e(e, t, r, n, f, m) {
2068
2068
  {
2069
- var c = U(e);
2070
- if (!c) {
2069
+ var l = O(e);
2070
+ if (!l) {
2071
2071
  var _ = "";
2072
2072
  (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (_ += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
2073
- var T = nt();
2074
- T ? _ += T : _ += Pe();
2073
+ var D = at();
2074
+ D ? _ += D : _ += Pe();
2075
2075
  var w;
2076
- e === null ? w = "null" : de(e) ? w = "array" : e !== void 0 && e.$$typeof === i ? (w = "<" + (k(e.type) || "Unknown") + " />", _ = " Did you accidentally export a JSX literal instead of a component?") : w = typeof e, p("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", w, _);
2076
+ e === null ? w = "null" : de(e) ? w = "array" : e !== void 0 && e.$$typeof === s ? (w = "<" + (k(e.type) || "Unknown") + " />", _ = " Did you accidentally export a JSX literal instead of a component?") : w = typeof e, p("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", w, _);
2077
2077
  }
2078
- var j = at(e, t, r, f, m);
2078
+ var j = nt(e, t, r, f, m);
2079
2079
  if (j == null)
2080
2080
  return j;
2081
- if (c) {
2081
+ if (l) {
2082
2082
  var B = t.children;
2083
2083
  if (B !== void 0)
2084
2084
  if (n)
@@ -2105,7 +2105,7 @@ React keys must be passed directly to JSX without using spread:
2105
2105
  <%s key={someKey} {...props} />`, ye, z, dt, z), Me[z + ye] = !0;
2106
2106
  }
2107
2107
  }
2108
- return e === u ? _t(j) : it(j), j;
2108
+ return e === u ? it(j) : _t(j), j;
2109
2109
  }
2110
2110
  }
2111
2111
  function st(e, t, r) {
@@ -2131,25 +2131,25 @@ const Lr = "_btn_1k1b3_1", Wr = "_confirm_1k1b3_15", Ur = "_cancel_1k1b3_20", Kr
2131
2131
  l: Gr
2132
2132
  }, zr = ({
2133
2133
  onClick: a,
2134
- onSend: i,
2135
- size: l = "m",
2134
+ onSend: s,
2135
+ size: c = "m",
2136
2136
  view: u = "confirm",
2137
- children: v,
2138
- isDisabled: C = !1,
2139
- className: D,
2137
+ children: y,
2138
+ isDisabled: S = !1,
2139
+ className: P,
2140
2140
  after: x,
2141
- before: s,
2141
+ before: i,
2142
2142
  label: g,
2143
2143
  onRef: o,
2144
2144
  awaitText: d = "Ожидайте"
2145
2145
  }) => {
2146
- let [b, S] = W.useState(!1);
2147
- const F = (I) => {
2146
+ let [b, C] = U.useState(!1);
2147
+ const F = (M) => {
2148
2148
  if (a) return a();
2149
- b || (i ? (S(!0), i(S)) : I.preventDefault());
2149
+ b || (s ? (C(!0), s(C)) : M.preventDefault());
2150
2150
  };
2151
2151
  let A = {};
2152
- return (C || b) && (A.disabled = !0), /* @__PURE__ */ Et.jsx(
2152
+ return (S || b) && (A.disabled = !0), /* @__PURE__ */ Et.jsx(
2153
2153
  "button",
2154
2154
  {
2155
2155
  ...A,
@@ -2157,17 +2157,17 @@ const Lr = "_btn_1k1b3_1", Wr = "_confirm_1k1b3_15", Ur = "_cancel_1k1b3_20", Kr
2157
2157
  className: [
2158
2158
  jt.btn,
2159
2159
  b ? jt.disabled : jt[u],
2160
- l && jt[l],
2161
- D
2162
- ].filter((I) => I != "").join(" "),
2160
+ c && jt[c],
2161
+ P
2162
+ ].filter((M) => M != "").join(" "),
2163
2163
  onClick: F,
2164
2164
  children: b ? d : /* @__PURE__ */ Et.jsxs(Et.Fragment, { children: [
2165
- s || "",
2165
+ i || "",
2166
2166
  " ",
2167
2167
  g,
2168
2168
  " ",
2169
2169
  x || ""
2170
- ] }) || v
2170
+ ] }) || y
2171
2171
  }
2172
2172
  );
2173
2173
  };
@@ -2177,50 +2177,50 @@ function Hr({ children: a }) {
2177
2177
  }
2178
2178
  var Ct;
2179
2179
  ((a) => {
2180
- function i({
2180
+ function s({
2181
2181
  import_modules: o
2182
2182
  }) {
2183
- let [d, b] = W.useState([]);
2184
- return Ae.x = (S) => {
2185
- b(S ? d.filter((F) => F.key !== S) : []);
2183
+ let [d, b] = U.useState([]);
2184
+ return Ae.x = (C) => {
2185
+ b(C ? d.filter((F) => F.key !== C) : []);
2186
2186
  }, Zt(() => {
2187
2187
  o && (Ae.i = o);
2188
- }, []), Ae.add = (S, F = Date.now()) => {
2189
- b([...d, { key: F, item: S }]);
2190
- }, /* @__PURE__ */ H.jsx(H.Fragment, { children: d.map((S) => S.item) });
2188
+ }, []), Ae.add = (C, F = Date.now()) => {
2189
+ b([...d, { key: F, item: C }]);
2190
+ }, /* @__PURE__ */ H.jsx(H.Fragment, { children: d.map((C) => C.item) });
2191
2191
  }
2192
- a.Init = i;
2193
- function l(o) {
2192
+ a.Init = s;
2193
+ function c(o) {
2194
2194
  return o && (Ae.i = o), Ae.i;
2195
2195
  }
2196
- a.Import = l, a.List = Pr, a.Scroll = Nr, a.Form = Fr, a.Center = Ir, a.Column = Mr;
2196
+ a.Import = c, a.List = Pr, a.Scroll = Nr, a.Form = Fr, a.Center = Ir, a.Column = Mr;
2197
2197
  function u(o, d, b) {
2198
- Ae.i ? Ae.i(`${o}/modal/${d}.tsx`).then((S) => {
2199
- S.default.Open(b);
2200
- }) : Wt()(`${o}/modal/${d}.tsx`).then((S) => {
2201
- S.default.Open(b);
2198
+ Ae.i ? Ae.i(`${o}/modal/${d}.tsx`).then((C) => {
2199
+ C.default.Open(b);
2200
+ }) : Wt()(`${o}/modal/${d}.tsx`).then((C) => {
2201
+ C.default.Open(b);
2202
2202
  });
2203
2203
  }
2204
2204
  a.Open = u;
2205
- function v({ type: o, name: d, params: b }) {
2206
- let [S, F] = W.useState(null);
2207
- return W.useEffect(() => {
2205
+ function y({ type: o, name: d, params: b }) {
2206
+ let [C, F] = U.useState(null);
2207
+ return U.useEffect(() => {
2208
2208
  Ae.i ? Ae.i(`${o}/modal/${d}.tsx`).then((A) => {
2209
2209
  F(A.default.Icon(b));
2210
2210
  }) : Wt()(`${o}/modal/${d}.tsx`).then((A) => {
2211
2211
  F(A.default.Icon(b));
2212
2212
  });
2213
- }, [b.id]), /* @__PURE__ */ H.jsx(H.Fragment, { children: S });
2213
+ }, [b.id]), /* @__PURE__ */ H.jsx(H.Fragment, { children: C });
2214
2214
  }
2215
- a.Icon = v;
2216
- function C(o, d) {
2215
+ a.Icon = y;
2216
+ function S(o, d) {
2217
2217
  Ae.add(/* @__PURE__ */ H.jsx(Hr, { children: o }, String(Date.now())), d);
2218
2218
  }
2219
- a.Add = C;
2220
- function D(o) {
2219
+ a.Add = S;
2220
+ function P(o) {
2221
2221
  Ae.x(o);
2222
2222
  }
2223
- a.Close = D;
2223
+ a.Close = P;
2224
2224
  function x(o) {
2225
2225
  if (o.target.classList[0] !== "modal") return;
2226
2226
  let d = o.target.children[0];
@@ -2229,40 +2229,40 @@ var Ct;
2229
2229
  }, 1e3);
2230
2230
  }
2231
2231
  a.Shake = x;
2232
- function s(o, d) {
2233
- const b = (S) => {
2232
+ function i(o, d) {
2233
+ const b = (C) => {
2234
2234
  a.Add(
2235
- /* @__PURE__ */ H.jsx(o, { ...S }, (/* @__PURE__ */ new Date()).getTime())
2235
+ /* @__PURE__ */ H.jsx(o, { ...C }, (/* @__PURE__ */ new Date()).getTime())
2236
2236
  );
2237
2237
  };
2238
2238
  return {
2239
- Icon: (S) => /* @__PURE__ */ H.jsx("i", { onClick: () => b(S), children: d && /* @__PURE__ */ H.jsx(d, {}) }),
2239
+ Icon: (C) => /* @__PURE__ */ H.jsx("i", { onClick: () => b(C), children: d && /* @__PURE__ */ H.jsx(d, {}) }),
2240
2240
  Open: b
2241
2241
  };
2242
2242
  }
2243
- a.Create = s;
2243
+ a.Create = i;
2244
2244
  function g({
2245
2245
  title: o,
2246
2246
  children: d,
2247
2247
  button: b,
2248
- tabs: S,
2248
+ tabs: C,
2249
2249
  size: F = "m",
2250
2250
  className: A = "",
2251
- shake: I = !0,
2252
- menu: O
2251
+ shake: M = !0,
2252
+ menu: E
2253
2253
  }) {
2254
- const [p, M] = W.useState(!0), K = W.useRef(), G = (q) => {
2254
+ const [p, I] = U.useState(!0), K = U.useRef(), G = (q) => {
2255
2255
  if (b) {
2256
2256
  if (b.onClick)
2257
- return q(!1), b.onClick({ setOpen: M });
2257
+ return q(!1), b.onClick({ setOpen: I });
2258
2258
  if (b.onSend)
2259
2259
  return b.onSend({
2260
- setOpen: M,
2260
+ setOpen: I,
2261
2261
  disabled: q
2262
2262
  });
2263
2263
  }
2264
2264
  }, L = () => {
2265
- if (!I) return M(!1);
2265
+ if (!M) return I(!1);
2266
2266
  K.current.setAttribute("shake", !0), setTimeout(() => {
2267
2267
  K.current.setAttribute("shake", !1);
2268
2268
  }, 1e3);
@@ -2278,23 +2278,23 @@ var Ct;
2278
2278
  /* @__PURE__ */ H.jsxs("div", { className: _e.h, children: [
2279
2279
  /* @__PURE__ */ H.jsx("div", { className: _e.t, children: o }),
2280
2280
  /* @__PURE__ */ H.jsxs("div", { className: _e.m, children: [
2281
- S && /* @__PURE__ */ H.jsx("nav", { children: S.map((q, E) => /* @__PURE__ */ H.jsx(
2281
+ C && /* @__PURE__ */ H.jsx("nav", { children: C.map((q, R) => /* @__PURE__ */ H.jsx(
2282
2282
  "span",
2283
2283
  {
2284
2284
  onClick: q.onClick,
2285
2285
  className: q.active ? "active" : "",
2286
2286
  children: q.name
2287
2287
  },
2288
- E
2288
+ R
2289
2289
  )) }),
2290
- O
2290
+ E
2291
2291
  ] }),
2292
2292
  /* @__PURE__ */ H.jsx(
2293
2293
  "div",
2294
2294
  {
2295
2295
  className: _e.x,
2296
2296
  onClick: () => {
2297
- M(!1);
2297
+ I(!1);
2298
2298
  },
2299
2299
  children: /* @__PURE__ */ H.jsx("svg", { viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ H.jsx(
2300
2300
  "path",
@@ -2326,44 +2326,44 @@ var Ct;
2326
2326
  }
2327
2327
  a.Main = g;
2328
2328
  })(Ct || (Ct = {}));
2329
- const Jr = (a, i = ",") => (a = a !== void 0 && a !== "" ? a.split(i) : [], a.filter((l) => l !== "").reduce((l, u) => (l[u] = !0, l), {}));
2330
- function wa({
2329
+ const Jr = (a, s = ",") => (a = a !== void 0 && a !== "" ? a.split(s) : [], a.filter((c) => c !== "").reduce((c, u) => (c[u] = !0, c), {}));
2330
+ function wn({
2331
2331
  value: a,
2332
- onValue: i,
2333
- name: l,
2332
+ onValue: s,
2333
+ name: c,
2334
2334
  placeholder: u = "",
2335
- separator: v = ",",
2336
- title: C,
2337
- error: D,
2335
+ separator: y = ",",
2336
+ title: S,
2337
+ error: P,
2338
2338
  hide: x = !1,
2339
- edit: s = !0,
2339
+ edit: i = !0,
2340
2340
  active: g = !0,
2341
2341
  outFormat: o = "object",
2342
2342
  after: d = "",
2343
2343
  modal: b,
2344
- options: S,
2344
+ options: C,
2345
2345
  className: F
2346
2346
  }) {
2347
- const [A, I] = W.useState(Jr(a, v)), O = (p) => {
2348
- if (!(s && g) || !b) return;
2349
- let M = b.split(".");
2350
- Ct.Open(M[0], M[1], {
2347
+ const [A, M] = U.useState(Jr(a, y)), E = (p) => {
2348
+ if (!(i && g) || !b) return;
2349
+ let I = b.split(".");
2350
+ Ct.Open(I[0], I[1], {
2351
2351
  callback: (K) => {
2352
- if (i)
2352
+ if (s)
2353
2353
  switch (o) {
2354
2354
  case "array":
2355
- i({ value: Object.keys(K), name: l });
2355
+ s({ value: Object.keys(K), name: c });
2356
2356
  break;
2357
2357
  case "string":
2358
- i({
2359
- value: Object.keys(K).filter((G) => K[G]).join(v),
2360
- name: l
2358
+ s({
2359
+ value: Object.keys(K).filter((G) => K[G]).join(y),
2360
+ name: c
2361
2361
  });
2362
2362
  break;
2363
2363
  default:
2364
- i({ value: K, name: l });
2364
+ s({ value: K, name: c });
2365
2365
  }
2366
- I(
2366
+ M(
2367
2367
  Object.fromEntries(
2368
2368
  Object.entries(K).filter(
2369
2369
  ([G, L]) => L !== !1
@@ -2371,27 +2371,27 @@ function wa({
2371
2371
  )
2372
2372
  );
2373
2373
  },
2374
- onValue: i,
2375
- options: S,
2376
- name: l,
2374
+ onValue: s,
2375
+ options: C,
2376
+ name: c,
2377
2377
  value: A
2378
2378
  });
2379
2379
  };
2380
- return x ? /* @__PURE__ */ y.jsx(y.Fragment, {}) : /* @__PURE__ */ y.jsx(
2380
+ return x ? /* @__PURE__ */ v.jsx(v.Fragment, {}) : /* @__PURE__ */ v.jsx(
2381
2381
  Le,
2382
2382
  {
2383
2383
  type: "group",
2384
- title: C,
2384
+ title: S,
2385
2385
  element_blok: { className: [F] },
2386
2386
  element_input: {
2387
- className: [ee.g],
2387
+ className: [ie.g],
2388
2388
  props: {
2389
- onClick: O
2389
+ onClick: E
2390
2390
  }
2391
2391
  },
2392
2392
  children: Object.keys(A).map((p) => {
2393
- var M;
2394
- return /* @__PURE__ */ y.jsx("div", { children: (M = S[p]) == null ? void 0 : M.label }, p);
2393
+ var I;
2394
+ return /* @__PURE__ */ v.jsx("div", { children: (I = C[p]) == null ? void 0 : I.label }, p);
2395
2395
  })
2396
2396
  }
2397
2397
  );
@@ -2401,36 +2401,36 @@ const Zr = "_o_1wehm_12", Vr = "_l_1wehm_22", Xr = "_f_1wehm_81", Nt = {
2401
2401
  l: Vr,
2402
2402
  f: Xr
2403
2403
  };
2404
- function ja({
2404
+ function jn({
2405
2405
  title: a,
2406
- error: i,
2407
- edit: l = !0,
2406
+ error: s,
2407
+ edit: c = !0,
2408
2408
  active: u = !0,
2409
- hide: v,
2410
- value: C = 0,
2411
- onValue: D,
2409
+ hide: y,
2410
+ value: S = 0,
2411
+ onValue: P,
2412
2412
  options: x,
2413
- placeholder: s = "",
2413
+ placeholder: i = "",
2414
2414
  className: g,
2415
2415
  isIcon: o = !0,
2416
2416
  name: d,
2417
2417
  after: b,
2418
- view: S,
2418
+ view: C,
2419
2419
  order: F,
2420
2420
  isReload: A = !1
2421
2421
  }) {
2422
- var R, h;
2423
- const I = W.useRef(null), [O, p] = W.useState(C), [M, K] = W.useState(x), [G, L] = W.useState(!1);
2424
- W.useEffect(() => {
2425
- p(C), K(x);
2426
- }, [C, x]), v = !!(v && (C === 0 || ((R = M == null ? void 0 : M[C]) == null ? void 0 : R.n) === void 0)) && !(l && u);
2427
- let E = (k) => {
2428
- p(k), D && D({ value: k, name: d, reload: A });
2429
- }, P = (k) => {
2430
- Object.keys(M || {}).length !== 0 && l && u && (I.position = I.current.getBoundingClientRect(), L(!0));
2431
- }, U = {};
2432
- return s && (U.placeholder = s), v ? "" : /* @__PURE__ */ y.jsxs(y.Fragment, { children: [
2433
- /* @__PURE__ */ y.jsx(
2422
+ var W, h;
2423
+ const M = U.useRef(null), [E, p] = U.useState(S), [I, K] = U.useState(x), [G, L] = U.useState(!1);
2424
+ U.useEffect(() => {
2425
+ p(S), K(x);
2426
+ }, [S, x]), y = !!(y && (S === 0 || ((W = I == null ? void 0 : I[S]) == null ? void 0 : W.n) === void 0)) && !(c && u);
2427
+ let R = (k) => {
2428
+ p(k), P && P({ value: k, name: d, reload: A });
2429
+ }, T = (k) => {
2430
+ Object.keys(I || {}).length !== 0 && c && u && (M.position = M.current.getBoundingClientRect(), L(!0));
2431
+ }, O = {};
2432
+ return i && (O.placeholder = i), y ? "" : /* @__PURE__ */ v.jsxs(v.Fragment, { children: [
2433
+ /* @__PURE__ */ v.jsx(
2434
2434
  Le,
2435
2435
  {
2436
2436
  type: "select",
@@ -2438,21 +2438,21 @@ function ja({
2438
2438
  element_blok: { className: [g] },
2439
2439
  element_input: {
2440
2440
  className: [Nt.f],
2441
- props: { onClick: P }
2441
+ props: { onClick: T }
2442
2442
  },
2443
- ref: I,
2444
- children: /* @__PURE__ */ y.jsx("div", { ...U, children: (h = M == null ? void 0 : M[O]) == null ? void 0 : h.n })
2443
+ ref: M,
2444
+ children: /* @__PURE__ */ v.jsx("div", { ...O, children: (h = I == null ? void 0 : I[E]) == null ? void 0 : h.n })
2445
2445
  }
2446
2446
  ),
2447
2447
  G && Mt(
2448
- /* @__PURE__ */ y.jsx(
2448
+ /* @__PURE__ */ v.jsx(
2449
2449
  Qr,
2450
2450
  {
2451
- parent: I.position,
2452
- onValue: E,
2453
- view: S,
2451
+ parent: M.position,
2452
+ onValue: R,
2453
+ view: C,
2454
2454
  className: g,
2455
- options: M,
2455
+ options: I,
2456
2456
  order: F,
2457
2457
  setOpen: L
2458
2458
  },
@@ -2464,241 +2464,241 @@ function ja({
2464
2464
  }
2465
2465
  const Qr = ({
2466
2466
  onValue: a,
2467
- parent: i,
2468
- className: l,
2467
+ parent: s,
2468
+ className: c,
2469
2469
  options: u,
2470
- order: v,
2471
- setOpen: C
2470
+ order: y,
2471
+ setOpen: S
2472
2472
  }) => {
2473
- let D = () => {
2474
- C(!1);
2473
+ let P = () => {
2474
+ S(!1);
2475
2475
  }, x = (o) => {
2476
- C(!1), a(o);
2477
- }, s = window.innerHeight - i.y + i.height < 320 ? i.y - 312 : i.y + 33, g = window.innerWidth - i.x < 265 ? i.x - 235 : i.x;
2478
- return /* @__PURE__ */ y.jsxs(y.Fragment, { children: [
2479
- /* @__PURE__ */ y.jsx(
2476
+ S(!1), a(o);
2477
+ }, i = window.innerHeight - s.y + s.height < 320 ? s.y - 312 : s.y + 33, g = window.innerWidth - s.x < 265 ? s.x - 235 : s.x;
2478
+ return /* @__PURE__ */ v.jsxs(v.Fragment, { children: [
2479
+ /* @__PURE__ */ v.jsx(
2480
2480
  "div",
2481
2481
  {
2482
2482
  className: Nt.o,
2483
- onClick: D
2483
+ onClick: P
2484
2484
  },
2485
2485
  (/* @__PURE__ */ new Date()).getTime()
2486
2486
  ),
2487
- /* @__PURE__ */ y.jsx(
2487
+ /* @__PURE__ */ v.jsx(
2488
2488
  "div",
2489
2489
  {
2490
- className: [Nt.l, l].filter((o) => o !== void 0).join(" "),
2490
+ className: [Nt.l, c].filter((o) => o !== void 0).join(" "),
2491
2491
  style: {
2492
- top: s + "px",
2492
+ top: i + "px",
2493
2493
  left: g + "px",
2494
- width: i.width
2494
+ width: s.width
2495
2495
  },
2496
- children: /* @__PURE__ */ y.jsx(ea, { order: v, options: u, link: x })
2496
+ children: /* @__PURE__ */ v.jsx(en, { order: y, options: u, link: x })
2497
2497
  }
2498
2498
  )
2499
2499
  ] });
2500
- }, ea = ({ order: a, options: i, link: l }) => a ? /* @__PURE__ */ y.jsx("ul", { children: a.map(
2501
- (u, v) => i[u].s !== 0 ? /* @__PURE__ */ y.jsx(
2500
+ }, en = ({ order: a, options: s, link: c }) => a ? /* @__PURE__ */ v.jsx("ul", { children: a.map(
2501
+ (u, y) => s[u].s !== 0 ? /* @__PURE__ */ v.jsx(
2502
2502
  "li",
2503
2503
  {
2504
2504
  onClick: () => {
2505
- l(u);
2505
+ c(u);
2506
2506
  },
2507
- children: i[u].n
2507
+ children: s[u].n
2508
2508
  },
2509
- v
2509
+ y
2510
2510
  ) : ""
2511
- ) }) : /* @__PURE__ */ y.jsx("ul", { children: Object.keys(i).map(
2512
- (u, v) => i[u].s !== 0 ? /* @__PURE__ */ y.jsx(
2511
+ ) }) : /* @__PURE__ */ v.jsx("ul", { children: Object.keys(s).map(
2512
+ (u, y) => s[u].s !== 0 ? /* @__PURE__ */ v.jsx(
2513
2513
  "li",
2514
2514
  {
2515
2515
  onClick: () => {
2516
- l(u);
2516
+ c(u);
2517
2517
  },
2518
- children: i[u].n
2518
+ children: s[u].n
2519
2519
  },
2520
- v
2520
+ y
2521
2521
  ) : ""
2522
2522
  ) });
2523
- function xa({
2523
+ function xn({
2524
2524
  value: a,
2525
- onValue: i,
2526
- name: l,
2525
+ onValue: s,
2526
+ name: c,
2527
2527
  placeholder: u = "",
2528
- title: v,
2529
- error: C,
2530
- hide: D = !1,
2528
+ title: y,
2529
+ error: S,
2530
+ hide: P = !1,
2531
2531
  edit: x = !0,
2532
- show: s = !0,
2532
+ show: i = !0,
2533
2533
  active: g = !0,
2534
2534
  after: o = "",
2535
2535
  view: d,
2536
2536
  modal: b,
2537
- module: S,
2537
+ module: C,
2538
2538
  options: F,
2539
2539
  className: A
2540
2540
  }) {
2541
- let [I, O] = W.useState(a), p = (G) => {
2541
+ let [M, E] = U.useState(a), p = (G) => {
2542
2542
  if (!(x && g) || !b) return;
2543
2543
  let L = b.split(".");
2544
2544
  Ct.Open(L[0], L[1], {
2545
2545
  callback: (q) => {
2546
- i && i({ value: q, name: l }), O(q);
2546
+ s && s({ value: q, name: c }), E(q);
2547
2547
  },
2548
- onValue: i,
2548
+ onValue: s,
2549
2549
  options: F,
2550
- name: l,
2550
+ name: c,
2551
2551
  value: a
2552
2552
  });
2553
2553
  };
2554
- const M = {};
2555
- M.field = "input", A && (M.className = A);
2554
+ const I = {};
2555
+ I.field = "input", A && (I.className = A);
2556
2556
  const K = {};
2557
- return u && (K.placeholder = u), D ? /* @__PURE__ */ y.jsx(y.Fragment, {}) : /* @__PURE__ */ y.jsxs("dl", { ...M, children: [
2558
- v && /* @__PURE__ */ y.jsx("dt", { children: v }),
2559
- /* @__PURE__ */ y.jsx(
2557
+ return u && (K.placeholder = u), P ? /* @__PURE__ */ v.jsx(v.Fragment, {}) : /* @__PURE__ */ v.jsxs("dl", { ...I, children: [
2558
+ y && /* @__PURE__ */ v.jsx("dt", { children: y }),
2559
+ /* @__PURE__ */ v.jsx(
2560
2560
  "dd",
2561
2561
  {
2562
2562
  ...K,
2563
2563
  onClick: p,
2564
2564
  edit: (x && g) + "",
2565
2565
  "data-after": o,
2566
- children: I
2566
+ children: M
2567
2567
  }
2568
2568
  ),
2569
- C && /* @__PURE__ */ y.jsx("em", { children: C })
2569
+ S && /* @__PURE__ */ v.jsx("em", { children: S })
2570
2570
  ] });
2571
2571
  }
2572
- function Ca({
2572
+ function Cn({
2573
2573
  value: a,
2574
- onValue: i,
2575
- onSave: l,
2574
+ onValue: s,
2575
+ onSave: c,
2576
2576
  name: u,
2577
- placeholder: v = "",
2578
- className: C,
2579
- title: D,
2577
+ placeholder: y = "",
2578
+ className: S,
2579
+ title: P,
2580
2580
  error: x,
2581
- edit: s = !0,
2581
+ edit: i = !0,
2582
2582
  active: g = !0,
2583
2583
  reload: o = !1,
2584
2584
  native: d = !1,
2585
2585
  isShow: b = !1,
2586
- maxLength: S,
2586
+ maxLength: C,
2587
2587
  eyes: F = [],
2588
2588
  after: A = ""
2589
2589
  }) {
2590
- const [I, O] = W.useState(b);
2591
- let p = (E) => {
2592
- i && i({
2593
- value: E.target.textContent,
2590
+ const [M, E] = U.useState(b);
2591
+ let p = (R) => {
2592
+ s && s({
2593
+ value: R.target.textContent,
2594
2594
  name: u,
2595
2595
  reload: o
2596
2596
  });
2597
- }, M = (E) => {
2598
- E.key === "Enter" && E.preventDefault();
2599
- }, K = (E) => {
2600
- E.preventDefault(), navigator.clipboard.readText().then((P) => {
2601
- if (S) {
2602
- let U = E.target.textContent.length;
2603
- if (U >= S) return;
2604
- S -= U, P = P.slice(0, S);
2597
+ }, I = (R) => {
2598
+ R.key === "Enter" && R.preventDefault();
2599
+ }, K = (R) => {
2600
+ R.preventDefault(), navigator.clipboard.readText().then((T) => {
2601
+ if (C) {
2602
+ let O = R.target.textContent.length;
2603
+ if (O >= C) return;
2604
+ C -= O, T = T.slice(0, C);
2605
2605
  }
2606
2606
  window.document.execCommand(
2607
2607
  "insertText",
2608
2608
  !1,
2609
- P.replace(/(\r\n|\n|\r)/gm, " ")
2609
+ T.replace(/(\r\n|\n|\r)/gm, " ")
2610
2610
  );
2611
- }).catch((P) => {
2611
+ }).catch((T) => {
2612
2612
  });
2613
- }, G = (E) => {
2614
- te.Blur(E), l == null || l({ value: E.target.textContent.trim(), name: u });
2613
+ }, G = (R) => {
2614
+ ee.Blur(R), c == null || c({ value: R.target.textContent.trim(), name: u });
2615
2615
  };
2616
2616
  const L = {};
2617
- L.field = "password", I && (L.show = ""), C && (L.className = C);
2617
+ L.field = "password", M && (L.show = ""), S && (L.className = S);
2618
2618
  const q = {};
2619
- return v && (q.placeholder = v), d ? "" : /* @__PURE__ */ y.jsxs("dl", { ...L, children: [
2620
- D ? /* @__PURE__ */ y.jsx("dt", { children: D }) : "",
2621
- /* @__PURE__ */ y.jsx(
2619
+ return y && (q.placeholder = y), d ? "" : /* @__PURE__ */ v.jsxs("dl", { ...L, children: [
2620
+ P ? /* @__PURE__ */ v.jsx("dt", { children: P }) : "",
2621
+ /* @__PURE__ */ v.jsx(
2622
2622
  "dd",
2623
2623
  {
2624
2624
  onPaste: K,
2625
2625
  onInput: p,
2626
- onKeyDown: M,
2626
+ onKeyDown: I,
2627
2627
  onBlur: G,
2628
- contentEditable: s && g ? te.ContentEditable : "false",
2628
+ contentEditable: i && g ? ee.ContentEditable : "false",
2629
2629
  ...q,
2630
2630
  suppressContentEditableWarning: !0,
2631
2631
  children: a
2632
2632
  }
2633
2633
  ),
2634
- F[0] && /* @__PURE__ */ y.jsx("i", { onClick: () => O(!I), children: I ? F[1] : F[0] }),
2634
+ F[0] && /* @__PURE__ */ v.jsx("i", { onClick: () => E(!M), children: M ? F[1] : F[0] }),
2635
2635
  A,
2636
- x ? /* @__PURE__ */ y.jsx("em", { children: x }) : ""
2636
+ x ? /* @__PURE__ */ v.jsx("em", { children: x }) : ""
2637
2637
  ] });
2638
2638
  }
2639
- function Sa({
2639
+ function Sn({
2640
2640
  onValue: a,
2641
- onSave: i,
2642
- active: l,
2641
+ onSave: s,
2642
+ active: c,
2643
2643
  max: u,
2644
- edit: v,
2645
- title: C,
2646
- error: D,
2644
+ edit: y,
2645
+ title: S,
2646
+ error: P,
2647
2647
  show: x,
2648
- hide: s,
2648
+ hide: i,
2649
2649
  value: g,
2650
2650
  placeholder: o,
2651
2651
  className: d,
2652
2652
  maxLength: b,
2653
- name: S,
2653
+ name: C,
2654
2654
  after: F = "",
2655
2655
  before: A = "",
2656
- view: I
2656
+ view: M
2657
2657
  }) {
2658
- v = v !== void 0 ? v : !0, l = l !== void 0 ? l : !0, s = !!(s && (g === "" || g === void 0)) && !(v && l), o = o !== void 0 ? o : "", u = u !== void 0 ? u : 99;
2659
- let p = !1, M = (P) => {
2660
- a == null || a({ value: P.target.textContent, name: S });
2661
- }, K = (P) => {
2662
- if (!(p && P.which === 86)) {
2663
- if (P.which === 17 || P.which === 91) return p = !0;
2664
- P.key !== "Backspace" && (P.target.textContent.length === u && P.preventDefault(), P.key === "Enter" && P.preventDefault(), isNaN(P.key) && P.preventDefault());
2665
- }
2666
- }, G = (P) => {
2667
- if (P.which === 17 || P.which === 91) return p = !1;
2668
- }, L = (P) => {
2669
- P.preventDefault(), navigator.clipboard.readText().then((U) => {
2670
- if (U = U.replace(/(?!^\+|\d)./g, ""), b) {
2671
- let R = P.target.textContent.length;
2672
- if (R >= b) return;
2673
- b -= R, U = U.slice(0, b);
2658
+ y = y !== void 0 ? y : !0, c = c !== void 0 ? c : !0, i = !!(i && (g === "" || g === void 0)) && !(y && c), o = o !== void 0 ? o : "", u = u !== void 0 ? u : 99;
2659
+ let p = !1, I = (T) => {
2660
+ a == null || a({ value: T.target.textContent, name: C });
2661
+ }, K = (T) => {
2662
+ if (!(p && T.which === 86)) {
2663
+ if (T.which === 17 || T.which === 91) return p = !0;
2664
+ T.key !== "Backspace" && (T.target.textContent.length === u && T.preventDefault(), T.key === "Enter" && T.preventDefault(), isNaN(T.key) && T.preventDefault());
2665
+ }
2666
+ }, G = (T) => {
2667
+ if (T.which === 17 || T.which === 91) return p = !1;
2668
+ }, L = (T) => {
2669
+ T.preventDefault(), navigator.clipboard.readText().then((O) => {
2670
+ if (O = O.replace(/(?!^\+|\d)./g, ""), b) {
2671
+ let W = T.target.textContent.length;
2672
+ if (W >= b) return;
2673
+ b -= W, O = O.slice(0, b);
2674
2674
  }
2675
- window.document.execCommand("insertText", !1, "" + U);
2676
- }).catch((U) => {
2675
+ window.document.execCommand("insertText", !1, "" + O);
2676
+ }).catch((O) => {
2677
2677
  });
2678
2678
  };
2679
- const q = (P) => {
2680
- te.Blur(P), i == null || i({ value: P.target.textContent, name: S });
2679
+ const q = (T) => {
2680
+ ee.Blur(T), s == null || s({ value: T.target.textContent, name: C });
2681
2681
  };
2682
- let E = {};
2683
- return v && l ? (E.edit = "true", E.contentEditable = te.ContentEditable) : E.contentEditable = "false", E.inputMode = "decimal", o && (E.placeholder = o), s ? /* @__PURE__ */ y.jsx(y.Fragment, {}) : /* @__PURE__ */ y.jsx(
2682
+ let R = {};
2683
+ return y && c ? (R.edit = "true", R.contentEditable = ee.ContentEditable) : R.contentEditable = "false", R.inputMode = "decimal", o && (R.placeholder = o), i ? /* @__PURE__ */ v.jsx(v.Fragment, {}) : /* @__PURE__ */ v.jsx(
2684
2684
  Le,
2685
2685
  {
2686
2686
  type: "numeric",
2687
- title: C,
2687
+ title: S,
2688
2688
  element_blok: { className: [d] },
2689
- element_input: { className: [ee.w] },
2690
- children: /* @__PURE__ */ y.jsx(
2689
+ element_input: { className: [ie.w] },
2690
+ children: /* @__PURE__ */ v.jsx(
2691
2691
  "div",
2692
2692
  {
2693
2693
  onPaste: L,
2694
- onInput: M,
2694
+ onInput: I,
2695
2695
  onBlur: q,
2696
2696
  onKeyDown: K,
2697
2697
  onKeyUp: G,
2698
2698
  spellCheck: "true",
2699
- contentEditable: v && l ? te.ContentEditable : "false",
2699
+ contentEditable: y && c ? ee.ContentEditable : "false",
2700
2700
  suppressContentEditableWarning: !0,
2701
- ...E,
2701
+ ...R,
2702
2702
  children: g
2703
2703
  }
2704
2704
  )
@@ -2716,18 +2716,18 @@ var Ft = { exports: {} }, ht = {};
2716
2716
  * LICENSE file in the root directory of this source tree.
2717
2717
  */
2718
2718
  var qt;
2719
- function ta() {
2719
+ function tn() {
2720
2720
  if (qt) return ht;
2721
2721
  qt = 1;
2722
- var a = W, i = Symbol.for("react.element"), l = Symbol.for("react.fragment"), u = Object.prototype.hasOwnProperty, v = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, C = { key: !0, ref: !0, __self: !0, __source: !0 };
2723
- function D(x, s, g) {
2724
- var o, d = {}, b = null, S = null;
2725
- g !== void 0 && (b = "" + g), s.key !== void 0 && (b = "" + s.key), s.ref !== void 0 && (S = s.ref);
2726
- for (o in s) u.call(s, o) && !C.hasOwnProperty(o) && (d[o] = s[o]);
2727
- if (x && x.defaultProps) for (o in s = x.defaultProps, s) d[o] === void 0 && (d[o] = s[o]);
2728
- return { $$typeof: i, type: x, key: b, ref: S, props: d, _owner: v.current };
2722
+ var a = U, s = Symbol.for("react.element"), c = Symbol.for("react.fragment"), u = Object.prototype.hasOwnProperty, y = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, S = { key: !0, ref: !0, __self: !0, __source: !0 };
2723
+ function P(x, i, g) {
2724
+ var o, d = {}, b = null, C = null;
2725
+ g !== void 0 && (b = "" + g), i.key !== void 0 && (b = "" + i.key), i.ref !== void 0 && (C = i.ref);
2726
+ for (o in i) u.call(i, o) && !S.hasOwnProperty(o) && (d[o] = i[o]);
2727
+ if (x && x.defaultProps) for (o in i = x.defaultProps, i) d[o] === void 0 && (d[o] = i[o]);
2728
+ return { $$typeof: s, type: x, key: b, ref: C, props: d, _owner: y.current };
2729
2729
  }
2730
- return ht.Fragment = l, ht.jsx = D, ht.jsxs = D, ht;
2730
+ return ht.Fragment = c, ht.jsx = P, ht.jsxs = P, ht;
2731
2731
  }
2732
2732
  var xt = {};
2733
2733
  /**
@@ -2740,43 +2740,43 @@ var xt = {};
2740
2740
  * LICENSE file in the root directory of this source tree.
2741
2741
  */
2742
2742
  var Yt;
2743
- function ra() {
2743
+ function rn() {
2744
2744
  return Yt || (Yt = 1, process.env.NODE_ENV !== "production" && function() {
2745
- var a = W, i = Symbol.for("react.element"), l = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), v = Symbol.for("react.strict_mode"), C = Symbol.for("react.profiler"), D = Symbol.for("react.provider"), x = Symbol.for("react.context"), s = Symbol.for("react.forward_ref"), g = Symbol.for("react.suspense"), o = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), b = Symbol.for("react.lazy"), S = Symbol.for("react.offscreen"), F = Symbol.iterator, A = "@@iterator";
2746
- function I(e) {
2745
+ var a = U, s = Symbol.for("react.element"), c = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), y = Symbol.for("react.strict_mode"), S = Symbol.for("react.profiler"), P = Symbol.for("react.provider"), x = Symbol.for("react.context"), i = Symbol.for("react.forward_ref"), g = Symbol.for("react.suspense"), o = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), b = Symbol.for("react.lazy"), C = Symbol.for("react.offscreen"), F = Symbol.iterator, A = "@@iterator";
2746
+ function M(e) {
2747
2747
  if (e === null || typeof e != "object")
2748
2748
  return null;
2749
2749
  var t = F && e[F] || e[A];
2750
2750
  return typeof t == "function" ? t : null;
2751
2751
  }
2752
- var O = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
2752
+ var E = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
2753
2753
  function p(e) {
2754
2754
  {
2755
2755
  for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), n = 1; n < t; n++)
2756
2756
  r[n - 1] = arguments[n];
2757
- M("error", e, r);
2757
+ I("error", e, r);
2758
2758
  }
2759
2759
  }
2760
- function M(e, t, r) {
2760
+ function I(e, t, r) {
2761
2761
  {
2762
- var n = O.ReactDebugCurrentFrame, f = n.getStackAddendum();
2762
+ var n = E.ReactDebugCurrentFrame, f = n.getStackAddendum();
2763
2763
  f !== "" && (t += "%s", r = r.concat([f]));
2764
- var m = r.map(function(c) {
2765
- return String(c);
2764
+ var m = r.map(function(l) {
2765
+ return String(l);
2766
2766
  });
2767
2767
  m.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, m);
2768
2768
  }
2769
2769
  }
2770
- var K = !1, G = !1, L = !1, q = !1, E = !1, P;
2771
- P = Symbol.for("react.module.reference");
2772
- function U(e) {
2773
- return !!(typeof e == "string" || typeof e == "function" || e === u || e === C || E || e === v || e === g || e === o || q || e === S || K || G || L || typeof e == "object" && e !== null && (e.$$typeof === b || e.$$typeof === d || e.$$typeof === D || e.$$typeof === x || e.$$typeof === s || // This needs to include all possible module reference object
2770
+ var K = !1, G = !1, L = !1, q = !1, R = !1, T;
2771
+ T = Symbol.for("react.module.reference");
2772
+ function O(e) {
2773
+ return !!(typeof e == "string" || typeof e == "function" || e === u || e === S || R || e === y || e === g || e === o || q || e === C || K || G || L || typeof e == "object" && e !== null && (e.$$typeof === b || e.$$typeof === d || e.$$typeof === P || e.$$typeof === x || e.$$typeof === i || // This needs to include all possible module reference object
2774
2774
  // types supported by any Flight configuration anywhere since
2775
2775
  // we don't know which Flight build this will end up being used
2776
2776
  // with.
2777
- e.$$typeof === P || e.getModuleId !== void 0));
2777
+ e.$$typeof === T || e.getModuleId !== void 0));
2778
2778
  }
2779
- function R(e, t, r) {
2779
+ function W(e, t, r) {
2780
2780
  var n = e.displayName;
2781
2781
  if (n)
2782
2782
  return n;
@@ -2796,11 +2796,11 @@ function ra() {
2796
2796
  switch (e) {
2797
2797
  case u:
2798
2798
  return "Fragment";
2799
- case l:
2799
+ case c:
2800
2800
  return "Portal";
2801
- case C:
2801
+ case S:
2802
2802
  return "Profiler";
2803
- case v:
2803
+ case y:
2804
2804
  return "StrictMode";
2805
2805
  case g:
2806
2806
  return "Suspense";
@@ -2812,18 +2812,18 @@ function ra() {
2812
2812
  case x:
2813
2813
  var t = e;
2814
2814
  return h(t) + ".Consumer";
2815
- case D:
2815
+ case P:
2816
2816
  var r = e;
2817
2817
  return h(r._context) + ".Provider";
2818
- case s:
2819
- return R(e, e.render, "ForwardRef");
2818
+ case i:
2819
+ return W(e, e.render, "ForwardRef");
2820
2820
  case d:
2821
2821
  var n = e.displayName || null;
2822
2822
  return n !== null ? n : k(e.type) || "Memo";
2823
2823
  case b: {
2824
- var f = e, m = f._payload, c = f._init;
2824
+ var f = e, m = f._payload, l = f._init;
2825
2825
  try {
2826
- return k(c(m));
2826
+ return k(l(m));
2827
2827
  } catch {
2828
2828
  return null;
2829
2829
  }
@@ -2831,14 +2831,14 @@ function ra() {
2831
2831
  }
2832
2832
  return null;
2833
2833
  }
2834
- var $ = Object.assign, Y = 0, X, ie, se, ve, ge, be, ke;
2834
+ var $ = Object.assign, Y = 0, X, oe, se, ve, ge, be, ke;
2835
2835
  function we() {
2836
2836
  }
2837
2837
  we.__reactDisabledLog = !0;
2838
2838
  function We() {
2839
2839
  {
2840
2840
  if (Y === 0) {
2841
- X = console.log, ie = console.info, se = console.warn, ve = console.error, ge = console.group, be = console.groupCollapsed, ke = console.groupEnd;
2841
+ X = console.log, oe = console.info, se = console.warn, ve = console.error, ge = console.group, be = console.groupCollapsed, ke = console.groupEnd;
2842
2842
  var e = {
2843
2843
  configurable: !0,
2844
2844
  enumerable: !0,
@@ -2871,7 +2871,7 @@ function ra() {
2871
2871
  value: X
2872
2872
  }),
2873
2873
  info: $({}, e, {
2874
- value: ie
2874
+ value: oe
2875
2875
  }),
2876
2876
  warn: $({}, e, {
2877
2877
  value: se
@@ -2893,8 +2893,8 @@ function ra() {
2893
2893
  Y < 0 && p("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
2894
2894
  }
2895
2895
  }
2896
- var le = O.ReactCurrentDispatcher, ce;
2897
- function re(e, t, r) {
2896
+ var le = E.ReactCurrentDispatcher, ce;
2897
+ function te(e, t, r) {
2898
2898
  {
2899
2899
  if (ce === void 0)
2900
2900
  try {
@@ -2907,16 +2907,16 @@ function ra() {
2907
2907
  ` + ce + e;
2908
2908
  }
2909
2909
  }
2910
- var ue = !1, ae;
2910
+ var ue = !1, re;
2911
2911
  {
2912
2912
  var Ke = typeof WeakMap == "function" ? WeakMap : Map;
2913
- ae = new Ke();
2913
+ re = new Ke();
2914
2914
  }
2915
2915
  function je(e, t) {
2916
2916
  if (!e || ue)
2917
2917
  return "";
2918
2918
  {
2919
- var r = ae.get(e);
2919
+ var r = re.get(e);
2920
2920
  if (r !== void 0)
2921
2921
  return r;
2922
2922
  }
@@ -2928,27 +2928,27 @@ function ra() {
2928
2928
  m = le.current, le.current = null, We();
2929
2929
  try {
2930
2930
  if (t) {
2931
- var c = function() {
2931
+ var l = function() {
2932
2932
  throw Error();
2933
2933
  };
2934
- if (Object.defineProperty(c.prototype, "props", {
2934
+ if (Object.defineProperty(l.prototype, "props", {
2935
2935
  set: function() {
2936
2936
  throw Error();
2937
2937
  }
2938
2938
  }), typeof Reflect == "object" && Reflect.construct) {
2939
2939
  try {
2940
- Reflect.construct(c, []);
2940
+ Reflect.construct(l, []);
2941
2941
  } catch (N) {
2942
2942
  n = N;
2943
2943
  }
2944
- Reflect.construct(e, [], c);
2944
+ Reflect.construct(e, [], l);
2945
2945
  } else {
2946
2946
  try {
2947
- c.call();
2947
+ l.call();
2948
2948
  } catch (N) {
2949
2949
  n = N;
2950
2950
  }
2951
- e.call(c.prototype);
2951
+ e.call(l.prototype);
2952
2952
  }
2953
2953
  } else {
2954
2954
  try {
@@ -2961,17 +2961,17 @@ function ra() {
2961
2961
  } catch (N) {
2962
2962
  if (N && n && typeof N.stack == "string") {
2963
2963
  for (var _ = N.stack.split(`
2964
- `), T = n.stack.split(`
2965
- `), w = _.length - 1, j = T.length - 1; w >= 1 && j >= 0 && _[w] !== T[j]; )
2964
+ `), D = n.stack.split(`
2965
+ `), w = _.length - 1, j = D.length - 1; w >= 1 && j >= 0 && _[w] !== D[j]; )
2966
2966
  j--;
2967
2967
  for (; w >= 1 && j >= 0; w--, j--)
2968
- if (_[w] !== T[j]) {
2968
+ if (_[w] !== D[j]) {
2969
2969
  if (w !== 1 || j !== 1)
2970
2970
  do
2971
- if (w--, j--, j < 0 || _[w] !== T[j]) {
2971
+ if (w--, j--, j < 0 || _[w] !== D[j]) {
2972
2972
  var B = `
2973
2973
  ` + _[w].replace(" at new ", " at ");
2974
- return e.displayName && B.includes("<anonymous>") && (B = B.replace("<anonymous>", e.displayName)), typeof e == "function" && ae.set(e, B), B;
2974
+ return e.displayName && B.includes("<anonymous>") && (B = B.replace("<anonymous>", e.displayName)), typeof e == "function" && re.set(e, B), B;
2975
2975
  }
2976
2976
  while (w >= 1 && j >= 0);
2977
2977
  break;
@@ -2980,8 +2980,8 @@ function ra() {
2980
2980
  } finally {
2981
2981
  ue = !1, le.current = m, Ue(), Error.prepareStackTrace = f;
2982
2982
  }
2983
- var Z = e ? e.displayName || e.name : "", z = Z ? re(Z) : "";
2984
- return typeof e == "function" && ae.set(e, z), z;
2983
+ var Z = e ? e.displayName || e.name : "", z = Z ? te(Z) : "";
2984
+ return typeof e == "function" && re.set(e, z), z;
2985
2985
  }
2986
2986
  function qe(e, t, r) {
2987
2987
  return je(e, !1);
@@ -2996,16 +2996,16 @@ function ra() {
2996
2996
  if (typeof e == "function")
2997
2997
  return je(e, Ye(e));
2998
2998
  if (typeof e == "string")
2999
- return re(e);
2999
+ return te(e);
3000
3000
  switch (e) {
3001
3001
  case g:
3002
- return re("Suspense");
3002
+ return te("Suspense");
3003
3003
  case o:
3004
- return re("SuspenseList");
3004
+ return te("SuspenseList");
3005
3005
  }
3006
3006
  if (typeof e == "object")
3007
3007
  switch (e.$$typeof) {
3008
- case s:
3008
+ case i:
3009
3009
  return qe(e.render);
3010
3010
  case d:
3011
3011
  return ne(e.type, t, r);
@@ -3019,8 +3019,8 @@ function ra() {
3019
3019
  }
3020
3020
  return "";
3021
3021
  }
3022
- var V = Object.prototype.hasOwnProperty, xe = {}, Ce = O.ReactDebugCurrentFrame;
3023
- function oe(e) {
3022
+ var V = Object.prototype.hasOwnProperty, xe = {}, Ce = E.ReactDebugCurrentFrame;
3023
+ function ae(e) {
3024
3024
  if (e) {
3025
3025
  var t = e._owner, r = ne(e.type, e._source, t ? t.type : null);
3026
3026
  Ce.setExtraStackFrame(r);
@@ -3030,19 +3030,19 @@ function ra() {
3030
3030
  function Ge(e, t, r, n, f) {
3031
3031
  {
3032
3032
  var m = Function.call.bind(V);
3033
- for (var c in e)
3034
- if (m(e, c)) {
3033
+ for (var l in e)
3034
+ if (m(e, l)) {
3035
3035
  var _ = void 0;
3036
3036
  try {
3037
- if (typeof e[c] != "function") {
3038
- var T = Error((n || "React class") + ": " + r + " type `" + c + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[c] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
3039
- throw T.name = "Invariant Violation", T;
3037
+ if (typeof e[l] != "function") {
3038
+ var D = Error((n || "React class") + ": " + r + " type `" + l + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[l] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
3039
+ throw D.name = "Invariant Violation", D;
3040
3040
  }
3041
- _ = e[c](t, c, n, r, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
3041
+ _ = e[l](t, l, n, r, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
3042
3042
  } catch (w) {
3043
3043
  _ = w;
3044
3044
  }
3045
- _ && !(_ instanceof Error) && (oe(f), p("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", n || "React class", r, c, typeof _), oe(null)), _ instanceof Error && !(_.message in xe) && (xe[_.message] = !0, oe(f), p("Failed %s type: %s", r, _.message), oe(null));
3045
+ _ && !(_ instanceof Error) && (ae(f), p("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", n || "React class", r, l, typeof _), ae(null)), _ instanceof Error && !(_.message in xe) && (xe[_.message] = !0, ae(f), p("Failed %s type: %s", r, _.message), ae(null));
3046
3046
  }
3047
3047
  }
3048
3048
  }
@@ -3070,7 +3070,7 @@ function ra() {
3070
3070
  if (Je(e))
3071
3071
  return p("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", He(e)), Se(e);
3072
3072
  }
3073
- var Ee = O.ReactCurrentOwner, Ze = {
3073
+ var Ee = E.ReactCurrentOwner, Ze = {
3074
3074
  key: !0,
3075
3075
  ref: !0,
3076
3076
  __self: !0,
@@ -3117,15 +3117,15 @@ function ra() {
3117
3117
  });
3118
3118
  }
3119
3119
  }
3120
- var rt = function(e, t, r, n, f, m, c) {
3120
+ var rt = function(e, t, r, n, f, m, l) {
3121
3121
  var _ = {
3122
3122
  // This tag allows us to uniquely identify this as a React Element
3123
- $$typeof: i,
3123
+ $$typeof: s,
3124
3124
  // Built-in properties that belong on the element
3125
3125
  type: e,
3126
3126
  key: t,
3127
3127
  ref: r,
3128
- props: c,
3128
+ props: l,
3129
3129
  // Record the component responsible for creating this element.
3130
3130
  _owner: m
3131
3131
  };
@@ -3146,25 +3146,25 @@ function ra() {
3146
3146
  value: f
3147
3147
  }), Object.freeze && (Object.freeze(_.props), Object.freeze(_)), _;
3148
3148
  };
3149
- function at(e, t, r, n, f) {
3149
+ function nt(e, t, r, n, f) {
3150
3150
  {
3151
- var m, c = {}, _ = null, T = null;
3152
- r !== void 0 && (Re(r), _ = "" + r), Xe(t) && (Re(t.key), _ = "" + t.key), Ve(t) && (T = t.ref, Qe(t));
3151
+ var m, l = {}, _ = null, D = null;
3152
+ r !== void 0 && (Re(r), _ = "" + r), Xe(t) && (Re(t.key), _ = "" + t.key), Ve(t) && (D = t.ref, Qe(t));
3153
3153
  for (m in t)
3154
- V.call(t, m) && !Ze.hasOwnProperty(m) && (c[m] = t[m]);
3154
+ V.call(t, m) && !Ze.hasOwnProperty(m) && (l[m] = t[m]);
3155
3155
  if (e && e.defaultProps) {
3156
3156
  var w = e.defaultProps;
3157
3157
  for (m in w)
3158
- c[m] === void 0 && (c[m] = w[m]);
3158
+ l[m] === void 0 && (l[m] = w[m]);
3159
3159
  }
3160
- if (_ || T) {
3160
+ if (_ || D) {
3161
3161
  var j = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
3162
- _ && et(c, j), T && tt(c, j);
3162
+ _ && et(l, j), D && tt(l, j);
3163
3163
  }
3164
- return rt(e, _, T, f, n, Ee.current, c);
3164
+ return rt(e, _, D, f, n, Ee.current, l);
3165
3165
  }
3166
3166
  }
3167
- var fe = O.ReactCurrentOwner, De = O.ReactDebugCurrentFrame;
3167
+ var fe = E.ReactCurrentOwner, De = E.ReactDebugCurrentFrame;
3168
3168
  function J(e) {
3169
3169
  if (e) {
3170
3170
  var t = e._owner, r = ne(e.type, e._source, t ? t.type : null);
@@ -3175,7 +3175,7 @@ function ra() {
3175
3175
  var pe;
3176
3176
  pe = !1;
3177
3177
  function me(e) {
3178
- return typeof e == "object" && e !== null && e.$$typeof === i;
3178
+ return typeof e == "object" && e !== null && e.$$typeof === s;
3179
3179
  }
3180
3180
  function Pe() {
3181
3181
  {
@@ -3189,7 +3189,7 @@ Check the render method of \`` + e + "`.";
3189
3189
  return "";
3190
3190
  }
3191
3191
  }
3192
- function nt(e) {
3192
+ function at(e) {
3193
3193
  return "";
3194
3194
  }
3195
3195
  var Ne = {};
@@ -3230,14 +3230,14 @@ Check the top-level render call using <` + r + ">.");
3230
3230
  else if (me(e))
3231
3231
  e._store && (e._store.validated = !0);
3232
3232
  else if (e) {
3233
- var f = I(e);
3233
+ var f = M(e);
3234
3234
  if (typeof f == "function" && f !== e.entries)
3235
- for (var m = f.call(e), c; !(c = m.next()).done; )
3236
- me(c.value) && Fe(c.value, t);
3235
+ for (var m = f.call(e), l; !(l = m.next()).done; )
3236
+ me(l.value) && Fe(l.value, t);
3237
3237
  }
3238
3238
  }
3239
3239
  }
3240
- function it(e) {
3240
+ function _t(e) {
3241
3241
  {
3242
3242
  var t = e.type;
3243
3243
  if (t == null || typeof t == "string")
@@ -3245,7 +3245,7 @@ Check the top-level render call using <` + r + ">.");
3245
3245
  var r;
3246
3246
  if (typeof t == "function")
3247
3247
  r = t.propTypes;
3248
- else if (typeof t == "object" && (t.$$typeof === s || // Note: Memo only checks outer props here.
3248
+ else if (typeof t == "object" && (t.$$typeof === i || // Note: Memo only checks outer props here.
3249
3249
  // Inner props are checked in the reconciler.
3250
3250
  t.$$typeof === d))
3251
3251
  r = t.propTypes;
@@ -3262,7 +3262,7 @@ Check the top-level render call using <` + r + ">.");
3262
3262
  typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && p("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
3263
3263
  }
3264
3264
  }
3265
- function _t(e) {
3265
+ function it(e) {
3266
3266
  {
3267
3267
  for (var t = Object.keys(e.props), r = 0; r < t.length; r++) {
3268
3268
  var n = t[r];
@@ -3277,19 +3277,19 @@ Check the top-level render call using <` + r + ">.");
3277
3277
  var Me = {};
3278
3278
  function $e(e, t, r, n, f, m) {
3279
3279
  {
3280
- var c = U(e);
3281
- if (!c) {
3280
+ var l = O(e);
3281
+ if (!l) {
3282
3282
  var _ = "";
3283
3283
  (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (_ += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
3284
- var T = nt();
3285
- T ? _ += T : _ += Pe();
3284
+ var D = at();
3285
+ D ? _ += D : _ += Pe();
3286
3286
  var w;
3287
- e === null ? w = "null" : de(e) ? w = "array" : e !== void 0 && e.$$typeof === i ? (w = "<" + (k(e.type) || "Unknown") + " />", _ = " Did you accidentally export a JSX literal instead of a component?") : w = typeof e, p("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", w, _);
3287
+ e === null ? w = "null" : de(e) ? w = "array" : e !== void 0 && e.$$typeof === s ? (w = "<" + (k(e.type) || "Unknown") + " />", _ = " Did you accidentally export a JSX literal instead of a component?") : w = typeof e, p("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", w, _);
3288
3288
  }
3289
- var j = at(e, t, r, f, m);
3289
+ var j = nt(e, t, r, f, m);
3290
3290
  if (j == null)
3291
3291
  return j;
3292
- if (c) {
3292
+ if (l) {
3293
3293
  var B = t.children;
3294
3294
  if (B !== void 0)
3295
3295
  if (n)
@@ -3316,7 +3316,7 @@ React keys must be passed directly to JSX without using spread:
3316
3316
  <%s key={someKey} {...props} />`, ye, z, dt, z), Me[z + ye] = !0;
3317
3317
  }
3318
3318
  }
3319
- return e === u ? _t(j) : it(j), j;
3319
+ return e === u ? it(j) : _t(j), j;
3320
3320
  }
3321
3321
  }
3322
3322
  function st(e, t, r) {
@@ -3329,60 +3329,60 @@ React keys must be passed directly to JSX without using spread:
3329
3329
  xt.Fragment = u, xt.jsx = ct, xt.jsxs = ut;
3330
3330
  }()), xt;
3331
3331
  }
3332
- process.env.NODE_ENV === "production" ? Ft.exports = ta() : Ft.exports = ra();
3332
+ process.env.NODE_ENV === "production" ? Ft.exports = tn() : Ft.exports = rn();
3333
3333
  var Q = Ft.exports;
3334
- const aa = "_notice_13j98_2", na = "_error_13j98_11", oa = "_success_13j98_14", ia = "_remark_13j98_17", _a = "_copy_13j98_20", Ht = {
3335
- notice: aa,
3336
- error: na,
3337
- success: oa,
3338
- remark: ia,
3339
- copy: _a,
3334
+ const nn = "_notice_13j98_2", an = "_error_13j98_11", on = "_success_13j98_14", _n = "_remark_13j98_17", sn = "_copy_13j98_20", Ht = {
3335
+ notice: nn,
3336
+ error: an,
3337
+ success: on,
3338
+ remark: _n,
3339
+ copy: sn,
3340
3340
  "show-notice": "_show-notice_13j98_1",
3341
3341
  "hide-notice": "_hide-notice_13j98_1"
3342
3342
  };
3343
3343
  let Be = {};
3344
3344
  function bt({ data: a }) {
3345
- let [i, l] = W.useState("show");
3346
- W.useEffect(() => {
3345
+ let [s, c] = U.useState("show");
3346
+ U.useEffect(() => {
3347
3347
  a.hide && (setTimeout(function() {
3348
- l("hide");
3348
+ c("hide");
3349
3349
  }, 1800), setTimeout(function() {
3350
3350
  Be.del(a.key);
3351
3351
  }, 2500));
3352
3352
  }, [a.key]);
3353
- let u, v;
3353
+ let u, y;
3354
3354
  switch (a.type) {
3355
3355
  case "error":
3356
- u = /* @__PURE__ */ Q.jsx(pt.error, {}), v = "Ошибка:";
3356
+ u = /* @__PURE__ */ Q.jsx(pt.error, {}), y = "Ошибка:";
3357
3357
  break;
3358
3358
  case "success":
3359
- u = /* @__PURE__ */ Q.jsx(pt.success, {}), v = "Информация:";
3359
+ u = /* @__PURE__ */ Q.jsx(pt.success, {}), y = "Информация:";
3360
3360
  break;
3361
3361
  case "copy":
3362
- u = /* @__PURE__ */ Q.jsx(pt.success, {}), v = "Копирование:";
3362
+ u = /* @__PURE__ */ Q.jsx(pt.success, {}), y = "Копирование:";
3363
3363
  break;
3364
3364
  case "remark":
3365
- u = /* @__PURE__ */ Q.jsx(pt.success, {}), v = "Подсказка:";
3365
+ u = /* @__PURE__ */ Q.jsx(pt.success, {}), y = "Подсказка:";
3366
3366
  break;
3367
3367
  default:
3368
- u = /* @__PURE__ */ Q.jsx(pt.success, {}), v = "Предупреждение:";
3368
+ u = /* @__PURE__ */ Q.jsx(pt.success, {}), y = "Предупреждение:";
3369
3369
  break;
3370
3370
  }
3371
- return /* @__PURE__ */ Q.jsxs("li", { className: Ht[a.type], "data-status": i, children: [
3371
+ return /* @__PURE__ */ Q.jsxs("li", { className: Ht[a.type], "data-status": s, children: [
3372
3372
  u,
3373
- /* @__PURE__ */ Q.jsx("b", { children: v }),
3373
+ /* @__PURE__ */ Q.jsx("b", { children: y }),
3374
3374
  /* @__PURE__ */ Q.jsx("p", { children: a.text })
3375
3375
  ] });
3376
3376
  }
3377
- function sa({ data: a }) {
3378
- let [i, l] = W.useState("show");
3379
- return W.useEffect(() => {
3377
+ function ln({ data: a }) {
3378
+ let [s, c] = U.useState("show");
3379
+ return U.useEffect(() => {
3380
3380
  a.hide && (setTimeout(function() {
3381
- l("hide");
3381
+ c("hide");
3382
3382
  }, 1800), setTimeout(function() {
3383
3383
  Be.del(a.key);
3384
3384
  }, 2500));
3385
- }, [a.key]), /* @__PURE__ */ Q.jsx("li", { className: "item", "data-status": i, children: a.text });
3385
+ }, [a.key]), /* @__PURE__ */ Q.jsx("li", { className: "item", "data-status": s, children: a.text });
3386
3386
  }
3387
3387
  const pt = {};
3388
3388
  pt.error = () => /* @__PURE__ */ Q.jsxs("svg", { viewBox: "0 0 24 24", fill: "none", children: [
@@ -3419,54 +3419,54 @@ pt.success = () => /* @__PURE__ */ Q.jsxs("svg", { viewBox: "0 0 24 24", fill: "
3419
3419
  ] });
3420
3420
  var St;
3421
3421
  ((a) => {
3422
- function i() {
3423
- let [s, g] = W.useState([]);
3422
+ function s() {
3423
+ let [i, g] = U.useState([]);
3424
3424
  return Be.set = (o) => {
3425
- g([...s, o]);
3425
+ g([...i, o]);
3426
3426
  }, Be.del = (o) => {
3427
- g(s.filter((d) => d.key !== o));
3428
- }, s.length === 0 ? "" : /* @__PURE__ */ Q.jsx("ul", { className: Ht.notice, children: s.map((o) => o.item) });
3427
+ g(i.filter((d) => d.key !== o));
3428
+ }, i.length === 0 ? "" : /* @__PURE__ */ Q.jsx("ul", { className: Ht.notice, children: i.map((o) => o.item) });
3429
3429
  }
3430
- a.Init = i;
3431
- function l(s, g = !0) {
3432
- let o = Date.now(), d = { key: o, text: s, hide: g, type: "error" };
3430
+ a.Init = s;
3431
+ function c(i, g = !0) {
3432
+ let o = Date.now(), d = { key: o, text: i, hide: g, type: "error" };
3433
3433
  Be.set({
3434
3434
  item: /* @__PURE__ */ Q.jsx(bt, { data: d }, o),
3435
3435
  key: o
3436
3436
  });
3437
3437
  }
3438
- a.Error = l;
3439
- function u(s, g = !0) {
3440
- let o = Date.now(), d = { key: o, text: s, hide: g, type: "success" };
3438
+ a.Error = c;
3439
+ function u(i, g = !0) {
3440
+ let o = Date.now(), d = { key: o, text: i, hide: g, type: "success" };
3441
3441
  Be.set({
3442
3442
  item: /* @__PURE__ */ Q.jsx(bt, { data: d }, o),
3443
3443
  key: o
3444
3444
  });
3445
3445
  }
3446
3446
  a.Success = u;
3447
- function v(s, g = !0) {
3448
- let o = Date.now(), d = { key: o, hide: g, text: s };
3449
- Be.set({ item: /* @__PURE__ */ Q.jsx(sa, { data: d }, o), key: o });
3447
+ function y(i, g = !0) {
3448
+ let o = Date.now(), d = { key: o, hide: g, text: i };
3449
+ Be.set({ item: /* @__PURE__ */ Q.jsx(ln, { data: d }, o), key: o });
3450
3450
  }
3451
- a.Custom = v;
3452
- function C(s) {
3453
- let g = Date.now(), o = { key: g, hide: !0, ...s };
3451
+ a.Custom = y;
3452
+ function S(i) {
3453
+ let g = Date.now(), o = { key: g, hide: !0, ...i };
3454
3454
  Be.set({
3455
3455
  item: /* @__PURE__ */ Q.jsx(bt, { data: o }, g),
3456
3456
  key: g
3457
3457
  });
3458
3458
  }
3459
- a.Send = C;
3460
- function D(s, g = !0) {
3461
- let o = Date.now(), d = { key: o, text: s, hide: g, type: "remark" };
3459
+ a.Send = S;
3460
+ function P(i, g = !0) {
3461
+ let o = Date.now(), d = { key: o, text: i, hide: g, type: "remark" };
3462
3462
  Be.set({
3463
3463
  item: /* @__PURE__ */ Q.jsx(bt, { data: d }, o),
3464
3464
  key: o
3465
3465
  });
3466
3466
  }
3467
- a.Remark = D;
3468
- function x(s, g = !0) {
3469
- let o = Date.now(), d = { key: o, text: s, hide: g, type: "copy" };
3467
+ a.Remark = P;
3468
+ function x(i, g = !0) {
3469
+ let o = Date.now(), d = { key: o, text: i, hide: g, type: "copy" };
3470
3470
  Be.set({
3471
3471
  item: /* @__PURE__ */ Q.jsx(bt, { data: d }, o),
3472
3472
  key: o
@@ -3474,25 +3474,25 @@ var St;
3474
3474
  }
3475
3475
  a.Copy = x;
3476
3476
  })(St || (St = {}));
3477
- function Ra({
3477
+ function Rn({
3478
3478
  value: a = "",
3479
- onValue: i,
3480
- onSave: l,
3479
+ onValue: s,
3480
+ onSave: c,
3481
3481
  name: u,
3482
- format: v = "+_(___) ___-__-__",
3483
- placeholder: C = "",
3484
- title: D = "",
3482
+ format: y = "+_(___) ___-__-__",
3483
+ placeholder: S = "",
3484
+ title: P = "",
3485
3485
  error: x = "",
3486
- hide: s = !1,
3486
+ hide: i = !1,
3487
3487
  edit: g = !0,
3488
3488
  active: o = !0,
3489
3489
  after: d = "",
3490
3490
  show: b = !0,
3491
- view: S,
3491
+ view: C,
3492
3492
  className: F = ""
3493
3493
  }) {
3494
- g = g !== void 0 ? g : !0, o = o !== void 0 ? o : !0, s = !!(s && (a === "" || a === void 0)) && !(g && o), W.useRef(null);
3495
- let I = v, O = !0, p = 0, M = (h, k) => {
3494
+ g = g !== void 0 ? g : !0, o = o !== void 0 ? o : !0, i = !!(i && (a === "" || a === void 0)) && !(g && o), U.useRef(null);
3495
+ let M = y, E = !0, p = 0, I = (h, k) => {
3496
3496
  let $ = document.createRange(), Y = window.getSelection();
3497
3497
  $.setStart(k.childNodes[0], h), $.collapse(!0), Y.removeAllRanges(), Y.addRange($), k.focus();
3498
3498
  }, K = (h) => {
@@ -3502,13 +3502,13 @@ function Ra({
3502
3502
  });
3503
3503
  }, G = (h) => {
3504
3504
  let k = 0, $ = "", Y = h.replace(/\D/g, "");
3505
- Y === "" && (O = !0);
3506
- let X = Y.split(""), ie = "";
3505
+ Y === "" && (E = !0);
3506
+ let X = Y.split(""), oe = "";
3507
3507
  X.forEach((ge) => {
3508
- O && (ie += ge, O && (p = ("" + ie).length, I = v.replace(new RegExp("[0-9]", "g"), "_"), $ = ""), p > ("" + ie).length && (O = !0, I = v.replace(new RegExp("[0-9]", "g"), "_"), $ = ""));
3508
+ E && (oe += ge, E && (p = ("" + oe).length, M = y.replace(new RegExp("[0-9]", "g"), "_"), $ = ""), p > ("" + oe).length && (E = !0, M = y.replace(new RegExp("[0-9]", "g"), "_"), $ = ""));
3509
3509
  });
3510
- let se = I.replace(/\D/g, "");
3511
- return se.length >= Y.length && (Y = se), { q: I.replace(/[_\d]/g, function() {
3510
+ let se = M.replace(/\D/g, "");
3511
+ return se.length >= Y.length && (Y = se), { q: M.replace(/[_\d]/g, function() {
3512
3512
  return Y.charAt(k++) || "_";
3513
3513
  }), i: k, v: Y, f: $ };
3514
3514
  }, L = (h) => {
@@ -3519,107 +3519,107 @@ function Ra({
3519
3519
  function(k) {
3520
3520
  }
3521
3521
  );
3522
- }, q = G(a), E = (h) => {
3522
+ }, q = G(a), R = (h) => {
3523
3523
  let k = G(h.target.textContent);
3524
- h.target.textContent = k.q, k.i = k.q.lastIndexOf(k.v.substr(-1)), k.i < k.q.length && k.q !== I ? k.i++ : k.i = k.q.indexOf("_"), M(k.i, h.target), i && i({ value: k.q.replace(/\D/g, ""), name: u });
3525
- }, P = (h) => {
3524
+ h.target.textContent = k.q, k.i = k.q.lastIndexOf(k.v.substr(-1)), k.i < k.q.length && k.q !== M ? k.i++ : k.i = k.q.indexOf("_"), I(k.i, h.target), s && s({ value: k.q.replace(/\D/g, ""), name: u });
3525
+ }, T = (h) => {
3526
3526
  h.key === "Enter" && h.preventDefault();
3527
3527
  };
3528
- const U = (h) => {
3529
- te.Blur(h), l && l({
3528
+ const O = (h) => {
3529
+ ee.Blur(h), c && c({
3530
3530
  value: h.target.textContent.replace(/\D/g, ""),
3531
3531
  name: u
3532
3532
  });
3533
3533
  };
3534
- let R = {};
3535
- return g && o ? (R.edit = "true", R.contentEditable = te.ContentEditable) : R.contentEditable = "false", C && (R.placeholder = C), d && (R.after = d), s ? /* @__PURE__ */ y.jsx(y.Fragment, {}) : /* @__PURE__ */ y.jsx(
3534
+ let W = {};
3535
+ return g && o ? (W.edit = "true", W.contentEditable = ee.ContentEditable) : W.contentEditable = "false", S && (W.placeholder = S), d && (W.after = d), i ? /* @__PURE__ */ v.jsx(v.Fragment, {}) : /* @__PURE__ */ v.jsx(
3536
3536
  Le,
3537
3537
  {
3538
3538
  type: "input",
3539
- title: D,
3539
+ title: P,
3540
3540
  element_blok: { className: [F] },
3541
- element_input: { className: [ee.w] },
3542
- children: /* @__PURE__ */ y.jsx(
3541
+ element_input: { className: [ie.w] },
3542
+ children: /* @__PURE__ */ v.jsx(
3543
3543
  "div",
3544
3544
  {
3545
3545
  onPaste: K,
3546
- onInput: E,
3547
- onKeyDown: P,
3546
+ onInput: R,
3547
+ onKeyDown: T,
3548
3548
  onContextMenu: L,
3549
- onBlur: U,
3549
+ onBlur: O,
3550
3550
  suppressContentEditableWarning: !0,
3551
- ...R,
3551
+ ...W,
3552
3552
  children: q.q
3553
3553
  }
3554
3554
  )
3555
3555
  }
3556
3556
  );
3557
3557
  }
3558
- function Ea({
3558
+ function En({
3559
3559
  id: a,
3560
- value: i,
3561
- onValue: l,
3560
+ value: s,
3561
+ onValue: c,
3562
3562
  name: u,
3563
- placeholder: v = "",
3564
- title: C = "",
3565
- error: D = "",
3563
+ placeholder: y = "",
3564
+ title: S = "",
3565
+ error: P = "",
3566
3566
  hide: x = !1,
3567
- edit: s = !0,
3567
+ edit: i = !0,
3568
3568
  active: g = !0,
3569
3569
  after: o = "",
3570
3570
  show: d = !0,
3571
3571
  maxLength: b,
3572
- view: S,
3572
+ view: C,
3573
3573
  onSave: F,
3574
3574
  className: A = "",
3575
- isCopy: I = !0
3575
+ isCopy: M = !0
3576
3576
  }) {
3577
- let [O, p] = W.useState(!1);
3578
- O = s ? !0 : O;
3579
- let M = (E) => {
3580
- l == null || l({ value: E.target.innerText, name: u });
3581
- }, K = (E) => {
3582
- b && E.target.textContent.trim().length >= b && E.key !== "Backspace" && E.preventDefault(), E.key === "Enter" && E.preventDefault();
3583
- }, G = (E) => {
3584
- E.preventDefault(), navigator.clipboard.readText().then((P) => {
3577
+ let [E, p] = U.useState(!1);
3578
+ E = i ? !0 : E;
3579
+ let I = (R) => {
3580
+ c == null || c({ value: R.target.innerText, name: u });
3581
+ }, K = (R) => {
3582
+ b && R.target.textContent.trim().length >= b && R.key !== "Backspace" && R.preventDefault(), R.key === "Enter" && R.preventDefault();
3583
+ }, G = (R) => {
3584
+ R.preventDefault(), navigator.clipboard.readText().then((T) => {
3585
3585
  if (b) {
3586
- let U = E.target.textContent.length;
3587
- if (U >= b) return;
3588
- b -= U, P = P.slice(0, b);
3586
+ let O = R.target.textContent.length;
3587
+ if (O >= b) return;
3588
+ b -= O, T = T.slice(0, b);
3589
3589
  }
3590
3590
  window.document.execCommand(
3591
3591
  "insertText",
3592
3592
  !1,
3593
- P.replace(/(\r\n|\n|\r)/gm, " ")
3593
+ T.replace(/(\r\n|\n|\r)/gm, " ")
3594
3594
  );
3595
- }).catch((P) => {
3595
+ }).catch((T) => {
3596
3596
  });
3597
3597
  };
3598
- if (x) return /* @__PURE__ */ y.jsx(y.Fragment, {});
3599
- if (!(s && g) && !d) return "";
3598
+ if (x) return /* @__PURE__ */ v.jsx(v.Fragment, {});
3599
+ if (!(i && g) && !d) return "";
3600
3600
  const L = {};
3601
- v && (L.placeholder = v), s && g && (L.edit = ""), O && (L.open = "");
3602
- const q = (E) => {
3603
- te.Blur(E), F == null || F({ value: E.target.textContent.trim(), name: u });
3601
+ y && (L.placeholder = y), i && g && (L.edit = ""), E && (L.open = "");
3602
+ const q = (R) => {
3603
+ ee.Blur(R), F == null || F({ value: R.target.textContent.trim(), name: u });
3604
3604
  };
3605
- return /* @__PURE__ */ y.jsx(
3605
+ return /* @__PURE__ */ v.jsx(
3606
3606
  Le,
3607
3607
  {
3608
3608
  type: "note",
3609
- title: C,
3609
+ title: S,
3610
3610
  element_blok: { className: [A] },
3611
- element_input: { className: [ee.n] },
3612
- children: /* @__PURE__ */ y.jsx(
3611
+ element_input: { className: [ie.n] },
3612
+ children: /* @__PURE__ */ v.jsx(
3613
3613
  "div",
3614
3614
  {
3615
3615
  onPaste: G,
3616
- onInput: M,
3616
+ onInput: I,
3617
3617
  onBlur: q,
3618
3618
  onKeyDown: K,
3619
- contentEditable: s && g ? te.ContentEditable : "false",
3619
+ contentEditable: i && g ? ee.ContentEditable : "false",
3620
3620
  suppressContentEditableWarning: !0,
3621
3621
  ...L,
3622
- children: i
3622
+ children: s
3623
3623
  }
3624
3624
  )
3625
3625
  }
@@ -5007,162 +5007,162 @@ const Ot = {
5007
5007
  mask: "+1939(___) ___-__-__"
5008
5008
  }
5009
5009
  };
5010
- function Oa({
5010
+ function On({
5011
5011
  value: a,
5012
- onValue: i,
5013
- onSave: l,
5012
+ onValue: s,
5013
+ onSave: c,
5014
5014
  name: u,
5015
- placeholder: v = "",
5016
- title: C = "",
5017
- error: D = "",
5015
+ placeholder: y = "",
5016
+ title: S = "",
5017
+ error: P = "",
5018
5018
  hide: x = !1,
5019
- edit: s = !0,
5019
+ edit: i = !0,
5020
5020
  active: g = !0,
5021
5021
  after: o = "",
5022
5022
  show: d = !0,
5023
5023
  view: b,
5024
- className: S = ""
5024
+ className: C = ""
5025
5025
  }) {
5026
- s = s !== void 0 ? s : !0, g = g !== void 0 ? g : !0, x = !!(x && (a === "" || a === void 0)) && !(s && g), W.useRef(null);
5027
- let A = "+_(___) ___-__-__", I = !0, O = 0, p = (R, h) => {
5026
+ i = i !== void 0 ? i : !0, g = g !== void 0 ? g : !0, x = !!(x && (a === "" || a === void 0)) && !(i && g), U.useRef(null);
5027
+ let A = "+_(___) ___-__-__", M = !0, E = 0, p = (W, h) => {
5028
5028
  let k = document.createRange(), $ = window.getSelection();
5029
- k.setStart(h.childNodes[0], R), k.collapse(!0), $.removeAllRanges(), $.addRange(k), h.focus();
5030
- }, M = (R) => {
5031
- let h = G(R.target.textContent);
5032
- 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 });
5033
- }, K = (R) => {
5034
- R.preventDefault(), navigator.clipboard.readText().then((h) => {
5029
+ k.setStart(h.childNodes[0], W), k.collapse(!0), $.removeAllRanges(), $.addRange(k), h.focus();
5030
+ }, I = (W) => {
5031
+ let h = G(W.target.textContent);
5032
+ W.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, W.target), s && s({ value: h.q.replace(/\D/g, ""), name: u });
5033
+ }, K = (W) => {
5034
+ W.preventDefault(), navigator.clipboard.readText().then((h) => {
5035
5035
  window.document.execCommand("insertText", !1, h);
5036
5036
  }).catch((h) => {
5037
5037
  });
5038
- }, G = (R) => {
5039
- let h = 0, k = "", $ = R.replace(/\D/g, "");
5040
- $ === "" && (I = !0);
5038
+ }, G = (W) => {
5039
+ let h = 0, k = "", $ = W.replace(/\D/g, "");
5040
+ $ === "" && (M = !0);
5041
5041
  let Y = $.split(""), X = "";
5042
5042
  Y.forEach((ve) => {
5043
- I && (X += ve, Ot[X] !== void 0 && I ? (I = !1, A = Ot[X].mask.replace(new RegExp("[0-9]", "g"), "_"), k = Ot[X].code) : (I && (O = ("" + X).length, A = `+${X}_(___) ___-__-__`.replace(
5043
+ M && (X += ve, Ot[X] !== void 0 && M ? (M = !1, A = Ot[X].mask.replace(new RegExp("[0-9]", "g"), "_"), k = Ot[X].code) : (M && (E = ("" + X).length, A = `+${X}_(___) ___-__-__`.replace(
5044
5044
  new RegExp("[0-9]", "g"),
5045
5045
  "_"
5046
- ), k = ""), O > ("" + X).length && (I = !0, A = `+${X}_(___) ___-__-__`.replace(
5046
+ ), k = ""), E > ("" + X).length && (M = !0, A = `+${X}_(___) ___-__-__`.replace(
5047
5047
  new RegExp("[0-9]", "g"),
5048
5048
  "_"
5049
5049
  ), k = "")));
5050
5050
  });
5051
- let ie = A.replace(/\D/g, "");
5052
- return ie.length >= $.length && ($ = ie), { q: A.replace(/[_\d]/g, function() {
5051
+ let oe = A.replace(/\D/g, "");
5052
+ return oe.length >= $.length && ($ = oe), { q: A.replace(/[_\d]/g, function() {
5053
5053
  return $.charAt(h++) || "_";
5054
5054
  }), i: h, v: $, f: k };
5055
- }, L = (R) => {
5056
- R.preventDefault(), navigator.clipboard.writeText(R.target.textContent.replace(/\D/g, "")).then(
5055
+ }, L = (W) => {
5056
+ W.preventDefault(), navigator.clipboard.writeText(W.target.textContent.replace(/\D/g, "")).then(
5057
5057
  function() {
5058
5058
  St.Copy("Данные в буфер обмене");
5059
5059
  },
5060
5060
  function(h) {
5061
5061
  }
5062
5062
  );
5063
- }, q = G(a), E = (R) => {
5064
- R.key === "Enter" && R.preventDefault();
5063
+ }, q = G(a), R = (W) => {
5064
+ W.key === "Enter" && W.preventDefault();
5065
5065
  };
5066
- const P = (R) => {
5067
- te.Blur(R), l && l({
5068
- value: R.target.textContent.replace(/\D/g, ""),
5066
+ const T = (W) => {
5067
+ ee.Blur(W), c && c({
5068
+ value: W.target.textContent.replace(/\D/g, ""),
5069
5069
  name: u
5070
5070
  });
5071
5071
  };
5072
- let U = {};
5073
- return s && g ? (U.edit = "true", U.contentEditable = te.ContentEditable) : U.contentEditable = "false", v && (U.placeholder = v), x ? /* @__PURE__ */ y.jsx(y.Fragment, {}) : /* @__PURE__ */ y.jsx(
5072
+ let O = {};
5073
+ return i && g ? (O.edit = "true", O.contentEditable = ee.ContentEditable) : O.contentEditable = "false", y && (O.placeholder = y), x ? /* @__PURE__ */ v.jsx(v.Fragment, {}) : /* @__PURE__ */ v.jsx(
5074
5074
  Le,
5075
5075
  {
5076
5076
  type: "input",
5077
- title: C,
5078
- element_blok: { className: S },
5079
- element_input: { className: [ee.w] },
5080
- children: /* @__PURE__ */ y.jsx(
5077
+ title: S,
5078
+ element_blok: { className: C },
5079
+ element_input: { className: [ie.w] },
5080
+ children: /* @__PURE__ */ v.jsx(
5081
5081
  "div",
5082
5082
  {
5083
5083
  onPaste: K,
5084
- onInput: M,
5085
- onKeyDown: E,
5084
+ onInput: I,
5085
+ onKeyDown: R,
5086
5086
  onContextMenu: L,
5087
- onBlur: P,
5087
+ onBlur: T,
5088
5088
  suppressContentEditableWarning: !0,
5089
- ...U,
5089
+ ...O,
5090
5090
  children: q.q
5091
5091
  }
5092
5092
  )
5093
5093
  }
5094
5094
  );
5095
5095
  }
5096
- const la = "_o_1c9e1_1", ca = "_c_1c9e1_11", Rt = {
5097
- o: la,
5098
- c: ca
5096
+ const cn = "_o_1c9e1_1", un = "_c_1c9e1_11", Rt = {
5097
+ o: cn,
5098
+ c: un
5099
5099
  };
5100
- function Ta({
5100
+ function Tn({
5101
5101
  title: a,
5102
- error: i,
5103
- edit: l = !0,
5102
+ error: s,
5103
+ edit: c = !0,
5104
5104
  active: u = !0,
5105
- className: v,
5106
- placeholder: C,
5107
- max: D,
5105
+ className: y,
5106
+ placeholder: S,
5107
+ max: P,
5108
5108
  min: x,
5109
- onValue: s,
5109
+ onValue: i,
5110
5110
  icon: g,
5111
5111
  name: o,
5112
5112
  value: d,
5113
5113
  after: b
5114
5114
  }) {
5115
- let [S, F] = W.useState(
5115
+ let [C, F] = U.useState(
5116
5116
  d === void 0 ? /* @__PURE__ */ new Date() : d
5117
5117
  );
5118
- const A = W.useRef(null), [I, O] = W.useState(!1);
5119
- let p = !l && u;
5120
- W.useEffect(() => {
5118
+ const A = U.useRef(null), [M, E] = U.useState(!1);
5119
+ let p = !c && u;
5120
+ U.useEffect(() => {
5121
5121
  F(d === void 0 ? /* @__PURE__ */ new Date() : d);
5122
5122
  }, [d]);
5123
- let M = (L) => {
5124
- F(L), s == null || s({ value: L, name: o });
5123
+ let I = (L) => {
5124
+ F(L), i == null || i({ value: L, name: o });
5125
5125
  }, K = (L) => {
5126
- const q = L.target.getBoundingClientRect(), E = q.left, P = q.bottom, U = q.top;
5127
- A.position = { x: E, b: P, y: U }, O(!0);
5126
+ const q = L.target.getBoundingClientRect(), R = q.left, T = q.bottom, O = q.top;
5127
+ A.position = { x: R, b: T, y: O }, E(!0);
5128
5128
  };
5129
5129
  const G = {};
5130
- return C && (G.placeholder = C), p ? /* @__PURE__ */ y.jsx(y.Fragment, {}) : /* @__PURE__ */ y.jsxs(y.Fragment, { children: [
5131
- g ? g() : /* @__PURE__ */ y.jsxs(
5130
+ return S && (G.placeholder = S), p ? /* @__PURE__ */ v.jsx(v.Fragment, {}) : /* @__PURE__ */ v.jsxs(v.Fragment, { children: [
5131
+ g ? g() : /* @__PURE__ */ v.jsxs(
5132
5132
  "dl",
5133
5133
  {
5134
5134
  "data-field": "date",
5135
- className: [ee.l, v].filter((L) => L !== void 0).join(" "),
5135
+ className: [ie.l, y].filter((L) => L !== void 0).join(" "),
5136
5136
  children: [
5137
- a ? /* @__PURE__ */ y.jsx("dt", { className: ee.t, children: a }) : "",
5138
- /* @__PURE__ */ y.jsxs(
5137
+ a ? /* @__PURE__ */ v.jsx("dt", { className: ie.t, children: a }) : "",
5138
+ /* @__PURE__ */ v.jsxs(
5139
5139
  "dd",
5140
5140
  {
5141
5141
  onClick: K,
5142
- className: [ee.f, ee.w].join(" "),
5142
+ className: [ie.f, ie.w].join(" "),
5143
5143
  ...G,
5144
- "data-edit": (l && u) + "",
5144
+ "data-edit": (c && u) + "",
5145
5145
  children: [
5146
- fa(S, "dd.mm.yyyy"),
5146
+ pn(C, "dd.mm.yyyy"),
5147
5147
  b
5148
5148
  ]
5149
5149
  }
5150
5150
  ),
5151
- i && /* @__PURE__ */ y.jsx("em", { children: i })
5151
+ s && /* @__PURE__ */ v.jsx("em", { children: s })
5152
5152
  ]
5153
5153
  }
5154
5154
  ),
5155
- I && Mt(
5156
- /* @__PURE__ */ y.jsx(
5157
- ua,
5155
+ M && Mt(
5156
+ /* @__PURE__ */ v.jsx(
5157
+ dn,
5158
5158
  {
5159
5159
  position: A.position,
5160
- onValue: M,
5161
- date: S,
5162
- max: D,
5160
+ onValue: I,
5161
+ date: C,
5162
+ max: P,
5163
5163
  min: x,
5164
- onOpen: O,
5165
- className: v
5164
+ onOpen: E,
5165
+ className: y
5166
5166
  },
5167
5167
  (/* @__PURE__ */ new Date()).getTime()
5168
5168
  ),
@@ -5170,70 +5170,70 @@ function Ta({
5170
5170
  )
5171
5171
  ] });
5172
5172
  }
5173
- const ua = ({
5173
+ const dn = ({
5174
5174
  date: a,
5175
- onValue: i,
5176
- position: l,
5175
+ onValue: s,
5176
+ position: c,
5177
5177
  max: u,
5178
- min: v,
5179
- className: C,
5180
- onOpen: D
5178
+ min: y,
5179
+ className: S,
5180
+ onOpen: P
5181
5181
  }) => {
5182
- let x = /* @__PURE__ */ new Date(), s = new Date(a), g = {
5182
+ let x = /* @__PURE__ */ new Date(), i = new Date(a), g = {
5183
5183
  y: parseInt(x.getFullYear()),
5184
5184
  d: parseInt(x.getDate()),
5185
5185
  m: parseInt(x.getMonth()) + 1
5186
5186
  }, o = {
5187
- y: parseInt(s.getFullYear()),
5188
- d: parseInt(s.getDate()),
5189
- m: parseInt(s.getMonth()) + 1
5190
- }, [d, b] = W.useState({ y: o.y, m: o.m }), S = (h) => {
5187
+ y: parseInt(i.getFullYear()),
5188
+ d: parseInt(i.getDate()),
5189
+ m: parseInt(i.getMonth()) + 1
5190
+ }, [d, b] = U.useState({ y: o.y, m: o.m }), C = (h) => {
5191
5191
  let k = h.getDay();
5192
5192
  return k === 0 && (k = 7), k - 1;
5193
- }, F = ["пн", "вт", "ср", "чт", "пт", "сб", "вс"], A = d.m - 1, I = new Date(d.y, A), O = [];
5194
- for (let h = 0; h < S(I); h++)
5195
- O.push(0);
5196
- for (; I.getMonth() === A; )
5197
- O.push(I.getDate()), I.setDate(I.getDate() + 1);
5193
+ }, F = ["пн", "вт", "ср", "чт", "пт", "сб", "вс"], A = d.m - 1, M = new Date(d.y, A), E = [];
5194
+ for (let h = 0; h < C(M); h++)
5195
+ E.push(0);
5196
+ for (; M.getMonth() === A; )
5197
+ E.push(M.getDate()), M.setDate(M.getDate() + 1);
5198
5198
  let p = () => {
5199
- D(!1);
5200
- }, M = () => {
5199
+ P(!1);
5200
+ }, I = () => {
5201
5201
  L(d.m + 1, d.y);
5202
5202
  }, K = () => {
5203
5203
  L(d.m - 1, d.y);
5204
5204
  }, G = (h) => {
5205
- i(
5205
+ s(
5206
5206
  d.y + "-" + Gt(2, d.m) + "-" + Gt(2, h)
5207
5207
  ), p();
5208
5208
  }, L = (h, k) => {
5209
5209
  k = h > 12 ? k + 1 : h < 1 ? k - 1 : k, h = h > 12 ? 1 : h < 1 ? 12 : h, b({ y: k, m: h });
5210
5210
  };
5211
- const q = (h) => g.y === d.y && g.m === d.m && g.d === h ? { "data-active": "true" } : {}, E = (h) => o.y === d.y && o.m === d.m && o.d === h ? { "data-current": "true" } : {}, P = (h) => {
5211
+ const q = (h) => g.y === d.y && g.m === d.m && g.d === h ? { "data-active": "true" } : {}, R = (h) => o.y === d.y && o.m === d.m && o.d === h ? { "data-current": "true" } : {}, T = (h) => {
5212
5212
  let k = !0;
5213
5213
  if (u) {
5214
5214
  let $ = u.getTime(), Y = new Date(d.y, d.m - 1, h).getTime();
5215
5215
  $ < Y && (k = !1);
5216
5216
  }
5217
- if (v) {
5218
- let $ = v.getTime(), Y = new Date(d.y, d.m - 1, h).getTime();
5217
+ if (y) {
5218
+ let $ = y.getTime(), Y = new Date(d.y, d.m - 1, h).getTime();
5219
5219
  $ > Y && (k = !1);
5220
5220
  }
5221
5221
  return k;
5222
5222
  };
5223
- let U = window.innerHeight - l.y < 320 ? l.y - 312 : l.b, R = window.innerWidth - l.x < 265 ? l.x - 235 : l.x;
5224
- return /* @__PURE__ */ y.jsxs(y.Fragment, { children: [
5225
- /* @__PURE__ */ y.jsx("div", { className: Rt.o, onClick: () => p() }),
5226
- /* @__PURE__ */ y.jsxs(
5223
+ let O = window.innerHeight - c.y < 320 ? c.y - 312 : c.b, W = window.innerWidth - c.x < 265 ? c.x - 235 : c.x;
5224
+ return /* @__PURE__ */ v.jsxs(v.Fragment, { children: [
5225
+ /* @__PURE__ */ v.jsx("div", { className: Rt.o, onClick: () => p() }),
5226
+ /* @__PURE__ */ v.jsxs(
5227
5227
  "div",
5228
5228
  {
5229
5229
  className: [
5230
5230
  Rt.c,
5231
- C && C + "-backdrop"
5231
+ S && S + "-backdrop"
5232
5232
  ].join(" "),
5233
- style: { top: U + "px", left: R + "px" },
5233
+ style: { top: O + "px", left: W + "px" },
5234
5234
  children: [
5235
- /* @__PURE__ */ y.jsxs("s", { children: [
5236
- /* @__PURE__ */ y.jsx("i", { onClick: K, children: /* @__PURE__ */ y.jsx(
5235
+ /* @__PURE__ */ v.jsxs("s", { children: [
5236
+ /* @__PURE__ */ v.jsx("i", { onClick: K, children: /* @__PURE__ */ v.jsx(
5237
5237
  "svg",
5238
5238
  {
5239
5239
  width: "16",
@@ -5241,15 +5241,15 @@ const ua = ({
5241
5241
  fill: "currentColor",
5242
5242
  viewBox: "0 0 24 24",
5243
5243
  xmlns: "http://www.w3.org/2000/svg",
5244
- children: /* @__PURE__ */ y.jsx("path", { d: "m15.09 4.594-7.646 6.553a1.126 1.126 0 0 0 0 1.708l7.647 6.552c.73.625 1.857.107 1.857-.854V5.447c0-.961-1.127-1.48-1.857-.853Z" })
5244
+ children: /* @__PURE__ */ v.jsx("path", { d: "m15.09 4.594-7.646 6.553a1.126 1.126 0 0 0 0 1.708l7.647 6.552c.73.625 1.857.107 1.857-.854V5.447c0-.961-1.127-1.48-1.857-.853Z" })
5245
5245
  }
5246
5246
  ) }),
5247
- /* @__PURE__ */ y.jsxs("h2", { children: [
5248
- da(d.m).name,
5247
+ /* @__PURE__ */ v.jsxs("h2", { children: [
5248
+ fn(d.m).name,
5249
5249
  " ",
5250
5250
  d.y
5251
5251
  ] }),
5252
- /* @__PURE__ */ y.jsx("i", { onClick: M, children: /* @__PURE__ */ y.jsx(
5252
+ /* @__PURE__ */ v.jsx("i", { onClick: I, children: /* @__PURE__ */ v.jsx(
5253
5253
  "svg",
5254
5254
  {
5255
5255
  width: "16",
@@ -5257,28 +5257,28 @@ const ua = ({
5257
5257
  fill: "currentColor",
5258
5258
  viewBox: "0 0 24 24",
5259
5259
  xmlns: "http://www.w3.org/2000/svg",
5260
- children: /* @__PURE__ */ y.jsx("path", { d: "m8.91 19.406 7.646-6.552a1.125 1.125 0 0 0 0-1.709L8.91 4.593c-.73-.625-1.857-.107-1.857.854v13.107c0 .96 1.127 1.479 1.857.852Z" })
5260
+ children: /* @__PURE__ */ v.jsx("path", { d: "m8.91 19.406 7.646-6.552a1.125 1.125 0 0 0 0-1.709L8.91 4.593c-.73-.625-1.857-.107-1.857.854v13.107c0 .96 1.127 1.479 1.857.852Z" })
5261
5261
  }
5262
5262
  ) })
5263
5263
  ] }),
5264
- /* @__PURE__ */ y.jsxs("div", { "grid-calendar": "", children: [
5265
- F.map((h, k) => /* @__PURE__ */ y.jsx("p", { children: h }, "v" + k)),
5266
- O.map((h, k) => /* @__PURE__ */ y.jsx("span", { children: h !== 0 && P(h) ? /* @__PURE__ */ y.jsx(
5264
+ /* @__PURE__ */ v.jsxs("div", { "grid-calendar": "", children: [
5265
+ F.map((h, k) => /* @__PURE__ */ v.jsx("p", { children: h }, "v" + k)),
5266
+ E.map((h, k) => /* @__PURE__ */ v.jsx("span", { children: h !== 0 && T(h) ? /* @__PURE__ */ v.jsx(
5267
5267
  "b",
5268
5268
  {
5269
5269
  ...q(h),
5270
- ...E(h),
5270
+ ...R(h),
5271
5271
  onClick: () => G(h),
5272
5272
  children: h
5273
5273
  }
5274
- ) : /* @__PURE__ */ y.jsx("p", { ...q(h), ...E(h), children: h !== 0 ? h : "" }) }, k))
5274
+ ) : /* @__PURE__ */ v.jsx("p", { ...q(h), ...R(h), children: h !== 0 ? h : "" }) }, k))
5275
5275
  ] })
5276
5276
  ]
5277
5277
  }
5278
5278
  )
5279
5279
  ] });
5280
5280
  };
5281
- function da(a) {
5281
+ function fn(a) {
5282
5282
  return a = typeof a == "number" ? a : new Date(a).getMonth() + 1, {
5283
5283
  1: { val: "01", name: "Январь", names: "Января", abc: "Янв" },
5284
5284
  2: { val: "02", name: "Февраль", names: "Февраля", abc: "Февр" },
@@ -5294,14 +5294,14 @@ function da(a) {
5294
5294
  12: { val: "12", name: "Декабрь", names: "Декабря", abc: "Дек" }
5295
5295
  }[a];
5296
5296
  }
5297
- function Gt(a, i) {
5298
- let l = i + "";
5299
- for (; l.length < a; ) l = "0" + l;
5300
- return l;
5297
+ function Gt(a, s) {
5298
+ let c = s + "";
5299
+ for (; c.length < a; ) c = "0" + c;
5300
+ return c;
5301
5301
  }
5302
- function fa(a, i) {
5303
- i === void 0 ? (i = a, a = /* @__PURE__ */ new Date()) : a = new Date(a);
5304
- let l = {
5302
+ function pn(a, s) {
5303
+ s === void 0 ? (s = a, a = /* @__PURE__ */ new Date()) : a = new Date(a);
5304
+ let c = {
5305
5305
  yyyy: a.getFullYear(),
5306
5306
  yy: ("" + a.getFullYear()).slice(-2),
5307
5307
  mm: ("0" + (a.getMonth() + 1)).slice(-2),
@@ -5312,59 +5312,49 @@ function fa(a, i) {
5312
5312
  __: "      ",
5313
5313
  _: "    "
5314
5314
  };
5315
- for (const u in l)
5316
- i = i.replace(u, l[u]);
5317
- return i;
5315
+ for (const u in c)
5316
+ s = s.replace(u, c[u]);
5317
+ return s;
5318
5318
  }
5319
- function Da({
5319
+ function Dn({
5320
5320
  value: a,
5321
- onValue: i,
5322
- name: l,
5321
+ onValue: s,
5322
+ name: c,
5323
5323
  error: u,
5324
- icon: v,
5325
- edit: C = !0,
5326
- active: D = !0,
5324
+ icon: y,
5325
+ edit: S = !0,
5326
+ active: P = !0,
5327
5327
  title: x,
5328
- placeholder: s = "",
5328
+ placeholder: i = "",
5329
5329
  className: g
5330
5330
  }) {
5331
- let [o, d] = W.useState(a);
5332
- const b = W.useRef(null), [S, F] = W.useState(!1);
5333
- W.useEffect(() => {
5331
+ let [o, d] = U.useState(a);
5332
+ const b = U.useRef(null), [C, F] = U.useState(!1);
5333
+ U.useEffect(() => {
5334
5334
  d(a);
5335
5335
  }, [a]);
5336
5336
  let A = (p) => {
5337
- d(p), i && i({ value: p, name: l });
5338
- }, I = (p) => {
5339
- if (!C || !D) return;
5340
- const M = p.target.getBoundingClientRect(), K = M.left, G = M.top;
5337
+ d(p), s && s({ value: p, name: c });
5338
+ }, M = (p) => {
5339
+ if (!S || !P) return;
5340
+ const I = p.target.getBoundingClientRect(), K = I.left, G = I.top;
5341
5341
  b.position = { x: K, y: G }, F(!0);
5342
5342
  };
5343
- const O = {};
5344
- return s && (O.placeholder = s), v || /* @__PURE__ */ y.jsxs(y.Fragment, { children: [
5345
- /* @__PURE__ */ y.jsxs(
5346
- "dl",
5343
+ const E = {};
5344
+ return i && (E.placeholder = i), y || /* @__PURE__ */ v.jsxs(v.Fragment, { children: [
5345
+ /* @__PURE__ */ v.jsx(
5346
+ Le,
5347
5347
  {
5348
- "data-field": "date",
5349
- className: [ee.l, g].filter((p) => p !== void 0).join(" "),
5350
- children: [
5351
- x ? /* @__PURE__ */ y.jsx("dt", { className: ee.t, children: x }) : "",
5352
- /* @__PURE__ */ y.jsx(
5353
- "dd",
5354
- {
5355
- onClick: I,
5356
- ...O,
5357
- className: [ee.f, ee.w].join(" "),
5358
- children: ma(o, "mm.yyyy")
5359
- }
5360
- ),
5361
- u && /* @__PURE__ */ y.jsx("em", { children: u })
5362
- ]
5348
+ type: "date",
5349
+ title: x,
5350
+ element_blok: { className: [g] },
5351
+ element_input: { className: [ie.w] },
5352
+ children: /* @__PURE__ */ v.jsx("div", { onClick: M, ...E, children: a })
5363
5353
  }
5364
5354
  ),
5365
- S && Mt(
5366
- /* @__PURE__ */ y.jsx(
5367
- pa,
5355
+ C && Mt(
5356
+ /* @__PURE__ */ v.jsx(
5357
+ mn,
5368
5358
  {
5369
5359
  position: b.position,
5370
5360
  onValue: A,
@@ -5377,27 +5367,27 @@ function Da({
5377
5367
  )
5378
5368
  ] });
5379
5369
  }
5380
- const pa = ({ onOpen: a, date: i, onValue: l, position: u }) => {
5381
- let v = /* @__PURE__ */ new Date(), C = new Date(i), D = {
5382
- y: parseInt(v.getFullYear()),
5383
- m: parseInt(v.getMonth()) + 1
5370
+ const mn = ({ onOpen: a, date: s, onValue: c, position: u }) => {
5371
+ let y = /* @__PURE__ */ new Date(), S = new Date(s), P = {
5372
+ y: parseInt(y.getFullYear()),
5373
+ m: parseInt(y.getMonth()) + 1
5384
5374
  }, x = {
5385
- y: parseInt(C.getFullYear()),
5386
- m: parseInt(C.getMonth()) + 1
5387
- }, [s, g] = W.useState(x.y), o = () => {
5375
+ y: parseInt(S.getFullYear()),
5376
+ m: parseInt(S.getMonth()) + 1
5377
+ }, [i, g] = U.useState(x.y), o = () => {
5388
5378
  a(!1);
5389
5379
  }, d = () => {
5390
- g(s + 1);
5380
+ g(i + 1);
5391
5381
  }, b = () => {
5392
- g(s - 1);
5393
- }, S = (p) => {
5394
- l(s + "-" + ya(2, p)), o();
5395
- }, F = (p) => D.y === x.y && D.m === p ? "_FFEB3B" : "", A = Array(12).fill("").map((p, M) => M + 1), I = window.innerHeight - u.y + 33 < 320 ? u.y - 312 : u.y + 33, O = window.innerWidth - u.x < 265 ? u.x - 235 : u.x;
5396
- return /* @__PURE__ */ y.jsxs(y.Fragment, { children: [
5397
- /* @__PURE__ */ y.jsx("div", { className: Rt.o, onClick: o }),
5398
- /* @__PURE__ */ y.jsxs("div", { className: Rt.c, style: { top: I + "px", left: O + "px" }, children: [
5399
- /* @__PURE__ */ y.jsxs("s", { children: [
5400
- /* @__PURE__ */ y.jsx("i", { onClick: b, children: /* @__PURE__ */ y.jsx(
5382
+ g(i - 1);
5383
+ }, C = (p) => {
5384
+ c(i + "-" + yn(2, p)), o();
5385
+ }, F = (p) => P.y === x.y && P.m === p ? "_FFEB3B" : "", A = Array(12).fill("").map((p, I) => I + 1), M = window.innerHeight - u.y + 33 < 320 ? u.y - 312 : u.y + 33, E = window.innerWidth - u.x < 265 ? u.x - 235 : u.x;
5386
+ return /* @__PURE__ */ v.jsxs(v.Fragment, { children: [
5387
+ /* @__PURE__ */ v.jsx("div", { className: Rt.o, onClick: o }),
5388
+ /* @__PURE__ */ v.jsxs("div", { className: Rt.c, style: { top: M + "px", left: E + "px" }, children: [
5389
+ /* @__PURE__ */ v.jsxs("s", { children: [
5390
+ /* @__PURE__ */ v.jsx("i", { onClick: b, children: /* @__PURE__ */ v.jsx(
5401
5391
  "svg",
5402
5392
  {
5403
5393
  width: "16",
@@ -5405,11 +5395,11 @@ const pa = ({ onOpen: a, date: i, onValue: l, position: u }) => {
5405
5395
  fill: "currentColor",
5406
5396
  viewBox: "0 0 24 24",
5407
5397
  xmlns: "http://www.w3.org/2000/svg",
5408
- children: /* @__PURE__ */ y.jsx("path", { d: "m15.09 4.594-7.646 6.553a1.126 1.126 0 0 0 0 1.708l7.647 6.552c.73.625 1.857.107 1.857-.854V5.447c0-.961-1.127-1.48-1.857-.853Z" })
5398
+ children: /* @__PURE__ */ v.jsx("path", { d: "m15.09 4.594-7.646 6.553a1.126 1.126 0 0 0 0 1.708l7.647 6.552c.73.625 1.857.107 1.857-.854V5.447c0-.961-1.127-1.48-1.857-.853Z" })
5409
5399
  }
5410
5400
  ) }),
5411
- /* @__PURE__ */ y.jsx("h2", { children: s }),
5412
- /* @__PURE__ */ y.jsx("i", { onClick: d, children: /* @__PURE__ */ y.jsx(
5401
+ /* @__PURE__ */ v.jsx("h2", { children: i }),
5402
+ /* @__PURE__ */ v.jsx("i", { onClick: d, children: /* @__PURE__ */ v.jsx(
5413
5403
  "svg",
5414
5404
  {
5415
5405
  width: "16",
@@ -5417,47 +5407,30 @@ const pa = ({ onOpen: a, date: i, onValue: l, position: u }) => {
5417
5407
  fill: "currentColor",
5418
5408
  viewBox: "0 0 24 24",
5419
5409
  xmlns: "http://www.w3.org/2000/svg",
5420
- children: /* @__PURE__ */ y.jsx("path", { d: "m8.91 19.406 7.646-6.552a1.125 1.125 0 0 0 0-1.709L8.91 4.593c-.73-.625-1.857-.107-1.857.854v13.107c0 .96 1.127 1.479 1.857.852Z" })
5410
+ children: /* @__PURE__ */ v.jsx("path", { d: "m8.91 19.406 7.646-6.552a1.125 1.125 0 0 0 0-1.709L8.91 4.593c-.73-.625-1.857-.107-1.857.854v13.107c0 .96 1.127 1.479 1.857.852Z" })
5421
5411
  }
5422
5412
  ) })
5423
5413
  ] }),
5424
- /* @__PURE__ */ y.jsx("div", { "grid-month": "", children: A.map((p, M) => /* @__PURE__ */ y.jsx(
5414
+ /* @__PURE__ */ v.jsx("div", { "grid-month": "", children: A.map((p, I) => /* @__PURE__ */ v.jsx(
5425
5415
  "span",
5426
5416
  {
5427
5417
  onClick: () => {
5428
- S(p);
5418
+ C(p);
5429
5419
  },
5430
5420
  color: F(p),
5431
- children: /* @__PURE__ */ y.jsx("b", { children: va(p).abc })
5421
+ children: /* @__PURE__ */ v.jsx("b", { children: vn(p).abc })
5432
5422
  },
5433
- M
5423
+ I
5434
5424
  )) })
5435
5425
  ] })
5436
5426
  ] });
5437
5427
  };
5438
- function ma(a, i) {
5439
- i === void 0 ? (i = a, a = /* @__PURE__ */ new Date()) : a = new Date(a);
5440
- let l = {
5441
- yyyy: a.getFullYear(),
5442
- yy: ("" + a.getFullYear()).slice(-2),
5443
- mm: ("0" + (a.getMonth() + 1)).slice(-2),
5444
- dd: ("0" + a.getDate()).slice(-2),
5445
- HH: ("0" + a.getHours()).slice(-2),
5446
- MM: ("0" + a.getMinutes()).slice(-2),
5447
- SS: ("0" + a.getSeconds()).slice(-2),
5448
- __: "      ",
5449
- _: "    "
5450
- };
5451
- for (const u in l)
5452
- i = i.replace(u, l[u]);
5453
- return i;
5428
+ function yn(a, s) {
5429
+ let c = s + "";
5430
+ for (; c.length < a; ) c = "0" + c;
5431
+ return c;
5454
5432
  }
5455
- function ya(a, i) {
5456
- let l = i + "";
5457
- for (; l.length < a; ) l = "0" + l;
5458
- return l;
5459
- }
5460
- function va(a) {
5433
+ function vn(a) {
5461
5434
  return a = typeof a == "number" ? a : new Date(a).getMonth() + 1, {
5462
5435
  1: { val: "01", name: "Январь", names: "Января", abc: "Янв" },
5463
5436
  2: { val: "02", name: "Февраль", names: "Февраля", abc: "Февр" },
@@ -5473,151 +5446,142 @@ function va(a) {
5473
5446
  12: { val: "12", name: "Декабрь", names: "Декабря", abc: "Дек" }
5474
5447
  }[a];
5475
5448
  }
5476
- function Pa({
5449
+ function Pn({
5477
5450
  value: a,
5478
- onValue: i,
5479
- name: l,
5451
+ onValue: s,
5452
+ name: c,
5480
5453
  placeholder: u = "",
5481
- title: v = "",
5482
- error: C = "",
5483
- hide: D = !1,
5454
+ title: y = "",
5455
+ error: S = "",
5456
+ hide: P = !1,
5484
5457
  edit: x = !0,
5485
- active: s = !0,
5458
+ active: i = !0,
5486
5459
  after: g = "",
5487
5460
  show: o = !0,
5488
5461
  course: d = 100,
5489
5462
  view: b,
5490
- type: S,
5463
+ type: C,
5491
5464
  onSave: F,
5492
5465
  className: A = "",
5493
- isClear: I = !1
5466
+ isClear: M = !1
5494
5467
  }) {
5495
- let O = !!(D && (a === "" || a === void 0)), p = (R) => S === "multi" ? R.replace(/[^+\d.+-]/g, "") : R.replace(/[^+\d.]/g, ""), M = (R, h) => {
5496
- let k = document.createRange(), $ = window.getSelection();
5497
- k.setStart(h.childNodes[0], R), k.collapse(!0), $.removeAllRanges(), $.addRange(k), h.focus();
5498
- }, K = (R) => {
5499
- i == null || i({
5500
- value: p(R.target.textContent) * d,
5501
- name: l
5502
- }), R.target.textContent = p(R.target.textContent), R.target.textContent.length > 0 && M(R.target.textContent.length, R.target);
5503
- }, G = (R) => {
5504
- te.Blur(R), R.target.textContent === "" && (R.target.textContent = 0), F == null || F({ value: p(R.target.textContent) * d, name: l }), i == null || i({
5505
- value: p(R.target.textContent) * d,
5506
- name: l
5507
- }), R.target.textContent = zt(R.target.textContent);
5508
- }, L = (R) => {
5509
- R.target.textContent = p(R.target.textContent);
5510
- }, q = (R) => {
5511
- R.currentTarget.previousElementSibling.textContent = "", i == null || i({
5512
- value: 0,
5513
- name: l
5514
- });
5515
- }, E = (R) => {
5516
- R.key === "Enter" && R.preventDefault();
5517
- }, P = (R) => {
5518
- R.preventDefault(), navigator.clipboard.readText().then((h) => {
5519
- h = h.replace(/^\s*/, "").replace(/\s*$/, ""), window.document.execCommand("insertText", !1, h);
5520
- }).catch((h) => {
5468
+ let E = !!(P && (a === "" || a === void 0)), p = (O) => C === "multi" ? O.replace(/[^+\d.+-]/g, "") : O.replace(/[^+\d.]/g, ""), I = (O, W) => {
5469
+ let h = document.createRange(), k = window.getSelection();
5470
+ h.setStart(W.childNodes[0], O), h.collapse(!0), k.removeAllRanges(), k.addRange(h), W.focus();
5471
+ }, K = (O) => {
5472
+ s == null || s({
5473
+ value: p(O.target.textContent) * d,
5474
+ name: c
5475
+ }), O.target.textContent = p(O.target.textContent), O.target.textContent.length > 0 && I(O.target.textContent.length, O.target);
5476
+ }, G = (O) => {
5477
+ ee.Blur(O), O.target.textContent === "" && (O.target.textContent = 0), F == null || F({ value: p(O.target.textContent) * d, name: c }), s == null || s({
5478
+ value: p(O.target.textContent) * d,
5479
+ name: c
5480
+ }), O.target.textContent = zt(O.target.textContent);
5481
+ }, L = (O) => {
5482
+ O.target.textContent = p(O.target.textContent);
5483
+ }, q = (O) => {
5484
+ O.key === "Enter" && O.preventDefault();
5485
+ }, R = (O) => {
5486
+ O.preventDefault(), navigator.clipboard.readText().then((W) => {
5487
+ W = W.replace(/^\s*/, "").replace(/\s*$/, ""), window.document.execCommand("insertText", !1, W);
5488
+ }).catch((W) => {
5521
5489
  });
5522
5490
  };
5523
- if (!(x && s) && !o || !(x && s) && O) return "";
5524
- const U = {};
5525
- return U.inputMode = "decimal", u && (U.placeholder = u), x && s && (U.edit = ""), /* @__PURE__ */ y.jsxs(
5526
- "dl",
5491
+ if (!(x && i) && !o || !(x && i) && E) return "";
5492
+ const T = {};
5493
+ return T.inputMode = "decimal", u && (T.placeholder = u), x && i && (T.edit = ""), /* @__PURE__ */ v.jsx(
5494
+ Le,
5527
5495
  {
5528
- "data-field": "date",
5529
- className: [ee.l, A].filter((R) => R !== void 0).join(" "),
5530
- children: [
5531
- v ? /* @__PURE__ */ y.jsx("dt", { className: ee.t, children: v }) : "",
5532
- /* @__PURE__ */ y.jsx(
5533
- "dd",
5534
- {
5535
- ...U,
5536
- className: [ee.f, ee.w].join(" "),
5537
- onInput: K,
5538
- onPaste: P,
5539
- onBlur: G,
5540
- onKeyDown: E,
5541
- onFocus: L,
5542
- contentEditable: x && s ? te.ContentEditable : "false",
5543
- suppressContentEditableWarning: !0,
5544
- "data-after": g,
5545
- children: !u || a ? zt(a) : ""
5546
- }
5547
- ),
5548
- I && /* @__PURE__ */ y.jsx("svg", { "action-type": "delete", onClick: q, viewBox: "0 0 24 24", children: /* @__PURE__ */ y.jsx("path", { d: "M17 6L6 17M6 6L17 17" }) }),
5549
- C ? /* @__PURE__ */ y.jsx("em", { children: C }) : ""
5550
- ]
5496
+ type: "input",
5497
+ title: y,
5498
+ element_blok: { className: [A] },
5499
+ element_input: { className: [ie.w] },
5500
+ children: /* @__PURE__ */ v.jsx(
5501
+ "div",
5502
+ {
5503
+ ...T,
5504
+ onInput: K,
5505
+ onPaste: R,
5506
+ onBlur: G,
5507
+ onKeyDown: q,
5508
+ onFocus: L,
5509
+ contentEditable: x && i ? ee.ContentEditable : "false",
5510
+ suppressContentEditableWarning: !0,
5511
+ "data-after": g,
5512
+ children: !u || a ? zt(a) : ""
5513
+ }
5514
+ )
5551
5515
  }
5552
5516
  );
5553
5517
  }
5554
- function zt(a, i) {
5518
+ function zt(a, s) {
5555
5519
  return parseFloat(a).toFixed(2).replace(/(\d)(?=(\d{3})+\.)/g, "$1 ");
5556
5520
  }
5557
- function Na({
5521
+ function Nn({
5558
5522
  onValue: a,
5559
- label: i,
5560
- value: l,
5523
+ label: s,
5524
+ value: c,
5561
5525
  title: u,
5562
- className: v,
5563
- name: C,
5564
- text: D,
5526
+ className: y,
5527
+ name: S,
5528
+ text: P,
5565
5529
  id: x,
5566
- reload: s
5530
+ reload: i
5567
5531
  }) {
5568
- const [g, o] = W.useState(!!l);
5569
- W.useEffect(() => {
5570
- o(!!l);
5571
- }, [l]);
5532
+ const [g, o] = U.useState(!!c);
5533
+ U.useEffect(() => {
5534
+ o(!!c);
5535
+ }, [c]);
5572
5536
  let d = () => {
5573
- a && a({ value: g ? 0 : 1, name: C, id: x, reload: s }), o(!g);
5537
+ a && a({ value: g ? 0 : 1, name: S, id: x, reload: i }), o(!g);
5574
5538
  };
5575
- return /* @__PURE__ */ y.jsxs(
5539
+ return /* @__PURE__ */ v.jsxs(
5576
5540
  Le,
5577
5541
  {
5578
5542
  type: "check",
5579
- title: i || u,
5580
- element_blok: { className: [v] },
5543
+ title: s || u,
5544
+ element_blok: { className: [y] },
5581
5545
  element_input: {
5582
- className: [ee.h],
5546
+ className: [ie.h],
5583
5547
  props: {
5584
5548
  onClick: d
5585
5549
  }
5586
5550
  },
5587
5551
  children: [
5588
- /* @__PURE__ */ y.jsx("div", { "aria-checked": `${g ? "true" : "false"}` }),
5589
- /* @__PURE__ */ y.jsx("span", { children: D })
5552
+ /* @__PURE__ */ v.jsx("div", { "aria-checked": `${g ? "true" : "false"}` }),
5553
+ /* @__PURE__ */ v.jsx("span", { children: P })
5590
5554
  ]
5591
5555
  }
5592
5556
  );
5593
5557
  }
5594
5558
  const he = {};
5595
- function Fa(a) {
5596
- const [i, l] = W.useState({}), u = W.useRef(a);
5597
- return he.u = (v) => {
5598
- u.current = { ...u.current, [v.name]: v.value };
5599
- }, he.n = (v) => {
5600
- u.current = v, l(Date.now());
5559
+ function Fn(a) {
5560
+ const [s, c] = U.useState({}), u = U.useRef(a);
5561
+ return he.u = (y) => {
5562
+ u.current = { ...u.current, [y.name]: y.value };
5563
+ }, he.n = (y) => {
5564
+ u.current = y, c(Date.now());
5601
5565
  }, he.r = () => {
5602
- l(Date.now());
5566
+ c(Date.now());
5603
5567
  }, [u.current, he.n];
5604
5568
  }
5605
- function Ia(a) {
5569
+ function In(a) {
5606
5570
  he.u(a), a.reload && he.r();
5607
5571
  }
5608
- function Ma() {
5572
+ function Mn() {
5609
5573
  he.r && he.r();
5610
5574
  }
5611
- function $a(a) {
5612
- const [i, l] = W.useState({}), u = W.useRef(a);
5613
- return he.u = (v) => {
5614
- u.current = { ...u.current, [v.name]: v.value };
5615
- }, he.n = (v) => {
5616
- Object.keys(v).length > 0 ? Object.keys(v).forEach((C) => {
5617
- u.current[C] = v[C];
5618
- }) : u.current = {}, l(Date.now());
5575
+ function $n(a) {
5576
+ const [s, c] = U.useState({}), u = U.useRef(a);
5577
+ return he.u = (y) => {
5578
+ u.current = { ...u.current, [y.name]: y.value };
5579
+ }, he.n = (y) => {
5580
+ Object.keys(y).length > 0 ? Object.keys(y).forEach((S) => {
5581
+ u.current[S] = y[S];
5582
+ }) : u.current = {}, c(Date.now());
5619
5583
  }, he.r = () => {
5620
- l(Date.now());
5584
+ c(Date.now());
5621
5585
  }, [u.current, he.n];
5622
5586
  }
5623
5587
  function It() {
@@ -5626,22 +5590,22 @@ function It() {
5626
5590
  It().elcrm || (It().elcrm = {});
5627
5591
  Object.assign(It().elcrm, { form: Xt.version });
5628
5592
  export {
5629
- Na as Check,
5630
- Ta as Date,
5631
- Ra as Mask,
5632
- xa as Modal,
5633
- Pa as Money,
5634
- Da as Month,
5635
- Sa as Numeric,
5636
- wa as Options,
5637
- Ca as Password,
5638
- Oa as Phone,
5639
- ba as Progress,
5640
- ja as Select,
5641
- ka as String,
5642
- Ea as Textarea,
5643
- Ma as runReload,
5644
- Ia as setValue,
5645
- Fa as useData,
5646
- $a as useError
5593
+ Nn as Check,
5594
+ Tn as Date,
5595
+ Rn as Mask,
5596
+ xn as Modal,
5597
+ Pn as Money,
5598
+ Dn as Month,
5599
+ Sn as Numeric,
5600
+ wn as Options,
5601
+ Cn as Password,
5602
+ On as Phone,
5603
+ bn as Progress,
5604
+ jn as Select,
5605
+ kn as String,
5606
+ En as Textarea,
5607
+ Mn as runReload,
5608
+ In as setValue,
5609
+ Fn as useData,
5610
+ $n as useError
5647
5611
  };