@everymatrix/cashier-page 1.69.4 → 1.69.70
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-CBJt8F6x.js +5377 -0
- package/components/CashierCarousel-CfmPEPcN.js +5414 -0
- package/components/CashierCarousel-D5kSWky0.cjs +23 -0
- package/components/CashierError-CdOvfojJ.js +438 -0
- package/components/CashierError-DGNe2xuq.js +438 -0
- package/components/CashierError-DNuC45d1.cjs +1 -0
- package/components/CashierHeader-Cs8CEaF9.js +397 -0
- package/components/CashierHeader-DdCbhGSh.cjs +1 -0
- package/components/CashierHeader-xmXCTyKW.js +397 -0
- package/components/CashierIframeRedirect-BXHKd8sC.cjs +1 -0
- package/components/CashierIframeRedirect-WvZUPBqV.js +398 -0
- package/components/CashierIframeRedirect-qUGXGx3s.js +398 -0
- package/components/CashierMethodDetails-CZH49Fbk.js +8896 -0
- package/components/CashierMethodDetails-D-yMmahK.cjs +85 -0
- package/components/CashierMethodDetails-DtBMR3Gl.js +8873 -0
- package/components/CashierMethodsList-BashajhV.js +745 -0
- package/components/CashierMethodsList-DSEMnW8P.cjs +1 -0
- package/components/CashierMethodsList-WHF8nfid.js +733 -0
- package/components/CashierModal-C3xM7LBv.js +268 -0
- package/components/CashierModal-Dt6jrD_7.js +268 -0
- package/components/CashierModal-R8kFj8iv.cjs +1 -0
- package/components/{CashierNotifications-dn6rnyK_.js → CashierNotifications-BlLqvSEs.js} +11 -11
- package/components/CashierNotifications-CkPy_2A7.cjs +1 -0
- package/components/{CashierNotifications-C48iLynX.js → CashierNotifications-DE3qEdiQ.js} +12 -12
- package/components/CashierPage-CRr4WELR.cjs +1 -0
- package/components/CashierPage-CokXt1Bz.js +2674 -0
- package/components/CashierPage-D3wSp1F6.js +2674 -0
- package/components/CashierReceiptPage-COrAdE73.cjs +26 -0
- package/components/CashierReceiptPage-DOh9j1sj.js +1693 -0
- package/components/CashierReceiptPage-DRKp8sTO.js +1689 -0
- package/components/CashierSessionExpirationModal-DpWXu2Pn.cjs +2 -0
- package/components/CashierSessionExpirationModal-Dz0mjHXB.js +1184 -0
- package/components/CashierSessionExpirationModal-S7cl-cVx.js +1184 -0
- package/components/CashierSpinner-BOrGTt9R.js +78 -0
- package/components/CashierSpinner-Bkz2A3Ui.cjs +1 -0
- package/components/CashierSpinner-ClchrEIo.js +78 -0
- package/components/CashierTransactionHistory-BckTfimD.js +1305 -0
- package/components/CashierTransactionHistory-ByijXCaI.cjs +1 -0
- package/components/CashierTransactionHistory-Dp7iiTLc.js +1305 -0
- package/components/CashierVerifications-BPurxVwq.js +597 -0
- package/components/CashierVerifications-DCnW6JT6.cjs +1 -0
- package/components/CashierVerifications-DySlpNtZ.js +601 -0
- package/components/TxnStatusIcon-B8ahOe2h.js +142 -0
- package/components/TxnStatusIcon-Bgj9uqou.cjs +1 -0
- package/components/TxnStatusIcon-CcSmN-7i.js +142 -0
- package/components/TxnTypeIcons-CBpa5s-y.cjs +1 -0
- package/components/TxnTypeIcons-DA9zdId9.js +101 -0
- package/components/TxnTypeIcons-zaR71CG9.js +101 -0
- 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/stencil/app-globals-0f993ce5-BD-Q0C8R.cjs +1 -0
- package/stencil/app-globals-0f993ce5-Cgk0KVAu.js +7 -0
- package/stencil/{index-97d17652-D6HPqRtr.js → index-97d17652--F7PvMq9.js} +2 -2
- package/stencil/index-97d17652-BhLhk_xz.cjs +1 -0
- package/stencil/{index-97d17652-B0NIExnR.js → index-97d17652-CCFHkzJw.js} +2 -2
- package/stencil/index-b2193545-B8kMF2bI.cjs +1 -0
- package/stencil/index-b2193545-BoSqyMpB.js +519 -0
- package/stencil/index-b2193545-D4dOaNlR.js +503 -0
- package/stencil/{ui-image-DfVgiF6v.js → ui-image-BWJXFWH1.js} +2 -2
- package/stencil/{ui-image-DJSOH8ZL.cjs → ui-image-ByEXiBzx.cjs} +1 -1
- package/stencil/{ui-image-BY8ZO6br.js → ui-image-DIEeZy5u.js} +2 -2
- package/stencil/{ui-image-b7b48fe5-BXmf73Ou.js → ui-image-b7b48fe5-ByRuJtdE.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-c0NIgcTj.js → ui-image-b7b48fe5-D6iig_uN.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-DaWM2RbJ.cjs → ui-image-b7b48fe5-DG83WzAo.cjs} +1 -1
- package/stencil/{ui-image_2-L-CYescb.js → ui-image_2-Bm97-wkj.js} +2 -2
- package/stencil/{ui-image_2-Cdo33umq.cjs → ui-image_2-DdFjzzNO.cjs} +1 -1
- package/stencil/{ui-image_2-DbQ7SENq.js → ui-image_2-qO3reSlr.js} +2 -2
- package/stencil/ui-skeleton-4-zrLsIW.js +11 -0
- package/stencil/ui-skeleton-9boHSjtG.js +29 -0
- package/stencil/ui-skeleton-_yJvAdAL.cjs +1 -0
- package/stencil/ui-skeleton-ae35c6f2-8tYGV8SR.js +155 -0
- package/stencil/ui-skeleton-ae35c6f2-CKgUXOQC.cjs +55 -0
- package/stencil/ui-skeleton-ae35c6f2-IN_dPA5_.js +155 -0
- package/components/CashierConfirmModal-4RYp7Eiq.js +0 -1120
- package/components/CashierConfirmModal-DMmJumcl.cjs +0 -4
- package/components/CashierConfirmModal-untxGhsx.js +0 -1083
- package/components/CashierError-B3QY-Z04.js +0 -3800
- package/components/CashierError-B9QN5m8g.cjs +0 -5
- package/components/CashierError-lJcr3S9j.js +0 -3800
- package/components/CashierHeader-0a_PwGVg.js +0 -401
- package/components/CashierHeader-6fDSkiu1.js +0 -401
- package/components/CashierHeader-BWRxu_17.cjs +0 -1
- package/components/CashierIframeRedirect-2c-BnFeJ.js +0 -378
- package/components/CashierIframeRedirect-Bxe3aDw_.js +0 -378
- package/components/CashierIframeRedirect-DnE9lXCw.cjs +0 -1
- package/components/CashierMethodDetails-Bd3dJIne.js +0 -8271
- package/components/CashierMethodDetails-C1IkwS7r.cjs +0 -83
- package/components/CashierMethodDetails-CbzQCKZu.js +0 -8285
- package/components/CashierMethodsList-C1Roz4a7.js +0 -864
- package/components/CashierMethodsList-GlWqnvHm.cjs +0 -1
- package/components/CashierMethodsList-wbpWQlt7.js +0 -852
- package/components/CashierModal-BrwIBn9a.js +0 -232
- package/components/CashierModal-BuM2Yq-y.cjs +0 -1
- package/components/CashierModal-ZfKvGxFq.js +0 -232
- package/components/CashierNotifications-BLJS7gpv.cjs +0 -1
- package/components/CashierPage-CeDNrFtr.cjs +0 -1
- package/components/CashierPage-D1XOiV_V.js +0 -2202
- package/components/CashierPage-DHASkcsL.js +0 -2202
- package/components/CashierReceiptPage--u9KEoCs.js +0 -1174
- package/components/CashierReceiptPage-BnvakxJQ.js +0 -1172
- package/components/CashierReceiptPage-DT0yYD3A.cjs +0 -1
- package/components/CashierSessionExpirationModal-BM6h05_P.js +0 -1208
- package/components/CashierSessionExpirationModal-DQBxk3nF.cjs +0 -2
- package/components/CashierSessionExpirationModal-DT7l33oM.js +0 -1208
- package/components/CashierSpinner-BAfTKICK.js +0 -71
- package/components/CashierSpinner-BhmndmKG.cjs +0 -1
- package/components/CashierSpinner-y6HodxHT.js +0 -71
- package/components/CashierTransactionHistory-75SCP1rv.cjs +0 -1
- package/components/CashierTransactionHistory-CfdEK8dI.js +0 -569
- package/components/CashierTransactionHistory-DxaRw8iZ.js +0 -569
- package/components/CashierVerifications-BTorcj-t.cjs +0 -1
- package/components/CashierVerifications-Bt9z1qXM.js +0 -624
- package/components/CashierVerifications-BvPWg9O1.js +0 -620
- package/components/CashierVideoModal-BZg_b6bd.cjs +0 -1
- package/components/CashierVideoModal-CVDvqrcy.js +0 -202
- package/components/CashierVideoModal-DHNu0BQz.js +0 -202
- package/stencil/app-globals-0f993ce5-D-kw1sls.js +0 -5
- package/stencil/app-globals-0f993ce5-sCt45RkC.cjs +0 -1
- package/stencil/index-97d17652-DNpK20ur.cjs +0 -1
|
@@ -0,0 +1,397 @@
|
|
|
1
|
+
import { a as V, i as X, $, S as tt, b as et, s as st, f as w, c as nt, d as y, e as b, t as B, g as v, u as L, h as H, j as S, k as C, l as F, m as p, n as N, o as k, p as it, q as lt, r as q, v as ot, w as at, y as rt, G as U, x as W, B as ct, C as ut, D as ft, E as ht, F as gt } from "./CashierCarousel-CfmPEPcN.js";
|
|
2
|
+
function x(s, t) {
|
|
3
|
+
V(s, t);
|
|
4
|
+
}
|
|
5
|
+
function dt(s) {
|
|
6
|
+
X({
|
|
7
|
+
fallbackLocale: "en"
|
|
8
|
+
}), $.set(s);
|
|
9
|
+
}
|
|
10
|
+
const z = {
|
|
11
|
+
en: {
|
|
12
|
+
header: {
|
|
13
|
+
general: "Cashier",
|
|
14
|
+
deposit: "Deposit",
|
|
15
|
+
withdraw: "Withdraw"
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
tr: {
|
|
19
|
+
header: {
|
|
20
|
+
general: "Cashier",
|
|
21
|
+
deposit: "Para Yatır",
|
|
22
|
+
withdraw: "Çekim"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"en-us": {
|
|
26
|
+
header: {
|
|
27
|
+
general: "Cashier",
|
|
28
|
+
deposit: "Deposit",
|
|
29
|
+
withdraw: "Withdraw"
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
};
|
|
33
|
+
function _t(s) {
|
|
34
|
+
nt(s, "svelte-1hnrsdj", ".CashierHeader{display:flex;position:relative;align-items:center;height:var(--emw--header-height, 40px);background-color:var(--emw--color-background, #F9FAFF);padding:10px 0;width:100vw}.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)}.CashierHeaderLeftButton.disabled{pointer-events:none}.CashierHeaderTitle{color:var(--emw--color-primary, #F9C405);font-size:var(--emw--font-size-medium, 16px);line-height:125%;font-weight:var(--emw--font-weight-semibold, 500);margin-left:15px;max-width:calc(100% - 150px);overflow:hidden;text-overflow:ellipsis}.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;stroke:var(--emw--color-primary, #F9C405)}");
|
|
35
|
+
}
|
|
36
|
+
const mt = (s) => ({}), A = (s) => ({}), wt = (s) => ({}), R = (s) => ({}), bt = (s) => ({}), D = (s) => ({});
|
|
37
|
+
function E(s) {
|
|
38
|
+
let t, e, l;
|
|
39
|
+
return {
|
|
40
|
+
c() {
|
|
41
|
+
t = p("div"), t.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"><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" fill="#111111"></path></svg>', k(t, "class", "CashierHeaderLeftButton");
|
|
42
|
+
},
|
|
43
|
+
m(n, f) {
|
|
44
|
+
C(n, t, f), e || (l = W(
|
|
45
|
+
t,
|
|
46
|
+
"click",
|
|
47
|
+
/*back*/
|
|
48
|
+
s[6]
|
|
49
|
+
), e = !0);
|
|
50
|
+
},
|
|
51
|
+
p: U,
|
|
52
|
+
d(n) {
|
|
53
|
+
n && b(t), e = !1, l();
|
|
54
|
+
}
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
function Ct(s) {
|
|
58
|
+
let t, e = (
|
|
59
|
+
/*backButton*/
|
|
60
|
+
s[1] && E(s)
|
|
61
|
+
);
|
|
62
|
+
return {
|
|
63
|
+
c() {
|
|
64
|
+
e && e.c(), t = q();
|
|
65
|
+
},
|
|
66
|
+
m(l, n) {
|
|
67
|
+
e && e.m(l, n), C(l, t, n);
|
|
68
|
+
},
|
|
69
|
+
p(l, n) {
|
|
70
|
+
/*backButton*/
|
|
71
|
+
l[1] ? e ? e.p(l, n) : (e = E(l), e.c(), e.m(t.parentNode, t)) : e && (e.d(1), e = null);
|
|
72
|
+
},
|
|
73
|
+
d(l) {
|
|
74
|
+
l && b(t), e && e.d(l);
|
|
75
|
+
}
|
|
76
|
+
};
|
|
77
|
+
}
|
|
78
|
+
function pt(s) {
|
|
79
|
+
let t, e = (
|
|
80
|
+
/*$_*/
|
|
81
|
+
s[4](
|
|
82
|
+
/*titleText*/
|
|
83
|
+
s[2]
|
|
84
|
+
) + ""
|
|
85
|
+
), l;
|
|
86
|
+
return {
|
|
87
|
+
c() {
|
|
88
|
+
t = p("span"), l = at(e), k(t, "class", "CashierHeaderTitle");
|
|
89
|
+
},
|
|
90
|
+
m(n, f) {
|
|
91
|
+
C(n, t, f), F(t, l);
|
|
92
|
+
},
|
|
93
|
+
p(n, f) {
|
|
94
|
+
f & /*$_, titleText*/
|
|
95
|
+
20 && e !== (e = /*$_*/
|
|
96
|
+
n[4](
|
|
97
|
+
/*titleText*/
|
|
98
|
+
n[2]
|
|
99
|
+
) + "") && ot(l, e);
|
|
100
|
+
},
|
|
101
|
+
d(n) {
|
|
102
|
+
n && b(t);
|
|
103
|
+
}
|
|
104
|
+
};
|
|
105
|
+
}
|
|
106
|
+
function O(s) {
|
|
107
|
+
let t, e, l;
|
|
108
|
+
return {
|
|
109
|
+
c() {
|
|
110
|
+
t = p("span"), t.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="13" height="20" viewBox="0 0 13 13" fill="none"><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" fill="#111111"></path></svg>', k(t, "class", "CashierHeaderRightButton");
|
|
111
|
+
},
|
|
112
|
+
m(n, f) {
|
|
113
|
+
C(n, t, f), e || (l = W(
|
|
114
|
+
t,
|
|
115
|
+
"click",
|
|
116
|
+
/*close*/
|
|
117
|
+
s[5]
|
|
118
|
+
), e = !0);
|
|
119
|
+
},
|
|
120
|
+
p: U,
|
|
121
|
+
d(n) {
|
|
122
|
+
n && b(t), e = !1, l();
|
|
123
|
+
}
|
|
124
|
+
};
|
|
125
|
+
}
|
|
126
|
+
function kt(s) {
|
|
127
|
+
let t, e = (
|
|
128
|
+
/*closeButton*/
|
|
129
|
+
s[3] && O(s)
|
|
130
|
+
);
|
|
131
|
+
return {
|
|
132
|
+
c() {
|
|
133
|
+
e && e.c(), t = q();
|
|
134
|
+
},
|
|
135
|
+
m(l, n) {
|
|
136
|
+
e && e.m(l, n), C(l, t, n);
|
|
137
|
+
},
|
|
138
|
+
p(l, n) {
|
|
139
|
+
/*closeButton*/
|
|
140
|
+
l[3] ? e ? e.p(l, n) : (e = O(l), e.c(), e.m(t.parentNode, t)) : e && (e.d(1), e = null);
|
|
141
|
+
},
|
|
142
|
+
d(l) {
|
|
143
|
+
l && b(t), e && e.d(l);
|
|
144
|
+
}
|
|
145
|
+
};
|
|
146
|
+
}
|
|
147
|
+
function yt(s) {
|
|
148
|
+
let t, e, l, n;
|
|
149
|
+
const f = (
|
|
150
|
+
/*#slots*/
|
|
151
|
+
s[16].leftButton
|
|
152
|
+
), _ = y(
|
|
153
|
+
f,
|
|
154
|
+
s,
|
|
155
|
+
/*$$scope*/
|
|
156
|
+
s[15],
|
|
157
|
+
D
|
|
158
|
+
), r = _ || Ct(s), m = (
|
|
159
|
+
/*#slots*/
|
|
160
|
+
s[16].title
|
|
161
|
+
), h = y(
|
|
162
|
+
m,
|
|
163
|
+
s,
|
|
164
|
+
/*$$scope*/
|
|
165
|
+
s[15],
|
|
166
|
+
R
|
|
167
|
+
), c = h || pt(s), g = (
|
|
168
|
+
/*#slots*/
|
|
169
|
+
s[16].rightButton
|
|
170
|
+
), d = y(
|
|
171
|
+
g,
|
|
172
|
+
s,
|
|
173
|
+
/*$$scope*/
|
|
174
|
+
s[15],
|
|
175
|
+
A
|
|
176
|
+
), u = d || kt(s);
|
|
177
|
+
return {
|
|
178
|
+
c() {
|
|
179
|
+
t = p("div"), r && r.c(), e = N(), c && c.c(), l = N(), u && u.c(), k(t, "class", "CashierHeader");
|
|
180
|
+
},
|
|
181
|
+
m(i, a) {
|
|
182
|
+
C(i, t, a), r && r.m(t, null), F(t, e), c && c.m(t, null), F(t, l), u && u.m(t, null), s[17](t), n = !0;
|
|
183
|
+
},
|
|
184
|
+
p(i, [a]) {
|
|
185
|
+
_ ? _.p && (!n || a & /*$$scope*/
|
|
186
|
+
32768) && L(
|
|
187
|
+
_,
|
|
188
|
+
f,
|
|
189
|
+
i,
|
|
190
|
+
/*$$scope*/
|
|
191
|
+
i[15],
|
|
192
|
+
n ? S(
|
|
193
|
+
f,
|
|
194
|
+
/*$$scope*/
|
|
195
|
+
i[15],
|
|
196
|
+
a,
|
|
197
|
+
bt
|
|
198
|
+
) : H(
|
|
199
|
+
/*$$scope*/
|
|
200
|
+
i[15]
|
|
201
|
+
),
|
|
202
|
+
D
|
|
203
|
+
) : r && r.p && (!n || a & /*backButton*/
|
|
204
|
+
2) && r.p(i, n ? a : -1), h ? h.p && (!n || a & /*$$scope*/
|
|
205
|
+
32768) && L(
|
|
206
|
+
h,
|
|
207
|
+
m,
|
|
208
|
+
i,
|
|
209
|
+
/*$$scope*/
|
|
210
|
+
i[15],
|
|
211
|
+
n ? S(
|
|
212
|
+
m,
|
|
213
|
+
/*$$scope*/
|
|
214
|
+
i[15],
|
|
215
|
+
a,
|
|
216
|
+
wt
|
|
217
|
+
) : H(
|
|
218
|
+
/*$$scope*/
|
|
219
|
+
i[15]
|
|
220
|
+
),
|
|
221
|
+
R
|
|
222
|
+
) : c && c.p && (!n || a & /*$_, titleText*/
|
|
223
|
+
20) && c.p(i, n ? a : -1), d ? d.p && (!n || a & /*$$scope*/
|
|
224
|
+
32768) && L(
|
|
225
|
+
d,
|
|
226
|
+
g,
|
|
227
|
+
i,
|
|
228
|
+
/*$$scope*/
|
|
229
|
+
i[15],
|
|
230
|
+
n ? S(
|
|
231
|
+
g,
|
|
232
|
+
/*$$scope*/
|
|
233
|
+
i[15],
|
|
234
|
+
a,
|
|
235
|
+
mt
|
|
236
|
+
) : H(
|
|
237
|
+
/*$$scope*/
|
|
238
|
+
i[15]
|
|
239
|
+
),
|
|
240
|
+
A
|
|
241
|
+
) : u && u.p && (!n || a & /*closeButton*/
|
|
242
|
+
8) && u.p(i, n ? a : -1);
|
|
243
|
+
},
|
|
244
|
+
i(i) {
|
|
245
|
+
n || (v(r, i), v(c, i), v(u, i), n = !0);
|
|
246
|
+
},
|
|
247
|
+
o(i) {
|
|
248
|
+
B(r, i), B(c, i), B(u, i), n = !1;
|
|
249
|
+
},
|
|
250
|
+
d(i) {
|
|
251
|
+
i && b(t), r && r.d(i), c && c.d(i), u && u.d(i), s[17](null);
|
|
252
|
+
}
|
|
253
|
+
};
|
|
254
|
+
}
|
|
255
|
+
function Bt(s, t, e) {
|
|
256
|
+
let l;
|
|
257
|
+
it(s, gt, (o) => e(4, l = o));
|
|
258
|
+
let { $$slots: n = {}, $$scope: f } = t, { clientstyling: _ = "" } = t, { clientstylingurl: r = "" } = t, { translationurl: m = "" } = t, { showbackbutton: h = "" } = t, { title: c = "header.general" } = t, { lang: g = "en" } = t, { showclosebutton: d = "" } = t, { mbsource: u = "" } = t, i, a = !1, M, T = !1;
|
|
259
|
+
const Z = () => {
|
|
260
|
+
fetch(m).then((o) => o.json()).then((o) => {
|
|
261
|
+
Object.keys(o).forEach((j) => {
|
|
262
|
+
x(j, o[j]);
|
|
263
|
+
});
|
|
264
|
+
}).catch((o) => {
|
|
265
|
+
console.log(o);
|
|
266
|
+
});
|
|
267
|
+
};
|
|
268
|
+
Object.keys(z).forEach((o) => {
|
|
269
|
+
x(o, z[o]);
|
|
270
|
+
});
|
|
271
|
+
const G = () => {
|
|
272
|
+
dt(g);
|
|
273
|
+
}, I = () => {
|
|
274
|
+
window.postMessage({ type: "CloseCashier" }, window.location.href);
|
|
275
|
+
}, P = () => {
|
|
276
|
+
window.postMessage({ type: "BackCashier" }, window.location.href);
|
|
277
|
+
}, Y = () => {
|
|
278
|
+
e(1, a = !!h && h !== "false");
|
|
279
|
+
}, J = () => {
|
|
280
|
+
e(3, T = !!d && d !== "false");
|
|
281
|
+
}, K = () => {
|
|
282
|
+
e(2, M = c || "header.general");
|
|
283
|
+
};
|
|
284
|
+
lt(() => () => {
|
|
285
|
+
});
|
|
286
|
+
function Q(o) {
|
|
287
|
+
rt[o ? "unshift" : "push"](() => {
|
|
288
|
+
i = o, e(0, i);
|
|
289
|
+
});
|
|
290
|
+
}
|
|
291
|
+
return s.$$set = (o) => {
|
|
292
|
+
"clientstyling" in o && e(7, _ = o.clientstyling), "clientstylingurl" in o && e(8, r = o.clientstylingurl), "translationurl" in o && e(9, m = o.translationurl), "showbackbutton" in o && e(10, h = o.showbackbutton), "title" in o && e(11, c = o.title), "lang" in o && e(12, g = o.lang), "showclosebutton" in o && e(13, d = o.showclosebutton), "mbsource" in o && e(14, u = o.mbsource), "$$scope" in o && e(15, f = o.$$scope);
|
|
293
|
+
}, s.$$.update = () => {
|
|
294
|
+
s.$$.dirty & /*lang*/
|
|
295
|
+
4096 && g && G(), s.$$.dirty & /*lang, title*/
|
|
296
|
+
6144 && g && c && K(), s.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
297
|
+
129 && _ && i && ct(i, _), s.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
298
|
+
257 && r && i && ut(i, r), s.$$.dirty & /*mbsource, customStylingContainer*/
|
|
299
|
+
16385 && u && i && ft(i, `${u}.Style`), s.$$.dirty & /*lang, translationurl*/
|
|
300
|
+
4608 && g && m && Z(), s.$$.dirty & /*showbackbutton*/
|
|
301
|
+
1024 && h && Y(), s.$$.dirty & /*showclosebutton*/
|
|
302
|
+
8192 && d && J();
|
|
303
|
+
}, [
|
|
304
|
+
i,
|
|
305
|
+
a,
|
|
306
|
+
M,
|
|
307
|
+
T,
|
|
308
|
+
l,
|
|
309
|
+
I,
|
|
310
|
+
P,
|
|
311
|
+
_,
|
|
312
|
+
r,
|
|
313
|
+
m,
|
|
314
|
+
h,
|
|
315
|
+
c,
|
|
316
|
+
g,
|
|
317
|
+
d,
|
|
318
|
+
u,
|
|
319
|
+
f,
|
|
320
|
+
n,
|
|
321
|
+
Q
|
|
322
|
+
];
|
|
323
|
+
}
|
|
324
|
+
class vt extends tt {
|
|
325
|
+
constructor(t) {
|
|
326
|
+
super(), et(
|
|
327
|
+
this,
|
|
328
|
+
t,
|
|
329
|
+
Bt,
|
|
330
|
+
yt,
|
|
331
|
+
st,
|
|
332
|
+
{
|
|
333
|
+
clientstyling: 7,
|
|
334
|
+
clientstylingurl: 8,
|
|
335
|
+
translationurl: 9,
|
|
336
|
+
showbackbutton: 10,
|
|
337
|
+
title: 11,
|
|
338
|
+
lang: 12,
|
|
339
|
+
showclosebutton: 13,
|
|
340
|
+
mbsource: 14
|
|
341
|
+
},
|
|
342
|
+
_t
|
|
343
|
+
);
|
|
344
|
+
}
|
|
345
|
+
get clientstyling() {
|
|
346
|
+
return this.$$.ctx[7];
|
|
347
|
+
}
|
|
348
|
+
set clientstyling(t) {
|
|
349
|
+
this.$$set({ clientstyling: t }), w();
|
|
350
|
+
}
|
|
351
|
+
get clientstylingurl() {
|
|
352
|
+
return this.$$.ctx[8];
|
|
353
|
+
}
|
|
354
|
+
set clientstylingurl(t) {
|
|
355
|
+
this.$$set({ clientstylingurl: t }), w();
|
|
356
|
+
}
|
|
357
|
+
get translationurl() {
|
|
358
|
+
return this.$$.ctx[9];
|
|
359
|
+
}
|
|
360
|
+
set translationurl(t) {
|
|
361
|
+
this.$$set({ translationurl: t }), w();
|
|
362
|
+
}
|
|
363
|
+
get showbackbutton() {
|
|
364
|
+
return this.$$.ctx[10];
|
|
365
|
+
}
|
|
366
|
+
set showbackbutton(t) {
|
|
367
|
+
this.$$set({ showbackbutton: t }), w();
|
|
368
|
+
}
|
|
369
|
+
get title() {
|
|
370
|
+
return this.$$.ctx[11];
|
|
371
|
+
}
|
|
372
|
+
set title(t) {
|
|
373
|
+
this.$$set({ title: t }), w();
|
|
374
|
+
}
|
|
375
|
+
get lang() {
|
|
376
|
+
return this.$$.ctx[12];
|
|
377
|
+
}
|
|
378
|
+
set lang(t) {
|
|
379
|
+
this.$$set({ lang: t }), w();
|
|
380
|
+
}
|
|
381
|
+
get showclosebutton() {
|
|
382
|
+
return this.$$.ctx[13];
|
|
383
|
+
}
|
|
384
|
+
set showclosebutton(t) {
|
|
385
|
+
this.$$set({ showclosebutton: t }), w();
|
|
386
|
+
}
|
|
387
|
+
get mbsource() {
|
|
388
|
+
return this.$$.ctx[14];
|
|
389
|
+
}
|
|
390
|
+
set mbsource(t) {
|
|
391
|
+
this.$$set({ mbsource: t }), w();
|
|
392
|
+
}
|
|
393
|
+
}
|
|
394
|
+
ht(vt, { clientstyling: {}, clientstylingurl: {}, translationurl: {}, showbackbutton: {}, title: {}, lang: {}, showclosebutton: {}, mbsource: {} }, ["leftButton", "title", "rightButton"], [], !0);
|
|
395
|
+
export {
|
|
396
|
+
vt as default
|
|
397
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CashierCarousel-D5kSWky0.cjs");if(typeof window!="undefined"){let i=function(t){return function(...n){try{return t.apply(this,n)}catch(s){if(s instanceof DOMException&&s.message.includes("has already been used with this registry")||s.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw s}}};customElements.define=i(customElements.define),Promise.resolve().then(()=>require("./CashierHeader-DdCbhGSh.cjs")).then(({default:t})=>{!customElements.get("cashier-header")&&customElements.define("cashier-header",t.element)})}function y(i,t){e.addMessages(i,t)}function B(i){e.init({fallbackLocale:"en"}),e.$locale.set(i)}const C={en:{redirectHeader:"Deposit redirect"},"pt-br":{redirectHeader:"Redirecionar depósito"},"es-mx":{redirectHeader:"Redirigir depósito"},tr:{redirectHeader:"Para yatırma yönlendirmesi"},"en-us":{redirectHeader:"Deposit redirect"}};if(typeof window!="undefined"){let i=function(t){return function(...n){try{return t.apply(this,n)}catch(s){if(s instanceof DOMException&&s.message.includes("has already been used with this registry")||s.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw s}}};customElements.define=i(customElements.define),Promise.resolve().then(()=>require("./CashierSpinner-Bkz2A3Ui.cjs")).then(({default:t})=>{!customElements.get("cashier-spinner")&&customElements.define("cashier-spinner",t.element)})}function R(i){e.append_styles(i,"svelte-eb7hvn",".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%}.CashierHeaderLeftButton{color:var(--emw--color-grey-10, #111);font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;position:absolute;display:flex;align-items:center;font-variant:all-small-caps;height:32px;left:7px;gap:2px;cursor:pointer}.CashierHeaderLeftButton svg path{fill:var(--emw--color-grey-10, #111)}.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;stroke:var(--emw--color-primary, #F9C405)}")}function v(i){let t,n,s;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" fill="none"><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" fill="#111111"></path></svg>',e.attr(t,"slot","leftButton"),e.attr(t,"class","CashierHeaderLeftButton")},m(f,m){e.insert(f,t,m),n||(s=e.listen(t,"click",i[10]),n=!0)},p:e.noop,d(f){f&&e.detach(t),n=!1,s()}}}function L(i){let t,n,s;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" fill="none"><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" fill="#111111"></path></svg>',e.attr(t,"slot","rightButton"),e.attr(t,"class","CashierHeaderRightButton")},m(f,m){e.insert(f,t,m),n||(s=e.listen(t,"click",i[10]),n=!0)},p:e.noop,d(f){f&&e.detach(t),n=!1,s()}}}function k(i){let t;return{c(){t=e.element("cashier-spinner"),e.set_custom_element_data(t,"clientstylingurl",i[6]),e.set_custom_element_data(t,"clientstyling",i[5]),e.set_custom_element_data(t,"mbsource",i[4])},m(n,s){e.insert(n,t,s)},p(n,s){s&64&&e.set_custom_element_data(t,"clientstylingurl",n[6]),s&32&&e.set_custom_element_data(t,"clientstyling",n[5]),s&16&&e.set_custom_element_data(t,"mbsource",n[4])},d(n){n&&e.detach(t)}}}function j(i){let t,n,s,f,m,d,h,g,_,o=!!i[3]&&i[3]!=="false"&&v(i),a=(!i[3]||i[3]==="false")&&L(i),u=i[9]&&k(i);return{c(){t=e.element("div"),n=e.element("cashier-header"),o&&o.c(),s=e.space(),a&&a.c(),f=e.space(),u&&u.c(),m=e.space(),d=e.element("iframe"),e.set_custom_element_data(n,"lang",i[0]),e.set_custom_element_data(n,"translationurl",i[2]),e.set_custom_element_data(n,"title",i[7]),e.set_custom_element_data(n,"showbackbutton",i[3]),e.set_custom_element_data(n,"clientstylingurl",i[6]),e.set_custom_element_data(n,"clientstyling",i[5]),e.set_custom_element_data(n,"mbsource",i[4]),e.src_url_equal(d.src,h=i[1])||e.attr(d,"src",h),e.attr(d,"frameborder","0"),e.attr(t,"class","CashierRedirectIframe")},m(r,c){e.insert(r,t,c),e.append(t,n),o&&o.m(n,null),e.append(n,s),a&&a.m(n,null),e.append(t,f),u&&u.m(t,null),e.append(t,m),e.append(t,d),i[13](t),g||(_=e.listen(d,"load",i[12]),g=!0)},p(r,[c]){r[3]&&r[3]!=="false"?o?o.p(r,c):(o=v(r),o.c(),o.m(n,s)):o&&(o.d(1),o=null),!r[3]||r[3]==="false"?a?a.p(r,c):(a=L(r),a.c(),a.m(n,null)):a&&(a.d(1),a=null),c&1&&e.set_custom_element_data(n,"lang",r[0]),c&4&&e.set_custom_element_data(n,"translationurl",r[2]),c&128&&e.set_custom_element_data(n,"title",r[7]),c&8&&e.set_custom_element_data(n,"showbackbutton",r[3]),c&64&&e.set_custom_element_data(n,"clientstylingurl",r[6]),c&32&&e.set_custom_element_data(n,"clientstyling",r[5]),c&16&&e.set_custom_element_data(n,"mbsource",r[4]),r[9]?u?u.p(r,c):(u=k(r),u.c(),u.m(t,m)):u&&(u.d(1),u=null),c&2&&!e.src_url_equal(d.src,h=r[1])&&e.attr(d,"src",h)},i:e.noop,o:e.noop,d(r){r&&e.detach(t),o&&o.d(),a&&a.d(),u&&u.d(),i[13](null),g=!1,_()}}}function q(i,t,n){let{lang:s="en"}=t,{iframeurl:f}=t,{translationurl:m=""}=t,{showbackbutton:d=""}=t,{mbsource:h}=t,{clientstyling:g}=t,{clientstylingurl:_}=t,{title:o=""}=t,a,u=!0;const r=()=>{let l=m;if(l)return fetch(l).then(b=>b.json()).then(b=>{Object.keys(b).forEach(p=>{y(p,b[p])})}).catch(b=>{console.log(b)})};Object.keys(C).forEach(l=>{y(l,C[l])});const c=()=>{B(s)},H=()=>{window.postMessage({type:"CloseIframe"},window.location.href)},w=l=>{l.target.src&&n(9,u=!1)};e.onMount(()=>()=>{});const M=l=>w(l);function S(l){e.binding_callbacks[l?"unshift":"push"](()=>{a=l,n(8,a)})}return i.$$set=l=>{"lang"in l&&n(0,s=l.lang),"iframeurl"in l&&n(1,f=l.iframeurl),"translationurl"in l&&n(2,m=l.translationurl),"showbackbutton"in l&&n(3,d=l.showbackbutton),"mbsource"in l&&n(4,h=l.mbsource),"clientstyling"in l&&n(5,g=l.clientstyling),"clientstylingurl"in l&&n(6,_=l.clientstylingurl),"title"in l&&n(7,o=l.title)},i.$$.update=()=>{i.$$.dirty&1&&s&&c(),i.$$.dirty&4&&m&&r(),i.$$.dirty&288&&g&&a&&e.setClientStyling(a,g),i.$$.dirty&320&&_&&a&&e.setClientStylingURL(a,_),i.$$.dirty&272&&h&&a&&e.setStreamStyling(a,`${h}.Style`)},[s,f,m,d,h,g,_,o,a,u,H,w,M,S]}class E extends e.SvelteComponent{constructor(t){super(),e.init$1(this,t,q,j,e.safe_not_equal,{lang:0,iframeurl:1,translationurl:2,showbackbutton:3,mbsource:4,clientstyling:5,clientstylingurl:6,title:7},R)}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(E,{lang:{},iframeurl:{},translationurl:{},showbackbutton:{},mbsource:{},clientstyling:{},clientstylingurl:{},title:{}},[],[],!0);exports.default=E;
|