alex-evo-sh-ui-kit 1.0.77 → 1.0.78

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.
@@ -1,7 +1,7 @@
1
- import Je, { useState as _, useCallback as k, useEffect as $, useRef as G, useMemo as Ce, createContext as Ot, useContext as Be } from "react";
2
- import Vt from "react-dom";
3
- import { NavLink as hn } from "react-router-dom";
4
- import './index.css';var dn = { exports: {} }, De = {};
1
+ import Qe, { useState as _, useCallback as k, useEffect as $, useRef as Y, useMemo as je, createContext as Dt, useContext as Ge } from "react";
2
+ import Ft from "react-dom";
3
+ import { NavLink as mn } from "react-router-dom";
4
+ import './index.css';var xn = { exports: {} }, Ae = {};
5
5
  /**
6
6
  * @license React
7
7
  * react-jsx-runtime.production.min.js
@@ -11,25 +11,25 @@ import './index.css';var dn = { exports: {} }, De = {};
11
11
  * This source code is licensed under the MIT license found in the
12
12
  * LICENSE file in the root directory of this source tree.
13
13
  */
14
- var En;
15
- function Dt() {
16
- if (En)
17
- return De;
18
- En = 1;
19
- var n = Je, t = Symbol.for("react.element"), r = Symbol.for("react.fragment"), s = Object.prototype.hasOwnProperty, c = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 };
20
- function a(o, l, u) {
21
- var h, f = {}, x = null, m = null;
22
- u !== void 0 && (x = "" + u), l.key !== void 0 && (x = "" + l.key), l.ref !== void 0 && (m = l.ref);
23
- for (h in l)
24
- s.call(l, h) && !i.hasOwnProperty(h) && (f[h] = l[h]);
25
- if (o && o.defaultProps)
26
- for (h in l = o.defaultProps, l)
27
- f[h] === void 0 && (f[h] = l[h]);
28
- return { $$typeof: t, type: o, key: x, ref: m, props: f, _owner: c.current };
14
+ var Ln;
15
+ function Pt() {
16
+ if (Ln)
17
+ return Ae;
18
+ Ln = 1;
19
+ var n = Qe, t = Symbol.for("react.element"), r = Symbol.for("react.fragment"), s = Object.prototype.hasOwnProperty, c = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 };
20
+ function l(a, o, u) {
21
+ var h, f = {}, x = null, C = null;
22
+ u !== void 0 && (x = "" + u), o.key !== void 0 && (x = "" + o.key), o.ref !== void 0 && (C = o.ref);
23
+ for (h in o)
24
+ s.call(o, h) && !i.hasOwnProperty(h) && (f[h] = o[h]);
25
+ if (a && a.defaultProps)
26
+ for (h in o = a.defaultProps, o)
27
+ f[h] === void 0 && (f[h] = o[h]);
28
+ return { $$typeof: t, type: a, key: x, ref: C, props: f, _owner: c.current };
29
29
  }
30
- return De.Fragment = r, De.jsx = a, De.jsxs = a, De;
30
+ return Ae.Fragment = r, Ae.jsx = l, Ae.jsxs = l, Ae;
31
31
  }
32
- var Fe = {};
32
+ var Ie = {};
33
33
  /**
34
34
  * @license React
35
35
  * react-jsx-runtime.development.js
@@ -39,54 +39,54 @@ var Fe = {};
39
39
  * This source code is licensed under the MIT license found in the
40
40
  * LICENSE file in the root directory of this source tree.
41
41
  */
42
- var Ln;
43
- function Ft() {
44
- return Ln || (Ln = 1, process.env.NODE_ENV !== "production" && function() {
45
- var n = Je, t = Symbol.for("react.element"), r = Symbol.for("react.portal"), s = Symbol.for("react.fragment"), c = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), a = Symbol.for("react.provider"), o = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), u = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), f = Symbol.for("react.memo"), x = Symbol.for("react.lazy"), m = Symbol.for("react.offscreen"), j = Symbol.iterator, g = "@@iterator";
42
+ var Tn;
43
+ function Ht() {
44
+ return Tn || (Tn = 1, process.env.NODE_ENV !== "production" && function() {
45
+ var n = Qe, t = Symbol.for("react.element"), r = Symbol.for("react.portal"), s = Symbol.for("react.fragment"), c = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), l = Symbol.for("react.provider"), a = Symbol.for("react.context"), o = Symbol.for("react.forward_ref"), u = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), f = Symbol.for("react.memo"), x = Symbol.for("react.lazy"), C = Symbol.for("react.offscreen"), j = Symbol.iterator, g = "@@iterator";
46
46
  function v(d) {
47
47
  if (d === null || typeof d != "object")
48
48
  return null;
49
49
  var b = j && d[j] || d[g];
50
50
  return typeof b == "function" ? b : null;
51
51
  }
52
- var C = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
52
+ var m = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
53
53
  function p(d) {
54
54
  {
55
- for (var b = arguments.length, N = new Array(b > 1 ? b - 1 : 0), R = 1; R < b; R++)
56
- N[R - 1] = arguments[R];
55
+ for (var b = arguments.length, N = new Array(b > 1 ? b - 1 : 0), E = 1; E < b; E++)
56
+ N[E - 1] = arguments[E];
57
57
  w("error", d, N);
58
58
  }
59
59
  }
60
60
  function w(d, b, N) {
61
61
  {
62
- var R = C.ReactDebugCurrentFrame, B = R.getStackAddendum();
63
- B !== "" && (b += "%s", N = N.concat([B]));
64
- var Z = N.map(function(F) {
62
+ var E = m.ReactDebugCurrentFrame, G = E.getStackAddendum();
63
+ G !== "" && (b += "%s", N = N.concat([G]));
64
+ var W = N.map(function(F) {
65
65
  return String(F);
66
66
  });
67
- Z.unshift("Warning: " + b), Function.prototype.apply.call(console[d], console, Z);
67
+ W.unshift("Warning: " + b), Function.prototype.apply.call(console[d], console, W);
68
68
  }
69
69
  }
70
- var y = !1, S = !1, V = !1, E = !1, Y = !1, U;
70
+ var y = !1, S = !1, T = !1, L = !1, H = !1, U;
71
71
  U = Symbol.for("react.module.reference");
72
72
  function M(d) {
73
- return !!(typeof d == "string" || typeof d == "function" || d === s || d === i || Y || d === c || d === u || d === h || E || d === m || y || S || V || typeof d == "object" && d !== null && (d.$$typeof === x || d.$$typeof === f || d.$$typeof === a || d.$$typeof === o || d.$$typeof === l || // This needs to include all possible module reference object
73
+ return !!(typeof d == "string" || typeof d == "function" || d === s || d === i || H || d === c || d === u || d === h || L || d === C || y || S || T || typeof d == "object" && d !== null && (d.$$typeof === x || d.$$typeof === f || d.$$typeof === l || d.$$typeof === a || d.$$typeof === o || // This needs to include all possible module reference object
74
74
  // types supported by any Flight configuration anywhere since
75
75
  // we don't know which Flight build this will end up being used
76
76
  // with.
77
77
  d.$$typeof === U || d.getModuleId !== void 0));
78
78
  }
79
- function L(d, b, N) {
80
- var R = d.displayName;
81
- if (R)
82
- return R;
83
- var B = b.displayName || b.name || "";
84
- return B !== "" ? N + "(" + B + ")" : N;
79
+ function D(d, b, N) {
80
+ var E = d.displayName;
81
+ if (E)
82
+ return E;
83
+ var G = b.displayName || b.name || "";
84
+ return G !== "" ? N + "(" + G + ")" : N;
85
85
  }
86
- function W(d) {
86
+ function Z(d) {
87
87
  return d.displayName || "Context";
88
88
  }
89
- function I(d) {
89
+ function R(d) {
90
90
  if (d == null)
91
91
  return null;
92
92
  if (typeof d.tag == "number" && p("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof d == "function")
@@ -109,21 +109,21 @@ function Ft() {
109
109
  }
110
110
  if (typeof d == "object")
111
111
  switch (d.$$typeof) {
112
- case o:
113
- var b = d;
114
- return W(b) + ".Consumer";
115
112
  case a:
116
- var N = d;
117
- return W(N._context) + ".Provider";
113
+ var b = d;
114
+ return Z(b) + ".Consumer";
118
115
  case l:
119
- return L(d, d.render, "ForwardRef");
116
+ var N = d;
117
+ return Z(N._context) + ".Provider";
118
+ case o:
119
+ return D(d, d.render, "ForwardRef");
120
120
  case f:
121
- var R = d.displayName || null;
122
- return R !== null ? R : I(d.type) || "Memo";
121
+ var E = d.displayName || null;
122
+ return E !== null ? E : R(d.type) || "Memo";
123
123
  case x: {
124
- var B = d, Z = B._payload, F = B._init;
124
+ var G = d, W = G._payload, F = G._init;
125
125
  try {
126
- return I(F(Z));
126
+ return R(F(W));
127
127
  } catch {
128
128
  return null;
129
129
  }
@@ -131,18 +131,18 @@ function Ft() {
131
131
  }
132
132
  return null;
133
133
  }
134
- var A = Object.assign, z = 0, Q, te, O, D, fe, ye, ne;
135
- function ie() {
136
- }
137
- ie.__reactDisabledLog = !0;
134
+ var A = Object.assign, X = 0, te, ie, z, O, ge, De, Fe;
138
135
  function de() {
136
+ }
137
+ de.__reactDisabledLog = !0;
138
+ function We() {
139
139
  {
140
- if (z === 0) {
141
- Q = console.log, te = console.info, O = console.warn, D = console.error, fe = console.group, ye = console.groupCollapsed, ne = console.groupEnd;
140
+ if (X === 0) {
141
+ te = console.log, ie = console.info, z = console.warn, O = console.error, ge = console.group, De = console.groupCollapsed, Fe = console.groupEnd;
142
142
  var d = {
143
143
  configurable: !0,
144
144
  enumerable: !0,
145
- value: ie,
145
+ value: de,
146
146
  writable: !0
147
147
  };
148
148
  Object.defineProperties(console, {
@@ -155,12 +155,12 @@ function Ft() {
155
155
  groupEnd: d
156
156
  });
157
157
  }
158
- z++;
158
+ X++;
159
159
  }
160
160
  }
161
- function X() {
161
+ function nn() {
162
162
  {
163
- if (z--, z === 0) {
163
+ if (X--, X === 0) {
164
164
  var d = {
165
165
  configurable: !0,
166
166
  enumerable: !0,
@@ -168,64 +168,64 @@ function Ft() {
168
168
  };
169
169
  Object.defineProperties(console, {
170
170
  log: A({}, d, {
171
- value: Q
171
+ value: te
172
172
  }),
173
173
  info: A({}, d, {
174
- value: te
174
+ value: ie
175
175
  }),
176
176
  warn: A({}, d, {
177
- value: O
177
+ value: z
178
178
  }),
179
179
  error: A({}, d, {
180
- value: D
180
+ value: O
181
181
  }),
182
182
  group: A({}, d, {
183
- value: fe
183
+ value: ge
184
184
  }),
185
185
  groupCollapsed: A({}, d, {
186
- value: ye
186
+ value: De
187
187
  }),
188
188
  groupEnd: A({}, d, {
189
- value: ne
189
+ value: Fe
190
190
  })
191
191
  });
192
192
  }
193
- z < 0 && p("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
193
+ X < 0 && p("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
194
194
  }
195
195
  }
196
- var Ee = C.ReactCurrentDispatcher, Le;
196
+ var be = m.ReactCurrentDispatcher, ye;
197
197
  function ke(d, b, N) {
198
198
  {
199
- if (Le === void 0)
199
+ if (ye === void 0)
200
200
  try {
201
201
  throw Error();
202
- } catch (B) {
203
- var R = B.stack.trim().match(/\n( *(at )?)/);
204
- Le = R && R[1] || "";
202
+ } catch (G) {
203
+ var E = G.stack.trim().match(/\n( *(at )?)/);
204
+ ye = E && E[1] || "";
205
205
  }
206
206
  return `
207
- ` + Le + d;
207
+ ` + ye + d;
208
208
  }
209
209
  }
210
- var $e = !1, Ne;
210
+ var Pe = !1, ee;
211
211
  {
212
- var ae = typeof WeakMap == "function" ? WeakMap : Map;
213
- Ne = new ae();
212
+ var ue = typeof WeakMap == "function" ? WeakMap : Map;
213
+ ee = new ue();
214
214
  }
215
- function ze(d, b) {
216
- if (!d || $e)
215
+ function he(d, b) {
216
+ if (!d || Pe)
217
217
  return "";
218
218
  {
219
- var N = Ne.get(d);
219
+ var N = ee.get(d);
220
220
  if (N !== void 0)
221
221
  return N;
222
222
  }
223
- var R;
224
- $e = !0;
225
- var B = Error.prepareStackTrace;
223
+ var E;
224
+ Pe = !0;
225
+ var G = Error.prepareStackTrace;
226
226
  Error.prepareStackTrace = void 0;
227
- var Z;
228
- Z = Ee.current, Ee.current = null, de();
227
+ var W;
228
+ W = be.current, be.current = null, We();
229
229
  try {
230
230
  if (b) {
231
231
  var F = function() {
@@ -238,63 +238,63 @@ function Ft() {
238
238
  }), typeof Reflect == "object" && Reflect.construct) {
239
239
  try {
240
240
  Reflect.construct(F, []);
241
- } catch (le) {
242
- R = le;
241
+ } catch (oe) {
242
+ E = oe;
243
243
  }
244
244
  Reflect.construct(d, [], F);
245
245
  } else {
246
246
  try {
247
247
  F.call();
248
- } catch (le) {
249
- R = le;
248
+ } catch (oe) {
249
+ E = oe;
250
250
  }
251
251
  d.call(F.prototype);
252
252
  }
253
253
  } else {
254
254
  try {
255
255
  throw Error();
256
- } catch (le) {
257
- R = le;
256
+ } catch (oe) {
257
+ E = oe;
258
258
  }
259
259
  d();
260
260
  }
261
- } catch (le) {
262
- if (le && R && typeof le.stack == "string") {
263
- for (var T = le.stack.split(`
264
- `), re = R.stack.split(`
265
- `), K = T.length - 1, q = re.length - 1; K >= 1 && q >= 0 && T[K] !== re[q]; )
261
+ } catch (oe) {
262
+ if (oe && E && typeof oe.stack == "string") {
263
+ for (var V = oe.stack.split(`
264
+ `), re = E.stack.split(`
265
+ `), K = V.length - 1, q = re.length - 1; K >= 1 && q >= 0 && V[K] !== re[q]; )
266
266
  q--;
267
267
  for (; K >= 1 && q >= 0; K--, q--)
268
- if (T[K] !== re[q]) {
268
+ if (V[K] !== re[q]) {
269
269
  if (K !== 1 || q !== 1)
270
270
  do
271
- if (K--, q--, q < 0 || T[K] !== re[q]) {
272
- var ue = `
273
- ` + T[K].replace(" at new ", " at ");
274
- return d.displayName && ue.includes("<anonymous>") && (ue = ue.replace("<anonymous>", d.displayName)), typeof d == "function" && Ne.set(d, ue), ue;
271
+ if (K--, q--, q < 0 || V[K] !== re[q]) {
272
+ var ae = `
273
+ ` + V[K].replace(" at new ", " at ");
274
+ return d.displayName && ae.includes("<anonymous>") && (ae = ae.replace("<anonymous>", d.displayName)), typeof d == "function" && ee.set(d, ae), ae;
275
275
  }
276
276
  while (K >= 1 && q >= 0);
277
277
  break;
278
278
  }
279
279
  }
280
280
  } finally {
281
- $e = !1, Ee.current = Z, X(), Error.prepareStackTrace = B;
281
+ Pe = !1, be.current = W, nn(), Error.prepareStackTrace = G;
282
282
  }
283
- var we = d ? d.displayName || d.name : "", ge = we ? ke(we) : "";
284
- return typeof d == "function" && Ne.set(d, ge), ge;
283
+ var $e = d ? d.displayName || d.name : "", we = $e ? ke($e) : "";
284
+ return typeof d == "function" && ee.set(d, we), we;
285
285
  }
286
- function qe(d, b, N) {
287
- return ze(d, !1);
286
+ function I(d, b, N) {
287
+ return he(d, !1);
288
288
  }
289
- function Te(d) {
289
+ function fe(d) {
290
290
  var b = d.prototype;
291
291
  return !!(b && b.isReactComponent);
292
292
  }
293
- function Ge(d, b, N) {
293
+ function Ee(d, b, N) {
294
294
  if (d == null)
295
295
  return "";
296
296
  if (typeof d == "function")
297
- return ze(d, Te(d));
297
+ return he(d, fe(d));
298
298
  if (typeof d == "string")
299
299
  return ke(d);
300
300
  switch (d) {
@@ -305,104 +305,104 @@ function Ft() {
305
305
  }
306
306
  if (typeof d == "object")
307
307
  switch (d.$$typeof) {
308
- case l:
309
- return qe(d.render);
308
+ case o:
309
+ return I(d.render);
310
310
  case f:
311
- return Ge(d.type, b, N);
311
+ return Ee(d.type, b, N);
312
312
  case x: {
313
- var R = d, B = R._payload, Z = R._init;
313
+ var E = d, G = E._payload, W = E._init;
314
314
  try {
315
- return Ge(Z(B), b, N);
315
+ return Ee(W(G), b, N);
316
316
  } catch {
317
317
  }
318
318
  }
319
319
  }
320
320
  return "";
321
321
  }
322
- var Oe = Object.prototype.hasOwnProperty, Cn = {}, vn = C.ReactDebugCurrentFrame;
323
- function Ye(d) {
322
+ var Ne = Object.prototype.hasOwnProperty, Ze = {}, Xe = m.ReactDebugCurrentFrame;
323
+ function ne(d) {
324
324
  if (d) {
325
- var b = d._owner, N = Ge(d.type, d._source, b ? b.type : null);
326
- vn.setExtraStackFrame(N);
325
+ var b = d._owner, N = Ee(d.type, d._source, b ? b.type : null);
326
+ Xe.setExtraStackFrame(N);
327
327
  } else
328
- vn.setExtraStackFrame(null);
328
+ Xe.setExtraStackFrame(null);
329
329
  }
330
- function ht(d, b, N, R, B) {
330
+ function tn(d, b, N, E, G) {
331
331
  {
332
- var Z = Function.call.bind(Oe);
332
+ var W = Function.call.bind(Ne);
333
333
  for (var F in d)
334
- if (Z(d, F)) {
335
- var T = void 0;
334
+ if (W(d, F)) {
335
+ var V = void 0;
336
336
  try {
337
337
  if (typeof d[F] != "function") {
338
- var re = Error((R || "React class") + ": " + N + " type `" + F + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof d[F] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
338
+ var re = Error((E || "React class") + ": " + N + " type `" + F + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof d[F] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
339
339
  throw re.name = "Invariant Violation", re;
340
340
  }
341
- T = d[F](b, F, R, N, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
341
+ V = d[F](b, F, E, N, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
342
342
  } catch (K) {
343
- T = K;
343
+ V = K;
344
344
  }
345
- T && !(T instanceof Error) && (Ye(B), p("%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).", R || "React class", N, F, typeof T), Ye(null)), T instanceof Error && !(T.message in Cn) && (Cn[T.message] = !0, Ye(B), p("Failed %s type: %s", N, T.message), Ye(null));
345
+ V && !(V instanceof Error) && (ne(G), p("%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).", E || "React class", N, F, typeof V), ne(null)), V instanceof Error && !(V.message in Ze) && (Ze[V.message] = !0, ne(G), p("Failed %s type: %s", N, V.message), ne(null));
346
346
  }
347
347
  }
348
348
  }
349
- var ft = Array.isArray;
350
- function Qe(d) {
351
- return ft(d);
349
+ var rn = Array.isArray;
350
+ function _e(d) {
351
+ return rn(d);
352
352
  }
353
- function xt(d) {
353
+ function mt(d) {
354
354
  {
355
355
  var b = typeof Symbol == "function" && Symbol.toStringTag, N = b && d[Symbol.toStringTag] || d.constructor.name || "Object";
356
356
  return N;
357
357
  }
358
358
  }
359
- function jt(d) {
359
+ function Ct(d) {
360
360
  try {
361
- return gn(d), !1;
361
+ return bn(d), !1;
362
362
  } catch {
363
363
  return !0;
364
364
  }
365
365
  }
366
- function gn(d) {
366
+ function bn(d) {
367
367
  return "" + d;
368
368
  }
369
- function pn(d) {
370
- if (jt(d))
371
- return p("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", xt(d)), gn(d);
369
+ function yn(d) {
370
+ if (Ct(d))
371
+ return p("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", mt(d)), bn(d);
372
372
  }
373
- var Ve = C.ReactCurrentOwner, mt = {
373
+ var He = m.ReactCurrentOwner, vt = {
374
374
  key: !0,
375
375
  ref: !0,
376
376
  __self: !0,
377
377
  __source: !0
378
- }, bn, yn, en;
379
- en = {};
380
- function Ct(d) {
381
- if (Oe.call(d, "ref")) {
378
+ }, kn, Nn, sn;
379
+ sn = {};
380
+ function gt(d) {
381
+ if (Ne.call(d, "ref")) {
382
382
  var b = Object.getOwnPropertyDescriptor(d, "ref").get;
383
383
  if (b && b.isReactWarning)
384
384
  return !1;
385
385
  }
386
386
  return d.ref !== void 0;
387
387
  }
388
- function vt(d) {
389
- if (Oe.call(d, "key")) {
388
+ function pt(d) {
389
+ if (Ne.call(d, "key")) {
390
390
  var b = Object.getOwnPropertyDescriptor(d, "key").get;
391
391
  if (b && b.isReactWarning)
392
392
  return !1;
393
393
  }
394
394
  return d.key !== void 0;
395
395
  }
396
- function gt(d, b) {
397
- if (typeof d.ref == "string" && Ve.current && b && Ve.current.stateNode !== b) {
398
- var N = I(Ve.current.type);
399
- en[N] || (p('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', I(Ve.current.type), d.ref), en[N] = !0);
396
+ function bt(d, b) {
397
+ if (typeof d.ref == "string" && He.current && b && He.current.stateNode !== b) {
398
+ var N = R(He.current.type);
399
+ sn[N] || (p('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', R(He.current.type), d.ref), sn[N] = !0);
400
400
  }
401
401
  }
402
- function pt(d, b) {
402
+ function yt(d, b) {
403
403
  {
404
404
  var N = function() {
405
- bn || (bn = !0, p("%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)", b));
405
+ kn || (kn = !0, p("%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)", b));
406
406
  };
407
407
  N.isReactWarning = !0, Object.defineProperty(d, "key", {
408
408
  get: N,
@@ -410,10 +410,10 @@ function Ft() {
410
410
  });
411
411
  }
412
412
  }
413
- function bt(d, b) {
413
+ function kt(d, b) {
414
414
  {
415
415
  var N = function() {
416
- yn || (yn = !0, p("%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)", b));
416
+ Nn || (Nn = !0, p("%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)", b));
417
417
  };
418
418
  N.isReactWarning = !0, Object.defineProperty(d, "ref", {
419
419
  get: N,
@@ -421,8 +421,8 @@ function Ft() {
421
421
  });
422
422
  }
423
423
  }
424
- var yt = function(d, b, N, R, B, Z, F) {
425
- var T = {
424
+ var Nt = function(d, b, N, E, G, W, F) {
425
+ var V = {
426
426
  // This tag allows us to uniquely identify this as a React Element
427
427
  $$typeof: t,
428
428
  // Built-in properties that belong on the element
@@ -431,60 +431,60 @@ function Ft() {
431
431
  ref: N,
432
432
  props: F,
433
433
  // Record the component responsible for creating this element.
434
- _owner: Z
434
+ _owner: W
435
435
  };
436
- return T._store = {}, Object.defineProperty(T._store, "validated", {
436
+ return V._store = {}, Object.defineProperty(V._store, "validated", {
437
437
  configurable: !1,
438
438
  enumerable: !1,
439
439
  writable: !0,
440
440
  value: !1
441
- }), Object.defineProperty(T, "_self", {
441
+ }), Object.defineProperty(V, "_self", {
442
442
  configurable: !1,
443
443
  enumerable: !1,
444
444
  writable: !1,
445
- value: R
446
- }), Object.defineProperty(T, "_source", {
445
+ value: E
446
+ }), Object.defineProperty(V, "_source", {
447
447
  configurable: !1,
448
448
  enumerable: !1,
449
449
  writable: !1,
450
- value: B
451
- }), Object.freeze && (Object.freeze(T.props), Object.freeze(T)), T;
450
+ value: G
451
+ }), Object.freeze && (Object.freeze(V.props), Object.freeze(V)), V;
452
452
  };
453
- function kt(d, b, N, R, B) {
453
+ function _t(d, b, N, E, G) {
454
454
  {
455
- var Z, F = {}, T = null, re = null;
456
- N !== void 0 && (pn(N), T = "" + N), vt(b) && (pn(b.key), T = "" + b.key), Ct(b) && (re = b.ref, gt(b, B));
457
- for (Z in b)
458
- Oe.call(b, Z) && !mt.hasOwnProperty(Z) && (F[Z] = b[Z]);
455
+ var W, F = {}, V = null, re = null;
456
+ N !== void 0 && (yn(N), V = "" + N), pt(b) && (yn(b.key), V = "" + b.key), gt(b) && (re = b.ref, bt(b, G));
457
+ for (W in b)
458
+ Ne.call(b, W) && !vt.hasOwnProperty(W) && (F[W] = b[W]);
459
459
  if (d && d.defaultProps) {
460
460
  var K = d.defaultProps;
461
- for (Z in K)
462
- F[Z] === void 0 && (F[Z] = K[Z]);
461
+ for (W in K)
462
+ F[W] === void 0 && (F[W] = K[W]);
463
463
  }
464
- if (T || re) {
464
+ if (V || re) {
465
465
  var q = typeof d == "function" ? d.displayName || d.name || "Unknown" : d;
466
- T && pt(F, q), re && bt(F, q);
466
+ V && yt(F, q), re && kt(F, q);
467
467
  }
468
- return yt(d, T, re, B, R, Ve.current, F);
468
+ return Nt(d, V, re, G, E, He.current, F);
469
469
  }
470
470
  }
471
- var nn = C.ReactCurrentOwner, kn = C.ReactDebugCurrentFrame;
472
- function _e(d) {
471
+ var cn = m.ReactCurrentOwner, _n = m.ReactDebugCurrentFrame;
472
+ function Re(d) {
473
473
  if (d) {
474
- var b = d._owner, N = Ge(d.type, d._source, b ? b.type : null);
475
- kn.setExtraStackFrame(N);
474
+ var b = d._owner, N = Ee(d.type, d._source, b ? b.type : null);
475
+ _n.setExtraStackFrame(N);
476
476
  } else
477
- kn.setExtraStackFrame(null);
477
+ _n.setExtraStackFrame(null);
478
478
  }
479
- var tn;
480
- tn = !1;
481
- function rn(d) {
479
+ var on;
480
+ on = !1;
481
+ function ln(d) {
482
482
  return typeof d == "object" && d !== null && d.$$typeof === t;
483
483
  }
484
- function Nn() {
484
+ function wn() {
485
485
  {
486
- if (nn.current) {
487
- var d = I(nn.current.type);
486
+ if (cn.current) {
487
+ var d = R(cn.current.type);
488
488
  if (d)
489
489
  return `
490
490
 
@@ -493,7 +493,7 @@ Check the render method of \`` + d + "`.";
493
493
  return "";
494
494
  }
495
495
  }
496
- function Nt(d) {
496
+ function wt(d) {
497
497
  {
498
498
  if (d !== void 0) {
499
499
  var b = d.fileName.replace(/^.*[\\\/]/, ""), N = d.lineNumber;
@@ -504,10 +504,10 @@ Check your code at ` + b + ":" + N + ".";
504
504
  return "";
505
505
  }
506
506
  }
507
- var _n = {};
508
- function _t(d) {
507
+ var Sn = {};
508
+ function St(d) {
509
509
  {
510
- var b = Nn();
510
+ var b = wn();
511
511
  if (!b) {
512
512
  var N = typeof d == "string" ? d : d.displayName || d.name;
513
513
  N && (b = `
@@ -517,39 +517,39 @@ Check the top-level render call using <` + N + ">.");
517
517
  return b;
518
518
  }
519
519
  }
520
- function wn(d, b) {
520
+ function Mn(d, b) {
521
521
  {
522
522
  if (!d._store || d._store.validated || d.key != null)
523
523
  return;
524
524
  d._store.validated = !0;
525
- var N = _t(b);
526
- if (_n[N])
525
+ var N = St(b);
526
+ if (Sn[N])
527
527
  return;
528
- _n[N] = !0;
529
- var R = "";
530
- d && d._owner && d._owner !== nn.current && (R = " It was passed a child from " + I(d._owner.type) + "."), _e(d), p('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', N, R), _e(null);
528
+ Sn[N] = !0;
529
+ var E = "";
530
+ d && d._owner && d._owner !== cn.current && (E = " It was passed a child from " + R(d._owner.type) + "."), Re(d), p('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', N, E), Re(null);
531
531
  }
532
532
  }
533
- function Sn(d, b) {
533
+ function En(d, b) {
534
534
  {
535
535
  if (typeof d != "object")
536
536
  return;
537
- if (Qe(d))
537
+ if (_e(d))
538
538
  for (var N = 0; N < d.length; N++) {
539
- var R = d[N];
540
- rn(R) && wn(R, b);
539
+ var E = d[N];
540
+ ln(E) && Mn(E, b);
541
541
  }
542
- else if (rn(d))
542
+ else if (ln(d))
543
543
  d._store && (d._store.validated = !0);
544
544
  else if (d) {
545
- var B = v(d);
546
- if (typeof B == "function" && B !== d.entries)
547
- for (var Z = B.call(d), F; !(F = Z.next()).done; )
548
- rn(F.value) && wn(F.value, b);
545
+ var G = v(d);
546
+ if (typeof G == "function" && G !== d.entries)
547
+ for (var W = G.call(d), F; !(F = W.next()).done; )
548
+ ln(F.value) && Mn(F.value, b);
549
549
  }
550
550
  }
551
551
  }
552
- function wt(d) {
552
+ function Mt(d) {
553
553
  {
554
554
  var b = d.type;
555
555
  if (b == null || typeof b == "string")
@@ -557,93 +557,93 @@ Check the top-level render call using <` + N + ">.");
557
557
  var N;
558
558
  if (typeof b == "function")
559
559
  N = b.propTypes;
560
- else if (typeof b == "object" && (b.$$typeof === l || // Note: Memo only checks outer props here.
560
+ else if (typeof b == "object" && (b.$$typeof === o || // Note: Memo only checks outer props here.
561
561
  // Inner props are checked in the reconciler.
562
562
  b.$$typeof === f))
563
563
  N = b.propTypes;
564
564
  else
565
565
  return;
566
566
  if (N) {
567
- var R = I(b);
568
- ht(N, d.props, "prop", R, d);
569
- } else if (b.PropTypes !== void 0 && !tn) {
570
- tn = !0;
571
- var B = I(b);
572
- p("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", B || "Unknown");
567
+ var E = R(b);
568
+ tn(N, d.props, "prop", E, d);
569
+ } else if (b.PropTypes !== void 0 && !on) {
570
+ on = !0;
571
+ var G = R(b);
572
+ p("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", G || "Unknown");
573
573
  }
574
574
  typeof b.getDefaultProps == "function" && !b.getDefaultProps.isReactClassApproved && p("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
575
575
  }
576
576
  }
577
- function St(d) {
577
+ function Et(d) {
578
578
  {
579
579
  for (var b = Object.keys(d.props), N = 0; N < b.length; N++) {
580
- var R = b[N];
581
- if (R !== "children" && R !== "key") {
582
- _e(d), p("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", R), _e(null);
580
+ var E = b[N];
581
+ if (E !== "children" && E !== "key") {
582
+ Re(d), p("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", E), Re(null);
583
583
  break;
584
584
  }
585
585
  }
586
- d.ref !== null && (_e(d), p("Invalid attribute `ref` supplied to `React.Fragment`."), _e(null));
586
+ d.ref !== null && (Re(d), p("Invalid attribute `ref` supplied to `React.Fragment`."), Re(null));
587
587
  }
588
588
  }
589
- var Mn = {};
590
- function Rn(d, b, N, R, B, Z) {
589
+ var Rn = {};
590
+ function $n(d, b, N, E, G, W) {
591
591
  {
592
592
  var F = M(d);
593
593
  if (!F) {
594
- var T = "";
595
- (d === void 0 || typeof d == "object" && d !== null && Object.keys(d).length === 0) && (T += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
596
- var re = Nt(B);
597
- re ? T += re : T += Nn();
594
+ var V = "";
595
+ (d === void 0 || typeof d == "object" && d !== null && Object.keys(d).length === 0) && (V += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
596
+ var re = wt(G);
597
+ re ? V += re : V += wn();
598
598
  var K;
599
- d === null ? K = "null" : Qe(d) ? K = "array" : d !== void 0 && d.$$typeof === t ? (K = "<" + (I(d.type) || "Unknown") + " />", T = " Did you accidentally export a JSX literal instead of a component?") : K = typeof d, p("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", K, T);
599
+ d === null ? K = "null" : _e(d) ? K = "array" : d !== void 0 && d.$$typeof === t ? (K = "<" + (R(d.type) || "Unknown") + " />", V = " Did you accidentally export a JSX literal instead of a component?") : K = typeof d, p("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", K, V);
600
600
  }
601
- var q = kt(d, b, N, B, Z);
601
+ var q = _t(d, b, N, G, W);
602
602
  if (q == null)
603
603
  return q;
604
604
  if (F) {
605
- var ue = b.children;
606
- if (ue !== void 0)
607
- if (R)
608
- if (Qe(ue)) {
609
- for (var we = 0; we < ue.length; we++)
610
- Sn(ue[we], d);
611
- Object.freeze && Object.freeze(ue);
605
+ var ae = b.children;
606
+ if (ae !== void 0)
607
+ if (E)
608
+ if (_e(ae)) {
609
+ for (var $e = 0; $e < ae.length; $e++)
610
+ En(ae[$e], d);
611
+ Object.freeze && Object.freeze(ae);
612
612
  } else
613
613
  p("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
614
614
  else
615
- Sn(ue, d);
615
+ En(ae, d);
616
616
  }
617
- if (Oe.call(b, "key")) {
618
- var ge = I(d), le = Object.keys(b).filter(function(Tt) {
619
- return Tt !== "key";
620
- }), sn = le.length > 0 ? "{key: someKey, " + le.join(": ..., ") + ": ...}" : "{key: someKey}";
621
- if (!Mn[ge + sn]) {
622
- var $t = le.length > 0 ? "{" + le.join(": ..., ") + ": ...}" : "{}";
617
+ if (Ne.call(b, "key")) {
618
+ var we = R(d), oe = Object.keys(b).filter(function(Vt) {
619
+ return Vt !== "key";
620
+ }), an = oe.length > 0 ? "{key: someKey, " + oe.join(": ..., ") + ": ...}" : "{key: someKey}";
621
+ if (!Rn[we + an]) {
622
+ var Ot = oe.length > 0 ? "{" + oe.join(": ..., ") + ": ...}" : "{}";
623
623
  p(`A props object containing a "key" prop is being spread into JSX:
624
624
  let props = %s;
625
625
  <%s {...props} />
626
626
  React keys must be passed directly to JSX without using spread:
627
627
  let props = %s;
628
- <%s key={someKey} {...props} />`, sn, ge, $t, ge), Mn[ge + sn] = !0;
628
+ <%s key={someKey} {...props} />`, an, we, Ot, we), Rn[we + an] = !0;
629
629
  }
630
630
  }
631
- return d === s ? St(q) : wt(q), q;
631
+ return d === s ? Et(q) : Mt(q), q;
632
632
  }
633
633
  }
634
- function Mt(d, b, N) {
635
- return Rn(d, b, N, !0);
636
- }
637
634
  function Rt(d, b, N) {
638
- return Rn(d, b, N, !1);
635
+ return $n(d, b, N, !0);
636
+ }
637
+ function $t(d, b, N) {
638
+ return $n(d, b, N, !1);
639
639
  }
640
- var Et = Rt, Lt = Mt;
641
- Fe.Fragment = s, Fe.jsx = Et, Fe.jsxs = Lt;
642
- }()), Fe;
640
+ var Lt = $t, Tt = Rt;
641
+ Ie.Fragment = s, Ie.jsx = Lt, Ie.jsxs = Tt;
642
+ }()), Ie;
643
643
  }
644
- process.env.NODE_ENV === "production" ? dn.exports = Dt() : dn.exports = Ft();
645
- var e = dn.exports;
646
- const Pt = (n) => Ie({ ...n, className: (n.className ?? "") + " outline-button" }), ee = (n) => Ie({ ...n, className: (n.className ?? "") + " text-button" }), Ht = (n) => Ie({ ...n, className: (n.className ?? "") + " total-button" }), At = (n) => Ie({ ...n, className: (n.className ?? "") + " filled-button" }), Ie = (n) => {
644
+ process.env.NODE_ENV === "production" ? xn.exports = Pt() : xn.exports = Ht();
645
+ var e = xn.exports;
646
+ const At = (n) => Ye({ ...n, className: (n.className ?? "") + " outline-button" }), Q = (n) => Ye({ ...n, className: (n.className ?? "") + " text-button" }), It = (n) => Ye({ ...n, className: (n.className ?? "") + " total-button" }), Bt = (n) => Ye({ ...n, className: (n.className ?? "") + " filled-button" }), Ye = (n) => {
647
647
  const t = (r) => {
648
648
  n.onClick && n.onClick(r);
649
649
  let s = document.createElement("span");
@@ -654,8 +654,8 @@ const Pt = (n) => Ie({ ...n, className: (n.className ?? "") + " outline-button"
654
654
  }, 500);
655
655
  };
656
656
  return /* @__PURE__ */ e.jsx("button", { ...n, className: (n.className ?? "") + " btn", onClick: t, children: /* @__PURE__ */ e.jsx("span", { children: n.children }) });
657
- }, Xn = ({ styleType: n = "base", ...t }) => n === "outline" ? Pt({ ...t }) : n === "text" ? ee({ ...t }) : n === "filledTotal" ? Ht({ ...t }) : n === "filled" ? At({ ...t }) : Ie({ ...t });
658
- function Bt(n) {
657
+ }, Jn = ({ styleType: n = "base", ...t }) => n === "outline" ? At({ ...t }) : n === "text" ? Q({ ...t }) : n === "filledTotal" ? It({ ...t }) : n === "filled" ? Bt({ ...t }) : Ye({ ...t });
658
+ function zt(n) {
659
659
  let t = n.getBoundingClientRect();
660
660
  return {
661
661
  top: t.top + window.pageYOffset,
@@ -664,20 +664,20 @@ function Bt(n) {
664
664
  left: t.left + window.pageXOffset
665
665
  };
666
666
  }
667
- function It(n) {
667
+ function Gt(n) {
668
668
  let t = document.createElement("span");
669
669
  t.classList.add("btn-overlay");
670
- const r = Bt(n.target);
670
+ const r = zt(n.target);
671
671
  let s = n.pageX - r.left, c = n.pageY - r.top;
672
672
  t.style.left = s + "px", t.style.top = c + "px", n.currentTarget.appendChild(t), setTimeout(() => {
673
673
  t.remove();
674
674
  }, 500);
675
675
  }
676
- const ve = ({ transparent: n, icon: t, className: r, onClick: s, onContextMenu: c, disabled: i, classNameContainer: a, style: o }) => {
677
- const l = (u) => {
678
- s && s(u), It(u);
676
+ const pe = ({ transparent: n, icon: t, className: r, onClick: s, onContextMenu: c, disabled: i, classNameContainer: l, style: a }) => {
677
+ const o = (u) => {
678
+ s && s(u), Gt(u);
679
679
  };
680
- return /* @__PURE__ */ e.jsx("button", { style: { backgroundColor: n ? "transparent" : void 0, ...o }, className: `iconbutton ${r}`, onClick: l, onContextMenu: c, disabled: i, children: /* @__PURE__ */ e.jsx("div", { className: `${a} iconbutton-container`, children: t }) });
680
+ return /* @__PURE__ */ e.jsx("button", { style: { backgroundColor: n ? "transparent" : void 0, ...a }, className: `iconbutton ${r}`, onClick: o, onContextMenu: c, disabled: i, children: /* @__PURE__ */ e.jsx("div", { className: `${l} iconbutton-container`, children: t }) });
681
681
  };
682
682
  const P = ({ className: n, onClick: t, children: r, dpi: s = "24", size: c }) => /* @__PURE__ */ e.jsx("svg", { style: { width: c, height: c }, onClick: t, className: `${n} icon-base`, viewBox: `0 0 ${s} ${s}`, xmlns: "http://www.w3.org/2000/svg", children: r });
683
683
  function J(n) {
@@ -687,14 +687,14 @@ function J(n) {
687
687
  tertiaryColor: n.tertiaryColor ?? n.baseColor ?? "var(--On-surface-color)"
688
688
  };
689
689
  }
690
- const zt = (n) => /* @__PURE__ */ e.jsx(P, { ...n, className: `${n.className} icon-trash`, children: /* @__PURE__ */ e.jsx("path", { stroke: "var(--Error-color)", fill: "none", d: "M18 6L17.1991 18.0129C17.129 19.065 17.0939 19.5911 16.8667 19.99C16.6666 20.3412 16.3648 20.6235 16.0011 20.7998C15.588 21 15.0607 21 14.0062 21H9.99377C8.93927 21 8.41202 21 7.99889 20.7998C7.63517 20.6235 7.33339 20.3412 7.13332 19.99C6.90607 19.5911 6.871 19.065 6.80086 18.0129L6 6M4 6H20M16 6L15.7294 5.18807C15.4671 4.40125 15.3359 4.00784 15.0927 3.71698C14.8779 3.46013 14.6021 3.26132 14.2905 3.13878C13.9376 3 13.523 3 12.6936 3H11.3064C10.477 3 10.0624 3 9.70951 3.13878C9.39792 3.26132 9.12208 3.46013 8.90729 3.71698C8.66405 4.00784 8.53292 4.40125 8.27064 5.18807L8 6", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }) }), Me = (n) => /* @__PURE__ */ e.jsx(P, { ...n, children: /* @__PURE__ */ e.jsx("g", { id: "Page-1", stroke: "none", "stroke-width": "1", fill: "none", "fill-rule": "evenodd", children: /* @__PURE__ */ e.jsxs("g", { id: "Close", children: [
690
+ const Yt = (n) => /* @__PURE__ */ e.jsx(P, { ...n, className: `${n.className} icon-trash`, children: /* @__PURE__ */ e.jsx("path", { stroke: "var(--Error-color)", fill: "none", d: "M18 6L17.1991 18.0129C17.129 19.065 17.0939 19.5911 16.8667 19.99C16.6666 20.3412 16.3648 20.6235 16.0011 20.7998C15.588 21 15.0607 21 14.0062 21H9.99377C8.93927 21 8.41202 21 7.99889 20.7998C7.63517 20.6235 7.33339 20.3412 7.13332 19.99C6.90607 19.5911 6.871 19.065 6.80086 18.0129L6 6M4 6H20M16 6L15.7294 5.18807C15.4671 4.40125 15.3359 4.00784 15.0927 3.71698C14.8779 3.46013 14.6021 3.26132 14.2905 3.13878C13.9376 3 13.523 3 12.6936 3H11.3064C10.477 3 10.0624 3 9.70951 3.13878C9.39792 3.26132 9.12208 3.46013 8.90729 3.71698C8.66405 4.00784 8.53292 4.40125 8.27064 5.18807L8 6", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }) }), Oe = (n) => /* @__PURE__ */ e.jsx(P, { ...n, children: /* @__PURE__ */ e.jsx("g", { id: "Page-1", stroke: "none", "stroke-width": "1", fill: "none", "fill-rule": "evenodd", children: /* @__PURE__ */ e.jsxs("g", { id: "Close", children: [
691
691
  /* @__PURE__ */ e.jsx("rect", { id: "Rectangle", "fill-rule": "nonzero", x: "0", y: "0", width: "24", height: "24" }),
692
692
  /* @__PURE__ */ e.jsx("line", { x1: "16.9999", y1: "7", x2: "7.00001", y2: "16.9999", id: "Path", stroke: "var(--On-surface-color)", "stroke-width": "2", "stroke-linecap": "round" }),
693
693
  /* @__PURE__ */ e.jsx("line", { x1: "7.00006", y1: "7", x2: "17", y2: "16.9999", id: "Path", stroke: "var(--On-surface-color)", "stroke-width": "2", "stroke-linecap": "round" })
694
- ] }) }) }), pe = (n) => {
694
+ ] }) }) }), Se = (n) => {
695
695
  const t = J(n);
696
696
  return /* @__PURE__ */ e.jsx(P, { ...n, children: /* @__PURE__ */ e.jsx("path", { fill: "none", d: "M4 12.6111L8.92308 17.5L20 6.5", stroke: t.primaryColor, "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }) });
697
- }, $n = (n) => {
697
+ }, On = (n) => {
698
698
  const t = J(n);
699
699
  return /* @__PURE__ */ e.jsxs(P, { ...n, children: [
700
700
  /* @__PURE__ */ e.jsx("g", { id: "SVGRepo_bgCarrier", "stroke-width": "0" }),
@@ -705,7 +705,7 @@ const zt = (n) => /* @__PURE__ */ e.jsx(P, { ...n, className: `${n.className} ic
705
705
  " "
706
706
  ] })
707
707
  ] });
708
- }, Gt = (n) => /* @__PURE__ */ e.jsx(P, { ...n, dpi: "512", children: /* @__PURE__ */ e.jsxs("g", { style: { width: "100%" }, children: [
708
+ }, Wt = (n) => /* @__PURE__ */ e.jsx(P, { ...n, dpi: "512", children: /* @__PURE__ */ e.jsxs("g", { style: { width: "100%" }, children: [
709
709
  /* @__PURE__ */ e.jsx("path", { d: `M133.977,245.743c4.662,1.718,9.756,2.564,15.006,2.315c7.873-0.355,15.159-3.118,21.05-7.512
710
710
  c5.9-4.4,10.456-10.425,13.043-17.428c1.73-4.668,2.564-9.759,2.319-15.007c-0.355-7.873-3.119-15.162-7.513-21.05
711
711
  c-4.398-5.894-10.432-10.457-17.431-13.052c-4.662-1.718-9.757-2.558-15-2.315c-7.877,0.361-15.162,3.118-21.056,7.513
@@ -758,7 +758,7 @@ const zt = (n) => /* @__PURE__ */ e.jsx(P, { ...n, className: `${n.className} ic
758
758
  c2.126,46.158,17.792,90.082,45.309,127.022c26.851,36.013,63.241,63.256,105.229,78.773c25.525,9.43,52.336,14.21,79.685,14.21
759
759
  c3.6,0,7.214-0.081,10.848-0.255c31.087-1.438,60.913-8.926,88.644-22.258c26.736-12.846,50.478-30.598,70.567-52.762
760
760
  C466.998,391.463,488.499,332.501,486.476,270.708z` })
761
- ] }) }), Yt = (n) => {
761
+ ] }) }), Zt = (n) => {
762
762
  const t = J(n);
763
763
  return /* @__PURE__ */ e.jsxs(P, { ...n, children: [
764
764
  /* @__PURE__ */ e.jsx("path", { stroke: t.primaryColor, fill: "none", d: "M2 12C2 8.22876 2 6.34315 3.17157 5.17157C4.34315 4 6.22876 4 10 4H14C17.7712 4 19.6569 4 20.8284 5.17157C22 6.34315 22 8.22876 22 12V14C22 17.7712 22 19.6569 20.8284 20.8284C19.6569 22 17.7712 22 14 22H10C6.22876 22 4.34315 22 3.17157 20.8284C2 19.6569 2 17.7712 2 14V12Z", "stroke-width": "1.5" }),
@@ -772,14 +772,14 @@ const zt = (n) => /* @__PURE__ */ e.jsx(P, { ...n, className: `${n.className} ic
772
772
  /* @__PURE__ */ e.jsx("path", { d: "M8 17C8 17.5523 7.55228 18 7 18C6.44772 18 6 17.5523 6 17C6 16.4477 6.44772 16 7 16C7.55228 16 8 16.4477 8 17Z", fill: t.primaryColor }),
773
773
  /* @__PURE__ */ e.jsx("path", { d: "M8 13C8 13.5523 7.55228 14 7 14C6.44772 14 6 13.5523 6 13C6 12.4477 6.44772 12 7 12C7.55228 12 8 12.4477 8 13Z", fill: t.primaryColor })
774
774
  ] });
775
- }, Un = (n) => /* @__PURE__ */ e.jsxs(P, { ...n, children: [
775
+ }, Kn = (n) => /* @__PURE__ */ e.jsxs(P, { ...n, children: [
776
776
  /* @__PURE__ */ e.jsx("circle", { stroke: "var(--On-surface-color)", fill: "none", cx: "12", cy: "12", r: "10", "stroke-width": "1.5" }),
777
777
  /* @__PURE__ */ e.jsx("path", { stroke: "var(--On-surface-color)", fill: "none", d: "M12 8V12L14.5 14.5", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })
778
- ] }), un = (n) => /* @__PURE__ */ e.jsx(P, { ...n, children: /* @__PURE__ */ e.jsx("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M5 13.75a1.75 1.75 0 1 0 0-3.5 1.75 1.75 0 0 0 0 3.5zm14 0a1.75 1.75 0 1 0 0-3.5 1.75 1.75 0 0 0 0 3.5zM13.75 12a1.75 1.75 0 1 1-3.5 0 1.75 1.75 0 0 1 3.5 0z" }) }), Wt = (n) => /* @__PURE__ */ e.jsx(P, { ...n, children: /* @__PURE__ */ e.jsx("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M12 6.75a1.75 1.75 0 1 0 0-3.5 1.75 1.75 0 0 0 0 3.5zm0 14a1.75 1.75 0 1 0 0-3.5 1.75 1.75 0 0 0 0 3.5zM13.75 12a1.75 1.75 0 1 1-3.5 0 1.75 1.75 0 0 1 3.5 0z" }) }), Jn = (n) => /* @__PURE__ */ e.jsxs(P, { ...n, dpi: "52", children: [
778
+ ] }), jn = (n) => /* @__PURE__ */ e.jsx(P, { ...n, children: /* @__PURE__ */ e.jsx("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M5 13.75a1.75 1.75 0 1 0 0-3.5 1.75 1.75 0 0 0 0 3.5zm14 0a1.75 1.75 0 1 0 0-3.5 1.75 1.75 0 0 0 0 3.5zM13.75 12a1.75 1.75 0 1 1-3.5 0 1.75 1.75 0 0 1 3.5 0z" }) }), Xt = (n) => /* @__PURE__ */ e.jsx(P, { ...n, children: /* @__PURE__ */ e.jsx("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M12 6.75a1.75 1.75 0 1 0 0-3.5 1.75 1.75 0 0 0 0 3.5zm0 14a1.75 1.75 0 1 0 0-3.5 1.75 1.75 0 0 0 0 3.5zM13.75 12a1.75 1.75 0 1 1-3.5 0 1.75 1.75 0 0 1 3.5 0z" }) }), qn = (n) => /* @__PURE__ */ e.jsxs(P, { ...n, dpi: "52", children: [
779
779
  /* @__PURE__ */ e.jsx("path", { d: "M50,12.5H2a2,2,0,0,1,0-4H50a2,2,0,0,1,0,4Z" }),
780
780
  /* @__PURE__ */ e.jsx("path", { d: "M50,28H2a2,2,0,0,1,0-4H50a2,2,0,0,1,0,4Z" }),
781
781
  /* @__PURE__ */ e.jsx("path", { d: "M50,43.5H2a2,2,0,0,1,0-4H50a2,2,0,0,1,0,4Z" })
782
- ] }), Zt = (n) => {
782
+ ] }), Ut = (n) => {
783
783
  const t = J(n);
784
784
  return /* @__PURE__ */ e.jsxs(P, { ...n, dpi: "24", children: [
785
785
  /* @__PURE__ */ e.jsx("g", { id: "SVGRepo_bgCarrier", "stroke-width": "0" }),
@@ -790,7 +790,7 @@ const zt = (n) => /* @__PURE__ */ e.jsx(P, { ...n, className: `${n.className} ic
790
790
  " "
791
791
  ] })
792
792
  ] });
793
- }, us = (n) => {
793
+ }, hs = (n) => {
794
794
  const t = J(n);
795
795
  return /* @__PURE__ */ e.jsxs(P, { ...n, dpi: "24", children: [
796
796
  /* @__PURE__ */ e.jsx("g", { id: "SVGRepo_bgCarrier", "stroke-width": "0" }),
@@ -801,7 +801,7 @@ const zt = (n) => /* @__PURE__ */ e.jsx(P, { ...n, className: `${n.className} ic
801
801
  " "
802
802
  ] })
803
803
  ] });
804
- }, hs = (n) => {
804
+ }, fs = (n) => {
805
805
  const t = J(n);
806
806
  return /* @__PURE__ */ e.jsxs(P, { ...n, dpi: "24", children: [
807
807
  /* @__PURE__ */ e.jsx("g", { id: "SVGRepo_bgCarrier", "stroke-width": "0" }),
@@ -812,16 +812,16 @@ const zt = (n) => /* @__PURE__ */ e.jsx(P, { ...n, className: `${n.className} ic
812
812
  " "
813
813
  ] })
814
814
  ] });
815
- }, Xt = (n) => /* @__PURE__ */ e.jsxs(P, { ...n, children: [
815
+ }, Jt = (n) => /* @__PURE__ */ e.jsxs(P, { ...n, children: [
816
816
  /* @__PURE__ */ e.jsx("path", { fill: "none", stroke: "var(--On-surface-color)", "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M5.5 11.1455C5.49956 8.21437 7.56975 5.69108 10.4445 5.11883C13.3193 4.54659 16.198 6.08477 17.32 8.79267C18.4421 11.5006 17.495 14.624 15.058 16.2528C12.621 17.8815 9.37287 17.562 7.3 15.4895C6.14763 14.3376 5.50014 12.775 5.5 11.1455Z", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }),
817
817
  /* @__PURE__ */ e.jsx("path", { fill: "none", d: "M15.989 15.4905L19.5 19.0015", stroke: "var(--On-surface-color)", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })
818
- ] }), fs = (n) => /* @__PURE__ */ e.jsx(P, { ...n, children: /* @__PURE__ */ e.jsx("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M16.25 3.75V5.43953L18.25 7.03953V3.75H16.25ZM19.75 8.23953V3.5C19.75 2.80964 19.1904 2.25 18.5 2.25H16C15.3097 2.25 14.75 2.80964 14.75 3.5V4.23953L14.3426 3.91362C12.9731 2.81796 11.027 2.81796 9.65742 3.91362L1.53151 10.4143C1.20806 10.6731 1.15562 11.1451 1.41438 11.4685C1.67313 11.792 2.1451 11.8444 2.46855 11.5857L3.25003 10.9605V21.25H2.00003C1.58581 21.25 1.25003 21.5858 1.25003 22C1.25003 22.4142 1.58581 22.75 2.00003 22.75H22C22.4142 22.75 22.75 22.4142 22.75 22C22.75 21.5858 22.4142 21.25 22 21.25H20.75V10.9605L21.5315 11.5857C21.855 11.8444 22.3269 11.792 22.5857 11.4685C22.8444 11.1451 22.792 10.6731 22.4685 10.4143L19.75 8.23953ZM19.25 9.76047L13.4056 5.08492C12.5838 4.42753 11.4162 4.42753 10.5945 5.08492L4.75003 9.76047V21.25H8.25003L8.25003 16.9506C8.24999 16.2858 8.24996 15.7129 8.31163 15.2542C8.37773 14.7625 8.52679 14.2913 8.90904 13.909C9.29128 13.5268 9.76255 13.3777 10.2542 13.3116C10.7129 13.2499 11.2858 13.25 11.9507 13.25H12.0494C12.7143 13.25 13.2871 13.2499 13.7459 13.3116C14.2375 13.3777 14.7088 13.5268 15.091 13.909C15.4733 14.2913 15.6223 14.7625 15.6884 15.2542C15.7501 15.7129 15.7501 16.2858 15.75 16.9506L15.75 21.25H19.25V9.76047ZM14.25 21.25V17C14.25 16.2717 14.2484 15.8009 14.2018 15.454C14.1581 15.1287 14.0875 15.0268 14.0304 14.9697C13.9733 14.9126 13.8713 14.842 13.546 14.7982C13.1991 14.7516 12.7283 14.75 12 14.75C11.2717 14.75 10.8009 14.7516 10.4541 14.7982C10.1288 14.842 10.0268 14.9126 9.9697 14.9697C9.9126 15.0268 9.84199 15.1287 9.79826 15.454C9.75162 15.8009 9.75003 16.2717 9.75003 17V21.25H14.25ZM12 8.25C11.3097 8.25 10.75 8.80964 10.75 9.5C10.75 10.1904 11.3097 10.75 12 10.75C12.6904 10.75 13.25 10.1904 13.25 9.5C13.25 8.80964 12.6904 8.25 12 8.25ZM9.25003 9.5C9.25003 7.98122 10.4812 6.75 12 6.75C13.5188 6.75 14.75 7.98122 14.75 9.5C14.75 11.0188 13.5188 12.25 12 12.25C10.4812 12.25 9.25003 11.0188 9.25003 9.5Z" }) }), Kn = (n) => /* @__PURE__ */ e.jsx(P, { ...n, children: /* @__PURE__ */ e.jsx("path", { stroke: "var(--On-surface-color)", fill: "none", d: "M8 12H16M12 8V16M21 12C21 16.9706 16.9706 21 12 21C7.02944 21 3 16.9706 3 12C3 7.02944 7.02944 3 12 3C16.9706 3 21 7.02944 21 12Z", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }) }), fn = (n) => /* @__PURE__ */ e.jsxs(P, { ...n, children: [
818
+ ] }), xs = (n) => /* @__PURE__ */ e.jsx(P, { ...n, children: /* @__PURE__ */ e.jsx("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M16.25 3.75V5.43953L18.25 7.03953V3.75H16.25ZM19.75 8.23953V3.5C19.75 2.80964 19.1904 2.25 18.5 2.25H16C15.3097 2.25 14.75 2.80964 14.75 3.5V4.23953L14.3426 3.91362C12.9731 2.81796 11.027 2.81796 9.65742 3.91362L1.53151 10.4143C1.20806 10.6731 1.15562 11.1451 1.41438 11.4685C1.67313 11.792 2.1451 11.8444 2.46855 11.5857L3.25003 10.9605V21.25H2.00003C1.58581 21.25 1.25003 21.5858 1.25003 22C1.25003 22.4142 1.58581 22.75 2.00003 22.75H22C22.4142 22.75 22.75 22.4142 22.75 22C22.75 21.5858 22.4142 21.25 22 21.25H20.75V10.9605L21.5315 11.5857C21.855 11.8444 22.3269 11.792 22.5857 11.4685C22.8444 11.1451 22.792 10.6731 22.4685 10.4143L19.75 8.23953ZM19.25 9.76047L13.4056 5.08492C12.5838 4.42753 11.4162 4.42753 10.5945 5.08492L4.75003 9.76047V21.25H8.25003L8.25003 16.9506C8.24999 16.2858 8.24996 15.7129 8.31163 15.2542C8.37773 14.7625 8.52679 14.2913 8.90904 13.909C9.29128 13.5268 9.76255 13.3777 10.2542 13.3116C10.7129 13.2499 11.2858 13.25 11.9507 13.25H12.0494C12.7143 13.25 13.2871 13.2499 13.7459 13.3116C14.2375 13.3777 14.7088 13.5268 15.091 13.909C15.4733 14.2913 15.6223 14.7625 15.6884 15.2542C15.7501 15.7129 15.7501 16.2858 15.75 16.9506L15.75 21.25H19.25V9.76047ZM14.25 21.25V17C14.25 16.2717 14.2484 15.8009 14.2018 15.454C14.1581 15.1287 14.0875 15.0268 14.0304 14.9697C13.9733 14.9126 13.8713 14.842 13.546 14.7982C13.1991 14.7516 12.7283 14.75 12 14.75C11.2717 14.75 10.8009 14.7516 10.4541 14.7982C10.1288 14.842 10.0268 14.9126 9.9697 14.9697C9.9126 15.0268 9.84199 15.1287 9.79826 15.454C9.75162 15.8009 9.75003 16.2717 9.75003 17V21.25H14.25ZM12 8.25C11.3097 8.25 10.75 8.80964 10.75 9.5C10.75 10.1904 11.3097 10.75 12 10.75C12.6904 10.75 13.25 10.1904 13.25 9.5C13.25 8.80964 12.6904 8.25 12 8.25ZM9.25003 9.5C9.25003 7.98122 10.4812 6.75 12 6.75C13.5188 6.75 14.75 7.98122 14.75 9.5C14.75 11.0188 13.5188 12.25 12 12.25C10.4812 12.25 9.25003 11.0188 9.25003 9.5Z" }) }), Qn = (n) => /* @__PURE__ */ e.jsx(P, { ...n, children: /* @__PURE__ */ e.jsx("path", { stroke: "var(--On-surface-color)", fill: "none", d: "M8 12H16M12 8V16M21 12C21 16.9706 16.9706 21 12 21C7.02944 21 3 16.9706 3 12C3 7.02944 7.02944 3 12 3C16.9706 3 21 7.02944 21 12Z", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }) }), Cn = (n) => /* @__PURE__ */ e.jsxs(P, { ...n, children: [
819
819
  /* @__PURE__ */ e.jsx("path", { fill: "none", d: "M16 12L12 12L8 12", stroke: "#000000", "stroke-width": "2", "stroke-linecap": "round" }),
820
820
  /* @__PURE__ */ e.jsx("circle", { fill: "none", cx: "12", cy: "12", r: "10", stroke: "#000000", "stroke-width": "2" })
821
- ] }), Ut = (n) => {
821
+ ] }), Kt = (n) => {
822
822
  const t = J(n);
823
823
  return /* @__PURE__ */ e.jsx(P, { ...n, children: /* @__PURE__ */ e.jsx("path", { fill: "none", stroke: t.primaryColor, d: "M15.4998 5.49994L18.3282 8.32837M3 20.9997L3.04745 20.6675C3.21536 19.4922 3.29932 18.9045 3.49029 18.3558C3.65975 17.8689 3.89124 17.4059 4.17906 16.9783C4.50341 16.4963 4.92319 16.0765 5.76274 15.237L17.4107 3.58896C18.1918 2.80791 19.4581 2.80791 20.2392 3.58896C21.0202 4.37001 21.0202 5.63634 20.2392 6.41739L8.37744 18.2791C7.61579 19.0408 7.23497 19.4216 6.8012 19.7244C6.41618 19.9932 6.00093 20.2159 5.56398 20.3879C5.07171 20.5817 4.54375 20.6882 3.48793 20.9012L3 20.9997Z", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }) });
824
- }, Jt = (n) => /* @__PURE__ */ e.jsxs(P, { ...n, children: [
824
+ }, qt = (n) => /* @__PURE__ */ e.jsxs(P, { ...n, children: [
825
825
  /* @__PURE__ */ e.jsx("path", { d: "M7 9C7 9.55229 6.55229 10 6 10C5.44772 10 5 9.55229 5 9C5 8.44772 5.44772 8 6 8C6.55229 8 7 8.44772 7 9Z" }),
826
826
  /* @__PURE__ */ e.jsx("path", { d: "M7 12C7 12.5523 6.55229 13 6 13C5.44772 13 5 12.5523 5 12C5 11.4477 5.44772 11 6 11C6.55229 11 7 11.4477 7 12Z" }),
827
827
  /* @__PURE__ */ e.jsx("path", { d: "M10 12C10 12.5523 9.55229 13 9 13C8.44772 13 8 12.5523 8 12C8 11.4477 8.44772 11 9 11C9.55229 11 10 11.4477 10 12Z" }),
@@ -833,16 +833,16 @@ const zt = (n) => /* @__PURE__ */ e.jsx(P, { ...n, className: `${n.className} ic
833
833
  /* @__PURE__ */ e.jsx("path", { d: "M19 9C19 9.55229 18.5523 10 18 10C17.4477 10 17 9.55229 17 9C17 8.44772 17.4477 8 18 8C18.5523 8 19 8.44772 19 9Z" }),
834
834
  /* @__PURE__ */ e.jsx("path", { d: "M19 12C19 12.5523 18.5523 13 18 13C17.4477 13 17 12.5523 17 12C17 11.4477 17.4477 11 18 11C18.5523 11 19 11.4477 19 12Z" }),
835
835
  /* @__PURE__ */ e.jsx("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M7.94513 4.25H16.0549C17.4225 4.24998 18.5248 4.24996 19.3918 4.36652C20.2919 4.48754 21.0497 4.74643 21.6517 5.34835C22.2536 5.95027 22.5125 6.70814 22.6335 7.60825C22.75 8.47522 22.75 9.57754 22.75 10.9451V13.0549C22.75 14.4225 22.75 15.5248 22.6335 16.3918C22.5125 17.2919 22.2536 18.0497 21.6517 18.6517C21.0497 19.2536 20.2919 19.5125 19.3918 19.6335C18.5248 19.75 17.4225 19.75 16.0549 19.75H7.94513C6.57754 19.75 5.47522 19.75 4.60825 19.6335C3.70814 19.5125 2.95027 19.2536 2.34835 18.6517C1.74643 18.0497 1.48754 17.2919 1.36652 16.3918C1.24996 15.5248 1.24998 14.4225 1.25 13.0549V10.9451C1.24998 9.57754 1.24996 8.47522 1.36652 7.60825C1.48754 6.70814 1.74643 5.95027 2.34835 5.34835C2.95027 4.74643 3.70814 4.48754 4.60825 4.36652C5.47522 4.24996 6.57754 4.24998 7.94513 4.25ZM4.80812 5.85315C4.07435 5.9518 3.68577 6.13225 3.40901 6.40901C3.13225 6.68577 2.9518 7.07435 2.85315 7.80812C2.75159 8.56347 2.75 9.56458 2.75 11V13C2.75 14.4354 2.75159 15.4365 2.85315 16.1919C2.9518 16.9257 3.13225 17.3142 3.40901 17.591C3.68577 17.8678 4.07435 18.0482 4.80812 18.1469C5.56347 18.2484 6.56458 18.25 8 18.25H16C17.4354 18.25 18.4365 18.2484 19.1919 18.1469C19.9257 18.0482 20.3142 17.8678 20.591 17.591C20.8678 17.3142 21.0482 16.9257 21.1469 16.1919C21.2484 15.4365 21.25 14.4354 21.25 13V11C21.25 9.56459 21.2484 8.56347 21.1469 7.80812C21.0482 7.07435 20.8678 6.68577 20.591 6.40901C20.3142 6.13225 19.9257 5.9518 19.1919 5.85315C18.4365 5.75159 17.4354 5.75 16 5.75H8C6.56458 5.75 5.56347 5.75159 4.80812 5.85315ZM6.25 16C6.25 15.5858 6.58579 15.25 7 15.25H17C17.4142 15.25 17.75 15.5858 17.75 16C17.75 16.4142 17.4142 16.75 17 16.75H7C6.58579 16.75 6.25 16.4142 6.25 16Z" })
836
- ] }), Kt = (n) => {
836
+ ] }), Qt = (n) => {
837
837
  const t = J(n);
838
838
  return /* @__PURE__ */ e.jsx(P, { ...n, children: /* @__PURE__ */ e.jsx("path", { fill: "none", d: "M6 12H18M12 6V18", stroke: t.primaryColor, "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }) });
839
- }, qt = (n) => {
839
+ }, er = (n) => {
840
840
  const t = J(n);
841
841
  return /* @__PURE__ */ e.jsx(P, { ...n, children: /* @__PURE__ */ e.jsx("path", { d: "M6 12L18 12", fill: "none", stroke: t.primaryColor, "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }) });
842
- }, xs = (n) => {
842
+ }, js = (n) => {
843
843
  const t = J(n);
844
844
  return /* @__PURE__ */ e.jsx(P, { ...n, children: /* @__PURE__ */ e.jsx("path", { fill: "none", d: "M17 9V12C17 14.7614 14.7614 17 12 17M7 9V12C7 14.7614 9.23858 17 12 17M12 17V21M8 3V6M16 3V6M5 9H19", stroke: t.primaryColor, "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }) });
845
- }, js = (n) => {
845
+ }, ms = (n) => {
846
846
  const { primaryColor: t } = J(n);
847
847
  return /* @__PURE__ */ e.jsxs(P, { ...n, children: [
848
848
  /* @__PURE__ */ e.jsx("g", { id: "SVGRepo_bgCarrier", strokeWidth: "0" }),
@@ -890,7 +890,7 @@ const zt = (n) => /* @__PURE__ */ e.jsx(P, { ...n, className: `${n.className} ic
890
890
  )
891
891
  ] })
892
892
  ] });
893
- }, ms = (n) => {
893
+ }, Cs = (n) => {
894
894
  const { primaryColor: t } = J(n);
895
895
  return /* @__PURE__ */ e.jsxs(P, { ...n, children: [
896
896
  /* @__PURE__ */ e.jsx("g", { id: "SVGRepo_bgCarrier", strokeWidth: "0" }),
@@ -923,7 +923,7 @@ const zt = (n) => /* @__PURE__ */ e.jsx(P, { ...n, className: `${n.className} ic
923
923
  }
924
924
  ) })
925
925
  ] });
926
- }, Cs = (n) => {
926
+ }, vs = (n) => {
927
927
  const { primaryColor: t } = J(n);
928
928
  return /* @__PURE__ */ e.jsxs(P, { ...n, children: [
929
929
  /* @__PURE__ */ e.jsx("g", { id: "SVGRepo_bgCarrier", "stroke-width": "0" }),
@@ -934,7 +934,7 @@ const zt = (n) => /* @__PURE__ */ e.jsx(P, { ...n, className: `${n.className} ic
934
934
  " "
935
935
  ] })
936
936
  ] });
937
- }, vs = (n) => {
937
+ }, gs = (n) => {
938
938
  const { primaryColor: t, secondaryColor: r } = J(n);
939
939
  return /* @__PURE__ */ e.jsxs(P, { ...n, children: [
940
940
  /* @__PURE__ */ e.jsx("g", { id: "SVGRepo_bgCarrier", strokeWidth: "0" }),
@@ -992,7 +992,7 @@ const zt = (n) => /* @__PURE__ */ e.jsx(P, { ...n, className: `${n.className} ic
992
992
  )
993
993
  ] })
994
994
  ] });
995
- }, gs = (n) => {
995
+ }, ps = (n) => {
996
996
  const { primaryColor: t, secondaryColor: r } = J(n);
997
997
  return /* @__PURE__ */ e.jsx(P, { ...n, children: /* @__PURE__ */ e.jsxs("g", { id: "SVGRepo_iconCarrier", children: [
998
998
  /* @__PURE__ */ e.jsx(
@@ -1027,7 +1027,7 @@ const zt = (n) => /* @__PURE__ */ e.jsx(P, { ...n, className: `${n.className} ic
1027
1027
  }
1028
1028
  )
1029
1029
  ] }) });
1030
- }, ps = (n) => {
1030
+ }, bs = (n) => {
1031
1031
  const { primaryColor: t, secondaryColor: r } = J(n);
1032
1032
  return /* @__PURE__ */ e.jsxs(P, { ...n, children: [
1033
1033
  /* @__PURE__ */ e.jsx("g", { id: "SVGRepo_bgCarrier", strokeWidth: "0" }),
@@ -1079,7 +1079,7 @@ const zt = (n) => /* @__PURE__ */ e.jsx(P, { ...n, className: `${n.className} ic
1079
1079
  )
1080
1080
  ] })
1081
1081
  ] });
1082
- }, bs = (n) => {
1082
+ }, ys = (n) => {
1083
1083
  const { primaryColor: t, secondaryColor: r } = J(n);
1084
1084
  return /* @__PURE__ */ e.jsxs(P, { ...n, children: [
1085
1085
  /* @__PURE__ */ e.jsx("g", { id: "SVGRepo_bgCarrier", strokeWidth: "0" }),
@@ -1143,7 +1143,7 @@ const zt = (n) => /* @__PURE__ */ e.jsx(P, { ...n, className: `${n.className} ic
1143
1143
  )
1144
1144
  ] })
1145
1145
  ] });
1146
- }, ys = (n) => {
1146
+ }, ks = (n) => {
1147
1147
  const { primaryColor: t, secondaryColor: r } = J(n);
1148
1148
  return /* @__PURE__ */ e.jsxs(P, { ...n, children: [
1149
1149
  /* @__PURE__ */ e.jsx("g", { id: "SVGRepo_bgCarrier", "stroke-width": "0" }),
@@ -1199,7 +1199,7 @@ const zt = (n) => /* @__PURE__ */ e.jsx(P, { ...n, className: `${n.className} ic
1199
1199
  )
1200
1200
  ] })
1201
1201
  ] });
1202
- }, ks = (n) => {
1202
+ }, Ns = (n) => {
1203
1203
  const { primaryColor: t, secondaryColor: r } = J(n);
1204
1204
  return /* @__PURE__ */ e.jsxs(P, { ...n, children: [
1205
1205
  /* @__PURE__ */ e.jsx("g", { id: "SVGRepo_bgCarrier", "stroke-width": "0" }),
@@ -1269,7 +1269,7 @@ const zt = (n) => /* @__PURE__ */ e.jsx(P, { ...n, className: `${n.className} ic
1269
1269
  )
1270
1270
  ] })
1271
1271
  ] });
1272
- }, Ns = (n) => {
1272
+ }, _s = (n) => {
1273
1273
  const { primaryColor: t } = J(n);
1274
1274
  return /* @__PURE__ */ e.jsxs(P, { ...n, children: [
1275
1275
  /* @__PURE__ */ e.jsx("g", { id: "SVGRepo_bgCarrier", strokeWidth: "0" }),
@@ -1316,7 +1316,7 @@ const zt = (n) => /* @__PURE__ */ e.jsx(P, { ...n, className: `${n.className} ic
1316
1316
  )
1317
1317
  ] })
1318
1318
  ] });
1319
- }, _s = (n) => {
1319
+ }, ws = (n) => {
1320
1320
  const { primaryColor: t } = J(n);
1321
1321
  return /* @__PURE__ */ e.jsxs(P, { ...n, dpi: "124", children: [
1322
1322
  /* @__PURE__ */ e.jsx("g", { id: "SVGRepo_bgCarrier", "stroke-width": "0" }),
@@ -1355,7 +1355,7 @@ const zt = (n) => /* @__PURE__ */ e.jsx(P, { ...n, className: `${n.className} ic
1355
1355
  }
1356
1356
  ) }) })
1357
1357
  ] });
1358
- }, Tn = (n) => {
1358
+ }, Vn = (n) => {
1359
1359
  const { primaryColor: t, secondaryColor: r } = J(n);
1360
1360
  return /* @__PURE__ */ e.jsxs(P, { ...n, children: [
1361
1361
  /* @__PURE__ */ e.jsx("g", { id: "SVGRepo_bgCarrier", "stroke-width": "0" }),
@@ -1395,31 +1395,31 @@ const zt = (n) => /* @__PURE__ */ e.jsx(P, { ...n, className: `${n.className} ic
1395
1395
  ] });
1396
1396
  };
1397
1397
  var ce = /* @__PURE__ */ ((n) => (n.MOBILE = "MOBILE", n.STANDART = "STANDART", n.BIG_SCREEN = "BIG_SCREEN", n))(ce || {});
1398
- const qn = {
1398
+ const et = {
1399
1399
  [ce.MOBILE]: "small-screen",
1400
1400
  [ce.STANDART]: "standart-screen",
1401
1401
  [ce.BIG_SCREEN]: "big-screen"
1402
1402
  };
1403
- function On(n, t = ce.STANDART) {
1404
- return `var(--${n}-${qn[t]})`;
1403
+ function Dn(n, t = ce.STANDART) {
1404
+ return `var(--${n}-${et[t]})`;
1405
1405
  }
1406
- function Vn(n, t = "standart") {
1406
+ function Fn(n, t = "standart") {
1407
1407
  return `var(--${n}-${t})`;
1408
1408
  }
1409
- function Dn(n, t = "normal", r = ce.STANDART) {
1410
- return `var(--${n}-heights-${qn[r]}-${t})`;
1409
+ function Pn(n, t = "normal", r = ce.STANDART) {
1410
+ return `var(--${n}-heights-${et[r]}-${t})`;
1411
1411
  }
1412
- const xe = (n) => {
1413
- var t, r, s, c, i, a;
1412
+ const me = (n) => {
1413
+ var t, r, s, c, i, l;
1414
1414
  return n.type === "heading" || n.type === "title" ? /* @__PURE__ */ e.jsx(
1415
1415
  "h3",
1416
1416
  {
1417
1417
  ...n,
1418
1418
  style: {
1419
1419
  ...n.style,
1420
- fontSize: ((t = n.style) == null ? void 0 : t.fontSize) ?? On(n.type, n.screensize),
1421
- fontWeight: ((r = n.style) == null ? void 0 : r.fontWeight) ?? Vn(n.type, n.weight),
1422
- lineHeight: ((s = n.style) == null ? void 0 : s.lineHeight) ?? Dn(n.type, n.density, n.screensize)
1420
+ fontSize: ((t = n.style) == null ? void 0 : t.fontSize) ?? Dn(n.type, n.screensize),
1421
+ fontWeight: ((r = n.style) == null ? void 0 : r.fontWeight) ?? Fn(n.type, n.weight),
1422
+ lineHeight: ((s = n.style) == null ? void 0 : s.lineHeight) ?? Pn(n.type, n.density, n.screensize)
1423
1423
  },
1424
1424
  className: `alex-evo-ui-kit alex-evo-ui-kit-heading ${n.className}`
1425
1425
  }
@@ -1429,73 +1429,73 @@ const xe = (n) => {
1429
1429
  ...n,
1430
1430
  style: {
1431
1431
  ...n.style,
1432
- fontSize: ((c = n.style) == null ? void 0 : c.fontSize) ?? On(n.type, n.screensize),
1433
- fontWeight: ((i = n.style) == null ? void 0 : i.fontWeight) ?? Vn(n.type, n.weight),
1434
- lineHeight: ((a = n.style) == null ? void 0 : a.lineHeight) ?? Dn(n.type, n.density, n.screensize)
1432
+ fontSize: ((c = n.style) == null ? void 0 : c.fontSize) ?? Dn(n.type, n.screensize),
1433
+ fontWeight: ((i = n.style) == null ? void 0 : i.fontWeight) ?? Fn(n.type, n.weight),
1434
+ lineHeight: ((l = n.style) == null ? void 0 : l.lineHeight) ?? Pn(n.type, n.density, n.screensize)
1435
1435
  },
1436
1436
  className: `alex-evo-ui-kit alex-evo-ui-kit-text ${n.className}`
1437
1437
  }
1438
1438
  );
1439
- }, Fn = ({ transparent: n, className: t, onClick: r, onContextMenu: s, disabled: c, classNameContainer: i, style: a, text: o, supportText: l = !0 }) => {
1439
+ }, Hn = ({ transparent: n, className: t, onClick: r, onContextMenu: s, disabled: c, classNameContainer: i, style: l, text: a, supportText: o = !0 }) => {
1440
1440
  const [u, h] = _(!1), f = k(async (x) => {
1441
1441
  try {
1442
- await navigator.clipboard.writeText(o), h(!0), setTimeout(() => h(!1), 2e3);
1443
- } catch (m) {
1444
- console.error("Ошибка копирования", m);
1442
+ await navigator.clipboard.writeText(a), h(!0), setTimeout(() => h(!1), 2e3);
1443
+ } catch (C) {
1444
+ console.error("Ошибка копирования", C);
1445
1445
  }
1446
1446
  r && r(x);
1447
- }, [o]);
1448
- return l ? /* @__PURE__ */ e.jsxs("label", { className: "alex-evo-sh-ui-kit-copy-button", children: [
1447
+ }, [a]);
1448
+ return o ? /* @__PURE__ */ e.jsxs("label", { className: "alex-evo-sh-ui-kit-copy-button", children: [
1449
1449
  /* @__PURE__ */ e.jsx(
1450
- ve,
1450
+ pe,
1451
1451
  {
1452
- icon: u ? /* @__PURE__ */ e.jsx(pe, {}) : /* @__PURE__ */ e.jsx(Tn, {}),
1452
+ icon: u ? /* @__PURE__ */ e.jsx(Se, {}) : /* @__PURE__ */ e.jsx(Vn, {}),
1453
1453
  onClick: f,
1454
1454
  transparent: n,
1455
1455
  className: t,
1456
1456
  onContextMenu: s,
1457
1457
  disabled: c,
1458
1458
  classNameContainer: i,
1459
- style: a
1459
+ style: l
1460
1460
  }
1461
1461
  ),
1462
- /* @__PURE__ */ e.jsx(xe, { type: "body", children: u ? "Скопировано!" : "Копировать" })
1462
+ /* @__PURE__ */ e.jsx(me, { type: "body", children: u ? "Скопировано!" : "Копировать" })
1463
1463
  ] }) : /* @__PURE__ */ e.jsx(
1464
- ve,
1464
+ pe,
1465
1465
  {
1466
- icon: u ? /* @__PURE__ */ e.jsx(pe, {}) : /* @__PURE__ */ e.jsx(Tn, {}),
1466
+ icon: u ? /* @__PURE__ */ e.jsx(Se, {}) : /* @__PURE__ */ e.jsx(Vn, {}),
1467
1467
  onClick: f,
1468
1468
  transparent: n,
1469
1469
  className: t,
1470
1470
  onContextMenu: s,
1471
1471
  disabled: c,
1472
1472
  classNameContainer: i,
1473
- style: a
1473
+ style: l
1474
1474
  }
1475
1475
  );
1476
1476
  };
1477
- function Qt(n) {
1477
+ function nr(n) {
1478
1478
  return n.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
1479
1479
  }
1480
- function Qn(n, t, r) {
1481
- return n.replace(new RegExp(Qt(t), "g"), r);
1480
+ function nt(n, t, r) {
1481
+ return n.replace(new RegExp(nr(t), "g"), r);
1482
1482
  }
1483
- const oe = (n, t, r = "", s) => {
1484
- let c, i, a, o, l, u, h, f = Math.round, x = typeof r == "string";
1485
- if (typeof n != "number" || n < -1 || n > 1 || typeof t != "string" || t[0] != "r" && t[0] != "#" || r && !x || (h = t.length > 9, h = x ? typeof r == "string" && r.length > 9 ? !0 : r == "c" ? !h : !1 : h, l = oe.pSBCr(t), o = n < 0, u = r && typeof r == "string" && r != "c" ? oe.pSBCr(r) : o ? { r: 0, g: 0, b: 0, a: -1 } : { r: 255, g: 255, b: 255, a: -1 }, n = o ? n * -1 : n, o = 1 - n, !l || !u))
1483
+ const le = (n, t, r = "", s) => {
1484
+ let c, i, l, a, o, u, h, f = Math.round, x = typeof r == "string";
1485
+ if (typeof n != "number" || n < -1 || n > 1 || typeof t != "string" || t[0] != "r" && t[0] != "#" || r && !x || (h = t.length > 9, h = x ? typeof r == "string" && r.length > 9 ? !0 : r == "c" ? !h : !1 : h, o = le.pSBCr(t), a = n < 0, u = r && typeof r == "string" && r != "c" ? le.pSBCr(r) : a ? { r: 0, g: 0, b: 0, a: -1 } : { r: 255, g: 255, b: 255, a: -1 }, n = a ? n * -1 : n, a = 1 - n, !o || !u))
1486
1486
  return null;
1487
- s ? (c = f(o * (l.r ?? 0) + n * (u.r ?? 0)), i = f(o * (l.g ?? 0) + n * (u.g ?? 0)), a = f(o * (l.b ?? 0) + n * (u.b ?? 0))) : (c = f((o * (l.r ?? 0) ** 2 + n * (u.r ?? 0) ** 2) ** 0.5), i = f((o * (l.g ?? 0) ** 2 + n * (u.g ?? 0) ** 2) ** 0.5), a = f((o * (l.b ?? 0) ** 2 + n * (u.b ?? 0) ** 2) ** 0.5));
1488
- let m = l.a ?? 1;
1489
- return u = u.a ?? 1, l = m >= 0 || u >= 0, m = m >= 0 || u >= 0 ? m < 0 ? u : u < 0 ? m : m * o + u * n : 0, h ? "rgb" + (l ? "a(" : "(") + c + "," + i + "," + a + (l ? "," + f(m * 1e3) / 1e3 : "") + ")" : "#" + (4294967296 + c * 16777216 + i * 65536 + a * 256 + (l ? f(m * 255) : 0)).toString(16).slice(1, l ? void 0 : -2);
1487
+ s ? (c = f(a * (o.r ?? 0) + n * (u.r ?? 0)), i = f(a * (o.g ?? 0) + n * (u.g ?? 0)), l = f(a * (o.b ?? 0) + n * (u.b ?? 0))) : (c = f((a * (o.r ?? 0) ** 2 + n * (u.r ?? 0) ** 2) ** 0.5), i = f((a * (o.g ?? 0) ** 2 + n * (u.g ?? 0) ** 2) ** 0.5), l = f((a * (o.b ?? 0) ** 2 + n * (u.b ?? 0) ** 2) ** 0.5));
1488
+ let C = o.a ?? 1;
1489
+ return u = u.a ?? 1, o = C >= 0 || u >= 0, C = C >= 0 || u >= 0 ? C < 0 ? u : u < 0 ? C : C * a + u * n : 0, h ? "rgb" + (o ? "a(" : "(") + c + "," + i + "," + l + (o ? "," + f(C * 1e3) / 1e3 : "") + ")" : "#" + (4294967296 + c * 16777216 + i * 65536 + l * 256 + (o ? f(C * 255) : 0)).toString(16).slice(1, o ? void 0 : -2);
1490
1490
  };
1491
- oe.pSBCr = (n) => {
1491
+ le.pSBCr = (n) => {
1492
1492
  const t = parseInt;
1493
1493
  let r = n.length, s = {};
1494
1494
  if (r > 9) {
1495
- const c = n.split(","), [i, a, o, l] = c;
1495
+ const c = n.split(","), [i, l, a, o] = c;
1496
1496
  if (r = c.length, r < 3 || r > 4)
1497
1497
  return null;
1498
- s.r = t(i[3] == "a" ? i.slice(5) : i.slice(4)), s.g = t(a), s.b = t(o), s.a = l ? parseFloat(l) : -1;
1498
+ s.r = t(i[3] == "a" ? i.slice(5) : i.slice(4)), s.g = t(l), s.b = t(a), s.a = o ? parseFloat(o) : -1;
1499
1499
  } else {
1500
1500
  if (r == 8 || r == 6 || r < 4)
1501
1501
  return null;
@@ -1505,7 +1505,7 @@ oe.pSBCr = (n) => {
1505
1505
  }
1506
1506
  return s;
1507
1507
  };
1508
- function ws(n, t, r) {
1508
+ function Ss(n, t, r) {
1509
1509
  arguments.length === 1 && (t = n.s, r = n.l, n = n.h);
1510
1510
  var s = n, c, i;
1511
1511
  return r *= 2, t *= r <= 1 ? r : 2 - r, i = (r + t) / 2, c = 2 * t / (r + t), {
@@ -1514,31 +1514,31 @@ function ws(n, t, r) {
1514
1514
  v: i
1515
1515
  };
1516
1516
  }
1517
- function Ss(n, t, r) {
1517
+ function Ms(n, t, r) {
1518
1518
  arguments.length === 1 && (t = n.s, r = n.v, n = n.h);
1519
1519
  var s = (2 - t) * r / 2;
1520
1520
  return s != 0 && (s == 1 ? t = 0 : s < 0.5 ? t = t * r / (s * 2) : t = t * r / (2 - s * 2)), { h: n, s: t, l: s };
1521
1521
  }
1522
- function Pe(n, t, r) {
1523
- var s, c, i, a, o, l, u, h;
1524
- switch (arguments.length === 1 && (t = n.s, r = n.v, n = n.h), a = Math.floor(n * 6), o = n * 6 - a, l = r * (1 - t), u = r * (1 - o * t), h = r * (1 - (1 - o) * t), a % 6) {
1522
+ function Be(n, t, r) {
1523
+ var s, c, i, l, a, o, u, h;
1524
+ switch (arguments.length === 1 && (t = n.s, r = n.v, n = n.h), l = Math.floor(n * 6), a = n * 6 - l, o = r * (1 - t), u = r * (1 - a * t), h = r * (1 - (1 - a) * t), l % 6) {
1525
1525
  case 0:
1526
- s = r, c = h, i = l;
1526
+ s = r, c = h, i = o;
1527
1527
  break;
1528
1528
  case 1:
1529
- s = u, c = r, i = l;
1529
+ s = u, c = r, i = o;
1530
1530
  break;
1531
1531
  case 2:
1532
- s = l, c = r, i = h;
1532
+ s = o, c = r, i = h;
1533
1533
  break;
1534
1534
  case 3:
1535
- s = l, c = u, i = r;
1535
+ s = o, c = u, i = r;
1536
1536
  break;
1537
1537
  case 4:
1538
- s = h, c = l, i = r;
1538
+ s = h, c = o, i = r;
1539
1539
  break;
1540
1540
  case 5:
1541
- s = r, c = l, i = u;
1541
+ s = r, c = o, i = u;
1542
1542
  break;
1543
1543
  }
1544
1544
  return {
@@ -1547,40 +1547,40 @@ function Pe(n, t, r) {
1547
1547
  b: Math.round(i * 255)
1548
1548
  };
1549
1549
  }
1550
- function cn(n) {
1550
+ function dn(n) {
1551
1551
  let t = n.toString(16);
1552
1552
  return t.length === 1 && (t = "0" + t), t;
1553
1553
  }
1554
- function Se(n) {
1555
- return cn(n.r) + cn(n.g) + cn(n.b);
1554
+ function Le(n) {
1555
+ return dn(n.r) + dn(n.g) + dn(n.b);
1556
1556
  }
1557
- function Ue(n, t, r) {
1557
+ function qe(n, t, r) {
1558
1558
  arguments.length === 1 && (t = n.g, r = n.b, n = n.r);
1559
- var s = Math.max(n, t, r), c = Math.min(n, t, r), i = s - c, a, o = s === 0 ? 0 : i / s, l = s / 255;
1559
+ var s = Math.max(n, t, r), c = Math.min(n, t, r), i = s - c, l, a = s === 0 ? 0 : i / s, o = s / 255;
1560
1560
  switch (s) {
1561
1561
  case c:
1562
- a = 0;
1562
+ l = 0;
1563
1563
  break;
1564
1564
  case n:
1565
- a = t - r + i * (t < r ? 6 : 0), a /= 6 * i;
1565
+ l = t - r + i * (t < r ? 6 : 0), l /= 6 * i;
1566
1566
  break;
1567
1567
  case t:
1568
- a = r - n + i * 2, a /= 6 * i;
1568
+ l = r - n + i * 2, l /= 6 * i;
1569
1569
  break;
1570
1570
  case r:
1571
- a = n - t + i * 4, a /= 6 * i;
1571
+ l = n - t + i * 4, l /= 6 * i;
1572
1572
  break;
1573
1573
  }
1574
1574
  return {
1575
- h: a,
1576
- s: o,
1577
- v: l
1575
+ h: l,
1576
+ s: a,
1577
+ v: o
1578
1578
  };
1579
1579
  }
1580
- function He(n) {
1580
+ function Te(n) {
1581
1581
  var t = /^#?([a-f\d])([a-f\d])([a-f\d])$/i;
1582
- n = n.replace(t, function(s, c, i, a) {
1583
- return c + c + i + i + a + a;
1582
+ n = n.replace(t, function(s, c, i, l) {
1583
+ return c + c + i + i + l + l;
1584
1584
  });
1585
1585
  var r = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(n);
1586
1586
  return r ? {
@@ -1589,20 +1589,20 @@ function He(n) {
1589
1589
  b: parseInt(r[3], 16)
1590
1590
  } : null;
1591
1591
  }
1592
- const er = He, nr = (n) => {
1592
+ const tr = Te, rr = (n) => {
1593
1593
  if (!n)
1594
1594
  return "linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0))";
1595
- const t = er(n);
1595
+ const t = tr(n);
1596
1596
  return t ? `linear-gradient(135deg, rgba(${t.r}, ${t.g}, ${t.b}, 0.1), rgba(${t.r}, ${t.g}, ${t.b}, 0))` : "linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0))";
1597
1597
  };
1598
1598
  function se(n) {
1599
- const t = He(n);
1599
+ const t = Te(n);
1600
1600
  return t ? t.r * 0.299 + t.g * 0.589 + t.b * 0.114 > 186 ? "#000000" : "#FFFFFF" : "#fff";
1601
1601
  }
1602
- function me(n, t = !1) {
1603
- return oe(t ? -0.6 : 0.3, n) ?? n;
1602
+ function ve(n, t = !1) {
1603
+ return le(t ? -0.6 : 0.3, n) ?? n;
1604
1604
  }
1605
- const tr = (n) => `--${Qn(n, "_", "-")}`, rr = (n) => Qn(n, "-", "_").slice(2), sr = (n) => ({
1605
+ const sr = (n) => `--${nt(n, "_", "-")}`, cr = (n) => nt(n, "-", "_").slice(2), ir = (n) => ({
1606
1606
  Primary_color: n.Primary_color_night,
1607
1607
  Secondary_color: n.Secondary_color_night,
1608
1608
  Tertiary_color: n.Tertiary_color_night,
@@ -1611,7 +1611,7 @@ const tr = (n) => `--${Qn(n, "_", "-")}`, rr = (n) => Qn(n, "-", "_").slice(2),
1611
1611
  Error_color: n.Error_color_night,
1612
1612
  Outline_color: n.Outline_color_night,
1613
1613
  Shadow_color: n.Shadow_color_night
1614
- }), Pn = {
1614
+ }), An = {
1615
1615
  Primary_color: {
1616
1616
  container: ["Primary_container_color"],
1617
1617
  text: ["On_primary_color"]
@@ -1660,7 +1660,7 @@ const tr = (n) => `--${Qn(n, "_", "-")}`, rr = (n) => Qn(n, "-", "_").slice(2),
1660
1660
  On_surface_color: {
1661
1661
  variant: ["On_surface_variant_color"]
1662
1662
  }
1663
- }, H = {
1663
+ }, B = {
1664
1664
  Primary_color: "#6750A4",
1665
1665
  Secondary_color: "#625B71",
1666
1666
  Tertiary_color: "#7D5260",
@@ -1669,8 +1669,8 @@ const tr = (n) => `--${Qn(n, "_", "-")}`, rr = (n) => Qn(n, "-", "_").slice(2),
1669
1669
  Error_color: "#B3261E",
1670
1670
  Outline_color: "#79747E",
1671
1671
  Shadow_color: "#000000"
1672
- }, We = {
1673
- Primary_color_night: oe(0.9, se("#121212"), H.Primary_color) ?? H.Primary_color,
1672
+ }, Ue = {
1673
+ Primary_color_night: le(0.9, se("#121212"), B.Primary_color) ?? B.Primary_color,
1674
1674
  Secondary_color_night: "#625B71",
1675
1675
  Tertiary_color_night: "#7D5260",
1676
1676
  Surface_container_color_night: "#121212",
@@ -1678,56 +1678,56 @@ const tr = (n) => `--${Qn(n, "_", "-")}`, rr = (n) => Qn(n, "-", "_").slice(2),
1678
1678
  Error_color_night: "#B3261E",
1679
1679
  Outline_color_night: "#79747E",
1680
1680
  Shadow_color_night: "#000000"
1681
- }, cr = {
1682
- ...H,
1683
- On_primary_color: se(H.Primary_color),
1684
- On_secondary_color: se(H.Secondary_color),
1685
- On_tertiary_color: se(H.Tertiary_color),
1686
- Primary_container_color: me(H.Primary_color),
1687
- Secondary_container_color: me(H.Secondary_color),
1688
- Tertiary_container_color: me(H.Tertiary_color),
1689
- On_primary_container_color: se(me(H.Primary_color)),
1690
- On_secondary_container_color: se(me(H.Secondary_color)),
1691
- On_tertiary_container_color: se(me(H.Tertiary_color)),
1692
- On_background_color: se(H.Background_color),
1693
- Outline_variant_color: oe(-0.1, H.Outline_color) ?? H.Outline_color,
1694
- Surface_container_high_color: oe(0.1, H.Surface_container_color) ?? H.Surface_container_color,
1695
- Surface_container_highest_color: oe(0.2, H.Surface_container_color) ?? H.Surface_container_color,
1696
- Surface_container_low_color: oe(-0.1, H.Surface_container_color) ?? H.Surface_container_color,
1697
- Surface_container_lowest_color: oe(-0.2, H.Surface_container_color) ?? H.Surface_container_color,
1698
- On_surface_color: se(H.Surface_container_color),
1699
- On_error_color: se(H.Error_color),
1700
- Error_container_color: me(H.Error_color),
1701
- On_error_container_color: se(me(H.Error_color)),
1702
- On_surface_variant_color: oe(-0.1, se(H.Surface_container_color)) ?? se(H.Surface_container_color)
1703
- }, ir = () => {
1704
- const [n, t] = _(cr), [r, s] = _(H), [c, i] = _(We), [a, o] = _(!1), l = (m, j) => {
1705
- j && document.body.style.setProperty(tr(m), j);
1706
- }, u = (m, j, g = !1) => {
1707
- var v, C, p, w, y;
1708
- if (t((S) => ({ ...S, [m]: j })), l(m, j), m in Pn) {
1709
- const S = Pn[m];
1710
- (v = S.container) == null || v.forEach((V) => u(V, me(j, g), g)), (C = S.text) == null || C.forEach((V) => u(V, se(j), g)), (p = S.low) == null || p.forEach((V) => u(V, oe(g ? -0.1 : 0.1, j) ?? j, g)), (w = S.high) == null || w.forEach((V) => u(V, oe(g ? 0.01 : -0.01, j) ?? j, g)), (y = S.variant) == null || y.forEach((V) => u(V, oe(g ? -0.3 : 0.3, j) ?? j, g));
1711
- }
1712
- }, h = k(async (m) => {
1713
- console.log(m);
1714
- for (let j in m) {
1715
- const g = m[j], v = rr(j);
1716
- (v in H || v in We) && (j = v), !(!(j in H || j in We) || !g) && (j in H ? (c[j + "_night"] === r[j] && i((C) => ({ ...C, [j + "_night"]: g })), s((C) => ({ ...C, [j]: g }))) : j in We && i((C) => ({ ...C, [j]: g })));
1717
- }
1718
- }, [r, c]), f = k((m) => {
1719
- const j = m ? sr(c) : r;
1681
+ }, or = {
1682
+ ...B,
1683
+ On_primary_color: se(B.Primary_color),
1684
+ On_secondary_color: se(B.Secondary_color),
1685
+ On_tertiary_color: se(B.Tertiary_color),
1686
+ Primary_container_color: ve(B.Primary_color),
1687
+ Secondary_container_color: ve(B.Secondary_color),
1688
+ Tertiary_container_color: ve(B.Tertiary_color),
1689
+ On_primary_container_color: se(ve(B.Primary_color)),
1690
+ On_secondary_container_color: se(ve(B.Secondary_color)),
1691
+ On_tertiary_container_color: se(ve(B.Tertiary_color)),
1692
+ On_background_color: se(B.Background_color),
1693
+ Outline_variant_color: le(-0.1, B.Outline_color) ?? B.Outline_color,
1694
+ Surface_container_high_color: le(0.1, B.Surface_container_color) ?? B.Surface_container_color,
1695
+ Surface_container_highest_color: le(0.2, B.Surface_container_color) ?? B.Surface_container_color,
1696
+ Surface_container_low_color: le(-0.1, B.Surface_container_color) ?? B.Surface_container_color,
1697
+ Surface_container_lowest_color: le(-0.2, B.Surface_container_color) ?? B.Surface_container_color,
1698
+ On_surface_color: se(B.Surface_container_color),
1699
+ On_error_color: se(B.Error_color),
1700
+ Error_container_color: ve(B.Error_color),
1701
+ On_error_container_color: se(ve(B.Error_color)),
1702
+ On_surface_variant_color: le(-0.1, se(B.Surface_container_color)) ?? se(B.Surface_container_color)
1703
+ }, tt = () => {
1704
+ const [n, t] = _(or), [r, s] = _(B), [c, i] = _(Ue), [l, a] = _(!1), o = (C, j) => {
1705
+ j && document.body.style.setProperty(sr(C), j);
1706
+ }, u = (C, j, g = !1) => {
1707
+ var v, m, p, w, y;
1708
+ if (t((S) => ({ ...S, [C]: j })), o(C, j), C in An) {
1709
+ const S = An[C];
1710
+ (v = S.container) == null || v.forEach((T) => u(T, ve(j, g), g)), (m = S.text) == null || m.forEach((T) => u(T, se(j), g)), (p = S.low) == null || p.forEach((T) => u(T, le(g ? -0.1 : 0.1, j) ?? j, g)), (w = S.high) == null || w.forEach((T) => u(T, le(g ? 0.01 : -0.01, j) ?? j, g)), (y = S.variant) == null || y.forEach((T) => u(T, le(g ? -0.3 : 0.3, j) ?? j, g));
1711
+ }
1712
+ }, h = k(async (C) => {
1713
+ console.log(C);
1714
+ for (let j in C) {
1715
+ const g = C[j], v = cr(j);
1716
+ (v in B || v in Ue) && (j = v), !(!(j in B || j in Ue) || !g) && (j in B ? (c[j + "_night"] === r[j] && i((m) => ({ ...m, [j + "_night"]: g })), s((m) => ({ ...m, [j]: g }))) : j in Ue && i((m) => ({ ...m, [j]: g })));
1717
+ }
1718
+ }, [r, c]), f = k((C) => {
1719
+ const j = C ? ir(c) : r;
1720
1720
  for (let g in j)
1721
- u(g, j[g], m);
1722
- }, [c, r]), x = k((m) => {
1723
- o(m);
1721
+ u(g, j[g], C);
1722
+ }, [c, r]), x = k((C) => {
1723
+ a(C);
1724
1724
  }, []);
1725
1725
  return $(() => {
1726
- f(a);
1727
- }, [a, f]), {
1726
+ f(l);
1727
+ }, [l, f]), {
1728
1728
  colors: n,
1729
1729
  setColor: h,
1730
- nightMode: a,
1730
+ nightMode: l,
1731
1731
  setNightMode: x,
1732
1732
  reCalculateColor: f,
1733
1733
  lightColor: r,
@@ -1738,7 +1738,7 @@ const lr = ({ valueDisplayDuration: n = 2e3 }) => {
1738
1738
  const [t, r] = _(
1739
1739
  2
1740
1740
  /* CLOSE */
1741
- ), s = G(), c = G(), i = () => {
1741
+ ), s = Y(), c = Y(), i = () => {
1742
1742
  r(
1743
1743
  1
1744
1744
  /* HIDING */
@@ -1748,7 +1748,7 @@ const lr = ({ valueDisplayDuration: n = 2e3 }) => {
1748
1748
  /* CLOSE */
1749
1749
  );
1750
1750
  }, 500);
1751
- }, a = () => {
1751
+ }, l = () => {
1752
1752
  r(
1753
1753
  0
1754
1754
  /* OPEN */
@@ -1759,11 +1759,11 @@ const lr = ({ valueDisplayDuration: n = 2e3 }) => {
1759
1759
  return $(() => () => {
1760
1760
  s.current && window.clearTimeout(s.current), c.current && window.clearTimeout(c.current);
1761
1761
  }, []), {
1762
- showPopup: a,
1762
+ showPopup: l,
1763
1763
  popupState: t,
1764
1764
  hidePopup: i
1765
1765
  };
1766
- }, et = ({
1766
+ }, rt = ({
1767
1767
  className: n = "",
1768
1768
  text: t,
1769
1769
  state: r = 0
@@ -1776,112 +1776,115 @@ const lr = ({ valueDisplayDuration: n = 2e3 }) => {
1776
1776
  "aria-atomic": "true",
1777
1777
  children: t
1778
1778
  }
1779
- ), ln = "var(--range-width)", Ms = ({
1779
+ );
1780
+ function st(n, t, r) {
1781
+ if (n === 0)
1782
+ return r ?? "#e0e0e0";
1783
+ if (n === 1)
1784
+ return t;
1785
+ const s = r ? Te(r) : null, c = (s == null ? void 0 : s.r) ?? 224, i = (s == null ? void 0 : s.g) ?? 224, l = (s == null ? void 0 : s.b) ?? 224, a = parseInt(t.substring(1, 3), 16), o = parseInt(t.substring(3, 5), 16), u = parseInt(t.substring(5, 7), 16), h = Math.round(c + n * (a - c)), f = Math.round(i + n * (o - i)), x = Math.round(l + n * (u - l));
1786
+ return `rgb(${h}, ${f}, ${x})`;
1787
+ }
1788
+ const un = "var(--range-width)", Es = ({
1780
1789
  colorRange: n,
1781
1790
  colorBg: t = "var(--Surface-container-color)",
1782
1791
  onChange: r,
1783
1792
  min: s = 0,
1784
1793
  max: c = 100,
1785
1794
  step: i = 1,
1786
- strokeWidth: a = "40px",
1787
- value: o,
1788
- orientation: l = "horizontal",
1795
+ strokeWidth: l = "40px",
1796
+ value: a,
1797
+ orientation: o = "horizontal",
1789
1798
  styleTrack: u = "base",
1790
1799
  showValue: h = !0,
1791
1800
  valueDisplayDuration: f = 2e3,
1792
1801
  ariaLabel: x = "Регулятор значения",
1793
- ...m
1802
+ startColor: C,
1803
+ ...j
1794
1804
  }) => {
1795
- const j = G(null), g = G(null), [v, C] = _(o ?? s), [p, w] = _("200px"), { colors: y } = ir(), { showPopup: S, popupState: V } = lr({ valueDisplayDuration: f }), E = n ?? y.Primary_color ?? "#0000ff";
1805
+ const g = Y(null), v = Y(null), [m, p] = _(a ?? s), [w, y] = _("200px"), { colors: S } = tt(), { showPopup: T, popupState: L } = lr({ valueDisplayDuration: f }), H = n ?? S.Primary_color ?? "#0000ff";
1796
1806
  $(() => {
1797
- var z;
1798
- if (l === "vertical" && ((z = g.current) != null && z.parentElement)) {
1799
- const Q = () => {
1800
- var D, fe;
1801
- const O = (fe = (D = g.current) == null ? void 0 : D.parentElement) == null ? void 0 : fe.clientHeight;
1802
- O && w(`${O}px`);
1807
+ var X;
1808
+ if (o === "vertical" && ((X = v.current) != null && X.parentElement)) {
1809
+ const te = () => {
1810
+ var O, ge;
1811
+ const z = (ge = (O = v.current) == null ? void 0 : O.parentElement) == null ? void 0 : ge.clientHeight;
1812
+ z && y(`${z}px`);
1803
1813
  };
1804
- Q();
1805
- const te = new ResizeObserver(Q);
1806
- return g.current.parentElement && te.observe(g.current.parentElement), () => te.disconnect();
1807
- }
1808
- }, [l]), $(() => {
1809
- o !== void 0 && (C(o), Y());
1810
- }, [o]);
1811
- const Y = k(() => {
1812
- h && S();
1813
- }, [S]), U = (z) => {
1814
- const Q = parseFloat(z.target.value);
1815
- C(Q), Y(), r == null || r(z);
1816
- }, M = k((z) => {
1817
- if (u === "static-color")
1818
- return E;
1819
- if (z === 0)
1820
- return "var(--surface-color, #e0e0e0)";
1821
- if (z === 1)
1822
- return E;
1823
- const Q = 224, te = 224, O = 224, D = parseInt(E.substring(1, 3), 16), fe = parseInt(E.substring(3, 5), 16), ye = parseInt(E.substring(5, 7), 16), ne = Math.round(Q + z * (D - Q)), ie = Math.round(te + z * (fe - te)), de = Math.round(O + z * (ye - O));
1824
- return `rgb(${ne}, ${ie}, ${de})`;
1825
- }, [E]), L = Ce(
1826
- () => c !== s ? (v - s) / (c - s) * 100 : 0,
1827
- [v, s, c]
1828
- ), W = Ce(() => ({
1829
- ...m.style,
1830
- [l === "vertical" ? "height" : "width"]: `${L}%`,
1831
- background: u === "point" ? "transperent" : M(L / 100)
1832
- }), [L, M, m.style, l, u]), I = Ce(() => l === "vertical" ? {
1833
- "--range-width": a,
1834
- "--point-width": u === "point" ? a : "6px",
1814
+ te();
1815
+ const ie = new ResizeObserver(te);
1816
+ return v.current.parentElement && ie.observe(v.current.parentElement), () => ie.disconnect();
1817
+ }
1818
+ }, [o]), $(() => {
1819
+ a !== void 0 && (p(a), U());
1820
+ }, [a]);
1821
+ const U = k(() => {
1822
+ h && T();
1823
+ }, [T]), M = (X) => {
1824
+ const te = parseFloat(X.target.value);
1825
+ p(te), U(), r == null || r(X);
1826
+ }, D = je(
1827
+ () => c !== s ? (m - s) / (c - s) * 100 : 0,
1828
+ [m, s, c]
1829
+ ), Z = je(() => ({
1830
+ ...j.style,
1831
+ [o === "vertical" ? "height" : "width"]: `${D}%`,
1832
+ background: u === "point" ? "transperent" : u === "static-color" ? H : st(D / 100, H, C)
1833
+ }), [D, H, j.style, o, u]), R = je(() => o === "vertical" ? {
1834
+ "--range-width": l,
1835
+ "--point-width": u === "point" ? l : "6px",
1835
1836
  "--point-opacity": u === "point" ? "1" : "0",
1836
- "--truck-color": E,
1837
- width: ln,
1838
- height: p,
1837
+ "--truck-color": H,
1838
+ width: un,
1839
+ height: w,
1839
1840
  margin: "0 20px",
1840
- ...m.style
1841
+ ...j.style
1841
1842
  } : {
1842
- "--range-width": a,
1843
- "--point-width": u === "point" ? a : "6px",
1843
+ "--range-width": l,
1844
+ "--point-width": u === "point" ? l : "6px",
1844
1845
  "--point-opacity": u === "point" ? "1" : "0",
1845
- "--truck-color": E,
1846
+ "--truck-color": H,
1846
1847
  width: "100%",
1847
- height: ln,
1848
- margin: `${ln} 0`,
1849
- ...m.style
1850
- }, [l, p, m.style, a, u, E]), A = Ce(() => l === "vertical" ? {
1851
- width: p
1848
+ height: un,
1849
+ margin: `${un} 0`,
1850
+ ...j.style
1851
+ }, [o, w, j.style, l, u, H]), A = je(() => o === "vertical" ? {
1852
+ width: w
1852
1853
  } : {
1853
1854
  width: "100%"
1854
- }, [l, p]);
1855
+ }, [o, w]);
1855
1856
  return /* @__PURE__ */ e.jsxs(
1856
1857
  "div",
1857
1858
  {
1858
- ref: g,
1859
- className: `range-wrapper ${l}`,
1860
- style: I,
1859
+ ref: v,
1860
+ className: `range-wrapper ${o}`,
1861
+ style: R,
1861
1862
  children: [
1862
1863
  /* @__PURE__ */ e.jsxs("div", { className: "track", style: { background: t }, children: [
1863
- /* @__PURE__ */ e.jsx("div", { className: "active-track", style: W }),
1864
- /* @__PURE__ */ e.jsx(et, { text: Math.round(v).toString(), state: V, className: "value-popup" })
1864
+ /* @__PURE__ */ e.jsx("div", { className: "active-track", style: Z }),
1865
+ /* @__PURE__ */ e.jsx(rt, { text: Math.round(m).toString(), state: L, className: "value-popup" })
1865
1866
  ] }),
1866
1867
  /* @__PURE__ */ e.jsx(
1867
1868
  "input",
1868
1869
  {
1869
- ref: j,
1870
+ ref: g,
1870
1871
  type: "range",
1871
1872
  min: s,
1872
1873
  style: A,
1873
1874
  max: c,
1874
1875
  step: i,
1875
- value: v,
1876
- onChange: U,
1876
+ value: m,
1877
+ onChange: M,
1878
+ onFocus: j.onFocus,
1879
+ onBlur: j.onBlur,
1877
1880
  className: "slider-input",
1878
- "aria-orientation": l,
1879
- "aria-valuenow": v,
1881
+ "aria-orientation": o,
1882
+ "aria-valuenow": m,
1880
1883
  "aria-valuemin": s,
1881
1884
  "aria-valuemax": c,
1882
1885
  "aria-label": x,
1883
- "aria-valuetext": `${v} из ${c}`,
1884
- ...m
1886
+ "aria-valuetext": `${m} из ${c}`,
1887
+ ...j
1885
1888
  }
1886
1889
  )
1887
1890
  ]
@@ -1894,27 +1897,29 @@ const lr = ({ valueDisplayDuration: n = 2e3 }) => {
1894
1897
  onChange: s,
1895
1898
  onFocus: c,
1896
1899
  onBlur: i,
1897
- styleTrack: a = "circle",
1900
+ styleRange: l = "circle",
1901
+ styleTrack: a = "base",
1898
1902
  strokeWidth: o = 20,
1899
- radius: l = 25,
1900
- colorBg: u = "#eee",
1901
- colorRange: h = "#f00",
1902
- pointColor: f = "#f00",
1903
- showBase: x = !0,
1904
- showIndicator: m = !0,
1905
- showPoint: j = !1,
1906
- rounding: g = !0,
1907
- showValue: v = !0,
1908
- style: C,
1909
- children: p,
1910
- className: w
1903
+ radius: u = 100,
1904
+ colorBg: h = "var(--Surface-container-color)",
1905
+ colorRange: f,
1906
+ pointColor: x,
1907
+ showBase: C = !0,
1908
+ showIndicator: j = !0,
1909
+ showPoint: g = !1,
1910
+ rounding: v = !0,
1911
+ showValue: m = !0,
1912
+ style: p,
1913
+ children: w,
1914
+ className: y,
1915
+ startColor: S
1911
1916
  }) => {
1912
- const y = G(null), S = G(!1), V = l * 2 + o, E = l * 2 + o, Y = Math.min(V, E), U = V / 2, M = E / 2, L = l || Y / 2 - o / 2, [W, I] = _(r);
1917
+ const T = Y(null), L = Y(!1), H = u * 2, U = u * 2, M = Math.min(H, U), D = H / 2, Z = U / 2, R = M / 2 - o / 2, A = a === "point" ? !1 : j, X = a === "point" ? !0 : g, { colors: te } = tt(), ie = f ?? te.Primary_color ?? "#0000ff", z = x ?? te.Primary_color ?? "#0000ff", [O, ge] = _(r);
1913
1918
  $(() => {
1914
- r !== void 0 && I(r);
1919
+ r !== void 0 && ge(r);
1915
1920
  }, [r]);
1916
- const A = k(() => {
1917
- switch (a) {
1921
+ const De = k(() => {
1922
+ switch (l) {
1918
1923
  case "semicircle":
1919
1924
  return 180;
1920
1925
  case "brokenCircle":
@@ -1922,126 +1927,135 @@ const lr = ({ valueDisplayDuration: n = 2e3 }) => {
1922
1927
  default:
1923
1928
  return 360;
1924
1929
  }
1925
- }, [a]), z = k(() => a === "semicircle" ? [L * Math.PI, L * Math.PI] : a === "brokenCircle" ? [L * Math.PI * 1.25, L * Math.PI * 1.5] : [L * Math.PI, L * Math.PI * 2], [a, L]), Q = k(() => {
1926
- if (!y.current)
1930
+ }, [l]), Fe = k(() => l === "semicircle" ? [R * Math.PI, R * Math.PI] : l === "brokenCircle" ? [R * Math.PI * 1.25, R * Math.PI * 1.5] : [R * Math.PI, R * Math.PI * 2], [l, R]), de = je(
1931
+ () => t !== n ? (O - n) / (t - n) * 100 : 0,
1932
+ [O, n, t]
1933
+ ), We = k(() => {
1934
+ if (!T.current)
1927
1935
  return;
1928
- const [ne, ie] = z(), de = (W - n) * ie / (t - n);
1929
- if (x) {
1930
- const X = y.current.querySelector('[data-el="base"]');
1931
- X && (X.style.stroke = u, X.style.strokeWidth = o.toString(), X.style.strokeLinecap = g ? "round" : "", X.style.strokeDashoffset = ne.toString(), X.style.strokeDasharray = `${ie}, ${L * Math.PI * 2 - ie}`);
1932
- }
1933
- if (m) {
1934
- const X = y.current.querySelector('[data-el="indicator"]');
1935
- X && (X.style.stroke = h, X.style.strokeWidth = o.toString(), X.style.strokeLinecap = g ? "round" : "", X.style.strokeDashoffset = ne.toString(), X.style.strokeDasharray = `${de}, ${L * Math.PI * 2 - de}`);
1936
- }
1937
- if (j) {
1938
- const X = y.current.querySelector('[data-el="point"]');
1939
- X && (X.style.stroke = f, X.style.strokeWidth = o.toString(), X.style.strokeLinecap = "round", W === t && a === "semicircle" ? X.style.strokeDashoffset = "0" : X.style.strokeDashoffset = (ne - de).toString(), X.style.strokeDasharray = `0, ${L * Math.PI * 2}`);
1940
- }
1941
- }, [W, z, t, n, L, o, u, h, f, x, m, j, g]), te = (ne) => {
1942
- S.current = !0, document.addEventListener("mousemove", O), document.addEventListener("mouseup", D), fe(ne);
1943
- }, O = (ne) => {
1944
- ne.preventDefault(), S.current && fe(ne);
1945
- }, D = () => {
1946
- S.current = !1, document.removeEventListener("mousemove", O), document.removeEventListener("mouseup", D);
1947
- }, fe = k((ne) => {
1948
- if (!y.current)
1936
+ const [ee, ue] = Fe(), he = (O - n) * ue / (t - n);
1937
+ if (C) {
1938
+ const I = T.current.querySelector('[data-el="base"]');
1939
+ I && (I.style.stroke = h, I.style.strokeWidth = o.toString(), I.style.strokeLinecap = v ? "round" : "", I.style.strokeDashoffset = ee.toString(), I.style.strokeDasharray = `${ue}, ${R * Math.PI * 2 - ue}`);
1940
+ }
1941
+ if (A) {
1942
+ const I = T.current.querySelector('[data-el="indicator"]');
1943
+ if (I) {
1944
+ const fe = parseFloat(I.dataset.percentage ?? "");
1945
+ fe !== null && (fe < de - 2 || fe > de + 2) ? I.style.transition = ".3s" : I.style.transition = L.current ? "none" : ".3s", I.dataset.percentage = de.toString(), I.style.stroke = a === "static-color" ? ie : st(de / 100, ie, S), I.style.strokeWidth = o.toString(), I.style.strokeLinecap = v ? "round" : "", I.style.strokeDashoffset = ee.toString(), I.style.strokeDasharray = `${he}, ${R * Math.PI * 2 - he}`;
1946
+ }
1947
+ }
1948
+ if (X) {
1949
+ const I = T.current.querySelector('[data-el="point"]');
1950
+ if (I) {
1951
+ const fe = parseFloat(I.dataset.percentage ?? "");
1952
+ fe !== null && (fe < de - 2 || fe > de + 2) ? I.style.transition = ".3s" : I.style.transition = L.current ? "none" : ".3s", I.dataset.percentage = de.toString(), I.style.stroke = z, I.style.strokeWidth = o.toString(), I.style.strokeLinecap = "round", O === t && l === "semicircle" ? I.style.strokeDashoffset = "0" : I.style.strokeDashoffset = (ee - he).toString(), I.style.strokeDasharray = `0, ${R * Math.PI * 2}`;
1953
+ }
1954
+ }
1955
+ }, [O, Fe, t, n, R, o, h, ie, z, C, A, X, v, de, S]), nn = (ee) => {
1956
+ L.current = !0, document.addEventListener("mousemove", be), document.addEventListener("mouseup", ye), ke(ee);
1957
+ }, be = (ee) => {
1958
+ ee.preventDefault(), L.current && ke(ee);
1959
+ }, ye = () => {
1960
+ L.current = !1, document.removeEventListener("mousemove", be), document.removeEventListener("mouseup", ye);
1961
+ }, ke = k((ee) => {
1962
+ if (!T.current)
1949
1963
  return;
1950
- const ie = A(), de = y.current.getBoundingClientRect(), X = de.left + de.width / 2, Ee = de.top + de.height / 2, Le = ne.clientX, ke = ne.clientY, $e = Ee - ke, Ne = X - Le;
1951
- let ae = Math.atan2($e, Ne) * (180 / Math.PI);
1952
- ie === 270 && (ae += 45), ae < 0 && (ae = 360 + ae), ae < 0 && (ae = 0), ae > ie && W > (t - n) / 2 ? ae = ie : ae > ie && (ae = 0);
1953
- const ze = ie, qe = t - n, Te = Math.round(ae * qe / ze + n);
1954
- I(Te), Te !== r && s && s(Te);
1955
- }, [A, s, t, n, U, M, W]);
1964
+ const ue = De(), he = T.current.getBoundingClientRect(), I = he.left + he.width / 2, fe = he.top + he.height / 2, Ee = ee.clientX, Ne = ee.clientY, Ze = fe - Ne, Xe = I - Ee;
1965
+ let ne = Math.atan2(Ze, Xe) * (180 / Math.PI);
1966
+ ue === 270 && (ne += 45), ne < 0 && (ne = 360 + ne), ne < 0 && (ne = 0), ne > ue && O > (t - n) / 2 ? ne = ue : ne > ue && (ne = 0);
1967
+ const tn = ue, rn = t - n, _e = Math.round(ne * rn / tn + n);
1968
+ ge(_e), _e !== r && s && s(_e);
1969
+ }, [De, s, t, n, D, Z, O]);
1956
1970
  $(() => {
1957
- Q();
1958
- }, [Q]), $(() => () => {
1959
- document.removeEventListener("mousemove", O), document.removeEventListener("mouseup", D);
1971
+ We();
1972
+ }, [We]), $(() => () => {
1973
+ document.removeEventListener("mousemove", be), document.removeEventListener("mouseup", ye);
1960
1974
  }, []);
1961
- const ye = {
1975
+ const Pe = {
1962
1976
  "--stroke-width": `${o}px`
1963
1977
  };
1964
- return /* @__PURE__ */ e.jsxs("div", { style: { width: V, height: E, ...C }, className: "range-circule-wrapper", onFocus: c, onBlur: i, children: [
1978
+ return /* @__PURE__ */ e.jsxs("div", { style: { width: H, height: U, ...p }, className: "range-circule-wrapper", onFocus: c, onBlur: i, children: [
1965
1979
  /* @__PURE__ */ e.jsxs(
1966
1980
  "svg",
1967
1981
  {
1968
- ref: y,
1982
+ ref: T,
1969
1983
  width: "100%",
1970
1984
  height: "100%",
1971
- onMouseDown: te,
1985
+ onMouseDown: nn,
1972
1986
  children: [
1973
- x && /* @__PURE__ */ e.jsx(
1987
+ C && /* @__PURE__ */ e.jsx(
1974
1988
  "circle",
1975
1989
  {
1976
1990
  "data-el": "base",
1977
1991
  fill: "none",
1978
- cx: U,
1979
- cy: M,
1980
- r: L
1992
+ cx: D,
1993
+ cy: Z,
1994
+ r: R
1981
1995
  }
1982
1996
  ),
1983
- m && /* @__PURE__ */ e.jsx(
1997
+ A && /* @__PURE__ */ e.jsx(
1984
1998
  "circle",
1985
1999
  {
1986
2000
  "data-el": "indicator",
1987
2001
  fill: "none",
1988
- cx: U,
1989
- cy: M,
1990
- r: L
2002
+ cx: D,
2003
+ cy: Z,
2004
+ r: R
1991
2005
  }
1992
2006
  ),
1993
- j && /* @__PURE__ */ e.jsx(
2007
+ X && /* @__PURE__ */ e.jsx(
1994
2008
  "circle",
1995
2009
  {
1996
2010
  "data-el": "point",
1997
2011
  fill: "none",
1998
- cx: U,
1999
- cy: M,
2000
- r: L
2012
+ cx: D,
2013
+ cy: Z,
2014
+ r: R
2001
2015
  }
2002
2016
  )
2003
2017
  ]
2004
2018
  }
2005
2019
  ),
2006
- /* @__PURE__ */ e.jsx("div", { className: `range-circule-children ${w}`, style: ye, children: p ?? (v && /* @__PURE__ */ e.jsx(et, { className: "", text: Math.floor(W).toString() })) })
2020
+ /* @__PURE__ */ e.jsx("div", { className: `range-circule-children ${y}`, style: Pe, children: w ?? (m && /* @__PURE__ */ e.jsx(rt, { className: "", text: Math.floor(O).toString() })) })
2007
2021
  ] });
2008
2022
  };
2009
- const Es = ({ style: n, icon: t, className: r, onClick: s, onContextMenu: c, children: i }) => /* @__PURE__ */ e.jsxs("button", { style: n, className: `${r} extendedFAB`, onClick: s, onContextMenu: c, children: [
2023
+ const $s = ({ style: n, icon: t, className: r, onClick: s, onContextMenu: c, children: i }) => /* @__PURE__ */ e.jsxs("button", { style: n, className: `${r} extendedFAB`, onClick: s, onContextMenu: c, children: [
2010
2024
  t,
2011
2025
  i ? /* @__PURE__ */ e.jsx("span", { children: i }) : null
2012
- ] }), Ae = ({ children: n, container: t }) => t ? Vt.createPortal(
2026
+ ] }), ze = ({ children: n, container: t }) => t ? Ft.createPortal(
2013
2027
  n,
2014
2028
  t
2015
2029
  ) : /* @__PURE__ */ e.jsx("p", { children: "container not found" });
2016
- const he = ({ style: n, short: t, text: r }) => r ? /* @__PURE__ */ e.jsxs("div", { style: n, className: `divider-and-text ${t ? "short" : ""}`, children: [
2030
+ const xe = ({ style: n, short: t, text: r }) => r ? /* @__PURE__ */ e.jsxs("div", { style: n, className: `divider-and-text ${t ? "short" : ""}`, children: [
2017
2031
  /* @__PURE__ */ e.jsx("div", { className: `divider ${t ? "short" : ""}` }),
2018
2032
  r,
2019
2033
  /* @__PURE__ */ e.jsx("div", { className: `divider ${t ? "short" : ""}` })
2020
2034
  ] }) : /* @__PURE__ */ e.jsx("div", { style: n, className: `divider ${t ? "short" : ""}` });
2021
- const or = ({ item: n, isIcon: t, globalClick: r }) => {
2035
+ const ar = ({ item: n, isIcon: t, globalClick: r }) => {
2022
2036
  const s = () => {
2023
2037
  n.onClick && n.onClick(), r && r();
2024
2038
  };
2025
2039
  return /* @__PURE__ */ e.jsxs("div", { className: "menu-sub-item", onClick: s, children: [
2026
2040
  t ? /* @__PURE__ */ e.jsx("div", { className: "menu-icon-container", children: n.icon }) : null,
2027
2041
  /* @__PURE__ */ e.jsx("div", { className: "menu-text-container", children: n.title }),
2028
- /* @__PURE__ */ e.jsx("div", { className: "menu-status-container", children: n.activated ? /* @__PURE__ */ e.jsx(pe, {}) : null })
2042
+ /* @__PURE__ */ e.jsx("div", { className: "menu-status-container", children: n.activated ? /* @__PURE__ */ e.jsx(Se, {}) : null })
2029
2043
  ] });
2030
- }, Ke = (n) => n ? {
2044
+ }, en = (n) => n ? {
2031
2045
  height: Number(window.getComputedStyle(n).getPropertyValue("height").replace("px", "")),
2032
2046
  width: Number(window.getComputedStyle(n).getPropertyValue("width").replace("px", "")),
2033
2047
  left: Number(n.getBoundingClientRect().left),
2034
2048
  top: Number(n.getBoundingClientRect().top)
2035
- } : void 0, nt = (n, t, r, s) => {
2049
+ } : void 0, ct = (n, t, r, s) => {
2036
2050
  let c = { x: n, y: t };
2037
2051
  if (!r)
2038
2052
  return c;
2039
- let i = Number(window.getComputedStyle(r).getPropertyValue("height").replace("px", "")), a = Number(window.getComputedStyle(r).getPropertyValue("width").replace("px", "")), o = t + i - document.documentElement.clientHeight, l = n + a - document.documentElement.clientWidth;
2040
- return o > 0 && (c.y = c.y - o - ((s == null ? void 0 : s.marginBottom) ?? 0)), l > 0 && (c.x = c.x - l - ((s == null ? void 0 : s.marginRight) ?? 0)), c;
2041
- }, ar = ({ items: n, onHide: t, smallDisplay: r, globalClick: s }) => {
2042
- const c = G(null), [i, a] = _({ left: "0px", top: "0px" });
2043
- function o(l) {
2044
- for (let u of l)
2053
+ let i = Number(window.getComputedStyle(r).getPropertyValue("height").replace("px", "")), l = Number(window.getComputedStyle(r).getPropertyValue("width").replace("px", "")), a = t + i - document.documentElement.clientHeight, o = n + l - document.documentElement.clientWidth;
2054
+ return a > 0 && (c.y = c.y - a - ((s == null ? void 0 : s.marginBottom) ?? 0)), o > 0 && (c.x = c.x - o - ((s == null ? void 0 : s.marginRight) ?? 0)), c;
2055
+ }, dr = ({ items: n, onHide: t, smallDisplay: r, globalClick: s }) => {
2056
+ const c = Y(null), [i, l] = _({ left: "0px", top: "0px" });
2057
+ function a(o) {
2058
+ for (let u of o)
2045
2059
  if (u.icon)
2046
2060
  return !0;
2047
2061
  return !1;
@@ -2049,41 +2063,41 @@ const or = ({ item: n, isIcon: t, globalClick: r }) => {
2049
2063
  return $(() => {
2050
2064
  if (!c.current)
2051
2065
  return;
2052
- let l = Ke(c.current.parentElement);
2053
- if (!l)
2066
+ let o = en(c.current.parentElement);
2067
+ if (!o)
2054
2068
  return;
2055
- let u = nt(l.left + l.width, l.top, c.current, { marginRight: l.width });
2056
- a({
2057
- left: u.x - l.left + "px",
2058
- top: u.y - l.top + "px"
2069
+ let u = ct(o.left + o.width, o.top, c.current, { marginRight: o.width });
2070
+ l({
2071
+ left: u.x - o.left + "px",
2072
+ top: u.y - o.top + "px"
2059
2073
  });
2060
2074
  }, []), /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
2061
- /* @__PURE__ */ e.jsx("div", { ref: c, className: "menu-sub-block", style: { ...i }, children: n.map((l, u) => /* @__PURE__ */ e.jsx(or, { item: l, isIcon: o(n), globalClick: s }, u)) }),
2075
+ /* @__PURE__ */ e.jsx("div", { ref: c, className: "menu-sub-block", style: { ...i }, children: n.map((o, u) => /* @__PURE__ */ e.jsx(ar, { item: o, isIcon: a(n), globalClick: s }, u)) }),
2062
2076
  r ? null : /* @__PURE__ */ e.jsx("div", { style: { zIndex: 4 }, className: "backplate", onClick: t })
2063
2077
  ] });
2064
- }, dr = ({ onHide: n, autoHide: t, globalClick: r, item: s, isIcon: c, smallDisplay: i }) => {
2065
- const [a, o] = _(!1), l = k(() => {
2066
- s.subItems ? o((u) => !u) : s.onClick && s.onClick(), r && r(), t && n && n();
2078
+ }, ur = ({ onHide: n, autoHide: t, globalClick: r, item: s, isIcon: c, smallDisplay: i }) => {
2079
+ const [l, a] = _(!1), o = k(() => {
2080
+ s.subItems ? a((u) => !u) : s.onClick && s.onClick(), r && r(), t && n && n();
2067
2081
  }, [s.onClick]);
2068
2082
  return /* @__PURE__ */ e.jsxs("div", { className: "menu-item-conatiner", children: [
2069
- /* @__PURE__ */ e.jsxs("div", { className: "menu-item", onClick: l, children: [
2083
+ /* @__PURE__ */ e.jsxs("div", { className: "menu-item", onClick: o, children: [
2070
2084
  c ? /* @__PURE__ */ e.jsx("div", { className: "menu-icon-container", children: s.icon }) : null,
2071
2085
  /* @__PURE__ */ e.jsx("div", { className: "menu-text-container", children: s.title }),
2072
- /* @__PURE__ */ e.jsx("div", { className: "menu-status-container", children: s.subItems ? /* @__PURE__ */ e.jsx("span", { className: `menu-status-submenu ${a ? "active" : ""}` }) : s.activated ? /* @__PURE__ */ e.jsx(pe, {}) : /* @__PURE__ */ e.jsx("span", { className: "none-status" }) })
2086
+ /* @__PURE__ */ e.jsx("div", { className: "menu-status-container", children: s.subItems ? /* @__PURE__ */ e.jsx("span", { className: `menu-status-submenu ${l ? "active" : ""}` }) : s.activated ? /* @__PURE__ */ e.jsx(Se, {}) : /* @__PURE__ */ e.jsx("span", { className: "none-status" }) })
2073
2087
  ] }),
2074
- a && s.subItems ? /* @__PURE__ */ e.jsx(ar, { items: s.subItems, onHide: () => o(!1), smallDisplay: i }) : null
2088
+ l && s.subItems ? /* @__PURE__ */ e.jsx(dr, { items: s.subItems, onHide: () => a(!1), smallDisplay: i }) : null
2075
2089
  ] });
2076
2090
  };
2077
- function tt({ block: n, smallDisplay: t, onHide: r, globalClick: s, autoHide: c }) {
2078
- function i(a) {
2079
- for (let o of a.items)
2080
- if (o.icon)
2091
+ function it({ block: n, smallDisplay: t, onHide: r, globalClick: s, autoHide: c }) {
2092
+ function i(l) {
2093
+ for (let a of l.items)
2094
+ if (a.icon)
2081
2095
  return !0;
2082
2096
  return !1;
2083
2097
  }
2084
- return /* @__PURE__ */ e.jsx("div", { className: "menu-block", children: n.items.map((a, o) => /* @__PURE__ */ e.jsx(dr, { globalClick: s, autoHide: c, onHide: r, item: a, isIcon: i(n), smallDisplay: t }, o)) });
2098
+ return /* @__PURE__ */ e.jsx("div", { className: "menu-block", children: n.items.map((l, a) => /* @__PURE__ */ e.jsx(ur, { globalClick: s, autoHide: c, onHide: r, item: l, isIcon: i(n), smallDisplay: t }, a)) });
2085
2099
  }
2086
- const xn = ({ children: n, onHide: t, disableBackplate: r }) => {
2100
+ const vn = ({ children: n, onHide: t, disableBackplate: r }) => {
2087
2101
  function s() {
2088
2102
  t && t();
2089
2103
  }
@@ -2091,63 +2105,63 @@ const xn = ({ children: n, onHide: t, disableBackplate: r }) => {
2091
2105
  /* @__PURE__ */ e.jsx("div", { onClick: s, style: { display: r ? "none" : void 0 }, className: "backplate" }),
2092
2106
  n
2093
2107
  ] });
2094
- }, ur = 100, hr = (n) => {
2095
- const t = G(null), [r, s] = _({ left: "0px", top: "0px" }), c = () => {
2108
+ }, hr = 100, fr = (n) => {
2109
+ const t = Y(null), [r, s] = _({ left: "0px", top: "0px" }), c = () => {
2096
2110
  n.onHide && n.onHide();
2097
2111
  };
2098
2112
  return $(() => {
2099
- let i = nt(n.x, n.y, t.current, { marginBottom: ur });
2113
+ let i = ct(n.x, n.y, t.current, { marginBottom: hr });
2100
2114
  s({
2101
2115
  left: i.x + "px",
2102
2116
  top: i.y + "px"
2103
2117
  });
2104
- }, [n.x, n.y]), n.visible ? /* @__PURE__ */ e.jsx(xn, { onHide: c, children: /* @__PURE__ */ e.jsx("div", { ref: t, className: "menu-container", style: { ...r, opacity: r.top !== "0px" ? "100%" : "0%", width: n.width, maxWidth: n.width ? "100%" : void 0 }, children: n.blocks.map((i, a) => /* @__PURE__ */ e.jsxs(Je.Fragment, { children: [
2105
- a !== 0 ? /* @__PURE__ */ e.jsx(he, {}) : null,
2106
- /* @__PURE__ */ e.jsx(tt, { block: i, smallDisplay: !1, globalClick: n.onClick, autoHide: n.autoHide, onHide: c })
2107
- ] }, a)) }) }) : null;
2108
- }, fr = (n) => {
2118
+ }, [n.x, n.y]), n.visible ? /* @__PURE__ */ e.jsx(vn, { onHide: c, children: /* @__PURE__ */ e.jsx("div", { ref: t, className: "menu-container", style: { ...r, opacity: r.top !== "0px" ? "100%" : "0%", width: n.width, maxWidth: n.width ? "100%" : void 0 }, children: n.blocks.map((i, l) => /* @__PURE__ */ e.jsxs(Qe.Fragment, { children: [
2119
+ l !== 0 ? /* @__PURE__ */ e.jsx(xe, {}) : null,
2120
+ /* @__PURE__ */ e.jsx(it, { block: i, smallDisplay: !1, globalClick: n.onClick, autoHide: n.autoHide, onHide: c })
2121
+ ] }, l)) }) }) : null;
2122
+ }, xr = (n) => {
2109
2123
  const t = () => {
2110
2124
  };
2111
- return /* @__PURE__ */ e.jsx(st, { onHide: n.onHide || t, visible: n.visible, bottom: n.marginBottom, children: /* @__PURE__ */ e.jsx("div", { className: "bottom-sheets-menu-container", children: n.blocks.map((r, s) => /* @__PURE__ */ e.jsxs(Je.Fragment, { children: [
2112
- s !== 0 ? /* @__PURE__ */ e.jsx(he, {}) : null,
2113
- /* @__PURE__ */ e.jsx(tt, { block: r, smallDisplay: !0, autoHide: n.autoHide, onHide: n.onHide })
2125
+ return /* @__PURE__ */ e.jsx(lt, { onHide: n.onHide || t, visible: n.visible, bottom: n.marginBottom, children: /* @__PURE__ */ e.jsx("div", { className: "bottom-sheets-menu-container", children: n.blocks.map((r, s) => /* @__PURE__ */ e.jsxs(Qe.Fragment, { children: [
2126
+ s !== 0 ? /* @__PURE__ */ e.jsx(xe, {}) : null,
2127
+ /* @__PURE__ */ e.jsx(it, { block: r, smallDisplay: !0, autoHide: n.autoHide, onHide: n.onHide })
2114
2128
  ] }, s)) }) });
2115
- }, rt = (n) => n.screensize === ce.MOBILE ? /* @__PURE__ */ e.jsx(Ae, { container: n.container, children: /* @__PURE__ */ e.jsx(fr, { ...n }) }) : /* @__PURE__ */ e.jsx(Ae, { container: n.container, children: /* @__PURE__ */ e.jsx(hr, { ...n }) }), Ls = ({ icon: n, className: t, classNameContainer: r, disabled: s, style: c, transparent: i, container: a, blocks: o, screensize: l, autoHide: u }) => {
2116
- const [h, f] = _(!1), [x, m] = _(void 0), j = () => {
2117
- f(!1), m(void 0);
2129
+ }, ot = (n) => n.screensize === ce.MOBILE ? /* @__PURE__ */ e.jsx(ze, { container: n.container, children: /* @__PURE__ */ e.jsx(xr, { ...n }) }) : /* @__PURE__ */ e.jsx(ze, { container: n.container, children: /* @__PURE__ */ e.jsx(fr, { ...n }) }), Ls = ({ icon: n, className: t, classNameContainer: r, disabled: s, style: c, transparent: i, container: l, blocks: a, screensize: o, autoHide: u }) => {
2130
+ const [h, f] = _(!1), [x, C] = _(void 0), j = () => {
2131
+ f(!1), C(void 0);
2118
2132
  }, g = (v) => {
2119
- f(!0), m({ x: v.clientX, y: v.clientY });
2133
+ f(!0), C({ x: v.clientX, y: v.clientY });
2120
2134
  };
2121
2135
  return /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
2122
- /* @__PURE__ */ e.jsx(ve, { onClick: g, icon: n, className: t, classNameContainer: r, disabled: s, style: c, transparent: i }),
2123
- /* @__PURE__ */ e.jsx(rt, { marginBottom: l === ce.MOBILE ? 80 : 0, onHide: j, autoHide: u, screensize: l, visible: h, x: (x == null ? void 0 : x.x) ?? 0, y: (x == null ? void 0 : x.y) ?? 0, blocks: o, container: a })
2136
+ /* @__PURE__ */ e.jsx(pe, { onClick: g, icon: n, className: t, classNameContainer: r, disabled: s, style: c, transparent: i }),
2137
+ /* @__PURE__ */ e.jsx(ot, { marginBottom: o === ce.MOBILE ? 80 : 0, onHide: j, autoHide: u, screensize: o, visible: h, x: (x == null ? void 0 : x.x) ?? 0, y: (x == null ? void 0 : x.y) ?? 0, blocks: a, container: l })
2124
2138
  ] });
2125
2139
  };
2126
- const $s = ({ name: n, checked: t, onChange: r, readOnly: s, checkIcon: c }) => /* @__PURE__ */ e.jsxs("label", { className: "checkbox-container", children: [
2140
+ const Ts = ({ name: n, checked: t, onChange: r, readOnly: s, checkIcon: c }) => /* @__PURE__ */ e.jsxs("label", { className: "checkbox-container", children: [
2127
2141
  /* @__PURE__ */ e.jsx("input", { className: "checkbox", name: n, type: "checkbox", checked: t, onChange: r, readOnly: s }),
2128
2142
  /* @__PURE__ */ e.jsx("span", { className: "checkbox-box", children: c || /* @__PURE__ */ e.jsx("span", { className: "checkbox-ckeck-icon", children: "✓" }) })
2129
2143
  ] });
2130
- const xr = ({ text: n, onDelete: t, big: r, onClick: s, screenSize: c }) => {
2131
- const i = (o) => !(o.target.className === "alex-evo-ui-kit-chips-btn" || o.target.closest(".alex-evo-ui-kit-chips-btn")), a = (o) => {
2132
- i(o) && s && s(o);
2144
+ const jr = ({ text: n, onDelete: t, big: r, onClick: s, screenSize: c }) => {
2145
+ const i = (a) => !(a.target.className === "alex-evo-ui-kit-chips-btn" || a.target.closest(".alex-evo-ui-kit-chips-btn")), l = (a) => {
2146
+ i(a) && s && s(a);
2133
2147
  };
2134
- return /* @__PURE__ */ e.jsxs("div", { className: `alex-evo-ui-kit-chips chips ${r ? "big-chips" : ""} ${s ? "hovered" : ""}`, onClick: a, children: [
2135
- /* @__PURE__ */ e.jsx(xe, { type: "body", screensize: c, children: n }),
2136
- t ? /* @__PURE__ */ e.jsx("div", { className: "alex-evo-ui-kit-chips-btn chips-btn", onClick: t, children: /* @__PURE__ */ e.jsx(Me, {}) }) : null
2148
+ return /* @__PURE__ */ e.jsxs("div", { className: `alex-evo-ui-kit-chips chips ${r ? "big-chips" : ""} ${s ? "hovered" : ""}`, onClick: l, children: [
2149
+ /* @__PURE__ */ e.jsx(me, { type: "body", screensize: c, children: n }),
2150
+ t ? /* @__PURE__ */ e.jsx("div", { className: "alex-evo-ui-kit-chips-btn chips-btn", onClick: t, children: /* @__PURE__ */ e.jsx(Oe, {}) }) : null
2137
2151
  ] });
2138
2152
  };
2139
- const jr = ({ name: n, checked: t, onClick: r }) => /* @__PURE__ */ e.jsxs("label", { className: "radio-button-container", children: [
2153
+ const mr = ({ name: n, checked: t, onClick: r }) => /* @__PURE__ */ e.jsxs("label", { className: "radio-button-container", children: [
2140
2154
  /* @__PURE__ */ e.jsx("input", { className: "radio-button", onClick: r, name: n, type: "radio", checked: t, readOnly: !0 }),
2141
2155
  /* @__PURE__ */ e.jsx("span", {})
2142
- ] }), Ts = ({ defaultChecked: n, name: t, currentValue: r, value: s, onChange: c, readOnly: i, checked: a }) => /* @__PURE__ */ e.jsxs("label", { className: "radio-button-container", children: [
2143
- /* @__PURE__ */ e.jsx("input", { defaultChecked: n, className: "radio-button", name: t, type: "radio", checked: r && s && r === s || a, value: s, onChange: c, readOnly: i }),
2156
+ ] }), Os = ({ defaultChecked: n, name: t, currentValue: r, value: s, onChange: c, readOnly: i, checked: l }) => /* @__PURE__ */ e.jsxs("label", { className: "radio-button-container", children: [
2157
+ /* @__PURE__ */ e.jsx("input", { defaultChecked: n, className: "radio-button", name: t, type: "radio", checked: r && s && r === s || l, value: s, onChange: c, readOnly: i }),
2144
2158
  /* @__PURE__ */ e.jsx("span", {})
2145
2159
  ] });
2146
- const Hn = (n) => n === void 0 ? [] : Array.isArray(n) ? n : [n], mr = ({ readOnly: n, ref: t, style: r, multiple: s, value: c, items: i, className: a, name: o, onClick: l, onContextMenu: u, onChange: h }) => {
2147
- const [f, x] = _(Hn(c)), m = (j) => {
2160
+ const In = (n) => n === void 0 ? [] : Array.isArray(n) ? n : [n], Cr = ({ readOnly: n, ref: t, style: r, multiple: s, value: c, items: i, className: l, name: a, onClick: o, onContextMenu: u, onChange: h }) => {
2161
+ const [f, x] = _(In(c)), C = (j) => {
2148
2162
  if (n)
2149
2163
  return;
2150
- l && l(j);
2164
+ o && o(j);
2151
2165
  const g = j.currentTarget;
2152
2166
  if (!s) {
2153
2167
  if (!g.dataset.el)
@@ -2156,22 +2170,22 @@ const Hn = (n) => n === void 0 ? [] : Array.isArray(n) ? n : [n], mr = ({ readOn
2156
2170
  return;
2157
2171
  }
2158
2172
  const v = f.filter((p) => p === g.dataset.el);
2159
- let C = f.slice();
2160
- v.length > 0 && g.dataset.el ? C = C.filter((p) => p !== g.dataset.el) : g.dataset.el && C.push(g.dataset.el), x(C), h && h(C, j);
2173
+ let m = f.slice();
2174
+ v.length > 0 && g.dataset.el ? m = m.filter((p) => p !== g.dataset.el) : g.dataset.el && m.push(g.dataset.el), x(m), h && h(m, j);
2161
2175
  };
2162
2176
  return $(() => {
2163
- c !== void 0 && x(Hn(c));
2164
- }, [c]), /* @__PURE__ */ e.jsx("div", { style: r, className: `sigmentedbutton-container ${a ?? ""}`, children: i.map((j, g) => /* @__PURE__ */ e.jsxs("div", { className: "sigmentedbutton-item-container", children: [
2165
- /* @__PURE__ */ e.jsxs("div", { "data-el": j, onContextMenu: u, onClick: m, className: `sigmentedbutton-item-button ${f.includes(j) ? "active" : ""}`, children: [
2166
- f.includes(j) ? /* @__PURE__ */ e.jsx("div", { className: "icon-container", children: /* @__PURE__ */ e.jsx(pe, {}) }) : null,
2177
+ c !== void 0 && x(In(c));
2178
+ }, [c]), /* @__PURE__ */ e.jsx("div", { style: r, className: `sigmentedbutton-container ${l ?? ""}`, children: i.map((j, g) => /* @__PURE__ */ e.jsxs("div", { className: "sigmentedbutton-item-container", children: [
2179
+ /* @__PURE__ */ e.jsxs("div", { "data-el": j, onContextMenu: u, onClick: C, className: `sigmentedbutton-item-button ${f.includes(j) ? "active" : ""}`, children: [
2180
+ f.includes(j) ? /* @__PURE__ */ e.jsx("div", { className: "icon-container", children: /* @__PURE__ */ e.jsx(Se, {}) }) : null,
2167
2181
  /* @__PURE__ */ e.jsx("div", { className: "text-container", children: j })
2168
2182
  ] }, g),
2169
- /* @__PURE__ */ e.jsx("input", { ref: t, multiple: !0, readOnly: !0, type: "radio", style: { display: "none" }, name: o, checked: f.includes(j), value: j })
2183
+ /* @__PURE__ */ e.jsx("input", { ref: t, multiple: !0, readOnly: !0, type: "radio", style: { display: "none" }, name: a, checked: f.includes(j), value: j })
2170
2184
  ] }, g)) });
2171
2185
  };
2172
- const Cr = ({ ref: n, style: t, name: r, onChange: s, checked: c, className: i, readOnly: a }) => /* @__PURE__ */ e.jsx("div", { className: `swich-container ${i}`, style: t, children: /* @__PURE__ */ e.jsx("input", { readOnly: a, ref: n, type: "checkbox", name: r, onChange: s, checked: c }) });
2173
- const st = ({ bottom: n = 0, ...t }) => {
2174
- const [r, s] = _(!1), [c, i] = _(!0), a = G(null), o = k(() => {
2186
+ const vr = ({ ref: n, style: t, name: r, onChange: s, checked: c, className: i, readOnly: l }) => /* @__PURE__ */ e.jsx("div", { className: `swich-container ${i}`, style: t, children: /* @__PURE__ */ e.jsx("input", { readOnly: l, ref: n, type: "checkbox", name: r, onChange: s, checked: c }) });
2187
+ const lt = ({ bottom: n = 0, ...t }) => {
2188
+ const [r, s] = _(!1), [c, i] = _(!0), l = Y(null), a = k(() => {
2175
2189
  s(!0), setTimeout(() => {
2176
2190
  t.onHide(), s(!1), i(!0);
2177
2191
  }, 200);
@@ -2179,12 +2193,12 @@ const st = ({ bottom: n = 0, ...t }) => {
2179
2193
  $(() => {
2180
2194
  t.visible && i(!1);
2181
2195
  }, [t.visible]), $(() => {
2182
- !t.visible && !c && o();
2183
- }, [t.visible, o, c]);
2184
- const l = k((x) => {
2185
- window.innerHeight - x.changedTouches[0].clientY <= 150 && o(), a.current && (a.current.style.height = `${window.innerHeight - x.changedTouches[0].clientY + 20 - n}px`);
2186
- }, [o]), u = (x) => {
2187
- window.innerHeight - x.clientY + 20 <= 150 && o(), a.current && (a.current.style.height = `${window.innerHeight - x.clientY + 20 - n}px`);
2196
+ !t.visible && !c && a();
2197
+ }, [t.visible, a, c]);
2198
+ const o = k((x) => {
2199
+ window.innerHeight - x.changedTouches[0].clientY <= 150 && a(), l.current && (l.current.style.height = `${window.innerHeight - x.changedTouches[0].clientY + 20 - n}px`);
2200
+ }, [a]), u = (x) => {
2201
+ window.innerHeight - x.clientY + 20 <= 150 && a(), l.current && (l.current.style.height = `${window.innerHeight - x.clientY + 20 - n}px`);
2188
2202
  }, h = () => {
2189
2203
  document.body.removeEventListener("mousemove", u), document.body.removeEventListener("mouseup", h);
2190
2204
  }, f = () => {
@@ -2192,11 +2206,11 @@ const st = ({ bottom: n = 0, ...t }) => {
2192
2206
  };
2193
2207
  return $(() => () => {
2194
2208
  document.body.removeEventListener("mousemove", u), document.body.removeEventListener("mouseup", h);
2195
- }), c && !r || !t.children ? null : /* @__PURE__ */ e.jsx(xn, { onHide: o, children: /* @__PURE__ */ e.jsxs("div", { ref: a, style: { paddingBottom: n }, className: `bottom-sheets ${r ? "hide" : ""}`, children: [
2196
- /* @__PURE__ */ e.jsx("div", { className: "bottom-sheets-handle", onMouseDown: f, onTouchMove: l, children: /* @__PURE__ */ e.jsx("span", {}) }),
2209
+ }), c && !r || !t.children ? null : /* @__PURE__ */ e.jsx(vn, { onHide: a, children: /* @__PURE__ */ e.jsxs("div", { ref: l, style: { paddingBottom: n }, className: `bottom-sheets ${r ? "hide" : ""}`, children: [
2210
+ /* @__PURE__ */ e.jsx("div", { className: "bottom-sheets-handle", onMouseDown: f, onTouchMove: o, children: /* @__PURE__ */ e.jsx("span", {}) }),
2197
2211
  /* @__PURE__ */ e.jsx("div", { className: "bottom-sheets-content", children: t.children })
2198
2212
  ] }) });
2199
- }, ct = (n, t) => {
2213
+ }, at = (n, t) => {
2200
2214
  $(() => {
2201
2215
  if (n) {
2202
2216
  const r = window.innerWidth - document.documentElement.clientWidth;
@@ -2207,11 +2221,11 @@ const st = ({ bottom: n = 0, ...t }) => {
2207
2221
  t.style.overflow = "", t.style.paddingRight = "";
2208
2222
  };
2209
2223
  }, [n]);
2210
- }, An = {
2224
+ }, Bn = {
2211
2225
  mobileSize: 720,
2212
2226
  bigSize: 1400
2213
- }, it = (n = An) => {
2214
- (n.bigSize <= 100 || n.mobileSize <= 100 || n.bigSize <= 100 || n.mobileSize >= n.bigSize) && (console.error("useScreenSize: invalid option"), n = An);
2227
+ }, dt = (n = Bn) => {
2228
+ (n.bigSize <= 100 || n.mobileSize <= 100 || n.bigSize <= 100 || n.mobileSize >= n.bigSize) && (console.error("useScreenSize: invalid option"), n = Bn);
2215
2229
  const [t, r] = _(ce.STANDART), s = k(() => {
2216
2230
  window.innerWidth < n.mobileSize ? r(ce.MOBILE) : window.innerWidth < n.bigSize ? r(ce.STANDART) : r(ce.BIG_SCREEN);
2217
2231
  }, [window.innerWidth]);
@@ -2221,86 +2235,86 @@ const st = ({ bottom: n = 0, ...t }) => {
2221
2235
  window.removeEventListener("resize", s);
2222
2236
  }), [s]), { screen: t };
2223
2237
  };
2224
- const lt = ({ className: n, children: t, header: r, action: s, onHide: c, style: i, clearStyle: a = !1, disableBackplate: o }) => {
2225
- function l() {
2238
+ const ut = ({ className: n, children: t, header: r, action: s, onHide: c, style: i, clearStyle: l = !1, disableBackplate: a }) => {
2239
+ function o() {
2226
2240
  c && c();
2227
2241
  }
2228
- return /* @__PURE__ */ e.jsx(xn, { onHide: l, disableBackplate: o, children: /* @__PURE__ */ e.jsxs("div", { style: i, className: `${a ? "" : "dialog-container"} dialog-container-base ${n}`, children: [
2242
+ return /* @__PURE__ */ e.jsx(vn, { onHide: o, disableBackplate: a, children: /* @__PURE__ */ e.jsxs("div", { style: i, className: `${l ? "" : "dialog-container"} dialog-container-base ${n}`, children: [
2229
2243
  r ? /* @__PURE__ */ e.jsx("div", { className: "dialog-header", children: /* @__PURE__ */ e.jsx("h2", { className: "text-3xl", children: r }) }) : null,
2230
2244
  /* @__PURE__ */ e.jsx("div", { className: "dialog-content", children: t }),
2231
2245
  s ? /* @__PURE__ */ e.jsx("div", { className: "dialog-action", children: s }) : null
2232
2246
  ] }) });
2233
- }, be = ({ marginBottom: n = 80, ...t }) => {
2234
- const { screen: r } = it();
2235
- ct(!0, document.body);
2247
+ }, Me = ({ marginBottom: n = 80, ...t }) => {
2248
+ const { screen: r } = dt();
2249
+ at(!0, document.body);
2236
2250
  const s = () => {
2237
2251
  var c;
2238
2252
  (c = t.onHide) == null || c.call(t);
2239
2253
  };
2240
- return r !== ce.MOBILE ? /* @__PURE__ */ e.jsx(lt, { ...t }) : /* @__PURE__ */ e.jsx(st, { bottom: n, onHide: s, visible: !0, children: /* @__PURE__ */ e.jsxs("div", { style: t.style, className: `dialog-container-bottom-sheet ${t.className}`, children: [
2254
+ return r !== ce.MOBILE ? /* @__PURE__ */ e.jsx(ut, { ...t }) : /* @__PURE__ */ e.jsx(lt, { bottom: n, onHide: s, visible: !0, children: /* @__PURE__ */ e.jsxs("div", { style: t.style, className: `dialog-container-bottom-sheet ${t.className}`, children: [
2241
2255
  t.header ? /* @__PURE__ */ e.jsx("div", { className: "dialog-header", children: /* @__PURE__ */ e.jsx("h2", { className: "text-3xl", children: t.header }) }) : null,
2242
2256
  /* @__PURE__ */ e.jsx("div", { className: "dialog-content", children: t.children }),
2243
2257
  t.action ? /* @__PURE__ */ e.jsx("div", { className: "dialog-action", children: t.action }) : null
2244
2258
  ] }) });
2245
- }, Os = ({ styleContainer: n, text: t, header: r, actionText: s, onSuccess: c, onHide: i, onCancel: a }) => {
2246
- const o = k(() => {
2259
+ }, Vs = ({ styleContainer: n, text: t, header: r, actionText: s, onSuccess: c, onHide: i, onCancel: l }) => {
2260
+ const a = k(() => {
2247
2261
  c && c(), i && i();
2248
- }, [c, i]), l = k(() => {
2249
- a && a(), i && i();
2250
- }, [i, a]);
2251
- return /* @__PURE__ */ e.jsx(be, { style: n, header: r, action: /* @__PURE__ */ e.jsx(vr, { onHide: l, actionText: s, onSuccess: o }), children: /* @__PURE__ */ e.jsx("p", { children: t }) });
2262
+ }, [c, i]), o = k(() => {
2263
+ l && l(), i && i();
2264
+ }, [i, l]);
2265
+ return /* @__PURE__ */ e.jsx(Me, { style: n, header: r, action: /* @__PURE__ */ e.jsx(gr, { onHide: o, actionText: s, onSuccess: a }), children: /* @__PURE__ */ e.jsx("p", { children: t }) });
2252
2266
  };
2253
- function vr({ actionText: n, onSuccess: t, onHide: r }) {
2267
+ function gr({ actionText: n, onSuccess: t, onHide: r }) {
2254
2268
  return /* @__PURE__ */ e.jsxs("div", { className: "dialog-button-container", children: [
2255
- /* @__PURE__ */ e.jsx(ee, { onClick: r, children: "cancel" }),
2256
- /* @__PURE__ */ e.jsx(ee, { onClick: t, children: n ?? "OK" })
2269
+ /* @__PURE__ */ e.jsx(Q, { onClick: r, children: "cancel" }),
2270
+ /* @__PURE__ */ e.jsx(Q, { onClick: t, children: n ?? "OK" })
2257
2271
  ] });
2258
2272
  }
2259
- const gr = ({ children: n, className: t, maxHeight: r, scroll: s, transparent: c }) => /* @__PURE__ */ e.jsx("ul", { style: { overflowY: r ? s ? "scroll" : "hidden" : void 0, maxHeight: r, backgroundColor: c ? "transparent" : void 0 }, className: `list-container ${t} ${s ? "scroll" : ""}`, children: n }), pr = ({ icon: n, control: t, text: r, header: s, value: c, onClick: i, hovered: a, className: o }) => {
2260
- const l = (u) => {
2273
+ const pr = ({ children: n, className: t, maxHeight: r, scroll: s, transparent: c }) => /* @__PURE__ */ e.jsx("ul", { style: { overflowY: r ? s ? "scroll" : "hidden" : void 0, maxHeight: r, backgroundColor: c ? "transparent" : void 0 }, className: `list-container ${t} ${s ? "scroll" : ""}`, children: n }), br = ({ icon: n, control: t, text: r, header: s, value: c, onClick: i, hovered: l, className: a }) => {
2274
+ const o = (u) => {
2261
2275
  u.target.closest(".control-container") || i && i(u);
2262
2276
  };
2263
- return /* @__PURE__ */ e.jsxs("li", { className: ` ${o} list-item-container ${a ? "hovered" : ""}`, onClick: l, children: [
2277
+ return /* @__PURE__ */ e.jsxs("li", { className: ` ${a} list-item-container ${l ? "hovered" : ""}`, onClick: o, children: [
2264
2278
  n ? /* @__PURE__ */ e.jsx("div", { className: "icon-container", children: n }) : c ? /* @__PURE__ */ e.jsx("div", { className: "icon-container", children: c }) : null,
2265
2279
  r ? /* @__PURE__ */ e.jsxs("div", { className: "text-container", children: [
2266
- /* @__PURE__ */ e.jsx("div", { className: "header", children: /* @__PURE__ */ e.jsx(xe, { type: "body", children: s }) }),
2267
- /* @__PURE__ */ e.jsx("div", { className: "text", children: /* @__PURE__ */ e.jsx(xe, { type: "small", children: r }) })
2268
- ] }) : /* @__PURE__ */ e.jsx("div", { className: "text-container", children: /* @__PURE__ */ e.jsx("div", { className: "header", children: /* @__PURE__ */ e.jsx(xe, { type: "body", children: s }) }) }),
2280
+ /* @__PURE__ */ e.jsx("div", { className: "header", children: /* @__PURE__ */ e.jsx(me, { type: "body", children: s }) }),
2281
+ /* @__PURE__ */ e.jsx("div", { className: "text", children: /* @__PURE__ */ e.jsx(me, { type: "small", children: r }) })
2282
+ ] }) : /* @__PURE__ */ e.jsx("div", { className: "text-container", children: /* @__PURE__ */ e.jsx("div", { className: "header", children: /* @__PURE__ */ e.jsx(me, { type: "body", children: s }) }) }),
2269
2283
  t ? /* @__PURE__ */ e.jsx("div", { className: "control-container", children: t }) : null
2270
2284
  ] });
2271
2285
  };
2272
- function Vs({ onSuccess: n, items: t, header: r, onHide: s, noHide: c = !1, name: i = "dailog_name" }) {
2273
- const [a, o] = _(void 0), l = k(() => {
2274
- console.log(a), n && a && n(a), o(void 0), !c && s && s();
2275
- }, [a]), u = k((h) => {
2276
- o(h);
2286
+ function Ds({ onSuccess: n, items: t, header: r, onHide: s, noHide: c = !1, name: i = "dailog_name" }) {
2287
+ const [l, a] = _(void 0), o = k(() => {
2288
+ console.log(l), n && l && n(l), a(void 0), !c && s && s();
2289
+ }, [l]), u = k((h) => {
2290
+ a(h);
2277
2291
  }, []);
2278
- return /* @__PURE__ */ e.jsxs(be, { header: r, action: /* @__PURE__ */ e.jsx(br, { onHide: s, onSuccess: l, disabled: a === void 0 }), children: [
2279
- /* @__PURE__ */ e.jsx(he, { style: { padding: "0px" } }),
2280
- /* @__PURE__ */ e.jsx(gr, { className: "transparent", scroll: !0, maxHeight: "200px", children: t.map((h, f) => /* @__PURE__ */ e.jsx("label", { children: /* @__PURE__ */ e.jsx(pr, { hovered: !0, header: h.title, onClick: () => u(h.data), control: /* @__PURE__ */ e.jsx(jr, { onClick: () => u(h.data), name: i, checked: h.data === a }) }) }, f)) }),
2281
- /* @__PURE__ */ e.jsx(he, { style: { padding: "0px" } })
2292
+ return /* @__PURE__ */ e.jsxs(Me, { header: r, action: /* @__PURE__ */ e.jsx(yr, { onHide: s, onSuccess: o, disabled: l === void 0 }), children: [
2293
+ /* @__PURE__ */ e.jsx(xe, { style: { padding: "0px" } }),
2294
+ /* @__PURE__ */ e.jsx(pr, { className: "transparent", scroll: !0, maxHeight: "200px", children: t.map((h, f) => /* @__PURE__ */ e.jsx("label", { children: /* @__PURE__ */ e.jsx(br, { hovered: !0, header: h.title, onClick: () => u(h.data), control: /* @__PURE__ */ e.jsx(mr, { onClick: () => u(h.data), name: i, checked: h.data === l }) }) }, f)) }),
2295
+ /* @__PURE__ */ e.jsx(xe, { style: { padding: "0px" } })
2282
2296
  ] });
2283
2297
  }
2284
- function br({ onSuccess: n, onHide: t, disabled: r }) {
2298
+ function yr({ onSuccess: n, onHide: t, disabled: r }) {
2285
2299
  return /* @__PURE__ */ e.jsxs("div", { className: "dialog-button-container", children: [
2286
- /* @__PURE__ */ e.jsx(ee, { onClick: t, children: "cancel" }),
2287
- /* @__PURE__ */ e.jsx(ee, { onClick: n, disabled: r, children: "OK" })
2300
+ /* @__PURE__ */ e.jsx(Q, { onClick: t, children: "cancel" }),
2301
+ /* @__PURE__ */ e.jsx(Q, { onClick: n, disabled: r, children: "OK" })
2288
2302
  ] });
2289
2303
  }
2290
- const jn = ({ onClick: n, ref: t, styleContainer: r, type: s = "text", transparent: c, readOnly: i, password: a, border: o, onClear: l, icon: u, onChange: h, name: f, value: x, placeholder: m, className: j, validEmptyValue: g, onFocus: v, onBlur: C, error: p, max: w, min: y }) => {
2291
- const S = G(null), [V, E] = _(!1), [Y, U] = _(!1), M = () => {
2304
+ const gn = ({ onClick: n, ref: t, styleContainer: r, type: s = "text", transparent: c, readOnly: i, password: l, border: a, onClear: o, icon: u, onChange: h, name: f, value: x, placeholder: C, className: j, validEmptyValue: g, onFocus: v, onBlur: m, error: p, max: w, min: y }) => {
2305
+ const S = Y(null), [T, L] = _(!1), [H, U] = _(!1), M = () => {
2292
2306
  if (!S.current)
2293
2307
  return;
2294
2308
  const A = S.current.querySelector("input");
2295
2309
  A && A.focus();
2296
- }, L = (A) => {
2310
+ }, D = (A) => {
2297
2311
  v && v(A), U(!0);
2298
- }, W = (A) => {
2299
- C && C(A), U(!1);
2300
- }, I = k((A, z) => E(!!(p || A && (!z || z === ""))), []);
2312
+ }, Z = (A) => {
2313
+ m && m(A), U(!1);
2314
+ }, R = k((A, X) => L(!!(p || A && (!X || X === ""))), []);
2301
2315
  return $(() => {
2302
- I(g, x);
2303
- }, [x, g, I]), /* @__PURE__ */ e.jsxs("div", { ref: S, style: r, className: `input-field text-field ${o ? "border" : ""} ${Y ? "active" : ""} ${c ? "transparent" : ""} ${V ? "error" : ""} ${j}`, children: [
2316
+ R(g, x);
2317
+ }, [x, g, R]), /* @__PURE__ */ e.jsxs("div", { ref: S, style: r, className: `input-field text-field ${a ? "border" : ""} ${H ? "active" : ""} ${c ? "transparent" : ""} ${T ? "error" : ""} ${j}`, children: [
2304
2318
  u ? /* @__PURE__ */ e.jsx("div", { className: "icon-container", onClick: M, children: u }) : null,
2305
2319
  /* @__PURE__ */ e.jsxs("div", { className: "input-container", onClick: M, children: [
2306
2320
  /* @__PURE__ */ e.jsx(
@@ -2311,43 +2325,43 @@ const jn = ({ onClick: n, ref: t, styleContainer: r, type: s = "text", transpare
2311
2325
  min: y,
2312
2326
  readOnly: i,
2313
2327
  required: !0,
2314
- type: a ? "password" : s,
2315
- className: `${V ? "error" : ""}`,
2328
+ type: l ? "password" : s,
2329
+ className: `${T ? "error" : ""}`,
2316
2330
  name: f,
2317
2331
  value: x,
2318
2332
  onClick: n,
2319
2333
  onChange: h,
2320
- onFocus: L,
2321
- onBlur: W
2334
+ onFocus: D,
2335
+ onBlur: Z
2322
2336
  }
2323
2337
  ),
2324
- /* @__PURE__ */ e.jsx("label", { children: m ? /* @__PURE__ */ e.jsx("span", { children: m }) : null })
2338
+ /* @__PURE__ */ e.jsx("label", { children: C ? /* @__PURE__ */ e.jsx("span", { children: C }) : null })
2325
2339
  ] }),
2326
- l ? /* @__PURE__ */ e.jsx("div", { className: "icon-container clear-btn", children: /* @__PURE__ */ e.jsx(Me, { onClick: l }) }) : null
2340
+ o ? /* @__PURE__ */ e.jsx("div", { className: "icon-container clear-btn", children: /* @__PURE__ */ e.jsx(Oe, { onClick: o }) }) : null
2327
2341
  ] });
2328
- }, Ds = ({ styleContainer: n, text: t, header: r, onSuccess: s, onHide: c, placeholder: i, type: a = "text", min: o = 0, max: l = 100 }) => {
2342
+ }, Fs = ({ styleContainer: n, text: t, header: r, onSuccess: s, onHide: c, placeholder: i, type: l = "text", min: a = 0, max: o = 100 }) => {
2329
2343
  const [u, h] = _(""), f = k(() => {
2330
2344
  s && s(u), c && c();
2331
- }, [u]), x = (m) => {
2332
- a === "number" && (Number(m) < o && (m = String(o)), Number(m) > l && (m = String(l))), h(m);
2345
+ }, [u]), x = (C) => {
2346
+ l === "number" && (Number(C) < a && (C = String(a)), Number(C) > o && (C = String(o))), h(C);
2333
2347
  };
2334
- return /* @__PURE__ */ e.jsxs(be, { style: n, header: r, action: /* @__PURE__ */ e.jsx(yr, { onHide: c, onSuccess: f }), children: [
2348
+ return /* @__PURE__ */ e.jsxs(Me, { style: n, header: r, action: /* @__PURE__ */ e.jsx(kr, { onHide: c, onSuccess: f }), children: [
2335
2349
  /* @__PURE__ */ e.jsx("p", { children: t }),
2336
- /* @__PURE__ */ e.jsx("div", { className: "dialog-input-container", children: /* @__PURE__ */ e.jsx(jn, { max: l, min: o, type: a, border: !0, placeholder: i, value: u, onChange: (m) => x(m.target.value) }) })
2350
+ /* @__PURE__ */ e.jsx("div", { className: "dialog-input-container", children: /* @__PURE__ */ e.jsx(gn, { max: o, min: a, type: l, border: !0, placeholder: i, value: u, onChange: (C) => x(C.target.value) }) })
2337
2351
  ] });
2338
2352
  };
2339
- function yr({ onSuccess: n, onHide: t }) {
2353
+ function kr({ onSuccess: n, onHide: t }) {
2340
2354
  return /* @__PURE__ */ e.jsxs("div", { className: "dialog-button-container", children: [
2341
- /* @__PURE__ */ e.jsx(ee, { onClick: t, children: "cancel" }),
2342
- /* @__PURE__ */ e.jsx(ee, { onClick: n, children: "OK" })
2355
+ /* @__PURE__ */ e.jsx(Q, { onClick: t, children: "cancel" }),
2356
+ /* @__PURE__ */ e.jsx(Q, { onClick: n, children: "OK" })
2343
2357
  ] });
2344
2358
  }
2345
- const kr = ({ onHide: n, onSave: t }) => /* @__PURE__ */ e.jsxs("div", { className: "dialog-button-container", children: [
2346
- n ? /* @__PURE__ */ e.jsx(ee, { onClick: n, children: "cancel" }) : null,
2347
- t ? /* @__PURE__ */ e.jsx(ee, { onClick: t, children: "save" }) : null
2348
- ] }), Fs = ({ style: n, className: t, header: r, children: s, onSave: c, onHide: i, marginBottom: a, disableBackplate: o }) => {
2349
- const [l, u] = _(!1);
2350
- ct(!0, document.body);
2359
+ const Nr = ({ onHide: n, onSave: t }) => /* @__PURE__ */ e.jsxs("div", { className: "dialog-button-container", children: [
2360
+ n ? /* @__PURE__ */ e.jsx(Q, { onClick: n, children: "cancel" }) : null,
2361
+ t ? /* @__PURE__ */ e.jsx(Q, { onClick: t, children: "save" }) : null
2362
+ ] }), Ps = ({ style: n, className: t, header: r, children: s, onSave: c, onHide: i, marginBottom: l, disableBackplate: a }) => {
2363
+ const [o, u] = _(!1);
2364
+ at(!0, document.body);
2351
2365
  const h = k(() => {
2352
2366
  window.innerWidth < 720 ? u(!0) : u(!1);
2353
2367
  }, [window.innerWidth]);
@@ -2361,101 +2375,101 @@ const kr = ({ onHide: n, onSave: t }) => /* @__PURE__ */ e.jsxs("div", { classNa
2361
2375
  }, x = () => {
2362
2376
  c && c();
2363
2377
  };
2364
- return l ? /* @__PURE__ */ e.jsxs("div", { style: { ...n, height: `calc(100vh - ${a}px` }, className: `full-screen-dialog-container ${t}`, children: [
2378
+ return o ? /* @__PURE__ */ e.jsxs("div", { style: { ...n, height: `calc(100vh - ${l}px` }, className: `full-screen-dialog-container ${t}`, children: [
2365
2379
  /* @__PURE__ */ e.jsxs("div", { className: "full-screen-dialog-header", children: [
2366
- /* @__PURE__ */ e.jsx("div", { className: "dialog-icon-container", children: i && /* @__PURE__ */ e.jsx(ve, { transparent: !0, onClick: f, icon: /* @__PURE__ */ e.jsx(Me, {}) }) }),
2380
+ /* @__PURE__ */ e.jsx("div", { className: "dialog-icon-container", children: i && /* @__PURE__ */ e.jsx(pe, { transparent: !0, onClick: f, icon: /* @__PURE__ */ e.jsx(Oe, {}) }) }),
2367
2381
  /* @__PURE__ */ e.jsx("div", { className: "header", children: r }),
2368
- /* @__PURE__ */ e.jsx("div", { className: "save-container", children: c ? /* @__PURE__ */ e.jsx(ee, { onClick: x, children: "save" }) : null })
2382
+ /* @__PURE__ */ e.jsx("div", { className: "save-container", children: c ? /* @__PURE__ */ e.jsx(Q, { onClick: x, children: "save" }) : null })
2369
2383
  ] }),
2370
2384
  /* @__PURE__ */ e.jsx("div", { className: "full-screen-dialog-content", style: { overflowY: "auto" }, children: s })
2371
- ] }) : /* @__PURE__ */ e.jsx(lt, { disableBackplate: o, style: n, header: r, className: `full-screen-dialog-base-format ${t}`, onHide: f, children: s, action: /* @__PURE__ */ e.jsx(kr, { onHide: i ? f : void 0, onSave: c ? x : void 0 }) });
2385
+ ] }) : /* @__PURE__ */ e.jsx(ut, { disableBackplate: a, style: n, header: r, className: `full-screen-dialog-base-format ${t}`, onHide: f, children: s, action: /* @__PURE__ */ e.jsx(Nr, { onHide: i ? f : void 0, onSave: c ? x : void 0 }) });
2372
2386
  };
2373
- const Ps = ({ style: n, className: t, action: r, imgSrc: s, alt: c, header: i, subhead: a, text: o, children: l, iconButtonCell: u, onClick: h, screenSize: f }) => {
2374
- const x = (v) => !(v.target.className === "action-container" || v.target.closest(".action-container") || v.target.className === "icon-button-container" || v.target.closest(".icon-button-container") || v.target.className === "card-child-container" || v.target.closest(".card-child-container")), { screen: m } = it(), j = f ?? m, g = (v) => {
2375
- if (!x(v))
2387
+ const Hs = ({ style: n, className: t, action: r, imgSrc: s, alt: c, header: i, subhead: l, text: a, children: o, iconButtonCell: u, onClick: h, screenSize: f, rootApp: x = "#root" }) => {
2388
+ const C = (m) => !(m.target.className === "action-container" || m.target.closest(".action-container") || m.target.className === "icon-button-container" || m.target.closest(".icon-button-container") || m.target.className === "card-child-container" || m.target.closest(".card-child-container") || !m.target.closest(`${x}`)), { screen: j } = dt(), g = f ?? j, v = (m) => {
2389
+ if (!C(m))
2376
2390
  return;
2377
- h && h(v);
2378
- let C = v.currentTarget.closest(".card-container"), p = C == null ? void 0 : C.querySelector(".blick-container");
2379
- if (!p)
2391
+ h && h(m);
2392
+ let p = m.currentTarget.closest(".card-container"), w = p == null ? void 0 : p.querySelector(".blick-container");
2393
+ if (!w)
2380
2394
  return;
2381
- let w = document.createElement("span");
2382
- w.classList.add("btn-overlay");
2383
- const y = v.currentTarget.getBoundingClientRect(), S = v.clientX - y.left, V = v.clientY - y.top;
2384
- w.style.left = S + "px", w.style.top = V + "px", p.appendChild(w), setTimeout(() => {
2385
- w.remove();
2395
+ let y = document.createElement("span");
2396
+ y.classList.add("btn-overlay");
2397
+ const S = m.currentTarget.getBoundingClientRect(), T = m.clientX - S.left, L = m.clientY - S.top;
2398
+ y.style.left = T + "px", y.style.top = L + "px", w.appendChild(y), setTimeout(() => {
2399
+ y.remove();
2386
2400
  }, 500);
2387
2401
  };
2388
- return /* @__PURE__ */ e.jsxs("div", { style: n, className: `card-container ${t}`, onClick: g, children: [
2402
+ return /* @__PURE__ */ e.jsxs("div", { style: n, className: `card-container ${t}`, onClick: v, children: [
2389
2403
  /* @__PURE__ */ e.jsx("div", { className: "blick-container" }),
2390
2404
  s ? /* @__PURE__ */ e.jsx("div", { className: "card-img-container", children: /* @__PURE__ */ e.jsx("img", { src: s, alt: c }) }) : null,
2391
2405
  /* @__PURE__ */ e.jsxs("div", { className: "card-content-container", children: [
2392
2406
  /* @__PURE__ */ e.jsxs("div", { className: "card-Headline-container mb-1 font-bold", children: [
2393
- /* @__PURE__ */ e.jsx("div", { className: "headline", children: /* @__PURE__ */ e.jsx(xe, { type: "title", weight: "bold", screensize: j, className: "card-heading", children: i }) }),
2407
+ /* @__PURE__ */ e.jsx("div", { className: "headline", children: /* @__PURE__ */ e.jsx(me, { type: "title", weight: "bold", screensize: g, className: "card-heading", children: i }) }),
2394
2408
  u ? /* @__PURE__ */ e.jsx("div", { className: "icon-button-container", children: u }) : null
2395
2409
  ] }),
2396
- a ? /* @__PURE__ */ e.jsx("div", { className: "card-subhead-container mb-1", children: /* @__PURE__ */ e.jsx("div", { className: "subhead", children: /* @__PURE__ */ e.jsx(xe, { style: { display: "block" }, type: "title-2", weight: "bold", screensize: j, className: "card-subhead", children: a }) }) }) : null,
2397
- o ? /* @__PURE__ */ e.jsx("div", { className: "card-text-container mb-1", children: /* @__PURE__ */ e.jsx("div", { className: "text", children: /* @__PURE__ */ e.jsx(xe, { type: "body", screensize: j, className: "", children: o }) }) }) : null,
2398
- l ? /* @__PURE__ */ e.jsx("div", { className: "card-child-container mb-2", children: l }) : null,
2410
+ l ? /* @__PURE__ */ e.jsx("div", { className: "card-subhead-container mb-1", children: /* @__PURE__ */ e.jsx("div", { className: "subhead", children: /* @__PURE__ */ e.jsx(me, { style: { display: "block" }, type: "title-2", weight: "bold", screensize: g, className: "card-subhead", children: l }) }) }) : null,
2411
+ a ? /* @__PURE__ */ e.jsx("div", { className: "card-text-container mb-1", children: /* @__PURE__ */ e.jsx("div", { className: "text", children: /* @__PURE__ */ e.jsx(me, { type: "body", screensize: g, className: "", children: a }) }) }) : null,
2412
+ o ? /* @__PURE__ */ e.jsx("div", { className: "card-child-container mb-2", children: o }) : null,
2399
2413
  /* @__PURE__ */ e.jsx("div", { className: "action-container", children: r })
2400
2414
  ] })
2401
2415
  ] });
2402
2416
  };
2403
- const Nr = ({ children: n, className: t }) => /* @__PURE__ */ e.jsx("div", { className: `base-action-card ${t ?? ""}`, children: n });
2404
- const Hs = ({ children: n, className: t, id: r, height: s, width: c, pozMove: i }) => {
2405
- const [a, o] = _(!1), [l, u] = _(null), [h, f] = _({ x: 0, y: 0 }), x = (g) => {
2406
- g.button == 1 && (o(!1), u(null), document.body.style.cursor = "auto");
2407
- }, m = (g) => {
2408
- g.button == 1 && (u({ x: g.clientX, y: g.clientY }), o(!0), document.body.style.cursor = "move");
2417
+ const _r = ({ children: n, className: t }) => /* @__PURE__ */ e.jsx("div", { className: `base-action-card ${t ?? ""}`, children: n });
2418
+ const As = ({ children: n, className: t, id: r, height: s, width: c, pozMove: i }) => {
2419
+ const [l, a] = _(!1), [o, u] = _(null), [h, f] = _({ x: 0, y: 0 }), x = (g) => {
2420
+ g.button == 1 && (a(!1), u(null), document.body.style.cursor = "auto");
2421
+ }, C = (g) => {
2422
+ g.button == 1 && (u({ x: g.clientX, y: g.clientY }), a(!0), document.body.style.cursor = "move");
2409
2423
  }, j = k((g) => {
2410
- a && (f((v) => {
2411
- if (!l)
2424
+ l && (f((v) => {
2425
+ if (!o)
2412
2426
  return v;
2413
- const C = g.clientX - l.x, p = g.clientY - l.y;
2414
- let w = v.x + C, y = v.y + p;
2427
+ const m = g.clientX - o.x, p = g.clientY - o.y;
2428
+ let w = v.x + m, y = v.y + p;
2415
2429
  return { x: w, y };
2416
2430
  }), u({ x: g.clientX, y: g.clientY }));
2417
- }, [a, l]);
2431
+ }, [l, o]);
2418
2432
  return $(() => {
2419
2433
  i && f({ ...i });
2420
- }, [i]), /* @__PURE__ */ e.jsx("div", { id: r, style: { height: s, width: c }, className: `big-container ${t}`, onMouseDown: m, onMouseUp: x, onMouseMove: j, children: /* @__PURE__ */ e.jsx("div", { className: "big-container-content", style: { left: h.x, top: h.y }, children: n }) });
2434
+ }, [i]), /* @__PURE__ */ e.jsx("div", { id: r, style: { height: s, width: c }, className: `big-container ${t}`, onMouseDown: C, onMouseUp: x, onMouseMove: j, children: /* @__PURE__ */ e.jsx("div", { className: "big-container-content", style: { left: h.x, top: h.y }, children: n }) });
2421
2435
  };
2422
- const As = ({ onClick: n, onContextMenu: t, gap: r, className: s, style: c, countColumn: i, items: a, onClickColl: o, classNameColumn: l }) => {
2436
+ const Is = ({ onClick: n, onContextMenu: t, gap: r, className: s, style: c, countColumn: i, items: l, onClickColl: a, classNameColumn: o }) => {
2423
2437
  const u = (f, x) => {
2424
- let m = new Array(f).fill([]).map((j) => new Array());
2438
+ let C = new Array(f).fill([]).map((j) => new Array());
2425
2439
  for (const j of x) {
2426
- if (j.indexCol >= m.length) {
2440
+ if (j.indexCol >= C.length) {
2427
2441
  console.error(`invalid index count. indexCol = ${j.indexCol}, column count = ${f}`);
2428
2442
  continue;
2429
2443
  }
2430
- m[j.indexCol].push(j.node);
2444
+ C[j.indexCol].push(j.node);
2431
2445
  }
2432
- return m;
2433
- }, h = o || (() => {
2446
+ return C;
2447
+ }, h = a || (() => {
2434
2448
  });
2435
- return /* @__PURE__ */ e.jsx("div", { onClick: n, onContextMenu: t, style: { ...c, gap: r != null ? `${r}px` : "5px", gridTemplateColumns: `repeat(${i}, 1fr)` }, className: `${s} alex-evo-sh-ui-kit-column-layout`, children: u(i, a).map((f, x) => /* @__PURE__ */ e.jsx("div", { onClick: (m) => h(x, m), className: `${l} alex-evo-sh-ui-kit-column-layout-coll`, children: f.map((m, j) => /* @__PURE__ */ e.jsx("div", { className: "alex-evo-sh-ui-kit-column-layout-item", children: m }, j)) }, x)) });
2449
+ return /* @__PURE__ */ e.jsx("div", { onClick: n, onContextMenu: t, style: { ...c, gap: r != null ? `${r}px` : "5px", gridTemplateColumns: `repeat(${i}, 1fr)` }, className: `${s} alex-evo-sh-ui-kit-column-layout`, children: u(i, l).map((f, x) => /* @__PURE__ */ e.jsx("div", { onClick: (C) => h(x, C), className: `${o} alex-evo-sh-ui-kit-column-layout-coll`, children: f.map((C, j) => /* @__PURE__ */ e.jsx("div", { className: "alex-evo-sh-ui-kit-column-layout-item", children: C }, j)) }, x)) });
2436
2450
  };
2437
- const _r = 10, Bn = 2e-3, Bs = ({ children: n, label: t, className: r, style: s, border: c, hiding: i, defaultVisible: a = !1, action: o }) => {
2438
- const [l, u] = _(i ? a : !0), h = G(null), f = (g) => {
2451
+ const wr = 10, zn = 2e-3, Bs = ({ children: n, label: t, className: r, style: s, border: c, hiding: i, defaultVisible: l = !1, action: a }) => {
2452
+ const [o, u] = _(i ? l : !0), h = Y(null), f = (g) => {
2439
2453
  if (!g)
2440
2454
  return;
2441
- const v = Ke(g);
2455
+ const v = en(g);
2442
2456
  if (v)
2443
- return v.height + _r;
2457
+ return v.height + wr;
2444
2458
  }, x = (g) => {
2445
2459
  const v = f(g);
2446
- return v ? v * Bn > 1 ? 1 : v * Bn : 0.4;
2447
- }, m = (g) => {
2460
+ return v ? v * zn > 1 ? 1 : v * zn : 0.4;
2461
+ }, C = (g) => {
2448
2462
  const v = g.target;
2449
2463
  v.closest(".action-btn") || v.classList.contains("action-btn") || i && u((p) => !p);
2450
2464
  };
2451
2465
  $(() => {
2452
- !i && !l && u(!0);
2453
- }, [i, l]);
2454
- const j = Ce(() => x(h.current), [h.current]);
2455
- return console.log(j), /* @__PURE__ */ e.jsxs("div", { style: s, className: `content-box ${c ? "border" : ""} ${l ? "active" : ""} ${r ?? ""}`, children: [
2456
- /* @__PURE__ */ e.jsxs("div", { className: "content-box-label", onClick: m, children: [
2457
- /* @__PURE__ */ e.jsx(xe, { type: "title", children: t }),
2458
- /* @__PURE__ */ e.jsx("div", { className: "content-box-action-container", children: o ? /* @__PURE__ */ e.jsx("div", { className: "content-box-status-container action-btn", onClick: o.onClick, children: o.icon }) : i ? /* @__PURE__ */ e.jsx("div", { className: "content-box-status-container", children: /* @__PURE__ */ e.jsx("span", { className: `content-box-status ${l ? "active" : ""}` }) }) : null })
2466
+ !i && !o && u(!0);
2467
+ }, [i, o]);
2468
+ const j = je(() => x(h.current), [h.current]);
2469
+ return console.log(j), /* @__PURE__ */ e.jsxs("div", { style: s, className: `content-box ${c ? "border" : ""} ${o ? "active" : ""} ${r ?? ""}`, children: [
2470
+ /* @__PURE__ */ e.jsxs("div", { className: "content-box-label", onClick: C, children: [
2471
+ /* @__PURE__ */ e.jsx(me, { type: "title", children: t }),
2472
+ /* @__PURE__ */ e.jsx("div", { className: "content-box-action-container", children: a ? /* @__PURE__ */ e.jsx("div", { className: "content-box-status-container action-btn", onClick: a.onClick, children: a.icon }) : i ? /* @__PURE__ */ e.jsx("div", { className: "content-box-status-container", children: /* @__PURE__ */ e.jsx("span", { className: `content-box-status ${o ? "active" : ""}` }) }) : null })
2459
2473
  ] }),
2460
2474
  /* @__PURE__ */ e.jsx(
2461
2475
  "div",
@@ -2463,86 +2477,86 @@ const _r = 10, Bn = 2e-3, Bs = ({ children: n, label: t, className: r, style: s,
2463
2477
  className: "content-box-container-curtain",
2464
2478
  style: {
2465
2479
  transition: j + "s",
2466
- height: l ? "auto" : "0px"
2480
+ height: o ? "auto" : "0px"
2467
2481
  },
2468
2482
  children: /* @__PURE__ */ e.jsx("div", { className: "content-box-container", ref: h, children: n })
2469
2483
  }
2470
2484
  )
2471
2485
  ] });
2472
2486
  };
2473
- const Is = ({ children: n }) => /* @__PURE__ */ e.jsx("div", { className: "adaptiv-grid-item", children: /* @__PURE__ */ e.jsx("div", { className: "adaptiv-grid-item-container", children: n }) }), zs = ({ minWith: n, children: t, className: r, gridRowGap: s = "10px", gridColumnGap: c = "5px", itemMinWith: i, itemMaxWith: a, itemWith: o = "400px" }) => {
2474
- const l = G(null), [u, h] = _([]), f = k(() => {
2475
- if (!l.current)
2487
+ const zs = ({ children: n }) => /* @__PURE__ */ e.jsx("div", { className: "adaptiv-grid-item", children: /* @__PURE__ */ e.jsx("div", { className: "adaptiv-grid-item-container", children: n }) }), Gs = ({ minWith: n, children: t, className: r, gridRowGap: s = "10px", gridColumnGap: c = "5px", itemMinWith: i, itemMaxWith: l, itemWith: a = "400px" }) => {
2488
+ const o = Y(null), [u, h] = _([]), f = k(() => {
2489
+ if (!o.current)
2476
2490
  return;
2477
- l.current.style.display = "grid", l.current.style.gridRowGap = s, l.current.style.gridColumnGap = c;
2478
- let j = i ?? o, g = a ?? o;
2479
- l.current.style.gridTemplateColumns = "repeat(auto-fill, minmax(" + j + ", " + g + "))", l.current.style.gridAutoRows = "0", u.forEach((v) => {
2491
+ o.current.style.display = "grid", o.current.style.gridRowGap = s, o.current.style.gridColumnGap = c;
2492
+ let j = i ?? a, g = l ?? a;
2493
+ o.current.style.gridTemplateColumns = "repeat(auto-fill, minmax(" + j + ", " + g + "))", o.current.style.gridAutoRows = "0", u.forEach((v) => {
2480
2494
  v.style.gridAutoRows = "0", v.style.gridAutoColumns = "0";
2481
2495
  });
2482
- }, [l.current]), x = k(() => {
2483
- if (!l.current)
2496
+ }, [o.current]), x = k(() => {
2497
+ if (!o.current)
2484
2498
  return;
2485
- let j = parseInt(window.getComputedStyle(l.current).getPropertyValue("grid-row-gap")), g = parseInt(window.getComputedStyle(l.current).getPropertyValue("grid-auto-rows"));
2499
+ let j = parseInt(window.getComputedStyle(o.current).getPropertyValue("grid-row-gap")), g = parseInt(window.getComputedStyle(o.current).getPropertyValue("grid-auto-rows"));
2486
2500
  u.forEach((v) => {
2487
- let C = 0, p = v.querySelector(".adaptiv-grid-item-container");
2488
- p && (C = Math.ceil((p.getBoundingClientRect().height + j) / (g + j))), v.style.gridRowEnd = "span " + C;
2501
+ let m = 0, p = v.querySelector(".adaptiv-grid-item-container");
2502
+ p && (m = Math.ceil((p.getBoundingClientRect().height + j) / (g + j))), v.style.gridRowEnd = "span " + m;
2489
2503
  });
2490
- }, [u, l.current]), m = k(() => {
2491
- if (l.current) {
2492
- let j = l.current.querySelectorAll(".adaptiv-grid-item");
2504
+ }, [u, o.current]), C = k(() => {
2505
+ if (o.current) {
2506
+ let j = o.current.querySelectorAll(".adaptiv-grid-item");
2493
2507
  h(Array.prototype.slice.call(j, 0));
2494
2508
  }
2495
- }, [l.current, t]);
2509
+ }, [o.current, t]);
2496
2510
  return $(() => {
2497
- m();
2498
- }, [m]), $(() => {
2511
+ C();
2512
+ }, [C]), $(() => {
2499
2513
  f();
2500
2514
  }, [f]), $(() => {
2501
2515
  x();
2502
2516
  }, [x, t]), $(() => (window.addEventListener("resize", x), () => {
2503
2517
  window.addEventListener("resize", x);
2504
- }), [x]), /* @__PURE__ */ e.jsx("div", { style: { minWidth: n }, ref: l, className: `adaptiv-grid-layout ${r}`, children: t });
2518
+ }), [x]), /* @__PURE__ */ e.jsx("div", { style: { minWidth: n }, ref: o, className: `adaptiv-grid-layout ${r}`, children: t });
2505
2519
  };
2506
- const Gs = ({ children: n, className: t, style: r }) => /* @__PURE__ */ e.jsx("div", { style: r, className: `alex-evo-sh-ui-kit alex-evo-sh-ui-kit-panel ${t}`, children: n });
2507
- const Ys = ({ className: n, children: t, height: r }) => /* @__PURE__ */ e.jsx("div", { className: `scroll-container ${n}`, style: { height: r }, children: t });
2508
- const Ws = ({
2520
+ const Ys = ({ children: n, className: t, style: r }) => /* @__PURE__ */ e.jsx("div", { style: r, className: `alex-evo-sh-ui-kit alex-evo-sh-ui-kit-panel ${t}`, children: n });
2521
+ const Ws = ({ className: n, children: t, height: r }) => /* @__PURE__ */ e.jsx("div", { className: `scroll-container ${n}`, style: { height: r }, children: t });
2522
+ const Zs = ({
2509
2523
  tabs: n,
2510
2524
  scrollAmount: t = 150,
2511
2525
  tabClassName: r = "",
2512
2526
  activeTabClassName: s = "active",
2513
2527
  onTabClick: c,
2514
2528
  activeTabIndex: i,
2515
- tabContainerClassName: a = ""
2529
+ tabContainerClassName: l = ""
2516
2530
  }) => {
2517
- const [o, l] = _(0), u = i !== void 0 ? i : o, h = G(null), f = G(null), [x, m] = _(!1), j = (C) => {
2531
+ const [a, o] = _(0), u = i !== void 0 ? i : a, h = Y(null), f = Y(null), [x, C] = _(!1), j = (m) => {
2518
2532
  if (h.current) {
2519
2533
  const p = t || h.current.offsetWidth / 2;
2520
2534
  h.current.scrollBy({
2521
- left: C === "left" ? -p : p,
2535
+ left: m === "left" ? -p : p,
2522
2536
  behavior: "smooth"
2523
2537
  });
2524
2538
  }
2525
2539
  };
2526
2540
  $(() => {
2527
- const C = () => {
2528
- h.current && m(
2541
+ const m = () => {
2542
+ h.current && C(
2529
2543
  h.current.scrollWidth > h.current.clientWidth
2530
2544
  );
2531
2545
  };
2532
- return C(), window.addEventListener("resize", C), () => window.removeEventListener("resize", C);
2546
+ return m(), window.addEventListener("resize", m), () => window.removeEventListener("resize", m);
2533
2547
  }, []), $(() => {
2534
2548
  if (h.current && f.current) {
2535
- const C = h.current.children[u];
2536
- C && (f.current.style.width = `${C.offsetWidth}px`, f.current.style.transform = `translateX(${C.offsetLeft}px)`);
2549
+ const m = h.current.children[u];
2550
+ m && (f.current.style.width = `${m.offsetWidth}px`, f.current.style.transform = `translateX(${m.offsetLeft}px)`);
2537
2551
  }
2538
2552
  }, [u]);
2539
- const g = (C) => {
2540
- C.key === "ArrowRight" ? v((u + 1) % n.length) : C.key === "ArrowLeft" && v((u - 1 + n.length) % n.length);
2541
- }, v = (C) => {
2542
- i === void 0 && l(C), c && c(C);
2553
+ const g = (m) => {
2554
+ m.key === "ArrowRight" ? v((u + 1) % n.length) : m.key === "ArrowLeft" && v((u - 1 + n.length) % n.length);
2555
+ }, v = (m) => {
2556
+ i === void 0 && o(m), c && c(m);
2543
2557
  };
2544
2558
  return /* @__PURE__ */ e.jsxs("div", { className: "alex-evo-ui-kit-tabs-container", children: [
2545
- /* @__PURE__ */ e.jsxs("div", { className: `alex-evo-ui-kit-tabs-scroll-buttons ${a}`, children: [
2559
+ /* @__PURE__ */ e.jsxs("div", { className: `alex-evo-ui-kit-tabs-scroll-buttons ${l}`, children: [
2546
2560
  x && /* @__PURE__ */ e.jsx("button", { onClick: () => j("left"), className: "alex-evo-ui-kit-scroll-button", children: "◀" }),
2547
2561
  /* @__PURE__ */ e.jsxs(
2548
2562
  "div",
@@ -2552,14 +2566,14 @@ const Ws = ({
2552
2566
  onKeyDown: g,
2553
2567
  tabIndex: 0,
2554
2568
  children: [
2555
- n.map((C, p) => /* @__PURE__ */ e.jsx(
2569
+ n.map((m, p) => /* @__PURE__ */ e.jsx(
2556
2570
  "div",
2557
2571
  {
2558
2572
  className: `alex-evo-ui-kit-tab ${r} ${u === p ? s : ""}`,
2559
2573
  onClick: () => v(p),
2560
- children: C.label
2574
+ children: m.label
2561
2575
  },
2562
- C.label
2576
+ m.label
2563
2577
  )),
2564
2578
  /* @__PURE__ */ e.jsx("div", { className: "alex-evo-ui-kit-indicator", ref: f })
2565
2579
  ]
@@ -2570,7 +2584,7 @@ const Ws = ({
2570
2584
  /* @__PURE__ */ e.jsx("div", { className: "alex-evo-ui-kit-tab-content", children: n[u].content })
2571
2585
  ] });
2572
2586
  };
2573
- function wr(n) {
2587
+ function Sr(n) {
2574
2588
  let t = [];
2575
2589
  if (n.length > 0)
2576
2590
  for (let r of n)
@@ -2585,41 +2599,41 @@ function wr(n) {
2585
2599
  }
2586
2600
  return t;
2587
2601
  }
2588
- const Sr = ({ data: n, column: t, color: r, backgroundColor: s, H: c }) => {
2589
- function i(l, u) {
2602
+ const Mr = ({ data: n, column: t, color: r, backgroundColor: s, H: c }) => {
2603
+ function i(o, u) {
2590
2604
  for (let h in u)
2591
- if (l === h)
2605
+ if (o === h)
2592
2606
  return u[h];
2593
2607
  }
2594
- function a(l) {
2595
- return typeof l == "number" || typeof l == "string" ? { content: l } : l;
2608
+ function l(o) {
2609
+ return typeof o == "number" || typeof o == "string" ? { content: o } : o;
2596
2610
  }
2597
- function o(l) {
2598
- return l ? Array.isArray(l) ? l.map((u) => a(u)) : [a(l)] : [];
2611
+ function a(o) {
2612
+ return o ? Array.isArray(o) ? o.map((u) => l(u)) : [l(o)] : [];
2599
2613
  }
2600
2614
  return /* @__PURE__ */ e.jsx("td", { style: { backgroundColor: s, height: c }, children: function() {
2601
- const l = o(i(t.field, n));
2602
- return t.template ? t.template(l, n) : l.map((u, h) => /* @__PURE__ */ e.jsx("p", { style: { color: u.color ?? r }, className: u.onClick ? "no-click" : "", onClick: u.onClick, children: u.content }, h));
2615
+ const o = a(i(t.field, n));
2616
+ return t.template ? t.template(o, n) : o.map((u, h) => /* @__PURE__ */ e.jsx("p", { style: { color: u.color ?? r }, className: u.onClick ? "no-click" : "", onClick: u.onClick, children: u.content }, h));
2603
2617
  }() });
2604
- }, Mr = ({ actions: n, item: t, columns: r, onContextMenu: s, onDelete: c, onEdit: i, onClickRow: a, index: o, maxH: l }) => {
2618
+ }, Er = ({ actions: n, item: t, columns: r, onContextMenu: s, onDelete: c, onEdit: i, onClickRow: l, index: a, maxH: o }) => {
2605
2619
  const u = (f) => !f.target.closest(".no-click"), h = k((f) => {
2606
- u(f) && a && a(t, o);
2607
- }, [o, a]);
2620
+ u(f) && l && l(t, a);
2621
+ }, [a, l]);
2608
2622
  return /* @__PURE__ */ e.jsxs("tr", { className: "table-row", onClick: h, children: [
2609
- r.map((f, x) => /* @__PURE__ */ e.jsx(Sr, { H: l == null ? void 0 : l[x], color: f.color, backgroundColor: f.backgroundColor, column: f, data: t }, x)),
2610
- n ? /* @__PURE__ */ e.jsx("td", { className: "w-[180px] no-click", children: /* @__PURE__ */ e.jsx("div", { className: "table-edit-button", children: n.map((f, x) => /* @__PURE__ */ e.jsx(ve, { transparent: !0, icon: f.icon, onClick: (m) => f.onClick(m, t, o) }, x)) }) }) : null,
2623
+ r.map((f, x) => /* @__PURE__ */ e.jsx(Mr, { H: o == null ? void 0 : o[x], color: f.color, backgroundColor: f.backgroundColor, column: f, data: t }, x)),
2624
+ n ? /* @__PURE__ */ e.jsx("td", { className: "w-[180px] no-click", children: /* @__PURE__ */ e.jsx("div", { className: "table-edit-button", children: n.map((f, x) => /* @__PURE__ */ e.jsx(pe, { transparent: !0, icon: f.icon, onClick: (C) => f.onClick(C, t, a) }, x)) }) }) : null,
2611
2625
  s || c || i ? /* @__PURE__ */ e.jsx("td", { className: "w-[180px] table-edit-button no-click", children: /* @__PURE__ */ e.jsxs("div", { className: "table-edit-button", children: [
2612
- i ? /* @__PURE__ */ e.jsx(ve, { transparent: !0, icon: /* @__PURE__ */ e.jsx(Ut, {}), onClick: () => i(t, o) }) : null,
2613
- c ? /* @__PURE__ */ e.jsx(ve, { transparent: !0, icon: /* @__PURE__ */ e.jsx(zt, { className: "text-red-500" }), onClick: () => c(t, o) }) : null,
2614
- s ? /* @__PURE__ */ e.jsx(ve, { transparent: !0, icon: /* @__PURE__ */ e.jsx(Wt, {}), onClick: (f) => s(f, t, o) }) : null
2626
+ i ? /* @__PURE__ */ e.jsx(pe, { transparent: !0, icon: /* @__PURE__ */ e.jsx(Kt, {}), onClick: () => i(t, a) }) : null,
2627
+ c ? /* @__PURE__ */ e.jsx(pe, { transparent: !0, icon: /* @__PURE__ */ e.jsx(Yt, { className: "text-red-500" }), onClick: () => c(t, a) }) : null,
2628
+ s ? /* @__PURE__ */ e.jsx(pe, { transparent: !0, icon: /* @__PURE__ */ e.jsx(Xt, {}), onClick: (f) => s(f, t, a) }) : null
2615
2629
  ] }) }) : null
2616
2630
  ] });
2617
- }, Zs = ({ data: n, columns: t, onDelete: r, onContextMenu: s, onEdit: c, actions: i, onClickRow: a, adaptive: o }) => {
2618
- const l = Ce(() => t ?? wr(n), [n, t]), u = G(null), h = k(() => {
2619
- var v, C;
2631
+ }, Xs = ({ data: n, columns: t, onDelete: r, onContextMenu: s, onEdit: c, actions: i, onClickRow: l, adaptive: a }) => {
2632
+ const o = je(() => t ?? Sr(n), [n, t]), u = Y(null), h = k(() => {
2633
+ var v, m;
2620
2634
  if (!u.current)
2621
2635
  return;
2622
- const f = u.current, x = f.tBodies.item(0), m = (C = (v = f.tHead) == null ? void 0 : v.children.item(0)) == null ? void 0 : C.children, j = (m == null ? void 0 : m.length) ?? 1, g = new Array(j).fill(0);
2636
+ const f = u.current, x = f.tBodies.item(0), C = (m = (v = f.tHead) == null ? void 0 : v.children.item(0)) == null ? void 0 : m.children, j = (C == null ? void 0 : C.length) ?? 1, g = new Array(j).fill(0);
2623
2637
  if (x) {
2624
2638
  for (const p of x.children)
2625
2639
  for (let w = 0; w < p.children.length; w++) {
@@ -2629,79 +2643,79 @@ const Sr = ({ data: n, column: t, color: r, backgroundColor: s, H: c }) => {
2629
2643
  return g;
2630
2644
  }
2631
2645
  }, [u]);
2632
- return /* @__PURE__ */ e.jsx("div", { className: `table-container mt-3 ${a ? "clicked" : ""} ${o ? "auto-rotate" : ""}`, children: /* @__PURE__ */ e.jsxs("table", { ref: u, children: [
2646
+ return /* @__PURE__ */ e.jsx("div", { className: `table-container mt-3 ${l ? "clicked" : ""} ${a ? "auto-rotate" : ""}`, children: /* @__PURE__ */ e.jsxs("table", { ref: u, children: [
2633
2647
  /* @__PURE__ */ e.jsx("thead", { children: /* @__PURE__ */ e.jsxs("tr", { children: [
2634
- l.map((f, x) => {
2635
- var m;
2636
- return /* @__PURE__ */ e.jsx("th", { style: { height: (m = h()) == null ? void 0 : m[x] }, className: "min-width", children: f.title }, x);
2648
+ o.map((f, x) => {
2649
+ var C;
2650
+ return /* @__PURE__ */ e.jsx("th", { style: { height: (C = h()) == null ? void 0 : C[x] }, className: "min-width", children: f.title }, x);
2637
2651
  }),
2638
2652
  i ? /* @__PURE__ */ e.jsx("th", { className: "table-actions-header", children: "actions" }) : null,
2639
2653
  r || s || c ? /* @__PURE__ */ e.jsx("th", { className: "table-actions-header" }) : null
2640
2654
  ] }) }),
2641
- /* @__PURE__ */ e.jsx("tbody", { children: n.map((f, x) => /* @__PURE__ */ e.jsx(Mr, { maxH: h(), onClickRow: a, actions: i, index: x, columns: l, item: f, onDelete: r, onContextMenu: s, onEdit: c }, x)) })
2655
+ /* @__PURE__ */ e.jsx("tbody", { children: n.map((f, x) => /* @__PURE__ */ e.jsx(Er, { maxH: h(), onClickRow: l, actions: i, index: x, columns: o, item: f, onDelete: r, onContextMenu: s, onEdit: c }, x)) })
2642
2656
  ] }) });
2643
2657
  };
2644
- const Rr = ({ icon: n, title: t, to: r }) => /* @__PURE__ */ e.jsxs(hn, { to: r, className: "navigation-item", children: [
2658
+ const Rr = ({ icon: n, title: t, to: r }) => /* @__PURE__ */ e.jsxs(mn, { to: r, className: "navigation-item", children: [
2645
2659
  /* @__PURE__ */ e.jsx("div", { className: "navigation-item-icon", children: n }),
2646
2660
  /* @__PURE__ */ e.jsx("div", { className: "navigation-item-text", children: t })
2647
- ] }), Er = ({ onClick: n, icon: t, title: r }) => /* @__PURE__ */ e.jsxs("div", { onClick: n, className: "navigation-item", children: [
2661
+ ] }), $r = ({ onClick: n, icon: t, title: r }) => /* @__PURE__ */ e.jsxs("div", { onClick: n, className: "navigation-item", children: [
2648
2662
  /* @__PURE__ */ e.jsx("div", { className: "navigation-item-icon", children: t }),
2649
2663
  /* @__PURE__ */ e.jsx("div", { className: "navigation-item-text", children: r })
2650
- ] }), Xs = ({ btns: n }) => /* @__PURE__ */ e.jsx("div", { className: "navigation-bar-container", children: /* @__PURE__ */ e.jsx("div", { className: "block-content", children: n.map((t, r) => t.type === "button" ? /* @__PURE__ */ e.jsx(Er, { icon: t.icon, onClick: t.onClick, title: t.text }, r) : t.type === "link" ? /* @__PURE__ */ e.jsx(Rr, { icon: t.icon, to: t.to, title: t.text }, r) : null) }) });
2651
- const In = ({ onClick: n, icon: t, title: r, to: s }) => /* @__PURE__ */ e.jsxs(hn, { onClick: n, to: s, className: "navigation-item", children: [
2664
+ ] }), Us = ({ btns: n }) => /* @__PURE__ */ e.jsx("div", { className: "navigation-bar-container", children: /* @__PURE__ */ e.jsx("div", { className: "block-content", children: n.map((t, r) => t.type === "button" ? /* @__PURE__ */ e.jsx($r, { icon: t.icon, onClick: t.onClick, title: t.text }, r) : t.type === "link" ? /* @__PURE__ */ e.jsx(Rr, { icon: t.icon, to: t.to, title: t.text }, r) : null) }) });
2665
+ const Gn = ({ onClick: n, icon: t, title: r, to: s }) => /* @__PURE__ */ e.jsxs(mn, { onClick: n, to: s, className: "navigation-item", children: [
2652
2666
  /* @__PURE__ */ e.jsx("div", { className: "navigation-item-icon", children: t }),
2653
2667
  /* @__PURE__ */ e.jsx("div", { className: "navigation-item-text", children: r })
2654
- ] }), Ze = ({ onClick: n, icon: t, title: r, active: s = !1 }) => /* @__PURE__ */ e.jsxs("div", { onClick: n, className: `navigation-item ${s ? "active" : ""}`, children: [
2668
+ ] }), Je = ({ onClick: n, icon: t, title: r, active: s = !1 }) => /* @__PURE__ */ e.jsxs("div", { onClick: n, className: `navigation-item ${s ? "active" : ""}`, children: [
2655
2669
  /* @__PURE__ */ e.jsx("div", { className: "navigation-item-icon", children: t }),
2656
2670
  /* @__PURE__ */ e.jsx("div", { className: "navigation-item-text", children: r })
2657
- ] }), Us = ({ visible: n, firstBtn: t, mainBtn: r, onHide: s, otherBtn: c, backBtn: i, openAlways: a }) => /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
2658
- /* @__PURE__ */ e.jsxs("div", { className: `navigation-drawer-container ${n || a ? "show" : "hide"}`, children: [
2671
+ ] }), Js = ({ visible: n, firstBtn: t, mainBtn: r, onHide: s, otherBtn: c, backBtn: i, openAlways: l }) => /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
2672
+ /* @__PURE__ */ e.jsxs("div", { className: `navigation-drawer-container ${n || l ? "show" : "hide"}`, children: [
2659
2673
  t ? /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
2660
2674
  /* @__PURE__ */ e.jsxs("div", { className: "navigation-block", children: [
2661
2675
  /* @__PURE__ */ e.jsx("div", { className: "block-header" }),
2662
- /* @__PURE__ */ e.jsx("div", { className: "block-content", children: /* @__PURE__ */ e.jsx(Ze, { active: t.active, onClick: t.onClick, title: t.text, icon: t.icon ?? /* @__PURE__ */ e.jsx(un, {}) }) })
2676
+ /* @__PURE__ */ e.jsx("div", { className: "block-content", children: /* @__PURE__ */ e.jsx(Je, { active: t.active, onClick: t.onClick, title: t.text, icon: t.icon ?? /* @__PURE__ */ e.jsx(jn, {}) }) })
2663
2677
  ] }),
2664
- /* @__PURE__ */ e.jsx("div", { className: "divider-container", children: /* @__PURE__ */ e.jsx(he, {}) })
2678
+ /* @__PURE__ */ e.jsx("div", { className: "divider-container", children: /* @__PURE__ */ e.jsx(xe, {}) })
2665
2679
  ] }) : null,
2666
2680
  /* @__PURE__ */ e.jsxs("div", { className: "navigation-block", children: [
2667
2681
  /* @__PURE__ */ e.jsx("div", { className: "block-header" }),
2668
- /* @__PURE__ */ e.jsx("div", { className: "block-content", children: r && r.map((o, l) => o.type === "button" ? /* @__PURE__ */ e.jsx(Ze, { active: o.active, onClick: o.onClick, title: o.text, icon: o.icon }, l) : o.type === "link" ? /* @__PURE__ */ e.jsx(In, { onClick: () => s(), title: o.text, icon: o.icon, to: o.to }, l) : null) })
2682
+ /* @__PURE__ */ e.jsx("div", { className: "block-content", children: r && r.map((a, o) => a.type === "button" ? /* @__PURE__ */ e.jsx(Je, { active: a.active, onClick: a.onClick, title: a.text, icon: a.icon }, o) : a.type === "link" ? /* @__PURE__ */ e.jsx(Gn, { onClick: () => s(), title: a.text, icon: a.icon, to: a.to }, o) : null) })
2669
2683
  ] }),
2670
- /* @__PURE__ */ e.jsx("div", { className: "divider-container", children: /* @__PURE__ */ e.jsx(he, {}) }),
2684
+ /* @__PURE__ */ e.jsx("div", { className: "divider-container", children: /* @__PURE__ */ e.jsx(xe, {}) }),
2671
2685
  /* @__PURE__ */ e.jsxs("div", { className: "navigation-block", children: [
2672
2686
  /* @__PURE__ */ e.jsx("div", { className: "block-header" }),
2673
- /* @__PURE__ */ e.jsx("div", { className: "block-content", children: c && c.map((o, l) => o.type === "button" ? /* @__PURE__ */ e.jsx(Ze, { active: o.active, onClick: o.onClick, title: o.text, icon: o.icon }, l) : o.type === "link" ? /* @__PURE__ */ e.jsx(In, { onClick: () => s(), title: o.text, icon: o.icon, to: o.to }, l) : null) })
2687
+ /* @__PURE__ */ e.jsx("div", { className: "block-content", children: c && c.map((a, o) => a.type === "button" ? /* @__PURE__ */ e.jsx(Je, { active: a.active, onClick: a.onClick, title: a.text, icon: a.icon }, o) : a.type === "link" ? /* @__PURE__ */ e.jsx(Gn, { onClick: () => s(), title: a.text, icon: a.icon, to: a.to }, o) : null) })
2674
2688
  ] }),
2675
- /* @__PURE__ */ e.jsx("div", { className: "divider-container", children: /* @__PURE__ */ e.jsx(he, {}) }),
2676
- i ? /* @__PURE__ */ e.jsx("div", { className: "navigation-block", children: /* @__PURE__ */ e.jsx(Ze, { active: i.active, onClick: i.onClick, title: i.text, icon: i.icon }) }) : null
2689
+ /* @__PURE__ */ e.jsx("div", { className: "divider-container", children: /* @__PURE__ */ e.jsx(xe, {}) }),
2690
+ i ? /* @__PURE__ */ e.jsx("div", { className: "navigation-block", children: /* @__PURE__ */ e.jsx(Je, { active: i.active, onClick: i.onClick, title: i.text, icon: i.icon }) }) : null
2677
2691
  ] }),
2678
- n && !a ? /* @__PURE__ */ e.jsx("div", { className: "backplate", style: { zIndex: 1100 }, onClick: () => s() }) : null
2692
+ n && !l ? /* @__PURE__ */ e.jsx("div", { className: "backplate", style: { zIndex: 1100 }, onClick: () => s() }) : null
2679
2693
  ] });
2680
- const Lr = ({ icon: n, title: t, to: r }) => /* @__PURE__ */ e.jsxs(hn, { to: r, className: "navigation-item", children: [
2694
+ const Lr = ({ icon: n, title: t, to: r }) => /* @__PURE__ */ e.jsxs(mn, { to: r, className: "navigation-item", children: [
2681
2695
  /* @__PURE__ */ e.jsx("div", { className: "navigation-item-icon", children: n }),
2682
2696
  /* @__PURE__ */ e.jsx("div", { className: "navigation-item-text", children: t })
2683
- ] }), Xe = ({ onClick: n, icon: t, title: r, active: s = !1 }) => /* @__PURE__ */ e.jsxs("div", { onClick: n, className: `navigation-item ${s ? "active" : ""}`, children: [
2697
+ ] }), Ke = ({ onClick: n, icon: t, title: r, active: s = !1 }) => /* @__PURE__ */ e.jsxs("div", { onClick: n, className: `navigation-item ${s ? "active" : ""}`, children: [
2684
2698
  /* @__PURE__ */ e.jsx("div", { className: "navigation-item-icon", children: t }),
2685
2699
  /* @__PURE__ */ e.jsx("div", { className: "navigation-item-text", children: r })
2686
- ] }), Js = ({ onToggleMenu: n, firstBtn: t, mainBtn: r, backBtn: s }) => /* @__PURE__ */ e.jsx("div", { className: "navigation-rail-container", children: /* @__PURE__ */ e.jsx("div", { className: "navigation-block", children: /* @__PURE__ */ e.jsxs("div", { className: "block-content", children: [
2687
- n ? /* @__PURE__ */ e.jsx(Xe, { icon: /* @__PURE__ */ e.jsx(Jn, {}), onClick: n }) : null,
2700
+ ] }), Ks = ({ onToggleMenu: n, firstBtn: t, mainBtn: r, backBtn: s }) => /* @__PURE__ */ e.jsx("div", { className: "navigation-rail-container", children: /* @__PURE__ */ e.jsx("div", { className: "navigation-block", children: /* @__PURE__ */ e.jsxs("div", { className: "block-content", children: [
2701
+ n ? /* @__PURE__ */ e.jsx(Ke, { icon: /* @__PURE__ */ e.jsx(qn, {}), onClick: n }) : null,
2688
2702
  t ? /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
2689
- /* @__PURE__ */ e.jsx(he, {}),
2690
- /* @__PURE__ */ e.jsx(Xe, { active: t.active, title: t.text, icon: t.icon ?? /* @__PURE__ */ e.jsx(un, {}), onClick: (c) => {
2703
+ /* @__PURE__ */ e.jsx(xe, {}),
2704
+ /* @__PURE__ */ e.jsx(Ke, { active: t.active, title: t.text, icon: t.icon ?? /* @__PURE__ */ e.jsx(jn, {}), onClick: (c) => {
2691
2705
  t.onClick && t.onClick(c);
2692
2706
  } }),
2693
- /* @__PURE__ */ e.jsx(he, {})
2707
+ /* @__PURE__ */ e.jsx(xe, {})
2694
2708
  ] }) : null,
2695
- r && r.map((c, i) => c.type === "button" ? /* @__PURE__ */ e.jsx(Xe, { active: c.active, onClick: c.onClick, title: c.text, icon: c.icon }, i) : c.type === "link" ? /* @__PURE__ */ e.jsx(Lr, { title: c.text, icon: c.icon, to: c.to }, i) : null),
2709
+ r && r.map((c, i) => c.type === "button" ? /* @__PURE__ */ e.jsx(Ke, { active: c.active, onClick: c.onClick, title: c.text, icon: c.icon }, i) : c.type === "link" ? /* @__PURE__ */ e.jsx(Lr, { title: c.text, icon: c.icon, to: c.to }, i) : null),
2696
2710
  s ? /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
2697
- /* @__PURE__ */ e.jsx(he, {}),
2698
- /* @__PURE__ */ e.jsx(Xe, { active: s.active, title: s.text, icon: s.icon ?? /* @__PURE__ */ e.jsx(un, {}), onClick: (c) => {
2711
+ /* @__PURE__ */ e.jsx(xe, {}),
2712
+ /* @__PURE__ */ e.jsx(Ke, { active: s.active, title: s.text, icon: s.icon ?? /* @__PURE__ */ e.jsx(jn, {}), onClick: (c) => {
2699
2713
  s.onClick && s.onClick(c);
2700
2714
  } }),
2701
- /* @__PURE__ */ e.jsx(he, {})
2715
+ /* @__PURE__ */ e.jsx(xe, {})
2702
2716
  ] }) : null
2703
2717
  ] }) }) });
2704
- function $r(n, t, r) {
2718
+ function Tr(n, t, r) {
2705
2719
  if (!(!n || !t)) {
2706
2720
  n.clearRect(0, 0, t.width, t.height), r || (r = "#ff0000"), n.fillStyle = r, n.fillRect(0, 0, t.width, t.height);
2707
2721
  var s = n.createLinearGradient(0, 0, t.width, 0);
@@ -2710,63 +2724,63 @@ function $r(n, t, r) {
2710
2724
  c.addColorStop(0, "transparent"), c.addColorStop(1, "#000"), n.fillStyle = c, n.fillRect(0, 0, t.width, t.height);
2711
2725
  }
2712
2726
  }
2713
- function Tr(n, t, r, s) {
2727
+ function Or(n, t, r, s) {
2714
2728
  !t || !n || n.addEventListener("mousedown", function(c) {
2715
- Or(c, n, r, s);
2729
+ Vr(c, n, r, s);
2716
2730
  });
2717
2731
  }
2718
- function zn(n, t, r, s) {
2732
+ function Yn(n, t, r, s) {
2719
2733
  if (n.preventDefault(), !t)
2720
2734
  return;
2721
2735
  const c = t.getBoundingClientRect();
2722
2736
  let i = n.clientY - c.top;
2723
2737
  i > c.height && (i = c.height), i < 0 && (i = 0);
2724
- let a = n.clientX - c.left;
2725
- a > c.width && (a = c.width), a < 0 && (a = 0);
2726
- const o = i / c.height, l = a / c.width, u = 100 - 100 * o, h = 100 * l;
2727
- s(Math.round(h), Math.round(u)), ot(r, a, i);
2738
+ let l = n.clientX - c.left;
2739
+ l > c.width && (l = c.width), l < 0 && (l = 0);
2740
+ const a = i / c.height, o = l / c.width, u = 100 - 100 * a, h = 100 * o;
2741
+ s(Math.round(h), Math.round(u)), ht(r, l, i);
2728
2742
  }
2729
- function Or(n, t, r, s) {
2730
- const c = (a) => zn(a, t, r, s);
2731
- zn(n, t, r, s), r.classList.add("dragging"), window.addEventListener("mousemove", c), window.addEventListener("mouseup", i);
2743
+ function Vr(n, t, r, s) {
2744
+ const c = (l) => Yn(l, t, r, s);
2745
+ Yn(n, t, r, s), r.classList.add("dragging"), window.addEventListener("mousemove", c), window.addEventListener("mouseup", i);
2732
2746
  function i() {
2733
2747
  r.classList.remove("dragging"), window.removeEventListener("mousemove", c), window.removeEventListener("mouseup", i);
2734
2748
  }
2735
2749
  }
2736
- function ot(n, t, r) {
2750
+ function ht(n, t, r) {
2737
2751
  n.style.top = r + "px", n.style.left = t + "px";
2738
2752
  }
2739
- function Vr(n, t) {
2753
+ function Dr(n, t) {
2740
2754
  if (!n || !t)
2741
2755
  return;
2742
2756
  const r = n.createLinearGradient(0, 0, 0, t.height);
2743
2757
  r.addColorStop(0, "hsl(0, 100%, 50%)"), r.addColorStop(0.17, "hsl(298.8, 100%, 50%)"), r.addColorStop(0.33, "hsl(241.2, 100%, 50%)"), r.addColorStop(0.5, "hsl(180, 100%, 50%)"), r.addColorStop(0.67, "hsl(118.8, 100%, 50%)"), r.addColorStop(0.83, "hsl(61.2, 100%, 50%)"), r.addColorStop(1, "hsl(360, 100%, 50%)"), n.fillStyle = r, n.fillRect(0, 0, t.width, t.height);
2744
2758
  }
2745
- function Dr(n, t, r, s) {
2759
+ function Fr(n, t, r, s) {
2746
2760
  !n || !t || t.addEventListener("mousedown", function(c) {
2747
- Fr(c, r, t, s);
2761
+ Pr(c, r, t, s);
2748
2762
  });
2749
2763
  }
2750
- function Gn(n, t, r, s) {
2764
+ function Wn(n, t, r, s) {
2751
2765
  if (n.preventDefault(), !t)
2752
2766
  return;
2753
2767
  const c = t.getBoundingClientRect();
2754
2768
  let i = n.clientY - c.top;
2755
2769
  i > c.height && (i = c.height), i < 0 && (i = 0);
2756
- const o = 360 - 360 * (i / c.height);
2757
- s(o), at(r, i);
2770
+ const a = 360 - 360 * (i / c.height);
2771
+ s(a), ft(r, i);
2758
2772
  }
2759
- function Fr(n, t, r, s) {
2760
- const c = (a) => Gn(a, r, t, s);
2761
- Gn(n, r, t, s), t.classList.add("dragging"), window.addEventListener("mousemove", c), window.addEventListener("mouseup", i);
2773
+ function Pr(n, t, r, s) {
2774
+ const c = (l) => Wn(l, r, t, s);
2775
+ Wn(n, r, t, s), t.classList.add("dragging"), window.addEventListener("mousemove", c), window.addEventListener("mouseup", i);
2762
2776
  function i() {
2763
2777
  t.classList.remove("dragging"), window.removeEventListener("mousemove", c), window.removeEventListener("mouseup", i);
2764
2778
  }
2765
2779
  }
2766
- function at(n, t) {
2780
+ function ft(n, t) {
2767
2781
  n.style.top = t + "px";
2768
2782
  }
2769
- const Pr = [
2783
+ const Hr = [
2770
2784
  "#FFFFFF",
2771
2785
  "#FFFB0D",
2772
2786
  "#0532FF",
@@ -2779,105 +2793,105 @@ const Pr = [
2779
2793
  "#D27AEE",
2780
2794
  "#5BA8C4",
2781
2795
  "#E64AA9"
2782
- ], dt = { h: 0, s: 1, v: 0.5 }, Hr = (n) => {
2796
+ ], xt = { h: 0, s: 1, v: 0.5 }, Ar = (n) => {
2783
2797
  try {
2784
- return Ue(He(n));
2798
+ return qe(Te(n));
2785
2799
  } catch {
2786
- return dt;
2800
+ return xt;
2787
2801
  }
2788
- }, Ar = ({ onHide: n, beginColor: t, onChange: r, onAddColor: s, def: c, userColor: i = [] }) => {
2789
- const a = G(null), o = G(null), l = G(null), u = G(null), [h, f] = _(t ? Hr(t) : dt), x = Ce(() => Pe(h), [h]), m = Ce(() => "#" + Se(x), [x]), [j, g] = _(!1), [v, C] = _(m), p = Ce(() => v[0] != "#" ? "#" + v : v, [v]);
2790
- function w(M, L, W, I, A) {
2791
- if (!(!M || !W))
2802
+ }, Ir = ({ onHide: n, beginColor: t, onChange: r, onAddColor: s, def: c, userColor: i = [] }) => {
2803
+ const l = Y(null), a = Y(null), o = Y(null), u = Y(null), [h, f] = _(t ? Ar(t) : xt), x = je(() => Be(h), [h]), C = je(() => "#" + Le(x), [x]), [j, g] = _(!1), [v, m] = _(C), p = je(() => v[0] != "#" ? "#" + v : v, [v]);
2804
+ function w(M, D, Z, R, A) {
2805
+ if (!(!M || !Z))
2792
2806
  try {
2793
- const z = M.getBoundingClientRect(), Q = W.getBoundingClientRect(), te = Math.round(A.s * z.width), O = Math.round((1 - A.v) * z.height), D = (360 - A.h * 360) / 360 * Q.height;
2794
- ot(L, te, O), at(I, D);
2807
+ const X = M.getBoundingClientRect(), te = Z.getBoundingClientRect(), ie = Math.round(A.s * X.width), z = Math.round((1 - A.v) * X.height), O = (360 - A.h * 360) / 360 * te.height;
2808
+ ht(D, ie, z), ft(R, O);
2795
2809
  } catch {
2796
2810
  }
2797
2811
  }
2798
2812
  const y = (M) => {
2799
- f(Ue(He(M))), C(M);
2813
+ f(qe(Te(M))), m(M);
2800
2814
  }, S = k(() => {
2801
- s && s([...i, m]);
2802
- }, [s, i, m]), V = k(() => {
2803
- r && r(m);
2804
- }, [r, m]), E = k((M, L) => {
2805
- f(Ue({ ...x, [M]: L })), C(Se({ ...x, [M]: L }));
2806
- }, [x]), Y = k((M) => {
2807
- C(M);
2815
+ s && s([...i, C]);
2816
+ }, [s, i, C]), T = k(() => {
2817
+ r && r(C);
2818
+ }, [r, C]), L = k((M, D) => {
2819
+ f(qe({ ...x, [M]: D })), m(Le({ ...x, [M]: D }));
2820
+ }, [x]), H = k((M) => {
2821
+ m(M);
2808
2822
  }, []), U = k(() => {
2809
2823
  c && r && r(c);
2810
2824
  }, [c]);
2811
2825
  return $(() => {
2812
- (v.length === 4 || v.length === 7) && f(Ue(He(v)));
2826
+ (v.length === 4 || v.length === 7) && f(qe(Te(v)));
2813
2827
  }, [v]), $(() => {
2814
- if (!l.current || !a.current || !o.current || !u.current)
2828
+ if (!o.current || !l.current || !a.current || !u.current)
2815
2829
  return;
2816
- const M = l.current.getContext("2d");
2817
- $r(M, l.current, `#${Se(Pe(h.h, 1, 1))}`), w(l.current, u.current, a.current, o.current, h);
2830
+ const M = o.current.getContext("2d");
2831
+ Tr(M, o.current, `#${Le(Be(h.h, 1, 1))}`), w(o.current, u.current, l.current, a.current, h);
2818
2832
  }, [h]), $(() => {
2819
- if (!l.current || !u.current)
2833
+ if (!o.current || !u.current)
2820
2834
  return;
2821
- const M = l.current.getContext("2d");
2822
- Tr(l.current, M, u.current, (L, W) => {
2823
- f((I) => {
2824
- const A = { ...I, s: L / 100, v: W / 100 };
2825
- return C(Se(Pe(A))), A;
2835
+ const M = o.current.getContext("2d");
2836
+ Or(o.current, M, u.current, (D, Z) => {
2837
+ f((R) => {
2838
+ const A = { ...R, s: D / 100, v: Z / 100 };
2839
+ return m(Le(Be(A))), A;
2826
2840
  });
2827
2841
  });
2828
2842
  }, []), $(() => {
2829
- if (!a.current || !o.current)
2843
+ if (!l.current || !a.current)
2830
2844
  return;
2831
- const M = a.current.getContext("2d");
2832
- Vr(M, a.current), Dr(M, a.current, o.current, (L) => {
2833
- f((W) => {
2834
- const I = { ...W, h: L / 360 };
2835
- return C(Se(Pe(I))), I;
2845
+ const M = l.current.getContext("2d");
2846
+ Dr(M, l.current), Fr(M, l.current, a.current, (D) => {
2847
+ f((Z) => {
2848
+ const R = { ...Z, h: D / 360 };
2849
+ return m(Le(Be(R))), R;
2836
2850
  });
2837
2851
  });
2838
2852
  }, []), $(() => {
2839
2853
  console.log(h, x);
2840
- }, [h]), /* @__PURE__ */ e.jsxs(be, { className: "color-picker-panel", onHide: n, clearStyle: !0, children: [
2854
+ }, [h]), /* @__PURE__ */ e.jsxs(Me, { className: "color-picker-panel", onHide: n, clearStyle: !0, children: [
2841
2855
  /* @__PURE__ */ e.jsxs("div", { className: "panel-row", style: { padding: 0 }, children: [
2842
- /* @__PURE__ */ e.jsx("div", { className: "swatches default-swatches", children: Pr.map((M, L) => /* @__PURE__ */ e.jsx("button", { onClick: () => y(M), className: "swatch", style: { backgroundColor: M } }, L)) }),
2843
- /* @__PURE__ */ e.jsx("button", { className: "button-color-picker eyedropper", onClick: V, children: "Get Color" })
2856
+ /* @__PURE__ */ e.jsx("div", { className: "swatches default-swatches", children: Hr.map((M, D) => /* @__PURE__ */ e.jsx("button", { onClick: () => y(M), className: "swatch", style: { backgroundColor: M } }, D)) }),
2857
+ /* @__PURE__ */ e.jsx("button", { className: "button-color-picker eyedropper", onClick: T, children: "Get Color" })
2844
2858
  ] }),
2845
2859
  /* @__PURE__ */ e.jsxs("div", { className: "panel-row", style: { padding: 0 }, children: [
2846
2860
  /* @__PURE__ */ e.jsxs("div", { className: "spectrum-map spectrum-cursor", children: [
2847
2861
  /* @__PURE__ */ e.jsx("button", { ref: u, className: "color-cursor spectrum-cursor" }),
2848
- /* @__PURE__ */ e.jsx("canvas", { ref: l, className: "spectrum-canvas spectrum-canvas-color-picker" })
2862
+ /* @__PURE__ */ e.jsx("canvas", { ref: o, className: "spectrum-canvas spectrum-canvas-color-picker" })
2849
2863
  ] }),
2850
2864
  /* @__PURE__ */ e.jsxs("div", { className: "hue-map", children: [
2851
- /* @__PURE__ */ e.jsx("button", { ref: o, className: "color-cursor hue-cursor" }),
2852
- /* @__PURE__ */ e.jsx("canvas", { ref: a, className: "hue-canvas hue-canvas-color-picker" })
2865
+ /* @__PURE__ */ e.jsx("button", { ref: a, className: "color-cursor hue-cursor" }),
2866
+ /* @__PURE__ */ e.jsx("canvas", { ref: l, className: "hue-canvas hue-canvas-color-picker" })
2853
2867
  ] })
2854
2868
  ] }),
2855
2869
  /* @__PURE__ */ e.jsxs("div", { className: "panel-row", style: { padding: 0 }, children: [
2856
2870
  /* @__PURE__ */ e.jsxs("div", { className: `field-group value-fields rgb-fields ${j ? "" : "active"}`, children: [
2857
2871
  /* @__PURE__ */ e.jsxs("div", { className: "field-group", children: [
2858
2872
  /* @__PURE__ */ e.jsx("label", { className: "field-label", children: "R:" }),
2859
- /* @__PURE__ */ e.jsx("input", { type: "number", max: "255", min: "0", value: x.r, onChange: (M) => E("r", Number(M.target.value)), className: "field-input rgb-input" })
2873
+ /* @__PURE__ */ e.jsx("input", { type: "number", max: "255", min: "0", value: x.r, onChange: (M) => L("r", Number(M.target.value)), className: "field-input rgb-input" })
2860
2874
  ] }),
2861
2875
  /* @__PURE__ */ e.jsxs("div", { className: "field-group", children: [
2862
2876
  /* @__PURE__ */ e.jsx("label", { className: "field-label", children: "G:" }),
2863
- /* @__PURE__ */ e.jsx("input", { type: "number", max: "255", min: "0", value: x.g, onChange: (M) => E("g", Number(M.target.value)), className: "field-input rgb-input" })
2877
+ /* @__PURE__ */ e.jsx("input", { type: "number", max: "255", min: "0", value: x.g, onChange: (M) => L("g", Number(M.target.value)), className: "field-input rgb-input" })
2864
2878
  ] }),
2865
2879
  /* @__PURE__ */ e.jsxs("div", { className: "field-group", children: [
2866
2880
  /* @__PURE__ */ e.jsx("label", { className: "field-label", children: "B:" }),
2867
- /* @__PURE__ */ e.jsx("input", { type: "number", max: "255", min: "0", value: x.b, onChange: (M) => E("b", Number(M.target.value)), className: "field-input rgb-input" })
2881
+ /* @__PURE__ */ e.jsx("input", { type: "number", max: "255", min: "0", value: x.b, onChange: (M) => L("b", Number(M.target.value)), className: "field-input rgb-input" })
2868
2882
  ] })
2869
2883
  ] }),
2870
2884
  /* @__PURE__ */ e.jsxs("div", { className: `field-group value-fields hex-field ${j ? "active" : ""}`, children: [
2871
2885
  /* @__PURE__ */ e.jsx("label", { className: "field-label", children: "Hex:" }),
2872
- /* @__PURE__ */ e.jsx("input", { type: "text", className: "field-input", value: p, onChange: (M) => Y(M.target.value) })
2886
+ /* @__PURE__ */ e.jsx("input", { type: "text", className: "field-input", value: p, onChange: (M) => H(M.target.value) })
2873
2887
  ] }),
2874
2888
  /* @__PURE__ */ e.jsx("button", { className: "button-color-picker mode-toggle", onClick: () => g((M) => !M), children: "Mode" })
2875
2889
  ] }),
2876
2890
  /* @__PURE__ */ e.jsxs("div", { className: "panel-row", style: { padding: 0 }, children: [
2877
2891
  /* @__PURE__ */ e.jsx("h2", { className: "panel-header", children: "User Colors" }),
2878
- /* @__PURE__ */ e.jsx("div", { id: "user-swatches", className: "swatches custom-swatches", children: i ? i.map((M, L) => /* @__PURE__ */ e.jsx("button", { onClick: () => y(M), className: "swatch", style: { backgroundColor: M } }, L)) : null }),
2892
+ /* @__PURE__ */ e.jsx("div", { id: "user-swatches", className: "swatches custom-swatches", children: i ? i.map((M, D) => /* @__PURE__ */ e.jsx("button", { onClick: () => y(M), className: "swatch", style: { backgroundColor: M } }, D)) : null }),
2879
2893
  /* @__PURE__ */ e.jsxs("button", { onClick: S, className: "button-color-picker add-swatch", children: [
2880
- /* @__PURE__ */ e.jsx("span", { style: { backgroundColor: `#${Se(Pe(h))}` }, className: "color-indicator" }),
2894
+ /* @__PURE__ */ e.jsx("span", { style: { backgroundColor: `#${Le(Be(h))}` }, className: "color-indicator" }),
2881
2895
  /* @__PURE__ */ e.jsx("span", { children: "Add to Swatches" })
2882
2896
  ] }),
2883
2897
  c && /* @__PURE__ */ e.jsxs("button", { onClick: () => U(), className: "button-color-picker add-swatch", children: [
@@ -2886,22 +2900,22 @@ const Pr = [
2886
2900
  ] })
2887
2901
  ] })
2888
2902
  ] });
2889
- }, Ks = ({ border: n, onChange: t, container: r, value: s, className: c, transparent: i, userColor: a, onAddColor: o, def: l, placeholder: u }) => {
2890
- const [h, f] = _(!1), [x, m] = _(s ?? "#f00"), j = () => {
2903
+ }, qs = ({ border: n, onChange: t, container: r, value: s, className: c, transparent: i, userColor: l, onAddColor: a, def: o, placeholder: u }) => {
2904
+ const [h, f] = _(!1), [x, C] = _(s ?? "#f00"), j = () => {
2891
2905
  f(!0);
2892
2906
  }, g = k((v) => {
2893
- console.log(v), m(v), t && t(v), f(!1);
2907
+ console.log(v), C(v), t && t(v), f(!1);
2894
2908
  }, [t]);
2895
2909
  return /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
2896
2910
  /* @__PURE__ */ e.jsxs("div", { className: `input-field color-field ${n ? "border" : ""} ${i ? "transparent" : ""} ${c ?? ""}`, children: [
2897
2911
  u && /* @__PURE__ */ e.jsx("div", { className: "color-field-label", onClick: j, children: /* @__PURE__ */ e.jsx("span", { className: "data color-field-placeholder", children: u }) }),
2898
2912
  /* @__PURE__ */ e.jsx("div", { className: " color-indicator-field", style: { backgroundColor: x }, onClick: j, children: /* @__PURE__ */ e.jsx("p", { className: "data color-field-data", style: { color: se(x) }, children: x }) }),
2899
- /* @__PURE__ */ e.jsx("div", { className: "color-icon-container icon-container", style: { marginRight: "12px", marginLeft: "0" }, onClick: j, children: /* @__PURE__ */ e.jsx(Gt, {}) })
2913
+ /* @__PURE__ */ e.jsx("div", { className: "color-icon-container icon-container", style: { marginRight: "12px", marginLeft: "0" }, onClick: j, children: /* @__PURE__ */ e.jsx(Wt, {}) })
2900
2914
  ] }),
2901
- h ? /* @__PURE__ */ e.jsx(Ae, { container: r, children: /* @__PURE__ */ e.jsx(Ar, { def: l, userColor: a, onAddColor: o, onChange: g, beginColor: x, onHide: () => f(!1) }) }) : null
2915
+ h ? /* @__PURE__ */ e.jsx(ze, { container: r, children: /* @__PURE__ */ e.jsx(Ir, { def: o, userColor: l, onAddColor: a, onChange: g, beginColor: x, onHide: () => f(!1) }) }) : null
2902
2916
  ] });
2903
2917
  };
2904
- const Br = 2050, Yn = 1900, je = [
2918
+ const Br = 2050, Zn = 1900, Ce = [
2905
2919
  "January",
2906
2920
  "February",
2907
2921
  "March",
@@ -2914,34 +2928,34 @@ const Br = 2050, Yn = 1900, je = [
2914
2928
  "October",
2915
2929
  "November",
2916
2930
  "December"
2917
- ], Ir = () => Array(Br - Yn).fill(0).map((n, t) => Yn + t), zr = ({ onChange: n, onHide: t }) => {
2918
- const [r] = _(je[(/* @__PURE__ */ new Date()).getMonth()]), [s] = _((/* @__PURE__ */ new Date()).getFullYear()), [c] = _((/* @__PURE__ */ new Date()).getDate()), [i, a] = _(je[(/* @__PURE__ */ new Date()).getMonth()]), [o, l] = _((/* @__PURE__ */ new Date()).getFullYear()), [u, h] = _({
2931
+ ], zr = () => Array(Br - Zn).fill(0).map((n, t) => Zn + t), Gr = ({ onChange: n, onHide: t }) => {
2932
+ const [r] = _(Ce[(/* @__PURE__ */ new Date()).getMonth()]), [s] = _((/* @__PURE__ */ new Date()).getFullYear()), [c] = _((/* @__PURE__ */ new Date()).getDate()), [i, l] = _(Ce[(/* @__PURE__ */ new Date()).getMonth()]), [a, o] = _((/* @__PURE__ */ new Date()).getFullYear()), [u, h] = _({
2919
2933
  day: (/* @__PURE__ */ new Date()).getDate(),
2920
2934
  type: "NOW_MONTH"
2921
2935
  /* NOW_MONTH */
2922
2936
  }), [f, x] = _(
2923
2937
  "DAYS"
2924
2938
  /* DAYS */
2925
- ), m = (y, S) => new Date(y, S + 1, 0).getDate(), j = (y, S, V) => new Date(y, S, V).getDay(), g = (y, S) => {
2926
- let V = Array(m(y, S)).fill(0).map((M, L) => ({ type: "NOW_MONTH", day: L + 1 })), E = j(y, S, m(y, S)), Y = Array(7 - E).fill(0).map((M, L) => ({ type: "NEXT_MONTH", day: L + 1 }));
2927
- return V = Array(j(y, S, 0)).fill(0).map((M, L) => ({ type: "PREV_MONTH", day: m(S ? y : y - 1, S ? S - 1 : 11) - L })).reverse().concat(V).concat(Y), V;
2939
+ ), C = (y, S) => new Date(y, S + 1, 0).getDate(), j = (y, S, T) => new Date(y, S, T).getDay(), g = (y, S) => {
2940
+ let T = Array(C(y, S)).fill(0).map((M, D) => ({ type: "NOW_MONTH", day: D + 1 })), L = j(y, S, C(y, S)), H = Array(7 - L).fill(0).map((M, D) => ({ type: "NEXT_MONTH", day: D + 1 }));
2941
+ return T = Array(j(y, S, 0)).fill(0).map((M, D) => ({ type: "PREV_MONTH", day: C(S ? y : y - 1, S ? S - 1 : 11) - D })).reverse().concat(T).concat(H), T;
2928
2942
  }, v = (y) => {
2929
2943
  x(
2930
2944
  "DAYS"
2931
2945
  /* DAYS */
2932
- ), l(y);
2933
- }, C = (y) => {
2946
+ ), o(y);
2947
+ }, m = (y) => {
2934
2948
  x(
2935
2949
  "DAYS"
2936
2950
  /* DAYS */
2937
- ), a(y);
2951
+ ), l(y);
2938
2952
  }, p = (y) => {
2939
2953
  h(y);
2940
2954
  }, w = k(() => {
2941
2955
  let y = /* @__PURE__ */ new Date();
2942
- y.setFullYear(o), u.type === "NEXT_MONTH" ? i === je[11] ? (y.setMonth(0), y.setFullYear(o + 1)) : y.setMonth(je.indexOf(i) + 1) : u.type === "PREV_MONTH" ? i === je[0] ? (y.setMonth(11), y.setFullYear(o - 1)) : y.setMonth(je.indexOf(i) - 1) : y.setMonth(je.indexOf(i)), y.setDate(u.day), n && n(y.getFullYear(), y.getMonth(), y.getDate()), t && t();
2943
- }, [i, o, n, t, u]);
2944
- return /* @__PURE__ */ e.jsxs(be, { className: "calendar-body-container", style: { maxWidth: "328px" }, children: [
2956
+ y.setFullYear(a), u.type === "NEXT_MONTH" ? i === Ce[11] ? (y.setMonth(0), y.setFullYear(a + 1)) : y.setMonth(Ce.indexOf(i) + 1) : u.type === "PREV_MONTH" ? i === Ce[0] ? (y.setMonth(11), y.setFullYear(a - 1)) : y.setMonth(Ce.indexOf(i) - 1) : y.setMonth(Ce.indexOf(i)), y.setDate(u.day), n && n(y.getFullYear(), y.getMonth(), y.getDate()), t && t();
2957
+ }, [i, a, n, t, u]);
2958
+ return /* @__PURE__ */ e.jsxs(Me, { className: "calendar-body-container", style: { maxWidth: "328px" }, children: [
2945
2959
  /* @__PURE__ */ e.jsxs("div", { className: "calendar-body-select-container", children: [
2946
2960
  /* @__PURE__ */ e.jsx("div", { className: "month", children: /* @__PURE__ */ e.jsxs("span", { className: f === "MONTHS" ? "active" : "", onClick: () => x(
2947
2961
  "MONTHS"
@@ -2949,22 +2963,22 @@ const Br = 2050, Yn = 1900, je = [
2949
2963
  ), children: [
2950
2964
  i,
2951
2965
  " ",
2952
- /* @__PURE__ */ e.jsx($n, {})
2966
+ /* @__PURE__ */ e.jsx(On, {})
2953
2967
  ] }) }),
2954
2968
  /* @__PURE__ */ e.jsx("div", { className: "years", children: /* @__PURE__ */ e.jsxs("span", { className: f === "YEARS" ? "active" : "", onClick: () => x(
2955
2969
  "YEARS"
2956
2970
  /* YEARS */
2957
2971
  ), children: [
2958
- o,
2972
+ a,
2959
2973
  " ",
2960
- /* @__PURE__ */ e.jsx($n, {})
2974
+ /* @__PURE__ */ e.jsx(On, {})
2961
2975
  ] }) })
2962
2976
  ] }),
2963
- f === "MONTHS" ? /* @__PURE__ */ e.jsx("div", { className: "calendar-body-months-container", children: je.map((y, S) => /* @__PURE__ */ e.jsxs("div", { className: "calendar-body-months-item", onClick: () => C(y), children: [
2964
- /* @__PURE__ */ e.jsx("div", { className: "status-container", children: i === y ? /* @__PURE__ */ e.jsx(pe, {}) : null }),
2977
+ f === "MONTHS" ? /* @__PURE__ */ e.jsx("div", { className: "calendar-body-months-container", children: Ce.map((y, S) => /* @__PURE__ */ e.jsxs("div", { className: "calendar-body-months-item", onClick: () => m(y), children: [
2978
+ /* @__PURE__ */ e.jsx("div", { className: "status-container", children: i === y ? /* @__PURE__ */ e.jsx(Se, {}) : null }),
2965
2979
  /* @__PURE__ */ e.jsx("div", { className: "content", children: y })
2966
- ] }, S)) }) : f === "YEARS" ? /* @__PURE__ */ e.jsx("div", { className: "calendar-body-years-container", children: Ir().map((y, S) => /* @__PURE__ */ e.jsxs("div", { className: "calendar-body-year-item", onClick: () => v(y), children: [
2967
- /* @__PURE__ */ e.jsx("div", { className: "status-container", children: o === y ? /* @__PURE__ */ e.jsx(pe, {}) : null }),
2980
+ ] }, S)) }) : f === "YEARS" ? /* @__PURE__ */ e.jsx("div", { className: "calendar-body-years-container", children: zr().map((y, S) => /* @__PURE__ */ e.jsxs("div", { className: "calendar-body-year-item", onClick: () => v(y), children: [
2981
+ /* @__PURE__ */ e.jsx("div", { className: "status-container", children: a === y ? /* @__PURE__ */ e.jsx(Se, {}) : null }),
2968
2982
  /* @__PURE__ */ e.jsx("div", { className: "content", children: y })
2969
2983
  ] }, S)) }) : /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
2970
2984
  /* @__PURE__ */ e.jsxs("div", { className: "calendar-body-dayofweek-container", children: [
@@ -2976,179 +2990,179 @@ const Br = 2050, Yn = 1900, je = [
2976
2990
  /* @__PURE__ */ e.jsx("span", { children: "S" }),
2977
2991
  /* @__PURE__ */ e.jsx("span", { children: "S" })
2978
2992
  ] }),
2979
- /* @__PURE__ */ e.jsx("div", { className: "calendar-body-days-container", children: g(o, je.indexOf(i)).map((y, S) => /* @__PURE__ */ e.jsx("div", { className: `day ${y.type !== "NOW_MONTH" ? "other" : ""} ${c === y.day && o === s && i === r ? "now" : ""} ${y.day === u.day && y.type === u.type ? "select" : ""}`, onClick: () => p(y), children: y.day }, S)) })
2993
+ /* @__PURE__ */ e.jsx("div", { className: "calendar-body-days-container", children: g(a, Ce.indexOf(i)).map((y, S) => /* @__PURE__ */ e.jsx("div", { className: `day ${y.type !== "NOW_MONTH" ? "other" : ""} ${c === y.day && a === s && i === r ? "now" : ""} ${y.day === u.day && y.type === u.type ? "select" : ""}`, onClick: () => p(y), children: y.day }, S)) })
2980
2994
  ] }),
2981
2995
  /* @__PURE__ */ e.jsxs("div", { className: "calendar-body-action-container", children: [
2982
- /* @__PURE__ */ e.jsx(ee, { className: "little m-0", onClick: t, children: "Cancel" }),
2983
- /* @__PURE__ */ e.jsx(ee, { className: "little m-0", onClick: w, children: "OK" })
2996
+ /* @__PURE__ */ e.jsx(Q, { className: "little m-0", onClick: t, children: "Cancel" }),
2997
+ /* @__PURE__ */ e.jsx(Q, { className: "little m-0", onClick: w, children: "OK" })
2984
2998
  ] })
2985
2999
  ] });
2986
- }, qs = ({ border: n, onChange: t, name: r, value: s, className: c, validEmptyValue: i, error: a, container: o }) => {
2987
- const [l, u] = _(s ?? ""), [h, f] = _(!1), x = k((C) => a || C && (!l || l === "") ? "error" : "", [l]), m = () => {
3000
+ }, Qs = ({ border: n, onChange: t, name: r, value: s, className: c, validEmptyValue: i, error: l, container: a }) => {
3001
+ const [o, u] = _(s ?? ""), [h, f] = _(!1), x = k((m) => l || m && (!o || o === "") ? "error" : "", [o]), C = () => {
2988
3002
  f(!0);
2989
- }, j = (C) => {
2990
- let p = String(C + 1);
3003
+ }, j = (m) => {
3004
+ let p = String(m + 1);
2991
3005
  return p.length < 2 && (p = "0" + p), p;
2992
- }, g = (C) => {
2993
- let p = String(C);
3006
+ }, g = (m) => {
3007
+ let p = String(m);
2994
3008
  return p.length < 2 && (p = "0" + p), p;
2995
- }, v = k((C, p, w) => {
2996
- u(`${C}-${j(p)}-${g(w)}`), t && t(`${C}-${j(p)}-${g(w)}`);
3009
+ }, v = k((m, p, w) => {
3010
+ u(`${m}-${j(p)}-${g(w)}`), t && t(`${m}-${j(p)}-${g(w)}`);
2997
3011
  }, [t]);
2998
3012
  return /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
2999
3013
  /* @__PURE__ */ e.jsxs("div", { className: `input-field date-field ${n ? "border" : ""}`, children: [
3000
- /* @__PURE__ */ e.jsx("div", { className: "icon-container", onClick: m, children: /* @__PURE__ */ e.jsx(Yt, {}) }),
3001
- /* @__PURE__ */ e.jsx("div", { className: "input-container", onClick: m, children: /* @__PURE__ */ e.jsx(
3014
+ /* @__PURE__ */ e.jsx("div", { className: "icon-container", onClick: C, children: /* @__PURE__ */ e.jsx(Zt, {}) }),
3015
+ /* @__PURE__ */ e.jsx("div", { className: "input-container", onClick: C, children: /* @__PURE__ */ e.jsx(
3002
3016
  "input",
3003
3017
  {
3004
3018
  required: !0,
3005
3019
  type: "date",
3006
3020
  className: `${c} ${x(i)}`,
3007
3021
  name: r,
3008
- value: l,
3022
+ value: o,
3009
3023
  readOnly: !0
3010
3024
  }
3011
3025
  ) })
3012
3026
  ] }),
3013
- h ? /* @__PURE__ */ e.jsx(Ae, { container: o, children: /* @__PURE__ */ e.jsx(zr, { onChange: v, onHide: () => f(!1) }) }) : null
3027
+ h ? /* @__PURE__ */ e.jsx(ze, { container: a, children: /* @__PURE__ */ e.jsx(Gr, { onChange: v, onHide: () => f(!1) }) }) : null
3014
3028
  ] });
3015
3029
  };
3016
- const Qs = ({ onChange: n, value: t, className: r }) => {
3017
- const [s, c] = _(t || []), i = k((o) => {
3018
- if (!o)
3030
+ const ec = ({ onChange: n, value: t, className: r }) => {
3031
+ const [s, c] = _(t || []), i = k((a) => {
3032
+ if (!a)
3019
3033
  return;
3020
- let l = s.slice();
3021
- const u = l.indexOf(o.target.name);
3022
- u !== -1 && !o.target.checked ? l = l.filter((h, f) => f !== u) : u === -1 && o.target.checked && l.push(o.target.name), c(l), n && n(l);
3023
- }, [s]), a = k((o) => s.indexOf(o) !== -1, [s]);
3034
+ let o = s.slice();
3035
+ const u = o.indexOf(a.target.name);
3036
+ u !== -1 && !a.target.checked ? o = o.filter((h, f) => f !== u) : u === -1 && a.target.checked && o.push(a.target.name), c(o), n && n(o);
3037
+ }, [s]), l = k((a) => s.indexOf(a) !== -1, [s]);
3024
3038
  return /* @__PURE__ */ e.jsx(e.Fragment, { children: /* @__PURE__ */ e.jsxs("div", { className: `days-week-field-container ${r}`, children: [
3025
3039
  /* @__PURE__ */ e.jsxs("label", { children: [
3026
- /* @__PURE__ */ e.jsx("input", { type: "checkbox", onChange: i, name: "Mon", checked: a("Mon") }),
3040
+ /* @__PURE__ */ e.jsx("input", { type: "checkbox", onChange: i, name: "Mon", checked: l("Mon") }),
3027
3041
  /* @__PURE__ */ e.jsx("span", { children: "Mon" })
3028
3042
  ] }),
3029
3043
  /* @__PURE__ */ e.jsxs("label", { children: [
3030
- /* @__PURE__ */ e.jsx("input", { type: "checkbox", onChange: i, name: "Tue", checked: a("Tue") }),
3044
+ /* @__PURE__ */ e.jsx("input", { type: "checkbox", onChange: i, name: "Tue", checked: l("Tue") }),
3031
3045
  /* @__PURE__ */ e.jsx("span", { children: "Tue" })
3032
3046
  ] }),
3033
3047
  /* @__PURE__ */ e.jsxs("label", { children: [
3034
- /* @__PURE__ */ e.jsx("input", { type: "checkbox", onChange: i, name: "Wed", checked: a("Wed") }),
3048
+ /* @__PURE__ */ e.jsx("input", { type: "checkbox", onChange: i, name: "Wed", checked: l("Wed") }),
3035
3049
  /* @__PURE__ */ e.jsx("span", { children: "Wed" })
3036
3050
  ] }),
3037
3051
  /* @__PURE__ */ e.jsxs("label", { children: [
3038
- /* @__PURE__ */ e.jsx("input", { type: "checkbox", onChange: i, name: "Thu", checked: a("Thu") }),
3052
+ /* @__PURE__ */ e.jsx("input", { type: "checkbox", onChange: i, name: "Thu", checked: l("Thu") }),
3039
3053
  /* @__PURE__ */ e.jsx("span", { children: "Thu" })
3040
3054
  ] }),
3041
3055
  /* @__PURE__ */ e.jsxs("label", { children: [
3042
- /* @__PURE__ */ e.jsx("input", { type: "checkbox", onChange: i, name: "Fri", checked: a("Fri") }),
3056
+ /* @__PURE__ */ e.jsx("input", { type: "checkbox", onChange: i, name: "Fri", checked: l("Fri") }),
3043
3057
  /* @__PURE__ */ e.jsx("span", { children: "Fri" })
3044
3058
  ] }),
3045
3059
  /* @__PURE__ */ e.jsxs("label", { children: [
3046
- /* @__PURE__ */ e.jsx("input", { type: "checkbox", onChange: i, name: "Sat", checked: a("Sat") }),
3060
+ /* @__PURE__ */ e.jsx("input", { type: "checkbox", onChange: i, name: "Sat", checked: l("Sat") }),
3047
3061
  /* @__PURE__ */ e.jsx("span", { children: "Sat" })
3048
3062
  ] }),
3049
3063
  /* @__PURE__ */ e.jsxs("label", { children: [
3050
- /* @__PURE__ */ e.jsx("input", { type: "checkbox", onChange: i, name: "Sun", checked: a("Sun") }),
3064
+ /* @__PURE__ */ e.jsx("input", { type: "checkbox", onChange: i, name: "Sun", checked: l("Sun") }),
3051
3065
  /* @__PURE__ */ e.jsx("span", { children: "Sun" })
3052
3066
  ] })
3053
3067
  ] }) });
3054
- }, Gr = (n) => n === "" ? [] : n.split(",").map((t) => t.trim()), Wn = (n) => n.join(", ");
3055
- const ec = ({ minWidth: n, value: t, onChange: r, border: s }) => {
3056
- const [c, i] = _([]), [a, o] = _("");
3068
+ }, Yr = (n) => n === "" ? [] : n.split(",").map((t) => t.trim()), Xn = (n) => n.join(", ");
3069
+ const nc = ({ minWidth: n, value: t, onChange: r, border: s }) => {
3070
+ const [c, i] = _([]), [l, a] = _("");
3057
3071
  $(() => {
3058
- console.log("p0"), i(Gr(t));
3072
+ console.log("p0"), i(Yr(t));
3059
3073
  }, [t]), $(() => {
3060
3074
  console.log(c);
3061
3075
  }, [c]);
3062
- const l = (f) => {
3063
- o(f.target.value);
3076
+ const o = (f) => {
3077
+ a(f.target.value);
3064
3078
  }, u = k(() => {
3065
- if (a === "" || c.includes(a))
3079
+ if (l === "" || c.includes(l))
3066
3080
  return;
3067
- const f = [...c, a.trim()];
3068
- i(f), r && r(Wn(f)), o("");
3069
- }, [c, a]), h = (f) => {
3070
- const x = c.filter((m, j) => j !== f);
3071
- i(x), r && r(Wn(x));
3081
+ const f = [...c, l.trim()];
3082
+ i(f), r && r(Xn(f)), a("");
3083
+ }, [c, l]), h = (f) => {
3084
+ const x = c.filter((C, j) => j !== f);
3085
+ i(x), r && r(Xn(x));
3072
3086
  };
3073
3087
  return /* @__PURE__ */ e.jsxs("div", { className: "more-text", style: { minWidth: n }, children: [
3074
3088
  /* @__PURE__ */ e.jsxs("div", { className: "add value", children: [
3075
- /* @__PURE__ */ e.jsx(jn, { onChange: l, value: a, border: s }),
3076
- /* @__PURE__ */ e.jsx(Nr, { children: /* @__PURE__ */ e.jsx(Xn, { onClick: u, children: "add" }) })
3089
+ /* @__PURE__ */ e.jsx(gn, { onChange: o, value: l, border: s }),
3090
+ /* @__PURE__ */ e.jsx(_r, { children: /* @__PURE__ */ e.jsx(Jn, { onClick: u, children: "add" }) })
3077
3091
  ] }),
3078
- /* @__PURE__ */ e.jsx("div", { className: "chips-container", children: c.map((f, x) => /* @__PURE__ */ e.jsx(xr, { text: f, onDelete: () => h(x) }, x)) })
3092
+ /* @__PURE__ */ e.jsx("div", { className: "chips-container", children: c.map((f, x) => /* @__PURE__ */ e.jsx(jr, { text: f, onDelete: () => h(x) }, x)) })
3079
3093
  ] });
3080
3094
  };
3081
- const Yr = ({ ref: n, styleContainer: t, transparent: r, readOnly: s, border: c, onClear: i, icon: a, onChange: o, name: l, value: u, placeholder: h, className: f, validEmptyValue: x, onFocus: m, onBlur: j, error: g, max: v, min: C }) => {
3082
- const p = G(null), w = G(null), y = G(null), S = G(null), [V, E] = _(!1), [Y, U] = _(u ?? 0), M = k((O, D) => E(!!(g || O && (!D || D === ""))), []), L = () => {
3095
+ const Wr = ({ ref: n, styleContainer: t, transparent: r, readOnly: s, border: c, onClear: i, icon: l, onChange: a, name: o, value: u, placeholder: h, className: f, validEmptyValue: x, onFocus: C, onBlur: j, error: g, max: v, min: m }) => {
3096
+ const p = Y(null), w = Y(null), y = Y(null), S = Y(null), [T, L] = _(!1), [H, U] = _(u ?? 0), M = k((z, O) => L(!!(g || z && (!O || O === ""))), []), D = () => {
3083
3097
  if (!S.current)
3084
3098
  return;
3085
- const O = S.current.querySelector("input");
3086
- O && O.focus();
3087
- }, W = k((O, D) => {
3088
- o && (y.current && (clearTimeout(y.current), y.current = null), y.current = setTimeout(() => {
3089
- y.current && (clearTimeout(y.current), y.current = null), o(O, D);
3099
+ const z = S.current.querySelector("input");
3100
+ z && z.focus();
3101
+ }, Z = k((z, O) => {
3102
+ a && (y.current && (clearTimeout(y.current), y.current = null), y.current = setTimeout(() => {
3103
+ y.current && (clearTimeout(y.current), y.current = null), a(z, O);
3090
3104
  }, 100));
3091
- }, [o]), I = k(() => {
3092
- U((O) => {
3093
- let D = O ? O + 1 : 1;
3094
- return typeof v == "number" && D > v && (D = v), W(D, l), D;
3105
+ }, [a]), R = k(() => {
3106
+ U((z) => {
3107
+ let O = z ? z + 1 : 1;
3108
+ return typeof v == "number" && O > v && (O = v), Z(O, o), O;
3095
3109
  });
3096
- }, [W, l, v]), A = k(() => {
3097
- U((O) => {
3098
- let D = O ? O - 1 : -1;
3099
- return typeof C == "number" && D < C && (D = C), W(D, l), D;
3110
+ }, [Z, o, v]), A = k(() => {
3111
+ U((z) => {
3112
+ let O = z ? z - 1 : -1;
3113
+ return typeof m == "number" && O < m && (O = m), Z(O, o), O;
3100
3114
  });
3101
- }, [W, l, C]), z = k((O) => {
3102
- let D = Number(O.target.value);
3103
- typeof C == "number" && D < C && (D = C), typeof v == "number" && D > v && (D = v), U(Number(O.target.value)), W(D, l);
3104
- }, [l, W, Y, v, C]), Q = k(() => {
3105
- p.current && clearTimeout(p.current), w.current && clearInterval(w.current), document.removeEventListener("mouseup", Q);
3106
- }, []), te = k((O) => {
3107
- O === "p" ? I() : O === "m" && A(), p.current && clearTimeout(p.current), w.current && clearInterval(w.current), document.addEventListener("mouseup", Q), p.current = setTimeout(() => {
3115
+ }, [Z, o, m]), X = k((z) => {
3116
+ let O = Number(z.target.value);
3117
+ typeof m == "number" && O < m && (O = m), typeof v == "number" && O > v && (O = v), U(Number(z.target.value)), Z(O, o);
3118
+ }, [o, Z, H, v, m]), te = k(() => {
3119
+ p.current && clearTimeout(p.current), w.current && clearInterval(w.current), document.removeEventListener("mouseup", te);
3120
+ }, []), ie = k((z) => {
3121
+ z === "p" ? R() : z === "m" && A(), p.current && clearTimeout(p.current), w.current && clearInterval(w.current), document.addEventListener("mouseup", te), p.current = setTimeout(() => {
3108
3122
  w.current = setInterval(() => {
3109
- O === "p" ? I() : O === "m" && A();
3123
+ z === "p" ? R() : z === "m" && A();
3110
3124
  }, 100);
3111
3125
  }, 500);
3112
- }, [I, A]);
3126
+ }, [R, A]);
3113
3127
  return $(() => {
3114
3128
  M(x, u);
3115
3129
  }, [u, x, M]), $(() => {
3116
3130
  console.log("d", y.current), u !== void 0 && !y.current && U(u);
3117
3131
  }, [u]), /* @__PURE__ */ e.jsxs("div", { ref: S, style: t, className: `input-field number-field ${c ? "border" : ""} ${r ? "transparent" : ""} ${f}`, children: [
3118
- a ? /* @__PURE__ */ e.jsx("div", { className: "icon-container", onClick: L, children: a }) : null,
3119
- /* @__PURE__ */ e.jsxs("div", { className: "input-container", onClick: L, children: [
3132
+ l ? /* @__PURE__ */ e.jsx("div", { className: "icon-container", onClick: D, children: l }) : null,
3133
+ /* @__PURE__ */ e.jsxs("div", { className: "input-container", onClick: D, children: [
3120
3134
  /* @__PURE__ */ e.jsx(
3121
3135
  "input",
3122
3136
  {
3123
3137
  ref: n,
3124
3138
  max: v,
3125
- min: C,
3139
+ min: m,
3126
3140
  readOnly: s,
3127
3141
  required: !0,
3128
3142
  type: "number",
3129
- className: `alex-evo-number-field ${V ? "error" : ""}`,
3130
- name: l,
3131
- value: Y,
3132
- onChange: z,
3133
- onFocus: m,
3143
+ className: `alex-evo-number-field ${T ? "error" : ""}`,
3144
+ name: o,
3145
+ value: H,
3146
+ onChange: X,
3147
+ onFocus: C,
3134
3148
  onBlur: j
3135
3149
  }
3136
3150
  ),
3137
3151
  /* @__PURE__ */ e.jsx("label", { children: h ? /* @__PURE__ */ e.jsx("span", { children: h }) : null }),
3138
3152
  /* @__PURE__ */ e.jsx("span", { className: "text-field-line" })
3139
3153
  ] }),
3140
- i ? /* @__PURE__ */ e.jsx("div", { className: "clear-container", children: /* @__PURE__ */ e.jsx(Me, { onClick: i }) }) : null,
3154
+ i ? /* @__PURE__ */ e.jsx("div", { className: "clear-container", children: /* @__PURE__ */ e.jsx(Oe, { onClick: i }) }) : null,
3141
3155
  /* @__PURE__ */ e.jsxs("div", { className: "button-block", children: [
3142
- /* @__PURE__ */ e.jsx("div", { className: "minus number-field-btn", onMouseDown: () => te("m"), children: /* @__PURE__ */ e.jsx(qt, {}) }),
3143
- /* @__PURE__ */ e.jsx("div", { className: "plus number-field-btn", onMouseDown: () => te("p"), children: /* @__PURE__ */ e.jsx(Kt, {}) })
3156
+ /* @__PURE__ */ e.jsx("div", { className: "minus number-field-btn", onMouseDown: () => ie("m"), children: /* @__PURE__ */ e.jsx(er, {}) }),
3157
+ /* @__PURE__ */ e.jsx("div", { className: "plus number-field-btn", onMouseDown: () => ie("p"), children: /* @__PURE__ */ e.jsx(Qt, {}) })
3144
3158
  ] })
3145
3159
  ] });
3146
3160
  };
3147
- const nc = ({ styleContainer: n, transparent: t, readOnly: r, border: s, icon: c, onChange: i, name: a, value: o, placeholder: l, className: u, validEmptyValue: h, onFocus: f, onBlur: x, error: m }) => {
3148
- const j = G(null), [g, v] = _(!1), C = k((w, y) => v(!!(m || w && (!y || y === ""))), []);
3161
+ const tc = ({ styleContainer: n, transparent: t, readOnly: r, border: s, icon: c, onChange: i, name: l, value: a, placeholder: o, className: u, validEmptyValue: h, onFocus: f, onBlur: x, error: C }) => {
3162
+ const j = Y(null), [g, v] = _(!1), m = k((w, y) => v(!!(C || w && (!y || y === ""))), []);
3149
3163
  $(() => {
3150
- C(h, o);
3151
- }, [o, h, C]);
3164
+ m(h, a);
3165
+ }, [a, h, m]);
3152
3166
  const p = () => {
3153
3167
  j.current && j.current.focus();
3154
3168
  };
@@ -3160,10 +3174,10 @@ const nc = ({ styleContainer: n, transparent: t, readOnly: r, border: s, icon: c
3160
3174
  ref: j,
3161
3175
  readOnly: r,
3162
3176
  required: !0,
3163
- placeholder: l,
3177
+ placeholder: o,
3164
3178
  className: `${g ? "error" : ""}`,
3165
- name: a,
3166
- value: o,
3179
+ name: l,
3180
+ value: a,
3167
3181
  onChange: i,
3168
3182
  onFocus: f,
3169
3183
  onBlur: x
@@ -3171,13 +3185,13 @@ const nc = ({ styleContainer: n, transparent: t, readOnly: r, border: s, icon: c
3171
3185
  ) })
3172
3186
  ] });
3173
3187
  };
3174
- const Wr = ({ setHours: n, setMinutes: t, switchMode: r, hours: s, minutes: c, onCancel: i, onOK: a }) => {
3175
- const [o, l] = _(!1), u = k((x) => {
3176
- n(x), l(!0);
3188
+ const Zr = ({ setHours: n, setMinutes: t, switchMode: r, hours: s, minutes: c, onCancel: i, onOK: l }) => {
3189
+ const [a, o] = _(!1), u = k((x) => {
3190
+ n(x), o(!0);
3177
3191
  }, [n]), h = k((x) => {
3178
- t(x), l(!1);
3192
+ t(x), o(!1);
3179
3193
  }, [t]), f = k(() => {
3180
- l(!1), i();
3194
+ o(!1), i();
3181
3195
  }, []);
3182
3196
  return /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
3183
3197
  /* @__PURE__ */ e.jsx("div", { className: "time-type", children: /* @__PURE__ */ e.jsx("p", { className: "text-sm", children: "Select time" }) }),
@@ -3192,15 +3206,15 @@ const Wr = ({ setHours: n, setMinutes: t, switchMode: r, hours: s, minutes: c, o
3192
3206
  /* @__PURE__ */ e.jsx("span", { className: "text-sm", children: "Minute" })
3193
3207
  ] })
3194
3208
  ] }),
3195
- /* @__PURE__ */ e.jsx("div", { className: "clock-input-container", children: o ? /* @__PURE__ */ e.jsx(Xr, { setMinutes: h }) : /* @__PURE__ */ e.jsx(Zr, { setHours: u }) }),
3209
+ /* @__PURE__ */ e.jsx("div", { className: "clock-input-container", children: a ? /* @__PURE__ */ e.jsx(Ur, { setMinutes: h }) : /* @__PURE__ */ e.jsx(Xr, { setHours: u }) }),
3196
3210
  /* @__PURE__ */ e.jsxs("div", { className: "enter-time-action", children: [
3197
- /* @__PURE__ */ e.jsx("div", { className: "enter-time-icon", onClick: () => r(), children: /* @__PURE__ */ e.jsx(Jt, {}) }),
3198
- /* @__PURE__ */ e.jsx(ee, { className: "little", onClick: f, children: "Cancel" }),
3199
- /* @__PURE__ */ e.jsx(ee, { className: "little", onClick: a, children: "OK" })
3211
+ /* @__PURE__ */ e.jsx("div", { className: "enter-time-icon", onClick: () => r(), children: /* @__PURE__ */ e.jsx(qt, {}) }),
3212
+ /* @__PURE__ */ e.jsx(Q, { className: "little", onClick: f, children: "Cancel" }),
3213
+ /* @__PURE__ */ e.jsx(Q, { className: "little", onClick: l, children: "OK" })
3200
3214
  ] })
3201
3215
  ] });
3202
3216
  };
3203
- function Zr({ setHours: n }) {
3217
+ function Xr({ setHours: n }) {
3204
3218
  return /* @__PURE__ */ e.jsxs("div", { className: "clock-input", children: [
3205
3219
  /* @__PURE__ */ e.jsxs("div", { className: "clock-input-am", children: [
3206
3220
  /* @__PURE__ */ e.jsx("span", { onClick: () => n(1), children: "1" }),
@@ -3233,7 +3247,7 @@ function Zr({ setHours: n }) {
3233
3247
  /* @__PURE__ */ e.jsx("span", { className: "center" })
3234
3248
  ] });
3235
3249
  }
3236
- function Xr({ setMinutes: n }) {
3250
+ function Ur({ setMinutes: n }) {
3237
3251
  return /* @__PURE__ */ e.jsxs("div", { className: "clock-input", children: [
3238
3252
  /* @__PURE__ */ e.jsxs("div", { className: "clock-input-minute", children: [
3239
3253
  /* @__PURE__ */ e.jsx("span", { onClick: () => n(0), children: "00" }),
@@ -3252,11 +3266,11 @@ function Xr({ setMinutes: n }) {
3252
3266
  /* @__PURE__ */ e.jsx("span", { className: "center" })
3253
3267
  ] });
3254
3268
  }
3255
- const Ur = ({ setHours: n, setMinutes: t, switchMode: r, minutes: s, hours: c, onCancel: i, onOK: a }) => {
3256
- const o = (u) => {
3269
+ const Jr = ({ setHours: n, setMinutes: t, switchMode: r, minutes: s, hours: c, onCancel: i, onOK: l }) => {
3270
+ const a = (u) => {
3257
3271
  let h = Number(u.target.value);
3258
3272
  h < 0 && (h = 0), h > 23 && (h = 23), n(h);
3259
- }, l = (u) => {
3273
+ }, o = (u) => {
3260
3274
  let h = Number(u.target.value);
3261
3275
  h < 0 && (h = 0), h > 59 && (h = 59), t(h);
3262
3276
  };
@@ -3264,40 +3278,40 @@ const Ur = ({ setHours: n, setMinutes: t, switchMode: r, minutes: s, hours: c, o
3264
3278
  /* @__PURE__ */ e.jsx("div", { className: "time-type", children: /* @__PURE__ */ e.jsx("p", { className: "text-sm", children: "Enter time" }) }),
3265
3279
  /* @__PURE__ */ e.jsxs("div", { className: "time-input-container", children: [
3266
3280
  /* @__PURE__ */ e.jsxs("div", { className: "time-input hours", children: [
3267
- /* @__PURE__ */ e.jsx("div", { className: "input-container", children: /* @__PURE__ */ e.jsx("input", { type: "number", min: 0, max: 23, value: c, onChange: o }) }),
3281
+ /* @__PURE__ */ e.jsx("div", { className: "input-container", children: /* @__PURE__ */ e.jsx("input", { type: "number", min: 0, max: 23, value: c, onChange: a }) }),
3268
3282
  /* @__PURE__ */ e.jsx("span", { className: "text-sm", children: "Hour" })
3269
3283
  ] }),
3270
3284
  /* @__PURE__ */ e.jsx("div", { className: "time-separator", children: ":" }),
3271
3285
  /* @__PURE__ */ e.jsxs("div", { className: "time-input minutes", children: [
3272
- /* @__PURE__ */ e.jsx("div", { className: "input-container", children: /* @__PURE__ */ e.jsx("input", { type: "number", value: s, min: 0, max: 59, onChange: l }) }),
3286
+ /* @__PURE__ */ e.jsx("div", { className: "input-container", children: /* @__PURE__ */ e.jsx("input", { type: "number", value: s, min: 0, max: 59, onChange: o }) }),
3273
3287
  /* @__PURE__ */ e.jsx("span", { className: "text-sm", children: "Minute" })
3274
3288
  ] })
3275
3289
  ] }),
3276
3290
  /* @__PURE__ */ e.jsxs("div", { className: "enter-time-action", children: [
3277
- /* @__PURE__ */ e.jsx("div", { className: "enter-time-icon", onClick: () => r(), children: /* @__PURE__ */ e.jsx(Un, {}) }),
3278
- /* @__PURE__ */ e.jsx(ee, { className: "little", onClick: i, children: "Cancel" }),
3279
- /* @__PURE__ */ e.jsx(ee, { className: "little", onClick: a, children: "OK" })
3291
+ /* @__PURE__ */ e.jsx("div", { className: "enter-time-icon", onClick: () => r(), children: /* @__PURE__ */ e.jsx(Kn, {}) }),
3292
+ /* @__PURE__ */ e.jsx(Q, { className: "little", onClick: i, children: "Cancel" }),
3293
+ /* @__PURE__ */ e.jsx(Q, { className: "little", onClick: l, children: "OK" })
3280
3294
  ] })
3281
3295
  ] });
3282
- }, Jr = (n) => {
3283
- const [t, r] = _(n.minutes ?? 0), [s, c] = _(n.hours ?? 0), [i, a] = _(!0), o = () => {
3296
+ }, Kr = (n) => {
3297
+ const [t, r] = _(n.minutes ?? 0), [s, c] = _(n.hours ?? 0), [i, l] = _(!0), a = () => {
3284
3298
  n.onHide && n.onHide(), r(0), c(0);
3285
- }, l = k((h) => {
3299
+ }, o = k((h) => {
3286
3300
  r(h), n.onChange && n.onChange(s, h), n.onHide && n.onHide();
3287
3301
  }, [s]), u = k(() => {
3288
3302
  n.onChange && n.onChange(s, t), n.onHide && n.onHide();
3289
3303
  }, [s, t]);
3290
- return i ? /* @__PURE__ */ e.jsx(be, { className: "enter-time-container", children: /* @__PURE__ */ e.jsx(Wr, { setMinutes: l, setHours: c, minutes: t, hours: s, switchMode: () => a(!1), onCancel: o, onOK: u }) }) : /* @__PURE__ */ e.jsx(be, { className: "enter-time-container", children: /* @__PURE__ */ e.jsx(Ur, { setMinutes: r, setHours: c, minutes: t, hours: s, switchMode: () => a(!0), onCancel: o, onOK: u }) });
3291
- }, tc = ({ border: n, onChange: t, name: r, value: s, className: c, validEmptyValue: i, error: a, container: o }) => {
3292
- const [l, u] = _(s ?? ""), [h, f] = _(!1), x = k((g) => a || g && (!l || l === "") ? "error" : "", [l]), m = (g, v) => {
3293
- let C = String(g), p = String(v);
3294
- C.length < 2 && (C = "0" + C), p.length < 2 && (p = "0" + p), u(`${C}:${p}`), t && t(`${C}:${p}`);
3304
+ return i ? /* @__PURE__ */ e.jsx(Me, { className: "enter-time-container", children: /* @__PURE__ */ e.jsx(Zr, { setMinutes: o, setHours: c, minutes: t, hours: s, switchMode: () => l(!1), onCancel: a, onOK: u }) }) : /* @__PURE__ */ e.jsx(Me, { className: "enter-time-container", children: /* @__PURE__ */ e.jsx(Jr, { setMinutes: r, setHours: c, minutes: t, hours: s, switchMode: () => l(!0), onCancel: a, onOK: u }) });
3305
+ }, rc = ({ border: n, onChange: t, name: r, value: s, className: c, validEmptyValue: i, error: l, container: a }) => {
3306
+ const [o, u] = _(s ?? ""), [h, f] = _(!1), x = k((g) => l || g && (!o || o === "") ? "error" : "", [o]), C = (g, v) => {
3307
+ let m = String(g), p = String(v);
3308
+ m.length < 2 && (m = "0" + m), p.length < 2 && (p = "0" + p), u(`${m}:${p}`), t && t(`${m}:${p}`);
3295
3309
  }, j = () => {
3296
3310
  f(!0);
3297
3311
  };
3298
3312
  return /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
3299
3313
  /* @__PURE__ */ e.jsxs("div", { className: `input-field time-field ${n ? "border" : ""}`, children: [
3300
- /* @__PURE__ */ e.jsx("div", { className: "icon-container", onClick: j, children: /* @__PURE__ */ e.jsx(Un, {}) }),
3314
+ /* @__PURE__ */ e.jsx("div", { className: "icon-container", onClick: j, children: /* @__PURE__ */ e.jsx(Kn, {}) }),
3301
3315
  /* @__PURE__ */ e.jsxs("div", { className: "input-container", onClick: j, children: [
3302
3316
  /* @__PURE__ */ e.jsx(
3303
3317
  "input",
@@ -3306,39 +3320,39 @@ const Ur = ({ setHours: n, setMinutes: t, switchMode: r, minutes: s, hours: c, o
3306
3320
  type: "time",
3307
3321
  className: `${c} ${x(i)}`,
3308
3322
  name: r,
3309
- value: l,
3323
+ value: o,
3310
3324
  readOnly: !0
3311
3325
  }
3312
3326
  ),
3313
3327
  /* @__PURE__ */ e.jsx("span", { className: "text-field-line" })
3314
3328
  ] })
3315
3329
  ] }),
3316
- h ? /* @__PURE__ */ e.jsx(Ae, { container: o, children: /* @__PURE__ */ e.jsx(
3317
- Jr,
3330
+ h ? /* @__PURE__ */ e.jsx(ze, { container: a, children: /* @__PURE__ */ e.jsx(
3331
+ Kr,
3318
3332
  {
3319
3333
  onHide: () => f(!1),
3320
- onChange: m,
3334
+ onChange: C,
3321
3335
  hours: 0,
3322
3336
  minutes: 0
3323
3337
  }
3324
3338
  ) }) : null
3325
3339
  ] });
3326
3340
  };
3327
- function Kr(n, t, r, s, c) {
3341
+ function qr(n, t, r, s, c) {
3328
3342
  return s + (c - s) * ((n - t) / (r - t));
3329
3343
  }
3330
- const on = 0, an = 100, rc = (n) => {
3331
- const [t, r] = _(0), [s, c] = _(!1), i = G(null), a = G(null);
3344
+ const hn = 0, fn = 100, sc = (n) => {
3345
+ const [t, r] = _(0), [s, c] = _(!1), i = Y(null), l = Y(null);
3332
3346
  $(() => {
3333
3347
  n.value ? r(n.value) : r(0);
3334
3348
  }, [n.value]);
3335
- const o = (f) => {
3349
+ const a = (f) => {
3336
3350
  r(Number(f.target.value)), n.onChange && n.onChange(f);
3337
- }, l = (f, x, m) => {
3338
- if (i.current && a.current) {
3339
- let j = Ke(a.current);
3351
+ }, o = (f, x, C) => {
3352
+ if (i.current && l.current) {
3353
+ let j = en(l.current);
3340
3354
  if (j)
3341
- return Kr(f, x, m, 0, m - x) * (j.width - 20) / (m - x);
3355
+ return qr(f, x, C, 0, C - x) * (j.width - 20) / (C - x);
3342
3356
  }
3343
3357
  return 0;
3344
3358
  }, u = k((f) => {
@@ -3347,35 +3361,35 @@ const on = 0, an = 100, rc = (n) => {
3347
3361
  c(!1), n.onBlur && n.onBlur(f);
3348
3362
  }, [n.onBlur]);
3349
3363
  return /* @__PURE__ */ e.jsx("div", { className: "range", children: /* @__PURE__ */ e.jsxs("div", { className: "field", style: n.style, children: [
3350
- n.maxMinDisplay ? /* @__PURE__ */ e.jsx("div", { className: "value left", children: n.min ?? on }) : null,
3364
+ n.maxMinDisplay ? /* @__PURE__ */ e.jsx("div", { className: "value left", children: n.min ?? hn }) : null,
3351
3365
  /* @__PURE__ */ e.jsxs("div", { className: "field-range-container", children: [
3352
- /* @__PURE__ */ e.jsx("div", { className: "slider-value", ref: i, style: { width: l(t, n.min ?? on, n.max ?? an) }, children: /* @__PURE__ */ e.jsxs("div", { className: "slider-tooltip", style: { display: s ? "block" : "none" }, children: [
3366
+ /* @__PURE__ */ e.jsx("div", { className: "slider-value", ref: i, style: { width: o(t, n.min ?? hn, n.max ?? fn) }, children: /* @__PURE__ */ e.jsxs("div", { className: "slider-tooltip", style: { display: s ? "block" : "none" }, children: [
3353
3367
  /* @__PURE__ */ e.jsx("span", { className: "slider-tooltip-container" }),
3354
3368
  /* @__PURE__ */ e.jsx("span", { className: "slider-tooltip-value", children: t })
3355
3369
  ] }) }),
3356
- /* @__PURE__ */ e.jsx("input", { onMouseUp: n.onMouseUp, ref: a, step: n.step, type: "range", min: n.min ?? on, max: n.max ?? an, onChange: o, value: t, onFocus: u, onBlur: h })
3370
+ /* @__PURE__ */ e.jsx("input", { onMouseUp: n.onMouseUp, ref: l, step: n.step, type: "range", min: n.min ?? hn, max: n.max ?? fn, onChange: a, value: t, onFocus: u, onBlur: h })
3357
3371
  ] }),
3358
- n.maxMinDisplay ? /* @__PURE__ */ e.jsx("div", { className: "value right", children: n.max ?? an }) : null
3372
+ n.maxMinDisplay ? /* @__PURE__ */ e.jsx("div", { className: "value right", children: n.max ?? fn }) : null
3359
3373
  ] }) });
3360
3374
  };
3361
- const sc = ({ className: n, text: t, title: r, hexColor: s, hexBackground: c, style: i, btn: a }) => /* @__PURE__ */ e.jsxs("div", { className: `alex-evo-sh-ui-kit-empty-page ${n ?? ""}`, style: { background: nr(c), color: s, ...i }, children: [
3375
+ const cc = ({ className: n, text: t, title: r, hexColor: s, hexBackground: c, style: i, btn: l }) => /* @__PURE__ */ e.jsxs("div", { className: `alex-evo-sh-ui-kit-empty-page ${n ?? ""}`, style: { background: rr(c), color: s, ...i }, children: [
3362
3376
  /* @__PURE__ */ e.jsx("h2", { children: r }),
3363
3377
  t ? /* @__PURE__ */ e.jsx("p", { children: t }) : null,
3364
- a ? /* @__PURE__ */ e.jsx(Xn, { styleType: a.styleType ?? "filled", style: a.style, className: a.className, onClick: a.onClick, children: a.text }) : null
3378
+ l ? /* @__PURE__ */ e.jsx(Jn, { styleType: l.styleType ?? "filled", style: l.style, className: l.className, onClick: l.onClick, children: l.text }) : null
3365
3379
  ] });
3366
- const qr = ({ readonly: n, name: t, data: r, onChange: s, onDelete: c, initComponent: i, onlyStringValue: a }) => {
3367
- const [o, l] = _(""), [u, h] = _(""), [f, x] = _(!1), [m, j] = _(!0), g = k((w, y) => {
3380
+ const Qr = ({ readonly: n, name: t, data: r, onChange: s, onDelete: c, initComponent: i, onlyStringValue: l }) => {
3381
+ const [a, o] = _(""), [u, h] = _(""), [f, x] = _(!1), [C, j] = _(!0), g = k((w, y) => {
3368
3382
  s({ ...r, [y]: w });
3369
3383
  }, [s, r]), v = k(() => {
3370
- h(""), l(""), x(!1);
3371
- }, []), C = k(() => {
3384
+ h(""), o(""), x(!1);
3385
+ }, []), m = k(() => {
3372
3386
  let w = u;
3373
3387
  try {
3374
- a || (w = JSON.parse(w));
3388
+ l || (w = JSON.parse(w));
3375
3389
  } catch {
3376
3390
  }
3377
- v(), s({ ...r, [o]: w });
3378
- }, [r, s, o, u, v]), p = k((w) => {
3391
+ v(), s({ ...r, [a]: w });
3392
+ }, [r, s, a, u, v]), p = k((w) => {
3379
3393
  let y = { ...r };
3380
3394
  delete y[w], s(y);
3381
3395
  }, [r, s]);
@@ -3385,82 +3399,82 @@ const qr = ({ readonly: n, name: t, data: r, onChange: s, onDelete: c, initCompo
3385
3399
  t,
3386
3400
  ":",
3387
3401
  "{",
3388
- m ? null : /* @__PURE__ */ e.jsx("span", { children: "..." })
3402
+ C ? null : /* @__PURE__ */ e.jsx("span", { children: "..." })
3389
3403
  ] }),
3390
- n ? null : /* @__PURE__ */ e.jsx("span", { className: "json-element json-btn", onClick: () => x(!0), children: /* @__PURE__ */ e.jsx(Kn, {}) })
3404
+ n ? null : /* @__PURE__ */ e.jsx("span", { className: "json-element json-btn", onClick: () => x(!0), children: /* @__PURE__ */ e.jsx(Qn, {}) })
3391
3405
  ] }),
3392
- m ? /* @__PURE__ */ e.jsx("div", { className: "json-object-content", children: r ? Object.keys(r).map(
3393
- (w, y) => /* @__PURE__ */ e.jsx("div", { className: "json-line", children: /* @__PURE__ */ e.jsx(mn, { readonly: n, onDelete: () => p(w), onChange: (S) => g(S, w), name: w, data: r[w] }) }, y)
3406
+ C ? /* @__PURE__ */ e.jsx("div", { className: "json-object-content", children: r ? Object.keys(r).map(
3407
+ (w, y) => /* @__PURE__ */ e.jsx("div", { className: "json-line", children: /* @__PURE__ */ e.jsx(pn, { readonly: n, onDelete: () => p(w), onChange: (S) => g(S, w), name: w, data: r[w] }) }, y)
3394
3408
  ) : null }) : null,
3395
3409
  f && !n ? /* @__PURE__ */ e.jsxs("div", { className: "json-object-content", children: [
3396
- /* @__PURE__ */ e.jsx("span", { className: "json-base-data border", children: /* @__PURE__ */ e.jsx("input", { size: o.length || 10, placeholder: "key", onChange: (w) => l(w.target.value), className: "json-base-data-input", type: "text", value: o }) }),
3410
+ /* @__PURE__ */ e.jsx("span", { className: "json-base-data border", children: /* @__PURE__ */ e.jsx("input", { size: a.length || 10, placeholder: "key", onChange: (w) => o(w.target.value), className: "json-base-data-input", type: "text", value: a }) }),
3397
3411
  ":",
3398
3412
  /* @__PURE__ */ e.jsx("span", { className: "json-base-data border", children: /* @__PURE__ */ e.jsx("input", { size: u.length || 10, placeholder: "value", onChange: (w) => h(w.target.value), className: "json-base-data-input", type: "text", value: u }) }),
3399
- /* @__PURE__ */ e.jsx("span", { className: "json-base-data-btn-save json-base-data-btn", onClick: C, children: "save" }),
3413
+ /* @__PURE__ */ e.jsx("span", { className: "json-base-data-btn-save json-base-data-btn", onClick: m, children: "save" }),
3400
3414
  /* @__PURE__ */ e.jsx("span", { className: "json-base-data-btn-cancel json-base-data-btn", onClick: v, children: "cancel" })
3401
3415
  ] }) : null,
3402
3416
  /* @__PURE__ */ e.jsxs("div", { className: "json-line", children: [
3403
3417
  "}",
3404
- !n && !i ? /* @__PURE__ */ e.jsx("span", { className: "json-element json-btn", onClick: c, children: /* @__PURE__ */ e.jsx(fn, {}) }) : null
3418
+ !n && !i ? /* @__PURE__ */ e.jsx("span", { className: "json-element json-btn", onClick: c, children: /* @__PURE__ */ e.jsx(Cn, {}) }) : null
3405
3419
  ] })
3406
3420
  ] }) });
3407
- }, Qr = ({ readonly: n, name: t, data: r, onChange: s, onDelete: c, initComponent: i, onlyStringValue: a }) => {
3408
- const [o, l] = _(""), [u, h] = _(!1), [f, x] = _(!0), m = k((C, p) => {
3421
+ }, es = ({ readonly: n, name: t, data: r, onChange: s, onDelete: c, initComponent: i, onlyStringValue: l }) => {
3422
+ const [a, o] = _(""), [u, h] = _(!1), [f, x] = _(!0), C = k((m, p) => {
3409
3423
  const w = r.slice();
3410
- w[p] = C, s(w);
3424
+ w[p] = m, s(w);
3411
3425
  }, [s, r]), j = k(() => {
3412
- l(""), h(!1);
3426
+ o(""), h(!1);
3413
3427
  }, []), g = k(() => {
3414
- let C = o;
3428
+ let m = a;
3415
3429
  try {
3416
- a || (C = JSON.parse(C));
3430
+ l || (m = JSON.parse(m));
3417
3431
  } catch {
3418
3432
  }
3419
- j(), s([...r, C]);
3420
- }, [r, s, o, j]), v = k((C) => {
3421
- s(r.filter((p, w) => w !== C));
3433
+ j(), s([...r, m]);
3434
+ }, [r, s, a, j]), v = k((m) => {
3435
+ s(r.filter((p, w) => w !== m));
3422
3436
  }, [r, s]);
3423
3437
  return /* @__PURE__ */ e.jsx("div", { className: `json-card-container ${n ? "" : "changeable"}`, children: /* @__PURE__ */ e.jsxs("div", { children: [
3424
3438
  /* @__PURE__ */ e.jsxs("div", { className: "json-line json-object-header", children: [
3425
- /* @__PURE__ */ e.jsxs("span", { className: "json-object-name json-object-header", onClick: () => x((C) => !C), children: [
3439
+ /* @__PURE__ */ e.jsxs("span", { className: "json-object-name json-object-header", onClick: () => x((m) => !m), children: [
3426
3440
  t,
3427
3441
  ":",
3428
3442
  "[",
3429
3443
  f ? null : /* @__PURE__ */ e.jsx("span", { children: "..." })
3430
3444
  ] }),
3431
- n ? null : /* @__PURE__ */ e.jsx("span", { className: "json-element json-btn", onClick: () => h(!0), children: /* @__PURE__ */ e.jsx(Kn, {}) })
3445
+ n ? null : /* @__PURE__ */ e.jsx("span", { className: "json-element json-btn", onClick: () => h(!0), children: /* @__PURE__ */ e.jsx(Qn, {}) })
3432
3446
  ] }),
3433
- f ? /* @__PURE__ */ e.jsx("div", { className: "json-object-content", children: r && r.map((C, p) => /* @__PURE__ */ e.jsx("div", { className: "json-line", children: /* @__PURE__ */ e.jsx(mn, { readonly: n, onDelete: () => v(p), onChange: (w) => m(w, p), name: String(p), data: C }) }, p)) }) : null,
3447
+ f ? /* @__PURE__ */ e.jsx("div", { className: "json-object-content", children: r && r.map((m, p) => /* @__PURE__ */ e.jsx("div", { className: "json-line", children: /* @__PURE__ */ e.jsx(pn, { readonly: n, onDelete: () => v(p), onChange: (w) => C(w, p), name: String(p), data: m }) }, p)) }) : null,
3434
3448
  u ? /* @__PURE__ */ e.jsxs("div", { className: "json-object-content", children: [
3435
- /* @__PURE__ */ e.jsx("span", { className: "json-base-data border", children: /* @__PURE__ */ e.jsx("input", { size: o.length || 10, placeholder: "value", onChange: (C) => l(C.target.value), className: "json-base-data-input", type: "text", value: o }) }),
3449
+ /* @__PURE__ */ e.jsx("span", { className: "json-base-data border", children: /* @__PURE__ */ e.jsx("input", { size: a.length || 10, placeholder: "value", onChange: (m) => o(m.target.value), className: "json-base-data-input", type: "text", value: a }) }),
3436
3450
  /* @__PURE__ */ e.jsx("span", { className: "json-base-data-btn-save json-base-data-btn", onClick: g, children: "save" }),
3437
3451
  /* @__PURE__ */ e.jsx("span", { className: "json-base-data-btn-cancel json-base-data-btn", onClick: j, children: "cancel" })
3438
3452
  ] }) : null,
3439
3453
  /* @__PURE__ */ e.jsxs("div", { className: "json-line", children: [
3440
3454
  "]",
3441
- !n && !i ? /* @__PURE__ */ e.jsx("span", { className: "json-element json-btn", onClick: c, children: /* @__PURE__ */ e.jsx(fn, {}) }) : null
3455
+ !n && !i ? /* @__PURE__ */ e.jsx("span", { className: "json-element json-btn", onClick: c, children: /* @__PURE__ */ e.jsx(Cn, {}) }) : null
3442
3456
  ] })
3443
3457
  ] }) });
3444
- }, es = ({ readonly: n, name: t, data: r, onChange: s, onDelete: c }) => {
3445
- const i = k((a) => {
3446
- s(a.target.value);
3458
+ }, ns = ({ readonly: n, name: t, data: r, onChange: s, onDelete: c }) => {
3459
+ const i = k((l) => {
3460
+ s(l.target.value);
3447
3461
  }, [s]);
3448
3462
  return /* @__PURE__ */ e.jsx("div", { className: `json-card-container ${n ? "" : "changeable"}`, children: /* @__PURE__ */ e.jsx("div", { children: /* @__PURE__ */ e.jsxs("div", { className: "json-line", children: [
3449
3463
  /* @__PURE__ */ e.jsx("span", { className: "json-object-name", children: t }),
3450
3464
  ":",
3451
3465
  n ? /* @__PURE__ */ e.jsx("span", { className: "json-base-data", children: String(r) }) : /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
3452
3466
  /* @__PURE__ */ e.jsx("span", { className: "json-base-data", children: /* @__PURE__ */ e.jsx("input", { size: (r == null ? void 0 : r.toString().length) || 10, onChange: i, className: "json-base-data-input", type: "text", value: r !== void 0 ? String(r) : "" }) }),
3453
- /* @__PURE__ */ e.jsx("span", { className: "json-element json-btn", onClick: c, children: /* @__PURE__ */ e.jsx(fn, {}) })
3467
+ /* @__PURE__ */ e.jsx("span", { className: "json-element json-btn", onClick: c, children: /* @__PURE__ */ e.jsx(Cn, {}) })
3454
3468
  ] })
3455
3469
  ] }) }) });
3456
3470
  };
3457
- var ut = /* @__PURE__ */ ((n) => (n.NONE = "NONE", n.ARRAY = "ARRAY", n.OBJECT = "OBJECT", n))(ut || {});
3458
- const mn = ({ readonly: n, name: t, data: r, onChange: s, onDelete: c, baseType: i, onlyStringValue: a }) => typeof r == "boolean" || typeof r == "number" || typeof r == "string" ? /* @__PURE__ */ e.jsx(es, { readonly: n, onDelete: c, onChange: s, data: r, name: t }) : r ? Array.isArray(r) ? /* @__PURE__ */ e.jsx(Qr, { readonly: n, onDelete: c, onChange: s, data: r, name: t, initComponent: i === "ARRAY", onlyStringValue: a }) : /* @__PURE__ */ e.jsx(qr, { readonly: n, onDelete: c, onChange: s, data: r, name: t, initComponent: i === "OBJECT", onlyStringValue: a }) : null, cc = ({ readonly: n, name: t, data: r, onChange: s, onDelete: c, baseType: i = ut.NONE, onlyStringValue: a }) => {
3459
- const [o, l] = _(r || void 0), [u, h] = _(""), f = k((j) => {
3460
- n || (l(j), s && s(j));
3471
+ var jt = /* @__PURE__ */ ((n) => (n.NONE = "NONE", n.ARRAY = "ARRAY", n.OBJECT = "OBJECT", n))(jt || {});
3472
+ const pn = ({ readonly: n, name: t, data: r, onChange: s, onDelete: c, baseType: i, onlyStringValue: l }) => typeof r == "boolean" || typeof r == "number" || typeof r == "string" ? /* @__PURE__ */ e.jsx(ns, { readonly: n, onDelete: c, onChange: s, data: r, name: t }) : r ? Array.isArray(r) ? /* @__PURE__ */ e.jsx(es, { readonly: n, onDelete: c, onChange: s, data: r, name: t, initComponent: i === "ARRAY", onlyStringValue: l }) : /* @__PURE__ */ e.jsx(Qr, { readonly: n, onDelete: c, onChange: s, data: r, name: t, initComponent: i === "OBJECT", onlyStringValue: l }) : null, ic = ({ readonly: n, name: t, data: r, onChange: s, onDelete: c, baseType: i = jt.NONE, onlyStringValue: l }) => {
3473
+ const [a, o] = _(r || void 0), [u, h] = _(""), f = k((j) => {
3474
+ n || (o(j), s && s(j));
3461
3475
  }, [s]), x = k(() => {
3462
- n || (l(void 0), c && c());
3463
- }, [c]), m = k(() => {
3476
+ n || (o(void 0), c && c());
3477
+ }, [c]), C = k(() => {
3464
3478
  if (n)
3465
3479
  return;
3466
3480
  let j = u;
@@ -3468,35 +3482,35 @@ const mn = ({ readonly: n, name: t, data: r, onChange: s, onDelete: c, baseType:
3468
3482
  j = JSON.parse(j);
3469
3483
  } catch {
3470
3484
  }
3471
- l(j), s && s(j);
3485
+ o(j), s && s(j);
3472
3486
  }, [s, u]);
3473
3487
  return $(() => {
3474
- l(r);
3475
- }, [r]), !o && n ? /* @__PURE__ */ e.jsx("div", { className: `json-object-content ${n ? "" : "changeable"}`, children: /* @__PURE__ */ e.jsx("span", { className: "json-base-data border", children: "value" }) }) : o ? /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
3476
- /* @__PURE__ */ e.jsx(Fn, { transparent: !0, text: JSON.stringify(r) }),
3477
- /* @__PURE__ */ e.jsx(mn, { readonly: n, onDelete: x, onChange: f, data: o, baseType: i, name: t, onlyStringValue: a })
3488
+ o(r);
3489
+ }, [r]), !a && n ? /* @__PURE__ */ e.jsx("div", { className: `json-object-content ${n ? "" : "changeable"}`, children: /* @__PURE__ */ e.jsx("span", { className: "json-base-data border", children: "value" }) }) : a ? /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
3490
+ /* @__PURE__ */ e.jsx(Hn, { transparent: !0, text: JSON.stringify(r) }),
3491
+ /* @__PURE__ */ e.jsx(pn, { readonly: n, onDelete: x, onChange: f, data: a, baseType: i, name: t, onlyStringValue: l })
3478
3492
  ] }) : /* @__PURE__ */ e.jsxs("div", { className: `json-object-content ${n ? "" : "changeable"}`, children: [
3479
- /* @__PURE__ */ e.jsx(Fn, { transparent: !0, text: JSON.stringify(r) }),
3493
+ /* @__PURE__ */ e.jsx(Hn, { transparent: !0, text: JSON.stringify(r) }),
3480
3494
  /* @__PURE__ */ e.jsx("span", { className: "json-base-data border", children: /* @__PURE__ */ e.jsx("input", { size: u.length || 10, placeholder: "value", onChange: (j) => h(j.target.value), className: "alex-evo-sh-ui-kit-json json-base-data-input", type: "text", value: u }) }),
3481
- /* @__PURE__ */ e.jsx("span", { className: "json-base-data-btn-save json-base-data-btn", onClick: m, children: "save" })
3495
+ /* @__PURE__ */ e.jsx("span", { className: "json-base-data-btn-save json-base-data-btn", onClick: C, children: "save" })
3482
3496
  ] });
3483
3497
  };
3484
- const ic = ({ onMenu: n, onSearch: t, placeholder: r, autoChenge: s }) => {
3485
- const c = G(null), [i, a] = _(""), [o, l] = _(!1), u = () => {
3486
- c.current && (c.current.focus(), l(!0));
3498
+ const oc = ({ onMenu: n, onSearch: t, placeholder: r, autoChenge: s }) => {
3499
+ const c = Y(null), [i, l] = _(""), [a, o] = _(!1), u = () => {
3500
+ c.current && (c.current.focus(), o(!0));
3487
3501
  }, h = () => {
3488
- c.current && (c.current.focus(), c.current.value = ""), a(""), l(!0), s && t("");
3502
+ c.current && (c.current.focus(), c.current.value = ""), l(""), o(!0), s && t("");
3489
3503
  }, f = () => {
3490
- h(), c.current && (c.current.blur(), l(!1));
3504
+ h(), c.current && (c.current.blur(), o(!1));
3491
3505
  }, x = (j) => {
3492
- a(j.target.value), s && t(j.target.value);
3493
- }, m = (j) => {
3506
+ l(j.target.value), s && t(j.target.value);
3507
+ }, C = (j) => {
3494
3508
  j.code === "Enter" && t(i);
3495
3509
  };
3496
3510
  return /* @__PURE__ */ e.jsx("div", { className: "search-container", children: /* @__PURE__ */ e.jsxs("div", { className: "search-field", children: [
3497
- o ? /* @__PURE__ */ e.jsx("span", { onClick: f, children: /* @__PURE__ */ e.jsx(Zt, {}) }) : n ? /* @__PURE__ */ e.jsx("span", { onClick: n, children: /* @__PURE__ */ e.jsx(Jn, {}) }) : null,
3498
- /* @__PURE__ */ e.jsx("input", { placeholder: r, type: "text", ref: c, onChange: x, onKeyDown: m, value: i, onFocus: () => l(!0) }),
3499
- o ? /* @__PURE__ */ e.jsx("span", { onClick: h, children: /* @__PURE__ */ e.jsx(Me, {}) }) : /* @__PURE__ */ e.jsx("span", { onClick: u, children: /* @__PURE__ */ e.jsx(Xt, {}) })
3511
+ a ? /* @__PURE__ */ e.jsx("span", { onClick: f, children: /* @__PURE__ */ e.jsx(Ut, {}) }) : n ? /* @__PURE__ */ e.jsx("span", { onClick: n, children: /* @__PURE__ */ e.jsx(qn, {}) }) : null,
3512
+ /* @__PURE__ */ e.jsx("input", { placeholder: r, type: "text", ref: c, onChange: x, onKeyDown: C, value: i, onFocus: () => o(!0) }),
3513
+ a ? /* @__PURE__ */ e.jsx("span", { onClick: h, children: /* @__PURE__ */ e.jsx(Oe, {}) }) : /* @__PURE__ */ e.jsx("span", { onClick: u, children: /* @__PURE__ */ e.jsx(Jt, {}) })
3500
3514
  ] }) });
3501
3515
  };
3502
3516
  const lc = ({ visible: n, text: t, option: r }) => {
@@ -3506,22 +3520,22 @@ const lc = ({ visible: n, text: t, option: r }) => {
3506
3520
  return n ? /* @__PURE__ */ e.jsxs("div", { className: `snackbar-container ${r == null ? void 0 : r.className}`, style: { backgroundColor: r == null ? void 0 : r.backgroundColor, color: r == null ? void 0 : r.color }, children: [
3507
3521
  /* @__PURE__ */ e.jsxs("div", { className: "snackbar-content-container", children: [
3508
3522
  /* @__PURE__ */ e.jsx("div", { className: "snackbar-text", children: t }),
3509
- r != null && r.onClick ? /* @__PURE__ */ e.jsx("div", { className: "snackbar-button-container", children: /* @__PURE__ */ e.jsx(ee, { className: "snackbar-btn", onClick: r.onClick, children: r.buttonText ?? "Action" }) }) : null
3523
+ r != null && r.onClick ? /* @__PURE__ */ e.jsx("div", { className: "snackbar-button-container", children: /* @__PURE__ */ e.jsx(Q, { className: "snackbar-btn", onClick: r.onClick, children: r.buttonText ?? "Action" }) }) : null
3510
3524
  ] }),
3511
- r != null && r.closeButton ? /* @__PURE__ */ e.jsx("div", { className: "snackbar-close", children: /* @__PURE__ */ e.jsx("span", { onClick: s, children: /* @__PURE__ */ e.jsx(Me, {}) }) }) : null
3525
+ r != null && r.closeButton ? /* @__PURE__ */ e.jsx("div", { className: "snackbar-close", children: /* @__PURE__ */ e.jsx("span", { onClick: s, children: /* @__PURE__ */ e.jsx(Oe, {}) }) }) : null
3512
3526
  ] }) : null;
3513
3527
  };
3514
- const oc = ({ style: n, text: t, className: r, onClick: s, onContextMenu: c }) => {
3515
- const i = G(null), a = k(() => {
3528
+ const ac = ({ style: n, text: t, className: r, onClick: s, onContextMenu: c }) => {
3529
+ const i = Y(null), l = k(() => {
3516
3530
  if (!i.current)
3517
3531
  return;
3518
- let o = i.current.getElementsByTagName("p");
3519
- o[0] && i.current.clientWidth <= o[0].clientWidth ? (o[0].className = "runing", o[0].innerHTML = `| ${t} | ${t}`) : o[0].className = "";
3532
+ let a = i.current.getElementsByTagName("p");
3533
+ a[0] && i.current.clientWidth <= a[0].clientWidth ? (a[0].className = "runing", a[0].innerHTML = `| ${t} | ${t}`) : a[0].className = "";
3520
3534
  }, [t]);
3521
3535
  return $(() => {
3522
- a();
3523
- }, [a]), /* @__PURE__ */ e.jsx("div", { style: n, ref: i, onClick: s, onContextMenu: c, className: `runing-text ${r}`, children: /* @__PURE__ */ e.jsx("p", { children: t }) });
3524
- }, Zn = (n, t) => {
3536
+ l();
3537
+ }, [l]), /* @__PURE__ */ e.jsx("div", { style: n, ref: i, onClick: s, onContextMenu: c, className: `runing-text ${r}`, children: /* @__PURE__ */ e.jsx("p", { children: t }) });
3538
+ }, Un = (n, t) => {
3525
3539
  for (let r of n) {
3526
3540
  if (typeof r == "string" && r === t)
3527
3541
  return r;
@@ -3529,20 +3543,20 @@ const oc = ({ style: n, text: t, className: r, onClick: s, onContextMenu: c }) =
3529
3543
  return r.title;
3530
3544
  }
3531
3545
  return "";
3532
- }, ns = ({ ref: n, style: t, screensize: r = ce.STANDART, items: s, onChange: c, value: i, placeholder: a, className: o, border: l, name: u, error: h, onBlur: f, onFocus: x, container: m }) => {
3533
- const [j, g] = _(""), [v, C] = _({ x: 0, y: 0, width: 100 }), [p, w] = _(!1);
3546
+ }, ts = ({ ref: n, style: t, screensize: r = ce.STANDART, items: s, onChange: c, value: i, placeholder: l, className: a, border: o, name: u, error: h, onBlur: f, onFocus: x, container: C }) => {
3547
+ const [j, g] = _(""), [v, m] = _({ x: 0, y: 0, width: 100 }), [p, w] = _(!1);
3534
3548
  $(() => {
3535
- g(Zn(s, i ?? ""));
3549
+ g(Un(s, i ?? ""));
3536
3550
  }, [i, s]);
3537
- const y = k((E) => {
3538
- g(Zn(s, E)), c && c(E), w(!1);
3539
- }, [s, c]), S = k((E) => typeof E == "string" ? { title: E, onClick: () => y(E) } : { title: E.title, onClick: () => y(E.value) }, [y]), V = k((E) => {
3540
- E.preventDefault();
3541
- let Y = Ke(E.currentTarget), U = (Y == null ? void 0 : Y.left) ?? E.pageX, M = Y != null && Y.top ? Y.top + Y.height : E.pageY;
3542
- C({ x: U, y: M, width: (Y == null ? void 0 : Y.width) ?? 150 }), w(!0);
3551
+ const y = k((L) => {
3552
+ g(Un(s, L)), c && c(L), w(!1);
3553
+ }, [s, c]), S = k((L) => typeof L == "string" ? { title: L, onClick: () => y(L) } : { title: L.title, onClick: () => y(L.value) }, [y]), T = k((L) => {
3554
+ L.preventDefault();
3555
+ let H = en(L.currentTarget), U = (H == null ? void 0 : H.left) ?? L.pageX, M = H != null && H.top ? H.top + H.height : L.pageY;
3556
+ m({ x: U, y: M, width: (H == null ? void 0 : H.width) ?? 150 }), w(!0);
3543
3557
  }, [s, S]);
3544
3558
  return /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
3545
- /* @__PURE__ */ e.jsx("div", { style: t, className: `input-field select-field ${o} ${p ? "active" : ""} ${l ? "border" : ""}`, children: /* @__PURE__ */ e.jsxs("div", { className: "input-container", onClick: V, children: [
3559
+ /* @__PURE__ */ e.jsx("div", { style: t, className: `input-field select-field ${a} ${p ? "active" : ""} ${o ? "border" : ""}`, children: /* @__PURE__ */ e.jsxs("div", { className: "input-container", onClick: T, children: [
3546
3560
  /* @__PURE__ */ e.jsx(
3547
3561
  "input",
3548
3562
  {
@@ -3557,22 +3571,22 @@ const oc = ({ style: n, text: t, className: r, onClick: s, onContextMenu: c }) =
3557
3571
  readOnly: !0
3558
3572
  }
3559
3573
  ),
3560
- /* @__PURE__ */ e.jsx("label", { children: a ? /* @__PURE__ */ e.jsx("span", { children: a }) : null })
3574
+ /* @__PURE__ */ e.jsx("label", { children: l ? /* @__PURE__ */ e.jsx("span", { children: l }) : null })
3561
3575
  ] }) }),
3562
- /* @__PURE__ */ e.jsx(rt, { marginBottom: r === ce.MOBILE ? 80 : 0, width: v.width, screensize: r, x: v.x, y: v.y, onHide: () => w(!1), container: m, blocks: [{ items: s.map(S) }], visible: p })
3576
+ /* @__PURE__ */ e.jsx(ot, { marginBottom: r === ce.MOBILE ? 80 : 0, width: v.width, screensize: r, x: v.x, y: v.y, onHide: () => w(!1), container: C, blocks: [{ items: s.map(S) }], visible: p })
3563
3577
  ] });
3564
3578
  };
3565
- const Re = Ot({}), ts = ({ ref: n, border: t, readOnly: r, transparent: s, styleContainer: c, icon: i, clear: a, className: o, placeholder: l, name: u, min: h, max: f }) => {
3566
- const { value: x, changeField: m, errors: j } = Be(Re), g = (w) => {
3567
- m && m(u, w);
3568
- }, v = k(() => Number(x[u]), [x, u]), C = () => {
3569
- m && m(u, "");
3579
+ const Ve = Dt({}), rs = ({ ref: n, border: t, readOnly: r, transparent: s, styleContainer: c, icon: i, clear: l, className: a, placeholder: o, name: u, min: h, max: f }) => {
3580
+ const { value: x, changeField: C, errors: j } = Ge(Ve), g = (w) => {
3581
+ C && C(u, w);
3582
+ }, v = k(() => Number(x[u]), [x, u]), m = () => {
3583
+ C && C(u, "");
3570
3584
  }, p = k(() => {
3571
3585
  if (j && Object.keys(j).includes(u))
3572
3586
  return j[u];
3573
3587
  }, [j, u]);
3574
3588
  return /* @__PURE__ */ e.jsx(
3575
- Yr,
3589
+ Wr,
3576
3590
  {
3577
3591
  ref: n,
3578
3592
  border: t,
@@ -3581,9 +3595,9 @@ const Re = Ot({}), ts = ({ ref: n, border: t, readOnly: r, transparent: s, style
3581
3595
  styleContainer: c,
3582
3596
  error: !!p(),
3583
3597
  icon: i,
3584
- onClear: a ? C : void 0,
3585
- className: o,
3586
- placeholder: l,
3598
+ onClear: l ? m : void 0,
3599
+ className: a,
3600
+ placeholder: o,
3587
3601
  name: u,
3588
3602
  onChange: g,
3589
3603
  value: v(),
@@ -3591,12 +3605,12 @@ const Re = Ot({}), ts = ({ ref: n, border: t, readOnly: r, transparent: s, style
3591
3605
  max: f
3592
3606
  }
3593
3607
  );
3594
- }, rs = ({ items: n, ref: t, border: r, error: s, className: c, placeholder: i, name: a, container_id: o }) => {
3595
- const { value: l, changeField: u } = Be(Re), h = (x) => {
3596
- u && u(a, x);
3597
- }, f = k(() => l[a], [l, a]);
3608
+ }, ss = ({ items: n, ref: t, border: r, error: s, className: c, placeholder: i, name: l, container_id: a }) => {
3609
+ const { value: o, changeField: u } = Ge(Ve), h = (x) => {
3610
+ u && u(l, x);
3611
+ }, f = k(() => o[l], [o, l]);
3598
3612
  return /* @__PURE__ */ e.jsx(
3599
- ns,
3613
+ ts,
3600
3614
  {
3601
3615
  items: n,
3602
3616
  ref: t,
@@ -3604,38 +3618,38 @@ const Re = Ot({}), ts = ({ ref: n, border: t, readOnly: r, transparent: s, style
3604
3618
  error: s,
3605
3619
  className: c,
3606
3620
  placeholder: i,
3607
- name: a,
3621
+ name: l,
3608
3622
  onChange: h,
3609
3623
  value: f(),
3610
- container: document.getElementById(o)
3624
+ container: document.getElementById(a)
3611
3625
  }
3612
3626
  );
3613
- }, ss = ({ placeholder: n, ref: t, style: r, readOnly: s, className: c, name: i }) => {
3614
- const { value: a, changeField: o } = Be(Re), l = (h) => {
3615
- o && o(i, h.target.checked);
3616
- }, u = k(() => !!a[i], [a, i]);
3627
+ }, cs = ({ placeholder: n, ref: t, style: r, readOnly: s, className: c, name: i }) => {
3628
+ const { value: l, changeField: a } = Ge(Ve), o = (h) => {
3629
+ a && a(i, h.target.checked);
3630
+ }, u = k(() => !!l[i], [l, i]);
3617
3631
  return /* @__PURE__ */ e.jsxs("div", { className: `input-field form-switch ${c}`, style: r, children: [
3618
- /* @__PURE__ */ e.jsx(Cr, { readOnly: s, ref: t, name: i, checked: u(), onChange: l }),
3619
- /* @__PURE__ */ e.jsx(xe, { className: "form-switch-placeholder", type: "body", children: n })
3632
+ /* @__PURE__ */ e.jsx(vr, { readOnly: s, ref: t, name: i, checked: u(), onChange: o }),
3633
+ /* @__PURE__ */ e.jsx(me, { className: "form-switch-placeholder", type: "body", children: n })
3620
3634
  ] });
3621
- }, cs = ({ placeholder: n, ref: t, style: r, readOnly: s, className: c, name: i }) => {
3622
- const { value: a, changeField: o } = Be(Re), l = (h) => {
3635
+ }, is = ({ placeholder: n, ref: t, style: r, readOnly: s, className: c, name: i }) => {
3636
+ const { value: l, changeField: a } = Ge(Ve), o = (h) => {
3623
3637
  if (h.length > 0)
3624
- return o && o(i, !0);
3625
- o && o(i, !1);
3626
- }, u = k(() => a[i] ? [n ?? i] : [], [a, i, n]);
3627
- return /* @__PURE__ */ e.jsx(mr, { className: c, style: r, ref: t, readOnly: s, value: u(), multiple: !0, items: [n ?? i], onChange: l });
3628
- }, is = ({ password: n, ref: t, border: r, readOnly: s, transparent: c, styleContainer: i, icon: a, clear: o, className: l, placeholder: u, name: h }) => {
3629
- const { value: f, changeField: x, errors: m } = Be(Re), j = (p) => {
3638
+ return a && a(i, !0);
3639
+ a && a(i, !1);
3640
+ }, u = k(() => l[i] ? [n ?? i] : [], [l, i, n]);
3641
+ return /* @__PURE__ */ e.jsx(Cr, { className: c, style: r, ref: t, readOnly: s, value: u(), multiple: !0, items: [n ?? i], onChange: o });
3642
+ }, os = ({ password: n, ref: t, border: r, readOnly: s, transparent: c, styleContainer: i, icon: l, clear: a, className: o, placeholder: u, name: h }) => {
3643
+ const { value: f, changeField: x, errors: C } = Ge(Ve), j = (p) => {
3630
3644
  x && x(h, p.target.value);
3631
3645
  }, g = k(() => f[h], [f, h]), v = () => {
3632
3646
  x && x(h, "");
3633
- }, C = k(() => {
3634
- if (m && Object.keys(m).includes(h))
3635
- return m[h];
3636
- }, [m, h]);
3647
+ }, m = k(() => {
3648
+ if (C && Object.keys(C).includes(h))
3649
+ return C[h];
3650
+ }, [C, h]);
3637
3651
  return /* @__PURE__ */ e.jsx(
3638
- jn,
3652
+ gn,
3639
3653
  {
3640
3654
  ref: t,
3641
3655
  password: n,
@@ -3643,10 +3657,10 @@ const Re = Ot({}), ts = ({ ref: n, border: t, readOnly: r, transparent: s, style
3643
3657
  readOnly: s,
3644
3658
  transparent: c,
3645
3659
  styleContainer: i,
3646
- error: !!C(),
3647
- icon: a,
3648
- onClear: o ? v : void 0,
3649
- className: l,
3660
+ error: !!m(),
3661
+ icon: l,
3662
+ onClear: a ? v : void 0,
3663
+ className: o,
3650
3664
  placeholder: u,
3651
3665
  name: h,
3652
3666
  onChange: j,
@@ -3654,126 +3668,126 @@ const Re = Ot({}), ts = ({ ref: n, border: t, readOnly: r, transparent: s, style
3654
3668
  }
3655
3669
  );
3656
3670
  };
3657
- const ls = ({ children: n, value: t, name: r, changeValue: s, errors: c }) => /* @__PURE__ */ e.jsx(Re.Provider, { value: { value: t, changeField: s, errors: c }, children: /* @__PURE__ */ e.jsx("form", { name: r, children: n }) }), ac = Object.assign(ls, {
3658
- TextInput: is,
3659
- NumberInput: ts,
3660
- SelectInput: rs,
3661
- SwitchField: ss,
3662
- SwitchButtonField: cs
3671
+ const ls = ({ children: n, value: t, name: r, changeValue: s, errors: c }) => /* @__PURE__ */ e.jsx(Ve.Provider, { value: { value: t, changeField: s, errors: c }, children: /* @__PURE__ */ e.jsx("form", { name: r, children: n }) }), dc = Object.assign(ls, {
3672
+ TextInput: os,
3673
+ NumberInput: rs,
3674
+ SelectInput: ss,
3675
+ SwitchField: cs,
3676
+ SwitchButtonField: is
3663
3677
  });
3664
3678
  export {
3665
- vs as AddUserIcon,
3666
- Zt as ArrowLeft,
3667
- us as ArrowRight,
3668
- hs as ArrowUp,
3669
- Nr as BaseActionCard,
3670
- Ie as BaseButton,
3671
- Os as BaseDialog,
3672
- hr as BaseMenu,
3673
- jr as BaseRadioButton,
3674
- ut as BaseType,
3675
- be as BasicTemplateDialog,
3676
- Hs as BigContainer,
3677
- st as BottomSheetsUi,
3678
- Xn as Button,
3679
- Yt as Calendar,
3680
- Ps as Card,
3681
- pe as Check,
3682
- $s as Checkbox,
3683
- $n as ChevronDown,
3684
- xr as Chips,
3679
+ gs as AddUserIcon,
3680
+ Ut as ArrowLeft,
3681
+ hs as ArrowRight,
3682
+ fs as ArrowUp,
3683
+ _r as BaseActionCard,
3684
+ Ye as BaseButton,
3685
+ Vs as BaseDialog,
3686
+ fr as BaseMenu,
3687
+ mr as BaseRadioButton,
3688
+ jt as BaseType,
3689
+ Me as BasicTemplateDialog,
3690
+ As as BigContainer,
3691
+ lt as BottomSheetsUi,
3692
+ Jn as Button,
3693
+ Zt as Calendar,
3694
+ Hs as Card,
3695
+ Se as Check,
3696
+ Ts as Checkbox,
3697
+ On as ChevronDown,
3698
+ jr as Chips,
3685
3699
  Rs as CircleInput,
3686
- fn as CircleMinus,
3687
- Kn as CirclePlus,
3688
- Un as Clock,
3689
- Ks as ColorField,
3690
- As as ColumnLayout,
3700
+ Cn as CircleMinus,
3701
+ Qn as CirclePlus,
3702
+ Kn as Clock,
3703
+ qs as ColorField,
3704
+ Is as ColumnLayout,
3691
3705
  Bs as ContentBox,
3692
- Tn as Copy,
3693
- Fn as CopyButton,
3694
- qs as DateField,
3695
- Qs as DayOfWeekField,
3696
- Ae as DialogModal,
3697
- he as Divider,
3698
- sc as EmptyPage,
3699
- Es as FAB,
3700
- At as FilledButton,
3701
- Ht as FilledTotalButton,
3702
- ac as Form,
3703
- Fs as FullScrinTemplateDialog,
3704
- js as GearIcon,
3705
- zs as GridLayout,
3706
- Is as GridLayoutItem,
3707
- ks as Group,
3708
- He as HEXtoRGB,
3709
- ws as HSLtoHSV,
3710
- Ss as HSVtoHSL,
3711
- Pe as HSVtoRGB,
3712
- fs as Home,
3713
- ve as IconButton,
3706
+ Vn as Copy,
3707
+ Hn as CopyButton,
3708
+ Qs as DateField,
3709
+ ec as DayOfWeekField,
3710
+ ze as DialogModal,
3711
+ xe as Divider,
3712
+ cc as EmptyPage,
3713
+ $s as FAB,
3714
+ Bt as FilledButton,
3715
+ It as FilledTotalButton,
3716
+ dc as Form,
3717
+ Ps as FullScrinTemplateDialog,
3718
+ ms as GearIcon,
3719
+ Gs as GridLayout,
3720
+ zs as GridLayoutItem,
3721
+ Ns as Group,
3722
+ Te as HEXtoRGB,
3723
+ Ss as HSLtoHSV,
3724
+ Ms as HSVtoHSL,
3725
+ Be as HSVtoRGB,
3726
+ xs as Home,
3727
+ pe as IconButton,
3714
3728
  Ls as IconButtonMenu,
3715
- cc as JsonContainer,
3716
- Jt as Keyboard,
3717
- Cs as LinkIcon,
3718
- gr as ListContainer,
3719
- pr as ListItem,
3720
- Ns as LogoutIcon,
3721
- rt as Menu,
3722
- Jn as MenuIcon,
3723
- qt as Minus,
3724
- ps as MinusUserIcon,
3725
- xn as ModalTemplate,
3726
- un as MoreHorizontal,
3727
- ec as MoreText,
3728
- Wt as MoreVertical,
3729
- Xs as NavigationBar,
3730
- Us as NavigationDrawer,
3731
- Js as NavigationRail,
3732
- Yr as NumberField,
3733
- ys as OkUserIcon,
3734
- Pt as OutlineButton,
3735
- Gt as Palette,
3736
- Gs as Panel,
3737
- Ut as Pen,
3738
- xs as Plug,
3739
- Kt as Plus,
3740
- Ue as RGBtoHSV,
3741
- Ts as RadioButton,
3742
- Ms as Range,
3743
- _s as Room,
3744
- oc as RunningLine,
3729
+ ic as JsonContainer,
3730
+ qt as Keyboard,
3731
+ vs as LinkIcon,
3732
+ pr as ListContainer,
3733
+ br as ListItem,
3734
+ _s as LogoutIcon,
3735
+ ot as Menu,
3736
+ qn as MenuIcon,
3737
+ er as Minus,
3738
+ bs as MinusUserIcon,
3739
+ vn as ModalTemplate,
3740
+ jn as MoreHorizontal,
3741
+ nc as MoreText,
3742
+ Xt as MoreVertical,
3743
+ Us as NavigationBar,
3744
+ Js as NavigationDrawer,
3745
+ Ks as NavigationRail,
3746
+ Wr as NumberField,
3747
+ ks as OkUserIcon,
3748
+ At as OutlineButton,
3749
+ Wt as Palette,
3750
+ Ys as Panel,
3751
+ Kt as Pen,
3752
+ js as Plug,
3753
+ Qt as Plus,
3754
+ qe as RGBtoHSV,
3755
+ Os as RadioButton,
3756
+ Es as Range,
3757
+ ws as Room,
3758
+ ac as RunningLine,
3745
3759
  ce as ScreenSize,
3746
- Ys as ScrollContainer,
3747
- ic as Search,
3748
- ns as SelectField,
3749
- Vs as SelectionDialog,
3750
- mr as SigmentedButton,
3751
- rc as Slider,
3752
- fr as SmallWindowMenu,
3760
+ Ws as ScrollContainer,
3761
+ oc as Search,
3762
+ ts as SelectField,
3763
+ Ds as SelectionDialog,
3764
+ Cr as SigmentedButton,
3765
+ sc as Slider,
3766
+ xr as SmallWindowMenu,
3753
3767
  lc as Snackbar,
3754
- Cr as Switch,
3755
- Zs as Table,
3756
- Ws as Tabs,
3757
- nc as TextArea,
3758
- ee as TextButton,
3759
- Ds as TextDialog,
3760
- jn as TextField,
3761
- tc as TimeField,
3762
- Jr as TimePicker,
3763
- zt as Trash,
3764
- xe as Typography,
3765
- ms as UnLinkIcon,
3766
- gs as UserIcon,
3767
- Me as X,
3768
- bs as XUserIcon,
3769
- me as getContainerColor,
3770
- Ke as getContainerData,
3771
- nt as getModalWindowCord,
3768
+ vr as Switch,
3769
+ Xs as Table,
3770
+ Zs as Tabs,
3771
+ tc as TextArea,
3772
+ Q as TextButton,
3773
+ Fs as TextDialog,
3774
+ gn as TextField,
3775
+ rc as TimeField,
3776
+ Kr as TimePicker,
3777
+ Yt as Trash,
3778
+ me as Typography,
3779
+ Cs as UnLinkIcon,
3780
+ ps as UserIcon,
3781
+ Oe as X,
3782
+ ys as XUserIcon,
3783
+ ve as getContainerColor,
3784
+ en as getContainerData,
3785
+ ct as getModalWindowCord,
3772
3786
  se as getTextColor,
3773
- er as hexToRgb,
3774
- Kr as map,
3775
- ir as useColor,
3776
- it as useScreenSize,
3777
- ct as useScrollLock,
3778
- zr as СalendarPickers
3787
+ tr as hexToRgb,
3788
+ qr as map,
3789
+ tt as useColor,
3790
+ dt as useScreenSize,
3791
+ at as useScrollLock,
3792
+ Gr as СalendarPickers
3779
3793
  };