@everymatrix/cashier-page 1.94.36 → 1.94.37

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (70) hide show
  1. package/components/CashierCarousel-CWqhxf1D.cjs +1 -0
  2. package/components/{CashierCarousel-Ju7cQ53J.js → CashierCarousel-DFK922WR.js} +214 -178
  3. package/components/{CashierCarousel-B4jAzsnI.js → CashierCarousel-k7Y3Z9n1.js} +214 -178
  4. package/components/CashierError-C1W-9X8J.cjs +1 -0
  5. package/components/CashierError-C9gnnAyr.js +814 -0
  6. package/components/CashierError-WkiOBVs-.js +798 -0
  7. package/components/CashierHeader-BK500Xjw.cjs +1 -0
  8. package/components/{CashierHeader-BGpZFT0g.js → CashierHeader-Byz_chFz.js} +53 -32
  9. package/components/{CashierHeader-CP6ffv1-.js → CashierHeader-COwiXVNs.js} +53 -32
  10. package/components/CashierIframeRedirect-BDGjUNum.cjs +1 -0
  11. package/components/{CashierIframeRedirect-BhGJdt1S.js → CashierIframeRedirect-BoyUKotK.js} +69 -60
  12. package/components/{CashierIframeRedirect-Bf0iNUJc.js → CashierIframeRedirect-rUhN76X2.js} +69 -60
  13. package/components/{CashierMethodDetails-BJYlZyTr.js → CashierMethodDetails-CGdI_qop.js} +2488 -2194
  14. package/components/{CashierMethodDetails-DF2piOnQ.js → CashierMethodDetails-UYwG3pD4.js} +2389 -2095
  15. package/components/CashierMethodDetails-rXDr1XNZ.cjs +85 -0
  16. package/components/{CashierMethodsList-i6RsCq8_.js → CashierMethodsList-BJOLHbcD.js} +169 -133
  17. package/components/{CashierMethodsList-CceoUQus.js → CashierMethodsList-BL0sUyuY.js} +182 -146
  18. package/components/CashierMethodsList-CZV52Zob.cjs +1 -0
  19. package/components/{CashierModal-B_CMXPj2.js → CashierModal-B_7Q4iwq.js} +2 -2
  20. package/components/{CashierModal-Dd14V9-9.cjs → CashierModal-BxI26VGr.cjs} +1 -1
  21. package/components/{CashierModal-CvAq_Ya6.js → CashierModal-Dl0z5NVU.js} +2 -2
  22. package/components/{CashierNotifications-CGOL4Hgi.js → CashierNotifications-0c5qC2wE.js} +1 -1
  23. package/components/{CashierNotifications-B2ACV2Wj.js → CashierNotifications-BELBGieS.js} +1 -1
  24. package/components/{CashierNotifications-DiuiOKKG.cjs → CashierNotifications-IlgXqW4M.cjs} +1 -1
  25. package/components/CashierPage-56J3O0u0.cjs +23 -0
  26. package/components/{CashierPage-C78qNR_6.js → CashierPage-D9p8Vv64.js} +1159 -1018
  27. package/components/{CashierPage-9QGvgJdD.js → CashierPage-f3Bp0yQu.js} +1058 -917
  28. package/components/{CashierReceiptPage-BO_YWEks.cjs → CashierReceiptPage-CiR_vfro.cjs} +2 -2
  29. package/components/{CashierReceiptPage-C5xtHwlF.js → CashierReceiptPage-D2QaqABB.js} +800 -524
  30. package/components/{CashierReceiptPage-BN3nEO9S.js → CashierReceiptPage-HHsf22Go.js} +759 -483
  31. package/components/CashierSessionExpirationModal-BGSdk_Mj.cjs +2 -0
  32. package/components/{CashierSessionExpirationModal-BAxa-peO.js → CashierSessionExpirationModal-BgA16ICX.js} +366 -342
  33. package/components/{CashierSessionExpirationModal-BmDU66u_.js → CashierSessionExpirationModal-YD2SyMu-.js} +342 -318
  34. package/components/{CashierSpinner-78TTHLfL.js → CashierSpinner-B1exigYR.js} +2 -2
  35. package/components/{CashierSpinner-Cxrxu50U.js → CashierSpinner-WMxJlzPU.js} +2 -2
  36. package/components/{CashierSpinner-4oFy3A9w.cjs → CashierSpinner-xDUg2Ia3.cjs} +1 -1
  37. package/components/CashierStepUp-BJcULKh3.cjs +1 -0
  38. package/components/CashierStepUp-BX4oMHdc.js +1200 -0
  39. package/components/CashierStepUp-C_ptl1y7.js +1161 -0
  40. package/components/{CashierTransactionHistory-D4QXPykp.js → CashierTransactionHistory-CHZesJO5.js} +563 -488
  41. package/components/{CashierTransactionHistory-Cp1_tsYu.js → CashierTransactionHistory-CrflKpwN.js} +550 -475
  42. package/components/CashierTransactionHistory-TDbLeWcJ.cjs +1 -0
  43. package/components/{CashierVerifications-DCt6vl4P.js → CashierVerifications-BDZn88UR.js} +310 -249
  44. package/components/{CashierVerifications-DIXTooXo.js → CashierVerifications-CoqfO6l6.js} +309 -256
  45. package/components/CashierVerifications-QKE-9H4t.cjs +1 -0
  46. package/components/{TxnStatusIcon-BohNSp8i.cjs → TxnStatusIcon-BOdjGqDN.cjs} +1 -1
  47. package/components/{TxnStatusIcon-DxkpWqST.js → TxnStatusIcon-CXbH_076.js} +1 -1
  48. package/components/{TxnStatusIcon-BYUMew_B.js → TxnStatusIcon-Cvq52nxs.js} +1 -1
  49. package/components/{TxnTypeIcons-BNIyiw8U.js → TxnTypeIcons-BZnwBNqe.js} +1 -1
  50. package/components/{TxnTypeIcons-C3j3WSxa.js → TxnTypeIcons-D-qWVgkw.js} +1 -1
  51. package/components/{TxnTypeIcons-BUklfomB.cjs → TxnTypeIcons-DuRqxFjm.cjs} +1 -1
  52. package/es2015/cashier-page.cjs +1 -1
  53. package/es2015/cashier-page.js +1 -1
  54. package/esnext/cashier-page.js +1 -1
  55. package/package.json +1 -1
  56. package/components/CashierCarousel-BcDm5UC1.cjs +0 -1
  57. package/components/CashierError-DiBxWuzE.js +0 -642
  58. package/components/CashierError-DuQCc57p.js +0 -658
  59. package/components/CashierError-qOoBUKKi.cjs +0 -1
  60. package/components/CashierHeader-DJMhpwtG.cjs +0 -1
  61. package/components/CashierIframeRedirect-Cnzm6DaQ.cjs +0 -1
  62. package/components/CashierMethodDetails-BWunEzWc.cjs +0 -85
  63. package/components/CashierMethodsList-Usolzb6T.cjs +0 -1
  64. package/components/CashierPage-CWUHd9kH.cjs +0 -23
  65. package/components/CashierSessionExpirationModal-BaxvOINh.cjs +0 -2
  66. package/components/CashierStepUp-BRMl9Byl.js +0 -1092
  67. package/components/CashierStepUp-BsfyLsnN.cjs +0 -1
  68. package/components/CashierStepUp-CbqhLfIu.js +0 -1131
  69. package/components/CashierTransactionHistory-DS0DSRSZ.cjs +0 -1
  70. package/components/CashierVerifications-BHJ7Twd4.cjs +0 -1
@@ -1,14 +1,14 @@
1
- import { a as Ge, i as Je, $ as Ve, S as Ke, b as Ze, s as Qe, f as y, d as $e, z as ge, g as A, l as x, o as P, v as ze, q as pe, M as ye, N as et, r as tt, K as ot, m as a, n as f, p as h, w as D, O as N, x as T, C as st, y as nt, A as me, L as le, D as we, E as it, I as re, F as rt, J as Me, c as lt, B as at, R as be } from "./CashierPage-9QGvgJdD.js";
2
- import { s as mt, a as ct, b as dt } from "./CashierHeader-CP6ffv1-.js";
3
- function _e(t, e) {
4
- Ge(t, e);
1
+ import { a as Ve, i as Xe, $ as Je, S as Ze, b as Ke, s as Qe, f as y, d as $e, z as ge, g as z, l as x, o as P, v as Ae, q as pe, M as ye, N as et, r as tt, K as ot, m as a, n as f, p as h, w as E, O as N, x as D, C as st, y as nt, A as me, L as le, D as we, E as it, I as re, F as rt, J as Me, c as lt, B as at, R as be } from "./CashierPage-f3Bp0yQu.js";
2
+ import { s as mt, a as ct, b as dt } from "./CashierHeader-COwiXVNs.js";
3
+ function ve(t, e) {
4
+ Ve(t, e);
5
5
  }
6
6
  function ut(t) {
7
- Je({
7
+ Xe({
8
8
  fallbackLocale: "en"
9
- }), Ve.set(t);
9
+ }), Je.set(t);
10
10
  }
11
- const ve = {
11
+ const _e = {
12
12
  en: {
13
13
  generalMin: "Min",
14
14
  generalMax: "Max",
@@ -44,6 +44,42 @@ const ve = {
44
44
  promoLabel: "Recommandé",
45
45
  otherMethodsTitle: "Toutes les méthodes",
46
46
  otherMethodsDescription: "Découvrez notre incroyable sélection de produits uniques à ne pas manquer !"
47
+ },
48
+ da: {
49
+ generalMin: "Min",
50
+ generalMax: "Maks",
51
+ showAll: "VIS ALLE",
52
+ showLess: "VIS FÆRRE",
53
+ error: "Fejl",
54
+ noPaymentMethods: "Ingen betalingsmetoder tilgængelige",
55
+ favorite: "Favorit",
56
+ promoLabel: "Anbefalet",
57
+ otherMethodsTitle: "Alle metoder",
58
+ otherMethodsDescription: "Oplev vores utrolige udvalg af unikke produkter, som du ikke vil gå glip af!"
59
+ },
60
+ de: {
61
+ generalMin: "Min",
62
+ generalMax: "Max",
63
+ showAll: "ALLE ANZEIGEN",
64
+ showLess: "WENIGER ANZEIGEN",
65
+ error: "Fehler",
66
+ noPaymentMethods: "Keine Zahlungsmethoden verfügbar",
67
+ favorite: "Favorit",
68
+ promoLabel: "Empfohlen",
69
+ otherMethodsTitle: "Alle Methoden",
70
+ otherMethodsDescription: "Entdecken Sie unsere unglaubliche Auswahl an einzigartigen Produkten, die Sie nicht verpassen möchten!"
71
+ },
72
+ nl: {
73
+ generalMin: "Min",
74
+ generalMax: "Max",
75
+ showAll: "ALLES TONEN",
76
+ showLess: "MINDER TONEN",
77
+ error: "Fout",
78
+ noPaymentMethods: "Geen betaalmethoden beschikbaar",
79
+ favorite: "Favoriet",
80
+ promoLabel: "Aanbevolen",
81
+ otherMethodsTitle: "Alle methoden",
82
+ otherMethodsDescription: "Ontdek onze ongelooflijke selectie van unieke producten die u niet wilt missen!"
47
83
  }
48
84
  };
49
85
  function ft(t) {
@@ -65,7 +101,7 @@ function ke(t) {
65
101
  }
66
102
  let d = l(t), u = d(t), m = (
67
103
  /*methodsButtonToggleText*/
68
- t[10] && Ee(t)
104
+ t[10] && Se(t)
69
105
  );
70
106
  return {
71
107
  c() {
@@ -77,10 +113,10 @@ function ke(t) {
77
113
  p(c, g) {
78
114
  /*noPaymentMethodsAvailable*/
79
115
  c[15] ? i && (i.d(1), i = null) : i ? i.p(c, g) : (i = Ce(c), i.c(), i.m(e, o)), d === (d = l(c)) && u ? u.p(c, g) : (u.d(1), u = d(c), u && (u.c(), u.m(n, null))), /*methodsButtonToggleText*/
80
- c[10] ? m ? m.p(c, g) : (m = Ee(c), m.c(), m.m(e, null)) : m && (m.d(1), m = null);
116
+ c[10] ? m ? m.p(c, g) : (m = Se(c), m.c(), m.m(e, null)) : m && (m.d(1), m = null);
81
117
  },
82
118
  d(c) {
83
- c && A(e), i && i.d(), u.d(), m && m.d(), t[34](null);
119
+ c && z(e), i && i.d(), u.d(), m && m.d(), t[34](null);
84
120
  }
85
121
  };
86
122
  }
@@ -94,7 +130,7 @@ function Ce(t) {
94
130
  ), u;
95
131
  return {
96
132
  c() {
97
- e = f("div"), o = f("h3"), s = T(n), i = P(), l = f("p"), u = T(d), h(e, "class", "MethodsListDescription");
133
+ e = f("div"), o = f("h3"), s = D(n), i = P(), l = f("p"), u = D(d), h(e, "class", "MethodsListDescription");
98
134
  },
99
135
  m(m, c) {
100
136
  x(m, e, c), a(e, o), a(o, s), a(e, i), a(e, l), a(l, u);
@@ -102,12 +138,12 @@ function Ce(t) {
102
138
  p(m, c) {
103
139
  c[0] & /*$_*/
104
140
  131072 && n !== (n = /*$_*/
105
- m[17]("otherMethodsTitle") + "") && D(s, n), c[0] & /*$_*/
141
+ m[17]("otherMethodsTitle") + "") && E(s, n), c[0] & /*$_*/
106
142
  131072 && d !== (d = /*$_*/
107
- m[17]("otherMethodsDescription") + "") && D(u, d);
143
+ m[17]("otherMethodsDescription") + "") && E(u, d);
108
144
  },
109
145
  d(m) {
110
- m && A(e);
146
+ m && z(e);
111
147
  }
112
148
  };
113
149
  }
@@ -117,12 +153,12 @@ function ht(t) {
117
153
  t[11]
118
154
  ), n = [];
119
155
  for (let s = 0; s < o.length; s += 1)
120
- n[s] = Se(Le(t, o, s));
156
+ n[s] = Te(Le(t, o, s));
121
157
  return {
122
158
  c() {
123
159
  for (let s = 0; s < n.length; s += 1)
124
160
  n[s].c();
125
- e = ze();
161
+ e = Ae();
126
162
  },
127
163
  m(s, i) {
128
164
  for (let l = 0; l < n.length; l += 1)
@@ -139,7 +175,7 @@ function ht(t) {
139
175
  let l;
140
176
  for (l = 0; l < o.length; l += 1) {
141
177
  const d = Le(s, o, l);
142
- n[l] ? n[l].p(d, i) : (n[l] = Se(d), n[l].c(), n[l].m(e.parentNode, e));
178
+ n[l] ? n[l].p(d, i) : (n[l] = Te(d), n[l].c(), n[l].m(e.parentNode, e));
143
179
  }
144
180
  for (; l < n.length; l += 1)
145
181
  n[l].d(1);
@@ -147,7 +183,7 @@ function ht(t) {
147
183
  }
148
184
  },
149
185
  d(s) {
150
- s && A(e), it(n, s);
186
+ s && z(e), it(n, s);
151
187
  }
152
188
  };
153
189
  }
@@ -161,7 +197,7 @@ function gt(t) {
161
197
  ), m;
162
198
  return {
163
199
  c() {
164
- e = f("div"), o = f("div"), n = f("p"), i = T(s), l = P(), d = f("p"), m = T(u), h(n, "class", "EmptyContentMessageTitle"), h(d, "class", "EmptyContentMessageText"), h(o, "class", "EmptyContentMessageContent"), h(e, "class", "EmptyContentMessageWrapper"), le(
200
+ e = f("div"), o = f("div"), n = f("p"), i = D(s), l = P(), d = f("p"), m = D(u), h(n, "class", "EmptyContentMessageTitle"), h(d, "class", "EmptyContentMessageText"), h(o, "class", "EmptyContentMessageContent"), h(e, "class", "EmptyContentMessageWrapper"), le(
165
201
  e,
166
202
  "EmptyContentMessageDesktop",
167
203
  /*desktopView*/
@@ -174,9 +210,9 @@ function gt(t) {
174
210
  p(c, g) {
175
211
  g[0] & /*$_*/
176
212
  131072 && s !== (s = /*$_*/
177
- c[17]("error") + "") && D(i, s), g[0] & /*$_*/
213
+ c[17]("error") + "") && E(i, s), g[0] & /*$_*/
178
214
  131072 && u !== (u = /*$_*/
179
- c[17]("noPaymentMethods") + "") && D(m, u), g[0] & /*desktopView*/
215
+ c[17]("noPaymentMethods") + "") && E(m, u), g[0] & /*desktopView*/
180
216
  8192 && le(
181
217
  e,
182
218
  "EmptyContentMessageDesktop",
@@ -185,7 +221,7 @@ function gt(t) {
185
221
  );
186
222
  },
187
223
  d(c) {
188
- c && A(e);
224
+ c && z(e);
189
225
  }
190
226
  };
191
227
  }
@@ -196,7 +232,7 @@ function Pe(t) {
196
232
  ), n;
197
233
  return {
198
234
  c() {
199
- e = f("p"), n = T(o);
235
+ e = f("p"), n = D(o);
200
236
  },
201
237
  m(s, i) {
202
238
  x(s, e, i), a(e, n);
@@ -204,14 +240,14 @@ function Pe(t) {
204
240
  p(s, i) {
205
241
  i[0] & /*$_*/
206
242
  131072 && o !== (o = /*$_*/
207
- s[17]("favorite") + "") && D(n, o);
243
+ s[17]("favorite") + "") && E(n, o);
208
244
  },
209
245
  d(s) {
210
- s && A(e);
246
+ s && z(e);
211
247
  }
212
248
  };
213
249
  }
214
- function De(t) {
250
+ function Ee(t) {
215
251
  let e, o = (
216
252
  /*$_*/
217
253
  t[17](`${/*type*/
@@ -220,7 +256,7 @@ function De(t) {
220
256
  ), n;
221
257
  return {
222
258
  c() {
223
- e = f("span"), n = T(o), h(e, "class", "PaymentProcessing");
259
+ e = f("span"), n = D(o), h(e, "class", "PaymentProcessing");
224
260
  },
225
261
  m(s, i) {
226
262
  x(s, e, i), a(e, n);
@@ -230,14 +266,14 @@ function De(t) {
230
266
  133184 && o !== (o = /*$_*/
231
267
  s[17](`${/*type*/
232
268
  s[6]}${/*payMeth*/
233
- s[58].ProcessingTime}`) + "") && D(n, o);
269
+ s[58].ProcessingTime}`) + "") && E(n, o);
234
270
  },
235
271
  d(s) {
236
- s && A(e);
272
+ s && z(e);
237
273
  }
238
274
  };
239
275
  }
240
- function Te(t) {
276
+ function De(t) {
241
277
  let e, o = (
242
278
  /*$_*/
243
279
  t[17](`${/*type*/
@@ -246,7 +282,7 @@ function Te(t) {
246
282
  ), n;
247
283
  return {
248
284
  c() {
249
- e = f("span"), n = T(o), h(e, "class", "PaymentProcessing");
285
+ e = f("span"), n = D(o), h(e, "class", "PaymentProcessing");
250
286
  },
251
287
  m(s, i) {
252
288
  x(s, e, i), a(e, n);
@@ -256,22 +292,22 @@ function Te(t) {
256
292
  133184 && o !== (o = /*$_*/
257
293
  s[17](`${/*type*/
258
294
  s[6]}${/*payMeth*/
259
- s[58].ProcessingTime}`) + "") && D(n, o);
295
+ s[58].ProcessingTime}`) + "") && E(n, o);
260
296
  },
261
297
  d(s) {
262
- s && A(e);
298
+ s && z(e);
263
299
  }
264
300
  };
265
301
  }
266
- function Se(t) {
267
- let e, o, n, s, i, l, d, u, m, c, g, J = (
302
+ function Te(t) {
303
+ let e, o, n, s, i, l, d, u, m, c, g, X = (
268
304
  /*payMeth*/
269
305
  (t[58].Label || /*payMeth*/
270
306
  t[58].Name) + ""
271
- ), V, F, W, U, R, O, I = (
307
+ ), J, R, W, O, F, I, U = (
272
308
  /*$_*/
273
309
  t[17]("generalMin") + ""
274
- ), K, ee, q = re(
310
+ ), Z, ee, q = re(
275
311
  /*payMeth*/
276
312
  t[58].DisplayCurrency.MinAmountLimit,
277
313
  /*payMeth*/
@@ -294,10 +330,10 @@ function Se(t) {
294
330
  t[16]
295
331
  )
296
332
  }
297
- ) + "", te, B, j, Z = (
333
+ ) + "", te, G, j, K = (
298
334
  /*$_*/
299
335
  t[17]("generalMax") + ""
300
- ), S, ne, oe = re(
336
+ ), T, ne, oe = re(
301
337
  /*payMeth*/
302
338
  t[58].DisplayCurrency.MaxAmountLimit,
303
339
  /*payMeth*/
@@ -320,13 +356,13 @@ function Se(t) {
320
356
  t[16]
321
357
  )
322
358
  }
323
- ) + "", E, Y, X, k, Q, M = (
359
+ ) + "", S, B, Y, k, Q, M = (
324
360
  /*payMeth*/
325
361
  t[58].isMethodPromoted && Pe(t)
326
362
  ), b = !/*desktopView*/
327
- t[13] && De(t), w = (
363
+ t[13] && Ee(t), w = (
328
364
  /*desktopView*/
329
- t[13] && Te(t)
365
+ t[13] && De(t)
330
366
  );
331
367
  function ie() {
332
368
  return (
@@ -339,13 +375,13 @@ function Se(t) {
339
375
  }
340
376
  return {
341
377
  c() {
342
- e = f("div"), o = f("div"), n = f("img"), l = P(), d = f("div"), M && M.c(), u = P(), m = f("div"), c = f("div"), g = f("span"), V = T(J), F = P(), b && b.c(), W = P(), U = f("div"), R = f("span"), O = f("p"), K = T(I), ee = P(), te = T(q), B = P(), j = f("p"), S = T(Z), ne = P(), E = T(oe), Y = P(), w && w.c(), X = P(), Me(n.src, s = /*payMeth*/
378
+ e = f("div"), o = f("div"), n = f("img"), l = P(), d = f("div"), M && M.c(), u = P(), m = f("div"), c = f("div"), g = f("span"), J = D(X), R = P(), b && b.c(), W = P(), O = f("div"), F = f("span"), I = f("p"), Z = D(U), ee = P(), te = D(q), G = P(), j = f("p"), T = D(K), ne = P(), S = D(oe), B = P(), w && w.c(), Y = P(), Me(n.src, s = /*payMeth*/
343
379
  t[58].LogoRelativeUrl ? `${window.origin}${/*payMeth*/
344
380
  t[58].LogoRelativeUrl}` : (
345
381
  /*payMeth*/
346
382
  t[58].LogoUrl
347
383
  )) || h(n, "src", s), h(n, "alt", i = /*payMeth*/
348
- t[58].Label), h(o, "class", "MethodLogo"), h(d, "class", "MethodFavorite"), h(c, "class", "MethodTitle"), h(R, "class", "Limits"), h(U, "class", "MethodLimits"), h(m, "class", "MethodInfo"), h(e, "class", "SelectorWrapper"), le(
384
+ t[58].Label), h(o, "class", "MethodLogo"), h(d, "class", "MethodFavorite"), h(c, "class", "MethodTitle"), h(F, "class", "Limits"), h(O, "class", "MethodLimits"), h(m, "class", "MethodInfo"), h(e, "class", "SelectorWrapper"), le(
349
385
  e,
350
386
  "checked",
351
387
  /*selectedPaymentMethod*/
@@ -353,29 +389,29 @@ function Se(t) {
353
389
  t[58].Name
354
390
  );
355
391
  },
356
- m(G, _) {
357
- x(G, e, _), a(e, o), a(o, n), a(e, l), a(e, d), M && M.m(d, null), a(e, u), a(e, m), a(m, c), a(c, g), a(g, V), a(m, F), b && b.m(m, null), a(m, W), a(m, U), a(U, R), a(R, O), a(O, K), a(O, ee), a(O, te), a(R, B), a(R, j), a(j, S), a(j, ne), a(j, E), a(m, Y), w && w.m(m, null), a(e, X), k || (Q = [
392
+ m(V, v) {
393
+ x(V, e, v), a(e, o), a(o, n), a(e, l), a(e, d), M && M.m(d, null), a(e, u), a(e, m), a(m, c), a(c, g), a(g, J), a(m, R), b && b.m(m, null), a(m, W), a(m, O), a(O, F), a(F, I), a(I, Z), a(I, ee), a(I, te), a(F, G), a(F, j), a(j, T), a(j, ne), a(j, S), a(m, B), w && w.m(m, null), a(e, Y), k || (Q = [
358
394
  me(e, "click", ie),
359
395
  me(e, "keyup", wt)
360
396
  ], k = !0);
361
397
  },
362
- p(G, _) {
363
- t = G, _[0] & /*paymentMethodsToShow*/
398
+ p(V, v) {
399
+ t = V, v[0] & /*paymentMethodsToShow*/
364
400
  2048 && !Me(n.src, s = /*payMeth*/
365
401
  t[58].LogoRelativeUrl ? `${window.origin}${/*payMeth*/
366
402
  t[58].LogoRelativeUrl}` : (
367
403
  /*payMeth*/
368
404
  t[58].LogoUrl
369
- )) && h(n, "src", s), _[0] & /*paymentMethodsToShow*/
405
+ )) && h(n, "src", s), v[0] & /*paymentMethodsToShow*/
370
406
  2048 && i !== (i = /*payMeth*/
371
407
  t[58].Label) && h(n, "alt", i), /*payMeth*/
372
- t[58].isMethodPromoted ? M ? M.p(t, _) : (M = Pe(t), M.c(), M.m(d, null)) : M && (M.d(1), M = null), _[0] & /*paymentMethodsToShow*/
373
- 2048 && J !== (J = /*payMeth*/
408
+ t[58].isMethodPromoted ? M ? M.p(t, v) : (M = Pe(t), M.c(), M.m(d, null)) : M && (M.d(1), M = null), v[0] & /*paymentMethodsToShow*/
409
+ 2048 && X !== (X = /*payMeth*/
374
410
  (t[58].Label || /*payMeth*/
375
- t[58].Name) + "") && D(V, J), /*desktopView*/
376
- t[13] ? b && (b.d(1), b = null) : b ? b.p(t, _) : (b = De(t), b.c(), b.m(m, W)), _[0] & /*$_*/
377
- 131072 && I !== (I = /*$_*/
378
- t[17]("generalMin") + "") && D(K, I), _[0] & /*paymentMethodsToShow, precisionCurrenciesMap, numericCurrencyDecimals*/
411
+ t[58].Name) + "") && E(J, X), /*desktopView*/
412
+ t[13] ? b && (b.d(1), b = null) : b ? b.p(t, v) : (b = Ee(t), b.c(), b.m(m, W)), v[0] & /*$_*/
413
+ 131072 && U !== (U = /*$_*/
414
+ t[17]("generalMin") + "") && E(Z, U), v[0] & /*paymentMethodsToShow, precisionCurrenciesMap, numericCurrencyDecimals*/
379
415
  67840 && q !== (q = re(
380
416
  /*payMeth*/
381
417
  t[58].DisplayCurrency.MinAmountLimit,
@@ -399,9 +435,9 @@ function Se(t) {
399
435
  t[16]
400
436
  )
401
437
  }
402
- ) + "") && D(te, q), _[0] & /*$_*/
403
- 131072 && Z !== (Z = /*$_*/
404
- t[17]("generalMax") + "") && D(S, Z), _[0] & /*paymentMethodsToShow, precisionCurrenciesMap, numericCurrencyDecimals*/
438
+ ) + "") && E(te, q), v[0] & /*$_*/
439
+ 131072 && K !== (K = /*$_*/
440
+ t[17]("generalMax") + "") && E(T, K), v[0] & /*paymentMethodsToShow, precisionCurrenciesMap, numericCurrencyDecimals*/
405
441
  67840 && oe !== (oe = re(
406
442
  /*payMeth*/
407
443
  t[58].DisplayCurrency.MaxAmountLimit,
@@ -425,8 +461,8 @@ function Se(t) {
425
461
  t[16]
426
462
  )
427
463
  }
428
- ) + "") && D(E, oe), /*desktopView*/
429
- t[13] ? w ? w.p(t, _) : (w = Te(t), w.c(), w.m(m, null)) : w && (w.d(1), w = null), _[0] & /*selectedPaymentMethod, paymentMethodsToShow*/
464
+ ) + "") && E(S, oe), /*desktopView*/
465
+ t[13] ? w ? w.p(t, v) : (w = De(t), w.c(), w.m(m, null)) : w && (w.d(1), w = null), v[0] & /*selectedPaymentMethod, paymentMethodsToShow*/
430
466
  2560 && le(
431
467
  e,
432
468
  "checked",
@@ -435,16 +471,16 @@ function Se(t) {
435
471
  t[58].Name
436
472
  );
437
473
  },
438
- d(G) {
439
- G && A(e), M && M.d(), b && b.d(), w && w.d(), k = !1, rt(Q);
474
+ d(V) {
475
+ V && z(e), M && M.d(), b && b.d(), w && w.d(), k = !1, rt(Q);
440
476
  }
441
477
  };
442
478
  }
443
- function Ee(t) {
479
+ function Se(t) {
444
480
  let e, o, n, s;
445
481
  return {
446
482
  c() {
447
- e = f("div"), o = T(
483
+ e = f("div"), o = D(
448
484
  /*methodsButtonToggleText*/
449
485
  t[10]
450
486
  ), h(e, "class", "ShowAllButton");
@@ -459,14 +495,14 @@ function Ee(t) {
459
495
  },
460
496
  p(i, l) {
461
497
  l[0] & /*methodsButtonToggleText*/
462
- 1024 && D(
498
+ 1024 && E(
463
499
  o,
464
500
  /*methodsButtonToggleText*/
465
501
  i[10]
466
502
  );
467
503
  },
468
504
  d(i) {
469
- i && A(e), n = !1, s();
505
+ i && z(e), n = !1, s();
470
506
  }
471
507
  };
472
508
  }
@@ -474,7 +510,7 @@ function Ne(t) {
474
510
  let e, o, n;
475
511
  return {
476
512
  c() {
477
- e = f("cashier-error"), o = f("span"), n = T(
513
+ e = f("cashier-error"), o = f("span"), n = D(
478
514
  /*errorMessage*/
479
515
  t[12]
480
516
  ), h(o, "class", "ErrorMessage"), h(o, "slot", "text"), N(
@@ -514,7 +550,7 @@ function Ne(t) {
514
550
  },
515
551
  p(s, i) {
516
552
  i[0] & /*errorMessage*/
517
- 4096 && D(
553
+ 4096 && E(
518
554
  n,
519
555
  /*errorMessage*/
520
556
  s[12]
@@ -557,7 +593,7 @@ function Ne(t) {
557
593
  );
558
594
  },
559
595
  d(s) {
560
- s && A(e);
596
+ s && z(e);
561
597
  }
562
598
  };
563
599
  }
@@ -571,7 +607,7 @@ function pt(t) {
571
607
  );
572
608
  return {
573
609
  c() {
574
- n && n.c(), e = P(), s && s.c(), o = ze();
610
+ n && n.c(), e = P(), s && s.c(), o = Ae();
575
611
  },
576
612
  m(i, l) {
577
613
  n && n.m(i, l), x(i, e, l), s && s.m(i, l), x(i, o, l);
@@ -584,7 +620,7 @@ function pt(t) {
584
620
  i: ge,
585
621
  o: ge,
586
622
  d(i) {
587
- i && (A(e), A(o)), n && n.d(i), s && s.d(i);
623
+ i && (z(e), z(o)), n && n.d(i), s && s.d(i);
588
624
  }
589
625
  };
590
626
  }
@@ -593,37 +629,37 @@ const yt = "PaymentPromotion", wt = () => {
593
629
  function Mt(t, e, o) {
594
630
  let n, s, i;
595
631
  pe(t, at, (r) => o(17, s = r)), pe(t, be, (r) => o(42, i = r)), ye.extend(et);
596
- let { lang: l = "en" } = e, { local: d = "en-US" } = e, { endpoint: u } = e, { paymentsession: m } = e, { playersession: c } = e, { customerid: g } = e, { assetsurl: J } = e, { currency: V } = e, { numberofmethodsshown: F } = e, { translationurl: W = "" } = e, { mbsource: U } = e, { clientstyling: R } = e, { clientstylingurl: O } = e, { currencydecimals: I = "0" } = e, { currencysymbol: K = "" } = e, { currencyposition: ee = "" } = e, { promotedmethods: q = "false" } = e, { type: te } = e, { userroles: B = "" } = e, j, Z = {}, S, ne, oe = window.navigator.userAgent, E = [], Y, X = "", k = [], Q = [], M = "", b, w = !0, ie = !1, G = !1, _ = [];
632
+ let { lang: l = "en" } = e, { local: d = "en-US" } = e, { endpoint: u } = e, { paymentsession: m } = e, { playersession: c } = e, { customerid: g } = e, { assetsurl: X } = e, { currency: J } = e, { numberofmethodsshown: R } = e, { translationurl: W = "" } = e, { mbsource: O } = e, { clientstyling: F } = e, { clientstylingurl: I } = e, { currencydecimals: U = "0" } = e, { currencysymbol: Z = "" } = e, { currencyposition: ee = "" } = e, { promotedmethods: q = "false" } = e, { type: te } = e, { userroles: G = "" } = e, j, K = {}, T, ne, oe = window.navigator.userAgent, S = [], B, Y = "", k = [], Q = [], M = "", b, w = !0, ie = !1, V = !1, v = [];
597
633
  var ae;
598
634
  (function(r) {
599
635
  r.PlayerSessionIsNotValid = "PlayerSessionIsNotValid", r.Success = "Success", r.JwtTokenError = "JwtTokenError";
600
636
  })(ae || (ae = {}));
601
- const Ae = () => {
637
+ const ze = () => {
602
638
  let r = W;
603
639
  if (r)
604
640
  return fetch(r).then((p) => p.json()).then((p) => {
605
641
  Object.keys(p).forEach(($) => {
606
- _e($, p[$]);
642
+ ve($, p[$]);
607
643
  });
608
644
  }).catch((p) => {
609
645
  console.log(p);
610
646
  });
611
647
  };
612
- Object.keys(ve).forEach((r) => {
613
- _e(r, ve[r]);
648
+ Object.keys(_e).forEach((r) => {
649
+ ve(r, _e[r]);
614
650
  });
615
651
  const xe = () => {
616
652
  ut(l);
617
- }, Re = (r) => {
618
- i && Fe(r);
619
653
  }, Fe = (r) => {
620
- const { currency: p } = r, v = j !== void 0 && j !== p ? "MetadataLoading" : "DataLoading";
621
- j = p, window.postMessage({ type: v, isDataLoaded: !1 }, window.location.href);
622
- const L = new URL(`${u}/v2/player/${g}/payment/GetPaymentMetadata`), z = new Headers();
623
- z.append("accept", "application/json"), z.append("Content-Type", "application/json"), z.append("X-Client-Request-Timestamp", ye.utc().format("YYYY-MM-DD HH:mm:ss.SSS")), z.append("X-SessionId", `${c}`), z.append("X-Payment-Session-Token", `${m || i}`), _.indexOf("MM_CHANNEL_BETA") != -1 && z.append("MM_CHANNEL", "BETA");
654
+ i && Re(r);
655
+ }, Re = (r) => {
656
+ const { currency: p } = r, _ = j !== void 0 && j !== p ? "MetadataLoading" : "DataLoading";
657
+ j = p, window.postMessage({ type: _, isDataLoaded: !1 }, window.location.href);
658
+ const L = new URL(`${u}/v2/player/${g}/payment/GetPaymentMetadata`), A = new Headers();
659
+ A.append("accept", "application/json"), A.append("Content-Type", "application/json"), A.append("X-Client-Request-Timestamp", ye.utc().format("YYYY-MM-DD HH:mm:ss.SSS")), A.append("X-SessionId", `${c}`), A.append("X-Payment-Session-Token", `${m || i}`), v.indexOf("MM_CHANNEL_BETA") != -1 && A.append("MM_CHANNEL", "BETA");
624
660
  const H = {
625
661
  method: "POST",
626
- headers: z,
662
+ headers: A,
627
663
  mode: "cors",
628
664
  body: JSON.stringify({
629
665
  ...p && { Currency: p },
@@ -639,46 +675,46 @@ function Mt(t, e, o) {
639
675
  return;
640
676
  }
641
677
  if (C.ResponseCode !== ae.Success) {
642
- b = C.ResponseCode, Ie();
678
+ b = C.ResponseCode, Ue();
643
679
  return;
644
680
  }
645
- E = C.PaymentMethods?.Ordering ? Oe(C) : Ue(C), window.postMessage(
681
+ S = C.PaymentMethods?.Ordering ? Ie(C) : Oe(C), window.postMessage(
646
682
  {
647
683
  type: "PromotedPaymentMethods",
648
684
  promotedPaymentMethods: Q
649
685
  },
650
686
  window.location.href
651
- ), o(10, X = F && +F > 0 && E.length > +F ? s("showAll") : ""), o(11, k = X ? E.slice(0, +F) : E), q == "false" && o(11, k = k.sort((se, he) => se.isMethodPromoted && !he.isMethodPromoted ? -1 : !se.isMethodPromoted && he.isMethodPromoted ? 1 : 0)), o(15, G = !k.length), window.postMessage(
687
+ ), o(10, Y = R && +R > 0 && S.length > +R ? s("showAll") : ""), o(11, k = Y ? S.slice(0, +R) : S), q == "false" && o(11, k = k.sort((se, he) => se.isMethodPromoted && !he.isMethodPromoted ? -1 : !se.isMethodPromoted && he.isMethodPromoted ? 1 : 0)), o(15, V = !k.length), window.postMessage(
652
688
  {
653
689
  type: "StartSessionCountdown",
654
- paymentMethodName: E[0].Name
690
+ paymentMethodName: S[0].Name
655
691
  },
656
692
  window.location.href
657
- ), window.postMessage({ type: v, isDataLoaded: !0 }, window.location.href);
693
+ ), window.postMessage({ type: _, isDataLoaded: !0 }, window.location.href);
658
694
  }).finally(() => {
659
- o(14, ie = !0), window.postMessage({ type: v, isDataLoaded: !0 }, window.location.href);
695
+ o(14, ie = !0), window.postMessage({ type: _, isDataLoaded: !0 }, window.location.href);
660
696
  });
661
- }, Oe = (r) => {
697
+ }, Ie = (r) => {
662
698
  const p = [];
663
699
  return Q = [], r.PaymentMethods.Ordering.DefaultPaymentMethodsOrder.forEach(($) => {
664
- const v = r.PaymentMethods.PaymentMethods.find((L) => L.Name === $);
665
- if (v) {
666
- const L = v?.Logos.find((C) => C.LogoType === "Desktop") || {}, z = v?.Logos.find((C) => C.LogoType === "Mobile") || {}, H = w ? L : z;
667
- v.isMethodPromoted = ue(v.Tags), v.LogoUrl = H.LogoUrl ? `https:${H.LogoUrl}` : "", v.isMethodPromoted && Q.push(v), p.push(v);
700
+ const _ = r.PaymentMethods.PaymentMethods.find((L) => L.Name === $);
701
+ if (_) {
702
+ const L = _?.Logos.find((C) => C.LogoType === "Desktop") || {}, A = _?.Logos.find((C) => C.LogoType === "Mobile") || {}, H = w ? L : A;
703
+ _.isMethodPromoted = ue(_.Tags), _.LogoUrl = H.LogoUrl ? `https:${H.LogoUrl}` : "", _.isMethodPromoted && Q.push(_), p.push(_);
668
704
  }
669
705
  }), p;
670
- }, Ue = (r) => {
706
+ }, Oe = (r) => {
671
707
  const p = r.PaymentMethods.PaymentMethods.map((L) => ({
672
708
  ...L,
673
709
  isMethodPromoted: ue(L.Tags),
674
710
  LogoUrl: L.Logos && L.Logos.length && L.Logos[0].LogoUrl ? `https:${L.Logos[0].LogoUrl}` : ""
675
- })), [$, v] = p.reduce(
676
- ([L, z], H) => (H && H.isMethodPromoted ? L.push(H) : z.promo(H), [L, z]),
711
+ })), [$, _] = p.reduce(
712
+ ([L, A], H) => (H && H.isMethodPromoted ? L.push(H) : A.promo(H), [L, A]),
677
713
  [[], []]
678
714
  );
679
- return Q = $, v;
715
+ return Q = $, _;
680
716
  }, ce = (r) => {
681
- o(9, Y = r.Name), window.postMessage({ type: "SelectPayMeth", details: r }, window.location.href), dispatchEvent(new CustomEvent(
717
+ o(9, B = r.Name), window.postMessage({ type: "SelectPayMeth", details: r }, window.location.href), dispatchEvent(new CustomEvent(
682
718
  "selectPayMeth",
683
719
  {
684
720
  detail: r,
@@ -687,7 +723,7 @@ function Mt(t, e, o) {
687
723
  composed: !0
688
724
  }
689
725
  ));
690
- }, Ie = () => {
726
+ }, Ue = () => {
691
727
  window.postMessage(
692
728
  {
693
729
  type: "ErrorResponseCode",
@@ -698,60 +734,60 @@ function Mt(t, e, o) {
698
734
  }, je = () => {
699
735
  o(13, w = !st(oe));
700
736
  }, de = () => {
701
- k == E ? We() : He();
737
+ k == S ? We() : He();
702
738
  }, He = () => {
703
- o(11, k = E), o(10, X = s("showLess"));
739
+ o(11, k = S), o(10, Y = s("showLess"));
704
740
  }, We = () => {
705
- o(11, k = E.slice(0, +F)), Y && !k.find((r) => r.Name === Y) && k.splice(0, 0, E.find((r) => r.Name === Y)), o(10, X = s("showAll"));
741
+ o(11, k = S.slice(0, +R)), B && !k.find((r) => r.Name === B) && k.splice(0, 0, S.find((r) => r.Name === B)), o(10, Y = s("showAll"));
706
742
  }, ue = (r) => r && r.split(",").some((p) => p === yt), fe = (r) => {
707
743
  const { data: { type: p } = {} } = r || {};
708
744
  switch (p) {
709
745
  case "PrecisionCurrenciesMap": {
710
- o(8, Z = r?.data?.payload || {});
746
+ o(8, K = r?.data?.payload || {});
711
747
  break;
712
748
  }
713
749
  }
714
750
  }, qe = () => {
715
- B.length > 0 && (_ = B.split(","));
751
+ G.length > 0 && (v = G.split(","));
716
752
  };
717
- tt(() => (je(), ot(d, K, ee, I), window.postMessage({ type: "CashierMethodsListReady" }, window.location.href), window.addEventListener("message", fe), () => {
753
+ tt(() => (je(), ot(d, Z, ee, U), window.postMessage({ type: "CashierMethodsListReady" }, window.location.href), window.addEventListener("message", fe), () => {
718
754
  window.removeEventListener("message", fe);
719
755
  }));
720
- const Be = (r) => ce(r), Ye = () => de();
721
- function Xe(r) {
756
+ const Ge = (r) => ce(r), Be = () => de();
757
+ function Ye(r) {
722
758
  nt[r ? "unshift" : "push"](() => {
723
- S = r, o(7, S);
759
+ T = r, o(7, T);
724
760
  });
725
761
  }
726
762
  return t.$$set = (r) => {
727
- "lang" in r && o(0, l = r.lang), "local" in r && o(20, d = r.local), "endpoint" in r && o(21, u = r.endpoint), "paymentsession" in r && o(22, m = r.paymentsession), "playersession" in r && o(23, c = r.playersession), "customerid" in r && o(24, g = r.customerid), "assetsurl" in r && o(1, J = r.assetsurl), "currency" in r && o(25, V = r.currency), "numberofmethodsshown" in r && o(26, F = r.numberofmethodsshown), "translationurl" in r && o(2, W = r.translationurl), "mbsource" in r && o(3, U = r.mbsource), "clientstyling" in r && o(4, R = r.clientstyling), "clientstylingurl" in r && o(5, O = r.clientstylingurl), "currencydecimals" in r && o(27, I = r.currencydecimals), "currencysymbol" in r && o(28, K = r.currencysymbol), "currencyposition" in r && o(29, ee = r.currencyposition), "promotedmethods" in r && o(30, q = r.promotedmethods), "type" in r && o(6, te = r.type), "userroles" in r && o(31, B = r.userroles);
763
+ "lang" in r && o(0, l = r.lang), "local" in r && o(20, d = r.local), "endpoint" in r && o(21, u = r.endpoint), "paymentsession" in r && o(22, m = r.paymentsession), "playersession" in r && o(23, c = r.playersession), "customerid" in r && o(24, g = r.customerid), "assetsurl" in r && o(1, X = r.assetsurl), "currency" in r && o(25, J = r.currency), "numberofmethodsshown" in r && o(26, R = r.numberofmethodsshown), "translationurl" in r && o(2, W = r.translationurl), "mbsource" in r && o(3, O = r.mbsource), "clientstyling" in r && o(4, F = r.clientstyling), "clientstylingurl" in r && o(5, I = r.clientstylingurl), "currencydecimals" in r && o(27, U = r.currencydecimals), "currencysymbol" in r && o(28, Z = r.currencysymbol), "currencyposition" in r && o(29, ee = r.currencyposition), "promotedmethods" in r && o(30, q = r.promotedmethods), "type" in r && o(6, te = r.type), "userroles" in r && o(31, G = r.userroles);
728
764
  }, t.$$.update = () => {
729
765
  t.$$.dirty[1] & /*userroles*/
730
- 1 && B && qe(), t.$$.dirty[0] & /*endpoint, paymentsession, customerid, currency*/
731
- 56623104 && u && !m && g && Re({ currency: V }), t.$$.dirty[0] & /*lang*/
766
+ 1 && G && qe(), t.$$.dirty[0] & /*endpoint, paymentsession, customerid, currency*/
767
+ 56623104 && u && !m && g && Fe({ currency: J }), t.$$.dirty[0] & /*lang*/
732
768
  1 && l && xe(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
733
- 144 && R && S && mt(S, R), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
734
- 160 && O && S && ct(S, O), t.$$.dirty[0] & /*mbsource, customStylingContainer*/
735
- 136 && U && S && dt(S, `${U}.Style`, ne), t.$$.dirty[0] & /*lang, translationurl*/
736
- 5 && l && W && Ae(), t.$$.dirty[0] & /*currencydecimals*/
737
- 134217728 && o(16, n = Number(I));
769
+ 144 && F && T && mt(T, F), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
770
+ 160 && I && T && ct(T, I), t.$$.dirty[0] & /*mbsource, customStylingContainer*/
771
+ 136 && O && T && dt(T, `${O}.Style`, ne), t.$$.dirty[0] & /*lang, translationurl*/
772
+ 5 && l && W && ze(), t.$$.dirty[0] & /*currencydecimals*/
773
+ 134217728 && o(16, n = Number(U));
738
774
  }, [
739
775
  l,
740
- J,
776
+ X,
741
777
  W,
742
- U,
743
- R,
744
778
  O,
779
+ F,
780
+ I,
745
781
  te,
746
- S,
747
- Z,
782
+ T,
783
+ K,
784
+ B,
748
785
  Y,
749
- X,
750
786
  k,
751
787
  M,
752
788
  w,
753
789
  ie,
754
- G,
790
+ V,
755
791
  n,
756
792
  s,
757
793
  ce,
@@ -761,21 +797,21 @@ function Mt(t, e, o) {
761
797
  m,
762
798
  c,
763
799
  g,
764
- V,
765
- F,
766
- I,
767
- K,
800
+ J,
801
+ R,
802
+ U,
803
+ Z,
768
804
  ee,
769
805
  q,
770
- B,
806
+ G,
807
+ Ge,
771
808
  Be,
772
- Ye,
773
- Xe
809
+ Ye
774
810
  ];
775
811
  }
776
- class bt extends Ke {
812
+ class bt extends Ze {
777
813
  constructor(e) {
778
- super(), Ze(
814
+ super(), Ke(
779
815
  this,
780
816
  e,
781
817
  Mt,