@spot-flow/checkout-inline-js 0.3.4-dev.1 → 0.3.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.
@@ -58,14 +58,14 @@ let U = class extends Error {
58
58
  super(e), this.name = "AuthorizationError";
59
59
  }
60
60
  };
61
- const Ne = (n, e, t) => {
61
+ const Oe = (n, e, t) => {
62
62
  if (!n)
63
63
  throw new Ee("Missing authorization token");
64
64
  const i = new Headers();
65
65
  return t || i.append("Content-Type", "application/json"), i.append("Authorization", `Bearer ${n}`), i.append("Origin", "https://sdk.spotflow.co"), e && i.append("Spotflow-Payment-Code", e), i;
66
- }, Oe = "https://api.spotflow.co/api/v1", dl = async (n, e, t, i) => {
66
+ }, Ue = "https://api.spotflow.co/api/v1", dl = async (n, e, t, i) => {
67
67
  try {
68
- const s = Ne(n, t), a = await fetch(`${ue(Oe, i)}/payments`, {
68
+ const s = Oe(n, t), a = await fetch(`${ue(Ue, i)}/payments`, {
69
69
  method: "POST",
70
70
  headers: s,
71
71
  body: JSON.stringify(e)
@@ -83,8 +83,8 @@ const Ne = (n, e, t) => {
83
83
  }
84
84
  }, ri = async (n, e, t, i) => {
85
85
  try {
86
- const s = Ne(n, t), a = await fetch(
87
- `${ue(Oe, i)}/payments/authorize`,
86
+ const s = Oe(n, t), a = await fetch(
87
+ `${ue(Ue, i)}/payments/authorize`,
88
88
  {
89
89
  method: "POST",
90
90
  headers: s,
@@ -104,7 +104,7 @@ const Ne = (n, e, t) => {
104
104
  }
105
105
  }, ns = async (n, e, t, i) => {
106
106
  try {
107
- const s = Ne(n, t), a = await fetch(`${ue(Oe, i)}/payments`, {
107
+ const s = Oe(n, t), a = await fetch(`${ue(Ue, i)}/payments`, {
108
108
  method: "POST",
109
109
  headers: s,
110
110
  body: JSON.stringify(e)
@@ -122,7 +122,7 @@ const Ne = (n, e, t) => {
122
122
  }
123
123
  }, ul = async (n, e, t, i) => {
124
124
  try {
125
- const s = Ne(n, t), a = await fetch(`${ue(Oe, i)}/payments`, {
125
+ const s = Oe(n, t), a = await fetch(`${ue(Ue, i)}/payments`, {
126
126
  method: "POST",
127
127
  headers: s,
128
128
  body: JSON.stringify(e)
@@ -140,7 +140,7 @@ const Ne = (n, e, t) => {
140
140
  }
141
141
  }, hl = async (n, e, t, i) => {
142
142
  try {
143
- const s = Ne(n, t), a = await fetch(`${ue(Oe, i)}/payments`, {
143
+ const s = Oe(n, t), a = await fetch(`${ue(Ue, i)}/payments`, {
144
144
  method: "POST",
145
145
  headers: s,
146
146
  body: JSON.stringify(e)
@@ -158,8 +158,8 @@ const Ne = (n, e, t) => {
158
158
  }
159
159
  }, $e = async (n, e, t, i, s) => {
160
160
  try {
161
- const a = Ne(n, i), o = await fetch(
162
- `${ue(Oe, s)}/payments/verify?reference=${e}`,
161
+ const a = Oe(n, i), o = await fetch(
162
+ `${ue(Ue, s)}/payments/verify?reference=${e}`,
163
163
  {
164
164
  method: "GET",
165
165
  headers: a,
@@ -179,10 +179,10 @@ const Ne = (n, e, t) => {
179
179
  }
180
180
  };
181
181
  async function ml(n, e, t, i, s) {
182
- const a = Ne(n, t);
182
+ const a = Oe(n, t);
183
183
  try {
184
184
  const o = await fetch(
185
- `${ue(Oe, i)}/mobile-money/providers?currency=${s || e}`,
185
+ `${ue(Ue, i)}/mobile-money/providers?currency=${s || e}`,
186
186
  {
187
187
  headers: a,
188
188
  method: "GET"
@@ -199,8 +199,8 @@ async function ml(n, e, t, i, s) {
199
199
  }
200
200
  const pl = async (n, e, t, i) => {
201
201
  try {
202
- const s = Ne(n, t), a = await fetch(
203
- `${ue(Oe, i)}/payments/cancel`,
202
+ const s = Oe(n, t), a = await fetch(
203
+ `${ue(Ue, i)}/payments/cancel`,
204
204
  {
205
205
  method: "POST",
206
206
  headers: s,
@@ -219,8 +219,8 @@ const pl = async (n, e, t, i) => {
219
219
  }
220
220
  }, vl = async (n, e, t, i) => {
221
221
  try {
222
- const s = Ne(n, t, !0), a = await fetch(
223
- `${ue(Oe, i)}/disputes/upload-documents`,
222
+ const s = Oe(n, t, !0), a = await fetch(
223
+ `${ue(Ue, i)}/disputes/upload-documents`,
224
224
  {
225
225
  method: "POST",
226
226
  headers: s,
@@ -237,8 +237,8 @@ const pl = async (n, e, t, i) => {
237
237
  }
238
238
  }, bl = async (n, e, t, i) => {
239
239
  try {
240
- const s = Ne(n, t), a = await fetch(
241
- `${ue(Oe, i)}/disputes/reference`,
240
+ const s = Oe(n, t), a = await fetch(
241
+ `${ue(Ue, i)}/disputes/reference`,
242
242
  {
243
243
  method: "POST",
244
244
  headers: s,
@@ -255,7 +255,7 @@ const pl = async (n, e, t, i) => {
255
255
  }
256
256
  }, pt = async (n, e, t, i) => {
257
257
  try {
258
- const s = Ne(n, t), a = await fetch(`${ue(Oe, i)}/payments/retry`, {
258
+ const s = Oe(n, t), a = await fetch(`${ue(Ue, i)}/payments/retry`, {
259
259
  method: "POST",
260
260
  headers: s,
261
261
  body: JSON.stringify(e)
@@ -274,8 +274,8 @@ const pl = async (n, e, t, i) => {
274
274
  };
275
275
  async function fl(n, e, t, i, s) {
276
276
  try {
277
- const a = Ne(n, i), o = await fetch(
278
- `${ue(Oe, s)}/payments/tax-quotes?amount=${e || ""}&currency=${t || ""}`,
277
+ const a = Oe(n, i), o = await fetch(
278
+ `${ue(Ue, s)}/payments/tax-quotes?amount=${e || ""}&currency=${t || ""}`,
279
279
  {
280
280
  headers: a,
281
281
  method: "GET"
@@ -292,8 +292,8 @@ async function fl(n, e, t, i, s) {
292
292
  }
293
293
  const gl = async (n, e, t, i) => {
294
294
  try {
295
- const s = Ne(n, t), a = await fetch(
296
- `${ue(Oe, i)}/payments/charge?reference=${e}`,
295
+ const s = Oe(n, t), a = await fetch(
296
+ `${ue(Ue, i)}/payments/charge?reference=${e}`,
297
297
  {
298
298
  method: "POST",
299
299
  headers: s
@@ -334,8 +334,8 @@ const gl = async (n, e, t, i) => {
334
334
  }
335
335
  }, Cl = async (n, e, t) => {
336
336
  try {
337
- const i = Ne(n, e), s = await fetch(
338
- `${ue(Oe, t)}/stablecoins/assets`,
337
+ const i = Oe(n, e), s = await fetch(
338
+ `${ue(Ue, t)}/stablecoins/assets`,
339
339
  {
340
340
  method: "GET",
341
341
  headers: i
@@ -349,10 +349,10 @@ const gl = async (n, e, t, i) => {
349
349
  } catch (i) {
350
350
  throw i instanceof U ? console.error(`FetchError: ${i.message} (status: ${i.status})`) : i instanceof Ee ? console.error(`AuthorizationError: ${i.message}`) : console.error(`Unexpected error: ${i}`), i;
351
351
  }
352
- }, Sl = async (n, e, t) => {
352
+ }, wl = async (n, e, t) => {
353
353
  try {
354
- const i = Ne(n, e), s = await fetch(
355
- `${ue(Oe, t)}/stablecoins/chains`,
354
+ const i = Oe(n, e), s = await fetch(
355
+ `${ue(Ue, t)}/stablecoins/chains`,
356
356
  {
357
357
  method: "GET",
358
358
  headers: i
@@ -997,8 +997,179 @@ const Os = [
997
997
 
998
998
  `,
999
999
  language: "fr"
1000
+ },
1001
+ {
1002
+ name: "UGX",
1003
+ dialCode: "+256",
1004
+ length: "9",
1005
+ cardTypes: [],
1006
+ allowsZeros: !1,
1007
+ icon: `<svg width="33" height="33" viewBox="0 0 33 33" fill="none" xmlns="http://www.w3.org/2000/svg">
1008
+ <g clip-path="url(#clip0_3333_3041)">
1009
+ <path d="M28.5876 27.2999C31.1817 24.4019 32.7598 20.5755 32.7598 16.38C32.7598 12.1844 31.1816 8.35799 28.5875 5.46003L16.3799 4.27313L4.17226 5.46003C1.57816 8.35799 0 12.1844 0 16.38C0 20.5755 1.5781 24.4019 4.1722 27.2999L16.3799 28.4868L28.5876 27.2999Z" fill="#FFDA44"/>
1010
+ <path d="M4.17285 5.46002H28.5882C25.5889 2.10937 21.2313 7.62939e-05 16.3805 7.62939e-05C11.5297 7.62939e-05 7.17203 2.10937 4.17285 5.46002Z" fill="black"/>
1011
+ <path d="M0 16.3799L16.3799 17.8043L32.7598 16.3799C32.7598 14.4653 32.4302 12.6278 31.8264 10.9199H0.933398C0.329581 12.6278 0 14.4653 0 16.3799H0Z" fill="#D80027"/>
1012
+ <path d="M0.933398 21.8399H31.8265C32.4302 20.132 32.7598 18.2946 32.7598 16.3799H0C0 18.2946 0.329581 20.132 0.933398 21.8399Z" fill="black"/>
1013
+ <path d="M28.5882 27.2998H4.17285C7.17203 30.6505 11.5297 32.7598 16.3805 32.7598C21.2314 32.7598 25.589 30.6505 28.5882 27.2998Z" fill="#D80027"/>
1014
+ <path d="M21.8458 16.3799C21.8458 19.3989 19.3989 21.8458 16.38 21.8458C13.361 21.8458 10.9141 19.3989 10.9141 16.3799C10.9141 13.361 13.361 10.914 16.38 10.914C19.3989 10.914 21.8458 13.361 21.8458 16.3799Z" fill="#F0F0F0"/>
1015
+ <path d="M18.3824 16.6587L16.38 15.791C16.38 15.791 16.8485 14.236 16.8735 14.1296C16.8917 14.0519 16.9014 13.9708 16.9014 13.8875C16.9014 13.5925 16.7818 13.3254 16.5885 13.1322L17.092 12.6286C16.7699 12.3065 16.3247 12.1071 15.8331 12.1071C15.3414 12.1071 14.8963 12.3064 14.5741 12.6286L15.0777 13.1322C14.8843 13.3255 14.7648 13.5925 14.7648 13.8875C14.7648 13.9954 14.7811 14.0994 14.8109 14.1976L14.0527 14.9556H15.4307C15.4307 14.9556 14.861 15.8114 14.55 16.5141C14.2389 17.2168 14.5542 18.0746 15.273 18.3941L15.6887 18.5789L16.38 19.2287V19.9408L15.6679 20.653H17.0922V19.2286L17.7421 18.5787H19.0863C19.0927 18.5654 19.0995 18.5523 19.1057 18.5386C19.425 17.8199 19.1013 16.9781 18.3824 16.6587Z" fill="black"/>
1016
+ </g>
1017
+ <defs>
1018
+ <clipPath id="clip0_3333_3041">
1019
+ <rect width="32.7598" height="32.7598" fill="white"/>
1020
+ </clipPath>
1021
+ </defs>
1022
+ </svg>
1023
+
1024
+ `,
1025
+ language: "en"
1026
+ },
1027
+ {
1028
+ name: "RWF",
1029
+ dialCode: "+250",
1030
+ length: "9",
1031
+ cardTypes: [],
1032
+ allowsZeros: !1,
1033
+ icon: `<svg width="33" height="33" viewBox="0 0 33 33" fill="none" xmlns="http://www.w3.org/2000/svg">
1034
+ <g clip-path="url(#clip0_3333_2598)">
1035
+ <path d="M0 16.3799C0 19.2176 0.721931 21.8866 1.99163 24.2138L16.3799 25.6381L30.7681 24.2138C32.0378 21.8866 32.7598 19.2176 32.7598 16.3799L16.3799 14.9555L0 16.3799Z" fill="#FFDA44"/>
1036
+ <path d="M30.7681 8.54601C27.99 3.45443 22.5886 0 16.3799 0C10.1712 0 4.76975 3.45443 1.99163 8.54601C0.721931 10.8732 0 13.5422 0 16.3799H32.7598C32.7598 13.5422 32.0378 10.8732 30.7681 8.54601Z" fill="#338AF3"/>
1037
+ <path d="M16.3795 32.7597C22.5882 32.7597 27.9896 29.3053 30.7677 24.2137H1.99121C4.76933 29.3053 10.1708 32.7597 16.3795 32.7597Z" fill="#496E2D"/>
1038
+ <path d="M18.5156 9.58613L20.5161 10.5271L19.4509 12.4646L21.6231 12.0491L21.8984 14.2434L23.4114 12.6295L24.9244 14.2434L25.1996 12.0491L27.3719 12.4645L26.3067 10.5271L28.3071 9.58613L26.3066 8.64525L27.3719 6.70782L25.1997 7.12333L24.9244 4.929L23.4114 6.54293L21.8983 4.929L21.6231 7.12333L19.4508 6.70782L20.5161 8.64532L18.5156 9.58613Z" fill="#FFDA44"/>
1039
+ </g>
1040
+ <defs>
1041
+ <clipPath id="clip0_3333_2598">
1042
+ <rect width="32.7598" height="32.7598" fill="white"/>
1043
+ </clipPath>
1044
+ </defs>
1045
+ </svg>
1046
+
1047
+
1048
+ `,
1049
+ language: "en"
1050
+ },
1051
+ {
1052
+ name: "SLE",
1053
+ dialCode: "+232",
1054
+ length: "8",
1055
+ cardTypes: [],
1056
+ allowsZeros: !0,
1057
+ icon: `<svg width="33" height="33" viewBox="0 0 33 33" fill="none" xmlns="http://www.w3.org/2000/svg">
1058
+ <g clip-path="url(#clip0_3333_2698)">
1059
+ <path d="M31.741 22.0773C32.3994 20.3029 32.7598 18.3836 32.7598 16.38C32.7598 14.3764 32.3994 12.4571 31.741 10.6827L16.3799 9.25833L1.01882 10.6827C0.360357 12.4571 0 14.3764 0 16.38C0 18.3836 0.360357 20.3029 1.01882 22.0773L16.3799 23.5017L31.741 22.0773Z" fill="#F0F0F0"/>
1060
+ <path d="M16.3797 32.7599C23.4224 32.7599 29.4264 28.3148 31.7407 22.0773H1.01855C3.33298 28.3148 9.33685 32.7599 16.3797 32.7599Z" fill="#338AF3"/>
1061
+ <path d="M16.3797 8.39233e-05C9.33685 8.39233e-05 3.33298 4.44518 1.01855 10.6826H31.7408C29.4264 4.44518 23.4224 8.39233e-05 16.3797 8.39233e-05Z" fill="#6DA544"/>
1062
+ </g>
1063
+ <defs>
1064
+ <clipPath id="clip0_3333_2698">
1065
+ <rect width="32.7598" height="32.7598" fill="white"/>
1066
+ </clipPath>
1067
+ </defs>
1068
+ </svg>
1069
+ `,
1070
+ language: "en"
1071
+ },
1072
+ {
1073
+ name: "MZN",
1074
+ dialCode: "+258",
1075
+ length: "8",
1076
+ cardTypes: [],
1077
+ allowsZeros: !1,
1078
+ icon: `<svg width="33" height="33" viewBox="0 0 33 33" fill="none" xmlns="http://www.w3.org/2000/svg">
1079
+ <g clip-path="url(#clip0_3333_2326)">
1080
+ <path d="M16.3799 32.7597C25.4262 32.7597 32.7598 25.4262 32.7598 16.3798C32.7598 7.33346 25.4262 -6.10352e-05 16.3799 -6.10352e-05C7.33352 -6.10352e-05 0 7.33346 0 16.3798C0 25.4262 7.33352 32.7597 16.3799 32.7597Z" fill="#F0F0F0"/>
1081
+ <path d="M8.85328 22.7893L4.79785 27.9616C7.76184 30.926 11.8564 32.7597 16.3796 32.7597C23.1511 32.7597 28.9617 28.6501 31.4562 22.7893H8.85328Z" fill="#FFDA44"/>
1082
+ <path d="M31.4817 10.0296C29.0011 4.13727 23.174 -6.10352e-05 16.3796 -6.10352e-05C11.8564 -6.10352e-05 7.76184 1.83365 4.79785 4.79803L8.89986 10.0296H31.4817Z" fill="#496E2D"/>
1083
+ <path d="M3.56055 12.0475V20.6528H32.1953C32.5627 19.2905 32.7595 17.8583 32.7595 16.3798C32.7595 14.8799 32.5574 13.4275 32.1797 12.0475H3.56055Z" fill="black"/>
1084
+ <path d="M4.79755 4.79749C-1.59918 11.1942 -1.59918 21.5654 4.79755 27.9622C7.44092 25.3189 9.98319 22.7766 16.3799 16.3799L4.79755 4.79749Z" fill="#A2001D"/>
1085
+ <path d="M6.62961 12.1068L7.69014 15.371H11.1226L8.34585 17.3885L9.40632 20.6529L6.62961 18.6354L3.85277 20.6529L4.91349 17.3885L2.13672 15.371H5.56894L6.62961 12.1068Z" fill="#FFDA44"/>
1086
+ <path d="M3.52637 16.3798H9.73434V19.2285H3.52637V16.3798Z" fill="#F0F0F0"/>
1087
+ <path d="M10.9093 13.114L9.90208 12.1068L6.62943 15.3794L3.35678 12.1068L2.34961 13.114L5.62514 16.3837L2.34961 19.6593L3.35678 20.6529L6.62943 17.3861L9.90208 20.6529L10.9093 19.6593L7.63372 16.3837L10.9093 13.114Z" fill="black"/>
1088
+ </g>
1089
+ <defs>
1090
+ <clipPath id="clip0_3333_2326">
1091
+ <rect width="32.7598" height="32.7598" fill="white"/>
1092
+ </clipPath>
1093
+ </defs>
1094
+ </svg>
1095
+
1096
+ `,
1097
+ language: "pt"
1098
+ },
1099
+ {
1100
+ name: "CDF",
1101
+ dialCode: "+243",
1102
+ length: "8",
1103
+ cardTypes: [],
1104
+ allowsZeros: !0,
1105
+ icon: `<svg width="33" height="33" viewBox="0 0 33 33" fill="none" xmlns="http://www.w3.org/2000/svg">
1106
+ <g clip-path="url(#clip0_3333_1663)">
1107
+ <path d="M30.9414 8.86917C30.1845 7.40272 29.1924 6.0263 27.9632 4.79704C26.7338 3.56772 25.3574 2.57565 23.891 1.81885L12.3515 12.351L1.81934 23.8904C2.5762 25.3569 3.56827 26.7334 4.79753 27.9626C6.02679 29.1919 7.40328 30.1839 8.86966 30.9408L20.4091 20.4086L30.9414 8.86917Z" fill="#FFDA44"/>
1108
+ <path d="M4.79742 27.9627C5.48454 28.6498 6.21773 29.2626 6.98676 29.8022L29.8024 6.98644C29.263 6.21741 28.6501 5.48422 27.963 4.7971C27.2758 4.10997 26.5427 3.4972 25.7737 2.95769L2.95801 25.7733C3.49746 26.5422 4.11023 27.2755 4.79742 27.9627Z" fill="#D80027"/>
1109
+ <path d="M4.79714 4.79703C-0.370652 9.96482 -1.36272 17.7259 1.81894 23.8905L23.8906 1.8189C17.726 -1.3627 9.96486 -0.370505 4.79714 4.79703Z" fill="#338AF3"/>
1110
+ <path d="M27.9625 27.9627C33.1302 22.795 34.1223 15.0339 30.9408 8.86935L8.86914 30.9409C15.0337 34.1225 22.7949 33.1305 27.9625 27.9627Z" fill="#338AF3"/>
1111
+ <path d="M8.72969 4.98468L9.61357 7.70508H12.4739L10.1599 9.38633L11.0437 12.1067L8.72969 10.4254L6.41552 12.1067L7.29952 9.38633L4.98535 7.70508H7.84569L8.72969 4.98468Z" fill="#FFDA44"/>
1112
+ </g>
1113
+ <defs>
1114
+ <clipPath id="clip0_3333_1663">
1115
+ <rect width="32.7598" height="32.7598" fill="white"/>
1116
+ </clipPath>
1117
+ </defs>
1118
+ </svg>
1119
+
1120
+ `,
1121
+ language: "fr"
1122
+ },
1123
+ {
1124
+ name: "LSL",
1125
+ dialCode: "+266",
1126
+ length: "8",
1127
+ cardTypes: [],
1128
+ allowsZeros: !1,
1129
+ icon: `<svg width="33" height="33" viewBox="0 0 33 33" fill="none" xmlns="http://www.w3.org/2000/svg">
1130
+ <g clip-path="url(#clip0_3333_2128)">
1131
+ <path d="M0 16.3799C0 18.9322 0.583981 21.3481 1.62532 23.5016L16.3799 24.2138L31.1345 23.5016C32.1758 21.3481 32.7598 18.9322 32.7598 16.3799C32.7598 13.8276 32.1758 11.4117 31.1345 9.25823L16.3799 8.54602L1.62532 9.25816C0.583981 11.4117 0 13.8276 0 16.3799H0Z" fill="#F0F0F0"/>
1132
+ <path d="M16.3796 32.7599C22.8735 32.7599 28.4847 28.9807 31.1341 23.5017H1.625C4.27445 28.9807 9.88558 32.7599 16.3796 32.7599Z" fill="#6DA544"/>
1133
+ <path d="M16.3796 4.57764e-05C9.88558 4.57764e-05 4.27445 3.77926 1.625 9.25826H31.1341C28.4847 3.77926 22.8735 4.57764e-05 16.3796 4.57764e-05Z" fill="#0052B4"/>
1134
+ <path d="M17.4474 16.0239V12.107H15.3109V16.0239L12.7305 18.6044C13.4809 19.8329 14.8343 20.653 16.3792 20.653C17.9242 20.653 19.2774 19.8329 20.028 18.6044L17.4474 16.0239Z" fill="black"/>
1135
+ </g>
1136
+ <defs>
1137
+ <clipPath id="clip0_3333_2128">
1138
+ <rect width="32.7598" height="32.7598" fill="white"/>
1139
+ </clipPath>
1140
+ </defs>
1141
+ </svg>
1142
+
1143
+
1144
+ `,
1145
+ language: "en"
1146
+ },
1147
+ {
1148
+ name: "ETB",
1149
+ dialCode: "+251",
1150
+ length: "9",
1151
+ cardTypes: [],
1152
+ allowsZeros: !0,
1153
+ icon: `<svg width="33" height="33" viewBox="0 0 33 33" fill="none" xmlns="http://www.w3.org/2000/svg">
1154
+ <g clip-path="url(#clip0_3333_1766)">
1155
+ <path d="M0 16.3799C0 18.3836 0.360421 20.3029 1.01888 22.0774L16.3799 23.5016L31.7409 22.0773C32.3994 20.3029 32.7598 18.3835 32.7598 16.3799C32.7598 14.4037 32.4097 12.5094 31.7684 10.7554L16.3799 9.25822L0.991367 10.7554C0.350056 12.5094 0 14.4037 0 16.3799H0Z" fill="#FFDA44"/>
1156
+ <path d="M16.3796 32.7598C23.4224 32.7598 29.4263 28.3147 31.7407 22.0772H1.01855C3.33292 28.3147 9.33685 32.7598 16.3796 32.7598Z" fill="#D80027"/>
1157
+ <path d="M16.3796 0C9.33685 0 3.33292 4.44509 1.01855 10.6826H31.7408C29.4263 4.44509 23.4224 0 16.3796 0Z" fill="#6DA544"/>
1158
+ <path d="M16.3798 24.2138C20.7063 24.2138 24.2136 20.7064 24.2136 16.3799C24.2136 12.0534 20.7063 8.54603 16.3798 8.54603C12.0532 8.54603 8.5459 12.0534 8.5459 16.3799C8.5459 20.7064 12.0532 24.2138 16.3798 24.2138Z" fill="#0052B4"/>
1159
+ <path d="M16.3783 10.3136L17.7924 14.666H22.376L18.6664 17.3559L20.0917 21.7211L16.3783 19.0184L12.6705 21.7162L14.0901 17.3559L10.3838 14.666H14.9641L16.3783 10.3136Z" fill="#FFDA44"/>
1160
+ <path d="M22.0183 17.4631L17.532 16.0053L20.3046 12.1893L19.1523 11.352L16.3796 15.1683L13.6071 11.3521L12.4548 12.1893L15.2273 16.0056L10.7412 17.4631L11.1813 18.8178L15.6676 17.3602V22.0772H17.0919V17.3601L21.578 18.8178L22.0183 17.4631Z" fill="#FFDA44"/>
1161
+ </g>
1162
+ <defs>
1163
+ <clipPath id="clip0_3333_1766">
1164
+ <rect width="32.7598" height="32.7598" fill="white"/>
1165
+ </clipPath>
1166
+ </defs>
1167
+ </svg>
1168
+
1169
+ `,
1170
+ language: "en"
1000
1171
  }
1001
- ], wl = `<div data-section="card">
1172
+ ], Sl = `<div data-section="card">
1002
1173
  <form id="checkoutcard">
1003
1174
  <div>
1004
1175
  <div class="container-between">
@@ -1161,7 +1332,7 @@ const ya = {
1161
1332
  terms: "Terms",
1162
1333
  privacy: "Privacy",
1163
1334
  contact: "Contact",
1164
- "error-occured": "An error occured",
1335
+ "error-occured": "An error occurred",
1165
1336
  "transaction-limit": "Transaction limit reached",
1166
1337
  "merchant-email-required": "Merchant key or email is required",
1167
1338
  "no-local-currency": "Local currency is required for USD transactions",
@@ -1202,6 +1373,7 @@ const ya = {
1202
1373
  "long-processing": "Your transaction is being processed and is taking longer than usual to confirm. You don't need to stay on this page",
1203
1374
  "once-confirmed": "we will notify you once it is confirmed",
1204
1375
  "verify-payment": "Verifying Payment"
1376
+ }, Sa = {
1205
1377
  }, Sa = {
1206
1378
  "enter-card-details": "Enter your card details",
1207
1379
  certified: "Certified",
@@ -1236,7 +1408,9 @@ const ya = {
1236
1408
  "error-fetching": "Error fetching bank details",
1237
1409
  "account-expired": "Account Expired",
1238
1410
  "account-expired-desc": " Looks like your account is not valid. Please confirm and try again",
1239
- "transfer-header": "Make a single bank transfer from your bank to this account before it expires.",
1411
+ "transfer-header-1": "Please make a single bank transfer of the",
1412
+ "transfer-header-2": "exact amount shown",
1413
+ "transfer-header-3": "before the account expires to complete your payment successfully.",
1240
1414
  "account-number": "Account Number",
1241
1415
  "made-transfer": "I have made this bank transfer",
1242
1416
  "expiration-text": "This account is for this transaction only and expires in"
@@ -1261,6 +1435,7 @@ const ya = {
1261
1435
  "cancel-payment-desc": "You have cancelled the payment. Go back to merchant website to start the payment process again.",
1262
1436
  "authenticate-request": "Please click the button below to authenticate your payment",
1263
1437
  authenticate: "Authenticate"
1438
+ }, xa = {
1264
1439
  }, xa = {
1265
1440
  "unable-redirect-url": "Unable to get redirect URL",
1266
1441
  "payment-cancelled": "Payment Cancelled",
@@ -1276,7 +1451,7 @@ const ya = {
1276
1451
  "select-chain": "Select chain type",
1277
1452
  "select-asset": "Select asset"
1278
1453
  };
1279
- let wt = {};
1454
+ let St = {};
1280
1455
  const is = (n, e) => {
1281
1456
  const t = Tn.find(
1282
1457
  (i) => i.name === (e || n)
@@ -1682,7 +1857,7 @@ class Pl {
1682
1857
  const Vs = new Pl({
1683
1858
  defaultStyle: "skeleton",
1684
1859
  fadeOpacity: 0.5
1685
- }), xe = (() => {
1860
+ }), Le = (() => {
1686
1861
  let n = navigator == null ? void 0 : navigator.language.split("-")[0].toLowerCase(), e = /* @__PURE__ */ new Map(), t = [], i = 0, s = [], a = !1;
1687
1862
  const o = (g) => {
1688
1863
  n !== g && (n = g, a = !1, l());
@@ -1906,8 +2081,9 @@ class Ks {
1906
2081
  ".details-form-button"
1907
2082
  ), l = document.querySelector("#checkoutcard"), d = this.container.querySelector(
1908
2083
  "#enter-details-text"
1909
- ), p = this.container.querySelector("#certified-text"), m = this.container.querySelector(
2084
+ ), m = this.container.querySelector("#certified-text"), p = this.container.querySelector(
1910
2085
  "#card-confirmation-text-one"
2086
+ ), y = this.container.querySelector(
1911
2087
  ), y = this.container.querySelector(
1912
2088
  "#card-confirmation-text-two"
1913
2089
  );
@@ -1974,6 +2150,7 @@ class Ks {
1974
2150
  (w) => m.length === w
1975
2151
  );
1976
2152
  this.checkInputValidity(
2153
+ y,
1977
2154
  y,
1978
2155
  i,
1979
2156
  g,
@@ -1983,7 +2160,7 @@ class Ks {
1983
2160
  m.length === C[0] && this.checkInputValidity(
1984
2161
  y,
1985
2162
  i,
1986
- m.length >= 14 && m.length <= 19,
2163
+ p.length >= 14 && p.length <= 19,
1987
2164
  "card-number-invalid"
1988
2165
  );
1989
2166
  } else
@@ -2003,9 +2180,10 @@ class Ks {
2003
2180
  w,
2004
2181
  i,
2005
2182
  y.join("").length === 4,
2183
+ y.join("").length === 4,
2006
2184
  "card-expired"
2007
2185
  );
2008
- } else s === "cvv" ? o = xl(a) : s === "name" && (o = a);
2186
+ } else s === "cvv" ? o = Ll(a) : s === "name" && (o = a);
2009
2187
  if (this.cardDetailsValues = {
2010
2188
  ...this.cardDetailsValues,
2011
2189
  [s]: o
@@ -2095,14 +2273,14 @@ class Ks {
2095
2273
  e && (e.innerHTML = this.merchantName), this.attachListener(), this.hideCardHolderInput();
2096
2274
  }
2097
2275
  render() {
2098
- return wl;
2276
+ return Sl;
2099
2277
  }
2100
2278
  }
2101
2279
  async function Bl(n, e) {
2102
2280
  const t = Uint8Array.from(atob(e), (d) => d.charCodeAt(0)), i = crypto.getRandomValues(new Uint8Array(12)), s = new TextEncoder().encode(n), a = await crypto.subtle.importKey("raw", t, { name: "AES-GCM" }, !1, ["encrypt"]), o = await crypto.subtle.encrypt({ name: "AES-GCM", iv: i }, a, s), l = new Uint8Array(i.length + o.byteLength);
2103
2281
  return l.set(i), l.set(new Uint8Array(o), i.length), btoa(String.fromCharCode.apply(null, l));
2104
2282
  }
2105
- const Rl = `<div id="paymentSuccess">
2283
+ const Hl = `<div id="paymentSuccess">
2106
2284
  <div class="container-center min-h-[30dvh]">
2107
2285
  <div>
2108
2286
  <div class="container-center mb-5">
@@ -2146,7 +2324,7 @@ class Jn {
2146
2324
  t && (this.message ? t.innerHTML = this.message : t.innerHTML = E["payment-success"]), i && (i.innerHTML = E["we-processed"]), s && (s.innerHTML = E.charge), e && (e.innerHTML = `${this.currency !== "USD" ? this.localCurrency : this.currency} ${_e(this.amount)}`);
2147
2325
  }
2148
2326
  render() {
2149
- return Rl;
2327
+ return Hl;
2150
2328
  }
2151
2329
  }
2152
2330
  const Ua = `<div id="paymentWarning">
@@ -2213,7 +2391,7 @@ class en {
2213
2391
  return Ua;
2214
2392
  }
2215
2393
  }
2216
- const Hl = `<div id="checkoutcardotp" data-section="card-otp-validation">
2394
+ const Rl = `<div id="checkoutcardotp" data-section="card-otp-validation">
2217
2395
  <div class="w-full">
2218
2396
  <div id="otp-content" class=" grid gap-4">
2219
2397
  <h5 class="text-black" id="otp-message">
@@ -2289,7 +2467,7 @@ class Nl {
2289
2467
  e && (e.innerHTML = this.otpMessage), this.attachListener();
2290
2468
  }
2291
2469
  render() {
2292
- return Hl;
2470
+ return Rl;
2293
2471
  }
2294
2472
  }
2295
2473
  const Ol = `<div id="checkoutcardpin" data-section="card-pin-validation">
@@ -24515,7 +24693,7 @@ class Gl {
24515
24693
  e && (e.innerHTML = this.translatedTexts["billing-address"]), t && (t.innerHTML = this.translatedTexts.address), i && (i.innerHTML = this.translatedTexts.country), s && (s.innerHTML = this.translatedTexts.state), a && (a.innerHTML = this.translatedTexts.city), o && (o.innerHTML = this.translatedTexts["zip-code"]), l && (l.innerHTML = this.translatedTexts.submit), d && (d.innerHTML = pe.certified);
24516
24694
  const p = this.container.querySelector(
24517
24695
  "input[name='address']"
24518
- ), m = this.container.querySelector(
24696
+ ), p = this.container.querySelector(
24519
24697
  "select[name='country']"
24520
24698
  ), y = this.container.querySelector("input[name='city']"), f = this.container.querySelector(
24521
24699
  "select[name='state']"
@@ -24884,7 +25062,7 @@ const zl = `<div class="relative gap-3 pb-5" id="transaction-issues-form">
24884
25062
  </form>
24885
25063
  </div>
24886
25064
  </div>`;
24887
- class Wl {
25065
+ class Zl {
24888
25066
  constructor(e) {
24889
25067
  c(this, "container");
24890
25068
  c(this, "formValues");
@@ -24902,7 +25080,7 @@ class Wl {
24902
25080
  };
24903
25081
  }
24904
25082
  attachListener() {
24905
- var w, A;
25083
+ var S, A;
24906
25084
  const e = this.container.querySelector("#trans-reference"), t = this.container.querySelector("#full-name"), i = this.container.querySelector("#email"), s = this.container.querySelector("#reason"), a = this.container.querySelector(
24907
25085
  "#debited-select-field"
24908
25086
  ), o = this.container.querySelector(
@@ -25002,7 +25180,7 @@ class Wl {
25002
25180
  return zl;
25003
25181
  }
25004
25182
  }
25005
- function De(n, e, t) {
25183
+ function Be(n, e, t) {
25006
25184
  const s = e.get("spf-redirect-url") || t;
25007
25185
  s && setTimeout(() => {
25008
25186
  const a = new URL(s);
@@ -25054,7 +25232,7 @@ class vt {
25054
25232
  this.container.innerHTML = this.renderSuccessComponent();
25055
25233
  const s = document.querySelector("#go-back-merchant");
25056
25234
  s && s.addEventListener("click", () => {
25057
- De(
25235
+ Be(
25058
25236
  this.paymentResponse,
25059
25237
  this.paymentResponseHeaders,
25060
25238
  this.callbackUrl
@@ -25064,7 +25242,7 @@ class vt {
25064
25242
  this.container.innerHTML = this.renderErrorComponent();
25065
25243
  const s = document.querySelector("#go-back-merchant");
25066
25244
  s && s.addEventListener("click", () => {
25067
- De(
25245
+ Be(
25068
25246
  this.paymentResponse,
25069
25247
  this.paymentResponseHeaders,
25070
25248
  this.callbackUrl
@@ -25125,7 +25303,7 @@ class vt {
25125
25303
  ), i = document.querySelector("#main-footer");
25126
25304
  switch (e && (e.style.display = "none"), t && t.classList.remove("box-container"), i && (i.style.display = "none"), this.currentStep) {
25127
25305
  case 1:
25128
- this.transactionIssuesForm = new Wl({
25306
+ this.transactionIssuesForm = new Zl({
25129
25307
  container: this.container,
25130
25308
  uploadEvidenceFile: this.uploadEvidenceFile.bind(this),
25131
25309
  onAction: this.submitDisputeForm.bind(this),
@@ -25136,11 +25314,11 @@ class vt {
25136
25314
  this.attachListener();
25137
25315
  }
25138
25316
  }
25139
- var Se;
25317
+ var we;
25140
25318
  (function(n) {
25141
25319
  n[n.Document = 0] = "Document", n[n.DocumentType = 1] = "DocumentType", n[n.Element = 2] = "Element", n[n.Text = 3] = "Text", n[n.CDATA = 4] = "CDATA", n[n.Comment = 5] = "Comment";
25142
- })(Se || (Se = {}));
25143
- function Zl(n) {
25320
+ })(we || (we = {}));
25321
+ function Wl(n) {
25144
25322
  return n.nodeType === n.ELEMENT_NODE;
25145
25323
  }
25146
25324
  function kt(n) {
@@ -25243,7 +25421,7 @@ function ss({ element: n, maskInputOptions: e, tagName: t, type: i, value: s, ma
25243
25421
  const l = i && Wn(i);
25244
25422
  return (e[t.toLowerCase()] || l && e[l]) && (a ? o = a(o, n) : o = "*".repeat(o.length)), o;
25245
25423
  }
25246
- function Wn(n) {
25424
+ function Zn(n) {
25247
25425
  return n.toLowerCase();
25248
25426
  }
25249
25427
  const Gs = "__rrweb_original__";
@@ -25262,7 +25440,7 @@ function nc(n) {
25262
25440
  }
25263
25441
  function as(n) {
25264
25442
  const e = n.type;
25265
- return n.hasAttribute("data-rr-is-password") ? "password" : e ? Wn(e) : null;
25443
+ return n.hasAttribute("data-rr-is-password") ? "password" : e ? Zn(e) : null;
25266
25444
  }
25267
25445
  function Ka(n, e) {
25268
25446
  var t;
@@ -25283,7 +25461,7 @@ function Ga() {
25283
25461
  function sc(n) {
25284
25462
  if (n instanceof HTMLFormElement)
25285
25463
  return "form";
25286
- const e = Wn(n.tagName);
25464
+ const e = Zn(n.tagName);
25287
25465
  return ic.test(e) ? "div" : e;
25288
25466
  }
25289
25467
  function ac(n) {
@@ -25463,20 +25641,20 @@ function fc(n, e) {
25463
25641
  switch (n.nodeType) {
25464
25642
  case n.DOCUMENT_NODE:
25465
25643
  return n.compatMode !== "CSS1Compat" ? {
25466
- type: Se.Document,
25644
+ type: we.Document,
25467
25645
  childNodes: [],
25468
25646
  compatMode: n.compatMode
25469
25647
  } : {
25470
- type: Se.Document,
25648
+ type: we.Document,
25471
25649
  childNodes: []
25472
25650
  };
25473
25651
  case n.DOCUMENT_TYPE_NODE:
25474
25652
  return {
25475
- type: Se.DocumentType,
25653
+ type: we.DocumentType,
25476
25654
  name: n.name,
25477
25655
  publicId: n.publicId,
25478
25656
  systemId: n.systemId,
25479
- rootId: w
25657
+ rootId: S
25480
25658
  };
25481
25659
  case n.ELEMENT_NODE:
25482
25660
  return Cc(n, {
@@ -25496,20 +25674,20 @@ function fc(n, e) {
25496
25674
  case n.TEXT_NODE:
25497
25675
  return yc(n, {
25498
25676
  needsMask: o,
25499
- maskTextFn: p,
25500
- rootId: w
25677
+ maskTextFn: m,
25678
+ rootId: S
25501
25679
  });
25502
25680
  case n.CDATA_SECTION_NODE:
25503
25681
  return {
25504
- type: Se.CDATA,
25682
+ type: we.CDATA,
25505
25683
  textContent: "",
25506
- rootId: w
25684
+ rootId: S
25507
25685
  };
25508
25686
  case n.COMMENT_NODE:
25509
25687
  return {
25510
- type: Se.Comment,
25688
+ type: we.Comment,
25511
25689
  textContent: n.textContent || "",
25512
- rootId: w
25690
+ rootId: S
25513
25691
  };
25514
25692
  default:
25515
25693
  return !1;
@@ -25626,8 +25804,8 @@ function Cc(n, e) {
25626
25804
  function re(n) {
25627
25805
  return n == null ? "" : n.toLowerCase();
25628
25806
  }
25629
- function Sc(n, e) {
25630
- if (e.comment && n.type === Se.Comment)
25807
+ function wc(n, e) {
25808
+ if (e.comment && n.type === we.Comment)
25631
25809
  return !0;
25632
25810
  if (n.type === Se.Element) {
25633
25811
  if (e.script && (n.tagName === "script" || n.tagName === "link" && (n.attributes.rel === "preload" || n.attributes.rel === "modulepreload") && n.attributes.as === "script" || n.tagName === "link" && n.attributes.rel === "prefetch" && typeof n.attributes.href == "string" && Ka(n.attributes.href) === "js"))
@@ -25716,7 +25894,7 @@ function ot(n, e) {
25716
25894
  const we = ot(Ke, ve);
25717
25895
  we && q.childNodes.push(we);
25718
25896
  }
25719
- if (Zl(n) && n.shadowRoot)
25897
+ if (Wl(n) && n.shadowRoot)
25720
25898
  for (const Ke of Array.from(n.shadowRoot.childNodes)) {
25721
25899
  const we = ot(Ke, ve);
25722
25900
  we && (At(n.shadowRoot) && (we.isShadow = !0), q.childNodes.push(we));
@@ -25811,7 +25989,7 @@ function wc(n, e) {
25811
25989
  textarea: !0,
25812
25990
  select: !0,
25813
25991
  password: !0
25814
- } : m === !1 ? {
25992
+ } : p === !1 ? {
25815
25993
  password: !0
25816
25994
  } : m,
25817
25995
  maskTextFn: y,
@@ -25930,7 +26108,7 @@ function Qa() {
25930
26108
  function Ja(n) {
25931
26109
  return n ? n.nodeType === n.ELEMENT_NODE ? n : n.parentElement : null;
25932
26110
  }
25933
- function He(n, e, t, i) {
26111
+ function Ne(n, e, t, i) {
25934
26112
  if (!n)
25935
26113
  return !1;
25936
26114
  const s = Ja(n);
@@ -26014,22 +26192,22 @@ function eo(n) {
26014
26192
  let i = null;
26015
26193
  return ((t = (e = n.getRootNode) === null || e === void 0 ? void 0 : e.call(n)) === null || t === void 0 ? void 0 : t.nodeType) === Node.DOCUMENT_FRAGMENT_NODE && n.getRootNode().host && (i = n.getRootNode().host), i;
26016
26194
  }
26017
- function xc(n) {
26195
+ function Lc(n) {
26018
26196
  let e = n, t;
26019
26197
  for (; t = eo(e); )
26020
26198
  e = t;
26021
26199
  return e;
26022
26200
  }
26023
- function Lc(n) {
26201
+ function xc(n) {
26024
26202
  const e = n.ownerDocument;
26025
26203
  if (!e)
26026
26204
  return !1;
26027
- const t = xc(n);
26205
+ const t = Lc(n);
26028
26206
  return e.contains(t);
26029
26207
  }
26030
26208
  function no(n) {
26031
26209
  const e = n.ownerDocument;
26032
- return e ? e.contains(n) || Lc(n) : !1;
26210
+ return e ? e.contains(n) || xc(n) : !1;
26033
26211
  }
26034
26212
  var X = /* @__PURE__ */ ((n) => (n[n.DomContentLoaded = 0] = "DomContentLoaded", n[n.Load = 1] = "Load", n[n.FullSnapshot = 2] = "FullSnapshot", n[n.IncrementalSnapshot = 3] = "IncrementalSnapshot", n[n.Meta = 4] = "Meta", n[n.Custom = 5] = "Custom", n[n.Plugin = 6] = "Plugin", n))(X || {}), J = /* @__PURE__ */ ((n) => (n[n.Mutation = 0] = "Mutation", n[n.MouseMove = 1] = "MouseMove", n[n.MouseInteraction = 2] = "MouseInteraction", n[n.Scroll = 3] = "Scroll", n[n.ViewportResize = 4] = "ViewportResize", n[n.Input = 5] = "Input", n[n.TouchMove = 6] = "TouchMove", n[n.MediaInteraction = 7] = "MediaInteraction", n[n.StyleSheetRule = 8] = "StyleSheetRule", n[n.CanvasMutation = 9] = "CanvasMutation", n[n.Font = 10] = "Font", n[n.Log = 11] = "Log", n[n.Drag = 12] = "Drag", n[n.StyleDeclaration = 13] = "StyleDeclaration", n[n.Selection = 14] = "Selection", n[n.AdoptedStyleSheet = 15] = "AdoptedStyleSheet", n[n.CustomElement = 16] = "CustomElement", n))(J || {}), Ue = /* @__PURE__ */ ((n) => (n[n.MouseUp = 0] = "MouseUp", n[n.MouseDown = 1] = "MouseDown", n[n.Click = 2] = "Click", n[n.ContextMenu = 3] = "ContextMenu", n[n.DblClick = 4] = "DblClick", n[n.Focus = 5] = "Focus", n[n.Blur = 6] = "Blur", n[n.TouchStart = 7] = "TouchStart", n[n.TouchMove_Departed = 8] = "TouchMove_Departed", n[n.TouchEnd = 9] = "TouchEnd", n[n.TouchCancel = 10] = "TouchCancel", n))(Ue || {}), fn = /* @__PURE__ */ ((n) => (n[n.Mouse = 0] = "Mouse", n[n.Pen = 1] = "Pen", n[n.Touch = 2] = "Touch", n))(fn || {}), ut = /* @__PURE__ */ ((n) => (n[n["2D"] = 0] = "2D", n[n.WebGL = 1] = "WebGL", n[n.WebGL2 = 2] = "WebGL2", n))(ut || {});
26035
26213
  function zs(n) {
@@ -26069,6 +26247,7 @@ class Tc {
26069
26247
  }
26070
26248
  }
26071
26249
  const Ws = (n, e) => `${n}@${e}`;
26250
+ const Ws = (n, e) => `${n}@${e}`;
26072
26251
  class _c {
26073
26252
  constructor() {
26074
26253
  this.frozen = !1, this.locked = !1, this.texts = [], this.attributes = [], this.attributeMap = /* @__PURE__ */ new WeakMap(), this.removes = [], this.mapRemoves = [], this.movedMap = {}, this.addedSet = /* @__PURE__ */ new Set(), this.movedSet = /* @__PURE__ */ new Set(), this.droppedSet = /* @__PURE__ */ new Set(), this.processMutations = (e) => {
@@ -26220,7 +26399,7 @@ class _c {
26220
26399
  maskInputFn: this.maskInputFn
26221
26400
  });
26222
26401
  }
26223
- if (He(e.target, this.blockClass, this.blockSelector, !1) || s === e.oldValue)
26402
+ if (Ne(e.target, this.blockClass, this.blockSelector, !1) || s === e.oldValue)
26224
26403
  return;
26225
26404
  let a = this.attributeMap.get(e.target);
26226
26405
  if (t.tagName === "IFRAME" && i === "src" && !this.keepIframeSrcFn(s))
@@ -26252,7 +26431,7 @@ class _c {
26252
26431
  break;
26253
26432
  }
26254
26433
  case "childList": {
26255
- if (He(e.target, this.blockClass, this.blockSelector, !0))
26434
+ if (Ne(e.target, this.blockClass, this.blockSelector, !0))
26256
26435
  return;
26257
26436
  if (e.target.tagName === "TEXTAREA") {
26258
26437
  this.genTextAreaValueMutation(e.target);
@@ -26277,9 +26456,10 @@ class _c {
26277
26456
  this.movedSet.add(e);
26278
26457
  let i = null;
26279
26458
  t && this.mirror.hasNode(t) && (i = this.mirror.getId(t)), i && i !== -1 && (this.movedMap[Ws(this.mirror.getId(e), i)] = !0);
26459
+ t && this.mirror.hasNode(t) && (i = this.mirror.getId(t)), i && i !== -1 && (this.movedMap[Ws(this.mirror.getId(e), i)] = !0);
26280
26460
  } else
26281
26461
  this.addedSet.add(e), this.droppedSet.delete(e);
26282
- He(e, this.blockClass, this.blockSelector, !1) || (e.childNodes.forEach((i) => this.genAdds(i)), Yi(e) && e.shadowRoot.childNodes.forEach((i) => {
26462
+ Ne(e, this.blockClass, this.blockSelector, !1) || (e.childNodes.forEach((i) => this.genAdds(i)), Yi(e) && e.shadowRoot.childNodes.forEach((i) => {
26283
26463
  this.processedNodeManager.add(i, this), this.genAdds(i, e);
26284
26464
  }));
26285
26465
  }
@@ -26415,10 +26595,10 @@ function Ic({ mousemoveCb: n, sampling: e, doc: t, mirror: i }) {
26415
26595
  }), d(typeof DragEvent < "u" && y instanceof DragEvent ? J.Drag : y instanceof MouseEvent ? J.MouseMove : J.TouchMove);
26416
26596
  }), s, {
26417
26597
  trailing: !1
26418
- })), m = [
26419
- Re("mousemove", p, t),
26420
- Re("touchmove", p, t),
26421
- Re("drag", p, t)
26598
+ })), p = [
26599
+ Re("mousemove", m, t),
26600
+ Re("touchmove", m, t),
26601
+ Re("drag", m, t)
26422
26602
  ];
26423
26603
  return Y(() => {
26424
26604
  m.forEach((y) => y());
@@ -26465,8 +26645,8 @@ function Dc({ mouseInteractionCb: n, doc: e, mirror: t, blockClass: i, blockSele
26465
26645
  case Ue.MouseUp:
26466
26646
  y = y.replace("mouse", "pointer");
26467
26647
  break;
26468
- case Ue.TouchStart:
26469
- case Ue.TouchEnd:
26648
+ case Ve.TouchStart:
26649
+ case Ve.TouchEnd:
26470
26650
  return;
26471
26651
  }
26472
26652
  l.push(Re(y, f, e));
@@ -26483,9 +26663,9 @@ function ao({ scrollCb: n, doc: e, mirror: t, blockClass: i, blockSelector: s, s
26483
26663
  if (d === e && e.defaultView) {
26484
26664
  const m = Wa(e.defaultView);
26485
26665
  n({
26486
- id: p,
26487
- x: m.left,
26488
- y: m.top
26666
+ id: m,
26667
+ x: p.left,
26668
+ y: p.top
26489
26669
  });
26490
26670
  } else
26491
26671
  n({
@@ -26555,6 +26735,7 @@ function Hc({ inputCb: n, doc: e, mirror: t, blockClass: i, blockSelector: s, ig
26555
26735
  ];
26556
26736
  return w && w.set && C.push(...A.map((x) => Mi(x[0], x[1], {
26557
26737
  set() {
26738
+ Y(y)({
26558
26739
  Y(y)({
26559
26740
  target: this,
26560
26741
  isTrusted: !1
@@ -26578,6 +26759,7 @@ function fi(n) {
26578
26759
  }
26579
26760
  return t(n, e);
26580
26761
  }
26762
+ function xn(n, e, t) {
26581
26763
  function xn(n, e, t) {
26582
26764
  let i, s;
26583
26765
  return n ? (n.ownerNode ? i = e.getId(n.ownerNode) : s = t.getId(n), {
@@ -26693,10 +26875,11 @@ function oo({ mirror: n, stylesheetManager: e }, t) {
26693
26875
  const y = (m = d.set) === null || m === void 0 ? void 0 : m.call(this, p);
26694
26876
  if (o !== null && o !== -1)
26695
26877
  try {
26696
- e.adoptStyleSheets(p, o);
26878
+ e.adoptStyleSheets(m, o);
26697
26879
  } catch {
26698
26880
  }
26699
26881
  return y;
26882
+ return y;
26700
26883
  }
26701
26884
  }), Y(() => {
26702
26885
  Object.defineProperty(t, "adoptedStyleSheets", {
@@ -26741,6 +26924,7 @@ function Oc({ styleDeclarationCb: n, mirror: e, ignoreCSSAttributes: t, styleshe
26741
26924
  styleId: v,
26742
26925
  remove: {
26743
26926
  property: y
26927
+ property: y
26744
26928
  },
26745
26929
  index: fi(d.parentRule)
26746
26930
  }), l.apply(d, p);
@@ -26822,7 +27006,7 @@ function Fc(n) {
26822
27006
  endOffset: w
26823
27007
  });
26824
27008
  }
26825
- a({ ranges: p });
27009
+ a({ ranges: m });
26826
27010
  });
26827
27011
  return l(), Re("selectionchange", l);
26828
27012
  }
@@ -26895,7 +27079,7 @@ function jc(n, e = {}) {
26895
27079
  }), n.collectFonts && (v = Vc(n)));
26896
27080
  const C = Fc(n), g = Kc(n), w = [];
26897
27081
  for (const A of n.plugins)
26898
- w.push(A.observer(A.callback, t, A.options));
27082
+ S.push(A.observer(A.callback, t, A.options));
26899
27083
  return Y(() => {
26900
27084
  qn.forEach((A) => A.reset()), i == null || i.disconnect(), s(), a(), o(), l(), d(), p(), m(), y(), f(), v(), C(), g(), w.forEach((A) => A());
26901
27085
  });
@@ -27081,7 +27265,7 @@ class qc {
27081
27265
  });
27082
27266
  }
27083
27267
  patchRootIdOnNode(e, t) {
27084
- e.type !== Se.Document && !e.rootId && (e.rootId = t), "childNodes" in e && e.childNodes.forEach((i) => {
27268
+ e.type !== we.Document && !e.rootId && (e.rootId = t), "childNodes" in e && e.childNodes.forEach((i) => {
27085
27269
  this.patchRootIdOnNode(i, t);
27086
27270
  });
27087
27271
  }
@@ -27140,7 +27324,7 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
27140
27324
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
27141
27325
  PERFORMANCE OF THIS SOFTWARE.
27142
27326
  ***************************************************************************** */
27143
- function Wc(n, e) {
27327
+ function Zc(n, e) {
27144
27328
  var t = {};
27145
27329
  for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && e.indexOf(i) < 0 && (t[i] = n[i]);
27146
27330
  if (n != null && typeof Object.getOwnPropertySymbols == "function")
@@ -27148,7 +27332,7 @@ function Wc(n, e) {
27148
27332
  e.indexOf(i[s]) < 0 && Object.prototype.propertyIsEnumerable.call(n, i[s]) && (t[i[s]] = n[i[s]]);
27149
27333
  return t;
27150
27334
  }
27151
- function Zc(n, e, t, i) {
27335
+ function Wc(n, e, t, i) {
27152
27336
  function s(a) {
27153
27337
  return a instanceof t ? a : new t(function(o) {
27154
27338
  o(a);
@@ -27172,7 +27356,7 @@ function Zc(n, e, t, i) {
27172
27356
  function p(m) {
27173
27357
  m.done ? a(m.value) : s(m.value).then(l, d);
27174
27358
  }
27175
- p((i = i.apply(n, [])).next());
27359
+ m((i = i.apply(n, [])).next());
27176
27360
  });
27177
27361
  }
27178
27362
  var rt = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", Qc = typeof Uint8Array > "u" ? [] : new Uint8Array(256);
@@ -27277,7 +27461,7 @@ function Xc(n, e, t, i) {
27277
27461
  n(this.canvas, {
27278
27462
  type: ut["2D"],
27279
27463
  property: o,
27280
- args: m
27464
+ args: p
27281
27465
  });
27282
27466
  }, 0), d.apply(this, p);
27283
27467
  };
@@ -27289,7 +27473,7 @@ function Xc(n, e, t, i) {
27289
27473
  n(this.canvas, {
27290
27474
  type: ut["2D"],
27291
27475
  property: o,
27292
- args: [p],
27476
+ args: [m],
27293
27477
  setter: !0
27294
27478
  });
27295
27479
  }
@@ -27338,9 +27522,9 @@ function ea(n, e, t, i, s, a, o) {
27338
27522
  "canvas",
27339
27523
  "drawingBufferWidth",
27340
27524
  "drawingBufferHeight"
27341
- ].includes(p))
27525
+ ].includes(m))
27342
27526
  try {
27343
- if (typeof n[p] != "function")
27527
+ if (typeof n[m] != "function")
27344
27528
  continue;
27345
27529
  const m = bt(n, p, function(y) {
27346
27530
  return function(...f) {
@@ -27539,7 +27723,7 @@ class ad {
27539
27723
  args: [
27540
27724
  {
27541
27725
  rr_type: "Blob",
27542
- data: [{ rr_type: "ArrayBuffer", base64: w }],
27726
+ data: [{ rr_type: "ArrayBuffer", base64: S }],
27543
27727
  type: A
27544
27728
  }
27545
27729
  ]
@@ -27614,7 +27798,7 @@ class ad {
27614
27798
  const i = this.pendingCanvasMutations.get(e);
27615
27799
  if (!i || t === -1)
27616
27800
  return;
27617
- const s = i.map((o) => Wc(o, ["type"])), { type: a } = i[0];
27801
+ const s = i.map((o) => Zc(o, ["type"])), { type: a } = i[0];
27618
27802
  this.mutationCb({ id: t, type: a, commands: s }), this.pendingCanvasMutations.delete(e);
27619
27803
  }
27620
27804
  }
@@ -27702,7 +27886,7 @@ function Dt(n = {}) {
27702
27886
  } catch {
27703
27887
  un = !0;
27704
27888
  }
27705
- if (we && !e)
27889
+ if (Se && !e)
27706
27890
  throw new Error("emit function is required");
27707
27891
  P !== void 0 && x.mousemove === void 0 && (x.mousemove = P), Je.reset();
27708
27892
  const sn = y === !0 ? {
@@ -27825,7 +28009,7 @@ function Dt(n = {}) {
27825
28009
  iframeManager: je,
27826
28010
  stylesheetManager: ze,
27827
28011
  canvasManager: ji,
27828
- keepIframeSrcFn: Be,
28012
+ keepIframeSrcFn: He,
27829
28013
  processedNodeManager: Pe
27830
28014
  },
27831
28015
  mirror: Je
@@ -27863,7 +28047,7 @@ function Dt(n = {}) {
27863
28047
  onStylesheetLoad: (te, fe) => {
27864
28048
  ze.attachLinkElement(te, fe);
27865
28049
  },
27866
- keepIframeSrcFn: Be
28050
+ keepIframeSrcFn: He
27867
28051
  });
27868
28052
  if (!be)
27869
28053
  return console.warn("Failed to snapshot the document");
@@ -27872,6 +28056,7 @@ function Dt(n = {}) {
27872
28056
  data: {
27873
28057
  node: be,
27874
28058
  initialOffset: Wa(window)
28059
+ initialOffset: Wa(window)
27875
28060
  }
27876
28061
  }), O), qn.forEach((te) => te.unlock()), document.adoptedStyleSheets && document.adoptedStyleSheets.length > 0 && ze.adoptStyleSheets(document.adoptedStyleSheets, Je.getId(document));
27877
28062
  };
@@ -27967,7 +28152,7 @@ function Dt(n = {}) {
27967
28152
  }
27968
28153
  }))
27969
28154
  }))) || []
27970
- }, w);
28155
+ }, S);
27971
28156
  };
27972
28157
  je.addLoadListener((fe) => {
27973
28158
  try {
@@ -28090,15 +28275,15 @@ var xt = 24 * 60 * 60 * 1e3, qi = 8 * 1e3, xi = Array.prototype, ld = Function.p
28090
28275
  }
28091
28276
  }
28092
28277
  }
28093
- }, Wi = function(n, e) {
28278
+ }, Zi = function(n, e) {
28094
28279
  return function() {
28095
28280
  return arguments[0] = "[" + e + "] " + arguments[0], n.apply(ne, arguments);
28096
28281
  };
28097
28282
  }, Ti = function(n) {
28098
28283
  return {
28099
- log: Wi(ne.log, n),
28100
- error: Wi(ne.error, n),
28101
- critical: Wi(ne.critical, n)
28284
+ log: Zi(ne.log, n),
28285
+ error: Zi(ne.error, n),
28286
+ critical: Zi(ne.critical, n)
28102
28287
  };
28103
28288
  };
28104
28289
  b.bind = function(n, e) {
@@ -28344,7 +28529,7 @@ b.JSONDecode = function() {
28344
28529
  }, d = function() {
28345
28530
  for (; e && e <= " "; )
28346
28531
  a();
28347
- }, p = function() {
28532
+ }, m = function() {
28348
28533
  switch (e) {
28349
28534
  case "t":
28350
28535
  return a("t"), a("r"), a("u"), a("e"), !0;
@@ -28385,12 +28570,13 @@ b.JSONDecode = function() {
28385
28570
  return f();
28386
28571
  case "[":
28387
28572
  return y();
28573
+ return y();
28388
28574
  case '"':
28389
28575
  return l();
28390
28576
  case "-":
28391
28577
  return o();
28392
28578
  default:
28393
- return e >= "0" && e <= "9" ? o() : p();
28579
+ return e >= "0" && e <= "9" ? o() : m();
28394
28580
  }
28395
28581
  }, function(v) {
28396
28582
  var C;
@@ -28570,7 +28756,7 @@ var Zi = null, Ci = function(n, e) {
28570
28756
  } catch {
28571
28757
  t = !1;
28572
28758
  }
28573
- return Zi = t, t;
28759
+ return Wi = t, t;
28574
28760
  };
28575
28761
  b.localStorage = {
28576
28762
  is_supported: function(n) {
@@ -28729,7 +28915,7 @@ b.dom_query = /* @__PURE__ */ function() {
28729
28915
  p[m++] = C[v];
28730
28916
  w = p;
28731
28917
  }
28732
- return w;
28918
+ return S;
28733
28919
  }
28734
28920
  return function(s) {
28735
28921
  return b.isElement(s) ? [s] : b.isObject(s) && !b.isUndefined(s.length) ? s : i.call(this, s);
@@ -28894,6 +29080,7 @@ function mo(n, e) {
28894
29080
  var t = po(n, e) === "0";
28895
29081
  return t && ne.warn("You are opted out of Mixpanel tracking. This will prevent the Mixpanel SDK from sending any data."), t;
28896
29082
  }
29083
+ function Rn(n) {
28897
29084
  function Rn(n) {
28898
29085
  return ds(n, function(e) {
28899
29086
  return this.get_config(e);
@@ -28925,7 +29112,7 @@ function cs(n, e) {
28925
29112
  function po(n, e) {
28926
29113
  return ls(e).get(cs(n, e));
28927
29114
  }
28928
- function Sd(n) {
29115
+ function wd(n) {
28929
29116
  if (n && n.ignoreDnt)
28930
29117
  return !1;
28931
29118
  var e = n && n.window || F, t = e.navigator || {}, i = !1;
@@ -28966,8 +29153,8 @@ function ds(n, e) {
28966
29153
  persistencePrefix: o,
28967
29154
  window: l
28968
29155
  }));
28969
- } catch (p) {
28970
- ne.error("Unexpected error when checking tracking opt-out status: " + p);
29156
+ } catch (m) {
29157
+ ne.error("Unexpected error when checking tracking opt-out status: " + m);
28971
29158
  }
28972
29159
  if (!t)
28973
29160
  return n.apply(this, arguments);
@@ -29202,7 +29389,7 @@ nn.prototype.scheduleFlush = function(n) {
29202
29389
  nn.prototype.flush = function(n) {
29203
29390
  try {
29204
29391
  if (this.requestInProgress) {
29205
- Lt.log("Flush: Request already in progress");
29392
+ xt.log("Flush: Request already in progress");
29206
29393
  return;
29207
29394
  }
29208
29395
  n = n || {};
@@ -29231,6 +29418,7 @@ nn.prototype.flush = function(n) {
29231
29418
  var d = b.bind(function(m) {
29232
29419
  this.requestInProgress = !1;
29233
29420
  try {
29421
+ var y = !1;
29234
29422
  var y = !1;
29235
29423
  if (n.unloading)
29236
29424
  this.queue.updatePayloads(l);
@@ -29245,6 +29433,7 @@ nn.prototype.flush = function(n) {
29245
29433
  this.batchSize = Math.min(this.batchSize, v, s.length - 1), this.reportError("413 response; reducing batch size to " + this.batchSize), this.resetFlush();
29246
29434
  } else
29247
29435
  this.reportError("Single-event request too large; dropping", s), this.resetBatchSize(), y = !0;
29436
+ this.reportError("Single-event request too large; dropping", s), this.resetBatchSize(), y = !0;
29248
29437
  else
29249
29438
  y = !0;
29250
29439
  y && (this.queue.removeItemsByID(
@@ -29265,7 +29454,7 @@ nn.prototype.flush = function(n) {
29265
29454
  } catch (C) {
29266
29455
  this.reportError("Error handling API response", C), this.resetFlush();
29267
29456
  }
29268
- }, this), p = {
29457
+ }, this), m = {
29269
29458
  method: "POST",
29270
29459
  verbose: !0,
29271
29460
  ignore_json_errors: !0,
@@ -29283,7 +29472,7 @@ nn.prototype.reportError = function(n, e) {
29283
29472
  try {
29284
29473
  e instanceof Error || (e = new Error(n)), this.errorReporter(n, e);
29285
29474
  } catch (t) {
29286
- Lt.error(t);
29475
+ xt.error(t);
29287
29476
  }
29288
29477
  };
29289
29478
  var zn = Ti("recorder"), da = F.CompressionStream, Ad = {
@@ -29514,10 +29703,11 @@ var Bn = "$set", mt = "$set_once", Xe = "$unset", Zn = "$add", dn = "$append", Q
29514
29703
  return b.isObject(n) ? b.each(n, function(s, a) {
29515
29704
  this._is_reserved_property(a) || (i[a] = s);
29516
29705
  }, this) : i[n] = e, t[Sn] = i, t;
29706
+ }, this) : i[n] = e, t[Sn] = i, t;
29517
29707
  },
29518
29708
  delete_action: function() {
29519
29709
  var n = {};
29520
- return n[Ld] = "", n;
29710
+ return n[xd] = "", n;
29521
29711
  }
29522
29712
  }, le = function() {
29523
29713
  };
@@ -29838,10 +30028,11 @@ Q.prototype._get_queue_key = function(n) {
29838
30028
  return hs;
29839
30029
  if (n === Xe)
29840
30030
  return ms;
29841
- if (n === Zn)
30031
+ if (n === Wn)
29842
30032
  return ps;
29843
30033
  if (n === dn)
29844
30034
  return vs;
30035
+ if (n === Sn)
29845
30036
  if (n === Sn)
29846
30037
  return bs;
29847
30038
  if (n === Qn)
@@ -29880,6 +30071,7 @@ var ko = {
29880
30071
  api_method: "POST",
29881
30072
  api_transport: "XHR",
29882
30073
  api_payload_format: So,
30074
+ api_payload_format: So,
29883
30075
  app_host: "https://mixpanel.com",
29884
30076
  cdn: "https://cdn.mxpnl.com",
29885
30077
  cross_site_cookie: !1,
@@ -29930,7 +30122,7 @@ var ko = {
29930
30122
  record_inline_images: !1,
29931
30123
  record_mask_text_class: new RegExp("^(mp-mask|fs-mask|amp-mask|rr-mask|ph-mask)$"),
29932
30124
  record_mask_text_selector: "*",
29933
- record_max_ms: xt,
30125
+ record_max_ms: Lt,
29934
30126
  record_min_ms: 0,
29935
30127
  record_sessions_percent: 0,
29936
30128
  recorder_src: "https://cdn.mxpnl.com/libs/mixpanel-recorder.min.js"
@@ -29944,7 +30136,7 @@ var ko = {
29944
30136
  ne.error("You have already initialized " + t);
29945
30137
  return;
29946
30138
  }
29947
- i = new L();
30139
+ i = new x();
29948
30140
  }
29949
30141
  if (i._cached_groups = {}, i._init(n, e, t), i.people = new K(), i.people._init(i), !i.get_config("skip_first_touch_marketing")) {
29950
30142
  var a = b.info.campaignParams(null), o = {}, l = !1;
@@ -29964,9 +30156,9 @@ L.prototype.init = function(n, e, t) {
29964
30156
  return;
29965
30157
  }
29966
30158
  var i = es(n, e, t);
29967
- return Ie[t] = i, i._loaded(), i;
30159
+ return De[t] = i, i._loaded(), i;
29968
30160
  };
29969
- L.prototype._init = function(n, e, t) {
30161
+ x.prototype._init = function(n, e, t) {
29970
30162
  e = e || {}, this.__loaded = !0, this.config = {};
29971
30163
  var i = {};
29972
30164
  if (!("api_payload_format" in e)) {
@@ -30015,10 +30207,10 @@ L.prototype.start_session_recording = Rn(function() {
30015
30207
  }, this);
30016
30208
  b.isUndefined(F.__mp_recorder) ? yo(this.get_config("recorder_src"), n) : n();
30017
30209
  });
30018
- L.prototype.stop_session_recording = function() {
30210
+ x.prototype.stop_session_recording = function() {
30019
30211
  this._recorder ? this._recorder.stopRecording() : ne.critical("Session recorder module not loaded");
30020
30212
  };
30021
- L.prototype.get_session_recording_properties = function() {
30213
+ x.prototype.get_session_recording_properties = function() {
30022
30214
  var n = {};
30023
30215
  if (this._recorder) {
30024
30216
  var e = this._recorder.replayId;
@@ -30026,7 +30218,7 @@ L.prototype.get_session_recording_properties = function() {
30026
30218
  }
30027
30219
  return n;
30028
30220
  };
30029
- L.prototype._loaded = function() {
30221
+ x.prototype._loaded = function() {
30030
30222
  if (this.get_config("loaded")(this), this._set_default_superprops(), this.people.set_once(this.persistence.get_referrer_info()), this.get_config("store_google") && this.get_config("stop_utm_persistence")) {
30031
30223
  var n = b.info.campaignParams(null);
30032
30224
  b.each(n, (function(e, t) {
@@ -30044,7 +30236,7 @@ L.prototype._dom_loaded = function() {
30044
30236
  this._send_request.apply(this, n);
30045
30237
  }, this), delete this.__dom_loaded_queue, delete this.__request_queue;
30046
30238
  };
30047
- L.prototype._track_dom = function(n, e) {
30239
+ x.prototype._track_dom = function(n, e) {
30048
30240
  if (this.get_config("img"))
30049
30241
  return this.report_error("You can't use DOM tracking functions with img = true."), !1;
30050
30242
  if (!Ao)
@@ -30052,7 +30244,7 @@ L.prototype._track_dom = function(n, e) {
30052
30244
  var t = new n().init(this);
30053
30245
  return t.track.apply(t, e);
30054
30246
  };
30055
- L.prototype._init_url_change_tracking = function(n) {
30247
+ x.prototype._init_url_change_tracking = function(n) {
30056
30248
  var e = "", t = this.track_pageview();
30057
30249
  if (t && (e = b.info.currentUrl()), b.include(["full-url", "url-with-path-and-query-string", "url-with-path"], n)) {
30058
30250
  F.addEventListener("popstate", function() {
@@ -30091,7 +30283,7 @@ L.prototype._prepare_callback = function(n, e) {
30091
30283
  }, a;
30092
30284
  }
30093
30285
  };
30094
- L.prototype._send_request = function(n, e, t, i) {
30286
+ x.prototype._send_request = function(n, e, t, i) {
30095
30287
  var s = !0;
30096
30288
  if (wo)
30097
30289
  return this.__request_queue.push(arguments), s;
@@ -30111,12 +30303,12 @@ L.prototype._send_request = function(n, e, t, i) {
30111
30303
  try {
30112
30304
  s = Ai(n, o);
30113
30305
  } catch (A) {
30114
- m.report_error(A), s = !1;
30306
+ p.report_error(A), s = !1;
30115
30307
  }
30116
30308
  try {
30117
30309
  i && i(s ? 1 : 0);
30118
30310
  } catch (A) {
30119
- m.report_error(A);
30311
+ p.report_error(A);
30120
30312
  }
30121
30313
  } else if (ct)
30122
30314
  try {
@@ -30133,7 +30325,7 @@ L.prototype._send_request = function(n, e, t, i) {
30133
30325
  if (f.readyState === 4)
30134
30326
  if (f.status === 200) {
30135
30327
  if (i)
30136
- if (p) {
30328
+ if (m) {
30137
30329
  var A;
30138
30330
  try {
30139
30331
  A = b.JSONDecode(f.responseText);
@@ -30157,7 +30349,7 @@ L.prototype._send_request = function(n, e, t, i) {
30157
30349
  }
30158
30350
  }, f.send(o);
30159
30351
  } catch (A) {
30160
- m.report_error(A), s = !1;
30352
+ p.report_error(A), s = !1;
30161
30353
  }
30162
30354
  else {
30163
30355
  var g = ae.createElement("script");
@@ -30167,7 +30359,7 @@ L.prototype._send_request = function(n, e, t, i) {
30167
30359
  }
30168
30360
  return s;
30169
30361
  };
30170
- L.prototype._execute_array = function(n) {
30362
+ x.prototype._execute_array = function(n) {
30171
30363
  var e, t = [], i = [], s = [];
30172
30364
  b.each(n, function(o) {
30173
30365
  o && (e = o[0], b.isArray(e) ? s.push(o) : typeof o == "function" ? o.call(this) : b.isArray(o) && e === "alias" ? t.push(o) : b.isArray(o) && e.indexOf("track") !== -1 && typeof this[e] == "function" ? s.push(o) : i.push(o));
@@ -30185,10 +30377,10 @@ L.prototype._execute_array = function(n) {
30185
30377
  };
30186
30378
  a(t, this), a(i, this), a(s, this);
30187
30379
  };
30188
- L.prototype.are_batchers_initialized = function() {
30380
+ x.prototype.are_batchers_initialized = function() {
30189
30381
  return !!this.request_batchers.events;
30190
30382
  };
30191
- L.prototype.get_batcher_configs = function() {
30383
+ x.prototype.get_batcher_configs = function() {
30192
30384
  var n = "__mpq_" + this.get_config("token"), e = this.get_config("api_routes");
30193
30385
  return this._batcher_configs = this._batcher_configs || {
30194
30386
  events: { type: "events", endpoint: "/" + e.track, queue_key: n + "_ev" },
@@ -30196,7 +30388,7 @@ L.prototype.get_batcher_configs = function() {
30196
30388
  groups: { type: "groups", endpoint: "/" + e.groups, queue_key: n + "_gr" }
30197
30389
  }, this._batcher_configs;
30198
30390
  };
30199
- L.prototype.init_batchers = function() {
30391
+ x.prototype.init_batchers = function() {
30200
30392
  if (!this.are_batchers_initialized()) {
30201
30393
  var n = b.bind(function(t) {
30202
30394
  return new nn(
@@ -30238,10 +30430,10 @@ L.prototype.stop_batch_senders = function() {
30238
30430
  n.stop(), n.clear();
30239
30431
  });
30240
30432
  };
30241
- L.prototype.push = function(n) {
30433
+ x.prototype.push = function(n) {
30242
30434
  this._execute_array([n]);
30243
30435
  };
30244
- L.prototype.disable = function(n) {
30436
+ x.prototype.disable = function(n) {
30245
30437
  typeof n > "u" ? this._flags.disable_all_events = !0 : this.__disabled_events = this.__disabled_events.concat(n);
30246
30438
  };
30247
30439
  L.prototype._encode_data_for_request = function(n) {
@@ -30300,15 +30492,17 @@ L.prototype.track = Rn(function(n, e, t, i) {
30300
30492
  var m = {
30301
30493
  event: n,
30302
30494
  properties: e
30495
+ }, y = this._track_or_batch({
30303
30496
  }, y = this._track_or_batch({
30304
30497
  type: "events",
30305
- data: m,
30498
+ data: p,
30306
30499
  endpoint: this.get_config("api_host") + "/" + this.get_config("api_routes").track,
30307
30500
  batcher: this.request_batchers.events,
30308
30501
  should_send_immediately: a,
30309
30502
  send_request_options: t
30310
30503
  }, i);
30311
30504
  return y;
30505
+ return y;
30312
30506
  });
30313
30507
  L.prototype.set_group = Rn(function(n, e, t) {
30314
30508
  b.isArray(e) || (e = [e]);
@@ -30333,13 +30527,13 @@ L.prototype.track_with_groups = Rn(function(n, e, t, i) {
30333
30527
  a != null && (s[o] = a);
30334
30528
  }), this.track(n, s, i);
30335
30529
  });
30336
- L.prototype._create_map_key = function(n, e) {
30530
+ x.prototype._create_map_key = function(n, e) {
30337
30531
  return n + "_" + JSON.stringify(e);
30338
30532
  };
30339
- L.prototype._remove_group_from_cache = function(n, e) {
30533
+ x.prototype._remove_group_from_cache = function(n, e) {
30340
30534
  delete this._cached_groups[this._create_map_key(n, e)];
30341
30535
  };
30342
- L.prototype.get_group = function(n, e) {
30536
+ x.prototype.get_group = function(n, e) {
30343
30537
  var t = this._create_map_key(n, e), i = this._cached_groups[t];
30344
30538
  return (i === void 0 || i._group_key !== n || i._group_id !== e) && (i = new le(), i._init(this, n, e), this._cached_groups[t] = i), i;
30345
30539
  };
@@ -30375,20 +30569,20 @@ var Id = {
30375
30569
  var e;
30376
30570
  return b.isObject(n) ? e = n : b.isUndefined(n) ? e = {} : e = { days: n }, b.extend({}, Id, e);
30377
30571
  };
30378
- L.prototype.register = function(n, e) {
30572
+ x.prototype.register = function(n, e) {
30379
30573
  var t = Cs(e);
30380
30574
  t.persistent ? this.persistence.register(n, t.days) : b.extend(this.unpersisted_superprops, n);
30381
30575
  };
30382
- L.prototype.register_once = function(n, e, t) {
30576
+ x.prototype.register_once = function(n, e, t) {
30383
30577
  var i = Cs(t);
30384
30578
  i.persistent ? this.persistence.register_once(n, e, i.days) : (typeof e > "u" && (e = "None"), b.each(n, function(s, a) {
30385
30579
  (!this.unpersisted_superprops.hasOwnProperty(a) || this.unpersisted_superprops[a] === e) && (this.unpersisted_superprops[a] = s);
30386
30580
  }, this));
30387
30581
  };
30388
- L.prototype.unregister = function(n, e) {
30582
+ x.prototype.unregister = function(n, e) {
30389
30583
  e = Cs(e), e.persistent ? this.persistence.unregister(n) : delete this.unpersisted_superprops[n];
30390
30584
  };
30391
- L.prototype._register_single = function(n, e) {
30585
+ x.prototype._register_single = function(n, e) {
30392
30586
  var t = {};
30393
30587
  t[n] = e, this.register(t);
30394
30588
  };
@@ -30403,7 +30597,7 @@ L.prototype.identify = function(n, e, t, i, s, a, o, l) {
30403
30597
  var p = d;
30404
30598
  this.register_once({
30405
30599
  $had_persisted_distinct_id: !0,
30406
- $device_id: p
30600
+ $device_id: m
30407
30601
  }, "");
30408
30602
  }
30409
30603
  n !== d && n !== this.get_property(ki) && (this.unregister(ki), this.register({ distinct_id: n })), this._flags.identify_called = !0, this.people._flush(e, t, i, s, a, o, l), n !== d && this.track("$identify", {
@@ -30411,7 +30605,7 @@ L.prototype.identify = function(n, e, t, i, s, a, o, l) {
30411
30605
  $anon_distinct_id: d
30412
30606
  }, { skip_hooks: !0 });
30413
30607
  };
30414
- L.prototype.reset = function() {
30608
+ x.prototype.reset = function() {
30415
30609
  this.persistence.clear(), this._flags.identify_called = !1;
30416
30610
  var n = b.UUID();
30417
30611
  this.register_once({
@@ -30419,7 +30613,7 @@ L.prototype.reset = function() {
30419
30613
  $device_id: n
30420
30614
  }, "");
30421
30615
  };
30422
- L.prototype.get_distinct_id = function() {
30616
+ x.prototype.get_distinct_id = function() {
30423
30617
  return this.get_property("distinct_id");
30424
30618
  };
30425
30619
  L.prototype.alias = function(n, e) {
@@ -30435,7 +30629,7 @@ L.prototype.alias = function(n, e) {
30435
30629
  t.identify(n);
30436
30630
  })) : (this.report_error("alias matches current distinct_id - skipping api call."), this.identify(n), -1);
30437
30631
  };
30438
- L.prototype.name_tag = function(n) {
30632
+ x.prototype.name_tag = function(n) {
30439
30633
  this._register_single("mp_name_tag", n);
30440
30634
  };
30441
30635
  L.prototype.set_config = function(n) {
@@ -30447,24 +30641,24 @@ L.prototype.set_config = function(n) {
30447
30641
  }), this.get_config("persistence_name") || (this.config.persistence_name = this.config.cookie_name), this.get_config("disable_persistence") || (this.config.disable_persistence = this.config.disable_cookie), this.persistence && this.persistence.update_config(this.config), Cn.DEBUG = Cn.DEBUG || this.get_config("debug");
30448
30642
  }
30449
30643
  };
30450
- L.prototype.get_config = function(n) {
30644
+ x.prototype.get_config = function(n) {
30451
30645
  return this.config[n];
30452
30646
  };
30453
30647
  L.prototype._run_hook = function(n) {
30454
30648
  var e = (this.config.hooks[n] || Ed).apply(this, _n.call(arguments, 1));
30455
30649
  return typeof e > "u" && (this.report_error(n + " hook did not return a value"), e = null), e;
30456
30650
  };
30457
- L.prototype.get_property = function(n) {
30651
+ x.prototype.get_property = function(n) {
30458
30652
  return this.persistence.load_prop([n]);
30459
30653
  };
30460
- L.prototype.toString = function() {
30654
+ x.prototype.toString = function() {
30461
30655
  var n = this.get_config("name");
30462
30656
  return n !== Qe && (n = Qe + "." + n), n;
30463
30657
  };
30464
30658
  L.prototype._event_is_disabled = function(n) {
30465
30659
  return b.isBlockedUA(cn) || this._flags.disable_all_events || b.include(this.__disabled_events, n);
30466
30660
  };
30467
- L.prototype._gdpr_init = function() {
30661
+ x.prototype._gdpr_init = function() {
30468
30662
  var n = this.get_config("opt_out_tracking_persistence_type") === "localStorage";
30469
30663
  n && b.localStorage.is_supported() && (!this.has_opted_in_tracking() && this.has_opted_in_tracking({ persistence_type: "cookie" }) && this.opt_in_tracking({ enable_persistence: !1 }), !this.has_opted_out_tracking() && this.has_opted_out_tracking({ persistence_type: "cookie" }) && this.opt_out_tracking({ clear_persistence: !1 }), this.clear_opt_in_out_tracking({
30470
30664
  persistence_type: "cookie",
@@ -30473,7 +30667,7 @@ L.prototype._gdpr_init = function() {
30473
30667
  clear_persistence: this.get_config("opt_out_persistence_by_default")
30474
30668
  }));
30475
30669
  };
30476
- L.prototype._gdpr_update_persistence = function(n) {
30670
+ x.prototype._gdpr_update_persistence = function(n) {
30477
30671
  var e;
30478
30672
  if (n && n.clear_persistence)
30479
30673
  e = !0;
@@ -30519,7 +30713,7 @@ L.prototype.opt_out_tracking = function(n) {
30519
30713
  delete_user: !0
30520
30714
  }, n), n.delete_user && this.people && this.people._identify_called() && (this.people.delete_user(), this.people.clear_charges()), this._gdpr_call_func(gd, n), this._gdpr_update_persistence(n);
30521
30715
  };
30522
- L.prototype.has_opted_in_tracking = function(n) {
30716
+ x.prototype.has_opted_in_tracking = function(n) {
30523
30717
  return this._gdpr_call_func(yd, n);
30524
30718
  };
30525
30719
  L.prototype.has_opted_out_tracking = function(n) {
@@ -30530,7 +30724,7 @@ L.prototype.clear_opt_in_out_tracking = function(n) {
30530
30724
  enable_persistence: !0
30531
30725
  }, n), this._gdpr_call_func(Cd, n), this._gdpr_update_persistence(n);
30532
30726
  };
30533
- L.prototype.report_error = function(n, e) {
30727
+ x.prototype.report_error = function(n, e) {
30534
30728
  ne.error.apply(ne.error, arguments);
30535
30729
  try {
30536
30730
  !e && !(n instanceof Error) && (n = new Error(n)), this.get_config("error_reporter")(n, e);
@@ -30583,13 +30777,13 @@ var lt = {}, Dd = function() {
30583
30777
  e !== Qe && (Ie[e] = n);
30584
30778
  }), Ie._ = b;
30585
30779
  }, Bd = function() {
30586
- Ie.init = function(n, e, t) {
30780
+ De.init = function(n, e, t) {
30587
30781
  if (t)
30588
30782
  return Ie[t] || (Ie[t] = lt[t] = es(n, e, t), Ie[t]._loaded()), Ie[t];
30589
30783
  var i = Ie;
30590
30784
  lt[Qe] ? i = lt[Qe] : n && (i = es(n, e, Qe), i._loaded(), lt[Qe] = i), Ie = i, gs === _d && (F[Qe] = Ie), Dd();
30591
30785
  };
30592
- }, Rd = function() {
30786
+ }, Hd = function() {
30593
30787
  function n() {
30594
30788
  n.done || (n.done = !0, Ao = !0, wo = !1, b.each(lt, function(i) {
30595
30789
  i._dom_loaded();
@@ -30623,7 +30817,7 @@ function Hd(n) {
30623
30817
  function Nd(n, e) {
30624
30818
  e();
30625
30819
  }
30626
- var _ = Hd(Nd);
30820
+ var _ = Rd(Nd);
30627
30821
  const Od = `<div id="checkoutConfirmationEnd" data-section="transfer">
30628
30822
  <div class="w-full">
30629
30823
  <div id="otp-content" class=" grid gap-4">
@@ -30674,7 +30868,7 @@ class Mo {
30674
30868
  _.track("redirect_to_merchant", {
30675
30869
  payment_method: this.paymentMethod,
30676
30870
  status: (a = this.paymentResponse) == null ? void 0 : a.status
30677
- }), De(
30871
+ }), Be(
30678
30872
  this.paymentResponse,
30679
30873
  this.paymentResponseHeaders,
30680
30874
  this.callBackUrl
@@ -30786,12 +30980,12 @@ class Vd {
30786
30980
  }), s(m)), m.data.status === "inProgress" && (l && (o = t * (a + 1), this.timer = setTimeout(p, o)), this.setPaymentResponses(m.data, m.headers)), (m.data.status === "success" || m.data.status === "successful") && (this.setPaymentResponses(m.data, m.headers), l = !1, clearTimeout(this.timer), clearInterval(this.timerId || void 0), _.track("verify_payment", {
30787
30981
  payment_method: this.paymentMethod,
30788
30982
  verification_status: "Success"
30789
- }), i(m));
30983
+ }), i(p));
30790
30984
  } catch {
30791
30985
  l && (o = t * (a + 1), this.timer = setTimeout(p, o));
30792
30986
  }
30793
30987
  };
30794
- p();
30988
+ m();
30795
30989
  }
30796
30990
  redirectTo(e, t, i) {
30797
30991
  const s = t.get("spf-redirect-url");
@@ -31159,6 +31353,7 @@ const Fd = `<div class="flex items-center justify-center md:justify-between w-fu
31159
31353
  </div>
31160
31354
  </div>
31161
31355
  </div>`;
31356
+ class xo {
31162
31357
  class xo {
31163
31358
  constructor({ container: e, closeCallback: t }) {
31164
31359
  c(this, "container");
@@ -31205,7 +31400,7 @@ class xo {
31205
31400
  });
31206
31401
  }
31207
31402
  renderComponent(e) {
31208
- R() !== "en" && e === 1 ? (this.mainLoader = new Ae(this.container), this.mainLoader.mountLoader("15dvh"), this.renderTranslatedText().then(() => {
31403
+ H() !== "en" && e === 1 ? (this.mainLoader = new Ae(this.container), this.mainLoader.mountLoader("15dvh"), this.renderTranslatedText().then(() => {
31209
31404
  this.mainLoader.unmountLoader(), this.container.innerHTML = this.render(), this.attachListener();
31210
31405
  })) : (this.container.innerHTML = this.render(), this.attachListener());
31211
31406
  }
@@ -31240,12 +31435,13 @@ class ha {
31240
31435
  const e = this.container.querySelector(
31241
31436
  "#test-cards-link"
31242
31437
  ), t = this.container.querySelector("#terms-text"), i = this.container.querySelector("#privacy-text"), s = this.container.querySelector("#contact-text"), a = this.container.querySelector("#powered-by-text");
31243
- if (t && (t.innerHTML = Z.terms), i && (i.innerHTML = Z.privacy), s && (s.innerHTML = Z.contact), a && (a.innerHTML = Z.powered), !!e) {
31244
- if (e.innerHTML = Z["test-card"], this.keyEnvironment !== "test") {
31438
+ if (t && (t.innerHTML = W.terms), i && (i.innerHTML = W.privacy), s && (s.innerHTML = W.contact), a && (a.innerHTML = W.powered), !!e) {
31439
+ if (e.innerHTML = W["test-card"], this.keyEnvironment !== "test") {
31245
31440
  e.classList.add("hidden");
31246
31441
  return;
31247
31442
  }
31248
31443
  e.addEventListener("click", async () => {
31444
+ this.testCardClicks = this.testCardClicks + 1, this.testCardInstance || (this.testCardInstance = new xo({
31249
31445
  this.testCardClicks = this.testCardClicks + 1, this.testCardInstance || (this.testCardInstance = new xo({
31250
31446
  container: this.testCardContainer,
31251
31447
  closeCallback: () => {
@@ -31395,14 +31591,14 @@ class jd {
31395
31591
  }
31396
31592
  async renderTranslatedText(e) {
31397
31593
  if (Array.isArray(e))
31398
- this.translatedAvsData = await xe.translateRecord(
31594
+ this.translatedAvsData = await Le.translateRecord(
31399
31595
  this.rawAvsData,
31400
- R()
31596
+ H()
31401
31597
  );
31402
31598
  else if (e) {
31403
- const t = await W(
31599
+ const t = await q(
31404
31600
  e,
31405
- R()
31601
+ H()
31406
31602
  );
31407
31603
  this.otpMessage = t;
31408
31604
  } else
@@ -31550,7 +31746,7 @@ class jd {
31550
31746
  }), this.warningScreen.setPaymentError(
31551
31747
  this.errorText,
31552
31748
  "",
31553
- Z["merchant-back"]
31749
+ W["merchant-back"]
31554
31750
  )) : (this.currentStep = 4, this.warningScreen.setPaymentError(this.errorText));
31555
31751
  } else
31556
31752
  this.currentStep = 4, this.warningScreen.setPaymentError(
@@ -31590,7 +31786,7 @@ class jd {
31590
31786
  if (o.providerMessage) {
31591
31787
  const x = await W(
31592
31788
  o.providerMessage,
31593
- R()
31789
+ H()
31594
31790
  );
31595
31791
  this.errorText = x;
31596
31792
  }
@@ -31613,14 +31809,14 @@ class jd {
31613
31809
  (p = o == null ? void 0 : o.authorization) != null && p.redirectUrl && this.redirectTo3DS((m = o == null ? void 0 : o.authorization) == null ? void 0 : m.redirectUrl), (y = o == null ? void 0 : o.authorization) != null && y.embeddedHtml && this.redirectToPreciumDoc((f = o == null ? void 0 : o.authorization) == null ? void 0 : f.embeddedHtml), (v = o == null ? void 0 : o.authorization) != null && v.jwt && ((C = o == null ? void 0 : o.authorization) != null && C.acsUrl) && ((g = o == null ? void 0 : o.authorization) != null && g.md) && (this.cardResponse = o, this.currentStep = 11);
31614
31810
  return;
31615
31811
  }
31616
- if (((w = o == null ? void 0 : o.authorization) == null ? void 0 : w.mode) === "otp") {
31617
- this.cardResponse = o, R() !== "en" ? (this.showLoader(), this.renderTranslatedText(o == null ? void 0 : o.providerMessage).then(() => {
31812
+ if (((S = o == null ? void 0 : o.authorization) == null ? void 0 : S.mode) === "otp") {
31813
+ this.cardResponse = o, H() !== "en" ? (this.showLoader(), this.renderTranslatedText(o == null ? void 0 : o.providerMessage).then(() => {
31618
31814
  this.pageLoader.unmountLoader(), this.currentStep = 3;
31619
31815
  })) : (this.otpMessage = (o == null ? void 0 : o.providerMessage) || "", this.currentStep = 3);
31620
31816
  return;
31621
31817
  }
31622
31818
  if (((A = o == null ? void 0 : o.authorization) == null ? void 0 : A.mode) === "avs") {
31623
- if (R() !== "en") {
31819
+ if (H() !== "en") {
31624
31820
  this.showLoader();
31625
31821
  const x = Object.values(this.rawAvsData);
31626
31822
  this.renderTranslatedText(x).then(() => {
@@ -31640,7 +31836,7 @@ class jd {
31640
31836
  }), o.message) {
31641
31837
  const l = await W(
31642
31838
  o.message,
31643
- R()
31839
+ H()
31644
31840
  );
31645
31841
  this.errorText = l, this.currentStep = 4, this.warningScreen.setPaymentError(this.errorText);
31646
31842
  } else
@@ -31682,7 +31878,7 @@ class jd {
31682
31878
  l.providerMessage,
31683
31879
  R()
31684
31880
  );
31685
- this.errorText = w;
31881
+ this.errorText = S;
31686
31882
  }
31687
31883
  if (l.status === "failed")
31688
31884
  this.currentStep = 4, _.track("verify_payment", {
@@ -31757,7 +31953,7 @@ class jd {
31757
31953
  if (a.providerMessage) {
31758
31954
  const C = await W(
31759
31955
  a.providerMessage,
31760
- R()
31956
+ H()
31761
31957
  );
31762
31958
  this.errorText = C;
31763
31959
  }
@@ -31803,9 +31999,9 @@ class jd {
31803
31999
  verification_status: "Failed",
31804
32000
  authentication_type: "PIN+0TP"
31805
32001
  }), a != null && a.message) {
31806
- const o = await W(
32002
+ const o = await q(
31807
32003
  a.message,
31808
- R()
32004
+ H()
31809
32005
  );
31810
32006
  this.errorText = o, this.currentStep = 4, this.warningScreen.setPaymentError(this.errorText);
31811
32007
  } else
@@ -31837,9 +32033,9 @@ class jd {
31837
32033
  },
31838
32034
  async ({ data: s }) => {
31839
32035
  if (s.providerMessage) {
31840
- const a = await W(
32036
+ const a = await q(
31841
32037
  s.providerMessage,
31842
- R()
32038
+ H()
31843
32039
  );
31844
32040
  this.errorText = a;
31845
32041
  }
@@ -31938,9 +32134,9 @@ class jd {
31938
32134
  authentication_type: "3DS"
31939
32135
  }), e.then(async ({ data: t, headers: i }) => {
31940
32136
  if (this.cardResponse = t, this.cardResponseHeader = i, t.providerMessage) {
31941
- const s = await W(
32137
+ const s = await q(
31942
32138
  t.providerMessage,
31943
- R()
32139
+ H()
31944
32140
  );
31945
32141
  this.errorText = s;
31946
32142
  }
@@ -31967,9 +32163,9 @@ class jd {
31967
32163
  authentication_type: "3DS",
31968
32164
  verification_status: "Null"
31969
32165
  }), t.message) {
31970
- const i = await W(
32166
+ const i = await q(
31971
32167
  t.message,
31972
- R()
32168
+ H()
31973
32169
  );
31974
32170
  this.errorText = i, this.currentStep = 4, this.warningScreen.setPaymentError(this.errorText);
31975
32171
  } else
@@ -32167,8 +32363,10 @@ const qd = `<div data-section="transfer" data-section="transfer">
32167
32363
  <img src="" alt="loader gif" />
32168
32364
  </div>
32169
32365
  <div id="details-content" class="grid gap-5">
32170
- <h5 class="text-sm text-tone-100 text-center font-semibold md:w-4/5 mx-auto" id="transfer-header-text" data-translate="transfer-header">
32171
-
32366
+ <h5 class="text-sm text-tone-100 text-center md:w-4/5 mx-auto">
32367
+ <span id="transfer-header-1" class="font-medium" data-translate="transfer-header-1"></span>
32368
+ <span class="font-bold" id="transfer-header-2" data-translate="transfer-header-2"></span>
32369
+ <span id="transfer-header-3" class="font-medium" data-translate="transfer-header-3"></span>
32172
32370
  </h5>
32173
32371
  <div class="border border-grey-100 rounded-lg text-black px-6 py-5 grid gap-4">
32174
32372
  <div class="text-sm grid grid-cols-[1fr_auto] gap-3">
@@ -32238,7 +32436,7 @@ const qd = `<div data-section="transfer" data-section="transfer">
32238
32436
  <p class="font-semibold" id="account-name"></p>
32239
32437
  </div>
32240
32438
  </div>
32241
-
32439
+
32242
32440
  <div class="mt-3">
32243
32441
  <button type="button" id="transfer-button" data-translate="made-transfer" class="details-form-button"></button>
32244
32442
  </div>
@@ -32375,7 +32573,7 @@ var Lo = { exports: {} };
32375
32573
  if (this._paddingCharacter) {
32376
32574
  for (var x = w.length - 1; x >= 0 && w[x] === this._paddingCharacter; x--)
32377
32575
  A++;
32378
- if (w.length < 4 || A > 2)
32576
+ if (S.length < 4 || A > 2)
32379
32577
  throw new Error("Base64Coder: incorrect padding");
32380
32578
  }
32381
32579
  return A;
@@ -32436,6 +32634,7 @@ var Lo = { exports: {} };
32436
32634
  C < 128 ? y[f++] = C : C < 2048 ? (y[f++] = 192 | C >> 6, y[f++] = 128 | C & 63) : C < 55296 ? (y[f++] = 224 | C >> 12, y[f++] = 128 | C >> 6 & 63, y[f++] = 128 | C & 63) : (v++, C = (C & 1023) << 10, C |= m.charCodeAt(v) & 1023, C += 65536, y[f++] = 240 | C >> 18, y[f++] = 128 | C >> 12 & 63, y[f++] = 128 | C >> 6 & 63, y[f++] = 128 | C & 63);
32437
32635
  }
32438
32636
  return y;
32637
+ return y;
32439
32638
  }
32440
32639
  i.encode = l;
32441
32640
  function d(m) {
@@ -32455,6 +32654,7 @@ var Lo = { exports: {} };
32455
32654
  throw new Error(a);
32456
32655
  }
32457
32656
  return y;
32657
+ return y;
32458
32658
  }
32459
32659
  i.encodedLength = d;
32460
32660
  function p(m) {
@@ -32496,8 +32696,9 @@ var Lo = { exports: {} };
32496
32696
  y.push(String.fromCharCode(v));
32497
32697
  }
32498
32698
  return y.join("");
32699
+ return y.join("");
32499
32700
  }
32500
- i.decode = p;
32701
+ i.decode = m;
32501
32702
  },
32502
32703
  /* 2 */
32503
32704
  /***/
@@ -32846,13 +33047,13 @@ var Lo = { exports: {} };
32846
33047
  return !0;
32847
33048
  return !1;
32848
33049
  }
32849
- function Rt(h, r) {
33050
+ function Ht(h, r) {
32850
33051
  for (var u = 0; u < h.length; u++)
32851
33052
  if (!r(h[u], u, h))
32852
33053
  return !1;
32853
33054
  return !0;
32854
33055
  }
32855
- function Ht(h) {
33056
+ function Rt(h) {
32856
33057
  return fe(h, function(r) {
32857
33058
  return typeof r == "object" && (r = Vn(r)), encodeURIComponent(Le(r.toString()));
32858
33059
  });
@@ -32989,12 +33190,12 @@ var Lo = { exports: {} };
32989
33190
  var u = "/app/" + h, S = "?protocol=" + d.PROTOCOL + "&client=js&version=" + d.VERSION + (r ? "&" + r : "");
32990
33191
  return u + S;
32991
33192
  }
32992
- var Wt = {
33193
+ var Zt = {
32993
33194
  getInitial: function(h, r) {
32994
33195
  var u = (r.httpPath || "") + Xn(h, "flash=false");
32995
33196
  return Yn("ws", r, u);
32996
33197
  }
32997
- }, Zt = {
33198
+ }, Wt = {
32998
33199
  getInitial: function(h, r) {
32999
33200
  var u = (r.httpPath || "/pusher") + Xn(h);
33000
33201
  return Yn("http", r, u);
@@ -33045,7 +33246,7 @@ var Lo = { exports: {} };
33045
33246
  function $n(h) {
33046
33247
  return "_" + h;
33047
33248
  }
33048
- class We {
33249
+ class Ze {
33049
33250
  constructor(r) {
33050
33251
  this.callbacks = new Jt(), this.global_callbacks = [], this.failThrough = r;
33051
33252
  }
@@ -33214,6 +33415,7 @@ var Lo = { exports: {} };
33214
33415
  },
33215
33416
  getSocket: function(h, r) {
33216
33417
  return new window.SockJS(h, null, {
33418
+ js_path: y.getPath("sockjs", {
33217
33419
  js_path: y.getPath("sockjs", {
33218
33420
  useTLS: r.useTLS
33219
33421
  }),
@@ -33247,7 +33449,7 @@ var Lo = { exports: {} };
33247
33449
  return window.navigator.onLine === void 0 ? !0 : window.navigator.onLine;
33248
33450
  }
33249
33451
  }
33250
- var Ho = new Ro();
33452
+ var Ro = new Ho();
33251
33453
  class No {
33252
33454
  constructor(r, u, S) {
33253
33455
  this.manager = r, this.transport = u, this.minPingDelay = S.minPingDelay, this.maxPingDelay = S.maxPingDelay, this.pingDelay = void 0;
@@ -33443,7 +33645,7 @@ var Lo = { exports: {} };
33443
33645
  this.timeline.isEmpty() || this.timeline.send(G.TimelineTransport.getAgent(this, r), u);
33444
33646
  }
33445
33647
  }
33446
- class Ii extends We {
33648
+ class Ii extends Ze {
33447
33649
  constructor(r, u) {
33448
33650
  super(function(S, k) {
33449
33651
  oe.debug("No callbacks on " + r + " for " + S);
@@ -33454,7 +33656,7 @@ var Lo = { exports: {} };
33454
33656
  }
33455
33657
  trigger(r, u) {
33456
33658
  if (r.indexOf("client-") !== 0)
33457
- throw new w("Event '" + r + "' does not start with 'client-'");
33659
+ throw new S("Event '" + r + "' does not start with 'client-'");
33458
33660
  if (!this.subscribed) {
33459
33661
  var S = C.buildLogSuffix("triggeringClientEvents");
33460
33662
  oe.warn(`Client event triggered before channel 'subscription_succeeded' event . ${S}`);
@@ -33702,7 +33904,7 @@ var Lo = { exports: {} };
33702
33904
  }
33703
33905
  }
33704
33906
  }
33705
- class zo extends We {
33907
+ class zo extends Ze {
33706
33908
  constructor(r, u) {
33707
33909
  super(), this.state = "initialized", this.connection = null, this.key = r, this.options = u, this.timeline = this.options.timeline, this.usingTLS = this.options.useTLS, this.errorCallbacks = this.buildErrorCallbacks(), this.connectionCallbacks = this.buildConnectionCallbacks(this.errorCallbacks), this.handshakeCallbacks = this.buildHandshakeCallbacks(this.errorCallbacks);
33708
33910
  var S = G.getNetwork();
@@ -33858,12 +34060,12 @@ var Lo = { exports: {} };
33858
34060
  return this.state === "connecting" || this.state === "connected";
33859
34061
  }
33860
34062
  }
33861
- class Wo {
34063
+ class Zo {
33862
34064
  constructor() {
33863
34065
  this.channels = {};
33864
34066
  }
33865
34067
  add(r, u) {
33866
- return this.channels[r] || (this.channels[r] = Zo(r, u)), this.channels[r];
34068
+ return this.channels[r] || (this.channels[r] = Wo(r, u)), this.channels[r];
33867
34069
  }
33868
34070
  all() {
33869
34071
  return O(this.channels);
@@ -33881,7 +34083,7 @@ var Lo = { exports: {} };
33881
34083
  });
33882
34084
  }
33883
34085
  }
33884
- function Zo(h, r) {
34086
+ function Wo(h, r) {
33885
34087
  if (h.indexOf("private-encrypted-") === 0) {
33886
34088
  if (r.config.nacl)
33887
34089
  return bn.createEncryptedChannel(h, r, r.config.nacl);
@@ -33899,7 +34101,7 @@ var Lo = { exports: {} };
33899
34101
  }
33900
34102
  var Qo = {
33901
34103
  createChannels() {
33902
- return new Wo();
34104
+ return new Zo();
33903
34105
  },
33904
34106
  createConnectionManager(h, r) {
33905
34107
  return new zo(h, r);
@@ -33979,7 +34181,7 @@ var Lo = { exports: {} };
33979
34181
  };
33980
34182
  }
33981
34183
  }
33982
- class Ri {
34184
+ class Hi {
33983
34185
  constructor(r) {
33984
34186
  this.strategies = r;
33985
34187
  }
@@ -34016,7 +34218,7 @@ var Lo = { exports: {} };
34016
34218
  };
34017
34219
  }
34018
34220
  function Yo(h) {
34019
- return Rt(h, function(r) {
34221
+ return Ht(h, function(r) {
34020
34222
  return !!r.error;
34021
34223
  });
34022
34224
  }
@@ -34056,14 +34258,14 @@ var Lo = { exports: {} };
34056
34258
  };
34057
34259
  }
34058
34260
  }
34059
- function Hi(h) {
34261
+ function Ri(h) {
34060
34262
  return "pusherTransport" + (h ? "TLS" : "NonTLS");
34061
34263
  }
34062
34264
  function er(h) {
34063
34265
  var r = G.getLocalStorage();
34064
34266
  if (r)
34065
34267
  try {
34066
- var u = r[Hi(h)];
34268
+ var u = r[Ri(h)];
34067
34269
  if (u)
34068
34270
  return JSON.parse(u);
34069
34271
  } catch {
@@ -34088,7 +34290,7 @@ var Lo = { exports: {} };
34088
34290
  var r = G.getLocalStorage();
34089
34291
  if (r)
34090
34292
  try {
34091
- delete r[Hi(h)];
34293
+ delete r[Ri(h)];
34092
34294
  } catch {
34093
34295
  }
34094
34296
  }
@@ -34140,7 +34342,7 @@ var Lo = { exports: {} };
34140
34342
  return S;
34141
34343
  }
34142
34344
  }
34143
- function St(h) {
34345
+ function wt(h) {
34144
34346
  return function() {
34145
34347
  return h.isSupported();
34146
34348
  };
@@ -34198,6 +34400,7 @@ var Lo = { exports: {} };
34198
34400
  var h = this;
34199
34401
  h.timeline.info(h.buildTimelineMessage({
34200
34402
  transport: h.name + (h.options.useTLS ? "s" : "")
34403
+ })), h.hooks.isInitialized() ? h.changeState("initialized") : h.hooks.file ? (h.changeState("initializing"), y.load(h.hooks.file, { useTLS: h.options.useTLS }, function(r, u) {
34201
34404
  })), h.hooks.isInitialized() ? h.changeState("initialized") : h.hooks.file ? (h.changeState("initializing"), y.load(h.hooks.file, { useTLS: h.options.useTLS }, function(r, u) {
34202
34405
  h.hooks.isInitialized() ? (h.changeState("initialized"), u(!0)) : (r && h.onError(r), h.onClose(), u(!1));
34203
34406
  })) : h.onClose();
@@ -34355,6 +34558,7 @@ var Lo = { exports: {} };
34355
34558
  function mr(h, r) {
34356
34559
  return h.base + "/" + r + "/xhr_send";
34357
34560
  }
34561
+ function xs(h) {
34358
34562
  function xs(h) {
34359
34563
  var r = h.indexOf("?") === -1 ? "?" : "&";
34360
34564
  return h + r + "t=" + +/* @__PURE__ */ new Date() + "&n=" + dr++;
@@ -34396,7 +34600,7 @@ var Lo = { exports: {} };
34396
34600
  onFinished: function(h, r) {
34397
34601
  r === 200 ? h.reconnect() : h.onClose(1006, "Connection interrupted (" + r + ")", !1);
34398
34602
  }
34399
- }, Cr = yr, Sr = {
34603
+ }, Cr = yr, wr = {
34400
34604
  getRequest: function(h) {
34401
34605
  var r = G.getXHRAPI(), u = new r();
34402
34606
  return u.onreadystatechange = u.onprogress = function() {
@@ -34413,7 +34617,7 @@ var Lo = { exports: {} };
34413
34617
  abortRequest: function(h) {
34414
34618
  h.onreadystatechange = null, h.abort();
34415
34619
  }
34416
- }, wr = Sr, kr = {
34620
+ }, Sr = wr, kr = {
34417
34621
  createStreamingSocket(h) {
34418
34622
  return this.createSocket(gr, h);
34419
34623
  },
@@ -34424,7 +34628,7 @@ var Lo = { exports: {} };
34424
34628
  return new br(h, r);
34425
34629
  },
34426
34630
  createXHR(h, r) {
34427
- return this.createRequest(wr, h, r);
34631
+ return this.createRequest(Sr, h, r);
34428
34632
  },
34429
34633
  createRequest(h, r, u) {
34430
34634
  return new cr(h, r, u);
@@ -34437,7 +34641,7 @@ var Lo = { exports: {} };
34437
34641
  nextAuthCallbackID: 1,
34438
34642
  auth_callbacks: {},
34439
34643
  ScriptReceivers: o,
34440
- DependenciesReceivers: m,
34644
+ DependenciesReceivers: p,
34441
34645
  getDefaultStrategy: sr,
34442
34646
  Transports: Bo,
34443
34647
  transportConnectionInitializer: ar,
@@ -34455,6 +34659,7 @@ var Lo = { exports: {} };
34455
34659
  this.onDocumentBody(h.ready);
34456
34660
  };
34457
34661
  window.JSON ? r() : y.load("json2", {}, r);
34662
+ window.JSON ? r() : y.load("json2", {}, r);
34458
34663
  },
34459
34664
  getDocument() {
34460
34665
  return document;
@@ -34494,7 +34699,7 @@ var Lo = { exports: {} };
34494
34699
  return new ActiveXObject("Microsoft.XMLHTTP");
34495
34700
  },
34496
34701
  getNetwork() {
34497
- return Ho;
34702
+ return Ro;
34498
34703
  },
34499
34704
  createWebSocket(h) {
34500
34705
  var r = this.getWebSocketAPI();
@@ -34752,9 +34957,9 @@ var Lo = { exports: {} };
34752
34957
  }
34753
34958
  function qr(h, r) {
34754
34959
  const u = jr(h, r);
34755
- return "customHandler" in u && u.customHandler != null ? u.customHandler : Rr(u);
34960
+ return "customHandler" in u && u.customHandler != null ? u.customHandler : Hr(u);
34756
34961
  }
34757
- class zr extends We {
34962
+ class zr extends Ze {
34758
34963
  constructor(r) {
34759
34964
  super(function(u, S) {
34760
34965
  oe.debug(`No callbacks on watchlist events for ${u}`);
@@ -34772,14 +34977,14 @@ var Lo = { exports: {} };
34772
34977
  });
34773
34978
  }
34774
34979
  }
34775
- function Wr() {
34980
+ function Zr() {
34776
34981
  let h, r;
34777
34982
  return { promise: new Promise((S, k) => {
34778
34983
  h = S, r = k;
34779
34984
  }), resolve: h, reject: r };
34780
34985
  }
34781
- var Zr = Wr;
34782
- class Qr extends We {
34986
+ var Wr = Zr;
34987
+ class Qr extends Ze {
34783
34988
  constructor(r) {
34784
34989
  super(function(u, S) {
34785
34990
  oe.debug("No callbacks on user for " + u);
@@ -35165,7 +35370,7 @@ class Jd {
35165
35370
  const f = this.container.querySelector("#show-acn");
35166
35371
  f && f.addEventListener("click", () => {
35167
35372
  this.onAction(1), clearTimeout(this.timer);
35168
- }), m && p && m.addEventListener("click", () => {
35373
+ }), p && m && p.addEventListener("click", () => {
35169
35374
  _.track("copy_transferBank", {
35170
35375
  payment_method: "Transfer",
35171
35376
  payment_process: "Payment Verification",
@@ -35204,7 +35409,7 @@ class Jd {
35204
35409
  p.data.status === "inProgress" ? (o && (a = t * (s + 1), this.timer = setTimeout(d, a)), this.setPaymentResponses(p.data, p.headers)) : p.data.status === "successful" || p.data.status === "success" ? (this.setPaymentResponses(p.data, p.headers), o = !1, clearTimeout(this.timer), clearInterval(this.timerId || void 0), _.track("verify_payment", {
35205
35410
  payment_method: "Transfer",
35206
35411
  verification_status: "Success"
35207
- }), i(p)) : p.data.status === "failed" && (this.setPaymentResponses(p.data, p.headers), o = !1, clearTimeout(this.timer), clearInterval(this.timerId || void 0), this.onAction(7, "Transfer failed"), _.track("verify_payment", {
35412
+ }), i(m)) : m.data.status === "failed" && (this.setPaymentResponses(m.data, m.headers), o = !1, clearTimeout(this.timer), clearInterval(this.timerId || void 0), this.onAction(7, "Transfer failed"), _.track("verify_payment", {
35208
35413
  payment_method: "Transfer",
35209
35414
  verification_status: "Failed"
35210
35415
  }));
@@ -35281,7 +35486,7 @@ class Xd {
35281
35486
  }
35282
35487
  attachListeners() {
35283
35488
  const e = this.container.querySelector("#payment-warning-text"), t = this.container.querySelector("#payment-warning-desc");
35284
- e && (e.innerHTML = Fe["account-expired"]), t && (t.innerHTML = Fe["account-expired-desc"]);
35489
+ e && (e.innerHTML = Ie["account-expired"]), t && (t.innerHTML = Ie["account-expired-desc"]);
35285
35490
  }
35286
35491
  renderComponent() {
35287
35492
  this.container.innerHTML = this.render();
@@ -35432,7 +35637,7 @@ class $d {
35432
35637
  if (this.paymentResponse = a, this.paymentResponseHeaders = o, a.providerMessage) {
35433
35638
  const l = await W(
35434
35639
  a.providerMessage,
35435
- R()
35640
+ H()
35436
35641
  );
35437
35642
  this.errorText = l;
35438
35643
  }
@@ -35455,7 +35660,7 @@ class $d {
35455
35660
  d,
35456
35661
  R()
35457
35662
  );
35458
- this.errorText = p, this.warningScreen.setPaymentError(this.errorText);
35663
+ this.errorText = m, this.warningScreen.setPaymentError(this.errorText);
35459
35664
  }
35460
35665
  }
35461
35666
  }), this.transferDetails.renderComponent(
@@ -35464,13 +35669,13 @@ class $d {
35464
35669
  else if (a.providerMessage) {
35465
35670
  const l = await W(
35466
35671
  a.providerMessage,
35467
- R()
35672
+ H()
35468
35673
  );
35469
35674
  this.errorText = l, this.currentStep = 7, this.warningScreen.setPaymentError(this.errorText);
35470
35675
  } else {
35471
35676
  const l = await W(
35472
35677
  "Error fetching bank details",
35473
- R()
35678
+ H()
35474
35679
  );
35475
35680
  this.currentStep = 7, this.warningScreen.setPaymentError(l);
35476
35681
  }
@@ -35487,9 +35692,9 @@ class $d {
35487
35692
  Z["merchant-back"]
35488
35693
  );
35489
35694
  else if (a != null && a.message) {
35490
- const o = await W(
35695
+ const o = await q(
35491
35696
  a.message,
35492
- R()
35697
+ H()
35493
35698
  );
35494
35699
  this.errorText = o, this.currentStep = 7, this.warningScreen.setPaymentError(this.errorText);
35495
35700
  } else
@@ -35501,7 +35706,7 @@ class $d {
35501
35706
  });
35502
35707
  }
35503
35708
  goBackToMerchant() {
35504
- De(
35709
+ Be(
35505
35710
  this.paymentResponse,
35506
35711
  this.paymentResponseHeaders,
35507
35712
  this.callBackUrl
@@ -35523,9 +35728,9 @@ class $d {
35523
35728
  },
35524
35729
  onFail: async (s, a) => {
35525
35730
  if (this.currentStep = s, s === 7 && a) {
35526
- const o = await W(
35731
+ const o = await q(
35527
35732
  a,
35528
- R()
35733
+ H()
35529
35734
  );
35530
35735
  this.errorText = o, this.warningScreen.setPaymentError(this.errorText);
35531
35736
  }
@@ -35542,9 +35747,9 @@ class $d {
35542
35747
  container: this.contents,
35543
35748
  onAction: async (s, a) => {
35544
35749
  if (this.currentStep = s, s === 7 && a) {
35545
- const o = await W(
35750
+ const o = await q(
35546
35751
  a,
35547
- R()
35752
+ H()
35548
35753
  );
35549
35754
  this.errorText = o, this.warningScreen.setPaymentError(this.errorText);
35550
35755
  }
@@ -35599,9 +35804,9 @@ class $d {
35599
35804
  onAction: async () => {
35600
35805
  var s, a;
35601
35806
  if (this.currentStep = 7, (s = this.paymentResponse) != null && s.providerMessage) {
35602
- const o = await W(
35807
+ const o = await q(
35603
35808
  (a = this.paymentResponse) == null ? void 0 : a.providerMessage,
35604
- R()
35809
+ H()
35605
35810
  );
35606
35811
  this.errorText = o;
35607
35812
  }
@@ -35668,7 +35873,7 @@ class gn extends Error {
35668
35873
  super(e), this.name = "AuthorizationError";
35669
35874
  }
35670
35875
  }
35671
- class Ss {
35876
+ class ws {
35672
35877
  constructor(e) {
35673
35878
  c(this, "token");
35674
35879
  c(this, "baseurl", "https://api.spotflow.co/api/v1");
@@ -35809,7 +36014,7 @@ class To extends Ss {
35809
36014
  }
35810
36015
  }
35811
36016
  }
35812
- class eu extends Ss {
36017
+ class eu extends ws {
35813
36018
  constructor(e) {
35814
36019
  super(e);
35815
36020
  }
@@ -35839,7 +36044,7 @@ class eu extends Ss {
35839
36044
  }
35840
36045
  }
35841
36046
  }
35842
- class nu extends Ss {
36047
+ class nu extends ws {
35843
36048
  constructor(e) {
35844
36049
  super(e);
35845
36050
  }
@@ -36576,7 +36781,7 @@ class hu {
36576
36781
  "#payment-rate-display-mob"
36577
36782
  ), C = this.container.querySelector("#designated-rate"), g = this.container.querySelector(
36578
36783
  "#designated-rate-mob"
36579
- ), w = this.container.querySelector(
36784
+ ), S = this.container.querySelector(
36580
36785
  "#designated-rate-no-plan"
36581
36786
  ), A = this.container.querySelector("#source-rate"), x = this.container.querySelector("#source-rate-mob"), M = this.container.querySelector("#tax-rate"), P = this.container.querySelector("#tax-rate-mob"), D = this.container.querySelector("#tooltip-localCurrency"), N = this.container.querySelector(
36582
36787
  "#tooltip-localCurrency-mob"
@@ -36672,8 +36877,8 @@ class hu {
36672
36877
  <button class="tab-button gap-2 group" data-name="${p.key}">
36673
36878
  <div class="md:container-center lg:block">${p.icon}</div>
36674
36879
  <div class="flex items-center gap-2">
36675
- <span class="pm-label" data-translate=${p.translateKey}>${p.label} </span>
36676
- ${p.key === "card" ? ` <div class="bg-tone-100 rounded-[40px] h-[22px] text-xxs text-white align-center px-2"> ${i} </div>` : ""}
36880
+ <span class="pm-label" data-translate=${m.translateKey}>${m.label} </span>
36881
+ ${m.key === "card" ? ` <div class="bg-tone-100 rounded-[40px] h-[22px] text-xxs text-white align-center px-2"> ${i} </div>` : ""}
36677
36882
  </div>
36678
36883
  </button>
36679
36884
  </div>
@@ -36695,11 +36900,11 @@ class hu {
36695
36900
  for (let p = 1; p < o.length; p++)
36696
36901
  d += `
36697
36902
  <div>
36698
- <button class="tab-button gap-2 group" data-name="${o[p].key}">
36699
- <div class="md:container-center lg:block">${o[p].icon}</div>
36903
+ <button class="tab-button gap-2 group" data-name="${o[m].key}">
36904
+ <div class="md:container-center lg:block">${o[m].icon}</div>
36700
36905
  <div class="flex items-center gap-2">
36701
- <span class="pm-label" data-translate=${o[p].translateKey}>${o[p].label} </span>
36702
- ${o[p].key === "card" ? ` <div class="bg-tone-100 rounded-[40px] h-[22px] text-xxs text-white align-center px-2"> ${i} </div>` : ""}
36906
+ <span class="pm-label" data-translate=${o[m].translateKey}>${o[m].label} </span>
36907
+ ${o[m].key === "card" ? ` <div class="bg-tone-100 rounded-[40px] h-[22px] text-xxs text-white align-center px-2"> ${i} </div>` : ""}
36703
36908
  </div>
36704
36909
  </button>
36705
36910
  </div>
@@ -36793,6 +36998,9 @@ class pu {
36793
36998
  () => {
36794
36999
  this.onAction(5);
36795
37000
  }
37001
+ // () => {
37002
+ // this.onAction(5);
37003
+ // },
36796
37004
  );
36797
37005
  }, 5e3), this.startTimer();
36798
37006
  }
@@ -36804,7 +37012,7 @@ class pu {
36804
37012
  l = !1, this.onAction(8);
36805
37013
  return;
36806
37014
  }
36807
- a += 1;
37015
+ s += 1;
36808
37016
  try {
36809
37017
  const m = await $e(
36810
37018
  e,
@@ -36824,7 +37032,7 @@ class pu {
36824
37032
  l && (o = t * (a + 1), this.timer = setTimeout(p, o));
36825
37033
  }
36826
37034
  };
36827
- p();
37035
+ l();
36828
37036
  }
36829
37037
  redirectTo(e, t, i) {
36830
37038
  const s = t.get("spf-redirect-url");
@@ -37088,9 +37296,9 @@ class bu {
37088
37296
  payment_method: "Mobile Money",
37089
37297
  error: e.message || "Unknown error"
37090
37298
  }), e.message) {
37091
- const t = await W(
37299
+ const t = await q(
37092
37300
  e.message,
37093
- R()
37301
+ H()
37094
37302
  );
37095
37303
  this.switchScreen(5), this.warningError.setPaymentError(t);
37096
37304
  } else
@@ -37235,7 +37443,7 @@ class Cu {
37235
37443
  _.track("redirect_to_merchant", {
37236
37444
  payment_method: this.paymentMethod,
37237
37445
  status: (a = this.paymentResponse) == null ? void 0 : a.status
37238
- }), De(
37446
+ }), Be(
37239
37447
  this.paymentResponse,
37240
37448
  this.paymentResponseHeaders,
37241
37449
  this.callBackUrl
@@ -37253,7 +37461,7 @@ class Cu {
37253
37461
  return yu;
37254
37462
  }
37255
37463
  }
37256
- class Su {
37464
+ class wu {
37257
37465
  constructor({
37258
37466
  container: e,
37259
37467
  merchantKey: t,
@@ -37550,7 +37758,7 @@ class Su {
37550
37758
  }
37551
37759
  }
37552
37760
  goBackToMerchant() {
37553
- De(
37761
+ Be(
37554
37762
  this.paymentResponse,
37555
37763
  this.paymentResponseHeaders,
37556
37764
  this.callBackUrl
@@ -37594,8 +37802,8 @@ class Su {
37594
37802
  case 3:
37595
37803
  this.mobileMoneyConfirmation = new pu({
37596
37804
  container: this.contents,
37597
- onAction: (t) => {
37598
- this.currentStep = t;
37805
+ onAction: (t, i) => {
37806
+ i && t === 5 ? (this.currentStep = 5, this.warningScreen.setPaymentError(i), this.warningScreen.hideReportIssue()) : this.currentStep = t;
37599
37807
  },
37600
37808
  ref: this.reference,
37601
37809
  onSuccess: this.onSuccess.bind(this),
@@ -37676,7 +37884,7 @@ class Su {
37676
37884
  this.attachInputListeners();
37677
37885
  }
37678
37886
  }
37679
- const wu = `<div id="eft-authenticate-container" data-section="eft">
37887
+ const Su = `<div id="eft-authenticate-container" data-section="eft">
37680
37888
  <div class="pt-3">
37681
37889
  <div class="container-center">
37682
37890
  <svg width="98" height="32" viewBox="0 0 98 32" fill="none" xmlns="http://www.w3.org/2000/svg"
@@ -37739,7 +37947,7 @@ class ba {
37739
37947
  this.container.innerHTML = this.render(), this.attachListener();
37740
37948
  }
37741
37949
  render() {
37742
- return wu;
37950
+ return Su;
37743
37951
  }
37744
37952
  }
37745
37953
  class ku {
@@ -37808,7 +38016,7 @@ class ku {
37808
38016
  this.pageLoader = new Ae(this.contents), this.pageLoader.mountLoader(), this.pageLoader.updateMessage(E["verify-payment"]);
37809
38017
  }
37810
38018
  goBackToMerchant() {
37811
- De(
38019
+ Be(
37812
38020
  this.paymentResponse,
37813
38021
  this.paymentResponseHeaders,
37814
38022
  this.callBackUrl
@@ -37859,11 +38067,11 @@ class ku {
37859
38067
  })().then(async ({ data: a, headers: o }) => {
37860
38068
  var l, d, p;
37861
38069
  if (this.paymentResponse = a, this.paymentResponseHeaders = o, a.providerMessage) {
37862
- const m = await W(
38070
+ const p = await q(
37863
38071
  a.providerMessage,
37864
- R()
38072
+ H()
37865
38073
  );
37866
- this.errorText = m;
38074
+ this.errorText = p;
37867
38075
  }
37868
38076
  if (a.status === "failed") {
37869
38077
  this.currentStep = 4, a.providerMessage ? this.warningScreen.setPaymentError(this.errorText) : this.warningScreen.setPaymentError(
@@ -37888,14 +38096,14 @@ class ku {
37888
38096
  Z["merchant-back"]
37889
38097
  );
37890
38098
  else if (a.message) {
37891
- const o = await W(
38099
+ const o = await q(
37892
38100
  a.message,
37893
- R()
38101
+ H()
37894
38102
  );
37895
38103
  this.errorText = o, this.currentStep = 4, this.warningScreen.setPaymentError(this.errorText);
37896
38104
  } else
37897
38105
  this.currentStep = 4, this.warningScreen.setPaymentError(
37898
- Z["payment-failed"]
38106
+ W["payment-failed"]
37899
38107
  );
37900
38108
  }).finally(() => {
37901
38109
  e && t && (e.classList.add("hidden"), t.classList.remove("hidden"));
@@ -37929,16 +38137,16 @@ class ku {
37929
38137
  this.currentStep = 2, _.track("verify_payment", {
37930
38138
  payment_method: "EFT",
37931
38139
  verification_status: "Success"
37932
- }), De(
38140
+ }), Be(
37933
38141
  this.paymentResponse,
37934
38142
  this.paymentResponseHeaders,
37935
38143
  "success"
37936
38144
  );
37937
38145
  else if (t === "failed") {
37938
38146
  if (this.paymentResponse.providerMessage) {
37939
- const i = await W(
38147
+ const i = await q(
37940
38148
  this.paymentResponse.providerMessage,
37941
- R()
38149
+ H()
37942
38150
  );
37943
38151
  this.errorText = i;
37944
38152
  }
@@ -37946,7 +38154,7 @@ class ku {
37946
38154
  payment_method: "EFT",
37947
38155
  verification_status: "Failed"
37948
38156
  }), this.paymentResponse.providerMessage ? this.warningScreen.setPaymentError(this.errorText) : this.warningScreen.setPaymentError(
37949
- Z["payment-failed"]
38157
+ W["payment-failed"]
37950
38158
  );
37951
38159
  } else t === "cancelled" && (this.isMaxRetriesReached = !0, this.currentStep = 4, this.warningScreen.setPaymentError(
37952
38160
  In["payment-cancelled"],
@@ -37955,7 +38163,7 @@ class ku {
37955
38163
  ));
37956
38164
  } catch {
37957
38165
  this.currentStep = 4, this.warningScreen.setPaymentError(
37958
- Z["payment-failed"]
38166
+ W["payment-failed"]
37959
38167
  );
37960
38168
  }
37961
38169
  }
@@ -37999,9 +38207,9 @@ class ku {
37999
38207
  onAction: async () => {
38000
38208
  var s, a;
38001
38209
  if ((s = this.paymentResponse) != null && s.providerMessage) {
38002
- const o = await W(
38210
+ const o = await q(
38003
38211
  (a = this.paymentResponse) == null ? void 0 : a.providerMessage,
38004
- R()
38212
+ H()
38005
38213
  );
38006
38214
  this.errorText = o;
38007
38215
  }
@@ -38134,7 +38342,7 @@ class fa {
38134
38342
  copyToClipboard(e, t) {
38135
38343
  const i = t.innerHTML;
38136
38344
  navigator.clipboard.writeText(e).then(() => {
38137
- t.innerHTML = Ve["copied-text"], setTimeout(() => {
38345
+ t.innerHTML = Fe["copied-text"], setTimeout(() => {
38138
38346
  t.innerHTML = i;
38139
38347
  }, 1500);
38140
38348
  }).catch(() => {
@@ -38144,6 +38352,7 @@ class fa {
38144
38352
  });
38145
38353
  }
38146
38354
  attachListener() {
38355
+ var y;
38147
38356
  var y;
38148
38357
  const e = document.querySelector(
38149
38358
  'span[name="select-asset-text"]'
@@ -38156,10 +38365,10 @@ class fa {
38156
38365
  ), a = document.querySelector(
38157
38366
  "#wallet-address-text"
38158
38367
  );
38159
- a && (a.textContent = Ve["wallet-address"]), e && (e.textContent = Ve["select-asset"]), t && (t.textContent = Ve["select-chain"]), this.populateSelect(
38368
+ a && (a.textContent = Fe["wallet-address"]), e && (e.textContent = Fe["select-asset"]), t && (t.textContent = Fe["select-chain"]), this.populateSelect(
38160
38369
  i,
38161
38370
  this.chainsList,
38162
- Ve["select-chain"]
38371
+ Fe["select-chain"]
38163
38372
  );
38164
38373
  const o = async () => {
38165
38374
  if (this.chainsList.length === 0)
@@ -38179,7 +38388,7 @@ class fa {
38179
38388
  this.populateSelect(
38180
38389
  i,
38181
38390
  this.chainsList,
38182
- Ve["select-chain"]
38391
+ Fe["select-chain"]
38183
38392
  );
38184
38393
  }, l = async () => {
38185
38394
  if (this.assetList.length === 0)
@@ -38199,7 +38408,7 @@ class fa {
38199
38408
  this.populateSelect(
38200
38409
  s,
38201
38410
  this.assetList,
38202
- Ve["select-asset"],
38411
+ Fe["select-asset"],
38203
38412
  !0
38204
38413
  );
38205
38414
  };
@@ -38215,7 +38424,7 @@ class fa {
38215
38424
  d.innerHTML = `
38216
38425
  <div>
38217
38426
  <div class='mb-4 mt-2'>
38218
- <p class=" text-black text-xs font-medium" id="payment-text">${p || ""}</p>
38427
+ <p class=" text-black text-xs font-medium" id="payment-text">${m || ""}</p>
38219
38428
  </div>
38220
38429
  <div class="flex flex-col-reverse md:flex-col items-center gap-4">
38221
38430
 
@@ -38225,9 +38434,9 @@ class fa {
38225
38434
 
38226
38435
 
38227
38436
  <div class="relative w-full">
38228
- <span class="absolute text-xs left-0 top-1 text-grey-100 pt-1 pb-1 px-3 tracking-[0.5px]" id="wallet-address-text">${Ve["wallet-address"]}</span>
38437
+ <span class="absolute text-xs left-0 top-1 text-grey-100 pt-1 pb-1 px-3 tracking-[0.5px]" id="wallet-address-text">${Fe["wallet-address"]}</span>
38229
38438
  <div>
38230
- <input class="chain-type mm-input-container appearance-none bg-[#F7F8FB] border-none pr-7" value="${w}" disabled></input>
38439
+ <input class="chain-type mm-input-container appearance-none bg-[#F7F8FB] border-none pr-7" value="${S}" disabled></input>
38231
38440
  </div>
38232
38441
  <div class="absolute right-4 top-1/2 -translate-y-2/4">
38233
38442
  <div class="rounded-[20px] border h-4 px-2 text-xs font-medium inline-block cursor-pointer" id="wallet-address">
@@ -38257,7 +38466,7 @@ class fa {
38257
38466
  } else
38258
38467
  d.innerHTML = "";
38259
38468
  };
38260
- i.addEventListener("change", m), s.addEventListener("change", m);
38469
+ i.addEventListener("change", p), s.addEventListener("change", p);
38261
38470
  }
38262
38471
  async createStablecoinPayment(e) {
38263
38472
  const t = this.container.querySelector(".spinner"), i = this.container.querySelector("#confirm-payment-btn"), s = i ? i.querySelector(".text") : null;
@@ -38266,7 +38475,7 @@ class fa {
38266
38475
  return (() => {
38267
38476
  var l, d;
38268
38477
  if (this.retryingPayment) {
38269
- const p = {
38478
+ const m = {
38270
38479
  channel: "stablecoin",
38271
38480
  reference: this.reference,
38272
38481
  stablecoin: {
@@ -38276,12 +38485,12 @@ class fa {
38276
38485
  };
38277
38486
  return pt(
38278
38487
  this.token,
38279
- p,
38488
+ m,
38280
38489
  this.rdtCode,
38281
38490
  this.url
38282
38491
  );
38283
38492
  } else {
38284
- const p = {
38493
+ const m = {
38285
38494
  amount: this.amount,
38286
38495
  channel: "stablecoin",
38287
38496
  currency: this.currency,
@@ -38302,7 +38511,7 @@ class fa {
38302
38511
  };
38303
38512
  return hl(
38304
38513
  this.token,
38305
- p,
38514
+ m,
38306
38515
  this.rdtCode,
38307
38516
  this.url
38308
38517
  );
@@ -38315,7 +38524,7 @@ class fa {
38315
38524
  l.providerMessage,
38316
38525
  wt.language
38317
38526
  );
38318
- this.errorText = m, this.warningScreen.setPaymentError(this.errorText);
38527
+ this.errorText = p, this.warningScreen.setPaymentError(this.errorText);
38319
38528
  } else
38320
38529
  this.warningScreen.setPaymentError(
38321
38530
  E["payment-failed"]
@@ -38348,7 +38557,7 @@ class fa {
38348
38557
  l.message,
38349
38558
  wt == null ? void 0 : wt.language
38350
38559
  );
38351
- this.errorText = m, this.warningScreen.setPaymentError(this.errorText);
38560
+ this.errorText = p, this.warningScreen.setPaymentError(this.errorText);
38352
38561
  } else
38353
38562
  this.warningScreen.setPaymentError(
38354
38563
  E["payment-failed"]
@@ -38365,7 +38574,7 @@ class fa {
38365
38574
  return Au;
38366
38575
  }
38367
38576
  }
38368
- const xu = `<div id="stablecoinConfirmationProgress" data-section="stablecoin">
38577
+ const Lu = `<div id="stablecoinConfirmationProgress" data-section="stablecoin">
38369
38578
  <div>
38370
38579
  <div>
38371
38580
  <div class=" grid grid-rows-[auto_1fr] gap-4 mx-5">
@@ -38405,7 +38614,7 @@ const xu = `<div id="stablecoinConfirmationProgress" data-section="stablecoin">
38405
38614
  </div>
38406
38615
  </div>
38407
38616
  </div>`;
38408
- class Lu {
38617
+ class xu {
38409
38618
  constructor(e) {
38410
38619
  c(this, "container");
38411
38620
  c(this, "onAction");
@@ -38467,12 +38676,12 @@ class Lu {
38467
38676
  }), s(m)), m.data.status === "inProgress" && (l && (o = t * (a + 1), this.timer = setTimeout(p, o)), this.setPaymentResponses(m.data, m.headers)), (m.data.status === "success" || m.data.status === "successful") && (this.setPaymentResponses(m.data, m.headers), l = !1, clearTimeout(this.timer), clearInterval(this.timerId || void 0), _.track("verify_payment", {
38468
38677
  payment_method: "Stablecoins",
38469
38678
  verification_status: "Success"
38470
- }), i(m));
38679
+ }), i(p));
38471
38680
  } catch {
38472
38681
  l && (o = t * (a + 1), this.timer = setTimeout(p, o));
38473
38682
  }
38474
38683
  };
38475
- p();
38684
+ m();
38476
38685
  }
38477
38686
  redirectTo(e, t, i) {
38478
38687
  const s = t.get("spf-redirect-url");
@@ -38491,7 +38700,7 @@ class Lu {
38491
38700
  this.container.innerHTML = this.render(), this.attachListeners();
38492
38701
  }
38493
38702
  render() {
38494
- return xu;
38703
+ return Lu;
38495
38704
  }
38496
38705
  }
38497
38706
  const Tu = `<div id="checkoutConfirmationEnd" data-section="stablecoin">
@@ -38542,7 +38751,7 @@ class _u {
38542
38751
  _.track("redirect_to_merchant", {
38543
38752
  payment_method: this.paymentMethod,
38544
38753
  status: (t = this.paymentResponse) == null ? void 0 : t.status
38545
- }), De(
38754
+ }), Be(
38546
38755
  this.paymentResponse,
38547
38756
  this.paymentResponseHeaders,
38548
38757
  this.callBackUrl
@@ -38624,7 +38833,7 @@ class Eu {
38624
38833
  t && (t.textContent = e);
38625
38834
  }
38626
38835
  goBackToMerchant() {
38627
- De(
38836
+ Be(
38628
38837
  this.paymentResponse,
38629
38838
  this.paymentResponseHeaders,
38630
38839
  this.callBackUrl
@@ -38644,7 +38853,7 @@ class Eu {
38644
38853
  t === "successful" ? (this.currentStep = 2, _.track("verify_payment", {
38645
38854
  payment_method: "Stablecoins",
38646
38855
  verification_status: "Success"
38647
- }), De(
38856
+ }), Be(
38648
38857
  this.paymentResponse,
38649
38858
  this.paymentResponseHeaders,
38650
38859
  "success"
@@ -38737,7 +38946,7 @@ class Eu {
38737
38946
  }), this.transactionIssuesScreen.renderTransactionIssuesComponent();
38738
38947
  break;
38739
38948
  case 6:
38740
- this.stablecoinsConfirmationProgress = new Lu({
38949
+ this.stablecoinsConfirmationProgress = new xu({
38741
38950
  container: this.contents,
38742
38951
  callBackUrl: this.callBackUrl,
38743
38952
  setPaymentResponses: (i, s) => {
@@ -38750,7 +38959,7 @@ class Eu {
38750
38959
  ref: this.reference,
38751
38960
  onSuccess: () => {
38752
38961
  this.currentStep = 2, setTimeout(() => {
38753
- De(
38962
+ Be(
38754
38963
  this.paymentResponse,
38755
38964
  this.paymentResponseHeaders,
38756
38965
  "success"
@@ -38922,7 +39131,7 @@ class Iu {
38922
39131
  this.pageLoader = new Ae(this.contents), this.pageLoader.mountLoader(), this.pageLoader.updateMessage(E["verify-payment"]);
38923
39132
  }
38924
39133
  goBackToMerchant() {
38925
- De(
39134
+ Be(
38926
39135
  this.paymentResponse,
38927
39136
  this.paymentResponseHeaders,
38928
39137
  this.callBackUrl
@@ -38973,11 +39182,11 @@ class Iu {
38973
39182
  })().then(async ({ data: a, headers: o }) => {
38974
39183
  var l, d, p;
38975
39184
  if (this.paymentResponse = a, this.paymentResponseHeaders = o, a.providerMessage) {
38976
- const m = await W(
39185
+ const p = await q(
38977
39186
  a.providerMessage,
38978
- R()
39187
+ H()
38979
39188
  );
38980
- this.errorText = m;
39189
+ this.errorText = p;
38981
39190
  }
38982
39191
  if (a.status === "failed") {
38983
39192
  this.currentStep = 4, a.providerMessage ? this.warningScreen.setPaymentError(this.errorText) : this.warningScreen.setPaymentError(
@@ -39002,14 +39211,14 @@ class Iu {
39002
39211
  Z["merchant-back"]
39003
39212
  );
39004
39213
  else if (a.message) {
39005
- const o = await W(
39214
+ const o = await q(
39006
39215
  a.message,
39007
- R()
39216
+ H()
39008
39217
  );
39009
39218
  this.errorText = o, this.currentStep = 4, this.warningScreen.setPaymentError(this.errorText);
39010
39219
  } else
39011
39220
  this.currentStep = 4, this.warningScreen.setPaymentError(
39012
- Z["payment-failed"]
39221
+ W["payment-failed"]
39013
39222
  );
39014
39223
  }).finally(() => {
39015
39224
  e && t && (e.classList.add("hidden"), t.classList.remove("hidden"));
@@ -39053,16 +39262,16 @@ class Iu {
39053
39262
  this.currentStep = 2, _.track("verify_payment", {
39054
39263
  payment_method: "OPAY",
39055
39264
  verification_status: "Success"
39056
- }), De(
39265
+ }), Be(
39057
39266
  this.paymentResponse,
39058
39267
  this.paymentResponseHeaders,
39059
39268
  "success"
39060
39269
  );
39061
39270
  else if (t === "failed") {
39062
39271
  if (this.paymentResponse.providerMessage) {
39063
- const i = await W(
39272
+ const i = await q(
39064
39273
  this.paymentResponse.providerMessage,
39065
- R()
39274
+ H()
39066
39275
  );
39067
39276
  this.errorText = i;
39068
39277
  }
@@ -39070,7 +39279,7 @@ class Iu {
39070
39279
  payment_method: "OPAY",
39071
39280
  verification_status: "Failed"
39072
39281
  }), this.paymentResponse.providerMessage ? this.warningScreen.setPaymentError(this.errorText) : this.warningScreen.setPaymentError(
39073
- Z["payment-failed"]
39282
+ W["payment-failed"]
39074
39283
  );
39075
39284
  } else t === "cancelled" && (this.isMaxRetriesReached = !0, this.currentStep = 4, this.warningScreen.setPaymentError(
39076
39285
  Dn["payment-cancelled"],
@@ -39079,7 +39288,7 @@ class Iu {
39079
39288
  ));
39080
39289
  } catch {
39081
39290
  this.currentStep = 4, this.warningScreen.setPaymentError(
39082
- Z["payment-failed"]
39291
+ W["payment-failed"]
39083
39292
  );
39084
39293
  }
39085
39294
  }
@@ -39123,9 +39332,9 @@ class Iu {
39123
39332
  onAction: async () => {
39124
39333
  var s, a;
39125
39334
  if ((s = this.paymentResponse) != null && s.providerMessage) {
39126
- const o = await W(
39335
+ const o = await q(
39127
39336
  (a = this.paymentResponse) == null ? void 0 : a.providerMessage,
39128
- R()
39337
+ H()
39129
39338
  );
39130
39339
  this.errorText = o;
39131
39340
  }
@@ -39229,8 +39438,8 @@ class Du {
39229
39438
  merchantDetail: e,
39230
39439
  onAction: this.switchTab.bind(this),
39231
39440
  isMobile: this.isMobile,
39232
- onClose: (m) => {
39233
- this.closeBTN.bind(this)(m);
39441
+ onClose: (p) => {
39442
+ this.closeBTN.bind(this)(p);
39234
39443
  },
39235
39444
  currentPaymentMethod: this.currentPaymentMethod,
39236
39445
  countryCode: this.countryCode,
@@ -39238,10 +39447,10 @@ class Du {
39238
39447
  }), this.mainHeader.renderComponent(), this.testCard = new xo({
39239
39448
  container: document.getElementById("test-container"),
39240
39449
  closeCallback: () => {
39241
- const m = document.getElementById(
39450
+ const p = document.getElementById(
39242
39451
  "test-container"
39243
39452
  );
39244
- m && (m.innerHTML = "", m.classList.add("hidden"));
39453
+ p && (p.innerHTML = "", p.classList.add("hidden"));
39245
39454
  }
39246
39455
  });
39247
39456
  const o = !1, l = Us(this.merchantKey);
@@ -39253,8 +39462,9 @@ class Du {
39253
39462
  keyEnvironment: l || (this.mode ? this.mode : null),
39254
39463
  isVisible: o
39255
39464
  }), document.addEventListener("DOMContentLoaded", () => {
39256
- const m = document.getElementById(
39465
+ const p = document.getElementById(
39257
39466
  "main-footer"
39467
+ ), y = document.getElementById(
39258
39468
  ), y = document.getElementById(
39259
39469
  "test-container"
39260
39470
  );
@@ -39388,7 +39598,7 @@ class Du {
39388
39598
  }
39389
39599
  });
39390
39600
  case "mobile_money":
39391
- return this.mobileMoney = new Su({
39601
+ return this.mobileMoney = new wu({
39392
39602
  container: this.modalContainer,
39393
39603
  customer: t || this.customerDetails,
39394
39604
  currency: a,
@@ -39543,7 +39753,7 @@ class Du {
39543
39753
  const t = this.modalContainer.querySelector(
39544
39754
  "#payment-content-view"
39545
39755
  );
39546
- R() !== "en" && !El(this.selectedMethods, e) ? (this.mainLoader = new Ae(t), this.mainLoader.mountLoader("25dvh"), this.renderTranslatedText(e).then(() => {
39756
+ H() !== "en" && !El(this.selectedMethods, e) ? (this.mainLoader = new Ae(t), this.mainLoader.mountLoader("25dvh"), this.renderTranslatedText(e).then(() => {
39547
39757
  this.mainLoader.unmountLoader(), this.renderingPaymentMethodDetails(e);
39548
39758
  })) : this.renderingPaymentMethodDetails(e);
39549
39759
  }
@@ -39650,14 +39860,14 @@ class Qi {
39650
39860
 
39651
39861
  <div class="container-center h-[40vh] hidden mx-auto" id="shared-error-container">
39652
39862
  <img src="" alt="error gif" class=" h-[50px] w-16 mb-5" />
39653
- <h5 id="error-message-div" class="text-tone-100 font-semibold text-2xl text-center mb-1" data-translate="something-wrong">${Z["something-wrong"]}</h5>
39863
+ <h5 id="error-message-div" class="text-tone-100 font-semibold text-2xl text-center mb-1" data-translate="something-wrong">${W["something-wrong"]}</h5>
39654
39864
  <div class="w-4/5 mx-auto">
39655
39865
  <p class="text-tone-100 text-sm text-center mb-5" id="error-desc" data-translate="error-description">
39656
- ${Z["error-description"]}
39866
+ ${W["error-description"]}
39657
39867
  </p>
39658
39868
  </div>
39659
39869
  <div class="container-center hidden" id="error-action-container">
39660
- <button class="button-fill w-60 text-sm" id="go-back" data-translate="merchant-back">${Z["merchant-back"]}</button>
39870
+ <button class="button-fill w-60 text-sm" id="go-back" data-translate="merchant-back">${W["merchant-back"]}</button>
39661
39871
  </div>
39662
39872
 
39663
39873
  </div>
@@ -39666,7 +39876,7 @@ class Qi {
39666
39876
  }
39667
39877
  }
39668
39878
  const Bu = "data:image/svg+xml,%3csvg%20width='40'%20height='40'%20viewBox='0%200%2040%2040'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20x='10'%20y='11.6667'%20width='20'%20height='18.3333'%20fill='white'/%3e%3cpath%20d='M19.9955%2036.6666C15.5754%2036.6706%2011.3352%2034.9161%208.20965%2031.7898C5.08414%2028.6635%203.33001%2024.4222%203.33399%2020.0009V19.6676C3.47026%2012.9884%207.57901%207.0353%2013.7747%204.54029C19.9704%202.04528%2027.0568%203.49007%2031.7819%208.21164C36.5512%2012.9782%2037.9786%2020.1498%2035.398%2026.38C32.8174%2032.6101%2026.7375%2036.6706%2019.9955%2036.6666ZM19.9955%2022.3508L24.3109%2026.6672L26.6601%2024.3174L22.3448%2020.0009L26.6601%2015.6845L24.3109%2013.3347L19.9955%2017.6511L15.6802%2013.3347L13.3309%2015.6845L17.6463%2020.0009L13.3309%2024.3174L15.6802%2026.6672L19.9955%2022.3525V22.3508Z'%20fill='%23D62020'/%3e%3c/svg%3e";
39669
- class Ru {
39879
+ class Hu {
39670
39880
  constructor(e) {
39671
39881
  c(this, "container");
39672
39882
  c(this, "currency", "");
@@ -39793,15 +40003,15 @@ class Fu {
39793
40003
  } = e;
39794
40004
  if (this.merchantKey = s || "", this.email = t || "", this.amount = o || 0, this.encryption = i || "", this.planId = a || "", this.rdtCode = l || "", this.reference = d || kl(), this.url = m || "", this.callBackUrl = y || "", this.metadata = f || {}, this.countryCode = C || "", this.phoneNumber = g || "", this.name = w || "", this.mode = A, this.enableDiscount = typeof x == "string" ? x === "true" : x, !s || !t)
39795
40005
  throw this.mainError = new Qi(this.mainLayout), this.mainError.renderContent(
39796
- Z["merchant-email-required"],
40006
+ W["merchant-email-required"],
39797
40007
  this.callBackUrl
39798
40008
  ), this.showErrorIcon(), new Error("Merchant key or email is required");
39799
40009
  if (p === "USD" && !v)
39800
40010
  throw this.mainError = new Qi(this.mainLayout), this.mainError.renderContent(
39801
- Z["no-local-currency"],
40011
+ W["no-local-currency"],
39802
40012
  ""
39803
40013
  ), this.showErrorIcon(), new Error("Local currency is required for USD transactions");
39804
- this.currency = p || "", this.merchantConfigService = new eu({
40014
+ this.currency = m || "", this.merchantConfigService = new eu({
39805
40015
  token: this.merchantKey,
39806
40016
  rdtCode: this.rdtCode,
39807
40017
  url: this.url
@@ -39898,12 +40108,12 @@ class Fu {
39898
40108
  this.render(a, o);
39899
40109
  } else
39900
40110
  this.mainError.renderContent(
39901
- Z["rate-not-found"],
40111
+ W["rate-not-found"],
39902
40112
  this.callBackUrl
39903
40113
  ), this.showErrorIcon();
39904
40114
  }).catch((t) => {
39905
40115
  throw this.mainError.renderContent(
39906
- Z["error-occured"],
40116
+ W["error-occured"],
39907
40117
  this.callBackUrl
39908
40118
  ), this.showErrorIcon(), new Error(t);
39909
40119
  });