elcrm 0.9.115 → 0.9.116

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
@@ -6,9 +6,9 @@ let At = {
6
6
  enCode: (e) => e,
7
7
  deCode: (e) => e
8
8
  };
9
- const Nn = (e) => {
9
+ const Tn = (e) => {
10
10
  At = e;
11
- }, er = (e) => At.enCode(e), tr = (e) => At.deCode(e), A = { enCode: er, deCode: tr, New: Nn };
11
+ }, er = (e) => At.enCode(e), tr = (e) => At.deCode(e), A = { enCode: er, deCode: tr, New: Tn };
12
12
  var wt = { exports: {} }, Ue = {};
13
13
  /**
14
14
  * @license React
@@ -25,11 +25,11 @@ function nr() {
25
25
  mn = 1;
26
26
  var e = h, t = Symbol.for("react.element"), n = Symbol.for("react.fragment"), r = Object.prototype.hasOwnProperty, s = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 };
27
27
  function o(l, c, _) {
28
- var u, x = {}, f = null, m = null;
28
+ var u, p = {}, f = null, m = null;
29
29
  _ !== void 0 && (f = "" + _), c.key !== void 0 && (f = "" + c.key), c.ref !== void 0 && (m = c.ref);
30
- for (u in c) r.call(c, u) && !i.hasOwnProperty(u) && (x[u] = c[u]);
31
- if (l && l.defaultProps) for (u in c = l.defaultProps, c) x[u] === void 0 && (x[u] = c[u]);
32
- return { $$typeof: t, type: l, key: f, ref: m, props: x, _owner: s.current };
30
+ for (u in c) r.call(c, u) && !i.hasOwnProperty(u) && (p[u] = c[u]);
31
+ if (l && l.defaultProps) for (u in c = l.defaultProps, c) p[u] === void 0 && (p[u] = c[u]);
32
+ return { $$typeof: t, type: l, key: f, ref: m, props: p, _owner: s.current };
33
33
  }
34
34
  return Ue.Fragment = n, Ue.jsx = o, Ue.jsxs = o, Ue;
35
35
  }
@@ -46,54 +46,54 @@ var Ge = {};
46
46
  var hn;
47
47
  function ar() {
48
48
  return hn || (hn = 1, process.env.NODE_ENV !== "production" && function() {
49
- var e = h, t = Symbol.for("react.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), s = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), o = Symbol.for("react.provider"), l = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), _ = Symbol.for("react.suspense"), u = Symbol.for("react.suspense_list"), x = Symbol.for("react.memo"), f = Symbol.for("react.lazy"), m = Symbol.for("react.offscreen"), k = Symbol.iterator, p = "@@iterator";
49
+ var e = h, t = Symbol.for("react.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), s = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), o = Symbol.for("react.provider"), l = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), _ = Symbol.for("react.suspense"), u = Symbol.for("react.suspense_list"), p = Symbol.for("react.memo"), f = Symbol.for("react.lazy"), m = Symbol.for("react.offscreen"), k = Symbol.iterator, x = "@@iterator";
50
50
  function g(d) {
51
51
  if (d === null || typeof d != "object")
52
52
  return null;
53
- var C = k && d[k] || d[p];
53
+ var C = k && d[k] || d[x];
54
54
  return typeof C == "function" ? C : null;
55
55
  }
56
56
  var v = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
57
- function b(d) {
57
+ function y(d) {
58
58
  {
59
- for (var C = arguments.length, S = new Array(C > 1 ? C - 1 : 0), F = 1; F < C; F++)
60
- S[F - 1] = arguments[F];
61
- T("error", d, S);
59
+ for (var C = arguments.length, w = new Array(C > 1 ? C - 1 : 0), P = 1; P < C; P++)
60
+ w[P - 1] = arguments[P];
61
+ N("error", d, w);
62
62
  }
63
63
  }
64
- function T(d, C, S) {
64
+ function N(d, C, w) {
65
65
  {
66
- var F = v.ReactDebugCurrentFrame, Z = F.getStackAddendum();
67
- Z !== "" && (C += "%s", S = S.concat([Z]));
68
- var W = S.map(function(G) {
66
+ var P = v.ReactDebugCurrentFrame, Z = P.getStackAddendum();
67
+ Z !== "" && (C += "%s", w = w.concat([Z]));
68
+ var W = w.map(function(G) {
69
69
  return String(G);
70
70
  });
71
71
  W.unshift("Warning: " + C), Function.prototype.apply.call(console[d], console, W);
72
72
  }
73
73
  }
74
- var $ = !1, R = !1, N = !1, E = !1, D = !1, B;
75
- B = Symbol.for("react.module.reference");
76
- function M(d) {
77
- return !!(typeof d == "string" || typeof d == "function" || d === r || d === i || D || d === s || d === _ || d === u || E || d === m || $ || R || N || typeof d == "object" && d !== null && (d.$$typeof === f || d.$$typeof === x || d.$$typeof === o || d.$$typeof === l || d.$$typeof === c || // This needs to include all possible module reference object
74
+ var B = !1, R = !1, T = !1, S = !1, D = !1, F;
75
+ F = Symbol.for("react.module.reference");
76
+ function $(d) {
77
+ return !!(typeof d == "string" || typeof d == "function" || d === r || d === i || D || d === s || d === _ || d === u || S || d === m || B || R || T || typeof d == "object" && d !== null && (d.$$typeof === f || d.$$typeof === p || d.$$typeof === o || d.$$typeof === l || d.$$typeof === c || // This needs to include all possible module reference object
78
78
  // types supported by any Flight configuration anywhere since
79
79
  // we don't know which Flight build this will end up being used
80
80
  // with.
81
- d.$$typeof === B || d.getModuleId !== void 0));
81
+ d.$$typeof === F || d.getModuleId !== void 0));
82
82
  }
83
- function L(d, C, S) {
84
- var F = d.displayName;
85
- if (F)
86
- return F;
83
+ function L(d, C, w) {
84
+ var P = d.displayName;
85
+ if (P)
86
+ return P;
87
87
  var Z = C.displayName || C.name || "";
88
- return Z !== "" ? S + "(" + Z + ")" : S;
88
+ return Z !== "" ? w + "(" + Z + ")" : w;
89
89
  }
90
- function j(d) {
90
+ function E(d) {
91
91
  return d.displayName || "Context";
92
92
  }
93
- function y(d) {
93
+ function j(d) {
94
94
  if (d == null)
95
95
  return null;
96
- if (typeof d.tag == "number" && b("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof d == "function")
96
+ if (typeof d.tag == "number" && y("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof d == "function")
97
97
  return d.displayName || d.name || null;
98
98
  if (typeof d == "string")
99
99
  return d;
@@ -115,19 +115,19 @@ function ar() {
115
115
  switch (d.$$typeof) {
116
116
  case l:
117
117
  var C = d;
118
- return j(C) + ".Consumer";
118
+ return E(C) + ".Consumer";
119
119
  case o:
120
- var S = d;
121
- return j(S._context) + ".Provider";
120
+ var w = d;
121
+ return E(w._context) + ".Provider";
122
122
  case c:
123
123
  return L(d, d.render, "ForwardRef");
124
- case x:
125
- var F = d.displayName || null;
126
- return F !== null ? F : y(d.type) || "Memo";
124
+ case p:
125
+ var P = d.displayName || null;
126
+ return P !== null ? P : j(d.type) || "Memo";
127
127
  case f: {
128
128
  var Z = d, W = Z._payload, G = Z._init;
129
129
  try {
130
- return y(G(W));
130
+ return j(G(W));
131
131
  } catch {
132
132
  return null;
133
133
  }
@@ -135,14 +135,14 @@ function ar() {
135
135
  }
136
136
  return null;
137
137
  }
138
- var P = Object.assign, z = 0, ae, oe, ve, Ie, Pe, Qe, Vt;
138
+ var M = Object.assign, z = 0, ee, oe, ve, Ie, Pe, Qe, Vt;
139
139
  function Xt() {
140
140
  }
141
141
  Xt.__reactDisabledLog = !0;
142
142
  function ba() {
143
143
  {
144
144
  if (z === 0) {
145
- ae = console.log, oe = console.info, ve = console.warn, Ie = console.error, Pe = console.group, Qe = console.groupCollapsed, Vt = console.groupEnd;
145
+ ee = console.log, oe = console.info, ve = console.warn, Ie = console.error, Pe = console.group, Qe = console.groupCollapsed, Vt = console.groupEnd;
146
146
  var d = {
147
147
  configurable: !0,
148
148
  enumerable: !0,
@@ -171,41 +171,41 @@ function ar() {
171
171
  writable: !0
172
172
  };
173
173
  Object.defineProperties(console, {
174
- log: P({}, d, {
175
- value: ae
174
+ log: M({}, d, {
175
+ value: ee
176
176
  }),
177
- info: P({}, d, {
177
+ info: M({}, d, {
178
178
  value: oe
179
179
  }),
180
- warn: P({}, d, {
180
+ warn: M({}, d, {
181
181
  value: ve
182
182
  }),
183
- error: P({}, d, {
183
+ error: M({}, d, {
184
184
  value: Ie
185
185
  }),
186
- group: P({}, d, {
186
+ group: M({}, d, {
187
187
  value: Pe
188
188
  }),
189
- groupCollapsed: P({}, d, {
189
+ groupCollapsed: M({}, d, {
190
190
  value: Qe
191
191
  }),
192
- groupEnd: P({}, d, {
192
+ groupEnd: M({}, d, {
193
193
  value: Vt
194
194
  })
195
195
  });
196
196
  }
197
- z < 0 && b("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
197
+ z < 0 && y("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
198
198
  }
199
199
  }
200
200
  var ft = v.ReactCurrentDispatcher, mt;
201
- function et(d, C, S) {
201
+ function et(d, C, w) {
202
202
  {
203
203
  if (mt === void 0)
204
204
  try {
205
205
  throw Error();
206
206
  } catch (Z) {
207
- var F = Z.stack.trim().match(/\n( *(at )?)/);
208
- mt = F && F[1] || "";
207
+ var P = Z.stack.trim().match(/\n( *(at )?)/);
208
+ mt = P && P[1] || "";
209
209
  }
210
210
  return `
211
211
  ` + mt + d;
@@ -220,11 +220,11 @@ function ar() {
220
220
  if (!d || ht)
221
221
  return "";
222
222
  {
223
- var S = tt.get(d);
224
- if (S !== void 0)
225
- return S;
223
+ var w = tt.get(d);
224
+ if (w !== void 0)
225
+ return w;
226
226
  }
227
- var F;
227
+ var P;
228
228
  ht = !0;
229
229
  var Z = Error.prepareStackTrace;
230
230
  Error.prepareStackTrace = void 0;
@@ -243,14 +243,14 @@ function ar() {
243
243
  try {
244
244
  Reflect.construct(G, []);
245
245
  } catch (re) {
246
- F = re;
246
+ P = re;
247
247
  }
248
248
  Reflect.construct(d, [], G);
249
249
  } else {
250
250
  try {
251
251
  G.call();
252
252
  } catch (re) {
253
- F = re;
253
+ P = re;
254
254
  }
255
255
  d.call(G.prototype);
256
256
  }
@@ -258,21 +258,21 @@ function ar() {
258
258
  try {
259
259
  throw Error();
260
260
  } catch (re) {
261
- F = re;
261
+ P = re;
262
262
  }
263
263
  d();
264
264
  }
265
265
  } catch (re) {
266
- if (re && F && typeof re.stack == "string") {
266
+ if (re && P && typeof re.stack == "string") {
267
267
  for (var U = re.stack.split(`
268
- `), te = F.stack.split(`
269
- `), J = U.length - 1, Q = te.length - 1; J >= 1 && Q >= 0 && U[J] !== te[Q]; )
268
+ `), ne = P.stack.split(`
269
+ `), J = U.length - 1, Q = ne.length - 1; J >= 1 && Q >= 0 && U[J] !== ne[Q]; )
270
270
  Q--;
271
271
  for (; J >= 1 && Q >= 0; J--, Q--)
272
- if (U[J] !== te[Q]) {
272
+ if (U[J] !== ne[Q]) {
273
273
  if (J !== 1 || Q !== 1)
274
274
  do
275
- if (J--, Q--, Q < 0 || U[J] !== te[Q]) {
275
+ if (J--, Q--, Q < 0 || U[J] !== ne[Q]) {
276
276
  var ce = `
277
277
  ` + U[J].replace(" at new ", " at ");
278
278
  return d.displayName && ce.includes("<anonymous>") && (ce = ce.replace("<anonymous>", d.displayName)), typeof d == "function" && tt.set(d, ce), ce;
@@ -284,17 +284,17 @@ function ar() {
284
284
  } finally {
285
285
  ht = !1, ft.current = W, wa(), Error.prepareStackTrace = Z;
286
286
  }
287
- var Te = d ? d.displayName || d.name : "", Ee = Te ? et(Te) : "";
287
+ var Ne = d ? d.displayName || d.name : "", Ee = Ne ? et(Ne) : "";
288
288
  return typeof d == "function" && tt.set(d, Ee), Ee;
289
289
  }
290
- function Ea(d, C, S) {
290
+ function Ea(d, C, w) {
291
291
  return Qt(d, !1);
292
292
  }
293
293
  function Da(d) {
294
294
  var C = d.prototype;
295
295
  return !!(C && C.isReactComponent);
296
296
  }
297
- function nt(d, C, S) {
297
+ function nt(d, C, w) {
298
298
  if (d == null)
299
299
  return "";
300
300
  if (typeof d == "function")
@@ -311,12 +311,12 @@ function ar() {
311
311
  switch (d.$$typeof) {
312
312
  case c:
313
313
  return Ea(d.render);
314
- case x:
315
- return nt(d.type, C, S);
314
+ case p:
315
+ return nt(d.type, C, w);
316
316
  case f: {
317
- var F = d, Z = F._payload, W = F._init;
317
+ var P = d, Z = P._payload, W = P._init;
318
318
  try {
319
- return nt(W(Z), C, S);
319
+ return nt(W(Z), C, w);
320
320
  } catch {
321
321
  }
322
322
  }
@@ -326,12 +326,12 @@ function ar() {
326
326
  var Oe = Object.prototype.hasOwnProperty, en = {}, tn = v.ReactDebugCurrentFrame;
327
327
  function at(d) {
328
328
  if (d) {
329
- var C = d._owner, S = nt(d.type, d._source, C ? C.type : null);
330
- tn.setExtraStackFrame(S);
329
+ var C = d._owner, w = nt(d.type, d._source, C ? C.type : null);
330
+ tn.setExtraStackFrame(w);
331
331
  } else
332
332
  tn.setExtraStackFrame(null);
333
333
  }
334
- function Ra(d, C, S, F, Z) {
334
+ function Ra(d, C, w, P, Z) {
335
335
  {
336
336
  var W = Function.call.bind(Oe);
337
337
  for (var G in d)
@@ -339,14 +339,14 @@ function ar() {
339
339
  var U = void 0;
340
340
  try {
341
341
  if (typeof d[G] != "function") {
342
- var te = Error((F || "React class") + ": " + S + " type `" + G + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof d[G] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
343
- throw te.name = "Invariant Violation", te;
342
+ var ne = Error((P || "React class") + ": " + w + " type `" + G + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof d[G] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
343
+ throw ne.name = "Invariant Violation", ne;
344
344
  }
345
- U = d[G](C, G, F, S, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
345
+ U = d[G](C, G, P, w, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
346
346
  } catch (J) {
347
347
  U = J;
348
348
  }
349
- U && !(U instanceof Error) && (at(Z), b("%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).", F || "React class", S, G, typeof U), at(null)), U instanceof Error && !(U.message in en) && (en[U.message] = !0, at(Z), b("Failed %s type: %s", S, U.message), at(null));
349
+ U && !(U instanceof Error) && (at(Z), y("%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).", P || "React class", w, G, typeof U), at(null)), U instanceof Error && !(U.message in en) && (en[U.message] = !0, at(Z), y("Failed %s type: %s", w, U.message), at(null));
350
350
  }
351
351
  }
352
352
  }
@@ -354,13 +354,13 @@ function ar() {
354
354
  function gt(d) {
355
355
  return Ia(d);
356
356
  }
357
- function Na(d) {
357
+ function Ta(d) {
358
358
  {
359
- var C = typeof Symbol == "function" && Symbol.toStringTag, S = C && d[Symbol.toStringTag] || d.constructor.name || "Object";
360
- return S;
359
+ var C = typeof Symbol == "function" && Symbol.toStringTag, w = C && d[Symbol.toStringTag] || d.constructor.name || "Object";
360
+ return w;
361
361
  }
362
362
  }
363
- function Ta(d) {
363
+ function Na(d) {
364
364
  try {
365
365
  return nn(d), !1;
366
366
  } catch {
@@ -371,8 +371,8 @@ function ar() {
371
371
  return "" + d;
372
372
  }
373
373
  function an(d) {
374
- if (Ta(d))
375
- return b("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Na(d)), nn(d);
374
+ if (Na(d))
375
+ return y("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Ta(d)), nn(d);
376
376
  }
377
377
  var Ae = v.ReactCurrentOwner, La = {
378
378
  key: !0,
@@ -399,40 +399,40 @@ function ar() {
399
399
  }
400
400
  function Ba(d, C) {
401
401
  if (typeof d.ref == "string" && Ae.current && C && Ae.current.stateNode !== C) {
402
- var S = y(Ae.current.type);
403
- pt[S] || (b('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', y(Ae.current.type), d.ref), pt[S] = !0);
402
+ var w = j(Ae.current.type);
403
+ pt[w] || (y('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', j(Ae.current.type), d.ref), pt[w] = !0);
404
404
  }
405
405
  }
406
406
  function Fa(d, C) {
407
407
  {
408
- var S = function() {
409
- rn || (rn = !0, b("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", C));
408
+ var w = function() {
409
+ rn || (rn = !0, y("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", C));
410
410
  };
411
- S.isReactWarning = !0, Object.defineProperty(d, "key", {
412
- get: S,
411
+ w.isReactWarning = !0, Object.defineProperty(d, "key", {
412
+ get: w,
413
413
  configurable: !0
414
414
  });
415
415
  }
416
416
  }
417
417
  function Pa(d, C) {
418
418
  {
419
- var S = function() {
420
- sn || (sn = !0, b("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", C));
419
+ var w = function() {
420
+ sn || (sn = !0, y("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", C));
421
421
  };
422
- S.isReactWarning = !0, Object.defineProperty(d, "ref", {
423
- get: S,
422
+ w.isReactWarning = !0, Object.defineProperty(d, "ref", {
423
+ get: w,
424
424
  configurable: !0
425
425
  });
426
426
  }
427
427
  }
428
- var Oa = function(d, C, S, F, Z, W, G) {
428
+ var Oa = function(d, C, w, P, Z, W, G) {
429
429
  var U = {
430
430
  // This tag allows us to uniquely identify this as a React Element
431
431
  $$typeof: t,
432
432
  // Built-in properties that belong on the element
433
433
  type: d,
434
434
  key: C,
435
- ref: S,
435
+ ref: w,
436
436
  props: G,
437
437
  // Record the component responsible for creating this element.
438
438
  _owner: W
@@ -446,7 +446,7 @@ function ar() {
446
446
  configurable: !1,
447
447
  enumerable: !1,
448
448
  writable: !1,
449
- value: F
449
+ value: P
450
450
  }), Object.defineProperty(U, "_source", {
451
451
  configurable: !1,
452
452
  enumerable: !1,
@@ -454,10 +454,10 @@ function ar() {
454
454
  value: Z
455
455
  }), Object.freeze && (Object.freeze(U.props), Object.freeze(U)), U;
456
456
  };
457
- function Aa(d, C, S, F, Z) {
457
+ function Aa(d, C, w, P, Z) {
458
458
  {
459
- var W, G = {}, U = null, te = null;
460
- S !== void 0 && (an(S), U = "" + S), $a(C) && (an(C.key), U = "" + C.key), Ma(C) && (te = C.ref, Ba(C, Z));
459
+ var W, G = {}, U = null, ne = null;
460
+ w !== void 0 && (an(w), U = "" + w), $a(C) && (an(C.key), U = "" + C.key), Ma(C) && (ne = C.ref, Ba(C, Z));
461
461
  for (W in C)
462
462
  Oe.call(C, W) && !La.hasOwnProperty(W) && (G[W] = C[W]);
463
463
  if (d && d.defaultProps) {
@@ -465,18 +465,18 @@ function ar() {
465
465
  for (W in J)
466
466
  G[W] === void 0 && (G[W] = J[W]);
467
467
  }
468
- if (U || te) {
468
+ if (U || ne) {
469
469
  var Q = typeof d == "function" ? d.displayName || d.name || "Unknown" : d;
470
- U && Fa(G, Q), te && Pa(G, Q);
470
+ U && Fa(G, Q), ne && Pa(G, Q);
471
471
  }
472
- return Oa(d, U, te, Z, F, Ae.current, G);
472
+ return Oa(d, U, ne, Z, P, Ae.current, G);
473
473
  }
474
474
  }
475
475
  var xt = v.ReactCurrentOwner, on = v.ReactDebugCurrentFrame;
476
- function Ne(d) {
476
+ function Te(d) {
477
477
  if (d) {
478
- var C = d._owner, S = nt(d.type, d._source, C ? C.type : null);
479
- on.setExtraStackFrame(S);
478
+ var C = d._owner, w = nt(d.type, d._source, C ? C.type : null);
479
+ on.setExtraStackFrame(w);
480
480
  } else
481
481
  on.setExtraStackFrame(null);
482
482
  }
@@ -488,7 +488,7 @@ function ar() {
488
488
  function ln() {
489
489
  {
490
490
  if (xt.current) {
491
- var d = y(xt.current.type);
491
+ var d = j(xt.current.type);
492
492
  if (d)
493
493
  return `
494
494
 
@@ -505,10 +505,10 @@ Check the render method of \`` + d + "`.";
505
505
  {
506
506
  var C = ln();
507
507
  if (!C) {
508
- var S = typeof d == "string" ? d : d.displayName || d.name;
509
- S && (C = `
508
+ var w = typeof d == "string" ? d : d.displayName || d.name;
509
+ w && (C = `
510
510
 
511
- Check the top-level render call using <` + S + ">.");
511
+ Check the top-level render call using <` + w + ">.");
512
512
  }
513
513
  return C;
514
514
  }
@@ -518,12 +518,12 @@ Check the top-level render call using <` + S + ">.");
518
518
  if (!d._store || d._store.validated || d.key != null)
519
519
  return;
520
520
  d._store.validated = !0;
521
- var S = Ga(C);
522
- if (cn[S])
521
+ var w = Ga(C);
522
+ if (cn[w])
523
523
  return;
524
- cn[S] = !0;
525
- var F = "";
526
- d && d._owner && d._owner !== xt.current && (F = " It was passed a child from " + y(d._owner.type) + "."), Ne(d), b('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', S, F), Ne(null);
524
+ cn[w] = !0;
525
+ var P = "";
526
+ d && d._owner && d._owner !== xt.current && (P = " It was passed a child from " + j(d._owner.type) + "."), Te(d), y('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', w, P), Te(null);
527
527
  }
528
528
  }
529
529
  function _n(d, C) {
@@ -531,9 +531,9 @@ Check the top-level render call using <` + S + ">.");
531
531
  if (typeof d != "object")
532
532
  return;
533
533
  if (gt(d))
534
- for (var S = 0; S < d.length; S++) {
535
- var F = d[S];
536
- jt(F) && dn(F, C);
534
+ for (var w = 0; w < d.length; w++) {
535
+ var P = d[w];
536
+ jt(P) && dn(P, C);
537
537
  }
538
538
  else if (jt(d))
539
539
  d._store && (d._store.validated = !0);
@@ -550,73 +550,73 @@ Check the top-level render call using <` + S + ">.");
550
550
  var C = d.type;
551
551
  if (C == null || typeof C == "string")
552
552
  return;
553
- var S;
553
+ var w;
554
554
  if (typeof C == "function")
555
- S = C.propTypes;
555
+ w = C.propTypes;
556
556
  else if (typeof C == "object" && (C.$$typeof === c || // Note: Memo only checks outer props here.
557
557
  // Inner props are checked in the reconciler.
558
- C.$$typeof === x))
559
- S = C.propTypes;
558
+ C.$$typeof === p))
559
+ w = C.propTypes;
560
560
  else
561
561
  return;
562
- if (S) {
563
- var F = y(C);
564
- Ra(S, d.props, "prop", F, d);
562
+ if (w) {
563
+ var P = j(C);
564
+ Ra(w, d.props, "prop", P, d);
565
565
  } else if (C.PropTypes !== void 0 && !vt) {
566
566
  vt = !0;
567
- var Z = y(C);
568
- b("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", Z || "Unknown");
567
+ var Z = j(C);
568
+ y("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", Z || "Unknown");
569
569
  }
570
- typeof C.getDefaultProps == "function" && !C.getDefaultProps.isReactClassApproved && b("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
570
+ typeof C.getDefaultProps == "function" && !C.getDefaultProps.isReactClassApproved && y("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
571
571
  }
572
572
  }
573
573
  function za(d) {
574
574
  {
575
- for (var C = Object.keys(d.props), S = 0; S < C.length; S++) {
576
- var F = C[S];
577
- if (F !== "children" && F !== "key") {
578
- Ne(d), b("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", F), Ne(null);
575
+ for (var C = Object.keys(d.props), w = 0; w < C.length; w++) {
576
+ var P = C[w];
577
+ if (P !== "children" && P !== "key") {
578
+ Te(d), y("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", P), Te(null);
579
579
  break;
580
580
  }
581
581
  }
582
- d.ref !== null && (Ne(d), b("Invalid attribute `ref` supplied to `React.Fragment`."), Ne(null));
582
+ d.ref !== null && (Te(d), y("Invalid attribute `ref` supplied to `React.Fragment`."), Te(null));
583
583
  }
584
584
  }
585
585
  var un = {};
586
- function fn(d, C, S, F, Z, W) {
586
+ function fn(d, C, w, P, Z, W) {
587
587
  {
588
- var G = M(d);
588
+ var G = $(d);
589
589
  if (!G) {
590
590
  var U = "";
591
591
  (d === void 0 || typeof d == "object" && d !== null && Object.keys(d).length === 0) && (U += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
592
- var te = Ua();
593
- te ? U += te : U += ln();
592
+ var ne = Ua();
593
+ ne ? U += ne : U += ln();
594
594
  var J;
595
- d === null ? J = "null" : gt(d) ? J = "array" : d !== void 0 && d.$$typeof === t ? (J = "<" + (y(d.type) || "Unknown") + " />", U = " Did you accidentally export a JSX literal instead of a component?") : J = typeof d, b("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", J, U);
595
+ d === null ? J = "null" : gt(d) ? J = "array" : d !== void 0 && d.$$typeof === t ? (J = "<" + (j(d.type) || "Unknown") + " />", U = " Did you accidentally export a JSX literal instead of a component?") : J = typeof d, y("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", J, U);
596
596
  }
597
- var Q = Aa(d, C, S, Z, W);
597
+ var Q = Aa(d, C, w, Z, W);
598
598
  if (Q == null)
599
599
  return Q;
600
600
  if (G) {
601
601
  var ce = C.children;
602
602
  if (ce !== void 0)
603
- if (F)
603
+ if (P)
604
604
  if (gt(ce)) {
605
- for (var Te = 0; Te < ce.length; Te++)
606
- _n(ce[Te], d);
605
+ for (var Ne = 0; Ne < ce.length; Ne++)
606
+ _n(ce[Ne], d);
607
607
  Object.freeze && Object.freeze(ce);
608
608
  } else
609
- b("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
609
+ y("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
610
610
  else
611
611
  _n(ce, d);
612
612
  }
613
613
  if (Oe.call(C, "key")) {
614
- var Ee = y(d), re = Object.keys(C).filter(function(Ja) {
614
+ var Ee = j(d), re = Object.keys(C).filter(function(Ja) {
615
615
  return Ja !== "key";
616
616
  }), Ct = re.length > 0 ? "{key: someKey, " + re.join(": ..., ") + ": ...}" : "{key: someKey}";
617
617
  if (!un[Ee + Ct]) {
618
618
  var qa = re.length > 0 ? "{" + re.join(": ..., ") + ": ...}" : "{}";
619
- b(`A props object containing a "key" prop is being spread into JSX:
619
+ y(`A props object containing a "key" prop is being spread into JSX:
620
620
  let props = %s;
621
621
  <%s {...props} />
622
622
  React keys must be passed directly to JSX without using spread:
@@ -627,11 +627,11 @@ React keys must be passed directly to JSX without using spread:
627
627
  return d === r ? za(Q) : Za(Q), Q;
628
628
  }
629
629
  }
630
- function Wa(d, C, S) {
631
- return fn(d, C, S, !0);
630
+ function Wa(d, C, w) {
631
+ return fn(d, C, w, !0);
632
632
  }
633
- function Ka(d, C, S) {
634
- return fn(d, C, S, !1);
633
+ function Ka(d, C, w) {
634
+ return fn(d, C, w, !1);
635
635
  }
636
636
  var Ha = Ka, Ya = Wa;
637
637
  Ge.Fragment = r, Ge.jsx = Ha, Ge.jsxs = Ya;
@@ -757,7 +757,7 @@ De.success = () => /* @__PURE__ */ a.jsxs("svg", { viewBox: "0 0 24 24", fill: "
757
757
  }
758
758
  )
759
759
  ] });
760
- const je = { Send: fr, Error: mr, Remark: gr, Success: hr, Copy: pr, Custom: ur }, w = {}, O = {}, Le = {}, Tn = {}, be = {}, me = {};
760
+ const je = { Send: fr, Error: mr, Remark: gr, Success: hr, Copy: pr, Custom: ur }, b = {}, O = {}, Le = {}, Nn = {}, be = {}, me = {};
761
761
  let ye = "", lt = "M06";
762
762
  function xr(e) {
763
763
  O.dynamicURL = e;
@@ -771,29 +771,29 @@ function jr() {
771
771
  function Cr(e) {
772
772
  if (localStorage.getItem("d")) {
773
773
  let n = sessionStorage.getItem("f");
774
- n ? (n = A.deCode(n), n || ne(), w.id = n.id, w.tab = n.tab, w.page = n.page, w.module = n.module, w.time = n.time, w.payment = { active: !0 }, w.module_admin = n.module_admin) : (w.id = 0, w.tab = "", w.page = "Main", w.module = w.module || lt);
774
+ n ? (n = A.deCode(n), n || ae(), b.id = n.id, b.tab = n.tab, b.page = n.page, b.module = n.module, b.time = n.time, b.payment = { active: !0 }, b.module_admin = n.module_admin) : (b.id = 0, b.tab = "", b.page = "Main", b.module = b.module || lt);
775
775
  } else
776
776
  ["a", "b", "c", "d", "e", "m", "u", "s", "q", "p"].forEach(
777
777
  (n) => localStorage.removeItem(n)
778
- ), ["f"].forEach((n) => sessionStorage.removeItem(n)), w.id = 0, w.tab = "", w.page = "Auth", w.module = lt;
778
+ ), ["f"].forEach((n) => sessionStorage.removeItem(n)), b.id = 0, b.tab = "", b.page = "Auth", b.module = lt;
779
779
  return e;
780
780
  }
781
- function ne() {
781
+ function ae() {
782
782
  ["a", "b", "c", "d", "e", "m", "u", "s", "q", "p", "t"].forEach(
783
783
  (e) => localStorage.removeItem(e)
784
784
  ), ["f"].forEach((e) => sessionStorage.removeItem(e)), window.location.reload();
785
785
  }
786
786
  function kr(e) {
787
- e = e.split("/"), w.page = "Main", w.module = e[0], w.tab = e[1], w.id = 0, sessionStorage.setItem(
787
+ e = e.split("/"), b.page = "Main", b.module = e[0], b.tab = e[1], b.id = 0, sessionStorage.setItem(
788
788
  "f",
789
789
  A.enCode({
790
- module: w.module,
791
- page: w.page,
792
- tab: w.tab,
793
- id: w.id,
790
+ module: b.module,
791
+ page: b.page,
792
+ tab: b.tab,
793
+ id: b.id,
794
794
  time: (/* @__PURE__ */ new Date()).getTime()
795
795
  })
796
- ), O.page(w.page);
796
+ ), O.page(b.page);
797
797
  }
798
798
  function yr(e) {
799
799
  return localStorage.setItem("d", e);
@@ -816,9 +816,9 @@ function St() {
816
816
  let e = localStorage.getItem("p");
817
817
  if (e !== "" && e !== "undefined" && e !== null) {
818
818
  let t = A.deCode(e);
819
- return t || ne(), t;
819
+ return t || ae(), t;
820
820
  } else
821
- return ne(), !1;
821
+ return ae(), !1;
822
822
  }
823
823
  function Dr() {
824
824
  const [e, t] = h.useState(Ln()), n = (r) => {
@@ -827,15 +827,15 @@ function Dr() {
827
827
  return O.page = n, [e];
828
828
  }
829
829
  function Rr(e, t = !0) {
830
- w.page = e, sessionStorage.setItem("f", A.enCode(w)), O.dynamicURL && O.dynamicURL(w), t && O.page(e);
830
+ b.page = e, sessionStorage.setItem("f", A.enCode(b)), O.dynamicURL && O.dynamicURL(b), t && O.page(e);
831
831
  }
832
832
  function Ln() {
833
- return w.page;
833
+ return b.page;
834
834
  }
835
835
  function Ir(e) {
836
- return w.page === e;
836
+ return b.page === e;
837
837
  }
838
- function Nr(e) {
838
+ function Tr(e) {
839
839
  if (typeof e != "function") {
840
840
  const [t, n] = h.useState(e || Mn()), r = (s) => {
841
841
  n(s);
@@ -844,14 +844,14 @@ function Nr(e) {
844
844
  } else
845
845
  O.module = e;
846
846
  }
847
- function Tr(e, t = !0) {
848
- w.module = e, sessionStorage.setItem("f", A.enCode(w)), O.dynamicURL && O.dynamicURL(w), t && O.module(e);
847
+ function Nr(e, t = !0) {
848
+ b.module = e, sessionStorage.setItem("f", A.enCode(b)), O.dynamicURL && O.dynamicURL(b), t && O.module(e);
849
849
  }
850
850
  function Mn() {
851
- return w.module;
851
+ return b.module;
852
852
  }
853
853
  function Lr(e) {
854
- return w.module === e;
854
+ return b.module === e;
855
855
  }
856
856
  function $n(e) {
857
857
  if (typeof e != "function") {
@@ -861,17 +861,17 @@ function $n(e) {
861
861
  O.tabs = e;
862
862
  }
863
863
  function Bn(e, t = !0) {
864
- if (w.tab = e, sessionStorage.setItem("f", A.enCode(w)), O.dynamicURL && O.dynamicURL(w), !!t)
864
+ if (b.tab = e, sessionStorage.setItem("f", A.enCode(b)), O.dynamicURL && O.dynamicURL(b), !!t)
865
865
  if (O.tabs)
866
866
  O.tabs(e);
867
867
  else
868
868
  throw new Error("useTabs not found");
869
869
  }
870
870
  function Me() {
871
- return w.tab;
871
+ return b.tab;
872
872
  }
873
873
  function Mr(e) {
874
- return w.tab === e;
874
+ return b.tab === e;
875
875
  }
876
876
  function $r(e) {
877
877
  if (typeof e != "function") {
@@ -886,28 +886,28 @@ function Br(e) {
886
886
  O.id = e;
887
887
  }
888
888
  function Fr(e, t = !0) {
889
- w.id = e, sessionStorage.setItem("f", A.enCode(w)), O.dynamicURL && O.dynamicURL(w), t && O.id(e);
889
+ b.id = e, sessionStorage.setItem("f", A.enCode(b)), O.dynamicURL && O.dynamicURL(b), t && O.id(e);
890
890
  }
891
891
  function Fn() {
892
- return w.id;
892
+ return b.id;
893
893
  }
894
894
  function Pr(e) {
895
- return Number(w.id) === e;
895
+ return Number(b.id) === e;
896
896
  }
897
897
  function Or(e, t, n) {
898
- w.module = e, w.id = n, w.tab = t, sessionStorage.setItem("f", A.enCode(w)), O.dynamicURL && O.dynamicURL(w), O.module(e), O.tabs(t);
898
+ b.module = e, b.id = n, b.tab = t, sessionStorage.setItem("f", A.enCode(b)), O.dynamicURL && O.dynamicURL(b), O.module(e), O.tabs(t);
899
899
  }
900
900
  function Ar(e, t, n, r) {
901
901
  var s, i, o;
902
- if (w.page === e)
903
- if (w.module === t) {
904
- if (w.tab = n || "", w.id = r || 0, w.tab === "") return;
902
+ if (b.page === e)
903
+ if (b.module === t) {
904
+ if (b.tab = n || "", b.id = r || 0, b.tab === "") return;
905
905
  (s = O.tabs) == null || s.call(O, n);
906
906
  } else
907
- w.module = t, w.tab = n || "", w.id = r || 0, (i = O.module) == null || i.call(O, t);
907
+ b.module = t, b.tab = n || "", b.id = r || 0, (i = O.module) == null || i.call(O, t);
908
908
  else
909
- w.module = t, w.tab = n || "", w.id = r || 0, w.page = e, (o = O.page) == null || o.call(O, e);
910
- sessionStorage.setItem("f", A.enCode(w)), O.dynamicURL && O.dynamicURL(w);
909
+ b.module = t, b.tab = n || "", b.id = r || 0, b.page = e, (o = O.page) == null || o.call(O, e);
910
+ sessionStorage.setItem("f", A.enCode(b)), O.dynamicURL && O.dynamicURL(b);
911
911
  }
912
912
  function Ur(e) {
913
913
  Le.data = e[0], delete Le.data.id, document.body.dataset.theme = Le.data.s15, localStorage.setItem("s", A.enCode(Le.data));
@@ -917,7 +917,7 @@ function Gr(e, t) {
917
917
  }
918
918
  function Zr(e) {
919
919
  let t = localStorage.getItem("s");
920
- return t === null ? {} : (t = A.deCode(t), t ? e !== void 0 ? t[e] : t : ne());
920
+ return t === null ? {} : (t = A.deCode(t), t ? e !== void 0 ? t[e] : t : ae());
921
921
  }
922
922
  function Pn(e) {
923
923
  localStorage.setItem("m", A.enCode({ data: e }));
@@ -926,7 +926,7 @@ function zr() {
926
926
  let e = localStorage.getItem("m");
927
927
  if (e !== "" && e !== "undefined" && e !== null) {
928
928
  let t = localStorage.getItem("m"), n = A.deCode(t);
929
- n || ne();
929
+ n || ae();
930
930
  const r = (i, o) => {
931
931
  let l = o + "";
932
932
  for (; l.length < i; ) l = "0" + l;
@@ -934,7 +934,7 @@ function zr() {
934
934
  };
935
935
  return n.data.split(",").map((i) => "M" + r(2, i));
936
936
  } else
937
- return ne(), !1;
937
+ return ae(), !1;
938
938
  }
939
939
  function Wr(e) {
940
940
  O.sort = e;
@@ -955,9 +955,9 @@ function Un(e, t) {
955
955
  let n = localStorage.getItem("c");
956
956
  if (n !== "" && n !== "undefined" && n !== null) {
957
957
  let s = A.deCode(n);
958
- return s || ne(), e === void 0 ? s : t ? (r = s[e][t]) == null ? void 0 : r.n : s[e];
958
+ return s || ae(), e === void 0 ? s : t ? (r = s[e][t]) == null ? void 0 : r.n : s[e];
959
959
  } else
960
- return ne(), !1;
960
+ return ae(), !1;
961
961
  }
962
962
  function qe(e) {
963
963
  me.data = e, localStorage.setItem("q", A.enCode(me.data));
@@ -973,16 +973,16 @@ function Ce(e, t) {
973
973
  return e === void 0 && t === void 0 ? me.data : e !== void 0 && t === void 0 ? me.data[e] : me.data[e][t];
974
974
  }
975
975
  function Hr(e) {
976
- Tn.data = e;
976
+ Nn.data = e;
977
977
  }
978
978
  function Yr(e) {
979
- return Tn.data[e];
979
+ return Nn.data[e];
980
980
  }
981
981
  function qr(e) {
982
- w.payment = e;
982
+ b.payment = e;
983
983
  }
984
984
  function Jr() {
985
- return w.payment;
985
+ return b.payment;
986
986
  }
987
987
  function Gn(e) {
988
988
  localStorage.setItem("u", A.enCode(e));
@@ -991,9 +991,9 @@ function Vr(e) {
991
991
  let t = localStorage.getItem("u");
992
992
  if (t !== "" && t !== "undefined" && t !== null) {
993
993
  let n = A.deCode(t);
994
- return n || ne(), e ? n[e] : n;
994
+ return n || ae(), e ? n[e] : n;
995
995
  } else
996
- return ne(), !1;
996
+ return ae(), !1;
997
997
  }
998
998
  function Xr() {
999
999
  let e = localStorage.getItem("u");
@@ -1007,7 +1007,7 @@ function Qr() {
1007
1007
  if (e !== "" && e !== "undefined" && e !== null)
1008
1008
  try {
1009
1009
  let t = A.deCode(e);
1010
- return t || ne(), t;
1010
+ return t || ae(), t;
1011
1011
  } catch {
1012
1012
  return {};
1013
1013
  }
@@ -1021,17 +1021,17 @@ function es(e) {
1021
1021
  try {
1022
1022
  let s = A.deCode(r);
1023
1023
  if (!s) return;
1024
- w[n] = { is: !0, time: s.time, data: s.data };
1024
+ b[n] = { is: !0, time: s.time, data: s.data };
1025
1025
  } catch {
1026
- w[n] = { is: !1, time: 0, data: {} };
1026
+ b[n] = { is: !1, time: 0, data: {} };
1027
1027
  }
1028
1028
  else
1029
- w[n] = { is: !1, time: 0, data: {} };
1029
+ b[n] = { is: !1, time: 0, data: {} };
1030
1030
  };
1031
1031
  e.forEach((n) => t(n));
1032
1032
  }
1033
1033
  function ts(e) {
1034
- return w[e] === void 0 ? (w[e] = { data: {}, time: 0 }, { data: {}, time: 0 }) : w[e];
1034
+ return b[e] === void 0 ? (b[e] = { data: {}, time: 0 }, { data: {}, time: 0 }) : b[e];
1035
1035
  }
1036
1036
  function ns(e, t) {
1037
1037
  be[e] = t, localStorage.setItem("t", A.enCode(be));
@@ -1041,19 +1041,19 @@ function as(e) {
1041
1041
  let t = localStorage.getItem("t");
1042
1042
  if (t !== "" && t !== "undefined" && t !== null) {
1043
1043
  let n = A.deCode(t);
1044
- return n || ne(), Object.keys(n).forEach((r) => {
1044
+ return n || ae(), Object.keys(n).forEach((r) => {
1045
1045
  be[r] = n[r];
1046
1046
  }), e ? be[e] : be;
1047
1047
  } else
1048
- return ne(), {};
1048
+ return ae(), {};
1049
1049
  } else
1050
1050
  return e ? be[e] : be;
1051
1051
  }
1052
1052
  function rs(e, t) {
1053
- w[e] = { data: t.data, time: t.time }, localStorage.setItem(e, A.enCode(w[e]));
1053
+ b[e] = { data: t.data, time: t.time }, localStorage.setItem(e, A.enCode(b[e]));
1054
1054
  }
1055
1055
  function ss(e, t, n) {
1056
- w[e].time = n, w[e].data[t.item][t.name] = t.value, localStorage.setItem(e, A.enCode(w[e]));
1056
+ b[e].time = n, b[e].data[t.item][t.name] = t.value, localStorage.setItem(e, A.enCode(b[e]));
1057
1057
  }
1058
1058
  function is() {
1059
1059
  var n;
@@ -1078,7 +1078,7 @@ const X = {
1078
1078
  setPORT: Er,
1079
1079
  setAUTH: wr,
1080
1080
  getAUTH: Sr,
1081
- Logaut: ne,
1081
+ Logaut: ae,
1082
1082
  Start: kr,
1083
1083
  setMenu: Pn,
1084
1084
  getMenu: zr,
@@ -1152,7 +1152,7 @@ function dt(e) {
1152
1152
  return le.i(e);
1153
1153
  }
1154
1154
  function hs(e) {
1155
- Nn(e);
1155
+ Tn(e);
1156
1156
  }
1157
1157
  const gs = "_i_it11s_1", ps = {
1158
1158
  i: gs
@@ -1279,7 +1279,7 @@ async function Is(e, t, n = {}) {
1279
1279
  return { status: "error" };
1280
1280
  }
1281
1281
  }
1282
- async function Ns(e, t = {}) {
1282
+ async function Ts(e, t = {}) {
1283
1283
  try {
1284
1284
  return await (await Ve("https://tb.elcrm.online/v1/" + e, {
1285
1285
  method: "POST",
@@ -1290,7 +1290,7 @@ async function Ns(e, t = {}) {
1290
1290
  return { status: "error" };
1291
1291
  }
1292
1292
  }
1293
- function Ts(e = "qJqEtGe93RVTRF1gTKmdEXw6gCgrSx31") {
1293
+ function Ns(e = "qJqEtGe93RVTRF1gTKmdEXw6gCgrSx31") {
1294
1294
  return e[(e.length / 2).toFixed()] + e[(e.length / 3).toFixed()] + e[(e.length / 4).toFixed()] + e[(e.length / 2).toFixed()];
1295
1295
  }
1296
1296
  async function Ls(e, t = {}) {
@@ -1306,9 +1306,9 @@ const Dt = {
1306
1306
  remoute: Is,
1307
1307
  url: ys,
1308
1308
  test: Ls,
1309
- telegram: Ns,
1309
+ telegram: Ts,
1310
1310
  use: Rs,
1311
- token: Ts,
1311
+ token: Ns,
1312
1312
  formData: Es
1313
1313
  };
1314
1314
  function Ms(e, t) {
@@ -1349,16 +1349,16 @@ function $s(e) {
1349
1349
  };
1350
1350
  }
1351
1351
  const Bs = (e) => {
1352
- function t(T, $) {
1353
- var R, E, N;
1354
- T = T ?? "", $ = $ ?? 1;
1355
- for (var R = [], N = 0, E = T.length; N < E; )
1356
- R.push(T.slice(N, N += $));
1352
+ function t(N, B) {
1353
+ var R, S, T;
1354
+ N = N ?? "", B = B ?? 1;
1355
+ for (var R = [], T = 0, S = N.length; T < S; )
1356
+ R.push(N.slice(T, T += B));
1357
1357
  return R;
1358
1358
  }
1359
- function n(T, $) {
1359
+ function n(N, B) {
1360
1360
  var R = [2, 0, 1, 1, 1, 2];
1361
- return $[T > 4 && T < 20 ? 2 : R[Math.min(T, 5)]];
1361
+ return B[N > 4 && N < 20 ? 2 : R[Math.min(N, 5)]];
1362
1362
  }
1363
1363
  var r = {
1364
1364
  null: "ноль",
@@ -1422,25 +1422,25 @@ const Bs = (e) => {
1422
1422
  u3: ["тысяча", "тысячи", "тысяч"],
1423
1423
  u2: ["миллион", "миллиона", "миллионов"],
1424
1424
  u1: ["миллиард", "миллиарда", "миллиардов"]
1425
- }, s, i, o, l, g, c, _, p, u, x, f, m;
1425
+ }, s, i, o, l, g, c, _, x, u, p, f, m;
1426
1426
  u = parseFloat(e).toFixed(2).split("."), c = u[0], l = u[1];
1427
1427
  var k = 12 - c.length;
1428
1428
  if (k < 0)
1429
1429
  return !1;
1430
- for (var p = []; k--; )
1431
- p.push("0");
1432
- c = p.join("") + c;
1430
+ for (var x = []; k--; )
1431
+ x.push("0");
1432
+ c = x.join("") + c;
1433
1433
  var g = [];
1434
1434
  if (c > 0) {
1435
- x = t(c, 3);
1436
- for (var v = -1; v < x.length; v++)
1437
- if (_ = x[v], _ > 0 && (f = t(_, 1), s = parseInt(f[0]), i = parseInt(f[1]), o = parseInt(f[2]), g.push(r.a100[s - 1]), m = v + 1 == 3 ? "a2" : "a1", i > 1 ? g.push(
1435
+ p = t(c, 3);
1436
+ for (var v = -1; v < p.length; v++)
1437
+ if (_ = p[v], _ > 0 && (f = t(_, 1), s = parseInt(f[0]), i = parseInt(f[1]), o = parseInt(f[2]), g.push(r.a100[s - 1]), m = v + 1 == 3 ? "a2" : "a1", i > 1 ? g.push(
1438
1438
  r.a20[i - 2] + (o > 0 ? " " + r[m][o - 1] : "")
1439
1439
  ) : g.push(
1440
1440
  i > 0 ? r.a10[o] : r[m][o - 1]
1441
- ), x.length > v + 1)) {
1442
- var b = r["u" + (v + 1)];
1443
- g.push(n(_, b));
1441
+ ), p.length > v + 1)) {
1442
+ var y = r["u" + (v + 1)];
1443
+ g.push(n(_, y));
1444
1444
  }
1445
1445
  } else
1446
1446
  g.push(r.null);
@@ -1580,8 +1580,8 @@ function Os(e, t, n, r) {
1580
1580
  word: function(o, l, c, _) {
1581
1581
  if (_ === this.gcaseNom) return o;
1582
1582
  if (o.match(/[-]/)) {
1583
- for (var u = o.split("-"), x = 0, f = u.length; x < f; x++)
1584
- u[x] = this.word(u[x], l, c, _);
1583
+ for (var u = o.split("-"), p = 0, f = u.length; p < f; p++)
1584
+ u[p] = this.word(u[p], l, c, _);
1585
1585
  return u.join("-");
1586
1586
  }
1587
1587
  if (o.match(/^[А-ЯЁ]\.?$/i)) return o;
@@ -1592,16 +1592,16 @@ function Os(e, t, n, r) {
1592
1592
  },
1593
1593
  // выбираем из списка правил первое подходящее и применяем
1594
1594
  pick: function(o, l, c, _, u) {
1595
- let x = o.toLowerCase();
1595
+ let p = o.toLowerCase();
1596
1596
  for (var f = 0, m = _.length; f < m; f++)
1597
- if (this.ruleMatch(x, l, _[f], u))
1597
+ if (this.ruleMatch(p, l, _[f], u))
1598
1598
  return this.applyMod(o, c, _[f]);
1599
1599
  return !1;
1600
1600
  },
1601
1601
  // проверяем, подходит ли правило к слову
1602
1602
  ruleMatch: function(o, l, c, _) {
1603
1603
  if (c.sex === this.sexM && l === this.sexF || c.sex === this.sexF && l !== this.sexF) return !1;
1604
- for (var u = 0, x = c.test.length; u < x; u++) {
1604
+ for (var u = 0, p = c.test.length; u < p; u++) {
1605
1605
  var f = _ ? o : o.substr(
1606
1606
  Math.max(o.length - c.test[u].length, 0)
1607
1607
  );
@@ -1632,7 +1632,7 @@ function Os(e, t, n, r) {
1632
1632
  _ = c.mods[4];
1633
1633
  break;
1634
1634
  }
1635
- for (var u = 0, x = _.length; u < x; u++) {
1635
+ for (var u = 0, p = _.length; u < p; u++) {
1636
1636
  var f = _.substr(u, 1);
1637
1637
  switch (f) {
1638
1638
  case ".":
@@ -1951,9 +1951,9 @@ const he = {
1951
1951
  getPage: Ln,
1952
1952
  usePage: Dr,
1953
1953
  isPage: Ir,
1954
- setModule: Tr,
1954
+ setModule: Nr,
1955
1955
  getModule: Mn,
1956
- useModule: Nr,
1956
+ useModule: Tr,
1957
1957
  isModule: Lr,
1958
1958
  setTabs: Bn,
1959
1959
  getTabs: Me,
@@ -2247,13 +2247,13 @@ function Ii(e) {
2247
2247
  let r = { ...Ce(), 901: t };
2248
2248
  An(n), qe(r);
2249
2249
  }
2250
- function Ni() {
2250
+ function Ti() {
2251
2251
  let e = Un(), t = {};
2252
2252
  return Object.keys(e).forEach((n) => {
2253
2253
  t[e[n].id] = {}, t[e[n].id].name = e[n].a;
2254
2254
  }), t;
2255
2255
  }
2256
- let ue = {}, ee = {}, rt = [
2256
+ let ue = {}, te = {}, rt = [
2257
2257
  "filter",
2258
2258
  "online",
2259
2259
  "users",
@@ -2263,7 +2263,7 @@ let ue = {}, ee = {}, rt = [
2263
2263
  "info",
2264
2264
  "job"
2265
2265
  ];
2266
- function Ti() {
2266
+ function Ni() {
2267
2267
  const [e, t] = h.useState(!1), [n, r] = h.useState(!1);
2268
2268
  function s(i) {
2269
2269
  const o = new Ri();
@@ -2278,7 +2278,7 @@ function Ti() {
2278
2278
  type: "connect",
2279
2279
  ukey: i,
2280
2280
  lk: St()
2281
- }), rt.length !== 0 && ue.laodData(c.type), ee[c.type] && ee[c.type](c);
2281
+ }), rt.length !== 0 && ue.laodData(c.type), te[c.type] && te[c.type](c);
2282
2282
  }, o.port.postMessage({
2283
2283
  type: "connect",
2284
2284
  ukey: i,
@@ -2287,23 +2287,23 @@ function Ti() {
2287
2287
  }
2288
2288
  return [s, e, n];
2289
2289
  }
2290
- ee.module = (e) => {
2290
+ te.module = (e) => {
2291
2291
  ue[e.listen] !== void 0 && (ue[e.listen](e), delete ue[e.listen]);
2292
2292
  };
2293
- ee.bell = bi;
2294
- ee.company = Ii;
2295
- ee.info = (e) => {
2293
+ te.bell = bi;
2294
+ te.company = Ii;
2295
+ te.info = (e) => {
2296
2296
  let t = {};
2297
2297
  t.db = e.db, t.id = e.data.id, t.job = e.data.job, t.login = e.data.login, t.name = e.data.p02, t.patronymic = e.data.p03, t.surname = e.data.p01, t.email = e.data.email, t.admin = e.data.menu.includes("99"), Gn(t), Pn(e.data.menu);
2298
2298
  };
2299
- ee.version = async (e) => {
2299
+ te.version = async (e) => {
2300
2300
  Be.version.Server(e.data);
2301
2301
  };
2302
- ee.online = async (e) => {
2302
+ te.online = async (e) => {
2303
2303
  };
2304
- ee.offline = async (e) => {
2304
+ te.offline = async (e) => {
2305
2305
  };
2306
- ee.chat = (e) => {
2306
+ te.chat = (e) => {
2307
2307
  switch (e.data.action) {
2308
2308
  case "new_message":
2309
2309
  he.getModule();
@@ -2316,7 +2316,7 @@ ee.chat = (e) => {
2316
2316
  break;
2317
2317
  }
2318
2318
  };
2319
- ee.users = (e) => {
2319
+ te.users = (e) => {
2320
2320
  let t = {};
2321
2321
  e.data.forEach((r) => {
2322
2322
  let s = r.p01 + " " + r.p02 + " " + r.p03, i = r.p01 + " " + r.p02.substring(0, 1) + "." + r.p03.substring(0, 1) + ".", o = r.p01.substring(0, 1) + "" + r.p02.substring(0, 1) + r.p03.substring(0, 1);
@@ -2336,31 +2336,31 @@ ee.users = (e) => {
2336
2336
  let n = { ...Ce(), user: t };
2337
2337
  qe(n);
2338
2338
  };
2339
- ee.api = (e) => {
2339
+ te.api = (e) => {
2340
2340
  let t = {};
2341
2341
  e.data.forEach((n) => {
2342
2342
  t[n.api] = { key: n.key, p01: n.p01, p02: n.p02 };
2343
2343
  });
2344
2344
  };
2345
- ee.delete = () => {
2346
- ne();
2345
+ te.delete = () => {
2346
+ ae();
2347
2347
  };
2348
- ee.select = (e) => {
2348
+ te.select = (e) => {
2349
2349
  let t = { ...Ce() };
2350
2350
  e.data.forEach((n) => {
2351
2351
  t[n.n] = JSON.parse(n.s);
2352
2352
  }), qe(t);
2353
2353
  };
2354
- ee.job = (e) => {
2354
+ te.job = (e) => {
2355
2355
  let t = { ...Ce() }, n = {};
2356
2356
  Object.keys(e.data).forEach((r) => {
2357
2357
  n[r] = { s: 1, n: e.data[r] };
2358
2358
  }), t[1] = n, qe(t);
2359
2359
  };
2360
- ee.setting = (e) => {
2360
+ te.setting = (e) => {
2361
2361
  Ur(e.data);
2362
2362
  };
2363
- ee.app = () => {
2363
+ te.app = () => {
2364
2364
  };
2365
2365
  const Li = (e, t) => {
2366
2366
  ue[e] = t;
@@ -2375,7 +2375,7 @@ function $i(e) {
2375
2375
  }, e = { ...e, listen: t }, e.type = "modules", ue.send(e);
2376
2376
  });
2377
2377
  }
2378
- const ke = { useConnect: Ti, useListener: Li, setListener: Mi, Send: $i };
2378
+ const ke = { useConnect: Ni, useListener: Li, setListener: Mi, Send: $i };
2379
2379
  function Bi({ children: e }) {
2380
2380
  return /* @__PURE__ */ a.jsx("div", { className: "l", children: /* @__PURE__ */ a.jsx("ul", { children: e }) });
2381
2381
  }
@@ -2447,11 +2447,11 @@ const mo = "_btn_294gf_1", ho = "_confirm_294gf_15", go = "_cancel_294gf_20", po
2447
2447
  after: c,
2448
2448
  before: _,
2449
2449
  label: u,
2450
- onRef: x,
2450
+ onRef: p,
2451
2451
  awaitText: f = "Ожидайте"
2452
2452
  }) => {
2453
2453
  let [m, k] = h.useState(!1);
2454
- const p = (v) => {
2454
+ const x = (v) => {
2455
2455
  if (e) return e();
2456
2456
  m || (t ? (k(!0), t(k)) : v.preventDefault());
2457
2457
  };
@@ -2460,14 +2460,14 @@ const mo = "_btn_294gf_1", ho = "_confirm_294gf_15", go = "_cancel_294gf_20", po
2460
2460
  "button",
2461
2461
  {
2462
2462
  ...g,
2463
- ref: x,
2463
+ ref: p,
2464
2464
  className: [
2465
2465
  st.btn,
2466
2466
  m ? st.disabled : st[r],
2467
2467
  n && st[n],
2468
2468
  l
2469
2469
  ].join(" "),
2470
- onClick: p,
2470
+ onClick: x,
2471
2471
  children: m ? f : /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
2472
2472
  _ || "",
2473
2473
  " ",
@@ -2497,7 +2497,7 @@ function yo({
2497
2497
  shake: o = !0,
2498
2498
  menu: l
2499
2499
  }) {
2500
- const [c, _] = h.useState(!0), u = h.useRef(), x = (m) => {
2500
+ const [c, _] = h.useState(!0), u = h.useRef(), p = (m) => {
2501
2501
  if (n) {
2502
2502
  if (n.onClick)
2503
2503
  return m(!1), n.onClick({ setOpen: _ });
@@ -2568,7 +2568,7 @@ function yo({
2568
2568
  Co,
2569
2569
  {
2570
2570
  label: n.label,
2571
- onSend: x,
2571
+ onSend: p,
2572
2572
  className: se.btn
2573
2573
  }
2574
2574
  ) : ""
@@ -2653,10 +2653,10 @@ function Yn({ text: e, type: t, button: n }) {
2653
2653
  n && /* @__PURE__ */ a.jsx("button", { onClick: o, children: n.label })
2654
2654
  ] });
2655
2655
  }
2656
- const Io = "_h_1usnu_1", No = "_g_1usnu_11", To = "_hr_1usnu_16", Lo = "_hl_1usnu_28", Mo = "_t_1usnu_40", $o = "_s_1usnu_60", Bo = "_u_1usnu_69", Fo = "_o_1usnu_76", Po = "_l_1usnu_105", Oo = "_hh_1usnu_115", Ao = "_c_1usnu_128", Uo = "_loadingB_1usnu_1", Go = "_m_1usnu_180", Zo = "_ul_1usnu_196", zo = "_f_1usnu_226", ie = {
2656
+ const Io = "_h_1usnu_1", To = "_g_1usnu_11", No = "_hr_1usnu_16", Lo = "_hl_1usnu_28", Mo = "_t_1usnu_40", $o = "_s_1usnu_60", Bo = "_u_1usnu_69", Fo = "_o_1usnu_76", Po = "_l_1usnu_105", Oo = "_hh_1usnu_115", Ao = "_c_1usnu_128", Uo = "_loadingB_1usnu_1", Go = "_m_1usnu_180", Zo = "_ul_1usnu_196", zo = "_f_1usnu_226", ie = {
2657
2657
  h: Io,
2658
- g: No,
2659
- hr: To,
2658
+ g: To,
2659
+ hr: No,
2660
2660
  hl: Lo,
2661
2661
  t: Mo,
2662
2662
  s: $o,
@@ -3014,7 +3014,7 @@ const tl = () => {
3014
3014
  return /* @__PURE__ */ a.jsx("span", { onContextMenu: t, onClick: n, children: e.name });
3015
3015
  }, al = (e) => {
3016
3016
  q.active(e);
3017
- }, Y = {}, Nt = {}, I = {};
3017
+ }, Y = {}, Tt = {}, I = {};
3018
3018
  I.config = { iceServers: [{ url: "stun:stun.l.google.com:19302" }] };
3019
3019
  I.constraints = { optional: [{ DtlsSrtpKeyAgreement: !0 }] };
3020
3020
  I.other = [];
@@ -3068,10 +3068,10 @@ Y.start = async (e) => {
3068
3068
  }, e();
3069
3069
  };
3070
3070
  Y.useListener = (e) => {
3071
- Nt.rtc = e;
3071
+ Tt.rtc = e;
3072
3072
  };
3073
3073
  Y.setListener = (e) => {
3074
- Nt.rtc && Nt.rtc(e);
3074
+ Tt.rtc && Tt.rtc(e);
3075
3075
  };
3076
3076
  Y.callTo = async (e) => {
3077
3077
  Y.start(async () => {
@@ -3280,18 +3280,18 @@ function il({ id: e, type: t }) {
3280
3280
  /* @__PURE__ */ a.jsx("div", { className: "b", children: o() })
3281
3281
  ] }) });
3282
3282
  }
3283
- const Tt = {};
3283
+ const Nt = {};
3284
3284
  function ol(e) {
3285
- Tt.add(e);
3285
+ Nt.add(e);
3286
3286
  }
3287
3287
  function ll({ color: e, size: t, name: n }) {
3288
3288
  return /* @__PURE__ */ a.jsx("svg", { width: t, height: t, color: e, children: /* @__PURE__ */ a.jsx("use", { href: `#${n}` }) });
3289
3289
  }
3290
3290
  function cl() {
3291
3291
  let [e, t] = h.useState([]);
3292
- if (Tt.x = () => {
3292
+ if (Nt.x = () => {
3293
3293
  t([]);
3294
- }, Tt.add = (r) => {
3294
+ }, Nt.add = (r) => {
3295
3295
  t(r);
3296
3296
  }, e.length === 0) return "";
3297
3297
  const n = { sprite: "" };
@@ -3460,9 +3460,9 @@ const Od = ({ children: e, ...t }) => /* @__PURE__ */ a.jsxs("div", { className:
3460
3460
  link: i.link
3461
3461
  },
3462
3462
  i.link
3463
- )) }) }), Rl = ({ onClick: e, label: t, link: n, active: r }) => /* @__PURE__ */ a.jsx("li", { "tabs-active": String(r === n), onClick: () => e(n), children: t }), Il = "_tabs_1i88v_1", Nl = "_tab_1i88v_1", bn = {
3463
+ )) }) }), Rl = ({ onClick: e, label: t, link: n, active: r }) => /* @__PURE__ */ a.jsx("li", { "tabs-active": String(r === n), onClick: () => e(n), children: t }), Il = "_tabs_1i88v_1", Tl = "_tab_1i88v_1", bn = {
3464
3464
  tabs: Il,
3465
- tab: Nl
3465
+ tab: Tl
3466
3466
  }, Vn = ({ list: e = [], active: t, onTab: n }) => /* @__PURE__ */ a.jsx("nav", { className: [bn.tabs, "tabs"].join(" "), children: e.map((r) => /* @__PURE__ */ In(
3467
3467
  "div",
3468
3468
  {
@@ -3472,7 +3472,7 @@ const Od = ({ children: e, ...t }) => /* @__PURE__ */ a.jsxs("div", { className:
3472
3472
  key: r.id
3473
3473
  },
3474
3474
  r.label
3475
- )) }), Tl = ({
3475
+ )) }), Nl = ({
3476
3476
  list: e = [],
3477
3477
  active: t,
3478
3478
  onChange: n,
@@ -3512,7 +3512,7 @@ const Od = ({ children: e, ...t }) => /* @__PURE__ */ a.jsxs("div", { className:
3512
3512
  ]
3513
3513
  }
3514
3514
  );
3515
- }, Ad = { List: Dl, Lite: Vn, Button: Tl }, Ml = ({
3515
+ }, Ad = { List: Dl, Lite: Vn, Button: Nl }, Ml = ({
3516
3516
  title: e = "",
3517
3517
  button: t,
3518
3518
  description: n = "",
@@ -3718,19 +3718,19 @@ function Qn({
3718
3718
  searchParams: s = ["p01", "p02", "p03"],
3719
3719
  ...i
3720
3720
  }) {
3721
- const [o, l] = h.useState([]), [c, _] = h.useState([]), [u, x] = h.useState(!1), f = async () => {
3721
+ const [o, l] = h.useState([]), [c, _] = h.useState([]), [u, p] = h.useState(!1), f = async () => {
3722
3722
  let m = await Dt.fetch(e, t);
3723
- m.data && m.data.length > 0 && (l(m.data), _(m.data)), x(!0);
3723
+ m.data && m.data.length > 0 && (l(m.data), _(m.data)), p(!0);
3724
3724
  };
3725
3725
  return ge.useListener("list_children", (m) => {
3726
3726
  if (m.action === "edit") {
3727
3727
  let k = c.map(
3728
- (p) => p.id === m.id ? Object.assign(p, { [m.name]: m.value }) : p
3728
+ (x) => x.id === m.id ? Object.assign(x, { [m.name]: m.value }) : x
3729
3729
  );
3730
3730
  l(k), _(k);
3731
3731
  }
3732
3732
  if (m.action === "delete") {
3733
- let k = c.filter((p) => p.id !== m.id);
3733
+ let k = c.filter((x) => x.id !== m.id);
3734
3734
  l(k), _(k);
3735
3735
  }
3736
3736
  }), ge.useListener("search", (m) => {
@@ -3883,18 +3883,18 @@ const Fe = () => (yt || (yt = new mc()), yt), Se = (e, t, n = Fe()) => n._withID
3883
3883
  };
3884
3884
  }).then(() => t);
3885
3885
  }, pc = (e, t, n = [], r = {}) => {
3886
- let s = n.length !== 0, i = [], o = r.sort, l = Object.keys(r).length !== 0, c = Object.keys(r), _ = Object.keys(e), u = [], x = (m) => {
3886
+ let s = n.length !== 0, i = [], o = r.sort, l = Object.keys(r).length !== 0, c = Object.keys(r), _ = Object.keys(e), u = [], p = (m) => {
3887
3887
  let k = "";
3888
- if (n.forEach((p) => {
3889
- k += t[m][p];
3888
+ if (n.forEach((x) => {
3889
+ k += t[m][x];
3890
3890
  }), l) {
3891
- let p = {};
3891
+ let x = {};
3892
3892
  c.forEach((g) => {
3893
- p[g] = t[m][g];
3893
+ x[g] = t[m][g];
3894
3894
  });
3895
3895
  for (let g in o)
3896
- t[m][o[g]] === void 0 && (Ft(), location.reload()), g === "s1" && (p[g] = new Date(t[m][o[g]]).getTime()), g === "s2" && (p[g] = t[m][o[g]]), g === "s3" && (p[g] = t[m][o[g]].replace(/[^a-zа-яё]/gi, "").substring(0, 1));
3897
- i.push({ id: m, text: k, ...p });
3896
+ t[m][o[g]] === void 0 && (Ft(), location.reload()), g === "s1" && (x[g] = new Date(t[m][o[g]]).getTime()), g === "s2" && (x[g] = t[m][o[g]]), g === "s3" && (x[g] = t[m][o[g]].replace(/[^a-zа-яё]/gi, "").substring(0, 1));
3897
+ i.push({ id: m, text: k, ...x });
3898
3898
  } else
3899
3899
  i.push({ id: m, text: k });
3900
3900
  }, f = (m) => {
@@ -3902,7 +3902,7 @@ const Fe = () => (yt || (yt = new mc()), yt), Se = (e, t, n = Fe()) => n._withID
3902
3902
  return _.forEach((m) => {
3903
3903
  u.push(t[m]);
3904
3904
  }), u.forEach((m) => {
3905
- m === void 0 ? (Ft(), location.reload()) : (s && x(m.id), l && f(m.id));
3905
+ m === void 0 ? (Ft(), location.reload()) : (s && p(m.id), l && f(m.id));
3906
3906
  }), { list: u, search: i, filter: r };
3907
3907
  }, xc = (e, t, n, r = Fe()) => {
3908
3908
  if (V[e] === void 0)
@@ -3982,7 +3982,7 @@ const Fe = () => (yt || (yt = new mc()), yt), Se = (e, t, n = Fe()) => n._withID
3982
3982
  function ta({ children: e }) {
3983
3983
  return /* @__PURE__ */ a.jsx("ul", { className: ie.ul, children: e });
3984
3984
  }
3985
- function Nc(e, t) {
3985
+ function Tc(e, t) {
3986
3986
  switch (t.type) {
3987
3987
  case "load":
3988
3988
  return {
@@ -4015,13 +4015,13 @@ function Nc(e, t) {
4015
4015
  throw new Error();
4016
4016
  }
4017
4017
  }
4018
- function Tc({
4018
+ function Nc({
4019
4019
  list: e,
4020
4020
  load: t,
4021
4021
  className: n,
4022
4022
  ...r
4023
4023
  }) {
4024
- const s = h.useRef(null), [i, o] = h.useReducer(Nc, {
4024
+ const s = h.useRef(null), [i, o] = h.useReducer(Tc, {
4025
4025
  load: !1,
4026
4026
  list: [],
4027
4027
  data: {},
@@ -4086,65 +4086,65 @@ function He({
4086
4086
  edit: c = !0,
4087
4087
  active: _ = !0,
4088
4088
  after: u = "",
4089
- before: x = "",
4089
+ before: p = "",
4090
4090
  show: f = !0,
4091
4091
  maxLength: m,
4092
4092
  view: k,
4093
- onBlur: p,
4093
+ onBlur: x,
4094
4094
  onSave: g,
4095
4095
  className: v = "",
4096
- isCopy: b = !0,
4097
- isReload: T = !1
4096
+ isCopy: y = !0,
4097
+ isReload: N = !1
4098
4098
  }) {
4099
- let $ = !!(l && (t === "" || t === void 0)), R = (j) => {
4099
+ let B = !!(l && (t === "" || t === void 0)), R = (E) => {
4100
4100
  n && n({
4101
- value: j.target.textContent.trim(),
4101
+ value: E.target.textContent.trim(),
4102
4102
  name: r,
4103
- reload: T
4103
+ reload: N
4104
4104
  });
4105
- }, N = (j) => {
4106
- m && j.target.textContent.trim().length >= m && j.key !== "Backspace" && j.preventDefault(), j.key === "Enter" && j.preventDefault();
4107
- }, E = (j) => {
4108
- b && (j.preventDefault(), navigator.clipboard.writeText(j.target.textContent.trim()).then(
4105
+ }, T = (E) => {
4106
+ m && E.target.textContent.trim().length >= m && E.key !== "Backspace" && E.preventDefault(), E.key === "Enter" && E.preventDefault();
4107
+ }, S = (E) => {
4108
+ y && (E.preventDefault(), navigator.clipboard.writeText(E.target.textContent.trim()).then(
4109
4109
  function() {
4110
4110
  je.Copy("Данные в буфер обмене");
4111
4111
  },
4112
- function(y) {
4112
+ function(j) {
4113
4113
  }
4114
4114
  ));
4115
- }, D = (j) => {
4116
- m && (j.preventDefault(), navigator.clipboard.readText().then((y) => {
4117
- y = y.slice(0, m), window.document.execCommand(
4115
+ }, D = (E) => {
4116
+ m && (E.preventDefault(), navigator.clipboard.readText().then((j) => {
4117
+ j = j.slice(0, m), window.document.execCommand(
4118
4118
  "insertText",
4119
4119
  !1,
4120
- y.replace(/(\r\n|\n|\r)/gm, " ")
4120
+ j.replace(/(\r\n|\n|\r)/gm, " ")
4121
4121
  );
4122
- }).catch((y) => {
4122
+ }).catch((j) => {
4123
4123
  }));
4124
4124
  };
4125
- if (!(c && _) && !f || !(c && _) && $) return "";
4126
- const B = {};
4127
- B.field = "input", v && (B.className = v);
4128
- const M = {};
4129
- s && (M.placeholder = s), c && _ && (M.edit = "");
4130
- const L = (j) => {
4131
- K.Blur(j), g == null || g({ value: j.target.textContent.trim(), name: r });
4125
+ if (!(c && _) && !f || !(c && _) && B) return "";
4126
+ const F = {};
4127
+ F.field = "input", v && (F.className = v);
4128
+ const $ = {};
4129
+ s && ($.placeholder = s), c && _ && ($.edit = "");
4130
+ const L = (E) => {
4131
+ K.Blur(E), g == null || g({ value: E.target.textContent.trim(), name: r });
4132
4132
  };
4133
- return /* @__PURE__ */ a.jsxs("dl", { ...B, children: [
4133
+ return /* @__PURE__ */ a.jsxs("dl", { ...F, children: [
4134
4134
  i ? /* @__PURE__ */ a.jsx("dt", { children: i }) : "",
4135
- x,
4135
+ p,
4136
4136
  /* @__PURE__ */ a.jsx(
4137
4137
  "dd",
4138
4138
  {
4139
4139
  onPaste: D,
4140
4140
  onInput: R,
4141
4141
  onBlur: L,
4142
- onKeyDown: N,
4143
- onContextMenu: E,
4142
+ onKeyDown: T,
4143
+ onContextMenu: S,
4144
4144
  spellCheck: "true",
4145
4145
  contentEditable: c && _ ? K.ContentEditable : "false",
4146
4146
  suppressContentEditableWarning: !0,
4147
- ...M,
4147
+ ...$,
4148
4148
  children: t
4149
4149
  }
4150
4150
  ),
@@ -4189,18 +4189,18 @@ function ra({
4189
4189
  _.current.value.length > 0 ? _.current.send && (n(!0), _.current.send = !1, _.current.timerId = setTimeout(() => {
4190
4190
  _.current.send = !0;
4191
4191
  }, 3e3)) : n(!1);
4192
- }, x = (v) => {
4192
+ }, p = (v) => {
4193
4193
  _.current.value = v.target.textContent, u();
4194
4194
  }, f = (v) => {
4195
4195
  v.keyCode === 16 && (_.current.shift = !0), v.keyCode === 13 && !_.current.shift && (v.preventDefault(), _.current.value.length !== 0 && (v.target.textContent = "", r && r(_.current.value), t && t(_.current.value), _.current.value = "", n(!1)));
4196
4196
  }, m = (v) => {
4197
4197
  v.keyCode === 16 && (_.current.shift = !1);
4198
4198
  }, k = (v) => {
4199
- v.preventDefault(), navigator.clipboard.readText().then((b) => {
4200
- window.document.execCommand("insertText", !1, b);
4201
- }).catch((b) => {
4199
+ v.preventDefault(), navigator.clipboard.readText().then((y) => {
4200
+ window.document.execCommand("insertText", !1, y);
4201
+ }).catch((y) => {
4202
4202
  });
4203
- }, p = () => {
4203
+ }, x = () => {
4204
4204
  n(!1);
4205
4205
  }, g = {
4206
4206
  spellCheck: "true"
@@ -4209,10 +4209,10 @@ function ra({
4209
4209
  "dd",
4210
4210
  {
4211
4211
  onPaste: k,
4212
- onInput: x,
4212
+ onInput: p,
4213
4213
  onKeyUp: m,
4214
4214
  onKeyDown: f,
4215
- onBlur: p,
4215
+ onBlur: x,
4216
4216
  ...g,
4217
4217
  suppressContentEditableWarning: !0,
4218
4218
  children: e
@@ -4265,10 +4265,10 @@ function ia({ value: e, onValue: t, placeholder: n = "", name: r }) {
4265
4265
  const m = i.current, k = m.getContext("2d");
4266
4266
  k.clearRect(0, 0, m.width, m.height), k.font = "30px brush script mt", k.fillStyle = "#eee", k.textAlign = "center", k.fillText(l, 50, 27), o.current.textContent = "";
4267
4267
  }, [l]);
4268
- const x = {};
4269
- x.field = "captcha";
4268
+ const p = {};
4269
+ p.field = "captcha";
4270
4270
  const f = {};
4271
- return n && (f.placeholder = n), /* @__PURE__ */ a.jsxs("dl", { ...x, children: [
4271
+ return n && (f.placeholder = n), /* @__PURE__ */ a.jsxs("dl", { ...p, children: [
4272
4272
  /* @__PURE__ */ a.jsx(
4273
4273
  "dd",
4274
4274
  {
@@ -4303,24 +4303,24 @@ function oa({
4303
4303
  n5: "",
4304
4304
  n6: "",
4305
4305
  code: ""
4306
- }, _ = (p) => {
4307
- if (p.preventDefault(), !r) return;
4308
- p.target.textContent = p.target.textContent.slice(-1).replace(/[^+\d]/g, "");
4309
- let g = window.getSelection(), v = p.target.textContent.length;
4310
- if (c[p.target.id] = p.target.textContent, c.code = c.n1 + "" + c.n2 + c.n3 + c.n4 + c.n5 + c.n6, g.collapse(p.target.firstChild, 1), v === 0) {
4311
- p.target.blur(), p.target.focus();
4306
+ }, _ = (x) => {
4307
+ if (x.preventDefault(), !r) return;
4308
+ x.target.textContent = x.target.textContent.slice(-1).replace(/[^+\d]/g, "");
4309
+ let g = window.getSelection(), v = x.target.textContent.length;
4310
+ if (c[x.target.id] = x.target.textContent, c.code = c.n1 + "" + c.n2 + c.n3 + c.n4 + c.n5 + c.n6, g.collapse(x.target.firstChild, 1), v === 0) {
4311
+ x.target.blur(), x.target.focus();
4312
4312
  return;
4313
4313
  }
4314
- p.target.nextSibling != null && p.target.nextSibling.focus();
4315
- }, u = (p) => {
4316
- if (r && (p.key === "Enter" && p.preventDefault(), p.key === "Backspace")) {
4317
- if (p.preventDefault(), p.target.textContent = "", c[p.target.id] = "", p.target.previousSibling != null) {
4318
- let g = p.target.previousSibling.id.slice(1);
4319
- p.target.previousSibling.textContent = "", c["n" + g] = "", p.target.previousSibling.focus();
4314
+ x.target.nextSibling != null && x.target.nextSibling.focus();
4315
+ }, u = (x) => {
4316
+ if (r && (x.key === "Enter" && x.preventDefault(), x.key === "Backspace")) {
4317
+ if (x.preventDefault(), x.target.textContent = "", c[x.target.id] = "", x.target.previousSibling != null) {
4318
+ let g = x.target.previousSibling.id.slice(1);
4319
+ x.target.previousSibling.textContent = "", c["n" + g] = "", x.target.previousSibling.focus();
4320
4320
  }
4321
4321
  c.code = c.n1 + "" + c.n2 + c.n3 + c.n4 + c.n5 + c.n6;
4322
4322
  }
4323
- }, x = (p) => {
4323
+ }, p = (x) => {
4324
4324
  if (r) {
4325
4325
  if (s)
4326
4326
  i && i({ value: c.code, name: l });
@@ -4340,14 +4340,14 @@ function oa({
4340
4340
  }
4341
4341
  }
4342
4342
  }
4343
- }, f = (p) => {
4344
- p.target.textContent = "";
4345
- }, m = (p) => {
4346
- p.preventDefault(), navigator.clipboard.readText().then((g) => {
4343
+ }, f = (x) => {
4344
+ x.target.textContent = "";
4345
+ }, m = (x) => {
4346
+ x.preventDefault(), navigator.clipboard.readText().then((g) => {
4347
4347
  let v = g.split("");
4348
- for (let b = 1; b <= v.length; b++) {
4349
- let T = document.getElementById("n" + b);
4350
- T && (T.textContent = v[b - 1]);
4348
+ for (let y = 1; y <= v.length; y++) {
4349
+ let N = document.getElementById("n" + y);
4350
+ N && (N.textContent = v[y - 1]);
4351
4351
  }
4352
4352
  }).catch((g) => {
4353
4353
  });
@@ -4361,7 +4361,7 @@ function oa({
4361
4361
  {
4362
4362
  id: "n1",
4363
4363
  onKeyDown: u,
4364
- onKeyUp: x,
4364
+ onKeyUp: p,
4365
4365
  onFocus: f,
4366
4366
  onPaste: m,
4367
4367
  onInput: _,
@@ -4373,7 +4373,7 @@ function oa({
4373
4373
  {
4374
4374
  id: "n2",
4375
4375
  onKeyDown: u,
4376
- onKeyUp: x,
4376
+ onKeyUp: p,
4377
4377
  onFocus: f,
4378
4378
  onPaste: m,
4379
4379
  onInput: _,
@@ -4385,7 +4385,7 @@ function oa({
4385
4385
  {
4386
4386
  id: "n3",
4387
4387
  onKeyDown: u,
4388
- onKeyUp: x,
4388
+ onKeyUp: p,
4389
4389
  onFocus: f,
4390
4390
  onPaste: m,
4391
4391
  onInput: _,
@@ -4397,7 +4397,7 @@ function oa({
4397
4397
  {
4398
4398
  id: "n4",
4399
4399
  onKeyDown: u,
4400
- onKeyUp: x,
4400
+ onKeyUp: p,
4401
4401
  onFocus: f,
4402
4402
  onPaste: m,
4403
4403
  onInput: _,
@@ -4409,7 +4409,7 @@ function oa({
4409
4409
  {
4410
4410
  id: "n5",
4411
4411
  onKeyDown: u,
4412
- onKeyUp: x,
4412
+ onKeyUp: p,
4413
4413
  onFocus: f,
4414
4414
  onPaste: m,
4415
4415
  onInput: _,
@@ -4421,7 +4421,7 @@ function oa({
4421
4421
  {
4422
4422
  id: "n6",
4423
4423
  onKeyDown: u,
4424
- onKeyUp: x,
4424
+ onKeyUp: p,
4425
4425
  onFocus: f,
4426
4426
  onPaste: m,
4427
4427
  onInput: _,
@@ -4444,30 +4444,30 @@ function la({
4444
4444
  length: c = 6,
4445
4445
  edit: _ = !0,
4446
4446
  active: u = !0,
4447
- after: x = "",
4447
+ after: p = "",
4448
4448
  show: f = !0,
4449
4449
  view: m,
4450
4450
  onBlur: k,
4451
- onSave: p,
4451
+ onSave: x,
4452
4452
  className: g = ""
4453
4453
  }) {
4454
4454
  _ = _ !== void 0 ? _ : !0, u = u !== void 0 ? u : !0;
4455
- let [v, b] = h.useState(t), T = (R) => {
4456
- b(R), n == null || n({ value: R, name: r }), p == null || p({ value: R, name: r });
4455
+ let [v, y] = h.useState(t), N = (R) => {
4456
+ y(R), n == null || n({ value: R, name: r }), x == null || x({ value: R, name: r });
4457
4457
  };
4458
- const $ = {};
4459
- return $.field = "color", g && ($.className = g), /* @__PURE__ */ a.jsx(a.Fragment, { children: m === "icon" ? /* @__PURE__ */ a.jsx(
4458
+ const B = {};
4459
+ return B.field = "color", g && (B.className = g), /* @__PURE__ */ a.jsx(a.Fragment, { children: m === "icon" ? /* @__PURE__ */ a.jsx(
4460
4460
  "i",
4461
4461
  {
4462
4462
  "data-icon": "F043"
4463
4463
  }
4464
- ) : /* @__PURE__ */ a.jsxs("dl", { ...$, children: [
4464
+ ) : /* @__PURE__ */ a.jsxs("dl", { ...B, children: [
4465
4465
  i && /* @__PURE__ */ a.jsx("dt", { children: i }),
4466
4466
  /* @__PURE__ */ a.jsx("dd", { children: c > 0 && Array.from(Array(c).keys()).map((R) => /* @__PURE__ */ a.jsx(
4467
4467
  "s",
4468
4468
  {
4469
4469
  active: (Number(R) === Number(v)) + "",
4470
- onClick: () => T(R),
4470
+ onClick: () => N(R),
4471
4471
  style: {
4472
4472
  backgroundColor: `var(--color-${R})`
4473
4473
  }
@@ -4496,25 +4496,25 @@ function Zt({
4496
4496
  view: c = "date",
4497
4497
  onValue: _,
4498
4498
  name: u,
4499
- value: x,
4499
+ value: p,
4500
4500
  after: f
4501
4501
  }) {
4502
4502
  let [m, k] = h.useState(
4503
- x === void 0 ? /* @__PURE__ */ new Date() : x
4504
- ), p = !n && r;
4503
+ p === void 0 ? /* @__PURE__ */ new Date() : p
4504
+ ), x = !n && r;
4505
4505
  h.useEffect(() => {
4506
- k(x === void 0 ? /* @__PURE__ */ new Date() : x);
4507
- }, [x]);
4508
- let g = ($) => {
4509
- k($), _ == null || _({ value: $, name: u });
4510
- }, v = ($) => {
4511
- const R = $.target.getBoundingClientRect(), N = R.left, E = R.bottom, D = R.top;
4506
+ k(p === void 0 ? /* @__PURE__ */ new Date() : p);
4507
+ }, [p]);
4508
+ let g = (B) => {
4509
+ k(B), _ == null || _({ value: B, name: u });
4510
+ }, v = (B) => {
4511
+ const R = B.target.getBoundingClientRect(), T = R.left, S = R.bottom, D = R.top;
4512
4512
  ge.setListener(
4513
4513
  "form",
4514
4514
  /* @__PURE__ */ a.jsx(
4515
4515
  Pc,
4516
4516
  {
4517
- position: { x: N, y: D, b: E },
4517
+ position: { x: T, y: D, b: S },
4518
4518
  onValue: g,
4519
4519
  date: m,
4520
4520
  max: o,
@@ -4525,10 +4525,10 @@ function Zt({
4525
4525
  )
4526
4526
  );
4527
4527
  };
4528
- const b = {};
4529
- b.field = "input", s && (b.className = s);
4530
- const T = {};
4531
- return i && (T.placeholder = i), p ? /* @__PURE__ */ a.jsx(a.Fragment, {}) : /* @__PURE__ */ a.jsx(a.Fragment, { children: c === "icon" ? /* @__PURE__ */ a.jsx(
4528
+ const y = {};
4529
+ y.field = "input", s && (y.className = s);
4530
+ const N = {};
4531
+ return i && (N.placeholder = i), x ? /* @__PURE__ */ a.jsx(a.Fragment, {}) : /* @__PURE__ */ a.jsx(a.Fragment, { children: c === "icon" ? /* @__PURE__ */ a.jsx(
4532
4532
  "i",
4533
4533
  {
4534
4534
  "data-icon": "F043",
@@ -4536,13 +4536,13 @@ function Zt({
4536
4536
  "data-color": "_b5b9cc :506290",
4537
4537
  onClick: v
4538
4538
  }
4539
- ) : /* @__PURE__ */ a.jsxs("dl", { ...b, children: [
4539
+ ) : /* @__PURE__ */ a.jsxs("dl", { ...y, children: [
4540
4540
  e && /* @__PURE__ */ a.jsx("dt", { children: e }),
4541
4541
  /* @__PURE__ */ a.jsxs(
4542
4542
  "dd",
4543
4543
  {
4544
4544
  onClick: v,
4545
- ...T,
4545
+ ...N,
4546
4546
  "data-edit": (n && r) + "",
4547
4547
  children: [
4548
4548
  H.Date(m, "dd.mm.yyyy"),
@@ -4558,50 +4558,50 @@ const Pc = ({ date: e, onValue: t, position: n, max: r, min: s, className: i })
4558
4558
  y: parseInt(c.getFullYear()),
4559
4559
  d: parseInt(c.getDate()),
4560
4560
  m: parseInt(c.getMonth()) + 1
4561
- }, x = {
4561
+ }, p = {
4562
4562
  y: parseInt(_.getFullYear()),
4563
4563
  d: parseInt(_.getDate()),
4564
4564
  m: parseInt(_.getMonth()) + 1
4565
- }, [f, m] = h.useState({ y: x.y, m: x.m }), k = (j) => {
4566
- let y = j.getDay();
4567
- return y === 0 && (y = 7), y - 1;
4568
- }, p = ["пн", "вт", "ср", "чт", "пт", "сб", "вс"], g = f.m - 1, v = new Date(f.y, g), b = [];
4565
+ }, [f, m] = h.useState({ y: p.y, m: p.m }), k = (j) => {
4566
+ let M = j.getDay();
4567
+ return M === 0 && (M = 7), M - 1;
4568
+ }, x = ["пн", "вт", "ср", "чт", "пт", "сб", "вс"], g = f.m - 1, v = new Date(f.y, g), y = [];
4569
4569
  for (let j = 0; j < k(v); j++)
4570
- b.push(0);
4570
+ y.push(0);
4571
4571
  for (; v.getMonth() === g; )
4572
- b.push(v.getDate()), v.setDate(v.getDate() + 1);
4573
- let T = () => {
4572
+ y.push(v.getDate()), v.setDate(v.getDate() + 1);
4573
+ let N = () => {
4574
4574
  l(!1);
4575
- }, $ = () => {
4576
- E(f.m + 1, f.y);
4575
+ }, B = () => {
4576
+ S(f.m + 1, f.y);
4577
4577
  }, R = () => {
4578
- E(f.m - 1, f.y);
4579
- }, N = (j) => {
4578
+ S(f.m - 1, f.y);
4579
+ }, T = (j) => {
4580
4580
  t(
4581
4581
  f.y + "-" + H.Number(2, f.m) + "-" + H.Number(2, j)
4582
- ), T();
4583
- }, E = (j, y) => {
4584
- y = j > 12 ? y + 1 : j < 1 ? y - 1 : y, j = j > 12 ? 1 : j < 1 ? 12 : j, m({ y, m: j });
4582
+ ), N();
4583
+ }, S = (j, M) => {
4584
+ M = j > 12 ? M + 1 : j < 1 ? M - 1 : M, j = j > 12 ? 1 : j < 1 ? 12 : j, m({ y: M, m: j });
4585
4585
  };
4586
- const D = (j) => u.y === f.y && u.m === f.m && u.d === j ? { className: "_active" } : {}, B = (j) => {
4587
- let y = !0;
4586
+ const D = (j) => u.y === f.y && u.m === f.m && u.d === j ? { "data-active": "true" } : {}, F = (j) => p.y === f.y && p.m === f.m && p.d === j ? { "data-current": "true" } : {}, $ = (j) => {
4587
+ let M = !0;
4588
4588
  if (r) {
4589
- let P = r.getTime(), z = new Date(f.y, f.m - 1, j).getTime();
4590
- P < z && (y = !1);
4589
+ let z = r.getTime(), ee = new Date(f.y, f.m - 1, j).getTime();
4590
+ z < ee && (M = !1);
4591
4591
  }
4592
4592
  if (s) {
4593
- let P = s.getTime(), z = new Date(f.y, f.m - 1, j).getTime();
4594
- P > z && (y = !1);
4593
+ let z = s.getTime(), ee = new Date(f.y, f.m - 1, j).getTime();
4594
+ z > ee && (M = !1);
4595
4595
  }
4596
- return y;
4596
+ return M;
4597
4597
  };
4598
- let M = window.innerHeight - n.y < 320 ? n.y - 312 : n.b, L = window.innerWidth - n.x < 265 ? n.x - 235 : n.x;
4598
+ let L = window.innerHeight - n.y < 320 ? n.y - 312 : n.b, E = window.innerWidth - n.x < 265 ? n.x - 235 : n.x;
4599
4599
  return /* @__PURE__ */ a.jsx(a.Fragment, { children: o ? /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
4600
4600
  /* @__PURE__ */ a.jsx(
4601
4601
  "div",
4602
4602
  {
4603
4603
  className: fe.o,
4604
- onClick: () => T()
4604
+ onClick: () => N()
4605
4605
  },
4606
4606
  (/* @__PURE__ */ new Date()).getTime()
4607
4607
  ),
@@ -4612,7 +4612,7 @@ const Pc = ({ date: e, onValue: t, position: n, max: r, min: s, className: i })
4612
4612
  fe.c,
4613
4613
  i && i + "-backdrop"
4614
4614
  ].join(" "),
4615
- style: { top: M + "px", left: L + "px" },
4615
+ style: { top: L + "px", left: E + "px" },
4616
4616
  children: [
4617
4617
  /* @__PURE__ */ a.jsxs("s", { children: [
4618
4618
  /* @__PURE__ */ a.jsx("i", { onClick: R, children: /* @__PURE__ */ a.jsx(
@@ -4631,7 +4631,7 @@ const Pc = ({ date: e, onValue: t, position: n, max: r, min: s, className: i })
4631
4631
  " ",
4632
4632
  f.y
4633
4633
  ] }),
4634
- /* @__PURE__ */ a.jsx("i", { onClick: $, children: /* @__PURE__ */ a.jsx(
4634
+ /* @__PURE__ */ a.jsx("i", { onClick: B, children: /* @__PURE__ */ a.jsx(
4635
4635
  "svg",
4636
4636
  {
4637
4637
  width: "16",
@@ -4644,15 +4644,16 @@ const Pc = ({ date: e, onValue: t, position: n, max: r, min: s, className: i })
4644
4644
  ) })
4645
4645
  ] }),
4646
4646
  /* @__PURE__ */ a.jsxs("div", { "grid-calendar": "", children: [
4647
- p.map((j, y) => /* @__PURE__ */ a.jsx("p", { children: j }, "v" + y)),
4648
- b.map((j, y) => /* @__PURE__ */ a.jsx("span", { children: j !== 0 && B(j) ? /* @__PURE__ */ a.jsx(
4647
+ x.map((j, M) => /* @__PURE__ */ a.jsx("p", { children: j }, "v" + M)),
4648
+ y.map((j, M) => /* @__PURE__ */ a.jsx("span", { children: j !== 0 && $(j) ? /* @__PURE__ */ a.jsx(
4649
4649
  "b",
4650
4650
  {
4651
4651
  ...D(j),
4652
- onClick: () => N(j),
4652
+ ...F(j),
4653
+ onClick: () => T(j),
4653
4654
  children: j
4654
4655
  }
4655
- ) : /* @__PURE__ */ a.jsx("p", { ...D(j), children: j !== 0 ? j : "" }) }, y))
4656
+ ) : /* @__PURE__ */ a.jsx("p", { ...D(j), ...F(j), children: j !== 0 ? j : "" }) }, M))
4656
4657
  ] })
4657
4658
  ]
4658
4659
  }
@@ -4671,18 +4672,18 @@ function zt({
4671
4672
  show: c = !0,
4672
4673
  active: _ = !0,
4673
4674
  after: u = "",
4674
- view: x,
4675
+ view: p,
4675
4676
  modal: f,
4676
4677
  module: m,
4677
4678
  options: k,
4678
- className: p
4679
+ className: x
4679
4680
  }) {
4680
- let [g, v] = h.useState(e), b = (R) => {
4681
+ let [g, v] = h.useState(e), y = (R) => {
4681
4682
  if (!(l && _) || !f) return;
4682
- let N = f.split(".");
4683
- _t.Open(N[0], N[1], {
4684
- callback: (E) => {
4685
- t && t({ value: E, name: n }), v(E);
4683
+ let T = f.split(".");
4684
+ _t.Open(T[0], T[1], {
4685
+ callback: (S) => {
4686
+ t && t({ value: S, name: n }), v(S);
4686
4687
  },
4687
4688
  onValue: t,
4688
4689
  options: k,
@@ -4690,16 +4691,16 @@ function zt({
4690
4691
  value: e
4691
4692
  });
4692
4693
  };
4693
- const T = {};
4694
- T.field = "input", p && (T.className = p);
4695
- const $ = {};
4696
- return r && ($.placeholder = r), o ? /* @__PURE__ */ a.jsx(a.Fragment, {}) : /* @__PURE__ */ a.jsxs("dl", { ...T, children: [
4694
+ const N = {};
4695
+ N.field = "input", x && (N.className = x);
4696
+ const B = {};
4697
+ return r && (B.placeholder = r), o ? /* @__PURE__ */ a.jsx(a.Fragment, {}) : /* @__PURE__ */ a.jsxs("dl", { ...N, children: [
4697
4698
  s && /* @__PURE__ */ a.jsx("dt", { children: s }),
4698
4699
  /* @__PURE__ */ a.jsx(
4699
4700
  "dd",
4700
4701
  {
4701
- ...$,
4702
- onClick: b,
4702
+ ...B,
4703
+ onClick: y,
4703
4704
  edit: (l && _) + "",
4704
4705
  "data-after": u,
4705
4706
  children: g
@@ -4720,50 +4721,50 @@ function Wt({
4720
4721
  active: c = !0,
4721
4722
  after: _ = "",
4722
4723
  show: u = !0,
4723
- course: x = 100,
4724
+ course: p = 100,
4724
4725
  view: f,
4725
4726
  onBlur: m,
4726
4727
  type: k,
4727
- onSave: p,
4728
+ onSave: x,
4728
4729
  className: g = ""
4729
4730
  }) {
4730
4731
  let v = !!(o && (e === "" || e === void 0));
4731
- e = H.isNumeric(e) ? Number(e) / x : 0;
4732
- let b = (M) => k === "multi" ? M.replace(/[^+\d.+-]/g, "") : M.replace(/[^+\d.]/g, ""), T = (M, L) => {
4733
- let j = document.createRange(), y = window.getSelection();
4734
- j.setStart(L.childNodes[0], M), j.collapse(!0), y.removeAllRanges(), y.addRange(j), L.focus();
4735
- }, $ = (M) => {
4732
+ e = H.isNumeric(e) ? Number(e) / p : 0;
4733
+ let y = ($) => k === "multi" ? $.replace(/[^+\d.+-]/g, "") : $.replace(/[^+\d.]/g, ""), N = ($, L) => {
4734
+ let E = document.createRange(), j = window.getSelection();
4735
+ E.setStart(L.childNodes[0], $), E.collapse(!0), j.removeAllRanges(), j.addRange(E), L.focus();
4736
+ }, B = ($) => {
4736
4737
  t == null || t({
4737
- value: b(M.target.textContent) * x,
4738
+ value: y($.target.textContent) * p,
4738
4739
  name: n
4739
- }), M.target.textContent = b(M.target.textContent), M.target.textContent.length > 0 && T(M.target.textContent.length, M.target);
4740
- }, R = (M) => {
4741
- K.Blur(M), M.target.textContent === "" && (M.target.textContent = 0), p == null || p({ value: b(M.target.textContent) * x, name: n }), t == null || t({
4742
- value: b(M.target.textContent) * x,
4740
+ }), $.target.textContent = y($.target.textContent), $.target.textContent.length > 0 && N($.target.textContent.length, $.target);
4741
+ }, R = ($) => {
4742
+ K.Blur($), $.target.textContent === "" && ($.target.textContent = 0), x == null || x({ value: y($.target.textContent) * p, name: n }), t == null || t({
4743
+ value: y($.target.textContent) * p,
4743
4744
  name: n
4744
- }), M.target.textContent = H.Money(M.target.textContent);
4745
- }, N = (M) => {
4746
- M.target.textContent = b(M.target.textContent);
4747
- }, E = (M) => {
4748
- M.key === "Enter" && M.preventDefault();
4749
- }, D = (M) => {
4750
- M.preventDefault(), navigator.clipboard.readText().then((L) => {
4745
+ }), $.target.textContent = H.Money($.target.textContent);
4746
+ }, T = ($) => {
4747
+ $.target.textContent = y($.target.textContent);
4748
+ }, S = ($) => {
4749
+ $.key === "Enter" && $.preventDefault();
4750
+ }, D = ($) => {
4751
+ $.preventDefault(), navigator.clipboard.readText().then((L) => {
4751
4752
  L = L.replace(/^\s*/, "").replace(/\s*$/, ""), window.document.execCommand("insertText", !1, L);
4752
4753
  }).catch((L) => {
4753
4754
  });
4754
4755
  };
4755
4756
  if (!(l && c) && !u || !(l && c) && v) return "";
4756
- const B = {};
4757
- return B.field = "input", g && (B.className = g), /* @__PURE__ */ a.jsxs("dl", { ...B, children: [
4757
+ const F = {};
4758
+ return F.field = "input", g && (F.className = g), /* @__PURE__ */ a.jsxs("dl", { ...F, children: [
4758
4759
  s ? /* @__PURE__ */ a.jsx("dt", { children: s }) : "",
4759
4760
  /* @__PURE__ */ a.jsx(
4760
4761
  "dd",
4761
4762
  {
4762
- onInput: $,
4763
+ onInput: B,
4763
4764
  onPaste: D,
4764
4765
  onBlur: R,
4765
- onKeyDown: E,
4766
- onFocus: N,
4766
+ onKeyDown: S,
4767
+ onFocus: T,
4767
4768
  contentEditable: l && c ? K.ContentEditable : "false",
4768
4769
  suppressContentEditableWarning: !0,
4769
4770
  "e-after": _,
@@ -4786,7 +4787,7 @@ function ca({
4786
4787
  className: _,
4787
4788
  after: u
4788
4789
  }) {
4789
- let [x, f] = h.useState(e);
4790
+ let [p, f] = h.useState(e);
4790
4791
  h.useEffect(() => {
4791
4792
  f(e);
4792
4793
  }, [e]);
@@ -4794,29 +4795,29 @@ function ca({
4794
4795
  f(g), t && t({ value: g, name: n });
4795
4796
  }, k = (g) => {
4796
4797
  if (!i || !o) return;
4797
- const v = g.target.getBoundingClientRect(), b = v.left, T = v.top;
4798
+ const v = g.target.getBoundingClientRect(), y = v.left, N = v.top;
4798
4799
  ge.setListener(
4799
4800
  "form",
4800
4801
  /* @__PURE__ */ a.jsx(
4801
4802
  Oc,
4802
4803
  {
4803
- position: { x: b, y: T },
4804
+ position: { x: y, y: N },
4804
4805
  onValue: m,
4805
- date: x
4806
+ date: p
4806
4807
  },
4807
4808
  (/* @__PURE__ */ new Date()).getTime()
4808
4809
  )
4809
4810
  );
4810
4811
  };
4811
- const p = {};
4812
- return c && (p.placeholder = c), r === "icon" ? /* @__PURE__ */ a.jsx("i", { "data-icon": "F043", onClick: k }) : /* @__PURE__ */ a.jsxs("dl", { children: [
4812
+ const x = {};
4813
+ return c && (x.placeholder = c), r === "icon" ? /* @__PURE__ */ a.jsx("i", { "data-icon": "F043", onClick: k }) : /* @__PURE__ */ a.jsxs("dl", { children: [
4813
4814
  l && /* @__PURE__ */ a.jsx("dt", { children: l }),
4814
4815
  /* @__PURE__ */ a.jsx(
4815
4816
  "dd",
4816
4817
  {
4817
4818
  onClick: k,
4818
- ...p,
4819
- children: H.Date(x, "mm.yyyy")
4819
+ ...x,
4820
+ children: H.Date(p, "mm.yyyy")
4820
4821
  }
4821
4822
  ),
4822
4823
  s && /* @__PURE__ */ a.jsx("em", { children: s })
@@ -4833,11 +4834,11 @@ const Oc = (e) => {
4833
4834
  n(!1);
4834
4835
  }, u = () => {
4835
4836
  c(l + 1);
4836
- }, x = () => {
4837
+ }, p = () => {
4837
4838
  c(l - 1);
4838
4839
  }, f = (v) => {
4839
4840
  e.onValue(l + "-" + H.Number(2, v)), _();
4840
- }, m = (v) => i.y === o.y && i.m === v ? "_FFEB3B" : "", k = Array(12).fill("").map((v, b) => b + 1), p = window.innerHeight - e.position.y + 33 < 320 ? e.position.y - 312 : e.position.y + 33, g = window.innerWidth - e.position.x < 265 ? e.position.x - 235 : e.position.x;
4841
+ }, m = (v) => i.y === o.y && i.m === v ? "_FFEB3B" : "", k = Array(12).fill("").map((v, y) => y + 1), x = window.innerHeight - e.position.y + 33 < 320 ? e.position.y - 312 : e.position.y + 33, g = window.innerWidth - e.position.x < 265 ? e.position.x - 235 : e.position.x;
4841
4842
  return /* @__PURE__ */ a.jsx(a.Fragment, { children: t ? /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
4842
4843
  /* @__PURE__ */ a.jsx(
4843
4844
  "div",
@@ -4851,10 +4852,10 @@ const Oc = (e) => {
4851
4852
  "div",
4852
4853
  {
4853
4854
  className: fe.c,
4854
- style: { top: p + "px", left: g + "px" },
4855
+ style: { top: x + "px", left: g + "px" },
4855
4856
  children: [
4856
4857
  /* @__PURE__ */ a.jsxs("s", { children: [
4857
- /* @__PURE__ */ a.jsx("i", { onClick: x, children: /* @__PURE__ */ a.jsx(
4858
+ /* @__PURE__ */ a.jsx("i", { onClick: p, children: /* @__PURE__ */ a.jsx(
4858
4859
  "svg",
4859
4860
  {
4860
4861
  width: "16",
@@ -4878,7 +4879,7 @@ const Oc = (e) => {
4878
4879
  }
4879
4880
  ) })
4880
4881
  ] }),
4881
- /* @__PURE__ */ a.jsx("div", { "grid-month": "", children: k.map((v, b) => /* @__PURE__ */ a.jsx(
4882
+ /* @__PURE__ */ a.jsx("div", { "grid-month": "", children: k.map((v, y) => /* @__PURE__ */ a.jsx(
4882
4883
  "span",
4883
4884
  {
4884
4885
  onClick: () => {
@@ -4887,7 +4888,7 @@ const Oc = (e) => {
4887
4888
  color: m(v),
4888
4889
  children: /* @__PURE__ */ a.jsx("b", { children: H.Month(v).abc })
4889
4890
  },
4890
- b
4891
+ y
4891
4892
  )) })
4892
4893
  ]
4893
4894
  }
@@ -4906,60 +4907,60 @@ function da({
4906
4907
  edit: c = !0,
4907
4908
  active: _ = !0,
4908
4909
  after: u = "",
4909
- show: x = !0,
4910
+ show: p = !0,
4910
4911
  maxLength: f,
4911
4912
  view: m,
4912
4913
  onBlur: k,
4913
- onSave: p,
4914
+ onSave: x,
4914
4915
  className: g = "",
4915
4916
  isCopy: v = !0
4916
4917
  }) {
4917
- let [b, T] = h.useState(!1);
4918
- b = c ? !0 : b;
4919
- let $ = (L) => {
4918
+ let [y, N] = h.useState(!1);
4919
+ y = c ? !0 : y;
4920
+ let B = (L) => {
4920
4921
  n == null || n({ value: L.target.innerText, name: r });
4921
4922
  }, R = (L) => {
4922
4923
  f && L.target.textContent.trim().length >= f && L.key !== "Backspace" && L.preventDefault(), L.key === "Enter" && L.preventDefault();
4923
- }, N = (L) => {
4924
+ }, T = (L) => {
4924
4925
  v && (L.preventDefault(), navigator.clipboard.writeText(L.target.textContent.trim()).then(
4925
4926
  function() {
4926
4927
  je.Copy("Данные в буфер обмене");
4927
4928
  },
4928
- function(j) {
4929
+ function(E) {
4929
4930
  }
4930
4931
  ));
4931
- }, E = (L) => {
4932
- f && (L.preventDefault(), navigator.clipboard.readText().then((j) => {
4933
- j = j.slice(0, f), window.document.execCommand(
4932
+ }, S = (L) => {
4933
+ f && (L.preventDefault(), navigator.clipboard.readText().then((E) => {
4934
+ E = E.slice(0, f), window.document.execCommand(
4934
4935
  "insertText",
4935
4936
  !1,
4936
- j.replace(/(\r\n|\n|\r)/gm, " ")
4937
+ E.replace(/(\r\n|\n|\r)/gm, " ")
4937
4938
  );
4938
- }).catch((j) => {
4939
+ }).catch((E) => {
4939
4940
  }));
4940
4941
  };
4941
4942
  if (l) return /* @__PURE__ */ a.jsx(a.Fragment, {});
4942
- if (!(c && _) && !x) return "";
4943
+ if (!(c && _) && !p) return "";
4943
4944
  const D = {};
4944
4945
  D.field = "notes", g && (D.className = g);
4945
- const B = {};
4946
- s && (B.placeholder = s), c && _ && (B.edit = ""), b && (B.open = "");
4947
- const M = (L) => {
4948
- K.Blur(L), p == null || p({ value: L.target.textContent.trim(), name: r });
4946
+ const F = {};
4947
+ s && (F.placeholder = s), c && _ && (F.edit = ""), y && (F.open = "");
4948
+ const $ = (L) => {
4949
+ K.Blur(L), x == null || x({ value: L.target.textContent.trim(), name: r });
4949
4950
  };
4950
4951
  return /* @__PURE__ */ a.jsxs("dl", { ...D, children: [
4951
4952
  i ? /* @__PURE__ */ a.jsx("dt", { children: i }) : "",
4952
4953
  /* @__PURE__ */ a.jsx(
4953
4954
  "dd",
4954
4955
  {
4955
- onPaste: E,
4956
- onInput: $,
4957
- onBlur: M,
4956
+ onPaste: S,
4957
+ onInput: B,
4958
+ onBlur: $,
4958
4959
  onKeyDown: R,
4959
- onContextMenu: N,
4960
+ onContextMenu: T,
4960
4961
  contentEditable: c && _ ? K.ContentEditable : "false",
4961
4962
  suppressContentEditableWarning: !0,
4962
- ...B,
4963
+ ...F,
4963
4964
  children: t
4964
4965
  }
4965
4966
  ),
@@ -4979,38 +4980,38 @@ function Kt({
4979
4980
  hide: c,
4980
4981
  value: _,
4981
4982
  placeholder: u,
4982
- className: x,
4983
+ className: p,
4983
4984
  name: f,
4984
4985
  after: m = "",
4985
4986
  before: k = "",
4986
- view: p
4987
+ view: x
4987
4988
  }) {
4988
4989
  s = s !== void 0 ? s : !0, n = n !== void 0 ? n : !0, c = !!(c && (_ === "" || _ === void 0)) && !(s && n), u = u !== void 0 ? u : "", r = r !== void 0 ? r : 99;
4989
- let v = !1, b = (B) => {
4990
- e == null || e({ value: B.target.textContent, name: f });
4991
- }, T = (B) => {
4992
- if (!(v && B.which === 86)) {
4993
- if (B.which === 17 || B.which === 91) return v = !0;
4994
- B.key !== "Backspace" && (B.target.textContent.length === r && B.preventDefault(), B.key === "Enter" && B.preventDefault(), isNaN(B.key) && B.preventDefault());
4990
+ let v = !1, y = (F) => {
4991
+ e == null || e({ value: F.target.textContent, name: f });
4992
+ }, N = (F) => {
4993
+ if (!(v && F.which === 86)) {
4994
+ if (F.which === 17 || F.which === 91) return v = !0;
4995
+ F.key !== "Backspace" && (F.target.textContent.length === r && F.preventDefault(), F.key === "Enter" && F.preventDefault(), isNaN(F.key) && F.preventDefault());
4995
4996
  }
4996
- }, $ = (B) => {
4997
- if (B.which === 17 || B.which === 91) return v = !1;
4998
- }, R = (B) => {
4999
- B.preventDefault(), navigator.clipboard.readText().then((M) => {
5000
- M = M.replace(/\D/g, ""), window.document.execCommand(
4997
+ }, B = (F) => {
4998
+ if (F.which === 17 || F.which === 91) return v = !1;
4999
+ }, R = (F) => {
5000
+ F.preventDefault(), navigator.clipboard.readText().then(($) => {
5001
+ $ = $.replace(/\D/g, ""), window.document.execCommand(
5001
5002
  "insertText",
5002
5003
  !1,
5003
- "" + M.replace(/\D/g, "")
5004
+ "" + $.replace(/\D/g, "")
5004
5005
  );
5005
- }).catch((M) => {
5006
+ }).catch(($) => {
5006
5007
  });
5007
5008
  };
5008
- const N = (B) => {
5009
- K.Blur(B), t == null || t({ value: B.target.textContent, name: f });
5010
- }, E = {};
5011
- E.field = "input", x && (E.className = x);
5009
+ const T = (F) => {
5010
+ K.Blur(F), t == null || t({ value: F.target.textContent, name: f });
5011
+ }, S = {};
5012
+ S.field = "input", p && (S.className = p);
5012
5013
  let D = {};
5013
- return s && n ? (D.edit = "true", D.contentEditable = K.ContentEditable) : D.contentEditable = "false", D.inputMode = "decimal", u && (D.placeholder = u), c ? /* @__PURE__ */ a.jsx(a.Fragment, {}) : /* @__PURE__ */ a.jsxs("dl", { ...E, children: [
5014
+ return s && n ? (D.edit = "true", D.contentEditable = K.ContentEditable) : D.contentEditable = "false", D.inputMode = "decimal", u && (D.placeholder = u), c ? /* @__PURE__ */ a.jsx(a.Fragment, {}) : /* @__PURE__ */ a.jsxs("dl", { ...S, children: [
5014
5015
  i && /* @__PURE__ */ a.jsx("dt", { children: i }),
5015
5016
  k,
5016
5017
  /* @__PURE__ */ a.jsx(
@@ -5018,10 +5019,10 @@ function Kt({
5018
5019
  {
5019
5020
  ...D,
5020
5021
  onPaste: R,
5021
- onInput: b,
5022
- onBlur: N,
5023
- onKeyDown: T,
5024
- onKeyUp: $,
5022
+ onInput: y,
5023
+ onBlur: T,
5024
+ onKeyDown: N,
5025
+ onKeyUp: B,
5025
5026
  suppressContentEditableWarning: !0,
5026
5027
  children: _
5027
5028
  }
@@ -5042,22 +5043,22 @@ function _a({
5042
5043
  edit: c = !0,
5043
5044
  active: _ = !0,
5044
5045
  reload: u = !1,
5045
- native: x = !1,
5046
+ native: p = !1,
5046
5047
  isShow: f = !1,
5047
5048
  eyes: m = [],
5048
5049
  after: k = ""
5049
5050
  }) {
5050
- const [p, g] = h.useState(f);
5051
- let v = (E) => {
5051
+ const [x, g] = h.useState(f);
5052
+ let v = (S) => {
5052
5053
  t && t({
5053
- value: E.target.textContent,
5054
+ value: S.target.textContent,
5054
5055
  name: r,
5055
5056
  reload: u
5056
5057
  });
5057
- }, b = (E) => {
5058
- E.key === "Enter" && E.preventDefault();
5059
- }, T = (E) => {
5060
- E.preventDefault(), navigator.clipboard.readText().then((D) => {
5058
+ }, y = (S) => {
5059
+ S.key === "Enter" && S.preventDefault();
5060
+ }, N = (S) => {
5061
+ S.preventDefault(), navigator.clipboard.readText().then((D) => {
5061
5062
  window.document.execCommand(
5062
5063
  "insertText",
5063
5064
  !1,
@@ -5065,28 +5066,28 @@ function _a({
5065
5066
  );
5066
5067
  }).catch((D) => {
5067
5068
  });
5068
- }, $ = (E) => {
5069
- K.Blur(E), n == null || n({ value: E.target.textContent.trim(), name: r });
5069
+ }, B = (S) => {
5070
+ K.Blur(S), n == null || n({ value: S.target.textContent.trim(), name: r });
5070
5071
  };
5071
5072
  const R = {};
5072
- R.field = "password", p && (R.show = ""), i && (R.className = i);
5073
- const N = {};
5074
- return s && (N.placeholder = s), x ? "" : /* @__PURE__ */ a.jsxs("dl", { ...R, children: [
5073
+ R.field = "password", x && (R.show = ""), i && (R.className = i);
5074
+ const T = {};
5075
+ return s && (T.placeholder = s), p ? "" : /* @__PURE__ */ a.jsxs("dl", { ...R, children: [
5075
5076
  o ? /* @__PURE__ */ a.jsx("dt", { children: o }) : "",
5076
5077
  /* @__PURE__ */ a.jsx(
5077
5078
  "dd",
5078
5079
  {
5079
- onPaste: T,
5080
+ onPaste: N,
5080
5081
  onInput: v,
5081
- onKeyDown: b,
5082
- onBlur: $,
5082
+ onKeyDown: y,
5083
+ onBlur: B,
5083
5084
  contentEditable: c && _ ? K.ContentEditable : "false",
5084
- ...N,
5085
+ ...T,
5085
5086
  suppressContentEditableWarning: !0,
5086
5087
  children: e
5087
5088
  }
5088
5089
  ),
5089
- m[0] && /* @__PURE__ */ a.jsx("i", { onClick: () => g(!p), children: p ? m[1] : m[0] }),
5090
+ m[0] && /* @__PURE__ */ a.jsx("i", { onClick: () => g(!x), children: x ? m[1] : m[0] }),
5090
5091
  k,
5091
5092
  l ? /* @__PURE__ */ a.jsx("em", { children: l }) : ""
5092
5093
  ] });
@@ -6485,71 +6486,71 @@ function Ht({
6485
6486
  edit: c = !0,
6486
6487
  active: _ = !0,
6487
6488
  after: u = "",
6488
- show: x = !0,
6489
+ show: p = !0,
6489
6490
  view: f,
6490
6491
  className: m = ""
6491
6492
  }) {
6492
6493
  c = c !== void 0 ? c : !0, _ = _ !== void 0 ? _ : !0, l = !!(l && (e === "" || e === void 0)) && !(c && _), h.useRef(null);
6493
- let p = "+_(___) ___-__-__", g = !0, v = 0, b = (j, y) => {
6494
- let P = document.createRange(), z = window.getSelection();
6495
- P.setStart(y.childNodes[0], j), P.collapse(!0), z.removeAllRanges(), z.addRange(P), y.focus();
6496
- }, T = (j) => {
6497
- j.preventDefault(), navigator.clipboard.readText().then((y) => {
6498
- window.document.execCommand("insertText", !1, y);
6499
- }).catch((y) => {
6494
+ let x = "+_(___) ___-__-__", g = !0, v = 0, y = (E, j) => {
6495
+ let M = document.createRange(), z = window.getSelection();
6496
+ M.setStart(j.childNodes[0], E), M.collapse(!0), z.removeAllRanges(), z.addRange(M), j.focus();
6497
+ }, N = (E) => {
6498
+ E.preventDefault(), navigator.clipboard.readText().then((j) => {
6499
+ window.document.execCommand("insertText", !1, j);
6500
+ }).catch((j) => {
6500
6501
  });
6501
- }, $ = (j) => {
6502
- let y = 0, P = "", z = j.replace(/\D/g, "");
6502
+ }, B = (E) => {
6503
+ let j = 0, M = "", z = E.replace(/\D/g, "");
6503
6504
  z === "" && (g = !0);
6504
- let ae = z.split(""), oe = "";
6505
- ae.forEach((Pe) => {
6506
- g && (oe += Pe, bt[oe] !== void 0 && g ? (g = !1, p = bt[oe].mask.replace(new RegExp("[0-9]", "g"), "_"), P = bt[oe].code) : (g && (v = ("" + oe).length, p = `+${oe}_(___) ___-__-__`.replace(
6505
+ let ee = z.split(""), oe = "";
6506
+ ee.forEach((Pe) => {
6507
+ g && (oe += Pe, bt[oe] !== void 0 && g ? (g = !1, x = bt[oe].mask.replace(new RegExp("[0-9]", "g"), "_"), M = bt[oe].code) : (g && (v = ("" + oe).length, x = `+${oe}_(___) ___-__-__`.replace(
6507
6508
  new RegExp("[0-9]", "g"),
6508
6509
  "_"
6509
- ), P = ""), v > ("" + oe).length && (g = !0, p = `+${oe}_(___) ___-__-__`.replace(
6510
+ ), M = ""), v > ("" + oe).length && (g = !0, x = `+${oe}_(___) ___-__-__`.replace(
6510
6511
  new RegExp("[0-9]", "g"),
6511
6512
  "_"
6512
- ), P = "")));
6513
+ ), M = "")));
6513
6514
  });
6514
- let ve = p.replace(/\D/g, "");
6515
- return ve.length >= z.length && (z = ve), { q: p.replace(/[_\d]/g, function() {
6516
- return z.charAt(y++) || "_";
6517
- }), i: y, v: z, f: P };
6518
- }, R = (j) => {
6519
- j.preventDefault(), navigator.clipboard.writeText(j.target.textContent.replace(/\D/g, "")).then(
6515
+ let ve = x.replace(/\D/g, "");
6516
+ return ve.length >= z.length && (z = ve), { q: x.replace(/[_\d]/g, function() {
6517
+ return z.charAt(j++) || "_";
6518
+ }), i: j, v: z, f: M };
6519
+ }, R = (E) => {
6520
+ E.preventDefault(), navigator.clipboard.writeText(E.target.textContent.replace(/\D/g, "")).then(
6520
6521
  function() {
6521
6522
  je.Copy("Данные в буфер обмене");
6522
6523
  },
6523
- function(y) {
6524
+ function(j) {
6524
6525
  }
6525
6526
  );
6526
- }, N = $(e), E = (j) => {
6527
- let y = $(j.target.textContent);
6528
- j.target.textContent = y.q, y.i = y.q.lastIndexOf(y.v.substr(-1)), y.i < y.q.length && y.q !== p ? y.i++ : y.i = y.q.indexOf("_"), b(y.i, j.target), t && t({ value: y.q.replace(/\D/g, ""), name: r });
6529
- }, D = (j) => {
6530
- j.key === "Enter" && j.preventDefault();
6527
+ }, T = B(e), S = (E) => {
6528
+ let j = B(E.target.textContent);
6529
+ E.target.textContent = j.q, j.i = j.q.lastIndexOf(j.v.substr(-1)), j.i < j.q.length && j.q !== x ? j.i++ : j.i = j.q.indexOf("_"), y(j.i, E.target), t && t({ value: j.q.replace(/\D/g, ""), name: r });
6530
+ }, D = (E) => {
6531
+ E.key === "Enter" && E.preventDefault();
6531
6532
  };
6532
- const B = (j) => {
6533
- K.Blur(j), n && n({
6534
- value: j.target.textContent.replace(/\D/g, ""),
6533
+ const F = (E) => {
6534
+ K.Blur(E), n && n({
6535
+ value: E.target.textContent.replace(/\D/g, ""),
6535
6536
  name: r
6536
6537
  });
6537
- }, M = {};
6538
- M.field = "input", m && (M.className = m);
6538
+ }, $ = {};
6539
+ $.field = "input", m && ($.className = m);
6539
6540
  let L = {};
6540
- return c && _ ? (L.edit = "true", L.contentEditable = K.ContentEditable) : L.contentEditable = "false", s && (L.placeholder = s), u && (L.after = u), l ? /* @__PURE__ */ a.jsx(a.Fragment, {}) : /* @__PURE__ */ a.jsxs("dl", { ...M, children: [
6541
+ return c && _ ? (L.edit = "true", L.contentEditable = K.ContentEditable) : L.contentEditable = "false", s && (L.placeholder = s), u && (L.after = u), l ? /* @__PURE__ */ a.jsx(a.Fragment, {}) : /* @__PURE__ */ a.jsxs("dl", { ...$, children: [
6541
6542
  i && /* @__PURE__ */ a.jsx("dt", { children: i }),
6542
6543
  /* @__PURE__ */ a.jsx(
6543
6544
  "dd",
6544
6545
  {
6545
6546
  ...L,
6546
- onPaste: T,
6547
- onInput: E,
6547
+ onPaste: N,
6548
+ onInput: S,
6548
6549
  onKeyDown: D,
6549
6550
  onContextMenu: R,
6550
- onBlur: B,
6551
+ onBlur: F,
6551
6552
  suppressContentEditableWarning: !0,
6552
- children: N.q
6553
+ children: T.q
6553
6554
  }
6554
6555
  ),
6555
6556
  o && /* @__PURE__ */ a.jsx("em", { children: o })
@@ -6562,9 +6563,9 @@ const ua = (e) => {
6562
6563
  }, l = (u) => {
6563
6564
  u.key === "Enter" && u.preventDefault();
6564
6565
  }, c = (u) => {
6565
- u.preventDefault(), navigator.clipboard.readText().then((x) => {
6566
- window.document.execCommand("insertText", !1, x);
6567
- }).catch((x) => {
6566
+ u.preventDefault(), navigator.clipboard.readText().then((p) => {
6567
+ window.document.execCommand("insertText", !1, p);
6568
+ }).catch((p) => {
6568
6569
  });
6569
6570
  };
6570
6571
  const _ = {};
@@ -6602,41 +6603,41 @@ function Yt({
6602
6603
  placeholder: c = "",
6603
6604
  className: _,
6604
6605
  name: u,
6605
- after: x,
6606
+ after: p,
6606
6607
  view: f,
6607
6608
  order: m,
6608
6609
  isReload: k = !1
6609
6610
  }) {
6610
- var B, M;
6611
- const p = h.useRef(), [g, v] = h.useState(i), [b, T] = h.useState(l);
6611
+ var F, $;
6612
+ const x = h.useRef(), [g, v] = h.useState(i), [y, N] = h.useState(l);
6612
6613
  h.useEffect(() => {
6613
- v(i), T(l);
6614
- }, [i, l]), s = !!(s && (i === "" || ((B = b[i]) == null ? void 0 : B.n) === void 0)) && !(n && r);
6614
+ v(i), N(l);
6615
+ }, [i, l]), s = !!(s && (i === "" || ((F = y[i]) == null ? void 0 : F.n) === void 0)) && !(n && r);
6615
6616
  let R = (L) => {
6616
6617
  v(L), o && o({ value: L, name: u, reload: k });
6617
- }, N = (L) => {
6618
+ }, T = (L) => {
6618
6619
  if (Object.keys(l).length === 0 || !(n && r)) return;
6619
- const j = L.target.getBoundingClientRect();
6620
+ const E = L.target.getBoundingClientRect();
6620
6621
  ge.setListener(
6621
6622
  "form",
6622
6623
  /* @__PURE__ */ a.jsx(
6623
6624
  Ac,
6624
6625
  {
6625
- parent: j,
6626
+ parent: E,
6626
6627
  onValue: R,
6627
6628
  view: f,
6628
6629
  className: _,
6629
- options: b,
6630
+ options: y,
6630
6631
  order: m
6631
6632
  },
6632
6633
  (/* @__PURE__ */ new Date()).getTime()
6633
6634
  )
6634
6635
  );
6635
- }, E = { field: "select", className: _ }, D = { onClick: N };
6636
- return c && (D.placeholder = c), x && (D.after = x), n && r && (D.edit = ""), s ? "" : /* @__PURE__ */ a.jsxs("dl", { ...E, children: [
6636
+ }, S = { field: "select", className: _ }, D = { onClick: T };
6637
+ return c && (D.placeholder = c), p && (D.after = p), n && r && (D.edit = ""), s ? "" : /* @__PURE__ */ a.jsxs("dl", { ...S, children: [
6637
6638
  e && /* @__PURE__ */ a.jsx("dt", { children: e }),
6638
- /* @__PURE__ */ a.jsx("dd", { ...D, ref: p, children: (M = b[g]) == null ? void 0 : M.n }),
6639
- Object.keys(b).length !== 0 && /* @__PURE__ */ a.jsx("s", { children: /* @__PURE__ */ a.jsx(
6639
+ /* @__PURE__ */ a.jsx("dd", { ...D, ref: x, children: ($ = y[g]) == null ? void 0 : $.n }),
6640
+ Object.keys(y).length !== 0 && /* @__PURE__ */ a.jsx("s", { children: /* @__PURE__ */ a.jsx(
6640
6641
  "svg",
6641
6642
  {
6642
6643
  fill: "none",
@@ -6664,7 +6665,7 @@ const Ac = ({
6664
6665
  l(!1);
6665
6666
  }, _ = (f) => {
6666
6667
  l(!1), e(f);
6667
- }, u = window.innerHeight - t.y + t.height < 320 ? t.y - 312 : t.y + 33, x = window.innerWidth - t.x < 265 ? t.x - 235 : t.x;
6668
+ }, u = window.innerHeight - t.y + t.height < 320 ? t.y - 312 : t.y + 33, p = window.innerWidth - t.x < 265 ? t.x - 235 : t.x;
6668
6669
  return /* @__PURE__ */ a.jsx(a.Fragment, { children: o ? /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
6669
6670
  /* @__PURE__ */ a.jsx(
6670
6671
  "div",
@@ -6681,7 +6682,7 @@ const Ac = ({
6681
6682
  "data-select": "background " + n,
6682
6683
  style: {
6683
6684
  top: u + "px",
6684
- left: x + "px",
6685
+ left: p + "px",
6685
6686
  width: t.width
6686
6687
  },
6687
6688
  children: /* @__PURE__ */ a.jsx(Uc, { order: i, options: s, link: _ })
@@ -6716,7 +6717,7 @@ function qt(e) {
6716
6717
  u(e.options[m]), e.onValue({ value: m, name: e.name });
6717
6718
  }, [_, u] = h.useState(
6718
6719
  e.default !== void 0 ? e.options[e.default] : e.default
6719
- ), x = (m) => {
6720
+ ), p = (m) => {
6720
6721
  if (!(r && s)) return;
6721
6722
  const k = m.target.getBoundingClientRect();
6722
6723
  ge.setListener(
@@ -6743,7 +6744,7 @@ function qt(e) {
6743
6744
  /* @__PURE__ */ a.jsx(
6744
6745
  "dd",
6745
6746
  {
6746
- onClick: x,
6747
+ onClick: p,
6747
6748
  "data-edit": (r && s) + "",
6748
6749
  ...f,
6749
6750
  children: _
@@ -6757,8 +6758,8 @@ function qt(e) {
6757
6758
  const Gc = ({ onValue: e, parent: t, view: n, options: r }) => {
6758
6759
  let [s, i] = h.useState(!0), o = () => {
6759
6760
  i(!1);
6760
- }, l = (x) => {
6761
- i(!1), e(x);
6761
+ }, l = (p) => {
6762
+ i(!1), e(p);
6762
6763
  }, c = Object.keys(r).length * 36, _ = window.innerHeight - t.y + t.height < c ? t.y - (c - 33) : t.y + 33, u = window.innerWidth - t.x < 265 ? t.x - 235 : t.x;
6763
6764
  return /* @__PURE__ */ a.jsx(a.Fragment, { children: s ? /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
6764
6765
  /* @__PURE__ */ a.jsx(
@@ -6778,13 +6779,13 @@ const Gc = ({ onValue: e, parent: t, view: n, options: r }) => {
6778
6779
  left: u + "px",
6779
6780
  width: t.width
6780
6781
  },
6781
- children: /* @__PURE__ */ a.jsx("ul", { children: Object.keys(r).map((x, f) => /* @__PURE__ */ a.jsx(
6782
+ children: /* @__PURE__ */ a.jsx("ul", { children: Object.keys(r).map((p, f) => /* @__PURE__ */ a.jsx(
6782
6783
  "li",
6783
6784
  {
6784
6785
  onClick: () => {
6785
- l(x);
6786
+ l(p);
6786
6787
  },
6787
- children: r[x]
6788
+ children: r[p]
6788
6789
  },
6789
6790
  f
6790
6791
  )) })
@@ -6804,11 +6805,11 @@ function Pt({
6804
6805
  edit: c = !0,
6805
6806
  show: _ = !0,
6806
6807
  active: u = !0,
6807
- after: x = "",
6808
+ after: p = "",
6808
6809
  view: f,
6809
6810
  module: m,
6810
6811
  item: k,
6811
- className: p = ""
6812
+ className: x = ""
6812
6813
  }) {
6813
6814
  let g = {};
6814
6815
  switch (e) {
@@ -6826,7 +6827,7 @@ function Pt({
6826
6827
  onValue: n,
6827
6828
  name: r,
6828
6829
  placeholder: s,
6829
- className: p
6830
+ className: x
6830
6831
  }
6831
6832
  );
6832
6833
  case "Select":
@@ -6843,7 +6844,7 @@ function Pt({
6843
6844
  onValue: n,
6844
6845
  name: r,
6845
6846
  placeholder: s,
6846
- className: p,
6847
+ className: x,
6847
6848
  options: g
6848
6849
  }
6849
6850
  );
@@ -6861,7 +6862,7 @@ function Pt({
6861
6862
  onValue: n,
6862
6863
  name: r,
6863
6864
  placeholder: s,
6864
- className: p,
6865
+ className: x,
6865
6866
  options: g
6866
6867
  }
6867
6868
  );
@@ -6879,7 +6880,7 @@ function Pt({
6879
6880
  onValue: n,
6880
6881
  name: r,
6881
6882
  placeholder: s,
6882
- className: p
6883
+ className: x
6883
6884
  }
6884
6885
  );
6885
6886
  case "Phone":
@@ -6896,7 +6897,7 @@ function Pt({
6896
6897
  onValue: n,
6897
6898
  name: r,
6898
6899
  placeholder: s,
6899
- className: p
6900
+ className: x
6900
6901
  }
6901
6902
  );
6902
6903
  case "Number":
@@ -6913,7 +6914,7 @@ function Pt({
6913
6914
  onValue: n,
6914
6915
  name: r,
6915
6916
  placeholder: s,
6916
- className: p
6917
+ className: x
6917
6918
  }
6918
6919
  );
6919
6920
  case "Money":
@@ -6930,7 +6931,7 @@ function Pt({
6930
6931
  onValue: n,
6931
6932
  name: r,
6932
6933
  placeholder: s,
6933
- className: p
6934
+ className: x
6934
6935
  }
6935
6936
  );
6936
6937
  case "Modal":
@@ -6947,7 +6948,7 @@ function Pt({
6947
6948
  onValue: n,
6948
6949
  name: r || "",
6949
6950
  placeholder: s,
6950
- className: p,
6951
+ className: x,
6951
6952
  options: g,
6952
6953
  module: m || ""
6953
6954
  }
@@ -6966,36 +6967,36 @@ function fa({
6966
6967
  active: c = !0,
6967
6968
  after: _ = "",
6968
6969
  show: u = !0,
6969
- view: x,
6970
+ view: p,
6970
6971
  onBlur: f,
6971
6972
  onSave: m,
6972
6973
  className: k = ""
6973
6974
  }) {
6974
- let p = !!(o && (e === "" || e === void 0));
6975
- if (!(l && c) && !u || !(l && c) && p) return "";
6975
+ let x = !!(o && (e === "" || e === void 0));
6976
+ if (!(l && c) && !u || !(l && c) && x) return "";
6976
6977
  let g = (R) => {
6977
6978
  t && t({ value: R.target.innerText, name: n });
6978
6979
  }, v = (R) => {
6979
6980
  m && m({ value: R.target.innerText, name: n });
6980
- }, b = (R) => {
6981
- R.preventDefault(), navigator.clipboard.readText().then((N) => {
6982
- window.document.execCommand("insertText", !1, N);
6983
- }).catch((N) => {
6981
+ }, y = (R) => {
6982
+ R.preventDefault(), navigator.clipboard.readText().then((T) => {
6983
+ window.document.execCommand("insertText", !1, T);
6984
+ }).catch((T) => {
6984
6985
  });
6985
6986
  };
6986
- const T = {};
6987
- T.field = "text", k && (T.className = k);
6988
- const $ = {};
6989
- return r && ($.placeholder = r), /* @__PURE__ */ a.jsxs("dl", { ...T, children: [
6987
+ const N = {};
6988
+ N.field = "text", k && (N.className = k);
6989
+ const B = {};
6990
+ return r && (B.placeholder = r), /* @__PURE__ */ a.jsxs("dl", { ...N, children: [
6990
6991
  s && /* @__PURE__ */ a.jsx("dt", { children: s }),
6991
6992
  /* @__PURE__ */ a.jsx(
6992
6993
  "dd",
6993
6994
  {
6994
- onPaste: b,
6995
+ onPaste: y,
6995
6996
  onBlur: v,
6996
6997
  onInput: g,
6997
6998
  contentEditable: l && c ? K.ContentEditable : "false",
6998
- ...$,
6999
+ ...B,
6999
7000
  suppressContentEditableWarning: !0,
7000
7001
  children: e
7001
7002
  }
@@ -7015,27 +7016,27 @@ function ma({
7015
7016
  active: c = !0,
7016
7017
  after: _ = "",
7017
7018
  show: u = !0,
7018
- view: x,
7019
+ view: p,
7019
7020
  onBlur: f,
7020
7021
  onSave: m,
7021
7022
  className: k = ""
7022
7023
  }) {
7023
- let p = !!(o && (e === "" || e === void 0)), g = H.Date(e === void 0 ? /* @__PURE__ */ new Date() : e, "HH:MM"), v = h.useRef(null);
7024
- if (!(l && c) && !u || !(l && c) && p) return "";
7025
- let b = (E) => {
7026
- v.current.textContent = E, t && t({ value: E, name: n });
7027
- }, T = (E) => {
7028
- m && m({ value: E, name: n });
7029
- }, $ = (E) => {
7030
- const D = E.target.getBoundingClientRect(), B = D.left, M = D.top;
7024
+ let x = !!(o && (e === "" || e === void 0)), g = H.Date(e === void 0 ? /* @__PURE__ */ new Date() : e, "HH:MM"), v = h.useRef(null);
7025
+ if (!(l && c) && !u || !(l && c) && x) return "";
7026
+ let y = (S) => {
7027
+ v.current.textContent = S, t && t({ value: S, name: n });
7028
+ }, N = (S) => {
7029
+ m && m({ value: S, name: n });
7030
+ }, B = (S) => {
7031
+ const D = S.target.getBoundingClientRect(), F = D.left, $ = D.top;
7031
7032
  ge.setListener(
7032
7033
  "form",
7033
7034
  /* @__PURE__ */ a.jsx(
7034
7035
  Zc,
7035
7036
  {
7036
- positions: { x: B, y: M },
7037
- onSave: T,
7038
- onValue: b,
7037
+ positions: { x: F, y: $ },
7038
+ onSave: N,
7039
+ onValue: y,
7039
7040
  date: g
7040
7041
  },
7041
7042
  (/* @__PURE__ */ new Date()).getTime()
@@ -7044,16 +7045,16 @@ function ma({
7044
7045
  };
7045
7046
  const R = {};
7046
7047
  R.field = "input", k && (R.className = k);
7047
- const N = {};
7048
- return r && (N.placeholder = r), /* @__PURE__ */ a.jsx(a.Fragment, { children: x === "icon" ? /* @__PURE__ */ a.jsx(
7048
+ const T = {};
7049
+ return r && (T.placeholder = r), /* @__PURE__ */ a.jsx(a.Fragment, { children: p === "icon" ? /* @__PURE__ */ a.jsx(
7049
7050
  "i",
7050
7051
  {
7051
7052
  "data-icon": "F043",
7052
- onClick: $
7053
+ onClick: B
7053
7054
  }
7054
7055
  ) : /* @__PURE__ */ a.jsxs("dl", { ...R, children: [
7055
7056
  s ? /* @__PURE__ */ a.jsx("dt", { children: s }) : "",
7056
- /* @__PURE__ */ a.jsx("dd", { onClick: $, ref: v, ...N, children: g }),
7057
+ /* @__PURE__ */ a.jsx("dd", { onClick: B, ref: v, ...T, children: g }),
7057
7058
  i ? /* @__PURE__ */ a.jsx("em", { children: i }) : ""
7058
7059
  ] }) });
7059
7060
  }
@@ -7061,7 +7062,7 @@ const Zc = ({ positions: e, onSave: t, onValue: n, date: r }) => {
7061
7062
  let s = r.split(":"), i = {
7062
7063
  h: H.Number(2, s[0]),
7063
7064
  m: H.Number(2, s[1])
7064
- }, o = "hour", [l, c] = h.useState({}), _ = !1, u = 0, x = 0, f = {
7065
+ }, o = "hour", [l, c] = h.useState({}), _ = !1, u = 0, p = 0, f = {
7065
7066
  body: h.useRef(null),
7066
7067
  time: h.useRef(null),
7067
7068
  hour: h.useRef(null),
@@ -7075,11 +7076,11 @@ const Zc = ({ positions: e, onSave: t, onValue: n, date: r }) => {
7075
7076
  _ = !0;
7076
7077
  }, k = () => {
7077
7078
  _ = !1, o = o === "hour" ? "time" : "hour", f.body.current.setAttribute("active", o);
7078
- }, p = (N) => {
7079
+ }, x = (T) => {
7079
7080
  if (_) {
7080
7081
  let D = Math.atan2(
7081
- N.pageX - (l.x + 78),
7082
- N.pageY - (l.y + 78)
7082
+ T.pageX - (l.x + 78),
7083
+ T.pageY - (l.y + 78)
7083
7084
  ) * (180 / Math.PI) * -1 + 180;
7084
7085
  f[o].current.style.transform = "rotate(" + D + "deg)", o === "hour" ? (i = {
7085
7086
  ...i,
@@ -7089,52 +7090,52 @@ const Zc = ({ positions: e, onSave: t, onValue: n, date: r }) => {
7089
7090
  m: H.Number(2, parseInt(String(D / 6), 10))
7090
7091
  }, f.timeText.current.textContent = i.m), n(i.h + ":" + i.m);
7091
7092
  }
7092
- }, g = (N) => {
7093
+ }, g = (T) => {
7093
7094
  if (o === "hour")
7094
- if (N.deltaY > 0) {
7095
- u += N.deltaY;
7096
- let E = parseInt(String(u / 50));
7097
- if (x !== E) {
7098
- x = E;
7095
+ if (T.deltaY > 0) {
7096
+ u += T.deltaY;
7097
+ let S = parseInt(String(u / 50));
7098
+ if (p !== S) {
7099
+ p = S;
7099
7100
  let D = parseInt(i.h, 10) + 1;
7100
7101
  D = D > 23 ? 0 : D, i = { ...i, h: H.Number(2, D) }, f.hourText.current.textContent = i.h, f[o].current.style.transform = "rotate(" + i.h * 15 + "deg)";
7101
7102
  }
7102
7103
  } else {
7103
- u -= N.deltaY;
7104
- let E = parseInt(String(u / 50));
7105
- if (x !== E) {
7106
- x = E;
7104
+ u -= T.deltaY;
7105
+ let S = parseInt(String(u / 50));
7106
+ if (p !== S) {
7107
+ p = S;
7107
7108
  let D = parseInt(i.h, 10) - 1;
7108
7109
  D = D < 0 ? 23 : D, i = { ...i, h: H.Number(2, D) }, f.hourText.current.textContent = i.h, f[o].current.style.transform = "rotate(" + i.h * 15 + "deg)";
7109
7110
  }
7110
7111
  }
7111
- else if (N.deltaY > 0) {
7112
- u += N.deltaY;
7113
- let E = parseInt(String(u / 50));
7114
- if (x !== E) {
7115
- x = E;
7112
+ else if (T.deltaY > 0) {
7113
+ u += T.deltaY;
7114
+ let S = parseInt(String(u / 50));
7115
+ if (p !== S) {
7116
+ p = S;
7116
7117
  let D = parseInt(i.m, 10) + 1;
7117
7118
  D = D > 59 ? 0 : D, i = { ...i, m: H.Number(2, D) }, f.timeText.current.textContent = i.m, f[o].current.style.transform = "rotate(" + i.m * 6 + "deg)";
7118
7119
  }
7119
7120
  } else {
7120
- u -= N.deltaY;
7121
- let E = parseInt(String(u / 50));
7122
- if (x !== E) {
7123
- x = E;
7121
+ u -= T.deltaY;
7122
+ let S = parseInt(String(u / 50));
7123
+ if (p !== S) {
7124
+ p = S;
7124
7125
  let D = parseInt(i.m, 10) - 1;
7125
7126
  D = D < 0 ? 59 : D, i = { ...i, m: H.Number(2, D) }, f.timeText.current.textContent = i.m, f[o].current.style.transform = "rotate(" + i.m * 6 + "deg)";
7126
7127
  }
7127
7128
  }
7128
7129
  n(i.h + ":" + i.m);
7129
- }, [v, b] = h.useState(!0), T = () => {
7130
- b(!1), t(i.h + ":" + i.m);
7131
- }, $ = window.innerHeight - e.y + 33 < 320 ? e.y - 312 : e.y + 33, R = window.innerWidth - e.x < 265 ? e.x - 235 : e.x;
7130
+ }, [v, y] = h.useState(!0), N = () => {
7131
+ y(!1), t(i.h + ":" + i.m);
7132
+ }, B = window.innerHeight - e.y + 33 < 320 ? e.y - 312 : e.y + 33, R = window.innerWidth - e.x < 265 ? e.x - 235 : e.x;
7132
7133
  return /* @__PURE__ */ a.jsx(a.Fragment, { children: v ? /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
7133
7134
  /* @__PURE__ */ a.jsx(
7134
7135
  "div",
7135
7136
  {
7136
7137
  className: fe.o,
7137
- onClick: () => T()
7138
+ onClick: () => N()
7138
7139
  },
7139
7140
  (/* @__PURE__ */ new Date()).getTime()
7140
7141
  ),
@@ -7144,10 +7145,10 @@ const Zc = ({ positions: e, onSave: t, onValue: n, date: r }) => {
7144
7145
  className: fe.c,
7145
7146
  onMouseDown: m,
7146
7147
  onMouseUp: k,
7147
- onMouseMove: p,
7148
+ onMouseMove: x,
7148
7149
  onWheel: g,
7149
7150
  ref: f.body,
7150
- style: { top: $ + "px", left: R + "px" },
7151
+ style: { top: B + "px", left: R + "px" },
7151
7152
  children: [
7152
7153
  /* @__PURE__ */ a.jsx("div", { className: "b" }),
7153
7154
  /* @__PURE__ */ a.jsxs("div", { className: "s", children: [
@@ -7195,7 +7196,7 @@ function ha({
7195
7196
  id: l,
7196
7197
  reload: c
7197
7198
  }) {
7198
- const [_, u] = h.useState(!!n), x = t || r;
7199
+ const [_, u] = h.useState(!!n), p = t || r;
7199
7200
  h.useEffect(() => {
7200
7201
  u(!!n);
7201
7202
  }, [n]);
@@ -7204,7 +7205,7 @@ function ha({
7204
7205
  };
7205
7206
  const m = {};
7206
7207
  return m.field = "check", s && (m.className = s), /* @__PURE__ */ a.jsxs("dl", { ...m, children: [
7207
- x ? /* @__PURE__ */ a.jsx("dt", { children: x }) : "",
7208
+ p ? /* @__PURE__ */ a.jsx("dt", { children: p }) : "",
7208
7209
  /* @__PURE__ */ a.jsxs("dd", { onClick: f, children: [
7209
7210
  /* @__PURE__ */ a.jsx("span", { children: o }),
7210
7211
  /* @__PURE__ */ a.jsx(
@@ -7264,38 +7265,38 @@ function pa({
7264
7265
  active: c = !0,
7265
7266
  after: _ = "",
7266
7267
  show: u = !0,
7267
- view: x,
7268
+ view: p,
7268
7269
  max: f = 0,
7269
7270
  onSave: m,
7270
7271
  className: k = "",
7271
- separator: p = ","
7272
+ separator: x = ","
7272
7273
  }) {
7273
7274
  const [g, v] = h.useState(
7274
- e !== void 0 ? e.split(p) : []
7275
+ e !== void 0 ? e.split(x) : []
7275
7276
  );
7276
7277
  h.useEffect(() => {
7277
- v(e !== void 0 ? e !== void 0 ? e.split(p) : [] : []);
7278
+ v(e !== void 0 ? e !== void 0 ? e.split(x) : [] : []);
7278
7279
  }, [e]);
7279
- let b = () => {
7280
+ let y = () => {
7280
7281
  if (f !== 0 && g.length >= f)
7281
7282
  return je.Error("Слишком много");
7282
7283
  v([...g, ""]);
7283
- }, T = (L) => {
7284
- g.splice(L, 1), g.length === 0 && g.push(""), v([...g]), m !== void 0 && m({ value: g.join(p), name: n });
7285
- }, $ = !!(o && (e === "" || e === void 0)), R = (L) => {
7284
+ }, N = (L) => {
7285
+ g.splice(L, 1), g.length === 0 && g.push(""), v([...g]), m !== void 0 && m({ value: g.join(x), name: n });
7286
+ }, B = !!(o && (e === "" || e === void 0)), R = (L) => {
7286
7287
  };
7287
- if (!(l && c) && !u || !(l && c) && $) return "";
7288
- const N = {};
7289
- N.field = "group", k && (N.className = k);
7290
- const E = (L, j) => {
7291
- K.Blur(L), g[j] = L.target.textContent, m && m({ value: g.join(p), name: n });
7288
+ if (!(l && c) && !u || !(l && c) && B) return "";
7289
+ const T = {};
7290
+ T.field = "group", k && (T.className = k);
7291
+ const S = (L, E) => {
7292
+ K.Blur(L), g[E] = L.target.textContent, m && m({ value: g.join(x), name: n });
7292
7293
  };
7293
- let D = (L, j) => {
7294
- g[j] = L.target.textContent, t && t({ value: g.join(p), name: n });
7295
- }, B = (L) => {
7294
+ let D = (L, E) => {
7295
+ g[E] = L.target.textContent, t && t({ value: g.join(x), name: n });
7296
+ }, F = (L) => {
7296
7297
  L.key === "Enter" && L.preventDefault();
7297
7298
  };
7298
- const M = ({ data: L }) => f !== 0 && L.length >= f ? "" : /* @__PURE__ */ a.jsx("i", { onClick: b, children: /* @__PURE__ */ a.jsxs(
7299
+ const $ = ({ data: L }) => f !== 0 && L.length >= f ? "" : /* @__PURE__ */ a.jsx("i", { onClick: y, children: /* @__PURE__ */ a.jsxs(
7299
7300
  "svg",
7300
7301
  {
7301
7302
  xmlns: "http://www.w3.org/2000/svg",
@@ -7311,32 +7312,32 @@ function pa({
7311
7312
  ]
7312
7313
  }
7313
7314
  ) });
7314
- return /* @__PURE__ */ a.jsxs("dl", { ...N, children: [
7315
+ return /* @__PURE__ */ a.jsxs("dl", { ...T, children: [
7315
7316
  /* @__PURE__ */ a.jsxs("dt", { children: [
7316
7317
  s,
7317
- /* @__PURE__ */ a.jsx(M, { data: g })
7318
+ /* @__PURE__ */ a.jsx($, { data: g })
7318
7319
  ] }),
7319
- /* @__PURE__ */ a.jsx("dd", { children: g.map((L, j) => /* @__PURE__ */ a.jsxs("li", { className: "field_group_item", children: [
7320
+ /* @__PURE__ */ a.jsx("dd", { children: g.map((L, E) => /* @__PURE__ */ a.jsxs("li", { className: "field_group_item", children: [
7320
7321
  /* @__PURE__ */ a.jsx(
7321
7322
  "span",
7322
7323
  {
7323
- onInput: (y) => D(y, j),
7324
+ onInput: (j) => D(j, E),
7324
7325
  edit: "true",
7325
7326
  name: n,
7326
7327
  placeholder: r,
7327
7328
  onPaste: R,
7328
7329
  contentEditable: l && c ? K.ContentEditable : "false",
7329
- onKeyDown: B,
7330
- onBlur: (y) => E(y, j),
7330
+ onKeyDown: F,
7331
+ onBlur: (j) => S(j, E),
7331
7332
  suppressContentEditableWarning: !0,
7332
- children: g[j]
7333
+ children: g[E]
7333
7334
  }
7334
7335
  ),
7335
7336
  /* @__PURE__ */ a.jsx(
7336
7337
  "i",
7337
7338
  {
7338
7339
  onClick: () => {
7339
- T(j);
7340
+ N(E);
7340
7341
  },
7341
7342
  children: /* @__PURE__ */ a.jsxs(
7342
7343
  "svg",
@@ -7356,7 +7357,7 @@ function pa({
7356
7357
  )
7357
7358
  }
7358
7359
  )
7359
- ] }, j)) }),
7360
+ ] }, E)) }),
7360
7361
  i && /* @__PURE__ */ a.jsx("em", { children: i })
7361
7362
  ] });
7362
7363
  }
@@ -7373,31 +7374,31 @@ function xa({
7373
7374
  show: c = !0,
7374
7375
  active: _ = !0,
7375
7376
  after: u = "",
7376
- view: x,
7377
+ view: p,
7377
7378
  modal: f,
7378
7379
  module: m,
7379
7380
  options: k,
7380
- className: p
7381
+ className: x
7381
7382
  }) {
7382
- const [g, v] = h.useState(Wc(e)), b = (R) => {
7383
+ const [g, v] = h.useState(Wc(e)), y = (R) => {
7383
7384
  if (!(l && _) || !f) return;
7384
- let N = f.split(".");
7385
- _t.Open(N[0], N[1], {
7386
- callback: (E) => {
7387
- t && t({ value: E, name: n }), v(E);
7385
+ let T = f.split(".");
7386
+ _t.Open(T[0], T[1], {
7387
+ callback: (S) => {
7388
+ t && t({ value: S, name: n }), v(S);
7388
7389
  },
7389
7390
  onValue: t,
7390
7391
  options: k,
7391
7392
  name: n,
7392
7393
  value: g
7393
7394
  });
7394
- }, T = {};
7395
- T.field = "group", p && (T.className = p);
7396
- const $ = {};
7397
- return r && ($.placeholder = r), o ? /* @__PURE__ */ a.jsx(a.Fragment, {}) : /* @__PURE__ */ a.jsxs("dl", { ...T, children: [
7395
+ }, N = {};
7396
+ N.field = "group", x && (N.className = x);
7397
+ const B = {};
7398
+ return r && (B.placeholder = r), o ? /* @__PURE__ */ a.jsx(a.Fragment, {}) : /* @__PURE__ */ a.jsxs("dl", { ...N, children: [
7398
7399
  /* @__PURE__ */ a.jsxs("dt", { children: [
7399
7400
  s,
7400
- /* @__PURE__ */ a.jsx("i", { onClick: b, children: /* @__PURE__ */ a.jsxs(
7401
+ /* @__PURE__ */ a.jsx("i", { onClick: y, children: /* @__PURE__ */ a.jsxs(
7401
7402
  "svg",
7402
7403
  {
7403
7404
  width: "20",
@@ -7418,13 +7419,13 @@ function xa({
7418
7419
  /* @__PURE__ */ a.jsx(
7419
7420
  "dd",
7420
7421
  {
7421
- ...$,
7422
+ ...B,
7422
7423
  onClick: open,
7423
7424
  edit: (l && _) + "",
7424
7425
  "data-after": u,
7425
7426
  children: Object.keys(g).map((R) => {
7426
- var N;
7427
- return /* @__PURE__ */ a.jsx("div", { className: "field_group_item", children: (N = k[R]) == null ? void 0 : N.label }, R);
7427
+ var T;
7428
+ return /* @__PURE__ */ a.jsx("div", { className: "field_group_item", children: (T = k[R]) == null ? void 0 : T.label }, R);
7428
7429
  })
7429
7430
  }
7430
7431
  ),
@@ -7443,24 +7444,24 @@ function Sn({
7443
7444
  edit: c = !0,
7444
7445
  active: _ = !0,
7445
7446
  after: u = "",
7446
- show: x = !0,
7447
+ show: p = !0,
7447
7448
  type: f,
7448
7449
  view: m,
7449
7450
  onBlur: k,
7450
- onSave: p,
7451
+ onSave: x,
7451
7452
  className: g = ""
7452
7453
  }) {
7453
7454
  const v = h.useId();
7454
- let b = !!(l && (e === "" || e === void 0)), [T, $] = h.useState(i);
7455
- if (!(c && _) && !x || !(c && _) && b) return "";
7456
- const R = async (E) => {
7455
+ let y = !!(l && (e === "" || e === void 0)), [N, B] = h.useState(i);
7456
+ if (!(c && _) && !p || !(c && _) && y) return "";
7457
+ const R = async (S) => {
7457
7458
  if (f) {
7458
- let D = Hc(E, f, e || "default");
7459
- t == null || t({ name: n, value: D }), $(URL.createObjectURL(D));
7459
+ let D = Hc(S, f, e || "default");
7460
+ t == null || t({ name: n, value: D }), B(URL.createObjectURL(D));
7460
7461
  } else
7461
- t == null || t({ name: n, value: E }), $(URL.createObjectURL(E));
7462
- }, N = {};
7463
- return N.field = "file", g && (N.className = g), /* @__PURE__ */ a.jsxs("dl", { ...N, children: [
7462
+ t == null || t({ name: n, value: S }), B(URL.createObjectURL(S));
7463
+ }, T = {};
7464
+ return T.field = "file", g && (T.className = g), /* @__PURE__ */ a.jsxs("dl", { ...T, children: [
7464
7465
  s && /* @__PURE__ */ a.jsxs("dt", { children: [
7465
7466
  s,
7466
7467
  " "
@@ -7472,13 +7473,13 @@ function Sn({
7472
7473
  id: v,
7473
7474
  type: "file",
7474
7475
  multiple: !0,
7475
- onChange: (E) => {
7476
- E.target.files[0] && R(E.target.files[0]);
7476
+ onChange: (S) => {
7477
+ S.target.files[0] && R(S.target.files[0]);
7477
7478
  }
7478
7479
  }
7479
7480
  ),
7480
7481
  /* @__PURE__ */ a.jsx("label", { htmlFor: v }),
7481
- /* @__PURE__ */ a.jsx("img", { src: T })
7482
+ /* @__PURE__ */ a.jsx("img", { src: N })
7482
7483
  ] }),
7483
7484
  o && /* @__PURE__ */ a.jsx("em", { children: o })
7484
7485
  ] });
@@ -7612,66 +7613,66 @@ function Qc({
7612
7613
  hide: c = !1,
7613
7614
  edit: _ = !0,
7614
7615
  active: u = !0,
7615
- after: x = "",
7616
+ after: p = "",
7616
7617
  show: f = !0,
7617
7618
  view: m,
7618
7619
  className: k = ""
7619
7620
  }) {
7620
7621
  _ = _ !== void 0 ? _ : !0, u = u !== void 0 ? u : !0, c = !!(c && (e === "" || e === void 0)) && !(_ && u), h.useRef(null);
7621
- let g = s, v = !0, b = 0, T = (y, P) => {
7622
- let z = document.createRange(), ae = window.getSelection();
7623
- z.setStart(P.childNodes[0], y), z.collapse(!0), ae.removeAllRanges(), ae.addRange(z), P.focus();
7624
- }, $ = (y) => {
7625
- y.preventDefault(), navigator.clipboard.readText().then((P) => {
7626
- window.document.execCommand("insertText", !1, P);
7627
- }).catch((P) => {
7622
+ let g = s, v = !0, y = 0, N = (j, M) => {
7623
+ let z = document.createRange(), ee = window.getSelection();
7624
+ z.setStart(M.childNodes[0], j), z.collapse(!0), ee.removeAllRanges(), ee.addRange(z), M.focus();
7625
+ }, B = (j) => {
7626
+ j.preventDefault(), navigator.clipboard.readText().then((M) => {
7627
+ window.document.execCommand("insertText", !1, M);
7628
+ }).catch((M) => {
7628
7629
  });
7629
- }, R = (y) => {
7630
- let P = 0, z = "", ae = y.replace(/\D/g, "");
7631
- ae === "" && (v = !0);
7632
- let oe = ae.split(""), ve = "";
7630
+ }, R = (j) => {
7631
+ let M = 0, z = "", ee = j.replace(/\D/g, "");
7632
+ ee === "" && (v = !0);
7633
+ let oe = ee.split(""), ve = "";
7633
7634
  oe.forEach((Qe) => {
7634
- v && (ve += Qe, v && (b = ("" + ve).length, g = s.replace(new RegExp("[0-9]", "g"), "_"), z = ""), b > ("" + ve).length && (v = !0, g = s.replace(new RegExp("[0-9]", "g"), "_"), z = ""));
7635
+ v && (ve += Qe, v && (y = ("" + ve).length, g = s.replace(new RegExp("[0-9]", "g"), "_"), z = ""), y > ("" + ve).length && (v = !0, g = s.replace(new RegExp("[0-9]", "g"), "_"), z = ""));
7635
7636
  });
7636
7637
  let Ie = g.replace(/\D/g, "");
7637
- return Ie.length >= ae.length && (ae = Ie), { q: g.replace(/[_\d]/g, function() {
7638
- return ae.charAt(P++) || "_";
7639
- }), i: P, v: ae, f: z };
7640
- }, N = (y) => {
7641
- y.preventDefault(), navigator.clipboard.writeText(y.target.textContent.replace(/\D/g, "")).then(
7638
+ return Ie.length >= ee.length && (ee = Ie), { q: g.replace(/[_\d]/g, function() {
7639
+ return ee.charAt(M++) || "_";
7640
+ }), i: M, v: ee, f: z };
7641
+ }, T = (j) => {
7642
+ j.preventDefault(), navigator.clipboard.writeText(j.target.textContent.replace(/\D/g, "")).then(
7642
7643
  function() {
7643
7644
  je.Copy("Данные в буфер обмене");
7644
7645
  },
7645
- function(P) {
7646
+ function(M) {
7646
7647
  }
7647
7648
  );
7648
- }, E = R(e), D = (y) => {
7649
- let P = R(y.target.textContent);
7650
- y.target.textContent = P.q, P.i = P.q.lastIndexOf(P.v.substr(-1)), P.i < P.q.length && P.q !== g ? P.i++ : P.i = P.q.indexOf("_"), T(P.i, y.target), t && t({ value: P.q.replace(/\D/g, ""), name: r });
7651
- }, B = (y) => {
7652
- y.key === "Enter" && y.preventDefault();
7649
+ }, S = R(e), D = (j) => {
7650
+ let M = R(j.target.textContent);
7651
+ j.target.textContent = M.q, M.i = M.q.lastIndexOf(M.v.substr(-1)), M.i < M.q.length && M.q !== g ? M.i++ : M.i = M.q.indexOf("_"), N(M.i, j.target), t && t({ value: M.q.replace(/\D/g, ""), name: r });
7652
+ }, F = (j) => {
7653
+ j.key === "Enter" && j.preventDefault();
7653
7654
  };
7654
- const M = (y) => {
7655
- K.Blur(y), n && n({
7656
- value: y.target.textContent.replace(/\D/g, ""),
7655
+ const $ = (j) => {
7656
+ K.Blur(j), n && n({
7657
+ value: j.target.textContent.replace(/\D/g, ""),
7657
7658
  name: r
7658
7659
  });
7659
7660
  }, L = {};
7660
7661
  L.field = "input", k && (L.className = k);
7661
- let j = {};
7662
- return _ && u ? (j.edit = "true", j.contentEditable = K.ContentEditable) : j.contentEditable = "false", i && (j.placeholder = i), x && (j.after = x), c ? /* @__PURE__ */ a.jsx(a.Fragment, {}) : /* @__PURE__ */ a.jsxs("dl", { ...L, children: [
7662
+ let E = {};
7663
+ return _ && u ? (E.edit = "true", E.contentEditable = K.ContentEditable) : E.contentEditable = "false", i && (E.placeholder = i), p && (E.after = p), c ? /* @__PURE__ */ a.jsx(a.Fragment, {}) : /* @__PURE__ */ a.jsxs("dl", { ...L, children: [
7663
7664
  o && /* @__PURE__ */ a.jsx("dt", { children: o }),
7664
7665
  /* @__PURE__ */ a.jsx(
7665
7666
  "dd",
7666
7667
  {
7667
- ...j,
7668
- onPaste: $,
7668
+ ...E,
7669
+ onPaste: B,
7669
7670
  onInput: D,
7670
- onKeyDown: B,
7671
- onContextMenu: N,
7672
- onBlur: M,
7671
+ onKeyDown: F,
7672
+ onContextMenu: T,
7673
+ onBlur: $,
7673
7674
  suppressContentEditableWarning: !0,
7674
- children: E.q
7675
+ children: S.q
7675
7676
  }
7676
7677
  ),
7677
7678
  l && /* @__PURE__ */ a.jsx("em", { children: l })
@@ -7745,7 +7746,7 @@ const e_ = { Spinner: ad, Inline: rd }, sd = "_ph_1wjxu_1", id = "_e_1wjxu_5", E
7745
7746
  }) => {
7746
7747
  const [u] = $n(
7747
7748
  o.map((m) => m.id).includes(Me()) ? Me() : i
7748
- ), [x, f] = h.useState(!1);
7749
+ ), [p, f] = h.useState(!1);
7749
7750
  return h.useEffect(() => {
7750
7751
  f(!0);
7751
7752
  }, []), /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
@@ -7756,7 +7757,7 @@ const e_ = { Spinner: ad, Inline: rd }, sd = "_ph_1wjxu_1", id = "_e_1wjxu_5", E
7756
7757
  ] }),
7757
7758
  o.length > 0 && /* @__PURE__ */ a.jsx(Vn, { list: o, active: u }),
7758
7759
  r,
7759
- x && /* @__PURE__ */ a.jsx(
7760
+ p && /* @__PURE__ */ a.jsx(
7760
7761
  ld,
7761
7762
  {
7762
7763
  onDynamicURL: n,
@@ -8109,10 +8110,10 @@ function Id({ head: e, load: t, list: n, item: r }) {
8109
8110
  const s = e;
8110
8111
  return /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
8111
8112
  /* @__PURE__ */ a.jsx(s, {}),
8112
- Ut.getSetting("s05") === 1 ? /* @__PURE__ */ a.jsx(ya, { list: n, load: t, item: r }) : /* @__PURE__ */ a.jsx(Tc, { list: n, load: t, item: r })
8113
+ Ut.getSetting("s05") === 1 ? /* @__PURE__ */ a.jsx(ya, { list: n, load: t, item: r }) : /* @__PURE__ */ a.jsx(Nc, { list: n, load: t, item: r })
8113
8114
  ] });
8114
8115
  }
8115
- function Nd(e, t) {
8116
+ function Td(e, t) {
8116
8117
  switch (t.type) {
8117
8118
  case "load":
8118
8119
  return {
@@ -8154,18 +8155,18 @@ function Nd(e, t) {
8154
8155
  }
8155
8156
  }
8156
8157
  const Ot = {};
8157
- function Td(e) {
8158
+ function Nd(e) {
8158
8159
  Ot.get = e;
8159
8160
  }
8160
8161
  function Ld(e) {
8161
8162
  Ot.get && Ot.get(e);
8162
8163
  }
8163
- const i_ = { View: Id, Reducer: Nd, useValue: Td, Lite: Qn, setValue: Ld }, o_ = {
8164
+ const i_ = { View: Id, Reducer: Td, useValue: Nd, Lite: Qn, setValue: Ld }, o_ = {
8164
8165
  addDictionary: ul,
8165
8166
  getDictionary: hl,
8166
8167
  setDictionary: ml,
8167
8168
  current: gl
8168
- }, l_ = { Get: Ni }, c_ = function({
8169
+ }, l_ = { Get: Ti }, c_ = function({
8169
8170
  title: e,
8170
8171
  children: t,
8171
8172
  imp: n,
@@ -8257,7 +8258,7 @@ export {
8257
8258
  d_ as Phone,
8258
8259
  ec as Root,
8259
8260
  he as Router,
8260
- Tc as Scrolling,
8261
+ Nc as Scrolling,
8261
8262
  n_ as Search,
8262
8263
  Ud as Setting,
8263
8264
  Be as Sistym,