@billgangcom/theme-lib 1.103.9 → 1.104.0

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.
@@ -470,7 +470,7 @@ function K0e() {
470
470
  }
471
471
  }
472
472
  var Zt = y.ReactCurrentOwner, $r = y.ReactDebugCurrentFrame;
473
- function fr(D) {
473
+ function hr(D) {
474
474
  if (D) {
475
475
  var j = D._owner, X = Se(D.type, D._source, j ? j.type : null);
476
476
  $r.setExtraStackFrame(X);
@@ -520,7 +520,7 @@ Check the top-level render call using <` + X + ">.");
520
520
  return;
521
521
  Zn[X] = !0;
522
522
  var Q = "";
523
- D && D._owner && D._owner !== Zt.current && (Q = " It was passed a child from " + q(D._owner.type) + "."), fr(D), E('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', X, Q), fr(null);
523
+ D && D._owner && D._owner !== Zt.current && (Q = " It was passed a child from " + q(D._owner.type) + "."), hr(D), E('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', X, Q), hr(null);
524
524
  }
525
525
  }
526
526
  function tn(D, j) {
@@ -572,11 +572,11 @@ Check the top-level render call using <` + X + ">.");
572
572
  for (var j = Object.keys(D.props), X = 0; X < j.length; X++) {
573
573
  var Q = j[X];
574
574
  if (Q !== "children" && Q !== "key") {
575
- fr(D), E("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", Q), fr(null);
575
+ hr(D), E("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", Q), hr(null);
576
576
  break;
577
577
  }
578
578
  }
579
- D.ref !== null && (fr(D), E("Invalid attribute `ref` supplied to `React.Fragment`."), fr(null));
579
+ D.ref !== null && (hr(D), E("Invalid attribute `ref` supplied to `React.Fragment`."), hr(null));
580
580
  }
581
581
  }
582
582
  var R = {};
@@ -860,7 +860,7 @@ function Pi(e, t, n) {
860
860
  return n === void 0 && (n = "/"), zu(e, t, n, !1);
861
861
  }
862
862
  function zu(e, t, n, r) {
863
- let i = typeof t == "string" ? xi(t) : t, o = Er(i.pathname || "/", n);
863
+ let i = typeof t == "string" ? xi(t) : t, o = yr(i.pathname || "/", n);
864
864
  if (o == null)
865
865
  return null;
866
866
  let a = Zh(e);
@@ -1018,7 +1018,7 @@ function m1e(e) {
1018
1018
  return Kt(!1, 'The URL path "' + e + '" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent ' + ("encoding (" + t + ").")), e;
1019
1019
  }
1020
1020
  }
1021
- function Er(e, t) {
1021
+ function yr(e, t) {
1022
1022
  if (t === "/") return e;
1023
1023
  if (!e.toLowerCase().startsWith(t.toLowerCase()))
1024
1024
  return null;
@@ -1189,7 +1189,7 @@ function k1e(e) {
1189
1189
  return;
1190
1190
  }
1191
1191
  Kt(be.size === 0 || ee != null, "You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");
1192
- let pe = fr({
1192
+ let pe = hr({
1193
1193
  currentLocation: _.location,
1194
1194
  nextLocation: V,
1195
1195
  historyAction: M
@@ -1251,11 +1251,11 @@ function k1e(e) {
1251
1251
  var ee, pe;
1252
1252
  let {
1253
1253
  flushSync: Te
1254
- } = V === void 0 ? {} : V, D = _.actionData != null && _.navigation.formMethod != null && mr(_.navigation.formMethod) && _.navigation.state === "loading" && ((ee = R.state) == null ? void 0 : ee._isRedirect) !== !0, j;
1254
+ } = V === void 0 ? {} : V, D = _.actionData != null && _.navigation.formMethod != null && gr(_.navigation.formMethod) && _.navigation.state === "loading" && ((ee = R.state) == null ? void 0 : ee._isRedirect) !== !0, j;
1255
1255
  M.actionData ? Object.keys(M.actionData).length > 0 ? j = M.actionData : j = null : D ? j = _.actionData : j = null;
1256
1256
  let X = M.loaderData ? F0(_.loaderData, M.loaderData, M.matches || [], M.errors) : _.loaderData, Q = _.blockers;
1257
1257
  Q.size > 0 && (Q = new Map(Q), Q.forEach((xe, ke) => Q.set(ke, Go)));
1258
- let fe = F === !0 || _.navigation.formMethod != null && mr(_.navigation.formMethod) && ((pe = R.state) == null ? void 0 : pe._isRedirect) !== !0;
1258
+ let fe = F === !0 || _.navigation.formMethod != null && gr(_.navigation.formMethod) && ((pe = R.state) == null ? void 0 : pe._isRedirect) !== !0;
1259
1259
  u && (a = u, u = void 0), $ || P === qt.Pop || (P === qt.Push ? e.history.push(R, R.state) : P === qt.Replace && e.history.replace(R, R.state));
1260
1260
  let ye;
1261
1261
  if (P === qt.Pop) {
@@ -1302,8 +1302,8 @@ function k1e(e) {
1302
1302
  } = w0(f.v7_normalizeFormMethod, !1, V, M), D = _.location, j = ka(_.location, ee, M && M.state);
1303
1303
  j = It({}, j, e.history.encodeLocation(j));
1304
1304
  let X = M && M.replace != null ? M.replace : void 0, Q = qt.Push;
1305
- X === !0 ? Q = qt.Replace : X === !1 || pe != null && mr(pe.formMethod) && pe.formAction === _.location.pathname + _.location.search && (Q = qt.Replace);
1306
- let fe = M && "preventScrollReset" in M ? M.preventScrollReset === !0 : void 0, ye = (M && M.flushSync) === !0, xe = fr({
1305
+ X === !0 ? Q = qt.Replace : X === !1 || pe != null && gr(pe.formMethod) && pe.formAction === _.location.pathname + _.location.search && (Q = qt.Replace);
1306
+ let fe = M && "preventScrollReset" in M ? M.preventScrollReset === !0 : void 0, ye = (M && M.flushSync) === !0, xe = hr({
1307
1307
  currentLocation: D,
1308
1308
  nextLocation: j,
1309
1309
  historyAction: Q
@@ -1363,7 +1363,7 @@ function k1e(e) {
1363
1363
  // `matchRoutes()` has already been called if we're in here via `router.initialize()`
1364
1364
  _.matches
1365
1365
  ) : Pi(ee, M, s), D = (V && V.flushSync) === !0;
1366
- if (Te && _.initialized && !te && B1e(_.location, M) && !(V && V.submission && mr(V.submission.formMethod))) {
1366
+ if (Te && _.initialized && !te && B1e(_.location, M) && !(V && V.submission && gr(V.submission.formMethod))) {
1367
1367
  Ue(M, {
1368
1368
  matches: Te
1369
1369
  }, {
@@ -1396,7 +1396,7 @@ function k1e(e) {
1396
1396
  type: it.error,
1397
1397
  error: V.pendingError
1398
1398
  }];
1399
- else if (V && V.submission && mr(V.submission.formMethod)) {
1399
+ else if (V && V.submission && gr(V.submission.formMethod)) {
1400
1400
  let Me = await vt(X, M, V.submission, Te, j.active, {
1401
1401
  replace: V.replace,
1402
1402
  flushSync: D
@@ -1666,7 +1666,7 @@ function k1e(e) {
1666
1666
  return;
1667
1667
  }
1668
1668
  let xe = ca(j, Q), ke = (ee && ee.preventScrollReset) === !0;
1669
- if (fe && mr(fe.formMethod)) {
1669
+ if (fe && gr(fe.formMethod)) {
1670
1670
  bt(R, M, Q, xe, j, X.active, pe, ke, fe);
1671
1671
  return;
1672
1672
  }
@@ -1869,7 +1869,7 @@ function k1e(e) {
1869
1869
  const Oe = e.history.createURL(X);
1870
1870
  De = // Hard reload if it's an absolute URL to a new origin
1871
1871
  Oe.origin !== t.location.origin || // Hard reload if it's an absolute URL that does not match our basename
1872
- Er(Oe.pathname, s) == null;
1872
+ yr(Oe.pathname, s) == null;
1873
1873
  }
1874
1874
  if (De) {
1875
1875
  j ? t.location.replace(X) : t.location.assign(X);
@@ -1884,7 +1884,7 @@ function k1e(e) {
1884
1884
  } = _.navigation;
1885
1885
  !pe && !Te && ye && xe && ke && (pe = U0(_.navigation));
1886
1886
  let Me = pe || Te;
1887
- if (S1e.has(M.response.status) && Me && mr(Me.formMethod))
1887
+ if (S1e.has(M.response.status) && Me && gr(Me.formMethod))
1888
1888
  await Ve(fe, Q, {
1889
1889
  submission: It({}, Me, {
1890
1890
  formAction: X
@@ -2029,7 +2029,7 @@ function k1e(e) {
2029
2029
  blockers: ee
2030
2030
  });
2031
2031
  }
2032
- function fr(R) {
2032
+ function hr(R) {
2033
2033
  let {
2034
2034
  currentLocation: M,
2035
2035
  nextLocation: V,
@@ -2219,7 +2219,7 @@ function pc(e, t, n, r, i, o, a, u) {
2219
2219
  }
2220
2220
  } else
2221
2221
  s = t, l = t[t.length - 1];
2222
- let d = md(i || ".", pd(s, o), Er(e.pathname, n) || e.pathname, u === "path");
2222
+ let d = md(i || ".", pd(s, o), yr(e.pathname, n) || e.pathname, u === "path");
2223
2223
  if (i == null && (d.search = e.search, d.hash = e.hash), (i == null || i === "" || i === ".") && l) {
2224
2224
  let f = Cd(d.search);
2225
2225
  if (l.route.index && !f)
@@ -2253,7 +2253,7 @@ function w0(e, t, n, r) {
2253
2253
  }), o = r.formMethod || "get", a = e ? o.toUpperCase() : o.toLowerCase(), u = ep(n);
2254
2254
  if (r.body !== void 0) {
2255
2255
  if (r.formEncType === "text/plain") {
2256
- if (!mr(a))
2256
+ if (!gr(a))
2257
2257
  return i();
2258
2258
  let m = typeof r.body == "string" ? r.body : r.body instanceof FormData || r.body instanceof URLSearchParams ? (
2259
2259
  // https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#plain-text-form-data
@@ -2275,7 +2275,7 @@ function w0(e, t, n, r) {
2275
2275
  }
2276
2276
  };
2277
2277
  } else if (r.formEncType === "application/json") {
2278
- if (!mr(a))
2278
+ if (!gr(a))
2279
2279
  return i();
2280
2280
  try {
2281
2281
  let m = typeof r.body == "string" ? JSON.parse(r.body) : r.body;
@@ -2319,7 +2319,7 @@ function w0(e, t, n, r) {
2319
2319
  json: void 0,
2320
2320
  text: void 0
2321
2321
  };
2322
- if (mr(d.formMethod))
2322
+ if (gr(d.formMethod))
2323
2323
  return {
2324
2324
  path: n,
2325
2325
  submission: d
@@ -2659,7 +2659,7 @@ function M1e(e, t, n, r, i, o) {
2659
2659
  }
2660
2660
  function P0(e, t, n) {
2661
2661
  if (gd.test(e)) {
2662
- let r = e, i = r.startsWith("//") ? new URL(t.protocol + r) : new URL(r), o = Er(i.pathname, n) != null;
2662
+ let r = e, i = r.startsWith("//") ? new URL(t.protocol + r) : new URL(r), o = yr(i.pathname, n) != null;
2663
2663
  if (i.origin === t.origin && o)
2664
2664
  return i.pathname + i.search + i.hash;
2665
2665
  }
@@ -2669,7 +2669,7 @@ function ro(e, t, n, r) {
2669
2669
  let i = e.createURL(ep(t)).toString(), o = {
2670
2670
  signal: n
2671
2671
  };
2672
- if (r && mr(r.formMethod)) {
2672
+ if (r && gr(r.formMethod)) {
2673
2673
  let {
2674
2674
  formMethod: a,
2675
2675
  formEncType: u
@@ -2838,7 +2838,7 @@ function tp(e) {
2838
2838
  function U1e(e) {
2839
2839
  return T1e.has(e.toLowerCase());
2840
2840
  }
2841
- function mr(e) {
2841
+ function gr(e) {
2842
2842
  return x1e.has(e.toLowerCase());
2843
2843
  }
2844
2844
  async function V1e(e, t, n, r, i) {
@@ -3061,16 +3061,16 @@ const ws = /* @__PURE__ */ U.createContext(null);
3061
3061
  process.env.NODE_ENV !== "production" && (ws.displayName = "DataRouterState");
3062
3062
  const Y1e = /* @__PURE__ */ U.createContext(null);
3063
3063
  process.env.NODE_ENV !== "production" && (Y1e.displayName = "Await");
3064
- const xr = /* @__PURE__ */ U.createContext(null);
3065
- process.env.NODE_ENV !== "production" && (xr.displayName = "Navigation");
3064
+ const _r = /* @__PURE__ */ U.createContext(null);
3065
+ process.env.NODE_ENV !== "production" && (_r.displayName = "Navigation");
3066
3066
  const Ds = /* @__PURE__ */ U.createContext(null);
3067
3067
  process.env.NODE_ENV !== "production" && (Ds.displayName = "Location");
3068
- const _r = /* @__PURE__ */ U.createContext({
3068
+ const Tr = /* @__PURE__ */ U.createContext({
3069
3069
  outlet: null,
3070
3070
  matches: [],
3071
3071
  isDataRoute: !1
3072
3072
  });
3073
- process.env.NODE_ENV !== "production" && (_r.displayName = "Route");
3073
+ process.env.NODE_ENV !== "production" && (Tr.displayName = "Route");
3074
3074
  const Ed = /* @__PURE__ */ U.createContext(null);
3075
3075
  process.env.NODE_ENV !== "production" && (Ed.displayName = "RouteError");
3076
3076
  function G1e(e, t) {
@@ -3086,7 +3086,7 @@ function G1e(e, t) {
3086
3086
  let {
3087
3087
  basename: r,
3088
3088
  navigator: i
3089
- } = U.useContext(xr), {
3089
+ } = U.useContext(_r), {
3090
3090
  hash: o,
3091
3091
  pathname: a,
3092
3092
  search: u
@@ -3112,12 +3112,12 @@ function _i() {
3112
3112
  }
3113
3113
  const np = "You should call navigate() in a React.useEffect(), not when your component is first rendered.";
3114
3114
  function rp(e) {
3115
- U.useContext(xr).static || U.useLayoutEffect(e);
3115
+ U.useContext(_r).static || U.useLayoutEffect(e);
3116
3116
  }
3117
3117
  function Ti() {
3118
3118
  let {
3119
3119
  isDataRoute: e
3120
- } = U.useContext(_r);
3120
+ } = U.useContext(Tr);
3121
3121
  return e ? cfe() : X1e();
3122
3122
  }
3123
3123
  function X1e() {
@@ -3131,9 +3131,9 @@ function X1e() {
3131
3131
  basename: t,
3132
3132
  future: n,
3133
3133
  navigator: r
3134
- } = U.useContext(xr), {
3135
- matches: i
3136
3134
  } = U.useContext(_r), {
3135
+ matches: i
3136
+ } = U.useContext(Tr), {
3137
3137
  pathname: o
3138
3138
  } = _i(), a = JSON.stringify(pd(i, n.v7_relativeSplatPath)), u = U.useRef(!1);
3139
3139
  return rp(() => {
@@ -3150,7 +3150,7 @@ function X1e() {
3150
3150
  }
3151
3151
  const K1e = /* @__PURE__ */ U.createContext(null);
3152
3152
  function Q1e(e) {
3153
- let t = U.useContext(_r).outlet;
3153
+ let t = U.useContext(Tr).outlet;
3154
3154
  return t && /* @__PURE__ */ U.createElement(K1e.Provider, {
3155
3155
  value: e
3156
3156
  }, t);
@@ -3158,7 +3158,7 @@ function Q1e(e) {
3158
3158
  function aMe() {
3159
3159
  let {
3160
3160
  matches: e
3161
- } = U.useContext(_r), t = e[e.length - 1];
3161
+ } = U.useContext(Tr), t = e[e.length - 1];
3162
3162
  return t ? t.params : {};
3163
3163
  }
3164
3164
  function Za(e, t) {
@@ -3166,9 +3166,9 @@ function Za(e, t) {
3166
3166
  relative: n
3167
3167
  } = t === void 0 ? {} : t, {
3168
3168
  future: r
3169
- } = U.useContext(xr), {
3170
- matches: i
3171
3169
  } = U.useContext(_r), {
3170
+ matches: i
3171
+ } = U.useContext(Tr), {
3172
3172
  pathname: o
3173
3173
  } = _i(), a = JSON.stringify(pd(i, r.v7_relativeSplatPath));
3174
3174
  return U.useMemo(() => md(e, JSON.parse(a), o, n === "path"), [e, a, o, n]);
@@ -3183,9 +3183,9 @@ function J1e(e, t, n, r) {
3183
3183
  let {
3184
3184
  navigator: i,
3185
3185
  static: o
3186
- } = U.useContext(xr), {
3186
+ } = U.useContext(_r), {
3187
3187
  matches: a
3188
- } = U.useContext(_r), u = a[a.length - 1], s = u ? u.params : {}, l = u ? u.pathname : "/", d = u ? u.pathnameBase : "/", f = u && u.route;
3188
+ } = U.useContext(Tr), u = a[a.length - 1], s = u ? u.params : {}, l = u ? u.pathname : "/", d = u ? u.pathnameBase : "/", f = u && u.route;
3189
3189
  if (process.env.NODE_ENV !== "production") {
3190
3190
  let E = f && f.path || "";
3191
3191
  op(l, !f || E.endsWith("*"), "You rendered descendant <Routes> (or called `useRoutes()`) at " + ('"' + l + '" (under <Route path="' + E + '">) but the ') + `parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.
@@ -3265,7 +3265,7 @@ class nfe extends U.Component {
3265
3265
  console.error("React Router caught the following error during render", t, n);
3266
3266
  }
3267
3267
  render() {
3268
- return this.state.error !== void 0 ? /* @__PURE__ */ U.createElement(_r.Provider, {
3268
+ return this.state.error !== void 0 ? /* @__PURE__ */ U.createElement(Tr.Provider, {
3269
3269
  value: this.props.routeContext
3270
3270
  }, /* @__PURE__ */ U.createElement(Ed.Provider, {
3271
3271
  value: this.state.error,
@@ -3279,7 +3279,7 @@ function rfe(e) {
3279
3279
  match: n,
3280
3280
  children: r
3281
3281
  } = e, i = U.useContext(Do);
3282
- return i && i.static && i.staticContext && (n.route.errorElement || n.route.ErrorBoundary) && (i.staticContext._deepestRenderedBoundaryId = n.route.id), /* @__PURE__ */ U.createElement(_r.Provider, {
3282
+ return i && i.static && i.staticContext && (n.route.errorElement || n.route.ErrorBoundary) && (i.staticContext._deepestRenderedBoundaryId = n.route.id), /* @__PURE__ */ U.createElement(Tr.Provider, {
3283
3283
  value: t
3284
3284
  }, r);
3285
3285
  }
@@ -3362,7 +3362,7 @@ function afe(e) {
3362
3362
  return t || (process.env.NODE_ENV !== "production" ? Ne(!1, yd(e)) : Ne(!1)), t;
3363
3363
  }
3364
3364
  function ufe(e) {
3365
- let t = U.useContext(_r);
3365
+ let t = U.useContext(Tr);
3366
3366
  return t || (process.env.NODE_ENV !== "production" ? Ne(!1, yd(e)) : Ne(!1)), t;
3367
3367
  }
3368
3368
  function xd(e) {
@@ -3431,7 +3431,7 @@ function hfe(e) {
3431
3431
  state: p = null,
3432
3432
  key: g = "default"
3433
3433
  } = r, b = U.useMemo(() => {
3434
- let C = Er(d, s);
3434
+ let C = yr(d, s);
3435
3435
  return C == null ? null : {
3436
3436
  location: {
3437
3437
  pathname: C,
@@ -3443,7 +3443,7 @@ function hfe(e) {
3443
3443
  navigationType: i
3444
3444
  };
3445
3445
  }, [s, d, f, m, p, g, i]);
3446
- return process.env.NODE_ENV !== "production" && Kt(b != null, '<Router basename="' + s + '"> is not able to match the URL ' + ('"' + d + f + m + '" because it does not start with the ') + "basename, so the <Router> won't render anything."), b == null ? null : /* @__PURE__ */ U.createElement(xr.Provider, {
3446
+ return process.env.NODE_ENV !== "production" && Kt(b != null, '<Router basename="' + s + '"> is not able to match the URL ' + ('"' + d + f + m + '" because it does not start with the ') + "basename, so the <Router> won't render anything."), b == null ? null : /* @__PURE__ */ U.createElement(_r.Provider, {
3447
3447
  value: l
3448
3448
  }, /* @__PURE__ */ U.createElement(Ds.Provider, {
3449
3449
  children: n,
@@ -3553,13 +3553,13 @@ function Tfe(e, t) {
3553
3553
  let n, r, i, o, a;
3554
3554
  if (gfe(e)) {
3555
3555
  let u = e.getAttribute("action");
3556
- r = u ? Er(u, t) : null, n = e.getAttribute("method") || $u, i = ml(e.getAttribute("enctype")) || qu, o = new FormData(e);
3556
+ r = u ? yr(u, t) : null, n = e.getAttribute("method") || $u, i = ml(e.getAttribute("enctype")) || qu, o = new FormData(e);
3557
3557
  } else if (mfe(e) || bfe(e) && (e.type === "submit" || e.type === "image")) {
3558
3558
  let u = e.form;
3559
3559
  if (u == null)
3560
3560
  throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');
3561
3561
  let s = e.getAttribute("formaction") || u.getAttribute("action");
3562
- if (r = s ? Er(s, t) : null, n = e.getAttribute("formmethod") || u.getAttribute("method") || $u, i = ml(e.getAttribute("formenctype")) || ml(u.getAttribute("enctype")) || qu, o = new FormData(u, e), !xfe()) {
3562
+ if (r = s ? yr(s, t) : null, n = e.getAttribute("formmethod") || u.getAttribute("method") || $u, i = ml(e.getAttribute("formenctype")) || ml(u.getAttribute("enctype")) || qu, o = new FormData(u, e), !xfe()) {
3563
3563
  let {
3564
3564
  name: l,
3565
3565
  type: d,
@@ -3806,10 +3806,10 @@ const Mfe = typeof window < "u" && typeof window.document < "u" && typeof window
3806
3806
  viewTransition: f
3807
3807
  } = t, m = _d(t, Ife), {
3808
3808
  basename: p
3809
- } = U.useContext(xr), g, b = !1;
3809
+ } = U.useContext(_r), g, b = !1;
3810
3810
  if (typeof l == "string" && Ffe.test(l) && (g = l, Mfe))
3811
3811
  try {
3812
- let x = new URL(window.location.href), I = l.startsWith("//") ? new URL(x.protocol + l) : new URL(l), T = Er(I.pathname, p);
3812
+ let x = new URL(window.location.href), I = l.startsWith("//") ? new URL(x.protocol + l) : new URL(l), T = yr(I.pathname, p);
3813
3813
  I.origin === x.origin && T != null ? l = T + I.search + I.hash : b = !0;
3814
3814
  } catch {
3815
3815
  process.env.NODE_ENV !== "production" && Kt(!1, '<Link to="' + l + '"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.');
@@ -3853,10 +3853,10 @@ const us = /* @__PURE__ */ U.forwardRef(function(t, n) {
3853
3853
  }), p = _i(), g = U.useContext(ws), {
3854
3854
  navigator: b,
3855
3855
  basename: C
3856
- } = U.useContext(xr), y = g != null && // Conditional usage is OK here because the usage of a data router is static
3856
+ } = U.useContext(_r), y = g != null && // Conditional usage is OK here because the usage of a data router is static
3857
3857
  // eslint-disable-next-line react-hooks/rules-of-hooks
3858
3858
  Zfe(m) && l === !0, E = b.encodeLocation ? b.encodeLocation(m).pathname : m.pathname, x = p.pathname, I = g && g.navigation && g.navigation.location ? g.navigation.location.pathname : null;
3859
- i || (x = x.toLowerCase(), I = I ? I.toLowerCase() : null, E = E.toLowerCase()), I && C && (I = Er(I, C) || I);
3859
+ i || (x = x.toLowerCase(), I = I ? I.toLowerCase() : null, E = E.toLowerCase()), I && C && (I = yr(I, C) || I);
3860
3860
  const T = E !== "/" && E.endsWith("/") ? E.length - 1 : E.length;
3861
3861
  let v = x === E || !a && x.startsWith(E) && x.charAt(T) === "/", _ = I != null && (I === E || !a && I.startsWith(E) && I.charAt(E.length) === "/"), P = {
3862
3862
  isActive: v,
@@ -3977,7 +3977,7 @@ function qfe() {
3977
3977
  router: e
3978
3978
  } = sp(ss.UseSubmit), {
3979
3979
  basename: t
3980
- } = U.useContext(xr), n = sfe();
3980
+ } = U.useContext(_r), n = sfe();
3981
3981
  return U.useCallback(function(r, i) {
3982
3982
  i === void 0 && (i = {}), Vfe();
3983
3983
  let {
@@ -4017,7 +4017,7 @@ function Wfe(e, t) {
4017
4017
  relative: n
4018
4018
  } = t === void 0 ? {} : t, {
4019
4019
  basename: r
4020
- } = U.useContext(xr), i = U.useContext(_r);
4020
+ } = U.useContext(_r), i = U.useContext(Tr);
4021
4021
  i || (process.env.NODE_ENV !== "production" ? Ne(!1, "useFormAction must be used inside a RouteContext") : Ne(!1));
4022
4022
  let [o] = i.matches.slice(-1), a = Ci({}, Za(e || ".", {
4023
4023
  relative: n
@@ -4044,7 +4044,7 @@ function Zfe(e, t) {
4044
4044
  });
4045
4045
  if (!n.isTransitioning)
4046
4046
  return !1;
4047
- let o = Er(n.currentLocation.pathname, r) || n.currentLocation.pathname, a = Er(n.nextLocation.pathname, r) || n.nextLocation.pathname;
4047
+ let o = yr(n.currentLocation.pathname, r) || n.currentLocation.pathname, a = yr(n.nextLocation.pathname, r) || n.nextLocation.pathname;
4048
4048
  return is(i.pathname, a) != null || is(i.pathname, o) != null;
4049
4049
  }
4050
4050
  const Z0 = (e) => {
@@ -9574,7 +9574,7 @@ const _pe = "_wrapper_187gl_1", Tpe = "_label_187gl_9", Ipe = "_input_187gl_17",
9574
9574
  borderless: kpe,
9575
9575
  rightIcon: wpe,
9576
9576
  inputPostfix: Dpe
9577
- }, br = (e) => {
9577
+ }, Cr = (e) => {
9578
9578
  const {
9579
9579
  onChange: t,
9580
9580
  style: n,
@@ -9796,7 +9796,7 @@ const Wi = (e) => {
9796
9796
  },
9797
9797
  children: [
9798
9798
  i.length > 6 && /* @__PURE__ */ c.jsx(
9799
- br,
9799
+ Cr,
9800
9800
  {
9801
9801
  type: "text",
9802
9802
  value: f,
@@ -10375,7 +10375,7 @@ const yp = (e) => {
10375
10375
  },
10376
10376
  children: [
10377
10377
  i.length > 6 && /* @__PURE__ */ c.jsx(
10378
- br,
10378
+ Cr,
10379
10379
  {
10380
10380
  type: "text",
10381
10381
  value: f,
@@ -10441,11 +10441,11 @@ function xp(e, t) {
10441
10441
  const { toString: k2e } = Object.prototype, { getPrototypeOf: Ad } = Object, Ps = /* @__PURE__ */ ((e) => (t) => {
10442
10442
  const n = k2e.call(t);
10443
10443
  return e[n] || (e[n] = n.slice(8, -1).toLowerCase());
10444
- })(/* @__PURE__ */ Object.create(null)), Tr = (e) => (e = e.toLowerCase(), (t) => Ps(t) === e), Os = (e) => (t) => typeof t === e, { isArray: Lo } = Array, La = Os("undefined");
10444
+ })(/* @__PURE__ */ Object.create(null)), Ir = (e) => (e = e.toLowerCase(), (t) => Ps(t) === e), Os = (e) => (t) => typeof t === e, { isArray: Lo } = Array, La = Os("undefined");
10445
10445
  function w2e(e) {
10446
10446
  return e !== null && !La(e) && e.constructor !== null && !La(e.constructor) && er(e.constructor.isBuffer) && e.constructor.isBuffer(e);
10447
10447
  }
10448
- const _p = Tr("ArrayBuffer");
10448
+ const _p = Ir("ArrayBuffer");
10449
10449
  function D2e(e) {
10450
10450
  let t;
10451
10451
  return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && _p(e.buffer), t;
@@ -10455,11 +10455,11 @@ const L2e = Os("string"), er = Os("function"), Tp = Os("number"), Ms = (e) => e
10455
10455
  return !1;
10456
10456
  const t = Ad(e);
10457
10457
  return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
10458
- }, R2e = Tr("Date"), P2e = Tr("File"), O2e = Tr("Blob"), M2e = Tr("FileList"), F2e = (e) => Ms(e) && er(e.pipe), B2e = (e) => {
10458
+ }, R2e = Ir("Date"), P2e = Ir("File"), O2e = Ir("Blob"), M2e = Ir("FileList"), F2e = (e) => Ms(e) && er(e.pipe), B2e = (e) => {
10459
10459
  let t;
10460
10460
  return e && (typeof FormData == "function" && e instanceof FormData || er(e.append) && ((t = Ps(e)) === "formdata" || // detect form-data instance
10461
10461
  t === "object" && er(e.toString) && e.toString() === "[object FormData]"));
10462
- }, H2e = Tr("URLSearchParams"), [j2e, U2e, V2e, z2e] = ["ReadableStream", "Request", "Response", "Headers"].map(Tr), $2e = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
10462
+ }, H2e = Ir("URLSearchParams"), [j2e, U2e, V2e, z2e] = ["ReadableStream", "Request", "Response", "Headers"].map(Ir), $2e = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
10463
10463
  function Ga(e, t, { allOwnKeys: n = !1 } = {}) {
10464
10464
  if (e === null || typeof e > "u")
10465
10465
  return;
@@ -10535,12 +10535,12 @@ const q2e = (e, t, n, { allOwnKeys: r } = {}) => (Ga(t, (i, o) => {
10535
10535
  for (; (n = e.exec(t)) !== null; )
10536
10536
  r.push(n);
10537
10537
  return r;
10538
- }, eme = Tr("HTMLFormElement"), tme = (e) => e.toLowerCase().replace(
10538
+ }, eme = Ir("HTMLFormElement"), tme = (e) => e.toLowerCase().replace(
10539
10539
  /[-_\s]([a-z\d])(\w*)/g,
10540
10540
  function(n, r, i) {
10541
10541
  return r.toUpperCase() + i;
10542
10542
  }
10543
- ), s1 = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), nme = Tr("RegExp"), Ap = (e, t) => {
10543
+ ), s1 = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), nme = Ir("RegExp"), Ap = (e, t) => {
10544
10544
  const n = Object.getOwnPropertyDescriptors(e), r = {};
10545
10545
  Ga(n, (i, o) => {
10546
10546
  let a;
@@ -10590,7 +10590,7 @@ const sme = (e) => {
10590
10590
  return r;
10591
10591
  };
10592
10592
  return n(e, 0);
10593
- }, lme = Tr("AsyncFunction"), cme = (e) => e && (Ms(e) || er(e)) && er(e.then) && er(e.catch), vp = ((e, t) => e ? setImmediate : t ? ((n, r) => (Hi.addEventListener("message", ({ source: i, data: o }) => {
10593
+ }, lme = Ir("AsyncFunction"), cme = (e) => e && (Ms(e) || er(e)) && er(e.then) && er(e.catch), vp = ((e, t) => e ? setImmediate : t ? ((n, r) => (Hi.addEventListener("message", ({ source: i, data: o }) => {
10594
10594
  i === Hi && o === n && r.length && r.shift()();
10595
10595
  }, !1), (i) => {
10596
10596
  r.push(i), Hi.postMessage(n, "*");
@@ -10630,7 +10630,7 @@ const sme = (e) => {
10630
10630
  inherits: Z2e,
10631
10631
  toFlatObject: Y2e,
10632
10632
  kindOf: Ps,
10633
- kindOfTest: Tr,
10633
+ kindOfTest: Ir,
10634
10634
  endsWith: G2e,
10635
10635
  toArray: X2e,
10636
10636
  forEachEntry: Q2e,
@@ -12182,7 +12182,7 @@ const d3e = [
12182
12182
  caption: "Percentages",
12183
12183
  description: "You get rewards"
12184
12184
  }
12185
- ], Ir = st((e) => ({
12185
+ ], dr = st((e) => ({
12186
12186
  route: Wt.Home,
12187
12187
  setRoute: (t) => e(() => ({ route: t })),
12188
12188
  dashInfo: null,
@@ -12266,7 +12266,7 @@ function p3e(e, t) {
12266
12266
  throw new fa(`Invalid token specified: invalid json for part #${n + 1} (${o.message})`);
12267
12267
  }
12268
12268
  }
12269
- const gr = (e, t = "auto") => e === "not found" ? "empty" : `https://imagedelivery.net/${e}/w=${t}`, Un = (e) => {
12269
+ const br = (e, t = "300") => e === "not found" ? "empty" : `https://imagedelivery.net/${e}/w=${t}`, Un = (e) => {
12270
12270
  const t = new Intl.NumberFormat("en-US", {
12271
12271
  style: "currency",
12272
12272
  currency: e.currency || "USD"
@@ -12402,6 +12402,7 @@ const gr = (e, t = "auto") => e === "not found" ? "empty" : `https://imagedelive
12402
12402
  };
12403
12403
  }, [r, e, t]);
12404
12404
  }, E3e = {
12405
+ customerEmail: "",
12405
12406
  recaptcha: "",
12406
12407
  gateway: "",
12407
12408
  paymentMethod: "",
@@ -13210,7 +13211,7 @@ const li = st((e) => ({
13210
13211
  );
13211
13212
  if (s.type === "input")
13212
13213
  return /* @__PURE__ */ c.jsx(
13213
- br,
13214
+ Cr,
13214
13215
  {
13215
13216
  onChange: (l) => {
13216
13217
  const d = {
@@ -13227,7 +13228,7 @@ const li = st((e) => ({
13227
13228
  if (s.type === "inputSwitch")
13228
13229
  return /* @__PURE__ */ c.jsxs("div", { className: Ft.link, children: [
13229
13230
  /* @__PURE__ */ c.jsx(
13230
- br,
13231
+ Cr,
13231
13232
  {
13232
13233
  onChange: (l) => {
13233
13234
  const d = {
@@ -13787,7 +13788,7 @@ function zge() {
13787
13788
  [...t]
13788
13789
  );
13789
13790
  }
13790
- const yr = /* @__PURE__ */ Object.freeze({
13791
+ const xr = /* @__PURE__ */ Object.freeze({
13791
13792
  x: 0,
13792
13793
  y: 0
13793
13794
  });
@@ -13852,7 +13853,7 @@ function Qp(e, t) {
13852
13853
  return e && t ? {
13853
13854
  x: e.left - t.left,
13854
13855
  y: e.top - t.top
13855
- } : yr;
13856
+ } : xr;
13856
13857
  }
13857
13858
  function Gge(e) {
13858
13859
  return function(n) {
@@ -14092,7 +14093,7 @@ function o6e(e) {
14092
14093
  };
14093
14094
  }
14094
14095
  function i2(e) {
14095
- return e.reduce((t, n) => bo(t, Mc(n)), yr);
14096
+ return e.reduce((t, n) => bo(t, Mc(n)), xr);
14096
14097
  }
14097
14098
  function a6e(e) {
14098
14099
  return e.reduce((t, n) => t + e2(n), 0);
@@ -14223,7 +14224,7 @@ class a2 {
14223
14224
  activeNode: t,
14224
14225
  onStart: n
14225
14226
  } = this.props, r = t.node.current;
14226
- r && s6e(r), n(yr);
14227
+ r && s6e(r), n(xr);
14227
14228
  }
14228
14229
  handleKeyDown(t) {
14229
14230
  if (Nd(t)) {
@@ -14251,7 +14252,7 @@ class a2 {
14251
14252
  } = r.current, d = l ? {
14252
14253
  x: l.left,
14253
14254
  y: l.top
14254
- } : yr;
14255
+ } : xr;
14255
14256
  this.referenceCoordinates || (this.referenceCoordinates = d);
14256
14257
  const f = a(t, {
14257
14258
  active: n,
@@ -14369,7 +14370,7 @@ class Od {
14369
14370
  } = t, {
14370
14371
  target: a
14371
14372
  } = o;
14372
- this.props = t, this.events = n, this.document = Po(a), this.documentListeners = new ga(this.document), this.listeners = new ga(r), this.windowListeners = new ga(qn(a)), this.initialCoordinates = (i = Oc(o)) != null ? i : yr, this.handleStart = this.handleStart.bind(this), this.handleMove = this.handleMove.bind(this), this.handleEnd = this.handleEnd.bind(this), this.handleCancel = this.handleCancel.bind(this), this.handleKeydown = this.handleKeydown.bind(this), this.removeTextSelection = this.removeTextSelection.bind(this), this.attach();
14373
+ this.props = t, this.events = n, this.document = Po(a), this.documentListeners = new ga(this.document), this.listeners = new ga(r), this.windowListeners = new ga(qn(a)), this.initialCoordinates = (i = Oc(o)) != null ? i : xr, this.handleStart = this.handleStart.bind(this), this.handleMove = this.handleMove.bind(this), this.handleEnd = this.handleEnd.bind(this), this.handleCancel = this.handleCancel.bind(this), this.handleKeydown = this.handleKeydown.bind(this), this.removeTextSelection = this.removeTextSelection.bind(this), this.attach();
14373
14374
  }
14374
14375
  attach() {
14375
14376
  const {
@@ -14435,7 +14436,7 @@ class Od {
14435
14436
  } = o;
14436
14437
  if (!i)
14437
14438
  return;
14438
- const s = (n = Oc(t)) != null ? n : yr, l = ms(i, s);
14439
+ const s = (n = Oc(t)) != null ? n : xr, l = ms(i, s);
14439
14440
  if (!r && u) {
14440
14441
  if (k1(u)) {
14441
14442
  if (u.tolerance != null && wl(l, u.tolerance))
@@ -14929,7 +14930,7 @@ function k6e(e) {
14929
14930
  l == null || l.removeEventListener("scroll", i);
14930
14931
  });
14931
14932
  }
14932
- }, [i, e]), ft(() => e.length ? t ? Array.from(t.values()).reduce((o, a) => bo(o, a), yr) : i2(e) : yr, [e, t]);
14933
+ }, [i, e]), ft(() => e.length ? t ? Array.from(t.values()).reduce((o, a) => bo(o, a), xr) : i2(e) : xr, [e, t]);
14933
14934
  }
14934
14935
  function R1(e, t) {
14935
14936
  t === void 0 && (t = []);
@@ -14941,9 +14942,9 @@ function R1(e, t) {
14941
14942
  // eslint-disable-next-line react-hooks/exhaustive-deps
14942
14943
  t
14943
14944
  ), ut(() => {
14944
- const r = e !== yr;
14945
+ const r = e !== xr;
14945
14946
  r && !n.current && (n.current = e), !r && n.current && (n.current = null);
14946
- }, [e]), n.current ? ms(e, n.current) : yr;
14947
+ }, [e]), n.current ? ms(e, n.current) : xr;
14947
14948
  }
14948
14949
  function w6e(e) {
14949
14950
  ut(
@@ -15330,7 +15331,7 @@ function z6e(e) {
15330
15331
  }, [t, a, u, r, n]);
15331
15332
  }
15332
15333
  const c2 = /* @__PURE__ */ qa({
15333
- ...yr,
15334
+ ...xr,
15334
15335
  scaleX: 1,
15335
15336
  scaleY: 1
15336
15337
  });
@@ -15681,7 +15682,7 @@ const $6e = /* @__PURE__ */ Ig(function(t) {
15681
15682
  measuringConfiguration: he,
15682
15683
  measuringScheduled: ue,
15683
15684
  windowRect: $e
15684
- }), [q, J, se, Ce, ve, je, _e, P, A, w, rt, G, nt, Dn, he, ue, $e]), fr = ft(() => ({
15685
+ }), [q, J, se, Ce, ve, je, _e, P, A, w, rt, G, nt, Dn, he, ue, $e]), hr = ft(() => ({
15685
15686
  activatorEvent: Ce,
15686
15687
  activators: Zt,
15687
15688
  active: q,
@@ -15697,7 +15698,7 @@ const $6e = /* @__PURE__ */ Ig(function(t) {
15697
15698
  return z.createElement(Kp.Provider, {
15698
15699
  value: x
15699
15700
  }, z.createElement(zs.Provider, {
15700
- value: fr
15701
+ value: hr
15701
15702
  }, z.createElement(l2.Provider, {
15702
15703
  value: $r
15703
15704
  }, z.createElement(c2.Provider, {
@@ -16307,7 +16308,7 @@ const h4e = (e) => {
16307
16308
  return G ? /* @__PURE__ */ c.jsx(
16308
16309
  "img",
16309
16310
  {
16310
- src: `https://imagedelivery.net/${G[0]}/w=1000`,
16311
+ src: `https://imagedelivery.net/${G[0]}/w=50`,
16311
16312
  alt: "image",
16312
16313
  width: 16,
16313
16314
  height: 16
@@ -16404,7 +16405,7 @@ const h4e = (e) => {
16404
16405
  }
16405
16406
  ),
16406
16407
  p === "input" && /* @__PURE__ */ c.jsx(
16407
- br,
16408
+ Cr,
16408
16409
  {
16409
16410
  onChange: (ae) => {
16410
16411
  const je = [...r].map((K) => K.id === G.id ? {
@@ -16610,7 +16611,7 @@ const h4e = (e) => {
16610
16611
  }
16611
16612
  ),
16612
16613
  (t === void 0 || t) && T !== void 0 && /* @__PURE__ */ c.jsx(
16613
- br,
16614
+ Cr,
16614
16615
  {
16615
16616
  label: T.title || "Auto scroll interval",
16616
16617
  type: "number",
@@ -16735,7 +16736,7 @@ const h4e = (e) => {
16735
16736
  );
16736
16737
  if (u.type === "input")
16737
16738
  return /* @__PURE__ */ c.jsx(
16738
- br,
16739
+ Cr,
16739
16740
  {
16740
16741
  onChange: (s) => {
16741
16742
  const l = {
@@ -16753,7 +16754,7 @@ const h4e = (e) => {
16753
16754
  );
16754
16755
  if (u.type === "inputNumber")
16755
16756
  return /* @__PURE__ */ c.jsx(
16756
- br,
16757
+ Cr,
16757
16758
  {
16758
16759
  onChange: (s) => {
16759
16760
  const l = {
@@ -16771,7 +16772,7 @@ const h4e = (e) => {
16771
16772
  if (u.type === "inputSwitch")
16772
16773
  return /* @__PURE__ */ c.jsxs("div", { className: lo.link, children: [
16773
16774
  /* @__PURE__ */ c.jsx(
16774
- br,
16775
+ Cr,
16775
16776
  {
16776
16777
  onChange: (s) => {
16777
16778
  const l = {
@@ -16907,7 +16908,7 @@ const h4e = (e) => {
16907
16908
  value: E ? d === "/customer-dash" ? "Sign In" : ((x = Object.values(E).find((I) => I.path === d)) == null ? void 0 : x.name) || "Home" : "Home"
16908
16909
  }
16909
16910
  ) : /* @__PURE__ */ c.jsx(
16910
- br,
16911
+ Cr,
16911
16912
  {
16912
16913
  onChange: (I) => p(I),
16913
16914
  value: m,
@@ -17012,7 +17013,7 @@ const h4e = (e) => {
17012
17013
  ] }),
17013
17014
  /* @__PURE__ */ c.jsxs("div", { className: xn.countBlock, children: [
17014
17015
  /* @__PURE__ */ c.jsx(
17015
- br,
17016
+ Cr,
17016
17017
  {
17017
17018
  type: "number",
17018
17019
  min: n,
@@ -17282,7 +17283,7 @@ const h4e = (e) => {
17282
17283
  requested: !1
17283
17284
  };
17284
17285
  }, jc = async () => {
17285
- Xi.getState().setToken(""), localStorage.removeItem("token");
17286
+ Xi.getState().setToken(""), dr.getState().setDashInfo(null), localStorage.removeItem("token");
17286
17287
  }, w5e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
17287
17288
  __proto__: null,
17288
17289
  loginCustomer: b2,
@@ -17327,6 +17328,7 @@ const Ll = "Balance", QMe = {
17327
17328
  Checkbox: "CHECK_BOX",
17328
17329
  Hidden: "HIDDEN"
17329
17330
  }, O5e = {
17331
+ customerEmail: "",
17330
17332
  recaptcha: "",
17331
17333
  gateway: "",
17332
17334
  paymentMethod: "",
@@ -17584,7 +17586,8 @@ const Ll = "Balance", QMe = {
17584
17586
  if (C.parts && o && H5e(C.parts[0], t))
17585
17587
  try {
17586
17588
  const { data: x } = await T5e({
17587
- ...C,
17589
+ gateway: C.gateway,
17590
+ coupon: C.coupon,
17588
17591
  partOrder: C.parts[0],
17589
17592
  referralCode: localStorage.getItem("referralCode"),
17590
17593
  discordSocialConnectId: y != null && y.authorized ? y.id : null,
@@ -17600,7 +17603,10 @@ const Ll = "Balance", QMe = {
17600
17603
  else
17601
17604
  try {
17602
17605
  const { data: x } = await x5e({
17603
- ...C,
17606
+ gateway: C.gateway,
17607
+ parts: [...C.parts],
17608
+ coupon: C.coupon,
17609
+ customerEmail: C.customerEmail,
17604
17610
  referralCode: localStorage.getItem("referralCode"),
17605
17611
  recaptcha: b,
17606
17612
  customFields: { ...C.customFields },
@@ -17898,7 +17904,7 @@ const tFe = z.forwardRef(
17898
17904
  }
17899
17905
  )
17900
17906
  ] });
17901
- }, ebe = "_button_jptux_1", tbe = "_primary_jptux_20", nbe = "_primaryHovered_jptux_30", rbe = "_secondary_jptux_35", ibe = "_secondaryHovered_jptux_45", obe = "_secondaryAntistock_jptux_50", abe = "_tertiary_jptux_61", ube = "_special_jptux_71", sbe = "_tertiaryHovered_jptux_75", lbe = "_content_jptux_80", cbe = "_isAntistock_jptux_88", hr = {
17907
+ }, ebe = "_button_jptux_1", tbe = "_primary_jptux_20", nbe = "_primaryHovered_jptux_30", rbe = "_secondary_jptux_35", ibe = "_secondaryHovered_jptux_45", obe = "_secondaryAntistock_jptux_50", abe = "_tertiary_jptux_61", ube = "_special_jptux_71", sbe = "_tertiaryHovered_jptux_75", lbe = "_content_jptux_80", cbe = "_isAntistock_jptux_88", pr = {
17902
17908
  button: ebe,
17903
17909
  primary: tbe,
17904
17910
  primaryHovered: nbe,
@@ -17949,15 +17955,15 @@ document.head.querySelector('meta[name="_translator"]') !== null : !1, fbe = ({
17949
17955
  onClick: n,
17950
17956
  disabled: o,
17951
17957
  style: r,
17952
- className: me(hr.button, i, {
17953
- [hr.primary]: a === "Primary",
17954
- [hr.secondary]: a === "Secondary" && !l,
17955
- [hr.secondaryAntistock]: a === "Secondary" && l,
17956
- [hr.tertiary]: a === "Tertiary",
17957
- [hr.primaryHovered]: a === "Primary" && !o && s.buttons.primary.hover && !l,
17958
- [hr.secondaryHovered]: a === "Secondary" && !o && s.buttons.secondary.hover && !l,
17959
- [hr.tertiaryHovered]: a === "Tertiary" && !o && s.buttons.tertiary.hover && !l,
17960
- [hr.isAntistock]: l
17958
+ className: me(pr.button, i, {
17959
+ [pr.primary]: a === "Primary",
17960
+ [pr.secondary]: a === "Secondary" && !l,
17961
+ [pr.secondaryAntistock]: a === "Secondary" && l,
17962
+ [pr.tertiary]: a === "Tertiary",
17963
+ [pr.primaryHovered]: a === "Primary" && !o && s.buttons.primary.hover && !l,
17964
+ [pr.secondaryHovered]: a === "Secondary" && !o && s.buttons.secondary.hover && !l,
17965
+ [pr.tertiaryHovered]: a === "Tertiary" && !o && s.buttons.tertiary.hover && !l,
17966
+ [pr.isAntistock]: l
17961
17967
  })
17962
17968
  };
17963
17969
  if (a === "Special")
@@ -17965,11 +17971,11 @@ document.head.querySelector('meta[name="_translator"]') !== null : !1, fbe = ({
17965
17971
  "button",
17966
17972
  {
17967
17973
  ...f,
17968
- className: hr.special,
17974
+ className: pr.special,
17969
17975
  ...u ? { dangerouslySetInnerHTML: u } : { children: d(t) }
17970
17976
  }
17971
17977
  );
17972
- const m = a.toLowerCase(), p = s.buttons[m], g = a === "Tertiary" ? /* @__PURE__ */ c.jsxs("div", { className: hr.content, children: [
17978
+ const m = a.toLowerCase(), p = s.buttons[m], g = a === "Tertiary" ? /* @__PURE__ */ c.jsxs("div", { className: pr.content, children: [
17973
17979
  d(t),
17974
17980
  /* @__PURE__ */ c.jsx(
17975
17981
  oe,
@@ -18901,7 +18907,7 @@ const iFe = z.memo(({ scrollableRef: e }) => {
18901
18907
  }
18902
18908
  );
18903
18909
  }, Q8e = ({ adaptiveStyles: e }) => {
18904
- const { route: t, setRoute: n } = Ir(), { resetPage: r } = Ki(), { isAntistock: i } = At(), o = i ? K8e : X8e, a = (u) => {
18910
+ const { route: t, setRoute: n } = dr(), { resetPage: r } = Ki(), { isAntistock: i } = At(), o = i ? K8e : X8e, a = (u) => {
18905
18911
  t !== u && r(), n(u);
18906
18912
  };
18907
18913
  return /* @__PURE__ */ c.jsxs(
@@ -19050,7 +19056,7 @@ var n7e = function() {
19050
19056
  );
19051
19057
  };
19052
19058
  const o7e = ({ adaptiveStyles: e }) => {
19053
- const { dashInfo: t, balance: n, setBalance: r, setDashInfo: i } = Ir(), { isAntistock: o } = At();
19059
+ const { dashInfo: t, balance: n, setBalance: r, setDashInfo: i } = dr(), { isAntistock: o } = At();
19054
19060
  return z.useEffect(() => {
19055
19061
  (async () => {
19056
19062
  const { data: u } = await m5e(), s = await C2();
@@ -19101,7 +19107,7 @@ const o7e = ({ adaptiveStyles: e }) => {
19101
19107
  }
19102
19108
  )
19103
19109
  }
19104
- ), u7e = "_balanceContainer_hgoej_1", s7e = "_headerTitle_hgoej_12", l7e = "_balanceHeader_hgoej_16", c7e = "_balanceAmount_hgoej_23", d7e = "_balanceAmountTitle_hgoej_36", f7e = "_balanceAmountValue_hgoej_41", h7e = "_transactionDate_hgoej_69", p7e = "_transactionItem_hgoej_76", m7e = "_transactionDetails_hgoej_84", g7e = "_iconWrapper_hgoej_89", b7e = "_transactionInfo_hgoej_100", C7e = "_transactionTitle_hgoej_105", E7e = "_transactionId_hgoej_109", y7e = "_transactionAmount_hgoej_115", x7e = "_added_hgoej_120", _7e = "_removed_hgoej_123", T7e = "_noItemsBlock_hgoej_127", I7e = "_pagination_hgoej_136", S7e = "_antistock_hgoej_142", A7e = "_modal_hgoej_153", v7e = "_header_hgoej_12", k7e = "_form_hgoej_165", w7e = "_label_hgoej_171", D7e = "_bonusBlock_hgoej_184", L7e = "_gatewayList_hgoej_198", N7e = "_gatewayButton_hgoej_205", R7e = "_selected_hgoej_215", P7e = "_gatewayName_hgoej_218", O7e = "_error_hgoej_221", M7e = "_submitButton_hgoej_226", F7e = "_addBalanceButton_hgoej_248", B7e = "_gatewayIcon_hgoej_267", H7e = "_loaderContainer_hgoej_291", j7e = "_transactionsContainer_hgoej_299", U7e = "_transactionsHeader_hgoej_8", V7e = "_transactionsContent_hgoej_313", ze = {
19110
+ ), u7e = "_balanceContainer_lnfgz_1", s7e = "_headerTitle_lnfgz_12", l7e = "_balanceHeader_lnfgz_16", c7e = "_balanceAmount_lnfgz_23", d7e = "_balanceAmountTitle_lnfgz_36", f7e = "_balanceAmountValue_lnfgz_41", h7e = "_transactionDate_lnfgz_69", p7e = "_transactionItem_lnfgz_76", m7e = "_transactionDetails_lnfgz_84", g7e = "_iconWrapper_lnfgz_89", b7e = "_transactionInfo_lnfgz_100", C7e = "_transactionTitle_lnfgz_105", E7e = "_transactionId_lnfgz_109", y7e = "_transactionAmount_lnfgz_115", x7e = "_added_lnfgz_120", _7e = "_removed_lnfgz_123", T7e = "_noItemsBlock_lnfgz_127", I7e = "_pagination_lnfgz_136", S7e = "_antistock_lnfgz_142", A7e = "_modal_lnfgz_153", v7e = "_header_lnfgz_12", k7e = "_form_lnfgz_165", w7e = "_label_lnfgz_171", D7e = "_bonusBlock_lnfgz_184", L7e = "_gatewayList_lnfgz_198", N7e = "_gatewayButton_lnfgz_205", R7e = "_selected_lnfgz_215", P7e = "_gatewayName_lnfgz_218", O7e = "_error_lnfgz_221", M7e = "_submitButton_lnfgz_226", F7e = "_addBalanceButton_lnfgz_248", B7e = "_gatewayIcon_lnfgz_267", H7e = "_loaderContainer_lnfgz_291", j7e = "_transactionsContainer_lnfgz_299", U7e = "_transactionsHeader_lnfgz_8", V7e = "_transactionsContent_lnfgz_313", ze = {
19105
19111
  balanceContainer: u7e,
19106
19112
  headerTitle: s7e,
19107
19113
  balanceHeader: l7e,
@@ -20022,7 +20028,7 @@ const o7e = ({ adaptiveStyles: e }) => {
20022
20028
  const [n, r] = z.useState({
20023
20029
  amount: "100",
20024
20030
  gateway: ""
20025
- }), [i, o] = z.useState({}), [a, u] = z.useState(!1), { isAntistock: s } = At(), { gatewaysDetail: l, setGatewaysDetail: d, dashInfo: f, balanceSettings: m } = Ir(), p = Ti(), { notifications: g, setNotifications: b } = _n(), { setIsOpen: C } = Si(), y = Yi();
20031
+ }), [i, o] = z.useState({}), [a, u] = z.useState(!1), { isAntistock: s } = At(), { gatewaysDetail: l, setGatewaysDetail: d, dashInfo: f, balanceSettings: m } = dr(), p = Ti(), { notifications: g, setNotifications: b } = _n(), { setIsOpen: C } = Si(), y = Yi();
20026
20032
  z.useEffect(() => {
20027
20033
  l || (async () => {
20028
20034
  var q;
@@ -20140,7 +20146,7 @@ const o7e = ({ adaptiveStyles: e }) => {
20140
20146
  "img",
20141
20147
  {
20142
20148
  alt: A.displayName,
20143
- src: gr(A.logoCfImageId),
20149
+ src: br(A.logoCfImageId, "100"),
20144
20150
  className: ze.gatewayIcon
20145
20151
  }
20146
20152
  ),
@@ -20193,7 +20199,7 @@ const o7e = ({ adaptiveStyles: e }) => {
20193
20199
  }
20194
20200
  ) });
20195
20201
  }, A2 = () => {
20196
- const [e, t] = z.useState([]), { balanceSettings: n, balance: r } = Ir(), { page: i, setPage: o } = Ki(), { setIsOpen: a } = Si(), [u, s] = z.useState(!0), [l, d] = z.useState(0), [f, m] = z.useState(!1), [p, g] = z.useState("Newest");
20202
+ const [e, t] = z.useState([]), { balanceSettings: n, balance: r } = dr(), { page: i, setPage: o } = Ki(), { setIsOpen: a } = Si(), [u, s] = z.useState(!0), [l, d] = z.useState(0), [f, m] = z.useState(!1), [p, g] = z.useState("Newest");
20197
20203
  z.useEffect(() => {
20198
20204
  o(1);
20199
20205
  }, []), z.useEffect(() => {
@@ -20390,7 +20396,7 @@ const o7e = ({ adaptiveStyles: e }) => {
20390
20396
  title: aCe
20391
20397
  }, uCe = "data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M17%202V9.85233L13.5806%2010.9427V6.58116L6.41169%208.82252V4.89257L17%202Z'%20fill='%23FF3F19'/%3e%3cpath%20d='M13.5806%2010.9427L13.5805%2014.691L3%2018V9.79935L6.41169%208.82252L6.41152%2013.2598L13.5806%2010.9427Z'%20fill='%23FF3F19'/%3e%3c/svg%3e", sCe = (e) => /* @__PURE__ */ U.createElement("svg", { width: 20, height: 20, viewBox: "0 0 19 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ U.createElement("path", { d: "M0.0103662 23.5362C0.0538052 22.4425 0.370173 21.4309 1.08058 20.6127C1.92699 19.6379 2.91375 19.2329 4.14841 19.1732C4.162 20.1401 4.15111 21.1085 4.15091 22.0756L4.70583 22.0747L7.42027 22.0755C7.95952 22.0752 8.50027 22.0844 9.03933 22.0742L9.17755 22.0731L10.6132 22.0759C10.8265 22.0759 11.0767 22.1021 11.2852 22.0658C11.3052 22.0703 11.3534 22.0735 11.3625 22.0928C11.3917 22.1543 11.3688 31.0517 11.3725 31.9631C11.1563 32.0856 10.2676 31.8701 10.0303 31.7947C9.89866 31.7528 9.644 31.6914 9.54946 31.5874L9.51914 31.584C9.46943 31.5736 9.44171 31.5537 9.40126 31.5222C9.30218 31.5131 9.14954 31.4132 9.07718 31.343C9.00129 31.3163 8.92757 31.2576 8.85921 31.2134L8.85617 31.2002C8.5748 31.0715 8.14929 30.6244 7.94318 30.376C7.35205 29.6639 6.93892 28.7659 6.83493 27.8203C6.78763 27.3904 6.7994 26.9595 6.80055 26.5277C6.80084 26.4202 6.82996 26.126 6.78242 26.0387L6.71237 26.023C6.54382 26.0528 6.34316 26.0328 6.17124 26.0324L1.0194 26.0325L0.942306 26.0307C0.74237 26.0326 0.173082 26.0689 0.0224192 26.0192L0.00848581 26.0029C0.022853 25.8597 0.0136924 25.7065 0.013837 25.562L0.0113299 24.6651L0.0117161 24.5253C0.0150266 24.1956 0.0145767 23.8659 0.0103662 23.5362Z", fill: "currentColor" }), /* @__PURE__ */ U.createElement("path", { d: "M6.79824 0.00127802C6.88001 -0.000781892 6.96176 -0.000351703 7.04349 0.00256876C7.12523 0.00549261 7.20682 0.0108998 7.28827 0.0187905C7.36968 0.0266845 7.45082 0.0370518 7.53169 0.0498924C7.61259 0.0627296 7.69305 0.078018 7.77309 0.0957576C7.85312 0.113501 7.93259 0.133663 8.0115 0.156244C8.09044 0.178828 8.16868 0.203796 8.24624 0.231148C8.3238 0.258499 8.40053 0.28819 8.47645 0.32022C8.55237 0.352247 8.62736 0.386559 8.70141 0.423156L8.71428 0.423492C8.76476 0.450874 8.815 0.479135 8.8661 0.50516C8.947 0.550491 9.03065 0.593185 9.10687 0.646856L9.24939 0.733144C9.31674 0.78126 9.38361 0.83049 9.45202 0.87695C10.462 1.67615 11.1434 2.77146 11.325 4.10211C11.4076 4.70784 11.3729 5.34243 11.372 5.9541C11.4625 5.96599 11.5526 5.9664 11.6436 5.96762C12.6033 5.93794 13.5708 5.96289 14.5314 5.96294C15.459 5.96305 16.3927 5.93758 17.3195 5.9633C17.5874 5.96523 17.9062 6.00101 18.1677 5.95273C18.1496 6.13096 18.1583 6.31472 18.1585 6.49401L18.1598 7.38388L18.1595 7.51855C18.1591 7.83084 18.14 8.15609 18.1607 8.46685C18.109 9.73893 17.6972 10.8198 16.8003 11.6891C15.9969 12.4676 15.0894 12.76 14.0228 12.8194L14.021 10.9083C14.0209 10.5892 14.0389 10.2573 14.0163 9.93952C14.0002 9.92849 13.9879 9.91884 13.9692 9.9133C13.7941 9.93418 13.6055 9.92148 13.4293 9.92133H9.15258L9.04077 9.92082L7.56664 9.92209C7.31676 9.92224 7.04528 9.94526 6.79858 9.90893L6.79824 0.00127802Z", fill: "currentColor" }), /* @__PURE__ */ U.createElement("path", { d: "M4.13987 5.96279C4.65941 5.9653 5.17894 5.96467 5.69847 5.96091C5.70059 7.27995 5.71757 8.60219 5.69833 9.92082L4.15072 9.92046L4.15106 11.4065C4.15096 11.6783 4.1406 11.9555 4.15443 12.2266C4.73799 12.8393 5.31307 13.4655 5.90921 14.0644L5.98321 14.0407C6.25311 14.0833 6.6928 14.0501 6.97981 14.0499L12.7386 14.0492L13.5943 14.0482C13.7363 14.0479 13.9068 14.0286 14.0457 14.0577L15.8019 15.9078L15.8915 15.997L15.9615 16.0784L15.9955 16.1093L17.4221 17.6163C17.6528 17.8599 17.9077 18.0979 18.1211 18.3569C18.1463 18.3875 18.1599 18.4086 18.1691 18.4477C18.1415 18.6757 18.1577 18.9211 18.1579 19.1514L18.1594 20.4531C18.1597 21.8112 18.142 23.1721 18.1599 24.5297L18.1589 24.6625L18.158 25.5556C18.158 25.7089 18.1437 25.8808 18.1676 26.0315L18.0995 26.031L17.2568 26.0329L17.2101 26.0308C16.2512 26.0486 15.2892 26.0305 14.3299 26.0308C13.7488 26.031 13.0694 26.064 12.4959 26.0258L12.4831 26.0202C12.4481 25.9239 12.4717 22.4806 12.47 22.075L14.0216 22.0744C14.0024 21.3241 14.0324 20.5711 14.0173 19.8203C13.4629 19.2116 12.887 18.6041 12.3052 18.0244L12.293 17.9978C12.0554 18.0392 11.5401 18.0054 11.2777 18.0053L8.9362 18.0074C7.75375 17.9793 6.56306 18.0065 5.37994 18.0069C5.13497 18.007 4.32737 18.0401 4.13472 17.9962L2.36331 16.1262L2.29219 16.0566L2.21959 15.9758L2.15074 15.9102C1.93803 15.6694 1.70849 15.441 1.48797 15.2079L0 13.631C0.0383768 13.4512 0.014078 13.2231 0.013837 13.0369L0.0121494 11.9198L0.0113299 7.52017L0.0122943 7.34622C0.0134032 6.9143 0.0453199 6.37479 0.00371286 5.95329C0.115854 5.96772 0.229056 5.9664 0.341872 5.96777C0.589393 5.96198 0.836946 5.96042 1.08453 5.9631L3.10905 5.96548C3.44789 5.96554 3.80282 5.98825 4.13987 5.96279Z", fill: "currentColor" })), q1 = ({ children: e }) => /* @__PURE__ */ c.jsx("div", { className: Nr.statContainer, children: e }), v2 = ({ adaptiveStyles: e }) => {
20392
20398
  var d, f;
20393
- const [t, n] = z.useState(null), { setBalanceSettings: r } = Ir(), { pageContext: i } = Ii(), { general: o, isAntistock: a } = At(), { header: u } = Ei(), s = a ? "Antistock" : "Billgang";
20399
+ const [t, n] = z.useState(null), { setBalanceSettings: r } = dr(), { pageContext: i } = Ii(), { general: o, isAntistock: a } = At(), { header: u } = Ei(), s = a ? "Antistock" : "Billgang";
20394
20400
  function l(m) {
20395
20401
  var b, C;
20396
20402
  const p = m == null ? void 0 : m.name, g = (C = (b = i == null ? void 0 : i.listings) == null ? void 0 : b.filter((y) => y.type === "PRODUCT")) == null ? void 0 : C.find((y) => y.productData.name === p);
@@ -20489,7 +20495,7 @@ const o7e = ({ adaptiveStyles: e }) => {
20489
20495
  t.topSpenderProduct ? /* @__PURE__ */ c.jsx(
20490
20496
  or,
20491
20497
  {
20492
- image: gr(t.topSpenderProduct.image.cfId),
20498
+ image: br(t.topSpenderProduct.image.cfId),
20493
20499
  imageName: t.topSpenderProduct.name,
20494
20500
  iconName: "Crown",
20495
20501
  title: "Top spent",
@@ -20561,7 +20567,7 @@ const o7e = ({ adaptiveStyles: e }) => {
20561
20567
  {
20562
20568
  title: "Store",
20563
20569
  value: (o == null ? void 0 : o.info.name) || "",
20564
- logo: gr(
20570
+ logo: br(
20565
20571
  (u == null ? void 0 : u.blockSettings.logo.url) || ((f = o == null ? void 0 : o.info.logo) == null ? void 0 : f.cfId) || "A5gbiev6F8AaBvp6M146Kw/4ecd0fb9-8ebc-44e9-fa1c-c36f61f4bd00"
20566
20572
  )
20567
20573
  }
@@ -20570,7 +20576,7 @@ const o7e = ({ adaptiveStyles: e }) => {
20570
20576
  t.favoriteProduct ? /* @__PURE__ */ c.jsx(
20571
20577
  or,
20572
20578
  {
20573
- image: gr(t.favoriteProduct.image.cfId),
20579
+ image: br(t.favoriteProduct.image.cfId),
20574
20580
  imageName: t.favoriteProduct.name,
20575
20581
  iconName: "Heart",
20576
20582
  title: "Favorite product",
@@ -20641,7 +20647,7 @@ const o7e = ({ adaptiveStyles: e }) => {
20641
20647
  progressForeground: ICe,
20642
20648
  icon: SCe
20643
20649
  }, w2 = ({ adaptiveStyles: e }) => {
20644
- const { notifications: t, setNotifications: n } = _n(), { setBalance: r } = Ir(), [i, o] = z.useState(null), a = async () => {
20650
+ const { notifications: t, setNotifications: n } = _n(), { setBalance: r } = dr(), [i, o] = z.useState(null), a = async () => {
20645
20651
  const f = (await e7e()).map((m) => ({
20646
20652
  ...m,
20647
20653
  isClaimed: !1
@@ -21873,7 +21879,7 @@ function d9e(e, t) {
21873
21879
  function f9e(e, t) {
21874
21880
  e.prototype = Object.create(t.prototype), e.prototype.constructor = e, e.__proto__ = t;
21875
21881
  }
21876
- var pr = {}, h9e = 0;
21882
+ var mr = {}, h9e = 0;
21877
21883
  function p9e(e, t) {
21878
21884
  return t = t || {}, function(r) {
21879
21885
  var i = r.displayName || r.name || "Component", o = /* @__PURE__ */ function(u) {
@@ -21893,7 +21899,7 @@ function p9e(e, t) {
21893
21899
  return m.props.asyncScriptOnLoad && m.props.asyncScriptOnLoad(m.state);
21894
21900
  });
21895
21901
  }, l.asyncScriptLoaderTriggerOnScriptLoaded = function() {
21896
- var f = pr[this.__scriptURL];
21902
+ var f = mr[this.__scriptURL];
21897
21903
  if (!f || !f.loaded)
21898
21904
  throw new Error("Script is not loaded.");
21899
21905
  for (var m in f.observers)
@@ -21901,11 +21907,11 @@ function p9e(e, t) {
21901
21907
  delete window[t.callbackName];
21902
21908
  }, l.componentDidMount = function() {
21903
21909
  var f = this, m = this.setupScriptURL(), p = this.asyncScriptLoaderGetScriptLoaderID(), g = t, b = g.globalName, C = g.callbackName, y = g.scriptId;
21904
- if (b && typeof window[b] < "u" && (pr[m] = {
21910
+ if (b && typeof window[b] < "u" && (mr[m] = {
21905
21911
  loaded: !0,
21906
21912
  observers: {}
21907
- }), pr[m]) {
21908
- var E = pr[m];
21913
+ }), mr[m]) {
21914
+ var E = mr[m];
21909
21915
  if (E && (E.loaded || E.errored)) {
21910
21916
  this.asyncScriptLoaderHandleLoad(E);
21911
21917
  return;
@@ -21918,7 +21924,7 @@ function p9e(e, t) {
21918
21924
  var x = {};
21919
21925
  x[p] = function(_) {
21920
21926
  return f.asyncScriptLoaderHandleLoad(_);
21921
- }, pr[m] = {
21927
+ }, mr[m] = {
21922
21928
  loaded: !1,
21923
21929
  observers: x
21924
21930
  };
@@ -21928,8 +21934,8 @@ function p9e(e, t) {
21928
21934
  I.setAttribute(T, t.attributes[T]);
21929
21935
  y && (I.id = y);
21930
21936
  var v = function(P) {
21931
- if (pr[m]) {
21932
- var F = pr[m], A = F.observers;
21937
+ if (mr[m]) {
21938
+ var F = mr[m], A = F.observers;
21933
21939
  for (var B in A)
21934
21940
  P(A[B]) && delete A[B];
21935
21941
  }
@@ -21937,12 +21943,12 @@ function p9e(e, t) {
21937
21943
  C && typeof window < "u" && (window[C] = function() {
21938
21944
  return f.asyncScriptLoaderTriggerOnScriptLoaded();
21939
21945
  }), I.onload = function() {
21940
- var _ = pr[m];
21946
+ var _ = mr[m];
21941
21947
  _ && (_.loaded = !0, v(function(P) {
21942
21948
  return C ? !1 : (P(_), !0);
21943
21949
  }));
21944
21950
  }, I.onerror = function() {
21945
- var _ = pr[m];
21951
+ var _ = mr[m];
21946
21952
  _ && (_.errored = !0, v(function(P) {
21947
21953
  return P(_), !0;
21948
21954
  }));
@@ -21952,8 +21958,8 @@ function p9e(e, t) {
21952
21958
  if (t.removeOnUnmount === !0)
21953
21959
  for (var m = document.getElementsByTagName("script"), p = 0; p < m.length; p += 1)
21954
21960
  m[p].src.indexOf(f) > -1 && m[p].parentNode && m[p].parentNode.removeChild(m[p]);
21955
- var g = pr[f];
21956
- g && (delete g.observers[this.asyncScriptLoaderGetScriptLoaderID()], t.removeOnUnmount === !0 && delete pr[f]);
21961
+ var g = mr[f];
21962
+ g && (delete g.observers[this.asyncScriptLoaderGetScriptLoaderID()], t.removeOnUnmount === !0 && delete mr[f]);
21957
21963
  }, l.render = function() {
21958
21964
  var f = t.globalName, m = this.props;
21959
21965
  m.asyncScriptOnLoad;
@@ -22314,7 +22320,7 @@ const rEe = (e) => {
22314
22320
  ]
22315
22321
  }
22316
22322
  ), V2 = ({ error: e }) => e ? /* @__PURE__ */ c.jsx("div", { className: Lt.formError, children: e }) : null, oEe = () => {
22317
- const [e, t] = Ht(""), [n, r] = Ht(null), [i, o] = Ht(!1), { executeRecaptcha: a } = M2(), { setOtpRequest: u } = Ir(), { isAntistock: s } = At(), l = async (d) => {
22323
+ const [e, t] = Ht(""), [n, r] = Ht(null), [i, o] = Ht(!1), { executeRecaptcha: a } = M2(), { setOtpRequest: u } = dr(), { isAntistock: s } = At(), l = async (d) => {
22318
22324
  d.preventDefault(), r(null);
22319
22325
  const f = rEe(e);
22320
22326
  if (f) {
@@ -22388,7 +22394,7 @@ const rEe = (e) => {
22388
22394
  }
22389
22395
  );
22390
22396
  }, aEe = ({ onSignIn: e }) => {
22391
- const { otpRequest: t, setOtpRequest: n } = Ir(), { isAntistock: r } = At(), [i, o] = Ht(""), [a, u] = Ht(null), [s, l] = Ht(!1), { executeRecaptcha: d } = M2(), f = async () => {
22397
+ const { otpRequest: t, setOtpRequest: n } = dr(), { isAntistock: r } = At(), [i, o] = Ht(""), [a, u] = Ht(null), [s, l] = Ht(!1), { executeRecaptcha: d } = M2(), f = async () => {
22392
22398
  u(null);
22393
22399
  const p = iEe(i);
22394
22400
  if (p) {
@@ -22463,12 +22469,12 @@ const rEe = (e) => {
22463
22469
  }
22464
22470
  );
22465
22471
  }, uEe = ({ inModal: e, onSignIn: t }) => {
22466
- const { otpRequest: n, setOtpRequest: r } = Ir();
22472
+ const { otpRequest: n, setOtpRequest: r } = dr();
22467
22473
  return z.useEffect(() => {
22468
22474
  n.requested && r({ requested: !1, email: "" });
22469
22475
  }, []), /* @__PURE__ */ c.jsx("div", { className: Lt.authContainer, children: n ? /* @__PURE__ */ c.jsx("div", { className: me(Lt.authWrapper, e && Lt.inModal), children: n.requested ? /* @__PURE__ */ c.jsx(aEe, { onSignIn: t }) : /* @__PURE__ */ c.jsx(oEe, {}) }) : /* @__PURE__ */ c.jsx(zn, {}) });
22470
22476
  }, sEe = async (e = 1) => await S5e({ PageNumber: e }), lEe = () => {
22471
- const [e, t] = z.useState(null), [n, r] = z.useState(0), { page: i, setPage: o } = Ki(), { gatewaysDetail: a, setGatewaysDetail: u, balanceSettings: s } = Ir();
22477
+ const [e, t] = z.useState(null), [n, r] = z.useState(0), { page: i, setPage: o } = Ki(), { gatewaysDetail: a, setGatewaysDetail: u, balanceSettings: s } = dr();
22472
22478
  return z.useEffect(() => {
22473
22479
  const l = async () => {
22474
22480
  const { list: f, totalCount: m } = await sEe(i);
@@ -22514,7 +22520,7 @@ const rEe = (e) => {
22514
22520
  [Wt.Balance]: A2,
22515
22521
  [Wt.Tickets]: D2
22516
22522
  }, fEe = () => {
22517
- const { route: e, setRoute: t } = Ir(), { resetPage: n } = Ki(), { token: r } = Xi(), { isAntistock: i } = At(), o = i ? dEe[e] : cEe[e];
22523
+ const { route: e, setRoute: t } = dr(), { resetPage: n } = Ki(), { token: r } = Xi(), { isAntistock: i } = At(), o = i ? dEe[e] : cEe[e];
22518
22524
  return z.useEffect(() => {
22519
22525
  n();
22520
22526
  }, [e, n]), z.useEffect(() => {
@@ -23207,7 +23213,7 @@ const fye = {
23207
23213
  "img",
23208
23214
  {
23209
23215
  alt: n.displayName,
23210
- src: gr(n.logoCfImageId),
23216
+ src: br(n.logoCfImageId, "100"),
23211
23217
  className: Xn.gatewayIcon
23212
23218
  }
23213
23219
  ),
@@ -23743,7 +23749,7 @@ const rxe = {
23743
23749
  "img",
23744
23750
  {
23745
23751
  className: Vt.logo,
23746
- src: gr(r),
23752
+ src: br(r, "100"),
23747
23753
  alt: n
23748
23754
  }
23749
23755
  ) }) : ixe[t],
@@ -23751,7 +23757,7 @@ const rxe = {
23751
23757
  "img",
23752
23758
  {
23753
23759
  className: Vt.logo,
23754
- src: gr(i),
23760
+ src: br(i, "100"),
23755
23761
  alt: n
23756
23762
  }
23757
23763
  ) })
@@ -23770,7 +23776,7 @@ const rxe = {
23770
23776
  "img",
23771
23777
  {
23772
23778
  className: Vt.logo,
23773
- src: gr(r),
23779
+ src: br(r, "100"),
23774
23780
  alt: n
23775
23781
  }
23776
23782
  ) }) : rxe[t],
@@ -23778,7 +23784,7 @@ const rxe = {
23778
23784
  "img",
23779
23785
  {
23780
23786
  className: Vt.logo,
23781
- src: gr(i),
23787
+ src: br(i, "100"),
23782
23788
  alt: n
23783
23789
  }
23784
23790
  ) })
@@ -23790,7 +23796,7 @@ const rxe = {
23790
23796
  "img",
23791
23797
  {
23792
23798
  className: Vt.logo,
23793
- src: gr(r),
23799
+ src: br(r, "100"),
23794
23800
  alt: n
23795
23801
  }
23796
23802
  ) }),
@@ -25624,7 +25630,7 @@ function sm(e, t) {
25624
25630
  n > 1114111 ? "�" : String.fromCodePoint(n)
25625
25631
  );
25626
25632
  }
25627
- function Cr(e) {
25633
+ function Er(e) {
25628
25634
  return e.replace(/[\t\n\r ]+/g, " ").replace(/^ | $/g, "").toLowerCase().toUpperCase();
25629
25635
  }
25630
25636
  const Pn = ki(/[A-Za-z]/), An = ki(/[\dA-Za-z]/), l_e = ki(/[#-'*+\--9=?A-Z^-~]/);
@@ -26592,7 +26598,7 @@ function q_e(e, t, n) {
26592
26598
  )(p);
26593
26599
  }
26594
26600
  function u(p) {
26595
- return i = Cr(r.sliceSerialize(r.events[r.events.length - 1][1]).slice(1, -1)), p === 58 ? (e.enter("definitionMarker"), e.consume(p), e.exit("definitionMarker"), s) : n(p);
26601
+ return i = Er(r.sliceSerialize(r.events[r.events.length - 1][1]).slice(1, -1)), p === 58 ? (e.enter("definitionMarker"), e.consume(p), e.exit("definitionMarker"), s) : n(p);
26596
26602
  }
26597
26603
  function s(p) {
26598
26604
  return lt(p) ? xa(e, l)(p) : l(p);
@@ -27060,7 +27066,7 @@ function hTe(e, t, n) {
27060
27066
  }
27061
27067
  return u;
27062
27068
  function u(m) {
27063
- return o ? o._inactive ? f(m) : (a = r.parser.defined.includes(Cr(r.sliceSerialize({
27069
+ return o ? o._inactive ? f(m) : (a = r.parser.defined.includes(Er(r.sliceSerialize({
27064
27070
  start: o.end,
27065
27071
  end: r.now()
27066
27072
  }))), e.enter("labelEnd"), e.enter("labelMarker"), e.consume(m), e.exit("labelMarker"), e.exit("labelEnd"), s) : n(m);
@@ -27112,7 +27118,7 @@ function mTe(e, t, n) {
27112
27118
  return pm.call(r, e, o, a, "reference", "referenceMarker", "referenceString")(u);
27113
27119
  }
27114
27120
  function o(u) {
27115
- return r.parser.defined.includes(Cr(r.sliceSerialize(r.events[r.events.length - 1][1]).slice(1, -1))) ? t(u) : n(u);
27121
+ return r.parser.defined.includes(Er(r.sliceSerialize(r.events[r.events.length - 1][1]).slice(1, -1))) ? t(u) : n(u);
27116
27122
  }
27117
27123
  function a(u) {
27118
27124
  return n(u);
@@ -28072,7 +28078,7 @@ function iIe(e) {
28072
28078
  }
28073
28079
  function E(W) {
28074
28080
  const ie = this.resume(), Ie = this.stack[this.stack.length - 1];
28075
- Ie.label = ie, Ie.identifier = Cr(this.sliceSerialize(W)).toLowerCase();
28081
+ Ie.label = ie, Ie.identifier = Er(this.sliceSerialize(W)).toLowerCase();
28076
28082
  }
28077
28083
  function x() {
28078
28084
  const W = this.resume(), ie = this.stack[this.stack.length - 1];
@@ -28156,7 +28162,7 @@ function iIe(e) {
28156
28162
  }
28157
28163
  function Ae(W) {
28158
28164
  const ie = this.sliceSerialize(W), Ie = this.stack[this.stack.length - 2];
28159
- Ie.label = tIe(ie), Ie.identifier = Cr(ie).toLowerCase();
28165
+ Ie.label = tIe(ie), Ie.identifier = Er(ie).toLowerCase();
28160
28166
  }
28161
28167
  function we() {
28162
28168
  const W = this.stack[this.stack.length - 1], ie = this.resume(), Ie = this.stack[this.stack.length - 1];
@@ -28182,7 +28188,7 @@ function iIe(e) {
28182
28188
  }
28183
28189
  function G(W) {
28184
28190
  const ie = this.resume(), Ie = this.stack[this.stack.length - 1];
28185
- Ie.label = ie, Ie.identifier = Cr(this.sliceSerialize(W)).toLowerCase(), this.data.referenceType = "full";
28191
+ Ie.label = ie, Ie.identifier = Er(this.sliceSerialize(W)).toLowerCase(), this.data.referenceType = "full";
28186
28192
  }
28187
28193
  function ue(W) {
28188
28194
  this.data.characterReferenceType = W.type;
@@ -30737,7 +30743,7 @@ function YSe(e) {
30737
30743
  }
30738
30744
  function GSe(e) {
30739
30745
  const t = this.resume(), n = this.stack[this.stack.length - 1];
30740
- n.type, n.identifier = Cr(
30746
+ n.type, n.identifier = Er(
30741
30747
  this.sliceSerialize(e)
30742
30748
  ).toLowerCase(), n.label = t;
30743
30749
  }
@@ -30746,7 +30752,7 @@ function XSe(e) {
30746
30752
  }
30747
30753
  function KSe(e) {
30748
30754
  const t = this.resume(), n = this.stack[this.stack.length - 1];
30749
- n.type, n.identifier = Cr(
30755
+ n.type, n.identifier = Er(
30750
30756
  this.sliceSerialize(e)
30751
30757
  ).toLowerCase(), n.label = t;
30752
30758
  }
@@ -31974,7 +31980,7 @@ function gve(e, t, n) {
31974
31980
  function u(s) {
31975
31981
  if (!a || !a._balanced)
31976
31982
  return n(s);
31977
- const l = Cr(r.sliceSerialize({
31983
+ const l = Er(r.sliceSerialize({
31978
31984
  start: a.end,
31979
31985
  end: r.now()
31980
31986
  }));
@@ -32053,7 +32059,7 @@ function Cve(e, t, n) {
32053
32059
  if (f === 93) {
32054
32060
  e.exit("chunkString");
32055
32061
  const m = e.exit("gfmFootnoteCallString");
32056
- return i.includes(Cr(r.sliceSerialize(m))) ? (e.enter("gfmFootnoteCallLabelMarker"), e.consume(f), e.exit("gfmFootnoteCallLabelMarker"), e.exit("gfmFootnoteCall"), t) : n(f);
32062
+ return i.includes(Er(r.sliceSerialize(m))) ? (e.enter("gfmFootnoteCallLabelMarker"), e.consume(f), e.exit("gfmFootnoteCallLabelMarker"), e.exit("gfmFootnoteCall"), t) : n(f);
32057
32063
  }
32058
32064
  return lt(f) || (a = !0), o++, e.consume(f), f === 92 ? d : l;
32059
32065
  }
@@ -32083,7 +32089,7 @@ function Eve(e, t, n) {
32083
32089
  if (g === 93) {
32084
32090
  e.exit("chunkString");
32085
32091
  const b = e.exit("gfmFootnoteDefinitionLabelString");
32086
- return o = Cr(r.sliceSerialize(b)), e.enter("gfmFootnoteDefinitionLabelMarker"), e.consume(g), e.exit("gfmFootnoteDefinitionLabelMarker"), e.exit("gfmFootnoteDefinitionLabel"), m;
32092
+ return o = Er(r.sliceSerialize(b)), e.enter("gfmFootnoteDefinitionLabelMarker"), e.consume(g), e.exit("gfmFootnoteDefinitionLabelMarker"), e.exit("gfmFootnoteDefinitionLabel"), m;
32087
32093
  }
32088
32094
  return lt(g) || (u = !0), a++, e.consume(g), g === 92 ? f : d;
32089
32095
  }
@@ -32822,7 +32828,7 @@ function i3(e, t) {
32822
32828
  function od(e) {
32823
32829
  return e.toLowerCase();
32824
32830
  }
32825
- class dr {
32831
+ class fr {
32826
32832
  /**
32827
32833
  * @constructor
32828
32834
  * @param {string} property
@@ -32832,16 +32838,16 @@ class dr {
32832
32838
  this.property = t, this.attribute = n;
32833
32839
  }
32834
32840
  }
32835
- dr.prototype.space = null;
32836
- dr.prototype.boolean = !1;
32837
- dr.prototype.booleanish = !1;
32838
- dr.prototype.overloadedBoolean = !1;
32839
- dr.prototype.number = !1;
32840
- dr.prototype.commaSeparated = !1;
32841
- dr.prototype.spaceSeparated = !1;
32842
- dr.prototype.commaOrSpaceSeparated = !1;
32843
- dr.prototype.mustUseProperty = !1;
32844
- dr.prototype.defined = !1;
32841
+ fr.prototype.space = null;
32842
+ fr.prototype.boolean = !1;
32843
+ fr.prototype.booleanish = !1;
32844
+ fr.prototype.overloadedBoolean = !1;
32845
+ fr.prototype.number = !1;
32846
+ fr.prototype.commaSeparated = !1;
32847
+ fr.prototype.spaceSeparated = !1;
32848
+ fr.prototype.commaOrSpaceSeparated = !1;
32849
+ fr.prototype.mustUseProperty = !1;
32850
+ fr.prototype.defined = !1;
32845
32851
  let Gve = 0;
32846
32852
  const Be = Ji(), $t = Ji(), o3 = Ji(), de = Ji(), dt = Ji(), xo = Ji(), Gn = Ji();
32847
32853
  function Ji() {
@@ -32857,7 +32863,7 @@ const ad = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
32857
32863
  overloadedBoolean: o3,
32858
32864
  spaceSeparated: dt
32859
32865
  }, Symbol.toStringTag, { value: "Module" })), tc = Object.keys(ad);
32860
- class s0 extends dr {
32866
+ class s0 extends fr {
32861
32867
  /**
32862
32868
  * @constructor
32863
32869
  * @param {string} property
@@ -33904,7 +33910,7 @@ const c3 = jo({
33904
33910
  }), Jve = /^data[-\w.:]+$/i, dh = /-[a-z]/g, eke = /[A-Z]/g;
33905
33911
  function tke(e, t) {
33906
33912
  const n = od(t);
33907
- let r = t, i = dr;
33913
+ let r = t, i = fr;
33908
33914
  if (n in e.normal)
33909
33915
  return e.property[e.normal[n]];
33910
33916
  if (n.length > 4 && n.slice(0, 4) === "data" && Jve.test(t)) {
@@ -43909,7 +43915,7 @@ const uPe = (e) => {
43909
43915
  "img",
43910
43916
  {
43911
43917
  alt: n.displayName,
43912
- src: gr(n.logoCfImageId),
43918
+ src: br(n.logoCfImageId, "100"),
43913
43919
  className: mn.gatewayImage
43914
43920
  }
43915
43921
  ),
@@ -44223,14 +44229,14 @@ export {
44223
44229
  lp as aD,
44224
44230
  gt as aE,
44225
44231
  dMe as aF,
44226
- Ir as aG,
44232
+ dr as aG,
44227
44233
  Ufe as aH,
44228
44234
  li as aI,
44229
44235
  FMe as aJ,
44230
44236
  lfe as aK,
44231
44237
  sCe as aL,
44232
44238
  oFe as aM,
44233
- gr as aN,
44239
+ br as aN,
44234
44240
  sFe as aO,
44235
44241
  eu as aP,
44236
44242
  j3e as aQ,
@@ -44307,7 +44313,7 @@ export {
44307
44313
  VRe as e,
44308
44314
  Un as f,
44309
44315
  me as g,
44310
- br as h,
44316
+ Cr as h,
44311
44317
  zge as i,
44312
44318
  c as j,
44313
44319
  Vge as k,