@billgangcom/theme-lib 1.125.4 → 1.125.5

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.
Files changed (41) hide show
  1. package/dist/{builder-B5L_sXTT.js → builder-2YNszRul.js} +5 -5
  2. package/dist/{builder-l3Mn4viI.cjs → builder-DT2MPQIe.cjs} +2 -2
  3. package/dist/{builder-components-BIfe6RPT.js → builder-components-CfB-cXOa.js} +4 -4
  4. package/dist/{builder-components-X1GAfroW.cjs → builder-components-HQ8ccfQi.cjs} +1 -1
  5. package/dist/builder.cjs.js +1 -1
  6. package/dist/builder.es.js +23 -23
  7. package/dist/{charge-Di-4QINM.js → charge-CeL8jXzk.js} +397 -393
  8. package/dist/{charge-9VEQkwem.cjs → charge-Dd6podcM.cjs} +12 -12
  9. package/dist/{checkout-DsCj-O1M.js → checkout-dKBgx4_t.js} +5 -5
  10. package/dist/{checkout-DCuFIAUp.cjs → checkout-hG4nZAfL.cjs} +1 -1
  11. package/dist/exports.cjs.js +1 -1
  12. package/dist/exports.es.js +6 -6
  13. package/dist/{index-CcSUuqaw.cjs → index-BBmLGlCP.cjs} +1 -1
  14. package/dist/{index-B98dVJaK.cjs → index-BGWhMhIz.cjs} +1 -1
  15. package/dist/{index-DymofhMw.js → index-BcBa6BVj.js} +2 -2
  16. package/dist/{index-CEGNqpya.js → index-BsRq6_oH.js} +5 -5
  17. package/dist/{index-x0UXGxZZ.js → index-CPXgL1Te.js} +1 -1
  18. package/dist/{index-F6Vdi_NY.js → index-DCCA87NY.js} +5 -5
  19. package/dist/{index-IAZX-Ulk.cjs → index-DH3suBKA.cjs} +1 -1
  20. package/dist/{index-78ELLFPJ.cjs → index-DrlEFa_A.cjs} +1 -1
  21. package/dist/{index-BpyYli2C.js → index-DxY9GcmW.js} +5 -5
  22. package/dist/{index-_V3o_Cpe.cjs → index-WlsBw3sd.cjs} +1 -1
  23. package/dist/{index-DFDIsooy.cjs → index-ljnGesWX.cjs} +1 -1
  24. package/dist/{index-BEH-iY-2.js → index-m8mNLWAF.js} +5 -5
  25. package/dist/index.cjs.js +1 -1
  26. package/dist/index.es.js +6 -6
  27. package/dist/{order-BDBX80KD.js → order-bjCcFmx6.js} +5 -5
  28. package/dist/{order-DPalIxS2.cjs → order-f8DTpqHu.cjs} +1 -1
  29. package/dist/{subscription-aL3jcYCi.js → subscription-B520eImG.js} +5 -5
  30. package/dist/{subscription-6YfhKXW6.cjs → subscription-DuQaeZpz.cjs} +1 -1
  31. package/dist/{ticket-CjFb8U_g.cjs → ticket-C_4dunoG.cjs} +1 -1
  32. package/dist/{ticket-D73mbXt4.js → ticket-HPAqmPkQ.js} +5 -5
  33. package/dist/{top-up-BTDWKfwy.js → top-up-CE-L-n3m.js} +5 -5
  34. package/dist/{top-up-DRjxtNDd.cjs → top-up-xnDj358Z.cjs} +1 -1
  35. package/dist/{ui-components-CvWzKgkI.cjs → ui-components-CoVj1ReR.cjs} +1 -1
  36. package/dist/{ui-components-D2keDJbK.js → ui-components-t7AROe_i.js} +45 -44
  37. package/dist/ui.cjs.js +1 -1
  38. package/dist/ui.es.js +1 -1
  39. package/dist/{validation-BIkz39RU.cjs → validation-BFKCs4Vw.cjs} +1 -1
  40. package/dist/{validation-BeyWmqN7.js → validation-BmbrCdXv.js} +5 -5
  41. package/package.json +1 -1
@@ -1,13 +1,13 @@
1
- import { j as Be, M as We, r as He, N as zt, O as qt, p as hn, f as J, Q as La, z as Re, U as Pt, V as dt, W as Ye, X as gr, e as vt, K as Je, Y as kt, v as De, b as x2, u as A2, a as ks, Z as I2, _ as _n, $ as xs, a0 as As, a1 as S2, a2 as N2, a3 as vu, a4 as Wi, a5 as v2, a6 as No, a7 as Fl, a8 as Is, a9 as Pa, aa as w2 } from "./builder-B5L_sXTT.js";
1
+ import { j as Be, M as We, r as He, N as zt, O as qt, p as hn, f as J, Q as La, z as Re, U as Pt, V as dt, W as Ye, X as gr, e as vt, K as Je, Y as kt, v as we, b as x2, u as A2, a as ks, Z as I2, _ as _n, $ as xs, a0 as As, a1 as S2, a2 as N2, a3 as vu, a4 as Wi, a5 as v2, a6 as No, a7 as Fl, a8 as Is, a9 as Pa, aa as w2 } from "./builder-2YNszRul.js";
2
2
  import { jsx as o, jsxs as b, Fragment as ze } from "react/jsx-runtime";
3
3
  import * as be from "react";
4
- import $, { createElement as lt, isValidElement as D2, useEffect as yn, forwardRef as Bl, Component as L2, useState as Ce, useRef as Qn, useMemo as Xn } from "react";
5
- import { I as H, e as _t, f as Tn, g as ee, h as Ea, M as Ft, W as P2, i as Ss, j as Hl, k as Ul, l as Hu, m as ma, R as R2 } from "./ui-components-D2keDJbK.js";
6
- import { F as Vl } from "./builder-components-BIfe6RPT.js";
4
+ import $, { createElement as lt, isValidElement as D2, useEffect as yn, forwardRef as Bl, Component as L2, useState as Ce, useRef as Jn, useMemo as Kn } from "react";
5
+ import { I as H, e as _t, f as Tn, g as ee, h as Ea, M as Ft, W as P2, i as Ss, j as Hl, k as Ul, l as Hu, m as ma, R as R2 } from "./ui-components-t7AROe_i.js";
6
+ import { F as Vl } from "./builder-components-CfB-cXOa.js";
7
7
  import "react-dom";
8
- import { T as $l } from "./ticket-D73mbXt4.js";
9
- import { O as zl } from "./order-BDBX80KD.js";
10
- import { S as M2 } from "./subscription-aL3jcYCi.js";
8
+ import { T as $l } from "./ticket-HPAqmPkQ.js";
9
+ import { O as zl } from "./order-bjCcFmx6.js";
10
+ import { S as M2 } from "./subscription-B520eImG.js";
11
11
  async function uR(e) {
12
12
  const t = Be.getState().apiUrls, n = We ? localStorage.getItem("fakeDomain") : window.location.hostname, r = `${t.storeApi}/shops/${n}/general` + (e ? `?password=${e}` : "");
13
13
  return (await He({
@@ -642,7 +642,7 @@ const Oa = async (e) => (await tf(e)).data, Kf = async () => {
642
642
  currency: t.currency
643
643
  };
644
644
  };
645
- var bu = /* @__PURE__ */ ((e) => (e.ADDED = "ADDED", e.REMOVED = "REMOVED", e))(bu || {}), Ne = /* @__PURE__ */ ((e) => (e.NotPaid = "NOT_PAID", e.Pending = "PENDING", e.Paid = "PAID", e.Expired = "EXPIRED", e.Cancelled = "CANCELLED", e.Refunded = "REFUNDED", e))(Ne || {}), wu = /* @__PURE__ */ ((e) => (e.Balance = "BALANCE", e.Product = "PRODUCT", e))(wu || {}), Mt = /* @__PURE__ */ ((e) => (e.Spend = "SPEND_AMOUNT", e.Order = "ORDER_COUNT", e.Referral = "REFER_FRIEND", e.Review = "LEAVE_REVIEW", e.Vouch = "LEAVE_VOUCH", e))(Mt || {});
645
+ var bu = /* @__PURE__ */ ((e) => (e.ADDED = "ADDED", e.REMOVED = "REMOVED", e))(bu || {}), ve = /* @__PURE__ */ ((e) => (e.NotPaid = "NOT_PAID", e.Pending = "PENDING", e.Paid = "PAID", e.Expired = "EXPIRED", e.Cancelled = "CANCELLED", e.Refunded = "REFUNDED", e))(ve || {}), wu = /* @__PURE__ */ ((e) => (e.Balance = "BALANCE", e.Product = "PRODUCT", e))(wu || {}), Mt = /* @__PURE__ */ ((e) => (e.Spend = "SPEND_AMOUNT", e.Order = "ORDER_COUNT", e.Referral = "REFER_FRIEND", e.Review = "LEAVE_REVIEW", e.Vouch = "LEAVE_VOUCH", e))(Mt || {});
646
646
  const Qf = async () => (await H2()).data;
647
647
  /*! *****************************************************************************
648
648
  Copyright (c) Microsoft Corporation. All rights reserved.
@@ -775,7 +775,7 @@ const Gl = ({ adaptiveStyles: e }) => {
775
775
  }
776
776
  )
777
777
  }
778
- ), uh = "_balanceContainer_lnfgz_1", ah = "_headerTitle_lnfgz_12", ih = "_balanceHeader_lnfgz_16", sh = "_balanceAmount_lnfgz_23", oh = "_balanceAmountTitle_lnfgz_36", ch = "_balanceAmountValue_lnfgz_41", lh = "_transactionDate_lnfgz_69", dh = "_transactionItem_lnfgz_76", fh = "_transactionDetails_lnfgz_84", hh = "_iconWrapper_lnfgz_89", ph = "_transactionInfo_lnfgz_100", mh = "_transactionTitle_lnfgz_105", gh = "_transactionId_lnfgz_109", bh = "_transactionAmount_lnfgz_115", _h = "_added_lnfgz_120", Ch = "_removed_lnfgz_123", Eh = "_noItemsBlock_lnfgz_127", yh = "_pagination_lnfgz_136", Th = "_antistock_lnfgz_142", kh = "_modal_lnfgz_153", xh = "_header_lnfgz_12", Ah = "_form_lnfgz_165", Ih = "_label_lnfgz_171", Sh = "_bonusBlock_lnfgz_184", Nh = "_gatewayList_lnfgz_198", vh = "_gatewayButton_lnfgz_205", wh = "_selected_lnfgz_215", Dh = "_gatewayName_lnfgz_218", Lh = "_error_lnfgz_221", Ph = "_submitButton_lnfgz_226", Rh = "_addBalanceButton_lnfgz_248", Mh = "_gatewayIcon_lnfgz_267", Oh = "_loaderContainer_lnfgz_291", Fh = "_transactionsContainer_lnfgz_299", Bh = "_transactionsHeader_lnfgz_8", Hh = "_transactionsContent_lnfgz_313", Se = {
778
+ ), uh = "_balanceContainer_lnfgz_1", ah = "_headerTitle_lnfgz_12", ih = "_balanceHeader_lnfgz_16", sh = "_balanceAmount_lnfgz_23", oh = "_balanceAmountTitle_lnfgz_36", ch = "_balanceAmountValue_lnfgz_41", lh = "_transactionDate_lnfgz_69", dh = "_transactionItem_lnfgz_76", fh = "_transactionDetails_lnfgz_84", hh = "_iconWrapper_lnfgz_89", ph = "_transactionInfo_lnfgz_100", mh = "_transactionTitle_lnfgz_105", gh = "_transactionId_lnfgz_109", bh = "_transactionAmount_lnfgz_115", _h = "_added_lnfgz_120", Ch = "_removed_lnfgz_123", Eh = "_noItemsBlock_lnfgz_127", yh = "_pagination_lnfgz_136", Th = "_antistock_lnfgz_142", kh = "_modal_lnfgz_153", xh = "_header_lnfgz_12", Ah = "_form_lnfgz_165", Ih = "_label_lnfgz_171", Sh = "_bonusBlock_lnfgz_184", Nh = "_gatewayList_lnfgz_198", vh = "_gatewayButton_lnfgz_205", wh = "_selected_lnfgz_215", Dh = "_gatewayName_lnfgz_218", Lh = "_error_lnfgz_221", Ph = "_submitButton_lnfgz_226", Rh = "_addBalanceButton_lnfgz_248", Mh = "_gatewayIcon_lnfgz_267", Oh = "_loaderContainer_lnfgz_291", Fh = "_transactionsContainer_lnfgz_299", Bh = "_transactionsHeader_lnfgz_8", Hh = "_transactionsContent_lnfgz_313", Ne = {
779
779
  balanceContainer: uh,
780
780
  headerTitle: ah,
781
781
  balanceHeader: ih,
@@ -1709,7 +1709,7 @@ const Gl = ({ adaptiveStyles: e }) => {
1709
1709
  }
1710
1710
  )
1711
1711
  }
1712
- ), Gh = ({ enterAnother: e, bonusPercent: t, currency: n, isAntistock: r }) => /* @__PURE__ */ b("div", { className: Se.bonusBlock, children: [
1712
+ ), Gh = ({ enterAnother: e, bonusPercent: t, currency: n, isAntistock: r }) => /* @__PURE__ */ b("div", { className: Ne.bonusBlock, children: [
1713
1713
  !r && /* @__PURE__ */ o(H, { name: "Fire" }),
1714
1714
  /* @__PURE__ */ o("div", { children: r ? e > 0 ? `Deposit an additional ${Ye({ amount: e, currency: n })} and receive a ${t}% bonus.` : `Congratulations! You just unlocked a ${t}% bonus!` : e > 0 ? `Enter another ${Ye({ amount: e, currency: n })} and receive an additional bonus of ${t}%` : `You will receive an additional bonus of ${t}%` })
1715
1715
  ] }), Xh = ({ isModal: e = !0 }) => {
@@ -1745,7 +1745,7 @@ const Gl = ({ adaptiveStyles: e }) => {
1745
1745
  {
1746
1746
  message: "Order created successfully",
1747
1747
  status: "success",
1748
- id: De()
1748
+ id: we()
1749
1749
  }
1750
1750
  ]), p(`/charges/${R.data.chargeId}`);
1751
1751
  } catch (R) {
@@ -1755,7 +1755,7 @@ const Gl = ({ adaptiveStyles: e }) => {
1755
1755
  {
1756
1756
  message: `Order creation failed: ${X.message}`,
1757
1757
  status: "error",
1758
- id: De()
1758
+ id: we()
1759
1759
  }
1760
1760
  ]);
1761
1761
  } finally {
@@ -1775,18 +1775,18 @@ const Gl = ({ adaptiveStyles: e }) => {
1775
1775
  return /* @__PURE__ */ o(ze, { children: a ? /* @__PURE__ */ o(So, {}) : /* @__PURE__ */ b(
1776
1776
  "div",
1777
1777
  {
1778
- className: J(Se.modal, {
1779
- [Se.antistock]: s
1778
+ className: J(Ne.modal, {
1779
+ [Ne.antistock]: s
1780
1780
  }),
1781
1781
  onClick: (F) => F.stopPropagation(),
1782
1782
  id: s ? "randomId" : void 0,
1783
1783
  children: [
1784
- /* @__PURE__ */ b("div", { className: Se.header, children: [
1784
+ /* @__PURE__ */ b("div", { className: Ne.header, children: [
1785
1785
  /* @__PURE__ */ o(
1786
1786
  "h2",
1787
1787
  {
1788
1788
  id: "h3",
1789
- className: Se.headerTitle,
1789
+ className: Ne.headerTitle,
1790
1790
  children: "Top Up Account Balance"
1791
1791
  }
1792
1792
  ),
@@ -1795,7 +1795,7 @@ const Gl = ({ adaptiveStyles: e }) => {
1795
1795
  {
1796
1796
  name: "X",
1797
1797
  onClick: w,
1798
- className: Se.closeIcon,
1798
+ className: Ne.closeIcon,
1799
1799
  hoverable: !0,
1800
1800
  fill: "var(--text-primary)"
1801
1801
  }
@@ -1805,9 +1805,9 @@ const Gl = ({ adaptiveStyles: e }) => {
1805
1805
  "form",
1806
1806
  {
1807
1807
  onSubmit: T,
1808
- className: Se.form,
1808
+ className: Ne.form,
1809
1809
  children: [
1810
- /* @__PURE__ */ b("label", { className: Se.label, children: [
1810
+ /* @__PURE__ */ b("label", { className: Ne.label, children: [
1811
1811
  /* @__PURE__ */ o(
1812
1812
  Tn,
1813
1813
  {
@@ -1819,26 +1819,26 @@ const Gl = ({ adaptiveStyles: e }) => {
1819
1819
  required: !0
1820
1820
  }
1821
1821
  ),
1822
- r.amount && /* @__PURE__ */ o("span", { className: Se.error, children: r.amount })
1822
+ r.amount && /* @__PURE__ */ o("span", { className: Ne.error, children: r.amount })
1823
1823
  ] }),
1824
1824
  S && D !== void 0 && /* @__PURE__ */ o(Gh, { enterAnother: D, bonusPercent: P, currency: I, isAntistock: s }),
1825
- c && /* @__PURE__ */ o("div", { className: Se.gatewayList, children: c.length > 0 ? c.map((F) => /* @__PURE__ */ b(
1825
+ c && /* @__PURE__ */ o("div", { className: Ne.gatewayList, children: c.length > 0 ? c.map((F) => /* @__PURE__ */ b(
1826
1826
  "div",
1827
1827
  {
1828
- className: J(Se.gatewayButton, {
1829
- [Se.selected]: t.gateway === F.name
1828
+ className: J(Ne.gatewayButton, {
1829
+ [Ne.selected]: t.gateway === F.name
1830
1830
  }),
1831
1831
  onClick: () => n((R) => ({ ...R, gateway: F.name })),
1832
1832
  children: [
1833
- F.name === "ForebitPayments" ? /* @__PURE__ */ o("div", { className: Se.gatewayIcon, children: /* @__PURE__ */ o(Kl, {}) }) : /* @__PURE__ */ o(
1833
+ F.name === "ForebitPayments" ? /* @__PURE__ */ o("div", { className: Ne.gatewayIcon, children: /* @__PURE__ */ o(Kl, {}) }) : /* @__PURE__ */ o(
1834
1834
  "img",
1835
1835
  {
1836
1836
  alt: F.displayName,
1837
1837
  src: kt(F.logoCfImageId, "100"),
1838
- className: Se.gatewayIcon
1838
+ className: Ne.gatewayIcon
1839
1839
  }
1840
1840
  ),
1841
- /* @__PURE__ */ o("div", { className: Se.gatewayName, children: F.displayName })
1841
+ /* @__PURE__ */ o("div", { className: Ne.gatewayName, children: F.displayName })
1842
1842
  ]
1843
1843
  },
1844
1844
  F.name
@@ -1866,13 +1866,13 @@ const Gl = ({ adaptiveStyles: e }) => {
1866
1866
  )
1867
1867
  }
1868
1868
  )),
1869
- r.gateway && /* @__PURE__ */ o("span", { className: Se.error, children: r.gateway }),
1869
+ r.gateway && /* @__PURE__ */ o("span", { className: Ne.error, children: r.gateway }),
1870
1870
  /* @__PURE__ */ o(
1871
1871
  ee,
1872
1872
  {
1873
1873
  type: "Primary",
1874
1874
  disabled: !t.gateway || a,
1875
- className: Se.submitButton,
1875
+ className: Ne.submitButton,
1876
1876
  children: "Continue to Checkout"
1877
1877
  }
1878
1878
  ),
@@ -1920,23 +1920,23 @@ const Gl = ({ adaptiveStyles: e }) => {
1920
1920
  return /* @__PURE__ */ b(
1921
1921
  "div",
1922
1922
  {
1923
- className: Se.transactionItem,
1923
+ className: Ne.transactionItem,
1924
1924
  children: [
1925
- /* @__PURE__ */ b("div", { className: Se.transactionDetails, children: [
1925
+ /* @__PURE__ */ b("div", { className: Ne.transactionDetails, children: [
1926
1926
  /* @__PURE__ */ o(
1927
1927
  H,
1928
1928
  {
1929
- className: Se.iconWrapper,
1929
+ className: Ne.iconWrapper,
1930
1930
  name: S === bu.ADDED ? "Plus" : "Minus",
1931
1931
  width: 20,
1932
1932
  height: 20
1933
1933
  }
1934
1934
  ),
1935
- /* @__PURE__ */ b("div", { className: Se.transactionInfo, children: [
1935
+ /* @__PURE__ */ b("div", { className: Ne.transactionInfo, children: [
1936
1936
  /* @__PURE__ */ o(
1937
1937
  "div",
1938
1938
  {
1939
- className: Se.transactionTitle,
1939
+ className: Ne.transactionTitle,
1940
1940
  id: "h4",
1941
1941
  children: P
1942
1942
  }
@@ -1944,7 +1944,7 @@ const Gl = ({ adaptiveStyles: e }) => {
1944
1944
  /* @__PURE__ */ b(
1945
1945
  "div",
1946
1946
  {
1947
- className: Se.transactionId,
1947
+ className: Ne.transactionId,
1948
1948
  id: "md",
1949
1949
  children: [
1950
1950
  "ID: ",
@@ -1957,9 +1957,9 @@ const Gl = ({ adaptiveStyles: e }) => {
1957
1957
  /* @__PURE__ */ b(
1958
1958
  "div",
1959
1959
  {
1960
- className: J(Se.transactionAmount, {
1961
- [Se.added]: S === bu.ADDED,
1962
- [Se.removed]: S === bu.REMOVED
1960
+ className: J(Ne.transactionAmount, {
1961
+ [Ne.added]: S === bu.ADDED,
1962
+ [Ne.removed]: S === bu.REMOVED
1963
1963
  }),
1964
1964
  id: "lg",
1965
1965
  children: [
@@ -1976,8 +1976,8 @@ const Gl = ({ adaptiveStyles: e }) => {
1976
1976
  }, C = () => {
1977
1977
  if (e != null && e.length) {
1978
1978
  const w = _(e, p);
1979
- return /* @__PURE__ */ b("div", { className: Se.transactionsContainer, children: [
1980
- /* @__PURE__ */ o("div", { className: Se.transactionsContent, children: Object.entries(w).map(([I, S]) => /* @__PURE__ */ b(
1979
+ return /* @__PURE__ */ b("div", { className: Ne.transactionsContainer, children: [
1980
+ /* @__PURE__ */ o("div", { className: Ne.transactionsContent, children: Object.entries(w).map(([I, S]) => /* @__PURE__ */ b(
1981
1981
  "div",
1982
1982
  {
1983
1983
  id: "lg",
@@ -1985,7 +1985,7 @@ const Gl = ({ adaptiveStyles: e }) => {
1985
1985
  /* @__PURE__ */ o(
1986
1986
  "div",
1987
1987
  {
1988
- className: Se.transactionDate,
1988
+ className: Ne.transactionDate,
1989
1989
  id: "md",
1990
1990
  children: I
1991
1991
  }
@@ -1998,7 +1998,7 @@ const Gl = ({ adaptiveStyles: e }) => {
1998
1998
  /* @__PURE__ */ o(
1999
1999
  $a,
2000
2000
  {
2001
- className: Se.pagination,
2001
+ className: Ne.pagination,
2002
2002
  currentPage: i,
2003
2003
  totalCount: f,
2004
2004
  onPageChange: s
@@ -2011,7 +2011,7 @@ const Gl = ({ adaptiveStyles: e }) => {
2011
2011
  {
2012
2012
  title: "Transaction History",
2013
2013
  description: "When you top up your account balance or receive a refund from our team, you'll see a history of transactions here.",
2014
- className: Se.noItemsBlock
2014
+ className: Ne.noItemsBlock
2015
2015
  }
2016
2016
  );
2017
2017
  }, x = () => {
@@ -2020,12 +2020,12 @@ const Gl = ({ adaptiveStyles: e }) => {
2020
2020
  a(!1), c(!1);
2021
2021
  };
2022
2022
  return /* @__PURE__ */ b(ze, { children: [
2023
- (n == null ? void 0 : n.isEnabled) && /* @__PURE__ */ o("div", { className: Se.balanceContainer, children: /* @__PURE__ */ b("div", { className: Se.balanceHeader, children: [
2024
- r && /* @__PURE__ */ b("div", { className: Se.balanceAmount, children: [
2023
+ (n == null ? void 0 : n.isEnabled) && /* @__PURE__ */ o("div", { className: Ne.balanceContainer, children: /* @__PURE__ */ b("div", { className: Ne.balanceHeader, children: [
2024
+ r && /* @__PURE__ */ b("div", { className: Ne.balanceAmount, children: [
2025
2025
  /* @__PURE__ */ o(
2026
2026
  "span",
2027
2027
  {
2028
- className: Se.balanceAmountTitle,
2028
+ className: Ne.balanceAmountTitle,
2029
2029
  id: "lg",
2030
2030
  children: "Your balance"
2031
2031
  }
@@ -2033,7 +2033,7 @@ const Gl = ({ adaptiveStyles: e }) => {
2033
2033
  /* @__PURE__ */ o(
2034
2034
  "span",
2035
2035
  {
2036
- className: Se.balanceAmountValue,
2036
+ className: Ne.balanceAmountValue,
2037
2037
  id: "h4",
2038
2038
  children: Ye(r)
2039
2039
  }
@@ -2045,7 +2045,7 @@ const Gl = ({ adaptiveStyles: e }) => {
2045
2045
  onClick: (w) => {
2046
2046
  w.stopPropagation(), x();
2047
2047
  },
2048
- className: Se.addBalanceButton,
2048
+ className: Ne.addBalanceButton,
2049
2049
  children: [
2050
2050
  /* @__PURE__ */ o(H, { name: "Plus" }),
2051
2051
  /* @__PURE__ */ o("span", { children: "Add balance" })
@@ -2053,7 +2053,7 @@ const Gl = ({ adaptiveStyles: e }) => {
2053
2053
  }
2054
2054
  )
2055
2055
  ] }) }),
2056
- /* @__PURE__ */ b("div", { className: Se.transactionsHeader, children: [
2056
+ /* @__PURE__ */ b("div", { className: Ne.transactionsHeader, children: [
2057
2057
  (e == null ? void 0 : e.length) > 0 ? /* @__PURE__ */ o(Ms, { title: "Transactions" }) : null,
2058
2058
  (e == null ? void 0 : e.length) > 0 && /* @__PURE__ */ o(
2059
2059
  Ea,
@@ -2067,7 +2067,7 @@ const Gl = ({ adaptiveStyles: e }) => {
2067
2067
  }
2068
2068
  )
2069
2069
  ] }),
2070
- l ? /* @__PURE__ */ o("div", { className: Se.loaderContainer, children: /* @__PURE__ */ o(_t, {}) }) : /* @__PURE__ */ o("div", { children: C() }),
2070
+ l ? /* @__PURE__ */ o("div", { className: Ne.loaderContainer, children: /* @__PURE__ */ o(_t, {}) }) : /* @__PURE__ */ o("div", { children: C() }),
2071
2071
  u && (n == null ? void 0 : n.isEnabled) && /* @__PURE__ */ o(
2072
2072
  Ft,
2073
2073
  {
@@ -2343,7 +2343,7 @@ const Gl = ({ adaptiveStyles: e }) => {
2343
2343
  {
2344
2344
  message: "Reward claimed successfully",
2345
2345
  status: "success",
2346
- id: De()
2346
+ id: we()
2347
2347
  }
2348
2348
  ]);
2349
2349
  const f = await vs();
@@ -2354,7 +2354,7 @@ const Gl = ({ adaptiveStyles: e }) => {
2354
2354
  {
2355
2355
  message: "Failed to claim reward",
2356
2356
  status: "error",
2357
- id: De()
2357
+ id: we()
2358
2358
  }
2359
2359
  ]);
2360
2360
  }
@@ -2671,7 +2671,7 @@ const Gl = ({ adaptiveStyles: e }) => {
2671
2671
  jsonNumber: ip,
2672
2672
  jsonBoolean: sp,
2673
2673
  endpointDescriptionList: op
2674
- }, ii = "Balance", cr = {
2674
+ }, ii = "Balance", Xn = {
2675
2675
  Number: "NUMBER",
2676
2676
  Textarea: "LARGE_TEXT",
2677
2677
  Checkbox: "CHECK_BOX",
@@ -2810,7 +2810,7 @@ const Gl = ({ adaptiveStyles: e }) => {
2810
2810
  {
2811
2811
  message: "There should be a gateway for the coupon",
2812
2812
  status: "error",
2813
- id: De()
2813
+ id: we()
2814
2814
  }
2815
2815
  ]));
2816
2816
  const I = x.map((B) => B.productId);
@@ -2826,7 +2826,7 @@ const Gl = ({ adaptiveStyles: e }) => {
2826
2826
  {
2827
2827
  message: "Coupon is applied",
2828
2828
  status: "success",
2829
- id: De()
2829
+ id: we()
2830
2830
  }
2831
2831
  ]), i((U) => ({ ...U, coupon: _ }));
2832
2832
  } catch (B) {
@@ -2836,7 +2836,7 @@ const Gl = ({ adaptiveStyles: e }) => {
2836
2836
  {
2837
2837
  message: `Coupon is not applied: ${U.message}`,
2838
2838
  status: "error",
2839
- id: De()
2839
+ id: we()
2840
2840
  }
2841
2841
  ]), i((D) => ({ ...D, coupon: null })), c(null), h(!1);
2842
2842
  }
@@ -2971,7 +2971,7 @@ const Gl = ({ adaptiveStyles: e }) => {
2971
2971
  {
2972
2972
  message: `Failed to create order: ${w.message}`,
2973
2973
  status: "error",
2974
- id: De()
2974
+ id: we()
2975
2975
  }
2976
2976
  ]);
2977
2977
  }
@@ -3005,7 +3005,7 @@ const Gl = ({ adaptiveStyles: e }) => {
3005
3005
  {
3006
3006
  status: "success",
3007
3007
  message: "Successfully copied",
3008
- id: De()
3008
+ id: we()
3009
3009
  }
3010
3010
  ]);
3011
3011
  };
@@ -3070,7 +3070,7 @@ const Gl = ({ adaptiveStyles: e }) => {
3070
3070
  E && (c(E), r([
3071
3071
  ...n,
3072
3072
  {
3073
- id: De(),
3073
+ id: we(),
3074
3074
  message: "API key has been successfully regenerated.",
3075
3075
  status: "success"
3076
3076
  }
@@ -3079,7 +3079,7 @@ const Gl = ({ adaptiveStyles: e }) => {
3079
3079
  r([
3080
3080
  ...n,
3081
3081
  {
3082
- id: De(),
3082
+ id: we(),
3083
3083
  message: Ee.message ?? "Failed to regenerate API Key.",
3084
3084
  status: "error"
3085
3085
  }
@@ -4283,7 +4283,7 @@ const Vp = Bp(Up, {
4283
4283
  {
4284
4284
  message: "[ReCAPTCHA] executeRecaptcha called before ref is ready",
4285
4285
  status: "error",
4286
- id: De()
4286
+ id: we()
4287
4287
  }
4288
4288
  ]), null;
4289
4289
  const i = await t.current.executeAsync();
@@ -4292,7 +4292,7 @@ const Vp = Bp(Up, {
4292
4292
  {
4293
4293
  message: "[ReCAPTCHA] Received empty token",
4294
4294
  status: "error",
4295
- id: De()
4295
+ id: we()
4296
4296
  }
4297
4297
  ]), null);
4298
4298
  } catch {
@@ -4301,7 +4301,7 @@ const Vp = Bp(Up, {
4301
4301
  {
4302
4302
  message: "[ReCAPTCHA] executeRecaptcha error",
4303
4303
  status: "error",
4304
- id: De()
4304
+ id: we()
4305
4305
  }
4306
4306
  ]), null;
4307
4307
  }
@@ -4427,8 +4427,8 @@ var n6 = be.createContext({}), C0 = be.forwardRef((e, t) => {
4427
4427
  }
4428
4428
  et !== -1 && M !== -1 && et !== M && X.current.setSelectionRange(et, M, Y);
4429
4429
  }
4430
- let pe = et !== -1 ? et : ne, ve = M !== -1 ? M : _e, qe = Y ?? Dt;
4431
- re(pe), te(ve), ie.current.prev = [pe, ve, qe];
4430
+ let pe = et !== -1 ? et : ne, De = M !== -1 ? M : _e, qe = Y ?? Dt;
4431
+ re(pe), te(De), ie.current.prev = [pe, De, qe];
4432
4432
  }
4433
4433
  if (document.addEventListener("selectionchange", ct, { capture: !0 }), ct(), document.activeElement === le && E(!0), !document.getElementById("input-otp-style")) {
4434
4434
  let ne = document.createElement("style");
@@ -4437,22 +4437,22 @@ var n6 = be.createContext({}), C0 = be.forwardRef((e, t) => {
4437
4437
  lu(ne.sheet, "[data-input-otp]::selection { background: transparent !important; color: transparent !important; }"), lu(ne.sheet, `[data-input-otp]:autofill { ${_e} }`), lu(ne.sheet, `[data-input-otp]:-webkit-autofill { ${_e} }`), lu(ne.sheet, "@supports (-webkit-touch-callout: none) { [data-input-otp] { letter-spacing: -.6em !important; font-weight: 100 !important; font-stretch: ultra-condensed; font-optical-sizing: none !important; left: -1px !important; right: 1px !important; } }"), lu(ne.sheet, "[data-input-otp] + * { pointer-events: all !important; }");
4438
4438
  }
4439
4439
  }
4440
- let xe = () => {
4440
+ let ke = () => {
4441
4441
  ge && ge.style.setProperty("--root-height", `${le.clientHeight}px`);
4442
4442
  };
4443
- xe();
4444
- let Le = new ResizeObserver(xe);
4445
- return Le.observe(le), () => {
4446
- document.removeEventListener("selectionchange", ct, { capture: !0 }), Le.disconnect();
4443
+ ke();
4444
+ let Se = new ResizeObserver(ke);
4445
+ return Se.observe(le), () => {
4446
+ document.removeEventListener("selectionchange", ct, { capture: !0 }), Se.disconnect();
4447
4447
  };
4448
4448
  }, []);
4449
4449
  let [se, oe] = be.useState(!1), [Ee, E] = be.useState(!1), [V, re] = be.useState(null), [N, te] = be.useState(null);
4450
4450
  be.useEffect(() => {
4451
4451
  Xp(() => {
4452
- var le, ge, ct, xe;
4452
+ var le, ge, ct, ke;
4453
4453
  (le = X.current) == null || le.dispatchEvent(new Event("input"));
4454
- let Le = (ge = X.current) == null ? void 0 : ge.selectionStart, ne = (ct = X.current) == null ? void 0 : ct.selectionEnd, _e = (xe = X.current) == null ? void 0 : xe.selectionDirection;
4455
- Le !== null && ne !== null && (re(Le), te(ne), ie.current.prev = [Le, ne, _e]);
4454
+ let Se = (ge = X.current) == null ? void 0 : ge.selectionStart, ne = (ct = X.current) == null ? void 0 : ct.selectionEnd, _e = (ke = X.current) == null ? void 0 : ke.selectionDirection;
4455
+ Se !== null && ne !== null && (re(Se), te(ne), ie.current.prev = [Se, ne, _e]);
4456
4456
  });
4457
4457
  }, [U, Ee]), be.useEffect(() => {
4458
4458
  D !== void 0 && U !== D && D.length < a && U.length === a && (h == null || h(U));
@@ -4473,15 +4473,15 @@ var n6 = be.createContext({}), C0 = be.forwardRef((e, t) => {
4473
4473
  E(!0);
4474
4474
  }, [a]), fe = be.useCallback((le) => {
4475
4475
  var ge, ct;
4476
- let xe = X.current;
4477
- if (!m && (!K.current.isIOS || !le.clipboardData || !xe)) return;
4478
- let Le = le.clipboardData.getData("text/plain"), ne = m ? m(Le) : Le;
4476
+ let ke = X.current;
4477
+ if (!m && (!K.current.isIOS || !le.clipboardData || !ke)) return;
4478
+ let Se = le.clipboardData.getData("text/plain"), ne = m ? m(Se) : Se;
4479
4479
  le.preventDefault();
4480
4480
  let _e = (ge = X.current) == null ? void 0 : ge.selectionStart, Dt = (ct = X.current) == null ? void 0 : ct.selectionEnd, Lt = (_e !== Dt ? U.slice(0, _e) + ne + U.slice(Dt) : U.slice(0, _e) + ne + U.slice(_e)).slice(0, a);
4481
4481
  if (Lt.length > 0 && R && !R.test(Lt)) return;
4482
- xe.value = Lt, F(Lt);
4482
+ ke.value = Lt, F(Lt);
4483
4483
  let pn = Math.min(Lt.length, a - 1), Zt = Lt.length;
4484
- xe.setSelectionRange(pn, Zt), re(pn), te(Zt);
4484
+ ke.setSelectionRange(pn, Zt), re(pn), te(Zt);
4485
4485
  }, [a, F, R, U]), ce = be.useMemo(() => ({ position: "relative", cursor: C.disabled ? "default" : "text", userSelect: "none", WebkitUserSelect: "none", pointerEvents: "none" }), [C.disabled]), Te = be.useMemo(() => ({ position: "absolute", inset: 0, width: ue.willPushPWMBadge ? `calc(100% + ${ue.PWM_BADGE_SPACE_WIDTH})` : "100%", clipPath: ue.willPushPWMBadge ? `inset(0 ${ue.PWM_BADGE_SPACE_WIDTH} 0 0)` : void 0, height: "100%", display: "flex", textAlign: i, opacity: "1", color: "transparent", pointerEvents: "all", background: "transparent", caretColor: "transparent", border: "0 solid transparent", outline: "0 solid transparent", boxShadow: "none", lineHeight: "1", letterSpacing: "-.5em", fontSize: "var(--root-height)", fontFamily: "monospace", fontVariantNumeric: "tabular-nums" }), [ue.PWM_BADGE_SPACE_WIDTH, ue.willPushPWMBadge, i]), tt = be.useMemo(() => be.createElement("input", jp(Yp({ autoComplete: C.autoComplete || "one-time-code" }, C), { "data-input-otp": !0, "data-input-otp-placeholder-shown": U.length === 0 || void 0, "data-input-otp-mss": V, "data-input-otp-mse": N, inputMode: l, pattern: R == null ? void 0 : R.source, "aria-placeholder": c, style: Te, maxLength: a, value: U, ref: X, onPaste: (le) => {
4486
4486
  var ge;
4487
4487
  fe(le), (ge = C.onPaste) == null || ge.call(C, le);
@@ -4499,8 +4499,8 @@ var n6 = be.createContext({}), C0 = be.forwardRef((e, t) => {
4499
4499
  E(!1), (ge = C.onBlur) == null || ge.call(C, le);
4500
4500
  } })), [Q, he, fe, l, Te, a, N, V, C, R == null ? void 0 : R.source, U]), G = be.useMemo(() => ({ slots: Array.from({ length: a }).map((le, ge) => {
4501
4501
  var ct;
4502
- let xe = Ee && V !== null && N !== null && (V === N && ge === V || ge >= V && ge < N), Le = U[ge] !== void 0 ? U[ge] : null, ne = U[0] !== void 0 ? null : (ct = c == null ? void 0 : c[ge]) != null ? ct : null;
4503
- return { char: Le, placeholderChar: ne, isActive: xe, hasFakeCaret: xe && Le === null };
4502
+ let ke = Ee && V !== null && N !== null && (V === N && ge === V || ge >= V && ge < N), Se = U[ge] !== void 0 ? U[ge] : null, ne = U[0] !== void 0 ? null : (ct = c == null ? void 0 : c[ge]) != null ? ct : null;
4503
+ return { char: Se, placeholderChar: ne, isActive: ke, hasFakeCaret: ke && Se === null };
4504
4504
  }), isFocused: Ee, isHovering: !C.disabled && se }), [Ee, se, a, N, V, C.disabled, U]), wt = be.useMemo(() => _ ? _(G) : be.createElement(n6.Provider, { value: G }, y), [y, G, _]);
4505
4505
  return be.createElement(be.Fragment, null, g !== null && be.createElement("noscript", null, be.createElement("style", null, g)), be.createElement("div", { ref: j, "data-input-otp-container": !0, style: ce, className: p }, wt, be.createElement("div", { style: { position: "absolute", inset: 0, pointerEvents: "none" } }, tt)));
4506
4506
  });
@@ -4843,7 +4843,7 @@ const w6 = () => typeof dt > "u" ? (console.warn("Routes not available for Route
4843
4843
  )
4844
4844
  }
4845
4845
  ) : /* @__PURE__ */ o(Va, {});
4846
- }, P6 = () => /* @__PURE__ */ o(m0, { children: /* @__PURE__ */ o(L6, {}) }), R6 = "_referralBlock_kla2r_2", M6 = "_skeleton_kla2r_3", O6 = "_mobile_kla2r_13", F6 = "_referralContainer_kla2r_18", B6 = "_title_kla2r_30", H6 = "_description_kla2r_36", U6 = "_linkContainer_kla2r_56", V6 = "_modalContainer_kla2r_77", $6 = "_steps_kla2r_86", z6 = "_joinButton_kla2r_92", q6 = "_stepItem_kla2r_97", Z6 = "_iconContainer_kla2r_103", W6 = "_index_kla2r_111", Y6 = "_bar_kla2r_123", j6 = "_content_kla2r_130", G6 = "_caption_kla2r_135", X6 = "_descriptionStep_kla2r_141", K6 = "_error_kla2r_151", Q6 = "_infoBlock_kla2r_155", J6 = "_infoIcon_kla2r_164", e5 = "_infoText_kla2r_173", t5 = "_actions_kla2r_178", n5 = "_cancelButton_kla2r_183", r5 = "_referralStats_kla2r_187", u5 = "_referralInfo_kla2r_204", a5 = "_referralStatsItem_kla2r_210", i5 = "_referralStatsItemValue_kla2r_220", s5 = "_referralStatsItemLabel_kla2r_225", o5 = "_referral_kla2r_2", c5 = "_header_kla2r_244", l5 = "_contentModal_kla2r_254", ke = {
4846
+ }, P6 = () => /* @__PURE__ */ o(m0, { children: /* @__PURE__ */ o(L6, {}) }), R6 = "_referralBlock_kla2r_2", M6 = "_skeleton_kla2r_3", O6 = "_mobile_kla2r_13", F6 = "_referralContainer_kla2r_18", B6 = "_title_kla2r_30", H6 = "_description_kla2r_36", U6 = "_linkContainer_kla2r_56", V6 = "_modalContainer_kla2r_77", $6 = "_steps_kla2r_86", z6 = "_joinButton_kla2r_92", q6 = "_stepItem_kla2r_97", Z6 = "_iconContainer_kla2r_103", W6 = "_index_kla2r_111", Y6 = "_bar_kla2r_123", j6 = "_content_kla2r_130", G6 = "_caption_kla2r_135", X6 = "_descriptionStep_kla2r_141", K6 = "_error_kla2r_151", Q6 = "_infoBlock_kla2r_155", J6 = "_infoIcon_kla2r_164", e5 = "_infoText_kla2r_173", t5 = "_actions_kla2r_178", n5 = "_cancelButton_kla2r_183", r5 = "_referralStats_kla2r_187", u5 = "_referralInfo_kla2r_204", a5 = "_referralStatsItem_kla2r_210", i5 = "_referralStatsItemValue_kla2r_220", s5 = "_referralStatsItemLabel_kla2r_225", o5 = "_referral_kla2r_2", c5 = "_header_kla2r_244", l5 = "_contentModal_kla2r_254", xe = {
4847
4847
  referralBlock: R6,
4848
4848
  skeleton: M6,
4849
4849
  mobile: O6,
@@ -4875,14 +4875,14 @@ const w6 = () => typeof dt > "u" ? (console.warn("Routes not available for Route
4875
4875
  referral: o5,
4876
4876
  header: c5,
4877
4877
  contentModal: l5
4878
- }, d5 = ({ caption: e, description: t, index: n, bar: r = !0 }) => /* @__PURE__ */ b("div", { className: ke.stepItem, children: [
4879
- /* @__PURE__ */ b("div", { className: ke.iconContainer, children: [
4880
- /* @__PURE__ */ o("div", { className: ke.index, children: n }),
4881
- r && /* @__PURE__ */ o("div", { className: ke.bar })
4878
+ }, d5 = ({ caption: e, description: t, index: n, bar: r = !0 }) => /* @__PURE__ */ b("div", { className: xe.stepItem, children: [
4879
+ /* @__PURE__ */ b("div", { className: xe.iconContainer, children: [
4880
+ /* @__PURE__ */ o("div", { className: xe.index, children: n }),
4881
+ r && /* @__PURE__ */ o("div", { className: xe.bar })
4882
4882
  ] }),
4883
- /* @__PURE__ */ b("div", { className: ke.content, children: [
4884
- /* @__PURE__ */ o("div", { className: ke.caption, children: e }),
4885
- /* @__PURE__ */ o("div", { className: ke.descriptionStep, children: t })
4883
+ /* @__PURE__ */ b("div", { className: xe.content, children: [
4884
+ /* @__PURE__ */ o("div", { className: xe.caption, children: e }),
4885
+ /* @__PURE__ */ o("div", { className: xe.descriptionStep, children: t })
4886
4886
  ] })
4887
4887
  ] }), f5 = ({ setIsOpen: e, setIsLoading: t }) => {
4888
4888
  const [n, r] = $.useState(""), [u, a] = $.useState(""), { notifications: i, setNotifications: s } = vt(), { setIsOpen: c } = Je(), l = async (f) => {
@@ -4897,7 +4897,7 @@ const w6 = () => typeof dt > "u" ? (console.warn("Routes not available for Route
4897
4897
  {
4898
4898
  message: "Referral Code has been applied",
4899
4899
  status: "success",
4900
- id: De()
4900
+ id: we()
4901
4901
  }
4902
4902
  ]);
4903
4903
  } catch (m) {
@@ -4907,7 +4907,7 @@ const w6 = () => typeof dt > "u" ? (console.warn("Routes not available for Route
4907
4907
  {
4908
4908
  message: p.message,
4909
4909
  status: "error",
4910
- id: De()
4910
+ id: we()
4911
4911
  }
4912
4912
  ]);
4913
4913
  }
@@ -4921,9 +4921,9 @@ const w6 = () => typeof dt > "u" ? (console.warn("Routes not available for Route
4921
4921
  "div",
4922
4922
  {
4923
4923
  onClick: (f) => f.stopPropagation(),
4924
- className: ke.modalContainer,
4924
+ className: xe.modalContainer,
4925
4925
  children: [
4926
- /* @__PURE__ */ b("div", { className: ke.header, children: [
4926
+ /* @__PURE__ */ b("div", { className: xe.header, children: [
4927
4927
  /* @__PURE__ */ o("div", { id: "h3", children: "Create an affiliate code" }),
4928
4928
  /* @__PURE__ */ o(
4929
4929
  H,
@@ -4935,7 +4935,7 @@ const w6 = () => typeof dt > "u" ? (console.warn("Routes not available for Route
4935
4935
  }
4936
4936
  )
4937
4937
  ] }),
4938
- /* @__PURE__ */ b("div", { className: ke.contentModal, children: [
4938
+ /* @__PURE__ */ b("div", { className: xe.contentModal, children: [
4939
4939
  /* @__PURE__ */ o(
4940
4940
  Tn,
4941
4941
  {
@@ -4945,17 +4945,17 @@ const w6 = () => typeof dt > "u" ? (console.warn("Routes not available for Route
4945
4945
  label: "Affiliate Code"
4946
4946
  }
4947
4947
  ),
4948
- u && /* @__PURE__ */ o("div", { className: ke.error, children: u }),
4949
- /* @__PURE__ */ b("div", { className: ke.infoBlock, children: [
4950
- /* @__PURE__ */ o("div", { className: ke.infoIcon, children: /* @__PURE__ */ o(H, { name: "Info" }) }),
4951
- /* @__PURE__ */ o("div", { className: ke.infoText, children: "Once you join our referral program, you'll gain access to special deals, rewards, and potentially earn a percentage (%) of revenue." })
4948
+ u && /* @__PURE__ */ o("div", { className: xe.error, children: u }),
4949
+ /* @__PURE__ */ b("div", { className: xe.infoBlock, children: [
4950
+ /* @__PURE__ */ o("div", { className: xe.infoIcon, children: /* @__PURE__ */ o(H, { name: "Info" }) }),
4951
+ /* @__PURE__ */ o("div", { className: xe.infoText, children: "Once you join our referral program, you'll gain access to special deals, rewards, and potentially earn a percentage (%) of revenue." })
4952
4952
  ] }),
4953
- /* @__PURE__ */ b("div", { className: ke.actions, children: [
4953
+ /* @__PURE__ */ b("div", { className: xe.actions, children: [
4954
4954
  /* @__PURE__ */ o(
4955
4955
  ee,
4956
4956
  {
4957
4957
  type: "Secondary",
4958
- className: ke.cancelButton,
4958
+ className: xe.cancelButton,
4959
4959
  onClick: h,
4960
4960
  children: "Cancel"
4961
4961
  }
@@ -5120,29 +5120,29 @@ const w6 = () => typeof dt > "u" ? (console.warn("Routes not available for Route
5120
5120
  /* @__PURE__ */ b(
5121
5121
  "div",
5122
5122
  {
5123
- className: J(ke.referral, {
5124
- [ke.mobile]: e !== "desktop"
5123
+ className: J(xe.referral, {
5124
+ [xe.mobile]: e !== "desktop"
5125
5125
  }),
5126
5126
  children: [
5127
5127
  /* @__PURE__ */ o(
5128
5128
  "div",
5129
5129
  {
5130
- className: J(ke.referralBlock, {
5131
- [ke.mobile]: e !== "desktop"
5130
+ className: J(xe.referralBlock, {
5131
+ [xe.mobile]: e !== "desktop"
5132
5132
  }),
5133
- children: r ? /* @__PURE__ */ o(S0, { adaptiveStyles: e }) : /* @__PURE__ */ b("div", { className: ke.referralContainer, children: [
5133
+ children: r ? /* @__PURE__ */ o(S0, { adaptiveStyles: e }) : /* @__PURE__ */ b("div", { className: xe.referralContainer, children: [
5134
5134
  /* @__PURE__ */ o(
5135
5135
  "div",
5136
5136
  {
5137
5137
  id: "h2",
5138
- className: ke.title,
5138
+ className: xe.title,
5139
5139
  children: "Refer friends"
5140
5140
  }
5141
5141
  ),
5142
5142
  /* @__PURE__ */ o(
5143
5143
  "div",
5144
5144
  {
5145
- className: ke.description,
5145
+ className: xe.description,
5146
5146
  id: "lg",
5147
5147
  children: "Refer friends. Earn rewards. Make bank."
5148
5148
  }
@@ -5151,19 +5151,19 @@ const w6 = () => typeof dt > "u" ? (console.warn("Routes not available for Route
5151
5151
  ] })
5152
5152
  }
5153
5153
  ),
5154
- a ? /* @__PURE__ */ o("div", { className: ke.referralStats }) : /* @__PURE__ */ b(
5154
+ a ? /* @__PURE__ */ o("div", { className: xe.referralStats }) : /* @__PURE__ */ b(
5155
5155
  "div",
5156
5156
  {
5157
- className: J(ke.referralStats, {
5158
- [ke.mobile]: e !== "desktop"
5157
+ className: J(xe.referralStats, {
5158
+ [xe.mobile]: e !== "desktop"
5159
5159
  }),
5160
5160
  children: [
5161
- /* @__PURE__ */ b("div", { className: ke.referralStatsItem, children: [
5161
+ /* @__PURE__ */ b("div", { className: xe.referralStatsItem, children: [
5162
5162
  /* @__PURE__ */ o(
5163
5163
  "div",
5164
5164
  {
5165
5165
  id: "lg",
5166
- className: ke.referralStatsItemLabel,
5166
+ className: xe.referralStatsItemLabel,
5167
5167
  children: "Referrals"
5168
5168
  }
5169
5169
  ),
@@ -5171,18 +5171,18 @@ const w6 = () => typeof dt > "u" ? (console.warn("Routes not available for Route
5171
5171
  "div",
5172
5172
  {
5173
5173
  id: "h2",
5174
- className: ke.referralStatsItemValue,
5174
+ className: xe.referralStatsItemValue,
5175
5175
  children: f != null && f.totalReferrals ? `${f.totalReferrals} person` : "-"
5176
5176
  }
5177
5177
  ),
5178
5178
  /* @__PURE__ */ o(Ju, {})
5179
5179
  ] }),
5180
- /* @__PURE__ */ b("div", { className: ke.referralStatsItem, children: [
5180
+ /* @__PURE__ */ b("div", { className: xe.referralStatsItem, children: [
5181
5181
  /* @__PURE__ */ o(
5182
5182
  "div",
5183
5183
  {
5184
5184
  id: "lg",
5185
- className: ke.referralStatsItemLabel,
5185
+ className: xe.referralStatsItemLabel,
5186
5186
  children: "Earned"
5187
5187
  }
5188
5188
  ),
@@ -5190,18 +5190,18 @@ const w6 = () => typeof dt > "u" ? (console.warn("Routes not available for Route
5190
5190
  "div",
5191
5191
  {
5192
5192
  id: "h2",
5193
- className: ke.referralStatsItemValue,
5193
+ className: xe.referralStatsItemValue,
5194
5194
  children: "-"
5195
5195
  }
5196
5196
  ),
5197
5197
  /* @__PURE__ */ o(Ju, {})
5198
5198
  ] }),
5199
- /* @__PURE__ */ b("div", { className: ke.referralStatsItem, children: [
5199
+ /* @__PURE__ */ b("div", { className: xe.referralStatsItem, children: [
5200
5200
  /* @__PURE__ */ o(
5201
5201
  "div",
5202
5202
  {
5203
5203
  id: "lg",
5204
- className: ke.referralStatsItemLabel,
5204
+ className: xe.referralStatsItemLabel,
5205
5205
  children: "Total Revenue"
5206
5206
  }
5207
5207
  ),
@@ -5209,18 +5209,18 @@ const w6 = () => typeof dt > "u" ? (console.warn("Routes not available for Route
5209
5209
  "div",
5210
5210
  {
5211
5211
  id: "h2",
5212
- className: ke.referralStatsItemValue,
5212
+ className: xe.referralStatsItemValue,
5213
5213
  children: Ye({ amount: (f == null ? void 0 : f.totalRevenueUsd) || 0 })
5214
5214
  }
5215
5215
  ),
5216
5216
  /* @__PURE__ */ o(Ju, {})
5217
5217
  ] }),
5218
- /* @__PURE__ */ b("div", { className: ke.referralStatsItem, children: [
5218
+ /* @__PURE__ */ b("div", { className: xe.referralStatsItem, children: [
5219
5219
  /* @__PURE__ */ o(
5220
5220
  "div",
5221
5221
  {
5222
5222
  id: "lg",
5223
- className: ke.referralStatsItemLabel,
5223
+ className: xe.referralStatsItemLabel,
5224
5224
  children: "Earn Procent"
5225
5225
  }
5226
5226
  ),
@@ -5228,7 +5228,7 @@ const w6 = () => typeof dt > "u" ? (console.warn("Routes not available for Route
5228
5228
  "div",
5229
5229
  {
5230
5230
  id: "h2",
5231
- className: ke.referralStatsItemValue,
5231
+ className: xe.referralStatsItemValue,
5232
5232
  children: `${t.data.earnPercent}%` || "-"
5233
5233
  }
5234
5234
  ),
@@ -5253,14 +5253,14 @@ const w6 = () => typeof dt > "u" ? (console.warn("Routes not available for Route
5253
5253
  return /* @__PURE__ */ b(
5254
5254
  "div",
5255
5255
  {
5256
- className: ke.steps,
5256
+ className: xe.steps,
5257
5257
  onClick: (n) => n.stopPropagation(),
5258
5258
  children: [
5259
5259
  /* @__PURE__ */ o(
5260
5260
  ee,
5261
5261
  {
5262
5262
  type: "Primary",
5263
- className: ke.joinButton,
5263
+ className: xe.joinButton,
5264
5264
  onClick: () => {
5265
5265
  e(!0), t(!0);
5266
5266
  },
@@ -5283,7 +5283,7 @@ const w6 = () => typeof dt > "u" ? (console.warn("Routes not available for Route
5283
5283
  }, I0 = ({ referral: e }) => {
5284
5284
  var a, i;
5285
5285
  const { shopDomain: t } = zt(), n = `https://${t}/?r=${(a = e.data.info) == null ? void 0 : a.referralCode}`, { notifications: r, setNotifications: u } = vt();
5286
- return /* @__PURE__ */ b("div", { className: ke.referralInfo, children: [
5286
+ return /* @__PURE__ */ b("div", { className: xe.referralInfo, children: [
5287
5287
  /* @__PURE__ */ o(
5288
5288
  Tn,
5289
5289
  {
@@ -5294,7 +5294,7 @@ const w6 = () => typeof dt > "u" ? (console.warn("Routes not available for Route
5294
5294
  disabled: !0
5295
5295
  }
5296
5296
  ),
5297
- /* @__PURE__ */ o("div", { className: ke.linkContainer, children: /* @__PURE__ */ o(
5297
+ /* @__PURE__ */ o("div", { className: xe.linkContainer, children: /* @__PURE__ */ o(
5298
5298
  Tn,
5299
5299
  {
5300
5300
  onChange: () => {
@@ -5313,7 +5313,7 @@ const w6 = () => typeof dt > "u" ? (console.warn("Routes not available for Route
5313
5313
  {
5314
5314
  message: "Link copied to clipboard",
5315
5315
  status: "success",
5316
- id: De()
5316
+ id: we()
5317
5317
  }
5318
5318
  ]);
5319
5319
  },
@@ -5332,8 +5332,8 @@ const w6 = () => typeof dt > "u" ? (console.warn("Routes not available for Route
5332
5332
  viewBox: "0 0 500 305",
5333
5333
  backgroundColor: "var(--surface-secondary)",
5334
5334
  foregroundColor: "var(--surface-disabled)",
5335
- className: J(ke.skeleton, {
5336
- [ke.mobile]: e !== "desktop"
5335
+ className: J(xe.skeleton, {
5336
+ [xe.mobile]: e !== "desktop"
5337
5337
  }),
5338
5338
  style: { borderRadius: "var(--border-radius)" },
5339
5339
  children: [
@@ -5460,7 +5460,7 @@ const w6 = () => typeof dt > "u" ? (console.warn("Routes not available for Route
5460
5460
  tableLoader: S5,
5461
5461
  tableItem: N5
5462
5462
  };
5463
- var Jn = /* @__PURE__ */ ((e) => (e[e.SUCCESS = 1] = "SUCCESS", e[e.WARNING = 2] = "WARNING", e[e.ERROR = 3] = "ERROR", e))(Jn || {});
5463
+ var er = /* @__PURE__ */ ((e) => (e[e.SUCCESS = 1] = "SUCCESS", e[e.WARNING = 2] = "WARNING", e[e.ERROR = 3] = "ERROR", e))(er || {});
5464
5464
  const v5 = {
5465
5465
  [ye.New]: 2,
5466
5466
  [ye.Pending]: 2,
@@ -5809,13 +5809,13 @@ const v5 = {
5809
5809
  ]
5810
5810
  }
5811
5811
  ), tm = {
5812
- [Jn.SUCCESS]: Q5,
5813
- [Jn.WARNING]: J5,
5814
- [Jn.ERROR]: em
5812
+ [er.SUCCESS]: Q5,
5813
+ [er.WARNING]: J5,
5814
+ [er.ERROR]: em
5815
5815
  }, nm = {
5816
- [Jn.SUCCESS]: Wr.statusIndicatorSuccess,
5817
- [Jn.WARNING]: Wr.statusIndicatorWarning,
5818
- [Jn.ERROR]: Wr.statusIndicatorError
5816
+ [er.SUCCESS]: Wr.statusIndicatorSuccess,
5817
+ [er.WARNING]: Wr.statusIndicatorWarning,
5818
+ [er.ERROR]: Wr.statusIndicatorError
5819
5819
  }, rm = (e) => {
5820
5820
  switch (e) {
5821
5821
  case "NEW":
@@ -5850,7 +5850,7 @@ const v5 = {
5850
5850
  return e;
5851
5851
  }, w0 = ({
5852
5852
  status: e,
5853
- variant: t = Jn.WARNING
5853
+ variant: t = er.WARNING
5854
5854
  }) => {
5855
5855
  const { isAntistock: n } = Re(), r = tm[t];
5856
5856
  return /* @__PURE__ */ b(
@@ -5880,7 +5880,7 @@ const v5 = {
5880
5880
  productsContainer: om,
5881
5881
  couponContainer: cm,
5882
5882
  checkoutFooter: lm
5883
- }, dm = "_checkoutFooter_sum4s_1", fm = "_antistock_sum4s_12", hm = "_footerBranding_sum4s_22", pm = "_poweredText_sum4s_27", mm = "_antistockLink_sum4s_31", gm = "_footerNav_sum4s_39", tr = {
5883
+ }, dm = "_checkoutFooter_sum4s_1", fm = "_antistock_sum4s_12", hm = "_footerBranding_sum4s_22", pm = "_poweredText_sum4s_27", mm = "_antistockLink_sum4s_31", gm = "_footerNav_sum4s_39", nr = {
5884
5884
  checkoutFooter: dm,
5885
5885
  antistock: fm,
5886
5886
  footerBranding: hm,
@@ -5892,13 +5892,13 @@ const v5 = {
5892
5892
  return /* @__PURE__ */ b(
5893
5893
  "footer",
5894
5894
  {
5895
- className: `${tr.checkoutFooter} ${e} ${a ? tr.antistock : ""}`,
5895
+ className: `${nr.checkoutFooter} ${e} ${a ? nr.antistock : ""}`,
5896
5896
  children: [
5897
- a && (i == null ? void 0 : i.showPoweredBy) && /* @__PURE__ */ b("div", { className: tr.footerBranding, children: [
5897
+ a && (i == null ? void 0 : i.showPoweredBy) && /* @__PURE__ */ b("div", { className: nr.footerBranding, children: [
5898
5898
  /* @__PURE__ */ o(
5899
5899
  "p",
5900
5900
  {
5901
- className: tr.poweredText,
5901
+ className: nr.poweredText,
5902
5902
  id: "md",
5903
5903
  style: { color: "var(--text-action)" },
5904
5904
  children: "Powered by"
@@ -5907,7 +5907,7 @@ const v5 = {
5907
5907
  /* @__PURE__ */ b(
5908
5908
  "a",
5909
5909
  {
5910
- className: tr.antistockLink,
5910
+ className: nr.antistockLink,
5911
5911
  href: "https://antistock.io",
5912
5912
  target: "_blank",
5913
5913
  rel: "noopener noreferrer",
@@ -5924,11 +5924,11 @@ const v5 = {
5924
5924
  }
5925
5925
  )
5926
5926
  ] }),
5927
- !a && /* @__PURE__ */ b("div", { className: tr.footerBranding, children: [
5927
+ !a && /* @__PURE__ */ b("div", { className: nr.footerBranding, children: [
5928
5928
  /* @__PURE__ */ o(
5929
5929
  "p",
5930
5930
  {
5931
- className: tr.poweredText,
5931
+ className: nr.poweredText,
5932
5932
  id: "md",
5933
5933
  children: "Powered by"
5934
5934
  }
@@ -5941,7 +5941,7 @@ const v5 = {
5941
5941
  }
5942
5942
  )
5943
5943
  ] }),
5944
- /* @__PURE__ */ o("nav", { children: /* @__PURE__ */ b("ul", { className: tr.footerNav, children: [
5944
+ /* @__PURE__ */ o("nav", { children: /* @__PURE__ */ b("ul", { className: nr.footerNav, children: [
5945
5945
  (t == null ? void 0 : t.showTermsOfServiceOnProduct) && !a && /* @__PURE__ */ o("li", { children: /* @__PURE__ */ o(
5946
5946
  "a",
5947
5947
  {
@@ -6579,7 +6579,7 @@ const v5 = {
6579
6579
  m([
6580
6580
  ...p,
6581
6581
  {
6582
- id: De(),
6582
+ id: we(),
6583
6583
  message: "Missing order information",
6584
6584
  status: "error"
6585
6585
  }
@@ -6592,7 +6592,7 @@ const v5 = {
6592
6592
  m([
6593
6593
  ...p,
6594
6594
  {
6595
- id: De(),
6595
+ id: we(),
6596
6596
  message: ((S = B.data) == null ? void 0 : S.message) || "Replacement request cancelled successfully",
6597
6597
  status: "success"
6598
6598
  }
@@ -6607,7 +6607,7 @@ const v5 = {
6607
6607
  m([
6608
6608
  ...p,
6609
6609
  {
6610
- id: De(),
6610
+ id: we(),
6611
6611
  message: U,
6612
6612
  status: "error",
6613
6613
  label: D
@@ -6622,7 +6622,7 @@ const v5 = {
6622
6622
  m([
6623
6623
  ...p,
6624
6624
  {
6625
- id: De(),
6625
+ id: we(),
6626
6626
  message: "No products to copy",
6627
6627
  status: "error"
6628
6628
  }
@@ -6637,7 +6637,7 @@ const v5 = {
6637
6637
  m([
6638
6638
  ...p,
6639
6639
  {
6640
- id: De(),
6640
+ id: we(),
6641
6641
  message: "Copied to clipboard",
6642
6642
  status: "success"
6643
6643
  }
@@ -6648,7 +6648,7 @@ const v5 = {
6648
6648
  m([
6649
6649
  ...p,
6650
6650
  {
6651
- id: De(),
6651
+ id: we(),
6652
6652
  message: "No products to download",
6653
6653
  status: "error"
6654
6654
  }
@@ -6895,15 +6895,15 @@ const v5 = {
6895
6895
  onSuccess: a,
6896
6896
  allowedReplacementReasons: i
6897
6897
  }) => {
6898
- const { isAntistock: s } = Re(), { setNotifications: c, notifications: l } = vt(), [h, f] = Ce(null), [m, p] = Ce((i == null ? void 0 : i[0]) || ""), [g, _] = Ce(""), [y, C] = Ce(""), [x, T] = Ce([]), [w, I] = Ce(!1), [S, P] = Ce({}), B = Qn(null), U = Qn(null), D = Qn(null), F = Xn(() => {
6898
+ const { isAntistock: s } = Re(), { setNotifications: c, notifications: l } = vt(), [h, f] = Ce(null), [m, p] = Ce((i == null ? void 0 : i[0]) || ""), [g, _] = Ce(""), [y, C] = Ce(""), [x, T] = Ce([]), [w, I] = Ce(!1), [S, P] = Ce({}), B = Jn(null), U = Jn(null), D = Jn(null), F = Kn(() => {
6899
6899
  var E;
6900
6900
  return ((E = n.deliveryCategories) == null ? void 0 : E.filter((V) => V.type === "SERIALS").flatMap((V) => V.deliveryItems)) || [];
6901
- }, [n.deliveryCategories]), R = Xn(() => n.replacementRequests ? new Set(
6901
+ }, [n.deliveryCategories]), R = Kn(() => n.replacementRequests ? new Set(
6902
6902
  n.replacementRequests.flatMap((E) => E.replacementItems || []).map((E) => E.originalSerialKey)
6903
- ) : /* @__PURE__ */ new Set(), [n.replacementRequests]), X = Xn(() => F.filter((E) => !R.has(E.serialKey)), [F, R]), j = Xn(() => new Vl(X, {
6903
+ ) : /* @__PURE__ */ new Set(), [n.replacementRequests]), X = Kn(() => F.filter((E) => !R.has(E.serialKey)), [F, R]), j = Kn(() => new Vl(X, {
6904
6904
  keys: ["serialKey"],
6905
6905
  threshold: 0.4
6906
- }), [X]), K = Xn(() => y.trim() ? j.search(y).map((E) => E.item) : X, [y, j, X]), ie = (E) => {
6906
+ }), [X]), K = Kn(() => y.trim() ? j.search(y).map((E) => E.item) : X, [y, j, X]), ie = (E) => {
6907
6907
  T((V) => V.includes(E) ? V.filter((re) => re !== E) : [...V, E]), S.selectedItems && P((V) => ({ ...V, selectedItems: void 0 }));
6908
6908
  }, se = () => {
6909
6909
  T([]), f(null), p((i == null ? void 0 : i[0]) || ""), _(""), C(""), P({});
@@ -6923,7 +6923,7 @@ const v5 = {
6923
6923
  c([
6924
6924
  ...l,
6925
6925
  {
6926
- id: De(),
6926
+ id: we(),
6927
6927
  message: "Missing order information",
6928
6928
  status: "error"
6929
6929
  }
@@ -6936,7 +6936,7 @@ const v5 = {
6936
6936
  c([
6937
6937
  ...l,
6938
6938
  {
6939
- id: De(),
6939
+ id: we(),
6940
6940
  message: "Part order ID is required",
6941
6941
  status: "error"
6942
6942
  }
@@ -6953,7 +6953,7 @@ const v5 = {
6953
6953
  c([
6954
6954
  ...l,
6955
6955
  {
6956
- id: De(),
6956
+ id: we(),
6957
6957
  message: ((V = ue.data) == null ? void 0 : V.message) || "Replacement request submitted successfully",
6958
6958
  status: "success"
6959
6959
  }
@@ -6972,7 +6972,7 @@ const v5 = {
6972
6972
  c([
6973
6973
  ...l,
6974
6974
  {
6975
- id: De(),
6975
+ id: we(),
6976
6976
  message: Q,
6977
6977
  status: "error",
6978
6978
  label: he
@@ -7151,9 +7151,9 @@ const v5 = {
7151
7151
  allowedReplacementReasons: a
7152
7152
  }) => {
7153
7153
  var P;
7154
- const { shopGeneral: i } = zt(), s = t.subscriptionSettings, { cart: c } = Ba(), { isAntistock: l } = Re(), [h, f] = Ce(!1), { setIsOpen: m } = Je(), p = Xn(() => t.replacementRequests ? new Set(
7154
+ const { shopGeneral: i } = zt(), s = t.subscriptionSettings, { cart: c } = Ba(), { isAntistock: l } = Re(), [h, f] = Ce(!1), { setIsOpen: m } = Je(), p = Kn(() => t.replacementRequests ? new Set(
7155
7155
  t.replacementRequests.flatMap((B) => B.replacementItems || []).map((B) => B.originalSerialKey)
7156
- ) : /* @__PURE__ */ new Set(), [t.replacementRequests]), g = Xn(() => {
7156
+ ) : /* @__PURE__ */ new Set(), [t.replacementRequests]), g = Kn(() => {
7157
7157
  var U;
7158
7158
  return (((U = t.deliveryCategories) == null ? void 0 : U.filter((D) => D.type === "SERIALS").flatMap((D) => D.deliveryItems)) || []).filter((D) => !p.has(D.serialKey)).length;
7159
7159
  }, [t.deliveryCategories, p]), _ = t.processingInfo, [y, C] = Ce(null), [x, T] = Ce(!1), [w, I] = Ce(null);
@@ -7390,7 +7390,7 @@ const v5 = {
7390
7390
  }
7391
7391
  )
7392
7392
  ] });
7393
- }, F8 = "_coupon_dkjzv_1", B8 = "_couponApplied_dkjzv_7", H8 = "_discount_dkjzv_17", U8 = "_removeButton_dkjzv_23", V8 = "_removeButtonText_dkjzv_27", $8 = "_couponInput_dkjzv_31", z8 = "_couponInputContainer_dkjzv_37", nr = {
7393
+ }, F8 = "_coupon_dkjzv_1", B8 = "_couponApplied_dkjzv_7", H8 = "_discount_dkjzv_17", U8 = "_removeButton_dkjzv_23", V8 = "_removeButtonText_dkjzv_27", $8 = "_couponInput_dkjzv_31", z8 = "_couponInputContainer_dkjzv_37", rr = {
7394
7394
  coupon: F8,
7395
7395
  couponApplied: B8,
7396
7396
  discount: H8,
@@ -7400,7 +7400,7 @@ const v5 = {
7400
7400
  couponInputContainer: z8
7401
7401
  }, q8 = ({ applyCoupon: e, couponData: t, discount: n, removeCoupon: r, gateway: u }) => {
7402
7402
  const [a, i] = Ce(null), [s, c] = Ce(!1), { isAntistock: l } = Re();
7403
- return /* @__PURE__ */ b("div", { className: nr.coupon, children: [
7403
+ return /* @__PURE__ */ b("div", { className: rr.coupon, children: [
7404
7404
  s && /* @__PURE__ */ o(
7405
7405
  Pr,
7406
7406
  {
@@ -7410,7 +7410,7 @@ const v5 = {
7410
7410
  viewBox: "0 0 500 48",
7411
7411
  backgroundColor: "var(--surface-secondary)",
7412
7412
  foregroundColor: "var(--surface-disabled)",
7413
- className: nr.skeleton,
7413
+ className: rr.skeleton,
7414
7414
  style: { borderRadius: "var(--border-radius)" },
7415
7415
  children: /* @__PURE__ */ o(
7416
7416
  "rect",
@@ -7428,7 +7428,7 @@ const v5 = {
7428
7428
  !s && (t ? /* @__PURE__ */ b(
7429
7429
  "div",
7430
7430
  {
7431
- className: nr.couponApplied,
7431
+ className: rr.couponApplied,
7432
7432
  style: l ? { border: "1px solid var(--border-secondary)" } : void 0,
7433
7433
  children: [
7434
7434
  /* @__PURE__ */ o(
@@ -7447,7 +7447,7 @@ const v5 = {
7447
7447
  a,
7448
7448
  " is applied",
7449
7449
  " ",
7450
- /* @__PURE__ */ b("span", { className: nr.discount, children: [
7450
+ /* @__PURE__ */ b("span", { className: rr.discount, children: [
7451
7451
  "-",
7452
7452
  n,
7453
7453
  " ",
@@ -7459,15 +7459,15 @@ const v5 = {
7459
7459
  /* @__PURE__ */ o(
7460
7460
  "button",
7461
7461
  {
7462
- className: nr.removeButton,
7462
+ className: rr.removeButton,
7463
7463
  onClick: r,
7464
- children: /* @__PURE__ */ o("span", { className: nr.removeButtonText, children: "Remove" })
7464
+ children: /* @__PURE__ */ o("span", { className: rr.removeButtonText, children: "Remove" })
7465
7465
  }
7466
7466
  )
7467
7467
  ]
7468
7468
  }
7469
- ) : /* @__PURE__ */ b("div", { className: nr.couponInput, children: [
7470
- /* @__PURE__ */ b("div", { className: nr.couponInputContainer, children: [
7469
+ ) : /* @__PURE__ */ b("div", { className: rr.couponInput, children: [
7470
+ /* @__PURE__ */ b("div", { className: rr.couponInputContainer, children: [
7471
7471
  /* @__PURE__ */ o(
7472
7472
  Tn,
7473
7473
  {
@@ -7663,7 +7663,7 @@ const v5 = {
7663
7663
  }) => {
7664
7664
  if (yn(() => {
7665
7665
  r === "" && n !== void 0 && s(String(n));
7666
- }, []), t === cr.Checkbox)
7666
+ }, []), t === Xn.Checkbox)
7667
7667
  return /* @__PURE__ */ b("label", { className: zr.checkboxWrapper, children: [
7668
7668
  /* @__PURE__ */ o(
7669
7669
  ma,
@@ -7677,7 +7677,7 @@ const v5 = {
7677
7677
  i && /* @__PURE__ */ o("span", { className: zr.requiredStar, children: "*" })
7678
7678
  ] })
7679
7679
  ] });
7680
- if (t === cr.Hidden)
7680
+ if (t === Xn.Hidden)
7681
7681
  return /* @__PURE__ */ o(
7682
7682
  "input",
7683
7683
  {
@@ -7688,7 +7688,7 @@ const v5 = {
7688
7688
  );
7689
7689
  const c = (l) => {
7690
7690
  let h;
7691
- if (t === cr.Number)
7691
+ if (t === Xn.Number)
7692
7692
  h = /^\d*$/;
7693
7693
  else if (a)
7694
7694
  try {
@@ -7700,7 +7700,7 @@ const v5 = {
7700
7700
  h = /.*/;
7701
7701
  h.test(l) && s(l);
7702
7702
  };
7703
- return t === cr.Textarea ? /* @__PURE__ */ o("div", { className: zr.textareaWrapper, children: /* @__PURE__ */ o(
7703
+ return t === Xn.Textarea ? /* @__PURE__ */ o("div", { className: zr.textareaWrapper, children: /* @__PURE__ */ o(
7704
7704
  Hu,
7705
7705
  {
7706
7706
  label: e,
@@ -7712,8 +7712,8 @@ const v5 = {
7712
7712
  ) }) : /* @__PURE__ */ o("div", { className: zr.inputWrapper, children: /* @__PURE__ */ o(
7713
7713
  Tn,
7714
7714
  {
7715
- type: t === cr.Number ? "number" : "text",
7716
- placeholder: t === cr.Number ? "Type something number..." : u,
7715
+ type: t === Xn.Number ? "number" : "text",
7716
+ placeholder: t === Xn.Number ? "Type something number..." : u,
7717
7717
  label: e,
7718
7718
  value: r,
7719
7719
  required: i,
@@ -7733,7 +7733,7 @@ const v5 = {
7733
7733
  u([
7734
7734
  ...r,
7735
7735
  {
7736
- id: De(),
7736
+ id: we(),
7737
7737
  message: _,
7738
7738
  status: y
7739
7739
  }
@@ -12310,11 +12310,11 @@ function Zb(e) {
12310
12310
  emphasis: a(le),
12311
12311
  hardBreakEscape: a(ct),
12312
12312
  hardBreakTrailing: a(ct),
12313
- htmlFlow: a(xe, i),
12313
+ htmlFlow: a(ke, i),
12314
12314
  htmlFlowData: U,
12315
- htmlText: a(xe, i),
12315
+ htmlText: a(ke, i),
12316
12316
  htmlTextData: U,
12317
- image: a(Le),
12317
+ image: a(Se),
12318
12318
  label: i,
12319
12319
  link: a(ne),
12320
12320
  listItem: a(Dt),
@@ -12399,14 +12399,14 @@ function Zb(e) {
12399
12399
  buffer: i,
12400
12400
  resume: h,
12401
12401
  data: n
12402
- }, ve = [];
12402
+ }, De = [];
12403
12403
  let qe = -1;
12404
12404
  for (; ++qe < M.length; )
12405
12405
  if (M[qe][1].type === "listOrdered" || M[qe][1].type === "listUnordered")
12406
12406
  if (M[qe][0] === "enter")
12407
- ve.push(qe);
12407
+ De.push(qe);
12408
12408
  else {
12409
- const tn = ve.pop();
12409
+ const tn = De.pop();
12410
12410
  qe = u(M, tn, qe);
12411
12411
  }
12412
12412
  for (qe = -1; ++qe < M.length; ) {
@@ -12420,12 +12420,12 @@ function Zb(e) {
12420
12420
  (tn[1] || Tc).call(pe, void 0, tn[0]);
12421
12421
  }
12422
12422
  for (Y.position = {
12423
- start: rr(M.length > 0 ? M[0][1].start : {
12423
+ start: ur(M.length > 0 ? M[0][1].start : {
12424
12424
  line: 1,
12425
12425
  column: 1,
12426
12426
  offset: 0
12427
12427
  }),
12428
- end: rr(M.length > 0 ? M[M.length - 2][1].end : {
12428
+ end: ur(M.length > 0 ? M[M.length - 2][1].end : {
12429
12429
  line: 1,
12430
12430
  column: 1,
12431
12431
  offset: 0
@@ -12435,9 +12435,9 @@ function Zb(e) {
12435
12435
  return Y;
12436
12436
  }
12437
12437
  function u(M, Y, pe) {
12438
- let ve = Y - 1, qe = -1, tn = !1, $n, It, zn, Cr;
12439
- for (; ++ve <= pe; ) {
12440
- const nn = M[ve];
12438
+ let De = Y - 1, qe = -1, tn = !1, $n, It, zn, Cr;
12439
+ for (; ++De <= pe; ) {
12440
+ const nn = M[De];
12441
12441
  switch (nn[1].type) {
12442
12442
  case "listUnordered":
12443
12443
  case "listOrdered":
@@ -12446,7 +12446,7 @@ function Zb(e) {
12446
12446
  break;
12447
12447
  }
12448
12448
  case "lineEndingBlank": {
12449
- nn[0] === "enter" && ($n && !Cr && !qe && !zn && (zn = ve), Cr = void 0);
12449
+ nn[0] === "enter" && ($n && !Cr && !qe && !zn && (zn = De), Cr = void 0);
12450
12450
  break;
12451
12451
  }
12452
12452
  case "linePrefix":
@@ -12460,7 +12460,7 @@ function Zb(e) {
12460
12460
  }
12461
12461
  if (!qe && nn[0] === "enter" && nn[1].type === "listItemPrefix" || qe === -1 && nn[0] === "exit" && (nn[1].type === "listUnordered" || nn[1].type === "listOrdered")) {
12462
12462
  if ($n) {
12463
- let Br = ve;
12463
+ let Br = De;
12464
12464
  for (It = void 0; Br--; ) {
12465
12465
  const qn = M[Br];
12466
12466
  if (qn[1].type === "lineEnding" || qn[1].type === "lineEndingBlank") {
@@ -12468,7 +12468,7 @@ function Zb(e) {
12468
12468
  It && (M[It][1].type = "lineEndingBlank", tn = !0), qn[1].type = "lineEnding", It = Br;
12469
12469
  } else if (!(qn[1].type === "linePrefix" || qn[1].type === "blockQuotePrefix" || qn[1].type === "blockQuotePrefixWhitespace" || qn[1].type === "blockQuoteMarker" || qn[1].type === "listItemIndent")) break;
12470
12470
  }
12471
- zn && (!It || zn < It) && ($n._spread = !0), $n.end = Object.assign({}, It ? M[It][1].start : nn[1].end), M.splice(It || ve, 0, ["exit", $n, nn[2]]), ve++, pe++;
12471
+ zn && (!It || zn < It) && ($n._spread = !0), $n.end = Object.assign({}, It ? M[It][1].start : nn[1].end), M.splice(It || De, 0, ["exit", $n, nn[2]]), De++, pe++;
12472
12472
  }
12473
12473
  if (nn[1].type === "listItemPrefix") {
12474
12474
  const Br = {
@@ -12478,7 +12478,7 @@ function Zb(e) {
12478
12478
  // @ts-expect-error: we’ll add `end` in a second.
12479
12479
  end: void 0
12480
12480
  };
12481
- $n = Br, M.splice(ve, 0, ["enter", Br, nn[2]]), ve++, pe++, zn = void 0, Cr = !0;
12481
+ $n = Br, M.splice(De, 0, ["enter", Br, nn[2]]), De++, pe++, zn = void 0, Cr = !0;
12482
12482
  }
12483
12483
  }
12484
12484
  }
@@ -12486,8 +12486,8 @@ function Zb(e) {
12486
12486
  }
12487
12487
  function a(M, Y) {
12488
12488
  return pe;
12489
- function pe(ve) {
12490
- s.call(this, M(ve), ve), Y && Y.call(this, ve);
12489
+ function pe(De) {
12490
+ s.call(this, M(De), De), Y && Y.call(this, De);
12491
12491
  }
12492
12492
  }
12493
12493
  function i() {
@@ -12498,7 +12498,7 @@ function Zb(e) {
12498
12498
  }
12499
12499
  function s(M, Y, pe) {
12500
12500
  this.stack[this.stack.length - 1].children.push(M), this.stack.push(M), this.tokenStack.push([Y, pe || void 0]), M.position = {
12501
- start: rr(Y.start),
12501
+ start: ur(Y.start),
12502
12502
  // @ts-expect-error: `end` will be patched later.
12503
12503
  end: void 0
12504
12504
  };
@@ -12510,14 +12510,14 @@ function Zb(e) {
12510
12510
  }
12511
12511
  }
12512
12512
  function l(M, Y) {
12513
- const pe = this.stack.pop(), ve = this.tokenStack.pop();
12514
- if (ve)
12515
- ve[0].type !== M.type && (Y ? Y.call(this, M, ve[0]) : (ve[1] || Tc).call(this, M, ve[0]));
12513
+ const pe = this.stack.pop(), De = this.tokenStack.pop();
12514
+ if (De)
12515
+ De[0].type !== M.type && (Y ? Y.call(this, M, De[0]) : (De[1] || Tc).call(this, M, De[0]));
12516
12516
  else throw new Error("Cannot close `" + M.type + "` (" + yu({
12517
12517
  start: M.start,
12518
12518
  end: M.end
12519
12519
  }) + "): it’s not open");
12520
- pe.position.end = rr(M.end);
12520
+ pe.position.end = ur(M.end);
12521
12521
  }
12522
12522
  function h() {
12523
12523
  return Gs(this.stack.pop());
@@ -12581,22 +12581,22 @@ function Zb(e) {
12581
12581
  }
12582
12582
  function U(M) {
12583
12583
  const pe = this.stack[this.stack.length - 1].children;
12584
- let ve = pe[pe.length - 1];
12585
- (!ve || ve.type !== "text") && (ve = Zt(), ve.position = {
12586
- start: rr(M.start),
12584
+ let De = pe[pe.length - 1];
12585
+ (!De || De.type !== "text") && (De = Zt(), De.position = {
12586
+ start: ur(M.start),
12587
12587
  // @ts-expect-error: we’ll add `end` later.
12588
12588
  end: void 0
12589
- }, pe.push(ve)), this.stack.push(ve);
12589
+ }, pe.push(De)), this.stack.push(De);
12590
12590
  }
12591
12591
  function D(M) {
12592
12592
  const Y = this.stack.pop();
12593
- Y.value += this.sliceSerialize(M), Y.position.end = rr(M.end);
12593
+ Y.value += this.sliceSerialize(M), Y.position.end = ur(M.end);
12594
12594
  }
12595
12595
  function F(M) {
12596
12596
  const Y = this.stack[this.stack.length - 1];
12597
12597
  if (this.data.atHardBreak) {
12598
12598
  const pe = Y.children[Y.children.length - 1];
12599
- pe.position.end = rr(M.end), this.data.atHardBreak = void 0;
12599
+ pe.position.end = ur(M.end), this.data.atHardBreak = void 0;
12600
12600
  return;
12601
12601
  }
12602
12602
  !this.data.setextHeadingSlurpLineEnding && t.canContainEols.includes(Y.type) && (U.call(this, M), D.call(this, M));
@@ -12641,8 +12641,8 @@ function Zb(e) {
12641
12641
  function Ee() {
12642
12642
  const M = this.stack[this.stack.length - 1], Y = this.resume(), pe = this.stack[this.stack.length - 1];
12643
12643
  if (this.data.inReference = !0, pe.type === "link") {
12644
- const ve = M.children;
12645
- pe.children = ve;
12644
+ const De = M.children;
12645
+ pe.children = De;
12646
12646
  } else
12647
12647
  pe.alt = Y;
12648
12648
  }
@@ -12669,14 +12669,14 @@ function Zb(e) {
12669
12669
  }
12670
12670
  function Q(M) {
12671
12671
  const Y = this.sliceSerialize(M), pe = this.data.characterReferenceType;
12672
- let ve;
12673
- pe ? (ve = e1(Y, pe === "characterReferenceMarkerNumeric" ? 10 : 16), this.data.characterReferenceType = void 0) : ve = Xs(Y);
12672
+ let De;
12673
+ pe ? (De = e1(Y, pe === "characterReferenceMarkerNumeric" ? 10 : 16), this.data.characterReferenceType = void 0) : De = Xs(Y);
12674
12674
  const qe = this.stack[this.stack.length - 1];
12675
- qe.value += ve;
12675
+ qe.value += De;
12676
12676
  }
12677
12677
  function he(M) {
12678
12678
  const Y = this.stack.pop();
12679
- Y.position.end = rr(M.end);
12679
+ Y.position.end = ur(M.end);
12680
12680
  }
12681
12681
  function fe(M) {
12682
12682
  D.call(this, M);
@@ -12736,13 +12736,13 @@ function Zb(e) {
12736
12736
  type: "break"
12737
12737
  };
12738
12738
  }
12739
- function xe() {
12739
+ function ke() {
12740
12740
  return {
12741
12741
  type: "html",
12742
12742
  value: ""
12743
12743
  };
12744
12744
  }
12745
- function Le() {
12745
+ function Se() {
12746
12746
  return {
12747
12747
  type: "image",
12748
12748
  title: null,
@@ -12799,7 +12799,7 @@ function Zb(e) {
12799
12799
  };
12800
12800
  }
12801
12801
  }
12802
- function rr(e) {
12802
+ function ur(e) {
12803
12803
  return {
12804
12804
  line: e.line,
12805
12805
  column: e.column,
@@ -16240,7 +16240,7 @@ const qE = {
16240
16240
  name: "protocolAutolink",
16241
16241
  tokenize: GE,
16242
16242
  previous: z1
16243
- }, er = {
16243
+ }, tr = {
16244
16244
  name: "emailAutolink",
16245
16245
  tokenize: YE,
16246
16246
  previous: q1
@@ -16252,15 +16252,15 @@ function WE() {
16252
16252
  }
16253
16253
  let kr = 48;
16254
16254
  for (; kr < 123; )
16255
- Hn[kr] = er, kr++, kr === 58 ? kr = 65 : kr === 91 && (kr = 97);
16256
- Hn[43] = er;
16257
- Hn[45] = er;
16258
- Hn[46] = er;
16259
- Hn[95] = er;
16260
- Hn[72] = [er, V1];
16261
- Hn[104] = [er, V1];
16262
- Hn[87] = [er, U1];
16263
- Hn[119] = [er, U1];
16255
+ Hn[kr] = tr, kr++, kr === 58 ? kr = 65 : kr === 91 && (kr = 97);
16256
+ Hn[43] = tr;
16257
+ Hn[45] = tr;
16258
+ Hn[46] = tr;
16259
+ Hn[95] = tr;
16260
+ Hn[72] = [tr, V1];
16261
+ Hn[104] = [tr, V1];
16262
+ Hn[87] = [tr, U1];
16263
+ Hn[119] = [tr, U1];
16264
16264
  function YE(e, t, n) {
16265
16265
  const r = this;
16266
16266
  let u, a;
@@ -18687,10 +18687,10 @@ class sT {
18687
18687
  this.isEol = !1;
18688
18688
  }
18689
18689
  }
18690
- var we;
18690
+ var Le;
18691
18691
  (function(e) {
18692
18692
  e[e.CHARACTER = 0] = "CHARACTER", e[e.NULL_CHARACTER = 1] = "NULL_CHARACTER", e[e.WHITESPACE_CHARACTER = 2] = "WHITESPACE_CHARACTER", e[e.START_TAG = 3] = "START_TAG", e[e.END_TAG = 4] = "END_TAG", e[e.COMMENT = 5] = "COMMENT", e[e.DOCTYPE = 6] = "DOCTYPE", e[e.EOF = 7] = "EOF", e[e.HIBERNATION = 8] = "HIBERNATION";
18693
- })(we || (we = {}));
18693
+ })(Le || (Le = {}));
18694
18694
  function od(e, t) {
18695
18695
  for (let n = e.attrs.length - 1; n >= 0; n--)
18696
18696
  if (e.attrs[n].name === t)
@@ -18760,13 +18760,13 @@ var Et;
18760
18760
  (function(e) {
18761
18761
  e[e.EntityStart = 0] = "EntityStart", e[e.NumericStart = 1] = "NumericStart", e[e.NumericDecimal = 2] = "NumericDecimal", e[e.NumericHex = 3] = "NumericHex", e[e.NamedEntity = 4] = "NamedEntity";
18762
18762
  })(Et || (Et = {}));
18763
- var Kn;
18763
+ var Qn;
18764
18764
  (function(e) {
18765
18765
  e[e.Legacy = 0] = "Legacy", e[e.Strict = 1] = "Strict", e[e.Attribute = 2] = "Attribute";
18766
- })(Kn || (Kn = {}));
18766
+ })(Qn || (Qn = {}));
18767
18767
  let mT = class {
18768
18768
  constructor(t, n, r) {
18769
- this.decodeTree = t, this.emitCodePoint = n, this.errors = r, this.state = Et.EntityStart, this.consumed = 1, this.result = 0, this.treeIndex = 0, this.excess = 1, this.decodeMode = Kn.Strict;
18769
+ this.decodeTree = t, this.emitCodePoint = n, this.errors = r, this.state = Et.EntityStart, this.consumed = 1, this.result = 0, this.treeIndex = 0, this.excess = 1, this.decodeMode = Qn.Strict;
18770
18770
  }
18771
18771
  /** Resets the instance to make it reusable. */
18772
18772
  startEntity(t) {
@@ -18874,7 +18874,7 @@ let mT = class {
18874
18874
  return (r = this.errors) === null || r === void 0 || r.absenceOfDigitsInNumericCharacterReference(this.consumed), 0;
18875
18875
  if (t === xt.SEMI)
18876
18876
  this.consumed += 1;
18877
- else if (this.decodeMode === Kn.Strict)
18877
+ else if (this.decodeMode === Qn.Strict)
18878
18878
  return 0;
18879
18879
  return this.emitCodePoint(lT(this.result), this.consumed), this.errors && (t !== xt.SEMI && this.errors.missingSemicolonAfterCharacterReference(), this.errors.validateNumericCharacterReference(this.result)), this.consumed;
18880
18880
  }
@@ -18894,13 +18894,13 @@ let mT = class {
18894
18894
  const i = t.charCodeAt(n);
18895
18895
  if (this.treeIndex = gT(r, u, this.treeIndex + Math.max(1, a), i), this.treeIndex < 0)
18896
18896
  return this.result === 0 || // If we are parsing an attribute
18897
- this.decodeMode === Kn.Attribute && // We shouldn't have consumed any characters after the entity,
18897
+ this.decodeMode === Qn.Attribute && // We shouldn't have consumed any characters after the entity,
18898
18898
  (a === 0 || // And there should be no invalid characters.
18899
18899
  pT(i)) ? 0 : this.emitNotTerminatedNamedEntity();
18900
18900
  if (u = r[this.treeIndex], a = (u & hr.VALUE_LENGTH) >> 14, a !== 0) {
18901
18901
  if (i === xt.SEMI)
18902
18902
  return this.emitNamedEntityData(this.treeIndex, a, this.consumed + this.excess);
18903
- this.decodeMode !== Kn.Strict && (this.result = this.treeIndex, this.consumed += this.excess, this.excess = 0);
18903
+ this.decodeMode !== Qn.Strict && (this.result = this.treeIndex, this.consumed += this.excess, this.excess = 0);
18904
18904
  }
18905
18905
  }
18906
18906
  return -1;
@@ -18939,7 +18939,7 @@ let mT = class {
18939
18939
  var t;
18940
18940
  switch (this.state) {
18941
18941
  case Et.NamedEntity:
18942
- return this.result !== 0 && (this.decodeMode !== Kn.Attribute || this.result === this.treeIndex) ? this.emitNotTerminatedNamedEntity() : 0;
18942
+ return this.result !== 0 && (this.decodeMode !== Qn.Attribute || this.result === this.treeIndex) ? this.emitNotTerminatedNamedEntity() : 0;
18943
18943
  case Et.NumericDecimal:
18944
18944
  return this.emitNumericEntity(0, 2);
18945
18945
  case Et.NumericHex:
@@ -19232,11 +19232,11 @@ function Cu(e) {
19232
19232
  function ET(e) {
19233
19233
  return e >= k.LATIN_SMALL_A && e <= k.LATIN_SMALL_Z;
19234
19234
  }
19235
- function ir(e) {
19235
+ function sr(e) {
19236
19236
  return ET(e) || Cu(e);
19237
19237
  }
19238
19238
  function rl(e) {
19239
- return ir(e) || CT(e);
19239
+ return sr(e) || CT(e);
19240
19240
  }
19241
19241
  function oa(e) {
19242
19242
  return e + 32;
@@ -19327,7 +19327,7 @@ class TT {
19327
19327
  //Token creation
19328
19328
  _createStartTagToken() {
19329
19329
  this.currentToken = {
19330
- type: we.START_TAG,
19330
+ type: Le.START_TAG,
19331
19331
  tagName: "",
19332
19332
  tagID: d.UNKNOWN,
19333
19333
  selfClosing: !1,
@@ -19338,7 +19338,7 @@ class TT {
19338
19338
  }
19339
19339
  _createEndTagToken() {
19340
19340
  this.currentToken = {
19341
- type: we.END_TAG,
19341
+ type: Le.END_TAG,
19342
19342
  tagName: "",
19343
19343
  tagID: d.UNKNOWN,
19344
19344
  selfClosing: !1,
@@ -19349,14 +19349,14 @@ class TT {
19349
19349
  }
19350
19350
  _createCommentToken(t) {
19351
19351
  this.currentToken = {
19352
- type: we.COMMENT,
19352
+ type: Le.COMMENT,
19353
19353
  data: "",
19354
19354
  location: this.getCurrentLocation(t)
19355
19355
  };
19356
19356
  }
19357
19357
  _createDoctypeToken(t) {
19358
19358
  this.currentToken = {
19359
- type: we.DOCTYPE,
19359
+ type: Le.DOCTYPE,
19360
19360
  name: t,
19361
19361
  forceQuirks: !1,
19362
19362
  publicId: null,
@@ -19398,7 +19398,7 @@ class TT {
19398
19398
  }
19399
19399
  emitCurrentTagToken() {
19400
19400
  const t = this.currentToken;
19401
- this.prepareToken(t), t.tagID = su(t.tagName), t.type === we.START_TAG ? (this.lastStartTagName = t.tagName, this.handler.onStartTag(t)) : (t.attrs.length > 0 && this._err(O.endTagWithAttributes), t.selfClosing && this._err(O.endTagWithTrailingSolidus), this.handler.onEndTag(t)), this.preprocessor.dropParsedChunk();
19401
+ this.prepareToken(t), t.tagID = su(t.tagName), t.type === Le.START_TAG ? (this.lastStartTagName = t.tagName, this.handler.onStartTag(t)) : (t.attrs.length > 0 && this._err(O.endTagWithAttributes), t.selfClosing && this._err(O.endTagWithTrailingSolidus), this.handler.onEndTag(t)), this.preprocessor.dropParsedChunk();
19402
19402
  }
19403
19403
  emitCurrentComment(t) {
19404
19404
  this.prepareToken(t), this.handler.onComment(t), this.preprocessor.dropParsedChunk();
@@ -19409,15 +19409,15 @@ class TT {
19409
19409
  _emitCurrentCharacterToken(t) {
19410
19410
  if (this.currentCharacterToken) {
19411
19411
  switch (t && this.currentCharacterToken.location && (this.currentCharacterToken.location.endLine = t.startLine, this.currentCharacterToken.location.endCol = t.startCol, this.currentCharacterToken.location.endOffset = t.startOffset), this.currentCharacterToken.type) {
19412
- case we.CHARACTER: {
19412
+ case Le.CHARACTER: {
19413
19413
  this.handler.onCharacter(this.currentCharacterToken);
19414
19414
  break;
19415
19415
  }
19416
- case we.NULL_CHARACTER: {
19416
+ case Le.NULL_CHARACTER: {
19417
19417
  this.handler.onNullCharacter(this.currentCharacterToken);
19418
19418
  break;
19419
19419
  }
19420
- case we.WHITESPACE_CHARACTER: {
19420
+ case Le.WHITESPACE_CHARACTER: {
19421
19421
  this.handler.onWhitespaceCharacter(this.currentCharacterToken);
19422
19422
  break;
19423
19423
  }
@@ -19427,7 +19427,7 @@ class TT {
19427
19427
  }
19428
19428
  _emitEOFToken() {
19429
19429
  const t = this.getCurrentLocation(0);
19430
- t && (t.endLine = t.startLine, t.endCol = t.startCol, t.endOffset = t.startOffset), this._emitCurrentCharacterToken(t), this.handler.onEof({ type: we.EOF, location: t }), this.active = !1;
19430
+ t && (t.endLine = t.startLine, t.endCol = t.startCol, t.endOffset = t.startOffset), this._emitCurrentCharacterToken(t), this.handler.onEof({ type: Le.EOF, location: t }), this.active = !1;
19431
19431
  }
19432
19432
  //Characters emission
19433
19433
  //OPTIMIZATION: The specification uses only one type of character token (one token per character).
@@ -19448,17 +19448,17 @@ class TT {
19448
19448
  this._createCharacterToken(t, n);
19449
19449
  }
19450
19450
  _emitCodePoint(t) {
19451
- const n = cd(t) ? we.WHITESPACE_CHARACTER : t === k.NULL ? we.NULL_CHARACTER : we.CHARACTER;
19451
+ const n = cd(t) ? Le.WHITESPACE_CHARACTER : t === k.NULL ? Le.NULL_CHARACTER : Le.CHARACTER;
19452
19452
  this._appendCharToCurrentCharacterToken(n, String.fromCodePoint(t));
19453
19453
  }
19454
19454
  //NOTE: used when we emit characters explicitly.
19455
19455
  //This is always for non-whitespace and non-null characters, which allows us to avoid additional checks.
19456
19456
  _emitChars(t) {
19457
- this._appendCharToCurrentCharacterToken(we.CHARACTER, t);
19457
+ this._appendCharToCurrentCharacterToken(Le.CHARACTER, t);
19458
19458
  }
19459
19459
  // Character reference helpers
19460
19460
  _startCharacterReference() {
19461
- this.returnState = this.state, this.state = A.CHARACTER_REFERENCE, this.entityStartPos = this.preprocessor.pos, this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute() ? Kn.Attribute : Kn.Legacy);
19461
+ this.returnState = this.state, this.state = A.CHARACTER_REFERENCE, this.entityStartPos = this.preprocessor.pos, this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute() ? Qn.Attribute : Qn.Legacy);
19462
19462
  }
19463
19463
  _isCharacterReferenceInAttribute() {
19464
19464
  return this.returnState === A.ATTRIBUTE_VALUE_DOUBLE_QUOTED || this.returnState === A.ATTRIBUTE_VALUE_SINGLE_QUOTED || this.returnState === A.ATTRIBUTE_VALUE_UNQUOTED;
@@ -19873,7 +19873,7 @@ class TT {
19873
19873
  // Tag open state
19874
19874
  //------------------------------------------------------------------
19875
19875
  _stateTagOpen(t) {
19876
- if (ir(t))
19876
+ if (sr(t))
19877
19877
  this._createStartTagToken(), this.state = A.TAG_NAME, this._stateTagName(t);
19878
19878
  else
19879
19879
  switch (t) {
@@ -19900,7 +19900,7 @@ class TT {
19900
19900
  // End tag open state
19901
19901
  //------------------------------------------------------------------
19902
19902
  _stateEndTagOpen(t) {
19903
- if (ir(t))
19903
+ if (sr(t))
19904
19904
  this._createEndTagToken(), this.state = A.TAG_NAME, this._stateTagName(t);
19905
19905
  else
19906
19906
  switch (t) {
@@ -19956,7 +19956,7 @@ class TT {
19956
19956
  // RCDATA end tag open state
19957
19957
  //------------------------------------------------------------------
19958
19958
  _stateRcdataEndTagOpen(t) {
19959
- ir(t) ? (this.state = A.RCDATA_END_TAG_NAME, this._stateRcdataEndTagName(t)) : (this._emitChars("</"), this.state = A.RCDATA, this._stateRcdata(t));
19959
+ sr(t) ? (this.state = A.RCDATA_END_TAG_NAME, this._stateRcdataEndTagName(t)) : (this._emitChars("</"), this.state = A.RCDATA, this._stateRcdata(t));
19960
19960
  }
19961
19961
  handleSpecialEndTag(t) {
19962
19962
  if (!this.preprocessor.startsWith(this.lastStartTagName, !1))
@@ -19990,7 +19990,7 @@ class TT {
19990
19990
  // RAWTEXT end tag open state
19991
19991
  //------------------------------------------------------------------
19992
19992
  _stateRawtextEndTagOpen(t) {
19993
- ir(t) ? (this.state = A.RAWTEXT_END_TAG_NAME, this._stateRawtextEndTagName(t)) : (this._emitChars("</"), this.state = A.RAWTEXT, this._stateRawtext(t));
19993
+ sr(t) ? (this.state = A.RAWTEXT_END_TAG_NAME, this._stateRawtextEndTagName(t)) : (this._emitChars("</"), this.state = A.RAWTEXT, this._stateRawtext(t));
19994
19994
  }
19995
19995
  // RAWTEXT end tag name state
19996
19996
  //------------------------------------------------------------------
@@ -20016,7 +20016,7 @@ class TT {
20016
20016
  // Script data end tag open state
20017
20017
  //------------------------------------------------------------------
20018
20018
  _stateScriptDataEndTagOpen(t) {
20019
- ir(t) ? (this.state = A.SCRIPT_DATA_END_TAG_NAME, this._stateScriptDataEndTagName(t)) : (this._emitChars("</"), this.state = A.SCRIPT_DATA, this._stateScriptData(t));
20019
+ sr(t) ? (this.state = A.SCRIPT_DATA_END_TAG_NAME, this._stateScriptDataEndTagName(t)) : (this._emitChars("</"), this.state = A.SCRIPT_DATA, this._stateScriptData(t));
20020
20020
  }
20021
20021
  // Script data end tag name state
20022
20022
  //------------------------------------------------------------------
@@ -20112,12 +20112,12 @@ class TT {
20112
20112
  // Script data escaped less-than sign state
20113
20113
  //------------------------------------------------------------------
20114
20114
  _stateScriptDataEscapedLessThanSign(t) {
20115
- t === k.SOLIDUS ? this.state = A.SCRIPT_DATA_ESCAPED_END_TAG_OPEN : ir(t) ? (this._emitChars("<"), this.state = A.SCRIPT_DATA_DOUBLE_ESCAPE_START, this._stateScriptDataDoubleEscapeStart(t)) : (this._emitChars("<"), this.state = A.SCRIPT_DATA_ESCAPED, this._stateScriptDataEscaped(t));
20115
+ t === k.SOLIDUS ? this.state = A.SCRIPT_DATA_ESCAPED_END_TAG_OPEN : sr(t) ? (this._emitChars("<"), this.state = A.SCRIPT_DATA_DOUBLE_ESCAPE_START, this._stateScriptDataDoubleEscapeStart(t)) : (this._emitChars("<"), this.state = A.SCRIPT_DATA_ESCAPED, this._stateScriptDataEscaped(t));
20116
20116
  }
20117
20117
  // Script data escaped end tag open state
20118
20118
  //------------------------------------------------------------------
20119
20119
  _stateScriptDataEscapedEndTagOpen(t) {
20120
- ir(t) ? (this.state = A.SCRIPT_DATA_ESCAPED_END_TAG_NAME, this._stateScriptDataEscapedEndTagName(t)) : (this._emitChars("</"), this.state = A.SCRIPT_DATA_ESCAPED, this._stateScriptDataEscaped(t));
20120
+ sr(t) ? (this.state = A.SCRIPT_DATA_ESCAPED_END_TAG_NAME, this._stateScriptDataEscapedEndTagName(t)) : (this._emitChars("</"), this.state = A.SCRIPT_DATA_ESCAPED, this._stateScriptDataEscaped(t));
20121
20121
  }
20122
20122
  // Script data escaped end tag name state
20123
20123
  //------------------------------------------------------------------
@@ -21457,7 +21457,7 @@ class wT {
21457
21457
  return this.entries.find((n) => n.type === Mn.Element && n.element === t);
21458
21458
  }
21459
21459
  }
21460
- const sr = {
21460
+ const or = {
21461
21461
  //Node construction
21462
21462
  createDocument() {
21463
21463
  return {
@@ -21522,7 +21522,7 @@ const sr = {
21522
21522
  systemId: r,
21523
21523
  parentNode: null
21524
21524
  };
21525
- sr.appendChild(e, a);
21525
+ or.appendChild(e, a);
21526
21526
  }
21527
21527
  },
21528
21528
  setDocumentMode(e, t) {
@@ -21540,16 +21540,16 @@ const sr = {
21540
21540
  insertText(e, t) {
21541
21541
  if (e.childNodes.length > 0) {
21542
21542
  const n = e.childNodes[e.childNodes.length - 1];
21543
- if (sr.isTextNode(n)) {
21543
+ if (or.isTextNode(n)) {
21544
21544
  n.value += t;
21545
21545
  return;
21546
21546
  }
21547
21547
  }
21548
- sr.appendChild(e, sr.createTextNode(t));
21548
+ or.appendChild(e, or.createTextNode(t));
21549
21549
  },
21550
21550
  insertTextBefore(e, t, n) {
21551
21551
  const r = e.childNodes[e.childNodes.indexOf(n) - 1];
21552
- r && sr.isTextNode(r) ? r.value += t : sr.insertBefore(e, sr.createTextNode(t), n);
21552
+ r && or.isTextNode(r) ? r.value += t : or.insertBefore(e, or.createTextNode(t), n);
21553
21553
  },
21554
21554
  adoptAttributes(e, t) {
21555
21555
  const n = new Set(e.attrs.map((r) => r.name));
@@ -21922,7 +21922,7 @@ const QT = {
21922
21922
  }, gd = /* @__PURE__ */ new Set([d.TABLE, d.TBODY, d.TFOOT, d.THEAD, d.TR]), dl = {
21923
21923
  scriptingEnabled: !0,
21924
21924
  sourceCodeLocationInfo: !1,
21925
- treeAdapter: sr,
21925
+ treeAdapter: or,
21926
21926
  onParseError: null
21927
21927
  };
21928
21928
  class fl {
@@ -22116,7 +22116,7 @@ class fl {
22116
22116
  const r = n.location, u = this.treeAdapter.getTagName(t), a = (
22117
22117
  // NOTE: For cases like <p> <p> </p> - First 'p' closes without a closing
22118
22118
  // tag and for cases like <td> <p> </td> - 'p' closes without a closing tag.
22119
- n.type === we.END_TAG && u === n.tagName ? {
22119
+ n.type === Le.END_TAG && u === n.tagName ? {
22120
22120
  endTag: { ...r },
22121
22121
  endLine: r.endLine,
22122
22122
  endCol: r.endCol,
@@ -22145,35 +22145,35 @@ class fl {
22145
22145
  /** @protected */
22146
22146
  _processToken(t) {
22147
22147
  switch (t.type) {
22148
- case we.CHARACTER: {
22148
+ case Le.CHARACTER: {
22149
22149
  this.onCharacter(t);
22150
22150
  break;
22151
22151
  }
22152
- case we.NULL_CHARACTER: {
22152
+ case Le.NULL_CHARACTER: {
22153
22153
  this.onNullCharacter(t);
22154
22154
  break;
22155
22155
  }
22156
- case we.COMMENT: {
22156
+ case Le.COMMENT: {
22157
22157
  this.onComment(t);
22158
22158
  break;
22159
22159
  }
22160
- case we.DOCTYPE: {
22160
+ case Le.DOCTYPE: {
22161
22161
  this.onDoctype(t);
22162
22162
  break;
22163
22163
  }
22164
- case we.START_TAG: {
22164
+ case Le.START_TAG: {
22165
22165
  this._processStartTag(t);
22166
22166
  break;
22167
22167
  }
22168
- case we.END_TAG: {
22168
+ case Le.END_TAG: {
22169
22169
  this.onEndTag(t);
22170
22170
  break;
22171
22171
  }
22172
- case we.EOF: {
22172
+ case Le.EOF: {
22173
22173
  this.onEof(t);
22174
22174
  break;
22175
22175
  }
22176
- case we.WHITESPACE_CHARACTER: {
22176
+ case Le.WHITESPACE_CHARACTER: {
22177
22177
  this.onWhitespaceCharacter(t);
22178
22178
  break;
22179
22179
  }
@@ -23048,7 +23048,7 @@ function pk(e, t) {
23048
23048
  }
23049
23049
  }
23050
23050
  function Su(e, t) {
23051
- const n = t.type === we.EOF ? O.openElementsLeftAfterEof : O.disallowedContentInNoscriptInHead;
23051
+ const n = t.type === Le.EOF ? O.openElementsLeftAfterEof : O.disallowedContentInNoscriptInHead;
23052
23052
  e._err(t, n), e.openElements.pop(), e.insertionMode = v.IN_HEAD, e._processToken(t);
23053
23053
  }
23054
23054
  function mk(e, t) {
@@ -23107,27 +23107,27 @@ function Nu(e, t) {
23107
23107
  }
23108
23108
  function Ka(e, t) {
23109
23109
  switch (t.type) {
23110
- case we.CHARACTER: {
23110
+ case Le.CHARACTER: {
23111
23111
  _d(e, t);
23112
23112
  break;
23113
23113
  }
23114
- case we.WHITESPACE_CHARACTER: {
23114
+ case Le.WHITESPACE_CHARACTER: {
23115
23115
  bd(e, t);
23116
23116
  break;
23117
23117
  }
23118
- case we.COMMENT: {
23118
+ case Le.COMMENT: {
23119
23119
  _s(e, t);
23120
23120
  break;
23121
23121
  }
23122
- case we.START_TAG: {
23122
+ case Le.START_TAG: {
23123
23123
  Ht(e, t);
23124
23124
  break;
23125
23125
  }
23126
- case we.END_TAG: {
23126
+ case Le.END_TAG: {
23127
23127
  Qa(e, t);
23128
23128
  break;
23129
23129
  }
23130
- case we.EOF: {
23130
+ case Le.EOF: {
23131
23131
  Td(e, t);
23132
23132
  break;
23133
23133
  }
@@ -23624,11 +23624,11 @@ function nx(e, t) {
23624
23624
  function Ri(e, t) {
23625
23625
  if (e.openElements.currentTagId !== void 0 && gd.has(e.openElements.currentTagId))
23626
23626
  switch (e.pendingCharacterTokens.length = 0, e.hasNonWhitespacePendingCharacterToken = !1, e.originalInsertionMode = e.insertionMode, e.insertionMode = v.IN_TABLE_TEXT, t.type) {
23627
- case we.CHARACTER: {
23627
+ case Le.CHARACTER: {
23628
23628
  xd(e, t);
23629
23629
  break;
23630
23630
  }
23631
- case we.WHITESPACE_CHARACTER: {
23631
+ case Le.WHITESPACE_CHARACTER: {
23632
23632
  kd(e, t);
23633
23633
  break;
23634
23634
  }
@@ -24215,7 +24215,7 @@ function Rx(e, t) {
24215
24215
  function Mx(e, t) {
24216
24216
  t.parser.tokenizer.state > 4 && (t.parser.tokenizer.state = 0);
24217
24217
  const n = {
24218
- type: we.CHARACTER,
24218
+ type: Le.CHARACTER,
24219
24219
  chars: e.value,
24220
24220
  location: Wu(e)
24221
24221
  };
@@ -24223,7 +24223,7 @@ function Mx(e, t) {
24223
24223
  }
24224
24224
  function Ox(e, t) {
24225
24225
  const n = {
24226
- type: we.DOCTYPE,
24226
+ type: Le.DOCTYPE,
24227
24227
  name: "html",
24228
24228
  forceQuirks: !1,
24229
24229
  publicId: "",
@@ -24246,7 +24246,7 @@ function Fx(e, t) {
24246
24246
  }
24247
24247
  function Rd(e, t) {
24248
24248
  const n = e.value, r = {
24249
- type: we.COMMENT,
24249
+ type: Le.COMMENT,
24250
24250
  data: n,
24251
24251
  location: Wu(e)
24252
24252
  };
@@ -24305,7 +24305,7 @@ function Ux(e, t) {
24305
24305
  { ...e, children: [] },
24306
24306
  { space: u === Nr.svg ? "svg" : "html" }
24307
24307
  ), i = {
24308
- type: we.START_TAG,
24308
+ type: Le.START_TAG,
24309
24309
  tagName: n,
24310
24310
  tagID: su(n),
24311
24311
  // We always send start and end tags.
@@ -24323,7 +24323,7 @@ function Vx(e, t) {
24323
24323
  if (!t.parser.tokenizer.inForeignNode && nT.includes(n) || t.parser.tokenizer.state === ft.PLAINTEXT) return;
24324
24324
  ou(t, qa(e));
24325
24325
  const r = {
24326
- type: we.END_TAG,
24326
+ type: Le.END_TAG,
24327
24327
  tagName: n,
24328
24328
  tagID: su(n),
24329
24329
  selfClosing: !1,
@@ -27541,7 +27541,7 @@ const VS = () => new kn({
27541
27541
  typographer: !0,
27542
27542
  breaks: !0
27543
27543
  });
27544
- var $S = /[ \u0020\t\n]*$/, zS = ["*", "_", "~", "`"], qS = /(\*|_|~|\\|`)/g, or = {}, zi = 0, Wn = {
27544
+ var $S = /[ \u0020\t\n]*$/, zS = ["*", "_", "~", "`"], qS = /(\*|_|~|\\|`)/g, cr = {}, zi = 0, Wn = {
27545
27545
  // BLOCK LEVEL
27546
27546
  "unordered-list-item": {
27547
27547
  open: function() {
@@ -27673,7 +27673,7 @@ function ZS(e) {
27673
27673
  }
27674
27674
  function WS(e, t, n, r) {
27675
27675
  var u = [], a = "", i = r.styleItems || {}, s = r.entityItems || {}, c = r.hasOwnProperty("escapeMarkdownCharacters") ? r.escapeMarkdownCharacters : !0, l = e.type, h = [];
27676
- ZS(e) && !r.preserveNewlines && (l = "unstyled"), i[l] || Wn[l] ? ((l === "unordered-list-item" || l === "ordered-list-item") && (a += " ".repeat(e.depth * 4)), l === "ordered-list-item" ? (or[e.depth] = or[e.depth] || 1, a += (i[l] || Wn[l]).open(e, or[e.depth]), or[e.depth]++, zi > e.depth && (or[zi] = 1), zi = e.depth) : (or = {}, a += (i[l] || Wn[l]).open(e))) : or = {};
27676
+ ZS(e) && !r.preserveNewlines && (l = "unstyled"), i[l] || Wn[l] ? ((l === "unordered-list-item" || l === "ordered-list-item") && (a += " ".repeat(e.depth * 4)), l === "ordered-list-item" ? (cr[e.depth] = cr[e.depth] || 1, a += (i[l] || Wn[l]).open(e, cr[e.depth]), cr[e.depth]++, zi > e.depth && (cr[zi] = 1), zi = e.depth) : (cr = {}, a += (i[l] || Wn[l]).open(e))) : cr = {};
27677
27677
  var f = [];
27678
27678
  function m(y) {
27679
27679
  if (f.push(y), y.style) {
@@ -27776,7 +27776,7 @@ function YS(e, t) {
27776
27776
  var n = "";
27777
27777
  return e.blocks.forEach(function(r, u) {
27778
27778
  n += WS(r, u, e, t);
27779
- }), or = {}, n;
27779
+ }), cr = {}, n;
27780
27780
  }
27781
27781
  var o2 = [];
27782
27782
  for (var Rl = 0; Rl < 256; Rl++)
@@ -27937,21 +27937,21 @@ const iN = (e) => {
27937
27937
  null
27938
27938
  ), [j, K] = $.useState(!1), [ie, se] = $.useState(null), oe = !!((ge = R == null ? void 0 : R.priorityReplacement) != null && ge.enabled), Ee = j && oe, [E, V] = $.useState(!1), { setIsOpen: re } = Je(), { notifications: N, setNotifications: te } = vt();
27939
27939
  $.useEffect(() => {
27940
- const Le = Oo(r.parts, u).map((ne) => ne.type === cr.Checkbox ? {
27940
+ const Se = Oo(r.parts, u).map((ne) => ne.type === Xn.Checkbox ? {
27941
27941
  ...ne,
27942
27942
  value: String(ne.defaultValue)
27943
27943
  } : ne);
27944
- g([...Le]);
27944
+ g([...Se]);
27945
27945
  }, []), $.useEffect(() => {
27946
- const xe = Oo(r.parts, u);
27947
- g((Le) => {
27948
- const ne = new Map(Le.map((_e) => [_e.name, _e]));
27949
- return xe.map((_e) => {
27946
+ const ke = Oo(r.parts, u);
27947
+ g((Se) => {
27948
+ const ne = new Map(Se.map((_e) => [_e.name, _e]));
27949
+ return ke.map((_e) => {
27950
27950
  const Dt = ne.get(_e.name);
27951
27951
  return Dt && Dt.value ? {
27952
27952
  ..._e,
27953
27953
  value: Dt.value
27954
- } : _e.type === cr.Checkbox ? {
27954
+ } : _e.type === Xn.Checkbox ? {
27955
27955
  ..._e,
27956
27956
  value: String(_e.defaultValue)
27957
27957
  } : _e;
@@ -27959,36 +27959,40 @@ const iN = (e) => {
27959
27959
  });
27960
27960
  }, [r.parts, u]), $.useEffect(() => {
27961
27961
  C && (async () => {
27962
- const Le = await vs();
27963
- y(Le);
27962
+ const Se = await vs();
27963
+ y(Se);
27964
27964
  })();
27965
27965
  }, [C]);
27966
- function ue(xe) {
27967
- return xe && /^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/.test(xe);
27966
+ function ue(ke) {
27967
+ return ke && /^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/.test(ke);
27968
27968
  }
27969
27969
  const Q = () => {
27970
- const xe = [];
27971
- return p.forEach((Le) => {
27970
+ const ke = [];
27971
+ return p.forEach((Se) => {
27972
27972
  var ne;
27973
- Le.required && !((ne = Le.value) != null && ne.toString().trim()) && xe.push({
27974
- message: `Field "${Le.name}" is required.`,
27973
+ Se.required && (Se.type === Xn.Checkbox ? Se.value !== "true" && ke.push({
27974
+ message: `Field "${Se.name}" is required.`,
27975
27975
  status: "error",
27976
- id: De()
27977
- });
27978
- }), xe.length > 0 ? (te([...N, ...xe]), !1) : !0;
27979
- }, he = async (xe) => {
27976
+ id: we()
27977
+ }) : (ne = Se.value) != null && ne.toString().trim() || ke.push({
27978
+ message: `Field "${Se.name}" is required.`,
27979
+ status: "error",
27980
+ id: we()
27981
+ }));
27982
+ }), ke.length > 0 ? (te([...N, ...ke]), !1) : !0;
27983
+ }, he = async (ke) => {
27980
27984
  var Dt, Lt, pn, Zt;
27981
- if (xe.stopPropagation(), r.gateway === "Balance" && !C) {
27985
+ if (ke.stopPropagation(), r.gateway === "Balance" && !C) {
27982
27986
  re(!0), V(!0);
27983
27987
  return;
27984
27988
  }
27985
27989
  if (!Q()) return;
27986
- const Le = !!(R && ((Dt = R.priorityReplacement) != null && Dt.enabled));
27987
- if (Le && !Ee) {
27990
+ const Se = !!(R && ((Dt = R.priorityReplacement) != null && Dt.enabled));
27991
+ if (Se && !Ee) {
27988
27992
  K(!0), ie === null && ((Lt = R == null ? void 0 : R.priorityReplacement) != null && Lt.enabled) && (se("PRIORITY"), P(!0));
27989
27993
  return;
27990
27994
  }
27991
- Le || (pn = R == null ? void 0 : R.standardReplacement) != null && pn.enabled && !((Zt = R == null ? void 0 : R.priorityReplacement) != null && Zt.enabled) && (ie === null && se("STANDARD"), P(!1));
27995
+ Se || (pn = R == null ? void 0 : R.standardReplacement) != null && pn.enabled && !((Zt = R == null ? void 0 : R.priorityReplacement) != null && Zt.enabled) && (ie === null && se("STANDARD"), P(!1));
27992
27996
  const ne = Object.fromEntries(
27993
27997
  p.map((et) => [et.name, et.value || ""])
27994
27998
  );
@@ -28014,16 +28018,16 @@ const iN = (e) => {
28014
28018
  }
28015
28019
  };
28016
28020
  $.useEffect(() => {
28017
- const xe = [
28021
+ const ke = [
28018
28022
  ...F.availableGateways,
28019
28023
  ...F.requiresSignInGateways
28020
28024
  ];
28021
- if (!xe.length) return;
28022
- let Le = !1;
28025
+ if (!ke.length) return;
28026
+ let Se = !1;
28023
28027
  return (async () => {
28024
28028
  try {
28025
- const { data: ne } = await Zl(xe);
28026
- if (Le) return;
28029
+ const { data: ne } = await Zl(ke);
28030
+ if (Se) return;
28027
28031
  let _e = null;
28028
28032
  Array.isArray(ne) || (ne && ne.replacement ? _e = ne.replacement : ((ne == null ? void 0 : ne.priorityReplacement) !== void 0 || (ne == null ? void 0 : ne.standardReplacement) !== void 0) && (_e = {
28029
28033
  priorityReplacement: ne.priorityReplacement,
@@ -28032,7 +28036,7 @@ const iN = (e) => {
28032
28036
  } catch {
28033
28037
  }
28034
28038
  })(), () => {
28035
- Le = !0;
28039
+ Se = !0;
28036
28040
  };
28037
28041
  }, [
28038
28042
  F.availableGateways.join(","),
@@ -28040,17 +28044,17 @@ const iN = (e) => {
28040
28044
  ]), $.useEffect(() => {
28041
28045
  var ne, _e;
28042
28046
  if (!R) return;
28043
- const xe = !!((ne = R.priorityReplacement) != null && ne.enabled), Le = !!((_e = R.standardReplacement) != null && _e.enabled);
28044
- !xe && Le && (se("STANDARD"), P(!1), K(!1));
28047
+ const ke = !!((ne = R.priorityReplacement) != null && ne.enabled), Se = !!((_e = R.standardReplacement) != null && _e.enabled);
28048
+ !ke && Se && (se("STANDARD"), P(!1), K(!1));
28045
28049
  }, [R]);
28046
- const fe = (xe) => {
28047
- se(xe), P(
28048
- xe === "PRIORITY" ? !0 : xe === "STANDARD" ? !1 : void 0
28050
+ const fe = (ke) => {
28051
+ se(ke), P(
28052
+ ke === "PRIORITY" ? !0 : ke === "STANDARD" ? !1 : void 0
28049
28053
  );
28050
28054
  }, ce = $.useMemo(() => {
28051
- const xe = r.parts[0];
28052
- if (!xe) return "USD";
28053
- const Le = u.find((_e) => _e.id === xe.productId), ne = Le == null ? void 0 : Le.variants.find((_e) => _e.id === xe.productVariantId);
28055
+ const ke = r.parts[0];
28056
+ if (!ke) return "USD";
28057
+ const Se = u.find((_e) => _e.id === ke.productId), ne = Se == null ? void 0 : Se.variants.find((_e) => _e.id === ke.productVariantId);
28054
28058
  if (ne != null && ne.gateways && r.gateway) {
28055
28059
  const _e = ne.gateways.find((Dt) => Dt.name === r.gateway && Dt.overrodePrice);
28056
28060
  if (_e != null && _e.overrodePrice) return _e.overrodePrice.currency;
@@ -28125,7 +28129,7 @@ const iN = (e) => {
28125
28129
  {
28126
28130
  placeholder: "your@email.com",
28127
28131
  value: I || "",
28128
- onChange: (xe) => S(xe),
28132
+ onChange: (ke) => S(ke),
28129
28133
  disabled: !!C,
28130
28134
  label: "Email Address"
28131
28135
  }
@@ -28441,56 +28445,56 @@ const iN = (e) => {
28441
28445
  actionButtons: GN,
28442
28446
  actionButton: XN
28443
28447
  }, Sr = {
28444
- [Ne.Paid]: "Payment Successful",
28445
- [Ne.Pending]: "Payment Pending",
28446
- [Ne.Expired]: "Payment Expired",
28447
- [Ne.Cancelled]: "Payment Cancelled",
28448
- [Ne.NotPaid]: "Payment Failed",
28449
- [Ne.Refunded]: "Payment Refunded"
28448
+ [ve.Paid]: "Payment Successful",
28449
+ [ve.Pending]: "Payment Pending",
28450
+ [ve.Expired]: "Payment Expired",
28451
+ [ve.Cancelled]: "Payment Cancelled",
28452
+ [ve.NotPaid]: "Payment Failed",
28453
+ [ve.Refunded]: "Payment Refunded"
28450
28454
  }, f2 = {
28451
- [Ne.Paid]: "Your payment has successfully been processed. Tap on the button below to be redirected back to our website.",
28452
- [Ne.Pending]: "Your payment is currently pending. We recommend checking back shortly for confirmation.",
28453
- [Ne.Expired]: "Your payment has expired due to the payment not being sent in time. If you already sent the payment, please contact us below.",
28454
- [Ne.Cancelled]: "You canceled the warrant. If there are any problems, please contact support",
28455
- [Ne.NotPaid]: "Your payment has expired due to the payment not being sent in time. If you already sent the payment, please contact us below.",
28456
- [Ne.Refunded]: "Your payment has been refunded. Please check your payment method for confirmation."
28455
+ [ve.Paid]: "Your payment has successfully been processed. Tap on the button below to be redirected back to our website.",
28456
+ [ve.Pending]: "Your payment is currently pending. We recommend checking back shortly for confirmation.",
28457
+ [ve.Expired]: "Your payment has expired due to the payment not being sent in time. If you already sent the payment, please contact us below.",
28458
+ [ve.Cancelled]: "You canceled the warrant. If there are any problems, please contact support",
28459
+ [ve.NotPaid]: "Your payment has expired due to the payment not being sent in time. If you already sent the payment, please contact us below.",
28460
+ [ve.Refunded]: "Your payment has been refunded. Please check your payment method for confirmation."
28457
28461
  }, h2 = () => ({
28458
- [Ne.Paid]: /* @__PURE__ */ o("div", { className: `${Qt.chargeStatusIcon}`, children: /* @__PURE__ */ o(
28462
+ [ve.Paid]: /* @__PURE__ */ o("div", { className: `${Qt.chargeStatusIcon}`, children: /* @__PURE__ */ o(
28459
28463
  H,
28460
28464
  {
28461
28465
  name: "Check",
28462
28466
  fill: "var(--text-success)"
28463
28467
  }
28464
28468
  ) }),
28465
- [Ne.Pending]: /* @__PURE__ */ o("div", { className: Qt.chargeStatusIcon, children: /* @__PURE__ */ o(
28469
+ [ve.Pending]: /* @__PURE__ */ o("div", { className: Qt.chargeStatusIcon, children: /* @__PURE__ */ o(
28466
28470
  H,
28467
28471
  {
28468
28472
  name: "Clock",
28469
28473
  fill: "var(--text-warning)"
28470
28474
  }
28471
28475
  ) }),
28472
- [Ne.Expired]: /* @__PURE__ */ o("div", { className: Qt.chargeStatusIcon, children: /* @__PURE__ */ o(
28476
+ [ve.Expired]: /* @__PURE__ */ o("div", { className: Qt.chargeStatusIcon, children: /* @__PURE__ */ o(
28473
28477
  H,
28474
28478
  {
28475
28479
  name: "XCircle",
28476
28480
  fill: "var(--text-action)"
28477
28481
  }
28478
28482
  ) }),
28479
- [Ne.Cancelled]: /* @__PURE__ */ o("div", { className: Qt.chargeStatusIcon, children: /* @__PURE__ */ o(
28483
+ [ve.Cancelled]: /* @__PURE__ */ o("div", { className: Qt.chargeStatusIcon, children: /* @__PURE__ */ o(
28480
28484
  H,
28481
28485
  {
28482
28486
  name: "XCircle",
28483
28487
  fill: "var(--text-action)"
28484
28488
  }
28485
28489
  ) }),
28486
- [Ne.NotPaid]: /* @__PURE__ */ o("div", { className: Qt.chargeStatusIcon, children: /* @__PURE__ */ o(
28490
+ [ve.NotPaid]: /* @__PURE__ */ o("div", { className: Qt.chargeStatusIcon, children: /* @__PURE__ */ o(
28487
28491
  H,
28488
28492
  {
28489
28493
  name: "XCircle",
28490
28494
  fill: "var(--text-action)"
28491
28495
  }
28492
28496
  ) }),
28493
- [Ne.Refunded]: /* @__PURE__ */ o("div", { className: Qt.chargeStatusIcon, children: /* @__PURE__ */ o(
28497
+ [ve.Refunded]: /* @__PURE__ */ o("div", { className: Qt.chargeStatusIcon, children: /* @__PURE__ */ o(
28494
28498
  H,
28495
28499
  {
28496
28500
  name: "XCircle",
@@ -28499,18 +28503,18 @@ const iN = (e) => {
28499
28503
  ) })
28500
28504
  }), p2 = ({ charge: e }) => {
28501
28505
  var p, g;
28502
- const t = e.status, n = hn(), { shopDomain: r } = zt(), { isAntistock: u, general: a } = Re(), i = Qn(), s = !!((p = a == null ? void 0 : a.info) != null && p.disableSupport), c = (g = a == null ? void 0 : a.info) == null ? void 0 : g.thirdPartySupportUrl, l = !(s && !c), [h, f] = Fl(), m = () => {
28506
+ const t = e.status, n = hn(), { shopDomain: r } = zt(), { isAntistock: u, general: a } = Re(), i = Jn(), s = !!((p = a == null ? void 0 : a.info) != null && p.disableSupport), c = (g = a == null ? void 0 : a.info) == null ? void 0 : g.thirdPartySupportUrl, l = !(s && !c), [h, f] = Fl(), m = () => {
28503
28507
  var y, C;
28504
28508
  if (!((y = e.order) != null && y.id)) return;
28505
28509
  const _ = h.get("redirectRoute");
28506
- if ((e == null ? void 0 : e.status) === Ne.Paid && e.redirectUrl && !i.current) {
28510
+ if ((e == null ? void 0 : e.status) === ve.Paid && e.redirectUrl && !i.current) {
28507
28511
  const T = JSON.parse(localStorage.getItem("orders") || "{}")[((C = e == null ? void 0 : e.order) == null ? void 0 : C.id) || ""];
28508
28512
  T ? window.open(
28509
28513
  T.fullAccessToken ? `${e.redirectUrl}/${T.fullAccessToken}` : `${e.redirectUrl}`,
28510
28514
  "_self"
28511
28515
  ) : window.open(e.redirectUrl, "_self");
28512
28516
  }
28513
- (e == null ? void 0 : e.status) === Ne.Paid && i.current && n(i.current, {
28517
+ (e == null ? void 0 : e.status) === ve.Paid && i.current && n(i.current, {
28514
28518
  replace: !0
28515
28519
  }), _ && i && (i.current = _, h.delete("redirectRoute"), f(h));
28516
28520
  };
@@ -28524,7 +28528,7 @@ const iN = (e) => {
28524
28528
  h2()[t],
28525
28529
  /* @__PURE__ */ o("h2", { className: Qt.chargeStatusTitle, children: Sr[t] }),
28526
28530
  /* @__PURE__ */ o("p", { className: Qt.chargeStatusDescription, children: f2[t] }),
28527
- t === Ne.Paid ? /* @__PURE__ */ o(
28531
+ t === ve.Paid ? /* @__PURE__ */ o(
28528
28532
  "div",
28529
28533
  {
28530
28534
  className: Qt.pickUpButton,
@@ -28711,7 +28715,7 @@ const iN = (e) => {
28711
28715
  const t = Rr(), { isAntistock: n } = Re(), r = (e == null ? void 0 : e.price.currency) || "USD", u = new Intl.NumberFormat("en-US", {
28712
28716
  style: "currency",
28713
28717
  currency: r
28714
- }), a = Xn(() => {
28718
+ }), a = Kn(() => {
28715
28719
  var s;
28716
28720
  return ((s = e == null ? void 0 : e.order) == null ? void 0 : s.partOrders.map((c) => {
28717
28721
  var l, h, f, m;
@@ -28965,7 +28969,7 @@ const iN = (e) => {
28965
28969
  ] })
28966
28970
  ] })
28967
28971
  ] });
28968
- }, vv = "_bottomSheet_1yai1_1", wv = "_formContainer_1yai1_8", Dv = "_error_1yai1_14", Lv = "_buttonGroup_1yai1_18", Pv = "_buttonWrapper_1yai1_28", Rv = "_fullWidthButton_1yai1_31", Mv = "_modal_1yai1_41", Ov = "_header_1yai1_48", ur = {
28972
+ }, vv = "_bottomSheet_1yai1_1", wv = "_formContainer_1yai1_8", Dv = "_error_1yai1_14", Lv = "_buttonGroup_1yai1_18", Pv = "_buttonWrapper_1yai1_28", Rv = "_fullWidthButton_1yai1_31", Mv = "_modal_1yai1_41", Ov = "_header_1yai1_48", ar = {
28969
28973
  bottomSheet: vv,
28970
28974
  formContainer: wv,
28971
28975
  error: Dv,
@@ -28999,10 +29003,10 @@ const iN = (e) => {
28999
29003
  return /* @__PURE__ */ b(
29000
29004
  "div",
29001
29005
  {
29002
- className: ur.modal,
29006
+ className: ar.modal,
29003
29007
  onClick: (h) => h.stopPropagation(),
29004
29008
  children: [
29005
- /* @__PURE__ */ b("div", { className: ur.header, children: [
29009
+ /* @__PURE__ */ b("div", { className: ar.header, children: [
29006
29010
  /* @__PURE__ */ o("h3", { id: "h3", children: "CashApp Verify" }),
29007
29011
  /* @__PURE__ */ o(
29008
29012
  H,
@@ -29014,8 +29018,8 @@ const iN = (e) => {
29014
29018
  }
29015
29019
  )
29016
29020
  ] }),
29017
- /* @__PURE__ */ o("form", { onSubmit: c, children: /* @__PURE__ */ b("div", { className: ur.bottomSheet, children: [
29018
- /* @__PURE__ */ o("div", { className: ur.formContainer, children: /* @__PURE__ */ b("div", { children: [
29021
+ /* @__PURE__ */ o("form", { onSubmit: c, children: /* @__PURE__ */ b("div", { className: ar.bottomSheet, children: [
29022
+ /* @__PURE__ */ o("div", { className: ar.formContainer, children: /* @__PURE__ */ b("div", { children: [
29019
29023
  /* @__PURE__ */ o(
29020
29024
  Tn,
29021
29025
  {
@@ -29027,10 +29031,10 @@ const iN = (e) => {
29027
29031
  placeholder: "https://cash.app/payments/0000"
29028
29032
  }
29029
29033
  ),
29030
- u && /* @__PURE__ */ o("p", { className: ur.error, children: u })
29034
+ u && /* @__PURE__ */ o("p", { className: ar.error, children: u })
29031
29035
  ] }) }),
29032
- /* @__PURE__ */ b("div", { className: ur.buttonGroup, children: [
29033
- /* @__PURE__ */ o("div", { className: ur.buttonWrapper, children: /* @__PURE__ */ o(
29036
+ /* @__PURE__ */ b("div", { className: ar.buttonGroup, children: [
29037
+ /* @__PURE__ */ o("div", { className: ar.buttonWrapper, children: /* @__PURE__ */ o(
29034
29038
  ee,
29035
29039
  {
29036
29040
  type: "Secondary",
@@ -29038,7 +29042,7 @@ const iN = (e) => {
29038
29042
  children: "Cancel"
29039
29043
  }
29040
29044
  ) }),
29041
- /* @__PURE__ */ o("div", { className: ur.fullWidthButton, children: /* @__PURE__ */ o(ee, { type: "Primary", children: "Verify" }) })
29045
+ /* @__PURE__ */ o("div", { className: ar.fullWidthButton, children: /* @__PURE__ */ o(ee, { type: "Primary", children: "Verify" }) })
29042
29046
  ] })
29043
29047
  ] }) })
29044
29048
  ]
@@ -29063,33 +29067,33 @@ const iN = (e) => {
29063
29067
  const n = e.getDate().toString().padStart(2, "0"), r = (e.getMonth() + 1).toString().padStart(2, "0"), u = e.getFullYear(), a = e.getHours(), i = e.getMinutes().toString().padStart(2, "0"), s = e.getSeconds().toString().padStart(2, "0"), c = a >= 12 ? "PM" : "AM", l = (a % 12 || 12).toString().padStart(2, "0");
29064
29068
  return t === "dd.MM.yyyy" ? `${n}.${r}.${u}` : t === "hh:mm:ss aa" ? `${l}:${i}:${s} ${c}` : "";
29065
29069
  }, Kv = {
29066
- [Ne.Paid]: {
29067
- displayName: Sr[Ne.Paid],
29070
+ [ve.Paid]: {
29071
+ displayName: Sr[ve.Paid],
29068
29072
  displayMessage: "The invoice has been completed and the product has been delivered.",
29069
29073
  type: "success"
29070
29074
  },
29071
- [Ne.Pending]: {
29072
- displayName: Sr[Ne.Pending],
29075
+ [ve.Pending]: {
29076
+ displayName: Sr[ve.Pending],
29073
29077
  displayMessage: "The invoice has been created and we are now waiting to receive the payment.",
29074
29078
  type: "warning"
29075
29079
  },
29076
- [Ne.Expired]: {
29077
- displayName: Sr[Ne.Expired],
29080
+ [ve.Expired]: {
29081
+ displayName: Sr[ve.Expired],
29078
29082
  displayMessage: "Your payment has expired due to the payment not being sent in time.",
29079
29083
  type: "error"
29080
29084
  },
29081
- [Ne.Cancelled]: {
29082
- displayName: Sr[Ne.Cancelled],
29085
+ [ve.Cancelled]: {
29086
+ displayName: Sr[ve.Cancelled],
29083
29087
  displayMessage: "The order has been canceled. The payment was not sent within the time limit.",
29084
29088
  type: "error"
29085
29089
  },
29086
- [Ne.NotPaid]: {
29090
+ [ve.NotPaid]: {
29087
29091
  displayName: "New",
29088
29092
  displayMessage: "The charge has been created and is awaiting payment.",
29089
29093
  type: "success"
29090
29094
  },
29091
- [Ne.Refunded]: {
29092
- displayName: Sr[Ne.Refunded],
29095
+ [ve.Refunded]: {
29096
+ displayName: Sr[ve.Refunded],
29093
29097
  displayMessage: "Your order was refunded. Please check your payment method for confirmation.",
29094
29098
  type: "warning"
29095
29099
  }
@@ -29772,7 +29776,7 @@ const iN = (e) => {
29772
29776
  ...s,
29773
29777
  {
29774
29778
  status: "success",
29775
- id: De(),
29779
+ id: we(),
29776
29780
  message: "Your action has been successfully completed"
29777
29781
  }
29778
29782
  ]), u({
@@ -29784,7 +29788,7 @@ const iN = (e) => {
29784
29788
  ...s,
29785
29789
  {
29786
29790
  status: "error",
29787
- id: De(),
29791
+ id: we(),
29788
29792
  message: "Your action has been failed. Try again!"
29789
29793
  }
29790
29794
  ]);
@@ -30283,7 +30287,7 @@ const iN = (e) => {
30283
30287
  ...c,
30284
30288
  {
30285
30289
  status: "success",
30286
- id: De(),
30290
+ id: we(),
30287
30291
  message: "Review left successfully"
30288
30292
  }
30289
30293
  ]), i(!1));
@@ -30312,7 +30316,7 @@ const iN = (e) => {
30312
30316
  }
30313
30317
  ) })
30314
30318
  ] }) : null;
30315
- }, TL = "_bottomSheet_1bcyj_1", kL = "_content_1bcyj_7", xL = "_title_1bcyj_18", AL = "_buttonGroup_1bcyj_22", IL = "_buttonWrapper_1bcyj_33", SL = "_modal_1bcyj_37", NL = "_header_1bcyj_44", ar = {
30319
+ }, TL = "_bottomSheet_1bcyj_1", kL = "_content_1bcyj_7", xL = "_title_1bcyj_18", AL = "_buttonGroup_1bcyj_22", IL = "_buttonWrapper_1bcyj_33", SL = "_modal_1bcyj_37", NL = "_header_1bcyj_44", ir = {
30316
30320
  bottomSheet: TL,
30317
30321
  content: kL,
30318
30322
  title: xL,
@@ -30329,15 +30333,15 @@ const iN = (e) => {
30329
30333
  return /* @__PURE__ */ b(
30330
30334
  "div",
30331
30335
  {
30332
- className: ar.modal,
30336
+ className: ir.modal,
30333
30337
  onClick: (i) => i.stopPropagation(),
30334
30338
  children: [
30335
- /* @__PURE__ */ b("div", { className: ar.header, children: [
30339
+ /* @__PURE__ */ b("div", { className: ir.header, children: [
30336
30340
  /* @__PURE__ */ o(
30337
30341
  "h3",
30338
30342
  {
30339
30343
  id: "h3",
30340
- className: ar.title,
30344
+ className: ir.title,
30341
30345
  children: "Review Description"
30342
30346
  }
30343
30347
  ),
@@ -30351,8 +30355,8 @@ const iN = (e) => {
30351
30355
  }
30352
30356
  )
30353
30357
  ] }),
30354
- /* @__PURE__ */ b("div", { className: ar.bottomSheet, children: [
30355
- /* @__PURE__ */ o("div", { className: ar.content, children: /* @__PURE__ */ o(
30358
+ /* @__PURE__ */ b("div", { className: ir.bottomSheet, children: [
30359
+ /* @__PURE__ */ o("div", { className: ir.content, children: /* @__PURE__ */ o(
30356
30360
  Hu,
30357
30361
  {
30358
30362
  placeholder: "Great product and fast checkout...",
@@ -30361,8 +30365,8 @@ const iN = (e) => {
30361
30365
  label: "Describe your review in detail below"
30362
30366
  }
30363
30367
  ) }),
30364
- /* @__PURE__ */ b("div", { className: ar.buttonGroup, children: [
30365
- /* @__PURE__ */ o("div", { className: ar.buttonWrapper, children: /* @__PURE__ */ o(
30368
+ /* @__PURE__ */ b("div", { className: ir.buttonGroup, children: [
30369
+ /* @__PURE__ */ o("div", { className: ir.buttonWrapper, children: /* @__PURE__ */ o(
30366
30370
  ee,
30367
30371
  {
30368
30372
  type: "Secondary",
@@ -30370,7 +30374,7 @@ const iN = (e) => {
30370
30374
  children: "Cancel"
30371
30375
  }
30372
30376
  ) }),
30373
- /* @__PURE__ */ o("div", { className: ar.buttonWrapper, children: /* @__PURE__ */ o(
30377
+ /* @__PURE__ */ o("div", { className: ir.buttonWrapper, children: /* @__PURE__ */ o(
30374
30378
  ee,
30375
30379
  {
30376
30380
  type: "Primary",
@@ -30443,7 +30447,7 @@ const iN = (e) => {
30443
30447
  const { data: w } = await K2((t == null ? void 0 : t.id) || "", {});
30444
30448
  l([
30445
30449
  {
30446
- id: De(),
30450
+ id: we(),
30447
30451
  message: "Order created successfully",
30448
30452
  status: "success"
30449
30453
  }
@@ -30453,7 +30457,7 @@ const iN = (e) => {
30453
30457
  l([
30454
30458
  ...h,
30455
30459
  {
30456
- id: De(),
30460
+ id: we(),
30457
30461
  message: `Order creation failed: ${I.message}`,
30458
30462
  status: "error"
30459
30463
  }
@@ -30765,7 +30769,7 @@ const iN = (e) => {
30765
30769
  }) => {
30766
30770
  const { isAntistock: s } = Re(), { setNotifications: c, notifications: l } = vt(), { setIsOpen: h } = Je(), [f, m] = Ce(null), [p, g] = Ce(""), [_, y] = Ce(""), [C, x] = Ce(
30767
30771
  n.map((j) => j.id.toString())
30768
- ), [T, w] = Ce(!1), [I, S] = Ce({}), P = Qn(null), B = Qn(null), U = Qn(null), D = Xn(() => _.trim() ? new Vl(n, {
30772
+ ), [T, w] = Ce(!1), [I, S] = Ce({}), P = Jn(null), B = Jn(null), U = Jn(null), D = Kn(() => _.trim() ? new Vl(n, {
30769
30773
  keys: ["name"],
30770
30774
  threshold: 0.3
30771
30775
  }).search(_).map((K) => K.item) : n, [n, _]), F = (j) => {
@@ -30784,7 +30788,7 @@ const iN = (e) => {
30784
30788
  c([
30785
30789
  ...l,
30786
30790
  {
30787
- id: De(),
30791
+ id: we(),
30788
30792
  message: "Missing required information",
30789
30793
  status: "error"
30790
30794
  }
@@ -30797,12 +30801,12 @@ const iN = (e) => {
30797
30801
  imageId: parseInt(f.id),
30798
30802
  productIds: C.map((se) => parseInt(se)),
30799
30803
  comment: p.trim(),
30800
- tsId: De()
30804
+ tsId: we()
30801
30805
  };
30802
30806
  await lf(ie, a, r, u), c([
30803
30807
  ...l,
30804
30808
  {
30805
- id: De(),
30809
+ id: we(),
30806
30810
  message: "Vouch submitted successfully",
30807
30811
  status: "success"
30808
30812
  }
@@ -30818,7 +30822,7 @@ const iN = (e) => {
30818
30822
  c([
30819
30823
  ...l,
30820
30824
  {
30821
- id: De(),
30825
+ id: we(),
30822
30826
  message: se,
30823
30827
  status: "error",
30824
30828
  label: oe
@@ -31102,7 +31106,7 @@ const iN = (e) => {
31102
31106
  SkeletonReferralBlock: S0,
31103
31107
  StatItem: Gt,
31104
31108
  StatusIndicator: w0,
31105
- StatusVariant: Jn,
31109
+ StatusVariant: er,
31106
31110
  SubmitReview: y2,
31107
31111
  SubscriptionCoupon: vD,
31108
31112
  SubscriptionExpiration: T2,
@@ -31136,7 +31140,7 @@ const iN = (e) => {
31136
31140
  footer: WP,
31137
31141
  loaderContainer: YP
31138
31142
  }, jP = () => {
31139
- const { id: e } = Is(), [t, n] = Fl(), [r, u] = Ce(!1), [a, i] = Ce(), [s, c] = Ce(!0), l = hn(), h = Qn(), f = Qn(!1), { setIsOpen: m } = Je(), { isAntistock: p } = Re();
31143
+ const { id: e } = Is(), [t, n] = Fl(), [r, u] = Ce(!1), [a, i] = Ce(), [s, c] = Ce(!0), l = hn(), h = Jn(), f = Jn(!1), { setIsOpen: m } = Je(), { isAntistock: p } = Re();
31140
31144
  return yn(() => {
31141
31145
  const g = async (y, C = !1) => {
31142
31146
  C || u(!0);
@@ -31153,14 +31157,14 @@ const iN = (e) => {
31153
31157
  var y;
31154
31158
  console.log("charge timeout", a);
31155
31159
  const _ = t.get("redirectRoute");
31156
- if ((a == null ? void 0 : a.status) === Ne.Paid && a.redirectUrl && !h.current) {
31160
+ if ((a == null ? void 0 : a.status) === ve.Paid && a.redirectUrl && !h.current) {
31157
31161
  const x = JSON.parse(localStorage.getItem("orders") || "{}")[((y = a == null ? void 0 : a.order) == null ? void 0 : y.id) || ""];
31158
31162
  x ? window.open(
31159
31163
  x.fullAccessToken ? `${a.redirectUrl}/${x.fullAccessToken}` : `${a.redirectUrl}`,
31160
31164
  "_self"
31161
31165
  ) : window.open(a.redirectUrl, "_self");
31162
31166
  }
31163
- (a == null ? void 0 : a.status) === Ne.Paid && h.current && (console.log("redirectRouteRef.current", h.current), l(h.current, {
31167
+ (a == null ? void 0 : a.status) === ve.Paid && h.current && (console.log("redirectRouteRef.current", h.current), l(h.current, {
31164
31168
  replace: !0
31165
31169
  })), _ && h && (h.current = _, t.delete("redirectRoute"), n(t));
31166
31170
  }, 1e3);
@@ -31169,7 +31173,7 @@ const iN = (e) => {
31169
31173
  ((a == null ? void 0 : a.gateway) === "PayPalFF" || (a == null ? void 0 : a.gateway) === "Сashapp") && m(!0);
31170
31174
  }, [a]), $.useEffect(() => {
31171
31175
  var g;
31172
- if (a != null && a.displayPaymentInfo && a.displayPaymentInfo.length === 1 && a.status === Ne.NotPaid && !f.current) {
31176
+ if (a != null && a.displayPaymentInfo && a.displayPaymentInfo.length === 1 && a.status === ve.NotPaid && !f.current) {
31173
31177
  const _ = a.displayPaymentInfo[0];
31174
31178
  _.type === "Button" && ((g = _.props) != null && g.url) && (window.open(_.props.url, "_blank"), f.current = !0);
31175
31179
  }
@@ -31187,7 +31191,7 @@ const iN = (e) => {
31187
31191
  [rn.antistockContent]: p
31188
31192
  }),
31189
31193
  children: [
31190
- a && (a == null ? void 0 : a.status) !== Ne.NotPaid && /* @__PURE__ */ o(p2, { charge: a }),
31194
+ a && (a == null ? void 0 : a.status) !== ve.NotPaid && /* @__PURE__ */ o(p2, { charge: a }),
31191
31195
  a && /* @__PURE__ */ b(
31192
31196
  "div",
31193
31197
  {
@@ -31204,7 +31208,7 @@ const iN = (e) => {
31204
31208
  paymentType: a.gateway
31205
31209
  }
31206
31210
  ),
31207
- p && (a == null ? void 0 : a.status) === Ne.NotPaid && /* @__PURE__ */ o("div", { className: rn.antistockPayNow, children: a == null ? void 0 : a.displayPaymentInfo.map((g, _) => /* @__PURE__ */ o(
31211
+ p && (a == null ? void 0 : a.status) === ve.NotPaid && /* @__PURE__ */ o("div", { className: rn.antistockPayNow, children: a == null ? void 0 : a.displayPaymentInfo.map((g, _) => /* @__PURE__ */ o(
31208
31212
  Da,
31209
31213
  {
31210
31214
  block: g
@@ -31218,7 +31222,7 @@ const iN = (e) => {
31218
31222
  ]
31219
31223
  }
31220
31224
  ),
31221
- !p && (a == null ? void 0 : a.status) === Ne.NotPaid && /* @__PURE__ */ o("div", { className: rn.notPaidSection, children: a == null ? void 0 : a.displayPaymentInfo.map((g, _) => /* @__PURE__ */ o(
31225
+ !p && (a == null ? void 0 : a.status) === ve.NotPaid && /* @__PURE__ */ o("div", { className: rn.notPaidSection, children: a == null ? void 0 : a.displayPaymentInfo.map((g, _) => /* @__PURE__ */ o(
31222
31226
  Da,
31223
31227
  {
31224
31228
  block: g
@@ -31296,7 +31300,7 @@ export {
31296
31300
  lR as e,
31297
31301
  cR as f,
31298
31302
  Oa as g,
31299
- Ne as h,
31303
+ ve as h,
31300
31304
  Hs as i,
31301
31305
  bL as j,
31302
31306
  b2 as k,