@everymatrix/cashier-page 1.99.27 → 1.99.29
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.
- package/components/{CashierCarousel-B2ThP7Jo.js → CashierCarousel-BX3MswzJ.js} +2 -2
- package/components/{CashierCarousel-Dlcs8eUE.cjs → CashierCarousel-CTQJrnDX.cjs} +1 -1
- package/components/{CashierCarousel-Bd2sPWui.js → CashierCarousel-Cqf_BBI6.js} +2 -2
- package/components/{CashierError-BUgcHpRe.cjs → CashierError-Bfok83ES.cjs} +1 -1
- package/components/{CashierError-CT5_BcHH.js → CashierError-ChoYRLBh.js} +2 -2
- package/components/{CashierError-CU-IvgtF.js → CashierError-Di3TY2-9.js} +2 -2
- package/components/{CashierHeader-DPRl6Boa.js → CashierHeader-Bs3t355b.js} +1 -1
- package/components/{CashierHeader-B62NG5Mm.cjs → CashierHeader-CqSqoxOl.cjs} +1 -1
- package/components/{CashierHeader-xK6zJaX1.js → CashierHeader-CraEc9ly.js} +1 -1
- package/components/{CashierIframeRedirect-C5yrqXhF.cjs → CashierIframeRedirect-BSsehRIX.cjs} +1 -1
- package/components/{CashierIframeRedirect-CljgNFIK.js → CashierIframeRedirect-DYu-MTqW.js} +3 -3
- package/components/{CashierIframeRedirect-DlRWQ5C9.js → CashierIframeRedirect-DyMj9YIO.js} +3 -3
- package/components/{CashierMethodDetails-aJmmCvH9.cjs → CashierMethodDetails-CgMhjkHa.cjs} +2 -2
- package/components/{CashierMethodDetails-CtSvDmAq.js → CashierMethodDetails-DBYJjf0s.js} +5 -5
- package/components/{CashierMethodDetails-DlJ2rW4P.js → CashierMethodDetails-DdGzhLh4.js} +5 -5
- package/components/{CashierMethodsList-DTX0dMjH.cjs → CashierMethodsList-BZtgTZCk.cjs} +1 -1
- package/components/{CashierMethodsList-BPOQxQ6Y.js → CashierMethodsList-C_yAaXtO.js} +103 -97
- package/components/{CashierMethodsList-DJyzlaa-.js → CashierMethodsList-K0bqc-JA.js} +145 -139
- package/components/{CashierModal-CdvVfiW9.js → CashierModal-BTA4HcLy.js} +2 -2
- package/components/{CashierModal-DKKN7TXq.cjs → CashierModal-BbsUiuPJ.cjs} +1 -1
- package/components/{CashierModal-CCg4y8UK.js → CashierModal-C3lh0IcC.js} +2 -2
- package/components/{CashierNotifications-BrUi0auc.cjs → CashierNotifications-BljLGdLq.cjs} +1 -1
- package/components/{CashierNotifications-ayj42l1S.js → CashierNotifications-CIaC0Net.js} +1 -1
- package/components/{CashierNotifications-8S-NyKGx.js → CashierNotifications-DSSlJf67.js} +1 -1
- package/components/{CashierPage-C2_S59x3.js → CashierPage-DFdqfkW2.js} +10 -10
- package/components/{CashierPage-CkxxN1_N.js → CashierPage-Dr-rQaNf.js} +10 -10
- package/components/{CashierPage-CnubRCMx.cjs → CashierPage-_cGSRF-0.cjs} +1 -1
- package/components/{CashierReceiptPage-BYpSVYn7.js → CashierReceiptPage-CB6epre3.js} +2 -2
- package/components/{CashierReceiptPage-RVR7ygku.cjs → CashierReceiptPage-C_tIgACk.cjs} +1 -1
- package/components/{CashierReceiptPage-D5RIIY8R.js → CashierReceiptPage-Cmyys-MZ.js} +2 -2
- package/components/{CashierSessionExpirationModal-BzevspA7.cjs → CashierSessionExpirationModal-CYTRPa1j.cjs} +1 -1
- package/components/{CashierSessionExpirationModal-B-qSu4ki.js → CashierSessionExpirationModal-CaYyn9H1.js} +2 -2
- package/components/{CashierSessionExpirationModal-BHvfOXlb.js → CashierSessionExpirationModal-ph3NyA4Z.js} +2 -2
- package/components/{CashierSpinner-B9f3Npqs.cjs → CashierSpinner-ANzbyhI4.cjs} +1 -1
- package/components/{CashierSpinner-Fm4ZbfLf.js → CashierSpinner-B0X2-vp9.js} +2 -2
- package/components/{CashierSpinner-Di6PVwyt.js → CashierSpinner-BAEne0R6.js} +2 -2
- package/components/{CashierStepUp-Cr3F8y3l.js → CashierStepUp-CqKXYkxw.js} +2 -2
- package/components/{CashierStepUp-D-Z5OkcF.js → CashierStepUp-DYb8FoEE.js} +2 -2
- package/components/{CashierStepUp-Cc79udB7.cjs → CashierStepUp-z_P6zWB3.cjs} +1 -1
- package/components/{CashierTransactionHistory-Bc2TtGz0.js → CashierTransactionHistory-CkQ4c0LU.js} +4 -4
- package/components/{CashierTransactionHistory-DktH2swO.js → CashierTransactionHistory-DwTCQCpP.js} +4 -4
- package/components/{CashierTransactionHistory-BHQrKKsj.cjs → CashierTransactionHistory-J_lgjg9P.cjs} +1 -1
- package/components/{CashierVerifications-CJtV-PpQ.js → CashierVerifications-Bc1VHHqG.js} +3 -3
- package/components/{CashierVerifications-D7Yec9b2.js → CashierVerifications-Ck3S4o08.js} +3 -3
- package/components/{CashierVerifications-C0asAIiK.cjs → CashierVerifications-DCdbB9uK.cjs} +1 -1
- package/components/{TxnStatusIcon-BgBAUN9D.js → TxnStatusIcon-BCrXj1cj.js} +1 -1
- package/components/{TxnStatusIcon-DBahtHfa.cjs → TxnStatusIcon-BW0m0G6B.cjs} +1 -1
- package/components/{TxnStatusIcon-DBPwZdqy.js → TxnStatusIcon-Bbpiq1aq.js} +1 -1
- package/components/{TxnTypeIcons-Cgk7LemX.cjs → TxnTypeIcons-BEdL8IEL.cjs} +1 -1
- package/components/{TxnTypeIcons-GAuEC8x2.js → TxnTypeIcons-CIfmV3Qt.js} +1 -1
- package/components/{TxnTypeIcons-DtVLAxPw.js → TxnTypeIcons-UQS0zvaw.js} +1 -1
- package/es2015/cashier-page.cjs +1 -1
- package/es2015/cashier-page.js +1 -1
- package/esnext/cashier-page.js +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as Je, i as Ke, $ as Qe, S as $e, b as et, s as tt, f as w, d as ot, g as j, t as ee, h as X, T as ue, l as
|
|
2
|
-
import { s as pt, a as yt, b as Mt } from "./CashierHeader-
|
|
1
|
+
import { a as Je, i as Ke, $ as Qe, S as $e, b as et, s as tt, f as w, d as ot, g as j, t as ee, h as X, T as ue, l as H, o as A, v as Fe, q as we, M as be, N as st, r as nt, K as it, m, n as h, p as b, w as N, O as F, x as z, C as rt, y as lt, z as _e, L as ce, D as ve, E as at, U as fe, A as de, I as ae, V as ct, W as mt, F as dt, X as ut, Y as ft, c as ht, B as gt, R as Le } from "./CashierPage-DFdqfkW2.js";
|
|
2
|
+
import { s as pt, a as yt, b as Mt } from "./CashierHeader-Bs3t355b.js";
|
|
3
3
|
function ke(t, e) {
|
|
4
4
|
Je(t, e);
|
|
5
5
|
}
|
|
@@ -114,33 +114,33 @@ function Pe(t, e, s) {
|
|
|
114
114
|
return r[58] = e[s], r[60] = s, r;
|
|
115
115
|
}
|
|
116
116
|
function De(t) {
|
|
117
|
-
let e, s, r, o, i, l, a,
|
|
117
|
+
let e, s, r, o, i, l, a, c = !/*noPaymentMethodsAvailable*/
|
|
118
118
|
t[15] && Te(t);
|
|
119
|
-
const f = [
|
|
120
|
-
function
|
|
119
|
+
const f = [vt, _t], d = [];
|
|
120
|
+
function _(u, p) {
|
|
121
121
|
return (
|
|
122
122
|
/*noPaymentMethodsAvailable*/
|
|
123
123
|
u[15] && /*isDataLoaded*/
|
|
124
124
|
u[14] ? 0 : 1
|
|
125
125
|
);
|
|
126
126
|
}
|
|
127
|
-
o =
|
|
127
|
+
o = _(t), i = d[o] = f[o](t);
|
|
128
128
|
let g = (
|
|
129
129
|
/*methodsButtonToggleText*/
|
|
130
130
|
t[10] && ze(t)
|
|
131
131
|
);
|
|
132
132
|
return {
|
|
133
133
|
c() {
|
|
134
|
-
e = h("div"),
|
|
134
|
+
e = h("div"), c && c.c(), s = A(), r = h("div"), i.c(), l = A(), g && g.c(), b(r, "class", "CashierMethodList"), b(e, "class", "CashierMethodListWidget");
|
|
135
135
|
},
|
|
136
136
|
m(u, p) {
|
|
137
|
-
|
|
137
|
+
H(u, e, p), c && c.m(e, null), m(e, s), m(e, r), d[o].m(r, null), m(e, l), g && g.m(e, null), t[34](e), a = !0;
|
|
138
138
|
},
|
|
139
139
|
p(u, p) {
|
|
140
140
|
/*noPaymentMethodsAvailable*/
|
|
141
|
-
u[15] ?
|
|
141
|
+
u[15] ? c && (c.d(1), c = null) : c ? c.p(u, p) : (c = Te(u), c.c(), c.m(e, s));
|
|
142
142
|
let P = o;
|
|
143
|
-
o =
|
|
143
|
+
o = _(u), o === P ? d[o].p(u, p) : (fe(), ee(d[P], 1, 1, () => {
|
|
144
144
|
d[P] = null;
|
|
145
145
|
}), ue(), i = d[o], i ? i.p(u, p) : (i = d[o] = f[o](u), i.c()), X(i, 1), i.m(r, null)), /*methodsButtonToggleText*/
|
|
146
146
|
u[10] ? g ? g.p(u, p) : (g = ze(u), g.c(), g.m(e, null)) : g && (g.d(1), g = null);
|
|
@@ -152,7 +152,7 @@ function De(t) {
|
|
|
152
152
|
ee(i), a = !1;
|
|
153
153
|
},
|
|
154
154
|
d(u) {
|
|
155
|
-
u && j(e),
|
|
155
|
+
u && j(e), c && c.d(), d[o].d(), g && g.d(), t[34](null);
|
|
156
156
|
}
|
|
157
157
|
};
|
|
158
158
|
}
|
|
@@ -163,28 +163,28 @@ function Te(t) {
|
|
|
163
163
|
), o, i, l, a = (
|
|
164
164
|
/*$_*/
|
|
165
165
|
t[17]("otherMethodsDescription") + ""
|
|
166
|
-
),
|
|
166
|
+
), c;
|
|
167
167
|
return {
|
|
168
168
|
c() {
|
|
169
|
-
e = h("div"), s = h("h3"), o = z(r), i = A(), l = h("p"),
|
|
169
|
+
e = h("div"), s = h("h3"), o = z(r), i = A(), l = h("p"), c = z(a), b(e, "class", "MethodsListDescription");
|
|
170
170
|
},
|
|
171
171
|
m(f, d) {
|
|
172
|
-
|
|
172
|
+
H(f, e, d), m(e, s), m(s, o), m(e, i), m(e, l), m(l, c);
|
|
173
173
|
},
|
|
174
174
|
p(f, d) {
|
|
175
175
|
d[0] & /*$_*/
|
|
176
176
|
131072 && r !== (r = /*$_*/
|
|
177
177
|
f[17]("otherMethodsTitle") + "") && N(o, r), d[0] & /*$_*/
|
|
178
178
|
131072 && a !== (a = /*$_*/
|
|
179
|
-
f[17]("otherMethodsDescription") + "") && N(
|
|
179
|
+
f[17]("otherMethodsDescription") + "") && N(c, a);
|
|
180
180
|
},
|
|
181
181
|
d(f) {
|
|
182
182
|
f && j(e);
|
|
183
183
|
}
|
|
184
184
|
};
|
|
185
185
|
}
|
|
186
|
-
function
|
|
187
|
-
let e, s, r =
|
|
186
|
+
function _t(t) {
|
|
187
|
+
let e, s, r = ve(
|
|
188
188
|
/*paymentMethodsToShow*/
|
|
189
189
|
t[11]
|
|
190
190
|
), o = [];
|
|
@@ -200,24 +200,24 @@ function vt(t) {
|
|
|
200
200
|
e = Fe();
|
|
201
201
|
},
|
|
202
202
|
m(l, a) {
|
|
203
|
-
for (let
|
|
204
|
-
o[
|
|
205
|
-
|
|
203
|
+
for (let c = 0; c < o.length; c += 1)
|
|
204
|
+
o[c] && o[c].m(l, a);
|
|
205
|
+
H(l, e, a), s = !0;
|
|
206
206
|
},
|
|
207
207
|
p(l, a) {
|
|
208
208
|
if (a[0] & /*selectedPaymentMethod, paymentMethodsToShow, selectPayMeth, $_, type, desktopView, precisionCurrenciesMap, numericCurrencyDecimals*/
|
|
209
209
|
469824) {
|
|
210
|
-
r =
|
|
210
|
+
r = ve(
|
|
211
211
|
/*paymentMethodsToShow*/
|
|
212
212
|
l[11]
|
|
213
213
|
);
|
|
214
|
-
let
|
|
215
|
-
for (
|
|
216
|
-
const f = Pe(l, r,
|
|
217
|
-
o[
|
|
214
|
+
let c;
|
|
215
|
+
for (c = 0; c < r.length; c += 1) {
|
|
216
|
+
const f = Pe(l, r, c);
|
|
217
|
+
o[c] ? (o[c].p(f, a), X(o[c], 1)) : (o[c] = Ne(f), o[c].c(), X(o[c], 1), o[c].m(e.parentNode, e));
|
|
218
218
|
}
|
|
219
|
-
for (fe(),
|
|
220
|
-
i(
|
|
219
|
+
for (fe(), c = r.length; c < o.length; c += 1)
|
|
220
|
+
i(c);
|
|
221
221
|
ue();
|
|
222
222
|
}
|
|
223
223
|
},
|
|
@@ -239,41 +239,41 @@ function vt(t) {
|
|
|
239
239
|
}
|
|
240
240
|
};
|
|
241
241
|
}
|
|
242
|
-
function
|
|
242
|
+
function vt(t) {
|
|
243
243
|
let e, s, r, o = (
|
|
244
244
|
/*$_*/
|
|
245
245
|
t[17]("error") + ""
|
|
246
|
-
), i, l, a,
|
|
246
|
+
), i, l, a, c = (
|
|
247
247
|
/*$_*/
|
|
248
248
|
t[17]("noPaymentMethods") + ""
|
|
249
249
|
), f;
|
|
250
250
|
return {
|
|
251
251
|
c() {
|
|
252
|
-
e = h("div"), s = h("div"), r = h("p"), i = z(o), l = A(), a = h("p"), f = z(
|
|
252
|
+
e = h("div"), s = h("div"), r = h("p"), i = z(o), l = A(), a = h("p"), f = z(c), b(r, "class", "EmptyContentMessageTitle"), b(a, "class", "EmptyContentMessageText"), b(s, "class", "EmptyContentMessageContent"), b(e, "class", "EmptyContentMessageWrapper"), ce(
|
|
253
253
|
e,
|
|
254
254
|
"EmptyContentMessageDesktop",
|
|
255
255
|
/*desktopView*/
|
|
256
256
|
t[13]
|
|
257
257
|
);
|
|
258
258
|
},
|
|
259
|
-
m(d,
|
|
260
|
-
|
|
259
|
+
m(d, _) {
|
|
260
|
+
H(d, e, _), m(e, s), m(s, r), m(r, i), m(s, l), m(s, a), m(a, f);
|
|
261
261
|
},
|
|
262
|
-
p(d,
|
|
263
|
-
|
|
262
|
+
p(d, _) {
|
|
263
|
+
_[0] & /*$_*/
|
|
264
264
|
131072 && o !== (o = /*$_*/
|
|
265
|
-
d[17]("error") + "") && N(i, o),
|
|
266
|
-
131072 &&
|
|
267
|
-
d[17]("noPaymentMethods") + "") && N(f,
|
|
268
|
-
8192 &&
|
|
265
|
+
d[17]("error") + "") && N(i, o), _[0] & /*$_*/
|
|
266
|
+
131072 && c !== (c = /*$_*/
|
|
267
|
+
d[17]("noPaymentMethods") + "") && N(f, c), _[0] & /*desktopView*/
|
|
268
|
+
8192 && ce(
|
|
269
269
|
e,
|
|
270
270
|
"EmptyContentMessageDesktop",
|
|
271
271
|
/*desktopView*/
|
|
272
272
|
d[13]
|
|
273
273
|
);
|
|
274
274
|
},
|
|
275
|
-
i:
|
|
276
|
-
o:
|
|
275
|
+
i: _e,
|
|
276
|
+
o: _e,
|
|
277
277
|
d(d) {
|
|
278
278
|
d && j(e);
|
|
279
279
|
}
|
|
@@ -289,7 +289,7 @@ function Ee(t) {
|
|
|
289
289
|
e = h("p"), r = z(s);
|
|
290
290
|
},
|
|
291
291
|
m(o, i) {
|
|
292
|
-
|
|
292
|
+
H(o, e, i), m(e, r);
|
|
293
293
|
},
|
|
294
294
|
p(o, i) {
|
|
295
295
|
i[0] & /*$_*/
|
|
@@ -313,7 +313,7 @@ function Se(t) {
|
|
|
313
313
|
e = h("span"), r = z(s), b(e, "class", "PaymentProcessing");
|
|
314
314
|
},
|
|
315
315
|
m(o, i) {
|
|
316
|
-
|
|
316
|
+
H(o, e, i), m(e, r);
|
|
317
317
|
},
|
|
318
318
|
p(o, i) {
|
|
319
319
|
i[0] & /*$_, type, paymentMethodsToShow*/
|
|
@@ -339,7 +339,7 @@ function Ae(t) {
|
|
|
339
339
|
e = h("span"), r = z(s), b(e, "class", "PaymentProcessing");
|
|
340
340
|
},
|
|
341
341
|
m(o, i) {
|
|
342
|
-
|
|
342
|
+
H(o, e, i), m(e, r);
|
|
343
343
|
},
|
|
344
344
|
p(o, i) {
|
|
345
345
|
i[0] & /*$_, type, paymentMethodsToShow*/
|
|
@@ -354,11 +354,11 @@ function Ae(t) {
|
|
|
354
354
|
};
|
|
355
355
|
}
|
|
356
356
|
function Ne(t) {
|
|
357
|
-
let e, s, r, o, i, l, a,
|
|
357
|
+
let e, s, r, o, i, l, a, c, f, d = (
|
|
358
358
|
/*payMeth*/
|
|
359
359
|
(t[58].Label || /*payMeth*/
|
|
360
360
|
t[58].Name) + ""
|
|
361
|
-
),
|
|
361
|
+
), _, g, u, p, P, U, B = (
|
|
362
362
|
/*$_*/
|
|
363
363
|
t[17]("generalMin") + ""
|
|
364
364
|
), Y, J, V = ae(
|
|
@@ -410,8 +410,8 @@ function Ne(t) {
|
|
|
410
410
|
t[16]
|
|
411
411
|
)
|
|
412
412
|
}
|
|
413
|
-
) + "", ne, le, I,
|
|
414
|
-
r = new
|
|
413
|
+
) + "", ne, le, I, v, G, x;
|
|
414
|
+
r = new ct({
|
|
415
415
|
props: {
|
|
416
416
|
src: (
|
|
417
417
|
/*payMeth*/
|
|
@@ -426,8 +426,8 @@ function Ne(t) {
|
|
|
426
426
|
let M = (
|
|
427
427
|
/*payMeth*/
|
|
428
428
|
t[58].isMethodPromoted && Ee(t)
|
|
429
|
-
),
|
|
430
|
-
t[13] && Se(t),
|
|
429
|
+
), L = !/*desktopView*/
|
|
430
|
+
t[13] && Se(t), k = (
|
|
431
431
|
/*desktopView*/
|
|
432
432
|
t[13] && Ae(t)
|
|
433
433
|
);
|
|
@@ -442,7 +442,7 @@ function Ne(t) {
|
|
|
442
442
|
}
|
|
443
443
|
return {
|
|
444
444
|
c() {
|
|
445
|
-
e = h("div"), s = h("div"), ft(r.$$.fragment), o = A(), i = h("div"), M && M.c(), l = A(), a = h("div"),
|
|
445
|
+
e = h("div"), s = h("div"), ft(r.$$.fragment), o = A(), i = h("div"), M && M.c(), l = A(), a = h("div"), c = h("div"), f = h("span"), _ = z(d), g = A(), L && L.c(), u = A(), p = h("div"), P = h("span"), U = h("p"), Y = z(B), J = A(), K = z(V), te = A(), Z = h("p"), Q = z(W), se = A(), ne = z(E), le = A(), k && k.c(), I = A(), b(s, "class", "MethodLogo"), b(i, "class", "MethodFavorite"), b(c, "class", "MethodTitle"), b(P, "class", "Limits"), b(p, "class", "MethodLimits"), b(a, "class", "MethodInfo"), b(e, "class", "SelectorWrapper"), ce(
|
|
446
446
|
e,
|
|
447
447
|
"checked",
|
|
448
448
|
/*selectedPaymentMethod*/
|
|
@@ -451,10 +451,10 @@ function Ne(t) {
|
|
|
451
451
|
);
|
|
452
452
|
},
|
|
453
453
|
m(R, C) {
|
|
454
|
-
|
|
454
|
+
H(R, e, C), m(e, s), ut(r, s, null), m(e, o), m(e, i), M && M.m(i, null), m(e, l), m(e, a), m(a, c), m(c, f), m(f, _), m(a, g), L && L.m(a, null), m(a, u), m(a, p), m(p, P), m(P, U), m(U, Y), m(U, J), m(U, K), m(P, te), m(P, Z), m(Z, Q), m(Z, se), m(Z, ne), m(a, le), k && k.m(a, null), m(e, I), v = !0, G || (x = [
|
|
455
455
|
de(e, "click", ie),
|
|
456
456
|
de(e, "keyup", Ct)
|
|
457
|
-
],
|
|
457
|
+
], G = !0);
|
|
458
458
|
},
|
|
459
459
|
p(R, C) {
|
|
460
460
|
t = R;
|
|
@@ -464,13 +464,13 @@ function Ne(t) {
|
|
|
464
464
|
t[58].LogoUrl), C[0] & /*paymentMethodsToShow*/
|
|
465
465
|
2048 && (oe.alt = /*payMeth*/
|
|
466
466
|
t[58].Label), r.$set(oe), /*payMeth*/
|
|
467
|
-
t[58].isMethodPromoted ? M ? M.p(t, C) : (M = Ee(t), M.c(), M.m(i, null)) : M && (M.d(1), M = null), (!
|
|
467
|
+
t[58].isMethodPromoted ? M ? M.p(t, C) : (M = Ee(t), M.c(), M.m(i, null)) : M && (M.d(1), M = null), (!v || C[0] & /*paymentMethodsToShow*/
|
|
468
468
|
2048) && d !== (d = /*payMeth*/
|
|
469
469
|
(t[58].Label || /*payMeth*/
|
|
470
|
-
t[58].Name) + "") && N(
|
|
471
|
-
t[13] ?
|
|
472
|
-
131072) &&
|
|
473
|
-
t[17]("generalMin") + "") && N(Y,
|
|
470
|
+
t[58].Name) + "") && N(_, d), /*desktopView*/
|
|
471
|
+
t[13] ? L && (L.d(1), L = null) : L ? L.p(t, C) : (L = Se(t), L.c(), L.m(a, u)), (!v || C[0] & /*$_*/
|
|
472
|
+
131072) && B !== (B = /*$_*/
|
|
473
|
+
t[17]("generalMin") + "") && N(Y, B), (!v || C[0] & /*paymentMethodsToShow, precisionCurrenciesMap, numericCurrencyDecimals*/
|
|
474
474
|
67840) && V !== (V = ae(
|
|
475
475
|
/*payMeth*/
|
|
476
476
|
t[58].DisplayCurrency.MinAmountLimit,
|
|
@@ -494,9 +494,9 @@ function Ne(t) {
|
|
|
494
494
|
t[16]
|
|
495
495
|
)
|
|
496
496
|
}
|
|
497
|
-
) + "") && N(K, V), (!
|
|
497
|
+
) + "") && N(K, V), (!v || C[0] & /*$_*/
|
|
498
498
|
131072) && W !== (W = /*$_*/
|
|
499
|
-
t[17]("generalMax") + "") && N(Q, W), (!
|
|
499
|
+
t[17]("generalMax") + "") && N(Q, W), (!v || C[0] & /*paymentMethodsToShow, precisionCurrenciesMap, numericCurrencyDecimals*/
|
|
500
500
|
67840) && E !== (E = ae(
|
|
501
501
|
/*payMeth*/
|
|
502
502
|
t[58].DisplayCurrency.MaxAmountLimit,
|
|
@@ -521,8 +521,8 @@ function Ne(t) {
|
|
|
521
521
|
)
|
|
522
522
|
}
|
|
523
523
|
) + "") && N(ne, E), /*desktopView*/
|
|
524
|
-
t[13] ?
|
|
525
|
-
2560) &&
|
|
524
|
+
t[13] ? k ? k.p(t, C) : (k = Ae(t), k.c(), k.m(a, null)) : k && (k.d(1), k = null), (!v || C[0] & /*selectedPaymentMethod, paymentMethodsToShow*/
|
|
525
|
+
2560) && ce(
|
|
526
526
|
e,
|
|
527
527
|
"checked",
|
|
528
528
|
/*selectedPaymentMethod*/
|
|
@@ -531,13 +531,13 @@ function Ne(t) {
|
|
|
531
531
|
);
|
|
532
532
|
},
|
|
533
533
|
i(R) {
|
|
534
|
-
|
|
534
|
+
v || (X(r.$$.fragment, R), v = !0);
|
|
535
535
|
},
|
|
536
536
|
o(R) {
|
|
537
|
-
ee(r.$$.fragment, R),
|
|
537
|
+
ee(r.$$.fragment, R), v = !1;
|
|
538
538
|
},
|
|
539
539
|
d(R) {
|
|
540
|
-
R && j(e),
|
|
540
|
+
R && j(e), mt(r), M && M.d(), L && L.d(), k && k.d(), G = !1, dt(x);
|
|
541
541
|
}
|
|
542
542
|
};
|
|
543
543
|
}
|
|
@@ -551,7 +551,7 @@ function ze(t) {
|
|
|
551
551
|
), b(e, "class", "ShowAllButton");
|
|
552
552
|
},
|
|
553
553
|
m(i, l) {
|
|
554
|
-
|
|
554
|
+
H(i, e, l), m(e, s), r || (o = de(
|
|
555
555
|
e,
|
|
556
556
|
"click",
|
|
557
557
|
/*click_handler_1*/
|
|
@@ -611,7 +611,7 @@ function xe(t) {
|
|
|
611
611
|
), F(e, "hidebuttons", "true");
|
|
612
612
|
},
|
|
613
613
|
m(o, i) {
|
|
614
|
-
|
|
614
|
+
H(o, e, i), m(e, s), m(s, r);
|
|
615
615
|
},
|
|
616
616
|
p(o, i) {
|
|
617
617
|
i[0] & /*errorMessage*/
|
|
@@ -675,7 +675,7 @@ function Lt(t) {
|
|
|
675
675
|
o && o.c(), e = A(), i && i.c(), s = Fe();
|
|
676
676
|
},
|
|
677
677
|
m(l, a) {
|
|
678
|
-
o && o.m(l, a),
|
|
678
|
+
o && o.m(l, a), H(l, e, a), i && i.m(l, a), H(l, s, a), r = !0;
|
|
679
679
|
},
|
|
680
680
|
p(l, a) {
|
|
681
681
|
/*isDataLoaded*/
|
|
@@ -701,11 +701,11 @@ const kt = "PaymentPromotion", Ct = () => {
|
|
|
701
701
|
function Pt(t, e, s) {
|
|
702
702
|
let r, o, i;
|
|
703
703
|
we(t, gt, (n) => s(17, o = n)), we(t, Le, (n) => s(42, i = n)), be.extend(st);
|
|
704
|
-
let { lang: l = "en" } = e, { local: a = "en-US" } = e, { endpoint:
|
|
705
|
-
var
|
|
704
|
+
let { lang: l = "en" } = e, { local: a = "en-US" } = e, { endpoint: c } = e, { paymentsession: f } = e, { playersession: d } = e, { customerid: _ } = e, { assetsurl: g } = e, { currency: u } = e, { numberofmethodsshown: p } = e, { translationurl: P = "" } = e, { mbsource: U } = e, { clientstyling: B } = e, { clientstylingurl: Y } = e, { currencydecimals: J = "0" } = e, { currencysymbol: V = "" } = e, { currencyposition: K = "" } = e, { promotedmethods: te = "false" } = e, { type: Z } = e, { userroles: W = "" } = e, Q, se = {}, E, ne, le = window.navigator.userAgent, I = [], v, G = "", x = [], M = [], L = "", k, ie = !0, R = !1, C = !1, oe = [];
|
|
705
|
+
var me;
|
|
706
706
|
(function(n) {
|
|
707
707
|
n.PlayerSessionIsNotValid = "PlayerSessionIsNotValid", n.Success = "Success", n.JwtTokenError = "JwtTokenError";
|
|
708
|
-
})(
|
|
708
|
+
})(me || (me = {}));
|
|
709
709
|
const Ie = () => {
|
|
710
710
|
let n = P;
|
|
711
711
|
if (n)
|
|
@@ -727,7 +727,7 @@ function Pt(t, e, s) {
|
|
|
727
727
|
}, je = (n) => {
|
|
728
728
|
const { currency: y } = n, D = Q !== void 0 && Q !== y ? "MetadataLoading" : "DataLoading";
|
|
729
729
|
Q = y, window.postMessage({ type: D, isDataLoaded: !1 }, window.location.href);
|
|
730
|
-
const T = new URL(`${
|
|
730
|
+
const T = new URL(`${c}/v2/player/${_}/payment/GetPaymentMetadata`), O = new Headers();
|
|
731
731
|
O.append("accept", "application/json"), O.append("Content-Type", "application/json"), O.append("X-Client-Request-Timestamp", be.utc().format("YYYY-MM-DD HH:mm:ss.SSS")), O.append("X-SessionId", `${d}`), O.append("X-Payment-Session-Token", `${f || i}`), oe.indexOf("MM_CHANNEL_BETA") != -1 && O.append("MM_CHANNEL", "BETA");
|
|
732
732
|
const q = {
|
|
733
733
|
method: "POST",
|
|
@@ -743,20 +743,20 @@ function Pt(t, e, s) {
|
|
|
743
743
|
return re && Le.set(re), S.json();
|
|
744
744
|
}).then((S) => {
|
|
745
745
|
if (S.error) {
|
|
746
|
-
s(12,
|
|
746
|
+
s(12, L = S.error);
|
|
747
747
|
return;
|
|
748
748
|
}
|
|
749
|
-
if (S.ResponseCode !==
|
|
750
|
-
|
|
749
|
+
if (S.ResponseCode !== me.Success) {
|
|
750
|
+
k = S.ResponseCode, We();
|
|
751
751
|
return;
|
|
752
752
|
}
|
|
753
|
-
I = S.PaymentMethods?.Ordering ?
|
|
753
|
+
I = S.PaymentMethods?.Ordering ? He(S) : Ue(S), window.postMessage(
|
|
754
754
|
{
|
|
755
755
|
type: "PromotedPaymentMethods",
|
|
756
756
|
promotedPaymentMethods: M
|
|
757
757
|
},
|
|
758
758
|
window.location.href
|
|
759
|
-
), s(10,
|
|
759
|
+
), s(10, G = p && +p > 0 && I.length > +p ? o("showAll") : ""), s(11, x = G ? I.slice(0, +p) : I), te == "false" && s(11, x = x.sort((re, Me) => re.isMethodPromoted && !Me.isMethodPromoted ? -1 : !re.isMethodPromoted && Me.isMethodPromoted ? 1 : 0)), s(15, C = !x.length), window.postMessage(
|
|
760
760
|
{
|
|
761
761
|
type: "StartSessionCountdown",
|
|
762
762
|
paymentMethodName: I[0].Name
|
|
@@ -766,7 +766,7 @@ function Pt(t, e, s) {
|
|
|
766
766
|
}).finally(() => {
|
|
767
767
|
s(14, R = !0), window.postMessage({ type: D, isDataLoaded: !0 }, window.location.href);
|
|
768
768
|
});
|
|
769
|
-
},
|
|
769
|
+
}, He = (n) => {
|
|
770
770
|
const y = [];
|
|
771
771
|
return M = [], n.PaymentMethods.Ordering.DefaultPaymentMethodsOrder.forEach(($) => {
|
|
772
772
|
const D = n.PaymentMethods.PaymentMethods.find((T) => T.Name === $);
|
|
@@ -775,7 +775,7 @@ function Pt(t, e, s) {
|
|
|
775
775
|
D.isMethodPromoted = pe(D.Tags), D.LogoUrl = q.LogoUrl ? `https:${q.LogoUrl}` : "", D.isMethodPromoted && M.push(D), y.push(D);
|
|
776
776
|
}
|
|
777
777
|
}), y;
|
|
778
|
-
},
|
|
778
|
+
}, Ue = (n) => {
|
|
779
779
|
const y = n.PaymentMethods.PaymentMethods.map((T) => ({
|
|
780
780
|
...T,
|
|
781
781
|
isMethodPromoted: pe(T.Tags),
|
|
@@ -786,7 +786,7 @@ function Pt(t, e, s) {
|
|
|
786
786
|
);
|
|
787
787
|
return M = $, D;
|
|
788
788
|
}, he = (n) => {
|
|
789
|
-
s(9,
|
|
789
|
+
s(9, v = n.Name), window.postMessage({ type: "SelectPayMeth", details: n }, window.location.href), dispatchEvent(new CustomEvent(
|
|
790
790
|
"selectPayMeth",
|
|
791
791
|
{
|
|
792
792
|
detail: n,
|
|
@@ -799,18 +799,18 @@ function Pt(t, e, s) {
|
|
|
799
799
|
window.postMessage(
|
|
800
800
|
{
|
|
801
801
|
type: "ErrorResponseCode",
|
|
802
|
-
errorResponseCode:
|
|
802
|
+
errorResponseCode: k
|
|
803
803
|
},
|
|
804
804
|
window.location.href
|
|
805
805
|
);
|
|
806
|
-
},
|
|
806
|
+
}, Be = () => {
|
|
807
807
|
s(13, ie = !rt(le));
|
|
808
808
|
}, ge = () => {
|
|
809
|
-
x == I ? qe() :
|
|
810
|
-
},
|
|
811
|
-
s(11, x = I), s(10,
|
|
809
|
+
x == I ? qe() : Ge();
|
|
810
|
+
}, Ge = () => {
|
|
811
|
+
s(11, x = I), s(10, G = o("showLess"));
|
|
812
812
|
}, qe = () => {
|
|
813
|
-
s(11, x = I.slice(0, +p)),
|
|
813
|
+
s(11, x = I.slice(0, +p)), v && !x.find((n) => n.Name === v) && x.splice(0, 0, I.find((n) => n.Name === v)), s(10, G = o("showAll"));
|
|
814
814
|
}, pe = (n) => n && n.split(",").some((y) => y === kt), ye = (n) => {
|
|
815
815
|
const { data: { type: y } = {} } = n || {};
|
|
816
816
|
switch (y) {
|
|
@@ -818,11 +818,17 @@ function Pt(t, e, s) {
|
|
|
818
818
|
s(8, se = n?.data?.payload || {});
|
|
819
819
|
break;
|
|
820
820
|
}
|
|
821
|
+
case "HidePaymentDetails":
|
|
822
|
+
case "BackCashier":
|
|
823
|
+
case "BackToMethodList": {
|
|
824
|
+
s(9, v = void 0);
|
|
825
|
+
break;
|
|
826
|
+
}
|
|
821
827
|
}
|
|
822
828
|
}, Xe = () => {
|
|
823
829
|
W.length > 0 && (oe = W.split(","));
|
|
824
830
|
};
|
|
825
|
-
nt(() => (
|
|
831
|
+
nt(() => (Be(), it(a, V, K, J), window.postMessage({ type: "CashierMethodsListReady" }, window.location.href), window.addEventListener("message", ye), () => {
|
|
826
832
|
window.removeEventListener("message", ye);
|
|
827
833
|
}));
|
|
828
834
|
const Ye = (n) => he(n), Ve = () => ge();
|
|
@@ -832,31 +838,31 @@ function Pt(t, e, s) {
|
|
|
832
838
|
});
|
|
833
839
|
}
|
|
834
840
|
return t.$$set = (n) => {
|
|
835
|
-
"lang" in n && s(0, l = n.lang), "local" in n && s(20, a = n.local), "endpoint" in n && s(21,
|
|
841
|
+
"lang" in n && s(0, l = n.lang), "local" in n && s(20, a = n.local), "endpoint" in n && s(21, c = n.endpoint), "paymentsession" in n && s(22, f = n.paymentsession), "playersession" in n && s(23, d = n.playersession), "customerid" in n && s(24, _ = n.customerid), "assetsurl" in n && s(1, g = n.assetsurl), "currency" in n && s(25, u = n.currency), "numberofmethodsshown" in n && s(26, p = n.numberofmethodsshown), "translationurl" in n && s(2, P = n.translationurl), "mbsource" in n && s(3, U = n.mbsource), "clientstyling" in n && s(4, B = n.clientstyling), "clientstylingurl" in n && s(5, Y = n.clientstylingurl), "currencydecimals" in n && s(27, J = n.currencydecimals), "currencysymbol" in n && s(28, V = n.currencysymbol), "currencyposition" in n && s(29, K = n.currencyposition), "promotedmethods" in n && s(30, te = n.promotedmethods), "type" in n && s(6, Z = n.type), "userroles" in n && s(31, W = n.userroles);
|
|
836
842
|
}, t.$$.update = () => {
|
|
837
843
|
t.$$.dirty[1] & /*userroles*/
|
|
838
844
|
1 && W && Xe(), t.$$.dirty[0] & /*endpoint, paymentsession, customerid, currency*/
|
|
839
|
-
56623104 &&
|
|
845
|
+
56623104 && c && !f && _ && Oe({ currency: u }), t.$$.dirty[0] & /*lang*/
|
|
840
846
|
1 && l && Re(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
841
|
-
144 &&
|
|
847
|
+
144 && B && E && pt(E, B), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
842
848
|
160 && Y && E && yt(E, Y), t.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
843
|
-
136 &&
|
|
849
|
+
136 && U && E && Mt(E, `${U}.Style`, ne), t.$$.dirty[0] & /*lang, translationurl*/
|
|
844
850
|
5 && l && P && Ie(), t.$$.dirty[0] & /*currencydecimals*/
|
|
845
851
|
134217728 && s(16, r = Number(J));
|
|
846
852
|
}, [
|
|
847
853
|
l,
|
|
848
854
|
g,
|
|
849
855
|
P,
|
|
850
|
-
|
|
851
|
-
|
|
856
|
+
U,
|
|
857
|
+
B,
|
|
852
858
|
Y,
|
|
853
859
|
Z,
|
|
854
860
|
E,
|
|
855
861
|
se,
|
|
856
|
-
|
|
857
|
-
|
|
862
|
+
v,
|
|
863
|
+
G,
|
|
858
864
|
x,
|
|
859
|
-
|
|
865
|
+
L,
|
|
860
866
|
ie,
|
|
861
867
|
R,
|
|
862
868
|
C,
|
|
@@ -865,10 +871,10 @@ function Pt(t, e, s) {
|
|
|
865
871
|
he,
|
|
866
872
|
ge,
|
|
867
873
|
a,
|
|
868
|
-
|
|
874
|
+
c,
|
|
869
875
|
f,
|
|
870
876
|
d,
|
|
871
|
-
|
|
877
|
+
_,
|
|
872
878
|
u,
|
|
873
879
|
p,
|
|
874
880
|
J,
|