@everymatrix/cashier-page 1.98.28 → 1.98.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-CIrhQ1F1.js → CashierCarousel-3bBExAfX.js} +160 -136
- package/components/{CashierCarousel-CibDHVzx.js → CashierCarousel-C0iOhcfu.js} +166 -142
- package/components/CashierCarousel-DACE1tKH.cjs +1 -0
- package/components/{CashierError-ulLnVgQF.js → CashierError-C2laBAxm.js} +282 -178
- package/components/{CashierError-BgzGU74G.js → CashierError-CE7_mcoB.js} +282 -178
- package/components/{CashierError-DhQtatzN.cjs → CashierError-D5O8VRb7.cjs} +1 -1
- package/components/{CashierHeader-CnMNnCMA.js → CashierHeader-C1q5WV57.js} +144 -130
- package/components/CashierHeader-CHEzsRF0.cjs +1 -0
- package/components/{CashierHeader-CyXIVUoS.js → CashierHeader-Dm7TURe3.js} +144 -130
- package/components/{CashierIframeRedirect-BUy5m6fN.js → CashierIframeRedirect-C77nD3AG.js} +38 -32
- package/components/{CashierIframeRedirect-DOCts-eZ.js → CashierIframeRedirect-CbkM19jX.js} +38 -32
- package/components/CashierIframeRedirect-CnDLsDYN.cjs +1 -0
- package/components/{CashierMethodDetails-B-klrcoA.js → CashierMethodDetails-CmCUjtZZ.js} +1500 -1304
- package/components/{CashierMethodDetails-DmHKHr2M.cjs → CashierMethodDetails-DcHxycYB.cjs} +4 -4
- package/components/{CashierMethodDetails-BHGrCcE3.js → CashierMethodDetails-g-EHhr4t.js} +1345 -1149
- package/components/CashierMethodsList-BaUQBBIX.cjs +1 -0
- package/components/{CashierMethodsList-7ACO_YE6.js → CashierMethodsList-DgEtoxRa.js} +152 -128
- package/components/{CashierMethodsList-Cr1BX878.js → CashierMethodsList-kwzWzUdM.js} +136 -112
- package/components/{CashierModal-Ke9TZX5s.js → CashierModal-Bpf1W4TW.js} +2 -2
- package/components/{CashierModal-BdpiH2_j.cjs → CashierModal-D8_Y0ZU6.cjs} +1 -1
- package/components/{CashierModal-4iF9ylQT.js → CashierModal-DfBiGe-Y.js} +2 -2
- package/components/{CashierNotifications-DOZcnn7M.js → CashierNotifications-CXsZaMzr.js} +1 -1
- package/components/{CashierNotifications-BVJkJQAP.js → CashierNotifications-LH8DhGDl.js} +1 -1
- package/components/{CashierNotifications-B_kxAZOz.cjs → CashierNotifications-ZtPfOc6V.cjs} +1 -1
- package/components/CashierPage-BOWMSZ9v.cjs +23 -0
- package/components/{CashierPage-Bz6JgmrH.js → CashierPage-CiyPlHzj.js} +715 -616
- package/components/{CashierPage-DmYelgiN.js → CashierPage-DdCmt2zp.js} +972 -871
- package/components/{CashierReceiptPage-D5PB-1VI.js → CashierReceiptPage-A54bEgRe.js} +567 -381
- package/components/{CashierReceiptPage-CEQajL7m.js → CashierReceiptPage-BHkIMd6B.js} +470 -284
- package/components/{CashierReceiptPage-2-P4gA2W.cjs → CashierReceiptPage-CeVo2qP_.cjs} +2 -2
- package/components/{CashierSessionExpirationModal-CePJRUlu.js → CashierSessionExpirationModal-C8EUenjL.js} +141 -125
- package/components/CashierSessionExpirationModal-CT28y-Dy.cjs +2 -0
- package/components/{CashierSessionExpirationModal-BZyLc1_S.js → CashierSessionExpirationModal-DqUoBpXM.js} +141 -125
- package/components/{CashierSpinner-C9Ra-0IT.js → CashierSpinner-B3ab9--E.js} +2 -2
- package/components/{CashierSpinner-BF0PvrCl.cjs → CashierSpinner-DTiIwXJs.cjs} +1 -1
- package/components/{CashierSpinner-CB2IDF99.js → CashierSpinner-xkYSSmKN.js} +2 -2
- package/components/CashierStepUp-C4aK_vrD.cjs +1 -0
- package/components/{CashierStepUp-Ck0xq8Xm.js → CashierStepUp-CgG4aO_s.js} +371 -325
- package/components/{CashierStepUp-B3Ph1OSf.js → CashierStepUp-DNo6sy36.js} +397 -351
- package/components/CashierTransactionHistory-2O9iJlJI.cjs +1 -0
- package/components/{CashierTransactionHistory-D5wsFJEM.js → CashierTransactionHistory-Ca3FNiKJ.js} +522 -472
- package/components/{CashierTransactionHistory-CoTFYN7l.js → CashierTransactionHistory-oApbxEt2.js} +494 -444
- package/components/CashierVerifications-CcDH-3z5.cjs +1 -0
- package/components/{CashierVerifications-BEFmSXtj.js → CashierVerifications-CzTI2EZ4.js} +245 -199
- package/components/{CashierVerifications-CA42knBf.js → CashierVerifications-DR7dYjc4.js} +256 -210
- package/components/{TxnStatusIcon-Bw8L-eXX.js → TxnStatusIcon-Clv1k2Ma.js} +1 -1
- package/components/{TxnStatusIcon-8ewM4ccO.js → TxnStatusIcon-DPf3O_DU.js} +1 -1
- package/components/{TxnStatusIcon-CgTqMiw9.cjs → TxnStatusIcon-i-LsiwNC.cjs} +1 -1
- package/components/{TxnTypeIcons-DhQNGQt2.js → TxnTypeIcons-36d9TALW.js} +1 -1
- package/components/{TxnTypeIcons-2TqkD6dM.cjs → TxnTypeIcons-D4tuuQoe.cjs} +1 -1
- package/components/{TxnTypeIcons-5Ao_1BRX.js → TxnTypeIcons-DYUOz_RG.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
- package/components/CashierCarousel-BSgX_-9d.cjs +0 -1
- package/components/CashierCarousel-BSxRIpNj.js +0 -708
- package/components/CashierCarousel-BnsrLQLz.cjs +0 -1
- package/components/CashierCarousel-BsryNC67.js +0 -711
- package/components/CashierCarousel-CLl1dEO0.js +0 -711
- package/components/CashierCarousel-D0dDvgaj.js +0 -708
- package/components/CashierCarousel-DVLQpSbh.js +0 -711
- package/components/CashierCarousel-Dh5Q3q4o.cjs +0 -1
- package/components/CashierCarousel-DucLdPiP.cjs +0 -1
- package/components/CashierCarousel-jiScaw1m.js +0 -708
- package/components/CashierError-B19WWS6q.js +0 -849
- package/components/CashierError-C9QJqSOU.cjs +0 -1
- package/components/CashierError-CJMwmI7N.js +0 -849
- package/components/CashierError-CL9tcScj.js +0 -849
- package/components/CashierError-CpI-ZvDt.js +0 -849
- package/components/CashierError-DY-spTTl.js +0 -849
- package/components/CashierError-f4ZqXuJH.js +0 -849
- package/components/CashierError-mFSpkELc.cjs +0 -1
- package/components/CashierError-nb2MHtLH.cjs +0 -1
- package/components/CashierHeader-9Jv4Zu9U.cjs +0 -1
- package/components/CashierHeader-CmmEk0QP.cjs +0 -1
- package/components/CashierHeader-DA_ReO25.cjs +0 -1
- package/components/CashierHeader-DEksQqYQ.js +0 -477
- package/components/CashierHeader-DwvRD5WU.js +0 -477
- package/components/CashierHeader-J44Qka8M.js +0 -477
- package/components/CashierHeader-SrIA_1me.cjs +0 -1
- package/components/CashierHeader-TK2-BiHl.js +0 -477
- package/components/CashierHeader-jQ2-E617.js +0 -477
- package/components/CashierHeader-vy8HyWPz.js +0 -477
- package/components/CashierIframeRedirect-5s9ZtG-5.cjs +0 -1
- package/components/CashierIframeRedirect-BseB9TAg.js +0 -387
- package/components/CashierIframeRedirect-C2UcYLWG.cjs +0 -1
- package/components/CashierIframeRedirect-CB1_eaMN.cjs +0 -1
- package/components/CashierIframeRedirect-CTHqad7Z.js +0 -387
- package/components/CashierIframeRedirect-CyY79191.js +0 -387
- package/components/CashierIframeRedirect-DdKFPBSa.js +0 -387
- package/components/CashierIframeRedirect-Dhu2OC9A.js +0 -387
- package/components/CashierIframeRedirect-N8QJeLeb.cjs +0 -1
- package/components/CashierIframeRedirect-lM7pHpa9.js +0 -387
- package/components/CashierMethodDetails-BWknB3e7.js +0 -11385
- package/components/CashierMethodDetails-C38oxecJ.js +0 -11821
- package/components/CashierMethodDetails-CEt1JRHd.js +0 -11758
- package/components/CashierMethodDetails-CR-B6W_o.js +0 -11758
- package/components/CashierMethodDetails-CoVztEid.cjs +0 -238
- package/components/CashierMethodDetails-D0FWPJ2H.js +0 -11336
- package/components/CashierMethodDetails-DT4GvTpz.cjs +0 -238
- package/components/CashierMethodDetails-DVnlD9Uk.cjs +0 -85
- package/components/CashierMethodDetails-jCkj4SrI.js +0 -11821
- package/components/CashierMethodsList-BvOniQPF.cjs +0 -1
- package/components/CashierMethodsList-BxvD9zAR.js +0 -969
- package/components/CashierMethodsList-BzQxrxu_.cjs +0 -1
- package/components/CashierMethodsList-CMaD5FXj.js +0 -955
- package/components/CashierMethodsList-C_ldRYq_.js +0 -969
- package/components/CashierMethodsList-Cy2Vsr78.js +0 -955
- package/components/CashierMethodsList-DR3WLcjt.cjs +0 -1
- package/components/CashierMethodsList-DYRS6KJx.cjs +0 -1
- package/components/CashierMethodsList-KXr3hScy.js +0 -955
- package/components/CashierMethodsList-u11i0SYf.js +0 -969
- package/components/CashierModal-B-UWvltM.js +0 -386
- package/components/CashierModal-BitlQX-o.cjs +0 -1
- package/components/CashierModal-C0Xof_AE.js +0 -402
- package/components/CashierModal-CcawnfUI.cjs +0 -1
- package/components/CashierModal-CevNAvJE.js +0 -386
- package/components/CashierModal-DJ3Q9obn.js +0 -402
- package/components/CashierModal-Dsi_oVHh.js +0 -402
- package/components/CashierModal-DwEKUjMK.cjs +0 -1
- package/components/CashierModal-aBGB4ejQ.js +0 -386
- package/components/CashierNotifications-BanZGIkE.js +0 -129
- package/components/CashierNotifications-C2ND2S-i.cjs +0 -1
- package/components/CashierNotifications-CY2B13Wf.js +0 -129
- package/components/CashierNotifications-CyCI6ksG.js +0 -129
- package/components/CashierNotifications-DnmlBB_Q.cjs +0 -1
- package/components/CashierNotifications-DquKOU8w.js +0 -129
- package/components/CashierNotifications-Du8trHf6.js +0 -129
- package/components/CashierNotifications-WS_5AwbR.js +0 -129
- package/components/CashierNotifications-wQG099OX.cjs +0 -1
- package/components/CashierPage-895aolw0.js +0 -10288
- package/components/CashierPage-BKglURO0.js +0 -10233
- package/components/CashierPage-BU42FSzD.js +0 -10307
- package/components/CashierPage-BkADSeGN.cjs +0 -23
- package/components/CashierPage-Bmy89dKm.cjs +0 -23
- package/components/CashierPage-Cdtyq0lf.js +0 -10307
- package/components/CashierPage-DEYpTaJv.cjs +0 -23
- package/components/CashierPage-DYXRnLVw.js +0 -10254
- package/components/CashierPage-TRzKwGkj.cjs +0 -23
- package/components/CashierPage-mGP6lkFv.js +0 -10254
- package/components/CashierReceiptPage-B3cqHXqT.js +0 -2043
- package/components/CashierReceiptPage-BCh5OfiT.cjs +0 -29
- package/components/CashierReceiptPage-BjTVzjuc.js +0 -2063
- package/components/CashierReceiptPage-BoZ2EpUX.cjs +0 -29
- package/components/CashierReceiptPage-CGcmTBRp.js +0 -2063
- package/components/CashierReceiptPage-DNsdCwQQ.js +0 -2043
- package/components/CashierReceiptPage-DWyirru6.js +0 -2063
- package/components/CashierReceiptPage-DkwFQrzl.cjs +0 -29
- package/components/CashierReceiptPage-mvS7a_9t.js +0 -2043
- package/components/CashierSessionExpirationModal-15tJe60J.cjs +0 -2
- package/components/CashierSessionExpirationModal-B0TYP3cY.cjs +0 -2
- package/components/CashierSessionExpirationModal-BrfbbbF-.js +0 -1212
- package/components/CashierSessionExpirationModal-BrhADqF1.js +0 -1212
- package/components/CashierSessionExpirationModal-CIrMZkSD.cjs +0 -2
- package/components/CashierSessionExpirationModal-CY385n9R.js +0 -1212
- package/components/CashierSessionExpirationModal-Cb456WpL.cjs +0 -2
- package/components/CashierSessionExpirationModal-DXVLX-Ja.js +0 -1212
- package/components/CashierSessionExpirationModal-IfrOHdOp.js +0 -1212
- package/components/CashierSessionExpirationModal-i5NfYzNE.js +0 -1212
- package/components/CashierSpinner-BQv2AMHG.js +0 -79
- package/components/CashierSpinner-Bpe0d0oQ.js +0 -79
- package/components/CashierSpinner-BvhJgDvg.js +0 -79
- package/components/CashierSpinner-CFUNSysS.js +0 -79
- package/components/CashierSpinner-CKdmXXKt.cjs +0 -1
- package/components/CashierSpinner-D6D1AmR0.cjs +0 -1
- package/components/CashierSpinner-DrZub22H.js +0 -79
- package/components/CashierSpinner-bOYmQpsr.js +0 -79
- package/components/CashierSpinner-mcvtpHVb.cjs +0 -1
- package/components/CashierStepUp-4fnHnyQH.cjs +0 -1
- package/components/CashierStepUp-CKae09kD.js +0 -1201
- package/components/CashierStepUp-CNHvoNU1.js +0 -1161
- package/components/CashierStepUp-CVfdA9uX.js +0 -1201
- package/components/CashierStepUp-ChUBdlnk.cjs +0 -1
- package/components/CashierStepUp-Cj8xEgHC.js +0 -1264
- package/components/CashierStepUp-DH4pCg7V.cjs +0 -1
- package/components/CashierStepUp-DIQ9DrxX.cjs +0 -1
- package/components/CashierStepUp-DfYWcQde.js +0 -1161
- package/components/CashierStepUp-iS4DfmUJ.js +0 -1304
- package/components/CashierTransactionHistory-B6FzMX9a.js +0 -1415
- package/components/CashierTransactionHistory-B9a9qQjo.js +0 -1415
- package/components/CashierTransactionHistory-BSRmZpn2.cjs +0 -1
- package/components/CashierTransactionHistory-Bkqw8dMT.cjs +0 -1
- package/components/CashierTransactionHistory-C8SSHcED.js +0 -1415
- package/components/CashierTransactionHistory-C9q1W_66.js +0 -1415
- package/components/CashierTransactionHistory-DkPMVofl.js +0 -1415
- package/components/CashierTransactionHistory-DrZj3C3r.cjs +0 -1
- package/components/CashierTransactionHistory-_uQpfmaM.js +0 -1415
- package/components/CashierTransactionHistory-veYBG-Kr.cjs +0 -1
- package/components/CashierVerifications-BI_yu8fO.js +0 -722
- package/components/CashierVerifications-BUuzc2KV.cjs +0 -1
- package/components/CashierVerifications-BZPBsrmc.cjs +0 -1
- package/components/CashierVerifications-Bu-KbeZF.cjs +0 -1
- package/components/CashierVerifications-Bu0ALHD1.js +0 -722
- package/components/CashierVerifications-C3vBxGTw.js +0 -726
- package/components/CashierVerifications-CBtYGTLV.js +0 -726
- package/components/CashierVerifications-CJjMkvTK.js +0 -722
- package/components/CashierVerifications-D692oxDO.js +0 -726
- package/components/CashierVerifications-nyuz_0L4.cjs +0 -1
- package/components/TxnStatusIcon-B6x0tb9z.js +0 -142
- package/components/TxnStatusIcon-B99-DjyY.js +0 -142
- package/components/TxnStatusIcon-BO-jJSDC.js +0 -142
- package/components/TxnStatusIcon-CspMEKjU.cjs +0 -1
- package/components/TxnStatusIcon-DKI_hVK8.cjs +0 -1
- package/components/TxnStatusIcon-ObLzHWKw.cjs +0 -1
- package/components/TxnStatusIcon-T3_oGTiJ.js +0 -142
- package/components/TxnStatusIcon-_ohfqibs.js +0 -142
- package/components/TxnStatusIcon-xhjNtEZS.js +0 -142
- package/components/TxnTypeIcons-BL543vM-.js +0 -101
- package/components/TxnTypeIcons-BxLbK2qP.cjs +0 -1
- package/components/TxnTypeIcons-CM9KOumw.js +0 -101
- package/components/TxnTypeIcons-Cv_QN0g3.js +0 -101
- package/components/TxnTypeIcons-DFX30GCY.js +0 -101
- package/components/TxnTypeIcons-Dv_tv357.js +0 -101
- package/components/TxnTypeIcons-SOn0rg4y.cjs +0 -1
- package/components/TxnTypeIcons-gD4j8VCB.js +0 -101
- package/components/TxnTypeIcons-mX1zqVBL.cjs +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as U, i as Z, $ as J, S as P, b as G, s as K, f as b, c as Q, y as L, e as k, O as a, J as B, o as w, k as v, l as _, z as H, m as p, n as S, q as V, x as W, A as X } from "./CashierPage-
|
|
2
|
-
import { s as Y, a as x, b as $ } from "./CashierHeader-
|
|
1
|
+
import { a as U, i as Z, $ as J, S as P, b as G, s as K, f as b, c as Q, y as L, e as k, O as a, J as B, o as w, k as v, l as _, z as H, m as p, n as S, q as V, x as W, A as X } from "./CashierPage-DdCmt2zp.js";
|
|
2
|
+
import { s as Y, a as x, b as $ } from "./CashierHeader-Dm7TURe3.js";
|
|
3
3
|
function R(i, e) {
|
|
4
4
|
U(i, e);
|
|
5
5
|
}
|
|
@@ -8,7 +8,7 @@ function ee(i) {
|
|
|
8
8
|
fallbackLocale: "en"
|
|
9
9
|
}), J.set(i);
|
|
10
10
|
}
|
|
11
|
-
const
|
|
11
|
+
const z = {
|
|
12
12
|
en: {
|
|
13
13
|
redirectHeader: "Deposit redirect"
|
|
14
14
|
},
|
|
@@ -26,6 +26,12 @@ const F = {
|
|
|
26
26
|
},
|
|
27
27
|
nl: {
|
|
28
28
|
redirectHeader: "Stortingsomleiding"
|
|
29
|
+
},
|
|
30
|
+
ru: {
|
|
31
|
+
redirectHeader: "Перенаправление депозита"
|
|
32
|
+
},
|
|
33
|
+
az: {
|
|
34
|
+
redirectHeader: "Depozit yönləndirməsi"
|
|
29
35
|
}
|
|
30
36
|
};
|
|
31
37
|
if (typeof window != "undefined") {
|
|
@@ -40,14 +46,14 @@ if (typeof window != "undefined") {
|
|
|
40
46
|
}
|
|
41
47
|
};
|
|
42
48
|
};
|
|
43
|
-
customElements.define = i(customElements.define), import("./CashierSpinner-
|
|
49
|
+
customElements.define = i(customElements.define), import("./CashierSpinner-B3ab9--E.js").then(({ default: e }) => {
|
|
44
50
|
!customElements.get("cashier-spinner") && customElements.define("cashier-spinner", e.element);
|
|
45
51
|
});
|
|
46
52
|
}
|
|
47
53
|
function te(i) {
|
|
48
54
|
Q(i, "svelte-14e65vo", ".CashierRedirectIframe{height:100%;width:100%;position:fixed;top:0;left:0;display:flex;align-items:center;justify-content:center;flex-direction:column}iframe{border-radius:0 0 6px 6px;border:1px solid var(--emw--color-grey-105, #E8E9EB);height:calc(100% - var(--emw--header-height, 40px));width:100%;box-sizing:border-box;width:100%;height:100%;background-color:var(--emw--color-background, #F9FAFF)}.CashierHeaderLeftButton{font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;display:flex;align-items:center;font-variant:all-small-caps;height:32px;margin-left:5px;gap:2px;cursor:pointer;stroke:var(--emw--color-primary, #F9C405)}.CashierHeaderLeftButton svg path{fill:var(--emw--color-primary, #F9C405)}.CashierHeaderRightButton{position:absolute;display:flex;justify-content:space-between;align-items:center;padding:0 var(--emw--spacing-small, 12px);height:inherit;right:0;gap:var(--emw--spacing-small, 12px);cursor:pointer;fill:var(--emw--color-primary, #F9C405)}");
|
|
49
55
|
}
|
|
50
|
-
function
|
|
56
|
+
function F(i) {
|
|
51
57
|
let e, t, s;
|
|
52
58
|
return {
|
|
53
59
|
c() {
|
|
@@ -67,7 +73,7 @@ function I(i) {
|
|
|
67
73
|
}
|
|
68
74
|
};
|
|
69
75
|
}
|
|
70
|
-
function
|
|
76
|
+
function I(i) {
|
|
71
77
|
let e, t, s;
|
|
72
78
|
return {
|
|
73
79
|
c() {
|
|
@@ -87,7 +93,7 @@ function j(i) {
|
|
|
87
93
|
}
|
|
88
94
|
};
|
|
89
95
|
}
|
|
90
|
-
function
|
|
96
|
+
function j(i) {
|
|
91
97
|
let e;
|
|
92
98
|
return {
|
|
93
99
|
c() {
|
|
@@ -138,13 +144,13 @@ function z(i) {
|
|
|
138
144
|
};
|
|
139
145
|
}
|
|
140
146
|
function ie(i) {
|
|
141
|
-
let e, t, s, f, d, g, m, h,
|
|
147
|
+
let e, t, s, f, d, g, m, h, y, o = !!/*showbackbutton*/
|
|
142
148
|
i[3] && /*showbackbutton*/
|
|
143
|
-
i[3] !== "false" &&
|
|
149
|
+
i[3] !== "false" && F(i), r = (!/*showbackbutton*/
|
|
144
150
|
i[3] || /*showbackbutton*/
|
|
145
|
-
i[3] === "false") &&
|
|
151
|
+
i[3] === "false") && I(i), c = (
|
|
146
152
|
/*isLoading*/
|
|
147
|
-
i[9] &&
|
|
153
|
+
i[9] && j(i)
|
|
148
154
|
);
|
|
149
155
|
return {
|
|
150
156
|
c() {
|
|
@@ -187,7 +193,7 @@ function ie(i) {
|
|
|
187
193
|
i[1]) || w(g, "src", m), w(g, "frameborder", "0"), w(e, "class", "CashierRedirectIframe");
|
|
188
194
|
},
|
|
189
195
|
m(l, u) {
|
|
190
|
-
v(l, e, u), _(e, t), o && o.m(t, null), _(t, s), r && r.m(t, null), _(e, f), c && c.m(e, null), _(e, d), _(e, g), i[13](e), h || (
|
|
196
|
+
v(l, e, u), _(e, t), o && o.m(t, null), _(t, s), r && r.m(t, null), _(e, f), c && c.m(e, null), _(e, d), _(e, g), i[13](e), h || (y = H(
|
|
191
197
|
g,
|
|
192
198
|
"load",
|
|
193
199
|
/*load_handler*/
|
|
@@ -197,9 +203,9 @@ function ie(i) {
|
|
|
197
203
|
p(l, [u]) {
|
|
198
204
|
/*showbackbutton*/
|
|
199
205
|
l[3] && /*showbackbutton*/
|
|
200
|
-
l[3] !== "false" ? o ? o.p(l, u) : (o =
|
|
206
|
+
l[3] !== "false" ? o ? o.p(l, u) : (o = F(l), o.c(), o.m(t, s)) : o && (o.d(1), o = null), !/*showbackbutton*/
|
|
201
207
|
l[3] || /*showbackbutton*/
|
|
202
|
-
l[3] === "false" ? r ? r.p(l, u) : (r =
|
|
208
|
+
l[3] === "false" ? r ? r.p(l, u) : (r = I(l), r.c(), r.m(t, null)) : r && (r.d(1), r = null), u & /*lang*/
|
|
203
209
|
1 && a(
|
|
204
210
|
t,
|
|
205
211
|
"lang",
|
|
@@ -242,42 +248,42 @@ function ie(i) {
|
|
|
242
248
|
/*mbsource*/
|
|
243
249
|
l[4]
|
|
244
250
|
), /*isLoading*/
|
|
245
|
-
l[9] ? c ? c.p(l, u) : (c =
|
|
251
|
+
l[9] ? c ? c.p(l, u) : (c = j(l), c.c(), c.m(e, d)) : c && (c.d(1), c = null), u & /*iframeurl*/
|
|
246
252
|
2 && !B(g.src, m = /*iframeurl*/
|
|
247
253
|
l[1]) && w(g, "src", m);
|
|
248
254
|
},
|
|
249
255
|
i: L,
|
|
250
256
|
o: L,
|
|
251
257
|
d(l) {
|
|
252
|
-
l && k(e), o && o.d(), r && r.d(), c && c.d(), i[13](null), h = !1,
|
|
258
|
+
l && k(e), o && o.d(), r && r.d(), c && c.d(), i[13](null), h = !1, y();
|
|
253
259
|
}
|
|
254
260
|
};
|
|
255
261
|
}
|
|
256
262
|
function ne(i, e, t) {
|
|
257
|
-
let { lang: s = "en" } = e, { iframeurl: f } = e, { translationurl: d = "" } = e, { showbackbutton: g = "" } = e, { mbsource: m } = e, { clientstyling: h } = e, { clientstylingurl:
|
|
263
|
+
let { lang: s = "en" } = e, { iframeurl: f } = e, { translationurl: d = "" } = e, { showbackbutton: g = "" } = e, { mbsource: m } = e, { clientstyling: h } = e, { clientstylingurl: y } = e, { title: o = "" } = e, r, c, l = !0;
|
|
258
264
|
const u = () => {
|
|
259
265
|
let n = d;
|
|
260
266
|
if (n)
|
|
261
|
-
return fetch(n).then((
|
|
262
|
-
Object.keys(
|
|
263
|
-
R(M,
|
|
267
|
+
return fetch(n).then((C) => C.json()).then((C) => {
|
|
268
|
+
Object.keys(C).forEach((M) => {
|
|
269
|
+
R(M, C[M]);
|
|
264
270
|
});
|
|
265
|
-
}).catch((
|
|
266
|
-
console.log(
|
|
271
|
+
}).catch((C) => {
|
|
272
|
+
console.log(C);
|
|
267
273
|
});
|
|
268
274
|
};
|
|
269
|
-
Object.keys(
|
|
270
|
-
R(n,
|
|
275
|
+
Object.keys(z).forEach((n) => {
|
|
276
|
+
R(n, z[n]);
|
|
271
277
|
});
|
|
272
278
|
const A = () => {
|
|
273
279
|
ee(s);
|
|
274
|
-
},
|
|
280
|
+
}, D = () => {
|
|
275
281
|
window.postMessage({ type: "CloseIframe" }, window.location.href);
|
|
276
282
|
}, E = (n) => {
|
|
277
283
|
n.target.src && t(9, l = !1);
|
|
278
|
-
},
|
|
279
|
-
V(() => (
|
|
280
|
-
|
|
284
|
+
}, O = () => window.postMessage({ type: "DisableScroll" }, window.location.href), T = () => window.postMessage({ type: "EnableScroll" }, window.location.href);
|
|
285
|
+
V(() => (O(), () => {
|
|
286
|
+
T();
|
|
281
287
|
}));
|
|
282
288
|
const q = (n) => E(n);
|
|
283
289
|
function N(n) {
|
|
@@ -286,13 +292,13 @@ function ne(i, e, t) {
|
|
|
286
292
|
});
|
|
287
293
|
}
|
|
288
294
|
return i.$$set = (n) => {
|
|
289
|
-
"lang" in n && t(0, s = n.lang), "iframeurl" in n && t(1, f = n.iframeurl), "translationurl" in n && t(2, d = n.translationurl), "showbackbutton" in n && t(3, g = n.showbackbutton), "mbsource" in n && t(4, m = n.mbsource), "clientstyling" in n && t(5, h = n.clientstyling), "clientstylingurl" in n && t(6,
|
|
295
|
+
"lang" in n && t(0, s = n.lang), "iframeurl" in n && t(1, f = n.iframeurl), "translationurl" in n && t(2, d = n.translationurl), "showbackbutton" in n && t(3, g = n.showbackbutton), "mbsource" in n && t(4, m = n.mbsource), "clientstyling" in n && t(5, h = n.clientstyling), "clientstylingurl" in n && t(6, y = n.clientstylingurl), "title" in n && t(7, o = n.title);
|
|
290
296
|
}, i.$$.update = () => {
|
|
291
297
|
i.$$.dirty & /*lang*/
|
|
292
298
|
1 && s && A(), i.$$.dirty & /*translationurl*/
|
|
293
299
|
4 && d && u(), i.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
294
300
|
288 && h && r && Y(r, h), i.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
295
|
-
320 &&
|
|
301
|
+
320 && y && r && x(r, y), i.$$.dirty & /*mbsource, customStylingContainer*/
|
|
296
302
|
272 && m && r && $(r, `${m}.Style`, c);
|
|
297
303
|
}, [
|
|
298
304
|
s,
|
|
@@ -301,11 +307,11 @@ function ne(i, e, t) {
|
|
|
301
307
|
g,
|
|
302
308
|
m,
|
|
303
309
|
h,
|
|
304
|
-
|
|
310
|
+
y,
|
|
305
311
|
o,
|
|
306
312
|
r,
|
|
307
313
|
l,
|
|
308
|
-
|
|
314
|
+
D,
|
|
309
315
|
E,
|
|
310
316
|
q,
|
|
311
317
|
N
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as U, i as Z, $ as J, S as P, b as G, s as K, f as b, d as Q, z as L, g as k, O as a, J as B, p as w, l as v, m as _, A as H, n as p, o as S, r as V, y as W, c as X } from "./CashierPage-
|
|
2
|
-
import { s as Y, a as x, b as $ } from "./CashierHeader-
|
|
1
|
+
import { a as U, i as Z, $ as J, S as P, b as G, s as K, f as b, d as Q, z as L, g as k, O as a, J as B, p as w, l as v, m as _, A as H, n as p, o as S, r as V, y as W, c as X } from "./CashierPage-CiyPlHzj.js";
|
|
2
|
+
import { s as Y, a as x, b as $ } from "./CashierHeader-C1q5WV57.js";
|
|
3
3
|
function R(i, e) {
|
|
4
4
|
U(i, e);
|
|
5
5
|
}
|
|
@@ -8,7 +8,7 @@ function ee(i) {
|
|
|
8
8
|
fallbackLocale: "en"
|
|
9
9
|
}), J.set(i);
|
|
10
10
|
}
|
|
11
|
-
const
|
|
11
|
+
const z = {
|
|
12
12
|
en: {
|
|
13
13
|
redirectHeader: "Deposit redirect"
|
|
14
14
|
},
|
|
@@ -26,6 +26,12 @@ const F = {
|
|
|
26
26
|
},
|
|
27
27
|
nl: {
|
|
28
28
|
redirectHeader: "Stortingsomleiding"
|
|
29
|
+
},
|
|
30
|
+
ru: {
|
|
31
|
+
redirectHeader: "Перенаправление депозита"
|
|
32
|
+
},
|
|
33
|
+
az: {
|
|
34
|
+
redirectHeader: "Depozit yönləndirməsi"
|
|
29
35
|
}
|
|
30
36
|
};
|
|
31
37
|
if (typeof window < "u") {
|
|
@@ -40,14 +46,14 @@ if (typeof window < "u") {
|
|
|
40
46
|
}
|
|
41
47
|
};
|
|
42
48
|
};
|
|
43
|
-
customElements.define = i(customElements.define), import("./CashierSpinner-
|
|
49
|
+
customElements.define = i(customElements.define), import("./CashierSpinner-xkYSSmKN.js").then(({ default: e }) => {
|
|
44
50
|
!customElements.get("cashier-spinner") && customElements.define("cashier-spinner", e.element);
|
|
45
51
|
});
|
|
46
52
|
}
|
|
47
53
|
function te(i) {
|
|
48
54
|
Q(i, "svelte-14e65vo", ".CashierRedirectIframe{height:100%;width:100%;position:fixed;top:0;left:0;display:flex;align-items:center;justify-content:center;flex-direction:column}iframe{border-radius:0 0 6px 6px;border:1px solid var(--emw--color-grey-105, #E8E9EB);height:calc(100% - var(--emw--header-height, 40px));width:100%;box-sizing:border-box;width:100%;height:100%;background-color:var(--emw--color-background, #F9FAFF)}.CashierHeaderLeftButton{font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;display:flex;align-items:center;font-variant:all-small-caps;height:32px;margin-left:5px;gap:2px;cursor:pointer;stroke:var(--emw--color-primary, #F9C405)}.CashierHeaderLeftButton svg path{fill:var(--emw--color-primary, #F9C405)}.CashierHeaderRightButton{position:absolute;display:flex;justify-content:space-between;align-items:center;padding:0 var(--emw--spacing-small, 12px);height:inherit;right:0;gap:var(--emw--spacing-small, 12px);cursor:pointer;fill:var(--emw--color-primary, #F9C405)}");
|
|
49
55
|
}
|
|
50
|
-
function
|
|
56
|
+
function F(i) {
|
|
51
57
|
let e, t, s;
|
|
52
58
|
return {
|
|
53
59
|
c() {
|
|
@@ -67,7 +73,7 @@ function I(i) {
|
|
|
67
73
|
}
|
|
68
74
|
};
|
|
69
75
|
}
|
|
70
|
-
function
|
|
76
|
+
function I(i) {
|
|
71
77
|
let e, t, s;
|
|
72
78
|
return {
|
|
73
79
|
c() {
|
|
@@ -87,7 +93,7 @@ function j(i) {
|
|
|
87
93
|
}
|
|
88
94
|
};
|
|
89
95
|
}
|
|
90
|
-
function
|
|
96
|
+
function j(i) {
|
|
91
97
|
let e;
|
|
92
98
|
return {
|
|
93
99
|
c() {
|
|
@@ -138,13 +144,13 @@ function z(i) {
|
|
|
138
144
|
};
|
|
139
145
|
}
|
|
140
146
|
function ie(i) {
|
|
141
|
-
let e, t, s, f, d, g, m, h,
|
|
147
|
+
let e, t, s, f, d, g, m, h, y, o = !!/*showbackbutton*/
|
|
142
148
|
i[3] && /*showbackbutton*/
|
|
143
|
-
i[3] !== "false" &&
|
|
149
|
+
i[3] !== "false" && F(i), r = (!/*showbackbutton*/
|
|
144
150
|
i[3] || /*showbackbutton*/
|
|
145
|
-
i[3] === "false") &&
|
|
151
|
+
i[3] === "false") && I(i), c = (
|
|
146
152
|
/*isLoading*/
|
|
147
|
-
i[9] &&
|
|
153
|
+
i[9] && j(i)
|
|
148
154
|
);
|
|
149
155
|
return {
|
|
150
156
|
c() {
|
|
@@ -187,7 +193,7 @@ function ie(i) {
|
|
|
187
193
|
i[1]) || w(g, "src", m), w(g, "frameborder", "0"), w(e, "class", "CashierRedirectIframe");
|
|
188
194
|
},
|
|
189
195
|
m(l, u) {
|
|
190
|
-
v(l, e, u), _(e, t), o && o.m(t, null), _(t, s), r && r.m(t, null), _(e, f), c && c.m(e, null), _(e, d), _(e, g), i[13](e), h || (
|
|
196
|
+
v(l, e, u), _(e, t), o && o.m(t, null), _(t, s), r && r.m(t, null), _(e, f), c && c.m(e, null), _(e, d), _(e, g), i[13](e), h || (y = H(
|
|
191
197
|
g,
|
|
192
198
|
"load",
|
|
193
199
|
/*load_handler*/
|
|
@@ -197,9 +203,9 @@ function ie(i) {
|
|
|
197
203
|
p(l, [u]) {
|
|
198
204
|
/*showbackbutton*/
|
|
199
205
|
l[3] && /*showbackbutton*/
|
|
200
|
-
l[3] !== "false" ? o ? o.p(l, u) : (o =
|
|
206
|
+
l[3] !== "false" ? o ? o.p(l, u) : (o = F(l), o.c(), o.m(t, s)) : o && (o.d(1), o = null), !/*showbackbutton*/
|
|
201
207
|
l[3] || /*showbackbutton*/
|
|
202
|
-
l[3] === "false" ? r ? r.p(l, u) : (r =
|
|
208
|
+
l[3] === "false" ? r ? r.p(l, u) : (r = I(l), r.c(), r.m(t, null)) : r && (r.d(1), r = null), u & /*lang*/
|
|
203
209
|
1 && a(
|
|
204
210
|
t,
|
|
205
211
|
"lang",
|
|
@@ -242,42 +248,42 @@ function ie(i) {
|
|
|
242
248
|
/*mbsource*/
|
|
243
249
|
l[4]
|
|
244
250
|
), /*isLoading*/
|
|
245
|
-
l[9] ? c ? c.p(l, u) : (c =
|
|
251
|
+
l[9] ? c ? c.p(l, u) : (c = j(l), c.c(), c.m(e, d)) : c && (c.d(1), c = null), u & /*iframeurl*/
|
|
246
252
|
2 && !B(g.src, m = /*iframeurl*/
|
|
247
253
|
l[1]) && w(g, "src", m);
|
|
248
254
|
},
|
|
249
255
|
i: L,
|
|
250
256
|
o: L,
|
|
251
257
|
d(l) {
|
|
252
|
-
l && k(e), o && o.d(), r && r.d(), c && c.d(), i[13](null), h = !1,
|
|
258
|
+
l && k(e), o && o.d(), r && r.d(), c && c.d(), i[13](null), h = !1, y();
|
|
253
259
|
}
|
|
254
260
|
};
|
|
255
261
|
}
|
|
256
262
|
function ne(i, e, t) {
|
|
257
|
-
let { lang: s = "en" } = e, { iframeurl: f } = e, { translationurl: d = "" } = e, { showbackbutton: g = "" } = e, { mbsource: m } = e, { clientstyling: h } = e, { clientstylingurl:
|
|
263
|
+
let { lang: s = "en" } = e, { iframeurl: f } = e, { translationurl: d = "" } = e, { showbackbutton: g = "" } = e, { mbsource: m } = e, { clientstyling: h } = e, { clientstylingurl: y } = e, { title: o = "" } = e, r, c, l = !0;
|
|
258
264
|
const u = () => {
|
|
259
265
|
let n = d;
|
|
260
266
|
if (n)
|
|
261
|
-
return fetch(n).then((
|
|
262
|
-
Object.keys(
|
|
263
|
-
R(M,
|
|
267
|
+
return fetch(n).then((C) => C.json()).then((C) => {
|
|
268
|
+
Object.keys(C).forEach((M) => {
|
|
269
|
+
R(M, C[M]);
|
|
264
270
|
});
|
|
265
|
-
}).catch((
|
|
266
|
-
console.log(
|
|
271
|
+
}).catch((C) => {
|
|
272
|
+
console.log(C);
|
|
267
273
|
});
|
|
268
274
|
};
|
|
269
|
-
Object.keys(
|
|
270
|
-
R(n,
|
|
275
|
+
Object.keys(z).forEach((n) => {
|
|
276
|
+
R(n, z[n]);
|
|
271
277
|
});
|
|
272
278
|
const A = () => {
|
|
273
279
|
ee(s);
|
|
274
|
-
},
|
|
280
|
+
}, D = () => {
|
|
275
281
|
window.postMessage({ type: "CloseIframe" }, window.location.href);
|
|
276
282
|
}, E = (n) => {
|
|
277
283
|
n.target.src && t(9, l = !1);
|
|
278
|
-
},
|
|
279
|
-
V(() => (
|
|
280
|
-
|
|
284
|
+
}, O = () => window.postMessage({ type: "DisableScroll" }, window.location.href), T = () => window.postMessage({ type: "EnableScroll" }, window.location.href);
|
|
285
|
+
V(() => (O(), () => {
|
|
286
|
+
T();
|
|
281
287
|
}));
|
|
282
288
|
const N = (n) => E(n);
|
|
283
289
|
function q(n) {
|
|
@@ -286,13 +292,13 @@ function ne(i, e, t) {
|
|
|
286
292
|
});
|
|
287
293
|
}
|
|
288
294
|
return i.$$set = (n) => {
|
|
289
|
-
"lang" in n && t(0, s = n.lang), "iframeurl" in n && t(1, f = n.iframeurl), "translationurl" in n && t(2, d = n.translationurl), "showbackbutton" in n && t(3, g = n.showbackbutton), "mbsource" in n && t(4, m = n.mbsource), "clientstyling" in n && t(5, h = n.clientstyling), "clientstylingurl" in n && t(6,
|
|
295
|
+
"lang" in n && t(0, s = n.lang), "iframeurl" in n && t(1, f = n.iframeurl), "translationurl" in n && t(2, d = n.translationurl), "showbackbutton" in n && t(3, g = n.showbackbutton), "mbsource" in n && t(4, m = n.mbsource), "clientstyling" in n && t(5, h = n.clientstyling), "clientstylingurl" in n && t(6, y = n.clientstylingurl), "title" in n && t(7, o = n.title);
|
|
290
296
|
}, i.$$.update = () => {
|
|
291
297
|
i.$$.dirty & /*lang*/
|
|
292
298
|
1 && s && A(), i.$$.dirty & /*translationurl*/
|
|
293
299
|
4 && d && u(), i.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
294
300
|
288 && h && r && Y(r, h), i.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
295
|
-
320 &&
|
|
301
|
+
320 && y && r && x(r, y), i.$$.dirty & /*mbsource, customStylingContainer*/
|
|
296
302
|
272 && m && r && $(r, `${m}.Style`, c);
|
|
297
303
|
}, [
|
|
298
304
|
s,
|
|
@@ -301,11 +307,11 @@ function ne(i, e, t) {
|
|
|
301
307
|
g,
|
|
302
308
|
m,
|
|
303
309
|
h,
|
|
304
|
-
|
|
310
|
+
y,
|
|
305
311
|
o,
|
|
306
312
|
r,
|
|
307
313
|
l,
|
|
308
|
-
|
|
314
|
+
D,
|
|
309
315
|
E,
|
|
310
316
|
N,
|
|
311
317
|
q
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CashierPage-BOWMSZ9v.cjs"),w=require("./CashierHeader-CHEzsRF0.cjs");function y(n,t){e.addMessages(n,t)}function q(n){e.init({fallbackLocale:"en"}),e.$locale.set(n)}const v={en:{redirectHeader:"Deposit redirect"},tr:{redirectHeader:"Para yatırma yönlendirmesi"},fr:{redirectHeader:"Redirection du dépôt"},da:{redirectHeader:"Indbetaling omdirigering"},de:{redirectHeader:"Einzahlungsweiterleitung"},nl:{redirectHeader:"Stortingsomleiding"},ru:{redirectHeader:"Перенаправление депозита"},az:{redirectHeader:"Depozit yönləndirməsi"}};if(typeof window!="undefined"){let n=function(t){return function(...i){try{return t.apply(this,i)}catch(r){if(r instanceof DOMException&&r.message.includes("has already been used with this registry")||r.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw r}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("./CashierSpinner-DTiIwXJs.cjs")).then(({default:t})=>{!customElements.get("cashier-spinner")&&customElements.define("cashier-spinner",t.element)})}function z(n){e.append_styles(n,"svelte-14e65vo",".CashierRedirectIframe{height:100%;width:100%;position:fixed;top:0;left:0;display:flex;align-items:center;justify-content:center;flex-direction:column}iframe{border-radius:0 0 6px 6px;border:1px solid var(--emw--color-grey-105, #E8E9EB);height:calc(100% - var(--emw--header-height, 40px));width:100%;box-sizing:border-box;width:100%;height:100%;background-color:var(--emw--color-background, #F9FAFF)}.CashierHeaderLeftButton{font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;display:flex;align-items:center;font-variant:all-small-caps;height:32px;margin-left:5px;gap:2px;cursor:pointer;stroke:var(--emw--color-primary, #F9C405)}.CashierHeaderLeftButton svg path{fill:var(--emw--color-primary, #F9C405)}.CashierHeaderRightButton{position:absolute;display:flex;justify-content:space-between;align-items:center;padding:0 var(--emw--spacing-small, 12px);height:inherit;right:0;gap:var(--emw--spacing-small, 12px);cursor:pointer;fill:var(--emw--color-primary, #F9C405)}")}function L(n){let t,i,r;return{c(){t=e.element("div"),t.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path fill-rule="evenodd" clip-rule="evenodd" d="M12.5632 3.47782C12.4787 3.50138 12.3362 3.57505 12.2465 3.64153C12.1567 3.70806 10.8069 5.04216 9.24694 6.60626C6.11944 9.74192 6.25999 9.58204 6.25999 10.0037C6.25999 10.4243 6.13093 10.2784 9.34296 13.4903C12.4449 16.5921 12.356 16.5116 12.7278 16.5556C13.1855 16.6098 13.6413 16.2585 13.7301 15.783C13.7612 15.6164 13.7212 15.3395 13.6437 15.1847C13.6158 15.129 12.451 13.9396 11.0553 12.5417L8.51768 10L11.0553 7.45837C12.451 6.06048 13.6158 4.87114 13.6437 4.81544C13.7729 4.55751 13.7703 4.2006 13.6374 3.94274C13.4469 3.5731 12.9668 3.36532 12.5632 3.47782Z"></path></svg>',e.attr(t,"slot","leftButton"),e.attr(t,"class","CashierHeaderLeftButton")},m(m,f){e.insert(m,t,f),i||(r=e.listen(t,"click",n[10]),i=!0)},p:e.noop,d(m){m&&e.detach(t),i=!1,r()}}}function k(n){let t,i,r;return{c(){t=e.element("div"),t.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="13" height="20" viewBox="0 0 13 13"><path d="M12.7711 0.229435C13.0582 0.517619 13.0755 0.973729 12.8215 1.28141L12.7711 1.33721L7.60685 6.50068L12.7711 11.6641C12.9128 11.8066 12.9944 11.998 12.999 12.1988C13.0035 12.3997 12.9308 12.5946 12.7957 12.7433C12.6606 12.892 12.4735 12.9832 12.2731 12.9979C12.0728 13.0126 11.8744 12.9497 11.7191 12.8223L11.6633 12.7719L6.49958 7.60791L1.3359 12.7719C1.19349 12.9136 1.00207 12.9952 0.801203 12.9998C0.60034 13.0044 0.405398 12.9316 0.256676 12.7965C0.107955 12.6614 0.0168256 12.4744 0.00212786 12.274C-0.0125699 12.0736 0.0502877 11.8753 0.177706 11.7199L0.228086 11.6641L5.3923 6.50068L0.228086 1.33721C0.0863637 1.1948 0.00478102 1.00338 0.000203544 0.802529C-0.00437393 0.601674 0.0684038 0.40674 0.203491 0.258024C0.338579 0.109308 0.525647 0.0181829 0.726024 0.00348576C0.9264 -0.0112114 1.12476 0.0516437 1.28011 0.179057L1.3359 0.229435L6.49958 5.39345L11.6633 0.229435C11.736 0.156695 11.8223 0.0989949 11.9174 0.0596283C12.0124 0.0202617 12.1143 0 12.2172 0C12.32 0 12.4219 0.0202617 12.5169 0.0596283C12.612 0.0989949 12.6983 0.156695 12.7711 0.229435Z"></path></svg>',e.attr(t,"slot","rightButton"),e.attr(t,"class","CashierHeaderRightButton")},m(m,f){e.insert(m,t,f),i||(r=e.listen(t,"click",n[10]),i=!0)},p:e.noop,d(m){m&&e.detach(t),i=!1,r()}}}function S(n){let t;return{c(){t=e.element("cashier-spinner"),e.set_custom_element_data(t,"clientstylingurl",n[6]),e.set_custom_element_data(t,"clientstyling",n[5]),e.set_custom_element_data(t,"mbsource",n[4])},m(i,r){e.insert(i,t,r)},p(i,r){r&64&&e.set_custom_element_data(t,"clientstylingurl",i[6]),r&32&&e.set_custom_element_data(t,"clientstyling",i[5]),r&16&&e.set_custom_element_data(t,"mbsource",i[4])},d(i){i&&e.detach(t)}}}function I(n){let t,i,r,m,f,d,h,g,_,o=!!n[3]&&n[3]!=="false"&&L(n),a=(!n[3]||n[3]==="false")&&k(n),c=n[9]&&S(n);return{c(){t=e.element("div"),i=e.element("cashier-header"),o&&o.c(),r=e.space(),a&&a.c(),m=e.space(),c&&c.c(),f=e.space(),d=e.element("iframe"),e.set_custom_element_data(i,"lang",n[0]),e.set_custom_element_data(i,"translationurl",n[2]),e.set_custom_element_data(i,"title",n[7]),e.set_custom_element_data(i,"showbackbutton",n[3]),e.set_custom_element_data(i,"clientstylingurl",n[6]),e.set_custom_element_data(i,"clientstyling",n[5]),e.set_custom_element_data(i,"mbsource",n[4]),e.src_url_equal(d.src,h=n[1])||e.attr(d,"src",h),e.attr(d,"frameborder","0"),e.attr(t,"class","CashierRedirectIframe")},m(s,u){e.insert(s,t,u),e.append(t,i),o&&o.m(i,null),e.append(i,r),a&&a.m(i,null),e.append(t,m),c&&c.m(t,null),e.append(t,f),e.append(t,d),n[13](t),g||(_=e.listen(d,"load",n[12]),g=!0)},p(s,[u]){s[3]&&s[3]!=="false"?o?o.p(s,u):(o=L(s),o.c(),o.m(i,r)):o&&(o.d(1),o=null),!s[3]||s[3]==="false"?a?a.p(s,u):(a=k(s),a.c(),a.m(i,null)):a&&(a.d(1),a=null),u&1&&e.set_custom_element_data(i,"lang",s[0]),u&4&&e.set_custom_element_data(i,"translationurl",s[2]),u&128&&e.set_custom_element_data(i,"title",s[7]),u&8&&e.set_custom_element_data(i,"showbackbutton",s[3]),u&64&&e.set_custom_element_data(i,"clientstylingurl",s[6]),u&32&&e.set_custom_element_data(i,"clientstyling",s[5]),u&16&&e.set_custom_element_data(i,"mbsource",s[4]),s[9]?c?c.p(s,u):(c=S(s),c.c(),c.m(t,f)):c&&(c.d(1),c=null),u&2&&!e.src_url_equal(d.src,h=s[1])&&e.attr(d,"src",h)},i:e.noop,o:e.noop,d(s){s&&e.detach(t),o&&o.d(),a&&a.d(),c&&c.d(),n[13](null),g=!1,_()}}}function T(n,t,i){let{lang:r="en"}=t,{iframeurl:m}=t,{translationurl:f=""}=t,{showbackbutton:d=""}=t,{mbsource:h}=t,{clientstyling:g}=t,{clientstylingurl:_}=t,{title:o=""}=t,a,c,s=!0;const u=()=>{let l=f;if(l)return fetch(l).then(b=>b.json()).then(b=>{Object.keys(b).forEach(C=>{y(C,b[C])})}).catch(b=>{console.log(b)})};Object.keys(v).forEach(l=>{y(l,v[l])});const E=()=>{q(r)},M=()=>{window.postMessage({type:"CloseIframe"},window.location.href)},p=l=>{l.target.src&&i(9,s=!1)},B=()=>window.postMessage({type:"DisableScroll"},window.location.href),R=()=>window.postMessage({type:"EnableScroll"},window.location.href);e.onMount(()=>(B(),()=>{R()}));const F=l=>p(l);function j(l){e.binding_callbacks[l?"unshift":"push"](()=>{a=l,i(8,a)})}return n.$$set=l=>{"lang"in l&&i(0,r=l.lang),"iframeurl"in l&&i(1,m=l.iframeurl),"translationurl"in l&&i(2,f=l.translationurl),"showbackbutton"in l&&i(3,d=l.showbackbutton),"mbsource"in l&&i(4,h=l.mbsource),"clientstyling"in l&&i(5,g=l.clientstyling),"clientstylingurl"in l&&i(6,_=l.clientstylingurl),"title"in l&&i(7,o=l.title)},n.$$.update=()=>{n.$$.dirty&1&&r&&E(),n.$$.dirty&4&&f&&u(),n.$$.dirty&288&&g&&a&&w.setClientStyling(a,g),n.$$.dirty&320&&_&&a&&w.setClientStylingURL(a,_),n.$$.dirty&272&&h&&a&&w.setStreamStyling(a,`${h}.Style`,c)},[r,m,f,d,h,g,_,o,a,s,M,p,F,j]}class H extends e.SvelteComponent{constructor(t){super(),e.init$1(this,t,T,I,e.safe_not_equal,{lang:0,iframeurl:1,translationurl:2,showbackbutton:3,mbsource:4,clientstyling:5,clientstylingurl:6,title:7},z)}get lang(){return this.$$.ctx[0]}set lang(t){this.$$set({lang:t}),e.flush()}get iframeurl(){return this.$$.ctx[1]}set iframeurl(t){this.$$set({iframeurl:t}),e.flush()}get translationurl(){return this.$$.ctx[2]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get showbackbutton(){return this.$$.ctx[3]}set showbackbutton(t){this.$$set({showbackbutton:t}),e.flush()}get mbsource(){return this.$$.ctx[4]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get clientstyling(){return this.$$.ctx[5]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[6]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get title(){return this.$$.ctx[7]}set title(t){this.$$set({title:t}),e.flush()}}e.create_custom_element(H,{lang:{},iframeurl:{},translationurl:{},showbackbutton:{},mbsource:{},clientstyling:{},clientstylingurl:{},title:{}},[],[],!0);exports.default=H;
|