@everymatrix/cashier-page 1.93.30 → 1.93.39

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 (67) hide show
  1. package/components/{CashierCarousel-DwrGzk7c.js → CashierCarousel-BF_HlGOD.js} +286 -250
  2. package/components/{CashierCarousel-DMrMmClP.cjs → CashierCarousel-BekweMPA.cjs} +5 -5
  3. package/components/{CashierCarousel-DJXsZKF9.js → CashierCarousel-CLJ0LFIF.js} +268 -232
  4. package/components/CashierError-B-QpfIwU.cjs +1 -0
  5. package/components/CashierError-C47_JK37.js +813 -0
  6. package/components/CashierError-DBa8puQQ.js +797 -0
  7. package/components/CashierHeader-CCqfqjfy.cjs +1 -0
  8. package/components/{CashierHeader-DJYOdmdi.js → CashierHeader-D9k7KIOI.js} +130 -109
  9. package/components/{CashierHeader-BNDmkX5f.js → CashierHeader-DTBnopYC.js} +131 -110
  10. package/components/{CashierIframeRedirect-CbC9sVb1.js → CashierIframeRedirect-B3zzWY9U.js} +48 -39
  11. package/components/CashierIframeRedirect-BjtL1epU.cjs +1 -0
  12. package/components/{CashierIframeRedirect-CF8dL6ee.js → CashierIframeRedirect-FZgVK5wR.js} +48 -39
  13. package/components/{CashierMethodDetails-D43_BByC.js → CashierMethodDetails-B3pCDzDF.js} +2089 -1786
  14. package/components/CashierMethodDetails-BQF0nZuc.cjs +85 -0
  15. package/components/{CashierMethodDetails-QnYW0RhM.js → CashierMethodDetails-C6wT52A_.js} +2248 -1945
  16. package/components/{CashierMethodsList-D9Cau8Pp.js → CashierMethodsList-CZbS3aIW.js} +192 -154
  17. package/components/{CashierMethodsList-CxX_fYhq.js → CashierMethodsList-CnXpcqIc.js} +171 -133
  18. package/components/CashierMethodsList-DAsduOJL.cjs +1 -0
  19. package/components/{CashierModal-ZV_9oeml.js → CashierModal-CSQpOKaO.js} +1 -1
  20. package/components/{CashierModal-BLrymidc.cjs → CashierModal-D_cTbvqs.cjs} +1 -1
  21. package/components/{CashierModal-CV1Fn4BP.js → CashierModal-o_uhTD6s.js} +1 -1
  22. package/components/{CashierNotifications-C_xReVni.js → CashierNotifications-B-gpCpQP.js} +1 -1
  23. package/components/{CashierNotifications-DHKh64xU.js → CashierNotifications-DZHeYrIW.js} +1 -1
  24. package/components/{CashierNotifications-B8bRZMac.cjs → CashierNotifications-O-t5pi8m.cjs} +1 -1
  25. package/components/CashierPage-1sFagtR4.cjs +1 -0
  26. package/components/{CashierPage-DVMUYXPq.js → CashierPage-Cb8bHyNV.js} +1224 -1083
  27. package/components/{CashierPage-DMD49nLC.js → CashierPage-G1OkhKIh.js} +1511 -1370
  28. package/components/{CashierReceiptPage-BLs2bB7p.js → CashierReceiptPage-9gsPnCxL.js} +758 -482
  29. package/components/{CashierReceiptPage-BaWYLIjg.js → CashierReceiptPage-BzMceJ7O.js} +799 -523
  30. package/components/{CashierReceiptPage-C94sLh_w.cjs → CashierReceiptPage-CcW6BSU9.cjs} +2 -2
  31. package/components/CashierSessionExpirationModal-BduiWZyO.cjs +2 -0
  32. package/components/{CashierSessionExpirationModal-BQqOUaL1.js → CashierSessionExpirationModal-C983PN80.js} +353 -329
  33. package/components/{CashierSessionExpirationModal-OB-OzKmD.js → CashierSessionExpirationModal-CbsdOErf.js} +325 -301
  34. package/components/{CashierSpinner-D3HhhmOb.js → CashierSpinner-B0vWR4K9.js} +1 -1
  35. package/components/{CashierSpinner-DKYO0FtD.cjs → CashierSpinner-BNkBVuft.cjs} +1 -1
  36. package/components/{CashierSpinner-DyemUXs_.js → CashierSpinner-Dg8R5Bdz.js} +1 -1
  37. package/components/CashierStepUp-BFJ7us6S.cjs +1 -0
  38. package/components/{CashierStepUp-CSZd5C7z.js → CashierStepUp-CDPGUhQW.js} +462 -393
  39. package/components/{CashierStepUp-CmTcFbG9.js → CashierStepUp-D_qwOVdk.js} +450 -381
  40. package/components/{CashierTransactionHistory-DScR_cOH.js → CashierTransactionHistory-CdBLm7qR.js} +561 -486
  41. package/components/CashierTransactionHistory-D5qu-my5.cjs +1 -0
  42. package/components/{CashierTransactionHistory-DnPpQqqR.js → CashierTransactionHistory-ZazHvO99.js} +548 -473
  43. package/components/{CashierVerifications-CSrCD2d3.js → CashierVerifications-BlWE4NzK.js} +305 -244
  44. package/components/{CashierVerifications-BDF-0-Ps.js → CashierVerifications-CtOiUwQv.js} +301 -248
  45. package/components/CashierVerifications-q2LTqRYb.cjs +1 -0
  46. package/components/{TxnStatusIcon-CWkyVMIU.cjs → TxnStatusIcon-BcQgw6kQ.cjs} +1 -1
  47. package/components/{TxnStatusIcon-ssLhQR5N.js → TxnStatusIcon-CT8QMlhW.js} +1 -1
  48. package/components/{TxnStatusIcon-BwvCa-Ig.js → TxnStatusIcon-W5JMdIgF.js} +1 -1
  49. package/components/{TxnTypeIcons-B84nFRMh.js → TxnTypeIcons-D0LUvdSq.js} +1 -1
  50. package/components/{TxnTypeIcons-DhwUYw-o.js → TxnTypeIcons-DmYGvDDw.js} +1 -1
  51. package/components/{TxnTypeIcons-CTQXT_j5.cjs → TxnTypeIcons-keA0IcNM.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/CashierError-BL_rmfvV.cjs +0 -1
  57. package/components/CashierError-Bqtyy8-q.js +0 -638
  58. package/components/CashierError-D054pa3k.js +0 -654
  59. package/components/CashierHeader-PvXFHPzQ.cjs +0 -1
  60. package/components/CashierIframeRedirect-C0AQ3pLh.cjs +0 -1
  61. package/components/CashierMethodDetails-fgXAscSs.cjs +0 -85
  62. package/components/CashierMethodsList-CIZqw7vl.cjs +0 -1
  63. package/components/CashierPage-Ct9EikF7.cjs +0 -1
  64. package/components/CashierSessionExpirationModal-D9p_gSiz.cjs +0 -2
  65. package/components/CashierStepUp-DKytvkqu.cjs +0 -1
  66. package/components/CashierTransactionHistory-Df2Bbdf6.cjs +0 -1
  67. package/components/CashierVerifications-CRuBWs_5.cjs +0 -1
@@ -1,14 +1,14 @@
1
- import { a as Xe, i as Je, $ as Ve, S as Ze, b as Ke, s as Qe, f as y, c as $e, G as ge, e as A, k as x, n as P, r as ze, p as pe, q as et, O as tt, l as a, m as f, o as h, v as D, A as N, w as T, N as ot, y as st, x as me, W as le, Z as ye, a4 as nt, U as re, a2 as it, z as we, B as rt, C as lt, D as at, E as mt, F as ct } from "./CashierCarousel-DJXsZKF9.js";
2
- import { d as Me, u as dt, x as be } from "./CashierMethodDetails-QnYW0RhM.js";
3
- function _e(t, e) {
4
- Xe(t, e);
1
+ import { a as Ve, i as Xe, $ as Ze, S as Je, b as Ke, s as Qe, f as y, c as $e, G as ge, e as z, k as x, n as P, r as Ae, p as pe, q as et, O as tt, l as a, m as f, o as h, v as E, A as N, w as D, N as ot, y as st, x as me, W as le, Z as ye, a4 as nt, U as re, a2 as it, z as we, B as rt, C as lt, D as at, E as mt, F as ct } from "./CashierCarousel-CLJ0LFIF.js";
2
+ import { d as Me, u as dt, x as be } from "./CashierMethodDetails-C6wT52A_.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
+ }), Ze.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), nt(n, s);
186
+ s && z(e), nt(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, O, R, U, j = (
307
+ ), Z, R, W, I, F, O, U = (
272
308
  /*$_*/
273
309
  t[17]("generalMin") + ""
274
- ), Z, ee, q = re(
310
+ ), J, ee, G = 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, I, K = (
333
+ ) + "", te, q, 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, G, 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,12 +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(), O = f("div"), R = f("span"), U = f("p"), Z = T(j), ee = P(), te = T(q), B = P(), I = f("p"), S = T(K), ne = P(), E = T(oe), Y = P(), w && w.c(), G = P(), we(n.src, s = /*payMeth*/
343
- t[58].LogoRelativeUrl ? `${window.origin}payMeth.LogoRelativeUrl` : (
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"), Z = D(X), R = P(), b && b.c(), W = P(), I = f("div"), F = f("span"), O = f("p"), J = D(U), ee = P(), te = D(G), q = P(), j = f("p"), T = D(K), ne = P(), S = D(oe), B = P(), w && w.c(), Y = P(), we(n.src, s = /*payMeth*/
379
+ t[58].LogoRelativeUrl ? `${window.origin}${/*payMeth*/
380
+ t[58].LogoRelativeUrl}` : (
344
381
  /*payMeth*/
345
382
  t[58].LogoUrl
346
383
  )) || h(n, "src", s), h(n, "alt", i = /*payMeth*/
347
- t[58].Label), h(o, "class", "MethodLogo"), h(d, "class", "MethodFavorite"), h(c, "class", "MethodTitle"), h(R, "class", "Limits"), h(O, "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(I, "class", "MethodLimits"), h(m, "class", "MethodInfo"), h(e, "class", "SelectorWrapper"), le(
348
385
  e,
349
386
  "checked",
350
387
  /*selectedPaymentMethod*/
@@ -352,29 +389,30 @@ function Se(t) {
352
389
  t[58].Name
353
390
  );
354
391
  },
355
- m(X, _) {
356
- x(X, 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, O), a(O, R), a(R, U), a(U, Z), a(U, ee), a(U, te), a(R, B), a(R, I), a(I, S), a(I, ne), a(I, E), a(m, Y), w && w.m(m, null), a(e, G), 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, Z), a(m, R), b && b.m(m, null), a(m, W), a(m, I), a(I, F), a(F, O), a(O, J), a(O, ee), a(O, te), a(F, q), 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 = [
357
394
  me(e, "click", ie),
358
395
  me(e, "keyup", wt)
359
396
  ], k = !0);
360
397
  },
361
- p(X, _) {
362
- t = X, _[0] & /*paymentMethodsToShow*/
398
+ p(V, v) {
399
+ t = V, v[0] & /*paymentMethodsToShow*/
363
400
  2048 && !we(n.src, s = /*payMeth*/
364
- t[58].LogoRelativeUrl ? `${window.origin}payMeth.LogoRelativeUrl` : (
401
+ t[58].LogoRelativeUrl ? `${window.origin}${/*payMeth*/
402
+ t[58].LogoRelativeUrl}` : (
365
403
  /*payMeth*/
366
404
  t[58].LogoUrl
367
- )) && h(n, "src", s), _[0] & /*paymentMethodsToShow*/
405
+ )) && h(n, "src", s), v[0] & /*paymentMethodsToShow*/
368
406
  2048 && i !== (i = /*payMeth*/
369
407
  t[58].Label) && h(n, "alt", i), /*payMeth*/
370
- t[58].isMethodPromoted ? M ? M.p(t, _) : (M = Pe(t), M.c(), M.m(d, null)) : M && (M.d(1), M = null), _[0] & /*paymentMethodsToShow*/
371
- 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*/
372
410
  (t[58].Label || /*payMeth*/
373
- t[58].Name) + "") && D(V, J), /*desktopView*/
374
- t[13] ? b && (b.d(1), b = null) : b ? b.p(t, _) : (b = De(t), b.c(), b.m(m, W)), _[0] & /*$_*/
375
- 131072 && j !== (j = /*$_*/
376
- t[17]("generalMin") + "") && D(Z, j), _[0] & /*paymentMethodsToShow, precisionCurrenciesMap, numericCurrencyDecimals*/
377
- 67840 && q !== (q = re(
411
+ t[58].Name) + "") && E(Z, 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(J, U), v[0] & /*paymentMethodsToShow, precisionCurrenciesMap, numericCurrencyDecimals*/
415
+ 67840 && G !== (G = re(
378
416
  /*payMeth*/
379
417
  t[58].DisplayCurrency.MinAmountLimit,
380
418
  /*payMeth*/
@@ -397,9 +435,9 @@ function Se(t) {
397
435
  t[16]
398
436
  )
399
437
  }
400
- ) + "") && D(te, q), _[0] & /*$_*/
438
+ ) + "") && E(te, G), v[0] & /*$_*/
401
439
  131072 && K !== (K = /*$_*/
402
- t[17]("generalMax") + "") && D(S, K), _[0] & /*paymentMethodsToShow, precisionCurrenciesMap, numericCurrencyDecimals*/
440
+ t[17]("generalMax") + "") && E(T, K), v[0] & /*paymentMethodsToShow, precisionCurrenciesMap, numericCurrencyDecimals*/
403
441
  67840 && oe !== (oe = re(
404
442
  /*payMeth*/
405
443
  t[58].DisplayCurrency.MaxAmountLimit,
@@ -423,8 +461,8 @@ function Se(t) {
423
461
  t[16]
424
462
  )
425
463
  }
426
- ) + "") && D(E, oe), /*desktopView*/
427
- 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*/
428
466
  2560 && le(
429
467
  e,
430
468
  "checked",
@@ -433,16 +471,16 @@ function Se(t) {
433
471
  t[58].Name
434
472
  );
435
473
  },
436
- d(X) {
437
- X && A(e), M && M.d(), b && b.d(), w && w.d(), k = !1, it(Q);
474
+ d(V) {
475
+ V && z(e), M && M.d(), b && b.d(), w && w.d(), k = !1, it(Q);
438
476
  }
439
477
  };
440
478
  }
441
- function Ee(t) {
479
+ function Se(t) {
442
480
  let e, o, n, s;
443
481
  return {
444
482
  c() {
445
- e = f("div"), o = T(
483
+ e = f("div"), o = D(
446
484
  /*methodsButtonToggleText*/
447
485
  t[10]
448
486
  ), h(e, "class", "ShowAllButton");
@@ -457,14 +495,14 @@ function Ee(t) {
457
495
  },
458
496
  p(i, l) {
459
497
  l[0] & /*methodsButtonToggleText*/
460
- 1024 && D(
498
+ 1024 && E(
461
499
  o,
462
500
  /*methodsButtonToggleText*/
463
501
  i[10]
464
502
  );
465
503
  },
466
504
  d(i) {
467
- i && A(e), n = !1, s();
505
+ i && z(e), n = !1, s();
468
506
  }
469
507
  };
470
508
  }
@@ -472,7 +510,7 @@ function Ne(t) {
472
510
  let e, o, n;
473
511
  return {
474
512
  c() {
475
- e = f("cashier-error"), o = f("span"), n = T(
513
+ e = f("cashier-error"), o = f("span"), n = D(
476
514
  /*errorMessage*/
477
515
  t[12]
478
516
  ), h(o, "class", "ErrorMessage"), h(o, "slot", "text"), N(
@@ -512,7 +550,7 @@ function Ne(t) {
512
550
  },
513
551
  p(s, i) {
514
552
  i[0] & /*errorMessage*/
515
- 4096 && D(
553
+ 4096 && E(
516
554
  n,
517
555
  /*errorMessage*/
518
556
  s[12]
@@ -555,7 +593,7 @@ function Ne(t) {
555
593
  );
556
594
  },
557
595
  d(s) {
558
- s && A(e);
596
+ s && z(e);
559
597
  }
560
598
  };
561
599
  }
@@ -569,7 +607,7 @@ function pt(t) {
569
607
  );
570
608
  return {
571
609
  c() {
572
- n && n.c(), e = P(), s && s.c(), o = ze();
610
+ n && n.c(), e = P(), s && s.c(), o = Ae();
573
611
  },
574
612
  m(i, l) {
575
613
  n && n.m(i, l), x(i, e, l), s && s.m(i, l), x(i, o, l);
@@ -582,7 +620,7 @@ function pt(t) {
582
620
  i: ge,
583
621
  o: ge,
584
622
  d(i) {
585
- 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);
586
624
  }
587
625
  };
588
626
  }
@@ -591,37 +629,37 @@ const yt = "PaymentPromotion", wt = () => {
591
629
  function Mt(t, e, o) {
592
630
  let n, s, i;
593
631
  pe(t, ct, (r) => o(17, s = r)), pe(t, be, (r) => o(42, i = r)), Me.extend(dt);
594
- 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: O } = e, { clientstyling: R } = e, { clientstylingurl: U } = e, { currencydecimals: j = "0" } = e, { currencysymbol: Z = "" } = e, { currencyposition: ee = "" } = e, { promotedmethods: q = "false" } = e, { type: te } = e, { userroles: B = "" } = e, I, K = {}, S, ne, oe = window.navigator.userAgent, E = [], Y, G = "", k = [], Q = [], M = "", b, w = !0, ie = !1, X = !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: Z } = e, { numberofmethodsshown: R } = e, { translationurl: W = "" } = e, { mbsource: I } = e, { clientstyling: F } = e, { clientstylingurl: O } = e, { currencydecimals: U = "0" } = e, { currencysymbol: J = "" } = e, { currencyposition: ee = "" } = e, { promotedmethods: G = "false" } = e, { type: te } = e, { userroles: q = "" } = e, j, K = {}, T, ne, oe = window.navigator.userAgent, S = [], B, Y = "", k = [], Q = [], M = "", b, w = !0, ie = !1, V = !1, v = [];
595
633
  var ae;
596
634
  (function(r) {
597
635
  r.PlayerSessionIsNotValid = "PlayerSessionIsNotValid", r.Success = "Success", r.JwtTokenError = "JwtTokenError";
598
636
  })(ae || (ae = {}));
599
- const Ae = () => {
637
+ const ze = () => {
600
638
  let r = W;
601
639
  if (r)
602
640
  return fetch(r).then((p) => p.json()).then((p) => {
603
641
  Object.keys(p).forEach(($) => {
604
- _e($, p[$]);
642
+ ve($, p[$]);
605
643
  });
606
644
  }).catch((p) => {
607
645
  console.log(p);
608
646
  });
609
647
  };
610
- Object.keys(ve).forEach((r) => {
611
- _e(r, ve[r]);
648
+ Object.keys(_e).forEach((r) => {
649
+ ve(r, _e[r]);
612
650
  });
613
651
  const xe = () => {
614
652
  ut(l);
615
- }, Re = (r) => {
616
- i && Fe(r);
617
653
  }, Fe = (r) => {
618
- const { currency: p } = r, v = I !== void 0 && I !== p ? "MetadataLoading" : "DataLoading";
619
- I = p, window.postMessage({ type: v, isDataLoaded: !1 }, window.location.href);
620
- const L = new URL(`${u}/v2/player/${g}/payment/GetPaymentMetadata`), z = new Headers();
621
- z.append("accept", "application/json"), z.append("Content-Type", "application/json"), z.append("X-Client-Request-Timestamp", Me.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", Me.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");
622
660
  const H = {
623
661
  method: "POST",
624
- headers: z,
662
+ headers: A,
625
663
  mode: "cors",
626
664
  body: JSON.stringify({
627
665
  ...p && { Currency: p },
@@ -637,46 +675,46 @@ function Mt(t, e, o) {
637
675
  return;
638
676
  }
639
677
  if (C.ResponseCode !== ae.Success) {
640
- b = C.ResponseCode, je();
678
+ b = C.ResponseCode, Ue();
641
679
  return;
642
680
  }
643
- E = C.PaymentMethods?.Ordering ? Ue(C) : Oe(C), window.postMessage(
681
+ S = C.PaymentMethods?.Ordering ? Oe(C) : Ie(C), window.postMessage(
644
682
  {
645
683
  type: "PromotedPaymentMethods",
646
684
  promotedPaymentMethods: Q
647
685
  },
648
686
  window.location.href
649
- ), o(10, G = F && +F > 0 && E.length > +F ? s("showAll") : ""), o(11, k = G ? 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, X = !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), G == "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(
650
688
  {
651
689
  type: "StartSessionCountdown",
652
- paymentMethodName: E[0].Name
690
+ paymentMethodName: S[0].Name
653
691
  },
654
692
  window.location.href
655
- ), window.postMessage({ type: v, isDataLoaded: !0 }, window.location.href);
693
+ ), window.postMessage({ type: _, isDataLoaded: !0 }, window.location.href);
656
694
  }).finally(() => {
657
- 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);
658
696
  });
659
- }, Ue = (r) => {
697
+ }, Oe = (r) => {
660
698
  const p = [];
661
699
  return Q = [], r.PaymentMethods.Ordering.DefaultPaymentMethodsOrder.forEach(($) => {
662
- const v = r.PaymentMethods.PaymentMethods.find((L) => L.Name === $);
663
- if (v) {
664
- const L = v?.Logos.find((C) => C.LogoType === "Desktop") || {}, z = v?.Logos.find((C) => C.LogoType === "Mobile") || {}, H = w ? L : z;
665
- 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(_);
666
704
  }
667
705
  }), p;
668
- }, Oe = (r) => {
706
+ }, Ie = (r) => {
669
707
  const p = r.PaymentMethods.PaymentMethods.map((L) => ({
670
708
  ...L,
671
709
  isMethodPromoted: ue(L.Tags),
672
710
  LogoUrl: L.Logos && L.Logos.length && L.Logos[0].LogoUrl ? `https:${L.Logos[0].LogoUrl}` : ""
673
- })), [$, v] = p.reduce(
674
- ([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]),
675
713
  [[], []]
676
714
  );
677
- return Q = $, v;
715
+ return Q = $, _;
678
716
  }, ce = (r) => {
679
- 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(
680
718
  "selectPayMeth",
681
719
  {
682
720
  detail: r,
@@ -685,7 +723,7 @@ function Mt(t, e, o) {
685
723
  composed: !0
686
724
  }
687
725
  ));
688
- }, je = () => {
726
+ }, Ue = () => {
689
727
  window.postMessage(
690
728
  {
691
729
  type: "ErrorResponseCode",
@@ -693,14 +731,14 @@ function Mt(t, e, o) {
693
731
  },
694
732
  window.location.href
695
733
  );
696
- }, Ie = () => {
734
+ }, je = () => {
697
735
  o(13, w = !ot(oe));
698
736
  }, de = () => {
699
- k == E ? We() : He();
737
+ k == S ? We() : He();
700
738
  }, He = () => {
701
- o(11, k = E), o(10, G = s("showLess"));
739
+ o(11, k = S), o(10, Y = s("showLess"));
702
740
  }, We = () => {
703
- 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, G = 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"));
704
742
  }, ue = (r) => r && r.split(",").some((p) => p === yt), fe = (r) => {
705
743
  const { data: { type: p } = {} } = r || {};
706
744
  switch (p) {
@@ -709,47 +747,47 @@ function Mt(t, e, o) {
709
747
  break;
710
748
  }
711
749
  }
712
- }, qe = () => {
713
- B.length > 0 && (_ = B.split(","));
750
+ }, Ge = () => {
751
+ q.length > 0 && (v = q.split(","));
714
752
  };
715
- et(() => (Ie(), tt(d, Z, ee, j), window.postMessage({ type: "CashierMethodsListReady" }, window.location.href), window.addEventListener("message", fe), () => {
753
+ et(() => (je(), tt(d, J, ee, U), window.postMessage({ type: "CashierMethodsListReady" }, window.location.href), window.addEventListener("message", fe), () => {
716
754
  window.removeEventListener("message", fe);
717
755
  }));
718
- const Be = (r) => ce(r), Ye = () => de();
719
- function Ge(r) {
756
+ const qe = (r) => ce(r), Be = () => de();
757
+ function Ye(r) {
720
758
  st[r ? "unshift" : "push"](() => {
721
- S = r, o(7, S);
759
+ T = r, o(7, T);
722
760
  });
723
761
  }
724
762
  return t.$$set = (r) => {
725
- "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, O = r.mbsource), "clientstyling" in r && o(4, R = r.clientstyling), "clientstylingurl" in r && o(5, U = r.clientstylingurl), "currencydecimals" in r && o(27, j = 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, 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, Z = r.currency), "numberofmethodsshown" in r && o(26, R = r.numberofmethodsshown), "translationurl" in r && o(2, W = r.translationurl), "mbsource" in r && o(3, I = r.mbsource), "clientstyling" in r && o(4, F = r.clientstyling), "clientstylingurl" in r && o(5, O = r.clientstylingurl), "currencydecimals" in r && o(27, U = r.currencydecimals), "currencysymbol" in r && o(28, J = r.currencysymbol), "currencyposition" in r && o(29, ee = r.currencyposition), "promotedmethods" in r && o(30, G = r.promotedmethods), "type" in r && o(6, te = r.type), "userroles" in r && o(31, q = r.userroles);
726
764
  }, t.$$.update = () => {
727
765
  t.$$.dirty[1] & /*userroles*/
728
- 1 && B && qe(), t.$$.dirty[0] & /*endpoint, paymentsession, customerid, currency*/
729
- 56623104 && u && !m && g && Re({ currency: V }), t.$$.dirty[0] & /*lang*/
766
+ 1 && q && Ge(), t.$$.dirty[0] & /*endpoint, paymentsession, customerid, currency*/
767
+ 56623104 && u && !m && g && Fe({ currency: Z }), t.$$.dirty[0] & /*lang*/
730
768
  1 && l && xe(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
731
- 144 && R && S && rt(S, R), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
732
- 160 && U && S && lt(S, U), t.$$.dirty[0] & /*mbsource, customStylingContainer*/
733
- 136 && O && S && at(S, `${O}.Style`, ne), t.$$.dirty[0] & /*lang, translationurl*/
734
- 5 && l && W && Ae(), t.$$.dirty[0] & /*currencydecimals*/
735
- 134217728 && o(16, n = Number(j));
769
+ 144 && F && T && rt(T, F), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
770
+ 160 && O && T && lt(T, O), t.$$.dirty[0] & /*mbsource, customStylingContainer*/
771
+ 136 && I && T && at(T, `${I}.Style`, ne), t.$$.dirty[0] & /*lang, translationurl*/
772
+ 5 && l && W && ze(), t.$$.dirty[0] & /*currencydecimals*/
773
+ 134217728 && o(16, n = Number(U));
736
774
  }, [
737
775
  l,
738
- J,
776
+ X,
739
777
  W,
778
+ I,
779
+ F,
740
780
  O,
741
- R,
742
- U,
743
781
  te,
744
- S,
782
+ T,
745
783
  K,
784
+ B,
746
785
  Y,
747
- G,
748
786
  k,
749
787
  M,
750
788
  w,
751
789
  ie,
752
- X,
790
+ V,
753
791
  n,
754
792
  s,
755
793
  ce,
@@ -759,19 +797,19 @@ function Mt(t, e, o) {
759
797
  m,
760
798
  c,
761
799
  g,
762
- V,
763
- F,
764
- j,
765
800
  Z,
801
+ R,
802
+ U,
803
+ J,
766
804
  ee,
805
+ G,
767
806
  q,
768
- B,
807
+ qe,
769
808
  Be,
770
- Ye,
771
- Ge
809
+ Ye
772
810
  ];
773
811
  }
774
- class bt extends Ze {
812
+ class bt extends Je {
775
813
  constructor(e) {
776
814
  super(), Ke(
777
815
  this,