@everymatrix/cashier-page 1.85.20 → 1.85.22

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 (68) hide show
  1. package/components/{CashierCarousel-Cf2c1vPp.js → CashierCarousel-BNKjZ4dF.js} +427 -441
  2. package/components/{CashierCarousel-DHmjrgBC.cjs → CashierCarousel-CecQbbdW.cjs} +6 -6
  3. package/components/{CashierCarousel-CsnmOP94.js → CashierCarousel-D8MiOwuE.js} +434 -448
  4. package/components/{CashierError-BDmChuIE.js → CashierError-BwZRYX5r.js} +1 -1
  5. package/components/{CashierError-CLWqWwfU.cjs → CashierError-DFQyDQHn.cjs} +1 -1
  6. package/components/{CashierError-BIiEXbdF.js → CashierError-kVdNczE9.js} +1 -1
  7. package/components/CashierHeader-B3b8zbwP.cjs +1 -0
  8. package/components/{CashierHeader-Dd5b4-yJ.js → CashierHeader-B9Y-DaUB.js} +40 -47
  9. package/components/{CashierHeader-Cecv5g56.js → CashierHeader-CzpZDjFX.js} +40 -47
  10. package/components/{CashierIframeRedirect-DMYVav-v.js → CashierIframeRedirect-B_A79AFN.js} +31 -40
  11. package/components/CashierIframeRedirect-YYamzRsf.cjs +1 -0
  12. package/components/{CashierIframeRedirect-reE-yTgQ.js → CashierIframeRedirect-aTaiu0hG.js} +31 -40
  13. package/components/{CashierMethodDetails-CmGkz8Gs.js → CashierMethodDetails--Ebwn4lg.js} +266 -278
  14. package/components/{CashierMethodDetails-a7w2Fpuk.cjs → CashierMethodDetails-D3OcsUSC.cjs} +4 -4
  15. package/components/{CashierMethodDetails-BUp0OXBg.js → CashierMethodDetails-E1XQT_gz.js} +320 -332
  16. package/components/CashierMethodsList-BCfPOiPQ.cjs +1 -0
  17. package/components/{CashierMethodsList-8-1C80wc.js → CashierMethodsList-ByGJLq8_.js} +168 -184
  18. package/components/{CashierMethodsList-CtDIeDD9.js → CashierMethodsList-D5p1ksRs.js} +133 -149
  19. package/components/CashierModal-BE9c03E8.js +366 -0
  20. package/components/CashierModal-Diij1t-w.cjs +1 -0
  21. package/components/CashierModal-R6fQk7sI.js +382 -0
  22. package/components/{CashierNotifications-BVUb_REU.js → CashierNotifications-5EjGguMj.js} +1 -1
  23. package/components/{CashierNotifications-DdrhkPqp.cjs → CashierNotifications-kuNLTOB3.cjs} +1 -1
  24. package/components/{CashierNotifications-COlT367w.js → CashierNotifications-mhDeZtGd.js} +1 -1
  25. package/components/CashierPage-BOXcdzek.js +3958 -0
  26. package/components/{CashierPage-BSaar2I5.js → CashierPage-DSBg3R7m.js} +1204 -1095
  27. package/components/CashierPage-DSwyNlUe.cjs +1 -0
  28. package/components/{CashierReceiptPage-C_ThGHj9.js → CashierReceiptPage-DLHbUzv0.js} +576 -727
  29. package/components/CashierReceiptPage-DW63yTeU.cjs +28 -0
  30. package/components/{CashierReceiptPage-Sbqf6VFD.js → CashierReceiptPage-DWJG1k-S.js} +593 -744
  31. package/components/CashierSessionExpirationModal-CeesVv0R.js +1181 -0
  32. package/components/CashierSessionExpirationModal-Di0jBCa7.cjs +2 -0
  33. package/components/CashierSessionExpirationModal-Dk8_yCxM.js +1181 -0
  34. package/components/{CashierSpinner-BQWOaYce.js → CashierSpinner-CYSebSGZ.js} +1 -1
  35. package/components/{CashierSpinner-DZSuVNPM.js → CashierSpinner-DIyI0RD1.js} +1 -1
  36. package/components/{CashierSpinner-D5McPkCt.cjs → CashierSpinner-DVLxgI0s.cjs} +1 -1
  37. package/components/{CashierStepUp-sBUhsV5t.js → CashierStepUp-BA2IK4WI.js} +1 -1
  38. package/components/{CashierStepUp-DyfuU9cc.js → CashierStepUp-CSkfphtu.js} +1 -1
  39. package/components/{CashierStepUp-DWd3cylJ.cjs → CashierStepUp-pkLhK-RI.cjs} +1 -1
  40. package/components/{CashierTransactionHistory-B9Jw119p.js → CashierTransactionHistory-DAieZJ7I.js} +5 -5
  41. package/components/{CashierTransactionHistory-C_hM5qDU.js → CashierTransactionHistory-DZS6p6Wq.js} +43 -43
  42. package/components/{CashierTransactionHistory-C6HNHDcy.cjs → CashierTransactionHistory-dL_Zbx6y.cjs} +1 -1
  43. package/components/{CashierVerifications-B-GmoVz-.js → CashierVerifications-63wvOw6D.js} +112 -131
  44. package/components/{CashierVerifications-D3ppfphF.js → CashierVerifications-B6QC6J6G.js} +109 -128
  45. package/components/CashierVerifications-BhbImoKx.cjs +1 -0
  46. package/components/{TxnStatusIcon-ty2g5_He.js → TxnStatusIcon-CpJJHtXq.js} +1 -1
  47. package/components/{TxnStatusIcon-BhtPQm1B.cjs → TxnStatusIcon-DuWdYaRx.cjs} +1 -1
  48. package/components/{TxnStatusIcon-DMKCkAXd.js → TxnStatusIcon-Krgh5oF3.js} +1 -1
  49. package/components/{TxnTypeIcons-B5CYl9NW.js → TxnTypeIcons-Az6Gbxxw.js} +1 -1
  50. package/components/{TxnTypeIcons-D_bSXM7r.js → TxnTypeIcons-Bvy6NVGO.js} +1 -1
  51. package/components/{TxnTypeIcons-CyHXLkXz.cjs → TxnTypeIcons-iU9VGsWs.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/CashierHeader-CP7RROYr.cjs +0 -1
  57. package/components/CashierIframeRedirect-BXrhvi-f.cjs +0 -1
  58. package/components/CashierMethodsList-C97If7sq.cjs +0 -1
  59. package/components/CashierModal-C-jze_SD.js +0 -342
  60. package/components/CashierModal-DVeVHCTj.cjs +0 -1
  61. package/components/CashierModal-Dclaqxyx.js +0 -358
  62. package/components/CashierPage-B0EP4g6U.cjs +0 -1
  63. package/components/CashierPage-Iwp2vIzz.js +0 -3849
  64. package/components/CashierReceiptPage-DKQ1TT5R.cjs +0 -26
  65. package/components/CashierSessionExpirationModal-BfNtR7tc.cjs +0 -2
  66. package/components/CashierSessionExpirationModal-BhIHw0Dn.js +0 -1184
  67. package/components/CashierSessionExpirationModal-Se0WGHHJ.js +0 -1184
  68. package/components/CashierVerifications-P5L5SY5e.cjs +0 -1
@@ -1,18 +1,18 @@
1
- var Ie = Object.defineProperty, He = Object.defineProperties;
2
- var Re = Object.getOwnPropertyDescriptors;
1
+ var Re = Object.defineProperty, We = Object.defineProperties;
2
+ var Fe = Object.getOwnPropertyDescriptors;
3
3
  var ye = Object.getOwnPropertySymbols;
4
- var Fe = Object.prototype.hasOwnProperty, Ye = Object.prototype.propertyIsEnumerable;
5
- var we = (t, e, s) => e in t ? Ie(t, e, { enumerable: !0, configurable: !0, writable: !0, value: s }) : t[e] = s, Me = (t, e) => {
4
+ var He = Object.prototype.hasOwnProperty, Ye = Object.prototype.propertyIsEnumerable;
5
+ var we = (t, e, s) => e in t ? Re(t, e, { enumerable: !0, configurable: !0, writable: !0, value: s }) : t[e] = s, be = (t, e) => {
6
6
  for (var s in e || (e = {}))
7
- Fe.call(e, s) && we(t, s, e[s]);
7
+ He.call(e, s) && we(t, s, e[s]);
8
8
  if (ye)
9
9
  for (var s of ye(e))
10
10
  Ye.call(e, s) && we(t, s, e[s]);
11
11
  return t;
12
- }, be = (t, e) => He(t, Re(e));
13
- import { a as qe, i as Be, $ as Ge, S as Xe, b as Je, s as Ve, f as b, c as Ke, G as _e, e as z, k as O, n as P, r as Oe, p as Le, q as Ze, O as Qe, l as c, m as y, o as p, v as D, A as v, w as C, N as $e, y as et, x as fe, W as ue, Y as ve, a4 as tt, U as de, a0 as st, z as ke, B as ot, C as nt, D as it, E as rt, F as lt } from "./CashierCarousel-CsnmOP94.js";
14
- import { d as Ce, u as at, x as Se } from "./CashierMethodDetails-BUp0OXBg.js";
15
- function xe(t, e) {
12
+ }, Me = (t, e) => We(t, Fe(e));
13
+ import { a as qe, i as Be, $ as Ge, S as Xe, b as Je, s as Ve, f as M, c as Ke, G as _e, e as A, k as O, n as P, r as Oe, p as Le, q as Ze, O as Qe, l as c, m as y, o as p, v as x, A as v, w as C, N as $e, y as et, x as he, W as ue, Y as ve, a4 as tt, U as de, a0 as st, z as ke, B as ot, C as nt, D as it, E as rt, F as lt } from "./CashierCarousel-D8MiOwuE.js";
14
+ import { d as Ce, u as at, x as De } from "./CashierMethodDetails-E1XQT_gz.js";
15
+ function Se(t, e) {
16
16
  qe(t, e);
17
17
  }
18
18
  function ct(t) {
@@ -20,7 +20,7 @@ function ct(t) {
20
20
  fallbackLocale: "en"
21
21
  }), Ge.set(t);
22
22
  }
23
- const De = {
23
+ const xe = {
24
24
  en: {
25
25
  generalMin: "Min",
26
26
  generalMax: "Max",
@@ -32,16 +32,6 @@ const De = {
32
32
  otherMethodsTitle: "All Methods",
33
33
  otherMethodsDescription: "Discover our incredible selection of unique products that you won't want to miss!"
34
34
  },
35
- uk: {
36
- generalMin: "Мін",
37
- generalMax: "Макс"
38
- },
39
- hr: {
40
- generalMin: "Minimalno",
41
- generalMax: "Maksimalno",
42
- showAll: "Prikaži sve",
43
- showLess: "Prikaži manje"
44
- },
45
35
  tr: {
46
36
  generalMin: "Min",
47
37
  generalMax: "Maks",
@@ -52,12 +42,6 @@ const De = {
52
42
  promoLabel: "Favori",
53
43
  otherMethodsTitle: "Tüm Yöntemler",
54
44
  otherMethodsDescription: "Kaçırmak istemeyeceğiniz benzersiz ürünlerimizden oluşan inanılmaz seçkimizi keşfedin!"
55
- },
56
- "en-us": {
57
- generalMin: "Min",
58
- generalMax: "Max",
59
- showAll: "SHOW ALL",
60
- showLess: "SHOW LESS"
61
45
  }
62
46
  };
63
47
  function mt(t) {
@@ -70,7 +54,7 @@ function Pe(t, e, s) {
70
54
  function Ee(t) {
71
55
  let e, s, n, i, r = !/*noPaymentMethodsAvailable*/
72
56
  t[14] && Te(t);
73
- function l(a, f) {
57
+ function l(a, h) {
74
58
  return (
75
59
  /*noPaymentMethodsAvailable*/
76
60
  a[14] && /*isDataLoaded*/
@@ -79,22 +63,22 @@ function Ee(t) {
79
63
  }
80
64
  let u = l(t), d = u(t), m = (
81
65
  /*methodsButtonToggleText*/
82
- t[9] && Ae(t)
66
+ t[9] && ze(t)
83
67
  );
84
68
  return {
85
69
  c() {
86
70
  e = y("div"), r && r.c(), s = P(), n = y("div"), d.c(), i = P(), m && m.c(), p(n, "class", "CashierMethodList"), p(e, "class", "CashierMethodListWidget");
87
71
  },
88
- m(a, f) {
89
- O(a, e, f), r && r.m(e, null), c(e, s), c(e, n), d.m(n, null), c(e, i), m && m.m(e, null), t[31](e);
72
+ m(a, h) {
73
+ O(a, e, h), r && r.m(e, null), c(e, s), c(e, n), d.m(n, null), c(e, i), m && m.m(e, null), t[31](e);
90
74
  },
91
- p(a, f) {
75
+ p(a, h) {
92
76
  /*noPaymentMethodsAvailable*/
93
- a[14] ? r && (r.d(1), r = null) : r ? r.p(a, f) : (r = Te(a), r.c(), r.m(e, s)), u === (u = l(a)) && d ? d.p(a, f) : (d.d(1), d = u(a), d && (d.c(), d.m(n, null))), /*methodsButtonToggleText*/
94
- a[9] ? m ? m.p(a, f) : (m = Ae(a), m.c(), m.m(e, null)) : m && (m.d(1), m = null);
77
+ a[14] ? r && (r.d(1), r = null) : r ? r.p(a, h) : (r = Te(a), r.c(), r.m(e, s)), u === (u = l(a)) && d ? d.p(a, h) : (d.d(1), d = u(a), d && (d.c(), d.m(n, null))), /*methodsButtonToggleText*/
78
+ a[9] ? m ? m.p(a, h) : (m = ze(a), m.c(), m.m(e, null)) : m && (m.d(1), m = null);
95
79
  },
96
80
  d(a) {
97
- a && z(e), r && r.d(), d.d(), m && m.d(), t[31](null);
81
+ a && A(e), r && r.d(), d.d(), m && m.d(), t[31](null);
98
82
  }
99
83
  };
100
84
  }
@@ -116,12 +100,12 @@ function Te(t) {
116
100
  p(m, a) {
117
101
  a[0] & /*$_*/
118
102
  65536 && n !== (n = /*$_*/
119
- m[16]("otherMethodsTitle") + "") && D(i, n), a[0] & /*$_*/
103
+ m[16]("otherMethodsTitle") + "") && x(i, n), a[0] & /*$_*/
120
104
  65536 && u !== (u = /*$_*/
121
- m[16]("otherMethodsDescription") + "") && D(d, u);
105
+ m[16]("otherMethodsDescription") + "") && x(d, u);
122
106
  },
123
107
  d(m) {
124
- m && z(e);
108
+ m && A(e);
125
109
  }
126
110
  };
127
111
  }
@@ -161,7 +145,7 @@ function dt(t) {
161
145
  }
162
146
  },
163
147
  d(i) {
164
- i && z(e), tt(n, i);
148
+ i && A(e), tt(n, i);
165
149
  }
166
150
  };
167
151
  }
@@ -182,15 +166,15 @@ function ut(t) {
182
166
  t[12]
183
167
  );
184
168
  },
185
- m(a, f) {
186
- O(a, e, f), c(e, s), c(s, n), c(n, r), c(s, l), c(s, u), c(u, m);
169
+ m(a, h) {
170
+ O(a, e, h), c(e, s), c(s, n), c(n, r), c(s, l), c(s, u), c(u, m);
187
171
  },
188
- p(a, f) {
189
- f[0] & /*$_*/
172
+ p(a, h) {
173
+ h[0] & /*$_*/
190
174
  65536 && i !== (i = /*$_*/
191
- a[16]("error") + "") && D(r, i), f[0] & /*$_*/
175
+ a[16]("error") + "") && x(r, i), h[0] & /*$_*/
192
176
  65536 && d !== (d = /*$_*/
193
- a[16]("noPaymentMethods") + "") && D(m, d), f[0] & /*desktopView*/
177
+ a[16]("noPaymentMethods") + "") && x(m, d), h[0] & /*desktopView*/
194
178
  4096 && ue(
195
179
  e,
196
180
  "EmptyContentMessageDesktop",
@@ -199,20 +183,20 @@ function ut(t) {
199
183
  );
200
184
  },
201
185
  d(a) {
202
- a && z(e);
186
+ a && A(e);
203
187
  }
204
188
  };
205
189
  }
206
190
  function Ne(t) {
207
- var Z, Q, J, H, $, V, se, oe;
191
+ var Z, Q, J, W, $, V, se, oe;
208
192
  let e, s, n, i, r, l, u, d, m, a = (
209
193
  /*payMeth*/
210
194
  (t[52].Label || /*payMeth*/
211
195
  t[52].Name) + ""
212
- ), f, K, E, M, T = (
196
+ ), h, K, E, b, T = (
213
197
  /*$_*/
214
198
  t[16]("generalMin") + ""
215
- ), U, R, N = de(
199
+ ), U, F, N = de(
216
200
  /*payMeth*/
217
201
  t[52].DisplayCurrency.MinAmountLimit,
218
202
  /*payMeth*/
@@ -230,12 +214,12 @@ function Ne(t) {
230
214
  /*precisionCurrenciesMap*/
231
215
  t[7][
232
216
  /*payMeth*/
233
- (H = (J = t[52]) == null ? void 0 : J.DisplayCurrency) == null ? void 0 : H.Name
217
+ (W = (J = t[52]) == null ? void 0 : J.DisplayCurrency) == null ? void 0 : W.Name
234
218
  ] || /*numericCurrencyDecimals*/
235
219
  t[15]
236
220
  )
237
221
  }
238
- ) + "", W, q, j = (
222
+ ) + "", I, q, j = (
239
223
  /*$_*/
240
224
  t[16]("generalMax") + ""
241
225
  ), B, k, G = de(
@@ -261,7 +245,7 @@ function Ne(t) {
261
245
  t[15]
262
246
  )
263
247
  }
264
- ) + "", _, I, A, S;
248
+ ) + "", _, R, z, D;
265
249
  function X() {
266
250
  return (
267
251
  /*click_handler*/
@@ -273,9 +257,9 @@ function Ne(t) {
273
257
  }
274
258
  return {
275
259
  c() {
276
- e = y("div"), s = y("div"), n = y("img"), l = P(), u = y("div"), d = y("div"), m = y("span"), f = C(a), K = P(), E = y("div"), M = y("span"), U = C(T), R = P(), W = C(N), q = C(" / "), B = C(j), k = P(), _ = C(G), I = P(), ke(n.src, i = /*payMeth*/
260
+ e = y("div"), s = y("div"), n = y("img"), l = P(), u = y("div"), d = y("div"), m = y("span"), h = C(a), K = P(), E = y("div"), b = y("span"), U = C(T), F = P(), I = C(N), q = C(" / "), B = C(j), k = P(), _ = C(G), R = P(), ke(n.src, i = /*payMeth*/
277
261
  t[52].LogoUrl) || p(n, "src", i), p(n, "alt", r = /*payMeth*/
278
- t[52].Label), p(s, "class", "MethodLogo"), p(d, "class", "MethodTitle"), p(M, "class", "Limits"), p(E, "class", "MethodLimits"), p(u, "class", "MethodInfo"), p(e, "class", "SelectorWrapper"), ue(
262
+ t[52].Label), p(s, "class", "MethodLogo"), p(d, "class", "MethodTitle"), p(b, "class", "Limits"), p(E, "class", "MethodLimits"), p(u, "class", "MethodInfo"), p(e, "class", "SelectorWrapper"), ue(
279
263
  e,
280
264
  "checked",
281
265
  /*selectedPaymentMethod*/
@@ -283,24 +267,24 @@ function Ne(t) {
283
267
  t[52].Name
284
268
  );
285
269
  },
286
- m(F, L) {
287
- O(F, e, L), c(e, s), c(s, n), c(e, l), c(e, u), c(u, d), c(d, m), c(m, f), c(u, K), c(u, E), c(E, M), c(M, U), c(M, R), c(M, W), c(M, q), c(M, B), c(M, k), c(M, _), c(e, I), A || (S = [
288
- fe(e, "click", X),
289
- fe(e, "keyup", gt)
290
- ], A = !0);
270
+ m(H, L) {
271
+ O(H, e, L), c(e, s), c(s, n), c(e, l), c(e, u), c(u, d), c(d, m), c(m, h), c(u, K), c(u, E), c(E, b), c(b, U), c(b, F), c(b, I), c(b, q), c(b, B), c(b, k), c(b, _), c(e, R), z || (D = [
272
+ he(e, "click", X),
273
+ he(e, "keyup", gt)
274
+ ], z = !0);
291
275
  },
292
- p(F, L) {
276
+ p(H, L) {
293
277
  var ne, ie, ee, re, le, te, ae, ce;
294
- t = F, L[0] & /*paymentMethodsToShow*/
278
+ t = H, L[0] & /*paymentMethodsToShow*/
295
279
  1024 && !ke(n.src, i = /*payMeth*/
296
280
  t[52].LogoUrl) && p(n, "src", i), L[0] & /*paymentMethodsToShow*/
297
281
  1024 && r !== (r = /*payMeth*/
298
282
  t[52].Label) && p(n, "alt", r), L[0] & /*paymentMethodsToShow*/
299
283
  1024 && a !== (a = /*payMeth*/
300
284
  (t[52].Label || /*payMeth*/
301
- t[52].Name) + "") && D(f, a), L[0] & /*$_*/
285
+ t[52].Name) + "") && x(h, a), L[0] & /*$_*/
302
286
  65536 && T !== (T = /*$_*/
303
- t[16]("generalMin") + "") && D(U, T), L[0] & /*paymentMethodsToShow, precisionCurrenciesMap, numericCurrencyDecimals*/
287
+ t[16]("generalMin") + "") && x(U, T), L[0] & /*paymentMethodsToShow, precisionCurrenciesMap, numericCurrencyDecimals*/
304
288
  33920 && N !== (N = de(
305
289
  /*payMeth*/
306
290
  t[52].DisplayCurrency.MinAmountLimit,
@@ -324,9 +308,9 @@ function Ne(t) {
324
308
  t[15]
325
309
  )
326
310
  }
327
- ) + "") && D(W, N), L[0] & /*$_*/
311
+ ) + "") && x(I, N), L[0] & /*$_*/
328
312
  65536 && j !== (j = /*$_*/
329
- t[16]("generalMax") + "") && D(B, j), L[0] & /*paymentMethodsToShow, precisionCurrenciesMap, numericCurrencyDecimals*/
313
+ t[16]("generalMax") + "") && x(B, j), L[0] & /*paymentMethodsToShow, precisionCurrenciesMap, numericCurrencyDecimals*/
330
314
  33920 && G !== (G = de(
331
315
  /*payMeth*/
332
316
  t[52].DisplayCurrency.MaxAmountLimit,
@@ -350,7 +334,7 @@ function Ne(t) {
350
334
  t[15]
351
335
  )
352
336
  }
353
- ) + "") && D(_, G), L[0] & /*selectedPaymentMethod, paymentMethodsToShow*/
337
+ ) + "") && x(_, G), L[0] & /*selectedPaymentMethod, paymentMethodsToShow*/
354
338
  1280 && ue(
355
339
  e,
356
340
  "checked",
@@ -359,12 +343,12 @@ function Ne(t) {
359
343
  t[52].Name
360
344
  );
361
345
  },
362
- d(F) {
363
- F && z(e), A = !1, st(S);
346
+ d(H) {
347
+ H && A(e), z = !1, st(D);
364
348
  }
365
349
  };
366
350
  }
367
- function Ae(t) {
351
+ function ze(t) {
368
352
  let e, s, n, i;
369
353
  return {
370
354
  c() {
@@ -374,7 +358,7 @@ function Ae(t) {
374
358
  ), p(e, "class", "ShowAllButton");
375
359
  },
376
360
  m(r, l) {
377
- O(r, e, l), c(e, s), n || (i = fe(
361
+ O(r, e, l), c(e, s), n || (i = he(
378
362
  e,
379
363
  "click",
380
364
  /*click_handler_1*/
@@ -383,18 +367,18 @@ function Ae(t) {
383
367
  },
384
368
  p(r, l) {
385
369
  l[0] & /*methodsButtonToggleText*/
386
- 512 && D(
370
+ 512 && x(
387
371
  s,
388
372
  /*methodsButtonToggleText*/
389
373
  r[9]
390
374
  );
391
375
  },
392
376
  d(r) {
393
- r && z(e), n = !1, i();
377
+ r && A(e), n = !1, i();
394
378
  }
395
379
  };
396
380
  }
397
- function ze(t) {
381
+ function Ae(t) {
398
382
  let e, s, n;
399
383
  return {
400
384
  c() {
@@ -438,7 +422,7 @@ function ze(t) {
438
422
  },
439
423
  p(i, r) {
440
424
  r[0] & /*errorMessage*/
441
- 2048 && D(
425
+ 2048 && x(
442
426
  n,
443
427
  /*errorMessage*/
444
428
  i[11]
@@ -481,17 +465,17 @@ function ze(t) {
481
465
  );
482
466
  },
483
467
  d(i) {
484
- i && z(e);
468
+ i && A(e);
485
469
  }
486
470
  };
487
471
  }
488
- function ht(t) {
472
+ function ft(t) {
489
473
  let e, s, n = (
490
474
  /*isDataLoaded*/
491
475
  t[13] && Ee(t)
492
476
  ), i = (
493
477
  /*errorMessage*/
494
- t[11] && ze(t)
478
+ t[11] && Ae(t)
495
479
  );
496
480
  return {
497
481
  c() {
@@ -503,21 +487,21 @@ function ht(t) {
503
487
  p(r, l) {
504
488
  /*isDataLoaded*/
505
489
  r[13] ? n ? n.p(r, l) : (n = Ee(r), n.c(), n.m(e.parentNode, e)) : n && (n.d(1), n = null), /*errorMessage*/
506
- r[11] ? i ? i.p(r, l) : (i = ze(r), i.c(), i.m(s.parentNode, s)) : i && (i.d(1), i = null);
490
+ r[11] ? i ? i.p(r, l) : (i = Ae(r), i.c(), i.m(s.parentNode, s)) : i && (i.d(1), i = null);
507
491
  },
508
492
  i: _e,
509
493
  o: _e,
510
494
  d(r) {
511
- r && (z(e), z(s)), n && n.d(r), i && i.d(r);
495
+ r && (A(e), A(s)), n && n.d(r), i && i.d(r);
512
496
  }
513
497
  };
514
498
  }
515
- const ft = "PaymentPromotion", gt = () => {
499
+ const ht = "PaymentPromotion", gt = () => {
516
500
  };
517
501
  function pt(t, e, s) {
518
502
  let n, i, r;
519
- Le(t, lt, (o) => s(16, i = o)), Le(t, Se, (o) => s(37, r = o)), Ce.extend(at);
520
- let { lang: l = "en" } = e, { local: u = "en-US" } = e, { endpoint: d } = e, { paymentsession: m } = e, { playersession: a } = e, { customerid: f } = e, { assetsurl: K } = e, { currency: E } = e, { numberofmethodsshown: M } = e, { translationurl: T = "" } = e, { mbsource: U } = e, { clientstyling: R } = e, { clientstylingurl: N } = e, { currencydecimals: W = "2" } = e, { currencysymbol: q = "" } = e, { currencyposition: j = "" } = e, B = {}, k, G = window.navigator.userAgent, _ = [], I, A = "", S = [], X = [], Z = "", Q, J = !0, H = !1, $ = !1;
503
+ Le(t, lt, (o) => s(16, i = o)), Le(t, De, (o) => s(37, r = o)), Ce.extend(at);
504
+ let { lang: l = "en" } = e, { local: u = "en-US" } = e, { endpoint: d } = e, { paymentsession: m } = e, { playersession: a } = e, { customerid: h } = e, { assetsurl: K } = e, { currency: E } = e, { numberofmethodsshown: b } = e, { translationurl: T = "" } = e, { mbsource: U } = e, { clientstyling: F } = e, { clientstylingurl: N } = e, { currencydecimals: I = "0" } = e, { currencysymbol: q = "" } = e, { currencyposition: j = "" } = e, B = {}, k, G = window.navigator.userAgent, _ = [], R, z = "", D = [], X = [], Z = "", Q, J = !0, W = !1, $ = !1;
521
505
  var V;
522
506
  (function(o) {
523
507
  o.PlayerSessionIsNotValid = "PlayerSessionIsNotValid", o.Success = "Success", o.JwtTokenError = "JwtTokenError";
@@ -526,25 +510,25 @@ function pt(t, e, s) {
526
510
  let o = T;
527
511
  if (o)
528
512
  return fetch(o).then((g) => g.json()).then((g) => {
529
- Object.keys(g).forEach((x) => {
530
- xe(x, g[x]);
513
+ Object.keys(g).forEach((S) => {
514
+ Se(S, g[S]);
531
515
  });
532
516
  }).catch((g) => {
533
517
  console.log(g);
534
518
  });
535
519
  };
536
- Object.keys(De).forEach((o) => {
537
- xe(o, De[o]);
520
+ Object.keys(xe).forEach((o) => {
521
+ Se(o, xe[o]);
538
522
  });
539
523
  const oe = () => {
540
524
  ct(l);
541
- }, F = () => {
525
+ }, H = () => {
542
526
  r && L();
543
527
  }, L = () => {
544
- window.postMessage({ type: "DataLoading", isDataLoaded: H });
545
- const o = new URL(`${d}/v2/player/${f}/payment/GetPaymentMetadata`), g = new Headers();
528
+ window.postMessage({ type: "DataLoading", isDataLoaded: W });
529
+ const o = new URL(`${d}/v2/player/${h}/payment/GetPaymentMetadata`), g = new Headers();
546
530
  g.append("accept", "application/json"), g.append("Content-Type", "application/json"), g.append("X-Client-Request-Timestamp", Ce.utc().format("YYYY-MM-DD HH:mm:ss.SSS")), g.append("X-SessionId", `${a}`), g.append("X-Payment-Session-Token", `${m || r}`);
547
- const x = {
531
+ const S = {
548
532
  method: "POST",
549
533
  headers: g,
550
534
  mode: "cors",
@@ -553,55 +537,55 @@ function pt(t, e, s) {
553
537
  Tags: { UserAgent: window.navigator.userAgent }
554
538
  })
555
539
  };
556
- fetch(o, x).then((h) => {
557
- const w = h.headers.get("X-Payment-Session-Token");
558
- return w && Se.set(w), h.json();
559
- }).then((h) => {
540
+ fetch(o, S).then((f) => {
541
+ const w = f.headers.get("X-Payment-Session-Token");
542
+ return w && De.set(w), f.json();
543
+ }).then((f) => {
560
544
  var w;
561
- if (h.error) {
562
- s(11, Z = h.error);
545
+ if (f.error) {
546
+ s(11, Z = f.error);
563
547
  return;
564
548
  }
565
- if (h.ResponseCode !== V.Success) {
566
- Q = h.ResponseCode, re();
549
+ if (f.ResponseCode !== V.Success) {
550
+ Q = f.ResponseCode, re();
567
551
  return;
568
552
  }
569
- _ = (w = h.PaymentMethods) != null && w.Ordering ? ne(h) : ie(h), window.postMessage(
553
+ _ = (w = f.PaymentMethods) != null && w.Ordering ? ne(f) : ie(f), window.postMessage(
570
554
  {
571
555
  type: "PromotedPaymentMethods",
572
556
  promotedPaymentMethods: X
573
557
  },
574
558
  window.location.href
575
- ), s(9, A = M && +M > 0 && _.length > +M ? i("showAll") : ""), s(10, S = A ? _.slice(0, +M) : _), s(14, $ = !S.length), window.postMessage(
559
+ ), s(9, z = b && +b > 0 && _.length > +b ? i("showAll") : ""), s(10, D = z ? _.slice(0, +b) : _), s(14, $ = !D.length), window.postMessage(
576
560
  {
577
561
  type: "StartSessionCountdown",
578
562
  paymentMethodName: _[0].Name
579
563
  },
580
564
  window.location.href
581
- ), window.postMessage({ type: "DataLoading", isDataLoaded: H });
565
+ ), window.postMessage({ type: "DataLoading", isDataLoaded: W });
582
566
  }).finally(() => {
583
- s(13, H = !0), window.postMessage({ type: "DataLoading", isDataLoaded: H });
567
+ s(13, W = !0), window.postMessage({ type: "DataLoading", isDataLoaded: W });
584
568
  });
585
569
  }, ne = (o) => {
586
570
  const g = [];
587
- return X = [], o.PaymentMethods.Ordering.DefaultPaymentMethodsOrder.forEach((x) => {
588
- const h = o.PaymentMethods.PaymentMethods.find((w) => w.Name === x);
589
- if (h) {
590
- const w = (h == null ? void 0 : h.Logos.find((he) => he.LogoType === "Desktop")) || {}, me = (h == null ? void 0 : h.Logos.find((he) => he.LogoType === "Mobile")) || {}, Y = J ? w : me;
591
- h.isMethodPromoted = ge(h.Tags), h.LogoUrl = Y.LogoUrl ? `https:${Y.LogoUrl}` : "", h.isMethodPromoted && X.push(h), g.push(h);
571
+ return X = [], o.PaymentMethods.Ordering.DefaultPaymentMethodsOrder.forEach((S) => {
572
+ const f = o.PaymentMethods.PaymentMethods.find((w) => w.Name === S);
573
+ if (f) {
574
+ const w = (f == null ? void 0 : f.Logos.find((fe) => fe.LogoType === "Desktop")) || {}, me = (f == null ? void 0 : f.Logos.find((fe) => fe.LogoType === "Mobile")) || {}, Y = J ? w : me;
575
+ f.isMethodPromoted = ge(f.Tags), f.LogoUrl = Y.LogoUrl ? `https:${Y.LogoUrl}` : "", f.isMethodPromoted && X.push(f), g.push(f);
592
576
  }
593
577
  }), g;
594
578
  }, ie = (o) => {
595
- const g = o.PaymentMethods.PaymentMethods.map((w) => be(Me({}, w), {
579
+ const g = o.PaymentMethods.PaymentMethods.map((w) => Me(be({}, w), {
596
580
  isMethodPromoted: ge(w.Tags),
597
581
  LogoUrl: w.Logos && w.Logos.length && w.Logos[0].LogoUrl ? `https:${w.Logos[0].LogoUrl}` : ""
598
- })), [x, h] = g.reduce(
582
+ })), [S, f] = g.reduce(
599
583
  ([w, me], Y) => (Y && Y.isMethodPromoted ? w.push(Y) : me.promo(Y), [w, me]),
600
584
  [[], []]
601
585
  );
602
- return X = x, h;
586
+ return X = S, f;
603
587
  }, ee = (o) => {
604
- s(8, I = o.Name), window.postMessage({ type: "SelectPayMeth", details: o }, window.location.href), dispatchEvent(new CustomEvent(
588
+ s(8, R = o.Name), window.postMessage({ type: "SelectPayMeth", details: o }, window.location.href), dispatchEvent(new CustomEvent(
605
589
  "selectPayMeth",
606
590
  {
607
591
  detail: o,
@@ -621,57 +605,57 @@ function pt(t, e, s) {
621
605
  }, le = () => {
622
606
  s(12, J = !$e(G));
623
607
  }, te = () => {
624
- S == _ ? ce() : ae();
608
+ D == _ ? ce() : ae();
625
609
  }, ae = () => {
626
- s(10, S = _), s(9, A = i("showLess"));
610
+ s(10, D = _), s(9, z = i("showLess"));
627
611
  }, ce = () => {
628
- s(10, S = _.slice(0, +M)), I && !S.find((o) => o.Name === I) && S.splice(0, 0, _.find((o) => o.Name === I)), s(9, A = i("showAll"));
629
- }, ge = (o) => o && o.split(",").some((g) => g === ft), pe = (o) => {
630
- var x;
612
+ s(10, D = _.slice(0, +b)), R && !D.find((o) => o.Name === R) && D.splice(0, 0, _.find((o) => o.Name === R)), s(9, z = i("showAll"));
613
+ }, ge = (o) => o && o.split(",").some((g) => g === ht), pe = (o) => {
614
+ var S;
631
615
  const { data: { type: g } = {} } = o || {};
632
616
  switch (g) {
633
617
  case "PrecisionCurrenciesMap": {
634
- s(7, B = ((x = o == null ? void 0 : o.data) == null ? void 0 : x.payload) || {});
618
+ s(7, B = ((S = o == null ? void 0 : o.data) == null ? void 0 : S.payload) || {});
635
619
  break;
636
620
  }
637
621
  }
638
622
  };
639
- Ze(() => (le(), Qe(u, q, j, W), window.postMessage({ type: "CashierMethodsListReady" }, window.location.href), window.addEventListener("message", pe), () => {
623
+ Ze(() => (le(), Qe(u, q, j, I), window.postMessage({ type: "CashierMethodsListReady" }, window.location.href), window.addEventListener("message", pe), () => {
640
624
  window.removeEventListener("message", pe);
641
625
  }));
642
- const Ue = (o) => ee(o), We = () => te();
626
+ const Ue = (o) => ee(o), Ie = () => te();
643
627
  function je(o) {
644
628
  et[o ? "unshift" : "push"](() => {
645
629
  k = o, s(6, k);
646
630
  });
647
631
  }
648
632
  return t.$$set = (o) => {
649
- "lang" in o && s(0, l = o.lang), "local" in o && s(19, u = o.local), "endpoint" in o && s(20, d = o.endpoint), "paymentsession" in o && s(21, m = o.paymentsession), "playersession" in o && s(22, a = o.playersession), "customerid" in o && s(23, f = o.customerid), "assetsurl" in o && s(1, K = o.assetsurl), "currency" in o && s(24, E = o.currency), "numberofmethodsshown" in o && s(25, M = o.numberofmethodsshown), "translationurl" in o && s(2, T = o.translationurl), "mbsource" in o && s(3, U = o.mbsource), "clientstyling" in o && s(4, R = o.clientstyling), "clientstylingurl" in o && s(5, N = o.clientstylingurl), "currencydecimals" in o && s(26, W = o.currencydecimals), "currencysymbol" in o && s(27, q = o.currencysymbol), "currencyposition" in o && s(28, j = o.currencyposition);
633
+ "lang" in o && s(0, l = o.lang), "local" in o && s(19, u = o.local), "endpoint" in o && s(20, d = o.endpoint), "paymentsession" in o && s(21, m = o.paymentsession), "playersession" in o && s(22, a = o.playersession), "customerid" in o && s(23, h = o.customerid), "assetsurl" in o && s(1, K = o.assetsurl), "currency" in o && s(24, E = o.currency), "numberofmethodsshown" in o && s(25, b = o.numberofmethodsshown), "translationurl" in o && s(2, T = o.translationurl), "mbsource" in o && s(3, U = o.mbsource), "clientstyling" in o && s(4, F = o.clientstyling), "clientstylingurl" in o && s(5, N = o.clientstylingurl), "currencydecimals" in o && s(26, I = o.currencydecimals), "currencysymbol" in o && s(27, q = o.currencysymbol), "currencyposition" in o && s(28, j = o.currencyposition);
650
634
  }, t.$$.update = () => {
651
635
  t.$$.dirty[0] & /*endpoint, customerid, currency*/
652
- 26214400 && d && f && E && L(), t.$$.dirty[0] & /*endpoint, paymentsession, customerid*/
653
- 11534336 && d && !m && f && F(), t.$$.dirty[0] & /*lang*/
636
+ 26214400 && d && h && E && L(), t.$$.dirty[0] & /*endpoint, paymentsession, customerid*/
637
+ 11534336 && d && !m && h && H(), t.$$.dirty[0] & /*lang*/
654
638
  1 && l && oe(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
655
- 80 && R && k && ot(k, R), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
639
+ 80 && F && k && ot(k, F), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
656
640
  96 && N && k && nt(k, N), t.$$.dirty[0] & /*mbsource, customStylingContainer*/
657
641
  72 && U && k && it(k, `${U}.Style`), t.$$.dirty[0] & /*lang, translationurl*/
658
642
  5 && l && T && se(), t.$$.dirty[0] & /*currencydecimals*/
659
- 67108864 && s(15, n = Number(W));
643
+ 67108864 && s(15, n = Number(I));
660
644
  }, [
661
645
  l,
662
646
  K,
663
647
  T,
664
648
  U,
665
- R,
649
+ F,
666
650
  N,
667
651
  k,
668
652
  B,
669
- I,
670
- A,
671
- S,
653
+ R,
654
+ z,
655
+ D,
672
656
  Z,
673
657
  J,
674
- H,
658
+ W,
675
659
  $,
676
660
  n,
677
661
  i,
@@ -681,14 +665,14 @@ function pt(t, e, s) {
681
665
  d,
682
666
  m,
683
667
  a,
684
- f,
668
+ h,
685
669
  E,
686
- M,
687
- W,
670
+ b,
671
+ I,
688
672
  q,
689
673
  j,
690
674
  Ue,
691
- We,
675
+ Ie,
692
676
  je
693
677
  ];
694
678
  }
@@ -698,7 +682,7 @@ class yt extends Xe {
698
682
  this,
699
683
  e,
700
684
  pt,
701
- ht,
685
+ ft,
702
686
  Ve,
703
687
  {
704
688
  lang: 0,
@@ -726,97 +710,97 @@ class yt extends Xe {
726
710
  return this.$$.ctx[0];
727
711
  }
728
712
  set lang(e) {
729
- this.$$set({ lang: e }), b();
713
+ this.$$set({ lang: e }), M();
730
714
  }
731
715
  get local() {
732
716
  return this.$$.ctx[19];
733
717
  }
734
718
  set local(e) {
735
- this.$$set({ local: e }), b();
719
+ this.$$set({ local: e }), M();
736
720
  }
737
721
  get endpoint() {
738
722
  return this.$$.ctx[20];
739
723
  }
740
724
  set endpoint(e) {
741
- this.$$set({ endpoint: e }), b();
725
+ this.$$set({ endpoint: e }), M();
742
726
  }
743
727
  get paymentsession() {
744
728
  return this.$$.ctx[21];
745
729
  }
746
730
  set paymentsession(e) {
747
- this.$$set({ paymentsession: e }), b();
731
+ this.$$set({ paymentsession: e }), M();
748
732
  }
749
733
  get playersession() {
750
734
  return this.$$.ctx[22];
751
735
  }
752
736
  set playersession(e) {
753
- this.$$set({ playersession: e }), b();
737
+ this.$$set({ playersession: e }), M();
754
738
  }
755
739
  get customerid() {
756
740
  return this.$$.ctx[23];
757
741
  }
758
742
  set customerid(e) {
759
- this.$$set({ customerid: e }), b();
743
+ this.$$set({ customerid: e }), M();
760
744
  }
761
745
  get assetsurl() {
762
746
  return this.$$.ctx[1];
763
747
  }
764
748
  set assetsurl(e) {
765
- this.$$set({ assetsurl: e }), b();
749
+ this.$$set({ assetsurl: e }), M();
766
750
  }
767
751
  get currency() {
768
752
  return this.$$.ctx[24];
769
753
  }
770
754
  set currency(e) {
771
- this.$$set({ currency: e }), b();
755
+ this.$$set({ currency: e }), M();
772
756
  }
773
757
  get numberofmethodsshown() {
774
758
  return this.$$.ctx[25];
775
759
  }
776
760
  set numberofmethodsshown(e) {
777
- this.$$set({ numberofmethodsshown: e }), b();
761
+ this.$$set({ numberofmethodsshown: e }), M();
778
762
  }
779
763
  get translationurl() {
780
764
  return this.$$.ctx[2];
781
765
  }
782
766
  set translationurl(e) {
783
- this.$$set({ translationurl: e }), b();
767
+ this.$$set({ translationurl: e }), M();
784
768
  }
785
769
  get mbsource() {
786
770
  return this.$$.ctx[3];
787
771
  }
788
772
  set mbsource(e) {
789
- this.$$set({ mbsource: e }), b();
773
+ this.$$set({ mbsource: e }), M();
790
774
  }
791
775
  get clientstyling() {
792
776
  return this.$$.ctx[4];
793
777
  }
794
778
  set clientstyling(e) {
795
- this.$$set({ clientstyling: e }), b();
779
+ this.$$set({ clientstyling: e }), M();
796
780
  }
797
781
  get clientstylingurl() {
798
782
  return this.$$.ctx[5];
799
783
  }
800
784
  set clientstylingurl(e) {
801
- this.$$set({ clientstylingurl: e }), b();
785
+ this.$$set({ clientstylingurl: e }), M();
802
786
  }
803
787
  get currencydecimals() {
804
788
  return this.$$.ctx[26];
805
789
  }
806
790
  set currencydecimals(e) {
807
- this.$$set({ currencydecimals: e }), b();
791
+ this.$$set({ currencydecimals: e }), M();
808
792
  }
809
793
  get currencysymbol() {
810
794
  return this.$$.ctx[27];
811
795
  }
812
796
  set currencysymbol(e) {
813
- this.$$set({ currencysymbol: e }), b();
797
+ this.$$set({ currencysymbol: e }), M();
814
798
  }
815
799
  get currencyposition() {
816
800
  return this.$$.ctx[28];
817
801
  }
818
802
  set currencyposition(e) {
819
- this.$$set({ currencyposition: e }), b();
803
+ this.$$set({ currencyposition: e }), M();
820
804
  }
821
805
  }
822
806
  rt(yt, { lang: {}, local: {}, endpoint: {}, paymentsession: {}, playersession: {}, customerid: {}, assetsurl: {}, currency: {}, numberofmethodsshown: {}, translationurl: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, currencydecimals: {}, currencysymbol: {}, currencyposition: {} }, [], [], !0);