elcrm 0.3.3 → 0.3.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import './index.css';
2
- import y from "react";
3
- var de = { exports: {} }, B = {};
2
+ import k from "react";
3
+ var xe = { exports: {} }, Q = {};
4
4
  /**
5
5
  * @license React
6
6
  * react-jsx-runtime.production.min.js
@@ -10,25 +10,25 @@ var de = { exports: {} }, B = {};
10
10
  * This source code is licensed under the MIT license found in the
11
11
  * LICENSE file in the root directory of this source tree.
12
12
  */
13
- var De;
13
+ var Ue;
14
14
  function Tt() {
15
- if (De)
16
- return B;
17
- De = 1;
18
- var t = y, r = Symbol.for("react.element"), a = Symbol.for("react.fragment"), o = Object.prototype.hasOwnProperty, m = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, h = { key: !0, ref: !0, __self: !0, __source: !0 };
19
- function T(x, p, g) {
20
- var v, C = {}, I = null, G = null;
21
- g !== void 0 && (I = "" + g), p.key !== void 0 && (I = "" + p.key), p.ref !== void 0 && (G = p.ref);
22
- for (v in p)
23
- o.call(p, v) && !h.hasOwnProperty(v) && (C[v] = p[v]);
24
- if (x && x.defaultProps)
25
- for (v in p = x.defaultProps, p)
26
- C[v] === void 0 && (C[v] = p[v]);
27
- return { $$typeof: r, type: x, key: I, ref: G, props: C, _owner: m.current };
15
+ if (Ue)
16
+ return Q;
17
+ Ue = 1;
18
+ var e = k, r = Symbol.for("react.element"), a = Symbol.for("react.fragment"), i = Object.prototype.hasOwnProperty, l = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, v = { key: !0, ref: !0, __self: !0, __source: !0 };
19
+ function c(f, u, d) {
20
+ var m, x = {}, y = null, T = null;
21
+ d !== void 0 && (y = "" + d), u.key !== void 0 && (y = "" + u.key), u.ref !== void 0 && (T = u.ref);
22
+ for (m in u)
23
+ i.call(u, m) && !v.hasOwnProperty(m) && (x[m] = u[m]);
24
+ if (f && f.defaultProps)
25
+ for (m in u = f.defaultProps, u)
26
+ x[m] === void 0 && (x[m] = u[m]);
27
+ return { $$typeof: r, type: f, key: y, ref: T, props: x, _owner: l.current };
28
28
  }
29
- return B.Fragment = a, B.jsx = T, B.jsxs = T, B;
29
+ return Q.Fragment = a, Q.jsx = c, Q.jsxs = c, Q;
30
30
  }
31
- var q = {};
31
+ var ee = {};
32
32
  /**
33
33
  * @license React
34
34
  * react-jsx-runtime.development.js
@@ -38,91 +38,91 @@ var q = {};
38
38
  * This source code is licensed under the MIT license found in the
39
39
  * LICENSE file in the root directory of this source tree.
40
40
  */
41
- var Me;
41
+ var He;
42
42
  function It() {
43
- return Me || (Me = 1, process.env.NODE_ENV !== "production" && function() {
44
- var t = y, r = Symbol.for("react.element"), a = Symbol.for("react.portal"), o = Symbol.for("react.fragment"), m = Symbol.for("react.strict_mode"), h = Symbol.for("react.profiler"), T = Symbol.for("react.provider"), x = Symbol.for("react.context"), p = Symbol.for("react.forward_ref"), g = Symbol.for("react.suspense"), v = Symbol.for("react.suspense_list"), C = Symbol.for("react.memo"), I = Symbol.for("react.lazy"), G = Symbol.for("react.offscreen"), me = Symbol.iterator, Je = "@@iterator";
45
- function Ge(e) {
46
- if (e === null || typeof e != "object")
43
+ return He || (He = 1, process.env.NODE_ENV !== "production" && function() {
44
+ var e = k, r = Symbol.for("react.element"), a = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), l = Symbol.for("react.strict_mode"), v = Symbol.for("react.profiler"), c = Symbol.for("react.provider"), f = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), m = Symbol.for("react.suspense_list"), x = Symbol.for("react.memo"), y = Symbol.for("react.lazy"), T = Symbol.for("react.offscreen"), O = Symbol.iterator, Z = "@@iterator";
45
+ function $(t) {
46
+ if (t === null || typeof t != "object")
47
47
  return null;
48
- var s = me && e[me] || e[Je];
48
+ var s = O && t[O] || t[Z];
49
49
  return typeof s == "function" ? s : null;
50
50
  }
51
- var D = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
52
- function S(e) {
51
+ var I = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
52
+ function E(t) {
53
53
  {
54
- for (var s = arguments.length, i = new Array(s > 1 ? s - 1 : 0), c = 1; c < s; c++)
55
- i[c - 1] = arguments[c];
56
- Ze("error", e, i);
54
+ for (var s = arguments.length, o = new Array(s > 1 ? s - 1 : 0), p = 1; p < s; p++)
55
+ o[p - 1] = arguments[p];
56
+ F("error", t, o);
57
57
  }
58
58
  }
59
- function Ze(e, s, i) {
59
+ function F(t, s, o) {
60
60
  {
61
- var c = D.ReactDebugCurrentFrame, f = c.getStackAddendum();
62
- f !== "" && (s += "%s", i = i.concat([f]));
63
- var _ = i.map(function(d) {
64
- return String(d);
61
+ var p = I.ReactDebugCurrentFrame, b = p.getStackAddendum();
62
+ b !== "" && (s += "%s", o = o.concat([b]));
63
+ var j = o.map(function(_) {
64
+ return String(_);
65
65
  });
66
- _.unshift("Warning: " + s), Function.prototype.apply.call(console[e], console, _);
66
+ j.unshift("Warning: " + s), Function.prototype.apply.call(console[t], console, j);
67
67
  }
68
68
  }
69
- var Ke = !1, Xe = !1, Qe = !1, et = !1, tt = !1, ve;
70
- ve = Symbol.for("react.module.reference");
71
- function rt(e) {
72
- return !!(typeof e == "string" || typeof e == "function" || e === o || e === h || tt || e === m || e === g || e === v || et || e === G || Ke || Xe || Qe || typeof e == "object" && e !== null && (e.$$typeof === I || e.$$typeof === C || e.$$typeof === T || e.$$typeof === x || e.$$typeof === p || // This needs to include all possible module reference object
69
+ var A = !1, Y = !1, U = !1, ne = !1, tt = !1, je;
70
+ je = Symbol.for("react.module.reference");
71
+ function rt(t) {
72
+ return !!(typeof t == "string" || typeof t == "function" || t === i || t === v || tt || t === l || t === d || t === m || ne || t === T || A || Y || U || typeof t == "object" && t !== null && (t.$$typeof === y || t.$$typeof === x || t.$$typeof === c || t.$$typeof === f || t.$$typeof === u || // This needs to include all possible module reference object
73
73
  // types supported by any Flight configuration anywhere since
74
74
  // we don't know which Flight build this will end up being used
75
75
  // with.
76
- e.$$typeof === ve || e.getModuleId !== void 0));
76
+ t.$$typeof === je || t.getModuleId !== void 0));
77
77
  }
78
- function nt(e, s, i) {
79
- var c = e.displayName;
80
- if (c)
81
- return c;
82
- var f = s.displayName || s.name || "";
83
- return f !== "" ? i + "(" + f + ")" : i;
78
+ function nt(t, s, o) {
79
+ var p = t.displayName;
80
+ if (p)
81
+ return p;
82
+ var b = s.displayName || s.name || "";
83
+ return b !== "" ? o + "(" + b + ")" : o;
84
84
  }
85
- function _e(e) {
86
- return e.displayName || "Context";
85
+ function ye(t) {
86
+ return t.displayName || "Context";
87
87
  }
88
- function P(e) {
89
- if (e == null)
88
+ function M(t) {
89
+ if (t == null)
90
90
  return null;
91
- 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")
92
- return e.displayName || e.name || null;
93
- if (typeof e == "string")
94
- return e;
95
- switch (e) {
96
- case o:
91
+ if (typeof t.tag == "number" && E("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof t == "function")
92
+ return t.displayName || t.name || null;
93
+ if (typeof t == "string")
94
+ return t;
95
+ switch (t) {
96
+ case i:
97
97
  return "Fragment";
98
98
  case a:
99
99
  return "Portal";
100
- case h:
100
+ case v:
101
101
  return "Profiler";
102
- case m:
102
+ case l:
103
103
  return "StrictMode";
104
- case g:
104
+ case d:
105
105
  return "Suspense";
106
- case v:
106
+ case m:
107
107
  return "SuspenseList";
108
108
  }
109
- if (typeof e == "object")
110
- switch (e.$$typeof) {
109
+ if (typeof t == "object")
110
+ switch (t.$$typeof) {
111
+ case f:
112
+ var s = t;
113
+ return ye(s) + ".Consumer";
114
+ case c:
115
+ var o = t;
116
+ return ye(o._context) + ".Provider";
117
+ case u:
118
+ return nt(t, t.render, "ForwardRef");
111
119
  case x:
112
- var s = e;
113
- return _e(s) + ".Consumer";
114
- case T:
115
- var i = e;
116
- return _e(i._context) + ".Provider";
117
- case p:
118
- return nt(e, e.render, "ForwardRef");
119
- case C:
120
- var c = e.displayName || null;
121
- return c !== null ? c : P(e.type) || "Memo";
122
- case I: {
123
- var f = e, _ = f._payload, d = f._init;
120
+ var p = t.displayName || null;
121
+ return p !== null ? p : M(t.type) || "Memo";
122
+ case y: {
123
+ var b = t, j = b._payload, _ = b._init;
124
124
  try {
125
- return P(d(_));
125
+ return M(_(j));
126
126
  } catch {
127
127
  return null;
128
128
  }
@@ -130,576 +130,576 @@ function It() {
130
130
  }
131
131
  return null;
132
132
  }
133
- var F = Object.assign, V = 0, he, pe, xe, ge, be, je, ye;
134
- function Ce() {
133
+ var B = Object.assign, K = 0, Se, Ce, ke, Ee, Re, we, Te;
134
+ function Ie() {
135
135
  }
136
- Ce.__reactDisabledLog = !0;
137
- function st() {
136
+ Ie.__reactDisabledLog = !0;
137
+ function at() {
138
138
  {
139
- if (V === 0) {
140
- he = console.log, pe = console.info, xe = console.warn, ge = console.error, be = console.group, je = console.groupCollapsed, ye = console.groupEnd;
141
- var e = {
139
+ if (K === 0) {
140
+ Se = console.log, Ce = console.info, ke = console.warn, Ee = console.error, Re = console.group, we = console.groupCollapsed, Te = console.groupEnd;
141
+ var t = {
142
142
  configurable: !0,
143
143
  enumerable: !0,
144
- value: Ce,
144
+ value: Ie,
145
145
  writable: !0
146
146
  };
147
147
  Object.defineProperties(console, {
148
- info: e,
149
- log: e,
150
- warn: e,
151
- error: e,
152
- group: e,
153
- groupCollapsed: e,
154
- groupEnd: e
148
+ info: t,
149
+ log: t,
150
+ warn: t,
151
+ error: t,
152
+ group: t,
153
+ groupCollapsed: t,
154
+ groupEnd: t
155
155
  });
156
156
  }
157
- V++;
157
+ K++;
158
158
  }
159
159
  }
160
- function at() {
160
+ function st() {
161
161
  {
162
- if (V--, V === 0) {
163
- var e = {
162
+ if (K--, K === 0) {
163
+ var t = {
164
164
  configurable: !0,
165
165
  enumerable: !0,
166
166
  writable: !0
167
167
  };
168
168
  Object.defineProperties(console, {
169
- log: F({}, e, {
170
- value: he
169
+ log: B({}, t, {
170
+ value: Se
171
171
  }),
172
- info: F({}, e, {
173
- value: pe
172
+ info: B({}, t, {
173
+ value: Ce
174
174
  }),
175
- warn: F({}, e, {
176
- value: xe
175
+ warn: B({}, t, {
176
+ value: ke
177
177
  }),
178
- error: F({}, e, {
179
- value: ge
178
+ error: B({}, t, {
179
+ value: Ee
180
180
  }),
181
- group: F({}, e, {
182
- value: be
181
+ group: B({}, t, {
182
+ value: Re
183
183
  }),
184
- groupCollapsed: F({}, e, {
185
- value: je
184
+ groupCollapsed: B({}, t, {
185
+ value: we
186
186
  }),
187
- groupEnd: F({}, e, {
188
- value: ye
187
+ groupEnd: B({}, t, {
188
+ value: Te
189
189
  })
190
190
  });
191
191
  }
192
- V < 0 && S("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
192
+ K < 0 && E("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
193
193
  }
194
194
  }
195
- var ne = D.ReactCurrentDispatcher, se;
196
- function Z(e, s, i) {
195
+ var fe = I.ReactCurrentDispatcher, de;
196
+ function ae(t, s, o) {
197
197
  {
198
- if (se === void 0)
198
+ if (de === void 0)
199
199
  try {
200
200
  throw Error();
201
- } catch (f) {
202
- var c = f.stack.trim().match(/\n( *(at )?)/);
203
- se = c && c[1] || "";
201
+ } catch (b) {
202
+ var p = b.stack.trim().match(/\n( *(at )?)/);
203
+ de = p && p[1] || "";
204
204
  }
205
205
  return `
206
- ` + se + e;
206
+ ` + de + t;
207
207
  }
208
208
  }
209
- var ae = !1, K;
209
+ var me = !1, se;
210
210
  {
211
- var ot = typeof WeakMap == "function" ? WeakMap : Map;
212
- K = new ot();
211
+ var it = typeof WeakMap == "function" ? WeakMap : Map;
212
+ se = new it();
213
213
  }
214
- function Se(e, s) {
215
- if (!e || ae)
214
+ function Pe(t, s) {
215
+ if (!t || me)
216
216
  return "";
217
217
  {
218
- var i = K.get(e);
219
- if (i !== void 0)
220
- return i;
218
+ var o = se.get(t);
219
+ if (o !== void 0)
220
+ return o;
221
221
  }
222
- var c;
223
- ae = !0;
224
- var f = Error.prepareStackTrace;
222
+ var p;
223
+ me = !0;
224
+ var b = Error.prepareStackTrace;
225
225
  Error.prepareStackTrace = void 0;
226
- var _;
227
- _ = ne.current, ne.current = null, st();
226
+ var j;
227
+ j = fe.current, fe.current = null, at();
228
228
  try {
229
229
  if (s) {
230
- var d = function() {
230
+ var _ = function() {
231
231
  throw Error();
232
232
  };
233
- if (Object.defineProperty(d.prototype, "props", {
233
+ if (Object.defineProperty(_.prototype, "props", {
234
234
  set: function() {
235
235
  throw Error();
236
236
  }
237
237
  }), typeof Reflect == "object" && Reflect.construct) {
238
238
  try {
239
- Reflect.construct(d, []);
240
- } catch (O) {
241
- c = O;
239
+ Reflect.construct(_, []);
240
+ } catch (D) {
241
+ p = D;
242
242
  }
243
- Reflect.construct(e, [], d);
243
+ Reflect.construct(t, [], _);
244
244
  } else {
245
245
  try {
246
- d.call();
247
- } catch (O) {
248
- c = O;
246
+ _.call();
247
+ } catch (D) {
248
+ p = D;
249
249
  }
250
- e.call(d.prototype);
250
+ t.call(_.prototype);
251
251
  }
252
252
  } else {
253
253
  try {
254
254
  throw Error();
255
- } catch (O) {
256
- c = O;
255
+ } catch (D) {
256
+ p = D;
257
257
  }
258
- e();
258
+ t();
259
259
  }
260
- } catch (O) {
261
- if (O && c && typeof O.stack == "string") {
262
- for (var u = O.stack.split(`
263
- `), E = c.stack.split(`
264
- `), b = u.length - 1, j = E.length - 1; b >= 1 && j >= 0 && u[b] !== E[j]; )
265
- j--;
266
- for (; b >= 1 && j >= 0; b--, j--)
267
- if (u[b] !== E[j]) {
268
- if (b !== 1 || j !== 1)
260
+ } catch (D) {
261
+ if (D && p && typeof D.stack == "string") {
262
+ for (var g = D.stack.split(`
263
+ `), R = p.stack.split(`
264
+ `), S = g.length - 1, C = R.length - 1; S >= 1 && C >= 0 && g[S] !== R[C]; )
265
+ C--;
266
+ for (; S >= 1 && C >= 0; S--, C--)
267
+ if (g[S] !== R[C]) {
268
+ if (S !== 1 || C !== 1)
269
269
  do
270
- if (b--, j--, j < 0 || u[b] !== E[j]) {
271
- var w = `
272
- ` + u[b].replace(" at new ", " at ");
273
- return e.displayName && w.includes("<anonymous>") && (w = w.replace("<anonymous>", e.displayName)), typeof e == "function" && K.set(e, w), w;
270
+ if (S--, C--, C < 0 || g[S] !== R[C]) {
271
+ var N = `
272
+ ` + g[S].replace(" at new ", " at ");
273
+ return t.displayName && N.includes("<anonymous>") && (N = N.replace("<anonymous>", t.displayName)), typeof t == "function" && se.set(t, N), N;
274
274
  }
275
- while (b >= 1 && j >= 0);
275
+ while (S >= 1 && C >= 0);
276
276
  break;
277
277
  }
278
278
  }
279
279
  } finally {
280
- ae = !1, ne.current = _, at(), Error.prepareStackTrace = f;
280
+ me = !1, fe.current = j, st(), Error.prepareStackTrace = b;
281
281
  }
282
- var L = e ? e.displayName || e.name : "", ze = L ? Z(L) : "";
283
- return typeof e == "function" && K.set(e, ze), ze;
282
+ var q = t ? t.displayName || t.name : "", Ve = q ? ae(q) : "";
283
+ return typeof t == "function" && se.set(t, Ve), Ve;
284
284
  }
285
- function it(e, s, i) {
286
- return Se(e, !1);
285
+ function ot(t, s, o) {
286
+ return Pe(t, !1);
287
287
  }
288
- function ct(e) {
289
- var s = e.prototype;
288
+ function ct(t) {
289
+ var s = t.prototype;
290
290
  return !!(s && s.isReactComponent);
291
291
  }
292
- function X(e, s, i) {
293
- if (e == null)
292
+ function ie(t, s, o) {
293
+ if (t == null)
294
294
  return "";
295
- if (typeof e == "function")
296
- return Se(e, ct(e));
297
- if (typeof e == "string")
298
- return Z(e);
299
- switch (e) {
300
- case g:
301
- return Z("Suspense");
302
- case v:
303
- return Z("SuspenseList");
295
+ if (typeof t == "function")
296
+ return Pe(t, ct(t));
297
+ if (typeof t == "string")
298
+ return ae(t);
299
+ switch (t) {
300
+ case d:
301
+ return ae("Suspense");
302
+ case m:
303
+ return ae("SuspenseList");
304
304
  }
305
- if (typeof e == "object")
306
- switch (e.$$typeof) {
307
- case p:
308
- return it(e.render);
309
- case C:
310
- return X(e.type, s, i);
311
- case I: {
312
- var c = e, f = c._payload, _ = c._init;
305
+ if (typeof t == "object")
306
+ switch (t.$$typeof) {
307
+ case u:
308
+ return ot(t.render);
309
+ case x:
310
+ return ie(t.type, s, o);
311
+ case y: {
312
+ var p = t, b = p._payload, j = p._init;
313
313
  try {
314
- return X(_(f), s, i);
314
+ return ie(j(b), s, o);
315
315
  } catch {
316
316
  }
317
317
  }
318
318
  }
319
319
  return "";
320
320
  }
321
- var Q = Object.prototype.hasOwnProperty, Ee = {}, Re = D.ReactDebugCurrentFrame;
322
- function ee(e) {
323
- if (e) {
324
- var s = e._owner, i = X(e.type, e._source, s ? s.type : null);
325
- Re.setExtraStackFrame(i);
321
+ var oe = Object.prototype.hasOwnProperty, Ne = {}, Oe = I.ReactDebugCurrentFrame;
322
+ function ce(t) {
323
+ if (t) {
324
+ var s = t._owner, o = ie(t.type, t._source, s ? s.type : null);
325
+ Oe.setExtraStackFrame(o);
326
326
  } else
327
- Re.setExtraStackFrame(null);
327
+ Oe.setExtraStackFrame(null);
328
328
  }
329
- function lt(e, s, i, c, f) {
329
+ function lt(t, s, o, p, b) {
330
330
  {
331
- var _ = Function.call.bind(Q);
332
- for (var d in e)
333
- if (_(e, d)) {
334
- var u = void 0;
331
+ var j = Function.call.bind(oe);
332
+ for (var _ in t)
333
+ if (j(t, _)) {
334
+ var g = void 0;
335
335
  try {
336
- if (typeof e[d] != "function") {
337
- var E = Error((c || "React class") + ": " + i + " type `" + d + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[d] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
338
- throw E.name = "Invariant Violation", E;
336
+ if (typeof t[_] != "function") {
337
+ var R = Error((p || "React class") + ": " + o + " type `" + _ + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof t[_] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
338
+ throw R.name = "Invariant Violation", R;
339
339
  }
340
- u = e[d](s, d, c, i, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
341
- } catch (b) {
342
- u = b;
340
+ g = t[_](s, _, p, o, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
341
+ } catch (S) {
342
+ g = S;
343
343
  }
344
- u && !(u instanceof Error) && (ee(f), S("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", c || "React class", i, d, typeof u), ee(null)), u instanceof Error && !(u.message in Ee) && (Ee[u.message] = !0, ee(f), S("Failed %s type: %s", i, u.message), ee(null));
344
+ g && !(g instanceof Error) && (ce(b), 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).", p || "React class", o, _, typeof g), ce(null)), g instanceof Error && !(g.message in Ne) && (Ne[g.message] = !0, ce(b), E("Failed %s type: %s", o, g.message), ce(null));
345
345
  }
346
346
  }
347
347
  }
348
348
  var ut = Array.isArray;
349
- function oe(e) {
350
- return ut(e);
349
+ function pe(t) {
350
+ return ut(t);
351
351
  }
352
- function dt(e) {
352
+ function ft(t) {
353
353
  {
354
- var s = typeof Symbol == "function" && Symbol.toStringTag, i = s && e[Symbol.toStringTag] || e.constructor.name || "Object";
355
- return i;
354
+ var s = typeof Symbol == "function" && Symbol.toStringTag, o = s && t[Symbol.toStringTag] || t.constructor.name || "Object";
355
+ return o;
356
356
  }
357
357
  }
358
- function ft(e) {
358
+ function dt(t) {
359
359
  try {
360
- return ke(e), !1;
360
+ return $e(t), !1;
361
361
  } catch {
362
362
  return !0;
363
363
  }
364
364
  }
365
- function ke(e) {
366
- return "" + e;
365
+ function $e(t) {
366
+ return "" + t;
367
367
  }
368
- function we(e) {
369
- if (ft(e))
370
- return S("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", dt(e)), ke(e);
368
+ function Fe(t) {
369
+ if (dt(t))
370
+ return E("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", ft(t)), $e(t);
371
371
  }
372
- var U = D.ReactCurrentOwner, mt = {
372
+ var X = I.ReactCurrentOwner, mt = {
373
373
  key: !0,
374
374
  ref: !0,
375
375
  __self: !0,
376
376
  __source: !0
377
- }, Te, Ie, ie;
378
- ie = {};
379
- function vt(e) {
380
- if (Q.call(e, "ref")) {
381
- var s = Object.getOwnPropertyDescriptor(e, "ref").get;
377
+ }, Me, De, ve;
378
+ ve = {};
379
+ function pt(t) {
380
+ if (oe.call(t, "ref")) {
381
+ var s = Object.getOwnPropertyDescriptor(t, "ref").get;
382
382
  if (s && s.isReactWarning)
383
383
  return !1;
384
384
  }
385
- return e.ref !== void 0;
385
+ return t.ref !== void 0;
386
386
  }
387
- function _t(e) {
388
- if (Q.call(e, "key")) {
389
- var s = Object.getOwnPropertyDescriptor(e, "key").get;
387
+ function vt(t) {
388
+ if (oe.call(t, "key")) {
389
+ var s = Object.getOwnPropertyDescriptor(t, "key").get;
390
390
  if (s && s.isReactWarning)
391
391
  return !1;
392
392
  }
393
- return e.key !== void 0;
393
+ return t.key !== void 0;
394
394
  }
395
- function ht(e, s) {
396
- if (typeof e.ref == "string" && U.current && s && U.current.stateNode !== s) {
397
- var i = P(U.current.type);
398
- ie[i] || (S('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', P(U.current.type), e.ref), ie[i] = !0);
395
+ function ht(t, s) {
396
+ if (typeof t.ref == "string" && X.current && s && X.current.stateNode !== s) {
397
+ var o = M(X.current.type);
398
+ ve[o] || (E('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', M(X.current.type), t.ref), ve[o] = !0);
399
399
  }
400
400
  }
401
- function pt(e, s) {
401
+ function gt(t, s) {
402
402
  {
403
- var i = function() {
404
- Te || (Te = !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)", s));
403
+ var o = function() {
404
+ Me || (Me = !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)", s));
405
405
  };
406
- i.isReactWarning = !0, Object.defineProperty(e, "key", {
407
- get: i,
406
+ o.isReactWarning = !0, Object.defineProperty(t, "key", {
407
+ get: o,
408
408
  configurable: !0
409
409
  });
410
410
  }
411
411
  }
412
- function xt(e, s) {
412
+ function _t(t, s) {
413
413
  {
414
- var i = function() {
415
- Ie || (Ie = !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)", s));
414
+ var o = function() {
415
+ De || (De = !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)", s));
416
416
  };
417
- i.isReactWarning = !0, Object.defineProperty(e, "ref", {
418
- get: i,
417
+ o.isReactWarning = !0, Object.defineProperty(t, "ref", {
418
+ get: o,
419
419
  configurable: !0
420
420
  });
421
421
  }
422
422
  }
423
- var gt = function(e, s, i, c, f, _, d) {
424
- var u = {
423
+ var xt = function(t, s, o, p, b, j, _) {
424
+ var g = {
425
425
  // This tag allows us to uniquely identify this as a React Element
426
426
  $$typeof: r,
427
427
  // Built-in properties that belong on the element
428
- type: e,
428
+ type: t,
429
429
  key: s,
430
- ref: i,
431
- props: d,
430
+ ref: o,
431
+ props: _,
432
432
  // Record the component responsible for creating this element.
433
- _owner: _
433
+ _owner: j
434
434
  };
435
- return u._store = {}, Object.defineProperty(u._store, "validated", {
435
+ return g._store = {}, Object.defineProperty(g._store, "validated", {
436
436
  configurable: !1,
437
437
  enumerable: !1,
438
438
  writable: !0,
439
439
  value: !1
440
- }), Object.defineProperty(u, "_self", {
440
+ }), Object.defineProperty(g, "_self", {
441
441
  configurable: !1,
442
442
  enumerable: !1,
443
443
  writable: !1,
444
- value: c
445
- }), Object.defineProperty(u, "_source", {
444
+ value: p
445
+ }), Object.defineProperty(g, "_source", {
446
446
  configurable: !1,
447
447
  enumerable: !1,
448
448
  writable: !1,
449
- value: f
450
- }), Object.freeze && (Object.freeze(u.props), Object.freeze(u)), u;
449
+ value: b
450
+ }), Object.freeze && (Object.freeze(g.props), Object.freeze(g)), g;
451
451
  };
452
- function bt(e, s, i, c, f) {
452
+ function bt(t, s, o, p, b) {
453
453
  {
454
- var _, d = {}, u = null, E = null;
455
- i !== void 0 && (we(i), u = "" + i), _t(s) && (we(s.key), u = "" + s.key), vt(s) && (E = s.ref, ht(s, f));
456
- for (_ in s)
457
- Q.call(s, _) && !mt.hasOwnProperty(_) && (d[_] = s[_]);
458
- if (e && e.defaultProps) {
459
- var b = e.defaultProps;
460
- for (_ in b)
461
- d[_] === void 0 && (d[_] = b[_]);
454
+ var j, _ = {}, g = null, R = null;
455
+ o !== void 0 && (Fe(o), g = "" + o), vt(s) && (Fe(s.key), g = "" + s.key), pt(s) && (R = s.ref, ht(s, b));
456
+ for (j in s)
457
+ oe.call(s, j) && !mt.hasOwnProperty(j) && (_[j] = s[j]);
458
+ if (t && t.defaultProps) {
459
+ var S = t.defaultProps;
460
+ for (j in S)
461
+ _[j] === void 0 && (_[j] = S[j]);
462
462
  }
463
- if (u || E) {
464
- var j = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
465
- u && pt(d, j), E && xt(d, j);
463
+ if (g || R) {
464
+ var C = typeof t == "function" ? t.displayName || t.name || "Unknown" : t;
465
+ g && gt(_, C), R && _t(_, C);
466
466
  }
467
- return gt(e, u, E, f, c, U.current, d);
467
+ return xt(t, g, R, b, p, X.current, _);
468
468
  }
469
469
  }
470
- var ce = D.ReactCurrentOwner, Pe = D.ReactDebugCurrentFrame;
471
- function M(e) {
472
- if (e) {
473
- var s = e._owner, i = X(e.type, e._source, s ? s.type : null);
474
- Pe.setExtraStackFrame(i);
470
+ var he = I.ReactCurrentOwner, Ae = I.ReactDebugCurrentFrame;
471
+ function H(t) {
472
+ if (t) {
473
+ var s = t._owner, o = ie(t.type, t._source, s ? s.type : null);
474
+ Ae.setExtraStackFrame(o);
475
475
  } else
476
- Pe.setExtraStackFrame(null);
476
+ Ae.setExtraStackFrame(null);
477
477
  }
478
- var le;
479
- le = !1;
480
- function ue(e) {
481
- return typeof e == "object" && e !== null && e.$$typeof === r;
478
+ var ge;
479
+ ge = !1;
480
+ function _e(t) {
481
+ return typeof t == "object" && t !== null && t.$$typeof === r;
482
482
  }
483
- function Oe() {
483
+ function Le() {
484
484
  {
485
- if (ce.current) {
486
- var e = P(ce.current.type);
487
- if (e)
485
+ if (he.current) {
486
+ var t = M(he.current.type);
487
+ if (t)
488
488
  return `
489
489
 
490
- Check the render method of \`` + e + "`.";
490
+ Check the render method of \`` + t + "`.";
491
491
  }
492
492
  return "";
493
493
  }
494
494
  }
495
- function jt(e) {
495
+ function jt(t) {
496
496
  {
497
- if (e !== void 0) {
498
- var s = e.fileName.replace(/^.*[\\\/]/, ""), i = e.lineNumber;
497
+ if (t !== void 0) {
498
+ var s = t.fileName.replace(/^.*[\\\/]/, ""), o = t.lineNumber;
499
499
  return `
500
500
 
501
- Check your code at ` + s + ":" + i + ".";
501
+ Check your code at ` + s + ":" + o + ".";
502
502
  }
503
503
  return "";
504
504
  }
505
505
  }
506
- var $e = {};
507
- function yt(e) {
506
+ var ze = {};
507
+ function yt(t) {
508
508
  {
509
- var s = Oe();
509
+ var s = Le();
510
510
  if (!s) {
511
- var i = typeof e == "string" ? e : e.displayName || e.name;
512
- i && (s = `
511
+ var o = typeof t == "string" ? t : t.displayName || t.name;
512
+ o && (s = `
513
513
 
514
- Check the top-level render call using <` + i + ">.");
514
+ Check the top-level render call using <` + o + ">.");
515
515
  }
516
516
  return s;
517
517
  }
518
518
  }
519
- function Ae(e, s) {
519
+ function Ye(t, s) {
520
520
  {
521
- if (!e._store || e._store.validated || e.key != null)
521
+ if (!t._store || t._store.validated || t.key != null)
522
522
  return;
523
- e._store.validated = !0;
524
- var i = yt(s);
525
- if ($e[i])
523
+ t._store.validated = !0;
524
+ var o = yt(s);
525
+ if (ze[o])
526
526
  return;
527
- $e[i] = !0;
528
- var c = "";
529
- e && e._owner && e._owner !== ce.current && (c = " It was passed a child from " + P(e._owner.type) + "."), M(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.', i, c), M(null);
527
+ ze[o] = !0;
528
+ var p = "";
529
+ t && t._owner && t._owner !== he.current && (p = " It was passed a child from " + M(t._owner.type) + "."), H(t), 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, p), H(null);
530
530
  }
531
531
  }
532
- function Fe(e, s) {
532
+ function Be(t, s) {
533
533
  {
534
- if (typeof e != "object")
534
+ if (typeof t != "object")
535
535
  return;
536
- if (oe(e))
537
- for (var i = 0; i < e.length; i++) {
538
- var c = e[i];
539
- ue(c) && Ae(c, s);
536
+ if (pe(t))
537
+ for (var o = 0; o < t.length; o++) {
538
+ var p = t[o];
539
+ _e(p) && Ye(p, s);
540
540
  }
541
- else if (ue(e))
542
- e._store && (e._store.validated = !0);
543
- else if (e) {
544
- var f = Ge(e);
545
- if (typeof f == "function" && f !== e.entries)
546
- for (var _ = f.call(e), d; !(d = _.next()).done; )
547
- ue(d.value) && Ae(d.value, s);
541
+ else if (_e(t))
542
+ t._store && (t._store.validated = !0);
543
+ else if (t) {
544
+ var b = $(t);
545
+ if (typeof b == "function" && b !== t.entries)
546
+ for (var j = b.call(t), _; !(_ = j.next()).done; )
547
+ _e(_.value) && Ye(_.value, s);
548
548
  }
549
549
  }
550
550
  }
551
- function Ct(e) {
551
+ function St(t) {
552
552
  {
553
- var s = e.type;
553
+ var s = t.type;
554
554
  if (s == null || typeof s == "string")
555
555
  return;
556
- var i;
556
+ var o;
557
557
  if (typeof s == "function")
558
- i = s.propTypes;
559
- else if (typeof s == "object" && (s.$$typeof === p || // Note: Memo only checks outer props here.
558
+ o = s.propTypes;
559
+ else if (typeof s == "object" && (s.$$typeof === u || // Note: Memo only checks outer props here.
560
560
  // Inner props are checked in the reconciler.
561
- s.$$typeof === C))
562
- i = s.propTypes;
561
+ s.$$typeof === x))
562
+ o = s.propTypes;
563
563
  else
564
564
  return;
565
- if (i) {
566
- var c = P(s);
567
- lt(i, e.props, "prop", c, e);
568
- } else if (s.PropTypes !== void 0 && !le) {
569
- le = !0;
570
- var f = P(s);
571
- S("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", f || "Unknown");
565
+ if (o) {
566
+ var p = M(s);
567
+ lt(o, t.props, "prop", p, t);
568
+ } else if (s.PropTypes !== void 0 && !ge) {
569
+ ge = !0;
570
+ var b = M(s);
571
+ E("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", b || "Unknown");
572
572
  }
573
- typeof s.getDefaultProps == "function" && !s.getDefaultProps.isReactClassApproved && S("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
573
+ typeof s.getDefaultProps == "function" && !s.getDefaultProps.isReactClassApproved && E("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
574
574
  }
575
575
  }
576
- function St(e) {
576
+ function Ct(t) {
577
577
  {
578
- for (var s = Object.keys(e.props), i = 0; i < s.length; i++) {
579
- var c = s[i];
580
- if (c !== "children" && c !== "key") {
581
- M(e), S("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", c), M(null);
578
+ for (var s = Object.keys(t.props), o = 0; o < s.length; o++) {
579
+ var p = s[o];
580
+ if (p !== "children" && p !== "key") {
581
+ H(t), E("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", p), H(null);
582
582
  break;
583
583
  }
584
584
  }
585
- e.ref !== null && (M(e), S("Invalid attribute `ref` supplied to `React.Fragment`."), M(null));
585
+ t.ref !== null && (H(t), E("Invalid attribute `ref` supplied to `React.Fragment`."), H(null));
586
586
  }
587
587
  }
588
- function Ne(e, s, i, c, f, _) {
588
+ function We(t, s, o, p, b, j) {
589
589
  {
590
- var d = rt(e);
591
- if (!d) {
592
- var u = "";
593
- (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (u += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
594
- var E = jt(f);
595
- E ? u += E : u += Oe();
596
- var b;
597
- e === null ? b = "null" : oe(e) ? b = "array" : e !== void 0 && e.$$typeof === r ? (b = "<" + (P(e.type) || "Unknown") + " />", u = " Did you accidentally export a JSX literal instead of a component?") : b = 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", b, u);
590
+ var _ = rt(t);
591
+ if (!_) {
592
+ var g = "";
593
+ (t === void 0 || typeof t == "object" && t !== null && Object.keys(t).length === 0) && (g += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
594
+ var R = jt(b);
595
+ R ? g += R : g += Le();
596
+ var S;
597
+ t === null ? S = "null" : pe(t) ? S = "array" : t !== void 0 && t.$$typeof === r ? (S = "<" + (M(t.type) || "Unknown") + " />", g = " Did you accidentally export a JSX literal instead of a component?") : S = typeof t, E("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", S, g);
598
598
  }
599
- var j = bt(e, s, i, f, _);
600
- if (j == null)
601
- return j;
602
- if (d) {
603
- var w = s.children;
604
- if (w !== void 0)
605
- if (c)
606
- if (oe(w)) {
607
- for (var L = 0; L < w.length; L++)
608
- Fe(w[L], e);
609
- Object.freeze && Object.freeze(w);
599
+ var C = bt(t, s, o, b, j);
600
+ if (C == null)
601
+ return C;
602
+ if (_) {
603
+ var N = s.children;
604
+ if (N !== void 0)
605
+ if (p)
606
+ if (pe(N)) {
607
+ for (var q = 0; q < N.length; q++)
608
+ Be(N[q], t);
609
+ Object.freeze && Object.freeze(N);
610
610
  } else
611
- 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.");
611
+ 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.");
612
612
  else
613
- Fe(w, e);
613
+ Be(N, t);
614
614
  }
615
- return e === o ? St(j) : Ct(j), j;
615
+ return t === i ? Ct(C) : St(C), C;
616
616
  }
617
617
  }
618
- function Et(e, s, i) {
619
- return Ne(e, s, i, !0);
618
+ function kt(t, s, o) {
619
+ return We(t, s, o, !0);
620
620
  }
621
- function Rt(e, s, i) {
622
- return Ne(e, s, i, !1);
621
+ function Et(t, s, o) {
622
+ return We(t, s, o, !1);
623
623
  }
624
- var kt = Rt, wt = Et;
625
- q.Fragment = o, q.jsx = kt, q.jsxs = wt;
626
- }()), q;
624
+ var Rt = Et, wt = kt;
625
+ ee.Fragment = i, ee.jsx = Rt, ee.jsxs = wt;
626
+ }()), ee;
627
627
  }
628
- process.env.NODE_ENV === "production" ? de.exports = Tt() : de.exports = It();
629
- var n = de.exports;
630
- const Pt = "_notice_820sc_2", Ot = "_error_820sc_9", $t = "_success_820sc_12", At = "_remark_820sc_15", Ft = "_copy_820sc_18", Nt = {
628
+ process.env.NODE_ENV === "production" ? xe.exports = Tt() : xe.exports = It();
629
+ var n = xe.exports;
630
+ const Pt = "_notice_820sc_2", Nt = "_error_820sc_9", Ot = "_success_820sc_12", $t = "_remark_820sc_15", Ft = "_copy_820sc_18", Mt = {
631
631
  notice: Pt,
632
- error: Ot,
633
- success: $t,
634
- remark: At,
632
+ error: Nt,
633
+ success: Ot,
634
+ remark: $t,
635
635
  copy: Ft,
636
636
  "show-notice": "_show-notice_820sc_1",
637
637
  "hide-notice": "_hide-notice_820sc_1"
638
638
  };
639
- let A = {};
640
- function zt() {
641
- let [t, r] = y.useState([]);
642
- return A.set = (a) => {
643
- r([...t, a]);
644
- }, A.del = (a) => {
645
- r(t.filter((o) => o.key !== a));
646
- }, t.length === 0 ? "" : /* @__PURE__ */ n.jsx("ul", { className: Nt.notice, children: t.map((a) => a.item) });
639
+ let z = {};
640
+ function Dt() {
641
+ let [e, r] = k.useState([]);
642
+ return z.set = (a) => {
643
+ r([...e, a]);
644
+ }, z.del = (a) => {
645
+ r(e.filter((i) => i.key !== a));
646
+ }, e.length === 0 ? "" : /* @__PURE__ */ n.jsx("ul", { className: Mt.notice, children: e.map((a) => a.item) });
647
647
  }
648
- function J({ data: t }) {
649
- let [r, a] = y.useState("show");
650
- y.useEffect(() => {
648
+ function re({ data: e }) {
649
+ let [r, a] = k.useState("show");
650
+ k.useEffect(() => {
651
651
  setTimeout(function() {
652
652
  a("hide");
653
653
  }, 1800), setTimeout(function() {
654
- A.del(t.key);
654
+ z.del(e.key);
655
655
  }, 2500);
656
- }, [t.key]);
657
- let o, m;
658
- switch (t.type) {
656
+ }, [e.key]);
657
+ let i, l;
658
+ switch (e.type) {
659
659
  case "error":
660
- o = /* @__PURE__ */ n.jsx(N.error, {}), m = "Ошибка:";
660
+ i = /* @__PURE__ */ n.jsx(W.error, {}), l = "Ошибка:";
661
661
  break;
662
662
  case "success":
663
- o = /* @__PURE__ */ n.jsx(N.success, {}), m = "Информация:";
663
+ i = /* @__PURE__ */ n.jsx(W.success, {}), l = "Информация:";
664
664
  break;
665
665
  case "copy":
666
- o = /* @__PURE__ */ n.jsx(N.success, {}), m = "Копирование:";
666
+ i = /* @__PURE__ */ n.jsx(W.success, {}), l = "Копирование:";
667
667
  break;
668
668
  case "remark":
669
- o = /* @__PURE__ */ n.jsx(N.success, {}), m = "Подсказка:";
669
+ i = /* @__PURE__ */ n.jsx(W.success, {}), l = "Подсказка:";
670
670
  break;
671
671
  default:
672
- o = /* @__PURE__ */ n.jsx(N.success, {}), m = "Предупреждение:";
672
+ i = /* @__PURE__ */ n.jsx(W.success, {}), l = "Предупреждение:";
673
673
  break;
674
674
  }
675
- return /* @__PURE__ */ n.jsxs("li", { className: "item " + t.type, "data-status": r, children: [
676
- o,
677
- /* @__PURE__ */ n.jsx("b", { children: m }),
678
- /* @__PURE__ */ n.jsx("p", { children: t.text })
675
+ return /* @__PURE__ */ n.jsxs("li", { className: "item " + e.type, "data-status": r, children: [
676
+ i,
677
+ /* @__PURE__ */ n.jsx("b", { children: l }),
678
+ /* @__PURE__ */ n.jsx("p", { children: e.text })
679
679
  ] });
680
680
  }
681
- function Dt(t) {
682
- let r = Date.now(), a = { key: r, ...t };
683
- A.set({ item: /* @__PURE__ */ n.jsx(J, { data: a }, r), key: r });
681
+ function At(e) {
682
+ let r = Date.now(), a = { key: r, ...e };
683
+ z.set({ item: /* @__PURE__ */ n.jsx(re, { data: a }, r), key: r });
684
684
  }
685
- function Mt(t) {
686
- let r = Date.now(), a = { key: r, text: t, type: "error" };
687
- A.set({ item: /* @__PURE__ */ n.jsx(J, { data: a }, r), key: r });
685
+ function Lt(e) {
686
+ let r = Date.now(), a = { key: r, text: e, type: "error" };
687
+ z.set({ item: /* @__PURE__ */ n.jsx(re, { data: a }, r), key: r });
688
688
  }
689
- function Lt(t) {
690
- let r = Date.now(), a = { key: r, text: t, type: "success" };
691
- A.set({ item: /* @__PURE__ */ n.jsx(J, { data: a }, r), key: r });
689
+ function zt(e) {
690
+ let r = Date.now(), a = { key: r, text: e, type: "success" };
691
+ z.set({ item: /* @__PURE__ */ n.jsx(re, { data: a }, r), key: r });
692
692
  }
693
- function Wt(t) {
694
- let r = Date.now(), a = { key: r, text: t, type: "remark" };
695
- A.set({ item: /* @__PURE__ */ n.jsx(J, { data: a }, r), key: r });
693
+ function Yt(e) {
694
+ let r = Date.now(), a = { key: r, text: e, type: "remark" };
695
+ z.set({ item: /* @__PURE__ */ n.jsx(re, { data: a }, r), key: r });
696
696
  }
697
- function Yt(t) {
698
- let r = Date.now(), a = { key: r, text: t, type: "copy" };
699
- A.set({ item: /* @__PURE__ */ n.jsx(J, { data: a }, r), key: r });
697
+ function Bt(e) {
698
+ let r = Date.now(), a = { key: r, text: e, type: "copy" };
699
+ z.set({ item: /* @__PURE__ */ n.jsx(re, { data: a }, r), key: r });
700
700
  }
701
- const N = {};
702
- N.error = () => /* @__PURE__ */ n.jsxs("svg", { viewBox: "0 0 24 24", fill: "none", children: [
701
+ const W = {};
702
+ W.error = () => /* @__PURE__ */ n.jsxs("svg", { viewBox: "0 0 24 24", fill: "none", children: [
703
703
  /* @__PURE__ */ n.jsx(
704
704
  "path",
705
705
  {
@@ -715,7 +715,7 @@ N.error = () => /* @__PURE__ */ n.jsxs("svg", { viewBox: "0 0 24 24", fill: "non
715
715
  }
716
716
  )
717
717
  ] });
718
- N.success = () => /* @__PURE__ */ n.jsxs("svg", { viewBox: "0 0 24 24", fill: "none", children: [
718
+ W.success = () => /* @__PURE__ */ n.jsxs("svg", { viewBox: "0 0 24 24", fill: "none", children: [
719
719
  /* @__PURE__ */ n.jsx(
720
720
  "path",
721
721
  {
@@ -731,169 +731,169 @@ N.success = () => /* @__PURE__ */ n.jsxs("svg", { viewBox: "0 0 24 24", fill: "n
731
731
  }
732
732
  )
733
733
  ] });
734
- const Vt = "_alerts_1e9y0_1", Ut = "_menuAnimation_1e9y0_1", Bt = "_menuItemAnimation_1e9y0_1", qt = "_allert_1e9y0_111", Ht = {
735
- alerts: Vt,
736
- menuAnimation: Ut,
737
- menuItemAnimation: Bt,
734
+ const Wt = "_alerts_1e9y0_1", Vt = "_menuAnimation_1e9y0_1", Ut = "_menuItemAnimation_1e9y0_1", Ht = "_allert_1e9y0_111", qt = {
735
+ alerts: Wt,
736
+ menuAnimation: Vt,
737
+ menuItemAnimation: Ut,
738
738
  "--body": "_--body_1e9y0_103",
739
- allert: qt,
739
+ allert: Ht,
740
740
  "--form": "_--form_1e9y0_111"
741
741
  };
742
- let H = {};
743
- function Jt() {
744
- let [t, r] = y.useState("");
745
- return H.set = (a) => r(a), H.del = () => r(""), /* @__PURE__ */ n.jsx(n.Fragment, { children: t });
742
+ let te = {};
743
+ function Gt() {
744
+ let [e, r] = k.useState("");
745
+ return te.set = (a) => r(a), te.del = () => r(""), /* @__PURE__ */ n.jsx(n.Fragment, { children: e });
746
746
  }
747
- const Gt = ({ data: t, callback: r }) => (t.button = t.button === void 0 ? "Подтвердить" : t.button, /* @__PURE__ */ n.jsxs("div", { className: Ht.alerts, children: [
747
+ const Jt = ({ data: e, callback: r }) => (e.button = e.button === void 0 ? "Подтвердить" : e.button, /* @__PURE__ */ n.jsxs("div", { className: qt.alerts, children: [
748
748
  /* @__PURE__ */ n.jsxs("dl", { children: [
749
- /* @__PURE__ */ n.jsx("dt", { children: t.title }),
750
- /* @__PURE__ */ n.jsx("dd", { children: t.text }),
749
+ /* @__PURE__ */ n.jsx("dt", { children: e.title }),
750
+ /* @__PURE__ */ n.jsx("dd", { children: e.text }),
751
751
  /* @__PURE__ */ n.jsx("ul", { children: /* @__PURE__ */ n.jsx(
752
752
  "button",
753
753
  {
754
- "data-color": t.color || "blue",
754
+ "data-color": e.color || "blue",
755
755
  onClick: () => {
756
- r(), H.del();
756
+ r(), te.del();
757
757
  },
758
- children: t.button
758
+ children: e.button
759
759
  }
760
760
  ) })
761
761
  ] }),
762
- /* @__PURE__ */ n.jsx("div", { className: "--body", onClick: H.del })
762
+ /* @__PURE__ */ n.jsx("div", { className: "--body", onClick: te.del })
763
763
  ] }));
764
- function Zt(t, r) {
765
- H.set(/* @__PURE__ */ n.jsx(Gt, { data: t, callback: r }));
764
+ function Zt(e, r) {
765
+ te.set(/* @__PURE__ */ n.jsx(Jt, { data: e, callback: r }));
766
766
  }
767
- function Kt({ children: t }) {
768
- return /* @__PURE__ */ n.jsx("div", { className: "l", children: /* @__PURE__ */ n.jsx("ul", { children: t }) });
767
+ function Kt({ children: e }) {
768
+ return /* @__PURE__ */ n.jsx("div", { className: "l", children: /* @__PURE__ */ n.jsx("ul", { children: e }) });
769
769
  }
770
- function Xt({ children: t }) {
771
- return /* @__PURE__ */ n.jsx("div", { className: "s", children: t });
770
+ function Xt({ children: e }) {
771
+ return /* @__PURE__ */ n.jsx("div", { className: "s", children: e });
772
772
  }
773
773
  const Qt = ({
774
- children: t,
774
+ children: e,
775
775
  disabled: r,
776
776
  label: a,
777
- onClick: o
777
+ onClick: i
778
778
  }) => {
779
- const m = (h) => {
780
- r || o && o(h);
779
+ const l = (v) => {
780
+ r || i && i(v);
781
781
  };
782
- return /* @__PURE__ */ n.jsx("button", { disabled: r, onClick: m, children: a });
783
- }, er = "_white_6ax6z_14", tr = "_black_6ax6z_26", rr = "_shake_6ax6z_1", nr = "_modal_6ax6z_73", sr = "_o_6ax6z_83", ar = "_w_6ax6z_14", or = "_h_6ax6z_106", ir = "_l_6ax6z_120", cr = "_t_6ax6z_158", lr = "_m_6ax6z_73", ur = "_x_6ax6z_166", dr = "_s_6ax6z_176", fr = "_c_6ax6z_181", mr = "_f_6ax6z_186", vr = "_btn_6ax6z_229", _r = "_g_6ax6z_242", hr = "_confirm_6ax6z_320", pr = "_cancel_6ax6z_325", xr = "_disabled_6ax6z_330", gr = "_active_6ax6z_387", br = "_coincidence_6ax6z_393", $ = {
782
+ return /* @__PURE__ */ n.jsx("button", { disabled: r, onClick: l, children: a });
783
+ }, er = "_white_1iomo_14", tr = "_black_1iomo_26", rr = "_shake_1iomo_1", nr = "_modal_1iomo_73", ar = "_o_1iomo_83", sr = "_w_1iomo_14", ir = "_h_1iomo_106", or = "_l_1iomo_120", cr = "_t_1iomo_158", lr = "_m_1iomo_73", ur = "_x_1iomo_166", fr = "_s_1iomo_176", dr = "_c_1iomo_181", mr = "_f_1iomo_186", pr = "_btn_1iomo_229", vr = "_g_1iomo_242", hr = "_confirm_1iomo_320", gr = "_cancel_1iomo_325", _r = "_disabled_1iomo_330", xr = "_active_1iomo_387", br = "_coincidence_1iomo_393", L = {
784
784
  white: er,
785
785
  black: tr,
786
786
  shake: rr,
787
787
  modal: nr,
788
- o: sr,
789
- w: ar,
790
- h: or,
791
- l: ir,
788
+ o: ar,
789
+ w: sr,
790
+ h: ir,
791
+ l: or,
792
792
  t: cr,
793
793
  m: lr,
794
794
  x: ur,
795
- s: dr,
796
- c: fr,
795
+ s: fr,
796
+ c: dr,
797
797
  f: mr,
798
- btn: vr,
799
- g: _r,
800
- "size-a": "_size-a_6ax6z_294",
801
- "size-s": "_size-s_6ax6z_298",
802
- "size-m": "_size-m_6ax6z_302",
803
- "size-l": "_size-l_6ax6z_306",
804
- "size-x": "_size-x_6ax6z_310",
805
- "size-f": "_size-f_6ax6z_314",
798
+ btn: pr,
799
+ g: vr,
800
+ "size-a": "_size-a_1iomo_294",
801
+ "size-s": "_size-s_1iomo_298",
802
+ "size-m": "_size-m_1iomo_302",
803
+ "size-l": "_size-l_1iomo_306",
804
+ "size-x": "_size-x_1iomo_310",
805
+ "size-f": "_size-f_1iomo_314",
806
806
  confirm: hr,
807
- cancel: pr,
808
- disabled: xr,
809
- await: "_await_6ax6z_337",
810
- active: gr,
807
+ cancel: gr,
808
+ disabled: _r,
809
+ await: "_await_1iomo_337",
810
+ active: xr,
811
811
  coincidence: br
812
812
  };
813
- let W = {};
814
- const jr = ({ config: t }) => {
815
- let [r, a] = y.useState([]);
816
- return W.x = () => {
813
+ let G = {};
814
+ const jr = ({ config: e }) => {
815
+ let [r, a] = k.useState([]);
816
+ return G.x = () => {
817
817
  a([]);
818
- }, W.config = t, W.add = (o) => {
819
- a([...r, o]);
820
- }, /* @__PURE__ */ n.jsx(n.Fragment, { children: r.map((o) => o) });
818
+ }, G.config = e, G.add = (i) => {
819
+ a([...r, i]);
820
+ }, /* @__PURE__ */ n.jsx(n.Fragment, { children: r.map((i) => i) });
821
821
  }, yr = ({
822
- children: t,
822
+ children: e,
823
823
  title: r,
824
824
  button: a,
825
- tabs: o,
826
- size: m = "m",
827
- menu: h
825
+ tabs: i,
826
+ size: l = "m",
827
+ menu: v
828
828
  }) => {
829
- const [T, x] = y.useState(!0), p = y.useRef(), g = (C) => {
829
+ const [c, f] = k.useState(!0), u = k.useRef(), d = (x) => {
830
830
  if (a && a.onClick)
831
- return a.onClick({ closed: x, disabled: C });
832
- }, v = () => {
833
- p.current.setAttribute("shake", !0), setTimeout(() => {
834
- p.current.setAttribute("shake", !1);
831
+ return a.onClick({ closed: f, disabled: x });
832
+ }, m = () => {
833
+ u.current.setAttribute("shake", !0), setTimeout(() => {
834
+ u.current.setAttribute("shake", !1);
835
835
  }, 1e3);
836
836
  };
837
- return /* @__PURE__ */ n.jsx(n.Fragment, { children: T ? /* @__PURE__ */ n.jsxs(
837
+ return /* @__PURE__ */ n.jsx(n.Fragment, { children: c ? /* @__PURE__ */ n.jsxs(
838
838
  "div",
839
839
  {
840
- className: `${$.modal} ${$.white}`,
840
+ className: `${L.modal} ${L.white}`,
841
841
  children: [
842
- /* @__PURE__ */ n.jsx("div", { className: $.o, onClick: v }),
843
- /* @__PURE__ */ n.jsxs("div", { className: $.w, ref: p, children: [
844
- /* @__PURE__ */ n.jsxs("div", { className: $.h, children: [
845
- /* @__PURE__ */ n.jsx("div", { className: $.t, children: r }),
846
- /* @__PURE__ */ n.jsxs("div", { className: $.m, children: [
847
- o && /* @__PURE__ */ n.jsx("nav", { children: o.map((C, I) => /* @__PURE__ */ n.jsx(
842
+ /* @__PURE__ */ n.jsx("div", { className: L.o, onClick: m }),
843
+ /* @__PURE__ */ n.jsxs("div", { className: L.w, ref: u, children: [
844
+ /* @__PURE__ */ n.jsxs("div", { className: L.h, children: [
845
+ /* @__PURE__ */ n.jsx("div", { className: L.t, children: r }),
846
+ /* @__PURE__ */ n.jsxs("div", { className: L.m, children: [
847
+ i && /* @__PURE__ */ n.jsx("nav", { children: i.map((x, y) => /* @__PURE__ */ n.jsx(
848
848
  "span",
849
849
  {
850
- onClick: C.onClick,
851
- className: C.active ? "active" : "",
852
- children: C.name
850
+ onClick: x.onClick,
851
+ className: x.active ? "active" : "",
852
+ children: x.name
853
853
  },
854
- I
854
+ y
855
855
  )) }),
856
- h
856
+ v
857
857
  ] }),
858
858
  /* @__PURE__ */ n.jsx(
859
859
  "div",
860
860
  {
861
- className: $.x,
861
+ className: L.x,
862
862
  onClick: () => {
863
- x(!1);
863
+ f(!1);
864
864
  },
865
- children: "x"
865
+ children: /* @__PURE__ */ n.jsx("svg", { viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ n.jsx("path", { d: "M19.0005 4.99988L5.00045 18.9999M5.00045 4.99988L19.0005 18.9999", stroke: "currentColor", "stroke-width": "2.5", "stroke-linecap": "round", "stroke-linejoin": "round" }) })
866
866
  }
867
867
  )
868
868
  ] }),
869
- t,
869
+ e,
870
870
  a !== void 0 ? /* @__PURE__ */ n.jsx(
871
871
  Qt,
872
872
  {
873
873
  label: String(a.name),
874
- onClick: g
874
+ onClick: d
875
875
  }
876
876
  ) : ""
877
877
  ] })
878
878
  ]
879
879
  }
880
880
  ) : "" });
881
- }, Cr = (t) => {
882
- W.add(/* @__PURE__ */ n.jsx(Sr, { children: t }, String(Date.now())));
883
- }, Sr = ({ children: t }) => /* @__PURE__ */ n.jsx(n.Fragment, { children: t }), Er = ({ type: t, name: r, params: a }) => {
884
- let [o, m] = y.useState(null);
885
- return y.useEffect(() => {
886
- W.config(t, r, a, m);
887
- }, [a.id]), /* @__PURE__ */ n.jsx(n.Fragment, { children: o });
888
- }, Rr = (t, r, a) => {
889
- W.config(t, r, a);
890
- }, kr = { List: Kt, Scroll: Xt, Init: jr, Main: yr, Add: Cr, Icon: Er, Open: Rr };
891
- let R = {};
892
- const l = {}, k = {}, Le = {};
893
- function wr(t, r) {
894
- if (R = t, localStorage.getItem("ssid")) {
895
- let o = sessionStorage.getItem("page");
896
- o ? (o = R.deCode(o), l.id = o.id, l.tab = o.tab, l.page = o.page, l.module = o.module, l.time = o.time, l.payment = { active: !0 }, l.module_admin = o.module_admin) : (l.id = 0, l.tab = "", l.page = "Main", l.module = l.module || "M05");
881
+ }, Sr = (e) => {
882
+ G.add(/* @__PURE__ */ n.jsx(Cr, { children: e }, String(Date.now())));
883
+ }, Cr = ({ children: e }) => /* @__PURE__ */ n.jsx(n.Fragment, { children: e }), kr = ({ type: e, name: r, params: a }) => {
884
+ let [i, l] = k.useState(null);
885
+ return k.useEffect(() => {
886
+ G.config(e, r, a, l);
887
+ }, [a.id]), /* @__PURE__ */ n.jsx(n.Fragment, { children: i });
888
+ }, Er = (e, r, a) => {
889
+ G.config(e, r, a);
890
+ }, Rr = { List: Kt, Scroll: Xt, Init: jr, Main: yr, Add: Sr, Icon: kr, Open: Er };
891
+ let w = {};
892
+ const h = {}, P = {}, qe = {};
893
+ function wr(e, r) {
894
+ if (w = e, localStorage.getItem("ssid")) {
895
+ let i = sessionStorage.getItem("page");
896
+ i ? (i = w.deCode(i), h.id = i.id, h.tab = i.tab, h.page = i.page, h.module = i.module, h.time = i.time, h.payment = { active: !0 }, h.module_admin = i.module_admin) : (h.id = 0, h.tab = "", h.page = "Main", h.module = h.module || "M05");
897
897
  } else
898
898
  [
899
899
  "ssid",
@@ -908,10 +908,10 @@ function wr(t, r) {
908
908
  "port",
909
909
  "mark",
910
910
  "sort"
911
- ].forEach((o) => localStorage.removeItem(o)), ["page"].forEach((o) => sessionStorage.removeItem(o)), l.id = 0, l.tab = "", l.page = "Auth", l.module = "M00";
911
+ ].forEach((i) => localStorage.removeItem(i)), ["page"].forEach((i) => sessionStorage.removeItem(i)), h.id = 0, h.tab = "", h.page = "Auth", h.module = "M00";
912
912
  return r;
913
913
  }
914
- function Y() {
914
+ function J() {
915
915
  [
916
916
  "ssid",
917
917
  "menu",
@@ -925,167 +925,167 @@ function Y() {
925
925
  "port",
926
926
  "mark",
927
927
  "sort"
928
- ].forEach((t) => localStorage.removeItem(t)), ["page"].forEach((t) => sessionStorage.removeItem(t)), window.location.reload();
928
+ ].forEach((e) => localStorage.removeItem(e)), ["page"].forEach((e) => sessionStorage.removeItem(e)), window.location.reload();
929
929
  }
930
- function Tr(t) {
931
- t = t.split("/"), l.page = "Main", l.module = t[0], l.tab = t[1], l.id = 0, sessionStorage.setItem(
930
+ function Tr(e) {
931
+ e = e.split("/"), h.page = "Main", h.module = e[0], h.tab = e[1], h.id = 0, sessionStorage.setItem(
932
932
  "page",
933
- R.enCode({
934
- module: l.module,
935
- page: l.page,
936
- tab: l.tab,
937
- id: l.id,
933
+ w.enCode({
934
+ module: h.module,
935
+ page: h.page,
936
+ tab: h.tab,
937
+ id: h.id,
938
938
  time: (/* @__PURE__ */ new Date()).getTime()
939
939
  })
940
- ), k.page(l.page);
940
+ ), P.page(h.page);
941
941
  }
942
- function Ir(t) {
943
- return localStorage.setItem("ssid", t);
942
+ function Ir(e) {
943
+ return localStorage.setItem("ssid", e);
944
944
  }
945
945
  function Pr() {
946
- let t = localStorage.getItem("ssid");
947
- return t !== "" && t !== "undefined" && t !== null ? localStorage.getItem("ssid") : (Y(), !1);
946
+ let e = localStorage.getItem("ssid");
947
+ return e !== "" && e !== "undefined" && e !== null ? localStorage.getItem("ssid") : (J(), !1);
948
948
  }
949
- function Or(t) {
950
- return localStorage.setItem("auth", t);
949
+ function Nr(e) {
950
+ return localStorage.setItem("auth", e);
951
951
  }
952
- function $r() {
953
- let t = localStorage.getItem("auth");
954
- return t !== "" && t !== "undefined" && t !== null ? t : (Y(), !1);
952
+ function Or() {
953
+ let e = localStorage.getItem("auth");
954
+ return e !== "" && e !== "undefined" && e !== null ? e : (J(), !1);
955
955
  }
956
- function Ar() {
957
- const [t, r] = y.useState(Ue()), a = (o) => {
958
- r(o);
956
+ function $r() {
957
+ const [e, r] = k.useState(Ke()), a = (i) => {
958
+ r(i);
959
959
  };
960
- return k.page = a, [t];
960
+ return P.page = a, [e];
961
961
  }
962
- function Fr(t) {
963
- l.page = t, sessionStorage.setItem("page", R.enCode(l)), k.page(t);
962
+ function Fr(e) {
963
+ h.page = e, sessionStorage.setItem("page", w.enCode(h)), P.page(e);
964
964
  }
965
- function Ue() {
966
- return l.page;
965
+ function Ke() {
966
+ return h.page;
967
967
  }
968
- function Nr() {
969
- const [t, r] = y.useState(Be()), a = (o) => {
970
- r(o);
968
+ function Mr() {
969
+ const [e, r] = k.useState(Xe()), a = (i) => {
970
+ r(i);
971
971
  };
972
- return k.module = a, [t];
972
+ return P.module = a, [e];
973
973
  }
974
- function zr(t, r) {
975
- l.module = t, sessionStorage.setItem("page", R.enCode(l)), r !== "false" && k.module(t);
974
+ function Dr(e, r) {
975
+ h.module = e, sessionStorage.setItem("page", w.enCode(h)), r !== "false" && P.module(e);
976
976
  }
977
- function Be() {
978
- return l.module;
977
+ function Xe() {
978
+ return h.module;
979
979
  }
980
- function Dr(t) {
981
- const [r, a] = y.useState(te() || t), o = (m) => {
982
- a(m);
980
+ function Ar(e) {
981
+ const [r, a] = k.useState(le() || e), i = (l) => {
982
+ a(l);
983
983
  };
984
- return k.tabs = o, [r];
984
+ return P.tabs = i, [r];
985
985
  }
986
- function Mr(t, r) {
987
- l.tab = t, sessionStorage.setItem("page", R.enCode(l)), r !== "false" && k.tabs(t);
986
+ function Lr(e, r) {
987
+ h.tab = e, sessionStorage.setItem("page", w.enCode(h)), r !== "false" && P.tabs(e);
988
988
  }
989
- function te() {
990
- return l.tab;
989
+ function le() {
990
+ return h.tab;
991
991
  }
992
- function Lr() {
993
- const [t, r] = y.useState(l.id), a = (o) => {
994
- r(o);
992
+ function zr() {
993
+ const [e, r] = k.useState(h.id), a = (i) => {
994
+ r(i);
995
995
  };
996
- return k.id = a, [t];
996
+ return P.id = a, [e];
997
997
  }
998
- function Wr(t) {
999
- k.id = t;
998
+ function Yr(e) {
999
+ P.id = e;
1000
1000
  }
1001
- function Yr(t, r) {
1002
- l.id = t, sessionStorage.setItem("page", R.enCode(l)), r !== "false" && k.id(t);
1001
+ function Br(e, r) {
1002
+ h.id = e, sessionStorage.setItem("page", w.enCode(h)), r !== "false" && P.id(e);
1003
1003
  }
1004
- function Vr() {
1005
- return l.id;
1004
+ function Wr() {
1005
+ return h.id;
1006
1006
  }
1007
- function Ur(t, r, a) {
1008
- l.module = t, l.id = a, l.tab = r, sessionStorage.setItem("page", R.enCode(l)), k.module(t), k.tabs(r);
1007
+ function Vr(e, r, a) {
1008
+ h.module = e, h.id = a, h.tab = r, sessionStorage.setItem("page", w.enCode(h)), P.module(e), P.tabs(r);
1009
1009
  }
1010
- function Br(t, r) {
1011
- Le.data[t] = r, localStorage.setItem("sett", R.enCode(Le.data));
1010
+ function Ur(e, r) {
1011
+ qe.data[e] = r, localStorage.setItem("sett", w.enCode(qe.data));
1012
1012
  }
1013
- function qr(t) {
1013
+ function Hr(e) {
1014
1014
  let r = localStorage.getItem("sett");
1015
- return r === null ? {} : (r = R.deCode(r), r ? t !== void 0 ? r[t] : r : Y());
1015
+ return r === null ? {} : (r = w.deCode(r), r ? e !== void 0 ? r[e] : r : J());
1016
1016
  }
1017
- function Hr(t) {
1018
- localStorage.setItem("menu", R.enCode({ data: t }));
1017
+ function qr(e) {
1018
+ localStorage.setItem("menu", w.enCode({ data: e }));
1019
1019
  }
1020
- function Jr() {
1021
- let t = localStorage.getItem("menu");
1022
- if (t !== "" && t !== "undefined" && t !== null) {
1023
- let r = localStorage.getItem("menu"), a = R.deCode(r);
1024
- a || Y();
1025
- const o = (h, T) => {
1026
- let x = T + "";
1027
- for (; x.length < h; )
1028
- x = "0" + x;
1029
- return x;
1020
+ function Gr() {
1021
+ let e = localStorage.getItem("menu");
1022
+ if (e !== "" && e !== "undefined" && e !== null) {
1023
+ let r = localStorage.getItem("menu"), a = w.deCode(r);
1024
+ a || J();
1025
+ const i = (v, c) => {
1026
+ let f = c + "";
1027
+ for (; f.length < v; )
1028
+ f = "0" + f;
1029
+ return f;
1030
1030
  };
1031
- return a.data.split(",").map((h) => "M" + o(2, h));
1031
+ return a.data.split(",").map((v) => "M" + i(2, v));
1032
1032
  } else
1033
- return Y(), !1;
1033
+ return J(), !1;
1034
1034
  }
1035
- function Gr(t) {
1036
- k.sort = t;
1035
+ function Jr(e) {
1036
+ P.sort = e;
1037
1037
  }
1038
- function qe(t) {
1038
+ function Qe(e) {
1039
1039
  let r = localStorage.getItem("sort");
1040
- r = r === null ? {} : R.deCode(r), r[te()] = t, localStorage.setItem("sort", R.enCode(r));
1040
+ r = r === null ? {} : w.deCode(r), r[le()] = e, localStorage.setItem("sort", w.enCode(r));
1041
1041
  }
1042
- function fe() {
1043
- let t = localStorage.getItem("sort");
1044
- return t === null ? {} : (t = R.deCode(t), t = t[te()], t = t === void 0 ? { active: 1, sort: "<" } : t, t);
1042
+ function be() {
1043
+ let e = localStorage.getItem("sort");
1044
+ return e === null ? {} : (e = w.deCode(e), e = e[le()], e = e === void 0 ? { active: 1, sort: "<" } : e, e);
1045
1045
  }
1046
- const Zr = ({ children: t, config: r, crypto: a, ...o }) => wr(a, /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
1047
- /* @__PURE__ */ n.jsx(kr.Init, { config: r.modal }),
1048
- /* @__PURE__ */ n.jsx(zt, {}),
1049
- /* @__PURE__ */ n.jsx(Jt, {}),
1050
- t
1051
- ] })), Kr = ({ children: t, ...r }) => /* @__PURE__ */ n.jsx("menu", { children: t }), Xr = ({ children: t, ...r }) => /* @__PURE__ */ n.jsxs("header", { children: [
1046
+ const Zr = ({ children: e, config: r, crypto: a, ...i }) => wr(a, /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
1047
+ /* @__PURE__ */ n.jsx(Rr.Init, { config: r.modal }),
1048
+ /* @__PURE__ */ n.jsx(Dt, {}),
1049
+ /* @__PURE__ */ n.jsx(Gt, {}),
1050
+ e
1051
+ ] })), Kr = ({ children: e, ...r }) => /* @__PURE__ */ n.jsx("menu", { children: e }), Xr = ({ children: e, ...r }) => /* @__PURE__ */ n.jsxs("header", { children: [
1052
1052
  "xz",
1053
- t
1053
+ e
1054
1054
  ] }), Qr = "_payment_1lxfv_1", en = {
1055
1055
  payment: Qr
1056
1056
  };
1057
1057
  function tn() {
1058
- let [t, r] = y.useState({});
1059
- return !t.active && !t.payment ? "" : /* @__PURE__ */ n.jsx("div", { className: en.payment, children: "Истек срок оплаты! Доступ доступен до 16.04.2024" });
1058
+ let [e, r] = k.useState({});
1059
+ return !e.active && !e.payment ? "" : /* @__PURE__ */ n.jsx("div", { className: en.payment, children: "Истек срок оплаты! Доступ доступен до 16.04.2024" });
1060
1060
  }
1061
- const zn = ({ children: t, ...r }) => {
1061
+ const Kn = ({ children: e, ...r }) => {
1062
1062
  let a = {};
1063
- return a.enCode = (o) => JSON.stringify(o).toString(), a.deCode = (o) => JSON.parse(o), /* @__PURE__ */ n.jsxs("div", { className: "app", children: [
1063
+ return a.enCode = (i) => JSON.stringify(i).toString(), a.deCode = (i) => JSON.parse(i), /* @__PURE__ */ n.jsxs("div", { className: "app", children: [
1064
1064
  /* @__PURE__ */ n.jsx(tn, {}),
1065
1065
  /* @__PURE__ */ n.jsx(Kr, {}),
1066
1066
  /* @__PURE__ */ n.jsx(Xr, {}),
1067
1067
  /* @__PURE__ */ n.jsx(Zr, { config: { modal: {} }, crypto: a }),
1068
- t
1068
+ e
1069
1069
  ] });
1070
- }, rn = ({ list: t, onClick: r, active: a, size: o, view: m }) => /* @__PURE__ */ n.jsx("nav", { children: /* @__PURE__ */ n.jsx("ul", { className: [o, m].join(" "), children: t.map((h) => /* @__PURE__ */ n.jsx(
1070
+ }, rn = ({ list: e, onClick: r, active: a, size: i, view: l }) => /* @__PURE__ */ n.jsx("nav", { children: /* @__PURE__ */ n.jsx("ul", { className: [i, l].join(" "), children: e.map((v) => /* @__PURE__ */ n.jsx(
1071
1071
  nn,
1072
1072
  {
1073
1073
  onClick: r,
1074
1074
  active: a,
1075
- label: h.label,
1076
- link: h.link
1075
+ label: v.label,
1076
+ link: v.link
1077
1077
  },
1078
- h.link
1079
- )) }) }), nn = ({ onClick: t, label: r, link: a, active: o }) => /* @__PURE__ */ n.jsx("li", { "tabs-active": String(o === a), onClick: () => t(a), children: r });
1078
+ v.link
1079
+ )) }) }), nn = ({ onClick: e, label: r, link: a, active: i }) => /* @__PURE__ */ n.jsx("li", { "tabs-active": String(i === a), onClick: () => e(a), children: r });
1080
1080
  rn.defaultProps = { size: "M", view: "H" };
1081
- const sn = ({
1082
- title: t = "",
1081
+ const an = ({
1082
+ title: e = "",
1083
1083
  button: r,
1084
1084
  description: a = "",
1085
- children: o
1085
+ children: i
1086
1086
  }) => /* @__PURE__ */ n.jsxs("fieldset", { children: [
1087
- t && /* @__PURE__ */ n.jsxs("legend", { children: [
1088
- t,
1087
+ e && /* @__PURE__ */ n.jsxs("legend", { children: [
1088
+ e,
1089
1089
  r && /* @__PURE__ */ n.jsx(
1090
1090
  "div",
1091
1091
  {
@@ -1096,76 +1096,76 @@ const sn = ({
1096
1096
  ),
1097
1097
  " "
1098
1098
  ] }),
1099
- /* @__PURE__ */ n.jsx("ul", { children: o }),
1099
+ /* @__PURE__ */ n.jsx("ul", { children: i }),
1100
1100
  a && /* @__PURE__ */ n.jsx("article", { children: a })
1101
- ] }), an = "_setting_1r0pc_2", on = {
1102
- setting: an
1103
- }, cn = ({ children: t }) => /* @__PURE__ */ n.jsx("div", { className: on.setting, children: t }), ln = ({ label: t, children: r }) => {
1104
- let [a, o] = y.useState(!1);
1101
+ ] }), sn = "_setting_1r0pc_2", on = {
1102
+ setting: sn
1103
+ }, cn = ({ children: e }) => /* @__PURE__ */ n.jsx("div", { className: on.setting, children: e }), ln = ({ label: e, children: r }) => {
1104
+ let [a, i] = k.useState(!1);
1105
1105
  return /* @__PURE__ */ n.jsxs("li", { "data-item": "accordion", children: [
1106
- /* @__PURE__ */ n.jsxs("dl", { onClick: () => o(!a), children: [
1107
- /* @__PURE__ */ n.jsx("dt", { children: t }),
1106
+ /* @__PURE__ */ n.jsxs("dl", { onClick: () => i(!a), children: [
1107
+ /* @__PURE__ */ n.jsx("dt", { children: e }),
1108
1108
  /* @__PURE__ */ n.jsx("dd", { children: /* @__PURE__ */ n.jsx("div", { "data-close": String(a) }) })
1109
1109
  ] }),
1110
1110
  a && /* @__PURE__ */ n.jsx("div", { children: r })
1111
1111
  ] });
1112
- }, un = ({ label: t, onClick: r, button: a }) => /* @__PURE__ */ n.jsx("li", { children: /* @__PURE__ */ n.jsxs("dl", { children: [
1113
- /* @__PURE__ */ n.jsx("dt", { children: t }),
1112
+ }, un = ({ label: e, onClick: r, button: a }) => /* @__PURE__ */ n.jsx("li", { children: /* @__PURE__ */ n.jsxs("dl", { children: [
1113
+ /* @__PURE__ */ n.jsx("dt", { children: e }),
1114
1114
  /* @__PURE__ */ n.jsx("dd", { role: "button", onClick: () => r(), children: a })
1115
- ] }) }), dn = ({ active: t, onClick: r }) => (console.log(t), t = typeof t == "number" ? !!t : t, /* @__PURE__ */ n.jsx(
1115
+ ] }) }), fn = ({ active: e, onClick: r }) => (console.log(e), e = typeof e == "number" ? !!e : e, /* @__PURE__ */ n.jsx(
1116
1116
  "div",
1117
1117
  {
1118
1118
  role: "switch",
1119
1119
  onClick: () => {
1120
1120
  console.log("Wewew"), r();
1121
1121
  },
1122
- "aria-checked": t ? "true" : "false"
1122
+ "aria-checked": e ? "true" : "false"
1123
1123
  }
1124
- )), fn = { Switch: dn }, mn = ({ label: t, onClick: r, active: a }) => /* @__PURE__ */ n.jsx("li", { children: /* @__PURE__ */ n.jsxs("dl", { children: [
1125
- /* @__PURE__ */ n.jsx("dt", { children: t }),
1126
- /* @__PURE__ */ n.jsx("dd", { children: /* @__PURE__ */ n.jsx(fn.Switch, { onClick: r, active: a }) })
1127
- ] }) }), vn = ({ label: t, active: r, options: a }) => /* @__PURE__ */ n.jsx("li", { children: /* @__PURE__ */ n.jsxs("dl", { children: [
1128
- /* @__PURE__ */ n.jsx("dt", { children: t }),
1124
+ )), dn = { Switch: fn }, mn = ({ label: e, onClick: r, active: a }) => /* @__PURE__ */ n.jsx("li", { children: /* @__PURE__ */ n.jsxs("dl", { children: [
1125
+ /* @__PURE__ */ n.jsx("dt", { children: e }),
1126
+ /* @__PURE__ */ n.jsx("dd", { children: /* @__PURE__ */ n.jsx(dn.Switch, { onClick: r, active: a }) })
1127
+ ] }) }), pn = ({ label: e, active: r, options: a }) => /* @__PURE__ */ n.jsx("li", { children: /* @__PURE__ */ n.jsxs("dl", { children: [
1128
+ /* @__PURE__ */ n.jsx("dt", { children: e }),
1129
1129
  /* @__PURE__ */ n.jsx("dd", { role: "info", children: r })
1130
- ] }) }), _n = ({ label: t, info: r }) => /* @__PURE__ */ n.jsx("li", { children: /* @__PURE__ */ n.jsxs("dl", { children: [
1131
- /* @__PURE__ */ n.jsx("dt", { children: t }),
1130
+ ] }) }), vn = ({ label: e, info: r }) => /* @__PURE__ */ n.jsx("li", { children: /* @__PURE__ */ n.jsxs("dl", { children: [
1131
+ /* @__PURE__ */ n.jsx("dt", { children: e }),
1132
1132
  /* @__PURE__ */ n.jsx("dd", { role: "info", children: r })
1133
- ] }) }), hn = ({ label: t, children: r }) => /* @__PURE__ */ n.jsx("li", { children: /* @__PURE__ */ n.jsxs("dl", { children: [
1134
- /* @__PURE__ */ n.jsx("dt", { children: t }),
1133
+ ] }) }), hn = ({ label: e, children: r }) => /* @__PURE__ */ n.jsx("li", { children: /* @__PURE__ */ n.jsxs("dl", { children: [
1134
+ /* @__PURE__ */ n.jsx("dt", { children: e }),
1135
1135
  /* @__PURE__ */ n.jsx("dd", { children: r })
1136
- ] }) }), pn = ({ label: t, children: r }) => /* @__PURE__ */ n.jsx("li", { children: /* @__PURE__ */ n.jsxs("dl", { children: [
1137
- /* @__PURE__ */ n.jsx("dt", { children: t }),
1136
+ ] }) }), gn = ({ label: e, children: r }) => /* @__PURE__ */ n.jsx("li", { children: /* @__PURE__ */ n.jsxs("dl", { children: [
1137
+ /* @__PURE__ */ n.jsx("dt", { children: e }),
1138
1138
  /* @__PURE__ */ n.jsx("dd", { children: r })
1139
- ] }) }), xn = { Accordion: ln, Button: un, Switch: mn, Info: _n, Select: vn, Component: hn, Node: pn };
1140
- function He({ list: t, onClick: r, active: a, size: o, view: m }) {
1141
- return /* @__PURE__ */ n.jsx("nav", { children: /* @__PURE__ */ n.jsx("ul", { className: [o, m].join(" "), children: t.map((h) => /* @__PURE__ */ n.jsx(
1142
- gn,
1139
+ ] }) }), _n = { Accordion: ln, Button: un, Switch: mn, Info: vn, Select: pn, Component: hn, Node: gn };
1140
+ function et({ list: e, onClick: r, active: a, size: i, view: l }) {
1141
+ return /* @__PURE__ */ n.jsx("nav", { children: /* @__PURE__ */ n.jsx("ul", { className: [i, l].join(" "), children: e.map((v) => /* @__PURE__ */ n.jsx(
1142
+ xn,
1143
1143
  {
1144
1144
  onClick: r,
1145
1145
  active: a,
1146
- label: h.label,
1147
- link: h.link
1146
+ label: v.label,
1147
+ link: v.link
1148
1148
  },
1149
- h.link
1149
+ v.link
1150
1150
  )) }) });
1151
1151
  }
1152
- const gn = ({ onClick: t, label: r, link: a, active: o }) => /* @__PURE__ */ n.jsx("li", { "tabs-active": String(o === a), onClick: () => t(a), children: r });
1153
- He.defaultProps = { size: "M", view: "H" };
1154
- const Dn = { Section: sn, Main: cn, Item: xn, Tabs: He }, bn = "_h_1or29_1", jn = "_t_1or29_10", yn = "_s_1or29_30", Cn = "_u_1or29_39", Sn = "_o_1or29_46", En = "_l_1or29_55", Rn = "_hh_1or29_62", z = {
1152
+ const xn = ({ onClick: e, label: r, link: a, active: i }) => /* @__PURE__ */ n.jsx("li", { "tabs-active": String(i === a), onClick: () => e(a), children: r });
1153
+ et.defaultProps = { size: "M", view: "H" };
1154
+ const Xn = { Section: an, Main: cn, Item: _n, Tabs: et }, bn = "_h_158b4_1", jn = "_t_158b4_11", yn = "_s_158b4_31", Sn = "_u_158b4_40", Cn = "_o_158b4_47", kn = "_l_158b4_56", En = "_hh_158b4_63", V = {
1155
1155
  h: bn,
1156
1156
  t: jn,
1157
1157
  s: yn,
1158
- u: Cn,
1159
- o: Sn,
1160
- l: En,
1161
- hh: Rn
1162
- }, We = ({ title: t, children: r }) => /* @__PURE__ */ n.jsxs("div", { className: z.h, children: [
1163
- /* @__PURE__ */ n.jsx("div", { className: z.t, children: t }),
1158
+ u: Sn,
1159
+ o: Cn,
1160
+ l: kn,
1161
+ hh: En
1162
+ }, Ge = ({ title: e, children: r }) => /* @__PURE__ */ n.jsxs("div", { className: V.h, children: [
1163
+ /* @__PURE__ */ n.jsx("div", { className: V.t, children: e }),
1164
1164
  r
1165
- ] }), kn = ({ children: t, title: r }) => /* @__PURE__ */ n.jsxs("div", { className: z.o, children: [
1166
- r && /* @__PURE__ */ n.jsx("div", { className: z.hh, children: r }),
1167
- t
1168
- ] }), wn = ({ children: t }) => /* @__PURE__ */ n.jsx("div", { className: z.u, children: t }), Ye = ({ children: t }) => /* @__PURE__ */ n.jsx("div", { className: z.s, children: t }), Ve = ({ children: t, ...r }) => /* @__PURE__ */ n.jsx("div", { className: z.l, children: t }), Mn = { Header: We, Section: Ye, List: Ve, U: wn, L: Ve, O: kn, S: Ye, H: We }, Ln = { Send: Dt, Error: Mt, Remark: Wt, Success: Lt, Copy: Yt }, Wn = { Send: Zt };
1165
+ ] }), Rn = ({ children: e, title: r }) => /* @__PURE__ */ n.jsxs("div", { className: V.o, children: [
1166
+ r && /* @__PURE__ */ n.jsx("div", { className: V.hh, children: r }),
1167
+ e
1168
+ ] }), wn = ({ children: e }) => /* @__PURE__ */ n.jsx("div", { className: V.u, children: e }), Je = ({ children: e }) => /* @__PURE__ */ n.jsx("div", { className: V.s, children: e }), Ze = ({ children: e, ...r }) => /* @__PURE__ */ n.jsx("div", { className: V.l, children: e }), Qn = { Header: Ge, Section: Je, List: Ze, U: wn, L: Ze, O: Rn, S: Je, H: Ge }, ea = { Send: At, Error: Lt, Remark: Yt, Success: zt, Copy: Bt }, ta = { Send: Zt };
1169
1169
  function Tn() {
1170
1170
  return /* @__PURE__ */ n.jsx("svg", { viewBox: "0 0 462.86 359.96", children: /* @__PURE__ */ n.jsx(
1171
1171
  "path",
@@ -1175,14 +1175,16 @@ function Tn() {
1175
1175
  }
1176
1176
  ) });
1177
1177
  }
1178
- const Yn = { Logo: Tn }, Vn = { setSSID: Ir, getSSID: Pr, Logaut: Y, setAUTH: Or, getAUTH: $r, Start: Tr, setSetting: Br, getSetting: qr, setMenu: Hr, getMenu: Jr, useSort: Gr, setSort: qe, getSort: fe }, Un = { Path: Ur, setPage: Fr, getPage: Ue, usePage: Ar, setModule: zr, getModule: Be, useModule: Nr, setTabs: Mr, getTabs: te, useTabs: Dr, useId: Lr, setId: Yr, subId: Wr, getId: Vr };
1179
- let re = {};
1180
- function In(t, r) {
1178
+ const ra = { Logo: Tn }, na = { setSSID: Ir, getSSID: Pr, Logaut: J, setAUTH: Nr, getAUTH: Or, Start: Tr, setSetting: Ur, getSetting: Hr, setMenu: qr, getMenu: Gr, useSort: Jr, setSort: Qe, getSort: be }, aa = { Path: Vr, setPage: Fr, getPage: Ke, usePage: $r, setModule: Dr, getModule: Xe, useModule: Mr, setTabs: Lr, getTabs: le, useTabs: Ar, useId: zr, setId: Br, subId: Yr, getId: Wr }, In = "_sort_1yrvt_1", Pn = {
1179
+ sort: In
1180
+ };
1181
+ let ue = {};
1182
+ function Nn(e, r) {
1181
1183
  switch (r.type) {
1182
1184
  case "active":
1183
1185
  let a = "<";
1184
- return t.active === r.data && (a = t.sort === "<" ? ">" : "<"), re.get({ active: r.data, sort: a }, !1), qe({ active: r.data, sort: a }), {
1185
- ...t,
1186
+ return e.active === r.data && (a = e.sort === "<" ? ">" : "<"), ue.get({ active: r.data, sort: a }, !1), Qe({ active: r.data, sort: a }), {
1187
+ ...e,
1186
1188
  active: r.data,
1187
1189
  sort: a
1188
1190
  };
@@ -1190,80 +1192,484 @@ function In(t, r) {
1190
1192
  throw new Error();
1191
1193
  }
1192
1194
  }
1193
- function Pn() {
1194
- const [t, r] = y.useReducer(
1195
- In,
1196
- fe() === void 0 ? { active: 1, sort: "<" } : fe()
1195
+ function On() {
1196
+ const [e, r] = k.useReducer(
1197
+ Nn,
1198
+ be() === void 0 ? { active: 1, sort: "<" } : be()
1197
1199
  );
1198
- return /* @__PURE__ */ n.jsx("div", { className: "sort", children: /* @__PURE__ */ n.jsxs("div", { className: "button", children: [
1200
+ return /* @__PURE__ */ n.jsxs("div", { className: Pn.sort, children: [
1199
1201
  /* @__PURE__ */ n.jsx(
1200
1202
  "i",
1201
1203
  {
1202
- "data-color": t.active === 1 ? "_506290" : "_b5b9cc",
1203
- "data-icon": t.active === 1 ? t.sort === "<" ? "F073" : "F072" : "F071",
1204
+ "data-color": e.active === 1 ? "_506290" : "_b5b9cc",
1205
+ "data-icon": e.active === 1 ? e.sort === "<" ? "F073" : "F072" : "F071",
1204
1206
  onClick: () => r({ type: "active", data: 1 })
1205
1207
  }
1206
1208
  ),
1207
1209
  /* @__PURE__ */ n.jsx(
1208
1210
  "i",
1209
1211
  {
1210
- "data-color": t.active === 2 ? "_506290" : "_b5b9cc",
1211
- "data-icon": t.active === 2 ? t.sort === "<" ? "F066" : "F067" : "F074",
1212
+ "data-color": e.active === 2 ? "_506290" : "_b5b9cc",
1213
+ "data-icon": e.active === 2 ? e.sort === "<" ? "F066" : "F067" : "F074",
1212
1214
  onClick: () => r({ type: "active", data: 2 })
1213
1215
  }
1214
1216
  ),
1215
1217
  /* @__PURE__ */ n.jsx(
1216
1218
  "i",
1217
1219
  {
1218
- "data-color": t.active === 3 ? "_506290" : "_b5b9cc",
1219
- "data-icon": t.active === 3 ? t.sort === "<" ? "F068" : "F069" : "F070",
1220
+ "data-color": e.active === 3 ? "_506290" : "_b5b9cc",
1221
+ "data-icon": e.active === 3 ? e.sort === "<" ? "F068" : "F069" : "F070",
1220
1222
  onClick: () => r({ type: "active", data: 3 })
1221
1223
  }
1222
1224
  )
1223
- ] }) });
1225
+ ] });
1224
1226
  }
1225
- function On(t) {
1226
- re.get = t;
1227
+ function $n(e) {
1228
+ ue.get = e;
1227
1229
  }
1228
- function $n(t) {
1229
- re.set(t);
1230
+ function Fn(e) {
1231
+ ue.set(e);
1230
1232
  }
1231
- function An(t, r, a) {
1232
- let o = 1, m = 0, h = {}, T = 50;
1233
- h[o] = [];
1234
- let x = {}, p = "s1a";
1235
- switch (x.s1a = (g, v) => v.s1 - g.s1, x.s1d = (g, v) => g.s1 - v.s1, x.s2a = (g, v) => g.s2 - v.s2, x.s2d = (g, v) => v.s2 - g.s2, x.s3a = (g, v) => g.s3.localeCompare(v.s3), x.s3d = (g, v) => v.s3.localeCompare(g.s3), a.active) {
1233
+ function Mn(e, r, a) {
1234
+ let i = 1, l = 0, v = {}, c = 50;
1235
+ v[i] = [];
1236
+ let f = {}, u = "s1a";
1237
+ switch (f.s1a = (d, m) => m.s1 - d.s1, f.s1d = (d, m) => d.s1 - m.s1, f.s2a = (d, m) => d.s2 - m.s2, f.s2d = (d, m) => m.s2 - d.s2, f.s3a = (d, m) => d.s3.localeCompare(m.s3), f.s3d = (d, m) => m.s3.localeCompare(d.s3), a.active) {
1236
1238
  case 1:
1237
- p = a.sort === ">" ? "s1d" : "s1a";
1239
+ u = a.sort === ">" ? "s1d" : "s1a";
1238
1240
  break;
1239
1241
  case 2:
1240
- p = a.sort === ">" ? "s2d" : "s2a";
1242
+ u = a.sort === ">" ? "s2d" : "s2a";
1241
1243
  break;
1242
1244
  case 3:
1243
- p = a.sort === ">" ? "s3d" : "s3a";
1245
+ u = a.sort === ">" ? "s3d" : "s3a";
1244
1246
  break;
1245
1247
  }
1246
- return r.sort(x[p]).forEach((g) => {
1247
- m++, m <= T || (o++, m = 1, h[o] = []), h[o].push(t[g.id]);
1248
- }), { data: h };
1248
+ return r.sort(f[u]).forEach((d) => {
1249
+ l++, l <= c || (i++, l = 1, v[i] = []), v[i].push(e[d.id]);
1250
+ }), { data: v };
1251
+ }
1252
+ function Dn(e) {
1253
+ ue.count(e);
1254
+ }
1255
+ const sa = { Init: On, useValue: $n, Set: Fn, Run: Mn, Count: Dn };
1256
+ function An(e, r) {
1257
+ r === void 0 ? (r = e, e = /* @__PURE__ */ new Date()) : e = new Date(e);
1258
+ let a = {
1259
+ yyyy: e.getFullYear(),
1260
+ yy: ("" + e.getFullYear()).slice(-2),
1261
+ mm: ("0" + (e.getMonth() + 1)).slice(-2),
1262
+ dd: ("0" + e.getDate()).slice(-2),
1263
+ HH: ("0" + e.getHours()).slice(-2),
1264
+ MM: ("0" + e.getMinutes()).slice(-2),
1265
+ SS: ("0" + e.getSeconds()).slice(-2),
1266
+ __: "      ",
1267
+ _: "    "
1268
+ };
1269
+ for (const i in a)
1270
+ r = r.replace(i, a[i]);
1271
+ return r;
1272
+ }
1273
+ function Ln(e) {
1274
+ let r = ["Января", "Февраля", "Марта", "Апреля", "Мая", "Июня", "Июля", "Августа", "Сентября", "Октября", "Ноября", "Декабря"], a = new Date(e);
1275
+ return { day: ("" + a.getFullYear()).slice(-2) + "" + ("0" + (a.getMonth() + 1)).slice(-2) + ("0" + a.getDate()).slice(-2), name: a.getDate() + " " + r[a.getMonth()] };
1276
+ }
1277
+ const zn = (e) => {
1278
+ function r(F, A) {
1279
+ var Y, ne, U;
1280
+ F = F ?? "", A = A ?? 1;
1281
+ for (var Y = [], U = 0, ne = F.length; U < ne; )
1282
+ Y.push(F.slice(U, U += A));
1283
+ return Y;
1284
+ }
1285
+ function a(F, A) {
1286
+ var Y = [2, 0, 1, 1, 1, 2];
1287
+ return A[F > 4 && F < 20 ? 2 : Y[Math.min(F, 5)]];
1288
+ }
1289
+ var i = {
1290
+ null: "ноль",
1291
+ a1: [
1292
+ "один",
1293
+ "два",
1294
+ "три",
1295
+ "четыре",
1296
+ "пять",
1297
+ "шесть",
1298
+ "семь",
1299
+ "восемь",
1300
+ "девять"
1301
+ ],
1302
+ a2: [
1303
+ "одна",
1304
+ "две",
1305
+ "три",
1306
+ "четыре",
1307
+ "пять",
1308
+ "шесть",
1309
+ "семь",
1310
+ "восемь",
1311
+ "девять"
1312
+ ],
1313
+ a10: [
1314
+ "десять",
1315
+ "одиннадцать",
1316
+ "двенадцать",
1317
+ "тринадцать",
1318
+ "четырнадцать",
1319
+ "пятнадцать",
1320
+ "шестнадцать",
1321
+ "семнадцать",
1322
+ "восемнадцать",
1323
+ "девятнадцать"
1324
+ ],
1325
+ a20: [
1326
+ "двадцать",
1327
+ "тридцать",
1328
+ "сорок",
1329
+ "пятьдесят",
1330
+ "шестьдесят",
1331
+ "семьдесят",
1332
+ "восемьдесят",
1333
+ "девяносто"
1334
+ ],
1335
+ a100: [
1336
+ "сто",
1337
+ "двести",
1338
+ "триста",
1339
+ "четыреста",
1340
+ "пятьсот",
1341
+ "шестьсот",
1342
+ "семьсот",
1343
+ "восемьсот",
1344
+ "девятьсот"
1345
+ ],
1346
+ uc: ["копейка", "копейки", "копеек"],
1347
+ ur: ["рубль", "рубля", "рублей"],
1348
+ u3: ["тысяча", "тысячи", "тысяч"],
1349
+ u2: ["миллион", "миллиона", "миллионов"],
1350
+ u1: ["миллиард", "миллиарда", "миллиардов"]
1351
+ }, l, v, c, f, $, u, d, Z, m, x, y, T;
1352
+ m = parseFloat(e).toFixed(2).split("."), u = m[0], f = m[1];
1353
+ var O = 12 - u.length;
1354
+ if (O < 0)
1355
+ return !1;
1356
+ for (var Z = []; O--; )
1357
+ Z.push("0");
1358
+ u = Z.join("") + u;
1359
+ var $ = [];
1360
+ if (u > 0) {
1361
+ x = r(u, 3);
1362
+ for (var I = -1; I < x.length; I++)
1363
+ if (d = x[I], d > 0 && (y = r(d, 1), l = parseInt(y[0]), v = parseInt(y[1]), c = parseInt(y[2]), $.push(i.a100[l - 1]), T = I + 1 == 3 ? "a2" : "a1", v > 1 ? $.push(
1364
+ i.a20[v - 2] + (c > 0 ? " " + i[T][c - 1] : "")
1365
+ ) : $.push(
1366
+ v > 0 ? i.a10[c] : i[T][c - 1]
1367
+ ), x.length > I + 1)) {
1368
+ var E = i["u" + (I + 1)];
1369
+ $.push(a(d, E));
1370
+ }
1371
+ } else
1372
+ $.push(i.null);
1373
+ return $.push(a(u, i.ur)), $.push(f + " " + a(f, i.uc)), $.join(" ").replace(RegExp(" {2,}", "g"), " ").trimLeft();
1374
+ };
1375
+ function Yn(e) {
1376
+ let r = -1, a = [" kB", " MB", " GB", " TB", "PB", "EB", "ZB", "YB"];
1377
+ do
1378
+ e = e / 1024, r++;
1379
+ while (e > 1024);
1380
+ return Math.max(e, 0.1).toFixed(1) + a[r];
1381
+ }
1382
+ function Bn(e) {
1383
+ let r = {};
1384
+ return r["application/atom+xml"] = "atom", r["application/json"] = "json", r["application/javascript"] = "js", r["application/ogg"] = "ogg", r["application/pdf"] = "pdf", r["application/soap+xml"] = "soap", r["application/font-woff"] = "woff", r["application/xhtml+xml"] = "xml", r["application/xml-dtd"] = "dtd", r["application/xop+xml"] = "xop", r["application/zip"] = "zip", r["application/gzip"] = "gzip", r["application/x-bittorrent"] = "bittorrent", r["application/x-tex"] = "tex", r["application/xml"] = "xml", r["application/msword"] = "doc", r["image/svg+xml"] = "svg", r[e];
1385
+ }
1386
+ function Wn(e, r, a, i) {
1387
+ let l = {
1388
+ sexM: "m",
1389
+ sexF: "f",
1390
+ gcaseIm: "nominative",
1391
+ gcaseNom: "nominative",
1392
+ // именительный
1393
+ gcaseRod: "genitive",
1394
+ gcaseGen: "genitive",
1395
+ // родительный
1396
+ gcaseDat: "dative",
1397
+ // дательный
1398
+ gcaseVin: "accusative",
1399
+ gcaseAcc: "accusative",
1400
+ // винительный
1401
+ gcaseTvor: "instrumentative",
1402
+ gcaseIns: "instrumentative",
1403
+ // творительный
1404
+ gcasePred: "prepositional",
1405
+ gcasePos: "prepositional",
1406
+ // предложный
1407
+ // let m = { nom: 'nominative', rod: 'genitive', dat: 'dative', vin: 'accusative', ins: 'instrumentative', pos: 'prepositional' };
1408
+ // t = el.declination(t).fullName(m[s[1]]);
1409
+ rules: {
1410
+ lastName: {
1411
+ exceptions: [
1412
+ " дюма,тома,дега,люка,ферма,гамарра,петипа,шандра . . . . .",
1413
+ " гусь,ремень,камень,онук,богода,нечипас,долгопалец,маненок,рева,кива . . . . .",
1414
+ " вий,сой,цой,хой -я -ю -я -ем -е"
1415
+ ],
1416
+ suffixes: [
1417
+ "f б,в,г,д,ж,з,й,к,л,м,н,п,р,с,т,ф,х,ц,ч,ш,щ,ъ,ь . . . . .",
1418
+ "f ска,цка -ой -ой -ую -ой -ой",
1419
+ "f ая --ой --ой --ую --ой --ой",
1420
+ " ская --ой --ой --ую --ой --ой",
1421
+ "f на -ой -ой -у -ой -ой",
1422
+ " иной -я -ю -я -ем -е",
1423
+ " уй -я -ю -я -ем -е",
1424
+ " ца -a -е -у -ей -е",
1425
+ " рих а у а ом е",
1426
+ " ия . . . . .",
1427
+ " иа,аа,оа,уа,ыа,еа,юа,эа . . . . .",
1428
+ " их,ых . . . . .",
1429
+ " о,е,э,и,ы,у,ю . . . . .",
1430
+ " ова,ева -ой -ой -у -ой -ой",
1431
+ " га,ка,ха,ча,ща,жа -и -е -у -ой -е",
1432
+ " ца -и -е -у -ей -е",
1433
+ " а -ы -е -у -ой -е",
1434
+ " ь -я -ю -я -ем -е",
1435
+ " ия -и -и -ю -ей -и",
1436
+ " я -и -е -ю -ей -е",
1437
+ " ей -я -ю -я -ем -е",
1438
+ " ян,ан,йн а у а ом е",
1439
+ " ынец,обец --ца --цу --ца --цем --це",
1440
+ " онец,овец --ца --цу --ца --цом --це",
1441
+ " ц,ч,ш,щ а у а ем е",
1442
+ " ай -я -ю -я -ем -е",
1443
+ " гой,кой -го -му -го --им -м",
1444
+ " ой -го -му -го --ым -м",
1445
+ " ах,ив а у а ом е",
1446
+ " ший,щий,жий,ний --его --ему --его -м --ем",
1447
+ " кий,ый --ого --ому --ого -м --ом",
1448
+ " ий -я -ю -я -ем -и",
1449
+ " ок --ка --ку --ка --ком --ке",
1450
+ " ец --ца --цу --ца --цом --це",
1451
+ " в,н а у а ым е",
1452
+ " б,г,д,ж,з,к,л,м,п,р,с,т,ф,х а у а ом е"
1453
+ ]
1454
+ },
1455
+ firstName: {
1456
+ exceptions: [
1457
+ " лев --ьва --ьву --ьва --ьвом --ьве",
1458
+ " павел --ла --лу --ла --лом --ле",
1459
+ "m шота . . . . .",
1460
+ "m пётр ---етра ---етру ---етра ---етром ---етре",
1461
+ "f рашель,нинель,николь,габриэль,даниэль . . . . ."
1462
+ ],
1463
+ suffixes: [
1464
+ " е,ё,и,о,у,ы,э,ю . . . . .",
1465
+ "f б,в,г,д,ж,з,й,к,л,м,н,п,р,с,т,ф,х,ц,ч,ш,щ,ъ . . . . .",
1466
+ "f ь -и -и . ю -и",
1467
+ "m ь -я -ю -я -ем -е",
1468
+ " га,ка,ха,ча,ща,жа -и -е -у -ой -е",
1469
+ " ша -и -е -у -ей -е",
1470
+ " а -ы -е -у -ой -е",
1471
+ " ия -и -и -ю -ей -и",
1472
+ " я -и -е -ю -ей -е",
1473
+ " ей -я -ю -я -ем -е",
1474
+ " ий -я -ю -я -ем -и",
1475
+ " й -я -ю -я -ем -е",
1476
+ " б,в,г,д,ж,з,к,л,м,н,п,р,с,т,ф,х,ц,ч а у а ом е"
1477
+ ]
1478
+ },
1479
+ middleName: {
1480
+ suffixes: [" ич а у а ем е", " на -ы -е -у -ой -е"]
1481
+ }
1482
+ },
1483
+ initialized: !1,
1484
+ init: function() {
1485
+ this.initialized || (this.prepareRules(), this.initialized = !0);
1486
+ },
1487
+ prepareRules: function() {
1488
+ for (var c in this.rules)
1489
+ for (var f in this.rules[c])
1490
+ for (var u = 0, d = this.rules[c][f].length; u < d; u++)
1491
+ this.rules[c][f][u] = this.rule(
1492
+ this.rules[c][f][u]
1493
+ );
1494
+ },
1495
+ rule: function(c) {
1496
+ var f = c.match(
1497
+ /^\s*([fm]?)\s*(\S+)\s+(\S+)\s+(\S+)\s+(\S+)\s+(\S+)\s+(\S+)\s*$/
1498
+ );
1499
+ return f ? {
1500
+ sex: f[1],
1501
+ test: f[2].split(","),
1502
+ mods: [f[3], f[4], f[5], f[6], f[7]]
1503
+ } : !1;
1504
+ },
1505
+ // склоняем слово по указанному набору правил и исключений
1506
+ word: function(c, f, u, d) {
1507
+ if (d === this.gcaseNom)
1508
+ return c;
1509
+ if (c.match(/[-]/)) {
1510
+ for (var m = c.split("-"), x = 0, y = m.length; x < y; x++)
1511
+ m[x] = this.word(m[x], f, u, d);
1512
+ return m.join("-");
1513
+ }
1514
+ if (c.match(/^[А-ЯЁ]\.?$/i))
1515
+ return c;
1516
+ this.init();
1517
+ var T = this.rules[u];
1518
+ let O;
1519
+ return T.exceptions && (O = this.pick(c, f, d, T.exceptions, !0), O) ? O : (O = this.pick(c, f, d, T.suffixes, !1), O || c);
1520
+ },
1521
+ // выбираем из списка правил первое подходящее и применяем
1522
+ pick: function(c, f, u, d, m) {
1523
+ let x = c.toLowerCase();
1524
+ for (var y = 0, T = d.length; y < T; y++)
1525
+ if (this.ruleMatch(x, f, d[y], m))
1526
+ return this.applyMod(c, u, d[y]);
1527
+ return !1;
1528
+ },
1529
+ // проверяем, подходит ли правило к слову
1530
+ ruleMatch: function(c, f, u, d) {
1531
+ if (u.sex === this.sexM && f === this.sexF || u.sex === this.sexF && f !== this.sexF)
1532
+ return !1;
1533
+ for (var m = 0, x = u.test.length; m < x; m++) {
1534
+ var y = d ? c : c.substr(
1535
+ Math.max(c.length - u.test[m].length, 0)
1536
+ );
1537
+ if (y === u.test[m])
1538
+ return !0;
1539
+ }
1540
+ return !1;
1541
+ },
1542
+ // склоняем слово (правим окончание)
1543
+ applyMod: function(c, f, u) {
1544
+ let d;
1545
+ switch (f) {
1546
+ case this.gcaseNom:
1547
+ d = ".";
1548
+ break;
1549
+ case this.gcaseGen:
1550
+ d = u.mods[0];
1551
+ break;
1552
+ case this.gcaseDat:
1553
+ d = u.mods[1];
1554
+ break;
1555
+ case this.gcaseAcc:
1556
+ d = u.mods[2];
1557
+ break;
1558
+ case this.gcaseIns:
1559
+ d = u.mods[3];
1560
+ break;
1561
+ case this.gcasePos:
1562
+ d = u.mods[4];
1563
+ break;
1564
+ }
1565
+ for (var m = 0, x = d.length; m < x; m++) {
1566
+ var y = d.substr(m, 1);
1567
+ switch (y) {
1568
+ case ".":
1569
+ break;
1570
+ case "-":
1571
+ c = c.substr(0, c.length - 1);
1572
+ break;
1573
+ default:
1574
+ c += y;
1575
+ }
1576
+ }
1577
+ return c;
1578
+ },
1579
+ getSex: () => {
1580
+ if (l.mn.length > 2)
1581
+ switch (l.mn.substr(l.mn.length - 2)) {
1582
+ case "ич":
1583
+ return "m";
1584
+ case "на":
1585
+ return "f";
1586
+ }
1587
+ return "";
1588
+ },
1589
+ fullName: (c) => ((l.fullNameSurnameLast ? "" : l.lastName(c) + " ") + l.firstName(c) + " " + l.middleName(c) + (l.fullNameSurnameLast ? " " + l.lastName(c) : "")).replace(/^ +| +$/g, ""),
1590
+ lastName: (c) => l.word(l.ln, l.sex, "lastName", c),
1591
+ firstName: (c) => l.word(l.fn, l.sex, "firstName", c),
1592
+ middleName: (c) => l.word(l.mn, l.sex, "middleName", c)
1593
+ };
1594
+ if (typeof r > "u") {
1595
+ var v = e.match(/^\s*(\S+)(\s+(\S+)(\s+(\S+))?)?\s*$/);
1596
+ if (!v)
1597
+ return "Cannot parse supplied name";
1598
+ v[5] && v[3].match(/(ич|на)$/) && !v[5].match(/(ич|на)$/) ? (e = v[5], r = v[1], a = v[3], l.fullNameSurnameLast = !0) : (e = v[1], r = v[3], a = v[5]);
1599
+ }
1600
+ return l.ln = e, l.fn = r || "", l.mn = a || "", l.sex = i || l.getSex(), l;
1249
1601
  }
1250
- function Fn(t) {
1251
- re.count(t);
1602
+ function Vn(e) {
1603
+ let r = e.split(" ");
1604
+ switch (r.length) {
1605
+ case 2:
1606
+ return r[0] + " " + r[1].substring(0, 1) + ".";
1607
+ case 3:
1608
+ return r[0] + " " + r[1].substring(0, 1) + "." + r[2].substring(0, 1) + ".";
1609
+ default:
1610
+ return e;
1611
+ }
1612
+ }
1613
+ function Un(e) {
1614
+ return {
1615
+ 1: { val: "01", name: "Январь", names: "Января", abc: "Янв" },
1616
+ 2: { val: "02", name: "Февраль", names: "Февраля", abc: "Февр" },
1617
+ 3: { val: "03", name: "Март", names: "Марта", abc: "Март" },
1618
+ 4: { val: "04", name: "Апрель", names: "Апреля", abc: "Апр" },
1619
+ 5: { val: "05", name: "Май", names: "Мая", abc: "Май" },
1620
+ 6: { val: "06", name: "Июнь", names: "Июня", abc: "Июнь" },
1621
+ 7: { val: "07", name: "Июль", names: "Июля", abc: "Июль" },
1622
+ 8: { val: "08", name: "Август", names: "Августа", abc: "Авг" },
1623
+ 9: { val: "09", name: "Сентябрь", names: "Сентебря", abc: "Сент" },
1624
+ 10: { val: "10", name: "Октябрь", names: "Октября", abc: "Окт" },
1625
+ 11: { val: "11", name: "Ноябрь", names: "Ноября", abc: "Нояб" },
1626
+ 12: { val: "12", name: "Декабрь", names: "Декабря", abc: "Дек" }
1627
+ }[e];
1628
+ }
1629
+ function Hn(e) {
1630
+ return parseFloat(e).toFixed(2).replace(/(\d)(?=(\d{3})+\.)/g, "$1 ");
1631
+ }
1632
+ function qn(e, r) {
1633
+ let a = r + "";
1634
+ for (; a.length < e; )
1635
+ a = "0" + a;
1636
+ return a;
1252
1637
  }
1253
- const Bn = { Init: Pn, useValue: On, Set: $n, Run: An, Count: Fn };
1638
+ function Gn(e, r, a) {
1639
+ let i = r / e * a;
1640
+ return (typeof i != "number" || i === 1 / 0) && (i = 0), parseFloat(i).toFixed(1);
1641
+ }
1642
+ function Jn(e) {
1643
+ return e.charAt(0).toUpperCase() + e.slice(1);
1644
+ }
1645
+ const ia = {
1646
+ Date: An,
1647
+ MoneyString: zn,
1648
+ DateSort: Ln,
1649
+ Size: Yn,
1650
+ TypeFiles: Bn,
1651
+ Cases: Wn,
1652
+ Initials: Vn,
1653
+ Month: Un,
1654
+ Money: Hn,
1655
+ Number: qn,
1656
+ Percent: Gn,
1657
+ CapitalizeFirstLetter: Jn
1658
+ };
1254
1659
  export {
1255
- fn as Action,
1256
- Wn as Alert,
1257
- zn as Browser,
1660
+ dn as Action,
1661
+ ta as Alert,
1662
+ Kn as Browser,
1258
1663
  Qt as Button,
1259
- Mn as Component,
1260
- Yn as Icon,
1664
+ Qn as Component,
1665
+ ia as Format,
1666
+ ra as Icon,
1261
1667
  Zr as Init,
1262
- kr as Modal,
1263
- Ln as Notice,
1264
- Un as Router,
1265
- Dn as Setting,
1266
- Vn as Store,
1668
+ Rr as Modal,
1669
+ ea as Notice,
1670
+ aa as Router,
1671
+ Xn as Setting,
1672
+ na as Store,
1267
1673
  rn as Tabs,
1268
- Bn as Triage
1674
+ sa as Triage
1269
1675
  };