@everymatrix/cashier-page 1.87.13 → 1.87.15
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-1mMP8tyv.cjs → CashierCarousel-BM7TbAtM.cjs} +5 -5
- package/components/{CashierCarousel-C-ucwZi1.js → CashierCarousel-DtU6jArX.js} +87 -75
- package/components/{CashierCarousel-D-vvfyMH.js → CashierCarousel-FPkYM4AF.js} +85 -73
- package/components/CashierError-BQKbDvjD.cjs +1 -0
- package/components/{CashierError-B7A15YvS.js → CashierError-DXQuKMKj.js} +187 -158
- package/components/{CashierError-D0BJZtGN.js → CashierError-pya-_1QH.js} +187 -158
- package/components/{CashierHeader-BV2xXjmR.js → CashierHeader-BqCFd2jK.js} +47 -40
- package/components/{CashierHeader-soZetsFk.js → CashierHeader-DeE3EM4e.js} +47 -40
- package/components/CashierHeader-uUKKCJPK.cjs +1 -0
- package/components/{CashierIframeRedirect-Bz-JLb_U.js → CashierIframeRedirect-BflFh-0a.js} +14 -11
- package/components/CashierIframeRedirect-DJYgCtzR.cjs +1 -0
- package/components/{CashierIframeRedirect-DWYFdGdL.js → CashierIframeRedirect-v81EcZ5X.js} +14 -11
- package/components/{CashierMethodDetails-CnWc6Jl5.js → CashierMethodDetails-0KCeREdt.js} +704 -620
- package/components/{CashierMethodDetails-BdlHR1PC.js → CashierMethodDetails-CnUzvRwp.js} +744 -660
- package/components/CashierMethodDetails-lolLnwRx.cjs +85 -0
- package/components/{CashierMethodsList-DjbJRqd4.js → CashierMethodsList-2SUSPsQ9.js} +91 -79
- package/components/CashierMethodsList-CnKPCn1q.cjs +1 -0
- package/components/{CashierMethodsList-Bt8EUCAN.js → CashierMethodsList-DfgnHHlo.js} +126 -114
- package/components/{CashierModal-BFn5q8yd.js → CashierModal-Bif-o7_I.js} +1 -1
- package/components/{CashierModal-7G3Hf7yF.js → CashierModal-Bpk12PZh.js} +1 -1
- package/components/{CashierModal-Rg_q9zr6.cjs → CashierModal-CrOigLnu.cjs} +1 -1
- package/components/{CashierNotifications-BK1Gy3Hy.js → CashierNotifications-Cl3TvZ5Q.js} +1 -1
- package/components/{CashierNotifications-DJjkliEL.cjs → CashierNotifications-DX95fLsU.cjs} +1 -1
- package/components/{CashierNotifications-DyaOquWi.js → CashierNotifications-Dca8MDi4.js} +1 -1
- package/components/{CashierPage-BW0dTggU.js → CashierPage-BxL4rgo3.js} +1183 -1131
- package/components/{CashierPage-Cj-JwUP8.js → CashierPage-CL-F3a-g.js} +711 -659
- package/components/CashierPage-Cm5BWzbc.cjs +1 -0
- package/components/{CashierReceiptPage-DWg3cN1R.cjs → CashierReceiptPage-BVPNCJFD.cjs} +2 -2
- package/components/{CashierReceiptPage-CK3MwTyw.js → CashierReceiptPage-DpUQHCgh.js} +553 -461
- package/components/{CashierReceiptPage-CCi_X5vb.js → CashierReceiptPage-W9UaeNqI.js} +562 -470
- package/components/{CashierSessionExpirationModal-CFRMQOsS.js → CashierSessionExpirationModal-CpUIvUTh.js} +54 -46
- package/components/{CashierSessionExpirationModal-ByMDJhaE.js → CashierSessionExpirationModal-D4cIYZkD.js} +54 -46
- package/components/{CashierSessionExpirationModal-k_a6y_b-.cjs → CashierSessionExpirationModal-DuG3MLdQ.cjs} +2 -2
- package/components/{CashierSpinner-DhHAyFN5.cjs → CashierSpinner-Bq4laDIQ.cjs} +1 -1
- package/components/{CashierSpinner-DhNiwwG8.js → CashierSpinner-CrvdKbSF.js} +1 -1
- package/components/{CashierSpinner-VyYLuEkP.js → CashierSpinner-DUlwpFvB.js} +1 -1
- package/components/{CashierStepUp-CJPD6aTJ.js → CashierStepUp-B9TiO612.js} +354 -331
- package/components/{CashierStepUp-BLfjsWQ6.js → CashierStepUp-BkZ7FxUg.js} +346 -323
- package/components/CashierStepUp-DCWLJDbh.cjs +1 -0
- package/components/{CashierTransactionHistory-CU8DuAJC.js → CashierTransactionHistory-9FhtIHtk.js} +350 -325
- package/components/CashierTransactionHistory-Di9cvoVg.cjs +1 -0
- package/components/{CashierTransactionHistory-D8BLMoXS.js → CashierTransactionHistory-Y5PZzBeB.js} +450 -425
- package/components/{CashierVerifications-DOSd5kn7.js → CashierVerifications-BuX19TRF.js} +173 -154
- package/components/CashierVerifications-Cu-qQMx5.cjs +1 -0
- package/components/{CashierVerifications-DkGXFNAT.js → CashierVerifications-Df_XWaiL.js} +165 -146
- package/components/{TxnStatusIcon-CQ5vZzXs.js → TxnStatusIcon-Cs1do2tU.js} +1 -1
- package/components/{TxnStatusIcon-CsGhPGXz.js → TxnStatusIcon-D9sIZDN_.js} +1 -1
- package/components/{TxnStatusIcon-CWiSCMgS.cjs → TxnStatusIcon-DyRurIBj.cjs} +1 -1
- package/components/{TxnTypeIcons-C537E5bY.cjs → TxnTypeIcons-D6VXCUVX.cjs} +1 -1
- package/components/{TxnTypeIcons-CKeLNGyz.js → TxnTypeIcons-l2hb_98H.js} +1 -1
- package/components/{TxnTypeIcons-MnBmprHO.js → TxnTypeIcons-t4xEoQXc.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/CashierError-BvD7radj.cjs +0 -1
- package/components/CashierHeader-C8evLxKj.cjs +0 -1
- package/components/CashierIframeRedirect-St1aQxMq.cjs +0 -1
- package/components/CashierMethodDetails-CjL5-po_.cjs +0 -85
- package/components/CashierMethodsList-Bkhyrkpj.cjs +0 -1
- package/components/CashierPage-hOVFrtIF.cjs +0 -1
- package/components/CashierStepUp-B0J7ai_K.cjs +0 -1
- package/components/CashierTransactionHistory-BNiGA4I-.cjs +0 -1
- package/components/CashierVerifications-Ddy4p3B5.cjs +0 -1
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { a as V, i as X, $, S as tt, b as et, f as w, s as st, E as nt, c as it, 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 lt, q as ot, r as
|
|
2
|
-
function
|
|
1
|
+
import { a as V, i as X, $, S as tt, b as et, f as w, s as st, E as nt, c as it, 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 lt, q as ot, r as q, v as at, w as rt, y as ct, G as U, x as Z, F as ut, B as ft, C as ht, D as gt } from "./CashierCarousel-FPkYM4AF.js";
|
|
2
|
+
function R(s, t) {
|
|
3
3
|
V(s, t);
|
|
4
4
|
}
|
|
5
|
-
function
|
|
5
|
+
function dt(s) {
|
|
6
6
|
X({
|
|
7
7
|
fallbackLocale: "en"
|
|
8
8
|
}), $.set(s);
|
|
9
9
|
}
|
|
10
|
-
const
|
|
10
|
+
const x = {
|
|
11
11
|
en: {
|
|
12
12
|
header: {
|
|
13
13
|
general: "Cashier",
|
|
@@ -21,13 +21,20 @@ const z = {
|
|
|
21
21
|
deposit: "Para Yatır",
|
|
22
22
|
withdraw: "Çekim"
|
|
23
23
|
}
|
|
24
|
+
},
|
|
25
|
+
fr: {
|
|
26
|
+
header: {
|
|
27
|
+
general: "Caisse",
|
|
28
|
+
deposit: "Dépôt",
|
|
29
|
+
withdraw: "Retrait"
|
|
30
|
+
}
|
|
24
31
|
}
|
|
25
32
|
};
|
|
26
|
-
function
|
|
33
|
+
function _t(s) {
|
|
27
34
|
it(s, "svelte-1p7ag40", ".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;fill:var(--emw--color-primary, #F9C405)}");
|
|
28
35
|
}
|
|
29
|
-
const mt = (s) => ({}),
|
|
30
|
-
function
|
|
36
|
+
const mt = (s) => ({}), z = (s) => ({}), wt = (s) => ({}), A = (s) => ({}), bt = (s) => ({}), D = (s) => ({});
|
|
37
|
+
function E(s) {
|
|
31
38
|
let t, e, l;
|
|
32
39
|
return {
|
|
33
40
|
c() {
|
|
@@ -50,18 +57,18 @@ function O(s) {
|
|
|
50
57
|
function Ct(s) {
|
|
51
58
|
let t, e = (
|
|
52
59
|
/*backButton*/
|
|
53
|
-
s[1] &&
|
|
60
|
+
s[1] && E(s)
|
|
54
61
|
);
|
|
55
62
|
return {
|
|
56
63
|
c() {
|
|
57
|
-
e && e.c(), t =
|
|
64
|
+
e && e.c(), t = q();
|
|
58
65
|
},
|
|
59
66
|
m(l, n) {
|
|
60
67
|
e && e.m(l, n), C(l, t, n);
|
|
61
68
|
},
|
|
62
69
|
p(l, n) {
|
|
63
70
|
/*backButton*/
|
|
64
|
-
l[1] ? e ? e.p(l, n) : (e =
|
|
71
|
+
l[1] ? e ? e.p(l, n) : (e = E(l), e.c(), e.m(t.parentNode, t)) : e && (e.d(1), e = null);
|
|
65
72
|
},
|
|
66
73
|
d(l) {
|
|
67
74
|
l && b(t), e && e.d(l);
|
|
@@ -96,7 +103,7 @@ function pt(s) {
|
|
|
96
103
|
}
|
|
97
104
|
};
|
|
98
105
|
}
|
|
99
|
-
function
|
|
106
|
+
function O(s) {
|
|
100
107
|
let t, e, l;
|
|
101
108
|
return {
|
|
102
109
|
c() {
|
|
@@ -119,18 +126,18 @@ function q(s) {
|
|
|
119
126
|
function kt(s) {
|
|
120
127
|
let t, e = (
|
|
121
128
|
/*closeButton*/
|
|
122
|
-
s[3] &&
|
|
129
|
+
s[3] && O(s)
|
|
123
130
|
);
|
|
124
131
|
return {
|
|
125
132
|
c() {
|
|
126
|
-
e && e.c(), t =
|
|
133
|
+
e && e.c(), t = q();
|
|
127
134
|
},
|
|
128
135
|
m(l, n) {
|
|
129
136
|
e && e.m(l, n), C(l, t, n);
|
|
130
137
|
},
|
|
131
138
|
p(l, n) {
|
|
132
139
|
/*closeButton*/
|
|
133
|
-
l[3] ? e ? e.p(l, n) : (e =
|
|
140
|
+
l[3] ? e ? e.p(l, n) : (e = O(l), e.c(), e.m(t.parentNode, t)) : e && (e.d(1), e = null);
|
|
134
141
|
},
|
|
135
142
|
d(l) {
|
|
136
143
|
l && b(t), e && e.d(l);
|
|
@@ -142,13 +149,13 @@ function yt(s) {
|
|
|
142
149
|
const f = (
|
|
143
150
|
/*#slots*/
|
|
144
151
|
s[16].leftButton
|
|
145
|
-
),
|
|
152
|
+
), _ = y(
|
|
146
153
|
f,
|
|
147
154
|
s,
|
|
148
155
|
/*$$scope*/
|
|
149
156
|
s[15],
|
|
150
|
-
|
|
151
|
-
), r =
|
|
157
|
+
D
|
|
158
|
+
), r = _ || Ct(s), m = (
|
|
152
159
|
/*#slots*/
|
|
153
160
|
s[16].title
|
|
154
161
|
), h = y(
|
|
@@ -156,17 +163,17 @@ function yt(s) {
|
|
|
156
163
|
s,
|
|
157
164
|
/*$$scope*/
|
|
158
165
|
s[15],
|
|
159
|
-
|
|
166
|
+
A
|
|
160
167
|
), c = h || pt(s), g = (
|
|
161
168
|
/*#slots*/
|
|
162
169
|
s[16].rightButton
|
|
163
|
-
),
|
|
170
|
+
), d = y(
|
|
164
171
|
g,
|
|
165
172
|
s,
|
|
166
173
|
/*$$scope*/
|
|
167
174
|
s[15],
|
|
168
|
-
|
|
169
|
-
), u =
|
|
175
|
+
z
|
|
176
|
+
), u = d || kt(s);
|
|
170
177
|
return {
|
|
171
178
|
c() {
|
|
172
179
|
t = p("div"), r && r.c(), e = N(), c && c.c(), l = N(), u && u.c(), k(t, "class", "CashierHeader");
|
|
@@ -175,9 +182,9 @@ function yt(s) {
|
|
|
175
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;
|
|
176
183
|
},
|
|
177
184
|
p(i, [a]) {
|
|
178
|
-
|
|
185
|
+
_ ? _.p && (!n || a & /*$$scope*/
|
|
179
186
|
32768) && L(
|
|
180
|
-
|
|
187
|
+
_,
|
|
181
188
|
f,
|
|
182
189
|
i,
|
|
183
190
|
/*$$scope*/
|
|
@@ -192,7 +199,7 @@ function yt(s) {
|
|
|
192
199
|
/*$$scope*/
|
|
193
200
|
i[15]
|
|
194
201
|
),
|
|
195
|
-
|
|
202
|
+
D
|
|
196
203
|
) : r && r.p && (!n || a & /*backButton*/
|
|
197
204
|
2) && r.p(i, n ? a : -1), h ? h.p && (!n || a & /*$$scope*/
|
|
198
205
|
32768) && L(
|
|
@@ -211,11 +218,11 @@ function yt(s) {
|
|
|
211
218
|
/*$$scope*/
|
|
212
219
|
i[15]
|
|
213
220
|
),
|
|
214
|
-
|
|
221
|
+
A
|
|
215
222
|
) : c && c.p && (!n || a & /*$_, titleText*/
|
|
216
|
-
20) && c.p(i, n ? a : -1),
|
|
223
|
+
20) && c.p(i, n ? a : -1), d ? d.p && (!n || a & /*$$scope*/
|
|
217
224
|
32768) && L(
|
|
218
|
-
|
|
225
|
+
d,
|
|
219
226
|
g,
|
|
220
227
|
i,
|
|
221
228
|
/*$$scope*/
|
|
@@ -230,7 +237,7 @@ function yt(s) {
|
|
|
230
237
|
/*$$scope*/
|
|
231
238
|
i[15]
|
|
232
239
|
),
|
|
233
|
-
|
|
240
|
+
z
|
|
234
241
|
) : u && u.p && (!n || a & /*closeButton*/
|
|
235
242
|
8) && u.p(i, n ? a : -1);
|
|
236
243
|
},
|
|
@@ -248,21 +255,21 @@ function yt(s) {
|
|
|
248
255
|
function Bt(s, t, e) {
|
|
249
256
|
let l;
|
|
250
257
|
lt(s, ut, (o) => e(4, l = o));
|
|
251
|
-
let { $$slots: n = {}, $$scope: f } = t, { clientstyling:
|
|
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;
|
|
252
259
|
const G = () => {
|
|
253
260
|
fetch(m).then((o) => o.json()).then((o) => {
|
|
254
261
|
Object.keys(o).forEach((j) => {
|
|
255
|
-
|
|
262
|
+
R(j, o[j]);
|
|
256
263
|
});
|
|
257
264
|
}).catch((o) => {
|
|
258
265
|
console.log(o);
|
|
259
266
|
});
|
|
260
267
|
};
|
|
261
|
-
Object.keys(
|
|
262
|
-
|
|
268
|
+
Object.keys(x).forEach((o) => {
|
|
269
|
+
R(o, x[o]);
|
|
263
270
|
});
|
|
264
271
|
const I = () => {
|
|
265
|
-
|
|
272
|
+
dt(g);
|
|
266
273
|
}, P = () => {
|
|
267
274
|
window.postMessage({ type: "CloseCashier" }, window.location.href);
|
|
268
275
|
}, W = () => {
|
|
@@ -270,7 +277,7 @@ function Bt(s, t, e) {
|
|
|
270
277
|
}, Y = () => {
|
|
271
278
|
e(1, a = !!h && h !== "false");
|
|
272
279
|
}, J = () => {
|
|
273
|
-
e(3, T = !!
|
|
280
|
+
e(3, T = !!d && d !== "false");
|
|
274
281
|
}, K = () => {
|
|
275
282
|
e(2, M = c || "header.general");
|
|
276
283
|
};
|
|
@@ -282,17 +289,17 @@ function Bt(s, t, e) {
|
|
|
282
289
|
});
|
|
283
290
|
}
|
|
284
291
|
return s.$$set = (o) => {
|
|
285
|
-
"clientstyling" in o && e(7,
|
|
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);
|
|
286
293
|
}, s.$$.update = () => {
|
|
287
294
|
s.$$.dirty & /*lang*/
|
|
288
295
|
4096 && g && I(), s.$$.dirty & /*lang, title*/
|
|
289
296
|
6144 && g && c && K(), s.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
290
|
-
129 &&
|
|
297
|
+
129 && _ && i && ft(i, _), s.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
291
298
|
257 && r && i && ht(i, r), s.$$.dirty & /*mbsource, customStylingContainer*/
|
|
292
299
|
16385 && u && i && gt(i, `${u}.Style`), s.$$.dirty & /*lang, translationurl*/
|
|
293
300
|
4608 && g && m && G(), s.$$.dirty & /*showbackbutton*/
|
|
294
301
|
1024 && h && Y(), s.$$.dirty & /*showclosebutton*/
|
|
295
|
-
8192 &&
|
|
302
|
+
8192 && d && J();
|
|
296
303
|
}, [
|
|
297
304
|
i,
|
|
298
305
|
a,
|
|
@@ -301,13 +308,13 @@ function Bt(s, t, e) {
|
|
|
301
308
|
l,
|
|
302
309
|
P,
|
|
303
310
|
W,
|
|
304
|
-
|
|
311
|
+
_,
|
|
305
312
|
r,
|
|
306
313
|
m,
|
|
307
314
|
h,
|
|
308
315
|
c,
|
|
309
316
|
g,
|
|
310
|
-
|
|
317
|
+
d,
|
|
311
318
|
u,
|
|
312
319
|
f,
|
|
313
320
|
n,
|
|
@@ -332,7 +339,7 @@ class vt extends tt {
|
|
|
332
339
|
showclosebutton: 13,
|
|
333
340
|
mbsource: 14
|
|
334
341
|
},
|
|
335
|
-
|
|
342
|
+
_t
|
|
336
343
|
);
|
|
337
344
|
}
|
|
338
345
|
get clientstyling() {
|
|
@@ -1,13 +1,13 @@
|
|
|
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
|
|
2
|
-
function
|
|
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 Z, B as ct, C as ut, D as ft, E as ht, F as gt } from "./CashierCarousel-DtU6jArX.js";
|
|
2
|
+
function R(s, t) {
|
|
3
3
|
V(s, t);
|
|
4
4
|
}
|
|
5
|
-
function
|
|
5
|
+
function dt(s) {
|
|
6
6
|
X({
|
|
7
7
|
fallbackLocale: "en"
|
|
8
8
|
}), $.set(s);
|
|
9
9
|
}
|
|
10
|
-
const
|
|
10
|
+
const x = {
|
|
11
11
|
en: {
|
|
12
12
|
header: {
|
|
13
13
|
general: "Cashier",
|
|
@@ -21,13 +21,20 @@ const z = {
|
|
|
21
21
|
deposit: "Para Yatır",
|
|
22
22
|
withdraw: "Çekim"
|
|
23
23
|
}
|
|
24
|
+
},
|
|
25
|
+
fr: {
|
|
26
|
+
header: {
|
|
27
|
+
general: "Caisse",
|
|
28
|
+
deposit: "Dépôt",
|
|
29
|
+
withdraw: "Retrait"
|
|
30
|
+
}
|
|
24
31
|
}
|
|
25
32
|
};
|
|
26
|
-
function
|
|
33
|
+
function _t(s) {
|
|
27
34
|
nt(s, "svelte-1p7ag40", ".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;fill:var(--emw--color-primary, #F9C405)}");
|
|
28
35
|
}
|
|
29
|
-
const mt = (s) => ({}),
|
|
30
|
-
function
|
|
36
|
+
const mt = (s) => ({}), z = (s) => ({}), wt = (s) => ({}), A = (s) => ({}), bt = (s) => ({}), D = (s) => ({});
|
|
37
|
+
function E(s) {
|
|
31
38
|
let t, e, l;
|
|
32
39
|
return {
|
|
33
40
|
c() {
|
|
@@ -50,18 +57,18 @@ function O(s) {
|
|
|
50
57
|
function Ct(s) {
|
|
51
58
|
let t, e = (
|
|
52
59
|
/*backButton*/
|
|
53
|
-
s[1] &&
|
|
60
|
+
s[1] && E(s)
|
|
54
61
|
);
|
|
55
62
|
return {
|
|
56
63
|
c() {
|
|
57
|
-
e && e.c(), t =
|
|
64
|
+
e && e.c(), t = q();
|
|
58
65
|
},
|
|
59
66
|
m(l, n) {
|
|
60
67
|
e && e.m(l, n), C(l, t, n);
|
|
61
68
|
},
|
|
62
69
|
p(l, n) {
|
|
63
70
|
/*backButton*/
|
|
64
|
-
l[1] ? e ? e.p(l, n) : (e =
|
|
71
|
+
l[1] ? e ? e.p(l, n) : (e = E(l), e.c(), e.m(t.parentNode, t)) : e && (e.d(1), e = null);
|
|
65
72
|
},
|
|
66
73
|
d(l) {
|
|
67
74
|
l && b(t), e && e.d(l);
|
|
@@ -96,7 +103,7 @@ function pt(s) {
|
|
|
96
103
|
}
|
|
97
104
|
};
|
|
98
105
|
}
|
|
99
|
-
function
|
|
106
|
+
function O(s) {
|
|
100
107
|
let t, e, l;
|
|
101
108
|
return {
|
|
102
109
|
c() {
|
|
@@ -119,18 +126,18 @@ function q(s) {
|
|
|
119
126
|
function kt(s) {
|
|
120
127
|
let t, e = (
|
|
121
128
|
/*closeButton*/
|
|
122
|
-
s[3] &&
|
|
129
|
+
s[3] && O(s)
|
|
123
130
|
);
|
|
124
131
|
return {
|
|
125
132
|
c() {
|
|
126
|
-
e && e.c(), t =
|
|
133
|
+
e && e.c(), t = q();
|
|
127
134
|
},
|
|
128
135
|
m(l, n) {
|
|
129
136
|
e && e.m(l, n), C(l, t, n);
|
|
130
137
|
},
|
|
131
138
|
p(l, n) {
|
|
132
139
|
/*closeButton*/
|
|
133
|
-
l[3] ? e ? e.p(l, n) : (e =
|
|
140
|
+
l[3] ? e ? e.p(l, n) : (e = O(l), e.c(), e.m(t.parentNode, t)) : e && (e.d(1), e = null);
|
|
134
141
|
},
|
|
135
142
|
d(l) {
|
|
136
143
|
l && b(t), e && e.d(l);
|
|
@@ -142,13 +149,13 @@ function yt(s) {
|
|
|
142
149
|
const f = (
|
|
143
150
|
/*#slots*/
|
|
144
151
|
s[16].leftButton
|
|
145
|
-
),
|
|
152
|
+
), _ = y(
|
|
146
153
|
f,
|
|
147
154
|
s,
|
|
148
155
|
/*$$scope*/
|
|
149
156
|
s[15],
|
|
150
|
-
|
|
151
|
-
), r =
|
|
157
|
+
D
|
|
158
|
+
), r = _ || Ct(s), m = (
|
|
152
159
|
/*#slots*/
|
|
153
160
|
s[16].title
|
|
154
161
|
), h = y(
|
|
@@ -156,17 +163,17 @@ function yt(s) {
|
|
|
156
163
|
s,
|
|
157
164
|
/*$$scope*/
|
|
158
165
|
s[15],
|
|
159
|
-
|
|
166
|
+
A
|
|
160
167
|
), c = h || pt(s), g = (
|
|
161
168
|
/*#slots*/
|
|
162
169
|
s[16].rightButton
|
|
163
|
-
),
|
|
170
|
+
), d = y(
|
|
164
171
|
g,
|
|
165
172
|
s,
|
|
166
173
|
/*$$scope*/
|
|
167
174
|
s[15],
|
|
168
|
-
|
|
169
|
-
), u =
|
|
175
|
+
z
|
|
176
|
+
), u = d || kt(s);
|
|
170
177
|
return {
|
|
171
178
|
c() {
|
|
172
179
|
t = p("div"), r && r.c(), e = N(), c && c.c(), l = N(), u && u.c(), k(t, "class", "CashierHeader");
|
|
@@ -175,9 +182,9 @@ function yt(s) {
|
|
|
175
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;
|
|
176
183
|
},
|
|
177
184
|
p(i, [a]) {
|
|
178
|
-
|
|
185
|
+
_ ? _.p && (!n || a & /*$$scope*/
|
|
179
186
|
32768) && L(
|
|
180
|
-
|
|
187
|
+
_,
|
|
181
188
|
f,
|
|
182
189
|
i,
|
|
183
190
|
/*$$scope*/
|
|
@@ -192,7 +199,7 @@ function yt(s) {
|
|
|
192
199
|
/*$$scope*/
|
|
193
200
|
i[15]
|
|
194
201
|
),
|
|
195
|
-
|
|
202
|
+
D
|
|
196
203
|
) : r && r.p && (!n || a & /*backButton*/
|
|
197
204
|
2) && r.p(i, n ? a : -1), h ? h.p && (!n || a & /*$$scope*/
|
|
198
205
|
32768) && L(
|
|
@@ -211,11 +218,11 @@ function yt(s) {
|
|
|
211
218
|
/*$$scope*/
|
|
212
219
|
i[15]
|
|
213
220
|
),
|
|
214
|
-
|
|
221
|
+
A
|
|
215
222
|
) : c && c.p && (!n || a & /*$_, titleText*/
|
|
216
|
-
20) && c.p(i, n ? a : -1),
|
|
223
|
+
20) && c.p(i, n ? a : -1), d ? d.p && (!n || a & /*$$scope*/
|
|
217
224
|
32768) && L(
|
|
218
|
-
|
|
225
|
+
d,
|
|
219
226
|
g,
|
|
220
227
|
i,
|
|
221
228
|
/*$$scope*/
|
|
@@ -230,7 +237,7 @@ function yt(s) {
|
|
|
230
237
|
/*$$scope*/
|
|
231
238
|
i[15]
|
|
232
239
|
),
|
|
233
|
-
|
|
240
|
+
z
|
|
234
241
|
) : u && u.p && (!n || a & /*closeButton*/
|
|
235
242
|
8) && u.p(i, n ? a : -1);
|
|
236
243
|
},
|
|
@@ -248,21 +255,21 @@ function yt(s) {
|
|
|
248
255
|
function Bt(s, t, e) {
|
|
249
256
|
let l;
|
|
250
257
|
it(s, gt, (o) => e(4, l = o));
|
|
251
|
-
let { $$slots: n = {}, $$scope: f } = t, { clientstyling:
|
|
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;
|
|
252
259
|
const G = () => {
|
|
253
260
|
fetch(m).then((o) => o.json()).then((o) => {
|
|
254
261
|
Object.keys(o).forEach((j) => {
|
|
255
|
-
|
|
262
|
+
R(j, o[j]);
|
|
256
263
|
});
|
|
257
264
|
}).catch((o) => {
|
|
258
265
|
console.log(o);
|
|
259
266
|
});
|
|
260
267
|
};
|
|
261
|
-
Object.keys(
|
|
262
|
-
|
|
268
|
+
Object.keys(x).forEach((o) => {
|
|
269
|
+
R(o, x[o]);
|
|
263
270
|
});
|
|
264
271
|
const I = () => {
|
|
265
|
-
|
|
272
|
+
dt(g);
|
|
266
273
|
}, P = () => {
|
|
267
274
|
window.postMessage({ type: "CloseCashier" }, window.location.href);
|
|
268
275
|
}, W = () => {
|
|
@@ -270,7 +277,7 @@ function Bt(s, t, e) {
|
|
|
270
277
|
}, Y = () => {
|
|
271
278
|
e(1, a = !!h && h !== "false");
|
|
272
279
|
}, J = () => {
|
|
273
|
-
e(3, T = !!
|
|
280
|
+
e(3, T = !!d && d !== "false");
|
|
274
281
|
}, K = () => {
|
|
275
282
|
e(2, M = c || "header.general");
|
|
276
283
|
};
|
|
@@ -282,17 +289,17 @@ function Bt(s, t, e) {
|
|
|
282
289
|
});
|
|
283
290
|
}
|
|
284
291
|
return s.$$set = (o) => {
|
|
285
|
-
"clientstyling" in o && e(7,
|
|
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);
|
|
286
293
|
}, s.$$.update = () => {
|
|
287
294
|
s.$$.dirty & /*lang*/
|
|
288
295
|
4096 && g && I(), s.$$.dirty & /*lang, title*/
|
|
289
296
|
6144 && g && c && K(), s.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
290
|
-
129 &&
|
|
297
|
+
129 && _ && i && ct(i, _), s.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
291
298
|
257 && r && i && ut(i, r), s.$$.dirty & /*mbsource, customStylingContainer*/
|
|
292
299
|
16385 && u && i && ft(i, `${u}.Style`), s.$$.dirty & /*lang, translationurl*/
|
|
293
300
|
4608 && g && m && G(), s.$$.dirty & /*showbackbutton*/
|
|
294
301
|
1024 && h && Y(), s.$$.dirty & /*showclosebutton*/
|
|
295
|
-
8192 &&
|
|
302
|
+
8192 && d && J();
|
|
296
303
|
}, [
|
|
297
304
|
i,
|
|
298
305
|
a,
|
|
@@ -301,13 +308,13 @@ function Bt(s, t, e) {
|
|
|
301
308
|
l,
|
|
302
309
|
P,
|
|
303
310
|
W,
|
|
304
|
-
|
|
311
|
+
_,
|
|
305
312
|
r,
|
|
306
313
|
m,
|
|
307
314
|
h,
|
|
308
315
|
c,
|
|
309
316
|
g,
|
|
310
|
-
|
|
317
|
+
d,
|
|
311
318
|
u,
|
|
312
319
|
f,
|
|
313
320
|
n,
|
|
@@ -332,7 +339,7 @@ class vt extends tt {
|
|
|
332
339
|
showclosebutton: 13,
|
|
333
340
|
mbsource: 14
|
|
334
341
|
},
|
|
335
|
-
|
|
342
|
+
_t
|
|
336
343
|
);
|
|
337
344
|
}
|
|
338
345
|
get clientstyling() {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CashierCarousel-BM7TbAtM.cjs");function y(i,e){t.addMessages(i,e)}function q(i){t.init({fallbackLocale:"en"}),t.$locale.set(i)}const k={en:{header:{general:"Cashier",deposit:"Deposit",withdraw:"Withdraw"}},tr:{header:{general:"Cashier",deposit:"Para Yatır",withdraw:"Çekim"}},fr:{header:{general:"Caisse",deposit:"Dépôt",withdraw:"Retrait"}}};function x(i){t.append_styles(i,"svelte-1p7ag40",".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;fill:var(--emw--color-primary, #F9C405)}")}const D=i=>({}),B=i=>({}),E=i=>({}),v=i=>({}),P=i=>({}),L=i=>({});function H(i){let e,n,o;return{c(){e=t.element("div"),e.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>',t.attr(e,"class","CashierHeaderLeftButton")},m(s,h){t.insert(s,e,h),n||(o=t.listen(e,"click",i[6]),n=!0)},p:t.noop,d(s){s&&t.detach(e),n=!1,o()}}}function U(i){let e,n=i[1]&&H(i);return{c(){n&&n.c(),e=t.empty()},m(o,s){n&&n.m(o,s),t.insert(o,e,s)},p(o,s){o[1]?n?n.p(o,s):(n=H(o),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null)},d(o){o&&t.detach(e),n&&n.d(o)}}}function Z(i){let e,n=i[4](i[2])+"",o;return{c(){e=t.element("span"),o=t.text(n),t.attr(e,"class","CashierHeaderTitle")},m(s,h){t.insert(s,e,h),t.append(e,o)},p(s,h){h&20&&n!==(n=s[4](s[2])+"")&&t.set_data(o,n)},d(s){s&&t.detach(e)}}}function S(i){let e,n,o;return{c(){e=t.element("span"),e.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>',t.attr(e,"class","CashierHeaderRightButton")},m(s,h){t.insert(s,e,h),n||(o=t.listen(e,"click",i[5]),n=!0)},p:t.noop,d(s){s&&t.detach(e),n=!1,o()}}}function I(i){let e,n=i[3]&&S(i);return{c(){n&&n.c(),e=t.empty()},m(o,s){n&&n.m(o,s),t.insert(o,e,s)},p(o,s){o[3]?n?n.p(o,s):(n=S(o),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null)},d(o){o&&t.detach(e),n&&n.d(o)}}}function W(i){let e,n,o,s;const h=i[16].leftButton,m=t.create_slot(h,i,i[15],L),c=m||U(i),b=i[16].title,g=t.create_slot(b,i,i[15],v),u=g||Z(i),_=i[16].rightButton,d=t.create_slot(_,i,i[15],B),f=d||I(i);return{c(){e=t.element("div"),c&&c.c(),n=t.space(),u&&u.c(),o=t.space(),f&&f.c(),t.attr(e,"class","CashierHeader")},m(l,r){t.insert(l,e,r),c&&c.m(e,null),t.append(e,n),u&&u.m(e,null),t.append(e,o),f&&f.m(e,null),i[17](e),s=!0},p(l,[r]){m?m.p&&(!s||r&32768)&&t.update_slot_base(m,h,l,l[15],s?t.get_slot_changes(h,l[15],r,P):t.get_all_dirty_from_scope(l[15]),L):c&&c.p&&(!s||r&2)&&c.p(l,s?r:-1),g?g.p&&(!s||r&32768)&&t.update_slot_base(g,b,l,l[15],s?t.get_slot_changes(b,l[15],r,E):t.get_all_dirty_from_scope(l[15]),v):u&&u.p&&(!s||r&20)&&u.p(l,s?r:-1),d?d.p&&(!s||r&32768)&&t.update_slot_base(d,_,l,l[15],s?t.get_slot_changes(_,l[15],r,D):t.get_all_dirty_from_scope(l[15]),B):f&&f.p&&(!s||r&8)&&f.p(l,s?r:-1)},i(l){s||(t.transition_in(c,l),t.transition_in(u,l),t.transition_in(f,l),s=!0)},o(l){t.transition_out(c,l),t.transition_out(u,l),t.transition_out(f,l),s=!1},d(l){l&&t.detach(e),c&&c.d(l),u&&u.d(l),f&&f.d(l),i[17](null)}}}function Y(i,e,n){let o;t.component_subscribe(i,t.$format,a=>n(4,o=a));let{$$slots:s={},$$scope:h}=e,{clientstyling:m=""}=e,{clientstylingurl:c=""}=e,{translationurl:b=""}=e,{showbackbutton:g=""}=e,{title:u="header.general"}=e,{lang:_="en"}=e,{showclosebutton:d=""}=e,{mbsource:f=""}=e,l,r=!1,w,p=!1;const T=()=>{fetch(b).then(a=>a.json()).then(a=>{Object.keys(a).forEach(C=>{y(C,a[C])})}).catch(a=>{console.log(a)})};Object.keys(k).forEach(a=>{y(a,k[a])});const F=()=>{q(_)},j=()=>{window.postMessage({type:"CloseCashier"},window.location.href)},N=()=>{window.postMessage({type:"BackCashier"},window.location.href)},R=()=>{n(1,r=!!g&&g!=="false")},z=()=>{n(3,p=!!d&&d!=="false")},A=()=>{n(2,w=u||"header.general")};t.onMount(()=>()=>{});function O(a){t.binding_callbacks[a?"unshift":"push"](()=>{l=a,n(0,l)})}return i.$$set=a=>{"clientstyling"in a&&n(7,m=a.clientstyling),"clientstylingurl"in a&&n(8,c=a.clientstylingurl),"translationurl"in a&&n(9,b=a.translationurl),"showbackbutton"in a&&n(10,g=a.showbackbutton),"title"in a&&n(11,u=a.title),"lang"in a&&n(12,_=a.lang),"showclosebutton"in a&&n(13,d=a.showclosebutton),"mbsource"in a&&n(14,f=a.mbsource),"$$scope"in a&&n(15,h=a.$$scope)},i.$$.update=()=>{i.$$.dirty&4096&&_&&F(),i.$$.dirty&6144&&_&&u&&A(),i.$$.dirty&129&&m&&l&&t.setClientStyling(l,m),i.$$.dirty&257&&c&&l&&t.setClientStylingURL(l,c),i.$$.dirty&16385&&f&&l&&t.setStreamStyling(l,`${f}.Style`),i.$$.dirty&4608&&_&&b&&T(),i.$$.dirty&1024&&g&&R(),i.$$.dirty&8192&&d&&z()},[l,r,w,p,o,j,N,m,c,b,g,u,_,d,f,h,s,O]}class M extends t.SvelteComponent{constructor(e){super(),t.init$1(this,e,Y,W,t.safe_not_equal,{clientstyling:7,clientstylingurl:8,translationurl:9,showbackbutton:10,title:11,lang:12,showclosebutton:13,mbsource:14},x)}get clientstyling(){return this.$$.ctx[7]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get translationurl(){return this.$$.ctx[9]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get showbackbutton(){return this.$$.ctx[10]}set showbackbutton(e){this.$$set({showbackbutton:e}),t.flush()}get title(){return this.$$.ctx[11]}set title(e){this.$$set({title:e}),t.flush()}get lang(){return this.$$.ctx[12]}set lang(e){this.$$set({lang:e}),t.flush()}get showclosebutton(){return this.$$.ctx[13]}set showclosebutton(e){this.$$set({showclosebutton:e}),t.flush()}get mbsource(){return this.$$.ctx[14]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}}t.create_custom_element(M,{clientstyling:{},clientstylingurl:{},translationurl:{},showbackbutton:{},title:{},lang:{},showclosebutton:{},mbsource:{}},["leftButton","title","rightButton"],[],!0);exports.default=M;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as N, i as U, $ as Z, S as G, b as P, s as J, f as b, c as K, G as L, e as k, A as a, z as H, o as w, k as v, l as _, x as S, m as p, n as E, q as Q, y as V, B as W, C as X, D as Y, E as x } from "./CashierCarousel-
|
|
1
|
+
import { a as N, i as U, $ as Z, S as G, b as P, s as J, f as b, c as K, G as L, e as k, A as a, z as H, o as w, k as v, l as _, x as S, m as p, n as E, q as Q, y as V, B as W, C as X, D as Y, E as x } from "./CashierCarousel-DtU6jArX.js";
|
|
2
2
|
if (typeof window != "undefined") {
|
|
3
3
|
let i = function(e) {
|
|
4
4
|
return function(...t) {
|
|
@@ -11,11 +11,11 @@ if (typeof window != "undefined") {
|
|
|
11
11
|
}
|
|
12
12
|
};
|
|
13
13
|
};
|
|
14
|
-
customElements.define = i(customElements.define), import("./CashierHeader-
|
|
14
|
+
customElements.define = i(customElements.define), import("./CashierHeader-DeE3EM4e.js").then(({ default: e }) => {
|
|
15
15
|
!customElements.get("cashier-header") && customElements.define("cashier-header", e.element);
|
|
16
16
|
});
|
|
17
17
|
}
|
|
18
|
-
function
|
|
18
|
+
function R(i, e) {
|
|
19
19
|
N(i, e);
|
|
20
20
|
}
|
|
21
21
|
function $(i) {
|
|
@@ -23,12 +23,15 @@ function $(i) {
|
|
|
23
23
|
fallbackLocale: "en"
|
|
24
24
|
}), Z.set(i);
|
|
25
25
|
}
|
|
26
|
-
const
|
|
26
|
+
const D = {
|
|
27
27
|
en: {
|
|
28
28
|
redirectHeader: "Deposit redirect"
|
|
29
29
|
},
|
|
30
30
|
tr: {
|
|
31
31
|
redirectHeader: "Para yatırma yönlendirmesi"
|
|
32
|
+
},
|
|
33
|
+
fr: {
|
|
34
|
+
redirectHeader: "Redirection du dépôt"
|
|
32
35
|
}
|
|
33
36
|
};
|
|
34
37
|
if (typeof window != "undefined") {
|
|
@@ -43,14 +46,14 @@ if (typeof window != "undefined") {
|
|
|
43
46
|
}
|
|
44
47
|
};
|
|
45
48
|
};
|
|
46
|
-
customElements.define = i(customElements.define), import("./CashierSpinner-
|
|
49
|
+
customElements.define = i(customElements.define), import("./CashierSpinner-DUlwpFvB.js").then(({ default: e }) => {
|
|
47
50
|
!customElements.get("cashier-spinner") && customElements.define("cashier-spinner", e.element);
|
|
48
51
|
});
|
|
49
52
|
}
|
|
50
53
|
function ee(i) {
|
|
51
54
|
K(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)}");
|
|
52
55
|
}
|
|
53
|
-
function
|
|
56
|
+
function F(i) {
|
|
54
57
|
let e, t, n;
|
|
55
58
|
return {
|
|
56
59
|
c() {
|
|
@@ -143,7 +146,7 @@ function A(i) {
|
|
|
143
146
|
function te(i) {
|
|
144
147
|
let e, t, n, f, m, h, d, g, y, o = !!/*showbackbutton*/
|
|
145
148
|
i[3] && /*showbackbutton*/
|
|
146
|
-
i[3] !== "false" &&
|
|
149
|
+
i[3] !== "false" && F(i), r = (!/*showbackbutton*/
|
|
147
150
|
i[3] || /*showbackbutton*/
|
|
148
151
|
i[3] === "false") && j(i), c = (
|
|
149
152
|
/*isLoading*/
|
|
@@ -200,7 +203,7 @@ function te(i) {
|
|
|
200
203
|
p(l, [u]) {
|
|
201
204
|
/*showbackbutton*/
|
|
202
205
|
l[3] && /*showbackbutton*/
|
|
203
|
-
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, n)) : o && (o.d(1), o = null), !/*showbackbutton*/
|
|
204
207
|
l[3] || /*showbackbutton*/
|
|
205
208
|
l[3] === "false" ? r ? r.p(l, u) : (r = j(l), r.c(), r.m(t, null)) : r && (r.d(1), r = null), u & /*lang*/
|
|
206
209
|
1 && a(
|
|
@@ -263,14 +266,14 @@ function ie(i, e, t) {
|
|
|
263
266
|
if (s)
|
|
264
267
|
return fetch(s).then((C) => C.json()).then((C) => {
|
|
265
268
|
Object.keys(C).forEach((B) => {
|
|
266
|
-
|
|
269
|
+
R(B, C[B]);
|
|
267
270
|
});
|
|
268
271
|
}).catch((C) => {
|
|
269
272
|
console.log(C);
|
|
270
273
|
});
|
|
271
274
|
};
|
|
272
|
-
Object.keys(
|
|
273
|
-
|
|
275
|
+
Object.keys(D).forEach((s) => {
|
|
276
|
+
R(s, D[s]);
|
|
274
277
|
});
|
|
275
278
|
const u = () => {
|
|
276
279
|
$(n);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CashierCarousel-BM7TbAtM.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-uUKKCJPK.cjs")).then(({default:t})=>{!customElements.get("cashier-header")&&customElements.define("cashier-header",t.element)})}function y(i,t){e.addMessages(i,t)}function F(i){e.init({fallbackLocale:"en"}),e.$locale.set(i)}const C={en:{redirectHeader:"Deposit redirect"},tr:{redirectHeader:"Para yatırma yönlendirmesi"},fr:{redirectHeader:"Redirection du dépôt"}};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-Bq4laDIQ.cjs")).then(({default:t})=>{!customElements.get("cashier-spinner")&&customElements.define("cashier-spinner",t.element)})}function j(i){e.append_styles(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)}")}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"><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(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"><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(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 q(i){let t,n,s,f,m,d,h,g,_,o=!!i[3]&&i[3]!=="false"&&v(i),r=(!i[3]||i[3]==="false")&&L(i),c=i[9]&&k(i);return{c(){t=e.element("div"),n=e.element("cashier-header"),o&&o.c(),s=e.space(),r&&r.c(),f=e.space(),c&&c.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(a,u){e.insert(a,t,u),e.append(t,n),o&&o.m(n,null),e.append(n,s),r&&r.m(n,null),e.append(t,f),c&&c.m(t,null),e.append(t,m),e.append(t,d),i[13](t),g||(_=e.listen(d,"load",i[12]),g=!0)},p(a,[u]){a[3]&&a[3]!=="false"?o?o.p(a,u):(o=v(a),o.c(),o.m(n,s)):o&&(o.d(1),o=null),!a[3]||a[3]==="false"?r?r.p(a,u):(r=L(a),r.c(),r.m(n,null)):r&&(r.d(1),r=null),u&1&&e.set_custom_element_data(n,"lang",a[0]),u&4&&e.set_custom_element_data(n,"translationurl",a[2]),u&128&&e.set_custom_element_data(n,"title",a[7]),u&8&&e.set_custom_element_data(n,"showbackbutton",a[3]),u&64&&e.set_custom_element_data(n,"clientstylingurl",a[6]),u&32&&e.set_custom_element_data(n,"clientstyling",a[5]),u&16&&e.set_custom_element_data(n,"mbsource",a[4]),a[9]?c?c.p(a,u):(c=k(a),c.c(),c.m(t,m)):c&&(c.d(1),c=null),u&2&&!e.src_url_equal(d.src,h=a[1])&&e.attr(d,"src",h)},i:e.noop,o:e.noop,d(a){a&&e.detach(t),o&&o.d(),r&&r.d(),c&&c.d(),i[13](null),g=!1,_()}}}function D(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,r,c=!0;const a=()=>{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 u=()=>{F(s)},S=()=>{window.postMessage({type:"CloseIframe"},window.location.href)},w=l=>{l.target.src&&n(9,c=!1)},M=()=>window.postMessage({type:"DisableScroll"},window.location.href),B=()=>window.postMessage({type:"EnableScroll"},window.location.href);e.onMount(()=>(M(),()=>{B()}));const H=l=>w(l);function R(l){e.binding_callbacks[l?"unshift":"push"](()=>{r=l,n(8,r)})}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&&u(),i.$$.dirty&4&&m&&a(),i.$$.dirty&288&&g&&r&&e.setClientStyling(r,g),i.$$.dirty&320&&_&&r&&e.setClientStylingURL(r,_),i.$$.dirty&272&&h&&r&&e.setStreamStyling(r,`${h}.Style`)},[s,f,m,d,h,g,_,o,r,c,S,w,H,R]}class E extends e.SvelteComponent{constructor(t){super(),e.init$1(this,t,D,q,e.safe_not_equal,{lang:0,iframeurl:1,translationurl:2,showbackbutton:3,mbsource:4,clientstyling:5,clientstylingurl:6,title:7},j)}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;
|