@devbonnysid/ui-kit-default 1.0.5 → 1.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as t from "react";
2
- import U, { useMemo as T, useState as z, useRef as A, useEffect as O, useCallback as j, useLayoutEffect as S1, createContext as v2, useContext as w2, memo as z2, forwardRef as _2 } from "react";
2
+ import U, { useMemo as T, useState as z, useRef as A, useEffect as G, useCallback as j, useLayoutEffect as S1, createContext as v2, useContext as w2, memo as z2, forwardRef as _2 } from "react";
3
3
  import { createPortal as $2 } from "react-dom";
4
4
  function e5(e) {
5
5
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
@@ -14,10 +14,10 @@ var V1 = { exports: {} }, f1 = {};
14
14
  * This source code is licensed under the MIT license found in the
15
15
  * LICENSE file in the root directory of this source tree.
16
16
  */
17
- var Q1;
17
+ var X1;
18
18
  function t5() {
19
- if (Q1) return f1;
20
- Q1 = 1;
19
+ if (X1) return f1;
20
+ X1 = 1;
21
21
  var e = Symbol.for("react.transitional.element"), C = Symbol.for("react.fragment");
22
22
  function l(o, n, r) {
23
23
  var c = null;
@@ -46,15 +46,15 @@ var v1 = {};
46
46
  * This source code is licensed under the MIT license found in the
47
47
  * LICENSE file in the root directory of this source tree.
48
48
  */
49
- var X1;
49
+ var z1;
50
50
  function C5() {
51
- return X1 || (X1 = 1, process.env.NODE_ENV !== "production" && (function() {
52
- function e(d) {
53
- if (d == null) return null;
54
- if (typeof d == "function")
55
- return d.$$typeof === D ? null : d.displayName || d.name || null;
56
- if (typeof d == "string") return d;
57
- switch (d) {
51
+ return z1 || (z1 = 1, process.env.NODE_ENV !== "production" && (function() {
52
+ function e(u) {
53
+ if (u == null) return null;
54
+ if (typeof u == "function")
55
+ return u.$$typeof === D ? null : u.displayName || u.name || null;
56
+ if (typeof u == "string") return u;
57
+ switch (u) {
58
58
  case L:
59
59
  return "Fragment";
60
60
  case Z:
@@ -68,141 +68,141 @@ function C5() {
68
68
  case F:
69
69
  return "Activity";
70
70
  }
71
- if (typeof d == "object")
72
- switch (typeof d.tag == "number" && console.error(
71
+ if (typeof u == "object")
72
+ switch (typeof u.tag == "number" && console.error(
73
73
  "Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
74
- ), d.$$typeof) {
74
+ ), u.$$typeof) {
75
75
  case g:
76
76
  return "Portal";
77
77
  case E:
78
- return d.displayName || "Context";
78
+ return u.displayName || "Context";
79
79
  case M:
80
- return (d._context.displayName || "Context") + ".Consumer";
80
+ return (u._context.displayName || "Context") + ".Consumer";
81
81
  case w:
82
- var v = d.render;
83
- return d = d.displayName, d || (d = v.displayName || v.name || "", d = d !== "" ? "ForwardRef(" + d + ")" : "ForwardRef"), d;
82
+ var v = u.render;
83
+ return u = u.displayName, u || (u = v.displayName || v.name || "", u = u !== "" ? "ForwardRef(" + u + ")" : "ForwardRef"), u;
84
84
  case N:
85
- return v = d.displayName || null, v !== null ? v : e(d.type) || "Memo";
85
+ return v = u.displayName || null, v !== null ? v : e(u.type) || "Memo";
86
86
  case y:
87
- v = d._payload, d = d._init;
87
+ v = u._payload, u = u._init;
88
88
  try {
89
- return e(d(v));
89
+ return e(u(v));
90
90
  } catch {
91
91
  }
92
92
  }
93
93
  return null;
94
94
  }
95
- function C(d) {
96
- return "" + d;
95
+ function C(u) {
96
+ return "" + u;
97
97
  }
98
- function l(d) {
98
+ function l(u) {
99
99
  try {
100
- C(d);
100
+ C(u);
101
101
  var v = !1;
102
102
  } catch {
103
103
  v = !0;
104
104
  }
105
105
  if (v) {
106
106
  v = console;
107
- var V = v.error, I = typeof Symbol == "function" && Symbol.toStringTag && d[Symbol.toStringTag] || d.constructor.name || "Object";
107
+ var V = v.error, I = typeof Symbol == "function" && Symbol.toStringTag && u[Symbol.toStringTag] || u.constructor.name || "Object";
108
108
  return V.call(
109
109
  v,
110
110
  "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
111
111
  I
112
- ), C(d);
112
+ ), C(u);
113
113
  }
114
114
  }
115
- function o(d) {
116
- if (d === L) return "<>";
117
- if (typeof d == "object" && d !== null && d.$$typeof === y)
115
+ function o(u) {
116
+ if (u === L) return "<>";
117
+ if (typeof u == "object" && u !== null && u.$$typeof === y)
118
118
  return "<...>";
119
119
  try {
120
- var v = e(d);
120
+ var v = e(u);
121
121
  return v ? "<" + v + ">" : "<...>";
122
122
  } catch {
123
123
  return "<...>";
124
124
  }
125
125
  }
126
126
  function n() {
127
- var d = H.A;
128
- return d === null ? null : d.getOwner();
127
+ var u = H.A;
128
+ return u === null ? null : u.getOwner();
129
129
  }
130
130
  function r() {
131
131
  return Error("react-stack-top-frame");
132
132
  }
133
- function c(d) {
134
- if (B.call(d, "key")) {
135
- var v = Object.getOwnPropertyDescriptor(d, "key").get;
133
+ function c(u) {
134
+ if (B.call(u, "key")) {
135
+ var v = Object.getOwnPropertyDescriptor(u, "key").get;
136
136
  if (v && v.isReactWarning) return !1;
137
137
  }
138
- return d.key !== void 0;
138
+ return u.key !== void 0;
139
139
  }
140
- function s(d, v) {
140
+ function s(u, v) {
141
141
  function V() {
142
142
  Y || (Y = !0, console.error(
143
143
  "%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://react.dev/link/special-props)",
144
144
  v
145
145
  ));
146
146
  }
147
- V.isReactWarning = !0, Object.defineProperty(d, "key", {
147
+ V.isReactWarning = !0, Object.defineProperty(u, "key", {
148
148
  get: V,
149
149
  configurable: !0
150
150
  });
151
151
  }
152
152
  function i() {
153
- var d = e(this.type);
154
- return t1[d] || (t1[d] = !0, console.error(
153
+ var u = e(this.type);
154
+ return t1[u] || (t1[u] = !0, console.error(
155
155
  "Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
156
- )), d = this.props.ref, d !== void 0 ? d : null;
156
+ )), u = this.props.ref, u !== void 0 ? u : null;
157
157
  }
158
- function S(d, v, V, I, $, C1) {
158
+ function d(u, v, V, I, $, C1) {
159
159
  var b = V.ref;
160
- return d = {
160
+ return u = {
161
161
  $$typeof: f,
162
- type: d,
162
+ type: u,
163
163
  key: v,
164
164
  props: V,
165
165
  _owner: I
166
- }, (b !== void 0 ? b : null) !== null ? Object.defineProperty(d, "ref", {
166
+ }, (b !== void 0 ? b : null) !== null ? Object.defineProperty(u, "ref", {
167
167
  enumerable: !1,
168
168
  get: i
169
- }) : Object.defineProperty(d, "ref", { enumerable: !1, value: null }), d._store = {}, Object.defineProperty(d._store, "validated", {
169
+ }) : Object.defineProperty(u, "ref", { enumerable: !1, value: null }), u._store = {}, Object.defineProperty(u._store, "validated", {
170
170
  configurable: !1,
171
171
  enumerable: !1,
172
172
  writable: !0,
173
173
  value: 0
174
- }), Object.defineProperty(d, "_debugInfo", {
174
+ }), Object.defineProperty(u, "_debugInfo", {
175
175
  configurable: !1,
176
176
  enumerable: !1,
177
177
  writable: !0,
178
178
  value: null
179
- }), Object.defineProperty(d, "_debugStack", {
179
+ }), Object.defineProperty(u, "_debugStack", {
180
180
  configurable: !1,
181
181
  enumerable: !1,
182
182
  writable: !0,
183
183
  value: $
184
- }), Object.defineProperty(d, "_debugTask", {
184
+ }), Object.defineProperty(u, "_debugTask", {
185
185
  configurable: !1,
186
186
  enumerable: !1,
187
187
  writable: !0,
188
188
  value: C1
189
- }), Object.freeze && (Object.freeze(d.props), Object.freeze(d)), d;
189
+ }), Object.freeze && (Object.freeze(u.props), Object.freeze(u)), u;
190
190
  }
191
- function m(d, v, V, I, $, C1) {
191
+ function p(u, v, V, I, $, C1) {
192
192
  var b = v.children;
193
193
  if (b !== void 0)
194
194
  if (I)
195
195
  if (R(b)) {
196
196
  for (I = 0; I < b.length; I++)
197
- u(b[I]);
197
+ S(b[I]);
198
198
  Object.freeze && Object.freeze(b);
199
199
  } else
200
200
  console.error(
201
201
  "React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
202
202
  );
203
- else u(b);
203
+ else S(b);
204
204
  if (B.call(v, "key")) {
205
- b = e(d);
205
+ b = e(u);
206
206
  var X = Object.keys(v).filter(function(E1) {
207
207
  return E1 !== "key";
208
208
  });
@@ -226,9 +226,9 @@ React keys must be passed directly to JSX without using spread:
226
226
  } else V = v;
227
227
  return b && s(
228
228
  V,
229
- typeof d == "function" ? d.displayName || d.name || "Unknown" : d
230
- ), S(
231
- d,
229
+ typeof u == "function" ? u.displayName || u.name || "Unknown" : u
230
+ ), d(
231
+ u,
232
232
  b,
233
233
  V,
234
234
  n(),
@@ -236,50 +236,50 @@ React keys must be passed directly to JSX without using spread:
236
236
  C1
237
237
  );
238
238
  }
239
- function u(d) {
240
- p(d) ? d._store && (d._store.validated = 1) : typeof d == "object" && d !== null && d.$$typeof === y && (d._payload.status === "fulfilled" ? p(d._payload.value) && d._payload.value._store && (d._payload.value._store.validated = 1) : d._store && (d._store.validated = 1));
239
+ function S(u) {
240
+ m(u) ? u._store && (u._store.validated = 1) : typeof u == "object" && u !== null && u.$$typeof === y && (u._payload.status === "fulfilled" ? m(u._payload.value) && u._payload.value._store && (u._payload.value._store.validated = 1) : u._store && (u._store.validated = 1));
241
241
  }
242
- function p(d) {
243
- return typeof d == "object" && d !== null && d.$$typeof === f;
242
+ function m(u) {
243
+ return typeof u == "object" && u !== null && u.$$typeof === f;
244
244
  }
245
245
  var a = U, f = Symbol.for("react.transitional.element"), g = Symbol.for("react.portal"), L = Symbol.for("react.fragment"), h = Symbol.for("react.strict_mode"), Z = Symbol.for("react.profiler"), M = Symbol.for("react.consumer"), E = Symbol.for("react.context"), w = Symbol.for("react.forward_ref"), J = Symbol.for("react.suspense"), x = Symbol.for("react.suspense_list"), N = Symbol.for("react.memo"), y = Symbol.for("react.lazy"), F = Symbol.for("react.activity"), D = Symbol.for("react.client.reference"), H = a.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, B = Object.prototype.hasOwnProperty, R = Array.isArray, K = console.createTask ? console.createTask : function() {
246
246
  return null;
247
247
  };
248
248
  a = {
249
- react_stack_bottom_frame: function(d) {
250
- return d();
249
+ react_stack_bottom_frame: function(u) {
250
+ return u();
251
251
  }
252
252
  };
253
253
  var Y, t1 = {}, r1 = a.react_stack_bottom_frame.bind(
254
254
  a,
255
255
  r
256
256
  )(), d1 = K(o(r)), u1 = {};
257
- v1.Fragment = L, v1.jsx = function(d, v, V) {
257
+ v1.Fragment = L, v1.jsx = function(u, v, V) {
258
258
  var I = 1e4 > H.recentlyCreatedOwnerStacks++;
259
- return m(
260
- d,
259
+ return p(
260
+ u,
261
261
  v,
262
262
  V,
263
263
  !1,
264
264
  I ? Error("react-stack-top-frame") : r1,
265
- I ? K(o(d)) : d1
265
+ I ? K(o(u)) : d1
266
266
  );
267
- }, v1.jsxs = function(d, v, V) {
267
+ }, v1.jsxs = function(u, v, V) {
268
268
  var I = 1e4 > H.recentlyCreatedOwnerStacks++;
269
- return m(
270
- d,
269
+ return p(
270
+ u,
271
271
  v,
272
272
  V,
273
273
  !0,
274
274
  I ? Error("react-stack-top-frame") : r1,
275
- I ? K(o(d)) : d1
275
+ I ? K(o(u)) : d1
276
276
  );
277
277
  };
278
278
  })()), v1;
279
279
  }
280
- var z1;
280
+ var _1;
281
281
  function l5() {
282
- return z1 || (z1 = 1, process.env.NODE_ENV === "production" ? V1.exports = t5() : V1.exports = C5()), V1.exports;
282
+ return _1 || (_1 = 1, process.env.NODE_ENV === "production" ? V1.exports = t5() : V1.exports = C5()), V1.exports;
283
283
  }
284
284
  var k = l5(), H1 = { exports: {} };
285
285
  /*!
@@ -287,9 +287,9 @@ var k = l5(), H1 = { exports: {} };
287
287
  Licensed under the MIT License (MIT), see
288
288
  http://jedwatson.github.io/classnames
289
289
  */
290
- var _1;
290
+ var $1;
291
291
  function n5() {
292
- return _1 || (_1 = 1, (function(e) {
292
+ return $1 || ($1 = 1, (function(e) {
293
293
  (function() {
294
294
  var C = {}.hasOwnProperty;
295
295
  function l() {
@@ -321,7 +321,7 @@ function n5() {
321
321
  })(H1)), H1.exports;
322
322
  }
323
323
  var r5 = n5();
324
- const o5 = /* @__PURE__ */ e5(r5), q = (e) => o5.bind(e), $1 = (e, C, l) => Math.min(Math.max(e, C), l);
324
+ const o5 = /* @__PURE__ */ e5(r5), q = (e) => o5.bind(e), e2 = (e, C, l) => Math.min(Math.max(e, C), l);
325
325
  var J2 = /* @__PURE__ */ ((e) => (e.TOP = "top", e.RIGHT = "right", e.LEFT = "left", e.BOTTOM = "bottom", e))(J2 || {}), c5 = /* @__PURE__ */ ((e) => (e.START = "start", e.CENTER = "center", e.END = "end", e))(c5 || {});
326
326
  const s5 = ({
327
327
  placementSide: e,
@@ -332,12 +332,12 @@ const s5 = ({
332
332
  isPortal: r
333
333
  }) => {
334
334
  let c, s;
335
- const i = e === void 0, S = C === void 0, m = window.innerWidth, u = window.innerHeight, p = o.getBoundingClientRect(), a = n.getBoundingClientRect(), f = p.height + l, g = a.top, L = u - a.bottom;
335
+ const i = e === void 0, d = C === void 0, p = window.innerWidth, S = window.innerHeight, m = o.getBoundingClientRect(), a = n.getBoundingClientRect(), f = m.height + l, g = a.top, L = S - a.bottom;
336
336
  i ? L >= f ? c = "bottom" : g >= f ? c = "top" : c = "bottom" : c = e;
337
- const h = c === "top" || c === "bottom", Z = h ? m - a.left : m - a.right, M = h ? a.right : a.left, E = h ? p.width : p.width + l;
338
- S ? Z >= E ? s = "start" : M >= E ? s = "end" : s = "center" : s = C;
337
+ const h = c === "top" || c === "bottom", Z = h ? p - a.left : p - a.right, M = h ? a.right : a.left, E = h ? m.width : m.width + l;
338
+ d ? Z >= E ? s = "start" : M >= E ? s = "end" : s = "center" : s = C;
339
339
  let w = 0, J = 0;
340
- return h ? (c === "top" && (r ? J = a.y - p.height - l : J = -a.height - l - p.height), c === "bottom" && (r ? J = a.y + a.height + l : J = a.height + l), s === "start" && (r ? w = a.x : w = 0), s === "end" && (r ? w = a.x + a.width - p.width : w = a.width), s === "center" && (r ? w = a.x + a.width / 2 - p.width / 2 : w = a.width / 2 - p.width / 2)) : (c === "left" && (r ? w = a.y - p.width - l : w = -p.width - l), c === "right" && (r ? w = a.y + a.width + l : w = a.width + l), s === "start" && (r ? J = a.y : J = 0), s === "end" && (r ? J = a.y + a.height - p.height : J = a.height), s === "center" && (r ? J = a.y + a.height / 2 - p.height / 2 : J = a.height / 2 - p.height / 2)), J = $1(J, 0, u - p.height), w = $1(w, 0, m - p.width), {
340
+ return h ? (c === "top" && (r ? J = a.y - m.height - l : J = -a.height - l - m.height), c === "bottom" && (r ? J = a.y + a.height + l : J = a.height + l), s === "start" && (r ? w = a.x : w = 0), s === "end" && (r ? w = a.x + a.width - m.width : w = a.width), s === "center" && (r ? w = a.x + a.width / 2 - m.width / 2 : w = a.width / 2 - m.width / 2)) : (c === "left" && (r ? w = a.y - m.width - l : w = -m.width - l), c === "right" && (r ? w = a.y + a.width + l : w = a.width + l), s === "start" && (r ? J = a.y : J = 0), s === "end" && (r ? J = a.y + a.height - m.height : J = a.height), s === "center" && (r ? J = a.y + a.height / 2 - m.height / 2 : J = a.height / 2 - m.height / 2)), J = e2(J, 0, S - m.height), w = e2(w, 0, p - m.width), {
341
341
  x: w,
342
342
  y: J,
343
343
  side: c,
@@ -365,12 +365,12 @@ const s5 = ({
365
365
  const o = C?.["content-type"] || C?.["Content-Type"] || "application/octet-stream", n = C?.["content-disposition"] || C?.["Content-Disposition"];
366
366
  let r = l;
367
367
  if (typeof n == "string") {
368
- const m = /filename\*?=(?:UTF-8''|")?([^";]+)/i.exec(n);
369
- if (m?.[1])
368
+ const p = /filename\*?=(?:UTF-8''|")?([^";]+)/i.exec(n);
369
+ if (p?.[1])
370
370
  try {
371
- r = decodeURIComponent(m[1].replace(/"/g, ""));
371
+ r = decodeURIComponent(p[1].replace(/"/g, ""));
372
372
  } catch {
373
- r = m[1].replace(/"/g, "");
373
+ r = p[1].replace(/"/g, "");
374
374
  }
375
375
  }
376
376
  let c;
@@ -380,18 +380,18 @@ const s5 = ({
380
380
  c = new Blob([e], { type: o });
381
381
  else if (typeof e == "string")
382
382
  if (/^[A-Za-z0-9+/=\r\n]+$/.test(e) && e.length % 4 === 0) {
383
- const u = atob(e.replace(/\s+/g, "")), p = new Uint8Array(u.length);
384
- for (let a = 0; a < u.length; a++) p[a] = u.charCodeAt(a);
385
- c = new Blob([p], { type: o });
383
+ const S = atob(e.replace(/\s+/g, "")), m = new Uint8Array(S.length);
384
+ for (let a = 0; a < S.length; a++) m[a] = S.charCodeAt(a);
385
+ c = new Blob([m], { type: o });
386
386
  } else
387
387
  c = new Blob([e], { type: o });
388
388
  else
389
389
  throw new TypeError("Unexpected data type for download");
390
- const s = window.URL, i = document.createElement("a"), S = s.createObjectURL(c);
390
+ const s = window.URL, i = document.createElement("a"), d = s.createObjectURL(c);
391
391
  try {
392
- i.href = S, i.target = "_blank", i.download = r, i.style.display = "none", document.body.appendChild(i), i.click();
392
+ i.href = d, i.target = "_blank", i.download = r, i.style.display = "none", document.body.appendChild(i), i.click();
393
393
  } finally {
394
- i.remove(), s.revokeObjectURL(S);
394
+ i.remove(), s.revokeObjectURL(d);
395
395
  }
396
396
  }, V3 = (e, C = 2) => new Intl.NumberFormat("en-US", {
397
397
  minimumFractionDigits: C,
@@ -410,12 +410,12 @@ function x3(e, C, l = 1, o = 1) {
410
410
  const a = l1(1, s), f = l1(e - s + 1, e);
411
411
  return [...a, "…", ...f];
412
412
  }
413
- const i = Math.max(C - o, l + 1), S = Math.min(C + o, e - l), m = [];
414
- m.push(...r);
415
- const u = i - r[r.length - 1];
416
- u === 2 ? m.push(i - 1) : u > 2 && m.push("…"), m.push(...l1(i, S));
417
- const p = c[0] - S;
418
- return p === 2 ? m.push(S + 1) : p > 2 && m.push("…"), m.push(...c), m;
413
+ const i = Math.max(C - o, l + 1), d = Math.min(C + o, e - l), p = [];
414
+ p.push(...r);
415
+ const S = i - r[r.length - 1];
416
+ S === 2 ? p.push(i - 1) : S > 2 && p.push("…"), p.push(...l1(i, d));
417
+ const m = c[0] - d;
418
+ return m === 2 ? p.push(d + 1) : m > 2 && p.push("…"), p.push(...c), p;
419
419
  }
420
420
  const d5 = () => {
421
421
  if (typeof window < "u") {
@@ -457,7 +457,7 @@ const d5 = () => {
457
457
  count: x5,
458
458
  loader: Z5,
459
459
  "tooltip-container": "Button-module__tooltip-container___-kd0v"
460
- }, M5 = q(g2), e2 = ({ icon: e }) => typeof e == "string" ? /* @__PURE__ */ k.jsx(_, { type: e, className: M5("icon") }) : e, x1 = q(g2);
460
+ }, M5 = q(g2), t2 = ({ icon: e }) => typeof e == "string" ? /* @__PURE__ */ k.jsx(_, { type: e, className: M5("icon") }) : e, x1 = q(g2);
461
461
  var L2 = /* @__PURE__ */ ((e) => (e.PRIMARY = "primary", e.SECONDARY = "secondary", e.TERTIARY = "tertiary", e.QUATERNARY = "quaternary", e))(L2 || {}), E2 = /* @__PURE__ */ ((e) => (e.LARGE = "large", e.MEDIUM = "medium", e.SMALL = "small", e))(E2 || {});
462
462
  const R5 = ({
463
463
  disabled: e,
@@ -469,10 +469,10 @@ const R5 = ({
469
469
  variant: c = "primary",
470
470
  prefix: s,
471
471
  suffix: i,
472
- size: S = "large",
473
- isLoading: m,
474
- children: u,
475
- count: p,
472
+ size: d = "large",
473
+ isLoading: p,
474
+ children: S,
475
+ count: m,
476
476
  isActive: a,
477
477
  hint: f,
478
478
  ref: g,
@@ -481,30 +481,30 @@ const R5 = ({
481
481
  "button",
482
482
  {
483
483
  ref: g,
484
- className: x1(l, "button", c, S, {
484
+ className: x1(l, "button", c, d, {
485
485
  active: a,
486
486
  fullWidth: o,
487
- isLoading: m
487
+ isLoading: p
488
488
  }),
489
- disabled: L1(e) ? m : e,
489
+ disabled: L1(e) ? p : e,
490
490
  onClick: C,
491
491
  type: n,
492
492
  ...L,
493
493
  children: [
494
- m && /* @__PURE__ */ k.jsx(W1, { size: k1.MEDIUM, className: x1("loader") }),
495
- s && /* @__PURE__ */ k.jsx(e2, { icon: s }),
496
- (r || u) && /* @__PURE__ */ k.jsx("span", { className: x1("text"), children: r || u }),
497
- i && /* @__PURE__ */ k.jsx(e2, { icon: i }),
498
- !!p && /* @__PURE__ */ k.jsx("span", { className: x1("count"), children: p })
494
+ p && /* @__PURE__ */ k.jsx(P1, { size: k1.MEDIUM, className: x1("loader") }),
495
+ s && /* @__PURE__ */ k.jsx(t2, { icon: s }),
496
+ (r || S) && /* @__PURE__ */ k.jsx("span", { className: x1("text"), children: r || S }),
497
+ i && /* @__PURE__ */ k.jsx(t2, { icon: i }),
498
+ !!m && /* @__PURE__ */ k.jsx("span", { className: x1("count"), children: m })
499
499
  ]
500
500
  }
501
501
  ), H5 = "Caption-module__icon___nGwO6", y5 = "Caption-module__hint___Rjvi-", I5 = "Caption-module__caption___rfvpO", U5 = {
502
502
  icon: H5,
503
503
  hint: y5,
504
504
  caption: I5
505
- }, t2 = q(U5), O1 = ({ caption: e, hint: C }) => /* @__PURE__ */ k.jsxs("div", { className: t2("caption"), children: [
505
+ }, C2 = q(U5), q1 = ({ caption: e, hint: C }) => /* @__PURE__ */ k.jsxs("div", { className: C2("caption"), children: [
506
506
  e,
507
- C && /* @__PURE__ */ k.jsx(P1, { text: C, placementSide: J2.TOP, children: /* @__PURE__ */ k.jsx(_, { type: "circle-help", className: t2("icon", "hint") }) })
507
+ C && /* @__PURE__ */ k.jsx(Q1, { text: C, placementSide: J2.TOP, children: /* @__PURE__ */ k.jsx(_, { type: "circle-help", className: C2("icon", "hint") }) })
508
508
  ] }), N5 = "Icon-module__icon___J5RH5", K5 = "Icon-module__small___n0yvX", T5 = "Icon-module__medium___r6TsR", b5 = "Icon-module__large___H12p-", B5 = {
509
509
  icon: N5,
510
510
  small: K5,
@@ -699,11 +699,11 @@ const M7 = q(B5), _ = ({
699
699
  error: O7,
700
700
  input: q7
701
701
  };
702
- var Y7 = /* @__PURE__ */ ((e) => (e.LARGE = "LARGE", e.MEDIUM = "MEDIUM", e))(Y7 || {}), B1 = /* @__PURE__ */ ((e) => (e.MARKED = "MARKED", e.MIXED = "MIXED", e))(B1 || {}), h2 = /* @__PURE__ */ ((e) => (e.LEFT = "left", e.RIGHT = "right", e))(h2 || {});
702
+ var Y7 = /* @__PURE__ */ ((e) => (e.LARGE = "LARGE", e.MEDIUM = "MEDIUM", e))(Y7 || {}), A1 = /* @__PURE__ */ ((e) => (e.MARKED = "MARKED", e.MIXED = "MIXED", e))(A1 || {}), h2 = /* @__PURE__ */ ((e) => (e.LEFT = "left", e.RIGHT = "right", e))(h2 || {});
703
703
  const n1 = q(F7), D7 = {
704
704
  MARKED: "check",
705
705
  MIXED: "minus"
706
- }, q1 = ({
706
+ }, F1 = ({
707
707
  isError: e,
708
708
  errorText: C,
709
709
  variant: l = "MARKED",
@@ -713,17 +713,17 @@ const n1 = q(F7), D7 = {
713
713
  onChange: c,
714
714
  onChangeValue: s,
715
715
  caption: i,
716
- captionPosition: S = "right",
717
- size: m = "LARGE",
718
- onFocus: u,
719
- onBlur: p,
716
+ captionPosition: d = "right",
717
+ size: p = "LARGE",
718
+ onFocus: S,
719
+ onBlur: m,
720
720
  onKeyDown: a,
721
721
  ...f
722
722
  }) => {
723
723
  const [g, L] = z(!1), h = (y) => {
724
- L(!0), u?.(y);
724
+ L(!0), S?.(y);
725
725
  }, Z = (y) => {
726
- L(!1), p?.(y);
726
+ L(!1), m?.(y);
727
727
  }, M = (y) => y.stopPropagation(), E = () => {
728
728
  o || s?.(!r);
729
729
  }, w = (y) => {
@@ -732,13 +732,13 @@ const n1 = q(F7), D7 = {
732
732
  s?.(y.target.checked), c?.(y);
733
733
  }, x = T(() => /* @__PURE__ */ k.jsx(_, { type: D7[l], className: n1("icon", { hasValue: !!r }) }), [l, r]), N = T(() => {
734
734
  if (i || C)
735
- return /* @__PURE__ */ k.jsxs("div", { className: n1("textContainer", m), children: [
735
+ return /* @__PURE__ */ k.jsxs("div", { className: n1("textContainer", p), children: [
736
736
  i && /* @__PURE__ */ k.jsx("div", { className: n1("caption"), children: i || n }),
737
737
  e && C && /* @__PURE__ */ k.jsx("div", { className: n1("error"), children: C })
738
738
  ] });
739
- }, [i, C, e, n, m]);
740
- return /* @__PURE__ */ k.jsxs("label", { className: n1("wrapper", m, { disabled: o, isError: e, isActive: r }), onClick: E, children: [
741
- S === "left" && N,
739
+ }, [i, C, e, n, p]);
740
+ return /* @__PURE__ */ k.jsxs("label", { className: n1("wrapper", p, { disabled: o, isError: e, isActive: r }), onClick: E, children: [
741
+ d === "left" && N,
742
742
  /* @__PURE__ */ k.jsx("div", { className: n1("checkboxWrapper"), children: /* @__PURE__ */ k.jsxs("div", { className: n1("checkbox", { isFocused: g }), children: [
743
743
  x,
744
744
  /* @__PURE__ */ k.jsx(
@@ -757,12 +757,12 @@ const n1 = q(F7), D7 = {
757
757
  }
758
758
  )
759
759
  ] }) }),
760
- S === "right" && N
760
+ d === "right" && N
761
761
  ] });
762
762
  };
763
- var W7 = (e) => e.type === "checkbox", J1 = (e) => e instanceof Date, F1 = (e) => e == null;
763
+ var W7 = (e) => e.type === "checkbox", J1 = (e) => e instanceof Date, Y1 = (e) => e == null;
764
764
  const V2 = (e) => typeof e == "object";
765
- var s1 = (e) => !F1(e) && !Array.isArray(e) && V2(e) && !J1(e), P7 = (e) => s1(e) && e.target ? W7(e.target) ? e.target.checked : e.target.value : e, Q7 = (e) => e.substring(0, e.search(/\.\d+(\.|$)/)) || e, X7 = (e, C) => e.has(Q7(C)), z7 = (e) => {
765
+ var s1 = (e) => !Y1(e) && !Array.isArray(e) && V2(e) && !J1(e), P7 = (e) => s1(e) && e.target ? W7(e.target) ? e.target.checked : e.target.value : e, Q7 = (e) => e.substring(0, e.search(/\.\d+(\.|$)/)) || e, X7 = (e, C) => e.has(Q7(C)), z7 = (e) => {
766
766
  const C = e.constructor && e.constructor.prototype;
767
767
  return s1(C) && C.hasOwnProperty("isPrototypeOf");
768
768
  }, _7 = typeof window < "u" && typeof window.HTMLElement < "u" && typeof document < "u";
@@ -781,36 +781,36 @@ function x2(e) {
781
781
  return e;
782
782
  return C;
783
783
  }
784
- var Z2 = (e) => /^\w*$/.test(e), A1 = (e) => e === void 0, $7 = (e) => Array.isArray(e) ? e.filter(Boolean) : [], M2 = (e) => $7(e.replace(/["|']|\]/g, "").split(/\.|\[/)), W = (e, C, l) => {
784
+ var Z2 = (e) => /^\w*$/.test(e), j1 = (e) => e === void 0, $7 = (e) => Array.isArray(e) ? e.filter(Boolean) : [], M2 = (e) => $7(e.replace(/["|']|\]/g, "").split(/\.|\[/)), W = (e, C, l) => {
785
785
  if (!C || !s1(e))
786
786
  return l;
787
- const o = (Z2(C) ? [C] : M2(C)).reduce((n, r) => F1(n) ? n : n[r], e);
788
- return A1(o) || o === e ? A1(e[C]) ? l : e[C] : o;
789
- }, y1 = (e) => typeof e == "boolean", C2 = (e, C, l) => {
787
+ const o = (Z2(C) ? [C] : M2(C)).reduce((n, r) => Y1(n) ? n : n[r], e);
788
+ return j1(o) || o === e ? j1(e[C]) ? l : e[C] : o;
789
+ }, y1 = (e) => typeof e == "boolean", l2 = (e, C, l) => {
790
790
  let o = -1;
791
791
  const n = Z2(C) ? [C] : M2(C), r = n.length, c = r - 1;
792
792
  for (; ++o < r; ) {
793
793
  const s = n[o];
794
794
  let i = l;
795
795
  if (o !== c) {
796
- const S = e[s];
797
- i = s1(S) || Array.isArray(S) ? S : isNaN(+n[o + 1]) ? {} : [];
796
+ const d = e[s];
797
+ i = s1(d) || Array.isArray(d) ? d : isNaN(+n[o + 1]) ? {} : [];
798
798
  }
799
799
  if (s === "__proto__" || s === "constructor" || s === "prototype")
800
800
  return;
801
801
  e[s] = i, e = e[s];
802
802
  }
803
803
  };
804
- const l2 = {
804
+ const n2 = {
805
805
  BLUR: "blur",
806
806
  CHANGE: "change"
807
- }, n2 = {
807
+ }, r2 = {
808
808
  all: "all"
809
- }, Y1 = U.createContext(null);
810
- Y1.displayName = "HookFormContext";
811
- const a1 = () => U.useContext(Y1), e0 = (e) => {
809
+ }, D1 = U.createContext(null);
810
+ D1.displayName = "HookFormContext";
811
+ const a1 = () => U.useContext(D1), e0 = (e) => {
812
812
  const { children: C, ...l } = e;
813
- return U.createElement(Y1.Provider, { value: l }, C);
813
+ return U.createElement(D1.Provider, { value: l }, C);
814
814
  };
815
815
  var t0 = (e, C, l, o = !0) => {
816
816
  const n = {
@@ -820,7 +820,7 @@ var t0 = (e, C, l, o = !0) => {
820
820
  Object.defineProperty(n, r, {
821
821
  get: () => {
822
822
  const c = r;
823
- return C._proxyFormState[c] !== n2.all && (C._proxyFormState[c] = !o || n2.all), l && (l[c] = !0), e[c];
823
+ return C._proxyFormState[c] !== r2.all && (C._proxyFormState[c] = !o || r2.all), l && (l[c] = !0), e[c];
824
824
  }
825
825
  });
826
826
  return n;
@@ -841,19 +841,19 @@ function C0(e) {
841
841
  name: n,
842
842
  formState: i.current,
843
843
  exact: r,
844
- callback: (S) => {
844
+ callback: (d) => {
845
845
  !o && s({
846
846
  ...l._formState,
847
- ...S
847
+ ...d
848
848
  });
849
849
  }
850
850
  }), [n, o, r]), U.useEffect(() => {
851
851
  i.current.isValid && l._setValid(!0);
852
852
  }, [l]), U.useMemo(() => t0(c, l, i.current, !1), [c, l]);
853
853
  }
854
- var l0 = (e) => typeof e == "string", n0 = (e, C, l, o, n) => l0(e) ? W(l, e, n) : Array.isArray(e) ? e.map((r) => W(l, r)) : l, r2 = (e) => F1(e) || !V2(e);
854
+ var l0 = (e) => typeof e == "string", n0 = (e, C, l, o, n) => l0(e) ? W(l, e, n) : Array.isArray(e) ? e.map((r) => W(l, r)) : l, o2 = (e) => Y1(e) || !V2(e);
855
855
  function H2(e, C, l = /* @__PURE__ */ new WeakSet()) {
856
- if (r2(e) || r2(C))
856
+ if (o2(e) || o2(C))
857
857
  return e === C;
858
858
  if (J1(e) && J1(C))
859
859
  return e.getTime() === C.getTime();
@@ -876,9 +876,9 @@ function H2(e, C, l = /* @__PURE__ */ new WeakSet()) {
876
876
  return !0;
877
877
  }
878
878
  function r0(e) {
879
- const C = a1(), { control: l = C.control, name: o, defaultValue: n, disabled: r, exact: c, compute: s } = e || {}, i = U.useRef(n), S = U.useRef(s), m = U.useRef(void 0);
880
- S.current = s;
881
- const u = U.useMemo(() => l._getWatch(o, i.current), [l, o]), [p, a] = U.useState(S.current ? S.current(u) : u);
879
+ const C = a1(), { control: l = C.control, name: o, defaultValue: n, disabled: r, exact: c, compute: s } = e || {}, i = U.useRef(n), d = U.useRef(s), p = U.useRef(void 0);
880
+ d.current = s;
881
+ const S = U.useMemo(() => l._getWatch(o, i.current), [l, o]), [m, a] = U.useState(d.current ? d.current(S) : S);
882
882
  return R2(() => l._subscribe({
883
883
  name: o,
884
884
  formState: {
@@ -888,64 +888,64 @@ function r0(e) {
888
888
  callback: (f) => {
889
889
  if (!r) {
890
890
  const g = n0(o, l._names, f.values || l._formValues, !1, i.current);
891
- if (S.current) {
892
- const L = S.current(g);
893
- H2(L, m.current) || (a(L), m.current = L);
891
+ if (d.current) {
892
+ const L = d.current(g);
893
+ H2(L, p.current) || (a(L), p.current = L);
894
894
  } else
895
895
  a(g);
896
896
  }
897
897
  }
898
- }), [l, r, o, c]), U.useEffect(() => l._removeUnmounted()), p;
898
+ }), [l, r, o, c]), U.useEffect(() => l._removeUnmounted()), m;
899
899
  }
900
900
  function R1(e) {
901
- const C = a1(), { name: l, disabled: o, control: n = C.control, shouldUnregister: r, defaultValue: c } = e, s = X7(n._names.array, l), i = U.useMemo(() => W(n._formValues, l, W(n._defaultValues, l, c)), [n, l, c]), S = r0({
901
+ const C = a1(), { name: l, disabled: o, control: n = C.control, shouldUnregister: r, defaultValue: c } = e, s = X7(n._names.array, l), i = U.useMemo(() => W(n._formValues, l, W(n._defaultValues, l, c)), [n, l, c]), d = r0({
902
902
  control: n,
903
903
  name: l,
904
904
  defaultValue: i,
905
905
  exact: !0
906
- }), m = C0({
906
+ }), p = C0({
907
907
  control: n,
908
908
  name: l,
909
909
  exact: !0
910
- }), u = U.useRef(e), p = U.useRef(void 0), a = U.useRef(n.register(l, {
910
+ }), S = U.useRef(e), m = U.useRef(void 0), a = U.useRef(n.register(l, {
911
911
  ...e.rules,
912
- value: S,
912
+ value: d,
913
913
  ...y1(e.disabled) ? { disabled: e.disabled } : {}
914
914
  }));
915
- u.current = e;
915
+ S.current = e;
916
916
  const f = U.useMemo(() => Object.defineProperties({}, {
917
917
  invalid: {
918
918
  enumerable: !0,
919
- get: () => !!W(m.errors, l)
919
+ get: () => !!W(p.errors, l)
920
920
  },
921
921
  isDirty: {
922
922
  enumerable: !0,
923
- get: () => !!W(m.dirtyFields, l)
923
+ get: () => !!W(p.dirtyFields, l)
924
924
  },
925
925
  isTouched: {
926
926
  enumerable: !0,
927
- get: () => !!W(m.touchedFields, l)
927
+ get: () => !!W(p.touchedFields, l)
928
928
  },
929
929
  isValidating: {
930
930
  enumerable: !0,
931
- get: () => !!W(m.validatingFields, l)
931
+ get: () => !!W(p.validatingFields, l)
932
932
  },
933
933
  error: {
934
934
  enumerable: !0,
935
- get: () => W(m.errors, l)
935
+ get: () => W(p.errors, l)
936
936
  }
937
- }), [m, l]), g = U.useCallback((M) => a.current.onChange({
937
+ }), [p, l]), g = U.useCallback((M) => a.current.onChange({
938
938
  target: {
939
939
  value: P7(M),
940
940
  name: l
941
941
  },
942
- type: l2.CHANGE
942
+ type: n2.CHANGE
943
943
  }), [l]), L = U.useCallback(() => a.current.onBlur({
944
944
  target: {
945
945
  value: W(n._formValues, l),
946
946
  name: l
947
947
  },
948
- type: l2.BLUR
948
+ type: n2.BLUR
949
949
  }), [l, n._formValues]), h = U.useCallback((M) => {
950
950
  const E = W(n._fields, l);
951
951
  E && M && (E._f.ref = {
@@ -956,27 +956,27 @@ function R1(e) {
956
956
  });
957
957
  }, [n._fields, l]), Z = U.useMemo(() => ({
958
958
  name: l,
959
- value: S,
960
- ...y1(o) || m.disabled ? { disabled: m.disabled || o } : {},
959
+ value: d,
960
+ ...y1(o) || p.disabled ? { disabled: p.disabled || o } : {},
961
961
  onChange: g,
962
962
  onBlur: L,
963
963
  ref: h
964
- }), [l, o, m.disabled, g, L, h, S]);
964
+ }), [l, o, p.disabled, g, L, h, d]);
965
965
  return U.useEffect(() => {
966
- const M = n._options.shouldUnregister || r, E = p.current;
966
+ const M = n._options.shouldUnregister || r, E = m.current;
967
967
  E && E !== l && !s && n.unregister(E), n.register(l, {
968
- ...u.current.rules,
969
- ...y1(u.current.disabled) ? { disabled: u.current.disabled } : {}
968
+ ...S.current.rules,
969
+ ...y1(S.current.disabled) ? { disabled: S.current.disabled } : {}
970
970
  });
971
971
  const w = (J, x) => {
972
972
  const N = W(n._fields, J);
973
973
  N && N._f && (N._f.mount = x);
974
974
  };
975
975
  if (w(l, !0), M) {
976
- const J = x2(W(n._options.defaultValues, l, u.current.defaultValue));
977
- C2(n._defaultValues, l, J), A1(W(n._formValues, l)) && C2(n._formValues, l, J);
976
+ const J = x2(W(n._options.defaultValues, l, S.current.defaultValue));
977
+ l2(n._defaultValues, l, J), j1(W(n._formValues, l)) && l2(n._formValues, l, J);
978
978
  }
979
- return !s && n.register(l), p.current = l, () => {
979
+ return !s && n.register(l), m.current = l, () => {
980
980
  (s ? M && !n._state.action : M) ? n.unregister(l) : w(l, !1);
981
981
  };
982
982
  }, [l, n, s, r]), U.useEffect(() => {
@@ -986,9 +986,9 @@ function R1(e) {
986
986
  });
987
987
  }, [o, l, n]), U.useMemo(() => ({
988
988
  field: Z,
989
- formState: m,
989
+ formState: p,
990
990
  fieldState: f
991
- }), [Z, m, f]);
991
+ }), [Z, p, f]);
992
992
  }
993
993
  const y3 = ({
994
994
  name: e,
@@ -1000,19 +1000,19 @@ const y3 = ({
1000
1000
  onChangeValue: c,
1001
1001
  ...s
1002
1002
  }) => {
1003
- const { control: i, clearErrors: S } = a1(), { fieldState: m, field: u } = R1({ name: e, rules: C, control: i }), p = A(r), a = (f) => {
1004
- c && c(f), u.onChange(f);
1003
+ const { control: i, clearErrors: d } = a1(), { fieldState: p, field: S } = R1({ name: e, rules: C, control: i }), m = A(r), a = (f) => {
1004
+ c && c(f), S.onChange(f);
1005
1005
  };
1006
- return O(() => {
1007
- r !== p.current && n && (S(e), p.current = r);
1006
+ return G(() => {
1007
+ r !== m.current && n && (d(e), m.current = r);
1008
1008
  }, [r]), /* @__PURE__ */ k.jsx(
1009
- q1,
1009
+ F1,
1010
1010
  {
1011
- ...u,
1012
- isError: !!m?.error || l,
1013
- errorText: m?.error?.message || o || "",
1011
+ ...S,
1012
+ isError: !!p?.error || l,
1013
+ errorText: p?.error?.message || o || "",
1014
1014
  onChangeValue: a,
1015
- value: u.value,
1015
+ value: S.value,
1016
1016
  disabled: r,
1017
1017
  ...s
1018
1018
  }
@@ -1021,7 +1021,7 @@ const y3 = ({
1021
1021
  container: o0,
1022
1022
  error: c0,
1023
1023
  description: s0
1024
- }, I1 = q(i0), D1 = ({
1024
+ }, I1 = q(i0), W1 = ({
1025
1025
  errorText: e,
1026
1026
  description: C,
1027
1027
  isError: l,
@@ -1040,7 +1040,7 @@ const y3 = ({
1040
1040
  ...n
1041
1041
  }) => /* @__PURE__ */ k.jsx(e0, { ...e, children: /* @__PURE__ */ k.jsx("form", { ...n, onSubmit: C ? e.handleSubmit(C) : void 0, ref: l, children: o }) }), U3 = (e, C = 0) => {
1042
1042
  const [l, o] = z(e), n = A(null);
1043
- return O(() => (n.current && clearTimeout(n.current), n.current = window.setTimeout(() => {
1043
+ return G(() => (n.current && clearTimeout(n.current), n.current = window.setTimeout(() => {
1044
1044
  o(e);
1045
1045
  }, C), () => {
1046
1046
  n.current && clearTimeout(n.current);
@@ -1055,8 +1055,8 @@ const y3 = ({
1055
1055
  referenceRef: c,
1056
1056
  isPortal: s
1057
1057
  }) => {
1058
- const i = A(null), [S, m] = z(), u = j(() => {
1059
- r.current && c.current && m(
1058
+ const i = A(null), [d, p] = z(), S = j(() => {
1059
+ r.current && c.current && p(
1060
1060
  s5({
1061
1061
  gap: l,
1062
1062
  reference: c.current,
@@ -1069,24 +1069,24 @@ const y3 = ({
1069
1069
  }, [l, c, r, c, o, n, s]);
1070
1070
  return S1(() => {
1071
1071
  if (!r.current || !c.current) return;
1072
- let p = 0, a = 0;
1073
- return p = requestAnimationFrame(() => {
1074
- a = requestAnimationFrame(() => u());
1072
+ let m = 0, a = 0;
1073
+ return m = requestAnimationFrame(() => {
1074
+ a = requestAnimationFrame(() => S());
1075
1075
  }), () => {
1076
- cancelAnimationFrame(p), cancelAnimationFrame(a);
1076
+ cancelAnimationFrame(m), cancelAnimationFrame(a);
1077
1077
  };
1078
- }, [u]), S1(() => (C && window.addEventListener("resize", u), () => {
1079
- window.removeEventListener("resize", u);
1078
+ }, [S]), S1(() => (C && window.addEventListener("resize", S), () => {
1079
+ window.removeEventListener("resize", S);
1080
1080
  }), [C]), S1(() => {
1081
- let p = null;
1082
- return r.current && (p = new ResizeObserver(() => {
1083
- i.current && cancelAnimationFrame(i.current), i.current = requestAnimationFrame(u);
1084
- }), p.observe(r.current)), () => {
1085
- p?.disconnect(), i.current && cancelAnimationFrame(i.current);
1081
+ let m = null;
1082
+ return r.current && (m = new ResizeObserver(() => {
1083
+ i.current && cancelAnimationFrame(i.current), i.current = requestAnimationFrame(S);
1084
+ }), m.observe(r.current)), () => {
1085
+ m?.disconnect(), i.current && cancelAnimationFrame(i.current);
1086
1086
  };
1087
- }, []), S1(() => (e && window.addEventListener("scroll", u, !0), () => {
1088
- window.removeEventListener("scroll", u, !0);
1089
- }), [e]), { computed: S, recalc: u };
1087
+ }, []), S1(() => (e && window.addEventListener("scroll", S, !0), () => {
1088
+ window.removeEventListener("scroll", S, !0);
1089
+ }), [e]), { computed: d, recalc: S };
1090
1090
  }, d0 = (e = !1) => {
1091
1091
  const [C, l] = z(e), o = j(() => {
1092
1092
  l(!0);
@@ -1094,16 +1094,16 @@ const y3 = ({
1094
1094
  l(!1);
1095
1095
  }, []);
1096
1096
  return { isHidden: C, hide: o, reveal: n };
1097
- }, j1 = "_";
1098
- function u0(e, C, l = j1) {
1097
+ }, G1 = "_";
1098
+ function u0(e, C, l = G1) {
1099
1099
  if (!e) return [];
1100
1100
  const o = [];
1101
1101
  let n = !1;
1102
- const r = Array.isArray(C), s = (typeof C == "object" && C !== null ? C : void 0) || {}, i = (r ? C : void 0) || [], S = typeof C == "string" ? C : void 0;
1103
- let m = 0;
1104
- const u = (p, a) => S && p === S ? { type: "slot", test: () => !0 } : s[p] ? { type: "slot", test: (f) => s[p].test(f) } : i[a] && p === l ? { type: "slot", test: (f) => i[a].test(f) } : null;
1105
- for (let p = 0; p < e.length; p++) {
1106
- const a = e[p];
1102
+ const r = Array.isArray(C), s = (typeof C == "object" && C !== null ? C : void 0) || {}, i = (r ? C : void 0) || [], d = typeof C == "string" ? C : void 0;
1103
+ let p = 0;
1104
+ const S = (m, a) => d && m === d ? { type: "slot", test: () => !0 } : s[m] ? { type: "slot", test: (f) => s[m].test(f) } : i[a] && m === l ? { type: "slot", test: (f) => i[a].test(f) } : null;
1105
+ for (let m = 0; m < e.length; m++) {
1106
+ const a = e[m];
1107
1107
  if (a === "[") {
1108
1108
  n = !0;
1109
1109
  continue;
@@ -1112,15 +1112,15 @@ function u0(e, C, l = j1) {
1112
1112
  n = !1;
1113
1113
  continue;
1114
1114
  }
1115
- const f = u(a, m);
1116
- f && m++, o.push(f ?? { type: "literal", char: a, keep: n });
1115
+ const f = S(a, p);
1116
+ f && p++, o.push(f ?? { type: "literal", char: a, keep: n });
1117
1117
  }
1118
1118
  return o;
1119
1119
  }
1120
1120
  const y2 = ({
1121
1121
  mask: e,
1122
- replacement: C = j1,
1123
- replacementPlaceholder: l = j1
1122
+ replacement: C = G1,
1123
+ replacementPlaceholder: l = G1
1124
1124
  }) => {
1125
1125
  const o = T(
1126
1126
  () => u0(e, C, l),
@@ -1128,15 +1128,15 @@ const y2 = ({
1128
1128
  ), n = j(
1129
1129
  (c) => {
1130
1130
  if (!e) return c;
1131
- let s = "", i = 0, S = 0, m = 0;
1132
- for (; S < o.length && i < c.length; S++) {
1133
- const p = o[S], a = c[i];
1134
- p.type === "literal" ? a === p.char ? (s += a, i++) : s += p.char : p.type === "slot" && p.test(a) && (s += a, i++, m++);
1131
+ let s = "", i = 0, d = 0, p = 0;
1132
+ for (; d < o.length && i < c.length; d++) {
1133
+ const m = o[d], a = c[i];
1134
+ m.type === "literal" ? a === m.char ? (s += a, i++) : s += m.char : m.type === "slot" && m.test(a) && (s += a, i++, p++);
1135
1135
  }
1136
- const u = o.filter((p) => p.type === "slot").length;
1137
- if (m === u && S < o.length)
1138
- for (let p = S; p < o.length; p++) {
1139
- const a = o[p];
1136
+ const S = o.filter((m) => m.type === "slot").length;
1137
+ if (p === S && d < o.length)
1138
+ for (let m = d; m < o.length; m++) {
1139
+ const a = o[m];
1140
1140
  a.type === "literal" && (s += a.char);
1141
1141
  }
1142
1142
  return s;
@@ -1146,9 +1146,9 @@ const y2 = ({
1146
1146
  (c) => {
1147
1147
  if (!e) return c;
1148
1148
  let s = "", i = 0;
1149
- for (let S = 0; S < o.length && i < c.length; S++) {
1150
- const m = o[S], u = c[i];
1151
- m.type === "literal" ? u === m.char && (m.keep && (s += u), i++) : m.type === "slot" && (m.test(u) && (s += u), i++);
1149
+ for (let d = 0; d < o.length && i < c.length; d++) {
1150
+ const p = o[d], S = c[i];
1151
+ p.type === "literal" ? S === p.char && (p.keep && (s += S), i++) : p.type === "slot" && (p.test(S) && (s += S), i++);
1152
1152
  }
1153
1153
  return s;
1154
1154
  },
@@ -1158,38 +1158,43 @@ const y2 = ({
1158
1158
  }, I2 = (e = !1) => {
1159
1159
  const [C, l] = z(e), o = j(() => l(!0), []), n = j(() => l(!1), []), r = j(() => l((c) => !c), []);
1160
1160
  return { isOpen: C, open: o, close: n, toggle: r, setIsOpen: l };
1161
- }, p0 = typeof window < "u" ? window.localStorage : void 0, U1 = "__use-persisted-state__", o2 = (e) => {
1161
+ }, p0 = typeof window < "u" ? window.localStorage : void 0, U1 = "__use-persisted-state__", N1 = (e) => {
1162
1162
  if (e !== null)
1163
1163
  try {
1164
1164
  return JSON.parse(e);
1165
1165
  } catch {
1166
1166
  return;
1167
1167
  }
1168
- }, S0 = typeof window < "u" ? S1 : O, m0 = ({
1168
+ }, S0 = typeof window < "u" ? S1 : G, m0 = ({
1169
1169
  key: e,
1170
1170
  initialValue: C,
1171
1171
  storage: l = p0
1172
1172
  }) => {
1173
1173
  const o = A(!0), n = A(l);
1174
- O(() => {
1174
+ G(() => {
1175
1175
  n.current = l;
1176
1176
  }, [l]);
1177
1177
  const [r, c] = z(() => {
1178
- const s = n.current;
1179
- if (!s)
1178
+ const i = n.current;
1179
+ if (!i)
1180
1180
  return typeof C == "function" ? C() : C;
1181
- const i = o2(s.getItem(e));
1182
- return i !== void 0 ? i : typeof C == "function" ? C() : C;
1183
- });
1181
+ const d = N1(i.getItem(e));
1182
+ return d !== void 0 ? d : typeof C == "function" ? C() : C;
1183
+ }), s = (i) => {
1184
+ c((d) => {
1185
+ const p = JSON.stringify(d), S = JSON.stringify(i);
1186
+ return p === S ? d : i;
1187
+ });
1188
+ };
1184
1189
  return S0(() => {
1185
- const s = n.current;
1186
- if (s) {
1190
+ const i = n.current;
1191
+ if (i) {
1187
1192
  if (o.current) {
1188
1193
  o.current = !1;
1189
1194
  return;
1190
1195
  }
1191
1196
  try {
1192
- s.setItem(e, JSON.stringify(r)), typeof window < "u" && window.dispatchEvent(
1197
+ i.setItem(e, JSON.stringify(r)), typeof window < "u" && window.dispatchEvent(
1193
1198
  new CustomEvent(U1, {
1194
1199
  detail: { key: e, value: r }
1195
1200
  })
@@ -1197,28 +1202,30 @@ const y2 = ({
1197
1202
  } catch {
1198
1203
  }
1199
1204
  }
1200
- }, [e, r]), O(() => {
1205
+ }, [e, r]), G(() => {
1201
1206
  if (typeof window > "u") return;
1202
- const s = (i) => {
1203
- const S = i;
1204
- if (S.detail?.key !== e) return;
1205
- const m = S.detail.value;
1206
- c((u) => {
1207
- const p = JSON.stringify(u), a = JSON.stringify(m);
1208
- return p === a ? u : m;
1209
- });
1207
+ const i = (d) => {
1208
+ const p = d;
1209
+ if (p.detail?.key !== e) return;
1210
+ const S = p.detail.value;
1211
+ s(S);
1210
1212
  };
1211
- return window.addEventListener(U1, s), () => {
1212
- window.removeEventListener(U1, s);
1213
+ return window.addEventListener(U1, i), () => {
1214
+ window.removeEventListener(U1, i);
1213
1215
  };
1214
- }, [e]), O(() => {
1215
- const s = n.current;
1216
- if (!s) return;
1217
- const i = o2(s.getItem(e));
1218
- i !== void 0 && c((S) => {
1219
- const m = JSON.stringify(S), u = JSON.stringify(i);
1220
- return m === u ? S : i;
1221
- });
1216
+ }, [e]), G(() => {
1217
+ const i = n.current;
1218
+ if (!i) return;
1219
+ const d = N1(i.getItem(e));
1220
+ d !== void 0 && s(d);
1221
+ }, [e]), G(() => {
1222
+ if (typeof window > "u") return;
1223
+ const i = (d) => {
1224
+ if (d.key !== e) return;
1225
+ const p = N1(d.newValue);
1226
+ p !== void 0 && s(p);
1227
+ };
1228
+ return window.addEventListener("storage", i), () => window.removeEventListener("storage", i);
1222
1229
  }, [e]), [r, c];
1223
1230
  }, N3 = ({ callback: e, interval: C = 1e4, startImmediately: l }) => {
1224
1231
  const o = A(0), n = j(() => {
@@ -1226,13 +1233,13 @@ const y2 = ({
1226
1233
  }, [e, C]), r = j(() => {
1227
1234
  o.current && (window.clearInterval(o.current), o.current = 0);
1228
1235
  }, []);
1229
- return O(() => (l && n(), () => r()), []), { start: n, stop: r };
1236
+ return G(() => (l && n(), () => r()), []), { start: n, stop: r };
1230
1237
  }, K3 = (e) => {
1231
1238
  const [C, l] = m0({
1232
1239
  key: e?.storageKey || "theme",
1233
1240
  initialValue: e?.initialTheme || d5()
1234
1241
  });
1235
- return O(() => {
1242
+ return G(() => {
1236
1243
  typeof document < "u" && document.body.setAttribute("data-theme", C);
1237
1244
  }, [C]), { theme: C, setTheme: l };
1238
1245
  }, k0 = (e, C, l, o) => {
@@ -1256,10 +1263,10 @@ const y2 = ({
1256
1263
  };
1257
1264
  e.on("initialized", l);
1258
1265
  }
1259
- }, G1 = (e, C, l) => {
1266
+ }, O1 = (e, C, l) => {
1260
1267
  e.loadNamespaces(C, N2(e, l));
1261
1268
  }, s2 = (e, C, l, o) => {
1262
- if (i1(l) && (l = [l]), e.options.preload && e.options.preload.indexOf(C) > -1) return G1(e, l, o);
1269
+ if (i1(l) && (l = [l]), e.options.preload && e.options.preload.indexOf(C) > -1) return O1(e, l, o);
1263
1270
  l.forEach((n) => {
1264
1271
  e.options.ns.indexOf(n) < 0 && e.options.ns.push(n);
1265
1272
  }), e.loadLanguages(C, N2(e, o));
@@ -1318,7 +1325,7 @@ class M0 {
1318
1325
  return Object.keys(this.usedNamespaces);
1319
1326
  }
1320
1327
  }
1321
- var Z1 = { exports: {} }, N1 = {};
1328
+ var Z1 = { exports: {} }, K1 = {};
1322
1329
  /**
1323
1330
  * @license React
1324
1331
  * use-sync-external-store-shim.production.js
@@ -1330,46 +1337,46 @@ var Z1 = { exports: {} }, N1 = {};
1330
1337
  */
1331
1338
  var i2;
1332
1339
  function R0() {
1333
- if (i2) return N1;
1340
+ if (i2) return K1;
1334
1341
  i2 = 1;
1335
1342
  var e = U;
1336
- function C(u, p) {
1337
- return u === p && (u !== 0 || 1 / u === 1 / p) || u !== u && p !== p;
1343
+ function C(S, m) {
1344
+ return S === m && (S !== 0 || 1 / S === 1 / m) || S !== S && m !== m;
1338
1345
  }
1339
1346
  var l = typeof Object.is == "function" ? Object.is : C, o = e.useState, n = e.useEffect, r = e.useLayoutEffect, c = e.useDebugValue;
1340
- function s(u, p) {
1341
- var a = p(), f = o({ inst: { value: a, getSnapshot: p } }), g = f[0].inst, L = f[1];
1347
+ function s(S, m) {
1348
+ var a = m(), f = o({ inst: { value: a, getSnapshot: m } }), g = f[0].inst, L = f[1];
1342
1349
  return r(
1343
1350
  function() {
1344
- g.value = a, g.getSnapshot = p, i(g) && L({ inst: g });
1351
+ g.value = a, g.getSnapshot = m, i(g) && L({ inst: g });
1345
1352
  },
1346
- [u, a, p]
1353
+ [S, a, m]
1347
1354
  ), n(
1348
1355
  function() {
1349
- return i(g) && L({ inst: g }), u(function() {
1356
+ return i(g) && L({ inst: g }), S(function() {
1350
1357
  i(g) && L({ inst: g });
1351
1358
  });
1352
1359
  },
1353
- [u]
1360
+ [S]
1354
1361
  ), c(a), a;
1355
1362
  }
1356
- function i(u) {
1357
- var p = u.getSnapshot;
1358
- u = u.value;
1363
+ function i(S) {
1364
+ var m = S.getSnapshot;
1365
+ S = S.value;
1359
1366
  try {
1360
- var a = p();
1361
- return !l(u, a);
1367
+ var a = m();
1368
+ return !l(S, a);
1362
1369
  } catch {
1363
1370
  return !0;
1364
1371
  }
1365
1372
  }
1366
- function S(u, p) {
1367
- return p();
1373
+ function d(S, m) {
1374
+ return m();
1368
1375
  }
1369
- var m = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? S : s;
1370
- return N1.useSyncExternalStore = e.useSyncExternalStore !== void 0 ? e.useSyncExternalStore : m, N1;
1376
+ var p = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? d : s;
1377
+ return K1.useSyncExternalStore = e.useSyncExternalStore !== void 0 ? e.useSyncExternalStore : p, K1;
1371
1378
  }
1372
- var K1 = {};
1379
+ var T1 = {};
1373
1380
  /**
1374
1381
  * @license React
1375
1382
  * use-sync-external-store-shim.development.js
@@ -1386,15 +1393,15 @@ function H0() {
1386
1393
  return a === f && (a !== 0 || 1 / a === 1 / f) || a !== a && f !== f;
1387
1394
  }
1388
1395
  function C(a, f) {
1389
- m || n.startTransition === void 0 || (m = !0, console.error(
1396
+ p || n.startTransition === void 0 || (p = !0, console.error(
1390
1397
  "You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."
1391
1398
  ));
1392
1399
  var g = f();
1393
- if (!u) {
1400
+ if (!S) {
1394
1401
  var L = f();
1395
1402
  r(g, L) || (console.error(
1396
1403
  "The result of getSnapshot should be cached to avoid an infinite loop"
1397
- ), u = !0);
1404
+ ), S = !0);
1398
1405
  }
1399
1406
  L = c({
1400
1407
  inst: { value: g, getSnapshot: f }
@@ -1412,7 +1419,7 @@ function H0() {
1412
1419
  });
1413
1420
  },
1414
1421
  [a]
1415
- ), S(g), g;
1422
+ ), d(g), g;
1416
1423
  }
1417
1424
  function l(a) {
1418
1425
  var f = a.getSnapshot;
@@ -1428,9 +1435,9 @@ function H0() {
1428
1435
  return f();
1429
1436
  }
1430
1437
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
1431
- var n = U, r = typeof Object.is == "function" ? Object.is : e, c = n.useState, s = n.useEffect, i = n.useLayoutEffect, S = n.useDebugValue, m = !1, u = !1, p = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? o : C;
1432
- K1.useSyncExternalStore = n.useSyncExternalStore !== void 0 ? n.useSyncExternalStore : p, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
1433
- })()), K1;
1438
+ var n = U, r = typeof Object.is == "function" ? Object.is : e, c = n.useState, s = n.useEffect, i = n.useLayoutEffect, d = n.useDebugValue, p = !1, S = !1, m = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? o : C;
1439
+ T1.useSyncExternalStore = n.useSyncExternalStore !== void 0 ? n.useSyncExternalStore : m, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
1440
+ })()), T1;
1434
1441
  }
1435
1442
  var d2;
1436
1443
  function y0() {
@@ -1456,46 +1463,46 @@ const U0 = (e, C) => i1(C) ? C : v0(C) && i1(C.defaultValue) ? C.defaultValue :
1456
1463
  }), [r, C]), {
1457
1464
  useSuspense: s,
1458
1465
  keyPrefix: i
1459
- } = c, S = T(() => {
1466
+ } = c, d = T(() => {
1460
1467
  const E = e;
1461
1468
  return i1(E) ? [E] : E;
1462
1469
  }, [e, n, r]);
1463
- r?.reportNamespaces?.addUsedNamespaces?.(S);
1464
- const m = A(0), u = j((E) => {
1470
+ r?.reportNamespaces?.addUsedNamespaces?.(d);
1471
+ const p = A(0), S = j((E) => {
1465
1472
  if (!r) return K0;
1466
1473
  const {
1467
1474
  bindI18n: w,
1468
1475
  bindI18nStore: J
1469
1476
  } = c, x = () => {
1470
- m.current += 1, E();
1477
+ p.current += 1, E();
1471
1478
  };
1472
1479
  return w && r.on(w, x), J && r.store.on(J, x), () => {
1473
1480
  w && w.split(" ").forEach((N) => r.off(N, x)), J && J.split(" ").forEach((N) => r.store.off(N, x));
1474
1481
  };
1475
- }, [r, c]), p = A(), a = j(() => {
1482
+ }, [r, c]), m = A(), a = j(() => {
1476
1483
  if (!r)
1477
1484
  return N0;
1478
- const E = !!(r.isInitialized || r.initializedStoreOnce) && S.every((F) => f0(F, r, c)), w = C.lng || r.language, J = m.current, x = p.current;
1485
+ const E = !!(r.isInitialized || r.initializedStoreOnce) && d.every((F) => f0(F, r, c)), w = C.lng || r.language, J = p.current, x = m.current;
1479
1486
  if (x && x.ready === E && x.lng === w && x.keyPrefix === i && x.revision === J)
1480
1487
  return x;
1481
1488
  const y = {
1482
- t: r.getFixedT(w, c.nsMode === "fallback" ? S : S[0], i),
1489
+ t: r.getFixedT(w, c.nsMode === "fallback" ? d : d[0], i),
1483
1490
  ready: E,
1484
1491
  lng: w,
1485
1492
  keyPrefix: i,
1486
1493
  revision: J
1487
1494
  };
1488
- return p.current = y, y;
1489
- }, [r, S, i, c, C.lng]), [f, g] = z(0), {
1495
+ return m.current = y, y;
1496
+ }, [r, d, i, c, C.lng]), [f, g] = z(0), {
1490
1497
  t: L,
1491
1498
  ready: h
1492
- } = I0.useSyncExternalStore(u, a, a);
1493
- O(() => {
1499
+ } = I0.useSyncExternalStore(S, a, a);
1500
+ G(() => {
1494
1501
  if (r && !h && !s) {
1495
1502
  const E = () => g((w) => w + 1);
1496
- C.lng ? s2(r, C.lng, S, E) : G1(r, S, E);
1503
+ C.lng ? s2(r, C.lng, d, E) : O1(r, d, E);
1497
1504
  }
1498
- }, [r, C.lng, S, h, s, f]);
1505
+ }, [r, C.lng, d, h, s, f]);
1499
1506
  const Z = r || {}, M = T(() => {
1500
1507
  const E = [L, Z, h];
1501
1508
  return E.t = L, E.i18n = Z, E.ready = h, E;
@@ -1503,7 +1510,7 @@ const U0 = (e, C) => i1(C) ? C : v0(C) && i1(C.defaultValue) ? C.defaultValue :
1503
1510
  if (r && s && !h)
1504
1511
  throw new Promise((E) => {
1505
1512
  const w = () => E();
1506
- C.lng ? s2(r, C.lng, S, w) : G1(r, S, w);
1513
+ C.lng ? s2(r, C.lng, d, w) : O1(r, d, w);
1507
1514
  });
1508
1515
  return M;
1509
1516
  }, b0 = "No options", B0 = "Reset all", A0 = "Search", j0 = "Select all", G0 = {
@@ -1582,14 +1589,14 @@ const U0 = (e, C) => i1(C) ? C : v0(C) && i1(C.defaultValue) ? C.defaultValue :
1582
1589
  const i = u2(C) + 1;
1583
1590
  if (!L1(r) && i > r)
1584
1591
  return;
1585
- const S = i.toFixed(o);
1586
- e(String(S));
1592
+ const d = i.toFixed(o);
1593
+ e(String(d));
1587
1594
  }, [o, e, C]), s = j(() => {
1588
1595
  const i = u2(C) - 1;
1589
1596
  if (!L1(n) && i < n)
1590
1597
  return;
1591
- const S = i.toFixed(o);
1592
- (l || Number(S) >= 0) && e(S);
1598
+ const d = i.toFixed(o);
1599
+ (l || Number(d) >= 0) && e(d);
1593
1600
  }, [l, o, e, C]);
1594
1601
  return { increment: c, decrement: s };
1595
1602
  }, T2 = ({ value: e, maxLength: C }) => L1(C) ? e : e.slice(0, C), u8 = (e) => e, p8 = {
@@ -1627,13 +1634,13 @@ const U0 = (e, C) => i1(C) ? C : v0(C) && i1(C.defaultValue) ? C.defaultValue :
1627
1634
  mask: o
1628
1635
  }) => {
1629
1636
  const n = y2({ mask: o, replacement: l, replacementPlaceholder: C }), r = T(() => p8[e] ?? T2, [e]), c = T(() => S8[e] ?? u8, [e]), s = j(
1630
- (S) => {
1631
- const m = r(S);
1632
- return n.apply(m);
1637
+ (d) => {
1638
+ const p = r(d);
1639
+ return n.apply(p);
1633
1640
  },
1634
1641
  [r, n.apply]
1635
1642
  ), i = j(
1636
- (S) => c(n.clean(S)),
1643
+ (d) => c(n.clean(d)),
1637
1644
  [e]
1638
1645
  );
1639
1646
  return { format: s, clean: i };
@@ -1669,10 +1676,10 @@ const o1 = q(M8), R8 = {
1669
1676
  errorText: c,
1670
1677
  disabled: s,
1671
1678
  isLoading: i,
1672
- className: S,
1673
- prefix: m,
1674
- suffix: u,
1675
- hint: p,
1679
+ className: d,
1680
+ prefix: p,
1681
+ suffix: S,
1682
+ hint: m,
1676
1683
  children: a,
1677
1684
  mask: f,
1678
1685
  replacement: g,
@@ -1698,10 +1705,10 @@ const o1 = q(M8), R8 = {
1698
1705
  ref: d1,
1699
1706
  ...u1
1700
1707
  }) => {
1701
- const { isHidden: d, reveal: v, hide: V } = d0(l === "password"), [I, $] = z(!1), C1 = B ?? R8[l], b = T(
1708
+ const { isHidden: u, reveal: v, hide: V } = d0(l === "password"), [I, $] = z(!1), C1 = B ?? R8[l], b = T(
1702
1709
  () => !!(c && r || n),
1703
1710
  [c, r, n]
1704
- ), X = T(() => !!(i || N || u || y || F), [i, N, u, y, F]), e1 = a8({ type: l, isHidden: d }), { format: E1, clean: O2 } = m8({ type: l, mask: f, replacement: g, replacementPlaceholder: L }), { increment: q2, decrement: F2 } = d8({
1711
+ ), X = T(() => !!(i || N || S || y || F), [i, N, S, y, F]), e1 = a8({ type: l, isHidden: u }), { format: E1, clean: O2 } = m8({ type: l, mask: f, replacement: g, replacementPlaceholder: L }), { increment: q2, decrement: F2 } = d8({
1705
1712
  max: h,
1706
1713
  min: Z,
1707
1714
  decimals: K,
@@ -1739,8 +1746,8 @@ const o1 = q(M8), R8 = {
1739
1746
  }, X2 = (P) => {
1740
1747
  J("");
1741
1748
  };
1742
- return /* @__PURE__ */ k.jsxs("label", { className: o1(S, "input"), children: [
1743
- o && /* @__PURE__ */ k.jsx(O1, { caption: o, hint: p }),
1749
+ return /* @__PURE__ */ k.jsxs("label", { className: o1(d, "input"), children: [
1750
+ o && /* @__PURE__ */ k.jsx(q1, { caption: o, hint: m }),
1744
1751
  /* @__PURE__ */ k.jsxs(
1745
1752
  "div",
1746
1753
  {
@@ -1751,7 +1758,7 @@ const o1 = q(M8), R8 = {
1751
1758
  isWithNumberControls: N
1752
1759
  }),
1753
1760
  children: [
1754
- m && /* @__PURE__ */ k.jsx("div", { className: o1("prefix"), children: m }),
1761
+ p && /* @__PURE__ */ k.jsx("div", { className: o1("prefix"), children: p }),
1755
1762
  /* @__PURE__ */ k.jsx(
1756
1763
  "input",
1757
1764
  {
@@ -1769,13 +1776,13 @@ const o1 = q(M8), R8 = {
1769
1776
  }
1770
1777
  ),
1771
1778
  X && /* @__PURE__ */ k.jsxs("div", { className: o1("right"), children: [
1772
- i && /* @__PURE__ */ k.jsx(W1, { className: o1("loader") }),
1779
+ i && /* @__PURE__ */ k.jsx(P1, { className: o1("loader") }),
1773
1780
  F && !!e && /* @__PURE__ */ k.jsx(K2, { type: "close", onClick: X2 }),
1774
- u && /* @__PURE__ */ k.jsx("div", { className: o1("suffix"), children: u }),
1781
+ S && /* @__PURE__ */ k.jsx("div", { className: o1("suffix"), children: S }),
1775
1782
  y && /* @__PURE__ */ k.jsx(
1776
1783
  t8,
1777
1784
  {
1778
- isHidden: d,
1785
+ isHidden: u,
1779
1786
  disabled: s,
1780
1787
  hide: V,
1781
1788
  reveal: v,
@@ -1788,7 +1795,7 @@ const o1 = q(M8), R8 = {
1788
1795
  }
1789
1796
  ),
1790
1797
  b && /* @__PURE__ */ k.jsx(
1791
- D1,
1798
+ W1,
1792
1799
  {
1793
1800
  isError: r,
1794
1801
  errorText: c,
@@ -1807,19 +1814,19 @@ const o1 = q(M8), R8 = {
1807
1814
  disabled: c,
1808
1815
  ...s
1809
1816
  }) => {
1810
- const { control: i, clearErrors: S } = a1(), { fieldState: m, field: u } = R1({ name: e, rules: C, control: i }), p = A(c), a = (f) => {
1811
- n && n(f), u.onChange(f);
1817
+ const { control: i, clearErrors: d } = a1(), { fieldState: p, field: S } = R1({ name: e, rules: C, control: i }), m = A(c), a = (f) => {
1818
+ n && n(f), S.onChange(f);
1812
1819
  };
1813
- return O(() => {
1814
- c !== p.current && r && (S(e), p.current = c);
1820
+ return G(() => {
1821
+ c !== m.current && r && (d(e), m.current = c);
1815
1822
  }, [c]), /* @__PURE__ */ k.jsx(
1816
1823
  B2,
1817
1824
  {
1818
- ...u,
1819
- isError: !!m?.error || l,
1820
- errorText: m?.error?.message || o || "",
1825
+ ...S,
1826
+ isError: !!p?.error || l,
1827
+ errorText: p?.error?.message || o || "",
1821
1828
  onChangeValue: a,
1822
- value: u.value,
1829
+ value: S.value,
1823
1830
  disabled: c,
1824
1831
  ...s
1825
1832
  }
@@ -1827,25 +1834,25 @@ const o1 = q(M8), R8 = {
1827
1834
  }, H8 = "Loader-module__loader___Ukoov", y8 = "Loader-module__spin___HfHqf", I8 = {
1828
1835
  loader: H8,
1829
1836
  spin: y8
1830
- }, U8 = q(I8), W1 = ({
1837
+ }, U8 = q(I8), P1 = ({
1831
1838
  size: e = k1.LARGE,
1832
1839
  className: C,
1833
1840
  type: l = "spinner-filled"
1834
- }) => /* @__PURE__ */ k.jsx(_, { "data-testid": "loader", type: l, size: e, className: U8(C, "loader") }), G = [];
1841
+ }) => /* @__PURE__ */ k.jsx(_, { "data-testid": "loader", type: l, size: e, className: U8(C, "loader") }), O = [];
1835
1842
  for (let e = 0; e < 256; ++e)
1836
- G.push((e + 256).toString(16).slice(1));
1843
+ O.push((e + 256).toString(16).slice(1));
1837
1844
  function N8(e, C = 0) {
1838
- return (G[e[C + 0]] + G[e[C + 1]] + G[e[C + 2]] + G[e[C + 3]] + "-" + G[e[C + 4]] + G[e[C + 5]] + "-" + G[e[C + 6]] + G[e[C + 7]] + "-" + G[e[C + 8]] + G[e[C + 9]] + "-" + G[e[C + 10]] + G[e[C + 11]] + G[e[C + 12]] + G[e[C + 13]] + G[e[C + 14]] + G[e[C + 15]]).toLowerCase();
1845
+ return (O[e[C + 0]] + O[e[C + 1]] + O[e[C + 2]] + O[e[C + 3]] + "-" + O[e[C + 4]] + O[e[C + 5]] + "-" + O[e[C + 6]] + O[e[C + 7]] + "-" + O[e[C + 8]] + O[e[C + 9]] + "-" + O[e[C + 10]] + O[e[C + 11]] + O[e[C + 12]] + O[e[C + 13]] + O[e[C + 14]] + O[e[C + 15]]).toLowerCase();
1839
1846
  }
1840
- let T1;
1847
+ let b1;
1841
1848
  const K8 = new Uint8Array(16);
1842
1849
  function T8() {
1843
- if (!T1) {
1850
+ if (!b1) {
1844
1851
  if (typeof crypto > "u" || !crypto.getRandomValues)
1845
1852
  throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
1846
- T1 = crypto.getRandomValues.bind(crypto);
1853
+ b1 = crypto.getRandomValues.bind(crypto);
1847
1854
  }
1848
- return T1(K8);
1855
+ return b1(K8);
1849
1856
  }
1850
1857
  const b8 = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), p2 = { randomUUID: b8 };
1851
1858
  function B8(e, C, l) {
@@ -1872,7 +1879,7 @@ const j8 = (e = "popup-root") => {
1872
1879
  };
1873
1880
  }, S2 = ({ children: e, id: C }) => {
1874
1881
  const l = A(j8(C));
1875
- return O(() => {
1882
+ return G(() => {
1876
1883
  l.current.alreadyHas || document.body.appendChild(l.current.element);
1877
1884
  }, []), $2(e, l.current.element);
1878
1885
  }, G8 = "Popover-module__popover___rvS3X", O8 = "Popover-module__arrow___MQRkr", q8 = "Popover-module__top___rqvC6", F8 = "Popover-module__bottom___lawQw", Y8 = {
@@ -1890,10 +1897,10 @@ const j8 = (e = "popup-root") => {
1890
1897
  className: c,
1891
1898
  gap: s,
1892
1899
  closeOnBlur: i = !1,
1893
- portalId: S = "popup-root",
1894
- closeOnMouseLeave: m = !1,
1895
- mouseLeaveDelay: u = 120,
1896
- onBlur: p,
1900
+ portalId: d = "popup-root",
1901
+ closeOnMouseLeave: p = !1,
1902
+ mouseLeaveDelay: S = 120,
1903
+ onBlur: m,
1897
1904
  onClick: a,
1898
1905
  onMouseDown: f,
1899
1906
  isPortal: g = !0,
@@ -1925,12 +1932,12 @@ const j8 = (e = "popup-root") => {
1925
1932
  }, []), Y = A(!1), t1 = (v) => {
1926
1933
  if (!i) return;
1927
1934
  const V = v.relatedTarget;
1928
- H(V) || (C(), p?.(v));
1935
+ H(V) || (C(), m?.(v));
1929
1936
  }, r1 = j(() => {
1930
- m && (K(), !Y.current && !R.current.anchor && !R.current.dropdown && (B.current = window.setTimeout(() => {
1937
+ p && (K(), !Y.current && !R.current.anchor && !R.current.dropdown && (B.current = window.setTimeout(() => {
1931
1938
  !R.current.anchor && !R.current.dropdown && !Y.current && C();
1932
- }, u)));
1933
- }, [m, u, C, K]);
1939
+ }, S)));
1940
+ }, [p, S, C, K]);
1934
1941
  S1(() => {
1935
1942
  const v = () => {
1936
1943
  M && C();
@@ -1940,32 +1947,32 @@ const j8 = (e = "popup-root") => {
1940
1947
  return window.addEventListener("resize", v), window.addEventListener("scroll", V, !0), () => {
1941
1948
  window.removeEventListener("resize", v), window.removeEventListener("scroll", V, !0);
1942
1949
  };
1943
- }, [E, M, C]), O(() => {
1944
- if (!m) return;
1950
+ }, [E, M, C]), G(() => {
1951
+ if (!p) return;
1945
1952
  const v = L.current, V = x.current;
1946
1953
  if (!v) return;
1947
1954
  const I = () => {
1948
1955
  R.current.anchor = !0, K();
1949
1956
  }, $ = (X) => {
1950
1957
  const e1 = X.relatedTarget;
1951
- H(e1) || v.contains(e1) || (B.current = window.setTimeout(C, u));
1958
+ H(e1) || v.contains(e1) || (B.current = window.setTimeout(C, S));
1952
1959
  }, C1 = () => {
1953
1960
  R.current.dropdown = !0, K();
1954
1961
  }, b = (X) => {
1955
1962
  const e1 = X.relatedTarget;
1956
- H(e1) || (B.current = window.setTimeout(C, u));
1963
+ H(e1) || (B.current = window.setTimeout(C, S));
1957
1964
  };
1958
1965
  return v.addEventListener("pointerenter", I, !0), v.addEventListener("pointerleave", $, !0), V && (V.addEventListener("pointerenter", C1, !0), V.addEventListener("pointerleave", b, !0)), () => {
1959
1966
  K(), v.removeEventListener("pointerenter", I, !0), v.removeEventListener("pointerleave", $, !0), V && (V.removeEventListener("pointerenter", C1, !0), V.removeEventListener("pointerleave", b, !0));
1960
1967
  };
1961
1968
  }, [
1962
- m,
1969
+ p,
1963
1970
  x,
1964
1971
  L,
1965
1972
  r1,
1966
1973
  K,
1967
1974
  H
1968
- ]), O(() => {
1975
+ ]), G(() => {
1969
1976
  const v = (V) => {
1970
1977
  if (!w)
1971
1978
  return;
@@ -1973,7 +1980,7 @@ const j8 = (e = "popup-root") => {
1973
1980
  !H(I) && !L.current?.contains(I) && C();
1974
1981
  };
1975
1982
  return document.addEventListener("mousedown", v), () => document.removeEventListener("mousedown", v);
1976
- }, [H, C, w]), O(() => {
1983
+ }, [H, C, w]), G(() => {
1977
1984
  const v = (V) => {
1978
1985
  if (!i)
1979
1986
  return;
@@ -1986,7 +1993,7 @@ const j8 = (e = "popup-root") => {
1986
1993
  v.stopPropagation(), f?.(v);
1987
1994
  }, u1 = (v) => {
1988
1995
  v.stopPropagation(), a?.(v);
1989
- }, d = /* @__PURE__ */ k.jsx(
1996
+ }, u = /* @__PURE__ */ k.jsx(
1990
1997
  "div",
1991
1998
  {
1992
1999
  "data-dd-root": !0,
@@ -2009,7 +2016,7 @@ const j8 = (e = "popup-root") => {
2009
2016
  children: o
2010
2017
  }
2011
2018
  );
2012
- return y ? g ? /* @__PURE__ */ k.jsx(S2, { id: S, children: d }) : d : /* @__PURE__ */ k.jsx(m2.Provider, { value: D, children: g ? /* @__PURE__ */ k.jsx(S2, { id: S, children: d }) : d });
2019
+ return y ? g ? /* @__PURE__ */ k.jsx(S2, { id: d, children: u }) : u : /* @__PURE__ */ k.jsx(m2.Provider, { value: D, children: g ? /* @__PURE__ */ k.jsx(S2, { id: d, children: u }) : u });
2013
2020
  }, P8 = "SelectOptionItem-module__value___2uely", Q8 = {
2014
2021
  "select-option": "SelectOptionItem-module__select-option___-CPdj",
2015
2022
  value: P8,
@@ -2037,7 +2044,7 @@ const c1 = q(Q8), g1 = z2(
2037
2044
  if (o === "single" && r)
2038
2045
  return /* @__PURE__ */ k.jsx(_, { type: "check", className: c1("select-option-check-icon") });
2039
2046
  if (o === "multi")
2040
- return /* @__PURE__ */ k.jsx(q1, { value: r, disabled: s });
2047
+ return /* @__PURE__ */ k.jsx(F1, { value: r, disabled: s });
2041
2048
  }, [r, o, s]);
2042
2049
  return /* @__PURE__ */ k.jsxs(
2043
2050
  "button",
@@ -2085,10 +2092,10 @@ const X8 = "SelectList-module__hasScroll___Pdpcl", z8 = {
2085
2092
  isWithSelectAll: c,
2086
2093
  isWithSearch: s,
2087
2094
  onSelectAll: i,
2088
- onClose: S,
2089
- gap: m = 0,
2090
- placementSide: u,
2091
- placementAlignment: p,
2095
+ onClose: d,
2096
+ gap: p = 0,
2097
+ placementSide: S,
2098
+ placementAlignment: m,
2092
2099
  referenceRef: a
2093
2100
  }) => {
2094
2101
  const [f, g] = z(""), [L, h] = z(!1), Z = !!C?.length, M = s && Z, E = c && n && Z, w = A(null), { t: J } = P0(), x = T(() => C?.filter(
@@ -2108,7 +2115,7 @@ const X8 = "SelectList-module__hasScroll___Pdpcl", z8 = {
2108
2115
  );
2109
2116
  }), [x, r, e, l, n, Z]), y = T(() => {
2110
2117
  if (n && Array.isArray(e) && e)
2111
- return e.length === C?.length ? B1.MARKED : B1.MIXED;
2118
+ return e.length === C?.length ? A1.MARKED : A1.MIXED;
2112
2119
  }, [e, C, n]), F = T(() => n && Array.isArray(e) && !!e?.length, [e, n]), D = () => {
2113
2120
  i && i(F ? void 0 : C);
2114
2121
  }, H = () => {
@@ -2119,17 +2126,17 @@ const X8 = "SelectList-module__hasScroll___Pdpcl", z8 = {
2119
2126
  }, B = (R) => {
2120
2127
  R.code === "Enter" && R.preventDefault();
2121
2128
  };
2122
- return O(() => {
2129
+ return G(() => {
2123
2130
  H();
2124
2131
  }, [x]), /* @__PURE__ */ k.jsxs(
2125
2132
  A2,
2126
2133
  {
2127
2134
  className: w1("select-list"),
2128
2135
  referenceRef: a,
2129
- gap: m,
2130
- placementAlignment: p,
2131
- placementSide: u,
2132
- onClose: S,
2136
+ gap: p,
2137
+ placementAlignment: m,
2138
+ placementSide: S,
2139
+ onClose: d,
2133
2140
  children: [
2134
2141
  M && /* @__PURE__ */ k.jsx("div", { className: w1("select-list-header"), children: s && /* @__PURE__ */ k.jsx(
2135
2142
  B2,
@@ -2143,7 +2150,7 @@ const X8 = "SelectList-module__hasScroll___Pdpcl", z8 = {
2143
2150
  }
2144
2151
  ) }),
2145
2152
  E && /* @__PURE__ */ k.jsx("div", { className: w1("select-list-subheader"), children: c && /* @__PURE__ */ k.jsx(
2146
- q1,
2153
+ F1,
2147
2154
  {
2148
2155
  value: F,
2149
2156
  variant: y,
@@ -2188,10 +2195,10 @@ const Q = q(o3), s3 = ({
2188
2195
  value: c,
2189
2196
  description: s,
2190
2197
  className: i,
2191
- placeholder: S,
2192
- isLoading: m,
2193
- onChange: u,
2194
- searchPlaceholder: p,
2198
+ placeholder: d,
2199
+ isLoading: p,
2200
+ onChange: S,
2201
+ searchPlaceholder: m,
2195
2202
  options: a,
2196
2203
  isWithSelectAll: f,
2197
2204
  isWithSearch: g,
@@ -2200,17 +2207,17 @@ const Q = q(o3), s3 = ({
2200
2207
  isMulti: Z,
2201
2208
  disabled: M
2202
2209
  }) => {
2203
- const E = A(null), w = I2(), J = T(() => c && (Z ? !!c.length : !!c), [c, Z]), x = T(() => M ?? m, [m, M]), N = (H) => {
2204
- if (u)
2210
+ const E = A(null), w = I2(), J = T(() => c && (Z ? !!c.length : !!c), [c, Z]), x = T(() => M ?? p, [p, M]), N = (H) => {
2211
+ if (S)
2205
2212
  if (Z) {
2206
2213
  const B = Array.isArray(c) ? c : [c].filter(Boolean);
2207
- u(
2214
+ S(
2208
2215
  B.map((R) => R?.value).includes(H.value) ? B.filter((R) => R?.value !== H.value) : [...B, H]
2209
2216
  );
2210
2217
  } else
2211
- u(H), L && w.close();
2218
+ S(H), L && w.close();
2212
2219
  }, y = (H) => {
2213
- Z && u?.(H);
2220
+ Z && S?.(H);
2214
2221
  }, F = T(() => {
2215
2222
  if (c)
2216
2223
  if (Z) {
@@ -2226,7 +2233,7 @@ const Q = q(o3), s3 = ({
2226
2233
  }
2227
2234
  ),
2228
2235
  !!B.length && /* @__PURE__ */ k.jsx(
2229
- P1,
2236
+ Q1,
2230
2237
  {
2231
2238
  text: B.map((R) => /* @__PURE__ */ k.jsx(
2232
2239
  g1,
@@ -2256,10 +2263,10 @@ const Q = q(o3), s3 = ({
2256
2263
  }
2257
2264
  );
2258
2265
  }, [c, Z, x]), D = (H) => {
2259
- H.preventDefault(), H.stopPropagation(), u?.(void 0);
2266
+ H.preventDefault(), H.stopPropagation(), S?.(void 0);
2260
2267
  };
2261
2268
  return /* @__PURE__ */ k.jsxs("div", { className: Q(i, "select", e), children: [
2262
- C && /* @__PURE__ */ k.jsx(O1, { caption: C, hint: l }),
2269
+ C && /* @__PURE__ */ k.jsx(q1, { caption: C, hint: l }),
2263
2270
  /* @__PURE__ */ k.jsxs("div", { className: Q("select-control-wrapper"), children: [
2264
2271
  /* @__PURE__ */ k.jsxs(
2265
2272
  "button",
@@ -2272,7 +2279,7 @@ const Q = q(o3), s3 = ({
2272
2279
  children: [
2273
2280
  /* @__PURE__ */ k.jsxs("div", { className: Q("select-control-content"), children: [
2274
2281
  o && /* @__PURE__ */ k.jsx(_, { type: o, className: Q("select-control-icon") }),
2275
- S && !J && /* @__PURE__ */ k.jsx(G2, { className: Q("select-placeholder"), children: S }),
2282
+ d && !J && /* @__PURE__ */ k.jsx(G2, { className: Q("select-placeholder"), children: d }),
2276
2283
  J && /* @__PURE__ */ k.jsx("div", { className: Q("select-value"), children: F })
2277
2284
  ] }),
2278
2285
  /* @__PURE__ */ k.jsxs("div", { className: Q("controls"), children: [
@@ -2285,14 +2292,14 @@ const Q = q(o3), s3 = ({
2285
2292
  variant: L2.TERTIARY
2286
2293
  }
2287
2294
  ),
2288
- !m && /* @__PURE__ */ k.jsx(
2295
+ !p && /* @__PURE__ */ k.jsx(
2289
2296
  _,
2290
2297
  {
2291
2298
  type: "chevron",
2292
2299
  className: Q("select-control-icon", { isOpened: w.isOpen })
2293
2300
  }
2294
2301
  ),
2295
- m && /* @__PURE__ */ k.jsx(W1, { className: Q("select-control-loader") })
2302
+ p && /* @__PURE__ */ k.jsx(P1, { className: Q("select-control-loader") })
2296
2303
  ] })
2297
2304
  ]
2298
2305
  }
@@ -2309,13 +2316,13 @@ const Q = q(o3), s3 = ({
2309
2316
  isWithSelectAll: f,
2310
2317
  isWithSearch: g,
2311
2318
  isMulti: Z,
2312
- searchPlaceholder: p,
2319
+ searchPlaceholder: m,
2313
2320
  onSelectAll: y
2314
2321
  }
2315
2322
  )
2316
2323
  ] }),
2317
2324
  /* @__PURE__ */ k.jsx(
2318
- D1,
2325
+ W1,
2319
2326
  {
2320
2327
  description: s,
2321
2328
  isError: n,
@@ -2335,11 +2342,11 @@ const Q = q(o3), s3 = ({
2335
2342
  disabled: s,
2336
2343
  ...i
2337
2344
  }) => {
2338
- const { control: S, watch: m, clearErrors: u } = a1(), { fieldState: p, field: a } = R1({ name: e, rules: C, control: S }), f = n ?? m(e), g = A(s), L = (h) => {
2345
+ const { control: d, watch: p, clearErrors: S } = a1(), { fieldState: m, field: a } = R1({ name: e, rules: C, control: d }), f = n ?? p(e), g = A(s), L = (h) => {
2339
2346
  c && c(h), a.onChange(h);
2340
2347
  };
2341
- return O(() => {
2342
- s !== g.current && r && (u(e), g.current = s);
2348
+ return G(() => {
2349
+ s !== g.current && r && (S(e), g.current = s);
2343
2350
  }, [s, f]), /* @__PURE__ */ k.jsx(
2344
2351
  s3,
2345
2352
  {
@@ -2347,8 +2354,8 @@ const Q = q(o3), s3 = ({
2347
2354
  disabled: s,
2348
2355
  value: f,
2349
2356
  onChange: L,
2350
- isError: !!p?.error || l,
2351
- errorText: p?.error?.message || o,
2357
+ isError: !!m?.error || l,
2358
+ errorText: m?.error?.message || o,
2352
2359
  ...i
2353
2360
  }
2354
2361
  );
@@ -2370,10 +2377,10 @@ const Q = q(o3), s3 = ({
2370
2377
  hint: c,
2371
2378
  isError: s,
2372
2379
  errorText: i,
2373
- disabled: S,
2374
- onChangeValue: m,
2375
- className: u,
2376
- mask: p,
2380
+ disabled: d,
2381
+ onChangeValue: p,
2382
+ className: S,
2383
+ mask: m,
2377
2384
  replacementPlaceholder: a,
2378
2385
  replacement: f,
2379
2386
  onKeyDown: g,
@@ -2383,25 +2390,25 @@ const Q = q(o3), s3 = ({
2383
2390
  isTrimOnBlur: M,
2384
2391
  ...E
2385
2392
  }, w) => {
2386
- const [J, x] = z(!1), { apply: N, clean: y } = y2({ mask: p, replacement: f, replacementPlaceholder: a }), F = T(() => {
2393
+ const [J, x] = z(!1), { apply: N, clean: y } = y2({ mask: m, replacement: f, replacementPlaceholder: a }), F = T(() => {
2387
2394
  if (e)
2388
2395
  return N(e);
2389
2396
  }, [e]), D = (K) => {
2390
2397
  K.code === "Space" && !L && K.preventDefault(), g?.(K);
2391
2398
  }, H = (K) => {
2392
2399
  const Y = y(K.target.value);
2393
- m?.(Y), o?.({
2400
+ p?.(Y), o?.({
2394
2401
  ...K,
2395
2402
  target: { ...K.target, value: Y },
2396
2403
  currentTarget: { ...K.currentTarget, value: Y }
2397
2404
  });
2398
2405
  }, B = (K) => {
2399
- x(!1), M && e && m?.(e.trim()), l?.(K);
2406
+ x(!1), M && e && p?.(e.trim()), l?.(K);
2400
2407
  }, R = (K) => {
2401
2408
  x(!0), C?.(K);
2402
2409
  };
2403
- return /* @__PURE__ */ k.jsxs("label", { className: k2(u, "textarea"), children: [
2404
- n && /* @__PURE__ */ k.jsx(O1, { caption: n, hint: c }),
2410
+ return /* @__PURE__ */ k.jsxs("label", { className: k2(S, "textarea"), children: [
2411
+ n && /* @__PURE__ */ k.jsx(q1, { caption: n, hint: c }),
2405
2412
  /* @__PURE__ */ k.jsx(
2406
2413
  "textarea",
2407
2414
  {
@@ -2413,7 +2420,7 @@ const Q = q(o3), s3 = ({
2413
2420
  isResizeableHorizontal: Z,
2414
2421
  isResizeableBoth: h && Z
2415
2422
  }),
2416
- disabled: S,
2423
+ disabled: d,
2417
2424
  value: F,
2418
2425
  onFocus: R,
2419
2426
  onBlur: B,
@@ -2423,12 +2430,12 @@ const Q = q(o3), s3 = ({
2423
2430
  }
2424
2431
  ),
2425
2432
  /* @__PURE__ */ k.jsx(
2426
- D1,
2433
+ W1,
2427
2434
  {
2428
2435
  description: r,
2429
2436
  isError: s,
2430
2437
  errorText: i,
2431
- disabled: S
2438
+ disabled: d
2432
2439
  }
2433
2440
  )
2434
2441
  ] });
@@ -2445,26 +2452,26 @@ const A3 = ({
2445
2452
  disabled: c,
2446
2453
  ...s
2447
2454
  }) => {
2448
- const { control: i, clearErrors: S } = a1(), { fieldState: m, field: u } = R1({ name: e, rules: C, control: i }), p = A(c), a = (f) => {
2449
- n && n(f), u.onChange(f);
2455
+ const { control: i, clearErrors: d } = a1(), { fieldState: p, field: S } = R1({ name: e, rules: C, control: i }), m = A(c), a = (f) => {
2456
+ n && n(f), S.onChange(f);
2450
2457
  };
2451
- return O(() => {
2452
- c !== p.current && r && (S(e), p.current = c);
2458
+ return G(() => {
2459
+ c !== m.current && r && (d(e), m.current = c);
2453
2460
  }, [c]), /* @__PURE__ */ k.jsx(
2454
2461
  j2,
2455
2462
  {
2456
- ...u,
2457
- isError: !!m?.error || l,
2458
- errorText: m?.error?.message || o || "",
2463
+ ...S,
2464
+ isError: !!p?.error || l,
2465
+ errorText: p?.error?.message || o || "",
2459
2466
  onChangeValue: a,
2460
- value: u.value,
2467
+ value: S.value,
2461
2468
  disabled: c,
2462
2469
  ...s
2463
2470
  }
2464
2471
  );
2465
2472
  }, k3 = "Tooltip-module__tooltip___LjRUX", f3 = {
2466
2473
  tooltip: k3
2467
- }, f2 = q(f3), P1 = ({
2474
+ }, f2 = q(f3), Q1 = ({
2468
2475
  id: e = "tooltip",
2469
2476
  children: C,
2470
2477
  text: l,
@@ -2474,21 +2481,21 @@ const A3 = ({
2474
2481
  placementSide: c,
2475
2482
  placementAlignment: s
2476
2483
  }) => {
2477
- const i = A(null), S = I2(), m = () => {
2478
- o || S.open();
2479
- }, u = () => {
2480
- S.close();
2484
+ const i = A(null), d = I2(), p = () => {
2485
+ o || d.open();
2486
+ }, S = () => {
2487
+ d.close();
2481
2488
  };
2482
2489
  return /* @__PURE__ */ k.jsxs(
2483
2490
  "div",
2484
2491
  {
2485
2492
  className: f2(n),
2486
2493
  ref: i,
2487
- onMouseEnter: m,
2488
- onMouseLeave: u,
2494
+ onMouseEnter: p,
2495
+ onMouseLeave: S,
2489
2496
  children: [
2490
2497
  C,
2491
- S.isOpen && /* @__PURE__ */ k.jsx(
2498
+ d.isOpen && /* @__PURE__ */ k.jsx(
2492
2499
  A2,
2493
2500
  {
2494
2501
  className: f2("tooltip"),
@@ -2502,7 +2509,7 @@ const A3 = ({
2502
2509
  closeOnScroll: !0,
2503
2510
  width: "min(fit-content, 100%)",
2504
2511
  gap: r,
2505
- onClose: S.close,
2512
+ onClose: d.close,
2506
2513
  children: l
2507
2514
  }
2508
2515
  )
@@ -2513,7 +2520,7 @@ const A3 = ({
2513
2520
  "text-shorter": "TextShorter-module__text-shorter___2XK8d",
2514
2521
  content: v3,
2515
2522
  isHidden: w3
2516
- }, b1 = q(J3), G2 = ({
2523
+ }, B1 = q(J3), G2 = ({
2517
2524
  tooltip: e = !0,
2518
2525
  className: C,
2519
2526
  children: l,
@@ -2522,10 +2529,10 @@ const A3 = ({
2522
2529
  const n = /* @__PURE__ */ k.jsx(k.Fragment, { children: l }), [r, c] = z(!1), s = (i) => {
2523
2530
  c(i.currentTarget.scrollWidth > i.currentTarget.clientWidth);
2524
2531
  };
2525
- return e && r ? /* @__PURE__ */ k.jsx("div", { className: b1(C, "text-shorter"), children: /* @__PURE__ */ k.jsx(P1, { id: o, text: n, children: /* @__PURE__ */ k.jsx("div", { className: b1("content"), onMouseEnter: e ? s : void 0, children: l }) }) }) : /* @__PURE__ */ k.jsx(
2532
+ return e && r ? /* @__PURE__ */ k.jsx("div", { className: B1(C, "text-shorter"), children: /* @__PURE__ */ k.jsx(Q1, { id: o, text: n, children: /* @__PURE__ */ k.jsx("div", { className: B1("content"), onMouseEnter: e ? s : void 0, children: l }) }) }) : /* @__PURE__ */ k.jsx(
2526
2533
  "div",
2527
2534
  {
2528
- className: b1(C, "content", "text-shorter"),
2535
+ className: B1(C, "content", "text-shorter"),
2529
2536
  onMouseEnter: e ? s : void 0,
2530
2537
  children: l
2531
2538
  }
@@ -2535,13 +2542,13 @@ export {
2535
2542
  R5 as Button,
2536
2543
  E2 as ButtonSizes,
2537
2544
  L2 as ButtonVariants,
2538
- O1 as Caption,
2539
- q1 as Checkbox,
2545
+ q1 as Caption,
2546
+ F1 as Checkbox,
2540
2547
  h2 as CheckboxCaptionPosition,
2541
2548
  Y7 as CheckboxSizes,
2542
- B1 as CheckboxVariants,
2543
- j1 as DEFAULT_MASK_PLACEHOLDER,
2544
- D1 as Description,
2549
+ A1 as CheckboxVariants,
2550
+ G1 as DEFAULT_MASK_PLACEHOLDER,
2551
+ W1 as Description,
2545
2552
  I3 as Form,
2546
2553
  y3 as FormCheckbox,
2547
2554
  b3 as FormInput,
@@ -2553,7 +2560,7 @@ export {
2553
2560
  k1 as IconSize,
2554
2561
  B2 as Input,
2555
2562
  b2 as InputSizes,
2556
- W1 as Loader,
2563
+ P1 as Loader,
2557
2564
  c5 as PlacementAlignment,
2558
2565
  J2 as PlacementSide,
2559
2566
  A2 as Popover,
@@ -2566,10 +2573,10 @@ export {
2566
2573
  i5 as THOUSAND_SEPARATOR_REGEXP,
2567
2574
  G2 as TextShorter,
2568
2575
  j2 as Textarea,
2569
- P1 as Tooltip,
2576
+ Q1 as Tooltip,
2570
2577
  M1 as UI_KIT_NS,
2571
2578
  q as bindStyles,
2572
- $1 as clamp,
2579
+ e2 as clamp,
2573
2580
  s5 as computeCoordsFromPlacement,
2574
2581
  E3 as convertScientificNumberToString,
2575
2582
  a5 as convertThousands,