@arkyn/components 1.2.2 → 1.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/bundle.js CHANGED
@@ -1,6 +1,6 @@
1
- import Xe, { createContext as He, useRef as ge, useId as Nr, useContext as Ze, useState as ue } from "react";
1
+ import Xe, { createContext as He, useRef as ge, useId as $r, useContext as Ze, useState as ue } from "react";
2
2
  import { Loader2 as le, ChevronRight as Me, X as Pr } from "lucide-react";
3
- import { useActionData as wr, useLocation as $r, Link as Ir } from "@remix-run/react";
3
+ import { useActionData as wr, useLocation as Qe, Link as Ir } from "@remix-run/react";
4
4
  import { InputMask as Tr } from "@react-input/mask";
5
5
  import { AnimatePresence as Or, motion as Ue } from "framer-motion";
6
6
  var ke = { exports: {} }, oe = {};
@@ -18,18 +18,18 @@ function Fr() {
18
18
  if (Ke)
19
19
  return oe;
20
20
  Ke = 1;
21
- var n = Xe, t = Symbol.for("react.element"), i = Symbol.for("react.fragment"), o = Object.prototype.hasOwnProperty, c = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, l = { key: !0, ref: !0, __self: !0, __source: !0 };
22
- function h(f, d, m) {
23
- var g, x = {}, E = null, k = null;
24
- m !== void 0 && (E = "" + m), d.key !== void 0 && (E = "" + d.key), d.ref !== void 0 && (k = d.ref);
25
- for (g in d)
26
- o.call(d, g) && !l.hasOwnProperty(g) && (x[g] = d[g]);
27
- if (f && f.defaultProps)
28
- for (g in d = f.defaultProps, d)
29
- x[g] === void 0 && (x[g] = d[g]);
30
- return { $$typeof: t, type: f, key: E, ref: k, props: x, _owner: c.current };
21
+ var n = Xe, s = Symbol.for("react.element"), t = Symbol.for("react.fragment"), i = Object.prototype.hasOwnProperty, c = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, u = { key: !0, ref: !0, __self: !0, __source: !0 };
22
+ function d(l, h, m) {
23
+ var g, x = {}, S = null, k = null;
24
+ m !== void 0 && (S = "" + m), h.key !== void 0 && (S = "" + h.key), h.ref !== void 0 && (k = h.ref);
25
+ for (g in h)
26
+ i.call(h, g) && !u.hasOwnProperty(g) && (x[g] = h[g]);
27
+ if (l && l.defaultProps)
28
+ for (g in h = l.defaultProps, h)
29
+ x[g] === void 0 && (x[g] = h[g]);
30
+ return { $$typeof: s, type: l, key: S, ref: k, props: x, _owner: c.current };
31
31
  }
32
- return oe.Fragment = i, oe.jsx = h, oe.jsxs = h, oe;
32
+ return oe.Fragment = t, oe.jsx = d, oe.jsxs = d, oe;
33
33
  }
34
34
  var ce = {};
35
35
  /**
@@ -44,51 +44,51 @@ var ce = {};
44
44
  var Je;
45
45
  function Lr() {
46
46
  return Je || (Je = 1, process.env.NODE_ENV !== "production" && function() {
47
- var n = Xe, t = Symbol.for("react.element"), i = Symbol.for("react.portal"), o = Symbol.for("react.fragment"), c = Symbol.for("react.strict_mode"), l = Symbol.for("react.profiler"), h = Symbol.for("react.provider"), f = Symbol.for("react.context"), d = Symbol.for("react.forward_ref"), m = Symbol.for("react.suspense"), g = Symbol.for("react.suspense_list"), x = Symbol.for("react.memo"), E = Symbol.for("react.lazy"), k = Symbol.for("react.offscreen"), w = Symbol.iterator, T = "@@iterator";
47
+ var n = Xe, s = Symbol.for("react.element"), t = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), c = Symbol.for("react.strict_mode"), u = Symbol.for("react.profiler"), d = Symbol.for("react.provider"), l = Symbol.for("react.context"), h = Symbol.for("react.forward_ref"), m = Symbol.for("react.suspense"), g = Symbol.for("react.suspense_list"), x = Symbol.for("react.memo"), S = Symbol.for("react.lazy"), k = Symbol.for("react.offscreen"), P = Symbol.iterator, T = "@@iterator";
48
48
  function O(e) {
49
49
  if (e === null || typeof e != "object")
50
50
  return null;
51
- var r = w && e[w] || e[T];
51
+ var r = P && e[P] || e[T];
52
52
  return typeof r == "function" ? r : null;
53
53
  }
54
54
  var R = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
55
55
  function y(e) {
56
56
  {
57
- for (var r = arguments.length, s = new Array(r > 1 ? r - 1 : 0), u = 1; u < r; u++)
58
- s[u - 1] = arguments[u];
59
- S("error", e, s);
57
+ for (var r = arguments.length, a = new Array(r > 1 ? r - 1 : 0), f = 1; f < r; f++)
58
+ a[f - 1] = arguments[f];
59
+ C("error", e, a);
60
60
  }
61
61
  }
62
- function S(e, r, s) {
62
+ function C(e, r, a) {
63
63
  {
64
- var u = R.ReactDebugCurrentFrame, b = u.getStackAddendum();
65
- b !== "" && (r += "%s", s = s.concat([b]));
66
- var _ = s.map(function(p) {
64
+ var f = R.ReactDebugCurrentFrame, b = f.getStackAddendum();
65
+ b !== "" && (r += "%s", a = a.concat([b]));
66
+ var _ = a.map(function(p) {
67
67
  return String(p);
68
68
  });
69
69
  _.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, _);
70
70
  }
71
71
  }
72
- var F = !1, W = !1, z = !1, D = !1, B = !1, $;
73
- $ = Symbol.for("react.module.reference");
72
+ var F = !1, W = !1, z = !1, D = !1, B = !1, w;
73
+ w = Symbol.for("react.module.reference");
74
74
  function M(e) {
75
- return !!(typeof e == "string" || typeof e == "function" || e === o || e === l || B || e === c || e === m || e === g || D || e === k || F || W || z || typeof e == "object" && e !== null && (e.$$typeof === E || e.$$typeof === x || e.$$typeof === h || e.$$typeof === f || e.$$typeof === d || // This needs to include all possible module reference object
75
+ return !!(typeof e == "string" || typeof e == "function" || e === i || e === u || B || e === c || e === m || e === g || D || e === k || F || W || z || typeof e == "object" && e !== null && (e.$$typeof === S || e.$$typeof === x || e.$$typeof === d || e.$$typeof === l || e.$$typeof === h || // This needs to include all possible module reference object
76
76
  // types supported by any Flight configuration anywhere since
77
77
  // we don't know which Flight build this will end up being used
78
78
  // with.
79
- e.$$typeof === $ || e.getModuleId !== void 0));
79
+ e.$$typeof === w || e.getModuleId !== void 0));
80
80
  }
81
- function P(e, r, s) {
82
- var u = e.displayName;
83
- if (u)
84
- return u;
81
+ function $(e, r, a) {
82
+ var f = e.displayName;
83
+ if (f)
84
+ return f;
85
85
  var b = r.displayName || r.name || "";
86
- return b !== "" ? s + "(" + b + ")" : s;
86
+ return b !== "" ? a + "(" + b + ")" : a;
87
87
  }
88
88
  function G(e) {
89
89
  return e.displayName || "Context";
90
90
  }
91
- function C(e) {
91
+ function E(e) {
92
92
  if (e == null)
93
93
  return null;
94
94
  if (typeof e.tag == "number" && y("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
@@ -96,11 +96,11 @@ function Lr() {
96
96
  if (typeof e == "string")
97
97
  return e;
98
98
  switch (e) {
99
- case o:
100
- return "Fragment";
101
99
  case i:
100
+ return "Fragment";
101
+ case t:
102
102
  return "Portal";
103
- case l:
103
+ case u:
104
104
  return "Profiler";
105
105
  case c:
106
106
  return "StrictMode";
@@ -111,21 +111,21 @@ function Lr() {
111
111
  }
112
112
  if (typeof e == "object")
113
113
  switch (e.$$typeof) {
114
- case f:
114
+ case l:
115
115
  var r = e;
116
116
  return G(r) + ".Consumer";
117
- case h:
118
- var s = e;
119
- return G(s._context) + ".Provider";
120
117
  case d:
121
- return P(e, e.render, "ForwardRef");
118
+ var a = e;
119
+ return G(a._context) + ".Provider";
120
+ case h:
121
+ return $(e, e.render, "ForwardRef");
122
122
  case x:
123
- var u = e.displayName || null;
124
- return u !== null ? u : C(e.type) || "Memo";
125
- case E: {
123
+ var f = e.displayName || null;
124
+ return f !== null ? f : E(e.type) || "Memo";
125
+ case S: {
126
126
  var b = e, _ = b._payload, p = b._init;
127
127
  try {
128
- return C(p(_));
128
+ return E(p(_));
129
129
  } catch {
130
130
  return null;
131
131
  }
@@ -160,7 +160,7 @@ function Lr() {
160
160
  U++;
161
161
  }
162
162
  }
163
- function Pe() {
163
+ function $e() {
164
164
  {
165
165
  if (U--, U === 0) {
166
166
  var e = {
@@ -196,14 +196,14 @@ function Lr() {
196
196
  }
197
197
  }
198
198
  var ye = R.ReactCurrentDispatcher, be;
199
- function de(e, r, s) {
199
+ function de(e, r, a) {
200
200
  {
201
201
  if (be === void 0)
202
202
  try {
203
203
  throw Error();
204
204
  } catch (b) {
205
- var u = b.stack.trim().match(/\n( *(at )?)/);
206
- be = u && u[1] || "";
205
+ var f = b.stack.trim().match(/\n( *(at )?)/);
206
+ be = f && f[1] || "";
207
207
  }
208
208
  return `
209
209
  ` + be + e;
@@ -211,18 +211,18 @@ function Lr() {
211
211
  }
212
212
  var xe = !1, he;
213
213
  {
214
- var tr = typeof WeakMap == "function" ? WeakMap : Map;
215
- he = new tr();
214
+ var sr = typeof WeakMap == "function" ? WeakMap : Map;
215
+ he = new sr();
216
216
  }
217
- function we(e, r) {
217
+ function Pe(e, r) {
218
218
  if (!e || xe)
219
219
  return "";
220
220
  {
221
- var s = he.get(e);
222
- if (s !== void 0)
223
- return s;
221
+ var a = he.get(e);
222
+ if (a !== void 0)
223
+ return a;
224
224
  }
225
- var u;
225
+ var f;
226
226
  xe = !0;
227
227
  var b = Error.prepareStackTrace;
228
228
  Error.prepareStackTrace = void 0;
@@ -241,14 +241,14 @@ function Lr() {
241
241
  try {
242
242
  Reflect.construct(p, []);
243
243
  } catch (L) {
244
- u = L;
244
+ f = L;
245
245
  }
246
246
  Reflect.construct(e, [], p);
247
247
  } else {
248
248
  try {
249
249
  p.call();
250
250
  } catch (L) {
251
- u = L;
251
+ f = L;
252
252
  }
253
253
  e.call(p.prototype);
254
254
  }
@@ -256,14 +256,14 @@ function Lr() {
256
256
  try {
257
257
  throw Error();
258
258
  } catch (L) {
259
- u = L;
259
+ f = L;
260
260
  }
261
261
  e();
262
262
  }
263
263
  } catch (L) {
264
- if (L && u && typeof L.stack == "string") {
264
+ if (L && f && typeof L.stack == "string") {
265
265
  for (var v = L.stack.split(`
266
- `), I = u.stack.split(`
266
+ `), I = f.stack.split(`
267
267
  `), j = v.length - 1, N = I.length - 1; j >= 1 && N >= 0 && v[j] !== I[N]; )
268
268
  N--;
269
269
  for (; j >= 1 && N >= 0; j--, N--)
@@ -280,23 +280,23 @@ function Lr() {
280
280
  }
281
281
  }
282
282
  } finally {
283
- xe = !1, ye.current = _, Pe(), Error.prepareStackTrace = b;
283
+ xe = !1, ye.current = _, $e(), Error.prepareStackTrace = b;
284
284
  }
285
285
  var te = e ? e.displayName || e.name : "", X = te ? de(te) : "";
286
286
  return typeof e == "function" && he.set(e, X), X;
287
287
  }
288
- function sr(e, r, s) {
289
- return we(e, !1);
288
+ function ar(e, r, a) {
289
+ return Pe(e, !1);
290
290
  }
291
291
  function ir(e) {
292
292
  var r = e.prototype;
293
293
  return !!(r && r.isReactComponent);
294
294
  }
295
- function me(e, r, s) {
295
+ function me(e, r, a) {
296
296
  if (e == null)
297
297
  return "";
298
298
  if (typeof e == "function")
299
- return we(e, ir(e));
299
+ return Pe(e, ir(e));
300
300
  if (typeof e == "string")
301
301
  return de(e);
302
302
  switch (e) {
@@ -307,58 +307,58 @@ function Lr() {
307
307
  }
308
308
  if (typeof e == "object")
309
309
  switch (e.$$typeof) {
310
- case d:
311
- return sr(e.render);
310
+ case h:
311
+ return ar(e.render);
312
312
  case x:
313
- return me(e.type, r, s);
314
- case E: {
315
- var u = e, b = u._payload, _ = u._init;
313
+ return me(e.type, r, a);
314
+ case S: {
315
+ var f = e, b = f._payload, _ = f._init;
316
316
  try {
317
- return me(_(b), r, s);
317
+ return me(_(b), r, a);
318
318
  } catch {
319
319
  }
320
320
  }
321
321
  }
322
322
  return "";
323
323
  }
324
- var ie = Object.prototype.hasOwnProperty, $e = {}, Ie = R.ReactDebugCurrentFrame;
324
+ var ae = Object.prototype.hasOwnProperty, we = {}, Ie = R.ReactDebugCurrentFrame;
325
325
  function ve(e) {
326
326
  if (e) {
327
- var r = e._owner, s = me(e.type, e._source, r ? r.type : null);
328
- Ie.setExtraStackFrame(s);
327
+ var r = e._owner, a = me(e.type, e._source, r ? r.type : null);
328
+ Ie.setExtraStackFrame(a);
329
329
  } else
330
330
  Ie.setExtraStackFrame(null);
331
331
  }
332
- function ar(e, r, s, u, b) {
332
+ function or(e, r, a, f, b) {
333
333
  {
334
- var _ = Function.call.bind(ie);
334
+ var _ = Function.call.bind(ae);
335
335
  for (var p in e)
336
336
  if (_(e, p)) {
337
337
  var v = void 0;
338
338
  try {
339
339
  if (typeof e[p] != "function") {
340
- var I = Error((u || "React class") + ": " + s + " type `" + p + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[p] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
340
+ var I = Error((f || "React class") + ": " + a + " type `" + p + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[p] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
341
341
  throw I.name = "Invariant Violation", I;
342
342
  }
343
- v = e[p](r, p, u, s, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
343
+ v = e[p](r, p, f, a, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
344
344
  } catch (j) {
345
345
  v = j;
346
346
  }
347
- v && !(v instanceof Error) && (ve(b), y("%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).", u || "React class", s, p, typeof v), ve(null)), v instanceof Error && !(v.message in $e) && ($e[v.message] = !0, ve(b), y("Failed %s type: %s", s, v.message), ve(null));
347
+ v && !(v instanceof Error) && (ve(b), y("%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).", f || "React class", a, p, typeof v), ve(null)), v instanceof Error && !(v.message in we) && (we[v.message] = !0, ve(b), y("Failed %s type: %s", a, v.message), ve(null));
348
348
  }
349
349
  }
350
350
  }
351
- var or = Array.isArray;
351
+ var cr = Array.isArray;
352
352
  function _e(e) {
353
- return or(e);
353
+ return cr(e);
354
354
  }
355
- function cr(e) {
355
+ function ur(e) {
356
356
  {
357
- var r = typeof Symbol == "function" && Symbol.toStringTag, s = r && e[Symbol.toStringTag] || e.constructor.name || "Object";
358
- return s;
357
+ var r = typeof Symbol == "function" && Symbol.toStringTag, a = r && e[Symbol.toStringTag] || e.constructor.name || "Object";
358
+ return a;
359
359
  }
360
360
  }
361
- function ur(e) {
361
+ function lr(e) {
362
362
  try {
363
363
  return Te(e), !1;
364
364
  } catch {
@@ -369,68 +369,68 @@ function Lr() {
369
369
  return "" + e;
370
370
  }
371
371
  function Oe(e) {
372
- if (ur(e))
373
- return y("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", cr(e)), Te(e);
372
+ if (lr(e))
373
+ return y("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", ur(e)), Te(e);
374
374
  }
375
- var ae = R.ReactCurrentOwner, lr = {
375
+ var ie = R.ReactCurrentOwner, fr = {
376
376
  key: !0,
377
377
  ref: !0,
378
378
  __self: !0,
379
379
  __source: !0
380
380
  }, Fe, Le, Re;
381
381
  Re = {};
382
- function fr(e) {
383
- if (ie.call(e, "ref")) {
382
+ function dr(e) {
383
+ if (ae.call(e, "ref")) {
384
384
  var r = Object.getOwnPropertyDescriptor(e, "ref").get;
385
385
  if (r && r.isReactWarning)
386
386
  return !1;
387
387
  }
388
388
  return e.ref !== void 0;
389
389
  }
390
- function dr(e) {
391
- if (ie.call(e, "key")) {
390
+ function hr(e) {
391
+ if (ae.call(e, "key")) {
392
392
  var r = Object.getOwnPropertyDescriptor(e, "key").get;
393
393
  if (r && r.isReactWarning)
394
394
  return !1;
395
395
  }
396
396
  return e.key !== void 0;
397
397
  }
398
- function hr(e, r) {
399
- if (typeof e.ref == "string" && ae.current && r && ae.current.stateNode !== r) {
400
- var s = C(ae.current.type);
401
- Re[s] || (y('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', C(ae.current.type), e.ref), Re[s] = !0);
398
+ function mr(e, r) {
399
+ if (typeof e.ref == "string" && ie.current && r && ie.current.stateNode !== r) {
400
+ var a = E(ie.current.type);
401
+ Re[a] || (y('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', E(ie.current.type), e.ref), Re[a] = !0);
402
402
  }
403
403
  }
404
- function mr(e, r) {
404
+ function vr(e, r) {
405
405
  {
406
- var s = function() {
406
+ var a = function() {
407
407
  Fe || (Fe = !0, y("%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)", r));
408
408
  };
409
- s.isReactWarning = !0, Object.defineProperty(e, "key", {
410
- get: s,
409
+ a.isReactWarning = !0, Object.defineProperty(e, "key", {
410
+ get: a,
411
411
  configurable: !0
412
412
  });
413
413
  }
414
414
  }
415
- function vr(e, r) {
415
+ function pr(e, r) {
416
416
  {
417
- var s = function() {
417
+ var a = function() {
418
418
  Le || (Le = !0, y("%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)", r));
419
419
  };
420
- s.isReactWarning = !0, Object.defineProperty(e, "ref", {
421
- get: s,
420
+ a.isReactWarning = !0, Object.defineProperty(e, "ref", {
421
+ get: a,
422
422
  configurable: !0
423
423
  });
424
424
  }
425
425
  }
426
- var pr = function(e, r, s, u, b, _, p) {
426
+ var gr = function(e, r, a, f, b, _, p) {
427
427
  var v = {
428
428
  // This tag allows us to uniquely identify this as a React Element
429
- $$typeof: t,
429
+ $$typeof: s,
430
430
  // Built-in properties that belong on the element
431
431
  type: e,
432
432
  key: r,
433
- ref: s,
433
+ ref: a,
434
434
  props: p,
435
435
  // Record the component responsible for creating this element.
436
436
  _owner: _
@@ -444,7 +444,7 @@ function Lr() {
444
444
  configurable: !1,
445
445
  enumerable: !1,
446
446
  writable: !1,
447
- value: u
447
+ value: f
448
448
  }), Object.defineProperty(v, "_source", {
449
449
  configurable: !1,
450
450
  enumerable: !1,
@@ -452,12 +452,12 @@ function Lr() {
452
452
  value: b
453
453
  }), Object.freeze && (Object.freeze(v.props), Object.freeze(v)), v;
454
454
  };
455
- function gr(e, r, s, u, b) {
455
+ function yr(e, r, a, f, b) {
456
456
  {
457
457
  var _, p = {}, v = null, I = null;
458
- s !== void 0 && (Oe(s), v = "" + s), dr(r) && (Oe(r.key), v = "" + r.key), fr(r) && (I = r.ref, hr(r, b));
458
+ a !== void 0 && (Oe(a), v = "" + a), hr(r) && (Oe(r.key), v = "" + r.key), dr(r) && (I = r.ref, mr(r, b));
459
459
  for (_ in r)
460
- ie.call(r, _) && !lr.hasOwnProperty(_) && (p[_] = r[_]);
460
+ ae.call(r, _) && !fr.hasOwnProperty(_) && (p[_] = r[_]);
461
461
  if (e && e.defaultProps) {
462
462
  var j = e.defaultProps;
463
463
  for (_ in j)
@@ -465,28 +465,28 @@ function Lr() {
465
465
  }
466
466
  if (v || I) {
467
467
  var N = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
468
- v && mr(p, N), I && vr(p, N);
468
+ v && vr(p, N), I && pr(p, N);
469
469
  }
470
- return pr(e, v, I, b, u, ae.current, p);
470
+ return gr(e, v, I, b, f, ie.current, p);
471
471
  }
472
472
  }
473
- var Ee = R.ReactCurrentOwner, ze = R.ReactDebugCurrentFrame;
473
+ var Se = R.ReactCurrentOwner, ze = R.ReactDebugCurrentFrame;
474
474
  function ne(e) {
475
475
  if (e) {
476
- var r = e._owner, s = me(e.type, e._source, r ? r.type : null);
477
- ze.setExtraStackFrame(s);
476
+ var r = e._owner, a = me(e.type, e._source, r ? r.type : null);
477
+ ze.setExtraStackFrame(a);
478
478
  } else
479
479
  ze.setExtraStackFrame(null);
480
480
  }
481
- var Ce;
482
- Ce = !1;
483
- function Se(e) {
484
- return typeof e == "object" && e !== null && e.$$typeof === t;
481
+ var Ee;
482
+ Ee = !1;
483
+ function Ce(e) {
484
+ return typeof e == "object" && e !== null && e.$$typeof === s;
485
485
  }
486
486
  function De() {
487
487
  {
488
- if (Ee.current) {
489
- var e = C(Ee.current.type);
488
+ if (Se.current) {
489
+ var e = E(Se.current.type);
490
490
  if (e)
491
491
  return `
492
492
 
@@ -495,26 +495,26 @@ Check the render method of \`` + e + "`.";
495
495
  return "";
496
496
  }
497
497
  }
498
- function yr(e) {
498
+ function br(e) {
499
499
  {
500
500
  if (e !== void 0) {
501
- var r = e.fileName.replace(/^.*[\\\/]/, ""), s = e.lineNumber;
501
+ var r = e.fileName.replace(/^.*[\\\/]/, ""), a = e.lineNumber;
502
502
  return `
503
503
 
504
- Check your code at ` + r + ":" + s + ".";
504
+ Check your code at ` + r + ":" + a + ".";
505
505
  }
506
506
  return "";
507
507
  }
508
508
  }
509
509
  var Ae = {};
510
- function br(e) {
510
+ function xr(e) {
511
511
  {
512
512
  var r = De();
513
513
  if (!r) {
514
- var s = typeof e == "string" ? e : e.displayName || e.name;
515
- s && (r = `
514
+ var a = typeof e == "string" ? e : e.displayName || e.name;
515
+ a && (r = `
516
516
 
517
- Check the top-level render call using <` + s + ">.");
517
+ Check the top-level render call using <` + a + ">.");
518
518
  }
519
519
  return r;
520
520
  }
@@ -524,12 +524,12 @@ Check the top-level render call using <` + s + ">.");
524
524
  if (!e._store || e._store.validated || e.key != null)
525
525
  return;
526
526
  e._store.validated = !0;
527
- var s = br(r);
528
- if (Ae[s])
527
+ var a = xr(r);
528
+ if (Ae[a])
529
529
  return;
530
- Ae[s] = !0;
531
- var u = "";
532
- e && e._owner && e._owner !== Ee.current && (u = " It was passed a child from " + C(e._owner.type) + "."), ne(e), y('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', s, u), ne(null);
530
+ Ae[a] = !0;
531
+ var f = "";
532
+ e && e._owner && e._owner !== Se.current && (f = " It was passed a child from " + E(e._owner.type) + "."), ne(e), y('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', a, f), ne(null);
533
533
  }
534
534
  }
535
535
  function Be(e, r) {
@@ -537,51 +537,51 @@ Check the top-level render call using <` + s + ">.");
537
537
  if (typeof e != "object")
538
538
  return;
539
539
  if (_e(e))
540
- for (var s = 0; s < e.length; s++) {
541
- var u = e[s];
542
- Se(u) && We(u, r);
540
+ for (var a = 0; a < e.length; a++) {
541
+ var f = e[a];
542
+ Ce(f) && We(f, r);
543
543
  }
544
- else if (Se(e))
544
+ else if (Ce(e))
545
545
  e._store && (e._store.validated = !0);
546
546
  else if (e) {
547
547
  var b = O(e);
548
548
  if (typeof b == "function" && b !== e.entries)
549
549
  for (var _ = b.call(e), p; !(p = _.next()).done; )
550
- Se(p.value) && We(p.value, r);
550
+ Ce(p.value) && We(p.value, r);
551
551
  }
552
552
  }
553
553
  }
554
- function xr(e) {
554
+ function _r(e) {
555
555
  {
556
556
  var r = e.type;
557
557
  if (r == null || typeof r == "string")
558
558
  return;
559
- var s;
559
+ var a;
560
560
  if (typeof r == "function")
561
- s = r.propTypes;
562
- else if (typeof r == "object" && (r.$$typeof === d || // Note: Memo only checks outer props here.
561
+ a = r.propTypes;
562
+ else if (typeof r == "object" && (r.$$typeof === h || // Note: Memo only checks outer props here.
563
563
  // Inner props are checked in the reconciler.
564
564
  r.$$typeof === x))
565
- s = r.propTypes;
565
+ a = r.propTypes;
566
566
  else
567
567
  return;
568
- if (s) {
569
- var u = C(r);
570
- ar(s, e.props, "prop", u, e);
571
- } else if (r.PropTypes !== void 0 && !Ce) {
572
- Ce = !0;
573
- var b = C(r);
568
+ if (a) {
569
+ var f = E(r);
570
+ or(a, e.props, "prop", f, e);
571
+ } else if (r.PropTypes !== void 0 && !Ee) {
572
+ Ee = !0;
573
+ var b = E(r);
574
574
  y("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", b || "Unknown");
575
575
  }
576
576
  typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && y("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
577
577
  }
578
578
  }
579
- function _r(e) {
579
+ function Rr(e) {
580
580
  {
581
- for (var r = Object.keys(e.props), s = 0; s < r.length; s++) {
582
- var u = r[s];
583
- if (u !== "children" && u !== "key") {
584
- ne(e), y("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", u), ne(null);
581
+ for (var r = Object.keys(e.props), a = 0; a < r.length; a++) {
582
+ var f = r[a];
583
+ if (f !== "children" && f !== "key") {
584
+ ne(e), y("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", f), ne(null);
585
585
  break;
586
586
  }
587
587
  }
@@ -589,24 +589,24 @@ Check the top-level render call using <` + s + ">.");
589
589
  }
590
590
  }
591
591
  var Ve = {};
592
- function Ye(e, r, s, u, b, _) {
592
+ function Ye(e, r, a, f, b, _) {
593
593
  {
594
594
  var p = M(e);
595
595
  if (!p) {
596
596
  var v = "";
597
597
  (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).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.");
598
- var I = yr(b);
598
+ var I = br(b);
599
599
  I ? v += I : v += De();
600
600
  var j;
601
- e === null ? j = "null" : _e(e) ? j = "array" : e !== void 0 && e.$$typeof === t ? (j = "<" + (C(e.type) || "Unknown") + " />", v = " Did you accidentally export a JSX literal instead of a component?") : j = typeof e, y("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", j, v);
601
+ e === null ? j = "null" : _e(e) ? j = "array" : e !== void 0 && e.$$typeof === s ? (j = "<" + (E(e.type) || "Unknown") + " />", v = " Did you accidentally export a JSX literal instead of a component?") : j = typeof e, y("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", j, v);
602
602
  }
603
- var N = gr(e, r, s, b, _);
603
+ var N = yr(e, r, a, b, _);
604
604
  if (N == null)
605
605
  return N;
606
606
  if (p) {
607
607
  var Y = r.children;
608
608
  if (Y !== void 0)
609
- if (u)
609
+ if (f)
610
610
  if (_e(Y)) {
611
611
  for (var te = 0; te < Y.length; te++)
612
612
  Be(Y[te], e);
@@ -616,135 +616,139 @@ Check the top-level render call using <` + s + ">.");
616
616
  else
617
617
  Be(Y, e);
618
618
  }
619
- if (ie.call(r, "key")) {
620
- var X = C(e), L = Object.keys(r).filter(function(kr) {
621
- return kr !== "key";
619
+ if (ae.call(r, "key")) {
620
+ var X = E(e), L = Object.keys(r).filter(function(Nr) {
621
+ return Nr !== "key";
622
622
  }), je = L.length > 0 ? "{key: someKey, " + L.join(": ..., ") + ": ...}" : "{key: someKey}";
623
623
  if (!Ve[X + je]) {
624
- var jr = L.length > 0 ? "{" + L.join(": ..., ") + ": ...}" : "{}";
624
+ var kr = L.length > 0 ? "{" + L.join(": ..., ") + ": ...}" : "{}";
625
625
  y(`A props object containing a "key" prop is being spread into JSX:
626
626
  let props = %s;
627
627
  <%s {...props} />
628
628
  React keys must be passed directly to JSX without using spread:
629
629
  let props = %s;
630
- <%s key={someKey} {...props} />`, je, X, jr, X), Ve[X + je] = !0;
630
+ <%s key={someKey} {...props} />`, je, X, kr, X), Ve[X + je] = !0;
631
631
  }
632
632
  }
633
- return e === o ? _r(N) : xr(N), N;
633
+ return e === i ? Rr(N) : _r(N), N;
634
634
  }
635
635
  }
636
- function Rr(e, r, s) {
637
- return Ye(e, r, s, !0);
636
+ function Sr(e, r, a) {
637
+ return Ye(e, r, a, !0);
638
638
  }
639
- function Er(e, r, s) {
640
- return Ye(e, r, s, !1);
639
+ function Er(e, r, a) {
640
+ return Ye(e, r, a, !1);
641
641
  }
642
- var Cr = Er, Sr = Rr;
643
- ce.Fragment = o, ce.jsx = Cr, ce.jsxs = Sr;
642
+ var Cr = Er, jr = Sr;
643
+ ce.Fragment = i, ce.jsx = Cr, ce.jsxs = jr;
644
644
  }()), ce;
645
645
  }
646
646
  process.env.NODE_ENV === "production" ? ke.exports = Fr() : ke.exports = Lr();
647
- var a = ke.exports;
648
- function pe(n, t) {
649
- return t ? /* @__PURE__ */ a.jsx(t, { size: n, strokeWidth: 2.5 }) : /* @__PURE__ */ a.jsx(a.Fragment, {});
647
+ var o = ke.exports;
648
+ function pe(n, s) {
649
+ return s ? /* @__PURE__ */ o.jsx(s, { size: n, strokeWidth: 2.5 }) : /* @__PURE__ */ o.jsx(o.Fragment, {});
650
650
  }
651
651
  function zr(n) {
652
652
  const {
653
- variant: t = "ghost",
654
- scheme: i = "primary",
655
- size: o = "md",
653
+ variant: s = "ghost",
654
+ scheme: t = "primary",
655
+ size: i = "md",
656
656
  leftIcon: c,
657
- rightIcon: l,
658
- className: h = "",
659
- children: f,
660
- ...d
661
- } = n, g = { md: 12, lg: 14 }[o];
657
+ rightIcon: u,
658
+ className: d = "",
659
+ children: l,
660
+ ...h
661
+ } = n, g = { md: 12, lg: 14 }[i];
662
662
  return {
663
- className: `arkyn_badge ${t} ${i} ${o} ${h}`.trim(),
664
- children: f,
663
+ className: `arkyn_badge ${s} ${t} ${i} ${d}`.trim(),
664
+ children: l,
665
665
  leftIcon: pe(g, c),
666
- rightIcon: pe(g, l),
667
- ...d
666
+ rightIcon: pe(g, u),
667
+ ...h
668
668
  };
669
669
  }
670
670
  function ln(n) {
671
- const { leftIcon: t, children: i, rightIcon: o, ...c } = zr(n);
672
- return /* @__PURE__ */ a.jsxs("div", { ...c, children: [
671
+ const { leftIcon: s, children: t, rightIcon: i, ...c } = zr(n);
672
+ return /* @__PURE__ */ o.jsxs("div", { ...c, children: [
673
+ s,
673
674
  t,
674
- i,
675
- o
675
+ i
676
676
  ] });
677
677
  }
678
678
  function fn(n) {
679
679
  const {
680
- className: t,
681
- orientation: i = "horizontal",
682
- ...o
683
- } = n, c = `arkyn_divider ${i} ${t}`;
684
- return /* @__PURE__ */ a.jsx("div", { className: c, ...o });
680
+ className: s,
681
+ orientation: t = "horizontal",
682
+ ...i
683
+ } = n, c = `arkyn_divider ${t} ${s}`;
684
+ return /* @__PURE__ */ o.jsx("div", { className: c, ...i });
685
+ }
686
+ function dn({ className: n, ...s }) {
687
+ const t = "arkyn_skeleton " + n;
688
+ return /* @__PURE__ */ o.jsx("div", { className: t.trim(), ...s });
685
689
  }
686
690
  function Dr(n) {
687
691
  const {
688
- isLoading: t = !1,
689
- scheme: i = "primary",
690
- variant: o = "solid",
692
+ isLoading: s = !1,
693
+ scheme: t = "primary",
694
+ variant: i = "solid",
691
695
  loadingText: c,
692
- size: l = "md",
693
- leftIcon: h,
694
- rightIcon: f,
695
- disabled: d,
696
+ size: u = "md",
697
+ leftIcon: d,
698
+ rightIcon: l,
699
+ disabled: h,
696
700
  className: m = "",
697
701
  children: g,
698
702
  ...x
699
- } = n, k = { xs: 12, sm: 16, md: 20, lg: 24 }[l];
703
+ } = n, k = { xs: 12, sm: 16, md: 20, lg: 24 }[u];
700
704
  return {
701
- className: `arkyn_button loading_text_${!!c} ${o} ${i} ${l} loading_${t} ${m}`.trim(),
705
+ className: `arkyn_button loading_text_${!!c} ${i} ${t} ${u} loading_${s} ${m}`.trim(),
702
706
  loadingText: c,
703
707
  children: g,
704
708
  iconSize: k,
705
- disabled: d || t,
706
- leftIcon: pe(k, h),
707
- rightIcon: pe(k, f),
709
+ disabled: h || s,
710
+ leftIcon: pe(k, d),
711
+ rightIcon: pe(k, l),
708
712
  ...x
709
713
  };
710
714
  }
711
- function dn(n) {
712
- const { leftIcon: t, rightIcon: i, iconSize: o, children: c, loadingText: l, ...h } = Dr(n);
713
- return /* @__PURE__ */ a.jsxs("button", { ...h, children: [
714
- /* @__PURE__ */ a.jsxs("div", { className: "spinner", children: [
715
- /* @__PURE__ */ a.jsx(le, { size: o, strokeWidth: 2.5 }),
716
- l && l
715
+ function hn(n) {
716
+ const { leftIcon: s, rightIcon: t, iconSize: i, children: c, loadingText: u, ...d } = Dr(n);
717
+ return /* @__PURE__ */ o.jsxs("button", { ...d, children: [
718
+ /* @__PURE__ */ o.jsxs("div", { className: "spinner", children: [
719
+ /* @__PURE__ */ o.jsx(le, { size: i, strokeWidth: 2.5 }),
720
+ u && u
717
721
  ] }),
718
- /* @__PURE__ */ a.jsxs("div", { className: "content", children: [
719
- t,
722
+ /* @__PURE__ */ o.jsxs("div", { className: "content", children: [
723
+ s,
720
724
  c,
721
- i
725
+ t
722
726
  ] })
723
727
  ] });
724
728
  }
725
- const Qe = He({});
726
- function hn({ children: n, ...t }) {
727
- var f, d;
728
- const i = wr(), o = ge(null), c = ((f = o.current) == null ? void 0 : f.name) || "", l = ((d = i == null ? void 0 : i.fieldErrors) == null ? void 0 : d[c]) || null, h = Nr();
729
- return /* @__PURE__ */ a.jsx(Qe.Provider, { value: { error: l, id: h, inputRef: o }, children: /* @__PURE__ */ a.jsx("section", { className: "arkyn_form_controller", ...t, children: n }) });
729
+ const er = He({});
730
+ function mn({ children: n, ...s }) {
731
+ var l, h;
732
+ const t = wr(), i = ge(null), c = ((l = i.current) == null ? void 0 : l.name) || "", u = ((h = t == null ? void 0 : t.fieldErrors) == null ? void 0 : h[c]) || null, d = $r();
733
+ return /* @__PURE__ */ o.jsx(er.Provider, { value: { error: u, id: d, inputRef: i }, children: /* @__PURE__ */ o.jsx("section", { className: "arkyn_form_controller", ...s, children: n }) });
730
734
  }
731
735
  function fe() {
732
- return Ze(Qe);
736
+ return Ze(er);
733
737
  }
734
- function mn({ children: n }) {
735
- const { error: t } = fe();
736
- return t ? /* @__PURE__ */ a.jsx("strong", { className: "arkyn_form_error", children: n || t }) : /* @__PURE__ */ a.jsx(a.Fragment, {});
738
+ function vn({ children: n }) {
739
+ const { error: s } = fe();
740
+ return n ? /* @__PURE__ */ o.jsx("strong", { className: "arkyn_form_error", children: n }) : s ? /* @__PURE__ */ o.jsx("strong", { className: "arkyn_form_error", children: s }) : /* @__PURE__ */ o.jsx(o.Fragment, {});
737
741
  }
738
742
  function Ar(n) {
739
- const { showAsterisk: t = !1, className: i = "", ...o } = n;
743
+ const { showAsterisk: s = !1, className: t = "", ...i } = n;
740
744
  return {
741
- className: `arkyn_form_label ${t ? "show-asterisk" : ""} ${i}`.trim(),
742
- ...o
745
+ className: `arkyn_form_label ${s ? "show-asterisk" : ""} ${t}`.trim(),
746
+ ...i
743
747
  };
744
748
  }
745
- function vn(n) {
746
- const { id: t } = fe();
747
- return /* @__PURE__ */ a.jsx("label", { ...Ar(n), htmlFor: t });
749
+ function pn(n) {
750
+ const { id: s } = fe();
751
+ return /* @__PURE__ */ o.jsx("label", { ...Ar(n), htmlFor: s });
748
752
  }
749
753
  const qe = {
750
754
  xs: 12,
@@ -752,285 +756,285 @@ const qe = {
752
756
  md: 20,
753
757
  lg: 24
754
758
  };
755
- function pn(n) {
759
+ function gn(n) {
756
760
  const {
757
- isLoading: t = !1,
758
- scheme: i = "primary",
759
- variant: o = "solid",
761
+ isLoading: s = !1,
762
+ scheme: t = "primary",
763
+ variant: i = "solid",
760
764
  size: c = "md",
761
- icon: l,
762
- disabled: h,
763
- className: f = "",
764
- ...d
765
- } = n, m = `arkyn_icon_button ${o} ${i} ${c} loading_${t} ${f}`;
766
- return /* @__PURE__ */ a.jsxs(
765
+ icon: u,
766
+ disabled: d,
767
+ className: l = "",
768
+ ...h
769
+ } = n, m = `arkyn_icon_button ${i} ${t} ${c} loading_${s} ${l}`;
770
+ return /* @__PURE__ */ o.jsxs(
767
771
  "button",
768
772
  {
769
- disabled: h || t,
773
+ disabled: d || s,
770
774
  className: m.trim(),
771
- ...d,
775
+ ...h,
772
776
  children: [
773
- /* @__PURE__ */ a.jsx("div", { className: "spinner", children: /* @__PURE__ */ a.jsx(le, { size: qe[c], strokeWidth: 2.5 }) }),
774
- /* @__PURE__ */ a.jsx("div", { className: "content " + c, children: /* @__PURE__ */ a.jsx(l, { size: qe[c], strokeWidth: 2.5 }) })
777
+ /* @__PURE__ */ o.jsx("div", { className: "spinner", children: /* @__PURE__ */ o.jsx(le, { size: qe[c], strokeWidth: 2.5 }) }),
778
+ /* @__PURE__ */ o.jsx("div", { className: "content " + c, children: /* @__PURE__ */ o.jsx(u, { size: qe[c], strokeWidth: 2.5 }) })
775
779
  ]
776
780
  }
777
781
  );
778
782
  }
779
- function se(n, t, i) {
783
+ function se(n, s, t) {
780
784
  if (!n)
781
- return /* @__PURE__ */ a.jsx(a.Fragment, {});
785
+ return /* @__PURE__ */ o.jsx(o.Fragment, {});
782
786
  if (typeof n == "string")
783
- return /* @__PURE__ */ a.jsx("p", { className: i, children: n });
784
- const o = n;
785
- return /* @__PURE__ */ a.jsx("p", { className: i, children: /* @__PURE__ */ a.jsx(o, { color: "var(--secondary-600)", size: t, strokeWidth: 2.5 }) });
787
+ return /* @__PURE__ */ o.jsx("p", { className: t, children: n });
788
+ const i = n;
789
+ return /* @__PURE__ */ o.jsx("p", { className: t, children: /* @__PURE__ */ o.jsx(i, { color: "var(--secondary-600)", size: s, strokeWidth: 2.5 }) });
786
790
  }
787
- function Wr(n, t) {
791
+ function Wr(n, s) {
788
792
  const {
789
- isLoading: i,
790
- isError: o,
793
+ isLoading: t,
794
+ isError: i,
791
795
  size: c = "md",
792
- className: l = "",
793
- variant: h = "solid",
794
- prefix: f,
795
- sufix: d,
796
+ className: u = "",
797
+ variant: d = "solid",
798
+ prefix: l,
799
+ sufix: h,
796
800
  leftIcon: m,
797
801
  rightIcon: g,
798
802
  disabled: x,
799
- readOnly: E,
803
+ readOnly: S,
800
804
  onFocus: k,
801
- onBlur: w,
805
+ onBlur: P,
802
806
  title: T,
803
807
  style: O,
804
808
  onChange: R,
805
809
  ...y
806
- } = n, S = g ? "right" : "left", $ = `arkyn_input ${f ? "hasPrefix" : ""} ${d ? "hasSufix" : ""} ${h} ${c} ${x || E || i ? "opacity" : ""} ${o ? "errored" : ""} ${t ? "focused" : ""} ${l}`, P = { md: 20, lg: 20 }[c];
810
+ } = n, C = g ? "right" : "left", w = `arkyn_input ${l ? "hasPrefix" : ""} ${h ? "hasSufix" : ""} ${d} ${c} ${x || S || t ? "opacity" : ""} ${i ? "errored" : ""} ${s ? "focused" : ""} ${u}`, $ = { md: 20, lg: 20 }[c];
807
811
  return {
808
- isLoading: i,
809
- className: $,
810
- prefix: se(f, P, "prefix"),
811
- sufix: se(d, P, "sufix"),
812
+ isLoading: t,
813
+ className: w,
814
+ prefix: se(l, $, "prefix"),
815
+ sufix: se(h, $, "sufix"),
812
816
  LeftIcon: m,
813
817
  RightIcon: g,
814
818
  disabled: x,
815
- readOnly: E,
819
+ readOnly: S,
816
820
  onFocus: k,
817
- onBlur: w,
821
+ onBlur: P,
818
822
  title: T,
819
823
  style: O,
820
824
  onChange: R,
821
- loadingPosition: S,
822
- iconSize: P,
823
- Spinner: /* @__PURE__ */ a.jsx(le, { className: "spinner", size: P, strokeWidth: 2.5 }),
825
+ loadingPosition: C,
826
+ iconSize: $,
827
+ Spinner: /* @__PURE__ */ o.jsx(le, { className: "spinner", size: $, strokeWidth: 2.5 }),
824
828
  ...y
825
829
  };
826
830
  }
827
831
  function Ne(n) {
828
832
  return n && n.replace(/[^0-9]/g, "");
829
833
  }
830
- function Br(n, t) {
831
- let i = "", o = 0;
832
- return Array.from(n).forEach((c, l) => {
833
- t[l + o].match(/[0-9]/) || (i += t[l + o], o++), i += c;
834
- }), i;
834
+ function Br(n, s) {
835
+ let t = "", i = 0;
836
+ return Array.from(n).forEach((c, u) => {
837
+ s[u + i].match(/[0-9]/) || (t += s[u + i], i++), t += c;
838
+ }), t;
835
839
  }
836
840
  function Vr(n) {
837
841
  return n.length > 11 ? "CNPJ" : "CPF";
838
842
  }
839
- const er = {
843
+ const rr = {
840
844
  CPF: "999.999.999-999",
841
845
  CNPJ: "99.999.999/9999-99"
842
- }, Yr = Ne(er.CNPJ).length;
846
+ }, Yr = Ne(rr.CNPJ).length;
843
847
  function Mr(n) {
844
- const [t, i] = ue(!1), [o, c] = ue(
848
+ const [s, t] = ue(!1), [i, c] = ue(
845
849
  Ne((n == null ? void 0 : n.defaultValue) || "")
846
- ), l = ge(null), { inputRef: h, id: f, error: d } = fe(), m = h || l, g = n.isError || !!d, {
850
+ ), u = ge(null), { inputRef: d, id: l, error: h } = fe(), m = d || u, g = n.isError || !!h, {
847
851
  disabled: x,
848
- title: E,
852
+ title: S,
849
853
  style: k,
850
- className: w,
854
+ className: P,
851
855
  prefix: T,
852
856
  sufix: O,
853
857
  iconSize: R,
854
858
  loadingPosition: y,
855
- isLoading: S,
859
+ isLoading: C,
856
860
  LeftIcon: F,
857
861
  readOnly: W,
858
862
  onFocus: z,
859
863
  onBlur: D,
860
864
  RightIcon: B,
861
- Spinner: $,
865
+ Spinner: w,
862
866
  onChange: M,
863
- value: P,
867
+ value: $,
864
868
  defaultValue: G = "",
865
- ...C
866
- } = Wr({ ...n, id: f, isError: g }, t), A = F && !S, U = B && !S, J = y === "left" && S, H = y === "right" && S;
869
+ ...E
870
+ } = Wr({ ...n, id: l, isError: g }, s), A = F && !C, U = B && !C, J = y === "left" && C, H = y === "right" && C;
867
871
  function Z() {
868
- x || !(m != null && m.current) || (i(!0), m.current.focus());
872
+ x || !(m != null && m.current) || (t(!0), m.current.focus());
869
873
  }
870
874
  function Q(V) {
871
875
  let K = Ne(V.target.value);
872
876
  const q = Vr(K);
873
- K.length > Yr || (K = Br(K, er[q]), V.target.value = K, c(K), M && M(V));
877
+ K.length > Yr || (K = Br(K, rr[q]), V.target.value = K, c(K), M && M(V));
874
878
  }
875
879
  function ee(V) {
876
- i(!0), z && z(V);
880
+ t(!0), z && z(V);
877
881
  }
878
882
  function re(V) {
879
- i(!1), D && D(V);
883
+ t(!1), D && D(V);
880
884
  }
881
- return /* @__PURE__ */ a.jsxs(
885
+ return /* @__PURE__ */ o.jsxs(
882
886
  "section",
883
887
  {
884
- title: E,
888
+ title: S,
885
889
  style: k,
886
890
  onClick: Z,
887
- className: w,
891
+ className: P,
888
892
  children: [
889
893
  T,
890
- J && $,
891
- A && /* @__PURE__ */ a.jsx(F, { size: R, strokeWidth: 2.5 }),
892
- /* @__PURE__ */ a.jsx(
894
+ J && w,
895
+ A && /* @__PURE__ */ o.jsx(F, { size: R, strokeWidth: 2.5 }),
896
+ /* @__PURE__ */ o.jsx(
893
897
  "input",
894
898
  {
895
- disabled: x || S,
899
+ disabled: x || C,
896
900
  readOnly: W,
897
901
  ref: m,
898
- value: P || o,
902
+ value: $ || i,
899
903
  onFocus: ee,
900
904
  onChange: Q,
901
905
  onBlur: re,
902
- ...C
906
+ ...E
903
907
  }
904
908
  ),
905
- U && /* @__PURE__ */ a.jsx(B, { size: R, strokeWidth: 2.5 }),
906
- H && $,
909
+ U && /* @__PURE__ */ o.jsx(B, { size: R, strokeWidth: 2.5 }),
910
+ H && w,
907
911
  O
908
912
  ]
909
913
  }
910
914
  );
911
915
  }
912
- function Ur(n, t) {
916
+ function Ur(n, s) {
913
917
  const {
914
- isLoading: i,
915
- isError: o,
918
+ isLoading: t,
919
+ isError: i,
916
920
  size: c = "md",
917
- className: l = "",
918
- variant: h = "solid",
919
- prefix: f,
920
- sufix: d,
921
+ className: u = "",
922
+ variant: d = "solid",
923
+ prefix: l,
924
+ sufix: h,
921
925
  leftIcon: m,
922
926
  rightIcon: g,
923
927
  disabled: x,
924
- readOnly: E,
928
+ readOnly: S,
925
929
  onFocus: k,
926
- onBlur: w,
930
+ onBlur: P,
927
931
  title: T,
928
932
  style: O,
929
933
  showCents: R = !1,
930
934
  max: y = 1e9,
931
- onChange: S,
935
+ onChange: C,
932
936
  ...F
933
- } = n, W = g ? "right" : "left", P = `arkyn_input ${f ? "hasPrefix" : ""} ${d ? "hasSufix" : ""} ${h} ${c} ${x || E || i ? "opacity" : ""} ${o ? "errored" : ""} ${t ? "focused" : ""} ${l}`, C = { md: 20, lg: 20 }[c];
937
+ } = n, W = g ? "right" : "left", $ = `arkyn_input ${l ? "hasPrefix" : ""} ${h ? "hasSufix" : ""} ${d} ${c} ${x || S || t ? "opacity" : ""} ${i ? "errored" : ""} ${s ? "focused" : ""} ${u}`, E = { md: 20, lg: 20 }[c];
934
938
  return {
935
- isLoading: i,
936
- className: P,
937
- prefix: se(f, C, "prefix"),
938
- sufix: se(d, C, "sufix"),
939
+ isLoading: t,
940
+ className: $,
941
+ prefix: se(l, E, "prefix"),
942
+ sufix: se(h, E, "sufix"),
939
943
  LeftIcon: m,
940
944
  RightIcon: g,
941
945
  disabled: x,
942
- readOnly: E,
946
+ readOnly: S,
943
947
  onFocus: k,
944
- onBlur: w,
948
+ onBlur: P,
945
949
  title: T,
946
950
  style: O,
947
951
  max: y,
948
- onChange: S,
952
+ onChange: C,
949
953
  showCents: R,
950
954
  loadingPosition: W,
951
- iconSize: C,
952
- Spinner: /* @__PURE__ */ a.jsx(le, { className: "spinner", size: C, strokeWidth: 2.5 }),
955
+ iconSize: E,
956
+ Spinner: /* @__PURE__ */ o.jsx(le, { className: "spinner", size: E, strokeWidth: 2.5 }),
953
957
  ...F
954
958
  };
955
959
  }
956
960
  const Kr = /^[1-9]{1}$/, Jr = /^[0-9]{1}$/, Ge = 8;
957
- function qr(n, t) {
961
+ function qr(n, s) {
958
962
  if (n === 0)
959
963
  return "";
960
- const i = (n / 100).toLocaleString("pt-BR", {
964
+ const t = (n / 100).toLocaleString("pt-BR", {
961
965
  style: "currency",
962
966
  currency: "BRL"
963
967
  });
964
- return t ? i : i.replace("R$", "").trim();
968
+ return s ? t : t.replace("R$", "").trim();
965
969
  }
966
970
  function Gr(n) {
967
- const { currencyValue: t, event: i, max: o, setCurrencyValue: c } = n, { key: l, keyCode: h } = i;
968
- if (t === 0 && !Kr.test(l) || t !== 0 && !Jr.test(l) && h !== Ge)
971
+ const { currencyValue: s, event: t, max: i, setCurrencyValue: c } = n, { key: u, keyCode: d } = t;
972
+ if (s === 0 && !Kr.test(u) || s !== 0 && !Jr.test(u) && d !== Ge)
969
973
  return;
970
- const f = t.toString();
971
- let d;
972
- if (h !== Ge) {
973
- const m = t === 0 ? l : `${f}${l}`;
974
- d = Number.parseInt(m, 10);
974
+ const l = s.toString();
975
+ let h;
976
+ if (d !== Ge) {
977
+ const m = s === 0 ? u : `${l}${u}`;
978
+ h = Number.parseInt(m, 10);
975
979
  } else {
976
- const m = f.slice(0, -1);
977
- d = m === "" ? 0 : Number.parseInt(m, 10);
980
+ const m = l.slice(0, -1);
981
+ h = m === "" ? 0 : Number.parseInt(m, 10);
978
982
  }
979
- d > Number(o) || c(d);
983
+ h > Number(i) || c(h);
980
984
  }
981
985
  function Xr(n) {
982
- const [t, i] = ue(!1), [o, c] = ue(n.defaultValue || 0), l = ge(null), { inputRef: h, id: f, error: d } = fe(), m = h || l, g = n.isError || !!d, {
986
+ const [s, t] = ue(!1), [i, c] = ue(n.defaultValue || 0), u = ge(null), { inputRef: d, id: l, error: h } = fe(), m = d || u, g = n.isError || !!h, {
983
987
  disabled: x,
984
- title: E,
988
+ title: S,
985
989
  style: k,
986
- className: w,
990
+ className: P,
987
991
  prefix: T,
988
992
  sufix: O,
989
993
  iconSize: R,
990
994
  loadingPosition: y,
991
- isLoading: S,
995
+ isLoading: C,
992
996
  LeftIcon: F,
993
997
  readOnly: W,
994
998
  onFocus: z,
995
999
  onBlur: D,
996
1000
  RightIcon: B,
997
- Spinner: $,
1001
+ Spinner: w,
998
1002
  value: M,
999
- max: P,
1003
+ max: $,
1000
1004
  onKeyDown: G,
1001
- onChange: C,
1005
+ onChange: E,
1002
1006
  showCents: A,
1003
1007
  ...U
1004
- } = Ur({ ...n, id: f, isError: g }, t), J = F && !S, H = B && !S, Z = y === "left" && S, Q = y === "right" && S;
1008
+ } = Ur({ ...n, id: l, isError: g }, s), J = F && !C, H = B && !C, Z = y === "left" && C, Q = y === "right" && C;
1005
1009
  function ee() {
1006
- x || !(m != null && m.current) || (i(!0), m.current.focus());
1010
+ x || !(m != null && m.current) || (t(!0), m.current.focus());
1007
1011
  }
1008
1012
  function re(q) {
1009
- Gr({ currencyValue: o, event: q, max: P, setCurrencyValue: c }), C && C(o), G && G(q);
1013
+ Gr({ currencyValue: i, event: q, max: $, setCurrencyValue: c }), E && E(i), G && G(q);
1010
1014
  }
1011
1015
  function V(q) {
1012
- i(!0), z && z(q);
1016
+ t(!0), z && z(q);
1013
1017
  }
1014
1018
  function K(q) {
1015
- i(!1), D && D(q);
1019
+ t(!1), D && D(q);
1016
1020
  }
1017
- return /* @__PURE__ */ a.jsxs(
1021
+ return /* @__PURE__ */ o.jsxs(
1018
1022
  "section",
1019
1023
  {
1020
- title: E,
1024
+ title: S,
1021
1025
  style: k,
1022
1026
  onClick: ee,
1023
- className: w,
1027
+ className: P,
1024
1028
  children: [
1025
1029
  T,
1026
- Z && $,
1027
- J && /* @__PURE__ */ a.jsx(F, { size: R, strokeWidth: 2.5 }),
1028
- /* @__PURE__ */ a.jsx(
1030
+ Z && w,
1031
+ J && /* @__PURE__ */ o.jsx(F, { size: R, strokeWidth: 2.5 }),
1032
+ /* @__PURE__ */ o.jsx(
1029
1033
  "input",
1030
1034
  {
1031
- value: qr(M || o, A),
1035
+ value: qr(M || i, A),
1032
1036
  onKeyDown: re,
1033
- disabled: x || S,
1037
+ disabled: x || C,
1034
1038
  readOnly: W,
1035
1039
  ref: m,
1036
1040
  onFocus: V,
@@ -1040,106 +1044,106 @@ function Xr(n) {
1040
1044
  ...U
1041
1045
  }
1042
1046
  ),
1043
- Q && $,
1044
- H && /* @__PURE__ */ a.jsx(B, { size: R, strokeWidth: 2.5 }),
1047
+ Q && w,
1048
+ H && /* @__PURE__ */ o.jsx(B, { size: R, strokeWidth: 2.5 }),
1045
1049
  O
1046
1050
  ]
1047
1051
  }
1048
1052
  );
1049
1053
  }
1050
- function Hr(n, t) {
1054
+ function Hr(n, s) {
1051
1055
  const {
1052
- isLoading: i,
1053
- isError: o,
1056
+ isLoading: t,
1057
+ isError: i,
1054
1058
  size: c = "md",
1055
- className: l = "",
1056
- variant: h = "solid",
1057
- prefix: f,
1058
- sufix: d,
1059
+ className: u = "",
1060
+ variant: d = "solid",
1061
+ prefix: l,
1062
+ sufix: h,
1059
1063
  leftIcon: m,
1060
1064
  rightIcon: g,
1061
1065
  disabled: x,
1062
- readOnly: E,
1066
+ readOnly: S,
1063
1067
  onFocus: k,
1064
- onBlur: w,
1068
+ onBlur: P,
1065
1069
  title: T,
1066
1070
  style: O,
1067
1071
  onChange: R,
1068
1072
  ...y
1069
- } = n, S = g ? "right" : "left", $ = `arkyn_input ${f ? "hasPrefix" : ""} ${d ? "hasSufix" : ""} ${h} ${c} ${x || E || i ? "opacity" : ""} ${o ? "errored" : ""} ${t ? "focused" : ""} ${l}`, P = { md: 20, lg: 20 }[c];
1073
+ } = n, C = g ? "right" : "left", w = `arkyn_input ${l ? "hasPrefix" : ""} ${h ? "hasSufix" : ""} ${d} ${c} ${x || S || t ? "opacity" : ""} ${i ? "errored" : ""} ${s ? "focused" : ""} ${u}`, $ = { md: 20, lg: 20 }[c];
1070
1074
  return {
1071
- isLoading: i,
1072
- className: $,
1073
- prefix: se(f, P, "prefix"),
1074
- sufix: se(d, P, "sufix"),
1075
+ isLoading: t,
1076
+ className: w,
1077
+ prefix: se(l, $, "prefix"),
1078
+ sufix: se(h, $, "sufix"),
1075
1079
  LeftIcon: m,
1076
1080
  RightIcon: g,
1077
1081
  disabled: x,
1078
- readOnly: E,
1082
+ readOnly: S,
1079
1083
  onFocus: k,
1080
- onBlur: w,
1084
+ onBlur: P,
1081
1085
  title: T,
1082
1086
  style: O,
1083
1087
  onChange: R,
1084
- loadingPosition: S,
1085
- iconSize: P,
1086
- Spinner: /* @__PURE__ */ a.jsx(le, { className: "spinner", size: P, strokeWidth: 2.5 }),
1088
+ loadingPosition: C,
1089
+ iconSize: $,
1090
+ Spinner: /* @__PURE__ */ o.jsx(le, { className: "spinner", size: $, strokeWidth: 2.5 }),
1087
1091
  ...y
1088
1092
  };
1089
1093
  }
1090
- function rr(n) {
1091
- const [t, i] = ue(!1), o = ge(null), { inputRef: c, id: l, error: h } = fe(), f = c || o, d = n.isError || !!h, {
1094
+ function nr(n) {
1095
+ const [s, t] = ue(!1), i = ge(null), { inputRef: c, id: u, error: d } = fe(), l = c || i, h = n.isError || !!d, {
1092
1096
  disabled: m,
1093
1097
  title: g,
1094
1098
  style: x,
1095
- className: E,
1099
+ className: S,
1096
1100
  prefix: k,
1097
- sufix: w,
1101
+ sufix: P,
1098
1102
  iconSize: T,
1099
1103
  loadingPosition: O,
1100
1104
  isLoading: R,
1101
1105
  LeftIcon: y,
1102
- readOnly: S,
1106
+ readOnly: C,
1103
1107
  onFocus: F,
1104
1108
  onBlur: W,
1105
1109
  RightIcon: z,
1106
1110
  Spinner: D,
1107
1111
  ...B
1108
- } = Hr({ ...n, id: l, isError: d }, t), $ = y && !R, M = z && !R, P = O === "left" && R, G = O === "right" && R;
1109
- function C() {
1110
- m || !(f != null && f.current) || (i(!0), f.current.focus());
1112
+ } = Hr({ ...n, id: u, isError: h }, s), w = y && !R, M = z && !R, $ = O === "left" && R, G = O === "right" && R;
1113
+ function E() {
1114
+ m || !(l != null && l.current) || (t(!0), l.current.focus());
1111
1115
  }
1112
1116
  function A(J) {
1113
- i(!0), F && F(J);
1117
+ t(!0), F && F(J);
1114
1118
  }
1115
1119
  function U(J) {
1116
- i(!1), W && W(J);
1120
+ t(!1), W && W(J);
1117
1121
  }
1118
- return /* @__PURE__ */ a.jsxs(
1122
+ return /* @__PURE__ */ o.jsxs(
1119
1123
  "section",
1120
1124
  {
1121
1125
  title: g,
1122
1126
  style: x,
1123
- onClick: C,
1124
- className: E,
1127
+ onClick: E,
1128
+ className: S,
1125
1129
  children: [
1126
1130
  k,
1127
- P && D,
1128
- $ && /* @__PURE__ */ a.jsx(y, { size: T, strokeWidth: 2.5 }),
1129
- /* @__PURE__ */ a.jsx(
1131
+ $ && D,
1132
+ w && /* @__PURE__ */ o.jsx(y, { size: T, strokeWidth: 2.5 }),
1133
+ /* @__PURE__ */ o.jsx(
1130
1134
  "input",
1131
1135
  {
1132
1136
  disabled: m || R,
1133
- readOnly: S,
1134
- ref: f,
1137
+ readOnly: C,
1138
+ ref: l,
1135
1139
  onFocus: A,
1136
1140
  onBlur: U,
1137
1141
  ...B
1138
1142
  }
1139
1143
  ),
1140
- M && /* @__PURE__ */ a.jsx(z, { size: T, strokeWidth: 2.5 }),
1144
+ M && /* @__PURE__ */ o.jsx(z, { size: T, strokeWidth: 2.5 }),
1141
1145
  G && D,
1142
- w
1146
+ P
1143
1147
  ]
1144
1148
  }
1145
1149
  );
@@ -1155,55 +1159,55 @@ function Zr(n) {
1155
1159
  // {prefix}
1156
1160
  // {showLeftSpinner && Spinner}
1157
1161
  // {showLeftIcon && <LeftIcon size={iconSize} strokeWidth={2.5} />}
1158
- /* @__PURE__ */ a.jsx(Tr, { component: rr, ...n, type: "text" })
1162
+ /* @__PURE__ */ o.jsx(Tr, { component: nr, ...n, type: "text" })
1159
1163
  );
1160
1164
  }
1161
- function gn(n) {
1162
- return n.type === "currency" ? /* @__PURE__ */ a.jsx(Xr, { ...n }) : n.type === "masked" ? /* @__PURE__ */ a.jsx(Zr, { ...n }) : n.type === "cpf-cpnj" ? /* @__PURE__ */ a.jsx(Mr, { ...n }) : /* @__PURE__ */ a.jsx(rr, { ...n });
1165
+ function yn(n) {
1166
+ return n.type === "currency" ? /* @__PURE__ */ o.jsx(Xr, { ...n }) : n.type === "masked" ? /* @__PURE__ */ o.jsx(Zr, { ...n }) : n.type === "cpf-cpnj" ? /* @__PURE__ */ o.jsx(Mr, { ...n }) : /* @__PURE__ */ o.jsx(nr, { ...n });
1163
1167
  }
1164
1168
  function Qr(n) {
1165
- const { className: t = "", ...i } = n;
1166
- return { className: `arkyn_breadcrumb ${t}`.trim(), ...i };
1169
+ const { className: s = "", ...t } = n;
1170
+ return { className: `arkyn_breadcrumb ${s}`.trim(), ...t };
1167
1171
  }
1168
1172
  function en(n) {
1169
- const { pathname: t } = $r(), {
1170
- className: i = "",
1171
- disabled: o = !1,
1173
+ const { pathname: s } = Qe(), {
1174
+ className: t = "",
1175
+ disabled: i = !1,
1172
1176
  to: c,
1173
- ...l
1174
- } = n, h = t === c ? "active" : "inactive", f = `arkyn_breadcrumb_link ${h} ${i}`;
1177
+ ...u
1178
+ } = n, d = s === c ? "active" : "inactive", l = `arkyn_breadcrumb_link ${d} ${t}`;
1175
1179
  return {
1176
1180
  to: c,
1177
- className: f.trim(),
1178
- disabled: o || h === "active",
1179
- ...l
1181
+ className: l.trim(),
1182
+ disabled: i || d === "active",
1183
+ ...u
1180
1184
  };
1181
1185
  }
1182
- function yn(n) {
1183
- const { className: t, ...i } = Qr(n);
1184
- return /* @__PURE__ */ a.jsx("nav", { className: t, ...i });
1185
- }
1186
1186
  function bn(n) {
1187
- const { children: t, className: i, disabled: o, ...c } = en(n);
1188
- return o ? /* @__PURE__ */ a.jsxs("p", { className: i, children: [
1189
- /* @__PURE__ */ a.jsx(Me, { size: 14, strokeWidth: 2.5 }),
1190
- t
1191
- ] }) : /* @__PURE__ */ a.jsxs(Ir, { className: i, ...c, children: [
1192
- /* @__PURE__ */ a.jsx(Me, { size: 14, strokeWidth: 2.5 }),
1193
- t
1187
+ const { className: s, ...t } = Qr(n);
1188
+ return /* @__PURE__ */ o.jsx("nav", { className: s, ...t });
1189
+ }
1190
+ function xn(n) {
1191
+ const { children: s, className: t, disabled: i, ...c } = en(n);
1192
+ return i ? /* @__PURE__ */ o.jsxs("p", { className: t, children: [
1193
+ /* @__PURE__ */ o.jsx(Me, { size: 14, strokeWidth: 2.5 }),
1194
+ s
1195
+ ] }) : /* @__PURE__ */ o.jsxs(Ir, { className: t, ...c, children: [
1196
+ /* @__PURE__ */ o.jsx(Me, { size: 14, strokeWidth: 2.5 }),
1197
+ s
1194
1198
  ] });
1195
1199
  }
1196
- const nr = He({});
1200
+ const tr = He({});
1197
1201
  function rn(n) {
1198
1202
  const {
1199
- isVisibled: t,
1200
- makeInvisible: i,
1201
- children: o,
1203
+ isVisibled: s,
1204
+ makeInvisible: t,
1205
+ children: i,
1202
1206
  className: c = "",
1203
- ...l
1204
- } = n, f = `arkyn_modal_container ${t ? "visible" : ""} ${c}`;
1205
- return /* @__PURE__ */ a.jsx(nr.Provider, { value: { makeInvisible: i }, children: /* @__PURE__ */ a.jsx(Or, { children: t && /* @__PURE__ */ a.jsxs("aside", { className: f.trim(), ...l, children: [
1206
- /* @__PURE__ */ a.jsx(
1207
+ ...u
1208
+ } = n, l = `arkyn_modal_container ${s ? "visible" : ""} ${c}`;
1209
+ return /* @__PURE__ */ o.jsx(tr.Provider, { value: { makeInvisible: t }, children: /* @__PURE__ */ o.jsx(Or, { children: s && /* @__PURE__ */ o.jsxs("aside", { className: l.trim(), ...u, children: [
1210
+ /* @__PURE__ */ o.jsx(
1207
1211
  Ue.div,
1208
1212
  {
1209
1213
  className: "overlay",
@@ -1211,10 +1215,10 @@ function rn(n) {
1211
1215
  initial: { opacity: 0 },
1212
1216
  animate: { opacity: 1 },
1213
1217
  exit: { opacity: 0 },
1214
- onClick: i
1218
+ onClick: t
1215
1219
  }
1216
1220
  ),
1217
- /* @__PURE__ */ a.jsx(
1221
+ /* @__PURE__ */ o.jsx(
1218
1222
  Ue.div,
1219
1223
  {
1220
1224
  className: "content",
@@ -1222,55 +1226,72 @@ function rn(n) {
1222
1226
  initial: { opacity: 0, scale: 0.75 },
1223
1227
  animate: { opacity: 1, scale: 1 },
1224
1228
  exit: { opacity: 0, scale: 0 },
1225
- children: o
1229
+ children: i
1226
1230
  }
1227
1231
  )
1228
1232
  ] }) }) });
1229
1233
  }
1230
1234
  function nn(n) {
1231
- const { alignment: t = "right", className: i, ...o } = n, c = `arkyn_modal_footer ${t} ${i}`;
1232
- return /* @__PURE__ */ a.jsx("footer", { className: c.trim(), ...o });
1235
+ const { alignment: s = "right", className: t, ...i } = n, c = `arkyn_modal_footer ${s} ${t}`;
1236
+ return /* @__PURE__ */ o.jsx("footer", { className: c.trim(), ...i });
1233
1237
  }
1234
1238
  function tn(n) {
1235
- const { showCloseButton: t, className: i, children: o, ...c } = n, { makeInvisible: l } = Ze(nr), f = `arkyn_modal_header ${t ? "show-close" : ""} ${i}`;
1236
- return /* @__PURE__ */ a.jsxs("header", { className: f.trim(), ...c, children: [
1237
- o,
1238
- /* @__PURE__ */ a.jsx("button", { type: "button", onClick: l, children: /* @__PURE__ */ a.jsx(Pr, { size: 24 }) })
1239
+ const { showCloseButton: s, className: t, children: i, ...c } = n, { makeInvisible: u } = Ze(tr), l = `arkyn_modal_header ${s ? "show-close" : ""} ${t}`;
1240
+ return /* @__PURE__ */ o.jsxs("header", { className: l.trim(), ...c, children: [
1241
+ i,
1242
+ /* @__PURE__ */ o.jsx("button", { type: "button", onClick: u, children: /* @__PURE__ */ o.jsx(Pr, { size: 24 }) })
1239
1243
  ] });
1240
1244
  }
1241
- const xn = { Container: rn, Header: tn, Footer: nn };
1242
- function _n(n) {
1245
+ const _n = { Container: rn, Header: tn, Footer: nn };
1246
+ function Rn(n) {
1243
1247
  const {
1244
- text: t,
1245
- size: i = "lg",
1246
- children: o,
1248
+ text: s,
1249
+ size: t = "lg",
1250
+ children: i,
1247
1251
  orientation: c = "top",
1248
- className: l,
1249
- ...h
1252
+ className: u,
1253
+ ...d
1250
1254
  } = n;
1251
- return /* @__PURE__ */ a.jsxs(
1255
+ return /* @__PURE__ */ o.jsxs(
1252
1256
  "div",
1253
1257
  {
1254
- className: `arkyn_tooltip ${i} ${c} ${l}`,
1255
- ...h,
1258
+ className: `arkyn_tooltip ${t} ${c} ${u}`,
1259
+ ...d,
1256
1260
  children: [
1257
- o,
1258
- /* @__PURE__ */ a.jsx("div", { className: "arkyn_tooltip_text", children: t })
1261
+ i,
1262
+ /* @__PURE__ */ o.jsx("div", { className: "arkyn_tooltip_text", children: s })
1259
1263
  ]
1260
1264
  }
1261
1265
  );
1262
1266
  }
1267
+ function Sn(n = "") {
1268
+ const s = Qe(), t = new URLSearchParams(s.search), i = n ? `${n}:` : "", c = (u) => {
1269
+ Object.entries(u).forEach(([d, l]) => {
1270
+ l === void 0 ? t.delete(`${i}${d}`) : t.set(`${i}${d}`, String(l));
1271
+ });
1272
+ };
1273
+ return {
1274
+ getParam: (u) => t.get(`${i}${u}`),
1275
+ getScopedSearch: (u) => {
1276
+ c(u);
1277
+ let d = t.toString();
1278
+ return d && (d = "?" + d), d;
1279
+ }
1280
+ };
1281
+ }
1263
1282
  export {
1264
1283
  ln as Badge,
1265
- yn as Breadcrumb,
1266
- bn as BreadcrumbLink,
1267
- dn as Button,
1284
+ bn as Breadcrumb,
1285
+ xn as BreadcrumbLink,
1286
+ hn as Button,
1268
1287
  fn as Divider,
1269
- hn as FormController,
1270
- mn as FormError,
1271
- vn as FormLabel,
1272
- pn as IconButton,
1273
- gn as Input,
1274
- xn as Modal,
1275
- _n as Tooltip
1288
+ mn as FormController,
1289
+ vn as FormError,
1290
+ pn as FormLabel,
1291
+ gn as IconButton,
1292
+ yn as Input,
1293
+ _n as Modal,
1294
+ dn as Skeleton,
1295
+ Rn as Tooltip,
1296
+ Sn as useScopedParams
1276
1297
  };