shekel-fe-shared-lib 1.1.0 → 1.1.1

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.mjs CHANGED
@@ -90,16 +90,16 @@ const V0 = ({
90
90
  ...s.style
91
91
  },
92
92
  onMouseEnter: (c) => {
93
- var m;
94
- s.disabled || (e === "primary" ? c.target.style.backgroundColor = "#D8524D" : e === "secondary" ? c.target.style.backgroundColor = "#4B5563" : e === "outline" ? c.target.style.backgroundColor = "#F3F4F6" : e === "ghost" && (c.target.style.backgroundColor = "#E1E4E6")), (m = s.onMouseEnter) == null || m.call(s, c);
93
+ var h;
94
+ s.disabled || (e === "primary" ? c.target.style.backgroundColor = "#D8524D" : e === "secondary" ? c.target.style.backgroundColor = "#4B5563" : e === "outline" ? c.target.style.backgroundColor = "#F3F4F6" : e === "ghost" && (c.target.style.backgroundColor = "#E1E4E6")), (h = s.onMouseEnter) == null || h.call(s, c);
95
95
  },
96
96
  onMouseLeave: (c) => {
97
- var m;
97
+ var h;
98
98
  if (!s.disabled) {
99
99
  const f = l();
100
100
  c.target.style.backgroundColor = f.backgroundColor || "";
101
101
  }
102
- (m = s.onMouseLeave) == null || m.call(s, c);
102
+ (h = s.onMouseLeave) == null || h.call(s, c);
103
103
  },
104
104
  children: n
105
105
  }
@@ -115,9 +115,9 @@ const V0 = ({
115
115
  progressText: l,
116
116
  badge: i,
117
117
  width: c = 347,
118
- className: m = "",
118
+ className: h = "",
119
119
  selected: f = !1,
120
- onClick: h,
120
+ onClick: m,
121
121
  size: b = "md",
122
122
  rounded: L = "2xl"
123
123
  }) => {
@@ -136,13 +136,13 @@ const V0 = ({
136
136
  return /* @__PURE__ */ d(
137
137
  "div",
138
138
  {
139
- className: `bg-white border flex flex-col justify-between transition-all duration-300 ease-in-out hover:border-gray-300 hover:-translate-y-1 cursor-pointer ${y} ${u} ${f ? "border-[#EC615B]" : "border-[#E6E6E6]"} ${m}`,
139
+ className: `bg-white border flex flex-col justify-between transition-all duration-300 ease-in-out hover:border-gray-300 hover:-translate-y-1 cursor-pointer ${y} ${u} ${f ? "border-[#EC615B]" : "border-[#E6E6E6]"} ${h}`,
140
140
  style: {
141
141
  width: typeof c == "number" ? `${c}px` : c,
142
142
  boxShadow: f ? "0 0 0 1px #EC615B" : "0 0 0 0 rgba(0, 0, 0, 0)",
143
143
  transition: "all 0.3s ease-in-out"
144
144
  },
145
- onClick: h,
145
+ onClick: m,
146
146
  onMouseEnter: (g) => {
147
147
  g.currentTarget.style.boxShadow = f ? "0 0 0 1px #EC615B" : "0 0 20px 0 rgba(0, 0, 0, 0.1)";
148
148
  },
@@ -186,9 +186,9 @@ const V0 = ({
186
186
  bgColor: l,
187
187
  borderColor: i,
188
188
  focusBorderColor: c,
189
- iconColor: m,
189
+ iconColor: h,
190
190
  textColor: f,
191
- placeholderColor: h,
191
+ placeholderColor: m,
192
192
  rounded: b = "md",
193
193
  style: L,
194
194
  ...y
@@ -217,7 +217,7 @@ const V0 = ({
217
217
  borderColor: i || "#D1D5DB",
218
218
  color: f,
219
219
  ...L
220
- }, _ = h ? "" : "placeholder:text-gray-400", B = i ? "" : "border-gray-300", H = f ? "" : "text-gray-900", Z = c ? "" : "focus:ring-[#EC615B] focus:border-[#EC615B]", $ = `${u} ${!s.includes("px-") && !s.includes("py-") ? v[o] : ""} ${e ? k : ""} ${C} ${s.includes("rounded") ? "" : x[b]} ${s.includes("border-") ? "" : B} ${H} ${Z} ${_} ${s}`, U = r === "left" ? "left-3" : "right-3", E = m || "text-gray-400", M = m ? "" : "hover:text-gray-600", S = /* @__PURE__ */ t(
220
+ }, _ = m ? "" : "placeholder:text-gray-400", B = i ? "" : "border-gray-300", H = f ? "" : "text-gray-900", Z = c ? "" : "focus:ring-[#EC615B] focus:border-[#EC615B]", $ = `${u} ${!s.includes("px-") && !s.includes("py-") ? v[o] : ""} ${e ? k : ""} ${C} ${s.includes("rounded") ? "" : x[b]} ${s.includes("border-") ? "" : B} ${H} ${Z} ${_} ${s}`, U = r === "left" ? "left-3" : "right-3", E = h || "text-gray-400", M = h ? "" : "hover:text-gray-600", S = /* @__PURE__ */ t(
221
221
  "svg",
222
222
  {
223
223
  className: `${g[o]} ${E}`,
@@ -255,8 +255,8 @@ const V0 = ({
255
255
  ...c && {
256
256
  "--focus-border-color": c
257
257
  },
258
- ...h && {
259
- "--placeholder-color": h
258
+ ...m && {
259
+ "--placeholder-color": m
260
260
  }
261
261
  },
262
262
  ...y
@@ -293,9 +293,9 @@ const V0 = ({
293
293
  disabled: l = !1,
294
294
  size: i = "md",
295
295
  menuBgColor: c,
296
- menuItemHoverColor: m,
296
+ menuItemHoverColor: h,
297
297
  dangerColor: f,
298
- borderColor: h,
298
+ borderColor: m,
299
299
  style: b
300
300
  }) => {
301
301
  const [L, y] = O(!1), w = e2(null);
@@ -330,7 +330,7 @@ const V0 = ({
330
330
  md: "px-4 py-2 text-sm gap-2",
331
331
  lg: "px-5 py-3 text-base gap-2.5",
332
332
  responsive: "px-3 sm:px-4 md:px-5 py-1.5 sm:py-2 md:py-3 text-xs sm:text-sm md:text-base gap-1.5 sm:gap-2 md:gap-2.5"
333
- }, B = "hover:bg-gray-50", H = "border-gray-200", Z = "text-red-600", $ = m ? { backgroundColor: m } : {}, U = m ? "" : B, E = f ? { color: f } : {}, M = f ? { backgroundColor: f + "15" } : {}, S = h || H;
333
+ }, B = "hover:bg-gray-50", H = "border-gray-200", Z = "text-red-600", $ = h ? { backgroundColor: h } : {}, U = h ? "" : B, E = f ? { color: f } : {}, M = f ? { backgroundColor: f + "15" } : {}, S = m || H;
334
334
  return /* @__PURE__ */ d(
335
335
  "div",
336
336
  {
@@ -362,7 +362,7 @@ const V0 = ({
362
362
  return N.disabled || (N.danger ? G = {
363
363
  ...E,
364
364
  ...M
365
- } : m && (G = $)), /* @__PURE__ */ d(
365
+ } : h && (G = $)), /* @__PURE__ */ d(
366
366
  "div",
367
367
  {
368
368
  onClick: () => x(N),
@@ -415,22 +415,22 @@ var k2 = (e) => /^\w*$/.test(e), i2 = (e) => e === void 0, A2 = (e) => Array.isA
415
415
  return o;
416
416
  const n = (k2(r) ? [r] : _2(r)).reduce((s, a) => l2(s) ? s : s[a], e);
417
417
  return i2(n) || n === e ? i2(e[r]) ? o : e[r] : n;
418
- }, s2 = (e) => typeof e == "boolean", J = (e) => typeof e == "function", m2 = (e, r, o) => {
418
+ }, s2 = (e) => typeof e == "boolean", J = (e) => typeof e == "function", h2 = (e, r, o) => {
419
419
  let n = -1;
420
420
  const s = k2(r) ? [r] : _2(r), a = s.length, l = a - 1;
421
421
  for (; ++n < a; ) {
422
422
  const i = s[n];
423
423
  let c = o;
424
424
  if (n !== l) {
425
- const m = e[i];
426
- c = I(m) || Array.isArray(m) ? m : isNaN(+s[n + 1]) ? {} : [];
425
+ const h = e[i];
426
+ c = I(h) || Array.isArray(h) ? h : isNaN(+s[n + 1]) ? {} : [];
427
427
  }
428
428
  if (i === "__proto__" || i === "constructor" || i === "prototype")
429
429
  return;
430
430
  e[i] = c, e = e[i];
431
431
  }
432
432
  };
433
- const h2 = {
433
+ const m2 = {
434
434
  BLUR: "blur",
435
435
  CHANGE: "change"
436
436
  }, g2 = {
@@ -467,10 +467,10 @@ function T2(e) {
467
467
  name: s,
468
468
  formState: c.current,
469
469
  exact: a,
470
- callback: (m) => {
470
+ callback: (h) => {
471
471
  !n && i({
472
472
  ...o._formState,
473
- ...m
473
+ ...h
474
474
  });
475
475
  }
476
476
  }), [s, n, a]), V.useEffect(() => {
@@ -502,25 +502,25 @@ function Y(e, r, o = /* @__PURE__ */ new WeakSet()) {
502
502
  return !0;
503
503
  }
504
504
  function K2(e) {
505
- const r = c2(), { control: o = r, name: n, defaultValue: s, disabled: a, exact: l, compute: i } = e || {}, c = V.useRef(s), m = V.useRef(i), f = V.useRef(void 0), h = V.useRef(o), b = V.useRef(n);
506
- m.current = i;
505
+ const r = c2(), { control: o = r, name: n, defaultValue: s, disabled: a, exact: l, compute: i } = e || {}, c = V.useRef(s), h = V.useRef(i), f = V.useRef(void 0), m = V.useRef(o), b = V.useRef(n);
506
+ h.current = i;
507
507
  const [L, y] = V.useState(() => {
508
508
  const k = o._getWatch(n, c.current);
509
- return m.current ? m.current(k) : k;
509
+ return h.current ? h.current(k) : k;
510
510
  }), w = V.useCallback((k) => {
511
511
  const C = x2(n, o._names, k || o._formValues, !1, c.current);
512
- return m.current ? m.current(C) : C;
512
+ return h.current ? h.current(C) : C;
513
513
  }, [o._formValues, o._names, n]), u = V.useCallback((k) => {
514
514
  if (!a) {
515
515
  const C = x2(n, o._names, k || o._formValues, !1, c.current);
516
- if (m.current) {
517
- const p = m.current(C);
516
+ if (h.current) {
517
+ const p = h.current(C);
518
518
  Y(p, f.current) || (y(p), f.current = p);
519
519
  } else
520
520
  y(C);
521
521
  }
522
522
  }, [o._formValues, o._names, a, n]);
523
- F2(() => ((h.current !== o || !Y(b.current, n)) && (h.current = o, b.current = n, u()), o._subscribe({
523
+ F2(() => ((m.current !== o || !Y(b.current, n)) && (m.current = o, b.current = n, u()), o._subscribe({
524
524
  name: n,
525
525
  formState: {
526
526
  values: !0
@@ -530,7 +530,7 @@ function K2(e) {
530
530
  u(k.values);
531
531
  }
532
532
  })), [o, l, n, u]), V.useEffect(() => o._removeUnmounted());
533
- const v = h.current !== o, g = b.current, x = V.useMemo(() => {
533
+ const v = m.current !== o, g = b.current, x = V.useMemo(() => {
534
534
  if (a)
535
535
  return null;
536
536
  const k = !v && !Y(g, n);
@@ -539,12 +539,12 @@ function K2(e) {
539
539
  return x !== null ? x : L;
540
540
  }
541
541
  function A(e) {
542
- const r = c2(), { name: o, disabled: n, control: s = r, shouldUnregister: a, defaultValue: l, exact: i = !0 } = e, c = P2(s._names.array, o), m = V.useMemo(() => z(s._formValues, o, z(s._defaultValues, o, l)), [s, o, l]), f = K2({
542
+ const r = c2(), { name: o, disabled: n, control: s = r, shouldUnregister: a, defaultValue: l, exact: i = !0 } = e, c = P2(s._names.array, o), h = V.useMemo(() => z(s._formValues, o, z(s._defaultValues, o, l)), [s, o, l]), f = K2({
543
543
  control: s,
544
544
  name: o,
545
- defaultValue: m,
545
+ defaultValue: h,
546
546
  exact: i
547
- }), h = T2({
547
+ }), m = T2({
548
548
  control: s,
549
549
  name: o,
550
550
  exact: i
@@ -557,36 +557,36 @@ function A(e) {
557
557
  const w = V.useMemo(() => Object.defineProperties({}, {
558
558
  invalid: {
559
559
  enumerable: !0,
560
- get: () => !!z(h.errors, o)
560
+ get: () => !!z(m.errors, o)
561
561
  },
562
562
  isDirty: {
563
563
  enumerable: !0,
564
- get: () => !!z(h.dirtyFields, o)
564
+ get: () => !!z(m.dirtyFields, o)
565
565
  },
566
566
  isTouched: {
567
567
  enumerable: !0,
568
- get: () => !!z(h.touchedFields, o)
568
+ get: () => !!z(m.touchedFields, o)
569
569
  },
570
570
  isValidating: {
571
571
  enumerable: !0,
572
- get: () => !!z(h.validatingFields, o)
572
+ get: () => !!z(m.validatingFields, o)
573
573
  },
574
574
  error: {
575
575
  enumerable: !0,
576
- get: () => z(h.errors, o)
576
+ get: () => z(m.errors, o)
577
577
  }
578
- }), [h, o]), u = V.useCallback((k) => y.current.onChange({
578
+ }), [m, o]), u = V.useCallback((k) => y.current.onChange({
579
579
  target: {
580
580
  value: D2(k),
581
581
  name: o
582
582
  },
583
- type: h2.CHANGE
583
+ type: m2.CHANGE
584
584
  }), [o]), v = V.useCallback(() => y.current.onBlur({
585
585
  target: {
586
586
  value: z(s._formValues, o),
587
587
  name: o
588
588
  },
589
- type: h2.BLUR
589
+ type: m2.BLUR
590
590
  }), [o, s._formValues]), g = V.useCallback((k) => {
591
591
  const C = z(s._fields, o);
592
592
  C && C._f && k && (C._f.ref = {
@@ -598,11 +598,11 @@ function A(e) {
598
598
  }, [s._fields, o]), x = V.useMemo(() => ({
599
599
  name: o,
600
600
  value: f,
601
- ...s2(n) || h.disabled ? { disabled: h.disabled || n } : {},
601
+ ...s2(n) || m.disabled ? { disabled: m.disabled || n } : {},
602
602
  onChange: u,
603
603
  onBlur: v,
604
604
  ref: g
605
- }), [o, n, h.disabled, u, v, g, f]);
605
+ }), [o, n, m.disabled, u, v, g, f]);
606
606
  return V.useEffect(() => {
607
607
  const k = s._options.shouldUnregister || a, C = L.current;
608
608
  C && C !== o && !c && s.unregister(C), s.register(o, {
@@ -615,7 +615,7 @@ function A(e) {
615
615
  };
616
616
  if (p(o, !0), k) {
617
617
  const _ = w2(z(s._options.defaultValues, o, b.current.defaultValue));
618
- m2(s._defaultValues, o, _), i2(z(s._formValues, o)) && m2(s._formValues, o, _);
618
+ h2(s._defaultValues, o, _), i2(z(s._formValues, o)) && h2(s._formValues, o, _);
619
619
  }
620
620
  return !c && s.register(o), L.current = o, () => {
621
621
  (c ? k && !s._state.action : k) ? s.unregister(o) : p(o, !1);
@@ -627,9 +627,9 @@ function A(e) {
627
627
  });
628
628
  }, [n, o, s]), V.useMemo(() => ({
629
629
  field: x,
630
- formState: h,
630
+ formState: m,
631
631
  fieldState: w
632
- }), [x, h, w]);
632
+ }), [x, m, w]);
633
633
  }
634
634
  const q2 = V.createContext(null);
635
635
  q2.displayName = "HookFormContext";
@@ -643,9 +643,9 @@ const V2 = ({
643
643
  name: l,
644
644
  disabled: i = !1,
645
645
  size: c = "md",
646
- fullWidth: m = !1,
646
+ fullWidth: h = !1,
647
647
  className: f = "",
648
- allowClear: h = !1,
648
+ allowClear: m = !1,
649
649
  showSearch: b = !1,
650
650
  searchPlaceholder: L = "Search...",
651
651
  bgColor: y,
@@ -686,7 +686,7 @@ const V2 = ({
686
686
  md: "rounded-md",
687
687
  lg: "rounded-lg",
688
688
  full: "rounded-full"
689
- }, H2 = m ? "w-full" : "min-w-[200px]", r2 = () => {
689
+ }, H2 = h ? "w-full" : "min-w-[200px]", r2 = () => {
690
690
  const F = {};
691
691
  return y && (F.backgroundColor = y), w && (F.borderColor = w), F;
692
692
  }, N2 = () => {
@@ -741,7 +741,7 @@ const V2 = ({
741
741
  children: [
742
742
  /* @__PURE__ */ t("span", { className: j ? "text-gray-900" : "text-gray-400", children: j ? j.label : n }),
743
743
  /* @__PURE__ */ d("div", { className: "flex items-center gap-1", children: [
744
- h && G && !i && /* @__PURE__ */ t(
744
+ m && G && !i && /* @__PURE__ */ t(
745
745
  "span",
746
746
  {
747
747
  onClick: D,
@@ -840,9 +840,9 @@ const V2 = ({
840
840
  className: l = "",
841
841
  bordered: i = !1,
842
842
  striped: c = !1,
843
- size: m = "md",
843
+ size: h = "md",
844
844
  headerBgColor: f,
845
- headerTextColor: h,
845
+ headerTextColor: m,
846
846
  rowHoverColor: b,
847
847
  borderColor: L,
848
848
  stripedRowColor: y,
@@ -889,7 +889,7 @@ const V2 = ({
889
889
  lg: "rounded-lg",
890
890
  xl: "rounded-xl",
891
891
  "2xl": "rounded-2xl"
892
- }, _ = C[m], B = p[w], H = (M, S) => typeof o == "function" ? o(M) : M[o] || String(S), Z = (M, S) => S ? S.split(".").reduce((N, G) => N == null ? void 0 : N[G], M) : M, $ = n === !1 ? r : r.slice((v - 1) * x, v * x), U = (M) => {
892
+ }, _ = C[h], B = p[w], H = (M, S) => typeof o == "function" ? o(M) : M[o] || String(S), Z = (M, S) => S ? S.split(".").reduce((N, G) => N == null ? void 0 : N[G], M) : M, $ = n === !1 ? r : r.slice((v - 1) * x, v * x), U = (M) => {
893
893
  g(M), n && typeof n == "object" && n.onChange && n.onChange(M, x);
894
894
  }, E = (M) => {
895
895
  k(M), g(1), n && typeof n == "object" && n.onChange && n.onChange(1, M);
@@ -906,7 +906,7 @@ const V2 = ({
906
906
  {
907
907
  style: {
908
908
  backgroundColor: f || "#F5F6F7",
909
- color: h || "#333333"
909
+ color: m || "#333333"
910
910
  },
911
911
  children: /* @__PURE__ */ t("tr", { children: e.map((M, S) => /* @__PURE__ */ t(
912
912
  "th",
@@ -915,7 +915,7 @@ const V2 = ({
915
915
  style: {
916
916
  width: M.width,
917
917
  borderColor: L || "#EEEEEE",
918
- color: h || "#333333"
918
+ color: m || "#333333"
919
919
  },
920
920
  children: M.title
921
921
  },
@@ -1026,7 +1026,7 @@ const V2 = ({
1026
1026
  showSizeChanger: n && typeof n == "object" ? n.showSizeChanger : !0,
1027
1027
  pageSizeOptions: n && typeof n == "object" ? n.pageSizeOptions : [10, 20, 50, 100],
1028
1028
  showTotal: n && typeof n == "object" ? n.showTotal : !0,
1029
- size: n && typeof n == "object" && n.size ? n.size : m === "responsive" ? "md" : m
1029
+ size: n && typeof n == "object" && n.size ? n.size : h === "responsive" ? "md" : h
1030
1030
  }
1031
1031
  )
1032
1032
  ] });
@@ -1041,7 +1041,7 @@ const V2 = ({
1041
1041
  showTotal: i = !0,
1042
1042
  size: c = "md"
1043
1043
  }) => {
1044
- const m = Math.ceil(o / r), f = (e - 1) * r + 1, h = Math.min(e * r, o), b = {
1044
+ const h = Math.ceil(o / r), f = (e - 1) * r + 1, m = Math.min(e * r, o), b = {
1045
1045
  sm: {
1046
1046
  button: "px-2.5 py-1 text-xs",
1047
1047
  icon: "h-3.5 w-3.5",
@@ -1059,19 +1059,19 @@ const V2 = ({
1059
1059
  }
1060
1060
  }, L = () => {
1061
1061
  const y = [];
1062
- if (m <= 7)
1063
- for (let u = 1; u <= m; u++)
1062
+ if (h <= 7)
1063
+ for (let u = 1; u <= h; u++)
1064
1064
  y.push(u);
1065
1065
  else if (e <= 3) {
1066
1066
  for (let u = 1; u <= 5; u++) y.push(u);
1067
- y.push("..."), y.push(m);
1068
- } else if (e >= m - 2) {
1067
+ y.push("..."), y.push(h);
1068
+ } else if (e >= h - 2) {
1069
1069
  y.push(1), y.push("...");
1070
- for (let u = m - 4; u <= m; u++) y.push(u);
1070
+ for (let u = h - 4; u <= h; u++) y.push(u);
1071
1071
  } else {
1072
1072
  y.push(1), y.push("...");
1073
1073
  for (let u = e - 1; u <= e + 1; u++) y.push(u);
1074
- y.push("..."), y.push(m);
1074
+ y.push("..."), y.push(h);
1075
1075
  }
1076
1076
  return y;
1077
1077
  };
@@ -1079,7 +1079,7 @@ const V2 = ({
1079
1079
  i && /* @__PURE__ */ d("div", { className: "text-sm text-[#181918]", children: [
1080
1080
  f,
1081
1081
  "-",
1082
- h,
1082
+ m,
1083
1083
  " of ",
1084
1084
  o,
1085
1085
  " items"
@@ -1136,7 +1136,7 @@ const V2 = ({
1136
1136
  "button",
1137
1137
  {
1138
1138
  onClick: () => n(e + 1),
1139
- disabled: e === m,
1139
+ disabled: e === h,
1140
1140
  className: `relative inline-flex items-center justify-center rounded-md ${b[c].nav} text-[#181918] hover:bg-gray-100 focus:z-20 disabled:opacity-30 disabled:cursor-not-allowed disabled:hover:bg-transparent transition-all duration-300 ease-out hover:scale-110 active:scale-95`,
1141
1141
  children: /* @__PURE__ */ t("svg", { className: b[c].icon, viewBox: "0 0 20 20", fill: "none", stroke: "currentColor", children: /* @__PURE__ */ t(
1142
1142
  "path",
@@ -1162,9 +1162,9 @@ const V2 = ({
1162
1162
  className: l = "",
1163
1163
  size: i = "responsive",
1164
1164
  titleColor: c,
1165
- descriptionColor: m,
1165
+ descriptionColor: h,
1166
1166
  searchBgColor: f = "white",
1167
- searchBorderColor: h = "#d1d5db",
1167
+ searchBorderColor: m = "#d1d5db",
1168
1168
  searchFocusBorderColor: b = "#3b82f6",
1169
1169
  rounded: L = "md",
1170
1170
  style: y,
@@ -1234,7 +1234,7 @@ const V2 = ({
1234
1234
  full: "rounded-full"
1235
1235
  }[L], p = {
1236
1236
  backgroundColor: f,
1237
- borderColor: h
1237
+ borderColor: m
1238
1238
  };
1239
1239
  return /* @__PURE__ */ d(
1240
1240
  "div",
@@ -1255,7 +1255,7 @@ const V2 = ({
1255
1255
  "p",
1256
1256
  {
1257
1257
  className: `${x.descriptionSize} ${x.descriptionMargin}`,
1258
- style: { color: m || "#6b7280" },
1258
+ style: { color: h || "#6b7280" },
1259
1259
  children: r
1260
1260
  }
1261
1261
  )
@@ -1292,7 +1292,7 @@ const V2 = ({
1292
1292
  _.currentTarget.style.borderColor = b, _.currentTarget.style.boxShadow = "0 0 0 2px rgba(59, 130, 246, 0.1)";
1293
1293
  },
1294
1294
  onBlur: (_) => {
1295
- _.currentTarget.style.borderColor = h, _.currentTarget.style.boxShadow = "none";
1295
+ _.currentTarget.style.borderColor = m, _.currentTarget.style.boxShadow = "none";
1296
1296
  }
1297
1297
  }
1298
1298
  )
@@ -1320,9 +1320,9 @@ const V2 = ({
1320
1320
  size: l = "md",
1321
1321
  closable: i = !0,
1322
1322
  maskClosable: c = !0,
1323
- centered: m = !0,
1323
+ centered: h = !0,
1324
1324
  className: f = "",
1325
- bgColor: h = "#ffffff",
1325
+ bgColor: m = "#ffffff",
1326
1326
  headerBgColor: b = "#ffffff",
1327
1327
  overlayColor: L = "rgba(0, 0, 0, 0.5)",
1328
1328
  bodyClassName: y = "",
@@ -1332,7 +1332,7 @@ const V2 = ({
1332
1332
  const [v, g] = O(!1), [x, k] = O(!1), C = a || X2[l], _ = {
1333
1333
  width: typeof C == "number" ? `${C}px` : C,
1334
1334
  maxWidth: "90vw",
1335
- backgroundColor: h
1335
+ backgroundColor: m
1336
1336
  }, B = {
1337
1337
  backgroundColor: b
1338
1338
  }, H = {
@@ -1374,7 +1374,7 @@ const V2 = ({
1374
1374
  style: H
1375
1375
  }
1376
1376
  ),
1377
- /* @__PURE__ */ t("div", { className: `flex min-h-full items-center justify-center p-4 ${m ? "items-center" : "items-start pt-20"}`, children: /* @__PURE__ */ d(
1377
+ /* @__PURE__ */ t("div", { className: `flex min-h-full items-center justify-center p-4 ${h ? "items-center" : "items-start pt-20"}`, children: /* @__PURE__ */ d(
1378
1378
  "div",
1379
1379
  {
1380
1380
  className: `relative rounded-lg shadow-xl transition-all duration-200 ease-out overflow-y-auto ${x ? "opacity-100 scale-100 translate-y-0" : "opacity-0 scale-95 -translate-y-4"} ${f}`,
@@ -1440,9 +1440,9 @@ const V2 = ({
1440
1440
  className: l = "",
1441
1441
  bgColor: i,
1442
1442
  textColor: c,
1443
- borderColor: m,
1443
+ borderColor: h,
1444
1444
  rounded: f = "full",
1445
- style: h
1445
+ style: m
1446
1446
  }) => {
1447
1447
  const b = {
1448
1448
  default: "bg-gray-100 text-[#181918]",
@@ -1482,8 +1482,8 @@ const V2 = ({
1482
1482
  }, g = {
1483
1483
  ...i && { backgroundColor: i },
1484
1484
  ...c && { color: c },
1485
- ...m && { borderColor: m, borderWidth: "1px", borderStyle: "solid" },
1486
- ...h
1485
+ ...h && { borderColor: h, borderWidth: "1px", borderStyle: "solid" },
1486
+ ...m
1487
1487
  };
1488
1488
  return /* @__PURE__ */ d(
1489
1489
  "span",
@@ -1508,9 +1508,9 @@ const V2 = ({
1508
1508
  style: l,
1509
1509
  finishColor: i,
1510
1510
  processColor: c,
1511
- waitColor: m,
1511
+ waitColor: h,
1512
1512
  errorColor: f,
1513
- lineColor: h
1513
+ lineColor: m
1514
1514
  }) => {
1515
1515
  const b = (g, x) => x.status ? x.status : g < r ? "finish" : g === r ? "process" : "wait", L = {
1516
1516
  sm: "w-6 h-6",
@@ -1549,7 +1549,7 @@ const V2 = ({
1549
1549
  icon: x ? `bg-white text-white border ${i ? `border-[${i}]` : "border-green-500"}` : `${i ? `bg-[${i}]` : "bg-green-500"} text-white ${i ? `border-[${i}]` : "border-green-500"}`,
1550
1550
  title: "text-[#181918]",
1551
1551
  description: "text-gray-600",
1552
- line: h ? `bg-[${h}]` : "bg-green-500",
1552
+ line: m ? `bg-[${m}]` : "bg-green-500",
1553
1553
  iconColor: i
1554
1554
  };
1555
1555
  case "process":
@@ -1557,7 +1557,7 @@ const V2 = ({
1557
1557
  icon: x ? `bg-white text-white border ${c ? `border-[${c}]` : "border-[#EC615B]"}` : `${c ? `bg-[${c}]` : "bg-[#EC615B]"} text-white ${c ? `border-[${c}]` : "border-[#EC615B]"}`,
1558
1558
  title: "text-[#181918] font-semibold",
1559
1559
  description: "text-gray-700",
1560
- line: h ? `bg-[${h}]` : "bg-gray-300",
1560
+ line: m ? `bg-[${m}]` : "bg-gray-300",
1561
1561
  iconColor: c
1562
1562
  };
1563
1563
  case "error":
@@ -1565,7 +1565,7 @@ const V2 = ({
1565
1565
  icon: x ? `bg-white text-white border ${f ? `border-[${f}]` : "border-red-500"}` : `${f ? `bg-[${f}]` : "bg-red-500"} text-white ${f ? `border-[${f}]` : "border-red-500"}`,
1566
1566
  title: "text-red-600",
1567
1567
  description: "text-red-500",
1568
- line: h ? `bg-[${h}]` : "bg-gray-300",
1568
+ line: m ? `bg-[${m}]` : "bg-gray-300",
1569
1569
  iconColor: f
1570
1570
  };
1571
1571
  default:
@@ -1573,8 +1573,8 @@ const V2 = ({
1573
1573
  icon: "bg-white text-gray-400 border-gray-300",
1574
1574
  title: "text-gray-500",
1575
1575
  description: "text-gray-400",
1576
- line: h ? `bg-[${h}]` : "bg-gray-300",
1577
- iconColor: m
1576
+ line: m ? `bg-[${m}]` : "bg-gray-300",
1577
+ iconColor: h
1578
1578
  };
1579
1579
  }
1580
1580
  };
@@ -1662,9 +1662,9 @@ const V2 = ({
1662
1662
  className: l = "",
1663
1663
  format: i,
1664
1664
  bgColor: c,
1665
- successColor: m,
1665
+ successColor: h,
1666
1666
  exceptionColor: f,
1667
- trackColor: h,
1667
+ trackColor: m,
1668
1668
  rounded: b = "full"
1669
1669
  }) => {
1670
1670
  const L = Math.min(100, Math.max(0, e)), y = {
@@ -1687,15 +1687,15 @@ const V2 = ({
1687
1687
  if (n) return n;
1688
1688
  switch (r) {
1689
1689
  case "success":
1690
- return m || "bg-green-500";
1690
+ return h || "bg-green-500";
1691
1691
  case "exception":
1692
1692
  return f || "bg-red-500";
1693
1693
  case "active":
1694
1694
  return c || "bg-[#EC615B]";
1695
1695
  default:
1696
- return L === 100 ? m || "bg-green-500" : c || "bg-[#EC615B]";
1696
+ return L === 100 ? h || "bg-green-500" : c || "bg-[#EC615B]";
1697
1697
  }
1698
- }, g = () => h || "bg-gray-200", x = () => r === "success" || L === 100 ? /* @__PURE__ */ t("svg", { className: "w-4 h-4 text-green-500", fill: "currentColor", viewBox: "0 0 20 20", children: /* @__PURE__ */ t(
1698
+ }, g = () => m || "bg-gray-200", x = () => r === "success" || L === 100 ? /* @__PURE__ */ t("svg", { className: "w-4 h-4 text-green-500", fill: "currentColor", viewBox: "0 0 20 20", children: /* @__PURE__ */ t(
1699
1699
  "path",
1700
1700
  {
1701
1701
  fillRule: "evenodd",
@@ -1740,9 +1740,9 @@ const V2 = ({
1740
1740
  variant: l = "filled",
1741
1741
  className: i = "",
1742
1742
  id: c,
1743
- name: m,
1743
+ name: h,
1744
1744
  value: f,
1745
- checkedColor: h = "#EC615B",
1745
+ checkedColor: m = "#EC615B",
1746
1746
  uncheckedColor: b = "#ffffff",
1747
1747
  checkedBorderColor: L = "#EC615B",
1748
1748
  style: y
@@ -1765,7 +1765,7 @@ const V2 = ({
1765
1765
  if (!n && !(!g && !s))
1766
1766
  return p ? {
1767
1767
  borderColor: L,
1768
- backgroundColor: h
1768
+ backgroundColor: m
1769
1769
  } : {
1770
1770
  borderColor: L,
1771
1771
  backgroundColor: b
@@ -1777,7 +1777,7 @@ const V2 = ({
1777
1777
  {
1778
1778
  type: "checkbox",
1779
1779
  id: c,
1780
- name: m,
1780
+ name: h,
1781
1781
  value: f,
1782
1782
  checked: g,
1783
1783
  onChange: x,
@@ -1809,7 +1809,7 @@ const V2 = ({
1809
1809
  stroke: "currentColor",
1810
1810
  viewBox: "0 0 24 24",
1811
1811
  strokeWidth: 3,
1812
- style: !p && (g || s) ? { color: h } : void 0,
1812
+ style: !p && (g || s) ? { color: m } : void 0,
1813
1813
  children: /* @__PURE__ */ t("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M5 13l4 4L19 7" })
1814
1814
  }
1815
1815
  ),
@@ -1819,7 +1819,7 @@ const V2 = ({
1819
1819
  className: `${C[a]} ${H()}`,
1820
1820
  fill: "currentColor",
1821
1821
  viewBox: "0 0 24 24",
1822
- style: !p && (g || s) ? { color: h } : void 0,
1822
+ style: !p && (g || s) ? { color: m } : void 0,
1823
1823
  children: /* @__PURE__ */ t("rect", { x: "4", y: "11", width: "16", height: "2", rx: "1" })
1824
1824
  }
1825
1825
  )
@@ -1876,14 +1876,14 @@ const V2 = ({
1876
1876
  size: l = "md",
1877
1877
  bgColor: i,
1878
1878
  hoverBgColor: c,
1879
- textColor: m,
1879
+ textColor: h,
1880
1880
  sublabelColor: f,
1881
- removeButtonColor: h,
1881
+ removeButtonColor: m,
1882
1882
  removeButtonHoverColor: b,
1883
1883
  rounded: L = "md",
1884
1884
  style: y
1885
1885
  }) => {
1886
- const w = e0(l), u = t0(L), v = "#F4F4F4", g = "#EBEBEB", x = "#181918", k = "#999999", C = "#9CA3AF", p = "#EC615B", _ = i || v, B = c || g, H = m || x, Z = f || k, $ = h || C, U = b || p;
1886
+ const w = e0(l), u = t0(L), v = "#F4F4F4", g = "#EBEBEB", x = "#181918", k = "#999999", C = "#9CA3AF", p = "#EC615B", _ = i || v, B = c || g, H = h || x, Z = f || k, $ = m || C, U = b || p;
1887
1887
  return e.length === 0 ? /* @__PURE__ */ t(
1888
1888
  "div",
1889
1889
  {
@@ -2081,7 +2081,7 @@ const p2 = V.forwardRef(({
2081
2081
  required: a,
2082
2082
  ...l
2083
2083
  }, i) => {
2084
- const m = `password-input-custom ${n} ${r ? "password-input-error-state" : ""}`;
2084
+ const h = `password-input-custom ${n} ${r ? "password-input-error-state" : ""}`;
2085
2085
  return /* @__PURE__ */ d("div", { className: "w-full", children: [
2086
2086
  e && /* @__PURE__ */ d("label", { className: "block text-sm font-medium mb-2", style: { color: r ? "#C21919" : "#181918" }, children: [
2087
2087
  e,
@@ -2109,7 +2109,7 @@ const p2 = V.forwardRef(({
2109
2109
  q.Password,
2110
2110
  {
2111
2111
  ref: i,
2112
- className: m,
2112
+ className: h,
2113
2113
  status: r ? "error" : s,
2114
2114
  ...l,
2115
2115
  style: {
@@ -2171,7 +2171,7 @@ const M2 = ({
2171
2171
  disabled: i = !1,
2172
2172
  className: c = ""
2173
2173
  }) => {
2174
- const [m, f] = O(Array(e).fill("")), h = e2([]);
2174
+ const [h, f] = O(Array(e).fill("")), m = e2([]);
2175
2175
  R(() => {
2176
2176
  if (r) {
2177
2177
  const w = r.split("").slice(0, e), u = [...w, ...Array(e - w.length).fill("")];
@@ -2181,13 +2181,13 @@ const M2 = ({
2181
2181
  const b = (w, u) => {
2182
2182
  var x;
2183
2183
  if (u && !/^\d+$/.test(u)) return;
2184
- const v = [...m];
2184
+ const v = [...h];
2185
2185
  v[w] = u.slice(-1), f(v);
2186
2186
  const g = v.join("");
2187
- o == null || o(g), u && w < e - 1 && ((x = h.current[w + 1]) == null || x.focus()), v.every((k) => k !== "") && (s == null || s(g));
2187
+ o == null || o(g), u && w < e - 1 && ((x = m.current[w + 1]) == null || x.focus()), v.every((k) => k !== "") && (s == null || s(g));
2188
2188
  }, L = (w, u) => {
2189
2189
  var v;
2190
- u.key === "Backspace" && !m[w] && w > 0 && ((v = h.current[w - 1]) == null || v.focus());
2190
+ u.key === "Backspace" && !h[w] && w > 0 && ((v = m.current[w - 1]) == null || v.focus());
2191
2191
  }, y = (w) => {
2192
2192
  var C;
2193
2193
  w.preventDefault();
@@ -2198,15 +2198,15 @@ const M2 = ({
2198
2198
  const x = g.join("");
2199
2199
  o == null || o(x);
2200
2200
  const k = Math.min(v.length, e - 1);
2201
- (C = h.current[k]) == null || C.focus(), g.every((p) => p !== "") && (s == null || s(x));
2201
+ (C = m.current[k]) == null || C.focus(), g.every((p) => p !== "") && (s == null || s(x));
2202
2202
  };
2203
2203
  return /* @__PURE__ */ d("div", { className: "w-full", children: [
2204
- /* @__PURE__ */ t("div", { className: `flex gap-2 justify-center ${c}`, onBlur: n, children: m.map((w, u) => /* @__PURE__ */ d(V.Fragment, { children: [
2204
+ /* @__PURE__ */ t("div", { className: `flex gap-2 justify-center ${c}`, onBlur: n, children: h.map((w, u) => /* @__PURE__ */ d(V.Fragment, { children: [
2205
2205
  /* @__PURE__ */ t(
2206
2206
  q,
2207
2207
  {
2208
2208
  ref: (v) => {
2209
- h.current[u] = v;
2209
+ m.current[u] = v;
2210
2210
  },
2211
2211
  placeholder: "",
2212
2212
  value: w,
@@ -2273,9 +2273,9 @@ const M2 = ({
2273
2273
  ],
2274
2274
  showCountryCodeDropdown: i = !0,
2275
2275
  format: c = "spaced",
2276
- customFormat: m,
2276
+ customFormat: h,
2277
2277
  value: f,
2278
- onChange: h,
2278
+ onChange: m,
2279
2279
  ...b
2280
2280
  }, L) => {
2281
2281
  const y = r ? "phone-input-error-state" : "", [w, u] = O("");
@@ -2287,8 +2287,8 @@ const M2 = ({
2287
2287
  }, [f, c, s]);
2288
2288
  const v = (C) => {
2289
2289
  const p = C.replace(/\D/g, "");
2290
- if (m)
2291
- return m(p);
2290
+ if (h)
2291
+ return h(p);
2292
2292
  if (c === "none")
2293
2293
  return p;
2294
2294
  let _ = "";
@@ -2303,23 +2303,23 @@ const M2 = ({
2303
2303
  if (requestAnimationFrame(() => {
2304
2304
  const E = Math.max(0, Math.min(_ + U, H.length));
2305
2305
  p.setSelectionRange(E, E);
2306
- }), h) {
2306
+ }), m) {
2307
2307
  const E = {
2308
2308
  ...C,
2309
2309
  target: { ...C.target, value: B }
2310
2310
  };
2311
- h(E);
2311
+ m(E);
2312
2312
  }
2313
2313
  }, k = (C) => {
2314
2314
  var E;
2315
2315
  C.preventDefault();
2316
2316
  const _ = C.clipboardData.getData("text/plain").replace(/\D/g, ""), H = C.target.selectionStart || 0, $ = w.replace(/\D/g, "").slice(0, H) + _, U = v($);
2317
- if (u(U), h) {
2317
+ if (u(U), m) {
2318
2318
  const M = {
2319
2319
  ...C,
2320
2320
  target: { ...C.target, value: $ }
2321
2321
  };
2322
- h(M);
2322
+ m(M);
2323
2323
  }
2324
2324
  (E = b.onPaste) == null || E.call(b, C);
2325
2325
  };
@@ -2468,9 +2468,9 @@ const u2 = V.forwardRef(({
2468
2468
  formatAmount: l = !1,
2469
2469
  onChange: i,
2470
2470
  value: c,
2471
- ...m
2471
+ ...h
2472
2472
  }, f) => {
2473
- const h = r ? "currency-input-error-state" : "", [b, L] = O(""), y = (v) => {
2473
+ const m = r ? "currency-input-error-state" : "", [b, L] = O(""), y = (v) => {
2474
2474
  const x = v.replace(/[^\d.]/g, "").split("."), k = x[0], C = x[1], p = k.replace(/\B(?=(\d{3})+(?!\d))/g, ",");
2475
2475
  return C !== void 0 ? `${p}.${C}` : p;
2476
2476
  }, w = (v) => v.replace(/,/g, "");
@@ -2496,7 +2496,7 @@ const u2 = V.forwardRef(({
2496
2496
  style: { color: r ? "#C21919" : "#181918" },
2497
2497
  children: [
2498
2498
  e,
2499
- m.required && /* @__PURE__ */ t("span", { style: { color: "#C21919" }, children: "*" })
2499
+ h.required && /* @__PURE__ */ t("span", { style: { color: "#C21919" }, children: "*" })
2500
2500
  ]
2501
2501
  }
2502
2502
  ),
@@ -2542,15 +2542,15 @@ const u2 = V.forwardRef(({
2542
2542
  q,
2543
2543
  {
2544
2544
  ref: f,
2545
- className: `currency-input-wrapper ${n} ${h}`,
2545
+ className: `currency-input-wrapper ${n} ${m}`,
2546
2546
  status: r ? "error" : s,
2547
2547
  prefix: /* @__PURE__ */ t("span", { children: a }),
2548
- ...m,
2548
+ ...h,
2549
2549
  value: l ? b : c,
2550
2550
  onChange: u,
2551
2551
  style: {
2552
2552
  borderColor: r ? "#C21919" : "#D1D1D1",
2553
- ...m.style
2553
+ ...h.style
2554
2554
  }
2555
2555
  }
2556
2556
  ),
@@ -2726,12 +2726,12 @@ const P0 = ({
2726
2726
  )
2727
2727
  ]
2728
2728
  }
2729
- ), C0 = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%2085.5%20513%20342'%3e%3cpath%20fill='%23FFF'%20d='M0%2085.5h513v342H0z'/%3e%3cg%20fill='%23007b23'%3e%3cpath%20d='M0%2085.5h171v342H0zM342%2085.5h171v342H342z'/%3e%3c/g%3e%3c/svg%3e", u0 = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3cpath%20fill='%23FFF'%20d='M0%200h513v342H0z'/%3e%3cg%20fill='%23D80027'%3e%3cpath%20d='M0%200h513v26.3H0zM0%2052.6h513v26.3H0zM0%20105.2h513v26.3H0zM0%20157.8h513v26.3H0zM0%20210.5h513v26.3H0zM0%20263.1h513v26.3H0zM0%20315.7h513V342H0z'/%3e%3c/g%3e%3cpath%20fill='%232E52B2'%20d='M0%200h256.5v184.1H0z'/%3e%3cg%20fill='%23FFF'%3e%3cpath%20d='m47.8%20138.9-4-12.8-4.4%2012.8H26.2l10.7%207.7-4%2012.8%2010.9-7.9%2010.6%207.9-4.1-12.8%2010.9-7.7zM104.1%20138.9l-4.1-12.8-4.2%2012.8H82.6l10.7%207.7-4%2012.8%2010.7-7.9%2010.8%207.9-4-12.8%2010.7-7.7zM160.6%20138.9l-4.3-12.8-4%2012.8h-13.5l11%207.7-4.2%2012.8%2010.7-7.9%2011%207.9-4.2-12.8%2010.7-7.7zM216.8%20138.9l-4-12.8-4.2%2012.8h-13.3l10.8%207.7-4%2012.8%2010.7-7.9%2010.8%207.9-4.3-12.8%2011-7.7zM100%2075.3l-4.2%2012.8H82.6L93.3%2096l-4%2012.6%2010.7-7.8%2010.8%207.8-4-12.6%2010.7-7.9h-13.4zM43.8%2075.3l-4.4%2012.8H26.2L36.9%2096l-4%2012.6%2010.9-7.8%2010.6%207.8L50.3%2096l10.9-7.9H47.8zM156.3%2075.3l-4%2012.8h-13.5l11%207.9-4.2%2012.6%2010.7-7.8%2011%207.8-4.2-12.6%2010.7-7.9h-13.2zM212.8%2075.3l-4.2%2012.8h-13.3l10.8%207.9-4%2012.6%2010.7-7.8%2010.8%207.8-4.3-12.6%2011-7.9h-13.5zM43.8%2024.7l-4.4%2012.6H26.2l10.7%207.9-4%2012.7L43.8%2050l10.6%207.9-4.1-12.7%2010.9-7.9H47.8zM100%2024.7l-4.2%2012.6H82.6l10.7%207.9-4%2012.7L100%2050l10.8%207.9-4-12.7%2010.7-7.9h-13.4zM156.3%2024.7l-4%2012.6h-13.5l11%207.9-4.2%2012.7%2010.7-7.9%2011%207.9-4.2-12.7%2010.7-7.9h-13.2zM212.8%2024.7l-4.2%2012.6h-13.3l10.8%207.9-4%2012.7%2010.7-7.9%2010.8%207.9-4.3-12.7%2011-7.9h-13.5z'/%3e%3c/g%3e%3c/svg%3e", f0 = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3cg%20fill='%23FFF'%3e%3cpath%20d='M0%200h513v341.3H0V0z'/%3e%3cpath%20d='M311.7%20230%20513%20341.3v-31.5L369.3%20230h-57.6zM200.3%20111.3%200%200v31.5l143.7%2079.8h56.6z'/%3e%3c/g%3e%3cg%20fill='%230052B4'%3e%3cpath%20d='M393.8%20230%20513%20295.7V230H393.8zm-82.1%200L513%20341.3v-31.5L369.3%20230h-57.6zm146.9%20111.3-147-81.7v81.7h147zM90.3%20230%200%20280.2V230h90.3zm110%2014.2v97.2H25.5l174.8-97.2zM118.2%20111.3%200%2045.6v65.7h118.2zm82.1%200L0%200v31.5l143.7%2079.8h56.6zM53.4%200l147%2081.7V0h-147zM421.7%20111.3%20513%2061.1v50.2h-91.3zm-110-14.2V0h174.9L311.7%2097.1z'/%3e%3c/g%3e%3cg%20fill='%23D80027'%3e%3cpath%20d='M288%200h-64v138.7H0v64h224v138.7h64V202.7h224v-64H288V0z'/%3e%3cpath%20d='M311.7%20230%20513%20341.3v-31.5L369.3%20230h-57.6zM143.7%20230%200%20309.9v31.5L200.3%20230h-56.6zM200.3%20111.3%200%200v31.5l143.7%2079.8h56.6zM368.3%20111.3%20513%2031.5V0L311.7%20111.3h56.6z'/%3e%3c/g%3e%3c/svg%3e", m0 = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3cpath%20fill='%23FFDA44'%20d='M0%200h513v342H0z'/%3e%3cpath%20fill='%23D80027'%20d='M0%200h513v114H0z'/%3e%3cpath%20fill='%23496E2D'%20d='M0%20228h513v114H0z'/%3e%3cpath%20d='m255.9%20113.8%2014.1%2043.4%2040.4%203.2-37%2026.9%2019.5%2040.3-37-26.9-37%2026.9%2014.1-43.5-36.9-26.9h45.7z'/%3e%3c/svg%3e", h0 = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%2085.333%20512%20341.333'%3e%3cpath%20fill='%23FFF'%20d='M0%2085.331h512v341.337H0z'/%3e%3cpath%20d='M0%2085.331h512v90.579H0z'/%3e%3cpath%20fill='%23496E2D'%20d='M0%20336.089h512v90.568H0z'/%3e%3cpath%20fill='%23A2001D'%20d='M0%20198.606h512v114.799H0z'/%3e%3cg%20fill='%23FFF'%3e%3cpath%20d='m323.265%20139.803-25.583-11.809L256%20222.376l-41.682-94.382-25.583%2011.809%2051.749%20116.191-51.749%20116.192%2025.583%2011.808L256%20289.613l41.682%2094.381%2025.583-11.808-51.749-116.192z'/%3e%3cpath%20d='M273.376%20150.931C263.472%20140.115%20256%20133.898%20256%20133.898s-7.472%206.216-17.376%2017.032v210.127C248.528%20371.873%20256%20378.091%20256%20378.091s7.472-6.216%2017.376-17.033V150.931z'/%3e%3c/g%3e%3cg%20fill='%23A2001D'%3e%3cpath%20d='M209.04%20191.226v129.535c10.465%2018.542%2023.274%2033.742%2032.872%2043.818V147.408c-9.599%2010.076-22.408%2025.275-32.872%2043.818zM302.96%20191.226c-10.465-18.543-23.274-33.742-32.872-43.818V364.58c9.599-10.077%2022.407-25.276%2032.872-43.818V191.226z'/%3e%3c/g%3e%3cpath%20d='M302.96%20191.226v129.535c10.594-18.774%2018.784-40.973%2018.784-64.767s-8.19-45.993-18.784-64.768zM209.04%20191.226v129.535c-10.594-18.774-18.784-40.973-18.784-64.767s8.19-45.993%2018.784-64.768z'/%3e%3c/svg%3e", g0 = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%2085.333%20512%20341.333'%3e%3cpath%20fill='%23FFF'%20d='M0%2085.337h512v341.326H0z'/%3e%3cpath%20d='M114.024%20256.001%200%20141.926v228.17z'/%3e%3cpath%20fill='%23ffb915'%20d='M161.192%20256%200%2094.7v47.226l114.024%20114.075L0%20370.096v47.138z'/%3e%3cpath%20fill='%23007847'%20d='M509.833%20289.391c.058-.44.804-.878%202.167-1.318v-65.464H222.602L85.33%2085.337H0V94.7L161.192%20256%200%20417.234v9.429h85.33l137.272-137.272h287.231z'/%3e%3cpath%20fill='%23000c8a'%20d='M503.181%20322.783H236.433l-103.881%20103.88H512v-103.88z'/%3e%3cpath%20fill='%23e1392d'%20d='M503.181%20189.217H512V85.337H132.552l103.881%20103.88z'/%3e%3c/svg%3e", x0 = [
2729
+ ), C0 = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%2085.5%20513%20342'%3e%3cpath%20fill='%23FFF'%20d='M0%2085.5h513v342H0z'/%3e%3cg%20fill='%23007b23'%3e%3cpath%20d='M0%2085.5h171v342H0zM342%2085.5h171v342H342z'/%3e%3c/g%3e%3c/svg%3e", u0 = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3cpath%20fill='%23FFF'%20d='M0%200h513v342H0z'/%3e%3cg%20fill='%23D80027'%3e%3cpath%20d='M0%200h513v26.3H0zM0%2052.6h513v26.3H0zM0%20105.2h513v26.3H0zM0%20157.8h513v26.3H0zM0%20210.5h513v26.3H0zM0%20263.1h513v26.3H0zM0%20315.7h513V342H0z'/%3e%3c/g%3e%3cpath%20fill='%232E52B2'%20d='M0%200h256.5v184.1H0z'/%3e%3cg%20fill='%23FFF'%3e%3cpath%20d='m47.8%20138.9-4-12.8-4.4%2012.8H26.2l10.7%207.7-4%2012.8%2010.9-7.9%2010.6%207.9-4.1-12.8%2010.9-7.7zM104.1%20138.9l-4.1-12.8-4.2%2012.8H82.6l10.7%207.7-4%2012.8%2010.7-7.9%2010.8%207.9-4-12.8%2010.7-7.7zM160.6%20138.9l-4.3-12.8-4%2012.8h-13.5l11%207.7-4.2%2012.8%2010.7-7.9%2011%207.9-4.2-12.8%2010.7-7.7zM216.8%20138.9l-4-12.8-4.2%2012.8h-13.3l10.8%207.7-4%2012.8%2010.7-7.9%2010.8%207.9-4.3-12.8%2011-7.7zM100%2075.3l-4.2%2012.8H82.6L93.3%2096l-4%2012.6%2010.7-7.8%2010.8%207.8-4-12.6%2010.7-7.9h-13.4zM43.8%2075.3l-4.4%2012.8H26.2L36.9%2096l-4%2012.6%2010.9-7.8%2010.6%207.8L50.3%2096l10.9-7.9H47.8zM156.3%2075.3l-4%2012.8h-13.5l11%207.9-4.2%2012.6%2010.7-7.8%2011%207.8-4.2-12.6%2010.7-7.9h-13.2zM212.8%2075.3l-4.2%2012.8h-13.3l10.8%207.9-4%2012.6%2010.7-7.8%2010.8%207.8-4.3-12.6%2011-7.9h-13.5zM43.8%2024.7l-4.4%2012.6H26.2l10.7%207.9-4%2012.7L43.8%2050l10.6%207.9-4.1-12.7%2010.9-7.9H47.8zM100%2024.7l-4.2%2012.6H82.6l10.7%207.9-4%2012.7L100%2050l10.8%207.9-4-12.7%2010.7-7.9h-13.4zM156.3%2024.7l-4%2012.6h-13.5l11%207.9-4.2%2012.7%2010.7-7.9%2011%207.9-4.2-12.7%2010.7-7.9h-13.2zM212.8%2024.7l-4.2%2012.6h-13.3l10.8%207.9-4%2012.7%2010.7-7.9%2010.8%207.9-4.3-12.7%2011-7.9h-13.5z'/%3e%3c/g%3e%3c/svg%3e", f0 = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3cg%20fill='%23FFF'%3e%3cpath%20d='M0%200h513v341.3H0V0z'/%3e%3cpath%20d='M311.7%20230%20513%20341.3v-31.5L369.3%20230h-57.6zM200.3%20111.3%200%200v31.5l143.7%2079.8h56.6z'/%3e%3c/g%3e%3cg%20fill='%230052B4'%3e%3cpath%20d='M393.8%20230%20513%20295.7V230H393.8zm-82.1%200L513%20341.3v-31.5L369.3%20230h-57.6zm146.9%20111.3-147-81.7v81.7h147zM90.3%20230%200%20280.2V230h90.3zm110%2014.2v97.2H25.5l174.8-97.2zM118.2%20111.3%200%2045.6v65.7h118.2zm82.1%200L0%200v31.5l143.7%2079.8h56.6zM53.4%200l147%2081.7V0h-147zM421.7%20111.3%20513%2061.1v50.2h-91.3zm-110-14.2V0h174.9L311.7%2097.1z'/%3e%3c/g%3e%3cg%20fill='%23D80027'%3e%3cpath%20d='M288%200h-64v138.7H0v64h224v138.7h64V202.7h224v-64H288V0z'/%3e%3cpath%20d='M311.7%20230%20513%20341.3v-31.5L369.3%20230h-57.6zM143.7%20230%200%20309.9v31.5L200.3%20230h-56.6zM200.3%20111.3%200%200v31.5l143.7%2079.8h56.6zM368.3%20111.3%20513%2031.5V0L311.7%20111.3h56.6z'/%3e%3c/g%3e%3c/svg%3e", h0 = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3cpath%20fill='%23FFDA44'%20d='M0%200h513v342H0z'/%3e%3cpath%20fill='%23D80027'%20d='M0%200h513v114H0z'/%3e%3cpath%20fill='%23496E2D'%20d='M0%20228h513v114H0z'/%3e%3cpath%20d='m255.9%20113.8%2014.1%2043.4%2040.4%203.2-37%2026.9%2019.5%2040.3-37-26.9-37%2026.9%2014.1-43.5-36.9-26.9h45.7z'/%3e%3c/svg%3e", m0 = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%2085.333%20512%20341.333'%3e%3cpath%20fill='%23FFF'%20d='M0%2085.331h512v341.337H0z'/%3e%3cpath%20d='M0%2085.331h512v90.579H0z'/%3e%3cpath%20fill='%23496E2D'%20d='M0%20336.089h512v90.568H0z'/%3e%3cpath%20fill='%23A2001D'%20d='M0%20198.606h512v114.799H0z'/%3e%3cg%20fill='%23FFF'%3e%3cpath%20d='m323.265%20139.803-25.583-11.809L256%20222.376l-41.682-94.382-25.583%2011.809%2051.749%20116.191-51.749%20116.192%2025.583%2011.808L256%20289.613l41.682%2094.381%2025.583-11.808-51.749-116.192z'/%3e%3cpath%20d='M273.376%20150.931C263.472%20140.115%20256%20133.898%20256%20133.898s-7.472%206.216-17.376%2017.032v210.127C248.528%20371.873%20256%20378.091%20256%20378.091s7.472-6.216%2017.376-17.033V150.931z'/%3e%3c/g%3e%3cg%20fill='%23A2001D'%3e%3cpath%20d='M209.04%20191.226v129.535c10.465%2018.542%2023.274%2033.742%2032.872%2043.818V147.408c-9.599%2010.076-22.408%2025.275-32.872%2043.818zM302.96%20191.226c-10.465-18.543-23.274-33.742-32.872-43.818V364.58c9.599-10.077%2022.407-25.276%2032.872-43.818V191.226z'/%3e%3c/g%3e%3cpath%20d='M302.96%20191.226v129.535c10.594-18.774%2018.784-40.973%2018.784-64.767s-8.19-45.993-18.784-64.768zM209.04%20191.226v129.535c-10.594-18.774-18.784-40.973-18.784-64.767s8.19-45.993%2018.784-64.768z'/%3e%3c/svg%3e", g0 = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%2085.333%20512%20341.333'%3e%3cpath%20fill='%23FFF'%20d='M0%2085.337h512v341.326H0z'/%3e%3cpath%20d='M114.024%20256.001%200%20141.926v228.17z'/%3e%3cpath%20fill='%23ffb915'%20d='M161.192%20256%200%2094.7v47.226l114.024%20114.075L0%20370.096v47.138z'/%3e%3cpath%20fill='%23007847'%20d='M509.833%20289.391c.058-.44.804-.878%202.167-1.318v-65.464H222.602L85.33%2085.337H0V94.7L161.192%20256%200%20417.234v9.429h85.33l137.272-137.272h287.231z'/%3e%3cpath%20fill='%23000c8a'%20d='M503.181%20322.783H236.433l-103.881%20103.88H512v-103.88z'/%3e%3cpath%20fill='%23e1392d'%20d='M503.181%20189.217H512V85.337H132.552l103.881%20103.88z'/%3e%3c/svg%3e", x0 = [
2730
2730
  { code: "NG", name: "Nigeria", flag: C0 },
2731
2731
  { code: "US", name: "United States", flag: u0 },
2732
2732
  { code: "GB", name: "United Kingdom", flag: f0 },
2733
- { code: "GH", name: "Ghana", flag: m0 },
2734
- { code: "KE", name: "Kenya", flag: h0 },
2733
+ { code: "GH", name: "Ghana", flag: h0 },
2734
+ { code: "KE", name: "Kenya", flag: m0 },
2735
2735
  { code: "ZA", name: "South Africa", flag: g0 }
2736
2736
  ], I0 = ({
2737
2737
  countries: e = x0,
@@ -2759,9 +2759,9 @@ const P0 = ({
2759
2759
  ] }),
2760
2760
  // Add searchable text for filtering
2761
2761
  searchLabel: `${f.name} ${f.code}`.toLowerCase()
2762
- })), m = (f, h) => {
2762
+ })), h = (f, m) => {
2763
2763
  var b;
2764
- return ((b = h == null ? void 0 : h.searchLabel) == null ? void 0 : b.includes(f.toLowerCase())) || !1;
2764
+ return ((b = m == null ? void 0 : m.searchLabel) == null ? void 0 : b.includes(f.toLowerCase())) || !1;
2765
2765
  };
2766
2766
  return /* @__PURE__ */ d(a2, { children: [
2767
2767
  /* @__PURE__ */ t("style", { children: `
@@ -2815,7 +2815,7 @@ const P0 = ({
2815
2815
  onChange: l,
2816
2816
  options: c,
2817
2817
  showSearch: n,
2818
- filterOption: m,
2818
+ filterOption: h,
2819
2819
  placeholder: "Search country...",
2820
2820
  suffixIcon: /* @__PURE__ */ t("svg", { width: "12", height: "8", viewBox: "0 0 12 8", fill: "none", children: /* @__PURE__ */ t(
2821
2821
  "path",
@@ -2859,9 +2859,9 @@ const P0 = ({
2859
2859
  }
2860
2860
  ], c = ({ key: f }) => {
2861
2861
  s && s(f);
2862
- }, m = (f) => {
2863
- const h = f.split(" ");
2864
- return h.length >= 2 ? `${h[0][0]}${h[1][0]}`.toUpperCase() : f.substring(0, 2).toUpperCase();
2862
+ }, h = (f) => {
2863
+ const m = f.split(" ");
2864
+ return m.length >= 2 ? `${m[0][0]}${m[1][0]}`.toUpperCase() : f.substring(0, 2).toUpperCase();
2865
2865
  };
2866
2866
  return /* @__PURE__ */ d(a2, { children: [
2867
2867
  /* @__PURE__ */ t("style", { children: `
@@ -2956,7 +2956,7 @@ const P0 = ({
2956
2956
  className: `user-profile-dropdown ${a}`,
2957
2957
  style: { width: typeof l == "number" ? `${l}px` : l },
2958
2958
  children: [
2959
- /* @__PURE__ */ t("div", { className: "user-profile-avatar", children: o ? /* @__PURE__ */ t("img", { src: o, alt: e }) : m(e) }),
2959
+ /* @__PURE__ */ t("div", { className: "user-profile-avatar", children: o ? /* @__PURE__ */ t("img", { src: o, alt: e }) : h(e) }),
2960
2960
  /* @__PURE__ */ d("div", { className: "user-profile-info", children: [
2961
2961
  /* @__PURE__ */ t("div", { className: "user-profile-name", children: e }),
2962
2962
  r && /* @__PURE__ */ t("div", { className: "user-profile-role", children: r })
@@ -3063,9 +3063,9 @@ const P0 = ({
3063
3063
  ledgerBalance: l,
3064
3064
  bottomLabel: i = "Ledger Balance",
3065
3065
  bottomValue: c,
3066
- showLedgerValuePrefix: m = !0,
3066
+ showLedgerValuePrefix: h = !0,
3067
3067
  bottomIcon: f,
3068
- showCopyButton: h = !1,
3068
+ showCopyButton: m = !1,
3069
3069
  copyValue: b,
3070
3070
  onCopy: L,
3071
3071
  copyIconColor: y,
@@ -3095,7 +3095,7 @@ const P0 = ({
3095
3095
  return /* @__PURE__ */ d(
3096
3096
  "div",
3097
3097
  {
3098
- className: `relative overflow-hidden flex flex-col rounded-[20px] px-3 sm:px-[18px] pt-3 transition-all duration-300 ease-in-out hover:-translate-y-1 cursor-pointer self-start ${U ? "pb-1" : "pb-3"} ${C}`,
3098
+ className: `relative overflow-hidden flex flex-col rounded-[20px] px-3 sm:px-[18px] pt-3 transition-all duration-300 ease-in-out hover:-translate-y-1 cursor-pointer self-start ${U ? "pb-0.5" : "pb-3"} ${C}`,
3099
3099
  style: {
3100
3100
  background: g ? `url(${g}) center / cover no-repeat` : "radial-gradient(circle at 50% 136%, #7A7F7A 0%, #181918 100%)",
3101
3101
  width: typeof k == "number" ? `${k}px` : k,
@@ -3178,8 +3178,8 @@ const P0 = ({
3178
3178
  children: p ? `${a} ${r}` : "****"
3179
3179
  }
3180
3180
  ),
3181
- U && /* @__PURE__ */ d("div", { className: "mt-2 mb-1", children: [
3182
- /* @__PURE__ */ t("div", { className: "w-full h-px bg-white/10 mb-2 transition-opacity duration-300" }),
3181
+ U && /* @__PURE__ */ d("div", { className: "mt-2", children: [
3182
+ /* @__PURE__ */ t("div", { className: "w-full h-px bg-white/10 mb-1 transition-opacity duration-300" }),
3183
3183
  /* @__PURE__ */ d("div", { className: "flex items-center justify-between gap-2 transition-all duration-200", children: [
3184
3184
  /* @__PURE__ */ d("div", { className: "flex items-center gap-2 min-w-0", children: [
3185
3185
  f === void 0 ? /* @__PURE__ */ t(
@@ -3207,17 +3207,17 @@ const P0 = ({
3207
3207
  {
3208
3208
  className: "text-xs font-light transition-all duration-200 truncate",
3209
3209
  style: { color: w ?? "#E6E6E6" },
3210
- children: p ? m ? `${i} ${a} ${$}` : `${i}${$ !== void 0 && $ !== "" ? ` ${$}` : ""}` : "****"
3210
+ children: p ? h ? `${i} ${a} ${$}` : `${i}${$ !== void 0 && $ !== "" ? ` ${$}` : ""}` : "****"
3211
3211
  }
3212
3212
  )
3213
3213
  ] }),
3214
- h && /* @__PURE__ */ t(
3214
+ m && /* @__PURE__ */ t(
3215
3215
  "button",
3216
3216
  {
3217
3217
  type: "button",
3218
3218
  onClick: M,
3219
3219
  "aria-label": B ? "Copied" : "Copy",
3220
- className: "bg-transparent border-none cursor-pointer p-1 flex items-center justify-center transition-colors duration-200 shrink-0 hover:opacity-80",
3220
+ className: "bg-transparent border-none cursor-pointer p-0 flex items-center justify-center transition-colors duration-200 shrink-0 hover:opacity-80",
3221
3221
  style: { color: y ?? "#EC615B" },
3222
3222
  children: B ? /* @__PURE__ */ t("svg", { width: "20", height: "20", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ t("path", { d: "M3.3335 8.33594L6.66683 11.6693L13.3335 4.33594", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) }) : /* @__PURE__ */ d("svg", { width: "20", height: "20", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
3223
3223
  /* @__PURE__ */ t("rect", { x: "5.33594", y: "5.33594", width: "8.66667", height: "8.66667", rx: "1.5", stroke: "currentColor", strokeWidth: "1.3" }),