@everymatrix/cashier-page 1.98.7 → 1.98.9

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 (63) hide show
  1. package/components/{CashierCarousel-CLl1dEO0.js → CashierCarousel-BzdUV7XF.js} +160 -136
  2. package/components/{CashierCarousel-jiScaw1m.js → CashierCarousel-FFsdS-lS.js} +166 -142
  3. package/components/CashierCarousel-zmZZjXPR.cjs +1 -0
  4. package/components/{CashierError-BgzGU74G.js → CashierError-DM9cHWYk.js} +282 -178
  5. package/components/{CashierError-nb2MHtLH.cjs → CashierError-DtmAFp4L.cjs} +1 -1
  6. package/components/{CashierError-ulLnVgQF.js → CashierError-R9QTGjHi.js} +282 -178
  7. package/components/{CashierHeader-DEksQqYQ.js → CashierHeader-BGa8_twf.js} +144 -130
  8. package/components/{CashierHeader-jQ2-E617.js → CashierHeader-BoWdCzOy.js} +144 -130
  9. package/components/CashierHeader-DL7CeVPX.cjs +1 -0
  10. package/components/{CashierIframeRedirect-BUy5m6fN.js → CashierIframeRedirect-BGDgKj5q.js} +38 -32
  11. package/components/{CashierIframeRedirect-CyY79191.js → CashierIframeRedirect-ByL4GN6L.js} +38 -32
  12. package/components/CashierIframeRedirect-DwOnILP1.cjs +1 -0
  13. package/components/{CashierMethodDetails-DmHKHr2M.cjs → CashierMethodDetails-CMadBp5s.cjs} +4 -4
  14. package/components/{CashierMethodDetails-BHGrCcE3.js → CashierMethodDetails-DgFi6GOg.js} +1345 -1149
  15. package/components/{CashierMethodDetails-B-klrcoA.js → CashierMethodDetails-DwAKidqM.js} +1500 -1304
  16. package/components/{CashierMethodsList-u11i0SYf.js → CashierMethodsList-B0Y7Ov2y.js} +136 -112
  17. package/components/CashierMethodsList-BKSWzfhx.cjs +1 -0
  18. package/components/{CashierMethodsList-KXr3hScy.js → CashierMethodsList-BttlgP8I.js} +152 -128
  19. package/components/{CashierModal-Ke9TZX5s.js → CashierModal-BAqyZ3yN.js} +2 -2
  20. package/components/{CashierModal-4iF9ylQT.js → CashierModal-CTEreymk.js} +2 -2
  21. package/components/{CashierModal-CcawnfUI.cjs → CashierModal-DYiiDdjF.cjs} +1 -1
  22. package/components/{CashierNotifications-DquKOU8w.js → CashierNotifications-5vMGexnB.js} +1 -1
  23. package/components/{CashierNotifications-CY2B13Wf.js → CashierNotifications-C9DAtUCd.js} +1 -1
  24. package/components/{CashierNotifications-wQG099OX.cjs → CashierNotifications-DeciL3hL.cjs} +1 -1
  25. package/components/{CashierPage-895aolw0.js → CashierPage-Cyh00U_t.js} +1216 -1118
  26. package/components/{CashierPage-DEYpTaJv.cjs → CashierPage-Datx6Ztd.cjs} +6 -6
  27. package/components/{CashierPage-Bz6JgmrH.js → CashierPage-DmSMSwFD.js} +712 -614
  28. package/components/{CashierReceiptPage-CGcmTBRp.js → CashierReceiptPage-2QLgzHKu.js} +486 -302
  29. package/components/{CashierReceiptPage-BCh5OfiT.cjs → CashierReceiptPage-CljAf_RX.cjs} +2 -2
  30. package/components/{CashierReceiptPage-DNsdCwQQ.js → CashierReceiptPage-zipsq7HA.js} +483 -299
  31. package/components/{CashierSessionExpirationModal-i5NfYzNE.js → CashierSessionExpirationModal-BHUuaz3G.js} +141 -125
  32. package/components/CashierSessionExpirationModal-BhdcM6-i.cjs +2 -0
  33. package/components/{CashierSessionExpirationModal-IfrOHdOp.js → CashierSessionExpirationModal-CPiyWnR6.js} +141 -125
  34. package/components/{CashierSpinner-bOYmQpsr.js → CashierSpinner-CfN6GP0k.js} +2 -2
  35. package/components/{CashierSpinner-CKdmXXKt.cjs → CashierSpinner-DK9MV_jW.cjs} +1 -1
  36. package/components/{CashierSpinner-C9Ra-0IT.js → CashierSpinner-DlmmgiCp.js} +2 -2
  37. package/components/{CashierStepUp-B3Ph1OSf.js → CashierStepUp-D4IutqnI.js} +397 -351
  38. package/components/{CashierStepUp-CKae09kD.js → CashierStepUp-DBkCHzU6.js} +371 -325
  39. package/components/CashierStepUp-f6d-L0Pv.cjs +1 -0
  40. package/components/{CashierTransactionHistory-_uQpfmaM.js → CashierTransactionHistory-Bfx6cEFg.js} +522 -472
  41. package/components/{CashierTransactionHistory-DkPMVofl.js → CashierTransactionHistory-BmgU4GU7.js} +494 -444
  42. package/components/CashierTransactionHistory-Bxd87eQt.cjs +1 -0
  43. package/components/CashierVerifications-B-u47VhR.cjs +1 -0
  44. package/components/{CashierVerifications-CA42knBf.js → CashierVerifications-Bi_7cW9r.js} +256 -210
  45. package/components/{CashierVerifications-C3vBxGTw.js → CashierVerifications-UTO3n0Ei.js} +245 -199
  46. package/components/{TxnStatusIcon-T3_oGTiJ.js → TxnStatusIcon-CDynHfdT.js} +1 -1
  47. package/components/{TxnStatusIcon-_ohfqibs.js → TxnStatusIcon-XWXNjZi6.js} +1 -1
  48. package/components/{TxnStatusIcon-ObLzHWKw.cjs → TxnStatusIcon-xNz_TX3o.cjs} +1 -1
  49. package/components/{TxnTypeIcons-DhQNGQt2.js → TxnTypeIcons-Bui9VGqk.js} +1 -1
  50. package/components/{TxnTypeIcons-gD4j8VCB.js → TxnTypeIcons-D0YhmAk8.js} +1 -1
  51. package/components/{TxnTypeIcons-mX1zqVBL.cjs → TxnTypeIcons-D3xjja9q.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-Dh5Q3q4o.cjs +0 -1
  57. package/components/CashierHeader-DA_ReO25.cjs +0 -1
  58. package/components/CashierIframeRedirect-CB1_eaMN.cjs +0 -1
  59. package/components/CashierMethodsList-BvOniQPF.cjs +0 -1
  60. package/components/CashierSessionExpirationModal-CIrMZkSD.cjs +0 -2
  61. package/components/CashierStepUp-DIQ9DrxX.cjs +0 -1
  62. package/components/CashierTransactionHistory-Bkqw8dMT.cjs +0 -1
  63. package/components/CashierVerifications-BZPBsrmc.cjs +0 -1
@@ -1,18 +1,18 @@
1
1
  var Qe = Object.defineProperty, $e = Object.defineProperties;
2
2
  var et = Object.getOwnPropertyDescriptors;
3
- var Te = Object.getOwnPropertySymbols;
3
+ var De = Object.getOwnPropertySymbols;
4
4
  var tt = Object.prototype.hasOwnProperty, ot = Object.prototype.propertyIsEnumerable;
5
5
  var Se = (t, e, o) => e in t ? Qe(t, e, { enumerable: !0, configurable: !0, writable: !0, value: o }) : t[e] = o, ke = (t, e) => {
6
6
  for (var o in e || (e = {}))
7
7
  tt.call(e, o) && Se(t, o, e[o]);
8
- if (Te)
9
- for (var o of Te(e))
8
+ if (De)
9
+ for (var o of De(e))
10
10
  ot.call(e, o) && Se(t, o, e[o]);
11
11
  return t;
12
12
  }, Ce = (t, e) => $e(t, et(e));
13
- import { a as st, i as nt, $ as it, S as rt, b as lt, s as at, f as w, c as mt, y as Ne, e as z, k as x, n as P, r as Xe, p as Ae, M as ze, N as ct, q as dt, K as ut, l as a, m as f, o as h, v as E, O as N, w as D, C as ft, x as ht, z as Pe, L as Le, D as xe, E as gt, I as _e, F as pt, J as Fe, A as yt, B as wt, R as Ie } from "./CashierPage-895aolw0.js";
14
- import { s as Mt, a as bt, b as vt } from "./CashierHeader-DEksQqYQ.js";
15
- function Oe(t, e) {
13
+ import { a as st, i as nt, $ as it, S as rt, b as lt, s as at, f as w, c as mt, y as Ae, e as z, k as x, n as P, r as Ve, p as Ne, M as ze, N as ct, q as dt, K as ut, l as a, m as f, o as h, v as E, O as A, w as T, C as ft, x as ht, z as Pe, L as Le, D as xe, E as gt, I as _e, F as pt, J as Fe, A as yt, B as wt, R as Ie } from "./CashierPage-Cyh00U_t.js";
14
+ import { s as Mt, a as bt, b as vt } from "./CashierHeader-BGa8_twf.js";
15
+ function Re(t, e) {
16
16
  st(t, e);
17
17
  }
18
18
  function _t(t) {
@@ -20,7 +20,7 @@ function _t(t) {
20
20
  fallbackLocale: "en"
21
21
  }), it.set(t);
22
22
  }
23
- const Re = {
23
+ const Oe = {
24
24
  en: {
25
25
  generalMin: "Min",
26
26
  generalMax: "Max",
@@ -92,6 +92,30 @@ const Re = {
92
92
  promoLabel: "Aanbevolen",
93
93
  otherMethodsTitle: "Alle methoden",
94
94
  otherMethodsDescription: "Ontdek onze ongelooflijke selectie van unieke producten die u niet wilt missen!"
95
+ },
96
+ ru: {
97
+ generalMin: "Мин",
98
+ generalMax: "Макс",
99
+ showAll: "ПОКАЗАТЬ ВСЕ",
100
+ showLess: "СВЕРНУТЬ",
101
+ error: "Ошибка",
102
+ noPaymentMethods: "Нет доступных способов оплаты",
103
+ favorite: "Избранное",
104
+ promoLabel: "Рекомендуем",
105
+ otherMethodsTitle: "Все методы",
106
+ otherMethodsDescription: "Откройте для себя нашу невероятную подборку уникальных продуктов, которые вы не захотите пропустить!"
107
+ },
108
+ az: {
109
+ generalMin: "Min",
110
+ generalMax: "Maks",
111
+ showAll: "HAMISINI GÖSTƏR",
112
+ showLess: "AZ GÖSTƏR",
113
+ error: "Xəta",
114
+ noPaymentMethods: "Ödəniş üsulu mövcud deyil",
115
+ favorite: "Sevimli",
116
+ promoLabel: "Tövsiyə olunan",
117
+ otherMethodsTitle: "Bütün üsullar",
118
+ otherMethodsDescription: "Qaçırmaq istəməyəcəyiniz unikal məhsullardan ibarət inanılmaz seçimimizi kəşf edin!"
95
119
  }
96
120
  };
97
121
  function Lt(t) {
@@ -101,9 +125,9 @@ function je(t, e, o) {
101
125
  const n = t.slice();
102
126
  return n[58] = e[o], n[60] = o, n;
103
127
  }
104
- function Ue(t) {
128
+ function He(t) {
105
129
  let e, o, n, s, r = !/*noPaymentMethodsAvailable*/
106
- t[15] && He(t);
130
+ t[15] && Ue(t);
107
131
  function l(c, g) {
108
132
  return (
109
133
  /*noPaymentMethodsAvailable*/
@@ -113,7 +137,7 @@ function Ue(t) {
113
137
  }
114
138
  let d = l(t), u = d(t), m = (
115
139
  /*methodsButtonToggleText*/
116
- t[10] && Ye(t)
140
+ t[10] && Xe(t)
117
141
  );
118
142
  return {
119
143
  c() {
@@ -124,15 +148,15 @@ function Ue(t) {
124
148
  },
125
149
  p(c, g) {
126
150
  /*noPaymentMethodsAvailable*/
127
- c[15] ? r && (r.d(1), r = null) : r ? r.p(c, g) : (r = He(c), r.c(), r.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*/
128
- c[10] ? m ? m.p(c, g) : (m = Ye(c), m.c(), m.m(e, null)) : m && (m.d(1), m = null);
151
+ c[15] ? r && (r.d(1), r = null) : r ? r.p(c, g) : (r = Ue(c), r.c(), r.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*/
152
+ c[10] ? m ? m.p(c, g) : (m = Xe(c), m.c(), m.m(e, null)) : m && (m.d(1), m = null);
129
153
  },
130
154
  d(c) {
131
155
  c && z(e), r && r.d(), u.d(), m && m.d(), t[34](null);
132
156
  }
133
157
  };
134
158
  }
135
- function He(t) {
159
+ function Ue(t) {
136
160
  let e, o, n = (
137
161
  /*$_*/
138
162
  t[17]("otherMethodsTitle") + ""
@@ -142,7 +166,7 @@ function He(t) {
142
166
  ), u;
143
167
  return {
144
168
  c() {
145
- e = f("div"), o = f("h3"), s = D(n), r = P(), l = f("p"), u = D(d), h(e, "class", "MethodsListDescription");
169
+ e = f("div"), o = f("h3"), s = T(n), r = P(), l = f("p"), u = T(d), h(e, "class", "MethodsListDescription");
146
170
  },
147
171
  m(m, c) {
148
172
  x(m, e, c), a(e, o), a(o, s), a(e, r), a(e, l), a(l, u);
@@ -170,7 +194,7 @@ function kt(t) {
170
194
  c() {
171
195
  for (let s = 0; s < n.length; s += 1)
172
196
  n[s].c();
173
- e = Xe();
197
+ e = Ve();
174
198
  },
175
199
  m(s, r) {
176
200
  for (let l = 0; l < n.length; l += 1)
@@ -209,7 +233,7 @@ function Ct(t) {
209
233
  ), m;
210
234
  return {
211
235
  c() {
212
- e = f("div"), o = f("div"), n = f("p"), r = 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(
236
+ e = f("div"), o = f("div"), n = f("p"), r = 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(
213
237
  e,
214
238
  "EmptyContentMessageDesktop",
215
239
  /*desktopView*/
@@ -244,7 +268,7 @@ function We(t) {
244
268
  ), n;
245
269
  return {
246
270
  c() {
247
- e = f("p"), n = D(o);
271
+ e = f("p"), n = T(o);
248
272
  },
249
273
  m(s, r) {
250
274
  x(s, e, r), a(e, n);
@@ -259,7 +283,7 @@ function We(t) {
259
283
  }
260
284
  };
261
285
  }
262
- function qe(t) {
286
+ function Ge(t) {
263
287
  let e, o = (
264
288
  /*$_*/
265
289
  t[17](`${/*type*/
@@ -268,7 +292,7 @@ function qe(t) {
268
292
  ), n;
269
293
  return {
270
294
  c() {
271
- e = f("span"), n = D(o), h(e, "class", "PaymentProcessing");
295
+ e = f("span"), n = T(o), h(e, "class", "PaymentProcessing");
272
296
  },
273
297
  m(s, r) {
274
298
  x(s, e, r), a(e, n);
@@ -285,7 +309,7 @@ function qe(t) {
285
309
  }
286
310
  };
287
311
  }
288
- function Ge(t) {
312
+ function qe(t) {
289
313
  let e, o = (
290
314
  /*$_*/
291
315
  t[17](`${/*type*/
@@ -294,7 +318,7 @@ function Ge(t) {
294
318
  ), n;
295
319
  return {
296
320
  c() {
297
- e = f("span"), n = D(o), h(e, "class", "PaymentProcessing");
321
+ e = f("span"), n = T(o), h(e, "class", "PaymentProcessing");
298
322
  },
299
323
  m(s, r) {
300
324
  x(s, e, r), a(e, n);
@@ -313,14 +337,14 @@ function Ge(t) {
313
337
  }
314
338
  function Be(t) {
315
339
  var ne, ie, se, ue, fe, he, ge, pe;
316
- let e, o, n, s, r, l, d, u, m, c, g, X = (
340
+ let e, o, n, s, r, l, d, u, m, c, g, V = (
317
341
  /*payMeth*/
318
342
  (t[58].Label || /*payMeth*/
319
343
  t[58].Name) + ""
320
- ), J, I, q, j, F, O, U = (
344
+ ), Z, I, G, j, F, R, H = (
321
345
  /*$_*/
322
346
  t[17]("generalMin") + ""
323
- ), Z, ee, G = _e(
347
+ ), J, ee, q = _e(
324
348
  /*payMeth*/
325
349
  t[58].DisplayCurrency.MinAmountLimit,
326
350
  /*payMeth*/
@@ -343,10 +367,10 @@ function Be(t) {
343
367
  t[16]
344
368
  )
345
369
  }
346
- ) + "", te, B, H, K = (
370
+ ) + "", te, B, U, K = (
347
371
  /*$_*/
348
372
  t[17]("generalMax") + ""
349
- ), T, ce, oe = _e(
373
+ ), D, ce, oe = _e(
350
374
  /*payMeth*/
351
375
  t[58].DisplayCurrency.MaxAmountLimit,
352
376
  /*payMeth*/
@@ -369,13 +393,13 @@ function Be(t) {
369
393
  t[16]
370
394
  )
371
395
  }
372
- ) + "", S, Y, V, k, Q, b = (
396
+ ) + "", S, X, Y, k, Q, b = (
373
397
  /*payMeth*/
374
398
  t[58].isMethodPromoted && We(t)
375
399
  ), v = !/*desktopView*/
376
- t[13] && qe(t), M = (
400
+ t[13] && Ge(t), M = (
377
401
  /*desktopView*/
378
- t[13] && Ge(t)
402
+ t[13] && qe(t)
379
403
  );
380
404
  function de() {
381
405
  return (
@@ -388,7 +412,7 @@ function Be(t) {
388
412
  }
389
413
  return {
390
414
  c() {
391
- e = f("div"), o = f("div"), n = f("img"), l = P(), d = f("div"), b && b.c(), u = P(), m = f("div"), c = f("div"), g = f("span"), J = D(X), I = P(), v && v.c(), q = P(), j = f("div"), F = f("span"), O = f("p"), Z = D(U), ee = P(), te = D(G), B = P(), H = f("p"), T = D(K), ce = P(), S = D(oe), Y = P(), M && M.c(), V = P(), Fe(n.src, s = /*payMeth*/
415
+ e = f("div"), o = f("div"), n = f("img"), l = P(), d = f("div"), b && b.c(), u = P(), m = f("div"), c = f("div"), g = f("span"), Z = T(V), I = P(), v && v.c(), G = P(), j = f("div"), F = f("span"), R = f("p"), J = T(H), ee = P(), te = T(q), B = P(), U = f("p"), D = T(K), ce = P(), S = T(oe), X = P(), M && M.c(), Y = P(), Fe(n.src, s = /*payMeth*/
392
416
  t[58].LogoUrl) || h(n, "src", s), h(n, "alt", r = /*payMeth*/
393
417
  t[58].Label), h(o, "class", "MethodLogo"), h(d, "class", "MethodFavorite"), h(c, "class", "MethodTitle"), h(F, "class", "Limits"), h(j, "class", "MethodLimits"), h(m, "class", "MethodInfo"), h(e, "class", "SelectorWrapper"), Le(
394
418
  e,
@@ -399,9 +423,9 @@ function Be(t) {
399
423
  );
400
424
  },
401
425
  m($, _) {
402
- x($, e, _), a(e, o), a(o, n), a(e, l), a(e, d), b && b.m(d, null), a(e, u), a(e, m), a(m, c), a(c, g), a(g, J), a(m, I), v && v.m(m, null), a(m, q), a(m, j), a(j, F), a(F, O), a(O, Z), a(O, ee), a(O, te), a(F, B), a(F, H), a(H, T), a(H, ce), a(H, S), a(m, Y), M && M.m(m, null), a(e, V), k || (Q = [
426
+ x($, e, _), a(e, o), a(o, n), a(e, l), a(e, d), b && b.m(d, null), a(e, u), a(e, m), a(m, c), a(c, g), a(g, Z), a(m, I), v && v.m(m, null), a(m, G), a(m, j), a(j, F), a(F, R), a(R, J), a(R, ee), a(R, te), a(F, B), a(F, U), a(U, D), a(U, ce), a(U, S), a(m, X), M && M.m(m, null), a(e, Y), k || (Q = [
403
427
  Pe(e, "click", de),
404
- Pe(e, "keyup", Dt)
428
+ Pe(e, "keyup", Tt)
405
429
  ], k = !0);
406
430
  },
407
431
  p($, _) {
@@ -412,13 +436,13 @@ function Be(t) {
412
436
  2048 && r !== (r = /*payMeth*/
413
437
  t[58].Label) && h(n, "alt", r), /*payMeth*/
414
438
  t[58].isMethodPromoted ? b ? b.p(t, _) : (b = We(t), b.c(), b.m(d, null)) : b && (b.d(1), b = null), _[0] & /*paymentMethodsToShow*/
415
- 2048 && X !== (X = /*payMeth*/
439
+ 2048 && V !== (V = /*payMeth*/
416
440
  (t[58].Label || /*payMeth*/
417
- t[58].Name) + "") && E(J, X), /*desktopView*/
418
- t[13] ? v && (v.d(1), v = null) : v ? v.p(t, _) : (v = qe(t), v.c(), v.m(m, q)), _[0] & /*$_*/
419
- 131072 && U !== (U = /*$_*/
420
- t[17]("generalMin") + "") && E(Z, U), _[0] & /*paymentMethodsToShow, precisionCurrenciesMap, numericCurrencyDecimals*/
421
- 67840 && G !== (G = _e(
441
+ t[58].Name) + "") && E(Z, V), /*desktopView*/
442
+ t[13] ? v && (v.d(1), v = null) : v ? v.p(t, _) : (v = Ge(t), v.c(), v.m(m, G)), _[0] & /*$_*/
443
+ 131072 && H !== (H = /*$_*/
444
+ t[17]("generalMin") + "") && E(J, H), _[0] & /*paymentMethodsToShow, precisionCurrenciesMap, numericCurrencyDecimals*/
445
+ 67840 && q !== (q = _e(
422
446
  /*payMeth*/
423
447
  t[58].DisplayCurrency.MinAmountLimit,
424
448
  /*payMeth*/
@@ -441,9 +465,9 @@ function Be(t) {
441
465
  t[16]
442
466
  )
443
467
  }
444
- ) + "") && E(te, G), _[0] & /*$_*/
468
+ ) + "") && E(te, q), _[0] & /*$_*/
445
469
  131072 && K !== (K = /*$_*/
446
- t[17]("generalMax") + "") && E(T, K), _[0] & /*paymentMethodsToShow, precisionCurrenciesMap, numericCurrencyDecimals*/
470
+ t[17]("generalMax") + "") && E(D, K), _[0] & /*paymentMethodsToShow, precisionCurrenciesMap, numericCurrencyDecimals*/
447
471
  67840 && oe !== (oe = _e(
448
472
  /*payMeth*/
449
473
  t[58].DisplayCurrency.MaxAmountLimit,
@@ -468,7 +492,7 @@ function Be(t) {
468
492
  )
469
493
  }
470
494
  ) + "") && E(S, oe), /*desktopView*/
471
- t[13] ? M ? M.p(t, _) : (M = Ge(t), M.c(), M.m(m, null)) : M && (M.d(1), M = null), _[0] & /*selectedPaymentMethod, paymentMethodsToShow*/
495
+ t[13] ? M ? M.p(t, _) : (M = qe(t), M.c(), M.m(m, null)) : M && (M.d(1), M = null), _[0] & /*selectedPaymentMethod, paymentMethodsToShow*/
472
496
  2560 && Le(
473
497
  e,
474
498
  "checked",
@@ -482,11 +506,11 @@ function Be(t) {
482
506
  }
483
507
  };
484
508
  }
485
- function Ye(t) {
509
+ function Xe(t) {
486
510
  let e, o, n, s;
487
511
  return {
488
512
  c() {
489
- e = f("div"), o = D(
513
+ e = f("div"), o = T(
490
514
  /*methodsButtonToggleText*/
491
515
  t[10]
492
516
  ), h(e, "class", "ShowAllButton");
@@ -512,44 +536,44 @@ function Ye(t) {
512
536
  }
513
537
  };
514
538
  }
515
- function Ve(t) {
539
+ function Ye(t) {
516
540
  let e, o, n;
517
541
  return {
518
542
  c() {
519
- e = f("cashier-error"), o = f("span"), n = D(
543
+ e = f("cashier-error"), o = f("span"), n = T(
520
544
  /*errorMessage*/
521
545
  t[12]
522
- ), h(o, "class", "ErrorMessage"), h(o, "slot", "text"), N(
546
+ ), h(o, "class", "ErrorMessage"), h(o, "slot", "text"), A(
523
547
  e,
524
548
  "lang",
525
549
  /*lang*/
526
550
  t[0]
527
- ), N(
551
+ ), A(
528
552
  e,
529
553
  "assetsurl",
530
554
  /*assetsurl*/
531
555
  t[1]
532
- ), N(
556
+ ), A(
533
557
  e,
534
558
  "translationurl",
535
559
  /*translationurl*/
536
560
  t[2]
537
- ), N(
561
+ ), A(
538
562
  e,
539
563
  "clientstylingurl",
540
564
  /*clientstylingurl*/
541
565
  t[5]
542
- ), N(
566
+ ), A(
543
567
  e,
544
568
  "clientstyling",
545
569
  /*clientstyling*/
546
570
  t[4]
547
- ), N(
571
+ ), A(
548
572
  e,
549
573
  "mbsource",
550
574
  /*mbsource*/
551
575
  t[3]
552
- ), N(e, "hidebuttons", "true");
576
+ ), A(e, "hidebuttons", "true");
553
577
  },
554
578
  m(s, r) {
555
579
  x(s, e, r), a(e, o), a(o, n);
@@ -561,37 +585,37 @@ function Ve(t) {
561
585
  /*errorMessage*/
562
586
  s[12]
563
587
  ), r[0] & /*lang*/
564
- 1 && N(
588
+ 1 && A(
565
589
  e,
566
590
  "lang",
567
591
  /*lang*/
568
592
  s[0]
569
593
  ), r[0] & /*assetsurl*/
570
- 2 && N(
594
+ 2 && A(
571
595
  e,
572
596
  "assetsurl",
573
597
  /*assetsurl*/
574
598
  s[1]
575
599
  ), r[0] & /*translationurl*/
576
- 4 && N(
600
+ 4 && A(
577
601
  e,
578
602
  "translationurl",
579
603
  /*translationurl*/
580
604
  s[2]
581
605
  ), r[0] & /*clientstylingurl*/
582
- 32 && N(
606
+ 32 && A(
583
607
  e,
584
608
  "clientstylingurl",
585
609
  /*clientstylingurl*/
586
610
  s[5]
587
611
  ), r[0] & /*clientstyling*/
588
- 16 && N(
612
+ 16 && A(
589
613
  e,
590
614
  "clientstyling",
591
615
  /*clientstyling*/
592
616
  s[4]
593
617
  ), r[0] & /*mbsource*/
594
- 8 && N(
618
+ 8 && A(
595
619
  e,
596
620
  "mbsource",
597
621
  /*mbsource*/
@@ -606,66 +630,66 @@ function Ve(t) {
606
630
  function Pt(t) {
607
631
  let e, o, n = (
608
632
  /*isDataLoaded*/
609
- t[14] && Ue(t)
633
+ t[14] && He(t)
610
634
  ), s = (
611
635
  /*errorMessage*/
612
- t[12] && Ve(t)
636
+ t[12] && Ye(t)
613
637
  );
614
638
  return {
615
639
  c() {
616
- n && n.c(), e = P(), s && s.c(), o = Xe();
640
+ n && n.c(), e = P(), s && s.c(), o = Ve();
617
641
  },
618
642
  m(r, l) {
619
643
  n && n.m(r, l), x(r, e, l), s && s.m(r, l), x(r, o, l);
620
644
  },
621
645
  p(r, l) {
622
646
  /*isDataLoaded*/
623
- r[14] ? n ? n.p(r, l) : (n = Ue(r), n.c(), n.m(e.parentNode, e)) : n && (n.d(1), n = null), /*errorMessage*/
624
- r[12] ? s ? s.p(r, l) : (s = Ve(r), s.c(), s.m(o.parentNode, o)) : s && (s.d(1), s = null);
647
+ r[14] ? n ? n.p(r, l) : (n = He(r), n.c(), n.m(e.parentNode, e)) : n && (n.d(1), n = null), /*errorMessage*/
648
+ r[12] ? s ? s.p(r, l) : (s = Ye(r), s.c(), s.m(o.parentNode, o)) : s && (s.d(1), s = null);
625
649
  },
626
- i: Ne,
627
- o: Ne,
650
+ i: Ae,
651
+ o: Ae,
628
652
  d(r) {
629
653
  r && (z(e), z(o)), n && n.d(r), s && s.d(r);
630
654
  }
631
655
  };
632
656
  }
633
- const Et = "PaymentPromotion", Dt = () => {
657
+ const Et = "PaymentPromotion", Tt = () => {
634
658
  };
635
- function Tt(t, e, o) {
659
+ function Dt(t, e, o) {
636
660
  let n, s, r;
637
- Ae(t, wt, (i) => o(17, s = i)), Ae(t, Ie, (i) => o(42, r = i)), ze.extend(ct);
638
- 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: I } = e, { translationurl: q = "" } = e, { mbsource: j } = e, { clientstyling: F } = e, { clientstylingurl: O } = e, { currencydecimals: U = "0" } = e, { currencysymbol: Z = "" } = e, { currencyposition: ee = "" } = e, { promotedmethods: G = "false" } = e, { type: te } = e, { userroles: B = "" } = e, H, K = {}, T, ce, oe = window.navigator.userAgent, S = [], Y, V = "", k = [], Q = [], b = "", v, M = !0, de = !1, ne = !1, ie = [];
661
+ Ne(t, wt, (i) => o(17, s = i)), Ne(t, Ie, (i) => o(42, r = i)), ze.extend(ct);
662
+ let { lang: l = "en" } = e, { local: d = "en-US" } = e, { endpoint: u } = e, { paymentsession: m } = e, { playersession: c } = e, { customerid: g } = e, { assetsurl: V } = e, { currency: Z } = e, { numberofmethodsshown: I } = e, { translationurl: G = "" } = e, { mbsource: j } = e, { clientstyling: F } = e, { clientstylingurl: R } = e, { currencydecimals: H = "0" } = e, { currencysymbol: J = "" } = e, { currencyposition: ee = "" } = e, { promotedmethods: q = "false" } = e, { type: te } = e, { userroles: B = "" } = e, U, K = {}, D, ce, oe = window.navigator.userAgent, S = [], X, Y = "", k = [], Q = [], b = "", v, M = !0, de = !1, ne = !1, ie = [];
639
663
  var se;
640
664
  (function(i) {
641
665
  i.PlayerSessionIsNotValid = "PlayerSessionIsNotValid", i.Success = "Success", i.JwtTokenError = "JwtTokenError";
642
666
  })(se || (se = {}));
643
667
  const ue = () => {
644
- let i = q;
668
+ let i = G;
645
669
  if (i)
646
670
  return fetch(i).then((p) => p.json()).then((p) => {
647
- Object.keys(p).forEach((R) => {
648
- Oe(R, p[R]);
671
+ Object.keys(p).forEach((O) => {
672
+ Re(O, p[O]);
649
673
  });
650
674
  }).catch((p) => {
651
675
  console.log(p);
652
676
  });
653
677
  };
654
- Object.keys(Re).forEach((i) => {
655
- Oe(i, Re[i]);
678
+ Object.keys(Oe).forEach((i) => {
679
+ Re(i, Oe[i]);
656
680
  });
657
681
  const fe = () => {
658
682
  _t(l);
659
683
  }, he = (i) => {
660
684
  r && ge(i);
661
685
  }, ge = (i) => {
662
- const { currency: p } = i, y = H !== void 0 && H !== p ? "MetadataLoading" : "DataLoading";
663
- H = p, window.postMessage({ type: y, isDataLoaded: !1 }, window.location.href);
664
- const L = new URL(`${u}/v2/player/${g}/payment/GetPaymentMetadata`), A = new Headers();
665
- A.append("accept", "application/json"), A.append("Content-Type", "application/json"), A.append("X-Client-Request-Timestamp", ze.utc().format("YYYY-MM-DD HH:mm:ss.SSS")), A.append("X-SessionId", `${c}`), A.append("X-Payment-Session-Token", `${m || r}`), ie.indexOf("MM_CHANNEL_BETA") != -1 && A.append("MM_CHANNEL", "BETA");
686
+ const { currency: p } = i, y = U !== void 0 && U !== p ? "MetadataLoading" : "DataLoading";
687
+ U = p, window.postMessage({ type: y, isDataLoaded: !1 }, window.location.href);
688
+ const L = new URL(`${u}/v2/player/${g}/payment/GetPaymentMetadata`), N = new Headers();
689
+ N.append("accept", "application/json"), N.append("Content-Type", "application/json"), N.append("X-Client-Request-Timestamp", ze.utc().format("YYYY-MM-DD HH:mm:ss.SSS")), N.append("X-SessionId", `${c}`), N.append("X-Payment-Session-Token", `${m || r}`), ie.indexOf("MM_CHANNEL_BETA") != -1 && N.append("MM_CHANNEL", "BETA");
666
690
  const W = {
667
691
  method: "POST",
668
- headers: A,
692
+ headers: N,
669
693
  mode: "cors",
670
694
  body: JSON.stringify(Ce(ke({}, p && { Currency: p }), {
671
695
  Tags: { UserAgent: window.navigator.userAgent }
@@ -690,7 +714,7 @@ function Tt(t, e, o) {
690
714
  promotedPaymentMethods: Q
691
715
  },
692
716
  window.location.href
693
- ), o(10, V = I && +I > 0 && S.length > +I ? s("showAll") : ""), o(11, k = V ? S.slice(0, +I) : S), G == "false" && o(11, k = k.sort((Ee, De) => Ee.isMethodPromoted && !De.isMethodPromoted ? -1 : !Ee.isMethodPromoted && De.isMethodPromoted ? 1 : 0)), o(15, ne = !k.length), window.postMessage(
717
+ ), o(10, Y = I && +I > 0 && S.length > +I ? s("showAll") : ""), o(11, k = Y ? S.slice(0, +I) : S), q == "false" && o(11, k = k.sort((Ee, Te) => Ee.isMethodPromoted && !Te.isMethodPromoted ? -1 : !Ee.isMethodPromoted && Te.isMethodPromoted ? 1 : 0)), o(15, ne = !k.length), window.postMessage(
694
718
  {
695
719
  type: "StartSessionCountdown",
696
720
  paymentMethodName: S[0].Name
@@ -702,10 +726,10 @@ function Tt(t, e, o) {
702
726
  });
703
727
  }, pe = (i) => {
704
728
  const p = [];
705
- return Q = [], i.PaymentMethods.Ordering.DefaultPaymentMethodsOrder.forEach((R) => {
706
- const y = i.PaymentMethods.PaymentMethods.find((L) => L.Name === R);
729
+ return Q = [], i.PaymentMethods.Ordering.DefaultPaymentMethodsOrder.forEach((O) => {
730
+ const y = i.PaymentMethods.PaymentMethods.find((L) => L.Name === O);
707
731
  if (y) {
708
- const L = (y == null ? void 0 : y.Logos.find((C) => C.LogoType === "Desktop")) || {}, A = (y == null ? void 0 : y.Logos.find((C) => C.LogoType === "Mobile")) || {}, W = M ? L : A;
732
+ const L = (y == null ? void 0 : y.Logos.find((C) => C.LogoType === "Desktop")) || {}, N = (y == null ? void 0 : y.Logos.find((C) => C.LogoType === "Mobile")) || {}, W = M ? L : N;
709
733
  y.isMethodPromoted = le(y.Tags), y.LogoUrl = W.LogoUrl ? `https:${W.LogoUrl}` : "", y.isMethodPromoted && Q.push(y), p.push(y);
710
734
  }
711
735
  }), p;
@@ -713,13 +737,13 @@ function Tt(t, e, o) {
713
737
  const p = i.PaymentMethods.PaymentMethods.map((L) => Ce(ke({}, L), {
714
738
  isMethodPromoted: le(L.Tags),
715
739
  LogoUrl: L.Logos && L.Logos.length && L.Logos[0].LogoUrl ? `https:${L.Logos[0].LogoUrl}` : ""
716
- })), [R, y] = p.reduce(
717
- ([L, A], W) => (W && W.isMethodPromoted ? L.push(W) : A.promo(W), [L, A]),
740
+ })), [O, y] = p.reduce(
741
+ ([L, N], W) => (W && W.isMethodPromoted ? L.push(W) : N.promo(W), [L, N]),
718
742
  [[], []]
719
743
  );
720
- return Q = R, y;
744
+ return Q = O, y;
721
745
  }, _ = (i) => {
722
- o(9, Y = i.Name), window.postMessage({ type: "SelectPayMeth", details: i }, window.location.href), dispatchEvent(new CustomEvent(
746
+ o(9, X = i.Name), window.postMessage({ type: "SelectPayMeth", details: i }, window.location.href), dispatchEvent(new CustomEvent(
723
747
  "selectPayMeth",
724
748
  {
725
749
  detail: i,
@@ -741,54 +765,54 @@ function Tt(t, e, o) {
741
765
  }, re = () => {
742
766
  k == S ? be() : Me();
743
767
  }, Me = () => {
744
- o(11, k = S), o(10, V = s("showLess"));
768
+ o(11, k = S), o(10, Y = s("showLess"));
745
769
  }, be = () => {
746
- o(11, k = S.slice(0, +I)), Y && !k.find((i) => i.Name === Y) && k.splice(0, 0, S.find((i) => i.Name === Y)), o(10, V = s("showAll"));
770
+ o(11, k = S.slice(0, +I)), X && !k.find((i) => i.Name === X) && k.splice(0, 0, S.find((i) => i.Name === X)), o(10, Y = s("showAll"));
747
771
  }, le = (i) => i && i.split(",").some((p) => p === Et), ae = (i) => {
748
- var R;
772
+ var O;
749
773
  const { data: { type: p } = {} } = i || {};
750
774
  switch (p) {
751
775
  case "PrecisionCurrenciesMap": {
752
- o(8, K = ((R = i == null ? void 0 : i.data) == null ? void 0 : R.payload) || {});
776
+ o(8, K = ((O = i == null ? void 0 : i.data) == null ? void 0 : O.payload) || {});
753
777
  break;
754
778
  }
755
779
  }
756
780
  }, ve = () => {
757
781
  B.length > 0 && (ie = B.split(","));
758
782
  };
759
- dt(() => (we(), ut(d, Z, ee, U), window.postMessage({ type: "CashierMethodsListReady" }, window.location.href), window.addEventListener("message", ae), () => {
783
+ dt(() => (we(), ut(d, J, ee, H), window.postMessage({ type: "CashierMethodsListReady" }, window.location.href), window.addEventListener("message", ae), () => {
760
784
  window.removeEventListener("message", ae);
761
785
  }));
762
- const Je = (i) => _(i), Ze = () => re();
786
+ const Ze = (i) => _(i), Je = () => re();
763
787
  function Ke(i) {
764
788
  ht[i ? "unshift" : "push"](() => {
765
- T = i, o(7, T);
789
+ D = i, o(7, D);
766
790
  });
767
791
  }
768
792
  return t.$$set = (i) => {
769
- "lang" in i && o(0, l = i.lang), "local" in i && o(20, d = i.local), "endpoint" in i && o(21, u = i.endpoint), "paymentsession" in i && o(22, m = i.paymentsession), "playersession" in i && o(23, c = i.playersession), "customerid" in i && o(24, g = i.customerid), "assetsurl" in i && o(1, X = i.assetsurl), "currency" in i && o(25, J = i.currency), "numberofmethodsshown" in i && o(26, I = i.numberofmethodsshown), "translationurl" in i && o(2, q = i.translationurl), "mbsource" in i && o(3, j = i.mbsource), "clientstyling" in i && o(4, F = i.clientstyling), "clientstylingurl" in i && o(5, O = i.clientstylingurl), "currencydecimals" in i && o(27, U = i.currencydecimals), "currencysymbol" in i && o(28, Z = i.currencysymbol), "currencyposition" in i && o(29, ee = i.currencyposition), "promotedmethods" in i && o(30, G = i.promotedmethods), "type" in i && o(6, te = i.type), "userroles" in i && o(31, B = i.userroles);
793
+ "lang" in i && o(0, l = i.lang), "local" in i && o(20, d = i.local), "endpoint" in i && o(21, u = i.endpoint), "paymentsession" in i && o(22, m = i.paymentsession), "playersession" in i && o(23, c = i.playersession), "customerid" in i && o(24, g = i.customerid), "assetsurl" in i && o(1, V = i.assetsurl), "currency" in i && o(25, Z = i.currency), "numberofmethodsshown" in i && o(26, I = i.numberofmethodsshown), "translationurl" in i && o(2, G = i.translationurl), "mbsource" in i && o(3, j = i.mbsource), "clientstyling" in i && o(4, F = i.clientstyling), "clientstylingurl" in i && o(5, R = i.clientstylingurl), "currencydecimals" in i && o(27, H = i.currencydecimals), "currencysymbol" in i && o(28, J = i.currencysymbol), "currencyposition" in i && o(29, ee = i.currencyposition), "promotedmethods" in i && o(30, q = i.promotedmethods), "type" in i && o(6, te = i.type), "userroles" in i && o(31, B = i.userroles);
770
794
  }, t.$$.update = () => {
771
795
  t.$$.dirty[1] & /*userroles*/
772
796
  1 && B && ve(), t.$$.dirty[0] & /*endpoint, paymentsession, customerid, currency*/
773
- 56623104 && u && !m && g && he({ currency: J }), t.$$.dirty[0] & /*lang*/
797
+ 56623104 && u && !m && g && he({ currency: Z }), t.$$.dirty[0] & /*lang*/
774
798
  1 && l && fe(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
775
- 144 && F && T && Mt(T, F), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
776
- 160 && O && T && bt(T, O), t.$$.dirty[0] & /*mbsource, customStylingContainer*/
777
- 136 && j && T && vt(T, `${j}.Style`, ce), t.$$.dirty[0] & /*lang, translationurl*/
778
- 5 && l && q && ue(), t.$$.dirty[0] & /*currencydecimals*/
779
- 134217728 && o(16, n = Number(U));
799
+ 144 && F && D && Mt(D, F), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
800
+ 160 && R && D && bt(D, R), t.$$.dirty[0] & /*mbsource, customStylingContainer*/
801
+ 136 && j && D && vt(D, `${j}.Style`, ce), t.$$.dirty[0] & /*lang, translationurl*/
802
+ 5 && l && G && ue(), t.$$.dirty[0] & /*currencydecimals*/
803
+ 134217728 && o(16, n = Number(H));
780
804
  }, [
781
805
  l,
782
- X,
783
- q,
806
+ V,
807
+ G,
784
808
  j,
785
809
  F,
786
- O,
810
+ R,
787
811
  te,
788
- T,
812
+ D,
789
813
  K,
814
+ X,
790
815
  Y,
791
- V,
792
816
  k,
793
817
  b,
794
818
  M,
@@ -803,15 +827,15 @@ function Tt(t, e, o) {
803
827
  m,
804
828
  c,
805
829
  g,
806
- J,
807
- I,
808
- U,
809
830
  Z,
831
+ I,
832
+ H,
833
+ J,
810
834
  ee,
811
- G,
835
+ q,
812
836
  B,
813
- Je,
814
837
  Ze,
838
+ Je,
815
839
  Ke
816
840
  ];
817
841
  }
@@ -820,7 +844,7 @@ class St extends rt {
820
844
  super(), lt(
821
845
  this,
822
846
  e,
823
- Tt,
847
+ Dt,
824
848
  Pt,
825
849
  at,
826
850
  {