mainstack-payments 1.0.21 → 1.0.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
1
  import { jsx as h, jsxs as $, Fragment as wt } from "react/jsx-runtime";
2
2
  import { Colors as ct, InfoIcon as Ks, Paragraph as dv, CountrySelect as M1, NotificationsFilledIcon as Go, LockIcon as O1, customSnackbar as Pt, SnackbarType as $t, CancelFilledIcon as wu, Button as qs, Loader as R1, ExpandMoreIcon as Wa, ClickTooltip as xp, DiscountIcon as I1, PhoneNumberInput as D1, MainstackProvider as B1, CustomSnackbarContainer as N1 } from "mainstack-design-system";
3
3
  import * as R from "react";
4
- import _e, { forwardRef as pn, useContext as et, createContext as tn, useLayoutEffect as ki, useEffect as de, useState as ae, useRef as Se, useMemo as at, useCallback as fe, useReducer as L1, useInsertionEffect as Td, createElement as fv, useId as eo, cloneElement as Zs, Children as pv, isValidElement as bl, memo as j1, useSyncExternalStore as z1, PureComponent as V1, useImperativeHandle as U1 } from "react";
4
+ import ke, { forwardRef as pn, useContext as et, createContext as tn, useLayoutEffect as ki, useEffect as de, useState as ae, useRef as Se, useMemo as at, useCallback as fe, useReducer as L1, useInsertionEffect as Td, createElement as fv, useId as eo, cloneElement as Zs, Children as pv, isValidElement as bl, memo as j1, useSyncExternalStore as z1, PureComponent as V1, useImperativeHandle as U1 } from "react";
5
5
  import { createPortal as hv } from "react-dom";
6
6
  import G1 from "axios";
7
7
  function W1(e) {
@@ -776,7 +776,7 @@ function TS() {
776
776
  }
777
777
  }
778
778
  }
779
- var E = l, F = c, P = s, D = i, B = t, G = u, X = r, H = g, ne = p, le = n, he = o, U = a, ge = d, He = !1;
779
+ var E = l, F = c, P = s, D = i, B = t, G = u, X = r, H = g, ne = p, ce = n, he = o, U = a, ge = d, He = !1;
780
780
  function ze(L) {
781
781
  return He || (He = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), M(L) || T(L) === l;
782
782
  }
@@ -807,7 +807,7 @@ function TS() {
807
807
  function ie(L) {
808
808
  return T(L) === n;
809
809
  }
810
- function ce(L) {
810
+ function ue(L) {
811
811
  return T(L) === o;
812
812
  }
813
813
  function Z(L) {
@@ -816,7 +816,7 @@ function TS() {
816
816
  function we(L) {
817
817
  return T(L) === d;
818
818
  }
819
- Be.AsyncMode = E, Be.ConcurrentMode = F, Be.ContextConsumer = P, Be.ContextProvider = D, Be.Element = B, Be.ForwardRef = G, Be.Fragment = X, Be.Lazy = H, Be.Memo = ne, Be.Portal = le, Be.Profiler = he, Be.StrictMode = U, Be.Suspense = ge, Be.isAsyncMode = ze, Be.isConcurrentMode = M, Be.isContextConsumer = O, Be.isContextProvider = q, Be.isElement = j, Be.isForwardRef = J, Be.isFragment = Q, Be.isLazy = V, Be.isMemo = ee, Be.isPortal = ie, Be.isProfiler = ce, Be.isStrictMode = Z, Be.isSuspense = we, Be.isValidElementType = b, Be.typeOf = T;
819
+ Be.AsyncMode = E, Be.ConcurrentMode = F, Be.ContextConsumer = P, Be.ContextProvider = D, Be.Element = B, Be.ForwardRef = G, Be.Fragment = X, Be.Lazy = H, Be.Memo = ne, Be.Portal = ce, Be.Profiler = he, Be.StrictMode = U, Be.Suspense = ge, Be.isAsyncMode = ze, Be.isConcurrentMode = M, Be.isContextConsumer = O, Be.isContextProvider = q, Be.isElement = j, Be.isForwardRef = J, Be.isFragment = Q, Be.isLazy = V, Be.isMemo = ee, Be.isPortal = ie, Be.isProfiler = ue, Be.isStrictMode = Z, Be.isSuspense = we, Be.isValidElementType = b, Be.typeOf = T;
820
820
  }()), Be;
821
821
  }
822
822
  process.env.NODE_ENV === "production" ? Au.exports = AS() : Au.exports = TS();
@@ -2010,9 +2010,9 @@ function Pr(...e) {
2010
2010
  var Js = { exports: {} };
2011
2011
  Js.exports;
2012
2012
  (function(e, t) {
2013
- var n = 200, r = "__lodash_hash_undefined__", a = 800, o = 16, i = 9007199254740991, s = "[object Arguments]", l = "[object Array]", c = "[object AsyncFunction]", u = "[object Boolean]", d = "[object Date]", f = "[object Error]", p = "[object Function]", g = "[object GeneratorFunction]", m = "[object Map]", v = "[object Number]", S = "[object Null]", x = "[object Object]", b = "[object Proxy]", T = "[object RegExp]", E = "[object Set]", F = "[object String]", P = "[object Undefined]", D = "[object WeakMap]", B = "[object ArrayBuffer]", G = "[object DataView]", X = "[object Float32Array]", H = "[object Float64Array]", ne = "[object Int8Array]", le = "[object Int16Array]", he = "[object Int32Array]", U = "[object Uint8Array]", ge = "[object Uint8ClampedArray]", He = "[object Uint16Array]", ze = "[object Uint32Array]", M = /[\\^$.*+?()[\]{}|]/g, O = /^\[object .+?Constructor\]$/, q = /^(?:0|[1-9]\d*)$/, j = {};
2014
- j[X] = j[H] = j[ne] = j[le] = j[he] = j[U] = j[ge] = j[He] = j[ze] = !0, j[s] = j[l] = j[B] = j[u] = j[G] = j[d] = j[f] = j[p] = j[m] = j[v] = j[x] = j[T] = j[E] = j[F] = j[D] = !1;
2015
- var J = typeof rs == "object" && rs && rs.Object === Object && rs, Q = typeof self == "object" && self && self.Object === Object && self, V = J || Q || Function("return this")(), ee = t && !t.nodeType && t, ie = ee && !0 && e && !e.nodeType && e, ce = ie && ie.exports === ee, Z = ce && J.process, we = function() {
2013
+ var n = 200, r = "__lodash_hash_undefined__", a = 800, o = 16, i = 9007199254740991, s = "[object Arguments]", l = "[object Array]", c = "[object AsyncFunction]", u = "[object Boolean]", d = "[object Date]", f = "[object Error]", p = "[object Function]", g = "[object GeneratorFunction]", m = "[object Map]", v = "[object Number]", S = "[object Null]", x = "[object Object]", b = "[object Proxy]", T = "[object RegExp]", E = "[object Set]", F = "[object String]", P = "[object Undefined]", D = "[object WeakMap]", B = "[object ArrayBuffer]", G = "[object DataView]", X = "[object Float32Array]", H = "[object Float64Array]", ne = "[object Int8Array]", ce = "[object Int16Array]", he = "[object Int32Array]", U = "[object Uint8Array]", ge = "[object Uint8ClampedArray]", He = "[object Uint16Array]", ze = "[object Uint32Array]", M = /[\\^$.*+?()[\]{}|]/g, O = /^\[object .+?Constructor\]$/, q = /^(?:0|[1-9]\d*)$/, j = {};
2014
+ j[X] = j[H] = j[ne] = j[ce] = j[he] = j[U] = j[ge] = j[He] = j[ze] = !0, j[s] = j[l] = j[B] = j[u] = j[G] = j[d] = j[f] = j[p] = j[m] = j[v] = j[x] = j[T] = j[E] = j[F] = j[D] = !1;
2015
+ var J = typeof rs == "object" && rs && rs.Object === Object && rs, Q = typeof self == "object" && self && self.Object === Object && self, V = J || Q || Function("return this")(), ee = t && !t.nodeType && t, ie = ee && !0 && e && !e.nodeType && e, ue = ie && ie.exports === ee, Z = ue && J.process, we = function() {
2016
2016
  try {
2017
2017
  var y = ie && ie.require && ie.require("util").types;
2018
2018
  return y || Z && Z.binding && Z.binding("util");
@@ -2055,7 +2055,7 @@ Js.exports;
2055
2055
  return y ? "Symbol(src)_1." + y : "";
2056
2056
  }(), N = lt.toString, pe = _.call(Object), ye = RegExp(
2057
2057
  "^" + _.call(I).replace(M, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
2058
- ), Ye = ce ? V.Buffer : void 0, Tt = V.Symbol, Rt = V.Uint8Array, jt = Ye ? Ye.allocUnsafe : void 0, na = st(Object.getPrototypeOf, Object), ra = Object.create, ro = lt.propertyIsEnumerable, aa = mt.splice, It = Tt ? Tt.toStringTag : void 0, oa = function() {
2058
+ ), Ye = ue ? V.Buffer : void 0, Tt = V.Symbol, Rt = V.Uint8Array, jt = Ye ? Ye.allocUnsafe : void 0, na = st(Object.getPrototypeOf, Object), ra = Object.create, ro = lt.propertyIsEnumerable, aa = mt.splice, It = Tt ? Tt.toStringTag : void 0, oa = function() {
2059
2059
  try {
2060
2060
  var y = ho(Object, "defineProperty");
2061
2061
  return y({}, "", {}), y;
@@ -7923,9 +7923,9 @@ function Lc(e, t) {
7923
7923
  e,
7924
7924
  r
7925
7925
  )(a);
7926
- return _e.forwardRef(function(l, c) {
7926
+ return ke.forwardRef(function(l, c) {
7927
7927
  const { colorMode: u, forced: d } = jd();
7928
- return _e.createElement(o, {
7928
+ return ke.createElement(o, {
7929
7929
  ref: c,
7930
7930
  "data-theme": d ? u : void 0,
7931
7931
  ...l
@@ -9608,23 +9608,23 @@ function yi({ autoplay: e = !0, delay: t = 0, driver: n = kP, keyframes: r, type
9608
9608
  const { calculatedDuration: X } = E;
9609
9609
  let H = 1 / 0, ne = 1 / 0;
9610
9610
  X !== null && (H = X + i, ne = H * (o + 1) - i);
9611
- let le = 0;
9611
+ let ce = 0;
9612
9612
  const he = (O) => {
9613
9613
  if (B === null)
9614
9614
  return;
9615
- p > 0 && (B = Math.min(B, O)), p < 0 && (B = Math.min(O - ne / p, B)), D !== null ? le = D : le = Math.round(O - B) * p;
9616
- const q = le - t * (p >= 0 ? 1 : -1), j = p >= 0 ? q < 0 : q > ne;
9617
- le = Math.max(q, 0), P === "finished" && D === null && (le = ne);
9618
- let J = le, Q = E;
9615
+ p > 0 && (B = Math.min(B, O)), p < 0 && (B = Math.min(O - ne / p, B)), D !== null ? ce = D : ce = Math.round(O - B) * p;
9616
+ const q = ce - t * (p >= 0 ? 1 : -1), j = p >= 0 ? q < 0 : q > ne;
9617
+ ce = Math.max(q, 0), P === "finished" && D === null && (ce = ne);
9618
+ let J = ce, Q = E;
9619
9619
  if (o) {
9620
- const ce = Math.min(le, ne) / H;
9621
- let Z = Math.floor(ce), we = ce % 1;
9622
- !we && ce >= 1 && (we = 1), we === 1 && Z--, Z = Math.min(Z, o + 1), !!(Z % 2) && (s === "reverse" ? (we = 1 - we, i && (we -= i / H)) : s === "mirror" && (Q = F)), J = cr(0, 1, we) * H;
9620
+ const ue = Math.min(ce, ne) / H;
9621
+ let Z = Math.floor(ue), we = ue % 1;
9622
+ !we && ue >= 1 && (we = 1), we === 1 && Z--, Z = Math.min(Z, o + 1), !!(Z % 2) && (s === "reverse" ? (we = 1 - we, i && (we -= i / H)) : s === "mirror" && (Q = F)), J = cr(0, 1, we) * H;
9623
9623
  }
9624
9624
  const V = j ? { done: !1, value: r[0] } : Q.next(J);
9625
9625
  T && (V.value = T(V.value));
9626
9626
  let { done: ee } = V;
9627
- !j && X !== null && (ee = p >= 0 ? le >= ne : le <= 0);
9627
+ !j && X !== null && (ee = p >= 0 ? ce >= ne : ce <= 0);
9628
9628
  const ie = D === null && (P === "finished" || P === "running" && ee);
9629
9629
  return d && d(V.value), ie && He(), V;
9630
9630
  }, U = () => {
@@ -9646,10 +9646,10 @@ function yi({ autoplay: e = !0, delay: t = 0, driver: n = kP, keyframes: r, type
9646
9646
  return v.then(O, q);
9647
9647
  },
9648
9648
  get time() {
9649
- return _n(le);
9649
+ return _n(ce);
9650
9650
  },
9651
9651
  set time(O) {
9652
- O = ir(O), le = O, D !== null || !x || p === 0 ? D = O : B = x.now() - O / p;
9652
+ O = ir(O), ce = O, D !== null || !x || p === 0 ? D = O : B = x.now() - O / p;
9653
9653
  },
9654
9654
  get duration() {
9655
9655
  const O = E.calculatedDuration === null ? Qh(E) : E.calculatedDuration;
@@ -9659,14 +9659,14 @@ function yi({ autoplay: e = !0, delay: t = 0, driver: n = kP, keyframes: r, type
9659
9659
  return p;
9660
9660
  },
9661
9661
  set speed(O) {
9662
- O === p || !x || (p = O, M.time = _n(le));
9662
+ O === p || !x || (p = O, M.time = _n(ce));
9663
9663
  },
9664
9664
  get state() {
9665
9665
  return P;
9666
9666
  },
9667
9667
  play: ze,
9668
9668
  pause: () => {
9669
- P = "paused", D = le;
9669
+ P = "paused", D = ce;
9670
9670
  },
9671
9671
  stop: () => {
9672
9672
  g = !0, P !== "idle" && (P = "idle", c && c(), ge());
@@ -10329,13 +10329,13 @@ function h6(e) {
10329
10329
  const X = Array.isArray(T) ? T : [T];
10330
10330
  let H = X.reduce(a, {});
10331
10331
  F === !1 && (H = {});
10332
- const { prevResolvedValues: ne = {} } = b, le = {
10332
+ const { prevResolvedValues: ne = {} } = b, ce = {
10333
10333
  ...ne,
10334
10334
  ...H
10335
10335
  }, he = (U) => {
10336
10336
  B = !0, p.has(U) && (G = !0, p.delete(U)), b.needsAnimating[U] = !0;
10337
10337
  };
10338
- for (const U in le) {
10338
+ for (const U in ce) {
10339
10339
  const ge = H[U], He = ne[U];
10340
10340
  if (g.hasOwnProperty(U))
10341
10341
  continue;
@@ -11036,7 +11036,7 @@ const $o = {
11036
11036
  return typeof a[2 + i] == "number" && (a[2 + i] /= c), typeof a[3 + i] == "number" && (a[3 + i] /= c), o(a);
11037
11037
  }
11038
11038
  };
11039
- class W6 extends _e.Component {
11039
+ class W6 extends ke.Component {
11040
11040
  /**
11041
11041
  * This only mounts projection nodes for components that
11042
11042
  * need measuring, we might want to do it for all components
@@ -11078,7 +11078,7 @@ class W6 extends _e.Component {
11078
11078
  }
11079
11079
  function my(e) {
11080
11080
  const [t, n] = hy(), r = et(ef);
11081
- return _e.createElement(W6, { ...e, layoutGroup: r, switchLayoutGroup: et(u0), isPresent: t, safeToRemove: n });
11081
+ return ke.createElement(W6, { ...e, layoutGroup: r, switchLayoutGroup: et(u0), isPresent: t, safeToRemove: n });
11082
11082
  }
11083
11083
  const H6 = {
11084
11084
  borderRadius: {
@@ -13990,7 +13990,7 @@ function q4() {
13990
13990
  function v(M) {
13991
13991
  if (process.env.NODE_ENV !== "production")
13992
13992
  var O = {}, q = 0;
13993
- function j(Q, V, ee, ie, ce, Z, we) {
13993
+ function j(Q, V, ee, ie, ue, Z, we) {
13994
13994
  if (ie = ie || f, Z = Z || ee, we !== n) {
13995
13995
  if (l) {
13996
13996
  var L = new Error(
@@ -14005,15 +14005,15 @@ function q4() {
14005
14005
  ), O[tt] = !0, q++);
14006
14006
  }
14007
14007
  }
14008
- return V[ee] == null ? Q ? V[ee] === null ? new m("The " + ce + " `" + Z + "` is marked as required " + ("in `" + ie + "`, but its value is `null`.")) : new m("The " + ce + " `" + Z + "` is marked as required in " + ("`" + ie + "`, but its value is `undefined`.")) : null : M(V, ee, ie, ce, Z);
14008
+ return V[ee] == null ? Q ? V[ee] === null ? new m("The " + ue + " `" + Z + "` is marked as required " + ("in `" + ie + "`, but its value is `null`.")) : new m("The " + ue + " `" + Z + "` is marked as required in " + ("`" + ie + "`, but its value is `undefined`.")) : null : M(V, ee, ie, ue, Z);
14009
14009
  }
14010
14010
  var J = j.bind(null, !1);
14011
14011
  return J.isRequired = j.bind(null, !0), J;
14012
14012
  }
14013
14013
  function S(M) {
14014
14014
  function O(q, j, J, Q, V, ee) {
14015
- var ie = q[j], ce = U(ie);
14016
- if (ce !== M) {
14015
+ var ie = q[j], ue = U(ie);
14016
+ if (ue !== M) {
14017
14017
  var Z = ge(ie);
14018
14018
  return new m(
14019
14019
  "Invalid " + Q + " `" + V + "` of type " + ("`" + Z + "` supplied to `" + J + "`, expected ") + ("`" + M + "`."),
@@ -14036,8 +14036,8 @@ function q4() {
14036
14036
  var ie = U(ee);
14037
14037
  return new m("Invalid " + Q + " `" + V + "` of type " + ("`" + ie + "` supplied to `" + J + "`, expected an array."));
14038
14038
  }
14039
- for (var ce = 0; ce < ee.length; ce++) {
14040
- var Z = M(ee, ce, J, Q, V + "[" + ce + "]", n);
14039
+ for (var ue = 0; ue < ee.length; ue++) {
14040
+ var Z = M(ee, ue, J, Q, V + "[" + ue + "]", n);
14041
14041
  if (Z instanceof Error)
14042
14042
  return Z;
14043
14043
  }
@@ -14086,11 +14086,11 @@ function q4() {
14086
14086
  for (var ee = q[j], ie = 0; ie < M.length; ie++)
14087
14087
  if (g(ee, M[ie]))
14088
14088
  return null;
14089
- var ce = JSON.stringify(M, function(we, L) {
14089
+ var ue = JSON.stringify(M, function(we, L) {
14090
14090
  var tt = ge(L);
14091
14091
  return tt === "symbol" ? String(L) : L;
14092
14092
  });
14093
- return new m("Invalid " + Q + " `" + V + "` of value `" + String(ee) + "` " + ("supplied to `" + J + "`, expected one of " + ce + "."));
14093
+ return new m("Invalid " + Q + " `" + V + "` of value `" + String(ee) + "` " + ("supplied to `" + J + "`, expected one of " + ue + "."));
14094
14094
  }
14095
14095
  return v(O);
14096
14096
  }
@@ -14101,9 +14101,9 @@ function q4() {
14101
14101
  var ee = q[j], ie = U(ee);
14102
14102
  if (ie !== "object")
14103
14103
  return new m("Invalid " + Q + " `" + V + "` of type " + ("`" + ie + "` supplied to `" + J + "`, expected an object."));
14104
- for (var ce in ee)
14105
- if (r(ee, ce)) {
14106
- var Z = M(ee, ce, J, Q, V + "." + ce, n);
14104
+ for (var ue in ee)
14105
+ if (r(ee, ue)) {
14106
+ var Z = M(ee, ue, J, Q, V + "." + ue, n);
14107
14107
  if (Z instanceof Error)
14108
14108
  return Z;
14109
14109
  }
@@ -14122,20 +14122,20 @@ function q4() {
14122
14122
  ), i;
14123
14123
  }
14124
14124
  function j(J, Q, V, ee, ie) {
14125
- for (var ce = [], Z = 0; Z < M.length; Z++) {
14125
+ for (var ue = [], Z = 0; Z < M.length; Z++) {
14126
14126
  var we = M[Z], L = we(J, Q, V, ee, ie, n);
14127
14127
  if (L == null)
14128
14128
  return null;
14129
- L.data && r(L.data, "expectedType") && ce.push(L.data.expectedType);
14129
+ L.data && r(L.data, "expectedType") && ue.push(L.data.expectedType);
14130
14130
  }
14131
- var tt = ce.length > 0 ? ", expected one of type [" + ce.join(", ") + "]" : "";
14131
+ var tt = ue.length > 0 ? ", expected one of type [" + ue.join(", ") + "]" : "";
14132
14132
  return new m("Invalid " + ee + " `" + ie + "` supplied to " + ("`" + V + "`" + tt + "."));
14133
14133
  }
14134
14134
  return v(j);
14135
14135
  }
14136
14136
  function G() {
14137
14137
  function M(O, q, j, J, Q) {
14138
- return le(O[q]) ? null : new m("Invalid " + J + " `" + Q + "` supplied to " + ("`" + j + "`, expected a ReactNode."));
14138
+ return ce(O[q]) ? null : new m("Invalid " + J + " `" + Q + "` supplied to " + ("`" + j + "`, expected a ReactNode."));
14139
14139
  }
14140
14140
  return v(M);
14141
14141
  }
@@ -14149,11 +14149,11 @@ function q4() {
14149
14149
  var ee = q[j], ie = U(ee);
14150
14150
  if (ie !== "object")
14151
14151
  return new m("Invalid " + Q + " `" + V + "` of type `" + ie + "` " + ("supplied to `" + J + "`, expected `object`."));
14152
- for (var ce in M) {
14153
- var Z = M[ce];
14152
+ for (var ue in M) {
14153
+ var Z = M[ue];
14154
14154
  if (typeof Z != "function")
14155
- return X(J, Q, V, ce, ge(Z));
14156
- var we = Z(ee, ce, J, Q, V + "." + ce, n);
14155
+ return X(J, Q, V, ue, ge(Z));
14156
+ var we = Z(ee, ue, J, Q, V + "." + ue, n);
14157
14157
  if (we)
14158
14158
  return we;
14159
14159
  }
@@ -14166,8 +14166,8 @@ function q4() {
14166
14166
  var ee = q[j], ie = U(ee);
14167
14167
  if (ie !== "object")
14168
14168
  return new m("Invalid " + Q + " `" + V + "` of type `" + ie + "` " + ("supplied to `" + J + "`, expected `object`."));
14169
- var ce = t({}, q[j], M);
14170
- for (var Z in ce) {
14169
+ var ue = t({}, q[j], M);
14170
+ for (var Z in ue) {
14171
14171
  var we = M[Z];
14172
14172
  if (r(M, Z) && typeof we != "function")
14173
14173
  return X(J, Q, V, Z, ge(we));
@@ -14184,7 +14184,7 @@ Valid keys: ` + JSON.stringify(Object.keys(M), null, " ")
14184
14184
  }
14185
14185
  return v(O);
14186
14186
  }
14187
- function le(M) {
14187
+ function ce(M) {
14188
14188
  switch (typeof M) {
14189
14189
  case "number":
14190
14190
  case "string":
@@ -14194,7 +14194,7 @@ Valid keys: ` + JSON.stringify(Object.keys(M), null, " ")
14194
14194
  return !M;
14195
14195
  case "object":
14196
14196
  if (Array.isArray(M))
14197
- return M.every(le);
14197
+ return M.every(ce);
14198
14198
  if (M === null || s(M))
14199
14199
  return !0;
14200
14200
  var O = d(M);
@@ -14202,12 +14202,12 @@ Valid keys: ` + JSON.stringify(Object.keys(M), null, " ")
14202
14202
  var q = O.call(M), j;
14203
14203
  if (O !== M.entries) {
14204
14204
  for (; !(j = q.next()).done; )
14205
- if (!le(j.value))
14205
+ if (!ce(j.value))
14206
14206
  return !1;
14207
14207
  } else
14208
14208
  for (; !(j = q.next()).done; ) {
14209
14209
  var J = j.value;
14210
- if (J && !le(J[1]))
14210
+ if (J && !ce(J[1]))
14211
14211
  return !1;
14212
14212
  }
14213
14213
  } else
@@ -14481,7 +14481,7 @@ var Ky = Tf({}, function(e) {
14481
14481
  async: !0,
14482
14482
  ssr: typeof document < "u"
14483
14483
  }), s3 = /* @__PURE__ */ tn(void 0), l3 = [], Zy = /* @__PURE__ */ R.forwardRef(function(t, n) {
14484
- var r, a = R.useState(), o = a[0], i = a[1], s = R.useRef(), l = R.useRef(!1), c = R.useRef(null), u = R.useState({}), d = u[1], f = t.children, p = t.disabled, g = p === void 0 ? !1 : p, m = t.noFocusGuards, v = m === void 0 ? !1 : m, S = t.persistentFocus, x = S === void 0 ? !1 : S, b = t.crossFrame, T = b === void 0 ? !0 : b, E = t.autoFocus, F = E === void 0 ? !0 : E, P = t.allowTextSelection, D = t.group, B = t.className, G = t.whiteList, X = t.hasPositiveIndices, H = t.shards, ne = H === void 0 ? l3 : H, le = t.as, he = le === void 0 ? "div" : le, U = t.lockProps, ge = U === void 0 ? {} : U, He = t.sideCar, ze = t.returnFocus, M = ze === void 0 ? !1 : ze, O = t.focusOptions, q = t.onActivation, j = t.onDeactivation, J = R.useState({}), Q = J[0], V = R.useCallback(function(st) {
14484
+ var r, a = R.useState(), o = a[0], i = a[1], s = R.useRef(), l = R.useRef(!1), c = R.useRef(null), u = R.useState({}), d = u[1], f = t.children, p = t.disabled, g = p === void 0 ? !1 : p, m = t.noFocusGuards, v = m === void 0 ? !1 : m, S = t.persistentFocus, x = S === void 0 ? !1 : S, b = t.crossFrame, T = b === void 0 ? !0 : b, E = t.autoFocus, F = E === void 0 ? !0 : E, P = t.allowTextSelection, D = t.group, B = t.className, G = t.whiteList, X = t.hasPositiveIndices, H = t.shards, ne = H === void 0 ? l3 : H, ce = t.as, he = ce === void 0 ? "div" : ce, U = t.lockProps, ge = U === void 0 ? {} : U, He = t.sideCar, ze = t.returnFocus, M = ze === void 0 ? !1 : ze, O = t.focusOptions, q = t.onActivation, j = t.onDeactivation, J = R.useState({}), Q = J[0], V = R.useCallback(function(st) {
14485
14485
  var mt = st.captureFocusRestore;
14486
14486
  if (!c.current) {
14487
14487
  var ve, lt = (ve = document) == null ? void 0 : ve.activeElement;
@@ -14501,7 +14501,7 @@ var Ky = Tf({}, function(e) {
14501
14501
  }) : ve.focus(Ve);
14502
14502
  }
14503
14503
  }
14504
- }, [M]), ce = R.useCallback(function(st) {
14504
+ }, [M]), ue = R.useCallback(function(st) {
14505
14505
  l.current && Ky.useMedium(st);
14506
14506
  }, []), Z = qy.useMedium, we = R.useCallback(function(st) {
14507
14507
  s.current !== st && (s.current = st, i(st));
@@ -14549,7 +14549,7 @@ var Ky = Tf({}, function(e) {
14549
14549
  }, L, {
14550
14550
  className: B,
14551
14551
  onBlur: Z,
14552
- onFocus: ce
14552
+ onFocus: ue
14553
14553
  }), /* @__PURE__ */ R.createElement(s3.Provider, {
14554
14554
  value: Ot
14555
14555
  }, f)), me && /* @__PURE__ */ R.createElement("div", {
@@ -14656,7 +14656,7 @@ function p3(e, t) {
14656
14656
  var p = o.indexOf(this);
14657
14657
  o.splice(p, 1), s();
14658
14658
  }, d.render = function() {
14659
- return /* @__PURE__ */ _e.createElement(a, this.props);
14659
+ return /* @__PURE__ */ ke.createElement(a, this.props);
14660
14660
  }, u;
14661
14661
  }(V1);
14662
14662
  return f3(l, "displayName", "SideEffect(" + n(a) + ")"), l;
@@ -15496,7 +15496,7 @@ Bf.displayName = "Grid";
15496
15496
  function $F(e, t) {
15497
15497
  return Array.isArray(e) ? e.map((n) => n === null ? null : t(n)) : dn(e) ? Object.keys(e).reduce((n, r) => (n[r] = t(e[r]), n), {}) : e != null ? t(e) : null;
15498
15498
  }
15499
- var ke = je(function(t, n) {
15499
+ var _e = je(function(t, n) {
15500
15500
  const r = Vn("Text", t), { className: a, align: o, decoration: i, casing: s, ...l } = rn(t), c = Zd({
15501
15501
  textAlign: t.align,
15502
15502
  textDecoration: t.decoration,
@@ -15513,7 +15513,7 @@ var ke = je(function(t, n) {
15513
15513
  }
15514
15514
  );
15515
15515
  });
15516
- ke.displayName = "Text";
15516
+ _e.displayName = "Text";
15517
15517
  function cg(e) {
15518
15518
  return $F(
15519
15519
  e,
@@ -15623,7 +15623,7 @@ var id = je(function(t, n) {
15623
15623
  );
15624
15624
  });
15625
15625
  id.displayName = "Divider";
15626
- var ue = je(function(t, n) {
15626
+ var le = je(function(t, n) {
15627
15627
  const { direction: r, align: a, justify: o, wrap: i, basis: s, grow: l, shrink: c, ...u } = t, d = {
15628
15628
  display: "flex",
15629
15629
  flexDirection: r,
@@ -15636,7 +15636,7 @@ var ue = je(function(t, n) {
15636
15636
  };
15637
15637
  return /* @__PURE__ */ h(xe.div, { ref: n, __css: d, ...u });
15638
15638
  });
15639
- ue.displayName = "Flex";
15639
+ le.displayName = "Flex";
15640
15640
  function Gr(e, t = {}) {
15641
15641
  const { ssr: n = !0, fallback: r } = t, { getWindow: a } = I5(), o = Array.isArray(e) ? e : [e];
15642
15642
  let i = Array.isArray(r) ? r : [r];
@@ -16662,10 +16662,10 @@ function N9() {
16662
16662
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
16663
16663
  }
16664
16664
  var zt = function(t, n, r) {
16665
- var a = !!r, o = _e.useRef(r);
16666
- _e.useEffect(function() {
16665
+ var a = !!r, o = ke.useRef(r);
16666
+ ke.useEffect(function() {
16667
16667
  o.current = r;
16668
- }, [r]), _e.useEffect(function() {
16668
+ }, [r]), ke.useEffect(function() {
16669
16669
  if (!a || !t)
16670
16670
  return function() {
16671
16671
  };
@@ -16677,8 +16677,8 @@ var zt = function(t, n, r) {
16677
16677
  };
16678
16678
  }, [a, n, t, o]);
16679
16679
  }, fd = function(t) {
16680
- var n = _e.useRef(t);
16681
- return _e.useEffect(function() {
16680
+ var n = ke.useRef(t);
16681
+ return ke.useEffect(function() {
16682
16682
  n.current = t;
16683
16683
  }, [t]), n.current;
16684
16684
  }, Ja = function(t) {
@@ -16747,22 +16747,22 @@ var zt = function(t, n, r) {
16747
16747
  version: "2.7.0",
16748
16748
  url: "https://stripe.com/docs/stripe-js/react"
16749
16749
  }));
16750
- }, zl = /* @__PURE__ */ _e.createContext(null);
16750
+ }, zl = /* @__PURE__ */ ke.createContext(null);
16751
16751
  zl.displayName = "ElementsContext";
16752
16752
  var jb = function(t, n) {
16753
16753
  if (!t)
16754
16754
  throw new Error("Could not find Elements context; You need to wrap the part of your app that ".concat(n, " in an <Elements> provider."));
16755
16755
  return t;
16756
16756
  }, Ws = function(t) {
16757
- var n = t.stripe, r = t.options, a = t.children, o = _e.useMemo(function() {
16757
+ var n = t.stripe, r = t.options, a = t.children, o = ke.useMemo(function() {
16758
16758
  return V9(n);
16759
- }, [n]), i = _e.useState(function() {
16759
+ }, [n]), i = ke.useState(function() {
16760
16760
  return {
16761
16761
  stripe: o.tag === "sync" ? o.stripe : null,
16762
16762
  elements: o.tag === "sync" ? o.stripe.elements(r) : null
16763
16763
  };
16764
16764
  }), s = Bb(i, 2), l = s[0], c = s[1];
16765
- _e.useEffect(function() {
16765
+ ke.useEffect(function() {
16766
16766
  var f = !0, p = function(m) {
16767
16767
  c(function(v) {
16768
16768
  return v.stripe ? v : {
@@ -16778,18 +16778,18 @@ var jb = function(t, n) {
16778
16778
  };
16779
16779
  }, [o, l, r]);
16780
16780
  var u = fd(n);
16781
- _e.useEffect(function() {
16781
+ ke.useEffect(function() {
16782
16782
  u !== null && u !== n && console.warn("Unsupported prop change on Elements: You cannot change the `stripe` prop after setting it.");
16783
16783
  }, [u, n]);
16784
16784
  var d = fd(r);
16785
- return _e.useEffect(function() {
16785
+ return ke.useEffect(function() {
16786
16786
  if (l.elements) {
16787
16787
  var f = Nb(r, d, ["clientSecret", "fonts"]);
16788
16788
  f && l.elements.update(f);
16789
16789
  }
16790
- }, [r, d, l.elements]), _e.useEffect(function() {
16790
+ }, [r, d, l.elements]), ke.useEffect(function() {
16791
16791
  U9(l.stripe);
16792
- }, [l.stripe]), /* @__PURE__ */ _e.createElement(zl.Provider, {
16792
+ }, [l.stripe]), /* @__PURE__ */ ke.createElement(zl.Provider, {
16793
16793
  value: l
16794
16794
  }, a);
16795
16795
  };
@@ -16798,27 +16798,27 @@ Ws.propTypes = {
16798
16798
  options: Je.object
16799
16799
  };
16800
16800
  var G9 = function(t) {
16801
- var n = _e.useContext(zl);
16801
+ var n = ke.useContext(zl);
16802
16802
  return jb(n, t);
16803
16803
  }, zb = function() {
16804
16804
  var t = G9("calls useElements()"), n = t.elements;
16805
16805
  return n;
16806
16806
  };
16807
16807
  Je.func.isRequired;
16808
- var Vb = /* @__PURE__ */ _e.createContext(null);
16808
+ var Vb = /* @__PURE__ */ ke.createContext(null);
16809
16809
  Vb.displayName = "CustomCheckoutSdkContext";
16810
16810
  var W9 = function(t, n) {
16811
16811
  if (!t)
16812
16812
  throw new Error("Could not find CustomCheckoutProvider context; You need to wrap the part of your app that ".concat(n, " in an <CustomCheckoutProvider> provider."));
16813
16813
  return t;
16814
- }, H9 = /* @__PURE__ */ _e.createContext(null);
16814
+ }, H9 = /* @__PURE__ */ ke.createContext(null);
16815
16815
  H9.displayName = "CustomCheckoutContext";
16816
16816
  Je.any, Je.shape({
16817
16817
  clientSecret: Je.string.isRequired,
16818
16818
  elementsOptions: Je.object
16819
16819
  }).isRequired;
16820
16820
  var pd = function(t) {
16821
- var n = _e.useContext(Vb), r = _e.useContext(zl);
16821
+ var n = ke.useContext(Vb), r = ke.useContext(zl);
16822
16822
  if (n && r)
16823
16823
  throw new Error("You cannot wrap the part of your app that ".concat(t, " in both <CustomCheckoutProvider> and <Elements> providers."));
16824
16824
  return n ? W9(n, t) : jb(r, t);
@@ -16826,24 +16826,24 @@ var pd = function(t) {
16826
16826
  return t.charAt(0).toUpperCase() + t.slice(1);
16827
16827
  }, pt = function(t, n) {
16828
16828
  var r = "".concat(K9(t), "Element"), a = function(l) {
16829
- var c = l.id, u = l.className, d = l.options, f = d === void 0 ? {} : d, p = l.onBlur, g = l.onFocus, m = l.onReady, v = l.onChange, S = l.onEscape, x = l.onClick, b = l.onLoadError, T = l.onLoaderStart, E = l.onNetworksChange, F = l.onConfirm, P = l.onCancel, D = l.onShippingAddressChange, B = l.onShippingRateChange, G = pd("mounts <".concat(r, ">")), X = "elements" in G ? G.elements : null, H = "customCheckoutSdk" in G ? G.customCheckoutSdk : null, ne = _e.useState(null), le = Bb(ne, 2), he = le[0], U = le[1], ge = _e.useRef(null), He = _e.useRef(null);
16829
+ var c = l.id, u = l.className, d = l.options, f = d === void 0 ? {} : d, p = l.onBlur, g = l.onFocus, m = l.onReady, v = l.onChange, S = l.onEscape, x = l.onClick, b = l.onLoadError, T = l.onLoaderStart, E = l.onNetworksChange, F = l.onConfirm, P = l.onCancel, D = l.onShippingAddressChange, B = l.onShippingRateChange, G = pd("mounts <".concat(r, ">")), X = "elements" in G ? G.elements : null, H = "customCheckoutSdk" in G ? G.customCheckoutSdk : null, ne = ke.useState(null), ce = Bb(ne, 2), he = ce[0], U = ce[1], ge = ke.useRef(null), He = ke.useRef(null);
16830
16830
  zt(he, "blur", p), zt(he, "focus", g), zt(he, "escape", S), zt(he, "click", x), zt(he, "loaderror", b), zt(he, "loaderstart", T), zt(he, "networkschange", E), zt(he, "confirm", F), zt(he, "cancel", P), zt(he, "shippingaddresschange", D), zt(he, "shippingratechange", B), zt(he, "change", v);
16831
16831
  var ze;
16832
16832
  m && (t === "expressCheckout" ? ze = m : ze = function() {
16833
16833
  m(he);
16834
- }), zt(he, "ready", ze), _e.useLayoutEffect(function() {
16834
+ }), zt(he, "ready", ze), ke.useLayoutEffect(function() {
16835
16835
  if (ge.current === null && He.current !== null && (X || H)) {
16836
16836
  var O = null;
16837
16837
  H ? O = H.createElement(t, f) : X && (O = X.create(t, f)), ge.current = O, U(O), O && O.mount(He.current);
16838
16838
  }
16839
16839
  }, [X, H, f]);
16840
16840
  var M = fd(f);
16841
- return _e.useEffect(function() {
16841
+ return ke.useEffect(function() {
16842
16842
  if (ge.current) {
16843
16843
  var O = Nb(f, M, ["paymentRequest"]);
16844
16844
  O && ge.current.update(O);
16845
16845
  }
16846
- }, [f, M]), _e.useLayoutEffect(function() {
16846
+ }, [f, M]), ke.useLayoutEffect(function() {
16847
16847
  return function() {
16848
16848
  if (ge.current && typeof ge.current.destroy == "function")
16849
16849
  try {
@@ -16851,7 +16851,7 @@ var pd = function(t) {
16851
16851
  } catch {
16852
16852
  }
16853
16853
  };
16854
- }, []), /* @__PURE__ */ _e.createElement("div", {
16854
+ }, []), /* @__PURE__ */ ke.createElement("div", {
16855
16855
  id: c,
16856
16856
  className: u,
16857
16857
  ref: He
@@ -16859,7 +16859,7 @@ var pd = function(t) {
16859
16859
  }, o = function(l) {
16860
16860
  pd("mounts <".concat(r, ">"));
16861
16861
  var c = l.id, u = l.className;
16862
- return /* @__PURE__ */ _e.createElement("div", {
16862
+ return /* @__PURE__ */ ke.createElement("div", {
16863
16863
  id: c,
16864
16864
  className: u
16865
16865
  });
@@ -16882,7 +16882,7 @@ var pd = function(t) {
16882
16882
  onShippingRateChange: Je.func,
16883
16883
  options: Je.object
16884
16884
  }, i.displayName = r, i.__elementType = t, i;
16885
- }, ht = typeof window > "u", q9 = /* @__PURE__ */ _e.createContext(null);
16885
+ }, ht = typeof window > "u", q9 = /* @__PURE__ */ ke.createContext(null);
16886
16886
  q9.displayName = "EmbeddedCheckoutProviderContext";
16887
16887
  var Vf = function() {
16888
16888
  var t = pd("calls useStripe()"), n = t.stripe;
@@ -18128,7 +18128,7 @@ function UR(e) {
18128
18128
  de(function() {
18129
18129
  i && S.current === !0 && Tr(p.current, f.initialValues) && ne(p.current);
18130
18130
  }, [i, ne]);
18131
- var le = fe(function(_) {
18131
+ var ce = fe(function(_) {
18132
18132
  var I = _ && _.values ? _.values : p.current, W = _ && _.errors ? _.errors : g.current ? g.current : f.initialErrors || {}, N = _ && _.touched ? _.touched : m.current ? m.current : f.initialTouched || {}, pe = _ && _.status ? _.status : v.current ? v.current : f.initialStatus;
18133
18133
  p.current = I, g.current = W, m.current = N, v.current = pe;
18134
18134
  var ye = function() {
@@ -18152,8 +18152,8 @@ function UR(e) {
18152
18152
  ye();
18153
18153
  }, [f.initialErrors, f.initialStatus, f.initialTouched, f.onReset]);
18154
18154
  de(function() {
18155
- S.current === !0 && !Tr(p.current, f.initialValues) && c && (p.current = f.initialValues, le(), i && ne(p.current));
18156
- }, [c, f.initialValues, le, i, ne]), de(function() {
18155
+ S.current === !0 && !Tr(p.current, f.initialValues) && c && (p.current = f.initialValues, ce(), i && ne(p.current));
18156
+ }, [c, f.initialValues, ce, i, ne]), de(function() {
18157
18157
  c && S.current === !0 && !Tr(g.current, f.initialErrors) && (g.current = f.initialErrors || xr, P({
18158
18158
  type: "SET_ERRORS",
18159
18159
  payload: f.initialErrors || xr
@@ -18311,7 +18311,7 @@ function UR(e) {
18311
18311
  return _;
18312
18312
  }
18313
18313
  });
18314
- }, []), ce = fe(function(_) {
18314
+ }, []), ue = fe(function(_) {
18315
18315
  P({
18316
18316
  type: "SET_STATUS",
18317
18317
  payload: _
@@ -18358,14 +18358,14 @@ function UR(e) {
18358
18358
  console.warn("Warning: An unhandled error was caught from submitForm()", W);
18359
18359
  });
18360
18360
  }), tt = {
18361
- resetForm: le,
18361
+ resetForm: ce,
18362
18362
  validateForm: ne,
18363
18363
  validateField: he,
18364
18364
  setErrors: ze,
18365
18365
  setFieldError: O,
18366
18366
  setFieldTouched: Q,
18367
18367
  setFieldValue: q,
18368
- setStatus: ce,
18368
+ setStatus: ue,
18369
18369
  setSubmitting: Z,
18370
18370
  setTouched: He,
18371
18371
  setValues: M,
@@ -18374,7 +18374,7 @@ function UR(e) {
18374
18374
  }, me = Zt(function() {
18375
18375
  return u(F.values, tt);
18376
18376
  }), ot = Zt(function(_) {
18377
- _ && _.preventDefault && ln(_.preventDefault) && _.preventDefault(), _ && _.stopPropagation && ln(_.stopPropagation) && _.stopPropagation(), le();
18377
+ _ && _.preventDefault && ln(_.preventDefault) && _.preventDefault(), _ && _.stopPropagation && ln(_.stopPropagation) && _.stopPropagation(), ce();
18378
18378
  }), Ot = fe(function(_) {
18379
18379
  return {
18380
18380
  value: Vt(F.values, _),
@@ -18421,13 +18421,13 @@ function UR(e) {
18421
18421
  handleChange: J,
18422
18422
  handleReset: ot,
18423
18423
  handleSubmit: L,
18424
- resetForm: le,
18424
+ resetForm: ce,
18425
18425
  setErrors: ze,
18426
18426
  setFormikState: ie,
18427
18427
  setFieldTouched: Q,
18428
18428
  setFieldValue: q,
18429
18429
  setFieldError: O,
18430
- setStatus: ce,
18430
+ setStatus: ue,
18431
18431
  setSubmitting: Z,
18432
18432
  setTouched: He,
18433
18433
  setValues: M,
@@ -18971,8 +18971,8 @@ function Ca(e) {
18971
18971
  spec: i.spec,
18972
18972
  disableStackTrace: X.disableStackTrace || S
18973
18973
  }, d, X.params);
18974
- for (const le of Object.keys(H))
18975
- H[le] = x(H[le]);
18974
+ for (const ce of Object.keys(H))
18975
+ H[ce] = x(H[ce]);
18976
18976
  const ne = new Bt(Bt.formatError(X.message || f, H), n, H.path, X.type || c, H.disableStackTrace);
18977
18977
  return ne.params = H, ne;
18978
18978
  }
@@ -21796,7 +21796,7 @@ const iv = /* @__PURE__ */ new Map([
21796
21796
  const [T, E] = ae(0);
21797
21797
  return /* @__PURE__ */ $(Ee, { w: p || "full", children: [
21798
21798
  e && /* @__PURE__ */ h(
21799
- ke,
21799
+ _e,
21800
21800
  {
21801
21801
  as: "label",
21802
21802
  htmlFor: n,
@@ -21857,7 +21857,7 @@ const iv = /* @__PURE__ */ new Map([
21857
21857
  ...S
21858
21858
  }
21859
21859
  ) }),
21860
- s && l && /* @__PURE__ */ $(ue, { alignItems: "center", gap: "6px", children: [
21860
+ s && l && /* @__PURE__ */ $(le, { alignItems: "center", gap: "6px", children: [
21861
21861
  /* @__PURE__ */ h(Ks, { color: ct.red500 }),
21862
21862
  /* @__PURE__ */ h(dv, { color: ct.red500, size: "xxs", fontFamily: m, children: l })
21863
21863
  ] })
@@ -21932,7 +21932,7 @@ const iv = /* @__PURE__ */ new Map([
21932
21932
  D.current && me.unobserve(D.current);
21933
21933
  };
21934
21934
  }, [F, P, i, o]);
21935
- const ne = typeof window < "u" ? JSON.parse(window.localStorage.getItem("userIp")) : "", { mutate: le, data: he } = Hf(u), [U, ge] = ae(!1), [He, ze] = ae(""), [M, O] = ae("");
21935
+ const ne = typeof window < "u" ? JSON.parse(window.localStorage.getItem("userIp")) : "", { mutate: ce, data: he } = Hf(u), [U, ge] = ae(!1), [He, ze] = ae(""), [M, O] = ae("");
21936
21936
  ae(!1);
21937
21937
  const [q, j] = ae(0), J = Se(null), Q = (n == null ? void 0 : n.country) ?? (ne == null ? void 0 : ne.country_name), V = (we = Qt == null ? void 0 : Qt.find(
21938
21938
  (me) => me.name === Q
@@ -21986,7 +21986,7 @@ const iv = /* @__PURE__ */ new Map([
21986
21986
  ...d === "ips" || g ? { payment_method_id: (Ot = ve == null ? void 0 : ve.paymentMethod) == null ? void 0 : Ot.id } : { source: (st = ve == null ? void 0 : ve.token) == null ? void 0 : st.id },
21987
21987
  callback_url: f
21988
21988
  };
21989
- le(lt, {
21989
+ ce(lt, {
21990
21990
  onSuccess: (Ve) => {
21991
21991
  var _, I;
21992
21992
  if ((_ = Ve == null ? void 0 : Ve.data) != null && _.next_action) {
@@ -22012,7 +22012,7 @@ const iv = /* @__PURE__ */ new Map([
22012
22012
  });
22013
22013
  }
22014
22014
  }
22015
- }, ce = {
22015
+ }, ue = {
22016
22016
  backgroundColor: "#fff",
22017
22017
  iconColor: "#c4f0ff",
22018
22018
  color: "#131316",
@@ -22049,7 +22049,7 @@ const iv = /* @__PURE__ */ new Map([
22049
22049
  /* @__PURE__ */ $(Bf, { gap: "16px", children: [
22050
22050
  /* @__PURE__ */ $(Ee, { children: [
22051
22051
  /* @__PURE__ */ h(
22052
- ke,
22052
+ _e,
22053
22053
  {
22054
22054
  fontSize: "14px",
22055
22055
  fontWeight: "600",
@@ -22077,7 +22077,7 @@ const iv = /* @__PURE__ */ new Map([
22077
22077
  {
22078
22078
  options: {
22079
22079
  style: {
22080
- base: ce,
22080
+ base: ue,
22081
22081
  invalid: {
22082
22082
  iconColor: "red",
22083
22083
  color: "red"
@@ -22089,10 +22089,10 @@ const iv = /* @__PURE__ */ new Map([
22089
22089
  }
22090
22090
  )
22091
22091
  ] }),
22092
- /* @__PURE__ */ $(ue, { width: "100%", gap: "8px", children: [
22092
+ /* @__PURE__ */ $(le, { width: "100%", gap: "8px", children: [
22093
22093
  /* @__PURE__ */ $(Ee, { flexBasis: "50%", children: [
22094
22094
  /* @__PURE__ */ h(
22095
- ke,
22095
+ _e,
22096
22096
  {
22097
22097
  fontSize: "14px",
22098
22098
  fontWeight: "600",
@@ -22120,7 +22120,7 @@ const iv = /* @__PURE__ */ new Map([
22120
22120
  {
22121
22121
  options: {
22122
22122
  style: {
22123
- base: ce,
22123
+ base: ue,
22124
22124
  invalid: {
22125
22125
  iconColor: "red",
22126
22126
  color: "red"
@@ -22134,7 +22134,7 @@ const iv = /* @__PURE__ */ new Map([
22134
22134
  ] }),
22135
22135
  /* @__PURE__ */ $(Ee, { flexBasis: "50%", children: [
22136
22136
  /* @__PURE__ */ h(
22137
- ke,
22137
+ _e,
22138
22138
  {
22139
22139
  fontSize: "14px",
22140
22140
  fontWeight: "600",
@@ -22162,7 +22162,7 @@ const iv = /* @__PURE__ */ new Map([
22162
22162
  {
22163
22163
  options: {
22164
22164
  style: {
22165
- base: ce,
22165
+ base: ue,
22166
22166
  invalid: {
22167
22167
  iconColor: "red",
22168
22168
  color: "red"
@@ -22197,7 +22197,7 @@ const iv = /* @__PURE__ */ new Map([
22197
22197
  },
22198
22198
  fontFamily: "inherit",
22199
22199
  label: /* @__PURE__ */ h(
22200
- ke,
22200
+ _e,
22201
22201
  {
22202
22202
  as: "label",
22203
22203
  fontSize: "14px",
@@ -22226,7 +22226,7 @@ const iv = /* @__PURE__ */ new Map([
22226
22226
  fontFamily: "inherit"
22227
22227
  }
22228
22228
  ) }),
22229
- /* @__PURE__ */ h(ue, { gap: "16px", children: /* @__PURE__ */ $(Uo, { children: [
22229
+ /* @__PURE__ */ h(le, { gap: "16px", children: /* @__PURE__ */ $(Uo, { children: [
22230
22230
  /* @__PURE__ */ h(
22231
22231
  oi,
22232
22232
  {
@@ -22243,7 +22243,7 @@ const iv = /* @__PURE__ */ new Map([
22243
22243
  }
22244
22244
  ),
22245
22245
  Z !== null && /* @__PURE__ */ h(
22246
- ke,
22246
+ _e,
22247
22247
  {
22248
22248
  color: Z ? "#0BA162" : "red",
22249
22249
  fontSize: "12px",
@@ -22254,14 +22254,14 @@ const iv = /* @__PURE__ */ new Map([
22254
22254
  ] }) })
22255
22255
  ] }),
22256
22256
  /* @__PURE__ */ h(
22257
- ue,
22257
+ le,
22258
22258
  {
22259
22259
  p: "16px",
22260
22260
  bg: "white",
22261
22261
  flexDirection: "column",
22262
22262
  alignItems: "center",
22263
22263
  children: /* @__PURE__ */ $(
22264
- ue,
22264
+ le,
22265
22265
  {
22266
22266
  gap: "10px",
22267
22267
  width: `${q}px`,
@@ -22316,7 +22316,7 @@ const iv = /* @__PURE__ */ new Map([
22316
22316
  }
22317
22317
  ),
22318
22318
  /* @__PURE__ */ $(
22319
- ue,
22319
+ le,
22320
22320
  {
22321
22321
  mt: "16px",
22322
22322
  mb: "10px",
@@ -22327,7 +22327,7 @@ const iv = /* @__PURE__ */ new Map([
22327
22327
  alignItems: "center",
22328
22328
  children: [
22329
22329
  /* @__PURE__ */ h(O1, { mt: 0.5, boxSize: 6 }),
22330
- /* @__PURE__ */ h(ke, { fontSize: "14px", lineHeight: "22px", color: "#4D5760", children: "Payments are secured and encrypted" })
22330
+ /* @__PURE__ */ h(_e, { fontSize: "14px", lineHeight: "22px", color: "#4D5760", children: "Payments are secured and encrypted" })
22331
22331
  ]
22332
22332
  }
22333
22333
  )
@@ -26422,18 +26422,6 @@ const lv = "Payment Completed", nD = ({
26422
26422
  bottom: "0px"
26423
26423
  } : {},
26424
26424
  children: [
26425
- i && /* @__PURE__ */ h(
26426
- Ee,
26427
- {
26428
- onClick: n,
26429
- fontSize: "20px",
26430
- position: "absolute",
26431
- top: "-30px",
26432
- left: "50%",
26433
- transform: "translateX(-50%)",
26434
- children: /* @__PURE__ */ h(wu, { color: "white", boxSize: "24px" })
26435
- }
26436
- ),
26437
26425
  /* @__PURE__ */ h(
26438
26426
  Ee,
26439
26427
  {
@@ -26447,7 +26435,7 @@ const lv = "Payment Completed", nD = ({
26447
26435
  }
26448
26436
  ),
26449
26437
  /* @__PURE__ */ $(
26450
- ke,
26438
+ _e,
26451
26439
  {
26452
26440
  color: "black",
26453
26441
  fontFamily: "Bricolage Grotesque",
@@ -26480,6 +26468,20 @@ const lv = "Payment Completed", nD = ({
26480
26468
  ]
26481
26469
  }
26482
26470
  ),
26471
+ i && /* @__PURE__ */ $(
26472
+ le,
26473
+ {
26474
+ onClick: n,
26475
+ justifyContent: "center",
26476
+ alignItems: "center",
26477
+ fontSize: "14px",
26478
+ py: "4px",
26479
+ children: [
26480
+ /* @__PURE__ */ h(wu, { color: "black", boxSize: "24px" }),
26481
+ /* @__PURE__ */ h(_e, { children: "Cancel" })
26482
+ ]
26483
+ }
26484
+ ),
26483
26485
  /* @__PURE__ */ h(
26484
26486
  "iframe",
26485
26487
  {
@@ -26589,7 +26591,7 @@ const lv = "Payment Completed", nD = ({
26589
26591
  )
26590
26592
  ] }),
26591
26593
  /* @__PURE__ */ h(zf, { p: "0", children: /* @__PURE__ */ h(
26592
- ke,
26594
+ _e,
26593
26595
  {
26594
26596
  mt: "4px",
26595
26597
  mb: "16px",
@@ -26627,7 +26629,7 @@ const lv = "Payment Completed", nD = ({
26627
26629
  }
26628
26630
  ),
26629
26631
  /* @__PURE__ */ h(
26630
- ke,
26632
+ _e,
26631
26633
  {
26632
26634
  mt: "4px",
26633
26635
  mb: "28px",
@@ -26733,7 +26735,7 @@ const lv = "Payment Completed", nD = ({
26733
26735
  cursor: "pointer",
26734
26736
  textAlign: "left",
26735
26737
  ...n,
26736
- children: t ? /* @__PURE__ */ h(ue, { justifyContent: "center", children: /* @__PURE__ */ h(R1, { width: "20px", height: "20px" }) }) : /* @__PURE__ */ h(wt, { children: e })
26738
+ children: t ? /* @__PURE__ */ h(le, { justifyContent: "center", children: /* @__PURE__ */ h(R1, { width: "20px", height: "20px" }) }) : /* @__PURE__ */ h(wt, { children: e })
26737
26739
  }
26738
26740
  ), sD = ({
26739
26741
  currency: e,
@@ -26858,16 +26860,16 @@ const lv = "Payment Completed", nD = ({
26858
26860
  };
26859
26861
  return /* @__PURE__ */ h(wt, { children: f && ((g == null ? void 0 : g.applePay) || (g == null ? void 0 : g.googlePay)) && /* @__PURE__ */ $(wt, { children: [
26860
26862
  (g == null ? void 0 : g.applePay) && /* @__PURE__ */ h(_i, { onClick: x, disabled: v, children: /* @__PURE__ */ $(
26861
- ue,
26863
+ le,
26862
26864
  {
26863
26865
  justifyContent: "space-between",
26864
26866
  w: "full",
26865
26867
  alignItems: "center",
26866
26868
  children: [
26867
- /* @__PURE__ */ $(ue, { alignItems: "center", gap: "12px", children: [
26869
+ /* @__PURE__ */ $(le, { alignItems: "center", gap: "12px", children: [
26868
26870
  /* @__PURE__ */ h(oD, { boxSize: "32px" }),
26869
26871
  /* @__PURE__ */ h(
26870
- ke,
26872
+ _e,
26871
26873
  {
26872
26874
  color: "#111215",
26873
26875
  fontFamily: "Bricolage Grotesque",
@@ -26884,16 +26886,16 @@ const lv = "Payment Completed", nD = ({
26884
26886
  }
26885
26887
  ) }),
26886
26888
  (g == null ? void 0 : g.googlePay) && /* @__PURE__ */ h(_i, { onClick: x, disabled: v, children: /* @__PURE__ */ $(
26887
- ue,
26889
+ le,
26888
26890
  {
26889
26891
  justifyContent: "space-between",
26890
26892
  w: "full",
26891
26893
  alignItems: "center",
26892
26894
  children: [
26893
- /* @__PURE__ */ $(ue, { alignItems: "center", gap: "12px", children: [
26895
+ /* @__PURE__ */ $(le, { alignItems: "center", gap: "12px", children: [
26894
26896
  /* @__PURE__ */ h(iD, { boxSize: "32px" }),
26895
26897
  /* @__PURE__ */ h(
26896
- ke,
26898
+ _e,
26897
26899
  {
26898
26900
  color: "#111215",
26899
26901
  fontFamily: "Bricolage Grotesque",
@@ -26964,7 +26966,7 @@ const Su = (e) => Math.round((e + Number.EPSILON) * 100) / 100, On = (e) => {
26964
26966
  }) => {
26965
26967
  var X;
26966
26968
  const { isOpen: T, onToggle: E } = ni({ defaultIsOpen: !1 }), [F] = Gr("(max-width: 767px)"), P = async () => {
26967
- var H, ne, le, he;
26969
+ var H, ne, ce, he;
26968
26970
  if (s)
26969
26971
  if (l !== "")
26970
26972
  try {
@@ -26972,7 +26974,7 @@ const Su = (e) => Math.round((e + Number.EPSILON) * 100) / 100, On = (e) => {
26972
26974
  U.isSuccess ? (i({
26973
26975
  amount: (H = U == null ? void 0 : U.data) == null ? void 0 : H.discounted_amount,
26974
26976
  type: (ne = U == null ? void 0 : U.data) == null ? void 0 : ne.discount_type,
26975
- value: (le = U == null ? void 0 : U.data) == null ? void 0 : le.discount_value,
26977
+ value: (ce = U == null ? void 0 : U.data) == null ? void 0 : ce.discount_value,
26976
26978
  isFullDiscount: ((he = U == null ? void 0 : U.data) == null ? void 0 : he.amount_to_pay) === 0
26977
26979
  }), Pt("Discount has been applied", $t.success)) : Pt(`${U == null ? void 0 : U.error}`, $t.error);
26978
26980
  } catch (U) {
@@ -26991,7 +26993,7 @@ const Su = (e) => Math.round((e + Number.EPSILON) * 100) / 100, On = (e) => {
26991
26993
  isFullDiscount: !1
26992
26994
  }));
26993
26995
  }, B = (H) => H > 0 ? n === Ne.NGN ? `+ ${n} ${H}` : `+ ${H * 100} cents` : "", G = ({ children: H, ...ne }) => /* @__PURE__ */ h(
26994
- ke,
26996
+ _e,
26995
26997
  {
26996
26998
  color: "#111215",
26997
26999
  fontFamily: "Bricolage Grotesque",
@@ -27039,7 +27041,7 @@ const Su = (e) => Math.round((e + Number.EPSILON) * 100) / 100, On = (e) => {
27039
27041
  }
27040
27042
  ),
27041
27043
  F && /* @__PURE__ */ h(
27042
- ue,
27044
+ le,
27043
27045
  {
27044
27046
  py: "12px",
27045
27047
  justifyContent: "center",
@@ -27060,7 +27062,7 @@ const Su = (e) => Math.round((e + Number.EPSILON) * 100) / 100, On = (e) => {
27060
27062
  ),
27061
27063
  /* @__PURE__ */ $(Si, { in: !F || T, children: [
27062
27064
  /* @__PURE__ */ $(Ee, { borderBottom: "1px solid #E8EBF2", py: "12px", children: [
27063
- /* @__PURE__ */ $(ue, { justifyContent: "space-between", alignItems: "center", children: [
27065
+ /* @__PURE__ */ $(le, { justifyContent: "space-between", alignItems: "center", children: [
27064
27066
  /* @__PURE__ */ h(
27065
27067
  dl,
27066
27068
  {
@@ -27095,7 +27097,7 @@ const Su = (e) => Math.round((e + Number.EPSILON) * 100) / 100, On = (e) => {
27095
27097
  ] })
27096
27098
  ] }),
27097
27099
  Array.isArray(v) && v.length > 0 && /* @__PURE__ */ h(Ee, { pt: "12px", children: v.map((H, ne) => /* @__PURE__ */ $(
27098
- ue,
27100
+ le,
27099
27101
  {
27100
27102
  justifyContent: "space-between",
27101
27103
  alignItems: "center",
@@ -27115,8 +27117,8 @@ const Su = (e) => Math.round((e + Number.EPSILON) * 100) / 100, On = (e) => {
27115
27117
  ne
27116
27118
  )) })
27117
27119
  ] }),
27118
- /* @__PURE__ */ $(ue, { flexDirection: "column", gap: "12px", mt: "16px", children: [
27119
- /* @__PURE__ */ $(ue, { width: "100%", justifyContent: "space-between", children: [
27120
+ /* @__PURE__ */ $(le, { flexDirection: "column", gap: "12px", mt: "16px", children: [
27121
+ /* @__PURE__ */ $(le, { width: "100%", justifyContent: "space-between", children: [
27120
27122
  /* @__PURE__ */ h(G, { fontWeight: 400, children: "Subtotal" }),
27121
27123
  /* @__PURE__ */ $(G, { fontWeight: 600, children: [
27122
27124
  n,
@@ -27126,8 +27128,8 @@ const Su = (e) => Math.round((e + Number.EPSILON) * 100) / 100, On = (e) => {
27126
27128
  ] }),
27127
27129
  !(o != null && o.isFullDiscount) && /* @__PURE__ */ $(wt, { children: [
27128
27130
  " ",
27129
- f.localTaxFees > 0 && f.shouldApplyTax && /* @__PURE__ */ $(ue, { width: "100%", justifyContent: "space-between", children: [
27130
- /* @__PURE__ */ h(ue, { alignItems: "center", children: /* @__PURE__ */ $(G, { fontWeight: 400, mr: "8px", children: [
27131
+ f.localTaxFees > 0 && f.shouldApplyTax && /* @__PURE__ */ $(le, { width: "100%", justifyContent: "space-between", children: [
27132
+ /* @__PURE__ */ h(le, { alignItems: "center", children: /* @__PURE__ */ $(G, { fontWeight: 400, mr: "8px", children: [
27131
27133
  "Sales Tax (",
27132
27134
  f.taxedPercent,
27133
27135
  "%)"
@@ -27138,8 +27140,8 @@ const Su = (e) => Math.round((e + Number.EPSILON) * 100) / 100, On = (e) => {
27138
27140
  On(f.localTaxFees)
27139
27141
  ] })
27140
27142
  ] }),
27141
- p.applySwitchingFee && p.localSwitchingFee > 0 && /* @__PURE__ */ $(ue, { width: "100%", justifyContent: "space-between", children: [
27142
- /* @__PURE__ */ $(ue, { alignItems: "center", children: [
27143
+ p.applySwitchingFee && p.localSwitchingFee > 0 && /* @__PURE__ */ $(le, { width: "100%", justifyContent: "space-between", children: [
27144
+ /* @__PURE__ */ $(le, { alignItems: "center", children: [
27143
27145
  /* @__PURE__ */ h(G, { fontWeight: 400, mr: "8px", children: "Currency switching fee" }),
27144
27146
  /* @__PURE__ */ h(
27145
27147
  xp,
@@ -27157,13 +27159,13 @@ const Su = (e) => Math.round((e + Number.EPSILON) * 100) / 100, On = (e) => {
27157
27159
  On(p.localSwitchingFee)
27158
27160
  ] })
27159
27161
  ] }),
27160
- g.totalAmountPlusFees > 0 && /* @__PURE__ */ $(ue, { width: "100%", justifyContent: "space-between", children: [
27161
- /* @__PURE__ */ $(ue, { alignItems: "center", children: [
27162
+ g.totalAmountPlusFees > 0 && /* @__PURE__ */ $(le, { width: "100%", justifyContent: "space-between", children: [
27163
+ /* @__PURE__ */ $(le, { alignItems: "center", children: [
27162
27164
  /* @__PURE__ */ h(G, { fontWeight: 400, mr: "8px", children: "Fees" }),
27163
27165
  /* @__PURE__ */ h(
27164
27166
  xp,
27165
27167
  {
27166
- body: /* @__PURE__ */ h(Ee, { mb: "20px", children: (X = g.applied_fees) == null ? void 0 : X.map((H) => /* @__PURE__ */ $(ke, { mb: "5px", children: [
27168
+ body: /* @__PURE__ */ h(Ee, { mb: "20px", children: (X = g.applied_fees) == null ? void 0 : X.map((H) => /* @__PURE__ */ $(_e, { mb: "5px", children: [
27167
27169
  H.display_name,
27168
27170
  ": ",
27169
27171
  H.amount,
@@ -27184,9 +27186,9 @@ const Su = (e) => Math.round((e + Number.EPSILON) * 100) / 100, On = (e) => {
27184
27186
  ] })
27185
27187
  ] })
27186
27188
  ] }),
27187
- o && (o == null ? void 0 : o.amount) > 0 && /* @__PURE__ */ $(ue, { justify: "space-between", mb: "20px", alignItems: "center", children: [
27189
+ o && (o == null ? void 0 : o.amount) > 0 && /* @__PURE__ */ $(le, { justify: "space-between", mb: "20px", alignItems: "center", children: [
27188
27190
  /* @__PURE__ */ $(
27189
- ue,
27191
+ le,
27190
27192
  {
27191
27193
  justify: "center",
27192
27194
  padding: "8px",
@@ -27197,7 +27199,7 @@ const Su = (e) => Math.round((e + Number.EPSILON) * 100) / 100, On = (e) => {
27197
27199
  children: [
27198
27200
  /* @__PURE__ */ h(I1, { boxSize: "20px" }),
27199
27201
  /* @__PURE__ */ $(
27200
- ke,
27202
+ _e,
27201
27203
  {
27202
27204
  fontSize: "12px",
27203
27205
  color: "#111215",
@@ -27231,7 +27233,7 @@ const Su = (e) => Math.round((e + Number.EPSILON) * 100) / 100, On = (e) => {
27231
27233
  ] })
27232
27234
  ] }),
27233
27235
  s && !(o != null && o.amount) && r > 0 && /* @__PURE__ */ h(Ee, { mb: "20px", children: /* @__PURE__ */ $(
27234
- ue,
27236
+ le,
27235
27237
  {
27236
27238
  alignItems: "center",
27237
27239
  gap: "12px",
@@ -27290,9 +27292,9 @@ const Su = (e) => Math.round((e + Number.EPSILON) * 100) / 100, On = (e) => {
27290
27292
  ]
27291
27293
  }
27292
27294
  ) }),
27293
- /* @__PURE__ */ $(ue, { width: "100%", justifyContent: "space-between", children: [
27295
+ /* @__PURE__ */ $(le, { width: "100%", justifyContent: "space-between", children: [
27294
27296
  /* @__PURE__ */ h(
27295
- ke,
27297
+ _e,
27296
27298
  {
27297
27299
  fontSize: "1rem",
27298
27300
  lineHeight: "32px",
@@ -27303,7 +27305,7 @@ const Su = (e) => Math.round((e + Number.EPSILON) * 100) / 100, On = (e) => {
27303
27305
  }
27304
27306
  ),
27305
27307
  a ? /* @__PURE__ */ h(dd, { height: "20px", width: "100px" }) : /* @__PURE__ */ $(
27306
- ke,
27308
+ _e,
27307
27309
  {
27308
27310
  fontSize: "1rem",
27309
27311
  lineHeight: "32px",
@@ -27334,7 +27336,7 @@ const Su = (e) => Math.round((e + Number.EPSILON) * 100) / 100, On = (e) => {
27334
27336
  setFieldValue: s,
27335
27337
  proceedButton: l
27336
27338
  }) => /* @__PURE__ */ $(wt, { children: [
27337
- /* @__PURE__ */ $(ue, { flexDirection: "column", gap: "20px", children: [
27339
+ /* @__PURE__ */ $(le, { flexDirection: "column", gap: "20px", children: [
27338
27340
  t && /* @__PURE__ */ h(
27339
27341
  oi,
27340
27342
  {
@@ -27375,7 +27377,7 @@ const Su = (e) => Math.round((e + Number.EPSILON) * 100) / 100, On = (e) => {
27375
27377
  },
27376
27378
  placeholder: "",
27377
27379
  label: /* @__PURE__ */ h(
27378
- ke,
27380
+ _e,
27379
27381
  {
27380
27382
  as: "label",
27381
27383
  fontSize: "14px",
@@ -27390,7 +27392,7 @@ const Su = (e) => Math.round((e + Number.EPSILON) * 100) / 100, On = (e) => {
27390
27392
  }
27391
27393
  ),
27392
27394
  subtext: /* @__PURE__ */ $(
27393
- ke,
27395
+ _e,
27394
27396
  {
27395
27397
  as: "span",
27396
27398
  display: "block",
@@ -27429,7 +27431,7 @@ const Su = (e) => Math.round((e + Number.EPSILON) * 100) / 100, On = (e) => {
27429
27431
  fontFamily: "inherit"
27430
27432
  }
27431
27433
  ),
27432
- !!(i != null && i.phone) && /* @__PURE__ */ $(ue, { alignItems: "center", gap: "6px", mt: "4px", children: [
27434
+ !!(i != null && i.phone) && /* @__PURE__ */ $(le, { alignItems: "center", gap: "6px", mt: "4px", children: [
27433
27435
  /* @__PURE__ */ h(Ks, { color: ct.red500 }),
27434
27436
  /* @__PURE__ */ h(
27435
27437
  dv,
@@ -27558,11 +27560,11 @@ const pD = (e) => /* @__PURE__ */ $(hn, { viewBox: "0 0 32 32", ...e, fill: "non
27558
27560
  await o() || g();
27559
27561
  },
27560
27562
  disabled: p,
27561
- children: /* @__PURE__ */ $(ue, { justifyContent: "space-between", w: "full", alignItems: "center", children: [
27562
- /* @__PURE__ */ $(ue, { alignItems: "center", gap: "12px", children: [
27563
+ children: /* @__PURE__ */ $(le, { justifyContent: "space-between", w: "full", alignItems: "center", children: [
27564
+ /* @__PURE__ */ $(le, { alignItems: "center", gap: "12px", children: [
27563
27565
  /* @__PURE__ */ h(pD, { boxSize: "32px" }),
27564
27566
  /* @__PURE__ */ h(
27565
- ke,
27567
+ _e,
27566
27568
  {
27567
27569
  color: "#111215",
27568
27570
  fontFamily: "Bricolage Grotesque",
@@ -27888,7 +27890,7 @@ const pD = (e) => /* @__PURE__ */ $(hn, { viewBox: "0 0 32 32", ...e, fill: "non
27888
27890
  }) => /* @__PURE__ */ $(Ee, { mt: "16px", children: [
27889
27891
  e,
27890
27892
  /* @__PURE__ */ $(
27891
- ue,
27893
+ le,
27892
27894
  {
27893
27895
  justifyContent: "center",
27894
27896
  gap: "10px",
@@ -27900,13 +27902,13 @@ const pD = (e) => /* @__PURE__ */ $(hn, { viewBox: "0 0 32 32", ...e, fill: "non
27900
27902
  letterSpacing: "-0.2px",
27901
27903
  textDecoration: "underline",
27902
27904
  children: [
27903
- /* @__PURE__ */ h(ke, { as: "a", children: "Terms & Conditions" }),
27904
- /* @__PURE__ */ h(ke, { as: "a", children: "Privacy Policy" })
27905
+ /* @__PURE__ */ h(_e, { as: "a", children: "Terms & Conditions" }),
27906
+ /* @__PURE__ */ h(_e, { as: "a", children: "Privacy Policy" })
27905
27907
  ]
27906
27908
  }
27907
27909
  ),
27908
27910
  !t && /* @__PURE__ */ $(
27909
- ue,
27911
+ le,
27910
27912
  {
27911
27913
  justifyContent: "center",
27912
27914
  alignItems: "center",
@@ -27918,10 +27920,10 @@ const pD = (e) => /* @__PURE__ */ $(hn, { viewBox: "0 0 32 32", ...e, fill: "non
27918
27920
  lineHeight: "16px",
27919
27921
  letterSpacing: "-0.2px",
27920
27922
  children: [
27921
- /* @__PURE__ */ h(ke, { children: "Powered by" }),
27922
- /* @__PURE__ */ $(ue, { children: [
27923
+ /* @__PURE__ */ h(_e, { children: "Powered by" }),
27924
+ /* @__PURE__ */ $(le, { children: [
27923
27925
  /* @__PURE__ */ h(gD, {}),
27924
- /* @__PURE__ */ h(ke, { children: "Mainstack" })
27926
+ /* @__PURE__ */ h(_e, { children: "Mainstack" })
27925
27927
  ] })
27926
27928
  ]
27927
27929
  }
@@ -27952,10 +27954,10 @@ const pD = (e) => /* @__PURE__ */ $(hn, { viewBox: "0 0 32 32", ...e, fill: "non
27952
27954
  ]
27953
27955
  }
27954
27956
  ) })
27955
- ] }), uv = () => /* @__PURE__ */ $(ue, { alignItems: "center", gap: "18px", my: "16px", children: [
27957
+ ] }), uv = () => /* @__PURE__ */ $(le, { alignItems: "center", gap: "18px", my: "16px", children: [
27956
27958
  /* @__PURE__ */ h(id, {}),
27957
27959
  /* @__PURE__ */ h(
27958
- ke,
27960
+ _e,
27959
27961
  {
27960
27962
  color: "#7D879B",
27961
27963
  fontFamily: "Bricolage Grotesque",
@@ -28011,7 +28013,7 @@ const pD = (e) => /* @__PURE__ */ $(hn, { viewBox: "0 0 32 32", ...e, fill: "non
28011
28013
  baseUrl: X,
28012
28014
  hasDiscountCode: H,
28013
28015
  mainstackProductId: ne,
28014
- STRIPE_SECRET_KEY: le,
28016
+ STRIPE_SECRET_KEY: ce,
28015
28017
  STRIPE_SECRET_KEY_GBP: he,
28016
28018
  STRIPE_SECRET_KEY_CAD: U,
28017
28019
  applyTrancheFee: ge,
@@ -28022,7 +28024,7 @@ const pD = (e) => /* @__PURE__ */ $(hn, { viewBox: "0 0 32 32", ...e, fill: "non
28022
28024
  isFreeTrial: q,
28023
28025
  itemsList: j,
28024
28026
  isPowerUser: J
28025
- } = e, Q = b == null ? void 0 : b.hideDetails, V = b == null ? void 0 : b.isSingleColumn, ee = ((vo = b == null ? void 0 : b.showDefaultInputFields) == null ? void 0 : vo.email) ?? !0, ie = ((gn = b == null ? void 0 : b.showDefaultInputFields) == null ? void 0 : gn.phone) ?? !1, ce = ((Yn = b == null ? void 0 : b.showDefaultInputFields) == null ? void 0 : Yn.fullname) ?? !0, { Request: Z } = lD(X, {
28027
+ } = e, Q = b == null ? void 0 : b.hideDetails, V = b == null ? void 0 : b.isSingleColumn, ee = ((vo = b == null ? void 0 : b.showDefaultInputFields) == null ? void 0 : vo.email) ?? !0, ie = ((gn = b == null ? void 0 : b.showDefaultInputFields) == null ? void 0 : gn.phone) ?? !1, ue = ((Yn = b == null ? void 0 : b.showDefaultInputFields) == null ? void 0 : Yn.fullname) ?? !0, { Request: Z } = lD(X, {
28026
28028
  "x-is-api-client-payment": d ?? !1
28027
28029
  }), [we, L] = ae(""), [tt, me] = ae(S), [ot, Ot] = ae(!1), [st, mt] = ae(!1), [ve, lt] = ae({
28028
28030
  openModal: !1,
@@ -28262,12 +28264,12 @@ const pD = (e) => /* @__PURE__ */ $(hn, { viewBox: "0 0 32 32", ...e, fill: "non
28262
28264
  K = U, qn = "CA_ACCOUNT";
28263
28265
  break;
28264
28266
  default:
28265
- K = le, qn = "US_ACCOUNT";
28267
+ K = ce, qn = "US_ACCOUNT";
28266
28268
  }
28267
28269
  return aM(K);
28268
28270
  }, [
28269
28271
  v,
28270
- le,
28272
+ ce,
28271
28273
  he,
28272
28274
  U
28273
28275
  ]);
@@ -28490,7 +28492,7 @@ const pD = (e) => /* @__PURE__ */ $(hn, { viewBox: "0 0 32 32", ...e, fill: "non
28490
28492
  ad,
28491
28493
  {
28492
28494
  colSpan: Q || V ? 12 : { base: 12, lg: 7 },
28493
- as: ue,
28495
+ as: le,
28494
28496
  justifyContent: "center",
28495
28497
  pt: { base: "20px", lg: "48px" },
28496
28498
  overflowY: "auto",
@@ -28500,7 +28502,7 @@ const pD = (e) => /* @__PURE__ */ $(hn, { viewBox: "0 0 32 32", ...e, fill: "non
28500
28502
  /* @__PURE__ */ $(NR, { value: Y, children: [
28501
28503
  /* @__PURE__ */ h("form", { onSubmit: Y.handleSubmit, children: s ?? /* @__PURE__ */ $(Ee, { borderBottom: "1px solid #E8EBF2", py: "20px", children: [
28502
28504
  /* @__PURE__ */ $(
28503
- ue,
28505
+ le,
28504
28506
  {
28505
28507
  justifyContent: "space-between",
28506
28508
  alignItems: "center",
@@ -28513,7 +28515,7 @@ const pD = (e) => /* @__PURE__ */ $(hn, { viewBox: "0 0 32 32", ...e, fill: "non
28513
28515
  children: [
28514
28516
  bl(n) ? /* @__PURE__ */ h(wt, { children: n }) : /* @__PURE__ */ $(Ee, { children: [
28515
28517
  /* @__PURE__ */ h(
28516
- ke,
28518
+ _e,
28517
28519
  {
28518
28520
  fontSize: "1rem",
28519
28521
  lineHeight: "32px",
@@ -28524,7 +28526,7 @@ const pD = (e) => /* @__PURE__ */ $(hn, { viewBox: "0 0 32 32", ...e, fill: "non
28524
28526
  }
28525
28527
  ),
28526
28528
  /* @__PURE__ */ h(
28527
- ke,
28529
+ _e,
28528
28530
  {
28529
28531
  color: "#7D879B",
28530
28532
  fontFamily: "Bricolage Grotesque",
@@ -28550,7 +28552,7 @@ const pD = (e) => /* @__PURE__ */ $(hn, { viewBox: "0 0 32 32", ...e, fill: "non
28550
28552
  dD,
28551
28553
  {
28552
28554
  title: n,
28553
- showFullname: ce,
28555
+ showFullname: ue,
28554
28556
  showEmail: ee,
28555
28557
  showPhone: ie,
28556
28558
  customForm: r,
@@ -28562,7 +28564,7 @@ const pD = (e) => /* @__PURE__ */ $(hn, { viewBox: "0 0 32 32", ...e, fill: "non
28562
28564
  },
28563
28565
  setFieldValue: Y.setFieldValue,
28564
28566
  proceedButton: /* @__PURE__ */ $(
28565
- ue,
28567
+ le,
28566
28568
  {
28567
28569
  mt: "16px",
28568
28570
  gap: "10px",
@@ -28619,7 +28621,7 @@ const pD = (e) => /* @__PURE__ */ $(hn, { viewBox: "0 0 32 32", ...e, fill: "non
28619
28621
  ] }) }),
28620
28622
  yr > 0 && /* @__PURE__ */ $(Ee, { children: [
28621
28623
  /* @__PURE__ */ $(
28622
- ue,
28624
+ le,
28623
28625
  {
28624
28626
  as: "button",
28625
28627
  py: "20px",
@@ -28639,7 +28641,7 @@ const pD = (e) => /* @__PURE__ */ $(hn, { viewBox: "0 0 32 32", ...e, fill: "non
28639
28641
  children: [
28640
28642
  /* @__PURE__ */ $(Ee, { children: [
28641
28643
  /* @__PURE__ */ h(
28642
- ke,
28644
+ _e,
28643
28645
  {
28644
28646
  fontSize: "1rem",
28645
28647
  lineHeight: "32px",
@@ -28651,7 +28653,7 @@ const pD = (e) => /* @__PURE__ */ $(hn, { viewBox: "0 0 32 32", ...e, fill: "non
28651
28653
  }
28652
28654
  ),
28653
28655
  /* @__PURE__ */ h(
28654
- ke,
28656
+ _e,
28655
28657
  {
28656
28658
  color: "#7D879B",
28657
28659
  fontFamily: "Bricolage Grotesque",
@@ -28675,7 +28677,7 @@ const pD = (e) => /* @__PURE__ */ $(hn, { viewBox: "0 0 32 32", ...e, fill: "non
28675
28677
  }
28676
28678
  ),
28677
28679
  /* @__PURE__ */ h(Si, { in: Zn, children: /* @__PURE__ */ $(Ee, { transition: "all 0.2s", pb: "200px", children: [
28678
- /* @__PURE__ */ h(ue, { gap: "12px", children: (jt("wallet") || !(N != null && N.isFullDiscount)) && /* @__PURE__ */ $(wt, { children: [
28680
+ /* @__PURE__ */ h(le, { gap: "12px", children: (jt("wallet") || !(N != null && N.isFullDiscount)) && /* @__PURE__ */ $(wt, { children: [
28679
28681
  " ",
28680
28682
  D && v !== Ne.NGN && v !== Ne.GHS && v !== Ne.KES && /* @__PURE__ */ h(
28681
28683
  Ws,
@@ -28723,11 +28725,11 @@ const pD = (e) => /* @__PURE__ */ $(hn, { viewBox: "0 0 32 32", ...e, fill: "non
28723
28725
  },
28724
28726
  isLoading: (Y.values.payment_mode && Y.values.payment_mode === "card" || !Y.values.payment_mode) && (sa || ia),
28725
28727
  children: [
28726
- /* @__PURE__ */ $(ue, { justifyContent: "space-between", children: [
28727
- /* @__PURE__ */ $(ue, { alignItems: "center", gap: "12px", children: [
28728
+ /* @__PURE__ */ $(le, { justifyContent: "space-between", children: [
28729
+ /* @__PURE__ */ $(le, { alignItems: "center", gap: "12px", children: [
28728
28730
  /* @__PURE__ */ h(mD, { boxSize: "32px" }),
28729
28731
  /* @__PURE__ */ h(
28730
- ke,
28732
+ _e,
28731
28733
  {
28732
28734
  color: "#111215",
28733
28735
  fontFamily: "Bricolage Grotesque",
@@ -28739,9 +28741,9 @@ const pD = (e) => /* @__PURE__ */ $(hn, { viewBox: "0 0 32 32", ...e, fill: "non
28739
28741
  }
28740
28742
  )
28741
28743
  ] }),
28742
- /* @__PURE__ */ $(ue, { alignItems: "center", gap: "12px", children: [
28744
+ /* @__PURE__ */ $(le, { alignItems: "center", gap: "12px", children: [
28743
28745
  !V && /* @__PURE__ */ h(
28744
- ue,
28746
+ le,
28745
28747
  {
28746
28748
  alignItems: "center",
28747
28749
  justify: "center",
@@ -28832,16 +28834,16 @@ const pD = (e) => /* @__PURE__ */ $(hn, { viewBox: "0 0 32 32", ...e, fill: "non
28832
28834
  },
28833
28835
  isLoading: Y.values.payment_mode !== "card" && (sa || ia),
28834
28836
  children: /* @__PURE__ */ $(
28835
- ue,
28837
+ le,
28836
28838
  {
28837
28839
  justifyContent: "space-between",
28838
28840
  w: "full",
28839
28841
  alignItems: "center",
28840
28842
  children: [
28841
- /* @__PURE__ */ $(ue, { alignItems: "center", gap: "12px", children: [
28843
+ /* @__PURE__ */ $(le, { alignItems: "center", gap: "12px", children: [
28842
28844
  /* @__PURE__ */ h(yD, { boxSize: "32px" }),
28843
28845
  /* @__PURE__ */ h(
28844
- ke,
28846
+ _e,
28845
28847
  {
28846
28848
  color: "#111215",
28847
28849
  fontFamily: "Bricolage Grotesque",
@@ -28935,7 +28937,7 @@ const pD = (e) => /* @__PURE__ */ $(hn, { viewBox: "0 0 32 32", ...e, fill: "non
28935
28937
  paymentLoading: a,
28936
28938
  feesLoading: o,
28937
28939
  handlePaymentInitialization: i
28938
- }) => /* @__PURE__ */ $(ue, { mt: "12px", gap: "10px", children: [
28940
+ }) => /* @__PURE__ */ $(le, { mt: "12px", gap: "10px", children: [
28939
28941
  e && /* @__PURE__ */ h(
28940
28942
  qs,
28941
28943
  {