@everymatrix/cashier-page 1.72.30 → 1.72.31
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/{CashierPage-BUXHvLFi.js → CashierPage-BBCaHyLq.js} +49 -47
- package/components/{CashierPage-CVQtmkIs.cjs → CashierPage-BVRHvy6a.cjs} +3 -3
- package/components/{CashierPage-BNGMI3Al.js → CashierPage-CcQLGH4h.js} +49 -47
- 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,13 +1,13 @@
|
|
|
1
|
-
import { a as
|
|
2
|
-
import { E as qi, S as Ui, b as Gi, s as ji, f as T, c as Ai, n as ne, e as b, q as v, J as $, l as y, m as M, T as Vi, p as O, o as g, F as Xi, v as
|
|
3
|
-
import { d as
|
|
1
|
+
import { a as Di, i as Fi, $ as Pi, b as Ki } from "./CashierError-XLiq37Gb.js";
|
|
2
|
+
import { E as qi, S as Ui, b as Gi, s as ji, f as T, c as Ai, n as ne, e as b, q as v, J as $, l as y, m as M, T as Vi, p as O, o as g, F as Xi, v as De, H as Qi, C as r, w as xi, z as _i, B, x as I, y as R, A as di } from "./CashierConfirmModal-B74OQHQ9.js";
|
|
3
|
+
import { d as Fe, u as $i, x as ee } from "./CashierMethodDetails-D9YQ9gDJ.js";
|
|
4
4
|
import "./CashierIframeRedirect-CWlqlioy.js";
|
|
5
5
|
import "../stencil/ui-image-CHeV8e9p.js";
|
|
6
6
|
function Pe(t, e) {
|
|
7
|
-
|
|
7
|
+
Di(t, e);
|
|
8
8
|
}
|
|
9
9
|
function et(t) {
|
|
10
|
-
|
|
10
|
+
Fi({
|
|
11
11
|
fallbackLocale: "en"
|
|
12
12
|
}), Pi.set(t);
|
|
13
13
|
}
|
|
@@ -20,6 +20,7 @@ const Ke = {
|
|
|
20
20
|
sessionExpiredText: "Your session has ended. We apologize for any inconvenience. Please click the button to continue.",
|
|
21
21
|
maintenanceText: "Payment Methods are currently closed for scheduled maintenance.",
|
|
22
22
|
maintenanceTitle: "We’ll Be Back Soon",
|
|
23
|
+
backToMethodList: "BACK TO PAYMENT METHODS",
|
|
23
24
|
deposit: {
|
|
24
25
|
makeTxnButton: "DEPOSIT",
|
|
25
26
|
confirmText: "You're going to deposit to your account",
|
|
@@ -66,6 +67,7 @@ const Ke = {
|
|
|
66
67
|
sessionExpiredText: "Oturumunuz sona erdi. Herhangi bir rahatsızlıktan dolayı özür dileriz. Devam etmek için lütfen butona tıklayın.",
|
|
67
68
|
maintenanceText: "Ödeme Yöntemleri planlanmış bakım nedeniyle şu anda kapalı.",
|
|
68
69
|
maintenanceTitle: "Yakında Geri Döneceğiz",
|
|
70
|
+
backToMethodList: "ÖDEME YÖNTEMLERİNE GERİ DÖN",
|
|
69
71
|
header: {
|
|
70
72
|
deposit: "Para Yatır",
|
|
71
73
|
withdraw: "Çekim"
|
|
@@ -689,7 +691,7 @@ if (typeof window < "u") {
|
|
|
689
691
|
});
|
|
690
692
|
}
|
|
691
693
|
function yt(t) {
|
|
692
|
-
Ai(t, "svelte-
|
|
694
|
+
Ai(t, "svelte-jxycgy", ":host{display:block;height:100%}@keyframes loading-spinner{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}.DisablePage{container-type:inline-size;container-name:confirm-modal;position:absolute;width:100%;height:100%;z-index:4;top:0;left:0;background-color:transparent}.CashierPageWidget{container-type:inline-size;container-name:deposit-page;height:var(--emw-cashier-page-height, var(--mmw-cashier-page-height, 100%));position:relative;box-sizing:border-box}.CashierPageWidget .CashierMethodDetailsWrapper{display:none}.CashierPageWidget:has(.Header){border-radius:6px;border:1px solid var(--mmw--color-grey-105, #E8E9EB);box-sizing:border-box}.CashierPageWidget:has(.Header) .IframeRedirect{border-radius:6px}.CashierPageWidget:has(.Header) .Content,.CashierPageWidget:has(.Header) .CashierPage,.CashierPageWidget:has(.Header) .DisablePage{height:calc(100% - var(--mmw--header-height, 40px))}.CashierPageWidget:has(.Header) .DisablePage{top:var(--mmw--header-height, 40px)}.CashierPageWidget:has(.Header) cashier-error{display:block;overflow-y:auto;scrollbar-gutter:stable both-edges;height:calc(100% - var(--mmw--header-height, 40px))}.CashierVerificationsMobile{display:none}.CashierVerificationsMethodList{display:block;border-radius:var(--mmw--border-radius-medium-plus, 6px)}.Content{height:100%;position:relative}.CashierMethodListWrapper{height:100%;overflow:auto;box-sizing:border-box;scrollbar-gutter:stable both-edges;padding:var(--emw--spacing-large, 20px) var(--emw--spacing-x-small, 10px) var(--emw--spacing-small, 12px) var(--emw--spacing-x-small, 10px);width:50%;display:flex;flex-direction:column}.CashierMethodListWrapper::-webkit-scrollbar{border-right:none}.CashierMethodListWrapper.WithoutScroll{overflow:hidden}.BothSections .CashierMethodDetailsWrapper{height:100%;overflow:auto;box-sizing:border-box;scrollbar-gutter:stable both-edges;padding:var(--emw--spacing-large, 20px) var(--emw--spacing-x-small, 10px) var(--emw--spacing-small, 12px) var(--emw--spacing-x-small, 10px);display:block;transition:all 1s;width:50%;justify-content:center;position:relative}.BothSections .CashierMethodListWrapper::-webkit-scrollbar{border-right:1px solid var(--emw--color-gray-100, #E0E0E0)}.CashierPage{position:relative;display:flex;flex-direction:row;justify-content:center;height:inherit}cashier-iframe-redirect{height:inherit;width:inherit}cashier-error{height:inherit}.IframeRedirect{display:flex;position:absolute;align-items:center;justify-content:center;width:100%;height:100%;z-index:4;top:0;left:0;background-color:var(--emw--color-white, #FFF)}.CashierConfirmModalText{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-medium, 16px)}.CashierErrorText{color:var(--mmw--color-grey-290, #666);font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-small, 14px);line-height:130%;text-align:center}.CashierErrorTitle{color:var(--emw--color-black, #000);font-weight:var(--emw--font-weight-semibold, 500);font-size:var(--emw--font-size-medium, 16px);line-height:125%;text-align:center}.CashierErrorButtonWrapper{width:100%}.CashierErrorButton{width:100%;height:36px;color:var(--emw--color-white, #FFF);text-align:center;cursor:pointer;font-size:var(--emw--font-size-medium, 16px);font-style:normal;font-weight:var(--emw--font-weight-semibold, 500);font-family:inherit;line-height:125%;border:none;border-radius:var(--emw--border-radius-medium, 4px);background:var(--emw--color-primary, #7EC51E)}.CashierErrorButton:hover{background:var(--mmw--color-main-button-hover, #71B11B)}.CashierErrorButton:active{background:var(--mmw--color-main-button-active, #5C950F)}.CashierErrorContent ui-image img,.CashierErrorIcon ui-image img{width:300px}.MobileView .CashierVerificationsMobile{display:block}.MobileView .CashierVerificationsMethodList{display:none}.MobileView.BothSections .CashierMethodListWrapper{display:none}@container deposit-page (max-width:750px){.CashierPage,.BothSections .CashierPage{flex-direction:column;justify-content:flex-start;gap:0}.CashierPage cashier-methods-list,.CashierPage cashier-method-details,.CashierPage .CashierMethodDetailsWrapper,.BothSections .CashierPage cashier-methods-list,.BothSections .CashierPage cashier-method-details,.BothSections .CashierPage .CashierMethodDetailsWrapper{width:100%;height:100%}.CashierPageWidget.FixedHeight{--mmw-cashier-page-height-padding:65px;height:var(--emw-cashier-page-height, calc(var(--mmw-cashier-page-height, 100%) - var(--mmw-cashier-page-height-padding)))}cashier-method-details{display:none}.BothSections cashier-method-details{display:flex}.BothSections .CashierMethodListWrapper{display:none}.CashierMethodListWrapper{width:100%}}.Iframe2FA{width:350px;height:450px;border:0px;display:flex;align-items:center}.Iframe2FAMobile{top:0;left:0;position:absolute;width:100%;height:100%;border:0}::-webkit-scrollbar{width:4px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background:var(--mmw--color-grey-105, #E8E9EB)}::-webkit-scrollbar-thumb:hover{background:var(--mmw--color-grey-290, #666)}");
|
|
693
695
|
}
|
|
694
696
|
function Qe(t) {
|
|
695
697
|
let e;
|
|
@@ -1497,7 +1499,7 @@ function vt(t) {
|
|
|
1497
1499
|
return {
|
|
1498
1500
|
c() {
|
|
1499
1501
|
e = g("div"), f && f.c(), i = O(), n = g("div"), p && p.c(), s = O(), w && w.c(), o = O(), d && d.c(), l = O(), h = g("div"), a && a.c(), v(n, "class", u = /*dynamicHeight*/
|
|
1500
|
-
t[38] !==
|
|
1502
|
+
t[38] !== q ? "WithoutScroll CashierMethodListWrapper" : "CashierMethodListWrapper"), v(h, "class", "CashierMethodDetailsWrapper"), v(e, "class", "CashierPage");
|
|
1501
1503
|
},
|
|
1502
1504
|
m(m, E) {
|
|
1503
1505
|
y(m, e, E), f && f.m(e, null), M(e, i), M(e, n), p && p.m(n, null), M(n, s), w && w.m(n, null), M(n, o), d && d.m(n, null), M(e, l), M(e, h), a && a.m(h, null);
|
|
@@ -1518,7 +1520,7 @@ function vt(t) {
|
|
|
1518
1520
|
m[16] !== "false" ? w ? w.p(m, E) : (w = fi(m), w.c(), w.m(n, o)) : w && (w.d(1), w = null), /*$xPaymentSessionToken*/
|
|
1519
1521
|
m[43] ? d ? d.p(m, E) : (d = hi(m), d.c(), d.m(n, null)) : d && (d.d(1), d = null), E[1] & /*dynamicHeight*/
|
|
1520
1522
|
128 && u !== (u = /*dynamicHeight*/
|
|
1521
|
-
m[38] !==
|
|
1523
|
+
m[38] !== q ? "WithoutScroll CashierMethodListWrapper" : "CashierMethodListWrapper") && v(n, "class", u), /*$xPaymentSessionToken*/
|
|
1522
1524
|
m[43] ? a ? a.p(m, E) : (a = mi(m), a.c(), a.m(h, null)) : a && (a.d(1), a = null);
|
|
1523
1525
|
},
|
|
1524
1526
|
d(m) {
|
|
@@ -1562,13 +1564,13 @@ function li(t) {
|
|
|
1562
1564
|
/*$_*/
|
|
1563
1565
|
t[42]("continueSession") + ""
|
|
1564
1566
|
), a, m, E;
|
|
1565
|
-
function
|
|
1567
|
+
function U(k, H) {
|
|
1566
1568
|
return (
|
|
1567
1569
|
/*assetsurl*/
|
|
1568
1570
|
k[8] ? Mt : Et
|
|
1569
1571
|
);
|
|
1570
1572
|
}
|
|
1571
|
-
let
|
|
1573
|
+
let D = U(t), N = D(t);
|
|
1572
1574
|
return {
|
|
1573
1575
|
c() {
|
|
1574
1576
|
e = g("div"), N.c(), i = O(), n = g("span"), o = R(s), u = O(), l = g("span"), f = R(h), p = O(), w = g("button"), a = R(d), v(e, "slot", "icon"), v(e, "class", "CashierErrorIcon"), v(n, "slot", "title"), v(n, "class", "CashierErrorTitle"), v(l, "slot", "text"), v(l, "class", "CashierErrorText"), v(w, "slot", "button"), v(w, "class", "CashierErrorButton");
|
|
@@ -1582,7 +1584,7 @@ function li(t) {
|
|
|
1582
1584
|
), m = !0);
|
|
1583
1585
|
},
|
|
1584
1586
|
p(k, H) {
|
|
1585
|
-
|
|
1587
|
+
D === (D = U(k)) && N ? N.p(k, H) : (N.d(1), N = D(k), N && (N.c(), N.m(e, null))), H[1] & /*$_*/
|
|
1586
1588
|
2048 && s !== (s = /*$_*/
|
|
1587
1589
|
k[42]("sessionExpiredTitle") + "") && I(o, s), H[1] & /*$_*/
|
|
1588
1590
|
2048 && h !== (h = /*$_*/
|
|
@@ -2348,7 +2350,7 @@ function St(t) {
|
|
|
2348
2350
|
i,
|
|
2349
2351
|
"FixedHeight",
|
|
2350
2352
|
/*dynamicHeight*/
|
|
2351
|
-
t[38] !==
|
|
2353
|
+
t[38] !== q
|
|
2352
2354
|
);
|
|
2353
2355
|
},
|
|
2354
2356
|
m(a, m) {
|
|
@@ -2377,7 +2379,7 @@ function St(t) {
|
|
|
2377
2379
|
i,
|
|
2378
2380
|
"FixedHeight",
|
|
2379
2381
|
/*dynamicHeight*/
|
|
2380
|
-
a[38] !==
|
|
2382
|
+
a[38] !== q
|
|
2381
2383
|
);
|
|
2382
2384
|
},
|
|
2383
2385
|
i: ne,
|
|
@@ -2387,10 +2389,10 @@ function St(t) {
|
|
|
2387
2389
|
}
|
|
2388
2390
|
};
|
|
2389
2391
|
}
|
|
2390
|
-
const
|
|
2392
|
+
const q = "100%";
|
|
2391
2393
|
function Ot(t, e, i) {
|
|
2392
2394
|
let n, s;
|
|
2393
|
-
|
|
2395
|
+
De(t, Ki, (c) => i(42, n = c)), De(t, ee, (c) => i(43, s = c)), Fe.extend($i);
|
|
2394
2396
|
var o;
|
|
2395
2397
|
(function(c) {
|
|
2396
2398
|
c.Default = "Default", c.RedirectWithRetry = "Redirect";
|
|
@@ -2403,7 +2405,7 @@ function Ot(t, e, i) {
|
|
|
2403
2405
|
[["Default", 0], o.Default],
|
|
2404
2406
|
[["Redirect", 1], o.RedirectWithRetry]
|
|
2405
2407
|
].reduce(u, []));
|
|
2406
|
-
let { endpoint: l } = e, { session: h } = e, { lang: f = "en" } = e, { local: p = "en-US" } = e, { translationurl: w } = e, { successurl: d } = e, { failurl: a } = e, { cancelurl: m } = e, { customerid: E } = e, { currency:
|
|
2408
|
+
let { endpoint: l } = e, { session: h } = e, { lang: f = "en" } = e, { local: p = "en-US" } = e, { translationurl: w } = e, { successurl: d } = e, { failurl: a } = e, { cancelurl: m } = e, { customerid: E } = e, { currency: U } = e, { amount: D } = e, { assetsurl: N } = e, { type: k = Ei.Deposit } = e, { channel: H = Mi.Desktop } = e, { showheader: ve = "true" } = e, { numberofmethodsshown: Ee } = e, { clientstyling: V = "" } = e, { clientstylingurl: X = "" } = e, { showsessionexpirationmodal: Me = "true" } = e, { showverifications: ke = "true" } = e, { showtransactionhistory: Te = "true" } = e, { showclosebutton: Se = "false" } = e, { txncount: Oe } = e, L = {}, Ti = new Intl.NumberFormat(p, { minimumFractionDigits: 2 }), J, G, se, oe = !1, le, Q, x, j = !1, ae, Y, He, Ce, Ne, We, ce, ue, Ze = !0, fe = q, F = !1, K = !1, Je = "", Si = window.navigator.userAgent;
|
|
2407
2409
|
const Oi = () => {
|
|
2408
2410
|
et(f);
|
|
2409
2411
|
};
|
|
@@ -2421,11 +2423,11 @@ function Ot(t, e, i) {
|
|
|
2421
2423
|
i(27, x = !0), console.log(S);
|
|
2422
2424
|
});
|
|
2423
2425
|
}, Ci = () => {
|
|
2424
|
-
i(28,
|
|
2426
|
+
i(28, j = !1), i(22, L = {}), P();
|
|
2425
2427
|
}, Ie = () => {
|
|
2426
2428
|
ee.set(null);
|
|
2427
2429
|
const c = new URL(`${l}/v2/player/${E}/payment/GetPaymentSession`), S = new Headers();
|
|
2428
|
-
S.append("accept", "application/json"), S.append("Content-Type", "application/json"), S.append("X-SessionId", `${h}`), S.append("X-Client-Request-Timestamp",
|
|
2430
|
+
S.append("accept", "application/json"), S.append("Content-Type", "application/json"), S.append("X-SessionId", `${h}`), S.append("X-Client-Request-Timestamp", Fe.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
|
|
2429
2431
|
const W = {
|
|
2430
2432
|
method: "POST",
|
|
2431
2433
|
mode: "cors",
|
|
@@ -2445,7 +2447,7 @@ function Ot(t, e, i) {
|
|
|
2445
2447
|
};
|
|
2446
2448
|
fetch(c, W).then((C) => C.json()).then((C) => {
|
|
2447
2449
|
if (C.errorCode === ki.InvalidSession) {
|
|
2448
|
-
i(30,
|
|
2450
|
+
i(30, Y = Z.InvalidSession), window.postMessage({ type: "DataLoading", isDataLoaded: !0 }), _();
|
|
2449
2451
|
return;
|
|
2450
2452
|
}
|
|
2451
2453
|
if (C.error) {
|
|
@@ -2453,7 +2455,7 @@ function Ot(t, e, i) {
|
|
|
2453
2455
|
return;
|
|
2454
2456
|
}
|
|
2455
2457
|
if (C.ResponseCode !== Z.Success) {
|
|
2456
|
-
i(30,
|
|
2458
|
+
i(30, Y = C.ResponseCode), window.postMessage({ type: "DataLoading", isDataLoaded: !0 }), _();
|
|
2457
2459
|
return;
|
|
2458
2460
|
}
|
|
2459
2461
|
C.XPaymentSessionToken && ee.set(C.XPaymentSessionToken);
|
|
@@ -2461,21 +2463,21 @@ function Ot(t, e, i) {
|
|
|
2461
2463
|
window.postMessage({ type: "DataLoading", isDataLoaded: !0 }), console.log(C);
|
|
2462
2464
|
});
|
|
2463
2465
|
}, P = () => {
|
|
2464
|
-
|
|
2466
|
+
j && Re() && !Y ? (i(35, ce = L.Label || L.Name), i(36, ue = "true")) : (i(35, ce = `header.${k.toLowerCase()}`), i(36, ue = "false"));
|
|
2465
2467
|
}, Ni = () => {
|
|
2466
2468
|
i(23, se = Re().toString()), P();
|
|
2467
|
-
}, Re = () =>
|
|
2468
|
-
|
|
2469
|
+
}, Re = () => G < 750, ze = (c) => {
|
|
2470
|
+
Le({
|
|
2469
2471
|
Name: c.detail.Name,
|
|
2470
2472
|
Label: c.detail.Label
|
|
2471
2473
|
});
|
|
2472
|
-
},
|
|
2473
|
-
i(22,
|
|
2474
|
+
}, Le = (c) => {
|
|
2475
|
+
i(22, L.Name = c.Name, L), i(22, L.Label = c.Label, L), i(28, j = !0), P();
|
|
2474
2476
|
}, _ = () => {
|
|
2475
2477
|
window.postMessage(
|
|
2476
2478
|
{
|
|
2477
2479
|
type: "ErrorResponseCode",
|
|
2478
|
-
errorResponseCode:
|
|
2480
|
+
errorResponseCode: Y
|
|
2479
2481
|
},
|
|
2480
2482
|
window.location.href
|
|
2481
2483
|
);
|
|
@@ -2497,7 +2499,7 @@ function Ot(t, e, i) {
|
|
|
2497
2499
|
);
|
|
2498
2500
|
});
|
|
2499
2501
|
}, Ji = (c) => {
|
|
2500
|
-
i(28,
|
|
2502
|
+
i(28, j = !c.hideMethodDetails), P();
|
|
2501
2503
|
};
|
|
2502
2504
|
Qi(() => (pt(Si) && i(23, se = "true"), window.addEventListener("selectPayMeth", ze, !1), window.addEventListener("message", Be, !1), () => {
|
|
2503
2505
|
window.removeEventListener("selectPayMeth", ze), window.removeEventListener("message", Be);
|
|
@@ -2505,19 +2507,19 @@ function Ot(t, e, i) {
|
|
|
2505
2507
|
const Ii = () => {
|
|
2506
2508
|
window.postMessage({ type: "HideCashierModal" }, window.location.href);
|
|
2507
2509
|
}, Ri = () => {
|
|
2508
|
-
i(30,
|
|
2509
|
-
},
|
|
2510
|
-
i(24, oe = !1);
|
|
2510
|
+
i(30, Y = null), i(25, le = null), ee.set(null), Ci(), i(39, F = !1), _(), Ie();
|
|
2511
|
+
}, Ye = () => {
|
|
2512
|
+
i(24, oe = !1), i(40, K = !1);
|
|
2511
2513
|
}, Be = (c) => {
|
|
2512
|
-
if (c.data.type === "ShowSessionError" && i(29, ae = c.data.error), c.data.type === "ToggleDisableActionOnPage" && i(26, Q = c.data.disable), c.data.type === "ErrorResponseCode" && (i(30,
|
|
2513
|
-
const S = J.getBoundingClientRect(), W = window.innerHeight || document.documentElement.clientHeight, C = Math.max(S.top, 0),
|
|
2514
|
+
if (c.data.type === "ShowSessionError" && i(29, ae = c.data.error), c.data.type === "ToggleDisableActionOnPage" && i(26, Q = c.data.disable), c.data.type === "ErrorResponseCode" && (i(30, Y = c.data.errorResponseCode), P()), c.data.type === "ShowConfirmModal" && (i(24, oe = c.data.showConfirmModal), i(31, He = c.data.editedAmount), i(32, Ce = c.data.hideAmountField)), c.data.type === "RedirectInfo" && (i(25, le = c.data.redirectUrl), i(33, Ne = c.data.redirectMode), P()), c.data.type === "ShowCashierModal" && i(34, We = c.data.modalErrorMessage), c.data.type === "SessionExpired" && (i(30, Y = Z.JwtTokenError), i(39, F = !0), Ye(), he(), _()), c.data.type === "HidePaymentDetails" && Ji(c.data.details), c.data.type === "CloseModal" && (Ye(), window.postMessage({ type: "EnableScroll" }, window.location.href)), c.data.type === "SelectPayMeth" && Le(c.data.details), c.data.type === "Show2FAModal" && (i(39, F = !0), i(41, Je = c.data.RedirectUrl), i(40, K = !0), window.postMessage({ type: "ShowCashierModal" }), window.postMessage({ type: "DisableScroll" }, window.location.href)), c.data.type === "DataLoading" && i(37, Ze = !c.data.isDataLoaded), c.data.type === "ShowCashierVideoModal") {
|
|
2515
|
+
const S = J.getBoundingClientRect(), W = window.innerHeight || document.documentElement.clientHeight, C = Math.max(S.top, 0), Yi = Math.min(S.bottom, W), Bi = Math.max(0, Yi - C);
|
|
2514
2516
|
he(`${Bi}px`);
|
|
2515
2517
|
}
|
|
2516
2518
|
c.data.type === "ClosedCashierVideoModal" && he(), c.data.ResponseCode === "Success" && c.data.ValidationNonce && (window.postMessage({
|
|
2517
2519
|
type: "2FAResponse",
|
|
2518
2520
|
code: c.data.ValidationNonce
|
|
2519
|
-
}), i(40,
|
|
2520
|
-
}, he = (c =
|
|
2521
|
+
}), i(40, K = !1), i(39, F = !1)), c.data.ResponseCode === "CancelledByCustomer" && (i(40, K = !1), i(39, F = !1), i(26, Q = !1), window.postMessage({ type: "2FACancel" })), c.data.ResponseCode === "AuthenticationFailed" && (i(40, K = !1), i(39, F = !1), i(26, Q = !1), window.postMessage({ type: "2FAAuthFailed" }));
|
|
2522
|
+
}, he = (c = q) => {
|
|
2521
2523
|
i(38, fe = c), J.style.setProperty("--mmw-cashier-page-height", fe);
|
|
2522
2524
|
};
|
|
2523
2525
|
function zi(c) {
|
|
@@ -2525,11 +2527,11 @@ function Ot(t, e, i) {
|
|
|
2525
2527
|
J = c, i(19, J);
|
|
2526
2528
|
});
|
|
2527
2529
|
}
|
|
2528
|
-
function
|
|
2529
|
-
|
|
2530
|
+
function Li() {
|
|
2531
|
+
G = this.clientWidth, i(20, G);
|
|
2530
2532
|
}
|
|
2531
2533
|
return t.$$set = (c) => {
|
|
2532
|
-
"endpoint" in c && i(0, l = c.endpoint), "session" in c && i(1, h = c.session), "lang" in c && i(2, f = c.lang), "local" in c && i(3, p = c.local), "translationurl" in c && i(4, w = c.translationurl), "successurl" in c && i(47, d = c.successurl), "failurl" in c && i(48, a = c.failurl), "cancelurl" in c && i(49, m = c.cancelurl), "customerid" in c && i(5, E = c.customerid), "currency" in c && i(6,
|
|
2534
|
+
"endpoint" in c && i(0, l = c.endpoint), "session" in c && i(1, h = c.session), "lang" in c && i(2, f = c.lang), "local" in c && i(3, p = c.local), "translationurl" in c && i(4, w = c.translationurl), "successurl" in c && i(47, d = c.successurl), "failurl" in c && i(48, a = c.failurl), "cancelurl" in c && i(49, m = c.cancelurl), "customerid" in c && i(5, E = c.customerid), "currency" in c && i(6, U = c.currency), "amount" in c && i(7, D = c.amount), "assetsurl" in c && i(8, N = c.assetsurl), "type" in c && i(9, k = c.type), "channel" in c && i(50, H = c.channel), "showheader" in c && i(10, ve = c.showheader), "numberofmethodsshown" in c && i(11, Ee = c.numberofmethodsshown), "clientstyling" in c && i(12, V = c.clientstyling), "clientstylingurl" in c && i(13, X = c.clientstylingurl), "showsessionexpirationmodal" in c && i(14, Me = c.showsessionexpirationmodal), "showverifications" in c && i(15, ke = c.showverifications), "showtransactionhistory" in c && i(16, Te = c.showtransactionhistory), "showclosebutton" in c && i(17, Se = c.showclosebutton), "txncount" in c && i(18, Oe = c.txncount);
|
|
2533
2535
|
}, t.$$.update = () => {
|
|
2534
2536
|
t.$$.dirty[0] & /*endpoint, session, customerid, lang, type*/
|
|
2535
2537
|
551 | t.$$.dirty[1] & /*channel, successurl, failurl, cancelurl*/
|
|
@@ -2539,7 +2541,7 @@ function Ot(t, e, i) {
|
|
|
2539
2541
|
4 && f && Oi(), t.$$.dirty[0] & /*lang*/
|
|
2540
2542
|
4 && f && P(), t.$$.dirty[0] & /*lang, translationurl*/
|
|
2541
2543
|
20 && f && w && Hi(), t.$$.dirty[0] & /*widgetWidth*/
|
|
2542
|
-
1048576 &&
|
|
2544
|
+
1048576 && G && Ni();
|
|
2543
2545
|
}, [
|
|
2544
2546
|
l,
|
|
2545
2547
|
h,
|
|
@@ -2547,8 +2549,8 @@ function Ot(t, e, i) {
|
|
|
2547
2549
|
p,
|
|
2548
2550
|
w,
|
|
2549
2551
|
E,
|
|
2550
|
-
|
|
2551
|
-
|
|
2552
|
+
U,
|
|
2553
|
+
D,
|
|
2552
2554
|
N,
|
|
2553
2555
|
k,
|
|
2554
2556
|
ve,
|
|
@@ -2561,17 +2563,17 @@ function Ot(t, e, i) {
|
|
|
2561
2563
|
Se,
|
|
2562
2564
|
Oe,
|
|
2563
2565
|
J,
|
|
2564
|
-
|
|
2566
|
+
G,
|
|
2565
2567
|
o,
|
|
2566
|
-
|
|
2568
|
+
L,
|
|
2567
2569
|
se,
|
|
2568
2570
|
oe,
|
|
2569
2571
|
le,
|
|
2570
2572
|
Q,
|
|
2571
2573
|
x,
|
|
2572
|
-
|
|
2574
|
+
j,
|
|
2573
2575
|
ae,
|
|
2574
|
-
|
|
2576
|
+
Y,
|
|
2575
2577
|
He,
|
|
2576
2578
|
Ce,
|
|
2577
2579
|
Ne,
|
|
@@ -2580,8 +2582,8 @@ function Ot(t, e, i) {
|
|
|
2580
2582
|
ue,
|
|
2581
2583
|
Ze,
|
|
2582
2584
|
fe,
|
|
2583
|
-
|
|
2584
|
-
|
|
2585
|
+
F,
|
|
2586
|
+
K,
|
|
2585
2587
|
Je,
|
|
2586
2588
|
n,
|
|
2587
2589
|
s,
|
|
@@ -2593,7 +2595,7 @@ function Ot(t, e, i) {
|
|
|
2593
2595
|
m,
|
|
2594
2596
|
H,
|
|
2595
2597
|
zi,
|
|
2596
|
-
|
|
2598
|
+
Li
|
|
2597
2599
|
];
|
|
2598
2600
|
}
|
|
2599
2601
|
class Ht extends Ui {
|