@elcrm/telegram 0.0.81 → 0.0.83

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