@elcrm/telegram 0.0.70 → 0.0.71

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -1,5 +1,5 @@
1
- import P, { useState as Ot, useEffect as jt } from "react";
2
- import './index.css';var wt = { exports: {} }, Ve = {};
1
+ import B, { useState as le, useEffect as Ge } from "react";
2
+ import './index.css';var Pt = { exports: {} }, Je = {};
3
3
  /**
4
4
  * @license React
5
5
  * react-jsx-runtime.production.min.js
@@ -9,21 +9,21 @@ import './index.css';var wt = { exports: {} }, Ve = {};
9
9
  * This source code is licensed under the MIT license found in the
10
10
  * LICENSE file in the root directory of this source tree.
11
11
  */
12
- var Pt;
13
- function Vt() {
14
- if (Pt) return Ve;
15
- Pt = 1;
16
- var r = P, o = Symbol.for("react.element"), i = Symbol.for("react.fragment"), c = Object.prototype.hasOwnProperty, v = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, y = { key: !0, ref: !0, __self: !0, __source: !0 };
17
- function j(_, h, E) {
18
- var d, R = {}, C = null, N = null;
19
- E !== void 0 && (C = "" + E), h.key !== void 0 && (C = "" + h.key), h.ref !== void 0 && (N = h.ref);
20
- for (d in h) c.call(h, d) && !y.hasOwnProperty(d) && (R[d] = h[d]);
21
- if (_ && _.defaultProps) for (d in h = _.defaultProps, h) R[d] === void 0 && (R[d] = h[d]);
22
- return { $$typeof: o, type: _, key: C, ref: N, props: R, _owner: v.current };
12
+ var It;
13
+ function Kt() {
14
+ if (It) return Je;
15
+ It = 1;
16
+ var n = B, o = Symbol.for("react.element"), i = Symbol.for("react.fragment"), f = Object.prototype.hasOwnProperty, v = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, g = { key: !0, ref: !0, __self: !0, __source: !0 };
17
+ function j(_, m, E) {
18
+ var d, R = {}, C = null, W = null;
19
+ E !== void 0 && (C = "" + E), m.key !== void 0 && (C = "" + m.key), m.ref !== void 0 && (W = m.ref);
20
+ for (d in m) f.call(m, d) && !g.hasOwnProperty(d) && (R[d] = m[d]);
21
+ if (_ && _.defaultProps) for (d in m = _.defaultProps, m) R[d] === void 0 && (R[d] = m[d]);
22
+ return { $$typeof: o, type: _, key: C, ref: W, props: R, _owner: v.current };
23
23
  }
24
- return Ve.Fragment = i, Ve.jsx = j, Ve.jsxs = j, Ve;
24
+ return Je.Fragment = i, Je.jsx = j, Je.jsxs = j, Je;
25
25
  }
26
- var ze = {};
26
+ var qe = {};
27
27
  /**
28
28
  * @license React
29
29
  * react-jsx-runtime.development.js
@@ -33,54 +33,54 @@ var ze = {};
33
33
  * This source code is licensed under the MIT license found in the
34
34
  * LICENSE file in the root directory of this source tree.
35
35
  */
36
- var Tt;
37
- function zt() {
38
- return Tt || (Tt = 1, process.env.NODE_ENV !== "production" && function() {
39
- var r = P, o = Symbol.for("react.element"), i = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), v = Symbol.for("react.strict_mode"), y = Symbol.for("react.profiler"), j = Symbol.for("react.provider"), _ = Symbol.for("react.context"), h = Symbol.for("react.forward_ref"), E = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), R = Symbol.for("react.memo"), C = Symbol.for("react.lazy"), N = Symbol.for("react.offscreen"), ne = Symbol.iterator, _e = "@@iterator";
40
- function Re(e) {
36
+ var Bt;
37
+ function Ht() {
38
+ return Bt || (Bt = 1, process.env.NODE_ENV !== "production" && function() {
39
+ var n = B, o = Symbol.for("react.element"), i = Symbol.for("react.portal"), f = Symbol.for("react.fragment"), v = Symbol.for("react.strict_mode"), g = Symbol.for("react.profiler"), j = Symbol.for("react.provider"), _ = Symbol.for("react.context"), m = Symbol.for("react.forward_ref"), E = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), R = Symbol.for("react.memo"), C = Symbol.for("react.lazy"), W = Symbol.for("react.offscreen"), ne = Symbol.iterator, ke = "@@iterator";
40
+ function Ee(e) {
41
41
  if (e === null || typeof e != "object")
42
42
  return null;
43
- var t = ne && e[ne] || e[_e];
43
+ var t = ne && e[ne] || e[ke];
44
44
  return typeof t == "function" ? t : null;
45
45
  }
46
- var F = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
46
+ var F = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
47
47
  function S(e) {
48
48
  {
49
- for (var t = arguments.length, n = new Array(t > 1 ? t - 1 : 0), a = 1; a < t; a++)
50
- n[a - 1] = arguments[a];
51
- me("error", e, n);
49
+ for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), a = 1; a < t; a++)
50
+ r[a - 1] = arguments[a];
51
+ be("error", e, r);
52
52
  }
53
53
  }
54
- function me(e, t, n) {
54
+ function be(e, t, r) {
55
55
  {
56
- var a = F.ReactDebugCurrentFrame, f = a.getStackAddendum();
57
- f !== "" && (t += "%s", n = n.concat([f]));
58
- var p = n.map(function(u) {
59
- return String(u);
56
+ var a = F.ReactDebugCurrentFrame, c = a.getStackAddendum();
57
+ c !== "" && (t += "%s", r = r.concat([c]));
58
+ var p = r.map(function(l) {
59
+ return String(l);
60
60
  });
61
61
  p.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, p);
62
62
  }
63
63
  }
64
- var ke = !1, Ee = !1, m = !1, k = !1, B = !1, $;
64
+ var Se = !1, xe = !1, h = !1, k = !1, T = !1, $;
65
65
  $ = Symbol.for("react.module.reference");
66
- function W(e) {
67
- return !!(typeof e == "string" || typeof e == "function" || e === c || e === y || B || e === v || e === E || e === d || k || e === N || ke || Ee || m || typeof e == "object" && e !== null && (e.$$typeof === C || e.$$typeof === R || e.$$typeof === j || e.$$typeof === _ || e.$$typeof === h || // This needs to include all possible module reference object
66
+ function L(e) {
67
+ return !!(typeof e == "string" || typeof e == "function" || e === f || e === g || T || e === v || e === E || e === d || k || e === W || Se || xe || h || typeof e == "object" && e !== null && (e.$$typeof === C || e.$$typeof === R || e.$$typeof === j || e.$$typeof === _ || e.$$typeof === m || // This needs to include all possible module reference object
68
68
  // types supported by any Flight configuration anywhere since
69
69
  // we don't know which Flight build this will end up being used
70
70
  // with.
71
71
  e.$$typeof === $ || e.getModuleId !== void 0));
72
72
  }
73
- function oe(e, t, n) {
73
+ function oe(e, t, r) {
74
74
  var a = e.displayName;
75
75
  if (a)
76
76
  return a;
77
- var f = t.displayName || t.name || "";
78
- return f !== "" ? n + "(" + f + ")" : n;
77
+ var c = t.displayName || t.name || "";
78
+ return c !== "" ? r + "(" + c + ")" : r;
79
79
  }
80
80
  function ae(e) {
81
81
  return e.displayName || "Context";
82
82
  }
83
- function T(e) {
83
+ function A(e) {
84
84
  if (e == null)
85
85
  return null;
86
86
  if (typeof e.tag == "number" && S("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
@@ -88,11 +88,11 @@ function zt() {
88
88
  if (typeof e == "string")
89
89
  return e;
90
90
  switch (e) {
91
- case c:
91
+ case f:
92
92
  return "Fragment";
93
93
  case i:
94
94
  return "Portal";
95
- case y:
95
+ case g:
96
96
  return "Profiler";
97
97
  case v:
98
98
  return "StrictMode";
@@ -107,17 +107,17 @@ function zt() {
107
107
  var t = e;
108
108
  return ae(t) + ".Consumer";
109
109
  case j:
110
- var n = e;
111
- return ae(n._context) + ".Provider";
112
- case h:
110
+ var r = e;
111
+ return ae(r._context) + ".Provider";
112
+ case m:
113
113
  return oe(e, e.render, "ForwardRef");
114
114
  case R:
115
115
  var a = e.displayName || null;
116
- return a !== null ? a : T(e.type) || "Memo";
116
+ return a !== null ? a : A(e.type) || "Memo";
117
117
  case C: {
118
- var f = e, p = f._payload, u = f._init;
118
+ var c = e, p = c._payload, l = c._init;
119
119
  try {
120
- return T(u(p));
120
+ return A(l(p));
121
121
  } catch {
122
122
  return null;
123
123
  }
@@ -125,18 +125,18 @@ function zt() {
125
125
  }
126
126
  return null;
127
127
  }
128
- var I = Object.assign, D = 0, z, J, q, Se, xe, Oe, je;
129
- function we() {
128
+ var I = Object.assign, D = 0, J, q, K, Oe, je, we, Ce;
129
+ function Pe() {
130
130
  }
131
- we.__reactDisabledLog = !0;
132
- function Qe() {
131
+ Pe.__reactDisabledLog = !0;
132
+ function nt() {
133
133
  {
134
134
  if (D === 0) {
135
- z = console.log, J = console.info, q = console.warn, Se = console.error, xe = console.group, Oe = console.groupCollapsed, je = console.groupEnd;
135
+ J = console.log, q = console.info, K = console.warn, Oe = console.error, je = console.group, we = console.groupCollapsed, Ce = console.groupEnd;
136
136
  var e = {
137
137
  configurable: !0,
138
138
  enumerable: !0,
139
- value: we,
139
+ value: Pe,
140
140
  writable: !0
141
141
  };
142
142
  Object.defineProperties(console, {
@@ -152,7 +152,7 @@ function zt() {
152
152
  D++;
153
153
  }
154
154
  }
155
- function et() {
155
+ function ot() {
156
156
  {
157
157
  if (D--, D === 0) {
158
158
  var e = {
@@ -162,87 +162,87 @@ function zt() {
162
162
  };
163
163
  Object.defineProperties(console, {
164
164
  log: I({}, e, {
165
- value: z
165
+ value: J
166
166
  }),
167
167
  info: I({}, e, {
168
- value: J
168
+ value: q
169
169
  }),
170
170
  warn: I({}, e, {
171
- value: q
171
+ value: K
172
172
  }),
173
173
  error: I({}, e, {
174
- value: Se
174
+ value: Oe
175
175
  }),
176
176
  group: I({}, e, {
177
- value: xe
177
+ value: je
178
178
  }),
179
179
  groupCollapsed: I({}, e, {
180
- value: Oe
180
+ value: we
181
181
  }),
182
182
  groupEnd: I({}, e, {
183
- value: je
183
+ value: Ce
184
184
  })
185
185
  });
186
186
  }
187
187
  D < 0 && S("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
188
188
  }
189
189
  }
190
- var se = F.ReactCurrentDispatcher, ue;
191
- function G(e, t, n) {
190
+ var ue = F.ReactCurrentDispatcher, ce;
191
+ function G(e, t, r) {
192
192
  {
193
- if (ue === void 0)
193
+ if (ce === void 0)
194
194
  try {
195
195
  throw Error();
196
- } catch (f) {
197
- var a = f.stack.trim().match(/\n( *(at )?)/);
198
- ue = a && a[1] || "";
196
+ } catch (c) {
197
+ var a = c.stack.trim().match(/\n( *(at )?)/);
198
+ ce = a && a[1] || "";
199
199
  }
200
200
  return `
201
- ` + ue + e;
201
+ ` + ce + e;
202
202
  }
203
203
  }
204
- var le = !1, Z;
204
+ var fe = !1, Z;
205
205
  {
206
- var tt = typeof WeakMap == "function" ? WeakMap : Map;
207
- Z = new tt();
206
+ var at = typeof WeakMap == "function" ? WeakMap : Map;
207
+ Z = new at();
208
208
  }
209
- function Ce(e, t) {
210
- if (!e || le)
209
+ function Ae(e, t) {
210
+ if (!e || fe)
211
211
  return "";
212
212
  {
213
- var n = Z.get(e);
214
- if (n !== void 0)
215
- return n;
213
+ var r = Z.get(e);
214
+ if (r !== void 0)
215
+ return r;
216
216
  }
217
217
  var a;
218
- le = !0;
219
- var f = Error.prepareStackTrace;
218
+ fe = !0;
219
+ var c = Error.prepareStackTrace;
220
220
  Error.prepareStackTrace = void 0;
221
221
  var p;
222
- p = se.current, se.current = null, Qe();
222
+ p = ue.current, ue.current = null, nt();
223
223
  try {
224
224
  if (t) {
225
- var u = function() {
225
+ var l = function() {
226
226
  throw Error();
227
227
  };
228
- if (Object.defineProperty(u.prototype, "props", {
228
+ if (Object.defineProperty(l.prototype, "props", {
229
229
  set: function() {
230
230
  throw Error();
231
231
  }
232
232
  }), typeof Reflect == "object" && Reflect.construct) {
233
233
  try {
234
- Reflect.construct(u, []);
234
+ Reflect.construct(l, []);
235
235
  } catch (O) {
236
236
  a = O;
237
237
  }
238
- Reflect.construct(e, [], u);
238
+ Reflect.construct(e, [], l);
239
239
  } else {
240
240
  try {
241
- u.call();
241
+ l.call();
242
242
  } catch (O) {
243
243
  a = O;
244
244
  }
245
- e.call(u.prototype);
245
+ e.call(l.prototype);
246
246
  }
247
247
  } else {
248
248
  try {
@@ -256,39 +256,39 @@ function zt() {
256
256
  if (O && a && typeof O.stack == "string") {
257
257
  for (var s = O.stack.split(`
258
258
  `), x = a.stack.split(`
259
- `), g = s.length - 1, b = x.length - 1; g >= 1 && b >= 0 && s[g] !== x[b]; )
259
+ `), y = s.length - 1, b = x.length - 1; y >= 1 && b >= 0 && s[y] !== x[b]; )
260
260
  b--;
261
- for (; g >= 1 && b >= 0; g--, b--)
262
- if (s[g] !== x[b]) {
263
- if (g !== 1 || b !== 1)
261
+ for (; y >= 1 && b >= 0; y--, b--)
262
+ if (s[y] !== x[b]) {
263
+ if (y !== 1 || b !== 1)
264
264
  do
265
- if (g--, b--, b < 0 || s[g] !== x[b]) {
266
- var A = `
267
- ` + s[g].replace(" at new ", " at ");
268
- return e.displayName && A.includes("<anonymous>") && (A = A.replace("<anonymous>", e.displayName)), typeof e == "function" && Z.set(e, A), A;
265
+ if (y--, b--, b < 0 || s[y] !== x[b]) {
266
+ var P = `
267
+ ` + s[y].replace(" at new ", " at ");
268
+ return e.displayName && P.includes("<anonymous>") && (P = P.replace("<anonymous>", e.displayName)), typeof e == "function" && Z.set(e, P), P;
269
269
  }
270
- while (g >= 1 && b >= 0);
270
+ while (y >= 1 && b >= 0);
271
271
  break;
272
272
  }
273
273
  }
274
274
  } finally {
275
- le = !1, se.current = p, et(), Error.prepareStackTrace = f;
275
+ fe = !1, ue.current = p, ot(), Error.prepareStackTrace = c;
276
276
  }
277
- var U = e ? e.displayName || e.name : "", M = U ? G(U) : "";
278
- return typeof e == "function" && Z.set(e, M), M;
277
+ var Y = e ? e.displayName || e.name : "", N = Y ? G(Y) : "";
278
+ return typeof e == "function" && Z.set(e, N), N;
279
279
  }
280
- function rt(e, t, n) {
281
- return Ce(e, !1);
280
+ function it(e, t, r) {
281
+ return Ae(e, !1);
282
282
  }
283
- function nt(e) {
283
+ function st(e) {
284
284
  var t = e.prototype;
285
285
  return !!(t && t.isReactComponent);
286
286
  }
287
- function X(e, t, n) {
287
+ function X(e, t, r) {
288
288
  if (e == null)
289
289
  return "";
290
290
  if (typeof e == "function")
291
- return Ce(e, nt(e));
291
+ return Ae(e, st(e));
292
292
  if (typeof e == "string")
293
293
  return G(e);
294
294
  switch (e) {
@@ -299,127 +299,127 @@ function zt() {
299
299
  }
300
300
  if (typeof e == "object")
301
301
  switch (e.$$typeof) {
302
- case h:
303
- return rt(e.render);
302
+ case m:
303
+ return it(e.render);
304
304
  case R:
305
- return X(e.type, t, n);
305
+ return X(e.type, t, r);
306
306
  case C: {
307
- var a = e, f = a._payload, p = a._init;
307
+ var a = e, c = a._payload, p = a._init;
308
308
  try {
309
- return X(p(f), t, n);
309
+ return X(p(c), t, r);
310
310
  } catch {
311
311
  }
312
312
  }
313
313
  }
314
314
  return "";
315
315
  }
316
- var Y = Object.prototype.hasOwnProperty, Ae = {}, Pe = F.ReactDebugCurrentFrame;
316
+ var V = Object.prototype.hasOwnProperty, Te = {}, Ie = F.ReactDebugCurrentFrame;
317
317
  function Q(e) {
318
318
  if (e) {
319
- var t = e._owner, n = X(e.type, e._source, t ? t.type : null);
320
- Pe.setExtraStackFrame(n);
319
+ var t = e._owner, r = X(e.type, e._source, t ? t.type : null);
320
+ Ie.setExtraStackFrame(r);
321
321
  } else
322
- Pe.setExtraStackFrame(null);
322
+ Ie.setExtraStackFrame(null);
323
323
  }
324
- function ot(e, t, n, a, f) {
324
+ function lt(e, t, r, a, c) {
325
325
  {
326
- var p = Function.call.bind(Y);
327
- for (var u in e)
328
- if (p(e, u)) {
326
+ var p = Function.call.bind(V);
327
+ for (var l in e)
328
+ if (p(e, l)) {
329
329
  var s = void 0;
330
330
  try {
331
- if (typeof e[u] != "function") {
332
- var x = Error((a || "React class") + ": " + n + " type `" + u + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[u] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
331
+ if (typeof e[l] != "function") {
332
+ var x = Error((a || "React class") + ": " + r + " type `" + l + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[l] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
333
333
  throw x.name = "Invariant Violation", x;
334
334
  }
335
- s = e[u](t, u, a, n, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
336
- } catch (g) {
337
- s = g;
335
+ s = e[l](t, l, a, r, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
336
+ } catch (y) {
337
+ s = y;
338
338
  }
339
- s && !(s instanceof Error) && (Q(f), S("%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).", a || "React class", n, u, typeof s), Q(null)), s instanceof Error && !(s.message in Ae) && (Ae[s.message] = !0, Q(f), S("Failed %s type: %s", n, s.message), Q(null));
339
+ s && !(s instanceof Error) && (Q(c), S("%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).", a || "React class", r, l, typeof s), Q(null)), s instanceof Error && !(s.message in Te) && (Te[s.message] = !0, Q(c), S("Failed %s type: %s", r, s.message), Q(null));
340
340
  }
341
341
  }
342
342
  }
343
- var at = Array.isArray;
344
- function ce(e) {
345
- return at(e);
343
+ var ut = Array.isArray;
344
+ function de(e) {
345
+ return ut(e);
346
346
  }
347
- function it(e) {
347
+ function ct(e) {
348
348
  {
349
- var t = typeof Symbol == "function" && Symbol.toStringTag, n = t && e[Symbol.toStringTag] || e.constructor.name || "Object";
350
- return n;
349
+ var t = typeof Symbol == "function" && Symbol.toStringTag, r = t && e[Symbol.toStringTag] || e.constructor.name || "Object";
350
+ return r;
351
351
  }
352
352
  }
353
- function st(e) {
353
+ function ft(e) {
354
354
  try {
355
- return Te(e), !1;
355
+ return Be(e), !1;
356
356
  } catch {
357
357
  return !0;
358
358
  }
359
359
  }
360
- function Te(e) {
360
+ function Be(e) {
361
361
  return "" + e;
362
362
  }
363
- function Be(e) {
364
- if (st(e))
365
- return S("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", it(e)), Te(e);
363
+ function $e(e) {
364
+ if (ft(e))
365
+ return S("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", ct(e)), Be(e);
366
366
  }
367
- var Ie = F.ReactCurrentOwner, ut = {
367
+ var De = F.ReactCurrentOwner, dt = {
368
368
  key: !0,
369
369
  ref: !0,
370
370
  __self: !0,
371
371
  __source: !0
372
- }, $e, De;
373
- function lt(e) {
374
- if (Y.call(e, "ref")) {
372
+ }, Fe, Ne;
373
+ function pt(e) {
374
+ if (V.call(e, "ref")) {
375
375
  var t = Object.getOwnPropertyDescriptor(e, "ref").get;
376
376
  if (t && t.isReactWarning)
377
377
  return !1;
378
378
  }
379
379
  return e.ref !== void 0;
380
380
  }
381
- function ct(e) {
382
- if (Y.call(e, "key")) {
381
+ function vt(e) {
382
+ if (V.call(e, "key")) {
383
383
  var t = Object.getOwnPropertyDescriptor(e, "key").get;
384
384
  if (t && t.isReactWarning)
385
385
  return !1;
386
386
  }
387
387
  return e.key !== void 0;
388
388
  }
389
- function ft(e, t) {
390
- typeof e.ref == "string" && Ie.current;
389
+ function mt(e, t) {
390
+ typeof e.ref == "string" && De.current;
391
391
  }
392
- function dt(e, t) {
392
+ function gt(e, t) {
393
393
  {
394
- var n = function() {
395
- $e || ($e = !0, S("%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)", t));
394
+ var r = function() {
395
+ Fe || (Fe = !0, S("%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)", t));
396
396
  };
397
- n.isReactWarning = !0, Object.defineProperty(e, "key", {
398
- get: n,
397
+ r.isReactWarning = !0, Object.defineProperty(e, "key", {
398
+ get: r,
399
399
  configurable: !0
400
400
  });
401
401
  }
402
402
  }
403
- function pt(e, t) {
403
+ function ht(e, t) {
404
404
  {
405
- var n = function() {
406
- De || (De = !0, S("%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)", t));
405
+ var r = function() {
406
+ Ne || (Ne = !0, S("%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)", t));
407
407
  };
408
- n.isReactWarning = !0, Object.defineProperty(e, "ref", {
409
- get: n,
408
+ r.isReactWarning = !0, Object.defineProperty(e, "ref", {
409
+ get: r,
410
410
  configurable: !0
411
411
  });
412
412
  }
413
413
  }
414
- var vt = function(e, t, n, a, f, p, u) {
414
+ var yt = function(e, t, r, a, c, p, l) {
415
415
  var s = {
416
416
  // This tag allows us to uniquely identify this as a React Element
417
417
  $$typeof: o,
418
418
  // Built-in properties that belong on the element
419
419
  type: e,
420
420
  key: t,
421
- ref: n,
422
- props: u,
421
+ ref: r,
422
+ props: l,
423
423
  // Record the component responsible for creating this element.
424
424
  _owner: p
425
425
  };
@@ -437,44 +437,44 @@ function zt() {
437
437
  configurable: !1,
438
438
  enumerable: !1,
439
439
  writable: !1,
440
- value: f
440
+ value: c
441
441
  }), Object.freeze && (Object.freeze(s.props), Object.freeze(s)), s;
442
442
  };
443
- function ht(e, t, n, a, f) {
443
+ function bt(e, t, r, a, c) {
444
444
  {
445
- var p, u = {}, s = null, x = null;
446
- n !== void 0 && (Be(n), s = "" + n), ct(t) && (Be(t.key), s = "" + t.key), lt(t) && (x = t.ref, ft(t, f));
445
+ var p, l = {}, s = null, x = null;
446
+ r !== void 0 && ($e(r), s = "" + r), vt(t) && ($e(t.key), s = "" + t.key), pt(t) && (x = t.ref, mt(t, c));
447
447
  for (p in t)
448
- Y.call(t, p) && !ut.hasOwnProperty(p) && (u[p] = t[p]);
448
+ V.call(t, p) && !dt.hasOwnProperty(p) && (l[p] = t[p]);
449
449
  if (e && e.defaultProps) {
450
- var g = e.defaultProps;
451
- for (p in g)
452
- u[p] === void 0 && (u[p] = g[p]);
450
+ var y = e.defaultProps;
451
+ for (p in y)
452
+ l[p] === void 0 && (l[p] = y[p]);
453
453
  }
454
454
  if (s || x) {
455
455
  var b = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
456
- s && dt(u, b), x && pt(u, b);
456
+ s && gt(l, b), x && ht(l, b);
457
457
  }
458
- return vt(e, s, x, f, a, Ie.current, u);
458
+ return yt(e, s, x, c, a, De.current, l);
459
459
  }
460
460
  }
461
- var fe = F.ReactCurrentOwner, Fe = F.ReactDebugCurrentFrame;
462
- function L(e) {
461
+ var pe = F.ReactCurrentOwner, Me = F.ReactDebugCurrentFrame;
462
+ function U(e) {
463
463
  if (e) {
464
- var t = e._owner, n = X(e.type, e._source, t ? t.type : null);
465
- Fe.setExtraStackFrame(n);
464
+ var t = e._owner, r = X(e.type, e._source, t ? t.type : null);
465
+ Me.setExtraStackFrame(r);
466
466
  } else
467
- Fe.setExtraStackFrame(null);
467
+ Me.setExtraStackFrame(null);
468
468
  }
469
- var de;
470
- de = !1;
471
- function pe(e) {
469
+ var ve;
470
+ ve = !1;
471
+ function me(e) {
472
472
  return typeof e == "object" && e !== null && e.$$typeof === o;
473
473
  }
474
- function Me() {
474
+ function We() {
475
475
  {
476
- if (fe.current) {
477
- var e = T(fe.current.type);
476
+ if (pe.current) {
477
+ var e = A(pe.current.type);
478
478
  if (e)
479
479
  return `
480
480
 
@@ -483,311 +483,311 @@ Check the render method of \`` + e + "`.";
483
483
  return "";
484
484
  }
485
485
  }
486
- function yt(e) {
486
+ function _t(e) {
487
487
  return "";
488
488
  }
489
- var Ne = {};
490
- function mt(e) {
489
+ var Le = {};
490
+ function Rt(e) {
491
491
  {
492
- var t = Me();
492
+ var t = We();
493
493
  if (!t) {
494
- var n = typeof e == "string" ? e : e.displayName || e.name;
495
- n && (t = `
494
+ var r = typeof e == "string" ? e : e.displayName || e.name;
495
+ r && (t = `
496
496
 
497
- Check the top-level render call using <` + n + ">.");
497
+ Check the top-level render call using <` + r + ">.");
498
498
  }
499
499
  return t;
500
500
  }
501
501
  }
502
- function We(e, t) {
502
+ function Ue(e, t) {
503
503
  {
504
504
  if (!e._store || e._store.validated || e.key != null)
505
505
  return;
506
506
  e._store.validated = !0;
507
- var n = mt(t);
508
- if (Ne[n])
507
+ var r = Rt(t);
508
+ if (Le[r])
509
509
  return;
510
- Ne[n] = !0;
510
+ Le[r] = !0;
511
511
  var a = "";
512
- e && e._owner && e._owner !== fe.current && (a = " It was passed a child from " + T(e._owner.type) + "."), L(e), S('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', n, a), L(null);
512
+ e && e._owner && e._owner !== pe.current && (a = " It was passed a child from " + A(e._owner.type) + "."), U(e), S('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', r, a), U(null);
513
513
  }
514
514
  }
515
- function Le(e, t) {
515
+ function Ye(e, t) {
516
516
  {
517
517
  if (typeof e != "object")
518
518
  return;
519
- if (ce(e))
520
- for (var n = 0; n < e.length; n++) {
521
- var a = e[n];
522
- pe(a) && We(a, t);
519
+ if (de(e))
520
+ for (var r = 0; r < e.length; r++) {
521
+ var a = e[r];
522
+ me(a) && Ue(a, t);
523
523
  }
524
- else if (pe(e))
524
+ else if (me(e))
525
525
  e._store && (e._store.validated = !0);
526
526
  else if (e) {
527
- var f = Re(e);
528
- if (typeof f == "function" && f !== e.entries)
529
- for (var p = f.call(e), u; !(u = p.next()).done; )
530
- pe(u.value) && We(u.value, t);
527
+ var c = Ee(e);
528
+ if (typeof c == "function" && c !== e.entries)
529
+ for (var p = c.call(e), l; !(l = p.next()).done; )
530
+ me(l.value) && Ue(l.value, t);
531
531
  }
532
532
  }
533
533
  }
534
- function gt(e) {
534
+ function kt(e) {
535
535
  {
536
536
  var t = e.type;
537
537
  if (t == null || typeof t == "string")
538
538
  return;
539
- var n;
539
+ var r;
540
540
  if (typeof t == "function")
541
- n = t.propTypes;
542
- else if (typeof t == "object" && (t.$$typeof === h || // Note: Memo only checks outer props here.
541
+ r = t.propTypes;
542
+ else if (typeof t == "object" && (t.$$typeof === m || // Note: Memo only checks outer props here.
543
543
  // Inner props are checked in the reconciler.
544
544
  t.$$typeof === R))
545
- n = t.propTypes;
545
+ r = t.propTypes;
546
546
  else
547
547
  return;
548
- if (n) {
549
- var a = T(t);
550
- ot(n, e.props, "prop", a, e);
551
- } else if (t.PropTypes !== void 0 && !de) {
552
- de = !0;
553
- var f = T(t);
554
- S("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", f || "Unknown");
548
+ if (r) {
549
+ var a = A(t);
550
+ lt(r, e.props, "prop", a, e);
551
+ } else if (t.PropTypes !== void 0 && !ve) {
552
+ ve = !0;
553
+ var c = A(t);
554
+ S("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", c || "Unknown");
555
555
  }
556
556
  typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && S("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
557
557
  }
558
558
  }
559
- function bt(e) {
559
+ function Et(e) {
560
560
  {
561
- for (var t = Object.keys(e.props), n = 0; n < t.length; n++) {
562
- var a = t[n];
561
+ for (var t = Object.keys(e.props), r = 0; r < t.length; r++) {
562
+ var a = t[r];
563
563
  if (a !== "children" && a !== "key") {
564
- L(e), S("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", a), L(null);
564
+ U(e), S("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", a), U(null);
565
565
  break;
566
566
  }
567
567
  }
568
- e.ref !== null && (L(e), S("Invalid attribute `ref` supplied to `React.Fragment`."), L(null));
568
+ e.ref !== null && (U(e), S("Invalid attribute `ref` supplied to `React.Fragment`."), U(null));
569
569
  }
570
570
  }
571
- var Ue = {};
572
- function Ye(e, t, n, a, f, p) {
571
+ var Ve = {};
572
+ function ze(e, t, r, a, c, p) {
573
573
  {
574
- var u = W(e);
575
- if (!u) {
574
+ var l = L(e);
575
+ if (!l) {
576
576
  var s = "";
577
577
  (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (s += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
578
- var x = yt();
579
- x ? s += x : s += Me();
580
- var g;
581
- e === null ? g = "null" : ce(e) ? g = "array" : e !== void 0 && e.$$typeof === o ? (g = "<" + (T(e.type) || "Unknown") + " />", s = " Did you accidentally export a JSX literal instead of a component?") : g = typeof e, S("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", g, s);
578
+ var x = _t();
579
+ x ? s += x : s += We();
580
+ var y;
581
+ e === null ? y = "null" : de(e) ? y = "array" : e !== void 0 && e.$$typeof === o ? (y = "<" + (A(e.type) || "Unknown") + " />", s = " Did you accidentally export a JSX literal instead of a component?") : y = typeof e, S("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", y, s);
582
582
  }
583
- var b = ht(e, t, n, f, p);
583
+ var b = bt(e, t, r, c, p);
584
584
  if (b == null)
585
585
  return b;
586
- if (u) {
587
- var A = t.children;
588
- if (A !== void 0)
586
+ if (l) {
587
+ var P = t.children;
588
+ if (P !== void 0)
589
589
  if (a)
590
- if (ce(A)) {
591
- for (var U = 0; U < A.length; U++)
592
- Le(A[U], e);
593
- Object.freeze && Object.freeze(A);
590
+ if (de(P)) {
591
+ for (var Y = 0; Y < P.length; Y++)
592
+ Ye(P[Y], e);
593
+ Object.freeze && Object.freeze(P);
594
594
  } else
595
595
  S("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
596
596
  else
597
- Le(A, e);
597
+ Ye(P, e);
598
598
  }
599
- if (Y.call(t, "key")) {
600
- var M = T(e), O = Object.keys(t).filter(function(xt) {
601
- return xt !== "key";
602
- }), ve = O.length > 0 ? "{key: someKey, " + O.join(": ..., ") + ": ...}" : "{key: someKey}";
603
- if (!Ue[M + ve]) {
604
- var St = O.length > 0 ? "{" + O.join(": ..., ") + ": ...}" : "{}";
599
+ if (V.call(t, "key")) {
600
+ var N = A(e), O = Object.keys(t).filter(function(Ct) {
601
+ return Ct !== "key";
602
+ }), ge = O.length > 0 ? "{key: someKey, " + O.join(": ..., ") + ": ...}" : "{key: someKey}";
603
+ if (!Ve[N + ge]) {
604
+ var wt = O.length > 0 ? "{" + O.join(": ..., ") + ": ...}" : "{}";
605
605
  S(`A props object containing a "key" prop is being spread into JSX:
606
606
  let props = %s;
607
607
  <%s {...props} />
608
608
  React keys must be passed directly to JSX without using spread:
609
609
  let props = %s;
610
- <%s key={someKey} {...props} />`, ve, M, St, M), Ue[M + ve] = !0;
610
+ <%s key={someKey} {...props} />`, ge, N, wt, N), Ve[N + ge] = !0;
611
611
  }
612
612
  }
613
- return e === c ? bt(b) : gt(b), b;
613
+ return e === f ? Et(b) : kt(b), b;
614
614
  }
615
615
  }
616
- function _t(e, t, n) {
617
- return Ye(e, t, n, !0);
616
+ function St(e, t, r) {
617
+ return ze(e, t, r, !0);
618
618
  }
619
- function Rt(e, t, n) {
620
- return Ye(e, t, n, !1);
619
+ function xt(e, t, r) {
620
+ return ze(e, t, r, !1);
621
621
  }
622
- var kt = Rt, Et = _t;
623
- ze.Fragment = c, ze.jsx = kt, ze.jsxs = Et;
624
- }()), ze;
622
+ var Ot = xt, jt = St;
623
+ qe.Fragment = f, qe.jsx = Ot, qe.jsxs = jt;
624
+ }()), qe;
625
625
  }
626
- process.env.NODE_ENV === "production" ? wt.exports = Vt() : wt.exports = zt();
627
- var l = wt.exports;
626
+ process.env.NODE_ENV === "production" ? Pt.exports = Kt() : Pt.exports = Ht();
627
+ var u = Pt.exports;
628
628
  let H = {};
629
- var Ct;
630
- ((r) => {
629
+ var At;
630
+ ((n) => {
631
631
  function o({ children: _ }) {
632
- const [h, E] = Ot(!1), [d, R] = Ot(!1);
632
+ const [m, E] = le(!1), [d, R] = le(!1);
633
633
  if (H.onClose = () => {
634
- K.BackButton.set(!1), R(!0), setTimeout(() => {
634
+ M.BackButton(!1), R(!0), setTimeout(() => {
635
635
  E(!1), R(!1);
636
636
  }, 300);
637
- }, jt(() => {
638
- h ? H.onClose() : (K.BackButton.set({
637
+ }, Ge(() => {
638
+ m ? H.onClose() : (M.BackButton({
639
639
  callback: () => H.onClose()
640
640
  }), E(!0));
641
- }, []), !!h)
642
- return /* @__PURE__ */ l.jsx("div", { className: `modal-overlay ${d ? "closing" : ""}`, children: /* @__PURE__ */ l.jsx("div", { className: `modal-popup ${d ? "closing" : ""}`, children: /* @__PURE__ */ l.jsx("div", { children: _ }) }) });
641
+ }, []), !!m)
642
+ return /* @__PURE__ */ u.jsx("div", { className: `modal-overlay ${d ? "closing" : ""}`, children: /* @__PURE__ */ u.jsx("div", { className: `modal-popup ${d ? "closing" : ""}`, children: /* @__PURE__ */ u.jsx("div", { children: _ }) }) });
643
643
  }
644
- r.Content = o;
644
+ n.Content = o;
645
645
  function i({
646
646
  import_modules: _
647
647
  }) {
648
- let [h, E] = Ot([]);
648
+ let [m, E] = le([]);
649
649
  return H.x = (d) => {
650
- E(d ? h.filter((R) => R.key !== d) : []);
651
- }, jt(() => {
650
+ E(d ? m.filter((R) => R.key !== d) : []);
651
+ }, Ge(() => {
652
652
  _ && (H.i = _);
653
653
  }, []), H.add = (d, R = Date.now()) => {
654
- E([...h, { key: R, item: d }]);
655
- }, /* @__PURE__ */ l.jsx(l.Fragment, { children: h.map((d) => d.item) });
654
+ E([...m, { key: R, item: d }]);
655
+ }, /* @__PURE__ */ u.jsx(u.Fragment, { children: m.map((d) => d.item) });
656
656
  }
657
- r.Init = i;
658
- function c(_, h) {
659
- H.add(/* @__PURE__ */ l.jsx(o, { children: _ }, String(Date.now())), h);
657
+ n.Init = i;
658
+ function f(_, m) {
659
+ H.add(/* @__PURE__ */ u.jsx(o, { children: _ }, String(Date.now())), m);
660
660
  }
661
- r.Add = c;
661
+ n.Add = f;
662
662
  function v(_) {
663
663
  return {
664
664
  Open: (d) => {
665
- r.Add(
666
- /* @__PURE__ */ l.jsx(_, { ...d }, (/* @__PURE__ */ new Date()).getTime())
665
+ n.Add(
666
+ /* @__PURE__ */ u.jsx(_, { ...d }, (/* @__PURE__ */ new Date()).getTime())
667
667
  );
668
668
  }
669
669
  };
670
670
  }
671
- r.Create = v;
672
- function y() {
671
+ n.Create = v;
672
+ function g() {
673
673
  H.onClose();
674
674
  }
675
- r.Close = y;
676
- function j(_, h, E) {
677
- H.i && H.i(`${_}/modals/${h}.tsx`).then((d) => {
675
+ n.Close = g;
676
+ function j(_, m, E) {
677
+ H.i && H.i(`${_}/modals/${m}.tsx`).then((d) => {
678
678
  d.default.Open(E);
679
679
  });
680
680
  }
681
- r.Open = j;
682
- })(Ct || (Ct = {}));
683
- function Mt() {
681
+ n.Open = j;
682
+ })(At || (At = {}));
683
+ function Wt() {
684
684
  return typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof self < "u" ? self : typeof global < "u" ? global : {};
685
685
  }
686
- const Nt = {
686
+ const Lt = {
687
687
  key: "Y0zt37HgOx-BY7SQjYVmrqhPkO41Ii2Jcb9yydUDPf6",
688
688
  iterations: 7,
689
689
  saltLength: 16
690
690
  };
691
- function Bt(r) {
692
- const o = Mt();
693
- o.CRYPTO_PARAMS ? o.CRYPTO_PARAMS = { ...o.CRYPTO_PARAMS, ...r } : o.CRYPTO_PARAMS = { ...Nt, ...r };
691
+ function $t(n) {
692
+ const o = Wt();
693
+ o.CRYPTO_PARAMS ? o.CRYPTO_PARAMS = { ...o.CRYPTO_PARAMS, ...n } : o.CRYPTO_PARAMS = { ...Lt, ...n };
694
694
  }
695
- function Ke() {
696
- return Mt().CRYPTO_PARAMS || Nt;
695
+ function Qe() {
696
+ return Wt().CRYPTO_PARAMS || Lt;
697
697
  }
698
- const Ge = (r) => {
698
+ const et = (n) => {
699
699
  let o = 0;
700
- for (let c = 0; c < r.length; c++) {
701
- const v = r.charCodeAt(c);
700
+ for (let f = 0; f < n.length; f++) {
701
+ const v = n.charCodeAt(f);
702
702
  o = (o << 5) - o + v, o = o & o;
703
703
  }
704
704
  o = Math.abs(o);
705
705
  let i = "";
706
- for (let c = 0; c < 64; c++) {
707
- const v = (o ^ c * 197) & 255;
706
+ for (let f = 0; f < 64; f++) {
707
+ const v = (o ^ f * 197) & 255;
708
708
  i += v.toString(16).padStart(2, "0");
709
709
  }
710
710
  return i;
711
- }, Wt = (r, o) => {
712
- let i = r + o;
713
- for (let v = 0; v < Ke().iterations; v++)
714
- i = Ge(i);
715
- const c = new Uint8Array(32);
711
+ }, Ut = (n, o) => {
712
+ let i = n + o;
713
+ for (let v = 0; v < Qe().iterations; v++)
714
+ i = et(i);
715
+ const f = new Uint8Array(32);
716
716
  for (let v = 0; v < 32; v++)
717
- c[v] = parseInt(i.substring(v * 2, v * 2 + 2), 16);
718
- return c;
719
- }, Lt = (r, o) => {
720
- const i = new Uint8Array(r.length), c = new Uint8Array(r.length);
717
+ f[v] = parseInt(i.substring(v * 2, v * 2 + 2), 16);
718
+ return f;
719
+ }, Yt = (n, o) => {
720
+ const i = new Uint8Array(n.length), f = new Uint8Array(n.length);
721
721
  let v = 0;
722
- for (let y = 0; y < r.length; y++) {
723
- const j = y % o.length;
724
- v = o[j] + y + v & 255, c[y] = v;
722
+ for (let g = 0; g < n.length; g++) {
723
+ const j = g % o.length;
724
+ v = o[j] + g + v & 255, f[g] = v;
725
725
  }
726
- for (let y = 0; y < r.length; y++)
727
- i[y] = r[y] ^ c[y];
726
+ for (let g = 0; g < n.length; g++)
727
+ i[g] = n[g] ^ f[g];
728
728
  return i;
729
- }, Jt = (r) => new TextEncoder().encode(r), qt = (r) => new TextDecoder().decode(r), Ht = (r) => {
729
+ }, Gt = (n) => new TextEncoder().encode(n), Zt = (n) => new TextDecoder().decode(n), Xt = (n) => {
730
730
  let o = "";
731
- for (let i = 0; i < r.length; i += 8192) {
732
- const c = r.slice(i, Math.min(i + 8192, r.length));
733
- o += String.fromCharCode.apply(null, Array.from(c));
731
+ for (let i = 0; i < n.length; i += 8192) {
732
+ const f = n.slice(i, Math.min(i + 8192, n.length));
733
+ o += String.fromCharCode.apply(null, Array.from(f));
734
734
  }
735
735
  return btoa(o);
736
- }, Kt = (r) => {
737
- const o = atob(r), i = new Uint8Array(o.length);
738
- for (let c = 0; c < o.length; c++)
739
- i[c] = o.charCodeAt(c);
736
+ }, Qt = (n) => {
737
+ const o = atob(n), i = new Uint8Array(o.length);
738
+ for (let f = 0; f < o.length; f++)
739
+ i[f] = o.charCodeAt(f);
740
740
  return i;
741
- }, Gt = (r) => {
741
+ }, er = (n) => {
742
742
  try {
743
- const o = Ge(
743
+ const o = et(
744
744
  Date.now().toString() + Math.random()
745
- ).substring(0, Ke().saltLength * 2), i = Ge(r + o).substring(0, 8), c = Wt(Ke().key, o), v = Jt(r), y = Lt(v, c), j = Ht(y);
745
+ ).substring(0, Qe().saltLength * 2), i = et(n + o).substring(0, 8), f = Ut(Qe().key, o), v = Gt(n), g = Yt(v, f), j = Xt(g);
746
746
  return `${o}.${j}.${i}`;
747
747
  } catch {
748
748
  throw new Error("Не удалось зашифровать данные");
749
749
  }
750
- }, Zt = (r) => {
750
+ }, tr = (n) => {
751
751
  try {
752
- const o = r.split(".");
752
+ const o = n.split(".");
753
753
  if (o.length !== 3)
754
754
  throw new Error("Неверный формат зашифрованных данных");
755
- const i = o[0], c = o[1], v = o[2], y = Wt(Ke().key, i), j = Kt(c), _ = Lt(j, y), h = qt(_);
756
- if (Ge(h + i).substring(
755
+ const i = o[0], f = o[1], v = o[2], g = Ut(Qe().key, i), j = Qt(f), _ = Yt(j, g), m = Zt(_);
756
+ if (et(m + i).substring(
757
757
  0,
758
758
  8
759
759
  ) !== v)
760
760
  throw new Error("Контрольная сумма не совпадает");
761
- return h;
761
+ return m;
762
762
  } catch {
763
763
  return "";
764
764
  }
765
765
  };
766
766
  var ie;
767
- ((r) => {
768
- r.setKey = (o) => {
769
- Bt({ key: o });
770
- }, r.enCode = (o) => {
767
+ ((n) => {
768
+ n.setKey = (o) => {
769
+ $t({ key: o });
770
+ }, n.enCode = (o) => {
771
771
  try {
772
772
  const i = JSON.stringify(o);
773
- return Gt(i);
773
+ return er(i);
774
774
  } catch {
775
775
  throw new Error("Не удалось зашифровать объект");
776
776
  }
777
- }, r.deCode = (o) => {
777
+ }, n.deCode = (o) => {
778
778
  try {
779
779
  if (!o || o.length < 10)
780
780
  return !1;
781
- const i = Zt(o);
781
+ const i = tr(o);
782
782
  return i && JSON.parse(i) || !1;
783
783
  } catch {
784
784
  return !1;
785
785
  }
786
- }, r.setSecurityParams = (o, i) => {
787
- Bt({ iterations: o, saltLength: i });
786
+ }, n.setSecurityParams = (o, i) => {
787
+ $t({ iterations: o, saltLength: i });
788
788
  };
789
789
  })(ie || (ie = {}));
790
- var Je = {};
790
+ var Ke = {};
791
791
  /**
792
792
  * @license React
793
793
  * react-jsx-runtime.production.min.js
@@ -797,21 +797,21 @@ var Je = {};
797
797
  * This source code is licensed under the MIT license found in the
798
798
  * LICENSE file in the root directory of this source tree.
799
799
  */
800
- var It;
801
- function Xt() {
802
- if (It) return Je;
803
- It = 1;
804
- var r = P, o = Symbol.for("react.element"), i = Symbol.for("react.fragment"), c = Object.prototype.hasOwnProperty, v = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, y = { key: !0, ref: !0, __self: !0, __source: !0 };
805
- function j(_, h, E) {
806
- var d, R = {}, C = null, N = null;
807
- E !== void 0 && (C = "" + E), h.key !== void 0 && (C = "" + h.key), h.ref !== void 0 && (N = h.ref);
808
- for (d in h) c.call(h, d) && !y.hasOwnProperty(d) && (R[d] = h[d]);
809
- if (_ && _.defaultProps) for (d in h = _.defaultProps, h) R[d] === void 0 && (R[d] = h[d]);
810
- return { $$typeof: o, type: _, key: C, ref: N, props: R, _owner: v.current };
800
+ var Dt;
801
+ function rr() {
802
+ if (Dt) return Ke;
803
+ Dt = 1;
804
+ var n = B, o = Symbol.for("react.element"), i = Symbol.for("react.fragment"), f = Object.prototype.hasOwnProperty, v = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, g = { key: !0, ref: !0, __self: !0, __source: !0 };
805
+ function j(_, m, E) {
806
+ var d, R = {}, C = null, W = null;
807
+ E !== void 0 && (C = "" + E), m.key !== void 0 && (C = "" + m.key), m.ref !== void 0 && (W = m.ref);
808
+ for (d in m) f.call(m, d) && !g.hasOwnProperty(d) && (R[d] = m[d]);
809
+ if (_ && _.defaultProps) for (d in m = _.defaultProps, m) R[d] === void 0 && (R[d] = m[d]);
810
+ return { $$typeof: o, type: _, key: C, ref: W, props: R, _owner: v.current };
811
811
  }
812
- return Je.Fragment = i, Je.jsx = j, Je.jsxs = j, Je;
812
+ return Ke.Fragment = i, Ke.jsx = j, Ke.jsxs = j, Ke;
813
813
  }
814
- var He = {};
814
+ var Ze = {};
815
815
  /**
816
816
  * @license React
817
817
  * react-jsx-runtime.development.js
@@ -821,54 +821,54 @@ var He = {};
821
821
  * This source code is licensed under the MIT license found in the
822
822
  * LICENSE file in the root directory of this source tree.
823
823
  */
824
- var $t;
825
- function Qt() {
826
- return $t || ($t = 1, process.env.NODE_ENV !== "production" && function() {
827
- var r = P, o = Symbol.for("react.element"), i = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), v = Symbol.for("react.strict_mode"), y = Symbol.for("react.profiler"), j = Symbol.for("react.provider"), _ = Symbol.for("react.context"), h = Symbol.for("react.forward_ref"), E = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), R = Symbol.for("react.memo"), C = Symbol.for("react.lazy"), N = Symbol.for("react.offscreen"), ne = Symbol.iterator, _e = "@@iterator";
828
- function Re(e) {
824
+ var Ft;
825
+ function nr() {
826
+ return Ft || (Ft = 1, process.env.NODE_ENV !== "production" && function() {
827
+ var n = B, o = Symbol.for("react.element"), i = Symbol.for("react.portal"), f = Symbol.for("react.fragment"), v = Symbol.for("react.strict_mode"), g = Symbol.for("react.profiler"), j = Symbol.for("react.provider"), _ = Symbol.for("react.context"), m = Symbol.for("react.forward_ref"), E = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), R = Symbol.for("react.memo"), C = Symbol.for("react.lazy"), W = Symbol.for("react.offscreen"), ne = Symbol.iterator, ke = "@@iterator";
828
+ function Ee(e) {
829
829
  if (e === null || typeof e != "object")
830
830
  return null;
831
- var t = ne && e[ne] || e[_e];
831
+ var t = ne && e[ne] || e[ke];
832
832
  return typeof t == "function" ? t : null;
833
833
  }
834
- var F = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
834
+ var F = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
835
835
  function S(e) {
836
836
  {
837
- for (var t = arguments.length, n = new Array(t > 1 ? t - 1 : 0), a = 1; a < t; a++)
838
- n[a - 1] = arguments[a];
839
- me("error", e, n);
837
+ for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), a = 1; a < t; a++)
838
+ r[a - 1] = arguments[a];
839
+ be("error", e, r);
840
840
  }
841
841
  }
842
- function me(e, t, n) {
842
+ function be(e, t, r) {
843
843
  {
844
- var a = F.ReactDebugCurrentFrame, f = a.getStackAddendum();
845
- f !== "" && (t += "%s", n = n.concat([f]));
846
- var p = n.map(function(u) {
847
- return String(u);
844
+ var a = F.ReactDebugCurrentFrame, c = a.getStackAddendum();
845
+ c !== "" && (t += "%s", r = r.concat([c]));
846
+ var p = r.map(function(l) {
847
+ return String(l);
848
848
  });
849
849
  p.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, p);
850
850
  }
851
851
  }
852
- var ke = !1, Ee = !1, m = !1, k = !1, B = !1, $;
852
+ var Se = !1, xe = !1, h = !1, k = !1, T = !1, $;
853
853
  $ = Symbol.for("react.module.reference");
854
- function W(e) {
855
- return !!(typeof e == "string" || typeof e == "function" || e === c || e === y || B || e === v || e === E || e === d || k || e === N || ke || Ee || m || typeof e == "object" && e !== null && (e.$$typeof === C || e.$$typeof === R || e.$$typeof === j || e.$$typeof === _ || e.$$typeof === h || // This needs to include all possible module reference object
854
+ function L(e) {
855
+ return !!(typeof e == "string" || typeof e == "function" || e === f || e === g || T || e === v || e === E || e === d || k || e === W || Se || xe || h || typeof e == "object" && e !== null && (e.$$typeof === C || e.$$typeof === R || e.$$typeof === j || e.$$typeof === _ || e.$$typeof === m || // This needs to include all possible module reference object
856
856
  // types supported by any Flight configuration anywhere since
857
857
  // we don't know which Flight build this will end up being used
858
858
  // with.
859
859
  e.$$typeof === $ || e.getModuleId !== void 0));
860
860
  }
861
- function oe(e, t, n) {
861
+ function oe(e, t, r) {
862
862
  var a = e.displayName;
863
863
  if (a)
864
864
  return a;
865
- var f = t.displayName || t.name || "";
866
- return f !== "" ? n + "(" + f + ")" : n;
865
+ var c = t.displayName || t.name || "";
866
+ return c !== "" ? r + "(" + c + ")" : r;
867
867
  }
868
868
  function ae(e) {
869
869
  return e.displayName || "Context";
870
870
  }
871
- function T(e) {
871
+ function A(e) {
872
872
  if (e == null)
873
873
  return null;
874
874
  if (typeof e.tag == "number" && S("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
@@ -876,11 +876,11 @@ function Qt() {
876
876
  if (typeof e == "string")
877
877
  return e;
878
878
  switch (e) {
879
- case c:
879
+ case f:
880
880
  return "Fragment";
881
881
  case i:
882
882
  return "Portal";
883
- case y:
883
+ case g:
884
884
  return "Profiler";
885
885
  case v:
886
886
  return "StrictMode";
@@ -895,17 +895,17 @@ function Qt() {
895
895
  var t = e;
896
896
  return ae(t) + ".Consumer";
897
897
  case j:
898
- var n = e;
899
- return ae(n._context) + ".Provider";
900
- case h:
898
+ var r = e;
899
+ return ae(r._context) + ".Provider";
900
+ case m:
901
901
  return oe(e, e.render, "ForwardRef");
902
902
  case R:
903
903
  var a = e.displayName || null;
904
- return a !== null ? a : T(e.type) || "Memo";
904
+ return a !== null ? a : A(e.type) || "Memo";
905
905
  case C: {
906
- var f = e, p = f._payload, u = f._init;
906
+ var c = e, p = c._payload, l = c._init;
907
907
  try {
908
- return T(u(p));
908
+ return A(l(p));
909
909
  } catch {
910
910
  return null;
911
911
  }
@@ -913,18 +913,18 @@ function Qt() {
913
913
  }
914
914
  return null;
915
915
  }
916
- var I = Object.assign, D = 0, z, J, q, Se, xe, Oe, je;
917
- function we() {
916
+ var I = Object.assign, D = 0, J, q, K, Oe, je, we, Ce;
917
+ function Pe() {
918
918
  }
919
- we.__reactDisabledLog = !0;
920
- function Qe() {
919
+ Pe.__reactDisabledLog = !0;
920
+ function nt() {
921
921
  {
922
922
  if (D === 0) {
923
- z = console.log, J = console.info, q = console.warn, Se = console.error, xe = console.group, Oe = console.groupCollapsed, je = console.groupEnd;
923
+ J = console.log, q = console.info, K = console.warn, Oe = console.error, je = console.group, we = console.groupCollapsed, Ce = console.groupEnd;
924
924
  var e = {
925
925
  configurable: !0,
926
926
  enumerable: !0,
927
- value: we,
927
+ value: Pe,
928
928
  writable: !0
929
929
  };
930
930
  Object.defineProperties(console, {
@@ -940,7 +940,7 @@ function Qt() {
940
940
  D++;
941
941
  }
942
942
  }
943
- function et() {
943
+ function ot() {
944
944
  {
945
945
  if (D--, D === 0) {
946
946
  var e = {
@@ -950,87 +950,87 @@ function Qt() {
950
950
  };
951
951
  Object.defineProperties(console, {
952
952
  log: I({}, e, {
953
- value: z
953
+ value: J
954
954
  }),
955
955
  info: I({}, e, {
956
- value: J
956
+ value: q
957
957
  }),
958
958
  warn: I({}, e, {
959
- value: q
959
+ value: K
960
960
  }),
961
961
  error: I({}, e, {
962
- value: Se
962
+ value: Oe
963
963
  }),
964
964
  group: I({}, e, {
965
- value: xe
965
+ value: je
966
966
  }),
967
967
  groupCollapsed: I({}, e, {
968
- value: Oe
968
+ value: we
969
969
  }),
970
970
  groupEnd: I({}, e, {
971
- value: je
971
+ value: Ce
972
972
  })
973
973
  });
974
974
  }
975
975
  D < 0 && S("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
976
976
  }
977
977
  }
978
- var se = F.ReactCurrentDispatcher, ue;
979
- function G(e, t, n) {
978
+ var ue = F.ReactCurrentDispatcher, ce;
979
+ function G(e, t, r) {
980
980
  {
981
- if (ue === void 0)
981
+ if (ce === void 0)
982
982
  try {
983
983
  throw Error();
984
- } catch (f) {
985
- var a = f.stack.trim().match(/\n( *(at )?)/);
986
- ue = a && a[1] || "";
984
+ } catch (c) {
985
+ var a = c.stack.trim().match(/\n( *(at )?)/);
986
+ ce = a && a[1] || "";
987
987
  }
988
988
  return `
989
- ` + ue + e;
989
+ ` + ce + e;
990
990
  }
991
991
  }
992
- var le = !1, Z;
992
+ var fe = !1, Z;
993
993
  {
994
- var tt = typeof WeakMap == "function" ? WeakMap : Map;
995
- Z = new tt();
994
+ var at = typeof WeakMap == "function" ? WeakMap : Map;
995
+ Z = new at();
996
996
  }
997
- function Ce(e, t) {
998
- if (!e || le)
997
+ function Ae(e, t) {
998
+ if (!e || fe)
999
999
  return "";
1000
1000
  {
1001
- var n = Z.get(e);
1002
- if (n !== void 0)
1003
- return n;
1001
+ var r = Z.get(e);
1002
+ if (r !== void 0)
1003
+ return r;
1004
1004
  }
1005
1005
  var a;
1006
- le = !0;
1007
- var f = Error.prepareStackTrace;
1006
+ fe = !0;
1007
+ var c = Error.prepareStackTrace;
1008
1008
  Error.prepareStackTrace = void 0;
1009
1009
  var p;
1010
- p = se.current, se.current = null, Qe();
1010
+ p = ue.current, ue.current = null, nt();
1011
1011
  try {
1012
1012
  if (t) {
1013
- var u = function() {
1013
+ var l = function() {
1014
1014
  throw Error();
1015
1015
  };
1016
- if (Object.defineProperty(u.prototype, "props", {
1016
+ if (Object.defineProperty(l.prototype, "props", {
1017
1017
  set: function() {
1018
1018
  throw Error();
1019
1019
  }
1020
1020
  }), typeof Reflect == "object" && Reflect.construct) {
1021
1021
  try {
1022
- Reflect.construct(u, []);
1022
+ Reflect.construct(l, []);
1023
1023
  } catch (O) {
1024
1024
  a = O;
1025
1025
  }
1026
- Reflect.construct(e, [], u);
1026
+ Reflect.construct(e, [], l);
1027
1027
  } else {
1028
1028
  try {
1029
- u.call();
1029
+ l.call();
1030
1030
  } catch (O) {
1031
1031
  a = O;
1032
1032
  }
1033
- e.call(u.prototype);
1033
+ e.call(l.prototype);
1034
1034
  }
1035
1035
  } else {
1036
1036
  try {
@@ -1044,39 +1044,39 @@ function Qt() {
1044
1044
  if (O && a && typeof O.stack == "string") {
1045
1045
  for (var s = O.stack.split(`
1046
1046
  `), x = a.stack.split(`
1047
- `), g = s.length - 1, b = x.length - 1; g >= 1 && b >= 0 && s[g] !== x[b]; )
1047
+ `), y = s.length - 1, b = x.length - 1; y >= 1 && b >= 0 && s[y] !== x[b]; )
1048
1048
  b--;
1049
- for (; g >= 1 && b >= 0; g--, b--)
1050
- if (s[g] !== x[b]) {
1051
- if (g !== 1 || b !== 1)
1049
+ for (; y >= 1 && b >= 0; y--, b--)
1050
+ if (s[y] !== x[b]) {
1051
+ if (y !== 1 || b !== 1)
1052
1052
  do
1053
- if (g--, b--, b < 0 || s[g] !== x[b]) {
1054
- var A = `
1055
- ` + s[g].replace(" at new ", " at ");
1056
- return e.displayName && A.includes("<anonymous>") && (A = A.replace("<anonymous>", e.displayName)), typeof e == "function" && Z.set(e, A), A;
1053
+ if (y--, b--, b < 0 || s[y] !== x[b]) {
1054
+ var P = `
1055
+ ` + s[y].replace(" at new ", " at ");
1056
+ return e.displayName && P.includes("<anonymous>") && (P = P.replace("<anonymous>", e.displayName)), typeof e == "function" && Z.set(e, P), P;
1057
1057
  }
1058
- while (g >= 1 && b >= 0);
1058
+ while (y >= 1 && b >= 0);
1059
1059
  break;
1060
1060
  }
1061
1061
  }
1062
1062
  } finally {
1063
- le = !1, se.current = p, et(), Error.prepareStackTrace = f;
1063
+ fe = !1, ue.current = p, ot(), Error.prepareStackTrace = c;
1064
1064
  }
1065
- var U = e ? e.displayName || e.name : "", M = U ? G(U) : "";
1066
- return typeof e == "function" && Z.set(e, M), M;
1065
+ var Y = e ? e.displayName || e.name : "", N = Y ? G(Y) : "";
1066
+ return typeof e == "function" && Z.set(e, N), N;
1067
1067
  }
1068
- function rt(e, t, n) {
1069
- return Ce(e, !1);
1068
+ function it(e, t, r) {
1069
+ return Ae(e, !1);
1070
1070
  }
1071
- function nt(e) {
1071
+ function st(e) {
1072
1072
  var t = e.prototype;
1073
1073
  return !!(t && t.isReactComponent);
1074
1074
  }
1075
- function X(e, t, n) {
1075
+ function X(e, t, r) {
1076
1076
  if (e == null)
1077
1077
  return "";
1078
1078
  if (typeof e == "function")
1079
- return Ce(e, nt(e));
1079
+ return Ae(e, st(e));
1080
1080
  if (typeof e == "string")
1081
1081
  return G(e);
1082
1082
  switch (e) {
@@ -1087,127 +1087,127 @@ function Qt() {
1087
1087
  }
1088
1088
  if (typeof e == "object")
1089
1089
  switch (e.$$typeof) {
1090
- case h:
1091
- return rt(e.render);
1090
+ case m:
1091
+ return it(e.render);
1092
1092
  case R:
1093
- return X(e.type, t, n);
1093
+ return X(e.type, t, r);
1094
1094
  case C: {
1095
- var a = e, f = a._payload, p = a._init;
1095
+ var a = e, c = a._payload, p = a._init;
1096
1096
  try {
1097
- return X(p(f), t, n);
1097
+ return X(p(c), t, r);
1098
1098
  } catch {
1099
1099
  }
1100
1100
  }
1101
1101
  }
1102
1102
  return "";
1103
1103
  }
1104
- var Y = Object.prototype.hasOwnProperty, Ae = {}, Pe = F.ReactDebugCurrentFrame;
1104
+ var V = Object.prototype.hasOwnProperty, Te = {}, Ie = F.ReactDebugCurrentFrame;
1105
1105
  function Q(e) {
1106
1106
  if (e) {
1107
- var t = e._owner, n = X(e.type, e._source, t ? t.type : null);
1108
- Pe.setExtraStackFrame(n);
1107
+ var t = e._owner, r = X(e.type, e._source, t ? t.type : null);
1108
+ Ie.setExtraStackFrame(r);
1109
1109
  } else
1110
- Pe.setExtraStackFrame(null);
1110
+ Ie.setExtraStackFrame(null);
1111
1111
  }
1112
- function ot(e, t, n, a, f) {
1112
+ function lt(e, t, r, a, c) {
1113
1113
  {
1114
- var p = Function.call.bind(Y);
1115
- for (var u in e)
1116
- if (p(e, u)) {
1114
+ var p = Function.call.bind(V);
1115
+ for (var l in e)
1116
+ if (p(e, l)) {
1117
1117
  var s = void 0;
1118
1118
  try {
1119
- if (typeof e[u] != "function") {
1120
- var x = Error((a || "React class") + ": " + n + " type `" + u + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[u] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
1119
+ if (typeof e[l] != "function") {
1120
+ var x = Error((a || "React class") + ": " + r + " type `" + l + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[l] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
1121
1121
  throw x.name = "Invariant Violation", x;
1122
1122
  }
1123
- s = e[u](t, u, a, n, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
1124
- } catch (g) {
1125
- s = g;
1123
+ s = e[l](t, l, a, r, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
1124
+ } catch (y) {
1125
+ s = y;
1126
1126
  }
1127
- s && !(s instanceof Error) && (Q(f), S("%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).", a || "React class", n, u, typeof s), Q(null)), s instanceof Error && !(s.message in Ae) && (Ae[s.message] = !0, Q(f), S("Failed %s type: %s", n, s.message), Q(null));
1127
+ s && !(s instanceof Error) && (Q(c), S("%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).", a || "React class", r, l, typeof s), Q(null)), s instanceof Error && !(s.message in Te) && (Te[s.message] = !0, Q(c), S("Failed %s type: %s", r, s.message), Q(null));
1128
1128
  }
1129
1129
  }
1130
1130
  }
1131
- var at = Array.isArray;
1132
- function ce(e) {
1133
- return at(e);
1131
+ var ut = Array.isArray;
1132
+ function de(e) {
1133
+ return ut(e);
1134
1134
  }
1135
- function it(e) {
1135
+ function ct(e) {
1136
1136
  {
1137
- var t = typeof Symbol == "function" && Symbol.toStringTag, n = t && e[Symbol.toStringTag] || e.constructor.name || "Object";
1138
- return n;
1137
+ var t = typeof Symbol == "function" && Symbol.toStringTag, r = t && e[Symbol.toStringTag] || e.constructor.name || "Object";
1138
+ return r;
1139
1139
  }
1140
1140
  }
1141
- function st(e) {
1141
+ function ft(e) {
1142
1142
  try {
1143
- return Te(e), !1;
1143
+ return Be(e), !1;
1144
1144
  } catch {
1145
1145
  return !0;
1146
1146
  }
1147
1147
  }
1148
- function Te(e) {
1148
+ function Be(e) {
1149
1149
  return "" + e;
1150
1150
  }
1151
- function Be(e) {
1152
- if (st(e))
1153
- return S("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", it(e)), Te(e);
1151
+ function $e(e) {
1152
+ if (ft(e))
1153
+ return S("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", ct(e)), Be(e);
1154
1154
  }
1155
- var Ie = F.ReactCurrentOwner, ut = {
1155
+ var De = F.ReactCurrentOwner, dt = {
1156
1156
  key: !0,
1157
1157
  ref: !0,
1158
1158
  __self: !0,
1159
1159
  __source: !0
1160
- }, $e, De;
1161
- function lt(e) {
1162
- if (Y.call(e, "ref")) {
1160
+ }, Fe, Ne;
1161
+ function pt(e) {
1162
+ if (V.call(e, "ref")) {
1163
1163
  var t = Object.getOwnPropertyDescriptor(e, "ref").get;
1164
1164
  if (t && t.isReactWarning)
1165
1165
  return !1;
1166
1166
  }
1167
1167
  return e.ref !== void 0;
1168
1168
  }
1169
- function ct(e) {
1170
- if (Y.call(e, "key")) {
1169
+ function vt(e) {
1170
+ if (V.call(e, "key")) {
1171
1171
  var t = Object.getOwnPropertyDescriptor(e, "key").get;
1172
1172
  if (t && t.isReactWarning)
1173
1173
  return !1;
1174
1174
  }
1175
1175
  return e.key !== void 0;
1176
1176
  }
1177
- function ft(e, t) {
1178
- typeof e.ref == "string" && Ie.current;
1177
+ function mt(e, t) {
1178
+ typeof e.ref == "string" && De.current;
1179
1179
  }
1180
- function dt(e, t) {
1180
+ function gt(e, t) {
1181
1181
  {
1182
- var n = function() {
1183
- $e || ($e = !0, S("%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)", t));
1182
+ var r = function() {
1183
+ Fe || (Fe = !0, S("%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)", t));
1184
1184
  };
1185
- n.isReactWarning = !0, Object.defineProperty(e, "key", {
1186
- get: n,
1185
+ r.isReactWarning = !0, Object.defineProperty(e, "key", {
1186
+ get: r,
1187
1187
  configurable: !0
1188
1188
  });
1189
1189
  }
1190
1190
  }
1191
- function pt(e, t) {
1191
+ function ht(e, t) {
1192
1192
  {
1193
- var n = function() {
1194
- De || (De = !0, S("%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)", t));
1193
+ var r = function() {
1194
+ Ne || (Ne = !0, S("%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)", t));
1195
1195
  };
1196
- n.isReactWarning = !0, Object.defineProperty(e, "ref", {
1197
- get: n,
1196
+ r.isReactWarning = !0, Object.defineProperty(e, "ref", {
1197
+ get: r,
1198
1198
  configurable: !0
1199
1199
  });
1200
1200
  }
1201
1201
  }
1202
- var vt = function(e, t, n, a, f, p, u) {
1202
+ var yt = function(e, t, r, a, c, p, l) {
1203
1203
  var s = {
1204
1204
  // This tag allows us to uniquely identify this as a React Element
1205
1205
  $$typeof: o,
1206
1206
  // Built-in properties that belong on the element
1207
1207
  type: e,
1208
1208
  key: t,
1209
- ref: n,
1210
- props: u,
1209
+ ref: r,
1210
+ props: l,
1211
1211
  // Record the component responsible for creating this element.
1212
1212
  _owner: p
1213
1213
  };
@@ -1225,44 +1225,44 @@ function Qt() {
1225
1225
  configurable: !1,
1226
1226
  enumerable: !1,
1227
1227
  writable: !1,
1228
- value: f
1228
+ value: c
1229
1229
  }), Object.freeze && (Object.freeze(s.props), Object.freeze(s)), s;
1230
1230
  };
1231
- function ht(e, t, n, a, f) {
1231
+ function bt(e, t, r, a, c) {
1232
1232
  {
1233
- var p, u = {}, s = null, x = null;
1234
- n !== void 0 && (Be(n), s = "" + n), ct(t) && (Be(t.key), s = "" + t.key), lt(t) && (x = t.ref, ft(t));
1233
+ var p, l = {}, s = null, x = null;
1234
+ r !== void 0 && ($e(r), s = "" + r), vt(t) && ($e(t.key), s = "" + t.key), pt(t) && (x = t.ref, mt(t));
1235
1235
  for (p in t)
1236
- Y.call(t, p) && !ut.hasOwnProperty(p) && (u[p] = t[p]);
1236
+ V.call(t, p) && !dt.hasOwnProperty(p) && (l[p] = t[p]);
1237
1237
  if (e && e.defaultProps) {
1238
- var g = e.defaultProps;
1239
- for (p in g)
1240
- u[p] === void 0 && (u[p] = g[p]);
1238
+ var y = e.defaultProps;
1239
+ for (p in y)
1240
+ l[p] === void 0 && (l[p] = y[p]);
1241
1241
  }
1242
1242
  if (s || x) {
1243
1243
  var b = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
1244
- s && dt(u, b), x && pt(u, b);
1244
+ s && gt(l, b), x && ht(l, b);
1245
1245
  }
1246
- return vt(e, s, x, f, a, Ie.current, u);
1246
+ return yt(e, s, x, c, a, De.current, l);
1247
1247
  }
1248
1248
  }
1249
- var fe = F.ReactCurrentOwner, Fe = F.ReactDebugCurrentFrame;
1250
- function L(e) {
1249
+ var pe = F.ReactCurrentOwner, Me = F.ReactDebugCurrentFrame;
1250
+ function U(e) {
1251
1251
  if (e) {
1252
- var t = e._owner, n = X(e.type, e._source, t ? t.type : null);
1253
- Fe.setExtraStackFrame(n);
1252
+ var t = e._owner, r = X(e.type, e._source, t ? t.type : null);
1253
+ Me.setExtraStackFrame(r);
1254
1254
  } else
1255
- Fe.setExtraStackFrame(null);
1255
+ Me.setExtraStackFrame(null);
1256
1256
  }
1257
- var de;
1258
- de = !1;
1259
- function pe(e) {
1257
+ var ve;
1258
+ ve = !1;
1259
+ function me(e) {
1260
1260
  return typeof e == "object" && e !== null && e.$$typeof === o;
1261
1261
  }
1262
- function Me() {
1262
+ function We() {
1263
1263
  {
1264
- if (fe.current) {
1265
- var e = T(fe.current.type);
1264
+ if (pe.current) {
1265
+ var e = A(pe.current.type);
1266
1266
  if (e)
1267
1267
  return `
1268
1268
 
@@ -1271,152 +1271,152 @@ Check the render method of \`` + e + "`.";
1271
1271
  return "";
1272
1272
  }
1273
1273
  }
1274
- function yt(e) {
1274
+ function _t(e) {
1275
1275
  return "";
1276
1276
  }
1277
- var Ne = {};
1278
- function mt(e) {
1277
+ var Le = {};
1278
+ function Rt(e) {
1279
1279
  {
1280
- var t = Me();
1280
+ var t = We();
1281
1281
  if (!t) {
1282
- var n = typeof e == "string" ? e : e.displayName || e.name;
1283
- n && (t = `
1282
+ var r = typeof e == "string" ? e : e.displayName || e.name;
1283
+ r && (t = `
1284
1284
 
1285
- Check the top-level render call using <` + n + ">.");
1285
+ Check the top-level render call using <` + r + ">.");
1286
1286
  }
1287
1287
  return t;
1288
1288
  }
1289
1289
  }
1290
- function We(e, t) {
1290
+ function Ue(e, t) {
1291
1291
  {
1292
1292
  if (!e._store || e._store.validated || e.key != null)
1293
1293
  return;
1294
1294
  e._store.validated = !0;
1295
- var n = mt(t);
1296
- if (Ne[n])
1295
+ var r = Rt(t);
1296
+ if (Le[r])
1297
1297
  return;
1298
- Ne[n] = !0;
1298
+ Le[r] = !0;
1299
1299
  var a = "";
1300
- e && e._owner && e._owner !== fe.current && (a = " It was passed a child from " + T(e._owner.type) + "."), L(e), S('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', n, a), L(null);
1300
+ e && e._owner && e._owner !== pe.current && (a = " It was passed a child from " + A(e._owner.type) + "."), U(e), S('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', r, a), U(null);
1301
1301
  }
1302
1302
  }
1303
- function Le(e, t) {
1303
+ function Ye(e, t) {
1304
1304
  {
1305
1305
  if (typeof e != "object")
1306
1306
  return;
1307
- if (ce(e))
1308
- for (var n = 0; n < e.length; n++) {
1309
- var a = e[n];
1310
- pe(a) && We(a, t);
1307
+ if (de(e))
1308
+ for (var r = 0; r < e.length; r++) {
1309
+ var a = e[r];
1310
+ me(a) && Ue(a, t);
1311
1311
  }
1312
- else if (pe(e))
1312
+ else if (me(e))
1313
1313
  e._store && (e._store.validated = !0);
1314
1314
  else if (e) {
1315
- var f = Re(e);
1316
- if (typeof f == "function" && f !== e.entries)
1317
- for (var p = f.call(e), u; !(u = p.next()).done; )
1318
- pe(u.value) && We(u.value, t);
1315
+ var c = Ee(e);
1316
+ if (typeof c == "function" && c !== e.entries)
1317
+ for (var p = c.call(e), l; !(l = p.next()).done; )
1318
+ me(l.value) && Ue(l.value, t);
1319
1319
  }
1320
1320
  }
1321
1321
  }
1322
- function gt(e) {
1322
+ function kt(e) {
1323
1323
  {
1324
1324
  var t = e.type;
1325
1325
  if (t == null || typeof t == "string")
1326
1326
  return;
1327
- var n;
1327
+ var r;
1328
1328
  if (typeof t == "function")
1329
- n = t.propTypes;
1330
- else if (typeof t == "object" && (t.$$typeof === h || // Note: Memo only checks outer props here.
1329
+ r = t.propTypes;
1330
+ else if (typeof t == "object" && (t.$$typeof === m || // Note: Memo only checks outer props here.
1331
1331
  // Inner props are checked in the reconciler.
1332
1332
  t.$$typeof === R))
1333
- n = t.propTypes;
1333
+ r = t.propTypes;
1334
1334
  else
1335
1335
  return;
1336
- if (n) {
1337
- var a = T(t);
1338
- ot(n, e.props, "prop", a, e);
1339
- } else if (t.PropTypes !== void 0 && !de) {
1340
- de = !0;
1341
- var f = T(t);
1342
- S("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", f || "Unknown");
1336
+ if (r) {
1337
+ var a = A(t);
1338
+ lt(r, e.props, "prop", a, e);
1339
+ } else if (t.PropTypes !== void 0 && !ve) {
1340
+ ve = !0;
1341
+ var c = A(t);
1342
+ S("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", c || "Unknown");
1343
1343
  }
1344
1344
  typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && S("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
1345
1345
  }
1346
1346
  }
1347
- function bt(e) {
1347
+ function Et(e) {
1348
1348
  {
1349
- for (var t = Object.keys(e.props), n = 0; n < t.length; n++) {
1350
- var a = t[n];
1349
+ for (var t = Object.keys(e.props), r = 0; r < t.length; r++) {
1350
+ var a = t[r];
1351
1351
  if (a !== "children" && a !== "key") {
1352
- L(e), S("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", a), L(null);
1352
+ U(e), S("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", a), U(null);
1353
1353
  break;
1354
1354
  }
1355
1355
  }
1356
- e.ref !== null && (L(e), S("Invalid attribute `ref` supplied to `React.Fragment`."), L(null));
1356
+ e.ref !== null && (U(e), S("Invalid attribute `ref` supplied to `React.Fragment`."), U(null));
1357
1357
  }
1358
1358
  }
1359
- var Ue = {};
1360
- function Ye(e, t, n, a, f, p) {
1359
+ var Ve = {};
1360
+ function ze(e, t, r, a, c, p) {
1361
1361
  {
1362
- var u = W(e);
1363
- if (!u) {
1362
+ var l = L(e);
1363
+ if (!l) {
1364
1364
  var s = "";
1365
1365
  (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (s += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
1366
- var x = yt();
1367
- x ? s += x : s += Me();
1368
- var g;
1369
- e === null ? g = "null" : ce(e) ? g = "array" : e !== void 0 && e.$$typeof === o ? (g = "<" + (T(e.type) || "Unknown") + " />", s = " Did you accidentally export a JSX literal instead of a component?") : g = typeof e, S("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", g, s);
1366
+ var x = _t();
1367
+ x ? s += x : s += We();
1368
+ var y;
1369
+ e === null ? y = "null" : de(e) ? y = "array" : e !== void 0 && e.$$typeof === o ? (y = "<" + (A(e.type) || "Unknown") + " />", s = " Did you accidentally export a JSX literal instead of a component?") : y = typeof e, S("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", y, s);
1370
1370
  }
1371
- var b = ht(e, t, n, f, p);
1371
+ var b = bt(e, t, r, c, p);
1372
1372
  if (b == null)
1373
1373
  return b;
1374
- if (u) {
1375
- var A = t.children;
1376
- if (A !== void 0)
1374
+ if (l) {
1375
+ var P = t.children;
1376
+ if (P !== void 0)
1377
1377
  if (a)
1378
- if (ce(A)) {
1379
- for (var U = 0; U < A.length; U++)
1380
- Le(A[U], e);
1381
- Object.freeze && Object.freeze(A);
1378
+ if (de(P)) {
1379
+ for (var Y = 0; Y < P.length; Y++)
1380
+ Ye(P[Y], e);
1381
+ Object.freeze && Object.freeze(P);
1382
1382
  } else
1383
1383
  S("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
1384
1384
  else
1385
- Le(A, e);
1385
+ Ye(P, e);
1386
1386
  }
1387
- if (Y.call(t, "key")) {
1388
- var M = T(e), O = Object.keys(t).filter(function(xt) {
1389
- return xt !== "key";
1390
- }), ve = O.length > 0 ? "{key: someKey, " + O.join(": ..., ") + ": ...}" : "{key: someKey}";
1391
- if (!Ue[M + ve]) {
1392
- var St = O.length > 0 ? "{" + O.join(": ..., ") + ": ...}" : "{}";
1387
+ if (V.call(t, "key")) {
1388
+ var N = A(e), O = Object.keys(t).filter(function(Ct) {
1389
+ return Ct !== "key";
1390
+ }), ge = O.length > 0 ? "{key: someKey, " + O.join(": ..., ") + ": ...}" : "{key: someKey}";
1391
+ if (!Ve[N + ge]) {
1392
+ var wt = O.length > 0 ? "{" + O.join(": ..., ") + ": ...}" : "{}";
1393
1393
  S(`A props object containing a "key" prop is being spread into JSX:
1394
1394
  let props = %s;
1395
1395
  <%s {...props} />
1396
1396
  React keys must be passed directly to JSX without using spread:
1397
1397
  let props = %s;
1398
- <%s key={someKey} {...props} />`, ve, M, St, M), Ue[M + ve] = !0;
1398
+ <%s key={someKey} {...props} />`, ge, N, wt, N), Ve[N + ge] = !0;
1399
1399
  }
1400
1400
  }
1401
- return e === c ? bt(b) : gt(b), b;
1401
+ return e === f ? Et(b) : kt(b), b;
1402
1402
  }
1403
1403
  }
1404
- function _t(e, t, n) {
1405
- return Ye(e, t, n, !0);
1404
+ function St(e, t, r) {
1405
+ return ze(e, t, r, !0);
1406
1406
  }
1407
- function Rt(e, t, n) {
1408
- return Ye(e, t, n, !1);
1407
+ function xt(e, t, r) {
1408
+ return ze(e, t, r, !1);
1409
1409
  }
1410
- var kt = Rt, Et = _t;
1411
- He.Fragment = c, He.jsx = kt, He.jsxs = Et;
1412
- }()), He;
1410
+ var Ot = xt, jt = St;
1411
+ Ze.Fragment = f, Ze.jsx = Ot, Ze.jsxs = jt;
1412
+ }()), Ze;
1413
1413
  }
1414
- process.env.NODE_ENV === "production" ? Xt() : Qt();
1415
- const er = "0.0.37", Ut = {
1416
- version: er
1417
- }, ee = {}, At = {
1414
+ process.env.NODE_ENV === "production" ? rr() : nr();
1415
+ const or = "0.0.37", Vt = {
1416
+ version: or
1417
+ }, ee = {}, Tt = {
1418
1418
  module: "",
1419
- v: Ut.version,
1419
+ v: Vt.version,
1420
1420
  page: "Main",
1421
1421
  auth: "Auth",
1422
1422
  STORAGE: "f",
@@ -1426,28 +1426,28 @@ function ye() {
1426
1426
  return typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof self < "u" ? self : typeof global < "u" ? global : {};
1427
1427
  }
1428
1428
  ye().elcrm || (ye().elcrm = {});
1429
- Object.assign(ye().elcrm, { router: Ut.version });
1430
- function te(r) {
1429
+ Object.assign(ye().elcrm, { router: Vt.version });
1430
+ function te(n) {
1431
1431
  const o = ye();
1432
- o.ROUTER_PARAMS ? o.ROUTER_PARAMS = { ...o.ROUTER_PARAMS, ...r } : o.ROUTER_PARAMS = { ...At, ...r };
1432
+ o.ROUTER_PARAMS ? o.ROUTER_PARAMS = { ...o.ROUTER_PARAMS, ...n } : o.ROUTER_PARAMS = { ...Tt, ...n };
1433
1433
  }
1434
1434
  function w() {
1435
- return ye().ROUTER_PARAMS || At;
1435
+ return ye().ROUTER_PARAMS || Tt;
1436
1436
  }
1437
- function ge(r) {
1437
+ function _e(n) {
1438
1438
  const o = ye();
1439
1439
  o.ROUTER_PARAMS ? o.ROUTER_PARAMS.LISTENER = {
1440
1440
  ...o.ROUTER_PARAMS.LISTENER,
1441
- ...r
1442
- } : o.ROUTER_PARAMS.LISTENER = { ...r };
1441
+ ...n
1442
+ } : o.ROUTER_PARAMS.LISTENER = { ...n };
1443
1443
  }
1444
1444
  function re() {
1445
- return ye().ROUTER_PARAMS.LISTENER || At.LISTENER;
1445
+ return ye().ROUTER_PARAMS.LISTENER || Tt.LISTENER;
1446
1446
  }
1447
- var be;
1448
- ((r) => {
1447
+ var Re;
1448
+ ((n) => {
1449
1449
  function o() {
1450
- var m;
1450
+ var h;
1451
1451
  let k = sessionStorage.getItem("f");
1452
1452
  if (k) {
1453
1453
  if (k = ie.deCode(k), !k) return !1;
@@ -1464,7 +1464,7 @@ var be;
1464
1464
  te({
1465
1465
  id: 0,
1466
1466
  tab: "",
1467
- page: (m = localStorage.getItem("d")) != null && m.length ? w().page : w().auth,
1467
+ page: (h = localStorage.getItem("d")) != null && h.length ? w().page : w().auth,
1468
1468
  module: w().module
1469
1469
  });
1470
1470
  return !0;
@@ -1472,170 +1472,170 @@ var be;
1472
1472
  function i() {
1473
1473
  ee.id = 0, ee.tab = "", ee.page = w().page, ee.module = w().module;
1474
1474
  }
1475
- r.Reset = i;
1476
- function c({
1477
- module: m = w().module,
1475
+ n.Reset = i;
1476
+ function f({
1477
+ module: h = w().module,
1478
1478
  page: k = w().page,
1479
- auth: B = w().auth
1479
+ auth: T = w().auth
1480
1480
  }) {
1481
- te({ page: k, module: m, auth: B }), o();
1481
+ te({ page: k, module: h, auth: T }), o();
1482
1482
  }
1483
- r.Default = c;
1484
- function v(m) {
1485
- let k = (W) => (te({ page: W }), W);
1486
- const [B, $] = P.useState(
1487
- j() || m && k(m) || w().page
1483
+ n.Default = f;
1484
+ function v(h) {
1485
+ let k = (L) => (te({ page: L }), L);
1486
+ const [T, $] = B.useState(
1487
+ j() || h && k(h) || w().page
1488
1488
  );
1489
- return ge({ page: (W) => {
1490
- $(W);
1491
- } }), B;
1489
+ return _e({ page: (L) => {
1490
+ $(L);
1491
+ } }), T;
1492
1492
  }
1493
- r.usePage = v;
1494
- function y(m, k = !0, B = {}) {
1495
- te({ page: m, ...B }), sessionStorage.setItem(
1493
+ n.usePage = v;
1494
+ function g(h, k = !0, T = {}) {
1495
+ te({ page: h, ...T }), sessionStorage.setItem(
1496
1496
  w().STORAGE,
1497
1497
  ie.enCode(w())
1498
- ), k && re().page(m);
1498
+ ), k && re().page(h);
1499
1499
  }
1500
- r.setPage = y;
1500
+ n.setPage = g;
1501
1501
  function j() {
1502
1502
  return w().page;
1503
1503
  }
1504
- r.getPage = j;
1505
- function _(m) {
1506
- return w().page === m;
1504
+ n.getPage = j;
1505
+ function _(h) {
1506
+ return w().page === h;
1507
1507
  }
1508
- r.isPage = _;
1509
- function h(m, k) {
1510
- const [B, $] = P.useState(
1511
- d() || m || w().module
1508
+ n.isPage = _;
1509
+ function m(h, k) {
1510
+ const [T, $] = B.useState(
1511
+ d() || h || w().module
1512
1512
  );
1513
- return ge({ module: $ }), B;
1513
+ return _e({ module: $ }), T;
1514
1514
  }
1515
- r.useModule = h;
1516
- function E(m, k = !0) {
1517
- te({ module: m }), sessionStorage.setItem(
1515
+ n.useModule = m;
1516
+ function E(h, k = !0) {
1517
+ te({ module: h }), sessionStorage.setItem(
1518
1518
  w().STORAGE,
1519
1519
  ie.enCode(w())
1520
- ), k && re().module(m);
1520
+ ), k && re().module(h);
1521
1521
  }
1522
- r.setModule = E;
1522
+ n.setModule = E;
1523
1523
  function d() {
1524
1524
  return w().module || "";
1525
1525
  }
1526
- r.getModule = d;
1527
- function R(m) {
1528
- return w().module === m;
1526
+ n.getModule = d;
1527
+ function R(h) {
1528
+ return w().module === h;
1529
1529
  }
1530
- r.isModule = R;
1531
- function C(m, k) {
1532
- if (typeof m != "function") {
1533
- const [B, $] = P.useState(!k), [W, oe] = P.useState(m || ne());
1534
- return ge({ tabs: oe }), k && P.useEffect(() => {
1530
+ n.isModule = R;
1531
+ function C(h, k) {
1532
+ if (typeof h != "function") {
1533
+ const [T, $] = B.useState(!k), [L, oe] = B.useState(h || ne());
1534
+ return _e({ tabs: oe }), k && B.useEffect(() => {
1535
1535
  $(!0);
1536
- }, []), [W, B];
1536
+ }, []), [L, T];
1537
1537
  } else
1538
- ge({ tabs: m });
1538
+ _e({ tabs: h });
1539
1539
  }
1540
- r.useTabs = C;
1541
- async function N(m, k = !0) {
1542
- te({ tab: m }), sessionStorage.setItem(
1540
+ n.useTabs = C;
1541
+ async function W(h, k = !0) {
1542
+ te({ tab: h }), sessionStorage.setItem(
1543
1543
  w().STORAGE,
1544
1544
  ie.enCode(w())
1545
- ), k && (re().tabs && re().tabs(m));
1545
+ ), k && (re().tabs && re().tabs(h));
1546
1546
  }
1547
- r.setTabs = N;
1547
+ n.setTabs = W;
1548
1548
  function ne() {
1549
1549
  return w().tab;
1550
1550
  }
1551
- r.getTabs = ne;
1552
- function _e(m) {
1553
- return w().tab === m;
1551
+ n.getTabs = ne;
1552
+ function ke(h) {
1553
+ return w().tab === h;
1554
1554
  }
1555
- r.isTabs = _e;
1556
- function Re(m) {
1557
- if (typeof m != "function") {
1558
- const [k, B] = P.useState(m || me());
1559
- return ge({ id: ($) => {
1560
- B($);
1555
+ n.isTabs = ke;
1556
+ function Ee(h) {
1557
+ if (typeof h != "function") {
1558
+ const [k, T] = B.useState(h || be());
1559
+ return _e({ id: ($) => {
1560
+ T($);
1561
1561
  } }), k;
1562
1562
  } else
1563
- ge({ id: m });
1563
+ _e({ id: h });
1564
1564
  }
1565
- r.useId = Re;
1566
- function F(m) {
1565
+ n.useId = Ee;
1566
+ function F(h) {
1567
1567
  }
1568
- r.subId = F;
1569
- async function S(m, k = !0) {
1570
- te({ id: m }), sessionStorage.setItem(
1568
+ n.subId = F;
1569
+ async function S(h, k = !0) {
1570
+ te({ id: h }), sessionStorage.setItem(
1571
1571
  w().STORAGE,
1572
1572
  ie.enCode(w())
1573
- ), k && re().id(m);
1573
+ ), k && re().id(h);
1574
1574
  }
1575
- r.setId = S;
1576
- function me() {
1575
+ n.setId = S;
1576
+ function be() {
1577
1577
  return w().id;
1578
1578
  }
1579
- r.getId = me;
1580
- function ke(m) {
1581
- return Number(w().id) === m;
1579
+ n.getId = be;
1580
+ function Se(h) {
1581
+ return Number(w().id) === h;
1582
1582
  }
1583
- r.isId = ke;
1584
- async function Ee(m) {
1585
- var k, B, $, W, oe, ae, T, I;
1586
- const { page: D, module: z, tab: J, id: q } = m;
1587
- D !== void 0 && (ee.page = D), z !== void 0 && (ee.module = z), J !== void 0 && (ee.tab = J), q !== void 0 && (ee.id = q), te({ ...ee }), q !== void 0 && ((B = (k = re()).id) == null || B.call(k, q)), J !== void 0 && ((W = ($ = re()).tabs) == null || W.call($, J)), z !== void 0 && ((ae = (oe = re()).module) == null || ae.call(oe, z)), D !== void 0 && ((I = (T = re()).page) == null || I.call(T, D)), sessionStorage.setItem(
1583
+ n.isId = Se;
1584
+ async function xe(h) {
1585
+ var k, T, $, L, oe, ae, A, I;
1586
+ const { page: D, module: J, tab: q, id: K } = h;
1587
+ D !== void 0 && (ee.page = D), J !== void 0 && (ee.module = J), q !== void 0 && (ee.tab = q), K !== void 0 && (ee.id = K), te({ ...ee }), K !== void 0 && ((T = (k = re()).id) == null || T.call(k, K)), q !== void 0 && ((L = ($ = re()).tabs) == null || L.call($, q)), J !== void 0 && ((ae = (oe = re()).module) == null || ae.call(oe, J)), D !== void 0 && ((I = (A = re()).page) == null || I.call(A, D)), sessionStorage.setItem(
1588
1588
  w().STORAGE,
1589
1589
  ie.enCode(w())
1590
1590
  );
1591
1591
  }
1592
- r.navigate = Ee;
1593
- })(be || (be = {}));
1594
- let Ze = {};
1595
- function tr() {
1596
- const [r, o] = P.useState([]);
1597
- return Ze.set = (i) => {
1598
- o([...r, i]);
1599
- }, Ze.del = (i) => {
1600
- r.forEach((c, v) => {
1601
- c.key === i && r.splice(v, 1);
1602
- }), o(r);
1603
- }, r.length === 0 ? /* @__PURE__ */ l.jsx(l.Fragment, {}) : /* @__PURE__ */ l.jsx("div", { className: "notice", children: r.map((i) => i.item) });
1592
+ n.navigate = xe;
1593
+ })(Re || (Re = {}));
1594
+ let tt = {};
1595
+ function ar() {
1596
+ const [n, o] = B.useState([]);
1597
+ return tt.set = (i) => {
1598
+ o([...n, i]);
1599
+ }, tt.del = (i) => {
1600
+ n.forEach((f, v) => {
1601
+ f.key === i && n.splice(v, 1);
1602
+ }), o(n);
1603
+ }, n.length === 0 ? /* @__PURE__ */ u.jsx(u.Fragment, {}) : /* @__PURE__ */ u.jsx("div", { className: "notice", children: n.map((i) => i.item) });
1604
1604
  }
1605
- function rr(r) {
1605
+ function ir(n) {
1606
1606
  let o = (/* @__PURE__ */ new Date()).getTime();
1607
- r.key = o, Ze.set({ item: /* @__PURE__ */ l.jsx(nr, { data: r }, o), key: o });
1607
+ n.key = o, tt.set({ item: /* @__PURE__ */ u.jsx(sr, { data: n }, o), key: o });
1608
1608
  }
1609
- function nr(r) {
1610
- const o = r.data;
1611
- let [i] = P.useState("show"), [c, v] = P.useState(!1);
1612
- P.useEffect(() => {
1609
+ function sr(n) {
1610
+ const o = n.data;
1611
+ let [i] = B.useState("show"), [f, v] = B.useState(!1);
1612
+ B.useEffect(() => {
1613
1613
  setTimeout(function() {
1614
- v(!0), Ze.del(o.key);
1614
+ v(!0), tt.del(o.key);
1615
1615
  }, 5e3);
1616
1616
  }, [o.key]);
1617
- let y;
1617
+ let g;
1618
1618
  switch (o.type) {
1619
1619
  case "error":
1620
- y = /* @__PURE__ */ l.jsx("path", { d: "M12 2.25c-5.376 0-9.75 4.374-9.75 9.75s4.374 9.75 9.75 9.75 9.75-4.374 9.75-9.75S17.376 2.25 12 2.25Zm3.53 12.22a.75.75 0 1 1-1.06 1.06L12 13.06l-2.47 2.47a.75.75 0 0 1-1.06-1.06L10.94 12 8.47 9.53a.75.75 0 0 1 1.06-1.06L12 10.94l2.47-2.47a.75.75 0 0 1 1.06 1.06L13.06 12l2.47 2.47Z" });
1620
+ g = /* @__PURE__ */ u.jsx("path", { d: "M12 2.25c-5.376 0-9.75 4.374-9.75 9.75s4.374 9.75 9.75 9.75 9.75-4.374 9.75-9.75S17.376 2.25 12 2.25Zm3.53 12.22a.75.75 0 1 1-1.06 1.06L12 13.06l-2.47 2.47a.75.75 0 0 1-1.06-1.06L10.94 12 8.47 9.53a.75.75 0 0 1 1.06-1.06L12 10.94l2.47-2.47a.75.75 0 0 1 1.06 1.06L13.06 12l2.47 2.47Z" });
1621
1621
  break;
1622
1622
  case "success":
1623
- y = /* @__PURE__ */ l.jsx("path", { d: "M12 2.25c-5.376 0-9.75 4.374-9.75 9.75s4.374 9.75 9.75 9.75 9.75-4.374 9.75-9.75S17.376 2.25 12 2.25Zm5.074 6.482-6.3 7.5a.748.748 0 0 1-.562.268h-.013a.75.75 0 0 1-.557-.248l-2.7-3a.751.751 0 0 1 .88-1.186c.09.045.17.107.234.182l2.123 2.36 5.747-6.84a.75.75 0 0 1 1.148.964Z" });
1623
+ g = /* @__PURE__ */ u.jsx("path", { d: "M12 2.25c-5.376 0-9.75 4.374-9.75 9.75s4.374 9.75 9.75 9.75 9.75-4.374 9.75-9.75S17.376 2.25 12 2.25Zm5.074 6.482-6.3 7.5a.748.748 0 0 1-.562.268h-.013a.75.75 0 0 1-.557-.248l-2.7-3a.751.751 0 0 1 .88-1.186c.09.045.17.107.234.182l2.123 2.36 5.747-6.84a.75.75 0 0 1 1.148.964Z" });
1624
1624
  break;
1625
1625
  case "warning":
1626
- y = /* @__PURE__ */ l.jsx("path", { d: "M12 2.625c-5.17 0-9.375 4.206-9.375 9.375 0 5.17 4.206 9.375 9.375 9.375 5.17 0 9.375-4.206 9.375-9.375 0-5.17-4.206-9.375-9.375-9.375Zm0 3.844a1.219 1.219 0 1 1 0 2.437 1.219 1.219 0 0 1 0-2.437Zm2.25 10.593h-4.125a.75.75 0 1 1 0-1.5h1.313v-4.124h-.75a.75.75 0 1 1 0-1.5h1.5a.75.75 0 0 1 .75.75v4.874h1.312a.75.75 0 1 1 0 1.5Z" });
1626
+ g = /* @__PURE__ */ u.jsx("path", { d: "M12 2.625c-5.17 0-9.375 4.206-9.375 9.375 0 5.17 4.206 9.375 9.375 9.375 5.17 0 9.375-4.206 9.375-9.375 0-5.17-4.206-9.375-9.375-9.375Zm0 3.844a1.219 1.219 0 1 1 0 2.437 1.219 1.219 0 0 1 0-2.437Zm2.25 10.593h-4.125a.75.75 0 1 1 0-1.5h1.313v-4.124h-.75a.75.75 0 1 1 0-1.5h1.5a.75.75 0 0 1 .75.75v4.874h1.312a.75.75 0 1 1 0 1.5Z" });
1627
1627
  break;
1628
1628
  default:
1629
- y = "icon fa fa-exclamation-circle";
1629
+ g = "icon fa fa-exclamation-circle";
1630
1630
  break;
1631
1631
  }
1632
- return /* @__PURE__ */ l.jsx(l.Fragment, { children: c ? /* @__PURE__ */ l.jsx(l.Fragment, {}) : /* @__PURE__ */ l.jsxs(
1632
+ return /* @__PURE__ */ u.jsx(u.Fragment, { children: f ? /* @__PURE__ */ u.jsx(u.Fragment, {}) : /* @__PURE__ */ u.jsxs(
1633
1633
  "div",
1634
1634
  {
1635
1635
  className: "item " + o.type + ` ${o.thema !== void 0 ? " thema" : ""}`,
1636
1636
  "data-status": i,
1637
1637
  children: [
1638
- /* @__PURE__ */ l.jsx(
1638
+ /* @__PURE__ */ u.jsx(
1639
1639
  "svg",
1640
1640
  {
1641
1641
  type: "solid",
@@ -1645,90 +1645,90 @@ function nr(r) {
1645
1645
  width: "24",
1646
1646
  height: "24",
1647
1647
  viewBox: "0 0 24 24",
1648
- children: y
1648
+ children: g
1649
1649
  }
1650
1650
  ),
1651
- /* @__PURE__ */ l.jsx("span", { className: "text", children: o.text })
1651
+ /* @__PURE__ */ u.jsx("span", { className: "text", children: o.text })
1652
1652
  ]
1653
1653
  }
1654
1654
  ) });
1655
1655
  }
1656
- let Xe = {
1657
- Send: rr,
1658
- Init: tr
1659
- }, qe = () => {
1656
+ let rt = {
1657
+ Send: ir,
1658
+ Init: ar
1659
+ }, He = () => {
1660
1660
  };
1661
- const or = ({ children: r, title: o, isOverlay: i = !0 }) => {
1662
- const [c, v] = P.useState(!1);
1663
- return qe = () => {
1661
+ const zt = ({ children: n, title: o, isOverlay: i = !0 }) => {
1662
+ const [f, v] = B.useState(!1);
1663
+ return He = () => {
1664
1664
  v(!0), setTimeout(() => {
1665
- Yt.onClose();
1665
+ Jt.onClose();
1666
1666
  }, 300);
1667
- }, /* @__PURE__ */ l.jsx(
1667
+ }, /* @__PURE__ */ u.jsx(
1668
1668
  "div",
1669
1669
  {
1670
- className: `footer-menu-overlay ${i ? "is-overlay" : ""} ${c ? "closing" : ""}`,
1671
- onClick: qe,
1672
- children: /* @__PURE__ */ l.jsxs(
1670
+ className: `footer-menu-overlay ${i ? "is-overlay" : ""} ${f ? "closing" : ""}`,
1671
+ onClick: He,
1672
+ children: /* @__PURE__ */ u.jsxs(
1673
1673
  "div",
1674
1674
  {
1675
- className: `footer-menu-popup-book ${c ? "closing" : ""}`,
1676
- onClick: (y) => y.stopPropagation(),
1675
+ className: `footer-menu-popup-book ${f ? "closing" : ""}`,
1676
+ onClick: (g) => g.stopPropagation(),
1677
1677
  children: [
1678
- /* @__PURE__ */ l.jsxs("div", { className: "footer-menu-header", children: [
1679
- /* @__PURE__ */ l.jsx("h3", { children: o }),
1680
- /* @__PURE__ */ l.jsx(
1678
+ /* @__PURE__ */ u.jsxs("div", { className: "footer-menu-header", children: [
1679
+ /* @__PURE__ */ u.jsx("h3", { children: o }),
1680
+ /* @__PURE__ */ u.jsx(
1681
1681
  "button",
1682
1682
  {
1683
1683
  className: "footer-menu-close-btn",
1684
- onClick: qe,
1684
+ onClick: He,
1685
1685
  children: "✕"
1686
1686
  }
1687
1687
  )
1688
1688
  ] }),
1689
- r
1689
+ n
1690
1690
  ]
1691
1691
  }
1692
1692
  )
1693
1693
  }
1694
1694
  );
1695
- }, ar = "_h_rl5ga_1", ir = "_row_rl5ga_14", sr = "_column_rl5ga_17", Dt = {
1696
- h: ar,
1697
- row: ir,
1698
- column: sr
1699
- }, Yt = [], Ft = (r, o) => r.findIndex((i) => (i == null ? void 0 : i.page) === o), ur = ({
1700
- actions: r,
1695
+ }, lr = "_h_rl5ga_1", ur = "_row_rl5ga_14", cr = "_column_rl5ga_17", Nt = {
1696
+ h: lr,
1697
+ row: ur,
1698
+ column: cr
1699
+ }, Jt = [], Mt = (n, o) => n.findIndex((i) => (i == null ? void 0 : i.page) === o), qt = ({
1700
+ actions: n,
1701
1701
  children: o,
1702
1702
  className: i,
1703
- page: c,
1703
+ page: f,
1704
1704
  onPageChange: v,
1705
- direction: y = "row"
1705
+ direction: g = "row"
1706
1706
  }) => {
1707
- const [j, _] = P.useState(null), [h, E] = P.useState(
1708
- c ? Ft(r || [], c) : 0
1707
+ const [j, _] = B.useState(null), [m, E] = B.useState(
1708
+ f ? Mt(n || [], f) : 0
1709
1709
  );
1710
- return Yt.onClose = () => {
1711
- _(null), E(c ? Ft(r || [], c) : 0);
1712
- }, jt(() => {
1710
+ return Jt.onClose = () => {
1711
+ _(null), E(f ? Mt(n || [], f) : 0);
1712
+ }, Ge(() => {
1713
1713
  document.addEventListener("blur", () => {
1714
1714
  document.querySelector("footer").style.display = "flex";
1715
1715
  }), document.addEventListener("focus", () => {
1716
1716
  document.querySelector("footer").style.display = "none";
1717
1717
  });
1718
- }, []), /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
1718
+ }, []), /* @__PURE__ */ u.jsxs(u.Fragment, { children: [
1719
1719
  j,
1720
- /* @__PURE__ */ l.jsxs(
1720
+ /* @__PURE__ */ u.jsxs(
1721
1721
  "footer",
1722
1722
  {
1723
- className: `${Dt.h} ${Dt[y]} ${i} `,
1723
+ className: `${Nt.h} ${Nt[g]} ${i} `,
1724
1724
  children: [
1725
1725
  o,
1726
- r && r.map((d, R) => /* @__PURE__ */ l.jsx(
1726
+ n && n.map((d, R) => /* @__PURE__ */ u.jsx(
1727
1727
  "div",
1728
1728
  {
1729
- "data-active": h === R ? "true" : "false",
1729
+ "data-active": m === R ? "true" : "false",
1730
1730
  onClick: () => {
1731
- d.page && (E(R), v == null || v(d.page)), d.callback && (d.callback(), E(R)), d.component && (h === R ? qe() : (_(d.component), E(R)));
1731
+ d.page && (E(R), v == null || v(d.page)), d.callback && (d.callback(), E(R)), d.component && (m === R ? He() : (_(d.component), E(R)));
1732
1732
  },
1733
1733
  children: d.icon
1734
1734
  },
@@ -1738,9 +1738,13 @@ const or = ({ children: r, title: o, isOverlay: i = !0 }) => {
1738
1738
  }
1739
1739
  )
1740
1740
  ] });
1741
- }, he = { is: !1, MainButton: {}, BackButton: {} };
1742
- let V = {};
1743
- V.dark = {
1741
+ }, he = {
1742
+ is: !1,
1743
+ MainButton: {},
1744
+ BackButton: {}
1745
+ };
1746
+ let z = {};
1747
+ z.dark = {
1744
1748
  "--tg-theme-subtitle-text-color": "#98989e",
1745
1749
  "--tg-theme-destructive-text-color": "#e53935",
1746
1750
  "--tg-theme-section-separator-color": "#545458",
@@ -1757,7 +1761,7 @@ V.dark = {
1757
1761
  "--tg-theme-text-color": "#ffffff",
1758
1762
  "--tg-theme-section-bg-color": "#2c2c2e"
1759
1763
  };
1760
- V.light = {
1764
+ z.light = {
1761
1765
  "--tg-theme-subtitle-text-color": "#8e8e93",
1762
1766
  "--tg-theme-destructive-text-color": "#ff3b30",
1763
1767
  "--tg-theme-section-separator-color": "#c8c7cc",
@@ -1774,7 +1778,7 @@ V.light = {
1774
1778
  "--tg-theme-text-color": "#000000",
1775
1779
  "--tg-theme-section-bg-color": "#ffffff"
1776
1780
  };
1777
- V.users = {
1781
+ z.users = {
1778
1782
  "--tg-theme-bg-color": "#000000",
1779
1783
  "--tg-theme-text-color": "#ffffff",
1780
1784
  "--tg-theme-hint-color": "#98989e",
@@ -1783,77 +1787,77 @@ V.users = {
1783
1787
  "--tg-theme-button-text-color": "#000000",
1784
1788
  "--tg-theme-secondary-bg-color": "#000000"
1785
1789
  };
1786
- const lr = () => {
1790
+ const fr = () => {
1787
1791
  if (location.hostname === "localhost") {
1788
- let [r, o] = P.useState(!1), [i, c] = P.useState(!1), [v, y] = P.useState("dark"), [j, _] = P.useState(!1), [h, E] = P.useState(!1);
1789
- he.is = !0, he.MainButton.set = o, he.BackButton.set = c, P.useEffect(() => {
1790
- V[v]["--tg-theme-bg-color-alpha"] = V[v]["--tg-theme-bg-color"] + "b3", V[v]["--tg-theme-secondary-bg-color-alpha"] = V[v]["--tg-theme-secondary-bg-color"] + "d3";
1791
- for (let C in V[v])
1792
+ let [n, o] = le(!1), [i, f] = le(!1), [v, g] = le("dark"), [j, _] = le(!1), [m, E] = le(!1);
1793
+ he.is = !0, he.MainButton.set = o, he.BackButton.set = f, Ge(() => {
1794
+ z[v]["--tg-theme-bg-color-alpha"] = z[v]["--tg-theme-bg-color"] + "b3", z[v]["--tg-theme-secondary-bg-color-alpha"] = z[v]["--tg-theme-secondary-bg-color"] + "d3";
1795
+ for (let C in z[v])
1792
1796
  document.documentElement.style.setProperty(
1793
1797
  C,
1794
- V[v][C]
1798
+ z[v][C]
1795
1799
  );
1796
- K.WebApp.safeAreaInset.bottom === 0 && document.documentElement.style.setProperty(
1800
+ Xe.safeAreaInset.bottom === 0 && document.documentElement.style.setProperty(
1797
1801
  "--tg-safe-area-inset-bottom",
1798
1802
  "16px"
1799
1803
  );
1800
1804
  }, []);
1801
1805
  let d = (C) => {
1802
- for (let N in V[C])
1803
- document.documentElement.style.setProperty(N, V[C][N]);
1804
- y(C), _(!1);
1806
+ for (let W in z[C])
1807
+ document.documentElement.style.setProperty(W, z[C][W]);
1808
+ g(C), _(!1);
1805
1809
  }, R = () => {
1806
1810
  _(!1), E(!0);
1807
1811
  };
1808
- return /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
1809
- /* @__PURE__ */ l.jsxs("header", { className: "debug", children: [
1810
- i === !1 ? /* @__PURE__ */ l.jsx("div", { className: "b", children: "Отмена" }) : /* @__PURE__ */ l.jsx(
1812
+ return /* @__PURE__ */ u.jsxs(u.Fragment, { children: [
1813
+ /* @__PURE__ */ u.jsxs("header", { className: "debug", children: [
1814
+ i === !1 ? /* @__PURE__ */ u.jsx("div", { className: "b", children: "Отмена" }) : /* @__PURE__ */ u.jsx(
1811
1815
  "div",
1812
1816
  {
1813
1817
  onClick: () => {
1814
1818
  var C;
1815
- i.page === void 0 ? (C = i.callback) == null || C.call(i) : be.setPage(i.page);
1819
+ i.page === void 0 ? (C = i.callback) == null || C.call(i) : Re.setPage(i.page);
1816
1820
  },
1817
1821
  className: "b",
1818
1822
  children: "Назад"
1819
1823
  }
1820
1824
  ),
1821
- /* @__PURE__ */ l.jsx("div", { className: "o", onClick: () => _(!j), children: "Меню" })
1825
+ /* @__PURE__ */ u.jsx("div", { className: "o", onClick: () => _(!j), children: "Меню" })
1822
1826
  ] }),
1823
- /* @__PURE__ */ l.jsx(Xe.Init, {}),
1824
- r && /* @__PURE__ */ l.jsx("div", { className: "mb", children: /* @__PURE__ */ l.jsx(
1827
+ /* @__PURE__ */ u.jsx(rt.Init, {}),
1828
+ n && /* @__PURE__ */ u.jsx("div", { className: "mb", children: /* @__PURE__ */ u.jsx(
1825
1829
  "button",
1826
1830
  {
1827
1831
  onClick: () => {
1828
- r.page && be.setPage(r.page), r.callback && r.callback();
1832
+ n.page && Re.setPage(n.page), n.callback && n.callback();
1829
1833
  },
1830
- children: r.text
1834
+ children: n.text
1831
1835
  }
1832
1836
  ) }),
1833
- j ? /* @__PURE__ */ l.jsxs("div", { className: "tm", children: [
1834
- /* @__PURE__ */ l.jsxs("ul", { children: [
1835
- /* @__PURE__ */ l.jsx("li", { children: /* @__PURE__ */ l.jsx("button", { onClick: R, children: "Authorization" }) }),
1836
- /* @__PURE__ */ l.jsx("li", {})
1837
+ j ? /* @__PURE__ */ u.jsxs("div", { className: "tm", children: [
1838
+ /* @__PURE__ */ u.jsxs("ul", { children: [
1839
+ /* @__PURE__ */ u.jsx("li", { children: /* @__PURE__ */ u.jsx("button", { onClick: R, children: "Authorization" }) }),
1840
+ /* @__PURE__ */ u.jsx("li", {})
1837
1841
  ] }),
1838
- /* @__PURE__ */ l.jsxs("ul", { children: [
1839
- /* @__PURE__ */ l.jsxs("li", { children: [
1840
- /* @__PURE__ */ l.jsx("button", { children: "Thema" }),
1841
- /* @__PURE__ */ l.jsxs("ol", { children: [
1842
- /* @__PURE__ */ l.jsx("li", { children: /* @__PURE__ */ l.jsx(
1842
+ /* @__PURE__ */ u.jsxs("ul", { children: [
1843
+ /* @__PURE__ */ u.jsxs("li", { children: [
1844
+ /* @__PURE__ */ u.jsx("button", { children: "Thema" }),
1845
+ /* @__PURE__ */ u.jsxs("ol", { children: [
1846
+ /* @__PURE__ */ u.jsx("li", { children: /* @__PURE__ */ u.jsx(
1843
1847
  "button",
1844
1848
  {
1845
1849
  onClick: () => d("dark"),
1846
1850
  children: "Dark"
1847
1851
  }
1848
1852
  ) }),
1849
- /* @__PURE__ */ l.jsx("li", { children: /* @__PURE__ */ l.jsx(
1853
+ /* @__PURE__ */ u.jsx("li", { children: /* @__PURE__ */ u.jsx(
1850
1854
  "button",
1851
1855
  {
1852
1856
  onClick: () => d("light"),
1853
1857
  children: "Light"
1854
1858
  }
1855
1859
  ) }),
1856
- /* @__PURE__ */ l.jsx("li", { children: /* @__PURE__ */ l.jsx(
1860
+ /* @__PURE__ */ u.jsx("li", { children: /* @__PURE__ */ u.jsx(
1857
1861
  "button",
1858
1862
  {
1859
1863
  onClick: () => d("users"),
@@ -1862,95 +1866,78 @@ const lr = () => {
1862
1866
  ) })
1863
1867
  ] })
1864
1868
  ] }),
1865
- /* @__PURE__ */ l.jsx("li", { children: /* @__PURE__ */ l.jsx("button", { onClick: () => _(!j), children: "Closed" }) })
1869
+ /* @__PURE__ */ u.jsx("li", { children: /* @__PURE__ */ u.jsx("button", { onClick: () => _(!j), children: "Closed" }) })
1866
1870
  ] })
1867
1871
  ] }) : "",
1868
- h ? /* @__PURE__ */ l.jsx(cr, { setAuthorization: E }) : ""
1872
+ m ? /* @__PURE__ */ u.jsx(dr, { setAuthorization: E }) : ""
1869
1873
  ] });
1870
1874
  } else
1871
- return P.useEffect(() => {
1875
+ return Ge(() => {
1872
1876
  document.documentElement.style.setProperty(
1873
1877
  "--tg-theme-secondary-bg-color-alpha",
1874
- K.WebApp.themeParams.secondary_bg_color + "d3"
1878
+ Xe.themeParams.secondary_bg_color + "d3"
1875
1879
  ), document.documentElement.style.setProperty(
1876
1880
  "--tg-theme-bg-color-alpha",
1877
- K.WebApp.themeParams.bg_color + "b3"
1878
- ), K.WebApp.safeAreaInset.bottom === 0 && document.documentElement.style.setProperty(
1881
+ Xe.themeParams.bg_color + "b3"
1882
+ ), Xe.safeAreaInset.bottom === 0 && document.documentElement.style.setProperty(
1879
1883
  "--tg-safe-area-inset-bottom",
1880
1884
  "16px"
1881
1885
  );
1882
- }, []), /* @__PURE__ */ l.jsx(l.Fragment, { children: /* @__PURE__ */ l.jsx(Xe.Init, {}) });
1886
+ }, []), /* @__PURE__ */ u.jsx(u.Fragment, { children: /* @__PURE__ */ u.jsx(rt.Init, {}) });
1887
+ }, dr = ({ setAuthorization: n }) => {
1888
+ let o = {}, i = () => {
1889
+ localStorage.setItem("auth", o);
1890
+ };
1891
+ return /* @__PURE__ */ u.jsx("div", { className: "ta", children: /* @__PURE__ */ u.jsxs("div", { className: "--body", children: [
1892
+ /* @__PURE__ */ u.jsx("fieldset", {}),
1893
+ /* @__PURE__ */ u.jsx("div", { onClick: i, children: " Сохранить " })
1894
+ ] }) });
1895
+ }, se = {
1896
+ state: [!1],
1897
+ listen: [],
1898
+ router: (n) => {
1899
+ n === !1 ? (M.WebApp.BackButton.isVisible = !1, M.WebApp.BackButton.offClick(se.listen[0]), se.listen.shift(), M.WebApp.BackButton.state.length !== 1 && M.WebApp.BackButton.state.pop()) : (M.WebApp.BackButton.isVisible = !0, M.WebApp.BackButton.offClick(se.listen[0]), se.listen.shift(), se.listen.push(() => {
1900
+ var i;
1901
+ let o = M.WebApp.BackButton.state.pop();
1902
+ o.page !== void 0 ? Re.setPage(o.page) : (i = o.callback) == null || i.call(o);
1903
+ }), M.WebApp.BackButton.onClick(se.listen[0]));
1904
+ }
1883
1905
  };
1884
- var K;
1885
- ((r) => {
1886
- r.WebApp = window.Telegram.WebApp, r.getUser = () => {
1906
+ var M;
1907
+ ((n) => {
1908
+ n.WebApp = window.Telegram.WebApp, n.getUser = () => {
1887
1909
  var o;
1888
- return ((o = r.WebApp.initDataUnsafe) == null ? void 0 : o.user) === void 0 ? {} : r.WebApp.initDataUnsafe;
1889
- }, r.Notice = (o, i, c) => {
1890
- var v, y;
1891
- i !== void 0 ? (Xe.Send({ type: o, text: i, thema: c }), (v = r.WebApp.HapticFeedback) == null || v.notificationOccurred(o)) : (Xe.Send(o), (y = r.WebApp.HapticFeedback) == null || y.notificationOccurred(o.type));
1892
- }, r.Header = lr, r.Footer = ur, r.BottomSheet = or, r.toggleBottomSheet = qe, r.Modal = Ct, r.MainButton = {
1910
+ return ((o = n.WebApp.initDataUnsafe) == null ? void 0 : o.user) === void 0 ? {} : n.WebApp.initDataUnsafe;
1911
+ }, n.Notice = (o, i, f) => {
1912
+ var v, g;
1913
+ i !== void 0 ? (rt.Send({ type: o, text: i, thema: f }), (v = n.WebApp.HapticFeedback) == null || v.notificationOccurred(o)) : (rt.Send(o), (g = n.WebApp.HapticFeedback) == null || g.notificationOccurred(o.type));
1914
+ }, n.Header = fr, n.Footer = qt, n.BottomSheet = zt, n.toggleBottomSheet = He, n.Modal = At, n.MainButton = {
1893
1915
  callback: [],
1894
1916
  set: (o) => {
1895
- he.is ? he.MainButton.set(o) : (r.WebApp.MainButton.callback.forEach((i) => {
1896
- r.WebApp.MainButton.offClick(i);
1897
- }), r.WebApp.MainButton.callback = [], typeof o == "boolean" ? r.WebApp.MainButton.isVisible = !1 : (r.WebApp.MainButton.text = o.text, o.color && (r.WebApp.MainButton.color = o.color), o.textColor && (r.WebApp.MainButton.textColor = o.textColor), r.WebApp.MainButton.isVisible = !0, r.WebApp.MainButton.isActive = o.isActive === void 0 ? !0 : o.isActive, r.WebApp.MainButton.callback.push(() => {
1917
+ he.is ? he.MainButton.set(o) : (n.WebApp.MainButton.callback.forEach((i) => {
1918
+ n.WebApp.MainButton.offClick(i);
1919
+ }), n.WebApp.MainButton.callback = [], typeof o == "boolean" ? n.WebApp.MainButton.isVisible = !1 : (n.WebApp.MainButton.text = o.text, o.color && (n.WebApp.MainButton.color = o.color), o.textColor && (n.WebApp.MainButton.textColor = o.textColor), n.WebApp.MainButton.isVisible = !0, n.WebApp.MainButton.isActive = o.isActive === void 0 ? !0 : o.isActive, n.WebApp.MainButton.callback.push(() => {
1898
1920
  var i;
1899
- o.page === void 0 ? (i = o.callback) == null || i.call(o) : be.setPage(o.page);
1900
- }), r.WebApp.MainButton.onClick(
1901
- r.WebApp.MainButton.callback[0]
1921
+ o.page === void 0 ? (i = o.callback) == null || i.call(o) : Re.setPage(o.page);
1922
+ }), n.WebApp.MainButton.onClick(
1923
+ n.WebApp.MainButton.callback[0]
1902
1924
  )));
1903
1925
  }
1904
- }, r.BackButton = {
1905
- state: [!1],
1906
- listen: [],
1907
- router: (o) => {
1908
- o === !1 ? (r.WebApp.BackButton.isVisible = !1, r.WebApp.BackButton.offClick(
1909
- r.BackButton.listen[0]
1910
- ), r.BackButton.listen.shift(), r.WebApp.BackButton.state.length !== 1 && r.WebApp.BackButton.state.pop()) : (r.WebApp.BackButton.isVisible = !0, r.WebApp.BackButton.offClick(
1911
- r.BackButton.listen[0]
1912
- ), r.BackButton.listen.shift(), r.BackButton.listen.push(() => {
1913
- var c;
1914
- let i = r.WebApp.BackButton.state.pop();
1915
- i.page !== void 0 ? be.setPage(i.page) : (c = i.callback) == null || c.call(i);
1916
- }), r.WebApp.BackButton.onClick(
1917
- r.BackButton.listen[0]
1918
- ));
1919
- },
1920
- set: (o) => {
1921
- he.is ? he.BackButton.set(o) : (r.BackButton.state.push(o), r.BackButton.router(o));
1922
- }
1923
- };
1924
- })(K || (K = {}));
1925
- const cr = ({ setAuthorization: r }) => {
1926
- let o = {}, i = () => {
1927
- localStorage.setItem("auth", o);
1926
+ }, n.BackButton = (o) => {
1927
+ he.is ? he.BackButton.set(o) : (se.state.push(o), se.router(o));
1928
1928
  };
1929
- return /* @__PURE__ */ l.jsx("div", { className: "ta", children: /* @__PURE__ */ l.jsxs("div", { className: "--body", children: [
1930
- /* @__PURE__ */ l.jsx("fieldset", {}),
1931
- /* @__PURE__ */ l.jsx("div", { onClick: i, children: " Сохранить " })
1932
- ] }) });
1933
- }, dr = K.Footer, {
1934
- Header: pr,
1935
- toggleBottomSheet: vr,
1936
- Modal: hr,
1937
- MainButton: yr,
1938
- BackButton: mr,
1939
- BottomSheet: gr,
1940
- WebApp: br,
1941
- getUser: _r,
1942
- Notice: Rr
1943
- } = K;
1929
+ })(M || (M = {}));
1930
+ const vr = qt, mr = zt, gr = M.BackButton, hr = M.Notice, { Header: yr, toggleBottomSheet: br, Modal: _r, MainButton: Rr, WebApp: Xe, getUser: kr } = M;
1944
1931
  export {
1945
- mr as BackButton,
1946
- gr as BottomSheet,
1947
- dr as Footer,
1948
- pr as Header,
1949
- yr as MainButton,
1950
- hr as Modal,
1951
- Rr as Notice,
1952
- br as WebApp,
1953
- K as default,
1954
- _r as getUser,
1955
- vr as toggleBottomSheet
1932
+ gr as BackButton,
1933
+ mr as BottomSheet,
1934
+ vr as Footer,
1935
+ yr as Header,
1936
+ Rr as MainButton,
1937
+ _r as Modal,
1938
+ hr as Notice,
1939
+ Xe as WebApp,
1940
+ M as default,
1941
+ kr as getUser,
1942
+ br as toggleBottomSheet
1956
1943
  };