elcrm 0.0.3 → 0.0.4

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.
Files changed (40) hide show
  1. package/dist/App.d.ts +2 -0
  2. package/dist/components.es.js +656 -866
  3. package/dist/components.umd.js +11 -11
  4. package/dist/index.css +1 -0
  5. package/dist/lib/Action/index.d.ts +2 -1
  6. package/dist/lib/Alerts/index.d.ts +2 -1
  7. package/dist/lib/Button/Button.d.ts +1 -0
  8. package/dist/lib/Component/Header.d.ts +2 -2
  9. package/dist/lib/Component/List.d.ts +2 -2
  10. package/dist/lib/Component/O.d.ts +2 -2
  11. package/dist/lib/Component/Section.d.ts +2 -2
  12. package/dist/lib/Component/U.d.ts +2 -2
  13. package/dist/lib/Component/index.d.ts +20 -0
  14. package/dist/lib/Form/Switch.d.ts +6 -0
  15. package/dist/lib/Form/index.d.ts +6 -0
  16. package/dist/lib/Header/Header.d.ts +1 -0
  17. package/dist/lib/Main/Main.d.ts +6 -0
  18. package/dist/lib/Menu/Menu.d.ts +1 -0
  19. package/dist/lib/Modal/Modal.d.ts +9 -8
  20. package/dist/lib/Modal/index.d.ts +26 -0
  21. package/dist/lib/Notice/index.d.ts +2 -1
  22. package/dist/lib/Setting/Item/Accordion.d.ts +2 -1
  23. package/dist/lib/Setting/Item/Button.d.ts +4 -3
  24. package/dist/lib/Setting/Item/Info.d.ts +2 -2
  25. package/dist/lib/Setting/Item/Select.d.ts +4 -4
  26. package/dist/lib/Setting/Item/Switch.d.ts +2 -2
  27. package/dist/lib/Setting/Item/index.d.ts +17 -0
  28. package/dist/lib/Setting/Main.d.ts +5 -4
  29. package/dist/lib/Setting/Section.d.ts +7 -6
  30. package/dist/lib/Setting/Tabs.d.ts +6 -6
  31. package/dist/lib/Setting/index.d.ts +22 -0
  32. package/dist/lib/index.d.ts +9 -9
  33. package/dist/main.d.ts +1 -0
  34. package/dist/view/Content.d.ts +2 -0
  35. package/dist/view/Notice.d.ts +2 -0
  36. package/dist/view/Setting.d.ts +2 -0
  37. package/package.json +2 -2
  38. package/dist/assets/index.7c93c282.css +0 -1
  39. package/dist/style.d.ts +0 -2
  40. package/dist/vite-env.d.ts +0 -1
@@ -1,6 +1,6 @@
1
- import './assets/index.7c93c282.css';
2
- import R from "react";
3
- var X = { exports: {} }, W = {};
1
+ import './index.css';
2
+ import E from "react";
3
+ var ae = { exports: {} }, M = {};
4
4
  /**
5
5
  * @license React
6
6
  * react-jsx-runtime.production.min.js
@@ -10,25 +10,25 @@ var X = { exports: {} }, W = {};
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 $e;
14
- function Er() {
15
- if ($e)
16
- return W;
17
- $e = 1;
18
- var r = R, n = Symbol.for("react.element"), o = Symbol.for("react.fragment"), c = Object.prototype.hasOwnProperty, _ = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, p = { key: !0, ref: !0, __self: !0, __source: !0 };
19
- function A(k, b, P) {
20
- var y, g = {}, w = null, q = null;
21
- P !== void 0 && (w = "" + P), b.key !== void 0 && (w = "" + b.key), b.ref !== void 0 && (q = b.ref);
22
- for (y in b)
23
- c.call(b, y) && !p.hasOwnProperty(y) && (g[y] = b[y]);
24
- if (k && k.defaultProps)
25
- for (y in b = k.defaultProps, b)
26
- g[y] === void 0 && (g[y] = b[y]);
27
- return { $$typeof: n, type: k, key: w, ref: q, props: g, _owner: _.current };
13
+ var Oe;
14
+ function pr() {
15
+ if (Oe)
16
+ return M;
17
+ Oe = 1;
18
+ var t = E, a = Symbol.for("react.element"), i = Symbol.for("react.fragment"), l = Object.prototype.hasOwnProperty, h = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, m = { key: !0, ref: !0, __self: !0, __source: !0 };
19
+ function O(C, x, S) {
20
+ var p, j = {}, R = null, V = null;
21
+ S !== void 0 && (R = "" + S), x.key !== void 0 && (R = "" + x.key), x.ref !== void 0 && (V = x.ref);
22
+ for (p in x)
23
+ l.call(x, p) && !m.hasOwnProperty(p) && (j[p] = x[p]);
24
+ if (C && C.defaultProps)
25
+ for (p in x = C.defaultProps, x)
26
+ j[p] === void 0 && (j[p] = x[p]);
27
+ return { $$typeof: a, type: C, key: R, ref: V, props: j, _owner: h.current };
28
28
  }
29
- return W.Fragment = o, W.jsx = A, W.jsxs = A, W;
29
+ return M.Fragment = i, M.jsx = O, M.jsxs = O, M;
30
30
  }
31
- var Y = {};
31
+ var W = {};
32
32
  /**
33
33
  * @license React
34
34
  * react-jsx-runtime.development.js
@@ -38,87 +38,91 @@ var Y = {};
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 ze;
42
- function Cr() {
43
- return ze || (ze = 1, process.env.NODE_ENV !== "production" && function() {
44
- var r = R, n = Symbol.for("react.element"), o = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), _ = Symbol.for("react.strict_mode"), p = Symbol.for("react.profiler"), A = Symbol.for("react.provider"), k = Symbol.for("react.context"), b = Symbol.for("react.forward_ref"), P = Symbol.for("react.suspense"), y = Symbol.for("react.suspense_list"), g = Symbol.for("react.memo"), w = Symbol.for("react.lazy"), q = Symbol.for("react.offscreen"), ce = Symbol.iterator, Me = "@@iterator";
45
- function We(e) {
41
+ var $e;
42
+ function jr() {
43
+ return $e || ($e = 1, process.env.NODE_ENV !== "production" && function() {
44
+ var t = E, a = Symbol.for("react.element"), i = Symbol.for("react.portal"), l = Symbol.for("react.fragment"), h = Symbol.for("react.strict_mode"), m = Symbol.for("react.profiler"), O = Symbol.for("react.provider"), C = Symbol.for("react.context"), x = Symbol.for("react.forward_ref"), S = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), j = Symbol.for("react.memo"), R = Symbol.for("react.lazy"), V = Symbol.for("react.offscreen"), ie = Symbol.iterator, Fe = "@@iterator";
45
+ function Ie(e) {
46
46
  if (e === null || typeof e != "object")
47
47
  return null;
48
- var t = ce && e[ce] || e[Me];
49
- return typeof t == "function" ? t : null;
48
+ var n = ie && e[ie] || e[Fe];
49
+ return typeof n == "function" ? n : null;
50
50
  }
51
- var F = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
52
- function E(e) {
51
+ var N = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
52
+ function b(e) {
53
53
  {
54
- for (var t = arguments.length, i = new Array(t > 1 ? t - 1 : 0), s = 1; s < t; s++)
55
- i[s - 1] = arguments[s];
56
- Ye("error", e, i);
54
+ for (var n = arguments.length, s = new Array(n > 1 ? n - 1 : 0), o = 1; o < n; o++)
55
+ s[o - 1] = arguments[o];
56
+ Le("error", e, s);
57
57
  }
58
58
  }
59
- function Ye(e, t, i) {
59
+ function Le(e, n, s) {
60
60
  {
61
- var s = F.ReactDebugCurrentFrame, f = s.getStackAddendum();
62
- f !== "" && (t += "%s", i = i.concat([f]));
63
- var d = i.map(function(l) {
64
- return String(l);
61
+ var o = N.ReactDebugCurrentFrame, f = o.getStackAddendum();
62
+ f !== "" && (n += "%s", s = s.concat([f]));
63
+ var d = s.map(function(u) {
64
+ return String(u);
65
65
  });
66
- d.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, d);
66
+ d.unshift("Warning: " + n), Function.prototype.apply.call(console[e], console, d);
67
67
  }
68
68
  }
69
- var Be = !1, Ue = !1, Ve = !1, qe = !1, He = !1, ue;
70
- ue = Symbol.for("react.module.reference");
71
- function Je(e) {
72
- return !!(typeof e == "string" || typeof e == "function" || e === c || e === p || He || e === _ || e === P || e === y || qe || e === q || Be || Ue || Ve || typeof e == "object" && e !== null && (e.$$typeof === w || e.$$typeof === g || e.$$typeof === A || e.$$typeof === k || e.$$typeof === b || e.$$typeof === ue || e.getModuleId !== void 0));
73
- }
74
- function Ge(e, t, i) {
75
- var s = e.displayName;
76
- if (s)
77
- return s;
78
- var f = t.displayName || t.name || "";
79
- return f !== "" ? i + "(" + f + ")" : i;
80
- }
81
- function le(e) {
69
+ var Me = !1, We = !1, Ye = !1, Ue = !1, Ve = !1, oe;
70
+ oe = Symbol.for("react.module.reference");
71
+ function Be(e) {
72
+ return !!(typeof e == "string" || typeof e == "function" || e === l || e === m || Ve || e === h || e === S || e === p || Ue || e === V || Me || We || Ye || typeof e == "object" && e !== null && (e.$$typeof === R || e.$$typeof === j || e.$$typeof === O || e.$$typeof === C || e.$$typeof === x || // This needs to include all possible module reference object
73
+ // types supported by any Flight configuration anywhere since
74
+ // we don't know which Flight build this will end up being used
75
+ // with.
76
+ e.$$typeof === oe || e.getModuleId !== void 0));
77
+ }
78
+ function He(e, n, s) {
79
+ var o = e.displayName;
80
+ if (o)
81
+ return o;
82
+ var f = n.displayName || n.name || "";
83
+ return f !== "" ? s + "(" + f + ")" : s;
84
+ }
85
+ function ce(e) {
82
86
  return e.displayName || "Context";
83
87
  }
84
- function S(e) {
88
+ function k(e) {
85
89
  if (e == null)
86
90
  return null;
87
- if (typeof e.tag == "number" && E("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
91
+ if (typeof e.tag == "number" && b("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
88
92
  return e.displayName || e.name || null;
89
93
  if (typeof e == "string")
90
94
  return e;
91
95
  switch (e) {
92
- case c:
96
+ case l:
93
97
  return "Fragment";
94
- case o:
98
+ case i:
95
99
  return "Portal";
96
- case p:
100
+ case m:
97
101
  return "Profiler";
98
- case _:
102
+ case h:
99
103
  return "StrictMode";
100
- case P:
104
+ case S:
101
105
  return "Suspense";
102
- case y:
106
+ case p:
103
107
  return "SuspenseList";
104
108
  }
105
109
  if (typeof e == "object")
106
110
  switch (e.$$typeof) {
107
- case k:
108
- var t = e;
109
- return le(t) + ".Consumer";
110
- case A:
111
- var i = e;
112
- return le(i._context) + ".Provider";
113
- case b:
114
- return Ge(e, e.render, "ForwardRef");
115
- case g:
116
- var s = e.displayName || null;
117
- return s !== null ? s : S(e.type) || "Memo";
118
- case w: {
119
- var f = e, d = f._payload, l = f._init;
111
+ case C:
112
+ var n = e;
113
+ return ce(n) + ".Consumer";
114
+ case O:
115
+ var s = e;
116
+ return ce(s._context) + ".Provider";
117
+ case x:
118
+ return He(e, e.render, "ForwardRef");
119
+ case j:
120
+ var o = e.displayName || null;
121
+ return o !== null ? o : k(e.type) || "Memo";
122
+ case R: {
123
+ var f = e, d = f._payload, u = f._init;
120
124
  try {
121
- return S(l(d));
125
+ return k(u(d));
122
126
  } catch {
123
127
  return null;
124
128
  }
@@ -126,18 +130,18 @@ function Cr() {
126
130
  }
127
131
  return null;
128
132
  }
129
- var $ = Object.assign, L = 0, fe, de, _e, ve, he, me, pe;
130
- function be() {
133
+ var $ = Object.assign, I = 0, le, ue, fe, de, _e, ve, he;
134
+ function xe() {
131
135
  }
132
- be.__reactDisabledLog = !0;
133
- function Ke() {
136
+ xe.__reactDisabledLog = !0;
137
+ function qe() {
134
138
  {
135
- if (L === 0) {
136
- fe = console.log, de = console.info, _e = console.warn, ve = console.error, he = console.group, me = console.groupCollapsed, pe = console.groupEnd;
139
+ if (I === 0) {
140
+ le = console.log, ue = console.info, fe = console.warn, de = console.error, _e = console.group, ve = console.groupCollapsed, he = console.groupEnd;
137
141
  var e = {
138
142
  configurable: !0,
139
143
  enumerable: !0,
140
- value: be,
144
+ value: xe,
141
145
  writable: !0
142
146
  };
143
147
  Object.defineProperties(console, {
@@ -150,12 +154,12 @@ function Cr() {
150
154
  groupEnd: e
151
155
  });
152
156
  }
153
- L++;
157
+ I++;
154
158
  }
155
159
  }
156
- function Ze() {
160
+ function Je() {
157
161
  {
158
- if (L--, L === 0) {
162
+ if (I--, I === 0) {
159
163
  var e = {
160
164
  configurable: !0,
161
165
  enumerable: !0,
@@ -163,320 +167,323 @@ function Cr() {
163
167
  };
164
168
  Object.defineProperties(console, {
165
169
  log: $({}, e, {
166
- value: fe
170
+ value: le
167
171
  }),
168
172
  info: $({}, e, {
169
- value: de
173
+ value: ue
170
174
  }),
171
175
  warn: $({}, e, {
172
- value: _e
176
+ value: fe
173
177
  }),
174
178
  error: $({}, e, {
175
- value: ve
179
+ value: de
176
180
  }),
177
181
  group: $({}, e, {
178
- value: he
182
+ value: _e
179
183
  }),
180
184
  groupCollapsed: $({}, e, {
181
- value: me
185
+ value: ve
182
186
  }),
183
187
  groupEnd: $({}, e, {
184
- value: pe
188
+ value: he
185
189
  })
186
190
  });
187
191
  }
188
- L < 0 && E("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
192
+ I < 0 && b("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
189
193
  }
190
194
  }
191
- var Q = F.ReactCurrentDispatcher, ee;
192
- function H(e, t, i) {
195
+ var K = N.ReactCurrentDispatcher, Z;
196
+ function B(e, n, s) {
193
197
  {
194
- if (ee === void 0)
198
+ if (Z === void 0)
195
199
  try {
196
200
  throw Error();
197
201
  } catch (f) {
198
- var s = f.stack.trim().match(/\n( *(at )?)/);
199
- ee = s && s[1] || "";
202
+ var o = f.stack.trim().match(/\n( *(at )?)/);
203
+ Z = o && o[1] || "";
200
204
  }
201
205
  return `
202
- ` + ee + e;
206
+ ` + Z + e;
203
207
  }
204
208
  }
205
- var re = !1, J;
209
+ var X = !1, H;
206
210
  {
207
- var Xe = typeof WeakMap == "function" ? WeakMap : Map;
208
- J = new Xe();
211
+ var Ge = typeof WeakMap == "function" ? WeakMap : Map;
212
+ H = new Ge();
209
213
  }
210
- function ye(e, t) {
211
- if (!e || re)
214
+ function me(e, n) {
215
+ if (!e || X)
212
216
  return "";
213
217
  {
214
- var i = J.get(e);
215
- if (i !== void 0)
216
- return i;
218
+ var s = H.get(e);
219
+ if (s !== void 0)
220
+ return s;
217
221
  }
218
- var s;
219
- re = !0;
222
+ var o;
223
+ X = !0;
220
224
  var f = Error.prepareStackTrace;
221
225
  Error.prepareStackTrace = void 0;
222
226
  var d;
223
- d = Q.current, Q.current = null, Ke();
227
+ d = K.current, K.current = null, qe();
224
228
  try {
225
- if (t) {
226
- var l = function() {
229
+ if (n) {
230
+ var u = function() {
227
231
  throw Error();
228
232
  };
229
- if (Object.defineProperty(l.prototype, "props", {
233
+ if (Object.defineProperty(u.prototype, "props", {
230
234
  set: function() {
231
235
  throw Error();
232
236
  }
233
237
  }), typeof Reflect == "object" && Reflect.construct) {
234
238
  try {
235
- Reflect.construct(l, []);
236
- } catch (T) {
237
- s = T;
239
+ Reflect.construct(u, []);
240
+ } catch (w) {
241
+ o = w;
238
242
  }
239
- Reflect.construct(e, [], l);
243
+ Reflect.construct(e, [], u);
240
244
  } else {
241
245
  try {
242
- l.call();
243
- } catch (T) {
244
- s = T;
246
+ u.call();
247
+ } catch (w) {
248
+ o = w;
245
249
  }
246
- e.call(l.prototype);
250
+ e.call(u.prototype);
247
251
  }
248
252
  } else {
249
253
  try {
250
254
  throw Error();
251
- } catch (T) {
252
- s = T;
255
+ } catch (w) {
256
+ o = w;
253
257
  }
254
258
  e();
255
259
  }
256
- } catch (T) {
257
- if (T && s && typeof T.stack == "string") {
258
- for (var u = T.stack.split(`
259
- `), C = s.stack.split(`
260
- `), v = u.length - 1, m = C.length - 1; v >= 1 && m >= 0 && u[v] !== C[m]; )
261
- m--;
262
- for (; v >= 1 && m >= 0; v--, m--)
263
- if (u[v] !== C[m]) {
264
- if (v !== 1 || m !== 1)
260
+ } catch (w) {
261
+ if (w && o && typeof w.stack == "string") {
262
+ for (var c = w.stack.split(`
263
+ `), y = o.stack.split(`
264
+ `), _ = c.length - 1, v = y.length - 1; _ >= 1 && v >= 0 && c[_] !== y[v]; )
265
+ v--;
266
+ for (; _ >= 1 && v >= 0; _--, v--)
267
+ if (c[_] !== y[v]) {
268
+ if (_ !== 1 || v !== 1)
265
269
  do
266
- if (v--, m--, m < 0 || u[v] !== C[m]) {
267
- var x = `
268
- ` + u[v].replace(" at new ", " at ");
269
- return e.displayName && x.includes("<anonymous>") && (x = x.replace("<anonymous>", e.displayName)), typeof e == "function" && J.set(e, x), x;
270
+ if (_--, v--, v < 0 || c[_] !== y[v]) {
271
+ var g = `
272
+ ` + c[_].replace(" at new ", " at ");
273
+ return e.displayName && g.includes("<anonymous>") && (g = g.replace("<anonymous>", e.displayName)), typeof e == "function" && H.set(e, g), g;
270
274
  }
271
- while (v >= 1 && m >= 0);
275
+ while (_ >= 1 && v >= 0);
272
276
  break;
273
277
  }
274
278
  }
275
279
  } finally {
276
- re = !1, Q.current = d, Ze(), Error.prepareStackTrace = f;
280
+ X = !1, K.current = d, Je(), Error.prepareStackTrace = f;
277
281
  }
278
- var I = e ? e.displayName || e.name : "", Ae = I ? H(I) : "";
279
- return typeof e == "function" && J.set(e, Ae), Ae;
282
+ var F = e ? e.displayName || e.name : "", Pe = F ? B(F) : "";
283
+ return typeof e == "function" && H.set(e, Pe), Pe;
280
284
  }
281
- function Qe(e, t, i) {
282
- return ye(e, !1);
285
+ function Ke(e, n, s) {
286
+ return me(e, !1);
283
287
  }
284
- function er(e) {
285
- var t = e.prototype;
286
- return !!(t && t.isReactComponent);
288
+ function Ze(e) {
289
+ var n = e.prototype;
290
+ return !!(n && n.isReactComponent);
287
291
  }
288
- function G(e, t, i) {
292
+ function q(e, n, s) {
289
293
  if (e == null)
290
294
  return "";
291
295
  if (typeof e == "function")
292
- return ye(e, er(e));
296
+ return me(e, Ze(e));
293
297
  if (typeof e == "string")
294
- return H(e);
298
+ return B(e);
295
299
  switch (e) {
296
- case P:
297
- return H("Suspense");
298
- case y:
299
- return H("SuspenseList");
300
+ case S:
301
+ return B("Suspense");
302
+ case p:
303
+ return B("SuspenseList");
300
304
  }
301
305
  if (typeof e == "object")
302
306
  switch (e.$$typeof) {
303
- case b:
304
- return Qe(e.render);
305
- case g:
306
- return G(e.type, t, i);
307
- case w: {
308
- var s = e, f = s._payload, d = s._init;
307
+ case x:
308
+ return Ke(e.render);
309
+ case j:
310
+ return q(e.type, n, s);
311
+ case R: {
312
+ var o = e, f = o._payload, d = o._init;
309
313
  try {
310
- return G(d(f), t, i);
314
+ return q(d(f), n, s);
311
315
  } catch {
312
316
  }
313
317
  }
314
318
  }
315
319
  return "";
316
320
  }
317
- var K = Object.prototype.hasOwnProperty, ge = {}, Ee = F.ReactDebugCurrentFrame;
318
- function Z(e) {
321
+ var J = Object.prototype.hasOwnProperty, pe = {}, je = N.ReactDebugCurrentFrame;
322
+ function G(e) {
319
323
  if (e) {
320
- var t = e._owner, i = G(e.type, e._source, t ? t.type : null);
321
- Ee.setExtraStackFrame(i);
324
+ var n = e._owner, s = q(e.type, e._source, n ? n.type : null);
325
+ je.setExtraStackFrame(s);
322
326
  } else
323
- Ee.setExtraStackFrame(null);
327
+ je.setExtraStackFrame(null);
324
328
  }
325
- function rr(e, t, i, s, f) {
329
+ function Xe(e, n, s, o, f) {
326
330
  {
327
- var d = Function.call.bind(K);
328
- for (var l in e)
329
- if (d(e, l)) {
330
- var u = void 0;
331
+ var d = Function.call.bind(J);
332
+ for (var u in e)
333
+ if (d(e, u)) {
334
+ var c = void 0;
331
335
  try {
332
- if (typeof e[l] != "function") {
333
- var C = Error((s || "React class") + ": " + i + " type `" + l + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[l] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
334
- throw C.name = "Invariant Violation", C;
336
+ if (typeof e[u] != "function") {
337
+ var y = Error((o || "React class") + ": " + s + " type `" + u + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[u] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
338
+ throw y.name = "Invariant Violation", y;
335
339
  }
336
- u = e[l](t, l, s, i, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
337
- } catch (v) {
338
- u = v;
340
+ c = e[u](n, u, o, s, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
341
+ } catch (_) {
342
+ c = _;
339
343
  }
340
- u && !(u instanceof Error) && (Z(f), 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).", s || "React class", i, l, typeof u), Z(null)), u instanceof Error && !(u.message in ge) && (ge[u.message] = !0, Z(f), E("Failed %s type: %s", i, u.message), Z(null));
344
+ c && !(c instanceof Error) && (G(f), b("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", o || "React class", s, u, typeof c), G(null)), c instanceof Error && !(c.message in pe) && (pe[c.message] = !0, G(f), b("Failed %s type: %s", s, c.message), G(null));
341
345
  }
342
346
  }
343
347
  }
344
- var tr = Array.isArray;
345
- function te(e) {
346
- return tr(e);
348
+ var Qe = Array.isArray;
349
+ function Q(e) {
350
+ return Qe(e);
347
351
  }
348
- function nr(e) {
352
+ function er(e) {
349
353
  {
350
- var t = typeof Symbol == "function" && Symbol.toStringTag, i = t && e[Symbol.toStringTag] || e.constructor.name || "Object";
351
- return i;
354
+ var n = typeof Symbol == "function" && Symbol.toStringTag, s = n && e[Symbol.toStringTag] || e.constructor.name || "Object";
355
+ return s;
352
356
  }
353
357
  }
354
- function ar(e) {
358
+ function rr(e) {
355
359
  try {
356
- return Ce(e), !1;
360
+ return be(e), !1;
357
361
  } catch {
358
362
  return !0;
359
363
  }
360
364
  }
361
- function Ce(e) {
365
+ function be(e) {
362
366
  return "" + e;
363
367
  }
364
- function xe(e) {
365
- if (ar(e))
366
- return E("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", nr(e)), Ce(e);
368
+ function ye(e) {
369
+ if (rr(e))
370
+ return b("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", er(e)), be(e);
367
371
  }
368
- var M = F.ReactCurrentOwner, ir = {
372
+ var L = N.ReactCurrentOwner, tr = {
369
373
  key: !0,
370
374
  ref: !0,
371
375
  __self: !0,
372
376
  __source: !0
373
- }, Re, ke, ne;
374
- ne = {};
375
- function or(e) {
376
- if (K.call(e, "ref")) {
377
- var t = Object.getOwnPropertyDescriptor(e, "ref").get;
378
- if (t && t.isReactWarning)
377
+ }, ge, Ee, ee;
378
+ ee = {};
379
+ function nr(e) {
380
+ if (J.call(e, "ref")) {
381
+ var n = Object.getOwnPropertyDescriptor(e, "ref").get;
382
+ if (n && n.isReactWarning)
379
383
  return !1;
380
384
  }
381
385
  return e.ref !== void 0;
382
386
  }
383
- function sr(e) {
384
- if (K.call(e, "key")) {
385
- var t = Object.getOwnPropertyDescriptor(e, "key").get;
386
- if (t && t.isReactWarning)
387
+ function ar(e) {
388
+ if (J.call(e, "key")) {
389
+ var n = Object.getOwnPropertyDescriptor(e, "key").get;
390
+ if (n && n.isReactWarning)
387
391
  return !1;
388
392
  }
389
393
  return e.key !== void 0;
390
394
  }
391
- function cr(e, t) {
392
- if (typeof e.ref == "string" && M.current && t && M.current.stateNode !== t) {
393
- var i = S(M.current.type);
394
- ne[i] || (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', S(M.current.type), e.ref), ne[i] = !0);
395
+ function sr(e, n) {
396
+ if (typeof e.ref == "string" && L.current && n && L.current.stateNode !== n) {
397
+ var s = k(L.current.type);
398
+ ee[s] || (b('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', k(L.current.type), e.ref), ee[s] = !0);
395
399
  }
396
400
  }
397
- function ur(e, t) {
401
+ function ir(e, n) {
398
402
  {
399
- var i = function() {
400
- Re || (Re = !0, E("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
403
+ var s = function() {
404
+ ge || (ge = !0, b("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", n));
401
405
  };
402
- i.isReactWarning = !0, Object.defineProperty(e, "key", {
403
- get: i,
406
+ s.isReactWarning = !0, Object.defineProperty(e, "key", {
407
+ get: s,
404
408
  configurable: !0
405
409
  });
406
410
  }
407
411
  }
408
- function lr(e, t) {
412
+ function or(e, n) {
409
413
  {
410
- var i = function() {
411
- ke || (ke = !0, E("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
414
+ var s = function() {
415
+ Ee || (Ee = !0, b("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", n));
412
416
  };
413
- i.isReactWarning = !0, Object.defineProperty(e, "ref", {
414
- get: i,
417
+ s.isReactWarning = !0, Object.defineProperty(e, "ref", {
418
+ get: s,
415
419
  configurable: !0
416
420
  });
417
421
  }
418
422
  }
419
- var fr = function(e, t, i, s, f, d, l) {
420
- var u = {
421
- $$typeof: n,
423
+ var cr = function(e, n, s, o, f, d, u) {
424
+ var c = {
425
+ // This tag allows us to uniquely identify this as a React Element
426
+ $$typeof: a,
427
+ // Built-in properties that belong on the element
422
428
  type: e,
423
- key: t,
424
- ref: i,
425
- props: l,
429
+ key: n,
430
+ ref: s,
431
+ props: u,
432
+ // Record the component responsible for creating this element.
426
433
  _owner: d
427
434
  };
428
- return u._store = {}, Object.defineProperty(u._store, "validated", {
435
+ return c._store = {}, Object.defineProperty(c._store, "validated", {
429
436
  configurable: !1,
430
437
  enumerable: !1,
431
438
  writable: !0,
432
439
  value: !1
433
- }), Object.defineProperty(u, "_self", {
440
+ }), Object.defineProperty(c, "_self", {
434
441
  configurable: !1,
435
442
  enumerable: !1,
436
443
  writable: !1,
437
- value: s
438
- }), Object.defineProperty(u, "_source", {
444
+ value: o
445
+ }), Object.defineProperty(c, "_source", {
439
446
  configurable: !1,
440
447
  enumerable: !1,
441
448
  writable: !1,
442
449
  value: f
443
- }), Object.freeze && (Object.freeze(u.props), Object.freeze(u)), u;
450
+ }), Object.freeze && (Object.freeze(c.props), Object.freeze(c)), c;
444
451
  };
445
- function dr(e, t, i, s, f) {
452
+ function lr(e, n, s, o, f) {
446
453
  {
447
- var d, l = {}, u = null, C = null;
448
- i !== void 0 && (xe(i), u = "" + i), sr(t) && (xe(t.key), u = "" + t.key), or(t) && (C = t.ref, cr(t, f));
449
- for (d in t)
450
- K.call(t, d) && !ir.hasOwnProperty(d) && (l[d] = t[d]);
454
+ var d, u = {}, c = null, y = null;
455
+ s !== void 0 && (ye(s), c = "" + s), ar(n) && (ye(n.key), c = "" + n.key), nr(n) && (y = n.ref, sr(n, f));
456
+ for (d in n)
457
+ J.call(n, d) && !tr.hasOwnProperty(d) && (u[d] = n[d]);
451
458
  if (e && e.defaultProps) {
452
- var v = e.defaultProps;
453
- for (d in v)
454
- l[d] === void 0 && (l[d] = v[d]);
459
+ var _ = e.defaultProps;
460
+ for (d in _)
461
+ u[d] === void 0 && (u[d] = _[d]);
455
462
  }
456
- if (u || C) {
457
- var m = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
458
- u && ur(l, m), C && lr(l, m);
463
+ if (c || y) {
464
+ var v = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
465
+ c && ir(u, v), y && or(u, v);
459
466
  }
460
- return fr(e, u, C, f, s, M.current, l);
467
+ return cr(e, c, y, f, o, L.current, u);
461
468
  }
462
469
  }
463
- var ae = F.ReactCurrentOwner, we = F.ReactDebugCurrentFrame;
464
- function N(e) {
470
+ var re = N.ReactCurrentOwner, Ce = N.ReactDebugCurrentFrame;
471
+ function D(e) {
465
472
  if (e) {
466
- var t = e._owner, i = G(e.type, e._source, t ? t.type : null);
467
- we.setExtraStackFrame(i);
473
+ var n = e._owner, s = q(e.type, e._source, n ? n.type : null);
474
+ Ce.setExtraStackFrame(s);
468
475
  } else
469
- we.setExtraStackFrame(null);
476
+ Ce.setExtraStackFrame(null);
470
477
  }
471
- var ie;
472
- ie = !1;
473
- function oe(e) {
474
- return typeof e == "object" && e !== null && e.$$typeof === n;
478
+ var te;
479
+ te = !1;
480
+ function ne(e) {
481
+ return typeof e == "object" && e !== null && e.$$typeof === a;
475
482
  }
476
- function Se() {
483
+ function Re() {
477
484
  {
478
- if (ae.current) {
479
- var e = S(ae.current.type);
485
+ if (re.current) {
486
+ var e = k(re.current.type);
480
487
  if (e)
481
488
  return `
482
489
 
@@ -485,727 +492,510 @@ Check the render method of \`` + e + "`.";
485
492
  return "";
486
493
  }
487
494
  }
488
- function _r(e) {
495
+ function ur(e) {
489
496
  {
490
497
  if (e !== void 0) {
491
- var t = e.fileName.replace(/^.*[\\\/]/, ""), i = e.lineNumber;
498
+ var n = e.fileName.replace(/^.*[\\\/]/, ""), s = e.lineNumber;
492
499
  return `
493
500
 
494
- Check your code at ` + t + ":" + i + ".";
501
+ Check your code at ` + n + ":" + s + ".";
495
502
  }
496
503
  return "";
497
504
  }
498
505
  }
499
- var Te = {};
500
- function vr(e) {
506
+ var ke = {};
507
+ function fr(e) {
501
508
  {
502
- var t = Se();
503
- if (!t) {
504
- var i = typeof e == "string" ? e : e.displayName || e.name;
505
- i && (t = `
509
+ var n = Re();
510
+ if (!n) {
511
+ var s = typeof e == "string" ? e : e.displayName || e.name;
512
+ s && (n = `
506
513
 
507
- Check the top-level render call using <` + i + ">.");
514
+ Check the top-level render call using <` + s + ">.");
508
515
  }
509
- return t;
516
+ return n;
510
517
  }
511
518
  }
512
- function Pe(e, t) {
519
+ function we(e, n) {
513
520
  {
514
521
  if (!e._store || e._store.validated || e.key != null)
515
522
  return;
516
523
  e._store.validated = !0;
517
- var i = vr(t);
518
- if (Te[i])
524
+ var s = fr(n);
525
+ if (ke[s])
519
526
  return;
520
- Te[i] = !0;
521
- var s = "";
522
- e && e._owner && e._owner !== ae.current && (s = " It was passed a child from " + S(e._owner.type) + "."), N(e), E('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', i, s), N(null);
527
+ ke[s] = !0;
528
+ var o = "";
529
+ e && e._owner && e._owner !== re.current && (o = " It was passed a child from " + k(e._owner.type) + "."), D(e), b('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', s, o), D(null);
523
530
  }
524
531
  }
525
- function Oe(e, t) {
532
+ function Se(e, n) {
526
533
  {
527
534
  if (typeof e != "object")
528
535
  return;
529
- if (te(e))
530
- for (var i = 0; i < e.length; i++) {
531
- var s = e[i];
532
- oe(s) && Pe(s, t);
536
+ if (Q(e))
537
+ for (var s = 0; s < e.length; s++) {
538
+ var o = e[s];
539
+ ne(o) && we(o, n);
533
540
  }
534
- else if (oe(e))
541
+ else if (ne(e))
535
542
  e._store && (e._store.validated = !0);
536
543
  else if (e) {
537
- var f = We(e);
544
+ var f = Ie(e);
538
545
  if (typeof f == "function" && f !== e.entries)
539
- for (var d = f.call(e), l; !(l = d.next()).done; )
540
- oe(l.value) && Pe(l.value, t);
546
+ for (var d = f.call(e), u; !(u = d.next()).done; )
547
+ ne(u.value) && we(u.value, n);
541
548
  }
542
549
  }
543
550
  }
544
- function hr(e) {
551
+ function dr(e) {
545
552
  {
546
- var t = e.type;
547
- if (t == null || typeof t == "string")
553
+ var n = e.type;
554
+ if (n == null || typeof n == "string")
548
555
  return;
549
- var i;
550
- if (typeof t == "function")
551
- i = t.propTypes;
552
- else if (typeof t == "object" && (t.$$typeof === b || t.$$typeof === g))
553
- i = t.propTypes;
556
+ var s;
557
+ if (typeof n == "function")
558
+ s = n.propTypes;
559
+ else if (typeof n == "object" && (n.$$typeof === x || // Note: Memo only checks outer props here.
560
+ // Inner props are checked in the reconciler.
561
+ n.$$typeof === j))
562
+ s = n.propTypes;
554
563
  else
555
564
  return;
556
- if (i) {
557
- var s = S(t);
558
- rr(i, e.props, "prop", s, e);
559
- } else if (t.PropTypes !== void 0 && !ie) {
560
- ie = !0;
561
- var f = S(t);
562
- E("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", f || "Unknown");
565
+ if (s) {
566
+ var o = k(n);
567
+ Xe(s, e.props, "prop", o, e);
568
+ } else if (n.PropTypes !== void 0 && !te) {
569
+ te = !0;
570
+ var f = k(n);
571
+ b("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", f || "Unknown");
563
572
  }
564
- typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && E("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
573
+ typeof n.getDefaultProps == "function" && !n.getDefaultProps.isReactClassApproved && b("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
565
574
  }
566
575
  }
567
- function mr(e) {
576
+ function _r(e) {
568
577
  {
569
- for (var t = Object.keys(e.props), i = 0; i < t.length; i++) {
570
- var s = t[i];
571
- if (s !== "children" && s !== "key") {
572
- N(e), E("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", s), N(null);
578
+ for (var n = Object.keys(e.props), s = 0; s < n.length; s++) {
579
+ var o = n[s];
580
+ if (o !== "children" && o !== "key") {
581
+ D(e), b("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", o), D(null);
573
582
  break;
574
583
  }
575
584
  }
576
- e.ref !== null && (N(e), E("Invalid attribute `ref` supplied to `React.Fragment`."), N(null));
585
+ e.ref !== null && (D(e), b("Invalid attribute `ref` supplied to `React.Fragment`."), D(null));
577
586
  }
578
587
  }
579
- function je(e, t, i, s, f, d) {
588
+ function Te(e, n, s, o, f, d) {
580
589
  {
581
- var l = Je(e);
582
- if (!l) {
583
- var u = "";
584
- (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.");
585
- var C = _r(f);
586
- C ? u += C : u += Se();
587
- var v;
588
- e === null ? v = "null" : te(e) ? v = "array" : e !== void 0 && e.$$typeof === n ? (v = "<" + (S(e.type) || "Unknown") + " />", u = " Did you accidentally export a JSX literal instead of a component?") : v = typeof e, E("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", v, u);
590
+ var u = Be(e);
591
+ if (!u) {
592
+ var c = "";
593
+ (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (c += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
594
+ var y = ur(f);
595
+ y ? c += y : c += Re();
596
+ var _;
597
+ e === null ? _ = "null" : Q(e) ? _ = "array" : e !== void 0 && e.$$typeof === a ? (_ = "<" + (k(e.type) || "Unknown") + " />", c = " Did you accidentally export a JSX literal instead of a component?") : _ = typeof e, b("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", _, c);
589
598
  }
590
- var m = dr(e, t, i, f, d);
591
- if (m == null)
592
- return m;
593
- if (l) {
594
- var x = t.children;
595
- if (x !== void 0)
596
- if (s)
597
- if (te(x)) {
598
- for (var I = 0; I < x.length; I++)
599
- Oe(x[I], e);
600
- Object.freeze && Object.freeze(x);
599
+ var v = lr(e, n, s, f, d);
600
+ if (v == null)
601
+ return v;
602
+ if (u) {
603
+ var g = n.children;
604
+ if (g !== void 0)
605
+ if (o)
606
+ if (Q(g)) {
607
+ for (var F = 0; F < g.length; F++)
608
+ Se(g[F], e);
609
+ Object.freeze && Object.freeze(g);
601
610
  } else
602
- 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.");
611
+ b("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
603
612
  else
604
- Oe(x, e);
613
+ Se(g, e);
605
614
  }
606
- return e === c ? mr(m) : hr(m), m;
615
+ return e === l ? _r(v) : dr(v), v;
607
616
  }
608
617
  }
609
- function pr(e, t, i) {
610
- return je(e, t, i, !0);
618
+ function vr(e, n, s) {
619
+ return Te(e, n, s, !0);
611
620
  }
612
- function br(e, t, i) {
613
- return je(e, t, i, !1);
621
+ function hr(e, n, s) {
622
+ return Te(e, n, s, !1);
614
623
  }
615
- var yr = br, gr = pr;
616
- Y.Fragment = c, Y.jsx = yr, Y.jsxs = gr;
617
- }()), Y;
624
+ var xr = hr, mr = vr;
625
+ W.Fragment = l, W.jsx = xr, W.jsxs = mr;
626
+ }()), W;
618
627
  }
619
- (function(r) {
620
- process.env.NODE_ENV === "production" ? r.exports = Er() : r.exports = Cr();
621
- })(X);
622
- const U = X.exports.Fragment, a = X.exports.jsx, h = X.exports.jsxs, xr = ({
623
- children: r,
624
- ...n
625
- }) => /* @__PURE__ */ a("menu", {
626
- children: r
627
- });
628
- const Rr = ({
629
- children: r,
630
- ...n
631
- }) => /* @__PURE__ */ h("header", {
632
- children: ["xz", r]
633
- }), kr = "_notice_820sc_2", wr = "_error_820sc_9", Sr = "_success_820sc_12", Tr = "_remark_820sc_15", Pr = "_copy_820sc_18", Or = {
634
- notice: kr,
635
- error: wr,
636
- success: Sr,
637
- remark: Tr,
638
- copy: Pr,
628
+ process.env.NODE_ENV === "production" ? ae.exports = pr() : ae.exports = jr();
629
+ var r = ae.exports;
630
+ const br = ({ children: t, ...a }) => /* @__PURE__ */ r.jsx("menu", { children: t }), yr = ({ children: t, ...a }) => /* @__PURE__ */ r.jsxs("header", { children: [
631
+ "xz",
632
+ t
633
+ ] }), gr = "_notice_820sc_2", Er = "_error_820sc_9", Cr = "_success_820sc_12", Rr = "_remark_820sc_15", kr = "_copy_820sc_18", wr = {
634
+ notice: gr,
635
+ error: Er,
636
+ success: Cr,
637
+ remark: Rr,
638
+ copy: kr,
639
639
  "show-notice": "_show-notice_820sc_1",
640
640
  "hide-notice": "_hide-notice_820sc_1"
641
641
  };
642
- let j = {};
643
- function jr() {
644
- let [r, n] = R.useState([]);
645
- return j.set = (o) => {
646
- n([...r, o]);
647
- }, j.del = (o) => {
648
- n(r.filter((c) => c.key !== o));
649
- }, r.length === 0 ? "" : /* @__PURE__ */ a("ul", {
650
- className: Or.notice,
651
- children: r.map((o) => o.item)
652
- });
642
+ let P = {};
643
+ function Sr() {
644
+ let [t, a] = E.useState([]);
645
+ return P.set = (i) => {
646
+ a([...t, i]);
647
+ }, P.del = (i) => {
648
+ a(t.filter((l) => l.key !== i));
649
+ }, t.length === 0 ? "" : /* @__PURE__ */ r.jsx("ul", { className: wr.notice, children: t.map((i) => i.item) });
653
650
  }
654
- function V({
655
- data: r
656
- }) {
657
- let [n, o] = R.useState("show");
658
- R.useEffect(() => {
651
+ function U({ data: t }) {
652
+ let [a, i] = E.useState("show");
653
+ E.useEffect(() => {
659
654
  setTimeout(function() {
660
- o("hide");
655
+ i("hide");
661
656
  }, 1800), setTimeout(function() {
662
- j.del(r.key);
657
+ P.del(t.key);
663
658
  }, 2500);
664
- }, [r.key]);
665
- let c, _;
666
- switch (r.type) {
659
+ }, [t.key]);
660
+ let l, h;
661
+ switch (t.type) {
667
662
  case "error":
668
- c = /* @__PURE__ */ a(z.error, {}), _ = "\u041E\u0448\u0438\u0431\u043A\u0430:";
663
+ l = /* @__PURE__ */ r.jsx(z.error, {}), h = "Ошибка:";
669
664
  break;
670
665
  case "success":
671
- c = /* @__PURE__ */ a(z.success, {}), _ = "\u0418\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044F:";
666
+ l = /* @__PURE__ */ r.jsx(z.success, {}), h = "Информация:";
672
667
  break;
673
668
  case "copy":
674
- c = /* @__PURE__ */ a(z.success, {}), _ = "\u041A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u0435:";
669
+ l = /* @__PURE__ */ r.jsx(z.success, {}), h = "Копирование:";
675
670
  break;
676
671
  case "remark":
677
- c = /* @__PURE__ */ a(z.success, {}), _ = "\u041F\u043E\u0434\u0441\u043A\u0430\u0437\u043A\u0430:";
672
+ l = /* @__PURE__ */ r.jsx(z.success, {}), h = "Подсказка:";
678
673
  break;
679
674
  default:
680
- c = /* @__PURE__ */ a(z.success, {}), _ = "\u041F\u0440\u0435\u0434\u0443\u043F\u0440\u0435\u0436\u0434\u0435\u043D\u0438\u0435:";
675
+ l = /* @__PURE__ */ r.jsx(z.success, {}), h = "Предупреждение:";
681
676
  break;
682
677
  }
683
- return /* @__PURE__ */ h("li", {
684
- className: "item " + r.type,
685
- "data-status": n,
686
- children: [c, /* @__PURE__ */ a("b", {
687
- children: _
688
- }), /* @__PURE__ */ a("p", {
689
- children: r.text
690
- })]
691
- });
678
+ return /* @__PURE__ */ r.jsxs("li", { className: "item " + t.type, "data-status": a, children: [
679
+ l,
680
+ /* @__PURE__ */ r.jsx("b", { children: h }),
681
+ /* @__PURE__ */ r.jsx("p", { children: t.text })
682
+ ] });
692
683
  }
693
- function Ar(r) {
694
- let n = Date.now(), o = {
695
- key: n,
696
- ...r
697
- };
698
- j.set({
699
- item: /* @__PURE__ */ a(V, {
700
- data: o
701
- }, n),
702
- key: n
703
- });
684
+ function Tr(t) {
685
+ let a = Date.now(), i = { key: a, ...t };
686
+ P.set({ item: /* @__PURE__ */ r.jsx(U, { data: i }, a), key: a });
704
687
  }
705
- function $r(r) {
706
- let n = Date.now(), o = {
707
- key: n,
708
- text: r,
709
- type: "error"
710
- };
711
- j.set({
712
- item: /* @__PURE__ */ a(V, {
713
- data: o
714
- }, n),
715
- key: n
716
- });
688
+ function Pr(t) {
689
+ let a = Date.now(), i = { key: a, text: t, type: "error" };
690
+ P.set({ item: /* @__PURE__ */ r.jsx(U, { data: i }, a), key: a });
717
691
  }
718
- function zr(r) {
719
- let n = Date.now(), o = {
720
- key: n,
721
- text: r,
722
- type: "success"
723
- };
724
- j.set({
725
- item: /* @__PURE__ */ a(V, {
726
- data: o
727
- }, n),
728
- key: n
729
- });
692
+ function Or(t) {
693
+ let a = Date.now(), i = { key: a, text: t, type: "success" };
694
+ P.set({ item: /* @__PURE__ */ r.jsx(U, { data: i }, a), key: a });
730
695
  }
731
- function Dr(r) {
732
- let n = Date.now(), o = {
733
- key: n,
734
- text: r,
735
- type: "remark"
736
- };
737
- j.set({
738
- item: /* @__PURE__ */ a(V, {
739
- data: o
740
- }, n),
741
- key: n
742
- });
696
+ function $r(t) {
697
+ let a = Date.now(), i = { key: a, text: t, type: "remark" };
698
+ P.set({ item: /* @__PURE__ */ r.jsx(U, { data: i }, a), key: a });
743
699
  }
744
- function Fr(r) {
745
- let n = Date.now(), o = {
746
- key: n,
747
- text: r,
748
- type: "copy"
749
- };
750
- j.set({
751
- item: /* @__PURE__ */ a(V, {
752
- data: o
753
- }, n),
754
- key: n
755
- });
700
+ function zr(t) {
701
+ let a = Date.now(), i = { key: a, text: t, type: "copy" };
702
+ P.set({ item: /* @__PURE__ */ r.jsx(U, { data: i }, a), key: a });
756
703
  }
757
704
  const z = {};
758
- z.error = () => /* @__PURE__ */ h("svg", {
759
- viewBox: "0 0 24 24",
760
- fill: "none",
761
- children: [/* @__PURE__ */ a("path", {
762
- d: "M12 22C7.28595 22 4.92893 22 3.46447 20.5355C2 19.0711 2 16.714 2 12C2 7.28595 2 4.92893 3.46447 3.46447C4.92893 2 7.28595 2 12 2C16.714 2 19.0711 2 20.5355 3.46447C22 4.92893 22 7.28595 22 12C22 16.714 22 19.0711 20.5355 20.5355C19.0711 22 16.714 22 12 22Z",
763
- fill: "#bb2014"
764
- }), /* @__PURE__ */ a("path", {
765
- d: "M8.96967 8.96967C9.26256 8.67678 9.73744 8.67678 10.0303 8.96967L12 10.9394L13.9697 8.96969C14.2626 8.6768 14.7374 8.6768 15.0303 8.96969C15.3232 9.26258 15.3232 9.73746 15.0303 10.0303L13.0607 12L15.0303 13.9697C15.3232 14.2625 15.3232 14.7374 15.0303 15.0303C14.7374 15.3232 14.2625 15.3232 13.9696 15.0303L12 13.0607L10.0304 15.0303C9.73746 15.3232 9.26258 15.3232 8.96969 15.0303C8.6768 14.7374 8.6768 14.2626 8.96969 13.9697L10.9394 12L8.96967 10.0303C8.67678 9.73744 8.67678 9.26256 8.96967 8.96967Z",
766
- fill: "#fff"
767
- })]
768
- });
769
- z.success = () => /* @__PURE__ */ h("svg", {
770
- viewBox: "0 0 24 24",
771
- fill: "none",
772
- children: [/* @__PURE__ */ a("path", {
773
- d: "M12 22C7.28595 22 4.92893 22 3.46447 20.5355C2 19.0711 2 16.714 2 12C2 7.28595 2 4.92893 3.46447 3.46447C4.92893 2 7.28595 2 12 2C16.714 2 19.0711 2 20.5355 3.46447C22 4.92893 22 7.28595 22 12C22 16.714 22 19.0711 20.5355 20.5355C19.0711 22 16.714 22 12 22Z",
774
- fill: "#367738"
775
- }), /* @__PURE__ */ a("path", {
776
- d: "M16.0303 8.96967C16.3232 9.26256 16.3232 9.73744 16.0303 10.0303L11.0303 15.0303C10.7374 15.3232 10.2626 15.3232 9.96967 15.0303L7.96967 13.0303C7.67678 12.7374 7.67678 12.2626 7.96967 11.9697C8.26256 11.6768 8.73744 11.6768 9.03033 11.9697L10.5 13.4393L14.9697 8.96967C15.2626 8.67678 15.7374 8.67678 16.0303 8.96967Z",
777
- fill: "#fff"
778
- })]
779
- });
780
- const Nr = "_alerts_1e9y0_1", Ir = "_menuAnimation_1e9y0_1", Lr = "_menuItemAnimation_1e9y0_1", Mr = "_allert_1e9y0_111", Wr = {
781
- alerts: Nr,
782
- menuAnimation: Ir,
783
- menuItemAnimation: Lr,
705
+ z.error = () => /* @__PURE__ */ r.jsxs("svg", { viewBox: "0 0 24 24", fill: "none", children: [
706
+ /* @__PURE__ */ r.jsx(
707
+ "path",
708
+ {
709
+ d: "M12 22C7.28595 22 4.92893 22 3.46447 20.5355C2 19.0711 2 16.714 2 12C2 7.28595 2 4.92893 3.46447 3.46447C4.92893 2 7.28595 2 12 2C16.714 2 19.0711 2 20.5355 3.46447C22 4.92893 22 7.28595 22 12C22 16.714 22 19.0711 20.5355 20.5355C19.0711 22 16.714 22 12 22Z",
710
+ fill: "#bb2014"
711
+ }
712
+ ),
713
+ /* @__PURE__ */ r.jsx(
714
+ "path",
715
+ {
716
+ d: "M8.96967 8.96967C9.26256 8.67678 9.73744 8.67678 10.0303 8.96967L12 10.9394L13.9697 8.96969C14.2626 8.6768 14.7374 8.6768 15.0303 8.96969C15.3232 9.26258 15.3232 9.73746 15.0303 10.0303L13.0607 12L15.0303 13.9697C15.3232 14.2625 15.3232 14.7374 15.0303 15.0303C14.7374 15.3232 14.2625 15.3232 13.9696 15.0303L12 13.0607L10.0304 15.0303C9.73746 15.3232 9.26258 15.3232 8.96969 15.0303C8.6768 14.7374 8.6768 14.2626 8.96969 13.9697L10.9394 12L8.96967 10.0303C8.67678 9.73744 8.67678 9.26256 8.96967 8.96967Z",
717
+ fill: "#fff"
718
+ }
719
+ )
720
+ ] });
721
+ z.success = () => /* @__PURE__ */ r.jsxs("svg", { viewBox: "0 0 24 24", fill: "none", children: [
722
+ /* @__PURE__ */ r.jsx(
723
+ "path",
724
+ {
725
+ d: "M12 22C7.28595 22 4.92893 22 3.46447 20.5355C2 19.0711 2 16.714 2 12C2 7.28595 2 4.92893 3.46447 3.46447C4.92893 2 7.28595 2 12 2C16.714 2 19.0711 2 20.5355 3.46447C22 4.92893 22 7.28595 22 12C22 16.714 22 19.0711 20.5355 20.5355C19.0711 22 16.714 22 12 22Z",
726
+ fill: "#367738"
727
+ }
728
+ ),
729
+ /* @__PURE__ */ r.jsx(
730
+ "path",
731
+ {
732
+ d: "M16.0303 8.96967C16.3232 9.26256 16.3232 9.73744 16.0303 10.0303L11.0303 15.0303C10.7374 15.3232 10.2626 15.3232 9.96967 15.0303L7.96967 13.0303C7.67678 12.7374 7.67678 12.2626 7.96967 11.9697C8.26256 11.6768 8.73744 11.6768 9.03033 11.9697L10.5 13.4393L14.9697 8.96967C15.2626 8.67678 15.7374 8.67678 16.0303 8.96967Z",
733
+ fill: "#fff"
734
+ }
735
+ )
736
+ ] });
737
+ const Ar = "_alerts_1e9y0_1", Nr = "_menuAnimation_1e9y0_1", Dr = "_menuItemAnimation_1e9y0_1", Fr = "_allert_1e9y0_111", Ir = {
738
+ alerts: Ar,
739
+ menuAnimation: Nr,
740
+ menuItemAnimation: Dr,
784
741
  "--body": "_--body_1e9y0_103",
785
- allert: Mr,
742
+ allert: Fr,
786
743
  "--form": "_--form_1e9y0_111"
787
744
  };
788
- let B = {};
789
- function Yr() {
790
- let [r, n] = R.useState("");
791
- return B.set = (o) => n(o), B.del = () => n(""), /* @__PURE__ */ a(U, {
792
- children: r
793
- });
745
+ let Y = {};
746
+ function Lr() {
747
+ let [t, a] = E.useState("");
748
+ return Y.set = (i) => a(i), Y.del = () => a(""), /* @__PURE__ */ r.jsx(r.Fragment, { children: t });
794
749
  }
795
- const Br = ({
796
- data: r,
797
- callback: n
798
- }) => (r.button = r.button === void 0 ? "\u041F\u043E\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u044C" : r.button, /* @__PURE__ */ h("div", {
799
- className: Wr.alerts,
800
- children: [/* @__PURE__ */ h("dl", {
801
- children: [/* @__PURE__ */ a("dt", {
802
- children: r.title
803
- }), /* @__PURE__ */ a("dd", {
804
- children: r.text
805
- }), /* @__PURE__ */ a("ul", {
806
- children: /* @__PURE__ */ a("button", {
807
- "data-color": r.color || "blue",
750
+ const Mr = ({ data: t, callback: a }) => (t.button = t.button === void 0 ? "Подтвердить" : t.button, /* @__PURE__ */ r.jsxs("div", { className: Ir.alerts, children: [
751
+ /* @__PURE__ */ r.jsxs("dl", { children: [
752
+ /* @__PURE__ */ r.jsx("dt", { children: t.title }),
753
+ /* @__PURE__ */ r.jsx("dd", { children: t.text }),
754
+ /* @__PURE__ */ r.jsx("ul", { children: /* @__PURE__ */ r.jsx(
755
+ "button",
756
+ {
757
+ "data-color": t.color || "blue",
808
758
  onClick: () => {
809
- n(), B.del();
759
+ a(), Y.del();
810
760
  },
811
- children: r.button
812
- })
813
- })]
814
- }), /* @__PURE__ */ a("div", {
815
- className: "--body",
816
- onClick: B.del
817
- })]
818
- }));
819
- function Ur(r, n) {
820
- B.set(/* @__PURE__ */ a(Br, {
821
- data: r,
822
- callback: n
823
- }));
761
+ children: t.button
762
+ }
763
+ ) })
764
+ ] }),
765
+ /* @__PURE__ */ r.jsx("div", { className: "--body", onClick: Y.del })
766
+ ] }));
767
+ function Wr(t, a) {
768
+ Y.set(/* @__PURE__ */ r.jsx(Mr, { data: t, callback: a }));
824
769
  }
825
- function Vr({
826
- children: r
827
- }) {
828
- return /* @__PURE__ */ a("div", {
829
- className: "l",
830
- children: /* @__PURE__ */ a("ul", {
831
- children: r
832
- })
833
- });
770
+ function Yr({ children: t }) {
771
+ return /* @__PURE__ */ r.jsx("div", { className: "l", children: /* @__PURE__ */ r.jsx("ul", { children: t }) });
834
772
  }
835
- function qr({
836
- children: r
837
- }) {
838
- return /* @__PURE__ */ a("div", {
839
- className: "s",
840
- children: r
841
- });
773
+ function Ur({ children: t }) {
774
+ return /* @__PURE__ */ r.jsx("div", { className: "s", children: t });
842
775
  }
843
- const Hr = (r, n) => {
844
- const o = r[n];
845
- return o ? typeof o == "function" ? o() : Promise.resolve(o) : new Promise((c, _) => {
846
- (typeof queueMicrotask == "function" ? queueMicrotask : setTimeout)(_.bind(null, new Error("Unknown variable dynamic import: " + n)));
847
- });
848
- }, Jr = ({
849
- children: r,
850
- disabled: n,
851
- label: o,
852
- onClick: c
853
- }) => /* @__PURE__ */ a("button", {
854
- disabled: n,
855
- onClick: (p) => {
856
- n || c && c(p);
857
- },
858
- children: o
859
- }), Gr = "_white_6ax6z_14", Kr = "_black_6ax6z_26", Zr = "_shake_6ax6z_1", Xr = "_modal_6ax6z_73", Qr = "_o_6ax6z_83", et = "_w_6ax6z_14", rt = "_h_6ax6z_106", tt = "_l_6ax6z_120", nt = "_t_6ax6z_158", at = "_m_6ax6z_73", it = "_x_6ax6z_166", ot = "_s_6ax6z_176", st = "_c_6ax6z_181", ct = "_f_6ax6z_186", ut = "_btn_6ax6z_229", lt = "_g_6ax6z_242", ft = "_confirm_6ax6z_320", dt = "_cancel_6ax6z_325", _t = "_disabled_6ax6z_330", vt = "_active_6ax6z_387", ht = "_coincidence_6ax6z_393", O = {
860
- white: Gr,
861
- black: Kr,
862
- shake: Zr,
863
- modal: Xr,
864
- o: Qr,
865
- w: et,
866
- h: rt,
867
- l: tt,
868
- t: nt,
869
- m: at,
870
- x: it,
871
- s: ot,
872
- c: st,
873
- f: ct,
874
- btn: ut,
875
- g: lt,
776
+ const Vr = ({
777
+ children: t,
778
+ disabled: a,
779
+ label: i,
780
+ onClick: l
781
+ }) => {
782
+ const h = (m) => {
783
+ a || l && l(m);
784
+ };
785
+ return /* @__PURE__ */ r.jsx("button", { disabled: a, onClick: h, children: i });
786
+ }, Br = "_white_6ax6z_14", Hr = "_black_6ax6z_26", qr = "_shake_6ax6z_1", Jr = "_modal_6ax6z_73", Gr = "_o_6ax6z_83", Kr = "_w_6ax6z_14", Zr = "_h_6ax6z_106", Xr = "_l_6ax6z_120", Qr = "_t_6ax6z_158", et = "_m_6ax6z_73", rt = "_x_6ax6z_166", tt = "_s_6ax6z_176", nt = "_c_6ax6z_181", at = "_f_6ax6z_186", st = "_btn_6ax6z_229", it = "_g_6ax6z_242", ot = "_confirm_6ax6z_320", ct = "_cancel_6ax6z_325", lt = "_disabled_6ax6z_330", ut = "_active_6ax6z_387", ft = "_coincidence_6ax6z_393", T = {
787
+ white: Br,
788
+ black: Hr,
789
+ shake: qr,
790
+ modal: Jr,
791
+ o: Gr,
792
+ w: Kr,
793
+ h: Zr,
794
+ l: Xr,
795
+ t: Qr,
796
+ m: et,
797
+ x: rt,
798
+ s: tt,
799
+ c: nt,
800
+ f: at,
801
+ btn: st,
802
+ g: it,
876
803
  "size-a": "_size-a_6ax6z_294",
877
804
  "size-s": "_size-s_6ax6z_298",
878
805
  "size-m": "_size-m_6ax6z_302",
879
806
  "size-l": "_size-l_6ax6z_306",
880
807
  "size-x": "_size-x_6ax6z_310",
881
808
  "size-f": "_size-f_6ax6z_314",
882
- confirm: ft,
883
- cancel: dt,
884
- disabled: _t,
809
+ confirm: ot,
810
+ cancel: ct,
811
+ disabled: lt,
885
812
  await: "_await_6ax6z_337",
886
- active: vt,
887
- coincidence: ht
813
+ active: ut,
814
+ coincidence: ft
888
815
  };
889
816
  let se = {};
890
- const mt = () => {
891
- let [r, n] = R.useState([]);
817
+ const dt = () => {
818
+ let [t, a] = E.useState([]);
892
819
  return se.x = () => {
893
- n([]);
894
- }, se.add = (o) => {
895
- n([...r, o]);
896
- }, /* @__PURE__ */ a(U, {
897
- children: r.map((o) => o)
898
- });
899
- }, pt = ({
900
- children: r,
901
- title: n,
902
- button: o,
903
- tabs: c,
904
- size: _ = "m",
905
- menu: p
820
+ a([]);
821
+ }, se.add = (i) => {
822
+ a([...t, i]);
823
+ }, /* @__PURE__ */ r.jsx(r.Fragment, { children: t.map((i) => i) });
824
+ }, _t = ({
825
+ children: t,
826
+ title: a,
827
+ button: i,
828
+ tabs: l,
829
+ size: h = "m",
830
+ menu: m
906
831
  }) => {
907
- const [A, k] = R.useState(!0), b = R.useRef(), P = (g) => {
908
- if (o && o.onClick)
909
- return o.onClick({
910
- closed: k,
911
- disabled: g
912
- });
913
- }, y = () => {
914
- b.current.setAttribute("shake", !0), setTimeout(() => {
915
- b.current.setAttribute("shake", !1);
832
+ const [O, C] = E.useState(!0), x = E.useRef(), S = (j) => {
833
+ if (i && i.onClick)
834
+ return i.onClick({ closed: C, disabled: j });
835
+ }, p = () => {
836
+ x.current.setAttribute("shake", !0), setTimeout(() => {
837
+ x.current.setAttribute("shake", !1);
916
838
  }, 1e3);
917
839
  };
918
- return /* @__PURE__ */ a(U, {
919
- children: A ? /* @__PURE__ */ h("div", {
920
- className: `${O.modal} ${O.white}`,
921
- children: [/* @__PURE__ */ a("div", {
922
- className: O.o,
923
- onClick: y
924
- }), /* @__PURE__ */ h("div", {
925
- className: O.w,
926
- ref: b,
927
- children: [/* @__PURE__ */ h("div", {
928
- className: O.h,
929
- children: [/* @__PURE__ */ a("div", {
930
- className: O.t,
931
- children: n
932
- }), /* @__PURE__ */ h("div", {
933
- className: O.m,
934
- children: [c && /* @__PURE__ */ a("nav", {
935
- children: c.map((g, w) => /* @__PURE__ */ a("span", {
936
- onClick: g.onClick,
937
- className: g.active ? "active" : "",
938
- children: g.name
939
- }, w))
940
- }), p]
941
- }), /* @__PURE__ */ a("div", {
942
- className: O.x,
943
- onClick: () => {
944
- k(!1);
945
- },
946
- children: "x"
947
- })]
948
- }), r, o !== void 0 ? /* @__PURE__ */ a(Jr, {
949
- label: String(o.name),
950
- onClick: P
951
- }) : ""]
952
- })]
953
- }) : ""
954
- });
955
- }, bt = (r) => {
956
- se.add(/* @__PURE__ */ a(yt, {
957
- children: r
958
- }, String(Date.now())));
959
- }, yt = ({
960
- children: r
961
- }) => /* @__PURE__ */ a(U, {
962
- children: r
963
- }), gt = ({
964
- type: r,
965
- name: n,
966
- params: o
967
- }) => {
968
- let [c, _] = R.useState(null);
969
- return R.useEffect(() => {
970
- Hr(/* @__PURE__ */ Object.assign({}), `../modules/${r}/modal/${n}.jsx`).then((p) => {
971
- console.log(p), _(p.default.Icon(o));
972
- });
973
- }, [o.id]), /* @__PURE__ */ a(U, {
974
- children: c
975
- });
976
- }, Et = { List: Vr, Scroll: qr, Init: mt, Main: pt, Add: bt, Icon: gt }, qt = ({
977
- children: r,
978
- ...n
979
- }) => /* @__PURE__ */ h("div", {
980
- className: "app",
981
- children: [/* @__PURE__ */ a("div", {
982
- className: "payment",
983
- children: "\u0418\u0441\u0442\u0435\u043A \u0441\u0440\u043E\u043A \u043E\u043F\u043B\u0430\u0442\u044B! \u0414\u043E\u0441\u0442\u0443\u043F \u0434\u043E\u0441\u0442\u0443\u043F\u0435\u043D \u0434\u043E 16.04.2024"
984
- }), /* @__PURE__ */ a(xr, {}), /* @__PURE__ */ a(Rr, {}), /* @__PURE__ */ a(Et.Init, {}), /* @__PURE__ */ a(jr, {}), /* @__PURE__ */ a(Yr, {}), r]
985
- }), Ct = ({
986
- list: r,
987
- onClick: n,
988
- active: o,
989
- size: c,
990
- view: _
991
- }) => /* @__PURE__ */ a("nav", {
992
- children: /* @__PURE__ */ a("ul", {
993
- className: [c, _].join(" "),
994
- children: r.map((p) => /* @__PURE__ */ a(xt, {
995
- onClick: n,
996
- active: o,
997
- label: p.label,
998
- link: p.link
999
- }, p.link))
1000
- })
1001
- }), xt = ({
1002
- onClick: r,
1003
- label: n,
1004
- link: o,
1005
- active: c
1006
- }) => /* @__PURE__ */ a("li", {
1007
- "tabs-active": String(c === o),
1008
- onClick: () => r(o),
1009
- children: n
1010
- });
1011
- Ct.defaultProps = {
1012
- size: "M",
1013
- view: "H"
1014
- };
1015
- const Rt = ({
1016
- title: r = "",
1017
- button: n,
1018
- description: o = "",
1019
- children: c
1020
- }) => /* @__PURE__ */ h("fieldset", {
1021
- children: [r && /* @__PURE__ */ h("legend", {
1022
- children: [r, n && /* @__PURE__ */ a("div", {
1023
- role: "button-outline",
1024
- onClick: () => n.onClick(),
1025
- children: n.label
1026
- }), " "]
1027
- }), /* @__PURE__ */ a("ul", {
1028
- children: c
1029
- }), o && /* @__PURE__ */ a("article", {
1030
- children: o
1031
- })]
1032
- }), kt = "_setting_1jv25_2", Ie = {
1033
- setting: kt
1034
- };
1035
- console.log(Ie);
1036
- const wt = ({
1037
- children: r
1038
- }) => /* @__PURE__ */ a("div", {
1039
- className: Ie.setting,
1040
- children: r
1041
- }), St = ({
1042
- label: r,
1043
- children: n
1044
- }) => {
1045
- let [o, c] = R.useState(!1);
1046
- return /* @__PURE__ */ h("li", {
1047
- "data-item": "accordion",
1048
- children: [/* @__PURE__ */ h("dl", {
1049
- onClick: () => c(!o),
1050
- children: [/* @__PURE__ */ a("dt", {
1051
- children: r
1052
- }), /* @__PURE__ */ a("dd", {
1053
- children: /* @__PURE__ */ a("div", {
1054
- "data-close": String(o)
1055
- })
1056
- })]
1057
- }), o && /* @__PURE__ */ a("div", {
1058
- children: n
1059
- })]
1060
- });
1061
- }, Tt = ({
1062
- label: r,
1063
- onClick: n,
1064
- button: o
1065
- }) => /* @__PURE__ */ a("li", {
1066
- children: /* @__PURE__ */ h("dl", {
1067
- children: [/* @__PURE__ */ a("dt", {
1068
- children: r
1069
- }), /* @__PURE__ */ a("dd", {
1070
- role: "button",
1071
- onClick: () => n(),
1072
- children: o
1073
- })]
1074
- })
1075
- }), Pt = ({
1076
- active: r,
1077
- onClick: n
1078
- }) => (console.log(r), r = typeof r == "number" ? Boolean(r) : r, /* @__PURE__ */ a("div", {
1079
- role: "switch",
1080
- onClick: () => {
1081
- console.log("Wewew"), n();
840
+ return /* @__PURE__ */ r.jsx(r.Fragment, { children: O ? /* @__PURE__ */ r.jsxs(
841
+ "div",
842
+ {
843
+ className: `${T.modal} ${T.white}`,
844
+ children: [
845
+ /* @__PURE__ */ r.jsx("div", { className: T.o, onClick: p }),
846
+ /* @__PURE__ */ r.jsxs("div", { className: T.w, ref: x, children: [
847
+ /* @__PURE__ */ r.jsxs("div", { className: T.h, children: [
848
+ /* @__PURE__ */ r.jsx("div", { className: T.t, children: a }),
849
+ /* @__PURE__ */ r.jsxs("div", { className: T.m, children: [
850
+ l && /* @__PURE__ */ r.jsx("nav", { children: l.map((j, R) => /* @__PURE__ */ r.jsx(
851
+ "span",
852
+ {
853
+ onClick: j.onClick,
854
+ className: j.active ? "active" : "",
855
+ children: j.name
856
+ },
857
+ R
858
+ )) }),
859
+ m
860
+ ] }),
861
+ /* @__PURE__ */ r.jsx(
862
+ "div",
863
+ {
864
+ className: T.x,
865
+ onClick: () => {
866
+ C(!1);
867
+ },
868
+ children: "x"
869
+ }
870
+ )
871
+ ] }),
872
+ t,
873
+ i !== void 0 ? /* @__PURE__ */ r.jsx(
874
+ Vr,
875
+ {
876
+ label: String(i.name),
877
+ onClick: S
878
+ }
879
+ ) : ""
880
+ ] })
881
+ ]
882
+ }
883
+ ) : "" });
884
+ }, vt = (t) => {
885
+ se.add(/* @__PURE__ */ r.jsx(ht, { children: t }, String(Date.now())));
886
+ }, ht = ({ children: t }) => /* @__PURE__ */ r.jsx(r.Fragment, { children: t }), xt = ({ type: t, name: a, params: i }) => {
887
+ let [l, h] = E.useState(null);
888
+ return E.useEffect(() => {
889
+ }, [i.id]), /* @__PURE__ */ r.jsx(r.Fragment, { children: l });
890
+ }, mt = { List: Yr, Scroll: Ur, Init: dt, Main: _t, Add: vt, Icon: xt }, Ut = ({ children: t, ...a }) => /* @__PURE__ */ r.jsxs("div", { className: "app", children: [
891
+ /* @__PURE__ */ r.jsx("div", { className: "payment", children: "Истек срок оплаты! Доступ доступен до 16.04.2024" }),
892
+ /* @__PURE__ */ r.jsx(br, {}),
893
+ /* @__PURE__ */ r.jsx(yr, {}),
894
+ /* @__PURE__ */ r.jsx(mt.Init, {}),
895
+ /* @__PURE__ */ r.jsx(Sr, {}),
896
+ /* @__PURE__ */ r.jsx(Lr, {}),
897
+ t
898
+ ] }), pt = ({ list: t, onClick: a, active: i, size: l, view: h }) => /* @__PURE__ */ r.jsx("nav", { children: /* @__PURE__ */ r.jsx("ul", { className: [l, h].join(" "), children: t.map((m) => /* @__PURE__ */ r.jsx(
899
+ jt,
900
+ {
901
+ onClick: a,
902
+ active: i,
903
+ label: m.label,
904
+ link: m.link
1082
905
  },
1083
- "aria-checked": r ? "true" : "false"
1084
- })), Ot = { Switch: Pt }, jt = ({
1085
- label: r,
1086
- onClick: n,
1087
- active: o
1088
- }) => /* @__PURE__ */ a("li", {
1089
- children: /* @__PURE__ */ h("dl", {
1090
- children: [/* @__PURE__ */ a("dt", {
1091
- children: r
1092
- }), /* @__PURE__ */ a("dd", {
1093
- children: /* @__PURE__ */ a(Ot.Switch, {
1094
- onClick: n,
1095
- active: o
1096
- })
1097
- })]
1098
- })
1099
- }), At = ({
1100
- label: r,
1101
- active: n,
1102
- options: o
1103
- }) => /* @__PURE__ */ a("li", {
1104
- children: /* @__PURE__ */ h("dl", {
1105
- children: [/* @__PURE__ */ a("dt", {
1106
- children: r
1107
- }), /* @__PURE__ */ a("dd", {
1108
- role: "info",
1109
- children: n
1110
- })]
1111
- })
1112
- }), $t = ({
1113
- label: r,
1114
- info: n
1115
- }) => /* @__PURE__ */ a("li", {
1116
- children: /* @__PURE__ */ h("dl", {
1117
- children: [/* @__PURE__ */ a("dt", {
1118
- children: r
1119
- }), /* @__PURE__ */ a("dd", {
1120
- role: "info",
1121
- children: n
1122
- })]
1123
- })
1124
- }), zt = { Accordion: St, Button: Tt, Switch: jt, Info: $t, Select: At };
1125
- function Le({
1126
- list: r,
1127
- onClick: n,
1128
- active: o,
1129
- size: c,
1130
- view: _
1131
- }) {
1132
- return /* @__PURE__ */ a("nav", {
1133
- children: /* @__PURE__ */ a("ul", {
1134
- className: [c, _].join(" "),
1135
- children: r.map((p) => /* @__PURE__ */ a(Dt, {
1136
- onClick: n,
1137
- active: o,
1138
- label: p.label,
1139
- link: p.link
1140
- }, p.link))
1141
- })
1142
- });
906
+ m.link
907
+ )) }) }), jt = ({ onClick: t, label: a, link: i, active: l }) => /* @__PURE__ */ r.jsx("li", { "tabs-active": String(l === i), onClick: () => t(i), children: a });
908
+ pt.defaultProps = { size: "M", view: "H" };
909
+ const bt = ({
910
+ title: t = "",
911
+ button: a,
912
+ description: i = "",
913
+ children: l
914
+ }) => /* @__PURE__ */ r.jsxs("fieldset", { children: [
915
+ t && /* @__PURE__ */ r.jsxs("legend", { children: [
916
+ t,
917
+ a && /* @__PURE__ */ r.jsx(
918
+ "div",
919
+ {
920
+ role: "button-outline",
921
+ onClick: () => a.onClick(),
922
+ children: a.label
923
+ }
924
+ ),
925
+ " "
926
+ ] }),
927
+ /* @__PURE__ */ r.jsx("ul", { children: l }),
928
+ i && /* @__PURE__ */ r.jsx("article", { children: i })
929
+ ] }), yt = "_setting_1jv25_2", gt = {
930
+ setting: yt
931
+ }, Et = ({ children: t }) => /* @__PURE__ */ r.jsx("div", { className: gt.setting, children: t }), Ct = ({ label: t, children: a }) => {
932
+ let [i, l] = E.useState(!1);
933
+ return /* @__PURE__ */ r.jsxs("li", { "data-item": "accordion", children: [
934
+ /* @__PURE__ */ r.jsxs("dl", { onClick: () => l(!i), children: [
935
+ /* @__PURE__ */ r.jsx("dt", { children: t }),
936
+ /* @__PURE__ */ r.jsx("dd", { children: /* @__PURE__ */ r.jsx("div", { "data-close": String(i) }) })
937
+ ] }),
938
+ i && /* @__PURE__ */ r.jsx("div", { children: a })
939
+ ] });
940
+ }, Rt = ({ label: t, onClick: a, button: i }) => /* @__PURE__ */ r.jsx("li", { children: /* @__PURE__ */ r.jsxs("dl", { children: [
941
+ /* @__PURE__ */ r.jsx("dt", { children: t }),
942
+ /* @__PURE__ */ r.jsx("dd", { role: "button", onClick: () => a(), children: i })
943
+ ] }) }), kt = ({ active: t, onClick: a }) => (console.log(t), t = typeof t == "number" ? !!t : t, /* @__PURE__ */ r.jsx(
944
+ "div",
945
+ {
946
+ role: "switch",
947
+ onClick: () => {
948
+ console.log("Wewew"), a();
949
+ },
950
+ "aria-checked": t ? "true" : "false"
951
+ }
952
+ )), wt = { Switch: kt }, St = ({ label: t, onClick: a, active: i }) => /* @__PURE__ */ r.jsx("li", { children: /* @__PURE__ */ r.jsxs("dl", { children: [
953
+ /* @__PURE__ */ r.jsx("dt", { children: t }),
954
+ /* @__PURE__ */ r.jsx("dd", { children: /* @__PURE__ */ r.jsx(wt.Switch, { onClick: a, active: i }) })
955
+ ] }) }), Tt = ({ label: t, active: a, options: i }) => /* @__PURE__ */ r.jsx("li", { children: /* @__PURE__ */ r.jsxs("dl", { children: [
956
+ /* @__PURE__ */ r.jsx("dt", { children: t }),
957
+ /* @__PURE__ */ r.jsx("dd", { role: "info", children: a })
958
+ ] }) }), Pt = ({ label: t, info: a }) => /* @__PURE__ */ r.jsx("li", { children: /* @__PURE__ */ r.jsxs("dl", { children: [
959
+ /* @__PURE__ */ r.jsx("dt", { children: t }),
960
+ /* @__PURE__ */ r.jsx("dd", { role: "info", children: a })
961
+ ] }) }), Ot = { Accordion: Ct, Button: Rt, Switch: St, Info: Pt, Select: Tt };
962
+ function De({ list: t, onClick: a, active: i, size: l, view: h }) {
963
+ return /* @__PURE__ */ r.jsx("nav", { children: /* @__PURE__ */ r.jsx("ul", { className: [l, h].join(" "), children: t.map((m) => /* @__PURE__ */ r.jsx(
964
+ $t,
965
+ {
966
+ onClick: a,
967
+ active: i,
968
+ label: m.label,
969
+ link: m.link
970
+ },
971
+ m.link
972
+ )) }) });
1143
973
  }
1144
- const Dt = ({
1145
- onClick: r,
1146
- label: n,
1147
- link: o,
1148
- active: c
1149
- }) => /* @__PURE__ */ a("li", {
1150
- "tabs-active": String(c === o),
1151
- onClick: () => r(o),
1152
- children: n
1153
- });
1154
- Le.defaultProps = {
1155
- size: "M",
1156
- view: "H"
1157
- };
1158
- const Ht = { Section: Rt, Main: wt, Item: zt, Tabs: Le }, Ft = "_h_1b5x7_1", Nt = "_t_1b5x7_10", It = "_s_1b5x7_28", Lt = "_u_1b5x7_37", Mt = "_o_1b5x7_44", Wt = "_l_1b5x7_53", Yt = "_hh_1b5x7_60", D = {
1159
- h: Ft,
1160
- t: Nt,
1161
- s: It,
1162
- u: Lt,
1163
- o: Mt,
1164
- l: Wt,
1165
- hh: Yt
1166
- }, De = ({
1167
- title: r,
1168
- children: n
1169
- }) => /* @__PURE__ */ h("div", {
1170
- className: D.h,
1171
- children: [/* @__PURE__ */ a("div", {
1172
- className: D.t,
1173
- children: r
1174
- }), n]
1175
- }), Bt = ({
1176
- children: r,
1177
- title: n
1178
- }) => /* @__PURE__ */ h("div", {
1179
- className: D.o,
1180
- children: [n && /* @__PURE__ */ a("div", {
1181
- className: D.hh,
1182
- children: n
1183
- }), r]
1184
- }), Ut = ({
1185
- children: r
1186
- }) => /* @__PURE__ */ a("div", {
1187
- className: D.u,
1188
- children: r
1189
- }), Fe = ({
1190
- children: r
1191
- }) => /* @__PURE__ */ a("div", {
1192
- className: D.s,
1193
- children: r
1194
- }), Ne = ({
1195
- children: r,
1196
- ...n
1197
- }) => /* @__PURE__ */ a("div", {
1198
- className: D.l,
1199
- children: r
1200
- }), Jt = { Header: De, Section: Fe, List: Ne, U: Ut, L: Ne, O: Bt, S: Fe, H: De }, Gt = { Send: Ar, Error: $r, Remark: Dr, Success: zr, Copy: Fr }, Kt = { Send: Ur };
974
+ const $t = ({ onClick: t, label: a, link: i, active: l }) => /* @__PURE__ */ r.jsx("li", { "tabs-active": String(l === i), onClick: () => t(i), children: a });
975
+ De.defaultProps = { size: "M", view: "H" };
976
+ const Vt = { Section: bt, Main: Et, Item: Ot, Tabs: De }, zt = "_h_1b5x7_1", At = "_t_1b5x7_10", Nt = "_s_1b5x7_28", Dt = "_u_1b5x7_37", Ft = "_o_1b5x7_44", It = "_l_1b5x7_53", Lt = "_hh_1b5x7_60", A = {
977
+ h: zt,
978
+ t: At,
979
+ s: Nt,
980
+ u: Dt,
981
+ o: Ft,
982
+ l: It,
983
+ hh: Lt
984
+ }, ze = ({ title: t, children: a }) => /* @__PURE__ */ r.jsxs("div", { className: A.h, children: [
985
+ /* @__PURE__ */ r.jsx("div", { className: A.t, children: t }),
986
+ a
987
+ ] }), Mt = ({ children: t, title: a }) => /* @__PURE__ */ r.jsxs("div", { className: A.o, children: [
988
+ a && /* @__PURE__ */ r.jsx("div", { className: A.hh, children: a }),
989
+ t
990
+ ] }), Wt = ({ children: t }) => /* @__PURE__ */ r.jsx("div", { className: A.u, children: t }), Ae = ({ children: t }) => /* @__PURE__ */ r.jsx("div", { className: A.s, children: t }), Ne = ({ children: t, ...a }) => /* @__PURE__ */ r.jsx("div", { className: A.l, children: t }), Bt = { Header: ze, Section: Ae, List: Ne, U: Wt, L: Ne, O: Mt, S: Ae, H: ze }, Ht = { Send: Tr, Error: Pr, Remark: $r, Success: Or, Copy: zr }, qt = { Send: Wr };
1201
991
  export {
1202
- Ot as Action,
1203
- Kt as Alerts,
1204
- qt as Browser,
1205
- Jr as Button,
1206
- Jt as Component,
1207
- Et as Modal,
1208
- Gt as Notice,
1209
- Ht as Setting,
1210
- Ct as Tabs
992
+ wt as Action,
993
+ qt as Alerts,
994
+ Ut as Browser,
995
+ Vr as Button,
996
+ Bt as Component,
997
+ mt as Modal,
998
+ Ht as Notice,
999
+ Vt as Setting,
1000
+ pt as Tabs
1211
1001
  };